[
  {
    "path": ".gitignore",
    "content": ".#*\nnpm-debug.log\nnode_modules\n\ntest/mocha.js\ntest/mocha.css\n\ntest/tests.es5.js\ntest/tests.browser.js\n\n.idea\n"
  },
  {
    "path": ".travis.yml",
    "content": "language: node_js\nnode_js:\n  - \"0.11\"\n  - \"0.10\"\n  - \"0.8\"\n  - \"0.6\"\n"
  },
  {
    "path": "LICENSE",
    "content": "BSD License\n\nFor \"regenerator\" software\n\nCopyright (c) 2013, Facebook, Inc.\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n\t*\tRedistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n\t*\tRedistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
  },
  {
    "path": "README.md",
    "content": "\n# unwinder\n\nAn implementation of continuations in JavaScript. Includes built-in\nsupport for breakpoints (implemented with continuations) and setting\nbreakpoints on running scripts.\n\nSee [this post](http://jlongster.com/Whats-in-a-Continuation) for a\ndeeper explanation and interactive tutorials.\n\nThis implements the paper \"[Exceptional Continuations in\nJavaScript](http://www.schemeworkshop.org/2007/procPaper4.pdf)\". It\nstarted as a fork of\n[regenerator](https://github.com/facebook/regenerator) from January\n2014, so the code is outdated. However, it is useful for demos and\nexploring interesting patterns.\n\n**Do not build actual software with this**. Not only is it an old\nregenerator fork, but my work on top of it is hacky. There are no\ntests, as I was figuring out what was even possible. You will likely\nhit bugs when trying to write non-trivial code against this.\n\nWith that said, fixing those bugs is usually straight-forward. Each\nexpression needs to mark itself correcly in the state machine. Usually\nthis is a matter of changing 1 or 2 lines of code.\n\nThere is little ES6 support, but that could be fixed by first\ntransforming code with Babel.\n\n## Getting Started\n\nThe simplest way is to write some code in a file called `program.js`\nand compile it with `./bin/compile program.js`. A file called `a.out`\nwill be generated, or you can specify an output file as the second\nargument.\n\n```\n$ ./bin/compile program.js <output-file>\n$ node <output-file>\n```\n\nThere is also a browser editor included in the `browser` directory.\nOpen `browser/index.html` to run it, and you will be able to\ninteractively write code and set breakpoints.\n\n## Continuation API\n\nUse `callCC` to capture the current continuation. It will be given to\nyou as a function that never returns.\n\n```js\nfunction foo() {\n  var cont = callCC(cont => cont);\n  if(typeof cont === \"function\") {\n    cont(5);\n  }\n  return cont;\n}\n\nconsole.log(foo()); // -> 5\n```\n\nSee [this post](http://jlongster.com/Exploring-Continuations-Resumable-Exceptions) for more interesting examples, including resumable exceptions.\n\n## Machine API\n\nAt the bottom of the generated file, you will see where the program is\nrun by the virtual machine. This virtual machine does *not* interpret\nthe code; the code is real native JavaScript. All the virtual machine\ndoes is check the behavior of the code and handle runtime information\nof continuations (such as frames).\n\nSome useful methods of the VM:\n\n* **toggleBreakpoint(line)** - set/remove a breakpoint\n* **continue()** - resume execution\n* **step()** - step to the next expression\n* **getTopFrame()** - if paused, get the top frame\n* **abort()** - stop executing and clear out all state\n\nEvents (subscribe to events with `vm.on`):\n\n* **paused** - fired when the code stops (breakpoint, stepped, etc)\n* **error** - fired when an uncaught error occurs\n* **resumed** - fired when the code resumed from being paused\n* **finish** - fired when the code completes\n* **cont-invoked** - fired when a continuation is invoked\n\n## Contributing\n\nI have turned off issues because I know there are many bugs in here\nand I do not have time to triage them. However, I welcome PRs that\nhave a clear bugfix or purpose.\n\nSome things I would like to see:\n\n* Minor bugfixes and general stability improvements\n\n* Clean up `lib/visit.js` and break up the large functions\n\n* Remove so much manual AST construction. It would be great to give\n  something a string of code and generate the AST I need\n  automatically, but without having to parse the same code each time.\n\n* Introduce two compiler modes: debugger and continuations. If we\n  don't support the \"debugger\" mode which allows live breakpoints, we\n  can do further optimizations and don't need to convert every single\n  expression into the state machine. But I want this project to\n  continue to support breakpoints, so it would be nice if we could\n  have different compiler modes (or maybe optimization levels?)\n\n* Tests. Oh god help me, there are no tests.\n\nSome things I am going to reject:\n\n* Major refactorings without any discussion beforehand. I don't have\n  time to go through it.\n"
  },
  {
    "path": "bin/compile",
    "content": "#!/usr/bin/env node\n\nvar fs = require('fs');\nvar compiler = require(__dirname + '/../main');\nvar sweet = require('sweet.js');\n\nvar src = fs.readFileSync(process.argv[2], \"utf-8\");\nsrc = sweet.compile(src, { noBabel: true }).code;\nvar output = compiler(src, { includeDebug: true });\nvar finalSrc =\n    \"var $Machine = require('./runtime/vm.js').$Machine;\\n\" +\n    \"var $ContinuationExc = require('./runtime/vm.js').$ContinuationExc;\\n\" +\n    \"var $Frame = require('./runtime/vm.js').$Frame;\" +\n    \"var $DebugInfo = require('./runtime/vm.js').$DebugInfo;\" +\n    output.code +\n    \"var VM = new $Machine();\\n\" +\n    \"VM.on('paused', function() { VM.continue() });\\n\" +\n    \"VM.on('error', function(e) { console.log('error', e) });\\n\" +\n    \"VM.setDebugInfo(new $DebugInfo(__debugInfo));\\n\" +\n    \"VM.execute($__global);\"\n\nfs.writeFileSync(\n  process.argv[3] || 'a.out',\n  finalSrc\n);\n"
  },
  {
    "path": "bin/regenerator",
    "content": "#!/usr/bin/env node\n// -*- mode: js -*-\n\n//Error.stackTraceLimit = 100;\n\nvar options = require(\"commander\")\n  .version(require(\"../package.json\").version)\n  .usage(\"[options] <file>\")\n  .option(\"-r, --include-runtime\", \"Prepend the runtime to the output.\")\n  .option(\"-d, --include-debug\", \"Prepend debug info to the output.\")\n  .parse(process.argv);\n\nvar file = options.args[0];\nif (typeof file !== \"string\") {\n  options.outputHelp();\n  process.exit(-1);\n}\n\nprocess.stdout.write('\\n__debug_sourceURL=\"' + file + '\";' + require(\"../main\")(\n  require(\"fs\").readFileSync(file, \"utf-8\"),\n  options // note: `regenerator` will ignore any unknown options anyway\n).code);\n"
  },
  {
    "path": "bin/run",
    "content": "#!/usr/bin/env node\n\nvar Machine = require('../runtime/vm.js').$Machine;\nvar VM = new Machine();\n\nVM.on(\"error\", function(e) {\n  console.log('Error:', e.stack);\n});\n\nVM.on(\"paused\", function(e) {\n  console.log('you broke it', VM.getLocation());\n  VM.continue()\n});\n\nVM.loadScript(process.argv[2]);\nconsole.log(VM.getOutput());\n"
  },
  {
    "path": "browser/build/bundle.js",
    "content": "/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tconst regenerator = __webpack_require__(1);\n\tconst VM = __webpack_require__(71);\n\tconst CodeMirror = __webpack_require__(72);\n\n\t__webpack_require__(73);\n\t__webpack_require__(74);\n\t__webpack_require__(78);\n\t__webpack_require__(80);\n\n\tvar template = document.querySelector('#template').innerHTML;\n\twindow.debuggerDemo = {\n\t  listeners: {},\n\t  on: function(event, callback) {\n\t    if(!this.listeners[event]) {\n\t      this.listeners[event] = [];\n\t    }\n\t    this.listeners[event].push(callback);\n\t  },\n\n\t  fire: function(event, vm, arg) {\n\t    if(this.listeners[event]) {\n\t      this.listeners[event].forEach(cb => {\n\t        cb(vm, arg)\n\t      });\n\t    }\n\t  }\n\t};\n\n\tvar errorTimer;\n\tfunction showError(e) {\n\t  var errorNode = document.querySelector(\"#debugger-error\");\n\n\t  if(errorNode) {\n\t    errorNode.textContent = 'Error: ' +  (e.message ? e.message : e);\n\t    errorNode.style.display = \"block\";\n\n\t    if(errorTimer) {\n\t      clearTimeout(errorTimer);\n\t    }\n\n\t    errorTimer = setTimeout(function() {\n\t      errorNode.style.display = 'none';\n\t    }, 5000);\n\t  }\n\t}\n\n\tfunction initDebugger(node, code) {\n\t  var code = code || node.textContent;\n\t  var breakpoint = node.dataset.breakpoint;\n\t  var id = node.id;\n\n\t  if(!id) {\n\t    throw new Error(\"debugger does not have an id\");\n\t  }\n\n\t  var container = document.createElement('div');\n\t  container.className = \"debugger\";\n\t  container.id = id;\n\t  container.innerHTML = template;\n\t  node.parentNode.replaceChild(container, node);\n\n\t  // Don't judge me\n\t  setTimeout(() => finishInit(code, breakpoint, container, id), 10);\n\n\t  return container;\n\t}\n\n\tfunction finishInit(code, breakpoint, container, id) {\n\t  const pausedBtns = container.querySelector('#paused');\n\t  const resumedBtns = container.querySelector('#resumed');\n\t  const stackEl = container.querySelector('#actual-stack');\n\t  const outputEl = container.querySelector('#actual-output');\n\n\t  const mirror = CodeMirror(container.querySelector('#editor'), {\n\t    mode: 'javascript',\n\t    theme: 'monokai',\n\t    value: code,\n\t    lineNumbers: true,\n\t    gutters: ['breakpoints']\n\t  });\n\n\t  const vm = new VM.$Machine();\n\t  let currentPausedLoc = null;\n\t  let currentExprHighlight = null;\n\t  let breakpoints = [];\n\n\t  if(breakpoint) {\n\t    const line = parseInt(breakpoint);\n\t    breakpoints.push(line);\n\t    mirror.setGutterMarker(line - 1, 'breakpoints', marker());\n\t  }\n\n\t  function fixHeight() {\n\t    // Damn Chrome's flexbox implementation that forces us to do this.\n\t    var n = document.querySelector('#' + id + ' .CodeMirror');\n\t    var rect = n.getBoundingClientRect();\n\t    if(rect.height > 500) {\n\t      n.style.height = '500px';\n\t    }\n\t  }\n\n\t  function marker() {\n\t    let marker = document.createElement(\"div\");\n\t    marker.className = \"breakpoint\";\n\t    return marker;\n\t  }\n\n\t  function exprHighlight(width, charHeight) {\n\t    let h = document.createElement(\"div\");\n\t    h.className = \"expr-highlight\";\n\t    h.style.width = width + \"px\";\n\t    h.style.height = charHeight + \"px\";\n\t    // CodeMirror puts the widget *below* the line, but we actually\n\t    // want it to cover the indicated line, so move it up a line\n\t    h.style.marginTop = -charHeight + \"px\";\n\t    return h;\n\t  }\n\n\t  function removePauseState() {\n\t    if(currentPausedLoc) {\n\t      for(var i = currentPausedLoc.start.line; i <= currentPausedLoc.end.line; i++) {\n\t        mirror.removeLineClass(i - 1, 'line', 'debug');\n\t      }\n\t      currentPausedLoc = null;\n\t    }\n\n\t    if(currentExprHighlight) {\n\t      currentExprHighlight.parentNode.removeChild(currentExprHighlight);\n\t      currentExprHighlight = null;\n\t    }\n\n\t    updateUI();\n\t  }\n\n\t  mirror.on('gutterClick', (inst, line) => {\n\t    line = line + 1;\n\t    if(breakpoints.indexOf(line) === -1) {\n\t      breakpoints.push(line);\n\t      mirror.setGutterMarker(line - 1, 'breakpoints', marker());\n\t    }\n\t    else {\n\t      breakpoints = breakpoints.filter(l => l !== line);\n\t      mirror.setGutterMarker(line - 1, 'breakpoints', null);\n\t    }\n\n\t    if(vm.state === 'suspended') {\n\t      vm.toggleBreakpoint(line);\n\t    }\n\t  });\n\n\t  mirror.on('beforeChange', () => {\n\t    breakpoints.forEach(line => {\n\t      mirror.setGutterMarker(line - 1, 'breakpoints', null);\n\t    });\n\t    breakpoints = [];\n\n\t    vm.abort();\n\t    removePauseState();\n\t  });\n\n\t  mirror.on('change', fixHeight);\n\n\t  vm.on(\"error\", function(e) {\n\t    console.log('Error:', e, e.stack);\n\t    showError(e);\n\t    updateUI();\n\t  });\n\n\t  vm.on(\"paused\", function(e) {\n\t    currentPausedLoc = vm.getLocation();\n\t    if(currentPausedLoc) {\n\t      for(var i = currentPausedLoc.start.line; i <= currentPausedLoc.end.line; i++) {\n\t        mirror.addLineClass(i - 1, 'line', 'debug');\n\t      }\n\n\t      if(currentExprHighlight) {\n\t        currentExprHighlight.parentNode.removeChild(currentExprHighlight);\n\t        currentExprHighlight = null;\n\t      }\n\n\t      if(currentPausedLoc.start.line === currentPausedLoc.end.line) {\n\t        var width = currentPausedLoc.end.column - currentPausedLoc.start.column;\n\t        currentExprHighlight = exprHighlight(mirror.defaultCharWidth() * width,\n\t                                             mirror.defaultTextHeight())\n\n\t        mirror.addWidget(\n\t          { line: currentPausedLoc.start.line - 1,\n\t            ch: currentPausedLoc.start.column },\n\t          currentExprHighlight,\n\t          false\n\t        );\n\t      }\n\n\t      mirror.scrollIntoView(\n\t        { from: { line: currentPausedLoc.start.line, ch: 0 },\n\t          to: { line: currentPausedLoc.end.line, ch: 0 } },\n\t        50\n\t      );\n\t    }\n\n\t    updateUI();\n\t  });\n\n\t  vm.on(\"resumed\", function() {\n\t    removePauseState();\n\t  });\n\n\t  // vm.on(\"cont-invoked\", function() {\n\t  // });\n\n\t  vm.on(\"finish\", () => {\n\t    updateUI();\n\t  });\n\n\t  function updateUI() {\n\t    if(currentPausedLoc) {\n\t      resumedBtns.style.display = 'none';\n\t      pausedBtns.style.display = 'block';\n\t    }\n\t    else {\n\t      resumedBtns.style.display = 'block';\n\t      pausedBtns.style.display = 'none';\n\t    }\n\n\t    if(vm.stack) {\n\t      stackEl.innerHTML = '<ul>' +\n\t        vm.stack.map(frame => {\n\t          return '<li>' + frame.name + '</li>';\n\t        }).join('') +\n\t        '</ul>';\n\t    }\n\t    else {\n\t      stackEl.innerHTML = '';\n\t    }\n\n\t    outputEl.textContent = vm.getOutput();\n\t  }\n\n\t  container.querySelector('#step').addEventListener('click', function() {\n\t    vm.step();\n\t  });\n\n\t  container.querySelector('#continue').addEventListener('click', function() {\n\t    vm.continue();\n\t  });\n\n\t  container.querySelector('#run').addEventListener('click', function() {\n\t    vm.abort();\n\n\t    const code = mirror.getValue();\n\t    outputEl.textContent = '';\n\t    try {\n\t      vm.loadString(mirror.getValue());\n\t    }\n\t    catch(e) {\n\t      debuggerDemo.fire(\"error\", vm, e);\n\t      showError(e);\n\t    }\n\n\t    breakpoints.forEach(line => {\n\t      vm.toggleBreakpoint(line);\n\t    });\n\n\t    vm.run();\n\t  });\n\n\t  container.querySelector('#run-no-breakpoints').addEventListener('click', function() {\n\t    vm.abort();\n\n\t    const code = mirror.getValue();\n\t    outputEl.textContent = '';\n\t    vm.loadString(mirror.getValue());\n\n\t    vm.run();\n\t  });\n\n\t  fixHeight();\n\t}\n\n\tvar demoDebugger = document.querySelector(\"#demo-debugger\");\n\tif(demoDebugger) {\n\t  var codeMatch = window.location.href.match(/\\?code=(.*)/);\n\t  var code = codeMatch ? codeMatch[1] : \"\";\n\t  var container = initDebugger(demoDebugger, atob(code));\n\n\t  var shareBtn = container.querySelector(\"#share\");\n\t  console.log(shareBtn);\n\t  shareBtn.addEventListener(\"click\", function() {\n\t    var mirror = document.querySelector(\".CodeMirror\").CodeMirror;\n\t    var loc = window.location.href.replace(/\\?code.*/, '');\n\t    history.pushState(null, null, loc + '?code=' + btoa(mirror.getValue()));\n\t  });\n\t}\n\telse {\n\t  var debuggers = document.querySelectorAll(\".debugger\");\n\t  for(var i=0; i<debuggers.length; i++) {\n\t    initDebugger(debuggers[i]);\n\t  }\n\t}\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(__dirname) {/**\n\t * Copyright (c) 2013, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n\t * additional grant of patent rights can be found in the PATENTS file in\n\t * the same directory.\n\t */\n\n\tvar assert = __webpack_require__(2);\n\tvar path = __webpack_require__(7);\n\tvar types = __webpack_require__(8);\n\tvar b = types.builders;\n\tvar transform = __webpack_require__(22).transform;\n\tvar utils = __webpack_require__(24);\n\tvar recast = __webpack_require__(26);\n\tvar esprimaHarmony = __webpack_require__(55);\n\tvar genFunExp = /\\bfunction\\s*\\*/;\n\tvar blockBindingExp = /\\b(let|const)\\s+/;\n\n\tassert.ok(\n\t  /harmony/.test(esprimaHarmony.version),\n\t  \"Bad esprima version: \" + esprimaHarmony.version\n\t);\n\n\tfunction regenerator(source, options) {\n\t  options = utils.defaults(options || {}, {\n\t    supportBlockBinding: true\n\t  });\n\n\t  var supportBlockBinding = !!options.supportBlockBinding;\n\t  if (supportBlockBinding) {\n\t    if (!blockBindingExp.test(source)) {\n\t      supportBlockBinding = false;\n\t    }\n\t  }\n\n\t  var recastOptions = {\n\t    tabWidth: utils.guessTabWidth(source),\n\t    // Use the harmony branch of Esprima that installs with regenerator\n\t    // instead of the master branch that recast provides.\n\t    esprima: esprimaHarmony,\n\t    range: supportBlockBinding,\n\t      loc: true\n\t  };\n\n\t  var recastAst = recast.parse(source, recastOptions);\n\t  var ast = recastAst.program;\n\n\t  // Transpile let/const into var declarations.\n\t  if (supportBlockBinding) {\n\t    var defsResult = __webpack_require__(56)(ast, {\n\t      ast: true,\n\t      disallowUnknownReferences: false,\n\t      disallowDuplicated: false,\n\t      disallowVars: false,\n\t      loopClosures: \"iife\"\n\t    });\n\n\t    if (defsResult.errors) {\n\t      throw new Error(defsResult.errors.join(\"\\n\"))\n\t    }\n\t  }\n\n\t  var transformed = transform(ast, options);\n\t  recastAst.program = transformed.ast;\n\t  var appendix = '';\n\n\t  if(options.includeDebug) {\n\t    var body = recastAst.program.body;\n\t    body.unshift.apply(body, transformed.debugAST);\n\t  }\n\n\t  return {\n\t    code: recast.print(recastAst, recastOptions).code + '\\n' + appendix,\n\t    debugInfo: transformed.debugInfo\n\t  };\n\t}\n\n\t// To modify an AST directly, call require(\"regenerator\").transform(ast).\n\tregenerator.transform = transform;\n\n\tregenerator.runtime = {\n\t  dev: path.join(__dirname, \"runtime\", \"vm.js\"),\n\t  min: path.join(__dirname, \"runtime\", \"min.js\")\n\t};\n\n\t// To transform a string of ES6 code, call require(\"regenerator\")(source);\n\tmodule.exports = regenerator;\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, \"/\"))\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// http://wiki.commonjs.org/wiki/Unit_Testing/1.0\n\t//\n\t// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!\n\t//\n\t// Originally from narwhal.js (http://narwhaljs.org)\n\t// Copyright (c) 2009 Thomas Robinson <280north.com>\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a copy\n\t// of this software and associated documentation files (the 'Software'), to\n\t// deal in the Software without restriction, including without limitation the\n\t// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n\t// sell copies of the Software, and to permit persons to whom the Software is\n\t// furnished to do so, subject to the following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included in\n\t// all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\t// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\t// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\t// AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n\t// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n\t// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\t// when used in node, this will actually load the util module we depend on\n\t// versus loading the builtin util module as happens otherwise\n\t// this is a bug in node module loading as far as I am concerned\n\tvar util = __webpack_require__(3);\n\n\tvar pSlice = Array.prototype.slice;\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\n\t// 1. The assert module provides functions that throw\n\t// AssertionError's when particular conditions are not met. The\n\t// assert module must conform to the following interface.\n\n\tvar assert = module.exports = ok;\n\n\t// 2. The AssertionError is defined in assert.\n\t// new assert.AssertionError({ message: message,\n\t//                             actual: actual,\n\t//                             expected: expected })\n\n\tassert.AssertionError = function AssertionError(options) {\n\t  this.name = 'AssertionError';\n\t  this.actual = options.actual;\n\t  this.expected = options.expected;\n\t  this.operator = options.operator;\n\t  if (options.message) {\n\t    this.message = options.message;\n\t    this.generatedMessage = false;\n\t  } else {\n\t    this.message = getMessage(this);\n\t    this.generatedMessage = true;\n\t  }\n\t  var stackStartFunction = options.stackStartFunction || fail;\n\n\t  if (Error.captureStackTrace) {\n\t    Error.captureStackTrace(this, stackStartFunction);\n\t  }\n\t  else {\n\t    // non v8 browsers so we can have a stacktrace\n\t    var err = new Error();\n\t    if (err.stack) {\n\t      var out = err.stack;\n\n\t      // try to strip useless frames\n\t      var fn_name = stackStartFunction.name;\n\t      var idx = out.indexOf('\\n' + fn_name);\n\t      if (idx >= 0) {\n\t        // once we have located the function frame\n\t        // we need to strip out everything before it (and its line)\n\t        var next_line = out.indexOf('\\n', idx + 1);\n\t        out = out.substring(next_line + 1);\n\t      }\n\n\t      this.stack = out;\n\t    }\n\t  }\n\t};\n\n\t// assert.AssertionError instanceof Error\n\tutil.inherits(assert.AssertionError, Error);\n\n\tfunction replacer(key, value) {\n\t  if (util.isUndefined(value)) {\n\t    return '' + value;\n\t  }\n\t  if (util.isNumber(value) && !isFinite(value)) {\n\t    return value.toString();\n\t  }\n\t  if (util.isFunction(value) || util.isRegExp(value)) {\n\t    return value.toString();\n\t  }\n\t  return value;\n\t}\n\n\tfunction truncate(s, n) {\n\t  if (util.isString(s)) {\n\t    return s.length < n ? s : s.slice(0, n);\n\t  } else {\n\t    return s;\n\t  }\n\t}\n\n\tfunction getMessage(self) {\n\t  return truncate(JSON.stringify(self.actual, replacer), 128) + ' ' +\n\t         self.operator + ' ' +\n\t         truncate(JSON.stringify(self.expected, replacer), 128);\n\t}\n\n\t// At present only the three keys mentioned above are used and\n\t// understood by the spec. Implementations or sub modules can pass\n\t// other keys to the AssertionError's constructor - they will be\n\t// ignored.\n\n\t// 3. All of the following functions must throw an AssertionError\n\t// when a corresponding condition is not met, with a message that\n\t// may be undefined if not provided.  All assertion methods provide\n\t// both the actual and expected values to the assertion error for\n\t// display purposes.\n\n\tfunction fail(actual, expected, message, operator, stackStartFunction) {\n\t  throw new assert.AssertionError({\n\t    message: message,\n\t    actual: actual,\n\t    expected: expected,\n\t    operator: operator,\n\t    stackStartFunction: stackStartFunction\n\t  });\n\t}\n\n\t// EXTENSION! allows for well behaved errors defined elsewhere.\n\tassert.fail = fail;\n\n\t// 4. Pure assertion tests whether a value is truthy, as determined\n\t// by !!guard.\n\t// assert.ok(guard, message_opt);\n\t// This statement is equivalent to assert.equal(true, !!guard,\n\t// message_opt);. To test strictly for the value true, use\n\t// assert.strictEqual(true, guard, message_opt);.\n\n\tfunction ok(value, message) {\n\t  if (!value) fail(value, true, message, '==', assert.ok);\n\t}\n\tassert.ok = ok;\n\n\t// 5. The equality assertion tests shallow, coercive equality with\n\t// ==.\n\t// assert.equal(actual, expected, message_opt);\n\n\tassert.equal = function equal(actual, expected, message) {\n\t  if (actual != expected) fail(actual, expected, message, '==', assert.equal);\n\t};\n\n\t// 6. The non-equality assertion tests for whether two objects are not equal\n\t// with != assert.notEqual(actual, expected, message_opt);\n\n\tassert.notEqual = function notEqual(actual, expected, message) {\n\t  if (actual == expected) {\n\t    fail(actual, expected, message, '!=', assert.notEqual);\n\t  }\n\t};\n\n\t// 7. The equivalence assertion tests a deep equality relation.\n\t// assert.deepEqual(actual, expected, message_opt);\n\n\tassert.deepEqual = function deepEqual(actual, expected, message) {\n\t  if (!_deepEqual(actual, expected)) {\n\t    fail(actual, expected, message, 'deepEqual', assert.deepEqual);\n\t  }\n\t};\n\n\tfunction _deepEqual(actual, expected) {\n\t  // 7.1. All identical values are equivalent, as determined by ===.\n\t  if (actual === expected) {\n\t    return true;\n\n\t  } else if (util.isBuffer(actual) && util.isBuffer(expected)) {\n\t    if (actual.length != expected.length) return false;\n\n\t    for (var i = 0; i < actual.length; i++) {\n\t      if (actual[i] !== expected[i]) return false;\n\t    }\n\n\t    return true;\n\n\t  // 7.2. If the expected value is a Date object, the actual value is\n\t  // equivalent if it is also a Date object that refers to the same time.\n\t  } else if (util.isDate(actual) && util.isDate(expected)) {\n\t    return actual.getTime() === expected.getTime();\n\n\t  // 7.3 If the expected value is a RegExp object, the actual value is\n\t  // equivalent if it is also a RegExp object with the same source and\n\t  // properties (`global`, `multiline`, `lastIndex`, `ignoreCase`).\n\t  } else if (util.isRegExp(actual) && util.isRegExp(expected)) {\n\t    return actual.source === expected.source &&\n\t           actual.global === expected.global &&\n\t           actual.multiline === expected.multiline &&\n\t           actual.lastIndex === expected.lastIndex &&\n\t           actual.ignoreCase === expected.ignoreCase;\n\n\t  // 7.4. Other pairs that do not both pass typeof value == 'object',\n\t  // equivalence is determined by ==.\n\t  } else if (!util.isObject(actual) && !util.isObject(expected)) {\n\t    return actual == expected;\n\n\t  // 7.5 For all other Object pairs, including Array objects, equivalence is\n\t  // determined by having the same number of owned properties (as verified\n\t  // with Object.prototype.hasOwnProperty.call), the same set of keys\n\t  // (although not necessarily the same order), equivalent values for every\n\t  // corresponding key, and an identical 'prototype' property. Note: this\n\t  // accounts for both named and indexed properties on Arrays.\n\t  } else {\n\t    return objEquiv(actual, expected);\n\t  }\n\t}\n\n\tfunction isArguments(object) {\n\t  return Object.prototype.toString.call(object) == '[object Arguments]';\n\t}\n\n\tfunction objEquiv(a, b) {\n\t  if (util.isNullOrUndefined(a) || util.isNullOrUndefined(b))\n\t    return false;\n\t  // an identical 'prototype' property.\n\t  if (a.prototype !== b.prototype) return false;\n\t  // if one is a primitive, the other must be same\n\t  if (util.isPrimitive(a) || util.isPrimitive(b)) {\n\t    return a === b;\n\t  }\n\t  var aIsArgs = isArguments(a),\n\t      bIsArgs = isArguments(b);\n\t  if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs))\n\t    return false;\n\t  if (aIsArgs) {\n\t    a = pSlice.call(a);\n\t    b = pSlice.call(b);\n\t    return _deepEqual(a, b);\n\t  }\n\t  var ka = objectKeys(a),\n\t      kb = objectKeys(b),\n\t      key, i;\n\t  // having the same number of owned properties (keys incorporates\n\t  // hasOwnProperty)\n\t  if (ka.length != kb.length)\n\t    return false;\n\t  //the same set of keys (although not necessarily the same order),\n\t  ka.sort();\n\t  kb.sort();\n\t  //~~~cheap key test\n\t  for (i = ka.length - 1; i >= 0; i--) {\n\t    if (ka[i] != kb[i])\n\t      return false;\n\t  }\n\t  //equivalent values for every corresponding key, and\n\t  //~~~possibly expensive deep test\n\t  for (i = ka.length - 1; i >= 0; i--) {\n\t    key = ka[i];\n\t    if (!_deepEqual(a[key], b[key])) return false;\n\t  }\n\t  return true;\n\t}\n\n\t// 8. The non-equivalence assertion tests for any deep inequality.\n\t// assert.notDeepEqual(actual, expected, message_opt);\n\n\tassert.notDeepEqual = function notDeepEqual(actual, expected, message) {\n\t  if (_deepEqual(actual, expected)) {\n\t    fail(actual, expected, message, 'notDeepEqual', assert.notDeepEqual);\n\t  }\n\t};\n\n\t// 9. The strict equality assertion tests strict equality, as determined by ===.\n\t// assert.strictEqual(actual, expected, message_opt);\n\n\tassert.strictEqual = function strictEqual(actual, expected, message) {\n\t  if (actual !== expected) {\n\t    fail(actual, expected, message, '===', assert.strictEqual);\n\t  }\n\t};\n\n\t// 10. The strict non-equality assertion tests for strict inequality, as\n\t// determined by !==.  assert.notStrictEqual(actual, expected, message_opt);\n\n\tassert.notStrictEqual = function notStrictEqual(actual, expected, message) {\n\t  if (actual === expected) {\n\t    fail(actual, expected, message, '!==', assert.notStrictEqual);\n\t  }\n\t};\n\n\tfunction expectedException(actual, expected) {\n\t  if (!actual || !expected) {\n\t    return false;\n\t  }\n\n\t  if (Object.prototype.toString.call(expected) == '[object RegExp]') {\n\t    return expected.test(actual);\n\t  } else if (actual instanceof expected) {\n\t    return true;\n\t  } else if (expected.call({}, actual) === true) {\n\t    return true;\n\t  }\n\n\t  return false;\n\t}\n\n\tfunction _throws(shouldThrow, block, expected, message) {\n\t  var actual;\n\n\t  if (util.isString(expected)) {\n\t    message = expected;\n\t    expected = null;\n\t  }\n\n\t  try {\n\t    block();\n\t  } catch (e) {\n\t    actual = e;\n\t  }\n\n\t  message = (expected && expected.name ? ' (' + expected.name + ').' : '.') +\n\t            (message ? ' ' + message : '.');\n\n\t  if (shouldThrow && !actual) {\n\t    fail(actual, expected, 'Missing expected exception' + message);\n\t  }\n\n\t  if (!shouldThrow && expectedException(actual, expected)) {\n\t    fail(actual, expected, 'Got unwanted exception' + message);\n\t  }\n\n\t  if ((shouldThrow && actual && expected &&\n\t      !expectedException(actual, expected)) || (!shouldThrow && actual)) {\n\t    throw actual;\n\t  }\n\t}\n\n\t// 11. Expected to throw an error:\n\t// assert.throws(block, Error_opt, message_opt);\n\n\tassert.throws = function(block, /*optional*/error, /*optional*/message) {\n\t  _throws.apply(this, [true].concat(pSlice.call(arguments)));\n\t};\n\n\t// EXTENSION! This is annoying to write outside this module.\n\tassert.doesNotThrow = function(block, /*optional*/message) {\n\t  _throws.apply(this, [false].concat(pSlice.call(arguments)));\n\t};\n\n\tassert.ifError = function(err) { if (err) {throw err;}};\n\n\tvar objectKeys = Object.keys || function (obj) {\n\t  var keys = [];\n\t  for (var key in obj) {\n\t    if (hasOwn.call(obj, key)) keys.push(key);\n\t  }\n\t  return keys;\n\t};\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global, process) {// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\tvar formatRegExp = /%[sdj%]/g;\n\texports.format = function(f) {\n\t  if (!isString(f)) {\n\t    var objects = [];\n\t    for (var i = 0; i < arguments.length; i++) {\n\t      objects.push(inspect(arguments[i]));\n\t    }\n\t    return objects.join(' ');\n\t  }\n\n\t  var i = 1;\n\t  var args = arguments;\n\t  var len = args.length;\n\t  var str = String(f).replace(formatRegExp, function(x) {\n\t    if (x === '%%') return '%';\n\t    if (i >= len) return x;\n\t    switch (x) {\n\t      case '%s': return String(args[i++]);\n\t      case '%d': return Number(args[i++]);\n\t      case '%j':\n\t        try {\n\t          return JSON.stringify(args[i++]);\n\t        } catch (_) {\n\t          return '[Circular]';\n\t        }\n\t      default:\n\t        return x;\n\t    }\n\t  });\n\t  for (var x = args[i]; i < len; x = args[++i]) {\n\t    if (isNull(x) || !isObject(x)) {\n\t      str += ' ' + x;\n\t    } else {\n\t      str += ' ' + inspect(x);\n\t    }\n\t  }\n\t  return str;\n\t};\n\n\n\t// Mark that a method should not be used.\n\t// Returns a modified function which warns once by default.\n\t// If --no-deprecation is set, then it is a no-op.\n\texports.deprecate = function(fn, msg) {\n\t  // Allow for deprecating things in the process of starting up.\n\t  if (isUndefined(global.process)) {\n\t    return function() {\n\t      return exports.deprecate(fn, msg).apply(this, arguments);\n\t    };\n\t  }\n\n\t  if (process.noDeprecation === true) {\n\t    return fn;\n\t  }\n\n\t  var warned = false;\n\t  function deprecated() {\n\t    if (!warned) {\n\t      if (process.throwDeprecation) {\n\t        throw new Error(msg);\n\t      } else if (process.traceDeprecation) {\n\t        console.trace(msg);\n\t      } else {\n\t        console.error(msg);\n\t      }\n\t      warned = true;\n\t    }\n\t    return fn.apply(this, arguments);\n\t  }\n\n\t  return deprecated;\n\t};\n\n\n\tvar debugs = {};\n\tvar debugEnviron;\n\texports.debuglog = function(set) {\n\t  if (isUndefined(debugEnviron))\n\t    debugEnviron = process.env.NODE_DEBUG || '';\n\t  set = set.toUpperCase();\n\t  if (!debugs[set]) {\n\t    if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n\t      var pid = process.pid;\n\t      debugs[set] = function() {\n\t        var msg = exports.format.apply(exports, arguments);\n\t        console.error('%s %d: %s', set, pid, msg);\n\t      };\n\t    } else {\n\t      debugs[set] = function() {};\n\t    }\n\t  }\n\t  return debugs[set];\n\t};\n\n\n\t/**\n\t * Echos the value of a value. Trys to print the value out\n\t * in the best way possible given the different types.\n\t *\n\t * @param {Object} obj The object to print out.\n\t * @param {Object} opts Optional options object that alters the output.\n\t */\n\t/* legacy: obj, showHidden, depth, colors*/\n\tfunction inspect(obj, opts) {\n\t  // default options\n\t  var ctx = {\n\t    seen: [],\n\t    stylize: stylizeNoColor\n\t  };\n\t  // legacy...\n\t  if (arguments.length >= 3) ctx.depth = arguments[2];\n\t  if (arguments.length >= 4) ctx.colors = arguments[3];\n\t  if (isBoolean(opts)) {\n\t    // legacy...\n\t    ctx.showHidden = opts;\n\t  } else if (opts) {\n\t    // got an \"options\" object\n\t    exports._extend(ctx, opts);\n\t  }\n\t  // set default options\n\t  if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n\t  if (isUndefined(ctx.depth)) ctx.depth = 2;\n\t  if (isUndefined(ctx.colors)) ctx.colors = false;\n\t  if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n\t  if (ctx.colors) ctx.stylize = stylizeWithColor;\n\t  return formatValue(ctx, obj, ctx.depth);\n\t}\n\texports.inspect = inspect;\n\n\n\t// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\n\tinspect.colors = {\n\t  'bold' : [1, 22],\n\t  'italic' : [3, 23],\n\t  'underline' : [4, 24],\n\t  'inverse' : [7, 27],\n\t  'white' : [37, 39],\n\t  'grey' : [90, 39],\n\t  'black' : [30, 39],\n\t  'blue' : [34, 39],\n\t  'cyan' : [36, 39],\n\t  'green' : [32, 39],\n\t  'magenta' : [35, 39],\n\t  'red' : [31, 39],\n\t  'yellow' : [33, 39]\n\t};\n\n\t// Don't use 'blue' not visible on cmd.exe\n\tinspect.styles = {\n\t  'special': 'cyan',\n\t  'number': 'yellow',\n\t  'boolean': 'yellow',\n\t  'undefined': 'grey',\n\t  'null': 'bold',\n\t  'string': 'green',\n\t  'date': 'magenta',\n\t  // \"name\": intentionally not styling\n\t  'regexp': 'red'\n\t};\n\n\n\tfunction stylizeWithColor(str, styleType) {\n\t  var style = inspect.styles[styleType];\n\n\t  if (style) {\n\t    return '\\u001b[' + inspect.colors[style][0] + 'm' + str +\n\t           '\\u001b[' + inspect.colors[style][1] + 'm';\n\t  } else {\n\t    return str;\n\t  }\n\t}\n\n\n\tfunction stylizeNoColor(str, styleType) {\n\t  return str;\n\t}\n\n\n\tfunction arrayToHash(array) {\n\t  var hash = {};\n\n\t  array.forEach(function(val, idx) {\n\t    hash[val] = true;\n\t  });\n\n\t  return hash;\n\t}\n\n\n\tfunction formatValue(ctx, value, recurseTimes) {\n\t  // Provide a hook for user-specified inspect functions.\n\t  // Check that value is an object with an inspect function on it\n\t  if (ctx.customInspect &&\n\t      value &&\n\t      isFunction(value.inspect) &&\n\t      // Filter out the util module, it's inspect function is special\n\t      value.inspect !== exports.inspect &&\n\t      // Also filter out any prototype objects using the circular check.\n\t      !(value.constructor && value.constructor.prototype === value)) {\n\t    var ret = value.inspect(recurseTimes, ctx);\n\t    if (!isString(ret)) {\n\t      ret = formatValue(ctx, ret, recurseTimes);\n\t    }\n\t    return ret;\n\t  }\n\n\t  // Primitive types cannot have properties\n\t  var primitive = formatPrimitive(ctx, value);\n\t  if (primitive) {\n\t    return primitive;\n\t  }\n\n\t  // Look up the keys of the object.\n\t  var keys = Object.keys(value);\n\t  var visibleKeys = arrayToHash(keys);\n\n\t  if (ctx.showHidden) {\n\t    keys = Object.getOwnPropertyNames(value);\n\t  }\n\n\t  // IE doesn't make error fields non-enumerable\n\t  // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n\t  if (isError(value)\n\t      && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n\t    return formatError(value);\n\t  }\n\n\t  // Some type of object without properties can be shortcutted.\n\t  if (keys.length === 0) {\n\t    if (isFunction(value)) {\n\t      var name = value.name ? ': ' + value.name : '';\n\t      return ctx.stylize('[Function' + name + ']', 'special');\n\t    }\n\t    if (isRegExp(value)) {\n\t      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n\t    }\n\t    if (isDate(value)) {\n\t      return ctx.stylize(Date.prototype.toString.call(value), 'date');\n\t    }\n\t    if (isError(value)) {\n\t      return formatError(value);\n\t    }\n\t  }\n\n\t  var base = '', array = false, braces = ['{', '}'];\n\n\t  // Make Array say that they are Array\n\t  if (isArray(value)) {\n\t    array = true;\n\t    braces = ['[', ']'];\n\t  }\n\n\t  // Make functions say that they are functions\n\t  if (isFunction(value)) {\n\t    var n = value.name ? ': ' + value.name : '';\n\t    base = ' [Function' + n + ']';\n\t  }\n\n\t  // Make RegExps say that they are RegExps\n\t  if (isRegExp(value)) {\n\t    base = ' ' + RegExp.prototype.toString.call(value);\n\t  }\n\n\t  // Make dates with properties first say the date\n\t  if (isDate(value)) {\n\t    base = ' ' + Date.prototype.toUTCString.call(value);\n\t  }\n\n\t  // Make error with message first say the error\n\t  if (isError(value)) {\n\t    base = ' ' + formatError(value);\n\t  }\n\n\t  if (keys.length === 0 && (!array || value.length == 0)) {\n\t    return braces[0] + base + braces[1];\n\t  }\n\n\t  if (recurseTimes < 0) {\n\t    if (isRegExp(value)) {\n\t      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n\t    } else {\n\t      return ctx.stylize('[Object]', 'special');\n\t    }\n\t  }\n\n\t  ctx.seen.push(value);\n\n\t  var output;\n\t  if (array) {\n\t    output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n\t  } else {\n\t    output = keys.map(function(key) {\n\t      return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n\t    });\n\t  }\n\n\t  ctx.seen.pop();\n\n\t  return reduceToSingleString(output, base, braces);\n\t}\n\n\n\tfunction formatPrimitive(ctx, value) {\n\t  if (isUndefined(value))\n\t    return ctx.stylize('undefined', 'undefined');\n\t  if (isString(value)) {\n\t    var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n\t                                             .replace(/'/g, \"\\\\'\")\n\t                                             .replace(/\\\\\"/g, '\"') + '\\'';\n\t    return ctx.stylize(simple, 'string');\n\t  }\n\t  if (isNumber(value))\n\t    return ctx.stylize('' + value, 'number');\n\t  if (isBoolean(value))\n\t    return ctx.stylize('' + value, 'boolean');\n\t  // For some reason typeof null is \"object\", so special case here.\n\t  if (isNull(value))\n\t    return ctx.stylize('null', 'null');\n\t}\n\n\n\tfunction formatError(value) {\n\t  return '[' + Error.prototype.toString.call(value) + ']';\n\t}\n\n\n\tfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n\t  var output = [];\n\t  for (var i = 0, l = value.length; i < l; ++i) {\n\t    if (hasOwnProperty(value, String(i))) {\n\t      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n\t          String(i), true));\n\t    } else {\n\t      output.push('');\n\t    }\n\t  }\n\t  keys.forEach(function(key) {\n\t    if (!key.match(/^\\d+$/)) {\n\t      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n\t          key, true));\n\t    }\n\t  });\n\t  return output;\n\t}\n\n\n\tfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n\t  var name, str, desc;\n\t  desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n\t  if (desc.get) {\n\t    if (desc.set) {\n\t      str = ctx.stylize('[Getter/Setter]', 'special');\n\t    } else {\n\t      str = ctx.stylize('[Getter]', 'special');\n\t    }\n\t  } else {\n\t    if (desc.set) {\n\t      str = ctx.stylize('[Setter]', 'special');\n\t    }\n\t  }\n\t  if (!hasOwnProperty(visibleKeys, key)) {\n\t    name = '[' + key + ']';\n\t  }\n\t  if (!str) {\n\t    if (ctx.seen.indexOf(desc.value) < 0) {\n\t      if (isNull(recurseTimes)) {\n\t        str = formatValue(ctx, desc.value, null);\n\t      } else {\n\t        str = formatValue(ctx, desc.value, recurseTimes - 1);\n\t      }\n\t      if (str.indexOf('\\n') > -1) {\n\t        if (array) {\n\t          str = str.split('\\n').map(function(line) {\n\t            return '  ' + line;\n\t          }).join('\\n').substr(2);\n\t        } else {\n\t          str = '\\n' + str.split('\\n').map(function(line) {\n\t            return '   ' + line;\n\t          }).join('\\n');\n\t        }\n\t      }\n\t    } else {\n\t      str = ctx.stylize('[Circular]', 'special');\n\t    }\n\t  }\n\t  if (isUndefined(name)) {\n\t    if (array && key.match(/^\\d+$/)) {\n\t      return str;\n\t    }\n\t    name = JSON.stringify('' + key);\n\t    if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n\t      name = name.substr(1, name.length - 2);\n\t      name = ctx.stylize(name, 'name');\n\t    } else {\n\t      name = name.replace(/'/g, \"\\\\'\")\n\t                 .replace(/\\\\\"/g, '\"')\n\t                 .replace(/(^\"|\"$)/g, \"'\");\n\t      name = ctx.stylize(name, 'string');\n\t    }\n\t  }\n\n\t  return name + ': ' + str;\n\t}\n\n\n\tfunction reduceToSingleString(output, base, braces) {\n\t  var numLinesEst = 0;\n\t  var length = output.reduce(function(prev, cur) {\n\t    numLinesEst++;\n\t    if (cur.indexOf('\\n') >= 0) numLinesEst++;\n\t    return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n\t  }, 0);\n\n\t  if (length > 60) {\n\t    return braces[0] +\n\t           (base === '' ? '' : base + '\\n ') +\n\t           ' ' +\n\t           output.join(',\\n  ') +\n\t           ' ' +\n\t           braces[1];\n\t  }\n\n\t  return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n\t}\n\n\n\t// NOTE: These type checking functions intentionally don't use `instanceof`\n\t// because it is fragile and can be easily faked with `Object.create()`.\n\tfunction isArray(ar) {\n\t  return Array.isArray(ar);\n\t}\n\texports.isArray = isArray;\n\n\tfunction isBoolean(arg) {\n\t  return typeof arg === 'boolean';\n\t}\n\texports.isBoolean = isBoolean;\n\n\tfunction isNull(arg) {\n\t  return arg === null;\n\t}\n\texports.isNull = isNull;\n\n\tfunction isNullOrUndefined(arg) {\n\t  return arg == null;\n\t}\n\texports.isNullOrUndefined = isNullOrUndefined;\n\n\tfunction isNumber(arg) {\n\t  return typeof arg === 'number';\n\t}\n\texports.isNumber = isNumber;\n\n\tfunction isString(arg) {\n\t  return typeof arg === 'string';\n\t}\n\texports.isString = isString;\n\n\tfunction isSymbol(arg) {\n\t  return typeof arg === 'symbol';\n\t}\n\texports.isSymbol = isSymbol;\n\n\tfunction isUndefined(arg) {\n\t  return arg === void 0;\n\t}\n\texports.isUndefined = isUndefined;\n\n\tfunction isRegExp(re) {\n\t  return isObject(re) && objectToString(re) === '[object RegExp]';\n\t}\n\texports.isRegExp = isRegExp;\n\n\tfunction isObject(arg) {\n\t  return typeof arg === 'object' && arg !== null;\n\t}\n\texports.isObject = isObject;\n\n\tfunction isDate(d) {\n\t  return isObject(d) && objectToString(d) === '[object Date]';\n\t}\n\texports.isDate = isDate;\n\n\tfunction isError(e) {\n\t  return isObject(e) &&\n\t      (objectToString(e) === '[object Error]' || e instanceof Error);\n\t}\n\texports.isError = isError;\n\n\tfunction isFunction(arg) {\n\t  return typeof arg === 'function';\n\t}\n\texports.isFunction = isFunction;\n\n\tfunction isPrimitive(arg) {\n\t  return arg === null ||\n\t         typeof arg === 'boolean' ||\n\t         typeof arg === 'number' ||\n\t         typeof arg === 'string' ||\n\t         typeof arg === 'symbol' ||  // ES6 symbol\n\t         typeof arg === 'undefined';\n\t}\n\texports.isPrimitive = isPrimitive;\n\n\texports.isBuffer = __webpack_require__(5);\n\n\tfunction objectToString(o) {\n\t  return Object.prototype.toString.call(o);\n\t}\n\n\n\tfunction pad(n) {\n\t  return n < 10 ? '0' + n.toString(10) : n.toString(10);\n\t}\n\n\n\tvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n\t              'Oct', 'Nov', 'Dec'];\n\n\t// 26 Feb 16:19:34\n\tfunction timestamp() {\n\t  var d = new Date();\n\t  var time = [pad(d.getHours()),\n\t              pad(d.getMinutes()),\n\t              pad(d.getSeconds())].join(':');\n\t  return [d.getDate(), months[d.getMonth()], time].join(' ');\n\t}\n\n\n\t// log is just a thin wrapper to console.log that prepends a timestamp\n\texports.log = function() {\n\t  console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n\t};\n\n\n\t/**\n\t * Inherit the prototype methods from one constructor into another.\n\t *\n\t * The Function.prototype.inherits from lang.js rewritten as a standalone\n\t * function (not on Function.prototype). NOTE: If this file is to be loaded\n\t * during bootstrapping this function needs to be rewritten using some native\n\t * functions as prototype setup using normal JavaScript does not work as\n\t * expected during bootstrapping (see mirror.js in r114903).\n\t *\n\t * @param {function} ctor Constructor function which needs to inherit the\n\t *     prototype.\n\t * @param {function} superCtor Constructor function to inherit prototype from.\n\t */\n\texports.inherits = __webpack_require__(6);\n\n\texports._extend = function(origin, add) {\n\t  // Don't do anything if add isn't an object\n\t  if (!add || !isObject(add)) return origin;\n\n\t  var keys = Object.keys(add);\n\t  var i = keys.length;\n\t  while (i--) {\n\t    origin[keys[i]] = add[keys[i]];\n\t  }\n\t  return origin;\n\t};\n\n\tfunction hasOwnProperty(obj, prop) {\n\t  return Object.prototype.hasOwnProperty.call(obj, prop);\n\t}\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(4)))\n\n/***/ },\n/* 4 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\n\tfunction cleanUpNextTick() {\n\t    draining = false;\n\t    if (currentQueue.length) {\n\t        queue = currentQueue.concat(queue);\n\t    } else {\n\t        queueIndex = -1;\n\t    }\n\t    if (queue.length) {\n\t        drainQueue();\n\t    }\n\t}\n\n\tfunction drainQueue() {\n\t    if (draining) {\n\t        return;\n\t    }\n\t    var timeout = setTimeout(cleanUpNextTick);\n\t    draining = true;\n\n\t    var len = queue.length;\n\t    while(len) {\n\t        currentQueue = queue;\n\t        queue = [];\n\t        while (++queueIndex < len) {\n\t            if (currentQueue) {\n\t                currentQueue[queueIndex].run();\n\t            }\n\t        }\n\t        queueIndex = -1;\n\t        len = queue.length;\n\t    }\n\t    currentQueue = null;\n\t    draining = false;\n\t    clearTimeout(timeout);\n\t}\n\n\tprocess.nextTick = function (fun) {\n\t    var args = new Array(arguments.length - 1);\n\t    if (arguments.length > 1) {\n\t        for (var i = 1; i < arguments.length; i++) {\n\t            args[i - 1] = arguments[i];\n\t        }\n\t    }\n\t    queue.push(new Item(fun, args));\n\t    if (queue.length === 1 && !draining) {\n\t        setTimeout(drainQueue, 0);\n\t    }\n\t};\n\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t    this.fun = fun;\n\t    this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t    this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\n\tfunction noop() {}\n\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\n\tprocess.binding = function (name) {\n\t    throw new Error('process.binding is not supported');\n\t};\n\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t    throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function isBuffer(arg) {\n\t  return arg && typeof arg === 'object'\n\t    && typeof arg.copy === 'function'\n\t    && typeof arg.fill === 'function'\n\t    && typeof arg.readUInt8 === 'function';\n\t}\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\tif (typeof Object.create === 'function') {\n\t  // implementation from standard node.js 'util' module\n\t  module.exports = function inherits(ctor, superCtor) {\n\t    ctor.super_ = superCtor\n\t    ctor.prototype = Object.create(superCtor.prototype, {\n\t      constructor: {\n\t        value: ctor,\n\t        enumerable: false,\n\t        writable: true,\n\t        configurable: true\n\t      }\n\t    });\n\t  };\n\t} else {\n\t  // old school shim for old browsers\n\t  module.exports = function inherits(ctor, superCtor) {\n\t    ctor.super_ = superCtor\n\t    var TempCtor = function () {}\n\t    TempCtor.prototype = superCtor.prototype\n\t    ctor.prototype = new TempCtor()\n\t    ctor.prototype.constructor = ctor\n\t  }\n\t}\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\t// resolves . and .. elements in a path array with directory names there\n\t// must be no slashes, empty elements, or device names (c:\\) in the array\n\t// (so also no leading and trailing slashes - it does not distinguish\n\t// relative and absolute paths)\n\tfunction normalizeArray(parts, allowAboveRoot) {\n\t  // if the path tries to go above the root, `up` ends up > 0\n\t  var up = 0;\n\t  for (var i = parts.length - 1; i >= 0; i--) {\n\t    var last = parts[i];\n\t    if (last === '.') {\n\t      parts.splice(i, 1);\n\t    } else if (last === '..') {\n\t      parts.splice(i, 1);\n\t      up++;\n\t    } else if (up) {\n\t      parts.splice(i, 1);\n\t      up--;\n\t    }\n\t  }\n\n\t  // if the path is allowed to go above the root, restore leading ..s\n\t  if (allowAboveRoot) {\n\t    for (; up--; up) {\n\t      parts.unshift('..');\n\t    }\n\t  }\n\n\t  return parts;\n\t}\n\n\t// Split a filename into [root, dir, basename, ext], unix version\n\t// 'root' is just a slash, or nothing.\n\tvar splitPathRe =\n\t    /^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/;\n\tvar splitPath = function(filename) {\n\t  return splitPathRe.exec(filename).slice(1);\n\t};\n\n\t// path.resolve([from ...], to)\n\t// posix version\n\texports.resolve = function() {\n\t  var resolvedPath = '',\n\t      resolvedAbsolute = false;\n\n\t  for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n\t    var path = (i >= 0) ? arguments[i] : process.cwd();\n\n\t    // Skip empty and invalid entries\n\t    if (typeof path !== 'string') {\n\t      throw new TypeError('Arguments to path.resolve must be strings');\n\t    } else if (!path) {\n\t      continue;\n\t    }\n\n\t    resolvedPath = path + '/' + resolvedPath;\n\t    resolvedAbsolute = path.charAt(0) === '/';\n\t  }\n\n\t  // At this point the path should be resolved to a full absolute path, but\n\t  // handle relative paths to be safe (might happen when process.cwd() fails)\n\n\t  // Normalize the path\n\t  resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n\t    return !!p;\n\t  }), !resolvedAbsolute).join('/');\n\n\t  return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n\t};\n\n\t// path.normalize(path)\n\t// posix version\n\texports.normalize = function(path) {\n\t  var isAbsolute = exports.isAbsolute(path),\n\t      trailingSlash = substr(path, -1) === '/';\n\n\t  // Normalize the path\n\t  path = normalizeArray(filter(path.split('/'), function(p) {\n\t    return !!p;\n\t  }), !isAbsolute).join('/');\n\n\t  if (!path && !isAbsolute) {\n\t    path = '.';\n\t  }\n\t  if (path && trailingSlash) {\n\t    path += '/';\n\t  }\n\n\t  return (isAbsolute ? '/' : '') + path;\n\t};\n\n\t// posix version\n\texports.isAbsolute = function(path) {\n\t  return path.charAt(0) === '/';\n\t};\n\n\t// posix version\n\texports.join = function() {\n\t  var paths = Array.prototype.slice.call(arguments, 0);\n\t  return exports.normalize(filter(paths, function(p, index) {\n\t    if (typeof p !== 'string') {\n\t      throw new TypeError('Arguments to path.join must be strings');\n\t    }\n\t    return p;\n\t  }).join('/'));\n\t};\n\n\n\t// path.relative(from, to)\n\t// posix version\n\texports.relative = function(from, to) {\n\t  from = exports.resolve(from).substr(1);\n\t  to = exports.resolve(to).substr(1);\n\n\t  function trim(arr) {\n\t    var start = 0;\n\t    for (; start < arr.length; start++) {\n\t      if (arr[start] !== '') break;\n\t    }\n\n\t    var end = arr.length - 1;\n\t    for (; end >= 0; end--) {\n\t      if (arr[end] !== '') break;\n\t    }\n\n\t    if (start > end) return [];\n\t    return arr.slice(start, end - start + 1);\n\t  }\n\n\t  var fromParts = trim(from.split('/'));\n\t  var toParts = trim(to.split('/'));\n\n\t  var length = Math.min(fromParts.length, toParts.length);\n\t  var samePartsLength = length;\n\t  for (var i = 0; i < length; i++) {\n\t    if (fromParts[i] !== toParts[i]) {\n\t      samePartsLength = i;\n\t      break;\n\t    }\n\t  }\n\n\t  var outputParts = [];\n\t  for (var i = samePartsLength; i < fromParts.length; i++) {\n\t    outputParts.push('..');\n\t  }\n\n\t  outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n\t  return outputParts.join('/');\n\t};\n\n\texports.sep = '/';\n\texports.delimiter = ':';\n\n\texports.dirname = function(path) {\n\t  var result = splitPath(path),\n\t      root = result[0],\n\t      dir = result[1];\n\n\t  if (!root && !dir) {\n\t    // No dirname whatsoever\n\t    return '.';\n\t  }\n\n\t  if (dir) {\n\t    // It has a dirname, strip trailing slash\n\t    dir = dir.substr(0, dir.length - 1);\n\t  }\n\n\t  return root + dir;\n\t};\n\n\n\texports.basename = function(path, ext) {\n\t  var f = splitPath(path)[2];\n\t  // TODO: make this comparison case-insensitive on windows?\n\t  if (ext && f.substr(-1 * ext.length) === ext) {\n\t    f = f.substr(0, f.length - ext.length);\n\t  }\n\t  return f;\n\t};\n\n\n\texports.extname = function(path) {\n\t  return splitPath(path)[3];\n\t};\n\n\tfunction filter (xs, f) {\n\t    if (xs.filter) return xs.filter(f);\n\t    var res = [];\n\t    for (var i = 0; i < xs.length; i++) {\n\t        if (f(xs[i], i, xs)) res.push(xs[i]);\n\t    }\n\t    return res;\n\t}\n\n\t// String.prototype.substr - negative index don't work in IE8\n\tvar substr = 'ab'.substr(-1) === 'b'\n\t    ? function (str, start, len) { return str.substr(start, len) }\n\t    : function (str, start, len) {\n\t        if (start < 0) start = str.length + start;\n\t        return str.substr(start, len);\n\t    }\n\t;\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4)))\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar types = __webpack_require__(9);\n\n\t// This core module of AST types captures ES5 as it is parsed today by\n\t// git://github.com/ariya/esprima.git#master.\n\t__webpack_require__(10);\n\n\t// Feel free to add to or remove from this list of extension modules to\n\t// configure the precise type hierarchy that you need.\n\t__webpack_require__(12);\n\t__webpack_require__(13);\n\t__webpack_require__(14);\n\t__webpack_require__(15);\n\n\texports.Type = types.Type;\n\texports.builtInTypes = types.builtInTypes;\n\texports.namedTypes = types.namedTypes;\n\texports.builders = types.builders;\n\texports.defineMethod = types.defineMethod;\n\texports.getFieldValue = types.getFieldValue;\n\texports.eachField = types.eachField;\n\texports.someField = types.someField;\n\texports.traverse = __webpack_require__(16);\n\texports.finalize = types.finalize;\n\texports.NodePath = __webpack_require__(17);\n\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar Ap = Array.prototype;\n\tvar slice = Ap.slice;\n\tvar map = Ap.map;\n\tvar each = Ap.forEach;\n\tvar Op = Object.prototype;\n\tvar objToStr = Op.toString;\n\tvar funObjStr = objToStr.call(function(){});\n\tvar strObjStr = objToStr.call(\"\");\n\tvar hasOwn = Op.hasOwnProperty;\n\n\t// A type is an object with a .check method that takes a value and returns\n\t// true or false according to whether the value matches the type.\n\n\tfunction Type(check, name) {\n\t    var self = this;\n\t    assert.ok(self instanceof Type, self);\n\n\t    // Unfortunately we can't elegantly reuse isFunction and isString,\n\t    // here, because this code is executed while defining those types.\n\t    assert.strictEqual(objToStr.call(check), funObjStr,\n\t                       check + \" is not a function\");\n\n\t    // The `name` parameter can be either a function or a string.\n\t    var nameObjStr = objToStr.call(name);\n\t    assert.ok(nameObjStr === funObjStr ||\n\t              nameObjStr === strObjStr,\n\t              name + \" is neither a function nor a string\");\n\n\t    Object.defineProperties(self, {\n\t        name: { value: name },\n\t        check: {\n\t            value: function(value, deep) {\n\t                var result = check.call(self, value, deep);\n\t                if (!result && deep && objToStr.call(deep) === funObjStr)\n\t                    deep(self, value);\n\t                return result;\n\t            }\n\t        }\n\t    });\n\t}\n\n\tvar Tp = Type.prototype;\n\n\t// Throughout this file we use Object.defineProperty to prevent\n\t// redefinition of exported properties.\n\tObject.defineProperty(exports, \"Type\", { value: Type });\n\n\t// Like .check, except that failure triggers an AssertionError.\n\tTp.assert = function(value, deep) {\n\t    if (!this.check(value, deep)) {\n\t        var str = shallowStringify(value);\n\t        assert.ok(false, str + \" does not match type \" + this);\n\t        return false;\n\t    }\n\t    return true;\n\t};\n\n\tfunction shallowStringify(value) {\n\t    if (isObject.check(value))\n\t        return \"{\" + Object.keys(value).map(function(key) {\n\t            return key + \": \" + value[key];\n\t        }).join(\", \") + \"}\";\n\n\t    if (isArray.check(value))\n\t        return \"[\" + value.map(shallowStringify).join(\", \") + \"]\";\n\n\t    return JSON.stringify(value);\n\t}\n\n\tTp.toString = function() {\n\t    var name = this.name;\n\n\t    if (isString.check(name))\n\t        return name;\n\n\t    if (isFunction.check(name))\n\t        return name.call(this) + \"\";\n\n\t    return name + \" type\";\n\t};\n\n\tvar builtInTypes = {};\n\tObject.defineProperty(exports, \"builtInTypes\", {\n\t    enumerable: true,\n\t    value: builtInTypes\n\t});\n\n\tfunction defBuiltInType(example, name) {\n\t    var objStr = objToStr.call(example);\n\n\t    Object.defineProperty(builtInTypes, name, {\n\t        enumerable: true,\n\t        value: new Type(function(value) {\n\t            return objToStr.call(value) === objStr;\n\t        }, name)\n\t    });\n\n\t    return builtInTypes[name];\n\t}\n\n\t// These types check the underlying [[Class]] attribute of the given\n\t// value, rather than using the problematic typeof operator. Note however\n\t// that no subtyping is considered; so, for instance, isObject.check\n\t// returns false for [], /./, new Date, and null.\n\tvar isString = defBuiltInType(\"\", \"string\");\n\tvar isFunction = defBuiltInType(function(){}, \"function\");\n\tvar isArray = defBuiltInType([], \"array\");\n\tvar isObject = defBuiltInType({}, \"object\");\n\tvar isRegExp = defBuiltInType(/./, \"RegExp\");\n\tvar isDate = defBuiltInType(new Date, \"Date\");\n\tvar isNumber = defBuiltInType(3, \"number\");\n\tvar isBoolean = defBuiltInType(true, \"boolean\");\n\tvar isNull = defBuiltInType(null, \"null\");\n\tvar isUndefined = defBuiltInType(void 0, \"undefined\");\n\n\t// There are a number of idiomatic ways of expressing types, so this\n\t// function serves to coerce them all to actual Type objects. Note that\n\t// providing the name argument is not necessary in most cases.\n\tfunction toType(from, name) {\n\t    // The toType function should of course be idempotent.\n\t    if (from instanceof Type)\n\t        return from;\n\n\t    // The Def type is used as a helper for constructing compound\n\t    // interface types for AST nodes.\n\t    if (from instanceof Def)\n\t        return from.type;\n\n\t    // Support [ElemType] syntax.\n\t    if (isArray.check(from))\n\t        return Type.fromArray(from);\n\n\t    // Support { someField: FieldType, ... } syntax.\n\t    if (isObject.check(from))\n\t        return Type.fromObject(from);\n\n\t    // If isFunction.check(from), assume that from is a binary predicate\n\t    // function we can use to define the type.\n\t    if (isFunction.check(from))\n\t        return new Type(from, name);\n\n\t    // As a last resort, toType returns a type that matches any value that\n\t    // is === from. This is primarily useful for literal values like\n\t    // toType(null), but it has the additional advantage of allowing\n\t    // toType to be a total function.\n\t    return new Type(function(value) {\n\t        return value === from;\n\t    }, isUndefined.check(name) ? function() {\n\t        return from + \"\";\n\t    } : name);\n\t}\n\n\t// Returns a type that matches the given value iff any of type1, type2,\n\t// etc. match the value.\n\tType.or = function(/* type1, type2, ... */) {\n\t    var types = [];\n\t    var len = arguments.length;\n\t    for (var i = 0; i < len; ++i)\n\t        types.push(toType(arguments[i]));\n\n\t    return new Type(function(value, deep) {\n\t        for (var i = 0; i < len; ++i)\n\t            if (types[i].check(value, deep))\n\t                return true;\n\t        return false;\n\t    }, function() {\n\t        return types.join(\" | \");\n\t    });\n\t};\n\n\tType.fromArray = function(arr) {\n\t    assert.ok(isArray.check(arr));\n\t    assert.strictEqual(\n\t        arr.length, 1,\n\t        \"only one element type is permitted for typed arrays\");\n\t    return toType(arr[0]).arrayOf();\n\t};\n\n\tTp.arrayOf = function() {\n\t    var elemType = this;\n\t    return new Type(function(value, deep) {\n\t        return isArray.check(value) && value.every(function(elem) {\n\t            return elemType.check(elem, deep);\n\t        });\n\t    }, function() {\n\t        return \"[\" + elemType + \"]\";\n\t    });\n\t};\n\n\tType.fromObject = function(obj) {\n\t    var fields = Object.keys(obj).map(function(name) {\n\t        return new Field(name, obj[name]);\n\t    });\n\n\t    return new Type(function(value, deep) {\n\t        return isObject.check(value) && fields.every(function(field) {\n\t            return field.type.check(value[field.name], deep);\n\t        });\n\t    }, function() {\n\t        return \"{ \" + fields.join(\", \") + \" }\";\n\t    });\n\t};\n\n\tfunction Field(name, type, defaultFn, hidden) {\n\t    var self = this;\n\n\t    assert.ok(self instanceof Field);\n\t    isString.assert(name);\n\n\t    type = toType(type);\n\n\t    var properties = {\n\t        name: { value: name },\n\t        type: { value: type },\n\t        hidden: { value: !!hidden }\n\t    };\n\n\t    if (isFunction.check(defaultFn)) {\n\t        properties.defaultFn = { value: defaultFn };\n\t    }\n\n\t    Object.defineProperties(self, properties);\n\t}\n\n\tvar Fp = Field.prototype;\n\n\tFp.toString = function() {\n\t    return JSON.stringify(this.name) + \": \" + this.type;\n\t};\n\n\tFp.getValue = function(obj) {\n\t    var value = obj[this.name];\n\n\t    if (!isUndefined.check(value))\n\t        return value;\n\n\t    if (this.defaultFn)\n\t        value = this.defaultFn.call(obj);\n\n\t    return value;\n\t};\n\n\t// Define a type whose name is registered in a namespace (the defCache) so\n\t// that future definitions will return the same type given the same name.\n\t// In particular, this system allows for circular and forward definitions.\n\t// The Def object d returned from Type.def may be used to configure the\n\t// type d.type by calling methods such as d.bases, d.build, and d.field.\n\tType.def = function(typeName) {\n\t    isString.assert(typeName);\n\t    return hasOwn.call(defCache, typeName)\n\t        ? defCache[typeName]\n\t        : defCache[typeName] = new Def(typeName);\n\t};\n\n\t// In order to return the same Def instance every time Type.def is called\n\t// with a particular name, those instances need to be stored in a cache.\n\tvar defCache = {};\n\n\tfunction Def(typeName) {\n\t    var self = this;\n\t    assert.ok(self instanceof Def);\n\n\t    Object.defineProperties(self, {\n\t        typeName: { value: typeName },\n\t        baseNames: { value: [] },\n\t        ownFields: { value: {} },\n\n\t        // These two are populated during finalization.\n\t        allSupertypes: { value: {} }, // Includes own typeName.\n\t        allFields: { value: {} }, // Includes inherited fields.\n\n\t        type: {\n\t            value: new Type(function(value, deep) {\n\t                return self.check(value, deep);\n\t            }, typeName)\n\t        }\n\t    });\n\t}\n\n\tDef.fromValue = function(value) {\n\t    if (isObject.check(value) &&\n\t        hasOwn.call(value, \"type\") &&\n\t        hasOwn.call(defCache, value.type))\n\t    {\n\t        var vDef = defCache[value.type];\n\t        assert.strictEqual(vDef.finalized, true);\n\t        return vDef;\n\t    }\n\t};\n\n\tvar Dp = Def.prototype;\n\n\tDp.isSupertypeOf = function(that) {\n\t    if (that instanceof Def) {\n\t        assert.strictEqual(this.finalized, true);\n\t        assert.strictEqual(that.finalized, true);\n\t        return hasOwn.call(that.allSupertypes, this.typeName);\n\t    } else {\n\t        assert.ok(false, that + \" is not a Def\");\n\t    }\n\t};\n\n\tDp.checkAllFields = function(value, deep) {\n\t    var allFields = this.allFields;\n\t    assert.strictEqual(this.finalized, true);\n\n\t    function checkFieldByName(name) {\n\t        var field = allFields[name];\n\t        var type = field.type;\n\t        var child = field.getValue(value);\n\t        return type.check(child, deep);\n\t    }\n\n\t    return isObject.check(value)\n\t        && Object.keys(allFields).every(checkFieldByName);\n\t};\n\n\tDp.check = function(value, deep) {\n\t    assert.strictEqual(\n\t        this.finalized, true,\n\t        \"prematurely checking unfinalized type \" + this.typeName);\n\n\t    // A Def type can only match an object value.\n\t    if (!isObject.check(value))\n\t        return false;\n\n\t    var vDef = Def.fromValue(value);\n\t    if (!vDef) {\n\t        // If we couldn't infer the Def associated with the given value,\n\t        // and we expected it to be a SourceLocation or a Position, it was\n\t        // probably just missing a \"type\" field (because Esprima does not\n\t        // assign a type property to such nodes). Be optimistic and let\n\t        // this.checkAllFields make the final decision.\n\t        if (this.typeName === \"SourceLocation\" ||\n\t            this.typeName === \"Position\") {\n\t            return this.checkAllFields(value, deep);\n\t        }\n\n\t        // Calling this.checkAllFields for any other type of node is both\n\t        // bad for performance and way too forgiving.\n\t        return false;\n\t    }\n\n\t    // If checking deeply and vDef === this, then we only need to call\n\t    // checkAllFields once. Calling checkAllFields is too strict when deep\n\t    // is false, because then we only care about this.isSupertypeOf(vDef).\n\t    if (deep && vDef === this)\n\t        return this.checkAllFields(value, deep);\n\n\t    // In most cases we rely exclusively on isSupertypeOf to make O(1)\n\t    // subtyping determinations. This suffices in most situations outside\n\t    // of unit tests, since interface conformance is checked whenever new\n\t    // instances are created using builder functions.\n\t    if (!this.isSupertypeOf(vDef))\n\t        return false;\n\n\t    // The exception is when deep is true; then, we recursively check all\n\t    // fields.\n\t    if (!deep)\n\t        return true;\n\n\t    // Use the more specific Def (vDef) to perform the deep check, but\n\t    // shallow-check fields defined by the less specific Def (this).\n\t    return vDef.checkAllFields(value, deep)\n\t        && this.checkAllFields(value, false);\n\t};\n\n\tDp.bases = function() {\n\t    var bases = this.baseNames;\n\n\t    assert.strictEqual(this.finalized, false);\n\n\t    each.call(arguments, function(baseName) {\n\t        isString.assert(baseName);\n\n\t        // This indexOf lookup may be O(n), but the typical number of base\n\t        // names is very small, and indexOf is a native Array method.\n\t        if (bases.indexOf(baseName) < 0)\n\t            bases.push(baseName);\n\t    });\n\n\t    return this; // For chaining.\n\t};\n\n\t// False by default until .build(...) is called on an instance.\n\tObject.defineProperty(Dp, \"buildable\", { value: false });\n\n\tvar builders = {};\n\tObject.defineProperty(exports, \"builders\", {\n\t    value: builders\n\t});\n\n\t// This object is used as prototype for any node created by a builder.\n\tvar nodePrototype = {};\n\n\t// Call this function to define a new method to be shared by all AST\n\t// nodes. The replaced method (if any) is returned for easy wrapping.\n\tObject.defineProperty(exports, \"defineMethod\", {\n\t    value: function(name, func) {\n\t        var old = nodePrototype[name];\n\n\t        // Pass undefined as func to delete nodePrototype[name].\n\t        if (isUndefined.check(func)) {\n\t            delete nodePrototype[name];\n\n\t        } else {\n\t            isFunction.assert(func);\n\n\t            Object.defineProperty(nodePrototype, name, {\n\t                enumerable: true, // For discoverability.\n\t                configurable: true, // For delete proto[name].\n\t                value: func\n\t            });\n\t        }\n\n\t        return old;\n\t    }\n\t});\n\n\t// Calling the .build method of a Def simultaneously marks the type as\n\t// buildable (by defining builders[getBuilderName(typeName)]) and\n\t// specifies the order of arguments that should be passed to the builder\n\t// function to create an instance of the type.\n\tDp.build = function(/* param1, param2, ... */) {\n\t    var self = this;\n\t    var buildParams = slice.call(arguments);\n\t    var typeName = self.typeName;\n\n\t    assert.strictEqual(self.finalized, false);\n\t    isString.arrayOf().assert(buildParams);\n\n\t    // Every buildable type will have its \"type\" field filled in\n\t    // automatically. This includes types that are not subtypes of Node,\n\t    // like SourceLocation, but that seems harmless (TODO?).\n\t    self.field(\"type\", typeName, function() { return typeName });\n\n\t    // Override Dp.buildable for this Def instance.\n\t    Object.defineProperty(self, \"buildable\", { value: true });\n\n\t    Object.defineProperty(builders, getBuilderName(typeName), {\n\t        enumerable: true,\n\n\t        value: function() {\n\t            var args = arguments;\n\t            var argc = args.length;\n\t            var built = Object.create(nodePrototype);\n\n\t            assert.ok(\n\t                self.finalized,\n\t                \"attempting to instantiate unfinalized type \" + typeName);\n\n\t            function add(param, i) {\n\t                if (hasOwn.call(built, param))\n\t                    return;\n\n\t                var all = self.allFields;\n\t                assert.ok(hasOwn.call(all, param), param);\n\n\t                var field = all[param];\n\t                var type = field.type;\n\t                var value;\n\n\t                if (isNumber.check(i) && i < argc) {\n\t                    value = args[i];\n\t                } else if (field.defaultFn) {\n\t                    // Expose the partially-built object to the default\n\t                    // function as its `this` object.\n\t                    value = field.defaultFn.call(built);\n\t                } else {\n\t                    var message = \"no value or default function given for field \" +\n\t                        JSON.stringify(param) + \" of \" + typeName + \"(\" +\n\t                            buildParams.map(function(name) {\n\t                                return all[name];\n\t                            }).join(\", \") + \")\";\n\t                    assert.ok(false, message);\n\t                }\n\n\t                assert.ok(\n\t                    type.check(value),\n\t                    shallowStringify(value) +\n\t                        \" does not match field \" + field +\n\t                        \" of type \" + typeName);\n\n\t                // TODO Could attach getters and setters here to enforce\n\t                // dynamic type safety.\n\t                built[param] = value;\n\t            }\n\n\t            buildParams.forEach(function(param, i) {\n\t                add(param, i);\n\t            });\n\n\t            Object.keys(self.allFields).forEach(function(param) {\n\t                add(param); // Use the default value.\n\t            });\n\n\t            // Make sure that the \"type\" field was filled automatically.\n\t            assert.strictEqual(built.type, typeName);\n\n\t            return built;\n\t        }\n\t    });\n\n\t    return self; // For chaining.\n\t};\n\n\tfunction getBuilderName(typeName) {\n\t    return typeName.replace(/^[A-Z]+/, function(upperCasePrefix) {\n\t        var len = upperCasePrefix.length;\n\t        switch (len) {\n\t        case 0: return \"\";\n\t        // If there's only one initial capital letter, just lower-case it.\n\t        case 1: return upperCasePrefix.toLowerCase();\n\t        default:\n\t            // If there's more than one initial capital letter, lower-case\n\t            // all but the last one, so that XMLDefaultDeclaration (for\n\t            // example) becomes xmlDefaultDeclaration.\n\t            return upperCasePrefix.slice(\n\t                0, len - 1).toLowerCase() +\n\t                upperCasePrefix.charAt(len - 1);\n\t        }\n\t    });\n\t}\n\n\t// The reason fields are specified using .field(...) instead of an object\n\t// literal syntax is somewhat subtle: the object literal syntax would\n\t// support only one key and one value, but with .field(...) we can pass\n\t// any number of arguments to specify the field.\n\tDp.field = function(name, type, defaultFn, hidden) {\n\t    assert.strictEqual(this.finalized, false);\n\t    this.ownFields[name] = new Field(name, type, defaultFn, hidden);\n\t    return this; // For chaining.\n\t};\n\n\tvar namedTypes = {};\n\tObject.defineProperty(exports, \"namedTypes\", {\n\t    value: namedTypes\n\t});\n\n\t// Get the value of an object property, taking object.type and default\n\t// functions into account.\n\tObject.defineProperty(exports, \"getFieldValue\", {\n\t    value: function(object, fieldName) {\n\t        var d = Def.fromValue(object);\n\t        if (d) {\n\t            var field = d.allFields[fieldName];\n\t            if (field) {\n\t                return field.getValue(object);\n\t            }\n\t        }\n\n\t        return object[fieldName];\n\t    }\n\t});\n\n\t// Iterate over all defined fields of an object, including those missing\n\t// or undefined, passing each field name and effective value (as returned\n\t// by getFieldValue) to the callback. If the object has no corresponding\n\t// Def, the callback will never be called.\n\tObject.defineProperty(exports, \"eachField\", {\n\t    value: function(object, callback, context) {\n\t        var d = Def.fromValue(object);\n\t        if (d) {\n\t            var all = d.allFields;\n\t            Object.keys(all).forEach(function(name) {\n\t                var field = all[name];\n\t                if (!field.hidden) {\n\t                    callback.call(this, name, field.getValue(object));\n\t                }\n\t            }, context);\n\t        } else {\n\t            assert.strictEqual(\n\t                \"type\" in object, false,\n\t                \"did not recognize object of type \" + JSON.stringify(object.type)\n\t            );\n\n\t            // If we could not infer a Def type for this object, just\n\t            // iterate over its keys in the normal way.\n\t            Object.keys(object).forEach(function(name) {\n\t                callback.call(this, name, object[name]);\n\t            }, context);\n\t        }\n\t    }\n\t});\n\n\t// Similar to eachField, except that iteration stops as soon as the\n\t// callback returns a truthy value. Like Array.prototype.some, the final\n\t// result is either true or false to indicates whether the callback\n\t// returned true for any element or not.\n\tObject.defineProperty(exports, \"someField\", {\n\t    value: function(object, callback, context) {\n\t        var d = Def.fromValue(object);\n\t        if (d) {\n\t            var all = d.allFields;\n\t            return Object.keys(all).some(function(name) {\n\t                var field = all[name];\n\t                if (!field.hidden) {\n\t                    var value = field.getValue(object);\n\t                    return callback.call(this, name, value);\n\t                }\n\t            }, context);\n\t        }\n\n\t        assert.strictEqual(\n\t            \"type\" in object, false,\n\t            \"did not recognize object of type \" + JSON.stringify(object.type)\n\t        );\n\n\t        // If we could not infer a Def type for this object, just iterate\n\t        // over its keys in the normal way.\n\t        return Object.keys(object).some(function(name) {\n\t            return callback.call(this, name, object[name]);\n\t        }, context);\n\t    }\n\t});\n\n\t// This property will be overridden as true by individual Def instances\n\t// when they are finalized.\n\tObject.defineProperty(Dp, \"finalized\", { value: false });\n\n\tDp.finalize = function() {\n\t    // It's not an error to finalize a type more than once, but only the\n\t    // first call to .finalize does anything.\n\t    if (!this.finalized) {\n\t        var allFields = this.allFields;\n\t        var allSupertypes = this.allSupertypes;\n\n\t        this.baseNames.forEach(function(name) {\n\t            var def = defCache[name];\n\t            def.finalize();\n\t            extend(allFields, def.allFields);\n\t            extend(allSupertypes, def.allSupertypes);\n\t        });\n\n\t        // TODO Warn if fields are overridden with incompatible types.\n\t        extend(allFields, this.ownFields);\n\t        allSupertypes[this.typeName] = this;\n\n\t        // Types are exported only once they have been finalized.\n\t        Object.defineProperty(namedTypes, this.typeName, {\n\t            enumerable: true,\n\t            value: this.type\n\t        });\n\n\t        Object.defineProperty(this, \"finalized\", { value: true });\n\t    }\n\t};\n\n\tfunction extend(into, from) {\n\t    Object.keys(from).forEach(function(name) {\n\t        into[name] = from[name];\n\t    });\n\n\t    return into;\n\t};\n\n\tObject.defineProperty(exports, \"finalize\", {\n\t    // This function should be called at the end of any complete file of\n\t    // type definitions. It declares that everything defined so far is\n\t    // complete and needs no further modification, and defines all\n\t    // finalized types as properties of exports.namedTypes.\n\t    value: function() {\n\t        Object.keys(defCache).forEach(function(name) {\n\t            defCache[name].finalize();\n\t        });\n\t    }\n\t});\n\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar types = __webpack_require__(9);\n\tvar Type = types.Type;\n\tvar def = Type.def;\n\tvar or = Type.or;\n\tvar builtin = types.builtInTypes;\n\tvar isString = builtin.string;\n\tvar isNumber = builtin.number;\n\tvar isBoolean = builtin.boolean;\n\tvar isRegExp = builtin.RegExp;\n\tvar shared = __webpack_require__(11);\n\tvar defaults = shared.defaults;\n\tvar geq = shared.geq;\n\n\tdef(\"Node\")\n\t    .field(\"type\", isString)\n\t    .field(\"loc\", or(\n\t        def(\"SourceLocation\"),\n\t        null\n\t    ), defaults[\"null\"]);\n\n\tdef(\"SourceLocation\")\n\t    .build(\"start\", \"end\", \"source\")\n\t    .field(\"start\", def(\"Position\"))\n\t    .field(\"end\", def(\"Position\"))\n\t    .field(\"source\", or(isString, null), defaults[\"null\"]);\n\n\tdef(\"Position\")\n\t    .build(\"line\", \"column\")\n\t    .field(\"line\", geq(1))\n\t    .field(\"column\", geq(0));\n\n\tdef(\"Program\")\n\t    .bases(\"Node\")\n\t    .build(\"body\")\n\t    .field(\"body\", [def(\"Statement\")]);\n\n\tdef(\"Function\")\n\t    .bases(\"Node\")\n\t    .field(\"id\", or(def(\"Identifier\"), null), defaults[\"null\"])\n\t    .field(\"params\", [def(\"Pattern\")])\n\t    .field(\"body\", or(def(\"BlockStatement\"), def(\"Expression\")))\n\t    .field(\"generator\", isBoolean, defaults[\"false\"])\n\t    .field(\"expression\", isBoolean, defaults[\"false\"])\n\t    .field(\"defaults\", [def(\"Expression\")], defaults.emptyArray)\n\t    .field(\"rest\", or(def(\"Identifier\"), null), defaults[\"null\"]);\n\n\tdef(\"Statement\").bases(\"Node\");\n\n\t// The empty .build() here means that an EmptyStatement can be constructed\n\t// (i.e. it's not abstract) but that it needs no arguments.\n\tdef(\"EmptyStatement\").bases(\"Statement\").build();\n\n\tdef(\"BlockStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"body\")\n\t    .field(\"body\", [def(\"Statement\")]);\n\n\t// TODO Figure out how to silently coerce Expressions to\n\t// ExpressionStatements where a Statement was expected.\n\tdef(\"ExpressionStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"expression\")\n\t    .field(\"expression\", def(\"Expression\"));\n\n\tdef(\"IfStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"test\", \"consequent\", \"alternate\")\n\t    .field(\"test\", def(\"Expression\"))\n\t    .field(\"consequent\", def(\"Statement\"))\n\t    .field(\"alternate\", or(def(\"Statement\"), null), defaults[\"null\"]);\n\n\tdef(\"LabeledStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"label\", \"body\")\n\t    .field(\"label\", def(\"Identifier\"))\n\t    .field(\"body\", def(\"Statement\"));\n\n\tdef(\"BreakStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"label\")\n\t    .field(\"label\", or(def(\"Identifier\"), null), defaults[\"null\"]);\n\n\tdef(\"ContinueStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"label\")\n\t    .field(\"label\", or(def(\"Identifier\"), null), defaults[\"null\"]);\n\n\tdef(\"WithStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"object\", \"body\")\n\t    .field(\"object\", def(\"Expression\"))\n\t    .field(\"body\", def(\"Statement\"));\n\n\tdef(\"SwitchStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"discriminant\", \"cases\", \"lexical\")\n\t    .field(\"discriminant\", def(\"Expression\"))\n\t    .field(\"cases\", [def(\"SwitchCase\")])\n\t    .field(\"lexical\", isBoolean, defaults[\"false\"]);\n\n\tdef(\"ReturnStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"argument\")\n\t    .field(\"argument\", or(def(\"Expression\"), null));\n\n\tdef(\"ThrowStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"argument\")\n\t    .field(\"argument\", def(\"Expression\"));\n\n\tdef(\"TryStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"block\", \"handler\", \"finalizer\")\n\t    .field(\"block\", def(\"BlockStatement\"))\n\t    .field(\"handler\", or(def(\"CatchClause\"), null), function() {\n\t        return this.handlers && this.handlers[0] || null;\n\t    })\n\t    .field(\"handlers\", [def(\"CatchClause\")], function() {\n\t        return this.handler ? [this.handler] : [];\n\t    }, true) // Indicates this field is hidden from eachField iteration.\n\t    .field(\"guardedHandlers\", [def(\"CatchClause\")], defaults.emptyArray)\n\t    .field(\"finalizer\", or(def(\"BlockStatement\"), null), defaults[\"null\"]);\n\n\tdef(\"CatchClause\")\n\t    .bases(\"Node\")\n\t    .build(\"param\", \"guard\", \"body\")\n\t    .field(\"param\", def(\"Pattern\"))\n\t    .field(\"guard\", or(def(\"Expression\"), null), defaults[\"null\"])\n\t    .field(\"body\", def(\"BlockStatement\"));\n\n\tdef(\"WhileStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"test\", \"body\")\n\t    .field(\"test\", def(\"Expression\"))\n\t    .field(\"body\", def(\"Statement\"));\n\n\tdef(\"DoWhileStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"body\", \"test\")\n\t    .field(\"body\", def(\"Statement\"))\n\t    .field(\"test\", def(\"Expression\"));\n\n\tdef(\"ForStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"init\", \"test\", \"update\", \"body\")\n\t    .field(\"init\", or(\n\t        def(\"VariableDeclaration\"),\n\t        def(\"Expression\"),\n\t        null))\n\t    .field(\"test\", or(def(\"Expression\"), null))\n\t    .field(\"update\", or(def(\"Expression\"), null))\n\t    .field(\"body\", def(\"Statement\"));\n\n\tdef(\"ForInStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"left\", \"right\", \"body\", \"each\")\n\t    .field(\"left\", or(\n\t        def(\"VariableDeclaration\"),\n\t        def(\"Expression\")))\n\t    .field(\"right\", def(\"Expression\"))\n\t    .field(\"body\", def(\"Statement\"))\n\t    .field(\"each\", isBoolean);\n\n\tdef(\"DebuggerStatement\").bases(\"Statement\").build();\n\n\tdef(\"Declaration\").bases(\"Statement\");\n\n\tdef(\"FunctionDeclaration\")\n\t    .bases(\"Function\", \"Declaration\")\n\t    .build(\"id\", \"params\", \"body\", \"generator\", \"expression\")\n\t    .field(\"id\", def(\"Identifier\"));\n\n\tdef(\"FunctionExpression\")\n\t    .bases(\"Function\", \"Expression\")\n\t    .build(\"id\", \"params\", \"body\", \"generator\", \"expression\");\n\n\tdef(\"VariableDeclaration\")\n\t    .bases(\"Declaration\")\n\t    .build(\"kind\", \"declarations\")\n\t    .field(\"kind\", or(\"var\", \"let\", \"const\"))\n\t    .field(\"declarations\", [or(\n\t        def(\"VariableDeclarator\"),\n\t        def(\"Identifier\") // TODO Esprima deviation.\n\t    )]);\n\n\tdef(\"VariableDeclarator\")\n\t    .bases(\"Node\")\n\t    .build(\"id\", \"init\")\n\t    .field(\"id\", def(\"Pattern\"))\n\t    .field(\"init\", or(def(\"Expression\"), null));\n\n\t// TODO Are all Expressions really Patterns?\n\tdef(\"Expression\").bases(\"Node\", \"Pattern\");\n\n\tdef(\"ThisExpression\").bases(\"Expression\").build();\n\n\tdef(\"ArrayExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"elements\")\n\t    .field(\"elements\", [or(def(\"Expression\"), null)]);\n\n\tdef(\"ObjectExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"properties\")\n\t    .field(\"properties\", [def(\"Property\")]);\n\n\t// TODO Not in the Mozilla Parser API, but used by Esprima.\n\tdef(\"Property\")\n\t    .bases(\"Node\") // Want to be able to visit Property Nodes.\n\t    .build(\"kind\", \"key\", \"value\")\n\t    .field(\"kind\", or(\"init\", \"get\", \"set\"))\n\t    .field(\"key\", or(def(\"Literal\"), def(\"Identifier\")))\n\t    .field(\"value\", def(\"Expression\"))\n\t    // Esprima extensions not mentioned in the Mozilla Parser API:\n\t    .field(\"method\", isBoolean, defaults[\"false\"])\n\t    .field(\"shorthand\", isBoolean, defaults[\"false\"]);\n\n\tdef(\"SequenceExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"expressions\")\n\t    .field(\"expressions\", [def(\"Expression\")]);\n\n\tvar UnaryOperator = or(\n\t    \"-\", \"+\", \"!\", \"~\",\n\t    \"typeof\", \"void\", \"delete\");\n\n\tdef(\"UnaryExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"operator\", \"argument\", \"prefix\")\n\t    .field(\"operator\", UnaryOperator)\n\t    .field(\"argument\", def(\"Expression\"))\n\t    // TODO Esprima doesn't bother with this field, presumably because\n\t    // it's always true for unary operators.\n\t    .field(\"prefix\", isBoolean, defaults[\"true\"]);\n\n\tvar BinaryOperator = or(\n\t    \"==\", \"!=\", \"===\", \"!==\",\n\t    \"<\", \"<=\", \">\", \">=\",\n\t    \"<<\", \">>\", \">>>\",\n\t    \"+\", \"-\", \"*\", \"/\", \"%\",\n\t    \"&\", // TODO Missing from the Parser API.\n\t    \"|\", \"^\", \"in\",\n\t    \"instanceof\", \"..\");\n\n\tdef(\"BinaryExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"operator\", \"left\", \"right\")\n\t    .field(\"operator\", BinaryOperator)\n\t    .field(\"left\", def(\"Expression\"))\n\t    .field(\"right\", def(\"Expression\"));\n\n\tvar AssignmentOperator = or(\n\t    \"=\", \"+=\", \"-=\", \"*=\", \"/=\", \"%=\",\n\t    \"<<=\", \">>=\", \">>>=\",\n\t    \"|=\", \"^=\", \"&=\");\n\n\tdef(\"AssignmentExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"operator\", \"left\", \"right\")\n\t    .field(\"operator\", AssignmentOperator)\n\t    // TODO Shouldn't this be def(\"Pattern\")?\n\t    .field(\"left\", def(\"Expression\"))\n\t    .field(\"right\", def(\"Expression\"));\n\n\tvar UpdateOperator = or(\"++\", \"--\");\n\n\tdef(\"UpdateExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"operator\", \"argument\", \"prefix\")\n\t    .field(\"operator\", UpdateOperator)\n\t    .field(\"argument\", def(\"Expression\"))\n\t    .field(\"prefix\", isBoolean);\n\n\tvar LogicalOperator = or(\"||\", \"&&\");\n\n\tdef(\"LogicalExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"operator\", \"left\", \"right\")\n\t    .field(\"operator\", LogicalOperator)\n\t    .field(\"left\", def(\"Expression\"))\n\t    .field(\"right\", def(\"Expression\"));\n\n\tdef(\"ConditionalExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"test\", \"consequent\", \"alternate\")\n\t    .field(\"test\", def(\"Expression\"))\n\t    .field(\"consequent\", def(\"Expression\"))\n\t    .field(\"alternate\", def(\"Expression\"));\n\n\tdef(\"NewExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"callee\", \"arguments\")\n\t    .field(\"callee\", def(\"Expression\"))\n\t    // The Mozilla Parser API gives this type as [or(def(\"Expression\"),\n\t    // null)], but null values don't really make sense at the call site.\n\t    // TODO Report this nonsense.\n\t    .field(\"arguments\", [def(\"Expression\")]);\n\n\tdef(\"CallExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"callee\", \"arguments\")\n\t    .field(\"callee\", def(\"Expression\"))\n\t    // See comment for NewExpression above.\n\t    .field(\"arguments\", [def(\"Expression\")]);\n\n\tdef(\"MemberExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"object\", \"property\", \"computed\")\n\t    .field(\"object\", def(\"Expression\"))\n\t    .field(\"property\", or(def(\"Identifier\"), def(\"Expression\")))\n\t    .field(\"computed\", isBoolean);\n\n\tdef(\"Pattern\").bases(\"Node\");\n\n\tdef(\"ObjectPattern\")\n\t    .bases(\"Pattern\")\n\t    .build(\"properties\")\n\t    // TODO File a bug to get PropertyPattern added to the interfaces API.\n\t    .field(\"properties\", [def(\"PropertyPattern\")]);\n\n\tdef(\"PropertyPattern\")\n\t    .bases(\"Pattern\")\n\t    .build(\"key\", \"pattern\")\n\t    .field(\"key\", or(def(\"Literal\"), def(\"Identifier\")))\n\t    .field(\"pattern\", def(\"Pattern\"));\n\n\tdef(\"ArrayPattern\")\n\t    .bases(\"Pattern\")\n\t    .build(\"elements\")\n\t    .field(\"elements\", [or(def(\"Pattern\"), null)]);\n\n\tdef(\"SwitchCase\")\n\t    .bases(\"Node\")\n\t    .build(\"test\", \"consequent\")\n\t    .field(\"test\", or(def(\"Expression\"), null))\n\t    .field(\"consequent\", [def(\"Statement\")]);\n\n\tdef(\"Identifier\")\n\t    // But aren't Expressions and Patterns already Nodes? TODO Report this.\n\t    .bases(\"Node\", \"Expression\", \"Pattern\")\n\t    .build(\"name\")\n\t    .field(\"name\", isString);\n\n\tdef(\"Literal\")\n\t    // But aren't Expressions already Nodes? TODO Report this.\n\t    .bases(\"Node\", \"Expression\")\n\t    .build(\"value\")\n\t    .field(\"value\", or(\n\t        isString,\n\t        isBoolean,\n\t        null, // isNull would also work here.\n\t        isNumber,\n\t        isRegExp\n\t    ));\n\n\ttypes.finalize();\n\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar types = __webpack_require__(9);\n\tvar Type = types.Type;\n\tvar builtin = types.builtInTypes;\n\tvar isNumber = builtin.number;\n\n\t// An example of constructing a new type with arbitrary constraints from\n\t// an existing type.\n\texports.geq = function(than) {\n\t    return new Type(function(value) {\n\t        return isNumber.check(value) && value >= than;\n\t    }, isNumber + \" >= \" + than);\n\t};\n\n\t// Default value-returning functions that may optionally be passed as a\n\t// third argument to Def.prototype.field.\n\texports.defaults = {\n\t    // Functions were used because (among other reasons) that's the most\n\t    // elegant way to allow for the emptyArray one always to give a new\n\t    // array instance.\n\t    \"null\": function() { return null },\n\t    \"emptyArray\": function() { return [] },\n\t    \"false\": function() { return false },\n\t    \"true\": function() { return true },\n\t    \"undefined\": function() {}\n\t};\n\n\tvar naiveIsPrimitive = Type.or(\n\t    builtin.string,\n\t    builtin.number,\n\t    builtin.boolean,\n\t    builtin.null,\n\t    builtin.undefined\n\t);\n\n\texports.isPrimitive = new Type(function(value) {\n\t    if (value === null)\n\t        return true;\n\t    var type = typeof value;\n\t    return !(type === \"object\" ||\n\t             type === \"function\");\n\t}, naiveIsPrimitive.toString());\n\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(10);\n\tvar types = __webpack_require__(9);\n\tvar def = types.Type.def;\n\tvar or = types.Type.or;\n\tvar builtin = types.builtInTypes;\n\tvar isBoolean = builtin.boolean;\n\tvar isString = builtin.string;\n\tvar defaults = __webpack_require__(11).defaults;\n\n\t// TODO The Parser API calls this ArrowExpression, but Esprima uses\n\t// ArrowFunctionExpression.\n\tdef(\"ArrowFunctionExpression\")\n\t    .bases(\"Function\", \"Expression\")\n\t    .build(\"params\", \"body\", \"expression\")\n\t    // The forced null value here is compatible with the overridden\n\t    // definition of the \"id\" field in the Function interface.\n\t    .field(\"id\", null, defaults[\"null\"])\n\t    // The current spec forbids arrow generators, so I have taken the\n\t    // liberty of enforcing that. TODO Report this.\n\t    .field(\"generator\", false, defaults[\"false\"]);\n\n\tdef(\"YieldExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"argument\", \"delegate\")\n\t    .field(\"argument\", or(def(\"Expression\"), null))\n\t    .field(\"delegate\", isBoolean, false);\n\n\tdef(\"GeneratorExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"body\", \"blocks\", \"filter\")\n\t    .field(\"body\", def(\"Expression\"))\n\t    .field(\"blocks\", [def(\"ComprehensionBlock\")])\n\t    .field(\"filter\", or(def(\"Expression\"), null));\n\n\tdef(\"ComprehensionExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"body\", \"blocks\", \"filter\")\n\t    .field(\"body\", def(\"Expression\"))\n\t    .field(\"blocks\", [def(\"ComprehensionBlock\")])\n\t    .field(\"filter\", or(def(\"Expression\"), null));\n\n\tdef(\"ComprehensionBlock\")\n\t    .bases(\"Node\")\n\t    .build(\"left\", \"right\", \"each\")\n\t    .field(\"left\", def(\"Pattern\"))\n\t    .field(\"right\", def(\"Expression\"))\n\t    .field(\"each\", isBoolean);\n\n\t// This would be the ideal definition for ModuleSpecifier, but alas we\n\t// can't expect ASTs parsed by Esprima to use this custom subtype:\n\tdef(\"ModuleSpecifier\")\n\t    .bases(\"Specifier\", \"Literal\")\n\t//  .build(\"value\") // Make it abstract/non-buildable for now.\n\t    .field(\"value\", isString);\n\n\t// Instead we must settle for a cheap type alias:\n\tvar ModuleSpecifier = def(\"Literal\");\n\n\tdef(\"ModuleDeclaration\")\n\t    .bases(\"Declaration\")\n\t    .build(\"id\", \"from\", \"body\")\n\t    .field(\"id\", or(def(\"Literal\"), def(\"Identifier\")))\n\t    .field(\"source\", or(ModuleSpecifier, null))\n\t    .field(\"body\", or(def(\"BlockStatement\"), null));\n\n\tdef(\"MethodDefinition\")\n\t    .bases(\"Declaration\")\n\t    .build(\"kind\", \"key\", \"value\")\n\t    .field(\"kind\", or(\"init\", \"get\", \"set\", \"\"))\n\t    .field(\"key\", or(def(\"Literal\"), def(\"Identifier\")))\n\t    .field(\"value\", def(\"Function\"));\n\n\tdef(\"SpreadElement\")\n\t    .bases(\"Pattern\")\n\t    .build(\"argument\")\n\t    .field(\"argument\", def(\"Pattern\"));\n\n\tvar ClassBodyElement = or(\n\t    def(\"MethodDefinition\"),\n\t    def(\"VariableDeclarator\"),\n\t    def(\"ClassPropertyDefinition\")\n\t);\n\n\tdef(\"ClassPropertyDefinition\") // static property\n\t    .bases(\"Declaration\")\n\t    .build(\"definition\")\n\t    // Yes, Virginia, circular definitions are permitted.\n\t    .field(\"definition\", ClassBodyElement);\n\n\tdef(\"ClassBody\")\n\t    .bases(\"Declaration\")\n\t    .build(\"body\")\n\t    .field(\"body\", [ClassBodyElement]);\n\n\tdef(\"ClassDeclaration\")\n\t    .bases(\"Declaration\")\n\t    .build(\"id\", \"body\", \"superClass\")\n\t    .field(\"id\", def(\"Identifier\"))\n\t    .field(\"body\", def(\"ClassBody\"))\n\t    .field(\"superClass\", or(def(\"Expression\"), null), defaults[\"null\"]);\n\n\tdef(\"ClassExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"id\", \"body\", \"superClass\")\n\t    .field(\"id\", or(def(\"Identifier\"), null), defaults[\"null\"])\n\t    .field(\"body\", def(\"ClassBody\"))\n\t    .field(\"superClass\", or(def(\"Expression\"), null), defaults[\"null\"]);\n\n\t// Specifier and NamedSpecifier are non-standard types that I introduced\n\t// for definitional convenience.\n\tdef(\"Specifier\").bases(\"Node\");\n\tdef(\"NamedSpecifier\")\n\t    .bases(\"Specifier\")\n\t    .field(\"id\", def(\"Identifier\"))\n\t    .field(\"name\", def(\"Identifier\"), defaults[\"null\"]);\n\n\tdef(\"ExportSpecifier\")\n\t    .bases(\"NamedSpecifier\")\n\t    .build(\"id\", \"name\");\n\n\tdef(\"ExportBatchSpecifier\")\n\t    .bases(\"Specifier\")\n\t    .build();\n\n\tdef(\"ImportSpecifier\")\n\t    .bases(\"NamedSpecifier\")\n\t    .build(\"id\", \"name\");\n\n\tdef(\"ExportDeclaration\")\n\t    .bases(\"Declaration\")\n\t    .build(\"default\", \"declaration\", \"specifiers\", \"source\")\n\t    .field(\"default\", isBoolean)\n\t    .field(\"declaration\", or(\n\t        def(\"Declaration\"),\n\t        def(\"AssignmentExpression\") // Implies default.\n\t    ))\n\t    .field(\"specifiers\", [or(\n\t        def(\"ExportSpecifier\"),\n\t        def(\"ExportBatchSpecifier\")\n\t    )])\n\t    .field(\"source\", or(ModuleSpecifier, null));\n\n\tdef(\"ImportDeclaration\")\n\t    .bases(\"Declaration\")\n\t    .build(\"specifiers\", \"kind\", \"source\")\n\t    .field(\"specifiers\", [def(\"ImportSpecifier\")])\n\t    .field(\"kind\", or(\"named\", \"default\"))\n\t    .field(\"source\", ModuleSpecifier);\n\n\ttypes.finalize();\n\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(10);\n\tvar types = __webpack_require__(9);\n\tvar def = types.Type.def;\n\tvar or = types.Type.or;\n\tvar geq = __webpack_require__(11).geq;\n\n\tdef(\"ForOfStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"left\", \"right\", \"body\")\n\t    .field(\"left\", or(\n\t        def(\"VariableDeclaration\"),\n\t        def(\"Expression\")))\n\t    .field(\"right\", def(\"Expression\"))\n\t    .field(\"body\", def(\"Statement\"));\n\n\tdef(\"LetStatement\")\n\t    .bases(\"Statement\")\n\t    .build(\"head\", \"body\")\n\t    // TODO Deviating from the spec by reusing VariableDeclarator here.\n\t    .field(\"head\", [def(\"VariableDeclarator\")])\n\t    .field(\"body\", def(\"Statement\"));\n\n\tdef(\"LetExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"head\", \"body\")\n\t    // TODO Deviating from the spec by reusing VariableDeclarator here.\n\t    .field(\"head\", [def(\"VariableDeclarator\")])\n\t    .field(\"body\", def(\"Expression\"));\n\n\tdef(\"GraphExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"index\", \"expression\")\n\t    .field(\"index\", geq(0))\n\t    .field(\"expression\", def(\"Literal\"));\n\n\tdef(\"GraphIndexExpression\")\n\t    .bases(\"Expression\")\n\t    .build(\"index\")\n\t    .field(\"index\", geq(0));\n\n\ttypes.finalize();\n\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(10);\n\tvar types = __webpack_require__(9);\n\tvar def = types.Type.def;\n\tvar or = types.Type.or;\n\tvar builtin = types.builtInTypes;\n\tvar isString = builtin.string;\n\tvar isBoolean = builtin.boolean;\n\n\t// Note that none of these types are buildable because the Mozilla Parser\n\t// API doesn't specify any builder functions, and nobody uses E4X anymore.\n\n\tdef(\"XMLDefaultDeclaration\")\n\t    .bases(\"Declaration\")\n\t    .field(\"namespace\", def(\"Expression\"));\n\n\tdef(\"XMLAnyName\").bases(\"Expression\");\n\n\tdef(\"XMLQualifiedIdentifier\")\n\t    .bases(\"Expression\")\n\t    .field(\"left\", or(def(\"Identifier\"), def(\"XMLAnyName\")))\n\t    .field(\"right\", or(def(\"Identifier\"), def(\"Expression\")))\n\t    .field(\"computed\", isBoolean);\n\n\tdef(\"XMLFunctionQualifiedIdentifier\")\n\t    .bases(\"Expression\")\n\t    .field(\"right\", or(def(\"Identifier\"), def(\"Expression\")))\n\t    .field(\"computed\", isBoolean);\n\n\tdef(\"XMLAttributeSelector\")\n\t    .bases(\"Expression\")\n\t    .field(\"attribute\", def(\"Expression\"));\n\n\tdef(\"XMLFilterExpression\")\n\t    .bases(\"Expression\")\n\t    .field(\"left\", def(\"Expression\"))\n\t    .field(\"right\", def(\"Expression\"));\n\n\tdef(\"XMLElement\")\n\t    .bases(\"XML\", \"Expression\")\n\t    .field(\"contents\", [def(\"XML\")]);\n\n\tdef(\"XMLList\")\n\t    .bases(\"XML\", \"Expression\")\n\t    .field(\"contents\", [def(\"XML\")]);\n\n\tdef(\"XML\").bases(\"Node\");\n\n\tdef(\"XMLEscape\")\n\t    .bases(\"XML\")\n\t    .field(\"expression\", def(\"Expression\"));\n\n\tdef(\"XMLText\")\n\t    .bases(\"XML\")\n\t    .field(\"text\", isString);\n\n\tdef(\"XMLStartTag\")\n\t    .bases(\"XML\")\n\t    .field(\"contents\", [def(\"XML\")]);\n\n\tdef(\"XMLEndTag\")\n\t    .bases(\"XML\")\n\t    .field(\"contents\", [def(\"XML\")]);\n\n\tdef(\"XMLPointTag\")\n\t    .bases(\"XML\")\n\t    .field(\"contents\", [def(\"XML\")]);\n\n\tdef(\"XMLName\")\n\t    .bases(\"XML\")\n\t    .field(\"contents\", or(isString, [def(\"XML\")]));\n\n\tdef(\"XMLAttribute\")\n\t    .bases(\"XML\")\n\t    .field(\"value\", isString);\n\n\tdef(\"XMLCdata\")\n\t    .bases(\"XML\")\n\t    .field(\"contents\", isString);\n\n\tdef(\"XMLComment\")\n\t    .bases(\"XML\")\n\t    .field(\"contents\", isString);\n\n\tdef(\"XMLProcessingInstruction\")\n\t    .bases(\"XML\")\n\t    .field(\"target\", isString)\n\t    .field(\"contents\", or(isString, null));\n\n\ttypes.finalize();\n\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(10);\n\tvar types = __webpack_require__(9);\n\tvar def = types.Type.def;\n\tvar or = types.Type.or;\n\tvar builtin = types.builtInTypes;\n\tvar isString = builtin.string;\n\tvar isBoolean = builtin.boolean;\n\tvar defaults = __webpack_require__(11).defaults;\n\n\tdef(\"XJSAttribute\")\n\t    .bases(\"Node\")\n\t    .build(\"name\", \"value\")\n\t    .field(\"name\", def(\"XJSIdentifier\"))\n\t    .field(\"value\", or(\n\t        def(\"Literal\"), // attr=\"value\"\n\t        def(\"XJSExpressionContainer\"), // attr={value}\n\t        null // attr= or just attr\n\t    ), defaults[\"null\"]);\n\n\tdef(\"XJSIdentifier\")\n\t    .bases(\"Node\")\n\t    .build(\"name\", \"namespace\")\n\t    .field(\"name\", isString)\n\t    .field(\"namespace\", or(isString, null), defaults[\"null\"]);\n\n\tdef(\"XJSExpressionContainer\")\n\t    .bases(\"Expression\")\n\t    .build(\"expression\")\n\t    .field(\"expression\", def(\"Expression\"));\n\n\tdef(\"XJSElement\")\n\t    .bases(\"Expression\")\n\t    .build(\"openingElement\", \"closingElement\", \"children\")\n\t    .field(\"openingElement\", def(\"XJSOpeningElement\"))\n\t    .field(\"closingElement\", or(def(\"XJSClosingElement\"), null), defaults[\"null\"])\n\t    .field(\"children\", [or(\n\t        def(\"XJSElement\"),\n\t        def(\"XJSExpressionContainer\"),\n\t        def(\"XJSText\"),\n\t        def(\"Literal\") // TODO Esprima should return XJSText instead.\n\t    )], defaults.emptyArray)\n\t    .field(\"name\", def(\"XJSIdentifier\"), function() {\n\t        // Little-known fact: the `this` object inside a default function\n\t        // is none other than the partially-built object itself, and any\n\t        // fields initialized directly from builder function arguments\n\t        // (like openingElement, closingElement, and children) are\n\t        // guaranteed to be available.\n\t        return this.openingElement.name;\n\t    })\n\t    .field(\"selfClosing\", isBoolean, function() {\n\t        return this.openingElement.selfClosing;\n\t    })\n\t    .field(\"attributes\", [def(\"XJSAttribute\")], function() {\n\t        return this.openingElement.attributes;\n\t    });\n\n\tdef(\"XJSOpeningElement\")\n\t    .bases(\"Node\") // TODO Does this make sense? Can't really be an XJSElement.\n\t    .build(\"name\", \"attributes\", \"selfClosing\")\n\t    .field(\"name\", def(\"XJSIdentifier\"))\n\t    .field(\"attributes\", [def(\"XJSAttribute\")], defaults.emptyArray)\n\t    .field(\"selfClosing\", isBoolean, defaults[\"false\"]);\n\n\tdef(\"XJSClosingElement\")\n\t    .bases(\"Node\") // TODO Same concern.\n\t    .build(\"name\")\n\t    .field(\"name\", def(\"XJSIdentifier\"));\n\n\tdef(\"XJSText\")\n\t    .bases(\"Literal\")\n\t    .build(\"value\")\n\t    .field(\"value\", isString);\n\n\tdef(\"XJSEmptyExpression\").bases(\"Expression\").build();\n\n\tdef(\"TypeAnnotatedIdentifier\")\n\t    .bases(\"Pattern\")\n\t    .build(\"annotation\", \"identifier\")\n\t    .field(\"annotation\", def(\"TypeAnnotation\"))\n\t    .field(\"identifier\", def(\"Identifier\"));\n\n\tdef(\"TypeAnnotation\")\n\t    .bases(\"Pattern\")\n\t    .build(\"annotatedType\", \"templateTypes\", \"paramTypes\", \"returnType\", \n\t           \"unionType\", \"nullable\")\n\t    .field(\"annotatedType\", def(\"Identifier\"))\n\t    .field(\"templateTypes\", or([def(\"TypeAnnotation\")], null))\n\t    .field(\"paramTypes\", or([def(\"TypeAnnotation\")], null))\n\t    .field(\"returnType\", or(def(\"TypeAnnotation\"), null))\n\t    .field(\"unionType\", or(def(\"TypeAnnotation\"), null))\n\t    .field(\"nullable\", isBoolean);\n\n\ttypes.finalize();\n\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(9);\n\tvar Node = types.namedTypes.Node;\n\tvar isObject = types.builtInTypes.object;\n\tvar isArray = types.builtInTypes.array;\n\tvar NodePath = __webpack_require__(17);\n\tvar funToStr = Function.prototype.toString;\n\tvar thisPattern = /\\bthis\\b/;\n\n\t// Good for traversals that need to modify the syntax tree or to access\n\t// path/scope information via `this` (a NodePath object). Somewhat slower\n\t// than traverseWithNoPathInfo because of the NodePath bookkeeping.\n\tfunction traverseWithFullPathInfo(node, callback) {\n\t    if (!thisPattern.test(funToStr.call(callback))) {\n\t        // If the callback function contains no references to `this`, then\n\t        // it will have no way of using any of the NodePath information\n\t        // that traverseWithFullPathInfo provides, so we can skip that\n\t        // bookkeeping altogether.\n\t        return traverseWithNoPathInfo(node, callback);\n\t    }\n\n\t    function traverse(path) {\n\t        assert.ok(path instanceof NodePath);\n\t        var value = path.value;\n\n\t        if (isArray.check(value)) {\n\t            path.each(traverse);\n\t            return;\n\t        }\n\n\t        if (Node.check(value)) {\n\t            if (callback.call(path, value, traverse) === false) {\n\t                return;\n\t            }\n\t        } else if (!isObject.check(value)) {\n\t            return;\n\t        }\n\n\t        types.eachField(value, function(name, child) {\n\t            var childPath = path.get(name);\n\t            if (childPath.value !== child) {\n\t                childPath.replace(child);\n\t            }\n\n\t            traverse(childPath);\n\t        });\n\t    }\n\n\t    if (node instanceof NodePath) {\n\t        traverse(node);\n\t        return node.value;\n\t    }\n\n\t    // Just in case we call this.replace at the root, there needs to be an\n\t    // additional parent Path to update.\n\t    var rootPath = new NodePath({ root: node });\n\t    traverse(rootPath.get(\"root\"));\n\t    return rootPath.value.root;\n\t}\n\n\t// Good for read-only traversals that do not require any NodePath\n\t// information. Faster than traverseWithFullPathInfo because less\n\t// information is exposed. A context parameter is supported because `this`\n\t// no longer has to be a NodePath object.\n\tfunction traverseWithNoPathInfo(node, callback, context) {\n\t    context = context || null;\n\n\t    function traverse(node) {\n\t        if (isArray.check(node)) {\n\t            node.forEach(traverse);\n\t            return;\n\t        }\n\n\t        if (Node.check(node)) {\n\t            if (callback.call(context, node, traverse) === false) {\n\t                return;\n\t            }\n\t        } else if (!isObject.check(node)) {\n\t            return;\n\t        }\n\n\t        types.eachField(node, function(name, child) {\n\t            traverse(child);\n\t        });\n\t    }\n\n\t    traverse(node);\n\n\t    return node;\n\t}\n\n\t// Since we export traverseWithFullPathInfo as module.exports, we need to\n\t// attach traverseWithNoPathInfo to it as a property. In other words, you\n\t// should use require(\"ast-types\").traverse.fast(ast, ...) to invoke the\n\t// quick-and-dirty traverseWithNoPathInfo function.\n\ttraverseWithFullPathInfo.fast = traverseWithNoPathInfo;\n\n\tmodule.exports = traverseWithFullPathInfo;\n\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(9);\n\tvar n = types.namedTypes;\n\tvar isNumber = types.builtInTypes.number;\n\tvar isArray = types.builtInTypes.array;\n\tvar Path = __webpack_require__(18).Path;\n\tvar Scope = __webpack_require__(21);\n\n\tfunction NodePath(value, parentPath, name) {\n\t    assert.ok(this instanceof NodePath);\n\t    Path.call(this, value, parentPath, name);\n\t}\n\n\t__webpack_require__(3).inherits(NodePath, Path);\n\tvar NPp = NodePath.prototype;\n\n\tObject.defineProperties(NPp, {\n\t    node: {\n\t        get: function() {\n\t            Object.defineProperty(this, \"node\", {\n\t                value: this._computeNode()\n\t            });\n\n\t            return this.node;\n\t        }\n\t    },\n\n\t    parent: {\n\t        get: function() {\n\t            Object.defineProperty(this, \"parent\", {\n\t                value: this._computeParent()\n\t            });\n\n\t            return this.parent;\n\t        }\n\t    },\n\n\t    scope: {\n\t        get: function() {\n\t            Object.defineProperty(this, \"scope\", {\n\t                value: this._computeScope()\n\t            });\n\n\t            return this.scope;\n\t        }\n\t    }\n\t});\n\n\t// The value of the first ancestor Path whose value is a Node.\n\tNPp._computeNode = function() {\n\t    var value = this.value;\n\t    if (n.Node.check(value)) {\n\t        return value;\n\t    }\n\n\t    var pp = this.parentPath;\n\t    return pp && pp.node || null;\n\t};\n\n\t// The first ancestor Path whose value is a Node distinct from this.node.\n\tNPp._computeParent = function() {\n\t    var value = this.value;\n\t    var pp = this.parentPath;\n\n\t    if (!n.Node.check(value)) {\n\t        while (pp && !n.Node.check(pp.value)) {\n\t            pp = pp.parentPath;\n\t        }\n\n\t        if (pp) {\n\t            pp = pp.parentPath;\n\t        }\n\t    }\n\n\t    while (pp && !n.Node.check(pp.value)) {\n\t        pp = pp.parentPath;\n\t    }\n\n\t    return pp || null;\n\t};\n\n\t// The closest enclosing scope that governs this node.\n\tNPp._computeScope = function() {\n\t    var value = this.value;\n\t    var pp = this.parentPath;\n\t    var scope = pp && pp.scope;\n\n\t    if (n.Node.check(value) &&\n\t        Scope.isEstablishedBy(value)) {\n\t        scope = new Scope(this, scope);\n\t    }\n\n\t    return scope || null;\n\t};\n\n\tNPp.getValueProperty = function(name) {\n\t    return types.getFieldValue(this.value, name);\n\t};\n\n\tNPp.needsParens = function() {\n\t    if (!this.parent)\n\t        return false;\n\n\t    var node = this.node;\n\n\t    // If this NodePath object is not the direct owner of this.node, then\n\t    // we do not need parentheses here, though the direct owner might need\n\t    // parentheses.\n\t    if (node !== this.value)\n\t        return false;\n\n\t    var parent = this.parent.node;\n\n\t    assert.notStrictEqual(node, parent);\n\n\t    if (!n.Expression.check(node))\n\t        return false;\n\n\t    if (n.UnaryExpression.check(node))\n\t        return n.MemberExpression.check(parent)\n\t            && this.name === \"object\"\n\t            && parent.object === node;\n\n\t    if (isBinary(node)) {\n\t        if (n.CallExpression.check(parent) &&\n\t            this.name === \"callee\") {\n\t            assert.strictEqual(parent.callee, node);\n\t            return true;\n\t        }\n\n\t        if (n.UnaryExpression.check(parent))\n\t            return true;\n\n\t        if (n.MemberExpression.check(parent) &&\n\t            this.name === \"object\") {\n\t            assert.strictEqual(parent.object, node);\n\t            return true;\n\t        }\n\n\t        if (isBinary(parent)) {\n\t            var po = parent.operator;\n\t            var pp = PRECEDENCE[po];\n\t            var no = node.operator;\n\t            var np = PRECEDENCE[no];\n\n\t            if (pp > np) {\n\t                return true;\n\t            }\n\n\t            if (pp === np && this.name === \"right\") {\n\t                assert.strictEqual(parent.right, node);\n\t                return true;\n\t            }\n\t        }\n\t    }\n\n\t    if (n.SequenceExpression.check(node))\n\t        return n.CallExpression.check(parent)\n\t            || n.UnaryExpression.check(parent)\n\t            || isBinary(parent)\n\t            || n.VariableDeclarator.check(parent)\n\t            || n.MemberExpression.check(parent)\n\t            || n.ArrayExpression.check(parent)\n\t            || n.Property.check(parent)\n\t            || n.ConditionalExpression.check(parent);\n\n\t    if (n.YieldExpression.check(node))\n\t        return isBinary(parent)\n\t            || n.CallExpression.check(parent)\n\t            || n.MemberExpression.check(parent)\n\t            || n.NewExpression.check(parent)\n\t            || n.ConditionalExpression.check(parent)\n\t            || n.UnaryExpression.check(parent)\n\t            || n.YieldExpression.check(parent);\n\n\t    if (n.NewExpression.check(parent) &&\n\t        this.name === \"callee\") {\n\t        assert.strictEqual(parent.callee, node);\n\t        return containsCallExpression(node);\n\t    }\n\n\t    if (n.Literal.check(node) &&\n\t        isNumber.check(node.value) &&\n\t        n.MemberExpression.check(parent) &&\n\t        this.name === \"object\") {\n\t        assert.strictEqual(parent.object, node);\n\t        return true;\n\t    }\n\n\t    if (n.AssignmentExpression.check(node) ||\n\t        n.ConditionalExpression.check(node)) {\n\t        if (n.UnaryExpression.check(parent))\n\t            return true;\n\n\t        if (isBinary(parent))\n\t            return true;\n\n\t        if (n.CallExpression.check(parent) &&\n\t            this.name === \"callee\") {\n\t            assert.strictEqual(parent.callee, node);\n\t            return true;\n\t        }\n\n\t        if (n.ConditionalExpression.check(parent) &&\n\t            this.name === \"test\") {\n\t            assert.strictEqual(parent.test, node);\n\t            return true;\n\t        }\n\n\t        if (n.MemberExpression.check(parent) &&\n\t            this.name === \"object\") {\n\t            assert.strictEqual(parent.object, node);\n\t            return true;\n\t        }\n\t    }\n\n\t    if (n.FunctionExpression.check(node) &&\n\t        this.firstInStatement())\n\t        return true;\n\n\t    if (n.ObjectExpression.check(node) &&\n\t        this.firstInStatement())\n\t        return true;\n\n\t    return false;\n\t};\n\n\tfunction isBinary(node) {\n\t    return n.BinaryExpression.check(node)\n\t        || n.LogicalExpression.check(node);\n\t}\n\n\tvar PRECEDENCE = {};\n\t[[\"||\"],\n\t [\"&&\"],\n\t [\"|\"],\n\t [\"^\"],\n\t [\"&\"],\n\t [\"==\", \"===\", \"!=\", \"!==\"],\n\t [\"<\", \">\", \"<=\", \">=\", \"in\", \"instanceof\"],\n\t [\">>\", \"<<\", \">>>\"],\n\t [\"+\", \"-\"],\n\t [\"*\", \"/\", \"%\"]\n\t].forEach(function(tier, i) {\n\t    tier.forEach(function(op) {\n\t        PRECEDENCE[op] = i;\n\t    });\n\t});\n\n\tfunction containsCallExpression(node) {\n\t    if (n.CallExpression.check(node)) {\n\t        return true;\n\t    }\n\n\t    if (isArray.check(node)) {\n\t        return node.some(containsCallExpression);\n\t    }\n\n\t    if (n.Node.check(node)) {\n\t        return types.someField(node, function(name, child) {\n\t            return containsCallExpression(child);\n\t        });\n\t    }\n\n\t    return false;\n\t}\n\n\tNPp.firstInStatement = function() {\n\t    return firstInStatement(this);\n\t};\n\n\tfunction firstInStatement(path) {\n\t    for (var node, parent; path.parent; path = path.parent) {\n\t        node = path.node;\n\t        parent = path.parent.node;\n\n\t        if (n.BlockStatement.check(parent) &&\n\t            path.parent.name === \"body\" &&\n\t            path.name === 0) {\n\t            assert.strictEqual(parent.body[0], node);\n\t            return true;\n\t        }\n\n\t        if (n.ExpressionStatement.check(parent) &&\n\t            path.name === \"expression\") {\n\t            assert.strictEqual(parent.expression, node);\n\t            return true;\n\t        }\n\n\t        if (n.SequenceExpression.check(parent) &&\n\t            path.parent.name === \"expressions\" &&\n\t            path.name === 0) {\n\t            assert.strictEqual(parent.expressions[0], node);\n\t            continue;\n\t        }\n\n\t        if (n.CallExpression.check(parent) &&\n\t            path.name === \"callee\") {\n\t            assert.strictEqual(parent.callee, node);\n\t            continue;\n\t        }\n\n\t        if (n.MemberExpression.check(parent) &&\n\t            path.name === \"object\") {\n\t            assert.strictEqual(parent.object, node);\n\t            continue;\n\t        }\n\n\t        if (n.ConditionalExpression.check(parent) &&\n\t            path.name === \"test\") {\n\t            assert.strictEqual(parent.test, node);\n\t            continue;\n\t        }\n\n\t        if (isBinary(parent) &&\n\t            path.name === \"left\") {\n\t            assert.strictEqual(parent.left, node);\n\t            continue;\n\t        }\n\n\t        if (n.UnaryExpression.check(parent) &&\n\t            !parent.prefix &&\n\t            path.name === \"argument\") {\n\t            assert.strictEqual(parent.argument, node);\n\t            continue;\n\t        }\n\n\t        return false;\n\t    }\n\n\t    return true;\n\t}\n\n\tmodule.exports = NodePath;\n\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports.Path = __webpack_require__(19).Path;\n\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar getChildCache = __webpack_require__(20).makeAccessor();\n\tvar Op = Object.prototype;\n\tvar hasOwn = Op.hasOwnProperty;\n\tvar toString = Op.toString;\n\tvar arrayToString = toString.call([]);\n\tvar Ap = Array.prototype;\n\tvar slice = Ap.slice;\n\tvar map = Ap.map;\n\n\tfunction Path(value, parentPath, name) {\n\t  assert.ok(this instanceof Path);\n\n\t  if (parentPath) {\n\t    assert.ok(parentPath instanceof Path);\n\t  } else {\n\t    parentPath = null;\n\t    name = null;\n\t  }\n\n\t  Object.defineProperties(this, {\n\t    // The value encapsulated by this Path, generally equal to\n\t    // parentPath.value[name] if we have a parentPath.\n\t    value: { value: value },\n\n\t    // The immediate parent Path of this Path.\n\t    parentPath: { value: parentPath },\n\n\t    // The name of the property of parentPath.value through which this\n\t    // Path's value was reached.\n\t    name: {\n\t      value: name,\n\t      configurable: true\n\t    }\n\t  });\n\t}\n\n\tvar Pp = Path.prototype;\n\n\tfunction getChildPath(path, name) {\n\t  var cache = getChildCache(path);\n\t  return hasOwn.call(cache, name)\n\t    ? cache[name]\n\t    : cache[name] = new path.constructor(\n\t        path.getValueProperty(name), path, name);\n\t}\n\n\t// This method is designed to be overridden by subclasses that need to\n\t// handle missing properties, etc.\n\tPp.getValueProperty = function(name) {\n\t  return this.value[name];\n\t};\n\n\tPp.get = function(name) {\n\t  var path = this;\n\t  var names = arguments;\n\t  var count = names.length;\n\n\t  for (var i = 0; i < count; ++i) {\n\t    path = getChildPath(path, names[i]);\n\t  }\n\n\t  return path;\n\t};\n\n\tPp.each = function(callback, context) {\n\t  var childPaths = [];\n\t  var len = this.value.length;\n\t  var i = 0;\n\n\t  // Collect all the original child paths before invoking the callback.\n\t  for (var i = 0; i < len; ++i) {\n\t    if (hasOwn.call(this.value, i)) {\n\t      childPaths[i] = this.get(i);\n\t    }\n\t  }\n\n\t  // Invoke the callback on just the original child paths, regardless of\n\t  // any modifications made to the array by the callback. I chose these\n\t  // semantics over cleverly invoking the callback on new elements because\n\t  // this way is much easier to reason about.\n\t  context = context || this;\n\t  for (i = 0; i < len; ++i) {\n\t    if (hasOwn.call(childPaths, i)) {\n\t      callback.call(context, childPaths[i]);\n\t    }\n\t  }\n\t};\n\n\tPp.map = function(callback, context) {\n\t  var result = [];\n\n\t  this.each(function(childPath) {\n\t    result.push(callback.call(this, childPath));\n\t  }, context);\n\n\t  return result;\n\t};\n\n\tPp.filter = function(callback, context) {\n\t  var result = [];\n\n\t  this.each(function(childPath) {\n\t    if (callback.call(this, childPath)) {\n\t      result.push(childPath);\n\t    }\n\t  }, context);\n\n\t  return result;\n\t};\n\n\tPp.replace = function(replacement) {\n\t  var count = arguments.length;\n\n\t  assert.ok(\n\t    this.parentPath instanceof Path,\n\t    \"Instead of replacing the root of the tree, create a new tree.\"\n\t  );\n\n\t  var name = this.name;\n\t  var parentValue = this.parentPath.value;\n\t  var parentCache = getChildCache(this.parentPath);\n\t  var results = [];\n\n\t  if (toString.call(parentValue) === arrayToString) {\n\t    delete parentCache.length;\n\t    delete parentCache[name];\n\n\t    var moved = {};\n\n\t    for (var i = name + 1; i < parentValue.length; ++i) {\n\t      var child = parentCache[i];\n\t      if (child) {\n\t        var newIndex = i - 1 + count;\n\t        moved[newIndex] = child;\n\t        Object.defineProperty(child, \"name\", { value: newIndex });\n\t        delete parentCache[i];\n\t      }\n\t    }\n\n\t    var args = slice.call(arguments);\n\t    args.unshift(name, 1);\n\t    parentValue.splice.apply(parentValue, args);\n\n\t    for (newIndex in moved) {\n\t      if (hasOwn.call(moved, newIndex)) {\n\t        parentCache[newIndex] = moved[newIndex];\n\t      }\n\t    }\n\n\t    for (i = name; i < name + count; ++i) {\n\t      results.push(this.parentPath.get(i));\n\t    }\n\n\t  } else if (count === 1) {\n\t    delete parentCache[name];\n\t    parentValue[name] = replacement;\n\t    results.push(this.parentPath.get(name));\n\n\t  } else if (count === 0) {\n\t    delete parentCache[name];\n\t    delete parentValue[name];\n\n\t  } else {\n\t    assert.ok(false, \"Could not replace Path.\");\n\t  }\n\n\t  return results;\n\t};\n\n\texports.Path = Path;\n\n\n/***/ },\n/* 20 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\n\tvar defProp = Object.defineProperty || function(obj, name, desc) {\n\t    // Normal property assignment is the best we can do if\n\t    // Object.defineProperty is not available.\n\t    obj[name] = desc.value;\n\t};\n\n\t// For functions that will be invoked using .call or .apply, we need to\n\t// define those methods on the function objects themselves, rather than\n\t// inheriting them from Function.prototype, so that a malicious or clumsy\n\t// third party cannot interfere with the functionality of this module by\n\t// redefining Function.prototype.call or .apply.\n\tfunction makeSafeToCall(fun) {\n\t    defProp(fun, \"call\", { value: fun.call });\n\t    defProp(fun, \"apply\", { value: fun.apply });\n\t    return fun;\n\t}\n\n\tvar hasOwn = makeSafeToCall(Object.prototype.hasOwnProperty);\n\tvar numToStr = makeSafeToCall(Number.prototype.toString);\n\tvar strSlice = makeSafeToCall(String.prototype.slice);\n\n\tvar cloner = function(){};\n\tvar create = Object.create || function(prototype, properties) {\n\t    cloner.prototype = prototype || null;\n\t    var obj = new cloner;\n\n\t    // The properties parameter is unused by this module, but I want this\n\t    // shim to be as complete as possible.\n\t    if (properties)\n\t        for (var name in properties)\n\t            if (hasOwn.call(properties, name))\n\t                defProp(obj, name, properties[name]);\n\n\t    return obj;\n\t};\n\n\tvar rand = Math.random;\n\tvar uniqueKeys = create(null);\n\n\tfunction makeUniqueKey() {\n\t    // Collisions are highly unlikely, but this module is in the business\n\t    // of making guarantees rather than safe bets.\n\t    do var uniqueKey = strSlice.call(numToStr.call(rand(), 36), 2);\n\t    while (hasOwn.call(uniqueKeys, uniqueKey));\n\t    return uniqueKeys[uniqueKey] = uniqueKey;\n\t}\n\n\t// External users might find this function useful, but it is not necessary\n\t// for the typical use of this module.\n\tdefProp(exports, \"makeUniqueKey\", {\n\t    value: makeUniqueKey\n\t});\n\n\tfunction makeAccessor() {\n\t    var secrets = [];\n\t    var brand = makeUniqueKey();\n\n\t    function register(object) {\n\t        var key = secrets.length;\n\t        defProp(object, brand, { value: key });\n\t        secrets[key] = {\n\t            object: object,\n\t            value: create(null)\n\t        };\n\t    }\n\n\t    return function(object) {\n\t        if (!hasOwn.call(object, brand))\n\t            register(object);\n\n\t        var secret = secrets[object[brand]];\n\t        if (secret.object === object)\n\t            return secret.value;\n\t    };\n\t}\n\n\tdefProp(exports, \"makeAccessor\", {\n\t    value: makeAccessor\n\t});\n\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(9);\n\tvar Type = types.Type;\n\tvar namedTypes = types.namedTypes;\n\tvar Node = namedTypes.Node;\n\tvar isArray = types.builtInTypes.array;\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\n\tfunction Scope(path, parentScope) {\n\t    assert.ok(this instanceof Scope);\n\t    assert.ok(path instanceof __webpack_require__(17));\n\t    ScopeType.assert(path.value);\n\n\t    var depth;\n\n\t    if (parentScope) {\n\t        assert.ok(parentScope instanceof Scope);\n\t        depth = parentScope.depth + 1;\n\t    } else {\n\t        parentScope = null;\n\t        depth = 0;\n\t    }\n\n\t    Object.defineProperties(this, {\n\t        path: { value: path },\n\t        node: { value: path.value },\n\t        isGlobal: { value: !parentScope, enumerable: true },\n\t        depth: { value: depth },\n\t        parent: { value: parentScope },\n\t        bindings: { value: {} }\n\t    });\n\t}\n\n\tvar scopeTypes = [\n\t    // Program nodes introduce global scopes.\n\t    namedTypes.Program,\n\n\t    // Function is the supertype of FunctionExpression,\n\t    // FunctionDeclaration, ArrowExpression, etc.\n\t    namedTypes.Function,\n\n\t    // In case you didn't know, the caught parameter shadows any variable\n\t    // of the same name in an outer scope.\n\t    namedTypes.CatchClause\n\t];\n\n\tif (namedTypes.ModuleDeclaration) {\n\t    // Include ModuleDeclaration only if it exists (ES6).\n\t    scopeTypes.push(namedTypes.ModuleDeclaration);\n\t}\n\n\tvar ScopeType = Type.or.apply(Type, scopeTypes);\n\n\tScope.isEstablishedBy = function(node) {\n\t    return ScopeType.check(node);\n\t};\n\n\tvar Sp = Scope.prototype;\n\n\t// Will be overridden after an instance lazily calls scanScope.\n\tSp.didScan = false;\n\n\tSp.declares = function(name) {\n\t    this.scan();\n\t    return hasOwn.call(this.bindings, name);\n\t};\n\n\tSp.scan = function(force) {\n\t    if (force || !this.didScan) {\n\t        for (var name in this.bindings) {\n\t            // Empty out this.bindings, just in cases.\n\t            delete this.bindings[name];\n\t        }\n\t        scanScope(this.path, this.bindings);\n\t        this.didScan = true;\n\t    }\n\t};\n\n\tSp.getBindings = function () {\n\t    this.scan();\n\t    return this.bindings;\n\t};\n\n\tfunction scanScope(path, bindings) {\n\t    var node = path.value;\n\t    ScopeType.assert(node);\n\n\t    if (namedTypes.CatchClause.check(node)) {\n\t        // A catch clause establishes a new scope but the only variable\n\t        // bound in that scope is the catch parameter. Any other\n\t        // declarations create bindings in the outer scope.\n\t        addPattern(path.get(\"param\"), bindings);\n\n\t    } else {\n\t        recursiveScanScope(path, bindings);\n\t    }\n\t}\n\n\tfunction recursiveScanScope(path, bindings) {\n\t    var node = path.value;\n\n\t    if (isArray.check(node)) {\n\t        path.each(function(childPath) {\n\t            recursiveScanChild(childPath, bindings);\n\t        });\n\n\t    } else if (namedTypes.Function.check(node)) {\n\t        path.get(\"params\").each(function(paramPath) {\n\t            addPattern(paramPath, bindings);\n\t        });\n\n\t        recursiveScanChild(path.get(\"body\"), bindings);\n\n\t    } else if (namedTypes.VariableDeclarator.check(node)) {\n\t        addPattern(path.get(\"id\"), bindings);\n\t        recursiveScanChild(path.get(\"init\"), bindings);\n\n\t    } else if (namedTypes.ImportSpecifier &&\n\t               namedTypes.ImportSpecifier.check(node)) {\n\t        addPattern(node.name ? path.get(\"name\") : path.get(\"id\"));\n\n\t    } else if (Node.check(node)) {\n\t        types.eachField(node, function(name, child) {\n\t            var childPath = path.get(name);\n\t            assert.strictEqual(childPath.value, child);\n\t            recursiveScanChild(childPath, bindings);\n\t        });\n\t    }\n\t}\n\n\tfunction recursiveScanChild(path, bindings) {\n\t    var node = path.value;\n\n\t    if (namedTypes.FunctionDeclaration.check(node)) {\n\t        addPattern(path.get(\"id\"), bindings);\n\n\t    } else if (namedTypes.ClassDeclaration &&\n\t               namedTypes.ClassDeclaration.check(node)) {\n\t        addPattern(path.get(\"id\"), bindings);\n\n\t    } else if (Scope.isEstablishedBy(node)) {\n\t        if (namedTypes.CatchClause.check(node)) {\n\t            var catchParamName = node.param.name;\n\t            var hadBinding = hasOwn.call(bindings, catchParamName);\n\n\t            // Any declarations that occur inside the catch body that do\n\t            // not have the same name as the catch parameter should count\n\t            // as bindings in the outer scope.\n\t            recursiveScanScope(path.get(\"body\"), bindings);\n\n\t            // If a new binding matching the catch parameter name was\n\t            // created while scanning the catch body, ignore it because it\n\t            // actually refers to the catch parameter and not the outer\n\t            // scope that we're currently scanning.\n\t            if (!hadBinding) {\n\t                delete bindings[catchParamName];\n\t            }\n\t        }\n\n\t    } else {\n\t        recursiveScanScope(path, bindings);\n\t    }\n\t}\n\n\tfunction addPattern(patternPath, bindings) {\n\t    var pattern = patternPath.value;\n\t    namedTypes.Pattern.assert(pattern);\n\n\t    if (namedTypes.Identifier.check(pattern)) {\n\t        if (hasOwn.call(bindings, pattern.name)) {\n\t            bindings[pattern.name].push(patternPath);\n\t        } else {\n\t            bindings[pattern.name] = [patternPath];\n\t        }\n\n\t    } else if (namedTypes.SpreadElement &&\n\t               namedTypes.SpreadElement.check(pattern)) {\n\t        addPattern(patternPath.get(\"argument\"), bindings);\n\t    }\n\t}\n\n\tSp.lookup = function(name) {\n\t    for (var scope = this; scope; scope = scope.parent)\n\t        if (scope.declares(name))\n\t            break;\n\t    return scope;\n\t};\n\n\tSp.getGlobalScope = function() {\n\t    var scope = this;\n\t    while (!scope.isGlobal)\n\t        scope = scope.parent;\n\t    return scope;\n\t};\n\n\tmodule.exports = Scope;\n\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n\t * additional grant of patent rights can be found in the PATENTS file in\n\t * the same directory.\n\t */\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(8);\n\tvar n = types.namedTypes;\n\tvar b = types.builders;\n\tvar hoist = __webpack_require__(23).hoist;\n\tvar Emitter = __webpack_require__(25).Emitter;\n\tvar DebugInfo = __webpack_require__(52).DebugInfo;\n\tvar escope = __webpack_require__(53);\n\tvar withLoc = __webpack_require__(24).withLoc;\n\n\texports.transform = function(ast, opts) {\n\t  n.Program.assert(ast);\n\t  var debugInfo = new DebugInfo();\n\t  var nodes = ast.body;\n\t  var asExpr = opts.asExpr;\n\t  var originalExpr = nodes[0];\n\t  var boxedVars = (opts.scope || []).reduce(function(acc, v) {\n\t    if(v.boxed) {\n\t      acc.push(v.name);\n\t    }\n\t    return acc;\n\t  }, []);\n\n\t  var scopes = escope.analyze(ast).scopes;\n\n\t  // Scan the scopes bottom-up by simply reversing the array. We need\n\t  // this because we need to detect if an identifier is boxed before\n\t  // the scope which it is declared in is scanned.\n\n\t  scopes.reverse();\n\t  scopes.forEach(function(scope) {\n\t    if(scope.type !== 'global' || asExpr) {\n\n\t      if(asExpr) {\n\t        // We need to also scan the variables to catch top-level\n\t        // definitions that aren't referenced but might be boxed\n\t        // (think function re-definitions)\n\t        scope.variables.forEach(function(v) {\n\t          if(boxedVars.indexOf(v.name) !== -1) {\n\t            v.defs.forEach(function(def) { def.name.boxed = true; });\n\t          }\n\t        });\n\t      }\n\n\t      scope.references.forEach(function(r) {\n\t        var defBoxed = r.resolved && r.resolved.defs.reduce(function(acc, def) {\n\t          return acc || def.name.boxed || boxedVars.indexOf(def.name) !== -1;\n\t        }, false);\n\n\t        // Ignore catch scopes\n\t        var from = r.from;\n\t        while(from.type == 'catch' && from.upper) {\n\t          from = from.upper;\n\t        }\n\n\t        if(defBoxed ||\n\t           (!r.resolved &&\n\t            boxedVars.indexOf(r.identifier.name) !== -1) ||\n\t           (r.resolved &&\n\t            r.resolved.scope.type !== 'catch' &&\n\t            r.resolved.scope !== from &&\n\n\t            // completely ignore references to a named function\n\t            // expression, as that binding is immutable (super weird)\n\t            !(r.resolved.defs[0].type === 'FunctionName' &&\n\t              r.resolved.defs[0].node.type === 'FunctionExpression'))) {\n\n\t          r.identifier.boxed = true;\n\n\t          if(r.resolved) {\n\t            r.resolved.defs.forEach(function(def) {\n\t              def.name.boxed = true;\n\t            });\n\t          }\n\t        }\n\t      });\n\t    }\n\t  });\n\n\t  if(asExpr) {\n\t    // If evaluating as an expression, return the last value if it's\n\t    // an expression\n\t    var last = nodes.length - 1;\n\n\t    if(n.ExpressionStatement.check(nodes[last])) {\n\t      nodes[last] = withLoc(\n\t        b.returnStatement(nodes[last].expression),\n\t        nodes[last].loc\n\t      );\n\t    }\n\t  }\n\n\t  nodes = b.functionExpression(\n\t    b.identifier(asExpr ? '$__eval' : '$__global'),\n\t    [],\n\t    b.blockStatement(nodes)\n\t  );\n\n\t  var rootFn = types.traverse(\n\t    nodes,\n\t    function(node) {\n\t      return visitNode.call(this, node, [], debugInfo);\n\t    }\n\t  );\n\n\t  if(asExpr) {\n\t    rootFn = rootFn.body.body;\n\n\t    if(opts.scope) {\n\t      var vars = opts.scope.map(function(v) { return v.name; });\n\t      var decl = rootFn[0];\n\t      if(n.VariableDeclaration.check(decl)) {\n\t        decl.declarations = decl.declarations.reduce(function(acc, v) {\n\t          if(vars.indexOf(v.id.name) === -1) {\n\t            acc.push(v);\n\t          }\n\t          return acc;\n\t        }, []);\n\n\t        if(!decl.declarations.length) {\n\t          rootFn[0] = b.expressionStatement(b.literal(null));\n\t        }\n\t      }\n\t    }\n\t    else {\n\t      rootFn[0] = b.expressionStatement(b.literal(null));\n\t    }\n\n\t    rootFn.unshift(b.expressionStatement(\n\t      b.callExpression(\n\t        b.memberExpression(\n\t          b.identifier('VM'),\n\t          b.identifier('pushState'),\n\t          false\n\t        ),\n\t        []\n\t      )\n\t    ));\n\n\t    rootFn.push(b.variableDeclaration(\n\t      'var',\n\t      [b.variableDeclarator(\n\t        b.identifier('$__rval'),\n\t        b.callExpression(b.identifier('$__eval'), [])\n\t      )]\n\t    ));\n\n\t    rootFn.push(b.expressionStatement(\n\t      b.callExpression(\n\t        b.memberExpression(\n\t          b.identifier('VM'),\n\t          b.identifier('popState'),\n\t          false\n\t        ),\n\t        []\n\t      )\n\t    ));\n\n\t    rootFn.push(b.expressionStatement(b.identifier('$__rval')));\n\t  }\n\t  else {\n\t    rootFn = rootFn.body.body;\n\t  }\n\n\t  ast.body = rootFn;\n\n\t  return {\n\t    ast: ast,\n\t    debugAST: opts.includeDebug ? [debugInfo.getDebugAST()] : [],\n\t    debugInfo: debugInfo.getDebugInfo()\n\t  };\n\t};\n\n\tvar id = 1;\n\tfunction newFunctionName() {\n\t  return b.identifier('$anon' + id++);\n\t}\n\n\tfunction visitNode(node, scope, debugInfo) {\n\t  // Boxed variables need to access the box instead of used directly\n\t  // (foo => foo[0])\n\t  if(n.Identifier.check(node) &&\n\t     (!n.VariableDeclarator.check(this.parent.node) ||\n\t      this.parent.node.id !== node) &&\n\t     node.boxed) {\n\n\t    this.replace(withLoc(b.memberExpression(node, b.literal(0), true),\n\t                         node.loc));\n\t    return;\n\t  }\n\n\t  if(!n.Function.check(node)) {\n\t    // Note that because we are not returning false here the traversal\n\t    // will continue into the subtree rooted at this node, as desired.\n\t    return;\n\t  }\n\n\t  node.generator = false;\n\n\t  if (node.expression) {\n\t    // Transform expression lambdas into normal functions.\n\t    node.expression = false;\n\t    // This feels very dirty, is it ok to change the type like this?\n\t    // We need to output a function that we can name so it can be\n\t    // captured.\n\t    // TODO: properly compile out arrow functions\n\t    node.type = 'FunctionExpression';\n\t    node.body = b.blockStatement([\n\t      withLoc(b.returnStatement(node.body),\n\t              node.body.loc)\n\t    ]);\n\t  }\n\n\t  // All functions are converted with assignments (foo = function\n\t  // foo() {}) but with the function name. Rename the function though\n\t  // so that if it is referenced inside itself, it will close over the\n\t  // \"outside\" variable (that should be boxed)\n\t  node.id = node.id || newFunctionName();\n\t  var isGlobal = node.id.name === '$__global';\n\t  var isExpr = node.id.name === '$__eval';\n\t  var nameId = node.id;\n\t  var funcName = node.id.name;\n\t  var vars = hoist(node);\n\t  var localScope = !vars ? node.params : node.params.concat(\n\t    vars.declarations.map(function(v) {\n\t      return v.id;\n\t    })\n\t  );\n\n\t  // It sucks to traverse the whole function again, but we need to see\n\t  // if we need to manage a try stack\n\t  var hasTry = false;\n\t  types.traverse(node.body, function(child) {\n\t    if(n.Function.check(child)) {\n\t      return false;\n\t    }\n\n\t    if(n.TryStatement.check(child)) {\n\t      hasTry = true;\n\t    }\n\n\t    return;\n\t  });\n\n\t  // Traverse and compile child functions first\n\t  node.body = types.traverse(node.body, function(child) {\n\t    return visitNode.call(this,\n\t                          child,\n\t                          scope.concat(localScope),\n\t                          debugInfo);\n\t  });\n\n\t  // Now compile me\n\t  var debugId = debugInfo.makeId();\n\t  var em = new Emitter(debugId, debugInfo);\n\t  var path = new types.NodePath(node);\n\n\t  em.explode(path.get(\"body\"));\n\n\t  var finalBody = em.getMachine(node.id.name, localScope);\n\n\t  // construct the thing\n\t  var inner = [];\n\n\t  if(!isGlobal && !isExpr) {\n\t    node.params.forEach(function(arg) {\n\t      if(arg.boxed) {\n\t        inner.push(b.expressionStatement(\n\t          b.assignmentExpression(\n\t            '=',\n\t            arg,\n\t            b.arrayExpression([arg])\n\t          )\n\t        ));\n\t      }\n\t    });\n\n\t    if(vars) {\n\t      inner = inner.concat(vars);\n\t    }\n\t  }\n\n\t  if(!isGlobal && !isExpr) {\n\t    inner.push.apply(inner, [\n\t      b.ifStatement(\n\t        b.unaryExpression('!', em.vmProperty('running')),\n\t        b.returnStatement(\n\t          b.callExpression(\n\t            b.memberExpression(b.identifier('VM'),\n\t                               b.identifier('execute'),\n\t                               false),\n\t            [node.id, b.literal(null), b.thisExpression(), b.identifier('arguments')]\n\t          )\n\t        )\n\t      )\n\t    ]);\n\t  }\n\n\t  // internal harnesses to run the function\n\t  inner.push(em.declareVar('$__next', b.literal(0)));\n\t  inner.push(em.declareVar('$__tmpid', b.literal(0)));\n\t  for(var i=1, l=em.numTempVars(); i<=l; i++) {\n\t    inner.push(em.declareVar('$__t' + i, null));\n\t  }\n\n\t  if(hasTry) {\n\t    inner.push(em.declareVar('tryStack', b.arrayExpression([])));\n\t  }\n\n\t  var tmpSave = [];\n\t  for(var i=1, l=em.numTempVars(); i<=l; i++) {\n\t    tmpSave.push(b.property(\n\t      'init',\n\t      b.identifier('$__t' + i),\n\t      b.identifier('$__t' + i)\n\t    ));\n\t  }\n\n\t  inner = inner.concat([\n\t    b.tryStatement(\n\t      b.blockStatement(getRestoration(em, isGlobal, localScope, hasTry)\n\t                       .concat(finalBody)),\n\t      b.catchClause(b.identifier('e'), null, b.blockStatement([\n\t        b.ifStatement(\n\t          b.unaryExpression(\n\t            '!',\n\t            b.binaryExpression('instanceof',\n\t                               b.identifier('e'),\n\t                               b.identifier('$ContinuationExc'))\n\t          ),\n\t          b.expressionStatement(\n\t            b.assignmentExpression(\n\t              '=',\n\t              b.identifier('e'),\n\t              b.newExpression(\n\t                b.identifier('$ContinuationExc'),\n\t                [b.identifier('e')]\n\t              )\n\t            )\n\t          )\n\t        ),\n\n\t        b.ifStatement(\n\t          b.unaryExpression('!', em.getProperty('e', 'reuse')),\n\t          b.expressionStatement(\n\t            b.callExpression(em.getProperty('e', 'pushFrame'), [\n\t              b.newExpression(\n\t                b.identifier('$Frame'),\n\t                [b.literal(debugId),\n\t                 b.literal(funcName.slice(1)),\n\t                 b.identifier(funcName),\n\t                 b.identifier('$__next'),\n\t                 b.objectExpression(\n\t                   localScope.map(function(id) {\n\t                     return b.property('init', id, id);\n\t                   }).concat(tmpSave)\n\t                 ),\n\t                 // b.literal(null),\n\t                 b.arrayExpression(localScope.concat(scope).map(function(id) {\n\t                   return b.objectExpression([\n\t                     b.property('init', b.literal('name'), b.literal(id.name)),\n\t                     b.property('init', b.literal('boxed'), b.literal(!!id.boxed))\n\t                   ]);\n\t                 })),\n\t                 b.thisExpression(),\n\t                 hasTry ? b.identifier('tryStack') : b.literal(null),\n\t                 b.identifier('$__tmpid')]\n\t              )\n\t            ])\n\t          )\n\t        ),\n\n\t        em.assign(em.getProperty('e', 'reuse'), b.literal(false)),\n\t        b.throwStatement(b.identifier('e'))\n\t      ]))\n\t    )\n\t  ]);\n\n\t  if(isGlobal || isExpr) {\n\t    node.body = b.blockStatement([\n\t      vars ? vars : b.expressionStatement(b.literal(null)),\n\t      b.functionDeclaration(\n\t          nameId, [],\n\t          b.blockStatement(inner)\n\t      )\n\t    ]);\n\t  }\n\t  else {\n\t    node.body = b.blockStatement(inner);\n\t  }\n\n\t  return false;\n\t}\n\n\tfunction getRestoration(self, isGlobal, localScope, hasTry) {\n\t  // restoring a frame\n\t  var restoration = [];\n\n\t  restoration.push(\n\t    self.declareVar(\n\t      '$__frame',\n\t      b.callExpression(self.vmProperty('popFrame'), [])\n\t    )\n\t  );\n\n\t  if(!isGlobal) {\n\t    restoration = restoration.concat(localScope.map(function(id) {\n\t      return b.expressionStatement(\n\t        b.assignmentExpression(\n\t          '=',\n\t          b.identifier(id.name),\n\t          self.getProperty(\n\t            self.getProperty(b.identifier('$__frame'), 'state'),\n\t            id\n\t          )\n\t        )\n\t      );\n\t    }));\n\t  }\n\n\t  restoration.push(\n\t    self.assign(b.identifier('$__next'),\n\t                self.getProperty(b.identifier('$__frame'), 'next'))\n\t  );\n\t  if(hasTry) {\n\t    restoration.push(\n\t      self.assign(b.identifier('tryStack'),\n\t                  self.getProperty(b.identifier('$__frame'), 'tryStack'))\n\t    );\n\t  }\n\n\t  restoration = restoration.concat([\n\t    self.declareVar(\n\t      '$__child',\n\t      b.callExpression(self.vmProperty('nextFrame'), [])\n\t    ),\n\t    self.assign(b.identifier('$__tmpid'),\n\t                self.getProperty(b.identifier('$__frame'), 'tmpid')),\n\t    b.ifStatement(\n\t      b.identifier('$__child'),\n\t      b.blockStatement([\n\t        self.assign(\n\t          self.getProperty(\n\t            self.getProperty(\n\t              '$__frame',\n\t              b.identifier('state')\n\t            ),\n\t            b.binaryExpression(\n\t              '+',\n\t              b.literal('$__t'),\n\t              self.getProperty('$__frame', 'tmpid')\n\t            ),\n\t            true\n\t          ),\n\t          b.callExpression(\n\t            self.getProperty(self.getProperty('$__child', 'fn'), 'call'),\n\t            [self.getProperty('$__child', 'thisPtr')]\n\t          )\n\t        ),\n\n\t        // if we are stepping, stop executing here so that it\n\t        // pauses on the \"return\" instruction\n\t        b.ifStatement(\n\t          self.vmProperty('stepping'),\n\t          b.throwStatement(\n\t            b.newExpression(b.identifier('$ContinuationExc'), \n\t                            [b.literal(null),\n\t                             b.identifier('$__frame')])\n\t          )\n\t        )\n\t      ])\n\t    )\n\t  ]);\n\n\t  for(var i=1, l=self.numTempVars(); i<=l; i++) {\n\t    restoration.push(b.expressionStatement(\n\t      b.assignmentExpression(\n\t        '=',\n\t        b.identifier('$__t' + i),\n\t        self.getProperty(\n\t          self.getProperty(b.identifier('$__frame'), 'state'),\n\t          '$__t' + i\n\t        )\n\t      )\n\t    ));\n\t  }\n\n\t  return [\n\t    b.ifStatement(\n\t      self.vmProperty('doRestore'),\n\t      b.blockStatement(restoration),\n\t      b.ifStatement(\n\t        // if we are stepping, stop executing so it is stopped at\n\t        // the first instruction of the new frame\n\t        self.vmProperty('stepping'),\n\t        b.throwStatement(\n\t          b.newExpression(b.identifier('$ContinuationExc'), [])\n\t        )\n\t      )\n\t    )\n\t  ];\n\t}\n\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n\t * additional grant of patent rights can be found in the PATENTS file in\n\t * the same directory.\n\t */\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(8);\n\tvar n = types.namedTypes;\n\tvar b = types.builders;\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\tvar withLoc = __webpack_require__(24).withLoc;\n\n\t// The hoist function takes a FunctionExpression or FunctionDeclaration\n\t// and replaces any Declaration nodes in its body with assignments, then\n\t// returns a VariableDeclaration containing just the names of the removed\n\t// declarations.\n\texports.hoist = function(fun) {\n\t  n.Function.assert(fun);\n\t  var vars = {};\n\t  var funDeclsToRaise = [];\n\n\t  function varDeclToExpr(vdec, includeIdentifiers) {\n\t    n.VariableDeclaration.assert(vdec);\n\t    var exprs = [];\n\n\t    vdec.declarations.forEach(function(dec) {\n\t      vars[dec.id.name] = dec.id;\n\n\t      if (dec.init) {\n\t        var assn = b.assignmentExpression('=', dec.id, dec.init);\n\n\t        exprs.push(withLoc(assn, dec.loc));\n\t      } else if (includeIdentifiers) {\n\t        exprs.push(dec.id);\n\t      }\n\t    });\n\n\t    if (exprs.length === 0)\n\t      return null;\n\n\t    if (exprs.length === 1)\n\t      return exprs[0];\n\n\t    return b.sequenceExpression(exprs);\n\t  }\n\n\t  types.traverse(fun.body, function(node) {\n\t    if (n.VariableDeclaration.check(node)) {\n\t      var expr = varDeclToExpr(node, false);\n\t      if (expr === null) {\n\t        this.replace();\n\t      } else {\n\t        // We don't need to traverse this expression any further because\n\t        // there can't be any new declarations inside an expression.\n\t        this.replace(withLoc(b.expressionStatement(expr), node.loc));\n\t      }\n\n\t      // Since the original node has been either removed or replaced,\n\t      // avoid traversing it any further.\n\t      return false;\n\n\t    } else if (n.ForStatement.check(node)) {\n\t      if (n.VariableDeclaration.check(node.init)) {\n\t        var expr = varDeclToExpr(node.init, false);\n\t        this.get(\"init\").replace(expr);\n\t      }\n\n\t    } else if (n.ForInStatement.check(node)) {\n\t      if (n.VariableDeclaration.check(node.left)) {\n\t        var expr = varDeclToExpr(node.left, true);\n\t        this.get(\"left\").replace(expr);\n\t      }\n\n\t    } else if (n.FunctionDeclaration.check(node)) {\n\t      vars[node.id.name] = node.id;\n\n\t      var parentNode = this.parent.node;\n\t      // Prefix the name with '$' as it introduces a new scoping rule\n\t      // and we want the original id to be referenced within the body\n\t      var funcExpr = b.functionExpression(\n\t        b.identifier('$' + node.id.name),\n\t        node.params,\n\t        node.body,\n\t        node.generator,\n\t        node.expression\n\t      );\n\t      funcExpr.loc = node.loc;\n\n\t      var assignment = withLoc(b.expressionStatement(\n\t        withLoc(b.assignmentExpression(\n\t          \"=\",\n\t          node.id,\n\t          funcExpr\n\t        ), node.loc)\n\t      ), node.loc);\n\n\t      if (n.BlockStatement.check(this.parent.node)) {\n\t        // unshift because later it will be added in reverse, so this\n\t        // will keep the original order\n\t        funDeclsToRaise.unshift({\n\t          block: this.parent.node,\n\t          assignment: assignment\n\t        });\n\n\t        // Remove the function declaration for now, but reinsert the assignment\n\t        // form later, at the top of the enclosing BlockStatement.\n\t        this.replace();\n\n\t      } else {\n\t        this.replace(assignment);\n\t      }\n\n\t      // Don't hoist variables out of inner functions.\n\t      return false;\n\n\t    } else if (n.FunctionExpression.check(node)) {\n\t      // Don't descend into nested function expressions.\n\t      return false;\n\t    }\n\t  });\n\n\t  funDeclsToRaise.forEach(function(entry) {\n\t    entry.block.body.unshift(entry.assignment);\n\t  });\n\n\t  var declarations = [];\n\t  var paramNames = {};\n\n\t  fun.params.forEach(function(param) {\n\t    if (n.Identifier.check(param)) {\n\t      paramNames[param.name] = param;\n\t    }\n\t    else {\n\t      // Variables declared by destructuring parameter patterns will be\n\t      // harmlessly re-declared.\n\t    }\n\t  });\n\n\t  Object.keys(vars).forEach(function(name) {\n\t    if(!hasOwn.call(paramNames, name)) {\n\t      var id = vars[name];\n\t      declarations.push(b.variableDeclarator(\n\t        id, id.boxed ? b.arrayExpression([b.identifier('undefined')]) : null\n\t      ));\n\t    }\n\t  });\n\n\t  if (declarations.length === 0) {\n\t    return null; // Be sure to handle this case!\n\t  }\n\n\t  return b.variableDeclaration(\"var\", declarations);\n\t};\n\n\n/***/ },\n/* 24 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n\t * additional grant of patent rights can be found in the PATENTS file in\n\t * the same directory.\n\t */\n\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\n\texports.guessTabWidth = function(source) {\n\t  var counts = []; // Sparse array.\n\t  var lastIndent = 0;\n\n\t  source.split(\"\\n\").forEach(function(line) {\n\t    var indent = /^\\s*/.exec(line)[0].length;\n\t    var diff = Math.abs(indent - lastIndent);\n\t    counts[diff] = ~~counts[diff] + 1;\n\t    lastIndent = indent;\n\t  });\n\n\t  var maxCount = -1;\n\t  var result = 2;\n\n\t  for (var tabWidth = 1;\n\t       tabWidth < counts.length;\n\t       tabWidth += 1) {\n\t    if (tabWidth in counts &&\n\t        counts[tabWidth] > maxCount) {\n\t      maxCount = counts[tabWidth];\n\t      result = tabWidth;\n\t    }\n\t  }\n\n\t  return result;\n\t};\n\n\texports.defaults = function(obj) {\n\t  var len = arguments.length;\n\t  var extension;\n\n\t  for (var i = 1; i < len; ++i) {\n\t    if ((extension = arguments[i])) {\n\t      for (var key in extension) {\n\t        if (hasOwn.call(extension, key) && !hasOwn.call(obj, key)) {\n\t          obj[key] = extension[key];\n\t        }\n\t      }\n\t    }\n\t  }\n\n\t  return obj;\n\t};\n\n\t// tag nodes with source code locations\n\n\texports.withLoc = function(node, loc) {\n\t  node.loc = loc;\n\t  return node;\n\t};\n\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n\t * additional grant of patent rights can be found in the PATENTS file in\n\t * the same directory.\n\t */\n\t\"use strict\";\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(8);\n\tvar recast = __webpack_require__(26);\n\tvar isArray = types.builtInTypes.array;\n\tvar b = types.builders;\n\tvar n = types.namedTypes;\n\tvar leap = __webpack_require__(50);\n\tvar meta = __webpack_require__(51);\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\tvar withLoc = __webpack_require__(24).withLoc;\n\n\tfunction makeASTGenerator(code) {\n\t  return function() {\n\t    // TODO: optimize it so it doesn't always have to parse it\n\t    var ast = b.blockStatement(recast.parse(code).program.body);\n\t    var args = arguments;\n\t    return types.traverse(ast, function(node) {\n\t      if(n.Identifier.check(node) &&\n\t         node.name[0] === '$') {\n\t        var idx = parseInt(node.name.slice(1));\n\t        return this.replace(args[idx - 1]);\n\t      }\n\t    });\n\t  }\n\t}\n\n\tvar makeSetBreakpointAST = makeASTGenerator('VM.hasBreakpoints = true;\\nVM.machineBreaks[$1][$2] = true;');\n\n\tfunction Emitter(debugId, debugInfo) {\n\t  assert.ok(this instanceof Emitter);\n\n\t  this.tmpId = 0;\n\t  this.maxTmpId = 0;\n\n\t  Object.defineProperties(this, {\n\t    // An append-only list of Statements that grows each time this.emit is\n\t    // called.\n\t    listing: { value: [] },\n\n\t    // A sparse array whose keys correspond to locations in this.listing\n\t    // that have been marked as branch/jump targets.\n\t    marked: { value: [true] },\n\n\t    // Every location has a source location mapping\n\t    sourceLocations: { value: [true] },\n\n\t    // The last location will be marked when this.getDispatchLoop is\n\t    // called.\n\t    finalLoc: { value: loc() },\n\n\t    debugId: { value: debugId },\n\t    debugInfo: { value: debugInfo }\n\t  });\n\n\t  // The .leapManager property needs to be defined by a separate\n\t  // defineProperties call so that .finalLoc will be visible to the\n\t  // leap.LeapManager constructor.\n\t  Object.defineProperties(this, {\n\t    // Each time we evaluate the body of a loop, we tell this.leapManager\n\t    // to enter a nested loop context that determines the meaning of break\n\t    // and continue statements therein.\n\t    leapManager: { value: new leap.LeapManager(this) }\n\t  });\n\t}\n\n\tvar Ep = Emitter.prototype;\n\texports.Emitter = Emitter;\n\n\t// Offsets into this.listing that could be used as targets for branches or\n\t// jumps are represented as numeric Literal nodes. This representation has\n\t// the amazingly convenient benefit of allowing the exact value of the\n\t// location to be determined at any time, even after generating code that\n\t// refers to the location.\n\tfunction loc() {\n\t  var lit = b.literal(-1);\n\t  // A little hacky, but mark is as a location object so we can do\n\t  // some quick checking later (see resolveEmptyJumps)\n\t  lit._location = true;\n\t  return lit;\n\t}\n\n\t// Sets the exact value of the given location to the offset of the next\n\t// Statement emitted.\n\tEp.mark = function(loc) {\n\t  n.Literal.assert(loc);\n\t  var index = this.listing.length;\n\t  loc.value = index;\n\t  this.marked[index] = true;\n\t  return loc;\n\t};\n\n\tEp.getLastMark = function() {\n\t  var index = this.listing.length;\n\t  while(index > 0 && !this.marked[index]) {\n\t    index--;\n\t  }\n\t  return index;\n\t};\n\n\tEp.markAndBreak = function() {\n\t  var next = loc();\n\t  this.emitAssign(b.identifier('$__next'), next);\n\t  this.emit(b.breakStatement(null), true);\n\t  this.mark(next);\n\t};\n\n\tEp.emit = function(node, internal) {\n\t  if (n.Expression.check(node)) {\n\t    node = withLoc(b.expressionStatement(node), node.loc);\n\t  }\n\n\t  n.Statement.assert(node);\n\t  this.listing.push(node);\n\n\t  if(!internal) {\n\t    if(!node.loc) {\n\t      throw new Error(\"source location missing: \" + JSON.stringify(node));\n\t    }\n\t    else {\n\t      this.debugInfo.addSourceLocation(this.debugId,\n\t                                       node.loc,\n\t                                       this.listing.length - 1);\n\t    }\n\t  }\n\t};\n\n\t// Shorthand for emitting assignment statements. This will come in handy\n\t// for assignments to temporary variables.\n\tEp.emitAssign = function(lhs, rhs, loc) {\n\t  this.emit(this.assign(lhs, rhs, loc), !loc);\n\t  return lhs;\n\t};\n\n\t// Shorthand for an assignment statement.\n\tEp.assign = function(lhs, rhs, loc) {\n\t  var node = b.expressionStatement(\n\t    b.assignmentExpression(\"=\", lhs, rhs));\n\t  node.loc = loc;\n\t  return node;\n\t};\n\n\tEp.declareVar = function(name, init, loc) {\n\t  return withLoc(b.variableDeclaration(\n\t    'var',\n\t    [b.variableDeclarator(b.identifier(name), init)]\n\t  ), loc);\n\t};\n\n\tEp.getProperty = function(obj, prop, computed, loc) {\n\t  return withLoc(b.memberExpression(\n\t    typeof obj === 'string' ? b.identifier(obj) : obj,\n\t    typeof prop === 'string' ? b.identifier(prop) : prop,\n\t    !!computed\n\t  ), loc);\n\t};\n\n\tEp.vmProperty = function(name, loc) {\n\t  var node = b.memberExpression(\n\t    b.identifier('VM'),\n\t    b.identifier(name),\n\t    false\n\t  );\n\t  node.loc = loc;\n\t  return node;\n\t};\n\n\tEp.clearPendingException = function(assignee, loc) {\n\t  var cp = this.vmProperty(\"error\");\n\n\t  if(assignee) {\n\t    this.emitAssign(assignee, cp, loc);\n\t  }\n\n\t  this.emitAssign(cp, b.literal(null));\n\t};\n\n\t// Emits code for an unconditional jump to the given location, even if the\n\t// exact value of the location is not yet known.\n\tEp.jump = function(toLoc) {\n\t  this.emitAssign(b.identifier('$__next'), toLoc);\n\t  this.emit(b.breakStatement(), true);\n\t};\n\n\t// Conditional jump.\n\tEp.jumpIf = function(test, toLoc, srcLoc) {\n\t  n.Expression.assert(test);\n\t  n.Literal.assert(toLoc);\n\n\t  this.emit(withLoc(b.ifStatement(\n\t    test,\n\t    b.blockStatement([\n\t      this.assign(b.identifier('$__next'), toLoc),\n\t      b.breakStatement()\n\t    ])\n\t  ), srcLoc));\n\t};\n\n\t// Conditional jump, with the condition negated.\n\tEp.jumpIfNot = function(test, toLoc, srcLoc) {\n\t  n.Expression.assert(test);\n\t  n.Literal.assert(toLoc);\n\n\t  this.emit(withLoc(b.ifStatement(\n\t    b.unaryExpression(\"!\", test),\n\t    b.blockStatement([\n\t      this.assign(b.identifier('$__next'), toLoc),\n\t      b.breakStatement()\n\t    ])\n\t  ), srcLoc));\n\t};\n\n\t// Make temporary ids. They should be released when not needed anymore\n\t// so that we can generate as few of them as possible.\n\tEp.getTempVar = function() {\n\t  this.tmpId++;\n\t  if(this.tmpId > this.maxTmpId) {\n\t    this.maxTmpId = this.tmpId;\n\t  }\n\t  return b.identifier(\"$__t\" + this.tmpId);\n\t};\n\n\tEp.currentTempId = function() {\n\t  return this.tmpId;\n\t};\n\n\tEp.releaseTempVar = function() {\n\t  this.tmpId--;\n\t};\n\n\tEp.numTempVars = function() {\n\t  return this.maxTmpId;\n\t};\n\n\tEp.withTempVars = function(cb) {\n\t  var prevId = this.tmpId;\n\t  var res = cb();\n\t  this.tmpId = prevId;\n\t  return res;\n\t};\n\n\tEp.getMachine = function(funcName, varNames) {\n\t  return this.getDispatchLoop(funcName, varNames);\n\t};\n\n\tEp.resolveEmptyJumps = function() {\n\t  var self = this;\n\t  var forwards = {};\n\n\t  // TODO: this is actually broken now since we removed the $ctx\n\t  // variable\n\t  self.listing.forEach(function(stmt, i) {\n\t    if(self.marked.hasOwnProperty(i) &&\n\t       self.marked.hasOwnProperty(i + 2) &&\n\t       (n.ReturnStatement.check(self.listing[i + 1]) ||\n\t        n.BreakStatement.check(self.listing[i + 1])) &&\n\t       n.ExpressionStatement.check(stmt) &&\n\t       n.AssignmentExpression.check(stmt.expression) &&\n\t       n.MemberExpression.check(stmt.expression.left) &&\n\t       stmt.expression.left.object.name == '$ctx' &&\n\t       stmt.expression.left.property.name == '$__next') {\n\n\t      forwards[i] = stmt.expression.right;\n\t      // TODO: actually remove these cases from the output\n\t    }\n\t  });\n\n\t  types.traverse(self.listing, function(node) {\n\t    if(n.Literal.check(node) &&\n\t       node._location &&\n\t       forwards.hasOwnProperty(node.value)) {\n\t      this.replace(forwards[node.value]);\n\t    }\n\t  });\n\t};\n\n\t// Turns this.listing into a loop of the form\n\t//\n\t//   while (1) switch (context.next) {\n\t//   case 0:\n\t//   ...\n\t//   case n:\n\t//     return context.stop();\n\t//   }\n\t//\n\t// Each marked location in this.listing will correspond to one generated\n\t// case statement.\n\tEp.getDispatchLoop = function(funcName, varNames) {\n\t  var self = this;\n\n\t  // If we encounter a break, continue, or return statement in a switch\n\t  // case, we can skip the rest of the statements until the next case.\n\t  var alreadyEnded = false, current, cases = [];\n\n\t  // If a case statement will just forward to another location, make\n\t  // the original loc jump straight to it\n\t  self.resolveEmptyJumps();\n\n\t  self.listing.forEach(function(stmt, i) {\n\t    if (self.marked.hasOwnProperty(i)) {\n\t      cases.push(b.switchCase(\n\t        b.literal(i),\n\t        current = []));\n\t      alreadyEnded = false;\n\t    }\n\n\t    if (!alreadyEnded) {\n\t      current.push(stmt);\n\t      if (isSwitchCaseEnder(stmt))\n\t        alreadyEnded = true;\n\t    }\n\t  });\n\n\t  // Now that we know how many statements there will be in this.listing,\n\t  // we can finally resolve this.finalLoc.value.\n\t  this.finalLoc.value = this.listing.length;\n\t  this.debugInfo.addFinalLocation(this.debugId, this.finalLoc.value);\n\t  this.debugInfo.addStepIds(this.debugId, this.marked.reduce((acc, val, i) => {\n\t    if(val) {\n\t      acc.push(i);\n\t    }\n\t    return acc;\n\t  }, []));;\n\n\t  cases.push.apply(cases, [\n\t    b.switchCase(null, []),\n\t    b.switchCase(this.finalLoc, [\n\t      b.returnStatement(null)\n\t    ])\n\t  ]);\n\n\t  // add an \"eval\" location\n\t  cases.push(\n\t    b.switchCase(b.literal(-1), [\n\t      self.assign(\n\t        self.vmProperty('evalResult'),\n\t        b.callExpression(\n\t          b.identifier('eval'),\n\t          [self.vmProperty('evalArg')]\n\t        )\n\t      ),\n\t      b.throwStatement(\n\t        b.newExpression(b.identifier('$ContinuationExc'), [])\n\t      )\n\t    ])\n\t  );\n\n\t  return [\n\t    // the state machine\n\t    b.whileStatement(\n\t      b.literal(1),\n\t      b.blockStatement([\n\t        b.ifStatement(\n\t          b.logicalExpression(\n\t            '&&',\n\t            self.vmProperty('hasBreakpoints'),\n\t            b.binaryExpression(\n\t              '!==',\n\t              self.getProperty(\n\t                self.getProperty(self.vmProperty('machineBreaks'),\n\t                                 b.literal(this.debugId),\n\t                                 true),\n\t                b.identifier('$__next'),\n\t                true\n\t              ),\n\t              // is identifier right here? it doesn't seem right\n\t              b.identifier('undefined')\n\t            )\n\t          ),\n\t          b.throwStatement(\n\t            b.newExpression(b.identifier('$ContinuationExc'), [])\n\t          )\n\t        ),\n\n\t        b.switchStatement(b.identifier('$__next'), cases),\n\n\t        b.ifStatement(\n\t          self.vmProperty('stepping'),\n\t          b.throwStatement(\n\t            b.newExpression(b.identifier('$ContinuationExc'), [])\n\t          )\n\t        )\n\t      ])\n\t    )\n\t  ];\n\t};\n\n\t// See comment above re: alreadyEnded.\n\tfunction isSwitchCaseEnder(stmt) {\n\t  return n.BreakStatement.check(stmt)\n\t    || n.ContinueStatement.check(stmt)\n\t    || n.ReturnStatement.check(stmt)\n\t    || n.ThrowStatement.check(stmt);\n\t}\n\n\t// an \"atomic\" expression is one that should execute within one step\n\t// of the VM\n\tfunction isAtomic(expr) {\n\t  return n.Literal.check(expr) ||\n\t    n.Identifier.check(expr) ||\n\t    n.ThisExpression.check(expr) ||\n\t    (n.MemberExpression.check(expr) &&\n\t     !expr.computed);\n\t}\n\n\t// No destructive modification of AST nodes.\n\n\tEp.explode = function(path, ignoreResult) {\n\t  assert.ok(path instanceof types.NodePath);\n\n\t  var node = path.value;\n\t  var self = this;\n\n\t  n.Node.assert(node);\n\n\t  if (n.Statement.check(node))\n\t    return self.explodeStatement(path);\n\n\t  if (n.Expression.check(node))\n\t    return self.explodeExpression(path, ignoreResult);\n\n\t  if (n.Declaration.check(node))\n\t    throw getDeclError(node);\n\n\t  switch (node.type) {\n\t  case \"Program\":\n\t    return path.get(\"body\").map(\n\t      self.explodeStatement,\n\t      self\n\t    );\n\n\t  case \"VariableDeclarator\":\n\t    throw getDeclError(node);\n\n\t    // These node types should be handled by their parent nodes\n\t    // (ObjectExpression, SwitchStatement, and TryStatement, respectively).\n\t  case \"Property\":\n\t  case \"SwitchCase\":\n\t  case \"CatchClause\":\n\t    throw new Error(\n\t      node.type + \" nodes should be handled by their parents\");\n\n\t  default:\n\t    throw new Error(\n\t      \"unknown Node of type \" +\n\t        JSON.stringify(node.type));\n\t  }\n\t};\n\n\tfunction getDeclError(node) {\n\t  return new Error(\n\t    \"all declarations should have been transformed into \" +\n\t      \"assignments before the Exploder began its work: \" +\n\t      JSON.stringify(node));\n\t}\n\n\tEp.explodeStatement = function(path, labelId) {\n\t  assert.ok(path instanceof types.NodePath);\n\n\t  var stmt = path.value;\n\t  var self = this;\n\n\t  n.Statement.assert(stmt);\n\n\t  if (labelId) {\n\t    n.Identifier.assert(labelId);\n\t  } else {\n\t    labelId = null;\n\t  }\n\n\t  // Explode BlockStatement nodes even if they do not contain a yield,\n\t  // because we don't want or need the curly braces.\n\t  if (n.BlockStatement.check(stmt)) {\n\t    return path.get(\"body\").each(\n\t      self.explodeStatement,\n\t      self\n\t    );\n\t  }\n\n\t  // if (!meta.containsLeap(stmt)) {\n\t  //   // Technically we should be able to avoid emitting the statement\n\t  //   // altogether if !meta.hasSideEffects(stmt), but that leads to\n\t  //   // confusing generated code (for instance, `while (true) {}` just\n\t  //   // disappears) and is probably a more appropriate job for a dedicated\n\t  //   // dead code elimination pass.\n\t  //   self.emit(stmt);\n\t  //   return;\n\t  // }\n\n\t  switch (stmt.type) {\n\t  case \"ExpressionStatement\":\n\t    self.explodeExpression(path.get(\"expression\"), true);\n\t    break;\n\n\t  case \"LabeledStatement\":\n\t    self.explodeStatement(path.get(\"body\"), stmt.label);\n\t    break;\n\n\t  case \"WhileStatement\":\n\t    var before = loc();\n\t    var after = loc();\n\n\t    self.mark(before);\n\t    self.jumpIfNot(self.explodeExpression(path.get(\"test\")),\n\t                   after,\n\t                   path.get(\"test\").node.loc);\n\n\t    self.markAndBreak();\n\n\t    self.leapManager.withEntry(\n\t      new leap.LoopEntry(after, before, labelId),\n\t      function() { self.explodeStatement(path.get(\"body\")); }\n\t    );\n\t    self.jump(before);\n\t    self.mark(after);\n\n\t    break;\n\n\t  case \"DoWhileStatement\":\n\t    var first = loc();\n\t    var test = loc();\n\t    var after = loc();\n\n\t    self.mark(first);\n\t    self.leapManager.withEntry(\n\t      new leap.LoopEntry(after, test, labelId),\n\t      function() { self.explode(path.get(\"body\")); }\n\t    );\n\t    self.mark(test);\n\t    self.jumpIf(self.explodeExpression(path.get(\"test\")),\n\t                first,\n\t                path.get(\"test\").node.loc);\n\t    self.emitAssign(b.identifier('$__next'), after);\n\t    self.emit(b.breakStatement(), true);\n\t    self.mark(after);\n\n\t    break;\n\n\t  case \"ForStatement\":\n\t    var head = loc();\n\t    var update = loc();\n\t    var after = loc();\n\n\t    if (stmt.init) {\n\t      // We pass true here to indicate that if stmt.init is an expression\n\t      // then we do not care about its result.\n\t      self.explode(path.get(\"init\"), true);\n\t    }\n\n\t    self.mark(head);\n\n\t    if (stmt.test) {\n\t      self.jumpIfNot(self.explodeExpression(path.get(\"test\")),\n\t                     after,\n\t                     path.get(\"test\").node.loc);\n\t    } else {\n\t      // No test means continue unconditionally.\n\t    }\n\n\t    this.markAndBreak();\n\n\t    self.leapManager.withEntry(\n\t      new leap.LoopEntry(after, update, labelId),\n\t      function() { self.explodeStatement(path.get(\"body\")); }\n\t    );\n\n\t    self.mark(update);\n\n\t    if (stmt.update) {\n\t      // We pass true here to indicate that if stmt.update is an\n\t      // expression then we do not care about its result.\n\t      self.explode(path.get(\"update\"), true);\n\t    }\n\n\t    self.jump(head);\n\n\t    self.mark(after);\n\n\t    break;\n\n\t  case \"ForInStatement\":\n\t    n.Identifier.assert(stmt.left);\n\n\t    var head = loc();\n\t    var after = loc();\n\n\t    var keys = self.emitAssign(\n\t      self.getTempVar(),\n\t      b.callExpression(\n\t        self.vmProperty(\"keys\"),\n\t        [self.explodeExpression(path.get(\"right\"))]\n\t      ),\n\t      path.get(\"right\").node.loc\n\t    );\n\n\t    var tmpLoc = loc();\n\t    self.mark(tmpLoc);\n\n\t    self.mark(head);\n\n\t    self.jumpIfNot(\n\t      b.memberExpression(\n\t        keys,\n\t        b.identifier(\"length\"),\n\t        false\n\t      ),\n\t      after,\n\t      stmt.right.loc\n\t    );\n\n\t    self.emitAssign(\n\t      stmt.left,\n\t      b.callExpression(\n\t        b.memberExpression(\n\t          keys,\n\t          b.identifier(\"pop\"),\n\t          false\n\t        ),\n\t        []\n\t      ),\n\t      stmt.left.loc\n\t    );\n\n\t    self.markAndBreak();\n\n\t    self.leapManager.withEntry(\n\t      new leap.LoopEntry(after, head, labelId),\n\t      function() { self.explodeStatement(path.get(\"body\")); }\n\t    );\n\n\t    self.jump(head);\n\n\t    self.mark(after);\n\t    self.releaseTempVar();\n\n\t    break;\n\n\t  case \"BreakStatement\":\n\t    self.leapManager.emitBreak(stmt.label);\n\t    break;\n\n\t  case \"ContinueStatement\":\n\t    self.leapManager.emitContinue(stmt.label);\n\t    break;\n\n\t  case \"SwitchStatement\":\n\t    // Always save the discriminant into a temporary variable in case the\n\t    // test expressions overwrite values like context.sent.\n\t    var disc = self.emitAssign(\n\t      self.getTempVar(),\n\t      self.explodeExpression(path.get(\"discriminant\"))\n\t    );\n\n\t    var after = loc();\n\t    var defaultLoc = loc();\n\t    var condition = defaultLoc;\n\t    var caseLocs = [];\n\n\t    // If there are no cases, .cases might be undefined.\n\t    var cases = stmt.cases || [];\n\n\t    for (var i = cases.length - 1; i >= 0; --i) {\n\t      var c = cases[i];\n\t      n.SwitchCase.assert(c);\n\n\t      if (c.test) {\n\t        condition = b.conditionalExpression(\n\t          b.binaryExpression(\"===\", disc, c.test),\n\t          caseLocs[i] = loc(),\n\t          condition\n\t        );\n\t      } else {\n\t        caseLocs[i] = defaultLoc;\n\t      }\n\t    }\n\n\t    self.jump(self.explodeExpression(\n\t      new types.NodePath(condition, path, \"discriminant\")\n\t    ));\n\n\t    self.leapManager.withEntry(\n\t      new leap.SwitchEntry(after),\n\t      function() {\n\t        path.get(\"cases\").each(function(casePath) {\n\t          var c = casePath.value;\n\t          var i = casePath.name;\n\n\t          self.mark(caseLocs[i]);\n\n\t          casePath.get(\"consequent\").each(\n\t            self.explodeStatement,\n\t            self\n\t          );\n\t        });\n\t      }\n\t    );\n\n\t    self.releaseTempVar();\n\t    self.mark(after);\n\t    if (defaultLoc.value === -1) {\n\t      self.mark(defaultLoc);\n\t      assert.strictEqual(after.value, defaultLoc.value);\n\t    }\n\n\t    break;\n\n\t  case \"IfStatement\":\n\t    var elseLoc = stmt.alternate && loc();\n\t    var after = loc();\n\n\t    self.jumpIfNot(\n\t      self.explodeExpression(path.get(\"test\")),\n\t      elseLoc || after,\n\t      path.get(\"test\").node.loc\n\t    );\n\n\t    self.markAndBreak();\n\n\t    self.explodeStatement(path.get(\"consequent\"));\n\n\t    if (elseLoc) {\n\t      self.jump(after);\n\t      self.mark(elseLoc);\n\t      self.explodeStatement(path.get(\"alternate\"));\n\t    }\n\n\t    self.mark(after);\n\n\t    break;\n\n\t  case \"ReturnStatement\":\n\t    var arg = path.get('argument');\n\n\t    var tmp = self.getTempVar();\n\t      var after = loc();\n\t    self.emitAssign(b.identifier('$__next'), after, arg.node.loc);\n\t    self.emitAssign(\n\t      tmp,\n\t      this.explodeExpression(arg)\n\t    );\n\t    // TODO: breaking here allowing stepping to stop on return.\n\t    // Not sure if that's desirable or not.\n\t    // self.emit(b.breakStatement(), true);\n\t    self.mark(after);\n\t    self.releaseTempVar();\n\n\t    self.emit(withLoc(b.returnStatement(tmp), path.node.loc));\n\t    break;\n\n\t  case \"WithStatement\":\n\t    throw new Error(\n\t      node.type + \" not supported in generator functions.\");\n\n\t  case \"TryStatement\":\n\t    var after = loc();\n\n\t    var handler = stmt.handler;\n\t    if (!handler && stmt.handlers) {\n\t      handler = stmt.handlers[0] || null;\n\t    }\n\n\t    var catchLoc = handler && loc();\n\t    var catchEntry = catchLoc && new leap.CatchEntry(\n\t      catchLoc,\n\t      handler.param\n\t    );\n\n\t    var finallyLoc = stmt.finalizer && loc();\n\t    var finallyEntry = finallyLoc && new leap.FinallyEntry(\n\t      finallyLoc,\n\t      self.getTempVar()\n\t    );\n\n\t    if (finallyEntry) {\n\t      // Finally blocks examine their .nextLocTempVar property to figure\n\t      // out where to jump next, so we must set that property to the\n\t      // fall-through location, by default.\n\t      self.emitAssign(finallyEntry.nextLocTempVar, after, path.node.loc);\n\t    }\n\n\t    var tryEntry = new leap.TryEntry(catchEntry, finallyEntry);\n\n\t    // Push information about this try statement so that the runtime can\n\t    // figure out what to do if it gets an uncaught exception.\n\t    self.pushTry(tryEntry, path.node.loc);\n\t    self.markAndBreak();\n\n\t    self.leapManager.withEntry(tryEntry, function() {\n\t      self.explodeStatement(path.get(\"block\"));\n\n\t      if (catchLoc) {\n\t        // If execution leaves the try block normally, the associated\n\t        // catch block no longer applies.\n\t        self.popCatch(catchEntry, handler.loc);\n\n\t        if (finallyLoc) {\n\t          // If we have both a catch block and a finally block, then\n\t          // because we emit the catch block first, we need to jump over\n\t          // it to the finally block.\n\t          self.jump(finallyLoc);\n\t        } else {\n\t          // If there is no finally block, then we need to jump over the\n\t          // catch block to the fall-through location.\n\t          self.jump(after);\n\t        }\n\n\t        self.mark(catchLoc);\n\n\t        // On entering a catch block, we must not have exited the\n\t        // associated try block normally, so we won't have called\n\t        // context.popCatch yet.  Call it here instead.\n\t        self.popCatch(catchEntry, handler.loc);\n\t        // self.markAndBreak();\n\n\t        var bodyPath = path.get(\"handler\", \"body\");\n\t        var safeParam = self.getTempVar();\n\t        self.clearPendingException(safeParam, handler.loc);\n\t        self.markAndBreak();\n\n\t        var catchScope = bodyPath.scope;\n\t        var catchParamName = handler.param.name;\n\t        n.CatchClause.assert(catchScope.node);\n\t        assert.strictEqual(catchScope.lookup(catchParamName), catchScope);\n\n\t        types.traverse(bodyPath, function(node) {\n\t          if (n.Identifier.check(node) &&\n\t              node.name === catchParamName &&\n\t              this.scope.lookup(catchParamName) === catchScope) {\n\t            this.replace(safeParam);\n\t            return false;\n\t          }\n\t        });\n\n\t        self.leapManager.withEntry(catchEntry, function() {\n\t          self.explodeStatement(bodyPath);\n\t        });\n\n\t        self.releaseTempVar();\n\t      }\n\n\t      if (finallyLoc) {\n\t        self.mark(finallyLoc);\n\n\t        self.popFinally(finallyEntry, stmt.finalizer.loc);\n\t        self.markAndBreak();\n\n\t        self.leapManager.withEntry(finallyEntry, function() {\n\t          self.explodeStatement(path.get(\"finalizer\"));\n\t        });\n\n\t        self.jump(finallyEntry.nextLocTempVar);\n\t        self.releaseTempVar();\n\t      }\n\t    });\n\n\t    self.mark(after);\n\n\t    break;\n\n\t  case \"ThrowStatement\":\n\t    self.emit(withLoc(b.throwStatement(\n\t      self.explodeExpression(path.get(\"argument\"))\n\t    ), path.node.loc));\n\n\t    break;\n\n\t  case \"DebuggerStatement\":\n\t    var after = loc();\n\t    self.emit(makeSetBreakpointAST(b.literal(this.debugId), after), true);\n\t    self.emitAssign(b.identifier('$__next'), after);\n\t    self.emit(b.breakStatement(), true);\n\t    self.mark(after);\n\n\t    after = loc();\n\t    self.emitAssign(b.identifier('$__next'), after, path.node.loc);\n\t    self.emit(b.breakStatement(), true);\n\t    self.mark(after);\n\t    break;\n\n\t  default:\n\t    throw new Error(\n\t      \"unknown Statement of type \" +\n\t        JSON.stringify(stmt.type));\n\t  }\n\t};\n\n\t// Emit a runtime call to context.pushTry(catchLoc, finallyLoc) so that\n\t// the runtime wrapper can dispatch uncaught exceptions appropriately.\n\tEp.pushTry = function(tryEntry, loc) {\n\t  assert.ok(tryEntry instanceof leap.TryEntry);\n\n\t  var nil = b.literal(null);\n\t  var catchEntry = tryEntry.catchEntry;\n\t  var finallyEntry = tryEntry.finallyEntry;\n\t  var method = this.vmProperty(\"pushTry\");\n\t  var args = [\n\t    b.identifier('tryStack'),\n\t    catchEntry && catchEntry.firstLoc || nil,\n\t    finallyEntry && finallyEntry.firstLoc || nil,\n\t    finallyEntry && b.literal(\n\t      parseInt(finallyEntry.nextLocTempVar.name.replace('$__t', ''))\n\t    ) || nil\n\t  ];\n\n\t  this.emit(withLoc(b.callExpression(method, args), loc));\n\t};\n\n\t// Emit a runtime call to context.popCatch(catchLoc) so that the runtime\n\t// wrapper knows when a catch block reported to pushTry no longer applies.\n\tEp.popCatch = function(catchEntry, loc) {\n\t  var catchLoc;\n\n\t  if (catchEntry) {\n\t    assert.ok(catchEntry instanceof leap.CatchEntry);\n\t    catchLoc = catchEntry.firstLoc;\n\t  } else {\n\t    assert.strictEqual(catchEntry, null);\n\t    catchLoc = b.literal(null);\n\t  }\n\n\t  // TODO Think about not emitting anything when catchEntry === null.  For\n\t  // now, emitting context.popCatch(null) is good for sanity checking.\n\n\t  this.emit(withLoc(b.callExpression(\n\t    this.vmProperty(\"popCatch\"),\n\t    [b.identifier('tryStack'), catchLoc]\n\t  ), loc));\n\t};\n\n\t// Emit a runtime call to context.popFinally(finallyLoc) so that the\n\t// runtime wrapper knows when a finally block reported to pushTry no\n\t// longer applies.\n\tEp.popFinally = function(finallyEntry, loc) {\n\t  var finallyLoc;\n\n\t  if (finallyEntry) {\n\t    assert.ok(finallyEntry instanceof leap.FinallyEntry);\n\t    finallyLoc = finallyEntry.firstLoc;\n\t  } else {\n\t    assert.strictEqual(finallyEntry, null);\n\t    finallyLoc = b.literal(null);\n\t  }\n\n\t  // TODO Think about not emitting anything when finallyEntry === null.\n\t  // For now, emitting context.popFinally(null) is good for sanity\n\t  // checking.\n\n\t  this.emit(withLoc(b.callExpression(\n\t    this.vmProperty(\"popFinally\"),\n\t    [b.identifier('tryStack'), finallyLoc]\n\t  ), loc));\n\t};\n\n\tEp.explodeExpression = function(path, ignoreResult) {\n\t  assert.ok(path instanceof types.NodePath);\n\n\t  var expr = path.value;\n\t  if (expr) {\n\t    n.Expression.assert(expr);\n\t  } else {\n\t    return expr;\n\t  }\n\n\t  var self = this;\n\t  var result; // Used optionally by several cases below.\n\n\t  function finish(expr) {\n\t    n.Expression.assert(expr);\n\t    if (ignoreResult) {\n\t      var after = loc();\n\t      self.emit(expr);\n\t      self.emitAssign(b.identifier('$__next'), after);\n\t      self.emit(b.breakStatement(), true);\n\t      self.mark(after);\n\t    } else {\n\t      return expr;\n\t    }\n\t  }\n\n\t  // If the expression does not contain a leap, then we either emit the\n\t  // expression as a standalone statement or return it whole.\n\t  // if (!meta.containsLeap(expr)) {\n\t  //   return finish(expr);\n\t  // }\n\n\t  // If any child contains a leap (such as a yield or labeled continue or\n\t  // break statement), then any sibling subexpressions will almost\n\t  // certainly have to be exploded in order to maintain the order of their\n\t  // side effects relative to the leaping child(ren).\n\t  var hasLeapingChildren = meta.containsLeap.onlyChildren(expr);\n\n\t  // In order to save the rest of explodeExpression from a combinatorial\n\t  // trainwreck of special cases, explodeViaTempVar is responsible for\n\t  // deciding when a subexpression needs to be \"exploded,\" which is my\n\t  // very technical term for emitting the subexpression as an assignment\n\t  // to a temporary variable and the substituting the temporary variable\n\t  // for the original subexpression. Think of exploded view diagrams, not\n\t  // Michael Bay movies. The point of exploding subexpressions is to\n\t  // control the precise order in which the generated code realizes the\n\t  // side effects of those subexpressions.\n\t  function explodeViaTempVar(tempVar, childPath, ignoreChildResult, keepTempVar) {\n\t    assert.ok(childPath instanceof types.NodePath);\n\t    assert.ok(\n\t      !ignoreChildResult || !tempVar,\n\t      \"Ignoring the result of a child expression but forcing it to \" +\n\t        \"be assigned to a temporary variable?\"\n\t    );\n\n\t    if(isAtomic(childPath.node)) {\n\t      // we still explode it because only the top-level expression is\n\t      // atomic, sub-expressions may not be\n\t      return self.explodeExpression(childPath, ignoreChildResult);\n\t    }\n\t    else if (!ignoreChildResult) {\n\t      var shouldRelease = !tempVar && !keepTempVar;\n\t      tempVar = tempVar || self.getTempVar();\n\t      var result = self.explodeExpression(childPath, ignoreChildResult);\n\n\t      // always mark!\n\t      result = self.emitAssign(\n\t        tempVar,\n\t        result,\n\t        childPath.node.loc\n\t      );\n\n\t      self.markAndBreak();\n\n\t      if(shouldRelease) {\n\t        self.releaseTempVar();\n\t      }\n\t    }\n\t    return result;\n\t  }\n\n\t  // If ignoreResult is true, then we must take full responsibility for\n\t  // emitting the expression with all its side effects, and we should not\n\t  // return a result.\n\n\t  switch (expr.type) {\n\t  case \"MemberExpression\":\n\t    return finish(withLoc(b.memberExpression(\n\t      self.explodeExpression(path.get(\"object\")),\n\t      expr.computed\n\t        ? explodeViaTempVar(null, path.get(\"property\"), false, true)\n\t        : expr.property,\n\t      expr.computed\n\t    ), path.node.loc));\n\n\t  case \"CallExpression\":\n\t    var oldCalleePath = path.get(\"callee\");\n\t    var callArgs = path.get(\"arguments\");\n\n\t    if(oldCalleePath.node.type === \"Identifier\" &&\n\t       oldCalleePath.node.name === \"callCC\") {\n\t      callArgs = [new types.NodePath(\n\t        withLoc(b.callExpression(\n\t          b.memberExpression(b.identifier(\"VM\"),\n\t                             b.identifier(\"callCC\"),\n\t                             false),\n\t          []\n\t        ), oldCalleePath.node.loc)\n\t      )];\n\t      oldCalleePath = path.get(\"arguments\").get(0);\n\t    }\n\n\t    var newCallee = self.explodeExpression(oldCalleePath);\n\n\t    var r = self.withTempVars(function() {\n\t      var after = loc();\n\t      var args = callArgs.map(function(argPath) {\n\t        return explodeViaTempVar(null, argPath, false, true);\n\t      });\n\t      var tmp = self.getTempVar();\n\t      var callee = newCallee;\n\n\t      self.emitAssign(b.identifier('$__next'), after, path.node.loc);\n\t      self.emitAssign(b.identifier('$__tmpid'), b.literal(self.currentTempId()));\n\t      self.emitAssign(tmp, b.callExpression(callee, args));\n\n\t      self.emit(b.breakStatement(), true);\n\t      self.mark(after);\n\n\t      return tmp;\n\t    });\n\n\t    return r;\n\n\t  case \"NewExpression\":\n\t    // TODO: this should be the last major expression type I need to\n\t    // fix up to be able to trace/step through. can't call native new\n\t    return self.withTempVars(function() {\n\t      return finish(b.newExpression(\n\t        explodeViaTempVar(null, path.get(\"callee\"), false, true),\n\t        path.get(\"arguments\").map(function(argPath) {\n\t          return explodeViaTempVar(null, argPath, false, true);\n\t        })\n\t      ));\n\t    });\n\n\t  case \"ObjectExpression\":\n\t    return self.withTempVars(function() {\n\t      return finish(b.objectExpression(\n\t        path.get(\"properties\").map(function(propPath) {\n\t          return b.property(\n\t            propPath.value.kind,\n\t            propPath.value.key,\n\t            explodeViaTempVar(null, propPath.get(\"value\"), false, true)\n\t          );\n\t        })\n\t      ));\n\t    });\n\n\t  case \"ArrayExpression\":\n\t    return self.withTempVars(function() {\n\t      return finish(b.arrayExpression(\n\t        path.get(\"elements\").map(function(elemPath) {\n\t          return explodeViaTempVar(null, elemPath, false, true);\n\t        })\n\t      ));\n\t    });\n\n\t  case \"SequenceExpression\":\n\t    var lastIndex = expr.expressions.length - 1;\n\n\t    path.get(\"expressions\").each(function(exprPath) {\n\t      if (exprPath.name === lastIndex) {\n\t        result = self.explodeExpression(exprPath, ignoreResult);\n\t      } else {\n\t        self.explodeExpression(exprPath, true);\n\t      }\n\t    });\n\n\t    return result;\n\n\t  case \"LogicalExpression\":\n\t    var after = loc();\n\n\t    self.withTempVars(function() {\n\t      if (!ignoreResult) {\n\t        result = self.getTempVar();\n\t      }\n\n\t      var left = explodeViaTempVar(result, path.get(\"left\"), false, true);\n\n\t      if (expr.operator === \"&&\") {\n\t        self.jumpIfNot(left, after, path.get(\"left\").node.loc);\n\t      } else if (expr.operator === \"||\") {\n\t        self.jumpIf(left, after, path.get(\"left\").node.loc);\n\t      }\n\n\t      explodeViaTempVar(result, path.get(\"right\"), ignoreResult, true);\n\n\t      self.mark(after);\n\t    });\n\n\t    return result;\n\n\t  case \"ConditionalExpression\":\n\t    var elseLoc = loc();\n\t    var after = loc();\n\t    var test = self.explodeExpression(path.get(\"test\"));\n\n\t    self.jumpIfNot(test, elseLoc, path.get(\"test\").node.loc);\n\n\t    if (!ignoreResult) {\n\t      result = self.getTempVar();\n\t    }\n\n\t    explodeViaTempVar(result, path.get(\"consequent\"), ignoreResult);\n\t    self.jump(after);\n\n\t    self.mark(elseLoc);\n\t    explodeViaTempVar(result, path.get(\"alternate\"), ignoreResult);\n\n\t    self.mark(after);\n\n\t    if(!ignoreResult) {\n\t      self.releaseTempVar();\n\t    }\n\n\t    return result;\n\n\t  case \"UnaryExpression\":\n\t    return finish(withLoc(b.unaryExpression(\n\t      expr.operator,\n\t      // Can't (and don't need to) break up the syntax of the argument.\n\t      // Think about delete a[b].\n\t      self.explodeExpression(path.get(\"argument\")),\n\t      !!expr.prefix\n\t    ), path.node.loc));\n\n\t  case \"BinaryExpression\":\n\t    return self.withTempVars(function() {\n\t      return finish(withLoc(b.binaryExpression(\n\t        expr.operator,\n\t        explodeViaTempVar(null, path.get(\"left\"), false, true),\n\t        explodeViaTempVar(null, path.get(\"right\"), false, true)\n\t      ), path.node.loc));\n\t    });\n\n\t  case \"AssignmentExpression\":\n\t    return finish(withLoc(b.assignmentExpression(\n\t      expr.operator,\n\t      self.explodeExpression(path.get(\"left\")),\n\t      self.explodeExpression(path.get(\"right\"))\n\t    ), path.node.loc));\n\n\t  case \"UpdateExpression\":\n\t    return finish(withLoc(b.updateExpression(\n\t      expr.operator,\n\t      self.explodeExpression(path.get(\"argument\")),\n\t      expr.prefix\n\t    ), path.node.loc));\n\n\t  // case \"YieldExpression\":\n\t  //   var after = loc();\n\t  //   var arg = expr.argument && self.explodeExpression(path.get(\"argument\"));\n\n\t  //   if (arg && expr.delegate) {\n\t  //     var result = self.getTempVar();\n\n\t  //     self.emit(b.returnStatement(b.callExpression(\n\t  //       self.contextProperty(\"delegateYield\"), [\n\t  //         arg,\n\t  //         b.literal(result.property.name),\n\t  //         after\n\t  //       ]\n\t  //     )));\n\n\t  //     self.mark(after);\n\n\t  //     return result;\n\t  //   }\n\n\t    // self.emitAssign(b.identifier('$__next'), after);\n\t    // self.emit(b.returnStatement(arg || null));\n\t    // self.mark(after);\n\n\t    // return self.contextProperty(\"sent\");\n\n\t  case \"Identifier\":\n\t  case \"FunctionExpression\":\n\t  case \"ArrowFunctionExpression\":\n\t  case \"ThisExpression\":\n\t  case \"Literal\":\n\t    return finish(expr);\n\t    break;\n\n\t  default:\n\t    throw new Error(\n\t      \"unknown Expression of type \" +\n\t        JSON.stringify(expr.type));\n\t  }\n\t};\n\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {var types = __webpack_require__(27);\n\tvar parse = __webpack_require__(28).parse;\n\tvar Printer = __webpack_require__(48).Printer;\n\n\tfunction print(node, options) {\n\t    return new Printer(options).print(node);\n\t}\n\n\tfunction prettyPrint(node, options) {\n\t    return new Printer(options).printGenerically(node);\n\t}\n\n\tfunction run(transformer, options) {\n\t    return runFile(process.argv[2], transformer, options);\n\t}\n\n\tfunction runFile(path, transformer, options) {\n\t    __webpack_require__(49).readFile(path, \"utf-8\", function(err, code) {\n\t        if (err) {\n\t            console.error(err);\n\t            return;\n\t        }\n\n\t        runString(code, transformer, options);\n\t    });\n\t}\n\n\tfunction defaultWriteback(output) {\n\t    process.stdout.write(output);\n\t}\n\n\tfunction runString(code, transformer, options) {\n\t    var writeback = options && options.writeback || defaultWriteback;\n\t    transformer(parse(code, options), function(node) {\n\t        writeback(print(node, options).code);\n\t    });\n\t}\n\n\tObject.defineProperties(exports, {\n\t    /**\n\t     * Parse a string of code into an augmented syntax tree suitable for\n\t     * arbitrary modification and reprinting.\n\t     */\n\t    parse: {\n\t        enumerable: true,\n\t        value: parse\n\t    },\n\n\t    /**\n\t     * Reprint a modified syntax tree using as much of the original source\n\t     * code as possible.\n\t     */\n\t    print: {\n\t        enumerable: true,\n\t        value: print\n\t    },\n\n\t    /**\n\t     * Print without attempting to reuse any original source code.\n\t     */\n\t    prettyPrint: {\n\t        enumerable: true,\n\t        value: prettyPrint\n\t    },\n\n\t    /**\n\t     * Customized version of require(\"ast-types\").\n\t     */\n\t    types: {\n\t        enumerable: true,\n\t        value: types\n\t    },\n\n\t    /**\n\t     * Convenient command-line interface (see e.g. example/add-braces).\n\t     */\n\t    run: {\n\t        enumerable: true,\n\t        value: run\n\t    },\n\n\t    /**\n\t     * Useful utilities for implementing transformer functions.\n\t     */\n\t    Syntax: {\n\t        enumerable: false,\n\t        value: (function() {\n\t            var def = types.Type.def;\n\t            var Syntax = {};\n\n\t            Object.keys(types.namedTypes).forEach(function(name) {\n\t                if (def(name).buildable)\n\t                    Syntax[name] = name;\n\t            });\n\n\t            // These two types are buildable but do not technically count\n\t            // as syntax because they are not printable.\n\t            delete Syntax.SourceLocation;\n\t            delete Syntax.Position;\n\n\t            return Syntax;\n\t        })()\n\t    },\n\n\t    Visitor: {\n\t        enumerable: false,\n\t        value: __webpack_require__(45).Visitor\n\t    }\n\t});\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4)))\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar types = __webpack_require__(8);\n\tvar def = types.Type.def;\n\n\tdef(\"File\")\n\t    .bases(\"Node\")\n\t    .build(\"program\")\n\t    .field(\"program\", def(\"Program\"));\n\n\ttypes.finalize();\n\n\tmodule.exports = types;\n\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(27);\n\tvar n = types.namedTypes;\n\tvar b = types.builders;\n\tvar Patcher = __webpack_require__(29).Patcher;\n\tvar Visitor = __webpack_require__(45).Visitor;\n\tvar normalizeOptions = __webpack_require__(40).normalize;\n\n\texports.parse = function(source, options) {\n\t    options = normalizeOptions(options);\n\n\t    var lines = __webpack_require__(30).fromString(source, options);\n\n\t    var pure = options.esprima.parse(lines.toString({\n\t        tabWidth: options.tabWidth,\n\t        reuseWhitespace: false,\n\t        useTabs: false\n\t    }), {\n\t        loc: true,\n\t        range: options.range,\n\t        comment: true,\n\t        tolerant: options.tolerant\n\t    });\n\n\t    new LocationFixer(lines).visit(pure);\n\n\t    __webpack_require__(47).add(pure, lines);\n\n\t    // In order to ensure we reprint leading and trailing program\n\t    // comments, wrap the original Program node with a File node.\n\t    pure = b.file(pure);\n\t    pure.loc = {\n\t        lines: lines,\n\t        start: lines.firstPos(),\n\t        end: lines.lastPos()\n\t    };\n\n\t    // Return a copy of the original AST so that any changes made may be\n\t    // compared to the original.\n\t    return copyAst(pure);\n\t};\n\n\tvar LocationFixer = Visitor.extend({\n\t    init: function(lines) {\n\t        this.lines = lines;\n\t    },\n\n\t    genericVisit: function(node) {\n\t        this._super(node);\n\n\t        var loc = node && node.loc,\n\t            start = loc && loc.start,\n\t            end = loc && loc.end;\n\n\t        if (loc) {\n\t            Object.defineProperty(loc, \"lines\", {\n\t                value: this.lines\n\t            });\n\t        }\n\n\t        if (start) {\n\t            start.line = Math.max(start.line, 1);\n\t        }\n\n\t        if (end) {\n\t            end.line = Math.max(end.line, 1);\n\n\t            var lines = loc.lines, pos = {\n\t                line: end.line,\n\t                column: end.column\n\t            };\n\n\t            // Negative columns might indicate an Esprima bug?\n\t            // For now, treat them as reverse indices, a la Python.\n\t            if (pos.column < 0)\n\t                pos.column += lines.getLineLength(pos.line);\n\n\t            while (lines.prevPos(pos)) {\n\t                if (/\\S/.test(lines.charAt(pos))) {\n\t                    assert.ok(lines.nextPos(pos));\n\n\t                    end.line = pos.line;\n\t                    end.column = pos.column;\n\n\t                    break;\n\t                }\n\t            }\n\t        }\n\t    }\n\t});\n\n\tfunction copyAst(node, parent) {\n\t    if (typeof node === \"object\" &&\n\t        node !== null)\n\t    {\n\t        if (node instanceof RegExp)\n\t            return node;\n\n\t        if (node instanceof Array) {\n\t            return node.map(function(child) {\n\t                return copyAst(child, parent);\n\t            });\n\t        }\n\n\t        var copy = {},\n\t            key,\n\t            val;\n\n\t        for (key in node) {\n\t            if (node.hasOwnProperty(key)) {\n\t                val = copyAst(node[key], node);\n\t                if (typeof val !== \"function\")\n\t                    copy[key] = val;\n\t            }\n\t        }\n\n\t        if (parent && n.Node.check(node)) {\n\t            // Allow upwards traversal of the original AST.\n\t            Object.defineProperty(node, \"parentNode\", {\n\t                value: parent\n\t            });\n\t        }\n\n\t        // Provide a link from the copy to the original.\n\t        Object.defineProperty(copy, \"original\", {\n\t            value: node,\n\t            configurable: false,\n\t            enumerable: false,\n\t            writable: true,\n\t        });\n\n\t        return copy;\n\t    }\n\n\t    return node;\n\t}\n\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar linesModule = __webpack_require__(30);\n\tvar typesModule = __webpack_require__(27);\n\tvar getFieldValue = typesModule.getFieldValue;\n\tvar Node = typesModule.namedTypes.Node;\n\tvar util = __webpack_require__(43);\n\tvar comparePos = util.comparePos;\n\tvar NodePath = __webpack_require__(8).NodePath;\n\n\tfunction Patcher(lines) {\n\t    assert.ok(this instanceof Patcher);\n\t    assert.ok(lines instanceof linesModule.Lines);\n\n\t    var self = this,\n\t        replacements = [];\n\n\t    self.replace = function(loc, lines) {\n\t        if (typeof lines === \"string\")\n\t            lines = linesModule.fromString(lines);\n\n\t        replacements.push({\n\t            lines: lines,\n\t            start: loc.start,\n\t            end: loc.end\n\t        });\n\t    };\n\n\t    self.get = function(loc) {\n\t        // If no location is provided, return the complete Lines object.\n\t        loc = loc || {\n\t            start: { line: 1, column: 0 },\n\t            end: { line: lines.length,\n\t                   column: lines.getLineLength(lines.length) }\n\t        };\n\n\t        var sliceFrom = loc.start,\n\t            toConcat = [];\n\n\t        function pushSlice(from, to) {\n\t            assert.ok(comparePos(from, to) <= 0);\n\t            toConcat.push(lines.slice(from, to));\n\t        }\n\n\t        replacements.sort(function(a, b) {\n\t            return comparePos(a.start, b.start);\n\t        }).forEach(function(rep) {\n\t            if (comparePos(sliceFrom, rep.start) > 0) {\n\t                // Ignore nested replacement ranges.\n\t            } else {\n\t                pushSlice(sliceFrom, rep.start);\n\t                toConcat.push(rep.lines);\n\t                sliceFrom = rep.end;\n\t            }\n\t        });\n\n\t        pushSlice(sliceFrom, loc.end);\n\n\t        return linesModule.concat(toConcat);\n\t    };\n\t}\n\texports.Patcher = Patcher;\n\n\texports.getReprinter = function(path) {\n\t    assert.ok(path instanceof NodePath);\n\n\t    var orig = path.node.original;\n\t    var origLoc = orig && orig.loc;\n\t    var lines = origLoc && origLoc.lines;\n\t    var reprints = [];\n\n\t    if (!lines || !findReprints(path, reprints))\n\t        return;\n\n\t    return function(print) {\n\t        var patcher = new Patcher(lines);\n\n\t        reprints.forEach(function(reprint) {\n\t            var old = reprint.oldNode;\n\t            patcher.replace(\n\t                old.loc,\n\t                print(reprint.newPath).indentTail(\n\t                    getIndent(old)));\n\t        });\n\n\t        return patcher.get(origLoc).indentTail(-getIndent(orig));\n\t    };\n\t};\n\n\t// Get the indentation of the first ancestor node on a line with nothing\n\t// before it but whitespace.\n\tfunction getIndent(orig) {\n\t    var naiveIndent = orig.loc.lines.getIndentAt(\n\t        orig.loc.start.line);\n\n\t    for (var loc, start, lines;\n\t         orig &&\n\t         (loc = orig.loc) &&\n\t         (start = loc.start) &&\n\t         (lines = loc.lines);\n\t         orig = orig.parentNode)\n\t    {\n\t        if (lines.isPrecededOnlyByWhitespace(start)) {\n\t            // The indent returned by lines.getIndentAt is the column of\n\t            // the first non-space character in the line, but start.column\n\t            // may fall before that character, as when a file begins with\n\t            // whitespace but its start.column nevertheless must be 0.\n\t            assert.ok(start.column <= lines.getIndentAt(start.line));\n\t            return start.column;\n\t        }\n\t    }\n\n\t    return naiveIndent;\n\t}\n\n\tfunction findReprints(path, reprints) {\n\t    var node = path.node;\n\t    assert.ok(node.original);\n\t    assert.deepEqual(reprints, []);\n\n\t    var canReprint = findChildReprints(path, node.original, reprints);\n\n\t    if (!canReprint) {\n\t        // Make absolutely sure the calling code does not attempt to reprint\n\t        // any nodes.\n\t        reprints.length = 0;\n\t    }\n\n\t    return canReprint;\n\t}\n\n\tfunction findAnyReprints(path, oldNode, reprints) {\n\t    var newNode = path.value;\n\t    if (newNode === oldNode)\n\t        return true;\n\n\t    if (newNode instanceof Array)\n\t        return findArrayReprints(path, oldNode, reprints);\n\n\t    if (typeof newNode === \"object\")\n\t        return findObjectReprints(path, oldNode, reprints);\n\n\t    return false;\n\t}\n\n\tfunction findArrayReprints(path, oldNode, reprints) {\n\t    var newNode = path.value;\n\t    assert.ok(newNode instanceof Array);\n\t    var len = newNode.length;\n\n\t    if (!(oldNode instanceof Array &&\n\t          oldNode.length === len))\n\t        return false;\n\n\t    for (var i = 0; i < len; ++i)\n\t        if (!findAnyReprints(path.get(i), oldNode[i], reprints))\n\t            return false;\n\n\t    return true;\n\t}\n\n\tfunction findObjectReprints(path, oldNode, reprints) {\n\t    var newNode = path.value;\n\t    assert.strictEqual(typeof newNode, \"object\");\n\t    if (!newNode || !oldNode || typeof oldNode !== \"object\")\n\t        return false;\n\n\t    var childReprints = [];\n\t    var canReprintChildren = findChildReprints(path, oldNode, childReprints);\n\n\t    if (Node.check(newNode)) {\n\t        // TODO Decompose this check: if (!printTheSame(newNode, oldNode))\n\t        if (newNode.type !== oldNode.type)\n\t            return false;\n\n\t        if (!canReprintChildren) {\n\t            reprints.push({\n\t                newPath: path,\n\t                oldNode: oldNode\n\t            });\n\n\t            return true;\n\t        }\n\t    }\n\n\t    reprints.push.apply(reprints, childReprints);\n\t    return canReprintChildren;\n\t}\n\n\tfunction hasParens(oldNode) {\n\t    var loc = oldNode.loc;\n\t    var lines = loc && loc.lines;\n\n\t    if (lines) {\n\t        // This logic can technically be fooled if the node has\n\t        // parentheses but there are comments intervening between the\n\t        // parentheses and the node. In such cases the node will be\n\t        // harmlessly wrapped in an additional layer of parentheses.\n\t        var pos = lines.skipSpaces(loc.start, true);\n\t        if (pos && lines.prevPos(pos) && lines.charAt(pos) === \"(\") {\n\t            pos = lines.skipSpaces(loc.end);\n\t            if (pos && lines.charAt(pos) === \")\")\n\t                return true;\n\t        }\n\t    }\n\n\t    return false;\n\t}\n\n\tfunction findChildReprints(path, oldNode, reprints) {\n\t    var newNode = path.value;\n\t    assert.strictEqual(typeof newNode, \"object\");\n\t    assert.strictEqual(typeof oldNode, \"object\");\n\n\t    // If this node needs parentheses and will not be wrapped with\n\t    // parentheses when reprinted, then return false to skip reprinting\n\t    // and let it be printed generically.\n\t    if (path.needsParens() && !hasParens(oldNode))\n\t        return false;\n\n\t    for (var k in util.getUnionOfKeys(newNode, oldNode)) {\n\t        if (k === \"loc\")\n\t            continue;\n\n\t        var oldChild = getFieldValue(oldNode, k);\n\t        var newChild = getFieldValue(newNode, k);\n\n\t        // Normally we would use path.get(k), but that might not produce a\n\t        // Path with newChild as its .value (for instance, if a default\n\t        // value was returned), so we must forge this path by hand.\n\t        var newChildPath = new NodePath(newChild, path, k);\n\n\t        if (!findAnyReprints(newChildPath, oldChild, reprints))\n\t            return false;\n\t    }\n\n\t    return true;\n\t}\n\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar sourceMap = __webpack_require__(31);\n\tvar normalizeOptions = __webpack_require__(40).normalize;\n\tvar getSecret = __webpack_require__(42).makeAccessor();\n\tvar types = __webpack_require__(27);\n\tvar isString = types.builtInTypes.string;\n\tvar comparePos = __webpack_require__(43).comparePos;\n\tvar Mapping = __webpack_require__(44);\n\n\t// Goals:\n\t// 1. Minimize new string creation.\n\t// 2. Keep (de)identation O(lines) time.\n\t// 3. Permit negative indentations.\n\t// 4. Enforce immutability.\n\t// 5. No newline characters.\n\n\tfunction Lines(infos, sourceFileName) {\n\t    var self = this;\n\n\t    assert.ok(self instanceof Lines);\n\t    assert.ok(infos.length > 0);\n\n\t    var secret = getSecret(self);\n\t    secret.infos = infos;\n\t    secret.mappings = [];\n\t    secret.cachedSourceMap = null;\n\n\t    if (sourceFileName) {\n\t        isString.assert(sourceFileName);\n\t    } else {\n\t        sourceFileName = null;\n\t    }\n\n\t    Object.defineProperties(self, {\n\t        length: { value: infos.length },\n\t        name: { value: sourceFileName }\n\t    });\n\n\t    if (sourceFileName) {\n\t        secret.mappings.push(new Mapping(this, {\n\t            start: this.firstPos(),\n\t            end: this.lastPos()\n\t        }));\n\t    }\n\t}\n\n\t// Exposed for instanceof checks. The fromString function should be used\n\t// to create new Lines objects.\n\texports.Lines = Lines;\n\n\tvar Lp = Lines.prototype,\n\t    leadingSpaceExp = /^\\s*/,\n\t    secret;\n\n\tfunction copyLineInfo(info) {\n\t    return {\n\t        line: info.line,\n\t        indent: info.indent,\n\t        sliceStart: info.sliceStart,\n\t        sliceEnd: info.sliceEnd\n\t    };\n\t}\n\n\tvar fromStringCache = {};\n\tvar hasOwn = fromStringCache.hasOwnProperty;\n\tvar maxCacheKeyLen = 10;\n\n\tfunction countSpaces(spaces, tabWidth) {\n\t    var count = 0;\n\t    var len = spaces.length;\n\n\t    for (var i = 0; i < len; ++i) {\n\t        var ch = spaces.charAt(i);\n\n\t        if (ch === \" \") {\n\t            count += 1;\n\n\t        } else if (ch === \"\\t\") {\n\t            assert.strictEqual(typeof tabWidth, \"number\");\n\t            assert.ok(tabWidth > 0);\n\n\t            var next = Math.ceil(count / tabWidth) * tabWidth;\n\t            if (next === count) {\n\t                count += tabWidth;\n\t            } else {\n\t                count = next;\n\t            }\n\n\t        } else if (ch === \"\\r\") {\n\t            // Ignore carriage return characters.\n\n\t        } else {\n\t            assert.fail(\"unexpected whitespace character\", ch);\n\t        }\n\t    }\n\n\t    return count;\n\t}\n\texports.countSpaces = countSpaces;\n\n\tfunction fromString(string, options) {\n\t    if (string instanceof Lines)\n\t        return string;\n\n\t    string += \"\";\n\n\t    var tabWidth = options && options.tabWidth;\n\t    var tabless = string.indexOf(\"\\t\") < 0;\n\t    var cacheable = !options && tabless && (string.length <= maxCacheKeyLen);\n\n\t    assert.ok(tabWidth || tabless, \"encountered tabs, but no tab width specified\");\n\n\t    if (cacheable && hasOwn.call(fromStringCache, string))\n\t        return fromStringCache[string];\n\n\t    var lines = new Lines(string.split(\"\\n\").map(function(line) {\n\t        var spaces = leadingSpaceExp.exec(line)[0];\n\t        return {\n\t            line: line,\n\t            indent: countSpaces(spaces, tabWidth),\n\t            sliceStart: spaces.length,\n\t            sliceEnd: line.length\n\t        };\n\t    }), normalizeOptions(options).sourceFileName);\n\n\t    if (cacheable)\n\t        fromStringCache[string] = lines;\n\n\t    return lines;\n\t}\n\texports.fromString = fromString;\n\n\tfunction isOnlyWhitespace(string) {\n\t    return !/\\S/.test(string);\n\t}\n\n\tLp.toString = function(options) {\n\t    return this.sliceString(this.firstPos(), this.lastPos(), options);\n\t};\n\n\tLp.getSourceMap = function(sourceMapName, sourceRoot) {\n\t    if (!sourceMapName) {\n\t        // Although we could make up a name or generate an anonymous\n\t        // source map, instead we assume that any consumer who does not\n\t        // provide a name does not actually want a source map.\n\t        return null;\n\t    }\n\n\t    var targetLines = this;\n\n\t    function updateJSON(json) {\n\t        json = json || {};\n\n\t        isString.assert(sourceMapName);\n\t        json.file = sourceMapName;\n\n\t        if (sourceRoot) {\n\t            isString.assert(sourceRoot);\n\t            json.sourceRoot = sourceRoot;\n\t        }\n\n\t        return json;\n\t    }\n\n\t    var secret = getSecret(targetLines);\n\t    if (secret.cachedSourceMap) {\n\t        // Since Lines objects are immutable, we can reuse any source map\n\t        // that was previously generated. Nevertheless, we return a new\n\t        // JSON object here to protect the cached source map from outside\n\t        // modification.\n\t        return updateJSON(secret.cachedSourceMap.toJSON());\n\t    }\n\n\t    assert.ok(\n\t        secret.mappings.length > 0,\n\t        \"No source mappings found. Be sure to pass { sourceFileName: \" +\n\t            '\"source.js\" } to recast.parse to enable source mapping.'\n\t    );\n\n\t    var smg = new sourceMap.SourceMapGenerator(updateJSON());\n\t    var sourcesToContents = {};\n\n\t    secret.mappings.forEach(function(mapping) {\n\t        var sourceCursor = mapping.sourceLines.skipSpaces(\n\t            mapping.sourceLoc.start);\n\n\t        var targetCursor = targetLines.skipSpaces(\n\t            mapping.targetLoc.start);\n\n\t        while (comparePos(sourceCursor, mapping.sourceLoc.end) < 0 &&\n\t               comparePos(targetCursor, mapping.targetLoc.end) < 0) {\n\n\t            var sourceChar = mapping.sourceLines.charAt(sourceCursor);\n\t            var targetChar = targetLines.charAt(targetCursor);\n\t            assert.strictEqual(sourceChar, targetChar);\n\n\t            var sourceName = mapping.sourceLines.name;\n\n\t            // Add mappings one character at a time for maximum resolution.\n\t            smg.addMapping({\n\t                source: sourceName,\n\t                original: { line: sourceCursor.line,\n\t                            column: sourceCursor.column },\n\t                generated: { line: targetCursor.line,\n\t                             column: targetCursor.column }\n\t            });\n\n\t            if (!hasOwn.call(sourcesToContents, sourceName)) {\n\t                var sourceContent = mapping.sourceLines.toString();\n\t                smg.setSourceContent(sourceName, sourceContent);\n\t                sourcesToContents[sourceName] = sourceContent;\n\t            }\n\n\t            targetLines.nextPos(targetCursor, true);\n\t            mapping.sourceLines.nextPos(sourceCursor, true);\n\t        }\n\t    });\n\n\t    secret.cachedSourceMap = smg;\n\n\t    return smg.toJSON();\n\t};\n\n\tLp.bootstrapCharAt = function(pos) {\n\t    assert.strictEqual(typeof pos, \"object\");\n\t    assert.strictEqual(typeof pos.line, \"number\");\n\t    assert.strictEqual(typeof pos.column, \"number\");\n\n\t    var line = pos.line,\n\t        column = pos.column,\n\t        strings = this.toString().split(\"\\n\"),\n\t        string = strings[line - 1];\n\n\t    if (typeof string === \"undefined\")\n\t        return \"\";\n\n\t    if (column === string.length &&\n\t        line < strings.length)\n\t        return \"\\n\";\n\n\t    return string.charAt(column);\n\t};\n\n\tLp.charAt = function(pos) {\n\t    assert.strictEqual(typeof pos, \"object\");\n\t    assert.strictEqual(typeof pos.line, \"number\");\n\t    assert.strictEqual(typeof pos.column, \"number\");\n\n\t    var line = pos.line,\n\t        column = pos.column,\n\t        secret = getSecret(this),\n\t        infos = secret.infos,\n\t        info = infos[line - 1],\n\t        c = column;\n\n\t    if (typeof info === \"undefined\" || c < 0)\n\t        return \"\";\n\n\t    var indent = this.getIndentAt(line);\n\t    if (c < indent)\n\t        return \" \";\n\n\t    c += info.sliceStart - indent;\n\t    if (c === info.sliceEnd &&\n\t        line < this.length)\n\t        return \"\\n\";\n\n\t    return info.line.charAt(c);\n\t};\n\n\tLp.stripMargin = function(width, skipFirstLine) {\n\t    if (width === 0)\n\t        return this;\n\n\t    assert.ok(width > 0, \"negative margin: \" + width);\n\n\t    if (skipFirstLine && this.length === 1)\n\t        return this;\n\n\t    var secret = getSecret(this);\n\n\t    var lines = new Lines(secret.infos.map(function(info, i) {\n\t        if (info.line && (i > 0 || !skipFirstLine)) {\n\t            info = copyLineInfo(info);\n\t            info.indent = Math.max(0, info.indent - width);\n\t        }\n\t        return info;\n\t    }));\n\n\t    if (secret.mappings.length > 0) {\n\t        var newMappings = getSecret(lines).mappings;\n\t        assert.strictEqual(newMappings.length, 0);\n\t        secret.mappings.forEach(function(mapping) {\n\t            newMappings.push(mapping.indent(width, skipFirstLine, true));\n\t        });\n\t    }\n\n\t    return lines;\n\t};\n\n\tLp.indent = function(by) {\n\t    if (by === 0)\n\t        return this;\n\n\t    var secret = getSecret(this);\n\n\t    var lines = new Lines(secret.infos.map(function(info) {\n\t        if (info.line) {\n\t            info = copyLineInfo(info);\n\t            info.indent += by;\n\t        }\n\t        return info\n\t    }));\n\n\t    if (secret.mappings.length > 0) {\n\t        var newMappings = getSecret(lines).mappings;\n\t        assert.strictEqual(newMappings.length, 0);\n\t        secret.mappings.forEach(function(mapping) {\n\t            newMappings.push(mapping.indent(by));\n\t        });\n\t    }\n\n\t    return lines;\n\t};\n\n\tLp.indentTail = function(by) {\n\t    if (by === 0)\n\t        return this;\n\n\t    if (this.length < 2)\n\t        return this;\n\n\t    var secret = getSecret(this);\n\n\t    var lines = new Lines(secret.infos.map(function(info, i) {\n\t        if (i > 0 && info.line) {\n\t            info = copyLineInfo(info);\n\t            info.indent += by;\n\t        }\n\n\t        return info;\n\t    }));\n\n\t    if (secret.mappings.length > 0) {\n\t        var newMappings = getSecret(lines).mappings;\n\t        assert.strictEqual(newMappings.length, 0);\n\t        secret.mappings.forEach(function(mapping) {\n\t            newMappings.push(mapping.indent(by, true));\n\t        });\n\t    }\n\n\t    return lines;\n\t};\n\n\tLp.getIndentAt = function(line) {\n\t    assert.ok(line >= 1, \"no line \" + line + \" (line numbers start from 1)\");\n\t    var secret = getSecret(this),\n\t        info = secret.infos[line - 1];\n\t    return Math.max(info.indent, 0);\n\t};\n\n\tLp.guessTabWidth = function() {\n\t    var secret = getSecret(this);\n\t    if (hasOwn.call(secret, \"cachedTabWidth\")) {\n\t        return secret.cachedTabWidth;\n\t    }\n\n\t    var counts = []; // Sparse array.\n\t    var lastIndent = 0;\n\n\t    for (var line = 1, last = this.length; line <= last; ++line) {\n\t        var info = secret.infos[line - 1];\n\t        var diff = Math.abs(info.indent - lastIndent);\n\t        counts[diff] = ~~counts[diff] + 1;\n\t        lastIndent = info.indent;\n\t    }\n\n\t    var maxCount = -1;\n\t    var result = 2;\n\n\t    for (var tabWidth = 1;\n\t         tabWidth < counts.length;\n\t         tabWidth += 1) {\n\t        if (hasOwn.call(counts, tabWidth) &&\n\t            counts[tabWidth] > maxCount) {\n\t            maxCount = counts[tabWidth];\n\t            result = tabWidth;\n\t        }\n\t    }\n\n\t    return secret.cachedTabWidth = result;\n\t};\n\n\tLp.isOnlyWhitespace = function() {\n\t    return isOnlyWhitespace(this.toString());\n\t};\n\n\tLp.isPrecededOnlyByWhitespace = function(pos) {\n\t    return this.slice({\n\t        line: pos.line,\n\t        column: 0\n\t    }, pos).isOnlyWhitespace();\n\t};\n\n\tLp.getLineLength = function(line) {\n\t    var secret = getSecret(this),\n\t        info = secret.infos[line - 1];\n\t    return this.getIndentAt(line) + info.sliceEnd - info.sliceStart;\n\t};\n\n\tLp.nextPos = function(pos, skipSpaces) {\n\t    var l = Math.max(pos.line, 0),\n\t        c = Math.max(pos.column, 0);\n\n\t    if (c < this.getLineLength(l)) {\n\t        pos.column += 1;\n\n\t        return skipSpaces\n\t            ? !!this.skipSpaces(pos, false, true)\n\t            : true;\n\t    }\n\n\t    if (l < this.length) {\n\t        pos.line += 1;\n\t        pos.column = 0;\n\n\t        return skipSpaces\n\t            ? !!this.skipSpaces(pos, false, true)\n\t            : true;\n\t    }\n\n\t    return false;\n\t};\n\n\tLp.prevPos = function(pos, skipSpaces) {\n\t    var l = pos.line,\n\t        c = pos.column;\n\n\t    if (c < 1) {\n\t        l -= 1;\n\n\t        if (l < 1)\n\t            return false;\n\n\t        c = this.getLineLength(l);\n\n\t    } else {\n\t        c = Math.min(c - 1, this.getLineLength(l));\n\t    }\n\n\t    pos.line = l;\n\t    pos.column = c;\n\n\t    return skipSpaces\n\t        ? !!this.skipSpaces(pos, true, true)\n\t        : true;\n\t};\n\n\tLp.firstPos = function() {\n\t    // Trivial, but provided for completeness.\n\t    return { line: 1, column: 0 };\n\t};\n\n\tLp.lastPos = function() {\n\t    return {\n\t        line: this.length,\n\t        column: this.getLineLength(this.length)\n\t    };\n\t};\n\n\tLp.skipSpaces = function(pos, backward, modifyInPlace) {\n\t    if (pos) {\n\t        pos = modifyInPlace ? pos : {\n\t            line: pos.line,\n\t            column: pos.column\n\t        };\n\t    } else if (backward) {\n\t        pos = this.lastPos();\n\t    } else {\n\t        pos = this.firstPos();\n\t    }\n\n\t    if (backward) {\n\t        while (this.prevPos(pos)) {\n\t            if (!isOnlyWhitespace(this.charAt(pos)) &&\n\t                this.nextPos(pos)) {\n\t                return pos;\n\t            }\n\t        }\n\n\t        return null;\n\n\t    } else {\n\t        while (isOnlyWhitespace(this.charAt(pos))) {\n\t            if (!this.nextPos(pos)) {\n\t                return null;\n\t            }\n\t        }\n\n\t        return pos;\n\t    }\n\t};\n\n\tLp.trimLeft = function() {\n\t    var pos = this.skipSpaces(this.firstPos(), false, true);\n\t    return pos ? this.slice(pos) : emptyLines;\n\t};\n\n\tLp.trimRight = function() {\n\t    var pos = this.skipSpaces(this.lastPos(), true, true);\n\t    return pos ? this.slice(this.firstPos(), pos) : emptyLines;\n\t};\n\n\tLp.trim = function() {\n\t    var start = this.skipSpaces(this.firstPos(), false, true);\n\t    if (start === null)\n\t        return emptyLines;\n\n\t    var end = this.skipSpaces(this.lastPos(), true, true);\n\t    assert.notStrictEqual(end, null);\n\n\t    return this.slice(start, end);\n\t};\n\n\tLp.eachPos = function(callback, startPos, skipSpaces) {\n\t    var pos = this.firstPos();\n\n\t    if (startPos) {\n\t        pos.line = startPos.line,\n\t        pos.column = startPos.column\n\t    }\n\n\t    if (skipSpaces && !this.skipSpaces(pos, false, true)) {\n\t        return; // Encountered nothing but spaces.\n\t    }\n\n\t    do callback.call(this, pos);\n\t    while (this.nextPos(pos, skipSpaces));\n\t};\n\n\tLp.bootstrapSlice = function(start, end) {\n\t    var strings = this.toString().split(\"\\n\").slice(\n\t            start.line - 1, end.line);\n\n\t    strings.push(strings.pop().slice(0, end.column));\n\t    strings[0] = strings[0].slice(start.column);\n\n\t    return fromString(strings.join(\"\\n\"));\n\t};\n\n\tLp.slice = function(start, end) {\n\t    if (!end) {\n\t        if (!start) {\n\t            // The client seems to want a copy of this Lines object, but\n\t            // Lines objects are immutable, so it's perfectly adequate to\n\t            // return the same object.\n\t            return this;\n\t        }\n\n\t        // Slice to the end if no end position was provided.\n\t        end = this.lastPos();\n\t    }\n\n\t    var secret = getSecret(this);\n\t    var sliced = secret.infos.slice(start.line - 1, end.line);\n\n\t    if (start.line === end.line) {\n\t        sliced[0] = sliceInfo(sliced[0], start.column, end.column);\n\t    } else {\n\t        assert.ok(start.line < end.line);\n\t        sliced[0] = sliceInfo(sliced[0], start.column);\n\t        sliced.push(sliceInfo(sliced.pop(), 0, end.column));\n\t    }\n\n\t    var lines = new Lines(sliced);\n\n\t    if (secret.mappings.length > 0) {\n\t        var newMappings = getSecret(lines).mappings;\n\t        assert.strictEqual(newMappings.length, 0);\n\t        secret.mappings.forEach(function(mapping) {\n\t            var sliced = mapping.slice(this, start, end);\n\t            if (sliced) {\n\t                newMappings.push(sliced);\n\t            }\n\t        }, this);\n\t    }\n\n\t    return lines;\n\t};\n\n\tfunction sliceInfo(info, startCol, endCol) {\n\t    var sliceStart = info.sliceStart;\n\t    var sliceEnd = info.sliceEnd;\n\t    var indent = Math.max(info.indent, 0);\n\t    var lineLength = indent + sliceEnd - sliceStart;\n\n\t    if (typeof endCol === \"undefined\") {\n\t        endCol = lineLength;\n\t    }\n\n\t    startCol = Math.max(startCol, 0);\n\t    endCol = Math.min(endCol, lineLength);\n\t    endCol = Math.max(endCol, startCol);\n\n\t    if (endCol < indent) {\n\t        indent = endCol;\n\t        sliceEnd = sliceStart;\n\t    } else {\n\t        sliceEnd -= lineLength - endCol;\n\t    }\n\n\t    lineLength = endCol;\n\t    lineLength -= startCol;\n\n\t    if (startCol < indent) {\n\t        indent -= startCol;\n\t    } else {\n\t        startCol -= indent;\n\t        indent = 0;\n\t        sliceStart += startCol;\n\t    }\n\n\t    assert.ok(indent >= 0);\n\t    assert.ok(sliceStart <= sliceEnd);\n\t    assert.strictEqual(lineLength, indent + sliceEnd - sliceStart);\n\n\t    if (info.indent === indent &&\n\t        info.sliceStart === sliceStart &&\n\t        info.sliceEnd === sliceEnd) {\n\t        return info;\n\t    }\n\n\t    return {\n\t        line: info.line,\n\t        indent: indent,\n\t        sliceStart: sliceStart,\n\t        sliceEnd: sliceEnd\n\t    };\n\t}\n\n\tLp.bootstrapSliceString = function(start, end, options) {\n\t    return this.slice(start, end).toString(options);\n\t};\n\n\tLp.sliceString = function(start, end, options) {\n\t    if (!end) {\n\t        if (!start) {\n\t            // The client seems to want a copy of this Lines object, but\n\t            // Lines objects are immutable, so it's perfectly adequate to\n\t            // return the same object.\n\t            return this;\n\t        }\n\n\t        // Slice to the end if no end position was provided.\n\t        end = this.lastPos();\n\t    }\n\n\t    options = normalizeOptions(options);\n\n\t    var infos = getSecret(this).infos;\n\t    var parts = [];\n\t    var tabWidth = options.tabWidth;\n\n\t    for (var line = start.line; line <= end.line; ++line) {\n\t        var info = infos[line - 1];\n\n\t        if (line === start.line) {\n\t            if (line === end.line) {\n\t                info = sliceInfo(info, start.column, end.column);\n\t            } else {\n\t                info = sliceInfo(info, start.column);\n\t            }\n\t        } else if (line === end.line) {\n\t            info = sliceInfo(info, 0, end.column);\n\t        }\n\n\t        var indent = Math.max(info.indent, 0);\n\n\t        var before = info.line.slice(0, info.sliceStart);\n\t        if (options.reuseWhitespace &&\n\t            isOnlyWhitespace(before) &&\n\t            countSpaces(before, options.tabWidth) === indent) {\n\t            // Reuse original spaces if the indentation is correct.\n\t            parts.push(info.line.slice(0, info.sliceEnd));\n\t            continue;\n\t        }\n\n\t        var tabs = 0;\n\t        var spaces = indent;\n\n\t        if (options.useTabs) {\n\t            tabs = Math.floor(indent / tabWidth);\n\t            spaces -= tabs * tabWidth;\n\t        }\n\n\t        var result = \"\";\n\n\t        if (tabs > 0) {\n\t            result += new Array(tabs + 1).join(\"\\t\");\n\t        }\n\n\t        if (spaces > 0) {\n\t            result += new Array(spaces + 1).join(\" \");\n\t        }\n\n\t        result += info.line.slice(info.sliceStart, info.sliceEnd);\n\n\t        parts.push(result);\n\t    }\n\n\t    return parts.join(\"\\n\");\n\t};\n\n\tLp.isEmpty = function() {\n\t    return this.length < 2 && this.getLineLength(1) < 1;\n\t};\n\n\tLp.join = function(elements) {\n\t    var separator = this;\n\t    var separatorSecret = getSecret(separator);\n\t    var infos = [];\n\t    var mappings = [];\n\t    var prevInfo;\n\n\t    function appendSecret(secret) {\n\t        if (secret === null)\n\t            return;\n\n\t        if (prevInfo) {\n\t            var info = secret.infos[0];\n\t            var indent = new Array(info.indent + 1).join(\" \");\n\t            var prevLine = infos.length;\n\t            var prevColumn = Math.max(prevInfo.indent, 0) +\n\t                prevInfo.sliceEnd - prevInfo.sliceStart;\n\n\t            prevInfo.line = prevInfo.line.slice(\n\t                0, prevInfo.sliceEnd) + indent + info.line.slice(\n\t                    info.sliceStart, info.sliceEnd);\n\n\t            prevInfo.sliceEnd = prevInfo.line.length;\n\n\t            if (secret.mappings.length > 0) {\n\t                secret.mappings.forEach(function(mapping) {\n\t                    mappings.push(mapping.add(prevLine, prevColumn));\n\t                });\n\t            }\n\n\t        } else if (secret.mappings.length > 0) {\n\t            mappings.push.apply(mappings, secret.mappings);\n\t        }\n\n\t        secret.infos.forEach(function(info, i) {\n\t            if (!prevInfo || i > 0) {\n\t                prevInfo = copyLineInfo(info);\n\t                infos.push(prevInfo);\n\t            }\n\t        });\n\t    }\n\n\t    function appendWithSeparator(secret, i) {\n\t        if (i > 0)\n\t            appendSecret(separatorSecret);\n\t        appendSecret(secret);\n\t    }\n\n\t    elements.map(function(elem) {\n\t        var lines = fromString(elem);\n\t        if (lines.isEmpty())\n\t            return null;\n\t        return getSecret(lines);\n\t    }).forEach(separator.isEmpty()\n\t               ? appendSecret\n\t               : appendWithSeparator);\n\n\t    if (infos.length < 1)\n\t        return emptyLines;\n\n\t    var lines = new Lines(infos);\n\n\t    if (mappings.length > 0) {\n\t        var newSecret = getSecret(lines);\n\t        assert.strictEqual(newSecret.mappings.length, 0);\n\t        newSecret.mappings = mappings;\n\t    }\n\n\t    return lines;\n\t};\n\n\texports.concat = function(elements) {\n\t    return emptyLines.join(elements);\n\t};\n\n\tLp.concat = function(other) {\n\t    var args = arguments,\n\t        list = [this];\n\t    list.push.apply(list, args);\n\t    assert.strictEqual(list.length, args.length + 1);\n\t    return emptyLines.join(list);\n\t};\n\n\t// The emptyLines object needs to be created all the way down here so that\n\t// Lines.prototype will be fully populated.\n\tvar emptyLines = fromString(\"\");\n\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/*\n\t * Copyright 2009-2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE.txt or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\texports.SourceMapGenerator = __webpack_require__(32).SourceMapGenerator;\n\texports.SourceMapConsumer = __webpack_require__(37).SourceMapConsumer;\n\texports.SourceNode = __webpack_require__(39).SourceNode;\n\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\tif (false) {\n\t    var define = require('amdefine')(module, require);\n\t}\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) {\n\n\t  var base64VLQ = __webpack_require__(33);\n\t  var util = __webpack_require__(35);\n\t  var ArraySet = __webpack_require__(36).ArraySet;\n\n\t  /**\n\t   * An instance of the SourceMapGenerator represents a source map which is\n\t   * being built incrementally. To create a new one, you must pass an object\n\t   * with the following properties:\n\t   *\n\t   *   - file: The filename of the generated source.\n\t   *   - sourceRoot: An optional root for all URLs in this source map.\n\t   */\n\t  function SourceMapGenerator(aArgs) {\n\t    this._file = util.getArg(aArgs, 'file');\n\t    this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);\n\t    this._sources = new ArraySet();\n\t    this._names = new ArraySet();\n\t    this._mappings = [];\n\t    this._sourcesContents = null;\n\t  }\n\n\t  SourceMapGenerator.prototype._version = 3;\n\n\t  /**\n\t   * Creates a new SourceMapGenerator based on a SourceMapConsumer\n\t   *\n\t   * @param aSourceMapConsumer The SourceMap.\n\t   */\n\t  SourceMapGenerator.fromSourceMap =\n\t    function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {\n\t      var sourceRoot = aSourceMapConsumer.sourceRoot;\n\t      var generator = new SourceMapGenerator({\n\t        file: aSourceMapConsumer.file,\n\t        sourceRoot: sourceRoot\n\t      });\n\t      aSourceMapConsumer.eachMapping(function (mapping) {\n\t        var newMapping = {\n\t          generated: {\n\t            line: mapping.generatedLine,\n\t            column: mapping.generatedColumn\n\t          }\n\t        };\n\n\t        if (mapping.source) {\n\t          newMapping.source = mapping.source;\n\t          if (sourceRoot) {\n\t            newMapping.source = util.relative(sourceRoot, newMapping.source);\n\t          }\n\n\t          newMapping.original = {\n\t            line: mapping.originalLine,\n\t            column: mapping.originalColumn\n\t          };\n\n\t          if (mapping.name) {\n\t            newMapping.name = mapping.name;\n\t          }\n\t        }\n\n\t        generator.addMapping(newMapping);\n\t      });\n\t      aSourceMapConsumer.sources.forEach(function (sourceFile) {\n\t        var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n\t        if (content) {\n\t          generator.setSourceContent(sourceFile, content);\n\t        }\n\t      });\n\t      return generator;\n\t    };\n\n\t  /**\n\t   * Add a single mapping from original source line and column to the generated\n\t   * source's line and column for this source map being created. The mapping\n\t   * object should have the following properties:\n\t   *\n\t   *   - generated: An object with the generated line and column positions.\n\t   *   - original: An object with the original line and column positions.\n\t   *   - source: The original source file (relative to the sourceRoot).\n\t   *   - name: An optional original token name for this mapping.\n\t   */\n\t  SourceMapGenerator.prototype.addMapping =\n\t    function SourceMapGenerator_addMapping(aArgs) {\n\t      var generated = util.getArg(aArgs, 'generated');\n\t      var original = util.getArg(aArgs, 'original', null);\n\t      var source = util.getArg(aArgs, 'source', null);\n\t      var name = util.getArg(aArgs, 'name', null);\n\n\t      this._validateMapping(generated, original, source, name);\n\n\t      if (source && !this._sources.has(source)) {\n\t        this._sources.add(source);\n\t      }\n\n\t      if (name && !this._names.has(name)) {\n\t        this._names.add(name);\n\t      }\n\n\t      this._mappings.push({\n\t        generatedLine: generated.line,\n\t        generatedColumn: generated.column,\n\t        originalLine: original != null && original.line,\n\t        originalColumn: original != null && original.column,\n\t        source: source,\n\t        name: name\n\t      });\n\t    };\n\n\t  /**\n\t   * Set the source content for a source file.\n\t   */\n\t  SourceMapGenerator.prototype.setSourceContent =\n\t    function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {\n\t      var source = aSourceFile;\n\t      if (this._sourceRoot) {\n\t        source = util.relative(this._sourceRoot, source);\n\t      }\n\n\t      if (aSourceContent !== null) {\n\t        // Add the source content to the _sourcesContents map.\n\t        // Create a new _sourcesContents map if the property is null.\n\t        if (!this._sourcesContents) {\n\t          this._sourcesContents = {};\n\t        }\n\t        this._sourcesContents[util.toSetString(source)] = aSourceContent;\n\t      } else {\n\t        // Remove the source file from the _sourcesContents map.\n\t        // If the _sourcesContents map is empty, set the property to null.\n\t        delete this._sourcesContents[util.toSetString(source)];\n\t        if (Object.keys(this._sourcesContents).length === 0) {\n\t          this._sourcesContents = null;\n\t        }\n\t      }\n\t    };\n\n\t  /**\n\t   * Applies the mappings of a sub-source-map for a specific source file to the\n\t   * source map being generated. Each mapping to the supplied source file is\n\t   * rewritten using the supplied source map. Note: The resolution for the\n\t   * resulting mappings is the minimium of this map and the supplied map.\n\t   *\n\t   * @param aSourceMapConsumer The source map to be applied.\n\t   * @param aSourceFile Optional. The filename of the source file.\n\t   *        If omitted, SourceMapConsumer's file property will be used.\n\t   */\n\t  SourceMapGenerator.prototype.applySourceMap =\n\t    function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile) {\n\t      // If aSourceFile is omitted, we will use the file property of the SourceMap\n\t      if (!aSourceFile) {\n\t        aSourceFile = aSourceMapConsumer.file;\n\t      }\n\t      var sourceRoot = this._sourceRoot;\n\t      // Make \"aSourceFile\" relative if an absolute Url is passed.\n\t      if (sourceRoot) {\n\t        aSourceFile = util.relative(sourceRoot, aSourceFile);\n\t      }\n\t      // Applying the SourceMap can add and remove items from the sources and\n\t      // the names array.\n\t      var newSources = new ArraySet();\n\t      var newNames = new ArraySet();\n\n\t      // Find mappings for the \"aSourceFile\"\n\t      this._mappings.forEach(function (mapping) {\n\t        if (mapping.source === aSourceFile && mapping.originalLine) {\n\t          // Check if it can be mapped by the source map, then update the mapping.\n\t          var original = aSourceMapConsumer.originalPositionFor({\n\t            line: mapping.originalLine,\n\t            column: mapping.originalColumn\n\t          });\n\t          if (original.source !== null) {\n\t            // Copy mapping\n\t            if (sourceRoot) {\n\t              mapping.source = util.relative(sourceRoot, original.source);\n\t            } else {\n\t              mapping.source = original.source;\n\t            }\n\t            mapping.originalLine = original.line;\n\t            mapping.originalColumn = original.column;\n\t            if (original.name !== null && mapping.name !== null) {\n\t              // Only use the identifier name if it's an identifier\n\t              // in both SourceMaps\n\t              mapping.name = original.name;\n\t            }\n\t          }\n\t        }\n\n\t        var source = mapping.source;\n\t        if (source && !newSources.has(source)) {\n\t          newSources.add(source);\n\t        }\n\n\t        var name = mapping.name;\n\t        if (name && !newNames.has(name)) {\n\t          newNames.add(name);\n\t        }\n\n\t      }, this);\n\t      this._sources = newSources;\n\t      this._names = newNames;\n\n\t      // Copy sourcesContents of applied map.\n\t      aSourceMapConsumer.sources.forEach(function (sourceFile) {\n\t        var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n\t        if (content) {\n\t          if (sourceRoot) {\n\t            sourceFile = util.relative(sourceRoot, sourceFile);\n\t          }\n\t          this.setSourceContent(sourceFile, content);\n\t        }\n\t      }, this);\n\t    };\n\n\t  /**\n\t   * A mapping can have one of the three levels of data:\n\t   *\n\t   *   1. Just the generated position.\n\t   *   2. The Generated position, original position, and original source.\n\t   *   3. Generated and original position, original source, as well as a name\n\t   *      token.\n\t   *\n\t   * To maintain consistency, we validate that any new mapping being added falls\n\t   * in to one of these categories.\n\t   */\n\t  SourceMapGenerator.prototype._validateMapping =\n\t    function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,\n\t                                                aName) {\n\t      if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n\t          && aGenerated.line > 0 && aGenerated.column >= 0\n\t          && !aOriginal && !aSource && !aName) {\n\t        // Case 1.\n\t        return;\n\t      }\n\t      else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n\t               && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n\t               && aGenerated.line > 0 && aGenerated.column >= 0\n\t               && aOriginal.line > 0 && aOriginal.column >= 0\n\t               && aSource) {\n\t        // Cases 2 and 3.\n\t        return;\n\t      }\n\t      else {\n\t        throw new Error('Invalid mapping: ' + JSON.stringify({\n\t          generated: aGenerated,\n\t          source: aSource,\n\t          orginal: aOriginal,\n\t          name: aName\n\t        }));\n\t      }\n\t    };\n\n\t  /**\n\t   * Serialize the accumulated mappings in to the stream of base 64 VLQs\n\t   * specified by the source map format.\n\t   */\n\t  SourceMapGenerator.prototype._serializeMappings =\n\t    function SourceMapGenerator_serializeMappings() {\n\t      var previousGeneratedColumn = 0;\n\t      var previousGeneratedLine = 1;\n\t      var previousOriginalColumn = 0;\n\t      var previousOriginalLine = 0;\n\t      var previousName = 0;\n\t      var previousSource = 0;\n\t      var result = '';\n\t      var mapping;\n\n\t      // The mappings must be guaranteed to be in sorted order before we start\n\t      // serializing them or else the generated line numbers (which are defined\n\t      // via the ';' separators) will be all messed up. Note: it might be more\n\t      // performant to maintain the sorting as we insert them, rather than as we\n\t      // serialize them, but the big O is the same either way.\n\t      this._mappings.sort(util.compareByGeneratedPositions);\n\n\t      for (var i = 0, len = this._mappings.length; i < len; i++) {\n\t        mapping = this._mappings[i];\n\n\t        if (mapping.generatedLine !== previousGeneratedLine) {\n\t          previousGeneratedColumn = 0;\n\t          while (mapping.generatedLine !== previousGeneratedLine) {\n\t            result += ';';\n\t            previousGeneratedLine++;\n\t          }\n\t        }\n\t        else {\n\t          if (i > 0) {\n\t            if (!util.compareByGeneratedPositions(mapping, this._mappings[i - 1])) {\n\t              continue;\n\t            }\n\t            result += ',';\n\t          }\n\t        }\n\n\t        result += base64VLQ.encode(mapping.generatedColumn\n\t                                   - previousGeneratedColumn);\n\t        previousGeneratedColumn = mapping.generatedColumn;\n\n\t        if (mapping.source) {\n\t          result += base64VLQ.encode(this._sources.indexOf(mapping.source)\n\t                                     - previousSource);\n\t          previousSource = this._sources.indexOf(mapping.source);\n\n\t          // lines are stored 0-based in SourceMap spec version 3\n\t          result += base64VLQ.encode(mapping.originalLine - 1\n\t                                     - previousOriginalLine);\n\t          previousOriginalLine = mapping.originalLine - 1;\n\n\t          result += base64VLQ.encode(mapping.originalColumn\n\t                                     - previousOriginalColumn);\n\t          previousOriginalColumn = mapping.originalColumn;\n\n\t          if (mapping.name) {\n\t            result += base64VLQ.encode(this._names.indexOf(mapping.name)\n\t                                       - previousName);\n\t            previousName = this._names.indexOf(mapping.name);\n\t          }\n\t        }\n\t      }\n\n\t      return result;\n\t    };\n\n\t  SourceMapGenerator.prototype._generateSourcesContent =\n\t    function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n\t      return aSources.map(function (source) {\n\t        if (!this._sourcesContents) {\n\t          return null;\n\t        }\n\t        if (aSourceRoot) {\n\t          source = util.relative(aSourceRoot, source);\n\t        }\n\t        var key = util.toSetString(source);\n\t        return Object.prototype.hasOwnProperty.call(this._sourcesContents,\n\t                                                    key)\n\t          ? this._sourcesContents[key]\n\t          : null;\n\t      }, this);\n\t    };\n\n\t  /**\n\t   * Externalize the source map.\n\t   */\n\t  SourceMapGenerator.prototype.toJSON =\n\t    function SourceMapGenerator_toJSON() {\n\t      var map = {\n\t        version: this._version,\n\t        file: this._file,\n\t        sources: this._sources.toArray(),\n\t        names: this._names.toArray(),\n\t        mappings: this._serializeMappings()\n\t      };\n\t      if (this._sourceRoot) {\n\t        map.sourceRoot = this._sourceRoot;\n\t      }\n\t      if (this._sourcesContents) {\n\t        map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n\t      }\n\n\t      return map;\n\t    };\n\n\t  /**\n\t   * Render the source map being generated to a string.\n\t   */\n\t  SourceMapGenerator.prototype.toString =\n\t    function SourceMapGenerator_toString() {\n\t      return JSON.stringify(this);\n\t    };\n\n\t  exports.SourceMapGenerator = SourceMapGenerator;\n\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ },\n/* 33 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t *\n\t * Based on the Base 64 VLQ implementation in Closure Compiler:\n\t * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n\t *\n\t * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n\t * Redistribution and use in source and binary forms, with or without\n\t * modification, are permitted provided that the following conditions are\n\t * met:\n\t *\n\t *  * Redistributions of source code must retain the above copyright\n\t *    notice, this list of conditions and the following disclaimer.\n\t *  * Redistributions in binary form must reproduce the above\n\t *    copyright notice, this list of conditions and the following\n\t *    disclaimer in the documentation and/or other materials provided\n\t *    with the distribution.\n\t *  * Neither the name of Google Inc. nor the names of its\n\t *    contributors may be used to endorse or promote products derived\n\t *    from this software without specific prior written permission.\n\t *\n\t * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\t * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\t * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n\t * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n\t * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n\t * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n\t * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n\t * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n\t * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n\t * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t */\n\tif (false) {\n\t    var define = require('amdefine')(module, require);\n\t}\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) {\n\n\t  var base64 = __webpack_require__(34);\n\n\t  // A single base 64 digit can contain 6 bits of data. For the base 64 variable\n\t  // length quantities we use in the source map spec, the first bit is the sign,\n\t  // the next four bits are the actual value, and the 6th bit is the\n\t  // continuation bit. The continuation bit tells us whether there are more\n\t  // digits in this value following this digit.\n\t  //\n\t  //   Continuation\n\t  //   |    Sign\n\t  //   |    |\n\t  //   V    V\n\t  //   101011\n\n\t  var VLQ_BASE_SHIFT = 5;\n\n\t  // binary: 100000\n\t  var VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n\t  // binary: 011111\n\t  var VLQ_BASE_MASK = VLQ_BASE - 1;\n\n\t  // binary: 100000\n\t  var VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n\t  /**\n\t   * Converts from a two-complement value to a value where the sign bit is\n\t   * is placed in the least significant bit.  For example, as decimals:\n\t   *   1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n\t   *   2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n\t   */\n\t  function toVLQSigned(aValue) {\n\t    return aValue < 0\n\t      ? ((-aValue) << 1) + 1\n\t      : (aValue << 1) + 0;\n\t  }\n\n\t  /**\n\t   * Converts to a two-complement value from a value where the sign bit is\n\t   * is placed in the least significant bit.  For example, as decimals:\n\t   *   2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n\t   *   4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n\t   */\n\t  function fromVLQSigned(aValue) {\n\t    var isNegative = (aValue & 1) === 1;\n\t    var shifted = aValue >> 1;\n\t    return isNegative\n\t      ? -shifted\n\t      : shifted;\n\t  }\n\n\t  /**\n\t   * Returns the base 64 VLQ encoded value.\n\t   */\n\t  exports.encode = function base64VLQ_encode(aValue) {\n\t    var encoded = \"\";\n\t    var digit;\n\n\t    var vlq = toVLQSigned(aValue);\n\n\t    do {\n\t      digit = vlq & VLQ_BASE_MASK;\n\t      vlq >>>= VLQ_BASE_SHIFT;\n\t      if (vlq > 0) {\n\t        // There are still more digits in this value, so we must make sure the\n\t        // continuation bit is marked.\n\t        digit |= VLQ_CONTINUATION_BIT;\n\t      }\n\t      encoded += base64.encode(digit);\n\t    } while (vlq > 0);\n\n\t    return encoded;\n\t  };\n\n\t  /**\n\t   * Decodes the next base 64 VLQ value from the given string and returns the\n\t   * value and the rest of the string.\n\t   */\n\t  exports.decode = function base64VLQ_decode(aStr) {\n\t    var i = 0;\n\t    var strLen = aStr.length;\n\t    var result = 0;\n\t    var shift = 0;\n\t    var continuation, digit;\n\n\t    do {\n\t      if (i >= strLen) {\n\t        throw new Error(\"Expected more digits in base 64 VLQ value.\");\n\t      }\n\t      digit = base64.decode(aStr.charAt(i++));\n\t      continuation = !!(digit & VLQ_CONTINUATION_BIT);\n\t      digit &= VLQ_BASE_MASK;\n\t      result = result + (digit << shift);\n\t      shift += VLQ_BASE_SHIFT;\n\t    } while (continuation);\n\n\t    return {\n\t      value: fromVLQSigned(result),\n\t      rest: aStr.slice(i)\n\t    };\n\t  };\n\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\tif (false) {\n\t    var define = require('amdefine')(module, require);\n\t}\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) {\n\n\t  var charToIntMap = {};\n\t  var intToCharMap = {};\n\n\t  'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\n\t    .split('')\n\t    .forEach(function (ch, index) {\n\t      charToIntMap[ch] = index;\n\t      intToCharMap[index] = ch;\n\t    });\n\n\t  /**\n\t   * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n\t   */\n\t  exports.encode = function base64_encode(aNumber) {\n\t    if (aNumber in intToCharMap) {\n\t      return intToCharMap[aNumber];\n\t    }\n\t    throw new TypeError(\"Must be between 0 and 63: \" + aNumber);\n\t  };\n\n\t  /**\n\t   * Decode a single base 64 digit to an integer.\n\t   */\n\t  exports.decode = function base64_decode(aChar) {\n\t    if (aChar in charToIntMap) {\n\t      return charToIntMap[aChar];\n\t    }\n\t    throw new TypeError(\"Not a valid base 64 digit: \" + aChar);\n\t  };\n\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\tif (false) {\n\t    var define = require('amdefine')(module, require);\n\t}\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) {\n\n\t  /**\n\t   * This is a helper function for getting values from parameter/options\n\t   * objects.\n\t   *\n\t   * @param args The object we are extracting values from\n\t   * @param name The name of the property we are getting.\n\t   * @param defaultValue An optional value to return if the property is missing\n\t   * from the object. If this is not specified and the property is missing, an\n\t   * error will be thrown.\n\t   */\n\t  function getArg(aArgs, aName, aDefaultValue) {\n\t    if (aName in aArgs) {\n\t      return aArgs[aName];\n\t    } else if (arguments.length === 3) {\n\t      return aDefaultValue;\n\t    } else {\n\t      throw new Error('\"' + aName + '\" is a required argument.');\n\t    }\n\t  }\n\t  exports.getArg = getArg;\n\n\t  var urlRegexp = /([\\w+\\-.]+):\\/\\/((\\w+:\\w+)@)?([\\w.]+)?(:(\\d+))?(\\S+)?/;\n\t  var dataUrlRegexp = /^data:.+\\,.+/;\n\n\t  function urlParse(aUrl) {\n\t    var match = aUrl.match(urlRegexp);\n\t    if (!match) {\n\t      return null;\n\t    }\n\t    return {\n\t      scheme: match[1],\n\t      auth: match[3],\n\t      host: match[4],\n\t      port: match[6],\n\t      path: match[7]\n\t    };\n\t  }\n\t  exports.urlParse = urlParse;\n\n\t  function urlGenerate(aParsedUrl) {\n\t    var url = aParsedUrl.scheme + \"://\";\n\t    if (aParsedUrl.auth) {\n\t      url += aParsedUrl.auth + \"@\"\n\t    }\n\t    if (aParsedUrl.host) {\n\t      url += aParsedUrl.host;\n\t    }\n\t    if (aParsedUrl.port) {\n\t      url += \":\" + aParsedUrl.port\n\t    }\n\t    if (aParsedUrl.path) {\n\t      url += aParsedUrl.path;\n\t    }\n\t    return url;\n\t  }\n\t  exports.urlGenerate = urlGenerate;\n\n\t  function join(aRoot, aPath) {\n\t    var url;\n\n\t    if (aPath.match(urlRegexp) || aPath.match(dataUrlRegexp)) {\n\t      return aPath;\n\t    }\n\n\t    if (aPath.charAt(0) === '/' && (url = urlParse(aRoot))) {\n\t      url.path = aPath;\n\t      return urlGenerate(url);\n\t    }\n\n\t    return aRoot.replace(/\\/$/, '') + '/' + aPath;\n\t  }\n\t  exports.join = join;\n\n\t  /**\n\t   * Because behavior goes wacky when you set `__proto__` on objects, we\n\t   * have to prefix all the strings in our set with an arbitrary character.\n\t   *\n\t   * See https://github.com/mozilla/source-map/pull/31 and\n\t   * https://github.com/mozilla/source-map/issues/30\n\t   *\n\t   * @param String aStr\n\t   */\n\t  function toSetString(aStr) {\n\t    return '$' + aStr;\n\t  }\n\t  exports.toSetString = toSetString;\n\n\t  function fromSetString(aStr) {\n\t    return aStr.substr(1);\n\t  }\n\t  exports.fromSetString = fromSetString;\n\n\t  function relative(aRoot, aPath) {\n\t    aRoot = aRoot.replace(/\\/$/, '');\n\n\t    var url = urlParse(aRoot);\n\t    if (aPath.charAt(0) == \"/\" && url && url.path == \"/\") {\n\t      return aPath.slice(1);\n\t    }\n\n\t    return aPath.indexOf(aRoot + '/') === 0\n\t      ? aPath.substr(aRoot.length + 1)\n\t      : aPath;\n\t  }\n\t  exports.relative = relative;\n\n\t  function strcmp(aStr1, aStr2) {\n\t    var s1 = aStr1 || \"\";\n\t    var s2 = aStr2 || \"\";\n\t    return (s1 > s2) - (s1 < s2);\n\t  }\n\n\t  /**\n\t   * Comparator between two mappings where the original positions are compared.\n\t   *\n\t   * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t   * mappings with the same original source/line/column, but different generated\n\t   * line and column the same. Useful when searching for a mapping with a\n\t   * stubbed out mapping.\n\t   */\n\t  function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n\t    var cmp;\n\n\t    cmp = strcmp(mappingA.source, mappingB.source);\n\t    if (cmp) {\n\t      return cmp;\n\t    }\n\n\t    cmp = mappingA.originalLine - mappingB.originalLine;\n\t    if (cmp) {\n\t      return cmp;\n\t    }\n\n\t    cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t    if (cmp || onlyCompareOriginal) {\n\t      return cmp;\n\t    }\n\n\t    cmp = strcmp(mappingA.name, mappingB.name);\n\t    if (cmp) {\n\t      return cmp;\n\t    }\n\n\t    cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t    if (cmp) {\n\t      return cmp;\n\t    }\n\n\t    return mappingA.generatedColumn - mappingB.generatedColumn;\n\t  };\n\t  exports.compareByOriginalPositions = compareByOriginalPositions;\n\n\t  /**\n\t   * Comparator between two mappings where the generated positions are\n\t   * compared.\n\t   *\n\t   * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n\t   * mappings with the same generated line and column, but different\n\t   * source/name/original line and column the same. Useful when searching for a\n\t   * mapping with a stubbed out mapping.\n\t   */\n\t  function compareByGeneratedPositions(mappingA, mappingB, onlyCompareGenerated) {\n\t    var cmp;\n\n\t    cmp = mappingA.generatedLine - mappingB.generatedLine;\n\t    if (cmp) {\n\t      return cmp;\n\t    }\n\n\t    cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n\t    if (cmp || onlyCompareGenerated) {\n\t      return cmp;\n\t    }\n\n\t    cmp = strcmp(mappingA.source, mappingB.source);\n\t    if (cmp) {\n\t      return cmp;\n\t    }\n\n\t    cmp = mappingA.originalLine - mappingB.originalLine;\n\t    if (cmp) {\n\t      return cmp;\n\t    }\n\n\t    cmp = mappingA.originalColumn - mappingB.originalColumn;\n\t    if (cmp) {\n\t      return cmp;\n\t    }\n\n\t    return strcmp(mappingA.name, mappingB.name);\n\t  };\n\t  exports.compareByGeneratedPositions = compareByGeneratedPositions;\n\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\tif (false) {\n\t    var define = require('amdefine')(module, require);\n\t}\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) {\n\n\t  var util = __webpack_require__(35);\n\n\t  /**\n\t   * A data structure which is a combination of an array and a set. Adding a new\n\t   * member is O(1), testing for membership is O(1), and finding the index of an\n\t   * element is O(1). Removing elements from the set is not supported. Only\n\t   * strings are supported for membership.\n\t   */\n\t  function ArraySet() {\n\t    this._array = [];\n\t    this._set = {};\n\t  }\n\n\t  /**\n\t   * Static method for creating ArraySet instances from an existing array.\n\t   */\n\t  ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n\t    var set = new ArraySet();\n\t    for (var i = 0, len = aArray.length; i < len; i++) {\n\t      set.add(aArray[i], aAllowDuplicates);\n\t    }\n\t    return set;\n\t  };\n\n\t  /**\n\t   * Add the given string to this set.\n\t   *\n\t   * @param String aStr\n\t   */\n\t  ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n\t    var isDuplicate = this.has(aStr);\n\t    var idx = this._array.length;\n\t    if (!isDuplicate || aAllowDuplicates) {\n\t      this._array.push(aStr);\n\t    }\n\t    if (!isDuplicate) {\n\t      this._set[util.toSetString(aStr)] = idx;\n\t    }\n\t  };\n\n\t  /**\n\t   * Is the given string a member of this set?\n\t   *\n\t   * @param String aStr\n\t   */\n\t  ArraySet.prototype.has = function ArraySet_has(aStr) {\n\t    return Object.prototype.hasOwnProperty.call(this._set,\n\t                                                util.toSetString(aStr));\n\t  };\n\n\t  /**\n\t   * What is the index of the given string in the array?\n\t   *\n\t   * @param String aStr\n\t   */\n\t  ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n\t    if (this.has(aStr)) {\n\t      return this._set[util.toSetString(aStr)];\n\t    }\n\t    throw new Error('\"' + aStr + '\" is not in the set.');\n\t  };\n\n\t  /**\n\t   * What is the element at the given index?\n\t   *\n\t   * @param Number aIdx\n\t   */\n\t  ArraySet.prototype.at = function ArraySet_at(aIdx) {\n\t    if (aIdx >= 0 && aIdx < this._array.length) {\n\t      return this._array[aIdx];\n\t    }\n\t    throw new Error('No element indexed by ' + aIdx);\n\t  };\n\n\t  /**\n\t   * Returns the array representation of this set (which has the proper indices\n\t   * indicated by indexOf). Note that this is a copy of the internal array used\n\t   * for storing the members so that no one can mess with internal state.\n\t   */\n\t  ArraySet.prototype.toArray = function ArraySet_toArray() {\n\t    return this._array.slice();\n\t  };\n\n\t  exports.ArraySet = ArraySet;\n\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ },\n/* 37 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\tif (false) {\n\t    var define = require('amdefine')(module, require);\n\t}\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) {\n\n\t  var util = __webpack_require__(35);\n\t  var binarySearch = __webpack_require__(38);\n\t  var ArraySet = __webpack_require__(36).ArraySet;\n\t  var base64VLQ = __webpack_require__(33);\n\n\t  /**\n\t   * A SourceMapConsumer instance represents a parsed source map which we can\n\t   * query for information about the original file positions by giving it a file\n\t   * position in the generated source.\n\t   *\n\t   * The only parameter is the raw source map (either as a JSON string, or\n\t   * already parsed to an object). According to the spec, source maps have the\n\t   * following attributes:\n\t   *\n\t   *   - version: Which version of the source map spec this map is following.\n\t   *   - sources: An array of URLs to the original source files.\n\t   *   - names: An array of identifiers which can be referrenced by individual mappings.\n\t   *   - sourceRoot: Optional. The URL root from which all sources are relative.\n\t   *   - sourcesContent: Optional. An array of contents of the original source files.\n\t   *   - mappings: A string of base64 VLQs which contain the actual mappings.\n\t   *   - file: The generated file this source map is associated with.\n\t   *\n\t   * Here is an example source map, taken from the source map spec[0]:\n\t   *\n\t   *     {\n\t   *       version : 3,\n\t   *       file: \"out.js\",\n\t   *       sourceRoot : \"\",\n\t   *       sources: [\"foo.js\", \"bar.js\"],\n\t   *       names: [\"src\", \"maps\", \"are\", \"fun\"],\n\t   *       mappings: \"AA,AB;;ABCDE;\"\n\t   *     }\n\t   *\n\t   * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n\t   */\n\t  function SourceMapConsumer(aSourceMap) {\n\t    var sourceMap = aSourceMap;\n\t    if (typeof aSourceMap === 'string') {\n\t      sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n\t    }\n\n\t    var version = util.getArg(sourceMap, 'version');\n\t    var sources = util.getArg(sourceMap, 'sources');\n\t    // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n\t    // requires the array) to play nice here.\n\t    var names = util.getArg(sourceMap, 'names', []);\n\t    var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n\t    var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n\t    var mappings = util.getArg(sourceMap, 'mappings');\n\t    var file = util.getArg(sourceMap, 'file', null);\n\n\t    // Once again, Sass deviates from the spec and supplies the version as a\n\t    // string rather than a number, so we use loose equality checking here.\n\t    if (version != this._version) {\n\t      throw new Error('Unsupported version: ' + version);\n\t    }\n\n\t    // Pass `true` below to allow duplicate names and sources. While source maps\n\t    // are intended to be compressed and deduplicated, the TypeScript compiler\n\t    // sometimes generates source maps with duplicates in them. See Github issue\n\t    // #72 and bugzil.la/889492.\n\t    this._names = ArraySet.fromArray(names, true);\n\t    this._sources = ArraySet.fromArray(sources, true);\n\n\t    this.sourceRoot = sourceRoot;\n\t    this.sourcesContent = sourcesContent;\n\t    this._mappings = mappings;\n\t    this.file = file;\n\t  }\n\n\t  /**\n\t   * Create a SourceMapConsumer from a SourceMapGenerator.\n\t   *\n\t   * @param SourceMapGenerator aSourceMap\n\t   *        The source map that will be consumed.\n\t   * @returns SourceMapConsumer\n\t   */\n\t  SourceMapConsumer.fromSourceMap =\n\t    function SourceMapConsumer_fromSourceMap(aSourceMap) {\n\t      var smc = Object.create(SourceMapConsumer.prototype);\n\n\t      smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n\t      smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n\t      smc.sourceRoot = aSourceMap._sourceRoot;\n\t      smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n\t                                                              smc.sourceRoot);\n\t      smc.file = aSourceMap._file;\n\n\t      smc.__generatedMappings = aSourceMap._mappings.slice()\n\t        .sort(util.compareByGeneratedPositions);\n\t      smc.__originalMappings = aSourceMap._mappings.slice()\n\t        .sort(util.compareByOriginalPositions);\n\n\t      return smc;\n\t    };\n\n\t  /**\n\t   * The version of the source mapping spec that we are consuming.\n\t   */\n\t  SourceMapConsumer.prototype._version = 3;\n\n\t  /**\n\t   * The list of original sources.\n\t   */\n\t  Object.defineProperty(SourceMapConsumer.prototype, 'sources', {\n\t    get: function () {\n\t      return this._sources.toArray().map(function (s) {\n\t        return this.sourceRoot ? util.join(this.sourceRoot, s) : s;\n\t      }, this);\n\t    }\n\t  });\n\n\t  // `__generatedMappings` and `__originalMappings` are arrays that hold the\n\t  // parsed mapping coordinates from the source map's \"mappings\" attribute. They\n\t  // are lazily instantiated, accessed via the `_generatedMappings` and\n\t  // `_originalMappings` getters respectively, and we only parse the mappings\n\t  // and create these arrays once queried for a source location. We jump through\n\t  // these hoops because there can be many thousands of mappings, and parsing\n\t  // them is expensive, so we only want to do it if we must.\n\t  //\n\t  // Each object in the arrays is of the form:\n\t  //\n\t  //     {\n\t  //       generatedLine: The line number in the generated code,\n\t  //       generatedColumn: The column number in the generated code,\n\t  //       source: The path to the original source file that generated this\n\t  //               chunk of code,\n\t  //       originalLine: The line number in the original source that\n\t  //                     corresponds to this chunk of generated code,\n\t  //       originalColumn: The column number in the original source that\n\t  //                       corresponds to this chunk of generated code,\n\t  //       name: The name of the original symbol which generated this chunk of\n\t  //             code.\n\t  //     }\n\t  //\n\t  // All properties except for `generatedLine` and `generatedColumn` can be\n\t  // `null`.\n\t  //\n\t  // `_generatedMappings` is ordered by the generated positions.\n\t  //\n\t  // `_originalMappings` is ordered by the original positions.\n\n\t  SourceMapConsumer.prototype.__generatedMappings = null;\n\t  Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n\t    get: function () {\n\t      if (!this.__generatedMappings) {\n\t        this.__generatedMappings = [];\n\t        this.__originalMappings = [];\n\t        this._parseMappings(this._mappings, this.sourceRoot);\n\t      }\n\n\t      return this.__generatedMappings;\n\t    }\n\t  });\n\n\t  SourceMapConsumer.prototype.__originalMappings = null;\n\t  Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n\t    get: function () {\n\t      if (!this.__originalMappings) {\n\t        this.__generatedMappings = [];\n\t        this.__originalMappings = [];\n\t        this._parseMappings(this._mappings, this.sourceRoot);\n\t      }\n\n\t      return this.__originalMappings;\n\t    }\n\t  });\n\n\t  /**\n\t   * Parse the mappings in a string in to a data structure which we can easily\n\t   * query (the ordered arrays in the `this.__generatedMappings` and\n\t   * `this.__originalMappings` properties).\n\t   */\n\t  SourceMapConsumer.prototype._parseMappings =\n\t    function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n\t      var generatedLine = 1;\n\t      var previousGeneratedColumn = 0;\n\t      var previousOriginalLine = 0;\n\t      var previousOriginalColumn = 0;\n\t      var previousSource = 0;\n\t      var previousName = 0;\n\t      var mappingSeparator = /^[,;]/;\n\t      var str = aStr;\n\t      var mapping;\n\t      var temp;\n\n\t      while (str.length > 0) {\n\t        if (str.charAt(0) === ';') {\n\t          generatedLine++;\n\t          str = str.slice(1);\n\t          previousGeneratedColumn = 0;\n\t        }\n\t        else if (str.charAt(0) === ',') {\n\t          str = str.slice(1);\n\t        }\n\t        else {\n\t          mapping = {};\n\t          mapping.generatedLine = generatedLine;\n\n\t          // Generated column.\n\t          temp = base64VLQ.decode(str);\n\t          mapping.generatedColumn = previousGeneratedColumn + temp.value;\n\t          previousGeneratedColumn = mapping.generatedColumn;\n\t          str = temp.rest;\n\n\t          if (str.length > 0 && !mappingSeparator.test(str.charAt(0))) {\n\t            // Original source.\n\t            temp = base64VLQ.decode(str);\n\t            mapping.source = this._sources.at(previousSource + temp.value);\n\t            previousSource += temp.value;\n\t            str = temp.rest;\n\t            if (str.length === 0 || mappingSeparator.test(str.charAt(0))) {\n\t              throw new Error('Found a source, but no line and column');\n\t            }\n\n\t            // Original line.\n\t            temp = base64VLQ.decode(str);\n\t            mapping.originalLine = previousOriginalLine + temp.value;\n\t            previousOriginalLine = mapping.originalLine;\n\t            // Lines are stored 0-based\n\t            mapping.originalLine += 1;\n\t            str = temp.rest;\n\t            if (str.length === 0 || mappingSeparator.test(str.charAt(0))) {\n\t              throw new Error('Found a source and line, but no column');\n\t            }\n\n\t            // Original column.\n\t            temp = base64VLQ.decode(str);\n\t            mapping.originalColumn = previousOriginalColumn + temp.value;\n\t            previousOriginalColumn = mapping.originalColumn;\n\t            str = temp.rest;\n\n\t            if (str.length > 0 && !mappingSeparator.test(str.charAt(0))) {\n\t              // Original name.\n\t              temp = base64VLQ.decode(str);\n\t              mapping.name = this._names.at(previousName + temp.value);\n\t              previousName += temp.value;\n\t              str = temp.rest;\n\t            }\n\t          }\n\n\t          this.__generatedMappings.push(mapping);\n\t          if (typeof mapping.originalLine === 'number') {\n\t            this.__originalMappings.push(mapping);\n\t          }\n\t        }\n\t      }\n\n\t      this.__originalMappings.sort(util.compareByOriginalPositions);\n\t    };\n\n\t  /**\n\t   * Find the mapping that best matches the hypothetical \"needle\" mapping that\n\t   * we are searching for in the given \"haystack\" of mappings.\n\t   */\n\t  SourceMapConsumer.prototype._findMapping =\n\t    function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n\t                                           aColumnName, aComparator) {\n\t      // To return the position we are searching for, we must first find the\n\t      // mapping for the given position and then return the opposite position it\n\t      // points to. Because the mappings are sorted, we can use binary search to\n\t      // find the best mapping.\n\n\t      if (aNeedle[aLineName] <= 0) {\n\t        throw new TypeError('Line must be greater than or equal to 1, got '\n\t                            + aNeedle[aLineName]);\n\t      }\n\t      if (aNeedle[aColumnName] < 0) {\n\t        throw new TypeError('Column must be greater than or equal to 0, got '\n\t                            + aNeedle[aColumnName]);\n\t      }\n\n\t      return binarySearch.search(aNeedle, aMappings, aComparator);\n\t    };\n\n\t  /**\n\t   * Returns the original source, line, and column information for the generated\n\t   * source's line and column positions provided. The only argument is an object\n\t   * with the following properties:\n\t   *\n\t   *   - line: The line number in the generated source.\n\t   *   - column: The column number in the generated source.\n\t   *\n\t   * and an object is returned with the following properties:\n\t   *\n\t   *   - source: The original source file, or null.\n\t   *   - line: The line number in the original source, or null.\n\t   *   - column: The column number in the original source, or null.\n\t   *   - name: The original identifier, or null.\n\t   */\n\t  SourceMapConsumer.prototype.originalPositionFor =\n\t    function SourceMapConsumer_originalPositionFor(aArgs) {\n\t      var needle = {\n\t        generatedLine: util.getArg(aArgs, 'line'),\n\t        generatedColumn: util.getArg(aArgs, 'column')\n\t      };\n\n\t      var mapping = this._findMapping(needle,\n\t                                      this._generatedMappings,\n\t                                      \"generatedLine\",\n\t                                      \"generatedColumn\",\n\t                                      util.compareByGeneratedPositions);\n\n\t      if (mapping) {\n\t        var source = util.getArg(mapping, 'source', null);\n\t        if (source && this.sourceRoot) {\n\t          source = util.join(this.sourceRoot, source);\n\t        }\n\t        return {\n\t          source: source,\n\t          line: util.getArg(mapping, 'originalLine', null),\n\t          column: util.getArg(mapping, 'originalColumn', null),\n\t          name: util.getArg(mapping, 'name', null)\n\t        };\n\t      }\n\n\t      return {\n\t        source: null,\n\t        line: null,\n\t        column: null,\n\t        name: null\n\t      };\n\t    };\n\n\t  /**\n\t   * Returns the original source content. The only argument is the url of the\n\t   * original source file. Returns null if no original source content is\n\t   * availible.\n\t   */\n\t  SourceMapConsumer.prototype.sourceContentFor =\n\t    function SourceMapConsumer_sourceContentFor(aSource) {\n\t      if (!this.sourcesContent) {\n\t        return null;\n\t      }\n\n\t      if (this.sourceRoot) {\n\t        aSource = util.relative(this.sourceRoot, aSource);\n\t      }\n\n\t      if (this._sources.has(aSource)) {\n\t        return this.sourcesContent[this._sources.indexOf(aSource)];\n\t      }\n\n\t      var url;\n\t      if (this.sourceRoot\n\t          && (url = util.urlParse(this.sourceRoot))) {\n\t        // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n\t        // many users. We can help them out when they expect file:// URIs to\n\t        // behave like it would if they were running a local HTTP server. See\n\t        // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n\t        var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n\t        if (url.scheme == \"file\"\n\t            && this._sources.has(fileUriAbsPath)) {\n\t          return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n\t        }\n\n\t        if ((!url.path || url.path == \"/\")\n\t            && this._sources.has(\"/\" + aSource)) {\n\t          return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n\t        }\n\t      }\n\n\t      throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n\t    };\n\n\t  /**\n\t   * Returns the generated line and column information for the original source,\n\t   * line, and column positions provided. The only argument is an object with\n\t   * the following properties:\n\t   *\n\t   *   - source: The filename of the original source.\n\t   *   - line: The line number in the original source.\n\t   *   - column: The column number in the original source.\n\t   *\n\t   * and an object is returned with the following properties:\n\t   *\n\t   *   - line: The line number in the generated source, or null.\n\t   *   - column: The column number in the generated source, or null.\n\t   */\n\t  SourceMapConsumer.prototype.generatedPositionFor =\n\t    function SourceMapConsumer_generatedPositionFor(aArgs) {\n\t      var needle = {\n\t        source: util.getArg(aArgs, 'source'),\n\t        originalLine: util.getArg(aArgs, 'line'),\n\t        originalColumn: util.getArg(aArgs, 'column')\n\t      };\n\n\t      if (this.sourceRoot) {\n\t        needle.source = util.relative(this.sourceRoot, needle.source);\n\t      }\n\n\t      var mapping = this._findMapping(needle,\n\t                                      this._originalMappings,\n\t                                      \"originalLine\",\n\t                                      \"originalColumn\",\n\t                                      util.compareByOriginalPositions);\n\n\t      if (mapping) {\n\t        return {\n\t          line: util.getArg(mapping, 'generatedLine', null),\n\t          column: util.getArg(mapping, 'generatedColumn', null)\n\t        };\n\t      }\n\n\t      return {\n\t        line: null,\n\t        column: null\n\t      };\n\t    };\n\n\t  SourceMapConsumer.GENERATED_ORDER = 1;\n\t  SourceMapConsumer.ORIGINAL_ORDER = 2;\n\n\t  /**\n\t   * Iterate over each mapping between an original source/line/column and a\n\t   * generated line/column in this source map.\n\t   *\n\t   * @param Function aCallback\n\t   *        The function that is called with each mapping.\n\t   * @param Object aContext\n\t   *        Optional. If specified, this object will be the value of `this` every\n\t   *        time that `aCallback` is called.\n\t   * @param aOrder\n\t   *        Either `SourceMapConsumer.GENERATED_ORDER` or\n\t   *        `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n\t   *        iterate over the mappings sorted by the generated file's line/column\n\t   *        order or the original's source/line/column order, respectively. Defaults to\n\t   *        `SourceMapConsumer.GENERATED_ORDER`.\n\t   */\n\t  SourceMapConsumer.prototype.eachMapping =\n\t    function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n\t      var context = aContext || null;\n\t      var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n\t      var mappings;\n\t      switch (order) {\n\t      case SourceMapConsumer.GENERATED_ORDER:\n\t        mappings = this._generatedMappings;\n\t        break;\n\t      case SourceMapConsumer.ORIGINAL_ORDER:\n\t        mappings = this._originalMappings;\n\t        break;\n\t      default:\n\t        throw new Error(\"Unknown order of iteration.\");\n\t      }\n\n\t      var sourceRoot = this.sourceRoot;\n\t      mappings.map(function (mapping) {\n\t        var source = mapping.source;\n\t        if (source && sourceRoot) {\n\t          source = util.join(sourceRoot, source);\n\t        }\n\t        return {\n\t          source: source,\n\t          generatedLine: mapping.generatedLine,\n\t          generatedColumn: mapping.generatedColumn,\n\t          originalLine: mapping.originalLine,\n\t          originalColumn: mapping.originalColumn,\n\t          name: mapping.name\n\t        };\n\t      }).forEach(aCallback, context);\n\t    };\n\n\t  exports.SourceMapConsumer = SourceMapConsumer;\n\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\tif (false) {\n\t    var define = require('amdefine')(module, require);\n\t}\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) {\n\n\t  /**\n\t   * Recursive implementation of binary search.\n\t   *\n\t   * @param aLow Indices here and lower do not contain the needle.\n\t   * @param aHigh Indices here and higher do not contain the needle.\n\t   * @param aNeedle The element being searched for.\n\t   * @param aHaystack The non-empty array being searched.\n\t   * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n\t   */\n\t  function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare) {\n\t    // This function terminates when one of the following is true:\n\t    //\n\t    //   1. We find the exact element we are looking for.\n\t    //\n\t    //   2. We did not find the exact element, but we can return the next\n\t    //      closest element that is less than that element.\n\t    //\n\t    //   3. We did not find the exact element, and there is no next-closest\n\t    //      element which is less than the one we are searching for, so we\n\t    //      return null.\n\t    var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n\t    var cmp = aCompare(aNeedle, aHaystack[mid], true);\n\t    if (cmp === 0) {\n\t      // Found the element we are looking for.\n\t      return aHaystack[mid];\n\t    }\n\t    else if (cmp > 0) {\n\t      // aHaystack[mid] is greater than our needle.\n\t      if (aHigh - mid > 1) {\n\t        // The element is in the upper half.\n\t        return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare);\n\t      }\n\t      // We did not find an exact match, return the next closest one\n\t      // (termination case 2).\n\t      return aHaystack[mid];\n\t    }\n\t    else {\n\t      // aHaystack[mid] is less than our needle.\n\t      if (mid - aLow > 1) {\n\t        // The element is in the lower half.\n\t        return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare);\n\t      }\n\t      // The exact needle element was not found in this haystack. Determine if\n\t      // we are in termination case (2) or (3) and return the appropriate thing.\n\t      return aLow < 0\n\t        ? null\n\t        : aHaystack[aLow];\n\t    }\n\t  }\n\n\t  /**\n\t   * This is an implementation of binary search which will always try and return\n\t   * the next lowest value checked if there is no exact hit. This is because\n\t   * mappings between original and generated line/col pairs are single points,\n\t   * and there is an implicit region between each of them, so a miss just means\n\t   * that you aren't on the very start of a region.\n\t   *\n\t   * @param aNeedle The element you are looking for.\n\t   * @param aHaystack The array that is being searched.\n\t   * @param aCompare A function which takes the needle and an element in the\n\t   *     array and returns -1, 0, or 1 depending on whether the needle is less\n\t   *     than, equal to, or greater than the element, respectively.\n\t   */\n\t  exports.search = function search(aNeedle, aHaystack, aCompare) {\n\t    return aHaystack.length > 0\n\t      ? recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, aCompare)\n\t      : null;\n\t  };\n\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */\n\t/*\n\t * Copyright 2011 Mozilla Foundation and contributors\n\t * Licensed under the New BSD license. See LICENSE or:\n\t * http://opensource.org/licenses/BSD-3-Clause\n\t */\n\tif (false) {\n\t    var define = require('amdefine')(module, require);\n\t}\n\t!(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) {\n\n\t  var SourceMapGenerator = __webpack_require__(32).SourceMapGenerator;\n\t  var util = __webpack_require__(35);\n\n\t  /**\n\t   * SourceNodes provide a way to abstract over interpolating/concatenating\n\t   * snippets of generated JavaScript source code while maintaining the line and\n\t   * column information associated with the original source code.\n\t   *\n\t   * @param aLine The original line number.\n\t   * @param aColumn The original column number.\n\t   * @param aSource The original source's filename.\n\t   * @param aChunks Optional. An array of strings which are snippets of\n\t   *        generated JS, or other SourceNodes.\n\t   * @param aName The original identifier.\n\t   */\n\t  function SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n\t    this.children = [];\n\t    this.sourceContents = {};\n\t    this.line = aLine === undefined ? null : aLine;\n\t    this.column = aColumn === undefined ? null : aColumn;\n\t    this.source = aSource === undefined ? null : aSource;\n\t    this.name = aName === undefined ? null : aName;\n\t    if (aChunks != null) this.add(aChunks);\n\t  }\n\n\t  /**\n\t   * Creates a SourceNode from generated code and a SourceMapConsumer.\n\t   *\n\t   * @param aGeneratedCode The generated code\n\t   * @param aSourceMapConsumer The SourceMap for the generated code\n\t   */\n\t  SourceNode.fromStringWithSourceMap =\n\t    function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer) {\n\t      // The SourceNode we want to fill with the generated code\n\t      // and the SourceMap\n\t      var node = new SourceNode();\n\n\t      // The generated code\n\t      // Processed fragments are removed from this array.\n\t      var remainingLines = aGeneratedCode.split('\\n');\n\n\t      // We need to remember the position of \"remainingLines\"\n\t      var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\n\t      // The generate SourceNodes we need a code range.\n\t      // To extract it current and last mapping is used.\n\t      // Here we store the last mapping.\n\t      var lastMapping = null;\n\n\t      aSourceMapConsumer.eachMapping(function (mapping) {\n\t        if (lastMapping === null) {\n\t          // We add the generated code until the first mapping\n\t          // to the SourceNode without any mapping.\n\t          // Each line is added as separate string.\n\t          while (lastGeneratedLine < mapping.generatedLine) {\n\t            node.add(remainingLines.shift() + \"\\n\");\n\t            lastGeneratedLine++;\n\t          }\n\t          if (lastGeneratedColumn < mapping.generatedColumn) {\n\t            var nextLine = remainingLines[0];\n\t            node.add(nextLine.substr(0, mapping.generatedColumn));\n\t            remainingLines[0] = nextLine.substr(mapping.generatedColumn);\n\t            lastGeneratedColumn = mapping.generatedColumn;\n\t          }\n\t        } else {\n\t          // We add the code from \"lastMapping\" to \"mapping\":\n\t          // First check if there is a new line in between.\n\t          if (lastGeneratedLine < mapping.generatedLine) {\n\t            var code = \"\";\n\t            // Associate full lines with \"lastMapping\"\n\t            do {\n\t              code += remainingLines.shift() + \"\\n\";\n\t              lastGeneratedLine++;\n\t              lastGeneratedColumn = 0;\n\t            } while (lastGeneratedLine < mapping.generatedLine);\n\t            // When we reached the correct line, we add code until we\n\t            // reach the correct column too.\n\t            if (lastGeneratedColumn < mapping.generatedColumn) {\n\t              var nextLine = remainingLines[0];\n\t              code += nextLine.substr(0, mapping.generatedColumn);\n\t              remainingLines[0] = nextLine.substr(mapping.generatedColumn);\n\t              lastGeneratedColumn = mapping.generatedColumn;\n\t            }\n\t            // Create the SourceNode.\n\t            addMappingWithCode(lastMapping, code);\n\t          } else {\n\t            // There is no new line in between.\n\t            // Associate the code between \"lastGeneratedColumn\" and\n\t            // \"mapping.generatedColumn\" with \"lastMapping\"\n\t            var nextLine = remainingLines[0];\n\t            var code = nextLine.substr(0, mapping.generatedColumn -\n\t                                          lastGeneratedColumn);\n\t            remainingLines[0] = nextLine.substr(mapping.generatedColumn -\n\t                                                lastGeneratedColumn);\n\t            lastGeneratedColumn = mapping.generatedColumn;\n\t            addMappingWithCode(lastMapping, code);\n\t          }\n\t        }\n\t        lastMapping = mapping;\n\t      }, this);\n\t      // We have processed all mappings.\n\t      // Associate the remaining code in the current line with \"lastMapping\"\n\t      // and add the remaining lines without any mapping\n\t      addMappingWithCode(lastMapping, remainingLines.join(\"\\n\"));\n\n\t      // Copy sourcesContent into SourceNode\n\t      aSourceMapConsumer.sources.forEach(function (sourceFile) {\n\t        var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n\t        if (content) {\n\t          node.setSourceContent(sourceFile, content);\n\t        }\n\t      });\n\n\t      return node;\n\n\t      function addMappingWithCode(mapping, code) {\n\t        if (mapping === null || mapping.source === undefined) {\n\t          node.add(code);\n\t        } else {\n\t          node.add(new SourceNode(mapping.originalLine,\n\t                                  mapping.originalColumn,\n\t                                  mapping.source,\n\t                                  code,\n\t                                  mapping.name));\n\t        }\n\t      }\n\t    };\n\n\t  /**\n\t   * Add a chunk of generated JS to this source node.\n\t   *\n\t   * @param aChunk A string snippet of generated JS code, another instance of\n\t   *        SourceNode, or an array where each member is one of those things.\n\t   */\n\t  SourceNode.prototype.add = function SourceNode_add(aChunk) {\n\t    if (Array.isArray(aChunk)) {\n\t      aChunk.forEach(function (chunk) {\n\t        this.add(chunk);\n\t      }, this);\n\t    }\n\t    else if (aChunk instanceof SourceNode || typeof aChunk === \"string\") {\n\t      if (aChunk) {\n\t        this.children.push(aChunk);\n\t      }\n\t    }\n\t    else {\n\t      throw new TypeError(\n\t        \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n\t      );\n\t    }\n\t    return this;\n\t  };\n\n\t  /**\n\t   * Add a chunk of generated JS to the beginning of this source node.\n\t   *\n\t   * @param aChunk A string snippet of generated JS code, another instance of\n\t   *        SourceNode, or an array where each member is one of those things.\n\t   */\n\t  SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n\t    if (Array.isArray(aChunk)) {\n\t      for (var i = aChunk.length-1; i >= 0; i--) {\n\t        this.prepend(aChunk[i]);\n\t      }\n\t    }\n\t    else if (aChunk instanceof SourceNode || typeof aChunk === \"string\") {\n\t      this.children.unshift(aChunk);\n\t    }\n\t    else {\n\t      throw new TypeError(\n\t        \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n\t      );\n\t    }\n\t    return this;\n\t  };\n\n\t  /**\n\t   * Walk over the tree of JS snippets in this node and its children. The\n\t   * walking function is called once for each snippet of JS and is passed that\n\t   * snippet and the its original associated source's line/column location.\n\t   *\n\t   * @param aFn The traversal function.\n\t   */\n\t  SourceNode.prototype.walk = function SourceNode_walk(aFn) {\n\t    var chunk;\n\t    for (var i = 0, len = this.children.length; i < len; i++) {\n\t      chunk = this.children[i];\n\t      if (chunk instanceof SourceNode) {\n\t        chunk.walk(aFn);\n\t      }\n\t      else {\n\t        if (chunk !== '') {\n\t          aFn(chunk, { source: this.source,\n\t                       line: this.line,\n\t                       column: this.column,\n\t                       name: this.name });\n\t        }\n\t      }\n\t    }\n\t  };\n\n\t  /**\n\t   * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n\t   * each of `this.children`.\n\t   *\n\t   * @param aSep The separator.\n\t   */\n\t  SourceNode.prototype.join = function SourceNode_join(aSep) {\n\t    var newChildren;\n\t    var i;\n\t    var len = this.children.length;\n\t    if (len > 0) {\n\t      newChildren = [];\n\t      for (i = 0; i < len-1; i++) {\n\t        newChildren.push(this.children[i]);\n\t        newChildren.push(aSep);\n\t      }\n\t      newChildren.push(this.children[i]);\n\t      this.children = newChildren;\n\t    }\n\t    return this;\n\t  };\n\n\t  /**\n\t   * Call String.prototype.replace on the very right-most source snippet. Useful\n\t   * for trimming whitespace from the end of a source node, etc.\n\t   *\n\t   * @param aPattern The pattern to replace.\n\t   * @param aReplacement The thing to replace the pattern with.\n\t   */\n\t  SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n\t    var lastChild = this.children[this.children.length - 1];\n\t    if (lastChild instanceof SourceNode) {\n\t      lastChild.replaceRight(aPattern, aReplacement);\n\t    }\n\t    else if (typeof lastChild === 'string') {\n\t      this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n\t    }\n\t    else {\n\t      this.children.push(''.replace(aPattern, aReplacement));\n\t    }\n\t    return this;\n\t  };\n\n\t  /**\n\t   * Set the source content for a source file. This will be added to the SourceMapGenerator\n\t   * in the sourcesContent field.\n\t   *\n\t   * @param aSourceFile The filename of the source file\n\t   * @param aSourceContent The content of the source file\n\t   */\n\t  SourceNode.prototype.setSourceContent =\n\t    function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n\t      this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n\t    };\n\n\t  /**\n\t   * Walk over the tree of SourceNodes. The walking function is called for each\n\t   * source file content and is passed the filename and source content.\n\t   *\n\t   * @param aFn The traversal function.\n\t   */\n\t  SourceNode.prototype.walkSourceContents =\n\t    function SourceNode_walkSourceContents(aFn) {\n\t      for (var i = 0, len = this.children.length; i < len; i++) {\n\t        if (this.children[i] instanceof SourceNode) {\n\t          this.children[i].walkSourceContents(aFn);\n\t        }\n\t      }\n\n\t      var sources = Object.keys(this.sourceContents);\n\t      for (var i = 0, len = sources.length; i < len; i++) {\n\t        aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n\t      }\n\t    };\n\n\t  /**\n\t   * Return the string representation of this source node. Walks over the tree\n\t   * and concatenates all the various snippets together to one string.\n\t   */\n\t  SourceNode.prototype.toString = function SourceNode_toString() {\n\t    var str = \"\";\n\t    this.walk(function (chunk) {\n\t      str += chunk;\n\t    });\n\t    return str;\n\t  };\n\n\t  /**\n\t   * Returns the string representation of this source node along with a source\n\t   * map.\n\t   */\n\t  SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n\t    var generated = {\n\t      code: \"\",\n\t      line: 1,\n\t      column: 0\n\t    };\n\t    var map = new SourceMapGenerator(aArgs);\n\t    var sourceMappingActive = false;\n\t    var lastOriginalSource = null;\n\t    var lastOriginalLine = null;\n\t    var lastOriginalColumn = null;\n\t    var lastOriginalName = null;\n\t    this.walk(function (chunk, original) {\n\t      generated.code += chunk;\n\t      if (original.source !== null\n\t          && original.line !== null\n\t          && original.column !== null) {\n\t        if(lastOriginalSource !== original.source\n\t           || lastOriginalLine !== original.line\n\t           || lastOriginalColumn !== original.column\n\t           || lastOriginalName !== original.name) {\n\t          map.addMapping({\n\t            source: original.source,\n\t            original: {\n\t              line: original.line,\n\t              column: original.column\n\t            },\n\t            generated: {\n\t              line: generated.line,\n\t              column: generated.column\n\t            },\n\t            name: original.name\n\t          });\n\t        }\n\t        lastOriginalSource = original.source;\n\t        lastOriginalLine = original.line;\n\t        lastOriginalColumn = original.column;\n\t        lastOriginalName = original.name;\n\t        sourceMappingActive = true;\n\t      } else if (sourceMappingActive) {\n\t        map.addMapping({\n\t          generated: {\n\t            line: generated.line,\n\t            column: generated.column\n\t          }\n\t        });\n\t        lastOriginalSource = null;\n\t        sourceMappingActive = false;\n\t      }\n\t      chunk.split('').forEach(function (ch) {\n\t        if (ch === '\\n') {\n\t          generated.line++;\n\t          generated.column = 0;\n\t        } else {\n\t          generated.column++;\n\t        }\n\t      });\n\t    });\n\t    this.walkSourceContents(function (sourceFile, sourceContent) {\n\t      map.setSourceContent(sourceFile, sourceContent);\n\t    });\n\n\t    return { code: generated.code, map: map };\n\t  };\n\n\t  exports.SourceNode = SourceNode;\n\n\t}.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n\n/***/ },\n/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar defaults = {\n\t    tabWidth: 4,\n\t    useTabs: false,\n\t    reuseWhitespace: true,\n\t    wrapColumn: 74, // Aspirational for now.\n\t    sourceFileName: null,\n\t    sourceMapName: null,\n\t    sourceRoot: null,\n\t    inputSourceMap: null,\n\t    esprima: __webpack_require__(41),\n\t    range: false,\n\t    tolerant: true\n\t}, hasOwn = defaults.hasOwnProperty;\n\n\t// Copy options and fill in default values.\n\texports.normalize = function(options) {\n\t    options = options || defaults;\n\n\t    function get(key) {\n\t        return hasOwn.call(options, key)\n\t            ? options[key]\n\t            : defaults[key];\n\t    }\n\n\t    return {\n\t        tabWidth: +get(\"tabWidth\"),\n\t        useTabs: !!get(\"useTabs\"),\n\t        reuseWhitespace: !!get(\"reuseWhitespace\"),\n\t        wrapColumn: Math.max(get(\"wrapColumn\"), 0),\n\t        sourceFileName: get(\"sourceFileName\"),\n\t        sourceMapName: get(\"sourceMapName\"),\n\t        sourceRoot: get(\"sourceRoot\"),\n\t        inputSourceMap: get(\"inputSourceMap\"),\n\t        esprima: get(\"esprima\"),\n\t        range: get(\"range\"),\n\t        tolerant: get(\"tolerant\")\n\t    };\n\t};\n\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*\n\t  Copyright (c) jQuery Foundation, Inc. and Contributors, All Rights Reserved.\n\n\t  Redistribution and use in source and binary forms, with or without\n\t  modification, are permitted provided that the following conditions are met:\n\n\t    * Redistributions of source code must retain the above copyright\n\t      notice, this list of conditions and the following disclaimer.\n\t    * Redistributions in binary form must reproduce the above copyright\n\t      notice, this list of conditions and the following disclaimer in the\n\t      documentation and/or other materials provided with the distribution.\n\n\t  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n\t  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\t  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n\t  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n\t  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\t  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n\t  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n\t  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n\t  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t*/\n\n\t(function (root, factory) {\n\t    'use strict';\n\n\t    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n\t    // Rhino, and plain browser loading.\n\n\t    /* istanbul ignore next */\n\t    if (true) {\n\t        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t    } else if (typeof exports !== 'undefined') {\n\t        factory(exports);\n\t    } else {\n\t        factory((root.esprima = {}));\n\t    }\n\t}(this, function (exports) {\n\t    'use strict';\n\n\t    var Token,\n\t        TokenName,\n\t        FnExprTokens,\n\t        Syntax,\n\t        PlaceHolders,\n\t        Messages,\n\t        Regex,\n\t        source,\n\t        strict,\n\t        index,\n\t        lineNumber,\n\t        lineStart,\n\t        hasLineTerminator,\n\t        lastIndex,\n\t        lastLineNumber,\n\t        lastLineStart,\n\t        startIndex,\n\t        startLineNumber,\n\t        startLineStart,\n\t        scanning,\n\t        length,\n\t        lookahead,\n\t        state,\n\t        extra,\n\t        isBindingElement,\n\t        isAssignmentTarget,\n\t        firstCoverInitializedNameError;\n\n\t    Token = {\n\t        BooleanLiteral: 1,\n\t        EOF: 2,\n\t        Identifier: 3,\n\t        Keyword: 4,\n\t        NullLiteral: 5,\n\t        NumericLiteral: 6,\n\t        Punctuator: 7,\n\t        StringLiteral: 8,\n\t        RegularExpression: 9,\n\t        Template: 10\n\t    };\n\n\t    TokenName = {};\n\t    TokenName[Token.BooleanLiteral] = 'Boolean';\n\t    TokenName[Token.EOF] = '<end>';\n\t    TokenName[Token.Identifier] = 'Identifier';\n\t    TokenName[Token.Keyword] = 'Keyword';\n\t    TokenName[Token.NullLiteral] = 'Null';\n\t    TokenName[Token.NumericLiteral] = 'Numeric';\n\t    TokenName[Token.Punctuator] = 'Punctuator';\n\t    TokenName[Token.StringLiteral] = 'String';\n\t    TokenName[Token.RegularExpression] = 'RegularExpression';\n\t    TokenName[Token.Template] = 'Template';\n\n\t    // A function following one of those tokens is an expression.\n\t    FnExprTokens = ['(', '{', '[', 'in', 'typeof', 'instanceof', 'new',\n\t                    'return', 'case', 'delete', 'throw', 'void',\n\t                    // assignment operators\n\t                    '=', '+=', '-=', '*=', '/=', '%=', '<<=', '>>=', '>>>=',\n\t                    '&=', '|=', '^=', ',',\n\t                    // binary/unary operators\n\t                    '+', '-', '*', '/', '%', '++', '--', '<<', '>>', '>>>', '&',\n\t                    '|', '^', '!', '~', '&&', '||', '?', ':', '===', '==', '>=',\n\t                    '<=', '<', '>', '!=', '!=='];\n\n\t    Syntax = {\n\t        AssignmentExpression: 'AssignmentExpression',\n\t        AssignmentPattern: 'AssignmentPattern',\n\t        ArrayExpression: 'ArrayExpression',\n\t        ArrayPattern: 'ArrayPattern',\n\t        ArrowFunctionExpression: 'ArrowFunctionExpression',\n\t        BlockStatement: 'BlockStatement',\n\t        BinaryExpression: 'BinaryExpression',\n\t        BreakStatement: 'BreakStatement',\n\t        CallExpression: 'CallExpression',\n\t        CatchClause: 'CatchClause',\n\t        ClassBody: 'ClassBody',\n\t        ClassDeclaration: 'ClassDeclaration',\n\t        ClassExpression: 'ClassExpression',\n\t        ConditionalExpression: 'ConditionalExpression',\n\t        ContinueStatement: 'ContinueStatement',\n\t        DoWhileStatement: 'DoWhileStatement',\n\t        DebuggerStatement: 'DebuggerStatement',\n\t        EmptyStatement: 'EmptyStatement',\n\t        ExportAllDeclaration: 'ExportAllDeclaration',\n\t        ExportDefaultDeclaration: 'ExportDefaultDeclaration',\n\t        ExportNamedDeclaration: 'ExportNamedDeclaration',\n\t        ExportSpecifier: 'ExportSpecifier',\n\t        ExpressionStatement: 'ExpressionStatement',\n\t        ForStatement: 'ForStatement',\n\t        ForOfStatement: 'ForOfStatement',\n\t        ForInStatement: 'ForInStatement',\n\t        FunctionDeclaration: 'FunctionDeclaration',\n\t        FunctionExpression: 'FunctionExpression',\n\t        Identifier: 'Identifier',\n\t        IfStatement: 'IfStatement',\n\t        ImportDeclaration: 'ImportDeclaration',\n\t        ImportDefaultSpecifier: 'ImportDefaultSpecifier',\n\t        ImportNamespaceSpecifier: 'ImportNamespaceSpecifier',\n\t        ImportSpecifier: 'ImportSpecifier',\n\t        Literal: 'Literal',\n\t        LabeledStatement: 'LabeledStatement',\n\t        LogicalExpression: 'LogicalExpression',\n\t        MemberExpression: 'MemberExpression',\n\t        MetaProperty: 'MetaProperty',\n\t        MethodDefinition: 'MethodDefinition',\n\t        NewExpression: 'NewExpression',\n\t        ObjectExpression: 'ObjectExpression',\n\t        ObjectPattern: 'ObjectPattern',\n\t        Program: 'Program',\n\t        Property: 'Property',\n\t        RestElement: 'RestElement',\n\t        ReturnStatement: 'ReturnStatement',\n\t        SequenceExpression: 'SequenceExpression',\n\t        SpreadElement: 'SpreadElement',\n\t        Super: 'Super',\n\t        SwitchCase: 'SwitchCase',\n\t        SwitchStatement: 'SwitchStatement',\n\t        TaggedTemplateExpression: 'TaggedTemplateExpression',\n\t        TemplateElement: 'TemplateElement',\n\t        TemplateLiteral: 'TemplateLiteral',\n\t        ThisExpression: 'ThisExpression',\n\t        ThrowStatement: 'ThrowStatement',\n\t        TryStatement: 'TryStatement',\n\t        UnaryExpression: 'UnaryExpression',\n\t        UpdateExpression: 'UpdateExpression',\n\t        VariableDeclaration: 'VariableDeclaration',\n\t        VariableDeclarator: 'VariableDeclarator',\n\t        WhileStatement: 'WhileStatement',\n\t        WithStatement: 'WithStatement',\n\t        YieldExpression: 'YieldExpression'\n\t    };\n\n\t    PlaceHolders = {\n\t        ArrowParameterPlaceHolder: 'ArrowParameterPlaceHolder'\n\t    };\n\n\t    // Error messages should be identical to V8.\n\t    Messages = {\n\t        UnexpectedToken: 'Unexpected token %0',\n\t        UnexpectedNumber: 'Unexpected number',\n\t        UnexpectedString: 'Unexpected string',\n\t        UnexpectedIdentifier: 'Unexpected identifier',\n\t        UnexpectedReserved: 'Unexpected reserved word',\n\t        UnexpectedTemplate: 'Unexpected quasi %0',\n\t        UnexpectedEOS: 'Unexpected end of input',\n\t        NewlineAfterThrow: 'Illegal newline after throw',\n\t        InvalidRegExp: 'Invalid regular expression',\n\t        UnterminatedRegExp: 'Invalid regular expression: missing /',\n\t        InvalidLHSInAssignment: 'Invalid left-hand side in assignment',\n\t        InvalidLHSInForIn: 'Invalid left-hand side in for-in',\n\t        InvalidLHSInForLoop: 'Invalid left-hand side in for-loop',\n\t        MultipleDefaultsInSwitch: 'More than one default clause in switch statement',\n\t        NoCatchOrFinally: 'Missing catch or finally after try',\n\t        UnknownLabel: 'Undefined label \\'%0\\'',\n\t        Redeclaration: '%0 \\'%1\\' has already been declared',\n\t        IllegalContinue: 'Illegal continue statement',\n\t        IllegalBreak: 'Illegal break statement',\n\t        IllegalReturn: 'Illegal return statement',\n\t        StrictModeWith: 'Strict mode code may not include a with statement',\n\t        StrictCatchVariable: 'Catch variable may not be eval or arguments in strict mode',\n\t        StrictVarName: 'Variable name may not be eval or arguments in strict mode',\n\t        StrictParamName: 'Parameter name eval or arguments is not allowed in strict mode',\n\t        StrictParamDupe: 'Strict mode function may not have duplicate parameter names',\n\t        StrictFunctionName: 'Function name may not be eval or arguments in strict mode',\n\t        StrictOctalLiteral: 'Octal literals are not allowed in strict mode.',\n\t        StrictDelete: 'Delete of an unqualified identifier in strict mode.',\n\t        StrictLHSAssignment: 'Assignment to eval or arguments is not allowed in strict mode',\n\t        StrictLHSPostfix: 'Postfix increment/decrement may not have eval or arguments operand in strict mode',\n\t        StrictLHSPrefix: 'Prefix increment/decrement may not have eval or arguments operand in strict mode',\n\t        StrictReservedWord: 'Use of future reserved word in strict mode',\n\t        TemplateOctalLiteral: 'Octal literals are not allowed in template strings.',\n\t        ParameterAfterRestParameter: 'Rest parameter must be last formal parameter',\n\t        DefaultRestParameter: 'Unexpected token =',\n\t        ObjectPatternAsRestParameter: 'Unexpected token {',\n\t        DuplicateProtoProperty: 'Duplicate __proto__ fields are not allowed in object literals',\n\t        ConstructorSpecialMethod: 'Class constructor may not be an accessor',\n\t        DuplicateConstructor: 'A class may only have one constructor',\n\t        StaticPrototype: 'Classes may not have static property named prototype',\n\t        MissingFromClause: 'Unexpected token',\n\t        NoAsAfterImportNamespace: 'Unexpected token',\n\t        InvalidModuleSpecifier: 'Unexpected token',\n\t        IllegalImportDeclaration: 'Unexpected token',\n\t        IllegalExportDeclaration: 'Unexpected token',\n\t        DuplicateBinding: 'Duplicate binding %0'\n\t    };\n\n\t    // See also tools/generate-unicode-regex.js.\n\t    Regex = {\n\t        // ECMAScript 6/Unicode v7.0.0 NonAsciiIdentifierStart:\n\t        NonAsciiIdentifierStart: /[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309B-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF75\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00\\uDE10-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE4\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48]|\\uD804[\\uDC03-\\uDC37\\uDC83-\\uDCAF\\uDCD0-\\uDCE8\\uDD03-\\uDD26\\uDD50-\\uDD72\\uDD76\\uDD83-\\uDDB2\\uDDC1-\\uDDC4\\uDDDA\\uDE00-\\uDE11\\uDE13-\\uDE2B\\uDEB0-\\uDEDE\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3D\\uDF5D-\\uDF61]|\\uD805[\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDEC0-\\uDEF8]|\\uD808[\\uDC00-\\uDF98]|\\uD809[\\uDC00-\\uDC6E]|[\\uD80C\\uD840-\\uD868\\uD86A-\\uD86C][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD83A[\\uDC00-\\uDCC4]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D]|\\uD87E[\\uDC00-\\uDE1D]/,\n\n\t        // ECMAScript 6/Unicode v7.0.0 NonAsciiIdentifierPart:\n\t        NonAsciiIdentifierPart: /[\\xAA\\xB5\\xB7\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1369-\\u1371\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19DA\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]|\\uD800[\\uDC00-\\uDC0B\\uDC0D-\\uDC26\\uDC28-\\uDC3A\\uDC3C\\uDC3D\\uDC3F-\\uDC4D\\uDC50-\\uDC5D\\uDC80-\\uDCFA\\uDD40-\\uDD74\\uDDFD\\uDE80-\\uDE9C\\uDEA0-\\uDED0\\uDEE0\\uDF00-\\uDF1F\\uDF30-\\uDF4A\\uDF50-\\uDF7A\\uDF80-\\uDF9D\\uDFA0-\\uDFC3\\uDFC8-\\uDFCF\\uDFD1-\\uDFD5]|\\uD801[\\uDC00-\\uDC9D\\uDCA0-\\uDCA9\\uDD00-\\uDD27\\uDD30-\\uDD63\\uDE00-\\uDF36\\uDF40-\\uDF55\\uDF60-\\uDF67]|\\uD802[\\uDC00-\\uDC05\\uDC08\\uDC0A-\\uDC35\\uDC37\\uDC38\\uDC3C\\uDC3F-\\uDC55\\uDC60-\\uDC76\\uDC80-\\uDC9E\\uDD00-\\uDD15\\uDD20-\\uDD39\\uDD80-\\uDDB7\\uDDBE\\uDDBF\\uDE00-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE13\\uDE15-\\uDE17\\uDE19-\\uDE33\\uDE38-\\uDE3A\\uDE3F\\uDE60-\\uDE7C\\uDE80-\\uDE9C\\uDEC0-\\uDEC7\\uDEC9-\\uDEE6\\uDF00-\\uDF35\\uDF40-\\uDF55\\uDF60-\\uDF72\\uDF80-\\uDF91]|\\uD803[\\uDC00-\\uDC48]|\\uD804[\\uDC00-\\uDC46\\uDC66-\\uDC6F\\uDC7F-\\uDCBA\\uDCD0-\\uDCE8\\uDCF0-\\uDCF9\\uDD00-\\uDD34\\uDD36-\\uDD3F\\uDD50-\\uDD73\\uDD76\\uDD80-\\uDDC4\\uDDD0-\\uDDDA\\uDE00-\\uDE11\\uDE13-\\uDE37\\uDEB0-\\uDEEA\\uDEF0-\\uDEF9\\uDF01-\\uDF03\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3C-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF57\\uDF5D-\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDC80-\\uDCC5\\uDCC7\\uDCD0-\\uDCD9\\uDD80-\\uDDB5\\uDDB8-\\uDDC0\\uDE00-\\uDE40\\uDE44\\uDE50-\\uDE59\\uDE80-\\uDEB7\\uDEC0-\\uDEC9]|\\uD806[\\uDCA0-\\uDCE9\\uDCFF\\uDEC0-\\uDEF8]|\\uD808[\\uDC00-\\uDF98]|\\uD809[\\uDC00-\\uDC6E]|[\\uD80C\\uD840-\\uD868\\uD86A-\\uD86C][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE60-\\uDE69\\uDED0-\\uDEED\\uDEF0-\\uDEF4\\uDF00-\\uDF36\\uDF40-\\uDF43\\uDF50-\\uDF59\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50-\\uDF7E\\uDF8F-\\uDF9F]|\\uD82C[\\uDC00\\uDC01]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB\\uDFCE-\\uDFFF]|\\uD83A[\\uDC00-\\uDCC4\\uDCD0-\\uDCD6]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D]|\\uD87E[\\uDC00-\\uDE1D]|\\uDB40[\\uDD00-\\uDDEF]/\n\t    };\n\n\t    // Ensure the condition is true, otherwise throw an error.\n\t    // This is only to have a better contract semantic, i.e. another safety net\n\t    // to catch a logic error. The condition shall be fulfilled in normal case.\n\t    // Do NOT use this to enforce a certain condition on any user input.\n\n\t    function assert(condition, message) {\n\t        /* istanbul ignore if */\n\t        if (!condition) {\n\t            throw new Error('ASSERT: ' + message);\n\t        }\n\t    }\n\n\t    function isDecimalDigit(ch) {\n\t        return (ch >= 0x30 && ch <= 0x39);   // 0..9\n\t    }\n\n\t    function isHexDigit(ch) {\n\t        return '0123456789abcdefABCDEF'.indexOf(ch) >= 0;\n\t    }\n\n\t    function isOctalDigit(ch) {\n\t        return '01234567'.indexOf(ch) >= 0;\n\t    }\n\n\t    function octalToDecimal(ch) {\n\t        // \\0 is not octal escape sequence\n\t        var octal = (ch !== '0'), code = '01234567'.indexOf(ch);\n\n\t        if (index < length && isOctalDigit(source[index])) {\n\t            octal = true;\n\t            code = code * 8 + '01234567'.indexOf(source[index++]);\n\n\t            // 3 digits are only allowed when string starts\n\t            // with 0, 1, 2, 3\n\t            if ('0123'.indexOf(ch) >= 0 &&\n\t                    index < length &&\n\t                    isOctalDigit(source[index])) {\n\t                code = code * 8 + '01234567'.indexOf(source[index++]);\n\t            }\n\t        }\n\n\t        return {\n\t            code: code,\n\t            octal: octal\n\t        };\n\t    }\n\n\t    // ECMA-262 11.2 White Space\n\n\t    function isWhiteSpace(ch) {\n\t        return (ch === 0x20) || (ch === 0x09) || (ch === 0x0B) || (ch === 0x0C) || (ch === 0xA0) ||\n\t            (ch >= 0x1680 && [0x1680, 0x180E, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, 0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x202F, 0x205F, 0x3000, 0xFEFF].indexOf(ch) >= 0);\n\t    }\n\n\t    // ECMA-262 11.3 Line Terminators\n\n\t    function isLineTerminator(ch) {\n\t        return (ch === 0x0A) || (ch === 0x0D) || (ch === 0x2028) || (ch === 0x2029);\n\t    }\n\n\t    // ECMA-262 11.6 Identifier Names and Identifiers\n\n\t    function fromCodePoint(cp) {\n\t        return (cp < 0x10000) ? String.fromCharCode(cp) :\n\t            String.fromCharCode(0xD800 + ((cp - 0x10000) >> 10)) +\n\t            String.fromCharCode(0xDC00 + ((cp - 0x10000) & 1023));\n\t    }\n\n\t    function isIdentifierStart(ch) {\n\t        return (ch === 0x24) || (ch === 0x5F) ||  // $ (dollar) and _ (underscore)\n\t            (ch >= 0x41 && ch <= 0x5A) ||         // A..Z\n\t            (ch >= 0x61 && ch <= 0x7A) ||         // a..z\n\t            (ch === 0x5C) ||                      // \\ (backslash)\n\t            ((ch >= 0x80) && Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch)));\n\t    }\n\n\t    function isIdentifierPart(ch) {\n\t        return (ch === 0x24) || (ch === 0x5F) ||  // $ (dollar) and _ (underscore)\n\t            (ch >= 0x41 && ch <= 0x5A) ||         // A..Z\n\t            (ch >= 0x61 && ch <= 0x7A) ||         // a..z\n\t            (ch >= 0x30 && ch <= 0x39) ||         // 0..9\n\t            (ch === 0x5C) ||                      // \\ (backslash)\n\t            ((ch >= 0x80) && Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch)));\n\t    }\n\n\t    // ECMA-262 11.6.2.2 Future Reserved Words\n\n\t    function isFutureReservedWord(id) {\n\t        switch (id) {\n\t        case 'enum':\n\t        case 'export':\n\t        case 'import':\n\t        case 'super':\n\t            return true;\n\t        default:\n\t            return false;\n\t        }\n\t    }\n\n\t    function isStrictModeReservedWord(id) {\n\t        switch (id) {\n\t        case 'implements':\n\t        case 'interface':\n\t        case 'package':\n\t        case 'private':\n\t        case 'protected':\n\t        case 'public':\n\t        case 'static':\n\t        case 'yield':\n\t        case 'let':\n\t            return true;\n\t        default:\n\t            return false;\n\t        }\n\t    }\n\n\t    function isRestrictedWord(id) {\n\t        return id === 'eval' || id === 'arguments';\n\t    }\n\n\t    // ECMA-262 11.6.2.1 Keywords\n\n\t    function isKeyword(id) {\n\t        switch (id.length) {\n\t        case 2:\n\t            return (id === 'if') || (id === 'in') || (id === 'do');\n\t        case 3:\n\t            return (id === 'var') || (id === 'for') || (id === 'new') ||\n\t                (id === 'try') || (id === 'let');\n\t        case 4:\n\t            return (id === 'this') || (id === 'else') || (id === 'case') ||\n\t                (id === 'void') || (id === 'with') || (id === 'enum');\n\t        case 5:\n\t            return (id === 'while') || (id === 'break') || (id === 'catch') ||\n\t                (id === 'throw') || (id === 'const') || (id === 'yield') ||\n\t                (id === 'class') || (id === 'super');\n\t        case 6:\n\t            return (id === 'return') || (id === 'typeof') || (id === 'delete') ||\n\t                (id === 'switch') || (id === 'export') || (id === 'import');\n\t        case 7:\n\t            return (id === 'default') || (id === 'finally') || (id === 'extends');\n\t        case 8:\n\t            return (id === 'function') || (id === 'continue') || (id === 'debugger');\n\t        case 10:\n\t            return (id === 'instanceof');\n\t        default:\n\t            return false;\n\t        }\n\t    }\n\n\t    // ECMA-262 11.4 Comments\n\n\t    function addComment(type, value, start, end, loc) {\n\t        var comment;\n\n\t        assert(typeof start === 'number', 'Comment must have valid position');\n\n\t        state.lastCommentStart = start;\n\n\t        comment = {\n\t            type: type,\n\t            value: value\n\t        };\n\t        if (extra.range) {\n\t            comment.range = [start, end];\n\t        }\n\t        if (extra.loc) {\n\t            comment.loc = loc;\n\t        }\n\t        extra.comments.push(comment);\n\t        if (extra.attachComment) {\n\t            extra.leadingComments.push(comment);\n\t            extra.trailingComments.push(comment);\n\t        }\n\t        if (extra.tokenize) {\n\t            comment.type = comment.type + 'Comment';\n\t            if (extra.delegate) {\n\t                comment = extra.delegate(comment);\n\t            }\n\t            extra.tokens.push(comment);\n\t        }\n\t    }\n\n\t    function skipSingleLineComment(offset) {\n\t        var start, loc, ch, comment;\n\n\t        start = index - offset;\n\t        loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart - offset\n\t            }\n\t        };\n\n\t        while (index < length) {\n\t            ch = source.charCodeAt(index);\n\t            ++index;\n\t            if (isLineTerminator(ch)) {\n\t                hasLineTerminator = true;\n\t                if (extra.comments) {\n\t                    comment = source.slice(start + offset, index - 1);\n\t                    loc.end = {\n\t                        line: lineNumber,\n\t                        column: index - lineStart - 1\n\t                    };\n\t                    addComment('Line', comment, start, index - 1, loc);\n\t                }\n\t                if (ch === 13 && source.charCodeAt(index) === 10) {\n\t                    ++index;\n\t                }\n\t                ++lineNumber;\n\t                lineStart = index;\n\t                return;\n\t            }\n\t        }\n\n\t        if (extra.comments) {\n\t            comment = source.slice(start + offset, index);\n\t            loc.end = {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            };\n\t            addComment('Line', comment, start, index, loc);\n\t        }\n\t    }\n\n\t    function skipMultiLineComment() {\n\t        var start, loc, ch, comment;\n\n\t        if (extra.comments) {\n\t            start = index - 2;\n\t            loc = {\n\t                start: {\n\t                    line: lineNumber,\n\t                    column: index - lineStart - 2\n\t                }\n\t            };\n\t        }\n\n\t        while (index < length) {\n\t            ch = source.charCodeAt(index);\n\t            if (isLineTerminator(ch)) {\n\t                if (ch === 0x0D && source.charCodeAt(index + 1) === 0x0A) {\n\t                    ++index;\n\t                }\n\t                hasLineTerminator = true;\n\t                ++lineNumber;\n\t                ++index;\n\t                lineStart = index;\n\t            } else if (ch === 0x2A) {\n\t                // Block comment ends with '*/'.\n\t                if (source.charCodeAt(index + 1) === 0x2F) {\n\t                    ++index;\n\t                    ++index;\n\t                    if (extra.comments) {\n\t                        comment = source.slice(start + 2, index - 2);\n\t                        loc.end = {\n\t                            line: lineNumber,\n\t                            column: index - lineStart\n\t                        };\n\t                        addComment('Block', comment, start, index, loc);\n\t                    }\n\t                    return;\n\t                }\n\t                ++index;\n\t            } else {\n\t                ++index;\n\t            }\n\t        }\n\n\t        // Ran off the end of the file - the whole thing is a comment\n\t        if (extra.comments) {\n\t            loc.end = {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            };\n\t            comment = source.slice(start + 2, index);\n\t            addComment('Block', comment, start, index, loc);\n\t        }\n\t        tolerateUnexpectedToken();\n\t    }\n\n\t    function skipComment() {\n\t        var ch, start;\n\t        hasLineTerminator = false;\n\n\t        start = (index === 0);\n\t        while (index < length) {\n\t            ch = source.charCodeAt(index);\n\n\t            if (isWhiteSpace(ch)) {\n\t                ++index;\n\t            } else if (isLineTerminator(ch)) {\n\t                hasLineTerminator = true;\n\t                ++index;\n\t                if (ch === 0x0D && source.charCodeAt(index) === 0x0A) {\n\t                    ++index;\n\t                }\n\t                ++lineNumber;\n\t                lineStart = index;\n\t                start = true;\n\t            } else if (ch === 0x2F) { // U+002F is '/'\n\t                ch = source.charCodeAt(index + 1);\n\t                if (ch === 0x2F) {\n\t                    ++index;\n\t                    ++index;\n\t                    skipSingleLineComment(2);\n\t                    start = true;\n\t                } else if (ch === 0x2A) {  // U+002A is '*'\n\t                    ++index;\n\t                    ++index;\n\t                    skipMultiLineComment();\n\t                } else {\n\t                    break;\n\t                }\n\t            } else if (start && ch === 0x2D) { // U+002D is '-'\n\t                // U+003E is '>'\n\t                if ((source.charCodeAt(index + 1) === 0x2D) && (source.charCodeAt(index + 2) === 0x3E)) {\n\t                    // '-->' is a single-line comment\n\t                    index += 3;\n\t                    skipSingleLineComment(3);\n\t                } else {\n\t                    break;\n\t                }\n\t            } else if (ch === 0x3C) { // U+003C is '<'\n\t                if (source.slice(index + 1, index + 4) === '!--') {\n\t                    ++index; // `<`\n\t                    ++index; // `!`\n\t                    ++index; // `-`\n\t                    ++index; // `-`\n\t                    skipSingleLineComment(4);\n\t                } else {\n\t                    break;\n\t                }\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\t    }\n\n\t    function scanHexEscape(prefix) {\n\t        var i, len, ch, code = 0;\n\n\t        len = (prefix === 'u') ? 4 : 2;\n\t        for (i = 0; i < len; ++i) {\n\t            if (index < length && isHexDigit(source[index])) {\n\t                ch = source[index++];\n\t                code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n\t            } else {\n\t                return '';\n\t            }\n\t        }\n\t        return String.fromCharCode(code);\n\t    }\n\n\t    function scanUnicodeCodePointEscape() {\n\t        var ch, code;\n\n\t        ch = source[index];\n\t        code = 0;\n\n\t        // At least, one hex digit is required.\n\t        if (ch === '}') {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\t            if (!isHexDigit(ch)) {\n\t                break;\n\t            }\n\t            code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n\t        }\n\n\t        if (code > 0x10FFFF || ch !== '}') {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        return fromCodePoint(code);\n\t    }\n\n\t    function codePointAt(i) {\n\t        var cp, first, second;\n\n\t        cp = source.charCodeAt(i);\n\t        if (cp >= 0xD800 && cp <= 0xDBFF) {\n\t            second = source.charCodeAt(i + 1);\n\t            if (second >= 0xDC00 && second <= 0xDFFF) {\n\t                first = cp;\n\t                cp = (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;\n\t            }\n\t        }\n\n\t        return cp;\n\t    }\n\n\t    function getComplexIdentifier() {\n\t        var cp, ch, id;\n\n\t        cp = codePointAt(index);\n\t        id = fromCodePoint(cp);\n\t        index += id.length;\n\n\t        // '\\u' (U+005C, U+0075) denotes an escaped character.\n\t        if (cp === 0x5C) {\n\t            if (source.charCodeAt(index) !== 0x75) {\n\t                throwUnexpectedToken();\n\t            }\n\t            ++index;\n\t            if (source[index] === '{') {\n\t                ++index;\n\t                ch = scanUnicodeCodePointEscape();\n\t            } else {\n\t                ch = scanHexEscape('u');\n\t                cp = ch.charCodeAt(0);\n\t                if (!ch || ch === '\\\\' || !isIdentifierStart(cp)) {\n\t                    throwUnexpectedToken();\n\t                }\n\t            }\n\t            id = ch;\n\t        }\n\n\t        while (index < length) {\n\t            cp = codePointAt(index);\n\t            if (!isIdentifierPart(cp)) {\n\t                break;\n\t            }\n\t            ch = fromCodePoint(cp);\n\t            id += ch;\n\t            index += ch.length;\n\n\t            // '\\u' (U+005C, U+0075) denotes an escaped character.\n\t            if (cp === 0x5C) {\n\t                id = id.substr(0, id.length - 1);\n\t                if (source.charCodeAt(index) !== 0x75) {\n\t                    throwUnexpectedToken();\n\t                }\n\t                ++index;\n\t                if (source[index] === '{') {\n\t                    ++index;\n\t                    ch = scanUnicodeCodePointEscape();\n\t                } else {\n\t                    ch = scanHexEscape('u');\n\t                    cp = ch.charCodeAt(0);\n\t                    if (!ch || ch === '\\\\' || !isIdentifierPart(cp)) {\n\t                        throwUnexpectedToken();\n\t                    }\n\t                }\n\t                id += ch;\n\t            }\n\t        }\n\n\t        return id;\n\t    }\n\n\t    function getIdentifier() {\n\t        var start, ch;\n\n\t        start = index++;\n\t        while (index < length) {\n\t            ch = source.charCodeAt(index);\n\t            if (ch === 0x5C) {\n\t                // Blackslash (U+005C) marks Unicode escape sequence.\n\t                index = start;\n\t                return getComplexIdentifier();\n\t            } else if (ch >= 0xD800 && ch < 0xDFFF) {\n\t                // Need to handle surrogate pairs.\n\t                index = start;\n\t                return getComplexIdentifier();\n\t            }\n\t            if (isIdentifierPart(ch)) {\n\t                ++index;\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\n\t        return source.slice(start, index);\n\t    }\n\n\t    function scanIdentifier() {\n\t        var start, id, type;\n\n\t        start = index;\n\n\t        // Backslash (U+005C) starts an escaped character.\n\t        id = (source.charCodeAt(index) === 0x5C) ? getComplexIdentifier() : getIdentifier();\n\n\t        // There is no keyword or literal with only one character.\n\t        // Thus, it must be an identifier.\n\t        if (id.length === 1) {\n\t            type = Token.Identifier;\n\t        } else if (isKeyword(id)) {\n\t            type = Token.Keyword;\n\t        } else if (id === 'null') {\n\t            type = Token.NullLiteral;\n\t        } else if (id === 'true' || id === 'false') {\n\t            type = Token.BooleanLiteral;\n\t        } else {\n\t            type = Token.Identifier;\n\t        }\n\n\t        return {\n\t            type: type,\n\t            value: id,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            start: start,\n\t            end: index\n\t        };\n\t    }\n\n\n\t    // ECMA-262 11.7 Punctuators\n\n\t    function scanPunctuator() {\n\t        var token, str;\n\n\t        token = {\n\t            type: Token.Punctuator,\n\t            value: '',\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            start: index,\n\t            end: index\n\t        };\n\n\t        // Check for most common single-character punctuators.\n\t        str = source[index];\n\t        switch (str) {\n\n\t        case '(':\n\t            if (extra.tokenize) {\n\t                extra.openParenToken = extra.tokenValues.length;\n\t            }\n\t            ++index;\n\t            break;\n\n\t        case '{':\n\t            if (extra.tokenize) {\n\t                extra.openCurlyToken = extra.tokenValues.length;\n\t            }\n\t            state.curlyStack.push('{');\n\t            ++index;\n\t            break;\n\n\t        case '.':\n\t            ++index;\n\t            if (source[index] === '.' && source[index + 1] === '.') {\n\t                // Spread operator: ...\n\t                index += 2;\n\t                str = '...';\n\t            }\n\t            break;\n\n\t        case '}':\n\t            ++index;\n\t            state.curlyStack.pop();\n\t            break;\n\t        case ')':\n\t        case ';':\n\t        case ',':\n\t        case '[':\n\t        case ']':\n\t        case ':':\n\t        case '?':\n\t        case '~':\n\t            ++index;\n\t            break;\n\n\t        default:\n\t            // 4-character punctuator.\n\t            str = source.substr(index, 4);\n\t            if (str === '>>>=') {\n\t                index += 4;\n\t            } else {\n\n\t                // 3-character punctuators.\n\t                str = str.substr(0, 3);\n\t                if (str === '===' || str === '!==' || str === '>>>' ||\n\t                    str === '<<=' || str === '>>=') {\n\t                    index += 3;\n\t                } else {\n\n\t                    // 2-character punctuators.\n\t                    str = str.substr(0, 2);\n\t                    if (str === '&&' || str === '||' || str === '==' || str === '!=' ||\n\t                        str === '+=' || str === '-=' || str === '*=' || str === '/=' ||\n\t                        str === '++' || str === '--' || str === '<<' || str === '>>' ||\n\t                        str === '&=' || str === '|=' || str === '^=' || str === '%=' ||\n\t                        str === '<=' || str === '>=' || str === '=>') {\n\t                        index += 2;\n\t                    } else {\n\n\t                        // 1-character punctuators.\n\t                        str = source[index];\n\t                        if ('<>=!+-*%&|^/'.indexOf(str) >= 0) {\n\t                            ++index;\n\t                        }\n\t                    }\n\t                }\n\t            }\n\t        }\n\n\t        if (index === token.start) {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        token.end = index;\n\t        token.value = str;\n\t        return token;\n\t    }\n\n\t    // ECMA-262 11.8.3 Numeric Literals\n\n\t    function scanHexLiteral(start) {\n\t        var number = '';\n\n\t        while (index < length) {\n\t            if (!isHexDigit(source[index])) {\n\t                break;\n\t            }\n\t            number += source[index++];\n\t        }\n\n\t        if (number.length === 0) {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        if (isIdentifierStart(source.charCodeAt(index))) {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        return {\n\t            type: Token.NumericLiteral,\n\t            value: parseInt('0x' + number, 16),\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            start: start,\n\t            end: index\n\t        };\n\t    }\n\n\t    function scanBinaryLiteral(start) {\n\t        var ch, number;\n\n\t        number = '';\n\n\t        while (index < length) {\n\t            ch = source[index];\n\t            if (ch !== '0' && ch !== '1') {\n\t                break;\n\t            }\n\t            number += source[index++];\n\t        }\n\n\t        if (number.length === 0) {\n\t            // only 0b or 0B\n\t            throwUnexpectedToken();\n\t        }\n\n\t        if (index < length) {\n\t            ch = source.charCodeAt(index);\n\t            /* istanbul ignore else */\n\t            if (isIdentifierStart(ch) || isDecimalDigit(ch)) {\n\t                throwUnexpectedToken();\n\t            }\n\t        }\n\n\t        return {\n\t            type: Token.NumericLiteral,\n\t            value: parseInt(number, 2),\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            start: start,\n\t            end: index\n\t        };\n\t    }\n\n\t    function scanOctalLiteral(prefix, start) {\n\t        var number, octal;\n\n\t        if (isOctalDigit(prefix)) {\n\t            octal = true;\n\t            number = '0' + source[index++];\n\t        } else {\n\t            octal = false;\n\t            ++index;\n\t            number = '';\n\t        }\n\n\t        while (index < length) {\n\t            if (!isOctalDigit(source[index])) {\n\t                break;\n\t            }\n\t            number += source[index++];\n\t        }\n\n\t        if (!octal && number.length === 0) {\n\t            // only 0o or 0O\n\t            throwUnexpectedToken();\n\t        }\n\n\t        if (isIdentifierStart(source.charCodeAt(index)) || isDecimalDigit(source.charCodeAt(index))) {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        return {\n\t            type: Token.NumericLiteral,\n\t            value: parseInt(number, 8),\n\t            octal: octal,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            start: start,\n\t            end: index\n\t        };\n\t    }\n\n\t    function isImplicitOctalLiteral() {\n\t        var i, ch;\n\n\t        // Implicit octal, unless there is a non-octal digit.\n\t        // (Annex B.1.1 on Numeric Literals)\n\t        for (i = index + 1; i < length; ++i) {\n\t            ch = source[i];\n\t            if (ch === '8' || ch === '9') {\n\t                return false;\n\t            }\n\t            if (!isOctalDigit(ch)) {\n\t                return true;\n\t            }\n\t        }\n\n\t        return true;\n\t    }\n\n\t    function scanNumericLiteral() {\n\t        var number, start, ch;\n\n\t        ch = source[index];\n\t        assert(isDecimalDigit(ch.charCodeAt(0)) || (ch === '.'),\n\t            'Numeric literal must start with a decimal digit or a decimal point');\n\n\t        start = index;\n\t        number = '';\n\t        if (ch !== '.') {\n\t            number = source[index++];\n\t            ch = source[index];\n\n\t            // Hex number starts with '0x'.\n\t            // Octal number starts with '0'.\n\t            // Octal number in ES6 starts with '0o'.\n\t            // Binary number in ES6 starts with '0b'.\n\t            if (number === '0') {\n\t                if (ch === 'x' || ch === 'X') {\n\t                    ++index;\n\t                    return scanHexLiteral(start);\n\t                }\n\t                if (ch === 'b' || ch === 'B') {\n\t                    ++index;\n\t                    return scanBinaryLiteral(start);\n\t                }\n\t                if (ch === 'o' || ch === 'O') {\n\t                    return scanOctalLiteral(ch, start);\n\t                }\n\n\t                if (isOctalDigit(ch)) {\n\t                    if (isImplicitOctalLiteral()) {\n\t                        return scanOctalLiteral(ch, start);\n\t                    }\n\t                }\n\t            }\n\n\t            while (isDecimalDigit(source.charCodeAt(index))) {\n\t                number += source[index++];\n\t            }\n\t            ch = source[index];\n\t        }\n\n\t        if (ch === '.') {\n\t            number += source[index++];\n\t            while (isDecimalDigit(source.charCodeAt(index))) {\n\t                number += source[index++];\n\t            }\n\t            ch = source[index];\n\t        }\n\n\t        if (ch === 'e' || ch === 'E') {\n\t            number += source[index++];\n\n\t            ch = source[index];\n\t            if (ch === '+' || ch === '-') {\n\t                number += source[index++];\n\t            }\n\t            if (isDecimalDigit(source.charCodeAt(index))) {\n\t                while (isDecimalDigit(source.charCodeAt(index))) {\n\t                    number += source[index++];\n\t                }\n\t            } else {\n\t                throwUnexpectedToken();\n\t            }\n\t        }\n\n\t        if (isIdentifierStart(source.charCodeAt(index))) {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        return {\n\t            type: Token.NumericLiteral,\n\t            value: parseFloat(number),\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            start: start,\n\t            end: index\n\t        };\n\t    }\n\n\t    // ECMA-262 11.8.4 String Literals\n\n\t    function scanStringLiteral() {\n\t        var str = '', quote, start, ch, unescaped, octToDec, octal = false;\n\n\t        quote = source[index];\n\t        assert((quote === '\\'' || quote === '\"'),\n\t            'String literal must starts with a quote');\n\n\t        start = index;\n\t        ++index;\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\n\t            if (ch === quote) {\n\t                quote = '';\n\t                break;\n\t            } else if (ch === '\\\\') {\n\t                ch = source[index++];\n\t                if (!ch || !isLineTerminator(ch.charCodeAt(0))) {\n\t                    switch (ch) {\n\t                    case 'u':\n\t                    case 'x':\n\t                        if (source[index] === '{') {\n\t                            ++index;\n\t                            str += scanUnicodeCodePointEscape();\n\t                        } else {\n\t                            unescaped = scanHexEscape(ch);\n\t                            if (!unescaped) {\n\t                                throw throwUnexpectedToken();\n\t                            }\n\t                            str += unescaped;\n\t                        }\n\t                        break;\n\t                    case 'n':\n\t                        str += '\\n';\n\t                        break;\n\t                    case 'r':\n\t                        str += '\\r';\n\t                        break;\n\t                    case 't':\n\t                        str += '\\t';\n\t                        break;\n\t                    case 'b':\n\t                        str += '\\b';\n\t                        break;\n\t                    case 'f':\n\t                        str += '\\f';\n\t                        break;\n\t                    case 'v':\n\t                        str += '\\x0B';\n\t                        break;\n\t                    case '8':\n\t                    case '9':\n\t                        str += ch;\n\t                        tolerateUnexpectedToken();\n\t                        break;\n\n\t                    default:\n\t                        if (isOctalDigit(ch)) {\n\t                            octToDec = octalToDecimal(ch);\n\n\t                            octal = octToDec.octal || octal;\n\t                            str += String.fromCharCode(octToDec.code);\n\t                        } else {\n\t                            str += ch;\n\t                        }\n\t                        break;\n\t                    }\n\t                } else {\n\t                    ++lineNumber;\n\t                    if (ch === '\\r' && source[index] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                    lineStart = index;\n\t                }\n\t            } else if (isLineTerminator(ch.charCodeAt(0))) {\n\t                break;\n\t            } else {\n\t                str += ch;\n\t            }\n\t        }\n\n\t        if (quote !== '') {\n\t            index = start;\n\t            throwUnexpectedToken();\n\t        }\n\n\t        return {\n\t            type: Token.StringLiteral,\n\t            value: str,\n\t            octal: octal,\n\t            lineNumber: startLineNumber,\n\t            lineStart: startLineStart,\n\t            start: start,\n\t            end: index\n\t        };\n\t    }\n\n\t    // ECMA-262 11.8.6 Template Literal Lexical Components\n\n\t    function scanTemplate() {\n\t        var cooked = '', ch, start, rawOffset, terminated, head, tail, restore, unescaped;\n\n\t        terminated = false;\n\t        tail = false;\n\t        start = index;\n\t        head = (source[index] === '`');\n\t        rawOffset = 2;\n\n\t        ++index;\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\t            if (ch === '`') {\n\t                rawOffset = 1;\n\t                tail = true;\n\t                terminated = true;\n\t                break;\n\t            } else if (ch === '$') {\n\t                if (source[index] === '{') {\n\t                    state.curlyStack.push('${');\n\t                    ++index;\n\t                    terminated = true;\n\t                    break;\n\t                }\n\t                cooked += ch;\n\t            } else if (ch === '\\\\') {\n\t                ch = source[index++];\n\t                if (!isLineTerminator(ch.charCodeAt(0))) {\n\t                    switch (ch) {\n\t                    case 'n':\n\t                        cooked += '\\n';\n\t                        break;\n\t                    case 'r':\n\t                        cooked += '\\r';\n\t                        break;\n\t                    case 't':\n\t                        cooked += '\\t';\n\t                        break;\n\t                    case 'u':\n\t                    case 'x':\n\t                        if (source[index] === '{') {\n\t                            ++index;\n\t                            cooked += scanUnicodeCodePointEscape();\n\t                        } else {\n\t                            restore = index;\n\t                            unescaped = scanHexEscape(ch);\n\t                            if (unescaped) {\n\t                                cooked += unescaped;\n\t                            } else {\n\t                                index = restore;\n\t                                cooked += ch;\n\t                            }\n\t                        }\n\t                        break;\n\t                    case 'b':\n\t                        cooked += '\\b';\n\t                        break;\n\t                    case 'f':\n\t                        cooked += '\\f';\n\t                        break;\n\t                    case 'v':\n\t                        cooked += '\\v';\n\t                        break;\n\n\t                    default:\n\t                        if (ch === '0') {\n\t                            if (isDecimalDigit(source.charCodeAt(index))) {\n\t                                // Illegal: \\01 \\02 and so on\n\t                                throwError(Messages.TemplateOctalLiteral);\n\t                            }\n\t                            cooked += '\\0';\n\t                        } else if (isOctalDigit(ch)) {\n\t                            // Illegal: \\1 \\2\n\t                            throwError(Messages.TemplateOctalLiteral);\n\t                        } else {\n\t                            cooked += ch;\n\t                        }\n\t                        break;\n\t                    }\n\t                } else {\n\t                    ++lineNumber;\n\t                    if (ch === '\\r' && source[index] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                    lineStart = index;\n\t                }\n\t            } else if (isLineTerminator(ch.charCodeAt(0))) {\n\t                ++lineNumber;\n\t                if (ch === '\\r' && source[index] === '\\n') {\n\t                    ++index;\n\t                }\n\t                lineStart = index;\n\t                cooked += '\\n';\n\t            } else {\n\t                cooked += ch;\n\t            }\n\t        }\n\n\t        if (!terminated) {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        if (!head) {\n\t            state.curlyStack.pop();\n\t        }\n\n\t        return {\n\t            type: Token.Template,\n\t            value: {\n\t                cooked: cooked,\n\t                raw: source.slice(start + 1, index - rawOffset)\n\t            },\n\t            head: head,\n\t            tail: tail,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            start: start,\n\t            end: index\n\t        };\n\t    }\n\n\t    // ECMA-262 11.8.5 Regular Expression Literals\n\n\t    function testRegExp(pattern, flags) {\n\t        // The BMP character to use as a replacement for astral symbols when\n\t        // translating an ES6 \"u\"-flagged pattern to an ES5-compatible\n\t        // approximation.\n\t        // Note: replacing with '\\uFFFF' enables false positives in unlikely\n\t        // scenarios. For example, `[\\u{1044f}-\\u{10440}]` is an invalid\n\t        // pattern that would not be detected by this substitution.\n\t        var astralSubstitute = '\\uFFFF',\n\t            tmp = pattern;\n\n\t        if (flags.indexOf('u') >= 0) {\n\t            tmp = tmp\n\t                // Replace every Unicode escape sequence with the equivalent\n\t                // BMP character or a constant ASCII code point in the case of\n\t                // astral symbols. (See the above note on `astralSubstitute`\n\t                // for more information.)\n\t                .replace(/\\\\u\\{([0-9a-fA-F]+)\\}|\\\\u([a-fA-F0-9]{4})/g, function ($0, $1, $2) {\n\t                    var codePoint = parseInt($1 || $2, 16);\n\t                    if (codePoint > 0x10FFFF) {\n\t                        throwUnexpectedToken(null, Messages.InvalidRegExp);\n\t                    }\n\t                    if (codePoint <= 0xFFFF) {\n\t                        return String.fromCharCode(codePoint);\n\t                    }\n\t                    return astralSubstitute;\n\t                })\n\t                // Replace each paired surrogate with a single ASCII symbol to\n\t                // avoid throwing on regular expressions that are only valid in\n\t                // combination with the \"u\" flag.\n\t                .replace(\n\t                    /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g,\n\t                    astralSubstitute\n\t                );\n\t        }\n\n\t        // First, detect invalid regular expressions.\n\t        try {\n\t            RegExp(tmp);\n\t        } catch (e) {\n\t            throwUnexpectedToken(null, Messages.InvalidRegExp);\n\t        }\n\n\t        // Return a regular expression object for this pattern-flag pair, or\n\t        // `null` in case the current environment doesn't support the flags it\n\t        // uses.\n\t        try {\n\t            return new RegExp(pattern, flags);\n\t        } catch (exception) {\n\t            return null;\n\t        }\n\t    }\n\n\t    function scanRegExpBody() {\n\t        var ch, str, classMarker, terminated, body;\n\n\t        ch = source[index];\n\t        assert(ch === '/', 'Regular expression literal must start with a slash');\n\t        str = source[index++];\n\n\t        classMarker = false;\n\t        terminated = false;\n\t        while (index < length) {\n\t            ch = source[index++];\n\t            str += ch;\n\t            if (ch === '\\\\') {\n\t                ch = source[index++];\n\t                // ECMA-262 7.8.5\n\t                if (isLineTerminator(ch.charCodeAt(0))) {\n\t                    throwUnexpectedToken(null, Messages.UnterminatedRegExp);\n\t                }\n\t                str += ch;\n\t            } else if (isLineTerminator(ch.charCodeAt(0))) {\n\t                throwUnexpectedToken(null, Messages.UnterminatedRegExp);\n\t            } else if (classMarker) {\n\t                if (ch === ']') {\n\t                    classMarker = false;\n\t                }\n\t            } else {\n\t                if (ch === '/') {\n\t                    terminated = true;\n\t                    break;\n\t                } else if (ch === '[') {\n\t                    classMarker = true;\n\t                }\n\t            }\n\t        }\n\n\t        if (!terminated) {\n\t            throwUnexpectedToken(null, Messages.UnterminatedRegExp);\n\t        }\n\n\t        // Exclude leading and trailing slash.\n\t        body = str.substr(1, str.length - 2);\n\t        return {\n\t            value: body,\n\t            literal: str\n\t        };\n\t    }\n\n\t    function scanRegExpFlags() {\n\t        var ch, str, flags, restore;\n\n\t        str = '';\n\t        flags = '';\n\t        while (index < length) {\n\t            ch = source[index];\n\t            if (!isIdentifierPart(ch.charCodeAt(0))) {\n\t                break;\n\t            }\n\n\t            ++index;\n\t            if (ch === '\\\\' && index < length) {\n\t                ch = source[index];\n\t                if (ch === 'u') {\n\t                    ++index;\n\t                    restore = index;\n\t                    ch = scanHexEscape('u');\n\t                    if (ch) {\n\t                        flags += ch;\n\t                        for (str += '\\\\u'; restore < index; ++restore) {\n\t                            str += source[restore];\n\t                        }\n\t                    } else {\n\t                        index = restore;\n\t                        flags += 'u';\n\t                        str += '\\\\u';\n\t                    }\n\t                    tolerateUnexpectedToken();\n\t                } else {\n\t                    str += '\\\\';\n\t                    tolerateUnexpectedToken();\n\t                }\n\t            } else {\n\t                flags += ch;\n\t                str += ch;\n\t            }\n\t        }\n\n\t        return {\n\t            value: flags,\n\t            literal: str\n\t        };\n\t    }\n\n\t    function scanRegExp() {\n\t        var start, body, flags, value;\n\t        scanning = true;\n\n\t        lookahead = null;\n\t        skipComment();\n\t        start = index;\n\n\t        body = scanRegExpBody();\n\t        flags = scanRegExpFlags();\n\t        value = testRegExp(body.value, flags.value);\n\t        scanning = false;\n\t        if (extra.tokenize) {\n\t            return {\n\t                type: Token.RegularExpression,\n\t                value: value,\n\t                regex: {\n\t                    pattern: body.value,\n\t                    flags: flags.value\n\t                },\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                start: start,\n\t                end: index\n\t            };\n\t        }\n\n\t        return {\n\t            literal: body.literal + flags.literal,\n\t            value: value,\n\t            regex: {\n\t                pattern: body.value,\n\t                flags: flags.value\n\t            },\n\t            start: start,\n\t            end: index\n\t        };\n\t    }\n\n\t    function collectRegex() {\n\t        var pos, loc, regex, token;\n\n\t        skipComment();\n\n\t        pos = index;\n\t        loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            }\n\t        };\n\n\t        regex = scanRegExp();\n\n\t        loc.end = {\n\t            line: lineNumber,\n\t            column: index - lineStart\n\t        };\n\n\t        /* istanbul ignore next */\n\t        if (!extra.tokenize) {\n\t            // Pop the previous token, which is likely '/' or '/='\n\t            if (extra.tokens.length > 0) {\n\t                token = extra.tokens[extra.tokens.length - 1];\n\t                if (token.range[0] === pos && token.type === 'Punctuator') {\n\t                    if (token.value === '/' || token.value === '/=') {\n\t                        extra.tokens.pop();\n\t                    }\n\t                }\n\t            }\n\n\t            extra.tokens.push({\n\t                type: 'RegularExpression',\n\t                value: regex.literal,\n\t                regex: regex.regex,\n\t                range: [pos, index],\n\t                loc: loc\n\t            });\n\t        }\n\n\t        return regex;\n\t    }\n\n\t    function isIdentifierName(token) {\n\t        return token.type === Token.Identifier ||\n\t            token.type === Token.Keyword ||\n\t            token.type === Token.BooleanLiteral ||\n\t            token.type === Token.NullLiteral;\n\t    }\n\n\t    // Using the following algorithm:\n\t    // https://github.com/mozilla/sweet.js/wiki/design\n\n\t    function advanceSlash() {\n\t        var regex, previous, check;\n\n\t        function testKeyword(value) {\n\t            return value && (value.length > 1) && (value[0] >= 'a') && (value[0] <= 'z');\n\t        }\n\n\t        previous = extra.tokenValues[extra.tokens.length - 1];\n\t        regex = (previous !== null);\n\n\t        switch (previous) {\n\t        case 'this':\n\t        case ']':\n\t            regex = false;\n\t            break;\n\n\t        case ')':\n\t            check = extra.tokenValues[extra.openParenToken - 1];\n\t            regex = (check === 'if' || check === 'while' || check === 'for' || check === 'with');\n\t            break;\n\n\t        case '}':\n\t            // Dividing a function by anything makes little sense,\n\t            // but we have to check for that.\n\t            regex = false;\n\t            if (testKeyword(extra.tokenValues[extra.openCurlyToken - 3])) {\n\t                // Anonymous function, e.g. function(){} /42\n\t                check = extra.tokenValues[extra.openCurlyToken - 4];\n\t                regex = check ? (FnExprTokens.indexOf(check) < 0) : false;\n\t            } else if (testKeyword(extra.tokenValues[extra.openCurlyToken - 4])) {\n\t                // Named function, e.g. function f(){} /42/\n\t                check = extra.tokenValues[extra.openCurlyToken - 5];\n\t                regex = check ? (FnExprTokens.indexOf(check) < 0) : true;\n\t            }\n\t        }\n\n\t        return regex ? collectRegex() : scanPunctuator();\n\t    }\n\n\t    function advance() {\n\t        var cp, token;\n\n\t        if (index >= length) {\n\t            return {\n\t                type: Token.EOF,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                start: index,\n\t                end: index\n\t            };\n\t        }\n\n\t        cp = source.charCodeAt(index);\n\n\t        if (isIdentifierStart(cp)) {\n\t            token = scanIdentifier();\n\t            if (strict && isStrictModeReservedWord(token.value)) {\n\t                token.type = Token.Keyword;\n\t            }\n\t            return token;\n\t        }\n\n\t        // Very common: ( and ) and ;\n\t        if (cp === 0x28 || cp === 0x29 || cp === 0x3B) {\n\t            return scanPunctuator();\n\t        }\n\n\t        // String literal starts with single quote (U+0027) or double quote (U+0022).\n\t        if (cp === 0x27 || cp === 0x22) {\n\t            return scanStringLiteral();\n\t        }\n\n\t        // Dot (.) U+002E can also start a floating-point number, hence the need\n\t        // to check the next character.\n\t        if (cp === 0x2E) {\n\t            if (isDecimalDigit(source.charCodeAt(index + 1))) {\n\t                return scanNumericLiteral();\n\t            }\n\t            return scanPunctuator();\n\t        }\n\n\t        if (isDecimalDigit(cp)) {\n\t            return scanNumericLiteral();\n\t        }\n\n\t        // Slash (/) U+002F can also start a regex.\n\t        if (extra.tokenize && cp === 0x2F) {\n\t            return advanceSlash();\n\t        }\n\n\t        // Template literals start with ` (U+0060) for template head\n\t        // or } (U+007D) for template middle or template tail.\n\t        if (cp === 0x60 || (cp === 0x7D && state.curlyStack[state.curlyStack.length - 1] === '${')) {\n\t            return scanTemplate();\n\t        }\n\n\t        // Possible identifier start in a surrogate pair.\n\t        if (cp >= 0xD800 && cp < 0xDFFF) {\n\t            cp = codePointAt(index);\n\t            if (isIdentifierStart(cp)) {\n\t                return scanIdentifier();\n\t            }\n\t        }\n\n\t        return scanPunctuator();\n\t    }\n\n\t    function collectToken() {\n\t        var loc, token, value, entry;\n\n\t        loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            }\n\t        };\n\n\t        token = advance();\n\t        loc.end = {\n\t            line: lineNumber,\n\t            column: index - lineStart\n\t        };\n\n\t        if (token.type !== Token.EOF) {\n\t            value = source.slice(token.start, token.end);\n\t            entry = {\n\t                type: TokenName[token.type],\n\t                value: value,\n\t                range: [token.start, token.end],\n\t                loc: loc\n\t            };\n\t            if (token.regex) {\n\t                entry.regex = {\n\t                    pattern: token.regex.pattern,\n\t                    flags: token.regex.flags\n\t                };\n\t            }\n\t            if (extra.tokenValues) {\n\t                extra.tokenValues.push((entry.type === 'Punctuator' || entry.type === 'Keyword') ? entry.value : null);\n\t            }\n\t            if (extra.tokenize) {\n\t                if (!extra.range) {\n\t                    delete entry.range;\n\t                }\n\t                if (!extra.loc) {\n\t                    delete entry.loc;\n\t                }\n\t                if (extra.delegate) {\n\t                    entry = extra.delegate(entry);\n\t                }\n\t            }\n\t            extra.tokens.push(entry);\n\t        }\n\n\t        return token;\n\t    }\n\n\t    function lex() {\n\t        var token;\n\t        scanning = true;\n\n\t        lastIndex = index;\n\t        lastLineNumber = lineNumber;\n\t        lastLineStart = lineStart;\n\n\t        skipComment();\n\n\t        token = lookahead;\n\n\t        startIndex = index;\n\t        startLineNumber = lineNumber;\n\t        startLineStart = lineStart;\n\n\t        lookahead = (typeof extra.tokens !== 'undefined') ? collectToken() : advance();\n\t        scanning = false;\n\t        return token;\n\t    }\n\n\t    function peek() {\n\t        scanning = true;\n\n\t        skipComment();\n\n\t        lastIndex = index;\n\t        lastLineNumber = lineNumber;\n\t        lastLineStart = lineStart;\n\n\t        startIndex = index;\n\t        startLineNumber = lineNumber;\n\t        startLineStart = lineStart;\n\n\t        lookahead = (typeof extra.tokens !== 'undefined') ? collectToken() : advance();\n\t        scanning = false;\n\t    }\n\n\t    function Position() {\n\t        this.line = startLineNumber;\n\t        this.column = startIndex - startLineStart;\n\t    }\n\n\t    function SourceLocation() {\n\t        this.start = new Position();\n\t        this.end = null;\n\t    }\n\n\t    function WrappingSourceLocation(startToken) {\n\t        this.start = {\n\t            line: startToken.lineNumber,\n\t            column: startToken.start - startToken.lineStart\n\t        };\n\t        this.end = null;\n\t    }\n\n\t    function Node() {\n\t        if (extra.range) {\n\t            this.range = [startIndex, 0];\n\t        }\n\t        if (extra.loc) {\n\t            this.loc = new SourceLocation();\n\t        }\n\t    }\n\n\t    function WrappingNode(startToken) {\n\t        if (extra.range) {\n\t            this.range = [startToken.start, 0];\n\t        }\n\t        if (extra.loc) {\n\t            this.loc = new WrappingSourceLocation(startToken);\n\t        }\n\t    }\n\n\t    WrappingNode.prototype = Node.prototype = {\n\n\t        processComment: function () {\n\t            var lastChild,\n\t                innerComments,\n\t                leadingComments,\n\t                trailingComments,\n\t                bottomRight = extra.bottomRightStack,\n\t                i,\n\t                comment,\n\t                last = bottomRight[bottomRight.length - 1];\n\n\t            if (this.type === Syntax.Program) {\n\t                if (this.body.length > 0) {\n\t                    return;\n\t                }\n\t            }\n\t            /**\n\t             * patch innnerComments for properties empty block\n\t             * `function a() {/** comments **\\/}`\n\t             */\n\n\t            if (this.type === Syntax.BlockStatement && this.body.length === 0) {\n\t                innerComments = [];\n\t                for (i = extra.leadingComments.length - 1; i >= 0; --i) {\n\t                    comment = extra.leadingComments[i];\n\t                    if (this.range[1] >= comment.range[1]) {\n\t                        innerComments.unshift(comment);\n\t                        extra.leadingComments.splice(i, 1);\n\t                        extra.trailingComments.splice(i, 1);\n\t                    }\n\t                }\n\t                if (innerComments.length) {\n\t                    this.innerComments = innerComments;\n\t                    //bottomRight.push(this);\n\t                    return;\n\t                }\n\t            }\n\n\t            if (extra.trailingComments.length > 0) {\n\t                trailingComments = [];\n\t                for (i = extra.trailingComments.length - 1; i >= 0; --i) {\n\t                    comment = extra.trailingComments[i];\n\t                    if (comment.range[0] >= this.range[1]) {\n\t                        trailingComments.unshift(comment);\n\t                        extra.trailingComments.splice(i, 1);\n\t                    }\n\t                }\n\t                extra.trailingComments = [];\n\t            } else {\n\t                if (last && last.trailingComments && last.trailingComments[0].range[0] >= this.range[1]) {\n\t                    trailingComments = last.trailingComments;\n\t                    delete last.trailingComments;\n\t                }\n\t            }\n\n\t            // Eating the stack.\n\t            while (last && last.range[0] >= this.range[0]) {\n\t                lastChild = bottomRight.pop();\n\t                last = bottomRight[bottomRight.length - 1];\n\t            }\n\n\t            if (lastChild) {\n\t                if (lastChild.leadingComments) {\n\t                    leadingComments = [];\n\t                    for (i = lastChild.leadingComments.length - 1; i >= 0; --i) {\n\t                        comment = lastChild.leadingComments[i];\n\t                        if (comment.range[1] <= this.range[0]) {\n\t                            leadingComments.unshift(comment);\n\t                            lastChild.leadingComments.splice(i, 1);\n\t                        }\n\t                    }\n\n\t                    if (!lastChild.leadingComments.length) {\n\t                        lastChild.leadingComments = undefined;\n\t                    }\n\t                }\n\t            } else if (extra.leadingComments.length > 0) {\n\t                leadingComments = [];\n\t                for (i = extra.leadingComments.length - 1; i >= 0; --i) {\n\t                    comment = extra.leadingComments[i];\n\t                    if (comment.range[1] <= this.range[0]) {\n\t                        leadingComments.unshift(comment);\n\t                        extra.leadingComments.splice(i, 1);\n\t                    }\n\t                }\n\t            }\n\n\n\t            if (leadingComments && leadingComments.length > 0) {\n\t                this.leadingComments = leadingComments;\n\t            }\n\t            if (trailingComments && trailingComments.length > 0) {\n\t                this.trailingComments = trailingComments;\n\t            }\n\n\t            bottomRight.push(this);\n\t        },\n\n\t        finish: function () {\n\t            if (extra.range) {\n\t                this.range[1] = lastIndex;\n\t            }\n\t            if (extra.loc) {\n\t                this.loc.end = {\n\t                    line: lastLineNumber,\n\t                    column: lastIndex - lastLineStart\n\t                };\n\t                if (extra.source) {\n\t                    this.loc.source = extra.source;\n\t                }\n\t            }\n\n\t            if (extra.attachComment) {\n\t                this.processComment();\n\t            }\n\t        },\n\n\t        finishArrayExpression: function (elements) {\n\t            this.type = Syntax.ArrayExpression;\n\t            this.elements = elements;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishArrayPattern: function (elements) {\n\t            this.type = Syntax.ArrayPattern;\n\t            this.elements = elements;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishArrowFunctionExpression: function (params, defaults, body, expression) {\n\t            this.type = Syntax.ArrowFunctionExpression;\n\t            this.id = null;\n\t            this.params = params;\n\t            this.defaults = defaults;\n\t            this.body = body;\n\t            this.generator = false;\n\t            this.expression = expression;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishAssignmentExpression: function (operator, left, right) {\n\t            this.type = Syntax.AssignmentExpression;\n\t            this.operator = operator;\n\t            this.left = left;\n\t            this.right = right;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishAssignmentPattern: function (left, right) {\n\t            this.type = Syntax.AssignmentPattern;\n\t            this.left = left;\n\t            this.right = right;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishBinaryExpression: function (operator, left, right) {\n\t            this.type = (operator === '||' || operator === '&&') ? Syntax.LogicalExpression : Syntax.BinaryExpression;\n\t            this.operator = operator;\n\t            this.left = left;\n\t            this.right = right;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishBlockStatement: function (body) {\n\t            this.type = Syntax.BlockStatement;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishBreakStatement: function (label) {\n\t            this.type = Syntax.BreakStatement;\n\t            this.label = label;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishCallExpression: function (callee, args) {\n\t            this.type = Syntax.CallExpression;\n\t            this.callee = callee;\n\t            this.arguments = args;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishCatchClause: function (param, body) {\n\t            this.type = Syntax.CatchClause;\n\t            this.param = param;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishClassBody: function (body) {\n\t            this.type = Syntax.ClassBody;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishClassDeclaration: function (id, superClass, body) {\n\t            this.type = Syntax.ClassDeclaration;\n\t            this.id = id;\n\t            this.superClass = superClass;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishClassExpression: function (id, superClass, body) {\n\t            this.type = Syntax.ClassExpression;\n\t            this.id = id;\n\t            this.superClass = superClass;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishConditionalExpression: function (test, consequent, alternate) {\n\t            this.type = Syntax.ConditionalExpression;\n\t            this.test = test;\n\t            this.consequent = consequent;\n\t            this.alternate = alternate;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishContinueStatement: function (label) {\n\t            this.type = Syntax.ContinueStatement;\n\t            this.label = label;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishDebuggerStatement: function () {\n\t            this.type = Syntax.DebuggerStatement;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishDoWhileStatement: function (body, test) {\n\t            this.type = Syntax.DoWhileStatement;\n\t            this.body = body;\n\t            this.test = test;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishEmptyStatement: function () {\n\t            this.type = Syntax.EmptyStatement;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishExpressionStatement: function (expression) {\n\t            this.type = Syntax.ExpressionStatement;\n\t            this.expression = expression;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishForStatement: function (init, test, update, body) {\n\t            this.type = Syntax.ForStatement;\n\t            this.init = init;\n\t            this.test = test;\n\t            this.update = update;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishForOfStatement: function (left, right, body) {\n\t            this.type = Syntax.ForOfStatement;\n\t            this.left = left;\n\t            this.right = right;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishForInStatement: function (left, right, body) {\n\t            this.type = Syntax.ForInStatement;\n\t            this.left = left;\n\t            this.right = right;\n\t            this.body = body;\n\t            this.each = false;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishFunctionDeclaration: function (id, params, defaults, body, generator) {\n\t            this.type = Syntax.FunctionDeclaration;\n\t            this.id = id;\n\t            this.params = params;\n\t            this.defaults = defaults;\n\t            this.body = body;\n\t            this.generator = generator;\n\t            this.expression = false;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishFunctionExpression: function (id, params, defaults, body, generator) {\n\t            this.type = Syntax.FunctionExpression;\n\t            this.id = id;\n\t            this.params = params;\n\t            this.defaults = defaults;\n\t            this.body = body;\n\t            this.generator = generator;\n\t            this.expression = false;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishIdentifier: function (name) {\n\t            this.type = Syntax.Identifier;\n\t            this.name = name;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishIfStatement: function (test, consequent, alternate) {\n\t            this.type = Syntax.IfStatement;\n\t            this.test = test;\n\t            this.consequent = consequent;\n\t            this.alternate = alternate;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishLabeledStatement: function (label, body) {\n\t            this.type = Syntax.LabeledStatement;\n\t            this.label = label;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishLiteral: function (token) {\n\t            this.type = Syntax.Literal;\n\t            this.value = token.value;\n\t            this.raw = source.slice(token.start, token.end);\n\t            if (token.regex) {\n\t                this.regex = token.regex;\n\t            }\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishMemberExpression: function (accessor, object, property) {\n\t            this.type = Syntax.MemberExpression;\n\t            this.computed = accessor === '[';\n\t            this.object = object;\n\t            this.property = property;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishMetaProperty: function (meta, property) {\n\t            this.type = Syntax.MetaProperty;\n\t            this.meta = meta;\n\t            this.property = property;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishNewExpression: function (callee, args) {\n\t            this.type = Syntax.NewExpression;\n\t            this.callee = callee;\n\t            this.arguments = args;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishObjectExpression: function (properties) {\n\t            this.type = Syntax.ObjectExpression;\n\t            this.properties = properties;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishObjectPattern: function (properties) {\n\t            this.type = Syntax.ObjectPattern;\n\t            this.properties = properties;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishPostfixExpression: function (operator, argument) {\n\t            this.type = Syntax.UpdateExpression;\n\t            this.operator = operator;\n\t            this.argument = argument;\n\t            this.prefix = false;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishProgram: function (body, sourceType) {\n\t            this.type = Syntax.Program;\n\t            this.body = body;\n\t            this.sourceType = sourceType;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishProperty: function (kind, key, computed, value, method, shorthand) {\n\t            this.type = Syntax.Property;\n\t            this.key = key;\n\t            this.computed = computed;\n\t            this.value = value;\n\t            this.kind = kind;\n\t            this.method = method;\n\t            this.shorthand = shorthand;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishRestElement: function (argument) {\n\t            this.type = Syntax.RestElement;\n\t            this.argument = argument;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishReturnStatement: function (argument) {\n\t            this.type = Syntax.ReturnStatement;\n\t            this.argument = argument;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishSequenceExpression: function (expressions) {\n\t            this.type = Syntax.SequenceExpression;\n\t            this.expressions = expressions;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishSpreadElement: function (argument) {\n\t            this.type = Syntax.SpreadElement;\n\t            this.argument = argument;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishSwitchCase: function (test, consequent) {\n\t            this.type = Syntax.SwitchCase;\n\t            this.test = test;\n\t            this.consequent = consequent;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishSuper: function () {\n\t            this.type = Syntax.Super;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishSwitchStatement: function (discriminant, cases) {\n\t            this.type = Syntax.SwitchStatement;\n\t            this.discriminant = discriminant;\n\t            this.cases = cases;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishTaggedTemplateExpression: function (tag, quasi) {\n\t            this.type = Syntax.TaggedTemplateExpression;\n\t            this.tag = tag;\n\t            this.quasi = quasi;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishTemplateElement: function (value, tail) {\n\t            this.type = Syntax.TemplateElement;\n\t            this.value = value;\n\t            this.tail = tail;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishTemplateLiteral: function (quasis, expressions) {\n\t            this.type = Syntax.TemplateLiteral;\n\t            this.quasis = quasis;\n\t            this.expressions = expressions;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishThisExpression: function () {\n\t            this.type = Syntax.ThisExpression;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishThrowStatement: function (argument) {\n\t            this.type = Syntax.ThrowStatement;\n\t            this.argument = argument;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishTryStatement: function (block, handler, finalizer) {\n\t            this.type = Syntax.TryStatement;\n\t            this.block = block;\n\t            this.guardedHandlers = [];\n\t            this.handlers = handler ? [handler] : [];\n\t            this.handler = handler;\n\t            this.finalizer = finalizer;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishUnaryExpression: function (operator, argument) {\n\t            this.type = (operator === '++' || operator === '--') ? Syntax.UpdateExpression : Syntax.UnaryExpression;\n\t            this.operator = operator;\n\t            this.argument = argument;\n\t            this.prefix = true;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishVariableDeclaration: function (declarations) {\n\t            this.type = Syntax.VariableDeclaration;\n\t            this.declarations = declarations;\n\t            this.kind = 'var';\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishLexicalDeclaration: function (declarations, kind) {\n\t            this.type = Syntax.VariableDeclaration;\n\t            this.declarations = declarations;\n\t            this.kind = kind;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishVariableDeclarator: function (id, init) {\n\t            this.type = Syntax.VariableDeclarator;\n\t            this.id = id;\n\t            this.init = init;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishWhileStatement: function (test, body) {\n\t            this.type = Syntax.WhileStatement;\n\t            this.test = test;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishWithStatement: function (object, body) {\n\t            this.type = Syntax.WithStatement;\n\t            this.object = object;\n\t            this.body = body;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishExportSpecifier: function (local, exported) {\n\t            this.type = Syntax.ExportSpecifier;\n\t            this.exported = exported || local;\n\t            this.local = local;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishImportDefaultSpecifier: function (local) {\n\t            this.type = Syntax.ImportDefaultSpecifier;\n\t            this.local = local;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishImportNamespaceSpecifier: function (local) {\n\t            this.type = Syntax.ImportNamespaceSpecifier;\n\t            this.local = local;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishExportNamedDeclaration: function (declaration, specifiers, src) {\n\t            this.type = Syntax.ExportNamedDeclaration;\n\t            this.declaration = declaration;\n\t            this.specifiers = specifiers;\n\t            this.source = src;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishExportDefaultDeclaration: function (declaration) {\n\t            this.type = Syntax.ExportDefaultDeclaration;\n\t            this.declaration = declaration;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishExportAllDeclaration: function (src) {\n\t            this.type = Syntax.ExportAllDeclaration;\n\t            this.source = src;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishImportSpecifier: function (local, imported) {\n\t            this.type = Syntax.ImportSpecifier;\n\t            this.local = local || imported;\n\t            this.imported = imported;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishImportDeclaration: function (specifiers, src) {\n\t            this.type = Syntax.ImportDeclaration;\n\t            this.specifiers = specifiers;\n\t            this.source = src;\n\t            this.finish();\n\t            return this;\n\t        },\n\n\t        finishYieldExpression: function (argument, delegate) {\n\t            this.type = Syntax.YieldExpression;\n\t            this.argument = argument;\n\t            this.delegate = delegate;\n\t            this.finish();\n\t            return this;\n\t        }\n\t    };\n\n\n\t    function recordError(error) {\n\t        var e, existing;\n\n\t        for (e = 0; e < extra.errors.length; e++) {\n\t            existing = extra.errors[e];\n\t            // Prevent duplicated error.\n\t            /* istanbul ignore next */\n\t            if (existing.index === error.index && existing.message === error.message) {\n\t                return;\n\t            }\n\t        }\n\n\t        extra.errors.push(error);\n\t    }\n\n\t    function constructError(msg, column) {\n\t        var error = new Error(msg);\n\t        try {\n\t            throw error;\n\t        } catch (base) {\n\t            /* istanbul ignore else */\n\t            if (Object.create && Object.defineProperty) {\n\t                error = Object.create(base);\n\t                Object.defineProperty(error, 'column', { value: column });\n\t            }\n\t        } finally {\n\t            return error;\n\t        }\n\t    }\n\n\t    function createError(line, pos, description) {\n\t        var msg, column, error;\n\n\t        msg = 'Line ' + line + ': ' + description;\n\t        column = pos - (scanning ? lineStart : lastLineStart) + 1;\n\t        error = constructError(msg, column);\n\t        error.lineNumber = line;\n\t        error.description = description;\n\t        error.index = pos;\n\t        return error;\n\t    }\n\n\t    // Throw an exception\n\n\t    function throwError(messageFormat) {\n\t        var args, msg;\n\n\t        args = Array.prototype.slice.call(arguments, 1);\n\t        msg = messageFormat.replace(/%(\\d)/g,\n\t            function (whole, idx) {\n\t                assert(idx < args.length, 'Message reference must be in range');\n\t                return args[idx];\n\t            }\n\t        );\n\n\t        throw createError(lastLineNumber, lastIndex, msg);\n\t    }\n\n\t    function tolerateError(messageFormat) {\n\t        var args, msg, error;\n\n\t        args = Array.prototype.slice.call(arguments, 1);\n\t        /* istanbul ignore next */\n\t        msg = messageFormat.replace(/%(\\d)/g,\n\t            function (whole, idx) {\n\t                assert(idx < args.length, 'Message reference must be in range');\n\t                return args[idx];\n\t            }\n\t        );\n\n\t        error = createError(lineNumber, lastIndex, msg);\n\t        if (extra.errors) {\n\t            recordError(error);\n\t        } else {\n\t            throw error;\n\t        }\n\t    }\n\n\t    // Throw an exception because of the token.\n\n\t    function unexpectedTokenError(token, message) {\n\t        var value, msg = message || Messages.UnexpectedToken;\n\n\t        if (token) {\n\t            if (!message) {\n\t                msg = (token.type === Token.EOF) ? Messages.UnexpectedEOS :\n\t                    (token.type === Token.Identifier) ? Messages.UnexpectedIdentifier :\n\t                    (token.type === Token.NumericLiteral) ? Messages.UnexpectedNumber :\n\t                    (token.type === Token.StringLiteral) ? Messages.UnexpectedString :\n\t                    (token.type === Token.Template) ? Messages.UnexpectedTemplate :\n\t                    Messages.UnexpectedToken;\n\n\t                if (token.type === Token.Keyword) {\n\t                    if (isFutureReservedWord(token.value)) {\n\t                        msg = Messages.UnexpectedReserved;\n\t                    } else if (strict && isStrictModeReservedWord(token.value)) {\n\t                        msg = Messages.StrictReservedWord;\n\t                    }\n\t                }\n\t            }\n\n\t            value = (token.type === Token.Template) ? token.value.raw : token.value;\n\t        } else {\n\t            value = 'ILLEGAL';\n\t        }\n\n\t        msg = msg.replace('%0', value);\n\n\t        return (token && typeof token.lineNumber === 'number') ?\n\t            createError(token.lineNumber, token.start, msg) :\n\t            createError(scanning ? lineNumber : lastLineNumber, scanning ? index : lastIndex, msg);\n\t    }\n\n\t    function throwUnexpectedToken(token, message) {\n\t        throw unexpectedTokenError(token, message);\n\t    }\n\n\t    function tolerateUnexpectedToken(token, message) {\n\t        var error = unexpectedTokenError(token, message);\n\t        if (extra.errors) {\n\t            recordError(error);\n\t        } else {\n\t            throw error;\n\t        }\n\t    }\n\n\t    // Expect the next token to match the specified punctuator.\n\t    // If not, an exception will be thrown.\n\n\t    function expect(value) {\n\t        var token = lex();\n\t        if (token.type !== Token.Punctuator || token.value !== value) {\n\t            throwUnexpectedToken(token);\n\t        }\n\t    }\n\n\t    /**\n\t     * @name expectCommaSeparator\n\t     * @description Quietly expect a comma when in tolerant mode, otherwise delegates\n\t     * to <code>expect(value)</code>\n\t     * @since 2.0\n\t     */\n\t    function expectCommaSeparator() {\n\t        var token;\n\n\t        if (extra.errors) {\n\t            token = lookahead;\n\t            if (token.type === Token.Punctuator && token.value === ',') {\n\t                lex();\n\t            } else if (token.type === Token.Punctuator && token.value === ';') {\n\t                lex();\n\t                tolerateUnexpectedToken(token);\n\t            } else {\n\t                tolerateUnexpectedToken(token, Messages.UnexpectedToken);\n\t            }\n\t        } else {\n\t            expect(',');\n\t        }\n\t    }\n\n\t    // Expect the next token to match the specified keyword.\n\t    // If not, an exception will be thrown.\n\n\t    function expectKeyword(keyword) {\n\t        var token = lex();\n\t        if (token.type !== Token.Keyword || token.value !== keyword) {\n\t            throwUnexpectedToken(token);\n\t        }\n\t    }\n\n\t    // Return true if the next token matches the specified punctuator.\n\n\t    function match(value) {\n\t        return lookahead.type === Token.Punctuator && lookahead.value === value;\n\t    }\n\n\t    // Return true if the next token matches the specified keyword\n\n\t    function matchKeyword(keyword) {\n\t        return lookahead.type === Token.Keyword && lookahead.value === keyword;\n\t    }\n\n\t    // Return true if the next token matches the specified contextual keyword\n\t    // (where an identifier is sometimes a keyword depending on the context)\n\n\t    function matchContextualKeyword(keyword) {\n\t        return lookahead.type === Token.Identifier && lookahead.value === keyword;\n\t    }\n\n\t    // Return true if the next token is an assignment operator\n\n\t    function matchAssign() {\n\t        var op;\n\n\t        if (lookahead.type !== Token.Punctuator) {\n\t            return false;\n\t        }\n\t        op = lookahead.value;\n\t        return op === '=' ||\n\t            op === '*=' ||\n\t            op === '/=' ||\n\t            op === '%=' ||\n\t            op === '+=' ||\n\t            op === '-=' ||\n\t            op === '<<=' ||\n\t            op === '>>=' ||\n\t            op === '>>>=' ||\n\t            op === '&=' ||\n\t            op === '^=' ||\n\t            op === '|=';\n\t    }\n\n\t    function consumeSemicolon() {\n\t        // Catch the very common case first: immediately a semicolon (U+003B).\n\t        if (source.charCodeAt(startIndex) === 0x3B || match(';')) {\n\t            lex();\n\t            return;\n\t        }\n\n\t        if (hasLineTerminator) {\n\t            return;\n\t        }\n\n\t        // FIXME(ikarienator): this is seemingly an issue in the previous location info convention.\n\t        lastIndex = startIndex;\n\t        lastLineNumber = startLineNumber;\n\t        lastLineStart = startLineStart;\n\n\t        if (lookahead.type !== Token.EOF && !match('}')) {\n\t            throwUnexpectedToken(lookahead);\n\t        }\n\t    }\n\n\t    // Cover grammar support.\n\t    //\n\t    // When an assignment expression position starts with an left parenthesis, the determination of the type\n\t    // of the syntax is to be deferred arbitrarily long until the end of the parentheses pair (plus a lookahead)\n\t    // or the first comma. This situation also defers the determination of all the expressions nested in the pair.\n\t    //\n\t    // There are three productions that can be parsed in a parentheses pair that needs to be determined\n\t    // after the outermost pair is closed. They are:\n\t    //\n\t    //   1. AssignmentExpression\n\t    //   2. BindingElements\n\t    //   3. AssignmentTargets\n\t    //\n\t    // In order to avoid exponential backtracking, we use two flags to denote if the production can be\n\t    // binding element or assignment target.\n\t    //\n\t    // The three productions have the relationship:\n\t    //\n\t    //   BindingElements ⊆ AssignmentTargets ⊆ AssignmentExpression\n\t    //\n\t    // with a single exception that CoverInitializedName when used directly in an Expression, generates\n\t    // an early error. Therefore, we need the third state, firstCoverInitializedNameError, to track the\n\t    // first usage of CoverInitializedName and report it when we reached the end of the parentheses pair.\n\t    //\n\t    // isolateCoverGrammar function runs the given parser function with a new cover grammar context, and it does not\n\t    // effect the current flags. This means the production the parser parses is only used as an expression. Therefore\n\t    // the CoverInitializedName check is conducted.\n\t    //\n\t    // inheritCoverGrammar function runs the given parse function with a new cover grammar context, and it propagates\n\t    // the flags outside of the parser. This means the production the parser parses is used as a part of a potential\n\t    // pattern. The CoverInitializedName check is deferred.\n\t    function isolateCoverGrammar(parser) {\n\t        var oldIsBindingElement = isBindingElement,\n\t            oldIsAssignmentTarget = isAssignmentTarget,\n\t            oldFirstCoverInitializedNameError = firstCoverInitializedNameError,\n\t            result;\n\t        isBindingElement = true;\n\t        isAssignmentTarget = true;\n\t        firstCoverInitializedNameError = null;\n\t        result = parser();\n\t        if (firstCoverInitializedNameError !== null) {\n\t            throwUnexpectedToken(firstCoverInitializedNameError);\n\t        }\n\t        isBindingElement = oldIsBindingElement;\n\t        isAssignmentTarget = oldIsAssignmentTarget;\n\t        firstCoverInitializedNameError = oldFirstCoverInitializedNameError;\n\t        return result;\n\t    }\n\n\t    function inheritCoverGrammar(parser) {\n\t        var oldIsBindingElement = isBindingElement,\n\t            oldIsAssignmentTarget = isAssignmentTarget,\n\t            oldFirstCoverInitializedNameError = firstCoverInitializedNameError,\n\t            result;\n\t        isBindingElement = true;\n\t        isAssignmentTarget = true;\n\t        firstCoverInitializedNameError = null;\n\t        result = parser();\n\t        isBindingElement = isBindingElement && oldIsBindingElement;\n\t        isAssignmentTarget = isAssignmentTarget && oldIsAssignmentTarget;\n\t        firstCoverInitializedNameError = oldFirstCoverInitializedNameError || firstCoverInitializedNameError;\n\t        return result;\n\t    }\n\n\t    // ECMA-262 13.3.3 Destructuring Binding Patterns\n\n\t    function parseArrayPattern(params, kind) {\n\t        var node = new Node(), elements = [], rest, restNode;\n\t        expect('[');\n\n\t        while (!match(']')) {\n\t            if (match(',')) {\n\t                lex();\n\t                elements.push(null);\n\t            } else {\n\t                if (match('...')) {\n\t                    restNode = new Node();\n\t                    lex();\n\t                    params.push(lookahead);\n\t                    rest = parseVariableIdentifier(kind);\n\t                    elements.push(restNode.finishRestElement(rest));\n\t                    break;\n\t                } else {\n\t                    elements.push(parsePatternWithDefault(params, kind));\n\t                }\n\t                if (!match(']')) {\n\t                    expect(',');\n\t                }\n\t            }\n\n\t        }\n\n\t        expect(']');\n\n\t        return node.finishArrayPattern(elements);\n\t    }\n\n\t    function parsePropertyPattern(params, kind) {\n\t        var node = new Node(), key, keyToken, computed = match('['), init;\n\t        if (lookahead.type === Token.Identifier) {\n\t            keyToken = lookahead;\n\t            key = parseVariableIdentifier();\n\t            if (match('=')) {\n\t                params.push(keyToken);\n\t                lex();\n\t                init = parseAssignmentExpression();\n\n\t                return node.finishProperty(\n\t                    'init', key, false,\n\t                    new WrappingNode(keyToken).finishAssignmentPattern(key, init), false, true);\n\t            } else if (!match(':')) {\n\t                params.push(keyToken);\n\t                return node.finishProperty('init', key, false, key, false, true);\n\t            }\n\t        } else {\n\t            key = parseObjectPropertyKey();\n\t        }\n\t        expect(':');\n\t        init = parsePatternWithDefault(params, kind);\n\t        return node.finishProperty('init', key, computed, init, false, false);\n\t    }\n\n\t    function parseObjectPattern(params, kind) {\n\t        var node = new Node(), properties = [];\n\n\t        expect('{');\n\n\t        while (!match('}')) {\n\t            properties.push(parsePropertyPattern(params, kind));\n\t            if (!match('}')) {\n\t                expect(',');\n\t            }\n\t        }\n\n\t        lex();\n\n\t        return node.finishObjectPattern(properties);\n\t    }\n\n\t    function parsePattern(params, kind) {\n\t        if (match('[')) {\n\t            return parseArrayPattern(params, kind);\n\t        } else if (match('{')) {\n\t            return parseObjectPattern(params, kind);\n\t        } else if (matchKeyword('let')) {\n\t            if (kind === 'const' || kind === 'let') {\n\t                tolerateUnexpectedToken(lookahead, Messages.UnexpectedToken);\n\t            }\n\t        }\n\n\t        params.push(lookahead);\n\t        return parseVariableIdentifier(kind);\n\t    }\n\n\t    function parsePatternWithDefault(params, kind) {\n\t        var startToken = lookahead, pattern, previousAllowYield, right;\n\t        pattern = parsePattern(params, kind);\n\t        if (match('=')) {\n\t            lex();\n\t            previousAllowYield = state.allowYield;\n\t            state.allowYield = true;\n\t            right = isolateCoverGrammar(parseAssignmentExpression);\n\t            state.allowYield = previousAllowYield;\n\t            pattern = new WrappingNode(startToken).finishAssignmentPattern(pattern, right);\n\t        }\n\t        return pattern;\n\t    }\n\n\t    // ECMA-262 12.2.5 Array Initializer\n\n\t    function parseArrayInitializer() {\n\t        var elements = [], node = new Node(), restSpread;\n\n\t        expect('[');\n\n\t        while (!match(']')) {\n\t            if (match(',')) {\n\t                lex();\n\t                elements.push(null);\n\t            } else if (match('...')) {\n\t                restSpread = new Node();\n\t                lex();\n\t                restSpread.finishSpreadElement(inheritCoverGrammar(parseAssignmentExpression));\n\n\t                if (!match(']')) {\n\t                    isAssignmentTarget = isBindingElement = false;\n\t                    expect(',');\n\t                }\n\t                elements.push(restSpread);\n\t            } else {\n\t                elements.push(inheritCoverGrammar(parseAssignmentExpression));\n\n\t                if (!match(']')) {\n\t                    expect(',');\n\t                }\n\t            }\n\t        }\n\n\t        lex();\n\n\t        return node.finishArrayExpression(elements);\n\t    }\n\n\t    // ECMA-262 12.2.6 Object Initializer\n\n\t    function parsePropertyFunction(node, paramInfo, isGenerator) {\n\t        var previousStrict, body;\n\n\t        isAssignmentTarget = isBindingElement = false;\n\n\t        previousStrict = strict;\n\t        body = isolateCoverGrammar(parseFunctionSourceElements);\n\n\t        if (strict && paramInfo.firstRestricted) {\n\t            tolerateUnexpectedToken(paramInfo.firstRestricted, paramInfo.message);\n\t        }\n\t        if (strict && paramInfo.stricted) {\n\t            tolerateUnexpectedToken(paramInfo.stricted, paramInfo.message);\n\t        }\n\n\t        strict = previousStrict;\n\t        return node.finishFunctionExpression(null, paramInfo.params, paramInfo.defaults, body, isGenerator);\n\t    }\n\n\t    function parsePropertyMethodFunction() {\n\t        var params, method, node = new Node(),\n\t            previousAllowYield = state.allowYield;\n\n\t        state.allowYield = false;\n\t        params = parseParams();\n\t        state.allowYield = previousAllowYield;\n\n\t        state.allowYield = false;\n\t        method = parsePropertyFunction(node, params, false);\n\t        state.allowYield = previousAllowYield;\n\n\t        return method;\n\t    }\n\n\t    function parseObjectPropertyKey() {\n\t        var token, node = new Node(), expr;\n\n\t        token = lex();\n\n\t        // Note: This function is called only from parseObjectProperty(), where\n\t        // EOF and Punctuator tokens are already filtered out.\n\n\t        switch (token.type) {\n\t        case Token.StringLiteral:\n\t        case Token.NumericLiteral:\n\t            if (strict && token.octal) {\n\t                tolerateUnexpectedToken(token, Messages.StrictOctalLiteral);\n\t            }\n\t            return node.finishLiteral(token);\n\t        case Token.Identifier:\n\t        case Token.BooleanLiteral:\n\t        case Token.NullLiteral:\n\t        case Token.Keyword:\n\t            return node.finishIdentifier(token.value);\n\t        case Token.Punctuator:\n\t            if (token.value === '[') {\n\t                expr = isolateCoverGrammar(parseAssignmentExpression);\n\t                expect(']');\n\t                return expr;\n\t            }\n\t            break;\n\t        }\n\t        throwUnexpectedToken(token);\n\t    }\n\n\t    function lookaheadPropertyName() {\n\t        switch (lookahead.type) {\n\t        case Token.Identifier:\n\t        case Token.StringLiteral:\n\t        case Token.BooleanLiteral:\n\t        case Token.NullLiteral:\n\t        case Token.NumericLiteral:\n\t        case Token.Keyword:\n\t            return true;\n\t        case Token.Punctuator:\n\t            return lookahead.value === '[';\n\t        }\n\t        return false;\n\t    }\n\n\t    // This function is to try to parse a MethodDefinition as defined in 14.3. But in the case of object literals,\n\t    // it might be called at a position where there is in fact a short hand identifier pattern or a data property.\n\t    // This can only be determined after we consumed up to the left parentheses.\n\t    //\n\t    // In order to avoid back tracking, it returns `null` if the position is not a MethodDefinition and the caller\n\t    // is responsible to visit other options.\n\t    function tryParseMethodDefinition(token, key, computed, node) {\n\t        var value, options, methodNode, params,\n\t            previousAllowYield = state.allowYield;\n\n\t        if (token.type === Token.Identifier) {\n\t            // check for `get` and `set`;\n\n\t            if (token.value === 'get' && lookaheadPropertyName()) {\n\t                computed = match('[');\n\t                key = parseObjectPropertyKey();\n\t                methodNode = new Node();\n\t                expect('(');\n\t                expect(')');\n\n\t                state.allowYield = false;\n\t                value = parsePropertyFunction(methodNode, {\n\t                    params: [],\n\t                    defaults: [],\n\t                    stricted: null,\n\t                    firstRestricted: null,\n\t                    message: null\n\t                }, false);\n\t                state.allowYield = previousAllowYield;\n\n\t                return node.finishProperty('get', key, computed, value, false, false);\n\t            } else if (token.value === 'set' && lookaheadPropertyName()) {\n\t                computed = match('[');\n\t                key = parseObjectPropertyKey();\n\t                methodNode = new Node();\n\t                expect('(');\n\n\t                options = {\n\t                    params: [],\n\t                    defaultCount: 0,\n\t                    defaults: [],\n\t                    firstRestricted: null,\n\t                    paramSet: {}\n\t                };\n\t                if (match(')')) {\n\t                    tolerateUnexpectedToken(lookahead);\n\t                } else {\n\t                    state.allowYield = false;\n\t                    parseParam(options);\n\t                    state.allowYield = previousAllowYield;\n\t                    if (options.defaultCount === 0) {\n\t                        options.defaults = [];\n\t                    }\n\t                }\n\t                expect(')');\n\n\t                state.allowYield = false;\n\t                value = parsePropertyFunction(methodNode, options, false);\n\t                state.allowYield = previousAllowYield;\n\n\t                return node.finishProperty('set', key, computed, value, false, false);\n\t            }\n\t        } else if (token.type === Token.Punctuator && token.value === '*' && lookaheadPropertyName()) {\n\t            computed = match('[');\n\t            key = parseObjectPropertyKey();\n\t            methodNode = new Node();\n\n\t            state.allowYield = true;\n\t            params = parseParams();\n\t            state.allowYield = previousAllowYield;\n\n\t            state.allowYield = false;\n\t            value = parsePropertyFunction(methodNode, params, true);\n\t            state.allowYield = previousAllowYield;\n\n\t            return node.finishProperty('init', key, computed, value, true, false);\n\t        }\n\n\t        if (key && match('(')) {\n\t            value = parsePropertyMethodFunction();\n\t            return node.finishProperty('init', key, computed, value, true, false);\n\t        }\n\n\t        // Not a MethodDefinition.\n\t        return null;\n\t    }\n\n\t    function parseObjectProperty(hasProto) {\n\t        var token = lookahead, node = new Node(), computed, key, maybeMethod, proto, value;\n\n\t        computed = match('[');\n\t        if (match('*')) {\n\t            lex();\n\t        } else {\n\t            key = parseObjectPropertyKey();\n\t        }\n\t        maybeMethod = tryParseMethodDefinition(token, key, computed, node);\n\t        if (maybeMethod) {\n\t            return maybeMethod;\n\t        }\n\n\t        if (!key) {\n\t            throwUnexpectedToken(lookahead);\n\t        }\n\n\t        // Check for duplicated __proto__\n\t        if (!computed) {\n\t            proto = (key.type === Syntax.Identifier && key.name === '__proto__') ||\n\t                (key.type === Syntax.Literal && key.value === '__proto__');\n\t            if (hasProto.value && proto) {\n\t                tolerateError(Messages.DuplicateProtoProperty);\n\t            }\n\t            hasProto.value |= proto;\n\t        }\n\n\t        if (match(':')) {\n\t            lex();\n\t            value = inheritCoverGrammar(parseAssignmentExpression);\n\t            return node.finishProperty('init', key, computed, value, false, false);\n\t        }\n\n\t        if (token.type === Token.Identifier) {\n\t            if (match('=')) {\n\t                firstCoverInitializedNameError = lookahead;\n\t                lex();\n\t                value = isolateCoverGrammar(parseAssignmentExpression);\n\t                return node.finishProperty('init', key, computed,\n\t                    new WrappingNode(token).finishAssignmentPattern(key, value), false, true);\n\t            }\n\t            return node.finishProperty('init', key, computed, key, false, true);\n\t        }\n\n\t        throwUnexpectedToken(lookahead);\n\t    }\n\n\t    function parseObjectInitializer() {\n\t        var properties = [], hasProto = {value: false}, node = new Node();\n\n\t        expect('{');\n\n\t        while (!match('}')) {\n\t            properties.push(parseObjectProperty(hasProto));\n\n\t            if (!match('}')) {\n\t                expectCommaSeparator();\n\t            }\n\t        }\n\n\t        expect('}');\n\n\t        return node.finishObjectExpression(properties);\n\t    }\n\n\t    function reinterpretExpressionAsPattern(expr) {\n\t        var i;\n\t        switch (expr.type) {\n\t        case Syntax.Identifier:\n\t        case Syntax.MemberExpression:\n\t        case Syntax.RestElement:\n\t        case Syntax.AssignmentPattern:\n\t            break;\n\t        case Syntax.SpreadElement:\n\t            expr.type = Syntax.RestElement;\n\t            reinterpretExpressionAsPattern(expr.argument);\n\t            break;\n\t        case Syntax.ArrayExpression:\n\t            expr.type = Syntax.ArrayPattern;\n\t            for (i = 0; i < expr.elements.length; i++) {\n\t                if (expr.elements[i] !== null) {\n\t                    reinterpretExpressionAsPattern(expr.elements[i]);\n\t                }\n\t            }\n\t            break;\n\t        case Syntax.ObjectExpression:\n\t            expr.type = Syntax.ObjectPattern;\n\t            for (i = 0; i < expr.properties.length; i++) {\n\t                reinterpretExpressionAsPattern(expr.properties[i].value);\n\t            }\n\t            break;\n\t        case Syntax.AssignmentExpression:\n\t            expr.type = Syntax.AssignmentPattern;\n\t            reinterpretExpressionAsPattern(expr.left);\n\t            break;\n\t        default:\n\t            // Allow other node type for tolerant parsing.\n\t            break;\n\t        }\n\t    }\n\n\t    // ECMA-262 12.2.9 Template Literals\n\n\t    function parseTemplateElement(option) {\n\t        var node, token;\n\n\t        if (lookahead.type !== Token.Template || (option.head && !lookahead.head)) {\n\t            throwUnexpectedToken();\n\t        }\n\n\t        node = new Node();\n\t        token = lex();\n\n\t        return node.finishTemplateElement({ raw: token.value.raw, cooked: token.value.cooked }, token.tail);\n\t    }\n\n\t    function parseTemplateLiteral() {\n\t        var quasi, quasis, expressions, node = new Node();\n\n\t        quasi = parseTemplateElement({ head: true });\n\t        quasis = [quasi];\n\t        expressions = [];\n\n\t        while (!quasi.tail) {\n\t            expressions.push(parseExpression());\n\t            quasi = parseTemplateElement({ head: false });\n\t            quasis.push(quasi);\n\t        }\n\n\t        return node.finishTemplateLiteral(quasis, expressions);\n\t    }\n\n\t    // ECMA-262 12.2.10 The Grouping Operator\n\n\t    function parseGroupExpression() {\n\t        var expr, expressions, startToken, i, params = [];\n\n\t        expect('(');\n\n\t        if (match(')')) {\n\t            lex();\n\t            if (!match('=>')) {\n\t                expect('=>');\n\t            }\n\t            return {\n\t                type: PlaceHolders.ArrowParameterPlaceHolder,\n\t                params: [],\n\t                rawParams: []\n\t            };\n\t        }\n\n\t        startToken = lookahead;\n\t        if (match('...')) {\n\t            expr = parseRestElement(params);\n\t            expect(')');\n\t            if (!match('=>')) {\n\t                expect('=>');\n\t            }\n\t            return {\n\t                type: PlaceHolders.ArrowParameterPlaceHolder,\n\t                params: [expr]\n\t            };\n\t        }\n\n\t        isBindingElement = true;\n\t        expr = inheritCoverGrammar(parseAssignmentExpression);\n\n\t        if (match(',')) {\n\t            isAssignmentTarget = false;\n\t            expressions = [expr];\n\n\t            while (startIndex < length) {\n\t                if (!match(',')) {\n\t                    break;\n\t                }\n\t                lex();\n\n\t                if (match('...')) {\n\t                    if (!isBindingElement) {\n\t                        throwUnexpectedToken(lookahead);\n\t                    }\n\t                    expressions.push(parseRestElement(params));\n\t                    expect(')');\n\t                    if (!match('=>')) {\n\t                        expect('=>');\n\t                    }\n\t                    isBindingElement = false;\n\t                    for (i = 0; i < expressions.length; i++) {\n\t                        reinterpretExpressionAsPattern(expressions[i]);\n\t                    }\n\t                    return {\n\t                        type: PlaceHolders.ArrowParameterPlaceHolder,\n\t                        params: expressions\n\t                    };\n\t                }\n\n\t                expressions.push(inheritCoverGrammar(parseAssignmentExpression));\n\t            }\n\n\t            expr = new WrappingNode(startToken).finishSequenceExpression(expressions);\n\t        }\n\n\n\t        expect(')');\n\n\t        if (match('=>')) {\n\t            if (expr.type === Syntax.Identifier && expr.name === 'yield') {\n\t                return {\n\t                    type: PlaceHolders.ArrowParameterPlaceHolder,\n\t                    params: [expr]\n\t                };\n\t            }\n\n\t            if (!isBindingElement) {\n\t                throwUnexpectedToken(lookahead);\n\t            }\n\n\t            if (expr.type === Syntax.SequenceExpression) {\n\t                for (i = 0; i < expr.expressions.length; i++) {\n\t                    reinterpretExpressionAsPattern(expr.expressions[i]);\n\t                }\n\t            } else {\n\t                reinterpretExpressionAsPattern(expr);\n\t            }\n\n\t            expr = {\n\t                type: PlaceHolders.ArrowParameterPlaceHolder,\n\t                params: expr.type === Syntax.SequenceExpression ? expr.expressions : [expr]\n\t            };\n\t        }\n\t        isBindingElement = false;\n\t        return expr;\n\t    }\n\n\n\t    // ECMA-262 12.2 Primary Expressions\n\n\t    function parsePrimaryExpression() {\n\t        var type, token, expr, node;\n\n\t        if (match('(')) {\n\t            isBindingElement = false;\n\t            return inheritCoverGrammar(parseGroupExpression);\n\t        }\n\n\t        if (match('[')) {\n\t            return inheritCoverGrammar(parseArrayInitializer);\n\t        }\n\n\t        if (match('{')) {\n\t            return inheritCoverGrammar(parseObjectInitializer);\n\t        }\n\n\t        type = lookahead.type;\n\t        node = new Node();\n\n\t        if (type === Token.Identifier) {\n\t            if (state.sourceType === 'module' && lookahead.value === 'await') {\n\t                tolerateUnexpectedToken(lookahead);\n\t            }\n\t            expr = node.finishIdentifier(lex().value);\n\t        } else if (type === Token.StringLiteral || type === Token.NumericLiteral) {\n\t            isAssignmentTarget = isBindingElement = false;\n\t            if (strict && lookahead.octal) {\n\t                tolerateUnexpectedToken(lookahead, Messages.StrictOctalLiteral);\n\t            }\n\t            expr = node.finishLiteral(lex());\n\t        } else if (type === Token.Keyword) {\n\t            if (!strict && state.allowYield && matchKeyword('yield')) {\n\t                return parseNonComputedProperty();\n\t            }\n\t            if (!strict && matchKeyword('let')) {\n\t                return node.finishIdentifier(lex().value);\n\t            }\n\t            isAssignmentTarget = isBindingElement = false;\n\t            if (matchKeyword('function')) {\n\t                return parseFunctionExpression();\n\t            }\n\t            if (matchKeyword('this')) {\n\t                lex();\n\t                return node.finishThisExpression();\n\t            }\n\t            if (matchKeyword('class')) {\n\t                return parseClassExpression();\n\t            }\n\t            throwUnexpectedToken(lex());\n\t        } else if (type === Token.BooleanLiteral) {\n\t            isAssignmentTarget = isBindingElement = false;\n\t            token = lex();\n\t            token.value = (token.value === 'true');\n\t            expr = node.finishLiteral(token);\n\t        } else if (type === Token.NullLiteral) {\n\t            isAssignmentTarget = isBindingElement = false;\n\t            token = lex();\n\t            token.value = null;\n\t            expr = node.finishLiteral(token);\n\t        } else if (match('/') || match('/=')) {\n\t            isAssignmentTarget = isBindingElement = false;\n\t            index = startIndex;\n\n\t            if (typeof extra.tokens !== 'undefined') {\n\t                token = collectRegex();\n\t            } else {\n\t                token = scanRegExp();\n\t            }\n\t            lex();\n\t            expr = node.finishLiteral(token);\n\t        } else if (type === Token.Template) {\n\t            expr = parseTemplateLiteral();\n\t        } else {\n\t            throwUnexpectedToken(lex());\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // ECMA-262 12.3 Left-Hand-Side Expressions\n\n\t    function parseArguments() {\n\t        var args = [], expr;\n\n\t        expect('(');\n\n\t        if (!match(')')) {\n\t            while (startIndex < length) {\n\t                if (match('...')) {\n\t                    expr = new Node();\n\t                    lex();\n\t                    expr.finishSpreadElement(isolateCoverGrammar(parseAssignmentExpression));\n\t                } else {\n\t                    expr = isolateCoverGrammar(parseAssignmentExpression);\n\t                }\n\t                args.push(expr);\n\t                if (match(')')) {\n\t                    break;\n\t                }\n\t                expectCommaSeparator();\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        return args;\n\t    }\n\n\t    function parseNonComputedProperty() {\n\t        var token, node = new Node();\n\n\t        token = lex();\n\n\t        if (!isIdentifierName(token)) {\n\t            throwUnexpectedToken(token);\n\t        }\n\n\t        return node.finishIdentifier(token.value);\n\t    }\n\n\t    function parseNonComputedMember() {\n\t        expect('.');\n\n\t        return parseNonComputedProperty();\n\t    }\n\n\t    function parseComputedMember() {\n\t        var expr;\n\n\t        expect('[');\n\n\t        expr = isolateCoverGrammar(parseExpression);\n\n\t        expect(']');\n\n\t        return expr;\n\t    }\n\n\t    // ECMA-262 12.3.3 The new Operator\n\n\t    function parseNewExpression() {\n\t        var callee, args, node = new Node();\n\n\t        expectKeyword('new');\n\n\t        if (match('.')) {\n\t            lex();\n\t            if (lookahead.type === Token.Identifier && lookahead.value === 'target') {\n\t                if (state.inFunctionBody) {\n\t                    lex();\n\t                    return node.finishMetaProperty('new', 'target');\n\t                }\n\t            }\n\t            throwUnexpectedToken(lookahead);\n\t        }\n\n\t        callee = isolateCoverGrammar(parseLeftHandSideExpression);\n\t        args = match('(') ? parseArguments() : [];\n\n\t        isAssignmentTarget = isBindingElement = false;\n\n\t        return node.finishNewExpression(callee, args);\n\t    }\n\n\t    // ECMA-262 12.3.4 Function Calls\n\n\t    function parseLeftHandSideExpressionAllowCall() {\n\t        var quasi, expr, args, property, startToken, previousAllowIn = state.allowIn;\n\n\t        startToken = lookahead;\n\t        state.allowIn = true;\n\n\t        if (matchKeyword('super') && state.inFunctionBody) {\n\t            expr = new Node();\n\t            lex();\n\t            expr = expr.finishSuper();\n\t            if (!match('(') && !match('.') && !match('[')) {\n\t                throwUnexpectedToken(lookahead);\n\t            }\n\t        } else {\n\t            expr = inheritCoverGrammar(matchKeyword('new') ? parseNewExpression : parsePrimaryExpression);\n\t        }\n\n\t        for (;;) {\n\t            if (match('.')) {\n\t                isBindingElement = false;\n\t                isAssignmentTarget = true;\n\t                property = parseNonComputedMember();\n\t                expr = new WrappingNode(startToken).finishMemberExpression('.', expr, property);\n\t            } else if (match('(')) {\n\t                isBindingElement = false;\n\t                isAssignmentTarget = false;\n\t                args = parseArguments();\n\t                expr = new WrappingNode(startToken).finishCallExpression(expr, args);\n\t            } else if (match('[')) {\n\t                isBindingElement = false;\n\t                isAssignmentTarget = true;\n\t                property = parseComputedMember();\n\t                expr = new WrappingNode(startToken).finishMemberExpression('[', expr, property);\n\t            } else if (lookahead.type === Token.Template && lookahead.head) {\n\t                quasi = parseTemplateLiteral();\n\t                expr = new WrappingNode(startToken).finishTaggedTemplateExpression(expr, quasi);\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\t        state.allowIn = previousAllowIn;\n\n\t        return expr;\n\t    }\n\n\t    // ECMA-262 12.3 Left-Hand-Side Expressions\n\n\t    function parseLeftHandSideExpression() {\n\t        var quasi, expr, property, startToken;\n\t        assert(state.allowIn, 'callee of new expression always allow in keyword.');\n\n\t        startToken = lookahead;\n\n\t        if (matchKeyword('super') && state.inFunctionBody) {\n\t            expr = new Node();\n\t            lex();\n\t            expr = expr.finishSuper();\n\t            if (!match('[') && !match('.')) {\n\t                throwUnexpectedToken(lookahead);\n\t            }\n\t        } else {\n\t            expr = inheritCoverGrammar(matchKeyword('new') ? parseNewExpression : parsePrimaryExpression);\n\t        }\n\n\t        for (;;) {\n\t            if (match('[')) {\n\t                isBindingElement = false;\n\t                isAssignmentTarget = true;\n\t                property = parseComputedMember();\n\t                expr = new WrappingNode(startToken).finishMemberExpression('[', expr, property);\n\t            } else if (match('.')) {\n\t                isBindingElement = false;\n\t                isAssignmentTarget = true;\n\t                property = parseNonComputedMember();\n\t                expr = new WrappingNode(startToken).finishMemberExpression('.', expr, property);\n\t            } else if (lookahead.type === Token.Template && lookahead.head) {\n\t                quasi = parseTemplateLiteral();\n\t                expr = new WrappingNode(startToken).finishTaggedTemplateExpression(expr, quasi);\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\t        return expr;\n\t    }\n\n\t    // ECMA-262 12.4 Postfix Expressions\n\n\t    function parsePostfixExpression() {\n\t        var expr, token, startToken = lookahead;\n\n\t        expr = inheritCoverGrammar(parseLeftHandSideExpressionAllowCall);\n\n\t        if (!hasLineTerminator && lookahead.type === Token.Punctuator) {\n\t            if (match('++') || match('--')) {\n\t                // ECMA-262 11.3.1, 11.3.2\n\t                if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n\t                    tolerateError(Messages.StrictLHSPostfix);\n\t                }\n\n\t                if (!isAssignmentTarget) {\n\t                    tolerateError(Messages.InvalidLHSInAssignment);\n\t                }\n\n\t                isAssignmentTarget = isBindingElement = false;\n\n\t                token = lex();\n\t                expr = new WrappingNode(startToken).finishPostfixExpression(token.value, expr);\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // ECMA-262 12.5 Unary Operators\n\n\t    function parseUnaryExpression() {\n\t        var token, expr, startToken;\n\n\t        if (lookahead.type !== Token.Punctuator && lookahead.type !== Token.Keyword) {\n\t            expr = parsePostfixExpression();\n\t        } else if (match('++') || match('--')) {\n\t            startToken = lookahead;\n\t            token = lex();\n\t            expr = inheritCoverGrammar(parseUnaryExpression);\n\t            // ECMA-262 11.4.4, 11.4.5\n\t            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n\t                tolerateError(Messages.StrictLHSPrefix);\n\t            }\n\n\t            if (!isAssignmentTarget) {\n\t                tolerateError(Messages.InvalidLHSInAssignment);\n\t            }\n\t            expr = new WrappingNode(startToken).finishUnaryExpression(token.value, expr);\n\t            isAssignmentTarget = isBindingElement = false;\n\t        } else if (match('+') || match('-') || match('~') || match('!')) {\n\t            startToken = lookahead;\n\t            token = lex();\n\t            expr = inheritCoverGrammar(parseUnaryExpression);\n\t            expr = new WrappingNode(startToken).finishUnaryExpression(token.value, expr);\n\t            isAssignmentTarget = isBindingElement = false;\n\t        } else if (matchKeyword('delete') || matchKeyword('void') || matchKeyword('typeof')) {\n\t            startToken = lookahead;\n\t            token = lex();\n\t            expr = inheritCoverGrammar(parseUnaryExpression);\n\t            expr = new WrappingNode(startToken).finishUnaryExpression(token.value, expr);\n\t            if (strict && expr.operator === 'delete' && expr.argument.type === Syntax.Identifier) {\n\t                tolerateError(Messages.StrictDelete);\n\t            }\n\t            isAssignmentTarget = isBindingElement = false;\n\t        } else {\n\t            expr = parsePostfixExpression();\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function binaryPrecedence(token, allowIn) {\n\t        var prec = 0;\n\n\t        if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {\n\t            return 0;\n\t        }\n\n\t        switch (token.value) {\n\t        case '||':\n\t            prec = 1;\n\t            break;\n\n\t        case '&&':\n\t            prec = 2;\n\t            break;\n\n\t        case '|':\n\t            prec = 3;\n\t            break;\n\n\t        case '^':\n\t            prec = 4;\n\t            break;\n\n\t        case '&':\n\t            prec = 5;\n\t            break;\n\n\t        case '==':\n\t        case '!=':\n\t        case '===':\n\t        case '!==':\n\t            prec = 6;\n\t            break;\n\n\t        case '<':\n\t        case '>':\n\t        case '<=':\n\t        case '>=':\n\t        case 'instanceof':\n\t            prec = 7;\n\t            break;\n\n\t        case 'in':\n\t            prec = allowIn ? 7 : 0;\n\t            break;\n\n\t        case '<<':\n\t        case '>>':\n\t        case '>>>':\n\t            prec = 8;\n\t            break;\n\n\t        case '+':\n\t        case '-':\n\t            prec = 9;\n\t            break;\n\n\t        case '*':\n\t        case '/':\n\t        case '%':\n\t            prec = 11;\n\t            break;\n\n\t        default:\n\t            break;\n\t        }\n\n\t        return prec;\n\t    }\n\n\t    // ECMA-262 12.6 Multiplicative Operators\n\t    // ECMA-262 12.7 Additive Operators\n\t    // ECMA-262 12.8 Bitwise Shift Operators\n\t    // ECMA-262 12.9 Relational Operators\n\t    // ECMA-262 12.10 Equality Operators\n\t    // ECMA-262 12.11 Binary Bitwise Operators\n\t    // ECMA-262 12.12 Binary Logical Operators\n\n\t    function parseBinaryExpression() {\n\t        var marker, markers, expr, token, prec, stack, right, operator, left, i;\n\n\t        marker = lookahead;\n\t        left = inheritCoverGrammar(parseUnaryExpression);\n\n\t        token = lookahead;\n\t        prec = binaryPrecedence(token, state.allowIn);\n\t        if (prec === 0) {\n\t            return left;\n\t        }\n\t        isAssignmentTarget = isBindingElement = false;\n\t        token.prec = prec;\n\t        lex();\n\n\t        markers = [marker, lookahead];\n\t        right = isolateCoverGrammar(parseUnaryExpression);\n\n\t        stack = [left, token, right];\n\n\t        while ((prec = binaryPrecedence(lookahead, state.allowIn)) > 0) {\n\n\t            // Reduce: make a binary expression from the three topmost entries.\n\t            while ((stack.length > 2) && (prec <= stack[stack.length - 2].prec)) {\n\t                right = stack.pop();\n\t                operator = stack.pop().value;\n\t                left = stack.pop();\n\t                markers.pop();\n\t                expr = new WrappingNode(markers[markers.length - 1]).finishBinaryExpression(operator, left, right);\n\t                stack.push(expr);\n\t            }\n\n\t            // Shift.\n\t            token = lex();\n\t            token.prec = prec;\n\t            stack.push(token);\n\t            markers.push(lookahead);\n\t            expr = isolateCoverGrammar(parseUnaryExpression);\n\t            stack.push(expr);\n\t        }\n\n\t        // Final reduce to clean-up the stack.\n\t        i = stack.length - 1;\n\t        expr = stack[i];\n\t        markers.pop();\n\t        while (i > 1) {\n\t            expr = new WrappingNode(markers.pop()).finishBinaryExpression(stack[i - 1].value, stack[i - 2], expr);\n\t            i -= 2;\n\t        }\n\n\t        return expr;\n\t    }\n\n\n\t    // ECMA-262 12.13 Conditional Operator\n\n\t    function parseConditionalExpression() {\n\t        var expr, previousAllowIn, consequent, alternate, startToken;\n\n\t        startToken = lookahead;\n\n\t        expr = inheritCoverGrammar(parseBinaryExpression);\n\t        if (match('?')) {\n\t            lex();\n\t            previousAllowIn = state.allowIn;\n\t            state.allowIn = true;\n\t            consequent = isolateCoverGrammar(parseAssignmentExpression);\n\t            state.allowIn = previousAllowIn;\n\t            expect(':');\n\t            alternate = isolateCoverGrammar(parseAssignmentExpression);\n\n\t            expr = new WrappingNode(startToken).finishConditionalExpression(expr, consequent, alternate);\n\t            isAssignmentTarget = isBindingElement = false;\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // ECMA-262 14.2 Arrow Function Definitions\n\n\t    function parseConciseBody() {\n\t        if (match('{')) {\n\t            return parseFunctionSourceElements();\n\t        }\n\t        return isolateCoverGrammar(parseAssignmentExpression);\n\t    }\n\n\t    function checkPatternParam(options, param) {\n\t        var i;\n\t        switch (param.type) {\n\t        case Syntax.Identifier:\n\t            validateParam(options, param, param.name);\n\t            break;\n\t        case Syntax.RestElement:\n\t            checkPatternParam(options, param.argument);\n\t            break;\n\t        case Syntax.AssignmentPattern:\n\t            checkPatternParam(options, param.left);\n\t            break;\n\t        case Syntax.ArrayPattern:\n\t            for (i = 0; i < param.elements.length; i++) {\n\t                if (param.elements[i] !== null) {\n\t                    checkPatternParam(options, param.elements[i]);\n\t                }\n\t            }\n\t            break;\n\t        case Syntax.YieldExpression:\n\t            break;\n\t        default:\n\t            assert(param.type === Syntax.ObjectPattern, 'Invalid type');\n\t            for (i = 0; i < param.properties.length; i++) {\n\t                checkPatternParam(options, param.properties[i].value);\n\t            }\n\t            break;\n\t        }\n\t    }\n\t    function reinterpretAsCoverFormalsList(expr) {\n\t        var i, len, param, params, defaults, defaultCount, options, token;\n\n\t        defaults = [];\n\t        defaultCount = 0;\n\t        params = [expr];\n\n\t        switch (expr.type) {\n\t        case Syntax.Identifier:\n\t            break;\n\t        case PlaceHolders.ArrowParameterPlaceHolder:\n\t            params = expr.params;\n\t            break;\n\t        default:\n\t            return null;\n\t        }\n\n\t        options = {\n\t            paramSet: {}\n\t        };\n\n\t        for (i = 0, len = params.length; i < len; i += 1) {\n\t            param = params[i];\n\t            switch (param.type) {\n\t            case Syntax.AssignmentPattern:\n\t                params[i] = param.left;\n\t                if (param.right.type === Syntax.YieldExpression) {\n\t                    if (param.right.argument) {\n\t                        throwUnexpectedToken(lookahead);\n\t                    }\n\t                    param.right.type = Syntax.Identifier;\n\t                    param.right.name = 'yield';\n\t                    delete param.right.argument;\n\t                    delete param.right.delegate;\n\t                }\n\t                defaults.push(param.right);\n\t                ++defaultCount;\n\t                checkPatternParam(options, param.left);\n\t                break;\n\t            default:\n\t                checkPatternParam(options, param);\n\t                params[i] = param;\n\t                defaults.push(null);\n\t                break;\n\t            }\n\t        }\n\n\t        if (strict || !state.allowYield) {\n\t            for (i = 0, len = params.length; i < len; i += 1) {\n\t                param = params[i];\n\t                if (param.type === Syntax.YieldExpression) {\n\t                    throwUnexpectedToken(lookahead);\n\t                }\n\t            }\n\t        }\n\n\t        if (options.message === Messages.StrictParamDupe) {\n\t            token = strict ? options.stricted : options.firstRestricted;\n\t            throwUnexpectedToken(token, options.message);\n\t        }\n\n\t        if (defaultCount === 0) {\n\t            defaults = [];\n\t        }\n\n\t        return {\n\t            params: params,\n\t            defaults: defaults,\n\t            stricted: options.stricted,\n\t            firstRestricted: options.firstRestricted,\n\t            message: options.message\n\t        };\n\t    }\n\n\t    function parseArrowFunctionExpression(options, node) {\n\t        var previousStrict, previousAllowYield, body;\n\n\t        if (hasLineTerminator) {\n\t            tolerateUnexpectedToken(lookahead);\n\t        }\n\t        expect('=>');\n\n\t        previousStrict = strict;\n\t        previousAllowYield = state.allowYield;\n\t        state.allowYield = true;\n\n\t        body = parseConciseBody();\n\n\t        if (strict && options.firstRestricted) {\n\t            throwUnexpectedToken(options.firstRestricted, options.message);\n\t        }\n\t        if (strict && options.stricted) {\n\t            tolerateUnexpectedToken(options.stricted, options.message);\n\t        }\n\n\t        strict = previousStrict;\n\t        state.allowYield = previousAllowYield;\n\n\t        return node.finishArrowFunctionExpression(options.params, options.defaults, body, body.type !== Syntax.BlockStatement);\n\t    }\n\n\t    // ECMA-262 14.4 Yield expression\n\n\t    function parseYieldExpression() {\n\t        var argument, expr, delegate, previousAllowYield;\n\n\t        argument = null;\n\t        expr = new Node();\n\t        delegate = false;\n\n\t        expectKeyword('yield');\n\n\t        if (!hasLineTerminator) {\n\t            previousAllowYield = state.allowYield;\n\t            state.allowYield = false;\n\t            delegate = match('*');\n\t            if (delegate) {\n\t                lex();\n\t                argument = parseAssignmentExpression();\n\t            } else {\n\t                if (!match(';') && !match('}') && !match(')') && lookahead.type !== Token.EOF) {\n\t                    argument = parseAssignmentExpression();\n\t                }\n\t            }\n\t            state.allowYield = previousAllowYield;\n\t        }\n\n\t        return expr.finishYieldExpression(argument, delegate);\n\t    }\n\n\t    // ECMA-262 12.14 Assignment Operators\n\n\t    function parseAssignmentExpression() {\n\t        var token, expr, right, list, startToken;\n\n\t        startToken = lookahead;\n\t        token = lookahead;\n\n\t        if (!state.allowYield && matchKeyword('yield')) {\n\t            return parseYieldExpression();\n\t        }\n\n\t        expr = parseConditionalExpression();\n\n\t        if (expr.type === PlaceHolders.ArrowParameterPlaceHolder || match('=>')) {\n\t            isAssignmentTarget = isBindingElement = false;\n\t            list = reinterpretAsCoverFormalsList(expr);\n\n\t            if (list) {\n\t                firstCoverInitializedNameError = null;\n\t                return parseArrowFunctionExpression(list, new WrappingNode(startToken));\n\t            }\n\n\t            return expr;\n\t        }\n\n\t        if (matchAssign()) {\n\t            if (!isAssignmentTarget) {\n\t                tolerateError(Messages.InvalidLHSInAssignment);\n\t            }\n\n\t            // ECMA-262 12.1.1\n\t            if (strict && expr.type === Syntax.Identifier) {\n\t                if (isRestrictedWord(expr.name)) {\n\t                    tolerateUnexpectedToken(token, Messages.StrictLHSAssignment);\n\t                }\n\t                if (isStrictModeReservedWord(expr.name)) {\n\t                    tolerateUnexpectedToken(token, Messages.StrictReservedWord);\n\t                }\n\t            }\n\n\t            if (!match('=')) {\n\t                isAssignmentTarget = isBindingElement = false;\n\t            } else {\n\t                reinterpretExpressionAsPattern(expr);\n\t            }\n\n\t            token = lex();\n\t            right = isolateCoverGrammar(parseAssignmentExpression);\n\t            expr = new WrappingNode(startToken).finishAssignmentExpression(token.value, expr, right);\n\t            firstCoverInitializedNameError = null;\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // ECMA-262 12.15 Comma Operator\n\n\t    function parseExpression() {\n\t        var expr, startToken = lookahead, expressions;\n\n\t        expr = isolateCoverGrammar(parseAssignmentExpression);\n\n\t        if (match(',')) {\n\t            expressions = [expr];\n\n\t            while (startIndex < length) {\n\t                if (!match(',')) {\n\t                    break;\n\t                }\n\t                lex();\n\t                expressions.push(isolateCoverGrammar(parseAssignmentExpression));\n\t            }\n\n\t            expr = new WrappingNode(startToken).finishSequenceExpression(expressions);\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // ECMA-262 13.2 Block\n\n\t    function parseStatementListItem() {\n\t        if (lookahead.type === Token.Keyword) {\n\t            switch (lookahead.value) {\n\t            case 'export':\n\t                if (state.sourceType !== 'module') {\n\t                    tolerateUnexpectedToken(lookahead, Messages.IllegalExportDeclaration);\n\t                }\n\t                return parseExportDeclaration();\n\t            case 'import':\n\t                if (state.sourceType !== 'module') {\n\t                    tolerateUnexpectedToken(lookahead, Messages.IllegalImportDeclaration);\n\t                }\n\t                return parseImportDeclaration();\n\t            case 'const':\n\t                return parseLexicalDeclaration({inFor: false});\n\t            case 'function':\n\t                return parseFunctionDeclaration(new Node());\n\t            case 'class':\n\t                return parseClassDeclaration();\n\t            }\n\t        }\n\n\t        if (matchKeyword('let') && isLexicalDeclaration()) {\n\t            return parseLexicalDeclaration({inFor: false});\n\t        }\n\n\t        return parseStatement();\n\t    }\n\n\t    function parseStatementList() {\n\t        var list = [];\n\t        while (startIndex < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            list.push(parseStatementListItem());\n\t        }\n\n\t        return list;\n\t    }\n\n\t    function parseBlock() {\n\t        var block, node = new Node();\n\n\t        expect('{');\n\n\t        block = parseStatementList();\n\n\t        expect('}');\n\n\t        return node.finishBlockStatement(block);\n\t    }\n\n\t    // ECMA-262 13.3.2 Variable Statement\n\n\t    function parseVariableIdentifier(kind) {\n\t        var token, node = new Node();\n\n\t        token = lex();\n\n\t        if (token.type === Token.Keyword && token.value === 'yield') {\n\t            if (strict) {\n\t                tolerateUnexpectedToken(token, Messages.StrictReservedWord);\n\t            } if (!state.allowYield) {\n\t                throwUnexpectedToken(token);\n\t            }\n\t        } else if (token.type !== Token.Identifier) {\n\t            if (strict && token.type === Token.Keyword && isStrictModeReservedWord(token.value)) {\n\t                tolerateUnexpectedToken(token, Messages.StrictReservedWord);\n\t            } else {\n\t                if (strict || token.value !== 'let' || kind !== 'var') {\n\t                    throwUnexpectedToken(token);\n\t                }\n\t            }\n\t        } else if (state.sourceType === 'module' && token.type === Token.Identifier && token.value === 'await') {\n\t            tolerateUnexpectedToken(token);\n\t        }\n\n\t        return node.finishIdentifier(token.value);\n\t    }\n\n\t    function parseVariableDeclaration(options) {\n\t        var init = null, id, node = new Node(), params = [];\n\n\t        id = parsePattern(params, 'var');\n\n\t        // ECMA-262 12.2.1\n\t        if (strict && isRestrictedWord(id.name)) {\n\t            tolerateError(Messages.StrictVarName);\n\t        }\n\n\t        if (match('=')) {\n\t            lex();\n\t            init = isolateCoverGrammar(parseAssignmentExpression);\n\t        } else if (id.type !== Syntax.Identifier && !options.inFor) {\n\t            expect('=');\n\t        }\n\n\t        return node.finishVariableDeclarator(id, init);\n\t    }\n\n\t    function parseVariableDeclarationList(options) {\n\t        var opt, list;\n\n\t        opt = { inFor: options.inFor };\n\t        list = [parseVariableDeclaration(opt)];\n\n\t        while (match(',')) {\n\t            lex();\n\t            list.push(parseVariableDeclaration(opt));\n\t        }\n\n\t        return list;\n\t    }\n\n\t    function parseVariableStatement(node) {\n\t        var declarations;\n\n\t        expectKeyword('var');\n\n\t        declarations = parseVariableDeclarationList({ inFor: false });\n\n\t        consumeSemicolon();\n\n\t        return node.finishVariableDeclaration(declarations);\n\t    }\n\n\t    // ECMA-262 13.3.1 Let and Const Declarations\n\n\t    function parseLexicalBinding(kind, options) {\n\t        var init = null, id, node = new Node(), params = [];\n\n\t        id = parsePattern(params, kind);\n\n\t        // ECMA-262 12.2.1\n\t        if (strict && id.type === Syntax.Identifier && isRestrictedWord(id.name)) {\n\t            tolerateError(Messages.StrictVarName);\n\t        }\n\n\t        if (kind === 'const') {\n\t            if (!matchKeyword('in') && !matchContextualKeyword('of')) {\n\t                expect('=');\n\t                init = isolateCoverGrammar(parseAssignmentExpression);\n\t            }\n\t        } else if ((!options.inFor && id.type !== Syntax.Identifier) || match('=')) {\n\t            expect('=');\n\t            init = isolateCoverGrammar(parseAssignmentExpression);\n\t        }\n\n\t        return node.finishVariableDeclarator(id, init);\n\t    }\n\n\t    function parseBindingList(kind, options) {\n\t        var list = [parseLexicalBinding(kind, options)];\n\n\t        while (match(',')) {\n\t            lex();\n\t            list.push(parseLexicalBinding(kind, options));\n\t        }\n\n\t        return list;\n\t    }\n\n\n\t    function tokenizerState() {\n\t        return {\n\t            index: index,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            hasLineTerminator: hasLineTerminator,\n\t            lastIndex: lastIndex,\n\t            lastLineNumber: lastLineNumber,\n\t            lastLineStart: lastLineStart,\n\t            startIndex: startIndex,\n\t            startLineNumber: startLineNumber,\n\t            startLineStart: startLineStart,\n\t            lookahead: lookahead,\n\t            tokenCount: extra.tokens ? extra.tokens.length : 0\n\t        };\n\t    }\n\n\t    function resetTokenizerState(ts) {\n\t        index = ts.index;\n\t        lineNumber = ts.lineNumber;\n\t        lineStart = ts.lineStart;\n\t        hasLineTerminator = ts.hasLineTerminator;\n\t        lastIndex = ts.lastIndex;\n\t        lastLineNumber = ts.lastLineNumber;\n\t        lastLineStart = ts.lastLineStart;\n\t        startIndex = ts.startIndex;\n\t        startLineNumber = ts.startLineNumber;\n\t        startLineStart = ts.startLineStart;\n\t        lookahead = ts.lookahead;\n\t        if (extra.tokens) {\n\t            extra.tokens.splice(ts.tokenCount, extra.tokens.length);\n\t        }\n\t    }\n\n\t    function isLexicalDeclaration() {\n\t        var lexical, ts;\n\n\t        ts = tokenizerState();\n\n\t        lex();\n\t        lexical = (lookahead.type === Token.Identifier) || match('[') || match('{') ||\n\t            matchKeyword('let') || matchKeyword('yield');\n\n\t        resetTokenizerState(ts);\n\n\t        return lexical;\n\t    }\n\n\t    function parseLexicalDeclaration(options) {\n\t        var kind, declarations, node = new Node();\n\n\t        kind = lex().value;\n\t        assert(kind === 'let' || kind === 'const', 'Lexical declaration must be either let or const');\n\n\t        declarations = parseBindingList(kind, options);\n\n\t        consumeSemicolon();\n\n\t        return node.finishLexicalDeclaration(declarations, kind);\n\t    }\n\n\t    function parseRestElement(params) {\n\t        var param, node = new Node();\n\n\t        lex();\n\n\t        if (match('{')) {\n\t            throwError(Messages.ObjectPatternAsRestParameter);\n\t        }\n\n\t        params.push(lookahead);\n\n\t        param = parseVariableIdentifier();\n\n\t        if (match('=')) {\n\t            throwError(Messages.DefaultRestParameter);\n\t        }\n\n\t        if (!match(')')) {\n\t            throwError(Messages.ParameterAfterRestParameter);\n\t        }\n\n\t        return node.finishRestElement(param);\n\t    }\n\n\t    // ECMA-262 13.4 Empty Statement\n\n\t    function parseEmptyStatement(node) {\n\t        expect(';');\n\t        return node.finishEmptyStatement();\n\t    }\n\n\t    // ECMA-262 12.4 Expression Statement\n\n\t    function parseExpressionStatement(node) {\n\t        var expr = parseExpression();\n\t        consumeSemicolon();\n\t        return node.finishExpressionStatement(expr);\n\t    }\n\n\t    // ECMA-262 13.6 If statement\n\n\t    function parseIfStatement(node) {\n\t        var test, consequent, alternate;\n\n\t        expectKeyword('if');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        consequent = parseStatement();\n\n\t        if (matchKeyword('else')) {\n\t            lex();\n\t            alternate = parseStatement();\n\t        } else {\n\t            alternate = null;\n\t        }\n\n\t        return node.finishIfStatement(test, consequent, alternate);\n\t    }\n\n\t    // ECMA-262 13.7 Iteration Statements\n\n\t    function parseDoWhileStatement(node) {\n\t        var body, test, oldInIteration;\n\n\t        expectKeyword('do');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        body = parseStatement();\n\n\t        state.inIteration = oldInIteration;\n\n\t        expectKeyword('while');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        if (match(';')) {\n\t            lex();\n\t        }\n\n\t        return node.finishDoWhileStatement(body, test);\n\t    }\n\n\t    function parseWhileStatement(node) {\n\t        var test, body, oldInIteration;\n\n\t        expectKeyword('while');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        body = parseStatement();\n\n\t        state.inIteration = oldInIteration;\n\n\t        return node.finishWhileStatement(test, body);\n\t    }\n\n\t    function parseForStatement(node) {\n\t        var init, forIn, initSeq, initStartToken, test, update, left, right, kind, declarations,\n\t            body, oldInIteration, previousAllowIn = state.allowIn;\n\n\t        init = test = update = null;\n\t        forIn = true;\n\n\t        expectKeyword('for');\n\n\t        expect('(');\n\n\t        if (match(';')) {\n\t            lex();\n\t        } else {\n\t            if (matchKeyword('var')) {\n\t                init = new Node();\n\t                lex();\n\n\t                state.allowIn = false;\n\t                declarations = parseVariableDeclarationList({ inFor: true });\n\t                state.allowIn = previousAllowIn;\n\n\t                if (declarations.length === 1 && matchKeyword('in')) {\n\t                    init = init.finishVariableDeclaration(declarations);\n\t                    lex();\n\t                    left = init;\n\t                    right = parseExpression();\n\t                    init = null;\n\t                } else if (declarations.length === 1 && declarations[0].init === null && matchContextualKeyword('of')) {\n\t                    init = init.finishVariableDeclaration(declarations);\n\t                    lex();\n\t                    left = init;\n\t                    right = parseAssignmentExpression();\n\t                    init = null;\n\t                    forIn = false;\n\t                } else {\n\t                    init = init.finishVariableDeclaration(declarations);\n\t                    expect(';');\n\t                }\n\t            } else if (matchKeyword('const') || matchKeyword('let')) {\n\t                init = new Node();\n\t                kind = lex().value;\n\n\t                if (!strict && lookahead.value === 'in') {\n\t                    init = init.finishIdentifier(kind);\n\t                    lex();\n\t                    left = init;\n\t                    right = parseExpression();\n\t                    init = null;\n\t                } else {\n\t                    state.allowIn = false;\n\t                    declarations = parseBindingList(kind, {inFor: true});\n\t                    state.allowIn = previousAllowIn;\n\n\t                    if (declarations.length === 1 && declarations[0].init === null && matchKeyword('in')) {\n\t                        init = init.finishLexicalDeclaration(declarations, kind);\n\t                        lex();\n\t                        left = init;\n\t                        right = parseExpression();\n\t                        init = null;\n\t                    } else if (declarations.length === 1 && declarations[0].init === null && matchContextualKeyword('of')) {\n\t                        init = init.finishLexicalDeclaration(declarations, kind);\n\t                        lex();\n\t                        left = init;\n\t                        right = parseAssignmentExpression();\n\t                        init = null;\n\t                        forIn = false;\n\t                    } else {\n\t                        consumeSemicolon();\n\t                        init = init.finishLexicalDeclaration(declarations, kind);\n\t                    }\n\t                }\n\t            } else {\n\t                initStartToken = lookahead;\n\t                state.allowIn = false;\n\t                init = inheritCoverGrammar(parseAssignmentExpression);\n\t                state.allowIn = previousAllowIn;\n\n\t                if (matchKeyword('in')) {\n\t                    if (!isAssignmentTarget) {\n\t                        tolerateError(Messages.InvalidLHSInForIn);\n\t                    }\n\n\t                    lex();\n\t                    reinterpretExpressionAsPattern(init);\n\t                    left = init;\n\t                    right = parseExpression();\n\t                    init = null;\n\t                } else if (matchContextualKeyword('of')) {\n\t                    if (!isAssignmentTarget) {\n\t                        tolerateError(Messages.InvalidLHSInForLoop);\n\t                    }\n\n\t                    lex();\n\t                    reinterpretExpressionAsPattern(init);\n\t                    left = init;\n\t                    right = parseAssignmentExpression();\n\t                    init = null;\n\t                    forIn = false;\n\t                } else {\n\t                    if (match(',')) {\n\t                        initSeq = [init];\n\t                        while (match(',')) {\n\t                            lex();\n\t                            initSeq.push(isolateCoverGrammar(parseAssignmentExpression));\n\t                        }\n\t                        init = new WrappingNode(initStartToken).finishSequenceExpression(initSeq);\n\t                    }\n\t                    expect(';');\n\t                }\n\t            }\n\t        }\n\n\t        if (typeof left === 'undefined') {\n\n\t            if (!match(';')) {\n\t                test = parseExpression();\n\t            }\n\t            expect(';');\n\n\t            if (!match(')')) {\n\t                update = parseExpression();\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        body = isolateCoverGrammar(parseStatement);\n\n\t        state.inIteration = oldInIteration;\n\n\t        return (typeof left === 'undefined') ?\n\t                node.finishForStatement(init, test, update, body) :\n\t                forIn ? node.finishForInStatement(left, right, body) :\n\t                    node.finishForOfStatement(left, right, body);\n\t    }\n\n\t    // ECMA-262 13.8 The continue statement\n\n\t    function parseContinueStatement(node) {\n\t        var label = null, key;\n\n\t        expectKeyword('continue');\n\n\t        // Optimize the most common form: 'continue;'.\n\t        if (source.charCodeAt(startIndex) === 0x3B) {\n\t            lex();\n\n\t            if (!state.inIteration) {\n\t                throwError(Messages.IllegalContinue);\n\t            }\n\n\t            return node.finishContinueStatement(null);\n\t        }\n\n\t        if (hasLineTerminator) {\n\t            if (!state.inIteration) {\n\t                throwError(Messages.IllegalContinue);\n\t            }\n\n\t            return node.finishContinueStatement(null);\n\t        }\n\n\t        if (lookahead.type === Token.Identifier) {\n\t            label = parseVariableIdentifier();\n\n\t            key = '$' + label.name;\n\t            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n\t                throwError(Messages.UnknownLabel, label.name);\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        if (label === null && !state.inIteration) {\n\t            throwError(Messages.IllegalContinue);\n\t        }\n\n\t        return node.finishContinueStatement(label);\n\t    }\n\n\t    // ECMA-262 13.9 The break statement\n\n\t    function parseBreakStatement(node) {\n\t        var label = null, key;\n\n\t        expectKeyword('break');\n\n\t        // Catch the very common case first: immediately a semicolon (U+003B).\n\t        if (source.charCodeAt(lastIndex) === 0x3B) {\n\t            lex();\n\n\t            if (!(state.inIteration || state.inSwitch)) {\n\t                throwError(Messages.IllegalBreak);\n\t            }\n\n\t            return node.finishBreakStatement(null);\n\t        }\n\n\t        if (hasLineTerminator) {\n\t            if (!(state.inIteration || state.inSwitch)) {\n\t                throwError(Messages.IllegalBreak);\n\t            }\n\t        } else if (lookahead.type === Token.Identifier) {\n\t            label = parseVariableIdentifier();\n\n\t            key = '$' + label.name;\n\t            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n\t                throwError(Messages.UnknownLabel, label.name);\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        if (label === null && !(state.inIteration || state.inSwitch)) {\n\t            throwError(Messages.IllegalBreak);\n\t        }\n\n\t        return node.finishBreakStatement(label);\n\t    }\n\n\t    // ECMA-262 13.10 The return statement\n\n\t    function parseReturnStatement(node) {\n\t        var argument = null;\n\n\t        expectKeyword('return');\n\n\t        if (!state.inFunctionBody) {\n\t            tolerateError(Messages.IllegalReturn);\n\t        }\n\n\t        // 'return' followed by a space and an identifier is very common.\n\t        if (source.charCodeAt(lastIndex) === 0x20) {\n\t            if (isIdentifierStart(source.charCodeAt(lastIndex + 1))) {\n\t                argument = parseExpression();\n\t                consumeSemicolon();\n\t                return node.finishReturnStatement(argument);\n\t            }\n\t        }\n\n\t        if (hasLineTerminator) {\n\t            // HACK\n\t            return node.finishReturnStatement(null);\n\t        }\n\n\t        if (!match(';')) {\n\t            if (!match('}') && lookahead.type !== Token.EOF) {\n\t                argument = parseExpression();\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        return node.finishReturnStatement(argument);\n\t    }\n\n\t    // ECMA-262 13.11 The with statement\n\n\t    function parseWithStatement(node) {\n\t        var object, body;\n\n\t        if (strict) {\n\t            tolerateError(Messages.StrictModeWith);\n\t        }\n\n\t        expectKeyword('with');\n\n\t        expect('(');\n\n\t        object = parseExpression();\n\n\t        expect(')');\n\n\t        body = parseStatement();\n\n\t        return node.finishWithStatement(object, body);\n\t    }\n\n\t    // ECMA-262 13.12 The switch statement\n\n\t    function parseSwitchCase() {\n\t        var test, consequent = [], statement, node = new Node();\n\n\t        if (matchKeyword('default')) {\n\t            lex();\n\t            test = null;\n\t        } else {\n\t            expectKeyword('case');\n\t            test = parseExpression();\n\t        }\n\t        expect(':');\n\n\t        while (startIndex < length) {\n\t            if (match('}') || matchKeyword('default') || matchKeyword('case')) {\n\t                break;\n\t            }\n\t            statement = parseStatementListItem();\n\t            consequent.push(statement);\n\t        }\n\n\t        return node.finishSwitchCase(test, consequent);\n\t    }\n\n\t    function parseSwitchStatement(node) {\n\t        var discriminant, cases, clause, oldInSwitch, defaultFound;\n\n\t        expectKeyword('switch');\n\n\t        expect('(');\n\n\t        discriminant = parseExpression();\n\n\t        expect(')');\n\n\t        expect('{');\n\n\t        cases = [];\n\n\t        if (match('}')) {\n\t            lex();\n\t            return node.finishSwitchStatement(discriminant, cases);\n\t        }\n\n\t        oldInSwitch = state.inSwitch;\n\t        state.inSwitch = true;\n\t        defaultFound = false;\n\n\t        while (startIndex < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            clause = parseSwitchCase();\n\t            if (clause.test === null) {\n\t                if (defaultFound) {\n\t                    throwError(Messages.MultipleDefaultsInSwitch);\n\t                }\n\t                defaultFound = true;\n\t            }\n\t            cases.push(clause);\n\t        }\n\n\t        state.inSwitch = oldInSwitch;\n\n\t        expect('}');\n\n\t        return node.finishSwitchStatement(discriminant, cases);\n\t    }\n\n\t    // ECMA-262 13.14 The throw statement\n\n\t    function parseThrowStatement(node) {\n\t        var argument;\n\n\t        expectKeyword('throw');\n\n\t        if (hasLineTerminator) {\n\t            throwError(Messages.NewlineAfterThrow);\n\t        }\n\n\t        argument = parseExpression();\n\n\t        consumeSemicolon();\n\n\t        return node.finishThrowStatement(argument);\n\t    }\n\n\t    // ECMA-262 13.15 The try statement\n\n\t    function parseCatchClause() {\n\t        var param, params = [], paramMap = {}, key, i, body, node = new Node();\n\n\t        expectKeyword('catch');\n\n\t        expect('(');\n\t        if (match(')')) {\n\t            throwUnexpectedToken(lookahead);\n\t        }\n\n\t        param = parsePattern(params);\n\t        for (i = 0; i < params.length; i++) {\n\t            key = '$' + params[i].value;\n\t            if (Object.prototype.hasOwnProperty.call(paramMap, key)) {\n\t                tolerateError(Messages.DuplicateBinding, params[i].value);\n\t            }\n\t            paramMap[key] = true;\n\t        }\n\n\t        // ECMA-262 12.14.1\n\t        if (strict && isRestrictedWord(param.name)) {\n\t            tolerateError(Messages.StrictCatchVariable);\n\t        }\n\n\t        expect(')');\n\t        body = parseBlock();\n\t        return node.finishCatchClause(param, body);\n\t    }\n\n\t    function parseTryStatement(node) {\n\t        var block, handler = null, finalizer = null;\n\n\t        expectKeyword('try');\n\n\t        block = parseBlock();\n\n\t        if (matchKeyword('catch')) {\n\t            handler = parseCatchClause();\n\t        }\n\n\t        if (matchKeyword('finally')) {\n\t            lex();\n\t            finalizer = parseBlock();\n\t        }\n\n\t        if (!handler && !finalizer) {\n\t            throwError(Messages.NoCatchOrFinally);\n\t        }\n\n\t        return node.finishTryStatement(block, handler, finalizer);\n\t    }\n\n\t    // ECMA-262 13.16 The debugger statement\n\n\t    function parseDebuggerStatement(node) {\n\t        expectKeyword('debugger');\n\n\t        consumeSemicolon();\n\n\t        return node.finishDebuggerStatement();\n\t    }\n\n\t    // 13 Statements\n\n\t    function parseStatement() {\n\t        var type = lookahead.type,\n\t            expr,\n\t            labeledBody,\n\t            key,\n\t            node;\n\n\t        if (type === Token.EOF) {\n\t            throwUnexpectedToken(lookahead);\n\t        }\n\n\t        if (type === Token.Punctuator && lookahead.value === '{') {\n\t            return parseBlock();\n\t        }\n\t        isAssignmentTarget = isBindingElement = true;\n\t        node = new Node();\n\n\t        if (type === Token.Punctuator) {\n\t            switch (lookahead.value) {\n\t            case ';':\n\t                return parseEmptyStatement(node);\n\t            case '(':\n\t                return parseExpressionStatement(node);\n\t            default:\n\t                break;\n\t            }\n\t        } else if (type === Token.Keyword) {\n\t            switch (lookahead.value) {\n\t            case 'break':\n\t                return parseBreakStatement(node);\n\t            case 'continue':\n\t                return parseContinueStatement(node);\n\t            case 'debugger':\n\t                return parseDebuggerStatement(node);\n\t            case 'do':\n\t                return parseDoWhileStatement(node);\n\t            case 'for':\n\t                return parseForStatement(node);\n\t            case 'function':\n\t                return parseFunctionDeclaration(node);\n\t            case 'if':\n\t                return parseIfStatement(node);\n\t            case 'return':\n\t                return parseReturnStatement(node);\n\t            case 'switch':\n\t                return parseSwitchStatement(node);\n\t            case 'throw':\n\t                return parseThrowStatement(node);\n\t            case 'try':\n\t                return parseTryStatement(node);\n\t            case 'var':\n\t                return parseVariableStatement(node);\n\t            case 'while':\n\t                return parseWhileStatement(node);\n\t            case 'with':\n\t                return parseWithStatement(node);\n\t            default:\n\t                break;\n\t            }\n\t        }\n\n\t        expr = parseExpression();\n\n\t        // ECMA-262 12.12 Labelled Statements\n\t        if ((expr.type === Syntax.Identifier) && match(':')) {\n\t            lex();\n\n\t            key = '$' + expr.name;\n\t            if (Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n\t                throwError(Messages.Redeclaration, 'Label', expr.name);\n\t            }\n\n\t            state.labelSet[key] = true;\n\t            labeledBody = parseStatement();\n\t            delete state.labelSet[key];\n\t            return node.finishLabeledStatement(expr, labeledBody);\n\t        }\n\n\t        consumeSemicolon();\n\n\t        return node.finishExpressionStatement(expr);\n\t    }\n\n\t    // ECMA-262 14.1 Function Definition\n\n\t    function parseFunctionSourceElements() {\n\t        var statement, body = [], token, directive, firstRestricted,\n\t            oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody,\n\t            node = new Node();\n\n\t        expect('{');\n\n\t        while (startIndex < length) {\n\t            if (lookahead.type !== Token.StringLiteral) {\n\t                break;\n\t            }\n\t            token = lookahead;\n\n\t            statement = parseStatementListItem();\n\t            body.push(statement);\n\t            if (statement.expression.type !== Syntax.Literal) {\n\t                // this is not directive\n\t                break;\n\t            }\n\t            directive = source.slice(token.start + 1, token.end - 1);\n\t            if (directive === 'use strict') {\n\t                strict = true;\n\t                if (firstRestricted) {\n\t                    tolerateUnexpectedToken(firstRestricted, Messages.StrictOctalLiteral);\n\t                }\n\t            } else {\n\t                if (!firstRestricted && token.octal) {\n\t                    firstRestricted = token;\n\t                }\n\t            }\n\t        }\n\n\t        oldLabelSet = state.labelSet;\n\t        oldInIteration = state.inIteration;\n\t        oldInSwitch = state.inSwitch;\n\t        oldInFunctionBody = state.inFunctionBody;\n\n\t        state.labelSet = {};\n\t        state.inIteration = false;\n\t        state.inSwitch = false;\n\t        state.inFunctionBody = true;\n\n\t        while (startIndex < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            body.push(parseStatementListItem());\n\t        }\n\n\t        expect('}');\n\n\t        state.labelSet = oldLabelSet;\n\t        state.inIteration = oldInIteration;\n\t        state.inSwitch = oldInSwitch;\n\t        state.inFunctionBody = oldInFunctionBody;\n\n\t        return node.finishBlockStatement(body);\n\t    }\n\n\t    function validateParam(options, param, name) {\n\t        var key = '$' + name;\n\t        if (strict) {\n\t            if (isRestrictedWord(name)) {\n\t                options.stricted = param;\n\t                options.message = Messages.StrictParamName;\n\t            }\n\t            if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {\n\t                options.stricted = param;\n\t                options.message = Messages.StrictParamDupe;\n\t            }\n\t        } else if (!options.firstRestricted) {\n\t            if (isRestrictedWord(name)) {\n\t                options.firstRestricted = param;\n\t                options.message = Messages.StrictParamName;\n\t            } else if (isStrictModeReservedWord(name)) {\n\t                options.firstRestricted = param;\n\t                options.message = Messages.StrictReservedWord;\n\t            } else if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {\n\t                options.stricted = param;\n\t                options.message = Messages.StrictParamDupe;\n\t            }\n\t        }\n\t        options.paramSet[key] = true;\n\t    }\n\n\t    function parseParam(options) {\n\t        var token, param, params = [], i, def;\n\n\t        token = lookahead;\n\t        if (token.value === '...') {\n\t            param = parseRestElement(params);\n\t            validateParam(options, param.argument, param.argument.name);\n\t            options.params.push(param);\n\t            options.defaults.push(null);\n\t            return false;\n\t        }\n\n\t        param = parsePatternWithDefault(params);\n\t        for (i = 0; i < params.length; i++) {\n\t            validateParam(options, params[i], params[i].value);\n\t        }\n\n\t        if (param.type === Syntax.AssignmentPattern) {\n\t            def = param.right;\n\t            param = param.left;\n\t            ++options.defaultCount;\n\t        }\n\n\t        options.params.push(param);\n\t        options.defaults.push(def);\n\n\t        return !match(')');\n\t    }\n\n\t    function parseParams(firstRestricted) {\n\t        var options;\n\n\t        options = {\n\t            params: [],\n\t            defaultCount: 0,\n\t            defaults: [],\n\t            firstRestricted: firstRestricted\n\t        };\n\n\t        expect('(');\n\n\t        if (!match(')')) {\n\t            options.paramSet = {};\n\t            while (startIndex < length) {\n\t                if (!parseParam(options)) {\n\t                    break;\n\t                }\n\t                expect(',');\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        if (options.defaultCount === 0) {\n\t            options.defaults = [];\n\t        }\n\n\t        return {\n\t            params: options.params,\n\t            defaults: options.defaults,\n\t            stricted: options.stricted,\n\t            firstRestricted: options.firstRestricted,\n\t            message: options.message\n\t        };\n\t    }\n\n\t    function parseFunctionDeclaration(node, identifierIsOptional) {\n\t        var id = null, params = [], defaults = [], body, token, stricted, tmp, firstRestricted, message, previousStrict,\n\t            isGenerator, previousAllowYield;\n\n\t        previousAllowYield = state.allowYield;\n\n\t        expectKeyword('function');\n\n\t        isGenerator = match('*');\n\t        if (isGenerator) {\n\t            lex();\n\t        }\n\n\t        if (!identifierIsOptional || !match('(')) {\n\t            token = lookahead;\n\t            id = parseVariableIdentifier();\n\t            if (strict) {\n\t                if (isRestrictedWord(token.value)) {\n\t                    tolerateUnexpectedToken(token, Messages.StrictFunctionName);\n\t                }\n\t            } else {\n\t                if (isRestrictedWord(token.value)) {\n\t                    firstRestricted = token;\n\t                    message = Messages.StrictFunctionName;\n\t                } else if (isStrictModeReservedWord(token.value)) {\n\t                    firstRestricted = token;\n\t                    message = Messages.StrictReservedWord;\n\t                }\n\t            }\n\t        }\n\n\t        state.allowYield = !isGenerator;\n\t        tmp = parseParams(firstRestricted);\n\t        params = tmp.params;\n\t        defaults = tmp.defaults;\n\t        stricted = tmp.stricted;\n\t        firstRestricted = tmp.firstRestricted;\n\t        if (tmp.message) {\n\t            message = tmp.message;\n\t        }\n\n\n\t        previousStrict = strict;\n\t        body = parseFunctionSourceElements();\n\t        if (strict && firstRestricted) {\n\t            throwUnexpectedToken(firstRestricted, message);\n\t        }\n\t        if (strict && stricted) {\n\t            tolerateUnexpectedToken(stricted, message);\n\t        }\n\n\t        strict = previousStrict;\n\t        state.allowYield = previousAllowYield;\n\n\t        return node.finishFunctionDeclaration(id, params, defaults, body, isGenerator);\n\t    }\n\n\t    function parseFunctionExpression() {\n\t        var token, id = null, stricted, firstRestricted, message, tmp,\n\t            params = [], defaults = [], body, previousStrict, node = new Node(),\n\t            isGenerator, previousAllowYield;\n\n\t        previousAllowYield = state.allowYield;\n\n\t        expectKeyword('function');\n\n\t        isGenerator = match('*');\n\t        if (isGenerator) {\n\t            lex();\n\t        }\n\n\t        state.allowYield = !isGenerator;\n\t        if (!match('(')) {\n\t            token = lookahead;\n\t            id = (!strict && !isGenerator && matchKeyword('yield')) ? parseNonComputedProperty() : parseVariableIdentifier();\n\t            if (strict) {\n\t                if (isRestrictedWord(token.value)) {\n\t                    tolerateUnexpectedToken(token, Messages.StrictFunctionName);\n\t                }\n\t            } else {\n\t                if (isRestrictedWord(token.value)) {\n\t                    firstRestricted = token;\n\t                    message = Messages.StrictFunctionName;\n\t                } else if (isStrictModeReservedWord(token.value)) {\n\t                    firstRestricted = token;\n\t                    message = Messages.StrictReservedWord;\n\t                }\n\t            }\n\t        }\n\n\t        tmp = parseParams(firstRestricted);\n\t        params = tmp.params;\n\t        defaults = tmp.defaults;\n\t        stricted = tmp.stricted;\n\t        firstRestricted = tmp.firstRestricted;\n\t        if (tmp.message) {\n\t            message = tmp.message;\n\t        }\n\n\t        previousStrict = strict;\n\t        body = parseFunctionSourceElements();\n\t        if (strict && firstRestricted) {\n\t            throwUnexpectedToken(firstRestricted, message);\n\t        }\n\t        if (strict && stricted) {\n\t            tolerateUnexpectedToken(stricted, message);\n\t        }\n\t        strict = previousStrict;\n\t        state.allowYield = previousAllowYield;\n\n\t        return node.finishFunctionExpression(id, params, defaults, body, isGenerator);\n\t    }\n\n\t    // ECMA-262 14.5 Class Definitions\n\n\t    function parseClassBody() {\n\t        var classBody, token, isStatic, hasConstructor = false, body, method, computed, key;\n\n\t        classBody = new Node();\n\n\t        expect('{');\n\t        body = [];\n\t        while (!match('}')) {\n\t            if (match(';')) {\n\t                lex();\n\t            } else {\n\t                method = new Node();\n\t                token = lookahead;\n\t                isStatic = false;\n\t                computed = match('[');\n\t                if (match('*')) {\n\t                    lex();\n\t                } else {\n\t                    key = parseObjectPropertyKey();\n\t                    if (key.name === 'static' && (lookaheadPropertyName() || match('*'))) {\n\t                        token = lookahead;\n\t                        isStatic = true;\n\t                        computed = match('[');\n\t                        if (match('*')) {\n\t                            lex();\n\t                        } else {\n\t                            key = parseObjectPropertyKey();\n\t                        }\n\t                    }\n\t                }\n\t                method = tryParseMethodDefinition(token, key, computed, method);\n\t                if (method) {\n\t                    method['static'] = isStatic; // jscs:ignore requireDotNotation\n\t                    if (method.kind === 'init') {\n\t                        method.kind = 'method';\n\t                    }\n\t                    if (!isStatic) {\n\t                        if (!method.computed && (method.key.name || method.key.value.toString()) === 'constructor') {\n\t                            if (method.kind !== 'method' || !method.method || method.value.generator) {\n\t                                throwUnexpectedToken(token, Messages.ConstructorSpecialMethod);\n\t                            }\n\t                            if (hasConstructor) {\n\t                                throwUnexpectedToken(token, Messages.DuplicateConstructor);\n\t                            } else {\n\t                                hasConstructor = true;\n\t                            }\n\t                            method.kind = 'constructor';\n\t                        }\n\t                    } else {\n\t                        if (!method.computed && (method.key.name || method.key.value.toString()) === 'prototype') {\n\t                            throwUnexpectedToken(token, Messages.StaticPrototype);\n\t                        }\n\t                    }\n\t                    method.type = Syntax.MethodDefinition;\n\t                    delete method.method;\n\t                    delete method.shorthand;\n\t                    body.push(method);\n\t                } else {\n\t                    throwUnexpectedToken(lookahead);\n\t                }\n\t            }\n\t        }\n\t        lex();\n\t        return classBody.finishClassBody(body);\n\t    }\n\n\t    function parseClassDeclaration(identifierIsOptional) {\n\t        var id = null, superClass = null, classNode = new Node(), classBody, previousStrict = strict;\n\t        strict = true;\n\n\t        expectKeyword('class');\n\n\t        if (!identifierIsOptional || lookahead.type === Token.Identifier) {\n\t            id = parseVariableIdentifier();\n\t        }\n\n\t        if (matchKeyword('extends')) {\n\t            lex();\n\t            superClass = isolateCoverGrammar(parseLeftHandSideExpressionAllowCall);\n\t        }\n\t        classBody = parseClassBody();\n\t        strict = previousStrict;\n\n\t        return classNode.finishClassDeclaration(id, superClass, classBody);\n\t    }\n\n\t    function parseClassExpression() {\n\t        var id = null, superClass = null, classNode = new Node(), classBody, previousStrict = strict;\n\t        strict = true;\n\n\t        expectKeyword('class');\n\n\t        if (lookahead.type === Token.Identifier) {\n\t            id = parseVariableIdentifier();\n\t        }\n\n\t        if (matchKeyword('extends')) {\n\t            lex();\n\t            superClass = isolateCoverGrammar(parseLeftHandSideExpressionAllowCall);\n\t        }\n\t        classBody = parseClassBody();\n\t        strict = previousStrict;\n\n\t        return classNode.finishClassExpression(id, superClass, classBody);\n\t    }\n\n\t    // ECMA-262 15.2 Modules\n\n\t    function parseModuleSpecifier() {\n\t        var node = new Node();\n\n\t        if (lookahead.type !== Token.StringLiteral) {\n\t            throwError(Messages.InvalidModuleSpecifier);\n\t        }\n\t        return node.finishLiteral(lex());\n\t    }\n\n\t    // ECMA-262 15.2.3 Exports\n\n\t    function parseExportSpecifier() {\n\t        var exported, local, node = new Node(), def;\n\t        if (matchKeyword('default')) {\n\t            // export {default} from 'something';\n\t            def = new Node();\n\t            lex();\n\t            local = def.finishIdentifier('default');\n\t        } else {\n\t            local = parseVariableIdentifier();\n\t        }\n\t        if (matchContextualKeyword('as')) {\n\t            lex();\n\t            exported = parseNonComputedProperty();\n\t        }\n\t        return node.finishExportSpecifier(local, exported);\n\t    }\n\n\t    function parseExportNamedDeclaration(node) {\n\t        var declaration = null,\n\t            isExportFromIdentifier,\n\t            src = null, specifiers = [];\n\n\t        // non-default export\n\t        if (lookahead.type === Token.Keyword) {\n\t            // covers:\n\t            // export var f = 1;\n\t            switch (lookahead.value) {\n\t                case 'let':\n\t                case 'const':\n\t                    declaration = parseLexicalDeclaration({inFor: false});\n\t                    return node.finishExportNamedDeclaration(declaration, specifiers, null);\n\t                case 'var':\n\t                case 'class':\n\t                case 'function':\n\t                    declaration = parseStatementListItem();\n\t                    return node.finishExportNamedDeclaration(declaration, specifiers, null);\n\t            }\n\t        }\n\n\t        expect('{');\n\t        while (!match('}')) {\n\t            isExportFromIdentifier = isExportFromIdentifier || matchKeyword('default');\n\t            specifiers.push(parseExportSpecifier());\n\t            if (!match('}')) {\n\t                expect(',');\n\t                if (match('}')) {\n\t                    break;\n\t                }\n\t            }\n\t        }\n\t        expect('}');\n\n\t        if (matchContextualKeyword('from')) {\n\t            // covering:\n\t            // export {default} from 'foo';\n\t            // export {foo} from 'foo';\n\t            lex();\n\t            src = parseModuleSpecifier();\n\t            consumeSemicolon();\n\t        } else if (isExportFromIdentifier) {\n\t            // covering:\n\t            // export {default}; // missing fromClause\n\t            throwError(lookahead.value ?\n\t                    Messages.UnexpectedToken : Messages.MissingFromClause, lookahead.value);\n\t        } else {\n\t            // cover\n\t            // export {foo};\n\t            consumeSemicolon();\n\t        }\n\t        return node.finishExportNamedDeclaration(declaration, specifiers, src);\n\t    }\n\n\t    function parseExportDefaultDeclaration(node) {\n\t        var declaration = null,\n\t            expression = null;\n\n\t        // covers:\n\t        // export default ...\n\t        expectKeyword('default');\n\n\t        if (matchKeyword('function')) {\n\t            // covers:\n\t            // export default function foo () {}\n\t            // export default function () {}\n\t            declaration = parseFunctionDeclaration(new Node(), true);\n\t            return node.finishExportDefaultDeclaration(declaration);\n\t        }\n\t        if (matchKeyword('class')) {\n\t            declaration = parseClassDeclaration(true);\n\t            return node.finishExportDefaultDeclaration(declaration);\n\t        }\n\n\t        if (matchContextualKeyword('from')) {\n\t            throwError(Messages.UnexpectedToken, lookahead.value);\n\t        }\n\n\t        // covers:\n\t        // export default {};\n\t        // export default [];\n\t        // export default (1 + 2);\n\t        if (match('{')) {\n\t            expression = parseObjectInitializer();\n\t        } else if (match('[')) {\n\t            expression = parseArrayInitializer();\n\t        } else {\n\t            expression = parseAssignmentExpression();\n\t        }\n\t        consumeSemicolon();\n\t        return node.finishExportDefaultDeclaration(expression);\n\t    }\n\n\t    function parseExportAllDeclaration(node) {\n\t        var src;\n\n\t        // covers:\n\t        // export * from 'foo';\n\t        expect('*');\n\t        if (!matchContextualKeyword('from')) {\n\t            throwError(lookahead.value ?\n\t                    Messages.UnexpectedToken : Messages.MissingFromClause, lookahead.value);\n\t        }\n\t        lex();\n\t        src = parseModuleSpecifier();\n\t        consumeSemicolon();\n\n\t        return node.finishExportAllDeclaration(src);\n\t    }\n\n\t    function parseExportDeclaration() {\n\t        var node = new Node();\n\t        if (state.inFunctionBody) {\n\t            throwError(Messages.IllegalExportDeclaration);\n\t        }\n\n\t        expectKeyword('export');\n\n\t        if (matchKeyword('default')) {\n\t            return parseExportDefaultDeclaration(node);\n\t        }\n\t        if (match('*')) {\n\t            return parseExportAllDeclaration(node);\n\t        }\n\t        return parseExportNamedDeclaration(node);\n\t    }\n\n\t    // ECMA-262 15.2.2 Imports\n\n\t    function parseImportSpecifier() {\n\t        // import {<foo as bar>} ...;\n\t        var local, imported, node = new Node();\n\n\t        imported = parseNonComputedProperty();\n\t        if (matchContextualKeyword('as')) {\n\t            lex();\n\t            local = parseVariableIdentifier();\n\t        }\n\n\t        return node.finishImportSpecifier(local, imported);\n\t    }\n\n\t    function parseNamedImports() {\n\t        var specifiers = [];\n\t        // {foo, bar as bas}\n\t        expect('{');\n\t        while (!match('}')) {\n\t            specifiers.push(parseImportSpecifier());\n\t            if (!match('}')) {\n\t                expect(',');\n\t                if (match('}')) {\n\t                    break;\n\t                }\n\t            }\n\t        }\n\t        expect('}');\n\t        return specifiers;\n\t    }\n\n\t    function parseImportDefaultSpecifier() {\n\t        // import <foo> ...;\n\t        var local, node = new Node();\n\n\t        local = parseNonComputedProperty();\n\n\t        return node.finishImportDefaultSpecifier(local);\n\t    }\n\n\t    function parseImportNamespaceSpecifier() {\n\t        // import <* as foo> ...;\n\t        var local, node = new Node();\n\n\t        expect('*');\n\t        if (!matchContextualKeyword('as')) {\n\t            throwError(Messages.NoAsAfterImportNamespace);\n\t        }\n\t        lex();\n\t        local = parseNonComputedProperty();\n\n\t        return node.finishImportNamespaceSpecifier(local);\n\t    }\n\n\t    function parseImportDeclaration() {\n\t        var specifiers = [], src, node = new Node();\n\n\t        if (state.inFunctionBody) {\n\t            throwError(Messages.IllegalImportDeclaration);\n\t        }\n\n\t        expectKeyword('import');\n\n\t        if (lookahead.type === Token.StringLiteral) {\n\t            // import 'foo';\n\t            src = parseModuleSpecifier();\n\t        } else {\n\n\t            if (match('{')) {\n\t                // import {bar}\n\t                specifiers = specifiers.concat(parseNamedImports());\n\t            } else if (match('*')) {\n\t                // import * as foo\n\t                specifiers.push(parseImportNamespaceSpecifier());\n\t            } else if (isIdentifierName(lookahead) && !matchKeyword('default')) {\n\t                // import foo\n\t                specifiers.push(parseImportDefaultSpecifier());\n\t                if (match(',')) {\n\t                    lex();\n\t                    if (match('*')) {\n\t                        // import foo, * as foo\n\t                        specifiers.push(parseImportNamespaceSpecifier());\n\t                    } else if (match('{')) {\n\t                        // import foo, {bar}\n\t                        specifiers = specifiers.concat(parseNamedImports());\n\t                    } else {\n\t                        throwUnexpectedToken(lookahead);\n\t                    }\n\t                }\n\t            } else {\n\t                throwUnexpectedToken(lex());\n\t            }\n\n\t            if (!matchContextualKeyword('from')) {\n\t                throwError(lookahead.value ?\n\t                        Messages.UnexpectedToken : Messages.MissingFromClause, lookahead.value);\n\t            }\n\t            lex();\n\t            src = parseModuleSpecifier();\n\t        }\n\n\t        consumeSemicolon();\n\t        return node.finishImportDeclaration(specifiers, src);\n\t    }\n\n\t    // ECMA-262 15.1 Scripts\n\n\t    function parseScriptBody() {\n\t        var statement, body = [], token, directive, firstRestricted;\n\n\t        while (startIndex < length) {\n\t            token = lookahead;\n\t            if (token.type !== Token.StringLiteral) {\n\t                break;\n\t            }\n\n\t            statement = parseStatementListItem();\n\t            body.push(statement);\n\t            if (statement.expression.type !== Syntax.Literal) {\n\t                // this is not directive\n\t                break;\n\t            }\n\t            directive = source.slice(token.start + 1, token.end - 1);\n\t            if (directive === 'use strict') {\n\t                strict = true;\n\t                if (firstRestricted) {\n\t                    tolerateUnexpectedToken(firstRestricted, Messages.StrictOctalLiteral);\n\t                }\n\t            } else {\n\t                if (!firstRestricted && token.octal) {\n\t                    firstRestricted = token;\n\t                }\n\t            }\n\t        }\n\n\t        while (startIndex < length) {\n\t            statement = parseStatementListItem();\n\t            /* istanbul ignore if */\n\t            if (typeof statement === 'undefined') {\n\t                break;\n\t            }\n\t            body.push(statement);\n\t        }\n\t        return body;\n\t    }\n\n\t    function parseProgram() {\n\t        var body, node;\n\n\t        peek();\n\t        node = new Node();\n\n\t        body = parseScriptBody();\n\t        return node.finishProgram(body, state.sourceType);\n\t    }\n\n\t    function filterTokenLocation() {\n\t        var i, entry, token, tokens = [];\n\n\t        for (i = 0; i < extra.tokens.length; ++i) {\n\t            entry = extra.tokens[i];\n\t            token = {\n\t                type: entry.type,\n\t                value: entry.value\n\t            };\n\t            if (entry.regex) {\n\t                token.regex = {\n\t                    pattern: entry.regex.pattern,\n\t                    flags: entry.regex.flags\n\t                };\n\t            }\n\t            if (extra.range) {\n\t                token.range = entry.range;\n\t            }\n\t            if (extra.loc) {\n\t                token.loc = entry.loc;\n\t            }\n\t            tokens.push(token);\n\t        }\n\n\t        extra.tokens = tokens;\n\t    }\n\n\t    function tokenize(code, options, delegate) {\n\t        var toString,\n\t            tokens;\n\n\t        toString = String;\n\t        if (typeof code !== 'string' && !(code instanceof String)) {\n\t            code = toString(code);\n\t        }\n\n\t        source = code;\n\t        index = 0;\n\t        lineNumber = (source.length > 0) ? 1 : 0;\n\t        lineStart = 0;\n\t        startIndex = index;\n\t        startLineNumber = lineNumber;\n\t        startLineStart = lineStart;\n\t        length = source.length;\n\t        lookahead = null;\n\t        state = {\n\t            allowIn: true,\n\t            allowYield: true,\n\t            labelSet: {},\n\t            inFunctionBody: false,\n\t            inIteration: false,\n\t            inSwitch: false,\n\t            lastCommentStart: -1,\n\t            curlyStack: []\n\t        };\n\n\t        extra = {};\n\n\t        // Options matching.\n\t        options = options || {};\n\n\t        // Of course we collect tokens here.\n\t        options.tokens = true;\n\t        extra.tokens = [];\n\t        extra.tokenValues = [];\n\t        extra.tokenize = true;\n\t        extra.delegate = delegate;\n\n\t        // The following two fields are necessary to compute the Regex tokens.\n\t        extra.openParenToken = -1;\n\t        extra.openCurlyToken = -1;\n\n\t        extra.range = (typeof options.range === 'boolean') && options.range;\n\t        extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\n\t        if (typeof options.comment === 'boolean' && options.comment) {\n\t            extra.comments = [];\n\t        }\n\t        if (typeof options.tolerant === 'boolean' && options.tolerant) {\n\t            extra.errors = [];\n\t        }\n\n\t        try {\n\t            peek();\n\t            if (lookahead.type === Token.EOF) {\n\t                return extra.tokens;\n\t            }\n\n\t            lex();\n\t            while (lookahead.type !== Token.EOF) {\n\t                try {\n\t                    lex();\n\t                } catch (lexError) {\n\t                    if (extra.errors) {\n\t                        recordError(lexError);\n\t                        // We have to break on the first error\n\t                        // to avoid infinite loops.\n\t                        break;\n\t                    } else {\n\t                        throw lexError;\n\t                    }\n\t                }\n\t            }\n\n\t            tokens = extra.tokens;\n\t            if (typeof extra.errors !== 'undefined') {\n\t                tokens.errors = extra.errors;\n\t            }\n\t        } catch (e) {\n\t            throw e;\n\t        } finally {\n\t            extra = {};\n\t        }\n\t        return tokens;\n\t    }\n\n\t    function parse(code, options) {\n\t        var program, toString;\n\n\t        toString = String;\n\t        if (typeof code !== 'string' && !(code instanceof String)) {\n\t            code = toString(code);\n\t        }\n\n\t        source = code;\n\t        index = 0;\n\t        lineNumber = (source.length > 0) ? 1 : 0;\n\t        lineStart = 0;\n\t        startIndex = index;\n\t        startLineNumber = lineNumber;\n\t        startLineStart = lineStart;\n\t        length = source.length;\n\t        lookahead = null;\n\t        state = {\n\t            allowIn: true,\n\t            allowYield: true,\n\t            labelSet: {},\n\t            inFunctionBody: false,\n\t            inIteration: false,\n\t            inSwitch: false,\n\t            lastCommentStart: -1,\n\t            curlyStack: [],\n\t            sourceType: 'script'\n\t        };\n\t        strict = false;\n\n\t        extra = {};\n\t        if (typeof options !== 'undefined') {\n\t            extra.range = (typeof options.range === 'boolean') && options.range;\n\t            extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\t            extra.attachComment = (typeof options.attachComment === 'boolean') && options.attachComment;\n\n\t            if (extra.loc && options.source !== null && options.source !== undefined) {\n\t                extra.source = toString(options.source);\n\t            }\n\n\t            if (typeof options.tokens === 'boolean' && options.tokens) {\n\t                extra.tokens = [];\n\t            }\n\t            if (typeof options.comment === 'boolean' && options.comment) {\n\t                extra.comments = [];\n\t            }\n\t            if (typeof options.tolerant === 'boolean' && options.tolerant) {\n\t                extra.errors = [];\n\t            }\n\t            if (extra.attachComment) {\n\t                extra.range = true;\n\t                extra.comments = [];\n\t                extra.bottomRightStack = [];\n\t                extra.trailingComments = [];\n\t                extra.leadingComments = [];\n\t            }\n\t            if (options.sourceType === 'module') {\n\t                // very restrictive condition for now\n\t                state.sourceType = options.sourceType;\n\t                strict = true;\n\t            }\n\t        }\n\n\t        try {\n\t            program = parseProgram();\n\t            if (typeof extra.comments !== 'undefined') {\n\t                program.comments = extra.comments;\n\t            }\n\t            if (typeof extra.tokens !== 'undefined') {\n\t                filterTokenLocation();\n\t                program.tokens = extra.tokens;\n\t            }\n\t            if (typeof extra.errors !== 'undefined') {\n\t                program.errors = extra.errors;\n\t            }\n\t        } catch (e) {\n\t            throw e;\n\t        } finally {\n\t            extra = {};\n\t        }\n\n\t        return program;\n\t    }\n\n\t    // Sync with *.json manifests.\n\t    exports.version = '2.7.2';\n\n\t    exports.tokenize = tokenize;\n\n\t    exports.parse = parse;\n\n\t    // Deep copy.\n\t    /* istanbul ignore next */\n\t    exports.Syntax = (function () {\n\t        var name, types = {};\n\n\t        if (typeof Object.create === 'function') {\n\t            types = Object.create(null);\n\t        }\n\n\t        for (name in Syntax) {\n\t            if (Syntax.hasOwnProperty(name)) {\n\t                types[name] = Syntax[name];\n\t            }\n\t        }\n\n\t        if (typeof Object.freeze === 'function') {\n\t            Object.freeze(types);\n\t        }\n\n\t        return types;\n\t    }());\n\n\t}));\n\t/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n/***/ },\n/* 42 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\n\tvar defProp = Object.defineProperty || function(obj, name, desc) {\n\t    // Normal property assignment is the best we can do if\n\t    // Object.defineProperty is not available.\n\t    obj[name] = desc.value;\n\t};\n\n\t// For functions that will be invoked using .call or .apply, we need to\n\t// define those methods on the function objects themselves, rather than\n\t// inheriting them from Function.prototype, so that a malicious or clumsy\n\t// third party cannot interfere with the functionality of this module by\n\t// redefining Function.prototype.call or .apply.\n\tfunction makeSafeToCall(fun) {\n\t    defProp(fun, \"call\", { value: fun.call });\n\t    defProp(fun, \"apply\", { value: fun.apply });\n\t    return fun;\n\t}\n\n\tvar hasOwn = makeSafeToCall(Object.prototype.hasOwnProperty);\n\tvar numToStr = makeSafeToCall(Number.prototype.toString);\n\tvar strSlice = makeSafeToCall(String.prototype.slice);\n\n\tvar cloner = function(){};\n\tvar create = Object.create || function(prototype, properties) {\n\t    cloner.prototype = prototype || null;\n\t    var obj = new cloner;\n\n\t    // The properties parameter is unused by this module, but I want this\n\t    // shim to be as complete as possible.\n\t    if (properties)\n\t        for (var name in properties)\n\t            if (hasOwn.call(properties, name))\n\t                defProp(obj, name, properties[name]);\n\n\t    return obj;\n\t};\n\n\tvar rand = Math.random;\n\tvar uniqueKeys = create(null);\n\n\tfunction makeUniqueKey() {\n\t    // Collisions are highly unlikely, but this module is in the business\n\t    // of making guarantees rather than safe bets.\n\t    do var uniqueKey = strSlice.call(numToStr.call(rand(), 36), 2);\n\t    while (hasOwn.call(uniqueKeys, uniqueKey));\n\t    return uniqueKeys[uniqueKey] = uniqueKey;\n\t}\n\n\t// External users might find this function useful, but it is not necessary\n\t// for the typical use of this module.\n\tdefProp(exports, \"makeUniqueKey\", {\n\t    value: makeUniqueKey\n\t});\n\n\tfunction wrap(obj, value) {\n\t    var old = obj[value.name];\n\t    defProp(obj, value.name, { value: value });\n\t    return old;\n\t}\n\n\t// Object.getOwnPropertyNames is the only way to enumerate non-enumerable\n\t// properties, so if we wrap it to ignore our secret keys, there should be\n\t// no way (except guessing) to access those properties.\n\tvar realGetOPNs = wrap(Object, function getOwnPropertyNames(object) {\n\t    for (var names = realGetOPNs(object),\n\t             src = 0,\n\t             dst = 0,\n\t             len = names.length;\n\t         src < len;\n\t         ++src) {\n\t        if (!hasOwn.call(uniqueKeys, names[src])) {\n\t            if (src > dst) {\n\t                names[dst] = names[src];\n\t            }\n\t            ++dst;\n\t        }\n\t    }\n\t    names.length = dst;\n\t    return names;\n\t});\n\n\tfunction defaultCreatorFn(object) {\n\t    return create(null);\n\t}\n\n\tfunction makeAccessor(secretCreatorFn) {\n\t    var brand = makeUniqueKey();\n\t    var passkey = create(null);\n\n\t    secretCreatorFn = secretCreatorFn || defaultCreatorFn;\n\n\t    function register(object) {\n\t        var secret; // Created lazily.\n\t        defProp(object, brand, {\n\t            value: function(key, forget) {\n\t                // Only code that has access to the passkey can retrieve\n\t                // (or forget) the secret object.\n\t                if (key === passkey) {\n\t                    return forget\n\t                        ? secret = null\n\t                        : secret || (secret = secretCreatorFn(object));\n\t                }\n\t            }\n\t        });\n\t    }\n\n\t    function accessor(object) {\n\t        if (!hasOwn.call(object, brand))\n\t            register(object);\n\t        return object[brand](passkey);\n\t    }\n\n\t    accessor.forget = function(object) {\n\t        if (hasOwn.call(object, brand))\n\t            object[brand](passkey, true);\n\t    };\n\n\t    return accessor;\n\t}\n\n\tdefProp(exports, \"makeAccessor\", {\n\t    value: makeAccessor\n\t});\n\n\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar getFieldValue = __webpack_require__(27).getFieldValue;\n\tvar sourceMap = __webpack_require__(31);\n\tvar SourceMapConsumer = sourceMap.SourceMapConsumer;\n\tvar SourceMapGenerator = sourceMap.SourceMapGenerator;\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\n\tfunction getUnionOfKeys(obj) {\n\t    for (var i = 0, key,\n\t             result = {},\n\t             objs = arguments,\n\t             argc = objs.length;\n\t         i < argc;\n\t         i += 1)\n\t    {\n\t        obj = objs[i];\n\t        for (key in obj)\n\t            if (hasOwn.call(obj, key))\n\t                result[key] = true;\n\t    }\n\t    return result;\n\t}\n\texports.getUnionOfKeys = getUnionOfKeys;\n\n\texports.assertEquivalent = function(a, b) {\n\t    if (!deepEquivalent(a, b)) {\n\t        throw new Error(\n\t            JSON.stringify(a) + \" not equivalent to \" +\n\t            JSON.stringify(b)\n\t        );\n\t    }\n\t};\n\n\tfunction deepEquivalent(a, b) {\n\t    if (a === b)\n\t        return true;\n\n\t    if (a instanceof Array)\n\t        return deepArrEquiv(a, b);\n\n\t    if (typeof a === \"object\")\n\t        return deepObjEquiv(a, b);\n\n\t    return false;\n\t}\n\texports.deepEquivalent = deepEquivalent;\n\n\tfunction deepArrEquiv(a, b) {\n\t    assert.ok(a instanceof Array);\n\t    var len = a.length;\n\n\t    if (!(b instanceof Array &&\n\t          b.length === len))\n\t        return false;\n\n\t    for (var i = 0; i < len; ++i) {\n\t        if (i in a !== i in b)\n\t            return false;\n\n\t        if (!deepEquivalent(a[i], b[i]))\n\t            return false;\n\t    }\n\n\t    return true;\n\t}\n\n\tfunction deepObjEquiv(a, b) {\n\t    assert.strictEqual(typeof a, \"object\");\n\t    if (!a || !b || typeof b !== \"object\")\n\t        return false;\n\n\t    for (var key in getUnionOfKeys(a, b)) {\n\t        if (key === \"loc\" ||\n\t            key === \"range\" ||\n\t            key === \"comments\" ||\n\t            key === \"raw\")\n\t            continue;\n\n\t        if (!deepEquivalent(getFieldValue(a, key),\n\t                            getFieldValue(b, key)))\n\t        {\n\t            return false;\n\t        }\n\t    }\n\n\t    return true;\n\t}\n\n\tfunction comparePos(pos1, pos2) {\n\t    return (pos1.line - pos2.line) || (pos1.column - pos2.column);\n\t}\n\texports.comparePos = comparePos;\n\n\texports.composeSourceMaps = function(formerMap, latterMap) {\n\t    if (formerMap) {\n\t        if (!latterMap) {\n\t            return formerMap;\n\t        }\n\t    } else {\n\t        return latterMap || null;\n\t    }\n\n\t    var smcFormer = new SourceMapConsumer(formerMap);\n\t    var smcLatter = new SourceMapConsumer(latterMap);\n\t    var smg = new SourceMapGenerator({\n\t        file: latterMap.file,\n\t        sourceRoot: latterMap.sourceRoot\n\t    });\n\n\t    var sourcesToContents = {};\n\n\t    smcLatter.eachMapping(function(mapping) {\n\t        var origPos = smcFormer.originalPositionFor({\n\t            line: mapping.originalLine,\n\t            column: mapping.originalColumn\n\t        });\n\n\t        var sourceName = origPos.source;\n\n\t        smg.addMapping({\n\t            source: sourceName,\n\t            original: {\n\t                line: origPos.line,\n\t                column: origPos.column\n\t            },\n\t            generated: {\n\t                line: mapping.generatedLine,\n\t                column: mapping.generatedColumn\n\t            },\n\t            name: mapping.name\n\t        });\n\n\t        var sourceContent = smcFormer.sourceContentFor(sourceName);\n\t        if (sourceContent && !hasOwn.call(sourcesToContents, sourceName)) {\n\t            sourcesToContents[sourceName] = sourceContent;\n\t            smg.setSourceContent(sourceName, sourceContent);\n\t        }\n\t    });\n\n\t    return smg.toJSON();\n\t};\n\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(27);\n\tvar isString = types.builtInTypes.string;\n\tvar isNumber = types.builtInTypes.number;\n\tvar SourceLocation = types.namedTypes.SourceLocation;\n\tvar Position = types.namedTypes.Position;\n\tvar linesModule = __webpack_require__(30);\n\tvar comparePos = __webpack_require__(43).comparePos;\n\n\tfunction Mapping(sourceLines, sourceLoc, targetLoc) {\n\t    assert.ok(this instanceof Mapping);\n\t    assert.ok(sourceLines instanceof linesModule.Lines);\n\t    SourceLocation.assert(sourceLoc);\n\n\t    if (targetLoc) {\n\t        // In certain cases it's possible for targetLoc.{start,end}.column\n\t        // values to be negative, which technically makes them no longer\n\t        // valid SourceLocation nodes, so we need to be more forgiving.\n\t        assert.ok(\n\t            isNumber.check(targetLoc.start.line) &&\n\t            isNumber.check(targetLoc.start.column) &&\n\t            isNumber.check(targetLoc.end.line) &&\n\t            isNumber.check(targetLoc.end.column)\n\t        );\n\t    } else {\n\t        // Assume identity mapping if no targetLoc specified.\n\t        targetLoc = sourceLoc;\n\t    }\n\n\t    Object.defineProperties(this, {\n\t        sourceLines: { value: sourceLines },\n\t        sourceLoc: { value: sourceLoc },\n\t        targetLoc: { value: targetLoc }\n\t    });\n\t}\n\n\tvar Mp = Mapping.prototype;\n\tmodule.exports = Mapping;\n\n\tMp.slice = function(lines, start, end) {\n\t    assert.ok(lines instanceof linesModule.Lines);\n\t    Position.assert(start);\n\n\t    if (end) {\n\t        Position.assert(end);\n\t    } else {\n\t        end = lines.lastPos();\n\t    }\n\n\t    var sourceLines = this.sourceLines;\n\t    var sourceLoc = this.sourceLoc;\n\t    var targetLoc = this.targetLoc;\n\n\t    function skip(name) {\n\t        var sourceFromPos = sourceLoc[name];\n\t        var targetFromPos = targetLoc[name];\n\t        var targetToPos = start;\n\n\t        if (name === \"end\") {\n\t            targetToPos = end;\n\t        } else {\n\t            assert.strictEqual(name, \"start\");\n\t        }\n\n\t        return skipChars(\n\t            sourceLines, sourceFromPos,\n\t            lines, targetFromPos, targetToPos\n\t        );\n\t    }\n\n\t    if (comparePos(start, targetLoc.start) <= 0) {\n\t        if (comparePos(targetLoc.end, end) <= 0) {\n\t            targetLoc = {\n\t                start: subtractPos(targetLoc.start, start.line, start.column),\n\t                end: subtractPos(targetLoc.end, start.line, start.column)\n\t            };\n\n\t            // The sourceLoc can stay the same because the contents of the\n\t            // targetLoc have not changed.\n\n\t        } else if (comparePos(end, targetLoc.start) <= 0) {\n\t            return null;\n\n\t        } else {\n\t            sourceLoc = {\n\t                start: sourceLoc.start,\n\t                end: skip(\"end\")\n\t            };\n\n\t            targetLoc = {\n\t                start: subtractPos(targetLoc.start, start.line, start.column),\n\t                end: subtractPos(end, start.line, start.column)\n\t            };\n\t        }\n\n\t    } else {\n\t        if (comparePos(targetLoc.end, start) <= 0) {\n\t            return null;\n\t        }\n\n\t        if (comparePos(targetLoc.end, end) <= 0) {\n\t            sourceLoc = {\n\t                start: skip(\"start\"),\n\t                end: sourceLoc.end\n\t            };\n\n\t            targetLoc = {\n\t                // Same as subtractPos(start, start.line, start.column):\n\t                start: { line: 1, column: 0 },\n\t                end: subtractPos(targetLoc.end, start.line, start.column)\n\t            };\n\n\t        } else {\n\t            sourceLoc = {\n\t                start: skip(\"start\"),\n\t                end: skip(\"end\")\n\t            };\n\n\t            targetLoc = {\n\t                // Same as subtractPos(start, start.line, start.column):\n\t                start: { line: 1, column: 0 },\n\t                end: subtractPos(end, start.line, start.column)\n\t            };\n\t        }\n\t    }\n\n\t    return new Mapping(this.sourceLines, sourceLoc, targetLoc);\n\t};\n\n\tMp.add = function(line, column) {\n\t    return new Mapping(this.sourceLines, this.sourceLoc, {\n\t        start: addPos(this.targetLoc.start, line, column),\n\t        end: addPos(this.targetLoc.end, line, column)\n\t    });\n\t};\n\n\tfunction addPos(toPos, line, column) {\n\t    return {\n\t        line: toPos.line + line - 1,\n\t        column: (toPos.line === 1)\n\t            ? toPos.column + column\n\t            : toPos.column\n\t    };\n\t}\n\n\tMp.subtract = function(line, column) {\n\t    return new Mapping(this.sourceLines, this.sourceLoc, {\n\t        start: subtractPos(this.targetLoc.start, line, column),\n\t        end: subtractPos(this.targetLoc.end, line, column)\n\t    });\n\t};\n\n\tfunction subtractPos(fromPos, line, column) {\n\t    return {\n\t        line: fromPos.line - line + 1,\n\t        column: (fromPos.line === line)\n\t            ? fromPos.column - column\n\t            : fromPos.column\n\t    };\n\t}\n\n\tMp.indent = function(by, skipFirstLine, noNegativeColumns) {\n\t    if (by === 0) {\n\t        return this;\n\t    }\n\n\t    var targetLoc = this.targetLoc;\n\t    var startLine = targetLoc.start.line;\n\t    var endLine = targetLoc.end.line;\n\n\t    if (skipFirstLine && startLine === 1 && endLine === 1) {\n\t        return this;\n\t    }\n\n\t    targetLoc = {\n\t        start: targetLoc.start,\n\t        end: targetLoc.end\n\t    };\n\n\t    if (!skipFirstLine || startLine > 1) {\n\t        var startColumn = targetLoc.start.column + by;\n\t        targetLoc.start = {\n\t            line: startLine,\n\t            column: noNegativeColumns\n\t                ? Math.max(0, startColumn)\n\t                : startColumn\n\t        };\n\t    }\n\n\t    if (!skipFirstLine || endLine > 1) {\n\t        var endColumn = targetLoc.end.column + by;\n\t        targetLoc.end = {\n\t            line: endLine,\n\t            column: noNegativeColumns\n\t                ? Math.max(0, endColumn)\n\t                : endColumn\n\t        };\n\t    }\n\n\t    return new Mapping(this.sourceLines, this.sourceLoc, targetLoc);\n\t};\n\n\tfunction skipChars(\n\t    sourceLines, sourceFromPos,\n\t    targetLines, targetFromPos, targetToPos\n\t) {\n\t    assert.ok(sourceLines instanceof linesModule.Lines);\n\t    assert.ok(targetLines instanceof linesModule.Lines);\n\t    Position.assert(sourceFromPos);\n\t    Position.assert(targetFromPos);\n\t    Position.assert(targetToPos);\n\n\t    var targetComparison = comparePos(targetFromPos, targetToPos);\n\t    if (targetComparison === 0) {\n\t        // Trivial case: no characters to skip.\n\t        return sourceFromPos;\n\t    }\n\n\t    if (targetComparison < 0) {\n\t        // Skipping forward.\n\n\t        var sourceCursor = sourceLines.skipSpaces(sourceFromPos);\n\t        var targetCursor = targetLines.skipSpaces(targetFromPos);\n\n\t        var lineDiff = targetToPos.line - targetCursor.line;\n\t        sourceCursor.line += lineDiff;\n\t        targetCursor.line += lineDiff;\n\n\t        if (lineDiff > 0) {\n\t            // If jumping to later lines, reset columns to the beginnings\n\t            // of those lines.\n\t            sourceCursor.column = 0;\n\t            targetCursor.column = 0;\n\t        } else {\n\t            assert.strictEqual(lineDiff, 0);\n\t        }\n\n\t        while (comparePos(targetCursor, targetToPos) < 0 &&\n\t               targetLines.nextPos(targetCursor, true)) {\n\t            assert.ok(sourceLines.nextPos(sourceCursor, true));\n\t            assert.strictEqual(\n\t                sourceLines.charAt(sourceCursor),\n\t                targetLines.charAt(targetCursor)\n\t            );\n\t        }\n\n\t    } else {\n\t        // Skipping backward.\n\n\t        var sourceCursor = sourceLines.skipSpaces(sourceFromPos, true);\n\t        var targetCursor = targetLines.skipSpaces(targetFromPos, true);\n\n\t        var lineDiff = targetToPos.line - targetCursor.line;\n\t        sourceCursor.line += lineDiff;\n\t        targetCursor.line += lineDiff;\n\n\t        if (lineDiff < 0) {\n\t            // If jumping to earlier lines, reset columns to the ends of\n\t            // those lines.\n\t            sourceCursor.column = sourceLines.getLineLength(sourceCursor.line);\n\t            targetCursor.column = targetLines.getLineLength(targetCursor.line);\n\t        } else {\n\t            assert.strictEqual(lineDiff, 0);\n\t        }\n\n\t        while (comparePos(targetToPos, targetCursor) < 0 &&\n\t               targetLines.prevPos(targetCursor, true)) {\n\t            assert.ok(sourceLines.prevPos(sourceCursor, true));\n\t            assert.strictEqual(\n\t                sourceLines.charAt(sourceCursor),\n\t                targetLines.charAt(targetCursor)\n\t            );\n\t        }\n\t    }\n\n\t    return sourceCursor;\n\t}\n\n\n/***/ },\n/* 45 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar Class = __webpack_require__(46);\n\tvar Node = __webpack_require__(27).namedTypes.Node;\n\tvar slice = Array.prototype.slice;\n\tvar removeRequests = [];\n\n\tvar Visitor = exports.Visitor = Class.extend({\n\t    visit: function(node) {\n\t        var self = this;\n\n\t        if (!node) {\n\t            // pass\n\n\t        } else if (node instanceof Array) {\n\t            node = self.visitArray(node);\n\n\t        } else if (Node.check(node)) {\n\t            var methodName = \"visit\" + node.type,\n\t                method = self[methodName] || self.genericVisit;\n\t            node = method.call(this, node);\n\n\t        } else if (typeof node === \"object\") {\n\t            // Some AST node types contain ad-hoc (non-AST) objects that\n\t            // may contain nested AST nodes.\n\t            self.genericVisit(node);\n\t        }\n\n\t        return node;\n\t    },\n\n\t    visitArray: function(arr, noUpdate) {\n\t        for (var elem, result, undef,\n\t                 i = 0, len = arr.length;\n\t             i < len;\n\t             i += 1)\n\t        {\n\t            if (i in arr)\n\t                elem = arr[i];\n\t            else\n\t                continue;\n\n\t            var requesters = [];\n\t            removeRequests.push(requesters);\n\n\t            // Make sure we don't accidentally reuse a previous result\n\t            // when this.visit throws an exception.\n\t            result = undef;\n\n\t            try {\n\t                result = this.visit(elem);\n\n\t            } finally {\n\t                assert.strictEqual(\n\t                    removeRequests.pop(),\n\t                    requesters);\n\t            }\n\n\t            if (requesters.length > 0 || result === null) {\n\t                // This hole will be elided by the compaction loop below.\n\t                delete arr[i];\n\t            } else if (result !== undef) {\n\t                arr[i] = result;\n\t            }\n\t        }\n\n\t        // Compact the array to eliminate holes.\n\t        for (var dst = 0,\n\t                 src = dst,\n\t                 // The length of the array might have changed during the\n\t                 // iteration performed above.\n\t                 len = arr.length;\n\t             src < len;\n\t             src += 1)\n\t            if (src in arr)\n\t                arr[dst++] = arr[src];\n\t        arr.length = dst;\n\n\t        return arr;\n\t    },\n\n\t    remove: function() {\n\t        var len = removeRequests.length,\n\t            requesters = removeRequests[len - 1];\n\t        if (requesters)\n\t            requesters.push(this);\n\t    },\n\n\t    genericVisit: function(node) {\n\t        var field,\n\t            oldValue,\n\t            newValue;\n\n\t        for (field in node) {\n\t            if (!node.hasOwnProperty(field))\n\t                continue;\n\n\t            oldValue = node[field];\n\n\t            if (oldValue instanceof Array) {\n\t                this.visitArray(oldValue);\n\n\t            } else if (Node.check(oldValue)) {\n\t                newValue = this.visit(oldValue);\n\n\t                if (typeof newValue === \"undefined\") {\n\t                    // Keep oldValue.\n\t                } else {\n\t                    node[field] = newValue;\n\t                }\n\n\t            } else if (typeof oldValue === \"object\") {\n\t                this.genericVisit(oldValue);\n\t            }\n\t        }\n\n\t        return node;\n\t    }\n\t});\n\n\n/***/ },\n/* 46 */\n/***/ function(module, exports) {\n\n\t// Sentinel value passed to base constructors to skip invoking this.init.\n\tvar populating = {};\n\n\tfunction makeClass(base, newProps) {\n\t    var baseProto = base.prototype;\n\t    var ownProto = Object.create(baseProto);\n\t    var newStatics = newProps.statics;\n\t    var populated;\n\n\t    function constructor() {\n\t        if (!populated) {\n\t            if (base.extend === extend) {\n\t                // Ensure population of baseProto if base created by makeClass.\n\t                base.call(populating);\n\t            }\n\n\t            // Wrap override methods to make this._super available.\n\t            populate(ownProto, newProps, baseProto);\n\n\t            // Help the garbage collector reclaim this object, since we\n\t            // don't need it anymore.\n\t            newProps = null;\n\n\t            populated = true;\n\t        }\n\n\t        // When we invoke a constructor just for the sake of making sure\n\t        // its prototype has been populated, the receiver object (this)\n\t        // will be strictly equal to the populating object, which means we\n\t        // want to avoid invoking this.init.\n\t        if (this === populating)\n\t            return;\n\n\t        // Evaluate this.init only once to avoid looking up .init in the\n\t        // prototype chain twice.\n\t        var init = this.init;\n\t        if (init)\n\t            init.apply(this, arguments);\n\t    }\n\n\t    // Copy any static properties that have been assigned to the base\n\t    // class over to the subclass.\n\t    populate(constructor, base);\n\n\t    if (newStatics) {\n\t        // Remove the statics property from newProps so that it does not\n\t        // get copied to the prototype.\n\t        delete newProps.statics;\n\n\t        // We re-use populate for static properties, so static methods\n\t        // have the same access to this._super that normal methods have.\n\t        populate(constructor, newStatics, base);\n\n\t        // Help the GC reclaim this object.\n\t        newStatics = null;\n\t    }\n\n\t    // These property assignments overwrite any properties of the same\n\t    // name that may have been copied from base, above. Note that ownProto\n\t    // has not been populated with any methods or properties, yet, because\n\t    // we postpone that work until the subclass is instantiated for the\n\t    // first time. Also note that we share a single implementation of\n\t    // extend between all classes.\n\t    constructor.prototype = ownProto;\n\t    constructor.extend = extend;\n\t    constructor.base = baseProto;\n\n\t    // Setting constructor.prototype.constructor = constructor is\n\t    // important so that instanceof works properly in all browsers.\n\t    ownProto.constructor = constructor;\n\n\t    // Setting .cls as a shorthand for .constructor is purely a\n\t    // convenience to make calling static methods easier.\n\t    ownProto.cls = constructor;\n\n\t    // If there is a static initializer, call it now. This needs to happen\n\t    // last so that the constructor is ready to be used if, for example,\n\t    // constructor.init needs to create an instance of the new class.\n\t    if (constructor.init)\n\t        constructor.init(constructor);\n\n\t    return constructor;\n\t}\n\n\tfunction populate(target, source, parent) {\n\t    for (var name in source)\n\t        if (source.hasOwnProperty(name))\n\t            target[name] = parent ? maybeWrap(name, source, parent) : source[name];\n\t}\n\n\tvar hasOwnExp = /\\bhasOwnProperty\\b/;\n\tvar superExp = hasOwnExp.test(populate) ? /\\b_super\\b/ : /.*/;\n\n\tfunction maybeWrap(name, child, parent) {\n\t    var cval = child && child[name];\n\t    var pval = parent && parent[name];\n\n\t    if (typeof cval === \"function\" &&\n\t        typeof pval === \"function\" &&\n\t        cval !== pval && // Avoid infinite recursion.\n\t        cval.extend !== extend && // Don't wrap classes.\n\t        superExp.test(cval)) // Only wrap if this._super needed.\n\t    {\n\t        return function() {\n\t            var saved = this._super;\n\t            this._super = parent[name];\n\t            try { return cval.apply(this, arguments) }\n\t            finally { this._super = saved };\n\t        };\n\t    }\n\n\t    return cval;\n\t}\n\n\tfunction extend(newProps) {\n\t    return makeClass(this, newProps || {});\n\t}\n\n\tmodule.exports = extend.call(function(){});\n\n\n/***/ },\n/* 47 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar linesModule = __webpack_require__(30);\n\tvar fromString = linesModule.fromString;\n\tvar Lines = linesModule.Lines;\n\tvar concat = linesModule.concat;\n\tvar Visitor = __webpack_require__(45).Visitor;\n\tvar comparePos = __webpack_require__(43).comparePos;\n\n\texports.add = function(ast, lines) {\n\t    var comments = ast.comments;\n\t    assert.ok(comments instanceof Array);\n\t    delete ast.comments;\n\n\t    assert.ok(lines instanceof Lines);\n\n\t    var pt = new PosTracker,\n\t        len = comments.length,\n\t        comment,\n\t        key,\n\t        loc, locs = pt.locs,\n\t        pair,\n\t        sorted = [];\n\n\t    pt.visit(ast);\n\n\t    for (var i = 0; i < len; ++i) {\n\t        comment = comments[i];\n\t        Object.defineProperty(comment.loc, \"lines\", { value: lines });\n\t        pt.getEntry(comment, \"end\").comment = comment;\n\t    }\n\n\t    for (key in locs) {\n\t        loc = locs[key];\n\t        pair = key.split(\",\");\n\n\t        sorted.push({\n\t            line: +pair[0],\n\t            column: +pair[1],\n\t            startNode: loc.startNode,\n\t            endNode: loc.endNode,\n\t            comment: loc.comment\n\t        });\n\t    }\n\n\t    sorted.sort(comparePos);\n\n\t    var pendingComments = [];\n\t    var previousNode;\n\n\t    function addComment(node, comment) {\n\t        if (node) {\n\t            var comments = node.comments || (node.comments = []);\n\t            comments.push(comment);\n\t        }\n\t    }\n\n\t    function dumpTrailing() {\n\t        pendingComments.forEach(function(comment) {\n\t            addComment(previousNode, comment);\n\t            comment.trailing = true;\n\t        });\n\n\t        pendingComments.length = 0;\n\t    }\n\n\t    sorted.forEach(function(entry) {\n\t        if (entry.endNode) {\n\t            // If we're ending a node with comments still pending, then we\n\t            // need to attach those comments to the previous node before\n\t            // updating the previous node.\n\t            dumpTrailing();\n\t            previousNode = entry.endNode;\n\t        }\n\n\t        if (entry.comment) {\n\t            pendingComments.push(entry.comment);\n\t        }\n\n\t        if (entry.startNode) {\n\t            var node = entry.startNode;\n\t            var nodeStartColumn = node.loc.start.column;\n\t            var didAddLeadingComment = false;\n\t            var gapEndLoc = node.loc.start;\n\n\t            // Iterate backwards through pendingComments, examining the\n\t            // gaps between them. In order to earn the .possiblyLeading\n\t            // status, a comment must be separated from entry.startNode by\n\t            // an unbroken series of whitespace-only gaps.\n\t            for (var i = pendingComments.length - 1; i >= 0; --i) {\n\t                var comment = pendingComments[i];\n\t                var gap = lines.slice(comment.loc.end, gapEndLoc);\n\t                gapEndLoc = comment.loc.start;\n\n\t                if (gap.isOnlyWhitespace()) {\n\t                    comment.possiblyLeading = true;\n\t                } else {\n\t                    break;\n\t                }\n\t            }\n\n\t            pendingComments.forEach(function(comment) {\n\t                if (!comment.possiblyLeading) {\n\t                    // If comment.possiblyLeading was not set to true\n\t                    // above, the comment must be a trailing comment.\n\t                    comment.trailing = true;\n\t                    addComment(previousNode, comment);\n\n\t                } else if (didAddLeadingComment) {\n\t                    // If we previously added a leading comment to this\n\t                    // node, then any subsequent pending comments must\n\t                    // also be leading comments, even if they are indented\n\t                    // more deeply than the node itself.\n\t                    assert.strictEqual(comment.possiblyLeading, true);\n\t                    comment.trailing = false;\n\t                    addComment(node, comment);\n\n\t                } else if (comment.type === \"Line\" &&\n\t                           comment.loc.start.column > nodeStartColumn) {\n\t                    // If the comment is a //-style comment and indented\n\t                    // more deeply than the node itself, and we have not\n\t                    // encountered any other leading comments, treat this\n\t                    // comment as a trailing comment and add it to the\n\t                    // previous node.\n\t                    comment.trailing = true;\n\t                    addComment(previousNode, comment);\n\n\t                } else {\n\t                    // Here we have the first leading comment for this node.\n\t                    comment.trailing = false;\n\t                    addComment(node, comment);\n\t                    didAddLeadingComment = true;\n\t                }\n\t            });\n\n\t            pendingComments.length = 0;\n\n\t            // Note: the previous node is the node that started OR ended\n\t            // most recently.\n\t            previousNode = entry.startNode;\n\t        }\n\t    });\n\n\t    // Provided we have a previous node to add them to, dump any\n\t    // still-pending comments into the last node we came across.\n\t    dumpTrailing();\n\t};\n\n\tvar PosTracker = Visitor.extend({\n\t    init: function() {\n\t        this.locs = {};\n\t    },\n\n\t    getEntry: function(node, which) {\n\t        var locs = this.locs,\n\t            key = getKey(node, which);\n\t        return key && (locs[key] || (locs[key] = {}));\n\t    },\n\n\t    onStart: function(node) {\n\t        var entry = this.getEntry(node, \"start\");\n\t        if (entry && !entry.startNode)\n\t            entry.startNode = node;\n\t    },\n\n\t    onEnd: function(node) {\n\t        var entry = this.getEntry(node, \"end\");\n\t        if (entry)\n\t            entry.endNode = node;\n\t    },\n\n\t    genericVisit: function(node) {\n\t        this.onStart(node);\n\t        this._super(node);\n\t        this.onEnd(node);\n\t    }\n\t});\n\n\tfunction getKey(node, which) {\n\t    var loc = node && node.loc,\n\t        pos = loc && loc[which];\n\t    return pos && (pos.line + \",\" + pos.column);\n\t}\n\n\tfunction printLeadingComment(comment) {\n\t    var orig = comment.original;\n\t    var loc = orig && orig.loc;\n\t    var lines = loc && loc.lines;\n\t    var parts = [];\n\n\t    if (comment.type === \"Block\") {\n\t        parts.push(\"/*\", comment.value, \"*/\");\n\t    } else if (comment.type === \"Line\") {\n\t        parts.push(\"//\", comment.value);\n\t    } else assert.fail(comment.type);\n\n\t    if (comment.trailing) {\n\t        // When we print trailing comments as leading comments, we don't\n\t        // want to bring any trailing spaces along.\n\t        parts.push(\"\\n\");\n\n\t    } else if (lines instanceof Lines) {\n\t        var trailingSpace = lines.slice(\n\t            loc.end,\n\t            lines.skipSpaces(loc.end)\n\t        );\n\n\t        if (trailingSpace.length === 1) {\n\t            // If the trailing space contains no newlines, then we want to\n\t            // preserve it exactly as we found it.\n\t            parts.push(trailingSpace);\n\t        } else {\n\t            // If the trailing space contains newlines, then replace it\n\t            // with just that many newlines, with all other spaces removed.\n\t            parts.push(new Array(trailingSpace.length).join(\"\\n\"));\n\t        }\n\n\t    } else {\n\t        parts.push(\"\\n\");\n\t    }\n\n\t    return concat(parts).stripMargin(loc ? loc.start.column : 0);\n\t}\n\n\tfunction printTrailingComment(comment) {\n\t    var orig = comment.original;\n\t    var loc = orig && orig.loc;\n\t    var lines = loc && loc.lines;\n\t    var parts = [];\n\n\t    if (lines instanceof Lines) {\n\t        var fromPos = lines.skipSpaces(loc.start, true) || lines.firstPos();\n\t        var leadingSpace = lines.slice(fromPos, loc.start);\n\n\t        if (leadingSpace.length === 1) {\n\t            // If the leading space contains no newlines, then we want to\n\t            // preserve it exactly as we found it.\n\t            parts.push(leadingSpace);\n\t        } else {\n\t            // If the leading space contains newlines, then replace it\n\t            // with just that many newlines, sans all other spaces.\n\t            parts.push(new Array(leadingSpace.length).join(\"\\n\"));\n\t        }\n\t    }\n\n\t    if (comment.type === \"Block\") {\n\t        parts.push(\"/*\", comment.value, \"*/\");\n\t    } else if (comment.type === \"Line\") {\n\t        parts.push(\"//\", comment.value, \"\\n\");\n\t    } else assert.fail(comment.type);\n\n\t    return concat(parts).stripMargin(\n\t        loc ? loc.start.column : 0,\n\t        true // Skip the first line, in case there were leading spaces.\n\t    );\n\t}\n\n\texports.printComments = function(comments, innerLines) {\n\t    if (innerLines) {\n\t        assert.ok(innerLines instanceof Lines);\n\t    } else {\n\t        innerLines = fromString(\"\");\n\t    }\n\n\t    var count = comments ? comments.length : 0;\n\t    if (count === 0) {\n\t        return innerLines;\n\t    }\n\n\t    var parts = [];\n\t    var leading = [];\n\t    var trailing = [];\n\n\t    comments.forEach(function(comment) {\n\t        // For now, only /*comments*/ can be trailing comments.\n\t        if (comment.type === \"Block\" &&\n\t            comment.trailing) {\n\t            trailing.push(comment);\n\t        } else {\n\t            leading.push(comment);\n\t        }\n\t    });\n\n\t    leading.forEach(function(comment) {\n\t        parts.push(printLeadingComment(comment));\n\t    });\n\n\t    parts.push(innerLines);\n\n\t    trailing.forEach(function(comment) {\n\t        parts.push(printTrailingComment(comment));\n\t    });\n\n\t    return concat(parts);\n\t};\n\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar assert = __webpack_require__(2);\n\tvar sourceMap = __webpack_require__(31);\n\tvar printComments = __webpack_require__(47).printComments;\n\tvar linesModule = __webpack_require__(30);\n\tvar fromString = linesModule.fromString;\n\tvar concat = linesModule.concat;\n\tvar normalizeOptions = __webpack_require__(40).normalize;\n\tvar getReprinter = __webpack_require__(29).getReprinter;\n\tvar types = __webpack_require__(27);\n\tvar namedTypes = types.namedTypes;\n\tvar isString = types.builtInTypes.string;\n\tvar isObject = types.builtInTypes.object;\n\tvar NodePath = types.NodePath;\n\tvar util = __webpack_require__(43);\n\n\tfunction PrintResult(code, sourceMap) {\n\t    assert.ok(this instanceof PrintResult);\n\t    isString.assert(code);\n\n\t    var properties = {\n\t        code: {\n\t            value: code,\n\t            enumerable: true\n\t        }\n\t    };\n\n\t    if (sourceMap) {\n\t        isObject.assert(sourceMap);\n\n\t        properties.map = {\n\t            value: sourceMap,\n\t            enumerable: true\n\t        };\n\t    }\n\n\t    Object.defineProperties(this, properties);\n\t}\n\n\tvar PRp = PrintResult.prototype;\n\tvar warnedAboutToString = false;\n\n\tPRp.toString = function() {\n\t    if (!warnedAboutToString) {\n\t        console.warn(\n\t            \"Deprecation warning: recast.print now returns an object with \" +\n\t            \"a .code property. You appear to be treating the object as a \" +\n\t            \"string, which might still work but is strongly discouraged.\"\n\t        );\n\n\t        warnedAboutToString = true;\n\t    }\n\n\t    return this.code;\n\t};\n\n\tvar emptyPrintResult = new PrintResult(\"\");\n\n\tfunction Printer(options) {\n\t    assert.ok(this instanceof Printer);\n\n\t    var explicitTabWidth = options && options.tabWidth;\n\t    options = normalizeOptions(options);\n\n\t    function printWithComments(path) {\n\t        assert.ok(path instanceof NodePath);\n\t        return printComments(path.node.comments, print(path));\n\t    }\n\n\t    function print(path, includeComments) {\n\t        if (includeComments)\n\t            return printWithComments(path);\n\n\t        assert.ok(path instanceof NodePath);\n\n\t        if (!explicitTabWidth) {\n\t            var oldTabWidth = options.tabWidth;\n\t            var orig = path.node.original;\n\t            var origLoc = orig && orig.loc;\n\t            var origLines = origLoc && origLoc.lines;\n\t            if (origLines) {\n\t                options.tabWidth = origLines.guessTabWidth();\n\t                try {\n\t                    return maybeReprint(path);\n\t                } finally {\n\t                    options.tabWidth = oldTabWidth;\n\t                }\n\t            }\n\t        }\n\n\t        return maybeReprint(path);\n\t    }\n\n\t    function maybeReprint(path) {\n\t        var reprinter = getReprinter(path);\n\t        if (reprinter)\n\t            return maybeAddParens(path, reprinter(printRootGenerically));\n\t        return printRootGenerically(path);\n\t    }\n\n\t    // Print the root node generically, but then resume reprinting its\n\t    // children non-generically.\n\t    function printRootGenerically(path) {\n\t        return genericPrint(path, options, printWithComments);\n\t    }\n\n\t    // Print the entire AST generically.\n\t    function printGenerically(path) {\n\t        return genericPrint(path, options, printGenerically);\n\t    }\n\n\t    this.print = function(ast) {\n\t        if (!ast) {\n\t            return emptyPrintResult;\n\t        }\n\n\t        var path = ast instanceof NodePath ? ast : new NodePath(ast);\n\t        var lines = print(path, true);\n\n\t        return new PrintResult(\n\t            lines.toString(options),\n\t            util.composeSourceMaps(\n\t                options.inputSourceMap,\n\t                lines.getSourceMap(\n\t                    options.sourceMapName,\n\t                    options.sourceRoot\n\t                )\n\t            )\n\t        );\n\t    };\n\n\t    this.printGenerically = function(ast) {\n\t        if (!ast) {\n\t            return emptyPrintResult;\n\t        }\n\n\t        var path = ast instanceof NodePath ? ast : new NodePath(ast);\n\t        var lines = printGenerically(path);\n\n\t        return new PrintResult(lines.toString(options));\n\t    };\n\t}\n\n\texports.Printer = Printer;\n\n\tfunction maybeAddParens(path, lines) {\n\t    return path.needsParens() ? concat([\"(\", lines, \")\"]) : lines;\n\t}\n\n\tfunction genericPrint(path, options, printPath) {\n\t    assert.ok(path instanceof NodePath);\n\t    return maybeAddParens(path, genericPrintNoParens(path, options, printPath));\n\t}\n\n\tfunction genericPrintNoParens(path, options, print) {\n\t    var n = path.value;\n\n\t    if (!n) {\n\t        return fromString(\"\");\n\t    }\n\n\t    if (typeof n === \"string\") {\n\t        return fromString(n, options);\n\t    }\n\n\t    namedTypes.Node.assert(n);\n\n\t    switch (n.type) {\n\t    case \"File\":\n\t        path = path.get(\"program\");\n\t        n = path.node;\n\t        namedTypes.Program.assert(n);\n\n\t        // intentionally fall through...\n\n\t    case \"Program\":\n\t        return maybeAddSemicolon(\n\t            printStatementSequence(path.get(\"body\"), print)\n\t        );\n\n\t    case \"EmptyStatement\":\n\t        return fromString(\"\");\n\n\t    case \"ExpressionStatement\":\n\t        return concat([print(path.get(\"expression\")), \";\"]);\n\n\t    case \"BinaryExpression\":\n\t    case \"LogicalExpression\":\n\t    case \"AssignmentExpression\":\n\t        return fromString(\" \").join([\n\t            print(path.get(\"left\")),\n\t            n.operator,\n\t            print(path.get(\"right\"))\n\t        ]);\n\n\t    case \"MemberExpression\":\n\t        var parts = [print(path.get(\"object\"))];\n\n\t        if (n.computed)\n\t            parts.push(\"[\", print(path.get(\"property\")), \"]\");\n\t        else\n\t            parts.push(\".\", print(path.get(\"property\")));\n\n\t        return concat(parts);\n\n\t    case \"Path\":\n\t        return fromString(\".\").join(n.body);\n\n\t    case \"Identifier\":\n\t        return fromString(n.name, options);\n\n\t    case \"SpreadElement\":\n\t        return concat([\"...\", print(path.get(\"argument\"))]);\n\n\t    case \"FunctionDeclaration\":\n\t    case \"FunctionExpression\":\n\t        var parts = [\"function\"];\n\n\t        if (n.generator)\n\t            parts.push(\"*\");\n\n\t        if (n.id)\n\t            parts.push(\" \", print(path.get(\"id\")));\n\n\t        parts.push(\n\t            \"(\",\n\t            maybeWrapParams(path.get(\"params\"), options, print),\n\t            \") \",\n\t            print(path.get(\"body\")));\n\n\t        return concat(parts);\n\n\t    case \"ArrowFunctionExpression\":\n\t        var parts = [];\n\n\t        if (n.params.length === 1) {\n\t            parts.push(print(path.get(\"params\", 0)));\n\t        } else {\n\t            parts.push(\n\t                \"(\",\n\t                maybeWrapParams(path.get(\"params\"), options, print),\n\t                \")\"\n\t            );\n\t        }\n\n\t        parts.push(\" => \", print(path.get(\"body\")));\n\n\t        return concat(parts);\n\n\t    case \"MethodDefinition\":\n\t        var parts = [];\n\n\t        if (!n.kind || n.kind === \"init\") {\n\t            if (n.value.generator)\n\t                parts.push(\"*\");\n\n\t        } else {\n\t            assert.ok(\n\t                n.kind === \"get\" ||\n\t                n.kind === \"set\");\n\n\t            parts.push(n.kind, \" \");\n\t        }\n\n\t        parts.push(\n\t            print(path.get(\"key\")),\n\t            \"(\",\n\t            maybeWrapParams(path.get(\"value\", \"params\"), options, print),\n\t            \") \",\n\t            print(path.get(\"value\", \"body\"))\n\t        );\n\n\t        return concat(parts);\n\n\t    case \"YieldExpression\":\n\t        var parts = [\"yield\"];\n\n\t        if (n.delegate)\n\t            parts.push(\"*\");\n\n\t        if (n.argument)\n\t            parts.push(\" \", print(path.get(\"argument\")));\n\n\t        return concat(parts);\n\n\t    case \"ModuleDeclaration\":\n\t        var parts = [\"module\", print(path.get(\"id\"))];\n\n\t        if (n.source) {\n\t            assert.ok(!n.body);\n\t            parts.push(\"from\", print(path.get(\"source\")));\n\t        } else {\n\t            parts.push(print(path.get(\"body\")));\n\t        }\n\n\t        return fromString(\" \").join(parts);\n\n\t    case \"ImportSpecifier\":\n\t    case \"ExportSpecifier\":\n\t        var parts = [print(path.get(\"id\"))];\n\n\t        if (n.name)\n\t            parts.push(\" as \", print(path.get(\"name\")));\n\n\t        return concat(parts);\n\n\t    case \"ExportBatchSpecifier\":\n\t        return fromString(\"*\");\n\n\t    case \"ExportDeclaration\":\n\t        var parts = [\"export\"];\n\n\t        if (n[\"default\"]) {\n\t            parts.push(\" default\");\n\n\t        } else if (n.specifiers &&\n\t                   n.specifiers.length > 0) {\n\n\t            if (n.specifiers.length === 1 &&\n\t                n.specifiers[0].type === \"ExportBatchSpecifier\") {\n\t                parts.push(\" *\");\n\t            } else {\n\t                parts.push(\n\t                    \" { \",\n\t                    fromString(\", \").join(path.get(\"specifiers\").map(print)),\n\t                    \" }\"\n\t                );\n\t            }\n\n\t            if (n.source)\n\t                parts.push(\" from \", print(path.get(\"source\")));\n\n\t            parts.push(\";\");\n\n\t            return concat(parts);\n\t        }\n\n\t        parts.push(\" \", print(path.get(\"declaration\")), \";\");\n\n\t        return concat(parts);\n\n\t    case \"ImportDeclaration\":\n\t        var parts = [\"import\"];\n\n\t        if (!(n.specifiers &&\n\t              n.specifiers.length > 0)) {\n\t            parts.push(\" \", print(path.get(\"source\")));\n\n\t        } else if (n.kind === \"default\") {\n\t            parts.push(\n\t                \" \",\n\t                print(path.get(\"specifiers\", 0)),\n\t                \" from \",\n\t                print(path.get(\"source\"))\n\t            );\n\n\t        } else if (n.kind === \"named\") {\n\t            parts.push(\n\t                \" { \",\n\t                fromString(\", \").join(path.get(\"specifiers\").map(print)),\n\t                \" } from \",\n\t                print(path.get(\"source\"))\n\t            );\n\t        }\n\n\t        parts.push(\";\");\n\n\t        return concat(parts);\n\n\t    case \"BlockStatement\":\n\t        var naked = printStatementSequence(path.get(\"body\"), print);\n\t        if (naked.isEmpty())\n\t            return fromString(\"{}\");\n\n\t        return concat([\n\t            \"{\\n\",\n\t            naked.indent(options.tabWidth),\n\t            \"\\n}\"\n\t        ]);\n\n\t    case \"ReturnStatement\":\n\t        var parts = [\"return\"];\n\n\t        if (n.argument)\n\t            parts.push(\" \", print(path.get(\"argument\")));\n\n\t        return concat(parts);\n\n\t    case \"CallExpression\":\n\t        return concat([\n\t            print(path.get(\"callee\")),\n\t            \"(\",\n\t            fromString(\", \").join(path.get(\"arguments\").map(print)),\n\t            \")\"\n\t        ]);\n\n\t    case \"ObjectExpression\":\n\t    case \"ObjectPattern\":\n\t        var allowBreak = false,\n\t            len = n.properties.length,\n\t            parts = [len > 0 ? \"{\\n\" : \"{\"];\n\n\t        path.get(\"properties\").map(function(childPath) {\n\t            var prop = childPath.value;\n\t            var i = childPath.name;\n\n\t            // Esprima uses these non-standard AST node types.\n\t            if (!/^Property/.test(prop.type)) {\n\t                if (prop.hasOwnProperty(\"kind\")) {\n\t                    prop.type = \"Property\";\n\t                } else {\n\t                    prop.type = namedTypes.PropertyPattern\n\t                        ? \"PropertyPattern\"\n\t                        : \"Property\";\n\t                }\n\t            }\n\n\t            var lines = print(childPath).indent(options.tabWidth);\n\n\t            var multiLine = lines.length > 1;\n\t            if (multiLine && allowBreak) {\n\t                // Similar to the logic for BlockStatement.\n\t                parts.push(\"\\n\");\n\t            }\n\n\t            parts.push(lines);\n\n\t            if (i < len - 1) {\n\t                // Add an extra line break if the previous object property\n\t                // had a multi-line value.\n\t                parts.push(multiLine ? \",\\n\\n\" : \",\\n\");\n\t                allowBreak = !multiLine;\n\t            }\n\t        });\n\n\t        parts.push(len > 0 ? \"\\n}\" : \"}\");\n\n\t        return concat(parts);\n\n\t    case \"PropertyPattern\":\n\t        return concat([\n\t            print(path.get(\"key\")),\n\t            \": \",\n\t            print(path.get(\"pattern\"))\n\t        ]);\n\n\t    case \"Property\": // Non-standard AST node type.\n\t        var key = print(path.get(\"key\")),\n\t            val = print(path.get(\"value\"));\n\n\t        if (!n.kind || n.kind === \"init\")\n\t            return fromString(\": \").join([key, val]);\n\n\t        namedTypes.FunctionExpression.assert(n.value);\n\t        assert.ok(n.value.id);\n\t        assert.ok(n.kind === \"get\" ||\n\t                  n.kind === \"set\");\n\n\t        return concat([\n\t            n.kind,\n\t            \" \",\n\t            print(path.get(\"value\", \"id\")),\n\t            \"(\",\n\t            maybeWrapParams(path.get(\"value\", \"params\"), options, print),\n\t            \")\",\n\t            print(path.get(\"value\", \"body\"))\n\t        ]);\n\n\t    case \"ArrayExpression\":\n\t    case \"ArrayPattern\":\n\t        var elems = n.elements,\n\t            len = elems.length,\n\t            parts = [\"[\"];\n\n\t        path.get(\"elements\").each(function(elemPath) {\n\t            var elem = elemPath.value;\n\t            if (!elem) {\n\t                // If the array expression ends with a hole, that hole\n\t                // will be ignored by the interpreter, but if it ends with\n\t                // two (or more) holes, we need to write out two (or more)\n\t                // commas so that the resulting code is interpreted with\n\t                // both (all) of the holes.\n\t                parts.push(\",\");\n\t            } else {\n\t                var i = elemPath.name;\n\t                if (i > 0)\n\t                    parts.push(\" \");\n\t                parts.push(print(elemPath));\n\t                if (i < len - 1)\n\t                    parts.push(\",\");\n\t            }\n\t        });\n\n\t        parts.push(\"]\");\n\n\t        return concat(parts);\n\n\t    case \"SequenceExpression\":\n\t        return fromString(\", \").join(path.get(\"expressions\").map(print));\n\n\t    case \"ThisExpression\":\n\t        return fromString(\"this\");\n\n\t    case \"Literal\":\n\t        if (typeof n.value !== \"string\")\n\t            return fromString(n.value, options);\n\n\t        // intentionally fall through...\n\n\t    case \"ModuleSpecifier\":\n\t        // A ModuleSpecifier is a string-valued Literal.\n\t        return fromString(nodeStr(n), options);\n\n\t    case \"UnaryExpression\":\n\t        var parts = [n.operator];\n\t        if (/[a-z]$/.test(n.operator))\n\t            parts.push(\" \");\n\t        parts.push(print(path.get(\"argument\")));\n\t        return concat(parts);\n\n\t    case \"UpdateExpression\":\n\t        var parts = [\n\t            print(path.get(\"argument\")),\n\t            n.operator\n\t        ];\n\n\t        if (n.prefix)\n\t            parts.reverse();\n\n\t        return concat(parts);\n\n\t    case \"ConditionalExpression\":\n\t        return concat([\n\t            \"(\", print(path.get(\"test\")),\n\t            \" ? \", print(path.get(\"consequent\")),\n\t            \" : \", print(path.get(\"alternate\")), \")\"\n\t        ]);\n\n\t    case \"NewExpression\":\n\t        var parts = [\"new \", print(path.get(\"callee\"))];\n\t        var args = n.arguments;\n\n\t        if (args) {\n\t            parts.push(\n\t                \"(\",\n\t                fromString(\", \").join(path.get(\"arguments\").map(print)),\n\t                \")\"\n\t            );\n\t        }\n\n\t        return concat(parts);\n\n\t    case \"VariableDeclaration\":\n\t        var parts = [n.kind, \" \"];\n\t        var maxLen = 0;\n\t        var printed = path.get(\"declarations\").map(function(childPath) {\n\t            var lines = print(childPath);\n\t            maxLen = Math.max(lines.length, maxLen);\n\t            return lines;\n\t        });\n\n\t        if (maxLen === 1) {\n\t            parts.push(fromString(\", \").join(printed));\n\t        } else {\n\t            parts.push(\n\t                fromString(\",\\n\").join(printed)\n\t                    .indentTail(\"var \".length)\n\t            );\n\t        }\n\n\t        return concat(parts);\n\n\t    case \"VariableDeclarator\":\n\t        return n.init ? fromString(\" = \").join([\n\t            print(path.get(\"id\")),\n\t            print(path.get(\"init\"))\n\t        ]) : print(path.get(\"id\"));\n\n\t    case \"WithStatement\":\n\t        return concat([\n\t            \"with (\",\n\t            print(path.get(\"object\")),\n\t            \") \",\n\t            print(path.get(\"body\"))\n\t        ]);\n\n\t    case \"IfStatement\":\n\t        var con = adjustClause(print(path.get(\"consequent\")), options),\n\t            parts = [\"if (\", print(path.get(\"test\")), \")\", con];\n\n\t        if (n.alternate)\n\t            parts.push(\n\t                endsWithBrace(con) ? \" else\" : \"\\nelse\",\n\t                adjustClause(print(path.get(\"alternate\")), options));\n\n\t        return concat(parts);\n\n\t    case \"ForStatement\":\n\t        // TODO Get the for (;;) case right.\n\t        var init = print(path.get(\"init\")),\n\t            sep = init.length > 1 ? \";\\n\" : \"; \",\n\t            forParen = \"for (\",\n\t            indented = fromString(sep).join([\n\t                init,\n\t                print(path.get(\"test\")),\n\t                print(path.get(\"update\"))\n\t            ]).indentTail(forParen.length),\n\t            head = concat([forParen, indented, \")\"]),\n\t            clause = adjustClause(print(path.get(\"body\")), options),\n\t            parts = [head];\n\n\t        if (head.length > 1) {\n\t            parts.push(\"\\n\");\n\t            clause = clause.trimLeft();\n\t        }\n\n\t        parts.push(clause);\n\n\t        return concat(parts);\n\n\t    case \"WhileStatement\":\n\t        return concat([\n\t            \"while (\",\n\t            print(path.get(\"test\")),\n\t            \")\",\n\t            adjustClause(print(path.get(\"body\")), options)\n\t        ]);\n\n\t    case \"ForInStatement\":\n\t        // Note: esprima can't actually parse \"for each (\".\n\t        return concat([\n\t            n.each ? \"for each (\" : \"for (\",\n\t            print(path.get(\"left\")),\n\t            \" in \",\n\t            print(path.get(\"right\")),\n\t            \")\",\n\t            adjustClause(print(path.get(\"body\")), options)\n\t        ]);\n\n\t    case \"ForOfStatement\":\n\t        return concat([\n\t            \"for (\",\n\t            print(path.get(\"left\")),\n\t            \" of \",\n\t            print(path.get(\"right\")),\n\t            \")\",\n\t            adjustClause(print(path.get(\"body\")), options)\n\t        ]);\n\n\t    case \"DoWhileStatement\":\n\t        var doBody = concat([\n\t            \"do\",\n\t            adjustClause(print(path.get(\"body\")), options)\n\t        ]), parts = [doBody];\n\n\t        if (endsWithBrace(doBody))\n\t            parts.push(\" while\");\n\t        else\n\t            parts.push(\"\\nwhile\");\n\n\t        parts.push(\" (\", print(path.get(\"test\")), \");\");\n\n\t        return concat(parts);\n\n\t    case \"BreakStatement\":\n\t        var parts = [\"break\"];\n\t        if (n.label)\n\t            parts.push(\" \", print(path.get(\"label\")));\n\t        return concat(parts);\n\n\t    case \"ContinueStatement\":\n\t        var parts = [\"continue\"];\n\t        if (n.label)\n\t            parts.push(\" \", print(path.get(\"label\")));\n\t        return concat(parts);\n\n\t    case \"LabeledStatement\":\n\t        return concat([\n\t            print(path.get(\"label\")),\n\t            \":\\n\",\n\t            print(path.get(\"body\"))\n\t        ]);\n\n\t    case \"TryStatement\":\n\t        var parts = [\n\t            \"try \",\n\t            print(path.get(\"block\"))\n\t        ];\n\n\t        parts.push(print(path.get(\"handler\")))\n\t        // n.handlers.forEach(function(handler) {\n\t        //     parts.push(\" \", print(handler));\n\t        // });\n\n\t        if (n.finalizer)\n\t            parts.push(\" finally \", print(path.get(\"finalizer\")));\n\n\t        return concat(parts);\n\n\t    case \"CatchClause\":\n\t        var parts = [\"catch (\", print(path.get(\"param\"))];\n\n\t        if (n.guard)\n\t            // Note: esprima does not recognize conditional catch clauses.\n\t            parts.push(\" if \", print(path.get(\"guard\")));\n\n\t        parts.push(\") \", print(path.get(\"body\")));\n\n\t        return concat(parts);\n\n\t    case \"ThrowStatement\":\n\t        return concat([\n\t            \"throw \",\n\t            print(path.get(\"argument\"))\n\t        ]);\n\n\t    case \"SwitchStatement\":\n\t        return concat([\n\t            \"switch (\",\n\t            print(path.get(\"discriminant\")),\n\t            \") {\\n\",\n\t            fromString(\"\\n\").join(path.get(\"cases\").map(print)),\n\t            \"\\n}\"\n\t        ]);\n\n\t        // Note: ignoring n.lexical because it has no printing consequences.\n\n\t    case \"SwitchCase\":\n\t        var parts = [];\n\n\t        if (n.test)\n\t            parts.push(\"case \", print(path.get(\"test\")), \":\");\n\t        else\n\t            parts.push(\"default:\");\n\n\t        if (n.consequent.length > 0) {\n\t            parts.push(\"\\n\", printStatementSequence(\n\t                path.get(\"consequent\"),\n\t                print\n\t            ).indent(options.tabWidth));\n\t        }\n\n\t        return concat(parts);\n\n\t    case \"DebuggerStatement\":\n\t        return fromString(\"debugger\");\n\n\t    // XJS extensions below.\n\n\t    case \"XJSAttribute\":\n\t        var parts = [print(path.get(\"name\"))];\n\t        if (n.value)\n\t            parts.push(\"=\", print(path.get(\"value\")));\n\t        return concat(parts);\n\n\t    case \"XJSIdentifier\":\n\t        var str = n.name;\n\t        if (typeof n.namespace === \"string\")\n\t            str = n.namespace + \":\" + str;\n\t        return fromString(str, options);\n\n\t    case \"XJSExpressionContainer\":\n\t        return concat([\"{\", print(path.get(\"expression\")), \"}\"]);\n\n\t    case \"XJSElement\":\n\t        var parts = [print(path.get(\"openingElement\"))];\n\n\t        if (!n.selfClosing) {\n\t            parts.push(\n\t                concat(path.get(\"children\").map(function(childPath) {\n\t                    var child = childPath.value;\n\t                    if (namedTypes.Literal.check(child))\n\t                        child.type = \"XJSText\";\n\t                    return print(childPath);\n\t                })),\n\t                print(path.get(\"closingElement\"))\n\t            );\n\t        }\n\n\t        return concat(parts);\n\n\t    case \"XJSOpeningElement\":\n\t        var parts = [\"<\", print(path.get(\"name\"))];\n\n\t        n.attributes.forEach(function(attr) {\n\t            parts.push(\" \", print(attr));\n\t        });\n\n\t        parts.push(n.selfClosing ? \" />\" : \">\");\n\n\t        return concat(parts);\n\n\t    case \"XJSClosingElement\":\n\t        return concat([\"</\", print(path.get(\"name\")), \">\"]);\n\n\t    case \"XJSText\":\n\t        return fromString(n.value, options);\n\n\t    case \"XJSEmptyExpression\":\n\t        return fromString(\"\");\n\n\t    case \"TypeAnnotatedIdentifier\":\n\t        var parts = [\n\t            print(path.get(\"annotation\")),\n\t            \" \",\n\t            print(path.get(\"identifier\"))\n\t        ];\n\n\t        return concat(parts);\n\n\t    case \"ClassBody\":\n\t        return concat([\n\t            \"{\\n\",\n\t            printStatementSequence(path.get(\"body\"), print, true)\n\t                .indent(options.tabWidth),\n\t            \"\\n}\"\n\t        ]);\n\n\t    case \"ClassPropertyDefinition\":\n\t        var parts = [\"static \", print(path.get(\"definition\"))];\n\t        if (!namedTypes.MethodDefinition.check(n.definition))\n\t            parts.push(\";\");\n\t        return concat(parts);\n\n\t    case \"ClassDeclaration\":\n\t    case \"ClassExpression\":\n\t        var parts = [\"class\"];\n\n\t        if (n.id)\n\t            parts.push(\" \", print(path.get(\"id\")));\n\n\t        if (n.superClass)\n\t            parts.push(\" extends \", print(path.get(\"superClass\")));\n\n\t        parts.push(\" \", print(path.get(\"body\")));\n\n\t        return concat(parts);\n\n\t    // Unhandled types below. If encountered, nodes of these types should\n\t    // be either left alone or desugared into AST types that are fully\n\t    // supported by the pretty-printer.\n\n\t    case \"ClassHeritage\": // TODO\n\t    case \"ComprehensionBlock\": // TODO\n\t    case \"ComprehensionExpression\": // TODO\n\t    case \"Glob\": // TODO\n\t    case \"TaggedTemplateExpression\": // TODO\n\t    case \"TemplateElement\": // TODO\n\t    case \"TemplateLiteral\": // TODO\n\t    case \"GeneratorExpression\": // TODO\n\t    case \"LetStatement\": // TODO\n\t    case \"LetExpression\": // TODO\n\t    case \"GraphExpression\": // TODO\n\t    case \"GraphIndexExpression\": // TODO\n\t    case \"TypeAnnotation\": // TODO\n\t    default:\n\t        debugger;\n\t        throw new Error(\"unknown type: \" + JSON.stringify(n.type));\n\t    }\n\n\t    return p;\n\t}\n\n\tfunction printStatementSequence(path, print, inClassBody) {\n\t    var filtered = path.filter(function(stmtPath) {\n\t        var stmt = stmtPath.value;\n\n\t        // Just in case the AST has been modified to contain falsy\n\t        // \"statements,\" it's safer simply to skip them.\n\t        if (!stmt)\n\t            return false;\n\n\t        // Skip printing EmptyStatement nodes to avoid leaving stray\n\t        // semicolons lying around.\n\t        if (stmt.type === \"EmptyStatement\")\n\t            return false;\n\n\t        namedTypes.Statement.assert(stmt);\n\n\t        return true;\n\t    });\n\n\t    var allowBreak = false,\n\t        len = filtered.length,\n\t        parts = [];\n\n\t    filtered.map(function(stmtPath) {\n\t        var lines = print(stmtPath);\n\t        var stmt = stmtPath.value;\n\n\t        if (inClassBody) {\n\t            if (namedTypes.MethodDefinition.check(stmt))\n\t                return lines;\n\n\t            if (namedTypes.ClassPropertyDefinition.check(stmt) &&\n\t                namedTypes.MethodDefinition.check(stmt.definition))\n\t                return lines;\n\t        }\n\n\t        // Try to add a semicolon to anything that isn't a method in a\n\t        // class body.\n\t        return maybeAddSemicolon(lines);\n\n\t    }).forEach(function(lines, i) {\n\t        var multiLine = lines.length > 1;\n\t        if (multiLine && allowBreak) {\n\t            // Insert an additional line break before multi-line\n\t            // statements, if we did not insert an extra line break\n\t            // after the previous statement.\n\t            parts.push(\"\\n\");\n\t        }\n\n\t        if (!inClassBody)\n\t            lines = maybeAddSemicolon(lines);\n\n\t        parts.push(lines);\n\n\t        if (i < len - 1) {\n\t            // Add an extra line break if the previous statement\n\t            // spanned multiple lines.\n\t            parts.push(multiLine ? \"\\n\\n\" : \"\\n\");\n\n\t            // Avoid adding another line break if we just added an\n\t            // extra one.\n\t            allowBreak = !multiLine;\n\t        }\n\t    });\n\n\t    return concat(parts);\n\t}\n\n\tfunction maybeWrapParams(path, options, print) {\n\t    var printed = path.map(print);\n\t    var joined = fromString(\", \").join(printed);\n\t    if (joined.length > 1 ||\n\t        joined.getLineLength(1) > options.wrapColumn) {\n\t        joined = fromString(\",\\n\").join(printed);\n\t        return concat([\"\\n\", joined.indent(options.tabWidth)]);\n\t    }\n\t    return joined;\n\t}\n\n\tfunction adjustClause(clause, options) {\n\t    if (clause.length > 1)\n\t        return concat([\" \", clause]);\n\n\t    return concat([\n\t        \"\\n\",\n\t        maybeAddSemicolon(clause).indent(options.tabWidth)\n\t    ]);\n\t}\n\n\tfunction lastNonSpaceCharacter(lines) {\n\t    var pos = lines.lastPos();\n\t    do {\n\t        var ch = lines.charAt(pos);\n\t        if (/\\S/.test(ch))\n\t            return ch;\n\t    } while (lines.prevPos(pos));\n\t}\n\n\tfunction endsWithBrace(lines) {\n\t    return lastNonSpaceCharacter(lines) === \"}\";\n\t}\n\n\tfunction nodeStrEscape(str) {\n\t    return str.replace(/\\\\/g, \"\\\\\\\\\")\n\t              .replace(/\"/g, \"\\\\\\\"\")\n\t              // The previous line messes up my syntax highlighting\n\t              // unless this comment includes a \" character.\n\t              .replace(/\\n/g, \"\\\\n\")\n\t              .replace(/\\r/g, \"\\\\r\")\n\t              .replace(/</g, \"\\\\u003C\")\n\t              .replace(/>/g, \"\\\\u003E\");\n\t}\n\n\tfunction nodeStr(n) {\n\t    if (/[\\u0000-\\u001F\\u0080-\\uFFFF]/.test(n.value)) {\n\t        // use the convoluted algorithm to avoid broken low/high characters\n\t        var str = \"\";\n\t        for (var i = 0; i < n.value.length; i++) {\n\t            var c = n.value[i];\n\t            if (c <= \"\\x1F\" || c >= \"\\x80\") {\n\t                var cc = c.charCodeAt(0).toString(16);\n\t                while (cc.length < 4) cc = \"0\" + cc;\n\t                str += \"\\\\u\" + cc;\n\t            } else {\n\t                str += nodeStrEscape(c);\n\t            }\n\t        }\n\t        return '\"' + str + '\"';\n\t    }\n\n\t    return '\"' + nodeStrEscape(n.value) + '\"';\n\t}\n\n\tfunction maybeAddSemicolon(lines) {\n\t    var eoc = lastNonSpaceCharacter(lines);\n\t    if (eoc && \"\\n};\".indexOf(eoc) < 0)\n\t        return concat([lines, \";\"]);\n\t    return lines;\n\t}\n\n\n/***/ },\n/* 49 */\n/***/ function(module, exports) {\n\n\tmodule.exports = null;\n\n/***/ },\n/* 50 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n\t * additional grant of patent rights can be found in the PATENTS file in\n\t * the same directory.\n\t */\n\n\tvar assert = __webpack_require__(2);\n\tvar types = __webpack_require__(8);\n\tvar n = types.namedTypes;\n\tvar b = types.builders;\n\tvar inherits = __webpack_require__(3).inherits;\n\n\tfunction Entry() {\n\t  assert.ok(this instanceof Entry);\n\t}\n\n\tfunction FunctionEntry(returnLoc) {\n\t  Entry.call(this);\n\n\t  n.Literal.assert(returnLoc);\n\n\t  Object.defineProperties(this, {\n\t    returnLoc: { value: returnLoc }\n\t  });\n\t}\n\n\tinherits(FunctionEntry, Entry);\n\texports.FunctionEntry = FunctionEntry;\n\n\tfunction LoopEntry(breakLoc, continueLoc, label) {\n\t  Entry.call(this);\n\n\t  n.Literal.assert(breakLoc);\n\t  n.Literal.assert(continueLoc);\n\n\t  if (label) {\n\t    n.Identifier.assert(label);\n\t  } else {\n\t    label = null;\n\t  }\n\n\t  Object.defineProperties(this, {\n\t    breakLoc: { value: breakLoc },\n\t    continueLoc: { value: continueLoc },\n\t    label: { value: label }\n\t  });\n\t}\n\n\tinherits(LoopEntry, Entry);\n\texports.LoopEntry = LoopEntry;\n\n\tfunction SwitchEntry(breakLoc) {\n\t  Entry.call(this);\n\n\t  n.Literal.assert(breakLoc);\n\n\t  Object.defineProperties(this, {\n\t    breakLoc: { value: breakLoc }\n\t  });\n\t}\n\n\tinherits(SwitchEntry, Entry);\n\texports.SwitchEntry = SwitchEntry;\n\n\tfunction TryEntry(catchEntry, finallyEntry) {\n\t  Entry.call(this);\n\n\t  if (catchEntry) {\n\t    assert.ok(catchEntry instanceof CatchEntry);\n\t  } else {\n\t    catchEntry = null;\n\t  }\n\n\t  if (finallyEntry) {\n\t    assert.ok(finallyEntry instanceof FinallyEntry);\n\t  } else {\n\t    finallyEntry = null;\n\t  }\n\n\t  Object.defineProperties(this, {\n\t    catchEntry: { value: catchEntry },\n\t    finallyEntry: { value: finallyEntry }\n\t  });\n\t}\n\n\tinherits(TryEntry, Entry);\n\texports.TryEntry = TryEntry;\n\n\tfunction CatchEntry(firstLoc, paramId) {\n\t  Entry.call(this);\n\n\t  n.Literal.assert(firstLoc);\n\t  n.Identifier.assert(paramId);\n\n\t  Object.defineProperties(this, {\n\t    firstLoc: { value: firstLoc },\n\t    paramId: { value: paramId }\n\t  });\n\t}\n\n\tinherits(CatchEntry, Entry);\n\texports.CatchEntry = CatchEntry;\n\n\tfunction FinallyEntry(firstLoc, nextLocTempVar) {\n\t  Entry.call(this);\n\n\t  n.Literal.assert(firstLoc);\n\t  n.Identifier.assert(nextLocTempVar);\n\n\t  Object.defineProperties(this, {\n\t    firstLoc: { value: firstLoc },\n\t    nextLocTempVar: { value: nextLocTempVar }\n\t  });\n\t}\n\n\tinherits(FinallyEntry, Entry);\n\texports.FinallyEntry = FinallyEntry;\n\n\tfunction LeapManager(emitter) {\n\t  assert.ok(this instanceof LeapManager);\n\n\t  var Emitter = __webpack_require__(25).Emitter;\n\t  assert.ok(emitter instanceof Emitter);\n\n\t  Object.defineProperties(this, {\n\t    emitter: { value: emitter },\n\t    entryStack: {\n\t      value: [new FunctionEntry(emitter.finalLoc)]\n\t    }\n\t  });\n\t}\n\n\tvar LMp = LeapManager.prototype;\n\texports.LeapManager = LeapManager;\n\n\tLMp.withEntry = function(entry, callback) {\n\t  assert.ok(entry instanceof Entry);\n\t  this.entryStack.push(entry);\n\t  try {\n\t    callback.call(this.emitter);\n\t  } finally {\n\t    var popped = this.entryStack.pop();\n\t    assert.strictEqual(popped, entry);\n\t  }\n\t};\n\n\tLMp._leapToEntry = function(predicate, defaultLoc) {\n\t  var entry, loc;\n\t  var finallyEntries = [];\n\t  var skipNextTryEntry = null;\n\n\t  for (var i = this.entryStack.length - 1; i >= 0; --i) {\n\t    entry = this.entryStack[i];\n\n\t    if (entry instanceof CatchEntry ||\n\t        entry instanceof FinallyEntry) {\n\n\t      // If we are inside of a catch or finally block, then we must\n\t      // have exited the try block already, so we shouldn't consider\n\t      // the next TryStatement as a handler for this throw.\n\t      skipNextTryEntry = entry;\n\n\t    } else if (entry instanceof TryEntry) {\n\t      if (skipNextTryEntry) {\n\t        // If an exception was thrown from inside a catch block and this\n\t        // try statement has a finally block, make sure we execute that\n\t        // finally block.\n\t        if (skipNextTryEntry instanceof CatchEntry &&\n\t            entry.finallyEntry) {\n\t          finallyEntries.push(entry.finallyEntry);\n\t        }\n\n\t        skipNextTryEntry = null;\n\n\t      } else if ((loc = predicate.call(this, entry))) {\n\t        break;\n\n\t      } else if (entry.finallyEntry) {\n\t        finallyEntries.push(entry.finallyEntry);\n\t      }\n\n\t    } else if ((loc = predicate.call(this, entry))) {\n\t      break;\n\t    }\n\t  }\n\n\t  if (loc) {\n\t    // fall through\n\t  } else if (defaultLoc) {\n\t    loc = defaultLoc;\n\t  } else {\n\t    return null;\n\t  }\n\n\t  n.Literal.assert(loc);\n\n\t  var finallyEntry;\n\t  while ((finallyEntry = finallyEntries.pop())) {\n\t    this.emitter.emitAssign(finallyEntry.nextLocTempVar, loc);\n\t    loc = finallyEntry.firstLoc;\n\t  }\n\n\t  return loc;\n\t};\n\n\tfunction getLeapLocation(entry, property, label) {\n\t  var loc = entry[property];\n\t  if (loc) {\n\t    if (label) {\n\t      if (entry.label &&\n\t          entry.label.name === label.name) {\n\t        return loc;\n\t      }\n\t    } else {\n\t      return loc;\n\t    }\n\t  }\n\t  return null;\n\t}\n\n\tLMp.emitBreak = function(label) {\n\t  var loc = this._leapToEntry(function(entry) {\n\t    return getLeapLocation(entry, \"breakLoc\", label);\n\t  });\n\n\t  if (loc === null) {\n\t    throw new Error(\"illegal break statement\");\n\t  }\n\n\t  this.emitter.clearPendingException();\n\t  this.emitter.jump(loc);\n\t};\n\n\tLMp.emitContinue = function(label) {\n\t  var loc = this._leapToEntry(function(entry) {\n\t    return getLeapLocation(entry, \"continueLoc\", label);\n\t  });\n\n\t  if (loc === null) {\n\t    throw new Error(\"illegal continue statement\");\n\t  }\n\n\t  this.emitter.clearPendingException();\n\t  this.emitter.jump(loc);\n\t};\n\n\n/***/ },\n/* 51 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n\t * additional grant of patent rights can be found in the PATENTS file in\n\t * the same directory.\n\t */\n\n\tvar assert = __webpack_require__(2);\n\tvar m = __webpack_require__(42).makeAccessor();\n\tvar types = __webpack_require__(8);\n\tvar isArray = types.builtInTypes.array;\n\tvar n = types.namedTypes;\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\n\tfunction makePredicate(propertyName, knownTypes) {\n\t  function onlyChildren(node) {\n\t    n.Node.assert(node);\n\n\t    // Assume no side effects until we find out otherwise.\n\t    var result = false;\n\n\t    function check(child) {\n\t      if (result) {\n\t        // Do nothing.\n\t      } else if (isArray.check(child)) {\n\t        child.some(check);\n\t      } else if (n.Node.check(child)) {\n\t        assert.strictEqual(result, false);\n\t        result = predicate(child);\n\t      }\n\t      return result;\n\t    }\n\n\t    types.eachField(node, function(name, child) {\n\t      check(child);\n\t    });\n\n\t    return result;\n\t  }\n\n\t  function predicate(node) {\n\t    n.Node.assert(node);\n\n\t    var meta = m(node);\n\t    if (hasOwn.call(meta, propertyName))\n\t      return meta[propertyName];\n\n\t    // Certain types are \"opaque,\" which means they have no side\n\t    // effects or leaps and we don't care about their subexpressions.\n\t    if (hasOwn.call(opaqueTypes, node.type))\n\t      return meta[propertyName] = false;\n\n\t    if (hasOwn.call(knownTypes, node.type))\n\t      return meta[propertyName] = true;\n\n\t    return meta[propertyName] = onlyChildren(node);\n\t  }\n\n\t  predicate.onlyChildren = onlyChildren;\n\n\t  return predicate;\n\t}\n\n\tvar opaqueTypes = {\n\t  FunctionExpression: true\n\t};\n\n\t// These types potentially have side effects regardless of what side\n\t// effects their subexpressions have.\n\tvar sideEffectTypes = {\n\t  CallExpression: true, // Anything could happen!\n\t  ForInStatement: true, // Modifies the key variable.\n\t  UnaryExpression: true, // Think delete.\n\t  BinaryExpression: true, // Might invoke .toString() or .valueOf().\n\t  AssignmentExpression: true, // Side-effecting by definition.\n\t  UpdateExpression: true, // Updates are essentially assignments.\n\t  NewExpression: true // Similar to CallExpression.\n\t};\n\n\t// These types are the direct cause of all leaps in control flow.\n\tvar leapTypes = {\n\t  YieldExpression: true,\n\t  BreakStatement: true,\n\t  ContinueStatement: true,\n\t  ReturnStatement: true,\n\t  ThrowStatement: true,\n\t  CallExpression: true,\n\t  DebuggerStatement: true\n\t};\n\n\t// All leap types are also side effect types.\n\tfor (var type in leapTypes) {\n\t  if (hasOwn.call(leapTypes, type)) {\n\t    sideEffectTypes[type] = leapTypes[type];\n\t  }\n\t}\n\n\texports.hasSideEffects = makePredicate(\"hasSideEffects\", sideEffectTypes);\n\texports.containsLeap = makePredicate(\"containsLeap\", leapTypes);\n\n\n/***/ },\n/* 52 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar types = __webpack_require__(8);\n\tvar recast = __webpack_require__(26);\n\tvar b = types.builders;\n\n\tfunction DebugInfo() {\n\t  this.baseId = 0;\n\t  this.baseIndex = 1;\n\t  this.machines = [];\n\t  this.stepIds = [];\n\t  this.stmts = [];\n\t}\n\n\tDebugInfo.prototype.makeId = function() {\n\t  var id = this.baseId++;\n\t  this.machines[id] = {\n\t    locs: {},\n\t    finalLoc: null\n\t  };\n\t  return id;\n\t};\n\n\tDebugInfo.prototype.addStepIds = function(machineId, ids) {\n\t  this.stepIds[machineId] = ids;\n\t}\n\n\tDebugInfo.prototype.addSourceLocation = function(machineId, loc, index) {\n\t  this.machines[machineId].locs[index] = loc;\n\t  return index;\n\t};\n\n\tDebugInfo.prototype.getSourceLocation = function(machineId, index) {\n\t  return this.machines[machineId].locs[index];\n\t};\n\n\tDebugInfo.prototype.addFinalLocation = function(machineId, loc) {\n\t  this.machines[machineId].finalLoc = loc;\n\t};\n\n\tDebugInfo.prototype.getDebugAST = function() {\n\t  const ast = recast.parse('(' + JSON.stringify(\n\t    { machines: this.machines,\n\t      stepIds: this.stepIds }\n\t  ) + ')');\n\n\t  return b.variableDeclaration(\n\t    'var',\n\t    [b.variableDeclarator(\n\t      b.identifier('__debugInfo'),\n\t      ast.program.body[0].expression)]\n\t  );\n\t};\n\n\tDebugInfo.prototype.getDebugInfo = function() {\n\t  return { machines: this.machines,\n\t           stepIds: this.stepIds };\n\t};\n\n\texports.DebugInfo = DebugInfo;\n\n\n/***/ },\n/* 53 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*\n\t  Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com>\n\t  Copyright (C) 2013 Alex Seville <hi@alexanderseville.com>\n\n\t  Redistribution and use in source and binary forms, with or without\n\t  modification, are permitted provided that the following conditions are met:\n\n\t    * Redistributions of source code must retain the above copyright\n\t      notice, this list of conditions and the following disclaimer.\n\t    * Redistributions in binary form must reproduce the above copyright\n\t      notice, this list of conditions and the following disclaimer in the\n\t      documentation and/or other materials provided with the distribution.\n\n\t  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n\t  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\t  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n\t  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n\t  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\t  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n\t  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n\t  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n\t  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t*/\n\n\t/**\n\t * Escope (<a href=\"http://github.com/Constellation/escope\">escope</a>) is an <a\n\t * href=\"http://www.ecma-international.org/publications/standards/Ecma-262.htm\">ECMAScript</a>\n\t * scope analyzer extracted from the <a\n\t * href=\"http://github.com/Constellation/esmangle\">esmangle project</a/>.\n\t * <p>\n\t * <em>escope</em> finds lexical scopes in a source program, i.e. areas of that\n\t * program where different occurrences of the same identifier refer to the same\n\t * variable. With each scope the contained variables are collected, and each\n\t * identifier reference in code is linked to its corresponding variable (if\n\t * possible).\n\t * <p>\n\t * <em>escope</em> works on a syntax tree of the parsed source code which has\n\t * to adhere to the <a\n\t * href=\"https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API\">\n\t * Mozilla Parser API</a>. E.g. <a href=\"http://esprima.org\">esprima</a> is a parser\n\t * that produces such syntax trees.\n\t * <p>\n\t * The main interface is the {@link analyze} function.\n\t * @module\n\t */\n\n\t/*jslint bitwise:true */\n\t/*global exports:true, define:true, require:true*/\n\t(function (factory, global) {\n\t    'use strict';\n\n\t    function namespace(str, obj) {\n\t        var i, iz, names, name;\n\t        names = str.split('.');\n\t        for (i = 0, iz = names.length; i < iz; ++i) {\n\t            name = names[i];\n\t            if (obj.hasOwnProperty(name)) {\n\t                obj = obj[name];\n\t            } else {\n\t                obj = (obj[name] = {});\n\t            }\n\t        }\n\t        return obj;\n\t    }\n\n\t    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n\t    // and plain browser loading,\n\t    if (true) {\n\t        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(54)], __WEBPACK_AMD_DEFINE_RESULT__ = function (exports, estraverse) {\n\t            factory(exports, global, estraverse);\n\t        }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t    } else if (typeof exports !== 'undefined') {\n\t        factory(exports, global, require('estraverse'));\n\t    } else {\n\t        factory(namespace('escope', global), global, global.estraverse);\n\t    }\n\t}(function (exports, global, estraverse) {\n\t    'use strict';\n\n\t    var Syntax,\n\t        Map,\n\t        currentScope,\n\t        globalScope,\n\t        scopes,\n\t        options;\n\n\t    Syntax = estraverse.Syntax;\n\n\t    if (typeof global.Map !== 'undefined') {\n\t        // ES6 Map\n\t        Map = global.Map;\n\t    } else {\n\t        Map = function Map() {\n\t            this.__data = {};\n\t        };\n\n\t        Map.prototype.get = function MapGet(key) {\n\t            key = '$' + key;\n\t            if (this.__data.hasOwnProperty(key)) {\n\t                return this.__data[key];\n\t            }\n\t            return undefined;\n\t        };\n\n\t        Map.prototype.has = function MapHas(key) {\n\t            key = '$' + key;\n\t            return this.__data.hasOwnProperty(key);\n\t        };\n\n\t        Map.prototype.set = function MapSet(key, val) {\n\t            key = '$' + key;\n\t            this.__data[key] = val;\n\t        };\n\n\t        Map.prototype['delete'] = function MapDelete(key) {\n\t            key = '$' + key;\n\t            return delete this.__data[key];\n\t        };\n\t    }\n\n\t    function assert(cond, text) {\n\t        if (!cond) {\n\t            throw new Error(text);\n\t        }\n\t    }\n\n\t    function defaultOptions() {\n\t        return {\n\t            optimistic: false,\n\t            directive: false\n\t        };\n\t    }\n\n\t    function updateDeeply(target, override) {\n\t        var key, val;\n\n\t        function isHashObject(target) {\n\t            return typeof target === 'object' && target instanceof Object && !(target instanceof RegExp);\n\t        }\n\n\t        for (key in override) {\n\t            if (override.hasOwnProperty(key)) {\n\t                val = override[key];\n\t                if (isHashObject(val)) {\n\t                    if (isHashObject(target[key])) {\n\t                        updateDeeply(target[key], val);\n\t                    } else {\n\t                        target[key] = updateDeeply({}, val);\n\t                    }\n\t                } else {\n\t                    target[key] = val;\n\t                }\n\t            }\n\t        }\n\t        return target;\n\t    }\n\n\t    /**\n\t     * A Reference represents a single occurrence of an identifier in code.\n\t     * @class Reference\n\t     */\n\t    function Reference(ident, scope, flag, writeExpr, maybeImplicitGlobal) {\n\t        /** \n\t         * Identifier syntax node.\n\t         * @member {esprima#Identifier} Reference#identifier \n\t         */\n\t        this.identifier = ident;\n\t        /** \n\t         * Reference to the enclosing Scope.\n\t         * @member {Scope} Reference#from \n\t         */\n\t        this.from = scope;\n\t        /**\n\t         * Whether the reference comes from a dynamic scope (such as 'eval',\n\t         * 'with', etc.), and may be trapped by dynamic scopes.\n\t         * @member {boolean} Reference#tainted\n\t         */\n\t        this.tainted = false;\n\t        /** \n\t         * The variable this reference is resolved with.\n\t         * @member {Variable} Reference#resolved \n\t         */\n\t        this.resolved = null;\n\t        /** \n\t         * The read-write mode of the reference. (Value is one of {@link\n\t         * Reference.READ}, {@link Reference.RW}, {@link Reference.WRITE}).\n\t         * @member {number} Reference#flag \n\t         * @private\n\t         */\n\t        this.flag = flag;\n\t        if (this.isWrite()) {\n\t            /** \n\t             * If reference is writeable, this is the tree being written to it.\n\t             * @member {esprima#Node} Reference#writeExpr \n\t             */\n\t            this.writeExpr = writeExpr;\n\t        }\n\t        /** \n\t         * Whether the Reference might refer to a global variable.\n\t         * @member {boolean} Reference#__maybeImplicitGlobal \n\t         * @private\n\t         */\n\t        this.__maybeImplicitGlobal = maybeImplicitGlobal;\n\t    }\n\n\t    /** \n\t     * @constant Reference.READ \n\t     * @private\n\t     */\n\t    Reference.READ = 0x1;\n\t    /** \n\t     * @constant Reference.WRITE \n\t     * @private\n\t     */\n\t    Reference.WRITE = 0x2;\n\t    /** \n\t     * @constant Reference.RW \n\t     * @private\n\t     */\n\t    Reference.RW = 0x3;\n\n\t    /**\n\t     * Whether the reference is static.\n\t     * @method Reference#isStatic\n\t     * @return {boolean}\n\t     */\n\t    Reference.prototype.isStatic = function isStatic() {\n\t        return !this.tainted && this.resolved && this.resolved.scope.isStatic();\n\t    };\n\n\t    /**\n\t     * Whether the reference is writeable.\n\t     * @method Reference#isWrite\n\t     * @return {boolean}\n\t     */\n\t    Reference.prototype.isWrite = function isWrite() {\n\t        return this.flag & Reference.WRITE;\n\t    };\n\n\t    /**\n\t     * Whether the reference is readable.\n\t     * @method Reference#isRead\n\t     * @return {boolean}\n\t     */\n\t    Reference.prototype.isRead = function isRead() {\n\t        return this.flag & Reference.READ;\n\t    };\n\n\t    /**\n\t     * Whether the reference is read-only.\n\t     * @method Reference#isReadOnly\n\t     * @return {boolean}\n\t     */\n\t    Reference.prototype.isReadOnly = function isReadOnly() {\n\t        return this.flag === Reference.READ;\n\t    };\n\n\t    /**\n\t     * Whether the reference is write-only.\n\t     * @method Reference#isWriteOnly\n\t     * @return {boolean}\n\t     */\n\t    Reference.prototype.isWriteOnly = function isWriteOnly() {\n\t        return this.flag === Reference.WRITE;\n\t    };\n\n\t    /**\n\t     * Whether the reference is read-write.\n\t     * @method Reference#isReadWrite\n\t     * @return {boolean}\n\t     */\n\t    Reference.prototype.isReadWrite = function isReadWrite() {\n\t        return this.flag === Reference.RW;\n\t    };\n\n\t    /**\n\t     * A Variable represents a locally scoped identifier. These include arguments to\n\t     * functions.\n\t     * @class Variable\n\t     */\n\t    function Variable(name, scope) {\n\t        /**  \n\t         * The variable name, as given in the source code.\n\t         * @member {String} Variable#name \n\t         */\n\t        this.name = name;\n\t        /**\n\t         * List of defining occurrences of this variable (like in 'var ...'\n\t         * statements or as parameter), as AST nodes.\n\t         * @member {esprima.Identifier[]} Variable#identifiers\n\t         */\n\t        this.identifiers = [];\n\t        /**\n\t         * List of {@link Reference|references} of this variable (excluding parameter entries)\n\t         * in its defining scope and all nested scopes. For defining\n\t         * occurrences only see {@link Variable#defs}.\n\t         * @member {Reference[]} Variable#references\n\t         */\n\t        this.references = [];\n\n\t        /**\n\t         * List of defining occurrences of this variable (like in 'var ...'\n\t         * statements or as parameter), as custom objects.\n\t         * @typedef {Object} DefEntry\n\t         * @property {String} DefEntry.type - the type of the occurrence (e.g.\n\t         *      \"Parameter\", \"Variable\", ...)\n\t         * @property {esprima.Identifier} DefEntry.name - the identifier AST node of the occurrence\n\t         * @property {esprima.Node} DefEntry.node - the enclosing node of the\n\t         *      identifier\n\t         * @property {esprima.Node} [DefEntry.parent] - the enclosing statement\n\t         *      node of the identifier\n\t         * @member {DefEntry[]} Variable#defs\n\t         */\n\t        this.defs = [];\n\n\t        this.tainted = false;\n\t        /**\n\t         * Whether this is a stack variable.\n\t         * @member {boolean} Variable#stack\n\t         */\n\t        this.stack = true;\n\t        /** \n\t         * Reference to the enclosing Scope.\n\t         * @member {Scope} Variable#scope \n\t         */\n\t        this.scope = scope;\n\t    }\n\n\t    Variable.CatchClause = 'CatchClause';\n\t    Variable.Parameter = 'Parameter';\n\t    Variable.FunctionName = 'FunctionName';\n\t    Variable.Variable = 'Variable';\n\t    Variable.ImplicitGlobalVariable = 'ImplicitGlobalVariable';\n\n\t    function isStrictScope(scope, block) {\n\t        var body, i, iz, stmt, expr;\n\n\t        // When upper scope is exists and strict, inner scope is also strict.\n\t        if (scope.upper && scope.upper.isStrict) {\n\t            return true;\n\t        }\n\n\t        if (scope.type === 'function') {\n\t            body = block.body;\n\t        } else if (scope.type === 'global') {\n\t            body = block;\n\t        } else {\n\t            return false;\n\t        }\n\n\t        if (options.directive) {\n\t            for (i = 0, iz = body.body.length; i < iz; ++i) {\n\t                stmt = body.body[i];\n\t                if (stmt.type !== 'DirectiveStatement') {\n\t                    break;\n\t                }\n\t                if (stmt.raw === '\"use strict\"' || stmt.raw === '\\'use strict\\'') {\n\t                    return true;\n\t                }\n\t            }\n\t        } else {\n\t            for (i = 0, iz = body.body.length; i < iz; ++i) {\n\t                stmt = body.body[i];\n\t                if (stmt.type !== Syntax.ExpressionStatement) {\n\t                    break;\n\t                }\n\t                expr = stmt.expression;\n\t                if (expr.type !== Syntax.Literal || typeof expr.value !== 'string') {\n\t                    break;\n\t                }\n\t                if (expr.raw != null) {\n\t                    if (expr.raw === '\"use strict\"' || expr.raw === '\\'use strict\\'') {\n\t                        return true;\n\t                    }\n\t                } else {\n\t                    if (expr.value === 'use strict') {\n\t                        return true;\n\t                    }\n\t                }\n\t            }\n\t        }\n\t        return false;\n\t    }\n\n\t    /**\n\t     * @class Scope\n\t     */\n\t    function Scope(block, opt) {\n\t        var variable, body;\n\n\t        /**\n\t         * One of 'catch', 'with', 'function' or 'global'.\n\t         * @member {String} Scope#type\n\t         */\n\t        this.type =\n\t            (block.type === Syntax.CatchClause) ? 'catch' :\n\t            (block.type === Syntax.WithStatement) ? 'with' :\n\t            (block.type === Syntax.Program) ? 'global' : 'function';\n\t         /**\n\t         * The scoped {@link Variable}s of this scope, as <code>{ Variable.name\n\t         * : Variable }</code>.\n\t         * @member {Map} Scope#set\n\t         */\n\t        this.set = new Map();\n\t        /**\n\t         * The tainted variables of this scope, as <code>{ Variable.name :\n\t         * boolean }</code>.\n\t         * @member {Map} Scope#taints */\n\t        this.taints = new Map();\n\t        /**\n\t         * Generally, through the lexical scoping of JS you can always know\n\t         * which variable an identifier in the source code refers to. There are\n\t         * a few exceptions to this rule. With 'global' and 'with' scopes you\n\t         * can only decide at runtime which variable a reference refers to.\n\t         * Moreover, if 'eval()' is used in a scope, it might introduce new\n\t         * bindings in this or its prarent scopes.\n\t         * All those scopes are considered 'dynamic'.\n\t         * @member {boolean} Scope#dynamic\n\t         */\n\t        this.dynamic = this.type === 'global' || this.type === 'with';\n\t        /**\n\t         * A reference to the scope-defining syntax node.\n\t         * @member {esprima.Node} Scope#block\n\t         */\n\t        this.block = block;\n\t         /**\n\t         * The {@link Reference|references} that are not resolved with this scope.\n\t         * @member {Reference[]} Scope#through\n\t         */\n\t        this.through = [];\n\t         /**\n\t         * The scoped {@link Variable}s of this scope. In the case of a\n\t         * 'function' scope this includes the automatic argument <em>arguments</em> as\n\t         * its first element, as well as all further formal arguments.\n\t         * @member {Variable[]} Scope#variables\n\t         */\n\t        this.variables = [];\n\t         /**\n\t         * Any variable {@link Reference|reference} found in this scope. This\n\t         * includes occurrences of local variables as well as variables from\n\t         * parent scopes (including the global scope). For local variables\n\t         * this also includes defining occurrences (like in a 'var' statement).\n\t         * In a 'function' scope this does not include the occurrences of the\n\t         * formal parameter in the parameter list.\n\t         * @member {Reference[]} Scope#references\n\t         */\n\t        this.references = [];\n\t         /**\n\t         * List of {@link Reference}s that are left to be resolved (i.e. which\n\t         * need to be linked to the variable they refer to). Used internally to\n\t         * resolve bindings during scope analysis. On a finalized scope\n\t         * analysis, all sopes have <em>left</em> value <strong>null</strong>.\n\t         * @member {Reference[]} Scope#left\n\t         */\n\t        this.left = [];\n\t         /**\n\t         * For 'global' and 'function' scopes, this is a self-reference. For\n\t         * other scope types this is the <em>variableScope</em> value of the\n\t         * parent scope.\n\t         * @member {Scope} Scope#variableScope\n\t         */\n\t        this.variableScope =\n\t            (this.type === 'global' || this.type === 'function') ? this : currentScope.variableScope;\n\t         /**\n\t         * Whether this scope is created by a FunctionExpression.\n\t         * @member {boolean} Scope#functionExpressionScope\n\t         */\n\t        this.functionExpressionScope = false;\n\t         /**\n\t         * Whether this is a scope that contains an 'eval()' invocation.\n\t         * @member {boolean} Scope#directCallToEvalScope\n\t         */\n\t        this.directCallToEvalScope = false;\n\t         /**\n\t         * @member {boolean} Scope#thisFound\n\t         */\n\t        this.thisFound = false;\n\t        body = this.type === 'function' ? block.body : block;\n\t        if (opt.naming) {\n\t            this.__define(block.id, {\n\t                type: Variable.FunctionName,\n\t                name: block.id,\n\t                node: block\n\t            });\n\t            this.functionExpressionScope = true;\n\t        } else {\n\t            if (this.type === 'function') {\n\t                variable = new Variable('arguments', this);\n\t                this.taints.set('arguments', true);\n\t                this.set.set('arguments', variable);\n\t                this.variables.push(variable);\n\t            }\n\n\t            if (block.type === Syntax.FunctionExpression && block.id) {\n\t                new Scope(block, { naming: true });\n\t            }\n\t        }\n\n\t         /**\n\t         * Reference to the parent {@link Scope|scope}.\n\t         * @member {Scope} Scope#upper\n\t         */\n\t        this.upper = currentScope;\n\t         /**\n\t         * Whether 'use strict' is in effect in this scope.\n\t         * @member {boolean} Scope#isStrict\n\t         */\n\t        this.isStrict = isStrictScope(this, block);\n\n\t         /**\n\t         * List of nested {@link Scope}s.\n\t         * @member {Scope[]} Scope#childScopes\n\t         */\n\t        this.childScopes = [];\n\t        if (currentScope) {\n\t            currentScope.childScopes.push(this);\n\t        }\n\n\n\t        // RAII\n\t        currentScope = this;\n\t        if (this.type === 'global') {\n\t            globalScope = this;\n\t            globalScope.implicit = {\n\t                set: new Map(),\n\t                variables: []\n\t            };\n\t        }\n\t        scopes.push(this);\n\t    }\n\n\t    Scope.prototype.__close = function __close() {\n\t        var i, iz, ref, current, node, implicit;\n\n\t        // Because if this is global environment, upper is null\n\t        if (!this.dynamic || options.optimistic) {\n\t            // static resolve\n\t            for (i = 0, iz = this.left.length; i < iz; ++i) {\n\t                ref = this.left[i];\n\t                if (!this.__resolve(ref)) {\n\t                    this.__delegateToUpperScope(ref);\n\t                }\n\t            }\n\t        } else {\n\t            // this is \"global\" / \"with\" / \"function with eval\" environment\n\t            if (this.type === 'with') {\n\t                for (i = 0, iz = this.left.length; i < iz; ++i) {\n\t                    ref = this.left[i];\n\t                    ref.tainted = true;\n\t                    this.__delegateToUpperScope(ref);\n\t                }\n\t            } else {\n\t                for (i = 0, iz = this.left.length; i < iz; ++i) {\n\t                    // notify all names are through to global\n\t                    ref = this.left[i];\n\t                    current = this;\n\t                    do {\n\t                        current.through.push(ref);\n\t                        current = current.upper;\n\t                    } while (current);\n\t                }\n\t            }\n\t        }\n\n\t        if (this.type === 'global') {\n\t            implicit = [];\n\t            for (i = 0, iz = this.left.length; i < iz; ++i) {\n\t                ref = this.left[i];\n\t                if (ref.__maybeImplicitGlobal && !this.set.has(ref.identifier.name)) {\n\t                    implicit.push(ref.__maybeImplicitGlobal);\n\t                }\n\t            }\n\n\t            // create an implicit global variable from assignment expression\n\t            for (i = 0, iz = implicit.length; i < iz; ++i) {\n\t                node = implicit[i];\n\t                this.__defineImplicit(node.left, {\n\t                    type: Variable.ImplicitGlobalVariable,\n\t                    name: node.left,\n\t                    node: node\n\t                });\n\t            }\n\t        }\n\n\t        this.left = null;\n\t        currentScope = this.upper;\n\t    };\n\n\t    Scope.prototype.__resolve = function __resolve(ref) {\n\t        var variable, name;\n\t        name = ref.identifier.name;\n\t        if (this.set.has(name)) {\n\t            variable = this.set.get(name);\n\t            variable.references.push(ref);\n\t            variable.stack = variable.stack && ref.from.variableScope === this.variableScope;\n\t            if (ref.tainted) {\n\t                variable.tainted = true;\n\t                this.taints.set(variable.name, true);\n\t            }\n\t            ref.resolved = variable;\n\t            return true;\n\t        }\n\t        return false;\n\t    };\n\n\t    Scope.prototype.__delegateToUpperScope = function __delegateToUpperScope(ref) {\n\t        if (this.upper) {\n\t            this.upper.left.push(ref);\n\t        }\n\t        this.through.push(ref);\n\t    };\n\n\t    Scope.prototype.__defineImplicit = function __defineImplicit(node, info) {\n\t        var name, variable;\n\t        if (node && node.type === Syntax.Identifier) {\n\t            name = node.name;\n\t            if (!this.implicit.set.has(name)) {\n\t                variable = new Variable(name, this);\n\t                variable.identifiers.push(node);\n\t                variable.defs.push(info);\n\t                this.implicit.set.set(name, variable);\n\t                this.implicit.variables.push(variable);\n\t            } else {\n\t                variable = this.implicit.set.get(name);\n\t                variable.identifiers.push(node);\n\t                variable.defs.push(info);\n\t            }\n\t        }\n\t    };\n\n\t    Scope.prototype.__define = function __define(node, info) {\n\t        var name, variable;\n\t        if (node && node.type === Syntax.Identifier) {\n\t            name = node.name;\n\t            if (!this.set.has(name)) {\n\t                variable = new Variable(name, this);\n\t                variable.identifiers.push(node);\n\t                variable.defs.push(info);\n\t                this.set.set(name, variable);\n\t                this.variables.push(variable);\n\t            } else {\n\t                variable = this.set.get(name);\n\t                variable.identifiers.push(node);\n\t                variable.defs.push(info);\n\t            }\n\t        }\n\t    };\n\n\t    Scope.prototype.__referencing = function __referencing(node, assign, writeExpr, maybeImplicitGlobal) {\n\t        var ref;\n\t        // because Array element may be null\n\t        if (node && node.type === Syntax.Identifier) {\n\t            ref = new Reference(node, this, assign || Reference.READ, writeExpr, maybeImplicitGlobal);\n\t            this.references.push(ref);\n\t            this.left.push(ref);\n\t        }\n\t    };\n\n\t    Scope.prototype.__detectEval = function __detectEval() {\n\t        var current;\n\t        current = this;\n\t        this.directCallToEvalScope = true;\n\t        do {\n\t            current.dynamic = true;\n\t            current = current.upper;\n\t        } while (current);\n\t    };\n\n\t    Scope.prototype.__detectThis = function __detectThis() {\n\t        this.thisFound = true;\n\t    };\n\n\t    Scope.prototype.__isClosed = function isClosed() {\n\t        return this.left === null;\n\t    };\n\n\t    // API Scope#resolve(name)\n\t    // returns resolved reference\n\t    Scope.prototype.resolve = function resolve(ident) {\n\t        var ref, i, iz;\n\t        assert(this.__isClosed(), 'scope should be closed');\n\t        assert(ident.type === Syntax.Identifier, 'target should be identifier');\n\t        for (i = 0, iz = this.references.length; i < iz; ++i) {\n\t            ref = this.references[i];\n\t            if (ref.identifier === ident) {\n\t                return ref;\n\t            }\n\t        }\n\t        return null;\n\t    };\n\n\t    // API Scope#isStatic\n\t    // returns this scope is static\n\t    Scope.prototype.isStatic = function isStatic() {\n\t        return !this.dynamic;\n\t    };\n\n\t    // API Scope#isArgumentsMaterialized\n\t    // return this scope has materialized arguments\n\t    Scope.prototype.isArgumentsMaterialized = function isArgumentsMaterialized() {\n\t        // TODO(Constellation)\n\t        // We can more aggressive on this condition like this.\n\t        //\n\t        // function t() {\n\t        //     // arguments of t is always hidden.\n\t        //     function arguments() {\n\t        //     }\n\t        // }\n\t        var variable;\n\n\t        // This is not function scope\n\t        if (this.type !== 'function') {\n\t            return true;\n\t        }\n\n\t        if (!this.isStatic()) {\n\t            return true;\n\t        }\n\n\t        variable = this.set.get('arguments');\n\t        assert(variable, 'always have arguments variable');\n\t        return variable.tainted || variable.references.length  !== 0;\n\t    };\n\n\t    // API Scope#isThisMaterialized\n\t    // return this scope has materialized `this` reference\n\t    Scope.prototype.isThisMaterialized = function isThisMaterialized() {\n\t        // This is not function scope\n\t        if (this.type !== 'function') {\n\t            return true;\n\t        }\n\t        if (!this.isStatic()) {\n\t            return true;\n\t        }\n\t        return this.thisFound;\n\t    };\n\n\t    Scope.mangledName = '__$escope$__';\n\n\t    Scope.prototype.attach = function attach() {\n\t        if (!this.functionExpressionScope) {\n\t            this.block[Scope.mangledName] = this;\n\t        }\n\t    };\n\n\t    Scope.prototype.detach = function detach() {\n\t        if (!this.functionExpressionScope) {\n\t            delete this.block[Scope.mangledName];\n\t        }\n\t    };\n\n\t    Scope.prototype.isUsedName = function (name) {\n\t        if (this.set.has(name)) {\n\t            return true;\n\t        }\n\t        for (var i = 0, iz = this.through.length; i < iz; ++i) {\n\t            if (this.through[i].identifier.name === name) {\n\t                return true;\n\t            }\n\t        }\n\t        return false;\n\t    };\n\n\t    /**\n\t     * @class ScopeManager\n\t     */\n\t    function ScopeManager(scopes) {\n\t        this.scopes = scopes;\n\t        this.attached = false;\n\t    }\n\n\t    // Returns appropliate scope for this node\n\t    ScopeManager.prototype.__get = function __get(node) {\n\t        var i, iz, scope;\n\t        if (this.attached) {\n\t            return node[Scope.mangledName] || null;\n\t        }\n\t        if (Scope.isScopeRequired(node)) {\n\t            for (i = 0, iz = this.scopes.length; i < iz; ++i) {\n\t                scope = this.scopes[i];\n\t                if (!scope.functionExpressionScope) {\n\t                    if (scope.block === node) {\n\t                        return scope;\n\t                    }\n\t                }\n\t            }\n\t        }\n\t        return null;\n\t    };\n\n\t    ScopeManager.prototype.acquire = function acquire(node) {\n\t        return this.__get(node);\n\t    };\n\n\t    ScopeManager.prototype.release = function release(node) {\n\t        var scope = this.__get(node);\n\t        if (scope) {\n\t            scope = scope.upper;\n\t            while (scope) {\n\t                if (!scope.functionExpressionScope) {\n\t                    return scope;\n\t                }\n\t                scope = scope.upper;\n\t            }\n\t        }\n\t        return null;\n\t    };\n\n\t    ScopeManager.prototype.attach = function attach() {\n\t        var i, iz;\n\t        for (i = 0, iz = this.scopes.length; i < iz; ++i) {\n\t            this.scopes[i].attach();\n\t        }\n\t        this.attached = true;\n\t    };\n\n\t    ScopeManager.prototype.detach = function detach() {\n\t        var i, iz;\n\t        for (i = 0, iz = this.scopes.length; i < iz; ++i) {\n\t            this.scopes[i].detach();\n\t        }\n\t        this.attached = false;\n\t    };\n\n\t    Scope.isScopeRequired = function isScopeRequired(node) {\n\t        return Scope.isVariableScopeRequired(node) || node.type === Syntax.WithStatement || node.type === Syntax.CatchClause;\n\t    };\n\n\t    Scope.isVariableScopeRequired = function isVariableScopeRequired(node) {\n\t        return node.type === Syntax.Program || node.type === Syntax.FunctionExpression || node.type === Syntax.FunctionDeclaration;\n\t    };\n\n\t    /**\n\t     * Main interface function. Takes an Esprima syntax tree and returns the\n\t     * analyzed scopes.\n\t     * @function analyze\n\t     * @param {esprima.Tree} tree\n\t     * @param {Object} providedOptions - Options that tailor the scope analysis\n\t     * @param {boolean} [providedOptions.optimistic=false] - the optimistic flag\n\t     * @param {boolean} [providedOptions.directive=false]- the directive flag\n\t     * @param {boolean} [providedOptions.ignoreEval=false]- whether to check 'eval()' calls\n\t     * @return {ScopeManager}\n\t     */\n\t    function analyze(tree, providedOptions) {\n\t        var resultScopes;\n\n\t        options = updateDeeply(defaultOptions(), providedOptions);\n\t        resultScopes = scopes = [];\n\t        currentScope = null;\n\t        globalScope = null;\n\n\t        // attach scope and collect / resolve names\n\t        estraverse.traverse(tree, {\n\t            enter: function enter(node) {\n\t                var i, iz, decl;\n\t                if (Scope.isScopeRequired(node)) {\n\t                    new Scope(node, {});\n\t                }\n\n\t                switch (node.type) {\n\t                case Syntax.AssignmentExpression:\n\t                    if (node.operator === '=') {\n\t                        currentScope.__referencing(node.left, Reference.WRITE, node.right, (!currentScope.isStrict && node.left.name != null) && node);\n\t                    } else {\n\t                        currentScope.__referencing(node.left, Reference.RW, node.right);\n\t                    }\n\t                    currentScope.__referencing(node.right);\n\t                    break;\n\n\t                case Syntax.ArrayExpression:\n\t                    for (i = 0, iz = node.elements.length; i < iz; ++i) {\n\t                        currentScope.__referencing(node.elements[i]);\n\t                    }\n\t                    break;\n\n\t                case Syntax.BlockStatement:\n\t                    break;\n\n\t                case Syntax.BinaryExpression:\n\t                    currentScope.__referencing(node.left);\n\t                    currentScope.__referencing(node.right);\n\t                    break;\n\n\t                case Syntax.BreakStatement:\n\t                    break;\n\n\t                case Syntax.CallExpression:\n\t                    currentScope.__referencing(node.callee);\n\t                    for (i = 0, iz = node['arguments'].length; i < iz; ++i) {\n\t                        currentScope.__referencing(node['arguments'][i]);\n\t                    }\n\n\t                    // check this is direct call to eval\n\t                    if (!options.ignoreEval && node.callee.type === Syntax.Identifier && node.callee.name === 'eval') {\n\t                        currentScope.variableScope.__detectEval();\n\t                    }\n\t                    break;\n\n\t                case Syntax.CatchClause:\n\t                    currentScope.__define(node.param, {\n\t                        type: Variable.CatchClause,\n\t                        name: node.param,\n\t                        node: node\n\t                    });\n\t                    break;\n\n\t                case Syntax.ConditionalExpression:\n\t                    currentScope.__referencing(node.test);\n\t                    currentScope.__referencing(node.consequent);\n\t                    currentScope.__referencing(node.alternate);\n\t                    break;\n\n\t                case Syntax.ContinueStatement:\n\t                    break;\n\n\t                case Syntax.DirectiveStatement:\n\t                    break;\n\n\t                case Syntax.DoWhileStatement:\n\t                    currentScope.__referencing(node.test);\n\t                    break;\n\n\t                case Syntax.DebuggerStatement:\n\t                    break;\n\n\t                case Syntax.EmptyStatement:\n\t                    break;\n\n\t                case Syntax.ExpressionStatement:\n\t                    currentScope.__referencing(node.expression);\n\t                    break;\n\n\t                case Syntax.ForStatement:\n\t                    currentScope.__referencing(node.init);\n\t                    currentScope.__referencing(node.test);\n\t                    currentScope.__referencing(node.update);\n\t                    break;\n\n\t                case Syntax.ForInStatement:\n\t                    if (node.left.type === Syntax.VariableDeclaration) {\n\t                        currentScope.__referencing(node.left.declarations[0].id, Reference.WRITE, null, false);\n\t                    } else {\n\t                        currentScope.__referencing(node.left, Reference.WRITE, null, (!currentScope.isStrict && node.left.name != null) && node);\n\t                    }\n\t                    currentScope.__referencing(node.right);\n\t                    break;\n\n\t                case Syntax.FunctionDeclaration:\n\t                    // FunctionDeclaration name is defined in upper scope\n\t                    currentScope.upper.__define(node.id, {\n\t                        type: Variable.FunctionName,\n\t                        name: node.id,\n\t                        node: node\n\t                    });\n\t                    for (i = 0, iz = node.params.length; i < iz; ++i) {\n\t                        currentScope.__define(node.params[i], {\n\t                            type: Variable.Parameter,\n\t                            name: node.params[i],\n\t                            node: node,\n\t                            index: i\n\t                        });\n\t                    }\n\t                    break;\n\n\t                case Syntax.FunctionExpression:\n\t                    // id is defined in upper scope\n\t                    for (i = 0, iz = node.params.length; i < iz; ++i) {\n\t                        currentScope.__define(node.params[i], {\n\t                            type: Variable.Parameter,\n\t                            name: node.params[i],\n\t                            node: node,\n\t                            index: i\n\t                        });\n\t                    }\n\t                    break;\n\n\t                case Syntax.Identifier:\n\t                    break;\n\n\t                case Syntax.IfStatement:\n\t                    currentScope.__referencing(node.test);\n\t                    break;\n\n\t                case Syntax.Literal:\n\t                    break;\n\n\t                case Syntax.LabeledStatement:\n\t                    break;\n\n\t                case Syntax.LogicalExpression:\n\t                    currentScope.__referencing(node.left);\n\t                    currentScope.__referencing(node.right);\n\t                    break;\n\n\t                case Syntax.MemberExpression:\n\t                    currentScope.__referencing(node.object);\n\t                    if (node.computed) {\n\t                        currentScope.__referencing(node.property);\n\t                    }\n\t                    break;\n\n\t                case Syntax.NewExpression:\n\t                    currentScope.__referencing(node.callee);\n\t                    for (i = 0, iz = node['arguments'].length; i < iz; ++i) {\n\t                        currentScope.__referencing(node['arguments'][i]);\n\t                    }\n\t                    break;\n\n\t                case Syntax.ObjectExpression:\n\t                    break;\n\n\t                case Syntax.Program:\n\t                    break;\n\n\t                case Syntax.Property:\n\t                    currentScope.__referencing(node.value);\n\t                    break;\n\n\t                case Syntax.ReturnStatement:\n\t                    currentScope.__referencing(node.argument);\n\t                    break;\n\n\t                case Syntax.SequenceExpression:\n\t                    for (i = 0, iz = node.expressions.length; i < iz; ++i) {\n\t                        currentScope.__referencing(node.expressions[i]);\n\t                    }\n\t                    break;\n\n\t                case Syntax.SwitchStatement:\n\t                    currentScope.__referencing(node.discriminant);\n\t                    break;\n\n\t                case Syntax.SwitchCase:\n\t                    currentScope.__referencing(node.test);\n\t                    break;\n\n\t                case Syntax.ThisExpression:\n\t                    currentScope.variableScope.__detectThis();\n\t                    break;\n\n\t                case Syntax.ThrowStatement:\n\t                    currentScope.__referencing(node.argument);\n\t                    break;\n\n\t                case Syntax.TryStatement:\n\t                    break;\n\n\t                case Syntax.UnaryExpression:\n\t                    currentScope.__referencing(node.argument);\n\t                    break;\n\n\t                case Syntax.UpdateExpression:\n\t                    currentScope.__referencing(node.argument, Reference.RW, null);\n\t                    break;\n\n\t                case Syntax.VariableDeclaration:\n\t                    for (i = 0, iz = node.declarations.length; i < iz; ++i) {\n\t                        decl = node.declarations[i];\n\t                        currentScope.variableScope.__define(decl.id, {\n\t                            type: Variable.Variable,\n\t                            name: decl.id,\n\t                            node: decl,\n\t                            index: i,\n\t                            parent: node\n\t                        });\n\t                        if (decl.init) {\n\t                            // initializer is found\n\t                            currentScope.__referencing(decl.id, Reference.WRITE, decl.init, false);\n\t                            currentScope.__referencing(decl.init);\n\t                        }\n\t                    }\n\t                    break;\n\n\t                case Syntax.VariableDeclarator:\n\t                    break;\n\n\t                case Syntax.WhileStatement:\n\t                    currentScope.__referencing(node.test);\n\t                    break;\n\n\t                case Syntax.WithStatement:\n\t                    // WithStatement object is referenced at upper scope\n\t                    currentScope.upper.__referencing(node.object);\n\t                    break;\n\t                }\n\t            },\n\n\t            leave: function leave(node) {\n\t                while (currentScope && node === currentScope.block) {\n\t                    currentScope.__close();\n\t                }\n\t            }\n\t        });\n\n\t        assert(currentScope === null);\n\t        globalScope = null;\n\t        scopes = null;\n\t        options = null;\n\n\t        return new ScopeManager(resultScopes);\n\t    }\n\n\t    /** @name module:escope.version */\n\t    exports.version = '1.0.1';\n\t    /** @name module:escope.Reference */\n\t    exports.Reference = Reference;\n\t    /** @name module:escope.Variable */\n\t    exports.Variable = Variable;\n\t    /** @name module:escope.Scope */\n\t    exports.Scope = Scope;\n\t    /** @name module:escope.ScopeManager */\n\t    exports.ScopeManager = ScopeManager;\n\t    /** @name module:escope.analyze */\n\t    exports.analyze = analyze;\n\t}, this));\n\t/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n/***/ },\n/* 54 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*\n\t  Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com>\n\t  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n\t  Redistribution and use in source and binary forms, with or without\n\t  modification, are permitted provided that the following conditions are met:\n\n\t    * Redistributions of source code must retain the above copyright\n\t      notice, this list of conditions and the following disclaimer.\n\t    * Redistributions in binary form must reproduce the above copyright\n\t      notice, this list of conditions and the following disclaimer in the\n\t      documentation and/or other materials provided with the distribution.\n\n\t  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n\t  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\t  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n\t  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n\t  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\t  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n\t  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n\t  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n\t  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t*/\n\t/*jslint vars:false, bitwise:true*/\n\t/*jshint indent:4*/\n\t/*global exports:true, define:true*/\n\t(function (root, factory) {\n\t    'use strict';\n\n\t    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n\t    // and plain browser loading,\n\t    if (true) {\n\t        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t    } else if (typeof exports !== 'undefined') {\n\t        factory(exports);\n\t    } else {\n\t        factory((root.estraverse = {}));\n\t    }\n\t}(this, function (exports) {\n\t    'use strict';\n\n\t    var Syntax,\n\t        isArray,\n\t        VisitorOption,\n\t        VisitorKeys,\n\t        BREAK,\n\t        SKIP;\n\n\t    Syntax = {\n\t        AssignmentExpression: 'AssignmentExpression',\n\t        ArrayExpression: 'ArrayExpression',\n\t        ArrayPattern: 'ArrayPattern',\n\t        ArrowFunctionExpression: 'ArrowFunctionExpression',\n\t        BlockStatement: 'BlockStatement',\n\t        BinaryExpression: 'BinaryExpression',\n\t        BreakStatement: 'BreakStatement',\n\t        CallExpression: 'CallExpression',\n\t        CatchClause: 'CatchClause',\n\t        ClassBody: 'ClassBody',\n\t        ClassDeclaration: 'ClassDeclaration',\n\t        ClassExpression: 'ClassExpression',\n\t        ConditionalExpression: 'ConditionalExpression',\n\t        ContinueStatement: 'ContinueStatement',\n\t        DebuggerStatement: 'DebuggerStatement',\n\t        DirectiveStatement: 'DirectiveStatement',\n\t        DoWhileStatement: 'DoWhileStatement',\n\t        EmptyStatement: 'EmptyStatement',\n\t        ExpressionStatement: 'ExpressionStatement',\n\t        ForStatement: 'ForStatement',\n\t        ForInStatement: 'ForInStatement',\n\t        FunctionDeclaration: 'FunctionDeclaration',\n\t        FunctionExpression: 'FunctionExpression',\n\t        Identifier: 'Identifier',\n\t        IfStatement: 'IfStatement',\n\t        Literal: 'Literal',\n\t        LabeledStatement: 'LabeledStatement',\n\t        LogicalExpression: 'LogicalExpression',\n\t        MemberExpression: 'MemberExpression',\n\t        MethodDefinition: 'MethodDefinition',\n\t        NewExpression: 'NewExpression',\n\t        ObjectExpression: 'ObjectExpression',\n\t        ObjectPattern: 'ObjectPattern',\n\t        Program: 'Program',\n\t        Property: 'Property',\n\t        ReturnStatement: 'ReturnStatement',\n\t        SequenceExpression: 'SequenceExpression',\n\t        SwitchStatement: 'SwitchStatement',\n\t        SwitchCase: 'SwitchCase',\n\t        ThisExpression: 'ThisExpression',\n\t        ThrowStatement: 'ThrowStatement',\n\t        TryStatement: 'TryStatement',\n\t        UnaryExpression: 'UnaryExpression',\n\t        UpdateExpression: 'UpdateExpression',\n\t        VariableDeclaration: 'VariableDeclaration',\n\t        VariableDeclarator: 'VariableDeclarator',\n\t        WhileStatement: 'WhileStatement',\n\t        WithStatement: 'WithStatement',\n\t        YieldExpression: 'YieldExpression'\n\t    };\n\n\t    function ignoreJSHintError() { }\n\n\t    isArray = Array.isArray;\n\t    if (!isArray) {\n\t        isArray = function isArray(array) {\n\t            return Object.prototype.toString.call(array) === '[object Array]';\n\t        };\n\t    }\n\n\t    function deepCopy(obj) {\n\t        var ret = {}, key, val;\n\t        for (key in obj) {\n\t            if (obj.hasOwnProperty(key)) {\n\t                val = obj[key];\n\t                if (typeof val === 'object' && val !== null) {\n\t                    ret[key] = deepCopy(val);\n\t                } else {\n\t                    ret[key] = val;\n\t                }\n\t            }\n\t        }\n\t        return ret;\n\t    }\n\n\t    function shallowCopy(obj) {\n\t        var ret = {}, key;\n\t        for (key in obj) {\n\t            if (obj.hasOwnProperty(key)) {\n\t                ret[key] = obj[key];\n\t            }\n\t        }\n\t        return ret;\n\t    }\n\t    ignoreJSHintError(shallowCopy);\n\n\t    // based on LLVM libc++ upper_bound / lower_bound\n\t    // MIT License\n\n\t    function upperBound(array, func) {\n\t        var diff, len, i, current;\n\n\t        len = array.length;\n\t        i = 0;\n\n\t        while (len) {\n\t            diff = len >>> 1;\n\t            current = i + diff;\n\t            if (func(array[current])) {\n\t                len = diff;\n\t            } else {\n\t                i = current + 1;\n\t                len -= diff + 1;\n\t            }\n\t        }\n\t        return i;\n\t    }\n\n\t    function lowerBound(array, func) {\n\t        var diff, len, i, current;\n\n\t        len = array.length;\n\t        i = 0;\n\n\t        while (len) {\n\t            diff = len >>> 1;\n\t            current = i + diff;\n\t            if (func(array[current])) {\n\t                i = current + 1;\n\t                len -= diff + 1;\n\t            } else {\n\t                len = diff;\n\t            }\n\t        }\n\t        return i;\n\t    }\n\t    ignoreJSHintError(lowerBound);\n\n\t    VisitorKeys = {\n\t        AssignmentExpression: ['left', 'right'],\n\t        ArrayExpression: ['elements'],\n\t        ArrayPattern: ['elements'],\n\t        ArrowFunctionExpression: ['params', 'defaults', 'rest', 'body'],\n\t        BlockStatement: ['body'],\n\t        BinaryExpression: ['left', 'right'],\n\t        BreakStatement: ['label'],\n\t        CallExpression: ['callee', 'arguments'],\n\t        CatchClause: ['param', 'body'],\n\t        ClassBody: ['body'],\n\t        ClassDeclaration: ['id', 'body', 'superClass'],\n\t        ClassExpression: ['id', 'body', 'superClass'],\n\t        ConditionalExpression: ['test', 'consequent', 'alternate'],\n\t        ContinueStatement: ['label'],\n\t        DebuggerStatement: [],\n\t        DirectiveStatement: [],\n\t        DoWhileStatement: ['body', 'test'],\n\t        EmptyStatement: [],\n\t        ExpressionStatement: ['expression'],\n\t        ForStatement: ['init', 'test', 'update', 'body'],\n\t        ForInStatement: ['left', 'right', 'body'],\n\t        FunctionDeclaration: ['id', 'params', 'defaults', 'rest', 'body'],\n\t        FunctionExpression: ['id', 'params', 'defaults', 'rest', 'body'],\n\t        Identifier: [],\n\t        IfStatement: ['test', 'consequent', 'alternate'],\n\t        Literal: [],\n\t        LabeledStatement: ['label', 'body'],\n\t        LogicalExpression: ['left', 'right'],\n\t        MemberExpression: ['object', 'property'],\n\t        MethodDefinition: ['key', 'value'],\n\t        NewExpression: ['callee', 'arguments'],\n\t        ObjectExpression: ['properties'],\n\t        ObjectPattern: ['properties'],\n\t        Program: ['body'],\n\t        Property: ['key', 'value'],\n\t        ReturnStatement: ['argument'],\n\t        SequenceExpression: ['expressions'],\n\t        SwitchStatement: ['discriminant', 'cases'],\n\t        SwitchCase: ['test', 'consequent'],\n\t        ThisExpression: [],\n\t        ThrowStatement: ['argument'],\n\t        TryStatement: ['block', 'handlers', 'handler', 'guardedHandlers', 'finalizer'],\n\t        UnaryExpression: ['argument'],\n\t        UpdateExpression: ['argument'],\n\t        VariableDeclaration: ['declarations'],\n\t        VariableDeclarator: ['id', 'init'],\n\t        WhileStatement: ['test', 'body'],\n\t        WithStatement: ['object', 'body'],\n\t        YieldExpression: ['argument']\n\t    };\n\n\t    // unique id\n\t    BREAK = {};\n\t    SKIP = {};\n\n\t    VisitorOption = {\n\t        Break: BREAK,\n\t        Skip: SKIP\n\t    };\n\n\t    function Reference(parent, key) {\n\t        this.parent = parent;\n\t        this.key = key;\n\t    }\n\n\t    Reference.prototype.replace = function replace(node) {\n\t        this.parent[this.key] = node;\n\t    };\n\n\t    function Element(node, path, wrap, ref) {\n\t        this.node = node;\n\t        this.path = path;\n\t        this.wrap = wrap;\n\t        this.ref = ref;\n\t    }\n\n\t    function Controller() { }\n\n\t    // API:\n\t    // return property path array from root to current node\n\t    Controller.prototype.path = function path() {\n\t        var i, iz, j, jz, result, element;\n\n\t        function addToPath(result, path) {\n\t            if (isArray(path)) {\n\t                for (j = 0, jz = path.length; j < jz; ++j) {\n\t                    result.push(path[j]);\n\t                }\n\t            } else {\n\t                result.push(path);\n\t            }\n\t        }\n\n\t        // root node\n\t        if (!this.__current.path) {\n\t            return null;\n\t        }\n\n\t        // first node is sentinel, second node is root element\n\t        result = [];\n\t        for (i = 2, iz = this.__leavelist.length; i < iz; ++i) {\n\t            element = this.__leavelist[i];\n\t            addToPath(result, element.path);\n\t        }\n\t        addToPath(result, this.__current.path);\n\t        return result;\n\t    };\n\n\t    // API:\n\t    // return array of parent elements\n\t    Controller.prototype.parents = function parents() {\n\t        var i, iz, result;\n\n\t        // first node is sentinel\n\t        result = [];\n\t        for (i = 1, iz = this.__leavelist.length; i < iz; ++i) {\n\t            result.push(this.__leavelist[i].node);\n\t        }\n\n\t        return result;\n\t    };\n\n\t    // API:\n\t    // return current node\n\t    Controller.prototype.current = function current() {\n\t        return this.__current.node;\n\t    };\n\n\t    Controller.prototype.__execute = function __execute(callback, element) {\n\t        var previous, result;\n\n\t        result = undefined;\n\n\t        previous  = this.__current;\n\t        this.__current = element;\n\t        this.__state = null;\n\t        if (callback) {\n\t            result = callback.call(this, element.node, this.__leavelist[this.__leavelist.length - 1].node);\n\t        }\n\t        this.__current = previous;\n\n\t        return result;\n\t    };\n\n\t    // API:\n\t    // notify control skip / break\n\t    Controller.prototype.notify = function notify(flag) {\n\t        this.__state = flag;\n\t    };\n\n\t    // API:\n\t    // skip child nodes of current node\n\t    Controller.prototype.skip = function () {\n\t        this.notify(SKIP);\n\t    };\n\n\t    // API:\n\t    // break traversals\n\t    Controller.prototype['break'] = function () {\n\t        this.notify(BREAK);\n\t    };\n\n\t    Controller.prototype.__initialize = function(root, visitor) {\n\t        this.visitor = visitor;\n\t        this.root = root;\n\t        this.__worklist = [];\n\t        this.__leavelist = [];\n\t        this.__current = null;\n\t        this.__state = null;\n\t    };\n\n\t    Controller.prototype.traverse = function traverse(root, visitor) {\n\t        var worklist,\n\t            leavelist,\n\t            element,\n\t            node,\n\t            nodeType,\n\t            ret,\n\t            key,\n\t            current,\n\t            current2,\n\t            candidates,\n\t            candidate,\n\t            sentinel;\n\n\t        this.__initialize(root, visitor);\n\n\t        sentinel = {};\n\n\t        // reference\n\t        worklist = this.__worklist;\n\t        leavelist = this.__leavelist;\n\n\t        // initialize\n\t        worklist.push(new Element(root, null, null, null));\n\t        leavelist.push(new Element(null, null, null, null));\n\n\t        while (worklist.length) {\n\t            element = worklist.pop();\n\n\t            if (element === sentinel) {\n\t                element = leavelist.pop();\n\n\t                ret = this.__execute(visitor.leave, element);\n\n\t                if (this.__state === BREAK || ret === BREAK) {\n\t                    return;\n\t                }\n\t                continue;\n\t            }\n\n\t            if (element.node) {\n\n\t                ret = this.__execute(visitor.enter, element);\n\n\t                if (this.__state === BREAK || ret === BREAK) {\n\t                    return;\n\t                }\n\n\t                worklist.push(sentinel);\n\t                leavelist.push(element);\n\n\t                if (this.__state === SKIP || ret === SKIP) {\n\t                    continue;\n\t                }\n\n\t                node = element.node;\n\t                nodeType = element.wrap || node.type;\n\t                candidates = VisitorKeys[nodeType];\n\n\t                current = candidates.length;\n\t                while ((current -= 1) >= 0) {\n\t                    key = candidates[current];\n\t                    candidate = node[key];\n\t                    if (!candidate) {\n\t                        continue;\n\t                    }\n\n\t                    if (!isArray(candidate)) {\n\t                        worklist.push(new Element(candidate, key, null, null));\n\t                        continue;\n\t                    }\n\n\t                    current2 = candidate.length;\n\t                    while ((current2 -= 1) >= 0) {\n\t                        if (!candidate[current2]) {\n\t                            continue;\n\t                        }\n\t                        if ((nodeType === Syntax.ObjectExpression || nodeType === Syntax.ObjectPattern) && 'properties' === candidates[current]) {\n\t                            element = new Element(candidate[current2], [key, current2], 'Property', null);\n\t                        } else {\n\t                            element = new Element(candidate[current2], [key, current2], null, null);\n\t                        }\n\t                        worklist.push(element);\n\t                    }\n\t                }\n\t            }\n\t        }\n\t    };\n\n\t    Controller.prototype.replace = function replace(root, visitor) {\n\t        var worklist,\n\t            leavelist,\n\t            node,\n\t            nodeType,\n\t            target,\n\t            element,\n\t            current,\n\t            current2,\n\t            candidates,\n\t            candidate,\n\t            sentinel,\n\t            outer,\n\t            key;\n\n\t        this.__initialize(root, visitor);\n\n\t        sentinel = {};\n\n\t        // reference\n\t        worklist = this.__worklist;\n\t        leavelist = this.__leavelist;\n\n\t        // initialize\n\t        outer = {\n\t            root: root\n\t        };\n\t        element = new Element(root, null, null, new Reference(outer, 'root'));\n\t        worklist.push(element);\n\t        leavelist.push(element);\n\n\t        while (worklist.length) {\n\t            element = worklist.pop();\n\n\t            if (element === sentinel) {\n\t                element = leavelist.pop();\n\n\t                target = this.__execute(visitor.leave, element);\n\n\t                // node may be replaced with null,\n\t                // so distinguish between undefined and null in this place\n\t                if (target !== undefined && target !== BREAK && target !== SKIP) {\n\t                    // replace\n\t                    element.ref.replace(target);\n\t                }\n\n\t                if (this.__state === BREAK || target === BREAK) {\n\t                    return outer.root;\n\t                }\n\t                continue;\n\t            }\n\n\t            target = this.__execute(visitor.enter, element);\n\n\t            // node may be replaced with null,\n\t            // so distinguish between undefined and null in this place\n\t            if (target !== undefined && target !== BREAK && target !== SKIP) {\n\t                // replace\n\t                element.ref.replace(target);\n\t                element.node = target;\n\t            }\n\n\t            if (this.__state === BREAK || target === BREAK) {\n\t                return outer.root;\n\t            }\n\n\t            // node may be null\n\t            node = element.node;\n\t            if (!node) {\n\t                continue;\n\t            }\n\n\t            worklist.push(sentinel);\n\t            leavelist.push(element);\n\n\t            if (this.__state === SKIP || target === SKIP) {\n\t                continue;\n\t            }\n\n\t            nodeType = element.wrap || node.type;\n\t            candidates = VisitorKeys[nodeType];\n\n\t            current = candidates.length;\n\t            while ((current -= 1) >= 0) {\n\t                key = candidates[current];\n\t                candidate = node[key];\n\t                if (!candidate) {\n\t                    continue;\n\t                }\n\n\t                if (!isArray(candidate)) {\n\t                    worklist.push(new Element(candidate, key, null, new Reference(node, key)));\n\t                    continue;\n\t                }\n\n\t                current2 = candidate.length;\n\t                while ((current2 -= 1) >= 0) {\n\t                    if (!candidate[current2]) {\n\t                        continue;\n\t                    }\n\t                    if (nodeType === Syntax.ObjectExpression && 'properties' === candidates[current]) {\n\t                        element = new Element(candidate[current2], [key, current2], 'Property', new Reference(candidate, current2));\n\t                    } else {\n\t                        element = new Element(candidate[current2], [key, current2], null, new Reference(candidate, current2));\n\t                    }\n\t                    worklist.push(element);\n\t                }\n\t            }\n\t        }\n\n\t        return outer.root;\n\t    };\n\n\t    function traverse(root, visitor) {\n\t        var controller = new Controller();\n\t        return controller.traverse(root, visitor);\n\t    }\n\n\t    function replace(root, visitor) {\n\t        var controller = new Controller();\n\t        return controller.replace(root, visitor);\n\t    }\n\n\t    function extendCommentRange(comment, tokens) {\n\t        var target;\n\n\t        target = upperBound(tokens, function search(token) {\n\t            return token.range[0] > comment.range[0];\n\t        });\n\n\t        comment.extendedRange = [comment.range[0], comment.range[1]];\n\n\t        if (target !== tokens.length) {\n\t            comment.extendedRange[1] = tokens[target].range[0];\n\t        }\n\n\t        target -= 1;\n\t        if (target >= 0) {\n\t            comment.extendedRange[0] = tokens[target].range[1];\n\t        }\n\n\t        return comment;\n\t    }\n\n\t    function attachComments(tree, providedComments, tokens) {\n\t        // At first, we should calculate extended comment ranges.\n\t        var comments = [], comment, len, i, cursor;\n\n\t        if (!tree.range) {\n\t            throw new Error('attachComments needs range information');\n\t        }\n\n\t        // tokens array is empty, we attach comments to tree as 'leadingComments'\n\t        if (!tokens.length) {\n\t            if (providedComments.length) {\n\t                for (i = 0, len = providedComments.length; i < len; i += 1) {\n\t                    comment = deepCopy(providedComments[i]);\n\t                    comment.extendedRange = [0, tree.range[0]];\n\t                    comments.push(comment);\n\t                }\n\t                tree.leadingComments = comments;\n\t            }\n\t            return tree;\n\t        }\n\n\t        for (i = 0, len = providedComments.length; i < len; i += 1) {\n\t            comments.push(extendCommentRange(deepCopy(providedComments[i]), tokens));\n\t        }\n\n\t        // This is based on John Freeman's implementation.\n\t        cursor = 0;\n\t        traverse(tree, {\n\t            enter: function (node) {\n\t                var comment;\n\n\t                while (cursor < comments.length) {\n\t                    comment = comments[cursor];\n\t                    if (comment.extendedRange[1] > node.range[0]) {\n\t                        break;\n\t                    }\n\n\t                    if (comment.extendedRange[1] === node.range[0]) {\n\t                        if (!node.leadingComments) {\n\t                            node.leadingComments = [];\n\t                        }\n\t                        node.leadingComments.push(comment);\n\t                        comments.splice(cursor, 1);\n\t                    } else {\n\t                        cursor += 1;\n\t                    }\n\t                }\n\n\t                // already out of owned node\n\t                if (cursor === comments.length) {\n\t                    return VisitorOption.Break;\n\t                }\n\n\t                if (comments[cursor].extendedRange[0] > node.range[1]) {\n\t                    return VisitorOption.Skip;\n\t                }\n\t            }\n\t        });\n\n\t        cursor = 0;\n\t        traverse(tree, {\n\t            leave: function (node) {\n\t                var comment;\n\n\t                while (cursor < comments.length) {\n\t                    comment = comments[cursor];\n\t                    if (node.range[1] < comment.extendedRange[0]) {\n\t                        break;\n\t                    }\n\n\t                    if (node.range[1] === comment.extendedRange[0]) {\n\t                        if (!node.trailingComments) {\n\t                            node.trailingComments = [];\n\t                        }\n\t                        node.trailingComments.push(comment);\n\t                        comments.splice(cursor, 1);\n\t                    } else {\n\t                        cursor += 1;\n\t                    }\n\t                }\n\n\t                // already out of owned node\n\t                if (cursor === comments.length) {\n\t                    return VisitorOption.Break;\n\t                }\n\n\t                if (comments[cursor].extendedRange[0] > node.range[1]) {\n\t                    return VisitorOption.Skip;\n\t                }\n\t            }\n\t        });\n\n\t        return tree;\n\t    }\n\n\t    exports.version = '1.3.3-dev';\n\t    exports.Syntax = Syntax;\n\t    exports.traverse = traverse;\n\t    exports.replace = replace;\n\t    exports.attachComments = attachComments;\n\t    exports.VisitorKeys = VisitorKeys;\n\t    exports.VisitorOption = VisitorOption;\n\t    exports.Controller = Controller;\n\t}));\n\t/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n/***/ },\n/* 55 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*\n\t  Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>\n\t  Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>\n\t  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n\t  Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>\n\t  Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>\n\t  Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>\n\t  Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n\t  Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>\n\t  Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n\t  Redistribution and use in source and binary forms, with or without\n\t  modification, are permitted provided that the following conditions are met:\n\n\t    * Redistributions of source code must retain the above copyright\n\t      notice, this list of conditions and the following disclaimer.\n\t    * Redistributions in binary form must reproduce the above copyright\n\t      notice, this list of conditions and the following disclaimer in the\n\t      documentation and/or other materials provided with the distribution.\n\n\t  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n\t  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\t  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n\t  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n\t  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\t  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n\t  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n\t  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n\t  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t*/\n\n\t/*jslint bitwise:true plusplus:true */\n\t/*global esprima:true, define:true, exports:true, window: true,\n\tthrowError: true, generateStatement: true, peek: true,\n\tparseAssignmentExpression: true, parseBlock: true,\n\tparseClassExpression: true, parseClassDeclaration: true, parseExpression: true,\n\tparseForStatement: true,\n\tparseFunctionDeclaration: true, parseFunctionExpression: true,\n\tparseFunctionSourceElements: true, parseVariableIdentifier: true,\n\tparseImportSpecifier: true,\n\tparseLeftHandSideExpression: true, parseParams: true, validateParam: true,\n\tparseSpreadOrAssignmentExpression: true,\n\tparseStatement: true, parseSourceElement: true, parseModuleBlock: true, parseConciseBody: true,\n\tparseYieldExpression: true\n\t*/\n\n\t(function (root, factory) {\n\t    'use strict';\n\n\t    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n\t    // Rhino, and plain browser loading.\n\t    if (true) {\n\t        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t    } else if (typeof exports !== 'undefined') {\n\t        factory(exports);\n\t    } else {\n\t        factory((root.esprima = {}));\n\t    }\n\t}(this, function (exports) {\n\t    'use strict';\n\n\t    var Token,\n\t        TokenName,\n\t        FnExprTokens,\n\t        Syntax,\n\t        PropertyKind,\n\t        Messages,\n\t        Regex,\n\t        SyntaxTreeDelegate,\n\t        ClassPropertyType,\n\t        source,\n\t        strict,\n\t        index,\n\t        lineNumber,\n\t        lineStart,\n\t        length,\n\t        delegate,\n\t        lookahead,\n\t        state,\n\t        extra;\n\n\t    Token = {\n\t        BooleanLiteral: 1,\n\t        EOF: 2,\n\t        Identifier: 3,\n\t        Keyword: 4,\n\t        NullLiteral: 5,\n\t        NumericLiteral: 6,\n\t        Punctuator: 7,\n\t        StringLiteral: 8,\n\t        RegularExpression: 9,\n\t        Template: 10\n\t    };\n\n\t    TokenName = {};\n\t    TokenName[Token.BooleanLiteral] = 'Boolean';\n\t    TokenName[Token.EOF] = '<end>';\n\t    TokenName[Token.Identifier] = 'Identifier';\n\t    TokenName[Token.Keyword] = 'Keyword';\n\t    TokenName[Token.NullLiteral] = 'Null';\n\t    TokenName[Token.NumericLiteral] = 'Numeric';\n\t    TokenName[Token.Punctuator] = 'Punctuator';\n\t    TokenName[Token.StringLiteral] = 'String';\n\t    TokenName[Token.RegularExpression] = 'RegularExpression';\n\n\t    // A function following one of those tokens is an expression.\n\t    FnExprTokens = ['(', '{', '[', 'in', 'typeof', 'instanceof', 'new',\n\t                    'return', 'case', 'delete', 'throw', 'void',\n\t                    // assignment operators\n\t                    '=', '+=', '-=', '*=', '/=', '%=', '<<=', '>>=', '>>>=',\n\t                    '&=', '|=', '^=', ',',\n\t                    // binary/unary operators\n\t                    '+', '-', '*', '/', '%', '++', '--', '<<', '>>', '>>>', '&',\n\t                    '|', '^', '!', '~', '&&', '||', '?', ':', '===', '==', '>=',\n\t                    '<=', '<', '>', '!=', '!=='];\n\n\t    Syntax = {\n\t        ArrayExpression: 'ArrayExpression',\n\t        ArrayPattern: 'ArrayPattern',\n\t        ArrowFunctionExpression: 'ArrowFunctionExpression',\n\t        AssignmentExpression: 'AssignmentExpression',\n\t        BinaryExpression: 'BinaryExpression',\n\t        BlockStatement: 'BlockStatement',\n\t        BreakStatement: 'BreakStatement',\n\t        CallExpression: 'CallExpression',\n\t        CatchClause: 'CatchClause',\n\t        ClassBody: 'ClassBody',\n\t        ClassDeclaration: 'ClassDeclaration',\n\t        ClassExpression: 'ClassExpression',\n\t        ClassHeritage: 'ClassHeritage',\n\t        ComprehensionBlock: 'ComprehensionBlock',\n\t        ComprehensionExpression: 'ComprehensionExpression',\n\t        ConditionalExpression: 'ConditionalExpression',\n\t        ContinueStatement: 'ContinueStatement',\n\t        DebuggerStatement: 'DebuggerStatement',\n\t        DoWhileStatement: 'DoWhileStatement',\n\t        EmptyStatement: 'EmptyStatement',\n\t        ExportDeclaration: 'ExportDeclaration',\n\t        ExportBatchSpecifier: 'ExportBatchSpecifier',\n\t        ExportSpecifier: 'ExportSpecifier',\n\t        ExpressionStatement: 'ExpressionStatement',\n\t        ForInStatement: 'ForInStatement',\n\t        ForOfStatement: 'ForOfStatement',\n\t        ForStatement: 'ForStatement',\n\t        FunctionDeclaration: 'FunctionDeclaration',\n\t        FunctionExpression: 'FunctionExpression',\n\t        Identifier: 'Identifier',\n\t        IfStatement: 'IfStatement',\n\t        ImportDeclaration: 'ImportDeclaration',\n\t        ImportSpecifier: 'ImportSpecifier',\n\t        LabeledStatement: 'LabeledStatement',\n\t        Literal: 'Literal',\n\t        LogicalExpression: 'LogicalExpression',\n\t        MemberExpression: 'MemberExpression',\n\t        MethodDefinition: 'MethodDefinition',\n\t        ModuleDeclaration: 'ModuleDeclaration',\n\t        NewExpression: 'NewExpression',\n\t        ObjectExpression: 'ObjectExpression',\n\t        ObjectPattern: 'ObjectPattern',\n\t        Program: 'Program',\n\t        Property: 'Property',\n\t        ReturnStatement: 'ReturnStatement',\n\t        SequenceExpression: 'SequenceExpression',\n\t        SpreadElement: 'SpreadElement',\n\t        SwitchCase: 'SwitchCase',\n\t        SwitchStatement: 'SwitchStatement',\n\t        TaggedTemplateExpression: 'TaggedTemplateExpression',\n\t        TemplateElement: 'TemplateElement',\n\t        TemplateLiteral: 'TemplateLiteral',\n\t        ThisExpression: 'ThisExpression',\n\t        ThrowStatement: 'ThrowStatement',\n\t        TryStatement: 'TryStatement',\n\t        UnaryExpression: 'UnaryExpression',\n\t        UpdateExpression: 'UpdateExpression',\n\t        VariableDeclaration: 'VariableDeclaration',\n\t        VariableDeclarator: 'VariableDeclarator',\n\t        WhileStatement: 'WhileStatement',\n\t        WithStatement: 'WithStatement',\n\t        YieldExpression: 'YieldExpression'\n\t    };\n\n\t    PropertyKind = {\n\t        Data: 1,\n\t        Get: 2,\n\t        Set: 4\n\t    };\n\n\t    ClassPropertyType = {\n\t        'static': 'static',\n\t        prototype: 'prototype'\n\t    };\n\n\t    // Error messages should be identical to V8.\n\t    Messages = {\n\t        UnexpectedToken:  'Unexpected token %0',\n\t        UnexpectedNumber:  'Unexpected number',\n\t        UnexpectedString:  'Unexpected string',\n\t        UnexpectedIdentifier:  'Unexpected identifier',\n\t        UnexpectedReserved:  'Unexpected reserved word',\n\t        UnexpectedTemplate:  'Unexpected quasi %0',\n\t        UnexpectedEOS:  'Unexpected end of input',\n\t        NewlineAfterThrow:  'Illegal newline after throw',\n\t        InvalidRegExp: 'Invalid regular expression',\n\t        UnterminatedRegExp:  'Invalid regular expression: missing /',\n\t        InvalidLHSInAssignment:  'Invalid left-hand side in assignment',\n\t        InvalidLHSInFormalsList:  'Invalid left-hand side in formals list',\n\t        InvalidLHSInForIn:  'Invalid left-hand side in for-in',\n\t        MultipleDefaultsInSwitch: 'More than one default clause in switch statement',\n\t        NoCatchOrFinally:  'Missing catch or finally after try',\n\t        UnknownLabel: 'Undefined label \\'%0\\'',\n\t        Redeclaration: '%0 \\'%1\\' has already been declared',\n\t        IllegalContinue: 'Illegal continue statement',\n\t        IllegalBreak: 'Illegal break statement',\n\t        IllegalDuplicateClassProperty: 'Illegal duplicate property in class definition',\n\t        IllegalReturn: 'Illegal return statement',\n\t        IllegalYield: 'Illegal yield expression',\n\t        IllegalSpread: 'Illegal spread element',\n\t        StrictModeWith:  'Strict mode code may not include a with statement',\n\t        StrictCatchVariable:  'Catch variable may not be eval or arguments in strict mode',\n\t        StrictVarName:  'Variable name may not be eval or arguments in strict mode',\n\t        StrictParamName:  'Parameter name eval or arguments is not allowed in strict mode',\n\t        StrictParamDupe: 'Strict mode function may not have duplicate parameter names',\n\t        ParameterAfterRestParameter: 'Rest parameter must be final parameter of an argument list',\n\t        DefaultRestParameter: 'Rest parameter can not have a default value',\n\t        ElementAfterSpreadElement: 'Spread must be the final element of an element list',\n\t        ObjectPatternAsRestParameter: 'Invalid rest parameter',\n\t        ObjectPatternAsSpread: 'Invalid spread argument',\n\t        StrictFunctionName:  'Function name may not be eval or arguments in strict mode',\n\t        StrictOctalLiteral:  'Octal literals are not allowed in strict mode.',\n\t        StrictDelete:  'Delete of an unqualified identifier in strict mode.',\n\t        StrictDuplicateProperty:  'Duplicate data property in object literal not allowed in strict mode',\n\t        AccessorDataProperty:  'Object literal may not have data and accessor property with the same name',\n\t        AccessorGetSet:  'Object literal may not have multiple get/set accessors with the same name',\n\t        StrictLHSAssignment:  'Assignment to eval or arguments is not allowed in strict mode',\n\t        StrictLHSPostfix:  'Postfix increment/decrement may not have eval or arguments operand in strict mode',\n\t        StrictLHSPrefix:  'Prefix increment/decrement may not have eval or arguments operand in strict mode',\n\t        StrictReservedWord:  'Use of future reserved word in strict mode',\n\t        NewlineAfterModule:  'Illegal newline after module',\n\t        NoFromAfterImport: 'Missing from after import',\n\t        InvalidModuleSpecifier: 'Invalid module specifier',\n\t        NestedModule: 'Module declaration can not be nested',\n\t        NoYieldInGenerator: 'Missing yield in generator',\n\t        NoUnintializedConst: 'Const must be initialized',\n\t        ComprehensionRequiresBlock: 'Comprehension must have at least one block',\n\t        ComprehensionError:  'Comprehension Error',\n\t        EachNotAllowed:  'Each is not supported'\n\t    };\n\n\t    // See also tools/generate-unicode-regex.py.\n\t    Regex = {\n\t        NonAsciiIdentifierStart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]'),\n\t        NonAsciiIdentifierPart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0300-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u0483-\\u0487\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0610-\\u061a\\u0620-\\u0669\\u066e-\\u06d3\\u06d5-\\u06dc\\u06df-\\u06e8\\u06ea-\\u06fc\\u06ff\\u0710-\\u074a\\u074d-\\u07b1\\u07c0-\\u07f5\\u07fa\\u0800-\\u082d\\u0840-\\u085b\\u08a0\\u08a2-\\u08ac\\u08e4-\\u08fe\\u0900-\\u0963\\u0966-\\u096f\\u0971-\\u0977\\u0979-\\u097f\\u0981-\\u0983\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bc-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09ce\\u09d7\\u09dc\\u09dd\\u09df-\\u09e3\\u09e6-\\u09f1\\u0a01-\\u0a03\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a59-\\u0a5c\\u0a5e\\u0a66-\\u0a75\\u0a81-\\u0a83\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abc-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ad0\\u0ae0-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3c-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5c\\u0b5d\\u0b5f-\\u0b63\\u0b66-\\u0b6f\\u0b71\\u0b82\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd0\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c58\\u0c59\\u0c60-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbc-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0cde\\u0ce0-\\u0ce3\\u0ce6-\\u0cef\\u0cf1\\u0cf2\\u0d02\\u0d03\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4e\\u0d57\\u0d60-\\u0d63\\u0d66-\\u0d6f\\u0d7a-\\u0d7f\\u0d82\\u0d83\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e01-\\u0e3a\\u0e40-\\u0e4e\\u0e50-\\u0e59\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb9\\u0ebb-\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0edc-\\u0edf\\u0f00\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e-\\u0f47\\u0f49-\\u0f6c\\u0f71-\\u0f84\\u0f86-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1049\\u1050-\\u109d\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u135d-\\u135f\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176c\\u176e-\\u1770\\u1772\\u1773\\u1780-\\u17d3\\u17d7\\u17dc\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a1b\\u1a20-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1aa7\\u1b00-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1bf3\\u1c00-\\u1c37\\u1c40-\\u1c49\\u1c4d-\\u1c7d\\u1cd0-\\u1cd2\\u1cd4-\\u1cf6\\u1d00-\\u1de6\\u1dfc-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u200c\\u200d\\u203f\\u2040\\u2054\\u2071\\u207f\\u2090-\\u209c\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d7f-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2de0-\\u2dff\\u2e2f\\u3005-\\u3007\\u3021-\\u302f\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u3099\\u309a\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua62b\\ua640-\\ua66f\\ua674-\\ua67d\\ua67f-\\ua697\\ua69f-\\ua6f1\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua827\\ua840-\\ua873\\ua880-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f7\\ua8fb\\ua900-\\ua92d\\ua930-\\ua953\\ua960-\\ua97c\\ua980-\\ua9c0\\ua9cf-\\ua9d9\\uaa00-\\uaa36\\uaa40-\\uaa4d\\uaa50-\\uaa59\\uaa60-\\uaa76\\uaa7a\\uaa7b\\uaa80-\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaef\\uaaf2-\\uaaf6\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff10-\\uff19\\uff21-\\uff3a\\uff3f\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]')\n\t    };\n\n\t    // Ensure the condition is true, otherwise throw an error.\n\t    // This is only to have a better contract semantic, i.e. another safety net\n\t    // to catch a logic error. The condition shall be fulfilled in normal case.\n\t    // Do NOT use this to enforce a certain condition on any user input.\n\n\t    function assert(condition, message) {\n\t        if (!condition) {\n\t            throw new Error('ASSERT: ' + message);\n\t        }\n\t    }\n\n\t    function isDecimalDigit(ch) {\n\t        return (ch >= 48 && ch <= 57);   // 0..9\n\t    }\n\n\t    function isHexDigit(ch) {\n\t        return '0123456789abcdefABCDEF'.indexOf(ch) >= 0;\n\t    }\n\n\t    function isOctalDigit(ch) {\n\t        return '01234567'.indexOf(ch) >= 0;\n\t    }\n\n\n\t    // 7.2 White Space\n\n\t    function isWhiteSpace(ch) {\n\t        return (ch === 32) ||  // space\n\t            (ch === 9) ||      // tab\n\t            (ch === 0xB) ||\n\t            (ch === 0xC) ||\n\t            (ch === 0xA0) ||\n\t            (ch >= 0x1680 && '\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\uFEFF'.indexOf(String.fromCharCode(ch)) > 0);\n\t    }\n\n\t    // 7.3 Line Terminators\n\n\t    function isLineTerminator(ch) {\n\t        return (ch === 10) || (ch === 13) || (ch === 0x2028) || (ch === 0x2029);\n\t    }\n\n\t    // 7.6 Identifier Names and Identifiers\n\n\t    function isIdentifierStart(ch) {\n\t        return (ch === 36) || (ch === 95) ||  // $ (dollar) and _ (underscore)\n\t            (ch >= 65 && ch <= 90) ||         // A..Z\n\t            (ch >= 97 && ch <= 122) ||        // a..z\n\t            (ch === 92) ||                    // \\ (backslash)\n\t            ((ch >= 0x80) && Regex.NonAsciiIdentifierStart.test(String.fromCharCode(ch)));\n\t    }\n\n\t    function isIdentifierPart(ch) {\n\t        return (ch === 36) || (ch === 95) ||  // $ (dollar) and _ (underscore)\n\t            (ch >= 65 && ch <= 90) ||         // A..Z\n\t            (ch >= 97 && ch <= 122) ||        // a..z\n\t            (ch >= 48 && ch <= 57) ||         // 0..9\n\t            (ch === 92) ||                    // \\ (backslash)\n\t            ((ch >= 0x80) && Regex.NonAsciiIdentifierPart.test(String.fromCharCode(ch)));\n\t    }\n\n\t    // 7.6.1.2 Future Reserved Words\n\n\t    function isFutureReservedWord(id) {\n\t        switch (id) {\n\t        case 'class':\n\t        case 'enum':\n\t        case 'export':\n\t        case 'extends':\n\t        case 'import':\n\t        case 'super':\n\t            return true;\n\t        default:\n\t            return false;\n\t        }\n\t    }\n\n\t    function isStrictModeReservedWord(id) {\n\t        switch (id) {\n\t        case 'implements':\n\t        case 'interface':\n\t        case 'package':\n\t        case 'private':\n\t        case 'protected':\n\t        case 'public':\n\t        case 'static':\n\t        case 'yield':\n\t        case 'let':\n\t            return true;\n\t        default:\n\t            return false;\n\t        }\n\t    }\n\n\t    function isRestrictedWord(id) {\n\t        return id === 'eval' || id === 'arguments';\n\t    }\n\n\t    // 7.6.1.1 Keywords\n\n\t    function isKeyword(id) {\n\t        if (strict && isStrictModeReservedWord(id)) {\n\t            return true;\n\t        }\n\n\t        // 'const' is specialized as Keyword in V8.\n\t        // 'yield' and 'let' are for compatiblity with SpiderMonkey and ES.next.\n\t        // Some others are from future reserved words.\n\n\t        switch (id.length) {\n\t        case 2:\n\t            return (id === 'if') || (id === 'in') || (id === 'do');\n\t        case 3:\n\t            return (id === 'var') || (id === 'for') || (id === 'new') ||\n\t                (id === 'try') || (id === 'let');\n\t        case 4:\n\t            return (id === 'this') || (id === 'else') || (id === 'case') ||\n\t                (id === 'void') || (id === 'with') || (id === 'enum');\n\t        case 5:\n\t            return (id === 'while') || (id === 'break') || (id === 'catch') ||\n\t                (id === 'throw') || (id === 'const') || (id === 'yield') ||\n\t                (id === 'class') || (id === 'super');\n\t        case 6:\n\t            return (id === 'return') || (id === 'typeof') || (id === 'delete') ||\n\t                (id === 'switch') || (id === 'export') || (id === 'import');\n\t        case 7:\n\t            return (id === 'default') || (id === 'finally') || (id === 'extends');\n\t        case 8:\n\t            return (id === 'function') || (id === 'continue') || (id === 'debugger');\n\t        case 10:\n\t            return (id === 'instanceof');\n\t        default:\n\t            return false;\n\t        }\n\t    }\n\n\t    // 7.4 Comments\n\n\t    function skipComment() {\n\t        var ch, blockComment, lineComment;\n\n\t        blockComment = false;\n\t        lineComment = false;\n\n\t        while (index < length) {\n\t            ch = source.charCodeAt(index);\n\n\t            if (lineComment) {\n\t                ++index;\n\t                if (isLineTerminator(ch)) {\n\t                    lineComment = false;\n\t                    if (ch === 13 && source.charCodeAt(index) === 10) {\n\t                        ++index;\n\t                    }\n\t                    ++lineNumber;\n\t                    lineStart = index;\n\t                }\n\t            } else if (blockComment) {\n\t                if (isLineTerminator(ch)) {\n\t                    if (ch === 13 && source.charCodeAt(index + 1) === 10) {\n\t                        ++index;\n\t                    }\n\t                    ++lineNumber;\n\t                    ++index;\n\t                    lineStart = index;\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                } else {\n\t                    ch = source.charCodeAt(index++);\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                    // Block comment ends with '*/' (char #42, char #47).\n\t                    if (ch === 42) {\n\t                        ch = source.charCodeAt(index);\n\t                        if (ch === 47) {\n\t                            ++index;\n\t                            blockComment = false;\n\t                        }\n\t                    }\n\t                }\n\t            } else if (ch === 47) {\n\t                ch = source.charCodeAt(index + 1);\n\t                // Line comment starts with '//' (char #47, char #47).\n\t                if (ch === 47) {\n\t                    index += 2;\n\t                    lineComment = true;\n\t                } else if (ch === 42) {\n\t                    // Block comment starts with '/*' (char #47, char #42).\n\t                    index += 2;\n\t                    blockComment = true;\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                } else {\n\t                    break;\n\t                }\n\t            } else if (isWhiteSpace(ch)) {\n\t                ++index;\n\t            } else if (isLineTerminator(ch)) {\n\t                ++index;\n\t                if (ch === 13 && source.charCodeAt(index) === 10) {\n\t                    ++index;\n\t                }\n\t                ++lineNumber;\n\t                lineStart = index;\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\t    }\n\n\t    function scanHexEscape(prefix) {\n\t        var i, len, ch, code = 0;\n\n\t        len = (prefix === 'u') ? 4 : 2;\n\t        for (i = 0; i < len; ++i) {\n\t            if (index < length && isHexDigit(source[index])) {\n\t                ch = source[index++];\n\t                code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n\t            } else {\n\t                return '';\n\t            }\n\t        }\n\t        return String.fromCharCode(code);\n\t    }\n\n\t    function scanUnicodeCodePointEscape() {\n\t        var ch, code, cu1, cu2;\n\n\t        ch = source[index];\n\t        code = 0;\n\n\t        // At least, one hex digit is required.\n\t        if (ch === '}') {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\t            if (!isHexDigit(ch)) {\n\t                break;\n\t            }\n\t            code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n\t        }\n\n\t        if (code > 0x10FFFF || ch !== '}') {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        // UTF-16 Encoding\n\t        if (code <= 0xFFFF) {\n\t            return String.fromCharCode(code);\n\t        }\n\t        cu1 = ((code - 0x10000) >> 10) + 0xD800;\n\t        cu2 = ((code - 0x10000) & 1023) + 0xDC00;\n\t        return String.fromCharCode(cu1, cu2);\n\t    }\n\n\t    function getEscapedIdentifier() {\n\t        var ch, id;\n\n\t        ch = source.charCodeAt(index++);\n\t        id = String.fromCharCode(ch);\n\n\t        // '\\u' (char #92, char #117) denotes an escaped character.\n\t        if (ch === 92) {\n\t            if (source.charCodeAt(index) !== 117) {\n\t                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t            }\n\t            ++index;\n\t            ch = scanHexEscape('u');\n\t            if (!ch || ch === '\\\\' || !isIdentifierStart(ch.charCodeAt(0))) {\n\t                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t            }\n\t            id = ch;\n\t        }\n\n\t        while (index < length) {\n\t            ch = source.charCodeAt(index);\n\t            if (!isIdentifierPart(ch)) {\n\t                break;\n\t            }\n\t            ++index;\n\t            id += String.fromCharCode(ch);\n\n\t            // '\\u' (char #92, char #117) denotes an escaped character.\n\t            if (ch === 92) {\n\t                id = id.substr(0, id.length - 1);\n\t                if (source.charCodeAt(index) !== 117) {\n\t                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                }\n\t                ++index;\n\t                ch = scanHexEscape('u');\n\t                if (!ch || ch === '\\\\' || !isIdentifierPart(ch.charCodeAt(0))) {\n\t                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                }\n\t                id += ch;\n\t            }\n\t        }\n\n\t        return id;\n\t    }\n\n\t    function getIdentifier() {\n\t        var start, ch;\n\n\t        start = index++;\n\t        while (index < length) {\n\t            ch = source.charCodeAt(index);\n\t            if (ch === 92) {\n\t                // Blackslash (char #92) marks Unicode escape sequence.\n\t                index = start;\n\t                return getEscapedIdentifier();\n\t            }\n\t            if (isIdentifierPart(ch)) {\n\t                ++index;\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\n\t        return source.slice(start, index);\n\t    }\n\n\t    function scanIdentifier() {\n\t        var start, id, type;\n\n\t        start = index;\n\n\t        // Backslash (char #92) starts an escaped character.\n\t        id = (source.charCodeAt(index) === 92) ? getEscapedIdentifier() : getIdentifier();\n\n\t        // There is no keyword or literal with only one character.\n\t        // Thus, it must be an identifier.\n\t        if (id.length === 1) {\n\t            type = Token.Identifier;\n\t        } else if (isKeyword(id)) {\n\t            type = Token.Keyword;\n\t        } else if (id === 'null') {\n\t            type = Token.NullLiteral;\n\t        } else if (id === 'true' || id === 'false') {\n\t            type = Token.BooleanLiteral;\n\t        } else {\n\t            type = Token.Identifier;\n\t        }\n\n\t        return {\n\t            type: type,\n\t            value: id,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\n\t    // 7.7 Punctuators\n\n\t    function scanPunctuator() {\n\t        var start = index,\n\t            code = source.charCodeAt(index),\n\t            code2,\n\t            ch1 = source[index],\n\t            ch2,\n\t            ch3,\n\t            ch4;\n\n\t        switch (code) {\n\t        // Check for most common single-character punctuators.\n\t        case 40:   // ( open bracket\n\t        case 41:   // ) close bracket\n\t        case 59:   // ; semicolon\n\t        case 44:   // , comma\n\t        case 123:  // { open curly brace\n\t        case 125:  // } close curly brace\n\t        case 91:   // [\n\t        case 93:   // ]\n\t        case 58:   // :\n\t        case 63:   // ?\n\t        case 126:  // ~\n\t            ++index;\n\t            if (extra.tokenize) {\n\t                if (code === 40) {\n\t                    extra.openParenToken = extra.tokens.length;\n\t                } else if (code === 123) {\n\t                    extra.openCurlyToken = extra.tokens.length;\n\t                }\n\t            }\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: String.fromCharCode(code),\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\n\t        default:\n\t            code2 = source.charCodeAt(index + 1);\n\n\t            // '=' (char #61) marks an assignment or comparison operator.\n\t            if (code2 === 61) {\n\t                switch (code) {\n\t                case 37:  // %\n\t                case 38:  // &\n\t                case 42:  // *:\n\t                case 43:  // +\n\t                case 45:  // -\n\t                case 47:  // /\n\t                case 60:  // <\n\t                case 62:  // >\n\t                case 94:  // ^\n\t                case 124: // |\n\t                    index += 2;\n\t                    return {\n\t                        type: Token.Punctuator,\n\t                        value: String.fromCharCode(code) + String.fromCharCode(code2),\n\t                        lineNumber: lineNumber,\n\t                        lineStart: lineStart,\n\t                        range: [start, index]\n\t                    };\n\n\t                case 33: // !\n\t                case 61: // =\n\t                    index += 2;\n\n\t                    // !== and ===\n\t                    if (source.charCodeAt(index) === 61) {\n\t                        ++index;\n\t                    }\n\t                    return {\n\t                        type: Token.Punctuator,\n\t                        value: source.slice(start, index),\n\t                        lineNumber: lineNumber,\n\t                        lineStart: lineStart,\n\t                        range: [start, index]\n\t                    };\n\t                default:\n\t                    break;\n\t                }\n\t            }\n\t            break;\n\t        }\n\n\t        // Peek more characters.\n\n\t        ch2 = source[index + 1];\n\t        ch3 = source[index + 2];\n\t        ch4 = source[index + 3];\n\n\t        // 4-character punctuator: >>>=\n\n\t        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n\t            if (ch4 === '=') {\n\t                index += 4;\n\t                return {\n\t                    type: Token.Punctuator,\n\t                    value: '>>>=',\n\t                    lineNumber: lineNumber,\n\t                    lineStart: lineStart,\n\t                    range: [start, index]\n\t                };\n\t            }\n\t        }\n\n\t        // 3-character punctuators: === !== >>> <<= >>=\n\n\t        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '>>>',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '<' && ch2 === '<' && ch3 === '=') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '<<=',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '>' && ch2 === '>' && ch3 === '=') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '>>=',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '.' && ch2 === '.' && ch3 === '.') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '...',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        // Other 2-character punctuators: ++ -- << >> && ||\n\n\t        if (ch1 === ch2 && ('+-<>&|'.indexOf(ch1) >= 0)) {\n\t            index += 2;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: ch1 + ch2,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '=' && ch2 === '>') {\n\t            index += 2;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '=>',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if ('<>=!+-*%&|^/'.indexOf(ch1) >= 0) {\n\t            ++index;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: ch1,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '.') {\n\t            ++index;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: ch1,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t    }\n\n\t    // 7.8.3 Numeric Literals\n\n\t    function scanHexLiteral(start) {\n\t        var number = '';\n\n\t        while (index < length) {\n\t            if (!isHexDigit(source[index])) {\n\t                break;\n\t            }\n\t            number += source[index++];\n\t        }\n\n\t        if (number.length === 0) {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        if (isIdentifierStart(source.charCodeAt(index))) {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        return {\n\t            type: Token.NumericLiteral,\n\t            value: parseInt('0x' + number, 16),\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    function scanOctalLiteral(prefix, start) {\n\t        var number, octal;\n\n\t        if (isOctalDigit(prefix)) {\n\t            octal = true;\n\t            number = '0' + source[index++];\n\t        } else {\n\t            octal = false;\n\t            ++index;\n\t            number = '';\n\t        }\n\n\t        while (index < length) {\n\t            if (!isOctalDigit(source[index])) {\n\t                break;\n\t            }\n\t            number += source[index++];\n\t        }\n\n\t        if (!octal && number.length === 0) {\n\t            // only 0o or 0O\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        if (isIdentifierStart(source.charCodeAt(index)) || isDecimalDigit(source.charCodeAt(index))) {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        return {\n\t            type: Token.NumericLiteral,\n\t            value: parseInt(number, 8),\n\t            octal: octal,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    function scanNumericLiteral() {\n\t        var number, start, ch, octal;\n\n\t        ch = source[index];\n\t        assert(isDecimalDigit(ch.charCodeAt(0)) || (ch === '.'),\n\t            'Numeric literal must start with a decimal digit or a decimal point');\n\n\t        start = index;\n\t        number = '';\n\t        if (ch !== '.') {\n\t            number = source[index++];\n\t            ch = source[index];\n\n\t            // Hex number starts with '0x'.\n\t            // Octal number starts with '0'.\n\t            // Octal number in ES6 starts with '0o'.\n\t            // Binary number in ES6 starts with '0b'.\n\t            if (number === '0') {\n\t                if (ch === 'x' || ch === 'X') {\n\t                    ++index;\n\t                    return scanHexLiteral(start);\n\t                }\n\t                if (ch === 'b' || ch === 'B') {\n\t                    ++index;\n\t                    number = '';\n\n\t                    while (index < length) {\n\t                        ch = source[index];\n\t                        if (ch !== '0' && ch !== '1') {\n\t                            break;\n\t                        }\n\t                        number += source[index++];\n\t                    }\n\n\t                    if (number.length === 0) {\n\t                        // only 0b or 0B\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\n\t                    if (index < length) {\n\t                        ch = source.charCodeAt(index);\n\t                        if (isIdentifierStart(ch) || isDecimalDigit(ch)) {\n\t                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                        }\n\t                    }\n\t                    return {\n\t                        type: Token.NumericLiteral,\n\t                        value: parseInt(number, 2),\n\t                        lineNumber: lineNumber,\n\t                        lineStart: lineStart,\n\t                        range: [start, index]\n\t                    };\n\t                }\n\t                if (ch === 'o' || ch === 'O' || isOctalDigit(ch)) {\n\t                    return scanOctalLiteral(ch, start);\n\t                }\n\t                // decimal number starts with '0' such as '09' is illegal.\n\t                if (ch && isDecimalDigit(ch.charCodeAt(0))) {\n\t                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                }\n\t            }\n\n\t            while (isDecimalDigit(source.charCodeAt(index))) {\n\t                number += source[index++];\n\t            }\n\t            ch = source[index];\n\t        }\n\n\t        if (ch === '.') {\n\t            number += source[index++];\n\t            while (isDecimalDigit(source.charCodeAt(index))) {\n\t                number += source[index++];\n\t            }\n\t            ch = source[index];\n\t        }\n\n\t        if (ch === 'e' || ch === 'E') {\n\t            number += source[index++];\n\n\t            ch = source[index];\n\t            if (ch === '+' || ch === '-') {\n\t                number += source[index++];\n\t            }\n\t            if (isDecimalDigit(source.charCodeAt(index))) {\n\t                while (isDecimalDigit(source.charCodeAt(index))) {\n\t                    number += source[index++];\n\t                }\n\t            } else {\n\t                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t            }\n\t        }\n\n\t        if (isIdentifierStart(source.charCodeAt(index))) {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        return {\n\t            type: Token.NumericLiteral,\n\t            value: parseFloat(number),\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    // 7.8.4 String Literals\n\n\t    function scanStringLiteral() {\n\t        var str = '', quote, start, ch, code, unescaped, restore, octal = false;\n\n\t        quote = source[index];\n\t        assert((quote === '\\'' || quote === '\"'),\n\t            'String literal must starts with a quote');\n\n\t        start = index;\n\t        ++index;\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\n\t            if (ch === quote) {\n\t                quote = '';\n\t                break;\n\t            } else if (ch === '\\\\') {\n\t                ch = source[index++];\n\t                if (!ch || !isLineTerminator(ch.charCodeAt(0))) {\n\t                    switch (ch) {\n\t                    case 'n':\n\t                        str += '\\n';\n\t                        break;\n\t                    case 'r':\n\t                        str += '\\r';\n\t                        break;\n\t                    case 't':\n\t                        str += '\\t';\n\t                        break;\n\t                    case 'u':\n\t                    case 'x':\n\t                        if (source[index] === '{') {\n\t                            ++index;\n\t                            str += scanUnicodeCodePointEscape();\n\t                        } else {\n\t                            restore = index;\n\t                            unescaped = scanHexEscape(ch);\n\t                            if (unescaped) {\n\t                                str += unescaped;\n\t                            } else {\n\t                                index = restore;\n\t                                str += ch;\n\t                            }\n\t                        }\n\t                        break;\n\t                    case 'b':\n\t                        str += '\\b';\n\t                        break;\n\t                    case 'f':\n\t                        str += '\\f';\n\t                        break;\n\t                    case 'v':\n\t                        str += '\\x0B';\n\t                        break;\n\n\t                    default:\n\t                        if (isOctalDigit(ch)) {\n\t                            code = '01234567'.indexOf(ch);\n\n\t                            // \\0 is not octal escape sequence\n\t                            if (code !== 0) {\n\t                                octal = true;\n\t                            }\n\n\t                            if (index < length && isOctalDigit(source[index])) {\n\t                                octal = true;\n\t                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n\t                                // 3 digits are only allowed when string starts\n\t                                // with 0, 1, 2, 3\n\t                                if ('0123'.indexOf(ch) >= 0 &&\n\t                                        index < length &&\n\t                                        isOctalDigit(source[index])) {\n\t                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n\t                                }\n\t                            }\n\t                            str += String.fromCharCode(code);\n\t                        } else {\n\t                            str += ch;\n\t                        }\n\t                        break;\n\t                    }\n\t                } else {\n\t                    ++lineNumber;\n\t                    if (ch ===  '\\r' && source[index] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                }\n\t            } else if (isLineTerminator(ch.charCodeAt(0))) {\n\t                break;\n\t            } else {\n\t                str += ch;\n\t            }\n\t        }\n\n\t        if (quote !== '') {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        return {\n\t            type: Token.StringLiteral,\n\t            value: str,\n\t            octal: octal,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    function scanTemplate() {\n\t        var cooked = '', ch, start, terminated, tail, restore, unescaped, code, octal;\n\n\t        terminated = false;\n\t        tail = false;\n\t        start = index;\n\n\t        ++index;\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\t            if (ch === '`') {\n\t                tail = true;\n\t                terminated = true;\n\t                break;\n\t            } else if (ch === '$') {\n\t                if (source[index] === '{') {\n\t                    ++index;\n\t                    terminated = true;\n\t                    break;\n\t                }\n\t                cooked += ch;\n\t            } else if (ch === '\\\\') {\n\t                ch = source[index++];\n\t                if (!isLineTerminator(ch.charCodeAt(0))) {\n\t                    switch (ch) {\n\t                    case 'n':\n\t                        cooked += '\\n';\n\t                        break;\n\t                    case 'r':\n\t                        cooked += '\\r';\n\t                        break;\n\t                    case 't':\n\t                        cooked += '\\t';\n\t                        break;\n\t                    case 'u':\n\t                    case 'x':\n\t                        if (source[index] === '{') {\n\t                            ++index;\n\t                            cooked += scanUnicodeCodePointEscape();\n\t                        } else {\n\t                            restore = index;\n\t                            unescaped = scanHexEscape(ch);\n\t                            if (unescaped) {\n\t                                cooked += unescaped;\n\t                            } else {\n\t                                index = restore;\n\t                                cooked += ch;\n\t                            }\n\t                        }\n\t                        break;\n\t                    case 'b':\n\t                        cooked += '\\b';\n\t                        break;\n\t                    case 'f':\n\t                        cooked += '\\f';\n\t                        break;\n\t                    case 'v':\n\t                        cooked += '\\v';\n\t                        break;\n\n\t                    default:\n\t                        if (isOctalDigit(ch)) {\n\t                            code = '01234567'.indexOf(ch);\n\n\t                            // \\0 is not octal escape sequence\n\t                            if (code !== 0) {\n\t                                octal = true;\n\t                            }\n\n\t                            if (index < length && isOctalDigit(source[index])) {\n\t                                octal = true;\n\t                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n\t                                // 3 digits are only allowed when string starts\n\t                                // with 0, 1, 2, 3\n\t                                if ('0123'.indexOf(ch) >= 0 &&\n\t                                        index < length &&\n\t                                        isOctalDigit(source[index])) {\n\t                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n\t                                }\n\t                            }\n\t                            cooked += String.fromCharCode(code);\n\t                        } else {\n\t                            cooked += ch;\n\t                        }\n\t                        break;\n\t                    }\n\t                } else {\n\t                    ++lineNumber;\n\t                    if (ch ===  '\\r' && source[index] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                }\n\t            } else if (isLineTerminator(ch.charCodeAt(0))) {\n\t                ++lineNumber;\n\t                if (ch ===  '\\r' && source[index] === '\\n') {\n\t                    ++index;\n\t                }\n\t                cooked += '\\n';\n\t            } else {\n\t                cooked += ch;\n\t            }\n\t        }\n\n\t        if (!terminated) {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        return {\n\t            type: Token.Template,\n\t            value: {\n\t                cooked: cooked,\n\t                raw: source.slice(start + 1, index - ((tail) ? 1 : 2))\n\t            },\n\t            tail: tail,\n\t            octal: octal,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    function scanTemplateElement(option) {\n\t        var startsWith, template;\n\n\t        lookahead = null;\n\t        skipComment();\n\n\t        startsWith = (option.head) ? '`' : '}';\n\n\t        if (source[index] !== startsWith) {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        template = scanTemplate();\n\n\t        peek();\n\n\t        return template;\n\t    }\n\n\t    function scanRegExp() {\n\t        var str, ch, start, pattern, flags, value, classMarker = false, restore, terminated = false;\n\n\t        lookahead = null;\n\t        skipComment();\n\n\t        start = index;\n\t        ch = source[index];\n\t        assert(ch === '/', 'Regular expression literal must start with a slash');\n\t        str = source[index++];\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\t            str += ch;\n\t            if (classMarker) {\n\t                if (ch === ']') {\n\t                    classMarker = false;\n\t                }\n\t            } else {\n\t                if (ch === '\\\\') {\n\t                    ch = source[index++];\n\t                    // ECMA-262 7.8.5\n\t                    if (isLineTerminator(ch.charCodeAt(0))) {\n\t                        throwError({}, Messages.UnterminatedRegExp);\n\t                    }\n\t                    str += ch;\n\t                } else if (ch === '/') {\n\t                    terminated = true;\n\t                    break;\n\t                } else if (ch === '[') {\n\t                    classMarker = true;\n\t                } else if (isLineTerminator(ch.charCodeAt(0))) {\n\t                    throwError({}, Messages.UnterminatedRegExp);\n\t                }\n\t            }\n\t        }\n\n\t        if (!terminated) {\n\t            throwError({}, Messages.UnterminatedRegExp);\n\t        }\n\n\t        // Exclude leading and trailing slash.\n\t        pattern = str.substr(1, str.length - 2);\n\n\t        flags = '';\n\t        while (index < length) {\n\t            ch = source[index];\n\t            if (!isIdentifierPart(ch.charCodeAt(0))) {\n\t                break;\n\t            }\n\n\t            ++index;\n\t            if (ch === '\\\\' && index < length) {\n\t                ch = source[index];\n\t                if (ch === 'u') {\n\t                    ++index;\n\t                    restore = index;\n\t                    ch = scanHexEscape('u');\n\t                    if (ch) {\n\t                        flags += ch;\n\t                        for (str += '\\\\u'; restore < index; ++restore) {\n\t                            str += source[restore];\n\t                        }\n\t                    } else {\n\t                        index = restore;\n\t                        flags += 'u';\n\t                        str += '\\\\u';\n\t                    }\n\t                } else {\n\t                    str += '\\\\';\n\t                }\n\t            } else {\n\t                flags += ch;\n\t                str += ch;\n\t            }\n\t        }\n\n\t        try {\n\t            value = new RegExp(pattern, flags);\n\t        } catch (e) {\n\t            throwError({}, Messages.InvalidRegExp);\n\t        }\n\n\t        peek();\n\n\n\t        if (extra.tokenize) {\n\t            return {\n\t                type: Token.RegularExpression,\n\t                value: value,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\t        return {\n\t            literal: str,\n\t            value: value,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    function isIdentifierName(token) {\n\t        return token.type === Token.Identifier ||\n\t            token.type === Token.Keyword ||\n\t            token.type === Token.BooleanLiteral ||\n\t            token.type === Token.NullLiteral;\n\t    }\n\n\t    function advanceSlash() {\n\t        var prevToken,\n\t            checkToken;\n\t        // Using the following algorithm:\n\t        // https://github.com/mozilla/sweet.js/wiki/design\n\t        prevToken = extra.tokens[extra.tokens.length - 1];\n\t        if (!prevToken) {\n\t            // Nothing before that: it cannot be a division.\n\t            return scanRegExp();\n\t        }\n\t        if (prevToken.type === 'Punctuator') {\n\t            if (prevToken.value === ')') {\n\t                checkToken = extra.tokens[extra.openParenToken - 1];\n\t                if (checkToken &&\n\t                        checkToken.type === 'Keyword' &&\n\t                        (checkToken.value === 'if' ||\n\t                         checkToken.value === 'while' ||\n\t                         checkToken.value === 'for' ||\n\t                         checkToken.value === 'with')) {\n\t                    return scanRegExp();\n\t                }\n\t                return scanPunctuator();\n\t            }\n\t            if (prevToken.value === '}') {\n\t                // Dividing a function by anything makes little sense,\n\t                // but we have to check for that.\n\t                if (extra.tokens[extra.openCurlyToken - 3] &&\n\t                        extra.tokens[extra.openCurlyToken - 3].type === 'Keyword') {\n\t                    // Anonymous function.\n\t                    checkToken = extra.tokens[extra.openCurlyToken - 4];\n\t                    if (!checkToken) {\n\t                        return scanPunctuator();\n\t                    }\n\t                } else if (extra.tokens[extra.openCurlyToken - 4] &&\n\t                        extra.tokens[extra.openCurlyToken - 4].type === 'Keyword') {\n\t                    // Named function.\n\t                    checkToken = extra.tokens[extra.openCurlyToken - 5];\n\t                    if (!checkToken) {\n\t                        return scanRegExp();\n\t                    }\n\t                } else {\n\t                    return scanPunctuator();\n\t                }\n\t                // checkToken determines whether the function is\n\t                // a declaration or an expression.\n\t                if (FnExprTokens.indexOf(checkToken.value) >= 0) {\n\t                    // It is an expression.\n\t                    return scanPunctuator();\n\t                }\n\t                // It is a declaration.\n\t                return scanRegExp();\n\t            }\n\t            return scanRegExp();\n\t        }\n\t        if (prevToken.type === 'Keyword') {\n\t            return scanRegExp();\n\t        }\n\t        return scanPunctuator();\n\t    }\n\n\t    function advance() {\n\t        var ch;\n\n\t        skipComment();\n\n\t        if (index >= length) {\n\t            return {\n\t                type: Token.EOF,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [index, index]\n\t            };\n\t        }\n\n\t        ch = source.charCodeAt(index);\n\n\t        // Very common: ( and ) and ;\n\t        if (ch === 40 || ch === 41 || ch === 58) {\n\t            return scanPunctuator();\n\t        }\n\n\t        // String literal starts with single quote (#39) or double quote (#34).\n\t        if (ch === 39 || ch === 34) {\n\t            return scanStringLiteral();\n\t        }\n\n\t        if (ch === 96) {\n\t            return scanTemplate();\n\t        }\n\t        if (isIdentifierStart(ch)) {\n\t            return scanIdentifier();\n\t        }\n\n\t        // Dot (.) char #46 can also start a floating-point number, hence the need\n\t        // to check the next character.\n\t        if (ch === 46) {\n\t            if (isDecimalDigit(source.charCodeAt(index + 1))) {\n\t                return scanNumericLiteral();\n\t            }\n\t            return scanPunctuator();\n\t        }\n\n\t        if (isDecimalDigit(ch)) {\n\t            return scanNumericLiteral();\n\t        }\n\n\t        // Slash (/) char #47 can also start a regex.\n\t        if (extra.tokenize && ch === 47) {\n\t            return advanceSlash();\n\t        }\n\n\t        return scanPunctuator();\n\t    }\n\n\t    function lex() {\n\t        var token;\n\n\t        token = lookahead;\n\t        index = token.range[1];\n\t        lineNumber = token.lineNumber;\n\t        lineStart = token.lineStart;\n\n\t        lookahead = advance();\n\n\t        index = token.range[1];\n\t        lineNumber = token.lineNumber;\n\t        lineStart = token.lineStart;\n\n\t        return token;\n\t    }\n\n\t    function peek() {\n\t        var pos, line, start;\n\n\t        pos = index;\n\t        line = lineNumber;\n\t        start = lineStart;\n\t        lookahead = advance();\n\t        index = pos;\n\t        lineNumber = line;\n\t        lineStart = start;\n\t    }\n\n\t    function lookahead2() {\n\t        var adv, pos, line, start, result;\n\n\t        // If we are collecting the tokens, don't grab the next one yet.\n\t        adv = (typeof extra.advance === 'function') ? extra.advance : advance;\n\n\t        pos = index;\n\t        line = lineNumber;\n\t        start = lineStart;\n\n\t        // Scan for the next immediate token.\n\t        if (lookahead === null) {\n\t            lookahead = adv();\n\t        }\n\t        index = lookahead.range[1];\n\t        lineNumber = lookahead.lineNumber;\n\t        lineStart = lookahead.lineStart;\n\n\t        // Grab the token right after.\n\t        result = adv();\n\t        index = pos;\n\t        lineNumber = line;\n\t        lineStart = start;\n\n\t        return result;\n\t    }\n\n\t    SyntaxTreeDelegate = {\n\n\t        name: 'SyntaxTree',\n\n\t        postProcess: function (node) {\n\t            return node;\n\t        },\n\n\t        createArrayExpression: function (elements) {\n\t            return {\n\t                type: Syntax.ArrayExpression,\n\t                elements: elements\n\t            };\n\t        },\n\n\t        createAssignmentExpression: function (operator, left, right) {\n\t            return {\n\t                type: Syntax.AssignmentExpression,\n\t                operator: operator,\n\t                left: left,\n\t                right: right\n\t            };\n\t        },\n\n\t        createBinaryExpression: function (operator, left, right) {\n\t            var type = (operator === '||' || operator === '&&') ? Syntax.LogicalExpression :\n\t                        Syntax.BinaryExpression;\n\t            return {\n\t                type: type,\n\t                operator: operator,\n\t                left: left,\n\t                right: right\n\t            };\n\t        },\n\n\t        createBlockStatement: function (body) {\n\t            return {\n\t                type: Syntax.BlockStatement,\n\t                body: body\n\t            };\n\t        },\n\n\t        createBreakStatement: function (label) {\n\t            return {\n\t                type: Syntax.BreakStatement,\n\t                label: label\n\t            };\n\t        },\n\n\t        createCallExpression: function (callee, args) {\n\t            return {\n\t                type: Syntax.CallExpression,\n\t                callee: callee,\n\t                'arguments': args\n\t            };\n\t        },\n\n\t        createCatchClause: function (param, body) {\n\t            return {\n\t                type: Syntax.CatchClause,\n\t                param: param,\n\t                body: body\n\t            };\n\t        },\n\n\t        createConditionalExpression: function (test, consequent, alternate) {\n\t            return {\n\t                type: Syntax.ConditionalExpression,\n\t                test: test,\n\t                consequent: consequent,\n\t                alternate: alternate\n\t            };\n\t        },\n\n\t        createContinueStatement: function (label) {\n\t            return {\n\t                type: Syntax.ContinueStatement,\n\t                label: label\n\t            };\n\t        },\n\n\t        createDebuggerStatement: function () {\n\t            return {\n\t                type: Syntax.DebuggerStatement\n\t            };\n\t        },\n\n\t        createDoWhileStatement: function (body, test) {\n\t            return {\n\t                type: Syntax.DoWhileStatement,\n\t                body: body,\n\t                test: test\n\t            };\n\t        },\n\n\t        createEmptyStatement: function () {\n\t            return {\n\t                type: Syntax.EmptyStatement\n\t            };\n\t        },\n\n\t        createExpressionStatement: function (expression) {\n\t            return {\n\t                type: Syntax.ExpressionStatement,\n\t                expression: expression\n\t            };\n\t        },\n\n\t        createForStatement: function (init, test, update, body) {\n\t            return {\n\t                type: Syntax.ForStatement,\n\t                init: init,\n\t                test: test,\n\t                update: update,\n\t                body: body\n\t            };\n\t        },\n\n\t        createForInStatement: function (left, right, body) {\n\t            return {\n\t                type: Syntax.ForInStatement,\n\t                left: left,\n\t                right: right,\n\t                body: body,\n\t                each: false\n\t            };\n\t        },\n\n\t        createForOfStatement: function (left, right, body) {\n\t            return {\n\t                type: Syntax.ForOfStatement,\n\t                left: left,\n\t                right: right,\n\t                body: body\n\t            };\n\t        },\n\n\t        createFunctionDeclaration: function (id, params, defaults, body, rest, generator, expression) {\n\t            return {\n\t                type: Syntax.FunctionDeclaration,\n\t                id: id,\n\t                params: params,\n\t                defaults: defaults,\n\t                body: body,\n\t                rest: rest,\n\t                generator: generator,\n\t                expression: expression\n\t            };\n\t        },\n\n\t        createFunctionExpression: function (id, params, defaults, body, rest, generator, expression) {\n\t            return {\n\t                type: Syntax.FunctionExpression,\n\t                id: id,\n\t                params: params,\n\t                defaults: defaults,\n\t                body: body,\n\t                rest: rest,\n\t                generator: generator,\n\t                expression: expression\n\t            };\n\t        },\n\n\t        createIdentifier: function (name) {\n\t            return {\n\t                type: Syntax.Identifier,\n\t                name: name\n\t            };\n\t        },\n\n\t        createIfStatement: function (test, consequent, alternate) {\n\t            return {\n\t                type: Syntax.IfStatement,\n\t                test: test,\n\t                consequent: consequent,\n\t                alternate: alternate\n\t            };\n\t        },\n\n\t        createLabeledStatement: function (label, body) {\n\t            return {\n\t                type: Syntax.LabeledStatement,\n\t                label: label,\n\t                body: body\n\t            };\n\t        },\n\n\t        createLiteral: function (token) {\n\t            return {\n\t                type: Syntax.Literal,\n\t                value: token.value,\n\t                raw: source.slice(token.range[0], token.range[1])\n\t            };\n\t        },\n\n\t        createMemberExpression: function (accessor, object, property) {\n\t            return {\n\t                type: Syntax.MemberExpression,\n\t                computed: accessor === '[',\n\t                object: object,\n\t                property: property\n\t            };\n\t        },\n\n\t        createNewExpression: function (callee, args) {\n\t            return {\n\t                type: Syntax.NewExpression,\n\t                callee: callee,\n\t                'arguments': args\n\t            };\n\t        },\n\n\t        createObjectExpression: function (properties) {\n\t            return {\n\t                type: Syntax.ObjectExpression,\n\t                properties: properties\n\t            };\n\t        },\n\n\t        createPostfixExpression: function (operator, argument) {\n\t            return {\n\t                type: Syntax.UpdateExpression,\n\t                operator: operator,\n\t                argument: argument,\n\t                prefix: false\n\t            };\n\t        },\n\n\t        createProgram: function (body) {\n\t            return {\n\t                type: Syntax.Program,\n\t                body: body\n\t            };\n\t        },\n\n\t        createProperty: function (kind, key, value, method, shorthand) {\n\t            return {\n\t                type: Syntax.Property,\n\t                key: key,\n\t                value: value,\n\t                kind: kind,\n\t                method: method,\n\t                shorthand: shorthand\n\t            };\n\t        },\n\n\t        createReturnStatement: function (argument) {\n\t            return {\n\t                type: Syntax.ReturnStatement,\n\t                argument: argument\n\t            };\n\t        },\n\n\t        createSequenceExpression: function (expressions) {\n\t            return {\n\t                type: Syntax.SequenceExpression,\n\t                expressions: expressions\n\t            };\n\t        },\n\n\t        createSwitchCase: function (test, consequent) {\n\t            return {\n\t                type: Syntax.SwitchCase,\n\t                test: test,\n\t                consequent: consequent\n\t            };\n\t        },\n\n\t        createSwitchStatement: function (discriminant, cases) {\n\t            return {\n\t                type: Syntax.SwitchStatement,\n\t                discriminant: discriminant,\n\t                cases: cases\n\t            };\n\t        },\n\n\t        createThisExpression: function () {\n\t            return {\n\t                type: Syntax.ThisExpression\n\t            };\n\t        },\n\n\t        createThrowStatement: function (argument) {\n\t            return {\n\t                type: Syntax.ThrowStatement,\n\t                argument: argument\n\t            };\n\t        },\n\n\t        createTryStatement: function (block, guardedHandlers, handlers, finalizer) {\n\t            return {\n\t                type: Syntax.TryStatement,\n\t                block: block,\n\t                guardedHandlers: guardedHandlers,\n\t                handlers: handlers,\n\t                finalizer: finalizer\n\t            };\n\t        },\n\n\t        createUnaryExpression: function (operator, argument) {\n\t            if (operator === '++' || operator === '--') {\n\t                return {\n\t                    type: Syntax.UpdateExpression,\n\t                    operator: operator,\n\t                    argument: argument,\n\t                    prefix: true\n\t                };\n\t            }\n\t            return {\n\t                type: Syntax.UnaryExpression,\n\t                operator: operator,\n\t                argument: argument\n\t            };\n\t        },\n\n\t        createVariableDeclaration: function (declarations, kind) {\n\t            return {\n\t                type: Syntax.VariableDeclaration,\n\t                declarations: declarations,\n\t                kind: kind\n\t            };\n\t        },\n\n\t        createVariableDeclarator: function (id, init) {\n\t            return {\n\t                type: Syntax.VariableDeclarator,\n\t                id: id,\n\t                init: init\n\t            };\n\t        },\n\n\t        createWhileStatement: function (test, body) {\n\t            return {\n\t                type: Syntax.WhileStatement,\n\t                test: test,\n\t                body: body\n\t            };\n\t        },\n\n\t        createWithStatement: function (object, body) {\n\t            return {\n\t                type: Syntax.WithStatement,\n\t                object: object,\n\t                body: body\n\t            };\n\t        },\n\n\t        createTemplateElement: function (value, tail) {\n\t            return {\n\t                type: Syntax.TemplateElement,\n\t                value: value,\n\t                tail: tail\n\t            };\n\t        },\n\n\t        createTemplateLiteral: function (quasis, expressions) {\n\t            return {\n\t                type: Syntax.TemplateLiteral,\n\t                quasis: quasis,\n\t                expressions: expressions\n\t            };\n\t        },\n\n\t        createSpreadElement: function (argument) {\n\t            return {\n\t                type: Syntax.SpreadElement,\n\t                argument: argument\n\t            };\n\t        },\n\n\t        createTaggedTemplateExpression: function (tag, quasi) {\n\t            return {\n\t                type: Syntax.TaggedTemplateExpression,\n\t                tag: tag,\n\t                quasi: quasi\n\t            };\n\t        },\n\n\t        createArrowFunctionExpression: function (params, defaults, body, rest, expression) {\n\t            return {\n\t                type: Syntax.ArrowFunctionExpression,\n\t                id: null,\n\t                params: params,\n\t                defaults: defaults,\n\t                body: body,\n\t                rest: rest,\n\t                generator: false,\n\t                expression: expression\n\t            };\n\t        },\n\n\t        createMethodDefinition: function (propertyType, kind, key, value) {\n\t            return {\n\t                type: Syntax.MethodDefinition,\n\t                key: key,\n\t                value: value,\n\t                kind: kind,\n\t                'static': propertyType === ClassPropertyType.static\n\t            };\n\t        },\n\n\t        createClassBody: function (body) {\n\t            return {\n\t                type: Syntax.ClassBody,\n\t                body: body\n\t            };\n\t        },\n\n\t        createClassExpression: function (id, superClass, body) {\n\t            return {\n\t                type: Syntax.ClassExpression,\n\t                id: id,\n\t                superClass: superClass,\n\t                body: body\n\t            };\n\t        },\n\n\t        createClassDeclaration: function (id, superClass, body) {\n\t            return {\n\t                type: Syntax.ClassDeclaration,\n\t                id: id,\n\t                superClass: superClass,\n\t                body: body\n\t            };\n\t        },\n\n\t        createExportSpecifier: function (id, name) {\n\t            return {\n\t                type: Syntax.ExportSpecifier,\n\t                id: id,\n\t                name: name\n\t            };\n\t        },\n\n\t        createExportBatchSpecifier: function () {\n\t            return {\n\t                type: Syntax.ExportBatchSpecifier\n\t            };\n\t        },\n\n\t        createExportDeclaration: function (declaration, specifiers, source) {\n\t            return {\n\t                type: Syntax.ExportDeclaration,\n\t                declaration: declaration,\n\t                specifiers: specifiers,\n\t                source: source\n\t            };\n\t        },\n\n\t        createImportSpecifier: function (id, name) {\n\t            return {\n\t                type: Syntax.ImportSpecifier,\n\t                id: id,\n\t                name: name\n\t            };\n\t        },\n\n\t        createImportDeclaration: function (specifiers, kind, source) {\n\t            return {\n\t                type: Syntax.ImportDeclaration,\n\t                specifiers: specifiers,\n\t                kind: kind,\n\t                source: source\n\t            };\n\t        },\n\n\t        createYieldExpression: function (argument, delegate) {\n\t            return {\n\t                type: Syntax.YieldExpression,\n\t                argument: argument,\n\t                delegate: delegate\n\t            };\n\t        },\n\n\t        createModuleDeclaration: function (id, source, body) {\n\t            return {\n\t                type: Syntax.ModuleDeclaration,\n\t                id: id,\n\t                source: source,\n\t                body: body\n\t            };\n\t        }\n\n\n\t    };\n\n\t    // Return true if there is a line terminator before the next token.\n\n\t    function peekLineTerminator() {\n\t        var pos, line, start, found;\n\n\t        pos = index;\n\t        line = lineNumber;\n\t        start = lineStart;\n\t        skipComment();\n\t        found = lineNumber !== line;\n\t        index = pos;\n\t        lineNumber = line;\n\t        lineStart = start;\n\n\t        return found;\n\t    }\n\n\t    // Throw an exception\n\n\t    function throwError(token, messageFormat) {\n\t        var error,\n\t            args = Array.prototype.slice.call(arguments, 2),\n\t            msg = messageFormat.replace(\n\t                /%(\\d)/g,\n\t                function (whole, index) {\n\t                    assert(index < args.length, 'Message reference must be in range');\n\t                    return args[index];\n\t                }\n\t            );\n\n\t        if (typeof token.lineNumber === 'number') {\n\t            error = new Error('Line ' + token.lineNumber + ': ' + msg);\n\t            error.index = token.range[0];\n\t            error.lineNumber = token.lineNumber;\n\t            error.column = token.range[0] - lineStart + 1;\n\t        } else {\n\t            error = new Error('Line ' + lineNumber + ': ' + msg);\n\t            error.index = index;\n\t            error.lineNumber = lineNumber;\n\t            error.column = index - lineStart + 1;\n\t        }\n\n\t        error.description = msg;\n\t        throw error;\n\t    }\n\n\t    function throwErrorTolerant() {\n\t        try {\n\t            throwError.apply(null, arguments);\n\t        } catch (e) {\n\t            if (extra.errors) {\n\t                extra.errors.push(e);\n\t            } else {\n\t                throw e;\n\t            }\n\t        }\n\t    }\n\n\n\t    // Throw an exception because of the token.\n\n\t    function throwUnexpected(token) {\n\t        if (token.type === Token.EOF) {\n\t            throwError(token, Messages.UnexpectedEOS);\n\t        }\n\n\t        if (token.type === Token.NumericLiteral) {\n\t            throwError(token, Messages.UnexpectedNumber);\n\t        }\n\n\t        if (token.type === Token.StringLiteral) {\n\t            throwError(token, Messages.UnexpectedString);\n\t        }\n\n\t        if (token.type === Token.Identifier) {\n\t            throwError(token, Messages.UnexpectedIdentifier);\n\t        }\n\n\t        if (token.type === Token.Keyword) {\n\t            if (isFutureReservedWord(token.value)) {\n\t                throwError(token, Messages.UnexpectedReserved);\n\t            } else if (strict && isStrictModeReservedWord(token.value)) {\n\t                throwErrorTolerant(token, Messages.StrictReservedWord);\n\t                return;\n\t            }\n\t            throwError(token, Messages.UnexpectedToken, token.value);\n\t        }\n\n\t        if (token.type === Token.Template) {\n\t            throwError(token, Messages.UnexpectedTemplate, token.value.raw);\n\t        }\n\n\t        // BooleanLiteral, NullLiteral, or Punctuator.\n\t        throwError(token, Messages.UnexpectedToken, token.value);\n\t    }\n\n\t    // Expect the next token to match the specified punctuator.\n\t    // If not, an exception will be thrown.\n\n\t    function expect(value) {\n\t        var token = lex();\n\t        if (token.type !== Token.Punctuator || token.value !== value) {\n\t            throwUnexpected(token);\n\t        }\n\t    }\n\n\t    // Expect the next token to match the specified keyword.\n\t    // If not, an exception will be thrown.\n\n\t    function expectKeyword(keyword) {\n\t        var token = lex();\n\t        if (token.type !== Token.Keyword || token.value !== keyword) {\n\t            throwUnexpected(token);\n\t        }\n\t    }\n\n\t    // Return true if the next token matches the specified punctuator.\n\n\t    function match(value) {\n\t        return lookahead.type === Token.Punctuator && lookahead.value === value;\n\t    }\n\n\t    // Return true if the next token matches the specified keyword\n\n\t    function matchKeyword(keyword) {\n\t        return lookahead.type === Token.Keyword && lookahead.value === keyword;\n\t    }\n\n\n\t    // Return true if the next token matches the specified contextual keyword\n\n\t    function matchContextualKeyword(keyword) {\n\t        return lookahead.type === Token.Identifier && lookahead.value === keyword;\n\t    }\n\n\t    // Return true if the next token is an assignment operator\n\n\t    function matchAssign() {\n\t        var op;\n\n\t        if (lookahead.type !== Token.Punctuator) {\n\t            return false;\n\t        }\n\t        op = lookahead.value;\n\t        return op === '=' ||\n\t            op === '*=' ||\n\t            op === '/=' ||\n\t            op === '%=' ||\n\t            op === '+=' ||\n\t            op === '-=' ||\n\t            op === '<<=' ||\n\t            op === '>>=' ||\n\t            op === '>>>=' ||\n\t            op === '&=' ||\n\t            op === '^=' ||\n\t            op === '|=';\n\t    }\n\n\t    function consumeSemicolon() {\n\t        var line;\n\n\t        // Catch the very common case first: immediately a semicolon (char #59).\n\t        if (source.charCodeAt(index) === 59) {\n\t            lex();\n\t            return;\n\t        }\n\n\t        line = lineNumber;\n\t        skipComment();\n\t        if (lineNumber !== line) {\n\t            return;\n\t        }\n\n\t        if (match(';')) {\n\t            lex();\n\t            return;\n\t        }\n\n\t        if (lookahead.type !== Token.EOF && !match('}')) {\n\t            throwUnexpected(lookahead);\n\t        }\n\t    }\n\n\t    // Return true if provided expression is LeftHandSideExpression\n\n\t    function isLeftHandSide(expr) {\n\t        return expr.type === Syntax.Identifier || expr.type === Syntax.MemberExpression;\n\t    }\n\n\t    function isAssignableLeftHandSide(expr) {\n\t        return isLeftHandSide(expr) || expr.type === Syntax.ObjectPattern || expr.type === Syntax.ArrayPattern;\n\t    }\n\n\t    // 11.1.4 Array Initialiser\n\n\t    function parseArrayInitialiser() {\n\t        var elements = [], blocks = [], filter = null, tmp, possiblecomprehension = true, body;\n\n\t        expect('[');\n\t        while (!match(']')) {\n\t            if (lookahead.value === 'for' &&\n\t                    lookahead.type === Token.Keyword) {\n\t                if (!possiblecomprehension) {\n\t                    throwError({}, Messages.ComprehensionError);\n\t                }\n\t                matchKeyword('for');\n\t                tmp = parseForStatement({ignoreBody: true});\n\t                tmp.of = tmp.type === Syntax.ForOfStatement;\n\t                tmp.type = Syntax.ComprehensionBlock;\n\t                if (tmp.left.kind) { // can't be let or const\n\t                    throwError({}, Messages.ComprehensionError);\n\t                }\n\t                blocks.push(tmp);\n\t            } else if (lookahead.value === 'if' &&\n\t                           lookahead.type === Token.Keyword) {\n\t                if (!possiblecomprehension) {\n\t                    throwError({}, Messages.ComprehensionError);\n\t                }\n\t                expectKeyword('if');\n\t                expect('(');\n\t                filter = parseExpression();\n\t                expect(')');\n\t            } else if (lookahead.value === ',' &&\n\t                           lookahead.type === Token.Punctuator) {\n\t                possiblecomprehension = false; // no longer allowed.\n\t                lex();\n\t                elements.push(null);\n\t            } else {\n\t                tmp = parseSpreadOrAssignmentExpression();\n\t                elements.push(tmp);\n\t                if (tmp && tmp.type === Syntax.SpreadElement) {\n\t                    if (!match(']')) {\n\t                        throwError({}, Messages.ElementAfterSpreadElement);\n\t                    }\n\t                } else if (!(match(']') || matchKeyword('for') || matchKeyword('if'))) {\n\t                    expect(','); // this lexes.\n\t                    possiblecomprehension = false;\n\t                }\n\t            }\n\t        }\n\n\t        expect(']');\n\n\t        if (filter && !blocks.length) {\n\t            throwError({}, Messages.ComprehensionRequiresBlock);\n\t        }\n\n\t        if (blocks.length) {\n\t            if (elements.length !== 1) {\n\t                throwError({}, Messages.ComprehensionError);\n\t            }\n\t            return {\n\t                type:  Syntax.ComprehensionExpression,\n\t                filter: filter,\n\t                blocks: blocks,\n\t                body: elements[0]\n\t            };\n\t        }\n\t        return delegate.createArrayExpression(elements);\n\t    }\n\n\t    // 11.1.5 Object Initialiser\n\n\t    function parsePropertyFunction(options) {\n\t        var previousStrict, previousYieldAllowed, params, defaults, body;\n\n\t        previousStrict = strict;\n\t        previousYieldAllowed = state.yieldAllowed;\n\t        state.yieldAllowed = options.generator;\n\t        params = options.params || [];\n\t        defaults = options.defaults || [];\n\n\t        body = parseConciseBody();\n\t        if (options.name && strict && isRestrictedWord(params[0].name)) {\n\t            throwErrorTolerant(options.name, Messages.StrictParamName);\n\t        }\n\t        if (state.yieldAllowed && !state.yieldFound) {\n\t            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n\t        }\n\t        strict = previousStrict;\n\t        state.yieldAllowed = previousYieldAllowed;\n\n\t        return delegate.createFunctionExpression(null, params, defaults, body, options.rest || null, options.generator, body.type !== Syntax.BlockStatement);\n\t    }\n\n\n\t    function parsePropertyMethodFunction(options) {\n\t        var previousStrict, tmp, method;\n\n\t        previousStrict = strict;\n\t        strict = true;\n\n\t        tmp = parseParams();\n\n\t        if (tmp.stricted) {\n\t            throwErrorTolerant(tmp.stricted, tmp.message);\n\t        }\n\n\n\t        method = parsePropertyFunction({\n\t            params: tmp.params,\n\t            defaults: tmp.defaults,\n\t            rest: tmp.rest,\n\t            generator: options.generator\n\t        });\n\n\t        strict = previousStrict;\n\n\t        return method;\n\t    }\n\n\n\t    function parseObjectPropertyKey() {\n\t        var token = lex();\n\n\t        // Note: This function is called only from parseObjectProperty(), where\n\t        // EOF and Punctuator tokens are already filtered out.\n\n\t        if (token.type === Token.StringLiteral || token.type === Token.NumericLiteral) {\n\t            if (strict && token.octal) {\n\t                throwErrorTolerant(token, Messages.StrictOctalLiteral);\n\t            }\n\t            return delegate.createLiteral(token);\n\t        }\n\n\t        return delegate.createIdentifier(token.value);\n\t    }\n\n\t    function parseObjectProperty() {\n\t        var token, key, id, value, param;\n\n\t        token = lookahead;\n\n\t        if (token.type === Token.Identifier) {\n\n\t            id = parseObjectPropertyKey();\n\n\t            // Property Assignment: Getter and Setter.\n\n\t            if (token.value === 'get' && !(match(':') || match('('))) {\n\t                key = parseObjectPropertyKey();\n\t                expect('(');\n\t                expect(')');\n\t                return delegate.createProperty('get', key, parsePropertyFunction({ generator: false }), false, false);\n\t            }\n\t            if (token.value === 'set' && !(match(':') || match('('))) {\n\t                key = parseObjectPropertyKey();\n\t                expect('(');\n\t                token = lookahead;\n\t                param = [ parseVariableIdentifier() ];\n\t                expect(')');\n\t                return delegate.createProperty('set', key, parsePropertyFunction({ params: param, generator: false, name: token }), false, false);\n\t            }\n\t            if (match(':')) {\n\t                lex();\n\t                return delegate.createProperty('init', id, parseAssignmentExpression(), false, false);\n\t            }\n\t            if (match('(')) {\n\t                return delegate.createProperty('init', id, parsePropertyMethodFunction({ generator: false }), true, false);\n\t            }\n\t            return delegate.createProperty('init', id, id, false, true);\n\t        }\n\t        if (token.type === Token.EOF || token.type === Token.Punctuator) {\n\t            if (!match('*')) {\n\t                throwUnexpected(token);\n\t            }\n\t            lex();\n\n\t            id = parseObjectPropertyKey();\n\n\t            if (!match('(')) {\n\t                throwUnexpected(lex());\n\t            }\n\n\t            return delegate.createProperty('init', id, parsePropertyMethodFunction({ generator: true }), true, false);\n\t        }\n\t        key = parseObjectPropertyKey();\n\t        if (match(':')) {\n\t            lex();\n\t            return delegate.createProperty('init', key, parseAssignmentExpression(), false, false);\n\t        }\n\t        if (match('(')) {\n\t            return delegate.createProperty('init', key, parsePropertyMethodFunction({ generator: false }), true, false);\n\t        }\n\t        throwUnexpected(lex());\n\t    }\n\n\t    function parseObjectInitialiser() {\n\t        var properties = [], property, name, key, kind, map = {}, toString = String;\n\n\t        expect('{');\n\n\t        while (!match('}')) {\n\t            property = parseObjectProperty();\n\n\t            if (property.key.type === Syntax.Identifier) {\n\t                name = property.key.name;\n\t            } else {\n\t                name = toString(property.key.value);\n\t            }\n\t            kind = (property.kind === 'init') ? PropertyKind.Data : (property.kind === 'get') ? PropertyKind.Get : PropertyKind.Set;\n\n\t            key = '$' + name;\n\t            if (Object.prototype.hasOwnProperty.call(map, key)) {\n\t                if (map[key] === PropertyKind.Data) {\n\t                    if (strict && kind === PropertyKind.Data) {\n\t                        throwErrorTolerant({}, Messages.StrictDuplicateProperty);\n\t                    } else if (kind !== PropertyKind.Data) {\n\t                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n\t                    }\n\t                } else {\n\t                    if (kind === PropertyKind.Data) {\n\t                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n\t                    } else if (map[key] & kind) {\n\t                        throwErrorTolerant({}, Messages.AccessorGetSet);\n\t                    }\n\t                }\n\t                map[key] |= kind;\n\t            } else {\n\t                map[key] = kind;\n\t            }\n\n\t            properties.push(property);\n\n\t            if (!match('}')) {\n\t                expect(',');\n\t            }\n\t        }\n\n\t        expect('}');\n\n\t        return delegate.createObjectExpression(properties);\n\t    }\n\n\t    function parseTemplateElement(option) {\n\t        var token = scanTemplateElement(option);\n\t        if (strict && token.octal) {\n\t            throwError(token, Messages.StrictOctalLiteral);\n\t        }\n\t        return delegate.createTemplateElement({ raw: token.value.raw, cooked: token.value.cooked }, token.tail);\n\t    }\n\n\t    function parseTemplateLiteral() {\n\t        var quasi, quasis, expressions;\n\n\t        quasi = parseTemplateElement({ head: true });\n\t        quasis = [ quasi ];\n\t        expressions = [];\n\n\t        while (!quasi.tail) {\n\t            expressions.push(parseExpression());\n\t            quasi = parseTemplateElement({ head: false });\n\t            quasis.push(quasi);\n\t        }\n\n\t        return delegate.createTemplateLiteral(quasis, expressions);\n\t    }\n\n\t    // 11.1.6 The Grouping Operator\n\n\t    function parseGroupExpression() {\n\t        var expr;\n\n\t        expect('(');\n\n\t        ++state.parenthesizedCount;\n\n\t        expr = parseExpression();\n\n\t        expect(')');\n\n\t        return expr;\n\t    }\n\n\n\t    // 11.1 Primary Expressions\n\n\t    function parsePrimaryExpression() {\n\t        var type, token;\n\n\t        token = lookahead;\n\t        type = lookahead.type;\n\n\t        if (type === Token.Identifier) {\n\t            lex();\n\t            return delegate.createIdentifier(token.value);\n\t        }\n\n\t        if (type === Token.StringLiteral || type === Token.NumericLiteral) {\n\t            if (strict && lookahead.octal) {\n\t                throwErrorTolerant(lookahead, Messages.StrictOctalLiteral);\n\t            }\n\t            return delegate.createLiteral(lex());\n\t        }\n\n\t        if (type === Token.Keyword) {\n\t            if (matchKeyword('this')) {\n\t                lex();\n\t                return delegate.createThisExpression();\n\t            }\n\n\t            if (matchKeyword('function')) {\n\t                return parseFunctionExpression();\n\t            }\n\n\t            if (matchKeyword('class')) {\n\t                return parseClassExpression();\n\t            }\n\n\t            if (matchKeyword('super')) {\n\t                lex();\n\t                return delegate.createIdentifier('super');\n\t            }\n\t        }\n\n\t        if (type === Token.BooleanLiteral) {\n\t            token = lex();\n\t            token.value = (token.value === 'true');\n\t            return delegate.createLiteral(token);\n\t        }\n\n\t        if (type === Token.NullLiteral) {\n\t            token = lex();\n\t            token.value = null;\n\t            return delegate.createLiteral(token);\n\t        }\n\n\t        if (match('[')) {\n\t            return parseArrayInitialiser();\n\t        }\n\n\t        if (match('{')) {\n\t            return parseObjectInitialiser();\n\t        }\n\n\t        if (match('(')) {\n\t            return parseGroupExpression();\n\t        }\n\n\t        if (match('/') || match('/=')) {\n\t            return delegate.createLiteral(scanRegExp());\n\t        }\n\n\t        if (type === Token.Template) {\n\t            return parseTemplateLiteral();\n\t        }\n\n\t        return throwUnexpected(lex());\n\t    }\n\n\t    // 11.2 Left-Hand-Side Expressions\n\n\t    function parseArguments() {\n\t        var args = [], arg;\n\n\t        expect('(');\n\n\t        if (!match(')')) {\n\t            while (index < length) {\n\t                arg = parseSpreadOrAssignmentExpression();\n\t                args.push(arg);\n\n\t                if (match(')')) {\n\t                    break;\n\t                } else if (arg.type === Syntax.SpreadElement) {\n\t                    throwError({}, Messages.ElementAfterSpreadElement);\n\t                }\n\n\t                expect(',');\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        return args;\n\t    }\n\n\t    function parseSpreadOrAssignmentExpression() {\n\t        if (match('...')) {\n\t            lex();\n\t            return delegate.createSpreadElement(parseAssignmentExpression());\n\t        }\n\t        return parseAssignmentExpression();\n\t    }\n\n\t    function parseNonComputedProperty() {\n\t        var token = lex();\n\n\t        if (!isIdentifierName(token)) {\n\t            throwUnexpected(token);\n\t        }\n\n\t        return delegate.createIdentifier(token.value);\n\t    }\n\n\t    function parseNonComputedMember() {\n\t        expect('.');\n\n\t        return parseNonComputedProperty();\n\t    }\n\n\t    function parseComputedMember() {\n\t        var expr;\n\n\t        expect('[');\n\n\t        expr = parseExpression();\n\n\t        expect(']');\n\n\t        return expr;\n\t    }\n\n\t    function parseNewExpression() {\n\t        var callee, args;\n\n\t        expectKeyword('new');\n\t        callee = parseLeftHandSideExpression();\n\t        args = match('(') ? parseArguments() : [];\n\n\t        return delegate.createNewExpression(callee, args);\n\t    }\n\n\t    function parseLeftHandSideExpressionAllowCall() {\n\t        var expr, args, property;\n\n\t        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n\t        while (match('.') || match('[') || match('(') || lookahead.type === Token.Template) {\n\t            if (match('(')) {\n\t                args = parseArguments();\n\t                expr = delegate.createCallExpression(expr, args);\n\t            } else if (match('[')) {\n\t                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n\t            } else if (match('.')) {\n\t                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n\t            } else {\n\t                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\n\t    function parseLeftHandSideExpression() {\n\t        var expr, property;\n\n\t        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n\t        while (match('.') || match('[') || lookahead.type === Token.Template) {\n\t            if (match('[')) {\n\t                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n\t            } else if (match('.')) {\n\t                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n\t            } else {\n\t                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.3 Postfix Expressions\n\n\t    function parsePostfixExpression() {\n\t        var expr = parseLeftHandSideExpressionAllowCall(),\n\t            token = lookahead;\n\n\t        if (lookahead.type !== Token.Punctuator) {\n\t            return expr;\n\t        }\n\n\t        if ((match('++') || match('--')) && !peekLineTerminator()) {\n\t            // 11.3.1, 11.3.2\n\t            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n\t                throwErrorTolerant({}, Messages.StrictLHSPostfix);\n\t            }\n\n\t            if (!isLeftHandSide(expr)) {\n\t                throwError({}, Messages.InvalidLHSInAssignment);\n\t            }\n\n\t            token = lex();\n\t            expr = delegate.createPostfixExpression(token.value, expr);\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.4 Unary Operators\n\n\t    function parseUnaryExpression() {\n\t        var token, expr;\n\n\t        if (lookahead.type !== Token.Punctuator && lookahead.type !== Token.Keyword) {\n\t            return parsePostfixExpression();\n\t        }\n\n\t        if (match('++') || match('--')) {\n\t            token = lex();\n\t            expr = parseUnaryExpression();\n\t            // 11.4.4, 11.4.5\n\t            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n\t                throwErrorTolerant({}, Messages.StrictLHSPrefix);\n\t            }\n\n\t            if (!isLeftHandSide(expr)) {\n\t                throwError({}, Messages.InvalidLHSInAssignment);\n\t            }\n\n\t            return delegate.createUnaryExpression(token.value, expr);\n\t        }\n\n\t        if (match('+') || match('-') || match('~') || match('!')) {\n\t            token = lex();\n\t            expr = parseUnaryExpression();\n\t            return delegate.createUnaryExpression(token.value, expr);\n\t        }\n\n\t        if (matchKeyword('delete') || matchKeyword('void') || matchKeyword('typeof')) {\n\t            token = lex();\n\t            expr = parseUnaryExpression();\n\t            expr = delegate.createUnaryExpression(token.value, expr);\n\t            if (strict && expr.operator === 'delete' && expr.argument.type === Syntax.Identifier) {\n\t                throwErrorTolerant({}, Messages.StrictDelete);\n\t            }\n\t            return expr;\n\t        }\n\n\t        return parsePostfixExpression();\n\t    }\n\n\t    function binaryPrecedence(token, allowIn) {\n\t        var prec = 0;\n\n\t        if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {\n\t            return 0;\n\t        }\n\n\t        switch (token.value) {\n\t        case '||':\n\t            prec = 1;\n\t            break;\n\n\t        case '&&':\n\t            prec = 2;\n\t            break;\n\n\t        case '|':\n\t            prec = 3;\n\t            break;\n\n\t        case '^':\n\t            prec = 4;\n\t            break;\n\n\t        case '&':\n\t            prec = 5;\n\t            break;\n\n\t        case '==':\n\t        case '!=':\n\t        case '===':\n\t        case '!==':\n\t            prec = 6;\n\t            break;\n\n\t        case '<':\n\t        case '>':\n\t        case '<=':\n\t        case '>=':\n\t        case 'instanceof':\n\t            prec = 7;\n\t            break;\n\n\t        case 'in':\n\t            prec = allowIn ? 7 : 0;\n\t            break;\n\n\t        case '<<':\n\t        case '>>':\n\t        case '>>>':\n\t            prec = 8;\n\t            break;\n\n\t        case '+':\n\t        case '-':\n\t            prec = 9;\n\t            break;\n\n\t        case '*':\n\t        case '/':\n\t        case '%':\n\t            prec = 11;\n\t            break;\n\n\t        default:\n\t            break;\n\t        }\n\n\t        return prec;\n\t    }\n\n\t    // 11.5 Multiplicative Operators\n\t    // 11.6 Additive Operators\n\t    // 11.7 Bitwise Shift Operators\n\t    // 11.8 Relational Operators\n\t    // 11.9 Equality Operators\n\t    // 11.10 Binary Bitwise Operators\n\t    // 11.11 Binary Logical Operators\n\n\t    function parseBinaryExpression() {\n\t        var expr, token, prec, previousAllowIn, stack, right, operator, left, i;\n\n\t        previousAllowIn = state.allowIn;\n\t        state.allowIn = true;\n\n\t        expr = parseUnaryExpression();\n\n\t        token = lookahead;\n\t        prec = binaryPrecedence(token, previousAllowIn);\n\t        if (prec === 0) {\n\t            return expr;\n\t        }\n\t        token.prec = prec;\n\t        lex();\n\n\t        stack = [expr, token, parseUnaryExpression()];\n\n\t        while ((prec = binaryPrecedence(lookahead, previousAllowIn)) > 0) {\n\n\t            // Reduce: make a binary expression from the three topmost entries.\n\t            while ((stack.length > 2) && (prec <= stack[stack.length - 2].prec)) {\n\t                right = stack.pop();\n\t                operator = stack.pop().value;\n\t                left = stack.pop();\n\t                stack.push(delegate.createBinaryExpression(operator, left, right));\n\t            }\n\n\t            // Shift.\n\t            token = lex();\n\t            token.prec = prec;\n\t            stack.push(token);\n\t            stack.push(parseUnaryExpression());\n\t        }\n\n\t        state.allowIn = previousAllowIn;\n\n\t        // Final reduce to clean-up the stack.\n\t        i = stack.length - 1;\n\t        expr = stack[i];\n\t        while (i > 1) {\n\t            expr = delegate.createBinaryExpression(stack[i - 1].value, stack[i - 2], expr);\n\t            i -= 2;\n\t        }\n\t        return expr;\n\t    }\n\n\n\t    // 11.12 Conditional Operator\n\n\t    function parseConditionalExpression() {\n\t        var expr, previousAllowIn, consequent, alternate;\n\n\t        expr = parseBinaryExpression();\n\n\t        if (match('?')) {\n\t            lex();\n\t            previousAllowIn = state.allowIn;\n\t            state.allowIn = true;\n\t            consequent = parseAssignmentExpression();\n\t            state.allowIn = previousAllowIn;\n\t            expect(':');\n\t            alternate = parseAssignmentExpression();\n\n\t            expr = delegate.createConditionalExpression(expr, consequent, alternate);\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.13 Assignment Operators\n\n\t    function reinterpretAsAssignmentBindingPattern(expr) {\n\t        var i, len, property, element;\n\n\t        if (expr.type === Syntax.ObjectExpression) {\n\t            expr.type = Syntax.ObjectPattern;\n\t            for (i = 0, len = expr.properties.length; i < len; i += 1) {\n\t                property = expr.properties[i];\n\t                if (property.kind !== 'init') {\n\t                    throwError({}, Messages.InvalidLHSInAssignment);\n\t                }\n\t                reinterpretAsAssignmentBindingPattern(property.value);\n\t            }\n\t        } else if (expr.type === Syntax.ArrayExpression) {\n\t            expr.type = Syntax.ArrayPattern;\n\t            for (i = 0, len = expr.elements.length; i < len; i += 1) {\n\t                element = expr.elements[i];\n\t                if (element) {\n\t                    reinterpretAsAssignmentBindingPattern(element);\n\t                }\n\t            }\n\t        } else if (expr.type === Syntax.Identifier) {\n\t            if (isRestrictedWord(expr.name)) {\n\t                throwError({}, Messages.InvalidLHSInAssignment);\n\t            }\n\t        } else if (expr.type === Syntax.SpreadElement) {\n\t            reinterpretAsAssignmentBindingPattern(expr.argument);\n\t            if (expr.argument.type === Syntax.ObjectPattern) {\n\t                throwError({}, Messages.ObjectPatternAsSpread);\n\t            }\n\t        } else {\n\t            if (expr.type !== Syntax.MemberExpression && expr.type !== Syntax.CallExpression && expr.type !== Syntax.NewExpression) {\n\t                throwError({}, Messages.InvalidLHSInAssignment);\n\t            }\n\t        }\n\t    }\n\n\n\t    function reinterpretAsDestructuredParameter(options, expr) {\n\t        var i, len, property, element;\n\n\t        if (expr.type === Syntax.ObjectExpression) {\n\t            expr.type = Syntax.ObjectPattern;\n\t            for (i = 0, len = expr.properties.length; i < len; i += 1) {\n\t                property = expr.properties[i];\n\t                if (property.kind !== 'init') {\n\t                    throwError({}, Messages.InvalidLHSInFormalsList);\n\t                }\n\t                reinterpretAsDestructuredParameter(options, property.value);\n\t            }\n\t        } else if (expr.type === Syntax.ArrayExpression) {\n\t            expr.type = Syntax.ArrayPattern;\n\t            for (i = 0, len = expr.elements.length; i < len; i += 1) {\n\t                element = expr.elements[i];\n\t                if (element) {\n\t                    reinterpretAsDestructuredParameter(options, element);\n\t                }\n\t            }\n\t        } else if (expr.type === Syntax.Identifier) {\n\t            validateParam(options, expr, expr.name);\n\t        } else {\n\t            if (expr.type !== Syntax.MemberExpression) {\n\t                throwError({}, Messages.InvalidLHSInFormalsList);\n\t            }\n\t        }\n\t    }\n\n\t    function reinterpretAsCoverFormalsList(expressions) {\n\t        var i, len, param, params, defaults, defaultCount, options, rest;\n\n\t        params = [];\n\t        defaults = [];\n\t        defaultCount = 0;\n\t        rest = null;\n\t        options = {\n\t            paramSet: {}\n\t        };\n\n\t        for (i = 0, len = expressions.length; i < len; i += 1) {\n\t            param = expressions[i];\n\t            if (param.type === Syntax.Identifier) {\n\t                params.push(param);\n\t                defaults.push(null);\n\t                validateParam(options, param, param.name);\n\t            } else if (param.type === Syntax.ObjectExpression || param.type === Syntax.ArrayExpression) {\n\t                reinterpretAsDestructuredParameter(options, param);\n\t                params.push(param);\n\t                defaults.push(null);\n\t            } else if (param.type === Syntax.SpreadElement) {\n\t                assert(i === len - 1, 'It is guaranteed that SpreadElement is last element by parseExpression');\n\t                reinterpretAsDestructuredParameter(options, param.argument);\n\t                rest = param.argument;\n\t            } else if (param.type === Syntax.AssignmentExpression) {\n\t                params.push(param.left);\n\t                defaults.push(param.right);\n\t                ++defaultCount;\n\t                validateParam(options, param.left, param.left.name);\n\t            } else {\n\t                return null;\n\t            }\n\t        }\n\n\t        if (options.message === Messages.StrictParamDupe) {\n\t            throwError(\n\t                strict ? options.stricted : options.firstRestricted,\n\t                options.message\n\t            );\n\t        }\n\n\t        if (defaultCount === 0) {\n\t            defaults = [];\n\t        }\n\n\t        return {\n\t            params: params,\n\t            defaults: defaults,\n\t            rest: rest,\n\t            stricted: options.stricted,\n\t            firstRestricted: options.firstRestricted,\n\t            message: options.message\n\t        };\n\t    }\n\n\t    function parseArrowFunctionExpression(options) {\n\t        var previousStrict, previousYieldAllowed, body;\n\n\t        expect('=>');\n\n\t        previousStrict = strict;\n\t        previousYieldAllowed = state.yieldAllowed;\n\t        state.yieldAllowed = false;\n\t        body = parseConciseBody();\n\n\t        if (strict && options.firstRestricted) {\n\t            throwError(options.firstRestricted, options.message);\n\t        }\n\t        if (strict && options.stricted) {\n\t            throwErrorTolerant(options.stricted, options.message);\n\t        }\n\n\t        strict = previousStrict;\n\t        state.yieldAllowed = previousYieldAllowed;\n\n\t        return delegate.createArrowFunctionExpression(options.params, options.defaults, body, options.rest, body.type !== Syntax.BlockStatement);\n\t    }\n\n\t    function parseAssignmentExpression() {\n\t        var expr, token, params, oldParenthesizedCount;\n\n\t        if (matchKeyword('yield')) {\n\t            return parseYieldExpression();\n\t        }\n\n\t        oldParenthesizedCount = state.parenthesizedCount;\n\n\t        if (match('(')) {\n\t            token = lookahead2();\n\t            if ((token.type === Token.Punctuator && token.value === ')') || token.value === '...') {\n\t                params = parseParams();\n\t                if (!match('=>')) {\n\t                    throwUnexpected(lex());\n\t                }\n\t                return parseArrowFunctionExpression(params);\n\t            }\n\t        }\n\n\t        token = lookahead;\n\t        expr = parseConditionalExpression();\n\n\t        if (match('=>') &&\n\t                (state.parenthesizedCount === oldParenthesizedCount ||\n\t                state.parenthesizedCount === (oldParenthesizedCount + 1))) {\n\t            if (expr.type === Syntax.Identifier) {\n\t                params = reinterpretAsCoverFormalsList([ expr ]);\n\t            } else if (expr.type === Syntax.SequenceExpression) {\n\t                params = reinterpretAsCoverFormalsList(expr.expressions);\n\t            }\n\t            if (params) {\n\t                return parseArrowFunctionExpression(params);\n\t            }\n\t        }\n\n\t        if (matchAssign()) {\n\t            // 11.13.1\n\t            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n\t                throwErrorTolerant(token, Messages.StrictLHSAssignment);\n\t            }\n\n\t            // ES.next draf 11.13 Runtime Semantics step 1\n\t            if (match('=') && (expr.type === Syntax.ObjectExpression || expr.type === Syntax.ArrayExpression)) {\n\t                reinterpretAsAssignmentBindingPattern(expr);\n\t            } else if (!isLeftHandSide(expr)) {\n\t                throwError({}, Messages.InvalidLHSInAssignment);\n\t            }\n\n\t            expr = delegate.createAssignmentExpression(lex().value, expr, parseAssignmentExpression());\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.14 Comma Operator\n\n\t    function parseExpression() {\n\t        var expr, expressions, sequence, coverFormalsList, spreadFound, oldParenthesizedCount;\n\n\t        oldParenthesizedCount = state.parenthesizedCount;\n\n\t        expr = parseAssignmentExpression();\n\t        expressions = [ expr ];\n\n\t        if (match(',')) {\n\t            while (index < length) {\n\t                if (!match(',')) {\n\t                    break;\n\t                }\n\n\t                lex();\n\t                expr = parseSpreadOrAssignmentExpression();\n\t                expressions.push(expr);\n\n\t                if (expr.type === Syntax.SpreadElement) {\n\t                    spreadFound = true;\n\t                    if (!match(')')) {\n\t                        throwError({}, Messages.ElementAfterSpreadElement);\n\t                    }\n\t                    break;\n\t                }\n\t            }\n\n\t            sequence = delegate.createSequenceExpression(expressions);\n\t        }\n\n\t        if (match('=>')) {\n\t            // Do not allow nested parentheses on the LHS of the =>.\n\t            if (state.parenthesizedCount === oldParenthesizedCount || state.parenthesizedCount === (oldParenthesizedCount + 1)) {\n\t                expr = expr.type === Syntax.SequenceExpression ? expr.expressions : expressions;\n\t                coverFormalsList = reinterpretAsCoverFormalsList(expr);\n\t                if (coverFormalsList) {\n\t                    return parseArrowFunctionExpression(coverFormalsList);\n\t                }\n\t            }\n\t            throwUnexpected(lex());\n\t        }\n\n\t        if (spreadFound && lookahead2().value !== '=>') {\n\t            throwError({}, Messages.IllegalSpread);\n\t        }\n\n\t        return sequence || expr;\n\t    }\n\n\t    // 12.1 Block\n\n\t    function parseStatementList() {\n\t        var list = [],\n\t            statement;\n\n\t        while (index < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            statement = parseSourceElement();\n\t            if (typeof statement === 'undefined') {\n\t                break;\n\t            }\n\t            list.push(statement);\n\t        }\n\n\t        return list;\n\t    }\n\n\t    function parseBlock() {\n\t        var block;\n\n\t        expect('{');\n\n\t        block = parseStatementList();\n\n\t        expect('}');\n\n\t        return delegate.createBlockStatement(block);\n\t    }\n\n\t    // 12.2 Variable Statement\n\n\t    function parseVariableIdentifier() {\n\t        var token = lex();\n\n\t        if (token.type !== Token.Identifier) {\n\t            throwUnexpected(token);\n\t        }\n\n\t        return delegate.createIdentifier(token.value);\n\t    }\n\n\t    function parseVariableDeclaration(kind) {\n\t        var id,\n\t            init = null;\n\t        if (match('{')) {\n\t            id = parseObjectInitialiser();\n\t            reinterpretAsAssignmentBindingPattern(id);\n\t        } else if (match('[')) {\n\t            id = parseArrayInitialiser();\n\t            reinterpretAsAssignmentBindingPattern(id);\n\t        } else {\n\t            id = state.allowKeyword ? parseNonComputedProperty() : parseVariableIdentifier();\n\t            // 12.2.1\n\t            if (strict && isRestrictedWord(id.name)) {\n\t                throwErrorTolerant({}, Messages.StrictVarName);\n\t            }\n\t        }\n\n\t        if (kind === 'const') {\n\t            if (!match('=')) {\n\t                throwError({}, Messages.NoUnintializedConst);\n\t            }\n\t            expect('=');\n\t            init = parseAssignmentExpression();\n\t        } else if (match('=')) {\n\t            lex();\n\t            init = parseAssignmentExpression();\n\t        }\n\n\t        return delegate.createVariableDeclarator(id, init);\n\t    }\n\n\t    function parseVariableDeclarationList(kind) {\n\t        var list = [];\n\n\t        do {\n\t            list.push(parseVariableDeclaration(kind));\n\t            if (!match(',')) {\n\t                break;\n\t            }\n\t            lex();\n\t        } while (index < length);\n\n\t        return list;\n\t    }\n\n\t    function parseVariableStatement() {\n\t        var declarations;\n\n\t        expectKeyword('var');\n\n\t        declarations = parseVariableDeclarationList();\n\n\t        consumeSemicolon();\n\n\t        return delegate.createVariableDeclaration(declarations, 'var');\n\t    }\n\n\t    // kind may be `const` or `let`\n\t    // Both are experimental and not in the specification yet.\n\t    // see http://wiki.ecmascript.org/doku.php?id=harmony:const\n\t    // and http://wiki.ecmascript.org/doku.php?id=harmony:let\n\t    function parseConstLetDeclaration(kind) {\n\t        var declarations;\n\n\t        expectKeyword(kind);\n\n\t        declarations = parseVariableDeclarationList(kind);\n\n\t        consumeSemicolon();\n\n\t        return delegate.createVariableDeclaration(declarations, kind);\n\t    }\n\n\t    // http://wiki.ecmascript.org/doku.php?id=harmony:modules\n\n\t    function parseModuleDeclaration() {\n\t        var id, src, body;\n\n\t        lex();   // 'module'\n\n\t        if (peekLineTerminator()) {\n\t            throwError({}, Messages.NewlineAfterModule);\n\t        }\n\n\t        switch (lookahead.type) {\n\n\t        case Token.StringLiteral:\n\t            id = parsePrimaryExpression();\n\t            body = parseModuleBlock();\n\t            src = null;\n\t            break;\n\n\t        case Token.Identifier:\n\t            id = parseVariableIdentifier();\n\t            body = null;\n\t            if (!matchContextualKeyword('from')) {\n\t                throwUnexpected(lex());\n\t            }\n\t            lex();\n\t            src = parsePrimaryExpression();\n\t            if (src.type !== Syntax.Literal) {\n\t                throwError({}, Messages.InvalidModuleSpecifier);\n\t            }\n\t            break;\n\t        }\n\n\t        consumeSemicolon();\n\t        return delegate.createModuleDeclaration(id, src, body);\n\t    }\n\n\t    function parseExportBatchSpecifier() {\n\t        expect('*');\n\t        return delegate.createExportBatchSpecifier();\n\t    }\n\n\t    function parseExportSpecifier() {\n\t        var id, name = null;\n\n\t        id = parseVariableIdentifier();\n\t        if (matchContextualKeyword('as')) {\n\t            lex();\n\t            name = parseNonComputedProperty();\n\t        }\n\n\t        return delegate.createExportSpecifier(id, name);\n\t    }\n\n\t    function parseExportDeclaration() {\n\t        var previousAllowKeyword, decl, def, src, specifiers;\n\n\t        expectKeyword('export');\n\n\t        if (lookahead.type === Token.Keyword) {\n\t            switch (lookahead.value) {\n\t            case 'let':\n\t            case 'const':\n\t            case 'var':\n\t            case 'class':\n\t            case 'function':\n\t                return delegate.createExportDeclaration(parseSourceElement(), null, null);\n\t            }\n\t        }\n\n\t        if (isIdentifierName(lookahead)) {\n\t            previousAllowKeyword = state.allowKeyword;\n\t            state.allowKeyword = true;\n\t            decl = parseVariableDeclarationList('let');\n\t            state.allowKeyword = previousAllowKeyword;\n\t            return delegate.createExportDeclaration(decl, null, null);\n\t        }\n\n\t        specifiers = [];\n\t        src = null;\n\n\t        if (match('*')) {\n\t            specifiers.push(parseExportBatchSpecifier());\n\t        } else {\n\t            expect('{');\n\t            do {\n\t                specifiers.push(parseExportSpecifier());\n\t            } while (match(',') && lex());\n\t            expect('}');\n\t        }\n\n\t        if (matchContextualKeyword('from')) {\n\t            lex();\n\t            src = parsePrimaryExpression();\n\t            if (src.type !== Syntax.Literal) {\n\t                throwError({}, Messages.InvalidModuleSpecifier);\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        return delegate.createExportDeclaration(null, specifiers, src);\n\t    }\n\n\t    function parseImportDeclaration() {\n\t        var specifiers, kind, src;\n\n\t        expectKeyword('import');\n\t        specifiers = [];\n\n\t        if (isIdentifierName(lookahead)) {\n\t            kind = 'default';\n\t            specifiers.push(parseImportSpecifier());\n\n\t            if (!matchContextualKeyword('from')) {\n\t                throwError({}, Messages.NoFromAfterImport);\n\t            }\n\t            lex();\n\t        } else if (match('{')) {\n\t            kind = 'named';\n\t            lex();\n\t            do {\n\t                specifiers.push(parseImportSpecifier());\n\t            } while (match(',') && lex());\n\t            expect('}');\n\n\t            if (!matchContextualKeyword('from')) {\n\t                throwError({}, Messages.NoFromAfterImport);\n\t            }\n\t            lex();\n\t        }\n\n\t        src = parsePrimaryExpression();\n\t        if (src.type !== Syntax.Literal) {\n\t            throwError({}, Messages.InvalidModuleSpecifier);\n\t        }\n\n\t        consumeSemicolon();\n\n\t        return delegate.createImportDeclaration(specifiers, kind, src);\n\t    }\n\n\t    function parseImportSpecifier() {\n\t        var id, name = null;\n\n\t        id = parseNonComputedProperty();\n\t        if (matchContextualKeyword('as')) {\n\t            lex();\n\t            name = parseVariableIdentifier();\n\t        }\n\n\t        return delegate.createImportSpecifier(id, name);\n\t    }\n\n\t    // 12.3 Empty Statement\n\n\t    function parseEmptyStatement() {\n\t        expect(';');\n\t        return delegate.createEmptyStatement();\n\t    }\n\n\t    // 12.4 Expression Statement\n\n\t    function parseExpressionStatement() {\n\t        var expr = parseExpression();\n\t        consumeSemicolon();\n\t        return delegate.createExpressionStatement(expr);\n\t    }\n\n\t    // 12.5 If statement\n\n\t    function parseIfStatement() {\n\t        var test, consequent, alternate;\n\n\t        expectKeyword('if');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        consequent = parseStatement();\n\n\t        if (matchKeyword('else')) {\n\t            lex();\n\t            alternate = parseStatement();\n\t        } else {\n\t            alternate = null;\n\t        }\n\n\t        return delegate.createIfStatement(test, consequent, alternate);\n\t    }\n\n\t    // 12.6 Iteration Statements\n\n\t    function parseDoWhileStatement() {\n\t        var body, test, oldInIteration;\n\n\t        expectKeyword('do');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        body = parseStatement();\n\n\t        state.inIteration = oldInIteration;\n\n\t        expectKeyword('while');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        if (match(';')) {\n\t            lex();\n\t        }\n\n\t        return delegate.createDoWhileStatement(body, test);\n\t    }\n\n\t    function parseWhileStatement() {\n\t        var test, body, oldInIteration;\n\n\t        expectKeyword('while');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        body = parseStatement();\n\n\t        state.inIteration = oldInIteration;\n\n\t        return delegate.createWhileStatement(test, body);\n\t    }\n\n\t    function parseForVariableDeclaration() {\n\t        var token = lex(),\n\t            declarations = parseVariableDeclarationList();\n\n\t        return delegate.createVariableDeclaration(declarations, token.value);\n\t    }\n\n\t    function parseForStatement(opts) {\n\t        var init, test, update, left, right, body, operator, oldInIteration;\n\t        init = test = update = null;\n\t        expectKeyword('for');\n\n\t        // http://wiki.ecmascript.org/doku.php?id=proposals:iterators_and_generators&s=each\n\t        if (matchContextualKeyword('each')) {\n\t            throwError({}, Messages.EachNotAllowed);\n\t        }\n\n\t        expect('(');\n\n\t        if (match(';')) {\n\t            lex();\n\t        } else {\n\t            if (matchKeyword('var') || matchKeyword('let') || matchKeyword('const')) {\n\t                state.allowIn = false;\n\t                init = parseForVariableDeclaration();\n\t                state.allowIn = true;\n\n\t                if (init.declarations.length === 1) {\n\t                    if (matchKeyword('in') || matchContextualKeyword('of')) {\n\t                        operator = lookahead;\n\t                        if (!((operator.value === 'in' || init.kind !== 'var') && init.declarations[0].init)) {\n\t                            lex();\n\t                            left = init;\n\t                            right = parseExpression();\n\t                            init = null;\n\t                        }\n\t                    }\n\t                }\n\t            } else {\n\t                state.allowIn = false;\n\t                init = parseExpression();\n\t                state.allowIn = true;\n\n\t                if (matchContextualKeyword('of')) {\n\t                    operator = lex();\n\t                    left = init;\n\t                    right = parseExpression();\n\t                    init = null;\n\t                } else if (matchKeyword('in')) {\n\t                    // LeftHandSideExpression\n\t                    if (!isAssignableLeftHandSide(init)) {\n\t                        throwError({}, Messages.InvalidLHSInForIn);\n\t                    }\n\t                    operator = lex();\n\t                    left = init;\n\t                    right = parseExpression();\n\t                    init = null;\n\t                }\n\t            }\n\n\t            if (typeof left === 'undefined') {\n\t                expect(';');\n\t            }\n\t        }\n\n\t        if (typeof left === 'undefined') {\n\n\t            if (!match(';')) {\n\t                test = parseExpression();\n\t            }\n\t            expect(';');\n\n\t            if (!match(')')) {\n\t                update = parseExpression();\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        if (!(opts !== undefined && opts.ignoreBody)) {\n\t            body = parseStatement();\n\t        }\n\n\t        state.inIteration = oldInIteration;\n\n\t        if (typeof left === 'undefined') {\n\t            return delegate.createForStatement(init, test, update, body);\n\t        }\n\n\t        if (operator.value === 'in') {\n\t            return delegate.createForInStatement(left, right, body);\n\t        }\n\t        return delegate.createForOfStatement(left, right, body);\n\t    }\n\n\t    // 12.7 The continue statement\n\n\t    function parseContinueStatement() {\n\t        var label = null, key;\n\n\t        expectKeyword('continue');\n\n\t        // Optimize the most common form: 'continue;'.\n\t        if (source.charCodeAt(index) === 59) {\n\t            lex();\n\n\t            if (!state.inIteration) {\n\t                throwError({}, Messages.IllegalContinue);\n\t            }\n\n\t            return delegate.createContinueStatement(null);\n\t        }\n\n\t        if (peekLineTerminator()) {\n\t            if (!state.inIteration) {\n\t                throwError({}, Messages.IllegalContinue);\n\t            }\n\n\t            return delegate.createContinueStatement(null);\n\t        }\n\n\t        if (lookahead.type === Token.Identifier) {\n\t            label = parseVariableIdentifier();\n\n\t            key = '$' + label.name;\n\t            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n\t                throwError({}, Messages.UnknownLabel, label.name);\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        if (label === null && !state.inIteration) {\n\t            throwError({}, Messages.IllegalContinue);\n\t        }\n\n\t        return delegate.createContinueStatement(label);\n\t    }\n\n\t    // 12.8 The break statement\n\n\t    function parseBreakStatement() {\n\t        var label = null, key;\n\n\t        expectKeyword('break');\n\n\t        // Catch the very common case first: immediately a semicolon (char #59).\n\t        if (source.charCodeAt(index) === 59) {\n\t            lex();\n\n\t            if (!(state.inIteration || state.inSwitch)) {\n\t                throwError({}, Messages.IllegalBreak);\n\t            }\n\n\t            return delegate.createBreakStatement(null);\n\t        }\n\n\t        if (peekLineTerminator()) {\n\t            if (!(state.inIteration || state.inSwitch)) {\n\t                throwError({}, Messages.IllegalBreak);\n\t            }\n\n\t            return delegate.createBreakStatement(null);\n\t        }\n\n\t        if (lookahead.type === Token.Identifier) {\n\t            label = parseVariableIdentifier();\n\n\t            key = '$' + label.name;\n\t            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n\t                throwError({}, Messages.UnknownLabel, label.name);\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        if (label === null && !(state.inIteration || state.inSwitch)) {\n\t            throwError({}, Messages.IllegalBreak);\n\t        }\n\n\t        return delegate.createBreakStatement(label);\n\t    }\n\n\t    // 12.9 The return statement\n\n\t    function parseReturnStatement() {\n\t        var argument = null;\n\n\t        expectKeyword('return');\n\n\t        if (!state.inFunctionBody) {\n\t            throwErrorTolerant({}, Messages.IllegalReturn);\n\t        }\n\n\t        // 'return' followed by a space and an identifier is very common.\n\t        if (source.charCodeAt(index) === 32) {\n\t            if (isIdentifierStart(source.charCodeAt(index + 1))) {\n\t                argument = parseExpression();\n\t                consumeSemicolon();\n\t                return delegate.createReturnStatement(argument);\n\t            }\n\t        }\n\n\t        if (peekLineTerminator()) {\n\t            return delegate.createReturnStatement(null);\n\t        }\n\n\t        if (!match(';')) {\n\t            if (!match('}') && lookahead.type !== Token.EOF) {\n\t                argument = parseExpression();\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        return delegate.createReturnStatement(argument);\n\t    }\n\n\t    // 12.10 The with statement\n\n\t    function parseWithStatement() {\n\t        var object, body;\n\n\t        if (strict) {\n\t            throwErrorTolerant({}, Messages.StrictModeWith);\n\t        }\n\n\t        expectKeyword('with');\n\n\t        expect('(');\n\n\t        object = parseExpression();\n\n\t        expect(')');\n\n\t        body = parseStatement();\n\n\t        return delegate.createWithStatement(object, body);\n\t    }\n\n\t    // 12.10 The swith statement\n\n\t    function parseSwitchCase() {\n\t        var test,\n\t            consequent = [],\n\t            sourceElement;\n\n\t        if (matchKeyword('default')) {\n\t            lex();\n\t            test = null;\n\t        } else {\n\t            expectKeyword('case');\n\t            test = parseExpression();\n\t        }\n\t        expect(':');\n\n\t        while (index < length) {\n\t            if (match('}') || matchKeyword('default') || matchKeyword('case')) {\n\t                break;\n\t            }\n\t            sourceElement = parseSourceElement();\n\t            if (typeof sourceElement === 'undefined') {\n\t                break;\n\t            }\n\t            consequent.push(sourceElement);\n\t        }\n\n\t        return delegate.createSwitchCase(test, consequent);\n\t    }\n\n\t    function parseSwitchStatement() {\n\t        var discriminant, cases, clause, oldInSwitch, defaultFound;\n\n\t        expectKeyword('switch');\n\n\t        expect('(');\n\n\t        discriminant = parseExpression();\n\n\t        expect(')');\n\n\t        expect('{');\n\n\t        cases = [];\n\n\t        if (match('}')) {\n\t            lex();\n\t            return delegate.createSwitchStatement(discriminant, cases);\n\t        }\n\n\t        oldInSwitch = state.inSwitch;\n\t        state.inSwitch = true;\n\t        defaultFound = false;\n\n\t        while (index < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            clause = parseSwitchCase();\n\t            if (clause.test === null) {\n\t                if (defaultFound) {\n\t                    throwError({}, Messages.MultipleDefaultsInSwitch);\n\t                }\n\t                defaultFound = true;\n\t            }\n\t            cases.push(clause);\n\t        }\n\n\t        state.inSwitch = oldInSwitch;\n\n\t        expect('}');\n\n\t        return delegate.createSwitchStatement(discriminant, cases);\n\t    }\n\n\t    // 12.13 The throw statement\n\n\t    function parseThrowStatement() {\n\t        var argument;\n\n\t        expectKeyword('throw');\n\n\t        if (peekLineTerminator()) {\n\t            throwError({}, Messages.NewlineAfterThrow);\n\t        }\n\n\t        argument = parseExpression();\n\n\t        consumeSemicolon();\n\n\t        return delegate.createThrowStatement(argument);\n\t    }\n\n\t    // 12.14 The try statement\n\n\t    function parseCatchClause() {\n\t        var param, body;\n\n\t        expectKeyword('catch');\n\n\t        expect('(');\n\t        if (match(')')) {\n\t            throwUnexpected(lookahead);\n\t        }\n\n\t        param = parseExpression();\n\t        // 12.14.1\n\t        if (strict && param.type === Syntax.Identifier && isRestrictedWord(param.name)) {\n\t            throwErrorTolerant({}, Messages.StrictCatchVariable);\n\t        }\n\n\t        expect(')');\n\t        body = parseBlock();\n\t        return delegate.createCatchClause(param, body);\n\t    }\n\n\t    function parseTryStatement() {\n\t        var block, handlers = [], finalizer = null;\n\n\t        expectKeyword('try');\n\n\t        block = parseBlock();\n\n\t        if (matchKeyword('catch')) {\n\t            handlers.push(parseCatchClause());\n\t        }\n\n\t        if (matchKeyword('finally')) {\n\t            lex();\n\t            finalizer = parseBlock();\n\t        }\n\n\t        if (handlers.length === 0 && !finalizer) {\n\t            throwError({}, Messages.NoCatchOrFinally);\n\t        }\n\n\t        return delegate.createTryStatement(block, [], handlers, finalizer);\n\t    }\n\n\t    // 12.15 The debugger statement\n\n\t    function parseDebuggerStatement() {\n\t        expectKeyword('debugger');\n\n\t        consumeSemicolon();\n\n\t        return delegate.createDebuggerStatement();\n\t    }\n\n\t    // 12 Statements\n\n\t    function parseStatement() {\n\t        var type = lookahead.type,\n\t            expr,\n\t            labeledBody,\n\t            key;\n\n\t        if (type === Token.EOF) {\n\t            throwUnexpected(lookahead);\n\t        }\n\n\t        if (type === Token.Punctuator) {\n\t            switch (lookahead.value) {\n\t            case ';':\n\t                return parseEmptyStatement();\n\t            case '{':\n\t                return parseBlock();\n\t            case '(':\n\t                return parseExpressionStatement();\n\t            default:\n\t                break;\n\t            }\n\t        }\n\n\t        if (type === Token.Keyword) {\n\t            switch (lookahead.value) {\n\t            case 'break':\n\t                return parseBreakStatement();\n\t            case 'continue':\n\t                return parseContinueStatement();\n\t            case 'debugger':\n\t                return parseDebuggerStatement();\n\t            case 'do':\n\t                return parseDoWhileStatement();\n\t            case 'for':\n\t                return parseForStatement();\n\t            case 'function':\n\t                return parseFunctionDeclaration();\n\t            case 'class':\n\t                return parseClassDeclaration();\n\t            case 'if':\n\t                return parseIfStatement();\n\t            case 'return':\n\t                return parseReturnStatement();\n\t            case 'switch':\n\t                return parseSwitchStatement();\n\t            case 'throw':\n\t                return parseThrowStatement();\n\t            case 'try':\n\t                return parseTryStatement();\n\t            case 'var':\n\t                return parseVariableStatement();\n\t            case 'while':\n\t                return parseWhileStatement();\n\t            case 'with':\n\t                return parseWithStatement();\n\t            default:\n\t                break;\n\t            }\n\t        }\n\n\t        expr = parseExpression();\n\n\t        // 12.12 Labelled Statements\n\t        if ((expr.type === Syntax.Identifier) && match(':')) {\n\t            lex();\n\n\t            key = '$' + expr.name;\n\t            if (Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n\t                throwError({}, Messages.Redeclaration, 'Label', expr.name);\n\t            }\n\n\t            state.labelSet[key] = true;\n\t            labeledBody = parseStatement();\n\t            delete state.labelSet[key];\n\t            return delegate.createLabeledStatement(expr, labeledBody);\n\t        }\n\n\t        consumeSemicolon();\n\n\t        return delegate.createExpressionStatement(expr);\n\t    }\n\n\t    // 13 Function Definition\n\n\t    function parseConciseBody() {\n\t        if (match('{')) {\n\t            return parseFunctionSourceElements();\n\t        }\n\t        return parseAssignmentExpression();\n\t    }\n\n\t    function parseFunctionSourceElements() {\n\t        var sourceElement, sourceElements = [], token, directive, firstRestricted,\n\t            oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody, oldParenthesizedCount;\n\n\t        expect('{');\n\n\t        while (index < length) {\n\t            if (lookahead.type !== Token.StringLiteral) {\n\t                break;\n\t            }\n\t            token = lookahead;\n\n\t            sourceElement = parseSourceElement();\n\t            sourceElements.push(sourceElement);\n\t            if (sourceElement.expression.type !== Syntax.Literal) {\n\t                // this is not directive\n\t                break;\n\t            }\n\t            directive = source.slice(token.range[0] + 1, token.range[1] - 1);\n\t            if (directive === 'use strict') {\n\t                strict = true;\n\t                if (firstRestricted) {\n\t                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n\t                }\n\t            } else {\n\t                if (!firstRestricted && token.octal) {\n\t                    firstRestricted = token;\n\t                }\n\t            }\n\t        }\n\n\t        oldLabelSet = state.labelSet;\n\t        oldInIteration = state.inIteration;\n\t        oldInSwitch = state.inSwitch;\n\t        oldInFunctionBody = state.inFunctionBody;\n\t        oldParenthesizedCount = state.parenthesizedCount;\n\n\t        state.labelSet = {};\n\t        state.inIteration = false;\n\t        state.inSwitch = false;\n\t        state.inFunctionBody = true;\n\t        state.parenthesizedCount = 0;\n\n\t        while (index < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            sourceElement = parseSourceElement();\n\t            if (typeof sourceElement === 'undefined') {\n\t                break;\n\t            }\n\t            sourceElements.push(sourceElement);\n\t        }\n\n\t        expect('}');\n\n\t        state.labelSet = oldLabelSet;\n\t        state.inIteration = oldInIteration;\n\t        state.inSwitch = oldInSwitch;\n\t        state.inFunctionBody = oldInFunctionBody;\n\t        state.parenthesizedCount = oldParenthesizedCount;\n\n\t        return delegate.createBlockStatement(sourceElements);\n\t    }\n\n\t    function validateParam(options, param, name) {\n\t        var key = '$' + name;\n\t        if (strict) {\n\t            if (isRestrictedWord(name)) {\n\t                options.stricted = param;\n\t                options.message = Messages.StrictParamName;\n\t            }\n\t            if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {\n\t                options.stricted = param;\n\t                options.message = Messages.StrictParamDupe;\n\t            }\n\t        } else if (!options.firstRestricted) {\n\t            if (isRestrictedWord(name)) {\n\t                options.firstRestricted = param;\n\t                options.message = Messages.StrictParamName;\n\t            } else if (isStrictModeReservedWord(name)) {\n\t                options.firstRestricted = param;\n\t                options.message = Messages.StrictReservedWord;\n\t            } else if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {\n\t                options.firstRestricted = param;\n\t                options.message = Messages.StrictParamDupe;\n\t            }\n\t        }\n\t        options.paramSet[key] = true;\n\t    }\n\n\t    function parseParam(options) {\n\t        var token, rest, param, def;\n\n\t        token = lookahead;\n\t        if (token.value === '...') {\n\t            token = lex();\n\t            rest = true;\n\t        }\n\n\t        if (match('[')) {\n\t            param = parseArrayInitialiser();\n\t            reinterpretAsDestructuredParameter(options, param);\n\t        } else if (match('{')) {\n\t            if (rest) {\n\t                throwError({}, Messages.ObjectPatternAsRestParameter);\n\t            }\n\t            param = parseObjectInitialiser();\n\t            reinterpretAsDestructuredParameter(options, param);\n\t        } else {\n\t            param = parseVariableIdentifier();\n\t            validateParam(options, token, token.value);\n\t            if (match('=')) {\n\t                if (rest) {\n\t                    throwErrorTolerant(lookahead, Messages.DefaultRestParameter);\n\t                }\n\t                lex();\n\t                def = parseAssignmentExpression();\n\t                ++options.defaultCount;\n\t            }\n\t        }\n\n\t        if (rest) {\n\t            if (!match(')')) {\n\t                throwError({}, Messages.ParameterAfterRestParameter);\n\t            }\n\t            options.rest = param;\n\t            return false;\n\t        }\n\n\t        options.params.push(param);\n\t        options.defaults.push(def);\n\t        return !match(')');\n\t    }\n\n\t    function parseParams(firstRestricted) {\n\t        var options;\n\n\t        options = {\n\t            params: [],\n\t            defaultCount: 0,\n\t            defaults: [],\n\t            rest: null,\n\t            firstRestricted: firstRestricted\n\t        };\n\n\t        expect('(');\n\n\t        if (!match(')')) {\n\t            options.paramSet = {};\n\t            while (index < length) {\n\t                if (!parseParam(options)) {\n\t                    break;\n\t                }\n\t                expect(',');\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        if (options.defaultCount === 0) {\n\t            options.defaults = [];\n\t        }\n\n\t        return options;\n\t    }\n\n\t    function parseFunctionDeclaration() {\n\t        var id, body, token, tmp, firstRestricted, message, previousStrict, previousYieldAllowed, generator;\n\n\t        expectKeyword('function');\n\n\t        generator = false;\n\t        if (match('*')) {\n\t            lex();\n\t            generator = true;\n\t        }\n\n\t        token = lookahead;\n\n\t        id = parseVariableIdentifier();\n\n\t        if (strict) {\n\t            if (isRestrictedWord(token.value)) {\n\t                throwErrorTolerant(token, Messages.StrictFunctionName);\n\t            }\n\t        } else {\n\t            if (isRestrictedWord(token.value)) {\n\t                firstRestricted = token;\n\t                message = Messages.StrictFunctionName;\n\t            } else if (isStrictModeReservedWord(token.value)) {\n\t                firstRestricted = token;\n\t                message = Messages.StrictReservedWord;\n\t            }\n\t        }\n\n\t        tmp = parseParams(firstRestricted);\n\t        firstRestricted = tmp.firstRestricted;\n\t        if (tmp.message) {\n\t            message = tmp.message;\n\t        }\n\n\t        previousStrict = strict;\n\t        previousYieldAllowed = state.yieldAllowed;\n\t        state.yieldAllowed = generator;\n\n\t        body = parseFunctionSourceElements();\n\n\t        if (strict && firstRestricted) {\n\t            throwError(firstRestricted, message);\n\t        }\n\t        if (strict && tmp.stricted) {\n\t            throwErrorTolerant(tmp.stricted, message);\n\t        }\n\t        if (state.yieldAllowed && !state.yieldFound) {\n\t            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n\t        }\n\t        strict = previousStrict;\n\t        state.yieldAllowed = previousYieldAllowed;\n\n\t        return delegate.createFunctionDeclaration(id, tmp.params, tmp.defaults, body, tmp.rest, generator, false);\n\t    }\n\n\t    function parseFunctionExpression() {\n\t        var token, id = null, firstRestricted, message, tmp, body, previousStrict, previousYieldAllowed, generator;\n\n\t        expectKeyword('function');\n\n\t        generator = false;\n\n\t        if (match('*')) {\n\t            lex();\n\t            generator = true;\n\t        }\n\n\t        if (!match('(')) {\n\t            token = lookahead;\n\t            id = parseVariableIdentifier();\n\t            if (strict) {\n\t                if (isRestrictedWord(token.value)) {\n\t                    throwErrorTolerant(token, Messages.StrictFunctionName);\n\t                }\n\t            } else {\n\t                if (isRestrictedWord(token.value)) {\n\t                    firstRestricted = token;\n\t                    message = Messages.StrictFunctionName;\n\t                } else if (isStrictModeReservedWord(token.value)) {\n\t                    firstRestricted = token;\n\t                    message = Messages.StrictReservedWord;\n\t                }\n\t            }\n\t        }\n\n\t        tmp = parseParams(firstRestricted);\n\t        firstRestricted = tmp.firstRestricted;\n\t        if (tmp.message) {\n\t            message = tmp.message;\n\t        }\n\n\t        previousStrict = strict;\n\t        previousYieldAllowed = state.yieldAllowed;\n\t        state.yieldAllowed = generator;\n\n\t        body = parseFunctionSourceElements();\n\n\t        if (strict && firstRestricted) {\n\t            throwError(firstRestricted, message);\n\t        }\n\t        if (strict && tmp.stricted) {\n\t            throwErrorTolerant(tmp.stricted, message);\n\t        }\n\t        if (state.yieldAllowed && !state.yieldFound) {\n\t            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n\t        }\n\t        strict = previousStrict;\n\t        state.yieldAllowed = previousYieldAllowed;\n\n\t        return delegate.createFunctionExpression(id, tmp.params, tmp.defaults, body, tmp.rest, generator, false);\n\t    }\n\n\t    function parseYieldExpression() {\n\t        var delegateFlag, expr;\n\n\t        expectKeyword('yield');\n\n\t        if (!state.yieldAllowed) {\n\t            throwErrorTolerant({}, Messages.IllegalYield);\n\t        }\n\n\t        delegateFlag = false;\n\t        if (match('*')) {\n\t            lex();\n\t            delegateFlag = true;\n\t        }\n\n\t        expr = parseAssignmentExpression();\n\t        state.yieldFound = true;\n\n\t        return delegate.createYieldExpression(expr, delegateFlag);\n\t    }\n\n\t    // 14 Classes\n\n\t    function parseMethodDefinition(existingPropNames) {\n\t        var token, key, param, propType, isValidDuplicateProp = false;\n\n\t        if (lookahead.value === 'static') {\n\t            propType = ClassPropertyType.static;\n\t            lex();\n\t        } else {\n\t            propType = ClassPropertyType.prototype;\n\t        }\n\n\t        if (match('*')) {\n\t            lex();\n\t            return delegate.createMethodDefinition(\n\t                propType,\n\t                '',\n\t                parseObjectPropertyKey(),\n\t                parsePropertyMethodFunction({ generator: true })\n\t            );\n\t        }\n\n\t        token = lookahead;\n\t        key = parseObjectPropertyKey();\n\n\t        if (token.value === 'get' && !match('(')) {\n\t            key = parseObjectPropertyKey();\n\n\t            // It is a syntax error if any other properties have a name\n\t            // duplicating this one unless they are a setter\n\t            if (existingPropNames[propType].hasOwnProperty(key.name)) {\n\t                isValidDuplicateProp =\n\t                    // There isn't already a getter for this prop\n\t                    existingPropNames[propType][key.name].get === undefined\n\t                    // There isn't already a data prop by this name\n\t                    && existingPropNames[propType][key.name].data === undefined\n\t                    // The only existing prop by this name is a setter\n\t                    && existingPropNames[propType][key.name].set !== undefined;\n\t                if (!isValidDuplicateProp) {\n\t                    throwError(key, Messages.IllegalDuplicateClassProperty);\n\t                }\n\t            } else {\n\t                existingPropNames[propType][key.name] = {};\n\t            }\n\t            existingPropNames[propType][key.name].get = true;\n\n\t            expect('(');\n\t            expect(')');\n\t            return delegate.createMethodDefinition(\n\t                propType,\n\t                'get',\n\t                key,\n\t                parsePropertyFunction({ generator: false })\n\t            );\n\t        }\n\t        if (token.value === 'set' && !match('(')) {\n\t            key = parseObjectPropertyKey();\n\n\t            // It is a syntax error if any other properties have a name\n\t            // duplicating this one unless they are a getter\n\t            if (existingPropNames[propType].hasOwnProperty(key.name)) {\n\t                isValidDuplicateProp =\n\t                    // There isn't already a setter for this prop\n\t                    existingPropNames[propType][key.name].set === undefined\n\t                    // There isn't already a data prop by this name\n\t                    && existingPropNames[propType][key.name].data === undefined\n\t                    // The only existing prop by this name is a getter\n\t                    && existingPropNames[propType][key.name].get !== undefined;\n\t                if (!isValidDuplicateProp) {\n\t                    throwError(key, Messages.IllegalDuplicateClassProperty);\n\t                }\n\t            } else {\n\t                existingPropNames[propType][key.name] = {};\n\t            }\n\t            existingPropNames[propType][key.name].set = true;\n\n\t            expect('(');\n\t            token = lookahead;\n\t            param = [ parseVariableIdentifier() ];\n\t            expect(')');\n\t            return delegate.createMethodDefinition(\n\t                propType,\n\t                'set',\n\t                key,\n\t                parsePropertyFunction({ params: param, generator: false, name: token })\n\t            );\n\t        }\n\n\t        // It is a syntax error if any other properties have the same name as a\n\t        // non-getter, non-setter method\n\t        if (existingPropNames[propType].hasOwnProperty(key.name)) {\n\t            throwError(key, Messages.IllegalDuplicateClassProperty);\n\t        } else {\n\t            existingPropNames[propType][key.name] = {};\n\t        }\n\t        existingPropNames[propType][key.name].data = true;\n\n\t        return delegate.createMethodDefinition(\n\t            propType,\n\t            '',\n\t            key,\n\t            parsePropertyMethodFunction({ generator: false })\n\t        );\n\t    }\n\n\t    function parseClassElement(existingProps) {\n\t        if (match(';')) {\n\t            lex();\n\t            return;\n\t        }\n\t        return parseMethodDefinition(existingProps);\n\t    }\n\n\t    function parseClassBody() {\n\t        var classElement, classElements = [], existingProps = {};\n\n\t        existingProps[ClassPropertyType.static] = {};\n\t        existingProps[ClassPropertyType.prototype] = {};\n\n\t        expect('{');\n\n\t        while (index < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            classElement = parseClassElement(existingProps);\n\n\t            if (typeof classElement !== 'undefined') {\n\t                classElements.push(classElement);\n\t            }\n\t        }\n\n\t        expect('}');\n\n\t        return delegate.createClassBody(classElements);\n\t    }\n\n\t    function parseClassExpression() {\n\t        var id, previousYieldAllowed, superClass = null;\n\n\t        expectKeyword('class');\n\n\t        if (!matchKeyword('extends') && !match('{')) {\n\t            id = parseVariableIdentifier();\n\t        }\n\n\t        if (matchKeyword('extends')) {\n\t            expectKeyword('extends');\n\t            previousYieldAllowed = state.yieldAllowed;\n\t            state.yieldAllowed = false;\n\t            superClass = parseAssignmentExpression();\n\t            state.yieldAllowed = previousYieldAllowed;\n\t        }\n\n\t        return delegate.createClassExpression(id, superClass, parseClassBody());\n\t    }\n\n\t    function parseClassDeclaration() {\n\t        var id, previousYieldAllowed, superClass = null;\n\n\t        expectKeyword('class');\n\n\t        id = parseVariableIdentifier();\n\n\t        if (matchKeyword('extends')) {\n\t            expectKeyword('extends');\n\t            previousYieldAllowed = state.yieldAllowed;\n\t            state.yieldAllowed = false;\n\t            superClass = parseAssignmentExpression();\n\t            state.yieldAllowed = previousYieldAllowed;\n\t        }\n\n\t        return delegate.createClassDeclaration(id, superClass, parseClassBody());\n\t    }\n\n\t    // 15 Program\n\n\t    function matchModuleDeclaration() {\n\t        var id;\n\t        if (matchContextualKeyword('module')) {\n\t            id = lookahead2();\n\t            return id.type === Token.StringLiteral || id.type === Token.Identifier;\n\t        }\n\t        return false;\n\t    }\n\n\t    function parseSourceElement() {\n\t        if (lookahead.type === Token.Keyword) {\n\t            switch (lookahead.value) {\n\t            case 'const':\n\t            case 'let':\n\t                return parseConstLetDeclaration(lookahead.value);\n\t            case 'function':\n\t                return parseFunctionDeclaration();\n\t            case 'export':\n\t                return parseExportDeclaration();\n\t            case 'import':\n\t                return parseImportDeclaration();\n\t            default:\n\t                return parseStatement();\n\t            }\n\t        }\n\n\t        if (matchModuleDeclaration()) {\n\t            throwError({}, Messages.NestedModule);\n\t        }\n\n\t        if (lookahead.type !== Token.EOF) {\n\t            return parseStatement();\n\t        }\n\t    }\n\n\t    function parseProgramElement() {\n\t        if (lookahead.type === Token.Keyword) {\n\t            switch (lookahead.value) {\n\t            case 'export':\n\t                return parseExportDeclaration();\n\t            case 'import':\n\t                return parseImportDeclaration();\n\t            }\n\t        }\n\n\t        if (matchModuleDeclaration()) {\n\t            return parseModuleDeclaration();\n\t        }\n\n\t        return parseSourceElement();\n\t    }\n\n\t    function parseProgramElements() {\n\t        var sourceElement, sourceElements = [], token, directive, firstRestricted;\n\n\t        while (index < length) {\n\t            token = lookahead;\n\t            if (token.type !== Token.StringLiteral) {\n\t                break;\n\t            }\n\n\t            sourceElement = parseProgramElement();\n\t            sourceElements.push(sourceElement);\n\t            if (sourceElement.expression.type !== Syntax.Literal) {\n\t                // this is not directive\n\t                break;\n\t            }\n\t            directive = source.slice(token.range[0] + 1, token.range[1] - 1);\n\t            if (directive === 'use strict') {\n\t                strict = true;\n\t                if (firstRestricted) {\n\t                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n\t                }\n\t            } else {\n\t                if (!firstRestricted && token.octal) {\n\t                    firstRestricted = token;\n\t                }\n\t            }\n\t        }\n\n\t        while (index < length) {\n\t            sourceElement = parseProgramElement();\n\t            if (typeof sourceElement === 'undefined') {\n\t                break;\n\t            }\n\t            sourceElements.push(sourceElement);\n\t        }\n\t        return sourceElements;\n\t    }\n\n\t    function parseModuleElement() {\n\t        return parseSourceElement();\n\t    }\n\n\t    function parseModuleElements() {\n\t        var list = [],\n\t            statement;\n\n\t        while (index < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            statement = parseModuleElement();\n\t            if (typeof statement === 'undefined') {\n\t                break;\n\t            }\n\t            list.push(statement);\n\t        }\n\n\t        return list;\n\t    }\n\n\t    function parseModuleBlock() {\n\t        var block;\n\n\t        expect('{');\n\n\t        block = parseModuleElements();\n\n\t        expect('}');\n\n\t        return delegate.createBlockStatement(block);\n\t    }\n\n\t    function parseProgram() {\n\t        var body;\n\t        strict = false;\n\t        peek();\n\t        body = parseProgramElements();\n\t        return delegate.createProgram(body);\n\t    }\n\n\t    // The following functions are needed only when the option to preserve\n\t    // the comments is active.\n\n\t    function addComment(type, value, start, end, loc) {\n\t        assert(typeof start === 'number', 'Comment must have valid position');\n\n\t        // Because the way the actual token is scanned, often the comments\n\t        // (if any) are skipped twice during the lexical analysis.\n\t        // Thus, we need to skip adding a comment if the comment array already\n\t        // handled it.\n\t        if (extra.comments.length > 0) {\n\t            if (extra.comments[extra.comments.length - 1].range[1] > start) {\n\t                return;\n\t            }\n\t        }\n\n\t        extra.comments.push({\n\t            type: type,\n\t            value: value,\n\t            range: [start, end],\n\t            loc: loc\n\t        });\n\t    }\n\n\t    function scanComment() {\n\t        var comment, ch, loc, start, blockComment, lineComment;\n\n\t        comment = '';\n\t        blockComment = false;\n\t        lineComment = false;\n\n\t        while (index < length) {\n\t            ch = source[index];\n\n\t            if (lineComment) {\n\t                ch = source[index++];\n\t                if (isLineTerminator(ch.charCodeAt(0))) {\n\t                    loc.end = {\n\t                        line: lineNumber,\n\t                        column: index - lineStart - 1\n\t                    };\n\t                    lineComment = false;\n\t                    addComment('Line', comment, start, index - 1, loc);\n\t                    if (ch === '\\r' && source[index] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                    ++lineNumber;\n\t                    lineStart = index;\n\t                    comment = '';\n\t                } else if (index >= length) {\n\t                    lineComment = false;\n\t                    comment += ch;\n\t                    loc.end = {\n\t                        line: lineNumber,\n\t                        column: length - lineStart\n\t                    };\n\t                    addComment('Line', comment, start, length, loc);\n\t                } else {\n\t                    comment += ch;\n\t                }\n\t            } else if (blockComment) {\n\t                if (isLineTerminator(ch.charCodeAt(0))) {\n\t                    if (ch === '\\r' && source[index + 1] === '\\n') {\n\t                        ++index;\n\t                        comment += '\\r\\n';\n\t                    } else {\n\t                        comment += ch;\n\t                    }\n\t                    ++lineNumber;\n\t                    ++index;\n\t                    lineStart = index;\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                } else {\n\t                    ch = source[index++];\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                    comment += ch;\n\t                    if (ch === '*') {\n\t                        ch = source[index];\n\t                        if (ch === '/') {\n\t                            comment = comment.substr(0, comment.length - 1);\n\t                            blockComment = false;\n\t                            ++index;\n\t                            loc.end = {\n\t                                line: lineNumber,\n\t                                column: index - lineStart\n\t                            };\n\t                            addComment('Block', comment, start, index, loc);\n\t                            comment = '';\n\t                        }\n\t                    }\n\t                }\n\t            } else if (ch === '/') {\n\t                ch = source[index + 1];\n\t                if (ch === '/') {\n\t                    loc = {\n\t                        start: {\n\t                            line: lineNumber,\n\t                            column: index - lineStart\n\t                        }\n\t                    };\n\t                    start = index;\n\t                    index += 2;\n\t                    lineComment = true;\n\t                    if (index >= length) {\n\t                        loc.end = {\n\t                            line: lineNumber,\n\t                            column: index - lineStart\n\t                        };\n\t                        lineComment = false;\n\t                        addComment('Line', comment, start, index, loc);\n\t                    }\n\t                } else if (ch === '*') {\n\t                    start = index;\n\t                    index += 2;\n\t                    blockComment = true;\n\t                    loc = {\n\t                        start: {\n\t                            line: lineNumber,\n\t                            column: index - lineStart - 2\n\t                        }\n\t                    };\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                } else {\n\t                    break;\n\t                }\n\t            } else if (isWhiteSpace(ch.charCodeAt(0))) {\n\t                ++index;\n\t            } else if (isLineTerminator(ch.charCodeAt(0))) {\n\t                ++index;\n\t                if (ch ===  '\\r' && source[index] === '\\n') {\n\t                    ++index;\n\t                }\n\t                ++lineNumber;\n\t                lineStart = index;\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\t    }\n\n\t    function filterCommentLocation() {\n\t        var i, entry, comment, comments = [];\n\n\t        for (i = 0; i < extra.comments.length; ++i) {\n\t            entry = extra.comments[i];\n\t            comment = {\n\t                type: entry.type,\n\t                value: entry.value\n\t            };\n\t            if (extra.range) {\n\t                comment.range = entry.range;\n\t            }\n\t            if (extra.loc) {\n\t                comment.loc = entry.loc;\n\t            }\n\t            comments.push(comment);\n\t        }\n\n\t        extra.comments = comments;\n\t    }\n\n\t    function collectToken() {\n\t        var start, loc, token, range, value;\n\n\t        skipComment();\n\t        start = index;\n\t        loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            }\n\t        };\n\n\t        token = extra.advance();\n\t        loc.end = {\n\t            line: lineNumber,\n\t            column: index - lineStart\n\t        };\n\n\t        if (token.type !== Token.EOF) {\n\t            range = [token.range[0], token.range[1]];\n\t            value = source.slice(token.range[0], token.range[1]);\n\t            extra.tokens.push({\n\t                type: TokenName[token.type],\n\t                value: value,\n\t                range: range,\n\t                loc: loc\n\t            });\n\t        }\n\n\t        return token;\n\t    }\n\n\t    function collectRegex() {\n\t        var pos, loc, regex, token;\n\n\t        skipComment();\n\n\t        pos = index;\n\t        loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            }\n\t        };\n\n\t        regex = extra.scanRegExp();\n\t        loc.end = {\n\t            line: lineNumber,\n\t            column: index - lineStart\n\t        };\n\n\t        if (!extra.tokenize) {\n\t            // Pop the previous token, which is likely '/' or '/='\n\t            if (extra.tokens.length > 0) {\n\t                token = extra.tokens[extra.tokens.length - 1];\n\t                if (token.range[0] === pos && token.type === 'Punctuator') {\n\t                    if (token.value === '/' || token.value === '/=') {\n\t                        extra.tokens.pop();\n\t                    }\n\t                }\n\t            }\n\n\t            extra.tokens.push({\n\t                type: 'RegularExpression',\n\t                value: regex.literal,\n\t                range: [pos, index],\n\t                loc: loc\n\t            });\n\t        }\n\n\t        return regex;\n\t    }\n\n\t    function filterTokenLocation() {\n\t        var i, entry, token, tokens = [];\n\n\t        for (i = 0; i < extra.tokens.length; ++i) {\n\t            entry = extra.tokens[i];\n\t            token = {\n\t                type: entry.type,\n\t                value: entry.value\n\t            };\n\t            if (extra.range) {\n\t                token.range = entry.range;\n\t            }\n\t            if (extra.loc) {\n\t                token.loc = entry.loc;\n\t            }\n\t            tokens.push(token);\n\t        }\n\n\t        extra.tokens = tokens;\n\t    }\n\n\t    function LocationMarker() {\n\t        this.range = [index, index];\n\t        this.loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            },\n\t            end: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            }\n\t        };\n\t    }\n\n\t    LocationMarker.prototype = {\n\t        constructor: LocationMarker,\n\n\t        end: function () {\n\t            this.range[1] = index;\n\t            this.loc.end.line = lineNumber;\n\t            this.loc.end.column = index - lineStart;\n\t        },\n\n\t        applyGroup: function (node) {\n\t            if (extra.range) {\n\t                node.groupRange = [this.range[0], this.range[1]];\n\t            }\n\t            if (extra.loc) {\n\t                node.groupLoc = {\n\t                    start: {\n\t                        line: this.loc.start.line,\n\t                        column: this.loc.start.column\n\t                    },\n\t                    end: {\n\t                        line: this.loc.end.line,\n\t                        column: this.loc.end.column\n\t                    }\n\t                };\n\t                node = delegate.postProcess(node);\n\t            }\n\t        },\n\n\t        apply: function (node) {\n\t            var nodeType = typeof node;\n\t            assert(nodeType === 'object',\n\t                'Applying location marker to an unexpected node type: ' +\n\t                    nodeType);\n\n\t            if (extra.range) {\n\t                node.range = [this.range[0], this.range[1]];\n\t            }\n\t            if (extra.loc) {\n\t                node.loc = {\n\t                    start: {\n\t                        line: this.loc.start.line,\n\t                        column: this.loc.start.column\n\t                    },\n\t                    end: {\n\t                        line: this.loc.end.line,\n\t                        column: this.loc.end.column\n\t                    }\n\t                };\n\t                node = delegate.postProcess(node);\n\t            }\n\t        }\n\t    };\n\n\t    function createLocationMarker() {\n\t        return new LocationMarker();\n\t    }\n\n\t    function trackGroupExpression() {\n\t        var marker, expr;\n\n\t        skipComment();\n\t        marker = createLocationMarker();\n\t        expect('(');\n\n\t        ++state.parenthesizedCount;\n\t        expr = parseExpression();\n\n\t        expect(')');\n\t        marker.end();\n\t        marker.applyGroup(expr);\n\n\t        return expr;\n\t    }\n\n\t    function trackLeftHandSideExpression() {\n\t        var marker, expr;\n\n\t        skipComment();\n\t        marker = createLocationMarker();\n\n\t        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n\t        while (match('.') || match('[') || lookahead.type === Token.Template) {\n\t            if (match('[')) {\n\t                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n\t                marker.end();\n\t                marker.apply(expr);\n\t            } else if (match('.')) {\n\t                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n\t                marker.end();\n\t                marker.apply(expr);\n\t            } else {\n\t                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n\t                marker.end();\n\t                marker.apply(expr);\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function trackLeftHandSideExpressionAllowCall() {\n\t        var marker, expr, args;\n\n\t        skipComment();\n\t        marker = createLocationMarker();\n\n\t        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n\t        while (match('.') || match('[') || match('(') || lookahead.type === Token.Template) {\n\t            if (match('(')) {\n\t                args = parseArguments();\n\t                expr = delegate.createCallExpression(expr, args);\n\t                marker.end();\n\t                marker.apply(expr);\n\t            } else if (match('[')) {\n\t                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n\t                marker.end();\n\t                marker.apply(expr);\n\t            } else if (match('.')) {\n\t                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n\t                marker.end();\n\t                marker.apply(expr);\n\t            } else {\n\t                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n\t                marker.end();\n\t                marker.apply(expr);\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function filterGroup(node) {\n\t        var n, i, entry;\n\n\t        n = (Object.prototype.toString.apply(node) === '[object Array]') ? [] : {};\n\t        for (i in node) {\n\t            if (node.hasOwnProperty(i) && i !== 'groupRange' && i !== 'groupLoc') {\n\t                entry = node[i];\n\t                if (entry === null || typeof entry !== 'object' || entry instanceof RegExp) {\n\t                    n[i] = entry;\n\t                } else {\n\t                    n[i] = filterGroup(entry);\n\t                }\n\t            }\n\t        }\n\t        return n;\n\t    }\n\n\t    function wrapTrackingFunction(range, loc) {\n\n\t        return function (parseFunction) {\n\n\t            function isBinary(node) {\n\t                return node.type === Syntax.LogicalExpression ||\n\t                    node.type === Syntax.BinaryExpression;\n\t            }\n\n\t            function visit(node) {\n\t                var start, end;\n\n\t                if (isBinary(node.left)) {\n\t                    visit(node.left);\n\t                }\n\t                if (isBinary(node.right)) {\n\t                    visit(node.right);\n\t                }\n\n\t                if (range) {\n\t                    if (node.left.groupRange || node.right.groupRange) {\n\t                        start = node.left.groupRange ? node.left.groupRange[0] : node.left.range[0];\n\t                        end = node.right.groupRange ? node.right.groupRange[1] : node.right.range[1];\n\t                        node.range = [start, end];\n\t                    } else if (typeof node.range === 'undefined') {\n\t                        start = node.left.range[0];\n\t                        end = node.right.range[1];\n\t                        node.range = [start, end];\n\t                    }\n\t                }\n\t                if (loc) {\n\t                    if (node.left.groupLoc || node.right.groupLoc) {\n\t                        start = node.left.groupLoc ? node.left.groupLoc.start : node.left.loc.start;\n\t                        end = node.right.groupLoc ? node.right.groupLoc.end : node.right.loc.end;\n\t                        node.loc = {\n\t                            start: start,\n\t                            end: end\n\t                        };\n\t                        node = delegate.postProcess(node);\n\t                    } else if (typeof node.loc === 'undefined') {\n\t                        node.loc = {\n\t                            start: node.left.loc.start,\n\t                            end: node.right.loc.end\n\t                        };\n\t                        node = delegate.postProcess(node);\n\t                    }\n\t                }\n\t            }\n\n\t            return function () {\n\t                var marker, node;\n\n\t                skipComment();\n\n\t                marker = createLocationMarker();\n\t                node = parseFunction.apply(null, arguments);\n\t                marker.end();\n\n\t                if (range && typeof node.range === 'undefined') {\n\t                    marker.apply(node);\n\t                }\n\n\t                if (loc && typeof node.loc === 'undefined') {\n\t                    marker.apply(node);\n\t                }\n\n\t                if (isBinary(node)) {\n\t                    visit(node);\n\t                }\n\n\t                return node;\n\t            };\n\t        };\n\t    }\n\n\t    function patch() {\n\n\t        var wrapTracking;\n\n\t        if (extra.comments) {\n\t            extra.skipComment = skipComment;\n\t            skipComment = scanComment;\n\t        }\n\n\t        if (extra.range || extra.loc) {\n\n\t            extra.parseGroupExpression = parseGroupExpression;\n\t            extra.parseLeftHandSideExpression = parseLeftHandSideExpression;\n\t            extra.parseLeftHandSideExpressionAllowCall = parseLeftHandSideExpressionAllowCall;\n\t            parseGroupExpression = trackGroupExpression;\n\t            parseLeftHandSideExpression = trackLeftHandSideExpression;\n\t            parseLeftHandSideExpressionAllowCall = trackLeftHandSideExpressionAllowCall;\n\n\t            wrapTracking = wrapTrackingFunction(extra.range, extra.loc);\n\n\t            extra.parseArrayInitialiser = parseArrayInitialiser;\n\t            extra.parseAssignmentExpression = parseAssignmentExpression;\n\t            extra.parseBinaryExpression = parseBinaryExpression;\n\t            extra.parseBlock = parseBlock;\n\t            extra.parseFunctionSourceElements = parseFunctionSourceElements;\n\t            extra.parseCatchClause = parseCatchClause;\n\t            extra.parseComputedMember = parseComputedMember;\n\t            extra.parseConditionalExpression = parseConditionalExpression;\n\t            extra.parseConstLetDeclaration = parseConstLetDeclaration;\n\t            extra.parseExportBatchSpecifier = parseExportBatchSpecifier;\n\t            extra.parseExportDeclaration = parseExportDeclaration;\n\t            extra.parseExportSpecifier = parseExportSpecifier;\n\t            extra.parseExpression = parseExpression;\n\t            extra.parseForVariableDeclaration = parseForVariableDeclaration;\n\t            extra.parseFunctionDeclaration = parseFunctionDeclaration;\n\t            extra.parseFunctionExpression = parseFunctionExpression;\n\t            extra.parseParams = parseParams;\n\t            extra.parseImportDeclaration = parseImportDeclaration;\n\t            extra.parseImportSpecifier = parseImportSpecifier;\n\t            extra.parseModuleDeclaration = parseModuleDeclaration;\n\t            extra.parseModuleBlock = parseModuleBlock;\n\t            extra.parseNewExpression = parseNewExpression;\n\t            extra.parseNonComputedProperty = parseNonComputedProperty;\n\t            extra.parseObjectInitialiser = parseObjectInitialiser;\n\t            extra.parseObjectProperty = parseObjectProperty;\n\t            extra.parseObjectPropertyKey = parseObjectPropertyKey;\n\t            extra.parsePostfixExpression = parsePostfixExpression;\n\t            extra.parsePrimaryExpression = parsePrimaryExpression;\n\t            extra.parseProgram = parseProgram;\n\t            extra.parsePropertyFunction = parsePropertyFunction;\n\t            extra.parseSpreadOrAssignmentExpression = parseSpreadOrAssignmentExpression;\n\t            extra.parseTemplateElement = parseTemplateElement;\n\t            extra.parseTemplateLiteral = parseTemplateLiteral;\n\t            extra.parseStatement = parseStatement;\n\t            extra.parseSwitchCase = parseSwitchCase;\n\t            extra.parseUnaryExpression = parseUnaryExpression;\n\t            extra.parseVariableDeclaration = parseVariableDeclaration;\n\t            extra.parseVariableIdentifier = parseVariableIdentifier;\n\t            extra.parseMethodDefinition = parseMethodDefinition;\n\t            extra.parseClassDeclaration = parseClassDeclaration;\n\t            extra.parseClassExpression = parseClassExpression;\n\t            extra.parseClassBody = parseClassBody;\n\n\t            parseArrayInitialiser = wrapTracking(extra.parseArrayInitialiser);\n\t            parseAssignmentExpression = wrapTracking(extra.parseAssignmentExpression);\n\t            parseBinaryExpression = wrapTracking(extra.parseBinaryExpression);\n\t            parseBlock = wrapTracking(extra.parseBlock);\n\t            parseFunctionSourceElements = wrapTracking(extra.parseFunctionSourceElements);\n\t            parseCatchClause = wrapTracking(extra.parseCatchClause);\n\t            parseComputedMember = wrapTracking(extra.parseComputedMember);\n\t            parseConditionalExpression = wrapTracking(extra.parseConditionalExpression);\n\t            parseConstLetDeclaration = wrapTracking(extra.parseConstLetDeclaration);\n\t            parseExportBatchSpecifier = wrapTracking(parseExportBatchSpecifier);\n\t            parseExportDeclaration = wrapTracking(parseExportDeclaration);\n\t            parseExportSpecifier = wrapTracking(parseExportSpecifier);\n\t            parseExpression = wrapTracking(extra.parseExpression);\n\t            parseForVariableDeclaration = wrapTracking(extra.parseForVariableDeclaration);\n\t            parseFunctionDeclaration = wrapTracking(extra.parseFunctionDeclaration);\n\t            parseFunctionExpression = wrapTracking(extra.parseFunctionExpression);\n\t            parseParams = wrapTracking(extra.parseParams);\n\t            parseImportDeclaration = wrapTracking(extra.parseImportDeclaration);\n\t            parseImportSpecifier = wrapTracking(extra.parseImportSpecifier);\n\t            parseModuleDeclaration = wrapTracking(extra.parseModuleDeclaration);\n\t            parseModuleBlock = wrapTracking(extra.parseModuleBlock);\n\t            parseLeftHandSideExpression = wrapTracking(parseLeftHandSideExpression);\n\t            parseNewExpression = wrapTracking(extra.parseNewExpression);\n\t            parseNonComputedProperty = wrapTracking(extra.parseNonComputedProperty);\n\t            parseObjectInitialiser = wrapTracking(extra.parseObjectInitialiser);\n\t            parseObjectProperty = wrapTracking(extra.parseObjectProperty);\n\t            parseObjectPropertyKey = wrapTracking(extra.parseObjectPropertyKey);\n\t            parsePostfixExpression = wrapTracking(extra.parsePostfixExpression);\n\t            parsePrimaryExpression = wrapTracking(extra.parsePrimaryExpression);\n\t            parseProgram = wrapTracking(extra.parseProgram);\n\t            parsePropertyFunction = wrapTracking(extra.parsePropertyFunction);\n\t            parseTemplateElement = wrapTracking(extra.parseTemplateElement);\n\t            parseTemplateLiteral = wrapTracking(extra.parseTemplateLiteral);\n\t            parseSpreadOrAssignmentExpression = wrapTracking(extra.parseSpreadOrAssignmentExpression);\n\t            parseStatement = wrapTracking(extra.parseStatement);\n\t            parseSwitchCase = wrapTracking(extra.parseSwitchCase);\n\t            parseUnaryExpression = wrapTracking(extra.parseUnaryExpression);\n\t            parseVariableDeclaration = wrapTracking(extra.parseVariableDeclaration);\n\t            parseVariableIdentifier = wrapTracking(extra.parseVariableIdentifier);\n\t            parseMethodDefinition = wrapTracking(extra.parseMethodDefinition);\n\t            parseClassDeclaration = wrapTracking(extra.parseClassDeclaration);\n\t            parseClassExpression = wrapTracking(extra.parseClassExpression);\n\t            parseClassBody = wrapTracking(extra.parseClassBody);\n\t        }\n\n\t        if (typeof extra.tokens !== 'undefined') {\n\t            extra.advance = advance;\n\t            extra.scanRegExp = scanRegExp;\n\n\t            advance = collectToken;\n\t            scanRegExp = collectRegex;\n\t        }\n\t    }\n\n\t    function unpatch() {\n\t        if (typeof extra.skipComment === 'function') {\n\t            skipComment = extra.skipComment;\n\t        }\n\n\t        if (extra.range || extra.loc) {\n\t            parseArrayInitialiser = extra.parseArrayInitialiser;\n\t            parseAssignmentExpression = extra.parseAssignmentExpression;\n\t            parseBinaryExpression = extra.parseBinaryExpression;\n\t            parseBlock = extra.parseBlock;\n\t            parseFunctionSourceElements = extra.parseFunctionSourceElements;\n\t            parseCatchClause = extra.parseCatchClause;\n\t            parseComputedMember = extra.parseComputedMember;\n\t            parseConditionalExpression = extra.parseConditionalExpression;\n\t            parseConstLetDeclaration = extra.parseConstLetDeclaration;\n\t            parseExportBatchSpecifier = extra.parseExportBatchSpecifier;\n\t            parseExportDeclaration = extra.parseExportDeclaration;\n\t            parseExportSpecifier = extra.parseExportSpecifier;\n\t            parseExpression = extra.parseExpression;\n\t            parseForVariableDeclaration = extra.parseForVariableDeclaration;\n\t            parseFunctionDeclaration = extra.parseFunctionDeclaration;\n\t            parseFunctionExpression = extra.parseFunctionExpression;\n\t            parseImportDeclaration = extra.parseImportDeclaration;\n\t            parseImportSpecifier = extra.parseImportSpecifier;\n\t            parseGroupExpression = extra.parseGroupExpression;\n\t            parseLeftHandSideExpression = extra.parseLeftHandSideExpression;\n\t            parseLeftHandSideExpressionAllowCall = extra.parseLeftHandSideExpressionAllowCall;\n\t            parseModuleDeclaration = extra.parseModuleDeclaration;\n\t            parseModuleBlock = extra.parseModuleBlock;\n\t            parseNewExpression = extra.parseNewExpression;\n\t            parseNonComputedProperty = extra.parseNonComputedProperty;\n\t            parseObjectInitialiser = extra.parseObjectInitialiser;\n\t            parseObjectProperty = extra.parseObjectProperty;\n\t            parseObjectPropertyKey = extra.parseObjectPropertyKey;\n\t            parsePostfixExpression = extra.parsePostfixExpression;\n\t            parsePrimaryExpression = extra.parsePrimaryExpression;\n\t            parseProgram = extra.parseProgram;\n\t            parsePropertyFunction = extra.parsePropertyFunction;\n\t            parseTemplateElement = extra.parseTemplateElement;\n\t            parseTemplateLiteral = extra.parseTemplateLiteral;\n\t            parseSpreadOrAssignmentExpression = extra.parseSpreadOrAssignmentExpression;\n\t            parseStatement = extra.parseStatement;\n\t            parseSwitchCase = extra.parseSwitchCase;\n\t            parseUnaryExpression = extra.parseUnaryExpression;\n\t            parseVariableDeclaration = extra.parseVariableDeclaration;\n\t            parseVariableIdentifier = extra.parseVariableIdentifier;\n\t            parseMethodDefinition = extra.parseMethodDefinition;\n\t            parseClassDeclaration = extra.parseClassDeclaration;\n\t            parseClassExpression = extra.parseClassExpression;\n\t            parseClassBody = extra.parseClassBody;\n\t        }\n\n\t        if (typeof extra.scanRegExp === 'function') {\n\t            advance = extra.advance;\n\t            scanRegExp = extra.scanRegExp;\n\t        }\n\t    }\n\n\t    // This is used to modify the delegate.\n\n\t    function extend(object, properties) {\n\t        var entry, result = {};\n\n\t        for (entry in object) {\n\t            if (object.hasOwnProperty(entry)) {\n\t                result[entry] = object[entry];\n\t            }\n\t        }\n\n\t        for (entry in properties) {\n\t            if (properties.hasOwnProperty(entry)) {\n\t                result[entry] = properties[entry];\n\t            }\n\t        }\n\n\t        return result;\n\t    }\n\n\t    function tokenize(code, options) {\n\t        var toString,\n\t            token,\n\t            tokens;\n\n\t        toString = String;\n\t        if (typeof code !== 'string' && !(code instanceof String)) {\n\t            code = toString(code);\n\t        }\n\n\t        delegate = SyntaxTreeDelegate;\n\t        source = code;\n\t        index = 0;\n\t        lineNumber = (source.length > 0) ? 1 : 0;\n\t        lineStart = 0;\n\t        length = source.length;\n\t        lookahead = null;\n\t        state = {\n\t            allowKeyword: true,\n\t            allowIn: true,\n\t            labelSet: {},\n\t            inFunctionBody: false,\n\t            inIteration: false,\n\t            inSwitch: false\n\t        };\n\n\t        extra = {};\n\n\t        // Options matching.\n\t        options = options || {};\n\n\t        // Of course we collect tokens here.\n\t        options.tokens = true;\n\t        extra.tokens = [];\n\t        extra.tokenize = true;\n\t        // The following two fields are necessary to compute the Regex tokens.\n\t        extra.openParenToken = -1;\n\t        extra.openCurlyToken = -1;\n\n\t        extra.range = (typeof options.range === 'boolean') && options.range;\n\t        extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\n\t        if (typeof options.comment === 'boolean' && options.comment) {\n\t            extra.comments = [];\n\t        }\n\t        if (typeof options.tolerant === 'boolean' && options.tolerant) {\n\t            extra.errors = [];\n\t        }\n\n\t        if (length > 0) {\n\t            if (typeof source[0] === 'undefined') {\n\t                // Try first to convert to a string. This is good as fast path\n\t                // for old IE which understands string indexing for string\n\t                // literals only and not for string object.\n\t                if (code instanceof String) {\n\t                    source = code.valueOf();\n\t                }\n\t            }\n\t        }\n\n\t        patch();\n\n\t        try {\n\t            peek();\n\t            if (lookahead.type === Token.EOF) {\n\t                return extra.tokens;\n\t            }\n\n\t            token = lex();\n\t            while (lookahead.type !== Token.EOF) {\n\t                try {\n\t                    token = lex();\n\t                } catch (lexError) {\n\t                    token = lookahead;\n\t                    if (extra.errors) {\n\t                        extra.errors.push(lexError);\n\t                        // We have to break on the first error\n\t                        // to avoid infinite loops.\n\t                        break;\n\t                    } else {\n\t                        throw lexError;\n\t                    }\n\t                }\n\t            }\n\n\t            filterTokenLocation();\n\t            tokens = extra.tokens;\n\t            if (typeof extra.comments !== 'undefined') {\n\t                filterCommentLocation();\n\t                tokens.comments = extra.comments;\n\t            }\n\t            if (typeof extra.errors !== 'undefined') {\n\t                tokens.errors = extra.errors;\n\t            }\n\t        } catch (e) {\n\t            throw e;\n\t        } finally {\n\t            unpatch();\n\t            extra = {};\n\t        }\n\t        return tokens;\n\t    }\n\n\t    function parse(code, options) {\n\t        var program, toString;\n\n\t        toString = String;\n\t        if (typeof code !== 'string' && !(code instanceof String)) {\n\t            code = toString(code);\n\t        }\n\n\t        delegate = SyntaxTreeDelegate;\n\t        source = code;\n\t        index = 0;\n\t        lineNumber = (source.length > 0) ? 1 : 0;\n\t        lineStart = 0;\n\t        length = source.length;\n\t        lookahead = null;\n\t        state = {\n\t            allowKeyword: false,\n\t            allowIn: true,\n\t            labelSet: {},\n\t            parenthesizedCount: 0,\n\t            inFunctionBody: false,\n\t            inIteration: false,\n\t            inSwitch: false,\n\t            yieldAllowed: false,\n\t            yieldFound: false\n\t        };\n\n\t        extra = {};\n\t        if (typeof options !== 'undefined') {\n\t            extra.range = (typeof options.range === 'boolean') && options.range;\n\t            extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\n\t            if (extra.loc && options.source !== null && options.source !== undefined) {\n\t                delegate = extend(delegate, {\n\t                    'postProcess': function (node) {\n\t                        node.loc.source = toString(options.source);\n\t                        return node;\n\t                    }\n\t                });\n\t            }\n\n\t            if (typeof options.tokens === 'boolean' && options.tokens) {\n\t                extra.tokens = [];\n\t            }\n\t            if (typeof options.comment === 'boolean' && options.comment) {\n\t                extra.comments = [];\n\t            }\n\t            if (typeof options.tolerant === 'boolean' && options.tolerant) {\n\t                extra.errors = [];\n\t            }\n\t        }\n\n\t        if (length > 0) {\n\t            if (typeof source[0] === 'undefined') {\n\t                // Try first to convert to a string. This is good as fast path\n\t                // for old IE which understands string indexing for string\n\t                // literals only and not for string object.\n\t                if (code instanceof String) {\n\t                    source = code.valueOf();\n\t                }\n\t            }\n\t        }\n\n\t        patch();\n\t        try {\n\t            program = parseProgram();\n\t            if (typeof extra.comments !== 'undefined') {\n\t                filterCommentLocation();\n\t                program.comments = extra.comments;\n\t            }\n\t            if (typeof extra.tokens !== 'undefined') {\n\t                filterTokenLocation();\n\t                program.tokens = extra.tokens;\n\t            }\n\t            if (typeof extra.errors !== 'undefined') {\n\t                program.errors = extra.errors;\n\t            }\n\t            if (extra.range || extra.loc) {\n\t                program.body = filterGroup(program.body);\n\t            }\n\t        } catch (e) {\n\t            throw e;\n\t        } finally {\n\t            unpatch();\n\t            extra = {};\n\t        }\n\n\t        return program;\n\t    }\n\n\t    // Sync with *.json manifests.\n\t    exports.version = '1.1.0-dev-harmony';\n\n\t    exports.tokenize = tokenize;\n\n\t    exports.parse = parse;\n\n\t    // Deep copy.\n\t    exports.Syntax = (function () {\n\t        var name, types = {};\n\n\t        if (typeof Object.create === 'function') {\n\t            types = Object.create(null);\n\t        }\n\n\t        for (name in Syntax) {\n\t            if (Syntax.hasOwnProperty(name)) {\n\t                types[name] = Syntax[name];\n\t            }\n\t        }\n\n\t        if (typeof Object.freeze === 'function') {\n\t            Object.freeze(types);\n\t        }\n\n\t        return types;\n\t    }());\n\n\t}));\n\t/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n/***/ },\n/* 56 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar assert = __webpack_require__(2);\n\tvar is = __webpack_require__(57);\n\tvar fmt = __webpack_require__(58);\n\tvar stringmap = __webpack_require__(59);\n\tvar stringset = __webpack_require__(60);\n\tvar alter = __webpack_require__(61);\n\tvar traverse = __webpack_require__(63);\n\tvar breakable = __webpack_require__(64);\n\tvar Scope = __webpack_require__(65);\n\tvar error = __webpack_require__(66);\n\tvar options = __webpack_require__(67);\n\tvar Stats = __webpack_require__(69);\n\tvar jshint_vars = __webpack_require__(70);\n\n\n\tfunction getline(node) {\n\t    return node.loc.start.line;\n\t}\n\n\tfunction isConstLet(kind) {\n\t    return is.someof(kind, [\"const\", \"let\"]);\n\t}\n\n\tfunction isVarConstLet(kind) {\n\t    return is.someof(kind, [\"var\", \"const\", \"let\"]);\n\t}\n\n\tfunction isNonFunctionBlock(node) {\n\t    return node.type === \"BlockStatement\" && is.noneof(node.$parent.type, [\"FunctionDeclaration\", \"FunctionExpression\"]);\n\t}\n\n\tfunction isForWithConstLet(node) {\n\t    return node.type === \"ForStatement\" && node.init && node.init.type === \"VariableDeclaration\" && isConstLet(node.init.kind);\n\t}\n\n\tfunction isForInWithConstLet(node) {\n\t    return node.type === \"ForInStatement\" && node.left.type === \"VariableDeclaration\" && isConstLet(node.left.kind);\n\t}\n\n\tfunction isFunction(node) {\n\t    return is.someof(node.type, [\"FunctionDeclaration\", \"FunctionExpression\"]);\n\t}\n\n\tfunction isLoop(node) {\n\t    return is.someof(node.type, [\"ForStatement\", \"ForInStatement\", \"WhileStatement\", \"DoWhileStatement\"]);\n\t}\n\n\tfunction isReference(node) {\n\t    var parent = node.$parent;\n\t    return node.$refToScope ||\n\t        node.type === \"Identifier\" &&\n\t        !(parent.type === \"VariableDeclarator\" && parent.id === node) && // var|let|const $\n\t        !(parent.type === \"MemberExpression\" && parent.computed === false && parent.property === node) && // obj.$\n\t        !(parent.type === \"Property\" && parent.key === node) && // {$: ...}\n\t        !(parent.type === \"LabeledStatement\" && parent.label === node) && // $: ...\n\t        !(parent.type === \"CatchClause\" && parent.param === node) && // catch($)\n\t        !(isFunction(parent) && parent.id === node) && // function $(..\n\t        !(isFunction(parent) && is.someof(node, parent.params)) && // function f($)..\n\t        true;\n\t}\n\n\tfunction isLvalue(node) {\n\t    return isReference(node) &&\n\t        ((node.$parent.type === \"AssignmentExpression\" && node.$parent.left === node) ||\n\t            (node.$parent.type === \"UpdateExpression\" && node.$parent.argument === node));\n\t}\n\n\tfunction createScopes(node, parent) {\n\t    assert(!node.$scope);\n\n\t    node.$parent = parent;\n\t    node.$scope = node.$parent ? node.$parent.$scope : null; // may be overridden\n\n\t    if (node.type === \"Program\") {\n\t        // Top-level program is a scope\n\t        // There's no block-scope under it\n\t        node.$scope = new Scope({\n\t            kind: \"hoist\",\n\t            node: node,\n\t            parent: null,\n\t        });\n\n\t    } else if (isFunction(node)) {\n\t        // Function is a scope, with params in it\n\t        // There's no block-scope under it\n\n\t        node.$scope = new Scope({\n\t            kind: \"hoist\",\n\t            node: node,\n\t            parent: node.$parent.$scope,\n\t        });\n\n\t        // function has a name\n\t        if (node.id) {\n\t            assert(node.id.type === \"Identifier\");\n\n\t            if (node.type === \"FunctionDeclaration\") {\n\t                // Function name goes in parent scope for declared functions\n\t                node.$parent.$scope.add(node.id.name, \"fun\", node.id, null);\n\t            } else if (node.type === \"FunctionExpression\") {\n\t                // Function name goes in function's scope for named function expressions\n\t                node.$scope.add(node.id.name, \"fun\", node.id, null);\n\t            } else {\n\t                assert(false);\n\t            }\n\t        }\n\n\t        node.params.forEach(function(param) {\n\t            node.$scope.add(param.name, \"param\", param, null);\n\t        });\n\n\t    } else if (node.type === \"VariableDeclaration\") {\n\t        // Variable declarations names goes in current scope\n\t        assert(isVarConstLet(node.kind));\n\t        node.declarations.forEach(function(declarator) {\n\t            assert(declarator.type === \"VariableDeclarator\");\n\t            var name = declarator.id.name;\n\t            if (options.disallowVars && node.kind === \"var\") {\n\t                error(getline(declarator), \"var {0} is not allowed (use let or const)\", name);\n\t            }\n\t            node.$scope.add(name, node.kind, declarator.id, declarator.range[1]);\n\t        });\n\n\t    } else if (isForWithConstLet(node) || isForInWithConstLet(node)) {\n\t        // For(In) loop with const|let declaration is a scope, with declaration in it\n\t        // There may be a block-scope under it\n\t        node.$scope = new Scope({\n\t            kind: \"block\",\n\t            node: node,\n\t            parent: node.$parent.$scope,\n\t        });\n\n\t    } else if (isNonFunctionBlock(node)) {\n\t        // A block node is a scope unless parent is a function\n\t        node.$scope = new Scope({\n\t            kind: \"block\",\n\t            node: node,\n\t            parent: node.$parent.$scope,\n\t        });\n\n\t    } else if (node.type === \"CatchClause\") {\n\t        var identifier = node.param;\n\n\t        node.$scope = new Scope({\n\t            kind: \"catch-block\",\n\t            node: node,\n\t            parent: node.$parent.$scope,\n\t        });\n\t        node.$scope.add(identifier.name, \"caught\", identifier, null);\n\n\t        // All hoist-scope keeps track of which variables that are propagated through,\n\t        // i.e. an reference inside the scope points to a declaration outside the scope.\n\t        // This is used to mark \"taint\" the name since adding a new variable in the scope,\n\t        // with a propagated name, would change the meaning of the existing references.\n\t        //\n\t        // catch(e) is special because even though e is a variable in its own scope,\n\t        // we want to make sure that catch(e){let e} is never transformed to\n\t        // catch(e){var e} (but rather var e$0). For that reason we taint the use of e\n\t        // in the closest hoist-scope, i.e. where var e$0 belongs.\n\t        node.$scope.closestHoistScope().markPropagates(identifier.name);\n\t    }\n\t}\n\n\tfunction createTopScope(programScope, environments, globals) {\n\t    function inject(obj) {\n\t        for (var name in obj) {\n\t            var writeable = obj[name];\n\t            var kind = (writeable ? \"var\" : \"const\");\n\t            if (topScope.hasOwn(name)) {\n\t                topScope.remove(name);\n\t            }\n\t            topScope.add(name, kind, {loc: {start: {line: -1}}}, -1);\n\t        }\n\t    }\n\n\t    var topScope = new Scope({\n\t        kind: \"hoist\",\n\t        node: {},\n\t        parent: null,\n\t    });\n\n\t    var complementary = {\n\t        undefined: false,\n\t        Infinity: false,\n\t        console: false,\n\t    };\n\n\t    inject(complementary);\n\t    inject(jshint_vars.reservedVars);\n\t    inject(jshint_vars.ecmaIdentifiers);\n\t    if (environments) {\n\t        environments.forEach(function(env) {\n\t            if (!jshint_vars[env]) {\n\t                error(-1, 'environment \"{0}\" not found', env);\n\t            } else {\n\t                inject(jshint_vars[env]);\n\t            }\n\t        });\n\t    }\n\t    if (globals) {\n\t        inject(globals);\n\t    }\n\n\t    // link it in\n\t    programScope.parent = topScope;\n\t    topScope.children.push(programScope);\n\n\t    return topScope;\n\t}\n\n\tfunction setupReferences(ast, allIdentifiers, opts) {\n\t    var analyze = (is.own(opts, \"analyze\") ? opts.analyze : true);\n\n\t    function visit(node) {\n\t        if (!isReference(node)) {\n\t            return;\n\t        }\n\t        allIdentifiers.add(node.name);\n\n\t        var scope = node.$scope.lookup(node.name);\n\t        if (analyze && !scope && options.disallowUnknownReferences) {\n\t            error(getline(node), \"reference to unknown global variable {0}\", node.name);\n\t        }\n\t        // check const and let for referenced-before-declaration\n\t        if (analyze && scope && is.someof(scope.getKind(node.name), [\"const\", \"let\"])) {\n\t            var allowedFromPos = scope.getFromPos(node.name);\n\t            var referencedAtPos = node.range[0];\n\t            assert(is.finitenumber(allowedFromPos));\n\t            assert(is.finitenumber(referencedAtPos));\n\t            if (referencedAtPos < allowedFromPos) {\n\t                if (!node.$scope.hasFunctionScopeBetween(scope)) {\n\t                    error(getline(node), \"{0} is referenced before its declaration\", node.name);\n\t                }\n\t            }\n\t        }\n\t        node.$refToScope = scope;\n\t    }\n\n\t    traverse(ast, {pre: visit});\n\t}\n\n\t// TODO for loops init and body props are parallel to each other but init scope is outer that of body\n\t// TODO is this a problem?\n\n\tfunction varify(ast, stats, allIdentifiers, changes) {\n\t    function unique(name) {\n\t        assert(allIdentifiers.has(name));\n\t        for (var cnt = 0; ; cnt++) {\n\t            var genName = name + \"$\" + String(cnt);\n\t            if (!allIdentifiers.has(genName)) {\n\t                return genName;\n\t            }\n\t        }\n\t    }\n\n\t    function renameDeclarations(node) {\n\t        if (node.type === \"VariableDeclaration\" && isConstLet(node.kind)) {\n\t            var hoistScope = node.$scope.closestHoistScope();\n\t            var origScope = node.$scope;\n\n\t            // text change const|let => var\n\t            changes.push({\n\t                start: node.range[0],\n\t                end: node.range[0] + node.kind.length,\n\t                str: \"var\",\n\t            });\n\n\t            node.declarations.forEach(function(declarator) {\n\t                assert(declarator.type === \"VariableDeclarator\");\n\t                var name = declarator.id.name;\n\n\t                stats.declarator(node.kind);\n\n\t                // rename if\n\t                // 1) name already exists in hoistScope, or\n\t                // 2) name is already propagated (passed) through hoistScope or manually tainted\n\t                var rename = (origScope !== hoistScope &&\n\t                    (hoistScope.hasOwn(name) || hoistScope.doesPropagate(name)));\n\n\t                var newName = (rename ? unique(name) : name);\n\n\t                origScope.remove(name);\n\t                hoistScope.add(newName, \"var\", declarator.id, declarator.range[1]);\n\n\t                origScope.moves = origScope.moves || stringmap();\n\t                origScope.moves.set(name, {\n\t                    name: newName,\n\t                    scope: hoistScope,\n\t                });\n\n\t                allIdentifiers.add(newName);\n\n\t                if (newName !== name) {\n\t                    stats.rename(name, newName, getline(declarator));\n\n\t                    declarator.id.originalName = name;\n\t                    declarator.id.name = newName;\n\n\t                    // textchange var x => var x$1\n\t                    changes.push({\n\t                        start: declarator.id.range[0],\n\t                        end: declarator.id.range[1],\n\t                        str: newName,\n\t                    });\n\t                }\n\t            });\n\n\t            // ast change const|let => var\n\t            node.kind = \"var\";\n\t        }\n\t    }\n\n\t    function renameReferences(node) {\n\t        if (!node.$refToScope) {\n\t            return;\n\t        }\n\t        var move = node.$refToScope.moves && node.$refToScope.moves.get(node.name);\n\t        if (!move) {\n\t            return;\n\t        }\n\t        node.$refToScope = move.scope;\n\n\t        if (node.name !== move.name) {\n\t            node.originalName = node.name;\n\t            node.name = move.name;\n\n\t            if (node.alterop) {\n\t                // node has no range because it is the result of another alter operation\n\t                var existingOp = null;\n\t                for (var i = 0; i < changes.length; i++) {\n\t                    var op = changes[i];\n\t                    if (op.node === node) {\n\t                        existingOp = op;\n\t                        break;\n\t                    }\n\t                }\n\t                assert(existingOp);\n\n\t                // modify op\n\t                existingOp.str = move.name;\n\t            } else {\n\t                changes.push({\n\t                    start: node.range[0],\n\t                    end: node.range[1],\n\t                    str: move.name,\n\t                });\n\t            }\n\t        }\n\t    }\n\n\t    traverse(ast, {pre: renameDeclarations});\n\t    traverse(ast, {pre: renameReferences});\n\t    ast.$scope.traverse({pre: function(scope) {\n\t        delete scope.moves;\n\t    }});\n\t}\n\n\n\tfunction detectLoopClosures(ast) {\n\t    traverse(ast, {pre: visit});\n\n\t    function detectIifyBodyBlockers(body, node) {\n\t        return breakable(function(brk) {\n\t            traverse(body, {pre: function(n) {\n\t                // if we hit an inner function of the loop body, don't traverse further\n\t                if (isFunction(n)) {\n\t                    return false;\n\t                }\n\n\t                var err = true; // reset to false in else-statement below\n\t                var msg = \"loop-variable {0} is captured by a loop-closure that can't be transformed due to use of {1} at line {2}\";\n\t                if (n.type === \"BreakStatement\") {\n\t                    error(getline(node), msg, node.name, \"break\", getline(n));\n\t                } else if (n.type === \"ContinueStatement\") {\n\t                    error(getline(node), msg, node.name, \"continue\", getline(n));\n\t                } else if (n.type === \"ReturnStatement\") {\n\t                    error(getline(node), msg, node.name, \"return\", getline(n));\n\t                } else if (n.type === \"YieldExpression\") {\n\t                    error(getline(node), msg, node.name, \"yield\", getline(n));\n\t                } else if (n.type === \"Identifier\" && n.name === \"arguments\") {\n\t                    error(getline(node), msg, node.name, \"arguments\", getline(n));\n\t                } else if (n.type === \"VariableDeclaration\" && n.kind === \"var\") {\n\t                    error(getline(node), msg, node.name, \"var\", getline(n));\n\t                } else {\n\t                    err = false;\n\t                }\n\t                if (err) {\n\t                    brk(true); // break traversal\n\t                }\n\t            }});\n\t            return false;\n\t        });\n\t    }\n\n\t    function visit(node) {\n\t        // forbidden pattern:\n\t        // <any>* <loop> <non-fn>* <constlet-def> <any>* <fn> <any>* <constlet-ref>\n\t        var loopNode = null;\n\t        if (isReference(node) && node.$refToScope && isConstLet(node.$refToScope.getKind(node.name))) {\n\t            // traverse nodes up towards root from constlet-def\n\t            // if we hit a function (before a loop) - ok!\n\t            // if we hit a loop - maybe-ouch\n\t            // if we reach root - ok!\n\t            for (var n = node.$refToScope.node; ; ) {\n\t                if (isFunction(n)) {\n\t                    // we're ok (function-local)\n\t                    return;\n\t                } else if (isLoop(n)) {\n\t                    loopNode = n;\n\t                    // maybe not ok (between loop and function)\n\t                    break;\n\t                }\n\t                n = n.$parent;\n\t                if (!n) {\n\t                    // ok (reached root)\n\t                    return;\n\t                }\n\t            }\n\n\t            assert(isLoop(loopNode));\n\n\t            // traverse scopes from reference-scope up towards definition-scope\n\t            // if we hit a function, ouch!\n\t            var defScope = node.$refToScope;\n\t            var generateIIFE = (options.loopClosures === \"iife\");\n\n\t            for (var s = node.$scope; s; s = s.parent) {\n\t                if (s === defScope) {\n\t                    // we're ok\n\t                    return;\n\t                } else if (isFunction(s.node)) {\n\t                    // not ok (there's a function between the reference and definition)\n\t                    // may be transformable via IIFE\n\n\t                    if (!generateIIFE) {\n\t                        var msg = \"loop-variable {0} is captured by a loop-closure. Tried \\\"loopClosures\\\": \\\"iife\\\" in defs-config.json?\";\n\t                        return error(getline(node), msg, node.name);\n\t                    }\n\n\t                    // here be dragons\n\t                    // for (let x = ..; .. ; ..) { (function(){x})() } is forbidden because of current\n\t                    // spec and VM status\n\t                    if (loopNode.type === \"ForStatement\" && defScope.node === loopNode) {\n\t                        var declarationNode = defScope.getNode(node.name);\n\t                        return error(getline(declarationNode), \"Not yet specced ES6 feature. {0} is declared in for-loop header and then captured in loop closure\", declarationNode.name);\n\t                    }\n\n\t                    // speak now or forever hold your peace\n\t                    if (detectIifyBodyBlockers(loopNode.body, node)) {\n\t                        // error already generated\n\t                        return;\n\t                    }\n\n\t                    // mark loop for IIFE-insertion\n\t                    loopNode.$iify = true;\n\t                }\n\t            }\n\t        }\n\t    }\n\t}\n\n\tfunction transformLoopClosures(root, ops, options) {\n\t    function insertOp(pos, str, node) {\n\t        var op = {\n\t            start: pos,\n\t            end: pos,\n\t            str: str,\n\t        }\n\t        if (node) {\n\t            op.node = node;\n\t        }\n\t        ops.push(op);\n\t    }\n\n\t    traverse(root, {pre: function(node) {\n\t        if (!node.$iify) {\n\t            return;\n\t        }\n\n\t        var hasBlock = (node.body.type === \"BlockStatement\");\n\n\t        var insertHead = (hasBlock ?\n\t            node.body.range[0] + 1 : // just after body {\n\t            node.body.range[0]); // just before existing expression\n\t        var insertFoot = (hasBlock ?\n\t            node.body.range[1] - 1 : // just before body }\n\t            node.body.range[1]);  // just after existing expression\n\n\t        var forInName = (node.type === \"ForInStatement\" && node.left.declarations[0].id.name);;\n\t        var iifeHead = fmt(\"(function({0}){\", forInName ? forInName : \"\");\n\t        var iifeTail = fmt(\"}).call(this{0});\", forInName ? \", \" + forInName : \"\");\n\n\t        // modify AST\n\t        var iifeFragment = options.parse(iifeHead + iifeTail);\n\t        var iifeExpressionStatement = iifeFragment.body[0];\n\t        var iifeBlockStatement = iifeExpressionStatement.expression.callee.object.body;\n\n\t        if (hasBlock) {\n\t            var forBlockStatement = node.body;\n\t            var tmp = forBlockStatement.body;\n\t            forBlockStatement.body = [iifeExpressionStatement];\n\t            iifeBlockStatement.body = tmp;\n\t        } else {\n\t            var tmp$0 = node.body;\n\t            node.body = iifeExpressionStatement;\n\t            iifeBlockStatement.body[0] = tmp$0;\n\t        }\n\n\t        // create ops\n\t        insertOp(insertHead, iifeHead);\n\n\t        if (forInName) {\n\t            insertOp(insertFoot, \"}).call(this, \");\n\n\t            var args = iifeExpressionStatement.expression.arguments;\n\t            var iifeArgumentIdentifier = args[1];\n\t            iifeArgumentIdentifier.alterop = true;\n\t            insertOp(insertFoot, forInName, iifeArgumentIdentifier);\n\n\t            insertOp(insertFoot, \");\");\n\t        } else {\n\t            insertOp(insertFoot, iifeTail);\n\t        }\n\t    }});\n\t}\n\n\tfunction detectConstAssignment(ast) {\n\t    traverse(ast, {pre: function(node) {\n\t        if (isLvalue(node)) {\n\t            var scope = node.$scope.lookup(node.name);\n\t            if (scope && scope.getKind(node.name) === \"const\") {\n\t                error(getline(node), \"can't assign to const variable {0}\", node.name);\n\t            }\n\t        }\n\t    }});\n\t}\n\n\tfunction detectConstantLets(ast) {\n\t    traverse(ast, {pre: function(node) {\n\t        if (isLvalue(node)) {\n\t            var scope = node.$scope.lookup(node.name);\n\t            if (scope) {\n\t                scope.markWrite(node.name);\n\t            }\n\t        }\n\t    }});\n\n\t    ast.$scope.detectUnmodifiedLets();\n\t}\n\n\tfunction setupScopeAndReferences(root, opts) {\n\t    // setup scopes\n\t    traverse(root, {pre: createScopes});\n\t    var topScope = createTopScope(root.$scope, options.environments, options.globals);\n\n\t    // allIdentifiers contains all declared and referenced vars\n\t    // collect all declaration names (including those in topScope)\n\t    var allIdentifiers = stringset();\n\t    topScope.traverse({pre: function(scope) {\n\t        allIdentifiers.addMany(scope.decls.keys());\n\t    }});\n\n\t    // setup node.$refToScope, check for errors.\n\t    // also collects all referenced names to allIdentifiers\n\t    setupReferences(root, allIdentifiers, opts);\n\t    return allIdentifiers;\n\t}\n\n\tfunction cleanupTree(root) {\n\t    traverse(root, {pre: function(node) {\n\t        for (var prop in node) {\n\t            if (prop[0] === \"$\") {\n\t                delete node[prop];\n\t            }\n\t        }\n\t    }});\n\t}\n\n\tfunction run(src, config) {\n\t    // alter the options singleton with user configuration\n\t    for (var key in config) {\n\t        options[key] = config[key];\n\t    }\n\n\t    var parsed;\n\n\t    if (is.object(src)) {\n\t        if (!options.ast) {\n\t            return {\n\t                errors: [\n\t                    \"Can't produce string output when input is an AST. \" +\n\t                    \"Did you forget to set options.ast = true?\"\n\t                ],\n\t            };\n\t        }\n\n\t        // Received an AST object as src, so no need to parse it.\n\t        parsed = src;\n\n\t    } else if (is.string(src)) {\n\t        try {\n\t            parsed = options.parse(src, {\n\t                loc: true,\n\t                range: true,\n\t            });\n\t        } catch (e) {\n\t            return {\n\t                errors: [\n\t                    fmt(\"line {0} column {1}: Error during input file parsing\\n{2}\\n{3}\",\n\t                        e.lineNumber,\n\t                        e.column,\n\t                        src.split(\"\\n\")[e.lineNumber - 1],\n\t                        fmt.repeat(\" \", e.column - 1) + \"^\")\n\t                ],\n\t            };\n\t        }\n\n\t    } else {\n\t        return {\n\t            errors: [\"Input was neither an AST object nor a string.\"],\n\t        };\n\t    }\n\n\t    var ast = parsed;\n\n\t    // TODO detect unused variables (never read)\n\t    error.reset();\n\n\t    var allIdentifiers = setupScopeAndReferences(ast, {});\n\n\t    // static analysis passes\n\t    detectLoopClosures(ast);\n\t    detectConstAssignment(ast);\n\t    //detectConstantLets(ast);\n\n\t    var changes = [];\n\t    transformLoopClosures(ast, changes, options);\n\n\t    //ast.$scope.print(); process.exit(-1);\n\n\t    if (error.errors.length >= 1) {\n\t        return {\n\t            errors: error.errors,\n\t        };\n\t    }\n\n\t    if (changes.length > 0) {\n\t        cleanupTree(ast);\n\t        allIdentifiers = setupScopeAndReferences(ast, {analyze: false});\n\t    }\n\t    assert(error.errors.length === 0);\n\n\t    // change constlet declarations to var, renamed if needed\n\t    // varify modifies the scopes and AST accordingly and\n\t    // returns a list of change fragments (to use with alter)\n\t    var stats = new Stats();\n\t    varify(ast, stats, allIdentifiers, changes);\n\n\t    if (options.ast) {\n\t        // return the modified AST instead of src code\n\t        // get rid of all added $ properties first, such as $parent and $scope\n\t        cleanupTree(ast);\n\t        return {\n\t            stats: stats,\n\t            ast: ast,\n\t        };\n\t    } else {\n\t        // apply changes produced by varify and return the transformed src\n\t        var transformedSrc = alter(src, changes);\n\t        return {\n\t            stats: stats,\n\t            src: transformedSrc,\n\t        };\n\t    }\n\t}\n\n\tmodule.exports = run;\n\n\n/***/ },\n/* 57 */\n/***/ function(module, exports) {\n\n\t// simple-is.js\n\t// MIT licensed, see LICENSE file\n\t// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\n\tvar is = (function() {\n\t    \"use strict\";\n\n\t    var hasOwnProperty = Object.prototype.hasOwnProperty;\n\t    var toString = Object.prototype.toString;\n\t    var _undefined = void 0;\n\n\t    return {\n\t        nan: function(v) {\n\t            return v !== v;\n\t        },\n\t        boolean: function(v) {\n\t            return typeof v === \"boolean\";\n\t        },\n\t        number: function(v) {\n\t            return typeof v === \"number\";\n\t        },\n\t        string: function(v) {\n\t            return typeof v === \"string\";\n\t        },\n\t        fn: function(v) {\n\t            return typeof v === \"function\";\n\t        },\n\t        object: function(v) {\n\t            return v !== null && typeof v === \"object\";\n\t        },\n\t        primitive: function(v) {\n\t            var t = typeof v;\n\t            return v === null || v === _undefined ||\n\t                t === \"boolean\" || t === \"number\" || t === \"string\";\n\t        },\n\t        array: Array.isArray || function(v) {\n\t            return toString.call(v) === \"[object Array]\";\n\t        },\n\t        finitenumber: function(v) {\n\t            return typeof v === \"number\" && isFinite(v);\n\t        },\n\t        someof: function(v, values) {\n\t            return values.indexOf(v) >= 0;\n\t        },\n\t        noneof: function(v, values) {\n\t            return values.indexOf(v) === -1;\n\t        },\n\t        own: function(obj, prop) {\n\t            return hasOwnProperty.call(obj, prop);\n\t        },\n\t    };\n\t})();\n\n\tif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n\t    module.exports = is;\n\t}\n\n\n/***/ },\n/* 58 */\n/***/ function(module, exports) {\n\n\t// simple-fmt.js\n\t// MIT licensed, see LICENSE file\n\t// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\n\tvar fmt = (function() {\n\t    \"use strict\";\n\n\t    function fmt(str, var_args) {\n\t        var args = Array.prototype.slice.call(arguments, 1);\n\t        return str.replace(/\\{(\\d+)\\}/g, function(s, match) {\n\t            return (match in args ? args[match] : s);\n\t        });\n\t    }\n\n\t    function obj(str, obj) {\n\t        return str.replace(/\\{([_$a-zA-Z0-9][_$a-zA-Z0-9]*)\\}/g, function(s, match) {\n\t            return (match in obj ? obj[match] : s);\n\t        });\n\t    }\n\n\t    function repeat(str, n) {\n\t        return (new Array(n + 1)).join(str);\n\t    }\n\n\t    fmt.fmt = fmt;\n\t    fmt.obj = obj;\n\t    fmt.repeat = repeat;\n\t    return fmt;\n\t})();\n\n\tif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n\t    module.exports = fmt;\n\t}\n\n\n/***/ },\n/* 59 */\n/***/ function(module, exports) {\n\n\t// stringmap.js\n\t// MIT licensed, see LICENSE file\n\t// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\n\tvar StringMap = (function() {\n\t    \"use strict\";\n\n\t    // to save us a few characters\n\t    var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n\t    var create = (function() {\n\t        function hasOwnEnumerableProps(obj) {\n\t            for (var prop in obj) {\n\t                if (hasOwnProperty.call(obj, prop)) {\n\t                    return true;\n\t                }\n\t            }\n\t            return false;\n\t        }\n\t        // FF <= 3.6:\n\t        // o = {}; o.hasOwnProperty(\"__proto__\" or \"__count__\" or \"__parent__\") => true\n\t        // o = {\"__proto__\": null}; Object.prototype.hasOwnProperty.call(o, \"__proto__\" or \"__count__\" or \"__parent__\") => false\n\t        function hasOwnPollutedProps(obj) {\n\t            return hasOwnProperty.call(obj, \"__count__\") || hasOwnProperty.call(obj, \"__parent__\");\n\t        }\n\n\t        var useObjectCreate = false;\n\t        if (typeof Object.create === \"function\") {\n\t            if (!hasOwnEnumerableProps(Object.create(null))) {\n\t                useObjectCreate = true;\n\t            }\n\t        }\n\t        if (useObjectCreate === false) {\n\t            if (hasOwnEnumerableProps({})) {\n\t                throw new Error(\"StringMap environment error 0, please file a bug at https://github.com/olov/stringmap/issues\");\n\t            }\n\t        }\n\t        // no throw yet means we can create objects without own enumerable props (safe-guard against VMs and shims)\n\n\t        var o = (useObjectCreate ? Object.create(null) : {});\n\t        var useProtoClear = false;\n\t        if (hasOwnPollutedProps(o)) {\n\t            o.__proto__ = null;\n\t            if (hasOwnEnumerableProps(o) || hasOwnPollutedProps(o)) {\n\t                throw new Error(\"StringMap environment error 1, please file a bug at https://github.com/olov/stringmap/issues\");\n\t            }\n\t            useProtoClear = true;\n\t        }\n\t        // no throw yet means we can create objects without own polluted props (safe-guard against VMs and shims)\n\n\t        return function() {\n\t            var o = (useObjectCreate ? Object.create(null) : {});\n\t            if (useProtoClear) {\n\t                o.__proto__ = null;\n\t            }\n\t            return o;\n\t        };\n\t    })();\n\n\t    // stringmap ctor\n\t    function stringmap(optional_object) {\n\t        // use with or without new\n\t        if (!(this instanceof stringmap)) {\n\t            return new stringmap(optional_object);\n\t        }\n\t        this.obj = create();\n\t        this.hasProto = false; // false (no __proto__ key) or true (has __proto__ key)\n\t        this.proto = undefined; // value for __proto__ key when hasProto is true, undefined otherwise\n\n\t        if (optional_object) {\n\t            this.setMany(optional_object);\n\t        }\n\t    };\n\n\t    // primitive methods that deals with data representation\n\t    stringmap.prototype.has = function(key) {\n\t        // The type-check of key in has, get, set and delete is important because otherwise an object\n\t        // {toString: function() { return \"__proto__\"; }} can avoid the key === \"__proto__\" test.\n\t        // The alternative to type-checking would be to force string conversion, i.e. key = String(key);\n\t        if (typeof key !== \"string\") {\n\t            throw new Error(\"StringMap expected string key\");\n\t        }\n\t        return (key === \"__proto__\" ?\n\t            this.hasProto :\n\t            hasOwnProperty.call(this.obj, key));\n\t    };\n\n\t    stringmap.prototype.get = function(key) {\n\t        if (typeof key !== \"string\") {\n\t            throw new Error(\"StringMap expected string key\");\n\t        }\n\t        return (key === \"__proto__\" ?\n\t            this.proto :\n\t            (hasOwnProperty.call(this.obj, key) ? this.obj[key] : undefined));\n\t    };\n\n\t    stringmap.prototype.set = function(key, value) {\n\t        if (typeof key !== \"string\") {\n\t            throw new Error(\"StringMap expected string key\");\n\t        }\n\t        if (key === \"__proto__\") {\n\t            this.hasProto = true;\n\t            this.proto = value;\n\t        } else {\n\t            this.obj[key] = value;\n\t        }\n\t    };\n\n\t    stringmap.prototype.remove = function(key) {\n\t        if (typeof key !== \"string\") {\n\t            throw new Error(\"StringMap expected string key\");\n\t        }\n\t        var didExist = this.has(key);\n\t        if (key === \"__proto__\") {\n\t            this.hasProto = false;\n\t            this.proto = undefined;\n\t        } else {\n\t            delete this.obj[key];\n\t        }\n\t        return didExist;\n\t    };\n\n\t    // alias remove to delete but beware:\n\t    // sm.delete(\"key\"); // OK in ES5 and later\n\t    // sm['delete'](\"key\"); // OK in all ES versions\n\t    // sm.remove(\"key\"); // OK in all ES versions\n\t    stringmap.prototype['delete'] = stringmap.prototype.remove;\n\n\t    stringmap.prototype.isEmpty = function() {\n\t        for (var key in this.obj) {\n\t            if (hasOwnProperty.call(this.obj, key)) {\n\t                return false;\n\t            }\n\t        }\n\t        return !this.hasProto;\n\t    };\n\n\t    stringmap.prototype.size = function() {\n\t        var len = 0;\n\t        for (var key in this.obj) {\n\t            if (hasOwnProperty.call(this.obj, key)) {\n\t                ++len;\n\t            }\n\t        }\n\t        return (this.hasProto ? len + 1 : len);\n\t    };\n\n\t    stringmap.prototype.keys = function() {\n\t        var keys = [];\n\t        for (var key in this.obj) {\n\t            if (hasOwnProperty.call(this.obj, key)) {\n\t                keys.push(key);\n\t            }\n\t        }\n\t        if (this.hasProto) {\n\t            keys.push(\"__proto__\");\n\t        }\n\t        return keys;\n\t    };\n\n\t    stringmap.prototype.values = function() {\n\t        var values = [];\n\t        for (var key in this.obj) {\n\t            if (hasOwnProperty.call(this.obj, key)) {\n\t                values.push(this.obj[key]);\n\t            }\n\t        }\n\t        if (this.hasProto) {\n\t            values.push(this.proto);\n\t        }\n\t        return values;\n\t    };\n\n\t    stringmap.prototype.items = function() {\n\t        var items = [];\n\t        for (var key in this.obj) {\n\t            if (hasOwnProperty.call(this.obj, key)) {\n\t                items.push([key, this.obj[key]]);\n\t            }\n\t        }\n\t        if (this.hasProto) {\n\t            items.push([\"__proto__\", this.proto]);\n\t        }\n\t        return items;\n\t    };\n\n\n\t    // methods that rely on the above primitives\n\t    stringmap.prototype.setMany = function(object) {\n\t        if (object === null || (typeof object !== \"object\" && typeof object !== \"function\")) {\n\t            throw new Error(\"StringMap expected Object\");\n\t        }\n\t        for (var key in object) {\n\t            if (hasOwnProperty.call(object, key)) {\n\t                this.set(key, object[key]);\n\t            }\n\t        }\n\t        return this;\n\t    };\n\n\t    stringmap.prototype.merge = function(other) {\n\t        var keys = other.keys();\n\t        for (var i = 0; i < keys.length; i++) {\n\t            var key = keys[i];\n\t            this.set(key, other.get(key));\n\t        }\n\t        return this;\n\t    };\n\n\t    stringmap.prototype.map = function(fn) {\n\t        var keys = this.keys();\n\t        for (var i = 0; i < keys.length; i++) {\n\t            var key = keys[i];\n\t            keys[i] = fn(this.get(key), key); // re-use keys array for results\n\t        }\n\t        return keys;\n\t    };\n\n\t    stringmap.prototype.forEach = function(fn) {\n\t        var keys = this.keys();\n\t        for (var i = 0; i < keys.length; i++) {\n\t            var key = keys[i];\n\t            fn(this.get(key), key);\n\t        }\n\t    };\n\n\t    stringmap.prototype.clone = function() {\n\t        var other = stringmap();\n\t        return other.merge(this);\n\t    };\n\n\t    stringmap.prototype.toString = function() {\n\t        var self = this;\n\t        return \"{\" + this.keys().map(function(key) {\n\t            return JSON.stringify(key) + \":\" + JSON.stringify(self.get(key));\n\t        }).join(\",\") + \"}\";\n\t    };\n\n\t    return stringmap;\n\t})();\n\n\tif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n\t    module.exports = StringMap;\n\t}\n\n\n/***/ },\n/* 60 */\n/***/ function(module, exports) {\n\n\t// stringset.js\n\t// MIT licensed, see LICENSE file\n\t// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\n\tvar StringSet = (function() {\n\t    \"use strict\";\n\n\t    // to save us a few characters\n\t    var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n\t    var create = (function() {\n\t        function hasOwnEnumerableProps(obj) {\n\t            for (var prop in obj) {\n\t                if (hasOwnProperty.call(obj, prop)) {\n\t                    return true;\n\t                }\n\t            }\n\t            return false;\n\t        }\n\n\t        // FF <= 3.6:\n\t        // o = {}; o.hasOwnProperty(\"__proto__\" or \"__count__\" or \"__parent__\") => true\n\t        // o = {\"__proto__\": null}; Object.prototype.hasOwnProperty.call(o, \"__proto__\" or \"__count__\" or \"__parent__\") => false\n\t        function hasOwnPollutedProps(obj) {\n\t            return hasOwnProperty.call(obj, \"__count__\") || hasOwnProperty.call(obj, \"__parent__\");\n\t        }\n\n\t        var useObjectCreate = false;\n\t        if (typeof Object.create === \"function\") {\n\t            if (!hasOwnEnumerableProps(Object.create(null))) {\n\t                useObjectCreate = true;\n\t            }\n\t        }\n\t        if (useObjectCreate === false) {\n\t            if (hasOwnEnumerableProps({})) {\n\t                throw new Error(\"StringSet environment error 0, please file a bug at https://github.com/olov/stringset/issues\");\n\t            }\n\t        }\n\t        // no throw yet means we can create objects without own enumerable props (safe-guard against VMs and shims)\n\n\t        var o = (useObjectCreate ? Object.create(null) : {});\n\t        var useProtoClear = false;\n\t        if (hasOwnPollutedProps(o)) {\n\t            o.__proto__ = null;\n\t            if (hasOwnEnumerableProps(o) || hasOwnPollutedProps(o)) {\n\t                throw new Error(\"StringSet environment error 1, please file a bug at https://github.com/olov/stringset/issues\");\n\t            }\n\t            useProtoClear = true;\n\t        }\n\t        // no throw yet means we can create objects without own polluted props (safe-guard against VMs and shims)\n\n\t        return function() {\n\t            var o = (useObjectCreate ? Object.create(null) : {});\n\t            if (useProtoClear) {\n\t                o.__proto__ = null;\n\t            }\n\t            return o;\n\t        };\n\t    })();\n\n\t    // stringset ctor\n\t    function stringset(optional_array) {\n\t        // use with or without new\n\t        if (!(this instanceof stringset)) {\n\t            return new stringset(optional_array);\n\t        }\n\t        this.obj = create();\n\t        this.hasProto = false; // false (no __proto__ item) or true (has __proto__ item)\n\n\t        if (optional_array) {\n\t            this.addMany(optional_array);\n\t        }\n\t    };\n\n\t    // primitive methods that deals with data representation\n\t    stringset.prototype.has = function(item) {\n\t        // The type-check of item in has, get, set and delete is important because otherwise an object\n\t        // {toString: function() { return \"__proto__\"; }} can avoid the item === \"__proto__\" test.\n\t        // The alternative to type-checking would be to force string conversion, i.e. item = String(item);\n\t        if (typeof item !== \"string\") {\n\t            throw new Error(\"StringSet expected string item\");\n\t        }\n\t        return (item === \"__proto__\" ?\n\t            this.hasProto :\n\t            hasOwnProperty.call(this.obj, item));\n\t    };\n\n\t    stringset.prototype.add = function(item) {\n\t        if (typeof item !== \"string\") {\n\t            throw new Error(\"StringSet expected string item\");\n\t        }\n\t        if (item === \"__proto__\") {\n\t            this.hasProto = true;\n\t        } else {\n\t            this.obj[item] = true;\n\t        }\n\t    };\n\n\t    stringset.prototype.remove = function(item) {\n\t        if (typeof item !== \"string\") {\n\t            throw new Error(\"StringSet expected string item\");\n\t        }\n\t        var didExist = this.has(item);\n\t        if (item === \"__proto__\") {\n\t            this.hasProto = false;\n\t        } else {\n\t            delete this.obj[item];\n\t        }\n\t        return didExist;\n\t    };\n\n\t    // alias remove to delete but beware:\n\t    // ss.delete(\"key\"); // OK in ES5 and later\n\t    // ss['delete'](\"key\"); // OK in all ES versions\n\t    // ss.remove(\"key\"); // OK in all ES versions\n\t    stringset.prototype['delete'] = stringset.prototype.remove;\n\n\t    stringset.prototype.isEmpty = function() {\n\t        for (var item in this.obj) {\n\t            if (hasOwnProperty.call(this.obj, item)) {\n\t                return false;\n\t            }\n\t        }\n\t        return !this.hasProto;\n\t    };\n\n\t    stringset.prototype.size = function() {\n\t        var len = 0;\n\t        for (var item in this.obj) {\n\t            if (hasOwnProperty.call(this.obj, item)) {\n\t                ++len;\n\t            }\n\t        }\n\t        return (this.hasProto ? len + 1 : len);\n\t    };\n\n\t    stringset.prototype.items = function() {\n\t        var items = [];\n\t        for (var item in this.obj) {\n\t            if (hasOwnProperty.call(this.obj, item)) {\n\t                items.push(item);\n\t            }\n\t        }\n\t        if (this.hasProto) {\n\t            items.push(\"__proto__\");\n\t        }\n\t        return items;\n\t    };\n\n\n\t    // methods that rely on the above primitives\n\t    stringset.prototype.addMany = function(items) {\n\t        if (!Array.isArray(items)) {\n\t            throw new Error(\"StringSet expected array\");\n\t        }\n\t        for (var i = 0; i < items.length; i++) {\n\t            this.add(items[i]);\n\t        }\n\t        return this;\n\t    };\n\n\t    stringset.prototype.merge = function(other) {\n\t        this.addMany(other.items());\n\t        return this;\n\t    };\n\n\t    stringset.prototype.clone = function() {\n\t        var other = stringset();\n\t        return other.merge(this);\n\t    };\n\n\t    stringset.prototype.toString = function() {\n\t        return \"{\" + this.items().map(JSON.stringify).join(\",\") + \"}\";\n\t    };\n\n\t    return stringset;\n\t})();\n\n\tif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n\t    module.exports = StringSet;\n\t}\n\n\n/***/ },\n/* 61 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// alter.js\n\t// MIT licensed, see LICENSE file\n\t// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\n\tvar assert = __webpack_require__(2);\n\tvar stableSort = __webpack_require__(62);\n\n\t// fragments is a list of {start: index, end: index, str: string to replace with}\n\tfunction alter(str, fragments) {\n\t    \"use strict\";\n\n\t    var isArray = Array.isArray || function(v) {\n\t        return Object.prototype.toString.call(v) === \"[object Array]\";\n\t    };;\n\n\t    assert(typeof str === \"string\");\n\t    assert(isArray(fragments));\n\n\t    // stableSort isn't in-place so no need to copy array first\n\t    var sortedFragments = stableSort(fragments, function(a, b) {\n\t        return a.start - b.start;\n\t    });\n\n\t    var outs = [];\n\n\t    var pos = 0;\n\t    for (var i = 0; i < sortedFragments.length; i++) {\n\t        var frag = sortedFragments[i];\n\n\t        assert(pos <= frag.start);\n\t        assert(frag.start <= frag.end);\n\t        outs.push(str.slice(pos, frag.start));\n\t        outs.push(frag.str);\n\t        pos = frag.end;\n\t    }\n\t    if (pos < str.length) {\n\t        outs.push(str.slice(pos));\n\t    }\n\n\t    return outs.join(\"\");\n\t}\n\n\tif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n\t    module.exports = alter;\n\t}\n\n\n/***/ },\n/* 62 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t//! stable.js 0.1.4, https://github.com/Two-Screen/stable\n\t//! © 2012 Stéphan Kochen, Angry Bytes. MIT licensed.\n\n\t(function() {\n\n\t// A stable array sort, because `Array#sort()` is not guaranteed stable.\n\t// This is an implementation of merge sort, without recursion.\n\n\tvar stable = function(arr, comp) {\n\t    return exec(arr.slice(), comp);\n\t};\n\n\tstable.inplace = function(arr, comp) {\n\t    var result = exec(arr, comp);\n\n\t    // This simply copies back if the result isn't in the original array,\n\t    // which happens on an odd number of passes.\n\t    if (result !== arr) {\n\t        pass(result, null, arr.length, arr);\n\t    }\n\n\t    return arr;\n\t};\n\n\t// Execute the sort using the input array and a second buffer as work space.\n\t// Returns one of those two, containing the final result.\n\tfunction exec(arr, comp) {\n\t    if (typeof(comp) !== 'function') {\n\t        comp = function(a, b) {\n\t            return String(a).localeCompare(b);\n\t        };\n\t    }\n\n\t    // Short-circuit when there's nothing to sort.\n\t    var len = arr.length;\n\t    if (len <= 1) {\n\t        return arr;\n\t    }\n\n\t    // Rather than dividing input, simply iterate chunks of 1, 2, 4, 8, etc.\n\t    // Chunks are the size of the left or right hand in merge sort.\n\t    // Stop when the left-hand covers all of the array.\n\t    var buffer = new Array(len);\n\t    for (var chk = 1; chk < len; chk *= 2) {\n\t        pass(arr, comp, chk, buffer);\n\n\t        var tmp = arr;\n\t        arr = buffer;\n\t        buffer = tmp;\n\t    }\n\n\t    return arr;\n\t}\n\n\t// Run a single pass with the given chunk size.\n\tvar pass = function(arr, comp, chk, result) {\n\t    var len = arr.length;\n\t    var i = 0;\n\t    // Step size / double chunk size.\n\t    var dbl = chk * 2;\n\t    // Bounds of the left and right chunks.\n\t    var l, r, e;\n\t    // Iterators over the left and right chunk.\n\t    var li, ri;\n\n\t    // Iterate over pairs of chunks.\n\t    for (l = 0; l < len; l += dbl) {\n\t        r = l + chk;\n\t        e = r + chk;\n\t        if (r > len) r = len;\n\t        if (e > len) e = len;\n\n\t        // Iterate both chunks in parallel.\n\t        li = l;\n\t        ri = r;\n\t        while (true) {\n\t            // Compare the chunks.\n\t            if (li < r && ri < e) {\n\t                // This works for a regular `sort()` compatible comparator,\n\t                // but also for a simple comparator like: `a > b`\n\t                if (comp(arr[li], arr[ri]) <= 0) {\n\t                    result[i++] = arr[li++];\n\t                }\n\t                else {\n\t                    result[i++] = arr[ri++];\n\t                }\n\t            }\n\t            // Nothing to compare, just flush what's left.\n\t            else if (li < r) {\n\t                result[i++] = arr[li++];\n\t            }\n\t            else if (ri < e) {\n\t                result[i++] = arr[ri++];\n\t            }\n\t            // Both iterators are at the chunk ends.\n\t            else {\n\t                break;\n\t            }\n\t        }\n\t    }\n\t};\n\n\t// Export using CommonJS or to the window.\n\tif (true) {\n\t    module.exports = stable;\n\t}\n\telse {\n\t    window.stable = stable;\n\t}\n\n\t})();\n\n\n/***/ },\n/* 63 */\n/***/ function(module, exports) {\n\n\tfunction traverse(root, options) {\n\t    \"use strict\";\n\n\t    options = options || {};\n\t    var pre = options.pre;\n\t    var post = options.post;\n\t    var skipProperty = options.skipProperty;\n\n\t    function visit(node, parent, prop, idx) {\n\t        if (!node || typeof node.type !== \"string\") {\n\t            return;\n\t        }\n\n\t        var res = undefined;\n\t        if (pre) {\n\t            res = pre(node, parent, prop, idx);\n\t        }\n\n\t        if (res !== false) {\n\t            for (var prop in node) {\n\t                if (skipProperty ? skipProperty(prop, node) : prop[0] === \"$\") {\n\t                    continue;\n\t                }\n\n\t                var child = node[prop];\n\n\t                if (Array.isArray(child)) {\n\t                    for (var i = 0; i < child.length; i++) {\n\t                        visit(child[i], node, prop, i);\n\t                    }\n\t                } else {\n\t                    visit(child, node, prop);\n\t                }\n\t            }\n\t        }\n\n\t        if (post) {\n\t            post(node, parent, prop, idx);\n\t        }\n\t    }\n\n\t    visit(root, null);\n\t};\n\n\tif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n\t    module.exports = traverse;\n\t}\n\n\n/***/ },\n/* 64 */\n/***/ function(module, exports) {\n\n\t// breakable.js\n\t// MIT licensed, see LICENSE file\n\t// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\n\tvar breakable = (function() {\n\t    \"use strict\";\n\n\t    function Val(val) {\n\t        this.val = val;\n\t    }\n\n\t    function brk(val) {\n\t        throw new Val(val);\n\t    }\n\n\t    function breakable(fn) {\n\t        try {\n\t            return fn(brk);\n\t        } catch (e) {\n\t            if (e instanceof Val) {\n\t                return e.val;\n\t            }\n\t            throw e;\n\t        }\n\t    }\n\n\t    breakable.fn = function breakablefn(fn) {\n\t        return breakable.bind(null, fn);\n\t    };\n\n\t    return breakable;\n\t})();\n\n\tif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n\t    module.exports = breakable;\n\t}\n\n\n/***/ },\n/* 65 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar assert = __webpack_require__(2);\n\tvar stringmap = __webpack_require__(59);\n\tvar stringset = __webpack_require__(60);\n\tvar is = __webpack_require__(57);\n\tvar fmt = __webpack_require__(58);\n\tvar error = __webpack_require__(66);\n\tvar options = __webpack_require__(67);\n\n\tfunction Scope(args) {\n\t    assert(is.someof(args.kind, [\"hoist\", \"block\", \"catch-block\"]));\n\t    assert(is.object(args.node));\n\t    assert(args.parent === null || is.object(args.parent));\n\n\t    // kind === \"hoist\": function scopes, program scope, injected globals\n\t    // kind === \"block\": ES6 block scopes\n\t    // kind === \"catch-block\": catch block scopes\n\t    this.kind = args.kind;\n\n\t    // the AST node the block corresponds to\n\t    this.node = args.node;\n\n\t    // parent scope\n\t    this.parent = args.parent;\n\n\t    // children scopes for easier traversal (populated internally)\n\t    this.children = [];\n\n\t    // scope declarations. decls[variable_name] = {\n\t    //     kind: \"fun\" for functions,\n\t    //           \"param\" for function parameters,\n\t    //           \"caught\" for catch parameter\n\t    //           \"var\",\n\t    //           \"const\",\n\t    //           \"let\"\n\t    //     node: the AST node the declaration corresponds to\n\t    //     from: source code index from which it is visible at earliest\n\t    //           (only stored for \"const\", \"let\" [and \"var\"] nodes)\n\t    // }\n\t    this.decls = stringmap();\n\n\t    // names of all declarations within this scope that was ever written\n\t    // TODO move to decls.w?\n\t    // TODO create corresponding read?\n\t    this.written = stringset();\n\n\t    // names of all variables declared outside this hoist scope but\n\t    // referenced in this scope (immediately or in child).\n\t    // only stored on hoist scopes for efficiency\n\t    // (because we currently generate lots of empty block scopes)\n\t    this.propagates = (this.kind === \"hoist\" ? stringset() : null);\n\n\t    // scopes register themselves with their parents for easier traversal\n\t    if (this.parent) {\n\t        this.parent.children.push(this);\n\t    }\n\t}\n\n\tScope.prototype.print = function(indent) {\n\t    indent = indent || 0;\n\t    var scope = this;\n\t    var names = this.decls.keys().map(function(name) {\n\t        return fmt(\"{0} [{1}]\", name, scope.decls.get(name).kind);\n\t    }).join(\", \");\n\t    var propagates = this.propagates ? this.propagates.items().join(\", \") : \"\";\n\t    console.log(fmt(\"{0}{1}: {2}. propagates: {3}\", fmt.repeat(\" \", indent), this.node.type, names, propagates));\n\t    this.children.forEach(function(c) {\n\t        c.print(indent + 2);\n\t    });\n\t};\n\n\tScope.prototype.add = function(name, kind, node, referableFromPos) {\n\t    assert(is.someof(kind, [\"fun\", \"param\", \"var\", \"caught\", \"const\", \"let\"]));\n\n\t    function isConstLet(kind) {\n\t        return is.someof(kind, [\"const\", \"let\"]);\n\t    }\n\n\t    var scope = this;\n\n\t    // search nearest hoist-scope for fun, param and var's\n\t    // const, let and caught variables go directly in the scope (which may be hoist, block or catch-block)\n\t    if (is.someof(kind, [\"fun\", \"param\", \"var\"])) {\n\t        while (scope.kind !== \"hoist\") {\n\t            if (scope.decls.has(name) && isConstLet(scope.decls.get(name).kind)) { // could be caught\n\t                return error(node.loc.start.line, \"{0} is already declared\", name);\n\t            }\n\t            scope = scope.parent;\n\t        }\n\t    }\n\t    // name exists in scope and either new or existing kind is const|let => error\n\t    if (scope.decls.has(name) && (options.disallowDuplicated || isConstLet(scope.decls.get(name).kind) || isConstLet(kind))) {\n\t        return error(node.loc.start.line, \"{0} is already declared\", name);\n\t    }\n\n\t    var declaration = {\n\t        kind: kind,\n\t        node: node,\n\t    };\n\t    if (referableFromPos) {\n\t        assert(is.someof(kind, [\"var\", \"const\", \"let\"]));\n\t        declaration.from = referableFromPos;\n\t    }\n\t    scope.decls.set(name, declaration);\n\t};\n\n\tScope.prototype.getKind = function(name) {\n\t    assert(is.string(name));\n\t    var decl = this.decls.get(name);\n\t    return decl ? decl.kind : null;\n\t};\n\n\tScope.prototype.getNode = function(name) {\n\t    assert(is.string(name));\n\t    var decl = this.decls.get(name);\n\t    return decl ? decl.node : null;\n\t};\n\n\tScope.prototype.getFromPos = function(name) {\n\t    assert(is.string(name));\n\t    var decl = this.decls.get(name);\n\t    return decl ? decl.from : null;\n\t};\n\n\tScope.prototype.hasOwn = function(name) {\n\t    return this.decls.has(name);\n\t};\n\n\tScope.prototype.remove = function(name) {\n\t    return this.decls.remove(name);\n\t};\n\n\tScope.prototype.doesPropagate = function(name) {\n\t    return this.propagates.has(name);\n\t};\n\n\tScope.prototype.markPropagates = function(name) {\n\t    this.propagates.add(name);\n\t};\n\n\tScope.prototype.closestHoistScope = function() {\n\t    var scope = this;\n\t    while (scope.kind !== \"hoist\") {\n\t        scope = scope.parent;\n\t    }\n\t    return scope;\n\t};\n\n\tScope.prototype.hasFunctionScopeBetween = function(outer) {\n\t    function isFunction(node) {\n\t        return is.someof(node.type, [\"FunctionDeclaration\", \"FunctionExpression\"]);\n\t    }\n\n\t    for (var scope = this; scope; scope = scope.parent) {\n\t        if (scope === outer) {\n\t            return false;\n\t        }\n\t        if (isFunction(scope.node)) {\n\t            return true;\n\t        }\n\t    }\n\n\t    throw new Error(\"wasn't inner scope of outer\");\n\t};\n\n\tScope.prototype.lookup = function(name) {\n\t    for (var scope = this; scope; scope = scope.parent) {\n\t        if (scope.decls.has(name)) {\n\t            return scope;\n\t        } else if (scope.kind === \"hoist\") {\n\t            scope.propagates.add(name);\n\t        }\n\t    }\n\t    return null;\n\t};\n\n\tScope.prototype.markWrite = function(name) {\n\t    assert(is.string(name));\n\t    this.written.add(name);\n\t};\n\n\t// detects let variables that are never modified (ignores top-level)\n\tScope.prototype.detectUnmodifiedLets = function() {\n\t    var outmost = this;\n\n\t    function detect(scope) {\n\t        if (scope !== outmost) {\n\t            scope.decls.keys().forEach(function(name) {\n\t                if (scope.getKind(name) === \"let\" && !scope.written.has(name)) {\n\t                    return error(scope.getNode(name).loc.start.line, \"{0} is declared as let but never modified so could be const\", name);\n\t                }\n\t            });\n\t        }\n\n\t        scope.children.forEach(function(childScope) {\n\t            detect(childScope);;\n\t        });\n\t    }\n\t    detect(this);\n\t};\n\n\tScope.prototype.traverse = function(options) {\n\t    options = options || {};\n\t    var pre = options.pre;\n\t    var post = options.post;\n\n\t    function visit(scope) {\n\t        if (pre) {\n\t            pre(scope);\n\t        }\n\t        scope.children.forEach(function(childScope) {\n\t            visit(childScope);\n\t        });\n\t        if (post) {\n\t            post(scope);\n\t        }\n\t    }\n\n\t    visit(this);\n\t};\n\n\tmodule.exports = Scope;\n\n\n/***/ },\n/* 66 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar fmt = __webpack_require__(58);\n\tvar assert = __webpack_require__(2);\n\n\tfunction error(line, var_args) {\n\t    assert(arguments.length >= 2);\n\n\t    var msg = (arguments.length === 2 ?\n\t        String(var_args) : fmt.apply(fmt, Array.prototype.slice.call(arguments, 1)));\n\n\t    error.errors.push(line === -1 ? msg : fmt(\"line {0}: {1}\", line, msg));\n\t}\n\n\terror.reset = function() {\n\t    error.errors = [];\n\t};\n\n\terror.reset();\n\n\tmodule.exports = error;\n\n\n/***/ },\n/* 67 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// default configuration\n\n\tmodule.exports = {\n\t    disallowVars: false,\n\t    disallowDuplicated: true,\n\t    disallowUnknownReferences: true,\n\t    parse: __webpack_require__(68).parse,\n\t};\n\n\n/***/ },\n/* 68 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*\n\t  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n\t  Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>\n\t  Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>\n\t  Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>\n\t  Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n\t  Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>\n\t  Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n\t  Redistribution and use in source and binary forms, with or without\n\t  modification, are permitted provided that the following conditions are met:\n\n\t    * Redistributions of source code must retain the above copyright\n\t      notice, this list of conditions and the following disclaimer.\n\t    * Redistributions in binary form must reproduce the above copyright\n\t      notice, this list of conditions and the following disclaimer in the\n\t      documentation and/or other materials provided with the distribution.\n\n\t  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n\t  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n\t  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n\t  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n\t  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n\t  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n\t  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n\t  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n\t  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n\t  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\t*/\n\n\t/*jslint bitwise:true plusplus:true */\n\t/*global esprima:true, define:true, exports:true, window: true,\n\tthrowError: true, createLiteral: true, generateStatement: true,\n\tparseAssignmentExpression: true, parseBlock: true, parseExpression: true,\n\tparseFunctionDeclaration: true, parseFunctionExpression: true,\n\tparseFunctionSourceElements: true, parseVariableIdentifier: true,\n\tparseLeftHandSideExpression: true,\n\tparseStatement: true, parseSourceElement: true */\n\n\t(function (root, factory) {\n\t    'use strict';\n\n\t    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n\t    // Rhino, and plain browser loading.\n\t    if (true) {\n\t        !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t    } else if (typeof exports !== 'undefined') {\n\t        factory(exports);\n\t    } else {\n\t        factory((root.esprima = {}));\n\t    }\n\t}(this, function (exports) {\n\t    'use strict';\n\n\t    var Token,\n\t        TokenName,\n\t        Syntax,\n\t        PropertyKind,\n\t        Messages,\n\t        Regex,\n\t        source,\n\t        strict,\n\t        index,\n\t        lineNumber,\n\t        lineStart,\n\t        length,\n\t        buffer,\n\t        state,\n\t        extra;\n\n\t    Token = {\n\t        BooleanLiteral: 1,\n\t        EOF: 2,\n\t        Identifier: 3,\n\t        Keyword: 4,\n\t        NullLiteral: 5,\n\t        NumericLiteral: 6,\n\t        Punctuator: 7,\n\t        StringLiteral: 8\n\t    };\n\n\t    TokenName = {};\n\t    TokenName[Token.BooleanLiteral] = 'Boolean';\n\t    TokenName[Token.EOF] = '<end>';\n\t    TokenName[Token.Identifier] = 'Identifier';\n\t    TokenName[Token.Keyword] = 'Keyword';\n\t    TokenName[Token.NullLiteral] = 'Null';\n\t    TokenName[Token.NumericLiteral] = 'Numeric';\n\t    TokenName[Token.Punctuator] = 'Punctuator';\n\t    TokenName[Token.StringLiteral] = 'String';\n\n\t    Syntax = {\n\t        AssignmentExpression: 'AssignmentExpression',\n\t        ArrayExpression: 'ArrayExpression',\n\t        BlockStatement: 'BlockStatement',\n\t        BinaryExpression: 'BinaryExpression',\n\t        BreakStatement: 'BreakStatement',\n\t        CallExpression: 'CallExpression',\n\t        CatchClause: 'CatchClause',\n\t        ConditionalExpression: 'ConditionalExpression',\n\t        ContinueStatement: 'ContinueStatement',\n\t        DoWhileStatement: 'DoWhileStatement',\n\t        DebuggerStatement: 'DebuggerStatement',\n\t        EmptyStatement: 'EmptyStatement',\n\t        ExpressionStatement: 'ExpressionStatement',\n\t        ForStatement: 'ForStatement',\n\t        ForInStatement: 'ForInStatement',\n\t        FunctionDeclaration: 'FunctionDeclaration',\n\t        FunctionExpression: 'FunctionExpression',\n\t        Identifier: 'Identifier',\n\t        IfStatement: 'IfStatement',\n\t        Literal: 'Literal',\n\t        LabeledStatement: 'LabeledStatement',\n\t        LogicalExpression: 'LogicalExpression',\n\t        MemberExpression: 'MemberExpression',\n\t        NewExpression: 'NewExpression',\n\t        ObjectExpression: 'ObjectExpression',\n\t        Program: 'Program',\n\t        Property: 'Property',\n\t        ReturnStatement: 'ReturnStatement',\n\t        SequenceExpression: 'SequenceExpression',\n\t        SwitchStatement: 'SwitchStatement',\n\t        SwitchCase: 'SwitchCase',\n\t        ThisExpression: 'ThisExpression',\n\t        ThrowStatement: 'ThrowStatement',\n\t        TryStatement: 'TryStatement',\n\t        UnaryExpression: 'UnaryExpression',\n\t        UpdateExpression: 'UpdateExpression',\n\t        VariableDeclaration: 'VariableDeclaration',\n\t        VariableDeclarator: 'VariableDeclarator',\n\t        WhileStatement: 'WhileStatement',\n\t        WithStatement: 'WithStatement'\n\t    };\n\n\t    PropertyKind = {\n\t        Data: 1,\n\t        Get: 2,\n\t        Set: 4\n\t    };\n\n\t    // Error messages should be identical to V8.\n\t    Messages = {\n\t        UnexpectedToken:  'Unexpected token %0',\n\t        UnexpectedNumber:  'Unexpected number',\n\t        UnexpectedString:  'Unexpected string',\n\t        UnexpectedIdentifier:  'Unexpected identifier',\n\t        UnexpectedReserved:  'Unexpected reserved word',\n\t        UnexpectedEOS:  'Unexpected end of input',\n\t        NewlineAfterThrow:  'Illegal newline after throw',\n\t        InvalidRegExp: 'Invalid regular expression',\n\t        UnterminatedRegExp:  'Invalid regular expression: missing /',\n\t        InvalidLHSInAssignment:  'Invalid left-hand side in assignment',\n\t        InvalidLHSInForIn:  'Invalid left-hand side in for-in',\n\t        MultipleDefaultsInSwitch: 'More than one default clause in switch statement',\n\t        NoCatchOrFinally:  'Missing catch or finally after try',\n\t        UnknownLabel: 'Undefined label \\'%0\\'',\n\t        Redeclaration: '%0 \\'%1\\' has already been declared',\n\t        IllegalContinue: 'Illegal continue statement',\n\t        IllegalBreak: 'Illegal break statement',\n\t        IllegalReturn: 'Illegal return statement',\n\t        StrictModeWith:  'Strict mode code may not include a with statement',\n\t        StrictCatchVariable:  'Catch variable may not be eval or arguments in strict mode',\n\t        StrictVarName:  'Variable name may not be eval or arguments in strict mode',\n\t        StrictParamName:  'Parameter name eval or arguments is not allowed in strict mode',\n\t        StrictParamDupe: 'Strict mode function may not have duplicate parameter names',\n\t        StrictFunctionName:  'Function name may not be eval or arguments in strict mode',\n\t        StrictOctalLiteral:  'Octal literals are not allowed in strict mode.',\n\t        StrictDelete:  'Delete of an unqualified identifier in strict mode.',\n\t        StrictDuplicateProperty:  'Duplicate data property in object literal not allowed in strict mode',\n\t        AccessorDataProperty:  'Object literal may not have data and accessor property with the same name',\n\t        AccessorGetSet:  'Object literal may not have multiple get/set accessors with the same name',\n\t        StrictLHSAssignment:  'Assignment to eval or arguments is not allowed in strict mode',\n\t        StrictLHSPostfix:  'Postfix increment/decrement may not have eval or arguments operand in strict mode',\n\t        StrictLHSPrefix:  'Prefix increment/decrement may not have eval or arguments operand in strict mode',\n\t        StrictReservedWord:  'Use of future reserved word in strict mode'\n\t    };\n\n\t    // See also tools/generate-unicode-regex.py.\n\t    Regex = {\n\t        NonAsciiIdentifierStart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]'),\n\t        NonAsciiIdentifierPart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0300-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u0483-\\u0487\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0610-\\u061a\\u0620-\\u0669\\u066e-\\u06d3\\u06d5-\\u06dc\\u06df-\\u06e8\\u06ea-\\u06fc\\u06ff\\u0710-\\u074a\\u074d-\\u07b1\\u07c0-\\u07f5\\u07fa\\u0800-\\u082d\\u0840-\\u085b\\u08a0\\u08a2-\\u08ac\\u08e4-\\u08fe\\u0900-\\u0963\\u0966-\\u096f\\u0971-\\u0977\\u0979-\\u097f\\u0981-\\u0983\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bc-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09ce\\u09d7\\u09dc\\u09dd\\u09df-\\u09e3\\u09e6-\\u09f1\\u0a01-\\u0a03\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a59-\\u0a5c\\u0a5e\\u0a66-\\u0a75\\u0a81-\\u0a83\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abc-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ad0\\u0ae0-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3c-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5c\\u0b5d\\u0b5f-\\u0b63\\u0b66-\\u0b6f\\u0b71\\u0b82\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd0\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c58\\u0c59\\u0c60-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbc-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0cde\\u0ce0-\\u0ce3\\u0ce6-\\u0cef\\u0cf1\\u0cf2\\u0d02\\u0d03\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4e\\u0d57\\u0d60-\\u0d63\\u0d66-\\u0d6f\\u0d7a-\\u0d7f\\u0d82\\u0d83\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e01-\\u0e3a\\u0e40-\\u0e4e\\u0e50-\\u0e59\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb9\\u0ebb-\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0edc-\\u0edf\\u0f00\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e-\\u0f47\\u0f49-\\u0f6c\\u0f71-\\u0f84\\u0f86-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1049\\u1050-\\u109d\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u135d-\\u135f\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176c\\u176e-\\u1770\\u1772\\u1773\\u1780-\\u17d3\\u17d7\\u17dc\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a1b\\u1a20-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1aa7\\u1b00-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1bf3\\u1c00-\\u1c37\\u1c40-\\u1c49\\u1c4d-\\u1c7d\\u1cd0-\\u1cd2\\u1cd4-\\u1cf6\\u1d00-\\u1de6\\u1dfc-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u200c\\u200d\\u203f\\u2040\\u2054\\u2071\\u207f\\u2090-\\u209c\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d7f-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2de0-\\u2dff\\u2e2f\\u3005-\\u3007\\u3021-\\u302f\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u3099\\u309a\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua62b\\ua640-\\ua66f\\ua674-\\ua67d\\ua67f-\\ua697\\ua69f-\\ua6f1\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua827\\ua840-\\ua873\\ua880-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f7\\ua8fb\\ua900-\\ua92d\\ua930-\\ua953\\ua960-\\ua97c\\ua980-\\ua9c0\\ua9cf-\\ua9d9\\uaa00-\\uaa36\\uaa40-\\uaa4d\\uaa50-\\uaa59\\uaa60-\\uaa76\\uaa7a\\uaa7b\\uaa80-\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaef\\uaaf2-\\uaaf6\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff10-\\uff19\\uff21-\\uff3a\\uff3f\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]')\n\t    };\n\n\t    // Ensure the condition is true, otherwise throw an error.\n\t    // This is only to have a better contract semantic, i.e. another safety net\n\t    // to catch a logic error. The condition shall be fulfilled in normal case.\n\t    // Do NOT use this to enforce a certain condition on any user input.\n\n\t    function assert(condition, message) {\n\t        if (!condition) {\n\t            throw new Error('ASSERT: ' + message);\n\t        }\n\t    }\n\n\t    function sliceSource(from, to) {\n\t        return source.slice(from, to);\n\t    }\n\n\t    if (typeof 'esprima'[0] === 'undefined') {\n\t        sliceSource = function sliceArraySource(from, to) {\n\t            return source.slice(from, to).join('');\n\t        };\n\t    }\n\n\t    function isDecimalDigit(ch) {\n\t        return '0123456789'.indexOf(ch) >= 0;\n\t    }\n\n\t    function isHexDigit(ch) {\n\t        return '0123456789abcdefABCDEF'.indexOf(ch) >= 0;\n\t    }\n\n\t    function isOctalDigit(ch) {\n\t        return '01234567'.indexOf(ch) >= 0;\n\t    }\n\n\n\t    // 7.2 White Space\n\n\t    function isWhiteSpace(ch) {\n\t        return (ch === ' ') || (ch === '\\u0009') || (ch === '\\u000B') ||\n\t            (ch === '\\u000C') || (ch === '\\u00A0') ||\n\t            (ch.charCodeAt(0) >= 0x1680 &&\n\t             '\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\uFEFF'.indexOf(ch) >= 0);\n\t    }\n\n\t    // 7.3 Line Terminators\n\n\t    function isLineTerminator(ch) {\n\t        return (ch === '\\n' || ch === '\\r' || ch === '\\u2028' || ch === '\\u2029');\n\t    }\n\n\t    // 7.6 Identifier Names and Identifiers\n\n\t    function isIdentifierStart(ch) {\n\t        return (ch === '$') || (ch === '_') || (ch === '\\\\') ||\n\t            (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') ||\n\t            ((ch.charCodeAt(0) >= 0x80) && Regex.NonAsciiIdentifierStart.test(ch));\n\t    }\n\n\t    function isIdentifierPart(ch) {\n\t        return (ch === '$') || (ch === '_') || (ch === '\\\\') ||\n\t            (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') ||\n\t            ((ch >= '0') && (ch <= '9')) ||\n\t            ((ch.charCodeAt(0) >= 0x80) && Regex.NonAsciiIdentifierPart.test(ch));\n\t    }\n\n\t    // 7.6.1.2 Future Reserved Words\n\n\t    function isFutureReservedWord(id) {\n\t        switch (id) {\n\n\t        // Future reserved words.\n\t        case 'class':\n\t        case 'enum':\n\t        case 'export':\n\t        case 'extends':\n\t        case 'import':\n\t        case 'super':\n\t            return true;\n\t        }\n\n\t        return false;\n\t    }\n\n\t    function isStrictModeReservedWord(id) {\n\t        switch (id) {\n\n\t        // Strict Mode reserved words.\n\t        case 'implements':\n\t        case 'interface':\n\t        case 'package':\n\t        case 'private':\n\t        case 'protected':\n\t        case 'public':\n\t        case 'static':\n\t        case 'yield':\n\t        case 'let':\n\t            return true;\n\t        }\n\n\t        return false;\n\t    }\n\n\t    function isRestrictedWord(id) {\n\t        return id === 'eval' || id === 'arguments';\n\t    }\n\n\t    // 7.6.1.1 Keywords\n\n\t    function isKeyword(id) {\n\t        var keyword = false;\n\t        switch (id.length) {\n\t        case 2:\n\t            keyword = (id === 'if') || (id === 'in') || (id === 'do');\n\t            break;\n\t        case 3:\n\t            keyword = (id === 'var') || (id === 'for') || (id === 'new') || (id === 'try');\n\t            break;\n\t        case 4:\n\t            keyword = (id === 'this') || (id === 'else') || (id === 'case') || (id === 'void') || (id === 'with');\n\t            break;\n\t        case 5:\n\t            keyword = (id === 'while') || (id === 'break') || (id === 'catch') || (id === 'throw');\n\t            break;\n\t        case 6:\n\t            keyword = (id === 'return') || (id === 'typeof') || (id === 'delete') || (id === 'switch');\n\t            break;\n\t        case 7:\n\t            keyword = (id === 'default') || (id === 'finally');\n\t            break;\n\t        case 8:\n\t            keyword = (id === 'function') || (id === 'continue') || (id === 'debugger');\n\t            break;\n\t        case 10:\n\t            keyword = (id === 'instanceof');\n\t            break;\n\t        }\n\n\t        if (keyword) {\n\t            return true;\n\t        }\n\n\t        switch (id) {\n\t        // Future reserved words.\n\t        // 'const' is specialized as Keyword in V8.\n\t        case 'const':\n\t            return true;\n\n\t        // For compatiblity to SpiderMonkey and ES.next\n\t        case 'yield':\n\t        case 'let':\n\t            return true;\n\t        }\n\n\t        if (strict && isStrictModeReservedWord(id)) {\n\t            return true;\n\t        }\n\n\t        return isFutureReservedWord(id);\n\t    }\n\n\t    // 7.4 Comments\n\n\t    function skipComment() {\n\t        var ch, blockComment, lineComment;\n\n\t        blockComment = false;\n\t        lineComment = false;\n\n\t        while (index < length) {\n\t            ch = source[index];\n\n\t            if (lineComment) {\n\t                ch = source[index++];\n\t                if (isLineTerminator(ch)) {\n\t                    lineComment = false;\n\t                    if (ch === '\\r' && source[index] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                    ++lineNumber;\n\t                    lineStart = index;\n\t                }\n\t            } else if (blockComment) {\n\t                if (isLineTerminator(ch)) {\n\t                    if (ch === '\\r' && source[index + 1] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                    ++lineNumber;\n\t                    ++index;\n\t                    lineStart = index;\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                } else {\n\t                    ch = source[index++];\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                    if (ch === '*') {\n\t                        ch = source[index];\n\t                        if (ch === '/') {\n\t                            ++index;\n\t                            blockComment = false;\n\t                        }\n\t                    }\n\t                }\n\t            } else if (ch === '/') {\n\t                ch = source[index + 1];\n\t                if (ch === '/') {\n\t                    index += 2;\n\t                    lineComment = true;\n\t                } else if (ch === '*') {\n\t                    index += 2;\n\t                    blockComment = true;\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                } else {\n\t                    break;\n\t                }\n\t            } else if (isWhiteSpace(ch)) {\n\t                ++index;\n\t            } else if (isLineTerminator(ch)) {\n\t                ++index;\n\t                if (ch ===  '\\r' && source[index] === '\\n') {\n\t                    ++index;\n\t                }\n\t                ++lineNumber;\n\t                lineStart = index;\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\t    }\n\n\t    function scanHexEscape(prefix) {\n\t        var i, len, ch, code = 0;\n\n\t        len = (prefix === 'u') ? 4 : 2;\n\t        for (i = 0; i < len; ++i) {\n\t            if (index < length && isHexDigit(source[index])) {\n\t                ch = source[index++];\n\t                code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n\t            } else {\n\t                return '';\n\t            }\n\t        }\n\t        return String.fromCharCode(code);\n\t    }\n\n\t    function scanIdentifier() {\n\t        var ch, start, id, restore;\n\n\t        ch = source[index];\n\t        if (!isIdentifierStart(ch)) {\n\t            return;\n\t        }\n\n\t        start = index;\n\t        if (ch === '\\\\') {\n\t            ++index;\n\t            if (source[index] !== 'u') {\n\t                return;\n\t            }\n\t            ++index;\n\t            restore = index;\n\t            ch = scanHexEscape('u');\n\t            if (ch) {\n\t                if (ch === '\\\\' || !isIdentifierStart(ch)) {\n\t                    return;\n\t                }\n\t                id = ch;\n\t            } else {\n\t                index = restore;\n\t                id = 'u';\n\t            }\n\t        } else {\n\t            id = source[index++];\n\t        }\n\n\t        while (index < length) {\n\t            ch = source[index];\n\t            if (!isIdentifierPart(ch)) {\n\t                break;\n\t            }\n\t            if (ch === '\\\\') {\n\t                ++index;\n\t                if (source[index] !== 'u') {\n\t                    return;\n\t                }\n\t                ++index;\n\t                restore = index;\n\t                ch = scanHexEscape('u');\n\t                if (ch) {\n\t                    if (ch === '\\\\' || !isIdentifierPart(ch)) {\n\t                        return;\n\t                    }\n\t                    id += ch;\n\t                } else {\n\t                    index = restore;\n\t                    id += 'u';\n\t                }\n\t            } else {\n\t                id += source[index++];\n\t            }\n\t        }\n\n\t        // There is no keyword or literal with only one character.\n\t        // Thus, it must be an identifier.\n\t        if (id.length === 1) {\n\t            return {\n\t                type: Token.Identifier,\n\t                value: id,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (isKeyword(id)) {\n\t            return {\n\t                type: Token.Keyword,\n\t                value: id,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        // 7.8.1 Null Literals\n\n\t        if (id === 'null') {\n\t            return {\n\t                type: Token.NullLiteral,\n\t                value: id,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        // 7.8.2 Boolean Literals\n\n\t        if (id === 'true' || id === 'false') {\n\t            return {\n\t                type: Token.BooleanLiteral,\n\t                value: id,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        return {\n\t            type: Token.Identifier,\n\t            value: id,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    // 7.7 Punctuators\n\n\t    function scanPunctuator() {\n\t        var start = index,\n\t            ch1 = source[index],\n\t            ch2,\n\t            ch3,\n\t            ch4;\n\n\t        // Check for most common single-character punctuators.\n\n\t        if (ch1 === ';' || ch1 === '{' || ch1 === '}') {\n\t            ++index;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: ch1,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === ',' || ch1 === '(' || ch1 === ')') {\n\t            ++index;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: ch1,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        // Dot (.) can also start a floating-point number, hence the need\n\t        // to check the next character.\n\n\t        ch2 = source[index + 1];\n\t        if (ch1 === '.' && !isDecimalDigit(ch2)) {\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: source[index++],\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        // Peek more characters.\n\n\t        ch3 = source[index + 2];\n\t        ch4 = source[index + 3];\n\n\t        // 4-character punctuator: >>>=\n\n\t        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n\t            if (ch4 === '=') {\n\t                index += 4;\n\t                return {\n\t                    type: Token.Punctuator,\n\t                    value: '>>>=',\n\t                    lineNumber: lineNumber,\n\t                    lineStart: lineStart,\n\t                    range: [start, index]\n\t                };\n\t            }\n\t        }\n\n\t        // 3-character punctuators: === !== >>> <<= >>=\n\n\t        if (ch1 === '=' && ch2 === '=' && ch3 === '=') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '===',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '!' && ch2 === '=' && ch3 === '=') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '!==',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '>>>',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '<' && ch2 === '<' && ch3 === '=') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '<<=',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        if (ch1 === '>' && ch2 === '>' && ch3 === '=') {\n\t            index += 3;\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: '>>=',\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\n\t        // 2-character punctuators: <= >= == != ++ -- << >> && ||\n\t        // += -= *= %= &= |= ^= /=\n\n\t        if (ch2 === '=') {\n\t            if ('<>=!+-*%&|^/'.indexOf(ch1) >= 0) {\n\t                index += 2;\n\t                return {\n\t                    type: Token.Punctuator,\n\t                    value: ch1 + ch2,\n\t                    lineNumber: lineNumber,\n\t                    lineStart: lineStart,\n\t                    range: [start, index]\n\t                };\n\t            }\n\t        }\n\n\t        if (ch1 === ch2 && ('+-<>&|'.indexOf(ch1) >= 0)) {\n\t            if ('+-<>&|'.indexOf(ch2) >= 0) {\n\t                index += 2;\n\t                return {\n\t                    type: Token.Punctuator,\n\t                    value: ch1 + ch2,\n\t                    lineNumber: lineNumber,\n\t                    lineStart: lineStart,\n\t                    range: [start, index]\n\t                };\n\t            }\n\t        }\n\n\t        // The remaining 1-character punctuators.\n\n\t        if ('[]<>+-*%&|^!~?:=/'.indexOf(ch1) >= 0) {\n\t            return {\n\t                type: Token.Punctuator,\n\t                value: source[index++],\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [start, index]\n\t            };\n\t        }\n\t    }\n\n\t    // 7.8.3 Numeric Literals\n\n\t    function scanNumericLiteral() {\n\t        var number, start, ch;\n\n\t        ch = source[index];\n\t        assert(isDecimalDigit(ch) || (ch === '.'),\n\t            'Numeric literal must start with a decimal digit or a decimal point');\n\n\t        start = index;\n\t        number = '';\n\t        if (ch !== '.') {\n\t            number = source[index++];\n\t            ch = source[index];\n\n\t            // Hex number starts with '0x'.\n\t            // Octal number starts with '0'.\n\t            if (number === '0') {\n\t                if (ch === 'x' || ch === 'X') {\n\t                    number += source[index++];\n\t                    while (index < length) {\n\t                        ch = source[index];\n\t                        if (!isHexDigit(ch)) {\n\t                            break;\n\t                        }\n\t                        number += source[index++];\n\t                    }\n\n\t                    if (number.length <= 2) {\n\t                        // only 0x\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\n\t                    if (index < length) {\n\t                        ch = source[index];\n\t                        if (isIdentifierStart(ch)) {\n\t                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                        }\n\t                    }\n\t                    return {\n\t                        type: Token.NumericLiteral,\n\t                        value: parseInt(number, 16),\n\t                        lineNumber: lineNumber,\n\t                        lineStart: lineStart,\n\t                        range: [start, index]\n\t                    };\n\t                } else if (isOctalDigit(ch)) {\n\t                    number += source[index++];\n\t                    while (index < length) {\n\t                        ch = source[index];\n\t                        if (!isOctalDigit(ch)) {\n\t                            break;\n\t                        }\n\t                        number += source[index++];\n\t                    }\n\n\t                    if (index < length) {\n\t                        ch = source[index];\n\t                        if (isIdentifierStart(ch) || isDecimalDigit(ch)) {\n\t                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                        }\n\t                    }\n\t                    return {\n\t                        type: Token.NumericLiteral,\n\t                        value: parseInt(number, 8),\n\t                        octal: true,\n\t                        lineNumber: lineNumber,\n\t                        lineStart: lineStart,\n\t                        range: [start, index]\n\t                    };\n\t                }\n\n\t                // decimal number starts with '0' such as '09' is illegal.\n\t                if (isDecimalDigit(ch)) {\n\t                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                }\n\t            }\n\n\t            while (index < length) {\n\t                ch = source[index];\n\t                if (!isDecimalDigit(ch)) {\n\t                    break;\n\t                }\n\t                number += source[index++];\n\t            }\n\t        }\n\n\t        if (ch === '.') {\n\t            number += source[index++];\n\t            while (index < length) {\n\t                ch = source[index];\n\t                if (!isDecimalDigit(ch)) {\n\t                    break;\n\t                }\n\t                number += source[index++];\n\t            }\n\t        }\n\n\t        if (ch === 'e' || ch === 'E') {\n\t            number += source[index++];\n\n\t            ch = source[index];\n\t            if (ch === '+' || ch === '-') {\n\t                number += source[index++];\n\t            }\n\n\t            ch = source[index];\n\t            if (isDecimalDigit(ch)) {\n\t                number += source[index++];\n\t                while (index < length) {\n\t                    ch = source[index];\n\t                    if (!isDecimalDigit(ch)) {\n\t                        break;\n\t                    }\n\t                    number += source[index++];\n\t                }\n\t            } else {\n\t                ch = 'character ' + ch;\n\t                if (index >= length) {\n\t                    ch = '<end>';\n\t                }\n\t                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t            }\n\t        }\n\n\t        if (index < length) {\n\t            ch = source[index];\n\t            if (isIdentifierStart(ch)) {\n\t                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t            }\n\t        }\n\n\t        return {\n\t            type: Token.NumericLiteral,\n\t            value: parseFloat(number),\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    // 7.8.4 String Literals\n\n\t    function scanStringLiteral() {\n\t        var str = '', quote, start, ch, code, unescaped, restore, octal = false;\n\n\t        quote = source[index];\n\t        assert((quote === '\\'' || quote === '\"'),\n\t            'String literal must starts with a quote');\n\n\t        start = index;\n\t        ++index;\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\n\t            if (ch === quote) {\n\t                quote = '';\n\t                break;\n\t            } else if (ch === '\\\\') {\n\t                ch = source[index++];\n\t                if (!isLineTerminator(ch)) {\n\t                    switch (ch) {\n\t                    case 'n':\n\t                        str += '\\n';\n\t                        break;\n\t                    case 'r':\n\t                        str += '\\r';\n\t                        break;\n\t                    case 't':\n\t                        str += '\\t';\n\t                        break;\n\t                    case 'u':\n\t                    case 'x':\n\t                        restore = index;\n\t                        unescaped = scanHexEscape(ch);\n\t                        if (unescaped) {\n\t                            str += unescaped;\n\t                        } else {\n\t                            index = restore;\n\t                            str += ch;\n\t                        }\n\t                        break;\n\t                    case 'b':\n\t                        str += '\\b';\n\t                        break;\n\t                    case 'f':\n\t                        str += '\\f';\n\t                        break;\n\t                    case 'v':\n\t                        str += '\\x0B';\n\t                        break;\n\n\t                    default:\n\t                        if (isOctalDigit(ch)) {\n\t                            code = '01234567'.indexOf(ch);\n\n\t                            // \\0 is not octal escape sequence\n\t                            if (code !== 0) {\n\t                                octal = true;\n\t                            }\n\n\t                            if (index < length && isOctalDigit(source[index])) {\n\t                                octal = true;\n\t                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n\t                                // 3 digits are only allowed when string starts\n\t                                // with 0, 1, 2, 3\n\t                                if ('0123'.indexOf(ch) >= 0 &&\n\t                                        index < length &&\n\t                                        isOctalDigit(source[index])) {\n\t                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n\t                                }\n\t                            }\n\t                            str += String.fromCharCode(code);\n\t                        } else {\n\t                            str += ch;\n\t                        }\n\t                        break;\n\t                    }\n\t                } else {\n\t                    ++lineNumber;\n\t                    if (ch ===  '\\r' && source[index] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                }\n\t            } else if (isLineTerminator(ch)) {\n\t                break;\n\t            } else {\n\t                str += ch;\n\t            }\n\t        }\n\n\t        if (quote !== '') {\n\t            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t        }\n\n\t        return {\n\t            type: Token.StringLiteral,\n\t            value: str,\n\t            octal: octal,\n\t            lineNumber: lineNumber,\n\t            lineStart: lineStart,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    function scanRegExp() {\n\t        var str, ch, start, pattern, flags, value, classMarker = false, restore, terminated = false;\n\n\t        buffer = null;\n\t        skipComment();\n\n\t        start = index;\n\t        ch = source[index];\n\t        assert(ch === '/', 'Regular expression literal must start with a slash');\n\t        str = source[index++];\n\n\t        while (index < length) {\n\t            ch = source[index++];\n\t            str += ch;\n\t            if (ch === '\\\\') {\n\t                ch = source[index++];\n\t                // ECMA-262 7.8.5\n\t                if (isLineTerminator(ch)) {\n\t                    throwError({}, Messages.UnterminatedRegExp);\n\t                }\n\t                str += ch;\n\t            } else if (classMarker) {\n\t                if (ch === ']') {\n\t                    classMarker = false;\n\t                }\n\t            } else {\n\t                if (ch === '/') {\n\t                    terminated = true;\n\t                    break;\n\t                } else if (ch === '[') {\n\t                    classMarker = true;\n\t                } else if (isLineTerminator(ch)) {\n\t                    throwError({}, Messages.UnterminatedRegExp);\n\t                }\n\t            }\n\t        }\n\n\t        if (!terminated) {\n\t            throwError({}, Messages.UnterminatedRegExp);\n\t        }\n\n\t        // Exclude leading and trailing slash.\n\t        pattern = str.substr(1, str.length - 2);\n\n\t        flags = '';\n\t        while (index < length) {\n\t            ch = source[index];\n\t            if (!isIdentifierPart(ch)) {\n\t                break;\n\t            }\n\n\t            ++index;\n\t            if (ch === '\\\\' && index < length) {\n\t                ch = source[index];\n\t                if (ch === 'u') {\n\t                    ++index;\n\t                    restore = index;\n\t                    ch = scanHexEscape('u');\n\t                    if (ch) {\n\t                        flags += ch;\n\t                        str += '\\\\u';\n\t                        for (; restore < index; ++restore) {\n\t                            str += source[restore];\n\t                        }\n\t                    } else {\n\t                        index = restore;\n\t                        flags += 'u';\n\t                        str += '\\\\u';\n\t                    }\n\t                } else {\n\t                    str += '\\\\';\n\t                }\n\t            } else {\n\t                flags += ch;\n\t                str += ch;\n\t            }\n\t        }\n\n\t        try {\n\t            value = new RegExp(pattern, flags);\n\t        } catch (e) {\n\t            throwError({}, Messages.InvalidRegExp);\n\t        }\n\n\t        return {\n\t            literal: str,\n\t            value: value,\n\t            range: [start, index]\n\t        };\n\t    }\n\n\t    function isIdentifierName(token) {\n\t        return token.type === Token.Identifier ||\n\t            token.type === Token.Keyword ||\n\t            token.type === Token.BooleanLiteral ||\n\t            token.type === Token.NullLiteral;\n\t    }\n\n\t    function advance() {\n\t        var ch, token;\n\n\t        skipComment();\n\n\t        if (index >= length) {\n\t            return {\n\t                type: Token.EOF,\n\t                lineNumber: lineNumber,\n\t                lineStart: lineStart,\n\t                range: [index, index]\n\t            };\n\t        }\n\n\t        token = scanPunctuator();\n\t        if (typeof token !== 'undefined') {\n\t            return token;\n\t        }\n\n\t        ch = source[index];\n\n\t        if (ch === '\\'' || ch === '\"') {\n\t            return scanStringLiteral();\n\t        }\n\n\t        if (ch === '.' || isDecimalDigit(ch)) {\n\t            return scanNumericLiteral();\n\t        }\n\n\t        token = scanIdentifier();\n\t        if (typeof token !== 'undefined') {\n\t            return token;\n\t        }\n\n\t        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t    }\n\n\t    function lex() {\n\t        var token;\n\n\t        if (buffer) {\n\t            index = buffer.range[1];\n\t            lineNumber = buffer.lineNumber;\n\t            lineStart = buffer.lineStart;\n\t            token = buffer;\n\t            buffer = null;\n\t            return token;\n\t        }\n\n\t        buffer = null;\n\t        return advance();\n\t    }\n\n\t    function lookahead() {\n\t        var pos, line, start;\n\n\t        if (buffer !== null) {\n\t            return buffer;\n\t        }\n\n\t        pos = index;\n\t        line = lineNumber;\n\t        start = lineStart;\n\t        buffer = advance();\n\t        index = pos;\n\t        lineNumber = line;\n\t        lineStart = start;\n\n\t        return buffer;\n\t    }\n\n\t    // Return true if there is a line terminator before the next token.\n\n\t    function peekLineTerminator() {\n\t        var pos, line, start, found;\n\n\t        pos = index;\n\t        line = lineNumber;\n\t        start = lineStart;\n\t        skipComment();\n\t        found = lineNumber !== line;\n\t        index = pos;\n\t        lineNumber = line;\n\t        lineStart = start;\n\n\t        return found;\n\t    }\n\n\t    // Throw an exception\n\n\t    function throwError(token, messageFormat) {\n\t        var error,\n\t            args = Array.prototype.slice.call(arguments, 2),\n\t            msg = messageFormat.replace(\n\t                /%(\\d)/g,\n\t                function (whole, index) {\n\t                    return args[index] || '';\n\t                }\n\t            );\n\n\t        if (typeof token.lineNumber === 'number') {\n\t            error = new Error('Line ' + token.lineNumber + ': ' + msg);\n\t            error.index = token.range[0];\n\t            error.lineNumber = token.lineNumber;\n\t            error.column = token.range[0] - lineStart + 1;\n\t        } else {\n\t            error = new Error('Line ' + lineNumber + ': ' + msg);\n\t            error.index = index;\n\t            error.lineNumber = lineNumber;\n\t            error.column = index - lineStart + 1;\n\t        }\n\n\t        throw error;\n\t    }\n\n\t    function throwErrorTolerant() {\n\t        try {\n\t            throwError.apply(null, arguments);\n\t        } catch (e) {\n\t            if (extra.errors) {\n\t                extra.errors.push(e);\n\t            } else {\n\t                throw e;\n\t            }\n\t        }\n\t    }\n\n\n\t    // Throw an exception because of the token.\n\n\t    function throwUnexpected(token) {\n\t        if (token.type === Token.EOF) {\n\t            throwError(token, Messages.UnexpectedEOS);\n\t        }\n\n\t        if (token.type === Token.NumericLiteral) {\n\t            throwError(token, Messages.UnexpectedNumber);\n\t        }\n\n\t        if (token.type === Token.StringLiteral) {\n\t            throwError(token, Messages.UnexpectedString);\n\t        }\n\n\t        if (token.type === Token.Identifier) {\n\t            throwError(token, Messages.UnexpectedIdentifier);\n\t        }\n\n\t        if (token.type === Token.Keyword) {\n\t            if (isFutureReservedWord(token.value)) {\n\t                throwError(token, Messages.UnexpectedReserved);\n\t            } else if (strict && isStrictModeReservedWord(token.value)) {\n\t                throwErrorTolerant(token, Messages.StrictReservedWord);\n\t                return;\n\t            }\n\t            throwError(token, Messages.UnexpectedToken, token.value);\n\t        }\n\n\t        // BooleanLiteral, NullLiteral, or Punctuator.\n\t        throwError(token, Messages.UnexpectedToken, token.value);\n\t    }\n\n\t    // Expect the next token to match the specified punctuator.\n\t    // If not, an exception will be thrown.\n\n\t    function expect(value) {\n\t        var token = lex();\n\t        if (token.type !== Token.Punctuator || token.value !== value) {\n\t            throwUnexpected(token);\n\t        }\n\t    }\n\n\t    // Expect the next token to match the specified keyword.\n\t    // If not, an exception will be thrown.\n\n\t    function expectKeyword(keyword) {\n\t        var token = lex();\n\t        if (token.type !== Token.Keyword || token.value !== keyword) {\n\t            throwUnexpected(token);\n\t        }\n\t    }\n\n\t    // Return true if the next token matches the specified punctuator.\n\n\t    function match(value) {\n\t        var token = lookahead();\n\t        return token.type === Token.Punctuator && token.value === value;\n\t    }\n\n\t    // Return true if the next token matches the specified keyword\n\n\t    function matchKeyword(keyword) {\n\t        var token = lookahead();\n\t        return token.type === Token.Keyword && token.value === keyword;\n\t    }\n\n\t    // Return true if the next token is an assignment operator\n\n\t    function matchAssign() {\n\t        var token = lookahead(),\n\t            op = token.value;\n\n\t        if (token.type !== Token.Punctuator) {\n\t            return false;\n\t        }\n\t        return op === '=' ||\n\t            op === '*=' ||\n\t            op === '/=' ||\n\t            op === '%=' ||\n\t            op === '+=' ||\n\t            op === '-=' ||\n\t            op === '<<=' ||\n\t            op === '>>=' ||\n\t            op === '>>>=' ||\n\t            op === '&=' ||\n\t            op === '^=' ||\n\t            op === '|=';\n\t    }\n\n\t    function consumeSemicolon() {\n\t        var token, line;\n\n\t        // Catch the very common case first.\n\t        if (source[index] === ';') {\n\t            lex();\n\t            return;\n\t        }\n\n\t        line = lineNumber;\n\t        skipComment();\n\t        if (lineNumber !== line) {\n\t            return;\n\t        }\n\n\t        if (match(';')) {\n\t            lex();\n\t            return;\n\t        }\n\n\t        token = lookahead();\n\t        if (token.type !== Token.EOF && !match('}')) {\n\t            throwUnexpected(token);\n\t        }\n\t    }\n\n\t    // Return true if provided expression is LeftHandSideExpression\n\n\t    function isLeftHandSide(expr) {\n\t        return expr.type === Syntax.Identifier || expr.type === Syntax.MemberExpression;\n\t    }\n\n\t    // 11.1.4 Array Initialiser\n\n\t    function parseArrayInitialiser() {\n\t        var elements = [];\n\n\t        expect('[');\n\n\t        while (!match(']')) {\n\t            if (match(',')) {\n\t                lex();\n\t                elements.push(null);\n\t            } else {\n\t                elements.push(parseAssignmentExpression());\n\n\t                if (!match(']')) {\n\t                    expect(',');\n\t                }\n\t            }\n\t        }\n\n\t        expect(']');\n\n\t        return {\n\t            type: Syntax.ArrayExpression,\n\t            elements: elements\n\t        };\n\t    }\n\n\t    // 11.1.5 Object Initialiser\n\n\t    function parsePropertyFunction(param, first) {\n\t        var previousStrict, body;\n\n\t        previousStrict = strict;\n\t        body = parseFunctionSourceElements();\n\t        if (first && strict && isRestrictedWord(param[0].name)) {\n\t            throwErrorTolerant(first, Messages.StrictParamName);\n\t        }\n\t        strict = previousStrict;\n\n\t        return {\n\t            type: Syntax.FunctionExpression,\n\t            id: null,\n\t            params: param,\n\t            defaults: [],\n\t            body: body,\n\t            rest: null,\n\t            generator: false,\n\t            expression: false\n\t        };\n\t    }\n\n\t    function parseObjectPropertyKey() {\n\t        var token = lex();\n\n\t        // Note: This function is called only from parseObjectProperty(), where\n\t        // EOF and Punctuator tokens are already filtered out.\n\n\t        if (token.type === Token.StringLiteral || token.type === Token.NumericLiteral) {\n\t            if (strict && token.octal) {\n\t                throwErrorTolerant(token, Messages.StrictOctalLiteral);\n\t            }\n\t            return createLiteral(token);\n\t        }\n\n\t        return {\n\t            type: Syntax.Identifier,\n\t            name: token.value\n\t        };\n\t    }\n\n\t    function parseObjectProperty() {\n\t        var token, key, id, param;\n\n\t        token = lookahead();\n\n\t        if (token.type === Token.Identifier) {\n\n\t            id = parseObjectPropertyKey();\n\n\t            // Property Assignment: Getter and Setter.\n\n\t            if (token.value === 'get' && !match(':')) {\n\t                key = parseObjectPropertyKey();\n\t                expect('(');\n\t                expect(')');\n\t                return {\n\t                    type: Syntax.Property,\n\t                    key: key,\n\t                    value: parsePropertyFunction([]),\n\t                    kind: 'get'\n\t                };\n\t            } else if (token.value === 'set' && !match(':')) {\n\t                key = parseObjectPropertyKey();\n\t                expect('(');\n\t                token = lookahead();\n\t                if (token.type !== Token.Identifier) {\n\t                    expect(')');\n\t                    throwErrorTolerant(token, Messages.UnexpectedToken, token.value);\n\t                    return {\n\t                        type: Syntax.Property,\n\t                        key: key,\n\t                        value: parsePropertyFunction([]),\n\t                        kind: 'set'\n\t                    };\n\t                } else {\n\t                    param = [ parseVariableIdentifier() ];\n\t                    expect(')');\n\t                    return {\n\t                        type: Syntax.Property,\n\t                        key: key,\n\t                        value: parsePropertyFunction(param, token),\n\t                        kind: 'set'\n\t                    };\n\t                }\n\t            } else {\n\t                expect(':');\n\t                return {\n\t                    type: Syntax.Property,\n\t                    key: id,\n\t                    value: parseAssignmentExpression(),\n\t                    kind: 'init'\n\t                };\n\t            }\n\t        } else if (token.type === Token.EOF || token.type === Token.Punctuator) {\n\t            throwUnexpected(token);\n\t        } else {\n\t            key = parseObjectPropertyKey();\n\t            expect(':');\n\t            return {\n\t                type: Syntax.Property,\n\t                key: key,\n\t                value: parseAssignmentExpression(),\n\t                kind: 'init'\n\t            };\n\t        }\n\t    }\n\n\t    function parseObjectInitialiser() {\n\t        var properties = [], property, name, kind, map = {}, toString = String;\n\n\t        expect('{');\n\n\t        while (!match('}')) {\n\t            property = parseObjectProperty();\n\n\t            if (property.key.type === Syntax.Identifier) {\n\t                name = property.key.name;\n\t            } else {\n\t                name = toString(property.key.value);\n\t            }\n\t            kind = (property.kind === 'init') ? PropertyKind.Data : (property.kind === 'get') ? PropertyKind.Get : PropertyKind.Set;\n\t            if (Object.prototype.hasOwnProperty.call(map, name)) {\n\t                if (map[name] === PropertyKind.Data) {\n\t                    if (strict && kind === PropertyKind.Data) {\n\t                        throwErrorTolerant({}, Messages.StrictDuplicateProperty);\n\t                    } else if (kind !== PropertyKind.Data) {\n\t                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n\t                    }\n\t                } else {\n\t                    if (kind === PropertyKind.Data) {\n\t                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n\t                    } else if (map[name] & kind) {\n\t                        throwErrorTolerant({}, Messages.AccessorGetSet);\n\t                    }\n\t                }\n\t                map[name] |= kind;\n\t            } else {\n\t                map[name] = kind;\n\t            }\n\n\t            properties.push(property);\n\n\t            if (!match('}')) {\n\t                expect(',');\n\t            }\n\t        }\n\n\t        expect('}');\n\n\t        return {\n\t            type: Syntax.ObjectExpression,\n\t            properties: properties\n\t        };\n\t    }\n\n\t    // 11.1.6 The Grouping Operator\n\n\t    function parseGroupExpression() {\n\t        var expr;\n\n\t        expect('(');\n\n\t        expr = parseExpression();\n\n\t        expect(')');\n\n\t        return expr;\n\t    }\n\n\n\t    // 11.1 Primary Expressions\n\n\t    function parsePrimaryExpression() {\n\t        var token = lookahead(),\n\t            type = token.type;\n\n\t        if (type === Token.Identifier) {\n\t            return {\n\t                type: Syntax.Identifier,\n\t                name: lex().value\n\t            };\n\t        }\n\n\t        if (type === Token.StringLiteral || type === Token.NumericLiteral) {\n\t            if (strict && token.octal) {\n\t                throwErrorTolerant(token, Messages.StrictOctalLiteral);\n\t            }\n\t            return createLiteral(lex());\n\t        }\n\n\t        if (type === Token.Keyword) {\n\t            if (matchKeyword('this')) {\n\t                lex();\n\t                return {\n\t                    type: Syntax.ThisExpression\n\t                };\n\t            }\n\n\t            if (matchKeyword('function')) {\n\t                return parseFunctionExpression();\n\t            }\n\t        }\n\n\t        if (type === Token.BooleanLiteral) {\n\t            lex();\n\t            token.value = (token.value === 'true');\n\t            return createLiteral(token);\n\t        }\n\n\t        if (type === Token.NullLiteral) {\n\t            lex();\n\t            token.value = null;\n\t            return createLiteral(token);\n\t        }\n\n\t        if (match('[')) {\n\t            return parseArrayInitialiser();\n\t        }\n\n\t        if (match('{')) {\n\t            return parseObjectInitialiser();\n\t        }\n\n\t        if (match('(')) {\n\t            return parseGroupExpression();\n\t        }\n\n\t        if (match('/') || match('/=')) {\n\t            return createLiteral(scanRegExp());\n\t        }\n\n\t        return throwUnexpected(lex());\n\t    }\n\n\t    // 11.2 Left-Hand-Side Expressions\n\n\t    function parseArguments() {\n\t        var args = [];\n\n\t        expect('(');\n\n\t        if (!match(')')) {\n\t            while (index < length) {\n\t                args.push(parseAssignmentExpression());\n\t                if (match(')')) {\n\t                    break;\n\t                }\n\t                expect(',');\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        return args;\n\t    }\n\n\t    function parseNonComputedProperty() {\n\t        var token = lex();\n\n\t        if (!isIdentifierName(token)) {\n\t            throwUnexpected(token);\n\t        }\n\n\t        return {\n\t            type: Syntax.Identifier,\n\t            name: token.value\n\t        };\n\t    }\n\n\t    function parseNonComputedMember() {\n\t        expect('.');\n\n\t        return parseNonComputedProperty();\n\t    }\n\n\t    function parseComputedMember() {\n\t        var expr;\n\n\t        expect('[');\n\n\t        expr = parseExpression();\n\n\t        expect(']');\n\n\t        return expr;\n\t    }\n\n\t    function parseNewExpression() {\n\t        var expr;\n\n\t        expectKeyword('new');\n\n\t        expr = {\n\t            type: Syntax.NewExpression,\n\t            callee: parseLeftHandSideExpression(),\n\t            'arguments': []\n\t        };\n\n\t        if (match('(')) {\n\t            expr['arguments'] = parseArguments();\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function parseLeftHandSideExpressionAllowCall() {\n\t        var expr;\n\n\t        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n\t        while (match('.') || match('[') || match('(')) {\n\t            if (match('(')) {\n\t                expr = {\n\t                    type: Syntax.CallExpression,\n\t                    callee: expr,\n\t                    'arguments': parseArguments()\n\t                };\n\t            } else if (match('[')) {\n\t                expr = {\n\t                    type: Syntax.MemberExpression,\n\t                    computed: true,\n\t                    object: expr,\n\t                    property: parseComputedMember()\n\t                };\n\t            } else {\n\t                expr = {\n\t                    type: Syntax.MemberExpression,\n\t                    computed: false,\n\t                    object: expr,\n\t                    property: parseNonComputedMember()\n\t                };\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\n\t    function parseLeftHandSideExpression() {\n\t        var expr;\n\n\t        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n\t        while (match('.') || match('[')) {\n\t            if (match('[')) {\n\t                expr = {\n\t                    type: Syntax.MemberExpression,\n\t                    computed: true,\n\t                    object: expr,\n\t                    property: parseComputedMember()\n\t                };\n\t            } else {\n\t                expr = {\n\t                    type: Syntax.MemberExpression,\n\t                    computed: false,\n\t                    object: expr,\n\t                    property: parseNonComputedMember()\n\t                };\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.3 Postfix Expressions\n\n\t    function parsePostfixExpression() {\n\t        var expr = parseLeftHandSideExpressionAllowCall(), token;\n\n\t        token = lookahead();\n\t        if (token.type !== Token.Punctuator) {\n\t            return expr;\n\t        }\n\n\t        if ((match('++') || match('--')) && !peekLineTerminator()) {\n\t            // 11.3.1, 11.3.2\n\t            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n\t                throwErrorTolerant({}, Messages.StrictLHSPostfix);\n\t            }\n\t            if (!isLeftHandSide(expr)) {\n\t                throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n\t            }\n\n\t            expr = {\n\t                type: Syntax.UpdateExpression,\n\t                operator: lex().value,\n\t                argument: expr,\n\t                prefix: false\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.4 Unary Operators\n\n\t    function parseUnaryExpression() {\n\t        var token, expr;\n\n\t        token = lookahead();\n\t        if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {\n\t            return parsePostfixExpression();\n\t        }\n\n\t        if (match('++') || match('--')) {\n\t            token = lex();\n\t            expr = parseUnaryExpression();\n\t            // 11.4.4, 11.4.5\n\t            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n\t                throwErrorTolerant({}, Messages.StrictLHSPrefix);\n\t            }\n\n\t            if (!isLeftHandSide(expr)) {\n\t                throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n\t            }\n\n\t            expr = {\n\t                type: Syntax.UpdateExpression,\n\t                operator: token.value,\n\t                argument: expr,\n\t                prefix: true\n\t            };\n\t            return expr;\n\t        }\n\n\t        if (match('+') || match('-') || match('~') || match('!')) {\n\t            expr = {\n\t                type: Syntax.UnaryExpression,\n\t                operator: lex().value,\n\t                argument: parseUnaryExpression(),\n\t                prefix: true\n\t            };\n\t            return expr;\n\t        }\n\n\t        if (matchKeyword('delete') || matchKeyword('void') || matchKeyword('typeof')) {\n\t            expr = {\n\t                type: Syntax.UnaryExpression,\n\t                operator: lex().value,\n\t                argument: parseUnaryExpression(),\n\t                prefix: true\n\t            };\n\t            if (strict && expr.operator === 'delete' && expr.argument.type === Syntax.Identifier) {\n\t                throwErrorTolerant({}, Messages.StrictDelete);\n\t            }\n\t            return expr;\n\t        }\n\n\t        return parsePostfixExpression();\n\t    }\n\n\t    // 11.5 Multiplicative Operators\n\n\t    function parseMultiplicativeExpression() {\n\t        var expr = parseUnaryExpression();\n\n\t        while (match('*') || match('/') || match('%')) {\n\t            expr = {\n\t                type: Syntax.BinaryExpression,\n\t                operator: lex().value,\n\t                left: expr,\n\t                right: parseUnaryExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.6 Additive Operators\n\n\t    function parseAdditiveExpression() {\n\t        var expr = parseMultiplicativeExpression();\n\n\t        while (match('+') || match('-')) {\n\t            expr = {\n\t                type: Syntax.BinaryExpression,\n\t                operator: lex().value,\n\t                left: expr,\n\t                right: parseMultiplicativeExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.7 Bitwise Shift Operators\n\n\t    function parseShiftExpression() {\n\t        var expr = parseAdditiveExpression();\n\n\t        while (match('<<') || match('>>') || match('>>>')) {\n\t            expr = {\n\t                type: Syntax.BinaryExpression,\n\t                operator: lex().value,\n\t                left: expr,\n\t                right: parseAdditiveExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\t    // 11.8 Relational Operators\n\n\t    function parseRelationalExpression() {\n\t        var expr, previousAllowIn;\n\n\t        previousAllowIn = state.allowIn;\n\t        state.allowIn = true;\n\n\t        expr = parseShiftExpression();\n\n\t        while (match('<') || match('>') || match('<=') || match('>=') || (previousAllowIn && matchKeyword('in')) || matchKeyword('instanceof')) {\n\t            expr = {\n\t                type: Syntax.BinaryExpression,\n\t                operator: lex().value,\n\t                left: expr,\n\t                right: parseShiftExpression()\n\t            };\n\t        }\n\n\t        state.allowIn = previousAllowIn;\n\t        return expr;\n\t    }\n\n\t    // 11.9 Equality Operators\n\n\t    function parseEqualityExpression() {\n\t        var expr = parseRelationalExpression();\n\n\t        while (match('==') || match('!=') || match('===') || match('!==')) {\n\t            expr = {\n\t                type: Syntax.BinaryExpression,\n\t                operator: lex().value,\n\t                left: expr,\n\t                right: parseRelationalExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.10 Binary Bitwise Operators\n\n\t    function parseBitwiseANDExpression() {\n\t        var expr = parseEqualityExpression();\n\n\t        while (match('&')) {\n\t            lex();\n\t            expr = {\n\t                type: Syntax.BinaryExpression,\n\t                operator: '&',\n\t                left: expr,\n\t                right: parseEqualityExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function parseBitwiseXORExpression() {\n\t        var expr = parseBitwiseANDExpression();\n\n\t        while (match('^')) {\n\t            lex();\n\t            expr = {\n\t                type: Syntax.BinaryExpression,\n\t                operator: '^',\n\t                left: expr,\n\t                right: parseBitwiseANDExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function parseBitwiseORExpression() {\n\t        var expr = parseBitwiseXORExpression();\n\n\t        while (match('|')) {\n\t            lex();\n\t            expr = {\n\t                type: Syntax.BinaryExpression,\n\t                operator: '|',\n\t                left: expr,\n\t                right: parseBitwiseXORExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.11 Binary Logical Operators\n\n\t    function parseLogicalANDExpression() {\n\t        var expr = parseBitwiseORExpression();\n\n\t        while (match('&&')) {\n\t            lex();\n\t            expr = {\n\t                type: Syntax.LogicalExpression,\n\t                operator: '&&',\n\t                left: expr,\n\t                right: parseBitwiseORExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function parseLogicalORExpression() {\n\t        var expr = parseLogicalANDExpression();\n\n\t        while (match('||')) {\n\t            lex();\n\t            expr = {\n\t                type: Syntax.LogicalExpression,\n\t                operator: '||',\n\t                left: expr,\n\t                right: parseLogicalANDExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.12 Conditional Operator\n\n\t    function parseConditionalExpression() {\n\t        var expr, previousAllowIn, consequent;\n\n\t        expr = parseLogicalORExpression();\n\n\t        if (match('?')) {\n\t            lex();\n\t            previousAllowIn = state.allowIn;\n\t            state.allowIn = true;\n\t            consequent = parseAssignmentExpression();\n\t            state.allowIn = previousAllowIn;\n\t            expect(':');\n\n\t            expr = {\n\t                type: Syntax.ConditionalExpression,\n\t                test: expr,\n\t                consequent: consequent,\n\t                alternate: parseAssignmentExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.13 Assignment Operators\n\n\t    function parseAssignmentExpression() {\n\t        var token, expr;\n\n\t        token = lookahead();\n\t        expr = parseConditionalExpression();\n\n\t        if (matchAssign()) {\n\t            // LeftHandSideExpression\n\t            if (!isLeftHandSide(expr)) {\n\t                throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n\t            }\n\n\t            // 11.13.1\n\t            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n\t                throwErrorTolerant(token, Messages.StrictLHSAssignment);\n\t            }\n\n\t            expr = {\n\t                type: Syntax.AssignmentExpression,\n\t                operator: lex().value,\n\t                left: expr,\n\t                right: parseAssignmentExpression()\n\t            };\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    // 11.14 Comma Operator\n\n\t    function parseExpression() {\n\t        var expr = parseAssignmentExpression();\n\n\t        if (match(',')) {\n\t            expr = {\n\t                type: Syntax.SequenceExpression,\n\t                expressions: [ expr ]\n\t            };\n\n\t            while (index < length) {\n\t                if (!match(',')) {\n\t                    break;\n\t                }\n\t                lex();\n\t                expr.expressions.push(parseAssignmentExpression());\n\t            }\n\n\t        }\n\t        return expr;\n\t    }\n\n\t    // 12.1 Block\n\n\t    function parseStatementList() {\n\t        var list = [],\n\t            statement;\n\n\t        while (index < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            statement = parseSourceElement();\n\t            if (typeof statement === 'undefined') {\n\t                break;\n\t            }\n\t            list.push(statement);\n\t        }\n\n\t        return list;\n\t    }\n\n\t    function parseBlock() {\n\t        var block;\n\n\t        expect('{');\n\n\t        block = parseStatementList();\n\n\t        expect('}');\n\n\t        return {\n\t            type: Syntax.BlockStatement,\n\t            body: block\n\t        };\n\t    }\n\n\t    // 12.2 Variable Statement\n\n\t    function parseVariableIdentifier() {\n\t        var token = lex();\n\n\t        if (token.type !== Token.Identifier) {\n\t            throwUnexpected(token);\n\t        }\n\n\t        return {\n\t            type: Syntax.Identifier,\n\t            name: token.value\n\t        };\n\t    }\n\n\t    function parseVariableDeclaration(kind) {\n\t        var id = parseVariableIdentifier(),\n\t            init = null;\n\n\t        // 12.2.1\n\t        if (strict && isRestrictedWord(id.name)) {\n\t            throwErrorTolerant({}, Messages.StrictVarName);\n\t        }\n\n\t        if (kind === 'const') {\n\t            expect('=');\n\t            init = parseAssignmentExpression();\n\t        } else if (match('=')) {\n\t            lex();\n\t            init = parseAssignmentExpression();\n\t        }\n\n\t        return {\n\t            type: Syntax.VariableDeclarator,\n\t            id: id,\n\t            init: init\n\t        };\n\t    }\n\n\t    function parseVariableDeclarationList(kind) {\n\t        var list = [];\n\n\t        do {\n\t            list.push(parseVariableDeclaration(kind));\n\t            if (!match(',')) {\n\t                break;\n\t            }\n\t            lex();\n\t        } while (index < length);\n\n\t        return list;\n\t    }\n\n\t    function parseVariableStatement() {\n\t        var declarations;\n\n\t        expectKeyword('var');\n\n\t        declarations = parseVariableDeclarationList();\n\n\t        consumeSemicolon();\n\n\t        return {\n\t            type: Syntax.VariableDeclaration,\n\t            declarations: declarations,\n\t            kind: 'var'\n\t        };\n\t    }\n\n\t    // kind may be `const` or `let`\n\t    // Both are experimental and not in the specification yet.\n\t    // see http://wiki.ecmascript.org/doku.php?id=harmony:const\n\t    // and http://wiki.ecmascript.org/doku.php?id=harmony:let\n\t    function parseConstLetDeclaration(kind) {\n\t        var declarations;\n\n\t        expectKeyword(kind);\n\n\t        declarations = parseVariableDeclarationList(kind);\n\n\t        consumeSemicolon();\n\n\t        return {\n\t            type: Syntax.VariableDeclaration,\n\t            declarations: declarations,\n\t            kind: kind\n\t        };\n\t    }\n\n\t    // 12.3 Empty Statement\n\n\t    function parseEmptyStatement() {\n\t        expect(';');\n\n\t        return {\n\t            type: Syntax.EmptyStatement\n\t        };\n\t    }\n\n\t    // 12.4 Expression Statement\n\n\t    function parseExpressionStatement() {\n\t        var expr = parseExpression();\n\n\t        consumeSemicolon();\n\n\t        return {\n\t            type: Syntax.ExpressionStatement,\n\t            expression: expr\n\t        };\n\t    }\n\n\t    // 12.5 If statement\n\n\t    function parseIfStatement() {\n\t        var test, consequent, alternate;\n\n\t        expectKeyword('if');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        consequent = parseStatement();\n\n\t        if (matchKeyword('else')) {\n\t            lex();\n\t            alternate = parseStatement();\n\t        } else {\n\t            alternate = null;\n\t        }\n\n\t        return {\n\t            type: Syntax.IfStatement,\n\t            test: test,\n\t            consequent: consequent,\n\t            alternate: alternate\n\t        };\n\t    }\n\n\t    // 12.6 Iteration Statements\n\n\t    function parseDoWhileStatement() {\n\t        var body, test, oldInIteration;\n\n\t        expectKeyword('do');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        body = parseStatement();\n\n\t        state.inIteration = oldInIteration;\n\n\t        expectKeyword('while');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        if (match(';')) {\n\t            lex();\n\t        }\n\n\t        return {\n\t            type: Syntax.DoWhileStatement,\n\t            body: body,\n\t            test: test\n\t        };\n\t    }\n\n\t    function parseWhileStatement() {\n\t        var test, body, oldInIteration;\n\n\t        expectKeyword('while');\n\n\t        expect('(');\n\n\t        test = parseExpression();\n\n\t        expect(')');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        body = parseStatement();\n\n\t        state.inIteration = oldInIteration;\n\n\t        return {\n\t            type: Syntax.WhileStatement,\n\t            test: test,\n\t            body: body\n\t        };\n\t    }\n\n\t    function parseForVariableDeclaration() {\n\t        var token = lex();\n\n\t        return {\n\t            type: Syntax.VariableDeclaration,\n\t            declarations: parseVariableDeclarationList(),\n\t            kind: token.value\n\t        };\n\t    }\n\n\t    function parseForStatement() {\n\t        var init, test, update, left, right, body, oldInIteration;\n\n\t        init = test = update = null;\n\n\t        expectKeyword('for');\n\n\t        expect('(');\n\n\t        if (match(';')) {\n\t            lex();\n\t        } else {\n\t            if (matchKeyword('var') || matchKeyword('let')) {\n\t                state.allowIn = false;\n\t                init = parseForVariableDeclaration();\n\t                state.allowIn = true;\n\n\t                if (init.declarations.length === 1 && matchKeyword('in')) {\n\t                    lex();\n\t                    left = init;\n\t                    right = parseExpression();\n\t                    init = null;\n\t                }\n\t            } else {\n\t                state.allowIn = false;\n\t                init = parseExpression();\n\t                state.allowIn = true;\n\n\t                if (matchKeyword('in')) {\n\t                    // LeftHandSideExpression\n\t                    if (!isLeftHandSide(init)) {\n\t                        throwErrorTolerant({}, Messages.InvalidLHSInForIn);\n\t                    }\n\n\t                    lex();\n\t                    left = init;\n\t                    right = parseExpression();\n\t                    init = null;\n\t                }\n\t            }\n\n\t            if (typeof left === 'undefined') {\n\t                expect(';');\n\t            }\n\t        }\n\n\t        if (typeof left === 'undefined') {\n\n\t            if (!match(';')) {\n\t                test = parseExpression();\n\t            }\n\t            expect(';');\n\n\t            if (!match(')')) {\n\t                update = parseExpression();\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        oldInIteration = state.inIteration;\n\t        state.inIteration = true;\n\n\t        body = parseStatement();\n\n\t        state.inIteration = oldInIteration;\n\n\t        if (typeof left === 'undefined') {\n\t            return {\n\t                type: Syntax.ForStatement,\n\t                init: init,\n\t                test: test,\n\t                update: update,\n\t                body: body\n\t            };\n\t        }\n\n\t        return {\n\t            type: Syntax.ForInStatement,\n\t            left: left,\n\t            right: right,\n\t            body: body,\n\t            each: false\n\t        };\n\t    }\n\n\t    // 12.7 The continue statement\n\n\t    function parseContinueStatement() {\n\t        var token, label = null;\n\n\t        expectKeyword('continue');\n\n\t        // Optimize the most common form: 'continue;'.\n\t        if (source[index] === ';') {\n\t            lex();\n\n\t            if (!state.inIteration) {\n\t                throwError({}, Messages.IllegalContinue);\n\t            }\n\n\t            return {\n\t                type: Syntax.ContinueStatement,\n\t                label: null\n\t            };\n\t        }\n\n\t        if (peekLineTerminator()) {\n\t            if (!state.inIteration) {\n\t                throwError({}, Messages.IllegalContinue);\n\t            }\n\n\t            return {\n\t                type: Syntax.ContinueStatement,\n\t                label: null\n\t            };\n\t        }\n\n\t        token = lookahead();\n\t        if (token.type === Token.Identifier) {\n\t            label = parseVariableIdentifier();\n\n\t            if (!Object.prototype.hasOwnProperty.call(state.labelSet, label.name)) {\n\t                throwError({}, Messages.UnknownLabel, label.name);\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        if (label === null && !state.inIteration) {\n\t            throwError({}, Messages.IllegalContinue);\n\t        }\n\n\t        return {\n\t            type: Syntax.ContinueStatement,\n\t            label: label\n\t        };\n\t    }\n\n\t    // 12.8 The break statement\n\n\t    function parseBreakStatement() {\n\t        var token, label = null;\n\n\t        expectKeyword('break');\n\n\t        // Optimize the most common form: 'break;'.\n\t        if (source[index] === ';') {\n\t            lex();\n\n\t            if (!(state.inIteration || state.inSwitch)) {\n\t                throwError({}, Messages.IllegalBreak);\n\t            }\n\n\t            return {\n\t                type: Syntax.BreakStatement,\n\t                label: null\n\t            };\n\t        }\n\n\t        if (peekLineTerminator()) {\n\t            if (!(state.inIteration || state.inSwitch)) {\n\t                throwError({}, Messages.IllegalBreak);\n\t            }\n\n\t            return {\n\t                type: Syntax.BreakStatement,\n\t                label: null\n\t            };\n\t        }\n\n\t        token = lookahead();\n\t        if (token.type === Token.Identifier) {\n\t            label = parseVariableIdentifier();\n\n\t            if (!Object.prototype.hasOwnProperty.call(state.labelSet, label.name)) {\n\t                throwError({}, Messages.UnknownLabel, label.name);\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        if (label === null && !(state.inIteration || state.inSwitch)) {\n\t            throwError({}, Messages.IllegalBreak);\n\t        }\n\n\t        return {\n\t            type: Syntax.BreakStatement,\n\t            label: label\n\t        };\n\t    }\n\n\t    // 12.9 The return statement\n\n\t    function parseReturnStatement() {\n\t        var token, argument = null;\n\n\t        expectKeyword('return');\n\n\t        if (!state.inFunctionBody) {\n\t            throwErrorTolerant({}, Messages.IllegalReturn);\n\t        }\n\n\t        // 'return' followed by a space and an identifier is very common.\n\t        if (source[index] === ' ') {\n\t            if (isIdentifierStart(source[index + 1])) {\n\t                argument = parseExpression();\n\t                consumeSemicolon();\n\t                return {\n\t                    type: Syntax.ReturnStatement,\n\t                    argument: argument\n\t                };\n\t            }\n\t        }\n\n\t        if (peekLineTerminator()) {\n\t            return {\n\t                type: Syntax.ReturnStatement,\n\t                argument: null\n\t            };\n\t        }\n\n\t        if (!match(';')) {\n\t            token = lookahead();\n\t            if (!match('}') && token.type !== Token.EOF) {\n\t                argument = parseExpression();\n\t            }\n\t        }\n\n\t        consumeSemicolon();\n\n\t        return {\n\t            type: Syntax.ReturnStatement,\n\t            argument: argument\n\t        };\n\t    }\n\n\t    // 12.10 The with statement\n\n\t    function parseWithStatement() {\n\t        var object, body;\n\n\t        if (strict) {\n\t            throwErrorTolerant({}, Messages.StrictModeWith);\n\t        }\n\n\t        expectKeyword('with');\n\n\t        expect('(');\n\n\t        object = parseExpression();\n\n\t        expect(')');\n\n\t        body = parseStatement();\n\n\t        return {\n\t            type: Syntax.WithStatement,\n\t            object: object,\n\t            body: body\n\t        };\n\t    }\n\n\t    // 12.10 The swith statement\n\n\t    function parseSwitchCase() {\n\t        var test,\n\t            consequent = [],\n\t            statement;\n\n\t        if (matchKeyword('default')) {\n\t            lex();\n\t            test = null;\n\t        } else {\n\t            expectKeyword('case');\n\t            test = parseExpression();\n\t        }\n\t        expect(':');\n\n\t        while (index < length) {\n\t            if (match('}') || matchKeyword('default') || matchKeyword('case')) {\n\t                break;\n\t            }\n\t            statement = parseStatement();\n\t            if (typeof statement === 'undefined') {\n\t                break;\n\t            }\n\t            consequent.push(statement);\n\t        }\n\n\t        return {\n\t            type: Syntax.SwitchCase,\n\t            test: test,\n\t            consequent: consequent\n\t        };\n\t    }\n\n\t    function parseSwitchStatement() {\n\t        var discriminant, cases, clause, oldInSwitch, defaultFound;\n\n\t        expectKeyword('switch');\n\n\t        expect('(');\n\n\t        discriminant = parseExpression();\n\n\t        expect(')');\n\n\t        expect('{');\n\n\t        cases = [];\n\n\t        if (match('}')) {\n\t            lex();\n\t            return {\n\t                type: Syntax.SwitchStatement,\n\t                discriminant: discriminant,\n\t                cases: cases\n\t            };\n\t        }\n\n\t        oldInSwitch = state.inSwitch;\n\t        state.inSwitch = true;\n\t        defaultFound = false;\n\n\t        while (index < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            clause = parseSwitchCase();\n\t            if (clause.test === null) {\n\t                if (defaultFound) {\n\t                    throwError({}, Messages.MultipleDefaultsInSwitch);\n\t                }\n\t                defaultFound = true;\n\t            }\n\t            cases.push(clause);\n\t        }\n\n\t        state.inSwitch = oldInSwitch;\n\n\t        expect('}');\n\n\t        return {\n\t            type: Syntax.SwitchStatement,\n\t            discriminant: discriminant,\n\t            cases: cases\n\t        };\n\t    }\n\n\t    // 12.13 The throw statement\n\n\t    function parseThrowStatement() {\n\t        var argument;\n\n\t        expectKeyword('throw');\n\n\t        if (peekLineTerminator()) {\n\t            throwError({}, Messages.NewlineAfterThrow);\n\t        }\n\n\t        argument = parseExpression();\n\n\t        consumeSemicolon();\n\n\t        return {\n\t            type: Syntax.ThrowStatement,\n\t            argument: argument\n\t        };\n\t    }\n\n\t    // 12.14 The try statement\n\n\t    function parseCatchClause() {\n\t        var param;\n\n\t        expectKeyword('catch');\n\n\t        expect('(');\n\t        if (match(')')) {\n\t            throwUnexpected(lookahead());\n\t        }\n\n\t        param = parseVariableIdentifier();\n\t        // 12.14.1\n\t        if (strict && isRestrictedWord(param.name)) {\n\t            throwErrorTolerant({}, Messages.StrictCatchVariable);\n\t        }\n\n\t        expect(')');\n\n\t        return {\n\t            type: Syntax.CatchClause,\n\t            param: param,\n\t            body: parseBlock()\n\t        };\n\t    }\n\n\t    function parseTryStatement() {\n\t        var block, handlers = [], finalizer = null;\n\n\t        expectKeyword('try');\n\n\t        block = parseBlock();\n\n\t        if (matchKeyword('catch')) {\n\t            handlers.push(parseCatchClause());\n\t        }\n\n\t        if (matchKeyword('finally')) {\n\t            lex();\n\t            finalizer = parseBlock();\n\t        }\n\n\t        if (handlers.length === 0 && !finalizer) {\n\t            throwError({}, Messages.NoCatchOrFinally);\n\t        }\n\n\t        return {\n\t            type: Syntax.TryStatement,\n\t            block: block,\n\t            guardedHandlers: [],\n\t            handlers: handlers,\n\t            finalizer: finalizer\n\t        };\n\t    }\n\n\t    // 12.15 The debugger statement\n\n\t    function parseDebuggerStatement() {\n\t        expectKeyword('debugger');\n\n\t        consumeSemicolon();\n\n\t        return {\n\t            type: Syntax.DebuggerStatement\n\t        };\n\t    }\n\n\t    // 12 Statements\n\n\t    function parseStatement() {\n\t        var token = lookahead(),\n\t            expr,\n\t            labeledBody;\n\n\t        if (token.type === Token.EOF) {\n\t            throwUnexpected(token);\n\t        }\n\n\t        if (token.type === Token.Punctuator) {\n\t            switch (token.value) {\n\t            case ';':\n\t                return parseEmptyStatement();\n\t            case '{':\n\t                return parseBlock();\n\t            case '(':\n\t                return parseExpressionStatement();\n\t            default:\n\t                break;\n\t            }\n\t        }\n\n\t        if (token.type === Token.Keyword) {\n\t            switch (token.value) {\n\t            case 'break':\n\t                return parseBreakStatement();\n\t            case 'continue':\n\t                return parseContinueStatement();\n\t            case 'debugger':\n\t                return parseDebuggerStatement();\n\t            case 'do':\n\t                return parseDoWhileStatement();\n\t            case 'for':\n\t                return parseForStatement();\n\t            case 'function':\n\t                return parseFunctionDeclaration();\n\t            case 'if':\n\t                return parseIfStatement();\n\t            case 'return':\n\t                return parseReturnStatement();\n\t            case 'switch':\n\t                return parseSwitchStatement();\n\t            case 'throw':\n\t                return parseThrowStatement();\n\t            case 'try':\n\t                return parseTryStatement();\n\t            case 'var':\n\t                return parseVariableStatement();\n\t            case 'while':\n\t                return parseWhileStatement();\n\t            case 'with':\n\t                return parseWithStatement();\n\t            default:\n\t                break;\n\t            }\n\t        }\n\n\t        expr = parseExpression();\n\n\t        // 12.12 Labelled Statements\n\t        if ((expr.type === Syntax.Identifier) && match(':')) {\n\t            lex();\n\n\t            if (Object.prototype.hasOwnProperty.call(state.labelSet, expr.name)) {\n\t                throwError({}, Messages.Redeclaration, 'Label', expr.name);\n\t            }\n\n\t            state.labelSet[expr.name] = true;\n\t            labeledBody = parseStatement();\n\t            delete state.labelSet[expr.name];\n\n\t            return {\n\t                type: Syntax.LabeledStatement,\n\t                label: expr,\n\t                body: labeledBody\n\t            };\n\t        }\n\n\t        consumeSemicolon();\n\n\t        return {\n\t            type: Syntax.ExpressionStatement,\n\t            expression: expr\n\t        };\n\t    }\n\n\t    // 13 Function Definition\n\n\t    function parseFunctionSourceElements() {\n\t        var sourceElement, sourceElements = [], token, directive, firstRestricted,\n\t            oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody;\n\n\t        expect('{');\n\n\t        while (index < length) {\n\t            token = lookahead();\n\t            if (token.type !== Token.StringLiteral) {\n\t                break;\n\t            }\n\n\t            sourceElement = parseSourceElement();\n\t            sourceElements.push(sourceElement);\n\t            if (sourceElement.expression.type !== Syntax.Literal) {\n\t                // this is not directive\n\t                break;\n\t            }\n\t            directive = sliceSource(token.range[0] + 1, token.range[1] - 1);\n\t            if (directive === 'use strict') {\n\t                strict = true;\n\t                if (firstRestricted) {\n\t                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n\t                }\n\t            } else {\n\t                if (!firstRestricted && token.octal) {\n\t                    firstRestricted = token;\n\t                }\n\t            }\n\t        }\n\n\t        oldLabelSet = state.labelSet;\n\t        oldInIteration = state.inIteration;\n\t        oldInSwitch = state.inSwitch;\n\t        oldInFunctionBody = state.inFunctionBody;\n\n\t        state.labelSet = {};\n\t        state.inIteration = false;\n\t        state.inSwitch = false;\n\t        state.inFunctionBody = true;\n\n\t        while (index < length) {\n\t            if (match('}')) {\n\t                break;\n\t            }\n\t            sourceElement = parseSourceElement();\n\t            if (typeof sourceElement === 'undefined') {\n\t                break;\n\t            }\n\t            sourceElements.push(sourceElement);\n\t        }\n\n\t        expect('}');\n\n\t        state.labelSet = oldLabelSet;\n\t        state.inIteration = oldInIteration;\n\t        state.inSwitch = oldInSwitch;\n\t        state.inFunctionBody = oldInFunctionBody;\n\n\t        return {\n\t            type: Syntax.BlockStatement,\n\t            body: sourceElements\n\t        };\n\t    }\n\n\t    function parseFunctionDeclaration() {\n\t        var id, param, params = [], body, token, stricted, firstRestricted, message, previousStrict, paramSet;\n\n\t        expectKeyword('function');\n\t        token = lookahead();\n\t        id = parseVariableIdentifier();\n\t        if (strict) {\n\t            if (isRestrictedWord(token.value)) {\n\t                throwErrorTolerant(token, Messages.StrictFunctionName);\n\t            }\n\t        } else {\n\t            if (isRestrictedWord(token.value)) {\n\t                firstRestricted = token;\n\t                message = Messages.StrictFunctionName;\n\t            } else if (isStrictModeReservedWord(token.value)) {\n\t                firstRestricted = token;\n\t                message = Messages.StrictReservedWord;\n\t            }\n\t        }\n\n\t        expect('(');\n\n\t        if (!match(')')) {\n\t            paramSet = {};\n\t            while (index < length) {\n\t                token = lookahead();\n\t                param = parseVariableIdentifier();\n\t                if (strict) {\n\t                    if (isRestrictedWord(token.value)) {\n\t                        stricted = token;\n\t                        message = Messages.StrictParamName;\n\t                    }\n\t                    if (Object.prototype.hasOwnProperty.call(paramSet, token.value)) {\n\t                        stricted = token;\n\t                        message = Messages.StrictParamDupe;\n\t                    }\n\t                } else if (!firstRestricted) {\n\t                    if (isRestrictedWord(token.value)) {\n\t                        firstRestricted = token;\n\t                        message = Messages.StrictParamName;\n\t                    } else if (isStrictModeReservedWord(token.value)) {\n\t                        firstRestricted = token;\n\t                        message = Messages.StrictReservedWord;\n\t                    } else if (Object.prototype.hasOwnProperty.call(paramSet, token.value)) {\n\t                        firstRestricted = token;\n\t                        message = Messages.StrictParamDupe;\n\t                    }\n\t                }\n\t                params.push(param);\n\t                paramSet[param.name] = true;\n\t                if (match(')')) {\n\t                    break;\n\t                }\n\t                expect(',');\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        previousStrict = strict;\n\t        body = parseFunctionSourceElements();\n\t        if (strict && firstRestricted) {\n\t            throwError(firstRestricted, message);\n\t        }\n\t        if (strict && stricted) {\n\t            throwErrorTolerant(stricted, message);\n\t        }\n\t        strict = previousStrict;\n\n\t        return {\n\t            type: Syntax.FunctionDeclaration,\n\t            id: id,\n\t            params: params,\n\t            defaults: [],\n\t            body: body,\n\t            rest: null,\n\t            generator: false,\n\t            expression: false\n\t        };\n\t    }\n\n\t    function parseFunctionExpression() {\n\t        var token, id = null, stricted, firstRestricted, message, param, params = [], body, previousStrict, paramSet;\n\n\t        expectKeyword('function');\n\n\t        if (!match('(')) {\n\t            token = lookahead();\n\t            id = parseVariableIdentifier();\n\t            if (strict) {\n\t                if (isRestrictedWord(token.value)) {\n\t                    throwErrorTolerant(token, Messages.StrictFunctionName);\n\t                }\n\t            } else {\n\t                if (isRestrictedWord(token.value)) {\n\t                    firstRestricted = token;\n\t                    message = Messages.StrictFunctionName;\n\t                } else if (isStrictModeReservedWord(token.value)) {\n\t                    firstRestricted = token;\n\t                    message = Messages.StrictReservedWord;\n\t                }\n\t            }\n\t        }\n\n\t        expect('(');\n\n\t        if (!match(')')) {\n\t            paramSet = {};\n\t            while (index < length) {\n\t                token = lookahead();\n\t                param = parseVariableIdentifier();\n\t                if (strict) {\n\t                    if (isRestrictedWord(token.value)) {\n\t                        stricted = token;\n\t                        message = Messages.StrictParamName;\n\t                    }\n\t                    if (Object.prototype.hasOwnProperty.call(paramSet, token.value)) {\n\t                        stricted = token;\n\t                        message = Messages.StrictParamDupe;\n\t                    }\n\t                } else if (!firstRestricted) {\n\t                    if (isRestrictedWord(token.value)) {\n\t                        firstRestricted = token;\n\t                        message = Messages.StrictParamName;\n\t                    } else if (isStrictModeReservedWord(token.value)) {\n\t                        firstRestricted = token;\n\t                        message = Messages.StrictReservedWord;\n\t                    } else if (Object.prototype.hasOwnProperty.call(paramSet, token.value)) {\n\t                        firstRestricted = token;\n\t                        message = Messages.StrictParamDupe;\n\t                    }\n\t                }\n\t                params.push(param);\n\t                paramSet[param.name] = true;\n\t                if (match(')')) {\n\t                    break;\n\t                }\n\t                expect(',');\n\t            }\n\t        }\n\n\t        expect(')');\n\n\t        previousStrict = strict;\n\t        body = parseFunctionSourceElements();\n\t        if (strict && firstRestricted) {\n\t            throwError(firstRestricted, message);\n\t        }\n\t        if (strict && stricted) {\n\t            throwErrorTolerant(stricted, message);\n\t        }\n\t        strict = previousStrict;\n\n\t        return {\n\t            type: Syntax.FunctionExpression,\n\t            id: id,\n\t            params: params,\n\t            defaults: [],\n\t            body: body,\n\t            rest: null,\n\t            generator: false,\n\t            expression: false\n\t        };\n\t    }\n\n\t    // 14 Program\n\n\t    function parseSourceElement() {\n\t        var token = lookahead();\n\n\t        if (token.type === Token.Keyword) {\n\t            switch (token.value) {\n\t            case 'const':\n\t            case 'let':\n\t                return parseConstLetDeclaration(token.value);\n\t            case 'function':\n\t                return parseFunctionDeclaration();\n\t            default:\n\t                return parseStatement();\n\t            }\n\t        }\n\n\t        if (token.type !== Token.EOF) {\n\t            return parseStatement();\n\t        }\n\t    }\n\n\t    function parseSourceElements() {\n\t        var sourceElement, sourceElements = [], token, directive, firstRestricted;\n\n\t        while (index < length) {\n\t            token = lookahead();\n\t            if (token.type !== Token.StringLiteral) {\n\t                break;\n\t            }\n\n\t            sourceElement = parseSourceElement();\n\t            sourceElements.push(sourceElement);\n\t            if (sourceElement.expression.type !== Syntax.Literal) {\n\t                // this is not directive\n\t                break;\n\t            }\n\t            directive = sliceSource(token.range[0] + 1, token.range[1] - 1);\n\t            if (directive === 'use strict') {\n\t                strict = true;\n\t                if (firstRestricted) {\n\t                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n\t                }\n\t            } else {\n\t                if (!firstRestricted && token.octal) {\n\t                    firstRestricted = token;\n\t                }\n\t            }\n\t        }\n\n\t        while (index < length) {\n\t            sourceElement = parseSourceElement();\n\t            if (typeof sourceElement === 'undefined') {\n\t                break;\n\t            }\n\t            sourceElements.push(sourceElement);\n\t        }\n\t        return sourceElements;\n\t    }\n\n\t    function parseProgram() {\n\t        var program;\n\t        strict = false;\n\t        program = {\n\t            type: Syntax.Program,\n\t            body: parseSourceElements()\n\t        };\n\t        return program;\n\t    }\n\n\t    // The following functions are needed only when the option to preserve\n\t    // the comments is active.\n\n\t    function addComment(type, value, start, end, loc) {\n\t        assert(typeof start === 'number', 'Comment must have valid position');\n\n\t        // Because the way the actual token is scanned, often the comments\n\t        // (if any) are skipped twice during the lexical analysis.\n\t        // Thus, we need to skip adding a comment if the comment array already\n\t        // handled it.\n\t        if (extra.comments.length > 0) {\n\t            if (extra.comments[extra.comments.length - 1].range[1] > start) {\n\t                return;\n\t            }\n\t        }\n\n\t        extra.comments.push({\n\t            type: type,\n\t            value: value,\n\t            range: [start, end],\n\t            loc: loc\n\t        });\n\t    }\n\n\t    function scanComment() {\n\t        var comment, ch, loc, start, blockComment, lineComment;\n\n\t        comment = '';\n\t        blockComment = false;\n\t        lineComment = false;\n\n\t        while (index < length) {\n\t            ch = source[index];\n\n\t            if (lineComment) {\n\t                ch = source[index++];\n\t                if (isLineTerminator(ch)) {\n\t                    loc.end = {\n\t                        line: lineNumber,\n\t                        column: index - lineStart - 1\n\t                    };\n\t                    lineComment = false;\n\t                    addComment('Line', comment, start, index - 1, loc);\n\t                    if (ch === '\\r' && source[index] === '\\n') {\n\t                        ++index;\n\t                    }\n\t                    ++lineNumber;\n\t                    lineStart = index;\n\t                    comment = '';\n\t                } else if (index >= length) {\n\t                    lineComment = false;\n\t                    comment += ch;\n\t                    loc.end = {\n\t                        line: lineNumber,\n\t                        column: length - lineStart\n\t                    };\n\t                    addComment('Line', comment, start, length, loc);\n\t                } else {\n\t                    comment += ch;\n\t                }\n\t            } else if (blockComment) {\n\t                if (isLineTerminator(ch)) {\n\t                    if (ch === '\\r' && source[index + 1] === '\\n') {\n\t                        ++index;\n\t                        comment += '\\r\\n';\n\t                    } else {\n\t                        comment += ch;\n\t                    }\n\t                    ++lineNumber;\n\t                    ++index;\n\t                    lineStart = index;\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                } else {\n\t                    ch = source[index++];\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                    comment += ch;\n\t                    if (ch === '*') {\n\t                        ch = source[index];\n\t                        if (ch === '/') {\n\t                            comment = comment.substr(0, comment.length - 1);\n\t                            blockComment = false;\n\t                            ++index;\n\t                            loc.end = {\n\t                                line: lineNumber,\n\t                                column: index - lineStart\n\t                            };\n\t                            addComment('Block', comment, start, index, loc);\n\t                            comment = '';\n\t                        }\n\t                    }\n\t                }\n\t            } else if (ch === '/') {\n\t                ch = source[index + 1];\n\t                if (ch === '/') {\n\t                    loc = {\n\t                        start: {\n\t                            line: lineNumber,\n\t                            column: index - lineStart\n\t                        }\n\t                    };\n\t                    start = index;\n\t                    index += 2;\n\t                    lineComment = true;\n\t                    if (index >= length) {\n\t                        loc.end = {\n\t                            line: lineNumber,\n\t                            column: index - lineStart\n\t                        };\n\t                        lineComment = false;\n\t                        addComment('Line', comment, start, index, loc);\n\t                    }\n\t                } else if (ch === '*') {\n\t                    start = index;\n\t                    index += 2;\n\t                    blockComment = true;\n\t                    loc = {\n\t                        start: {\n\t                            line: lineNumber,\n\t                            column: index - lineStart - 2\n\t                        }\n\t                    };\n\t                    if (index >= length) {\n\t                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n\t                    }\n\t                } else {\n\t                    break;\n\t                }\n\t            } else if (isWhiteSpace(ch)) {\n\t                ++index;\n\t            } else if (isLineTerminator(ch)) {\n\t                ++index;\n\t                if (ch ===  '\\r' && source[index] === '\\n') {\n\t                    ++index;\n\t                }\n\t                ++lineNumber;\n\t                lineStart = index;\n\t            } else {\n\t                break;\n\t            }\n\t        }\n\t    }\n\n\t    function filterCommentLocation() {\n\t        var i, entry, comment, comments = [];\n\n\t        for (i = 0; i < extra.comments.length; ++i) {\n\t            entry = extra.comments[i];\n\t            comment = {\n\t                type: entry.type,\n\t                value: entry.value\n\t            };\n\t            if (extra.range) {\n\t                comment.range = entry.range;\n\t            }\n\t            if (extra.loc) {\n\t                comment.loc = entry.loc;\n\t            }\n\t            comments.push(comment);\n\t        }\n\n\t        extra.comments = comments;\n\t    }\n\n\t    function collectToken() {\n\t        var start, loc, token, range, value;\n\n\t        skipComment();\n\t        start = index;\n\t        loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            }\n\t        };\n\n\t        token = extra.advance();\n\t        loc.end = {\n\t            line: lineNumber,\n\t            column: index - lineStart\n\t        };\n\n\t        if (token.type !== Token.EOF) {\n\t            range = [token.range[0], token.range[1]];\n\t            value = sliceSource(token.range[0], token.range[1]);\n\t            extra.tokens.push({\n\t                type: TokenName[token.type],\n\t                value: value,\n\t                range: range,\n\t                loc: loc\n\t            });\n\t        }\n\n\t        return token;\n\t    }\n\n\t    function collectRegex() {\n\t        var pos, loc, regex, token;\n\n\t        skipComment();\n\n\t        pos = index;\n\t        loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            }\n\t        };\n\n\t        regex = extra.scanRegExp();\n\t        loc.end = {\n\t            line: lineNumber,\n\t            column: index - lineStart\n\t        };\n\n\t        // Pop the previous token, which is likely '/' or '/='\n\t        if (extra.tokens.length > 0) {\n\t            token = extra.tokens[extra.tokens.length - 1];\n\t            if (token.range[0] === pos && token.type === 'Punctuator') {\n\t                if (token.value === '/' || token.value === '/=') {\n\t                    extra.tokens.pop();\n\t                }\n\t            }\n\t        }\n\n\t        extra.tokens.push({\n\t            type: 'RegularExpression',\n\t            value: regex.literal,\n\t            range: [pos, index],\n\t            loc: loc\n\t        });\n\n\t        return regex;\n\t    }\n\n\t    function filterTokenLocation() {\n\t        var i, entry, token, tokens = [];\n\n\t        for (i = 0; i < extra.tokens.length; ++i) {\n\t            entry = extra.tokens[i];\n\t            token = {\n\t                type: entry.type,\n\t                value: entry.value\n\t            };\n\t            if (extra.range) {\n\t                token.range = entry.range;\n\t            }\n\t            if (extra.loc) {\n\t                token.loc = entry.loc;\n\t            }\n\t            tokens.push(token);\n\t        }\n\n\t        extra.tokens = tokens;\n\t    }\n\n\t    function createLiteral(token) {\n\t        return {\n\t            type: Syntax.Literal,\n\t            value: token.value\n\t        };\n\t    }\n\n\t    function createRawLiteral(token) {\n\t        return {\n\t            type: Syntax.Literal,\n\t            value: token.value,\n\t            raw: sliceSource(token.range[0], token.range[1])\n\t        };\n\t    }\n\n\t    function createLocationMarker() {\n\t        var marker = {};\n\n\t        marker.range = [index, index];\n\t        marker.loc = {\n\t            start: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            },\n\t            end: {\n\t                line: lineNumber,\n\t                column: index - lineStart\n\t            }\n\t        };\n\n\t        marker.end = function () {\n\t            this.range[1] = index;\n\t            this.loc.end.line = lineNumber;\n\t            this.loc.end.column = index - lineStart;\n\t        };\n\n\t        marker.applyGroup = function (node) {\n\t            if (extra.range) {\n\t                node.groupRange = [this.range[0], this.range[1]];\n\t            }\n\t            if (extra.loc) {\n\t                node.groupLoc = {\n\t                    start: {\n\t                        line: this.loc.start.line,\n\t                        column: this.loc.start.column\n\t                    },\n\t                    end: {\n\t                        line: this.loc.end.line,\n\t                        column: this.loc.end.column\n\t                    }\n\t                };\n\t            }\n\t        };\n\n\t        marker.apply = function (node) {\n\t            if (extra.range) {\n\t                node.range = [this.range[0], this.range[1]];\n\t            }\n\t            if (extra.loc) {\n\t                node.loc = {\n\t                    start: {\n\t                        line: this.loc.start.line,\n\t                        column: this.loc.start.column\n\t                    },\n\t                    end: {\n\t                        line: this.loc.end.line,\n\t                        column: this.loc.end.column\n\t                    }\n\t                };\n\t            }\n\t        };\n\n\t        return marker;\n\t    }\n\n\t    function trackGroupExpression() {\n\t        var marker, expr;\n\n\t        skipComment();\n\t        marker = createLocationMarker();\n\t        expect('(');\n\n\t        expr = parseExpression();\n\n\t        expect(')');\n\n\t        marker.end();\n\t        marker.applyGroup(expr);\n\n\t        return expr;\n\t    }\n\n\t    function trackLeftHandSideExpression() {\n\t        var marker, expr;\n\n\t        skipComment();\n\t        marker = createLocationMarker();\n\n\t        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n\t        while (match('.') || match('[')) {\n\t            if (match('[')) {\n\t                expr = {\n\t                    type: Syntax.MemberExpression,\n\t                    computed: true,\n\t                    object: expr,\n\t                    property: parseComputedMember()\n\t                };\n\t                marker.end();\n\t                marker.apply(expr);\n\t            } else {\n\t                expr = {\n\t                    type: Syntax.MemberExpression,\n\t                    computed: false,\n\t                    object: expr,\n\t                    property: parseNonComputedMember()\n\t                };\n\t                marker.end();\n\t                marker.apply(expr);\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function trackLeftHandSideExpressionAllowCall() {\n\t        var marker, expr;\n\n\t        skipComment();\n\t        marker = createLocationMarker();\n\n\t        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n\t        while (match('.') || match('[') || match('(')) {\n\t            if (match('(')) {\n\t                expr = {\n\t                    type: Syntax.CallExpression,\n\t                    callee: expr,\n\t                    'arguments': parseArguments()\n\t                };\n\t                marker.end();\n\t                marker.apply(expr);\n\t            } else if (match('[')) {\n\t                expr = {\n\t                    type: Syntax.MemberExpression,\n\t                    computed: true,\n\t                    object: expr,\n\t                    property: parseComputedMember()\n\t                };\n\t                marker.end();\n\t                marker.apply(expr);\n\t            } else {\n\t                expr = {\n\t                    type: Syntax.MemberExpression,\n\t                    computed: false,\n\t                    object: expr,\n\t                    property: parseNonComputedMember()\n\t                };\n\t                marker.end();\n\t                marker.apply(expr);\n\t            }\n\t        }\n\n\t        return expr;\n\t    }\n\n\t    function filterGroup(node) {\n\t        var n, i, entry;\n\n\t        n = (Object.prototype.toString.apply(node) === '[object Array]') ? [] : {};\n\t        for (i in node) {\n\t            if (node.hasOwnProperty(i) && i !== 'groupRange' && i !== 'groupLoc') {\n\t                entry = node[i];\n\t                if (entry === null || typeof entry !== 'object' || entry instanceof RegExp) {\n\t                    n[i] = entry;\n\t                } else {\n\t                    n[i] = filterGroup(entry);\n\t                }\n\t            }\n\t        }\n\t        return n;\n\t    }\n\n\t    function wrapTrackingFunction(range, loc) {\n\n\t        return function (parseFunction) {\n\n\t            function isBinary(node) {\n\t                return node.type === Syntax.LogicalExpression ||\n\t                    node.type === Syntax.BinaryExpression;\n\t            }\n\n\t            function visit(node) {\n\t                var start, end;\n\n\t                if (isBinary(node.left)) {\n\t                    visit(node.left);\n\t                }\n\t                if (isBinary(node.right)) {\n\t                    visit(node.right);\n\t                }\n\n\t                if (range) {\n\t                    if (node.left.groupRange || node.right.groupRange) {\n\t                        start = node.left.groupRange ? node.left.groupRange[0] : node.left.range[0];\n\t                        end = node.right.groupRange ? node.right.groupRange[1] : node.right.range[1];\n\t                        node.range = [start, end];\n\t                    } else if (typeof node.range === 'undefined') {\n\t                        start = node.left.range[0];\n\t                        end = node.right.range[1];\n\t                        node.range = [start, end];\n\t                    }\n\t                }\n\t                if (loc) {\n\t                    if (node.left.groupLoc || node.right.groupLoc) {\n\t                        start = node.left.groupLoc ? node.left.groupLoc.start : node.left.loc.start;\n\t                        end = node.right.groupLoc ? node.right.groupLoc.end : node.right.loc.end;\n\t                        node.loc = {\n\t                            start: start,\n\t                            end: end\n\t                        };\n\t                    } else if (typeof node.loc === 'undefined') {\n\t                        node.loc = {\n\t                            start: node.left.loc.start,\n\t                            end: node.right.loc.end\n\t                        };\n\t                    }\n\t                }\n\t            }\n\n\t            return function () {\n\t                var marker, node;\n\n\t                skipComment();\n\n\t                marker = createLocationMarker();\n\t                node = parseFunction.apply(null, arguments);\n\t                marker.end();\n\n\t                if (range && typeof node.range === 'undefined') {\n\t                    marker.apply(node);\n\t                }\n\n\t                if (loc && typeof node.loc === 'undefined') {\n\t                    marker.apply(node);\n\t                }\n\n\t                if (isBinary(node)) {\n\t                    visit(node);\n\t                }\n\n\t                return node;\n\t            };\n\t        };\n\t    }\n\n\t    function patch() {\n\n\t        var wrapTracking;\n\n\t        if (extra.comments) {\n\t            extra.skipComment = skipComment;\n\t            skipComment = scanComment;\n\t        }\n\n\t        if (extra.raw) {\n\t            extra.createLiteral = createLiteral;\n\t            createLiteral = createRawLiteral;\n\t        }\n\n\t        if (extra.range || extra.loc) {\n\n\t            extra.parseGroupExpression = parseGroupExpression;\n\t            extra.parseLeftHandSideExpression = parseLeftHandSideExpression;\n\t            extra.parseLeftHandSideExpressionAllowCall = parseLeftHandSideExpressionAllowCall;\n\t            parseGroupExpression = trackGroupExpression;\n\t            parseLeftHandSideExpression = trackLeftHandSideExpression;\n\t            parseLeftHandSideExpressionAllowCall = trackLeftHandSideExpressionAllowCall;\n\n\t            wrapTracking = wrapTrackingFunction(extra.range, extra.loc);\n\n\t            extra.parseAdditiveExpression = parseAdditiveExpression;\n\t            extra.parseAssignmentExpression = parseAssignmentExpression;\n\t            extra.parseBitwiseANDExpression = parseBitwiseANDExpression;\n\t            extra.parseBitwiseORExpression = parseBitwiseORExpression;\n\t            extra.parseBitwiseXORExpression = parseBitwiseXORExpression;\n\t            extra.parseBlock = parseBlock;\n\t            extra.parseFunctionSourceElements = parseFunctionSourceElements;\n\t            extra.parseCatchClause = parseCatchClause;\n\t            extra.parseComputedMember = parseComputedMember;\n\t            extra.parseConditionalExpression = parseConditionalExpression;\n\t            extra.parseConstLetDeclaration = parseConstLetDeclaration;\n\t            extra.parseEqualityExpression = parseEqualityExpression;\n\t            extra.parseExpression = parseExpression;\n\t            extra.parseForVariableDeclaration = parseForVariableDeclaration;\n\t            extra.parseFunctionDeclaration = parseFunctionDeclaration;\n\t            extra.parseFunctionExpression = parseFunctionExpression;\n\t            extra.parseLogicalANDExpression = parseLogicalANDExpression;\n\t            extra.parseLogicalORExpression = parseLogicalORExpression;\n\t            extra.parseMultiplicativeExpression = parseMultiplicativeExpression;\n\t            extra.parseNewExpression = parseNewExpression;\n\t            extra.parseNonComputedProperty = parseNonComputedProperty;\n\t            extra.parseObjectProperty = parseObjectProperty;\n\t            extra.parseObjectPropertyKey = parseObjectPropertyKey;\n\t            extra.parsePostfixExpression = parsePostfixExpression;\n\t            extra.parsePrimaryExpression = parsePrimaryExpression;\n\t            extra.parseProgram = parseProgram;\n\t            extra.parsePropertyFunction = parsePropertyFunction;\n\t            extra.parseRelationalExpression = parseRelationalExpression;\n\t            extra.parseStatement = parseStatement;\n\t            extra.parseShiftExpression = parseShiftExpression;\n\t            extra.parseSwitchCase = parseSwitchCase;\n\t            extra.parseUnaryExpression = parseUnaryExpression;\n\t            extra.parseVariableDeclaration = parseVariableDeclaration;\n\t            extra.parseVariableIdentifier = parseVariableIdentifier;\n\n\t            parseAdditiveExpression = wrapTracking(extra.parseAdditiveExpression);\n\t            parseAssignmentExpression = wrapTracking(extra.parseAssignmentExpression);\n\t            parseBitwiseANDExpression = wrapTracking(extra.parseBitwiseANDExpression);\n\t            parseBitwiseORExpression = wrapTracking(extra.parseBitwiseORExpression);\n\t            parseBitwiseXORExpression = wrapTracking(extra.parseBitwiseXORExpression);\n\t            parseBlock = wrapTracking(extra.parseBlock);\n\t            parseFunctionSourceElements = wrapTracking(extra.parseFunctionSourceElements);\n\t            parseCatchClause = wrapTracking(extra.parseCatchClause);\n\t            parseComputedMember = wrapTracking(extra.parseComputedMember);\n\t            parseConditionalExpression = wrapTracking(extra.parseConditionalExpression);\n\t            parseConstLetDeclaration = wrapTracking(extra.parseConstLetDeclaration);\n\t            parseEqualityExpression = wrapTracking(extra.parseEqualityExpression);\n\t            parseExpression = wrapTracking(extra.parseExpression);\n\t            parseForVariableDeclaration = wrapTracking(extra.parseForVariableDeclaration);\n\t            parseFunctionDeclaration = wrapTracking(extra.parseFunctionDeclaration);\n\t            parseFunctionExpression = wrapTracking(extra.parseFunctionExpression);\n\t            parseLeftHandSideExpression = wrapTracking(parseLeftHandSideExpression);\n\t            parseLogicalANDExpression = wrapTracking(extra.parseLogicalANDExpression);\n\t            parseLogicalORExpression = wrapTracking(extra.parseLogicalORExpression);\n\t            parseMultiplicativeExpression = wrapTracking(extra.parseMultiplicativeExpression);\n\t            parseNewExpression = wrapTracking(extra.parseNewExpression);\n\t            parseNonComputedProperty = wrapTracking(extra.parseNonComputedProperty);\n\t            parseObjectProperty = wrapTracking(extra.parseObjectProperty);\n\t            parseObjectPropertyKey = wrapTracking(extra.parseObjectPropertyKey);\n\t            parsePostfixExpression = wrapTracking(extra.parsePostfixExpression);\n\t            parsePrimaryExpression = wrapTracking(extra.parsePrimaryExpression);\n\t            parseProgram = wrapTracking(extra.parseProgram);\n\t            parsePropertyFunction = wrapTracking(extra.parsePropertyFunction);\n\t            parseRelationalExpression = wrapTracking(extra.parseRelationalExpression);\n\t            parseStatement = wrapTracking(extra.parseStatement);\n\t            parseShiftExpression = wrapTracking(extra.parseShiftExpression);\n\t            parseSwitchCase = wrapTracking(extra.parseSwitchCase);\n\t            parseUnaryExpression = wrapTracking(extra.parseUnaryExpression);\n\t            parseVariableDeclaration = wrapTracking(extra.parseVariableDeclaration);\n\t            parseVariableIdentifier = wrapTracking(extra.parseVariableIdentifier);\n\t        }\n\n\t        if (typeof extra.tokens !== 'undefined') {\n\t            extra.advance = advance;\n\t            extra.scanRegExp = scanRegExp;\n\n\t            advance = collectToken;\n\t            scanRegExp = collectRegex;\n\t        }\n\t    }\n\n\t    function unpatch() {\n\t        if (typeof extra.skipComment === 'function') {\n\t            skipComment = extra.skipComment;\n\t        }\n\n\t        if (extra.raw) {\n\t            createLiteral = extra.createLiteral;\n\t        }\n\n\t        if (extra.range || extra.loc) {\n\t            parseAdditiveExpression = extra.parseAdditiveExpression;\n\t            parseAssignmentExpression = extra.parseAssignmentExpression;\n\t            parseBitwiseANDExpression = extra.parseBitwiseANDExpression;\n\t            parseBitwiseORExpression = extra.parseBitwiseORExpression;\n\t            parseBitwiseXORExpression = extra.parseBitwiseXORExpression;\n\t            parseBlock = extra.parseBlock;\n\t            parseFunctionSourceElements = extra.parseFunctionSourceElements;\n\t            parseCatchClause = extra.parseCatchClause;\n\t            parseComputedMember = extra.parseComputedMember;\n\t            parseConditionalExpression = extra.parseConditionalExpression;\n\t            parseConstLetDeclaration = extra.parseConstLetDeclaration;\n\t            parseEqualityExpression = extra.parseEqualityExpression;\n\t            parseExpression = extra.parseExpression;\n\t            parseForVariableDeclaration = extra.parseForVariableDeclaration;\n\t            parseFunctionDeclaration = extra.parseFunctionDeclaration;\n\t            parseFunctionExpression = extra.parseFunctionExpression;\n\t            parseGroupExpression = extra.parseGroupExpression;\n\t            parseLeftHandSideExpression = extra.parseLeftHandSideExpression;\n\t            parseLeftHandSideExpressionAllowCall = extra.parseLeftHandSideExpressionAllowCall;\n\t            parseLogicalANDExpression = extra.parseLogicalANDExpression;\n\t            parseLogicalORExpression = extra.parseLogicalORExpression;\n\t            parseMultiplicativeExpression = extra.parseMultiplicativeExpression;\n\t            parseNewExpression = extra.parseNewExpression;\n\t            parseNonComputedProperty = extra.parseNonComputedProperty;\n\t            parseObjectProperty = extra.parseObjectProperty;\n\t            parseObjectPropertyKey = extra.parseObjectPropertyKey;\n\t            parsePrimaryExpression = extra.parsePrimaryExpression;\n\t            parsePostfixExpression = extra.parsePostfixExpression;\n\t            parseProgram = extra.parseProgram;\n\t            parsePropertyFunction = extra.parsePropertyFunction;\n\t            parseRelationalExpression = extra.parseRelationalExpression;\n\t            parseStatement = extra.parseStatement;\n\t            parseShiftExpression = extra.parseShiftExpression;\n\t            parseSwitchCase = extra.parseSwitchCase;\n\t            parseUnaryExpression = extra.parseUnaryExpression;\n\t            parseVariableDeclaration = extra.parseVariableDeclaration;\n\t            parseVariableIdentifier = extra.parseVariableIdentifier;\n\t        }\n\n\t        if (typeof extra.scanRegExp === 'function') {\n\t            advance = extra.advance;\n\t            scanRegExp = extra.scanRegExp;\n\t        }\n\t    }\n\n\t    function stringToArray(str) {\n\t        var length = str.length,\n\t            result = [],\n\t            i;\n\t        for (i = 0; i < length; ++i) {\n\t            result[i] = str.charAt(i);\n\t        }\n\t        return result;\n\t    }\n\n\t    function parse(code, options) {\n\t        var program, toString;\n\n\t        toString = String;\n\t        if (typeof code !== 'string' && !(code instanceof String)) {\n\t            code = toString(code);\n\t        }\n\n\t        source = code;\n\t        index = 0;\n\t        lineNumber = (source.length > 0) ? 1 : 0;\n\t        lineStart = 0;\n\t        length = source.length;\n\t        buffer = null;\n\t        state = {\n\t            allowIn: true,\n\t            labelSet: {},\n\t            inFunctionBody: false,\n\t            inIteration: false,\n\t            inSwitch: false\n\t        };\n\n\t        extra = {};\n\t        if (typeof options !== 'undefined') {\n\t            extra.range = (typeof options.range === 'boolean') && options.range;\n\t            extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\t            extra.raw = (typeof options.raw === 'boolean') && options.raw;\n\t            if (typeof options.tokens === 'boolean' && options.tokens) {\n\t                extra.tokens = [];\n\t            }\n\t            if (typeof options.comment === 'boolean' && options.comment) {\n\t                extra.comments = [];\n\t            }\n\t            if (typeof options.tolerant === 'boolean' && options.tolerant) {\n\t                extra.errors = [];\n\t            }\n\t        }\n\n\t        if (length > 0) {\n\t            if (typeof source[0] === 'undefined') {\n\t                // Try first to convert to a string. This is good as fast path\n\t                // for old IE which understands string indexing for string\n\t                // literals only and not for string object.\n\t                if (code instanceof String) {\n\t                    source = code.valueOf();\n\t                }\n\n\t                // Force accessing the characters via an array.\n\t                if (typeof source[0] === 'undefined') {\n\t                    source = stringToArray(code);\n\t                }\n\t            }\n\t        }\n\n\t        patch();\n\t        try {\n\t            program = parseProgram();\n\t            if (typeof extra.comments !== 'undefined') {\n\t                filterCommentLocation();\n\t                program.comments = extra.comments;\n\t            }\n\t            if (typeof extra.tokens !== 'undefined') {\n\t                filterTokenLocation();\n\t                program.tokens = extra.tokens;\n\t            }\n\t            if (typeof extra.errors !== 'undefined') {\n\t                program.errors = extra.errors;\n\t            }\n\t            if (extra.range || extra.loc) {\n\t                program.body = filterGroup(program.body);\n\t            }\n\t        } catch (e) {\n\t            throw e;\n\t        } finally {\n\t            unpatch();\n\t            extra = {};\n\t        }\n\n\t        return program;\n\t    }\n\n\t    // Sync with package.json.\n\t    exports.version = '1.0.4';\n\n\t    exports.parse = parse;\n\n\t    // Deep copy.\n\t    exports.Syntax = (function () {\n\t        var name, types = {};\n\n\t        if (typeof Object.create === 'function') {\n\t            types = Object.create(null);\n\t        }\n\n\t        for (name in Syntax) {\n\t            if (Syntax.hasOwnProperty(name)) {\n\t                types[name] = Syntax[name];\n\t            }\n\t        }\n\n\t        if (typeof Object.freeze === 'function') {\n\t            Object.freeze(types);\n\t        }\n\n\t        return types;\n\t    }());\n\n\t}));\n\t/* vim: set sw=4 ts=4 et tw=80 : */\n\n\n/***/ },\n/* 69 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar fmt = __webpack_require__(58);\n\tvar is = __webpack_require__(57);\n\tvar assert = __webpack_require__(2);\n\n\tfunction Stats() {\n\t    this.lets = 0;\n\t    this.consts = 0;\n\t    this.renames = [];\n\t}\n\n\tStats.prototype.declarator = function(kind) {\n\t    assert(is.someof(kind, [\"const\", \"let\"]));\n\t    if (kind === \"const\") {\n\t        this.consts++;\n\t    } else {\n\t        this.lets++;\n\t    }\n\t};\n\n\tStats.prototype.rename = function(oldName, newName, line) {\n\t    this.renames.push({\n\t        oldName: oldName,\n\t        newName: newName,\n\t        line: line,\n\t    });\n\t};\n\n\tStats.prototype.toString = function() {\n\t//    console.log(\"defs.js stats for file {0}:\", filename)\n\n\t    var renames = this.renames.map(function(r) {\n\t        return r;\n\t    }).sort(function(a, b) {\n\t            return a.line - b.line;\n\t        }); // sort a copy of renames\n\n\t    var renameStr = renames.map(function(rename) {\n\t        return fmt(\"\\nline {0}: {1} => {2}\", rename.line, rename.oldName, rename.newName);\n\t    }).join(\"\");\n\n\t    var sum = this.consts + this.lets;\n\t    var constlets = (sum === 0 ?\n\t        \"can't calculate const coverage (0 consts, 0 lets)\" :\n\t        fmt(\"{0}% const coverage ({1} consts, {2} lets)\",\n\t            Math.floor(100 * this.consts / sum), this.consts, this.lets));\n\n\t    return constlets + renameStr + \"\\n\";\n\t};\n\n\tmodule.exports = Stats;\n\n\n/***/ },\n/* 70 */\n/***/ function(module, exports) {\n\n\t// jshint -W001\n\n\t\"use strict\";\n\n\t// Identifiers provided by the ECMAScript standard.\n\n\texports.reservedVars = {\n\t\targuments : false,\n\t\tNaN       : false\n\t};\n\n\texports.ecmaIdentifiers = {\n\t\tArray              : false,\n\t\tBoolean            : false,\n\t\tDate               : false,\n\t\tdecodeURI          : false,\n\t\tdecodeURIComponent : false,\n\t\tencodeURI          : false,\n\t\tencodeURIComponent : false,\n\t\tError              : false,\n\t\t\"eval\"             : false,\n\t\tEvalError          : false,\n\t\tFunction           : false,\n\t\thasOwnProperty     : false,\n\t\tisFinite           : false,\n\t\tisNaN              : false,\n\t\tJSON               : false,\n\t\tMath               : false,\n\t\tMap                : false,\n\t\tNumber             : false,\n\t\tObject             : false,\n\t\tparseInt           : false,\n\t\tparseFloat         : false,\n\t\tRangeError         : false,\n\t\tReferenceError     : false,\n\t\tRegExp             : false,\n\t\tSet                : false,\n\t\tString             : false,\n\t\tSyntaxError        : false,\n\t\tTypeError          : false,\n\t\tURIError           : false,\n\t\tWeakMap            : false\n\t};\n\n\t// Global variables commonly provided by a web browser environment.\n\n\texports.browser = {\n\t\tArrayBuffer          : false,\n\t\tArrayBufferView      : false,\n\t\tAudio                : false,\n\t\tBlob                 : false,\n\t\taddEventListener     : false,\n\t\tapplicationCache     : false,\n\t\tatob                 : false,\n\t\tblur                 : false,\n\t\tbtoa                 : false,\n\t\tclearInterval        : false,\n\t\tclearTimeout         : false,\n\t\tclose                : false,\n\t\tclosed               : false,\n\t\tDataView             : false,\n\t\tDOMParser            : false,\n\t\tdefaultStatus        : false,\n\t\tdocument             : false,\n\t\tElement              : false,\n\t\tevent                : false,\n\t\tFileReader           : false,\n\t\tFloat32Array         : false,\n\t\tFloat64Array         : false,\n\t\tFormData             : false,\n\t\tfocus                : false,\n\t\tframes               : false,\n\t\tgetComputedStyle     : false,\n\t\tHTMLElement          : false,\n\t\tHTMLAnchorElement    : false,\n\t\tHTMLBaseElement      : false,\n\t\tHTMLBlockquoteElement: false,\n\t\tHTMLBodyElement      : false,\n\t\tHTMLBRElement        : false,\n\t\tHTMLButtonElement    : false,\n\t\tHTMLCanvasElement    : false,\n\t\tHTMLDirectoryElement : false,\n\t\tHTMLDivElement       : false,\n\t\tHTMLDListElement     : false,\n\t\tHTMLFieldSetElement  : false,\n\t\tHTMLFontElement      : false,\n\t\tHTMLFormElement      : false,\n\t\tHTMLFrameElement     : false,\n\t\tHTMLFrameSetElement  : false,\n\t\tHTMLHeadElement      : false,\n\t\tHTMLHeadingElement   : false,\n\t\tHTMLHRElement        : false,\n\t\tHTMLHtmlElement      : false,\n\t\tHTMLIFrameElement    : false,\n\t\tHTMLImageElement     : false,\n\t\tHTMLInputElement     : false,\n\t\tHTMLIsIndexElement   : false,\n\t\tHTMLLabelElement     : false,\n\t\tHTMLLayerElement     : false,\n\t\tHTMLLegendElement    : false,\n\t\tHTMLLIElement        : false,\n\t\tHTMLLinkElement      : false,\n\t\tHTMLMapElement       : false,\n\t\tHTMLMenuElement      : false,\n\t\tHTMLMetaElement      : false,\n\t\tHTMLModElement       : false,\n\t\tHTMLObjectElement    : false,\n\t\tHTMLOListElement     : false,\n\t\tHTMLOptGroupElement  : false,\n\t\tHTMLOptionElement    : false,\n\t\tHTMLParagraphElement : false,\n\t\tHTMLParamElement     : false,\n\t\tHTMLPreElement       : false,\n\t\tHTMLQuoteElement     : false,\n\t\tHTMLScriptElement    : false,\n\t\tHTMLSelectElement    : false,\n\t\tHTMLStyleElement     : false,\n\t\tHTMLTableCaptionElement: false,\n\t\tHTMLTableCellElement : false,\n\t\tHTMLTableColElement  : false,\n\t\tHTMLTableElement     : false,\n\t\tHTMLTableRowElement  : false,\n\t\tHTMLTableSectionElement: false,\n\t\tHTMLTextAreaElement  : false,\n\t\tHTMLTitleElement     : false,\n\t\tHTMLUListElement     : false,\n\t\tHTMLVideoElement     : false,\n\t\thistory              : false,\n\t\tInt16Array           : false,\n\t\tInt32Array           : false,\n\t\tInt8Array            : false,\n\t\tImage                : false,\n\t\tlength               : false,\n\t\tlocalStorage         : false,\n\t\tlocation             : false,\n\t\tMessageChannel       : false,\n\t\tMessageEvent         : false,\n\t\tMessagePort          : false,\n\t\tmoveBy               : false,\n\t\tmoveTo               : false,\n\t\tMutationObserver     : false,\n\t\tname                 : false,\n\t\tNode                 : false,\n\t\tNodeFilter           : false,\n\t\tnavigator            : false,\n\t\tonbeforeunload       : true,\n\t\tonblur               : true,\n\t\tonerror              : true,\n\t\tonfocus              : true,\n\t\tonload               : true,\n\t\tonresize             : true,\n\t\tonunload             : true,\n\t\topen                 : false,\n\t\topenDatabase         : false,\n\t\topener               : false,\n\t\tOption               : false,\n\t\tparent               : false,\n\t\tprint                : false,\n\t\tremoveEventListener  : false,\n\t\tresizeBy             : false,\n\t\tresizeTo             : false,\n\t\tscreen               : false,\n\t\tscroll               : false,\n\t\tscrollBy             : false,\n\t\tscrollTo             : false,\n\t\tsessionStorage       : false,\n\t\tsetInterval          : false,\n\t\tsetTimeout           : false,\n\t\tSharedWorker         : false,\n\t\tstatus               : false,\n\t\ttop                  : false,\n\t\tUint16Array          : false,\n\t\tUint32Array          : false,\n\t\tUint8Array           : false,\n\t\tUint8ClampedArray    : false,\n\t\tWebSocket            : false,\n\t\twindow               : false,\n\t\tWorker               : false,\n\t\tXMLHttpRequest       : false,\n\t\tXMLSerializer        : false,\n\t\tXPathEvaluator       : false,\n\t\tXPathException       : false,\n\t\tXPathExpression      : false,\n\t\tXPathNamespace       : false,\n\t\tXPathNSResolver      : false,\n\t\tXPathResult          : false\n\t};\n\n\texports.devel = {\n\t\talert  : false,\n\t\tconfirm: false,\n\t\tconsole: false,\n\t\tDebug  : false,\n\t\topera  : false,\n\t\tprompt : false\n\t};\n\n\texports.worker = {\n\t\timportScripts: true,\n\t\tpostMessage  : true,\n\t\tself         : true\n\t};\n\n\t// Widely adopted global names that are not part of ECMAScript standard\n\texports.nonstandard = {\n\t\tescape  : false,\n\t\tunescape: false\n\t};\n\n\t// Globals provided by popular JavaScript environments.\n\n\texports.couch = {\n\t\t\"require\" : false,\n\t\trespond   : false,\n\t\tgetRow    : false,\n\t\temit      : false,\n\t\tsend      : false,\n\t\tstart     : false,\n\t\tsum       : false,\n\t\tlog       : false,\n\t\texports   : false,\n\t\tmodule    : false,\n\t\tprovides  : false\n\t};\n\n\texports.node = {\n\t\t__filename   : false,\n\t\t__dirname    : false,\n\t\tBuffer       : false,\n\t\tDataView     : false,\n\t\tconsole      : false,\n\t\texports      : true,  // In Node it is ok to exports = module.exports = foo();\n\t\tGLOBAL       : false,\n\t\tglobal       : false,\n\t\tmodule       : false,\n\t\tprocess      : false,\n\t\trequire      : false,\n\t\tsetTimeout   : false,\n\t\tclearTimeout : false,\n\t\tsetInterval  : false,\n\t\tclearInterval: false\n\t};\n\n\texports.phantom = {\n\t\tphantom      : true,\n\t\trequire      : true,\n\t\tWebPage      : true\n\t};\n\n\texports.rhino = {\n\t\tdefineClass  : false,\n\t\tdeserialize  : false,\n\t\tgc           : false,\n\t\thelp         : false,\n\t\timportPackage: false,\n\t\t\"java\"       : false,\n\t\tload         : false,\n\t\tloadClass    : false,\n\t\tprint        : false,\n\t\tquit         : false,\n\t\treadFile     : false,\n\t\treadUrl      : false,\n\t\trunCommand   : false,\n\t\tseal         : false,\n\t\tserialize    : false,\n\t\tspawn        : false,\n\t\tsync         : false,\n\t\ttoint32      : false,\n\t\tversion      : false\n\t};\n\n\texports.wsh = {\n\t\tActiveXObject            : true,\n\t\tEnumerator               : true,\n\t\tGetObject                : true,\n\t\tScriptEngine             : true,\n\t\tScriptEngineBuildVersion : true,\n\t\tScriptEngineMajorVersion : true,\n\t\tScriptEngineMinorVersion : true,\n\t\tVBArray                  : true,\n\t\tWSH                      : true,\n\t\tWScript                  : true,\n\t\tXDomainRequest           : true\n\t};\n\n\t// Globals provided by popular JavaScript libraries.\n\n\texports.dojo = {\n\t\tdojo     : false,\n\t\tdijit    : false,\n\t\tdojox    : false,\n\t\tdefine\t : false,\n\t\t\"require\": false\n\t};\n\n\texports.jquery = {\n\t\t\"$\"    : false,\n\t\tjQuery : false\n\t};\n\n\texports.mootools = {\n\t\t\"$\"           : false,\n\t\t\"$$\"          : false,\n\t\tAsset         : false,\n\t\tBrowser       : false,\n\t\tChain         : false,\n\t\tClass         : false,\n\t\tColor         : false,\n\t\tCookie        : false,\n\t\tCore          : false,\n\t\tDocument      : false,\n\t\tDomReady      : false,\n\t\tDOMEvent      : false,\n\t\tDOMReady      : false,\n\t\tDrag          : false,\n\t\tElement       : false,\n\t\tElements      : false,\n\t\tEvent         : false,\n\t\tEvents        : false,\n\t\tFx            : false,\n\t\tGroup         : false,\n\t\tHash          : false,\n\t\tHtmlTable     : false,\n\t\tIframe        : false,\n\t\tIframeShim    : false,\n\t\tInputValidator: false,\n\t\tinstanceOf    : false,\n\t\tKeyboard      : false,\n\t\tLocale        : false,\n\t\tMask          : false,\n\t\tMooTools      : false,\n\t\tNative        : false,\n\t\tOptions       : false,\n\t\tOverText      : false,\n\t\tRequest       : false,\n\t\tScroller      : false,\n\t\tSlick         : false,\n\t\tSlider        : false,\n\t\tSortables     : false,\n\t\tSpinner       : false,\n\t\tSwiff         : false,\n\t\tTips          : false,\n\t\tType          : false,\n\t\ttypeOf        : false,\n\t\tURI           : false,\n\t\tWindow        : false\n\t};\n\n\texports.prototypejs = {\n\t\t\"$\"               : false,\n\t\t\"$$\"              : false,\n\t\t\"$A\"              : false,\n\t\t\"$F\"              : false,\n\t\t\"$H\"              : false,\n\t\t\"$R\"              : false,\n\t\t\"$break\"          : false,\n\t\t\"$continue\"       : false,\n\t\t\"$w\"              : false,\n\t\tAbstract          : false,\n\t\tAjax              : false,\n\t\tClass             : false,\n\t\tEnumerable        : false,\n\t\tElement           : false,\n\t\tEvent             : false,\n\t\tField             : false,\n\t\tForm              : false,\n\t\tHash              : false,\n\t\tInsertion         : false,\n\t\tObjectRange       : false,\n\t\tPeriodicalExecuter: false,\n\t\tPosition          : false,\n\t\tPrototype         : false,\n\t\tSelector          : false,\n\t\tTemplate          : false,\n\t\tToggle            : false,\n\t\tTry               : false,\n\t\tAutocompleter     : false,\n\t\tBuilder           : false,\n\t\tControl           : false,\n\t\tDraggable         : false,\n\t\tDraggables        : false,\n\t\tDroppables        : false,\n\t\tEffect            : false,\n\t\tSortable          : false,\n\t\tSortableObserver  : false,\n\t\tSound             : false,\n\t\tScriptaculous     : false\n\t};\n\n\texports.yui = {\n\t\tYUI       : false,\n\t\tY         : false,\n\t\tYUI_config: false\n\t};\n\n\n\n/***/ },\n/* 71 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {var fs = __webpack_require__(49);\n\tvar compiler = __webpack_require__(1);\n\n\tvar hasOwn = Object.prototype.hasOwnProperty;\n\n\t// modules\n\n\t// function require(relativeTo, id) {\n\t//   var dir = path.dirname(relativeTo);\n\t//   var absPath;\n\t//   if(isRelative(id)) {\n\t//     absPath = path.join(dir, id);\n\t//   }\n\t//   else {\n\t//     absPath = node.resolve(id);\n\t//   }\n\n\t//   VM.loadScript(absPath);\n\t// }\n\n\t// vm\n\n\tvar IDLE = 'idle';\n\tvar SUSPENDED = 'suspended';\n\tvar EXECUTING = 'executing';\n\n\tfunction Machine() {\n\t  this.debugInfo = null;\n\t  this.stack = null;\n\t  this.error = undefined;\n\t  this.doRestore = false;\n\t  this.evalResult = null;\n\t  this.state = IDLE;\n\t  this.running = false;\n\t  this._events = {};\n\t  this.stepping = false;\n\t  this.prevStates = [];\n\t  this.tryStack = [];\n\t  this.machineBreaks = [];\n\t  this.machineWatches = [];\n\t}\n\n\tMachine.prototype.loadScript = function(path) {\n\t  var src = fs.readFileSync(process.argv[2], \"utf-8\");\n\t  var output = compiler(src, { includeDebug: true });\n\t  var debugInfo = new DebugInfo(output.debugInfo);\n\n\t  this.setDebugInfo(debugInfo);\n\t  this.setCode(path, output.code);\n\t  this.run();\n\t};\n\n\tMachine.prototype.loadModule = function(path) {\n\t  var src = fs.readFileSync(process.argv[2], \"utf-8\");\n\t  var output = compiler(src, { includeDebug: true });\n\n\t  // run...\n\t};\n\n\tMachine.prototype.loadString = function(str) {\n\t  var output = compiler(str, { includeDebug: true });\n\t  var debugInfo = new DebugInfo(output.debugInfo);\n\n\t  this.setDebugInfo(debugInfo);\n\t  this.setCode('/eval', output.code);\n\t}\n\n\tMachine.prototype.execute = function(fn, thisPtr, args) {\n\t  var prevState = this.state;\n\t  this.state = EXECUTING;\n\t  this.running = true;\n\n\t  var prevStepping = this.stepping;\n\t  var prevFrame = this.rootFrame;\n\t  this.stepping = false;\n\t  var ret;\n\n\t  try {\n\t    if(thisPtr || args) {\n\t      ret = fn.apply(thisPtr, args || []);\n\t    }\n\t    else {\n\t      ret = fn();\n\t    }\n\t  }\n\t  catch(e) {\n\t    this.stack = e.fnstack;\n\t    this.error = e.error;\n\t  }\n\n\t  this.stepping = prevStepping;\n\n\t  // It's a weird case if we run code while we are suspended, but if\n\t  // so we try to run it and kind of ignore whatever happened (no\n\t  // breakpoints, etc), but we do fire an error event if it happened\n\t  if(prevState === 'suspended') {\n\t    if(this.error) {\n\t      this.fire('error', this.error);\n\t    }\n\t    this.state = prevState;\n\t  }\n\t  else {\n\t    this.checkStatus();\n\t  }\n\n\t  return ret;\n\t};\n\n\tMachine.prototype.run = function() {\n\t  var path = this.path;\n\t  var code = this.code;\n\n\t  var module = {\n\t    exports: {}\n\t  };\n\t  var fn = new Function(\n\t    'VM',\n\t    //'require',\n\t    'module',\n\t    'exports',\n\t    '$Frame',\n\t    '$ContinuationExc',\n\t    'console',\n\t    code + '\\nreturn $__global;'\n\t  );\n\n\t  var rootFn = fn(\n\t    this,\n\t    //require.bind(null, path),\n\t    module,\n\t    module.exports,\n\t    Frame,\n\t    ContinuationExc,\n\t    { log: function() {\n\t      var args = Array.prototype.slice.call(arguments);\n\t      this.output += args.join(' ') + '\\n';\n\t    }.bind(this)}\n\t  );\n\n\t  this.output = '';\n\t  this.execute(rootFn);\n\t  this.globalFn = rootFn;\n\t};\n\n\tMachine.prototype.abort = function() {\n\t  this.output = '';\n\t  this.globalFn = null;\n\t  this.state = IDLE;\n\t  this.running = false;\n\t  this.path = '';\n\t  this.code = '';\n\t  this.invokingContinuation = null;\n\t  this.capturingContinuation = false;\n\t  this.error = null;\n\t};\n\n\tMachine.prototype.getNextStepId = function(machineId, stepId, offset) {\n\t  var locs = this.debugInfo.data.stepIds[machineId];\n\t  var idx = locs.indexOf(stepId);\n\t  if(idx + offset < locs.length) {\n\t    return this.debugInfo.data.stepIds[machineId][idx + offset];\n\t  }\n\t  return null;\n\t};\n\n\tMachine.prototype.continue = function() {\n\t  if(this.state === SUSPENDED) {\n\t    this.fire('resumed');\n\n\t    var root = this.getRootFrame();\n\t    var top = this.getTopFrame();\n\t    this.running = true;\n\t    this.state = EXECUTING;\n\n\t    if(this.machineBreaks[top.machineId][top.next]) {\n\t      // We need to get past this instruction that has a breakpoint, so\n\t      // turn off breakpoints and step past it, then turn them back on\n\t      // again and execute normally\n\t      this.stepping = true;\n\t      this.hasBreakpoints = false;\n\t      this.restore(true);\n\t      // TODO: don't force this back on always\n\t      this.hasBreakpoints = true;\n\t      this.stepping = false;\n\t    }\n\n\t    this.running = true;\n\t    this.state = EXECUTING;\n\t    this.restore();\n\t  }\n\t};\n\n\tMachine.prototype.step = function() {\n\t  if(!this.stack) return;\n\t  this.fire('resumed');\n\n\t  var _step = function() {\n\t    this.running = true;\n\t    this.stepping = true;\n\t    this.hasBreakpoints = false;\n\t    this.restore(true);\n\t    this.hasBreakpoints = true;\n\t    this.stepping = false;\n\t  }.bind(this);\n\n\t  _step();\n\n\t  var top = this.getTopFrame();\n\t  while(this.state === SUSPENDED && !this.getLocation()) {\n\t    // Keep stepping until we hit something we know where we are\n\t    // located\n\t    _step();\n\t  }\n\n\t  if(this.state === SUSPENDED) {\n\t    this.running = false;\n\t    this.fire('paused');\n\t  }\n\t};\n\n\tMachine.prototype.stepOver = function() {\n\t  if(!this.rootFrame) return;\n\t  var top = this.getTopFrame();\n\t  var curloc = this.getLocation();\n\t  var finalLoc = curloc;\n\t  var biggest = 0;\n\t  var locs = this.debugInfo.data[top.machineId].locs;\n\n\t  // find the \"biggest\" expression in the function that encloses\n\t  // this one\n\t  Object.keys(locs).forEach(function(k) {\n\t    var loc = locs[k];\n\n\t    if(loc.start.line <= curloc.start.line &&\n\t       loc.end.line >= curloc.end.line &&\n\t       loc.start.column <= curloc.start.column &&\n\t       loc.end.column >= curloc.end.column) {\n\n\t      var ldiff = ((curloc.start.line - loc.start.line) +\n\t                   (loc.end.line - curloc.end.line));\n\t      var cdiff = ((curloc.start.column - loc.start.column) +\n\t                   (loc.end.column - curloc.end.column));\n\t      if(ldiff + cdiff > biggest) {\n\t        finalLoc = loc;\n\t        biggest = ldiff + cdiff;\n\t      }\n\t    }\n\t  });\n\n\t  if(finalLoc !== curloc) {\n\t    while(this.getLocation() !== finalLoc) {\n\t      this.step();\n\t    }\n\n\t    this.step();\n\t  }\n\t  else {\n\t    this.step();\n\t  }\n\t};\n\n\tMachine.prototype.evaluate = function(expr) {\n\t  if(expr === '$_') {\n\t    return this.evalResult;\n\t  }\n\n\t  // An expression can be one of these forms:\n\t  //\n\t  // 1. foo = function() { <stmt/expr> ... }\n\t  // 2. function foo() { <stmt/expr> ... }\n\t  // 3. x = <expr>\n\t  // 4. var x = <expr>\n\t  // 5. <stmt/expr>\n\t  //\n\t  // 1-4 can change any data in the current frame, and introduce new\n\t  // variables that are only available for the current session (will\n\t  // disappear after any stepping/resume/etc). Functions in 1 and 2\n\t  // will be compiled, so they can be paused and debugged.\n\t  //\n\t  // 5 can run any arbitrary expression\n\n\t  if(this.stack) {\n\t    var top = this.getTopFrame();\n\t    expr = compiler(expr, {\n\t      asExpr: true,\n\t      scope: top.scope\n\t    }).code;\n\n\t    this.running = true;\n\t    this.doRestore = true;\n\t    this.stepping = false;\n\t    var res = top.evaluate(this, expr);\n\t    this.stepping = true;\n\t    this.doRestore = false;\n\t    this.running = false;\n\t  }\n\t  else if(this.globalFn) {\n\t    expr = compiler(expr, {\n\t      asExpr: true\n\t    }).code;\n\n\t    this.evalArg = expr;\n\t    this.stepping = true;\n\n\t    this.withTopFrame({\n\t      next: -1,\n\t      state: {}\n\t    }, function() {\n\t      this.doRestore = true;\n\t      try {\n\t        (0, this).globalFn();\n\t      }\n\t      catch(e) {\n\t        if(e.error) {\n\t          throw e.error;\n\t        }\n\t      }\n\t      this.doRestore = false;\n\t    }.bind(this));\n\t  }\n\t  else {\n\t    throw new Error('invalid evaluation state');\n\t  }\n\n\t  return this.evalResult;\n\t};\n\n\tMachine.prototype.restore = function(suppressEvents) {\n\t  try {\n\t    this.doRestore = true;\n\t    this.getRootFrame().restore();\n\t    this.error = undefined;\n\t  }\n\t  catch(e) {\n\t    this.stack = e.fnstack;\n\t    this.error = e.error;\n\t  }\n\t  this.checkStatus(suppressEvents);\n\t};\n\n\tMachine.prototype.checkStatus = function(suppressEvents) {\n\t  if(this.stack) {\n\t    if(this.capturingContinuation) {\n\t      this.capturingContinuation = false;\n\t      this.onCapture();\n\t      return;\n\t    }\n\n\t    if(this.invokingContinuation) {\n\t      var fnstack = this.invokingContinuation;\n\t      this.invokingContinuation = null;\n\t      this.onInvoke(fnstack);\n\t      return;\n\t    }\n\n\t    if(this.error) {\n\t      if(this.dispatchException()) {\n\t        return;\n\t      }\n\n\t      if(!suppressEvents) {\n\t        this.fire('error', this.error);\n\t      }\n\t    }\n\t    else if(!suppressEvents) {\n\t      this.fire('paused');\n\t    }\n\n\t    this.state = SUSPENDED;\n\t  }\n\t  else {\n\t    if(!suppressEvents) {\n\t      this.fire('finish');\n\t    }\n\t    this.state = IDLE;\n\t  }\n\n\t  this.running = false;\n\t};\n\n\tMachine.prototype.toggleBreakpoint = function(line) {\n\t  var debug = this.debugInfo;\n\t  var pos = debug.lineToMachinePos(line);\n\n\t  if(pos) {\n\t    this.hasBreakpoints = true;\n\t    if(this.machineBreaks[pos.machineId][pos.locId]) {\n\t      this.machineBreaks[pos.machineId][pos.locId] = false;\n\t    }\n\t    else {\n\t      this.machineBreaks[pos.machineId][pos.locId] = true;\n\t    }\n\t  }\n\t};\n\n\tMachine.prototype.callCC = function() {\n\t  this.capturingContinuation = true;\n\t  throw new ContinuationExc();\n\t};\n\n\tMachine.prototype.onCapture = function() {\n\t  var fnstack = this.stack.map(function(x) { return x; });\n\t  var top = fnstack[0];\n\t  var tmpid = top.tmpid;\n\t  var next = this.getNextStepId(top.machineId, top.next, 2);\n\n\t  top.next = this.getNextStepId(top.machineId, top.next, 1);\n\n\t  top.state['$__t' + (top.tmpid - 1)] = function(arg) {\n\t    top.next = next;\n\t    top.state['$__t' + tmpid] = arg;\n\t    if(this.running) {\n\t      this.invokeContinuation(fnstack);\n\t    }\n\t    else {\n\t      this.onInvoke(fnstack);\n\t    }\n\t  }.bind(this);\n\n\t  this.restore();\n\t}\n\n\tMachine.prototype.invokeContinuation = function(fnstack) {\n\t  this.invokingContinuation = fnstack;\n\t  throw new ContinuationExc();\n\t}\n\n\tMachine.prototype.onInvoke = function(fnstack) {\n\t  this.stack = fnstack.map(function(x) { return x; });\n\t  this.fire('cont-invoked');\n\n\t  if(!this.stepping) {\n\t    this.running = true;\n\t    this.state = EXECUTING;\n\t    this.restore();\n\t  }\n\t}\n\n\tMachine.prototype.handleWatch = function(machineId, locId, res) {\n\t  var id = this.machineWatches[machineId][locId].id;\n\n\t  this.fire('watched', {\n\t    id: id,\n\t    value: res\n\t  });\n\t};\n\n\tMachine.prototype.on = function(event, handler) {\n\t  var arr = this._events[event] || [];\n\t  arr.push(handler);\n\t  this._events[event] = arr;\n\t};\n\n\tMachine.prototype.off = function(event, handler) {\n\t  var arr = this._events[event] || [];\n\t  if(handler) {\n\t    var i = arr.indexOf(handler);\n\t    if(i !== -1) {\n\t      arr.splice(i, 1);\n\t    }\n\t  }\n\t  else {\n\t    this._events[event] = [];\n\t  }\n\t};\n\n\tMachine.prototype.fire = function(event, data) {\n\t  setTimeout(function() {\n\t    var arr = this._events[event] || [];\n\t    arr.forEach(function(handler) {\n\t      handler(data);\n\t    });\n\t  }.bind(this), 0);\n\t};\n\n\tMachine.prototype.getTopFrame = function() {\n\t  return this.stack && this.stack[0];\n\t};\n\n\tMachine.prototype.getRootFrame = function() {\n\t  return this.stack && this.stack[this.stack.length - 1];\n\t};\n\n\tMachine.prototype.getFrameOffset = function(i) {\n\t  // TODO: this is really annoying, but it works for now. have to do\n\t  // two passes\n\t  var top = this.rootFrame;\n\t  var count = 0;\n\t  while(top.child) {\n\t    top = top.child;\n\t    count++;\n\t  }\n\n\t  if(i > count) {\n\t    return null;\n\t  }\n\n\t  var depth = count - i;\n\t  top = this.rootFrame;\n\t  count = 0;\n\t  while(top.child && count < depth) {\n\t    top = top.child;\n\t    count++;\n\t  }\n\n\t  return top;\n\t};\n\n\tMachine.prototype.setDebugInfo = function(info) {\n\t  this.debugInfo = info || new DebugInfo([]);\n\t  var machines = info.data.machines;\n\t  this.machineBreaks = new Array(machines.length);\n\t  this.machineWatches = new Array(machines.length);\n\n\t  for(var i=0; i<machines.length; i++) {\n\t    this.machineBreaks[i] = [];\n\t  }\n\t  for(var i=0; i<machines.length; i++) {\n\t    this.machineWatches[i] = [];\n\t  }\n\t};\n\n\tMachine.prototype.setCode = function(path, code) {\n\t  this.path = path;\n\t  this.code = code;\n\t};\n\n\tMachine.prototype.isStepping = function() {\n\t  return this.stepping;\n\t};\n\n\tMachine.prototype.getOutput = function() {\n\t  return this.output;\n\t};\n\n\tMachine.prototype.getState = function() {\n\t  return this.state;\n\t};\n\n\tMachine.prototype.getLocation = function() {\n\t  if(!this.stack || !this.debugInfo) return;\n\n\t  var top = this.getTopFrame();\n\t  return this.debugInfo.data.machines[top.machineId].locs[top.next];\n\t};\n\n\tMachine.prototype.disableBreakpoints = function() {\n\t  this.hasBreakpoints = false;\n\t};\n\n\tMachine.prototype.enableBreakpoints = function() {\n\t  this.hasBreakpoints = true;\n\t};\n\n\tMachine.prototype.pushState = function() {\n\t  this.prevStates.push([\n\t    this.stepping, this.hasBreakpoints\n\t  ]);\n\n\t  this.stepping = false;\n\t  this.hasBreakpoints = false;\n\t};\n\n\tMachine.prototype.popState = function() {\n\t  var state = this.prevStates.pop();\n\t  this.stepping = state[0];\n\t  this.hasBreakpoints = state[1];\n\t};\n\n\tMachine.prototype.pushTry = function(stack, catchLoc, finallyLoc, finallyTempVar) {\n\t  if(finallyLoc) {\n\t    stack.push({\n\t      finallyLoc: finallyLoc,\n\t      finallyTempVar: finallyTempVar\n\t    });\n\t  }\n\n\t  if(catchLoc) {\n\t    stack.push({\n\t      catchLoc: catchLoc\n\t    });\n\t  }\n\t};\n\n\tMachine.prototype.popCatch = function(stack, catchLoc) {\n\t  var entry = stack[stack.length - 1];\n\t  if(entry && entry.catchLoc === catchLoc) {\n\t    stack.pop();\n\t  }\n\t};\n\n\tMachine.prototype.popFinally = function(stack, finallyLoc) {\n\t  var entry = stack[stack.length - 1];\n\n\t  if(!entry || !entry.finallyLoc) {\n\t    stack.pop();\n\t    entry = stack[stack.length - 1];\n\t  }\n\n\t  if(entry && entry.finallyLoc === finallyLoc) {\n\t    stack.pop();\n\t  }\n\t};\n\n\tMachine.prototype.dispatchException = function() {\n\t  if(this.error == null) {\n\t    return false;\n\t  }\n\n\t  var exc = this.error;\n\t  var dispatched = false;\n\t  var prevStepping = this.stepping;\n\t  this.stepping = false;\n\n\t  for(var i=0; i<this.stack.length; i++) {\n\t    var frame = this.stack[i];\n\n\t    if(frame.dispatchException(this, exc)) {\n\t      // shave off the frames were walked over\n\t      this.stack = this.stack.slice(i);\n\t      dispatched = true;\n\t      break;\n\t    }\n\t  }\n\n\t  if(!prevStepping && dispatched) {\n\t    this.restore();\n\t    this.error = undefined;\n\t  }\n\n\t  return dispatched;\n\t};\n\n\tMachine.prototype.keys = function(obj) {\n\t  return Object.keys(obj).reverse();\n\t};\n\n\tMachine.prototype.popFrame = function() {\n\t  var r = this.stack.pop();\n\t  if(!this.stack.length) {\n\t    this.doRestore = false;\n\t    this.stack = null;\n\t  }\n\t  return r;\n\t};\n\n\tMachine.prototype.nextFrame = function() {\n\t  if(this.stack && this.stack.length) {\n\t    return this.stack[this.stack.length - 1];\n\t  }\n\t  return null;\n\t};\n\n\tMachine.prototype.withTopFrame = function(frame, fn) {\n\t  var prev = this.stack;\n\t  this.stack = [frame];\n\t  try {\n\t    var newFrame;\n\t    if((newFrame = fn())) {\n\t      // replace the top of the real stack with the new frame\n\t      prev[0] = newFrame;\n\t    }\n\t  }\n\t  finally {\n\t    this.stack = prev;\n\t  }\n\t};\n\n\t// frame\n\n\tfunction Frame(machineId, name, fn, next, state, scope,\n\t               thisPtr, tryStack, tmpid) {\n\t  this.machineId = machineId;\n\t  this.name = name;\n\t  this.fn = fn;\n\t  this.next = next;\n\t  this.state = state;\n\t  this.scope = scope;\n\t  this.thisPtr = thisPtr;\n\t  this.tryStack = tryStack;\n\t  this.tmpid = tmpid;\n\t}\n\n\tFrame.prototype.restore = function() {\n\t  this.fn.call(this.thisPtr);\n\t};\n\n\tFrame.prototype.evaluate = function(machine, expr) {\n\t  machine.evalArg = expr;\n\t  machine.error = undefined;\n\t  machine.stepping = true;\n\n\t  machine.withTopFrame(this, function() {\n\t    var prevNext = this.next;\n\t    this.next = -1;\n\n\t    try {\n\t      this.fn.call(this.thisPtr);\n\t    }\n\t    catch(e) {\n\t      if(!(e instanceof ContinuationExc)) {\n\t        throw e;\n\t      }\n\t      else if(e.error) {\n\t        throw e.error;\n\t      }\n\n\t      var newFrame = e.fnstack[0];\n\t      newFrame.next = prevNext;\n\t      return newFrame;\n\t    }\n\n\t    throw new Error('eval did not get a frame back');\n\t  }.bind(this));\n\n\t  return machine.evalResult;\n\t};\n\n\tFrame.prototype.stackEach = function(func) {\n\t  if(this.child) {\n\t    this.child.stackEach(func);\n\t  }\n\t  func(this);\n\t};\n\n\tFrame.prototype.stackMap = function(func) {\n\t  var res;\n\t  if(this.child) {\n\t    res = this.child.stackMap(func);\n\t  }\n\t  else {\n\t    res = [];\n\t  }\n\n\t  res.push(func(this));\n\t  return res;\n\t};\n\n\tFrame.prototype.stackReduce = function(func, acc) {\n\t  if(this.child) {\n\t    acc = this.child.stackReduce(func, acc);\n\t  }\n\n\t  return func(acc, this);\n\t};\n\n\tFrame.prototype.getLocation = function(machine) {\n\t  return machine.debugInfo.data[this.machineId].locs[this.next];\n\t};\n\n\tFrame.prototype.dispatchException = function(machine, exc) {\n\t  if(!this.tryStack) {\n\t    return false;\n\t  }\n\n\t  var next;\n\t  var hasCaught = false;\n\t  var hasFinally = false;\n\t  var finallyEntries = [];\n\n\t  for(var i=this.tryStack.length - 1; i >= 0; i--) {\n\t    var entry = this.tryStack[i];\n\t    if(entry.catchLoc) {\n\t      next = entry.catchLoc;\n\t      hasCaught = true;\n\t      break;\n\t    }\n\t    else if(entry.finallyLoc) {\n\t      finallyEntries.push(entry);\n\t      hasFinally = true;\n\t    }\n\t  }\n\n\t  // initially, `next` is undefined which will jump to the end of the\n\t  // function. (the default case)\n\t  while((entry = finallyEntries.pop())) {\n\t    this.state['$__t' + entry.finallyTempVar] = next;\n\t    next = entry.finallyLoc;\n\t  }\n\n\t  this.next = next;\n\n\t  if(hasFinally && !hasCaught) {\n\t    machine.withTopFrame(this, function() {\n\t      machine.doRestore = true;\n\t      this.restore();\n\t    }.bind(this));\n\t  }\n\n\t  return hasCaught;\n\t};\n\n\t// debug info\n\n\tfunction DebugInfo(data) {\n\t  this.data = data;\n\t}\n\n\tDebugInfo.prototype.lineToMachinePos = function(line) {\n\t  if(!this.data) return null;\n\t  var machines = this.data.machines;\n\n\t  // Iterate over the machines backwards because they are ordered\n\t  // innermost to top-level, and we want to break on the outermost\n\t  // function.\n\t  for(var i=machines.length - 1; i >= 0; i--) {\n\t    var locs = machines[i].locs;\n\t    var keys = Object.keys(locs);\n\n\t    for(var cur=0, len=keys.length; cur<len; cur++) {\n\t      var loc = locs[keys[cur]];\n\t      if(loc.start.line === line) {\n\t        return {\n\t          machineId: i,\n\t          locId: parseInt(keys[cur])\n\t        };\n\t      }\n\t    }\n\t  }\n\n\t  return null;\n\t};\n\n\tDebugInfo.prototype.closestMachinePos = function(start, end) {\n\t  if(!this.data) return null;\n\n\t  for(var i=0, l=this.data.length; i<l; i++) {\n\t    var locs = this.data[i].locs;\n\t    var keys = Object.keys(locs);\n\t    keys = keys.map(function(k) { return parseInt(k); });\n\t    keys.sort(function(a, b) { return a-b; });\n\n\t    for(var cur=0, len=keys.length; cur<len; cur++) {\n\t      var loc = locs[keys[cur]];\n\n\t      if((loc.start.line < start.line ||\n\t          (loc.start.line === start.line &&\n\t           loc.start.column <= start.ch)) &&\n\t         (loc.end.line > end.line ||\n\t          (loc.end.line === end.line &&\n\t           loc.end.column >= end.ch))) {\n\t        return {\n\t          machineId: i,\n\t          locId: keys[cur]\n\t        };\n\t      }\n\t    }\n\t  }\n\n\t  return null;\n\t};\n\n\tDebugInfo.prototype.setWatch = function(pos, src) {\n\t  // TODO: real uuid\n\t  var id = Math.random() * 10000 | 0;\n\t  this.watches.push({\n\t    pos: pos,\n\t    src: src,\n\t    id: id\n\t  });\n\n\t  return id;\n\t};\n\n\tfunction ContinuationExc(error, initialFrame, savedFrames) {\n\t  this.fnstack = (\n\t    savedFrames ? savedFrames :\n\t      initialFrame ? [initialFrame] :\n\t      []\n\t  );\n\t  this.error = error;\n\t  this.reuse = !!initialFrame;\n\t}\n\n\tContinuationExc.prototype.pushFrame = function(frame) {\n\t  this.fnstack.push(frame);\n\t};\n\n\t// exports\n\n\tmodule.exports.$Machine = Machine;\n\tmodule.exports.$Frame = Frame;\n\tmodule.exports.$DebugInfo = DebugInfo;\n\tmodule.exports.$ContinuationExc = ContinuationExc;\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(4)))\n\n/***/ },\n/* 72 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// CodeMirror, copyright (c) by Marijn Haverbeke and others\n\t// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n\t// This is CodeMirror (http://codemirror.net), a code editor\n\t// implemented in JavaScript on top of the browser's DOM.\n\t//\n\t// You can find some technical background for some of the code below\n\t// at http://marijnhaverbeke.nl/blog/#cm-internals .\n\n\t(function(mod) {\n\t  if (true) // CommonJS\n\t    module.exports = mod();\n\t  else if (typeof define == \"function\" && define.amd) // AMD\n\t    return define([], mod);\n\t  else // Plain browser env\n\t    (this || window).CodeMirror = mod();\n\t})(function() {\n\t  \"use strict\";\n\n\t  // BROWSER SNIFFING\n\n\t  // Kludges for bugs and behavior differences that can't be feature\n\t  // detected are enabled based on userAgent etc sniffing.\n\t  var userAgent = navigator.userAgent;\n\t  var platform = navigator.platform;\n\n\t  var gecko = /gecko\\/\\d/i.test(userAgent);\n\t  var ie_upto10 = /MSIE \\d/.test(userAgent);\n\t  var ie_11up = /Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(userAgent);\n\t  var ie = ie_upto10 || ie_11up;\n\t  var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : ie_11up[1]);\n\t  var webkit = /WebKit\\//.test(userAgent);\n\t  var qtwebkit = webkit && /Qt\\/\\d+\\.\\d+/.test(userAgent);\n\t  var chrome = /Chrome\\//.test(userAgent);\n\t  var presto = /Opera\\//.test(userAgent);\n\t  var safari = /Apple Computer/.test(navigator.vendor);\n\t  var mac_geMountainLion = /Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(userAgent);\n\t  var phantom = /PhantomJS/.test(userAgent);\n\n\t  var ios = /AppleWebKit/.test(userAgent) && /Mobile\\/\\w+/.test(userAgent);\n\t  // This is woefully incomplete. Suggestions for alternative methods welcome.\n\t  var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(userAgent);\n\t  var mac = ios || /Mac/.test(platform);\n\t  var chromeOS = /\\bCrOS\\b/.test(userAgent);\n\t  var windows = /win/i.test(platform);\n\n\t  var presto_version = presto && userAgent.match(/Version\\/(\\d*\\.\\d*)/);\n\t  if (presto_version) presto_version = Number(presto_version[1]);\n\t  if (presto_version && presto_version >= 15) { presto = false; webkit = true; }\n\t  // Some browsers use the wrong event properties to signal cmd/ctrl on OS X\n\t  var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11));\n\t  var captureRightClick = gecko || (ie && ie_version >= 9);\n\n\t  // Optimize some code when these features are not used.\n\t  var sawReadOnlySpans = false, sawCollapsedSpans = false;\n\n\t  // EDITOR CONSTRUCTOR\n\n\t  // A CodeMirror instance represents an editor. This is the object\n\t  // that user code is usually dealing with.\n\n\t  function CodeMirror(place, options) {\n\t    if (!(this instanceof CodeMirror)) return new CodeMirror(place, options);\n\n\t    this.options = options = options ? copyObj(options) : {};\n\t    // Determine effective options based on given values and defaults.\n\t    copyObj(defaults, options, false);\n\t    setGuttersForLineNumbers(options);\n\n\t    var doc = options.value;\n\t    if (typeof doc == \"string\") doc = new Doc(doc, options.mode, null, options.lineSeparator);\n\t    this.doc = doc;\n\n\t    var input = new CodeMirror.inputStyles[options.inputStyle](this);\n\t    var display = this.display = new Display(place, doc, input);\n\t    display.wrapper.CodeMirror = this;\n\t    updateGutters(this);\n\t    themeChanged(this);\n\t    if (options.lineWrapping)\n\t      this.display.wrapper.className += \" CodeMirror-wrap\";\n\t    if (options.autofocus && !mobile) display.input.focus();\n\t    initScrollbars(this);\n\n\t    this.state = {\n\t      keyMaps: [],  // stores maps added by addKeyMap\n\t      overlays: [], // highlighting overlays, as added by addOverlay\n\t      modeGen: 0,   // bumped when mode/overlay changes, used to invalidate highlighting info\n\t      overwrite: false,\n\t      delayingBlurEvent: false,\n\t      focused: false,\n\t      suppressEdits: false, // used to disable editing during key handlers when in readOnly mode\n\t      pasteIncoming: false, cutIncoming: false, // help recognize paste/cut edits in input.poll\n\t      selectingText: false,\n\t      draggingText: false,\n\t      highlight: new Delayed(), // stores highlight worker timeout\n\t      keySeq: null,  // Unfinished key sequence\n\t      specialChars: null\n\t    };\n\n\t    var cm = this;\n\n\t    // Override magic textarea content restore that IE sometimes does\n\t    // on our hidden textarea on reload\n\t    if (ie && ie_version < 11) setTimeout(function() { cm.display.input.reset(true); }, 20);\n\n\t    registerEventHandlers(this);\n\t    ensureGlobalHandlers();\n\n\t    startOperation(this);\n\t    this.curOp.forceUpdate = true;\n\t    attachDoc(this, doc);\n\n\t    if ((options.autofocus && !mobile) || cm.hasFocus())\n\t      setTimeout(bind(onFocus, this), 20);\n\t    else\n\t      onBlur(this);\n\n\t    for (var opt in optionHandlers) if (optionHandlers.hasOwnProperty(opt))\n\t      optionHandlers[opt](this, options[opt], Init);\n\t    maybeUpdateLineNumberWidth(this);\n\t    if (options.finishInit) options.finishInit(this);\n\t    for (var i = 0; i < initHooks.length; ++i) initHooks[i](this);\n\t    endOperation(this);\n\t    // Suppress optimizelegibility in Webkit, since it breaks text\n\t    // measuring on line wrapping boundaries.\n\t    if (webkit && options.lineWrapping &&\n\t        getComputedStyle(display.lineDiv).textRendering == \"optimizelegibility\")\n\t      display.lineDiv.style.textRendering = \"auto\";\n\t  }\n\n\t  // DISPLAY CONSTRUCTOR\n\n\t  // The display handles the DOM integration, both for input reading\n\t  // and content drawing. It holds references to DOM nodes and\n\t  // display-related state.\n\n\t  function Display(place, doc, input) {\n\t    var d = this;\n\t    this.input = input;\n\n\t    // Covers bottom-right square when both scrollbars are present.\n\t    d.scrollbarFiller = elt(\"div\", null, \"CodeMirror-scrollbar-filler\");\n\t    d.scrollbarFiller.setAttribute(\"cm-not-content\", \"true\");\n\t    // Covers bottom of gutter when coverGutterNextToScrollbar is on\n\t    // and h scrollbar is present.\n\t    d.gutterFiller = elt(\"div\", null, \"CodeMirror-gutter-filler\");\n\t    d.gutterFiller.setAttribute(\"cm-not-content\", \"true\");\n\t    // Will contain the actual code, positioned to cover the viewport.\n\t    d.lineDiv = elt(\"div\", null, \"CodeMirror-code\");\n\t    // Elements are added to these to represent selection and cursors.\n\t    d.selectionDiv = elt(\"div\", null, null, \"position: relative; z-index: 1\");\n\t    d.cursorDiv = elt(\"div\", null, \"CodeMirror-cursors\");\n\t    // A visibility: hidden element used to find the size of things.\n\t    d.measure = elt(\"div\", null, \"CodeMirror-measure\");\n\t    // When lines outside of the viewport are measured, they are drawn in this.\n\t    d.lineMeasure = elt(\"div\", null, \"CodeMirror-measure\");\n\t    // Wraps everything that needs to exist inside the vertically-padded coordinate system\n\t    d.lineSpace = elt(\"div\", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv],\n\t                      null, \"position: relative; outline: none\");\n\t    // Moved around its parent to cover visible view.\n\t    d.mover = elt(\"div\", [elt(\"div\", [d.lineSpace], \"CodeMirror-lines\")], null, \"position: relative\");\n\t    // Set to the height of the document, allowing scrolling.\n\t    d.sizer = elt(\"div\", [d.mover], \"CodeMirror-sizer\");\n\t    d.sizerWidth = null;\n\t    // Behavior of elts with overflow: auto and padding is\n\t    // inconsistent across browsers. This is used to ensure the\n\t    // scrollable area is big enough.\n\t    d.heightForcer = elt(\"div\", null, null, \"position: absolute; height: \" + scrollerGap + \"px; width: 1px;\");\n\t    // Will contain the gutters, if any.\n\t    d.gutters = elt(\"div\", null, \"CodeMirror-gutters\");\n\t    d.lineGutter = null;\n\t    // Actual scrollable element.\n\t    d.scroller = elt(\"div\", [d.sizer, d.heightForcer, d.gutters], \"CodeMirror-scroll\");\n\t    d.scroller.setAttribute(\"tabIndex\", \"-1\");\n\t    // The element in which the editor lives.\n\t    d.wrapper = elt(\"div\", [d.scrollbarFiller, d.gutterFiller, d.scroller], \"CodeMirror\");\n\n\t    // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported)\n\t    if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; }\n\t    if (!webkit && !(gecko && mobile)) d.scroller.draggable = true;\n\n\t    if (place) {\n\t      if (place.appendChild) place.appendChild(d.wrapper);\n\t      else place(d.wrapper);\n\t    }\n\n\t    // Current rendered range (may be bigger than the view window).\n\t    d.viewFrom = d.viewTo = doc.first;\n\t    d.reportedViewFrom = d.reportedViewTo = doc.first;\n\t    // Information about the rendered lines.\n\t    d.view = [];\n\t    d.renderedView = null;\n\t    // Holds info about a single rendered line when it was rendered\n\t    // for measurement, while not in view.\n\t    d.externalMeasured = null;\n\t    // Empty space (in pixels) above the view\n\t    d.viewOffset = 0;\n\t    d.lastWrapHeight = d.lastWrapWidth = 0;\n\t    d.updateLineNumbers = null;\n\n\t    d.nativeBarWidth = d.barHeight = d.barWidth = 0;\n\t    d.scrollbarsClipped = false;\n\n\t    // Used to only resize the line number gutter when necessary (when\n\t    // the amount of lines crosses a boundary that makes its width change)\n\t    d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null;\n\t    // Set to true when a non-horizontal-scrolling line widget is\n\t    // added. As an optimization, line widget aligning is skipped when\n\t    // this is false.\n\t    d.alignWidgets = false;\n\n\t    d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n\n\t    // Tracks the maximum line length so that the horizontal scrollbar\n\t    // can be kept static when scrolling.\n\t    d.maxLine = null;\n\t    d.maxLineLength = 0;\n\t    d.maxLineChanged = false;\n\n\t    // Used for measuring wheel scrolling granularity\n\t    d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null;\n\n\t    // True when shift is held down.\n\t    d.shift = false;\n\n\t    // Used to track whether anything happened since the context menu\n\t    // was opened.\n\t    d.selForContextMenu = null;\n\n\t    d.activeTouch = null;\n\n\t    input.init(d);\n\t  }\n\n\t  // STATE UPDATES\n\n\t  // Used to get the editor into a consistent state again when options change.\n\n\t  function loadMode(cm) {\n\t    cm.doc.mode = CodeMirror.getMode(cm.options, cm.doc.modeOption);\n\t    resetModeState(cm);\n\t  }\n\n\t  function resetModeState(cm) {\n\t    cm.doc.iter(function(line) {\n\t      if (line.stateAfter) line.stateAfter = null;\n\t      if (line.styles) line.styles = null;\n\t    });\n\t    cm.doc.frontier = cm.doc.first;\n\t    startWorker(cm, 100);\n\t    cm.state.modeGen++;\n\t    if (cm.curOp) regChange(cm);\n\t  }\n\n\t  function wrappingChanged(cm) {\n\t    if (cm.options.lineWrapping) {\n\t      addClass(cm.display.wrapper, \"CodeMirror-wrap\");\n\t      cm.display.sizer.style.minWidth = \"\";\n\t      cm.display.sizerWidth = null;\n\t    } else {\n\t      rmClass(cm.display.wrapper, \"CodeMirror-wrap\");\n\t      findMaxLine(cm);\n\t    }\n\t    estimateLineHeights(cm);\n\t    regChange(cm);\n\t    clearCaches(cm);\n\t    setTimeout(function(){updateScrollbars(cm);}, 100);\n\t  }\n\n\t  // Returns a function that estimates the height of a line, to use as\n\t  // first approximation until the line becomes visible (and is thus\n\t  // properly measurable).\n\t  function estimateHeight(cm) {\n\t    var th = textHeight(cm.display), wrapping = cm.options.lineWrapping;\n\t    var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);\n\t    return function(line) {\n\t      if (lineIsHidden(cm.doc, line)) return 0;\n\n\t      var widgetsHeight = 0;\n\t      if (line.widgets) for (var i = 0; i < line.widgets.length; i++) {\n\t        if (line.widgets[i].height) widgetsHeight += line.widgets[i].height;\n\t      }\n\n\t      if (wrapping)\n\t        return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th;\n\t      else\n\t        return widgetsHeight + th;\n\t    };\n\t  }\n\n\t  function estimateLineHeights(cm) {\n\t    var doc = cm.doc, est = estimateHeight(cm);\n\t    doc.iter(function(line) {\n\t      var estHeight = est(line);\n\t      if (estHeight != line.height) updateLineHeight(line, estHeight);\n\t    });\n\t  }\n\n\t  function themeChanged(cm) {\n\t    cm.display.wrapper.className = cm.display.wrapper.className.replace(/\\s*cm-s-\\S+/g, \"\") +\n\t      cm.options.theme.replace(/(^|\\s)\\s*/g, \" cm-s-\");\n\t    clearCaches(cm);\n\t  }\n\n\t  function guttersChanged(cm) {\n\t    updateGutters(cm);\n\t    regChange(cm);\n\t    setTimeout(function(){alignHorizontally(cm);}, 20);\n\t  }\n\n\t  // Rebuild the gutter elements, ensure the margin to the left of the\n\t  // code matches their width.\n\t  function updateGutters(cm) {\n\t    var gutters = cm.display.gutters, specs = cm.options.gutters;\n\t    removeChildren(gutters);\n\t    for (var i = 0; i < specs.length; ++i) {\n\t      var gutterClass = specs[i];\n\t      var gElt = gutters.appendChild(elt(\"div\", null, \"CodeMirror-gutter \" + gutterClass));\n\t      if (gutterClass == \"CodeMirror-linenumbers\") {\n\t        cm.display.lineGutter = gElt;\n\t        gElt.style.width = (cm.display.lineNumWidth || 1) + \"px\";\n\t      }\n\t    }\n\t    gutters.style.display = i ? \"\" : \"none\";\n\t    updateGutterSpace(cm);\n\t  }\n\n\t  function updateGutterSpace(cm) {\n\t    var width = cm.display.gutters.offsetWidth;\n\t    cm.display.sizer.style.marginLeft = width + \"px\";\n\t  }\n\n\t  // Compute the character length of a line, taking into account\n\t  // collapsed ranges (see markText) that might hide parts, and join\n\t  // other lines onto it.\n\t  function lineLength(line) {\n\t    if (line.height == 0) return 0;\n\t    var len = line.text.length, merged, cur = line;\n\t    while (merged = collapsedSpanAtStart(cur)) {\n\t      var found = merged.find(0, true);\n\t      cur = found.from.line;\n\t      len += found.from.ch - found.to.ch;\n\t    }\n\t    cur = line;\n\t    while (merged = collapsedSpanAtEnd(cur)) {\n\t      var found = merged.find(0, true);\n\t      len -= cur.text.length - found.from.ch;\n\t      cur = found.to.line;\n\t      len += cur.text.length - found.to.ch;\n\t    }\n\t    return len;\n\t  }\n\n\t  // Find the longest line in the document.\n\t  function findMaxLine(cm) {\n\t    var d = cm.display, doc = cm.doc;\n\t    d.maxLine = getLine(doc, doc.first);\n\t    d.maxLineLength = lineLength(d.maxLine);\n\t    d.maxLineChanged = true;\n\t    doc.iter(function(line) {\n\t      var len = lineLength(line);\n\t      if (len > d.maxLineLength) {\n\t        d.maxLineLength = len;\n\t        d.maxLine = line;\n\t      }\n\t    });\n\t  }\n\n\t  // Make sure the gutters options contains the element\n\t  // \"CodeMirror-linenumbers\" when the lineNumbers option is true.\n\t  function setGuttersForLineNumbers(options) {\n\t    var found = indexOf(options.gutters, \"CodeMirror-linenumbers\");\n\t    if (found == -1 && options.lineNumbers) {\n\t      options.gutters = options.gutters.concat([\"CodeMirror-linenumbers\"]);\n\t    } else if (found > -1 && !options.lineNumbers) {\n\t      options.gutters = options.gutters.slice(0);\n\t      options.gutters.splice(found, 1);\n\t    }\n\t  }\n\n\t  // SCROLLBARS\n\n\t  // Prepare DOM reads needed to update the scrollbars. Done in one\n\t  // shot to minimize update/measure roundtrips.\n\t  function measureForScrollbars(cm) {\n\t    var d = cm.display, gutterW = d.gutters.offsetWidth;\n\t    var docH = Math.round(cm.doc.height + paddingVert(cm.display));\n\t    return {\n\t      clientHeight: d.scroller.clientHeight,\n\t      viewHeight: d.wrapper.clientHeight,\n\t      scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth,\n\t      viewWidth: d.wrapper.clientWidth,\n\t      barLeft: cm.options.fixedGutter ? gutterW : 0,\n\t      docHeight: docH,\n\t      scrollHeight: docH + scrollGap(cm) + d.barHeight,\n\t      nativeBarWidth: d.nativeBarWidth,\n\t      gutterWidth: gutterW\n\t    };\n\t  }\n\n\t  function NativeScrollbars(place, scroll, cm) {\n\t    this.cm = cm;\n\t    var vert = this.vert = elt(\"div\", [elt(\"div\", null, null, \"min-width: 1px\")], \"CodeMirror-vscrollbar\");\n\t    var horiz = this.horiz = elt(\"div\", [elt(\"div\", null, null, \"height: 100%; min-height: 1px\")], \"CodeMirror-hscrollbar\");\n\t    place(vert); place(horiz);\n\n\t    on(vert, \"scroll\", function() {\n\t      if (vert.clientHeight) scroll(vert.scrollTop, \"vertical\");\n\t    });\n\t    on(horiz, \"scroll\", function() {\n\t      if (horiz.clientWidth) scroll(horiz.scrollLeft, \"horizontal\");\n\t    });\n\n\t    this.checkedZeroWidth = false;\n\t    // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8).\n\t    if (ie && ie_version < 8) this.horiz.style.minHeight = this.vert.style.minWidth = \"18px\";\n\t  }\n\n\t  NativeScrollbars.prototype = copyObj({\n\t    update: function(measure) {\n\t      var needsH = measure.scrollWidth > measure.clientWidth + 1;\n\t      var needsV = measure.scrollHeight > measure.clientHeight + 1;\n\t      var sWidth = measure.nativeBarWidth;\n\n\t      if (needsV) {\n\t        this.vert.style.display = \"block\";\n\t        this.vert.style.bottom = needsH ? sWidth + \"px\" : \"0\";\n\t        var totalHeight = measure.viewHeight - (needsH ? sWidth : 0);\n\t        // A bug in IE8 can cause this value to be negative, so guard it.\n\t        this.vert.firstChild.style.height =\n\t          Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + \"px\";\n\t      } else {\n\t        this.vert.style.display = \"\";\n\t        this.vert.firstChild.style.height = \"0\";\n\t      }\n\n\t      if (needsH) {\n\t        this.horiz.style.display = \"block\";\n\t        this.horiz.style.right = needsV ? sWidth + \"px\" : \"0\";\n\t        this.horiz.style.left = measure.barLeft + \"px\";\n\t        var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0);\n\t        this.horiz.firstChild.style.width =\n\t          (measure.scrollWidth - measure.clientWidth + totalWidth) + \"px\";\n\t      } else {\n\t        this.horiz.style.display = \"\";\n\t        this.horiz.firstChild.style.width = \"0\";\n\t      }\n\n\t      if (!this.checkedZeroWidth && measure.clientHeight > 0) {\n\t        if (sWidth == 0) this.zeroWidthHack();\n\t        this.checkedZeroWidth = true;\n\t      }\n\n\t      return {right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0};\n\t    },\n\t    setScrollLeft: function(pos) {\n\t      if (this.horiz.scrollLeft != pos) this.horiz.scrollLeft = pos;\n\t      if (this.disableHoriz) this.enableZeroWidthBar(this.horiz, this.disableHoriz);\n\t    },\n\t    setScrollTop: function(pos) {\n\t      if (this.vert.scrollTop != pos) this.vert.scrollTop = pos;\n\t      if (this.disableVert) this.enableZeroWidthBar(this.vert, this.disableVert);\n\t    },\n\t    zeroWidthHack: function() {\n\t      var w = mac && !mac_geMountainLion ? \"12px\" : \"18px\";\n\t      this.horiz.style.height = this.vert.style.width = w;\n\t      this.horiz.style.pointerEvents = this.vert.style.pointerEvents = \"none\";\n\t      this.disableHoriz = new Delayed;\n\t      this.disableVert = new Delayed;\n\t    },\n\t    enableZeroWidthBar: function(bar, delay) {\n\t      bar.style.pointerEvents = \"auto\";\n\t      function maybeDisable() {\n\t        // To find out whether the scrollbar is still visible, we\n\t        // check whether the element under the pixel in the bottom\n\t        // left corner of the scrollbar box is the scrollbar box\n\t        // itself (when the bar is still visible) or its filler child\n\t        // (when the bar is hidden). If it is still visible, we keep\n\t        // it enabled, if it's hidden, we disable pointer events.\n\t        var box = bar.getBoundingClientRect();\n\t        var elt = document.elementFromPoint(box.left + 1, box.bottom - 1);\n\t        if (elt != bar) bar.style.pointerEvents = \"none\";\n\t        else delay.set(1000, maybeDisable);\n\t      }\n\t      delay.set(1000, maybeDisable);\n\t    },\n\t    clear: function() {\n\t      var parent = this.horiz.parentNode;\n\t      parent.removeChild(this.horiz);\n\t      parent.removeChild(this.vert);\n\t    }\n\t  }, NativeScrollbars.prototype);\n\n\t  function NullScrollbars() {}\n\n\t  NullScrollbars.prototype = copyObj({\n\t    update: function() { return {bottom: 0, right: 0}; },\n\t    setScrollLeft: function() {},\n\t    setScrollTop: function() {},\n\t    clear: function() {}\n\t  }, NullScrollbars.prototype);\n\n\t  CodeMirror.scrollbarModel = {\"native\": NativeScrollbars, \"null\": NullScrollbars};\n\n\t  function initScrollbars(cm) {\n\t    if (cm.display.scrollbars) {\n\t      cm.display.scrollbars.clear();\n\t      if (cm.display.scrollbars.addClass)\n\t        rmClass(cm.display.wrapper, cm.display.scrollbars.addClass);\n\t    }\n\n\t    cm.display.scrollbars = new CodeMirror.scrollbarModel[cm.options.scrollbarStyle](function(node) {\n\t      cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller);\n\t      // Prevent clicks in the scrollbars from killing focus\n\t      on(node, \"mousedown\", function() {\n\t        if (cm.state.focused) setTimeout(function() { cm.display.input.focus(); }, 0);\n\t      });\n\t      node.setAttribute(\"cm-not-content\", \"true\");\n\t    }, function(pos, axis) {\n\t      if (axis == \"horizontal\") setScrollLeft(cm, pos);\n\t      else setScrollTop(cm, pos);\n\t    }, cm);\n\t    if (cm.display.scrollbars.addClass)\n\t      addClass(cm.display.wrapper, cm.display.scrollbars.addClass);\n\t  }\n\n\t  function updateScrollbars(cm, measure) {\n\t    if (!measure) measure = measureForScrollbars(cm);\n\t    var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight;\n\t    updateScrollbarsInner(cm, measure);\n\t    for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) {\n\t      if (startWidth != cm.display.barWidth && cm.options.lineWrapping)\n\t        updateHeightsInViewport(cm);\n\t      updateScrollbarsInner(cm, measureForScrollbars(cm));\n\t      startWidth = cm.display.barWidth; startHeight = cm.display.barHeight;\n\t    }\n\t  }\n\n\t  // Re-synchronize the fake scrollbars with the actual size of the\n\t  // content.\n\t  function updateScrollbarsInner(cm, measure) {\n\t    var d = cm.display;\n\t    var sizes = d.scrollbars.update(measure);\n\n\t    d.sizer.style.paddingRight = (d.barWidth = sizes.right) + \"px\";\n\t    d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + \"px\";\n\t    d.heightForcer.style.borderBottom = sizes.bottom + \"px solid transparent\"\n\n\t    if (sizes.right && sizes.bottom) {\n\t      d.scrollbarFiller.style.display = \"block\";\n\t      d.scrollbarFiller.style.height = sizes.bottom + \"px\";\n\t      d.scrollbarFiller.style.width = sizes.right + \"px\";\n\t    } else d.scrollbarFiller.style.display = \"\";\n\t    if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) {\n\t      d.gutterFiller.style.display = \"block\";\n\t      d.gutterFiller.style.height = sizes.bottom + \"px\";\n\t      d.gutterFiller.style.width = measure.gutterWidth + \"px\";\n\t    } else d.gutterFiller.style.display = \"\";\n\t  }\n\n\t  // Compute the lines that are visible in a given viewport (defaults\n\t  // the the current scroll position). viewport may contain top,\n\t  // height, and ensure (see op.scrollToPos) properties.\n\t  function visibleLines(display, doc, viewport) {\n\t    var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop;\n\t    top = Math.floor(top - paddingTop(display));\n\t    var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight;\n\n\t    var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom);\n\t    // Ensure is a {from: {line, ch}, to: {line, ch}} object, and\n\t    // forces those lines into the viewport (if possible).\n\t    if (viewport && viewport.ensure) {\n\t      var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line;\n\t      if (ensureFrom < from) {\n\t        from = ensureFrom;\n\t        to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight);\n\t      } else if (Math.min(ensureTo, doc.lastLine()) >= to) {\n\t        from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight);\n\t        to = ensureTo;\n\t      }\n\t    }\n\t    return {from: from, to: Math.max(to, from + 1)};\n\t  }\n\n\t  // LINE NUMBERS\n\n\t  // Re-align line numbers and gutter marks to compensate for\n\t  // horizontal scrolling.\n\t  function alignHorizontally(cm) {\n\t    var display = cm.display, view = display.view;\n\t    if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) return;\n\t    var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft;\n\t    var gutterW = display.gutters.offsetWidth, left = comp + \"px\";\n\t    for (var i = 0; i < view.length; i++) if (!view[i].hidden) {\n\t      if (cm.options.fixedGutter && view[i].gutter)\n\t        view[i].gutter.style.left = left;\n\t      var align = view[i].alignable;\n\t      if (align) for (var j = 0; j < align.length; j++)\n\t        align[j].style.left = left;\n\t    }\n\t    if (cm.options.fixedGutter)\n\t      display.gutters.style.left = (comp + gutterW) + \"px\";\n\t  }\n\n\t  // Used to ensure that the line number gutter is still the right\n\t  // size for the current document size. Returns true when an update\n\t  // is needed.\n\t  function maybeUpdateLineNumberWidth(cm) {\n\t    if (!cm.options.lineNumbers) return false;\n\t    var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display;\n\t    if (last.length != display.lineNumChars) {\n\t      var test = display.measure.appendChild(elt(\"div\", [elt(\"div\", last)],\n\t                                                 \"CodeMirror-linenumber CodeMirror-gutter-elt\"));\n\t      var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW;\n\t      display.lineGutter.style.width = \"\";\n\t      display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding) + 1;\n\t      display.lineNumWidth = display.lineNumInnerWidth + padding;\n\t      display.lineNumChars = display.lineNumInnerWidth ? last.length : -1;\n\t      display.lineGutter.style.width = display.lineNumWidth + \"px\";\n\t      updateGutterSpace(cm);\n\t      return true;\n\t    }\n\t    return false;\n\t  }\n\n\t  function lineNumberFor(options, i) {\n\t    return String(options.lineNumberFormatter(i + options.firstLineNumber));\n\t  }\n\n\t  // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,\n\t  // but using getBoundingClientRect to get a sub-pixel-accurate\n\t  // result.\n\t  function compensateForHScroll(display) {\n\t    return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left;\n\t  }\n\n\t  // DISPLAY DRAWING\n\n\t  function DisplayUpdate(cm, viewport, force) {\n\t    var display = cm.display;\n\n\t    this.viewport = viewport;\n\t    // Store some values that we'll need later (but don't want to force a relayout for)\n\t    this.visible = visibleLines(display, cm.doc, viewport);\n\t    this.editorIsHidden = !display.wrapper.offsetWidth;\n\t    this.wrapperHeight = display.wrapper.clientHeight;\n\t    this.wrapperWidth = display.wrapper.clientWidth;\n\t    this.oldDisplayWidth = displayWidth(cm);\n\t    this.force = force;\n\t    this.dims = getDimensions(cm);\n\t    this.events = [];\n\t  }\n\n\t  DisplayUpdate.prototype.signal = function(emitter, type) {\n\t    if (hasHandler(emitter, type))\n\t      this.events.push(arguments);\n\t  };\n\t  DisplayUpdate.prototype.finish = function() {\n\t    for (var i = 0; i < this.events.length; i++)\n\t      signal.apply(null, this.events[i]);\n\t  };\n\n\t  function maybeClipScrollbars(cm) {\n\t    var display = cm.display;\n\t    if (!display.scrollbarsClipped && display.scroller.offsetWidth) {\n\t      display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth;\n\t      display.heightForcer.style.height = scrollGap(cm) + \"px\";\n\t      display.sizer.style.marginBottom = -display.nativeBarWidth + \"px\";\n\t      display.sizer.style.borderRightWidth = scrollGap(cm) + \"px\";\n\t      display.scrollbarsClipped = true;\n\t    }\n\t  }\n\n\t  // Does the actual updating of the line display. Bails out\n\t  // (returning false) when there is nothing to be done and forced is\n\t  // false.\n\t  function updateDisplayIfNeeded(cm, update) {\n\t    var display = cm.display, doc = cm.doc;\n\n\t    if (update.editorIsHidden) {\n\t      resetView(cm);\n\t      return false;\n\t    }\n\n\t    // Bail out if the visible area is already rendered and nothing changed.\n\t    if (!update.force &&\n\t        update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&\n\t        (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&\n\t        display.renderedView == display.view && countDirtyView(cm) == 0)\n\t      return false;\n\n\t    if (maybeUpdateLineNumberWidth(cm)) {\n\t      resetView(cm);\n\t      update.dims = getDimensions(cm);\n\t    }\n\n\t    // Compute a suitable new viewport (from & to)\n\t    var end = doc.first + doc.size;\n\t    var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first);\n\t    var to = Math.min(end, update.visible.to + cm.options.viewportMargin);\n\t    if (display.viewFrom < from && from - display.viewFrom < 20) from = Math.max(doc.first, display.viewFrom);\n\t    if (display.viewTo > to && display.viewTo - to < 20) to = Math.min(end, display.viewTo);\n\t    if (sawCollapsedSpans) {\n\t      from = visualLineNo(cm.doc, from);\n\t      to = visualLineEndNo(cm.doc, to);\n\t    }\n\n\t    var different = from != display.viewFrom || to != display.viewTo ||\n\t      display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth;\n\t    adjustView(cm, from, to);\n\n\t    display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom));\n\t    // Position the mover div to align with the current scroll position\n\t    cm.display.mover.style.top = display.viewOffset + \"px\";\n\n\t    var toUpdate = countDirtyView(cm);\n\t    if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view &&\n\t        (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo))\n\t      return false;\n\n\t    // For big changes, we hide the enclosing element during the\n\t    // update, since that speeds up the operations on most browsers.\n\t    var focused = activeElt();\n\t    if (toUpdate > 4) display.lineDiv.style.display = \"none\";\n\t    patchDisplay(cm, display.updateLineNumbers, update.dims);\n\t    if (toUpdate > 4) display.lineDiv.style.display = \"\";\n\t    display.renderedView = display.view;\n\t    // There might have been a widget with a focused element that got\n\t    // hidden or updated, if so re-focus it.\n\t    if (focused && activeElt() != focused && focused.offsetHeight) focused.focus();\n\n\t    // Prevent selection and cursors from interfering with the scroll\n\t    // width and height.\n\t    removeChildren(display.cursorDiv);\n\t    removeChildren(display.selectionDiv);\n\t    display.gutters.style.height = display.sizer.style.minHeight = 0;\n\n\t    if (different) {\n\t      display.lastWrapHeight = update.wrapperHeight;\n\t      display.lastWrapWidth = update.wrapperWidth;\n\t      startWorker(cm, 400);\n\t    }\n\n\t    display.updateLineNumbers = null;\n\n\t    return true;\n\t  }\n\n\t  function postUpdateDisplay(cm, update) {\n\t    var viewport = update.viewport;\n\n\t    for (var first = true;; first = false) {\n\t      if (!first || !cm.options.lineWrapping || update.oldDisplayWidth == displayWidth(cm)) {\n\t        // Clip forced viewport to actual scrollable area.\n\t        if (viewport && viewport.top != null)\n\t          viewport = {top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top)};\n\t        // Updated line heights might result in the drawn area not\n\t        // actually covering the viewport. Keep looping until it does.\n\t        update.visible = visibleLines(cm.display, cm.doc, viewport);\n\t        if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo)\n\t          break;\n\t      }\n\t      if (!updateDisplayIfNeeded(cm, update)) break;\n\t      updateHeightsInViewport(cm);\n\t      var barMeasure = measureForScrollbars(cm);\n\t      updateSelection(cm);\n\t      updateScrollbars(cm, barMeasure);\n\t      setDocumentHeight(cm, barMeasure);\n\t    }\n\n\t    update.signal(cm, \"update\", cm);\n\t    if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) {\n\t      update.signal(cm, \"viewportChange\", cm, cm.display.viewFrom, cm.display.viewTo);\n\t      cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo;\n\t    }\n\t  }\n\n\t  function updateDisplaySimple(cm, viewport) {\n\t    var update = new DisplayUpdate(cm, viewport);\n\t    if (updateDisplayIfNeeded(cm, update)) {\n\t      updateHeightsInViewport(cm);\n\t      postUpdateDisplay(cm, update);\n\t      var barMeasure = measureForScrollbars(cm);\n\t      updateSelection(cm);\n\t      updateScrollbars(cm, barMeasure);\n\t      setDocumentHeight(cm, barMeasure);\n\t      update.finish();\n\t    }\n\t  }\n\n\t  function setDocumentHeight(cm, measure) {\n\t    cm.display.sizer.style.minHeight = measure.docHeight + \"px\";\n\t    cm.display.heightForcer.style.top = measure.docHeight + \"px\";\n\t    cm.display.gutters.style.height = (measure.docHeight + cm.display.barHeight + scrollGap(cm)) + \"px\";\n\t  }\n\n\t  // Read the actual heights of the rendered lines, and update their\n\t  // stored heights to match.\n\t  function updateHeightsInViewport(cm) {\n\t    var display = cm.display;\n\t    var prevBottom = display.lineDiv.offsetTop;\n\t    for (var i = 0; i < display.view.length; i++) {\n\t      var cur = display.view[i], height;\n\t      if (cur.hidden) continue;\n\t      if (ie && ie_version < 8) {\n\t        var bot = cur.node.offsetTop + cur.node.offsetHeight;\n\t        height = bot - prevBottom;\n\t        prevBottom = bot;\n\t      } else {\n\t        var box = cur.node.getBoundingClientRect();\n\t        height = box.bottom - box.top;\n\t      }\n\t      var diff = cur.line.height - height;\n\t      if (height < 2) height = textHeight(display);\n\t      if (diff > .001 || diff < -.001) {\n\t        updateLineHeight(cur.line, height);\n\t        updateWidgetHeight(cur.line);\n\t        if (cur.rest) for (var j = 0; j < cur.rest.length; j++)\n\t          updateWidgetHeight(cur.rest[j]);\n\t      }\n\t    }\n\t  }\n\n\t  // Read and store the height of line widgets associated with the\n\t  // given line.\n\t  function updateWidgetHeight(line) {\n\t    if (line.widgets) for (var i = 0; i < line.widgets.length; ++i)\n\t      line.widgets[i].height = line.widgets[i].node.parentNode.offsetHeight;\n\t  }\n\n\t  // Do a bulk-read of the DOM positions and sizes needed to draw the\n\t  // view, so that we don't interleave reading and writing to the DOM.\n\t  function getDimensions(cm) {\n\t    var d = cm.display, left = {}, width = {};\n\t    var gutterLeft = d.gutters.clientLeft;\n\t    for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) {\n\t      left[cm.options.gutters[i]] = n.offsetLeft + n.clientLeft + gutterLeft;\n\t      width[cm.options.gutters[i]] = n.clientWidth;\n\t    }\n\t    return {fixedPos: compensateForHScroll(d),\n\t            gutterTotalWidth: d.gutters.offsetWidth,\n\t            gutterLeft: left,\n\t            gutterWidth: width,\n\t            wrapperWidth: d.wrapper.clientWidth};\n\t  }\n\n\t  // Sync the actual display DOM structure with display.view, removing\n\t  // nodes for lines that are no longer in view, and creating the ones\n\t  // that are not there yet, and updating the ones that are out of\n\t  // date.\n\t  function patchDisplay(cm, updateNumbersFrom, dims) {\n\t    var display = cm.display, lineNumbers = cm.options.lineNumbers;\n\t    var container = display.lineDiv, cur = container.firstChild;\n\n\t    function rm(node) {\n\t      var next = node.nextSibling;\n\t      // Works around a throw-scroll bug in OS X Webkit\n\t      if (webkit && mac && cm.display.currentWheelTarget == node)\n\t        node.style.display = \"none\";\n\t      else\n\t        node.parentNode.removeChild(node);\n\t      return next;\n\t    }\n\n\t    var view = display.view, lineN = display.viewFrom;\n\t    // Loop over the elements in the view, syncing cur (the DOM nodes\n\t    // in display.lineDiv) with the view as we go.\n\t    for (var i = 0; i < view.length; i++) {\n\t      var lineView = view[i];\n\t      if (lineView.hidden) {\n\t      } else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet\n\t        var node = buildLineElement(cm, lineView, lineN, dims);\n\t        container.insertBefore(node, cur);\n\t      } else { // Already drawn\n\t        while (cur != lineView.node) cur = rm(cur);\n\t        var updateNumber = lineNumbers && updateNumbersFrom != null &&\n\t          updateNumbersFrom <= lineN && lineView.lineNumber;\n\t        if (lineView.changes) {\n\t          if (indexOf(lineView.changes, \"gutter\") > -1) updateNumber = false;\n\t          updateLineForChanges(cm, lineView, lineN, dims);\n\t        }\n\t        if (updateNumber) {\n\t          removeChildren(lineView.lineNumber);\n\t          lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN)));\n\t        }\n\t        cur = lineView.node.nextSibling;\n\t      }\n\t      lineN += lineView.size;\n\t    }\n\t    while (cur) cur = rm(cur);\n\t  }\n\n\t  // When an aspect of a line changes, a string is added to\n\t  // lineView.changes. This updates the relevant part of the line's\n\t  // DOM structure.\n\t  function updateLineForChanges(cm, lineView, lineN, dims) {\n\t    for (var j = 0; j < lineView.changes.length; j++) {\n\t      var type = lineView.changes[j];\n\t      if (type == \"text\") updateLineText(cm, lineView);\n\t      else if (type == \"gutter\") updateLineGutter(cm, lineView, lineN, dims);\n\t      else if (type == \"class\") updateLineClasses(lineView);\n\t      else if (type == \"widget\") updateLineWidgets(cm, lineView, dims);\n\t    }\n\t    lineView.changes = null;\n\t  }\n\n\t  // Lines with gutter elements, widgets or a background class need to\n\t  // be wrapped, and have the extra elements added to the wrapper div\n\t  function ensureLineWrapped(lineView) {\n\t    if (lineView.node == lineView.text) {\n\t      lineView.node = elt(\"div\", null, null, \"position: relative\");\n\t      if (lineView.text.parentNode)\n\t        lineView.text.parentNode.replaceChild(lineView.node, lineView.text);\n\t      lineView.node.appendChild(lineView.text);\n\t      if (ie && ie_version < 8) lineView.node.style.zIndex = 2;\n\t    }\n\t    return lineView.node;\n\t  }\n\n\t  function updateLineBackground(lineView) {\n\t    var cls = lineView.bgClass ? lineView.bgClass + \" \" + (lineView.line.bgClass || \"\") : lineView.line.bgClass;\n\t    if (cls) cls += \" CodeMirror-linebackground\";\n\t    if (lineView.background) {\n\t      if (cls) lineView.background.className = cls;\n\t      else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; }\n\t    } else if (cls) {\n\t      var wrap = ensureLineWrapped(lineView);\n\t      lineView.background = wrap.insertBefore(elt(\"div\", null, cls), wrap.firstChild);\n\t    }\n\t  }\n\n\t  // Wrapper around buildLineContent which will reuse the structure\n\t  // in display.externalMeasured when possible.\n\t  function getLineContent(cm, lineView) {\n\t    var ext = cm.display.externalMeasured;\n\t    if (ext && ext.line == lineView.line) {\n\t      cm.display.externalMeasured = null;\n\t      lineView.measure = ext.measure;\n\t      return ext.built;\n\t    }\n\t    return buildLineContent(cm, lineView);\n\t  }\n\n\t  // Redraw the line's text. Interacts with the background and text\n\t  // classes because the mode may output tokens that influence these\n\t  // classes.\n\t  function updateLineText(cm, lineView) {\n\t    var cls = lineView.text.className;\n\t    var built = getLineContent(cm, lineView);\n\t    if (lineView.text == lineView.node) lineView.node = built.pre;\n\t    lineView.text.parentNode.replaceChild(built.pre, lineView.text);\n\t    lineView.text = built.pre;\n\t    if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) {\n\t      lineView.bgClass = built.bgClass;\n\t      lineView.textClass = built.textClass;\n\t      updateLineClasses(lineView);\n\t    } else if (cls) {\n\t      lineView.text.className = cls;\n\t    }\n\t  }\n\n\t  function updateLineClasses(lineView) {\n\t    updateLineBackground(lineView);\n\t    if (lineView.line.wrapClass)\n\t      ensureLineWrapped(lineView).className = lineView.line.wrapClass;\n\t    else if (lineView.node != lineView.text)\n\t      lineView.node.className = \"\";\n\t    var textClass = lineView.textClass ? lineView.textClass + \" \" + (lineView.line.textClass || \"\") : lineView.line.textClass;\n\t    lineView.text.className = textClass || \"\";\n\t  }\n\n\t  function updateLineGutter(cm, lineView, lineN, dims) {\n\t    if (lineView.gutter) {\n\t      lineView.node.removeChild(lineView.gutter);\n\t      lineView.gutter = null;\n\t    }\n\t    if (lineView.gutterBackground) {\n\t      lineView.node.removeChild(lineView.gutterBackground);\n\t      lineView.gutterBackground = null;\n\t    }\n\t    if (lineView.line.gutterClass) {\n\t      var wrap = ensureLineWrapped(lineView);\n\t      lineView.gutterBackground = elt(\"div\", null, \"CodeMirror-gutter-background \" + lineView.line.gutterClass,\n\t                                      \"left: \" + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) +\n\t                                      \"px; width: \" + dims.gutterTotalWidth + \"px\");\n\t      wrap.insertBefore(lineView.gutterBackground, lineView.text);\n\t    }\n\t    var markers = lineView.line.gutterMarkers;\n\t    if (cm.options.lineNumbers || markers) {\n\t      var wrap = ensureLineWrapped(lineView);\n\t      var gutterWrap = lineView.gutter = elt(\"div\", null, \"CodeMirror-gutter-wrapper\", \"left: \" +\n\t                                             (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + \"px\");\n\t      cm.display.input.setUneditable(gutterWrap);\n\t      wrap.insertBefore(gutterWrap, lineView.text);\n\t      if (lineView.line.gutterClass)\n\t        gutterWrap.className += \" \" + lineView.line.gutterClass;\n\t      if (cm.options.lineNumbers && (!markers || !markers[\"CodeMirror-linenumbers\"]))\n\t        lineView.lineNumber = gutterWrap.appendChild(\n\t          elt(\"div\", lineNumberFor(cm.options, lineN),\n\t              \"CodeMirror-linenumber CodeMirror-gutter-elt\",\n\t              \"left: \" + dims.gutterLeft[\"CodeMirror-linenumbers\"] + \"px; width: \"\n\t              + cm.display.lineNumInnerWidth + \"px\"));\n\t      if (markers) for (var k = 0; k < cm.options.gutters.length; ++k) {\n\t        var id = cm.options.gutters[k], found = markers.hasOwnProperty(id) && markers[id];\n\t        if (found)\n\t          gutterWrap.appendChild(elt(\"div\", [found], \"CodeMirror-gutter-elt\", \"left: \" +\n\t                                     dims.gutterLeft[id] + \"px; width: \" + dims.gutterWidth[id] + \"px\"));\n\t      }\n\t    }\n\t  }\n\n\t  function updateLineWidgets(cm, lineView, dims) {\n\t    if (lineView.alignable) lineView.alignable = null;\n\t    for (var node = lineView.node.firstChild, next; node; node = next) {\n\t      var next = node.nextSibling;\n\t      if (node.className == \"CodeMirror-linewidget\")\n\t        lineView.node.removeChild(node);\n\t    }\n\t    insertLineWidgets(cm, lineView, dims);\n\t  }\n\n\t  // Build a line's DOM representation from scratch\n\t  function buildLineElement(cm, lineView, lineN, dims) {\n\t    var built = getLineContent(cm, lineView);\n\t    lineView.text = lineView.node = built.pre;\n\t    if (built.bgClass) lineView.bgClass = built.bgClass;\n\t    if (built.textClass) lineView.textClass = built.textClass;\n\n\t    updateLineClasses(lineView);\n\t    updateLineGutter(cm, lineView, lineN, dims);\n\t    insertLineWidgets(cm, lineView, dims);\n\t    return lineView.node;\n\t  }\n\n\t  // A lineView may contain multiple logical lines (when merged by\n\t  // collapsed spans). The widgets for all of them need to be drawn.\n\t  function insertLineWidgets(cm, lineView, dims) {\n\t    insertLineWidgetsFor(cm, lineView.line, lineView, dims, true);\n\t    if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)\n\t      insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false);\n\t  }\n\n\t  function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) {\n\t    if (!line.widgets) return;\n\t    var wrap = ensureLineWrapped(lineView);\n\t    for (var i = 0, ws = line.widgets; i < ws.length; ++i) {\n\t      var widget = ws[i], node = elt(\"div\", [widget.node], \"CodeMirror-linewidget\");\n\t      if (!widget.handleMouseEvents) node.setAttribute(\"cm-ignore-events\", \"true\");\n\t      positionLineWidget(widget, node, lineView, dims);\n\t      cm.display.input.setUneditable(node);\n\t      if (allowAbove && widget.above)\n\t        wrap.insertBefore(node, lineView.gutter || lineView.text);\n\t      else\n\t        wrap.appendChild(node);\n\t      signalLater(widget, \"redraw\");\n\t    }\n\t  }\n\n\t  function positionLineWidget(widget, node, lineView, dims) {\n\t    if (widget.noHScroll) {\n\t      (lineView.alignable || (lineView.alignable = [])).push(node);\n\t      var width = dims.wrapperWidth;\n\t      node.style.left = dims.fixedPos + \"px\";\n\t      if (!widget.coverGutter) {\n\t        width -= dims.gutterTotalWidth;\n\t        node.style.paddingLeft = dims.gutterTotalWidth + \"px\";\n\t      }\n\t      node.style.width = width + \"px\";\n\t    }\n\t    if (widget.coverGutter) {\n\t      node.style.zIndex = 5;\n\t      node.style.position = \"relative\";\n\t      if (!widget.noHScroll) node.style.marginLeft = -dims.gutterTotalWidth + \"px\";\n\t    }\n\t  }\n\n\t  // POSITION OBJECT\n\n\t  // A Pos instance represents a position within the text.\n\t  var Pos = CodeMirror.Pos = function(line, ch) {\n\t    if (!(this instanceof Pos)) return new Pos(line, ch);\n\t    this.line = line; this.ch = ch;\n\t  };\n\n\t  // Compare two positions, return 0 if they are the same, a negative\n\t  // number when a is less, and a positive number otherwise.\n\t  var cmp = CodeMirror.cmpPos = function(a, b) { return a.line - b.line || a.ch - b.ch; };\n\n\t  function copyPos(x) {return Pos(x.line, x.ch);}\n\t  function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; }\n\t  function minPos(a, b) { return cmp(a, b) < 0 ? a : b; }\n\n\t  // INPUT HANDLING\n\n\t  function ensureFocus(cm) {\n\t    if (!cm.state.focused) { cm.display.input.focus(); onFocus(cm); }\n\t  }\n\n\t  // This will be set to an array of strings when copying, so that,\n\t  // when pasting, we know what kind of selections the copied text\n\t  // was made out of.\n\t  var lastCopied = null;\n\n\t  function applyTextInput(cm, inserted, deleted, sel, origin) {\n\t    var doc = cm.doc;\n\t    cm.display.shift = false;\n\t    if (!sel) sel = doc.sel;\n\n\t    var paste = cm.state.pasteIncoming || origin == \"paste\";\n\t    var textLines = doc.splitLines(inserted), multiPaste = null;\n\t    // When pasing N lines into N selections, insert one line per selection\n\t    if (paste && sel.ranges.length > 1) {\n\t      if (lastCopied && lastCopied.join(\"\\n\") == inserted) {\n\t        if (sel.ranges.length % lastCopied.length == 0) {\n\t          multiPaste = [];\n\t          for (var i = 0; i < lastCopied.length; i++)\n\t            multiPaste.push(doc.splitLines(lastCopied[i]));\n\t        }\n\t      } else if (textLines.length == sel.ranges.length) {\n\t        multiPaste = map(textLines, function(l) { return [l]; });\n\t      }\n\t    }\n\n\t    // Normal behavior is to insert the new text into every selection\n\t    for (var i = sel.ranges.length - 1; i >= 0; i--) {\n\t      var range = sel.ranges[i];\n\t      var from = range.from(), to = range.to();\n\t      if (range.empty()) {\n\t        if (deleted && deleted > 0) // Handle deletion\n\t          from = Pos(from.line, from.ch - deleted);\n\t        else if (cm.state.overwrite && !paste) // Handle overwrite\n\t          to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length));\n\t      }\n\t      var updateInput = cm.curOp.updateInput;\n\t      var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines,\n\t                         origin: origin || (paste ? \"paste\" : cm.state.cutIncoming ? \"cut\" : \"+input\")};\n\t      makeChange(cm.doc, changeEvent);\n\t      signalLater(cm, \"inputRead\", cm, changeEvent);\n\t    }\n\t    if (inserted && !paste)\n\t      triggerElectric(cm, inserted);\n\n\t    ensureCursorVisible(cm);\n\t    cm.curOp.updateInput = updateInput;\n\t    cm.curOp.typing = true;\n\t    cm.state.pasteIncoming = cm.state.cutIncoming = false;\n\t  }\n\n\t  function handlePaste(e, cm) {\n\t    var pasted = e.clipboardData && e.clipboardData.getData(\"text/plain\");\n\t    if (pasted) {\n\t      e.preventDefault();\n\t      if (!cm.isReadOnly() && !cm.options.disableInput)\n\t        runInOp(cm, function() { applyTextInput(cm, pasted, 0, null, \"paste\"); });\n\t      return true;\n\t    }\n\t  }\n\n\t  function triggerElectric(cm, inserted) {\n\t    // When an 'electric' character is inserted, immediately trigger a reindent\n\t    if (!cm.options.electricChars || !cm.options.smartIndent) return;\n\t    var sel = cm.doc.sel;\n\n\t    for (var i = sel.ranges.length - 1; i >= 0; i--) {\n\t      var range = sel.ranges[i];\n\t      if (range.head.ch > 100 || (i && sel.ranges[i - 1].head.line == range.head.line)) continue;\n\t      var mode = cm.getModeAt(range.head);\n\t      var indented = false;\n\t      if (mode.electricChars) {\n\t        for (var j = 0; j < mode.electricChars.length; j++)\n\t          if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) {\n\t            indented = indentLine(cm, range.head.line, \"smart\");\n\t            break;\n\t          }\n\t      } else if (mode.electricInput) {\n\t        if (mode.electricInput.test(getLine(cm.doc, range.head.line).text.slice(0, range.head.ch)))\n\t          indented = indentLine(cm, range.head.line, \"smart\");\n\t      }\n\t      if (indented) signalLater(cm, \"electricInput\", cm, range.head.line);\n\t    }\n\t  }\n\n\t  function copyableRanges(cm) {\n\t    var text = [], ranges = [];\n\t    for (var i = 0; i < cm.doc.sel.ranges.length; i++) {\n\t      var line = cm.doc.sel.ranges[i].head.line;\n\t      var lineRange = {anchor: Pos(line, 0), head: Pos(line + 1, 0)};\n\t      ranges.push(lineRange);\n\t      text.push(cm.getRange(lineRange.anchor, lineRange.head));\n\t    }\n\t    return {text: text, ranges: ranges};\n\t  }\n\n\t  function disableBrowserMagic(field) {\n\t    field.setAttribute(\"autocorrect\", \"off\");\n\t    field.setAttribute(\"autocapitalize\", \"off\");\n\t    field.setAttribute(\"spellcheck\", \"false\");\n\t  }\n\n\t  // TEXTAREA INPUT STYLE\n\n\t  function TextareaInput(cm) {\n\t    this.cm = cm;\n\t    // See input.poll and input.reset\n\t    this.prevInput = \"\";\n\n\t    // Flag that indicates whether we expect input to appear real soon\n\t    // now (after some event like 'keypress' or 'input') and are\n\t    // polling intensively.\n\t    this.pollingFast = false;\n\t    // Self-resetting timeout for the poller\n\t    this.polling = new Delayed();\n\t    // Tracks when input.reset has punted to just putting a short\n\t    // string into the textarea instead of the full selection.\n\t    this.inaccurateSelection = false;\n\t    // Used to work around IE issue with selection being forgotten when focus moves away from textarea\n\t    this.hasSelection = false;\n\t    this.composing = null;\n\t  };\n\n\t  function hiddenTextarea() {\n\t    var te = elt(\"textarea\", null, null, \"position: absolute; padding: 0; width: 1px; height: 1em; outline: none\");\n\t    var div = elt(\"div\", [te], null, \"overflow: hidden; position: relative; width: 3px; height: 0px;\");\n\t    // The textarea is kept positioned near the cursor to prevent the\n\t    // fact that it'll be scrolled into view on input from scrolling\n\t    // our fake cursor out of view. On webkit, when wrap=off, paste is\n\t    // very slow. So make the area wide instead.\n\t    if (webkit) te.style.width = \"1000px\";\n\t    else te.setAttribute(\"wrap\", \"off\");\n\t    // If border: 0; -- iOS fails to open keyboard (issue #1287)\n\t    if (ios) te.style.border = \"1px solid black\";\n\t    disableBrowserMagic(te);\n\t    return div;\n\t  }\n\n\t  TextareaInput.prototype = copyObj({\n\t    init: function(display) {\n\t      var input = this, cm = this.cm;\n\n\t      // Wraps and hides input textarea\n\t      var div = this.wrapper = hiddenTextarea();\n\t      // The semihidden textarea that is focused when the editor is\n\t      // focused, and receives input.\n\t      var te = this.textarea = div.firstChild;\n\t      display.wrapper.insertBefore(div, display.wrapper.firstChild);\n\n\t      // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore)\n\t      if (ios) te.style.width = \"0px\";\n\n\t      on(te, \"input\", function() {\n\t        if (ie && ie_version >= 9 && input.hasSelection) input.hasSelection = null;\n\t        input.poll();\n\t      });\n\n\t      on(te, \"paste\", function(e) {\n\t        if (signalDOMEvent(cm, e) || handlePaste(e, cm)) return\n\n\t        cm.state.pasteIncoming = true;\n\t        input.fastPoll();\n\t      });\n\n\t      function prepareCopyCut(e) {\n\t        if (signalDOMEvent(cm, e)) return\n\t        if (cm.somethingSelected()) {\n\t          lastCopied = cm.getSelections();\n\t          if (input.inaccurateSelection) {\n\t            input.prevInput = \"\";\n\t            input.inaccurateSelection = false;\n\t            te.value = lastCopied.join(\"\\n\");\n\t            selectInput(te);\n\t          }\n\t        } else if (!cm.options.lineWiseCopyCut) {\n\t          return;\n\t        } else {\n\t          var ranges = copyableRanges(cm);\n\t          lastCopied = ranges.text;\n\t          if (e.type == \"cut\") {\n\t            cm.setSelections(ranges.ranges, null, sel_dontScroll);\n\t          } else {\n\t            input.prevInput = \"\";\n\t            te.value = ranges.text.join(\"\\n\");\n\t            selectInput(te);\n\t          }\n\t        }\n\t        if (e.type == \"cut\") cm.state.cutIncoming = true;\n\t      }\n\t      on(te, \"cut\", prepareCopyCut);\n\t      on(te, \"copy\", prepareCopyCut);\n\n\t      on(display.scroller, \"paste\", function(e) {\n\t        if (eventInWidget(display, e) || signalDOMEvent(cm, e)) return;\n\t        cm.state.pasteIncoming = true;\n\t        input.focus();\n\t      });\n\n\t      // Prevent normal selection in the editor (we handle our own)\n\t      on(display.lineSpace, \"selectstart\", function(e) {\n\t        if (!eventInWidget(display, e)) e_preventDefault(e);\n\t      });\n\n\t      on(te, \"compositionstart\", function() {\n\t        var start = cm.getCursor(\"from\");\n\t        if (input.composing) input.composing.range.clear()\n\t        input.composing = {\n\t          start: start,\n\t          range: cm.markText(start, cm.getCursor(\"to\"), {className: \"CodeMirror-composing\"})\n\t        };\n\t      });\n\t      on(te, \"compositionend\", function() {\n\t        if (input.composing) {\n\t          input.poll();\n\t          input.composing.range.clear();\n\t          input.composing = null;\n\t        }\n\t      });\n\t    },\n\n\t    prepareSelection: function() {\n\t      // Redraw the selection and/or cursor\n\t      var cm = this.cm, display = cm.display, doc = cm.doc;\n\t      var result = prepareSelection(cm);\n\n\t      // Move the hidden textarea near the cursor to prevent scrolling artifacts\n\t      if (cm.options.moveInputWithCursor) {\n\t        var headPos = cursorCoords(cm, doc.sel.primary().head, \"div\");\n\t        var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect();\n\t        result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10,\n\t                                            headPos.top + lineOff.top - wrapOff.top));\n\t        result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10,\n\t                                             headPos.left + lineOff.left - wrapOff.left));\n\t      }\n\n\t      return result;\n\t    },\n\n\t    showSelection: function(drawn) {\n\t      var cm = this.cm, display = cm.display;\n\t      removeChildrenAndAdd(display.cursorDiv, drawn.cursors);\n\t      removeChildrenAndAdd(display.selectionDiv, drawn.selection);\n\t      if (drawn.teTop != null) {\n\t        this.wrapper.style.top = drawn.teTop + \"px\";\n\t        this.wrapper.style.left = drawn.teLeft + \"px\";\n\t      }\n\t    },\n\n\t    // Reset the input to correspond to the selection (or to be empty,\n\t    // when not typing and nothing is selected)\n\t    reset: function(typing) {\n\t      if (this.contextMenuPending) return;\n\t      var minimal, selected, cm = this.cm, doc = cm.doc;\n\t      if (cm.somethingSelected()) {\n\t        this.prevInput = \"\";\n\t        var range = doc.sel.primary();\n\t        minimal = hasCopyEvent &&\n\t          (range.to().line - range.from().line > 100 || (selected = cm.getSelection()).length > 1000);\n\t        var content = minimal ? \"-\" : selected || cm.getSelection();\n\t        this.textarea.value = content;\n\t        if (cm.state.focused) selectInput(this.textarea);\n\t        if (ie && ie_version >= 9) this.hasSelection = content;\n\t      } else if (!typing) {\n\t        this.prevInput = this.textarea.value = \"\";\n\t        if (ie && ie_version >= 9) this.hasSelection = null;\n\t      }\n\t      this.inaccurateSelection = minimal;\n\t    },\n\n\t    getField: function() { return this.textarea; },\n\n\t    supportsTouch: function() { return false; },\n\n\t    focus: function() {\n\t      if (this.cm.options.readOnly != \"nocursor\" && (!mobile || activeElt() != this.textarea)) {\n\t        try { this.textarea.focus(); }\n\t        catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM\n\t      }\n\t    },\n\n\t    blur: function() { this.textarea.blur(); },\n\n\t    resetPosition: function() {\n\t      this.wrapper.style.top = this.wrapper.style.left = 0;\n\t    },\n\n\t    receivedFocus: function() { this.slowPoll(); },\n\n\t    // Poll for input changes, using the normal rate of polling. This\n\t    // runs as long as the editor is focused.\n\t    slowPoll: function() {\n\t      var input = this;\n\t      if (input.pollingFast) return;\n\t      input.polling.set(this.cm.options.pollInterval, function() {\n\t        input.poll();\n\t        if (input.cm.state.focused) input.slowPoll();\n\t      });\n\t    },\n\n\t    // When an event has just come in that is likely to add or change\n\t    // something in the input textarea, we poll faster, to ensure that\n\t    // the change appears on the screen quickly.\n\t    fastPoll: function() {\n\t      var missed = false, input = this;\n\t      input.pollingFast = true;\n\t      function p() {\n\t        var changed = input.poll();\n\t        if (!changed && !missed) {missed = true; input.polling.set(60, p);}\n\t        else {input.pollingFast = false; input.slowPoll();}\n\t      }\n\t      input.polling.set(20, p);\n\t    },\n\n\t    // Read input from the textarea, and update the document to match.\n\t    // When something is selected, it is present in the textarea, and\n\t    // selected (unless it is huge, in which case a placeholder is\n\t    // used). When nothing is selected, the cursor sits after previously\n\t    // seen text (can be empty), which is stored in prevInput (we must\n\t    // not reset the textarea when typing, because that breaks IME).\n\t    poll: function() {\n\t      var cm = this.cm, input = this.textarea, prevInput = this.prevInput;\n\t      // Since this is called a *lot*, try to bail out as cheaply as\n\t      // possible when it is clear that nothing happened. hasSelection\n\t      // will be the case when there is a lot of text in the textarea,\n\t      // in which case reading its value would be expensive.\n\t      if (this.contextMenuPending || !cm.state.focused ||\n\t          (hasSelection(input) && !prevInput && !this.composing) ||\n\t          cm.isReadOnly() || cm.options.disableInput || cm.state.keySeq)\n\t        return false;\n\n\t      var text = input.value;\n\t      // If nothing changed, bail.\n\t      if (text == prevInput && !cm.somethingSelected()) return false;\n\t      // Work around nonsensical selection resetting in IE9/10, and\n\t      // inexplicable appearance of private area unicode characters on\n\t      // some key combos in Mac (#2689).\n\t      if (ie && ie_version >= 9 && this.hasSelection === text ||\n\t          mac && /[\\uf700-\\uf7ff]/.test(text)) {\n\t        cm.display.input.reset();\n\t        return false;\n\t      }\n\n\t      if (cm.doc.sel == cm.display.selForContextMenu) {\n\t        var first = text.charCodeAt(0);\n\t        if (first == 0x200b && !prevInput) prevInput = \"\\u200b\";\n\t        if (first == 0x21da) { this.reset(); return this.cm.execCommand(\"undo\"); }\n\t      }\n\t      // Find the part of the input that is actually new\n\t      var same = 0, l = Math.min(prevInput.length, text.length);\n\t      while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) ++same;\n\n\t      var self = this;\n\t      runInOp(cm, function() {\n\t        applyTextInput(cm, text.slice(same), prevInput.length - same,\n\t                       null, self.composing ? \"*compose\" : null);\n\n\t        // Don't leave long text in the textarea, since it makes further polling slow\n\t        if (text.length > 1000 || text.indexOf(\"\\n\") > -1) input.value = self.prevInput = \"\";\n\t        else self.prevInput = text;\n\n\t        if (self.composing) {\n\t          self.composing.range.clear();\n\t          self.composing.range = cm.markText(self.composing.start, cm.getCursor(\"to\"),\n\t                                             {className: \"CodeMirror-composing\"});\n\t        }\n\t      });\n\t      return true;\n\t    },\n\n\t    ensurePolled: function() {\n\t      if (this.pollingFast && this.poll()) this.pollingFast = false;\n\t    },\n\n\t    onKeyPress: function() {\n\t      if (ie && ie_version >= 9) this.hasSelection = null;\n\t      this.fastPoll();\n\t    },\n\n\t    onContextMenu: function(e) {\n\t      var input = this, cm = input.cm, display = cm.display, te = input.textarea;\n\t      var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;\n\t      if (!pos || presto) return; // Opera is difficult.\n\n\t      // Reset the current text selection only if the click is done outside of the selection\n\t      // and 'resetSelectionOnContextMenu' option is true.\n\t      var reset = cm.options.resetSelectionOnContextMenu;\n\t      if (reset && cm.doc.sel.contains(pos) == -1)\n\t        operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll);\n\n\t      var oldCSS = te.style.cssText, oldWrapperCSS = input.wrapper.style.cssText;\n\t      input.wrapper.style.cssText = \"position: absolute\"\n\t      var wrapperBox = input.wrapper.getBoundingClientRect()\n\t      te.style.cssText = \"position: absolute; width: 30px; height: 30px; top: \" + (e.clientY - wrapperBox.top - 5) +\n\t        \"px; left: \" + (e.clientX - wrapperBox.left - 5) + \"px; z-index: 1000; background: \" +\n\t        (ie ? \"rgba(255, 255, 255, .05)\" : \"transparent\") +\n\t        \"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\";\n\t      if (webkit) var oldScrollY = window.scrollY; // Work around Chrome issue (#2712)\n\t      display.input.focus();\n\t      if (webkit) window.scrollTo(null, oldScrollY);\n\t      display.input.reset();\n\t      // Adds \"Select all\" to context menu in FF\n\t      if (!cm.somethingSelected()) te.value = input.prevInput = \" \";\n\t      input.contextMenuPending = true;\n\t      display.selForContextMenu = cm.doc.sel;\n\t      clearTimeout(display.detectingSelectAll);\n\n\t      // Select-all will be greyed out if there's nothing to select, so\n\t      // this adds a zero-width space so that we can later check whether\n\t      // it got selected.\n\t      function prepareSelectAllHack() {\n\t        if (te.selectionStart != null) {\n\t          var selected = cm.somethingSelected();\n\t          var extval = \"\\u200b\" + (selected ? te.value : \"\");\n\t          te.value = \"\\u21da\"; // Used to catch context-menu undo\n\t          te.value = extval;\n\t          input.prevInput = selected ? \"\" : \"\\u200b\";\n\t          te.selectionStart = 1; te.selectionEnd = extval.length;\n\t          // Re-set this, in case some other handler touched the\n\t          // selection in the meantime.\n\t          display.selForContextMenu = cm.doc.sel;\n\t        }\n\t      }\n\t      function rehide() {\n\t        input.contextMenuPending = false;\n\t        input.wrapper.style.cssText = oldWrapperCSS\n\t        te.style.cssText = oldCSS;\n\t        if (ie && ie_version < 9) display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos);\n\n\t        // Try to detect the user choosing select-all\n\t        if (te.selectionStart != null) {\n\t          if (!ie || (ie && ie_version < 9)) prepareSelectAllHack();\n\t          var i = 0, poll = function() {\n\t            if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0 &&\n\t                te.selectionEnd > 0 && input.prevInput == \"\\u200b\")\n\t              operation(cm, commands.selectAll)(cm);\n\t            else if (i++ < 10) display.detectingSelectAll = setTimeout(poll, 500);\n\t            else display.input.reset();\n\t          };\n\t          display.detectingSelectAll = setTimeout(poll, 200);\n\t        }\n\t      }\n\n\t      if (ie && ie_version >= 9) prepareSelectAllHack();\n\t      if (captureRightClick) {\n\t        e_stop(e);\n\t        var mouseup = function() {\n\t          off(window, \"mouseup\", mouseup);\n\t          setTimeout(rehide, 20);\n\t        };\n\t        on(window, \"mouseup\", mouseup);\n\t      } else {\n\t        setTimeout(rehide, 50);\n\t      }\n\t    },\n\n\t    readOnlyChanged: function(val) {\n\t      if (!val) this.reset();\n\t    },\n\n\t    setUneditable: nothing,\n\n\t    needsContentAttribute: false\n\t  }, TextareaInput.prototype);\n\n\t  // CONTENTEDITABLE INPUT STYLE\n\n\t  function ContentEditableInput(cm) {\n\t    this.cm = cm;\n\t    this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null;\n\t    this.polling = new Delayed();\n\t    this.gracePeriod = false;\n\t  }\n\n\t  ContentEditableInput.prototype = copyObj({\n\t    init: function(display) {\n\t      var input = this, cm = input.cm;\n\t      var div = input.div = display.lineDiv;\n\t      disableBrowserMagic(div);\n\n\t      on(div, \"paste\", function(e) {\n\t        if (!signalDOMEvent(cm, e)) handlePaste(e, cm);\n\t      })\n\n\t      on(div, \"compositionstart\", function(e) {\n\t        var data = e.data;\n\t        input.composing = {sel: cm.doc.sel, data: data, startData: data};\n\t        if (!data) return;\n\t        var prim = cm.doc.sel.primary();\n\t        var line = cm.getLine(prim.head.line);\n\t        var found = line.indexOf(data, Math.max(0, prim.head.ch - data.length));\n\t        if (found > -1 && found <= prim.head.ch)\n\t          input.composing.sel = simpleSelection(Pos(prim.head.line, found),\n\t                                                Pos(prim.head.line, found + data.length));\n\t      });\n\t      on(div, \"compositionupdate\", function(e) {\n\t        input.composing.data = e.data;\n\t      });\n\t      on(div, \"compositionend\", function(e) {\n\t        var ours = input.composing;\n\t        if (!ours) return;\n\t        if (e.data != ours.startData && !/\\u200b/.test(e.data))\n\t          ours.data = e.data;\n\t        // Need a small delay to prevent other code (input event,\n\t        // selection polling) from doing damage when fired right after\n\t        // compositionend.\n\t        setTimeout(function() {\n\t          if (!ours.handled)\n\t            input.applyComposition(ours);\n\t          if (input.composing == ours)\n\t            input.composing = null;\n\t        }, 50);\n\t      });\n\n\t      on(div, \"touchstart\", function() {\n\t        input.forceCompositionEnd();\n\t      });\n\n\t      on(div, \"input\", function() {\n\t        if (input.composing) return;\n\t        if (cm.isReadOnly() || !input.pollContent())\n\t          runInOp(input.cm, function() {regChange(cm);});\n\t      });\n\n\t      function onCopyCut(e) {\n\t        if (signalDOMEvent(cm, e)) return\n\t        if (cm.somethingSelected()) {\n\t          lastCopied = cm.getSelections();\n\t          if (e.type == \"cut\") cm.replaceSelection(\"\", null, \"cut\");\n\t        } else if (!cm.options.lineWiseCopyCut) {\n\t          return;\n\t        } else {\n\t          var ranges = copyableRanges(cm);\n\t          lastCopied = ranges.text;\n\t          if (e.type == \"cut\") {\n\t            cm.operation(function() {\n\t              cm.setSelections(ranges.ranges, 0, sel_dontScroll);\n\t              cm.replaceSelection(\"\", null, \"cut\");\n\t            });\n\t          }\n\t        }\n\t        // iOS exposes the clipboard API, but seems to discard content inserted into it\n\t        if (e.clipboardData && !ios) {\n\t          e.preventDefault();\n\t          e.clipboardData.clearData();\n\t          e.clipboardData.setData(\"text/plain\", lastCopied.join(\"\\n\"));\n\t        } else {\n\t          // Old-fashioned briefly-focus-a-textarea hack\n\t          var kludge = hiddenTextarea(), te = kludge.firstChild;\n\t          cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild);\n\t          te.value = lastCopied.join(\"\\n\");\n\t          var hadFocus = document.activeElement;\n\t          selectInput(te);\n\t          setTimeout(function() {\n\t            cm.display.lineSpace.removeChild(kludge);\n\t            hadFocus.focus();\n\t          }, 50);\n\t        }\n\t      }\n\t      on(div, \"copy\", onCopyCut);\n\t      on(div, \"cut\", onCopyCut);\n\t    },\n\n\t    prepareSelection: function() {\n\t      var result = prepareSelection(this.cm, false);\n\t      result.focus = this.cm.state.focused;\n\t      return result;\n\t    },\n\n\t    showSelection: function(info) {\n\t      if (!info || !this.cm.display.view.length) return;\n\t      if (info.focus) this.showPrimarySelection();\n\t      this.showMultipleSelections(info);\n\t    },\n\n\t    showPrimarySelection: function() {\n\t      var sel = window.getSelection(), prim = this.cm.doc.sel.primary();\n\t      var curAnchor = domToPos(this.cm, sel.anchorNode, sel.anchorOffset);\n\t      var curFocus = domToPos(this.cm, sel.focusNode, sel.focusOffset);\n\t      if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad &&\n\t          cmp(minPos(curAnchor, curFocus), prim.from()) == 0 &&\n\t          cmp(maxPos(curAnchor, curFocus), prim.to()) == 0)\n\t        return;\n\n\t      var start = posToDOM(this.cm, prim.from());\n\t      var end = posToDOM(this.cm, prim.to());\n\t      if (!start && !end) return;\n\n\t      var view = this.cm.display.view;\n\t      var old = sel.rangeCount && sel.getRangeAt(0);\n\t      if (!start) {\n\t        start = {node: view[0].measure.map[2], offset: 0};\n\t      } else if (!end) { // FIXME dangerously hacky\n\t        var measure = view[view.length - 1].measure;\n\t        var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map;\n\t        end = {node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3]};\n\t      }\n\n\t      try { var rng = range(start.node, start.offset, end.offset, end.node); }\n\t      catch(e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible\n\t      if (rng) {\n\t        if (!gecko && this.cm.state.focused) {\n\t          sel.collapse(start.node, start.offset);\n\t          if (!rng.collapsed) sel.addRange(rng);\n\t        } else {\n\t          sel.removeAllRanges();\n\t          sel.addRange(rng);\n\t        }\n\t        if (old && sel.anchorNode == null) sel.addRange(old);\n\t        else if (gecko) this.startGracePeriod();\n\t      }\n\t      this.rememberSelection();\n\t    },\n\n\t    startGracePeriod: function() {\n\t      var input = this;\n\t      clearTimeout(this.gracePeriod);\n\t      this.gracePeriod = setTimeout(function() {\n\t        input.gracePeriod = false;\n\t        if (input.selectionChanged())\n\t          input.cm.operation(function() { input.cm.curOp.selectionChanged = true; });\n\t      }, 20);\n\t    },\n\n\t    showMultipleSelections: function(info) {\n\t      removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors);\n\t      removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection);\n\t    },\n\n\t    rememberSelection: function() {\n\t      var sel = window.getSelection();\n\t      this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;\n\t      this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;\n\t    },\n\n\t    selectionInEditor: function() {\n\t      var sel = window.getSelection();\n\t      if (!sel.rangeCount) return false;\n\t      var node = sel.getRangeAt(0).commonAncestorContainer;\n\t      return contains(this.div, node);\n\t    },\n\n\t    focus: function() {\n\t      if (this.cm.options.readOnly != \"nocursor\") this.div.focus();\n\t    },\n\t    blur: function() { this.div.blur(); },\n\t    getField: function() { return this.div; },\n\n\t    supportsTouch: function() { return true; },\n\n\t    receivedFocus: function() {\n\t      var input = this;\n\t      if (this.selectionInEditor())\n\t        this.pollSelection();\n\t      else\n\t        runInOp(this.cm, function() { input.cm.curOp.selectionChanged = true; });\n\n\t      function poll() {\n\t        if (input.cm.state.focused) {\n\t          input.pollSelection();\n\t          input.polling.set(input.cm.options.pollInterval, poll);\n\t        }\n\t      }\n\t      this.polling.set(this.cm.options.pollInterval, poll);\n\t    },\n\n\t    selectionChanged: function() {\n\t      var sel = window.getSelection();\n\t      return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||\n\t        sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset;\n\t    },\n\n\t    pollSelection: function() {\n\t      if (!this.composing && !this.gracePeriod && this.selectionChanged()) {\n\t        var sel = window.getSelection(), cm = this.cm;\n\t        this.rememberSelection();\n\t        var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);\n\t        var head = domToPos(cm, sel.focusNode, sel.focusOffset);\n\t        if (anchor && head) runInOp(cm, function() {\n\t          setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll);\n\t          if (anchor.bad || head.bad) cm.curOp.selectionChanged = true;\n\t        });\n\t      }\n\t    },\n\n\t    pollContent: function() {\n\t      var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary();\n\t      var from = sel.from(), to = sel.to();\n\t      if (from.line < display.viewFrom || to.line > display.viewTo - 1) return false;\n\n\t      var fromIndex;\n\t      if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) {\n\t        var fromLine = lineNo(display.view[0].line);\n\t        var fromNode = display.view[0].node;\n\t      } else {\n\t        var fromLine = lineNo(display.view[fromIndex].line);\n\t        var fromNode = display.view[fromIndex - 1].node.nextSibling;\n\t      }\n\t      var toIndex = findViewIndex(cm, to.line);\n\t      if (toIndex == display.view.length - 1) {\n\t        var toLine = display.viewTo - 1;\n\t        var toNode = display.lineDiv.lastChild;\n\t      } else {\n\t        var toLine = lineNo(display.view[toIndex + 1].line) - 1;\n\t        var toNode = display.view[toIndex + 1].node.previousSibling;\n\t      }\n\n\t      var newText = cm.doc.splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine));\n\t      var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length));\n\t      while (newText.length > 1 && oldText.length > 1) {\n\t        if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; }\n\t        else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; }\n\t        else break;\n\t      }\n\n\t      var cutFront = 0, cutEnd = 0;\n\t      var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length);\n\t      while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront))\n\t        ++cutFront;\n\t      var newBot = lst(newText), oldBot = lst(oldText);\n\t      var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0),\n\t                               oldBot.length - (oldText.length == 1 ? cutFront : 0));\n\t      while (cutEnd < maxCutEnd &&\n\t             newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1))\n\t        ++cutEnd;\n\n\t      newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd);\n\t      newText[0] = newText[0].slice(cutFront);\n\n\t      var chFrom = Pos(fromLine, cutFront);\n\t      var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0);\n\t      if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) {\n\t        replaceRange(cm.doc, newText, chFrom, chTo, \"+input\");\n\t        return true;\n\t      }\n\t    },\n\n\t    ensurePolled: function() {\n\t      this.forceCompositionEnd();\n\t    },\n\t    reset: function() {\n\t      this.forceCompositionEnd();\n\t    },\n\t    forceCompositionEnd: function() {\n\t      if (!this.composing || this.composing.handled) return;\n\t      this.applyComposition(this.composing);\n\t      this.composing.handled = true;\n\t      this.div.blur();\n\t      this.div.focus();\n\t    },\n\t    applyComposition: function(composing) {\n\t      if (this.cm.isReadOnly())\n\t        operation(this.cm, regChange)(this.cm)\n\t      else if (composing.data && composing.data != composing.startData)\n\t        operation(this.cm, applyTextInput)(this.cm, composing.data, 0, composing.sel);\n\t    },\n\n\t    setUneditable: function(node) {\n\t      node.contentEditable = \"false\"\n\t    },\n\n\t    onKeyPress: function(e) {\n\t      e.preventDefault();\n\t      if (!this.cm.isReadOnly())\n\t        operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0);\n\t    },\n\n\t    readOnlyChanged: function(val) {\n\t      this.div.contentEditable = String(val != \"nocursor\")\n\t    },\n\n\t    onContextMenu: nothing,\n\t    resetPosition: nothing,\n\n\t    needsContentAttribute: true\n\t  }, ContentEditableInput.prototype);\n\n\t  function posToDOM(cm, pos) {\n\t    var view = findViewForLine(cm, pos.line);\n\t    if (!view || view.hidden) return null;\n\t    var line = getLine(cm.doc, pos.line);\n\t    var info = mapFromLineView(view, line, pos.line);\n\n\t    var order = getOrder(line), side = \"left\";\n\t    if (order) {\n\t      var partPos = getBidiPartAt(order, pos.ch);\n\t      side = partPos % 2 ? \"right\" : \"left\";\n\t    }\n\t    var result = nodeAndOffsetInLineMap(info.map, pos.ch, side);\n\t    result.offset = result.collapse == \"right\" ? result.end : result.start;\n\t    return result;\n\t  }\n\n\t  function badPos(pos, bad) { if (bad) pos.bad = true; return pos; }\n\n\t  function domToPos(cm, node, offset) {\n\t    var lineNode;\n\t    if (node == cm.display.lineDiv) {\n\t      lineNode = cm.display.lineDiv.childNodes[offset];\n\t      if (!lineNode) return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true);\n\t      node = null; offset = 0;\n\t    } else {\n\t      for (lineNode = node;; lineNode = lineNode.parentNode) {\n\t        if (!lineNode || lineNode == cm.display.lineDiv) return null;\n\t        if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) break;\n\t      }\n\t    }\n\t    for (var i = 0; i < cm.display.view.length; i++) {\n\t      var lineView = cm.display.view[i];\n\t      if (lineView.node == lineNode)\n\t        return locateNodeInLineView(lineView, node, offset);\n\t    }\n\t  }\n\n\t  function locateNodeInLineView(lineView, node, offset) {\n\t    var wrapper = lineView.text.firstChild, bad = false;\n\t    if (!node || !contains(wrapper, node)) return badPos(Pos(lineNo(lineView.line), 0), true);\n\t    if (node == wrapper) {\n\t      bad = true;\n\t      node = wrapper.childNodes[offset];\n\t      offset = 0;\n\t      if (!node) {\n\t        var line = lineView.rest ? lst(lineView.rest) : lineView.line;\n\t        return badPos(Pos(lineNo(line), line.text.length), bad);\n\t      }\n\t    }\n\n\t    var textNode = node.nodeType == 3 ? node : null, topNode = node;\n\t    if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {\n\t      textNode = node.firstChild;\n\t      if (offset) offset = textNode.nodeValue.length;\n\t    }\n\t    while (topNode.parentNode != wrapper) topNode = topNode.parentNode;\n\t    var measure = lineView.measure, maps = measure.maps;\n\n\t    function find(textNode, topNode, offset) {\n\t      for (var i = -1; i < (maps ? maps.length : 0); i++) {\n\t        var map = i < 0 ? measure.map : maps[i];\n\t        for (var j = 0; j < map.length; j += 3) {\n\t          var curNode = map[j + 2];\n\t          if (curNode == textNode || curNode == topNode) {\n\t            var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]);\n\t            var ch = map[j] + offset;\n\t            if (offset < 0 || curNode != textNode) ch = map[j + (offset ? 1 : 0)];\n\t            return Pos(line, ch);\n\t          }\n\t        }\n\t      }\n\t    }\n\t    var found = find(textNode, topNode, offset);\n\t    if (found) return badPos(found, bad);\n\n\t    // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems\n\t    for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) {\n\t      found = find(after, after.firstChild, 0);\n\t      if (found)\n\t        return badPos(Pos(found.line, found.ch - dist), bad);\n\t      else\n\t        dist += after.textContent.length;\n\t    }\n\t    for (var before = topNode.previousSibling, dist = offset; before; before = before.previousSibling) {\n\t      found = find(before, before.firstChild, -1);\n\t      if (found)\n\t        return badPos(Pos(found.line, found.ch + dist), bad);\n\t      else\n\t        dist += after.textContent.length;\n\t    }\n\t  }\n\n\t  function domTextBetween(cm, from, to, fromLine, toLine) {\n\t    var text = \"\", closing = false, lineSep = cm.doc.lineSeparator();\n\t    function recognizeMarker(id) { return function(marker) { return marker.id == id; }; }\n\t    function walk(node) {\n\t      if (node.nodeType == 1) {\n\t        var cmText = node.getAttribute(\"cm-text\");\n\t        if (cmText != null) {\n\t          if (cmText == \"\") cmText = node.textContent.replace(/\\u200b/g, \"\");\n\t          text += cmText;\n\t          return;\n\t        }\n\t        var markerID = node.getAttribute(\"cm-marker\"), range;\n\t        if (markerID) {\n\t          var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID));\n\t          if (found.length && (range = found[0].find()))\n\t            text += getBetween(cm.doc, range.from, range.to).join(lineSep);\n\t          return;\n\t        }\n\t        if (node.getAttribute(\"contenteditable\") == \"false\") return;\n\t        for (var i = 0; i < node.childNodes.length; i++)\n\t          walk(node.childNodes[i]);\n\t        if (/^(pre|div|p)$/i.test(node.nodeName))\n\t          closing = true;\n\t      } else if (node.nodeType == 3) {\n\t        var val = node.nodeValue;\n\t        if (!val) return;\n\t        if (closing) {\n\t          text += lineSep;\n\t          closing = false;\n\t        }\n\t        text += val;\n\t      }\n\t    }\n\t    for (;;) {\n\t      walk(from);\n\t      if (from == to) break;\n\t      from = from.nextSibling;\n\t    }\n\t    return text;\n\t  }\n\n\t  CodeMirror.inputStyles = {\"textarea\": TextareaInput, \"contenteditable\": ContentEditableInput};\n\n\t  // SELECTION / CURSOR\n\n\t  // Selection objects are immutable. A new one is created every time\n\t  // the selection changes. A selection is one or more non-overlapping\n\t  // (and non-touching) ranges, sorted, and an integer that indicates\n\t  // which one is the primary selection (the one that's scrolled into\n\t  // view, that getCursor returns, etc).\n\t  function Selection(ranges, primIndex) {\n\t    this.ranges = ranges;\n\t    this.primIndex = primIndex;\n\t  }\n\n\t  Selection.prototype = {\n\t    primary: function() { return this.ranges[this.primIndex]; },\n\t    equals: function(other) {\n\t      if (other == this) return true;\n\t      if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) return false;\n\t      for (var i = 0; i < this.ranges.length; i++) {\n\t        var here = this.ranges[i], there = other.ranges[i];\n\t        if (cmp(here.anchor, there.anchor) != 0 || cmp(here.head, there.head) != 0) return false;\n\t      }\n\t      return true;\n\t    },\n\t    deepCopy: function() {\n\t      for (var out = [], i = 0; i < this.ranges.length; i++)\n\t        out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head));\n\t      return new Selection(out, this.primIndex);\n\t    },\n\t    somethingSelected: function() {\n\t      for (var i = 0; i < this.ranges.length; i++)\n\t        if (!this.ranges[i].empty()) return true;\n\t      return false;\n\t    },\n\t    contains: function(pos, end) {\n\t      if (!end) end = pos;\n\t      for (var i = 0; i < this.ranges.length; i++) {\n\t        var range = this.ranges[i];\n\t        if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0)\n\t          return i;\n\t      }\n\t      return -1;\n\t    }\n\t  };\n\n\t  function Range(anchor, head) {\n\t    this.anchor = anchor; this.head = head;\n\t  }\n\n\t  Range.prototype = {\n\t    from: function() { return minPos(this.anchor, this.head); },\n\t    to: function() { return maxPos(this.anchor, this.head); },\n\t    empty: function() {\n\t      return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch;\n\t    }\n\t  };\n\n\t  // Take an unsorted, potentially overlapping set of ranges, and\n\t  // build a selection out of it. 'Consumes' ranges array (modifying\n\t  // it).\n\t  function normalizeSelection(ranges, primIndex) {\n\t    var prim = ranges[primIndex];\n\t    ranges.sort(function(a, b) { return cmp(a.from(), b.from()); });\n\t    primIndex = indexOf(ranges, prim);\n\t    for (var i = 1; i < ranges.length; i++) {\n\t      var cur = ranges[i], prev = ranges[i - 1];\n\t      if (cmp(prev.to(), cur.from()) >= 0) {\n\t        var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to());\n\t        var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head;\n\t        if (i <= primIndex) --primIndex;\n\t        ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to));\n\t      }\n\t    }\n\t    return new Selection(ranges, primIndex);\n\t  }\n\n\t  function simpleSelection(anchor, head) {\n\t    return new Selection([new Range(anchor, head || anchor)], 0);\n\t  }\n\n\t  // Most of the external API clips given positions to make sure they\n\t  // actually exist within the document.\n\t  function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1));}\n\t  function clipPos(doc, pos) {\n\t    if (pos.line < doc.first) return Pos(doc.first, 0);\n\t    var last = doc.first + doc.size - 1;\n\t    if (pos.line > last) return Pos(last, getLine(doc, last).text.length);\n\t    return clipToLen(pos, getLine(doc, pos.line).text.length);\n\t  }\n\t  function clipToLen(pos, linelen) {\n\t    var ch = pos.ch;\n\t    if (ch == null || ch > linelen) return Pos(pos.line, linelen);\n\t    else if (ch < 0) return Pos(pos.line, 0);\n\t    else return pos;\n\t  }\n\t  function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}\n\t  function clipPosArray(doc, array) {\n\t    for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);\n\t    return out;\n\t  }\n\n\t  // SELECTION UPDATES\n\n\t  // The 'scroll' parameter given to many of these indicated whether\n\t  // the new cursor position should be scrolled into view after\n\t  // modifying the selection.\n\n\t  // If shift is held or the extend flag is set, extends a range to\n\t  // include a given position (and optionally a second position).\n\t  // Otherwise, simply returns the range between the given positions.\n\t  // Used for cursor motion and such.\n\t  function extendRange(doc, range, head, other) {\n\t    if (doc.cm && doc.cm.display.shift || doc.extend) {\n\t      var anchor = range.anchor;\n\t      if (other) {\n\t        var posBefore = cmp(head, anchor) < 0;\n\t        if (posBefore != (cmp(other, anchor) < 0)) {\n\t          anchor = head;\n\t          head = other;\n\t        } else if (posBefore != (cmp(head, other) < 0)) {\n\t          head = other;\n\t        }\n\t      }\n\t      return new Range(anchor, head);\n\t    } else {\n\t      return new Range(other || head, head);\n\t    }\n\t  }\n\n\t  // Extend the primary selection range, discard the rest.\n\t  function extendSelection(doc, head, other, options) {\n\t    setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 0), options);\n\t  }\n\n\t  // Extend all selections (pos is an array of selections with length\n\t  // equal the number of selections)\n\t  function extendSelections(doc, heads, options) {\n\t    for (var out = [], i = 0; i < doc.sel.ranges.length; i++)\n\t      out[i] = extendRange(doc, doc.sel.ranges[i], heads[i], null);\n\t    var newSel = normalizeSelection(out, doc.sel.primIndex);\n\t    setSelection(doc, newSel, options);\n\t  }\n\n\t  // Updates a single range in the selection.\n\t  function replaceOneSelection(doc, i, range, options) {\n\t    var ranges = doc.sel.ranges.slice(0);\n\t    ranges[i] = range;\n\t    setSelection(doc, normalizeSelection(ranges, doc.sel.primIndex), options);\n\t  }\n\n\t  // Reset the selection to a single range.\n\t  function setSimpleSelection(doc, anchor, head, options) {\n\t    setSelection(doc, simpleSelection(anchor, head), options);\n\t  }\n\n\t  // Give beforeSelectionChange handlers a change to influence a\n\t  // selection update.\n\t  function filterSelectionChange(doc, sel, options) {\n\t    var obj = {\n\t      ranges: sel.ranges,\n\t      update: function(ranges) {\n\t        this.ranges = [];\n\t        for (var i = 0; i < ranges.length; i++)\n\t          this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor),\n\t                                     clipPos(doc, ranges[i].head));\n\t      },\n\t      origin: options && options.origin\n\t    };\n\t    signal(doc, \"beforeSelectionChange\", doc, obj);\n\t    if (doc.cm) signal(doc.cm, \"beforeSelectionChange\", doc.cm, obj);\n\t    if (obj.ranges != sel.ranges) return normalizeSelection(obj.ranges, obj.ranges.length - 1);\n\t    else return sel;\n\t  }\n\n\t  function setSelectionReplaceHistory(doc, sel, options) {\n\t    var done = doc.history.done, last = lst(done);\n\t    if (last && last.ranges) {\n\t      done[done.length - 1] = sel;\n\t      setSelectionNoUndo(doc, sel, options);\n\t    } else {\n\t      setSelection(doc, sel, options);\n\t    }\n\t  }\n\n\t  // Set a new selection.\n\t  function setSelection(doc, sel, options) {\n\t    setSelectionNoUndo(doc, sel, options);\n\t    addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options);\n\t  }\n\n\t  function setSelectionNoUndo(doc, sel, options) {\n\t    if (hasHandler(doc, \"beforeSelectionChange\") || doc.cm && hasHandler(doc.cm, \"beforeSelectionChange\"))\n\t      sel = filterSelectionChange(doc, sel, options);\n\n\t    var bias = options && options.bias ||\n\t      (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1);\n\t    setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true));\n\n\t    if (!(options && options.scroll === false) && doc.cm)\n\t      ensureCursorVisible(doc.cm);\n\t  }\n\n\t  function setSelectionInner(doc, sel) {\n\t    if (sel.equals(doc.sel)) return;\n\n\t    doc.sel = sel;\n\n\t    if (doc.cm) {\n\t      doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged = true;\n\t      signalCursorActivity(doc.cm);\n\t    }\n\t    signalLater(doc, \"cursorActivity\", doc);\n\t  }\n\n\t  // Verify that the selection does not partially select any atomic\n\t  // marked ranges.\n\t  function reCheckSelection(doc) {\n\t    setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false), sel_dontScroll);\n\t  }\n\n\t  // Return a selection that does not partially select any atomic\n\t  // ranges.\n\t  function skipAtomicInSelection(doc, sel, bias, mayClear) {\n\t    var out;\n\t    for (var i = 0; i < sel.ranges.length; i++) {\n\t      var range = sel.ranges[i];\n\t      var old = sel.ranges.length == doc.sel.ranges.length && doc.sel.ranges[i];\n\t      var newAnchor = skipAtomic(doc, range.anchor, old && old.anchor, bias, mayClear);\n\t      var newHead = skipAtomic(doc, range.head, old && old.head, bias, mayClear);\n\t      if (out || newAnchor != range.anchor || newHead != range.head) {\n\t        if (!out) out = sel.ranges.slice(0, i);\n\t        out[i] = new Range(newAnchor, newHead);\n\t      }\n\t    }\n\t    return out ? normalizeSelection(out, sel.primIndex) : sel;\n\t  }\n\n\t  function skipAtomicInner(doc, pos, oldPos, dir, mayClear) {\n\t    var line = getLine(doc, pos.line);\n\t    if (line.markedSpans) for (var i = 0; i < line.markedSpans.length; ++i) {\n\t      var sp = line.markedSpans[i], m = sp.marker;\n\t      if ((sp.from == null || (m.inclusiveLeft ? sp.from <= pos.ch : sp.from < pos.ch)) &&\n\t          (sp.to == null || (m.inclusiveRight ? sp.to >= pos.ch : sp.to > pos.ch))) {\n\t        if (mayClear) {\n\t          signal(m, \"beforeCursorEnter\");\n\t          if (m.explicitlyCleared) {\n\t            if (!line.markedSpans) break;\n\t            else {--i; continue;}\n\t          }\n\t        }\n\t        if (!m.atomic) continue;\n\n\t        if (oldPos) {\n\t          var near = m.find(dir < 0 ? 1 : -1), diff;\n\t          if (dir < 0 ? m.inclusiveRight : m.inclusiveLeft)\n\t            near = movePos(doc, near, -dir, near && near.line == pos.line ? line : null);\n\t          if (near && near.line == pos.line && (diff = cmp(near, oldPos)) && (dir < 0 ? diff < 0 : diff > 0))\n\t            return skipAtomicInner(doc, near, pos, dir, mayClear);\n\t        }\n\n\t        var far = m.find(dir < 0 ? -1 : 1);\n\t        if (dir < 0 ? m.inclusiveLeft : m.inclusiveRight)\n\t          far = movePos(doc, far, dir, far.line == pos.line ? line : null);\n\t        return far ? skipAtomicInner(doc, far, pos, dir, mayClear) : null;\n\t      }\n\t    }\n\t    return pos;\n\t  }\n\n\t  // Ensure a given position is not inside an atomic range.\n\t  function skipAtomic(doc, pos, oldPos, bias, mayClear) {\n\t    var dir = bias || 1;\n\t    var found = skipAtomicInner(doc, pos, oldPos, dir, mayClear) ||\n\t        (!mayClear && skipAtomicInner(doc, pos, oldPos, dir, true)) ||\n\t        skipAtomicInner(doc, pos, oldPos, -dir, mayClear) ||\n\t        (!mayClear && skipAtomicInner(doc, pos, oldPos, -dir, true));\n\t    if (!found) {\n\t      doc.cantEdit = true;\n\t      return Pos(doc.first, 0);\n\t    }\n\t    return found;\n\t  }\n\n\t  function movePos(doc, pos, dir, line) {\n\t    if (dir < 0 && pos.ch == 0) {\n\t      if (pos.line > doc.first) return clipPos(doc, Pos(pos.line - 1));\n\t      else return null;\n\t    } else if (dir > 0 && pos.ch == (line || getLine(doc, pos.line)).text.length) {\n\t      if (pos.line < doc.first + doc.size - 1) return Pos(pos.line + 1, 0);\n\t      else return null;\n\t    } else {\n\t      return new Pos(pos.line, pos.ch + dir);\n\t    }\n\t  }\n\n\t  // SELECTION DRAWING\n\n\t  function updateSelection(cm) {\n\t    cm.display.input.showSelection(cm.display.input.prepareSelection());\n\t  }\n\n\t  function prepareSelection(cm, primary) {\n\t    var doc = cm.doc, result = {};\n\t    var curFragment = result.cursors = document.createDocumentFragment();\n\t    var selFragment = result.selection = document.createDocumentFragment();\n\n\t    for (var i = 0; i < doc.sel.ranges.length; i++) {\n\t      if (primary === false && i == doc.sel.primIndex) continue;\n\t      var range = doc.sel.ranges[i];\n\t      if (range.from().line >= cm.display.viewTo || range.to().line < cm.display.viewFrom) continue;\n\t      var collapsed = range.empty();\n\t      if (collapsed || cm.options.showCursorWhenSelecting)\n\t        drawSelectionCursor(cm, range.head, curFragment);\n\t      if (!collapsed)\n\t        drawSelectionRange(cm, range, selFragment);\n\t    }\n\t    return result;\n\t  }\n\n\t  // Draws a cursor for the given range\n\t  function drawSelectionCursor(cm, head, output) {\n\t    var pos = cursorCoords(cm, head, \"div\", null, null, !cm.options.singleCursorHeightPerLine);\n\n\t    var cursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor\"));\n\t    cursor.style.left = pos.left + \"px\";\n\t    cursor.style.top = pos.top + \"px\";\n\t    cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + \"px\";\n\n\t    if (pos.other) {\n\t      // Secondary cursor, shown when on a 'jump' in bi-directional text\n\t      var otherCursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor CodeMirror-secondarycursor\"));\n\t      otherCursor.style.display = \"\";\n\t      otherCursor.style.left = pos.other.left + \"px\";\n\t      otherCursor.style.top = pos.other.top + \"px\";\n\t      otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + \"px\";\n\t    }\n\t  }\n\n\t  // Draws the given range as a highlighted selection\n\t  function drawSelectionRange(cm, range, output) {\n\t    var display = cm.display, doc = cm.doc;\n\t    var fragment = document.createDocumentFragment();\n\t    var padding = paddingH(cm.display), leftSide = padding.left;\n\t    var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;\n\n\t    function add(left, top, width, bottom) {\n\t      if (top < 0) top = 0;\n\t      top = Math.round(top);\n\t      bottom = Math.round(bottom);\n\t      fragment.appendChild(elt(\"div\", null, \"CodeMirror-selected\", \"position: absolute; left: \" + left +\n\t                               \"px; top: \" + top + \"px; width: \" + (width == null ? rightSide - left : width) +\n\t                               \"px; height: \" + (bottom - top) + \"px\"));\n\t    }\n\n\t    function drawForLine(line, fromArg, toArg) {\n\t      var lineObj = getLine(doc, line);\n\t      var lineLen = lineObj.text.length;\n\t      var start, end;\n\t      function coords(ch, bias) {\n\t        return charCoords(cm, Pos(line, ch), \"div\", lineObj, bias);\n\t      }\n\n\t      iterateBidiSections(getOrder(lineObj), fromArg || 0, toArg == null ? lineLen : toArg, function(from, to, dir) {\n\t        var leftPos = coords(from, \"left\"), rightPos, left, right;\n\t        if (from == to) {\n\t          rightPos = leftPos;\n\t          left = right = leftPos.left;\n\t        } else {\n\t          rightPos = coords(to - 1, \"right\");\n\t          if (dir == \"rtl\") { var tmp = leftPos; leftPos = rightPos; rightPos = tmp; }\n\t          left = leftPos.left;\n\t          right = rightPos.right;\n\t        }\n\t        if (fromArg == null && from == 0) left = leftSide;\n\t        if (rightPos.top - leftPos.top > 3) { // Different lines, draw top part\n\t          add(left, leftPos.top, null, leftPos.bottom);\n\t          left = leftSide;\n\t          if (leftPos.bottom < rightPos.top) add(left, leftPos.bottom, null, rightPos.top);\n\t        }\n\t        if (toArg == null && to == lineLen) right = rightSide;\n\t        if (!start || leftPos.top < start.top || leftPos.top == start.top && leftPos.left < start.left)\n\t          start = leftPos;\n\t        if (!end || rightPos.bottom > end.bottom || rightPos.bottom == end.bottom && rightPos.right > end.right)\n\t          end = rightPos;\n\t        if (left < leftSide + 1) left = leftSide;\n\t        add(left, rightPos.top, right - left, rightPos.bottom);\n\t      });\n\t      return {start: start, end: end};\n\t    }\n\n\t    var sFrom = range.from(), sTo = range.to();\n\t    if (sFrom.line == sTo.line) {\n\t      drawForLine(sFrom.line, sFrom.ch, sTo.ch);\n\t    } else {\n\t      var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line);\n\t      var singleVLine = visualLine(fromLine) == visualLine(toLine);\n\t      var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end;\n\t      var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start;\n\t      if (singleVLine) {\n\t        if (leftEnd.top < rightStart.top - 2) {\n\t          add(leftEnd.right, leftEnd.top, null, leftEnd.bottom);\n\t          add(leftSide, rightStart.top, rightStart.left, rightStart.bottom);\n\t        } else {\n\t          add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom);\n\t        }\n\t      }\n\t      if (leftEnd.bottom < rightStart.top)\n\t        add(leftSide, leftEnd.bottom, null, rightStart.top);\n\t    }\n\n\t    output.appendChild(fragment);\n\t  }\n\n\t  // Cursor-blinking\n\t  function restartBlink(cm) {\n\t    if (!cm.state.focused) return;\n\t    var display = cm.display;\n\t    clearInterval(display.blinker);\n\t    var on = true;\n\t    display.cursorDiv.style.visibility = \"\";\n\t    if (cm.options.cursorBlinkRate > 0)\n\t      display.blinker = setInterval(function() {\n\t        display.cursorDiv.style.visibility = (on = !on) ? \"\" : \"hidden\";\n\t      }, cm.options.cursorBlinkRate);\n\t    else if (cm.options.cursorBlinkRate < 0)\n\t      display.cursorDiv.style.visibility = \"hidden\";\n\t  }\n\n\t  // HIGHLIGHT WORKER\n\n\t  function startWorker(cm, time) {\n\t    if (cm.doc.mode.startState && cm.doc.frontier < cm.display.viewTo)\n\t      cm.state.highlight.set(time, bind(highlightWorker, cm));\n\t  }\n\n\t  function highlightWorker(cm) {\n\t    var doc = cm.doc;\n\t    if (doc.frontier < doc.first) doc.frontier = doc.first;\n\t    if (doc.frontier >= cm.display.viewTo) return;\n\t    var end = +new Date + cm.options.workTime;\n\t    var state = copyState(doc.mode, getStateBefore(cm, doc.frontier));\n\t    var changedLines = [];\n\n\t    doc.iter(doc.frontier, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function(line) {\n\t      if (doc.frontier >= cm.display.viewFrom) { // Visible\n\t        var oldStyles = line.styles, tooLong = line.text.length > cm.options.maxHighlightLength;\n\t        var highlighted = highlightLine(cm, line, tooLong ? copyState(doc.mode, state) : state, true);\n\t        line.styles = highlighted.styles;\n\t        var oldCls = line.styleClasses, newCls = highlighted.classes;\n\t        if (newCls) line.styleClasses = newCls;\n\t        else if (oldCls) line.styleClasses = null;\n\t        var ischange = !oldStyles || oldStyles.length != line.styles.length ||\n\t          oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass);\n\t        for (var i = 0; !ischange && i < oldStyles.length; ++i) ischange = oldStyles[i] != line.styles[i];\n\t        if (ischange) changedLines.push(doc.frontier);\n\t        line.stateAfter = tooLong ? state : copyState(doc.mode, state);\n\t      } else {\n\t        if (line.text.length <= cm.options.maxHighlightLength)\n\t          processLine(cm, line.text, state);\n\t        line.stateAfter = doc.frontier % 5 == 0 ? copyState(doc.mode, state) : null;\n\t      }\n\t      ++doc.frontier;\n\t      if (+new Date > end) {\n\t        startWorker(cm, cm.options.workDelay);\n\t        return true;\n\t      }\n\t    });\n\t    if (changedLines.length) runInOp(cm, function() {\n\t      for (var i = 0; i < changedLines.length; i++)\n\t        regLineChange(cm, changedLines[i], \"text\");\n\t    });\n\t  }\n\n\t  // Finds the line to start with when starting a parse. Tries to\n\t  // find a line with a stateAfter, so that it can start with a\n\t  // valid state. If that fails, it returns the line with the\n\t  // smallest indentation, which tends to need the least context to\n\t  // parse correctly.\n\t  function findStartLine(cm, n, precise) {\n\t    var minindent, minline, doc = cm.doc;\n\t    var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100);\n\t    for (var search = n; search > lim; --search) {\n\t      if (search <= doc.first) return doc.first;\n\t      var line = getLine(doc, search - 1);\n\t      if (line.stateAfter && (!precise || search <= doc.frontier)) return search;\n\t      var indented = countColumn(line.text, null, cm.options.tabSize);\n\t      if (minline == null || minindent > indented) {\n\t        minline = search - 1;\n\t        minindent = indented;\n\t      }\n\t    }\n\t    return minline;\n\t  }\n\n\t  function getStateBefore(cm, n, precise) {\n\t    var doc = cm.doc, display = cm.display;\n\t    if (!doc.mode.startState) return true;\n\t    var pos = findStartLine(cm, n, precise), state = pos > doc.first && getLine(doc, pos-1).stateAfter;\n\t    if (!state) state = startState(doc.mode);\n\t    else state = copyState(doc.mode, state);\n\t    doc.iter(pos, n, function(line) {\n\t      processLine(cm, line.text, state);\n\t      var save = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo;\n\t      line.stateAfter = save ? copyState(doc.mode, state) : null;\n\t      ++pos;\n\t    });\n\t    if (precise) doc.frontier = pos;\n\t    return state;\n\t  }\n\n\t  // POSITION MEASUREMENT\n\n\t  function paddingTop(display) {return display.lineSpace.offsetTop;}\n\t  function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;}\n\t  function paddingH(display) {\n\t    if (display.cachedPaddingH) return display.cachedPaddingH;\n\t    var e = removeChildrenAndAdd(display.measure, elt(\"pre\", \"x\"));\n\t    var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle;\n\t    var data = {left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight)};\n\t    if (!isNaN(data.left) && !isNaN(data.right)) display.cachedPaddingH = data;\n\t    return data;\n\t  }\n\n\t  function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth; }\n\t  function displayWidth(cm) {\n\t    return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth;\n\t  }\n\t  function displayHeight(cm) {\n\t    return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight;\n\t  }\n\n\t  // Ensure the lineView.wrapping.heights array is populated. This is\n\t  // an array of bottom offsets for the lines that make up a drawn\n\t  // line. When lineWrapping is on, there might be more than one\n\t  // height.\n\t  function ensureLineHeights(cm, lineView, rect) {\n\t    var wrapping = cm.options.lineWrapping;\n\t    var curWidth = wrapping && displayWidth(cm);\n\t    if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) {\n\t      var heights = lineView.measure.heights = [];\n\t      if (wrapping) {\n\t        lineView.measure.width = curWidth;\n\t        var rects = lineView.text.firstChild.getClientRects();\n\t        for (var i = 0; i < rects.length - 1; i++) {\n\t          var cur = rects[i], next = rects[i + 1];\n\t          if (Math.abs(cur.bottom - next.bottom) > 2)\n\t            heights.push((cur.bottom + next.top) / 2 - rect.top);\n\t        }\n\t      }\n\t      heights.push(rect.bottom - rect.top);\n\t    }\n\t  }\n\n\t  // Find a line map (mapping character offsets to text nodes) and a\n\t  // measurement cache for the given line number. (A line view might\n\t  // contain multiple lines when collapsed ranges are present.)\n\t  function mapFromLineView(lineView, line, lineN) {\n\t    if (lineView.line == line)\n\t      return {map: lineView.measure.map, cache: lineView.measure.cache};\n\t    for (var i = 0; i < lineView.rest.length; i++)\n\t      if (lineView.rest[i] == line)\n\t        return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i]};\n\t    for (var i = 0; i < lineView.rest.length; i++)\n\t      if (lineNo(lineView.rest[i]) > lineN)\n\t        return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i], before: true};\n\t  }\n\n\t  // Render a line into the hidden node display.externalMeasured. Used\n\t  // when measurement is needed for a line that's not in the viewport.\n\t  function updateExternalMeasurement(cm, line) {\n\t    line = visualLine(line);\n\t    var lineN = lineNo(line);\n\t    var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN);\n\t    view.lineN = lineN;\n\t    var built = view.built = buildLineContent(cm, view);\n\t    view.text = built.pre;\n\t    removeChildrenAndAdd(cm.display.lineMeasure, built.pre);\n\t    return view;\n\t  }\n\n\t  // Get a {top, bottom, left, right} box (in line-local coordinates)\n\t  // for a given character.\n\t  function measureChar(cm, line, ch, bias) {\n\t    return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias);\n\t  }\n\n\t  // Find a line view that corresponds to the given line number.\n\t  function findViewForLine(cm, lineN) {\n\t    if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo)\n\t      return cm.display.view[findViewIndex(cm, lineN)];\n\t    var ext = cm.display.externalMeasured;\n\t    if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size)\n\t      return ext;\n\t  }\n\n\t  // Measurement can be split in two steps, the set-up work that\n\t  // applies to the whole line, and the measurement of the actual\n\t  // character. Functions like coordsChar, that need to do a lot of\n\t  // measurements in a row, can thus ensure that the set-up work is\n\t  // only done once.\n\t  function prepareMeasureForLine(cm, line) {\n\t    var lineN = lineNo(line);\n\t    var view = findViewForLine(cm, lineN);\n\t    if (view && !view.text) {\n\t      view = null;\n\t    } else if (view && view.changes) {\n\t      updateLineForChanges(cm, view, lineN, getDimensions(cm));\n\t      cm.curOp.forceUpdate = true;\n\t    }\n\t    if (!view)\n\t      view = updateExternalMeasurement(cm, line);\n\n\t    var info = mapFromLineView(view, line, lineN);\n\t    return {\n\t      line: line, view: view, rect: null,\n\t      map: info.map, cache: info.cache, before: info.before,\n\t      hasHeights: false\n\t    };\n\t  }\n\n\t  // Given a prepared measurement object, measures the position of an\n\t  // actual character (or fetches it from the cache).\n\t  function measureCharPrepared(cm, prepared, ch, bias, varHeight) {\n\t    if (prepared.before) ch = -1;\n\t    var key = ch + (bias || \"\"), found;\n\t    if (prepared.cache.hasOwnProperty(key)) {\n\t      found = prepared.cache[key];\n\t    } else {\n\t      if (!prepared.rect)\n\t        prepared.rect = prepared.view.text.getBoundingClientRect();\n\t      if (!prepared.hasHeights) {\n\t        ensureLineHeights(cm, prepared.view, prepared.rect);\n\t        prepared.hasHeights = true;\n\t      }\n\t      found = measureCharInner(cm, prepared, ch, bias);\n\t      if (!found.bogus) prepared.cache[key] = found;\n\t    }\n\t    return {left: found.left, right: found.right,\n\t            top: varHeight ? found.rtop : found.top,\n\t            bottom: varHeight ? found.rbottom : found.bottom};\n\t  }\n\n\t  var nullRect = {left: 0, right: 0, top: 0, bottom: 0};\n\n\t  function nodeAndOffsetInLineMap(map, ch, bias) {\n\t    var node, start, end, collapse;\n\t    // First, search the line map for the text node corresponding to,\n\t    // or closest to, the target character.\n\t    for (var i = 0; i < map.length; i += 3) {\n\t      var mStart = map[i], mEnd = map[i + 1];\n\t      if (ch < mStart) {\n\t        start = 0; end = 1;\n\t        collapse = \"left\";\n\t      } else if (ch < mEnd) {\n\t        start = ch - mStart;\n\t        end = start + 1;\n\t      } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) {\n\t        end = mEnd - mStart;\n\t        start = end - 1;\n\t        if (ch >= mEnd) collapse = \"right\";\n\t      }\n\t      if (start != null) {\n\t        node = map[i + 2];\n\t        if (mStart == mEnd && bias == (node.insertLeft ? \"left\" : \"right\"))\n\t          collapse = bias;\n\t        if (bias == \"left\" && start == 0)\n\t          while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) {\n\t            node = map[(i -= 3) + 2];\n\t            collapse = \"left\";\n\t          }\n\t        if (bias == \"right\" && start == mEnd - mStart)\n\t          while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) {\n\t            node = map[(i += 3) + 2];\n\t            collapse = \"right\";\n\t          }\n\t        break;\n\t      }\n\t    }\n\t    return {node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd};\n\t  }\n\n\t  function measureCharInner(cm, prepared, ch, bias) {\n\t    var place = nodeAndOffsetInLineMap(prepared.map, ch, bias);\n\t    var node = place.node, start = place.start, end = place.end, collapse = place.collapse;\n\n\t    var rect;\n\t    if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates.\n\t      for (var i = 0; i < 4; i++) { // Retry a maximum of 4 times when nonsense rectangles are returned\n\t        while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) --start;\n\t        while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) ++end;\n\t        if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart) {\n\t          rect = node.parentNode.getBoundingClientRect();\n\t        } else if (ie && cm.options.lineWrapping) {\n\t          var rects = range(node, start, end).getClientRects();\n\t          if (rects.length)\n\t            rect = rects[bias == \"right\" ? rects.length - 1 : 0];\n\t          else\n\t            rect = nullRect;\n\t        } else {\n\t          rect = range(node, start, end).getBoundingClientRect() || nullRect;\n\t        }\n\t        if (rect.left || rect.right || start == 0) break;\n\t        end = start;\n\t        start = start - 1;\n\t        collapse = \"right\";\n\t      }\n\t      if (ie && ie_version < 11) rect = maybeUpdateRectForZooming(cm.display.measure, rect);\n\t    } else { // If it is a widget, simply get the box for the whole widget.\n\t      if (start > 0) collapse = bias = \"right\";\n\t      var rects;\n\t      if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1)\n\t        rect = rects[bias == \"right\" ? rects.length - 1 : 0];\n\t      else\n\t        rect = node.getBoundingClientRect();\n\t    }\n\t    if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) {\n\t      var rSpan = node.parentNode.getClientRects()[0];\n\t      if (rSpan)\n\t        rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom};\n\t      else\n\t        rect = nullRect;\n\t    }\n\n\t    var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top;\n\t    var mid = (rtop + rbot) / 2;\n\t    var heights = prepared.view.measure.heights;\n\t    for (var i = 0; i < heights.length - 1; i++)\n\t      if (mid < heights[i]) break;\n\t    var top = i ? heights[i - 1] : 0, bot = heights[i];\n\t    var result = {left: (collapse == \"right\" ? rect.right : rect.left) - prepared.rect.left,\n\t                  right: (collapse == \"left\" ? rect.left : rect.right) - prepared.rect.left,\n\t                  top: top, bottom: bot};\n\t    if (!rect.left && !rect.right) result.bogus = true;\n\t    if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; }\n\n\t    return result;\n\t  }\n\n\t  // Work around problem with bounding client rects on ranges being\n\t  // returned incorrectly when zoomed on IE10 and below.\n\t  function maybeUpdateRectForZooming(measure, rect) {\n\t    if (!window.screen || screen.logicalXDPI == null ||\n\t        screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure))\n\t      return rect;\n\t    var scaleX = screen.logicalXDPI / screen.deviceXDPI;\n\t    var scaleY = screen.logicalYDPI / screen.deviceYDPI;\n\t    return {left: rect.left * scaleX, right: rect.right * scaleX,\n\t            top: rect.top * scaleY, bottom: rect.bottom * scaleY};\n\t  }\n\n\t  function clearLineMeasurementCacheFor(lineView) {\n\t    if (lineView.measure) {\n\t      lineView.measure.cache = {};\n\t      lineView.measure.heights = null;\n\t      if (lineView.rest) for (var i = 0; i < lineView.rest.length; i++)\n\t        lineView.measure.caches[i] = {};\n\t    }\n\t  }\n\n\t  function clearLineMeasurementCache(cm) {\n\t    cm.display.externalMeasure = null;\n\t    removeChildren(cm.display.lineMeasure);\n\t    for (var i = 0; i < cm.display.view.length; i++)\n\t      clearLineMeasurementCacheFor(cm.display.view[i]);\n\t  }\n\n\t  function clearCaches(cm) {\n\t    clearLineMeasurementCache(cm);\n\t    cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null;\n\t    if (!cm.options.lineWrapping) cm.display.maxLineChanged = true;\n\t    cm.display.lineNumChars = null;\n\t  }\n\n\t  function pageScrollX() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; }\n\t  function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; }\n\n\t  // Converts a {top, bottom, left, right} box from line-local\n\t  // coordinates into another coordinate system. Context may be one of\n\t  // \"line\", \"div\" (display.lineDiv), \"local\"/null (editor), \"window\",\n\t  // or \"page\".\n\t  function intoCoordSystem(cm, lineObj, rect, context) {\n\t    if (lineObj.widgets) for (var i = 0; i < lineObj.widgets.length; ++i) if (lineObj.widgets[i].above) {\n\t      var size = widgetHeight(lineObj.widgets[i]);\n\t      rect.top += size; rect.bottom += size;\n\t    }\n\t    if (context == \"line\") return rect;\n\t    if (!context) context = \"local\";\n\t    var yOff = heightAtLine(lineObj);\n\t    if (context == \"local\") yOff += paddingTop(cm.display);\n\t    else yOff -= cm.display.viewOffset;\n\t    if (context == \"page\" || context == \"window\") {\n\t      var lOff = cm.display.lineSpace.getBoundingClientRect();\n\t      yOff += lOff.top + (context == \"window\" ? 0 : pageScrollY());\n\t      var xOff = lOff.left + (context == \"window\" ? 0 : pageScrollX());\n\t      rect.left += xOff; rect.right += xOff;\n\t    }\n\t    rect.top += yOff; rect.bottom += yOff;\n\t    return rect;\n\t  }\n\n\t  // Coverts a box from \"div\" coords to another coordinate system.\n\t  // Context may be \"window\", \"page\", \"div\", or \"local\"/null.\n\t  function fromCoordSystem(cm, coords, context) {\n\t    if (context == \"div\") return coords;\n\t    var left = coords.left, top = coords.top;\n\t    // First move into \"page\" coordinate system\n\t    if (context == \"page\") {\n\t      left -= pageScrollX();\n\t      top -= pageScrollY();\n\t    } else if (context == \"local\" || !context) {\n\t      var localBox = cm.display.sizer.getBoundingClientRect();\n\t      left += localBox.left;\n\t      top += localBox.top;\n\t    }\n\n\t    var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect();\n\t    return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top};\n\t  }\n\n\t  function charCoords(cm, pos, context, lineObj, bias) {\n\t    if (!lineObj) lineObj = getLine(cm.doc, pos.line);\n\t    return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context);\n\t  }\n\n\t  // Returns a box for a given cursor position, which may have an\n\t  // 'other' property containing the position of the secondary cursor\n\t  // on a bidi boundary.\n\t  function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {\n\t    lineObj = lineObj || getLine(cm.doc, pos.line);\n\t    if (!preparedMeasure) preparedMeasure = prepareMeasureForLine(cm, lineObj);\n\t    function get(ch, right) {\n\t      var m = measureCharPrepared(cm, preparedMeasure, ch, right ? \"right\" : \"left\", varHeight);\n\t      if (right) m.left = m.right; else m.right = m.left;\n\t      return intoCoordSystem(cm, lineObj, m, context);\n\t    }\n\t    function getBidi(ch, partPos) {\n\t      var part = order[partPos], right = part.level % 2;\n\t      if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) {\n\t        part = order[--partPos];\n\t        ch = bidiRight(part) - (part.level % 2 ? 0 : 1);\n\t        right = true;\n\t      } else if (ch == bidiRight(part) && partPos < order.length - 1 && part.level < order[partPos + 1].level) {\n\t        part = order[++partPos];\n\t        ch = bidiLeft(part) - part.level % 2;\n\t        right = false;\n\t      }\n\t      if (right && ch == part.to && ch > part.from) return get(ch - 1);\n\t      return get(ch, right);\n\t    }\n\t    var order = getOrder(lineObj), ch = pos.ch;\n\t    if (!order) return get(ch);\n\t    var partPos = getBidiPartAt(order, ch);\n\t    var val = getBidi(ch, partPos);\n\t    if (bidiOther != null) val.other = getBidi(ch, bidiOther);\n\t    return val;\n\t  }\n\n\t  // Used to cheaply estimate the coordinates for a position. Used for\n\t  // intermediate scroll updates.\n\t  function estimateCoords(cm, pos) {\n\t    var left = 0, pos = clipPos(cm.doc, pos);\n\t    if (!cm.options.lineWrapping) left = charWidth(cm.display) * pos.ch;\n\t    var lineObj = getLine(cm.doc, pos.line);\n\t    var top = heightAtLine(lineObj) + paddingTop(cm.display);\n\t    return {left: left, right: left, top: top, bottom: top + lineObj.height};\n\t  }\n\n\t  // Positions returned by coordsChar contain some extra information.\n\t  // xRel is the relative x position of the input coordinates compared\n\t  // to the found position (so xRel > 0 means the coordinates are to\n\t  // the right of the character position, for example). When outside\n\t  // is true, that means the coordinates lie outside the line's\n\t  // vertical range.\n\t  function PosWithInfo(line, ch, outside, xRel) {\n\t    var pos = Pos(line, ch);\n\t    pos.xRel = xRel;\n\t    if (outside) pos.outside = true;\n\t    return pos;\n\t  }\n\n\t  // Compute the character position closest to the given coordinates.\n\t  // Input must be lineSpace-local (\"div\" coordinate system).\n\t  function coordsChar(cm, x, y) {\n\t    var doc = cm.doc;\n\t    y += cm.display.viewOffset;\n\t    if (y < 0) return PosWithInfo(doc.first, 0, true, -1);\n\t    var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1;\n\t    if (lineN > last)\n\t      return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, true, 1);\n\t    if (x < 0) x = 0;\n\n\t    var lineObj = getLine(doc, lineN);\n\t    for (;;) {\n\t      var found = coordsCharInner(cm, lineObj, lineN, x, y);\n\t      var merged = collapsedSpanAtEnd(lineObj);\n\t      var mergedPos = merged && merged.find(0, true);\n\t      if (merged && (found.ch > mergedPos.from.ch || found.ch == mergedPos.from.ch && found.xRel > 0))\n\t        lineN = lineNo(lineObj = mergedPos.to.line);\n\t      else\n\t        return found;\n\t    }\n\t  }\n\n\t  function coordsCharInner(cm, lineObj, lineNo, x, y) {\n\t    var innerOff = y - heightAtLine(lineObj);\n\t    var wrongLine = false, adjust = 2 * cm.display.wrapper.clientWidth;\n\t    var preparedMeasure = prepareMeasureForLine(cm, lineObj);\n\n\t    function getX(ch) {\n\t      var sp = cursorCoords(cm, Pos(lineNo, ch), \"line\", lineObj, preparedMeasure);\n\t      wrongLine = true;\n\t      if (innerOff > sp.bottom) return sp.left - adjust;\n\t      else if (innerOff < sp.top) return sp.left + adjust;\n\t      else wrongLine = false;\n\t      return sp.left;\n\t    }\n\n\t    var bidi = getOrder(lineObj), dist = lineObj.text.length;\n\t    var from = lineLeft(lineObj), to = lineRight(lineObj);\n\t    var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;\n\n\t    if (x > toX) return PosWithInfo(lineNo, to, toOutside, 1);\n\t    // Do a binary search between these bounds.\n\t    for (;;) {\n\t      if (bidi ? to == from || to == moveVisually(lineObj, from, 1) : to - from <= 1) {\n\t        var ch = x < fromX || x - fromX <= toX - x ? from : to;\n\t        var xDiff = x - (ch == from ? fromX : toX);\n\t        while (isExtendingChar(lineObj.text.charAt(ch))) ++ch;\n\t        var pos = PosWithInfo(lineNo, ch, ch == from ? fromOutside : toOutside,\n\t                              xDiff < -1 ? -1 : xDiff > 1 ? 1 : 0);\n\t        return pos;\n\t      }\n\t      var step = Math.ceil(dist / 2), middle = from + step;\n\t      if (bidi) {\n\t        middle = from;\n\t        for (var i = 0; i < step; ++i) middle = moveVisually(lineObj, middle, 1);\n\t      }\n\t      var middleX = getX(middle);\n\t      if (middleX > x) {to = middle; toX = middleX; if (toOutside = wrongLine) toX += 1000; dist = step;}\n\t      else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}\n\t    }\n\t  }\n\n\t  var measureText;\n\t  // Compute the default text height.\n\t  function textHeight(display) {\n\t    if (display.cachedTextHeight != null) return display.cachedTextHeight;\n\t    if (measureText == null) {\n\t      measureText = elt(\"pre\");\n\t      // Measure a bunch of lines, for browsers that compute\n\t      // fractional heights.\n\t      for (var i = 0; i < 49; ++i) {\n\t        measureText.appendChild(document.createTextNode(\"x\"));\n\t        measureText.appendChild(elt(\"br\"));\n\t      }\n\t      measureText.appendChild(document.createTextNode(\"x\"));\n\t    }\n\t    removeChildrenAndAdd(display.measure, measureText);\n\t    var height = measureText.offsetHeight / 50;\n\t    if (height > 3) display.cachedTextHeight = height;\n\t    removeChildren(display.measure);\n\t    return height || 1;\n\t  }\n\n\t  // Compute the default character width.\n\t  function charWidth(display) {\n\t    if (display.cachedCharWidth != null) return display.cachedCharWidth;\n\t    var anchor = elt(\"span\", \"xxxxxxxxxx\");\n\t    var pre = elt(\"pre\", [anchor]);\n\t    removeChildrenAndAdd(display.measure, pre);\n\t    var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10;\n\t    if (width > 2) display.cachedCharWidth = width;\n\t    return width || 10;\n\t  }\n\n\t  // OPERATIONS\n\n\t  // Operations are used to wrap a series of changes to the editor\n\t  // state in such a way that each change won't have to update the\n\t  // cursor and display (which would be awkward, slow, and\n\t  // error-prone). Instead, display updates are batched and then all\n\t  // combined and executed at once.\n\n\t  var operationGroup = null;\n\n\t  var nextOpId = 0;\n\t  // Start a new operation.\n\t  function startOperation(cm) {\n\t    cm.curOp = {\n\t      cm: cm,\n\t      viewChanged: false,      // Flag that indicates that lines might need to be redrawn\n\t      startHeight: cm.doc.height, // Used to detect need to update scrollbar\n\t      forceUpdate: false,      // Used to force a redraw\n\t      updateInput: null,       // Whether to reset the input textarea\n\t      typing: false,           // Whether this reset should be careful to leave existing text (for compositing)\n\t      changeObjs: null,        // Accumulated changes, for firing change events\n\t      cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on\n\t      cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already\n\t      selectionChanged: false, // Whether the selection needs to be redrawn\n\t      updateMaxLine: false,    // Set when the widest line needs to be determined anew\n\t      scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet\n\t      scrollToPos: null,       // Used to scroll to a specific position\n\t      focus: false,\n\t      id: ++nextOpId           // Unique ID\n\t    };\n\t    if (operationGroup) {\n\t      operationGroup.ops.push(cm.curOp);\n\t    } else {\n\t      cm.curOp.ownsGroup = operationGroup = {\n\t        ops: [cm.curOp],\n\t        delayedCallbacks: []\n\t      };\n\t    }\n\t  }\n\n\t  function fireCallbacksForOps(group) {\n\t    // Calls delayed callbacks and cursorActivity handlers until no\n\t    // new ones appear\n\t    var callbacks = group.delayedCallbacks, i = 0;\n\t    do {\n\t      for (; i < callbacks.length; i++)\n\t        callbacks[i].call(null);\n\t      for (var j = 0; j < group.ops.length; j++) {\n\t        var op = group.ops[j];\n\t        if (op.cursorActivityHandlers)\n\t          while (op.cursorActivityCalled < op.cursorActivityHandlers.length)\n\t            op.cursorActivityHandlers[op.cursorActivityCalled++].call(null, op.cm);\n\t      }\n\t    } while (i < callbacks.length);\n\t  }\n\n\t  // Finish an operation, updating the display and signalling delayed events\n\t  function endOperation(cm) {\n\t    var op = cm.curOp, group = op.ownsGroup;\n\t    if (!group) return;\n\n\t    try { fireCallbacksForOps(group); }\n\t    finally {\n\t      operationGroup = null;\n\t      for (var i = 0; i < group.ops.length; i++)\n\t        group.ops[i].cm.curOp = null;\n\t      endOperations(group);\n\t    }\n\t  }\n\n\t  // The DOM updates done when an operation finishes are batched so\n\t  // that the minimum number of relayouts are required.\n\t  function endOperations(group) {\n\t    var ops = group.ops;\n\t    for (var i = 0; i < ops.length; i++) // Read DOM\n\t      endOperation_R1(ops[i]);\n\t    for (var i = 0; i < ops.length; i++) // Write DOM (maybe)\n\t      endOperation_W1(ops[i]);\n\t    for (var i = 0; i < ops.length; i++) // Read DOM\n\t      endOperation_R2(ops[i]);\n\t    for (var i = 0; i < ops.length; i++) // Write DOM (maybe)\n\t      endOperation_W2(ops[i]);\n\t    for (var i = 0; i < ops.length; i++) // Read DOM\n\t      endOperation_finish(ops[i]);\n\t  }\n\n\t  function endOperation_R1(op) {\n\t    var cm = op.cm, display = cm.display;\n\t    maybeClipScrollbars(cm);\n\t    if (op.updateMaxLine) findMaxLine(cm);\n\n\t    op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null ||\n\t      op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom ||\n\t                         op.scrollToPos.to.line >= display.viewTo) ||\n\t      display.maxLineChanged && cm.options.lineWrapping;\n\t    op.update = op.mustUpdate &&\n\t      new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate);\n\t  }\n\n\t  function endOperation_W1(op) {\n\t    op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update);\n\t  }\n\n\t  function endOperation_R2(op) {\n\t    var cm = op.cm, display = cm.display;\n\t    if (op.updatedDisplay) updateHeightsInViewport(cm);\n\n\t    op.barMeasure = measureForScrollbars(cm);\n\n\t    // If the max line changed since it was last measured, measure it,\n\t    // and ensure the document's width matches it.\n\t    // updateDisplay_W2 will use these properties to do the actual resizing\n\t    if (display.maxLineChanged && !cm.options.lineWrapping) {\n\t      op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3;\n\t      cm.display.sizerWidth = op.adjustWidthTo;\n\t      op.barMeasure.scrollWidth =\n\t        Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth);\n\t      op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm));\n\t    }\n\n\t    if (op.updatedDisplay || op.selectionChanged)\n\t      op.preparedSelection = display.input.prepareSelection();\n\t  }\n\n\t  function endOperation_W2(op) {\n\t    var cm = op.cm;\n\n\t    if (op.adjustWidthTo != null) {\n\t      cm.display.sizer.style.minWidth = op.adjustWidthTo + \"px\";\n\t      if (op.maxScrollLeft < cm.doc.scrollLeft)\n\t        setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true);\n\t      cm.display.maxLineChanged = false;\n\t    }\n\n\t    if (op.preparedSelection)\n\t      cm.display.input.showSelection(op.preparedSelection);\n\t    if (op.updatedDisplay || op.startHeight != cm.doc.height)\n\t      updateScrollbars(cm, op.barMeasure);\n\t    if (op.updatedDisplay)\n\t      setDocumentHeight(cm, op.barMeasure);\n\n\t    if (op.selectionChanged) restartBlink(cm);\n\n\t    if (cm.state.focused && op.updateInput)\n\t      cm.display.input.reset(op.typing);\n\t    if (op.focus && op.focus == activeElt() && (!document.hasFocus || document.hasFocus()))\n\t      ensureFocus(op.cm);\n\t  }\n\n\t  function endOperation_finish(op) {\n\t    var cm = op.cm, display = cm.display, doc = cm.doc;\n\n\t    if (op.updatedDisplay) postUpdateDisplay(cm, op.update);\n\n\t    // Abort mouse wheel delta measurement, when scrolling explicitly\n\t    if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos))\n\t      display.wheelStartX = display.wheelStartY = null;\n\n\t    // Propagate the scroll position to the actual DOM scroller\n\t    if (op.scrollTop != null && (display.scroller.scrollTop != op.scrollTop || op.forceScroll)) {\n\t      doc.scrollTop = Math.max(0, Math.min(display.scroller.scrollHeight - display.scroller.clientHeight, op.scrollTop));\n\t      display.scrollbars.setScrollTop(doc.scrollTop);\n\t      display.scroller.scrollTop = doc.scrollTop;\n\t    }\n\t    if (op.scrollLeft != null && (display.scroller.scrollLeft != op.scrollLeft || op.forceScroll)) {\n\t      doc.scrollLeft = Math.max(0, Math.min(display.scroller.scrollWidth - display.scroller.clientWidth, op.scrollLeft));\n\t      display.scrollbars.setScrollLeft(doc.scrollLeft);\n\t      display.scroller.scrollLeft = doc.scrollLeft;\n\t      alignHorizontally(cm);\n\t    }\n\t    // If we need to scroll a specific position into view, do so.\n\t    if (op.scrollToPos) {\n\t      var coords = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from),\n\t                                     clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin);\n\t      if (op.scrollToPos.isCursor && cm.state.focused) maybeScrollWindow(cm, coords);\n\t    }\n\n\t    // Fire events for markers that are hidden/unidden by editing or\n\t    // undoing\n\t    var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers;\n\t    if (hidden) for (var i = 0; i < hidden.length; ++i)\n\t      if (!hidden[i].lines.length) signal(hidden[i], \"hide\");\n\t    if (unhidden) for (var i = 0; i < unhidden.length; ++i)\n\t      if (unhidden[i].lines.length) signal(unhidden[i], \"unhide\");\n\n\t    if (display.wrapper.offsetHeight)\n\t      doc.scrollTop = cm.display.scroller.scrollTop;\n\n\t    // Fire change events, and delayed event handlers\n\t    if (op.changeObjs)\n\t      signal(cm, \"changes\", cm, op.changeObjs);\n\t    if (op.update)\n\t      op.update.finish();\n\t  }\n\n\t  // Run the given function in an operation\n\t  function runInOp(cm, f) {\n\t    if (cm.curOp) return f();\n\t    startOperation(cm);\n\t    try { return f(); }\n\t    finally { endOperation(cm); }\n\t  }\n\t  // Wraps a function in an operation. Returns the wrapped function.\n\t  function operation(cm, f) {\n\t    return function() {\n\t      if (cm.curOp) return f.apply(cm, arguments);\n\t      startOperation(cm);\n\t      try { return f.apply(cm, arguments); }\n\t      finally { endOperation(cm); }\n\t    };\n\t  }\n\t  // Used to add methods to editor and doc instances, wrapping them in\n\t  // operations.\n\t  function methodOp(f) {\n\t    return function() {\n\t      if (this.curOp) return f.apply(this, arguments);\n\t      startOperation(this);\n\t      try { return f.apply(this, arguments); }\n\t      finally { endOperation(this); }\n\t    };\n\t  }\n\t  function docMethodOp(f) {\n\t    return function() {\n\t      var cm = this.cm;\n\t      if (!cm || cm.curOp) return f.apply(this, arguments);\n\t      startOperation(cm);\n\t      try { return f.apply(this, arguments); }\n\t      finally { endOperation(cm); }\n\t    };\n\t  }\n\n\t  // VIEW TRACKING\n\n\t  // These objects are used to represent the visible (currently drawn)\n\t  // part of the document. A LineView may correspond to multiple\n\t  // logical lines, if those are connected by collapsed ranges.\n\t  function LineView(doc, line, lineN) {\n\t    // The starting line\n\t    this.line = line;\n\t    // Continuing lines, if any\n\t    this.rest = visualLineContinued(line);\n\t    // Number of logical lines in this visual line\n\t    this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1;\n\t    this.node = this.text = null;\n\t    this.hidden = lineIsHidden(doc, line);\n\t  }\n\n\t  // Create a range of LineView objects for the given lines.\n\t  function buildViewArray(cm, from, to) {\n\t    var array = [], nextPos;\n\t    for (var pos = from; pos < to; pos = nextPos) {\n\t      var view = new LineView(cm.doc, getLine(cm.doc, pos), pos);\n\t      nextPos = pos + view.size;\n\t      array.push(view);\n\t    }\n\t    return array;\n\t  }\n\n\t  // Updates the display.view data structure for a given change to the\n\t  // document. From and to are in pre-change coordinates. Lendiff is\n\t  // the amount of lines added or subtracted by the change. This is\n\t  // used for changes that span multiple lines, or change the way\n\t  // lines are divided into visual lines. regLineChange (below)\n\t  // registers single-line changes.\n\t  function regChange(cm, from, to, lendiff) {\n\t    if (from == null) from = cm.doc.first;\n\t    if (to == null) to = cm.doc.first + cm.doc.size;\n\t    if (!lendiff) lendiff = 0;\n\n\t    var display = cm.display;\n\t    if (lendiff && to < display.viewTo &&\n\t        (display.updateLineNumbers == null || display.updateLineNumbers > from))\n\t      display.updateLineNumbers = from;\n\n\t    cm.curOp.viewChanged = true;\n\n\t    if (from >= display.viewTo) { // Change after\n\t      if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo)\n\t        resetView(cm);\n\t    } else if (to <= display.viewFrom) { // Change before\n\t      if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) {\n\t        resetView(cm);\n\t      } else {\n\t        display.viewFrom += lendiff;\n\t        display.viewTo += lendiff;\n\t      }\n\t    } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap\n\t      resetView(cm);\n\t    } else if (from <= display.viewFrom) { // Top overlap\n\t      var cut = viewCuttingPoint(cm, to, to + lendiff, 1);\n\t      if (cut) {\n\t        display.view = display.view.slice(cut.index);\n\t        display.viewFrom = cut.lineN;\n\t        display.viewTo += lendiff;\n\t      } else {\n\t        resetView(cm);\n\t      }\n\t    } else if (to >= display.viewTo) { // Bottom overlap\n\t      var cut = viewCuttingPoint(cm, from, from, -1);\n\t      if (cut) {\n\t        display.view = display.view.slice(0, cut.index);\n\t        display.viewTo = cut.lineN;\n\t      } else {\n\t        resetView(cm);\n\t      }\n\t    } else { // Gap in the middle\n\t      var cutTop = viewCuttingPoint(cm, from, from, -1);\n\t      var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1);\n\t      if (cutTop && cutBot) {\n\t        display.view = display.view.slice(0, cutTop.index)\n\t          .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))\n\t          .concat(display.view.slice(cutBot.index));\n\t        display.viewTo += lendiff;\n\t      } else {\n\t        resetView(cm);\n\t      }\n\t    }\n\n\t    var ext = display.externalMeasured;\n\t    if (ext) {\n\t      if (to < ext.lineN)\n\t        ext.lineN += lendiff;\n\t      else if (from < ext.lineN + ext.size)\n\t        display.externalMeasured = null;\n\t    }\n\t  }\n\n\t  // Register a change to a single line. Type must be one of \"text\",\n\t  // \"gutter\", \"class\", \"widget\"\n\t  function regLineChange(cm, line, type) {\n\t    cm.curOp.viewChanged = true;\n\t    var display = cm.display, ext = cm.display.externalMeasured;\n\t    if (ext && line >= ext.lineN && line < ext.lineN + ext.size)\n\t      display.externalMeasured = null;\n\n\t    if (line < display.viewFrom || line >= display.viewTo) return;\n\t    var lineView = display.view[findViewIndex(cm, line)];\n\t    if (lineView.node == null) return;\n\t    var arr = lineView.changes || (lineView.changes = []);\n\t    if (indexOf(arr, type) == -1) arr.push(type);\n\t  }\n\n\t  // Clear the view.\n\t  function resetView(cm) {\n\t    cm.display.viewFrom = cm.display.viewTo = cm.doc.first;\n\t    cm.display.view = [];\n\t    cm.display.viewOffset = 0;\n\t  }\n\n\t  // Find the view element corresponding to a given line. Return null\n\t  // when the line isn't visible.\n\t  function findViewIndex(cm, n) {\n\t    if (n >= cm.display.viewTo) return null;\n\t    n -= cm.display.viewFrom;\n\t    if (n < 0) return null;\n\t    var view = cm.display.view;\n\t    for (var i = 0; i < view.length; i++) {\n\t      n -= view[i].size;\n\t      if (n < 0) return i;\n\t    }\n\t  }\n\n\t  function viewCuttingPoint(cm, oldN, newN, dir) {\n\t    var index = findViewIndex(cm, oldN), diff, view = cm.display.view;\n\t    if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size)\n\t      return {index: index, lineN: newN};\n\t    for (var i = 0, n = cm.display.viewFrom; i < index; i++)\n\t      n += view[i].size;\n\t    if (n != oldN) {\n\t      if (dir > 0) {\n\t        if (index == view.length - 1) return null;\n\t        diff = (n + view[index].size) - oldN;\n\t        index++;\n\t      } else {\n\t        diff = n - oldN;\n\t      }\n\t      oldN += diff; newN += diff;\n\t    }\n\t    while (visualLineNo(cm.doc, newN) != newN) {\n\t      if (index == (dir < 0 ? 0 : view.length - 1)) return null;\n\t      newN += dir * view[index - (dir < 0 ? 1 : 0)].size;\n\t      index += dir;\n\t    }\n\t    return {index: index, lineN: newN};\n\t  }\n\n\t  // Force the view to cover a given range, adding empty view element\n\t  // or clipping off existing ones as needed.\n\t  function adjustView(cm, from, to) {\n\t    var display = cm.display, view = display.view;\n\t    if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) {\n\t      display.view = buildViewArray(cm, from, to);\n\t      display.viewFrom = from;\n\t    } else {\n\t      if (display.viewFrom > from)\n\t        display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view);\n\t      else if (display.viewFrom < from)\n\t        display.view = display.view.slice(findViewIndex(cm, from));\n\t      display.viewFrom = from;\n\t      if (display.viewTo < to)\n\t        display.view = display.view.concat(buildViewArray(cm, display.viewTo, to));\n\t      else if (display.viewTo > to)\n\t        display.view = display.view.slice(0, findViewIndex(cm, to));\n\t    }\n\t    display.viewTo = to;\n\t  }\n\n\t  // Count the number of lines in the view whose DOM representation is\n\t  // out of date (or nonexistent).\n\t  function countDirtyView(cm) {\n\t    var view = cm.display.view, dirty = 0;\n\t    for (var i = 0; i < view.length; i++) {\n\t      var lineView = view[i];\n\t      if (!lineView.hidden && (!lineView.node || lineView.changes)) ++dirty;\n\t    }\n\t    return dirty;\n\t  }\n\n\t  // EVENT HANDLERS\n\n\t  // Attach the necessary event handlers when initializing the editor\n\t  function registerEventHandlers(cm) {\n\t    var d = cm.display;\n\t    on(d.scroller, \"mousedown\", operation(cm, onMouseDown));\n\t    // Older IE's will not fire a second mousedown for a double click\n\t    if (ie && ie_version < 11)\n\t      on(d.scroller, \"dblclick\", operation(cm, function(e) {\n\t        if (signalDOMEvent(cm, e)) return;\n\t        var pos = posFromMouse(cm, e);\n\t        if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) return;\n\t        e_preventDefault(e);\n\t        var word = cm.findWordAt(pos);\n\t        extendSelection(cm.doc, word.anchor, word.head);\n\t      }));\n\t    else\n\t      on(d.scroller, \"dblclick\", function(e) { signalDOMEvent(cm, e) || e_preventDefault(e); });\n\t    // Some browsers fire contextmenu *after* opening the menu, at\n\t    // which point we can't mess with it anymore. Context menu is\n\t    // handled in onMouseDown for these browsers.\n\t    if (!captureRightClick) on(d.scroller, \"contextmenu\", function(e) {onContextMenu(cm, e);});\n\n\t    // Used to suppress mouse event handling when a touch happens\n\t    var touchFinished, prevTouch = {end: 0};\n\t    function finishTouch() {\n\t      if (d.activeTouch) {\n\t        touchFinished = setTimeout(function() {d.activeTouch = null;}, 1000);\n\t        prevTouch = d.activeTouch;\n\t        prevTouch.end = +new Date;\n\t      }\n\t    };\n\t    function isMouseLikeTouchEvent(e) {\n\t      if (e.touches.length != 1) return false;\n\t      var touch = e.touches[0];\n\t      return touch.radiusX <= 1 && touch.radiusY <= 1;\n\t    }\n\t    function farAway(touch, other) {\n\t      if (other.left == null) return true;\n\t      var dx = other.left - touch.left, dy = other.top - touch.top;\n\t      return dx * dx + dy * dy > 20 * 20;\n\t    }\n\t    on(d.scroller, \"touchstart\", function(e) {\n\t      if (!signalDOMEvent(cm, e) && !isMouseLikeTouchEvent(e)) {\n\t        clearTimeout(touchFinished);\n\t        var now = +new Date;\n\t        d.activeTouch = {start: now, moved: false,\n\t                         prev: now - prevTouch.end <= 300 ? prevTouch : null};\n\t        if (e.touches.length == 1) {\n\t          d.activeTouch.left = e.touches[0].pageX;\n\t          d.activeTouch.top = e.touches[0].pageY;\n\t        }\n\t      }\n\t    });\n\t    on(d.scroller, \"touchmove\", function() {\n\t      if (d.activeTouch) d.activeTouch.moved = true;\n\t    });\n\t    on(d.scroller, \"touchend\", function(e) {\n\t      var touch = d.activeTouch;\n\t      if (touch && !eventInWidget(d, e) && touch.left != null &&\n\t          !touch.moved && new Date - touch.start < 300) {\n\t        var pos = cm.coordsChar(d.activeTouch, \"page\"), range;\n\t        if (!touch.prev || farAway(touch, touch.prev)) // Single tap\n\t          range = new Range(pos, pos);\n\t        else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap\n\t          range = cm.findWordAt(pos);\n\t        else // Triple tap\n\t          range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0)));\n\t        cm.setSelection(range.anchor, range.head);\n\t        cm.focus();\n\t        e_preventDefault(e);\n\t      }\n\t      finishTouch();\n\t    });\n\t    on(d.scroller, \"touchcancel\", finishTouch);\n\n\t    // Sync scrolling between fake scrollbars and real scrollable\n\t    // area, ensure viewport is updated when scrolling.\n\t    on(d.scroller, \"scroll\", function() {\n\t      if (d.scroller.clientHeight) {\n\t        setScrollTop(cm, d.scroller.scrollTop);\n\t        setScrollLeft(cm, d.scroller.scrollLeft, true);\n\t        signal(cm, \"scroll\", cm);\n\t      }\n\t    });\n\n\t    // Listen to wheel events in order to try and update the viewport on time.\n\t    on(d.scroller, \"mousewheel\", function(e){onScrollWheel(cm, e);});\n\t    on(d.scroller, \"DOMMouseScroll\", function(e){onScrollWheel(cm, e);});\n\n\t    // Prevent wrapper from ever scrolling\n\t    on(d.wrapper, \"scroll\", function() { d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });\n\n\t    d.dragFunctions = {\n\t      enter: function(e) {if (!signalDOMEvent(cm, e)) e_stop(e);},\n\t      over: function(e) {if (!signalDOMEvent(cm, e)) { onDragOver(cm, e); e_stop(e); }},\n\t      start: function(e){onDragStart(cm, e);},\n\t      drop: operation(cm, onDrop),\n\t      leave: function(e) {if (!signalDOMEvent(cm, e)) { clearDragCursor(cm); }}\n\t    };\n\n\t    var inp = d.input.getField();\n\t    on(inp, \"keyup\", function(e) { onKeyUp.call(cm, e); });\n\t    on(inp, \"keydown\", operation(cm, onKeyDown));\n\t    on(inp, \"keypress\", operation(cm, onKeyPress));\n\t    on(inp, \"focus\", bind(onFocus, cm));\n\t    on(inp, \"blur\", bind(onBlur, cm));\n\t  }\n\n\t  function dragDropChanged(cm, value, old) {\n\t    var wasOn = old && old != CodeMirror.Init;\n\t    if (!value != !wasOn) {\n\t      var funcs = cm.display.dragFunctions;\n\t      var toggle = value ? on : off;\n\t      toggle(cm.display.scroller, \"dragstart\", funcs.start);\n\t      toggle(cm.display.scroller, \"dragenter\", funcs.enter);\n\t      toggle(cm.display.scroller, \"dragover\", funcs.over);\n\t      toggle(cm.display.scroller, \"dragleave\", funcs.leave);\n\t      toggle(cm.display.scroller, \"drop\", funcs.drop);\n\t    }\n\t  }\n\n\t  // Called when the window resizes\n\t  function onResize(cm) {\n\t    var d = cm.display;\n\t    if (d.lastWrapHeight == d.wrapper.clientHeight && d.lastWrapWidth == d.wrapper.clientWidth)\n\t      return;\n\t    // Might be a text scaling operation, clear size caches.\n\t    d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n\t    d.scrollbarsClipped = false;\n\t    cm.setSize();\n\t  }\n\n\t  // MOUSE EVENTS\n\n\t  // Return true when the given mouse event happened in a widget\n\t  function eventInWidget(display, e) {\n\t    for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {\n\t      if (!n || (n.nodeType == 1 && n.getAttribute(\"cm-ignore-events\") == \"true\") ||\n\t          (n.parentNode == display.sizer && n != display.mover))\n\t        return true;\n\t    }\n\t  }\n\n\t  // Given a mouse event, find the corresponding position. If liberal\n\t  // is false, it checks whether a gutter or scrollbar was clicked,\n\t  // and returns null if it was. forRect is used by rectangular\n\t  // selections, and tries to estimate a character position even for\n\t  // coordinates beyond the right of the text.\n\t  function posFromMouse(cm, e, liberal, forRect) {\n\t    var display = cm.display;\n\t    if (!liberal && e_target(e).getAttribute(\"cm-not-content\") == \"true\") return null;\n\n\t    var x, y, space = display.lineSpace.getBoundingClientRect();\n\t    // Fails unpredictably on IE[67] when mouse is dragged around quickly.\n\t    try { x = e.clientX - space.left; y = e.clientY - space.top; }\n\t    catch (e) { return null; }\n\t    var coords = coordsChar(cm, x, y), line;\n\t    if (forRect && coords.xRel == 1 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) {\n\t      var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length;\n\t      coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));\n\t    }\n\t    return coords;\n\t  }\n\n\t  // A mouse down can be a single click, double click, triple click,\n\t  // start of selection drag, start of text drag, new cursor\n\t  // (ctrl-click), rectangle drag (alt-drag), or xwin\n\t  // middle-click-paste. Or it might be a click on something we should\n\t  // not interfere with, such as a scrollbar or widget.\n\t  function onMouseDown(e) {\n\t    var cm = this, display = cm.display;\n\t    if (signalDOMEvent(cm, e) || display.activeTouch && display.input.supportsTouch()) return;\n\t    display.shift = e.shiftKey;\n\n\t    if (eventInWidget(display, e)) {\n\t      if (!webkit) {\n\t        // Briefly turn off draggability, to allow widgets to do\n\t        // normal dragging things.\n\t        display.scroller.draggable = false;\n\t        setTimeout(function(){display.scroller.draggable = true;}, 100);\n\t      }\n\t      return;\n\t    }\n\t    if (clickInGutter(cm, e)) return;\n\t    var start = posFromMouse(cm, e);\n\t    window.focus();\n\n\t    switch (e_button(e)) {\n\t    case 1:\n\t      // #3261: make sure, that we're not starting a second selection\n\t      if (cm.state.selectingText)\n\t        cm.state.selectingText(e);\n\t      else if (start)\n\t        leftButtonDown(cm, e, start);\n\t      else if (e_target(e) == display.scroller)\n\t        e_preventDefault(e);\n\t      break;\n\t    case 2:\n\t      if (webkit) cm.state.lastMiddleDown = +new Date;\n\t      if (start) extendSelection(cm.doc, start);\n\t      setTimeout(function() {display.input.focus();}, 20);\n\t      e_preventDefault(e);\n\t      break;\n\t    case 3:\n\t      if (captureRightClick) onContextMenu(cm, e);\n\t      else delayBlurEvent(cm);\n\t      break;\n\t    }\n\t  }\n\n\t  var lastClick, lastDoubleClick;\n\t  function leftButtonDown(cm, e, start) {\n\t    if (ie) setTimeout(bind(ensureFocus, cm), 0);\n\t    else cm.curOp.focus = activeElt();\n\n\t    var now = +new Date, type;\n\t    if (lastDoubleClick && lastDoubleClick.time > now - 400 && cmp(lastDoubleClick.pos, start) == 0) {\n\t      type = \"triple\";\n\t    } else if (lastClick && lastClick.time > now - 400 && cmp(lastClick.pos, start) == 0) {\n\t      type = \"double\";\n\t      lastDoubleClick = {time: now, pos: start};\n\t    } else {\n\t      type = \"single\";\n\t      lastClick = {time: now, pos: start};\n\t    }\n\n\t    var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained;\n\t    if (cm.options.dragDrop && dragAndDrop && !cm.isReadOnly() &&\n\t        type == \"single\" && (contained = sel.contains(start)) > -1 &&\n\t        (cmp((contained = sel.ranges[contained]).from(), start) < 0 || start.xRel > 0) &&\n\t        (cmp(contained.to(), start) > 0 || start.xRel < 0))\n\t      leftButtonStartDrag(cm, e, start, modifier);\n\t    else\n\t      leftButtonSelect(cm, e, start, type, modifier);\n\t  }\n\n\t  // Start a text drag. When it ends, see if any dragging actually\n\t  // happen, and treat as a click if it didn't.\n\t  function leftButtonStartDrag(cm, e, start, modifier) {\n\t    var display = cm.display, startTime = +new Date;\n\t    var dragEnd = operation(cm, function(e2) {\n\t      if (webkit) display.scroller.draggable = false;\n\t      cm.state.draggingText = false;\n\t      off(document, \"mouseup\", dragEnd);\n\t      off(display.scroller, \"drop\", dragEnd);\n\t      if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) {\n\t        e_preventDefault(e2);\n\t        if (!modifier && +new Date - 200 < startTime)\n\t          extendSelection(cm.doc, start);\n\t        // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081)\n\t        if (webkit || ie && ie_version == 9)\n\t          setTimeout(function() {document.body.focus(); display.input.focus();}, 20);\n\t        else\n\t          display.input.focus();\n\t      }\n\t    });\n\t    // Let the drag handler handle this.\n\t    if (webkit) display.scroller.draggable = true;\n\t    cm.state.draggingText = dragEnd;\n\t    // IE's approach to draggable\n\t    if (display.scroller.dragDrop) display.scroller.dragDrop();\n\t    on(document, \"mouseup\", dragEnd);\n\t    on(display.scroller, \"drop\", dragEnd);\n\t  }\n\n\t  // Normal selection, as opposed to text dragging.\n\t  function leftButtonSelect(cm, e, start, type, addNew) {\n\t    var display = cm.display, doc = cm.doc;\n\t    e_preventDefault(e);\n\n\t    var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges;\n\t    if (addNew && !e.shiftKey) {\n\t      ourIndex = doc.sel.contains(start);\n\t      if (ourIndex > -1)\n\t        ourRange = ranges[ourIndex];\n\t      else\n\t        ourRange = new Range(start, start);\n\t    } else {\n\t      ourRange = doc.sel.primary();\n\t      ourIndex = doc.sel.primIndex;\n\t    }\n\n\t    if (chromeOS ? e.shiftKey && e.metaKey : e.altKey) {\n\t      type = \"rect\";\n\t      if (!addNew) ourRange = new Range(start, start);\n\t      start = posFromMouse(cm, e, true, true);\n\t      ourIndex = -1;\n\t    } else if (type == \"double\") {\n\t      var word = cm.findWordAt(start);\n\t      if (cm.display.shift || doc.extend)\n\t        ourRange = extendRange(doc, ourRange, word.anchor, word.head);\n\t      else\n\t        ourRange = word;\n\t    } else if (type == \"triple\") {\n\t      var line = new Range(Pos(start.line, 0), clipPos(doc, Pos(start.line + 1, 0)));\n\t      if (cm.display.shift || doc.extend)\n\t        ourRange = extendRange(doc, ourRange, line.anchor, line.head);\n\t      else\n\t        ourRange = line;\n\t    } else {\n\t      ourRange = extendRange(doc, ourRange, start);\n\t    }\n\n\t    if (!addNew) {\n\t      ourIndex = 0;\n\t      setSelection(doc, new Selection([ourRange], 0), sel_mouse);\n\t      startSel = doc.sel;\n\t    } else if (ourIndex == -1) {\n\t      ourIndex = ranges.length;\n\t      setSelection(doc, normalizeSelection(ranges.concat([ourRange]), ourIndex),\n\t                   {scroll: false, origin: \"*mouse\"});\n\t    } else if (ranges.length > 1 && ranges[ourIndex].empty() && type == \"single\" && !e.shiftKey) {\n\t      setSelection(doc, normalizeSelection(ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0),\n\t                   {scroll: false, origin: \"*mouse\"});\n\t      startSel = doc.sel;\n\t    } else {\n\t      replaceOneSelection(doc, ourIndex, ourRange, sel_mouse);\n\t    }\n\n\t    var lastPos = start;\n\t    function extendTo(pos) {\n\t      if (cmp(lastPos, pos) == 0) return;\n\t      lastPos = pos;\n\n\t      if (type == \"rect\") {\n\t        var ranges = [], tabSize = cm.options.tabSize;\n\t        var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize);\n\t        var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize);\n\t        var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol);\n\t        for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line));\n\t             line <= end; line++) {\n\t          var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize);\n\t          if (left == right)\n\t            ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos)));\n\t          else if (text.length > leftPos)\n\t            ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize))));\n\t        }\n\t        if (!ranges.length) ranges.push(new Range(start, start));\n\t        setSelection(doc, normalizeSelection(startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex),\n\t                     {origin: \"*mouse\", scroll: false});\n\t        cm.scrollIntoView(pos);\n\t      } else {\n\t        var oldRange = ourRange;\n\t        var anchor = oldRange.anchor, head = pos;\n\t        if (type != \"single\") {\n\t          if (type == \"double\")\n\t            var range = cm.findWordAt(pos);\n\t          else\n\t            var range = new Range(Pos(pos.line, 0), clipPos(doc, Pos(pos.line + 1, 0)));\n\t          if (cmp(range.anchor, anchor) > 0) {\n\t            head = range.head;\n\t            anchor = minPos(oldRange.from(), range.anchor);\n\t          } else {\n\t            head = range.anchor;\n\t            anchor = maxPos(oldRange.to(), range.head);\n\t          }\n\t        }\n\t        var ranges = startSel.ranges.slice(0);\n\t        ranges[ourIndex] = new Range(clipPos(doc, anchor), head);\n\t        setSelection(doc, normalizeSelection(ranges, ourIndex), sel_mouse);\n\t      }\n\t    }\n\n\t    var editorSize = display.wrapper.getBoundingClientRect();\n\t    // Used to ensure timeout re-tries don't fire when another extend\n\t    // happened in the meantime (clearTimeout isn't reliable -- at\n\t    // least on Chrome, the timeouts still happen even when cleared,\n\t    // if the clear happens after their scheduled firing time).\n\t    var counter = 0;\n\n\t    function extend(e) {\n\t      var curCount = ++counter;\n\t      var cur = posFromMouse(cm, e, true, type == \"rect\");\n\t      if (!cur) return;\n\t      if (cmp(cur, lastPos) != 0) {\n\t        cm.curOp.focus = activeElt();\n\t        extendTo(cur);\n\t        var visible = visibleLines(display, doc);\n\t        if (cur.line >= visible.to || cur.line < visible.from)\n\t          setTimeout(operation(cm, function(){if (counter == curCount) extend(e);}), 150);\n\t      } else {\n\t        var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0;\n\t        if (outside) setTimeout(operation(cm, function() {\n\t          if (counter != curCount) return;\n\t          display.scroller.scrollTop += outside;\n\t          extend(e);\n\t        }), 50);\n\t      }\n\t    }\n\n\t    function done(e) {\n\t      cm.state.selectingText = false;\n\t      counter = Infinity;\n\t      e_preventDefault(e);\n\t      display.input.focus();\n\t      off(document, \"mousemove\", move);\n\t      off(document, \"mouseup\", up);\n\t      doc.history.lastSelOrigin = null;\n\t    }\n\n\t    var move = operation(cm, function(e) {\n\t      if (!e_button(e)) done(e);\n\t      else extend(e);\n\t    });\n\t    var up = operation(cm, done);\n\t    cm.state.selectingText = up;\n\t    on(document, \"mousemove\", move);\n\t    on(document, \"mouseup\", up);\n\t  }\n\n\t  // Determines whether an event happened in the gutter, and fires the\n\t  // handlers for the corresponding event.\n\t  function gutterEvent(cm, e, type, prevent) {\n\t    try { var mX = e.clientX, mY = e.clientY; }\n\t    catch(e) { return false; }\n\t    if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) return false;\n\t    if (prevent) e_preventDefault(e);\n\n\t    var display = cm.display;\n\t    var lineBox = display.lineDiv.getBoundingClientRect();\n\n\t    if (mY > lineBox.bottom || !hasHandler(cm, type)) return e_defaultPrevented(e);\n\t    mY -= lineBox.top - display.viewOffset;\n\n\t    for (var i = 0; i < cm.options.gutters.length; ++i) {\n\t      var g = display.gutters.childNodes[i];\n\t      if (g && g.getBoundingClientRect().right >= mX) {\n\t        var line = lineAtHeight(cm.doc, mY);\n\t        var gutter = cm.options.gutters[i];\n\t        signal(cm, type, cm, line, gutter, e);\n\t        return e_defaultPrevented(e);\n\t      }\n\t    }\n\t  }\n\n\t  function clickInGutter(cm, e) {\n\t    return gutterEvent(cm, e, \"gutterClick\", true);\n\t  }\n\n\t  // Kludge to work around strange IE behavior where it'll sometimes\n\t  // re-fire a series of drag-related events right after the drop (#1551)\n\t  var lastDrop = 0;\n\n\t  function onDrop(e) {\n\t    var cm = this;\n\t    clearDragCursor(cm);\n\t    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))\n\t      return;\n\t    e_preventDefault(e);\n\t    if (ie) lastDrop = +new Date;\n\t    var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files;\n\t    if (!pos || cm.isReadOnly()) return;\n\t    // Might be a file drop, in which case we simply extract the text\n\t    // and insert it.\n\t    if (files && files.length && window.FileReader && window.File) {\n\t      var n = files.length, text = Array(n), read = 0;\n\t      var loadFile = function(file, i) {\n\t        if (cm.options.allowDropFileTypes &&\n\t            indexOf(cm.options.allowDropFileTypes, file.type) == -1)\n\t          return;\n\n\t        var reader = new FileReader;\n\t        reader.onload = operation(cm, function() {\n\t          var content = reader.result;\n\t          if (/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(content)) content = \"\";\n\t          text[i] = content;\n\t          if (++read == n) {\n\t            pos = clipPos(cm.doc, pos);\n\t            var change = {from: pos, to: pos,\n\t                          text: cm.doc.splitLines(text.join(cm.doc.lineSeparator())),\n\t                          origin: \"paste\"};\n\t            makeChange(cm.doc, change);\n\t            setSelectionReplaceHistory(cm.doc, simpleSelection(pos, changeEnd(change)));\n\t          }\n\t        });\n\t        reader.readAsText(file);\n\t      };\n\t      for (var i = 0; i < n; ++i) loadFile(files[i], i);\n\t    } else { // Normal drop\n\t      // Don't do a replace if the drop happened inside of the selected text.\n\t      if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) {\n\t        cm.state.draggingText(e);\n\t        // Ensure the editor is re-focused\n\t        setTimeout(function() {cm.display.input.focus();}, 20);\n\t        return;\n\t      }\n\t      try {\n\t        var text = e.dataTransfer.getData(\"Text\");\n\t        if (text) {\n\t          if (cm.state.draggingText && !(mac ? e.altKey : e.ctrlKey))\n\t            var selected = cm.listSelections();\n\t          setSelectionNoUndo(cm.doc, simpleSelection(pos, pos));\n\t          if (selected) for (var i = 0; i < selected.length; ++i)\n\t            replaceRange(cm.doc, \"\", selected[i].anchor, selected[i].head, \"drag\");\n\t          cm.replaceSelection(text, \"around\", \"paste\");\n\t          cm.display.input.focus();\n\t        }\n\t      }\n\t      catch(e){}\n\t    }\n\t  }\n\n\t  function onDragStart(cm, e) {\n\t    if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return; }\n\t    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) return;\n\n\t    e.dataTransfer.setData(\"Text\", cm.getSelection());\n\t    e.dataTransfer.effectAllowed = \"copyMove\"\n\n\t    // Use dummy image instead of default browsers image.\n\t    // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there.\n\t    if (e.dataTransfer.setDragImage && !safari) {\n\t      var img = elt(\"img\", null, null, \"position: fixed; left: 0; top: 0;\");\n\t      img.src = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n\t      if (presto) {\n\t        img.width = img.height = 1;\n\t        cm.display.wrapper.appendChild(img);\n\t        // Force a relayout, or Opera won't use our image for some obscure reason\n\t        img._top = img.offsetTop;\n\t      }\n\t      e.dataTransfer.setDragImage(img, 0, 0);\n\t      if (presto) img.parentNode.removeChild(img);\n\t    }\n\t  }\n\n\t  function onDragOver(cm, e) {\n\t    var pos = posFromMouse(cm, e);\n\t    if (!pos) return;\n\t    var frag = document.createDocumentFragment();\n\t    drawSelectionCursor(cm, pos, frag);\n\t    if (!cm.display.dragCursor) {\n\t      cm.display.dragCursor = elt(\"div\", null, \"CodeMirror-cursors CodeMirror-dragcursors\");\n\t      cm.display.lineSpace.insertBefore(cm.display.dragCursor, cm.display.cursorDiv);\n\t    }\n\t    removeChildrenAndAdd(cm.display.dragCursor, frag);\n\t  }\n\n\t  function clearDragCursor(cm) {\n\t    if (cm.display.dragCursor) {\n\t      cm.display.lineSpace.removeChild(cm.display.dragCursor);\n\t      cm.display.dragCursor = null;\n\t    }\n\t  }\n\n\t  // SCROLL EVENTS\n\n\t  // Sync the scrollable area and scrollbars, ensure the viewport\n\t  // covers the visible area.\n\t  function setScrollTop(cm, val) {\n\t    if (Math.abs(cm.doc.scrollTop - val) < 2) return;\n\t    cm.doc.scrollTop = val;\n\t    if (!gecko) updateDisplaySimple(cm, {top: val});\n\t    if (cm.display.scroller.scrollTop != val) cm.display.scroller.scrollTop = val;\n\t    cm.display.scrollbars.setScrollTop(val);\n\t    if (gecko) updateDisplaySimple(cm);\n\t    startWorker(cm, 100);\n\t  }\n\t  // Sync scroller and scrollbar, ensure the gutter elements are\n\t  // aligned.\n\t  function setScrollLeft(cm, val, isScroller) {\n\t    if (isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) return;\n\t    val = Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth);\n\t    cm.doc.scrollLeft = val;\n\t    alignHorizontally(cm);\n\t    if (cm.display.scroller.scrollLeft != val) cm.display.scroller.scrollLeft = val;\n\t    cm.display.scrollbars.setScrollLeft(val);\n\t  }\n\n\t  // Since the delta values reported on mouse wheel events are\n\t  // unstandardized between browsers and even browser versions, and\n\t  // generally horribly unpredictable, this code starts by measuring\n\t  // the scroll effect that the first few mouse wheel events have,\n\t  // and, from that, detects the way it can convert deltas to pixel\n\t  // offsets afterwards.\n\t  //\n\t  // The reason we want to know the amount a wheel event will scroll\n\t  // is that it gives us a chance to update the display before the\n\t  // actual scrolling happens, reducing flickering.\n\n\t  var wheelSamples = 0, wheelPixelsPerUnit = null;\n\t  // Fill in a browser-detected starting value on browsers where we\n\t  // know one. These don't have to be accurate -- the result of them\n\t  // being wrong would just be a slight flicker on the first wheel\n\t  // scroll (if it is large enough).\n\t  if (ie) wheelPixelsPerUnit = -.53;\n\t  else if (gecko) wheelPixelsPerUnit = 15;\n\t  else if (chrome) wheelPixelsPerUnit = -.7;\n\t  else if (safari) wheelPixelsPerUnit = -1/3;\n\n\t  var wheelEventDelta = function(e) {\n\t    var dx = e.wheelDeltaX, dy = e.wheelDeltaY;\n\t    if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) dx = e.detail;\n\t    if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) dy = e.detail;\n\t    else if (dy == null) dy = e.wheelDelta;\n\t    return {x: dx, y: dy};\n\t  };\n\t  CodeMirror.wheelEventPixels = function(e) {\n\t    var delta = wheelEventDelta(e);\n\t    delta.x *= wheelPixelsPerUnit;\n\t    delta.y *= wheelPixelsPerUnit;\n\t    return delta;\n\t  };\n\n\t  function onScrollWheel(cm, e) {\n\t    var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;\n\n\t    var display = cm.display, scroll = display.scroller;\n\t    // Quit if there's nothing to scroll here\n\t    var canScrollX = scroll.scrollWidth > scroll.clientWidth;\n\t    var canScrollY = scroll.scrollHeight > scroll.clientHeight;\n\t    if (!(dx && canScrollX || dy && canScrollY)) return;\n\n\t    // Webkit browsers on OS X abort momentum scrolls when the target\n\t    // of the scroll event is removed from the scrollable element.\n\t    // This hack (see related code in patchDisplay) makes sure the\n\t    // element is kept around.\n\t    if (dy && mac && webkit) {\n\t      outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) {\n\t        for (var i = 0; i < view.length; i++) {\n\t          if (view[i].node == cur) {\n\t            cm.display.currentWheelTarget = cur;\n\t            break outer;\n\t          }\n\t        }\n\t      }\n\t    }\n\n\t    // On some browsers, horizontal scrolling will cause redraws to\n\t    // happen before the gutter has been realigned, causing it to\n\t    // wriggle around in a most unseemly way. When we have an\n\t    // estimated pixels/delta value, we just handle horizontal\n\t    // scrolling entirely here. It'll be slightly off from native, but\n\t    // better than glitching out.\n\t    if (dx && !gecko && !presto && wheelPixelsPerUnit != null) {\n\t      if (dy && canScrollY)\n\t        setScrollTop(cm, Math.max(0, Math.min(scroll.scrollTop + dy * wheelPixelsPerUnit, scroll.scrollHeight - scroll.clientHeight)));\n\t      setScrollLeft(cm, Math.max(0, Math.min(scroll.scrollLeft + dx * wheelPixelsPerUnit, scroll.scrollWidth - scroll.clientWidth)));\n\t      // Only prevent default scrolling if vertical scrolling is\n\t      // actually possible. Otherwise, it causes vertical scroll\n\t      // jitter on OSX trackpads when deltaX is small and deltaY\n\t      // is large (issue #3579)\n\t      if (!dy || (dy && canScrollY))\n\t        e_preventDefault(e);\n\t      display.wheelStartX = null; // Abort measurement, if in progress\n\t      return;\n\t    }\n\n\t    // 'Project' the visible viewport to cover the area that is being\n\t    // scrolled into view (if we know enough to estimate it).\n\t    if (dy && wheelPixelsPerUnit != null) {\n\t      var pixels = dy * wheelPixelsPerUnit;\n\t      var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight;\n\t      if (pixels < 0) top = Math.max(0, top + pixels - 50);\n\t      else bot = Math.min(cm.doc.height, bot + pixels + 50);\n\t      updateDisplaySimple(cm, {top: top, bottom: bot});\n\t    }\n\n\t    if (wheelSamples < 20) {\n\t      if (display.wheelStartX == null) {\n\t        display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop;\n\t        display.wheelDX = dx; display.wheelDY = dy;\n\t        setTimeout(function() {\n\t          if (display.wheelStartX == null) return;\n\t          var movedX = scroll.scrollLeft - display.wheelStartX;\n\t          var movedY = scroll.scrollTop - display.wheelStartY;\n\t          var sample = (movedY && display.wheelDY && movedY / display.wheelDY) ||\n\t            (movedX && display.wheelDX && movedX / display.wheelDX);\n\t          display.wheelStartX = display.wheelStartY = null;\n\t          if (!sample) return;\n\t          wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1);\n\t          ++wheelSamples;\n\t        }, 200);\n\t      } else {\n\t        display.wheelDX += dx; display.wheelDY += dy;\n\t      }\n\t    }\n\t  }\n\n\t  // KEY EVENTS\n\n\t  // Run a handler that was bound to a key.\n\t  function doHandleBinding(cm, bound, dropShift) {\n\t    if (typeof bound == \"string\") {\n\t      bound = commands[bound];\n\t      if (!bound) return false;\n\t    }\n\t    // Ensure previous input has been read, so that the handler sees a\n\t    // consistent view of the document\n\t    cm.display.input.ensurePolled();\n\t    var prevShift = cm.display.shift, done = false;\n\t    try {\n\t      if (cm.isReadOnly()) cm.state.suppressEdits = true;\n\t      if (dropShift) cm.display.shift = false;\n\t      done = bound(cm) != Pass;\n\t    } finally {\n\t      cm.display.shift = prevShift;\n\t      cm.state.suppressEdits = false;\n\t    }\n\t    return done;\n\t  }\n\n\t  function lookupKeyForEditor(cm, name, handle) {\n\t    for (var i = 0; i < cm.state.keyMaps.length; i++) {\n\t      var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);\n\t      if (result) return result;\n\t    }\n\t    return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))\n\t      || lookupKey(name, cm.options.keyMap, handle, cm);\n\t  }\n\n\t  var stopSeq = new Delayed;\n\t  function dispatchKey(cm, name, e, handle) {\n\t    var seq = cm.state.keySeq;\n\t    if (seq) {\n\t      if (isModifierKey(name)) return \"handled\";\n\t      stopSeq.set(50, function() {\n\t        if (cm.state.keySeq == seq) {\n\t          cm.state.keySeq = null;\n\t          cm.display.input.reset();\n\t        }\n\t      });\n\t      name = seq + \" \" + name;\n\t    }\n\t    var result = lookupKeyForEditor(cm, name, handle);\n\n\t    if (result == \"multi\")\n\t      cm.state.keySeq = name;\n\t    if (result == \"handled\")\n\t      signalLater(cm, \"keyHandled\", cm, name, e);\n\n\t    if (result == \"handled\" || result == \"multi\") {\n\t      e_preventDefault(e);\n\t      restartBlink(cm);\n\t    }\n\n\t    if (seq && !result && /\\'$/.test(name)) {\n\t      e_preventDefault(e);\n\t      return true;\n\t    }\n\t    return !!result;\n\t  }\n\n\t  // Handle a key from the keydown event.\n\t  function handleKeyBinding(cm, e) {\n\t    var name = keyName(e, true);\n\t    if (!name) return false;\n\n\t    if (e.shiftKey && !cm.state.keySeq) {\n\t      // First try to resolve full name (including 'Shift-'). Failing\n\t      // that, see if there is a cursor-motion command (starting with\n\t      // 'go') bound to the keyname without 'Shift-'.\n\t      return dispatchKey(cm, \"Shift-\" + name, e, function(b) {return doHandleBinding(cm, b, true);})\n\t          || dispatchKey(cm, name, e, function(b) {\n\t               if (typeof b == \"string\" ? /^go[A-Z]/.test(b) : b.motion)\n\t                 return doHandleBinding(cm, b);\n\t             });\n\t    } else {\n\t      return dispatchKey(cm, name, e, function(b) { return doHandleBinding(cm, b); });\n\t    }\n\t  }\n\n\t  // Handle a key from the keypress event\n\t  function handleCharBinding(cm, e, ch) {\n\t    return dispatchKey(cm, \"'\" + ch + \"'\", e,\n\t                       function(b) { return doHandleBinding(cm, b, true); });\n\t  }\n\n\t  var lastStoppedKey = null;\n\t  function onKeyDown(e) {\n\t    var cm = this;\n\t    cm.curOp.focus = activeElt();\n\t    if (signalDOMEvent(cm, e)) return;\n\t    // IE does strange things with escape.\n\t    if (ie && ie_version < 11 && e.keyCode == 27) e.returnValue = false;\n\t    var code = e.keyCode;\n\t    cm.display.shift = code == 16 || e.shiftKey;\n\t    var handled = handleKeyBinding(cm, e);\n\t    if (presto) {\n\t      lastStoppedKey = handled ? code : null;\n\t      // Opera has no cut event... we try to at least catch the key combo\n\t      if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey))\n\t        cm.replaceSelection(\"\", null, \"cut\");\n\t    }\n\n\t    // Turn mouse into crosshair when Alt is held on Mac.\n\t    if (code == 18 && !/\\bCodeMirror-crosshair\\b/.test(cm.display.lineDiv.className))\n\t      showCrossHair(cm);\n\t  }\n\n\t  function showCrossHair(cm) {\n\t    var lineDiv = cm.display.lineDiv;\n\t    addClass(lineDiv, \"CodeMirror-crosshair\");\n\n\t    function up(e) {\n\t      if (e.keyCode == 18 || !e.altKey) {\n\t        rmClass(lineDiv, \"CodeMirror-crosshair\");\n\t        off(document, \"keyup\", up);\n\t        off(document, \"mouseover\", up);\n\t      }\n\t    }\n\t    on(document, \"keyup\", up);\n\t    on(document, \"mouseover\", up);\n\t  }\n\n\t  function onKeyUp(e) {\n\t    if (e.keyCode == 16) this.doc.sel.shift = false;\n\t    signalDOMEvent(this, e);\n\t  }\n\n\t  function onKeyPress(e) {\n\t    var cm = this;\n\t    if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) return;\n\t    var keyCode = e.keyCode, charCode = e.charCode;\n\t    if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;}\n\t    if ((presto && (!e.which || e.which < 10)) && handleKeyBinding(cm, e)) return;\n\t    var ch = String.fromCharCode(charCode == null ? keyCode : charCode);\n\t    if (handleCharBinding(cm, e, ch)) return;\n\t    cm.display.input.onKeyPress(e);\n\t  }\n\n\t  // FOCUS/BLUR EVENTS\n\n\t  function delayBlurEvent(cm) {\n\t    cm.state.delayingBlurEvent = true;\n\t    setTimeout(function() {\n\t      if (cm.state.delayingBlurEvent) {\n\t        cm.state.delayingBlurEvent = false;\n\t        onBlur(cm);\n\t      }\n\t    }, 100);\n\t  }\n\n\t  function onFocus(cm) {\n\t    if (cm.state.delayingBlurEvent) cm.state.delayingBlurEvent = false;\n\n\t    if (cm.options.readOnly == \"nocursor\") return;\n\t    if (!cm.state.focused) {\n\t      signal(cm, \"focus\", cm);\n\t      cm.state.focused = true;\n\t      addClass(cm.display.wrapper, \"CodeMirror-focused\");\n\t      // This test prevents this from firing when a context\n\t      // menu is closed (since the input reset would kill the\n\t      // select-all detection hack)\n\t      if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) {\n\t        cm.display.input.reset();\n\t        if (webkit) setTimeout(function() { cm.display.input.reset(true); }, 20); // Issue #1730\n\t      }\n\t      cm.display.input.receivedFocus();\n\t    }\n\t    restartBlink(cm);\n\t  }\n\t  function onBlur(cm) {\n\t    if (cm.state.delayingBlurEvent) return;\n\n\t    if (cm.state.focused) {\n\t      signal(cm, \"blur\", cm);\n\t      cm.state.focused = false;\n\t      rmClass(cm.display.wrapper, \"CodeMirror-focused\");\n\t    }\n\t    clearInterval(cm.display.blinker);\n\t    setTimeout(function() {if (!cm.state.focused) cm.display.shift = false;}, 150);\n\t  }\n\n\t  // CONTEXT MENU HANDLING\n\n\t  // To make the context menu work, we need to briefly unhide the\n\t  // textarea (making it as unobtrusive as possible) to let the\n\t  // right-click take effect on it.\n\t  function onContextMenu(cm, e) {\n\t    if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) return;\n\t    if (signalDOMEvent(cm, e, \"contextmenu\")) return;\n\t    cm.display.input.onContextMenu(e);\n\t  }\n\n\t  function contextMenuInGutter(cm, e) {\n\t    if (!hasHandler(cm, \"gutterContextMenu\")) return false;\n\t    return gutterEvent(cm, e, \"gutterContextMenu\", false);\n\t  }\n\n\t  // UPDATING\n\n\t  // Compute the position of the end of a change (its 'to' property\n\t  // refers to the pre-change end).\n\t  var changeEnd = CodeMirror.changeEnd = function(change) {\n\t    if (!change.text) return change.to;\n\t    return Pos(change.from.line + change.text.length - 1,\n\t               lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0));\n\t  };\n\n\t  // Adjust a position to refer to the post-change position of the\n\t  // same text, or the end of the change if the change covers it.\n\t  function adjustForChange(pos, change) {\n\t    if (cmp(pos, change.from) < 0) return pos;\n\t    if (cmp(pos, change.to) <= 0) return changeEnd(change);\n\n\t    var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch;\n\t    if (pos.line == change.to.line) ch += changeEnd(change).ch - change.to.ch;\n\t    return Pos(line, ch);\n\t  }\n\n\t  function computeSelAfterChange(doc, change) {\n\t    var out = [];\n\t    for (var i = 0; i < doc.sel.ranges.length; i++) {\n\t      var range = doc.sel.ranges[i];\n\t      out.push(new Range(adjustForChange(range.anchor, change),\n\t                         adjustForChange(range.head, change)));\n\t    }\n\t    return normalizeSelection(out, doc.sel.primIndex);\n\t  }\n\n\t  function offsetPos(pos, old, nw) {\n\t    if (pos.line == old.line)\n\t      return Pos(nw.line, pos.ch - old.ch + nw.ch);\n\t    else\n\t      return Pos(nw.line + (pos.line - old.line), pos.ch);\n\t  }\n\n\t  // Used by replaceSelections to allow moving the selection to the\n\t  // start or around the replaced test. Hint may be \"start\" or \"around\".\n\t  function computeReplacedSel(doc, changes, hint) {\n\t    var out = [];\n\t    var oldPrev = Pos(doc.first, 0), newPrev = oldPrev;\n\t    for (var i = 0; i < changes.length; i++) {\n\t      var change = changes[i];\n\t      var from = offsetPos(change.from, oldPrev, newPrev);\n\t      var to = offsetPos(changeEnd(change), oldPrev, newPrev);\n\t      oldPrev = change.to;\n\t      newPrev = to;\n\t      if (hint == \"around\") {\n\t        var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0;\n\t        out[i] = new Range(inv ? to : from, inv ? from : to);\n\t      } else {\n\t        out[i] = new Range(from, from);\n\t      }\n\t    }\n\t    return new Selection(out, doc.sel.primIndex);\n\t  }\n\n\t  // Allow \"beforeChange\" event handlers to influence a change\n\t  function filterChange(doc, change, update) {\n\t    var obj = {\n\t      canceled: false,\n\t      from: change.from,\n\t      to: change.to,\n\t      text: change.text,\n\t      origin: change.origin,\n\t      cancel: function() { this.canceled = true; }\n\t    };\n\t    if (update) obj.update = function(from, to, text, origin) {\n\t      if (from) this.from = clipPos(doc, from);\n\t      if (to) this.to = clipPos(doc, to);\n\t      if (text) this.text = text;\n\t      if (origin !== undefined) this.origin = origin;\n\t    };\n\t    signal(doc, \"beforeChange\", doc, obj);\n\t    if (doc.cm) signal(doc.cm, \"beforeChange\", doc.cm, obj);\n\n\t    if (obj.canceled) return null;\n\t    return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin};\n\t  }\n\n\t  // Apply a change to a document, and add it to the document's\n\t  // history, and propagating it to all linked documents.\n\t  function makeChange(doc, change, ignoreReadOnly) {\n\t    if (doc.cm) {\n\t      if (!doc.cm.curOp) return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly);\n\t      if (doc.cm.state.suppressEdits) return;\n\t    }\n\n\t    if (hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\")) {\n\t      change = filterChange(doc, change, true);\n\t      if (!change) return;\n\t    }\n\n\t    // Possibly split or suppress the update based on the presence\n\t    // of read-only spans in its range.\n\t    var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to);\n\t    if (split) {\n\t      for (var i = split.length - 1; i >= 0; --i)\n\t        makeChangeInner(doc, {from: split[i].from, to: split[i].to, text: i ? [\"\"] : change.text});\n\t    } else {\n\t      makeChangeInner(doc, change);\n\t    }\n\t  }\n\n\t  function makeChangeInner(doc, change) {\n\t    if (change.text.length == 1 && change.text[0] == \"\" && cmp(change.from, change.to) == 0) return;\n\t    var selAfter = computeSelAfterChange(doc, change);\n\t    addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN);\n\n\t    makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change));\n\t    var rebased = [];\n\n\t    linkedDocs(doc, function(doc, sharedHist) {\n\t      if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n\t        rebaseHist(doc.history, change);\n\t        rebased.push(doc.history);\n\t      }\n\t      makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change));\n\t    });\n\t  }\n\n\t  // Revert a change stored in a document's history.\n\t  function makeChangeFromHistory(doc, type, allowSelectionOnly) {\n\t    if (doc.cm && doc.cm.state.suppressEdits) return;\n\n\t    var hist = doc.history, event, selAfter = doc.sel;\n\t    var source = type == \"undo\" ? hist.done : hist.undone, dest = type == \"undo\" ? hist.undone : hist.done;\n\n\t    // Verify that there is a useable event (so that ctrl-z won't\n\t    // needlessly clear selection events)\n\t    for (var i = 0; i < source.length; i++) {\n\t      event = source[i];\n\t      if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges)\n\t        break;\n\t    }\n\t    if (i == source.length) return;\n\t    hist.lastOrigin = hist.lastSelOrigin = null;\n\n\t    for (;;) {\n\t      event = source.pop();\n\t      if (event.ranges) {\n\t        pushSelectionToHistory(event, dest);\n\t        if (allowSelectionOnly && !event.equals(doc.sel)) {\n\t          setSelection(doc, event, {clearRedo: false});\n\t          return;\n\t        }\n\t        selAfter = event;\n\t      }\n\t      else break;\n\t    }\n\n\t    // Build up a reverse change object to add to the opposite history\n\t    // stack (redo when undoing, and vice versa).\n\t    var antiChanges = [];\n\t    pushSelectionToHistory(selAfter, dest);\n\t    dest.push({changes: antiChanges, generation: hist.generation});\n\t    hist.generation = event.generation || ++hist.maxGeneration;\n\n\t    var filter = hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\");\n\n\t    for (var i = event.changes.length - 1; i >= 0; --i) {\n\t      var change = event.changes[i];\n\t      change.origin = type;\n\t      if (filter && !filterChange(doc, change, false)) {\n\t        source.length = 0;\n\t        return;\n\t      }\n\n\t      antiChanges.push(historyChangeFromChange(doc, change));\n\n\t      var after = i ? computeSelAfterChange(doc, change) : lst(source);\n\t      makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));\n\t      if (!i && doc.cm) doc.cm.scrollIntoView({from: change.from, to: changeEnd(change)});\n\t      var rebased = [];\n\n\t      // Propagate to the linked documents\n\t      linkedDocs(doc, function(doc, sharedHist) {\n\t        if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n\t          rebaseHist(doc.history, change);\n\t          rebased.push(doc.history);\n\t        }\n\t        makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change));\n\t      });\n\t    }\n\t  }\n\n\t  // Sub-views need their line numbers shifted when text is added\n\t  // above or below them in the parent document.\n\t  function shiftDoc(doc, distance) {\n\t    if (distance == 0) return;\n\t    doc.first += distance;\n\t    doc.sel = new Selection(map(doc.sel.ranges, function(range) {\n\t      return new Range(Pos(range.anchor.line + distance, range.anchor.ch),\n\t                       Pos(range.head.line + distance, range.head.ch));\n\t    }), doc.sel.primIndex);\n\t    if (doc.cm) {\n\t      regChange(doc.cm, doc.first, doc.first - distance, distance);\n\t      for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++)\n\t        regLineChange(doc.cm, l, \"gutter\");\n\t    }\n\t  }\n\n\t  // More lower-level change function, handling only a single document\n\t  // (not linked ones).\n\t  function makeChangeSingleDoc(doc, change, selAfter, spans) {\n\t    if (doc.cm && !doc.cm.curOp)\n\t      return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans);\n\n\t    if (change.to.line < doc.first) {\n\t      shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line));\n\t      return;\n\t    }\n\t    if (change.from.line > doc.lastLine()) return;\n\n\t    // Clip the change to the size of this doc\n\t    if (change.from.line < doc.first) {\n\t      var shift = change.text.length - 1 - (doc.first - change.from.line);\n\t      shiftDoc(doc, shift);\n\t      change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch),\n\t                text: [lst(change.text)], origin: change.origin};\n\t    }\n\t    var last = doc.lastLine();\n\t    if (change.to.line > last) {\n\t      change = {from: change.from, to: Pos(last, getLine(doc, last).text.length),\n\t                text: [change.text[0]], origin: change.origin};\n\t    }\n\n\t    change.removed = getBetween(doc, change.from, change.to);\n\n\t    if (!selAfter) selAfter = computeSelAfterChange(doc, change);\n\t    if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans);\n\t    else updateDoc(doc, change, spans);\n\t    setSelectionNoUndo(doc, selAfter, sel_dontScroll);\n\t  }\n\n\t  // Handle the interaction of a change to a document with the editor\n\t  // that this document is part of.\n\t  function makeChangeSingleDocInEditor(cm, change, spans) {\n\t    var doc = cm.doc, display = cm.display, from = change.from, to = change.to;\n\n\t    var recomputeMaxLength = false, checkWidthStart = from.line;\n\t    if (!cm.options.lineWrapping) {\n\t      checkWidthStart = lineNo(visualLine(getLine(doc, from.line)));\n\t      doc.iter(checkWidthStart, to.line + 1, function(line) {\n\t        if (line == display.maxLine) {\n\t          recomputeMaxLength = true;\n\t          return true;\n\t        }\n\t      });\n\t    }\n\n\t    if (doc.sel.contains(change.from, change.to) > -1)\n\t      signalCursorActivity(cm);\n\n\t    updateDoc(doc, change, spans, estimateHeight(cm));\n\n\t    if (!cm.options.lineWrapping) {\n\t      doc.iter(checkWidthStart, from.line + change.text.length, function(line) {\n\t        var len = lineLength(line);\n\t        if (len > display.maxLineLength) {\n\t          display.maxLine = line;\n\t          display.maxLineLength = len;\n\t          display.maxLineChanged = true;\n\t          recomputeMaxLength = false;\n\t        }\n\t      });\n\t      if (recomputeMaxLength) cm.curOp.updateMaxLine = true;\n\t    }\n\n\t    // Adjust frontier, schedule worker\n\t    doc.frontier = Math.min(doc.frontier, from.line);\n\t    startWorker(cm, 400);\n\n\t    var lendiff = change.text.length - (to.line - from.line) - 1;\n\t    // Remember that these lines changed, for updating the display\n\t    if (change.full)\n\t      regChange(cm);\n\t    else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change))\n\t      regLineChange(cm, from.line, \"text\");\n\t    else\n\t      regChange(cm, from.line, to.line + 1, lendiff);\n\n\t    var changesHandler = hasHandler(cm, \"changes\"), changeHandler = hasHandler(cm, \"change\");\n\t    if (changeHandler || changesHandler) {\n\t      var obj = {\n\t        from: from, to: to,\n\t        text: change.text,\n\t        removed: change.removed,\n\t        origin: change.origin\n\t      };\n\t      if (changeHandler) signalLater(cm, \"change\", cm, obj);\n\t      if (changesHandler) (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj);\n\t    }\n\t    cm.display.selForContextMenu = null;\n\t  }\n\n\t  function replaceRange(doc, code, from, to, origin) {\n\t    if (!to) to = from;\n\t    if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; }\n\t    if (typeof code == \"string\") code = doc.splitLines(code);\n\t    makeChange(doc, {from: from, to: to, text: code, origin: origin});\n\t  }\n\n\t  // SCROLLING THINGS INTO VIEW\n\n\t  // If an editor sits on the top or bottom of the window, partially\n\t  // scrolled out of view, this ensures that the cursor is visible.\n\t  function maybeScrollWindow(cm, coords) {\n\t    if (signalDOMEvent(cm, \"scrollCursorIntoView\")) return;\n\n\t    var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null;\n\t    if (coords.top + box.top < 0) doScroll = true;\n\t    else if (coords.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false;\n\t    if (doScroll != null && !phantom) {\n\t      var scrollNode = elt(\"div\", \"\\u200b\", null, \"position: absolute; top: \" +\n\t                           (coords.top - display.viewOffset - paddingTop(cm.display)) + \"px; height: \" +\n\t                           (coords.bottom - coords.top + scrollGap(cm) + display.barHeight) + \"px; left: \" +\n\t                           coords.left + \"px; width: 2px;\");\n\t      cm.display.lineSpace.appendChild(scrollNode);\n\t      scrollNode.scrollIntoView(doScroll);\n\t      cm.display.lineSpace.removeChild(scrollNode);\n\t    }\n\t  }\n\n\t  // Scroll a given position into view (immediately), verifying that\n\t  // it actually became visible (as line heights are accurately\n\t  // measured, the position of something may 'drift' during drawing).\n\t  function scrollPosIntoView(cm, pos, end, margin) {\n\t    if (margin == null) margin = 0;\n\t    for (var limit = 0; limit < 5; limit++) {\n\t      var changed = false, coords = cursorCoords(cm, pos);\n\t      var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);\n\t      var scrollPos = calculateScrollPos(cm, Math.min(coords.left, endCoords.left),\n\t                                         Math.min(coords.top, endCoords.top) - margin,\n\t                                         Math.max(coords.left, endCoords.left),\n\t                                         Math.max(coords.bottom, endCoords.bottom) + margin);\n\t      var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;\n\t      if (scrollPos.scrollTop != null) {\n\t        setScrollTop(cm, scrollPos.scrollTop);\n\t        if (Math.abs(cm.doc.scrollTop - startTop) > 1) changed = true;\n\t      }\n\t      if (scrollPos.scrollLeft != null) {\n\t        setScrollLeft(cm, scrollPos.scrollLeft);\n\t        if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) changed = true;\n\t      }\n\t      if (!changed) break;\n\t    }\n\t    return coords;\n\t  }\n\n\t  // Scroll a given set of coordinates into view (immediately).\n\t  function scrollIntoView(cm, x1, y1, x2, y2) {\n\t    var scrollPos = calculateScrollPos(cm, x1, y1, x2, y2);\n\t    if (scrollPos.scrollTop != null) setScrollTop(cm, scrollPos.scrollTop);\n\t    if (scrollPos.scrollLeft != null) setScrollLeft(cm, scrollPos.scrollLeft);\n\t  }\n\n\t  // Calculate a new scroll position needed to scroll the given\n\t  // rectangle into view. Returns an object with scrollTop and\n\t  // scrollLeft properties. When these are undefined, the\n\t  // vertical/horizontal position does not need to be adjusted.\n\t  function calculateScrollPos(cm, x1, y1, x2, y2) {\n\t    var display = cm.display, snapMargin = textHeight(cm.display);\n\t    if (y1 < 0) y1 = 0;\n\t    var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop;\n\t    var screen = displayHeight(cm), result = {};\n\t    if (y2 - y1 > screen) y2 = y1 + screen;\n\t    var docBottom = cm.doc.height + paddingVert(display);\n\t    var atTop = y1 < snapMargin, atBottom = y2 > docBottom - snapMargin;\n\t    if (y1 < screentop) {\n\t      result.scrollTop = atTop ? 0 : y1;\n\t    } else if (y2 > screentop + screen) {\n\t      var newTop = Math.min(y1, (atBottom ? docBottom : y2) - screen);\n\t      if (newTop != screentop) result.scrollTop = newTop;\n\t    }\n\n\t    var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft;\n\t    var screenw = displayWidth(cm) - (cm.options.fixedGutter ? display.gutters.offsetWidth : 0);\n\t    var tooWide = x2 - x1 > screenw;\n\t    if (tooWide) x2 = x1 + screenw;\n\t    if (x1 < 10)\n\t      result.scrollLeft = 0;\n\t    else if (x1 < screenleft)\n\t      result.scrollLeft = Math.max(0, x1 - (tooWide ? 0 : 10));\n\t    else if (x2 > screenw + screenleft - 3)\n\t      result.scrollLeft = x2 + (tooWide ? 0 : 10) - screenw;\n\t    return result;\n\t  }\n\n\t  // Store a relative adjustment to the scroll position in the current\n\t  // operation (to be applied when the operation finishes).\n\t  function addToScrollPos(cm, left, top) {\n\t    if (left != null || top != null) resolveScrollToPos(cm);\n\t    if (left != null)\n\t      cm.curOp.scrollLeft = (cm.curOp.scrollLeft == null ? cm.doc.scrollLeft : cm.curOp.scrollLeft) + left;\n\t    if (top != null)\n\t      cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top;\n\t  }\n\n\t  // Make sure that at the end of the operation the current cursor is\n\t  // shown.\n\t  function ensureCursorVisible(cm) {\n\t    resolveScrollToPos(cm);\n\t    var cur = cm.getCursor(), from = cur, to = cur;\n\t    if (!cm.options.lineWrapping) {\n\t      from = cur.ch ? Pos(cur.line, cur.ch - 1) : cur;\n\t      to = Pos(cur.line, cur.ch + 1);\n\t    }\n\t    cm.curOp.scrollToPos = {from: from, to: to, margin: cm.options.cursorScrollMargin, isCursor: true};\n\t  }\n\n\t  // When an operation has its scrollToPos property set, and another\n\t  // scroll action is applied before the end of the operation, this\n\t  // 'simulates' scrolling that position into view in a cheap way, so\n\t  // that the effect of intermediate scroll commands is not ignored.\n\t  function resolveScrollToPos(cm) {\n\t    var range = cm.curOp.scrollToPos;\n\t    if (range) {\n\t      cm.curOp.scrollToPos = null;\n\t      var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to);\n\t      var sPos = calculateScrollPos(cm, Math.min(from.left, to.left),\n\t                                    Math.min(from.top, to.top) - range.margin,\n\t                                    Math.max(from.right, to.right),\n\t                                    Math.max(from.bottom, to.bottom) + range.margin);\n\t      cm.scrollTo(sPos.scrollLeft, sPos.scrollTop);\n\t    }\n\t  }\n\n\t  // API UTILITIES\n\n\t  // Indent the given line. The how parameter can be \"smart\",\n\t  // \"add\"/null, \"subtract\", or \"prev\". When aggressive is false\n\t  // (typically set to true for forced single-line indents), empty\n\t  // lines are not indented, and places where the mode returns Pass\n\t  // are left alone.\n\t  function indentLine(cm, n, how, aggressive) {\n\t    var doc = cm.doc, state;\n\t    if (how == null) how = \"add\";\n\t    if (how == \"smart\") {\n\t      // Fall back to \"prev\" when the mode doesn't have an indentation\n\t      // method.\n\t      if (!doc.mode.indent) how = \"prev\";\n\t      else state = getStateBefore(cm, n);\n\t    }\n\n\t    var tabSize = cm.options.tabSize;\n\t    var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize);\n\t    if (line.stateAfter) line.stateAfter = null;\n\t    var curSpaceString = line.text.match(/^\\s*/)[0], indentation;\n\t    if (!aggressive && !/\\S/.test(line.text)) {\n\t      indentation = 0;\n\t      how = \"not\";\n\t    } else if (how == \"smart\") {\n\t      indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text);\n\t      if (indentation == Pass || indentation > 150) {\n\t        if (!aggressive) return;\n\t        how = \"prev\";\n\t      }\n\t    }\n\t    if (how == \"prev\") {\n\t      if (n > doc.first) indentation = countColumn(getLine(doc, n-1).text, null, tabSize);\n\t      else indentation = 0;\n\t    } else if (how == \"add\") {\n\t      indentation = curSpace + cm.options.indentUnit;\n\t    } else if (how == \"subtract\") {\n\t      indentation = curSpace - cm.options.indentUnit;\n\t    } else if (typeof how == \"number\") {\n\t      indentation = curSpace + how;\n\t    }\n\t    indentation = Math.max(0, indentation);\n\n\t    var indentString = \"\", pos = 0;\n\t    if (cm.options.indentWithTabs)\n\t      for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += \"\\t\";}\n\t    if (pos < indentation) indentString += spaceStr(indentation - pos);\n\n\t    if (indentString != curSpaceString) {\n\t      replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), \"+input\");\n\t      line.stateAfter = null;\n\t      return true;\n\t    } else {\n\t      // Ensure that, if the cursor was in the whitespace at the start\n\t      // of the line, it is moved to the end of that space.\n\t      for (var i = 0; i < doc.sel.ranges.length; i++) {\n\t        var range = doc.sel.ranges[i];\n\t        if (range.head.line == n && range.head.ch < curSpaceString.length) {\n\t          var pos = Pos(n, curSpaceString.length);\n\t          replaceOneSelection(doc, i, new Range(pos, pos));\n\t          break;\n\t        }\n\t      }\n\t    }\n\t  }\n\n\t  // Utility for applying a change to a line by handle or number,\n\t  // returning the number and optionally registering the line as\n\t  // changed.\n\t  function changeLine(doc, handle, changeType, op) {\n\t    var no = handle, line = handle;\n\t    if (typeof handle == \"number\") line = getLine(doc, clipLine(doc, handle));\n\t    else no = lineNo(handle);\n\t    if (no == null) return null;\n\t    if (op(line, no) && doc.cm) regLineChange(doc.cm, no, changeType);\n\t    return line;\n\t  }\n\n\t  // Helper for deleting text near the selection(s), used to implement\n\t  // backspace, delete, and similar functionality.\n\t  function deleteNearSelection(cm, compute) {\n\t    var ranges = cm.doc.sel.ranges, kill = [];\n\t    // Build up a set of ranges to kill first, merging overlapping\n\t    // ranges.\n\t    for (var i = 0; i < ranges.length; i++) {\n\t      var toKill = compute(ranges[i]);\n\t      while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) {\n\t        var replaced = kill.pop();\n\t        if (cmp(replaced.from, toKill.from) < 0) {\n\t          toKill.from = replaced.from;\n\t          break;\n\t        }\n\t      }\n\t      kill.push(toKill);\n\t    }\n\t    // Next, remove those actual ranges.\n\t    runInOp(cm, function() {\n\t      for (var i = kill.length - 1; i >= 0; i--)\n\t        replaceRange(cm.doc, \"\", kill[i].from, kill[i].to, \"+delete\");\n\t      ensureCursorVisible(cm);\n\t    });\n\t  }\n\n\t  // Used for horizontal relative motion. Dir is -1 or 1 (left or\n\t  // right), unit can be \"char\", \"column\" (like char, but doesn't\n\t  // cross line boundaries), \"word\" (across next word), or \"group\" (to\n\t  // the start of next group of word or non-word-non-whitespace\n\t  // chars). The visually param controls whether, in right-to-left\n\t  // text, direction 1 means to move towards the next index in the\n\t  // string, or towards the character to the right of the current\n\t  // position. The resulting position will have a hitSide=true\n\t  // property if it reached the end of the document.\n\t  function findPosH(doc, pos, dir, unit, visually) {\n\t    var line = pos.line, ch = pos.ch, origDir = dir;\n\t    var lineObj = getLine(doc, line);\n\t    function findNextLine() {\n\t      var l = line + dir;\n\t      if (l < doc.first || l >= doc.first + doc.size) return false\n\t      line = l;\n\t      return lineObj = getLine(doc, l);\n\t    }\n\t    function moveOnce(boundToLine) {\n\t      var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);\n\t      if (next == null) {\n\t        if (!boundToLine && findNextLine()) {\n\t          if (visually) ch = (dir < 0 ? lineRight : lineLeft)(lineObj);\n\t          else ch = dir < 0 ? lineObj.text.length : 0;\n\t        } else return false\n\t      } else ch = next;\n\t      return true;\n\t    }\n\n\t    if (unit == \"char\") {\n\t      moveOnce()\n\t    } else if (unit == \"column\") {\n\t      moveOnce(true)\n\t    } else if (unit == \"word\" || unit == \"group\") {\n\t      var sawType = null, group = unit == \"group\";\n\t      var helper = doc.cm && doc.cm.getHelper(pos, \"wordChars\");\n\t      for (var first = true;; first = false) {\n\t        if (dir < 0 && !moveOnce(!first)) break;\n\t        var cur = lineObj.text.charAt(ch) || \"\\n\";\n\t        var type = isWordChar(cur, helper) ? \"w\"\n\t          : group && cur == \"\\n\" ? \"n\"\n\t          : !group || /\\s/.test(cur) ? null\n\t          : \"p\";\n\t        if (group && !first && !type) type = \"s\";\n\t        if (sawType && sawType != type) {\n\t          if (dir < 0) {dir = 1; moveOnce();}\n\t          break;\n\t        }\n\n\t        if (type) sawType = type;\n\t        if (dir > 0 && !moveOnce(!first)) break;\n\t      }\n\t    }\n\t    var result = skipAtomic(doc, Pos(line, ch), pos, origDir, true);\n\t    if (!cmp(pos, result)) result.hitSide = true;\n\t    return result;\n\t  }\n\n\t  // For relative vertical movement. Dir may be -1 or 1. Unit can be\n\t  // \"page\" or \"line\". The resulting position will have a hitSide=true\n\t  // property if it reached the end of the document.\n\t  function findPosV(cm, pos, dir, unit) {\n\t    var doc = cm.doc, x = pos.left, y;\n\t    if (unit == \"page\") {\n\t      var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight);\n\t      y = pos.top + dir * (pageSize - (dir < 0 ? 1.5 : .5) * textHeight(cm.display));\n\t    } else if (unit == \"line\") {\n\t      y = dir > 0 ? pos.bottom + 3 : pos.top - 3;\n\t    }\n\t    for (;;) {\n\t      var target = coordsChar(cm, x, y);\n\t      if (!target.outside) break;\n\t      if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break; }\n\t      y += dir * 5;\n\t    }\n\t    return target;\n\t  }\n\n\t  // EDITOR METHODS\n\n\t  // The publicly visible API. Note that methodOp(f) means\n\t  // 'wrap f in an operation, performed on its `this` parameter'.\n\n\t  // This is not the complete set of editor methods. Most of the\n\t  // methods defined on the Doc type are also injected into\n\t  // CodeMirror.prototype, for backwards compatibility and\n\t  // convenience.\n\n\t  CodeMirror.prototype = {\n\t    constructor: CodeMirror,\n\t    focus: function(){window.focus(); this.display.input.focus();},\n\n\t    setOption: function(option, value) {\n\t      var options = this.options, old = options[option];\n\t      if (options[option] == value && option != \"mode\") return;\n\t      options[option] = value;\n\t      if (optionHandlers.hasOwnProperty(option))\n\t        operation(this, optionHandlers[option])(this, value, old);\n\t    },\n\n\t    getOption: function(option) {return this.options[option];},\n\t    getDoc: function() {return this.doc;},\n\n\t    addKeyMap: function(map, bottom) {\n\t      this.state.keyMaps[bottom ? \"push\" : \"unshift\"](getKeyMap(map));\n\t    },\n\t    removeKeyMap: function(map) {\n\t      var maps = this.state.keyMaps;\n\t      for (var i = 0; i < maps.length; ++i)\n\t        if (maps[i] == map || maps[i].name == map) {\n\t          maps.splice(i, 1);\n\t          return true;\n\t        }\n\t    },\n\n\t    addOverlay: methodOp(function(spec, options) {\n\t      var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec);\n\t      if (mode.startState) throw new Error(\"Overlays may not be stateful.\");\n\t      this.state.overlays.push({mode: mode, modeSpec: spec, opaque: options && options.opaque});\n\t      this.state.modeGen++;\n\t      regChange(this);\n\t    }),\n\t    removeOverlay: methodOp(function(spec) {\n\t      var overlays = this.state.overlays;\n\t      for (var i = 0; i < overlays.length; ++i) {\n\t        var cur = overlays[i].modeSpec;\n\t        if (cur == spec || typeof spec == \"string\" && cur.name == spec) {\n\t          overlays.splice(i, 1);\n\t          this.state.modeGen++;\n\t          regChange(this);\n\t          return;\n\t        }\n\t      }\n\t    }),\n\n\t    indentLine: methodOp(function(n, dir, aggressive) {\n\t      if (typeof dir != \"string\" && typeof dir != \"number\") {\n\t        if (dir == null) dir = this.options.smartIndent ? \"smart\" : \"prev\";\n\t        else dir = dir ? \"add\" : \"subtract\";\n\t      }\n\t      if (isLine(this.doc, n)) indentLine(this, n, dir, aggressive);\n\t    }),\n\t    indentSelection: methodOp(function(how) {\n\t      var ranges = this.doc.sel.ranges, end = -1;\n\t      for (var i = 0; i < ranges.length; i++) {\n\t        var range = ranges[i];\n\t        if (!range.empty()) {\n\t          var from = range.from(), to = range.to();\n\t          var start = Math.max(end, from.line);\n\t          end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1;\n\t          for (var j = start; j < end; ++j)\n\t            indentLine(this, j, how);\n\t          var newRanges = this.doc.sel.ranges;\n\t          if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0)\n\t            replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll);\n\t        } else if (range.head.line > end) {\n\t          indentLine(this, range.head.line, how, true);\n\t          end = range.head.line;\n\t          if (i == this.doc.sel.primIndex) ensureCursorVisible(this);\n\t        }\n\t      }\n\t    }),\n\n\t    // Fetch the parser token for a given character. Useful for hacks\n\t    // that want to inspect the mode state (say, for completion).\n\t    getTokenAt: function(pos, precise) {\n\t      return takeToken(this, pos, precise);\n\t    },\n\n\t    getLineTokens: function(line, precise) {\n\t      return takeToken(this, Pos(line), precise, true);\n\t    },\n\n\t    getTokenTypeAt: function(pos) {\n\t      pos = clipPos(this.doc, pos);\n\t      var styles = getLineStyles(this, getLine(this.doc, pos.line));\n\t      var before = 0, after = (styles.length - 1) / 2, ch = pos.ch;\n\t      var type;\n\t      if (ch == 0) type = styles[2];\n\t      else for (;;) {\n\t        var mid = (before + after) >> 1;\n\t        if ((mid ? styles[mid * 2 - 1] : 0) >= ch) after = mid;\n\t        else if (styles[mid * 2 + 1] < ch) before = mid + 1;\n\t        else { type = styles[mid * 2 + 2]; break; }\n\t      }\n\t      var cut = type ? type.indexOf(\"cm-overlay \") : -1;\n\t      return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1);\n\t    },\n\n\t    getModeAt: function(pos) {\n\t      var mode = this.doc.mode;\n\t      if (!mode.innerMode) return mode;\n\t      return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode;\n\t    },\n\n\t    getHelper: function(pos, type) {\n\t      return this.getHelpers(pos, type)[0];\n\t    },\n\n\t    getHelpers: function(pos, type) {\n\t      var found = [];\n\t      if (!helpers.hasOwnProperty(type)) return found;\n\t      var help = helpers[type], mode = this.getModeAt(pos);\n\t      if (typeof mode[type] == \"string\") {\n\t        if (help[mode[type]]) found.push(help[mode[type]]);\n\t      } else if (mode[type]) {\n\t        for (var i = 0; i < mode[type].length; i++) {\n\t          var val = help[mode[type][i]];\n\t          if (val) found.push(val);\n\t        }\n\t      } else if (mode.helperType && help[mode.helperType]) {\n\t        found.push(help[mode.helperType]);\n\t      } else if (help[mode.name]) {\n\t        found.push(help[mode.name]);\n\t      }\n\t      for (var i = 0; i < help._global.length; i++) {\n\t        var cur = help._global[i];\n\t        if (cur.pred(mode, this) && indexOf(found, cur.val) == -1)\n\t          found.push(cur.val);\n\t      }\n\t      return found;\n\t    },\n\n\t    getStateAfter: function(line, precise) {\n\t      var doc = this.doc;\n\t      line = clipLine(doc, line == null ? doc.first + doc.size - 1: line);\n\t      return getStateBefore(this, line + 1, precise);\n\t    },\n\n\t    cursorCoords: function(start, mode) {\n\t      var pos, range = this.doc.sel.primary();\n\t      if (start == null) pos = range.head;\n\t      else if (typeof start == \"object\") pos = clipPos(this.doc, start);\n\t      else pos = start ? range.from() : range.to();\n\t      return cursorCoords(this, pos, mode || \"page\");\n\t    },\n\n\t    charCoords: function(pos, mode) {\n\t      return charCoords(this, clipPos(this.doc, pos), mode || \"page\");\n\t    },\n\n\t    coordsChar: function(coords, mode) {\n\t      coords = fromCoordSystem(this, coords, mode || \"page\");\n\t      return coordsChar(this, coords.left, coords.top);\n\t    },\n\n\t    lineAtHeight: function(height, mode) {\n\t      height = fromCoordSystem(this, {top: height, left: 0}, mode || \"page\").top;\n\t      return lineAtHeight(this.doc, height + this.display.viewOffset);\n\t    },\n\t    heightAtLine: function(line, mode) {\n\t      var end = false, lineObj;\n\t      if (typeof line == \"number\") {\n\t        var last = this.doc.first + this.doc.size - 1;\n\t        if (line < this.doc.first) line = this.doc.first;\n\t        else if (line > last) { line = last; end = true; }\n\t        lineObj = getLine(this.doc, line);\n\t      } else {\n\t        lineObj = line;\n\t      }\n\t      return intoCoordSystem(this, lineObj, {top: 0, left: 0}, mode || \"page\").top +\n\t        (end ? this.doc.height - heightAtLine(lineObj) : 0);\n\t    },\n\n\t    defaultTextHeight: function() { return textHeight(this.display); },\n\t    defaultCharWidth: function() { return charWidth(this.display); },\n\n\t    setGutterMarker: methodOp(function(line, gutterID, value) {\n\t      return changeLine(this.doc, line, \"gutter\", function(line) {\n\t        var markers = line.gutterMarkers || (line.gutterMarkers = {});\n\t        markers[gutterID] = value;\n\t        if (!value && isEmpty(markers)) line.gutterMarkers = null;\n\t        return true;\n\t      });\n\t    }),\n\n\t    clearGutter: methodOp(function(gutterID) {\n\t      var cm = this, doc = cm.doc, i = doc.first;\n\t      doc.iter(function(line) {\n\t        if (line.gutterMarkers && line.gutterMarkers[gutterID]) {\n\t          line.gutterMarkers[gutterID] = null;\n\t          regLineChange(cm, i, \"gutter\");\n\t          if (isEmpty(line.gutterMarkers)) line.gutterMarkers = null;\n\t        }\n\t        ++i;\n\t      });\n\t    }),\n\n\t    lineInfo: function(line) {\n\t      if (typeof line == \"number\") {\n\t        if (!isLine(this.doc, line)) return null;\n\t        var n = line;\n\t        line = getLine(this.doc, line);\n\t        if (!line) return null;\n\t      } else {\n\t        var n = lineNo(line);\n\t        if (n == null) return null;\n\t      }\n\t      return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers,\n\t              textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass,\n\t              widgets: line.widgets};\n\t    },\n\n\t    getViewport: function() { return {from: this.display.viewFrom, to: this.display.viewTo};},\n\n\t    addWidget: function(pos, node, scroll, vert, horiz) {\n\t      var display = this.display;\n\t      pos = cursorCoords(this, clipPos(this.doc, pos));\n\t      var top = pos.bottom, left = pos.left;\n\t      node.style.position = \"absolute\";\n\t      node.setAttribute(\"cm-ignore-events\", \"true\");\n\t      this.display.input.setUneditable(node);\n\t      display.sizer.appendChild(node);\n\t      if (vert == \"over\") {\n\t        top = pos.top;\n\t      } else if (vert == \"above\" || vert == \"near\") {\n\t        var vspace = Math.max(display.wrapper.clientHeight, this.doc.height),\n\t        hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth);\n\t        // Default to positioning above (if specified and possible); otherwise default to positioning below\n\t        if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight)\n\t          top = pos.top - node.offsetHeight;\n\t        else if (pos.bottom + node.offsetHeight <= vspace)\n\t          top = pos.bottom;\n\t        if (left + node.offsetWidth > hspace)\n\t          left = hspace - node.offsetWidth;\n\t      }\n\t      node.style.top = top + \"px\";\n\t      node.style.left = node.style.right = \"\";\n\t      if (horiz == \"right\") {\n\t        left = display.sizer.clientWidth - node.offsetWidth;\n\t        node.style.right = \"0px\";\n\t      } else {\n\t        if (horiz == \"left\") left = 0;\n\t        else if (horiz == \"middle\") left = (display.sizer.clientWidth - node.offsetWidth) / 2;\n\t        node.style.left = left + \"px\";\n\t      }\n\t      if (scroll)\n\t        scrollIntoView(this, left, top, left + node.offsetWidth, top + node.offsetHeight);\n\t    },\n\n\t    triggerOnKeyDown: methodOp(onKeyDown),\n\t    triggerOnKeyPress: methodOp(onKeyPress),\n\t    triggerOnKeyUp: onKeyUp,\n\n\t    execCommand: function(cmd) {\n\t      if (commands.hasOwnProperty(cmd))\n\t        return commands[cmd].call(null, this);\n\t    },\n\n\t    triggerElectric: methodOp(function(text) { triggerElectric(this, text); }),\n\n\t    findPosH: function(from, amount, unit, visually) {\n\t      var dir = 1;\n\t      if (amount < 0) { dir = -1; amount = -amount; }\n\t      for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {\n\t        cur = findPosH(this.doc, cur, dir, unit, visually);\n\t        if (cur.hitSide) break;\n\t      }\n\t      return cur;\n\t    },\n\n\t    moveH: methodOp(function(dir, unit) {\n\t      var cm = this;\n\t      cm.extendSelectionsBy(function(range) {\n\t        if (cm.display.shift || cm.doc.extend || range.empty())\n\t          return findPosH(cm.doc, range.head, dir, unit, cm.options.rtlMoveVisually);\n\t        else\n\t          return dir < 0 ? range.from() : range.to();\n\t      }, sel_move);\n\t    }),\n\n\t    deleteH: methodOp(function(dir, unit) {\n\t      var sel = this.doc.sel, doc = this.doc;\n\t      if (sel.somethingSelected())\n\t        doc.replaceSelection(\"\", null, \"+delete\");\n\t      else\n\t        deleteNearSelection(this, function(range) {\n\t          var other = findPosH(doc, range.head, dir, unit, false);\n\t          return dir < 0 ? {from: other, to: range.head} : {from: range.head, to: other};\n\t        });\n\t    }),\n\n\t    findPosV: function(from, amount, unit, goalColumn) {\n\t      var dir = 1, x = goalColumn;\n\t      if (amount < 0) { dir = -1; amount = -amount; }\n\t      for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {\n\t        var coords = cursorCoords(this, cur, \"div\");\n\t        if (x == null) x = coords.left;\n\t        else coords.left = x;\n\t        cur = findPosV(this, coords, dir, unit);\n\t        if (cur.hitSide) break;\n\t      }\n\t      return cur;\n\t    },\n\n\t    moveV: methodOp(function(dir, unit) {\n\t      var cm = this, doc = this.doc, goals = [];\n\t      var collapse = !cm.display.shift && !doc.extend && doc.sel.somethingSelected();\n\t      doc.extendSelectionsBy(function(range) {\n\t        if (collapse)\n\t          return dir < 0 ? range.from() : range.to();\n\t        var headPos = cursorCoords(cm, range.head, \"div\");\n\t        if (range.goalColumn != null) headPos.left = range.goalColumn;\n\t        goals.push(headPos.left);\n\t        var pos = findPosV(cm, headPos, dir, unit);\n\t        if (unit == \"page\" && range == doc.sel.primary())\n\t          addToScrollPos(cm, null, charCoords(cm, pos, \"div\").top - headPos.top);\n\t        return pos;\n\t      }, sel_move);\n\t      if (goals.length) for (var i = 0; i < doc.sel.ranges.length; i++)\n\t        doc.sel.ranges[i].goalColumn = goals[i];\n\t    }),\n\n\t    // Find the word at the given position (as returned by coordsChar).\n\t    findWordAt: function(pos) {\n\t      var doc = this.doc, line = getLine(doc, pos.line).text;\n\t      var start = pos.ch, end = pos.ch;\n\t      if (line) {\n\t        var helper = this.getHelper(pos, \"wordChars\");\n\t        if ((pos.xRel < 0 || end == line.length) && start) --start; else ++end;\n\t        var startChar = line.charAt(start);\n\t        var check = isWordChar(startChar, helper)\n\t          ? function(ch) { return isWordChar(ch, helper); }\n\t          : /\\s/.test(startChar) ? function(ch) {return /\\s/.test(ch);}\n\t          : function(ch) {return !/\\s/.test(ch) && !isWordChar(ch);};\n\t        while (start > 0 && check(line.charAt(start - 1))) --start;\n\t        while (end < line.length && check(line.charAt(end))) ++end;\n\t      }\n\t      return new Range(Pos(pos.line, start), Pos(pos.line, end));\n\t    },\n\n\t    toggleOverwrite: function(value) {\n\t      if (value != null && value == this.state.overwrite) return;\n\t      if (this.state.overwrite = !this.state.overwrite)\n\t        addClass(this.display.cursorDiv, \"CodeMirror-overwrite\");\n\t      else\n\t        rmClass(this.display.cursorDiv, \"CodeMirror-overwrite\");\n\n\t      signal(this, \"overwriteToggle\", this, this.state.overwrite);\n\t    },\n\t    hasFocus: function() { return this.display.input.getField() == activeElt(); },\n\t    isReadOnly: function() { return !!(this.options.readOnly || this.doc.cantEdit); },\n\n\t    scrollTo: methodOp(function(x, y) {\n\t      if (x != null || y != null) resolveScrollToPos(this);\n\t      if (x != null) this.curOp.scrollLeft = x;\n\t      if (y != null) this.curOp.scrollTop = y;\n\t    }),\n\t    getScrollInfo: function() {\n\t      var scroller = this.display.scroller;\n\t      return {left: scroller.scrollLeft, top: scroller.scrollTop,\n\t              height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight,\n\t              width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth,\n\t              clientHeight: displayHeight(this), clientWidth: displayWidth(this)};\n\t    },\n\n\t    scrollIntoView: methodOp(function(range, margin) {\n\t      if (range == null) {\n\t        range = {from: this.doc.sel.primary().head, to: null};\n\t        if (margin == null) margin = this.options.cursorScrollMargin;\n\t      } else if (typeof range == \"number\") {\n\t        range = {from: Pos(range, 0), to: null};\n\t      } else if (range.from == null) {\n\t        range = {from: range, to: null};\n\t      }\n\t      if (!range.to) range.to = range.from;\n\t      range.margin = margin || 0;\n\n\t      if (range.from.line != null) {\n\t        resolveScrollToPos(this);\n\t        this.curOp.scrollToPos = range;\n\t      } else {\n\t        var sPos = calculateScrollPos(this, Math.min(range.from.left, range.to.left),\n\t                                      Math.min(range.from.top, range.to.top) - range.margin,\n\t                                      Math.max(range.from.right, range.to.right),\n\t                                      Math.max(range.from.bottom, range.to.bottom) + range.margin);\n\t        this.scrollTo(sPos.scrollLeft, sPos.scrollTop);\n\t      }\n\t    }),\n\n\t    setSize: methodOp(function(width, height) {\n\t      var cm = this;\n\t      function interpret(val) {\n\t        return typeof val == \"number\" || /^\\d+$/.test(String(val)) ? val + \"px\" : val;\n\t      }\n\t      if (width != null) cm.display.wrapper.style.width = interpret(width);\n\t      if (height != null) cm.display.wrapper.style.height = interpret(height);\n\t      if (cm.options.lineWrapping) clearLineMeasurementCache(this);\n\t      var lineNo = cm.display.viewFrom;\n\t      cm.doc.iter(lineNo, cm.display.viewTo, function(line) {\n\t        if (line.widgets) for (var i = 0; i < line.widgets.length; i++)\n\t          if (line.widgets[i].noHScroll) { regLineChange(cm, lineNo, \"widget\"); break; }\n\t        ++lineNo;\n\t      });\n\t      cm.curOp.forceUpdate = true;\n\t      signal(cm, \"refresh\", this);\n\t    }),\n\n\t    operation: function(f){return runInOp(this, f);},\n\n\t    refresh: methodOp(function() {\n\t      var oldHeight = this.display.cachedTextHeight;\n\t      regChange(this);\n\t      this.curOp.forceUpdate = true;\n\t      clearCaches(this);\n\t      this.scrollTo(this.doc.scrollLeft, this.doc.scrollTop);\n\t      updateGutterSpace(this);\n\t      if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5)\n\t        estimateLineHeights(this);\n\t      signal(this, \"refresh\", this);\n\t    }),\n\n\t    swapDoc: methodOp(function(doc) {\n\t      var old = this.doc;\n\t      old.cm = null;\n\t      attachDoc(this, doc);\n\t      clearCaches(this);\n\t      this.display.input.reset();\n\t      this.scrollTo(doc.scrollLeft, doc.scrollTop);\n\t      this.curOp.forceScroll = true;\n\t      signalLater(this, \"swapDoc\", this, old);\n\t      return old;\n\t    }),\n\n\t    getInputField: function(){return this.display.input.getField();},\n\t    getWrapperElement: function(){return this.display.wrapper;},\n\t    getScrollerElement: function(){return this.display.scroller;},\n\t    getGutterElement: function(){return this.display.gutters;}\n\t  };\n\t  eventMixin(CodeMirror);\n\n\t  // OPTION DEFAULTS\n\n\t  // The default configuration options.\n\t  var defaults = CodeMirror.defaults = {};\n\t  // Functions to run when options are changed.\n\t  var optionHandlers = CodeMirror.optionHandlers = {};\n\n\t  function option(name, deflt, handle, notOnInit) {\n\t    CodeMirror.defaults[name] = deflt;\n\t    if (handle) optionHandlers[name] =\n\t      notOnInit ? function(cm, val, old) {if (old != Init) handle(cm, val, old);} : handle;\n\t  }\n\n\t  // Passed to option handlers when there is no old value.\n\t  var Init = CodeMirror.Init = {toString: function(){return \"CodeMirror.Init\";}};\n\n\t  // These two are, on init, called from the constructor because they\n\t  // have to be initialized before the editor can start at all.\n\t  option(\"value\", \"\", function(cm, val) {\n\t    cm.setValue(val);\n\t  }, true);\n\t  option(\"mode\", null, function(cm, val) {\n\t    cm.doc.modeOption = val;\n\t    loadMode(cm);\n\t  }, true);\n\n\t  option(\"indentUnit\", 2, loadMode, true);\n\t  option(\"indentWithTabs\", false);\n\t  option(\"smartIndent\", true);\n\t  option(\"tabSize\", 4, function(cm) {\n\t    resetModeState(cm);\n\t    clearCaches(cm);\n\t    regChange(cm);\n\t  }, true);\n\t  option(\"lineSeparator\", null, function(cm, val) {\n\t    cm.doc.lineSep = val;\n\t    if (!val) return;\n\t    var newBreaks = [], lineNo = cm.doc.first;\n\t    cm.doc.iter(function(line) {\n\t      for (var pos = 0;;) {\n\t        var found = line.text.indexOf(val, pos);\n\t        if (found == -1) break;\n\t        pos = found + val.length;\n\t        newBreaks.push(Pos(lineNo, found));\n\t      }\n\t      lineNo++;\n\t    });\n\t    for (var i = newBreaks.length - 1; i >= 0; i--)\n\t      replaceRange(cm.doc, val, newBreaks[i], Pos(newBreaks[i].line, newBreaks[i].ch + val.length))\n\t  });\n\t  option(\"specialChars\", /[\\t\\u0000-\\u0019\\u00ad\\u200b-\\u200f\\u2028\\u2029\\ufeff]/g, function(cm, val, old) {\n\t    cm.state.specialChars = new RegExp(val.source + (val.test(\"\\t\") ? \"\" : \"|\\t\"), \"g\");\n\t    if (old != CodeMirror.Init) cm.refresh();\n\t  });\n\t  option(\"specialCharPlaceholder\", defaultSpecialCharPlaceholder, function(cm) {cm.refresh();}, true);\n\t  option(\"electricChars\", true);\n\t  option(\"inputStyle\", mobile ? \"contenteditable\" : \"textarea\", function() {\n\t    throw new Error(\"inputStyle can not (yet) be changed in a running editor\"); // FIXME\n\t  }, true);\n\t  option(\"rtlMoveVisually\", !windows);\n\t  option(\"wholeLineUpdateBefore\", true);\n\n\t  option(\"theme\", \"default\", function(cm) {\n\t    themeChanged(cm);\n\t    guttersChanged(cm);\n\t  }, true);\n\t  option(\"keyMap\", \"default\", function(cm, val, old) {\n\t    var next = getKeyMap(val);\n\t    var prev = old != CodeMirror.Init && getKeyMap(old);\n\t    if (prev && prev.detach) prev.detach(cm, next);\n\t    if (next.attach) next.attach(cm, prev || null);\n\t  });\n\t  option(\"extraKeys\", null);\n\n\t  option(\"lineWrapping\", false, wrappingChanged, true);\n\t  option(\"gutters\", [], function(cm) {\n\t    setGuttersForLineNumbers(cm.options);\n\t    guttersChanged(cm);\n\t  }, true);\n\t  option(\"fixedGutter\", true, function(cm, val) {\n\t    cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + \"px\" : \"0\";\n\t    cm.refresh();\n\t  }, true);\n\t  option(\"coverGutterNextToScrollbar\", false, function(cm) {updateScrollbars(cm);}, true);\n\t  option(\"scrollbarStyle\", \"native\", function(cm) {\n\t    initScrollbars(cm);\n\t    updateScrollbars(cm);\n\t    cm.display.scrollbars.setScrollTop(cm.doc.scrollTop);\n\t    cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft);\n\t  }, true);\n\t  option(\"lineNumbers\", false, function(cm) {\n\t    setGuttersForLineNumbers(cm.options);\n\t    guttersChanged(cm);\n\t  }, true);\n\t  option(\"firstLineNumber\", 1, guttersChanged, true);\n\t  option(\"lineNumberFormatter\", function(integer) {return integer;}, guttersChanged, true);\n\t  option(\"showCursorWhenSelecting\", false, updateSelection, true);\n\n\t  option(\"resetSelectionOnContextMenu\", true);\n\t  option(\"lineWiseCopyCut\", true);\n\n\t  option(\"readOnly\", false, function(cm, val) {\n\t    if (val == \"nocursor\") {\n\t      onBlur(cm);\n\t      cm.display.input.blur();\n\t      cm.display.disabled = true;\n\t    } else {\n\t      cm.display.disabled = false;\n\t    }\n\t    cm.display.input.readOnlyChanged(val)\n\t  });\n\t  option(\"disableInput\", false, function(cm, val) {if (!val) cm.display.input.reset();}, true);\n\t  option(\"dragDrop\", true, dragDropChanged);\n\t  option(\"allowDropFileTypes\", null);\n\n\t  option(\"cursorBlinkRate\", 530);\n\t  option(\"cursorScrollMargin\", 0);\n\t  option(\"cursorHeight\", 1, updateSelection, true);\n\t  option(\"singleCursorHeightPerLine\", true, updateSelection, true);\n\t  option(\"workTime\", 100);\n\t  option(\"workDelay\", 100);\n\t  option(\"flattenSpans\", true, resetModeState, true);\n\t  option(\"addModeClass\", false, resetModeState, true);\n\t  option(\"pollInterval\", 100);\n\t  option(\"undoDepth\", 200, function(cm, val){cm.doc.history.undoDepth = val;});\n\t  option(\"historyEventDelay\", 1250);\n\t  option(\"viewportMargin\", 10, function(cm){cm.refresh();}, true);\n\t  option(\"maxHighlightLength\", 10000, resetModeState, true);\n\t  option(\"moveInputWithCursor\", true, function(cm, val) {\n\t    if (!val) cm.display.input.resetPosition();\n\t  });\n\n\t  option(\"tabindex\", null, function(cm, val) {\n\t    cm.display.input.getField().tabIndex = val || \"\";\n\t  });\n\t  option(\"autofocus\", null);\n\n\t  // MODE DEFINITION AND QUERYING\n\n\t  // Known modes, by name and by MIME\n\t  var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};\n\n\t  // Extra arguments are stored as the mode's dependencies, which is\n\t  // used by (legacy) mechanisms like loadmode.js to automatically\n\t  // load a mode. (Preferred mechanism is the require/define calls.)\n\t  CodeMirror.defineMode = function(name, mode) {\n\t    if (!CodeMirror.defaults.mode && name != \"null\") CodeMirror.defaults.mode = name;\n\t    if (arguments.length > 2)\n\t      mode.dependencies = Array.prototype.slice.call(arguments, 2);\n\t    modes[name] = mode;\n\t  };\n\n\t  CodeMirror.defineMIME = function(mime, spec) {\n\t    mimeModes[mime] = spec;\n\t  };\n\n\t  // Given a MIME type, a {name, ...options} config object, or a name\n\t  // string, return a mode config object.\n\t  CodeMirror.resolveMode = function(spec) {\n\t    if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec)) {\n\t      spec = mimeModes[spec];\n\t    } else if (spec && typeof spec.name == \"string\" && mimeModes.hasOwnProperty(spec.name)) {\n\t      var found = mimeModes[spec.name];\n\t      if (typeof found == \"string\") found = {name: found};\n\t      spec = createObj(found, spec);\n\t      spec.name = found.name;\n\t    } else if (typeof spec == \"string\" && /^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(spec)) {\n\t      return CodeMirror.resolveMode(\"application/xml\");\n\t    }\n\t    if (typeof spec == \"string\") return {name: spec};\n\t    else return spec || {name: \"null\"};\n\t  };\n\n\t  // Given a mode spec (anything that resolveMode accepts), find and\n\t  // initialize an actual mode object.\n\t  CodeMirror.getMode = function(options, spec) {\n\t    var spec = CodeMirror.resolveMode(spec);\n\t    var mfactory = modes[spec.name];\n\t    if (!mfactory) return CodeMirror.getMode(options, \"text/plain\");\n\t    var modeObj = mfactory(options, spec);\n\t    if (modeExtensions.hasOwnProperty(spec.name)) {\n\t      var exts = modeExtensions[spec.name];\n\t      for (var prop in exts) {\n\t        if (!exts.hasOwnProperty(prop)) continue;\n\t        if (modeObj.hasOwnProperty(prop)) modeObj[\"_\" + prop] = modeObj[prop];\n\t        modeObj[prop] = exts[prop];\n\t      }\n\t    }\n\t    modeObj.name = spec.name;\n\t    if (spec.helperType) modeObj.helperType = spec.helperType;\n\t    if (spec.modeProps) for (var prop in spec.modeProps)\n\t      modeObj[prop] = spec.modeProps[prop];\n\n\t    return modeObj;\n\t  };\n\n\t  // Minimal default mode.\n\t  CodeMirror.defineMode(\"null\", function() {\n\t    return {token: function(stream) {stream.skipToEnd();}};\n\t  });\n\t  CodeMirror.defineMIME(\"text/plain\", \"null\");\n\n\t  // This can be used to attach properties to mode objects from\n\t  // outside the actual mode definition.\n\t  var modeExtensions = CodeMirror.modeExtensions = {};\n\t  CodeMirror.extendMode = function(mode, properties) {\n\t    var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});\n\t    copyObj(properties, exts);\n\t  };\n\n\t  // EXTENSIONS\n\n\t  CodeMirror.defineExtension = function(name, func) {\n\t    CodeMirror.prototype[name] = func;\n\t  };\n\t  CodeMirror.defineDocExtension = function(name, func) {\n\t    Doc.prototype[name] = func;\n\t  };\n\t  CodeMirror.defineOption = option;\n\n\t  var initHooks = [];\n\t  CodeMirror.defineInitHook = function(f) {initHooks.push(f);};\n\n\t  var helpers = CodeMirror.helpers = {};\n\t  CodeMirror.registerHelper = function(type, name, value) {\n\t    if (!helpers.hasOwnProperty(type)) helpers[type] = CodeMirror[type] = {_global: []};\n\t    helpers[type][name] = value;\n\t  };\n\t  CodeMirror.registerGlobalHelper = function(type, name, predicate, value) {\n\t    CodeMirror.registerHelper(type, name, value);\n\t    helpers[type]._global.push({pred: predicate, val: value});\n\t  };\n\n\t  // MODE STATE HANDLING\n\n\t  // Utility functions for working with state. Exported because nested\n\t  // modes need to do this for their inner modes.\n\n\t  var copyState = CodeMirror.copyState = function(mode, state) {\n\t    if (state === true) return state;\n\t    if (mode.copyState) return mode.copyState(state);\n\t    var nstate = {};\n\t    for (var n in state) {\n\t      var val = state[n];\n\t      if (val instanceof Array) val = val.concat([]);\n\t      nstate[n] = val;\n\t    }\n\t    return nstate;\n\t  };\n\n\t  var startState = CodeMirror.startState = function(mode, a1, a2) {\n\t    return mode.startState ? mode.startState(a1, a2) : true;\n\t  };\n\n\t  // Given a mode and a state (for that mode), find the inner mode and\n\t  // state at the position that the state refers to.\n\t  CodeMirror.innerMode = function(mode, state) {\n\t    while (mode.innerMode) {\n\t      var info = mode.innerMode(state);\n\t      if (!info || info.mode == mode) break;\n\t      state = info.state;\n\t      mode = info.mode;\n\t    }\n\t    return info || {mode: mode, state: state};\n\t  };\n\n\t  // STANDARD COMMANDS\n\n\t  // Commands are parameter-less actions that can be performed on an\n\t  // editor, mostly used for keybindings.\n\t  var commands = CodeMirror.commands = {\n\t    selectAll: function(cm) {cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);},\n\t    singleSelection: function(cm) {\n\t      cm.setSelection(cm.getCursor(\"anchor\"), cm.getCursor(\"head\"), sel_dontScroll);\n\t    },\n\t    killLine: function(cm) {\n\t      deleteNearSelection(cm, function(range) {\n\t        if (range.empty()) {\n\t          var len = getLine(cm.doc, range.head.line).text.length;\n\t          if (range.head.ch == len && range.head.line < cm.lastLine())\n\t            return {from: range.head, to: Pos(range.head.line + 1, 0)};\n\t          else\n\t            return {from: range.head, to: Pos(range.head.line, len)};\n\t        } else {\n\t          return {from: range.from(), to: range.to()};\n\t        }\n\t      });\n\t    },\n\t    deleteLine: function(cm) {\n\t      deleteNearSelection(cm, function(range) {\n\t        return {from: Pos(range.from().line, 0),\n\t                to: clipPos(cm.doc, Pos(range.to().line + 1, 0))};\n\t      });\n\t    },\n\t    delLineLeft: function(cm) {\n\t      deleteNearSelection(cm, function(range) {\n\t        return {from: Pos(range.from().line, 0), to: range.from()};\n\t      });\n\t    },\n\t    delWrappedLineLeft: function(cm) {\n\t      deleteNearSelection(cm, function(range) {\n\t        var top = cm.charCoords(range.head, \"div\").top + 5;\n\t        var leftPos = cm.coordsChar({left: 0, top: top}, \"div\");\n\t        return {from: leftPos, to: range.from()};\n\t      });\n\t    },\n\t    delWrappedLineRight: function(cm) {\n\t      deleteNearSelection(cm, function(range) {\n\t        var top = cm.charCoords(range.head, \"div\").top + 5;\n\t        var rightPos = cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n\t        return {from: range.from(), to: rightPos };\n\t      });\n\t    },\n\t    undo: function(cm) {cm.undo();},\n\t    redo: function(cm) {cm.redo();},\n\t    undoSelection: function(cm) {cm.undoSelection();},\n\t    redoSelection: function(cm) {cm.redoSelection();},\n\t    goDocStart: function(cm) {cm.extendSelection(Pos(cm.firstLine(), 0));},\n\t    goDocEnd: function(cm) {cm.extendSelection(Pos(cm.lastLine()));},\n\t    goLineStart: function(cm) {\n\t      cm.extendSelectionsBy(function(range) { return lineStart(cm, range.head.line); },\n\t                            {origin: \"+move\", bias: 1});\n\t    },\n\t    goLineStartSmart: function(cm) {\n\t      cm.extendSelectionsBy(function(range) {\n\t        return lineStartSmart(cm, range.head);\n\t      }, {origin: \"+move\", bias: 1});\n\t    },\n\t    goLineEnd: function(cm) {\n\t      cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); },\n\t                            {origin: \"+move\", bias: -1});\n\t    },\n\t    goLineRight: function(cm) {\n\t      cm.extendSelectionsBy(function(range) {\n\t        var top = cm.charCoords(range.head, \"div\").top + 5;\n\t        return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n\t      }, sel_move);\n\t    },\n\t    goLineLeft: function(cm) {\n\t      cm.extendSelectionsBy(function(range) {\n\t        var top = cm.charCoords(range.head, \"div\").top + 5;\n\t        return cm.coordsChar({left: 0, top: top}, \"div\");\n\t      }, sel_move);\n\t    },\n\t    goLineLeftSmart: function(cm) {\n\t      cm.extendSelectionsBy(function(range) {\n\t        var top = cm.charCoords(range.head, \"div\").top + 5;\n\t        var pos = cm.coordsChar({left: 0, top: top}, \"div\");\n\t        if (pos.ch < cm.getLine(pos.line).search(/\\S/)) return lineStartSmart(cm, range.head);\n\t        return pos;\n\t      }, sel_move);\n\t    },\n\t    goLineUp: function(cm) {cm.moveV(-1, \"line\");},\n\t    goLineDown: function(cm) {cm.moveV(1, \"line\");},\n\t    goPageUp: function(cm) {cm.moveV(-1, \"page\");},\n\t    goPageDown: function(cm) {cm.moveV(1, \"page\");},\n\t    goCharLeft: function(cm) {cm.moveH(-1, \"char\");},\n\t    goCharRight: function(cm) {cm.moveH(1, \"char\");},\n\t    goColumnLeft: function(cm) {cm.moveH(-1, \"column\");},\n\t    goColumnRight: function(cm) {cm.moveH(1, \"column\");},\n\t    goWordLeft: function(cm) {cm.moveH(-1, \"word\");},\n\t    goGroupRight: function(cm) {cm.moveH(1, \"group\");},\n\t    goGroupLeft: function(cm) {cm.moveH(-1, \"group\");},\n\t    goWordRight: function(cm) {cm.moveH(1, \"word\");},\n\t    delCharBefore: function(cm) {cm.deleteH(-1, \"char\");},\n\t    delCharAfter: function(cm) {cm.deleteH(1, \"char\");},\n\t    delWordBefore: function(cm) {cm.deleteH(-1, \"word\");},\n\t    delWordAfter: function(cm) {cm.deleteH(1, \"word\");},\n\t    delGroupBefore: function(cm) {cm.deleteH(-1, \"group\");},\n\t    delGroupAfter: function(cm) {cm.deleteH(1, \"group\");},\n\t    indentAuto: function(cm) {cm.indentSelection(\"smart\");},\n\t    indentMore: function(cm) {cm.indentSelection(\"add\");},\n\t    indentLess: function(cm) {cm.indentSelection(\"subtract\");},\n\t    insertTab: function(cm) {cm.replaceSelection(\"\\t\");},\n\t    insertSoftTab: function(cm) {\n\t      var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize;\n\t      for (var i = 0; i < ranges.length; i++) {\n\t        var pos = ranges[i].from();\n\t        var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize);\n\t        spaces.push(new Array(tabSize - col % tabSize + 1).join(\" \"));\n\t      }\n\t      cm.replaceSelections(spaces);\n\t    },\n\t    defaultTab: function(cm) {\n\t      if (cm.somethingSelected()) cm.indentSelection(\"add\");\n\t      else cm.execCommand(\"insertTab\");\n\t    },\n\t    transposeChars: function(cm) {\n\t      runInOp(cm, function() {\n\t        var ranges = cm.listSelections(), newSel = [];\n\t        for (var i = 0; i < ranges.length; i++) {\n\t          var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text;\n\t          if (line) {\n\t            if (cur.ch == line.length) cur = new Pos(cur.line, cur.ch - 1);\n\t            if (cur.ch > 0) {\n\t              cur = new Pos(cur.line, cur.ch + 1);\n\t              cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2),\n\t                              Pos(cur.line, cur.ch - 2), cur, \"+transpose\");\n\t            } else if (cur.line > cm.doc.first) {\n\t              var prev = getLine(cm.doc, cur.line - 1).text;\n\t              if (prev)\n\t                cm.replaceRange(line.charAt(0) + cm.doc.lineSeparator() +\n\t                                prev.charAt(prev.length - 1),\n\t                                Pos(cur.line - 1, prev.length - 1), Pos(cur.line, 1), \"+transpose\");\n\t            }\n\t          }\n\t          newSel.push(new Range(cur, cur));\n\t        }\n\t        cm.setSelections(newSel);\n\t      });\n\t    },\n\t    newlineAndIndent: function(cm) {\n\t      runInOp(cm, function() {\n\t        var len = cm.listSelections().length;\n\t        for (var i = 0; i < len; i++) {\n\t          var range = cm.listSelections()[i];\n\t          cm.replaceRange(cm.doc.lineSeparator(), range.anchor, range.head, \"+input\");\n\t          cm.indentLine(range.from().line + 1, null, true);\n\t        }\n\t        ensureCursorVisible(cm);\n\t      });\n\t    },\n\t    toggleOverwrite: function(cm) {cm.toggleOverwrite();}\n\t  };\n\n\n\t  // STANDARD KEYMAPS\n\n\t  var keyMap = CodeMirror.keyMap = {};\n\n\t  keyMap.basic = {\n\t    \"Left\": \"goCharLeft\", \"Right\": \"goCharRight\", \"Up\": \"goLineUp\", \"Down\": \"goLineDown\",\n\t    \"End\": \"goLineEnd\", \"Home\": \"goLineStartSmart\", \"PageUp\": \"goPageUp\", \"PageDown\": \"goPageDown\",\n\t    \"Delete\": \"delCharAfter\", \"Backspace\": \"delCharBefore\", \"Shift-Backspace\": \"delCharBefore\",\n\t    \"Tab\": \"defaultTab\", \"Shift-Tab\": \"indentAuto\",\n\t    \"Enter\": \"newlineAndIndent\", \"Insert\": \"toggleOverwrite\",\n\t    \"Esc\": \"singleSelection\"\n\t  };\n\t  // Note that the save and find-related commands aren't defined by\n\t  // default. User code or addons can define them. Unknown commands\n\t  // are simply ignored.\n\t  keyMap.pcDefault = {\n\t    \"Ctrl-A\": \"selectAll\", \"Ctrl-D\": \"deleteLine\", \"Ctrl-Z\": \"undo\", \"Shift-Ctrl-Z\": \"redo\", \"Ctrl-Y\": \"redo\",\n\t    \"Ctrl-Home\": \"goDocStart\", \"Ctrl-End\": \"goDocEnd\", \"Ctrl-Up\": \"goLineUp\", \"Ctrl-Down\": \"goLineDown\",\n\t    \"Ctrl-Left\": \"goGroupLeft\", \"Ctrl-Right\": \"goGroupRight\", \"Alt-Left\": \"goLineStart\", \"Alt-Right\": \"goLineEnd\",\n\t    \"Ctrl-Backspace\": \"delGroupBefore\", \"Ctrl-Delete\": \"delGroupAfter\", \"Ctrl-S\": \"save\", \"Ctrl-F\": \"find\",\n\t    \"Ctrl-G\": \"findNext\", \"Shift-Ctrl-G\": \"findPrev\", \"Shift-Ctrl-F\": \"replace\", \"Shift-Ctrl-R\": \"replaceAll\",\n\t    \"Ctrl-[\": \"indentLess\", \"Ctrl-]\": \"indentMore\",\n\t    \"Ctrl-U\": \"undoSelection\", \"Shift-Ctrl-U\": \"redoSelection\", \"Alt-U\": \"redoSelection\",\n\t    fallthrough: \"basic\"\n\t  };\n\t  // Very basic readline/emacs-style bindings, which are standard on Mac.\n\t  keyMap.emacsy = {\n\t    \"Ctrl-F\": \"goCharRight\", \"Ctrl-B\": \"goCharLeft\", \"Ctrl-P\": \"goLineUp\", \"Ctrl-N\": \"goLineDown\",\n\t    \"Alt-F\": \"goWordRight\", \"Alt-B\": \"goWordLeft\", \"Ctrl-A\": \"goLineStart\", \"Ctrl-E\": \"goLineEnd\",\n\t    \"Ctrl-V\": \"goPageDown\", \"Shift-Ctrl-V\": \"goPageUp\", \"Ctrl-D\": \"delCharAfter\", \"Ctrl-H\": \"delCharBefore\",\n\t    \"Alt-D\": \"delWordAfter\", \"Alt-Backspace\": \"delWordBefore\", \"Ctrl-K\": \"killLine\", \"Ctrl-T\": \"transposeChars\"\n\t  };\n\t  keyMap.macDefault = {\n\t    \"Cmd-A\": \"selectAll\", \"Cmd-D\": \"deleteLine\", \"Cmd-Z\": \"undo\", \"Shift-Cmd-Z\": \"redo\", \"Cmd-Y\": \"redo\",\n\t    \"Cmd-Home\": \"goDocStart\", \"Cmd-Up\": \"goDocStart\", \"Cmd-End\": \"goDocEnd\", \"Cmd-Down\": \"goDocEnd\", \"Alt-Left\": \"goGroupLeft\",\n\t    \"Alt-Right\": \"goGroupRight\", \"Cmd-Left\": \"goLineLeft\", \"Cmd-Right\": \"goLineRight\", \"Alt-Backspace\": \"delGroupBefore\",\n\t    \"Ctrl-Alt-Backspace\": \"delGroupAfter\", \"Alt-Delete\": \"delGroupAfter\", \"Cmd-S\": \"save\", \"Cmd-F\": \"find\",\n\t    \"Cmd-G\": \"findNext\", \"Shift-Cmd-G\": \"findPrev\", \"Cmd-Alt-F\": \"replace\", \"Shift-Cmd-Alt-F\": \"replaceAll\",\n\t    \"Cmd-[\": \"indentLess\", \"Cmd-]\": \"indentMore\", \"Cmd-Backspace\": \"delWrappedLineLeft\", \"Cmd-Delete\": \"delWrappedLineRight\",\n\t    \"Cmd-U\": \"undoSelection\", \"Shift-Cmd-U\": \"redoSelection\", \"Ctrl-Up\": \"goDocStart\", \"Ctrl-Down\": \"goDocEnd\",\n\t    fallthrough: [\"basic\", \"emacsy\"]\n\t  };\n\t  keyMap[\"default\"] = mac ? keyMap.macDefault : keyMap.pcDefault;\n\n\t  // KEYMAP DISPATCH\n\n\t  function normalizeKeyName(name) {\n\t    var parts = name.split(/-(?!$)/), name = parts[parts.length - 1];\n\t    var alt, ctrl, shift, cmd;\n\t    for (var i = 0; i < parts.length - 1; i++) {\n\t      var mod = parts[i];\n\t      if (/^(cmd|meta|m)$/i.test(mod)) cmd = true;\n\t      else if (/^a(lt)?$/i.test(mod)) alt = true;\n\t      else if (/^(c|ctrl|control)$/i.test(mod)) ctrl = true;\n\t      else if (/^s(hift)$/i.test(mod)) shift = true;\n\t      else throw new Error(\"Unrecognized modifier name: \" + mod);\n\t    }\n\t    if (alt) name = \"Alt-\" + name;\n\t    if (ctrl) name = \"Ctrl-\" + name;\n\t    if (cmd) name = \"Cmd-\" + name;\n\t    if (shift) name = \"Shift-\" + name;\n\t    return name;\n\t  }\n\n\t  // This is a kludge to keep keymaps mostly working as raw objects\n\t  // (backwards compatibility) while at the same time support features\n\t  // like normalization and multi-stroke key bindings. It compiles a\n\t  // new normalized keymap, and then updates the old object to reflect\n\t  // this.\n\t  CodeMirror.normalizeKeyMap = function(keymap) {\n\t    var copy = {};\n\t    for (var keyname in keymap) if (keymap.hasOwnProperty(keyname)) {\n\t      var value = keymap[keyname];\n\t      if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) continue;\n\t      if (value == \"...\") { delete keymap[keyname]; continue; }\n\n\t      var keys = map(keyname.split(\" \"), normalizeKeyName);\n\t      for (var i = 0; i < keys.length; i++) {\n\t        var val, name;\n\t        if (i == keys.length - 1) {\n\t          name = keys.join(\" \");\n\t          val = value;\n\t        } else {\n\t          name = keys.slice(0, i + 1).join(\" \");\n\t          val = \"...\";\n\t        }\n\t        var prev = copy[name];\n\t        if (!prev) copy[name] = val;\n\t        else if (prev != val) throw new Error(\"Inconsistent bindings for \" + name);\n\t      }\n\t      delete keymap[keyname];\n\t    }\n\t    for (var prop in copy) keymap[prop] = copy[prop];\n\t    return keymap;\n\t  };\n\n\t  var lookupKey = CodeMirror.lookupKey = function(key, map, handle, context) {\n\t    map = getKeyMap(map);\n\t    var found = map.call ? map.call(key, context) : map[key];\n\t    if (found === false) return \"nothing\";\n\t    if (found === \"...\") return \"multi\";\n\t    if (found != null && handle(found)) return \"handled\";\n\n\t    if (map.fallthrough) {\n\t      if (Object.prototype.toString.call(map.fallthrough) != \"[object Array]\")\n\t        return lookupKey(key, map.fallthrough, handle, context);\n\t      for (var i = 0; i < map.fallthrough.length; i++) {\n\t        var result = lookupKey(key, map.fallthrough[i], handle, context);\n\t        if (result) return result;\n\t      }\n\t    }\n\t  };\n\n\t  // Modifier key presses don't count as 'real' key presses for the\n\t  // purpose of keymap fallthrough.\n\t  var isModifierKey = CodeMirror.isModifierKey = function(value) {\n\t    var name = typeof value == \"string\" ? value : keyNames[value.keyCode];\n\t    return name == \"Ctrl\" || name == \"Alt\" || name == \"Shift\" || name == \"Mod\";\n\t  };\n\n\t  // Look up the name of a key as indicated by an event object.\n\t  var keyName = CodeMirror.keyName = function(event, noShift) {\n\t    if (presto && event.keyCode == 34 && event[\"char\"]) return false;\n\t    var base = keyNames[event.keyCode], name = base;\n\t    if (name == null || event.altGraphKey) return false;\n\t    if (event.altKey && base != \"Alt\") name = \"Alt-\" + name;\n\t    if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != \"Ctrl\") name = \"Ctrl-\" + name;\n\t    if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != \"Cmd\") name = \"Cmd-\" + name;\n\t    if (!noShift && event.shiftKey && base != \"Shift\") name = \"Shift-\" + name;\n\t    return name;\n\t  };\n\n\t  function getKeyMap(val) {\n\t    return typeof val == \"string\" ? keyMap[val] : val;\n\t  }\n\n\t  // FROMTEXTAREA\n\n\t  CodeMirror.fromTextArea = function(textarea, options) {\n\t    options = options ? copyObj(options) : {};\n\t    options.value = textarea.value;\n\t    if (!options.tabindex && textarea.tabIndex)\n\t      options.tabindex = textarea.tabIndex;\n\t    if (!options.placeholder && textarea.placeholder)\n\t      options.placeholder = textarea.placeholder;\n\t    // Set autofocus to true if this textarea is focused, or if it has\n\t    // autofocus and no other element is focused.\n\t    if (options.autofocus == null) {\n\t      var hasFocus = activeElt();\n\t      options.autofocus = hasFocus == textarea ||\n\t        textarea.getAttribute(\"autofocus\") != null && hasFocus == document.body;\n\t    }\n\n\t    function save() {textarea.value = cm.getValue();}\n\t    if (textarea.form) {\n\t      on(textarea.form, \"submit\", save);\n\t      // Deplorable hack to make the submit method do the right thing.\n\t      if (!options.leaveSubmitMethodAlone) {\n\t        var form = textarea.form, realSubmit = form.submit;\n\t        try {\n\t          var wrappedSubmit = form.submit = function() {\n\t            save();\n\t            form.submit = realSubmit;\n\t            form.submit();\n\t            form.submit = wrappedSubmit;\n\t          };\n\t        } catch(e) {}\n\t      }\n\t    }\n\n\t    options.finishInit = function(cm) {\n\t      cm.save = save;\n\t      cm.getTextArea = function() { return textarea; };\n\t      cm.toTextArea = function() {\n\t        cm.toTextArea = isNaN; // Prevent this from being ran twice\n\t        save();\n\t        textarea.parentNode.removeChild(cm.getWrapperElement());\n\t        textarea.style.display = \"\";\n\t        if (textarea.form) {\n\t          off(textarea.form, \"submit\", save);\n\t          if (typeof textarea.form.submit == \"function\")\n\t            textarea.form.submit = realSubmit;\n\t        }\n\t      };\n\t    };\n\n\t    textarea.style.display = \"none\";\n\t    var cm = CodeMirror(function(node) {\n\t      textarea.parentNode.insertBefore(node, textarea.nextSibling);\n\t    }, options);\n\t    return cm;\n\t  };\n\n\t  // STRING STREAM\n\n\t  // Fed to the mode parsers, provides helper functions to make\n\t  // parsers more succinct.\n\n\t  var StringStream = CodeMirror.StringStream = function(string, tabSize) {\n\t    this.pos = this.start = 0;\n\t    this.string = string;\n\t    this.tabSize = tabSize || 8;\n\t    this.lastColumnPos = this.lastColumnValue = 0;\n\t    this.lineStart = 0;\n\t  };\n\n\t  StringStream.prototype = {\n\t    eol: function() {return this.pos >= this.string.length;},\n\t    sol: function() {return this.pos == this.lineStart;},\n\t    peek: function() {return this.string.charAt(this.pos) || undefined;},\n\t    next: function() {\n\t      if (this.pos < this.string.length)\n\t        return this.string.charAt(this.pos++);\n\t    },\n\t    eat: function(match) {\n\t      var ch = this.string.charAt(this.pos);\n\t      if (typeof match == \"string\") var ok = ch == match;\n\t      else var ok = ch && (match.test ? match.test(ch) : match(ch));\n\t      if (ok) {++this.pos; return ch;}\n\t    },\n\t    eatWhile: function(match) {\n\t      var start = this.pos;\n\t      while (this.eat(match)){}\n\t      return this.pos > start;\n\t    },\n\t    eatSpace: function() {\n\t      var start = this.pos;\n\t      while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;\n\t      return this.pos > start;\n\t    },\n\t    skipToEnd: function() {this.pos = this.string.length;},\n\t    skipTo: function(ch) {\n\t      var found = this.string.indexOf(ch, this.pos);\n\t      if (found > -1) {this.pos = found; return true;}\n\t    },\n\t    backUp: function(n) {this.pos -= n;},\n\t    column: function() {\n\t      if (this.lastColumnPos < this.start) {\n\t        this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);\n\t        this.lastColumnPos = this.start;\n\t      }\n\t      return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);\n\t    },\n\t    indentation: function() {\n\t      return countColumn(this.string, null, this.tabSize) -\n\t        (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);\n\t    },\n\t    match: function(pattern, consume, caseInsensitive) {\n\t      if (typeof pattern == \"string\") {\n\t        var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};\n\t        var substr = this.string.substr(this.pos, pattern.length);\n\t        if (cased(substr) == cased(pattern)) {\n\t          if (consume !== false) this.pos += pattern.length;\n\t          return true;\n\t        }\n\t      } else {\n\t        var match = this.string.slice(this.pos).match(pattern);\n\t        if (match && match.index > 0) return null;\n\t        if (match && consume !== false) this.pos += match[0].length;\n\t        return match;\n\t      }\n\t    },\n\t    current: function(){return this.string.slice(this.start, this.pos);},\n\t    hideFirstChars: function(n, inner) {\n\t      this.lineStart += n;\n\t      try { return inner(); }\n\t      finally { this.lineStart -= n; }\n\t    }\n\t  };\n\n\t  // TEXTMARKERS\n\n\t  // Created with markText and setBookmark methods. A TextMarker is a\n\t  // handle that can be used to clear or find a marked position in the\n\t  // document. Line objects hold arrays (markedSpans) containing\n\t  // {from, to, marker} object pointing to such marker objects, and\n\t  // indicating that such a marker is present on that line. Multiple\n\t  // lines may point to the same marker when it spans across lines.\n\t  // The spans will have null for their from/to properties when the\n\t  // marker continues beyond the start/end of the line. Markers have\n\t  // links back to the lines they currently touch.\n\n\t  var nextMarkerId = 0;\n\n\t  var TextMarker = CodeMirror.TextMarker = function(doc, type) {\n\t    this.lines = [];\n\t    this.type = type;\n\t    this.doc = doc;\n\t    this.id = ++nextMarkerId;\n\t  };\n\t  eventMixin(TextMarker);\n\n\t  // Clear the marker.\n\t  TextMarker.prototype.clear = function() {\n\t    if (this.explicitlyCleared) return;\n\t    var cm = this.doc.cm, withOp = cm && !cm.curOp;\n\t    if (withOp) startOperation(cm);\n\t    if (hasHandler(this, \"clear\")) {\n\t      var found = this.find();\n\t      if (found) signalLater(this, \"clear\", found.from, found.to);\n\t    }\n\t    var min = null, max = null;\n\t    for (var i = 0; i < this.lines.length; ++i) {\n\t      var line = this.lines[i];\n\t      var span = getMarkedSpanFor(line.markedSpans, this);\n\t      if (cm && !this.collapsed) regLineChange(cm, lineNo(line), \"text\");\n\t      else if (cm) {\n\t        if (span.to != null) max = lineNo(line);\n\t        if (span.from != null) min = lineNo(line);\n\t      }\n\t      line.markedSpans = removeMarkedSpan(line.markedSpans, span);\n\t      if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm)\n\t        updateLineHeight(line, textHeight(cm.display));\n\t    }\n\t    if (cm && this.collapsed && !cm.options.lineWrapping) for (var i = 0; i < this.lines.length; ++i) {\n\t      var visual = visualLine(this.lines[i]), len = lineLength(visual);\n\t      if (len > cm.display.maxLineLength) {\n\t        cm.display.maxLine = visual;\n\t        cm.display.maxLineLength = len;\n\t        cm.display.maxLineChanged = true;\n\t      }\n\t    }\n\n\t    if (min != null && cm && this.collapsed) regChange(cm, min, max + 1);\n\t    this.lines.length = 0;\n\t    this.explicitlyCleared = true;\n\t    if (this.atomic && this.doc.cantEdit) {\n\t      this.doc.cantEdit = false;\n\t      if (cm) reCheckSelection(cm.doc);\n\t    }\n\t    if (cm) signalLater(cm, \"markerCleared\", cm, this);\n\t    if (withOp) endOperation(cm);\n\t    if (this.parent) this.parent.clear();\n\t  };\n\n\t  // Find the position of the marker in the document. Returns a {from,\n\t  // to} object by default. Side can be passed to get a specific side\n\t  // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the\n\t  // Pos objects returned contain a line object, rather than a line\n\t  // number (used to prevent looking up the same line twice).\n\t  TextMarker.prototype.find = function(side, lineObj) {\n\t    if (side == null && this.type == \"bookmark\") side = 1;\n\t    var from, to;\n\t    for (var i = 0; i < this.lines.length; ++i) {\n\t      var line = this.lines[i];\n\t      var span = getMarkedSpanFor(line.markedSpans, this);\n\t      if (span.from != null) {\n\t        from = Pos(lineObj ? line : lineNo(line), span.from);\n\t        if (side == -1) return from;\n\t      }\n\t      if (span.to != null) {\n\t        to = Pos(lineObj ? line : lineNo(line), span.to);\n\t        if (side == 1) return to;\n\t      }\n\t    }\n\t    return from && {from: from, to: to};\n\t  };\n\n\t  // Signals that the marker's widget changed, and surrounding layout\n\t  // should be recomputed.\n\t  TextMarker.prototype.changed = function() {\n\t    var pos = this.find(-1, true), widget = this, cm = this.doc.cm;\n\t    if (!pos || !cm) return;\n\t    runInOp(cm, function() {\n\t      var line = pos.line, lineN = lineNo(pos.line);\n\t      var view = findViewForLine(cm, lineN);\n\t      if (view) {\n\t        clearLineMeasurementCacheFor(view);\n\t        cm.curOp.selectionChanged = cm.curOp.forceUpdate = true;\n\t      }\n\t      cm.curOp.updateMaxLine = true;\n\t      if (!lineIsHidden(widget.doc, line) && widget.height != null) {\n\t        var oldHeight = widget.height;\n\t        widget.height = null;\n\t        var dHeight = widgetHeight(widget) - oldHeight;\n\t        if (dHeight)\n\t          updateLineHeight(line, line.height + dHeight);\n\t      }\n\t    });\n\t  };\n\n\t  TextMarker.prototype.attachLine = function(line) {\n\t    if (!this.lines.length && this.doc.cm) {\n\t      var op = this.doc.cm.curOp;\n\t      if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1)\n\t        (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this);\n\t    }\n\t    this.lines.push(line);\n\t  };\n\t  TextMarker.prototype.detachLine = function(line) {\n\t    this.lines.splice(indexOf(this.lines, line), 1);\n\t    if (!this.lines.length && this.doc.cm) {\n\t      var op = this.doc.cm.curOp;\n\t      (op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this);\n\t    }\n\t  };\n\n\t  // Collapsed markers have unique ids, in order to be able to order\n\t  // them, which is needed for uniquely determining an outer marker\n\t  // when they overlap (they may nest, but not partially overlap).\n\t  var nextMarkerId = 0;\n\n\t  // Create a marker, wire it up to the right lines, and\n\t  function markText(doc, from, to, options, type) {\n\t    // Shared markers (across linked documents) are handled separately\n\t    // (markTextShared will call out to this again, once per\n\t    // document).\n\t    if (options && options.shared) return markTextShared(doc, from, to, options, type);\n\t    // Ensure we are in an operation.\n\t    if (doc.cm && !doc.cm.curOp) return operation(doc.cm, markText)(doc, from, to, options, type);\n\n\t    var marker = new TextMarker(doc, type), diff = cmp(from, to);\n\t    if (options) copyObj(options, marker, false);\n\t    // Don't connect empty markers unless clearWhenEmpty is false\n\t    if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false)\n\t      return marker;\n\t    if (marker.replacedWith) {\n\t      // Showing up as a widget implies collapsed (widget replaces text)\n\t      marker.collapsed = true;\n\t      marker.widgetNode = elt(\"span\", [marker.replacedWith], \"CodeMirror-widget\");\n\t      if (!options.handleMouseEvents) marker.widgetNode.setAttribute(\"cm-ignore-events\", \"true\");\n\t      if (options.insertLeft) marker.widgetNode.insertLeft = true;\n\t    }\n\t    if (marker.collapsed) {\n\t      if (conflictingCollapsedRange(doc, from.line, from, to, marker) ||\n\t          from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker))\n\t        throw new Error(\"Inserting collapsed marker partially overlapping an existing one\");\n\t      sawCollapsedSpans = true;\n\t    }\n\n\t    if (marker.addToHistory)\n\t      addChangeToHistory(doc, {from: from, to: to, origin: \"markText\"}, doc.sel, NaN);\n\n\t    var curLine = from.line, cm = doc.cm, updateMaxLine;\n\t    doc.iter(curLine, to.line + 1, function(line) {\n\t      if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine)\n\t        updateMaxLine = true;\n\t      if (marker.collapsed && curLine != from.line) updateLineHeight(line, 0);\n\t      addMarkedSpan(line, new MarkedSpan(marker,\n\t                                         curLine == from.line ? from.ch : null,\n\t                                         curLine == to.line ? to.ch : null));\n\t      ++curLine;\n\t    });\n\t    // lineIsHidden depends on the presence of the spans, so needs a second pass\n\t    if (marker.collapsed) doc.iter(from.line, to.line + 1, function(line) {\n\t      if (lineIsHidden(doc, line)) updateLineHeight(line, 0);\n\t    });\n\n\t    if (marker.clearOnEnter) on(marker, \"beforeCursorEnter\", function() { marker.clear(); });\n\n\t    if (marker.readOnly) {\n\t      sawReadOnlySpans = true;\n\t      if (doc.history.done.length || doc.history.undone.length)\n\t        doc.clearHistory();\n\t    }\n\t    if (marker.collapsed) {\n\t      marker.id = ++nextMarkerId;\n\t      marker.atomic = true;\n\t    }\n\t    if (cm) {\n\t      // Sync editor state\n\t      if (updateMaxLine) cm.curOp.updateMaxLine = true;\n\t      if (marker.collapsed)\n\t        regChange(cm, from.line, to.line + 1);\n\t      else if (marker.className || marker.title || marker.startStyle || marker.endStyle || marker.css)\n\t        for (var i = from.line; i <= to.line; i++) regLineChange(cm, i, \"text\");\n\t      if (marker.atomic) reCheckSelection(cm.doc);\n\t      signalLater(cm, \"markerAdded\", cm, marker);\n\t    }\n\t    return marker;\n\t  }\n\n\t  // SHARED TEXTMARKERS\n\n\t  // A shared marker spans multiple linked documents. It is\n\t  // implemented as a meta-marker-object controlling multiple normal\n\t  // markers.\n\t  var SharedTextMarker = CodeMirror.SharedTextMarker = function(markers, primary) {\n\t    this.markers = markers;\n\t    this.primary = primary;\n\t    for (var i = 0; i < markers.length; ++i)\n\t      markers[i].parent = this;\n\t  };\n\t  eventMixin(SharedTextMarker);\n\n\t  SharedTextMarker.prototype.clear = function() {\n\t    if (this.explicitlyCleared) return;\n\t    this.explicitlyCleared = true;\n\t    for (var i = 0; i < this.markers.length; ++i)\n\t      this.markers[i].clear();\n\t    signalLater(this, \"clear\");\n\t  };\n\t  SharedTextMarker.prototype.find = function(side, lineObj) {\n\t    return this.primary.find(side, lineObj);\n\t  };\n\n\t  function markTextShared(doc, from, to, options, type) {\n\t    options = copyObj(options);\n\t    options.shared = false;\n\t    var markers = [markText(doc, from, to, options, type)], primary = markers[0];\n\t    var widget = options.widgetNode;\n\t    linkedDocs(doc, function(doc) {\n\t      if (widget) options.widgetNode = widget.cloneNode(true);\n\t      markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type));\n\t      for (var i = 0; i < doc.linked.length; ++i)\n\t        if (doc.linked[i].isParent) return;\n\t      primary = lst(markers);\n\t    });\n\t    return new SharedTextMarker(markers, primary);\n\t  }\n\n\t  function findSharedMarkers(doc) {\n\t    return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())),\n\t                         function(m) { return m.parent; });\n\t  }\n\n\t  function copySharedMarkers(doc, markers) {\n\t    for (var i = 0; i < markers.length; i++) {\n\t      var marker = markers[i], pos = marker.find();\n\t      var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to);\n\t      if (cmp(mFrom, mTo)) {\n\t        var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type);\n\t        marker.markers.push(subMark);\n\t        subMark.parent = marker;\n\t      }\n\t    }\n\t  }\n\n\t  function detachSharedMarkers(markers) {\n\t    for (var i = 0; i < markers.length; i++) {\n\t      var marker = markers[i], linked = [marker.primary.doc];;\n\t      linkedDocs(marker.primary.doc, function(d) { linked.push(d); });\n\t      for (var j = 0; j < marker.markers.length; j++) {\n\t        var subMarker = marker.markers[j];\n\t        if (indexOf(linked, subMarker.doc) == -1) {\n\t          subMarker.parent = null;\n\t          marker.markers.splice(j--, 1);\n\t        }\n\t      }\n\t    }\n\t  }\n\n\t  // TEXTMARKER SPANS\n\n\t  function MarkedSpan(marker, from, to) {\n\t    this.marker = marker;\n\t    this.from = from; this.to = to;\n\t  }\n\n\t  // Search an array of spans for a span matching the given marker.\n\t  function getMarkedSpanFor(spans, marker) {\n\t    if (spans) for (var i = 0; i < spans.length; ++i) {\n\t      var span = spans[i];\n\t      if (span.marker == marker) return span;\n\t    }\n\t  }\n\t  // Remove a span from an array, returning undefined if no spans are\n\t  // left (we don't store arrays for lines without spans).\n\t  function removeMarkedSpan(spans, span) {\n\t    for (var r, i = 0; i < spans.length; ++i)\n\t      if (spans[i] != span) (r || (r = [])).push(spans[i]);\n\t    return r;\n\t  }\n\t  // Add a span to a line.\n\t  function addMarkedSpan(line, span) {\n\t    line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];\n\t    span.marker.attachLine(line);\n\t  }\n\n\t  // Used for the algorithm that adjusts markers for a change in the\n\t  // document. These functions cut an array of spans at a given\n\t  // character position, returning an array of remaining chunks (or\n\t  // undefined if nothing remains).\n\t  function markedSpansBefore(old, startCh, isInsert) {\n\t    if (old) for (var i = 0, nw; i < old.length; ++i) {\n\t      var span = old[i], marker = span.marker;\n\t      var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh);\n\t      if (startsBefore || span.from == startCh && marker.type == \"bookmark\" && (!isInsert || !span.marker.insertLeft)) {\n\t        var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh);\n\t        (nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to));\n\t      }\n\t    }\n\t    return nw;\n\t  }\n\t  function markedSpansAfter(old, endCh, isInsert) {\n\t    if (old) for (var i = 0, nw; i < old.length; ++i) {\n\t      var span = old[i], marker = span.marker;\n\t      var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh);\n\t      if (endsAfter || span.from == endCh && marker.type == \"bookmark\" && (!isInsert || span.marker.insertLeft)) {\n\t        var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh);\n\t        (nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,\n\t                                              span.to == null ? null : span.to - endCh));\n\t      }\n\t    }\n\t    return nw;\n\t  }\n\n\t  // Given a change object, compute the new set of marker spans that\n\t  // cover the line in which the change took place. Removes spans\n\t  // entirely within the change, reconnects spans belonging to the\n\t  // same marker that appear on both sides of the change, and cuts off\n\t  // spans partially within the change. Returns an array of span\n\t  // arrays with one element for each line in (after) the change.\n\t  function stretchSpansOverChange(doc, change) {\n\t    if (change.full) return null;\n\t    var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;\n\t    var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;\n\t    if (!oldFirst && !oldLast) return null;\n\n\t    var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0;\n\t    // Get the spans that 'stick out' on both sides\n\t    var first = markedSpansBefore(oldFirst, startCh, isInsert);\n\t    var last = markedSpansAfter(oldLast, endCh, isInsert);\n\n\t    // Next, merge those two ends\n\t    var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);\n\t    if (first) {\n\t      // Fix up .to properties of first\n\t      for (var i = 0; i < first.length; ++i) {\n\t        var span = first[i];\n\t        if (span.to == null) {\n\t          var found = getMarkedSpanFor(last, span.marker);\n\t          if (!found) span.to = startCh;\n\t          else if (sameLine) span.to = found.to == null ? null : found.to + offset;\n\t        }\n\t      }\n\t    }\n\t    if (last) {\n\t      // Fix up .from in last (or move them into first in case of sameLine)\n\t      for (var i = 0; i < last.length; ++i) {\n\t        var span = last[i];\n\t        if (span.to != null) span.to += offset;\n\t        if (span.from == null) {\n\t          var found = getMarkedSpanFor(first, span.marker);\n\t          if (!found) {\n\t            span.from = offset;\n\t            if (sameLine) (first || (first = [])).push(span);\n\t          }\n\t        } else {\n\t          span.from += offset;\n\t          if (sameLine) (first || (first = [])).push(span);\n\t        }\n\t      }\n\t    }\n\t    // Make sure we didn't create any zero-length spans\n\t    if (first) first = clearEmptySpans(first);\n\t    if (last && last != first) last = clearEmptySpans(last);\n\n\t    var newMarkers = [first];\n\t    if (!sameLine) {\n\t      // Fill gap with whole-line-spans\n\t      var gap = change.text.length - 2, gapMarkers;\n\t      if (gap > 0 && first)\n\t        for (var i = 0; i < first.length; ++i)\n\t          if (first[i].to == null)\n\t            (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i].marker, null, null));\n\t      for (var i = 0; i < gap; ++i)\n\t        newMarkers.push(gapMarkers);\n\t      newMarkers.push(last);\n\t    }\n\t    return newMarkers;\n\t  }\n\n\t  // Remove spans that are empty and don't have a clearWhenEmpty\n\t  // option of false.\n\t  function clearEmptySpans(spans) {\n\t    for (var i = 0; i < spans.length; ++i) {\n\t      var span = spans[i];\n\t      if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false)\n\t        spans.splice(i--, 1);\n\t    }\n\t    if (!spans.length) return null;\n\t    return spans;\n\t  }\n\n\t  // Used for un/re-doing changes from the history. Combines the\n\t  // result of computing the existing spans with the set of spans that\n\t  // existed in the history (so that deleting around a span and then\n\t  // undoing brings back the span).\n\t  function mergeOldSpans(doc, change) {\n\t    var old = getOldSpans(doc, change);\n\t    var stretched = stretchSpansOverChange(doc, change);\n\t    if (!old) return stretched;\n\t    if (!stretched) return old;\n\n\t    for (var i = 0; i < old.length; ++i) {\n\t      var oldCur = old[i], stretchCur = stretched[i];\n\t      if (oldCur && stretchCur) {\n\t        spans: for (var j = 0; j < stretchCur.length; ++j) {\n\t          var span = stretchCur[j];\n\t          for (var k = 0; k < oldCur.length; ++k)\n\t            if (oldCur[k].marker == span.marker) continue spans;\n\t          oldCur.push(span);\n\t        }\n\t      } else if (stretchCur) {\n\t        old[i] = stretchCur;\n\t      }\n\t    }\n\t    return old;\n\t  }\n\n\t  // Used to 'clip' out readOnly ranges when making a change.\n\t  function removeReadOnlyRanges(doc, from, to) {\n\t    var markers = null;\n\t    doc.iter(from.line, to.line + 1, function(line) {\n\t      if (line.markedSpans) for (var i = 0; i < line.markedSpans.length; ++i) {\n\t        var mark = line.markedSpans[i].marker;\n\t        if (mark.readOnly && (!markers || indexOf(markers, mark) == -1))\n\t          (markers || (markers = [])).push(mark);\n\t      }\n\t    });\n\t    if (!markers) return null;\n\t    var parts = [{from: from, to: to}];\n\t    for (var i = 0; i < markers.length; ++i) {\n\t      var mk = markers[i], m = mk.find(0);\n\t      for (var j = 0; j < parts.length; ++j) {\n\t        var p = parts[j];\n\t        if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) continue;\n\t        var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to);\n\t        if (dfrom < 0 || !mk.inclusiveLeft && !dfrom)\n\t          newParts.push({from: p.from, to: m.from});\n\t        if (dto > 0 || !mk.inclusiveRight && !dto)\n\t          newParts.push({from: m.to, to: p.to});\n\t        parts.splice.apply(parts, newParts);\n\t        j += newParts.length - 1;\n\t      }\n\t    }\n\t    return parts;\n\t  }\n\n\t  // Connect or disconnect spans from a line.\n\t  function detachMarkedSpans(line) {\n\t    var spans = line.markedSpans;\n\t    if (!spans) return;\n\t    for (var i = 0; i < spans.length; ++i)\n\t      spans[i].marker.detachLine(line);\n\t    line.markedSpans = null;\n\t  }\n\t  function attachMarkedSpans(line, spans) {\n\t    if (!spans) return;\n\t    for (var i = 0; i < spans.length; ++i)\n\t      spans[i].marker.attachLine(line);\n\t    line.markedSpans = spans;\n\t  }\n\n\t  // Helpers used when computing which overlapping collapsed span\n\t  // counts as the larger one.\n\t  function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0; }\n\t  function extraRight(marker) { return marker.inclusiveRight ? 1 : 0; }\n\n\t  // Returns a number indicating which of two overlapping collapsed\n\t  // spans is larger (and thus includes the other). Falls back to\n\t  // comparing ids when the spans cover exactly the same range.\n\t  function compareCollapsedMarkers(a, b) {\n\t    var lenDiff = a.lines.length - b.lines.length;\n\t    if (lenDiff != 0) return lenDiff;\n\t    var aPos = a.find(), bPos = b.find();\n\t    var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b);\n\t    if (fromCmp) return -fromCmp;\n\t    var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b);\n\t    if (toCmp) return toCmp;\n\t    return b.id - a.id;\n\t  }\n\n\t  // Find out whether a line ends or starts in a collapsed span. If\n\t  // so, return the marker for that span.\n\t  function collapsedSpanAtSide(line, start) {\n\t    var sps = sawCollapsedSpans && line.markedSpans, found;\n\t    if (sps) for (var sp, i = 0; i < sps.length; ++i) {\n\t      sp = sps[i];\n\t      if (sp.marker.collapsed && (start ? sp.from : sp.to) == null &&\n\t          (!found || compareCollapsedMarkers(found, sp.marker) < 0))\n\t        found = sp.marker;\n\t    }\n\t    return found;\n\t  }\n\t  function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true); }\n\t  function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false); }\n\n\t  // Test whether there exists a collapsed span that partially\n\t  // overlaps (covers the start or end, but not both) of a new span.\n\t  // Such overlap is not allowed.\n\t  function conflictingCollapsedRange(doc, lineNo, from, to, marker) {\n\t    var line = getLine(doc, lineNo);\n\t    var sps = sawCollapsedSpans && line.markedSpans;\n\t    if (sps) for (var i = 0; i < sps.length; ++i) {\n\t      var sp = sps[i];\n\t      if (!sp.marker.collapsed) continue;\n\t      var found = sp.marker.find(0);\n\t      var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker);\n\t      var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker);\n\t      if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) continue;\n\t      if (fromCmp <= 0 && (cmp(found.to, from) > 0 || (sp.marker.inclusiveRight && marker.inclusiveLeft)) ||\n\t          fromCmp >= 0 && (cmp(found.from, to) < 0 || (sp.marker.inclusiveLeft && marker.inclusiveRight)))\n\t        return true;\n\t    }\n\t  }\n\n\t  // A visual line is a line as drawn on the screen. Folding, for\n\t  // example, can cause multiple logical lines to appear on the same\n\t  // visual line. This finds the start of the visual line that the\n\t  // given line is part of (usually that is the line itself).\n\t  function visualLine(line) {\n\t    var merged;\n\t    while (merged = collapsedSpanAtStart(line))\n\t      line = merged.find(-1, true).line;\n\t    return line;\n\t  }\n\n\t  // Returns an array of logical lines that continue the visual line\n\t  // started by the argument, or undefined if there are no such lines.\n\t  function visualLineContinued(line) {\n\t    var merged, lines;\n\t    while (merged = collapsedSpanAtEnd(line)) {\n\t      line = merged.find(1, true).line;\n\t      (lines || (lines = [])).push(line);\n\t    }\n\t    return lines;\n\t  }\n\n\t  // Get the line number of the start of the visual line that the\n\t  // given line number is part of.\n\t  function visualLineNo(doc, lineN) {\n\t    var line = getLine(doc, lineN), vis = visualLine(line);\n\t    if (line == vis) return lineN;\n\t    return lineNo(vis);\n\t  }\n\t  // Get the line number of the start of the next visual line after\n\t  // the given line.\n\t  function visualLineEndNo(doc, lineN) {\n\t    if (lineN > doc.lastLine()) return lineN;\n\t    var line = getLine(doc, lineN), merged;\n\t    if (!lineIsHidden(doc, line)) return lineN;\n\t    while (merged = collapsedSpanAtEnd(line))\n\t      line = merged.find(1, true).line;\n\t    return lineNo(line) + 1;\n\t  }\n\n\t  // Compute whether a line is hidden. Lines count as hidden when they\n\t  // are part of a visual line that starts with another line, or when\n\t  // they are entirely covered by collapsed, non-widget span.\n\t  function lineIsHidden(doc, line) {\n\t    var sps = sawCollapsedSpans && line.markedSpans;\n\t    if (sps) for (var sp, i = 0; i < sps.length; ++i) {\n\t      sp = sps[i];\n\t      if (!sp.marker.collapsed) continue;\n\t      if (sp.from == null) return true;\n\t      if (sp.marker.widgetNode) continue;\n\t      if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))\n\t        return true;\n\t    }\n\t  }\n\t  function lineIsHiddenInner(doc, line, span) {\n\t    if (span.to == null) {\n\t      var end = span.marker.find(1, true);\n\t      return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker));\n\t    }\n\t    if (span.marker.inclusiveRight && span.to == line.text.length)\n\t      return true;\n\t    for (var sp, i = 0; i < line.markedSpans.length; ++i) {\n\t      sp = line.markedSpans[i];\n\t      if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to &&\n\t          (sp.to == null || sp.to != span.from) &&\n\t          (sp.marker.inclusiveLeft || span.marker.inclusiveRight) &&\n\t          lineIsHiddenInner(doc, line, sp)) return true;\n\t    }\n\t  }\n\n\t  // LINE WIDGETS\n\n\t  // Line widgets are block elements displayed above or below a line.\n\n\t  var LineWidget = CodeMirror.LineWidget = function(doc, node, options) {\n\t    if (options) for (var opt in options) if (options.hasOwnProperty(opt))\n\t      this[opt] = options[opt];\n\t    this.doc = doc;\n\t    this.node = node;\n\t  };\n\t  eventMixin(LineWidget);\n\n\t  function adjustScrollWhenAboveVisible(cm, line, diff) {\n\t    if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop))\n\t      addToScrollPos(cm, null, diff);\n\t  }\n\n\t  LineWidget.prototype.clear = function() {\n\t    var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line);\n\t    if (no == null || !ws) return;\n\t    for (var i = 0; i < ws.length; ++i) if (ws[i] == this) ws.splice(i--, 1);\n\t    if (!ws.length) line.widgets = null;\n\t    var height = widgetHeight(this);\n\t    updateLineHeight(line, Math.max(0, line.height - height));\n\t    if (cm) runInOp(cm, function() {\n\t      adjustScrollWhenAboveVisible(cm, line, -height);\n\t      regLineChange(cm, no, \"widget\");\n\t    });\n\t  };\n\t  LineWidget.prototype.changed = function() {\n\t    var oldH = this.height, cm = this.doc.cm, line = this.line;\n\t    this.height = null;\n\t    var diff = widgetHeight(this) - oldH;\n\t    if (!diff) return;\n\t    updateLineHeight(line, line.height + diff);\n\t    if (cm) runInOp(cm, function() {\n\t      cm.curOp.forceUpdate = true;\n\t      adjustScrollWhenAboveVisible(cm, line, diff);\n\t    });\n\t  };\n\n\t  function widgetHeight(widget) {\n\t    if (widget.height != null) return widget.height;\n\t    var cm = widget.doc.cm;\n\t    if (!cm) return 0;\n\t    if (!contains(document.body, widget.node)) {\n\t      var parentStyle = \"position: relative;\";\n\t      if (widget.coverGutter)\n\t        parentStyle += \"margin-left: -\" + cm.display.gutters.offsetWidth + \"px;\";\n\t      if (widget.noHScroll)\n\t        parentStyle += \"width: \" + cm.display.wrapper.clientWidth + \"px;\";\n\t      removeChildrenAndAdd(cm.display.measure, elt(\"div\", [widget.node], null, parentStyle));\n\t    }\n\t    return widget.height = widget.node.parentNode.offsetHeight;\n\t  }\n\n\t  function addLineWidget(doc, handle, node, options) {\n\t    var widget = new LineWidget(doc, node, options);\n\t    var cm = doc.cm;\n\t    if (cm && widget.noHScroll) cm.display.alignWidgets = true;\n\t    changeLine(doc, handle, \"widget\", function(line) {\n\t      var widgets = line.widgets || (line.widgets = []);\n\t      if (widget.insertAt == null) widgets.push(widget);\n\t      else widgets.splice(Math.min(widgets.length - 1, Math.max(0, widget.insertAt)), 0, widget);\n\t      widget.line = line;\n\t      if (cm && !lineIsHidden(doc, line)) {\n\t        var aboveVisible = heightAtLine(line) < doc.scrollTop;\n\t        updateLineHeight(line, line.height + widgetHeight(widget));\n\t        if (aboveVisible) addToScrollPos(cm, null, widget.height);\n\t        cm.curOp.forceUpdate = true;\n\t      }\n\t      return true;\n\t    });\n\t    return widget;\n\t  }\n\n\t  // LINE DATA STRUCTURE\n\n\t  // Line objects. These hold state related to a line, including\n\t  // highlighting info (the styles array).\n\t  var Line = CodeMirror.Line = function(text, markedSpans, estimateHeight) {\n\t    this.text = text;\n\t    attachMarkedSpans(this, markedSpans);\n\t    this.height = estimateHeight ? estimateHeight(this) : 1;\n\t  };\n\t  eventMixin(Line);\n\t  Line.prototype.lineNo = function() { return lineNo(this); };\n\n\t  // Change the content (text, markers) of a line. Automatically\n\t  // invalidates cached information and tries to re-estimate the\n\t  // line's height.\n\t  function updateLine(line, text, markedSpans, estimateHeight) {\n\t    line.text = text;\n\t    if (line.stateAfter) line.stateAfter = null;\n\t    if (line.styles) line.styles = null;\n\t    if (line.order != null) line.order = null;\n\t    detachMarkedSpans(line);\n\t    attachMarkedSpans(line, markedSpans);\n\t    var estHeight = estimateHeight ? estimateHeight(line) : 1;\n\t    if (estHeight != line.height) updateLineHeight(line, estHeight);\n\t  }\n\n\t  // Detach a line from the document tree and its markers.\n\t  function cleanUpLine(line) {\n\t    line.parent = null;\n\t    detachMarkedSpans(line);\n\t  }\n\n\t  function extractLineClasses(type, output) {\n\t    if (type) for (;;) {\n\t      var lineClass = type.match(/(?:^|\\s+)line-(background-)?(\\S+)/);\n\t      if (!lineClass) break;\n\t      type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length);\n\t      var prop = lineClass[1] ? \"bgClass\" : \"textClass\";\n\t      if (output[prop] == null)\n\t        output[prop] = lineClass[2];\n\t      else if (!(new RegExp(\"(?:^|\\s)\" + lineClass[2] + \"(?:$|\\s)\")).test(output[prop]))\n\t        output[prop] += \" \" + lineClass[2];\n\t    }\n\t    return type;\n\t  }\n\n\t  function callBlankLine(mode, state) {\n\t    if (mode.blankLine) return mode.blankLine(state);\n\t    if (!mode.innerMode) return;\n\t    var inner = CodeMirror.innerMode(mode, state);\n\t    if (inner.mode.blankLine) return inner.mode.blankLine(inner.state);\n\t  }\n\n\t  function readToken(mode, stream, state, inner) {\n\t    for (var i = 0; i < 10; i++) {\n\t      if (inner) inner[0] = CodeMirror.innerMode(mode, state).mode;\n\t      var style = mode.token(stream, state);\n\t      if (stream.pos > stream.start) return style;\n\t    }\n\t    throw new Error(\"Mode \" + mode.name + \" failed to advance stream.\");\n\t  }\n\n\t  // Utility for getTokenAt and getLineTokens\n\t  function takeToken(cm, pos, precise, asArray) {\n\t    function getObj(copy) {\n\t      return {start: stream.start, end: stream.pos,\n\t              string: stream.current(),\n\t              type: style || null,\n\t              state: copy ? copyState(doc.mode, state) : state};\n\t    }\n\n\t    var doc = cm.doc, mode = doc.mode, style;\n\t    pos = clipPos(doc, pos);\n\t    var line = getLine(doc, pos.line), state = getStateBefore(cm, pos.line, precise);\n\t    var stream = new StringStream(line.text, cm.options.tabSize), tokens;\n\t    if (asArray) tokens = [];\n\t    while ((asArray || stream.pos < pos.ch) && !stream.eol()) {\n\t      stream.start = stream.pos;\n\t      style = readToken(mode, stream, state);\n\t      if (asArray) tokens.push(getObj(true));\n\t    }\n\t    return asArray ? tokens : getObj();\n\t  }\n\n\t  // Run the given mode's parser over a line, calling f for each token.\n\t  function runMode(cm, text, mode, state, f, lineClasses, forceToEnd) {\n\t    var flattenSpans = mode.flattenSpans;\n\t    if (flattenSpans == null) flattenSpans = cm.options.flattenSpans;\n\t    var curStart = 0, curStyle = null;\n\t    var stream = new StringStream(text, cm.options.tabSize), style;\n\t    var inner = cm.options.addModeClass && [null];\n\t    if (text == \"\") extractLineClasses(callBlankLine(mode, state), lineClasses);\n\t    while (!stream.eol()) {\n\t      if (stream.pos > cm.options.maxHighlightLength) {\n\t        flattenSpans = false;\n\t        if (forceToEnd) processLine(cm, text, state, stream.pos);\n\t        stream.pos = text.length;\n\t        style = null;\n\t      } else {\n\t        style = extractLineClasses(readToken(mode, stream, state, inner), lineClasses);\n\t      }\n\t      if (inner) {\n\t        var mName = inner[0].name;\n\t        if (mName) style = \"m-\" + (style ? mName + \" \" + style : mName);\n\t      }\n\t      if (!flattenSpans || curStyle != style) {\n\t        while (curStart < stream.start) {\n\t          curStart = Math.min(stream.start, curStart + 50000);\n\t          f(curStart, curStyle);\n\t        }\n\t        curStyle = style;\n\t      }\n\t      stream.start = stream.pos;\n\t    }\n\t    while (curStart < stream.pos) {\n\t      // Webkit seems to refuse to render text nodes longer than 57444 characters\n\t      var pos = Math.min(stream.pos, curStart + 50000);\n\t      f(pos, curStyle);\n\t      curStart = pos;\n\t    }\n\t  }\n\n\t  // Compute a style array (an array starting with a mode generation\n\t  // -- for invalidation -- followed by pairs of end positions and\n\t  // style strings), which is used to highlight the tokens on the\n\t  // line.\n\t  function highlightLine(cm, line, state, forceToEnd) {\n\t    // A styles array always starts with a number identifying the\n\t    // mode/overlays that it is based on (for easy invalidation).\n\t    var st = [cm.state.modeGen], lineClasses = {};\n\t    // Compute the base array of styles\n\t    runMode(cm, line.text, cm.doc.mode, state, function(end, style) {\n\t      st.push(end, style);\n\t    }, lineClasses, forceToEnd);\n\n\t    // Run overlays, adjust style array.\n\t    for (var o = 0; o < cm.state.overlays.length; ++o) {\n\t      var overlay = cm.state.overlays[o], i = 1, at = 0;\n\t      runMode(cm, line.text, overlay.mode, true, function(end, style) {\n\t        var start = i;\n\t        // Ensure there's a token end at the current position, and that i points at it\n\t        while (at < end) {\n\t          var i_end = st[i];\n\t          if (i_end > end)\n\t            st.splice(i, 1, end, st[i+1], i_end);\n\t          i += 2;\n\t          at = Math.min(end, i_end);\n\t        }\n\t        if (!style) return;\n\t        if (overlay.opaque) {\n\t          st.splice(start, i - start, end, \"cm-overlay \" + style);\n\t          i = start + 2;\n\t        } else {\n\t          for (; start < i; start += 2) {\n\t            var cur = st[start+1];\n\t            st[start+1] = (cur ? cur + \" \" : \"\") + \"cm-overlay \" + style;\n\t          }\n\t        }\n\t      }, lineClasses);\n\t    }\n\n\t    return {styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null};\n\t  }\n\n\t  function getLineStyles(cm, line, updateFrontier) {\n\t    if (!line.styles || line.styles[0] != cm.state.modeGen) {\n\t      var state = getStateBefore(cm, lineNo(line));\n\t      var result = highlightLine(cm, line, line.text.length > cm.options.maxHighlightLength ? copyState(cm.doc.mode, state) : state);\n\t      line.stateAfter = state;\n\t      line.styles = result.styles;\n\t      if (result.classes) line.styleClasses = result.classes;\n\t      else if (line.styleClasses) line.styleClasses = null;\n\t      if (updateFrontier === cm.doc.frontier) cm.doc.frontier++;\n\t    }\n\t    return line.styles;\n\t  }\n\n\t  // Lightweight form of highlight -- proceed over this line and\n\t  // update state, but don't save a style array. Used for lines that\n\t  // aren't currently visible.\n\t  function processLine(cm, text, state, startAt) {\n\t    var mode = cm.doc.mode;\n\t    var stream = new StringStream(text, cm.options.tabSize);\n\t    stream.start = stream.pos = startAt || 0;\n\t    if (text == \"\") callBlankLine(mode, state);\n\t    while (!stream.eol()) {\n\t      readToken(mode, stream, state);\n\t      stream.start = stream.pos;\n\t    }\n\t  }\n\n\t  // Convert a style as returned by a mode (either null, or a string\n\t  // containing one or more styles) to a CSS style. This is cached,\n\t  // and also looks for line-wide styles.\n\t  var styleToClassCache = {}, styleToClassCacheWithMode = {};\n\t  function interpretTokenStyle(style, options) {\n\t    if (!style || /^\\s*$/.test(style)) return null;\n\t    var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache;\n\t    return cache[style] ||\n\t      (cache[style] = style.replace(/\\S+/g, \"cm-$&\"));\n\t  }\n\n\t  // Render the DOM representation of the text of a line. Also builds\n\t  // up a 'line map', which points at the DOM nodes that represent\n\t  // specific stretches of text, and is used by the measuring code.\n\t  // The returned object contains the DOM node, this map, and\n\t  // information about line-wide styles that were set by the mode.\n\t  function buildLineContent(cm, lineView) {\n\t    // The padding-right forces the element to have a 'border', which\n\t    // is needed on Webkit to be able to get line-level bounding\n\t    // rectangles for it (in measureChar).\n\t    var content = elt(\"span\", null, null, webkit ? \"padding-right: .1px\" : null);\n\t    var builder = {pre: elt(\"pre\", [content], \"CodeMirror-line\"), content: content,\n\t                   col: 0, pos: 0, cm: cm,\n\t                   splitSpaces: (ie || webkit) && cm.getOption(\"lineWrapping\")};\n\t    lineView.measure = {};\n\n\t    // Iterate over the logical lines that make up this visual line.\n\t    for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) {\n\t      var line = i ? lineView.rest[i - 1] : lineView.line, order;\n\t      builder.pos = 0;\n\t      builder.addToken = buildToken;\n\t      // Optionally wire in some hacks into the token-rendering\n\t      // algorithm, to deal with browser quirks.\n\t      if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line)))\n\t        builder.addToken = buildTokenBadBidi(builder.addToken, order);\n\t      builder.map = [];\n\t      var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line);\n\t      insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate));\n\t      if (line.styleClasses) {\n\t        if (line.styleClasses.bgClass)\n\t          builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || \"\");\n\t        if (line.styleClasses.textClass)\n\t          builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || \"\");\n\t      }\n\n\t      // Ensure at least a single node is present, for measuring.\n\t      if (builder.map.length == 0)\n\t        builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure)));\n\n\t      // Store the map and a cache object for the current logical line\n\t      if (i == 0) {\n\t        lineView.measure.map = builder.map;\n\t        lineView.measure.cache = {};\n\t      } else {\n\t        (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map);\n\t        (lineView.measure.caches || (lineView.measure.caches = [])).push({});\n\t      }\n\t    }\n\n\t    // See issue #2901\n\t    if (webkit && /\\bcm-tab\\b/.test(builder.content.lastChild.className))\n\t      builder.content.className = \"cm-tab-wrap-hack\";\n\n\t    signal(cm, \"renderLine\", cm, lineView.line, builder.pre);\n\t    if (builder.pre.className)\n\t      builder.textClass = joinClasses(builder.pre.className, builder.textClass || \"\");\n\n\t    return builder;\n\t  }\n\n\t  function defaultSpecialCharPlaceholder(ch) {\n\t    var token = elt(\"span\", \"\\u2022\", \"cm-invalidchar\");\n\t    token.title = \"\\\\u\" + ch.charCodeAt(0).toString(16);\n\t    token.setAttribute(\"aria-label\", token.title);\n\t    return token;\n\t  }\n\n\t  // Build up the DOM representation for a single token, and add it to\n\t  // the line map. Takes care to render special characters separately.\n\t  function buildToken(builder, text, style, startStyle, endStyle, title, css) {\n\t    if (!text) return;\n\t    var displayText = builder.splitSpaces ? text.replace(/ {3,}/g, splitSpaces) : text;\n\t    var special = builder.cm.state.specialChars, mustWrap = false;\n\t    if (!special.test(text)) {\n\t      builder.col += text.length;\n\t      var content = document.createTextNode(displayText);\n\t      builder.map.push(builder.pos, builder.pos + text.length, content);\n\t      if (ie && ie_version < 9) mustWrap = true;\n\t      builder.pos += text.length;\n\t    } else {\n\t      var content = document.createDocumentFragment(), pos = 0;\n\t      while (true) {\n\t        special.lastIndex = pos;\n\t        var m = special.exec(text);\n\t        var skipped = m ? m.index - pos : text.length - pos;\n\t        if (skipped) {\n\t          var txt = document.createTextNode(displayText.slice(pos, pos + skipped));\n\t          if (ie && ie_version < 9) content.appendChild(elt(\"span\", [txt]));\n\t          else content.appendChild(txt);\n\t          builder.map.push(builder.pos, builder.pos + skipped, txt);\n\t          builder.col += skipped;\n\t          builder.pos += skipped;\n\t        }\n\t        if (!m) break;\n\t        pos += skipped + 1;\n\t        if (m[0] == \"\\t\") {\n\t          var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;\n\t          var txt = content.appendChild(elt(\"span\", spaceStr(tabWidth), \"cm-tab\"));\n\t          txt.setAttribute(\"role\", \"presentation\");\n\t          txt.setAttribute(\"cm-text\", \"\\t\");\n\t          builder.col += tabWidth;\n\t        } else if (m[0] == \"\\r\" || m[0] == \"\\n\") {\n\t          var txt = content.appendChild(elt(\"span\", m[0] == \"\\r\" ? \"\\u240d\" : \"\\u2424\", \"cm-invalidchar\"));\n\t          txt.setAttribute(\"cm-text\", m[0]);\n\t          builder.col += 1;\n\t        } else {\n\t          var txt = builder.cm.options.specialCharPlaceholder(m[0]);\n\t          txt.setAttribute(\"cm-text\", m[0]);\n\t          if (ie && ie_version < 9) content.appendChild(elt(\"span\", [txt]));\n\t          else content.appendChild(txt);\n\t          builder.col += 1;\n\t        }\n\t        builder.map.push(builder.pos, builder.pos + 1, txt);\n\t        builder.pos++;\n\t      }\n\t    }\n\t    if (style || startStyle || endStyle || mustWrap || css) {\n\t      var fullStyle = style || \"\";\n\t      if (startStyle) fullStyle += startStyle;\n\t      if (endStyle) fullStyle += endStyle;\n\t      var token = elt(\"span\", [content], fullStyle, css);\n\t      if (title) token.title = title;\n\t      return builder.content.appendChild(token);\n\t    }\n\t    builder.content.appendChild(content);\n\t  }\n\n\t  function splitSpaces(old) {\n\t    var out = \" \";\n\t    for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? \" \" : \"\\u00a0\";\n\t    out += \" \";\n\t    return out;\n\t  }\n\n\t  // Work around nonsense dimensions being reported for stretches of\n\t  // right-to-left text.\n\t  function buildTokenBadBidi(inner, order) {\n\t    return function(builder, text, style, startStyle, endStyle, title, css) {\n\t      style = style ? style + \" cm-force-border\" : \"cm-force-border\";\n\t      var start = builder.pos, end = start + text.length;\n\t      for (;;) {\n\t        // Find the part that overlaps with the start of this text\n\t        for (var i = 0; i < order.length; i++) {\n\t          var part = order[i];\n\t          if (part.to > start && part.from <= start) break;\n\t        }\n\t        if (part.to >= end) return inner(builder, text, style, startStyle, endStyle, title, css);\n\t        inner(builder, text.slice(0, part.to - start), style, startStyle, null, title, css);\n\t        startStyle = null;\n\t        text = text.slice(part.to - start);\n\t        start = part.to;\n\t      }\n\t    };\n\t  }\n\n\t  function buildCollapsedSpan(builder, size, marker, ignoreWidget) {\n\t    var widget = !ignoreWidget && marker.widgetNode;\n\t    if (widget) builder.map.push(builder.pos, builder.pos + size, widget);\n\t    if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) {\n\t      if (!widget)\n\t        widget = builder.content.appendChild(document.createElement(\"span\"));\n\t      widget.setAttribute(\"cm-marker\", marker.id);\n\t    }\n\t    if (widget) {\n\t      builder.cm.display.input.setUneditable(widget);\n\t      builder.content.appendChild(widget);\n\t    }\n\t    builder.pos += size;\n\t  }\n\n\t  // Outputs a number of spans to make up a line, taking highlighting\n\t  // and marked text into account.\n\t  function insertLineContent(line, builder, styles) {\n\t    var spans = line.markedSpans, allText = line.text, at = 0;\n\t    if (!spans) {\n\t      for (var i = 1; i < styles.length; i+=2)\n\t        builder.addToken(builder, allText.slice(at, at = styles[i]), interpretTokenStyle(styles[i+1], builder.cm.options));\n\t      return;\n\t    }\n\n\t    var len = allText.length, pos = 0, i = 1, text = \"\", style, css;\n\t    var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, title, collapsed;\n\t    for (;;) {\n\t      if (nextChange == pos) { // Update current marker set\n\t        spanStyle = spanEndStyle = spanStartStyle = title = css = \"\";\n\t        collapsed = null; nextChange = Infinity;\n\t        var foundBookmarks = [], endStyles\n\t        for (var j = 0; j < spans.length; ++j) {\n\t          var sp = spans[j], m = sp.marker;\n\t          if (m.type == \"bookmark\" && sp.from == pos && m.widgetNode) {\n\t            foundBookmarks.push(m);\n\t          } else if (sp.from <= pos && (sp.to == null || sp.to > pos || m.collapsed && sp.to == pos && sp.from == pos)) {\n\t            if (sp.to != null && sp.to != pos && nextChange > sp.to) {\n\t              nextChange = sp.to;\n\t              spanEndStyle = \"\";\n\t            }\n\t            if (m.className) spanStyle += \" \" + m.className;\n\t            if (m.css) css = (css ? css + \";\" : \"\") + m.css;\n\t            if (m.startStyle && sp.from == pos) spanStartStyle += \" \" + m.startStyle;\n\t            if (m.endStyle && sp.to == nextChange) (endStyles || (endStyles = [])).push(m.endStyle, sp.to)\n\t            if (m.title && !title) title = m.title;\n\t            if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0))\n\t              collapsed = sp;\n\t          } else if (sp.from > pos && nextChange > sp.from) {\n\t            nextChange = sp.from;\n\t          }\n\t        }\n\t        if (endStyles) for (var j = 0; j < endStyles.length; j += 2)\n\t          if (endStyles[j + 1] == nextChange) spanEndStyle += \" \" + endStyles[j]\n\n\t        if (!collapsed || collapsed.from == pos) for (var j = 0; j < foundBookmarks.length; ++j)\n\t          buildCollapsedSpan(builder, 0, foundBookmarks[j]);\n\t        if (collapsed && (collapsed.from || 0) == pos) {\n\t          buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos,\n\t                             collapsed.marker, collapsed.from == null);\n\t          if (collapsed.to == null) return;\n\t          if (collapsed.to == pos) collapsed = false;\n\t        }\n\t      }\n\t      if (pos >= len) break;\n\n\t      var upto = Math.min(len, nextChange);\n\t      while (true) {\n\t        if (text) {\n\t          var end = pos + text.length;\n\t          if (!collapsed) {\n\t            var tokenText = end > upto ? text.slice(0, upto - pos) : text;\n\t            builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle,\n\t                             spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : \"\", title, css);\n\t          }\n\t          if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;}\n\t          pos = end;\n\t          spanStartStyle = \"\";\n\t        }\n\t        text = allText.slice(at, at = styles[i++]);\n\t        style = interpretTokenStyle(styles[i++], builder.cm.options);\n\t      }\n\t    }\n\t  }\n\n\t  // DOCUMENT DATA STRUCTURE\n\n\t  // By default, updates that start and end at the beginning of a line\n\t  // are treated specially, in order to make the association of line\n\t  // widgets and marker elements with the text behave more intuitive.\n\t  function isWholeLineUpdate(doc, change) {\n\t    return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == \"\" &&\n\t      (!doc.cm || doc.cm.options.wholeLineUpdateBefore);\n\t  }\n\n\t  // Perform a change on the document data structure.\n\t  function updateDoc(doc, change, markedSpans, estimateHeight) {\n\t    function spansFor(n) {return markedSpans ? markedSpans[n] : null;}\n\t    function update(line, text, spans) {\n\t      updateLine(line, text, spans, estimateHeight);\n\t      signalLater(line, \"change\", line, change);\n\t    }\n\t    function linesFor(start, end) {\n\t      for (var i = start, result = []; i < end; ++i)\n\t        result.push(new Line(text[i], spansFor(i), estimateHeight));\n\t      return result;\n\t    }\n\n\t    var from = change.from, to = change.to, text = change.text;\n\t    var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);\n\t    var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line;\n\n\t    // Adjust the line structure\n\t    if (change.full) {\n\t      doc.insert(0, linesFor(0, text.length));\n\t      doc.remove(text.length, doc.size - text.length);\n\t    } else if (isWholeLineUpdate(doc, change)) {\n\t      // This is a whole-line replace. Treated specially to make\n\t      // sure line objects move the way they are supposed to.\n\t      var added = linesFor(0, text.length - 1);\n\t      update(lastLine, lastLine.text, lastSpans);\n\t      if (nlines) doc.remove(from.line, nlines);\n\t      if (added.length) doc.insert(from.line, added);\n\t    } else if (firstLine == lastLine) {\n\t      if (text.length == 1) {\n\t        update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans);\n\t      } else {\n\t        var added = linesFor(1, text.length - 1);\n\t        added.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight));\n\t        update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n\t        doc.insert(from.line + 1, added);\n\t      }\n\t    } else if (text.length == 1) {\n\t      update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0));\n\t      doc.remove(from.line + 1, nlines);\n\t    } else {\n\t      update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n\t      update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans);\n\t      var added = linesFor(1, text.length - 1);\n\t      if (nlines > 1) doc.remove(from.line + 1, nlines - 1);\n\t      doc.insert(from.line + 1, added);\n\t    }\n\n\t    signalLater(doc, \"change\", doc, change);\n\t  }\n\n\t  // The document is represented as a BTree consisting of leaves, with\n\t  // chunk of lines in them, and branches, with up to ten leaves or\n\t  // other branch nodes below them. The top node is always a branch\n\t  // node, and is the document object itself (meaning it has\n\t  // additional methods and properties).\n\t  //\n\t  // All nodes have parent links. The tree is used both to go from\n\t  // line numbers to line objects, and to go from objects to numbers.\n\t  // It also indexes by height, and is used to convert between height\n\t  // and line object, and to find the total height of the document.\n\t  //\n\t  // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html\n\n\t  function LeafChunk(lines) {\n\t    this.lines = lines;\n\t    this.parent = null;\n\t    for (var i = 0, height = 0; i < lines.length; ++i) {\n\t      lines[i].parent = this;\n\t      height += lines[i].height;\n\t    }\n\t    this.height = height;\n\t  }\n\n\t  LeafChunk.prototype = {\n\t    chunkSize: function() { return this.lines.length; },\n\t    // Remove the n lines at offset 'at'.\n\t    removeInner: function(at, n) {\n\t      for (var i = at, e = at + n; i < e; ++i) {\n\t        var line = this.lines[i];\n\t        this.height -= line.height;\n\t        cleanUpLine(line);\n\t        signalLater(line, \"delete\");\n\t      }\n\t      this.lines.splice(at, n);\n\t    },\n\t    // Helper used to collapse a small branch into a single leaf.\n\t    collapse: function(lines) {\n\t      lines.push.apply(lines, this.lines);\n\t    },\n\t    // Insert the given array of lines at offset 'at', count them as\n\t    // having the given height.\n\t    insertInner: function(at, lines, height) {\n\t      this.height += height;\n\t      this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at));\n\t      for (var i = 0; i < lines.length; ++i) lines[i].parent = this;\n\t    },\n\t    // Used to iterate over a part of the tree.\n\t    iterN: function(at, n, op) {\n\t      for (var e = at + n; at < e; ++at)\n\t        if (op(this.lines[at])) return true;\n\t    }\n\t  };\n\n\t  function BranchChunk(children) {\n\t    this.children = children;\n\t    var size = 0, height = 0;\n\t    for (var i = 0; i < children.length; ++i) {\n\t      var ch = children[i];\n\t      size += ch.chunkSize(); height += ch.height;\n\t      ch.parent = this;\n\t    }\n\t    this.size = size;\n\t    this.height = height;\n\t    this.parent = null;\n\t  }\n\n\t  BranchChunk.prototype = {\n\t    chunkSize: function() { return this.size; },\n\t    removeInner: function(at, n) {\n\t      this.size -= n;\n\t      for (var i = 0; i < this.children.length; ++i) {\n\t        var child = this.children[i], sz = child.chunkSize();\n\t        if (at < sz) {\n\t          var rm = Math.min(n, sz - at), oldHeight = child.height;\n\t          child.removeInner(at, rm);\n\t          this.height -= oldHeight - child.height;\n\t          if (sz == rm) { this.children.splice(i--, 1); child.parent = null; }\n\t          if ((n -= rm) == 0) break;\n\t          at = 0;\n\t        } else at -= sz;\n\t      }\n\t      // If the result is smaller than 25 lines, ensure that it is a\n\t      // single leaf node.\n\t      if (this.size - n < 25 &&\n\t          (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) {\n\t        var lines = [];\n\t        this.collapse(lines);\n\t        this.children = [new LeafChunk(lines)];\n\t        this.children[0].parent = this;\n\t      }\n\t    },\n\t    collapse: function(lines) {\n\t      for (var i = 0; i < this.children.length; ++i) this.children[i].collapse(lines);\n\t    },\n\t    insertInner: function(at, lines, height) {\n\t      this.size += lines.length;\n\t      this.height += height;\n\t      for (var i = 0; i < this.children.length; ++i) {\n\t        var child = this.children[i], sz = child.chunkSize();\n\t        if (at <= sz) {\n\t          child.insertInner(at, lines, height);\n\t          if (child.lines && child.lines.length > 50) {\n\t            while (child.lines.length > 50) {\n\t              var spilled = child.lines.splice(child.lines.length - 25, 25);\n\t              var newleaf = new LeafChunk(spilled);\n\t              child.height -= newleaf.height;\n\t              this.children.splice(i + 1, 0, newleaf);\n\t              newleaf.parent = this;\n\t            }\n\t            this.maybeSpill();\n\t          }\n\t          break;\n\t        }\n\t        at -= sz;\n\t      }\n\t    },\n\t    // When a node has grown, check whether it should be split.\n\t    maybeSpill: function() {\n\t      if (this.children.length <= 10) return;\n\t      var me = this;\n\t      do {\n\t        var spilled = me.children.splice(me.children.length - 5, 5);\n\t        var sibling = new BranchChunk(spilled);\n\t        if (!me.parent) { // Become the parent node\n\t          var copy = new BranchChunk(me.children);\n\t          copy.parent = me;\n\t          me.children = [copy, sibling];\n\t          me = copy;\n\t        } else {\n\t          me.size -= sibling.size;\n\t          me.height -= sibling.height;\n\t          var myIndex = indexOf(me.parent.children, me);\n\t          me.parent.children.splice(myIndex + 1, 0, sibling);\n\t        }\n\t        sibling.parent = me.parent;\n\t      } while (me.children.length > 10);\n\t      me.parent.maybeSpill();\n\t    },\n\t    iterN: function(at, n, op) {\n\t      for (var i = 0; i < this.children.length; ++i) {\n\t        var child = this.children[i], sz = child.chunkSize();\n\t        if (at < sz) {\n\t          var used = Math.min(n, sz - at);\n\t          if (child.iterN(at, used, op)) return true;\n\t          if ((n -= used) == 0) break;\n\t          at = 0;\n\t        } else at -= sz;\n\t      }\n\t    }\n\t  };\n\n\t  var nextDocId = 0;\n\t  var Doc = CodeMirror.Doc = function(text, mode, firstLine, lineSep) {\n\t    if (!(this instanceof Doc)) return new Doc(text, mode, firstLine, lineSep);\n\t    if (firstLine == null) firstLine = 0;\n\n\t    BranchChunk.call(this, [new LeafChunk([new Line(\"\", null)])]);\n\t    this.first = firstLine;\n\t    this.scrollTop = this.scrollLeft = 0;\n\t    this.cantEdit = false;\n\t    this.cleanGeneration = 1;\n\t    this.frontier = firstLine;\n\t    var start = Pos(firstLine, 0);\n\t    this.sel = simpleSelection(start);\n\t    this.history = new History(null);\n\t    this.id = ++nextDocId;\n\t    this.modeOption = mode;\n\t    this.lineSep = lineSep;\n\t    this.extend = false;\n\n\t    if (typeof text == \"string\") text = this.splitLines(text);\n\t    updateDoc(this, {from: start, to: start, text: text});\n\t    setSelection(this, simpleSelection(start), sel_dontScroll);\n\t  };\n\n\t  Doc.prototype = createObj(BranchChunk.prototype, {\n\t    constructor: Doc,\n\t    // Iterate over the document. Supports two forms -- with only one\n\t    // argument, it calls that for each line in the document. With\n\t    // three, it iterates over the range given by the first two (with\n\t    // the second being non-inclusive).\n\t    iter: function(from, to, op) {\n\t      if (op) this.iterN(from - this.first, to - from, op);\n\t      else this.iterN(this.first, this.first + this.size, from);\n\t    },\n\n\t    // Non-public interface for adding and removing lines.\n\t    insert: function(at, lines) {\n\t      var height = 0;\n\t      for (var i = 0; i < lines.length; ++i) height += lines[i].height;\n\t      this.insertInner(at - this.first, lines, height);\n\t    },\n\t    remove: function(at, n) { this.removeInner(at - this.first, n); },\n\n\t    // From here, the methods are part of the public interface. Most\n\t    // are also available from CodeMirror (editor) instances.\n\n\t    getValue: function(lineSep) {\n\t      var lines = getLines(this, this.first, this.first + this.size);\n\t      if (lineSep === false) return lines;\n\t      return lines.join(lineSep || this.lineSeparator());\n\t    },\n\t    setValue: docMethodOp(function(code) {\n\t      var top = Pos(this.first, 0), last = this.first + this.size - 1;\n\t      makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length),\n\t                        text: this.splitLines(code), origin: \"setValue\", full: true}, true);\n\t      setSelection(this, simpleSelection(top));\n\t    }),\n\t    replaceRange: function(code, from, to, origin) {\n\t      from = clipPos(this, from);\n\t      to = to ? clipPos(this, to) : from;\n\t      replaceRange(this, code, from, to, origin);\n\t    },\n\t    getRange: function(from, to, lineSep) {\n\t      var lines = getBetween(this, clipPos(this, from), clipPos(this, to));\n\t      if (lineSep === false) return lines;\n\t      return lines.join(lineSep || this.lineSeparator());\n\t    },\n\n\t    getLine: function(line) {var l = this.getLineHandle(line); return l && l.text;},\n\n\t    getLineHandle: function(line) {if (isLine(this, line)) return getLine(this, line);},\n\t    getLineNumber: function(line) {return lineNo(line);},\n\n\t    getLineHandleVisualStart: function(line) {\n\t      if (typeof line == \"number\") line = getLine(this, line);\n\t      return visualLine(line);\n\t    },\n\n\t    lineCount: function() {return this.size;},\n\t    firstLine: function() {return this.first;},\n\t    lastLine: function() {return this.first + this.size - 1;},\n\n\t    clipPos: function(pos) {return clipPos(this, pos);},\n\n\t    getCursor: function(start) {\n\t      var range = this.sel.primary(), pos;\n\t      if (start == null || start == \"head\") pos = range.head;\n\t      else if (start == \"anchor\") pos = range.anchor;\n\t      else if (start == \"end\" || start == \"to\" || start === false) pos = range.to();\n\t      else pos = range.from();\n\t      return pos;\n\t    },\n\t    listSelections: function() { return this.sel.ranges; },\n\t    somethingSelected: function() {return this.sel.somethingSelected();},\n\n\t    setCursor: docMethodOp(function(line, ch, options) {\n\t      setSimpleSelection(this, clipPos(this, typeof line == \"number\" ? Pos(line, ch || 0) : line), null, options);\n\t    }),\n\t    setSelection: docMethodOp(function(anchor, head, options) {\n\t      setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options);\n\t    }),\n\t    extendSelection: docMethodOp(function(head, other, options) {\n\t      extendSelection(this, clipPos(this, head), other && clipPos(this, other), options);\n\t    }),\n\t    extendSelections: docMethodOp(function(heads, options) {\n\t      extendSelections(this, clipPosArray(this, heads), options);\n\t    }),\n\t    extendSelectionsBy: docMethodOp(function(f, options) {\n\t      var heads = map(this.sel.ranges, f);\n\t      extendSelections(this, clipPosArray(this, heads), options);\n\t    }),\n\t    setSelections: docMethodOp(function(ranges, primary, options) {\n\t      if (!ranges.length) return;\n\t      for (var i = 0, out = []; i < ranges.length; i++)\n\t        out[i] = new Range(clipPos(this, ranges[i].anchor),\n\t                           clipPos(this, ranges[i].head));\n\t      if (primary == null) primary = Math.min(ranges.length - 1, this.sel.primIndex);\n\t      setSelection(this, normalizeSelection(out, primary), options);\n\t    }),\n\t    addSelection: docMethodOp(function(anchor, head, options) {\n\t      var ranges = this.sel.ranges.slice(0);\n\t      ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor)));\n\t      setSelection(this, normalizeSelection(ranges, ranges.length - 1), options);\n\t    }),\n\n\t    getSelection: function(lineSep) {\n\t      var ranges = this.sel.ranges, lines;\n\t      for (var i = 0; i < ranges.length; i++) {\n\t        var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n\t        lines = lines ? lines.concat(sel) : sel;\n\t      }\n\t      if (lineSep === false) return lines;\n\t      else return lines.join(lineSep || this.lineSeparator());\n\t    },\n\t    getSelections: function(lineSep) {\n\t      var parts = [], ranges = this.sel.ranges;\n\t      for (var i = 0; i < ranges.length; i++) {\n\t        var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n\t        if (lineSep !== false) sel = sel.join(lineSep || this.lineSeparator());\n\t        parts[i] = sel;\n\t      }\n\t      return parts;\n\t    },\n\t    replaceSelection: function(code, collapse, origin) {\n\t      var dup = [];\n\t      for (var i = 0; i < this.sel.ranges.length; i++)\n\t        dup[i] = code;\n\t      this.replaceSelections(dup, collapse, origin || \"+input\");\n\t    },\n\t    replaceSelections: docMethodOp(function(code, collapse, origin) {\n\t      var changes = [], sel = this.sel;\n\t      for (var i = 0; i < sel.ranges.length; i++) {\n\t        var range = sel.ranges[i];\n\t        changes[i] = {from: range.from(), to: range.to(), text: this.splitLines(code[i]), origin: origin};\n\t      }\n\t      var newSel = collapse && collapse != \"end\" && computeReplacedSel(this, changes, collapse);\n\t      for (var i = changes.length - 1; i >= 0; i--)\n\t        makeChange(this, changes[i]);\n\t      if (newSel) setSelectionReplaceHistory(this, newSel);\n\t      else if (this.cm) ensureCursorVisible(this.cm);\n\t    }),\n\t    undo: docMethodOp(function() {makeChangeFromHistory(this, \"undo\");}),\n\t    redo: docMethodOp(function() {makeChangeFromHistory(this, \"redo\");}),\n\t    undoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"undo\", true);}),\n\t    redoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"redo\", true);}),\n\n\t    setExtending: function(val) {this.extend = val;},\n\t    getExtending: function() {return this.extend;},\n\n\t    historySize: function() {\n\t      var hist = this.history, done = 0, undone = 0;\n\t      for (var i = 0; i < hist.done.length; i++) if (!hist.done[i].ranges) ++done;\n\t      for (var i = 0; i < hist.undone.length; i++) if (!hist.undone[i].ranges) ++undone;\n\t      return {undo: done, redo: undone};\n\t    },\n\t    clearHistory: function() {this.history = new History(this.history.maxGeneration);},\n\n\t    markClean: function() {\n\t      this.cleanGeneration = this.changeGeneration(true);\n\t    },\n\t    changeGeneration: function(forceSplit) {\n\t      if (forceSplit)\n\t        this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null;\n\t      return this.history.generation;\n\t    },\n\t    isClean: function (gen) {\n\t      return this.history.generation == (gen || this.cleanGeneration);\n\t    },\n\n\t    getHistory: function() {\n\t      return {done: copyHistoryArray(this.history.done),\n\t              undone: copyHistoryArray(this.history.undone)};\n\t    },\n\t    setHistory: function(histData) {\n\t      var hist = this.history = new History(this.history.maxGeneration);\n\t      hist.done = copyHistoryArray(histData.done.slice(0), null, true);\n\t      hist.undone = copyHistoryArray(histData.undone.slice(0), null, true);\n\t    },\n\n\t    addLineClass: docMethodOp(function(handle, where, cls) {\n\t      return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function(line) {\n\t        var prop = where == \"text\" ? \"textClass\"\n\t                 : where == \"background\" ? \"bgClass\"\n\t                 : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n\t        if (!line[prop]) line[prop] = cls;\n\t        else if (classTest(cls).test(line[prop])) return false;\n\t        else line[prop] += \" \" + cls;\n\t        return true;\n\t      });\n\t    }),\n\t    removeLineClass: docMethodOp(function(handle, where, cls) {\n\t      return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function(line) {\n\t        var prop = where == \"text\" ? \"textClass\"\n\t                 : where == \"background\" ? \"bgClass\"\n\t                 : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n\t        var cur = line[prop];\n\t        if (!cur) return false;\n\t        else if (cls == null) line[prop] = null;\n\t        else {\n\t          var found = cur.match(classTest(cls));\n\t          if (!found) return false;\n\t          var end = found.index + found[0].length;\n\t          line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? \"\" : \" \") + cur.slice(end) || null;\n\t        }\n\t        return true;\n\t      });\n\t    }),\n\n\t    addLineWidget: docMethodOp(function(handle, node, options) {\n\t      return addLineWidget(this, handle, node, options);\n\t    }),\n\t    removeLineWidget: function(widget) { widget.clear(); },\n\n\t    markText: function(from, to, options) {\n\t      return markText(this, clipPos(this, from), clipPos(this, to), options, options && options.type || \"range\");\n\t    },\n\t    setBookmark: function(pos, options) {\n\t      var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options),\n\t                      insertLeft: options && options.insertLeft,\n\t                      clearWhenEmpty: false, shared: options && options.shared,\n\t                      handleMouseEvents: options && options.handleMouseEvents};\n\t      pos = clipPos(this, pos);\n\t      return markText(this, pos, pos, realOpts, \"bookmark\");\n\t    },\n\t    findMarksAt: function(pos) {\n\t      pos = clipPos(this, pos);\n\t      var markers = [], spans = getLine(this, pos.line).markedSpans;\n\t      if (spans) for (var i = 0; i < spans.length; ++i) {\n\t        var span = spans[i];\n\t        if ((span.from == null || span.from <= pos.ch) &&\n\t            (span.to == null || span.to >= pos.ch))\n\t          markers.push(span.marker.parent || span.marker);\n\t      }\n\t      return markers;\n\t    },\n\t    findMarks: function(from, to, filter) {\n\t      from = clipPos(this, from); to = clipPos(this, to);\n\t      var found = [], lineNo = from.line;\n\t      this.iter(from.line, to.line + 1, function(line) {\n\t        var spans = line.markedSpans;\n\t        if (spans) for (var i = 0; i < spans.length; i++) {\n\t          var span = spans[i];\n\t          if (!(span.to != null && lineNo == from.line && from.ch >= span.to ||\n\t                span.from == null && lineNo != from.line ||\n\t                span.from != null && lineNo == to.line && span.from >= to.ch) &&\n\t              (!filter || filter(span.marker)))\n\t            found.push(span.marker.parent || span.marker);\n\t        }\n\t        ++lineNo;\n\t      });\n\t      return found;\n\t    },\n\t    getAllMarks: function() {\n\t      var markers = [];\n\t      this.iter(function(line) {\n\t        var sps = line.markedSpans;\n\t        if (sps) for (var i = 0; i < sps.length; ++i)\n\t          if (sps[i].from != null) markers.push(sps[i].marker);\n\t      });\n\t      return markers;\n\t    },\n\n\t    posFromIndex: function(off) {\n\t      var ch, lineNo = this.first, sepSize = this.lineSeparator().length;\n\t      this.iter(function(line) {\n\t        var sz = line.text.length + sepSize;\n\t        if (sz > off) { ch = off; return true; }\n\t        off -= sz;\n\t        ++lineNo;\n\t      });\n\t      return clipPos(this, Pos(lineNo, ch));\n\t    },\n\t    indexFromPos: function (coords) {\n\t      coords = clipPos(this, coords);\n\t      var index = coords.ch;\n\t      if (coords.line < this.first || coords.ch < 0) return 0;\n\t      var sepSize = this.lineSeparator().length;\n\t      this.iter(this.first, coords.line, function (line) {\n\t        index += line.text.length + sepSize;\n\t      });\n\t      return index;\n\t    },\n\n\t    copy: function(copyHistory) {\n\t      var doc = new Doc(getLines(this, this.first, this.first + this.size),\n\t                        this.modeOption, this.first, this.lineSep);\n\t      doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft;\n\t      doc.sel = this.sel;\n\t      doc.extend = false;\n\t      if (copyHistory) {\n\t        doc.history.undoDepth = this.history.undoDepth;\n\t        doc.setHistory(this.getHistory());\n\t      }\n\t      return doc;\n\t    },\n\n\t    linkedDoc: function(options) {\n\t      if (!options) options = {};\n\t      var from = this.first, to = this.first + this.size;\n\t      if (options.from != null && options.from > from) from = options.from;\n\t      if (options.to != null && options.to < to) to = options.to;\n\t      var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from, this.lineSep);\n\t      if (options.sharedHist) copy.history = this.history;\n\t      (this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist});\n\t      copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}];\n\t      copySharedMarkers(copy, findSharedMarkers(this));\n\t      return copy;\n\t    },\n\t    unlinkDoc: function(other) {\n\t      if (other instanceof CodeMirror) other = other.doc;\n\t      if (this.linked) for (var i = 0; i < this.linked.length; ++i) {\n\t        var link = this.linked[i];\n\t        if (link.doc != other) continue;\n\t        this.linked.splice(i, 1);\n\t        other.unlinkDoc(this);\n\t        detachSharedMarkers(findSharedMarkers(this));\n\t        break;\n\t      }\n\t      // If the histories were shared, split them again\n\t      if (other.history == this.history) {\n\t        var splitIds = [other.id];\n\t        linkedDocs(other, function(doc) {splitIds.push(doc.id);}, true);\n\t        other.history = new History(null);\n\t        other.history.done = copyHistoryArray(this.history.done, splitIds);\n\t        other.history.undone = copyHistoryArray(this.history.undone, splitIds);\n\t      }\n\t    },\n\t    iterLinkedDocs: function(f) {linkedDocs(this, f);},\n\n\t    getMode: function() {return this.mode;},\n\t    getEditor: function() {return this.cm;},\n\n\t    splitLines: function(str) {\n\t      if (this.lineSep) return str.split(this.lineSep);\n\t      return splitLinesAuto(str);\n\t    },\n\t    lineSeparator: function() { return this.lineSep || \"\\n\"; }\n\t  });\n\n\t  // Public alias.\n\t  Doc.prototype.eachLine = Doc.prototype.iter;\n\n\t  // Set up methods on CodeMirror's prototype to redirect to the editor's document.\n\t  var dontDelegate = \"iter insert remove copy getEditor constructor\".split(\" \");\n\t  for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)\n\t    CodeMirror.prototype[prop] = (function(method) {\n\t      return function() {return method.apply(this.doc, arguments);};\n\t    })(Doc.prototype[prop]);\n\n\t  eventMixin(Doc);\n\n\t  // Call f for all linked documents.\n\t  function linkedDocs(doc, f, sharedHistOnly) {\n\t    function propagate(doc, skip, sharedHist) {\n\t      if (doc.linked) for (var i = 0; i < doc.linked.length; ++i) {\n\t        var rel = doc.linked[i];\n\t        if (rel.doc == skip) continue;\n\t        var shared = sharedHist && rel.sharedHist;\n\t        if (sharedHistOnly && !shared) continue;\n\t        f(rel.doc, shared);\n\t        propagate(rel.doc, doc, shared);\n\t      }\n\t    }\n\t    propagate(doc, null, true);\n\t  }\n\n\t  // Attach a document to an editor.\n\t  function attachDoc(cm, doc) {\n\t    if (doc.cm) throw new Error(\"This document is already in use.\");\n\t    cm.doc = doc;\n\t    doc.cm = cm;\n\t    estimateLineHeights(cm);\n\t    loadMode(cm);\n\t    if (!cm.options.lineWrapping) findMaxLine(cm);\n\t    cm.options.mode = doc.modeOption;\n\t    regChange(cm);\n\t  }\n\n\t  // LINE UTILITIES\n\n\t  // Find the line object corresponding to the given line number.\n\t  function getLine(doc, n) {\n\t    n -= doc.first;\n\t    if (n < 0 || n >= doc.size) throw new Error(\"There is no line \" + (n + doc.first) + \" in the document.\");\n\t    for (var chunk = doc; !chunk.lines;) {\n\t      for (var i = 0;; ++i) {\n\t        var child = chunk.children[i], sz = child.chunkSize();\n\t        if (n < sz) { chunk = child; break; }\n\t        n -= sz;\n\t      }\n\t    }\n\t    return chunk.lines[n];\n\t  }\n\n\t  // Get the part of a document between two positions, as an array of\n\t  // strings.\n\t  function getBetween(doc, start, end) {\n\t    var out = [], n = start.line;\n\t    doc.iter(start.line, end.line + 1, function(line) {\n\t      var text = line.text;\n\t      if (n == end.line) text = text.slice(0, end.ch);\n\t      if (n == start.line) text = text.slice(start.ch);\n\t      out.push(text);\n\t      ++n;\n\t    });\n\t    return out;\n\t  }\n\t  // Get the lines between from and to, as array of strings.\n\t  function getLines(doc, from, to) {\n\t    var out = [];\n\t    doc.iter(from, to, function(line) { out.push(line.text); });\n\t    return out;\n\t  }\n\n\t  // Update the height of a line, propagating the height change\n\t  // upwards to parent nodes.\n\t  function updateLineHeight(line, height) {\n\t    var diff = height - line.height;\n\t    if (diff) for (var n = line; n; n = n.parent) n.height += diff;\n\t  }\n\n\t  // Given a line object, find its line number by walking up through\n\t  // its parent links.\n\t  function lineNo(line) {\n\t    if (line.parent == null) return null;\n\t    var cur = line.parent, no = indexOf(cur.lines, line);\n\t    for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {\n\t      for (var i = 0;; ++i) {\n\t        if (chunk.children[i] == cur) break;\n\t        no += chunk.children[i].chunkSize();\n\t      }\n\t    }\n\t    return no + cur.first;\n\t  }\n\n\t  // Find the line at the given vertical position, using the height\n\t  // information in the document tree.\n\t  function lineAtHeight(chunk, h) {\n\t    var n = chunk.first;\n\t    outer: do {\n\t      for (var i = 0; i < chunk.children.length; ++i) {\n\t        var child = chunk.children[i], ch = child.height;\n\t        if (h < ch) { chunk = child; continue outer; }\n\t        h -= ch;\n\t        n += child.chunkSize();\n\t      }\n\t      return n;\n\t    } while (!chunk.lines);\n\t    for (var i = 0; i < chunk.lines.length; ++i) {\n\t      var line = chunk.lines[i], lh = line.height;\n\t      if (h < lh) break;\n\t      h -= lh;\n\t    }\n\t    return n + i;\n\t  }\n\n\n\t  // Find the height above the given line.\n\t  function heightAtLine(lineObj) {\n\t    lineObj = visualLine(lineObj);\n\n\t    var h = 0, chunk = lineObj.parent;\n\t    for (var i = 0; i < chunk.lines.length; ++i) {\n\t      var line = chunk.lines[i];\n\t      if (line == lineObj) break;\n\t      else h += line.height;\n\t    }\n\t    for (var p = chunk.parent; p; chunk = p, p = chunk.parent) {\n\t      for (var i = 0; i < p.children.length; ++i) {\n\t        var cur = p.children[i];\n\t        if (cur == chunk) break;\n\t        else h += cur.height;\n\t      }\n\t    }\n\t    return h;\n\t  }\n\n\t  // Get the bidi ordering for the given line (and cache it). Returns\n\t  // false for lines that are fully left-to-right, and an array of\n\t  // BidiSpan objects otherwise.\n\t  function getOrder(line) {\n\t    var order = line.order;\n\t    if (order == null) order = line.order = bidiOrdering(line.text);\n\t    return order;\n\t  }\n\n\t  // HISTORY\n\n\t  function History(startGen) {\n\t    // Arrays of change events and selections. Doing something adds an\n\t    // event to done and clears undo. Undoing moves events from done\n\t    // to undone, redoing moves them in the other direction.\n\t    this.done = []; this.undone = [];\n\t    this.undoDepth = Infinity;\n\t    // Used to track when changes can be merged into a single undo\n\t    // event\n\t    this.lastModTime = this.lastSelTime = 0;\n\t    this.lastOp = this.lastSelOp = null;\n\t    this.lastOrigin = this.lastSelOrigin = null;\n\t    // Used by the isClean() method\n\t    this.generation = this.maxGeneration = startGen || 1;\n\t  }\n\n\t  // Create a history change event from an updateDoc-style change\n\t  // object.\n\t  function historyChangeFromChange(doc, change) {\n\t    var histChange = {from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to)};\n\t    attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);\n\t    linkedDocs(doc, function(doc) {attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);}, true);\n\t    return histChange;\n\t  }\n\n\t  // Pop all selection events off the end of a history array. Stop at\n\t  // a change event.\n\t  function clearSelectionEvents(array) {\n\t    while (array.length) {\n\t      var last = lst(array);\n\t      if (last.ranges) array.pop();\n\t      else break;\n\t    }\n\t  }\n\n\t  // Find the top change event in the history. Pop off selection\n\t  // events that are in the way.\n\t  function lastChangeEvent(hist, force) {\n\t    if (force) {\n\t      clearSelectionEvents(hist.done);\n\t      return lst(hist.done);\n\t    } else if (hist.done.length && !lst(hist.done).ranges) {\n\t      return lst(hist.done);\n\t    } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) {\n\t      hist.done.pop();\n\t      return lst(hist.done);\n\t    }\n\t  }\n\n\t  // Register a change in the history. Merges changes that are within\n\t  // a single operation, ore are close together with an origin that\n\t  // allows merging (starting with \"+\") into a single event.\n\t  function addChangeToHistory(doc, change, selAfter, opId) {\n\t    var hist = doc.history;\n\t    hist.undone.length = 0;\n\t    var time = +new Date, cur;\n\n\t    if ((hist.lastOp == opId ||\n\t         hist.lastOrigin == change.origin && change.origin &&\n\t         ((change.origin.charAt(0) == \"+\" && doc.cm && hist.lastModTime > time - doc.cm.options.historyEventDelay) ||\n\t          change.origin.charAt(0) == \"*\")) &&\n\t        (cur = lastChangeEvent(hist, hist.lastOp == opId))) {\n\t      // Merge this change into the last event\n\t      var last = lst(cur.changes);\n\t      if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) {\n\t        // Optimized case for simple insertion -- don't want to add\n\t        // new changesets for every character typed\n\t        last.to = changeEnd(change);\n\t      } else {\n\t        // Add new sub-event\n\t        cur.changes.push(historyChangeFromChange(doc, change));\n\t      }\n\t    } else {\n\t      // Can not be merged, start a new event.\n\t      var before = lst(hist.done);\n\t      if (!before || !before.ranges)\n\t        pushSelectionToHistory(doc.sel, hist.done);\n\t      cur = {changes: [historyChangeFromChange(doc, change)],\n\t             generation: hist.generation};\n\t      hist.done.push(cur);\n\t      while (hist.done.length > hist.undoDepth) {\n\t        hist.done.shift();\n\t        if (!hist.done[0].ranges) hist.done.shift();\n\t      }\n\t    }\n\t    hist.done.push(selAfter);\n\t    hist.generation = ++hist.maxGeneration;\n\t    hist.lastModTime = hist.lastSelTime = time;\n\t    hist.lastOp = hist.lastSelOp = opId;\n\t    hist.lastOrigin = hist.lastSelOrigin = change.origin;\n\n\t    if (!last) signal(doc, \"historyAdded\");\n\t  }\n\n\t  function selectionEventCanBeMerged(doc, origin, prev, sel) {\n\t    var ch = origin.charAt(0);\n\t    return ch == \"*\" ||\n\t      ch == \"+\" &&\n\t      prev.ranges.length == sel.ranges.length &&\n\t      prev.somethingSelected() == sel.somethingSelected() &&\n\t      new Date - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500);\n\t  }\n\n\t  // Called whenever the selection changes, sets the new selection as\n\t  // the pending selection in the history, and pushes the old pending\n\t  // selection into the 'done' array when it was significantly\n\t  // different (in number of selected ranges, emptiness, or time).\n\t  function addSelectionToHistory(doc, sel, opId, options) {\n\t    var hist = doc.history, origin = options && options.origin;\n\n\t    // A new event is started when the previous origin does not match\n\t    // the current, or the origins don't allow matching. Origins\n\t    // starting with * are always merged, those starting with + are\n\t    // merged when similar and close together in time.\n\t    if (opId == hist.lastSelOp ||\n\t        (origin && hist.lastSelOrigin == origin &&\n\t         (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin ||\n\t          selectionEventCanBeMerged(doc, origin, lst(hist.done), sel))))\n\t      hist.done[hist.done.length - 1] = sel;\n\t    else\n\t      pushSelectionToHistory(sel, hist.done);\n\n\t    hist.lastSelTime = +new Date;\n\t    hist.lastSelOrigin = origin;\n\t    hist.lastSelOp = opId;\n\t    if (options && options.clearRedo !== false)\n\t      clearSelectionEvents(hist.undone);\n\t  }\n\n\t  function pushSelectionToHistory(sel, dest) {\n\t    var top = lst(dest);\n\t    if (!(top && top.ranges && top.equals(sel)))\n\t      dest.push(sel);\n\t  }\n\n\t  // Used to store marked span information in the history.\n\t  function attachLocalSpans(doc, change, from, to) {\n\t    var existing = change[\"spans_\" + doc.id], n = 0;\n\t    doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function(line) {\n\t      if (line.markedSpans)\n\t        (existing || (existing = change[\"spans_\" + doc.id] = {}))[n] = line.markedSpans;\n\t      ++n;\n\t    });\n\t  }\n\n\t  // When un/re-doing restores text containing marked spans, those\n\t  // that have been explicitly cleared should not be restored.\n\t  function removeClearedSpans(spans) {\n\t    if (!spans) return null;\n\t    for (var i = 0, out; i < spans.length; ++i) {\n\t      if (spans[i].marker.explicitlyCleared) { if (!out) out = spans.slice(0, i); }\n\t      else if (out) out.push(spans[i]);\n\t    }\n\t    return !out ? spans : out.length ? out : null;\n\t  }\n\n\t  // Retrieve and filter the old marked spans stored in a change event.\n\t  function getOldSpans(doc, change) {\n\t    var found = change[\"spans_\" + doc.id];\n\t    if (!found) return null;\n\t    for (var i = 0, nw = []; i < change.text.length; ++i)\n\t      nw.push(removeClearedSpans(found[i]));\n\t    return nw;\n\t  }\n\n\t  // Used both to provide a JSON-safe object in .getHistory, and, when\n\t  // detaching a document, to split the history in two\n\t  function copyHistoryArray(events, newGroup, instantiateSel) {\n\t    for (var i = 0, copy = []; i < events.length; ++i) {\n\t      var event = events[i];\n\t      if (event.ranges) {\n\t        copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event);\n\t        continue;\n\t      }\n\t      var changes = event.changes, newChanges = [];\n\t      copy.push({changes: newChanges});\n\t      for (var j = 0; j < changes.length; ++j) {\n\t        var change = changes[j], m;\n\t        newChanges.push({from: change.from, to: change.to, text: change.text});\n\t        if (newGroup) for (var prop in change) if (m = prop.match(/^spans_(\\d+)$/)) {\n\t          if (indexOf(newGroup, Number(m[1])) > -1) {\n\t            lst(newChanges)[prop] = change[prop];\n\t            delete change[prop];\n\t          }\n\t        }\n\t      }\n\t    }\n\t    return copy;\n\t  }\n\n\t  // Rebasing/resetting history to deal with externally-sourced changes\n\n\t  function rebaseHistSelSingle(pos, from, to, diff) {\n\t    if (to < pos.line) {\n\t      pos.line += diff;\n\t    } else if (from < pos.line) {\n\t      pos.line = from;\n\t      pos.ch = 0;\n\t    }\n\t  }\n\n\t  // Tries to rebase an array of history events given a change in the\n\t  // document. If the change touches the same lines as the event, the\n\t  // event, and everything 'behind' it, is discarded. If the change is\n\t  // before the event, the event's positions are updated. Uses a\n\t  // copy-on-write scheme for the positions, to avoid having to\n\t  // reallocate them all on every rebase, but also avoid problems with\n\t  // shared position objects being unsafely updated.\n\t  function rebaseHistArray(array, from, to, diff) {\n\t    for (var i = 0; i < array.length; ++i) {\n\t      var sub = array[i], ok = true;\n\t      if (sub.ranges) {\n\t        if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; }\n\t        for (var j = 0; j < sub.ranges.length; j++) {\n\t          rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff);\n\t          rebaseHistSelSingle(sub.ranges[j].head, from, to, diff);\n\t        }\n\t        continue;\n\t      }\n\t      for (var j = 0; j < sub.changes.length; ++j) {\n\t        var cur = sub.changes[j];\n\t        if (to < cur.from.line) {\n\t          cur.from = Pos(cur.from.line + diff, cur.from.ch);\n\t          cur.to = Pos(cur.to.line + diff, cur.to.ch);\n\t        } else if (from <= cur.to.line) {\n\t          ok = false;\n\t          break;\n\t        }\n\t      }\n\t      if (!ok) {\n\t        array.splice(0, i + 1);\n\t        i = 0;\n\t      }\n\t    }\n\t  }\n\n\t  function rebaseHist(hist, change) {\n\t    var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1;\n\t    rebaseHistArray(hist.done, from, to, diff);\n\t    rebaseHistArray(hist.undone, from, to, diff);\n\t  }\n\n\t  // EVENT UTILITIES\n\n\t  // Due to the fact that we still support jurassic IE versions, some\n\t  // compatibility wrappers are needed.\n\n\t  var e_preventDefault = CodeMirror.e_preventDefault = function(e) {\n\t    if (e.preventDefault) e.preventDefault();\n\t    else e.returnValue = false;\n\t  };\n\t  var e_stopPropagation = CodeMirror.e_stopPropagation = function(e) {\n\t    if (e.stopPropagation) e.stopPropagation();\n\t    else e.cancelBubble = true;\n\t  };\n\t  function e_defaultPrevented(e) {\n\t    return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false;\n\t  }\n\t  var e_stop = CodeMirror.e_stop = function(e) {e_preventDefault(e); e_stopPropagation(e);};\n\n\t  function e_target(e) {return e.target || e.srcElement;}\n\t  function e_button(e) {\n\t    var b = e.which;\n\t    if (b == null) {\n\t      if (e.button & 1) b = 1;\n\t      else if (e.button & 2) b = 3;\n\t      else if (e.button & 4) b = 2;\n\t    }\n\t    if (mac && e.ctrlKey && b == 1) b = 3;\n\t    return b;\n\t  }\n\n\t  // EVENT HANDLING\n\n\t  // Lightweight event framework. on/off also work on DOM nodes,\n\t  // registering native DOM handlers.\n\n\t  var on = CodeMirror.on = function(emitter, type, f) {\n\t    if (emitter.addEventListener)\n\t      emitter.addEventListener(type, f, false);\n\t    else if (emitter.attachEvent)\n\t      emitter.attachEvent(\"on\" + type, f);\n\t    else {\n\t      var map = emitter._handlers || (emitter._handlers = {});\n\t      var arr = map[type] || (map[type] = []);\n\t      arr.push(f);\n\t    }\n\t  };\n\n\t  var noHandlers = []\n\t  function getHandlers(emitter, type, copy) {\n\t    var arr = emitter._handlers && emitter._handlers[type]\n\t    if (copy) return arr && arr.length > 0 ? arr.slice() : noHandlers\n\t    else return arr || noHandlers\n\t  }\n\n\t  var off = CodeMirror.off = function(emitter, type, f) {\n\t    if (emitter.removeEventListener)\n\t      emitter.removeEventListener(type, f, false);\n\t    else if (emitter.detachEvent)\n\t      emitter.detachEvent(\"on\" + type, f);\n\t    else {\n\t      var handlers = getHandlers(emitter, type, false)\n\t      for (var i = 0; i < handlers.length; ++i)\n\t        if (handlers[i] == f) { handlers.splice(i, 1); break; }\n\t    }\n\t  };\n\n\t  var signal = CodeMirror.signal = function(emitter, type /*, values...*/) {\n\t    var handlers = getHandlers(emitter, type, true)\n\t    if (!handlers.length) return;\n\t    var args = Array.prototype.slice.call(arguments, 2);\n\t    for (var i = 0; i < handlers.length; ++i) handlers[i].apply(null, args);\n\t  };\n\n\t  var orphanDelayedCallbacks = null;\n\n\t  // Often, we want to signal events at a point where we are in the\n\t  // middle of some work, but don't want the handler to start calling\n\t  // other methods on the editor, which might be in an inconsistent\n\t  // state or simply not expect any other events to happen.\n\t  // signalLater looks whether there are any handlers, and schedules\n\t  // them to be executed when the last operation ends, or, if no\n\t  // operation is active, when a timeout fires.\n\t  function signalLater(emitter, type /*, values...*/) {\n\t    var arr = getHandlers(emitter, type, false)\n\t    if (!arr.length) return;\n\t    var args = Array.prototype.slice.call(arguments, 2), list;\n\t    if (operationGroup) {\n\t      list = operationGroup.delayedCallbacks;\n\t    } else if (orphanDelayedCallbacks) {\n\t      list = orphanDelayedCallbacks;\n\t    } else {\n\t      list = orphanDelayedCallbacks = [];\n\t      setTimeout(fireOrphanDelayed, 0);\n\t    }\n\t    function bnd(f) {return function(){f.apply(null, args);};};\n\t    for (var i = 0; i < arr.length; ++i)\n\t      list.push(bnd(arr[i]));\n\t  }\n\n\t  function fireOrphanDelayed() {\n\t    var delayed = orphanDelayedCallbacks;\n\t    orphanDelayedCallbacks = null;\n\t    for (var i = 0; i < delayed.length; ++i) delayed[i]();\n\t  }\n\n\t  // The DOM events that CodeMirror handles can be overridden by\n\t  // registering a (non-DOM) handler on the editor for the event name,\n\t  // and preventDefault-ing the event in that handler.\n\t  function signalDOMEvent(cm, e, override) {\n\t    if (typeof e == \"string\")\n\t      e = {type: e, preventDefault: function() { this.defaultPrevented = true; }};\n\t    signal(cm, override || e.type, cm, e);\n\t    return e_defaultPrevented(e) || e.codemirrorIgnore;\n\t  }\n\n\t  function signalCursorActivity(cm) {\n\t    var arr = cm._handlers && cm._handlers.cursorActivity;\n\t    if (!arr) return;\n\t    var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []);\n\t    for (var i = 0; i < arr.length; ++i) if (indexOf(set, arr[i]) == -1)\n\t      set.push(arr[i]);\n\t  }\n\n\t  function hasHandler(emitter, type) {\n\t    return getHandlers(emitter, type).length > 0\n\t  }\n\n\t  // Add on and off methods to a constructor's prototype, to make\n\t  // registering events on such objects more convenient.\n\t  function eventMixin(ctor) {\n\t    ctor.prototype.on = function(type, f) {on(this, type, f);};\n\t    ctor.prototype.off = function(type, f) {off(this, type, f);};\n\t  }\n\n\t  // MISC UTILITIES\n\n\t  // Number of pixels added to scroller and sizer to hide scrollbar\n\t  var scrollerGap = 30;\n\n\t  // Returned or thrown by various protocols to signal 'I'm not\n\t  // handling this'.\n\t  var Pass = CodeMirror.Pass = {toString: function(){return \"CodeMirror.Pass\";}};\n\n\t  // Reused option objects for setSelection & friends\n\t  var sel_dontScroll = {scroll: false}, sel_mouse = {origin: \"*mouse\"}, sel_move = {origin: \"+move\"};\n\n\t  function Delayed() {this.id = null;}\n\t  Delayed.prototype.set = function(ms, f) {\n\t    clearTimeout(this.id);\n\t    this.id = setTimeout(f, ms);\n\t  };\n\n\t  // Counts the column offset in a string, taking tabs into account.\n\t  // Used mostly to find indentation.\n\t  var countColumn = CodeMirror.countColumn = function(string, end, tabSize, startIndex, startValue) {\n\t    if (end == null) {\n\t      end = string.search(/[^\\s\\u00a0]/);\n\t      if (end == -1) end = string.length;\n\t    }\n\t    for (var i = startIndex || 0, n = startValue || 0;;) {\n\t      var nextTab = string.indexOf(\"\\t\", i);\n\t      if (nextTab < 0 || nextTab >= end)\n\t        return n + (end - i);\n\t      n += nextTab - i;\n\t      n += tabSize - (n % tabSize);\n\t      i = nextTab + 1;\n\t    }\n\t  };\n\n\t  // The inverse of countColumn -- find the offset that corresponds to\n\t  // a particular column.\n\t  var findColumn = CodeMirror.findColumn = function(string, goal, tabSize) {\n\t    for (var pos = 0, col = 0;;) {\n\t      var nextTab = string.indexOf(\"\\t\", pos);\n\t      if (nextTab == -1) nextTab = string.length;\n\t      var skipped = nextTab - pos;\n\t      if (nextTab == string.length || col + skipped >= goal)\n\t        return pos + Math.min(skipped, goal - col);\n\t      col += nextTab - pos;\n\t      col += tabSize - (col % tabSize);\n\t      pos = nextTab + 1;\n\t      if (col >= goal) return pos;\n\t    }\n\t  }\n\n\t  var spaceStrs = [\"\"];\n\t  function spaceStr(n) {\n\t    while (spaceStrs.length <= n)\n\t      spaceStrs.push(lst(spaceStrs) + \" \");\n\t    return spaceStrs[n];\n\t  }\n\n\t  function lst(arr) { return arr[arr.length-1]; }\n\n\t  var selectInput = function(node) { node.select(); };\n\t  if (ios) // Mobile Safari apparently has a bug where select() is broken.\n\t    selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; };\n\t  else if (ie) // Suppress mysterious IE10 errors\n\t    selectInput = function(node) { try { node.select(); } catch(_e) {} };\n\n\t  function indexOf(array, elt) {\n\t    for (var i = 0; i < array.length; ++i)\n\t      if (array[i] == elt) return i;\n\t    return -1;\n\t  }\n\t  function map(array, f) {\n\t    var out = [];\n\t    for (var i = 0; i < array.length; i++) out[i] = f(array[i], i);\n\t    return out;\n\t  }\n\n\t  function nothing() {}\n\n\t  function createObj(base, props) {\n\t    var inst;\n\t    if (Object.create) {\n\t      inst = Object.create(base);\n\t    } else {\n\t      nothing.prototype = base;\n\t      inst = new nothing();\n\t    }\n\t    if (props) copyObj(props, inst);\n\t    return inst;\n\t  };\n\n\t  function copyObj(obj, target, overwrite) {\n\t    if (!target) target = {};\n\t    for (var prop in obj)\n\t      if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))\n\t        target[prop] = obj[prop];\n\t    return target;\n\t  }\n\n\t  function bind(f) {\n\t    var args = Array.prototype.slice.call(arguments, 1);\n\t    return function(){return f.apply(null, args);};\n\t  }\n\n\t  var nonASCIISingleCaseWordChar = /[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;\n\t  var isWordCharBasic = CodeMirror.isWordChar = function(ch) {\n\t    return /\\w/.test(ch) || ch > \"\\x80\" &&\n\t      (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));\n\t  };\n\t  function isWordChar(ch, helper) {\n\t    if (!helper) return isWordCharBasic(ch);\n\t    if (helper.source.indexOf(\"\\\\w\") > -1 && isWordCharBasic(ch)) return true;\n\t    return helper.test(ch);\n\t  }\n\n\t  function isEmpty(obj) {\n\t    for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;\n\t    return true;\n\t  }\n\n\t  // Extending unicode characters. A series of a non-extending char +\n\t  // any number of extending chars is treated as a single unit as far\n\t  // as editing and measuring is concerned. This is not fully correct,\n\t  // since some scripts/fonts/browsers also treat other configurations\n\t  // of code points as a group.\n\t  var extendingChars = /[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;\n\t  function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch); }\n\n\t  // DOM UTILITIES\n\n\t  function elt(tag, content, className, style) {\n\t    var e = document.createElement(tag);\n\t    if (className) e.className = className;\n\t    if (style) e.style.cssText = style;\n\t    if (typeof content == \"string\") e.appendChild(document.createTextNode(content));\n\t    else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);\n\t    return e;\n\t  }\n\n\t  var range;\n\t  if (document.createRange) range = function(node, start, end, endNode) {\n\t    var r = document.createRange();\n\t    r.setEnd(endNode || node, end);\n\t    r.setStart(node, start);\n\t    return r;\n\t  };\n\t  else range = function(node, start, end) {\n\t    var r = document.body.createTextRange();\n\t    try { r.moveToElementText(node.parentNode); }\n\t    catch(e) { return r; }\n\t    r.collapse(true);\n\t    r.moveEnd(\"character\", end);\n\t    r.moveStart(\"character\", start);\n\t    return r;\n\t  };\n\n\t  function removeChildren(e) {\n\t    for (var count = e.childNodes.length; count > 0; --count)\n\t      e.removeChild(e.firstChild);\n\t    return e;\n\t  }\n\n\t  function removeChildrenAndAdd(parent, e) {\n\t    return removeChildren(parent).appendChild(e);\n\t  }\n\n\t  var contains = CodeMirror.contains = function(parent, child) {\n\t    if (child.nodeType == 3) // Android browser always returns false when child is a textnode\n\t      child = child.parentNode;\n\t    if (parent.contains)\n\t      return parent.contains(child);\n\t    do {\n\t      if (child.nodeType == 11) child = child.host;\n\t      if (child == parent) return true;\n\t    } while (child = child.parentNode);\n\t  };\n\n\t  function activeElt() {\n\t    var activeElement = document.activeElement;\n\t    while (activeElement && activeElement.root && activeElement.root.activeElement)\n\t      activeElement = activeElement.root.activeElement;\n\t    return activeElement;\n\t  }\n\t  // Older versions of IE throws unspecified error when touching\n\t  // document.activeElement in some cases (during loading, in iframe)\n\t  if (ie && ie_version < 11) activeElt = function() {\n\t    try { return document.activeElement; }\n\t    catch(e) { return document.body; }\n\t  };\n\n\t  function classTest(cls) { return new RegExp(\"(^|\\\\s)\" + cls + \"(?:$|\\\\s)\\\\s*\"); }\n\t  var rmClass = CodeMirror.rmClass = function(node, cls) {\n\t    var current = node.className;\n\t    var match = classTest(cls).exec(current);\n\t    if (match) {\n\t      var after = current.slice(match.index + match[0].length);\n\t      node.className = current.slice(0, match.index) + (after ? match[1] + after : \"\");\n\t    }\n\t  };\n\t  var addClass = CodeMirror.addClass = function(node, cls) {\n\t    var current = node.className;\n\t    if (!classTest(cls).test(current)) node.className += (current ? \" \" : \"\") + cls;\n\t  };\n\t  function joinClasses(a, b) {\n\t    var as = a.split(\" \");\n\t    for (var i = 0; i < as.length; i++)\n\t      if (as[i] && !classTest(as[i]).test(b)) b += \" \" + as[i];\n\t    return b;\n\t  }\n\n\t  // WINDOW-WIDE EVENTS\n\n\t  // These must be handled carefully, because naively registering a\n\t  // handler for each editor will cause the editors to never be\n\t  // garbage collected.\n\n\t  function forEachCodeMirror(f) {\n\t    if (!document.body.getElementsByClassName) return;\n\t    var byClass = document.body.getElementsByClassName(\"CodeMirror\");\n\t    for (var i = 0; i < byClass.length; i++) {\n\t      var cm = byClass[i].CodeMirror;\n\t      if (cm) f(cm);\n\t    }\n\t  }\n\n\t  var globalsRegistered = false;\n\t  function ensureGlobalHandlers() {\n\t    if (globalsRegistered) return;\n\t    registerGlobalHandlers();\n\t    globalsRegistered = true;\n\t  }\n\t  function registerGlobalHandlers() {\n\t    // When the window resizes, we need to refresh active editors.\n\t    var resizeTimer;\n\t    on(window, \"resize\", function() {\n\t      if (resizeTimer == null) resizeTimer = setTimeout(function() {\n\t        resizeTimer = null;\n\t        forEachCodeMirror(onResize);\n\t      }, 100);\n\t    });\n\t    // When the window loses focus, we want to show the editor as blurred\n\t    on(window, \"blur\", function() {\n\t      forEachCodeMirror(onBlur);\n\t    });\n\t  }\n\n\t  // FEATURE DETECTION\n\n\t  // Detect drag-and-drop\n\t  var dragAndDrop = function() {\n\t    // There is *some* kind of drag-and-drop support in IE6-8, but I\n\t    // couldn't get it to work yet.\n\t    if (ie && ie_version < 9) return false;\n\t    var div = elt('div');\n\t    return \"draggable\" in div || \"dragDrop\" in div;\n\t  }();\n\n\t  var zwspSupported;\n\t  function zeroWidthElement(measure) {\n\t    if (zwspSupported == null) {\n\t      var test = elt(\"span\", \"\\u200b\");\n\t      removeChildrenAndAdd(measure, elt(\"span\", [test, document.createTextNode(\"x\")]));\n\t      if (measure.firstChild.offsetHeight != 0)\n\t        zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8);\n\t    }\n\t    var node = zwspSupported ? elt(\"span\", \"\\u200b\") :\n\t      elt(\"span\", \"\\u00a0\", null, \"display: inline-block; width: 1px; margin-right: -1px\");\n\t    node.setAttribute(\"cm-text\", \"\");\n\t    return node;\n\t  }\n\n\t  // Feature-detect IE's crummy client rect reporting for bidi text\n\t  var badBidiRects;\n\t  function hasBadBidiRects(measure) {\n\t    if (badBidiRects != null) return badBidiRects;\n\t    var txt = removeChildrenAndAdd(measure, document.createTextNode(\"A\\u062eA\"));\n\t    var r0 = range(txt, 0, 1).getBoundingClientRect();\n\t    if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (#2780)\n\t    var r1 = range(txt, 1, 2).getBoundingClientRect();\n\t    return badBidiRects = (r1.right - r0.right < 3);\n\t  }\n\n\t  // See if \"\".split is the broken IE version, if so, provide an\n\t  // alternative way to split lines.\n\t  var splitLinesAuto = CodeMirror.splitLines = \"\\n\\nb\".split(/\\n/).length != 3 ? function(string) {\n\t    var pos = 0, result = [], l = string.length;\n\t    while (pos <= l) {\n\t      var nl = string.indexOf(\"\\n\", pos);\n\t      if (nl == -1) nl = string.length;\n\t      var line = string.slice(pos, string.charAt(nl - 1) == \"\\r\" ? nl - 1 : nl);\n\t      var rt = line.indexOf(\"\\r\");\n\t      if (rt != -1) {\n\t        result.push(line.slice(0, rt));\n\t        pos += rt + 1;\n\t      } else {\n\t        result.push(line);\n\t        pos = nl + 1;\n\t      }\n\t    }\n\t    return result;\n\t  } : function(string){return string.split(/\\r\\n?|\\n/);};\n\n\t  var hasSelection = window.getSelection ? function(te) {\n\t    try { return te.selectionStart != te.selectionEnd; }\n\t    catch(e) { return false; }\n\t  } : function(te) {\n\t    try {var range = te.ownerDocument.selection.createRange();}\n\t    catch(e) {}\n\t    if (!range || range.parentElement() != te) return false;\n\t    return range.compareEndPoints(\"StartToEnd\", range) != 0;\n\t  };\n\n\t  var hasCopyEvent = (function() {\n\t    var e = elt(\"div\");\n\t    if (\"oncopy\" in e) return true;\n\t    e.setAttribute(\"oncopy\", \"return;\");\n\t    return typeof e.oncopy == \"function\";\n\t  })();\n\n\t  var badZoomedRects = null;\n\t  function hasBadZoomedRects(measure) {\n\t    if (badZoomedRects != null) return badZoomedRects;\n\t    var node = removeChildrenAndAdd(measure, elt(\"span\", \"x\"));\n\t    var normal = node.getBoundingClientRect();\n\t    var fromRange = range(node, 0, 1).getBoundingClientRect();\n\t    return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1;\n\t  }\n\n\t  // KEY NAMES\n\n\t  var keyNames = CodeMirror.keyNames = {\n\t    3: \"Enter\", 8: \"Backspace\", 9: \"Tab\", 13: \"Enter\", 16: \"Shift\", 17: \"Ctrl\", 18: \"Alt\",\n\t    19: \"Pause\", 20: \"CapsLock\", 27: \"Esc\", 32: \"Space\", 33: \"PageUp\", 34: \"PageDown\", 35: \"End\",\n\t    36: \"Home\", 37: \"Left\", 38: \"Up\", 39: \"Right\", 40: \"Down\", 44: \"PrintScrn\", 45: \"Insert\",\n\t    46: \"Delete\", 59: \";\", 61: \"=\", 91: \"Mod\", 92: \"Mod\", 93: \"Mod\",\n\t    106: \"*\", 107: \"=\", 109: \"-\", 110: \".\", 111: \"/\", 127: \"Delete\",\n\t    173: \"-\", 186: \";\", 187: \"=\", 188: \",\", 189: \"-\", 190: \".\", 191: \"/\", 192: \"`\", 219: \"[\", 220: \"\\\\\",\n\t    221: \"]\", 222: \"'\", 63232: \"Up\", 63233: \"Down\", 63234: \"Left\", 63235: \"Right\", 63272: \"Delete\",\n\t    63273: \"Home\", 63275: \"End\", 63276: \"PageUp\", 63277: \"PageDown\", 63302: \"Insert\"\n\t  };\n\t  (function() {\n\t    // Number keys\n\t    for (var i = 0; i < 10; i++) keyNames[i + 48] = keyNames[i + 96] = String(i);\n\t    // Alphabetic keys\n\t    for (var i = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i);\n\t    // Function keys\n\t    for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = \"F\" + i;\n\t  })();\n\n\t  // BIDI HELPERS\n\n\t  function iterateBidiSections(order, from, to, f) {\n\t    if (!order) return f(from, to, \"ltr\");\n\t    var found = false;\n\t    for (var i = 0; i < order.length; ++i) {\n\t      var part = order[i];\n\t      if (part.from < to && part.to > from || from == to && part.to == from) {\n\t        f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? \"rtl\" : \"ltr\");\n\t        found = true;\n\t      }\n\t    }\n\t    if (!found) f(from, to, \"ltr\");\n\t  }\n\n\t  function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }\n\t  function bidiRight(part) { return part.level % 2 ? part.from : part.to; }\n\n\t  function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }\n\t  function lineRight(line) {\n\t    var order = getOrder(line);\n\t    if (!order) return line.text.length;\n\t    return bidiRight(lst(order));\n\t  }\n\n\t  function lineStart(cm, lineN) {\n\t    var line = getLine(cm.doc, lineN);\n\t    var visual = visualLine(line);\n\t    if (visual != line) lineN = lineNo(visual);\n\t    var order = getOrder(visual);\n\t    var ch = !order ? 0 : order[0].level % 2 ? lineRight(visual) : lineLeft(visual);\n\t    return Pos(lineN, ch);\n\t  }\n\t  function lineEnd(cm, lineN) {\n\t    var merged, line = getLine(cm.doc, lineN);\n\t    while (merged = collapsedSpanAtEnd(line)) {\n\t      line = merged.find(1, true).line;\n\t      lineN = null;\n\t    }\n\t    var order = getOrder(line);\n\t    var ch = !order ? line.text.length : order[0].level % 2 ? lineLeft(line) : lineRight(line);\n\t    return Pos(lineN == null ? lineNo(line) : lineN, ch);\n\t  }\n\t  function lineStartSmart(cm, pos) {\n\t    var start = lineStart(cm, pos.line);\n\t    var line = getLine(cm.doc, start.line);\n\t    var order = getOrder(line);\n\t    if (!order || order[0].level == 0) {\n\t      var firstNonWS = Math.max(0, line.text.search(/\\S/));\n\t      var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch;\n\t      return Pos(start.line, inWS ? 0 : firstNonWS);\n\t    }\n\t    return start;\n\t  }\n\n\t  function compareBidiLevel(order, a, b) {\n\t    var linedir = order[0].level;\n\t    if (a == linedir) return true;\n\t    if (b == linedir) return false;\n\t    return a < b;\n\t  }\n\t  var bidiOther;\n\t  function getBidiPartAt(order, pos) {\n\t    bidiOther = null;\n\t    for (var i = 0, found; i < order.length; ++i) {\n\t      var cur = order[i];\n\t      if (cur.from < pos && cur.to > pos) return i;\n\t      if ((cur.from == pos || cur.to == pos)) {\n\t        if (found == null) {\n\t          found = i;\n\t        } else if (compareBidiLevel(order, cur.level, order[found].level)) {\n\t          if (cur.from != cur.to) bidiOther = found;\n\t          return i;\n\t        } else {\n\t          if (cur.from != cur.to) bidiOther = i;\n\t          return found;\n\t        }\n\t      }\n\t    }\n\t    return found;\n\t  }\n\n\t  function moveInLine(line, pos, dir, byUnit) {\n\t    if (!byUnit) return pos + dir;\n\t    do pos += dir;\n\t    while (pos > 0 && isExtendingChar(line.text.charAt(pos)));\n\t    return pos;\n\t  }\n\n\t  // This is needed in order to move 'visually' through bi-directional\n\t  // text -- i.e., pressing left should make the cursor go left, even\n\t  // when in RTL text. The tricky part is the 'jumps', where RTL and\n\t  // LTR text touch each other. This often requires the cursor offset\n\t  // to move more than one unit, in order to visually move one unit.\n\t  function moveVisually(line, start, dir, byUnit) {\n\t    var bidi = getOrder(line);\n\t    if (!bidi) return moveLogically(line, start, dir, byUnit);\n\t    var pos = getBidiPartAt(bidi, start), part = bidi[pos];\n\t    var target = moveInLine(line, start, part.level % 2 ? -dir : dir, byUnit);\n\n\t    for (;;) {\n\t      if (target > part.from && target < part.to) return target;\n\t      if (target == part.from || target == part.to) {\n\t        if (getBidiPartAt(bidi, target) == pos) return target;\n\t        part = bidi[pos += dir];\n\t        return (dir > 0) == part.level % 2 ? part.to : part.from;\n\t      } else {\n\t        part = bidi[pos += dir];\n\t        if (!part) return null;\n\t        if ((dir > 0) == part.level % 2)\n\t          target = moveInLine(line, part.to, -1, byUnit);\n\t        else\n\t          target = moveInLine(line, part.from, 1, byUnit);\n\t      }\n\t    }\n\t  }\n\n\t  function moveLogically(line, start, dir, byUnit) {\n\t    var target = start + dir;\n\t    if (byUnit) while (target > 0 && isExtendingChar(line.text.charAt(target))) target += dir;\n\t    return target < 0 || target > line.text.length ? null : target;\n\t  }\n\n\t  // Bidirectional ordering algorithm\n\t  // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm\n\t  // that this (partially) implements.\n\n\t  // One-char codes used for character types:\n\t  // L (L):   Left-to-Right\n\t  // R (R):   Right-to-Left\n\t  // r (AL):  Right-to-Left Arabic\n\t  // 1 (EN):  European Number\n\t  // + (ES):  European Number Separator\n\t  // % (ET):  European Number Terminator\n\t  // n (AN):  Arabic Number\n\t  // , (CS):  Common Number Separator\n\t  // m (NSM): Non-Spacing Mark\n\t  // b (BN):  Boundary Neutral\n\t  // s (B):   Paragraph Separator\n\t  // t (S):   Segment Separator\n\t  // w (WS):  Whitespace\n\t  // N (ON):  Other Neutrals\n\n\t  // Returns null if characters are ordered as they appear\n\t  // (left-to-right), or an array of sections ({from, to, level}\n\t  // objects) in the order in which they occur visually.\n\t  var bidiOrdering = (function() {\n\t    // Character types for codepoints 0 to 0xff\n\t    var lowTypes = \"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\";\n\t    // Character types for codepoints 0x600 to 0x6ff\n\t    var arabicTypes = \"rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm\";\n\t    function charType(code) {\n\t      if (code <= 0xf7) return lowTypes.charAt(code);\n\t      else if (0x590 <= code && code <= 0x5f4) return \"R\";\n\t      else if (0x600 <= code && code <= 0x6ed) return arabicTypes.charAt(code - 0x600);\n\t      else if (0x6ee <= code && code <= 0x8ac) return \"r\";\n\t      else if (0x2000 <= code && code <= 0x200b) return \"w\";\n\t      else if (code == 0x200c) return \"b\";\n\t      else return \"L\";\n\t    }\n\n\t    var bidiRE = /[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/;\n\t    var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/;\n\t    // Browsers seem to always treat the boundaries of block elements as being L.\n\t    var outerType = \"L\";\n\n\t    function BidiSpan(level, from, to) {\n\t      this.level = level;\n\t      this.from = from; this.to = to;\n\t    }\n\n\t    return function(str) {\n\t      if (!bidiRE.test(str)) return false;\n\t      var len = str.length, types = [];\n\t      for (var i = 0, type; i < len; ++i)\n\t        types.push(type = charType(str.charCodeAt(i)));\n\n\t      // W1. Examine each non-spacing mark (NSM) in the level run, and\n\t      // change the type of the NSM to the type of the previous\n\t      // character. If the NSM is at the start of the level run, it will\n\t      // get the type of sor.\n\t      for (var i = 0, prev = outerType; i < len; ++i) {\n\t        var type = types[i];\n\t        if (type == \"m\") types[i] = prev;\n\t        else prev = type;\n\t      }\n\n\t      // W2. Search backwards from each instance of a European number\n\t      // until the first strong type (R, L, AL, or sor) is found. If an\n\t      // AL is found, change the type of the European number to Arabic\n\t      // number.\n\t      // W3. Change all ALs to R.\n\t      for (var i = 0, cur = outerType; i < len; ++i) {\n\t        var type = types[i];\n\t        if (type == \"1\" && cur == \"r\") types[i] = \"n\";\n\t        else if (isStrong.test(type)) { cur = type; if (type == \"r\") types[i] = \"R\"; }\n\t      }\n\n\t      // W4. A single European separator between two European numbers\n\t      // changes to a European number. A single common separator between\n\t      // two numbers of the same type changes to that type.\n\t      for (var i = 1, prev = types[0]; i < len - 1; ++i) {\n\t        var type = types[i];\n\t        if (type == \"+\" && prev == \"1\" && types[i+1] == \"1\") types[i] = \"1\";\n\t        else if (type == \",\" && prev == types[i+1] &&\n\t                 (prev == \"1\" || prev == \"n\")) types[i] = prev;\n\t        prev = type;\n\t      }\n\n\t      // W5. A sequence of European terminators adjacent to European\n\t      // numbers changes to all European numbers.\n\t      // W6. Otherwise, separators and terminators change to Other\n\t      // Neutral.\n\t      for (var i = 0; i < len; ++i) {\n\t        var type = types[i];\n\t        if (type == \",\") types[i] = \"N\";\n\t        else if (type == \"%\") {\n\t          for (var end = i + 1; end < len && types[end] == \"%\"; ++end) {}\n\t          var replace = (i && types[i-1] == \"!\") || (end < len && types[end] == \"1\") ? \"1\" : \"N\";\n\t          for (var j = i; j < end; ++j) types[j] = replace;\n\t          i = end - 1;\n\t        }\n\t      }\n\n\t      // W7. Search backwards from each instance of a European number\n\t      // until the first strong type (R, L, or sor) is found. If an L is\n\t      // found, then change the type of the European number to L.\n\t      for (var i = 0, cur = outerType; i < len; ++i) {\n\t        var type = types[i];\n\t        if (cur == \"L\" && type == \"1\") types[i] = \"L\";\n\t        else if (isStrong.test(type)) cur = type;\n\t      }\n\n\t      // N1. A sequence of neutrals takes the direction of the\n\t      // surrounding strong text if the text on both sides has the same\n\t      // direction. European and Arabic numbers act as if they were R in\n\t      // terms of their influence on neutrals. Start-of-level-run (sor)\n\t      // and end-of-level-run (eor) are used at level run boundaries.\n\t      // N2. Any remaining neutrals take the embedding direction.\n\t      for (var i = 0; i < len; ++i) {\n\t        if (isNeutral.test(types[i])) {\n\t          for (var end = i + 1; end < len && isNeutral.test(types[end]); ++end) {}\n\t          var before = (i ? types[i-1] : outerType) == \"L\";\n\t          var after = (end < len ? types[end] : outerType) == \"L\";\n\t          var replace = before || after ? \"L\" : \"R\";\n\t          for (var j = i; j < end; ++j) types[j] = replace;\n\t          i = end - 1;\n\t        }\n\t      }\n\n\t      // Here we depart from the documented algorithm, in order to avoid\n\t      // building up an actual levels array. Since there are only three\n\t      // levels (0, 1, 2) in an implementation that doesn't take\n\t      // explicit embedding into account, we can build up the order on\n\t      // the fly, without following the level-based algorithm.\n\t      var order = [], m;\n\t      for (var i = 0; i < len;) {\n\t        if (countsAsLeft.test(types[i])) {\n\t          var start = i;\n\t          for (++i; i < len && countsAsLeft.test(types[i]); ++i) {}\n\t          order.push(new BidiSpan(0, start, i));\n\t        } else {\n\t          var pos = i, at = order.length;\n\t          for (++i; i < len && types[i] != \"L\"; ++i) {}\n\t          for (var j = pos; j < i;) {\n\t            if (countsAsNum.test(types[j])) {\n\t              if (pos < j) order.splice(at, 0, new BidiSpan(1, pos, j));\n\t              var nstart = j;\n\t              for (++j; j < i && countsAsNum.test(types[j]); ++j) {}\n\t              order.splice(at, 0, new BidiSpan(2, nstart, j));\n\t              pos = j;\n\t            } else ++j;\n\t          }\n\t          if (pos < i) order.splice(at, 0, new BidiSpan(1, pos, i));\n\t        }\n\t      }\n\t      if (order[0].level == 1 && (m = str.match(/^\\s+/))) {\n\t        order[0].from = m[0].length;\n\t        order.unshift(new BidiSpan(0, 0, m[0].length));\n\t      }\n\t      if (lst(order).level == 1 && (m = str.match(/\\s+$/))) {\n\t        lst(order).to -= m[0].length;\n\t        order.push(new BidiSpan(0, len - m[0].length, len));\n\t      }\n\t      if (order[0].level == 2)\n\t        order.unshift(new BidiSpan(1, order[0].to, order[0].to));\n\t      if (order[0].level != lst(order).level)\n\t        order.push(new BidiSpan(order[0].level, len, len));\n\n\t      return order;\n\t    };\n\t  })();\n\n\t  // THE END\n\n\t  CodeMirror.version = \"5.14.2\";\n\n\t  return CodeMirror;\n\t});\n\n\n/***/ },\n/* 73 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// CodeMirror, copyright (c) by Marijn Haverbeke and others\n\t// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n\t// TODO actually recognize syntax of TypeScript constructs\n\n\t(function(mod) {\n\t  if (true) // CommonJS\n\t    mod(__webpack_require__(72));\n\t  else if (typeof define == \"function\" && define.amd) // AMD\n\t    define([\"../../lib/codemirror\"], mod);\n\t  else // Plain browser env\n\t    mod(CodeMirror);\n\t})(function(CodeMirror) {\n\t\"use strict\";\n\n\tfunction expressionAllowed(stream, state, backUp) {\n\t  return /^(?:operator|sof|keyword c|case|new|[\\[{}\\(,;:]|=>)$/.test(state.lastType) ||\n\t    (state.lastType == \"quasi\" && /\\{\\s*$/.test(stream.string.slice(0, stream.pos - (backUp || 0))))\n\t}\n\n\tCodeMirror.defineMode(\"javascript\", function(config, parserConfig) {\n\t  var indentUnit = config.indentUnit;\n\t  var statementIndent = parserConfig.statementIndent;\n\t  var jsonldMode = parserConfig.jsonld;\n\t  var jsonMode = parserConfig.json || jsonldMode;\n\t  var isTS = parserConfig.typescript;\n\t  var wordRE = parserConfig.wordCharacters || /[\\w$\\xa1-\\uffff]/;\n\n\t  // Tokenizer\n\n\t  var keywords = function(){\n\t    function kw(type) {return {type: type, style: \"keyword\"};}\n\t    var A = kw(\"keyword a\"), B = kw(\"keyword b\"), C = kw(\"keyword c\");\n\t    var operator = kw(\"operator\"), atom = {type: \"atom\", style: \"atom\"};\n\n\t    var jsKeywords = {\n\t      \"if\": kw(\"if\"), \"while\": A, \"with\": A, \"else\": B, \"do\": B, \"try\": B, \"finally\": B,\n\t      \"return\": C, \"break\": C, \"continue\": C, \"new\": kw(\"new\"), \"delete\": C, \"throw\": C, \"debugger\": C,\n\t      \"var\": kw(\"var\"), \"const\": kw(\"var\"), \"let\": kw(\"var\"),\n\t      \"function\": kw(\"function\"), \"catch\": kw(\"catch\"),\n\t      \"for\": kw(\"for\"), \"switch\": kw(\"switch\"), \"case\": kw(\"case\"), \"default\": kw(\"default\"),\n\t      \"in\": operator, \"typeof\": operator, \"instanceof\": operator,\n\t      \"true\": atom, \"false\": atom, \"null\": atom, \"undefined\": atom, \"NaN\": atom, \"Infinity\": atom,\n\t      \"this\": kw(\"this\"), \"class\": kw(\"class\"), \"super\": kw(\"atom\"),\n\t      \"yield\": C, \"export\": kw(\"export\"), \"import\": kw(\"import\"), \"extends\": C\n\t    };\n\n\t    // Extend the 'normal' keywords with the TypeScript language extensions\n\t    if (isTS) {\n\t      var type = {type: \"variable\", style: \"variable-3\"};\n\t      var tsKeywords = {\n\t        // object-like things\n\t        \"interface\": kw(\"class\"),\n\t        \"implements\": C,\n\t        \"namespace\": C,\n\t        \"module\": kw(\"module\"),\n\t        \"enum\": kw(\"module\"),\n\n\t        // scope modifiers\n\t        \"public\": kw(\"modifier\"),\n\t        \"private\": kw(\"modifier\"),\n\t        \"protected\": kw(\"modifier\"),\n\t        \"abstract\": kw(\"modifier\"),\n\n\t        // operators\n\t        \"as\": operator,\n\n\t        // types\n\t        \"string\": type, \"number\": type, \"boolean\": type, \"any\": type\n\t      };\n\n\t      for (var attr in tsKeywords) {\n\t        jsKeywords[attr] = tsKeywords[attr];\n\t      }\n\t    }\n\n\t    return jsKeywords;\n\t  }();\n\n\t  var isOperatorChar = /[+\\-*&%=<>!?|~^]/;\n\t  var isJsonldKeyword = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)\"/;\n\n\t  function readRegexp(stream) {\n\t    var escaped = false, next, inSet = false;\n\t    while ((next = stream.next()) != null) {\n\t      if (!escaped) {\n\t        if (next == \"/\" && !inSet) return;\n\t        if (next == \"[\") inSet = true;\n\t        else if (inSet && next == \"]\") inSet = false;\n\t      }\n\t      escaped = !escaped && next == \"\\\\\";\n\t    }\n\t  }\n\n\t  // Used as scratch variables to communicate multiple values without\n\t  // consing up tons of objects.\n\t  var type, content;\n\t  function ret(tp, style, cont) {\n\t    type = tp; content = cont;\n\t    return style;\n\t  }\n\t  function tokenBase(stream, state) {\n\t    var ch = stream.next();\n\t    if (ch == '\"' || ch == \"'\") {\n\t      state.tokenize = tokenString(ch);\n\t      return state.tokenize(stream, state);\n\t    } else if (ch == \".\" && stream.match(/^\\d+(?:[eE][+\\-]?\\d+)?/)) {\n\t      return ret(\"number\", \"number\");\n\t    } else if (ch == \".\" && stream.match(\"..\")) {\n\t      return ret(\"spread\", \"meta\");\n\t    } else if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n\t      return ret(ch);\n\t    } else if (ch == \"=\" && stream.eat(\">\")) {\n\t      return ret(\"=>\", \"operator\");\n\t    } else if (ch == \"0\" && stream.eat(/x/i)) {\n\t      stream.eatWhile(/[\\da-f]/i);\n\t      return ret(\"number\", \"number\");\n\t    } else if (ch == \"0\" && stream.eat(/o/i)) {\n\t      stream.eatWhile(/[0-7]/i);\n\t      return ret(\"number\", \"number\");\n\t    } else if (ch == \"0\" && stream.eat(/b/i)) {\n\t      stream.eatWhile(/[01]/i);\n\t      return ret(\"number\", \"number\");\n\t    } else if (/\\d/.test(ch)) {\n\t      stream.match(/^\\d*(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/);\n\t      return ret(\"number\", \"number\");\n\t    } else if (ch == \"/\") {\n\t      if (stream.eat(\"*\")) {\n\t        state.tokenize = tokenComment;\n\t        return tokenComment(stream, state);\n\t      } else if (stream.eat(\"/\")) {\n\t        stream.skipToEnd();\n\t        return ret(\"comment\", \"comment\");\n\t      } else if (expressionAllowed(stream, state, 1)) {\n\t        readRegexp(stream);\n\t        stream.match(/^\\b(([gimyu])(?![gimyu]*\\2))+\\b/);\n\t        return ret(\"regexp\", \"string-2\");\n\t      } else {\n\t        stream.eatWhile(isOperatorChar);\n\t        return ret(\"operator\", \"operator\", stream.current());\n\t      }\n\t    } else if (ch == \"`\") {\n\t      state.tokenize = tokenQuasi;\n\t      return tokenQuasi(stream, state);\n\t    } else if (ch == \"#\") {\n\t      stream.skipToEnd();\n\t      return ret(\"error\", \"error\");\n\t    } else if (isOperatorChar.test(ch)) {\n\t      stream.eatWhile(isOperatorChar);\n\t      return ret(\"operator\", \"operator\", stream.current());\n\t    } else if (wordRE.test(ch)) {\n\t      stream.eatWhile(wordRE);\n\t      var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word];\n\t      return (known && state.lastType != \".\") ? ret(known.type, known.style, word) :\n\t                     ret(\"variable\", \"variable\", word);\n\t    }\n\t  }\n\n\t  function tokenString(quote) {\n\t    return function(stream, state) {\n\t      var escaped = false, next;\n\t      if (jsonldMode && stream.peek() == \"@\" && stream.match(isJsonldKeyword)){\n\t        state.tokenize = tokenBase;\n\t        return ret(\"jsonld-keyword\", \"meta\");\n\t      }\n\t      while ((next = stream.next()) != null) {\n\t        if (next == quote && !escaped) break;\n\t        escaped = !escaped && next == \"\\\\\";\n\t      }\n\t      if (!escaped) state.tokenize = tokenBase;\n\t      return ret(\"string\", \"string\");\n\t    };\n\t  }\n\n\t  function tokenComment(stream, state) {\n\t    var maybeEnd = false, ch;\n\t    while (ch = stream.next()) {\n\t      if (ch == \"/\" && maybeEnd) {\n\t        state.tokenize = tokenBase;\n\t        break;\n\t      }\n\t      maybeEnd = (ch == \"*\");\n\t    }\n\t    return ret(\"comment\", \"comment\");\n\t  }\n\n\t  function tokenQuasi(stream, state) {\n\t    var escaped = false, next;\n\t    while ((next = stream.next()) != null) {\n\t      if (!escaped && (next == \"`\" || next == \"$\" && stream.eat(\"{\"))) {\n\t        state.tokenize = tokenBase;\n\t        break;\n\t      }\n\t      escaped = !escaped && next == \"\\\\\";\n\t    }\n\t    return ret(\"quasi\", \"string-2\", stream.current());\n\t  }\n\n\t  var brackets = \"([{}])\";\n\t  // This is a crude lookahead trick to try and notice that we're\n\t  // parsing the argument patterns for a fat-arrow function before we\n\t  // actually hit the arrow token. It only works if the arrow is on\n\t  // the same line as the arguments and there's no strange noise\n\t  // (comments) in between. Fallback is to only notice when we hit the\n\t  // arrow, and not declare the arguments as locals for the arrow\n\t  // body.\n\t  function findFatArrow(stream, state) {\n\t    if (state.fatArrowAt) state.fatArrowAt = null;\n\t    var arrow = stream.string.indexOf(\"=>\", stream.start);\n\t    if (arrow < 0) return;\n\n\t    var depth = 0, sawSomething = false;\n\t    for (var pos = arrow - 1; pos >= 0; --pos) {\n\t      var ch = stream.string.charAt(pos);\n\t      var bracket = brackets.indexOf(ch);\n\t      if (bracket >= 0 && bracket < 3) {\n\t        if (!depth) { ++pos; break; }\n\t        if (--depth == 0) break;\n\t      } else if (bracket >= 3 && bracket < 6) {\n\t        ++depth;\n\t      } else if (wordRE.test(ch)) {\n\t        sawSomething = true;\n\t      } else if (/[\"'\\/]/.test(ch)) {\n\t        return;\n\t      } else if (sawSomething && !depth) {\n\t        ++pos;\n\t        break;\n\t      }\n\t    }\n\t    if (sawSomething && !depth) state.fatArrowAt = pos;\n\t  }\n\n\t  // Parser\n\n\t  var atomicTypes = {\"atom\": true, \"number\": true, \"variable\": true, \"string\": true, \"regexp\": true, \"this\": true, \"jsonld-keyword\": true};\n\n\t  function JSLexical(indented, column, type, align, prev, info) {\n\t    this.indented = indented;\n\t    this.column = column;\n\t    this.type = type;\n\t    this.prev = prev;\n\t    this.info = info;\n\t    if (align != null) this.align = align;\n\t  }\n\n\t  function inScope(state, varname) {\n\t    for (var v = state.localVars; v; v = v.next)\n\t      if (v.name == varname) return true;\n\t    for (var cx = state.context; cx; cx = cx.prev) {\n\t      for (var v = cx.vars; v; v = v.next)\n\t        if (v.name == varname) return true;\n\t    }\n\t  }\n\n\t  function parseJS(state, style, type, content, stream) {\n\t    var cc = state.cc;\n\t    // Communicate our context to the combinators.\n\t    // (Less wasteful than consing up a hundred closures on every call.)\n\t    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc; cx.style = style;\n\n\t    if (!state.lexical.hasOwnProperty(\"align\"))\n\t      state.lexical.align = true;\n\n\t    while(true) {\n\t      var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement;\n\t      if (combinator(type, content)) {\n\t        while(cc.length && cc[cc.length - 1].lex)\n\t          cc.pop()();\n\t        if (cx.marked) return cx.marked;\n\t        if (type == \"variable\" && inScope(state, content)) return \"variable-2\";\n\t        return style;\n\t      }\n\t    }\n\t  }\n\n\t  // Combinator utils\n\n\t  var cx = {state: null, column: null, marked: null, cc: null};\n\t  function pass() {\n\t    for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);\n\t  }\n\t  function cont() {\n\t    pass.apply(null, arguments);\n\t    return true;\n\t  }\n\t  function register(varname) {\n\t    function inList(list) {\n\t      for (var v = list; v; v = v.next)\n\t        if (v.name == varname) return true;\n\t      return false;\n\t    }\n\t    var state = cx.state;\n\t    cx.marked = \"def\";\n\t    if (state.context) {\n\t      if (inList(state.localVars)) return;\n\t      state.localVars = {name: varname, next: state.localVars};\n\t    } else {\n\t      if (inList(state.globalVars)) return;\n\t      if (parserConfig.globalVars)\n\t        state.globalVars = {name: varname, next: state.globalVars};\n\t    }\n\t  }\n\n\t  // Combinators\n\n\t  var defaultVars = {name: \"this\", next: {name: \"arguments\"}};\n\t  function pushcontext() {\n\t    cx.state.context = {prev: cx.state.context, vars: cx.state.localVars};\n\t    cx.state.localVars = defaultVars;\n\t  }\n\t  function popcontext() {\n\t    cx.state.localVars = cx.state.context.vars;\n\t    cx.state.context = cx.state.context.prev;\n\t  }\n\t  function pushlex(type, info) {\n\t    var result = function() {\n\t      var state = cx.state, indent = state.indented;\n\t      if (state.lexical.type == \"stat\") indent = state.lexical.indented;\n\t      else for (var outer = state.lexical; outer && outer.type == \")\" && outer.align; outer = outer.prev)\n\t        indent = outer.indented;\n\t      state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info);\n\t    };\n\t    result.lex = true;\n\t    return result;\n\t  }\n\t  function poplex() {\n\t    var state = cx.state;\n\t    if (state.lexical.prev) {\n\t      if (state.lexical.type == \")\")\n\t        state.indented = state.lexical.indented;\n\t      state.lexical = state.lexical.prev;\n\t    }\n\t  }\n\t  poplex.lex = true;\n\n\t  function expect(wanted) {\n\t    function exp(type) {\n\t      if (type == wanted) return cont();\n\t      else if (wanted == \";\") return pass();\n\t      else return cont(exp);\n\t    };\n\t    return exp;\n\t  }\n\n\t  function statement(type, value) {\n\t    if (type == \"var\") return cont(pushlex(\"vardef\", value.length), vardef, expect(\";\"), poplex);\n\t    if (type == \"keyword a\") return cont(pushlex(\"form\"), expression, statement, poplex);\n\t    if (type == \"keyword b\") return cont(pushlex(\"form\"), statement, poplex);\n\t    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n\t    if (type == \";\") return cont();\n\t    if (type == \"if\") {\n\t      if (cx.state.lexical.info == \"else\" && cx.state.cc[cx.state.cc.length - 1] == poplex)\n\t        cx.state.cc.pop()();\n\t      return cont(pushlex(\"form\"), expression, statement, poplex, maybeelse);\n\t    }\n\t    if (type == \"function\") return cont(functiondef);\n\t    if (type == \"for\") return cont(pushlex(\"form\"), forspec, statement, poplex);\n\t    if (type == \"variable\") return cont(pushlex(\"stat\"), maybelabel);\n\t    if (type == \"switch\") return cont(pushlex(\"form\"), expression, pushlex(\"}\", \"switch\"), expect(\"{\"),\n\t                                      block, poplex, poplex);\n\t    if (type == \"case\") return cont(expression, expect(\":\"));\n\t    if (type == \"default\") return cont(expect(\":\"));\n\t    if (type == \"catch\") return cont(pushlex(\"form\"), pushcontext, expect(\"(\"), funarg, expect(\")\"),\n\t                                     statement, poplex, popcontext);\n\t    if (type == \"class\") return cont(pushlex(\"form\"), className, poplex);\n\t    if (type == \"export\") return cont(pushlex(\"stat\"), afterExport, poplex);\n\t    if (type == \"import\") return cont(pushlex(\"stat\"), afterImport, poplex);\n\t    if (type == \"module\") return cont(pushlex(\"form\"), pattern, pushlex(\"}\"), expect(\"{\"), block, poplex, poplex)\n\t    return pass(pushlex(\"stat\"), expression, expect(\";\"), poplex);\n\t  }\n\t  function expression(type) {\n\t    return expressionInner(type, false);\n\t  }\n\t  function expressionNoComma(type) {\n\t    return expressionInner(type, true);\n\t  }\n\t  function expressionInner(type, noComma) {\n\t    if (cx.state.fatArrowAt == cx.stream.start) {\n\t      var body = noComma ? arrowBodyNoComma : arrowBody;\n\t      if (type == \"(\") return cont(pushcontext, pushlex(\")\"), commasep(pattern, \")\"), poplex, expect(\"=>\"), body, popcontext);\n\t      else if (type == \"variable\") return pass(pushcontext, pattern, expect(\"=>\"), body, popcontext);\n\t    }\n\n\t    var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma;\n\t    if (atomicTypes.hasOwnProperty(type)) return cont(maybeop);\n\t    if (type == \"function\") return cont(functiondef, maybeop);\n\t    if (type == \"keyword c\") return cont(noComma ? maybeexpressionNoComma : maybeexpression);\n\t    if (type == \"(\") return cont(pushlex(\")\"), maybeexpression, comprehension, expect(\")\"), poplex, maybeop);\n\t    if (type == \"operator\" || type == \"spread\") return cont(noComma ? expressionNoComma : expression);\n\t    if (type == \"[\") return cont(pushlex(\"]\"), arrayLiteral, poplex, maybeop);\n\t    if (type == \"{\") return contCommasep(objprop, \"}\", null, maybeop);\n\t    if (type == \"quasi\") return pass(quasi, maybeop);\n\t    if (type == \"new\") return cont(maybeTarget(noComma));\n\t    return cont();\n\t  }\n\t  function maybeexpression(type) {\n\t    if (type.match(/[;\\}\\)\\],]/)) return pass();\n\t    return pass(expression);\n\t  }\n\t  function maybeexpressionNoComma(type) {\n\t    if (type.match(/[;\\}\\)\\],]/)) return pass();\n\t    return pass(expressionNoComma);\n\t  }\n\n\t  function maybeoperatorComma(type, value) {\n\t    if (type == \",\") return cont(expression);\n\t    return maybeoperatorNoComma(type, value, false);\n\t  }\n\t  function maybeoperatorNoComma(type, value, noComma) {\n\t    var me = noComma == false ? maybeoperatorComma : maybeoperatorNoComma;\n\t    var expr = noComma == false ? expression : expressionNoComma;\n\t    if (type == \"=>\") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext);\n\t    if (type == \"operator\") {\n\t      if (/\\+\\+|--/.test(value)) return cont(me);\n\t      if (value == \"?\") return cont(expression, expect(\":\"), expr);\n\t      return cont(expr);\n\t    }\n\t    if (type == \"quasi\") { return pass(quasi, me); }\n\t    if (type == \";\") return;\n\t    if (type == \"(\") return contCommasep(expressionNoComma, \")\", \"call\", me);\n\t    if (type == \".\") return cont(property, me);\n\t    if (type == \"[\") return cont(pushlex(\"]\"), maybeexpression, expect(\"]\"), poplex, me);\n\t  }\n\t  function quasi(type, value) {\n\t    if (type != \"quasi\") return pass();\n\t    if (value.slice(value.length - 2) != \"${\") return cont(quasi);\n\t    return cont(expression, continueQuasi);\n\t  }\n\t  function continueQuasi(type) {\n\t    if (type == \"}\") {\n\t      cx.marked = \"string-2\";\n\t      cx.state.tokenize = tokenQuasi;\n\t      return cont(quasi);\n\t    }\n\t  }\n\t  function arrowBody(type) {\n\t    findFatArrow(cx.stream, cx.state);\n\t    return pass(type == \"{\" ? statement : expression);\n\t  }\n\t  function arrowBodyNoComma(type) {\n\t    findFatArrow(cx.stream, cx.state);\n\t    return pass(type == \"{\" ? statement : expressionNoComma);\n\t  }\n\t  function maybeTarget(noComma) {\n\t    return function(type) {\n\t      if (type == \".\") return cont(noComma ? targetNoComma : target);\n\t      else return pass(noComma ? expressionNoComma : expression);\n\t    };\n\t  }\n\t  function target(_, value) {\n\t    if (value == \"target\") { cx.marked = \"keyword\"; return cont(maybeoperatorComma); }\n\t  }\n\t  function targetNoComma(_, value) {\n\t    if (value == \"target\") { cx.marked = \"keyword\"; return cont(maybeoperatorNoComma); }\n\t  }\n\t  function maybelabel(type) {\n\t    if (type == \":\") return cont(poplex, statement);\n\t    return pass(maybeoperatorComma, expect(\";\"), poplex);\n\t  }\n\t  function property(type) {\n\t    if (type == \"variable\") {cx.marked = \"property\"; return cont();}\n\t  }\n\t  function objprop(type, value) {\n\t    if (type == \"variable\" || cx.style == \"keyword\") {\n\t      cx.marked = \"property\";\n\t      if (value == \"get\" || value == \"set\") return cont(getterSetter);\n\t      return cont(afterprop);\n\t    } else if (type == \"number\" || type == \"string\") {\n\t      cx.marked = jsonldMode ? \"property\" : (cx.style + \" property\");\n\t      return cont(afterprop);\n\t    } else if (type == \"jsonld-keyword\") {\n\t      return cont(afterprop);\n\t    } else if (type == \"modifier\") {\n\t      return cont(objprop)\n\t    } else if (type == \"[\") {\n\t      return cont(expression, expect(\"]\"), afterprop);\n\t    } else if (type == \"spread\") {\n\t      return cont(expression);\n\t    }\n\t  }\n\t  function getterSetter(type) {\n\t    if (type != \"variable\") return pass(afterprop);\n\t    cx.marked = \"property\";\n\t    return cont(functiondef);\n\t  }\n\t  function afterprop(type) {\n\t    if (type == \":\") return cont(expressionNoComma);\n\t    if (type == \"(\") return pass(functiondef);\n\t  }\n\t  function commasep(what, end) {\n\t    function proceed(type) {\n\t      if (type == \",\") {\n\t        var lex = cx.state.lexical;\n\t        if (lex.info == \"call\") lex.pos = (lex.pos || 0) + 1;\n\t        return cont(what, proceed);\n\t      }\n\t      if (type == end) return cont();\n\t      return cont(expect(end));\n\t    }\n\t    return function(type) {\n\t      if (type == end) return cont();\n\t      return pass(what, proceed);\n\t    };\n\t  }\n\t  function contCommasep(what, end, info) {\n\t    for (var i = 3; i < arguments.length; i++)\n\t      cx.cc.push(arguments[i]);\n\t    return cont(pushlex(end, info), commasep(what, end), poplex);\n\t  }\n\t  function block(type) {\n\t    if (type == \"}\") return cont();\n\t    return pass(statement, block);\n\t  }\n\t  function maybetype(type) {\n\t    if (isTS && type == \":\") return cont(typedef);\n\t  }\n\t  function maybedefault(_, value) {\n\t    if (value == \"=\") return cont(expressionNoComma);\n\t  }\n\t  function typedef(type) {\n\t    if (type == \"variable\") {cx.marked = \"variable-3\"; return cont();}\n\t  }\n\t  function vardef() {\n\t    return pass(pattern, maybetype, maybeAssign, vardefCont);\n\t  }\n\t  function pattern(type, value) {\n\t    if (type == \"modifier\") return cont(pattern)\n\t    if (type == \"variable\") { register(value); return cont(); }\n\t    if (type == \"spread\") return cont(pattern);\n\t    if (type == \"[\") return contCommasep(pattern, \"]\");\n\t    if (type == \"{\") return contCommasep(proppattern, \"}\");\n\t  }\n\t  function proppattern(type, value) {\n\t    if (type == \"variable\" && !cx.stream.match(/^\\s*:/, false)) {\n\t      register(value);\n\t      return cont(maybeAssign);\n\t    }\n\t    if (type == \"variable\") cx.marked = \"property\";\n\t    if (type == \"spread\") return cont(pattern);\n\t    if (type == \"}\") return pass();\n\t    return cont(expect(\":\"), pattern, maybeAssign);\n\t  }\n\t  function maybeAssign(_type, value) {\n\t    if (value == \"=\") return cont(expressionNoComma);\n\t  }\n\t  function vardefCont(type) {\n\t    if (type == \",\") return cont(vardef);\n\t  }\n\t  function maybeelse(type, value) {\n\t    if (type == \"keyword b\" && value == \"else\") return cont(pushlex(\"form\", \"else\"), statement, poplex);\n\t  }\n\t  function forspec(type) {\n\t    if (type == \"(\") return cont(pushlex(\")\"), forspec1, expect(\")\"), poplex);\n\t  }\n\t  function forspec1(type) {\n\t    if (type == \"var\") return cont(vardef, expect(\";\"), forspec2);\n\t    if (type == \";\") return cont(forspec2);\n\t    if (type == \"variable\") return cont(formaybeinof);\n\t    return pass(expression, expect(\";\"), forspec2);\n\t  }\n\t  function formaybeinof(_type, value) {\n\t    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression); }\n\t    return cont(maybeoperatorComma, forspec2);\n\t  }\n\t  function forspec2(type, value) {\n\t    if (type == \";\") return cont(forspec3);\n\t    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression); }\n\t    return pass(expression, expect(\";\"), forspec3);\n\t  }\n\t  function forspec3(type) {\n\t    if (type != \")\") cont(expression);\n\t  }\n\t  function functiondef(type, value) {\n\t    if (value == \"*\") {cx.marked = \"keyword\"; return cont(functiondef);}\n\t    if (type == \"variable\") {register(value); return cont(functiondef);}\n\t    if (type == \"(\") return cont(pushcontext, pushlex(\")\"), commasep(funarg, \")\"), poplex, statement, popcontext);\n\t  }\n\t  function funarg(type) {\n\t    if (type == \"spread\") return cont(funarg);\n\t    return pass(pattern, maybetype, maybedefault);\n\t  }\n\t  function className(type, value) {\n\t    if (type == \"variable\") {register(value); return cont(classNameAfter);}\n\t  }\n\t  function classNameAfter(type, value) {\n\t    if (value == \"extends\") return cont(expression, classNameAfter);\n\t    if (type == \"{\") return cont(pushlex(\"}\"), classBody, poplex);\n\t  }\n\t  function classBody(type, value) {\n\t    if (type == \"variable\" || cx.style == \"keyword\") {\n\t      if (value == \"static\") {\n\t        cx.marked = \"keyword\";\n\t        return cont(classBody);\n\t      }\n\t      cx.marked = \"property\";\n\t      if (value == \"get\" || value == \"set\") return cont(classGetterSetter, functiondef, classBody);\n\t      return cont(functiondef, classBody);\n\t    }\n\t    if (value == \"*\") {\n\t      cx.marked = \"keyword\";\n\t      return cont(classBody);\n\t    }\n\t    if (type == \";\") return cont(classBody);\n\t    if (type == \"}\") return cont();\n\t  }\n\t  function classGetterSetter(type) {\n\t    if (type != \"variable\") return pass();\n\t    cx.marked = \"property\";\n\t    return cont();\n\t  }\n\t  function afterExport(_type, value) {\n\t    if (value == \"*\") { cx.marked = \"keyword\"; return cont(maybeFrom, expect(\";\")); }\n\t    if (value == \"default\") { cx.marked = \"keyword\"; return cont(expression, expect(\";\")); }\n\t    return pass(statement);\n\t  }\n\t  function afterImport(type) {\n\t    if (type == \"string\") return cont();\n\t    return pass(importSpec, maybeFrom);\n\t  }\n\t  function importSpec(type, value) {\n\t    if (type == \"{\") return contCommasep(importSpec, \"}\");\n\t    if (type == \"variable\") register(value);\n\t    if (value == \"*\") cx.marked = \"keyword\";\n\t    return cont(maybeAs);\n\t  }\n\t  function maybeAs(_type, value) {\n\t    if (value == \"as\") { cx.marked = \"keyword\"; return cont(importSpec); }\n\t  }\n\t  function maybeFrom(_type, value) {\n\t    if (value == \"from\") { cx.marked = \"keyword\"; return cont(expression); }\n\t  }\n\t  function arrayLiteral(type) {\n\t    if (type == \"]\") return cont();\n\t    return pass(expressionNoComma, maybeArrayComprehension);\n\t  }\n\t  function maybeArrayComprehension(type) {\n\t    if (type == \"for\") return pass(comprehension, expect(\"]\"));\n\t    if (type == \",\") return cont(commasep(maybeexpressionNoComma, \"]\"));\n\t    return pass(commasep(expressionNoComma, \"]\"));\n\t  }\n\t  function comprehension(type) {\n\t    if (type == \"for\") return cont(forspec, comprehension);\n\t    if (type == \"if\") return cont(expression, comprehension);\n\t  }\n\n\t  function isContinuedStatement(state, textAfter) {\n\t    return state.lastType == \"operator\" || state.lastType == \",\" ||\n\t      isOperatorChar.test(textAfter.charAt(0)) ||\n\t      /[,.]/.test(textAfter.charAt(0));\n\t  }\n\n\t  // Interface\n\n\t  return {\n\t    startState: function(basecolumn) {\n\t      var state = {\n\t        tokenize: tokenBase,\n\t        lastType: \"sof\",\n\t        cc: [],\n\t        lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, \"block\", false),\n\t        localVars: parserConfig.localVars,\n\t        context: parserConfig.localVars && {vars: parserConfig.localVars},\n\t        indented: basecolumn || 0\n\t      };\n\t      if (parserConfig.globalVars && typeof parserConfig.globalVars == \"object\")\n\t        state.globalVars = parserConfig.globalVars;\n\t      return state;\n\t    },\n\n\t    token: function(stream, state) {\n\t      if (stream.sol()) {\n\t        if (!state.lexical.hasOwnProperty(\"align\"))\n\t          state.lexical.align = false;\n\t        state.indented = stream.indentation();\n\t        findFatArrow(stream, state);\n\t      }\n\t      if (state.tokenize != tokenComment && stream.eatSpace()) return null;\n\t      var style = state.tokenize(stream, state);\n\t      if (type == \"comment\") return style;\n\t      state.lastType = type == \"operator\" && (content == \"++\" || content == \"--\") ? \"incdec\" : type;\n\t      return parseJS(state, style, type, content, stream);\n\t    },\n\n\t    indent: function(state, textAfter) {\n\t      if (state.tokenize == tokenComment) return CodeMirror.Pass;\n\t      if (state.tokenize != tokenBase) return 0;\n\t      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical;\n\t      // Kludge to prevent 'maybelse' from blocking lexical scope pops\n\t      if (!/^\\s*else\\b/.test(textAfter)) for (var i = state.cc.length - 1; i >= 0; --i) {\n\t        var c = state.cc[i];\n\t        if (c == poplex) lexical = lexical.prev;\n\t        else if (c != maybeelse) break;\n\t      }\n\t      if (lexical.type == \"stat\" && firstChar == \"}\") lexical = lexical.prev;\n\t      if (statementIndent && lexical.type == \")\" && lexical.prev.type == \"stat\")\n\t        lexical = lexical.prev;\n\t      var type = lexical.type, closing = firstChar == type;\n\n\t      if (type == \"vardef\") return lexical.indented + (state.lastType == \"operator\" || state.lastType == \",\" ? lexical.info + 1 : 0);\n\t      else if (type == \"form\" && firstChar == \"{\") return lexical.indented;\n\t      else if (type == \"form\") return lexical.indented + indentUnit;\n\t      else if (type == \"stat\")\n\t        return lexical.indented + (isContinuedStatement(state, textAfter) ? statementIndent || indentUnit : 0);\n\t      else if (lexical.info == \"switch\" && !closing && parserConfig.doubleIndentSwitch != false)\n\t        return lexical.indented + (/^(?:case|default)\\b/.test(textAfter) ? indentUnit : 2 * indentUnit);\n\t      else if (lexical.align) return lexical.column + (closing ? 0 : 1);\n\t      else return lexical.indented + (closing ? 0 : indentUnit);\n\t    },\n\n\t    electricInput: /^\\s*(?:case .*?:|default:|\\{|\\})$/,\n\t    blockCommentStart: jsonMode ? null : \"/*\",\n\t    blockCommentEnd: jsonMode ? null : \"*/\",\n\t    lineComment: jsonMode ? null : \"//\",\n\t    fold: \"brace\",\n\t    closeBrackets: \"()[]{}''\\\"\\\"``\",\n\n\t    helperType: jsonMode ? \"json\" : \"javascript\",\n\t    jsonldMode: jsonldMode,\n\t    jsonMode: jsonMode,\n\n\t    expressionAllowed: expressionAllowed,\n\t    skipExpression: function(state) {\n\t      var top = state.cc[state.cc.length - 1]\n\t      if (top == expression || top == expressionNoComma) state.cc.pop()\n\t    }\n\t  };\n\t});\n\n\tCodeMirror.registerHelper(\"wordChars\", \"javascript\", /[\\w$]/);\n\n\tCodeMirror.defineMIME(\"text/javascript\", \"javascript\");\n\tCodeMirror.defineMIME(\"text/ecmascript\", \"javascript\");\n\tCodeMirror.defineMIME(\"application/javascript\", \"javascript\");\n\tCodeMirror.defineMIME(\"application/x-javascript\", \"javascript\");\n\tCodeMirror.defineMIME(\"application/ecmascript\", \"javascript\");\n\tCodeMirror.defineMIME(\"application/json\", {name: \"javascript\", json: true});\n\tCodeMirror.defineMIME(\"application/x-json\", {name: \"javascript\", json: true});\n\tCodeMirror.defineMIME(\"application/ld+json\", {name: \"javascript\", jsonld: true});\n\tCodeMirror.defineMIME(\"text/typescript\", { name: \"javascript\", typescript: true });\n\tCodeMirror.defineMIME(\"application/typescript\", { name: \"javascript\", typescript: true });\n\n\t});\n\n\n/***/ },\n/* 74 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 75 */,\n/* 76 */,\n/* 77 */,\n/* 78 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 79 */,\n/* 80 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }\n/******/ ]);"
  },
  {
    "path": "browser/build/styles.css",
    "content": "/* BASICS */\n\n.CodeMirror {\n  /* Set height, width, borders, and global font properties here */\n  font-family: monospace;\n  height: 300px;\n  color: black;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n  padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre {\n  padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n  border-right: 1px solid #ddd;\n  background-color: #f7f7f7;\n  white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n  padding: 0 3px 0 5px;\n  min-width: 20px;\n  text-align: right;\n  color: #999;\n  white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n  border-left: 1px solid black;\n  border-right: none;\n  width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n  border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n  width: auto;\n  border: 0;\n  background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n  z-index: 1;\n}\n\n.cm-animate-fat-cursor {\n  width: auto;\n  border: 0;\n  -webkit-animation: blink 1.06s steps(1) infinite;\n  -moz-animation: blink 1.06s steps(1) infinite;\n  animation: blink 1.06s steps(1) infinite;\n  background-color: #7e7;\n}\n@-moz-keyframes blink {\n  0% {}\n  50% { background-color: transparent; }\n  100% {}\n}\n@-webkit-keyframes blink {\n  0% {}\n  50% { background-color: transparent; }\n  100% {}\n}\n@keyframes blink {\n  0% {}\n  50% { background-color: transparent; }\n  100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-ruler {\n  border-left: 1px solid #ccc;\n  position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3 {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n   the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n  position: relative;\n  overflow: hidden;\n  background: white;\n}\n\n.CodeMirror-scroll {\n  overflow: scroll !important; /* Things will break if this is overridden */\n  /* 30px is the magic margin used to hide the element's real scrollbars */\n  /* See overflow: hidden in .CodeMirror */\n  margin-bottom: -30px; margin-right: -30px;\n  padding-bottom: 30px;\n  height: 100%;\n  outline: none; /* Prevent dragging from highlighting the element */\n  position: relative;\n}\n.CodeMirror-sizer {\n  position: relative;\n  border-right: 30px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n   before actual scrolling happens, thus preventing shaking and\n   flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  position: absolute;\n  z-index: 6;\n  display: none;\n}\n.CodeMirror-vscrollbar {\n  right: 0; top: 0;\n  overflow-x: hidden;\n  overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n  bottom: 0; left: 0;\n  overflow-y: hidden;\n  overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n  right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n  left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n  position: absolute; left: 0; top: 0;\n  min-height: 100%;\n  z-index: 3;\n}\n.CodeMirror-gutter {\n  white-space: normal;\n  height: 100%;\n  display: inline-block;\n  vertical-align: top;\n  margin-bottom: -30px;\n  /* Hack to make IE7 behave */\n  *zoom:1;\n  *display:inline;\n}\n.CodeMirror-gutter-wrapper {\n  position: absolute;\n  z-index: 4;\n  background: none !important;\n  border: none !important;\n}\n.CodeMirror-gutter-background {\n  position: absolute;\n  top: 0; bottom: 0;\n  z-index: 4;\n}\n.CodeMirror-gutter-elt {\n  position: absolute;\n  cursor: default;\n  z-index: 4;\n}\n.CodeMirror-gutter-wrapper {\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  user-select: none;\n}\n\n.CodeMirror-lines {\n  cursor: text;\n  min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre {\n  /* Reset some styles that the rest of the page might have set */\n  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n  border-width: 0;\n  background: transparent;\n  font-family: inherit;\n  font-size: inherit;\n  margin: 0;\n  white-space: pre;\n  word-wrap: normal;\n  line-height: inherit;\n  color: inherit;\n  z-index: 2;\n  position: relative;\n  overflow: visible;\n  -webkit-tap-highlight-color: transparent;\n  -webkit-font-variant-ligatures: none;\n  font-variant-ligatures: none;\n}\n.CodeMirror-wrap pre {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  word-break: normal;\n}\n\n.CodeMirror-linebackground {\n  position: absolute;\n  left: 0; right: 0; top: 0; bottom: 0;\n  z-index: 0;\n}\n\n.CodeMirror-linewidget {\n  position: relative;\n  z-index: 2;\n  overflow: auto;\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-code {\n  outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n  position: absolute;\n  width: 100%;\n  height: 0;\n  overflow: hidden;\n  visibility: hidden;\n}\n\n.CodeMirror-cursor { position: absolute; }\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n  visibility: hidden;\n  position: relative;\n  z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n  visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n  visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n  background: #ffa;\n  background: rgba(255, 255, 0, .4);\n}\n\n/* IE7 hack to prevent it from returning funny offsetTops on the spans */\n.CodeMirror span { *vertical-align: text-bottom; }\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n  /* Hide the cursor when printing */\n  .CodeMirror div.CodeMirror-cursors {\n    visibility: hidden;\n  }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n/* Based on Sublime Text's Monokai theme */\n\n.cm-s-monokai.CodeMirror { background: #272822; color: #f8f8f2; }\n.cm-s-monokai div.CodeMirror-selected { background: #49483E; }\n.cm-s-monokai .CodeMirror-line::selection, .cm-s-monokai .CodeMirror-line > span::selection, .cm-s-monokai .CodeMirror-line > span > span::selection { background: rgba(73, 72, 62, .99); }\n.cm-s-monokai .CodeMirror-line::-moz-selection, .cm-s-monokai .CodeMirror-line > span::-moz-selection, .cm-s-monokai .CodeMirror-line > span > span::-moz-selection { background: rgba(73, 72, 62, .99); }\n.cm-s-monokai .CodeMirror-gutters { background: #272822; border-right: 0px; }\n.cm-s-monokai .CodeMirror-guttermarker { color: white; }\n.cm-s-monokai .CodeMirror-guttermarker-subtle { color: #d0d0d0; }\n.cm-s-monokai .CodeMirror-linenumber { color: #d0d0d0; }\n.cm-s-monokai .CodeMirror-cursor { border-left: 1px solid #f8f8f0; }\n\n.cm-s-monokai span.cm-comment { color: #75715e; }\n.cm-s-monokai span.cm-atom { color: #ae81ff; }\n.cm-s-monokai span.cm-number { color: #ae81ff; }\n\n.cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute { color: #a6e22e; }\n.cm-s-monokai span.cm-keyword { color: #f92672; }\n.cm-s-monokai span.cm-builtin { color: #66d9ef; }\n.cm-s-monokai span.cm-string { color: #e6db74; }\n\n.cm-s-monokai span.cm-variable { color: #f8f8f2; }\n.cm-s-monokai span.cm-variable-2 { color: #9effff; }\n.cm-s-monokai span.cm-variable-3 { color: #66d9ef; }\n.cm-s-monokai span.cm-def { color: #fd971f; }\n.cm-s-monokai span.cm-bracket { color: #f8f8f2; }\n.cm-s-monokai span.cm-tag { color: #f92672; }\n.cm-s-monokai span.cm-header { color: #ae81ff; }\n.cm-s-monokai span.cm-link { color: #ae81ff; }\n.cm-s-monokai span.cm-error { background: #f92672; color: #f8f8f0; }\n\n.cm-s-monokai .CodeMirror-activeline-background { background: #373831; }\n.cm-s-monokai .CodeMirror-matchingbracket {\n  text-decoration: underline;\n  color: white !important;\n}\n\n.CodeMirror {\n  min-width: 100%;\n  height: 100%;\n  background-color: #f0f0f0;\n  /* max-height: 500px; */\n}\n\n.CodeMirror .debug {\n  background-color: #404040;\n}\n\n.CodeMirror .expr-highlight {\n  background-color: #555555;\n  border: 1px solid #999999;\n}\n\n#paused { display: none }\n\n#buttons {\n  padding: 1em;\n  border-top: 1px solid #d0d0d0;\n}\nbutton { font-size: 15px; }\n\n.breakpoints {\n  width: 20px;\n  height: 100%;\n}\n\n.breakpoint {\n  background-color: red;\n  width: 12px;\n  height: 12px;\n  margin-left: 5px;\n  border-radius: 10px;\n}\n\n#output, #stack {\n  flex: 0 200px;\n  padding: 1em;\n  overflow: auto;\n  max-height: 500px;\n  box-sizing: border-box;\n}\n\n#output {\n  border-right: 1px solid #d0d0d0;\n}\n\n#actual-output {\n  white-space: pre;\n}\n\n#editor-area {\n  display: flex;\n}\n\n#editor {\n  flex: 1;\n}\n\n#editor-wrapper {\n  width: 100%;\n}\n\nh4 {\n  margin: 0;\n}\n\n#stack ul {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n#template {\n  display: none;\n}\n\n#buttons {\n  overflow: hidden;\n}\n\n#resumed, #paused {\n  float: left;\n}\n\n#shared {\n  float: right;\n}"
  },
  {
    "path": "browser/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\" />\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"build/styles.css\" />\n    <style type=\"text/css\">\n      html, body {\n      margin: 0;\n      body: 0;\n      padding: 1em;\n      }\n\n      .CodeMirror {\n      height: 500px;\n      }\n\n      .debugger {\n      border: 1px solid #d0d0d0;\n      }\n\n      .figure-label {\n      text-align: center;\n      line-height: 1.5em;\n      font-style: italic;\n      width: 500px;\n      margin: 0 auto;\n      margin-top: 1em;\n      }\n\n      #debugger-error {\n      background-color: #ff5555;\n      font-family: sans-serif;\n      padding: .25em .5em;\n      line-height: 1.5em;\n      margin: 1em;\n      position: fixed;\n      top: 0;\n      right: 0;\n      display: none\n      }\n    </style>\n  </head>\n  <body>\n    <div id=\"template\">\n      <div id=\"editor-area\">\n        <div id=\"editor\"></div>\n        <div id=\"output\">\n          <h4>Output:</h4>\n          <div id=\"actual-output\"></div>\n        </div>\n        <div id=\"stack\">\n          <h4>Stack:</h4>\n          <div id=\"actual-stack\">\n          </div>\n        </div>\n      </div>\n      <div id=\"buttons\">\n        <div id=\"resumed\">\n          <button id=\"run\">Run</button>\n          <button id=\"run-no-breakpoints\">Run & Ignore Breakpoints</button>\n        </div>\n        <div id=\"paused\">\n          <button id=\"continue\">Continue</button>\n          <button id=\"step\">Step</button>\n        </div>\n        <div id=\"shared\">\n          <button id=\"share\">Get Shareable URL</button>\n        </div>\n      </div>\n    </div>\n\n    <div id=\"demo-debugger\">\nvar x = callCC(function(cont) {\n  for(var i=0; i<10; i++) {\n    if(i == 3) {\n      cont(\"done\");\n    }\n    console.log(i);\n  }\n});\n\nconsole.log(x);    </div>\n    <div class=\"figure-label\">\n      Click on any line to set a breakpoint.\n    </div>\n    <div id=\"debugger-error\">Hi</div>\n    <script src=\"build/bundle.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "browser/main.js",
    "content": "const regenerator = require('../main');\nconst VM = require('../runtime/vm');\nconst CodeMirror = require('codemirror');\n\nrequire('codemirror/mode/javascript/javascript.js');\nrequire('codemirror/lib/codemirror.css');\nrequire('codemirror/theme/monokai.css');\nrequire('./style.css');\n\nvar template = document.querySelector('#template').innerHTML;\nwindow.debuggerDemo = {\n  listeners: {},\n  on: function(event, callback) {\n    if(!this.listeners[event]) {\n      this.listeners[event] = [];\n    }\n    this.listeners[event].push(callback);\n  },\n\n  fire: function(event, vm, arg) {\n    if(this.listeners[event]) {\n      this.listeners[event].forEach(cb => {\n        cb(vm, arg)\n      });\n    }\n  }\n};\n\nvar errorTimer;\nfunction showError(e) {\n  var errorNode = document.querySelector(\"#debugger-error\");\n\n  if(errorNode) {\n    errorNode.textContent = 'Error: ' +  (e.message ? e.message : e);\n    errorNode.style.display = \"block\";\n\n    if(errorTimer) {\n      clearTimeout(errorTimer);\n    }\n\n    errorTimer = setTimeout(function() {\n      errorNode.style.display = 'none';\n    }, 5000);\n  }\n}\n\nfunction initDebugger(node, code) {\n  var code = code || node.textContent;\n  var breakpoint = node.dataset.breakpoint;\n  var id = node.id;\n\n  if(!id) {\n    throw new Error(\"debugger does not have an id\");\n  }\n\n  var container = document.createElement('div');\n  container.className = \"debugger\";\n  container.id = id;\n  container.innerHTML = template;\n  node.parentNode.replaceChild(container, node);\n\n  // Don't judge me\n  setTimeout(() => finishInit(code, breakpoint, container, id), 10);\n\n  return container;\n}\n\nfunction finishInit(code, breakpoint, container, id) {\n  const pausedBtns = container.querySelector('#paused');\n  const resumedBtns = container.querySelector('#resumed');\n  const stackEl = container.querySelector('#actual-stack');\n  const outputEl = container.querySelector('#actual-output');\n\n  const mirror = CodeMirror(container.querySelector('#editor'), {\n    mode: 'javascript',\n    theme: 'monokai',\n    value: code,\n    lineNumbers: true,\n    gutters: ['breakpoints']\n  });\n\n  const vm = new VM.$Machine();\n  let currentPausedLoc = null;\n  let currentExprHighlight = null;\n  let breakpoints = [];\n\n  if(breakpoint) {\n    const line = parseInt(breakpoint);\n    breakpoints.push(line);\n    mirror.setGutterMarker(line - 1, 'breakpoints', marker());\n  }\n\n  function fixHeight() {\n    // Damn Chrome's flexbox implementation that forces us to do this.\n    var n = document.querySelector('#' + id + ' .CodeMirror');\n    var rect = n.getBoundingClientRect();\n    if(rect.height > 500) {\n      n.style.height = '500px';\n    }\n  }\n\n  function marker() {\n    let marker = document.createElement(\"div\");\n    marker.className = \"breakpoint\";\n    return marker;\n  }\n\n  function exprHighlight(width, charHeight) {\n    let h = document.createElement(\"div\");\n    h.className = \"expr-highlight\";\n    h.style.width = width + \"px\";\n    h.style.height = charHeight + \"px\";\n    // CodeMirror puts the widget *below* the line, but we actually\n    // want it to cover the indicated line, so move it up a line\n    h.style.marginTop = -charHeight + \"px\";\n    return h;\n  }\n\n  function removePauseState() {\n    if(currentPausedLoc) {\n      for(var i = currentPausedLoc.start.line; i <= currentPausedLoc.end.line; i++) {\n        mirror.removeLineClass(i - 1, 'line', 'debug');\n      }\n      currentPausedLoc = null;\n    }\n\n    if(currentExprHighlight) {\n      currentExprHighlight.parentNode.removeChild(currentExprHighlight);\n      currentExprHighlight = null;\n    }\n\n    updateUI();\n  }\n\n  mirror.on('gutterClick', (inst, line) => {\n    line = line + 1;\n    if(breakpoints.indexOf(line) === -1) {\n      breakpoints.push(line);\n      mirror.setGutterMarker(line - 1, 'breakpoints', marker());\n    }\n    else {\n      breakpoints = breakpoints.filter(l => l !== line);\n      mirror.setGutterMarker(line - 1, 'breakpoints', null);\n    }\n\n    if(vm.state === 'suspended') {\n      vm.toggleBreakpoint(line);\n    }\n  });\n\n  mirror.on('beforeChange', () => {\n    breakpoints.forEach(line => {\n      mirror.setGutterMarker(line - 1, 'breakpoints', null);\n    });\n    breakpoints = [];\n\n    vm.abort();\n    removePauseState();\n  });\n\n  mirror.on('change', fixHeight);\n\n  vm.on(\"error\", function(e) {\n    console.log('Error:', e, e.stack);\n    showError(e);\n    updateUI();\n  });\n\n  vm.on(\"paused\", function(e) {\n    currentPausedLoc = vm.getLocation();\n    if(currentPausedLoc) {\n      for(var i = currentPausedLoc.start.line; i <= currentPausedLoc.end.line; i++) {\n        mirror.addLineClass(i - 1, 'line', 'debug');\n      }\n\n      if(currentExprHighlight) {\n        currentExprHighlight.parentNode.removeChild(currentExprHighlight);\n        currentExprHighlight = null;\n      }\n\n      if(currentPausedLoc.start.line === currentPausedLoc.end.line) {\n        var width = currentPausedLoc.end.column - currentPausedLoc.start.column;\n        currentExprHighlight = exprHighlight(mirror.defaultCharWidth() * width,\n                                             mirror.defaultTextHeight())\n\n        mirror.addWidget(\n          { line: currentPausedLoc.start.line - 1,\n            ch: currentPausedLoc.start.column },\n          currentExprHighlight,\n          false\n        );\n      }\n\n      mirror.scrollIntoView(\n        { from: { line: currentPausedLoc.start.line, ch: 0 },\n          to: { line: currentPausedLoc.end.line, ch: 0 } },\n        50\n      );\n    }\n\n    updateUI();\n  });\n\n  vm.on(\"resumed\", function() {\n    removePauseState();\n  });\n\n  // vm.on(\"cont-invoked\", function() {\n  // });\n\n  vm.on(\"finish\", () => {\n    updateUI();\n  });\n\n  function updateUI() {\n    if(currentPausedLoc) {\n      resumedBtns.style.display = 'none';\n      pausedBtns.style.display = 'block';\n    }\n    else {\n      resumedBtns.style.display = 'block';\n      pausedBtns.style.display = 'none';\n    }\n\n    if(vm.stack) {\n      stackEl.innerHTML = '<ul>' +\n        vm.stack.map(frame => {\n          return '<li>' + frame.name + '</li>';\n        }).join('') +\n        '</ul>';\n    }\n    else {\n      stackEl.innerHTML = '';\n    }\n\n    outputEl.textContent = vm.getOutput();\n  }\n\n  container.querySelector('#step').addEventListener('click', function() {\n    vm.step();\n  });\n\n  container.querySelector('#continue').addEventListener('click', function() {\n    vm.continue();\n  });\n\n  container.querySelector('#run').addEventListener('click', function() {\n    vm.abort();\n\n    const code = mirror.getValue();\n    outputEl.textContent = '';\n    try {\n      vm.loadString(mirror.getValue());\n    }\n    catch(e) {\n      debuggerDemo.fire(\"error\", vm, e);\n      showError(e);\n    }\n\n    breakpoints.forEach(line => {\n      vm.toggleBreakpoint(line);\n    });\n\n    vm.run();\n  });\n\n  container.querySelector('#run-no-breakpoints').addEventListener('click', function() {\n    vm.abort();\n\n    const code = mirror.getValue();\n    outputEl.textContent = '';\n    vm.loadString(mirror.getValue());\n\n    vm.run();\n  });\n\n  fixHeight();\n}\n\nvar demoDebugger = document.querySelector(\"#demo-debugger\");\nif(demoDebugger) {\n  var codeMatch = window.location.href.match(/\\?code=(.*)/);\n  var code = codeMatch ? codeMatch[1] : \"\";\n  var container = initDebugger(demoDebugger, atob(code));\n\n  var shareBtn = container.querySelector(\"#share\");\n  console.log(shareBtn);\n  shareBtn.addEventListener(\"click\", function() {\n    var mirror = document.querySelector(\".CodeMirror\").CodeMirror;\n    var loc = window.location.href.replace(/\\?code.*/, '');\n    history.pushState(null, null, loc + '?code=' + btoa(mirror.getValue()));\n  });\n}\nelse {\n  var debuggers = document.querySelectorAll(\".debugger\");\n  for(var i=0; i<debuggers.length; i++) {\n    initDebugger(debuggers[i]);\n  }\n}\n"
  },
  {
    "path": "browser/script.js",
    "content": "function foo(x) {\n  if(x < 2) {\n    debugger;\n  }\n  return x + foo(x - 1);\n}\n\nfoo(10);\n"
  },
  {
    "path": "browser/style.css",
    "content": "\n.CodeMirror {\n  min-width: 100%;\n  height: 100%;\n  background-color: #f0f0f0;\n  /* max-height: 500px; */\n}\n\n.CodeMirror .debug {\n  background-color: #404040;\n}\n\n.CodeMirror .expr-highlight {\n  background-color: #555555;\n  border: 1px solid #999999;\n}\n\n#paused { display: none }\n\n#buttons {\n  padding: 1em;\n  border-top: 1px solid #d0d0d0;\n}\nbutton { font-size: 15px; }\n\n.breakpoints {\n  width: 20px;\n  height: 100%;\n}\n\n.breakpoint {\n  background-color: red;\n  width: 12px;\n  height: 12px;\n  margin-left: 5px;\n  border-radius: 10px;\n}\n\n#output, #stack {\n  flex: 0 200px;\n  padding: 1em;\n  overflow: auto;\n  max-height: 500px;\n  box-sizing: border-box;\n}\n\n#output {\n  border-right: 1px solid #d0d0d0;\n}\n\n#actual-output {\n  white-space: pre;\n}\n\n#editor-area {\n  display: flex;\n}\n\n#editor {\n  flex: 1;\n}\n\n#editor-wrapper {\n  width: 100%;\n}\n\nh4 {\n  margin: 0;\n}\n\n#stack ul {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n#template {\n  display: none;\n}\n\n#buttons {\n  overflow: hidden;\n}\n\n#resumed, #paused {\n  float: left;\n}\n\n#shared {\n  float: right;\n}"
  },
  {
    "path": "debuggers/browser/main.js",
    "content": "var express = require('express');\n\nvar app = express();\napp.configure(function() {\n  app.use(express.static(__dirname + '/static'));\n  app.use(express.bodyParser());\n  app.use(express.methodOverride());\n});\n\nvar baseid = 0;\nvar processes = [];\n\napp.get('/process/:id', function(req, res) {\n  var id = req.params.id;\n  res.send(processes[id]);\n});\n\napp.post('/process', function(req, res) {\n  var src = req.body.src;\n  processes[baseid] = src;\n  res.send('' + baseid);\n  baseid++;\n});\n\napp.listen(4000);\n"
  },
  {
    "path": "debuggers/browser/static/app-conn.js",
    "content": "\nfunction format(obj) {\n  if(obj === undefined) {\n    return 'undefined';\n  }\n  else if(obj === null) {\n    return 'null';\n  }\n  else if(_.isFunction(obj)) {\n    return '<func>';\n  }\n  else {\n    var str;\n\n    if(typeof obj === 'object') {\n      str = obj.toSource ? obj.toSource() : obj.toString();\n    }\n    else {\n      str = obj.toString();\n    }\n\n    if(str.indexOf('\\n') !== -1) {\n      str = str.slice(0, str.indexOf('\\n')) + '...';\n    }\n    return str;\n  }\n}\n\nvar client = new Connection(window.parent, 'child');\nclient.send({ type: 'ready' });\n\nclient.on('run', function(code, debugInfo) {\n  VM.run(code, $DebugInfo.fromObject(debugInfo));\n});\nclient.on('continue', VM.continue.bind(VM));\nclient.on('step', VM.step.bind(VM));\nclient.on('stepOver', VM.stepOver.bind(VM));\n\nclient.on('setDebugInfo', function(info) {\n  VM.setDebugInfo($DebugInfo.fromObject(info));\n});\n\nclient.on('query', function(names) {\n  var res = names.split(',').map(function(name) {\n    switch(name) {\n    case 'state':\n      return VM.getState();\n    case 'scope':\n      var top = VM.getTopFrame();\n      if(!top) return [];\n\n      return top.scope.map(function(v) { return v.name; });\n    case 'stack':\n      return VM.stack ? VM.stack.map(function(frame) {\n        return {\n          name: frame.name,\n          scope: _.mapValues(frame.scope, format),\n          loc: frame.getLocation(VM)\n        };\n      }) : [];\n    }\n  });\n\n  this.respond(res);\n});\n\nclient.on('eval', function(expr) {\n  try {\n    var r = VM.evaluate(expr);\n  }\n  catch(e) {\n    this.respond([e.toString(), null]);\n    return;\n  }\n\n  if(_.isArray(r)) {\n    r = r.map(format);\n  }\n  else if(_.isObject(r)) {\n    r = _.mapValues(r, format);\n  }\n  else {\n    r = format(r);\n  }\n  this.respond([null, r]);\n});\n\nVM.on('breakpoint', function() {\n  client.send({ type: 'breakpoint',\n                args: [VM.getLocation()] });\n});\n\n// VM.on('step', function() {\n//   client.send({ type: 'step' });\n// });\n\nVM.on('finish', function() {\n  client.send({ type: 'finish' });\n});\n\nVM.on('error', function(err) {\n  client.send({ type: 'error',\n                args: [err.toString(), err.stack, VM.getLocation()]});\n});\n\nwindow.console = {\n  log: function() {\n    var str = Array.prototype.slice.call(arguments).join(' ');\n    client.send({ type: 'log', args: [str] });\n  }\n};\n"
  },
  {
    "path": "debuggers/browser/static/app.css",
    "content": "\nbody {\n    background-color: #aaaaaa;\n}\n\nhtml, body, .app {\n    height: 100%;\n}\n\niframe {\n    border: 0;\n}\n\nbutton {\n    margin-right: 1em;\n}\n\nhidden {\n    display: none;\n}\n\n/* layout */\n\n.app-inner {\n    height: 100%;\n}\n\n.footer {\n    height: 4.5em;\n}\n\n.col.left, .col.right {\n    height: 100%;\n    padding: 0;\n}\n\n.col.partial {\n    height: 60%;\n}\n\n.toolset {\n    height: 40%;\n}\n\n/* misc */\n\nbutton.close {\n    position: relative;\n    color: white;\n    opacity: 1;\n    text-shadow: none;\n}\n\nbutton.close:hover {\n    color: #d0d0d0;\n    opacity: 1;\n    top: 2px;\n    text-shadow: none;\n}\n\n/* editor */\n\n.editor-wrapper,\n.compiled {\n    position: absolute;\n    bottom: 1.5em;\n    left: 1.5em;\n    width: 45%;\n    z-index: 400;\n}\n\n.editor {\n    height: 400px;\n}\n\n.editor .CodeMirror {\n    background: none;\n    background-color: rgba(50, 50, 50, .5);\n    box-shadow: none;\n    border-radius: 5px;\n}\n\n.editor .highlight {\n    background-color: #393939;\n    padding: .5em;\n}\n\n.editor .highlight-text {\n    background-color: #606060;\n    /* box-shadow: 0 0 5px red; */\n}\n\n.editor .breakpoints {\n    width: 1em;\n}\n\ndiv.marker {\n    /* width: 10px; */\n    /* height: 10px; */\n    /* border-radius: 5px; */\n    color: #ff3333;\n    font-size: 1.5em;\n    margin-top: -2px;\n}\n\n.compiled {\n    left: auto;\n    right: 1.5em;\n    height: 600px;\n}\n\n/* display */\n\n.display {\n    width: 100%;\n    height: 100%;\n    white-space: pre;\n    font-family: monaco, monospace;\n    color: white;\n}\n\n.display .inner {\n    height: 100%;\n    background-color: #202020;\n}\n\n/* toolset */\n\n.toolset {\n    position: absolute;\n    right: 0;\n    bottom: 0;\n    width: 50%;\n    background-color: #999999;\n    clear: both;\n    padding-top: .75em;\n}\n\n.toolset ul.nav {\n    border: 0;\n    border-bottom: 1px solid white;\n    height: 2.5em;\n    padding-left: 2em;\n}\n\n.tool {\n    height: calc(100% - 2.5em);\n}\n\n.toolset ul.nav li a,\n.toolset ul.nav li a:hover {\n    padding: .5em;\n    margin-right: .5em;\n    background-color: #335533;\n    border: 0;\n    color: #d0d0d0;\n\n    height: calc(2.5em - 1px);\n}\n\n.toolset ul.nav li.active a {\n    background-color: #d0d0d0;\n    border: 1px solid white;\n    border-bottom: 0;\n    color: #1f1f1f;\n    height: 2.5em;\n}\n\n.toolset ul.nav li a:hover {\n    cursor: pointer;\n}\n\n.toolset button.close {\n    float: none;\n    position: absolute;\n    top: 0;\n    right: 0;\n    margin: .5em 1em;\n}\n\n.tool {\n    display: none;\n    background-color: #d0d0d0;\n    padding: 1em;\n    color: #1f1f1f;\n}\n\n.tool.active {\n    display: block;\n}\n\n/* debugger */\n/* console */\n\n.debugger .state {\n    float: right;\n    background-color: #f6ec47;\n    padding: .5em;\n    text-style: italic;\n    margin-right: 1em;\n}\n\n.debugger .buttons {\n    height: 3em;\n}\n\n.debugger .stack-outer,\n.debugger .scope-outer {\n    height: calc(100% - 3em);\n    padding: 0;\n}\n\n.debugger .stack-outer > div:first-child,\n.debugger .scope-outer > div:first-child {\n    font-size: 1.5em;\n    height: 1.25em;\n}\n\n.debugger .stack, .debugger .scope {\n    white-space: pre;\n    font-family: monaco, monospace;\n    height: calc(100% - 1.5em);\n    border: 1px solid #a0a0a0;\n    overflow: auto;\n    background-color: #f0f0f0;\n    padding: 1em;\n}\n\n.console.with-debugger {\n    border-left: 1px solid black;\n    background-color: #f0f0f0;\n}\n\n.console {\n    padding-top: 0;\n    padding-bottom: 0;\n}\n\n.console .output {\n    white-space: pre;\n    font-family: monaco, monospace;\n    overflow: auto;\n    height: calc(100% - 3em);\n    padding: 1em 0;\n}\n\n.console .input {\n    height: 3em;\n}\n\n.console .input input {\n    width: 100%;\n    margin: .5em 0;\n}\n\n/* footer */\n\n.footer {\n    background-color: #112211;\n    color: white;\n    padding: 1em;\n}\n\n.footer button {\n    background-color: #446644;\n    border: 1px solid #446644;\n}\n\n/* resources */\n\n.resources li a {\n    margin-left: 1em;\n}\n\n"
  },
  {
    "path": "debuggers/browser/static/app.js",
    "content": "\n// util\n\nfunction classes() {\n  return Array.prototype.slice.call(arguments).reduce(function(acc, cls) {\n    if(cls) {\n      acc.push(cls);\n    }\n    return acc;\n  }, []).join(' ');\n}\n\n// main.js is exported from browserify\nvar probejs = { compile: main.js };\nvar dom = React.DOM;\n\nvar App = React.createClass({\n  getInitialState: function() {\n    return {\n      source: null,\n      toolsetOpen: true,\n      client: null\n    };\n  },\n\n  componentDidMount: function() {\n    var filename = (window.location.hash || '#src.txt').slice(1);\n    $.get(filename, function(res) {\n      this.setState({ source: res });\n    }.bind(this));\n\n    this._onResize = function() {\n      this.refs.editor.resize();\n      this.refs.display.resize();\n    }.bind(this);\n\n    $(window).on('resize', this._onResize);\n  },\n\n  componentDidUpdate: function(prevProps, prevState) {\n    if(prevState.client !== this.state.client) {\n      this.state.client.on('breakpoint', function(loc) {\n        this.openToolset('debugger');\n        this.refs.editor.highlight(loc);\n        this.refs.toolset.getTool('debugger').printReport();\n      }.bind(this));\n    }\n  },\n\n  componentWillUnmount: function() {\n    $(window).off('resize', this._onResize);\n  },\n\n  handleSourceChange: function(src) {\n    this.refs.editor.highlight(null);\n    this.setState({ source: src });\n  },\n\n  handleBreakpoint: function(line) {\n    if(this.state.client) {\n      this.state.debugInfo.toggleBreakpoint(line);\n      this.state.client.send({ type: 'setDebugInfo',\n                               args: [this.state.debugInfo] });\n    }\n  },\n\n  compile: function(src, opts) {\n    try {\n      return probejs.compile(src, opts);\n    }\n    catch(e) {\n      console.log(e.toString() + '\\n' + e.stack);\n      return;\n    }\n  },\n\n  runExpression: function() {\n    var editor = this.refs.editor;\n    var cursor = editor._editor.getCursor();\n    cursor.line += 1;\n\n    function getNodeAtPoint(nodes, cursor) {\n      return nodes.reduce(function(acc, topNode) {\n        var loc = topNode.loc;\n\n        if((loc.start.line < cursor.line &&\n            loc.end.line > cursor.line) ||\n           (loc.start.line === cursor.line &&\n            loc.start.column <= cursor.ch) ||\n           (loc.end.line === cursor.column &&\n            loc.end.column >= cursor.ch)) {\n          return topNode;\n        }\n        return acc;\n      }, null);\n    }\n\n    function findDeepestFunction(node, cursor) {\n      var found = getNodeAtPoint(node.body.body, cursor);\n\n      if(!found) {\n        return null;\n      }\n      else if(found.type !== 'FunctionDeclaration' &&\n              found.type !== 'FunctionExpression') {\n        return null;\n      }\n      else {\n        return findDeepestFunction(found, cursor) || found;\n      }\n    }\n\n    var ast = esprima.parse(editor.getValue(), {\n      loc: true,\n      range: true\n    });\n\n    var node = getNodeAtPoint(ast.body, cursor);\n    if(node.type === 'FunctionExpression' ||\n       node.type === 'FunctionDeclaration') {\n      node = findDeepestFunction(node, cursor) || node;\n    }\n\n    var src = editor.getValue().slice(node.range[0], node.range[1]);\n    this.state.client.send({ type: 'eval',\n                             args: [src] }, function(err, res) {\n                               console.log(err, res);\n                             });\n    //this.setState({ debugInfo: debugInfo });\n  },\n\n  run: function() {\n    var state = this.state;\n    var client = state.client;\n    var editor = this.refs.editor;\n    var consoleTool = this.refs.toolset.getTool('console');\n    var src = editor.getValue();\n    consoleTool.clear();\n\n    var output = this.compile(src);\n\n    // external scripts\n    var resources = this.refs.toolset.getTool('resources');\n    var scripts = resources.state.urls.map(function(url) {\n      return '<script src=\"' + url + '\"></script>';\n    }).join('');\n\n    var debugInfo = new $DebugInfo(output.debugInfo);\n    var display = this.refs.display.getDOMNode();\n    var iframe = display.querySelector('iframe');\n    iframe.srcdoc = '<!DOCTYPE html>' +\n      '<html>' +\n      '<head><style>' +\n      'html, body { margin: 0; width: 100%; height: 100%; }' +\n      '</style></head>' +\n      '<body>' +\n      '<canvas></canvas>' +\n      '<script src=\"/lib/lodash.min.js\"></script>' + // temporary\n      '<script src=\"/probe.js\"></script>' +\n      '<script src=\"/vm.js\"></script>' +\n      '<script>var VM = new $Machine();</script>' +\n      '<script src=\"/conn.js\"></script>' +\n      '<script src=\"/app-conn.js\"></script>' +\n      scripts +\n      // '<script src=\"/src.js\"></script>' +\n      '</body></html>';\n\n    if(client) {\n      client.kill();\n    }\n    client = new Connection(iframe.contentWindow, 'parent');\n    client.on('ready', function() {\n      // hack to scan for breakpoints\n      var mirror = editor._editor;\n      mirror.eachLine(function(line) {\n        var info = mirror.lineInfo(line);\n        var markers = info.gutterMarkers;\n        if(markers) {\n          debugInfo.toggleBreakpoint(info.line + 1);\n        }\n      });\n\n      client.send({ type: 'run',\n                    args: [output.code, debugInfo] });\n    });\n\n    this.setState({ client: client,\n                    debugInfo: debugInfo });\n  },\n\n  toggleToolset: function(tool) {\n    this.setState({ toolsetOpen: !this.state.toolsetOpen });\n  },\n\n  openToolset: function() {\n    this.setState({ toolsetOpen: true });\n    //this.refs.toolset.tool('debugger');\n  },\n\n  closeToolset: function() {\n    this.setState({ toolsetOpen: false });\n  },\n\n  getMachine: function() {\n    return this.state.machine;\n  },\n\n  toggleCode: function() {\n    this.setState({ codeOpen: !this.state.codeOpen });\n  },\n\n  render: function() {\n    return dom.div(\n      { className: 'app' },\n      dom.div(\n        { className: 'app-inner' },\n        dom.div(\n          { className: 'editor-wrapper' },\n          Editor({\n            ref: 'editor',\n            value: this.state.source,\n            client: this.state.client,\n            onChange: this.handleSourceChange,\n            onToggleBreakpoint: this.handleBreakpoint\n          }),\n          Footer({ onRun: this.run,\n                   onCompile: this.compile,\n                   onRunExpression: this.runExpression,\n                   toolsetOpen: this.state.toolsetOpen,\n                   onToggleToolset: this.toggleToolset,\n                   onCode: this.toggleCode })\n        ),\n        Display({ ref: 'display',\n                  className: (this.state.toolsetOpen ? 'partial' : 'full'),\n                  value: this.state.displayValue }),\n        Toolset({ className: this.state.toolsetOpen ? '' : 'hidden',\n                  ref: 'toolset',\n                  toolsetOpen: this.state.toolsetOpen,\n                  client: this.state.client,\n                  onClose: this.closeToolset,\n                  getEditor: function() {\n                    return this.refs.editor;\n                  }.bind(this) })\n      )\n    );\n  }\n});\n\nvar Editor = React.createClass({\n  componentDidMount: function(root) {\n    var mirror = CodeMirror(root, {\n      value: this.props.value || '',\n      mode: 'javascript',\n      theme: 'ambiance',\n      lineNumbers: true,\n      gutters: [\"CodeMirror-linenumbers\", \"breakpoints\"],\n      autofocus: true,\n      smartIndent: false,\n      indentWithTabs: false,\n      indentUnit: 2\n    });\n\n    mirror.on(\"gutterClick\", function(cm, n) {\n      var info = cm.lineInfo(n);\n      cm.setGutterMarker(n, \"breakpoints\",\n                         info.gutterMarkers ? null : makeMarker());\n      this.props.onToggleBreakpoint(info.line + 1);\n    }.bind(this));\n\n    mirror.on(\"change\", function() {\n      if(this.props.onChange) {\n        this.props.onChange(mirror.getValue());\n      }\n    }.bind(this));\n\n    function makeMarker() {\n      var marker = document.createElement(\"div\");\n      // marker.style.color = \"#822\";\n      marker.innerHTML = \"●\";\n      marker.className = 'marker';\n      return marker;\n    }\n\n    this._editor = mirror;\n    this.resize();\n  },\n\n  resize: function() {\n    var rect = this.getDOMNode().getBoundingClientRect();\n    this._editor.setSize(null, rect.height);\n  },\n\n  getValue: function() {\n    return this._editor.getValue();\n  },\n\n  componentDidUpdate: function(prevProps) {\n    if(this.props.value !== this._editor.getValue()) {\n      this._editor.setValue(this.props.value || '');\n    }\n\n    if(prevProps.client !== this.props.client) {\n      this.props.client.on('change', function(state, loc) {\n        if(state == 'suspended') {\n          this.highlight(loc);\n        }\n      });\n    }\n\n    this.resize();\n  },\n\n  highlight: function(loc) {\n    var editor = this._editor;\n\n    if(this._lastMarker) {\n      this._lastMarker.clear();\n      this._lastMarker = null;\n    }\n\n    if(this._lastLine) {\n      editor.removeLineClass(this._lastLine, 'background');\n      this._lastLine = null;\n    }\n\n    if(loc) {\n      this._lastMarker = editor.markText(\n        { line: loc.start.line - 1,\n          ch: loc.start.column },\n        { line: loc.end.line - 1,\n          ch: loc.end.column },\n        { className: 'highlight-text' }\n      );\n\n      this._lastLine = loc.start.line - 1;\n      editor.addLineClass(loc.start.line - 1, 'background', 'highlight');\n\n      var pos = editor.cursorCoords({ line: loc.start.line - 1,\n                                      ch: loc.start.column },\n                                    'local');\n      editor.scrollIntoView({ top: pos.top - 40,\n                              left: pos.left,\n                              bottom: pos.bottom + 40 });\n    }\n  },\n\n  render: function() {\n    var cls = ['editor', this.props.className || ''].join(' ');\n    return dom.div({ className: cls });\n  }\n});\n\nvar Display = React.createClass({\n  componentDidMount: function() {\n    this.resize();\n  },\n\n  componentDidUpdate: function() {\n    this.resize();\n  },\n\n  resize: function() {\n    var root = this.getDOMNode();\n    var iframe = $(root).find('iframe')[0];\n    var rect = root.getBoundingClientRect();\n    iframe.width = rect.width;\n    iframe.height = rect.height;\n  },\n\n  render: function() {\n    var cls = ['display', this.props.className || ''].join(' ');\n    return dom.div(\n      { className: cls },\n      dom.div({ className: 'inner' },\n              dom.iframe())\n    );\n  }\n});\n\nvar Toolset = React.createClass({\n  getInitialState: function() {\n    return { openTool: 'debugger' };\n  },\n\n  tool: function(tool) {\n    this.setState({ openTool: tool });\n  },\n\n  getTool: function(tool) {\n    return this.refs[tool];\n  },\n\n  render: function() {\n    var cls = ['toolset', this.props.className || ''].join(' ');\n\n    var activeClass = function(tool, cls) {\n      return this.props.toolsetOpen ? cls : null;\n    }.bind(this);\n\n    return dom.div(\n      { className: cls },\n      dom.button({ className: 'close',\n                   onClick: this.props.onClose }, 'x'),\n      dom.ul(\n        { className: 'nav nav-tabs' },\n        dom.li({ className: activeClass('debugger', 'active') },\n               dom.a({ onClick: this.tool.bind(this, 'debugger') },\n                     \"DEBOOGER\")),\n        dom.li({ className: activeClass('console', 'active') },\n               dom.a({ onClick: this.tool.bind(this, 'console') },\n                     \"CONSOLE\")),\n        dom.li({ className: activeClass('resources', 'active') },\n               dom.a({ onClick: this.tool.bind(this, 'resources') },\n                     \"RESOURCES\"))\n      ),\n      Debugger({ ref: 'debugger',\n                 className: activeClass('debugger', 'show'),\n                 onClose: this.closeTool,\n                 client: this.props.client,\n                 getConsole: this.getTool.bind(this, 'console'),\n                 getEditor: this.props.getEditor }),\n      Console({ ref: 'console',\n                className: activeClass('console', 'show'),\n                client: this.props.client,\n                getDebugger: this.getTool.bind(this, 'debugger'),\n                onClose: this.closeTool }),\n      Resources({ ref: 'resources',\n                  className: activeClass('resources', 'show') })\n    );\n  }\n});\n\nvar Debugger = React.createClass({\n  getInitialState: function() {\n    return { output: '',\n             stack: [],\n             scope: [],\n             runstate: 'idle' };\n  },\n\n  componentDidUpdate: function(prevProps) {\n    if(prevProps.client !== this.props.client) {\n      var client = this.props.client;\n\n      client.on('error', function(err, stack, loc) {\n        this.handleError(err, stack, loc);\n      }.bind(this));\n\n      client.on('finish', function() {\n        this.props.getEditor().highlight(null);\n        //this.printReport();\n      }.bind(this));\n    }\n  },\n\n  continue: function() {\n    this.props.client.send({ type: 'continue' });\n    this.props.getEditor().highlight(null);\n  },\n\n  step: function() {\n    this.props.client.send({ type: 'step' });\n  },\n\n  stepOver: function() {\n    this.props.client.send({ type: 'stepOver' });\n  },\n\n  handleError: function(err, stack, loc) {\n    if(loc) {\n      this.props.getEditor().highlight(loc);\n    }\n\n    this.props.getConsole().log(err.toString() + '\\n' + stack);\n    this.printReport();\n  },\n\n  printReport: function() {\n    var client = this.props.client;\n\n    client.send({\n      type: 'query',\n      args: ['state,stack,scope']\n    }, function(state, stack, scope) {\n      if(state !== 'idle') {\n        var srclines = this.props.getEditor().getValue().split('\\n');\n        scope = _.unique(scope);\n\n        this.props.client.send({\n          type: 'eval',\n          args: ['[' + scope.join(',') + ']']\n        }, function(err, res) {\n          this.setState({\n            scope: _.zip(scope, res)\n          });\n        }.bind(this));\n\n        this.setState({\n          stack: stack.reduce(function(acc, frame) {\n            if(frame.name != '__global') {\n              var line = srclines[frame.loc.start.line - 1];\n              acc.push(frame.name + ': ' +\n                       line.slice(frame.loc.start.column,\n                                  frame.loc.end.column));\n              return acc;\n            }\n            return acc;\n          }, []),\n          runstate: state\n        });\n      }\n      else {\n        this.setState(this.getInitialState());\n      }\n    }.bind(this));\n  },\n\n  render: function() {\n    var cls = ['tool debugger', this.props.className || ''].join(' ');\n    var childs = [];\n    var state = this.state;\n\n    if(this.state.runstate == 'suspended') {\n      childs = childs.concat([\n        dom.div(\n          { className: 'buttons' },\n          dom.div({ className: 'state' }, 'paused'),\n          dom.button({ className: 'btn btn-primary',\n                       onClick: this.continue },\n                     \"PLAY\"),\n          dom.button({ className: 'btn btn-primary',\n                       onClick: this.step },\n                     \"STEP\"),\n          dom.button({ className: 'btn btn-primary',\n                       onClick: this.stepOver },\n                     \"STEP OVER\")\n        ),\n        dom.div(\n          { className: 'col-sm-6 stack-outer' },\n          dom.div(null, 'yo stack'),\n          dom.div({ className: 'stack' },\n                  dom.div({ className: 'inner' },\n                          state.stack.map(function(v) {\n                            return dom.div(null, v);\n                          })))),\n        dom.div(\n          { className: 'col-sm-6 scope-outer' },\n          dom.div(null, 'yo scope'),\n          dom.div({ className: 'scope' },\n                  dom.div({ className: 'inner' },\n                          state.scope.map(function(v) {\n                            return dom.div(null, v[0] + ': ' + v[1]);\n                          }))))\n      ]);\n    }\n    else {\n      childs.push(dom.div({ className: 'disabled' },\n                          \"program not running\"));\n    }\n\n    childs.push(dom.div({ className: 'output' }, this.props.output));\n    return dom.div({ className: cls }, childs);\n  }\n});\n\nvar Console = React.createClass({\n  getInitialState: function() {\n    return { input: '',\n             output: '' };\n  },\n\n  componentDidUpdate: function(prevProps, prevState) {\n    if(prevState.output !== this.state.output) {\n      var node = $(this.getDOMNode()).find('.output');\n      node.scrollTop(node.children('.inner').height());\n    }\n\n    if(prevProps.client !== this.props.client) {\n      this.props.client.on('log', function(msg) {\n        this.log(msg);\n      }.bind(this));\n    }\n  },\n\n  getConsoleObject: function() {\n    return this._fakeConsole;\n  },\n\n  clear: function() {\n    this.setState({ output: '' });\n  },\n\n  handleInput: function(e) {\n    this.setState({ input: e.target.value });\n  },\n\n  log: function(str, buffered) {\n    var cur = this.state.output;\n    this.setState({\n      output: cur ? (cur + '\\n' + str) : str\n    });\n  },\n\n  evaluate: function(e) {\n    e.preventDefault();\n    var client = this.props.client;\n\n    client.send({\n      type: 'eval',\n      args: [this.state.input]\n    }, function(err, res) {\n      this.log(this.state.input + '\\n' + res);\n      this.setState({ input: '' });\n      this.props.getDebugger().printReport();\n    }.bind(this));\n  },\n\n  render: function() {\n    var cls = ['tool console', this.props.className || ''].join(' ');\n    return dom.div(\n      { className: cls },\n      dom.div({ className: 'output' },\n              dom.div({ className: 'inner' }, this.state.output)),\n      dom.div(\n        { className: 'input' },\n        dom.form({ onSubmit: this.evaluate },\n                 dom.input({ type: 'text ',\n                             value: this.state.input,\n                             onChange: this.handleInput }))\n      )\n    );\n  }\n});\n\nvar Resources = React.createClass({\n  getInitialState: function() {\n    return {\n      urls: [\n        'http://jlongster.com/s/cloth/gl-matrix.js',\n        'http://jlongster.com/s/cloth/renderers.js',\n        'mouse.js'\n      ]\n    };\n  },\n\n  handleInput: function(e) {\n    this.setState({ inputUrl: e.target.value });\n  },\n\n  add: function(e) {\n    e.preventDefault();\n    this.setState({\n      urls: this.state.urls.concat([this.state.inputUrl]),\n      inputUrl: ''\n    });\n  },\n\n  remove: function(e, i) {\n    e.preventDefault();\n    var urls = this.state.urls.slice();\n    urls.splice(i, 1);\n\n    this.setState({\n      urls: urls,\n      inputUrl: ''\n    });\n  },\n\n  render: function() {\n    var cls = ['tool resources', this.props.className || ''].join(' ');\n    return dom.div(\n      { className: cls },\n      dom.ul(\n        null,\n        this.state.urls.map(function(url, i) {\n          return dom.li(\n            null,\n            dom.div(\n              null,\n              url,\n              dom.a({ href: '#',\n                      onClick: function(e) {\n                        this.remove(e, i);\n                      }.bind(this) },\n                    'x')\n            )\n          );\n        }.bind(this))\n      ),\n      dom.form(\n        { onSubmit: this.add },\n        dom.input({ onChange: this.handleInput,\n                    value: this.state.inputUrl })\n      )\n    );\n  }\n});\n\nvar Footer = React.createClass({\n  render: function() {\n    var cls = ['footer', this.props.className || ''].join(' ');\n    return dom.div({ className: cls },\n                   dom.button({ className: 'btn btn-success',\n                                onClick: this.props.onRun },\n                              \"RUN\"),\n                   dom.button({ className: 'btn btn-success',\n                                onClick: this.props.onRunExpression },\n                              \"RUN EXPRESSION\"),\n                   dom.button({ className: 'btn btn-success',\n                                onClick: this.props.onToggleToolset },\n                              (this.props.toolsetOpen ?\n                               \"CLOSE TOOLSET\" :\n                               \"OPEN TOOLSET\")));\n  }\n});\n\nReact.renderComponent(App(), document.body);\n"
  },
  {
    "path": "debuggers/browser/static/conn.js",
    "content": "(function(exports) {\n\n// Connection\n\nfunction Connection(target, name) {\n  this.target = target;\n  this.baseid = 0;\n  this._events = [];\n  this.queue = {};\n  this.name = name;\n\n  this.handleMessage = this.handleMessage.bind(this);\n  window.addEventListener('message', this.handleMessage, false);\n}\n\nConnection.prototype.kill = function() {\n  window.removeEventListener('message', this.handleMessage, false);\n};\n\nConnection.prototype.send = function(msg, cb) {\n  msg.from = this.baseid++;\n  this.target.postMessage(msg, '*');\n\n  if(cb) {\n    this.queue[msg.from] = cb;\n  }\n};\n\nConnection.prototype.handleMessage = function(msg) {\n  var data = msg.data;\n\n  if(data.to != null) {\n    var handler = this.queue[data.to];\n    handler.apply(this, data.result);\n    delete this.queue[data.to];\n  }\n  else {\n    var result = this.fire(data.type, data.args || [], data.from);\n    if(result) {\n      this.send({\n        to: msg.from,\n        result: result\n      });\n    }\n  }\n};\n\nConnection.prototype.fire = function(event, args, from) {\n  // Events are always fired asynchronouly\n  setTimeout(function() {\n    this.respond = function(res) {\n      if(from) {\n        this.send({ result: res, to: from });\n      }\n    }.bind(this);\n\n    var arr = this._events[event] || [];\n    arr.forEach(function(handler) {\n      handler.apply(this, args);\n    }.bind(this));\n\n    this.respond = function() {\n      throw new Error('nobody waiting for response');\n    };\n  }.bind(this), 0);\n};\n\nConnection.prototype.on = function(event, handler) {\n  var arr = this._events[event] || [];\n  arr.push(handler);\n  this._events[event] = arr;\n};\n\nConnection.prototype.off = function(event, handler) {\n  var arr = this._events[event] || [];\n  if(handler) {\n    var i = arr.indexOf(handler);\n    if(i !== -1) {\n      arr.splice(i, 1);\n    }\n  }\n  else {\n    this._events[event] = [];\n  }\n};\n\nexports.Connection = Connection;\n})(typeof module !== 'undefined' ? module.exports : this);\n"
  },
  {
    "path": "debuggers/browser/static/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <title>probe your JavaScript</title>\n    <meta charset=\"utf-8\" />\n    <link rel=\"stylesheet\" href=\"lib/bootstrap-3.0.3/dist/css/bootstrap.min.css\">\n    <link rel=\"stylesheet\" href=\"lib/codemirror-3.20/lib/codemirror.css\">\n    <link rel=\"stylesheet\" href=\"lib/codemirror-3.20/theme/ambiance.css\">\n    <link rel=\"stylesheet\" href=\"app.css\">\n  </head>\n  <body>\n\n    <script src=\"lib/codemirror-3.20/lib/codemirror.js\"></script>\n    <script type=\"text/javascript\" src=\"lib/codemirror-3.20/mode/javascript/javascript.js\"></script>\n    <script src=\"lib/jquery-2.0.3.min.js\"></script>\n    <script src=\"lib/lodash.min.js\"></script>\n    <script src=\"lib/react-0.8.0/build/react.min.js\"></script>\n    <script src=\"lib/esprima.js\"></script>\n\n    <script src=\"probe.js\"></script>\n    <script src=\"vm.js\"></script>\n    <script src=\"conn.js\"></script>\n    <script src=\"app.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/.editorconfig",
    "content": "# editorconfig.org\n\nroot = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/.gitattributes",
    "content": "# Enforce Unix newlines\n*.css   text eol=lf\n*.html  text eol=lf\n*.js    text eol=lf\n*.json  text eol=lf\n*.less  text eol=lf\n*.md    text eol=lf\n*.yml   text eol=lf\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/.gitignore",
    "content": "# Ignore docs files\n_gh_pages\n_site\n.ruby-version\n\n# Numerous always-ignore extensions\n*.diff\n*.err\n*.orig\n*.log\n*.rej\n*.swo\n*.swp\n*.zip\n*.vi\n*~\n\n# OS or Editor folders\n.DS_Store\n._*\nThumbs.db\n.cache\n.project\n.settings\n.tmproj\n*.esproj\nnbproject\n*.sublime-project\n*.sublime-workspace\n.idea\n\n# Komodo\n*.komodoproject\n.komodotools\n\n# grunt-html-validation\nvalidation-status.json\nvalidation-report.json\n\n# Folders to ignore\nnode_modules\nbower_components\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/.travis.yml",
    "content": "language: node_js\nnode_js:\n  - 0.10\nbefore_script:\n  - gem install jekyll\n  - npm install -g grunt-cli\nenv:\n  global:\n  - SAUCE_USERNAME: bootstrap\n  - secure: \"pJkBwnuae9dKU5tEcCqccfS1QQw7/meEcfz63fM7ba7QJNjoA6BaXj08L5Z3Vb5vBmVPwBawxo5Hp0jC0r/Z/O0hGnAmz/Cz09L+cy7dSAZ9x4hvZePSja/UAusaB5ogMoO8l2b773MzgQeSmrLbExr9BWLeqEfjC2hFgdgHLaQ=\"\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/CNAME",
    "content": "getbootstrap.com\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/CONTRIBUTING.md",
    "content": "# Contributing to Bootstrap\n\nLooking to contribute something to Bootstrap? **Here's how you can help.**\n\n\n\n## Reporting issues\n\nWe only accept issues that are bug reports or feature requests. Bugs must be isolated and reproducible problems that we can fix within the Bootstrap core. Please read the following guidelines before opening any issue.\n\n1. **Search for existing issues.** We get a lot of duplicate issues, and you'd help us out a lot by first checking if someone else has reported the same issue. Moreover, the issue may have already been resolved with a fix available.\n2. **Create an isolated and reproducible test case.** Be sure the problem exists in Bootstrap's code with a [reduced test case](http://css-tricks.com/reduced-test-cases/) that should be included in each bug report.\n3. **Include a live example.** Make use of jsFiddle or jsBin to share your isolated test cases.\n4. **Share as much information as possible.** Include operating system and version, browser and version, version of Bootstrap, customized or vanilla build, etc. where appropriate. Also include steps to reproduce the bug.\n\n\n\n## Pull requests\n\n- CSS changes must be done in `.less` files first, never just in the compiled `.css` files\n- If modifying the `.less` files, always recompile and commit the compiled files `bootstrap.css` and `bootstrap.min.css`\n- Try not to pollute your pull request with unintended changes--keep them simple and small\n- Try to share which browsers your code has been tested in before submitting a pull request\n- Pull requests should always be against the `master` branch, never against `gh-pages`.\n\n\n\n## Coding standards\n\n### HTML\n\n- Two spaces for indentation, never tabs\n- Double quotes only, never single quotes\n- Always use proper indentation\n- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags)\n- Use CDNs and HTTPS for third-party JS when possible. We don't use protocol-relative URLs in this case because they break when viewing the page locally via `file://`.\n\n### CSS\n\n- Adhere to the [RECESS CSS property order](http://markdotto.com/2011/11/29/css-property-order/)\n- Multiple-line approach (one property and value per line)\n- Always a space after a property's colon (e.g., `display: block;` and not `display:block;`)\n- End all lines with a semi-colon\n- For multiple, comma-separated selectors, place each selector on its own line\n- Attribute selectors, like `input[type=\"text\"]` should always wrap the attribute's value in double quotes, for consistency and safety (see this [blog post on unquoted attribute values](http://mathiasbynens.be/notes/unquoted-attribute-values) that can lead to XSS attacks).\n\n### JS\n\n- No semicolons\n- Comma first\n- 2 spaces (no tabs)\n- strict mode\n- \"Attractive\"\n\n\n\n## License\n\nWith v3.1, we're moving from the Apache 2 to the MIT license for the Bootstrap code (not the docs). We're in the process of collecting permissions from all Bootstrap contributors with code still part of the project to make this happen. For details, please see [#2054](https://github.com/twbs/bootstrap/issues/2054).\n\nBy contributing your code, you agree to dual-license your contribution under the [Apache 2](https://github.com/twbs/bootstrap/blob/master/LICENSE) and [MIT](https://github.com/twbs/bootstrap/blob/master/LICENSE-MIT) licenses.\n\n\n\n## Release checklist\n\n1. Close ship list issue for the release.\n2. Close the milestone for the release.\n3. Open new release issue that includes this checklist.\n4. Ping folks to coordinate release (mainly @jdorfman for BootstrapCDN).\n5. Update version numbers using `grunt change-version-number --oldver=A.B.C --newver=X.Y.Z`. Review the changes and stage them manually.\n6. Run `grunt` one last time.\n7. Push to `master` branch.\n8. Merge `master` into `gh-pages`.\n9. Generate `bootstrap-X.Y.Z-dist.zip` file for release.\n10. Create release on GitHub with `/dist/` folder and release notes.\n11. Push `gh-pages`.\n12. Publish blog post.\n13. Tweet tweet.\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/DOCS-LICENSE",
    "content": "Creative Commons Legal Code\n\nAttribution 3.0 Unported\n\n    CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\n    LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN\n    ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\n    INFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\n    REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR\n    DAMAGES RESULTING FROM ITS USE.\n\nLicense\n\nTHE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE\nCOMMONS PUBLIC LICENSE (\"CCPL\" OR \"LICENSE\"). THE WORK IS PROTECTED BY\nCOPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS\nAUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.\n\nBY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE\nTO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY\nBE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS\nCONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND\nCONDITIONS.\n\n1. Definitions\n\n a. \"Adaptation\" means a work based upon the Work, or upon the Work and\n    other pre-existing works, such as a translation, adaptation,\n    derivative work, arrangement of music or other alterations of a\n    literary or artistic work, or phonogram or performance and includes\n    cinematographic adaptations or any other form in which the Work may be\n    recast, transformed, or adapted including in any form recognizably\n    derived from the original, except that a work that constitutes a\n    Collection will not be considered an Adaptation for the purpose of\n    this License. For the avoidance of doubt, where the Work is a musical\n    work, performance or phonogram, the synchronization of the Work in\n    timed-relation with a moving image (\"synching\") will be considered an\n    Adaptation for the purpose of this License.\n b. \"Collection\" means a collection of literary or artistic works, such as\n    encyclopedias and anthologies, or performances, phonograms or\n    broadcasts, or other works or subject matter other than works listed\n    in Section 1(f) below, which, by reason of the selection and\n    arrangement of their contents, constitute intellectual creations, in\n    which the Work is included in its entirety in unmodified form along\n    with one or more other contributions, each constituting separate and\n    independent works in themselves, which together are assembled into a\n    collective whole. A work that constitutes a Collection will not be\n    considered an Adaptation (as defined above) for the purposes of this\n    License.\n c. \"Distribute\" means to make available to the public the original and\n    copies of the Work or Adaptation, as appropriate, through sale or\n    other transfer of ownership.\n d. \"Licensor\" means the individual, individuals, entity or entities that\n    offer(s) the Work under the terms of this License.\n e. \"Original Author\" means, in the case of a literary or artistic work,\n    the individual, individuals, entity or entities who created the Work\n    or if no individual or entity can be identified, the publisher; and in\n    addition (i) in the case of a performance the actors, singers,\n    musicians, dancers, and other persons who act, sing, deliver, declaim,\n    play in, interpret or otherwise perform literary or artistic works or\n    expressions of folklore; (ii) in the case of a phonogram the producer\n    being the person or legal entity who first fixes the sounds of a\n    performance or other sounds; and, (iii) in the case of broadcasts, the\n    organization that transmits the broadcast.\n f. \"Work\" means the literary and/or artistic work offered under the terms\n    of this License including without limitation any production in the\n    literary, scientific and artistic domain, whatever may be the mode or\n    form of its expression including digital form, such as a book,\n    pamphlet and other writing; a lecture, address, sermon or other work\n    of the same nature; a dramatic or dramatico-musical work; a\n    choreographic work or entertainment in dumb show; a musical\n    composition with or without words; a cinematographic work to which are\n    assimilated works expressed by a process analogous to cinematography;\n    a work of drawing, painting, architecture, sculpture, engraving or\n    lithography; a photographic work to which are assimilated works\n    expressed by a process analogous to photography; a work of applied\n    art; an illustration, map, plan, sketch or three-dimensional work\n    relative to geography, topography, architecture or science; a\n    performance; a broadcast; a phonogram; a compilation of data to the\n    extent it is protected as a copyrightable work; or a work performed by\n    a variety or circus performer to the extent it is not otherwise\n    considered a literary or artistic work.\n g. \"You\" means an individual or entity exercising rights under this\n    License who has not previously violated the terms of this License with\n    respect to the Work, or who has received express permission from the\n    Licensor to exercise rights under this License despite a previous\n    violation.\n h. \"Publicly Perform\" means to perform public recitations of the Work and\n    to communicate to the public those public recitations, by any means or\n    process, including by wire or wireless means or public digital\n    performances; to make available to the public Works in such a way that\n    members of the public may access these Works from a place and at a\n    place individually chosen by them; to perform the Work to the public\n    by any means or process and the communication to the public of the\n    performances of the Work, including by public digital performance; to\n    broadcast and rebroadcast the Work by any means including signs,\n    sounds or images.\n i. \"Reproduce\" means to make copies of the Work by any means including\n    without limitation by sound or visual recordings and the right of\n    fixation and reproducing fixations of the Work, including storage of a\n    protected performance or phonogram in digital form or other electronic\n    medium.\n\n2. Fair Dealing Rights. Nothing in this License is intended to reduce,\nlimit, or restrict any uses free from copyright or rights arising from\nlimitations or exceptions that are provided for in connection with the\ncopyright protection under copyright law or other applicable laws.\n\n3. License Grant. Subject to the terms and conditions of this License,\nLicensor hereby grants You a worldwide, royalty-free, non-exclusive,\nperpetual (for the duration of the applicable copyright) license to\nexercise the rights in the Work as stated below:\n\n a. to Reproduce the Work, to incorporate the Work into one or more\n    Collections, and to Reproduce the Work as incorporated in the\n    Collections;\n b. to create and Reproduce Adaptations provided that any such Adaptation,\n    including any translation in any medium, takes reasonable steps to\n    clearly label, demarcate or otherwise identify that changes were made\n    to the original Work. For example, a translation could be marked \"The\n    original work was translated from English to Spanish,\" or a\n    modification could indicate \"The original work has been modified.\";\n c. to Distribute and Publicly Perform the Work including as incorporated\n    in Collections; and,\n d. to Distribute and Publicly Perform Adaptations.\n e. For the avoidance of doubt:\n\n     i. Non-waivable Compulsory License Schemes. In those jurisdictions in\n        which the right to collect royalties through any statutory or\n        compulsory licensing scheme cannot be waived, the Licensor\n        reserves the exclusive right to collect such royalties for any\n        exercise by You of the rights granted under this License;\n    ii. Waivable Compulsory License Schemes. In those jurisdictions in\n        which the right to collect royalties through any statutory or\n        compulsory licensing scheme can be waived, the Licensor waives the\n        exclusive right to collect such royalties for any exercise by You\n        of the rights granted under this License; and,\n   iii. Voluntary License Schemes. The Licensor waives the right to\n        collect royalties, whether individually or, in the event that the\n        Licensor is a member of a collecting society that administers\n        voluntary licensing schemes, via that society, from any exercise\n        by You of the rights granted under this License.\n\nThe above rights may be exercised in all media and formats whether now\nknown or hereafter devised. The above rights include the right to make\nsuch modifications as are technically necessary to exercise the rights in\nother media and formats. Subject to Section 8(f), all rights not expressly\ngranted by Licensor are hereby reserved.\n\n4. Restrictions. The license granted in Section 3 above is expressly made\nsubject to and limited by the following restrictions:\n\n a. You may Distribute or Publicly Perform the Work only under the terms\n    of this License. You must include a copy of, or the Uniform Resource\n    Identifier (URI) for, this License with every copy of the Work You\n    Distribute or Publicly Perform. You may not offer or impose any terms\n    on the Work that restrict the terms of this License or the ability of\n    the recipient of the Work to exercise the rights granted to that\n    recipient under the terms of the License. You may not sublicense the\n    Work. You must keep intact all notices that refer to this License and\n    to the disclaimer of warranties with every copy of the Work You\n    Distribute or Publicly Perform. When You Distribute or Publicly\n    Perform the Work, You may not impose any effective technological\n    measures on the Work that restrict the ability of a recipient of the\n    Work from You to exercise the rights granted to that recipient under\n    the terms of the License. This Section 4(a) applies to the Work as\n    incorporated in a Collection, but this does not require the Collection\n    apart from the Work itself to be made subject to the terms of this\n    License. If You create a Collection, upon notice from any Licensor You\n    must, to the extent practicable, remove from the Collection any credit\n    as required by Section 4(b), as requested. If You create an\n    Adaptation, upon notice from any Licensor You must, to the extent\n    practicable, remove from the Adaptation any credit as required by\n    Section 4(b), as requested.\n b. If You Distribute, or Publicly Perform the Work or any Adaptations or\n    Collections, You must, unless a request has been made pursuant to\n    Section 4(a), keep intact all copyright notices for the Work and\n    provide, reasonable to the medium or means You are utilizing: (i) the\n    name of the Original Author (or pseudonym, if applicable) if supplied,\n    and/or if the Original Author and/or Licensor designate another party\n    or parties (e.g., a sponsor institute, publishing entity, journal) for\n    attribution (\"Attribution Parties\") in Licensor's copyright notice,\n    terms of service or by other reasonable means, the name of such party\n    or parties; (ii) the title of the Work if supplied; (iii) to the\n    extent reasonably practicable, the URI, if any, that Licensor\n    specifies to be associated with the Work, unless such URI does not\n    refer to the copyright notice or licensing information for the Work;\n    and (iv) , consistent with Section 3(b), in the case of an Adaptation,\n    a credit identifying the use of the Work in the Adaptation (e.g.,\n    \"French translation of the Work by Original Author,\" or \"Screenplay\n    based on original Work by Original Author\"). The credit required by\n    this Section 4 (b) may be implemented in any reasonable manner;\n    provided, however, that in the case of a Adaptation or Collection, at\n    a minimum such credit will appear, if a credit for all contributing\n    authors of the Adaptation or Collection appears, then as part of these\n    credits and in a manner at least as prominent as the credits for the\n    other contributing authors. For the avoidance of doubt, You may only\n    use the credit required by this Section for the purpose of attribution\n    in the manner set out above and, by exercising Your rights under this\n    License, You may not implicitly or explicitly assert or imply any\n    connection with, sponsorship or endorsement by the Original Author,\n    Licensor and/or Attribution Parties, as appropriate, of You or Your\n    use of the Work, without the separate, express prior written\n    permission of the Original Author, Licensor and/or Attribution\n    Parties.\n c. Except as otherwise agreed in writing by the Licensor or as may be\n    otherwise permitted by applicable law, if You Reproduce, Distribute or\n    Publicly Perform the Work either by itself or as part of any\n    Adaptations or Collections, You must not distort, mutilate, modify or\n    take other derogatory action in relation to the Work which would be\n    prejudicial to the Original Author's honor or reputation. Licensor\n    agrees that in those jurisdictions (e.g. Japan), in which any exercise\n    of the right granted in Section 3(b) of this License (the right to\n    make Adaptations) would be deemed to be a distortion, mutilation,\n    modification or other derogatory action prejudicial to the Original\n    Author's honor and reputation, the Licensor will waive or not assert,\n    as appropriate, this Section, to the fullest extent permitted by the\n    applicable national law, to enable You to reasonably exercise Your\n    right under Section 3(b) of this License (right to make Adaptations)\n    but not otherwise.\n\n5. Representations, Warranties and Disclaimer\n\nUNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR\nOFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY\nKIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,\nINCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,\nFITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF\nLATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,\nWHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION\nOF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.\n\n6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE\nLAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR\nANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES\nARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS\nBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n7. Termination\n\n a. This License and the rights granted hereunder will terminate\n    automatically upon any breach by You of the terms of this License.\n    Individuals or entities who have received Adaptations or Collections\n    from You under this License, however, will not have their licenses\n    terminated provided such individuals or entities remain in full\n    compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will\n    survive any termination of this License.\n b. Subject to the above terms and conditions, the license granted here is\n    perpetual (for the duration of the applicable copyright in the Work).\n    Notwithstanding the above, Licensor reserves the right to release the\n    Work under different license terms or to stop distributing the Work at\n    any time; provided, however that any such election will not serve to\n    withdraw this License (or any other license that has been, or is\n    required to be, granted under the terms of this License), and this\n    License will continue in full force and effect unless terminated as\n    stated above.\n\n8. Miscellaneous\n\n a. Each time You Distribute or Publicly Perform the Work or a Collection,\n    the Licensor offers to the recipient a license to the Work on the same\n    terms and conditions as the license granted to You under this License.\n b. Each time You Distribute or Publicly Perform an Adaptation, Licensor\n    offers to the recipient a license to the original Work on the same\n    terms and conditions as the license granted to You under this License.\n c. If any provision of this License is invalid or unenforceable under\n    applicable law, it shall not affect the validity or enforceability of\n    the remainder of the terms of this License, and without further action\n    by the parties to this agreement, such provision shall be reformed to\n    the minimum extent necessary to make such provision valid and\n    enforceable.\n d. No term or provision of this License shall be deemed waived and no\n    breach consented to unless such waiver or consent shall be in writing\n    and signed by the party to be charged with such waiver or consent.\n e. This License constitutes the entire agreement between the parties with\n    respect to the Work licensed here. There are no understandings,\n    agreements or representations with respect to the Work not specified\n    here. Licensor shall not be bound by any additional provisions that\n    may appear in any communication from You. This License may not be\n    modified without the mutual written agreement of the Licensor and You.\n f. The rights granted under, and the subject matter referenced, in this\n    License were drafted utilizing the terminology of the Berne Convention\n    for the Protection of Literary and Artistic Works (as amended on\n    September 28, 1979), the Rome Convention of 1961, the WIPO Copyright\n    Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996\n    and the Universal Copyright Convention (as revised on July 24, 1971).\n    These rights and subject matter take effect in the relevant\n    jurisdiction in which the License terms are sought to be enforced\n    according to the corresponding provisions of the implementation of\n    those treaty provisions in the applicable national law. If the\n    standard suite of rights granted under applicable copyright law\n    includes additional rights not granted under this License, such\n    additional rights are deemed to be included in the License; this\n    License is not intended to restrict the license of any rights under\n    applicable law.\n\n\nCreative Commons Notice\n\n    Creative Commons is not a party to this License, and makes no warranty\n    whatsoever in connection with the Work. Creative Commons will not be\n    liable to You or any party on any legal theory for any damages\n    whatsoever, including without limitation any general, special,\n    incidental or consequential damages arising in connection to this\n    license. Notwithstanding the foregoing two (2) sentences, if Creative\n    Commons has expressly identified itself as the Licensor hereunder, it\n    shall have all rights and obligations of Licensor.\n\n    Except for the limited purpose of indicating to the public that the\n    Work is licensed under the CCPL, Creative Commons does not authorize\n    the use by either party of the trademark \"Creative Commons\" or any\n    related trademark or logo of Creative Commons without the prior\n    written consent of Creative Commons. Any permitted use will be in\n    compliance with Creative Commons' then-current trademark usage\n    guidelines, as may be published on its website or otherwise made\n    available upon request from time to time. For the avoidance of doubt,\n    this trademark restriction does not form part of this License.\n\n    Creative Commons may be contacted at http://creativecommons.org/.\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/Gruntfile.js",
    "content": "/* jshint node: true */\n\nmodule.exports = function(grunt) {\n  \"use strict\";\n\n  // Force use of Unix newlines\n  grunt.util.linefeed = '\\n';\n\n  RegExp.quote = require('regexp-quote')\n  var btoa = require('btoa')\n  // Project configuration.\n  grunt.initConfig({\n\n    // Metadata.\n    pkg: grunt.file.readJSON('package.json'),\n    banner: '/*!\\n' +\n              ' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\\n' +\n              ' * Copyright <%= grunt.template.today(\"yyyy\") %> <%= pkg.author %>\\n' +\n              ' * Licensed under <%= _.pluck(pkg.licenses, \"url\").join(\", \") %>\\n' +\n              ' */\\n\\n',\n    jqueryCheck: 'if (typeof jQuery === \"undefined\") { throw new Error(\"Bootstrap requires jQuery\") }\\n\\n',\n\n    // Task configuration.\n    clean: {\n      dist: ['dist']\n    },\n\n    jshint: {\n      options: {\n        jshintrc: 'js/.jshintrc'\n      },\n      gruntfile: {\n        src: 'Gruntfile.js'\n      },\n      src: {\n        src: ['js/*.js']\n      },\n      test: {\n        src: ['js/tests/unit/*.js']\n      }\n    },\n\n    concat: {\n      options: {\n        banner: '<%= banner %><%= jqueryCheck %>',\n        stripBanners: false\n      },\n      bootstrap: {\n        src: [\n          'js/transition.js',\n          'js/alert.js',\n          'js/button.js',\n          'js/carousel.js',\n          'js/collapse.js',\n          'js/dropdown.js',\n          'js/modal.js',\n          'js/tooltip.js',\n          'js/popover.js',\n          'js/scrollspy.js',\n          'js/tab.js',\n          'js/affix.js'\n        ],\n        dest: 'dist/js/<%= pkg.name %>.js'\n      }\n    },\n\n    uglify: {\n      options: {\n        banner: '<%= banner %>',\n        report: 'min'\n      },\n      bootstrap: {\n        src: ['<%= concat.bootstrap.dest %>'],\n        dest: 'dist/js/<%= pkg.name %>.min.js'\n      }\n    },\n\n    recess: {\n      options: {\n        compile: true,\n        banner: '<%= banner %>'\n      },\n      bootstrap: {\n        src: ['less/bootstrap.less'],\n        dest: 'dist/css/<%= pkg.name %>.css'\n      },\n      min: {\n        options: {\n          compress: true\n        },\n        src: ['less/bootstrap.less'],\n        dest: 'dist/css/<%= pkg.name %>.min.css'\n      },\n      theme: {\n        src: ['less/theme.less'],\n        dest: 'dist/css/<%= pkg.name %>-theme.css'\n      },\n      theme_min: {\n        options: {\n          compress: true\n        },\n        src: ['less/theme.less'],\n        dest: 'dist/css/<%= pkg.name %>-theme.min.css'\n      }\n    },\n\n    copy: {\n      fonts: {\n        expand: true,\n        src: [\"fonts/*\"],\n        dest: 'dist/'\n      }\n    },\n\n    qunit: {\n      options: {\n        inject: 'js/tests/unit/phantom.js'\n      },\n      files: ['js/tests/*.html']\n    },\n\n    connect: {\n      server: {\n        options: {\n          port: 3000,\n          base: '.'\n        }\n      }\n    },\n\n    jekyll: {\n      docs: {}\n    },\n\n    validation: {\n      options: {\n        reset: true,\n        relaxerror: [\n          \"Bad value X-UA-Compatible for attribute http-equiv on element meta.\",\n          \"Element img is missing required attribute src.\"\n        ]\n      },\n      files: {\n        src: [\"_gh_pages/**/*.html\"]\n      }\n    },\n\n    watch: {\n      src: {\n        files: '<%= jshint.src.src %>',\n        tasks: ['jshint:src', 'qunit']\n      },\n      test: {\n        files: '<%= jshint.test.src %>',\n        tasks: ['jshint:test', 'qunit']\n      },\n      recess: {\n        files: 'less/*.less',\n        tasks: ['recess']\n      }\n    },\n\n    sed: {\n      versionNumber: {\n        pattern: (function () {\n          var old = grunt.option('oldver')\n          return old ? RegExp.quote(old) : old\n        })(),\n        replacement: grunt.option('newver'),\n        recursive: true\n      }\n    },\n\n    'saucelabs-qunit': {\n      all: {\n        options: {\n          build: process.env.TRAVIS_JOB_ID,\n          concurrency: 3,\n          urls: ['http://127.0.0.1:3000/js/tests/index.html'],\n          browsers: [\n            // See https://saucelabs.com/docs/platforms/webdriver\n            {\n              browserName: 'safari',\n              version: '6',\n              platform: 'OS X 10.8'\n            },\n            {\n              browserName: 'chrome',\n              version: '28',\n              platform: 'OS X 10.6'\n            },\n            /* FIXME: currently fails 1 tooltip test\n            {\n              browserName: 'firefox',\n              version: '25',\n              platform: 'OS X 10.6'\n            },*/\n            // Mac Opera not currently supported by Sauce Labs\n            /* FIXME: currently fails 1 tooltip test\n            {\n              browserName: 'internet explorer',\n              version: '11',\n              platform: 'Windows 8.1'\n            },*/\n            /*\n            {\n              browserName: 'internet explorer',\n              version: '10',\n              platform: 'Windows 8'\n            },\n            {\n              browserName: 'internet explorer',\n              version: '9',\n              platform: 'Windows 7'\n            },\n            {\n              browserName: 'internet explorer',\n              version: '8',\n              platform: 'Windows 7'\n            },\n            {// unofficial\n              browserName: 'internet explorer',\n              version: '7',\n              platform: 'Windows XP'\n            },\n            */\n            {\n              browserName: 'chrome',\n              version: '31',\n              platform: 'Windows 8.1'\n            },\n            {\n              browserName: 'firefox',\n              version: '25',\n              platform: 'Windows 8.1'\n            },\n            // Win Opera 15+ not currently supported by Sauce Labs\n            {\n              browserName: 'iphone',\n              version: '6.1',\n              platform: 'OS X 10.8'\n            },\n            // iOS Chrome not currently supported by Sauce Labs\n            // Linux (unofficial)\n            {\n              browserName: 'chrome',\n              version: '30',\n              platform: 'Linux'\n            },\n            {\n              browserName: 'firefox',\n              version: '25',\n              platform: 'Linux'\n            }\n            // Android Chrome not currently supported by Sauce Labs\n            /* Android Browser (super-unofficial)\n            {\n              browserName: 'android',\n              version: '4.0',\n              platform: 'Linux'\n            }\n            */\n          ],\n        }\n      }\n    }\n  });\n\n\n  // These plugins provide necessary tasks.\n  grunt.loadNpmTasks('grunt-contrib-clean');\n  grunt.loadNpmTasks('grunt-contrib-concat');\n  grunt.loadNpmTasks('grunt-contrib-connect');\n  grunt.loadNpmTasks('grunt-contrib-copy');\n  grunt.loadNpmTasks('grunt-contrib-jshint');\n  grunt.loadNpmTasks('grunt-contrib-qunit');\n  grunt.loadNpmTasks('grunt-contrib-uglify');\n  grunt.loadNpmTasks('grunt-contrib-watch');\n  grunt.loadNpmTasks('grunt-html-validation');\n  grunt.loadNpmTasks('grunt-jekyll');\n  grunt.loadNpmTasks('grunt-recess');\n  grunt.loadNpmTasks('grunt-saucelabs');\n  grunt.loadNpmTasks('grunt-sed');\n\n  // Docs HTML validation task\n  grunt.registerTask('validate-html', ['jekyll', 'validation']);\n\n  // Test task.\n  var testSubtasks = ['dist-css', 'jshint', 'qunit', 'validate-html'];\n  // Only run Sauce Labs tests if there's a Sauce access key\n  if (typeof process.env.SAUCE_ACCESS_KEY !== 'undefined') {\n    testSubtasks.push('connect');\n    testSubtasks.push('saucelabs-qunit');\n  }\n  grunt.registerTask('test', testSubtasks);\n\n  // JS distribution task.\n  grunt.registerTask('dist-js', ['concat', 'uglify']);\n\n  // CSS distribution task.\n  grunt.registerTask('dist-css', ['recess']);\n\n  // Fonts distribution task.\n  grunt.registerTask('dist-fonts', ['copy']);\n\n  // Full distribution task.\n  grunt.registerTask('dist', ['clean', 'dist-css', 'dist-fonts', 'dist-js']);\n\n  // Default task.\n  grunt.registerTask('default', ['test', 'dist', 'build-customizer']);\n\n  // Version numbering task.\n  // grunt change-version-number --oldver=A.B.C --newver=X.Y.Z\n  // This can be overzealous, so its changes should always be manually reviewed!\n  grunt.registerTask('change-version-number', ['sed']);\n\n  // task for building customizer\n  grunt.registerTask('build-customizer', 'Add scripts/less files to customizer.', function () {\n    var fs = require('fs')\n\n    function getFiles(type) {\n      var files = {}\n      fs.readdirSync(type)\n        .filter(function (path) {\n          return type == 'fonts' ? true : new RegExp('\\\\.' + type + '$').test(path)\n        })\n        .forEach(function (path) {\n          var fullPath = type + '/' + path\n          return files[path] = (type == 'fonts' ? btoa(fs.readFileSync(fullPath)) : fs.readFileSync(fullPath, 'utf8'))\n        })\n      return 'var __' + type + ' = ' + JSON.stringify(files) + '\\n'\n    }\n\n    var files = getFiles('js') + getFiles('less') + getFiles('fonts')\n    fs.writeFileSync('docs-assets/js/raw-files.js', files)\n  });\n};\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/LICENSE",
    "content": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/LICENSE-MIT",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2013 Twitter, Inc\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/README.md",
    "content": "# [Bootstrap](http://getbootstrap.com) [![Build Status](https://secure.travis-ci.org/twbs/bootstrap.png)](http://travis-ci.org/twbs/bootstrap) [![devDependency Status](https://david-dm.org/twbs/bootstrap/dev-status.png)](https://david-dm.org/twbs/bootstrap#info=devDependencies)\n[![Selenium Test Status](https://saucelabs.com/browser-matrix/bootstrap.svg)](https://saucelabs.com/u/bootstrap)\n\nBootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by [Mark Otto](http://twitter.com/mdo) and [Jacob Thornton](http://twitter.com/fat).\n\nTo get started, check out <http://getbootstrap.com>!\n\n\n\n## Quick start\n\nThree quick start options are available:\n\n* [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.0.3.zip).\n* Clone the repo: `git clone https://github.com/twbs/bootstrap.git`.\n* Install with [Bower](http://bower.io): `bower install bootstrap`.\n\nRead the [Getting Started page](http://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more.\n\n### What's included\n\nWithin the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:\n\n```\nbootstrap/\n├── css/\n│   ├── bootstrap.css\n│   ├── bootstrap.min.css\n│   ├── bootstrap-theme.css\n│   └── bootstrap-theme.min.css\n├── js/\n│   ├── bootstrap.js\n│   └── bootstrap.min.js\n└── fonts/\n    ├── glyphicons-halflings-regular.eot\n    ├── glyphicons-halflings-regular.svg\n    ├── glyphicons-halflings-regular.ttf\n    └── glyphicons-halflings-regular.woff\n```\n\nWe provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). Fonts from Glyphicons are included, as is the optional Bootstrap theme.\n\n\n\n## Bugs and feature requests\n\nHave a bug or a feature request? [Please open a new issue](https://github.com/twbs/bootstrap/issues). Before opening any issue, please search for existing issues and read the [Issue Guidelines](https://github.com/necolas/issue-guidelines), written by [Nicolas Gallagher](https://github.com/necolas/).\n\nYou may use [this JS Bin](http://jsbin.com/aKiCIDO/1/edit) as a template for your bug reports.\n\n\n\n## Documentation\n\nBootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com) and publicly hosted on GitHub Pages at <http://getbootstrap.com>. The docs may also be run locally.\n\n### Running documentation locally\n\n1. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) (requires v1.x).\n2. From the root `/bootstrap` directory, run `jekyll serve` in the command line.\n  - **Windows users:** run `chcp 65001` first to change the command prompt's character encoding ([code page](http://en.wikipedia.org/wiki/Windows_code_page)) to UTF-8 so Jekyll runs without errors.\n3. Open <http://localhost:9001> in your browser, and voilà.\n\nLearn more about using Jekyll by reading its [documentation](http://jekyllrb.com/docs/home/).\n\n### Documentation for previous releases\n\nDocumentation for v2.3.2 has been made available for the time being at <http://getbootstrap.com/2.3.2/> while folks transition to Bootstrap 3.\n\n[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download.\n\n\n\n## Compiling CSS and JavaScript\n\nBootstrap uses [Grunt](http://gruntjs.com/) with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed and then run some Grunt commands.\n\n### Install Grunt\n\nFrom the command line:\n\n1. Install `grunt-cli` globally with `npm install -g grunt-cli`.\n2. Navigate to the root `/bootstrap` directory, then run `npm install`. npm will look at [package.json](package.json) and automatically install the necessary local dependencies listed there.\n\nWhen completed, you'll be able to run the various Grunt commands provided from the command line.\n\n**Unfamiliar with `npm`? Don't have node installed?** That's a-okay. npm stands for [node packaged modules](http://npmjs.org/) and is a way to manage development dependencies through node.js. [Download and install node.js](http://nodejs.org/download/) before proceeding.\n\n### Available Grunt commands\n\n#### Build - `grunt`\nRun `grunt` to run tests locally and compile the CSS and JavaScript into `/dist`. **Uses [recess](http://twitter.github.io/recess/) and [UglifyJS](http://lisperator.net/uglifyjs/).**\n\n#### Only compile CSS and JavaScript - `grunt dist`\n`grunt dist` creates the `/dist` directory with compiled files. **Uses [recess](http://twitter.github.io/recess/) and [UglifyJS](http://lisperator.net/uglifyjs/).**\n\n#### Tests - `grunt test`\nRuns [JSHint](http://jshint.com) and [QUnit](http://qunitjs.com/) tests headlessly in [PhantomJS](http://phantomjs.org/) (used for CI).\n\n#### Watch - `grunt watch`\nThis is a convenience method for watching just Less files and automatically building them whenever you save.\n\n### Troubleshooting dependencies\n\nShould you encounter problems with installing dependencies or running Grunt commands, uninstall all previous dependency versions (global and local). Then, rerun `npm install`.\n\n\n\n## Contributing\n\nPlease read through our [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.\n\nMore over, if your pull request contains JavaScript patches or features, you must include relevant unit tests. All HTML and CSS should conform to the [Code Guide](http://github.com/mdo/code-guide), maintained by [Mark Otto](http://github.com/mdo).\n\nEditor preferences are available in the [editor config](.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>.\n\nWith v3.1, we're moving from the Apache 2 to the MIT license for the Bootstrap code (not the docs). Please see the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) for more information.\n\n\n## Community\n\nKeep track of development and community news.\n\n* Follow [@twbootstrap on Twitter](http://twitter.com/twbootstrap).\n* Read and subscribe to [The Official Bootstrap Blog](http://blog.getbootstrap.com).\n* Have a question that's not a feature request or bug report? [Ask on the mailing list.](http://groups.google.com/group/twitter-bootstrap)\n* Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##twitter-bootstrap` channel.\n\n\n\n\n## Versioning\n\nFor transparency and insight into our release cycle, and for striving to maintain backward compatibility, Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible.\n\nReleases will be numbered with the following format:\n\n`<major>.<minor>.<patch>`\n\nAnd constructed with the following guidelines:\n\n* Breaking backward compatibility bumps the major (and resets the minor and patch)\n* New additions without breaking backward compatibility bumps the minor (and resets the patch)\n* Bug fixes and misc changes bumps the patch\n\nFor more information on SemVer, please visit <http://semver.org/>.\n\n\n\n## Authors\n\n**Mark Otto**\n\n+ <http://twitter.com/mdo>\n+ <http://github.com/mdo>\n\n**Jacob Thornton**\n\n+ <http://twitter.com/fat>\n+ <http://github.com/fat>\n\n\n\n## Copyright and license\n\nCopyright 2013 Twitter, Inc under [the Apache 2.0 license](LICENSE).\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_config.yml",
    "content": "# Dependencies\nmarkdown:         rdiscount\npygments:         true\n\n# Permalinks\npermalink:        pretty\n\n# Server\ndestination:      ./_gh_pages\nexclude:          [\".editorconfig\", \".gitignore\", \"bower.json\", \"composer.json\", \"CONTRIBUTING.md\", \"CNAME\", \"LICENSE\", \"Gruntfile.js\", \"package.json\", \"node_modules\", \"README.md\", \"less\"]\nport:             9001\n\n# Custom vars\ncurrent_version:  3.0.3\nrepo:             https://github.com/twbs/bootstrap\n\ndownload_source:  https://github.com/twbs/bootstrap/archive/v3.0.3.zip\ndownload_dist:    https://github.com/twbs/bootstrap/releases/download/v3.0.3/bootstrap-3.0.3-dist.zip\n\nblog:             http://blog.getbootstrap.com\nexpo:             http://expo.getbootstrap.com\n\ncdn_css:          //netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css\ncdn_theme_css:    //netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css\ncdn_js:           //netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/ads.html",
    "content": "<div id=\"carbonads-container\"><div class=\"carbonad\"><div id=\"azcarbon\"></div><script>var z = document.createElement(\"script\"); z.async = true; z.src = \"http://engine.carbonads.com/z/32341/azcarbon_2_1_0_HORIZ\"; var s = document.getElementsByTagName(\"script\")[0]; s.parentNode.insertBefore(z, s);</script></div></div>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/footer.html",
    "content": "<!-- Bootstrap core JavaScript\n================================================== -->\n<!-- Placed at the end of the document so the pages load faster -->\n<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js\"></script>\n<script src=\"{{ page.base_url }}dist/js/bootstrap.js\"></script>\n\n<script src=\"{{ page.base_url }}docs-assets/js/holder.js\"></script>\n\n<script src=\"{{ page.base_url }}docs-assets/js/application.js\"></script>\n\n{% if page.slug == \"customize\" %}\n<script src=\"{{ page.base_url }}docs-assets/js/less.js\"></script>\n<script src=\"{{ page.base_url }}docs-assets/js/jszip.js\"></script>\n<script src=\"{{ page.base_url }}docs-assets/js/uglify.js\"></script>\n<script src=\"{{ page.base_url }}docs-assets/js/filesaver.js\"></script>\n<script src=\"{{ page.base_url }}docs-assets/js/raw-files.js\"></script>\n<script src=\"{{ page.base_url }}docs-assets/js/customizer.js\"></script>\n{% endif %}\n\n{% comment %}\n  Inject Twitter widgets asynchronously. Snippet snipped from Twitter's\n  JS interface site: https://dev.twitter.com/docs/tfw-javascript\n\n  * \"js.async=1;\" added to add async attribute to the generated script tag.\n{% endcomment %}\n<script>\n  window.twttr = (function (d,s,id) {\n    var t, js, fjs = d.getElementsByTagName(s)[0];\n    if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; js.async=1;\n    js.src=\"https://platform.twitter.com/widgets.js\"; fjs.parentNode.insertBefore(js, fjs);\n    return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });\n  }(document, \"script\", \"twitter-wjs\"));\n</script>\n\n<!-- Analytics\n================================================== -->\n<script>\n  var _gauges = _gauges || [];\n  (function() {\n    var t   = document.createElement('script');\n    t.async = true;\n    t.id    = 'gauges-tracker';\n    t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013');\n    t.src = '//secure.gaug.es/track.js';\n    var s = document.getElementsByTagName('script')[0];\n    s.parentNode.insertBefore(t, s);\n  })();\n</script>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/header.html",
    "content": "<meta charset=\"utf-8\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta name=\"description\" content=\"\">\n<meta name=\"author\" content=\"\">\n\n<title>\n  {% if page.title == \"Bootstrap\" %}\n    {{ page.title }}\n  {% else %}\n    {{ page.title }} &middot; Bootstrap\n  {% endif %}\n</title>\n\n<!-- Bootstrap core CSS -->\n<link href=\"{{ page.base_url }}dist/css/bootstrap.min.css\" rel=\"stylesheet\">\n\n<!-- Documentation extras -->\n<link href=\"{{ page.base_url }}docs-assets/css/docs.css\" rel=\"stylesheet\">\n<link href=\"{{ page.base_url }}docs-assets/css/pygments-manni.css\" rel=\"stylesheet\">\n<!--[if lt IE 9]><script src=\"{{ page.base_url }}docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n<!--[if lt IE 9]>\n  <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n  <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n<![endif]-->\n\n<!-- Favicons -->\n<link rel=\"apple-touch-icon-precomposed\" sizes=\"144x144\" href=\"{{ page.base_url }}docs-assets/ico/apple-touch-icon-144-precomposed.png\">\n                               <link rel=\"shortcut icon\" href=\"{{ page.base_url }}docs-assets/ico/favicon.png\">\n\n<script>\n  var _gaq = _gaq || [];\n  _gaq.push(['_setAccount', 'UA-146052-10']);\n  _gaq.push(['_trackPageview']);\n  (function() {\n    var ga = document.createElement('script'); ga.async = true;\n    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\n    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n  })();\n</script>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/nav-about.html",
    "content": "<li>\n  <a href=\"#history\">History</a>\n</li>\n<li>\n  <a href=\"#team\">Core team</a>\n</li>\n<li>\n  <a href=\"#community\">Community</a>\n</li>\n<li>\n  <a href=\"#translations\">Translations</a>\n</li>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/nav-components.html",
    "content": "<li>\n  <a href=\"#glyphicons\">Glyphicons</a>\n  <ul class=\"nav\">\n    <li><a href=\"#glyphicons-glyphs\">Available glyphs</a></li>\n    <li><a href=\"#glyphicons-how-to-use\">How to use</a></li>\n    <li><a href=\"#glyphicons-examples\">Examples</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#dropdowns\">Dropdowns</a>\n  <ul class=\"nav\">\n    <li><a href=\"#dropdowns-example\">Example</a></li>\n    <li><a href=\"#dropdowns-alignment\">Alignment options</a></li>\n    <li><a href=\"#dropdowns-headers\">Headers</a></li>\n    <li><a href=\"#dropdowns-disabled\">Disabled menu items</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#btn-groups\">Button groups</a>\n  <ul class=\"nav\">\n    <li><a href=\"#btn-groups-single\">Basic example</a></li>\n    <li><a href=\"#btn-groups-toolbar\">Button toolbar</a></li>\n    <li><a href=\"#btn-groups-sizing\">Sizing</a></li>\n    <li><a href=\"#btn-groups-nested\">Nesting</a></li>\n    <li><a href=\"#btn-groups-vertical\">Vertical variation</a></li>\n    <li><a href=\"#btn-groups-justified\">Justified link variation</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#btn-dropdowns\">Button dropdowns</a>\n  <ul class=\"nav\">\n    <li><a href=\"#btn-dropdowns-single\">Single button dropdowns</a></li>\n    <li><a href=\"#btn-dropdowns-split\">Split button dropdowns</a></li>\n    <li><a href=\"#btn-dropdowns-sizing\">Sizing</a></li>\n    <li><a href=\"#btn-dropdowns-dropup\">Dropup variation</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#input-groups\">Input groups</a>\n  <ul class=\"nav\">\n    <li><a href=\"#input-groups-basic\">Basic example</a></li>\n    <li><a href=\"#input-groups-sizing\">Sizing</a></li>\n    <li><a href=\"#input-groups-checkboxes-radios\">Checkbox and radios addons</a></li>\n    <li><a href=\"#input-groups-buttons\">Button addons</a></li>\n    <li><a href=\"#input-groups-buttons-dropdowns\">Buttons with dropdowns</a></li>\n    <li><a href=\"#input-groups-buttons-segmented\">Segmented buttons</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#nav\">Navs</a>\n  <ul class=\"nav\">\n    <li><a href=\"#nav-tabs\">Tabs</a></li>\n    <li><a href=\"#nav-pills\">Pills</a></li>\n    <li><a href=\"#nav-justified\">Justified nav</a></li>\n    <li><a href=\"#nav-disabled-links\">Disabled links</a></li>\n    <li><a href=\"#nav-dropdowns\">Using dropdowns</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#navbar\">Navbar</a>\n  <ul class=\"nav\">\n    <li><a href=\"#navbar-default\">Default navbar</a></li>\n    <li><a href=\"#navbar-forms\">Forms</a></li>\n    <li><a href=\"#navbar-buttons\">Buttons</a></li>\n    <li><a href=\"#navbar-text\">Text</a></li>\n    <li><a href=\"#navbar-links\">Non-nav links</a></li>\n    <li><a href=\"#navbar-component-alignment\">Component alignment</a></li>\n    <li><a href=\"#navbar-fixed-top\">Fixed to top</a></li>\n    <li><a href=\"#navbar-fixed-bottom\">Fixed to bottom</a></li>\n    <li><a href=\"#navbar-static-top\">Static top</a></li>\n    <li><a href=\"#navbar-inverted\">Inverted navbar</a></li>\n  </ul>\n</li>\n<li><a href=\"#breadcrumbs\">Breadcrumbs</a></li>\n<li>\n  <a href=\"#pagination\">Pagination</a>\n  <ul class=\"nav\">\n    <li><a href=\"#pagination-default\">Default pagination</a></li>\n    <li><a href=\"#pagination-pager\">Pager</a></li>\n  </ul>\n</li>\n<li><a href=\"#labels\">Labels</a></li>\n<li><a href=\"#badges\">Badges</a></li>\n<li><a href=\"#jumbotron\">Jumbotron</a></li>\n<li><a href=\"#page-header\">Page header</a></li>\n<li>\n  <a href=\"#thumbnails\">Thumbnails</a>\n  <ul class=\"nav\">\n    <li><a href=\"#thumbnails-default\">Default example</a></li>\n    <li><a href=\"#thumbnails-custom-content\">Custom content</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#alerts\">Alerts</a>\n  <ul class=\"nav\">\n    <li><a href=\"#alerts-examples\">Examples</a></li>\n    <li><a href=\"#alerts-dismissable\">Dismissable alerts</a></li>\n    <li><a href=\"#alerts-links\">Links in alerts</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#progress\">Progress bars</a>\n  <ul class=\"nav\">\n    <li><a href=\"#progress-basic\">Basic example</a></li>\n    <li><a href=\"#progress-alternatives\">Contextual alternatives</a></li>\n    <li><a href=\"#progress-striped\">Striped</a></li>\n    <li><a href=\"#progress-animated\">Animated</a></li>\n    <li><a href=\"#progress-stacked\">Stacked</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#media\">Media object</a>\n  <ul class=\"nav\">\n    <li><a href=\"#media-default\">Default media</a></li>\n    <li><a href=\"#media-list\">Media list</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#list-group\">List group</a>\n  <ul class=\"nav\">\n    <li><a href=\"#list-group-basic\">Basic example</a></li>\n    <li><a href=\"#list-group-badges\">Badges</a></li>\n    <li><a href=\"#list-group-linked\">Linked items</a></li>\n    <li><a href=\"#list-group-custom-content\">Custom content</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#panels\">Panels</a>\n  <ul class=\"nav\">\n    <li><a href=\"#panels-basic\">Basic example</a></li>\n    <li><a href=\"#panels-heading\">Panel with heading</a></li>\n    <li><a href=\"#panels-alternatives\">Contextual alternatives</a></li>\n    <li><a href=\"#panels-tables\">With tables</a>\n    <li><a href=\"#panels-list-group\">With list groups</a>\n  </ul>\n</li>\n<li><a href=\"#wells\">Wells</a></li>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/nav-css.html",
    "content": "<li>\n  <a href=\"#overview\">Overview</a>\n  <ul class=\"nav\">\n    <li><a href=\"#overview-doctype\">HTML5 doctype</a></li>\n    <li><a href=\"#overview-mobile\">Mobile first</a></li>\n    <li><a href=\"#overview-responsive-images\">Responsive images</a></li>\n    <li><a href=\"#overview-type-links\">Typography and links</a></li>\n    <li><a href=\"#overview-normalize\">Normalize</a></li>\n    <li><a href=\"#overview-container\">Containers</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#grid\">Grid system</a>\n  <ul class=\"nav\">\n    <li><a href=\"#grid-intro\">Introduction</a></li>\n    <li><a href=\"#grid-media-queries\">Media queries</a></li>\n    <li><a href=\"#grid-options\">Grid options</a></li>\n    <li><a href=\"#grid-example-basic\">Ex: Stacked-to-horizonal</a></li>\n    <li><a href=\"#grid-example-mixed\">Ex: Mobile and desktops</a></li>\n    <li><a href=\"#grid-example-mixed-complete\">Ex: Mobile, tablet, desktops</a></li>\n    <li><a href=\"#grid-responsive-resets\">Responsive column resets</a></li>\n    <li><a href=\"#grid-offsetting\">Offsetting columns</a></li>\n    <li><a href=\"#grid-nesting\">Nesting columns</a></li>\n    <li><a href=\"#grid-column-ordering\">Column ordering</a></li>\n    <li><a href=\"#grid-less\">LESS mixins and variables</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#type\">Typography</a>\n  <ul class=\"nav\">\n    <li><a href=\"#type-headings\">Headings</a></li>\n    <li><a href=\"#type-body-copy\">Body copy</a></li>\n    <li><a href=\"#type-emphasis\">Emphasis</a></li>\n    <li><a href=\"#type-abbreviations\">Abbreviations</a></li>\n    <li><a href=\"#type-addresses\">Addresses</a></li>\n    <li><a href=\"#type-blockquotes\">Blockquotes</a></li>\n    <li><a href=\"#type-lists\">Lists</a></li>\n  </ul>\n</li>\n<li><a href=\"#code\">Code</a></li>\n<li>\n  <a href=\"#tables\">Tables</a>\n  <ul class=\"nav\">\n    <li><a href=\"#tables-example\">Basic example</a></li>\n    <li><a href=\"#tables-striped\">Striped rows</a></li>\n    <li><a href=\"#tables-bordered\">Bordered table</a></li>\n    <li><a href=\"#tables-hover-rows\">Hover rows</a></li>\n    <li><a href=\"#tables-condensed\">Condensed table</a></li>\n    <li><a href=\"#tables-contextual-classes\">Contextual classes</a></li>\n    <li><a href=\"#tables-responsive\">Responsive tables</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#forms\">Forms</a>\n  <ul class=\"nav\">\n    <li><a href=\"#forms-example\">Basic example</a></li>\n    <li><a href=\"#forms-inline\">Inline form</a></li>\n    <li><a href=\"#forms-horizontal\">Horizontal form</a></li>\n    <li><a href=\"#forms-controls\">Supported controls</a></li>\n    <li><a href=\"#forms-controls-static\">Static control</a></li>\n    <li><a href=\"#forms-control-states\">Control states</a></li>\n    <li><a href=\"#forms-control-sizes\">Control sizing</a></li>\n    <li><a href=\"#forms-help-text\">Help text</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#buttons\">Buttons</a>\n  <ul class=\"nav\">\n    <li><a href=\"#buttons-options\">Options</a></li>\n    <li><a href=\"#buttons-sizes\">Sizes</a></li>\n    <li><a href=\"#buttons-active\">Active state</a></li>\n    <li><a href=\"#buttons-disabled\">Disabled state</a></li>\n    <li><a href=\"#buttons-tags\">Button tags</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#images\">Images</a>\n</li>\n<li>\n  <a href=\"#helper-classes\">Helper classes</a>\n  <ul class=\"nav\">\n    <li><a href=\"#helper-classes-close\">Close icon</a></li>\n    <li><a href=\"#helper-classes-carets\">Carets</a></li>\n    <li><a href=\"#helper-classes-floats\">Quick floats</a></li>\n    <li><a href=\"#helper-classes-center\">Center content blocks</a></li>\n    <li><a href=\"#helper-classes-clearfix\">Clearfix</a></li>\n    <li><a href=\"#helper-classes-show-hide\">Showing and hiding content</a></li>\n    <li><a href=\"#helper-classes-screen-readers\">Screen reader content</a></li>\n    <li><a href=\"#helper-classes-image-replacement\">Image replacement</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#responsive-utilities\">Responsive utilities</a>\n  <ul class=\"nav\">\n    <li><a href=\"#responsive-utilities-classes\">Available classes</a></li>\n    <li><a href=\"#responsive-utilities-print\">Print classes</a></li>\n    <li><a href=\"#responsive-utilities-tests\">Test cases</a></li>\n  </ul>\n</li>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/nav-customize.html",
    "content": "<li>\n  <a href=\"#less\">LESS components</a>\n</li>\n<li>\n  <a href=\"#plugins\">jQuery plugins</a>\n</li>\n<li>\n  <a href=\"#less-variables\">LESS variables</a>\n  <ul class=\"nav\">\n    <li><a href=\"#variables-basics\">Basics</a></li>\n    <li><a href=\"#variables-buttons\">Buttons</a></li>\n    <li><a href=\"#variables-form-states\">Form states</a></li>\n    <li><a href=\"#variables-alerts\">Alerts</a></li>\n    <li><a href=\"#variables-navbar\">Navbar</a></li>\n    <li><a href=\"#variables-nav\">Nav</a></li>\n    <li><a href=\"#variables-tables\">Tables</a></li>\n    <li><a href=\"#variables-forms\">Forms</a></li>\n    <li><a href=\"#variables-dropdowns\">Dropdowns</a></li>\n    <li><a href=\"#variables-panels-wells\">Panels and wells</a></li>\n    <li><a href=\"#variables-accordion\">Accordion</a></li>\n    <li><a href=\"#variables-badges\">Badges</a></li>\n    <li><a href=\"#variables-breadcrumbs\">Breadcrumbs</a></li>\n    <li><a href=\"#variables-jumbotron\">Jumbotron</a></li>\n    <li><a href=\"#variables-modals\">Modals</a></li>\n    <li><a href=\"#variables-carousel\">Carousel</a></li>\n    <li><a href=\"#variables-list-group\">List group</a></li>\n    <li><a href=\"#variables-thumbnails\">Thumbnails</a></li>\n    <li><a href=\"#variables-progress\">Progress bars</a></li>\n    <li><a href=\"#variables-pagination\">Pagination</a></li>\n    <li><a href=\"#variables-pager\">Pager</a></li>\n    <li><a href=\"#variables-labels\">Labels</a></li>\n    <li><a href=\"#variables-tooltips-popovers\">Tooltips and popovers</a></li>\n    <li><a href=\"#variables-close\">Close button</a></li>\n    <li><a href=\"#variables-type\">Type</a></li>\n    <li><a href=\"#variables-other\">Other</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#download\">Download</a>\n</li>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/nav-getting-started.html",
    "content": "<li>\n  <a href=\"#download\">Download Bootstrap</a>\n  <ul class=\"nav\">\n    <li><a href=\"#download-compiled\">Compiled CSS, JS, and fonts</a></li>\n    <li><a href=\"#download-additional\">Additional downloads</a></li>\n    <li><a href=\"#download-cdn\">Bootstrap CDN</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#whats-included\">What's included</a>\n  <ul class=\"nav\">\n    <li><a href=\"#whats-included-precompiled\">Precompiled</a></li>\n    <li><a href=\"#whats-included-source\">Source code</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#template\">Basic template</a>\n</li>\n<li>\n  <a href=\"#examples\">Examples</a>\n</li>\n<li>\n  <a href=\"#disable-responsive\">Disabling responsiveness</a>\n</li>\n<li>\n  <a href=\"#migration\">Migrating from 2.x to 3.0</a>\n  <ul class=\"nav\">\n    <li><a href=\"#migration-classes\">Major class changes</a></li>\n    <li><a href=\"#migration-new\">What's new</a></li>\n    <li><a href=\"#migration-dropped\">What's removed</a></li>\n    <li><a href=\"#migration-notes\">Additional notes</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#browsers\">Browser support</a>\n</li>\n<li>\n  <a href=\"#third-parties\">Third party support</a>\n</li>\n<li>\n  <a href=\"#accessibility\">Accessibility</a>\n</li>\n<li>\n  <a href=\"#license-faqs\">License FAQs</a>\n</li>\n<li>\n  <a href=\"#customizing\">Customizing Bootstrap</a>\n</li>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/nav-javascript.html",
    "content": "<li>\n  <a href=\"#js-overview\">Overview</a>\n  <ul class=\"nav\">\n    <li><a href=\"#js-individual-compiled\">Individual or compiled</a></li>\n    <li><a href=\"#js-data-attrs\">Data attributes</a></li>\n    <li><a href=\"#js-programmatic-api\">Programmatic API</a></li>\n    <li><a href=\"#js-noconflict\">No conflict</a></li>\n    <li><a href=\"#js-events\">Events</a></li>\n  </ul>\n</li>\n<li><a href=\"#transitions\">Transitions</a></li>\n<li>\n  <a href=\"#modals\">Modal</a>\n  <ul class=\"nav\">\n    <li><a href=\"#modals-examples\">Examples</a></li>\n    <li><a href=\"#modals-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#dropdowns\">Dropdown</a>\n  <ul class=\"nav\">\n    <li><a href=\"#dropdowns-examples\">Examples</a></li>\n    <li><a href=\"#dropdowns-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#scrollspy\">Scrollspy</a>\n  <ul class=\"nav\">\n    <li><a href=\"#scrollspy-examples\">Examples</a></li>\n    <li><a href=\"#scrollspy-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#tabs\">Tab</a>\n  <ul class=\"nav\">\n    <li><a href=\"#tabs-examples\">Examples</a></li>\n    <li><a href=\"#tabs-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#tooltips\">Tooltip</a>\n  <ul class=\"nav\">\n    <li><a href=\"#tooltips-examples\">Examples</a></li>\n    <li><a href=\"#tooltips-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#popovers\">Popover</a>\n  <ul class=\"nav\">\n    <li><a href=\"#popovers-examples\">Examples</a></li>\n    <li><a href=\"#popovers-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#alerts\">Alert</a>\n  <ul class=\"nav\">\n    <li><a href=\"#alerts-examples\">Examples</a></li>\n    <li><a href=\"#alerts-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#buttons\">Button</a>\n  <ul class=\"nav\">\n    <li><a href=\"#buttons-examples\">Examples</a></li>\n    <li><a href=\"#buttons-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#collapse\">Collapse</a>\n  <ul class=\"nav\">\n    <li><a href=\"#collapse-examples\">Examples</a></li>\n    <li><a href=\"#collapse-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#carousel\">Carousel</a>\n  <ul class=\"nav\">\n    <li><a href=\"#carousel-examples\">Examples</a></li>\n    <li><a href=\"#carousel-usage\">Usage</a></li>\n  </ul>\n</li>\n<li>\n  <a href=\"#affix\">Affix</a>\n  <ul class=\"nav\">\n    <li><a href=\"#affix-examples\">Examples</a></li>\n    <li><a href=\"#affix-usage\">Usage</a></li>\n  </ul>\n</li>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/nav-main.html",
    "content": "<header class=\"navbar navbar-inverse navbar-fixed-top bs-docs-nav\" role=\"banner\">\n  <div class=\"container\">\n    <div class=\"navbar-header\">\n      <button class=\"navbar-toggle\" type=\"button\" data-toggle=\"collapse\" data-target=\".bs-navbar-collapse\">\n        <span class=\"sr-only\">Toggle navigation</span>\n        <span class=\"icon-bar\"></span>\n        <span class=\"icon-bar\"></span>\n        <span class=\"icon-bar\"></span>\n      </button>\n      <a href=\"{{ page.base_url }}\" class=\"navbar-brand\">Bootstrap</a>\n    </div>\n    <nav class=\"collapse navbar-collapse bs-navbar-collapse\" role=\"navigation\">\n      <ul class=\"nav navbar-nav\">\n        <li{% if page.slug == \"getting-started\" %} class=\"active\"{% endif %}>\n          <a href=\"{{ page.base_url }}getting-started\">Getting started</a>\n        </li>\n        <li{% if page.slug == \"css\" %} class=\"active\"{% endif %}>\n          <a href=\"{{ page.base_url }}css\">CSS</a>\n        </li>\n        <li{% if page.slug == \"components\" %} class=\"active\"{% endif %}>\n          <a href=\"{{ page.base_url }}components\">Components</a>\n        </li>\n        <li{% if page.slug == \"js\" %} class=\"active\"{% endif %}>\n          <a href=\"{{ page.base_url }}javascript\">JavaScript</a>\n        </li>\n        <li{% if page.slug == \"customize\" %} class=\"active\"{% endif %}>\n          <a href=\"{{ page.base_url }}customize\">Customize</a>\n        </li>\n      </ul>\n      <ul class=\"nav navbar-nav navbar-right\">\n        <li{% if page.slug == \"about\" %} class=\"active\"{% endif %}>\n          <a href=\"{{ page.base_url }}about\">About</a>\n        </li>\n      </ul>\n    </nav>\n  </div>\n</header>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/old-bs-docs.html",
    "content": "<div class=\"bs-old-docs\">\n  <div class=\"container\">\n    <strong>\n      <a href=\"{{ page.base_url }}2.3.2/\">Looking for Bootstrap 2.3.2 docs?</a>\n    </strong>\n    We've moved it to a new home while we push forward with Bootstrap 3. <a href=\"http://blog.getbootstrap.com/\">Read the blog</a> for details.\n  </div>\n</div>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_includes/social-buttons.html",
    "content": "<div class=\"bs-social\">\n  <ul class=\"bs-social-buttons\">\n    <li>\n      <iframe class=\"github-btn\" src=\"http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=watch&amp;count=true\" width=\"100\" height=\"20\" title=\"Star on GitHub\"></iframe>\n    </li>\n    <li>\n      <iframe class=\"github-btn\" src=\"http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=fork&amp;count=true\" width=\"102\" height=\"20\" title=\"Fork on GitHub\"></iframe>\n    </li>\n    <li class=\"follow-btn\">\n      <a href=\"https://twitter.com/twbootstrap\" class=\"twitter-follow-button\" data-link-color=\"#0069D6\" data-show-count=\"true\">Follow @twbootstrap</a>\n    </li>\n    <li class=\"tweet-btn\">\n      <a href=\"https://twitter.com/share\" class=\"twitter-share-button\" data-url=\"http://getbootstrap.com/\" data-count=\"horizontal\" data-via=\"twbootstrap\" data-related=\"mdo:Creator of Twitter Bootstrap\">Tweet</a>\n    </li>\n  </ul>\n</div>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_layouts/default.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <!-- Meta, title, CSS, favicons, etc. -->\n    {% include header.html %}\n  </head>\n  <body>\n    <a class=\"sr-only\" href=\"#content\">Skip to main content</a>\n\n    <!-- Docs master nav -->\n    {% include nav-main.html %}\n\n    <!-- Docs page layout -->\n    <div class=\"bs-header\" id=\"content\">\n      <div class=\"container\">\n        <h1>{{ page.title }}</h1>\n        <p>{{ page.lead }}</p>\n        {% include ads.html %}\n      </div>\n    </div>\n\n    <!-- Callout for the old docs link -->\n    {% include old-bs-docs.html %}\n\n    <div class=\"container bs-docs-container\">\n      <div class=\"row\">\n        <div class=\"col-md-3\">\n          <div class=\"bs-sidebar hidden-print\" role=\"complementary\">\n            <ul class=\"nav bs-sidenav\">\n              {% if page.slug == \"getting-started\" %}\n                {% include nav-getting-started.html %}\n              {% elsif page.slug == \"css\" %}\n                {% include nav-css.html %}\n              {% elsif page.slug == \"components\" %}\n                {% include nav-components.html %}\n              {% elsif page.slug == \"js\" %}\n                {% include nav-javascript.html %}\n              {% elsif page.slug == \"customize\" %}\n                {% include nav-customize.html %}\n              {% elsif page.slug == \"about\" %}\n                {% include nav-about.html %}\n              {% endif %}\n            </ul>\n          </div>\n        </div>\n        <div class=\"col-md-9\" role=\"main\">\n          {{ content }}\n        </div>\n      </div>\n\n    </div>\n\n    <!-- Footer\n    ================================================== -->\n    <footer class=\"bs-footer\" role=\"contentinfo\">\n      <div class=\"container\">\n        {% include social-buttons.html %}\n\n        <p>Designed and built with all the love in the world by <a href=\"http://twitter.com/mdo\" target=\"_blank\">@mdo</a> and <a href=\"http://twitter.com/fat\" target=\"_blank\">@fat</a>.</p>\n        <p>Code licensed under <a href=\"http://www.apache.org/licenses/LICENSE-2.0\" target=\"_blank\">Apache License v2.0</a>, documentation under <a href=\"http://creativecommons.org/licenses/by/3.0/\">CC BY 3.0</a>.</p>\n        <ul class=\"footer-links\">\n          <li>Currently v{{ site.current_version }}</li>\n          <li class=\"muted\">&middot;</li>\n          <li><a href=\"{{ page.base_url }}2.3.2/\">Bootstrap 2.3.2 docs</a></li>\n          <li class=\"muted\">&middot;</li>\n          <li><a href=\"{{ site.blog }}\">Blog</a></li>\n          <li class=\"muted\">&middot;</li>\n          <li><a href=\"{{ site.repo }}/issues?state=open\">Issues</a></li>\n          <li class=\"muted\">&middot;</li>\n          <li><a href=\"{{ site.repo }}/releases\">Releases</a></li>\n        </ul>\n      </div>\n    </footer>\n\n    <!-- JS and analytics only. -->\n    {% include footer.html %}\n\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/_layouts/home.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <!-- Meta, title, CSS, favicons, etc. -->\n    {% include header.html %}\n  </head>\n  <body class=\"bs-docs-home\">\n    <a class=\"sr-only\" href=\"#content\">Skip to main content</a>\n\n    <!-- Docs master nav -->\n    {% include nav-main.html %}\n\n    <!-- Page content of course! -->\n    {{ content }}\n\n    <footer class=\"container\" role=\"contentinfo\">\n      {% include ads.html %}\n\n      {% include social-buttons.html %}\n\n      <ul class=\"bs-masthead-links\">\n        <li class=\"current-version\">\n          Currently v{{ site.current_version }}\n        </li>\n        <li>\n          <a href=\"{{ page.base_url }}2.3.2/\">Bootstrap 2.3.2 docs</a>\n        </li>\n        <li>\n          <a href=\"{{ site.repo }}\" onclick=\"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);\">GitHub project</a>\n        </li>\n        <li>\n          <a href=\"{{ page.base_url }}getting-started/#examples\" onclick=\"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);\">Examples</a>\n        </li>\n        <li>\n          <a href=\"{{ site.expo }}\" onclick=\"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);\">Expo</a>\n        </li>\n        <li>\n          <a href=\"{{ site.blog }}\" onclick=\"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Blog']);\">Blog</a>\n        </li>\n      </ul>\n    </footer>\n\n    <!-- JS and analytics only. -->\n    {% include footer.html %}\n\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/about.html",
    "content": "---\nlayout: default\ntitle: About\nslug: about\nlead: \"Learn about the history of Bootstrap, meet the core team, and check out the ever-growing community resources.\"\nbase_url: \"../\"\n---\n\n\n<!-- History\n================================================== -->\n<div class=\"bs-docs-section\">\n  <div class=\"page-header\">\n    <h1 id=\"history\">History</h1>\n  </div>\n  <p class=\"lead\">Originally created by a designer and a developer at Twitter, Bootstrap has become one of the most popular front-end frameworks and open source projects in the world.</p>\n  <p>Bootstrap was created at Twitter in mid-2010 by <a href=\"https://twitter.com/mdo\">@mdo</a> and <a href=\"https://twitter.com/fat\">@fat</a>. Prior to being an open-sourced framework, Bootstrap was known as <em>Twitter Blueprint</em>. A few months into development, Twitter held its <a href=\"https://blog.twitter.com/2010/hack-week\">first Hack Week</a> and the project exploded as developers of all skill levels jumped in without any external guidance. It served as the style guide for internal tools development at the company for over a year before its public release, and continues to do so today.</p>\n  <p>Originally <a href=\"https://dev.twitter.com/blog/bootstrap-twitter\">released</a> on <a href=\"https://twitter.com/mdo/statuses/104620039650557952\"><time datetime=\"2011-08-19 11:25\">Friday, August 19, 2011</time></a>, we've since had over <a href=\"https://github.com/twbs/bootstrap/releases\">twenty releases</a>, including two major rewrites with v2 and v3. With Bootstrap 2, we added responsive functionality to the entire framework as an optional stylesheet. Building on that with Bootstrap 3, we rewrote the library once more to make it responsive by default with a mobile first approach.</p>\n</div>\n\n\n<!-- Team\n================================================== -->\n<div class=\"bs-docs-section\">\n  <div class=\"page-header\">\n    <h1 id=\"team\">Core team</h1>\n  </div>\n  <p class=\"lead\">Bootstrap is maintained by the founding team and a small group of invaluable core contributors, with the massive support and involvement of our community.</p>\n  <div class=\"list-group bs-team\">\n    <div class=\"list-group-item\">\n      <iframe class=\"github-btn\" src=\"http://ghbtns.com/github-btn.html?user=mdo&amp;type=follow\"></iframe>\n      <a class=\"team-member\" href=\"https://github.com/mdo\">\n        <img src=\"http://www.gravatar.com/avatar/bc4ab438f7a4ce1c406aadc688427f2c\" alt=\"@mdo\">\n        <strong>Mark Otto</strong> <small>@mdo</small>\n      </a>\n    </div>\n    <div class=\"list-group-item\">\n      <iframe class=\"github-btn\" src=\"http://ghbtns.com/github-btn.html?user=fat&amp;type=follow\"></iframe>\n      <a class=\"team-member\" href=\"https://github.com/fat\">\n        <img src=\"http://www.gravatar.com/avatar/a98244cbdacaf1c0b55499466002f7a8\" alt=\"@fat\">\n        <strong>Jacob Thornton</strong> <small>@fat</small>\n      </a>\n    </div>\n    <div class=\"list-group-item\">\n      <iframe class=\"github-btn\" src=\"http://ghbtns.com/github-btn.html?user=cvrebert&amp;type=follow\"></iframe>\n      <a class=\"team-member\" href=\"https://github.com/cvrebert\">\n        <img src=\"http://www.gravatar.com/avatar/edec428c425453955f770095a7d26c50\" alt=\"@cvrebert\">\n        <strong>Chris Rebert</strong> <small>@cvrebert</small>\n      </a>\n    </div>\n    <div class=\"list-group-item\">\n      <iframe class=\"github-btn\" src=\"http://ghbtns.com/github-btn.html?user=juthilo&amp;type=follow\"></iframe>\n      <a class=\"team-member\" href=\"https://github.com/juthilo\">\n        <img src=\"http://www.gravatar.com/avatar/0f7dd3ce58a416be5685ea6194f82b11\" alt=\"@juthilo\">\n        <strong>Julian Thilo</strong> <small>@juthilo</small>\n      </a>\n    </div>\n  </div>\n  <p>Get involved with Bootstrap development by <a href=\"https://github.com/twbs/bootstrap/issues/new\">opening an issue</a> or submitting a pull request. Read our <a href=\"https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md\">contributing guidelines</a> for information on how we develop.</p>\n</div>\n\n\n<!-- Community\n================================================== -->\n<div class=\"bs-docs-section\">\n  <div class=\"page-header\">\n    <h1 id=\"community\">Community</h1>\n  </div>\n  <p class=\"lead\">Stay up to date on the development of Bootstrap and reach out to the community with these helpful resources.</p>\n  <ul>\n    <li>Read and subscribe to <a href=\"http://blog.getbootstrap.com/\">The Official Bootstrap Blog</a>.</li>\n    <li>Have a question that's not a feature request or bug report? <a href=\"http://groups.google.com/group/twitter-bootstrap\">Ask on the mailing list.</a></li>\n    <li>Chat with fellow Bootstrappers using IRC in the <code>irc.freenode.net</code> server, in the <a href=\"irc://irc.freenode.net/#twitter-bootstrap\">##twitter-bootstrap channel</a>.</li>\n    <li>Find inspiring examples of people building with Bootstrap at the <a href=\"http://expo.getbootstrap.com\">Bootstrap Expo</a>.</li>\n  </ul>\n  <p>You can also follow <a href=\"https://twitter.com/twbootstrap\">@twbootstrap on Twitter</a> for the latest gossip and awesome music videos.</p>\n</div>\n\n\n<!-- Translations\n================================================== -->\n<div class=\"bs-docs-section\">\n  <div class=\"page-header\">\n    <h1 id=\"translations\">Translations</h1>\n  </div>\n  <p class=\"lead\">Community members have translated Bootstrap's documentation into various langauges. None are officially supported and may not always be up to date.</p>\n  <ul>\n    <li><a href=\"http://v3.bootcss.com/\">Bootstrap 中文文档 (Chinese)</a></li>\n    <li><a href=\"http://www.oneskyapp.com/docs/bootstrap/ru\">Bootstrap по-русски (Russian)</a></li>\n    <li><a href=\"http://www.oneskyapp.com/docs/bootstrap/es\">Bootstrap en Español (Spanish)</a></li>\n    <li><a href=\"http://twbs.site-konstruktor.com.ua\">Bootstrap ua Українською (Ukrainian)</a></li>\n  </ul>\n  <p>Have another language to add, or perhaps a different or better translation? Let us know by <a href=\"https://github.com/twbs/bootstrap/issues/new\">opening an issue</a>.</p>\n</div>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/bower.json",
    "content": "{\n  \"name\": \"bootstrap\",\n  \"version\": \"3.0.3\",\n  \"main\": [\n    \"./dist/js/bootstrap.js\", \n    \"./dist/css/bootstrap.css\", \n    \"./dist/fonts/glyphicons-halflings-regular.eot\",\n    \"./dist/fonts/glyphicons-halflings-regular.svg\",\n    \"./dist/fonts/glyphicons-halflings-regular.ttf\",\n    \"./dist/fonts/glyphicons-halflings-regular.woff\"\n  ],\n  \"ignore\": [\n    \"**/.*\",\n    \"_*\",\n    \"docs-assets\",\n    \"examples\",\n    \"/fonts\",\n    \"js/tests\",\n    \"CNAME\",\n    \"CONTRIBUTING.md\",\n    \"Gruntfile.js\",\n    \"browserstack.json\",\n    \"composer.json\",\n    \"package.json\",\n    \"*.html\"\n  ],\n  \"dependencies\": {\n    \"jquery\": \">= 1.9.0\"\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/components.html",
    "content": "---\nlayout: default\ntitle: Components\nslug: components\nlead: \"Over a dozen reusable components built to provide iconography, dropdowns, navigation, alerts, popovers, and much more.\"\nbase_url: \"../\"\n---\n\n\n  <!-- Glyphicons\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"glyphicons\">Glyphicons</h1>\n    </div>\n\n    <h2 id=\"glyphicons-glyphs\">Available glyphs</h2>\n    <p>Includes 200 glyphs in font format from the Glyphicon Halflings set. <a href=\"http://glyphicons.com/\">Glyphicons</a> Halflings are normally not available for free, but their creator has made them available for Bootstrap free of cost. As a thank you, we only ask that you to include a link back to <a href=\"http://glyphicons.com/\">Glyphicons</a> whenever possible.</p>\n    <ul class=\"bs-glyphicons\">\n      <li>\n        <span class=\"glyphicon glyphicon-adjust\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-adjust</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-align-center\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-align-center</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-align-justify\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-align-justify</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-align-left\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-align-left</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-align-right\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-align-right</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-arrow-down\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-arrow-down</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-arrow-left\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-arrow-left</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-arrow-right\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-arrow-right</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-arrow-up\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-arrow-up</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-asterisk\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-asterisk</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-backward\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-backward</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-ban-circle\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-ban-circle</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-barcode\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-barcode</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-bell\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-bell</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-bold\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-bold</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-book\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-book</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-bookmark\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-bookmark</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-briefcase\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-briefcase</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-bullhorn\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-bullhorn</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-calendar\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-calendar</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-camera\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-camera</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-certificate\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-certificate</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-check\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-check</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-chevron-down\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-chevron-down</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-chevron-left\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-chevron-left</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-chevron-right\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-chevron-right</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-chevron-up\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-chevron-up</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-circle-arrow-down\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-circle-arrow-down</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-circle-arrow-left\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-circle-arrow-left</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-circle-arrow-right\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-circle-arrow-right</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-circle-arrow-up\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-circle-arrow-up</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-cloud\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-cloud</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-cloud-download\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-cloud-download</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-cloud-upload\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-cloud-upload</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-cog\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-cog</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-collapse-down\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-collapse-down</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-collapse-up\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-collapse-up</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-comment\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-comment</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-compressed\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-compressed</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-copyright-mark\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-copyright-mark</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-credit-card\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-credit-card</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-cutlery\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-cutlery</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-dashboard\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-dashboard</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-download\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-download</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-download-alt\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-download-alt</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-earphone\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-earphone</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-edit\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-edit</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-eject\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-eject</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-envelope\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-envelope</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-euro\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-euro</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-exclamation-sign\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-exclamation-sign</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-expand\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-expand</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-export\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-export</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-eye-close\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-eye-close</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-eye-open\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-eye-open</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-facetime-video\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-facetime-video</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-fast-backward\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-fast-backward</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-fast-forward\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-fast-forward</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-file\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-file</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-film\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-film</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-filter\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-filter</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-fire\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-fire</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-flag\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-flag</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-flash\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-flash</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-floppy-disk\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-floppy-disk</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-floppy-open\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-floppy-open</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-floppy-remove\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-floppy-remove</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-floppy-save\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-floppy-save</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-floppy-saved\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-floppy-saved</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-folder-close\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-folder-close</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-folder-open\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-folder-open</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-font\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-font</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-forward\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-forward</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-fullscreen\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-fullscreen</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-gbp\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-gbp</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-gift\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-gift</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-glass\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-glass</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-globe\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-globe</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-hand-down\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-hand-down</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-hand-left\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-hand-left</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-hand-right\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-hand-right</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-hand-up\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-hand-up</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-hd-video\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-hd-video</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-hdd\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-hdd</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-header\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-header</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-headphones\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-headphones</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-heart\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-heart</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-heart-empty\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-heart-empty</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-home\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-home</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-import\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-import</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-inbox\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-inbox</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-indent-left\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-indent-left</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-indent-right\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-indent-right</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-info-sign\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-info-sign</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-italic\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-italic</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-leaf\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-leaf</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-link\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-link</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-list\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-list</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-list-alt\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-list-alt</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-lock\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-lock</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-log-in\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-log-in</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-log-out\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-log-out</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-magnet\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-magnet</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-map-marker\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-map-marker</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-minus\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-minus</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-minus-sign\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-minus-sign</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-move\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-move</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-music\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-music</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-new-window\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-new-window</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-off\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-off</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-ok\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-ok</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-ok-circle\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-ok-circle</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-ok-sign\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-ok-sign</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-open\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-open</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-paperclip\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-paperclip</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-pause\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-pause</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-pencil\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-pencil</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-phone\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-phone</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-phone-alt\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-phone-alt</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-picture\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-picture</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-plane\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-plane</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-play\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-play</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-play-circle\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-play-circle</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-plus\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-plus</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-plus-sign\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-plus-sign</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-print\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-print</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-pushpin\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-pushpin</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-qrcode\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-qrcode</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-question-sign\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-question-sign</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-random\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-random</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-record\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-record</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-refresh\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-refresh</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-registration-mark\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-registration-mark</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-remove\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-remove</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-remove-circle\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-remove-circle</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-remove-sign\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-remove-sign</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-repeat\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-repeat</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-resize-full\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-resize-full</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-resize-horizontal\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-resize-horizontal</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-resize-small\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-resize-small</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-resize-vertical\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-resize-vertical</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-retweet\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-retweet</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-road\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-road</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-save\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-save</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-saved\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-saved</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-screenshot\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-screenshot</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sd-video\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sd-video</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-search\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-search</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-send\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-send</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-share\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-share</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-share-alt\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-share-alt</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-shopping-cart\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-shopping-cart</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-signal\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-signal</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sort\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sort</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sort-by-alphabet\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sort-by-alphabet</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sort-by-alphabet-alt\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sort-by-alphabet-alt</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sort-by-attributes\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sort-by-attributes</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sort-by-attributes-alt\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sort-by-attributes-alt</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sort-by-order\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sort-by-order</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sort-by-order-alt\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sort-by-order-alt</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sound-5-1\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sound-5-1</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sound-6-1\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sound-6-1</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sound-7-1\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sound-7-1</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sound-dolby\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sound-dolby</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-sound-stereo\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-sound-stereo</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-star\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-star</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-star-empty\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-star-empty</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-stats\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-stats</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-step-backward\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-step-backward</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-step-forward\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-step-forward</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-stop\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-stop</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-subtitles\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-subtitles</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-tag\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-tag</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-tags\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-tags</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-tasks\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-tasks</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-text-height\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-text-height</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-text-width\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-text-width</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-th\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-th</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-th-large\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-th-large</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-th-list\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-th-list</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-thumbs-down\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-thumbs-down</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-thumbs-up\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-thumbs-up</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-time\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-time</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-tint\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-tint</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-tower\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-tower</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-transfer\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-transfer</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-trash\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-trash</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-tree-conifer\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-tree-conifer</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-tree-deciduous\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-tree-deciduous</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-unchecked\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-unchecked</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-upload\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-upload</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-usd\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-usd</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-user\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-user</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-volume-down\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-volume-down</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-volume-off\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-volume-off</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-volume-up\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-volume-up</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-warning-sign\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-warning-sign</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-wrench\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-wrench</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-zoom-in\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-zoom-in</span>\n      </li>\n      <li>\n        <span class=\"glyphicon glyphicon-zoom-out\"></span>\n        <span class=\"glyphicon-class\">glyphicon glyphicon-zoom-out</span>\n      </li>\n    </ul>\n\n\n    <h2 id=\"glyphicons-how-to-use\">How to use</h2>\n    <p>For performance reasons, all icons require a base class and individual icon class. To use, place the following code just about anywhere. Be sure to leave a space between the icon and text for proper padding.</p>\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Don't mix with other components</h4>\n      <p>Icon classes cannot be combined with other elements. They are designed to be standalone elements.</p>\n    </div>\n{% highlight html %}\n<span class=\"glyphicon glyphicon-search\"></span>\n{% endhighlight %}\n\n\n    <h2 id=\"glyphicons-examples\">Examples</h2>\n    <p>Use them in buttons, button groups for a toolbar, navigation, or prepended form inputs.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group\">\n          <button type=\"button\" class=\"btn btn-default\"><span class=\"glyphicon glyphicon-align-left\"></span></button>\n          <button type=\"button\" class=\"btn btn-default\"><span class=\"glyphicon glyphicon-align-center\"></span></button>\n          <button type=\"button\" class=\"btn btn-default\"><span class=\"glyphicon glyphicon-align-right\"></span></button>\n          <button type=\"button\" class=\"btn btn-default\"><span class=\"glyphicon glyphicon-align-justify\"></span></button>\n        </div>\n      </div>\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <button type=\"button\" class=\"btn btn-default btn-lg\"><span class=\"glyphicon glyphicon-star\"></span> Star</button>\n        <button type=\"button\" class=\"btn btn-default\"><span class=\"glyphicon glyphicon-star\"></span> Star</button>\n        <button type=\"button\" class=\"btn btn-default btn-sm\"><span class=\"glyphicon glyphicon-star\"></span> Star</button>\n        <button type=\"button\" class=\"btn btn-default btn-xs\"><span class=\"glyphicon glyphicon-star\"></span> Star</button>\n      </div>\n    </div>\n{% highlight html %}\n<button type=\"button\" class=\"btn btn-default btn-lg\">\n  <span class=\"glyphicon glyphicon-star\"></span> Star\n</button>\n{% endhighlight %}\n\n  </div>\n\n\n  <!-- Dropdowns\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"dropdowns\">Dropdowns</h1>\n    </div>\n    <p class=\"lead\">Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href=\"../javascript/#dropdowns\">dropdown JavaScript plugin</a>.</p>\n\n    <h3 id=\"dropdowns-example\">Example</h3>\n    <p>Wrap the dropdown's trigger and the dropdown menu within <code>.dropdown</code>, or another element that declares <code>position: relative;</code>. Then add the menu's HTML.</p>\n    <div class=\"bs-example\">\n      <div class=\"dropdown clearfix\">\n        <button class=\"btn dropdown-toggle sr-only\" type=\"button\" id=\"dropdownMenu1\" data-toggle=\"dropdown\">\n          Dropdown\n          <span class=\"caret\"></span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dropdownMenu1\">\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Action</a></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Another action</a></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Something else here</a></li>\n          <li role=\"presentation\" class=\"divider\"></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Separated link</a></li>\n        </ul>\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<div class=\"dropdown\">\n  <button class=\"btn dropdown-toggle sr-only\" type=\"button\" id=\"dropdownMenu1\" data-toggle=\"dropdown\">\n    Dropdown\n    <span class=\"caret\"></span>\n  </button>\n  <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dropdownMenu1\">\n    <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Action</a></li>\n    <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Another action</a></li>\n    <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Something else here</a></li>\n    <li role=\"presentation\" class=\"divider\"></li>\n    <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Separated link</a></li>\n  </ul>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"dropdowns-alignment\">Alignment options</h3>\n    <p>Add <code>.pull-right</code> to a <code>.dropdown-menu</code> to right align the dropdown menu.</p>\n{% highlight html %}\n<ul class=\"dropdown-menu pull-right\" role=\"menu\" aria-labelledby=\"dLabel\">\n  ...\n</ul>\n{% endhighlight %}\n\n    <h3 id=\"dropdowns-headers\">Headers</h3>\n    <p>Add a header to label sections of actions in any dropdown menu.</p>\n    <div class=\"bs-example\">\n      <div class=\"dropdown clearfix\">\n        <button class=\"btn dropdown-toggle sr-only\" type=\"button\" id=\"dropdownMenu2\" data-toggle=\"dropdown\">\n          Dropdown\n          <span class=\"caret\"></span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dropdownMenu2\">\n          <li role=\"presentation\" class=\"dropdown-header\">Dropdown header</li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Action</a></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Another action</a></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Something else here</a></li>\n          <li role=\"presentation\" class=\"divider\"></li>\n          <li role=\"presentation\" class=\"dropdown-header\">Dropdown header</li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Separated link</a></li>\n        </ul>\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dropdownMenu2\">\n  <li role=\"presentation\" class=\"dropdown-header\">Dropdown header</li>\n  ...\n  <li role=\"presentation\" class=\"divider\"></li>\n  <li role=\"presentation\" class=\"dropdown-header\">Dropdown header</li>\n  ...\n</ul>\n{% endhighlight %}\n\n    <h3 id=\"dropdowns-disabled\">Disabled menu items</h3>\n    <p>Add <code>.disabled</code> to a <code>&lt;li&gt;</code> in the dropdown to disable the link.</p>\n    <div class=\"bs-example\">\n      <div class=\"dropdown clearfix\">\n        <button class=\"btn dropdown-toggle sr-only\" type=\"button\" id=\"dropdownMenu3\" data-toggle=\"dropdown\">\n          Dropdown\n          <span class=\"caret\"></span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dropdownMenu3\">\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Regular link</a></li>\n          <li role=\"presentation\" class=\"disabled\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Disabled link</a></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Another link</a></li>\n        </ul>\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dropdownMenu3\">\n  <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Regular link</a></li>\n  <li role=\"presentation\" class=\"disabled\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Disabled link</a></li>\n  <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Another link</a></li>\n</ul>\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Button Groups\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"btn-groups\">Button groups</h1>\n    </div>\n    <p class=\"lead\">Group a series of buttons together on a single line with the button group. Add on optional JavaScript radio and checkbox style behavior with <a href=\"../javascript/#buttons\">our buttons plugin</a>.</p>\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Tooltips &amp; popovers in button groups require special setting</h4>\n      <p>When using tooltips or popovers on elements within a <code>.btn-group</code>, you'll have to specify the option <code>container: 'body'</code> to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).</p>\n    </div>\n\n    <h3 id=\"btn-groups-single\">Basic example</h3>\n    <p>Wrap a series of buttons with <code>.btn</code> in <code>.btn-group</code>.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-group\" style=\"margin: 9px 0 5px;\">\n        <button type=\"button\" class=\"btn btn-default\">Left</button>\n        <button type=\"button\" class=\"btn btn-default\">Middle</button>\n        <button type=\"button\" class=\"btn btn-default\">Right</button>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"btn-group\">\n  <button type=\"button\" class=\"btn btn-default\">Left</button>\n  <button type=\"button\" class=\"btn btn-default\">Middle</button>\n  <button type=\"button\" class=\"btn btn-default\">Right</button>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"btn-groups-toolbar\">Button toolbar</h3>\n    <p>Combine sets of <code>&lt;div class=\"btn-group\"&gt;</code> into a <code>&lt;div class=\"btn-toolbar\"&gt;</code> for more complex components.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-toolbar\" role=\"toolbar\" style=\"margin: 0;\">\n        <div class=\"btn-group\">\n          <button type=\"button\" class=\"btn btn-default\">1</button>\n          <button type=\"button\" class=\"btn btn-default\">2</button>\n          <button type=\"button\" class=\"btn btn-default\">3</button>\n          <button type=\"button\" class=\"btn btn-default\">4</button>\n        </div>\n        <div class=\"btn-group\">\n          <button type=\"button\" class=\"btn btn-default\">5</button>\n          <button type=\"button\" class=\"btn btn-default\">6</button>\n          <button type=\"button\" class=\"btn btn-default\">7</button>\n        </div>\n        <div class=\"btn-group\">\n          <button type=\"button\" class=\"btn btn-default\">8</button>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"btn-toolbar\" role=\"toolbar\">\n  <div class=\"btn-group\">...</div>\n  <div class=\"btn-group\">...</div>\n  <div class=\"btn-group\">...</div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"btn-groups-sizing\">Sizing</h3>\n    <p>Instead of applying button sizing classes to every button in a group, just add <code>.btn-group-*</code> to the <code>.btn-group</code>.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group btn-group-lg\">\n          <button type=\"button\" class=\"btn btn-default\">Left</button>\n          <button type=\"button\" class=\"btn btn-default\">Middle</button>\n          <button type=\"button\" class=\"btn btn-default\">Right</button>\n        </div>\n      </div>\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group\">\n          <button type=\"button\" class=\"btn btn-default\">Left</button>\n          <button type=\"button\" class=\"btn btn-default\">Middle</button>\n          <button type=\"button\" class=\"btn btn-default\">Right</button>\n        </div>\n      </div>\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group btn-group-sm\">\n          <button type=\"button\" class=\"btn btn-default\">Left</button>\n          <button type=\"button\" class=\"btn btn-default\">Middle</button>\n          <button type=\"button\" class=\"btn btn-default\">Right</button>\n        </div>\n      </div>\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group btn-group-xs\">\n          <button type=\"button\" class=\"btn btn-default\">Left</button>\n          <button type=\"button\" class=\"btn btn-default\">Middle</button>\n          <button type=\"button\" class=\"btn btn-default\">Right</button>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"btn-group btn-group-lg\">...</div>\n<div class=\"btn-group\">...</div>\n<div class=\"btn-group btn-group-sm\">...</div>\n<div class=\"btn-group btn-group-xs\">...</div>\n{% endhighlight %}\n\n    <h3 id=\"btn-groups-nested\">Nesting</h3>\n    <p>Place a <code>.btn-group</code> within another <code>.btn-group</code> when you want dropdown menus mixed with a series of buttons.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-default\">1</button>\n        <button type=\"button\" class=\"btn btn-default\">2</button>\n\n        <div class=\"btn-group\">\n          <button id=\"btnGroupDrop1\" type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n            Dropdown\n            <span class=\"caret\"></span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"btnGroupDrop1\">\n            <li><a href=\"#\">Dropdown link</a></li>\n            <li><a href=\"#\">Dropdown link</a></li>\n          </ul>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"btn-group\">\n  <button type=\"button\" class=\"btn btn-default\">1</button>\n  <button type=\"button\" class=\"btn btn-default\">2</button>\n\n  <div class=\"btn-group\">\n    <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n      Dropdown\n      <span class=\"caret\"></span>\n    </button>\n    <ul class=\"dropdown-menu\">\n      <li><a href=\"#\">Dropdown link</a></li>\n      <li><a href=\"#\">Dropdown link</a></li>\n    </ul>\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"btn-groups-vertical\">Vertical variation</h3>\n    <p>Make a set of buttons appear vertically stacked rather than horizontally.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-group-vertical\">\n        <button type=\"button\" class=\"btn btn-default\">Button</button>\n        <button type=\"button\" class=\"btn btn-default\">Button</button>\n        <div class=\"btn-group\">\n          <button id=\"btnGroupVerticalDrop1\" type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n            Dropdown\n            <span class=\"caret\"></span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"btnGroupVerticalDrop1\">\n            <li><a href=\"#\">Dropdown link</a></li>\n            <li><a href=\"#\">Dropdown link</a></li>\n          </ul>\n        </div>\n        <button type=\"button\" class=\"btn btn-default\">Button</button>\n        <button type=\"button\" class=\"btn btn-default\">Button</button>\n        <div class=\"btn-group\">\n          <button id=\"btnGroupVerticalDrop2\" type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n            Dropdown\n            <span class=\"caret\"></span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"btnGroupVerticalDrop2\">\n            <li><a href=\"#\">Dropdown link</a></li>\n            <li><a href=\"#\">Dropdown link</a></li>\n          </ul>\n        </div>\n        <div class=\"btn-group\">\n          <button id=\"btnGroupVerticalDrop3\" type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n            Dropdown\n            <span class=\"caret\"></span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"btnGroupVerticalDrop3\">\n            <li><a href=\"#\">Dropdown link</a></li>\n            <li><a href=\"#\">Dropdown link</a></li>\n          </ul>\n        </div>\n        <div class=\"btn-group\">\n          <button id=\"btnGroupVerticalDrop4\" type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n            Dropdown\n            <span class=\"caret\"></span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"btnGroupVerticalDrop4\">\n            <li><a href=\"#\">Dropdown link</a></li>\n            <li><a href=\"#\">Dropdown link</a></li>\n          </ul>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"btn-group-vertical\">\n  ...\n</div>\n{% endhighlight %}\n\n    <h3 id=\"btn-groups-justified\">Justified link variation</h3>\n    <p>Make a group of buttons stretch at the same size to span the entire width of its parent. Also works with button dropdowns within the button group.</p>\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Element-specific usage</h4>\n      <p>This only works with <code>&lt;a&gt;</code> elements as the <code>&lt;button&gt;</code> doesn't pick up the styles we use to justify content (some <code>display: table-cell;</code>-fu).</p>\n    </div>\n\n    <div class=\"bs-example\">\n      <div class=\"btn-group btn-group-justified\">\n        <a class=\"btn btn-default\" role=\"button\">Left</a>\n        <a class=\"btn btn-default\" role=\"button\">Middle</a>\n        <a class=\"btn btn-default\" role=\"button\">Right</a>\n      </div>\n      <br>\n      <div class=\"btn-group btn-group-justified\">\n        <a class=\"btn btn-default\" role=\"button\">Left</a>\n        <a class=\"btn btn-default\" role=\"button\">Middle</a>\n        <div class=\"btn-group\">\n          <a class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n            Right dropdown <span class=\"caret\"></span>\n          </a>\n          <ul class=\"dropdown-menu\" role=\"menu\">\n            <li><a href=\"#\">Action</a></li>\n            <li><a href=\"#\">Another action</a></li>\n            <li><a href=\"#\">Something else here</a></li>\n            <li class=\"divider\"></li>\n            <li><a href=\"#\">Separated link</a></li>\n          </ul>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"btn-group btn-group-justified\">\n  ...\n</div>\n{% endhighlight %}\n\n  </div>\n\n\n\n  <!-- Split button dropdowns\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"btn-dropdowns\">Button dropdowns</h1>\n    </div>\n    <p class=\"lead\">Use any button to trigger a dropdown menu by placing it within a <code>.btn-group</code> and providing the proper menu markup.</p>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Plugin dependency</h4>\n      <p>Button dropdowns require the <a href=\"../javascript/#dropdowns\">dropdown plugin</a> to be included in your version of Bootstrap.</p>\n    </div>\n\n    <h3 id=\"btn-dropdowns-single\">Single button dropdowns</h3>\n    <p>Turn a button into a dropdown toggle with some basic markup changes.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">Default <span class=\"caret\"></span></button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-primary dropdown-toggle\" data-toggle=\"dropdown\">Primary <span class=\"caret\"></span></button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-success dropdown-toggle\" data-toggle=\"dropdown\">Success <span class=\"caret\"></span></button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-info dropdown-toggle\" data-toggle=\"dropdown\">Info <span class=\"caret\"></span></button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-warning dropdown-toggle\" data-toggle=\"dropdown\">Warning <span class=\"caret\"></span></button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-danger dropdown-toggle\" data-toggle=\"dropdown\">Danger <span class=\"caret\"></span></button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n    </div>\n{% highlight html %}\n<!-- Single button -->\n<div class=\"btn-group\">\n  <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n    Action <span class=\"caret\"></span>\n  </button>\n  <ul class=\"dropdown-menu\" role=\"menu\">\n    <li><a href=\"#\">Action</a></li>\n    <li><a href=\"#\">Another action</a></li>\n    <li><a href=\"#\">Something else here</a></li>\n    <li class=\"divider\"></li>\n    <li><a href=\"#\">Separated link</a></li>\n  </ul>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"btn-dropdowns-split\">Split button dropdowns</h3>\n    <p>Similarly, create split button dropdowns with the same markup changes, only with a separate button.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-default\">Default</button>\n        <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n          <span class=\"caret\"></span>\n          <span class=\"sr-only\">Toggle Dropdown</span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-primary\">Primary</button>\n        <button type=\"button\" class=\"btn btn-primary dropdown-toggle\" data-toggle=\"dropdown\">\n          <span class=\"caret\"></span>\n          <span class=\"sr-only\">Toggle Dropdown</span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-success\">Success</button>\n        <button type=\"button\" class=\"btn btn-success dropdown-toggle\" data-toggle=\"dropdown\">\n          <span class=\"caret\"></span>\n          <span class=\"sr-only\">Toggle Dropdown</span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-info\">Info</button>\n        <button type=\"button\" class=\"btn btn-info dropdown-toggle\" data-toggle=\"dropdown\">\n          <span class=\"caret\"></span>\n          <span class=\"sr-only\">Toggle Dropdown</span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-warning\">Warning</button>\n        <button type=\"button\" class=\"btn btn-warning dropdown-toggle\" data-toggle=\"dropdown\">\n          <span class=\"caret\"></span>\n          <span class=\"sr-only\">Toggle Dropdown</span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <div class=\"btn-group\">\n        <button type=\"button\" class=\"btn btn-danger\">Danger</button>\n        <button type=\"button\" class=\"btn btn-danger dropdown-toggle\" data-toggle=\"dropdown\">\n          <span class=\"caret\"></span>\n          <span class=\"sr-only\">Toggle Dropdown</span>\n        </button>\n        <ul class=\"dropdown-menu\" role=\"menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n    </div>\n{% highlight html %}\n<!-- Split button -->\n<div class=\"btn-group\">\n  <button type=\"button\" class=\"btn btn-danger\">Action</button>\n  <button type=\"button\" class=\"btn btn-danger dropdown-toggle\" data-toggle=\"dropdown\">\n    <span class=\"caret\"></span>\n    <span class=\"sr-only\">Toggle Dropdown</span>\n  </button>\n  <ul class=\"dropdown-menu\" role=\"menu\">\n    <li><a href=\"#\">Action</a></li>\n    <li><a href=\"#\">Another action</a></li>\n    <li><a href=\"#\">Something else here</a></li>\n    <li class=\"divider\"></li>\n    <li><a href=\"#\">Separated link</a></li>\n  </ul>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"btn-dropdowns-sizing\">Sizing</h3>\n    <p>Button dropdowns work with buttons of all sizes.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group\">\n          <button class=\"btn btn-default btn-lg dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\">\n            Large button <span class=\"caret\"></span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\">\n            <li><a href=\"#\">Action</a></li>\n            <li><a href=\"#\">Another action</a></li>\n            <li><a href=\"#\">Something else here</a></li>\n            <li class=\"divider\"></li>\n            <li><a href=\"#\">Separated link</a></li>\n          </ul>\n        </div><!-- /btn-group -->\n      </div><!-- /btn-toolbar -->\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group\">\n          <button class=\"btn btn-default btn-sm dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\">\n            Small button <span class=\"caret\"></span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\">\n            <li><a href=\"#\">Action</a></li>\n            <li><a href=\"#\">Another action</a></li>\n            <li><a href=\"#\">Something else here</a></li>\n            <li class=\"divider\"></li>\n            <li><a href=\"#\">Separated link</a></li>\n          </ul>\n        </div><!-- /btn-group -->\n      </div><!-- /btn-toolbar -->\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group\">\n          <button class=\"btn btn-default btn-xs dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\">\n            Extra small button <span class=\"caret\"></span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\">\n            <li><a href=\"#\">Action</a></li>\n            <li><a href=\"#\">Another action</a></li>\n            <li><a href=\"#\">Something else here</a></li>\n            <li class=\"divider\"></li>\n            <li><a href=\"#\">Separated link</a></li>\n          </ul>\n        </div><!-- /btn-group -->\n      </div><!-- /btn-toolbar -->\n    </div><!-- /example -->\n{% highlight html %}\n<!-- Large button group -->\n<div class=\"btn-group\">\n  <button class=\"btn btn-default btn-lg dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\">\n    Large button <span class=\"caret\"></span>\n  </button>\n  <ul class=\"dropdown-menu\">\n    ...\n  </ul>\n</div>\n\n<!-- Small button group -->\n<div class=\"btn-group\">\n  <button class=\"btn btn-default btn-sm dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\">\n    Small button <span class=\"caret\"></span>\n  </button>\n  <ul class=\"dropdown-menu\">\n    ...\n  </ul>\n</div>\n\n<!-- Extra small button group -->\n<div class=\"btn-group\">\n  <button class=\"btn btn-default btn-xs dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\">\n    Extra small button <span class=\"caret\"></span>\n  </button>\n  <ul class=\"dropdown-menu\">\n    ...\n  </ul>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"btn-dropdowns-dropup\">Dropup variation</h3>\n    <p>Trigger dropdown menus above elements by adding <code>.dropup</code> to the parent.</p>\n    <div class=\"bs-example\">\n      <div class=\"btn-toolbar\" role=\"toolbar\">\n        <div class=\"btn-group dropup\">\n          <button type=\"button\" class=\"btn btn-default\">Dropup</button>\n          <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n            <span class=\"caret\"></span>\n            <span class=\"sr-only\">Toggle Dropdown</span>\n          </button>\n          <ul class=\"dropdown-menu\" role=\"menu\">\n            <li><a href=\"#\">Action</a></li>\n            <li><a href=\"#\">Another action</a></li>\n            <li><a href=\"#\">Something else here</a></li>\n            <li class=\"divider\"></li>\n            <li><a href=\"#\">Separated link</a></li>\n          </ul>\n        </div><!-- /btn-group -->\n        <div class=\"btn-group dropup\">\n          <button type=\"button\" class=\"btn btn-primary\">Right dropup</button>\n          <button type=\"button\" class=\"btn btn-primary dropdown-toggle\" data-toggle=\"dropdown\">\n            <span class=\"caret\"></span>\n            <span class=\"sr-only\">Toggle Dropdown</span>\n          </button>\n          <ul class=\"dropdown-menu pull-right\" role=\"menu\">\n            <li><a href=\"#\">Action</a></li>\n            <li><a href=\"#\">Another action</a></li>\n            <li><a href=\"#\">Something else here</a></li>\n            <li class=\"divider\"></li>\n            <li><a href=\"#\">Separated link</a></li>\n          </ul>\n        </div><!-- /btn-group -->\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<div class=\"btn-group dropup\">\n  <button type=\"button\" class=\"btn btn-default\">Dropup</button>\n  <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n    <span class=\"caret\"></span>\n    <span class=\"sr-only\">Toggle Dropdown</span>\n  </button>\n  <ul class=\"dropdown-menu\">\n    <!-- Dropdown menu links -->\n  </ul>\n</div>\n{% endhighlight %}\n\n  </div>\n\n\n\n\n  <!-- Input groups\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"input-groups\">Input groups</h1>\n    </div>\n    <p class=\"lead\">Extend form controls by adding text or buttons before, after, or on both sides of any text-based input. Use <code>.input-group</code> with an <code>.input-group-addon</code> to prepend or append elements to a <code>.form-control</code>.</p>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Cross-browser compatibility</h4>\n      <p>Avoid using <code>&lt;select&gt;</code> elements here as they cannot be fully styled in WebKit browsers.</p>\n    </div>\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Tooltips &amp; popovers in input groups require special setting</h4>\n      <p>When using tooltips or popovers on elements within an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).</p>\n    </div>\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Don't mix with form groups</h4>\n      <p>Do not apply input group classes directly to form groups. An input group is an isolated component.</p>\n    </div>\n\n\n    <h2 id=\"input-groups-basic\">Basic example</h2>\n    <form class=\"bs-example bs-example-form\" role=\"form\">\n      <div class=\"input-group\">\n        <span class=\"input-group-addon\">@</span>\n        <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n      </div>\n      <br>\n      <div class=\"input-group\">\n        <input type=\"text\" class=\"form-control\">\n        <span class=\"input-group-addon\">.00</span>\n      </div>\n      <br>\n      <div class=\"input-group\">\n        <span class=\"input-group-addon\">$</span>\n        <input type=\"text\" class=\"form-control\">\n        <span class=\"input-group-addon\">.00</span>\n      </div>\n    </form>\n{% highlight html %}\n<div class=\"input-group\">\n  <span class=\"input-group-addon\">@</span>\n  <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n</div>\n\n<div class=\"input-group\">\n  <input type=\"text\" class=\"form-control\">\n  <span class=\"input-group-addon\">.00</span>\n</div>\n\n<div class=\"input-group\">\n  <span class=\"input-group-addon\">$</span>\n  <input type=\"text\" class=\"form-control\">\n  <span class=\"input-group-addon\">.00</span>\n</div>\n{% endhighlight %}\n\n\n    <h2 id=\"input-groups-sizing\">Sizing</h2>\n    <p>Add the relative form sizing classes to the <code>.input-group</code> itself and contents within will automatically resize—no need for repeating the form control size classes on each element.</p>\n    <form class=\"bs-example bs-example-form\" role=\"form\">\n      <div class=\"input-group input-group-lg\">\n        <span class=\"input-group-addon\">@</span>\n        <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n      </div>\n      <br>\n      <div class=\"input-group\">\n        <span class=\"input-group-addon\">@</span>\n        <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n      </div>\n      <br>\n      <div class=\"input-group input-group-sm\">\n        <span class=\"input-group-addon\">@</span>\n        <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n      </div>\n    </form>\n{% highlight html %}\n<div class=\"input-group input-group-lg\">\n  <span class=\"input-group-addon\">@</span>\n  <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n</div>\n\n<div class=\"input-group\">\n  <span class=\"input-group-addon\">@</span>\n  <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n</div>\n\n<div class=\"input-group input-group-sm\">\n  <span class=\"input-group-addon\">@</span>\n  <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n</div>\n{% endhighlight %}\n\n\n    <h2 id=\"input-groups-checkboxes-radios\">Checkboxes and radio addons</h2>\n    <p>Place any checkbox or radio option within an input group's addon instead of text.</p>\n    <form class=\"bs-example bs-example-form\">\n      <div class=\"row\">\n        <div class=\"col-lg-6\">\n          <div class=\"input-group\">\n            <span class=\"input-group-addon\">\n              <input type=\"checkbox\">\n            </span>\n            <input type=\"text\" class=\"form-control\">\n          </div><!-- /input-group -->\n        </div><!-- /.col-lg-6 -->\n        <div class=\"col-lg-6\">\n          <div class=\"input-group\">\n            <span class=\"input-group-addon\">\n              <input type=\"radio\">\n            </span>\n            <input type=\"text\" class=\"form-control\">\n          </div><!-- /input-group -->\n        </div><!-- /.col-lg-6 -->\n      </div><!-- /.row -->\n    </form>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-lg-6\">\n    <div class=\"input-group\">\n      <span class=\"input-group-addon\">\n        <input type=\"checkbox\">\n      </span>\n      <input type=\"text\" class=\"form-control\">\n    </div><!-- /input-group -->\n  </div><!-- /.col-lg-6 -->\n  <div class=\"col-lg-6\">\n    <div class=\"input-group\">\n      <span class=\"input-group-addon\">\n        <input type=\"radio\">\n      </span>\n      <input type=\"text\" class=\"form-control\">\n    </div><!-- /input-group -->\n  </div><!-- /.col-lg-6 -->\n</div><!-- /.row -->\n{% endhighlight %}\n\n\n    <h2 id=\"input-groups-buttons\">Button addons</h2>\n    <p>Buttons in input groups are a bit different and require one extra level of nesting. Instead of <code>.input-group-addon</code>, you'll need to use <code>.input-group-btn</code> to wrap the buttons. This is required due to default browser styles that cannot be overridden.</p>\n    <form class=\"bs-example bs-example-form\">\n      <div class=\"row\">\n        <div class=\"col-lg-6\">\n          <div class=\"input-group\">\n            <span class=\"input-group-btn\">\n              <button class=\"btn btn-default\" type=\"button\">Go!</button>\n            </span>\n            <input type=\"text\" class=\"form-control\">\n          </div><!-- /input-group -->\n        </div><!-- /.col-lg-6 -->\n        <div class=\"col-lg-6\">\n          <div class=\"input-group\">\n            <input type=\"text\" class=\"form-control\">\n            <span class=\"input-group-btn\">\n              <button class=\"btn btn-default\" type=\"button\">Go!</button>\n            </span>\n          </div><!-- /input-group -->\n        </div><!-- /.col-lg-6 -->\n      </div><!-- /.row -->\n    </form>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-lg-6\">\n    <div class=\"input-group\">\n      <span class=\"input-group-btn\">\n        <button class=\"btn btn-default\" type=\"button\">Go!</button>\n      </span>\n      <input type=\"text\" class=\"form-control\">\n    </div><!-- /input-group -->\n  </div><!-- /.col-lg-6 -->\n  <div class=\"col-lg-6\">\n    <div class=\"input-group\">\n      <input type=\"text\" class=\"form-control\">\n      <span class=\"input-group-btn\">\n        <button class=\"btn btn-default\" type=\"button\">Go!</button>\n      </span>\n    </div><!-- /input-group -->\n  </div><!-- /.col-lg-6 -->\n</div><!-- /.row -->\n{% endhighlight %}\n\n    <h2 id=\"input-groups-buttons-dropdowns\">Buttons with dropdowns</h2>\n    <p></p>\n    <form class=\"bs-example bs-example-form\" role=\"form\">\n      <div class=\"row\">\n        <div class=\"col-lg-6\">\n          <div class=\"input-group\">\n            <div class=\"input-group-btn\">\n              <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">Action <span class=\"caret\"></span></button>\n              <ul class=\"dropdown-menu\" role=\"menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li><a href=\"#\">Separated link</a></li>\n              </ul>\n            </div><!-- /btn-group -->\n            <input type=\"text\" class=\"form-control\">\n          </div><!-- /input-group -->\n        </div><!-- /.col-lg-6 -->\n        <div class=\"col-lg-6\">\n          <div class=\"input-group\">\n            <input type=\"text\" class=\"form-control\">\n            <div class=\"input-group-btn\">\n              <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">Action <span class=\"caret\"></span></button>\n              <ul class=\"dropdown-menu pull-right\" role=\"menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li><a href=\"#\">Separated link</a></li>\n              </ul>\n            </div><!-- /btn-group -->\n          </div><!-- /input-group -->\n        </div><!-- /.col-lg-6 -->\n      </div><!-- /.row -->\n    </form>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-lg-6\">\n    <div class=\"input-group\">\n      <div class=\"input-group-btn\">\n        <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">Action <span class=\"caret\"></span></button>\n        <ul class=\"dropdown-menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n      <input type=\"text\" class=\"form-control\">\n    </div><!-- /input-group -->\n  </div><!-- /.col-lg-6 -->\n  <div class=\"col-lg-6\">\n    <div class=\"input-group\">\n      <input type=\"text\" class=\"form-control\">\n      <div class=\"input-group-btn\">\n        <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">Action <span class=\"caret\"></span></button>\n        <ul class=\"dropdown-menu pull-right\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </div><!-- /btn-group -->\n    </div><!-- /input-group -->\n  </div><!-- /.col-lg-6 -->\n</div><!-- /.row -->\n{% endhighlight %}\n\n    <h2 id=\"input-groups-buttons-segmented\">Segmented buttons</h2>\n    <form class=\"bs-example bs-example-form\" role=\"form\">\n      <div class=\"row\">\n        <div class=\"col-lg-6\">\n          <div class=\"input-group\">\n            <div class=\"input-group-btn\">\n              <button type=\"button\" class=\"btn btn-default\" tabindex=\"-1\">Action</button>\n              <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\" tabindex=\"-1\">\n                <span class=\"caret\"></span>\n                <span class=\"sr-only\">Toggle Dropdown</span>\n              </button>\n              <ul class=\"dropdown-menu\" role=\"menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li><a href=\"#\">Separated link</a></li>\n              </ul>\n            </div>\n            <input type=\"text\" class=\"form-control\">\n          </div><!-- /.input-group -->\n        </div><!-- /.col-lg-6 -->\n        <div class=\"col-lg-6\">\n          <div class=\"input-group\">\n            <input type=\"text\" class=\"form-control\">\n            <div class=\"input-group-btn\">\n              <button type=\"button\" class=\"btn btn-default\" tabindex=\"-1\">Action</button>\n              <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\" tabindex=\"-1\">\n                <span class=\"caret\"></span>\n                <span class=\"sr-only\">Toggle Dropdown</span>\n              </button>\n              <ul class=\"dropdown-menu pull-right\" role=\"menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li><a href=\"#\">Separated link</a></li>\n              </ul>\n            </div>\n          </div><!-- /.input-group -->\n        </div><!-- /.col-lg-6 -->\n      </div><!-- /.row -->\n    </form>\n{% highlight html %}\n<div class=\"input-group\">\n  <div class=\"input-group-btn\">\n    <!-- Button and dropdown menu -->\n  </div>\n  <input type=\"text\" class=\"form-control\">\n</div>\n\n<div class=\"input-group\">\n  <input type=\"text\" class=\"form-control\">\n  <div class=\"input-group-btn\">\n    <!-- Button and dropdown menu -->\n  </div>\n</div>\n{% endhighlight %}\n\n</div>\n\n\n\n  <!-- Navs\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"nav\">Navs</h1>\n    </div>\n\n    <p class=\"lead\">Navs available in Bootstrap have shared markup, starting with the base <code>.nav</code> class, as well as shared states. Swap modifier classes to switch between each style.</p>\n\n    <h2 id=\"nav-tabs\">Tabs</h2>\n    <p>Note the <code>.nav-tabs</code> class requires the <code>.nav</code> base class.</p>\n    <div class=\"bs-example\">\n      <ul class=\"nav nav-tabs\">\n        <li class=\"active\"><a href=\"#\">Home</a></li>\n        <li><a href=\"#\">Profile</a></li>\n        <li><a href=\"#\">Messages</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"nav nav-tabs\">\n  <li class=\"active\"><a href=\"#\">Home</a></li>\n  <li><a href=\"#\">Profile</a></li>\n  <li><a href=\"#\">Messages</a></li>\n</ul>\n{% endhighlight %}\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Requires JavaScript tabs plugin</h4>\n      <p>For tabs with tabbable areas, you must use the <a href=\"../javascript/#tabs\">tabs JavaScript plugin</a>.</p>\n    </div>\n\n    <h2 id=\"nav-pills\">Pills</h2>\n    <p>Take that same HTML, but use <code>.nav-pills</code> instead:</p>\n    <div class=\"bs-example\">\n      <ul class=\"nav nav-pills\">\n        <li class=\"active\"><a href=\"#\">Home</a></li>\n        <li><a href=\"#\">Profile</a></li>\n        <li><a href=\"#\">Messages</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"nav nav-pills\">\n  <li class=\"active\"><a href=\"#\">Home</a></li>\n  <li><a href=\"#\">Profile</a></li>\n  <li><a href=\"#\">Messages</a></li>\n</ul>\n{% endhighlight %}\n    <p>Pills are also vertically stackable. Just add <code>.nav-stacked</code>.</p>\n    <div class=\"bs-example\">\n      <ul class=\"nav nav-pills nav-stacked\" style=\"max-width: 300px;\">\n        <li class=\"active\"><a href=\"#\">Home</a></li>\n        <li><a href=\"#\">Profile</a></li>\n        <li><a href=\"#\">Messages</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"nav nav-pills nav-stacked\">\n  ...\n</ul>\n{% endhighlight %}\n\n\n    <h2 id=\"nav-justified\">Justified</h2>\n    <p>Easily make tabs or pills equal widths of their parent at screens wider than 768px with <code>.nav-justified</code>. On smaller screens, the nav links are stacked.</p>\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Safari and responsive justified navs</h4>\n      <p>Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing. This bug is also shown in the <a href=\"../examples/justified-nav/\">justified nav example</a>.</p>\n    </div>\n    <div class=\"bs-example\">\n      <ul class=\"nav nav-tabs nav-justified\">\n        <li class=\"active\"><a href=\"#\">Home</a></li>\n        <li><a href=\"#\">Profile</a></li>\n        <li><a href=\"#\">Messages</a></li>\n      </ul>\n      <br>\n      <ul class=\"nav nav-pills nav-justified\">\n        <li class=\"active\"><a href=\"#\">Home</a></li>\n        <li><a href=\"#\">Profile</a></li>\n        <li><a href=\"#\">Messages</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"nav nav-tabs nav-justified\">\n  ...\n</ul>\n<ul class=\"nav nav-pills nav-justified\">\n  ...\n</ul>\n{% endhighlight %}\n\n\n    <h2 id=\"nav-disabled-links\">Disabled links</h2>\n    <p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>.</p>\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Link functionality not impacted</h4>\n      <p>This class will only change the <code>&lt;a&gt;</code>'s appearance, not its functionality. Use custom JavaScript to disable links here.</p>\n    </div>\n\n    <div class=\"bs-example\">\n      <ul class=\"nav nav-pills\">\n        <li><a href=\"#\">Clickable link</a></li>\n        <li><a href=\"#\">Clickable link</a></li>\n        <li class=\"disabled\"><a href=\"#\">Disabled link</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"nav nav-pills\">\n  ...\n  <li class=\"disabled\"><a href=\"#\">Disabled link</a></li>\n  ...\n</ul>\n{% endhighlight %}\n\n\n    <h2 id=\"nav-dropdowns\">Using dropdowns</h2>\n    <p>Add dropdown menus with a little extra HTML and the <a href=\"../javascript/#dropdowns\">dropdowns JavaScript plugin</a>.</p>\n\n    <h3>Tabs with dropdowns</h3>\n    <div class=\"bs-example\">\n  <ul class=\"nav nav-tabs\">\n    <li class=\"active\"><a href=\"#\">Home</a></li>\n    <li><a href=\"#\">Help</a></li>\n    <li class=\"dropdown\">\n      <a class=\"dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\">\n        Dropdown <span class=\"caret\"></span>\n      </a>\n      <ul class=\"dropdown-menu\" role=\"menu\">\n        <li><a href=\"#\">Action</a></li>\n        <li><a href=\"#\">Another action</a></li>\n        <li><a href=\"#\">Something else here</a></li>\n        <li class=\"divider\"></li>\n        <li><a href=\"#\">Separated link</a></li>\n      </ul>\n    </li>\n  </ul>\n    </div>\n{% highlight html %}\n<ul class=\"nav nav-tabs\">\n  ...\n  <li class=\"dropdown\">\n    <a class=\"dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\">\n      Dropdown <span class=\"caret\"></span>\n    </a>\n    <ul class=\"dropdown-menu\">\n      ...\n    </ul>\n  </li>\n  ...\n</ul>\n{% endhighlight %}\n\n    <h3>Pills with dropdowns</h3>\n    <div class=\"bs-example\">\n      <ul class=\"nav nav-pills\">\n        <li class=\"active\"><a href=\"#\">Home</a></li>\n        <li><a href=\"#\">Help</a></li>\n        <li class=\"dropdown\">\n          <a class=\"dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\">\n            Dropdown <span class=\"caret\"></span>\n          </a>\n          <ul class=\"dropdown-menu\" role=\"menu\">\n            <li><a href=\"#\">Action</a></li>\n            <li><a href=\"#\">Another action</a></li>\n            <li><a href=\"#\">Something else here</a></li>\n            <li class=\"divider\"></li>\n            <li><a href=\"#\">Separated link</a></li>\n          </ul>\n        </li>\n      </ul>\n    </div><!-- /example -->\n{% highlight html %}\n<ul class=\"nav nav-pills\">\n  ...\n  <li class=\"dropdown\">\n    <a class=\"dropdown-toggle\" data-toggle=\"dropdown\" href=\"#\">\n      Dropdown <span class=\"caret\"></span>\n    </a>\n    <ul class=\"dropdown-menu\">\n      ...\n    </ul>\n  </li>\n  ...\n</ul>\n{% endhighlight %}\n\n  </div>\n\n\n\n  <!-- Navbar\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"navbar\">Navbar</h1>\n    </div>\n\n    <h2 id=\"navbar-default\">Default navbar</h2>\n    <p>Navbars are responsive meta components that serve as navigation headers for your application or site. They begin collapsed (and are toggleable) in mobile views and become horizontal as the available viewport width increases.</p>\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Customize the collapsing point</h4>\n      <p>Depending on the content in your navbar, you might need to change the point at which your navbar switches between collapsed and horizontal mode. Customize the <code>@grid-float-breakpoint</code> variable or add your own media query.</p>\n    </div>\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Requires JavaScript</h4>\n      <p>If JavaScript is disabled and the viewport is narrow enough that the navbar collapses, it will be impossible to expand the navbar and view the content within the <code>.navbar-collapse</code>.</p>\n    </div>\n\n    <div class=\"bs-example\">\n      <nav class=\"navbar navbar-default\" role=\"navigation\">\n        <!-- Brand and toggle get grouped for better mobile display -->\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-1\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n\n        <!-- Collect the nav links, forms, and other content for toggling -->\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-1\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n            <li class=\"dropdown\">\n              <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\" role=\"menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li><a href=\"#\">Separated link</a></li>\n                <li class=\"divider\"></li>\n                <li><a href=\"#\">One more separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n          <form class=\"navbar-form navbar-left\" role=\"search\">\n            <div class=\"form-group\">\n              <input type=\"text\" class=\"form-control\" placeholder=\"Search\">\n            </div>\n            <button type=\"submit\" class=\"btn btn-default\">Submit</button>\n          </form>\n          <ul class=\"nav navbar-nav navbar-right\">\n            <li><a href=\"#\">Link</a></li>\n            <li class=\"dropdown\">\n              <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\" role=\"menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li><a href=\"#\">Separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n        </div><!-- /.navbar-collapse -->\n      </nav>\n    </div>\n{% highlight html %}\n<nav class=\"navbar navbar-default\" role=\"navigation\">\n  <!-- Brand and toggle get grouped for better mobile display -->\n  <div class=\"navbar-header\">\n    <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-1\">\n      <span class=\"sr-only\">Toggle navigation</span>\n      <span class=\"icon-bar\"></span>\n      <span class=\"icon-bar\"></span>\n      <span class=\"icon-bar\"></span>\n    </button>\n    <a class=\"navbar-brand\" href=\"#\">Brand</a>\n  </div>\n\n  <!-- Collect the nav links, forms, and other content for toggling -->\n  <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-1\">\n    <ul class=\"nav navbar-nav\">\n      <li class=\"active\"><a href=\"#\">Link</a></li>\n      <li><a href=\"#\">Link</a></li>\n      <li class=\"dropdown\">\n        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n        <ul class=\"dropdown-menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">One more separated link</a></li>\n        </ul>\n      </li>\n    </ul>\n    <form class=\"navbar-form navbar-left\" role=\"search\">\n      <div class=\"form-group\">\n        <input type=\"text\" class=\"form-control\" placeholder=\"Search\">\n      </div>\n      <button type=\"submit\" class=\"btn btn-default\">Submit</button>\n    </form>\n    <ul class=\"nav navbar-nav navbar-right\">\n      <li><a href=\"#\">Link</a></li>\n      <li class=\"dropdown\">\n        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n        <ul class=\"dropdown-menu\">\n          <li><a href=\"#\">Action</a></li>\n          <li><a href=\"#\">Another action</a></li>\n          <li><a href=\"#\">Something else here</a></li>\n          <li class=\"divider\"></li>\n          <li><a href=\"#\">Separated link</a></li>\n        </ul>\n      </li>\n    </ul>\n  </div><!-- /.navbar-collapse -->\n</nav>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Plugin dependency</h4>\n      <p>The responsive navbar requires the <a href=\"../javascript/#collapse\">collapse plugin</a> to be included in your version of Bootstrap.</p>\n    </div>\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Make navbars accessible</h4>\n      <p>Be sure to add a <code>role=\"navigation\"</code> to every navbar to help with accessibility.</p>\n    </div>\n\n\n    <h2 id=\"navbar-forms\">Forms</h2>\n    <p>Place form content within <code>.navbar-form</code> for proper vertical alignment and collapsed behavior in narrow viewports. Use the alignment options to decide where it resides within the navbar content.</p>\n    <p>As a heads up, <code>.navbar-form</code> shares much of its code with <code>.form-inline</code> via mixin.</p>\n    <div class=\"bs-example\">\n      <nav class=\"navbar navbar-default\" role=\"navigation\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-2\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-2\">\n          <form class=\"navbar-form navbar-left\" role=\"search\">\n            <div class=\"form-group\">\n              <input type=\"text\" class=\"form-control\" placeholder=\"Search\">\n            </div>\n            <button type=\"submit\" class=\"btn btn-default\">Submit</button>\n          </form>\n        </div>\n      </nav>\n    </div>\n{% highlight html %}\n<form class=\"navbar-form navbar-left\" role=\"search\">\n  <div class=\"form-group\">\n    <input type=\"text\" class=\"form-control\" placeholder=\"Search\">\n  </div>\n  <button type=\"submit\" class=\"btn btn-default\">Submit</button>\n</form>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Always add labels</h4>\n      <p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the <code>.sr-only</code> class.</p>\n    </div>\n\n\n    <h2 id=\"navbar-buttons\">Buttons</h2>\n    <p>Add the <code>.navbar-btn</code> class to <code>&lt;button&gt;</code> elements not residing in a <code>&lt;form&gt;</code> to vertically center them in the navbar.</p>\n    <div class=\"bs-example\">\n      <nav class=\"navbar navbar-default\" role=\"navigation\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-3\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-3\">\n          <button type=\"button\" class=\"btn btn-default navbar-btn\">Sign in</button>\n        </div>\n      </nav>\n    </div>\n{% highlight html %}\n<button type=\"button\" class=\"btn btn-default navbar-btn\">Sign in</button>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Context-specific usage</h4>\n      <p>Like the standard <a href=\"{{ page.base_url }}css#buttons\">button classes</a>, <code>.navbar-btn</code> can be used on <code>&lt;a&gt;</code> and <code>&lt;input&gt;</code> elements. However, neither <code>.navbar-btn</code> nor the standard button classes should be used on <code>&lt;a&gt;</code> elements within <code>.navbar-nav</code>.</p>\n    </div>\n\n    <h2 id=\"navbar-text\">Text</h2>\n    <p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code>&lt;p&gt;</code> tag for proper leading and color.</p>\n    <div class=\"bs-example\">\n      <nav class=\"navbar navbar-default\" role=\"navigation\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-4\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-4\">\n          <p class=\"navbar-text\">Signed in as Mark Otto</p>\n        </div>\n      </nav>\n    </div>\n{% highlight html %}\n<p class=\"navbar-text\">Signed in as Mark Otto</p>\n{% endhighlight %}\n\n\n    <h2 id=\"navbar-links\">Non-nav links</h2>\n    <p>For folks using standard links that are not within the regular navbar navigation component, use the <code>.navbar-link</code> class to add the proper colors for the default and inverse navbar options.</p>\n    <div class=\"bs-example\">\n      <nav class=\"navbar navbar-default\" role=\"navigation\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-5\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-5\">\n          <p class=\"navbar-text navbar-right\">Signed in as <a href=\"#\" class=\"navbar-link\">Mark Otto</a></p>\n        </div>\n      </nav>\n    </div>\n{% highlight html %}\n<p class=\"navbar-text navbar-right\">Signed in as <a href=\"#\" class=\"navbar-link\">Mark Otto</a></p>\n{% endhighlight %}\n\n\n    <h2 id=\"navbar-component-alignment\">Component alignment</h2>\n    <p>Align nav links, forms, buttons, or text, using the <code>.navbar-left</code> or <code>.navbar-right</code> utility classes. Both classes will add a CSS float in the specified direction. For example, to align nav links, put them in a separate <code>&lt;ul&gt;</code> with the respective utility class applied.</p>\n    <p>These classes are mixin-ed versions of <code>.pull-left</code> and <code>.pull-right</code>, but they're scoped to media queries for easier handling of navbar components across device sizes.</p>\n\n\n    <h2 id=\"navbar-fixed-top\">Fixed to top</h2>\n    <p>Add <code>.navbar-fixed-top</code>.</p>\n    <div class=\"bs-example bs-navbar-top-example\">\n      <nav class=\"navbar navbar-default navbar-fixed-top\" role=\"navigation\">\n        <!-- Brand and toggle get grouped for better mobile display -->\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-6\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n\n        <!-- Collect the nav links, forms, and other content for toggling -->\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-6\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n          </ul>\n        </div><!-- /.navbar-collapse -->\n      </nav>\n    </div><!-- /example -->\n{% highlight html %}\n<nav class=\"navbar navbar-default navbar-fixed-top\" role=\"navigation\">\n  ...\n</nav>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Body padding required</h4>\n      <p>The fixed navbar will overlay your other content, unless you add <code>padding</code> to the top of the <code>&lt;body&gt;</code>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.</p>\n{% highlight css %}\nbody { padding-top: 70px; }\n{% endhighlight %}\n      <p>Make sure to include this <strong>after</strong> the core Bootstrap CSS.</p>\n    </div>\n\n\n    <h2 id=\"navbar-fixed-bottom\">Fixed to bottom</h2>\n    <p>Add <code>.navbar-fixed-bottom</code> instead.</p>\n    <div class=\"bs-example bs-navbar-bottom-example\">\n      <nav class=\"navbar navbar-default navbar-fixed-bottom\" role=\"navigation\">\n        <!-- Brand and toggle get grouped for better mobile display -->\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-7\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n\n        <!-- Collect the nav links, forms, and other content for toggling -->\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-7\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n          </ul>\n        </div><!-- /.navbar-collapse -->\n      </nav>\n    </div><!-- /example -->\n{% highlight html %}\n<nav class=\"navbar navbar-default navbar-fixed-bottom\" role=\"navigation\">\n  ...\n</nav>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Body padding required</h4>\n      <p>The fixed navbar will overlay your other content, unless you add <code>padding</code> to the bottom of the <code>&lt;body&gt;</code>. Try out your own values or use our snippet below. Tip: By default, the navbar is 50px high.</p>\n{% highlight css %}\nbody { padding-bottom: 70px; }\n{% endhighlight %}\n      <p>Make sure to include this <strong>after</strong> the core Bootstrap CSS.</p>\n    </div>\n\n\n    <h2 id=\"navbar-static-top\">Static top</h2>\n    <p>Create a full-width navbar that scrolls away with the page by adding <code>.navbar-static-top</code>. Unlike the <code>.navbar-fixed-*</code> classes, you do not need to change any padding on the <code>body</code>.</p>\n    <div class=\"bs-example bs-navbar-top-example\">\n      <nav class=\"navbar navbar-default navbar-static-top\" role=\"navigation\">\n        <!-- Brand and toggle get grouped for better mobile display -->\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-8\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n\n        <!-- Collect the nav links, forms, and other content for toggling -->\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-8\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n          </ul>\n        </div><!-- /.navbar-collapse -->\n      </nav>\n    </div><!-- /example -->\n{% highlight html %}\n<nav class=\"navbar navbar-default navbar-static-top\" role=\"navigation\">\n  ...\n</nav>\n{% endhighlight %}\n\n\n    <h2 id=\"navbar-inverted\">Inverted navbar</h2>\n    <p>Modify the look of the navbar by adding <code>.navbar-inverse</code>.</p>\n    <div class=\"bs-example\">\n      <nav class=\"navbar navbar-inverse\" role=\"navigation\">\n        <!-- Brand and toggle get grouped for better mobile display -->\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#bs-example-navbar-collapse-9\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Brand</a>\n        </div>\n\n        <!-- Collect the nav links, forms, and other content for toggling -->\n        <div class=\"collapse navbar-collapse\" id=\"bs-example-navbar-collapse-9\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n          </ul>\n        </div><!-- /.navbar-collapse -->\n      </nav>\n    </div><!-- /example -->\n{% highlight html %}\n<nav class=\"navbar navbar-inverse\" role=\"navigation\">\n  ...\n</nav>\n{% endhighlight %}\n\n  </div>\n\n\n\n  <!-- Breadcrumbs\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"breadcrumbs\">Breadcrumbs <small></small></h1>\n    </div>\n    <p class=\"lead\">Indicate the current page's location within a navigational hierarchy.</p>\n    <p>Separators are automatically added in CSS through <code>:before</code> and <code>content</code>.</p>\n    <div class=\"bs-example\">\n      <ol class=\"breadcrumb\">\n        <li class=\"active\">Home</li>\n      </ol>\n      <ol class=\"breadcrumb\">\n        <li><a href=\"#\">Home</a></li>\n        <li class=\"active\">Library</li>\n      </ol>\n      <ol class=\"breadcrumb\" style=\"margin-bottom: 5px;\">\n        <li><a href=\"#\">Home</a></li>\n        <li><a href=\"#\">Library</a></li>\n        <li class=\"active\">Data</li>\n      </ol>\n    </div>\n{% highlight html %}\n<ol class=\"breadcrumb\">\n  <li><a href=\"#\">Home</a></li>\n  <li><a href=\"#\">Library</a></li>\n  <li class=\"active\">Data</li>\n</ol>\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Pagination\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"pagination\">Pagination</h1>\n    </div>\n    <p class=\"lead\">Provide pagination links for your site or app with the multi-page pagination component, or the simpler <a href=\"#pagination-pager\">pager alternative</a>.</p>\n\n    <h2 id=\"pagination-default\">Default pagination</h2>\n    <p>Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.</p>\n    <div class=\"bs-example\">\n      <ul class=\"pagination\">\n        <li><a href=\"#\">&laquo;</a></li>\n        <li><a href=\"#\">1</a></li>\n        <li><a href=\"#\">2</a></li>\n        <li><a href=\"#\">3</a></li>\n        <li><a href=\"#\">4</a></li>\n        <li><a href=\"#\">5</a></li>\n        <li><a href=\"#\">&raquo;</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"pagination\">\n  <li><a href=\"#\">&laquo;</a></li>\n  <li><a href=\"#\">1</a></li>\n  <li><a href=\"#\">2</a></li>\n  <li><a href=\"#\">3</a></li>\n  <li><a href=\"#\">4</a></li>\n  <li><a href=\"#\">5</a></li>\n  <li><a href=\"#\">&raquo;</a></li>\n</ul>\n{% endhighlight %}\n\n    <h3>Disabled and active states</h3>\n    <p>Links are customizable for different circumstances. Use <code>.disabled</code> for unclickable links and <code>.active</code> to indicate the current page.</p>\n    <div class=\"bs-example\">\n      <ul class=\"pagination\">\n        <li class=\"disabled\"><a href=\"#\">&laquo;</a></li>\n        <li class=\"active\"><a href=\"#\">1 <span class=\"sr-only\">(current)</span></a></li>\n        <li><a href=\"#\">2</a></li>\n        <li><a href=\"#\">3</a></li>\n        <li><a href=\"#\">4</a></li>\n        <li><a href=\"#\">5</a></li>\n        <li><a href=\"#\">&raquo;</a></li>\n     </ul>\n    </div>\n{% highlight html %}\n<ul class=\"pagination\">\n  <li class=\"disabled\"><a href=\"#\">&laquo;</a></li>\n  <li class=\"active\"><a href=\"#\">1 <span class=\"sr-only\">(current)</span></a></li>\n  ...\n</ul>\n{% endhighlight %}\n    <p>You can optionally swap out active or disabled anchors for <code>&lt;span&gt;</code> to remove click functionality while retaining intended styles.</p>\n{% highlight html %}\n<ul class=\"pagination\">\n  <li class=\"disabled\"><span>&laquo;</span></li>\n  <li class=\"active\"><span>1 <span class=\"sr-only\">(current)</span></span></li>\n  ...\n</ul>\n{% endhighlight %}\n\n\n    <h3>Sizing</h3>\n    <p>Fancy larger or smaller pagination? Add <code>.pagination-lg</code> or <code>.pagination-sm</code> for additional sizes.</p>\n    <div class=\"bs-example\">\n      <div>\n        <ul class=\"pagination pagination-lg\">\n          <li><a href=\"#\">&laquo;</a></li>\n          <li><a href=\"#\">1</a></li>\n          <li><a href=\"#\">2</a></li>\n          <li><a href=\"#\">3</a></li>\n          <li><a href=\"#\">4</a></li>\n          <li><a href=\"#\">5</a></li>\n          <li><a href=\"#\">&raquo;</a></li>\n        </ul>\n      </div>\n      <div>\n        <ul class=\"pagination\">\n          <li><a href=\"#\">&laquo;</a></li>\n          <li><a href=\"#\">1</a></li>\n          <li><a href=\"#\">2</a></li>\n          <li><a href=\"#\">3</a></li>\n          <li><a href=\"#\">4</a></li>\n          <li><a href=\"#\">5</a></li>\n          <li><a href=\"#\">&raquo;</a></li>\n        </ul>\n      </div>\n      <div>\n        <ul class=\"pagination pagination-sm\">\n          <li><a href=\"#\">&laquo;</a></li>\n          <li><a href=\"#\">1</a></li>\n          <li><a href=\"#\">2</a></li>\n          <li><a href=\"#\">3</a></li>\n          <li><a href=\"#\">4</a></li>\n          <li><a href=\"#\">5</a></li>\n          <li><a href=\"#\">&raquo;</a></li>\n        </ul>\n      </div>\n    </div>\n{% highlight html %}\n<ul class=\"pagination pagination-lg\">...</ul>\n<ul class=\"pagination\">...</ul>\n<ul class=\"pagination pagination-sm\">...</ul>\n{% endhighlight %}\n\n\n    <h2 id=\"pagination-pager\">Pager</h2>\n    <p>Quick previous and next links for simple pagination implementations with light markup and styles. It's great for simple sites like blogs or magazines.</p>\n\n    <h3>Default example</h3>\n    <p>By default, the pager centers links.</p>\n    <div class=\"bs-example\">\n      <ul class=\"pager\">\n        <li><a href=\"#\">Previous</a></li>\n        <li><a href=\"#\">Next</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"pager\">\n  <li><a href=\"#\">Previous</a></li>\n  <li><a href=\"#\">Next</a></li>\n</ul>\n{% endhighlight %}\n\n    <h3>Aligned links</h3>\n    <p>Alternatively, you can align each link to the sides:</p>\n    <div class=\"bs-example\">\n      <ul class=\"pager\">\n        <li class=\"previous\"><a href=\"#\">&larr; Older</a></li>\n        <li class=\"next\"><a href=\"#\">Newer &rarr;</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"pager\">\n  <li class=\"previous\"><a href=\"#\">&larr; Older</a></li>\n  <li class=\"next\"><a href=\"#\">Newer &rarr;</a></li>\n</ul>\n{% endhighlight %}\n\n\n    <h3>Optional disabled state</h3>\n    <p>Pager links also use the general <code>.disabled</code> utility class from the pagination.</p>\n    <div class=\"bs-example\">\n      <ul class=\"pager\">\n        <li class=\"previous disabled\"><a href=\"#\">&larr; Older</a></li>\n        <li class=\"next\"><a href=\"#\">Newer &rarr;</a></li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"pager\">\n  <li class=\"previous disabled\"><a href=\"#\">&larr; Older</a></li>\n  <li class=\"next\"><a href=\"#\">Newer &rarr;</a></li>\n</ul>\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Labels\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"labels\">Labels</h1>\n    </div>\n    <p class=\"lead\"></p>\n\n    <h3>Example</h3>\n    <div class=\"bs-example\">\n      <h1>Example heading <span class=\"label label-default\">New</span></h1>\n      <h2>Example heading <span class=\"label label-default\">New</span></h2>\n      <h3>Example heading <span class=\"label label-default\">New</span></h3>\n      <h4>Example heading <span class=\"label label-default\">New</span></h4>\n      <h5>Example heading <span class=\"label label-default\">New</span></h5>\n      <h6>Example heading <span class=\"label label-default\">New</span></h6>\n    </div>\n{% highlight html %}\n<h3>Example heading <span class=\"label label-default\">New</span></h3>\n{% endhighlight %}\n\n    <h3>Available variations</h3>\n    <p>Add any of the below mentioned modifier classes to change the appearance of a label.</p>\n    <div class=\"bs-example\">\n      <span class=\"label label-default\">Default</span>\n      <span class=\"label label-primary\">Primary</span>\n      <span class=\"label label-success\">Success</span>\n      <span class=\"label label-info\">Info</span>\n      <span class=\"label label-warning\">Warning</span>\n      <span class=\"label label-danger\">Danger</span>\n    </div>\n{% highlight html %}\n<span class=\"label label-default\">Default</span>\n<span class=\"label label-primary\">Primary</span>\n<span class=\"label label-success\">Success</span>\n<span class=\"label label-info\">Info</span>\n<span class=\"label label-warning\">Warning</span>\n<span class=\"label label-danger\">Danger</span>\n{% endhighlight %}\n\n  </div>\n\n\n\n  <!-- Badges\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"badges\">Badges</h1>\n    </div>\n    <p class=\"lead\">Easily highlight new or unread items by adding a <code>&lt;span class=\"badge\"&gt;</code> to links, Bootstrap navs, and more.</p>\n\n    <div class=\"bs-example\">\n      <a href=\"#\">Inbox <span class=\"badge\">42</span></a>\n    </div>\n{% highlight html %}\n<a href=\"#\">Inbox <span class=\"badge\">42</span></a>\n{% endhighlight %}\n\n    <h4>Self collapsing</h4>\n    <p>When there are no new or unread items, badges will simply collapse (via CSS's <code>:empty</code> selector) provided no content exists within.</p>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Cross-browser compatibility</h4>\n      <p>Badges won't self collapse in Internet Explorer 8 because it lacks support for the <code>:empty</code> selector.</p>\n    </div>\n\n    <h4>Adapts to active nav states</h4>\n    <p>Built-in styles are included for placing badges in active states in pill and list navigations.</p>\n    <div class=\"bs-example\">\n      <ul class=\"nav nav-pills\">\n        <li class=\"active\"><a href=\"#\">Home <span class=\"badge\">42</span></a></li>\n        <li><a href=\"#\">Profile</a></li>\n        <li><a href=\"#\">Messages <span class=\"badge\">3</span></a></li>\n      </ul>\n      <br>\n      <ul class=\"nav nav-pills nav-stacked\" style=\"max-width: 260px;\">\n        <li class=\"active\">\n          <a href=\"#\">\n            <span class=\"badge pull-right\">42</span>\n            Home\n          </a>\n        </li>\n        <li><a href=\"#\">Profile</a></li>\n        <li>\n          <a href=\"#\">\n            <span class=\"badge pull-right\">3</span>\n            Messages\n          </a>\n        </li>\n      </ul>\n      <br>\n      <button class=\"btn btn-primary\" type=\"button\">\n        Messages <span class=\"badge\">4</span>\n      </button>\n    </div>\n{% highlight html %}\n<ul class=\"nav nav-pills nav-stacked\">\n  <li class=\"active\">\n    <a href=\"#\">\n      <span class=\"badge pull-right\">42</span>\n      Home\n    </a>\n  </li>\n  ...\n</ul>\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Jumbotron\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"jumbotron\">Jumbotron</h1>\n    </div>\n    <p>A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.</p>\n    <div class=\"bs-example\">\n      <div class=\"jumbotron\">\n        <h1>Hello, world!</h1>\n        <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>\n        <p><a class=\"btn btn-primary btn-lg\" role=\"button\">Learn more</a></p>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"jumbotron\">\n  <h1>Hello, world!</h1>\n  <p>...</p>\n  <p><a class=\"btn btn-primary btn-lg\" role=\"button\">Learn more</a></p>\n</div>\n{% endhighlight %}\n    <p>To make the jumbotron full width, and without rounded corners, place it outside all <code>.container</code>s and instead add a <code>.container</code> within.</p>\n{% highlight html %}\n<div class=\"jumbotron\">\n  <div class=\"container\">\n    ...\n  </div>\n</div>\n{% endhighlight %}\n\n  </div>\n\n\n\n  <!-- Page header\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"page-header\">Page header</h1>\n    </div>\n    <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code> element, as well as most other components (with additional styles).</p>\n    <div class=\"bs-example\">\n      <div class=\"page-header\">\n        <h1>Example page header <small>Subtext for header</small></h1>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"page-header\">\n  <h1>Example page header <small>Subtext for header</small></h1>\n</div>\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Thumbnails\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"thumbnails\">Thumbnails</h1>\n    </div>\n    <p class=\"lead\">Extend Bootstrap's <a href=\"../css/#grid\">grid system</a> with the thumbnail component to easily display grids of images, videos, text, and more.</p>\n\n    <h3 id=\"thumbnails-default\">Default example</h3>\n    <p>By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.</p>\n    <div class=\"bs-example\">\n      <div class=\"row\">\n        <div class=\"col-xs-6 col-md-3\">\n          <a href=\"#\" class=\"thumbnail\">\n            <img data-src=\"holder.js/100%x180\" alt=\"Generic placeholder thumbnail\">\n          </a>\n        </div>\n        <div class=\"col-xs-6 col-md-3\">\n          <a href=\"#\" class=\"thumbnail\">\n            <img data-src=\"holder.js/100%x180\" alt=\"Generic placeholder thumbnail\">\n          </a>\n        </div>\n        <div class=\"col-xs-6 col-md-3\">\n          <a href=\"#\" class=\"thumbnail\">\n            <img data-src=\"holder.js/100%x180\" alt=\"Generic placeholder thumbnail\">\n          </a>\n        </div>\n        <div class=\"col-xs-6 col-md-3\">\n          <a href=\"#\" class=\"thumbnail\">\n            <img data-src=\"holder.js/100%x180\" alt=\"Generic placeholder thumbnail\">\n          </a>\n        </div>\n      </div>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-xs-6 col-md-3\">\n    <a href=\"#\" class=\"thumbnail\">\n      <img data-src=\"holder.js/100%x180\" alt=\"...\">\n    </a>\n  </div>\n  ...\n</div>\n{% endhighlight %}\n\n    <h3 id=\"thumbnails-custom-content\">Custom content</h3>\n    <p>With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.</p>\n    <div class=\"bs-example\">\n      <div class=\"row\">\n        <div class=\"col-sm-6 col-md-4\">\n          <div class=\"thumbnail\">\n            <img data-src=\"holder.js/300x200\" alt=\"Generic placeholder thumbnail\">\n            <div class=\"caption\">\n              <h3>Thumbnail label</h3>\n              <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>\n              <p><a href=\"#\" class=\"btn btn-primary\" role=\"button\">Button</a> <a href=\"#\" class=\"btn btn-default\" role=\"button\">Button</a></p>\n            </div>\n          </div>\n        </div>\n        <div class=\"col-sm-6 col-md-4\">\n          <div class=\"thumbnail\">\n            <img data-src=\"holder.js/300x200\" alt=\"Generic placeholder thumbnail\">\n            <div class=\"caption\">\n              <h3>Thumbnail label</h3>\n              <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>\n              <p><a href=\"#\" class=\"btn btn-primary\" role=\"button\">Button</a> <a href=\"#\" class=\"btn btn-default\" role=\"button\">Button</a></p>\n            </div>\n          </div>\n        </div>\n        <div class=\"col-sm-6 col-md-4\">\n          <div class=\"thumbnail\">\n            <img data-src=\"holder.js/300x200\" alt=\"Generic placeholder thumbnail\">\n            <div class=\"caption\">\n              <h3>Thumbnail label</h3>\n              <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>\n              <p><a href=\"#\" class=\"btn btn-primary\" role=\"button\">Button</a> <a href=\"#\" class=\"btn btn-default\" role=\"button\">Button</a></p>\n            </div>\n          </div>\n        </div>\n      </div>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-sm-6 col-md-4\">\n    <div class=\"thumbnail\">\n      <img data-src=\"holder.js/300x200\" alt=\"...\">\n      <div class=\"caption\">\n        <h3>Thumbnail label</h3>\n        <p>...</p>\n        <p><a href=\"#\" class=\"btn btn-primary\" role=\"button\">Button</a> <a href=\"#\" class=\"btn btn-default\" role=\"button\">Button</a></p>\n      </div>\n    </div>\n  </div>\n</div>\n{% endhighlight %}\n  </div>\n\n\n\n\n  <!-- Alerts\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"alerts\">Alerts</h1>\n    </div>\n    <p class=\"lead\">Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. For inline dismissal, use the <a href=\"../javascript/#alerts\">alerts jQuery plugin</a>.</p>\n\n    <h2 id=\"alerts-examples\">Examples</h2>\n    <p>Wrap any text and an optional dismiss button in <code>.alert</code> and one of the four contextual classes (e.g., <code>.alert-success</code>) for basic alert messages.</p>\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>No default class</h4>\n      <p>Alerts don't have default classes, only base and modifier classes. A default gray alert doesn't make too much sense, so you're required to specify a type via contextual class. Choose from success, info, warning, or danger.</p>\n    </div>\n\n    <div class=\"bs-example\">\n      <div class=\"alert alert-success\">\n        <strong>Well done!</strong> You successfully read this important alert message.\n      </div>\n      <div class=\"alert alert-info\">\n        <strong>Heads up!</strong> This alert needs your attention, but it's not super important.\n      </div>\n      <div class=\"alert alert-warning\">\n        <strong>Warning!</strong> Best check yo self, you're not looking too good.\n      </div>\n      <div class=\"alert alert-danger\">\n        <strong>Oh snap!</strong> Change a few things up and try submitting again.\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"alert alert-success\">...</div>\n<div class=\"alert alert-info\">...</div>\n<div class=\"alert alert-warning\">...</div>\n<div class=\"alert alert-danger\">...</div>\n{% endhighlight %}\n\n    <h2 id=\"alerts-dismissable\">Dismissable alerts</h2>\n    <p>Build on any alert by adding an optional <code>.alert-dismissable</code> and close button.</p>\n    <div class=\"bs-example\">\n      <div class=\"alert alert-warning alert-dismissable\">\n        <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>\n        <strong>Warning!</strong> Best check yo self, you're not looking too good.\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"alert alert-warning alert-dismissable\">\n  <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>\n  <strong>Warning!</strong> Best check yo self, you're not looking too good.\n</div>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Ensure proper behavior across all devices</h4>\n      <p>Be sure to use the <code>&lt;button&gt;</code> element with the <code>data-dismiss=\"alert\"</code> data attribute.</p>\n    </div>\n\n    <h2 id=\"alerts-links\">Links in alerts</h2>\n    <p>Use the <code>.alert-link</code> utility class to quickly provide matching colored links within any alert.</p>\n    <div class=\"bs-example\">\n      <div class=\"alert alert-success\">\n        <strong>Well done!</strong> You successfully read <a href=\"#\" class=\"alert-link\">this important alert message</a>.\n      </div>\n      <div class=\"alert alert-info\">\n        <strong>Heads up!</strong> This <a href=\"#\" class=\"alert-link\">alert needs your attention</a>, but it's not super important.\n      </div>\n      <div class=\"alert alert-warning\">\n        <strong>Warning!</strong> Best check yo self, you're <a href=\"#\" class=\"alert-link\">not looking too good</a>.\n      </div>\n      <div class=\"alert alert-danger\">\n        <strong>Oh snap!</strong> <a href=\"#\" class=\"alert-link\">Change a few things up</a> and try submitting again.\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"alert alert-success\">\n  <a href=\"#\" class=\"alert-link\">...</a>\n</div>\n<div class=\"alert alert-info\">\n  <a href=\"#\" class=\"alert-link\">...</a>\n</div>\n<div class=\"alert alert-warning\">\n  <a href=\"#\" class=\"alert-link\">...</a>\n</div>\n<div class=\"alert alert-danger\">\n  <a href=\"#\" class=\"alert-link\">...</a>\n</div>\n{% endhighlight %}\n  </div>\n\n\n\n\n  <!-- Progress bars\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"progress\">Progress bars</h1>\n    </div>\n    <p class=\"lead\">Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.</p>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Cross-browser compatibility</h4>\n      <p>Progress bars use CSS3 transitions and animations to achieve some of their effects. These features are not supported in Internet Explorer 9 and below or older versions of Firefox. Opera 12 does not support animations.</p>\n    </div>\n\n    <h3 id=\"progress-basic\">Basic example</h3>\n    <p>Default progress bar.</p>\n    <div class=\"bs-example\">\n      <div class=\"progress\">\n        <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 60%;\">\n          <span class=\"sr-only\">60% Complete</span>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"progress\">\n  <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 60%;\">\n    <span class=\"sr-only\">60% Complete</span>\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"progress-alternatives\">Contextual alternatives</h3>\n    <p>Progress bars use some of the same button and alert classes for consistent styles.</p>\n    <div class=\"bs-example\">\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"40\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 40%\">\n          <span class=\"sr-only\">40% Complete (success)</span>\n        </div>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"20\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 20%\">\n          <span class=\"sr-only\">20% Complete</span>\n        </div>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 60%\">\n          <span class=\"sr-only\">60% Complete (warning)</span>\n        </div>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"80\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 80%\">\n          <span class=\"sr-only\">80% Complete (danger)</span>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"progress\">\n  <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"40\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 40%\">\n    <span class=\"sr-only\">40% Complete (success)</span>\n  </div>\n</div>\n<div class=\"progress\">\n  <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"20\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 20%\">\n    <span class=\"sr-only\">20% Complete</span>\n  </div>\n</div>\n<div class=\"progress\">\n  <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 60%\">\n    <span class=\"sr-only\">60% Complete (warning)</span>\n  </div>\n</div>\n<div class=\"progress\">\n  <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"80\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 80%\">\n    <span class=\"sr-only\">80% Complete</span>\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"progress-striped\">Striped</h3>\n    <p>Uses a gradient to create a striped effect. Not available in IE8.</p>\n    <div class=\"bs-example\">\n      <div class=\"progress progress-striped\" >\n        <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"40\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 40%\">\n          <span class=\"sr-only\">40% Complete (success)</span>\n        </div>\n      </div>\n      <div class=\"progress progress-striped\">\n        <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"20\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 20%\">\n          <span class=\"sr-only\">20% Complete</span>\n        </div>\n      </div>\n      <div class=\"progress progress-striped\">\n        <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 60%\">\n          <span class=\"sr-only\">60% Complete (warning)</span>\n        </div>\n      </div>\n      <div class=\"progress progress-striped\">\n        <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"80\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 80%\">\n          <span class=\"sr-only\">80% Complete (danger)</span>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"progress progress-striped\">\n  <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"40\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 40%\">\n    <span class=\"sr-only\">40% Complete (success)</span>\n  </div>\n</div>\n<div class=\"progress progress-striped\">\n  <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"20\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 20%\">\n    <span class=\"sr-only\">20% Complete</span>\n  </div>\n</div>\n<div class=\"progress progress-striped\">\n  <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 60%\">\n    <span class=\"sr-only\">60% Complete (warning)</span>\n  </div>\n</div>\n<div class=\"progress progress-striped\">\n  <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"80\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 80%\">\n    <span class=\"sr-only\">80% Complete (danger)</span>\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"progress-animated\">Animated</h3>\n    <p>Add <code>.active</code> to <code>.progress-striped</code> to animate the stripes right to left. Not available in all versions of IE.</p>\n    <div class=\"bs-example\">\n      <div class=\"progress progress-striped active\">\n        <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"45\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 45%\"><span class=\"sr-only\">45% Complete</span></div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"progress progress-striped active\">\n  <div class=\"progress-bar\"  role=\"progressbar\" aria-valuenow=\"45\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 45%\">\n    <span class=\"sr-only\">45% Complete</span>\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"progress-stacked\">Stacked</h3>\n    <p>Place multiple bars into the same <code>.progress</code> to stack them.</p>\n    <div class=\"bs-example\">\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-success\" style=\"width: 35%\">\n          <span class=\"sr-only\">35% Complete (success)</span>\n        </div>\n        <div class=\"progress-bar progress-bar-warning\" style=\"width: 20%\">\n          <span class=\"sr-only\">20% Complete (warning)</span>\n        </div>\n        <div class=\"progress-bar progress-bar-danger\" style=\"width: 10%\">\n          <span class=\"sr-only\">10% Complete (danger)</span>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"progress\">\n  <div class=\"progress-bar progress-bar-success\" style=\"width: 35%\">\n    <span class=\"sr-only\">35% Complete (success)</span>\n  </div>\n  <div class=\"progress-bar progress-bar-warning\" style=\"width: 20%\">\n    <span class=\"sr-only\">20% Complete (warning)</span>\n  </div>\n  <div class=\"progress-bar progress-bar-danger\" style=\"width: 10%\">\n    <span class=\"sr-only\">10% Complete (danger)</span>\n  </div>\n</div>\n{% endhighlight %}\n  </div>\n\n\n\n\n  <!-- Media object\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"media\">Media object</h1>\n    </div>\n    <p class=\"lead\">Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.</p>\n\n    <h3 id=\"media-default\">Default media</h3>\n    <p>The default media allow to float a media object (images, video, audio) to the left or right of a content block.</p>\n    <div class=\"bs-example\">\n      <div class=\"media\">\n        <a class=\"pull-left\" href=\"#\">\n          <img class=\"media-object\" data-src=\"holder.js/64x64\" alt=\"Generic placeholder image\">\n        </a>\n        <div class=\"media-body\">\n          <h4 class=\"media-heading\">Media heading</h4>\n          Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\n        </div>\n      </div>\n      <div class=\"media\">\n        <a class=\"pull-left\" href=\"#\">\n          <img class=\"media-object\" data-src=\"holder.js/64x64\" alt=\"Generic placeholder image\">\n        </a>\n        <div class=\"media-body\">\n          <h4 class=\"media-heading\">Media heading</h4>\n          Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\n          <div class=\"media\">\n            <a class=\"pull-left\" href=\"#\">\n              <img class=\"media-object\" data-src=\"holder.js/64x64\" alt=\"Generic placeholder image\">\n            </a>\n            <div class=\"media-body\">\n              <h4 class=\"media-heading\">Nested media heading</h4>\n              Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.\n            </div>\n          </div>\n        </div>\n      </div>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<div class=\"media\">\n  <a class=\"pull-left\" href=\"#\">\n    <img class=\"media-object\" src=\"...\" alt=\"...\">\n  </a>\n  <div class=\"media-body\">\n    <h4 class=\"media-heading\">Media heading</h4>\n    ...\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"media-list\">Media list</h3>\n    <p>With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).</p>\n    <div class=\"bs-example\">\n      <ul class=\"media-list\">\n        <li class=\"media\">\n          <a class=\"pull-left\" href=\"#\">\n            <img class=\"media-object\" data-src=\"holder.js/64x64\" alt=\"Generic placeholder image\">\n          </a>\n          <div class=\"media-body\">\n            <h4 class=\"media-heading\">Media heading</h4>\n            <p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p>\n            <!-- Nested media object -->\n            <div class=\"media\">\n              <a class=\"pull-left\" href=\"#\">\n                <img class=\"media-object\" data-src=\"holder.js/64x64\" alt=\"Generic placeholder image\">\n              </a>\n              <div class=\"media-body\">\n                <h4 class=\"media-heading\">Nested media heading</h4>\n                Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.\n                <!-- Nested media object -->\n                <div class=\"media\">\n                  <a class=\"pull-left\" href=\"#\">\n                    <img class=\"media-object\" data-src=\"holder.js/64x64\" alt=\"Generic placeholder image\">\n                  </a>\n                  <div class=\"media-body\">\n                    <h4 class=\"media-heading\">Nested media heading</h4>\n                    Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.\n                  </div>\n                </div>\n              </div>\n            </div>\n            <!-- Nested media object -->\n            <div class=\"media\">\n              <a class=\"pull-left\" href=\"#\">\n                <img class=\"media-object\" data-src=\"holder.js/64x64\" alt=\"Generic placeholder image\">\n              </a>\n              <div class=\"media-body\">\n                <h4 class=\"media-heading\">Nested media heading</h4>\n                Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.\n              </div>\n            </div>\n          </div>\n        </li>\n        <li class=\"media\">\n          <a class=\"pull-right\" href=\"#\">\n            <img class=\"media-object\" data-src=\"holder.js/64x64\" alt=\"Generic placeholder image\">\n          </a>\n          <div class=\"media-body\">\n            <h4 class=\"media-heading\">Media heading</h4>\n            Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.\n          </div>\n        </li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"media-list\">\n  <li class=\"media\">\n    <a class=\"pull-left\" href=\"#\">\n      <img class=\"media-object\" src=\"...\" alt=\"...\">\n    </a>\n    <div class=\"media-body\">\n      <h4 class=\"media-heading\">Media heading</h4>\n      ...\n    </div>\n  </li>\n</ul>\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- List group\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"list-group\">List group</h1>\n    </div>\n    <p class=\"lead\">List groups are a flexible and powerful component for displaying not only simple lists of elements, but complex ones with custom content.</p>\n\n    <h3 id=\"list-group-basic\">Basic example</h3>\n    <p>The most basic list group is simply an unordered list with list items, and the proper classes. Build upon it with the options that follow, or your own CSS as needed.</p>\n    <div class=\"bs-example\">\n      <ul class=\"list-group\">\n        <li class=\"list-group-item\">Cras justo odio</li>\n        <li class=\"list-group-item\">Dapibus ac facilisis in</li>\n        <li class=\"list-group-item\">Morbi leo risus</li>\n        <li class=\"list-group-item\">Porta ac consectetur ac</li>\n        <li class=\"list-group-item\">Vestibulum at eros</li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"list-group\">\n  <li class=\"list-group-item\">Cras justo odio</li>\n  <li class=\"list-group-item\">Dapibus ac facilisis in</li>\n  <li class=\"list-group-item\">Morbi leo risus</li>\n  <li class=\"list-group-item\">Porta ac consectetur ac</li>\n  <li class=\"list-group-item\">Vestibulum at eros</li>\n</ul>\n{% endhighlight %}\n\n    <h3 id=\"list-group-badges\">Badges</h3>\n    <p>Add the badges component to any list group item and it will automatically be positioned on the right.</p>\n    <div class=\"bs-example\">\n      <ul class=\"list-group\">\n        <li class=\"list-group-item\">\n          <span class=\"badge\">14</span>\n          Cras justo odio\n        </li>\n        <li class=\"list-group-item\">\n          <span class=\"badge\">2</span>\n          Dapibus ac facilisis in\n        </li>\n        <li class=\"list-group-item\">\n          <span class=\"badge\">1</span>\n          Morbi leo risus\n        </li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"list-group\">\n  <li class=\"list-group-item\">\n    <span class=\"badge\">14</span>\n    Cras justo odio\n  </li>\n</ul>\n{% endhighlight %}\n\n    <h3 id=\"list-group-linked\">Linked items</h3>\n    <p>Linkify list group items by using anchor tags instead of list items (that also means a parent <code>&lt;div&gt;</code> instead of an <code>&lt;ul&gt;</code>). No need for individual parents around each element.</p>\n    <div class=\"bs-example\">\n      <div class=\"list-group\">\n        <a href=\"#\" class=\"list-group-item active\">\n          Cras justo odio\n        </a>\n        <a href=\"#\" class=\"list-group-item\">Dapibus ac facilisis in</a>\n        <a href=\"#\" class=\"list-group-item\">Morbi leo risus</a>\n        <a href=\"#\" class=\"list-group-item\">Porta ac consectetur ac</a>\n        <a href=\"#\" class=\"list-group-item\">Vestibulum at eros</a>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"list-group\">\n  <a href=\"#\" class=\"list-group-item active\">\n    Cras justo odio\n  </a>\n  <a href=\"#\" class=\"list-group-item\">Dapibus ac facilisis in</a>\n  <a href=\"#\" class=\"list-group-item\">Morbi leo risus</a>\n  <a href=\"#\" class=\"list-group-item\">Porta ac consectetur ac</a>\n  <a href=\"#\" class=\"list-group-item\">Vestibulum at eros</a>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"list-group-custom-content\">Custom content</h3>\n    <p>Add nearly any HTML within, even for linked list groups like the one below.</p>\n    <div class=\"bs-example\">\n      <div class=\"list-group\">\n        <a href=\"#\" class=\"list-group-item active\">\n          <h4 class=\"list-group-item-heading\">List group item heading</h4>\n          <p class=\"list-group-item-text\">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n        </a>\n        <a href=\"#\" class=\"list-group-item\">\n          <h4 class=\"list-group-item-heading\">List group item heading</h4>\n          <p class=\"list-group-item-text\">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n        </a>\n        <a href=\"#\" class=\"list-group-item\">\n          <h4 class=\"list-group-item-heading\">List group item heading</h4>\n          <p class=\"list-group-item-text\">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n        </a>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"list-group\">\n  <a href=\"#\" class=\"list-group-item active\">\n    <h4 class=\"list-group-item-heading\">List group item heading</h4>\n    <p class=\"list-group-item-text\">...</p>\n  </a>\n</div>\n{% endhighlight %}\n  </div>\n\n\n\n\n  <!-- Panels\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"panels\">Panels</h1>\n    </div>\n    <p class=\"lead\">While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.</p>\n\n    <h3 id=\"panels-basic\">Basic example</h3>\n    <p>By default, all the <code>.panel</code> does is apply some basic border and padding to contain some content.</p>\n    <div class=\"bs-example\">\n      <div class=\"panel panel-default\">\n        <div class=\"panel-body\">\n          Basic panel example\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"panel panel-default\">\n  <div class=\"panel-body\">\n    Basic panel example\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"panels-heading\">Panel with heading</h3>\n    <p>Easily add a heading container to your panel with <code>.panel-heading</code>. You may also include any <code>&lt;h1&gt;</code>-<code>&lt;h6&gt;</code> with a <code>.panel-title</code> class to add a pre-styled heading.</p>\n    <div class=\"bs-example\">\n      <div class=\"panel panel-default\">\n        <div class=\"panel-heading\">Panel heading without title</div>\n        <div class=\"panel-body\">\n          Panel content\n        </div>\n      </div>\n      <div class=\"panel panel-default\">\n        <div class=\"panel-heading\">\n          <h3 class=\"panel-title\">Panel title</h3>\n        </div>\n        <div class=\"panel-body\">\n          Panel content\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"panel panel-default\">\n  <div class=\"panel-heading\">Panel heading without title</div>\n  <div class=\"panel-body\">\n    Panel content\n  </div>\n</div>\n\n<div class=\"panel panel-default\">\n  <div class=\"panel-heading\">\n    <h3 class=\"panel-title\">Panel title</h3>\n  </div>\n  <div class=\"panel-body\">\n    Panel content\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"panels-footer\">Panel with footer</h3>\n    <p>Wrap buttons or secondary text in <code>.panel-footer</code>. Note that panel footers <strong>do not</strong> inherit colors and borders when using contextual variations as they are not meant to be in the foreground.</p>\n    <div class=\"bs-example\">\n      <div class=\"panel panel-default\">\n        <div class=\"panel-body\">\n          Panel content\n        </div>\n        <div class=\"panel-footer\">Panel footer</div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"panel panel-default\">\n  <div class=\"panel-body\">\n    Panel content\n  </div>\n  <div class=\"panel-footer\">Panel footer</div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"panels-alternatives\">Contextual alternatives</h3>\n    <p>Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.</p>\n    <div class=\"bs-example\">\n      <div class=\"panel panel-primary\">\n        <div class=\"panel-heading\">\n          <h3 class=\"panel-title\">Panel title</h3>\n        </div>\n        <div class=\"panel-body\">\n          Panel content\n        </div>\n      </div>\n      <div class=\"panel panel-success\">\n        <div class=\"panel-heading\">\n          <h3 class=\"panel-title\">Panel title</h3>\n        </div>\n        <div class=\"panel-body\">\n          Panel content\n        </div>\n      </div>\n      <div class=\"panel panel-info\">\n        <div class=\"panel-heading\">\n          <h3 class=\"panel-title\">Panel title</h3>\n        </div>\n        <div class=\"panel-body\">\n          Panel content\n        </div>\n      </div>\n      <div class=\"panel panel-warning\">\n        <div class=\"panel-heading\">\n          <h3 class=\"panel-title\">Panel title</h3>\n        </div>\n        <div class=\"panel-body\">\n          Panel content\n        </div>\n      </div>\n      <div class=\"panel panel-danger\">\n        <div class=\"panel-heading\">\n          <h3 class=\"panel-title\">Panel title</h3>\n        </div>\n        <div class=\"panel-body\">\n          Panel content\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"panel panel-primary\">...</div>\n<div class=\"panel panel-success\">...</div>\n<div class=\"panel panel-info\">...</div>\n<div class=\"panel panel-warning\">...</div>\n<div class=\"panel panel-danger\">...</div>\n{% endhighlight %}\n\n    <h3 id=\"panels-tables\">With tables</h3>\n    <p>Add any non-bordered <code>.table</code> within a panel for a seamless design. If there is a <code>.panel-body</code>, we add an extra border to the top of the table for separation.</p>\n    <div class=\"bs-example\">\n      <div class=\"panel panel-default\">\n        <!-- Default panel contents -->\n        <div class=\"panel-heading\">Panel heading</div>\n        <div class=\"panel-body\">\n          <p>Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>\n        </div>\n\n        <!-- Table -->\n        <table class=\"table\">\n          <thead>\n            <tr>\n              <th>#</th>\n              <th>First Name</th>\n              <th>Last Name</th>\n              <th>Username</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <td>1</td>\n              <td>Mark</td>\n              <td>Otto</td>\n              <td>@mdo</td>\n            </tr>\n            <tr>\n              <td>2</td>\n              <td>Jacob</td>\n              <td>Thornton</td>\n              <td>@fat</td>\n            </tr>\n            <tr>\n              <td>3</td>\n              <td>Larry</td>\n              <td>the Bird</td>\n              <td>@twitter</td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"panel panel-default\">\n  <!-- Default panel contents -->\n  <div class=\"panel-heading\">Panel heading</div>\n  <div class=\"panel-body\">\n    <p>...</p>\n  </div>\n\n  <!-- Table -->\n  <table class=\"table\">\n    ...\n  </table>\n</div>\n{% endhighlight %}\n\n    <p>If there is no panel body, the component moves from panel header to table without interruption.</p>\n    <div class=\"bs-example\">\n      <div class=\"panel panel-default\">\n        <!-- Default panel contents -->\n        <div class=\"panel-heading\">Panel heading</div>\n\n        <!-- Table -->\n        <table class=\"table\">\n          <thead>\n            <tr>\n              <th>#</th>\n              <th>First Name</th>\n              <th>Last Name</th>\n              <th>Username</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <td>1</td>\n              <td>Mark</td>\n              <td>Otto</td>\n              <td>@mdo</td>\n            </tr>\n            <tr>\n              <td>2</td>\n              <td>Jacob</td>\n              <td>Thornton</td>\n              <td>@fat</td>\n            </tr>\n            <tr>\n              <td>3</td>\n              <td>Larry</td>\n              <td>the Bird</td>\n              <td>@twitter</td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"panel panel-default\">\n  <!-- Default panel contents -->\n  <div class=\"panel-heading\">Panel heading</div>\n\n  <!-- Table -->\n  <table class=\"table\">\n    ...\n  </table>\n</div>\n{% endhighlight %}\n\n\n\n    <h3 id=\"panels-list-group\">With list groups</h3>\n    <p>Easily include full-width <a href=\"#list-group\">list groups</a> within any panel.</p>\n    <div class=\"bs-example\">\n      <div class=\"panel panel-default\">\n        <!-- Default panel contents -->\n        <div class=\"panel-heading\">Panel heading</div>\n        <div class=\"panel-body\">\n          <p>Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>\n        </div>\n\n        <!-- List group -->\n        <ul class=\"list-group\">\n          <li class=\"list-group-item\">Cras justo odio</li>\n          <li class=\"list-group-item\">Dapibus ac facilisis in</li>\n          <li class=\"list-group-item\">Morbi leo risus</li>\n          <li class=\"list-group-item\">Porta ac consectetur ac</li>\n          <li class=\"list-group-item\">Vestibulum at eros</li>\n        </ul>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"panel panel-default\">\n  <!-- Default panel contents -->\n  <div class=\"panel-heading\">Panel heading</div>\n  <div class=\"panel-body\">\n    <p>...</p>\n  </div>\n\n  <!-- List group -->\n  <ul class=\"list-group\">\n    <li class=\"list-group-item\">Cras justo odio</li>\n    <li class=\"list-group-item\">Dapibus ac facilisis in</li>\n    <li class=\"list-group-item\">Morbi leo risus</li>\n    <li class=\"list-group-item\">Porta ac consectetur ac</li>\n    <li class=\"list-group-item\">Vestibulum at eros</li>\n  </ul>\n</div>\n{% endhighlight %}\n\n  </div>\n\n\n\n\n\n  <!-- Wells\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"wells\">Wells</h1>\n    </div>\n\n    <h3>Default well</h3>\n    <p>Use the well as a simple effect on an element to give it an inset effect.</p>\n    <div class=\"bs-example\">\n      <div class=\"well\">\n        Look, I'm in a well!\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"well\">...</div>\n{% endhighlight %}\n    <h3>Optional classes</h3>\n    <p>Control padding and rounded corners with two optional modifier classes.</p>\n    <div class=\"bs-example\">\n      <div class=\"well well-lg\">\n        Look, I'm in a large well!\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"well well-lg\">...</div>\n{% endhighlight %}\n\n    <div class=\"bs-example\">\n      <div class=\"well well-sm\">\n        Look, I'm in a small well!\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"well well-sm\">...</div>\n{% endhighlight %}\n  </div>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/composer.json",
    "content": "{\n    \"name\": \"twbs/bootstrap\"\n  , \"description\": \"Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.\"\n  , \"keywords\": [\"bootstrap\", \"css\"]\n  , \"homepage\": \"http://getbootstrap.com\"\n  , \"authors\": [\n      {\n        \"name\": \"Mark Otto\",\n        \"email\": \"markdotto@gmail.com\"\n      },\n      {\n        \"name\": \"Jacob Thornton\",\n        \"email\": \"jacobthornton@gmail.com\"\n      }\n    ]\n  , \"support\": {\n      \"issues\": \"https://github.com/twbs/bootstrap/issues\"\n    }\n  , \"license\": \"Apache-2.0\"\n  , \"extra\": {\n      \"branch-alias\": {\n        \"dev-master\": \"3.0.x-dev\"\n      }\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/css.html",
    "content": "---\nlayout: default\ntitle: CSS\nslug: css\nlead: \"Global CSS settings, fundamental HTML elements styled and enhanced with extensible classes, and an advanced grid system.\"\nbase_url: \"../\"\n---\n\n\n  <!-- Global Bootstrap settings\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"overview\">Overview</h1>\n    </div>\n    <p class=\"lead\">Get the lowdown on the key pieces of Bootstrap's infrastructure, including our approach to better, faster, stronger web development.</p>\n\n    <h3 id=\"overview-doctype\">HTML5 doctype</h3>\n    <p>Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.</p>\n{% highlight html %}\n<!DOCTYPE html>\n<html lang=\"en\">\n  ...\n</html>\n{% endhighlight %}\n\n    <h3 id=\"overview-mobile\">Mobile first</h3>\n    <p>With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework. With Bootstrap 3, we've rewritten the project to be mobile friendly from the start. Instead of adding on optional mobile styles, they're baked right into the core. In fact, <strong>Bootstrap is mobile first</strong>. Mobile first styles can be found throughout the entire library instead of in separate files.</p>\n    <p>To ensure proper rendering and touch zooming, <strong>add the viewport meta tag</strong> to your <code>&lt;head&gt;</code>.</p>\n{% highlight html %}\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n{% endhighlight %}\n    <p>You can disable zooming capabilities on mobile devices by adding <code>user-scalable=no</code> to the viewport meta tag. This disables zooming, meaning users are only able to scroll, and results in your site feeling a bit more like a native application. Overall we don't recommend this on every site, so use caution!</p>\n{% highlight html %}\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\">\n{% endhighlight %}\n\n    <h3 id=\"overview-responsive-images\">Responsive images</h3>\n    <p>Images in Bootstrap 3 can be made responsive-friendly via the addition of the <code>.img-responsive</code> class. This applies <code>max-width: 100%;</code> and <code>height: auto;</code> to the image so that it scales nicely to the parent element.</p>\n{% highlight html %}\n<img src=\"...\" class=\"img-responsive\" alt=\"Responsive image\">\n{% endhighlight %}\n\n    <h3 id=\"overview-type-links\">Typography and links</h3>\n    <p>Bootstrap sets basic global display, typography, and link styles. Specifically, we:</p>\n    <ul>\n      <li>Set <code>background-color: #fff;</code> on the <code>body</code></li>\n      <li>Use the <code>@font-family-base</code>, <code>@font-size-base</code>, and <code>@line-height-base</code> attributes as our typographic base</li>\n      <li>Set the global link color via <code>@link-color</code> and apply link underlines only on <code>:hover</code></li>\n    </ul>\n    <p>These styles can be found within <code>scaffolding.less</code>.</p>\n\n    <h3 id=\"overview-normalize\">Normalize</h3>\n    <p>For improved cross-browser rendering, we use <a href=\"http://necolas.github.io/normalize.css/\" target=\"_blank\">Normalize</a>, a project by <a href=\"http://twitter.com/necolas\" target=\"_blank\">Nicolas Gallagher</a> and <a href=\"http://twitter.com/jon_neal\" target=\"_blank\">Jonathan Neal</a>.</p>\n\n    <h3 id=\"overview-container\">Containers</h3>\n    <p>Easily center a page's contents by wrapping its contents in a <code>.container</code>. Containers set <code>width</code> at various media query breakpoints to match our grid system.</p>\n    <p>Note that, due to <code>padding</code> and fixed widths, containers are not nestable by default.</p>\n{% highlight html %}\n<div class=\"container\">\n  ...\n</div>\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Grid system\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"grid\">Grid system</h1>\n    </div>\n    <p class=\"lead\">Bootstrap includes a responsive, mobile first fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases. It includes <a href=\"#grid-example-basic\">predefined classes</a> for easy layout options, as well as powerful <a href=\"#grid-less\">mixins for generating more semantic layouts</a>.</p>\n\n    <h3 id=\"grid-intro\">Introduction</h3>\n    <p>Grid systems are used for creating page layouts through a series of rows and columns that house your content. Here's how the Bootstrap grid system works:</p>\n    <ul>\n      <li>Rows must be placed within a <code>.container</code> for proper alignment and padding.</li>\n      <li>Use rows to create horizontal groups of columns.</li>\n      <li>Content should be placed within columns, and only columns may be immediate children of rows.</li>\n      <li>Predefined grid classes like <code>.row</code> and <code>.col-xs-4</code> are available for quickly making grid layouts. LESS mixins can also be used for more semantic layouts.</li>\n      <li>Columns create gutters (gaps between column content) via <code>padding</code>. That padding is offset in rows for the first and last column via negative margin on <code>.row</code>s.</li>\n      <li>Grid columns are created by specifying the number of twelve available columns you wish to span. For example, three equal columns would use three <code>.col-xs-4</code>.</li>\n    </ul>\n    <p>Look to the examples for applying these principles to your code.</p>\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Grids and full-width layouts</h4>\n      <p>Folks looking to create fully fluid layouts (meaning your site stretches the entire width of the viewport) must wrap their grid content in a containing element with <code>padding: 0 15px;</code> to offset the <code>margin: 0 -15px;</code> used on <code>.row</code>s.</p>\n    </div>\n\n    <h3 id=\"grid-media-queries\">Media queries</h3>\n    <p>We use the following media queries in our LESS files to create the key breakpoints in our grid system.</p>\n{% highlight css %}\n/* Extra small devices (phones, less than 768px) */\n/* No media query since this is the default in Bootstrap */\n\n/* Small devices (tablets, 768px and up) */\n@media (min-width: @screen-sm-min) { ... }\n\n/* Medium devices (desktops, 992px and up) */\n@media (min-width: @screen-md-min) { ... }\n\n/* Large devices (large desktops, 1200px and up) */\n@media (min-width: @screen-lg-min) { ... }\n{% endhighlight %}\n    <p>We occasionally expand on these media queries to include a <code>max-width</code> to limit CSS to a narrower set of devices.</p>\n{% highlight css %}\n@media (max-width: @screen-xs-max) { ... }\n@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { ... }\n@media (min-width: @screen-md-min) and (max-width: @screen-md-max) { ... }\n@media (min-width: @screen-lg-min) { ... }\n{% endhighlight %}\n\n    <h3 id=\"grid-options\">Grid options</h3>\n    <p>See how aspects of the Bootstrap grid system work across multiple devices with a handy table.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n          <tr>\n            <th></th>\n            <th>\n              Extra small devices\n              <small>Phones (&lt;768px)</small>\n            </th>\n            <th>\n              Small devices\n              <small>Tablets (&ge;768px)</small>\n            </th>\n            <th>\n              Medium devices\n              <small>Desktops (&ge;992px)</small>\n            </th>\n            <th>\n              Large devices\n              <small>Desktops (&ge;1200px)</small>\n            </th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <th>Grid behavior</th>\n            <td>Horizontal at all times</td>\n            <td colspan=\"3\">Collapsed to start, horizontal above breakpoints</td>\n          </tr>\n          <tr>\n            <th>Max container width</th>\n            <td>None (auto)</td>\n            <td>750px</td>\n            <td>970px</td>\n            <td>1170px</td>\n          </tr>\n          <tr>\n            <th>Class prefix</th>\n            <td><code>.col-xs-</code></td>\n            <td><code>.col-sm-</code></td>\n            <td><code>.col-md-</code></td>\n            <td><code>.col-lg-</code></td>\n          </tr>\n          <tr>\n            <th># of columns</th>\n            <td colspan=\"4\">12</td>\n          </tr>\n          <tr>\n            <th>Max column width</th>\n            <td class=\"text-muted\">Auto</td>\n            <td>60px</td>\n            <td>78px</td>\n            <td>95px</td>\n          </tr>\n          <tr>\n            <th>Gutter width</th>\n            <td colspan=\"4\">30px (15px on each side of a column)</td>\n          </tr>\n          <tr>\n            <th>Nestable</th>\n            <td colspan=\"4\">Yes</td>\n          </tr>\n          <tr>\n            <th>Offsets</th>\n            <td colspan=\"4\">Yes</td>\n          </tr>\n          <tr>\n            <th>Column ordering</th>\n            <td colspan=\"4\">Yes</td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n    <p>Grid classes apply to devices with screen widths greater than or equal to the breakpoint sizes, and override grid classes targeted at smaller devices. Therefore, applying any <code>.col-md-</code> class to an element will not only affect its styling on medium devices but also on large devices if a <code>.col-lg-</code> class is not present.</p>\n\n    <h3 id=\"grid-example-basic\">Example: Stacked-to-horizontal</h3>\n    <p>Using a single set of <code>.col-md-*</code> grid classes, you can create a basic grid system that starts out stacked on mobile devices and tablet devices (the extra small to small range) before becoming horizontal on desktop (medium) devices. Place grid columns in any <code>.row</code>.</p>\n    <div class=\"bs-docs-grid\">\n      <div class=\"row show-grid\">\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n        <div class=\"col-md-1\">.col-md-1</div>\n      </div>\n      <div class=\"row show-grid\">\n        <div class=\"col-md-8\">.col-md-8</div>\n        <div class=\"col-md-4\">.col-md-4</div>\n      </div>\n      <div class=\"row show-grid\">\n        <div class=\"col-md-4\">.col-md-4</div>\n        <div class=\"col-md-4\">.col-md-4</div>\n        <div class=\"col-md-4\">.col-md-4</div>\n      </div>\n      <div class=\"row show-grid\">\n        <div class=\"col-md-6\">.col-md-6</div>\n        <div class=\"col-md-6\">.col-md-6</div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n  <div class=\"col-md-1\">.col-md-1</div>\n</div>\n<div class=\"row\">\n  <div class=\"col-md-8\">.col-md-8</div>\n  <div class=\"col-md-4\">.col-md-4</div>\n</div>\n<div class=\"row\">\n  <div class=\"col-md-4\">.col-md-4</div>\n  <div class=\"col-md-4\">.col-md-4</div>\n  <div class=\"col-md-4\">.col-md-4</div>\n</div>\n<div class=\"row\">\n  <div class=\"col-md-6\">.col-md-6</div>\n  <div class=\"col-md-6\">.col-md-6</div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"grid-example-mixed\">Example: Mobile and desktop</h3>\n    <p>Don't want your columns to simply stack in smaller devices? Use the extra small and medium device grid classes by adding <code>.col-xs-*</code> <code>.col-md-*</code> to your columns. See the example below for a better idea of how it all works.</p>\n    <div class=\"bs-docs-grid\">\n      <div class=\"row show-grid\">\n        <div class=\"col-xs-12 col-md-8\">.col-xs-12 .col-md-8</div>\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n      </div>\n      <div class=\"row show-grid\">\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n      </div>\n      <div class=\"row show-grid\">\n        <div class=\"col-xs-6\">.col-xs-6</div>\n        <div class=\"col-xs-6\">.col-xs-6</div>\n      </div>\n    </div>\n{% highlight html %}\n<!-- Stack the columns on mobile by making one full-width and the other half-width -->\n<div class=\"row\">\n  <div class=\"col-xs-12 col-md-8\">.col-xs-12 .col-md-8</div>\n  <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n</div>\n\n<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->\n<div class=\"row\">\n  <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n  <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n  <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n</div>\n\n<!-- Columns are always 50% wide, on mobile and desktop -->\n<div class=\"row\">\n  <div class=\"col-xs-6\">.col-xs-6</div>\n  <div class=\"col-xs-6\">.col-xs-6</div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"grid-example-mixed-complete\">Example: Mobile, tablet, desktops</h3>\n    <p>Build on the previous example by creating even more dynamic and powerful layouts with tablet <code>.col-sm-*</code> classes.</p>\n    <div class=\"bs-docs-grid\">\n      <div class=\"row show-grid\">\n        <div class=\"col-xs-12 col-sm-6 col-md-8\">.col-xs-12 .col-sm-6 .col-md-8</div>\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n      </div>\n      <div class=\"row show-grid\">\n        <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n        <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n        <!-- Optional: clear the XS cols if their content doesn't match in height -->\n        <div class=\"clearfix visible-xs\"></div>\n        <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-xs-12 col-sm-6 col-md-8\">.col-xs-12 .col-sm-6 .col-md-8</div>\n  <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n</div>\n<div class=\"row\">\n  <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n  <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n  <!-- Optional: clear the XS cols if their content doesn't match in height -->\n  <div class=\"clearfix visible-xs\"></div>\n  <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"grid-responsive-resets\">Responsive column resets</h3>\n    <p>With the four tiers of grids available you're bound to run into issues where, at certain breakpoints, your columns don't clear quite right as one is taller than the other. To fix that, use a combination of a <code>.clearfix</code> and our <a href=\"#responsive-utilities\">responsive utility classes</a>.</p>\n<div class=\"bs-docs-grid\">\n  <div class=\"row show-grid\">\n    <div class=\"col-xs-6 col-sm-3\">\n      .col-xs-6 .col-sm-3\n      <br>\n      Resize your viewport or check it out on your phone for an example.\n    </div>\n    <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n\n    <!-- Add the extra clearfix for only the required viewport -->\n    <div class=\"clearfix visible-xs\"></div>\n\n    <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n    <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n  </div>\n</div>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n  <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n\n  <!-- Add the extra clearfix for only the required viewport -->\n  <div class=\"clearfix visible-xs\"></div>\n\n  <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n  <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n</div>\n{% endhighlight %}\n    <p>In addition to column clearing at responsive breakpoints, you may need to <strong>reset offsets, pushes, or pulls</strong>. Those resets are available for medium and large grid tiers only, since they start only at the (second) small grid tier. See this in action in <a href=\"../examples/grid/\">the grid example</a>.</p>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-sm-5 col-md-6\">.col-sm-5 .col-md-6</div>\n  <div class=\"col-sm-5 col-sm-offset-2 col-md-6 col-md-offset-0\">.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0</div>\n</div>\n\n<div class=\"row\">\n  <div class=\"col-sm-6 col-md-5 col-lg-6\">.col-sm-6 .col-md-5 .col-lg-6</div>\n  <div class=\"col-sm-6 col-md-5 col-md-offset-2 col-lg-6 col-lg-offset-0\">.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0</div>\n</div>\n{% endhighlight %}\n\n\n    <h3 id=\"grid-offsetting\">Offsetting columns</h3>\n    <p>Move columns to the right using <code>.col-md-offset-*</code> classes. These classes increase the left margin of a column by <code>*</code> columns. For example, <code>.col-md-offset-4</code> moves <code>.col-md-4</code> over four columns.</p>\n    <div class=\"bs-docs-grid\">\n      <div class=\"row show-grid\">\n        <div class=\"col-md-4\">.col-md-4</div>\n        <div class=\"col-md-4 col-md-offset-4\">.col-md-4 .col-md-offset-4</div>\n      </div>\n      <div class=\"row show-grid\">\n        <div class=\"col-md-3 col-md-offset-3\">.col-md-3 .col-md-offset-3</div>\n        <div class=\"col-md-3 col-md-offset-3\">.col-md-3 .col-md-offset-3</div>\n      </div>\n      <div class=\"row show-grid\">\n        <div class=\"col-md-6 col-md-offset-3\">.col-md-6 .col-md-offset-3</div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-md-4\">.col-md-4</div>\n  <div class=\"col-md-4 col-md-offset-4\">.col-md-4 .col-md-offset-4</div>\n</div>\n<div class=\"row\">\n  <div class=\"col-md-3 col-md-offset-3\">.col-md-3 .col-md-offset-3</div>\n  <div class=\"col-md-3 col-md-offset-3\">.col-md-3 .col-md-offset-3</div>\n</div>\n<div class=\"row\">\n  <div class=\"col-md-6 col-md-offset-3\">.col-md-6 .col-md-offset-3</div>\n</div>\n{% endhighlight %}\n\n\n    <h3 id=\"grid-nesting\">Nesting columns</h3>\n    <p>To nest your content with the default grid, add a new <code>.row</code> and set of <code>.col-md-*</code> columns within an existing <code>.col-md-*</code> column. Nested rows should include a set of columns that add up to 12.</p>\n    <div class=\"row show-grid\">\n      <div class=\"col-md-9\">\n        Level 1: .col-md-9\n        <div class=\"row show-grid\">\n          <div class=\"col-md-6\">\n            Level 2: .col-md-6\n          </div>\n          <div class=\"col-md-6\">\n            Level 2: .col-md-6\n          </div>\n        </div>\n      </div>\n    </div>\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-md-9\">\n    Level 1: .col-md-9\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        Level 2: .col-md-6\n      </div>\n      <div class=\"col-md-6\">\n        Level 2: .col-md-6\n      </div>\n    </div>\n  </div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"grid-column-ordering\">Column ordering</h3>\n    <p>Easily change the order of our built-in grid columns with <code>.col-md-push-*</code> and <code>.col-md-pull-*</code> modifier classes.</p>\n    <div class=\"row show-grid\">\n      <div class=\"col-md-9 col-md-push-3\">.col-md-9 .col-md-push-3</div>\n      <div class=\"col-md-3 col-md-pull-9\">.col-md-3 .col-md-pull-9</div>\n    </div>\n\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-md-9 col-md-push-3\">.col-md-9 .col-md-push-3</div>\n  <div class=\"col-md-3 col-md-pull-9\">.col-md-3 .col-md-pull-9</div>\n</div>\n{% endhighlight %}\n\n    <h3 id=\"grid-less\">LESS mixins and variables</h3>\n    <p>In addition to <a href=\"#grid-example-basic\">prebuilt grid classes</a> for fast layouts, Bootstrap includes LESS variables and mixins for quickly generating your own simple, semantic layouts.</p>\n\n    <h4>Variables</h4>\n    <p>Variables determine the number of columns, the gutter width, and the media query point at which to begin floating columns. We use these to generate the predefined grid classes documented above, as well as for the custom mixins listed below.</p>\n{% highlight css %}\n@grid-columns:              12;\n@grid-gutter-width:         30px;\n@grid-float-breakpoint:     768px;\n{% endhighlight %}\n\n    <h4>Mixins</h4>\n    <p>Mixins are used in conjunction with the grid variables to generate semantic CSS for individual grid columns.</p>\n{% highlight css %}\n// Creates a wrapper for a series of columns\n.make-row(@gutter: @grid-gutter-width) {\n  // Then clear the floated columns\n  .clearfix();\n\n  @media (min-width: @screen-sm-min) {\n    margin-left:  (@gutter / -2);\n    margin-right: (@gutter / -2);\n  }\n\n  // Negative margin nested rows out to align the content of columns\n  .row {\n    margin-left:  (@gutter / -2);\n    margin-right: (@gutter / -2);\n  }\n}\n\n// Generate the extra small columns\n.make-xs-column(@columns; @gutter: @grid-gutter-width) {\n  position: relative;\n  // Prevent columns from collapsing when empty\n  min-height: 1px;\n  // Inner gutter via padding\n  padding-left:  (@gutter / 2);\n  padding-right: (@gutter / 2);\n\n  // Calculate width based on number of columns available\n  @media (min-width: @grid-float-breakpoint) {\n    float: left;\n    width: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the small columns\n.make-sm-column(@columns; @gutter: @grid-gutter-width) {\n  position: relative;\n  // Prevent columns from collapsing when empty\n  min-height: 1px;\n  // Inner gutter via padding\n  padding-left:  (@gutter / 2);\n  padding-right: (@gutter / 2);\n\n  // Calculate width based on number of columns available\n  @media (min-width: @screen-sm-min) {\n    float: left;\n    width: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the small column offsets\n.make-sm-column-offset(@columns) {\n  @media (min-width: @screen-sm-min) {\n    margin-left: percentage((@columns / @grid-columns));\n  }\n}\n.make-sm-column-push(@columns) {\n  @media (min-width: @screen-sm-min) {\n    left: percentage((@columns / @grid-columns));\n  }\n}\n.make-sm-column-pull(@columns) {\n  @media (min-width: @screen-sm-min) {\n    right: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the medium columns\n.make-md-column(@columns; @gutter: @grid-gutter-width) {\n  position: relative;\n  // Prevent columns from collapsing when empty\n  min-height: 1px;\n  // Inner gutter via padding\n  padding-left:  (@gutter / 2);\n  padding-right: (@gutter / 2);\n\n  // Calculate width based on number of columns available\n  @media (min-width: @screen-md-min) {\n    float: left;\n    width: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the medium column offsets\n.make-md-column-offset(@columns) {\n  @media (min-width: @screen-md-min) {\n    margin-left: percentage((@columns / @grid-columns));\n  }\n}\n.make-md-column-push(@columns) {\n  @media (min-width: @screen-md-min) {\n    left: percentage((@columns / @grid-columns));\n  }\n}\n.make-md-column-pull(@columns) {\n  @media (min-width: @screen-md-min) {\n    right: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the large columns\n.make-lg-column(@columns; @gutter: @grid-gutter-width) {\n  position: relative;\n  // Prevent columns from collapsing when empty\n  min-height: 1px;\n  // Inner gutter via padding\n  padding-left:  (@gutter / 2);\n  padding-right: (@gutter / 2);\n\n  // Calculate width based on number of columns available\n  @media (min-width: @screen-lg-min) {\n    float: left;\n    width: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the large column offsets\n.make-lg-column-offset(@columns) {\n  @media (min-width: @screen-lg-min) {\n    margin-left: percentage((@columns / @grid-columns));\n  }\n}\n.make-lg-column-push(@columns) {\n  @media (min-width: @screen-lg-min) {\n    left: percentage((@columns / @grid-columns));\n  }\n}\n.make-lg-column-pull(@columns) {\n  @media (min-width: @screen-lg-min) {\n    right: percentage((@columns / @grid-columns));\n  }\n}\n{% endhighlight %}\n\n    <h4>Example usage</h4>\n    <p>You can modify the variables to your own custom values, or just use the mixins with their default values. Here's an example of using the default settings to create a two-column layout with a gap between.</p>\n{% highlight css %}\n.wrapper {\n  .make-row();\n}\n.content-main {\n  .make-lg-column(8);\n}\n.content-secondary {\n  .make-lg-column(3);\n  .make-lg-column-offset(1);\n}\n{% endhighlight %}\n{% highlight html %}\n<div class=\"wrapper\">\n  <div class=\"content-main\">...</div>\n  <div class=\"content-secondary\">...</div>\n</div>\n{% endhighlight %}\n\n  </div>\n\n\n\n\n  <!-- Typography\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"type\">Typography</h1>\n    </div>\n\n    <!-- Headings -->\n    <h2 id=\"type-headings\">Headings</h2>\n    <p>All HTML headings, <code>&lt;h1&gt;</code> through <code>&lt;h6&gt;</code>, are available. <code>.h1</code> through <code>.h6</code> classes are also available, for when you want to match the font styling of a heading but still want your text to be displayed inline.</p>\n    <div class=\"bs-example bs-example-type\">\n      <table class=\"table\">\n        <tbody>\n          <tr>\n            <td><h1>h1. Bootstrap heading</h1></td>\n            <td class=\"info\">Semibold 36px</td>\n          </tr>\n          <tr>\n            <td><h2>h2. Bootstrap heading</h2></td>\n            <td class=\"info\">Semibold 30px</td>\n          </tr>\n          <tr>\n            <td><h3>h3. Bootstrap heading</h3></td>\n            <td class=\"info\">Semibold 24px</td>\n          </tr>\n          <tr>\n            <td><h4>h4. Bootstrap heading</h4></td>\n            <td class=\"info\">Semibold 18px</td>\n          </tr>\n          <tr>\n            <td><h5>h5. Bootstrap heading</h5></td>\n            <td class=\"info\">Semibold 14px</td>\n          </tr>\n          <tr>\n            <td><h6>h6. Bootstrap heading</h6></td>\n            <td class=\"info\">Semibold 12px</td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n{% highlight html %}\n<h1>h1. Bootstrap heading</h1>\n<h2>h2. Bootstrap heading</h2>\n<h3>h3. Bootstrap heading</h3>\n<h4>h4. Bootstrap heading</h4>\n<h5>h5. Bootstrap heading</h5>\n<h6>h6. Bootstrap heading</h6>\n{% endhighlight %}\n\n    <p>Create lighter, secondary text in any heading with a generic <code>&lt;small&gt;</code> tag or the <code>.small</code> class.</p>\n    <div class=\"bs-example bs-example-type\">\n      <table class=\"table\">\n        <tbody>\n          <tr>\n            <td><h1>h1. Bootstrap heading <small>Secondary text</small></h1></td>\n          </tr>\n          <tr>\n            <td><h2>h2. Bootstrap heading <small>Secondary text</small></h2></td>\n          </tr>\n          <tr>\n            <td><h3>h3. Bootstrap heading <small>Secondary text</small></h3></td>\n          </tr>\n          <tr>\n            <td><h4>h4. Bootstrap heading <small>Secondary text</small></h4></td>\n          </tr>\n          <tr>\n            <td><h5>h5. Bootstrap heading <small>Secondary text</small></h5></td>\n          </tr>\n          <tr>\n            <td><h6>h6. Bootstrap heading <small>Secondary text</small></h6></td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n{% highlight html %}\n<h1>h1. Bootstrap heading <small>Secondary text</small></h1>\n<h2>h2. Bootstrap heading <small>Secondary text</small></h2>\n<h3>h3. Bootstrap heading <small>Secondary text</small></h3>\n<h4>h4. Bootstrap heading <small>Secondary text</small></h4>\n<h5>h5. Bootstrap heading <small>Secondary text</small></h5>\n<h6>h6. Bootstrap heading <small>Secondary text</small></h6>\n{% endhighlight %}\n\n\n    <!-- Body copy -->\n    <h2 id=\"type-body-copy\">Body copy</h2>\n    <p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>1.428</strong>. This is applied to the <code>&lt;body&gt;</code> and all paragraphs. In addition, <code>&lt;p&gt;</code> (paragraphs) receive a bottom margin of half their computed line-height (10px by default).</p>\n    <div class=\"bs-example\">\n      <p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>\n      <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>\n      <p>Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>\n    </div>\n{% highlight html %}\n<p>...</p>\n{% endhighlight %}\n\n    <!-- Body copy .lead -->\n    <h3>Lead body copy</h3>\n    <p>Make a paragraph stand out by adding <code>.lead</code>.</p>\n    <div class=\"bs-example\">\n      <p class=\"lead\">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.</p>\n    </div>\n{% highlight html %}\n<p class=\"lead\">...</p>\n{% endhighlight %}\n\n    <!-- Using LESS -->\n    <h3>Built with Less</h3>\n    <p>The typographic scale is based on two LESS variables in <strong>variables.less</strong>: <code>@font-size-base</code> and <code>@line-height-base</code>. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more. Customize them and Bootstrap adapts.</p>\n\n\n    <!-- Emphasis -->\n    <h2 id=\"type-emphasis\">Emphasis</h2>\n    <p>Make use of HTML's default emphasis tags with lightweight styles.</p>\n\n    <h3>Small text</h3>\n    <p>For de-emphasizing inline or blocks of text, use the <code>&lt;small&gt;</code> tag to set text at 85% the size of the parent. Heading elements receive their own <code>font-size</code> for nested <code>&lt;small&gt;</code> elements.</p>\n    <p>You may alternatively use an inline element with <code>.small</code> in place of any <code>&lt;small&gt;</code></p>\n    <div class=\"bs-example\">\n      <p><small>This line of text is meant to be treated as fine print.</small></p>\n    </div>\n{% highlight html %}\n<small>This line of text is meant to be treated as fine print.</small>\n{% endhighlight %}\n\n\n    <h3>Bold</h3>\n    <p>For emphasizing a snippet of text with a heavier font-weight.</p>\n    <div class=\"bs-example\">\n      <p>The following snippet of text is <strong>rendered as bold text</strong>.</p>\n    </div>\n{% highlight html %}\n<strong>rendered as bold text</strong>\n{% endhighlight %}\n\n    <h3>Italics</h3>\n    <p>For emphasizing a snippet of text with italics.</p>\n    <div class=\"bs-example\">\n      <p>The following snippet of text is <em>rendered as italicized text</em>.</p>\n    </div>\n{% highlight html %}\n<em>rendered as italicized text</em>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Alternate elements</h4>\n      <p>Feel free to use <code>&lt;b&gt;</code> and <code>&lt;i&gt;</code> in HTML5. <code>&lt;b&gt;</code> is meant to highlight words or phrases without conveying additional importance while <code>&lt;i&gt;</code> is mostly for voice, technical terms, etc.</p>\n    </div>\n\n    <h3>Alignment classes</h3>\n    <p>Easily realign text to components with text alignment classes.</p>\n    <div class=\"bs-example\">\n      <p class=\"text-left\">Left aligned text.</p>\n      <p class=\"text-center\">Center aligned text.</p>\n      <p class=\"text-right\">Right aligned text.</p>\n    </div>\n{% highlight html %}\n<p class=\"text-left\">Left aligned text.</p>\n<p class=\"text-center\">Center aligned text.</p>\n<p class=\"text-right\">Right aligned text.</p>\n{% endhighlight %}\n\n    <h3>Emphasis classes</h3>\n    <p>Convey meaning through color with a handful of emphasis utility classes. These may also be applied to links and will darken on hover just like our default link styles.</p>\n    <div class=\"bs-example\">\n      <p class=\"text-muted\">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>\n      <p class=\"text-primary\">Nullam id dolor id nibh ultricies vehicula ut id elit.</p>\n      <p class=\"text-success\">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>\n      <p class=\"text-info\">Maecenas sed diam eget risus varius blandit sit amet non magna.</p>\n      <p class=\"text-warning\">Etiam porta sem malesuada magna mollis euismod.</p>\n      <p class=\"text-danger\">Donec ullamcorper nulla non metus auctor fringilla.</p>\n    </div>\n{% highlight html %}\n<p class=\"text-muted\">...</p>\n<p class=\"text-primary\">...</p>\n<p class=\"text-success\">...</p>\n<p class=\"text-info\">...</p>\n<p class=\"text-warning\">...</p>\n<p class=\"text-danger\">...</p>\n{% endhighlight %}\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Dealing with specificity</h4>\n      <p>Sometimes emphasis classes cannot be applied due to the specificity of another selector. In most cases, a sufficient workaround is to wrap your text in a <code>&lt;span&gt;</code> with the class.</p>\n    </div>\n\n\n    <!-- Abbreviations -->\n    <h2 id=\"type-abbreviations\">Abbreviations</h2>\n    <p>Stylized implementation of HTML's <code>&lt;abbr&gt;</code> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a <code>title</code> attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.</p>\n\n    <h3>Basic abbreviation</h3>\n    <p>For expanded text on long hover of an abbreviation, include the <code>title</code> attribute with the <code>&lt;abbr&gt;</code> element.</p>\n    <div class=\"bs-example\">\n      <p>An abbreviation of the word attribute is <abbr title=\"attribute\">attr</abbr>.</p>\n    </div>\n{% highlight html %}\n<abbr title=\"attribute\">attr</abbr>\n{% endhighlight %}\n\n    <h3>Initialism</h3>\n    <p>Add <code>.initialism</code> to an abbreviation for a slightly smaller font-size.</p>\n    <div class=\"bs-example\">\n      <p><abbr title=\"HyperText Markup Language\" class=\"initialism\">HTML</abbr> is the best thing since sliced bread.</p>\n    </div>\n{% highlight html %}\n<abbr title=\"HyperText Markup Language\" class=\"initialism\">HTML</abbr>\n{% endhighlight %}\n\n\n    <!-- Addresses -->\n    <h2 id=\"type-addresses\">Addresses</h2>\n    <p>Present contact information for the nearest ancestor or the entire body of work. Preserve formatting by ending all lines with <code>&lt;br&gt;</code>.</p>\n    <div class=\"bs-example\">\n      <address>\n        <strong>Twitter, Inc.</strong><br>\n        795 Folsom Ave, Suite 600<br>\n        San Francisco, CA 94107<br>\n        <abbr title=\"Phone\">P:</abbr> (123) 456-7890\n      </address>\n      <address>\n        <strong>Full Name</strong><br>\n        <a href=\"mailto:#\">first.last@example.com</a>\n      </address>\n    </div>\n{% highlight html %}\n<address>\n  <strong>Twitter, Inc.</strong><br>\n  795 Folsom Ave, Suite 600<br>\n  San Francisco, CA 94107<br>\n  <abbr title=\"Phone\">P:</abbr> (123) 456-7890\n</address>\n\n<address>\n  <strong>Full Name</strong><br>\n  <a href=\"mailto:#\">first.last@example.com</a>\n</address>\n{% endhighlight %}\n\n\n    <!-- Blockquotes -->\n    <h2 id=\"type-blockquotes\">Blockquotes</h2>\n    <p>For quoting blocks of content from another source within your document.</p>\n\n    <h3>Default blockquote</h3>\n    <p>Wrap <code>&lt;blockquote&gt;</code> around any <abbr title=\"HyperText Markup Language\">HTML</abbr> as the quote. For straight quotes, we recommend a <code>&lt;p&gt;</code>.</p>\n    <div class=\"bs-example\">\n      <blockquote>\n        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>\n      </blockquote>\n    </div>\n{% highlight html %}\n<blockquote>\n  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>\n</blockquote>\n{% endhighlight %}\n\n    <h3>Blockquote options</h3>\n    <p>Style and content changes for simple variations on a standard <code>&lt;blockquote&gt;</code>.</p>\n\n    <h4>Naming a source</h4>\n    <p>Add <code>&lt;small&gt;</code> tag or <code>.small</code> class for identifying the source. Wrap the name of the source work in <code>&lt;cite&gt;</code>.</p>\n    <div class=\"bs-example\">\n      <blockquote>\n        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>\n        <small>Someone famous in <cite title=\"Source Title\">Source Title</cite></small>\n      </blockquote>\n    </div>\n{% highlight html %}\n<blockquote>\n  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>\n  <small>Someone famous in <cite title=\"Source Title\">Source Title</cite></small>\n</blockquote>\n{% endhighlight %}\n\n    <h4>Alternate displays</h4>\n    <p>Use <code>.pull-right</code> for a floated, right-aligned blockquote.</p>\n    <div class=\"bs-example\" style=\"overflow: hidden;\">\n      <blockquote class=\"pull-right\">\n        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>\n        <small>Someone famous in <cite title=\"Source Title\">Source Title</cite></small>\n      </blockquote>\n    </div>\n{% highlight html %}\n<blockquote class=\"pull-right\">\n  ...\n</blockquote>\n{% endhighlight %}\n\n\n    <!-- Lists -->\n    <h2 id=\"type-lists\">Lists</h2>\n\n    <h3>Unordered</h3>\n    <p>A list of items in which the order does <em>not</em> explicitly matter.</p>\n    <div class=\"bs-example\">\n      <ul>\n        <li>Lorem ipsum dolor sit amet</li>\n        <li>Consectetur adipiscing elit</li>\n        <li>Integer molestie lorem at massa</li>\n        <li>Facilisis in pretium nisl aliquet</li>\n        <li>Nulla volutpat aliquam velit\n          <ul>\n            <li>Phasellus iaculis neque</li>\n            <li>Purus sodales ultricies</li>\n            <li>Vestibulum laoreet porttitor sem</li>\n            <li>Ac tristique libero volutpat at</li>\n          </ul>\n        </li>\n        <li>Faucibus porta lacus fringilla vel</li>\n        <li>Aenean sit amet erat nunc</li>\n        <li>Eget porttitor lorem</li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul>\n  <li>...</li>\n</ul>\n{% endhighlight %}\n\n    <h3>Ordered</h3>\n    <p>A list of items in which the order <em>does</em> explicitly matter.</p>\n    <div class=\"bs-example\">\n      <ol>\n        <li>Lorem ipsum dolor sit amet</li>\n        <li>Consectetur adipiscing elit</li>\n        <li>Integer molestie lorem at massa</li>\n        <li>Facilisis in pretium nisl aliquet</li>\n        <li>Nulla volutpat aliquam velit</li>\n        <li>Faucibus porta lacus fringilla vel</li>\n        <li>Aenean sit amet erat nunc</li>\n        <li>Eget porttitor lorem</li>\n      </ol>\n    </div>\n{% highlight html %}\n<ol>\n  <li>...</li>\n</ol>\n{% endhighlight %}\n\n    <h3>Unstyled</h3>\n    <p>Remove the default <code>list-style</code> and left margin on list items (immediate children only). <strong>This only applies to immediate children list items</strong>, meaning you will need to add the class for any nested lists as well.</p>\n    <div class=\"bs-example\">\n      <ul class=\"list-unstyled\">\n        <li>Lorem ipsum dolor sit amet</li>\n        <li>Consectetur adipiscing elit</li>\n        <li>Integer molestie lorem at massa</li>\n        <li>Facilisis in pretium nisl aliquet</li>\n        <li>Nulla volutpat aliquam velit\n          <ul>\n            <li>Phasellus iaculis neque</li>\n            <li>Purus sodales ultricies</li>\n            <li>Vestibulum laoreet porttitor sem</li>\n            <li>Ac tristique libero volutpat at</li>\n          </ul>\n        </li>\n        <li>Faucibus porta lacus fringilla vel</li>\n        <li>Aenean sit amet erat nunc</li>\n        <li>Eget porttitor lorem</li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"list-unstyled\">\n  <li>...</li>\n</ul>\n{% endhighlight %}\n\n    <h3>Inline</h3>\n    <p>Place all list items on a single line with <code>display: inline-block;</code> and some light padding.</p>\n    <div class=\"bs-example\">\n      <ul class=\"list-inline\">\n        <li>Lorem ipsum</li>\n        <li>Phasellus iaculis</li>\n        <li>Nulla volutpat</li>\n      </ul>\n    </div>\n{% highlight html %}\n<ul class=\"list-inline\">\n  <li>...</li>\n</ul>\n{% endhighlight %}\n\n    <h3>Description</h3>\n    <p>A list of terms with their associated descriptions.</p>\n    <div class=\"bs-example\">\n      <dl>\n        <dt>Description lists</dt>\n        <dd>A description list is perfect for defining terms.</dd>\n        <dt>Euismod</dt>\n        <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>\n        <dd>Donec id elit non mi porta gravida at eget metus.</dd>\n        <dt>Malesuada porta</dt>\n        <dd>Etiam porta sem malesuada magna mollis euismod.</dd>\n      </dl>\n    </div>\n{% highlight html %}\n<dl>\n  <dt>...</dt>\n  <dd>...</dd>\n</dl>\n{% endhighlight %}\n\n    <h4>Horizontal description</h4>\n    <p>Make terms and descriptions in <code>&lt;dl&gt;</code> line up side-by-side. Starts off stacked like default <code>&lt;dl&gt;</code>s, but when the navbar expands, so do these.</p>\n    <div class=\"bs-example\">\n      <dl class=\"dl-horizontal\">\n        <dt>Description lists</dt>\n        <dd>A description list is perfect for defining terms.</dd>\n        <dt>Euismod</dt>\n        <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>\n        <dd>Donec id elit non mi porta gravida at eget metus.</dd>\n        <dt>Malesuada porta</dt>\n        <dd>Etiam porta sem malesuada magna mollis euismod.</dd>\n        <dt>Felis euismod semper eget lacinia</dt>\n        <dd>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>\n      </dl>\n    </div>\n{% highlight html %}\n<dl class=\"dl-horizontal\">\n  <dt>...</dt>\n  <dd>...</dd>\n</dl>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Auto-truncating</h4>\n      <p>Horizontal description lists will truncate terms that are too long to fit in the left column with <code>text-overflow</code>. In narrower viewports, they will change to the default stacked layout.</p>\n    </div>\n  </div>\n\n\n  <!-- Code\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"code\">Code</h1>\n    </div>\n\n    <h2>Inline</h2>\n    <p>Wrap inline snippets of code with <code>&lt;code&gt;</code>.</p>\n<div class=\"bs-example\">\n  For example, <code>&lt;section&gt;</code> should be wrapped as inline.\n</div>\n{% highlight html %}\nFor example, <code>&lt;section&gt;</code> should be wrapped as inline.\n{% endhighlight %}\n\n    <h2>Basic block</h2>\n    <p>Use <code>&lt;pre&gt;</code> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering.</p>\n<div class=\"bs-example\">\n  <pre>&lt;p&gt;Sample text here...&lt;/p&gt;</pre>\n</div>\n{% highlight html %}\n<pre>&lt;p&gt;Sample text here...&lt;/p&gt;</pre>\n{% endhighlight %}\n\n    <p>You may optionally add the <code>.pre-scrollable</code> class, which will set a max-height of 350px and provide a y-axis scrollbar.</p>\n  </div>\n\n\n\n  <!-- Tables\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"tables\">Tables</h1>\n    </div>\n\n    <h2 id=\"tables-example\">Basic example</h2>\n    <p>For basic styling&mdash;light padding and only horizontal dividers&mdash;add the base class <code>.table</code> to any <code>&lt;table&gt;</code>. It may seem super redundant, but given the widespread use of tables for other plugins like calendars and date pickers, we've opted to isolate our custom table styles.</p>\n    <div class=\"bs-example\">\n      <table class=\"table\">\n        <thead>\n          <tr>\n            <th>#</th>\n            <th>First Name</th>\n            <th>Last Name</th>\n            <th>Username</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>1</td>\n            <td>Mark</td>\n            <td>Otto</td>\n            <td>@mdo</td>\n          </tr>\n          <tr>\n            <td>2</td>\n            <td>Jacob</td>\n            <td>Thornton</td>\n            <td>@fat</td>\n          </tr>\n          <tr>\n            <td>3</td>\n            <td>Larry</td>\n            <td>the Bird</td>\n            <td>@twitter</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /example -->\n{% highlight html %}\n<table class=\"table\">\n  ...\n</table>\n{% endhighlight %}\n\n\n    <h2 id=\"tables-striped\">Striped rows</h2>\n    <p>Use <code>.table-striped</code> to add zebra-striping to any table row within the <code>&lt;tbody&gt;</code>.</p>\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Cross-browser compatibility</h4>\n      <p>Striped tables are styled via the <code>:nth-child</code> CSS selector, which is not available in Internet Explorer 8.</p>\n    </div>\n    <div class=\"bs-example\">\n      <table class=\"table table-striped\">\n        <thead>\n          <tr>\n            <th>#</th>\n            <th>First Name</th>\n            <th>Last Name</th>\n            <th>Username</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>1</td>\n            <td>Mark</td>\n            <td>Otto</td>\n            <td>@mdo</td>\n          </tr>\n          <tr>\n            <td>2</td>\n            <td>Jacob</td>\n            <td>Thornton</td>\n            <td>@fat</td>\n          </tr>\n          <tr>\n            <td>3</td>\n            <td>Larry</td>\n            <td>the Bird</td>\n            <td>@twitter</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /example -->\n{% highlight html %}\n<table class=\"table table-striped\">\n  ...\n</table>\n{% endhighlight %}\n\n\n    <h2 id=\"tables-bordered\">Bordered table</h2>\n    <p>Add <code>.table-bordered</code> for borders on all sides of the table and cells.</p>\n    <div class=\"bs-example\">\n      <table class=\"table table-bordered\">\n        <thead>\n          <tr>\n            <th>#</th>\n            <th>First Name</th>\n            <th>Last Name</th>\n            <th>Username</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td rowspan=\"2\">1</td>\n            <td>Mark</td>\n            <td>Otto</td>\n            <td>@mdo</td>\n          </tr>\n          <tr>\n            <td>Mark</td>\n            <td>Otto</td>\n            <td>@TwBootstrap</td>\n          </tr>\n          <tr>\n            <td>2</td>\n            <td>Jacob</td>\n            <td>Thornton</td>\n            <td>@fat</td>\n          </tr>\n          <tr>\n            <td>3</td>\n            <td colspan=\"2\">Larry the Bird</td>\n            <td>@twitter</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /example -->\n{% highlight html %}\n<table class=\"table table-bordered\">\n  ...\n</table>\n{% endhighlight %}\n\n\n    <h2 id=\"tables-hover-rows\">Hover rows</h2>\n    <p>Add <code>.table-hover</code> to enable a hover state on table rows within a <code>&lt;tbody&gt;</code>.</p>\n    <div class=\"bs-example\">\n      <table class=\"table table-hover\">\n        <thead>\n          <tr>\n            <th>#</th>\n            <th>First Name</th>\n            <th>Last Name</th>\n            <th>Username</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>1</td>\n            <td>Mark</td>\n            <td>Otto</td>\n            <td>@mdo</td>\n          </tr>\n          <tr>\n            <td>2</td>\n            <td>Jacob</td>\n            <td>Thornton</td>\n            <td>@fat</td>\n          </tr>\n          <tr>\n            <td>3</td>\n            <td colspan=\"2\">Larry the Bird</td>\n            <td>@twitter</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /example -->\n{% highlight html %}\n<table class=\"table table-hover\">\n  ...\n</table>\n{% endhighlight %}\n\n\n    <h2 id=\"tables-condensed\">Condensed table</h2>\n    <p>Add <code>.table-condensed</code> to make tables more compact by cutting cell padding in half.</p>\n    <div class=\"bs-example\">\n      <table class=\"table table-condensed\">\n        <thead>\n          <tr>\n            <th>#</th>\n            <th>First Name</th>\n            <th>Last Name</th>\n            <th>Username</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>1</td>\n            <td>Mark</td>\n            <td>Otto</td>\n            <td>@mdo</td>\n          </tr>\n          <tr>\n            <td>2</td>\n            <td>Jacob</td>\n            <td>Thornton</td>\n            <td>@fat</td>\n          </tr>\n          <tr>\n            <td>3</td>\n            <td colspan=\"2\">Larry the Bird</td>\n            <td>@twitter</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /example -->\n{% highlight html %}\n<table class=\"table table-condensed\">\n  ...\n</table>\n{% endhighlight %}\n\n\n    <h2 id=\"tables-contextual-classes\">Contextual classes</h2>\n    <p>Use contextual classes to color table rows or individual cells.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <colgroup>\n          <col class=\"col-xs-1\">\n          <col class=\"col-xs-7\">\n        </colgroup>\n        <thead>\n          <tr>\n            <th>Class</th>\n            <th>Description</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>\n              <code>.active</code>\n            </td>\n            <td>Applies the hover color to a particular row or cell</td>\n          </tr>\n          <tr>\n            <td>\n              <code>.success</code>\n            </td>\n            <td>Indicates a successful or positive action</td>\n          </tr>\n          <tr>\n            <td>\n              <code>.warning</code>\n            </td>\n            <td>Indicates a warning that might need attention</td>\n          </tr>\n          <tr>\n            <td>\n              <code>.danger</code>\n            </td>\n            <td>Indicates a dangerous or potentially negative action</td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n    <div class=\"bs-example\">\n      <table class=\"table\">\n        <thead>\n          <tr>\n            <th>#</th>\n            <th>Column heading</th>\n            <th>Column heading</th>\n            <th>Column heading</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr class=\"active\">\n            <td>1</td>\n            <td>Column content</td>\n            <td>Column content</td>\n            <td>Column content</td>\n          </tr>\n          <tr>\n            <td>2</td>\n            <td>Column content</td>\n            <td>Column content</td>\n            <td>Column content</td>\n          </tr>\n          <tr class=\"success\">\n            <td>3</td>\n            <td>Column content</td>\n            <td>Column content</td>\n            <td>Column content</td>\n          </tr>\n          <tr>\n            <td>4</td>\n            <td>Column content</td>\n            <td>Column content</td>\n            <td>Column content</td>\n          </tr>\n          <tr class=\"warning\">\n            <td>5</td>\n            <td>Column content</td>\n            <td>Column content</td>\n            <td>Column content</td>\n          </tr>\n          <tr>\n            <td>6</td>\n            <td>Column content</td>\n            <td>Column content</td>\n            <td>Column content</td>\n          </tr>\n          <tr class=\"danger\">\n            <td>7</td>\n            <td>Column content</td>\n            <td>Column content</td>\n            <td>Column content</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /example -->\n{% highlight html %}\n<!-- On rows -->\n<tr class=\"active\">...</tr>\n<tr class=\"success\">...</tr>\n<tr class=\"warning\">...</tr>\n<tr class=\"danger\">...</tr>\n\n<!-- On cells (`td` or `th`) -->\n<tr>\n  <td class=\"active\">...</td>\n  <td class=\"success\">...</td>\n  <td class=\"warning\">...</td>\n  <td class=\"danger\">...</td>\n</tr>\n{% endhighlight %}\n\n\n    <h2 id=\"tables-responsive\">Responsive tables</h2>\n    <p>Create responsive tables by wrapping any <code>.table</code> in <code>.table-responsive</code> to make them scroll horizontally up to small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.</p>\n    <div class=\"bs-example\">\n      <div class=\"table-responsive\">\n        <table class=\"table\">\n          <thead>\n            <tr>\n              <th>#</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <td>1</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n            </tr>\n            <tr>\n              <td>2</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n            </tr>\n            <tr>\n              <td>3</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n            </tr>\n          </tbody>\n        </table>\n      </div><!-- /.table-responsive -->\n\n      <div class=\"table-responsive\">\n        <table class=\"table table-bordered\">\n          <thead>\n            <tr>\n              <th>#</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n              <th>Table heading</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <td>1</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n            </tr>\n            <tr>\n              <td>2</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n            </tr>\n            <tr>\n              <td>3</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n              <td>Table cell</td>\n            </tr>\n          </tbody>\n        </table>\n      </div><!-- /.table-responsive -->\n    </div><!-- /example -->\n{% highlight html %}\n<div class=\"table-responsive\">\n  <table class=\"table\">\n    ...\n  </table>\n</div>\n{% endhighlight %}\n\n  </div>\n\n\n\n  <!-- Forms\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"forms\">Forms</h1>\n    </div>\n\n    <h2 id=\"forms-example\">Basic example</h2>\n    <p>Individual form controls automatically receive some global styling. All textual <code>&lt;input&gt;</code>, <code>&lt;textarea&gt;</code>, and <code>&lt;select&gt;</code> elements with <code>.form-control</code> are set to <code>width: 100%;</code> by default. Wrap labels and controls in <code>.form-group</code> for optimum spacing.</p>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <div class=\"form-group\">\n          <label for=\"exampleInputEmail1\">Email address</label>\n          <input type=\"email\" class=\"form-control\" id=\"exampleInputEmail1\" placeholder=\"Enter email\">\n        </div>\n        <div class=\"form-group\">\n          <label for=\"exampleInputPassword1\">Password</label>\n          <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"Password\">\n        </div>\n        <div class=\"form-group\">\n          <label for=\"exampleInputFile\">File input</label>\n          <input type=\"file\" id=\"exampleInputFile\">\n          <p class=\"help-block\">Example block-level help text here.</p>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\"> Check me out\n          </label>\n        </div>\n        <button type=\"submit\" class=\"btn btn-default\">Submit</button>\n      </form>\n    </div><!-- /example -->\n{% highlight html %}\n<form role=\"form\">\n  <div class=\"form-group\">\n    <label for=\"exampleInputEmail1\">Email address</label>\n    <input type=\"email\" class=\"form-control\" id=\"exampleInputEmail1\" placeholder=\"Enter email\">\n  </div>\n  <div class=\"form-group\">\n    <label for=\"exampleInputPassword1\">Password</label>\n    <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"Password\">\n  </div>\n  <div class=\"form-group\">\n    <label for=\"exampleInputFile\">File input</label>\n    <input type=\"file\" id=\"exampleInputFile\">\n    <p class=\"help-block\">Example block-level help text here.</p>\n  </div>\n  <div class=\"checkbox\">\n    <label>\n      <input type=\"checkbox\"> Check me out\n    </label>\n  </div>\n  <button type=\"submit\" class=\"btn btn-default\">Submit</button>\n</form>\n{% endhighlight %}\n\n\n    <h2 id=\"forms-inline\">Inline form</h2>\n    <p>Add <code>.form-inline</code> to your <code>&lt;form&gt;</code> for left-aligned and inline-block controls. <strong>This only applies to forms within viewports that are at least 768px wide.</strong></p>\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Requires custom widths</h4>\n      <p>Inputs, selects, and textareas are 100% wide by default in Bootstrap. To use the inline form, you'll have to set a width on the form controls used within.</p>\n    </div>\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Always add labels</h4>\n      <p>Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the <code>.sr-only</code> class.</p>\n    </div>\n    <div class=\"bs-example\">\n      <form class=\"form-inline\" role=\"form\">\n        <div class=\"form-group\">\n          <label class=\"sr-only\" for=\"exampleInputEmail2\">Email address</label>\n          <input type=\"email\" class=\"form-control\" id=\"exampleInputEmail2\" placeholder=\"Enter email\">\n        </div>\n        <div class=\"form-group\">\n          <label class=\"sr-only\" for=\"exampleInputPassword2\">Password</label>\n          <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword2\" placeholder=\"Password\">\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\"> Remember me\n          </label>\n        </div>\n        <button type=\"submit\" class=\"btn btn-default\">Sign in</button>\n      </form>\n    </div><!-- /example -->\n{% highlight html %}\n<form class=\"form-inline\" role=\"form\">\n  <div class=\"form-group\">\n    <label class=\"sr-only\" for=\"exampleInputEmail2\">Email address</label>\n    <input type=\"email\" class=\"form-control\" id=\"exampleInputEmail2\" placeholder=\"Enter email\">\n  </div>\n  <div class=\"form-group\">\n    <label class=\"sr-only\" for=\"exampleInputPassword2\">Password</label>\n    <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword2\" placeholder=\"Password\">\n  </div>\n  <div class=\"checkbox\">\n    <label>\n      <input type=\"checkbox\"> Remember me\n    </label>\n  </div>\n  <button type=\"submit\" class=\"btn btn-default\">Sign in</button>\n</form>\n{% endhighlight %}\n\n\n    <h2 id=\"forms-horizontal\">Horizontal form</h2>\n    <p>Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout by adding <code>.form-horizontal</code> to the form. Doing so changes <code>.form-group</code>s to behave as grid rows, so no need for <code>.row</code>.</p>\n    <div class=\"bs-example\">\n      <form class=\"form-horizontal\" role=\"form\">\n        <div class=\"form-group\">\n          <label for=\"inputEmail3\" class=\"col-sm-2 control-label\">Email</label>\n          <div class=\"col-sm-10\">\n            <input type=\"email\" class=\"form-control\" id=\"inputEmail3\" placeholder=\"Email\">\n          </div>\n        </div>\n        <div class=\"form-group\">\n          <label for=\"inputPassword3\" class=\"col-sm-2 control-label\">Password</label>\n          <div class=\"col-sm-10\">\n            <input type=\"password\" class=\"form-control\" id=\"inputPassword3\" placeholder=\"Password\">\n          </div>\n        </div>\n        <div class=\"form-group\">\n          <div class=\"col-sm-offset-2 col-sm-10\">\n            <div class=\"checkbox\">\n              <label>\n                <input type=\"checkbox\"> Remember me\n              </label>\n            </div>\n          </div>\n        </div>\n        <div class=\"form-group\">\n          <div class=\"col-sm-offset-2 col-sm-10\">\n            <button type=\"submit\" class=\"btn btn-default\">Sign in</button>\n          </div>\n        </div>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<form class=\"form-horizontal\" role=\"form\">\n  <div class=\"form-group\">\n    <label for=\"inputEmail3\" class=\"col-sm-2 control-label\">Email</label>\n    <div class=\"col-sm-10\">\n      <input type=\"email\" class=\"form-control\" id=\"inputEmail3\" placeholder=\"Email\">\n    </div>\n  </div>\n  <div class=\"form-group\">\n    <label for=\"inputPassword3\" class=\"col-sm-2 control-label\">Password</label>\n    <div class=\"col-sm-10\">\n      <input type=\"password\" class=\"form-control\" id=\"inputPassword3\" placeholder=\"Password\">\n    </div>\n  </div>\n  <div class=\"form-group\">\n    <div class=\"col-sm-offset-2 col-sm-10\">\n      <div class=\"checkbox\">\n        <label>\n          <input type=\"checkbox\"> Remember me\n        </label>\n      </div>\n    </div>\n  </div>\n  <div class=\"form-group\">\n    <div class=\"col-sm-offset-2 col-sm-10\">\n      <button type=\"submit\" class=\"btn btn-default\">Sign in</button>\n    </div>\n  </div>\n</form>\n{% endhighlight %}\n\n\n    <h2 id=\"forms-controls\">Supported controls</h2>\n    <p>Examples of standard form controls supported in an example form layout.</p>\n\n    <h3>Inputs</h3>\n    <p>Most common form control, text-based input fields. Includes support for all HTML5 types: <code>text</code>, <code>password</code>, <code>datetime</code>, <code>datetime-local</code>, <code>date</code>, <code>month</code>, <code>time</code>, <code>week</code>, <code>number</code>, <code>email</code>, <code>url</code>, <code>search</code>, <code>tel</code>, and <code>color</code>.</p>\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Type declaration required</h4>\n      <p>Inputs will only be fully styled if their <code>type</code> is properly declared.</p>\n    </div>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <input type=\"text\" class=\"form-control\" placeholder=\"Text input\">\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<input type=\"text\" class=\"form-control\" placeholder=\"Text input\">\n{% endhighlight %}\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Input groups</h4>\n      <p>To add integrated text or buttons before and/or after any text-based <code>&lt;input&gt;</code>, <a href=\"../components/#input-groups\">check out the input group component</a>.</p>\n    </div>\n\n    <h3>Textarea</h3>\n    <p>Form control which supports multiple lines of text. Change <code>rows</code> attribute as necessary.</p>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <textarea class=\"form-control\" rows=\"3\"></textarea>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<textarea class=\"form-control\" rows=\"3\"></textarea>\n{% endhighlight %}\n\n    <h3>Checkboxes and radios</h3>\n    <p>Checkboxes are for selecting one or several options in a list while radios are for selecting one option from many.</p>\n    <h4>Default (stacked)</h4>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" value=\"\">\n            Option one is this and that&mdash;be sure to include why it's great\n          </label>\n        </div>\n        <br>\n        <div class=\"radio\">\n          <label>\n            <input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios1\" value=\"option1\" checked>\n            Option one is this and that&mdash;be sure to include why it's great\n          </label>\n        </div>\n        <div class=\"radio\">\n          <label>\n            <input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios2\" value=\"option2\">\n            Option two can be something else and selecting it will deselect option one\n          </label>\n        </div>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<div class=\"checkbox\">\n  <label>\n    <input type=\"checkbox\" value=\"\">\n    Option one is this and that&mdash;be sure to include why it's great\n  </label>\n</div>\n\n<div class=\"radio\">\n  <label>\n    <input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios1\" value=\"option1\" checked>\n    Option one is this and that&mdash;be sure to include why it's great\n  </label>\n</div>\n<div class=\"radio\">\n  <label>\n    <input type=\"radio\" name=\"optionsRadios\" id=\"optionsRadios2\" value=\"option2\">\n    Option two can be something else and selecting it will deselect option one\n  </label>\n</div>\n{% endhighlight %}\n\n    <h4>Inline checkboxes</h4>\n    <p>Use <code>.checkbox-inline</code> or <code>.radio-inline</code> class to a series of checkboxes or radios for controls appear on the same line.</p>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <label class=\"checkbox-inline\">\n          <input type=\"checkbox\" id=\"inlineCheckbox1\" value=\"option1\"> 1\n        </label>\n        <label class=\"checkbox-inline\">\n          <input type=\"checkbox\" id=\"inlineCheckbox2\" value=\"option2\"> 2\n        </label>\n        <label class=\"checkbox-inline\">\n          <input type=\"checkbox\" id=\"inlineCheckbox3\" value=\"option3\"> 3\n        </label>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<label class=\"checkbox-inline\">\n  <input type=\"checkbox\" id=\"inlineCheckbox1\" value=\"option1\"> 1\n</label>\n<label class=\"checkbox-inline\">\n  <input type=\"checkbox\" id=\"inlineCheckbox2\" value=\"option2\"> 2\n</label>\n<label class=\"checkbox-inline\">\n  <input type=\"checkbox\" id=\"inlineCheckbox3\" value=\"option3\"> 3\n</label>\n{% endhighlight %}\n\n    <h3>Selects</h3>\n    <p>Use the default option, or add <code>multiple</code> to show multiple options at once.</p>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <select class=\"form-control\">\n          <option>1</option>\n          <option>2</option>\n          <option>3</option>\n          <option>4</option>\n          <option>5</option>\n        </select>\n        <br>\n        <select multiple class=\"form-control\">\n          <option>1</option>\n          <option>2</option>\n          <option>3</option>\n          <option>4</option>\n          <option>5</option>\n        </select>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<select class=\"form-control\">\n  <option>1</option>\n  <option>2</option>\n  <option>3</option>\n  <option>4</option>\n  <option>5</option>\n</select>\n\n<select multiple class=\"form-control\">\n  <option>1</option>\n  <option>2</option>\n  <option>3</option>\n  <option>4</option>\n  <option>5</option>\n</select>\n{% endhighlight %}\n\n\n    <h2 id=\"forms-controls-static\">Static control</h2>\n    <p>When you need to place plain text next to a form label within a horizontal form, use the <code>.form-control-static</code> class on a <code>&lt;p&gt;</code>.</p>\n    <div class=\"bs-example\">\n      <form class=\"form-horizontal\" role=\"form\">\n        <div class=\"form-group\">\n          <label class=\"col-sm-2 control-label\">Email</label>\n          <div class=\"col-sm-10\">\n            <p class=\"form-control-static\">email@example.com</p>\n          </div>\n        </div>\n        <div class=\"form-group\">\n          <label for=\"inputPassword\" class=\"col-sm-2 control-label\">Password</label>\n          <div class=\"col-sm-10\">\n            <input type=\"password\" class=\"form-control\" id=\"inputPassword\" placeholder=\"Password\">\n          </div>\n        </div>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<form class=\"form-horizontal\" role=\"form\">\n  <div class=\"form-group\">\n    <label class=\"col-sm-2 control-label\">Email</label>\n    <div class=\"col-sm-10\">\n      <p class=\"form-control-static\">email@example.com</p>\n    </div>\n  </div>\n  <div class=\"form-group\">\n    <label for=\"inputPassword\" class=\"col-sm-2 control-label\">Password</label>\n    <div class=\"col-sm-10\">\n      <input type=\"password\" class=\"form-control\" id=\"inputPassword\" placeholder=\"Password\">\n    </div>\n  </div>\n</form>\n{% endhighlight %}\n\n\n    <h2 id=\"forms-control-states\">Form states</h2>\n    <p>Provide feedback to users or visitors with basic feedback states on form controls and labels.</p>\n\n    <h3 id=\"forms-input-focus\">Input focus</h3>\n    <p>We remove the default <code>outline</code> styles on some form controls and apply a <code>box-shadow</code> in its place for <code>:focus</code>.</p>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <input class=\"form-control\" id=\"focusedInput\" type=\"text\" value=\"This is focused...\">\n      </form>\n    </div>\n{% highlight html %}\n<input class=\"form-control\" id=\"focusedInput\" type=\"text\" value=\"This is focused...\">\n{% endhighlight %}\n\n    <h3 id=\"forms-disabled-inputs\">Disabled inputs</h3>\n    <p>Add the <code>disabled</code> attribute on an input to prevent user input and trigger a slightly different look.</p>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <input class=\"form-control\" id=\"disabledInput\" type=\"text\" placeholder=\"Disabled input here…\" disabled>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<input class=\"form-control\" id=\"disabledInput\" type=\"text\" placeholder=\"Disabled input here...\" disabled>\n{% endhighlight %}\n\n    <h3 id=\"forms-disabled-fieldsets\">Disabled fieldsets</h3>\n    <p>Add the <code>disabled</code> attribute to a <code>&lt;fieldset&gt;</code> to disable all the controls within the <code>&lt;fieldset&gt;</code> at once.</p>\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Link functionality of <code>&lt;a&gt;</code> not impacted</h4>\n      <p>This class will only change the appearance of <code>&lt;a class=\"btn btn-default\"&gt;</code> buttons, not their functionality. Use custom JavaScript to disable links here.</p>\n    </div>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Cross-browser compatibility</h4>\n      <p>While Bootstrap will apply these styles in all browsers, Internet Explorer 9 and below don't actually support the <code>disabled</code> attribute on a <code>&lt;fieldset&gt;</code>. Use custom JavaScript to disable the fieldset in these browsers.</p>\n    </div>\n\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <fieldset disabled>\n          <div class=\"form-group\">\n            <label for=\"disabledTextInput\">Disabled input</label>\n            <input type=\"text\" id=\"disabledTextInput\" class=\"form-control\" placeholder=\"Disabled input\">\n          </div>\n          <div class=\"form-group\">\n            <label for=\"disabledSelect\">Disabled select menu</label>\n            <select id=\"disabledSelect\" class=\"form-control\">\n              <option>Disabled select</option>\n            </select>\n          </div>\n          <div class=\"checkbox\">\n            <label>\n              <input type=\"checkbox\"> Can't check this\n            </label>\n          </div>\n          <button type=\"submit\" class=\"btn btn-primary\">Submit</button>\n        </fieldset>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<form role=\"form\">\n  <fieldset disabled>\n    <div class=\"form-group\">\n      <label for=\"disabledTextInput\">Disabled input</label>\n      <input type=\"text\" id=\"disabledTextInput\" class=\"form-control\" placeholder=\"Disabled input\">\n    </div>\n    <div class=\"form-group\">\n      <label for=\"disabledSelect\">Disabled select menu</label>\n      <select id=\"disabledSelect\" class=\"form-control\">\n        <option>Disabled select</option>\n      </select>\n    </div>\n    <div class=\"checkbox\">\n      <label>\n        <input type=\"checkbox\"> Can't check this\n      </label>\n    </div>\n    <button type=\"submit\" class=\"btn btn-primary\">Submit</button>\n  </fieldset>\n</form>\n{% endhighlight %}\n\n    <h3 id=\"forms-validation\">Validation states</h3>\n    <p>Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add <code>.has-warning</code>, <code>.has-error</code>, or <code>.has-success</code> to the parent element. Any <code>.control-label</code>, <code>.form-control</code>, and <code>.help-block</code> within that element will receive the validation styles.</p>\n\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <div class=\"form-group has-success\">\n          <label class=\"control-label\" for=\"inputSuccess\">Input with success</label>\n          <input type=\"text\" class=\"form-control\" id=\"inputSuccess\">\n        </div>\n        <div class=\"form-group has-warning\">\n          <label class=\"control-label\" for=\"inputWarning\">Input with warning</label>\n          <input type=\"text\" class=\"form-control\" id=\"inputWarning\">\n        </div>\n        <div class=\"form-group has-error\">\n          <label class=\"control-label\" for=\"inputError\">Input with error</label>\n          <input type=\"text\" class=\"form-control\" id=\"inputError\">\n        </div>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<div class=\"form-group has-success\">\n  <label class=\"control-label\" for=\"inputSuccess\">Input with success</label>\n  <input type=\"text\" class=\"form-control\" id=\"inputSuccess\">\n</div>\n<div class=\"form-group has-warning\">\n  <label class=\"control-label\" for=\"inputWarning\">Input with warning</label>\n  <input type=\"text\" class=\"form-control\" id=\"inputWarning\">\n</div>\n<div class=\"form-group has-error\">\n  <label class=\"control-label\" for=\"inputError\">Input with error</label>\n  <input type=\"text\" class=\"form-control\" id=\"inputError\">\n</div>\n{% endhighlight %}\n\n\n    <h2 id=\"forms-control-sizes\">Control sizing</h2>\n    <p>Set heights using classes like <code>.input-lg</code>, and set widths using grid column classes like <code>.col-lg-*</code>.</p>\n\n    <h3>Height sizing</h3>\n    <p>Create larger or smaller form controls that match button sizes.</p>\n    <div class=\"bs-example bs-example-control-sizing\">\n      <form role=\"form\">\n        <div class=\"controls\">\n          <input class=\"form-control input-lg\" type=\"text\" placeholder=\".input-lg\">\n          <input type=\"text\" class=\"form-control\" placeholder=\"Default input\">\n          <input class=\"form-control input-sm\" type=\"text\" placeholder=\".input-sm\">\n\n          <select class=\"form-control input-lg\">\n            <option value=\"\">.input-lg</option>\n          </select>\n          <select class=\"form-control\">\n            <option value=\"\">Default select</option>\n          </select>\n          <select class=\"form-control input-sm\">\n            <option value=\"\">.input-sm</option>\n          </select>\n        </div>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<input class=\"form-control input-lg\" type=\"text\" placeholder=\".input-lg\">\n<input class=\"form-control\" type=\"text\" placeholder=\"Default input\">\n<input class=\"form-control input-sm\" type=\"text\" placeholder=\".input-sm\">\n\n<select class=\"form-control input-lg\">...</select>\n<select class=\"form-control\">...</select>\n<select class=\"form-control input-sm\">...</select>\n{% endhighlight %}\n\n    <h3>Column sizing</h3>\n    <p>Wrap inputs in grid columns, or any custom parent element, to easily enforce desired widths.</p>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <div class=\"row\">\n          <div class=\"col-xs-2\">\n            <input type=\"text\" class=\"form-control\" placeholder=\".col-xs-2\">\n          </div>\n          <div class=\"col-xs-3\">\n            <input type=\"text\" class=\"form-control\" placeholder=\".col-xs-3\">\n          </div>\n          <div class=\"col-xs-4\">\n            <input type=\"text\" class=\"form-control\" placeholder=\".col-xs-4\">\n          </div>\n        </div>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<div class=\"row\">\n  <div class=\"col-xs-2\">\n    <input type=\"text\" class=\"form-control\" placeholder=\".col-xs-2\">\n  </div>\n  <div class=\"col-xs-3\">\n    <input type=\"text\" class=\"form-control\" placeholder=\".col-xs-3\">\n  </div>\n  <div class=\"col-xs-4\">\n    <input type=\"text\" class=\"form-control\" placeholder=\".col-xs-4\">\n  </div>\n</div>\n{% endhighlight %}\n\n    <h2 id=\"forms-help-text\">Help text</h2>\n    <p>Block level help text for form controls.</p>\n    <div class=\"bs-example\">\n      <form role=\"form\">\n        <input type=\"text\" class=\"form-control\">\n        <span class=\"help-block\">A block of help text that breaks onto a new line and may extend beyond one line.</span>\n      </form>\n    </div><!-- /.bs-example -->\n{% highlight html %}\n<span class=\"help-block\">A block of help text that breaks onto a new line and may extend beyond one line.</span>\n{% endhighlight %}\n\n  </div>\n\n\n\n  <!-- Buttons\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"buttons\">Buttons</h1>\n    </div>\n\n    <h2 id=\"buttons-options\">Options</h2>\n    <p>Use any of the available button classes to quickly create a styled button.</p>\n    <div class=\"bs-example\">\n      <button type=\"button\" class=\"btn btn-default\">Default</button>\n      <button type=\"button\" class=\"btn btn-primary\">Primary</button>\n      <button type=\"button\" class=\"btn btn-success\">Success</button>\n      <button type=\"button\" class=\"btn btn-info\">Info</button>\n      <button type=\"button\" class=\"btn btn-warning\">Warning</button>\n      <button type=\"button\" class=\"btn btn-danger\">Danger</button>\n      <button type=\"button\" class=\"btn btn-link\">Link</button>\n    </div>\n{% highlight html %}\n<!-- Standard button -->\n<button type=\"button\" class=\"btn btn-default\">Default</button>\n\n<!-- Provides extra visual weight and identifies the primary action in a set of buttons -->\n<button type=\"button\" class=\"btn btn-primary\">Primary</button>\n\n<!-- Indicates a successful or positive action -->\n<button type=\"button\" class=\"btn btn-success\">Success</button>\n\n<!-- Contextual button for informational alert messages -->\n<button type=\"button\" class=\"btn btn-info\">Info</button>\n\n<!-- Indicates caution should be taken with this action -->\n<button type=\"button\" class=\"btn btn-warning\">Warning</button>\n\n<!-- Indicates a dangerous or potentially negative action -->\n<button type=\"button\" class=\"btn btn-danger\">Danger</button>\n\n<!-- Deemphasize a button by making it look like a link while maintaining button behavior -->\n<button type=\"button\" class=\"btn btn-link\">Link</button>\n{% endhighlight %}\n\n    <h2 id=\"buttons-sizes\">Sizes</h2>\n    <p>Fancy larger or smaller buttons? Add <code>.btn-lg</code>, <code>.btn-sm</code>, or <code>.btn-xs</code> for additional sizes.</p>\n    <div class=\"bs-example\">\n      <p>\n        <button type=\"button\" class=\"btn btn-primary btn-lg\">Large button</button>\n        <button type=\"button\" class=\"btn btn-default btn-lg\">Large button</button>\n      </p>\n      <p>\n        <button type=\"button\" class=\"btn btn-primary\">Default button</button>\n        <button type=\"button\" class=\"btn btn-default\">Default button</button>\n      </p>\n      <p>\n        <button type=\"button\" class=\"btn btn-primary btn-sm\">Small button</button>\n        <button type=\"button\" class=\"btn btn-default btn-sm\">Small button</button>\n      </p>\n      <p>\n        <button type=\"button\" class=\"btn btn-primary btn-xs\">Extra small button</button>\n        <button type=\"button\" class=\"btn btn-default btn-xs\">Extra small button</button>\n      </p>\n    </div>\n{% highlight html %}\n<p>\n  <button type=\"button\" class=\"btn btn-primary btn-lg\">Large button</button>\n  <button type=\"button\" class=\"btn btn-default btn-lg\">Large button</button>\n</p>\n<p>\n  <button type=\"button\" class=\"btn btn-primary\">Default button</button>\n  <button type=\"button\" class=\"btn btn-default\">Default button</button>\n</p>\n<p>\n  <button type=\"button\" class=\"btn btn-primary btn-sm\">Small button</button>\n  <button type=\"button\" class=\"btn btn-default btn-sm\">Small button</button>\n</p>\n<p>\n  <button type=\"button\" class=\"btn btn-primary btn-xs\">Extra small button</button>\n  <button type=\"button\" class=\"btn btn-default btn-xs\">Extra small button</button>\n</p>\n{% endhighlight %}\n\n    <p>Create block level buttons&mdash;those that span the full width of a parent&mdash; by adding <code>.btn-block</code>.</p>\n    <div class=\"bs-example\">\n      <div class=\"well\" style=\"max-width: 400px; margin: 0 auto 10px;\">\n        <button type=\"button\" class=\"btn btn-primary btn-lg btn-block\">Block level button</button>\n        <button type=\"button\" class=\"btn btn-default btn-lg btn-block\">Block level button</button>\n      </div>\n    </div>\n{% highlight html %}\n<button type=\"button\" class=\"btn btn-primary btn-lg btn-block\">Block level button</button>\n<button type=\"button\" class=\"btn btn-default btn-lg btn-block\">Block level button</button>\n{% endhighlight %}\n\n\n    <h2 id=\"buttons-active\">Active state</h2>\n    <p>Buttons will appear pressed (with a darker background, darker border, and inset shadow) when active. For <code>&lt;button&gt;</code> elements, this is done via <code>:active</code>. For <code>&lt;a&gt;</code> elements, it's done with <code>.active</code>. However, you may use <code>.active</code> <code>&lt;button&gt;</code>s should you need to replicate the active state progammatically.</p>\n\n    <h3>Button element</h3>\n    <p>No need to add <code>:active</code> as it's a pseudo-class, but if you need to force the same appearance, go ahead and add <code>.active</code>.</p>\n    <p class=\"bs-example\">\n      <button type=\"button\" class=\"btn btn-primary btn-lg active\">Primary button</button>\n      <button type=\"button\" class=\"btn btn-default btn-lg active\">Button</button>\n    </p>\n{% highlight html %}\n<button type=\"button\" class=\"btn btn-primary btn-lg active\">Primary button</button>\n<button type=\"button\" class=\"btn btn-default btn-lg active\">Button</button>\n{% endhighlight %}\n\n    <h3>Anchor element</h3>\n    <p>Add the <code>.active</code> class to <code>&lt;a&gt;</code> buttons.</p>\n    <p class=\"bs-example\">\n      <a href=\"#\" class=\"btn btn-primary btn-lg active\" role=\"button\">Primary link</a>\n      <a href=\"#\" class=\"btn btn-default btn-lg active\" role=\"button\">Link</a>\n    </p>\n{% highlight html %}\n<a href=\"#\" class=\"btn btn-primary btn-lg active\" role=\"button\">Primary link</a>\n<a href=\"#\" class=\"btn btn-default btn-lg active\" role=\"button\">Link</a>\n{% endhighlight %}\n\n\n    <h2 id=\"buttons-disabled\">Disabled state</h2>\n    <p>Make buttons look unclickable by fading them back 50%.</p>\n\n    <h3>Button element</h3>\n    <p>Add the <code>disabled</code> attribute to <code>&lt;button&gt;</code> buttons.</p>\n    <p class=\"bs-example\">\n      <button type=\"button\" class=\"btn btn-primary btn-lg\" disabled=\"disabled\">Primary button</button>\n      <button type=\"button\" class=\"btn btn-default btn-lg\" disabled=\"disabled\">Button</button>\n    </p>\n{% highlight html %}\n<button type=\"button\" class=\"btn btn-lg btn-primary\" disabled=\"disabled\">Primary button</button>\n<button type=\"button\" class=\"btn btn-default btn-lg\" disabled=\"disabled\">Button</button>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Cross-browser compatibility</h4>\n      <p>If you add the <code>disabled</code> attribute to a <code>&lt;button&gt;</code>, Internet Explorer 9 and below will render text gray with a nasty text-shadow that we cannot fix.</p>\n    </div>\n\n    <h3>Anchor element</h3>\n    <p>Add the <code>.disabled</code> class to <code>&lt;a&gt;</code> buttons.</p>\n    <p class=\"bs-example\">\n      <a href=\"#\" class=\"btn btn-primary btn-lg disabled\" role=\"button\">Primary link</a>\n      <a href=\"#\" class=\"btn btn-default btn-lg disabled\" role=\"button\">Link</a>\n    </p>\n{% highlight html %}\n<a href=\"#\" class=\"btn btn-primary btn-lg disabled\" role=\"button\">Primary link</a>\n<a href=\"#\" class=\"btn btn-default btn-lg disabled\" role=\"button\">Link</a>\n{% endhighlight %}\n    <p>\n      We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required.\n    </p>\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Link functionality not impacted</h4>\n      <p>This class will only change the <code>&lt;a&gt;</code>'s appearance, not its functionality. Use custom JavaScript to disable links here.</p>\n    </div>\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Context-specific usage</h4>\n      <p>While button classes can be used on <code>&lt;a&gt;</code> and <code>&lt;button&gt;</code> elements, only <code>&lt;button&gt;</code> elements are supported within our nav and navbar components.</p>\n    </div>\n\n\n    <h2 id=\"buttons-tags\">Button tags</h2>\n    <p>Use the button classes on an <code>&lt;a&gt;</code>, <code>&lt;button&gt;</code>, or <code>&lt;input&gt;</code> element.</p>\n    <form class=\"bs-example\">\n      <a class=\"btn btn-default\" href=\"#\" role=\"button\">Link</a>\n      <button class=\"btn btn-default\" type=\"submit\">Button</button>\n      <input class=\"btn btn-default\" type=\"button\" value=\"Input\">\n      <input class=\"btn btn-default\" type=\"submit\" value=\"Submit\">\n    </form>\n{% highlight html %}\n<a class=\"btn btn-default\" href=\"#\" role=\"button\">Link</a>\n<button class=\"btn btn-default\" type=\"submit\">Button</button>\n<input class=\"btn btn-default\" type=\"button\" value=\"Input\">\n<input class=\"btn btn-default\" type=\"submit\" value=\"Submit\">\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Cross-browser rendering</h4>\n      <p>As a best practice, <strong>we highly recommend using the <code>&lt;button&gt;</code> element whenever possible</strong> to ensure matching cross-browser rendering.</p>\n      <p>Among other things, there's <a href=\"https://bugzilla.mozilla.org/show_bug.cgi?id=697451\">a Firefox bug</a> that prevents us from setting the <code>line-height</code> of <code>&lt;input&gt;</code>-based buttons, causing them to not exactly match the height of other buttons on Firefox.</p>\n    </div>\n\n  </div>\n\n\n\n  <!-- Images\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"images\">Images</h1>\n    </div>\n\n    <p>Add classes to an <code>&lt;img&gt;</code> element to easily style images in any project.</p>\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Cross-browser compatibility</h4>\n      <p>Keep in mind that Internet Explorer 8 lacks support for rounded corners.</p>\n    </div>\n    <div class=\"bs-example bs-example-images\">\n      <img data-src=\"holder.js/140x140\" class=\"img-rounded\" alt=\"A generic square placeholder image with rounded corners\">\n      <img data-src=\"holder.js/140x140\" class=\"img-circle\" alt=\"A generic square placeholder image where only the portion within the circle circumscribed about said square is visible\">\n      <img data-src=\"holder.js/140x140\" class=\"img-thumbnail\" alt=\"A generic square placeholder image with a white border around it, making it resemble a photograph taken with an old instant camera\">\n    </div>\n{% highlight html %}\n<img src=\"...\" alt=\"...\" class=\"img-rounded\">\n<img src=\"...\" alt=\"...\" class=\"img-circle\">\n<img src=\"...\" alt=\"...\" class=\"img-thumbnail\">\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Responsive images</h4>\n      <p>Looking for how to make images more responsive? <a href=\"#overview-responsive-images\">Check out the responsive images section</a> up top.</p>\n    </div>\n\n  </div>\n\n\n  <!-- Helpers\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"helper-classes\">Helper classes</h1>\n    </div>\n\n\n    <h3 id=\"helper-classes-close\">Close icon</h3>\n    <p>Use the generic close icon for dismissing content like modals and alerts.</p>\n    <div class=\"bs-example\">\n      <p><button type=\"button\" class=\"close\" aria-hidden=\"true\">&times;</button></p>\n    </div>\n{% highlight html %}\n<button type=\"button\" class=\"close\" aria-hidden=\"true\">&times;</button>\n{% endhighlight %}\n\n\n    <h3 id=\"helper-classes-carets\">Carets</h3>\n    <p>Use carets to indicate dropdown functionality and direction. Note that the default caret will reverse automatically in <a href=\"../components/#btn-dropdowns-dropup\">dropup menus</a>.</p>\n    <div class=\"bs-example\">\n      <span class=\"caret\"></span>\n    </div>\n{% highlight html %}\n<span class=\"caret\"></span>\n{% endhighlight %}\n\n\n    <h3 id=\"helper-classes-floats\">Quick floats</h3>\n    <p>Float an element to the left or right with a class. <code>!important</code> is included to avoid specificity issues. Classes can also be used as mixins.</p>\n{% highlight html %}\n<div class=\"pull-left\">...</div>\n<div class=\"pull-right\">...</div>\n{% endhighlight %}\n{% highlight css %}\n// Classes\n.pull-left {\n  float: left !important;\n}\n.pull-right {\n  float: right !important;\n}\n\n// Usage as mixins\n.element {\n  .pull-left();\n}\n.another-element {\n  .pull-right();\n}\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Not for use in navbars</h4>\n      <p>To align components in navbars with utility classes, use <code>.navbar-left</code> or <code>.navbar-right</code> instead. <a href=\"../components/#navbar-component-alignment\">See the navbar docs</a> for details.</p>\n    </div>\n\n\n    <h3 id=\"helper-classes-center\">Center content blocks</h3>\n    <p>Set an element to <code>display: block</code> and center via <code>margin</code>. Available as a mixin and class.</p>\n{% highlight html %}\n<div class=\"center-block\">...</div>\n{% endhighlight %}\n{% highlight css %}\n// Classes\n.center-block {\n  display: block;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n// Usage as mixins\n.element {\n  .center-block();\n}\n{% endhighlight %}\n\n\n\n    <h3 id=\"helper-classes-clearfix\">Clearfix</h3>\n    <p>Clear the <code>float</code> on any element with the <code>.clearfix</code> class. Utilizes <a href=\"http://nicolasgallagher.com/micro-clearfix-hack/\">the micro clearfix</a> as popularized by Nicolas Gallagher. Can also be used as a mixin.</p>\n{% highlight html %}\n<!-- Usage as a class -->\n<div class=\"clearfix\">...</div>\n{% endhighlight %}\n{% highlight css %}\n// Mixin itself\n.clearfix() {\n  &:before,\n  &:after {\n    content: \" \";\n    display: table;\n  }\n  &:after {\n    clear: both;\n  }\n}\n\n// Usage as a Mixin\n.element {\n  .clearfix();\n}\n{% endhighlight %}\n\n\n    <h3 id=\"helper-classes-show-hide\">Showing and hiding content</h3>\n    <p>Force an element to be shown or hidden (<strong>including for screen readers</strong>) with the use of <code>.show</code> and <code>.hidden</code> classes. These classes use <code>!important</code> to avoid specificity conflicts, just like the <a href=\"#helper-classes-floats\">quick floats</a>. They are only available for block level toggling. They can also be used as mixins.</p>\n    <p><code>.hide</code> is available, but it does not always affect screen readers and is <strong>deprecated</strong> as of v3.0.1. Use <code>.hidden</code> or <code>.sr-only</code> instead.</p>\n    <p>Furthermore, <code>.invisible</code> can be used to toggle only the visibility of an element, meaning its <code>display</code> is not modified and the element can still affect the flow of the document.</p>\n{% highlight html %}\n<div class=\"show\">...</div>\n<div class=\"hidden\">...</div>\n{% endhighlight %}\n{% highlight css %}\n// Classes\n.show {\n  display: block !important;\n}\n.hidden {\n  display: none !important;\n  visibility: hidden !important;\n}\n.invisible {\n  visibility: hidden;\n}\n\n// Usage as mixins\n.element {\n  .show();\n}\n.another-element {\n  .hidden();\n}\n{% endhighlight %}\n\n\n    <h3 id=\"helper-classes-screen-readers\">Screen reader content</h3>\n    <p>Hide an element to all devices <strong>except screen readers</strong> with <code>.sr-only</code>. Necessary for following <a href=\"{{ page.base_url }}getting-started#accessibility\">accessibility best practices</a>. Can also be used as a mixin.</p>\n{% highlight html %}\n<a class=\"sr-only\" href=\"#content\">Skip to main content</a>\n{% endhighlight %}\n{% highlight css %}\n// Usage as a Mixin\n.skip-navigation {\n  .sr-only();\n}\n{% endhighlight %}\n\n\n    <h3 id=\"helper-classes-image-replacement\">Image replacement</h3>\n    <p>Utilize the <code>.text-hide</code> class or mixin to help replace an element's text content with a background image.</p>\n{% highlight html %}\n<h1 class=\"text-hide\">Custom heading</h1>\n{% endhighlight %}\n  {% highlight css %}\n// Usage as a Mixin\n.heading {\n  .text-hide();\n}\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Responsive utilities\n  ================================================== -->\n  <div class=\"bs-docs-section\" id=\"responsive-utilities\">\n    <div class=\"page-header\">\n      <h1>Responsive utilities</h1>\n    </div>\n    <p class=\"lead\">For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query. Also included are utility classes for toggling content when printed.</p>\n    <p>Try to use these on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. <strong>Responsive utilities are currently only available for block and table toggling.</strong> Use with inline and table elements is currently not supported.</p>\n\n\n    <h2 id=\"responsive-utilities-classes\">Available classes</h2>\n    <p>Use a single or combination of the available classes for toggling content across viewport breakpoints.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped responsive-utilities\">\n        <thead>\n          <tr>\n            <th></th>\n            <th>\n              Extra small devices\n              <small>Phones (&lt;768px)</small>\n            </th>\n            <th>\n              Small devices\n              <small>Tablets (&ge;768px)</small>\n            </th>\n            <th>\n              Medium devices\n              <small>Desktops (&ge;992px)</small>\n            </th>\n            <th>\n              Large devices\n              <small>Desktops (&ge;1200px)</small>\n            </th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <th><code>.visible-xs</code></th>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-hidden\">Hidden</td>\n          </tr>\n          <tr>\n            <th><code>.visible-sm</code></th>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-hidden\">Hidden</td>\n          </tr>\n          <tr>\n            <th><code>.visible-md</code></th>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-hidden\">Hidden</td>\n          </tr>\n          <tr>\n            <th><code>.visible-lg</code></th>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-visible\">Visible</td>\n          </tr>\n        </tbody>\n        <tbody>\n          <tr>\n            <th><code>.hidden-xs</code></th>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-visible\">Visible</td>\n          </tr>\n          <tr>\n            <th><code>.hidden-sm</code></th>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-visible\">Visible</td>\n          </tr>\n          <tr>\n            <th><code>.hidden-md</code></th>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-visible\">Visible</td>\n          </tr>\n          <tr>\n            <th><code>.hidden-lg</code></th>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-hidden\">Hidden</td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n\n\n    <h2 id=\"responsive-utilities-print\">Print classes</h2>\n    <p>Similar to the regular responsive classes, use these for toggling content for print.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped responsive-utilities\">\n        <thead>\n          <tr>\n            <th>Class</th>\n            <th>Browser</th>\n            <th>Print</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <th><code>.visible-print</code></th>\n            <td class=\"is-hidden\">Hidden</td>\n            <td class=\"is-visible\">Visible</td>\n          </tr>\n          <tr>\n            <th><code>.hidden-print</code></th>\n            <td class=\"is-visible\">Visible</td>\n            <td class=\"is-hidden\">Hidden</td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n\n\n    <h2 id=\"responsive-utilities-tests\">Test cases</h2>\n    <p>Resize your browser or load on different devices to test the responsive utility classes.</p>\n\n    <h3>Visible on...</h3>\n    <p>Green checkmarks indicate the element <strong>is visible</strong> in your current viewport.</p>\n    <div class=\"row responsive-utilities-test visible-on\">\n      <div class=\"col-xs-6 col-sm-3\">\n        <span class=\"hidden-xs\">Extra small</span>\n        <span class=\"visible-xs\">&#10004; Visible on x-small</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-3\">\n        <span class=\"hidden-sm\">Small</span>\n        <span class=\"visible-sm\">&#10004; Visible on small</span>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n      <div class=\"col-xs-6 col-sm-3\">\n        <span class=\"hidden-md\">Medium</span>\n        <span class=\"visible-md\">&#10004; Visible on medium</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-3\">\n        <span class=\"hidden-lg\">Large</span>\n        <span class=\"visible-lg\">&#10004; Visible on large</span>\n      </div>\n    </div>\n    <div class=\"row responsive-utilities-test visible-on\">\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-xs hidden-sm\">Extra small and small</span>\n        <span class=\"visible-xs visible-sm\">&#10004; Visible on x-small and small</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-md hidden-lg\">Medium and large</span>\n        <span class=\"visible-md visible-lg\">&#10004; Visible on medium and large</span>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-xs hidden-md\">Extra small and medium</span>\n        <span class=\"visible-xs visible-md\">&#10004; Visible on x-small and medium</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-sm hidden-lg\">Small and large</span>\n        <span class=\"visible-sm visible-lg\">&#10004; Visible on small and large</span>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-xs hidden-lg\">Extra small and large</span>\n        <span class=\"visible-xs visible-lg\">&#10004; Visible on x-small and large</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-sm hidden-md\">Small and medium</span>\n        <span class=\"visible-sm visible-md\">&#10004; Visible on small and medium</span>\n      </div>\n    </div>\n\n    <h3>Hidden on...</h3>\n    <p>Here, green checkmarks also indicate the element <strong>is hidden</strong> in your current viewport.</p>\n    <div class=\"row responsive-utilities-test hidden-on\">\n      <div class=\"col-xs-6 col-sm-3\">\n        <span class=\"hidden-xs\">Extra small</span>\n        <span class=\"visible-xs\">&#10004; Hidden on x-small</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-3\">\n        <span class=\"hidden-sm\">Small</span>\n        <span class=\"visible-sm\">&#10004; Hidden on small</span>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n      <div class=\"col-xs-6 col-sm-3\">\n        <span class=\"hidden-md\">Medium</span>\n        <span class=\"visible-md\">&#10004; Hidden on medium</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-3\">\n        <span class=\"hidden-lg\">Large</span>\n        <span class=\"visible-lg\">&#10004; Hidden on large</span>\n      </div>\n    </div>\n    <div class=\"row responsive-utilities-test hidden-on\">\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-xs hidden-sm\">Extra small and small</span>\n        <span class=\"visible-xs visible-sm\">&#10004; Hidden on x-small and small</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-md hidden-lg\">Medium and large</span>\n        <span class=\"visible-md visible-lg\">&#10004; Hidden on medium and large</span>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-xs hidden-md\">Extra small and medium</span>\n        <span class=\"visible-xs visible-md\">&#10004; Hidden on x-small and medium</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-sm hidden-lg\">Small and large</span>\n        <span class=\"visible-sm visible-lg\">&#10004; Hidden on small and large</span>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-xs hidden-lg\">Extra small and large</span>\n        <span class=\"visible-xs visible-lg\">&#10004; Hidden on x-small and large</span>\n      </div>\n      <div class=\"col-xs-6 col-sm-6\">\n        <span class=\"hidden-sm hidden-md\">Small and medium</span>\n        <span class=\"visible-sm visible-md\">&#10004; Hidden on small and medium</span>\n      </div>\n    </div>\n\n  </div>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/customize.html",
    "content": "---\nlayout: default\ntitle: Customize and download\nslug: customize\nlead: Customize Bootstrap's components, LESS variables, and jQuery plugins to get your very own version.\nbase_url: \"../\"\n---\n\n<!-- Customizer form -->\n<form class=\"bs-customizer\" role=\"form\">\n  <div class=\"bs-docs-section\" id=\"less-section\">\n    <div class=\"page-header\">\n      <button class=\"btn btn-default toggle\" type=\"button\">Toggle all</button>\n      <h1 id=\"less\">LESS files</h1>\n    </div>\n    <p class=\"lead\">Choose which LESS files to compile into your custom build of Bootstrap. Not sure which files to use? Read through the <a href=\"../css/\">CSS</a> and <a href=\"../components/\">Components</a> pages in the docs.</p>\n\n    <div class=\"row\">\n      <div class=\"col-xs-6 col-sm-4\">\n        <h3>Common CSS</h3>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"print.less\">\n            Print media styles\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"type.less\">\n            Typography\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"code.less\">\n            Code\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"grid.less\">\n            Grid system\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"tables.less\">\n            Tables\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"forms.less\" data-dependents=\"navbar.less,input-groups.less\">\n            Forms\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"buttons.less\">\n            Buttons\n          </label>\n        </div>\n      </div><!-- .col-xs-6 .col-sm-4 -->\n\n      <div class=\"col-xs-6 col-sm-4\">\n        <h3>Components</h3>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"glyphicons.less\">\n            Glyphicons\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"button-groups.less\" data-dependency=\"buttons.less\">\n            Button groups\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"input-groups.less\" data-dependency=\"forms.less\">\n            Input groups\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"navs.less\" data-dependents=\"navbar.less\">\n            Navs\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"navbar.less\" data-dependencies=\"forms.less,utilities.less,navs.less\">\n            Navbar\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"breadcrumbs.less\">\n            Breadcrumbs\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"pagination.less\">\n            Pagination\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"pager.less\">\n            Pager\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"labels.less\">\n            Labels\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"badges.less\">\n            Badges\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"jumbotron.less\">\n            Jumbotron\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"thumbnails.less\">\n            Thumbnails\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"alerts.less\">\n            Alerts\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"progress-bars.less\">\n            Progress bars\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"media.less\">\n            Media items\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"list-group.less\">\n            List groups\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"panels.less\">\n            Panels\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"wells.less\">\n            Wells\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"close.less\">\n            Close icon\n          </label>\n        </div>\n      </div><!-- .col-xs-6 .col-sm-4 -->\n\n      <div class=\"col-xs-6 col-sm-4\">\n        <h3>JavaScript components</h3>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"dropdowns.less\">\n            Dropdowns\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"tooltip.less\">\n            Tooltips\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"popovers.less\">\n            Popovers\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"modals.less\">\n            Modals\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"carousel.less\">\n            Carousel\n          </label>\n        </div>\n\n        <h3>Utilities</h3>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"utilities.less\" data-dependents=\"navbar.less\">\n            Basic utilities\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"responsive-utilities.less\">\n            Responsive utilities\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"component-animations.less\">\n            Component animations (for JS)\n          </label>\n        </div>\n      </div><!-- .col-xs-6 .col-sm-4 -->\n    </div><!-- /.row -->\n  </div>\n\n\n\n  <div class=\"bs-docs-section\" id=\"plugin-section\">\n    <div class=\"page-header\">\n      <button class=\"btn btn-default toggle\" type=\"button\">Toggle all</button>\n      <h1 id=\"plugins\">jQuery plugins</h1>\n    </div>\n    <p class=\"lead\">Choose which jQuery plugins should be included in your custom JavaScript files. Unsure what to include? Read the <a href=\"../javascript/\">JavaScript</a> page in the docs.</p>\n    <div class=\"row\">\n      <div class=\"col-lg-6\">\n        <h4>Linked to components</h4>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"alert.js\">\n            Alert dismissal\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"button.js\">\n            Advanced buttons\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"carousel.js\">\n            Carousel functionality\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"dropdown.js\">\n            Dropdowns\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"modal.js\">\n            Modals\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"tooltip.js\">\n            Tooltips\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"popover.js\" data-dependency=\"tooltip.js\">\n            Popovers <small>(requires Tooltips)</small>\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"tab.js\">\n            Togglable tabs\n          </label>\n        </div>\n      </div>\n      <div class=\"col-lg-6\">\n        <h4>Magic</h4>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"affix.js\">\n            Affix\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"collapse.js\">\n            Collapse\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"scrollspy.js\">\n            Scrollspy\n          </label>\n        </div>\n        <div class=\"checkbox\">\n          <label>\n            <input type=\"checkbox\" checked value=\"transition.js\">\n            Transitions <small>(required for any kind of animation)</small>\n          </label>\n        </div>\n      </div>\n    </div>\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Produces two files</h4>\n      <p>All checked plugins will be compiled into a readable <code>bootstrap.js</code> and a minified <code>bootstrap.min.js</code>. We recommend you use the minified version in production.</p>\n    </div>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>jQuery required</h4>\n      <p>All plugins require the latest version of <a href=\"http://jquery.com/\" target=\"_blank\">jQuery</a> to be included.</p>\n    </div>\n  </div>\n\n\n\n  <div class=\"bs-docs-section\" id=\"less-variables-section\">\n    <div class=\"page-header\">\n      <button class=\"btn btn-default toggle\" type=\"button\">Reset to defaults</button>\n      <h1 id=\"less-variables\">LESS variables</h1>\n    </div>\n    <p class=\"lead\">Customize LESS variables to define colors, sizes and more inside your custom CSS stylesheets.</p>\n\n    <h2 id=\"variables-basics\">Basics</h2>\n\n\n    <h3>Color system</h3>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@brand-primary</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#428bca\" data-var=\"@brand-primary\">\n        <label>@brand-success</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#5cb85c\" data-var=\"@brand-success\">\n        <label>@brand-warning</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f0ad4e\" data-var=\"@brand-warning\">\n      </div>\n      <div class=\"col-md-6\">\n        <label>@brand-danger</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#d9534f\" data-var=\"@brand-danger\">\n        <label>@brand-info</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#5bc0de\" data-var=\"@brand-info\">\n      </div>\n    </div>\n\n\n    <h3>Body scaffolding</h3>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@body-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@body-bg\">\n        <p class=\"help-block\">Background color for <code>&lt;body&gt;</code>.</p>\n        <label>@text-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-dark\" data-var=\"@text-color\">\n        <p class=\"help-block\">Global text color on <code>&lt;body&gt;</code>.</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@link-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-primary\" data-var=\"@link-color\">\n        <p class=\"help-block\">Global textual link color</p>\n        <label>@link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@link-color, 15%)\" data-var=\"@link-hover-color\">\n        <p class=\"help-block\">Link hover color set via <code>darken()</code> function</p>\n      </div>\n    </div>\n\n\n    <h3>Typography</h3>\n    <div class=\"row\">\n      <div class=\"col-lg-6\">\n        <h4>Generic font variables</h4>\n        <label>@font-family-sans-serif</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"'Helvetica Neue', Helvetica, Arial, sans-serif\" data-var=\"@font-family-sans-serif\">\n        <p class=\"help-block\">Default sans-serif fonts.</p>\n        <label>@font-family-serif</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"Georgia, 'Times New Roman', Times, serif\" data-var=\"@font-family-serif\">\n        <p class=\"help-block\">Default serif fonts.</p>\n        <label>@font-family-monospace</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"Menlo, Monaco, Consolas, 'Courier New', monospace\" data-var=\"@font-family-monospace\">\n        <p class=\"help-block\">Default monospace fonts for <code>&lt;code&gt;</code> and <code>&lt;pre&gt;</code>.</p>\n\n        <h4>Base type styes</h4>\n        <label>@font-family-base</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@font-family-sans-serif\" data-var=\"@font-family-base\">\n        <label>@font-size-base</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"14px\" data-var=\"@font-size-base\">\n        <label>@line-height-base</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"1.428571429\" data-var=\"@line-height-base\">\n        <label>@line-height-large</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"1.33\" data-var=\"@line-height-large\">\n        <label>@line-height-small</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"1.5\" data-var=\"@line-height-small\">\n      </div>\n      <div class=\"col-lg-6\">\n        <h4>Heading font sizes</h4>\n        <label>@font-size-h1</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"floor(@font-size-base * 2.6)\" data-var=\"@font-size-h1\">\n        <label>@font-size-h2</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"floor(@font-size-base * 2.15)\" data-var=\"@font-size-h2\">\n        <label>@font-size-h3</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"ceil(@font-size-base * 1.7)\" data-var=\"@font-size-h3\">\n        <label>@font-size-h4</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"ceil(@font-size-base * 1.25)\" data-var=\"@font-size-h4\">\n        <label>@font-size-h5</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@font-size-base\" data-var=\"@font-size-h5\">\n        <label>@font-size-h6</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"ceil(@font-size-base * 0.85)\" data-var=\"@font-size-h6\">\n      </div>\n    </div>\n\n\n    <h3>Headings</h3>\n    <div class=\"row\">\n      <div class=\"col-lg-6\">\n        <label>@headings-font-family</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@font-family-base\" data-var=\"@headings-font-family\">\n        <label>@headings-font-weight</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"500\" data-var=\"@headings-font-weight\">\n      </div>\n      <div class=\"col-lg-6\">\n        <label>@headings-line-height</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"1.1\" data-var=\"@headings-line-height\">\n        <label>@headings-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"inherit\" data-var=\"@headings-color\">\n      </div>\n    </div>\n\n\n    <h3>Code blocks</h3>\n    <div class=\"row\">\n      <div class=\"col-lg-6\">\n        <label>@code-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#c7254e\" data-var=\"@code-color\">\n        <label>@code-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f9f2f4\" data-var=\"@code-bg\">\n      </div>\n      <div class=\"col-lg-6\">\n        <label>@pre-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-dark\" data-var=\"@pre-color\">\n        <label>@pre-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@pre-bg\">\n        <label>@pre-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ccc\" data-var=\"@pre-border-color\">\n      </div>\n    </div>\n\n\n    <h3>Media queries breakpoints</h3>\n    <div class=\"row\">\n      <div class=\"col-xs-6 col-md-3\">\n        <label>@screen-xs-min</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"480px\" data-var=\"@screen-xs-min\">\n      </div>\n      <div class=\"col-xs-6 col-md-3\">\n        <label>@screen-sm-min</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"768px\" data-var=\"@screen-sm-min\">\n      </div>\n      <div class=\"col-xs-6 col-md-3\">\n        <label>@screen-md-min</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"992px\" data-var=\"@screen-md-min\">\n      </div>\n      <div class=\"col-xs-6 col-md-3\">\n        <label>@screen-lg-min</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"1200px\" data-var=\"@screen-lg-min\">\n      </div>\n    </div>\n\n    <h3>Layout and grid system</h3>\n    <div class=\"row\">\n      <div class=\"col-xs-6 col-sm-4\">\n        <label>@container-sm</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"((720px + @grid-gutter-width))\" data-var=\"@container-sm\">\n        <p class=\"help-block\">For <code>@screen-sm-min</code> and up.</p>\n      </div>\n      <div class=\"col-xs-6 col-sm-4\">\n        <label>@container-md</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"((940px + @grid-gutter-width))\" data-var=\"@container-md\">\n        <p class=\"help-block\">For <code>@screen-md-min</code> and up.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n      <div class=\"col-xs-6 col-sm-4\">\n        <label>@container-lg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"((1140px + @grid-gutter-width))\" data-var=\"@container-lg\">\n        <p class=\"help-block\">For <code>@screen-lg-min</code> and up.</p>\n      </div>\n    </div>\n\n    <div class=\"row\">\n      <div class=\"col-xs-6 col-sm-4\">\n        <label>@grid-columns</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"12\" data-var=\"@grid-columns\">\n        <p class=\"help-block\">Number of columns in the grid.</p>\n      </div>\n      <div class=\"col-xs-6 col-sm-4\">\n        <label>@grid-gutter-width</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"30px\" data-var=\"@grid-gutter-width\">\n        <p class=\"help-block\">Padding between columns.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n      <div class=\"col-xs-6 col-sm-4\">\n        <label>@grid-float-breakpoint</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@screen-sm-min\" data-var=\"@grid-float-breakpoint\">\n        <p class=\"help-block\">Point at which the navbar stops collapsing.</p>\n      </div>\n    </div>\n\n\n    <h3>Components</h3>\n\n    <h4>Padding</h4>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@padding-base-vertical</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"6px\" data-var=\"@padding-base-vertical\">\n        <label>@padding-base-horizontal</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"12px\" data-var=\"@padding-base-horizontal\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@padding-large-vertical</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"10px\" data-var=\"@padding-large-vertical\">\n        <label>@padding-large-horizontal</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"16px\" data-var=\"@padding-large-horizontal\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@padding-small-vertical</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"5px\" data-var=\"@padding-small-vertical\">\n        <label>@padding-small-horizontal</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"10px\" data-var=\"@padding-small-horizontal\">\n      </div>\n    </div>\n\n    <h4>Rounded corners</h4>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@border-radius-base</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"4px\" data-var=\"@border-radius-base\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@border-radius-large</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"6px\" data-var=\"@border-radius-large\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@border-radius-small</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"3px\" data-var=\"@border-radius-small\">\n      </div>\n    </div>\n\n    <h4>Component active state</h4>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@component-active-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@component-active-color\">\n        <p class=\"help-block\">Global color for active items (e.g., navs or dropdowns)</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@component-active-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-primary\" data-var=\"@component-active-bg\">\n        <p class=\"help-block\">Global background color for active items (e.g., navs or dropdowns)</p>\n      </div>\n    </div>\n\n    <h4>Carets</h4>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@caret-width-base</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"4px\" data-var=\"@caret-width-base\">\n      </div>\n      <div class=\"col-md-6\">\n        <label>@caret-width-large</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"5px\" data-var=\"@caret-width-large\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-buttons\">Buttons</h2>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@btn-font-weight</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"normal\" data-var=\"@btn-font-weight\">\n      </div>\n      <div class=\"col-md-6\">\n        <label>@btn-link-disabled-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@btn-link-disabled-color\">\n      </div>\n    </div>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <h4>Default</h4>\n        <label>@btn-default-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#333\" data-var=\"@btn-default-color\">\n        <label>@btn-default-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@btn-default-bg\">\n        <label>@btn-default-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ccc\" data-var=\"@btn-default-border\">\n        <h4>Primary</h4>\n        <label>@btn-primary-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@btn-default-color\" data-var=\"@btn-primary-color\">\n        <label>@btn-primary-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-primary\" data-var=\"@btn-primary-bg\">\n        <label>@btn-primary-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@btn-primary-bg, 5%)\" data-var=\"@btn-primary-border\">\n        <h4>Info</h4>\n        <label>@btn-info-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@btn-default-color\" data-var=\"@btn-info-color\">\n        <label>@btn-info-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-info\" data-var=\"@btn-info-bg\">\n        <label>@btn-info-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@btn-info-bg, 5%)\" data-var=\"@btn-info-border\">\n      </div>\n      <div class=\"col-md-6\">\n        <h4>Success</h4>\n        <label>@btn-success-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@btn-default-color\" data-var=\"@btn-success-color\">\n        <label>@btn-success-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-success\" data-var=\"@btn-success-bg\">\n        <label>@btn-success-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@btn-success-bg, 5%);\" data-var=\"@btn-success-border\">\n        <h4>Warning</h4>\n        <label>@btn-warning-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@btn-default-color\" data-var=\"@btn-warning-color\">\n        <label>@btn-warning-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-warning\" data-var=\"@btn-warning-bg\">\n        <label>@btn-warning-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\" darken(@btn-warning-bg, 5%)\" data-var=\"@btn-warning-border\">\n        <h4>Danger</h4>\n        <label>@btn-danger-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@btn-default-color\" data-var=\"@btn-danger-color\">\n        <label>@btn-danger-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-danger\" data-var=\"@btn-danger-bg\">\n        <label>@btn-danger-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@btn-danger-bg, 5%)\" data-var=\"@btn-danger-border\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-form-states\">Form states and alerts</h2>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <h4>Success</h4>\n        <label>@state-success-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#468847\" data-var=\"@state-success-text\">\n        <label>@state-success-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#dff0d8\" data-var=\"@state-success-bg\">\n        <label>@state-success-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(spin(@state-success-bg, -10), 5%)\" data-var=\"@state-success-border\">\n        <h4>Warning</h4>\n        <label>@state-warning-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#c09853\" data-var=\"@state-warning-text\">\n        <label>@state-warning-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fcf8e3\" data-var=\"@state-warning-bg\">\n        <label>@state-warning-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(spin(@state-warning-bg, -10), 3%)\" data-var=\"@state-warning-border\">\n      </div>\n      <div class=\"col-md-6\">\n        <h4>Danger</h4>\n        <label>@state-danger-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#b94a48\" data-var=\"@state-danger-text\">\n        <label>@state-danger-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f2dede\" data-var=\"@state-danger-bg\">\n        <label>@state-danger-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(spin(@state-danger-bg, -10), 3%)\" data-var=\"@state-danger-border\">\n        <h4>Info</h4>\n        <label>@state-info-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#3a87ad\" data-var=\"@state-info-text\">\n        <label>@state-info-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#d9edf7\" data-var=\"@state-info-bg\">\n        <label>@state-info-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(spin(@state-info-bg, -10), 7%)\" data-var=\"@state-info-border\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-alerts\">Alerts</h2>\n\n    <h4>Base styles</h4>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@alert-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"15px\" data-var=\"@alert-padding\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@alert-border-radius</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@border-radius-base\" data-var=\"@alert-border-radius\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@alert-link-font-weight</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"bold\" data-var=\"@alert-link-font-weight\">\n      </div>\n    </div>\n\n    <div class=\"row\">\n      <div class=\"col-lg-6\">\n        <h4>Warning</h4>\n        <label>@alert-warning-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-warning-text\" data-var=\"@alert-warning-text\">\n        <label>@alert-warning-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-warning-bg\" data-var=\"@alert-warning-bg\">\n        <label>@alert-warning-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-warning-border\" data-var=\"@alert-warning-border\">\n\n        <h4>Success</h4>\n        <label>@alert-success-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-success-text\" data-var=\"@alert-success-text\">\n        <label>@alert-success-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-success-bg\" data-var=\"@alert-success-bg\">\n        <label>@alert-success-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-success-border\" data-var=\"@alert-success-border\">\n      </div>\n      <div class=\"col-lg-6\">\n        <h4>Danger</h4>\n        <label>@alert-danger-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-danger-text\" data-var=\"@alert-danger-text\">\n        <label>@alert-danger-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-danger-bg\" data-var=\"@alert-danger-bg\">\n        <label>@alert-danger-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-danger-border\" data-var=\"@alert-danger-border\">\n\n        <h4>Info</h4>\n        <label>@alert-info-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-info-text\" data-var=\"@alert-info-text\">\n        <label>@alert-info-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-info-bg\" data-var=\"@alert-info-bg\">\n        <label>@alert-info-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-info-border\" data-var=\"@alert-info-border\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-navbar\">Navbar</h2>\n\n    <h3>Base styles</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@navbar-height</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"50px\" data-var=\"@navbar-height\">\n        <label>@navbar-margin-bottom</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@line-height-computed\" data-var=\"@navbar-margin-bottom\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@navbar-padding-horizontal</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"floor(@grid-gutter-width / 2)\" data-var=\"@navbar-padding-horizontal\">\n        <label>@navbar-padding-vertical</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"((@navbar-height - @line-height-computed) / 2)\" data-var=\"@@navbar-padding-vertical\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@navbar-border-radius</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@border-radius-base\" data-var=\"@navbar-border-radius\">\n      </div>\n    </div>\n\n    <div class=\"row\">\n      <div class=\"col-lg-6\">\n        <h3>Default navbar</h3>\n        <h4>Basics</h4>\n        <label>@navbar-default-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#777\" data-var=\"@navbar-default-color\">\n        <label>@navbar-default-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f8f8f8\" data-var=\"@navbar-default-bg\">\n        <label>@navbar-default-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@navbar-default-bg, 6.5%)\" data-var=\"@navbar-default-border\">\n\n        <h4>Links</h4>\n        <label>@navbar-default-link-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#777\" data-var=\"@navbar-default-link-color\">\n        <label>@navbar-default-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#333\" data-var=\"@navbar-default-link-hover-color\">\n        <label>@navbar-default-link-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"transparent\" data-var=\"@navbar-default-link-hover-bg\">\n        <label>@navbar-default-link-active-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#555\" data-var=\"@navbar-default-link-active-color\">\n        <label>@navbar-default-link-active-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@navbar-default-bg, 6.5%)\" data-var=\"@navbar-default-link-active-bg\">\n        <label>@navbar-default-link-disabled-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ccc\" data-var=\"@navbar-default-link-disabled-color\">\n        <label>@navbar-default-link-disabled-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"transparent\" data-var=\"@navbar-default-link-disabled-bg\">\n\n        <h4>Brand</h4>\n        <label>@navbar-default-brand-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@navbar-default-link-color\" data-var=\"@navbar-default-brand-color\">\n        <label>@navbar-default-brand-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@navbar-default-brand-color, 10%)\" data-var=\"@navbar-default-brand-hover-color\">\n        <label>@navbar-default-brand-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"transparent\" data-var=\"@navbar-default-brand-hover-bg\">\n\n        <h4>Toggle</h4>\n        <label>@navbar-default-toggle-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@navbar-default-toggle-hover-bg\">\n        <label>@navbar-default-toggle-icon-bar-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ccc\" data-var=\"@navbar-default-toggle-icon-bar-bg\">\n        <label>@navbar-default-toggle-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@navbar-default-toggle-border-color\">\n      </div>\n\n      <div class=\"col-lg-6\">\n        <h3>Inverted navbar</h3>\n\n        <h4>Basics</h4>\n        <label>@navbar-inverse-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@navbar-inverse-color\">\n        <label>@navbar-inverse-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#222\" data-var=\"@navbar-inverse-bg\">\n        <label>@navbar-inverse-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@navbar-inverse-bg, 10%)\" data-var=\"@navbar-inverse-border\">\n\n        <h4>Links</h4>\n        <label>@navbar-inverse-link-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@navbar-inverse-link-color\">\n        <label>@navbar-inverse-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@navbar-inverse-link-hover-color\">\n        <label>@navbar-inverse-link-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"transparent\" data-var=\"@navbar-inverse-link-hover-bg\">\n        <label>@navbar-inverse-link-active-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@navbar-inverse-link-hover-color\" data-var=\"@navbar-inverse-link-active-color\">\n        <label>@navbar-inverse-link-active-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@navbar-inverse-bg, 10%)\" data-var=\"@navbar-inverse-link-active-bg\">\n        <label>@navbar-inverse-link-disabled-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#444\" data-var=\"@navbar-inverse-link-disabled-color\">\n        <label>@navbar-inverse-link-disabled-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"transparent\" data-var=\"@navbar-inverse-link-disabled-bg\">\n\n        <h4>Brand</h4>\n        <label>@navbar-inverse-brand-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@navbar-inverse-link-color\" data-var=\"@navbar-inverse-brand-color\">\n        <label>@navbar-inverse-brand-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@navbar-inverse-brand-hover-color\">\n        <label>@navbar-inverse-brand-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"transparent\" data-var=\"@navbar-inverse-brand-hover-bg\">\n\n        <h4>Toggle</h4>\n        <label>@navbar-inverse-toggle-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#333\" data-var=\"@navbar-inverse-toggle-hover-bg\">\n        <label>@navbar-inverse-toggle-icon-bar-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@navbar-inverse-toggle-icon-bar-bg\">\n        <label>@navbar-inverse-toggle-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#333\" data-var=\"@navbar-inverse-toggle-border-color\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-nav\">Nav</h2>\n\n    <h3>Default nav</h3>\n    <div class=\"row\">\n      <div class=\"col-lg-6\">\n        <h4>Common values</h4>\n        <label>@nav-link-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"10px 15px\" data-var=\"@nav-link-padding\">\n        <label>@nav-link-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@nav-link-hover-bg\">\n        <label>@nav-disabled-link-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@nav-disabled-link-color\">\n        <label>@nav-disabled-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@nav-disabled-link-hover-color\">\n        <label>@nav-open-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@nav-open-link-hover-color\">\n        <label>@nav-open-caret-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@nav-open-caret-border-color\">\n\n        <h4>Pills</h4>\n        <label>@nav-pills-active-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@fff\" data-var=\"@nav-pills-active-link-hover-color\">\n        <label>@nav-pills-active-link-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@component-active-bg\" data-var=\"@nav-pills-active-link-hover-bg\">\n      </div>\n      <div class=\"col-lg-6\">\n        <h4>Tabs</h4>\n        <label>@nav-tabs-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@nav-tabs-border-color\">\n        <label>@nav-tabs-link-hover-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@nav-tabs-link-hover-border-color\">\n        <label>@nav-tabs-active-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray\" data-var=\"@nav-tabs-active-link-hover-color\">\n        <label>@nav-tabs-active-link-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@body-bg\" data-var=\"@nav-tabs-active-link-hover-bg\">\n        <label>@nav-tabs-active-link-hover-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@nav-tabs-active-link-hover-border-color\">\n        <label>@nav-tabs-justified-link-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@nav-tabs-justified-link-border-color\">\n        <label>@nav-tabs-justified-active-link-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@body-bg\" data-var=\"@nav-tabs-justified-active-link-border-color\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-tables\">Tables</h2>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@table-cell-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"8px\" data-var=\"@table-cell-padding\">\n        <p class=\"help-block\">Default padding for <code>&lt;th&gt;</code>s and <code>&lt;td&gt;</code>s</p>\n        <label>@table-condensed-cell-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"5px\" data-var=\"@table-condensed-cell-padding\">\n        <p class=\"help-block\">Default padding cells in <code>.table-condensed</code></p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@table-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"transparent\" data-var=\"@table-bg\">\n        <p class=\"help-block\">Default background color used for all tables.</p>\n        <label>@table-bg-accent</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f9f9f9\" data-var=\"@table-bg-accent\">\n        <p class=\"help-block\">Background color used for <code>.table-striped</code>.</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@table-bg-hover</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@table-bg-hover\">\n        <p class=\"help-block\">Background color used for <code>.table-hover</code>.</p>\n        <label>@table-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@table-border-color\">\n        <p class=\"help-block\">Border color for table and cell borders.</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-forms\">Forms</h2>\n\n    <h3>Inputs</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@input-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray\" data-var=\"@input-color\">\n        <p class=\"help-block\">Text color for <code>&lt;input&gt;</code>s</p>\n        <label>@input-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@input-bg\">\n        <p class=\"help-block\"><code>&lt;input&gt;</code> background color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@input-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ccc\" data-var=\"@input-border\">\n        <p class=\"help-block\"><code>&lt;input&gt;</code> border color</p>\n        <label>@input-border-radius</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@border-radius-base\" data-var=\"@input-border-radius\">\n        <p class=\"help-block\"><code>&lt;input&gt;</code> border radius</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@input-color-placeholder</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@input-color-placeholder\">\n        <p class=\"help-block\">Placeholder text color</p>\n      </div>\n    </div>\n\n    <h3>Input states</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@input-border-focus</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#66afe9\" data-var=\"@input-border-focus\">\n        <p class=\"help-block\">Border color for inputs on focus</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@input-bg-disabled</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@input-bg-disabled\">\n        <p class=\"help-block\"><code>&lt;input disabled&gt;</code> background color</p>\n      </div>\n    </div>\n\n    <h3>Input sizes</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@input-height-base</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"(@line-height-computed + (@padding-base-vertical * 2) + 2)\" data-var=\"@input-height-base\">\n        <p class=\"help-block\">Default <code>.form-control</code> height</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@input-height-large</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"(floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2)\" data-var=\"@input-height-large\">\n        <p class=\"help-block\">Large <code>.form-control</code> height</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@input-height-small</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"(floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2)\" data-var=\"@input-height-small\">\n        <p class=\"help-block\">Small <code>.form-control</code> height</p>\n      </div>\n    </div>\n\n    <h3>Legend</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@legend-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-dark\" data-var=\"@legend-color\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@legend-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#e5e5e5\" data-var=\"@legend-border-color\">\n      </div>\n    </div>\n\n    <h3>Input groups</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@input-group-addon-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@input-group-addon-bg\">\n        <p class=\"help-block\">Background color for textual input addons</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@input-group-addon-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@input-border\" data-var=\"@input-group-addon-border-color\">\n        <p class=\"help-block\">Border color for textual input addons</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-dropdowns\">Dropdowns</h2>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <h3>Dropdown menu</h3>\n        <label>@dropdown-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@dropdown-bg\">\n        <p class=\"help-block\">Dropdown menu background color</p>\n        <label>@dropdown-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"rgba(0,0,0,.15)\" data-var=\"@dropdown-border\">\n        <p class=\"help-block\">Dropdown menu border color</p>\n        <label>@dropdown-fallback-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ccc\" data-var=\"@dropdown-fallback-border\">\n        <p class=\"help-block\">Dropdown menu border color <strong>for IE8</strong></p>\n        <label>@dropdown-caret-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@dropdown-caret-color\" data-var=\"@dropdown-caret-color\">\n        <p class=\"help-block\">Indicator arrow for showing an element has a dropdown</p>\n        <label>@dropdown-divider-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#e5e5e5\" data-var=\"@dropdown-divider-bg\">\n        <p class=\"help-block\">Dropdown divider top border color</p>\n        <label>@dropdown-header-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@dropdown-header-color\">\n        <p class=\"help-block\">Text color for headers within dropdown menus</p>\n      </div>\n      <div class=\"col-md-6\">\n        <h3>Dropdown items</h3>\n        <label>@dropdown-link-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-dark\" data-var=\"@dropdown-link-color\">\n        <p class=\"help-block\">Dropdown text color</p>\n\n        <label>@dropdown-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@dropdown-link-color, 5%)\" data-var=\"@dropdown-link-hover-color\">\n        <p class=\"help-block\">Hovered dropdown menu entry text color</p>\n        <label>@dropdown-link-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@dropdown-link-hover-bg\">\n        <p class=\"help-block\">Hovered dropdown menu entry text color</p>\n\n        <label>@dropdown-link-active-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@component-active-color\" data-var=\"@dropdown-link-active-color\">\n        <p class=\"help-block\">Active dropdown menu entry text color</p>\n        <label>@dropdown-link-active-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@component-active-bg\" data-var=\"@dropdown-link-active-bg\">\n        <p class=\"help-block\">Active dropdown menu entry background color</p>\n\n        <label>@dropdown-link-disabled-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@dropdown-link-disabled-color\">\n        <p class=\"help-block\">Disabled dropdown menu entry background color</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-panels-wells\">Panels and wells</h2>\n\n    <h3>Common panel styles</h3>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@panel-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@panel-bg\">\n        <label>@panel-inner-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@panel-inner-border\">\n        <p class=\"help-block\">Border color for elements within panels</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@panel-border-radius</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@border-radius-base\" data-var=\"@panel-border-radius\">\n        <label>@panel-footer-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@panel-footer-bg\">\n      </div>\n    </div>\n    <h3>Contextual panel colors</h3>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <h4>Default</h4>\n        <label>@panel-default-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-dark\" data-var=\"@panel-default-text\">\n        <label>@panel-default-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@panel-default-border\">\n        <label>@panel-default-heading-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@panel-default-heading-bg\">\n\n        <h4>Primary</h4>\n        <label>@panel-primary-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@panel-primary-text\">\n        <label>@panel-primary-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-primary\" data-var=\"@panel-primary-border\">\n        <label>@panel-primary-heading-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-primary\" data-var=\"@panel-primary-heading-bg\">\n\n        <h4>Success</h4>\n        <label>@panel-success-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-success-text\" data-var=\"@panel-success-text\">\n        <label>@panel-success-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-success-border\" data-var=\"@panel-success-border\">\n        <label>@panel-success-heading-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-success-bg\" data-var=\"@panel-success-heading-bg\">\n      </div>\n      <div class=\"col-md-6\">\n        <h4>Info</h4>\n        <label>@panel-info-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-info-text\" data-var=\"@panel-info-text\">\n        <label>@panel-info-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-info-border\" data-var=\"@panel-info-border\">\n        <label>@panel-info-heading-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-info-bg\" data-var=\"@panel-info-heading-bg\">\n\n        <h4>Warning</h4>\n        <label>@panel-warning-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-warning-text\" data-var=\"@panel-warning-text\">\n        <label>@panel-warning-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-warning-border\" data-var=\"@panel-warning-border\">\n        <label>@panel-warning-heading-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-warning-bg\" data-var=\"@panel-warning-heading-bg\">\n\n        <h4>Danger</h4>\n        <label>@panel-danger-text</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-danger-text\" data-var=\"@panel-danger-text\">\n        <label>@panel-danger-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-danger-border\" data-var=\"@panel-danger-border\">\n        <label>@panel-danger-heading-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@state-danger-bg\" data-var=\"@panel-danger-heading-bg\">\n      </div>\n    </div>\n\n    <h3>Wells</h3>\n    <label>@well-bg</label>\n    <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@well-bg\">\n\n\n    <h2 id=\"variables-accordion\">Accordion</h2>\n    <label>@accordion-border-bg</label>\n    <input type=\"text\" class=\"form-control\" placeholder=\"#e5e5e5\" data-var=\"@accordion-border-bg\">\n\n\n    <h2 id=\"variables-badges\">Badges</h2>\n\n    <h3>Base styles</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@badge-font-weight</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"bold\" data-var=\"@badge-font-weight\">\n        <label>@badge-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@badge-color\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@badge-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@badge-bg\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@badge-border-radius</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"10px\" data-var=\"@badge-border-radius\">\n      </div>\n    </div>\n\n    <h3>States</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@badge-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@badge-link-hover-color\">\n        <p class=\"help-block\">Linked badge text color on hover</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@badge-active-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@link-color\" data-var=\"@badge-active-color\">\n        <p class=\"help-block\">Badge text color in active nav link</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@badge-active-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@badge-color\" data-var=\"@badge-active-bg\">\n        <p class=\"help-block\">Badge background color in active nav link</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-breadcrumbs\">Breadcrumbs</h2>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@breadcrumb-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ccc\" data-var=\"@breadcrumb-color\">\n        <p class=\"help-block\">Breadcrumb text color</p>\n        <label>@breadcrumb-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@breadcrumb-bg\">\n        <p class=\"help-block\">Breadcrumb background color</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@breadcrumb-active-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@breadcrumb-active-color\">\n        <p class=\"help-block\">Text color of current page in the breadcrumb</p>\n        <label>@breadcrumb-separator</label>\n        <input type=\"text\" class=\"form-control\" placeholder='\"/\"' data-var=\"@breadcrumb-separator\">\n        <p class=\"help-block\">Textual separator for between breadcrumb elements</p>\n      </div>\n    </div>\n\n    <h2 id=\"variables-jumbotron\">Jumbotron</h2>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@jumbotron-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"30px\" data-var=\"@jumbotron-padding\">\n        <label>@jumbotron-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@jumbotron-bg\">\n        <label>@jumbotron-font-size</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"ceil(@font-size-base * 1.5)\" data-var=\"@jumbotron-font-size\">\n      </div>\n      <div class=\"col-md-6\">\n        <label>@jumbotron-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"inherit\" data-var=\"@jumbotron-color\">\n        <label>@jumbotron-heading-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"inherit\" data-var=\"@jumbotron-heading-color\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-modals\">Modals</h2>\n\n    <h3>Base modal</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@modal-inner-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"20px\" data-var=\"@modal-inner-padding\">\n        <p class=\"help-block\">Padding applied to the modal body</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@modal-backdrop-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#000\" data-var=\"@modal-backdrop-bg\">\n        <p class=\"help-block\">Modal backdrop background color</p>\n      </div>\n    </div>\n\n    <h3>Modal header and footer</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@modal-title-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"15px\" data-var=\"@modal-title-padding\">\n        <p class=\"help-block\">Padding applied to the modal title</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@modal-title-line-height</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@line-height-base\" data-var=\"@modal-title-line-height\">\n        <p class=\"help-block\">Modal title line-height</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@modal-header-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#e5e5e5\" data-var=\"@modal-header-border-color\">\n        <p class=\"help-block\">Modal header border color</p>\n        <label>@modal-footer-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@modal-header-border-color\" data-var=\"@modal-footer-border-color\">\n        <p class=\"help-block\">Modal footer border color</p>\n      </div>\n    </div>\n\n    <h3>Modal content</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@modal-content-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@modal-content-bg\">\n        <p class=\"help-block\">Background color of modal content area</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@modal-content-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"rgba(0,0,0,.2)\" data-var=\"@modal-content-border-color\">\n        <p class=\"help-block\">Modal content border color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@modal-content-fallback-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#999\" data-var=\"@modal-content-fallback-border-color\">\n        <p class=\"help-block\">Modal content border color <strong>for IE8</strong></p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-carousel\">Carousel</h2>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@carousel-text-shadow</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"0 1px 2px rgba(0,0,0,.6)\" data-var=\"@carousel-text-shadow\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@carousel-control-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@carousel-control-color\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@carousel-caption-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@carousel-caption-color\">\n      </div>\n    </div>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@carousel-indicator-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@carousel-indicator-border-color\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@carousel-indicator-active-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@carousel-indicator-active-bg\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-list-group\">List group</h2>\n\n    <h3>Base styles</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@list-group-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@list-group-bg\">\n        <p class=\"help-block\">Background color on <code>.list-group-item</code></p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@list-group-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@list-group-border\">\n        <p class=\"help-block\"><code>.list-group-item</code> border color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@list-group-border-radius</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@border-radius-base\" data-var=\"@list-group-border-radius\">\n        <p class=\"help-block\">List group border radius</p>\n      </div>\n    </div>\n\n    <h3>Hover and active states</h3>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@list-group-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@list-group-hover-bg\">\n        <p class=\"help-block\">Background color of single list elements on hover</p>\n      </div>\n    </div>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@list-group-active-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@list-group-active-color\">\n        <p class=\"help-block\">Text color of active list elements</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@list-group-active-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@component-active-bg\" data-var=\"@list-group-active-bg\">\n        <p class=\"help-block\">Background color of active list elements</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@list-group-active-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@list-group-active-bg\" data-var=\"@list-group-active-border\">\n        <p class=\"help-block\">Border color of active list elements</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-thumbnails\">Thumbnails</h2>\n\n    <h3>Base thumbnail</h3>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@thumbnail-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"4px\" data-var=\"@thumbnail-padding\">\n        <p class=\"help-block\">Padding around the thumbnail image</p>\n        <label>@thumbnail-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@body-bg\" data-var=\"@thumbnail-bg\">\n        <p class=\"help-block\">Thumbnail background color</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@thumbnail-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@thumbnail-border\">\n        <p class=\"help-block\">Thumbnail border color</p>\n        <label>@thumbnail-border-radius</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@border-radius-base\" data-var=\"@thumbnail-border-radius\">\n        <p class=\"help-block\">Thumbnail border radius</p>\n      </div>\n    </div>\n\n    <h3>Thumbnail captions</h3>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@thumbnail-caption-padding</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"9px\" data-var=\"@thumbnail-caption-padding\">\n        <p class=\"help-block\">Padding around the thumbnail caption</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@thumbnail-caption-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@text-color\" data-var=\"@thumbnail-caption-color\">\n        <p class=\"help-block\">Custom text color for thumbnail captions</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-progress\">Progress bars</h2>\n\n    <h3>Shared styles</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@progress-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#f5f5f5\" data-var=\"@progress-bg\">\n        <p class=\"help-block\">Background color of the whole progress component</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@progress-bar-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@progress-bar-color\">\n        <p class=\"help-block\">Info progress bar text color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@progress-bar-text-shadow</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"0 -1px 0 rgba(0,0,0,.25)\" data-var=\"@progress-bar-text-shadow\">\n        <p class=\"help-block\">Info progress bar text shadow</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@progress-bar-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-primary\" data-var=\"@progress-bar-bg\">\n        <p class=\"help-block\">Default progress bar color</p>\n      </div>\n    </div>\n\n    <h3>Contextual states</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@progress-bar-success-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-success\" data-var=\"@progress-bar-success-bg\">\n        <p class=\"help-block\">Success progress bar color</p>\n        <label>@progress-bar-info-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-info\" data-var=\"@progress-bar-info-bg\">\n        <p class=\"help-block\">Info progress bar color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@progress-bar-warning-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-warning\" data-var=\"@progress-bar-warning-bg\">\n        <p class=\"help-block\">Warning progress bar color</p>\n        <label>@progress-bar-danger-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-danger\" data-var=\"@progress-bar-danger-bg\">\n        <p class=\"help-block\">Danger progress bar color</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-pagination\">Pagination</h2>\n\n    <h3>Default styles</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@pagination-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@pagination-bg\">\n        <p class=\"help-block\">Background color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@pagination-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ddd\" data-var=\"@pagination-border\">\n        <p class=\"help-block\">Border color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@pagination-hover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@pagination-hover-bg\">\n        <p class=\"help-block\">Background hover color</p>\n      </div>\n    </div>\n\n    <h3>Disabled and active states</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@pagination-disabled-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@pagination-disabled-color\">\n        <p class=\"help-block\">Disabled text color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@pagination-active-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-primary\" data-var=\"@pagination-active-bg\">\n        <p class=\"help-block\">Active background color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@pagination-active-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@pagination-active-color\">\n        <p class=\"help-block\">Active text color</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-pager\">Pager</h2>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@pager-border-radius</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"15px\" data-var=\"@pager-border-radius\">\n        <p class=\"help-block\">Pager border radius</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@pager-disabled-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@pager-disabled-color\">\n        <p class=\"help-block\">Pager disabled state color</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-labels\">Labels</h2>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@label-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@label-color\">\n        <p class=\"help-block\">Default label text color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@label-link-hover-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@label-link-hover-color\">\n        <p class=\"help-block\">Default text color of a linked label</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@label-default-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@label-default-bg\">\n        <p class=\"help-block\">Default label background color</p>\n      </div>\n    </div>\n\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@label-primary-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-primary\" data-var=\"@label-primary-bg\">\n        <p class=\"help-block\">Primary label background color</p>\n        <label>@label-success-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-success\" data-var=\"@label-success-bg\">\n        <p class=\"help-block\">Success label background color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@label-info-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-info\" data-var=\"@label-info-bg\">\n        <p class=\"help-block\">Info label background color</p>\n        <label>@label-warning-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-warning\" data-var=\"@label-warning-bg\">\n        <p class=\"help-block\">Warning label background color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@label-danger-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@brand-danger\" data-var=\"@label-danger-bg\">\n        <p class=\"help-block\">Danger label background color</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-tooltips-popovers\">Tooltips and popovers</h2>\n\n    <h3>Tooltip</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@tooltip-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@tooltip-color\">\n        <p class=\"help-block\">Tooltip text color</p>\n        <label>@tooltip-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#000\" data-var=\"@tooltip-bg\">\n        <p class=\"help-block\">Tooltip background color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@tooltip-arrow-width</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"5px\" data-var=\"@tooltip-arrow-width\">\n        <p class=\"help-block\">Tooltip arrow width</p>\n        <label>@tooltip-arrow-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@tooltip-bg\" data-var=\"@tooltip-arrow-color\">\n        <p class=\"help-block\">Tooltip arrow color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@tooltip-max-width</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"200px\" data-var=\"@tooltip-max-width\">\n        <p class=\"help-block\">Tooltip max width</p>\n      </div>\n    </div>\n\n    <h3>Popovers</h3>\n\n    <h3>Base styles</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@popover-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@popover-bg\">\n        <p class=\"help-block\">Popover body background color</p>\n        <label>@popover-max-width</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"276px\" data-var=\"@popover-max-width\">\n        <p class=\"help-block\">Popover maximum width</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@popover-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"rgba(0,0,0,.2)\" data-var=\"@popover-border-color\">\n        <p class=\"help-block\">Popover border color</p>\n        <label>@popover-fallback-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#ccc\" data-var=\"@popover-fallback-border-color\">\n        <p class=\"help-block\">Popover fallback border color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@popover-title-bg</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"darken(@popover-bg, 3%)\" data-var=\"@popover-title-bg\">\n        <p class=\"help-block\">Popover title background color</p>\n      </div>\n    </div>\n\n    <h3>Popover arrows</h3>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@popover-arrow-width</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"10px\" data-var=\"@popover-arrow-width\">\n        <p class=\"help-block\">Popover arrow width</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@popover-arrow-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#fff\" data-var=\"@popover-arrow-color\">\n        <p class=\"help-block\">Popover arrow color</p>\n      </div>\n    </div>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@popover-arrow-outer-width</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"(@popover-arrow-width + 1)\" data-var=\"@popover-arrow-outer-width\">\n        <p class=\"help-block\">Popover outer arrow width</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@popover-arrow-outer-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"rgba(0,0,0,.25)\" data-var=\"@popover-arrow-outer-color\">\n        <p class=\"help-block\">Popover outer arrow color</p>\n      </div>\n      <div class=\"col-md-4\">\n        <label>@popover-arrow-outer-fallback-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#999\" data-var=\"@popover-arrow-outer-fallback-color\">\n        <p class=\"help-block\">Popover outer arrow fallback color</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-close\">Close button</h2>\n    <div class=\"row\">\n      <div class=\"col-md-4\">\n        <label>@close-font-weight</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"bold\" data-var=\"@close-font-weight\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@close-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"#000\" data-var=\"@close-color\">\n      </div>\n      <div class=\"col-md-4\">\n        <label>@close-text-shadow</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"0 1px 0 #fff\" data-var=\"@close-text-shadow\">\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-type\">Type</h2>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@text-muted</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@text-muted\">\n        <p class=\"help-block\">Text muted color</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@abbr-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@abbr-border-color\">\n        <p class=\"help-block\">Abbreviations and acronyms border color</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@headings-small-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@headings-small-color\">\n        <p class=\"help-block\">Headings small color</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@blockquote-small-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-light\" data-var=\"@blockquote-small-color\">\n        <p class=\"help-block\">Blockquote small color</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@blockquote-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@blockquote-border-color\">\n        <p class=\"help-block\">Blockquote border color</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@page-header-border-color</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@page-header-border-color\">\n        <p class=\"help-block\">Page header border color</p>\n      </div>\n    </div>\n\n\n    <h2 id=\"variables-other\">Other</h2>\n    <div class=\"row\">\n      <div class=\"col-md-6\">\n        <label>@hr-border</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"@gray-lighter\" data-var=\"@hr-border\">\n        <p class=\"help-block\">Horizontal line color</p>\n      </div>\n      <div class=\"col-md-6\">\n        <label>@component-offset-horizontal</label>\n        <input type=\"text\" class=\"form-control\" placeholder=\"180px\" data-var=\"@component-offset-horizontal\">\n        <p class=\"help-block\">Horizontal offset for forms and lists</p>\n      </div>\n    </div>\n  </div>\n\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"download\">Download</h1>\n    </div>\n    <p class=\"lead\">Hooray! Your custom version of Bootstrap is now ready to be compiled. Just click the button below to finish the process.</p>\n    <div class=\"bs-customize-download\">\n      <button type=\"submit\" id=\"btn-compile\" class=\"btn btn-block btn-lg btn-outline\" onclick=\"_gaq.push(['_trackEvent', 'Customize', 'Download', 'Customize and Download']);\">Compile and Download</button>\n    </div>\n  </div><!-- /download -->\n</form>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/dist/css/bootstrap-theme.css",
    "content": "/*!\n * Bootstrap v3.0.3 (http://getbootstrap.com)\n * Copyright 2013 Twitter, Inc.\n * Licensed under http://www.apache.org/licenses/LICENSE-2.0\n */\n\n.btn-default,\n.btn-primary,\n.btn-success,\n.btn-info,\n.btn-warning,\n.btn-danger {\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);\n  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n\n.btn-default:active,\n.btn-primary:active,\n.btn-success:active,\n.btn-info:active,\n.btn-warning:active,\n.btn-danger:active,\n.btn-default.active,\n.btn-primary.active,\n.btn-success.active,\n.btn-info.active,\n.btn-warning.active,\n.btn-danger.active {\n  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n\n.btn:active,\n.btn.active {\n  background-image: none;\n}\n\n.btn-default {\n  text-shadow: 0 1px 0 #fff;\n  background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);\n  background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);\n  background-repeat: repeat-x;\n  border-color: #dbdbdb;\n  border-color: #ccc;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-default:hover,\n.btn-default:focus {\n  background-color: #e0e0e0;\n  background-position: 0 -15px;\n}\n\n.btn-default:active,\n.btn-default.active {\n  background-color: #e0e0e0;\n  border-color: #dbdbdb;\n}\n\n.btn-primary {\n  background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);\n  background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);\n  background-repeat: repeat-x;\n  border-color: #2b669a;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-primary:hover,\n.btn-primary:focus {\n  background-color: #2d6ca2;\n  background-position: 0 -15px;\n}\n\n.btn-primary:active,\n.btn-primary.active {\n  background-color: #2d6ca2;\n  border-color: #2b669a;\n}\n\n.btn-success {\n  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);\n  background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);\n  background-repeat: repeat-x;\n  border-color: #3e8f3e;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-success:hover,\n.btn-success:focus {\n  background-color: #419641;\n  background-position: 0 -15px;\n}\n\n.btn-success:active,\n.btn-success.active {\n  background-color: #419641;\n  border-color: #3e8f3e;\n}\n\n.btn-warning {\n  background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);\n  background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);\n  background-repeat: repeat-x;\n  border-color: #e38d13;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-warning:hover,\n.btn-warning:focus {\n  background-color: #eb9316;\n  background-position: 0 -15px;\n}\n\n.btn-warning:active,\n.btn-warning.active {\n  background-color: #eb9316;\n  border-color: #e38d13;\n}\n\n.btn-danger {\n  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);\n  background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);\n  background-repeat: repeat-x;\n  border-color: #b92c28;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-danger:hover,\n.btn-danger:focus {\n  background-color: #c12e2a;\n  background-position: 0 -15px;\n}\n\n.btn-danger:active,\n.btn-danger.active {\n  background-color: #c12e2a;\n  border-color: #b92c28;\n}\n\n.btn-info {\n  background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);\n  background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);\n  background-repeat: repeat-x;\n  border-color: #28a4c9;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-info:hover,\n.btn-info:focus {\n  background-color: #2aabd2;\n  background-position: 0 -15px;\n}\n\n.btn-info:active,\n.btn-info.active {\n  background-color: #2aabd2;\n  border-color: #28a4c9;\n}\n\n.thumbnail,\n.img-thumbnail {\n  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n}\n\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n  background-color: #e8e8e8;\n  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n  background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);\n}\n\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n  background-color: #357ebd;\n  background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);\n  background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);\n}\n\n.navbar-default {\n  background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);\n  background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);\n  background-repeat: repeat-x;\n  border-radius: 4px;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);\n}\n\n.navbar-default .navbar-nav > .active > a {\n  background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);\n  background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);\n  -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);\n}\n\n.navbar-brand,\n.navbar-nav > li > a {\n  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);\n}\n\n.navbar-inverse {\n  background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222222 100%);\n  background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.navbar-inverse .navbar-nav > .active > a {\n  background-image: -webkit-linear-gradient(top, #222222 0%, #282828 100%);\n  background-image: linear-gradient(to bottom, #222222 0%, #282828 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);\n  -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);\n          box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);\n}\n\n.navbar-inverse .navbar-brand,\n.navbar-inverse .navbar-nav > li > a {\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n\n.navbar-static-top,\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n  border-radius: 0;\n}\n\n.alert {\n  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);\n  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);\n          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n.alert-success {\n  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);\n  background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);\n  background-repeat: repeat-x;\n  border-color: #b2dba1;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);\n}\n\n.alert-info {\n  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);\n  background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);\n  background-repeat: repeat-x;\n  border-color: #9acfea;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);\n}\n\n.alert-warning {\n  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);\n  background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);\n  background-repeat: repeat-x;\n  border-color: #f5e79e;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);\n}\n\n.alert-danger {\n  background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);\n  background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);\n  background-repeat: repeat-x;\n  border-color: #dca7a7;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);\n}\n\n.progress {\n  background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);\n  background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);\n}\n\n.progress-bar {\n  background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);\n  background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);\n}\n\n.progress-bar-success {\n  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);\n  background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);\n}\n\n.progress-bar-info {\n  background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);\n  background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);\n}\n\n.progress-bar-warning {\n  background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);\n  background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);\n}\n\n.progress-bar-danger {\n  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);\n  background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);\n}\n\n.list-group {\n  border-radius: 4px;\n  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);\n}\n\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n  text-shadow: 0 -1px 0 #3071a9;\n  background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);\n  background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);\n  background-repeat: repeat-x;\n  border-color: #3278b3;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);\n}\n\n.panel {\n  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n.panel-default > .panel-heading {\n  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);\n  background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);\n}\n\n.panel-primary > .panel-heading {\n  background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);\n  background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);\n}\n\n.panel-success > .panel-heading {\n  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);\n  background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);\n}\n\n.panel-info > .panel-heading {\n  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);\n  background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);\n}\n\n.panel-warning > .panel-heading {\n  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);\n  background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);\n}\n\n.panel-danger > .panel-heading {\n  background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);\n  background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);\n}\n\n.well {\n  background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);\n  background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);\n  background-repeat: repeat-x;\n  border-color: #dcdcdc;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);\n  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);\n          box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);\n}"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/dist/css/bootstrap.css",
    "content": "/*!\n * Bootstrap v3.0.3 (http://getbootstrap.com)\n * Copyright 2013 Twitter, Inc.\n * Licensed under http://www.apache.org/licenses/LICENSE-2.0\n */\n\n/*! normalize.css v2.1.3 | MIT License | git.io/normalize */\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection,\nsummary {\n  display: block;\n}\n\naudio,\ncanvas,\nvideo {\n  display: inline-block;\n}\n\naudio:not([controls]) {\n  display: none;\n  height: 0;\n}\n\n[hidden],\ntemplate {\n  display: none;\n}\n\nhtml {\n  font-family: sans-serif;\n  -webkit-text-size-adjust: 100%;\n      -ms-text-size-adjust: 100%;\n}\n\nbody {\n  margin: 0;\n}\n\na {\n  background: transparent;\n}\n\na:focus {\n  outline: thin dotted;\n}\n\na:active,\na:hover {\n  outline: 0;\n}\n\nh1 {\n  margin: 0.67em 0;\n  font-size: 2em;\n}\n\nabbr[title] {\n  border-bottom: 1px dotted;\n}\n\nb,\nstrong {\n  font-weight: bold;\n}\n\ndfn {\n  font-style: italic;\n}\n\nhr {\n  height: 0;\n  -moz-box-sizing: content-box;\n       box-sizing: content-box;\n}\n\nmark {\n  color: #000;\n  background: #ff0;\n}\n\ncode,\nkbd,\npre,\nsamp {\n  font-family: monospace, serif;\n  font-size: 1em;\n}\n\npre {\n  white-space: pre-wrap;\n}\n\nq {\n  quotes: \"\\201C\" \"\\201D\" \"\\2018\" \"\\2019\";\n}\n\nsmall {\n  font-size: 80%;\n}\n\nsub,\nsup {\n  position: relative;\n  font-size: 75%;\n  line-height: 0;\n  vertical-align: baseline;\n}\n\nsup {\n  top: -0.5em;\n}\n\nsub {\n  bottom: -0.25em;\n}\n\nimg {\n  border: 0;\n}\n\nsvg:not(:root) {\n  overflow: hidden;\n}\n\nfigure {\n  margin: 0;\n}\n\nfieldset {\n  padding: 0.35em 0.625em 0.75em;\n  margin: 0 2px;\n  border: 1px solid #c0c0c0;\n}\n\nlegend {\n  padding: 0;\n  border: 0;\n}\n\nbutton,\ninput,\nselect,\ntextarea {\n  margin: 0;\n  font-family: inherit;\n  font-size: 100%;\n}\n\nbutton,\ninput {\n  line-height: normal;\n}\n\nbutton,\nselect {\n  text-transform: none;\n}\n\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n  cursor: pointer;\n  -webkit-appearance: button;\n}\n\nbutton[disabled],\nhtml input[disabled] {\n  cursor: default;\n}\n\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n  padding: 0;\n  box-sizing: border-box;\n}\n\ninput[type=\"search\"] {\n  -webkit-box-sizing: content-box;\n     -moz-box-sizing: content-box;\n          box-sizing: content-box;\n  -webkit-appearance: textfield;\n}\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n  -webkit-appearance: none;\n}\n\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n  padding: 0;\n  border: 0;\n}\n\ntextarea {\n  overflow: auto;\n  vertical-align: top;\n}\n\ntable {\n  border-collapse: collapse;\n  border-spacing: 0;\n}\n\n@media print {\n  * {\n    color: #000 !important;\n    text-shadow: none !important;\n    background: transparent !important;\n    box-shadow: none !important;\n  }\n  a,\n  a:visited {\n    text-decoration: underline;\n  }\n  a[href]:after {\n    content: \" (\" attr(href) \")\";\n  }\n  abbr[title]:after {\n    content: \" (\" attr(title) \")\";\n  }\n  a[href^=\"javascript:\"]:after,\n  a[href^=\"#\"]:after {\n    content: \"\";\n  }\n  pre,\n  blockquote {\n    border: 1px solid #999;\n    page-break-inside: avoid;\n  }\n  thead {\n    display: table-header-group;\n  }\n  tr,\n  img {\n    page-break-inside: avoid;\n  }\n  img {\n    max-width: 100% !important;\n  }\n  @page  {\n    margin: 2cm .5cm;\n  }\n  p,\n  h2,\n  h3 {\n    orphans: 3;\n    widows: 3;\n  }\n  h2,\n  h3 {\n    page-break-after: avoid;\n  }\n  select {\n    background: #fff !important;\n  }\n  .navbar {\n    display: none;\n  }\n  .table td,\n  .table th {\n    background-color: #fff !important;\n  }\n  .btn > .caret,\n  .dropup > .btn > .caret {\n    border-top-color: #000 !important;\n  }\n  .label {\n    border: 1px solid #000;\n  }\n  .table {\n    border-collapse: collapse !important;\n  }\n  .table-bordered th,\n  .table-bordered td {\n    border: 1px solid #ddd !important;\n  }\n}\n\n*,\n*:before,\n*:after {\n  -webkit-box-sizing: border-box;\n     -moz-box-sizing: border-box;\n          box-sizing: border-box;\n}\n\nhtml {\n  font-size: 62.5%;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\nbody {\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n  font-size: 14px;\n  line-height: 1.428571429;\n  color: #333333;\n  background-color: #ffffff;\n}\n\ninput,\nbutton,\nselect,\ntextarea {\n  font-family: inherit;\n  font-size: inherit;\n  line-height: inherit;\n}\n\na {\n  color: #428bca;\n  text-decoration: none;\n}\n\na:hover,\na:focus {\n  color: #2a6496;\n  text-decoration: underline;\n}\n\na:focus {\n  outline: thin dotted;\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n\nimg {\n  vertical-align: middle;\n}\n\n.img-responsive {\n  display: block;\n  height: auto;\n  max-width: 100%;\n}\n\n.img-rounded {\n  border-radius: 6px;\n}\n\n.img-thumbnail {\n  display: inline-block;\n  height: auto;\n  max-width: 100%;\n  padding: 4px;\n  line-height: 1.428571429;\n  background-color: #ffffff;\n  border: 1px solid #dddddd;\n  border-radius: 4px;\n  -webkit-transition: all 0.2s ease-in-out;\n          transition: all 0.2s ease-in-out;\n}\n\n.img-circle {\n  border-radius: 50%;\n}\n\nhr {\n  margin-top: 20px;\n  margin-bottom: 20px;\n  border: 0;\n  border-top: 1px solid #eeeeee;\n}\n\n.sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  border: 0;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\n.h1,\n.h2,\n.h3,\n.h4,\n.h5,\n.h6 {\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n  font-weight: 500;\n  line-height: 1.1;\n  color: inherit;\n}\n\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small,\n.h1 small,\n.h2 small,\n.h3 small,\n.h4 small,\n.h5 small,\n.h6 small,\nh1 .small,\nh2 .small,\nh3 .small,\nh4 .small,\nh5 .small,\nh6 .small,\n.h1 .small,\n.h2 .small,\n.h3 .small,\n.h4 .small,\n.h5 .small,\n.h6 .small {\n  font-weight: normal;\n  line-height: 1;\n  color: #999999;\n}\n\nh1,\nh2,\nh3 {\n  margin-top: 20px;\n  margin-bottom: 10px;\n}\n\nh1 small,\nh2 small,\nh3 small,\nh1 .small,\nh2 .small,\nh3 .small {\n  font-size: 65%;\n}\n\nh4,\nh5,\nh6 {\n  margin-top: 10px;\n  margin-bottom: 10px;\n}\n\nh4 small,\nh5 small,\nh6 small,\nh4 .small,\nh5 .small,\nh6 .small {\n  font-size: 75%;\n}\n\nh1,\n.h1 {\n  font-size: 36px;\n}\n\nh2,\n.h2 {\n  font-size: 30px;\n}\n\nh3,\n.h3 {\n  font-size: 24px;\n}\n\nh4,\n.h4 {\n  font-size: 18px;\n}\n\nh5,\n.h5 {\n  font-size: 14px;\n}\n\nh6,\n.h6 {\n  font-size: 12px;\n}\n\np {\n  margin: 0 0 10px;\n}\n\n.lead {\n  margin-bottom: 20px;\n  font-size: 16px;\n  font-weight: 200;\n  line-height: 1.4;\n}\n\n@media (min-width: 768px) {\n  .lead {\n    font-size: 21px;\n  }\n}\n\nsmall,\n.small {\n  font-size: 85%;\n}\n\ncite {\n  font-style: normal;\n}\n\n.text-muted {\n  color: #999999;\n}\n\n.text-primary {\n  color: #428bca;\n}\n\n.text-primary:hover {\n  color: #3071a9;\n}\n\n.text-warning {\n  color: #8a6d3b;\n}\n\n.text-warning:hover {\n  color: #66512c;\n}\n\n.text-danger {\n  color: #a94442;\n}\n\n.text-danger:hover {\n  color: #843534;\n}\n\n.text-success {\n  color: #3c763d;\n}\n\n.text-success:hover {\n  color: #2b542c;\n}\n\n.text-info {\n  color: #31708f;\n}\n\n.text-info:hover {\n  color: #245269;\n}\n\n.text-left {\n  text-align: left;\n}\n\n.text-right {\n  text-align: right;\n}\n\n.text-center {\n  text-align: center;\n}\n\n.page-header {\n  padding-bottom: 9px;\n  margin: 40px 0 20px;\n  border-bottom: 1px solid #eeeeee;\n}\n\nul,\nol {\n  margin-top: 0;\n  margin-bottom: 10px;\n}\n\nul ul,\nol ul,\nul ol,\nol ol {\n  margin-bottom: 0;\n}\n\n.list-unstyled {\n  padding-left: 0;\n  list-style: none;\n}\n\n.list-inline {\n  padding-left: 0;\n  list-style: none;\n}\n\n.list-inline > li {\n  display: inline-block;\n  padding-right: 5px;\n  padding-left: 5px;\n}\n\n.list-inline > li:first-child {\n  padding-left: 0;\n}\n\ndl {\n  margin-top: 0;\n  margin-bottom: 20px;\n}\n\ndt,\ndd {\n  line-height: 1.428571429;\n}\n\ndt {\n  font-weight: bold;\n}\n\ndd {\n  margin-left: 0;\n}\n\n@media (min-width: 768px) {\n  .dl-horizontal dt {\n    float: left;\n    width: 160px;\n    overflow: hidden;\n    clear: left;\n    text-align: right;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n  }\n  .dl-horizontal dd {\n    margin-left: 180px;\n  }\n  .dl-horizontal dd:before,\n  .dl-horizontal dd:after {\n    display: table;\n    content: \" \";\n  }\n  .dl-horizontal dd:after {\n    clear: both;\n  }\n  .dl-horizontal dd:before,\n  .dl-horizontal dd:after {\n    display: table;\n    content: \" \";\n  }\n  .dl-horizontal dd:after {\n    clear: both;\n  }\n}\n\nabbr[title],\nabbr[data-original-title] {\n  cursor: help;\n  border-bottom: 1px dotted #999999;\n}\n\n.initialism {\n  font-size: 90%;\n  text-transform: uppercase;\n}\n\nblockquote {\n  padding: 10px 20px;\n  margin: 0 0 20px;\n  border-left: 5px solid #eeeeee;\n}\n\nblockquote p {\n  font-size: 17.5px;\n  font-weight: 300;\n  line-height: 1.25;\n}\n\nblockquote p:last-child {\n  margin-bottom: 0;\n}\n\nblockquote small,\nblockquote .small {\n  display: block;\n  line-height: 1.428571429;\n  color: #999999;\n}\n\nblockquote small:before,\nblockquote .small:before {\n  content: '\\2014 \\00A0';\n}\n\nblockquote.pull-right {\n  padding-right: 15px;\n  padding-left: 0;\n  border-right: 5px solid #eeeeee;\n  border-left: 0;\n}\n\nblockquote.pull-right p,\nblockquote.pull-right small,\nblockquote.pull-right .small {\n  text-align: right;\n}\n\nblockquote.pull-right small:before,\nblockquote.pull-right .small:before {\n  content: '';\n}\n\nblockquote.pull-right small:after,\nblockquote.pull-right .small:after {\n  content: '\\00A0 \\2014';\n}\n\nblockquote:before,\nblockquote:after {\n  content: \"\";\n}\n\naddress {\n  margin-bottom: 20px;\n  font-style: normal;\n  line-height: 1.428571429;\n}\n\ncode,\nkbd,\npre,\nsamp {\n  font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n}\n\ncode {\n  padding: 2px 4px;\n  font-size: 90%;\n  color: #c7254e;\n  white-space: nowrap;\n  background-color: #f9f2f4;\n  border-radius: 4px;\n}\n\npre {\n  display: block;\n  padding: 9.5px;\n  margin: 0 0 10px;\n  font-size: 13px;\n  line-height: 1.428571429;\n  color: #333333;\n  word-break: break-all;\n  word-wrap: break-word;\n  background-color: #f5f5f5;\n  border: 1px solid #cccccc;\n  border-radius: 4px;\n}\n\npre code {\n  padding: 0;\n  font-size: inherit;\n  color: inherit;\n  white-space: pre-wrap;\n  background-color: transparent;\n  border-radius: 0;\n}\n\n.pre-scrollable {\n  max-height: 340px;\n  overflow-y: scroll;\n}\n\n.container {\n  padding-right: 15px;\n  padding-left: 15px;\n  margin-right: auto;\n  margin-left: auto;\n}\n\n.container:before,\n.container:after {\n  display: table;\n  content: \" \";\n}\n\n.container:after {\n  clear: both;\n}\n\n.container:before,\n.container:after {\n  display: table;\n  content: \" \";\n}\n\n.container:after {\n  clear: both;\n}\n\n@media (min-width: 768px) {\n  .container {\n    width: 750px;\n  }\n}\n\n@media (min-width: 992px) {\n  .container {\n    width: 970px;\n  }\n}\n\n@media (min-width: 1200px) {\n  .container {\n    width: 1170px;\n  }\n}\n\n.row {\n  margin-right: -15px;\n  margin-left: -15px;\n}\n\n.row:before,\n.row:after {\n  display: table;\n  content: \" \";\n}\n\n.row:after {\n  clear: both;\n}\n\n.row:before,\n.row:after {\n  display: table;\n  content: \" \";\n}\n\n.row:after {\n  clear: both;\n}\n\n.col-xs-1,\n.col-sm-1,\n.col-md-1,\n.col-lg-1,\n.col-xs-2,\n.col-sm-2,\n.col-md-2,\n.col-lg-2,\n.col-xs-3,\n.col-sm-3,\n.col-md-3,\n.col-lg-3,\n.col-xs-4,\n.col-sm-4,\n.col-md-4,\n.col-lg-4,\n.col-xs-5,\n.col-sm-5,\n.col-md-5,\n.col-lg-5,\n.col-xs-6,\n.col-sm-6,\n.col-md-6,\n.col-lg-6,\n.col-xs-7,\n.col-sm-7,\n.col-md-7,\n.col-lg-7,\n.col-xs-8,\n.col-sm-8,\n.col-md-8,\n.col-lg-8,\n.col-xs-9,\n.col-sm-9,\n.col-md-9,\n.col-lg-9,\n.col-xs-10,\n.col-sm-10,\n.col-md-10,\n.col-lg-10,\n.col-xs-11,\n.col-sm-11,\n.col-md-11,\n.col-lg-11,\n.col-xs-12,\n.col-sm-12,\n.col-md-12,\n.col-lg-12 {\n  position: relative;\n  min-height: 1px;\n  padding-right: 15px;\n  padding-left: 15px;\n}\n\n.col-xs-1,\n.col-xs-2,\n.col-xs-3,\n.col-xs-4,\n.col-xs-5,\n.col-xs-6,\n.col-xs-7,\n.col-xs-8,\n.col-xs-9,\n.col-xs-10,\n.col-xs-11,\n.col-xs-12 {\n  float: left;\n}\n\n.col-xs-12 {\n  width: 100%;\n}\n\n.col-xs-11 {\n  width: 91.66666666666666%;\n}\n\n.col-xs-10 {\n  width: 83.33333333333334%;\n}\n\n.col-xs-9 {\n  width: 75%;\n}\n\n.col-xs-8 {\n  width: 66.66666666666666%;\n}\n\n.col-xs-7 {\n  width: 58.333333333333336%;\n}\n\n.col-xs-6 {\n  width: 50%;\n}\n\n.col-xs-5 {\n  width: 41.66666666666667%;\n}\n\n.col-xs-4 {\n  width: 33.33333333333333%;\n}\n\n.col-xs-3 {\n  width: 25%;\n}\n\n.col-xs-2 {\n  width: 16.666666666666664%;\n}\n\n.col-xs-1 {\n  width: 8.333333333333332%;\n}\n\n.col-xs-pull-12 {\n  right: 100%;\n}\n\n.col-xs-pull-11 {\n  right: 91.66666666666666%;\n}\n\n.col-xs-pull-10 {\n  right: 83.33333333333334%;\n}\n\n.col-xs-pull-9 {\n  right: 75%;\n}\n\n.col-xs-pull-8 {\n  right: 66.66666666666666%;\n}\n\n.col-xs-pull-7 {\n  right: 58.333333333333336%;\n}\n\n.col-xs-pull-6 {\n  right: 50%;\n}\n\n.col-xs-pull-5 {\n  right: 41.66666666666667%;\n}\n\n.col-xs-pull-4 {\n  right: 33.33333333333333%;\n}\n\n.col-xs-pull-3 {\n  right: 25%;\n}\n\n.col-xs-pull-2 {\n  right: 16.666666666666664%;\n}\n\n.col-xs-pull-1 {\n  right: 8.333333333333332%;\n}\n\n.col-xs-pull-0 {\n  right: 0;\n}\n\n.col-xs-push-12 {\n  left: 100%;\n}\n\n.col-xs-push-11 {\n  left: 91.66666666666666%;\n}\n\n.col-xs-push-10 {\n  left: 83.33333333333334%;\n}\n\n.col-xs-push-9 {\n  left: 75%;\n}\n\n.col-xs-push-8 {\n  left: 66.66666666666666%;\n}\n\n.col-xs-push-7 {\n  left: 58.333333333333336%;\n}\n\n.col-xs-push-6 {\n  left: 50%;\n}\n\n.col-xs-push-5 {\n  left: 41.66666666666667%;\n}\n\n.col-xs-push-4 {\n  left: 33.33333333333333%;\n}\n\n.col-xs-push-3 {\n  left: 25%;\n}\n\n.col-xs-push-2 {\n  left: 16.666666666666664%;\n}\n\n.col-xs-push-1 {\n  left: 8.333333333333332%;\n}\n\n.col-xs-push-0 {\n  left: 0;\n}\n\n.col-xs-offset-12 {\n  margin-left: 100%;\n}\n\n.col-xs-offset-11 {\n  margin-left: 91.66666666666666%;\n}\n\n.col-xs-offset-10 {\n  margin-left: 83.33333333333334%;\n}\n\n.col-xs-offset-9 {\n  margin-left: 75%;\n}\n\n.col-xs-offset-8 {\n  margin-left: 66.66666666666666%;\n}\n\n.col-xs-offset-7 {\n  margin-left: 58.333333333333336%;\n}\n\n.col-xs-offset-6 {\n  margin-left: 50%;\n}\n\n.col-xs-offset-5 {\n  margin-left: 41.66666666666667%;\n}\n\n.col-xs-offset-4 {\n  margin-left: 33.33333333333333%;\n}\n\n.col-xs-offset-3 {\n  margin-left: 25%;\n}\n\n.col-xs-offset-2 {\n  margin-left: 16.666666666666664%;\n}\n\n.col-xs-offset-1 {\n  margin-left: 8.333333333333332%;\n}\n\n.col-xs-offset-0 {\n  margin-left: 0;\n}\n\n@media (min-width: 768px) {\n  .col-sm-1,\n  .col-sm-2,\n  .col-sm-3,\n  .col-sm-4,\n  .col-sm-5,\n  .col-sm-6,\n  .col-sm-7,\n  .col-sm-8,\n  .col-sm-9,\n  .col-sm-10,\n  .col-sm-11,\n  .col-sm-12 {\n    float: left;\n  }\n  .col-sm-12 {\n    width: 100%;\n  }\n  .col-sm-11 {\n    width: 91.66666666666666%;\n  }\n  .col-sm-10 {\n    width: 83.33333333333334%;\n  }\n  .col-sm-9 {\n    width: 75%;\n  }\n  .col-sm-8 {\n    width: 66.66666666666666%;\n  }\n  .col-sm-7 {\n    width: 58.333333333333336%;\n  }\n  .col-sm-6 {\n    width: 50%;\n  }\n  .col-sm-5 {\n    width: 41.66666666666667%;\n  }\n  .col-sm-4 {\n    width: 33.33333333333333%;\n  }\n  .col-sm-3 {\n    width: 25%;\n  }\n  .col-sm-2 {\n    width: 16.666666666666664%;\n  }\n  .col-sm-1 {\n    width: 8.333333333333332%;\n  }\n  .col-sm-pull-12 {\n    right: 100%;\n  }\n  .col-sm-pull-11 {\n    right: 91.66666666666666%;\n  }\n  .col-sm-pull-10 {\n    right: 83.33333333333334%;\n  }\n  .col-sm-pull-9 {\n    right: 75%;\n  }\n  .col-sm-pull-8 {\n    right: 66.66666666666666%;\n  }\n  .col-sm-pull-7 {\n    right: 58.333333333333336%;\n  }\n  .col-sm-pull-6 {\n    right: 50%;\n  }\n  .col-sm-pull-5 {\n    right: 41.66666666666667%;\n  }\n  .col-sm-pull-4 {\n    right: 33.33333333333333%;\n  }\n  .col-sm-pull-3 {\n    right: 25%;\n  }\n  .col-sm-pull-2 {\n    right: 16.666666666666664%;\n  }\n  .col-sm-pull-1 {\n    right: 8.333333333333332%;\n  }\n  .col-sm-pull-0 {\n    right: 0;\n  }\n  .col-sm-push-12 {\n    left: 100%;\n  }\n  .col-sm-push-11 {\n    left: 91.66666666666666%;\n  }\n  .col-sm-push-10 {\n    left: 83.33333333333334%;\n  }\n  .col-sm-push-9 {\n    left: 75%;\n  }\n  .col-sm-push-8 {\n    left: 66.66666666666666%;\n  }\n  .col-sm-push-7 {\n    left: 58.333333333333336%;\n  }\n  .col-sm-push-6 {\n    left: 50%;\n  }\n  .col-sm-push-5 {\n    left: 41.66666666666667%;\n  }\n  .col-sm-push-4 {\n    left: 33.33333333333333%;\n  }\n  .col-sm-push-3 {\n    left: 25%;\n  }\n  .col-sm-push-2 {\n    left: 16.666666666666664%;\n  }\n  .col-sm-push-1 {\n    left: 8.333333333333332%;\n  }\n  .col-sm-push-0 {\n    left: 0;\n  }\n  .col-sm-offset-12 {\n    margin-left: 100%;\n  }\n  .col-sm-offset-11 {\n    margin-left: 91.66666666666666%;\n  }\n  .col-sm-offset-10 {\n    margin-left: 83.33333333333334%;\n  }\n  .col-sm-offset-9 {\n    margin-left: 75%;\n  }\n  .col-sm-offset-8 {\n    margin-left: 66.66666666666666%;\n  }\n  .col-sm-offset-7 {\n    margin-left: 58.333333333333336%;\n  }\n  .col-sm-offset-6 {\n    margin-left: 50%;\n  }\n  .col-sm-offset-5 {\n    margin-left: 41.66666666666667%;\n  }\n  .col-sm-offset-4 {\n    margin-left: 33.33333333333333%;\n  }\n  .col-sm-offset-3 {\n    margin-left: 25%;\n  }\n  .col-sm-offset-2 {\n    margin-left: 16.666666666666664%;\n  }\n  .col-sm-offset-1 {\n    margin-left: 8.333333333333332%;\n  }\n  .col-sm-offset-0 {\n    margin-left: 0;\n  }\n}\n\n@media (min-width: 992px) {\n  .col-md-1,\n  .col-md-2,\n  .col-md-3,\n  .col-md-4,\n  .col-md-5,\n  .col-md-6,\n  .col-md-7,\n  .col-md-8,\n  .col-md-9,\n  .col-md-10,\n  .col-md-11,\n  .col-md-12 {\n    float: left;\n  }\n  .col-md-12 {\n    width: 100%;\n  }\n  .col-md-11 {\n    width: 91.66666666666666%;\n  }\n  .col-md-10 {\n    width: 83.33333333333334%;\n  }\n  .col-md-9 {\n    width: 75%;\n  }\n  .col-md-8 {\n    width: 66.66666666666666%;\n  }\n  .col-md-7 {\n    width: 58.333333333333336%;\n  }\n  .col-md-6 {\n    width: 50%;\n  }\n  .col-md-5 {\n    width: 41.66666666666667%;\n  }\n  .col-md-4 {\n    width: 33.33333333333333%;\n  }\n  .col-md-3 {\n    width: 25%;\n  }\n  .col-md-2 {\n    width: 16.666666666666664%;\n  }\n  .col-md-1 {\n    width: 8.333333333333332%;\n  }\n  .col-md-pull-12 {\n    right: 100%;\n  }\n  .col-md-pull-11 {\n    right: 91.66666666666666%;\n  }\n  .col-md-pull-10 {\n    right: 83.33333333333334%;\n  }\n  .col-md-pull-9 {\n    right: 75%;\n  }\n  .col-md-pull-8 {\n    right: 66.66666666666666%;\n  }\n  .col-md-pull-7 {\n    right: 58.333333333333336%;\n  }\n  .col-md-pull-6 {\n    right: 50%;\n  }\n  .col-md-pull-5 {\n    right: 41.66666666666667%;\n  }\n  .col-md-pull-4 {\n    right: 33.33333333333333%;\n  }\n  .col-md-pull-3 {\n    right: 25%;\n  }\n  .col-md-pull-2 {\n    right: 16.666666666666664%;\n  }\n  .col-md-pull-1 {\n    right: 8.333333333333332%;\n  }\n  .col-md-pull-0 {\n    right: 0;\n  }\n  .col-md-push-12 {\n    left: 100%;\n  }\n  .col-md-push-11 {\n    left: 91.66666666666666%;\n  }\n  .col-md-push-10 {\n    left: 83.33333333333334%;\n  }\n  .col-md-push-9 {\n    left: 75%;\n  }\n  .col-md-push-8 {\n    left: 66.66666666666666%;\n  }\n  .col-md-push-7 {\n    left: 58.333333333333336%;\n  }\n  .col-md-push-6 {\n    left: 50%;\n  }\n  .col-md-push-5 {\n    left: 41.66666666666667%;\n  }\n  .col-md-push-4 {\n    left: 33.33333333333333%;\n  }\n  .col-md-push-3 {\n    left: 25%;\n  }\n  .col-md-push-2 {\n    left: 16.666666666666664%;\n  }\n  .col-md-push-1 {\n    left: 8.333333333333332%;\n  }\n  .col-md-push-0 {\n    left: 0;\n  }\n  .col-md-offset-12 {\n    margin-left: 100%;\n  }\n  .col-md-offset-11 {\n    margin-left: 91.66666666666666%;\n  }\n  .col-md-offset-10 {\n    margin-left: 83.33333333333334%;\n  }\n  .col-md-offset-9 {\n    margin-left: 75%;\n  }\n  .col-md-offset-8 {\n    margin-left: 66.66666666666666%;\n  }\n  .col-md-offset-7 {\n    margin-left: 58.333333333333336%;\n  }\n  .col-md-offset-6 {\n    margin-left: 50%;\n  }\n  .col-md-offset-5 {\n    margin-left: 41.66666666666667%;\n  }\n  .col-md-offset-4 {\n    margin-left: 33.33333333333333%;\n  }\n  .col-md-offset-3 {\n    margin-left: 25%;\n  }\n  .col-md-offset-2 {\n    margin-left: 16.666666666666664%;\n  }\n  .col-md-offset-1 {\n    margin-left: 8.333333333333332%;\n  }\n  .col-md-offset-0 {\n    margin-left: 0;\n  }\n}\n\n@media (min-width: 1200px) {\n  .col-lg-1,\n  .col-lg-2,\n  .col-lg-3,\n  .col-lg-4,\n  .col-lg-5,\n  .col-lg-6,\n  .col-lg-7,\n  .col-lg-8,\n  .col-lg-9,\n  .col-lg-10,\n  .col-lg-11,\n  .col-lg-12 {\n    float: left;\n  }\n  .col-lg-12 {\n    width: 100%;\n  }\n  .col-lg-11 {\n    width: 91.66666666666666%;\n  }\n  .col-lg-10 {\n    width: 83.33333333333334%;\n  }\n  .col-lg-9 {\n    width: 75%;\n  }\n  .col-lg-8 {\n    width: 66.66666666666666%;\n  }\n  .col-lg-7 {\n    width: 58.333333333333336%;\n  }\n  .col-lg-6 {\n    width: 50%;\n  }\n  .col-lg-5 {\n    width: 41.66666666666667%;\n  }\n  .col-lg-4 {\n    width: 33.33333333333333%;\n  }\n  .col-lg-3 {\n    width: 25%;\n  }\n  .col-lg-2 {\n    width: 16.666666666666664%;\n  }\n  .col-lg-1 {\n    width: 8.333333333333332%;\n  }\n  .col-lg-pull-12 {\n    right: 100%;\n  }\n  .col-lg-pull-11 {\n    right: 91.66666666666666%;\n  }\n  .col-lg-pull-10 {\n    right: 83.33333333333334%;\n  }\n  .col-lg-pull-9 {\n    right: 75%;\n  }\n  .col-lg-pull-8 {\n    right: 66.66666666666666%;\n  }\n  .col-lg-pull-7 {\n    right: 58.333333333333336%;\n  }\n  .col-lg-pull-6 {\n    right: 50%;\n  }\n  .col-lg-pull-5 {\n    right: 41.66666666666667%;\n  }\n  .col-lg-pull-4 {\n    right: 33.33333333333333%;\n  }\n  .col-lg-pull-3 {\n    right: 25%;\n  }\n  .col-lg-pull-2 {\n    right: 16.666666666666664%;\n  }\n  .col-lg-pull-1 {\n    right: 8.333333333333332%;\n  }\n  .col-lg-pull-0 {\n    right: 0;\n  }\n  .col-lg-push-12 {\n    left: 100%;\n  }\n  .col-lg-push-11 {\n    left: 91.66666666666666%;\n  }\n  .col-lg-push-10 {\n    left: 83.33333333333334%;\n  }\n  .col-lg-push-9 {\n    left: 75%;\n  }\n  .col-lg-push-8 {\n    left: 66.66666666666666%;\n  }\n  .col-lg-push-7 {\n    left: 58.333333333333336%;\n  }\n  .col-lg-push-6 {\n    left: 50%;\n  }\n  .col-lg-push-5 {\n    left: 41.66666666666667%;\n  }\n  .col-lg-push-4 {\n    left: 33.33333333333333%;\n  }\n  .col-lg-push-3 {\n    left: 25%;\n  }\n  .col-lg-push-2 {\n    left: 16.666666666666664%;\n  }\n  .col-lg-push-1 {\n    left: 8.333333333333332%;\n  }\n  .col-lg-push-0 {\n    left: 0;\n  }\n  .col-lg-offset-12 {\n    margin-left: 100%;\n  }\n  .col-lg-offset-11 {\n    margin-left: 91.66666666666666%;\n  }\n  .col-lg-offset-10 {\n    margin-left: 83.33333333333334%;\n  }\n  .col-lg-offset-9 {\n    margin-left: 75%;\n  }\n  .col-lg-offset-8 {\n    margin-left: 66.66666666666666%;\n  }\n  .col-lg-offset-7 {\n    margin-left: 58.333333333333336%;\n  }\n  .col-lg-offset-6 {\n    margin-left: 50%;\n  }\n  .col-lg-offset-5 {\n    margin-left: 41.66666666666667%;\n  }\n  .col-lg-offset-4 {\n    margin-left: 33.33333333333333%;\n  }\n  .col-lg-offset-3 {\n    margin-left: 25%;\n  }\n  .col-lg-offset-2 {\n    margin-left: 16.666666666666664%;\n  }\n  .col-lg-offset-1 {\n    margin-left: 8.333333333333332%;\n  }\n  .col-lg-offset-0 {\n    margin-left: 0;\n  }\n}\n\ntable {\n  max-width: 100%;\n  background-color: transparent;\n}\n\nth {\n  text-align: left;\n}\n\n.table {\n  width: 100%;\n  margin-bottom: 20px;\n}\n\n.table > thead > tr > th,\n.table > tbody > tr > th,\n.table > tfoot > tr > th,\n.table > thead > tr > td,\n.table > tbody > tr > td,\n.table > tfoot > tr > td {\n  padding: 8px;\n  line-height: 1.428571429;\n  vertical-align: top;\n  border-top: 1px solid #dddddd;\n}\n\n.table > thead > tr > th {\n  vertical-align: bottom;\n  border-bottom: 2px solid #dddddd;\n}\n\n.table > caption + thead > tr:first-child > th,\n.table > colgroup + thead > tr:first-child > th,\n.table > thead:first-child > tr:first-child > th,\n.table > caption + thead > tr:first-child > td,\n.table > colgroup + thead > tr:first-child > td,\n.table > thead:first-child > tr:first-child > td {\n  border-top: 0;\n}\n\n.table > tbody + tbody {\n  border-top: 2px solid #dddddd;\n}\n\n.table .table {\n  background-color: #ffffff;\n}\n\n.table-condensed > thead > tr > th,\n.table-condensed > tbody > tr > th,\n.table-condensed > tfoot > tr > th,\n.table-condensed > thead > tr > td,\n.table-condensed > tbody > tr > td,\n.table-condensed > tfoot > tr > td {\n  padding: 5px;\n}\n\n.table-bordered {\n  border: 1px solid #dddddd;\n}\n\n.table-bordered > thead > tr > th,\n.table-bordered > tbody > tr > th,\n.table-bordered > tfoot > tr > th,\n.table-bordered > thead > tr > td,\n.table-bordered > tbody > tr > td,\n.table-bordered > tfoot > tr > td {\n  border: 1px solid #dddddd;\n}\n\n.table-bordered > thead > tr > th,\n.table-bordered > thead > tr > td {\n  border-bottom-width: 2px;\n}\n\n.table-striped > tbody > tr:nth-child(odd) > td,\n.table-striped > tbody > tr:nth-child(odd) > th {\n  background-color: #f9f9f9;\n}\n\n.table-hover > tbody > tr:hover > td,\n.table-hover > tbody > tr:hover > th {\n  background-color: #f5f5f5;\n}\n\ntable col[class*=\"col-\"] {\n  position: static;\n  display: table-column;\n  float: none;\n}\n\ntable td[class*=\"col-\"],\ntable th[class*=\"col-\"] {\n  display: table-cell;\n  float: none;\n}\n\n.table > thead > tr > .active,\n.table > tbody > tr > .active,\n.table > tfoot > tr > .active,\n.table > thead > .active > td,\n.table > tbody > .active > td,\n.table > tfoot > .active > td,\n.table > thead > .active > th,\n.table > tbody > .active > th,\n.table > tfoot > .active > th {\n  background-color: #f5f5f5;\n}\n\n.table-hover > tbody > tr > .active:hover,\n.table-hover > tbody > .active:hover > td,\n.table-hover > tbody > .active:hover > th {\n  background-color: #e8e8e8;\n}\n\n.table > thead > tr > .success,\n.table > tbody > tr > .success,\n.table > tfoot > tr > .success,\n.table > thead > .success > td,\n.table > tbody > .success > td,\n.table > tfoot > .success > td,\n.table > thead > .success > th,\n.table > tbody > .success > th,\n.table > tfoot > .success > th {\n  background-color: #dff0d8;\n}\n\n.table-hover > tbody > tr > .success:hover,\n.table-hover > tbody > .success:hover > td,\n.table-hover > tbody > .success:hover > th {\n  background-color: #d0e9c6;\n}\n\n.table > thead > tr > .danger,\n.table > tbody > tr > .danger,\n.table > tfoot > tr > .danger,\n.table > thead > .danger > td,\n.table > tbody > .danger > td,\n.table > tfoot > .danger > td,\n.table > thead > .danger > th,\n.table > tbody > .danger > th,\n.table > tfoot > .danger > th {\n  background-color: #f2dede;\n}\n\n.table-hover > tbody > tr > .danger:hover,\n.table-hover > tbody > .danger:hover > td,\n.table-hover > tbody > .danger:hover > th {\n  background-color: #ebcccc;\n}\n\n.table > thead > tr > .warning,\n.table > tbody > tr > .warning,\n.table > tfoot > tr > .warning,\n.table > thead > .warning > td,\n.table > tbody > .warning > td,\n.table > tfoot > .warning > td,\n.table > thead > .warning > th,\n.table > tbody > .warning > th,\n.table > tfoot > .warning > th {\n  background-color: #fcf8e3;\n}\n\n.table-hover > tbody > tr > .warning:hover,\n.table-hover > tbody > .warning:hover > td,\n.table-hover > tbody > .warning:hover > th {\n  background-color: #faf2cc;\n}\n\n@media (max-width: 767px) {\n  .table-responsive {\n    width: 100%;\n    margin-bottom: 15px;\n    overflow-x: scroll;\n    overflow-y: hidden;\n    border: 1px solid #dddddd;\n    -ms-overflow-style: -ms-autohiding-scrollbar;\n    -webkit-overflow-scrolling: touch;\n  }\n  .table-responsive > .table {\n    margin-bottom: 0;\n  }\n  .table-responsive > .table > thead > tr > th,\n  .table-responsive > .table > tbody > tr > th,\n  .table-responsive > .table > tfoot > tr > th,\n  .table-responsive > .table > thead > tr > td,\n  .table-responsive > .table > tbody > tr > td,\n  .table-responsive > .table > tfoot > tr > td {\n    white-space: nowrap;\n  }\n  .table-responsive > .table-bordered {\n    border: 0;\n  }\n  .table-responsive > .table-bordered > thead > tr > th:first-child,\n  .table-responsive > .table-bordered > tbody > tr > th:first-child,\n  .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n  .table-responsive > .table-bordered > thead > tr > td:first-child,\n  .table-responsive > .table-bordered > tbody > tr > td:first-child,\n  .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n    border-left: 0;\n  }\n  .table-responsive > .table-bordered > thead > tr > th:last-child,\n  .table-responsive > .table-bordered > tbody > tr > th:last-child,\n  .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n  .table-responsive > .table-bordered > thead > tr > td:last-child,\n  .table-responsive > .table-bordered > tbody > tr > td:last-child,\n  .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n    border-right: 0;\n  }\n  .table-responsive > .table-bordered > tbody > tr:last-child > th,\n  .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n  .table-responsive > .table-bordered > tbody > tr:last-child > td,\n  .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n    border-bottom: 0;\n  }\n}\n\nfieldset {\n  padding: 0;\n  margin: 0;\n  border: 0;\n}\n\nlegend {\n  display: block;\n  width: 100%;\n  padding: 0;\n  margin-bottom: 20px;\n  font-size: 21px;\n  line-height: inherit;\n  color: #333333;\n  border: 0;\n  border-bottom: 1px solid #e5e5e5;\n}\n\nlabel {\n  display: inline-block;\n  margin-bottom: 5px;\n  font-weight: bold;\n}\n\ninput[type=\"search\"] {\n  -webkit-box-sizing: border-box;\n     -moz-box-sizing: border-box;\n          box-sizing: border-box;\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n  margin: 4px 0 0;\n  margin-top: 1px \\9;\n  /* IE8-9 */\n\n  line-height: normal;\n}\n\ninput[type=\"file\"] {\n  display: block;\n}\n\nselect[multiple],\nselect[size] {\n  height: auto;\n}\n\nselect optgroup {\n  font-family: inherit;\n  font-size: inherit;\n  font-style: inherit;\n}\n\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n  outline: thin dotted;\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n\ninput[type=\"number\"]::-webkit-outer-spin-button,\ninput[type=\"number\"]::-webkit-inner-spin-button {\n  height: auto;\n}\n\noutput {\n  display: block;\n  padding-top: 7px;\n  font-size: 14px;\n  line-height: 1.428571429;\n  color: #555555;\n  vertical-align: middle;\n}\n\n.form-control {\n  display: block;\n  width: 100%;\n  height: 34px;\n  padding: 6px 12px;\n  font-size: 14px;\n  line-height: 1.428571429;\n  color: #555555;\n  vertical-align: middle;\n  background-color: #ffffff;\n  background-image: none;\n  border: 1px solid #cccccc;\n  border-radius: 4px;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;\n          transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;\n}\n\n.form-control:focus {\n  border-color: #66afe9;\n  outline: 0;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n}\n\n.form-control:-moz-placeholder {\n  color: #999999;\n}\n\n.form-control::-moz-placeholder {\n  color: #999999;\n  opacity: 1;\n}\n\n.form-control:-ms-input-placeholder {\n  color: #999999;\n}\n\n.form-control::-webkit-input-placeholder {\n  color: #999999;\n}\n\n.form-control[disabled],\n.form-control[readonly],\nfieldset[disabled] .form-control {\n  cursor: not-allowed;\n  background-color: #eeeeee;\n}\n\ntextarea.form-control {\n  height: auto;\n}\n\n.form-group {\n  margin-bottom: 15px;\n}\n\n.radio,\n.checkbox {\n  display: block;\n  min-height: 20px;\n  padding-left: 20px;\n  margin-top: 10px;\n  margin-bottom: 10px;\n  vertical-align: middle;\n}\n\n.radio label,\n.checkbox label {\n  display: inline;\n  margin-bottom: 0;\n  font-weight: normal;\n  cursor: pointer;\n}\n\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n  float: left;\n  margin-left: -20px;\n}\n\n.radio + .radio,\n.checkbox + .checkbox {\n  margin-top: -5px;\n}\n\n.radio-inline,\n.checkbox-inline {\n  display: inline-block;\n  padding-left: 20px;\n  margin-bottom: 0;\n  font-weight: normal;\n  vertical-align: middle;\n  cursor: pointer;\n}\n\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n  margin-top: 0;\n  margin-left: 10px;\n}\n\ninput[type=\"radio\"][disabled],\ninput[type=\"checkbox\"][disabled],\n.radio[disabled],\n.radio-inline[disabled],\n.checkbox[disabled],\n.checkbox-inline[disabled],\nfieldset[disabled] input[type=\"radio\"],\nfieldset[disabled] input[type=\"checkbox\"],\nfieldset[disabled] .radio,\nfieldset[disabled] .radio-inline,\nfieldset[disabled] .checkbox,\nfieldset[disabled] .checkbox-inline {\n  cursor: not-allowed;\n}\n\n.input-sm {\n  height: 30px;\n  padding: 5px 10px;\n  font-size: 12px;\n  line-height: 1.5;\n  border-radius: 3px;\n}\n\nselect.input-sm {\n  height: 30px;\n  line-height: 30px;\n}\n\ntextarea.input-sm {\n  height: auto;\n}\n\n.input-lg {\n  height: 46px;\n  padding: 10px 16px;\n  font-size: 18px;\n  line-height: 1.33;\n  border-radius: 6px;\n}\n\nselect.input-lg {\n  height: 46px;\n  line-height: 46px;\n}\n\ntextarea.input-lg {\n  height: auto;\n}\n\n.has-warning .help-block,\n.has-warning .control-label,\n.has-warning .radio,\n.has-warning .checkbox,\n.has-warning .radio-inline,\n.has-warning .checkbox-inline {\n  color: #8a6d3b;\n}\n\n.has-warning .form-control {\n  border-color: #8a6d3b;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n\n.has-warning .form-control:focus {\n  border-color: #66512c;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;\n}\n\n.has-warning .input-group-addon {\n  color: #8a6d3b;\n  background-color: #fcf8e3;\n  border-color: #8a6d3b;\n}\n\n.has-error .help-block,\n.has-error .control-label,\n.has-error .radio,\n.has-error .checkbox,\n.has-error .radio-inline,\n.has-error .checkbox-inline {\n  color: #a94442;\n}\n\n.has-error .form-control {\n  border-color: #a94442;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n\n.has-error .form-control:focus {\n  border-color: #843534;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;\n}\n\n.has-error .input-group-addon {\n  color: #a94442;\n  background-color: #f2dede;\n  border-color: #a94442;\n}\n\n.has-success .help-block,\n.has-success .control-label,\n.has-success .radio,\n.has-success .checkbox,\n.has-success .radio-inline,\n.has-success .checkbox-inline {\n  color: #3c763d;\n}\n\n.has-success .form-control {\n  border-color: #3c763d;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n\n.has-success .form-control:focus {\n  border-color: #2b542c;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;\n}\n\n.has-success .input-group-addon {\n  color: #3c763d;\n  background-color: #dff0d8;\n  border-color: #3c763d;\n}\n\n.form-control-static {\n  margin-bottom: 0;\n}\n\n.help-block {\n  display: block;\n  margin-top: 5px;\n  margin-bottom: 10px;\n  color: #737373;\n}\n\n@media (min-width: 768px) {\n  .form-inline .form-group {\n    display: inline-block;\n    margin-bottom: 0;\n    vertical-align: middle;\n  }\n  .form-inline .form-control {\n    display: inline-block;\n  }\n  .form-inline select.form-control {\n    width: auto;\n  }\n  .form-inline .radio,\n  .form-inline .checkbox {\n    display: inline-block;\n    padding-left: 0;\n    margin-top: 0;\n    margin-bottom: 0;\n  }\n  .form-inline .radio input[type=\"radio\"],\n  .form-inline .checkbox input[type=\"checkbox\"] {\n    float: none;\n    margin-left: 0;\n  }\n}\n\n.form-horizontal .control-label,\n.form-horizontal .radio,\n.form-horizontal .checkbox,\n.form-horizontal .radio-inline,\n.form-horizontal .checkbox-inline {\n  padding-top: 7px;\n  margin-top: 0;\n  margin-bottom: 0;\n}\n\n.form-horizontal .radio,\n.form-horizontal .checkbox {\n  min-height: 27px;\n}\n\n.form-horizontal .form-group {\n  margin-right: -15px;\n  margin-left: -15px;\n}\n\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after {\n  display: table;\n  content: \" \";\n}\n\n.form-horizontal .form-group:after {\n  clear: both;\n}\n\n.form-horizontal .form-group:before,\n.form-horizontal .form-group:after {\n  display: table;\n  content: \" \";\n}\n\n.form-horizontal .form-group:after {\n  clear: both;\n}\n\n.form-horizontal .form-control-static {\n  padding-top: 7px;\n}\n\n@media (min-width: 768px) {\n  .form-horizontal .control-label {\n    text-align: right;\n  }\n}\n\n.btn {\n  display: inline-block;\n  padding: 6px 12px;\n  margin-bottom: 0;\n  font-size: 14px;\n  font-weight: normal;\n  line-height: 1.428571429;\n  text-align: center;\n  white-space: nowrap;\n  vertical-align: middle;\n  cursor: pointer;\n  background-image: none;\n  border: 1px solid transparent;\n  border-radius: 4px;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n       -o-user-select: none;\n          user-select: none;\n}\n\n.btn:focus {\n  outline: thin dotted;\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n\n.btn:hover,\n.btn:focus {\n  color: #333333;\n  text-decoration: none;\n}\n\n.btn:active,\n.btn.active {\n  background-image: none;\n  outline: 0;\n  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n\n.btn.disabled,\n.btn[disabled],\nfieldset[disabled] .btn {\n  pointer-events: none;\n  cursor: not-allowed;\n  opacity: 0.65;\n  filter: alpha(opacity=65);\n  -webkit-box-shadow: none;\n          box-shadow: none;\n}\n\n.btn-default {\n  color: #333333;\n  background-color: #ffffff;\n  border-color: #cccccc;\n}\n\n.btn-default:hover,\n.btn-default:focus,\n.btn-default:active,\n.btn-default.active,\n.open .dropdown-toggle.btn-default {\n  color: #333333;\n  background-color: #ebebeb;\n  border-color: #adadad;\n}\n\n.btn-default:active,\n.btn-default.active,\n.open .dropdown-toggle.btn-default {\n  background-image: none;\n}\n\n.btn-default.disabled,\n.btn-default[disabled],\nfieldset[disabled] .btn-default,\n.btn-default.disabled:hover,\n.btn-default[disabled]:hover,\nfieldset[disabled] .btn-default:hover,\n.btn-default.disabled:focus,\n.btn-default[disabled]:focus,\nfieldset[disabled] .btn-default:focus,\n.btn-default.disabled:active,\n.btn-default[disabled]:active,\nfieldset[disabled] .btn-default:active,\n.btn-default.disabled.active,\n.btn-default[disabled].active,\nfieldset[disabled] .btn-default.active {\n  background-color: #ffffff;\n  border-color: #cccccc;\n}\n\n.btn-default .badge {\n  color: #ffffff;\n  background-color: #fff;\n}\n\n.btn-primary {\n  color: #ffffff;\n  background-color: #428bca;\n  border-color: #357ebd;\n}\n\n.btn-primary:hover,\n.btn-primary:focus,\n.btn-primary:active,\n.btn-primary.active,\n.open .dropdown-toggle.btn-primary {\n  color: #ffffff;\n  background-color: #3276b1;\n  border-color: #285e8e;\n}\n\n.btn-primary:active,\n.btn-primary.active,\n.open .dropdown-toggle.btn-primary {\n  background-image: none;\n}\n\n.btn-primary.disabled,\n.btn-primary[disabled],\nfieldset[disabled] .btn-primary,\n.btn-primary.disabled:hover,\n.btn-primary[disabled]:hover,\nfieldset[disabled] .btn-primary:hover,\n.btn-primary.disabled:focus,\n.btn-primary[disabled]:focus,\nfieldset[disabled] .btn-primary:focus,\n.btn-primary.disabled:active,\n.btn-primary[disabled]:active,\nfieldset[disabled] .btn-primary:active,\n.btn-primary.disabled.active,\n.btn-primary[disabled].active,\nfieldset[disabled] .btn-primary.active {\n  background-color: #428bca;\n  border-color: #357ebd;\n}\n\n.btn-primary .badge {\n  color: #428bca;\n  background-color: #fff;\n}\n\n.btn-warning {\n  color: #ffffff;\n  background-color: #f0ad4e;\n  border-color: #eea236;\n}\n\n.btn-warning:hover,\n.btn-warning:focus,\n.btn-warning:active,\n.btn-warning.active,\n.open .dropdown-toggle.btn-warning {\n  color: #ffffff;\n  background-color: #ed9c28;\n  border-color: #d58512;\n}\n\n.btn-warning:active,\n.btn-warning.active,\n.open .dropdown-toggle.btn-warning {\n  background-image: none;\n}\n\n.btn-warning.disabled,\n.btn-warning[disabled],\nfieldset[disabled] .btn-warning,\n.btn-warning.disabled:hover,\n.btn-warning[disabled]:hover,\nfieldset[disabled] .btn-warning:hover,\n.btn-warning.disabled:focus,\n.btn-warning[disabled]:focus,\nfieldset[disabled] .btn-warning:focus,\n.btn-warning.disabled:active,\n.btn-warning[disabled]:active,\nfieldset[disabled] .btn-warning:active,\n.btn-warning.disabled.active,\n.btn-warning[disabled].active,\nfieldset[disabled] .btn-warning.active {\n  background-color: #f0ad4e;\n  border-color: #eea236;\n}\n\n.btn-warning .badge {\n  color: #f0ad4e;\n  background-color: #fff;\n}\n\n.btn-danger {\n  color: #ffffff;\n  background-color: #d9534f;\n  border-color: #d43f3a;\n}\n\n.btn-danger:hover,\n.btn-danger:focus,\n.btn-danger:active,\n.btn-danger.active,\n.open .dropdown-toggle.btn-danger {\n  color: #ffffff;\n  background-color: #d2322d;\n  border-color: #ac2925;\n}\n\n.btn-danger:active,\n.btn-danger.active,\n.open .dropdown-toggle.btn-danger {\n  background-image: none;\n}\n\n.btn-danger.disabled,\n.btn-danger[disabled],\nfieldset[disabled] .btn-danger,\n.btn-danger.disabled:hover,\n.btn-danger[disabled]:hover,\nfieldset[disabled] .btn-danger:hover,\n.btn-danger.disabled:focus,\n.btn-danger[disabled]:focus,\nfieldset[disabled] .btn-danger:focus,\n.btn-danger.disabled:active,\n.btn-danger[disabled]:active,\nfieldset[disabled] .btn-danger:active,\n.btn-danger.disabled.active,\n.btn-danger[disabled].active,\nfieldset[disabled] .btn-danger.active {\n  background-color: #d9534f;\n  border-color: #d43f3a;\n}\n\n.btn-danger .badge {\n  color: #d9534f;\n  background-color: #fff;\n}\n\n.btn-success {\n  color: #ffffff;\n  background-color: #5cb85c;\n  border-color: #4cae4c;\n}\n\n.btn-success:hover,\n.btn-success:focus,\n.btn-success:active,\n.btn-success.active,\n.open .dropdown-toggle.btn-success {\n  color: #ffffff;\n  background-color: #47a447;\n  border-color: #398439;\n}\n\n.btn-success:active,\n.btn-success.active,\n.open .dropdown-toggle.btn-success {\n  background-image: none;\n}\n\n.btn-success.disabled,\n.btn-success[disabled],\nfieldset[disabled] .btn-success,\n.btn-success.disabled:hover,\n.btn-success[disabled]:hover,\nfieldset[disabled] .btn-success:hover,\n.btn-success.disabled:focus,\n.btn-success[disabled]:focus,\nfieldset[disabled] .btn-success:focus,\n.btn-success.disabled:active,\n.btn-success[disabled]:active,\nfieldset[disabled] .btn-success:active,\n.btn-success.disabled.active,\n.btn-success[disabled].active,\nfieldset[disabled] .btn-success.active {\n  background-color: #5cb85c;\n  border-color: #4cae4c;\n}\n\n.btn-success .badge {\n  color: #5cb85c;\n  background-color: #fff;\n}\n\n.btn-info {\n  color: #ffffff;\n  background-color: #5bc0de;\n  border-color: #46b8da;\n}\n\n.btn-info:hover,\n.btn-info:focus,\n.btn-info:active,\n.btn-info.active,\n.open .dropdown-toggle.btn-info {\n  color: #ffffff;\n  background-color: #39b3d7;\n  border-color: #269abc;\n}\n\n.btn-info:active,\n.btn-info.active,\n.open .dropdown-toggle.btn-info {\n  background-image: none;\n}\n\n.btn-info.disabled,\n.btn-info[disabled],\nfieldset[disabled] .btn-info,\n.btn-info.disabled:hover,\n.btn-info[disabled]:hover,\nfieldset[disabled] .btn-info:hover,\n.btn-info.disabled:focus,\n.btn-info[disabled]:focus,\nfieldset[disabled] .btn-info:focus,\n.btn-info.disabled:active,\n.btn-info[disabled]:active,\nfieldset[disabled] .btn-info:active,\n.btn-info.disabled.active,\n.btn-info[disabled].active,\nfieldset[disabled] .btn-info.active {\n  background-color: #5bc0de;\n  border-color: #46b8da;\n}\n\n.btn-info .badge {\n  color: #5bc0de;\n  background-color: #fff;\n}\n\n.btn-link {\n  font-weight: normal;\n  color: #428bca;\n  cursor: pointer;\n  border-radius: 0;\n}\n\n.btn-link,\n.btn-link:active,\n.btn-link[disabled],\nfieldset[disabled] .btn-link {\n  background-color: transparent;\n  -webkit-box-shadow: none;\n          box-shadow: none;\n}\n\n.btn-link,\n.btn-link:hover,\n.btn-link:focus,\n.btn-link:active {\n  border-color: transparent;\n}\n\n.btn-link:hover,\n.btn-link:focus {\n  color: #2a6496;\n  text-decoration: underline;\n  background-color: transparent;\n}\n\n.btn-link[disabled]:hover,\nfieldset[disabled] .btn-link:hover,\n.btn-link[disabled]:focus,\nfieldset[disabled] .btn-link:focus {\n  color: #999999;\n  text-decoration: none;\n}\n\n.btn-lg {\n  padding: 10px 16px;\n  font-size: 18px;\n  line-height: 1.33;\n  border-radius: 6px;\n}\n\n.btn-sm {\n  padding: 5px 10px;\n  font-size: 12px;\n  line-height: 1.5;\n  border-radius: 3px;\n}\n\n.btn-xs {\n  padding: 1px 5px;\n  font-size: 12px;\n  line-height: 1.5;\n  border-radius: 3px;\n}\n\n.btn-block {\n  display: block;\n  width: 100%;\n  padding-right: 0;\n  padding-left: 0;\n}\n\n.btn-block + .btn-block {\n  margin-top: 5px;\n}\n\ninput[type=\"submit\"].btn-block,\ninput[type=\"reset\"].btn-block,\ninput[type=\"button\"].btn-block {\n  width: 100%;\n}\n\n.fade {\n  opacity: 0;\n  -webkit-transition: opacity 0.15s linear;\n          transition: opacity 0.15s linear;\n}\n\n.fade.in {\n  opacity: 1;\n}\n\n.collapse {\n  display: none;\n}\n\n.collapse.in {\n  display: block;\n}\n\n.collapsing {\n  position: relative;\n  height: 0;\n  overflow: hidden;\n  -webkit-transition: height 0.35s ease;\n          transition: height 0.35s ease;\n}\n\n@font-face {\n  font-family: 'Glyphicons Halflings';\n  src: url('../fonts/glyphicons-halflings-regular.eot');\n  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');\n}\n\n.glyphicon {\n  position: relative;\n  top: 1px;\n  display: inline-block;\n  font-family: 'Glyphicons Halflings';\n  -webkit-font-smoothing: antialiased;\n  font-style: normal;\n  font-weight: normal;\n  line-height: 1;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.glyphicon:empty {\n  width: 1em;\n}\n\n.glyphicon-asterisk:before {\n  content: \"\\2a\";\n}\n\n.glyphicon-plus:before {\n  content: \"\\2b\";\n}\n\n.glyphicon-euro:before {\n  content: \"\\20ac\";\n}\n\n.glyphicon-minus:before {\n  content: \"\\2212\";\n}\n\n.glyphicon-cloud:before {\n  content: \"\\2601\";\n}\n\n.glyphicon-envelope:before {\n  content: \"\\2709\";\n}\n\n.glyphicon-pencil:before {\n  content: \"\\270f\";\n}\n\n.glyphicon-glass:before {\n  content: \"\\e001\";\n}\n\n.glyphicon-music:before {\n  content: \"\\e002\";\n}\n\n.glyphicon-search:before {\n  content: \"\\e003\";\n}\n\n.glyphicon-heart:before {\n  content: \"\\e005\";\n}\n\n.glyphicon-star:before {\n  content: \"\\e006\";\n}\n\n.glyphicon-star-empty:before {\n  content: \"\\e007\";\n}\n\n.glyphicon-user:before {\n  content: \"\\e008\";\n}\n\n.glyphicon-film:before {\n  content: \"\\e009\";\n}\n\n.glyphicon-th-large:before {\n  content: \"\\e010\";\n}\n\n.glyphicon-th:before {\n  content: \"\\e011\";\n}\n\n.glyphicon-th-list:before {\n  content: \"\\e012\";\n}\n\n.glyphicon-ok:before {\n  content: \"\\e013\";\n}\n\n.glyphicon-remove:before {\n  content: \"\\e014\";\n}\n\n.glyphicon-zoom-in:before {\n  content: \"\\e015\";\n}\n\n.glyphicon-zoom-out:before {\n  content: \"\\e016\";\n}\n\n.glyphicon-off:before {\n  content: \"\\e017\";\n}\n\n.glyphicon-signal:before {\n  content: \"\\e018\";\n}\n\n.glyphicon-cog:before {\n  content: \"\\e019\";\n}\n\n.glyphicon-trash:before {\n  content: \"\\e020\";\n}\n\n.glyphicon-home:before {\n  content: \"\\e021\";\n}\n\n.glyphicon-file:before {\n  content: \"\\e022\";\n}\n\n.glyphicon-time:before {\n  content: \"\\e023\";\n}\n\n.glyphicon-road:before {\n  content: \"\\e024\";\n}\n\n.glyphicon-download-alt:before {\n  content: \"\\e025\";\n}\n\n.glyphicon-download:before {\n  content: \"\\e026\";\n}\n\n.glyphicon-upload:before {\n  content: \"\\e027\";\n}\n\n.glyphicon-inbox:before {\n  content: \"\\e028\";\n}\n\n.glyphicon-play-circle:before {\n  content: \"\\e029\";\n}\n\n.glyphicon-repeat:before {\n  content: \"\\e030\";\n}\n\n.glyphicon-refresh:before {\n  content: \"\\e031\";\n}\n\n.glyphicon-list-alt:before {\n  content: \"\\e032\";\n}\n\n.glyphicon-lock:before {\n  content: \"\\e033\";\n}\n\n.glyphicon-flag:before {\n  content: \"\\e034\";\n}\n\n.glyphicon-headphones:before {\n  content: \"\\e035\";\n}\n\n.glyphicon-volume-off:before {\n  content: \"\\e036\";\n}\n\n.glyphicon-volume-down:before {\n  content: \"\\e037\";\n}\n\n.glyphicon-volume-up:before {\n  content: \"\\e038\";\n}\n\n.glyphicon-qrcode:before {\n  content: \"\\e039\";\n}\n\n.glyphicon-barcode:before {\n  content: \"\\e040\";\n}\n\n.glyphicon-tag:before {\n  content: \"\\e041\";\n}\n\n.glyphicon-tags:before {\n  content: \"\\e042\";\n}\n\n.glyphicon-book:before {\n  content: \"\\e043\";\n}\n\n.glyphicon-bookmark:before {\n  content: \"\\e044\";\n}\n\n.glyphicon-print:before {\n  content: \"\\e045\";\n}\n\n.glyphicon-camera:before {\n  content: \"\\e046\";\n}\n\n.glyphicon-font:before {\n  content: \"\\e047\";\n}\n\n.glyphicon-bold:before {\n  content: \"\\e048\";\n}\n\n.glyphicon-italic:before {\n  content: \"\\e049\";\n}\n\n.glyphicon-text-height:before {\n  content: \"\\e050\";\n}\n\n.glyphicon-text-width:before {\n  content: \"\\e051\";\n}\n\n.glyphicon-align-left:before {\n  content: \"\\e052\";\n}\n\n.glyphicon-align-center:before {\n  content: \"\\e053\";\n}\n\n.glyphicon-align-right:before {\n  content: \"\\e054\";\n}\n\n.glyphicon-align-justify:before {\n  content: \"\\e055\";\n}\n\n.glyphicon-list:before {\n  content: \"\\e056\";\n}\n\n.glyphicon-indent-left:before {\n  content: \"\\e057\";\n}\n\n.glyphicon-indent-right:before {\n  content: \"\\e058\";\n}\n\n.glyphicon-facetime-video:before {\n  content: \"\\e059\";\n}\n\n.glyphicon-picture:before {\n  content: \"\\e060\";\n}\n\n.glyphicon-map-marker:before {\n  content: \"\\e062\";\n}\n\n.glyphicon-adjust:before {\n  content: \"\\e063\";\n}\n\n.glyphicon-tint:before {\n  content: \"\\e064\";\n}\n\n.glyphicon-edit:before {\n  content: \"\\e065\";\n}\n\n.glyphicon-share:before {\n  content: \"\\e066\";\n}\n\n.glyphicon-check:before {\n  content: \"\\e067\";\n}\n\n.glyphicon-move:before {\n  content: \"\\e068\";\n}\n\n.glyphicon-step-backward:before {\n  content: \"\\e069\";\n}\n\n.glyphicon-fast-backward:before {\n  content: \"\\e070\";\n}\n\n.glyphicon-backward:before {\n  content: \"\\e071\";\n}\n\n.glyphicon-play:before {\n  content: \"\\e072\";\n}\n\n.glyphicon-pause:before {\n  content: \"\\e073\";\n}\n\n.glyphicon-stop:before {\n  content: \"\\e074\";\n}\n\n.glyphicon-forward:before {\n  content: \"\\e075\";\n}\n\n.glyphicon-fast-forward:before {\n  content: \"\\e076\";\n}\n\n.glyphicon-step-forward:before {\n  content: \"\\e077\";\n}\n\n.glyphicon-eject:before {\n  content: \"\\e078\";\n}\n\n.glyphicon-chevron-left:before {\n  content: \"\\e079\";\n}\n\n.glyphicon-chevron-right:before {\n  content: \"\\e080\";\n}\n\n.glyphicon-plus-sign:before {\n  content: \"\\e081\";\n}\n\n.glyphicon-minus-sign:before {\n  content: \"\\e082\";\n}\n\n.glyphicon-remove-sign:before {\n  content: \"\\e083\";\n}\n\n.glyphicon-ok-sign:before {\n  content: \"\\e084\";\n}\n\n.glyphicon-question-sign:before {\n  content: \"\\e085\";\n}\n\n.glyphicon-info-sign:before {\n  content: \"\\e086\";\n}\n\n.glyphicon-screenshot:before {\n  content: \"\\e087\";\n}\n\n.glyphicon-remove-circle:before {\n  content: \"\\e088\";\n}\n\n.glyphicon-ok-circle:before {\n  content: \"\\e089\";\n}\n\n.glyphicon-ban-circle:before {\n  content: \"\\e090\";\n}\n\n.glyphicon-arrow-left:before {\n  content: \"\\e091\";\n}\n\n.glyphicon-arrow-right:before {\n  content: \"\\e092\";\n}\n\n.glyphicon-arrow-up:before {\n  content: \"\\e093\";\n}\n\n.glyphicon-arrow-down:before {\n  content: \"\\e094\";\n}\n\n.glyphicon-share-alt:before {\n  content: \"\\e095\";\n}\n\n.glyphicon-resize-full:before {\n  content: \"\\e096\";\n}\n\n.glyphicon-resize-small:before {\n  content: \"\\e097\";\n}\n\n.glyphicon-exclamation-sign:before {\n  content: \"\\e101\";\n}\n\n.glyphicon-gift:before {\n  content: \"\\e102\";\n}\n\n.glyphicon-leaf:before {\n  content: \"\\e103\";\n}\n\n.glyphicon-fire:before {\n  content: \"\\e104\";\n}\n\n.glyphicon-eye-open:before {\n  content: \"\\e105\";\n}\n\n.glyphicon-eye-close:before {\n  content: \"\\e106\";\n}\n\n.glyphicon-warning-sign:before {\n  content: \"\\e107\";\n}\n\n.glyphicon-plane:before {\n  content: \"\\e108\";\n}\n\n.glyphicon-calendar:before {\n  content: \"\\e109\";\n}\n\n.glyphicon-random:before {\n  content: \"\\e110\";\n}\n\n.glyphicon-comment:before {\n  content: \"\\e111\";\n}\n\n.glyphicon-magnet:before {\n  content: \"\\e112\";\n}\n\n.glyphicon-chevron-up:before {\n  content: \"\\e113\";\n}\n\n.glyphicon-chevron-down:before {\n  content: \"\\e114\";\n}\n\n.glyphicon-retweet:before {\n  content: \"\\e115\";\n}\n\n.glyphicon-shopping-cart:before {\n  content: \"\\e116\";\n}\n\n.glyphicon-folder-close:before {\n  content: \"\\e117\";\n}\n\n.glyphicon-folder-open:before {\n  content: \"\\e118\";\n}\n\n.glyphicon-resize-vertical:before {\n  content: \"\\e119\";\n}\n\n.glyphicon-resize-horizontal:before {\n  content: \"\\e120\";\n}\n\n.glyphicon-hdd:before {\n  content: \"\\e121\";\n}\n\n.glyphicon-bullhorn:before {\n  content: \"\\e122\";\n}\n\n.glyphicon-bell:before {\n  content: \"\\e123\";\n}\n\n.glyphicon-certificate:before {\n  content: \"\\e124\";\n}\n\n.glyphicon-thumbs-up:before {\n  content: \"\\e125\";\n}\n\n.glyphicon-thumbs-down:before {\n  content: \"\\e126\";\n}\n\n.glyphicon-hand-right:before {\n  content: \"\\e127\";\n}\n\n.glyphicon-hand-left:before {\n  content: \"\\e128\";\n}\n\n.glyphicon-hand-up:before {\n  content: \"\\e129\";\n}\n\n.glyphicon-hand-down:before {\n  content: \"\\e130\";\n}\n\n.glyphicon-circle-arrow-right:before {\n  content: \"\\e131\";\n}\n\n.glyphicon-circle-arrow-left:before {\n  content: \"\\e132\";\n}\n\n.glyphicon-circle-arrow-up:before {\n  content: \"\\e133\";\n}\n\n.glyphicon-circle-arrow-down:before {\n  content: \"\\e134\";\n}\n\n.glyphicon-globe:before {\n  content: \"\\e135\";\n}\n\n.glyphicon-wrench:before {\n  content: \"\\e136\";\n}\n\n.glyphicon-tasks:before {\n  content: \"\\e137\";\n}\n\n.glyphicon-filter:before {\n  content: \"\\e138\";\n}\n\n.glyphicon-briefcase:before {\n  content: \"\\e139\";\n}\n\n.glyphicon-fullscreen:before {\n  content: \"\\e140\";\n}\n\n.glyphicon-dashboard:before {\n  content: \"\\e141\";\n}\n\n.glyphicon-paperclip:before {\n  content: \"\\e142\";\n}\n\n.glyphicon-heart-empty:before {\n  content: \"\\e143\";\n}\n\n.glyphicon-link:before {\n  content: \"\\e144\";\n}\n\n.glyphicon-phone:before {\n  content: \"\\e145\";\n}\n\n.glyphicon-pushpin:before {\n  content: \"\\e146\";\n}\n\n.glyphicon-usd:before {\n  content: \"\\e148\";\n}\n\n.glyphicon-gbp:before {\n  content: \"\\e149\";\n}\n\n.glyphicon-sort:before {\n  content: \"\\e150\";\n}\n\n.glyphicon-sort-by-alphabet:before {\n  content: \"\\e151\";\n}\n\n.glyphicon-sort-by-alphabet-alt:before {\n  content: \"\\e152\";\n}\n\n.glyphicon-sort-by-order:before {\n  content: \"\\e153\";\n}\n\n.glyphicon-sort-by-order-alt:before {\n  content: \"\\e154\";\n}\n\n.glyphicon-sort-by-attributes:before {\n  content: \"\\e155\";\n}\n\n.glyphicon-sort-by-attributes-alt:before {\n  content: \"\\e156\";\n}\n\n.glyphicon-unchecked:before {\n  content: \"\\e157\";\n}\n\n.glyphicon-expand:before {\n  content: \"\\e158\";\n}\n\n.glyphicon-collapse-down:before {\n  content: \"\\e159\";\n}\n\n.glyphicon-collapse-up:before {\n  content: \"\\e160\";\n}\n\n.glyphicon-log-in:before {\n  content: \"\\e161\";\n}\n\n.glyphicon-flash:before {\n  content: \"\\e162\";\n}\n\n.glyphicon-log-out:before {\n  content: \"\\e163\";\n}\n\n.glyphicon-new-window:before {\n  content: \"\\e164\";\n}\n\n.glyphicon-record:before {\n  content: \"\\e165\";\n}\n\n.glyphicon-save:before {\n  content: \"\\e166\";\n}\n\n.glyphicon-open:before {\n  content: \"\\e167\";\n}\n\n.glyphicon-saved:before {\n  content: \"\\e168\";\n}\n\n.glyphicon-import:before {\n  content: \"\\e169\";\n}\n\n.glyphicon-export:before {\n  content: \"\\e170\";\n}\n\n.glyphicon-send:before {\n  content: \"\\e171\";\n}\n\n.glyphicon-floppy-disk:before {\n  content: \"\\e172\";\n}\n\n.glyphicon-floppy-saved:before {\n  content: \"\\e173\";\n}\n\n.glyphicon-floppy-remove:before {\n  content: \"\\e174\";\n}\n\n.glyphicon-floppy-save:before {\n  content: \"\\e175\";\n}\n\n.glyphicon-floppy-open:before {\n  content: \"\\e176\";\n}\n\n.glyphicon-credit-card:before {\n  content: \"\\e177\";\n}\n\n.glyphicon-transfer:before {\n  content: \"\\e178\";\n}\n\n.glyphicon-cutlery:before {\n  content: \"\\e179\";\n}\n\n.glyphicon-header:before {\n  content: \"\\e180\";\n}\n\n.glyphicon-compressed:before {\n  content: \"\\e181\";\n}\n\n.glyphicon-earphone:before {\n  content: \"\\e182\";\n}\n\n.glyphicon-phone-alt:before {\n  content: \"\\e183\";\n}\n\n.glyphicon-tower:before {\n  content: \"\\e184\";\n}\n\n.glyphicon-stats:before {\n  content: \"\\e185\";\n}\n\n.glyphicon-sd-video:before {\n  content: \"\\e186\";\n}\n\n.glyphicon-hd-video:before {\n  content: \"\\e187\";\n}\n\n.glyphicon-subtitles:before {\n  content: \"\\e188\";\n}\n\n.glyphicon-sound-stereo:before {\n  content: \"\\e189\";\n}\n\n.glyphicon-sound-dolby:before {\n  content: \"\\e190\";\n}\n\n.glyphicon-sound-5-1:before {\n  content: \"\\e191\";\n}\n\n.glyphicon-sound-6-1:before {\n  content: \"\\e192\";\n}\n\n.glyphicon-sound-7-1:before {\n  content: \"\\e193\";\n}\n\n.glyphicon-copyright-mark:before {\n  content: \"\\e194\";\n}\n\n.glyphicon-registration-mark:before {\n  content: \"\\e195\";\n}\n\n.glyphicon-cloud-download:before {\n  content: \"\\e197\";\n}\n\n.glyphicon-cloud-upload:before {\n  content: \"\\e198\";\n}\n\n.glyphicon-tree-conifer:before {\n  content: \"\\e199\";\n}\n\n.glyphicon-tree-deciduous:before {\n  content: \"\\e200\";\n}\n\n.caret {\n  display: inline-block;\n  width: 0;\n  height: 0;\n  margin-left: 2px;\n  vertical-align: middle;\n  border-top: 4px solid;\n  border-right: 4px solid transparent;\n  border-left: 4px solid transparent;\n}\n\n.dropdown {\n  position: relative;\n}\n\n.dropdown-toggle:focus {\n  outline: 0;\n}\n\n.dropdown-menu {\n  position: absolute;\n  top: 100%;\n  left: 0;\n  z-index: 1000;\n  display: none;\n  float: left;\n  min-width: 160px;\n  padding: 5px 0;\n  margin: 2px 0 0;\n  font-size: 14px;\n  list-style: none;\n  background-color: #ffffff;\n  border: 1px solid #cccccc;\n  border: 1px solid rgba(0, 0, 0, 0.15);\n  border-radius: 4px;\n  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n  background-clip: padding-box;\n}\n\n.dropdown-menu.pull-right {\n  right: 0;\n  left: auto;\n}\n\n.dropdown-menu .divider {\n  height: 1px;\n  margin: 9px 0;\n  overflow: hidden;\n  background-color: #e5e5e5;\n}\n\n.dropdown-menu > li > a {\n  display: block;\n  padding: 3px 20px;\n  clear: both;\n  font-weight: normal;\n  line-height: 1.428571429;\n  color: #333333;\n  white-space: nowrap;\n}\n\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n  color: #262626;\n  text-decoration: none;\n  background-color: #f5f5f5;\n}\n\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n  color: #ffffff;\n  text-decoration: none;\n  background-color: #428bca;\n  outline: 0;\n}\n\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n  color: #999999;\n}\n\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n  text-decoration: none;\n  cursor: not-allowed;\n  background-color: transparent;\n  background-image: none;\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.open > .dropdown-menu {\n  display: block;\n}\n\n.open > a {\n  outline: 0;\n}\n\n.dropdown-header {\n  display: block;\n  padding: 3px 20px;\n  font-size: 12px;\n  line-height: 1.428571429;\n  color: #999999;\n}\n\n.dropdown-backdrop {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 990;\n}\n\n.pull-right > .dropdown-menu {\n  right: 0;\n  left: auto;\n}\n\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n  border-top: 0;\n  border-bottom: 4px solid;\n  content: \"\";\n}\n\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n  top: auto;\n  bottom: 100%;\n  margin-bottom: 1px;\n}\n\n@media (min-width: 768px) {\n  .navbar-right .dropdown-menu {\n    right: 0;\n    left: auto;\n  }\n}\n\n.btn-group,\n.btn-group-vertical {\n  position: relative;\n  display: inline-block;\n  vertical-align: middle;\n}\n\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n  position: relative;\n  float: left;\n}\n\n.btn-group > .btn:hover,\n.btn-group-vertical > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus,\n.btn-group > .btn:active,\n.btn-group-vertical > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn.active {\n  z-index: 2;\n}\n\n.btn-group > .btn:focus,\n.btn-group-vertical > .btn:focus {\n  outline: none;\n}\n\n.btn-group .btn + .btn,\n.btn-group .btn + .btn-group,\n.btn-group .btn-group + .btn,\n.btn-group .btn-group + .btn-group {\n  margin-left: -1px;\n}\n\n.btn-toolbar:before,\n.btn-toolbar:after {\n  display: table;\n  content: \" \";\n}\n\n.btn-toolbar:after {\n  clear: both;\n}\n\n.btn-toolbar:before,\n.btn-toolbar:after {\n  display: table;\n  content: \" \";\n}\n\n.btn-toolbar:after {\n  clear: both;\n}\n\n.btn-toolbar .btn-group {\n  float: left;\n}\n\n.btn-toolbar > .btn + .btn,\n.btn-toolbar > .btn-group + .btn,\n.btn-toolbar > .btn + .btn-group,\n.btn-toolbar > .btn-group + .btn-group {\n  margin-left: 5px;\n}\n\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n  border-radius: 0;\n}\n\n.btn-group > .btn:first-child {\n  margin-left: 0;\n}\n\n.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n  border-bottom-left-radius: 0;\n  border-top-left-radius: 0;\n}\n\n.btn-group > .btn-group {\n  float: left;\n}\n\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n  border-radius: 0;\n}\n\n.btn-group > .btn-group:first-child > .btn:last-child,\n.btn-group > .btn-group:first-child > .dropdown-toggle {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n\n.btn-group > .btn-group:last-child > .btn:first-child {\n  border-bottom-left-radius: 0;\n  border-top-left-radius: 0;\n}\n\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n  outline: 0;\n}\n\n.btn-group-xs > .btn {\n  padding: 1px 5px;\n  font-size: 12px;\n  line-height: 1.5;\n  border-radius: 3px;\n}\n\n.btn-group-sm > .btn {\n  padding: 5px 10px;\n  font-size: 12px;\n  line-height: 1.5;\n  border-radius: 3px;\n}\n\n.btn-group-lg > .btn {\n  padding: 10px 16px;\n  font-size: 18px;\n  line-height: 1.33;\n  border-radius: 6px;\n}\n\n.btn-group > .btn + .dropdown-toggle {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n\n.btn-group > .btn-lg + .dropdown-toggle {\n  padding-right: 12px;\n  padding-left: 12px;\n}\n\n.btn-group.open .dropdown-toggle {\n  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n}\n\n.btn-group.open .dropdown-toggle.btn-link {\n  -webkit-box-shadow: none;\n          box-shadow: none;\n}\n\n.btn .caret {\n  margin-left: 0;\n}\n\n.btn-lg .caret {\n  border-width: 5px 5px 0;\n  border-bottom-width: 0;\n}\n\n.dropup .btn-lg .caret {\n  border-width: 0 5px 5px;\n}\n\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group,\n.btn-group-vertical > .btn-group > .btn {\n  display: block;\n  float: none;\n  width: 100%;\n  max-width: 100%;\n}\n\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after {\n  display: table;\n  content: \" \";\n}\n\n.btn-group-vertical > .btn-group:after {\n  clear: both;\n}\n\n.btn-group-vertical > .btn-group:before,\n.btn-group-vertical > .btn-group:after {\n  display: table;\n  content: \" \";\n}\n\n.btn-group-vertical > .btn-group:after {\n  clear: both;\n}\n\n.btn-group-vertical > .btn-group > .btn {\n  float: none;\n}\n\n.btn-group-vertical > .btn + .btn,\n.btn-group-vertical > .btn + .btn-group,\n.btn-group-vertical > .btn-group + .btn,\n.btn-group-vertical > .btn-group + .btn-group {\n  margin-top: -1px;\n  margin-left: 0;\n}\n\n.btn-group-vertical > .btn:not(:first-child):not(:last-child) {\n  border-radius: 0;\n}\n\n.btn-group-vertical > .btn:first-child:not(:last-child) {\n  border-top-right-radius: 4px;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 0;\n}\n\n.btn-group-vertical > .btn:last-child:not(:first-child) {\n  border-top-right-radius: 0;\n  border-bottom-left-radius: 4px;\n  border-top-left-radius: 0;\n}\n\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n  border-radius: 0;\n}\n\n.btn-group-vertical > .btn-group:first-child > .btn:last-child,\n.btn-group-vertical > .btn-group:first-child > .dropdown-toggle {\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 0;\n}\n\n.btn-group-vertical > .btn-group:last-child > .btn:first-child {\n  border-top-right-radius: 0;\n  border-top-left-radius: 0;\n}\n\n.btn-group-justified {\n  display: table;\n  width: 100%;\n  border-collapse: separate;\n  table-layout: fixed;\n}\n\n.btn-group-justified > .btn,\n.btn-group-justified > .btn-group {\n  display: table-cell;\n  float: none;\n  width: 1%;\n}\n\n.btn-group-justified > .btn-group .btn {\n  width: 100%;\n}\n\n[data-toggle=\"buttons\"] > .btn > input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn > input[type=\"checkbox\"] {\n  display: none;\n}\n\n.input-group {\n  position: relative;\n  display: table;\n  border-collapse: separate;\n}\n\n.input-group[class*=\"col-\"] {\n  float: none;\n  padding-right: 0;\n  padding-left: 0;\n}\n\n.input-group .form-control {\n  width: 100%;\n  margin-bottom: 0;\n}\n\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn {\n  height: 46px;\n  padding: 10px 16px;\n  font-size: 18px;\n  line-height: 1.33;\n  border-radius: 6px;\n}\n\nselect.input-group-lg > .form-control,\nselect.input-group-lg > .input-group-addon,\nselect.input-group-lg > .input-group-btn > .btn {\n  height: 46px;\n  line-height: 46px;\n}\n\ntextarea.input-group-lg > .form-control,\ntextarea.input-group-lg > .input-group-addon,\ntextarea.input-group-lg > .input-group-btn > .btn {\n  height: auto;\n}\n\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn {\n  height: 30px;\n  padding: 5px 10px;\n  font-size: 12px;\n  line-height: 1.5;\n  border-radius: 3px;\n}\n\nselect.input-group-sm > .form-control,\nselect.input-group-sm > .input-group-addon,\nselect.input-group-sm > .input-group-btn > .btn {\n  height: 30px;\n  line-height: 30px;\n}\n\ntextarea.input-group-sm > .form-control,\ntextarea.input-group-sm > .input-group-addon,\ntextarea.input-group-sm > .input-group-btn > .btn {\n  height: auto;\n}\n\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n  display: table-cell;\n}\n\n.input-group-addon:not(:first-child):not(:last-child),\n.input-group-btn:not(:first-child):not(:last-child),\n.input-group .form-control:not(:first-child):not(:last-child) {\n  border-radius: 0;\n}\n\n.input-group-addon,\n.input-group-btn {\n  width: 1%;\n  white-space: nowrap;\n  vertical-align: middle;\n}\n\n.input-group-addon {\n  padding: 6px 12px;\n  font-size: 14px;\n  font-weight: normal;\n  line-height: 1;\n  color: #555555;\n  text-align: center;\n  background-color: #eeeeee;\n  border: 1px solid #cccccc;\n  border-radius: 4px;\n}\n\n.input-group-addon.input-sm {\n  padding: 5px 10px;\n  font-size: 12px;\n  border-radius: 3px;\n}\n\n.input-group-addon.input-lg {\n  padding: 10px 16px;\n  font-size: 18px;\n  border-radius: 6px;\n}\n\n.input-group-addon input[type=\"radio\"],\n.input-group-addon input[type=\"checkbox\"] {\n  margin-top: 0;\n}\n\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n\n.input-group-addon:first-child {\n  border-right: 0;\n}\n\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child) {\n  border-bottom-left-radius: 0;\n  border-top-left-radius: 0;\n}\n\n.input-group-addon:last-child {\n  border-left: 0;\n}\n\n.input-group-btn {\n  position: relative;\n  white-space: nowrap;\n}\n\n.input-group-btn:first-child > .btn {\n  margin-right: -1px;\n}\n\n.input-group-btn:last-child > .btn {\n  margin-left: -1px;\n}\n\n.input-group-btn > .btn {\n  position: relative;\n}\n\n.input-group-btn > .btn + .btn {\n  margin-left: -4px;\n}\n\n.input-group-btn > .btn:hover,\n.input-group-btn > .btn:active {\n  z-index: 2;\n}\n\n.nav {\n  padding-left: 0;\n  margin-bottom: 0;\n  list-style: none;\n}\n\n.nav:before,\n.nav:after {\n  display: table;\n  content: \" \";\n}\n\n.nav:after {\n  clear: both;\n}\n\n.nav:before,\n.nav:after {\n  display: table;\n  content: \" \";\n}\n\n.nav:after {\n  clear: both;\n}\n\n.nav > li {\n  position: relative;\n  display: block;\n}\n\n.nav > li > a {\n  position: relative;\n  display: block;\n  padding: 10px 15px;\n}\n\n.nav > li > a:hover,\n.nav > li > a:focus {\n  text-decoration: none;\n  background-color: #eeeeee;\n}\n\n.nav > li.disabled > a {\n  color: #999999;\n}\n\n.nav > li.disabled > a:hover,\n.nav > li.disabled > a:focus {\n  color: #999999;\n  text-decoration: none;\n  cursor: not-allowed;\n  background-color: transparent;\n}\n\n.nav .open > a,\n.nav .open > a:hover,\n.nav .open > a:focus {\n  background-color: #eeeeee;\n  border-color: #428bca;\n}\n\n.nav .nav-divider {\n  height: 1px;\n  margin: 9px 0;\n  overflow: hidden;\n  background-color: #e5e5e5;\n}\n\n.nav > li > a > img {\n  max-width: none;\n}\n\n.nav-tabs {\n  border-bottom: 1px solid #dddddd;\n}\n\n.nav-tabs > li {\n  float: left;\n  margin-bottom: -1px;\n}\n\n.nav-tabs > li > a {\n  margin-right: 2px;\n  line-height: 1.428571429;\n  border: 1px solid transparent;\n  border-radius: 4px 4px 0 0;\n}\n\n.nav-tabs > li > a:hover {\n  border-color: #eeeeee #eeeeee #dddddd;\n}\n\n.nav-tabs > li.active > a,\n.nav-tabs > li.active > a:hover,\n.nav-tabs > li.active > a:focus {\n  color: #555555;\n  cursor: default;\n  background-color: #ffffff;\n  border: 1px solid #dddddd;\n  border-bottom-color: transparent;\n}\n\n.nav-tabs.nav-justified {\n  width: 100%;\n  border-bottom: 0;\n}\n\n.nav-tabs.nav-justified > li {\n  float: none;\n}\n\n.nav-tabs.nav-justified > li > a {\n  margin-bottom: 5px;\n  text-align: center;\n}\n\n.nav-tabs.nav-justified > .dropdown .dropdown-menu {\n  top: auto;\n  left: auto;\n}\n\n@media (min-width: 768px) {\n  .nav-tabs.nav-justified > li {\n    display: table-cell;\n    width: 1%;\n  }\n  .nav-tabs.nav-justified > li > a {\n    margin-bottom: 0;\n  }\n}\n\n.nav-tabs.nav-justified > li > a {\n  margin-right: 0;\n  border-radius: 4px;\n}\n\n.nav-tabs.nav-justified > .active > a,\n.nav-tabs.nav-justified > .active > a:hover,\n.nav-tabs.nav-justified > .active > a:focus {\n  border: 1px solid #dddddd;\n}\n\n@media (min-width: 768px) {\n  .nav-tabs.nav-justified > li > a {\n    border-bottom: 1px solid #dddddd;\n    border-radius: 4px 4px 0 0;\n  }\n  .nav-tabs.nav-justified > .active > a,\n  .nav-tabs.nav-justified > .active > a:hover,\n  .nav-tabs.nav-justified > .active > a:focus {\n    border-bottom-color: #ffffff;\n  }\n}\n\n.nav-pills > li {\n  float: left;\n}\n\n.nav-pills > li > a {\n  border-radius: 4px;\n}\n\n.nav-pills > li + li {\n  margin-left: 2px;\n}\n\n.nav-pills > li.active > a,\n.nav-pills > li.active > a:hover,\n.nav-pills > li.active > a:focus {\n  color: #ffffff;\n  background-color: #428bca;\n}\n\n.nav-stacked > li {\n  float: none;\n}\n\n.nav-stacked > li + li {\n  margin-top: 2px;\n  margin-left: 0;\n}\n\n.nav-justified {\n  width: 100%;\n}\n\n.nav-justified > li {\n  float: none;\n}\n\n.nav-justified > li > a {\n  margin-bottom: 5px;\n  text-align: center;\n}\n\n.nav-justified > .dropdown .dropdown-menu {\n  top: auto;\n  left: auto;\n}\n\n@media (min-width: 768px) {\n  .nav-justified > li {\n    display: table-cell;\n    width: 1%;\n  }\n  .nav-justified > li > a {\n    margin-bottom: 0;\n  }\n}\n\n.nav-tabs-justified {\n  border-bottom: 0;\n}\n\n.nav-tabs-justified > li > a {\n  margin-right: 0;\n  border-radius: 4px;\n}\n\n.nav-tabs-justified > .active > a,\n.nav-tabs-justified > .active > a:hover,\n.nav-tabs-justified > .active > a:focus {\n  border: 1px solid #dddddd;\n}\n\n@media (min-width: 768px) {\n  .nav-tabs-justified > li > a {\n    border-bottom: 1px solid #dddddd;\n    border-radius: 4px 4px 0 0;\n  }\n  .nav-tabs-justified > .active > a,\n  .nav-tabs-justified > .active > a:hover,\n  .nav-tabs-justified > .active > a:focus {\n    border-bottom-color: #ffffff;\n  }\n}\n\n.tab-content > .tab-pane {\n  display: none;\n}\n\n.tab-content > .active {\n  display: block;\n}\n\n.nav-tabs .dropdown-menu {\n  margin-top: -1px;\n  border-top-right-radius: 0;\n  border-top-left-radius: 0;\n}\n\n.navbar {\n  position: relative;\n  min-height: 50px;\n  margin-bottom: 20px;\n  border: 1px solid transparent;\n}\n\n.navbar:before,\n.navbar:after {\n  display: table;\n  content: \" \";\n}\n\n.navbar:after {\n  clear: both;\n}\n\n.navbar:before,\n.navbar:after {\n  display: table;\n  content: \" \";\n}\n\n.navbar:after {\n  clear: both;\n}\n\n@media (min-width: 768px) {\n  .navbar {\n    border-radius: 4px;\n  }\n}\n\n.navbar-header:before,\n.navbar-header:after {\n  display: table;\n  content: \" \";\n}\n\n.navbar-header:after {\n  clear: both;\n}\n\n.navbar-header:before,\n.navbar-header:after {\n  display: table;\n  content: \" \";\n}\n\n.navbar-header:after {\n  clear: both;\n}\n\n@media (min-width: 768px) {\n  .navbar-header {\n    float: left;\n  }\n}\n\n.navbar-collapse {\n  max-height: 340px;\n  padding-right: 15px;\n  padding-left: 15px;\n  overflow-x: visible;\n  border-top: 1px solid transparent;\n  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);\n  -webkit-overflow-scrolling: touch;\n}\n\n.navbar-collapse:before,\n.navbar-collapse:after {\n  display: table;\n  content: \" \";\n}\n\n.navbar-collapse:after {\n  clear: both;\n}\n\n.navbar-collapse:before,\n.navbar-collapse:after {\n  display: table;\n  content: \" \";\n}\n\n.navbar-collapse:after {\n  clear: both;\n}\n\n.navbar-collapse.in {\n  overflow-y: auto;\n}\n\n@media (min-width: 768px) {\n  .navbar-collapse {\n    width: auto;\n    border-top: 0;\n    box-shadow: none;\n  }\n  .navbar-collapse.collapse {\n    display: block !important;\n    height: auto !important;\n    padding-bottom: 0;\n    overflow: visible !important;\n  }\n  .navbar-collapse.in {\n    overflow-y: visible;\n  }\n  .navbar-fixed-top .navbar-collapse,\n  .navbar-static-top .navbar-collapse,\n  .navbar-fixed-bottom .navbar-collapse {\n    padding-right: 0;\n    padding-left: 0;\n  }\n}\n\n.container > .navbar-header,\n.container > .navbar-collapse {\n  margin-right: -15px;\n  margin-left: -15px;\n}\n\n@media (min-width: 768px) {\n  .container > .navbar-header,\n  .container > .navbar-collapse {\n    margin-right: 0;\n    margin-left: 0;\n  }\n}\n\n.navbar-static-top {\n  z-index: 1000;\n  border-width: 0 0 1px;\n}\n\n@media (min-width: 768px) {\n  .navbar-static-top {\n    border-radius: 0;\n  }\n}\n\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n  position: fixed;\n  right: 0;\n  left: 0;\n  z-index: 1030;\n}\n\n@media (min-width: 768px) {\n  .navbar-fixed-top,\n  .navbar-fixed-bottom {\n    border-radius: 0;\n  }\n}\n\n.navbar-fixed-top {\n  top: 0;\n  border-width: 0 0 1px;\n}\n\n.navbar-fixed-bottom {\n  bottom: 0;\n  margin-bottom: 0;\n  border-width: 1px 0 0;\n}\n\n.navbar-brand {\n  float: left;\n  padding: 15px 15px;\n  font-size: 18px;\n  line-height: 20px;\n}\n\n.navbar-brand:hover,\n.navbar-brand:focus {\n  text-decoration: none;\n}\n\n@media (min-width: 768px) {\n  .navbar > .container .navbar-brand {\n    margin-left: -15px;\n  }\n}\n\n.navbar-toggle {\n  position: relative;\n  float: right;\n  padding: 9px 10px;\n  margin-top: 8px;\n  margin-right: 15px;\n  margin-bottom: 8px;\n  background-color: transparent;\n  background-image: none;\n  border: 1px solid transparent;\n  border-radius: 4px;\n}\n\n.navbar-toggle .icon-bar {\n  display: block;\n  width: 22px;\n  height: 2px;\n  border-radius: 1px;\n}\n\n.navbar-toggle .icon-bar + .icon-bar {\n  margin-top: 4px;\n}\n\n@media (min-width: 768px) {\n  .navbar-toggle {\n    display: none;\n  }\n}\n\n.navbar-nav {\n  margin: 7.5px -15px;\n}\n\n.navbar-nav > li > a {\n  padding-top: 10px;\n  padding-bottom: 10px;\n  line-height: 20px;\n}\n\n@media (max-width: 767px) {\n  .navbar-nav .open .dropdown-menu {\n    position: static;\n    float: none;\n    width: auto;\n    margin-top: 0;\n    background-color: transparent;\n    border: 0;\n    box-shadow: none;\n  }\n  .navbar-nav .open .dropdown-menu > li > a,\n  .navbar-nav .open .dropdown-menu .dropdown-header {\n    padding: 5px 15px 5px 25px;\n  }\n  .navbar-nav .open .dropdown-menu > li > a {\n    line-height: 20px;\n  }\n  .navbar-nav .open .dropdown-menu > li > a:hover,\n  .navbar-nav .open .dropdown-menu > li > a:focus {\n    background-image: none;\n  }\n}\n\n@media (min-width: 768px) {\n  .navbar-nav {\n    float: left;\n    margin: 0;\n  }\n  .navbar-nav > li {\n    float: left;\n  }\n  .navbar-nav > li > a {\n    padding-top: 15px;\n    padding-bottom: 15px;\n  }\n  .navbar-nav.navbar-right:last-child {\n    margin-right: -15px;\n  }\n}\n\n@media (min-width: 768px) {\n  .navbar-left {\n    float: left !important;\n  }\n  .navbar-right {\n    float: right !important;\n  }\n}\n\n.navbar-form {\n  padding: 10px 15px;\n  margin-top: 8px;\n  margin-right: -15px;\n  margin-bottom: 8px;\n  margin-left: -15px;\n  border-top: 1px solid transparent;\n  border-bottom: 1px solid transparent;\n  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n}\n\n@media (min-width: 768px) {\n  .navbar-form .form-group {\n    display: inline-block;\n    margin-bottom: 0;\n    vertical-align: middle;\n  }\n  .navbar-form .form-control {\n    display: inline-block;\n  }\n  .navbar-form select.form-control {\n    width: auto;\n  }\n  .navbar-form .radio,\n  .navbar-form .checkbox {\n    display: inline-block;\n    padding-left: 0;\n    margin-top: 0;\n    margin-bottom: 0;\n  }\n  .navbar-form .radio input[type=\"radio\"],\n  .navbar-form .checkbox input[type=\"checkbox\"] {\n    float: none;\n    margin-left: 0;\n  }\n}\n\n@media (max-width: 767px) {\n  .navbar-form .form-group {\n    margin-bottom: 5px;\n  }\n}\n\n@media (min-width: 768px) {\n  .navbar-form {\n    width: auto;\n    padding-top: 0;\n    padding-bottom: 0;\n    margin-right: 0;\n    margin-left: 0;\n    border: 0;\n    -webkit-box-shadow: none;\n            box-shadow: none;\n  }\n  .navbar-form.navbar-right:last-child {\n    margin-right: -15px;\n  }\n}\n\n.navbar-nav > li > .dropdown-menu {\n  margin-top: 0;\n  border-top-right-radius: 0;\n  border-top-left-radius: 0;\n}\n\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 0;\n}\n\n.navbar-nav.pull-right > li > .dropdown-menu,\n.navbar-nav > li > .dropdown-menu.pull-right {\n  right: 0;\n  left: auto;\n}\n\n.navbar-btn {\n  margin-top: 8px;\n  margin-bottom: 8px;\n}\n\n.navbar-btn.btn-sm {\n  margin-top: 10px;\n  margin-bottom: 10px;\n}\n\n.navbar-btn.btn-xs {\n  margin-top: 14px;\n  margin-bottom: 14px;\n}\n\n.navbar-text {\n  margin-top: 15px;\n  margin-bottom: 15px;\n}\n\n@media (min-width: 768px) {\n  .navbar-text {\n    float: left;\n    margin-right: 15px;\n    margin-left: 15px;\n  }\n  .navbar-text.navbar-right:last-child {\n    margin-right: 0;\n  }\n}\n\n.navbar-default {\n  background-color: #f8f8f8;\n  border-color: #e7e7e7;\n}\n\n.navbar-default .navbar-brand {\n  color: #777777;\n}\n\n.navbar-default .navbar-brand:hover,\n.navbar-default .navbar-brand:focus {\n  color: #5e5e5e;\n  background-color: transparent;\n}\n\n.navbar-default .navbar-text {\n  color: #777777;\n}\n\n.navbar-default .navbar-nav > li > a {\n  color: #777777;\n}\n\n.navbar-default .navbar-nav > li > a:hover,\n.navbar-default .navbar-nav > li > a:focus {\n  color: #333333;\n  background-color: transparent;\n}\n\n.navbar-default .navbar-nav > .active > a,\n.navbar-default .navbar-nav > .active > a:hover,\n.navbar-default .navbar-nav > .active > a:focus {\n  color: #555555;\n  background-color: #e7e7e7;\n}\n\n.navbar-default .navbar-nav > .disabled > a,\n.navbar-default .navbar-nav > .disabled > a:hover,\n.navbar-default .navbar-nav > .disabled > a:focus {\n  color: #cccccc;\n  background-color: transparent;\n}\n\n.navbar-default .navbar-toggle {\n  border-color: #dddddd;\n}\n\n.navbar-default .navbar-toggle:hover,\n.navbar-default .navbar-toggle:focus {\n  background-color: #dddddd;\n}\n\n.navbar-default .navbar-toggle .icon-bar {\n  background-color: #cccccc;\n}\n\n.navbar-default .navbar-collapse,\n.navbar-default .navbar-form {\n  border-color: #e7e7e7;\n}\n\n.navbar-default .navbar-nav > .open > a,\n.navbar-default .navbar-nav > .open > a:hover,\n.navbar-default .navbar-nav > .open > a:focus {\n  color: #555555;\n  background-color: #e7e7e7;\n}\n\n@media (max-width: 767px) {\n  .navbar-default .navbar-nav .open .dropdown-menu > li > a {\n    color: #777777;\n  }\n  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,\n  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {\n    color: #333333;\n    background-color: transparent;\n  }\n  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,\n  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,\n  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {\n    color: #555555;\n    background-color: #e7e7e7;\n  }\n  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,\n  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n    color: #cccccc;\n    background-color: transparent;\n  }\n}\n\n.navbar-default .navbar-link {\n  color: #777777;\n}\n\n.navbar-default .navbar-link:hover {\n  color: #333333;\n}\n\n.navbar-inverse {\n  background-color: #222222;\n  border-color: #080808;\n}\n\n.navbar-inverse .navbar-brand {\n  color: #999999;\n}\n\n.navbar-inverse .navbar-brand:hover,\n.navbar-inverse .navbar-brand:focus {\n  color: #ffffff;\n  background-color: transparent;\n}\n\n.navbar-inverse .navbar-text {\n  color: #999999;\n}\n\n.navbar-inverse .navbar-nav > li > a {\n  color: #999999;\n}\n\n.navbar-inverse .navbar-nav > li > a:hover,\n.navbar-inverse .navbar-nav > li > a:focus {\n  color: #ffffff;\n  background-color: transparent;\n}\n\n.navbar-inverse .navbar-nav > .active > a,\n.navbar-inverse .navbar-nav > .active > a:hover,\n.navbar-inverse .navbar-nav > .active > a:focus {\n  color: #ffffff;\n  background-color: #080808;\n}\n\n.navbar-inverse .navbar-nav > .disabled > a,\n.navbar-inverse .navbar-nav > .disabled > a:hover,\n.navbar-inverse .navbar-nav > .disabled > a:focus {\n  color: #444444;\n  background-color: transparent;\n}\n\n.navbar-inverse .navbar-toggle {\n  border-color: #333333;\n}\n\n.navbar-inverse .navbar-toggle:hover,\n.navbar-inverse .navbar-toggle:focus {\n  background-color: #333333;\n}\n\n.navbar-inverse .navbar-toggle .icon-bar {\n  background-color: #ffffff;\n}\n\n.navbar-inverse .navbar-collapse,\n.navbar-inverse .navbar-form {\n  border-color: #101010;\n}\n\n.navbar-inverse .navbar-nav > .open > a,\n.navbar-inverse .navbar-nav > .open > a:hover,\n.navbar-inverse .navbar-nav > .open > a:focus {\n  color: #ffffff;\n  background-color: #080808;\n}\n\n@media (max-width: 767px) {\n  .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {\n    border-color: #080808;\n  }\n  .navbar-inverse .navbar-nav .open .dropdown-menu .divider {\n    background-color: #080808;\n  }\n  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {\n    color: #999999;\n  }\n  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,\n  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {\n    color: #ffffff;\n    background-color: transparent;\n  }\n  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,\n  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,\n  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {\n    color: #ffffff;\n    background-color: #080808;\n  }\n  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,\n  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n    color: #444444;\n    background-color: transparent;\n  }\n}\n\n.navbar-inverse .navbar-link {\n  color: #999999;\n}\n\n.navbar-inverse .navbar-link:hover {\n  color: #ffffff;\n}\n\n.breadcrumb {\n  padding: 8px 15px;\n  margin-bottom: 20px;\n  list-style: none;\n  background-color: #f5f5f5;\n  border-radius: 4px;\n}\n\n.breadcrumb > li {\n  display: inline-block;\n}\n\n.breadcrumb > li + li:before {\n  padding: 0 5px;\n  color: #cccccc;\n  content: \"/\\00a0\";\n}\n\n.breadcrumb > .active {\n  color: #999999;\n}\n\n.pagination {\n  display: inline-block;\n  padding-left: 0;\n  margin: 20px 0;\n  border-radius: 4px;\n}\n\n.pagination > li {\n  display: inline;\n}\n\n.pagination > li > a,\n.pagination > li > span {\n  position: relative;\n  float: left;\n  padding: 6px 12px;\n  margin-left: -1px;\n  line-height: 1.428571429;\n  text-decoration: none;\n  background-color: #ffffff;\n  border: 1px solid #dddddd;\n}\n\n.pagination > li:first-child > a,\n.pagination > li:first-child > span {\n  margin-left: 0;\n  border-bottom-left-radius: 4px;\n  border-top-left-radius: 4px;\n}\n\n.pagination > li:last-child > a,\n.pagination > li:last-child > span {\n  border-top-right-radius: 4px;\n  border-bottom-right-radius: 4px;\n}\n\n.pagination > li > a:hover,\n.pagination > li > span:hover,\n.pagination > li > a:focus,\n.pagination > li > span:focus {\n  background-color: #eeeeee;\n}\n\n.pagination > .active > a,\n.pagination > .active > span,\n.pagination > .active > a:hover,\n.pagination > .active > span:hover,\n.pagination > .active > a:focus,\n.pagination > .active > span:focus {\n  z-index: 2;\n  color: #ffffff;\n  cursor: default;\n  background-color: #428bca;\n  border-color: #428bca;\n}\n\n.pagination > .disabled > span,\n.pagination > .disabled > span:hover,\n.pagination > .disabled > span:focus,\n.pagination > .disabled > a,\n.pagination > .disabled > a:hover,\n.pagination > .disabled > a:focus {\n  color: #999999;\n  cursor: not-allowed;\n  background-color: #ffffff;\n  border-color: #dddddd;\n}\n\n.pagination-lg > li > a,\n.pagination-lg > li > span {\n  padding: 10px 16px;\n  font-size: 18px;\n}\n\n.pagination-lg > li:first-child > a,\n.pagination-lg > li:first-child > span {\n  border-bottom-left-radius: 6px;\n  border-top-left-radius: 6px;\n}\n\n.pagination-lg > li:last-child > a,\n.pagination-lg > li:last-child > span {\n  border-top-right-radius: 6px;\n  border-bottom-right-radius: 6px;\n}\n\n.pagination-sm > li > a,\n.pagination-sm > li > span {\n  padding: 5px 10px;\n  font-size: 12px;\n}\n\n.pagination-sm > li:first-child > a,\n.pagination-sm > li:first-child > span {\n  border-bottom-left-radius: 3px;\n  border-top-left-radius: 3px;\n}\n\n.pagination-sm > li:last-child > a,\n.pagination-sm > li:last-child > span {\n  border-top-right-radius: 3px;\n  border-bottom-right-radius: 3px;\n}\n\n.pager {\n  padding-left: 0;\n  margin: 20px 0;\n  text-align: center;\n  list-style: none;\n}\n\n.pager:before,\n.pager:after {\n  display: table;\n  content: \" \";\n}\n\n.pager:after {\n  clear: both;\n}\n\n.pager:before,\n.pager:after {\n  display: table;\n  content: \" \";\n}\n\n.pager:after {\n  clear: both;\n}\n\n.pager li {\n  display: inline;\n}\n\n.pager li > a,\n.pager li > span {\n  display: inline-block;\n  padding: 5px 14px;\n  background-color: #ffffff;\n  border: 1px solid #dddddd;\n  border-radius: 15px;\n}\n\n.pager li > a:hover,\n.pager li > a:focus {\n  text-decoration: none;\n  background-color: #eeeeee;\n}\n\n.pager .next > a,\n.pager .next > span {\n  float: right;\n}\n\n.pager .previous > a,\n.pager .previous > span {\n  float: left;\n}\n\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n  color: #999999;\n  cursor: not-allowed;\n  background-color: #ffffff;\n}\n\n.label {\n  display: inline;\n  padding: .2em .6em .3em;\n  font-size: 75%;\n  font-weight: bold;\n  line-height: 1;\n  color: #ffffff;\n  text-align: center;\n  white-space: nowrap;\n  vertical-align: baseline;\n  border-radius: .25em;\n}\n\n.label[href]:hover,\n.label[href]:focus {\n  color: #ffffff;\n  text-decoration: none;\n  cursor: pointer;\n}\n\n.label:empty {\n  display: none;\n}\n\n.btn .label {\n  position: relative;\n  top: -1px;\n}\n\n.label-default {\n  background-color: #999999;\n}\n\n.label-default[href]:hover,\n.label-default[href]:focus {\n  background-color: #808080;\n}\n\n.label-primary {\n  background-color: #428bca;\n}\n\n.label-primary[href]:hover,\n.label-primary[href]:focus {\n  background-color: #3071a9;\n}\n\n.label-success {\n  background-color: #5cb85c;\n}\n\n.label-success[href]:hover,\n.label-success[href]:focus {\n  background-color: #449d44;\n}\n\n.label-info {\n  background-color: #5bc0de;\n}\n\n.label-info[href]:hover,\n.label-info[href]:focus {\n  background-color: #31b0d5;\n}\n\n.label-warning {\n  background-color: #f0ad4e;\n}\n\n.label-warning[href]:hover,\n.label-warning[href]:focus {\n  background-color: #ec971f;\n}\n\n.label-danger {\n  background-color: #d9534f;\n}\n\n.label-danger[href]:hover,\n.label-danger[href]:focus {\n  background-color: #c9302c;\n}\n\n.badge {\n  display: inline-block;\n  min-width: 10px;\n  padding: 3px 7px;\n  font-size: 12px;\n  font-weight: bold;\n  line-height: 1;\n  color: #ffffff;\n  text-align: center;\n  white-space: nowrap;\n  vertical-align: baseline;\n  background-color: #999999;\n  border-radius: 10px;\n}\n\n.badge:empty {\n  display: none;\n}\n\n.btn .badge {\n  position: relative;\n  top: -1px;\n}\n\na.badge:hover,\na.badge:focus {\n  color: #ffffff;\n  text-decoration: none;\n  cursor: pointer;\n}\n\na.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n  color: #428bca;\n  background-color: #ffffff;\n}\n\n.nav-pills > li > a > .badge {\n  margin-left: 3px;\n}\n\n.jumbotron {\n  padding: 30px;\n  margin-bottom: 30px;\n  font-size: 21px;\n  font-weight: 200;\n  line-height: 2.1428571435;\n  color: inherit;\n  background-color: #eeeeee;\n}\n\n.jumbotron h1,\n.jumbotron .h1 {\n  line-height: 1;\n  color: inherit;\n}\n\n.jumbotron p {\n  line-height: 1.4;\n}\n\n.container .jumbotron {\n  border-radius: 6px;\n}\n\n.jumbotron .container {\n  max-width: 100%;\n}\n\n@media screen and (min-width: 768px) {\n  .jumbotron {\n    padding-top: 48px;\n    padding-bottom: 48px;\n  }\n  .container .jumbotron {\n    padding-right: 60px;\n    padding-left: 60px;\n  }\n  .jumbotron h1,\n  .jumbotron .h1 {\n    font-size: 63px;\n  }\n}\n\n.thumbnail {\n  display: block;\n  padding: 4px;\n  margin-bottom: 20px;\n  line-height: 1.428571429;\n  background-color: #ffffff;\n  border: 1px solid #dddddd;\n  border-radius: 4px;\n  -webkit-transition: all 0.2s ease-in-out;\n          transition: all 0.2s ease-in-out;\n}\n\n.thumbnail > img,\n.thumbnail a > img {\n  display: block;\n  height: auto;\n  max-width: 100%;\n  margin-right: auto;\n  margin-left: auto;\n}\n\na.thumbnail:hover,\na.thumbnail:focus,\na.thumbnail.active {\n  border-color: #428bca;\n}\n\n.thumbnail .caption {\n  padding: 9px;\n  color: #333333;\n}\n\n.alert {\n  padding: 15px;\n  margin-bottom: 20px;\n  border: 1px solid transparent;\n  border-radius: 4px;\n}\n\n.alert h4 {\n  margin-top: 0;\n  color: inherit;\n}\n\n.alert .alert-link {\n  font-weight: bold;\n}\n\n.alert > p,\n.alert > ul {\n  margin-bottom: 0;\n}\n\n.alert > p + p {\n  margin-top: 5px;\n}\n\n.alert-dismissable {\n  padding-right: 35px;\n}\n\n.alert-dismissable .close {\n  position: relative;\n  top: -2px;\n  right: -21px;\n  color: inherit;\n}\n\n.alert-success {\n  color: #3c763d;\n  background-color: #dff0d8;\n  border-color: #d6e9c6;\n}\n\n.alert-success hr {\n  border-top-color: #c9e2b3;\n}\n\n.alert-success .alert-link {\n  color: #2b542c;\n}\n\n.alert-info {\n  color: #31708f;\n  background-color: #d9edf7;\n  border-color: #bce8f1;\n}\n\n.alert-info hr {\n  border-top-color: #a6e1ec;\n}\n\n.alert-info .alert-link {\n  color: #245269;\n}\n\n.alert-warning {\n  color: #8a6d3b;\n  background-color: #fcf8e3;\n  border-color: #faebcc;\n}\n\n.alert-warning hr {\n  border-top-color: #f7e1b5;\n}\n\n.alert-warning .alert-link {\n  color: #66512c;\n}\n\n.alert-danger {\n  color: #a94442;\n  background-color: #f2dede;\n  border-color: #ebccd1;\n}\n\n.alert-danger hr {\n  border-top-color: #e4b9c0;\n}\n\n.alert-danger .alert-link {\n  color: #843534;\n}\n\n@-webkit-keyframes progress-bar-stripes {\n  from {\n    background-position: 40px 0;\n  }\n  to {\n    background-position: 0 0;\n  }\n}\n\n@keyframes progress-bar-stripes {\n  from {\n    background-position: 40px 0;\n  }\n  to {\n    background-position: 0 0;\n  }\n}\n\n.progress {\n  height: 20px;\n  margin-bottom: 20px;\n  overflow: hidden;\n  background-color: #f5f5f5;\n  border-radius: 4px;\n  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n}\n\n.progress-bar {\n  float: left;\n  width: 0;\n  height: 100%;\n  font-size: 12px;\n  line-height: 20px;\n  color: #ffffff;\n  text-align: center;\n  background-color: #428bca;\n  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n  -webkit-transition: width 0.6s ease;\n          transition: width 0.6s ease;\n}\n\n.progress-striped .progress-bar {\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-size: 40px 40px;\n}\n\n.progress.active .progress-bar {\n  -webkit-animation: progress-bar-stripes 2s linear infinite;\n          animation: progress-bar-stripes 2s linear infinite;\n}\n\n.progress-bar-success {\n  background-color: #5cb85c;\n}\n\n.progress-striped .progress-bar-success {\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n\n.progress-bar-info {\n  background-color: #5bc0de;\n}\n\n.progress-striped .progress-bar-info {\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n\n.progress-bar-warning {\n  background-color: #f0ad4e;\n}\n\n.progress-striped .progress-bar-warning {\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n\n.progress-bar-danger {\n  background-color: #d9534f;\n}\n\n.progress-striped .progress-bar-danger {\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n\n.media,\n.media-body {\n  overflow: hidden;\n  zoom: 1;\n}\n\n.media,\n.media .media {\n  margin-top: 15px;\n}\n\n.media:first-child {\n  margin-top: 0;\n}\n\n.media-object {\n  display: block;\n}\n\n.media-heading {\n  margin: 0 0 5px;\n}\n\n.media > .pull-left {\n  margin-right: 10px;\n}\n\n.media > .pull-right {\n  margin-left: 10px;\n}\n\n.media-list {\n  padding-left: 0;\n  list-style: none;\n}\n\n.list-group {\n  padding-left: 0;\n  margin-bottom: 20px;\n}\n\n.list-group-item {\n  position: relative;\n  display: block;\n  padding: 10px 15px;\n  margin-bottom: -1px;\n  background-color: #ffffff;\n  border: 1px solid #dddddd;\n}\n\n.list-group-item:first-child {\n  border-top-right-radius: 4px;\n  border-top-left-radius: 4px;\n}\n\n.list-group-item:last-child {\n  margin-bottom: 0;\n  border-bottom-right-radius: 4px;\n  border-bottom-left-radius: 4px;\n}\n\n.list-group-item > .badge {\n  float: right;\n}\n\n.list-group-item > .badge + .badge {\n  margin-right: 5px;\n}\n\na.list-group-item {\n  color: #555555;\n}\n\na.list-group-item .list-group-item-heading {\n  color: #333333;\n}\n\na.list-group-item:hover,\na.list-group-item:focus {\n  text-decoration: none;\n  background-color: #f5f5f5;\n}\n\na.list-group-item.active,\na.list-group-item.active:hover,\na.list-group-item.active:focus {\n  z-index: 2;\n  color: #ffffff;\n  background-color: #428bca;\n  border-color: #428bca;\n}\n\na.list-group-item.active .list-group-item-heading,\na.list-group-item.active:hover .list-group-item-heading,\na.list-group-item.active:focus .list-group-item-heading {\n  color: inherit;\n}\n\na.list-group-item.active .list-group-item-text,\na.list-group-item.active:hover .list-group-item-text,\na.list-group-item.active:focus .list-group-item-text {\n  color: #e1edf7;\n}\n\n.list-group-item-heading {\n  margin-top: 0;\n  margin-bottom: 5px;\n}\n\n.list-group-item-text {\n  margin-bottom: 0;\n  line-height: 1.3;\n}\n\n.panel {\n  margin-bottom: 20px;\n  background-color: #ffffff;\n  border: 1px solid transparent;\n  border-radius: 4px;\n  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);\n          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);\n}\n\n.panel-body {\n  padding: 15px;\n}\n\n.panel-body:before,\n.panel-body:after {\n  display: table;\n  content: \" \";\n}\n\n.panel-body:after {\n  clear: both;\n}\n\n.panel-body:before,\n.panel-body:after {\n  display: table;\n  content: \" \";\n}\n\n.panel-body:after {\n  clear: both;\n}\n\n.panel > .list-group {\n  margin-bottom: 0;\n}\n\n.panel > .list-group .list-group-item {\n  border-width: 1px 0;\n}\n\n.panel > .list-group .list-group-item:first-child {\n  border-top-right-radius: 0;\n  border-top-left-radius: 0;\n}\n\n.panel > .list-group .list-group-item:last-child {\n  border-bottom: 0;\n}\n\n.panel-heading + .list-group .list-group-item:first-child {\n  border-top-width: 0;\n}\n\n.panel > .table,\n.panel > .table-responsive > .table {\n  margin-bottom: 0;\n}\n\n.panel > .panel-body + .table,\n.panel > .panel-body + .table-responsive {\n  border-top: 1px solid #dddddd;\n}\n\n.panel > .table > tbody:first-child th,\n.panel > .table > tbody:first-child td {\n  border-top: 0;\n}\n\n.panel > .table-bordered,\n.panel > .table-responsive > .table-bordered {\n  border: 0;\n}\n\n.panel > .table-bordered > thead > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,\n.panel > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,\n.panel > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n.panel > .table-bordered > thead > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:first-child,\n.panel > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,\n.panel > .table-bordered > tfoot > tr > td:first-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n  border-left: 0;\n}\n\n.panel > .table-bordered > thead > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > th:last-child,\n.panel > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,\n.panel > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n.panel > .table-bordered > thead > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > thead > tr > td:last-child,\n.panel > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,\n.panel > .table-bordered > tfoot > tr > td:last-child,\n.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n  border-right: 0;\n}\n\n.panel > .table-bordered > thead > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > thead > tr:last-child > th,\n.panel > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,\n.panel > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n.panel > .table-bordered > thead > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > thead > tr:last-child > td,\n.panel > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,\n.panel > .table-bordered > tfoot > tr:last-child > td,\n.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n  border-bottom: 0;\n}\n\n.panel > .table-responsive {\n  margin-bottom: 0;\n  border: 0;\n}\n\n.panel-heading {\n  padding: 10px 15px;\n  border-bottom: 1px solid transparent;\n  border-top-right-radius: 3px;\n  border-top-left-radius: 3px;\n}\n\n.panel-heading > .dropdown .dropdown-toggle {\n  color: inherit;\n}\n\n.panel-title {\n  margin-top: 0;\n  margin-bottom: 0;\n  font-size: 16px;\n  color: inherit;\n}\n\n.panel-title > a {\n  color: inherit;\n}\n\n.panel-footer {\n  padding: 10px 15px;\n  background-color: #f5f5f5;\n  border-top: 1px solid #dddddd;\n  border-bottom-right-radius: 3px;\n  border-bottom-left-radius: 3px;\n}\n\n.panel-group .panel {\n  margin-bottom: 0;\n  overflow: hidden;\n  border-radius: 4px;\n}\n\n.panel-group .panel + .panel {\n  margin-top: 5px;\n}\n\n.panel-group .panel-heading {\n  border-bottom: 0;\n}\n\n.panel-group .panel-heading + .panel-collapse .panel-body {\n  border-top: 1px solid #dddddd;\n}\n\n.panel-group .panel-footer {\n  border-top: 0;\n}\n\n.panel-group .panel-footer + .panel-collapse .panel-body {\n  border-bottom: 1px solid #dddddd;\n}\n\n.panel-default {\n  border-color: #dddddd;\n}\n\n.panel-default > .panel-heading {\n  color: #333333;\n  background-color: #f5f5f5;\n  border-color: #dddddd;\n}\n\n.panel-default > .panel-heading + .panel-collapse .panel-body {\n  border-top-color: #dddddd;\n}\n\n.panel-default > .panel-footer + .panel-collapse .panel-body {\n  border-bottom-color: #dddddd;\n}\n\n.panel-primary {\n  border-color: #428bca;\n}\n\n.panel-primary > .panel-heading {\n  color: #ffffff;\n  background-color: #428bca;\n  border-color: #428bca;\n}\n\n.panel-primary > .panel-heading + .panel-collapse .panel-body {\n  border-top-color: #428bca;\n}\n\n.panel-primary > .panel-footer + .panel-collapse .panel-body {\n  border-bottom-color: #428bca;\n}\n\n.panel-success {\n  border-color: #d6e9c6;\n}\n\n.panel-success > .panel-heading {\n  color: #3c763d;\n  background-color: #dff0d8;\n  border-color: #d6e9c6;\n}\n\n.panel-success > .panel-heading + .panel-collapse .panel-body {\n  border-top-color: #d6e9c6;\n}\n\n.panel-success > .panel-footer + .panel-collapse .panel-body {\n  border-bottom-color: #d6e9c6;\n}\n\n.panel-warning {\n  border-color: #faebcc;\n}\n\n.panel-warning > .panel-heading {\n  color: #8a6d3b;\n  background-color: #fcf8e3;\n  border-color: #faebcc;\n}\n\n.panel-warning > .panel-heading + .panel-collapse .panel-body {\n  border-top-color: #faebcc;\n}\n\n.panel-warning > .panel-footer + .panel-collapse .panel-body {\n  border-bottom-color: #faebcc;\n}\n\n.panel-danger {\n  border-color: #ebccd1;\n}\n\n.panel-danger > .panel-heading {\n  color: #a94442;\n  background-color: #f2dede;\n  border-color: #ebccd1;\n}\n\n.panel-danger > .panel-heading + .panel-collapse .panel-body {\n  border-top-color: #ebccd1;\n}\n\n.panel-danger > .panel-footer + .panel-collapse .panel-body {\n  border-bottom-color: #ebccd1;\n}\n\n.panel-info {\n  border-color: #bce8f1;\n}\n\n.panel-info > .panel-heading {\n  color: #31708f;\n  background-color: #d9edf7;\n  border-color: #bce8f1;\n}\n\n.panel-info > .panel-heading + .panel-collapse .panel-body {\n  border-top-color: #bce8f1;\n}\n\n.panel-info > .panel-footer + .panel-collapse .panel-body {\n  border-bottom-color: #bce8f1;\n}\n\n.well {\n  min-height: 20px;\n  padding: 19px;\n  margin-bottom: 20px;\n  background-color: #f5f5f5;\n  border: 1px solid #e3e3e3;\n  border-radius: 4px;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n}\n\n.well blockquote {\n  border-color: #ddd;\n  border-color: rgba(0, 0, 0, 0.15);\n}\n\n.well-lg {\n  padding: 24px;\n  border-radius: 6px;\n}\n\n.well-sm {\n  padding: 9px;\n  border-radius: 3px;\n}\n\n.close {\n  float: right;\n  font-size: 21px;\n  font-weight: bold;\n  line-height: 1;\n  color: #000000;\n  text-shadow: 0 1px 0 #ffffff;\n  opacity: 0.2;\n  filter: alpha(opacity=20);\n}\n\n.close:hover,\n.close:focus {\n  color: #000000;\n  text-decoration: none;\n  cursor: pointer;\n  opacity: 0.5;\n  filter: alpha(opacity=50);\n}\n\nbutton.close {\n  padding: 0;\n  cursor: pointer;\n  background: transparent;\n  border: 0;\n  -webkit-appearance: none;\n}\n\n.modal-open {\n  overflow: hidden;\n}\n\n.modal {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1040;\n  display: none;\n  overflow: auto;\n  overflow-y: scroll;\n}\n\n.modal.fade .modal-dialog {\n  -webkit-transform: translate(0, -25%);\n      -ms-transform: translate(0, -25%);\n          transform: translate(0, -25%);\n  -webkit-transition: -webkit-transform 0.3s ease-out;\n     -moz-transition: -moz-transform 0.3s ease-out;\n       -o-transition: -o-transform 0.3s ease-out;\n          transition: transform 0.3s ease-out;\n}\n\n.modal.in .modal-dialog {\n  -webkit-transform: translate(0, 0);\n      -ms-transform: translate(0, 0);\n          transform: translate(0, 0);\n}\n\n.modal-dialog {\n  position: relative;\n  z-index: 1050;\n  width: auto;\n  margin: 10px;\n}\n\n.modal-content {\n  position: relative;\n  background-color: #ffffff;\n  border: 1px solid #999999;\n  border: 1px solid rgba(0, 0, 0, 0.2);\n  border-radius: 6px;\n  outline: none;\n  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);\n          box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);\n  background-clip: padding-box;\n}\n\n.modal-backdrop {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1030;\n  background-color: #000000;\n}\n\n.modal-backdrop.fade {\n  opacity: 0;\n  filter: alpha(opacity=0);\n}\n\n.modal-backdrop.in {\n  opacity: 0.5;\n  filter: alpha(opacity=50);\n}\n\n.modal-header {\n  min-height: 16.428571429px;\n  padding: 15px;\n  border-bottom: 1px solid #e5e5e5;\n}\n\n.modal-header .close {\n  margin-top: -2px;\n}\n\n.modal-title {\n  margin: 0;\n  line-height: 1.428571429;\n}\n\n.modal-body {\n  position: relative;\n  padding: 20px;\n}\n\n.modal-footer {\n  padding: 19px 20px 20px;\n  margin-top: 15px;\n  text-align: right;\n  border-top: 1px solid #e5e5e5;\n}\n\n.modal-footer:before,\n.modal-footer:after {\n  display: table;\n  content: \" \";\n}\n\n.modal-footer:after {\n  clear: both;\n}\n\n.modal-footer:before,\n.modal-footer:after {\n  display: table;\n  content: \" \";\n}\n\n.modal-footer:after {\n  clear: both;\n}\n\n.modal-footer .btn + .btn {\n  margin-bottom: 0;\n  margin-left: 5px;\n}\n\n.modal-footer .btn-group .btn + .btn {\n  margin-left: -1px;\n}\n\n.modal-footer .btn-block + .btn-block {\n  margin-left: 0;\n}\n\n@media screen and (min-width: 768px) {\n  .modal-dialog {\n    width: 600px;\n    margin: 30px auto;\n  }\n  .modal-content {\n    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);\n            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);\n  }\n}\n\n.tooltip {\n  position: absolute;\n  z-index: 1030;\n  display: block;\n  font-size: 12px;\n  line-height: 1.4;\n  opacity: 0;\n  filter: alpha(opacity=0);\n  visibility: visible;\n}\n\n.tooltip.in {\n  opacity: 0.9;\n  filter: alpha(opacity=90);\n}\n\n.tooltip.top {\n  padding: 5px 0;\n  margin-top: -3px;\n}\n\n.tooltip.right {\n  padding: 0 5px;\n  margin-left: 3px;\n}\n\n.tooltip.bottom {\n  padding: 5px 0;\n  margin-top: 3px;\n}\n\n.tooltip.left {\n  padding: 0 5px;\n  margin-left: -3px;\n}\n\n.tooltip-inner {\n  max-width: 200px;\n  padding: 3px 8px;\n  color: #ffffff;\n  text-align: center;\n  text-decoration: none;\n  background-color: #000000;\n  border-radius: 4px;\n}\n\n.tooltip-arrow {\n  position: absolute;\n  width: 0;\n  height: 0;\n  border-color: transparent;\n  border-style: solid;\n}\n\n.tooltip.top .tooltip-arrow {\n  bottom: 0;\n  left: 50%;\n  margin-left: -5px;\n  border-top-color: #000000;\n  border-width: 5px 5px 0;\n}\n\n.tooltip.top-left .tooltip-arrow {\n  bottom: 0;\n  left: 5px;\n  border-top-color: #000000;\n  border-width: 5px 5px 0;\n}\n\n.tooltip.top-right .tooltip-arrow {\n  right: 5px;\n  bottom: 0;\n  border-top-color: #000000;\n  border-width: 5px 5px 0;\n}\n\n.tooltip.right .tooltip-arrow {\n  top: 50%;\n  left: 0;\n  margin-top: -5px;\n  border-right-color: #000000;\n  border-width: 5px 5px 5px 0;\n}\n\n.tooltip.left .tooltip-arrow {\n  top: 50%;\n  right: 0;\n  margin-top: -5px;\n  border-left-color: #000000;\n  border-width: 5px 0 5px 5px;\n}\n\n.tooltip.bottom .tooltip-arrow {\n  top: 0;\n  left: 50%;\n  margin-left: -5px;\n  border-bottom-color: #000000;\n  border-width: 0 5px 5px;\n}\n\n.tooltip.bottom-left .tooltip-arrow {\n  top: 0;\n  left: 5px;\n  border-bottom-color: #000000;\n  border-width: 0 5px 5px;\n}\n\n.tooltip.bottom-right .tooltip-arrow {\n  top: 0;\n  right: 5px;\n  border-bottom-color: #000000;\n  border-width: 0 5px 5px;\n}\n\n.popover {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 1010;\n  display: none;\n  max-width: 276px;\n  padding: 1px;\n  text-align: left;\n  white-space: normal;\n  background-color: #ffffff;\n  border: 1px solid #cccccc;\n  border: 1px solid rgba(0, 0, 0, 0.2);\n  border-radius: 6px;\n  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n  background-clip: padding-box;\n}\n\n.popover.top {\n  margin-top: -10px;\n}\n\n.popover.right {\n  margin-left: 10px;\n}\n\n.popover.bottom {\n  margin-top: 10px;\n}\n\n.popover.left {\n  margin-left: -10px;\n}\n\n.popover-title {\n  padding: 8px 14px;\n  margin: 0;\n  font-size: 14px;\n  font-weight: normal;\n  line-height: 18px;\n  background-color: #f7f7f7;\n  border-bottom: 1px solid #ebebeb;\n  border-radius: 5px 5px 0 0;\n}\n\n.popover-content {\n  padding: 9px 14px;\n}\n\n.popover .arrow,\n.popover .arrow:after {\n  position: absolute;\n  display: block;\n  width: 0;\n  height: 0;\n  border-color: transparent;\n  border-style: solid;\n}\n\n.popover .arrow {\n  border-width: 11px;\n}\n\n.popover .arrow:after {\n  border-width: 10px;\n  content: \"\";\n}\n\n.popover.top .arrow {\n  bottom: -11px;\n  left: 50%;\n  margin-left: -11px;\n  border-top-color: #999999;\n  border-top-color: rgba(0, 0, 0, 0.25);\n  border-bottom-width: 0;\n}\n\n.popover.top .arrow:after {\n  bottom: 1px;\n  margin-left: -10px;\n  border-top-color: #ffffff;\n  border-bottom-width: 0;\n  content: \" \";\n}\n\n.popover.right .arrow {\n  top: 50%;\n  left: -11px;\n  margin-top: -11px;\n  border-right-color: #999999;\n  border-right-color: rgba(0, 0, 0, 0.25);\n  border-left-width: 0;\n}\n\n.popover.right .arrow:after {\n  bottom: -10px;\n  left: 1px;\n  border-right-color: #ffffff;\n  border-left-width: 0;\n  content: \" \";\n}\n\n.popover.bottom .arrow {\n  top: -11px;\n  left: 50%;\n  margin-left: -11px;\n  border-bottom-color: #999999;\n  border-bottom-color: rgba(0, 0, 0, 0.25);\n  border-top-width: 0;\n}\n\n.popover.bottom .arrow:after {\n  top: 1px;\n  margin-left: -10px;\n  border-bottom-color: #ffffff;\n  border-top-width: 0;\n  content: \" \";\n}\n\n.popover.left .arrow {\n  top: 50%;\n  right: -11px;\n  margin-top: -11px;\n  border-left-color: #999999;\n  border-left-color: rgba(0, 0, 0, 0.25);\n  border-right-width: 0;\n}\n\n.popover.left .arrow:after {\n  right: 1px;\n  bottom: -10px;\n  border-left-color: #ffffff;\n  border-right-width: 0;\n  content: \" \";\n}\n\n.carousel {\n  position: relative;\n}\n\n.carousel-inner {\n  position: relative;\n  width: 100%;\n  overflow: hidden;\n}\n\n.carousel-inner > .item {\n  position: relative;\n  display: none;\n  -webkit-transition: 0.6s ease-in-out left;\n          transition: 0.6s ease-in-out left;\n}\n\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n  display: block;\n  height: auto;\n  max-width: 100%;\n  line-height: 1;\n}\n\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n  display: block;\n}\n\n.carousel-inner > .active {\n  left: 0;\n}\n\n.carousel-inner > .next,\n.carousel-inner > .prev {\n  position: absolute;\n  top: 0;\n  width: 100%;\n}\n\n.carousel-inner > .next {\n  left: 100%;\n}\n\n.carousel-inner > .prev {\n  left: -100%;\n}\n\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n  left: 0;\n}\n\n.carousel-inner > .active.left {\n  left: -100%;\n}\n\n.carousel-inner > .active.right {\n  left: 100%;\n}\n\n.carousel-control {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  width: 15%;\n  font-size: 20px;\n  color: #ffffff;\n  text-align: center;\n  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);\n  opacity: 0.5;\n  filter: alpha(opacity=50);\n}\n\n.carousel-control.left {\n  background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%));\n  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);\n}\n\n.carousel-control.right {\n  right: 0;\n  left: auto;\n  background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%));\n  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);\n}\n\n.carousel-control:hover,\n.carousel-control:focus {\n  color: #ffffff;\n  text-decoration: none;\n  outline: none;\n  opacity: 0.9;\n  filter: alpha(opacity=90);\n}\n\n.carousel-control .icon-prev,\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-left,\n.carousel-control .glyphicon-chevron-right {\n  position: absolute;\n  top: 50%;\n  z-index: 5;\n  display: inline-block;\n}\n\n.carousel-control .icon-prev,\n.carousel-control .glyphicon-chevron-left {\n  left: 50%;\n}\n\n.carousel-control .icon-next,\n.carousel-control .glyphicon-chevron-right {\n  right: 50%;\n}\n\n.carousel-control .icon-prev,\n.carousel-control .icon-next {\n  width: 20px;\n  height: 20px;\n  margin-top: -10px;\n  margin-left: -10px;\n  font-family: serif;\n}\n\n.carousel-control .icon-prev:before {\n  content: '\\2039';\n}\n\n.carousel-control .icon-next:before {\n  content: '\\203a';\n}\n\n.carousel-indicators {\n  position: absolute;\n  bottom: 10px;\n  left: 50%;\n  z-index: 15;\n  width: 60%;\n  padding-left: 0;\n  margin-left: -30%;\n  text-align: center;\n  list-style: none;\n}\n\n.carousel-indicators li {\n  display: inline-block;\n  width: 10px;\n  height: 10px;\n  margin: 1px;\n  text-indent: -999px;\n  cursor: pointer;\n  background-color: #000 \\9;\n  background-color: rgba(0, 0, 0, 0);\n  border: 1px solid #ffffff;\n  border-radius: 10px;\n}\n\n.carousel-indicators .active {\n  width: 12px;\n  height: 12px;\n  margin: 0;\n  background-color: #ffffff;\n}\n\n.carousel-caption {\n  position: absolute;\n  right: 15%;\n  bottom: 20px;\n  left: 15%;\n  z-index: 10;\n  padding-top: 20px;\n  padding-bottom: 20px;\n  color: #ffffff;\n  text-align: center;\n  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);\n}\n\n.carousel-caption .btn {\n  text-shadow: none;\n}\n\n@media screen and (min-width: 768px) {\n  .carousel-control .glyphicons-chevron-left,\n  .carousel-control .glyphicons-chevron-right,\n  .carousel-control .icon-prev,\n  .carousel-control .icon-next {\n    width: 30px;\n    height: 30px;\n    margin-top: -15px;\n    margin-left: -15px;\n    font-size: 30px;\n  }\n  .carousel-caption {\n    right: 20%;\n    left: 20%;\n    padding-bottom: 30px;\n  }\n  .carousel-indicators {\n    bottom: 20px;\n  }\n}\n\n.clearfix:before,\n.clearfix:after {\n  display: table;\n  content: \" \";\n}\n\n.clearfix:after {\n  clear: both;\n}\n\n.center-block {\n  display: block;\n  margin-right: auto;\n  margin-left: auto;\n}\n\n.pull-right {\n  float: right !important;\n}\n\n.pull-left {\n  float: left !important;\n}\n\n.hide {\n  display: none !important;\n}\n\n.show {\n  display: block !important;\n}\n\n.invisible {\n  visibility: hidden;\n}\n\n.text-hide {\n  font: 0/0 a;\n  color: transparent;\n  text-shadow: none;\n  background-color: transparent;\n  border: 0;\n}\n\n.hidden {\n  display: none !important;\n  visibility: hidden !important;\n}\n\n.affix {\n  position: fixed;\n}\n\n@-ms-viewport {\n  width: device-width;\n}\n\n.visible-xs,\ntr.visible-xs,\nth.visible-xs,\ntd.visible-xs {\n  display: none !important;\n}\n\n@media (max-width: 767px) {\n  .visible-xs {\n    display: block !important;\n  }\n  table.visible-xs {\n    display: table;\n  }\n  tr.visible-xs {\n    display: table-row !important;\n  }\n  th.visible-xs,\n  td.visible-xs {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 991px) {\n  .visible-xs.visible-sm {\n    display: block !important;\n  }\n  table.visible-xs.visible-sm {\n    display: table;\n  }\n  tr.visible-xs.visible-sm {\n    display: table-row !important;\n  }\n  th.visible-xs.visible-sm,\n  td.visible-xs.visible-sm {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 992px) and (max-width: 1199px) {\n  .visible-xs.visible-md {\n    display: block !important;\n  }\n  table.visible-xs.visible-md {\n    display: table;\n  }\n  tr.visible-xs.visible-md {\n    display: table-row !important;\n  }\n  th.visible-xs.visible-md,\n  td.visible-xs.visible-md {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .visible-xs.visible-lg {\n    display: block !important;\n  }\n  table.visible-xs.visible-lg {\n    display: table;\n  }\n  tr.visible-xs.visible-lg {\n    display: table-row !important;\n  }\n  th.visible-xs.visible-lg,\n  td.visible-xs.visible-lg {\n    display: table-cell !important;\n  }\n}\n\n.visible-sm,\ntr.visible-sm,\nth.visible-sm,\ntd.visible-sm {\n  display: none !important;\n}\n\n@media (max-width: 767px) {\n  .visible-sm.visible-xs {\n    display: block !important;\n  }\n  table.visible-sm.visible-xs {\n    display: table;\n  }\n  tr.visible-sm.visible-xs {\n    display: table-row !important;\n  }\n  th.visible-sm.visible-xs,\n  td.visible-sm.visible-xs {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 991px) {\n  .visible-sm {\n    display: block !important;\n  }\n  table.visible-sm {\n    display: table;\n  }\n  tr.visible-sm {\n    display: table-row !important;\n  }\n  th.visible-sm,\n  td.visible-sm {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 992px) and (max-width: 1199px) {\n  .visible-sm.visible-md {\n    display: block !important;\n  }\n  table.visible-sm.visible-md {\n    display: table;\n  }\n  tr.visible-sm.visible-md {\n    display: table-row !important;\n  }\n  th.visible-sm.visible-md,\n  td.visible-sm.visible-md {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .visible-sm.visible-lg {\n    display: block !important;\n  }\n  table.visible-sm.visible-lg {\n    display: table;\n  }\n  tr.visible-sm.visible-lg {\n    display: table-row !important;\n  }\n  th.visible-sm.visible-lg,\n  td.visible-sm.visible-lg {\n    display: table-cell !important;\n  }\n}\n\n.visible-md,\ntr.visible-md,\nth.visible-md,\ntd.visible-md {\n  display: none !important;\n}\n\n@media (max-width: 767px) {\n  .visible-md.visible-xs {\n    display: block !important;\n  }\n  table.visible-md.visible-xs {\n    display: table;\n  }\n  tr.visible-md.visible-xs {\n    display: table-row !important;\n  }\n  th.visible-md.visible-xs,\n  td.visible-md.visible-xs {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 991px) {\n  .visible-md.visible-sm {\n    display: block !important;\n  }\n  table.visible-md.visible-sm {\n    display: table;\n  }\n  tr.visible-md.visible-sm {\n    display: table-row !important;\n  }\n  th.visible-md.visible-sm,\n  td.visible-md.visible-sm {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 992px) and (max-width: 1199px) {\n  .visible-md {\n    display: block !important;\n  }\n  table.visible-md {\n    display: table;\n  }\n  tr.visible-md {\n    display: table-row !important;\n  }\n  th.visible-md,\n  td.visible-md {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .visible-md.visible-lg {\n    display: block !important;\n  }\n  table.visible-md.visible-lg {\n    display: table;\n  }\n  tr.visible-md.visible-lg {\n    display: table-row !important;\n  }\n  th.visible-md.visible-lg,\n  td.visible-md.visible-lg {\n    display: table-cell !important;\n  }\n}\n\n.visible-lg,\ntr.visible-lg,\nth.visible-lg,\ntd.visible-lg {\n  display: none !important;\n}\n\n@media (max-width: 767px) {\n  .visible-lg.visible-xs {\n    display: block !important;\n  }\n  table.visible-lg.visible-xs {\n    display: table;\n  }\n  tr.visible-lg.visible-xs {\n    display: table-row !important;\n  }\n  th.visible-lg.visible-xs,\n  td.visible-lg.visible-xs {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 991px) {\n  .visible-lg.visible-sm {\n    display: block !important;\n  }\n  table.visible-lg.visible-sm {\n    display: table;\n  }\n  tr.visible-lg.visible-sm {\n    display: table-row !important;\n  }\n  th.visible-lg.visible-sm,\n  td.visible-lg.visible-sm {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 992px) and (max-width: 1199px) {\n  .visible-lg.visible-md {\n    display: block !important;\n  }\n  table.visible-lg.visible-md {\n    display: table;\n  }\n  tr.visible-lg.visible-md {\n    display: table-row !important;\n  }\n  th.visible-lg.visible-md,\n  td.visible-lg.visible-md {\n    display: table-cell !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .visible-lg {\n    display: block !important;\n  }\n  table.visible-lg {\n    display: table;\n  }\n  tr.visible-lg {\n    display: table-row !important;\n  }\n  th.visible-lg,\n  td.visible-lg {\n    display: table-cell !important;\n  }\n}\n\n.hidden-xs {\n  display: block !important;\n}\n\ntable.hidden-xs {\n  display: table;\n}\n\ntr.hidden-xs {\n  display: table-row !important;\n}\n\nth.hidden-xs,\ntd.hidden-xs {\n  display: table-cell !important;\n}\n\n@media (max-width: 767px) {\n  .hidden-xs,\n  tr.hidden-xs,\n  th.hidden-xs,\n  td.hidden-xs {\n    display: none !important;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 991px) {\n  .hidden-xs.hidden-sm,\n  tr.hidden-xs.hidden-sm,\n  th.hidden-xs.hidden-sm,\n  td.hidden-xs.hidden-sm {\n    display: none !important;\n  }\n}\n\n@media (min-width: 992px) and (max-width: 1199px) {\n  .hidden-xs.hidden-md,\n  tr.hidden-xs.hidden-md,\n  th.hidden-xs.hidden-md,\n  td.hidden-xs.hidden-md {\n    display: none !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .hidden-xs.hidden-lg,\n  tr.hidden-xs.hidden-lg,\n  th.hidden-xs.hidden-lg,\n  td.hidden-xs.hidden-lg {\n    display: none !important;\n  }\n}\n\n.hidden-sm {\n  display: block !important;\n}\n\ntable.hidden-sm {\n  display: table;\n}\n\ntr.hidden-sm {\n  display: table-row !important;\n}\n\nth.hidden-sm,\ntd.hidden-sm {\n  display: table-cell !important;\n}\n\n@media (max-width: 767px) {\n  .hidden-sm.hidden-xs,\n  tr.hidden-sm.hidden-xs,\n  th.hidden-sm.hidden-xs,\n  td.hidden-sm.hidden-xs {\n    display: none !important;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 991px) {\n  .hidden-sm,\n  tr.hidden-sm,\n  th.hidden-sm,\n  td.hidden-sm {\n    display: none !important;\n  }\n}\n\n@media (min-width: 992px) and (max-width: 1199px) {\n  .hidden-sm.hidden-md,\n  tr.hidden-sm.hidden-md,\n  th.hidden-sm.hidden-md,\n  td.hidden-sm.hidden-md {\n    display: none !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .hidden-sm.hidden-lg,\n  tr.hidden-sm.hidden-lg,\n  th.hidden-sm.hidden-lg,\n  td.hidden-sm.hidden-lg {\n    display: none !important;\n  }\n}\n\n.hidden-md {\n  display: block !important;\n}\n\ntable.hidden-md {\n  display: table;\n}\n\ntr.hidden-md {\n  display: table-row !important;\n}\n\nth.hidden-md,\ntd.hidden-md {\n  display: table-cell !important;\n}\n\n@media (max-width: 767px) {\n  .hidden-md.hidden-xs,\n  tr.hidden-md.hidden-xs,\n  th.hidden-md.hidden-xs,\n  td.hidden-md.hidden-xs {\n    display: none !important;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 991px) {\n  .hidden-md.hidden-sm,\n  tr.hidden-md.hidden-sm,\n  th.hidden-md.hidden-sm,\n  td.hidden-md.hidden-sm {\n    display: none !important;\n  }\n}\n\n@media (min-width: 992px) and (max-width: 1199px) {\n  .hidden-md,\n  tr.hidden-md,\n  th.hidden-md,\n  td.hidden-md {\n    display: none !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .hidden-md.hidden-lg,\n  tr.hidden-md.hidden-lg,\n  th.hidden-md.hidden-lg,\n  td.hidden-md.hidden-lg {\n    display: none !important;\n  }\n}\n\n.hidden-lg {\n  display: block !important;\n}\n\ntable.hidden-lg {\n  display: table;\n}\n\ntr.hidden-lg {\n  display: table-row !important;\n}\n\nth.hidden-lg,\ntd.hidden-lg {\n  display: table-cell !important;\n}\n\n@media (max-width: 767px) {\n  .hidden-lg.hidden-xs,\n  tr.hidden-lg.hidden-xs,\n  th.hidden-lg.hidden-xs,\n  td.hidden-lg.hidden-xs {\n    display: none !important;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 991px) {\n  .hidden-lg.hidden-sm,\n  tr.hidden-lg.hidden-sm,\n  th.hidden-lg.hidden-sm,\n  td.hidden-lg.hidden-sm {\n    display: none !important;\n  }\n}\n\n@media (min-width: 992px) and (max-width: 1199px) {\n  .hidden-lg.hidden-md,\n  tr.hidden-lg.hidden-md,\n  th.hidden-lg.hidden-md,\n  td.hidden-lg.hidden-md {\n    display: none !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .hidden-lg,\n  tr.hidden-lg,\n  th.hidden-lg,\n  td.hidden-lg {\n    display: none !important;\n  }\n}\n\n.visible-print,\ntr.visible-print,\nth.visible-print,\ntd.visible-print {\n  display: none !important;\n}\n\n@media print {\n  .visible-print {\n    display: block !important;\n  }\n  table.visible-print {\n    display: table;\n  }\n  tr.visible-print {\n    display: table-row !important;\n  }\n  th.visible-print,\n  td.visible-print {\n    display: table-cell !important;\n  }\n  .hidden-print,\n  tr.hidden-print,\n  th.hidden-print,\n  td.hidden-print {\n    display: none !important;\n  }\n}"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/dist/js/bootstrap.js",
    "content": "/*!\n * Bootstrap v3.0.3 (http://getbootstrap.com)\n * Copyright 2013 Twitter, Inc.\n * Licensed under http://www.apache.org/licenses/LICENSE-2.0\n */\n\nif (typeof jQuery === \"undefined\") { throw new Error(\"Bootstrap requires jQuery\") }\n\n/* ========================================================================\n * Bootstrap: transition.js v3.0.3\n * http://getbootstrap.com/javascript/#transitions\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)\n  // ============================================================\n\n  function transitionEnd() {\n    var el = document.createElement('bootstrap')\n\n    var transEndEventNames = {\n      'WebkitTransition' : 'webkitTransitionEnd'\n    , 'MozTransition'    : 'transitionend'\n    , 'OTransition'      : 'oTransitionEnd otransitionend'\n    , 'transition'       : 'transitionend'\n    }\n\n    for (var name in transEndEventNames) {\n      if (el.style[name] !== undefined) {\n        return { end: transEndEventNames[name] }\n      }\n    }\n  }\n\n  // http://blog.alexmaccaw.com/css-transitions\n  $.fn.emulateTransitionEnd = function (duration) {\n    var called = false, $el = this\n    $(this).one($.support.transition.end, function () { called = true })\n    var callback = function () { if (!called) $($el).trigger($.support.transition.end) }\n    setTimeout(callback, duration)\n    return this\n  }\n\n  $(function () {\n    $.support.transition = transitionEnd()\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: alert.js v3.0.3\n * http://getbootstrap.com/javascript/#alerts\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // ALERT CLASS DEFINITION\n  // ======================\n\n  var dismiss = '[data-dismiss=\"alert\"]'\n  var Alert   = function (el) {\n    $(el).on('click', dismiss, this.close)\n  }\n\n  Alert.prototype.close = function (e) {\n    var $this    = $(this)\n    var selector = $this.attr('data-target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n    }\n\n    var $parent = $(selector)\n\n    if (e) e.preventDefault()\n\n    if (!$parent.length) {\n      $parent = $this.hasClass('alert') ? $this : $this.parent()\n    }\n\n    $parent.trigger(e = $.Event('close.bs.alert'))\n\n    if (e.isDefaultPrevented()) return\n\n    $parent.removeClass('in')\n\n    function removeElement() {\n      $parent.trigger('closed.bs.alert').remove()\n    }\n\n    $.support.transition && $parent.hasClass('fade') ?\n      $parent\n        .one($.support.transition.end, removeElement)\n        .emulateTransitionEnd(150) :\n      removeElement()\n  }\n\n\n  // ALERT PLUGIN DEFINITION\n  // =======================\n\n  var old = $.fn.alert\n\n  $.fn.alert = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.alert')\n\n      if (!data) $this.data('bs.alert', (data = new Alert(this)))\n      if (typeof option == 'string') data[option].call($this)\n    })\n  }\n\n  $.fn.alert.Constructor = Alert\n\n\n  // ALERT NO CONFLICT\n  // =================\n\n  $.fn.alert.noConflict = function () {\n    $.fn.alert = old\n    return this\n  }\n\n\n  // ALERT DATA-API\n  // ==============\n\n  $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: button.js v3.0.3\n * http://getbootstrap.com/javascript/#buttons\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // BUTTON PUBLIC CLASS DEFINITION\n  // ==============================\n\n  var Button = function (element, options) {\n    this.$element = $(element)\n    this.options  = $.extend({}, Button.DEFAULTS, options)\n  }\n\n  Button.DEFAULTS = {\n    loadingText: 'loading...'\n  }\n\n  Button.prototype.setState = function (state) {\n    var d    = 'disabled'\n    var $el  = this.$element\n    var val  = $el.is('input') ? 'val' : 'html'\n    var data = $el.data()\n\n    state = state + 'Text'\n\n    if (!data.resetText) $el.data('resetText', $el[val]())\n\n    $el[val](data[state] || this.options[state])\n\n    // push to event loop to allow forms to submit\n    setTimeout(function () {\n      state == 'loadingText' ?\n        $el.addClass(d).attr(d, d) :\n        $el.removeClass(d).removeAttr(d);\n    }, 0)\n  }\n\n  Button.prototype.toggle = function () {\n    var $parent = this.$element.closest('[data-toggle=\"buttons\"]')\n    var changed = true\n\n    if ($parent.length) {\n      var $input = this.$element.find('input')\n      if ($input.prop('type') === 'radio') {\n        // see if clicking on current one\n        if ($input.prop('checked') && this.$element.hasClass('active'))\n          changed = false\n        else\n          $parent.find('.active').removeClass('active')\n      }\n      if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')\n    }\n\n    if (changed) this.$element.toggleClass('active')\n  }\n\n\n  // BUTTON PLUGIN DEFINITION\n  // ========================\n\n  var old = $.fn.button\n\n  $.fn.button = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.button')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.button', (data = new Button(this, options)))\n\n      if (option == 'toggle') data.toggle()\n      else if (option) data.setState(option)\n    })\n  }\n\n  $.fn.button.Constructor = Button\n\n\n  // BUTTON NO CONFLICT\n  // ==================\n\n  $.fn.button.noConflict = function () {\n    $.fn.button = old\n    return this\n  }\n\n\n  // BUTTON DATA-API\n  // ===============\n\n  $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {\n    var $btn = $(e.target)\n    if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')\n    $btn.button('toggle')\n    e.preventDefault()\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: carousel.js v3.0.3\n * http://getbootstrap.com/javascript/#carousel\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // CAROUSEL CLASS DEFINITION\n  // =========================\n\n  var Carousel = function (element, options) {\n    this.$element    = $(element)\n    this.$indicators = this.$element.find('.carousel-indicators')\n    this.options     = options\n    this.paused      =\n    this.sliding     =\n    this.interval    =\n    this.$active     =\n    this.$items      = null\n\n    this.options.pause == 'hover' && this.$element\n      .on('mouseenter', $.proxy(this.pause, this))\n      .on('mouseleave', $.proxy(this.cycle, this))\n  }\n\n  Carousel.DEFAULTS = {\n    interval: 5000\n  , pause: 'hover'\n  , wrap: true\n  }\n\n  Carousel.prototype.cycle =  function (e) {\n    e || (this.paused = false)\n\n    this.interval && clearInterval(this.interval)\n\n    this.options.interval\n      && !this.paused\n      && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\n\n    return this\n  }\n\n  Carousel.prototype.getActiveIndex = function () {\n    this.$active = this.$element.find('.item.active')\n    this.$items  = this.$active.parent().children()\n\n    return this.$items.index(this.$active)\n  }\n\n  Carousel.prototype.to = function (pos) {\n    var that        = this\n    var activeIndex = this.getActiveIndex()\n\n    if (pos > (this.$items.length - 1) || pos < 0) return\n\n    if (this.sliding)       return this.$element.one('slid.bs.carousel', function () { that.to(pos) })\n    if (activeIndex == pos) return this.pause().cycle()\n\n    return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))\n  }\n\n  Carousel.prototype.pause = function (e) {\n    e || (this.paused = true)\n\n    if (this.$element.find('.next, .prev').length && $.support.transition.end) {\n      this.$element.trigger($.support.transition.end)\n      this.cycle(true)\n    }\n\n    this.interval = clearInterval(this.interval)\n\n    return this\n  }\n\n  Carousel.prototype.next = function () {\n    if (this.sliding) return\n    return this.slide('next')\n  }\n\n  Carousel.prototype.prev = function () {\n    if (this.sliding) return\n    return this.slide('prev')\n  }\n\n  Carousel.prototype.slide = function (type, next) {\n    var $active   = this.$element.find('.item.active')\n    var $next     = next || $active[type]()\n    var isCycling = this.interval\n    var direction = type == 'next' ? 'left' : 'right'\n    var fallback  = type == 'next' ? 'first' : 'last'\n    var that      = this\n\n    if (!$next.length) {\n      if (!this.options.wrap) return\n      $next = this.$element.find('.item')[fallback]()\n    }\n\n    this.sliding = true\n\n    isCycling && this.pause()\n\n    var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })\n\n    if ($next.hasClass('active')) return\n\n    if (this.$indicators.length) {\n      this.$indicators.find('.active').removeClass('active')\n      this.$element.one('slid.bs.carousel', function () {\n        var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])\n        $nextIndicator && $nextIndicator.addClass('active')\n      })\n    }\n\n    if ($.support.transition && this.$element.hasClass('slide')) {\n      this.$element.trigger(e)\n      if (e.isDefaultPrevented()) return\n      $next.addClass(type)\n      $next[0].offsetWidth // force reflow\n      $active.addClass(direction)\n      $next.addClass(direction)\n      $active\n        .one($.support.transition.end, function () {\n          $next.removeClass([type, direction].join(' ')).addClass('active')\n          $active.removeClass(['active', direction].join(' '))\n          that.sliding = false\n          setTimeout(function () { that.$element.trigger('slid.bs.carousel') }, 0)\n        })\n        .emulateTransitionEnd(600)\n    } else {\n      this.$element.trigger(e)\n      if (e.isDefaultPrevented()) return\n      $active.removeClass('active')\n      $next.addClass('active')\n      this.sliding = false\n      this.$element.trigger('slid.bs.carousel')\n    }\n\n    isCycling && this.cycle()\n\n    return this\n  }\n\n\n  // CAROUSEL PLUGIN DEFINITION\n  // ==========================\n\n  var old = $.fn.carousel\n\n  $.fn.carousel = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.carousel')\n      var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)\n      var action  = typeof option == 'string' ? option : options.slide\n\n      if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))\n      if (typeof option == 'number') data.to(option)\n      else if (action) data[action]()\n      else if (options.interval) data.pause().cycle()\n    })\n  }\n\n  $.fn.carousel.Constructor = Carousel\n\n\n  // CAROUSEL NO CONFLICT\n  // ====================\n\n  $.fn.carousel.noConflict = function () {\n    $.fn.carousel = old\n    return this\n  }\n\n\n  // CAROUSEL DATA-API\n  // =================\n\n  $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {\n    var $this   = $(this), href\n    var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) //strip for ie7\n    var options = $.extend({}, $target.data(), $this.data())\n    var slideIndex = $this.attr('data-slide-to')\n    if (slideIndex) options.interval = false\n\n    $target.carousel(options)\n\n    if (slideIndex = $this.attr('data-slide-to')) {\n      $target.data('bs.carousel').to(slideIndex)\n    }\n\n    e.preventDefault()\n  })\n\n  $(window).on('load', function () {\n    $('[data-ride=\"carousel\"]').each(function () {\n      var $carousel = $(this)\n      $carousel.carousel($carousel.data())\n    })\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: collapse.js v3.0.3\n * http://getbootstrap.com/javascript/#collapse\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // COLLAPSE PUBLIC CLASS DEFINITION\n  // ================================\n\n  var Collapse = function (element, options) {\n    this.$element      = $(element)\n    this.options       = $.extend({}, Collapse.DEFAULTS, options)\n    this.transitioning = null\n\n    if (this.options.parent) this.$parent = $(this.options.parent)\n    if (this.options.toggle) this.toggle()\n  }\n\n  Collapse.DEFAULTS = {\n    toggle: true\n  }\n\n  Collapse.prototype.dimension = function () {\n    var hasWidth = this.$element.hasClass('width')\n    return hasWidth ? 'width' : 'height'\n  }\n\n  Collapse.prototype.show = function () {\n    if (this.transitioning || this.$element.hasClass('in')) return\n\n    var startEvent = $.Event('show.bs.collapse')\n    this.$element.trigger(startEvent)\n    if (startEvent.isDefaultPrevented()) return\n\n    var actives = this.$parent && this.$parent.find('> .panel > .in')\n\n    if (actives && actives.length) {\n      var hasData = actives.data('bs.collapse')\n      if (hasData && hasData.transitioning) return\n      actives.collapse('hide')\n      hasData || actives.data('bs.collapse', null)\n    }\n\n    var dimension = this.dimension()\n\n    this.$element\n      .removeClass('collapse')\n      .addClass('collapsing')\n      [dimension](0)\n\n    this.transitioning = 1\n\n    var complete = function () {\n      this.$element\n        .removeClass('collapsing')\n        .addClass('in')\n        [dimension]('auto')\n      this.transitioning = 0\n      this.$element.trigger('shown.bs.collapse')\n    }\n\n    if (!$.support.transition) return complete.call(this)\n\n    var scrollSize = $.camelCase(['scroll', dimension].join('-'))\n\n    this.$element\n      .one($.support.transition.end, $.proxy(complete, this))\n      .emulateTransitionEnd(350)\n      [dimension](this.$element[0][scrollSize])\n  }\n\n  Collapse.prototype.hide = function () {\n    if (this.transitioning || !this.$element.hasClass('in')) return\n\n    var startEvent = $.Event('hide.bs.collapse')\n    this.$element.trigger(startEvent)\n    if (startEvent.isDefaultPrevented()) return\n\n    var dimension = this.dimension()\n\n    this.$element\n      [dimension](this.$element[dimension]())\n      [0].offsetHeight\n\n    this.$element\n      .addClass('collapsing')\n      .removeClass('collapse')\n      .removeClass('in')\n\n    this.transitioning = 1\n\n    var complete = function () {\n      this.transitioning = 0\n      this.$element\n        .trigger('hidden.bs.collapse')\n        .removeClass('collapsing')\n        .addClass('collapse')\n    }\n\n    if (!$.support.transition) return complete.call(this)\n\n    this.$element\n      [dimension](0)\n      .one($.support.transition.end, $.proxy(complete, this))\n      .emulateTransitionEnd(350)\n  }\n\n  Collapse.prototype.toggle = function () {\n    this[this.$element.hasClass('in') ? 'hide' : 'show']()\n  }\n\n\n  // COLLAPSE PLUGIN DEFINITION\n  // ==========================\n\n  var old = $.fn.collapse\n\n  $.fn.collapse = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.collapse')\n      var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\n      if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.collapse.Constructor = Collapse\n\n\n  // COLLAPSE NO CONFLICT\n  // ====================\n\n  $.fn.collapse.noConflict = function () {\n    $.fn.collapse = old\n    return this\n  }\n\n\n  // COLLAPSE DATA-API\n  // =================\n\n  $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {\n    var $this   = $(this), href\n    var target  = $this.attr('data-target')\n        || e.preventDefault()\n        || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '') //strip for ie7\n    var $target = $(target)\n    var data    = $target.data('bs.collapse')\n    var option  = data ? 'toggle' : $this.data()\n    var parent  = $this.attr('data-parent')\n    var $parent = parent && $(parent)\n\n    if (!data || !data.transitioning) {\n      if ($parent) $parent.find('[data-toggle=collapse][data-parent=\"' + parent + '\"]').not($this).addClass('collapsed')\n      $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')\n    }\n\n    $target.collapse(option)\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: dropdown.js v3.0.3\n * http://getbootstrap.com/javascript/#dropdowns\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // DROPDOWN CLASS DEFINITION\n  // =========================\n\n  var backdrop = '.dropdown-backdrop'\n  var toggle   = '[data-toggle=dropdown]'\n  var Dropdown = function (element) {\n    $(element).on('click.bs.dropdown', this.toggle)\n  }\n\n  Dropdown.prototype.toggle = function (e) {\n    var $this = $(this)\n\n    if ($this.is('.disabled, :disabled')) return\n\n    var $parent  = getParent($this)\n    var isActive = $parent.hasClass('open')\n\n    clearMenus()\n\n    if (!isActive) {\n      if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {\n        // if mobile we use a backdrop because click events don't delegate\n        $('<div class=\"dropdown-backdrop\"/>').insertAfter($(this)).on('click', clearMenus)\n      }\n\n      $parent.trigger(e = $.Event('show.bs.dropdown'))\n\n      if (e.isDefaultPrevented()) return\n\n      $parent\n        .toggleClass('open')\n        .trigger('shown.bs.dropdown')\n\n      $this.focus()\n    }\n\n    return false\n  }\n\n  Dropdown.prototype.keydown = function (e) {\n    if (!/(38|40|27)/.test(e.keyCode)) return\n\n    var $this = $(this)\n\n    e.preventDefault()\n    e.stopPropagation()\n\n    if ($this.is('.disabled, :disabled')) return\n\n    var $parent  = getParent($this)\n    var isActive = $parent.hasClass('open')\n\n    if (!isActive || (isActive && e.keyCode == 27)) {\n      if (e.which == 27) $parent.find(toggle).focus()\n      return $this.click()\n    }\n\n    var $items = $('[role=menu] li:not(.divider):visible a', $parent)\n\n    if (!$items.length) return\n\n    var index = $items.index($items.filter(':focus'))\n\n    if (e.keyCode == 38 && index > 0)                 index--                        // up\n    if (e.keyCode == 40 && index < $items.length - 1) index++                        // down\n    if (!~index)                                      index=0\n\n    $items.eq(index).focus()\n  }\n\n  function clearMenus() {\n    $(backdrop).remove()\n    $(toggle).each(function (e) {\n      var $parent = getParent($(this))\n      if (!$parent.hasClass('open')) return\n      $parent.trigger(e = $.Event('hide.bs.dropdown'))\n      if (e.isDefaultPrevented()) return\n      $parent.removeClass('open').trigger('hidden.bs.dropdown')\n    })\n  }\n\n  function getParent($this) {\n    var selector = $this.attr('data-target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\\s]*$)/, '') //strip for ie7\n    }\n\n    var $parent = selector && $(selector)\n\n    return $parent && $parent.length ? $parent : $this.parent()\n  }\n\n\n  // DROPDOWN PLUGIN DEFINITION\n  // ==========================\n\n  var old = $.fn.dropdown\n\n  $.fn.dropdown = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.dropdown')\n\n      if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))\n      if (typeof option == 'string') data[option].call($this)\n    })\n  }\n\n  $.fn.dropdown.Constructor = Dropdown\n\n\n  // DROPDOWN NO CONFLICT\n  // ====================\n\n  $.fn.dropdown.noConflict = function () {\n    $.fn.dropdown = old\n    return this\n  }\n\n\n  // APPLY TO STANDARD DROPDOWN ELEMENTS\n  // ===================================\n\n  $(document)\n    .on('click.bs.dropdown.data-api', clearMenus)\n    .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })\n    .on('click.bs.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)\n    .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: modal.js v3.0.3\n * http://getbootstrap.com/javascript/#modals\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // MODAL CLASS DEFINITION\n  // ======================\n\n  var Modal = function (element, options) {\n    this.options   = options\n    this.$element  = $(element)\n    this.$backdrop =\n    this.isShown   = null\n\n    if (this.options.remote) this.$element.load(this.options.remote)\n  }\n\n  Modal.DEFAULTS = {\n      backdrop: true\n    , keyboard: true\n    , show: true\n  }\n\n  Modal.prototype.toggle = function (_relatedTarget) {\n    return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)\n  }\n\n  Modal.prototype.show = function (_relatedTarget) {\n    var that = this\n    var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })\n\n    this.$element.trigger(e)\n\n    if (this.isShown || e.isDefaultPrevented()) return\n\n    this.isShown = true\n\n    this.escape()\n\n    this.$element.on('click.dismiss.modal', '[data-dismiss=\"modal\"]', $.proxy(this.hide, this))\n\n    this.backdrop(function () {\n      var transition = $.support.transition && that.$element.hasClass('fade')\n\n      if (!that.$element.parent().length) {\n        that.$element.appendTo(document.body) // don't move modals dom position\n      }\n\n      that.$element.show()\n\n      if (transition) {\n        that.$element[0].offsetWidth // force reflow\n      }\n\n      that.$element\n        .addClass('in')\n        .attr('aria-hidden', false)\n\n      that.enforceFocus()\n\n      var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })\n\n      transition ?\n        that.$element.find('.modal-dialog') // wait for modal to slide in\n          .one($.support.transition.end, function () {\n            that.$element.focus().trigger(e)\n          })\n          .emulateTransitionEnd(300) :\n        that.$element.focus().trigger(e)\n    })\n  }\n\n  Modal.prototype.hide = function (e) {\n    if (e) e.preventDefault()\n\n    e = $.Event('hide.bs.modal')\n\n    this.$element.trigger(e)\n\n    if (!this.isShown || e.isDefaultPrevented()) return\n\n    this.isShown = false\n\n    this.escape()\n\n    $(document).off('focusin.bs.modal')\n\n    this.$element\n      .removeClass('in')\n      .attr('aria-hidden', true)\n      .off('click.dismiss.modal')\n\n    $.support.transition && this.$element.hasClass('fade') ?\n      this.$element\n        .one($.support.transition.end, $.proxy(this.hideModal, this))\n        .emulateTransitionEnd(300) :\n      this.hideModal()\n  }\n\n  Modal.prototype.enforceFocus = function () {\n    $(document)\n      .off('focusin.bs.modal') // guard against infinite focus loop\n      .on('focusin.bs.modal', $.proxy(function (e) {\n        if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {\n          this.$element.focus()\n        }\n      }, this))\n  }\n\n  Modal.prototype.escape = function () {\n    if (this.isShown && this.options.keyboard) {\n      this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {\n        e.which == 27 && this.hide()\n      }, this))\n    } else if (!this.isShown) {\n      this.$element.off('keyup.dismiss.bs.modal')\n    }\n  }\n\n  Modal.prototype.hideModal = function () {\n    var that = this\n    this.$element.hide()\n    this.backdrop(function () {\n      that.removeBackdrop()\n      that.$element.trigger('hidden.bs.modal')\n    })\n  }\n\n  Modal.prototype.removeBackdrop = function () {\n    this.$backdrop && this.$backdrop.remove()\n    this.$backdrop = null\n  }\n\n  Modal.prototype.backdrop = function (callback) {\n    var that    = this\n    var animate = this.$element.hasClass('fade') ? 'fade' : ''\n\n    if (this.isShown && this.options.backdrop) {\n      var doAnimate = $.support.transition && animate\n\n      this.$backdrop = $('<div class=\"modal-backdrop ' + animate + '\" />')\n        .appendTo(document.body)\n\n      this.$element.on('click.dismiss.modal', $.proxy(function (e) {\n        if (e.target !== e.currentTarget) return\n        this.options.backdrop == 'static'\n          ? this.$element[0].focus.call(this.$element[0])\n          : this.hide.call(this)\n      }, this))\n\n      if (doAnimate) this.$backdrop[0].offsetWidth // force reflow\n\n      this.$backdrop.addClass('in')\n\n      if (!callback) return\n\n      doAnimate ?\n        this.$backdrop\n          .one($.support.transition.end, callback)\n          .emulateTransitionEnd(150) :\n        callback()\n\n    } else if (!this.isShown && this.$backdrop) {\n      this.$backdrop.removeClass('in')\n\n      $.support.transition && this.$element.hasClass('fade')?\n        this.$backdrop\n          .one($.support.transition.end, callback)\n          .emulateTransitionEnd(150) :\n        callback()\n\n    } else if (callback) {\n      callback()\n    }\n  }\n\n\n  // MODAL PLUGIN DEFINITION\n  // =======================\n\n  var old = $.fn.modal\n\n  $.fn.modal = function (option, _relatedTarget) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.modal')\n      var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\n      if (!data) $this.data('bs.modal', (data = new Modal(this, options)))\n      if (typeof option == 'string') data[option](_relatedTarget)\n      else if (options.show) data.show(_relatedTarget)\n    })\n  }\n\n  $.fn.modal.Constructor = Modal\n\n\n  // MODAL NO CONFLICT\n  // =================\n\n  $.fn.modal.noConflict = function () {\n    $.fn.modal = old\n    return this\n  }\n\n\n  // MODAL DATA-API\n  // ==============\n\n  $(document).on('click.bs.modal.data-api', '[data-toggle=\"modal\"]', function (e) {\n    var $this   = $(this)\n    var href    = $this.attr('href')\n    var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\\s]+$)/, ''))) //strip for ie7\n    var option  = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())\n\n    e.preventDefault()\n\n    $target\n      .modal(option, this)\n      .one('hide', function () {\n        $this.is(':visible') && $this.focus()\n      })\n  })\n\n  $(document)\n    .on('show.bs.modal',  '.modal', function () { $(document.body).addClass('modal-open') })\n    .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: tooltip.js v3.0.3\n * http://getbootstrap.com/javascript/#tooltip\n * Inspired by the original jQuery.tipsy by Jason Frame\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // TOOLTIP PUBLIC CLASS DEFINITION\n  // ===============================\n\n  var Tooltip = function (element, options) {\n    this.type       =\n    this.options    =\n    this.enabled    =\n    this.timeout    =\n    this.hoverState =\n    this.$element   = null\n\n    this.init('tooltip', element, options)\n  }\n\n  Tooltip.DEFAULTS = {\n    animation: true\n  , placement: 'top'\n  , selector: false\n  , template: '<div class=\"tooltip\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\"></div></div>'\n  , trigger: 'hover focus'\n  , title: ''\n  , delay: 0\n  , html: false\n  , container: false\n  }\n\n  Tooltip.prototype.init = function (type, element, options) {\n    this.enabled  = true\n    this.type     = type\n    this.$element = $(element)\n    this.options  = this.getOptions(options)\n\n    var triggers = this.options.trigger.split(' ')\n\n    for (var i = triggers.length; i--;) {\n      var trigger = triggers[i]\n\n      if (trigger == 'click') {\n        this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\n      } else if (trigger != 'manual') {\n        var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focus'\n        var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'\n\n        this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\n        this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\n      }\n    }\n\n    this.options.selector ?\n      (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\n      this.fixTitle()\n  }\n\n  Tooltip.prototype.getDefaults = function () {\n    return Tooltip.DEFAULTS\n  }\n\n  Tooltip.prototype.getOptions = function (options) {\n    options = $.extend({}, this.getDefaults(), this.$element.data(), options)\n\n    if (options.delay && typeof options.delay == 'number') {\n      options.delay = {\n        show: options.delay\n      , hide: options.delay\n      }\n    }\n\n    return options\n  }\n\n  Tooltip.prototype.getDelegateOptions = function () {\n    var options  = {}\n    var defaults = this.getDefaults()\n\n    this._options && $.each(this._options, function (key, value) {\n      if (defaults[key] != value) options[key] = value\n    })\n\n    return options\n  }\n\n  Tooltip.prototype.enter = function (obj) {\n    var self = obj instanceof this.constructor ?\n      obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)\n\n    clearTimeout(self.timeout)\n\n    self.hoverState = 'in'\n\n    if (!self.options.delay || !self.options.delay.show) return self.show()\n\n    self.timeout = setTimeout(function () {\n      if (self.hoverState == 'in') self.show()\n    }, self.options.delay.show)\n  }\n\n  Tooltip.prototype.leave = function (obj) {\n    var self = obj instanceof this.constructor ?\n      obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)\n\n    clearTimeout(self.timeout)\n\n    self.hoverState = 'out'\n\n    if (!self.options.delay || !self.options.delay.hide) return self.hide()\n\n    self.timeout = setTimeout(function () {\n      if (self.hoverState == 'out') self.hide()\n    }, self.options.delay.hide)\n  }\n\n  Tooltip.prototype.show = function () {\n    var e = $.Event('show.bs.'+ this.type)\n\n    if (this.hasContent() && this.enabled) {\n      this.$element.trigger(e)\n\n      if (e.isDefaultPrevented()) return\n\n      var $tip = this.tip()\n\n      this.setContent()\n\n      if (this.options.animation) $tip.addClass('fade')\n\n      var placement = typeof this.options.placement == 'function' ?\n        this.options.placement.call(this, $tip[0], this.$element[0]) :\n        this.options.placement\n\n      var autoToken = /\\s?auto?\\s?/i\n      var autoPlace = autoToken.test(placement)\n      if (autoPlace) placement = placement.replace(autoToken, '') || 'top'\n\n      $tip\n        .detach()\n        .css({ top: 0, left: 0, display: 'block' })\n        .addClass(placement)\n\n      this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)\n\n      var pos          = this.getPosition()\n      var actualWidth  = $tip[0].offsetWidth\n      var actualHeight = $tip[0].offsetHeight\n\n      if (autoPlace) {\n        var $parent = this.$element.parent()\n\n        var orgPlacement = placement\n        var docScroll    = document.documentElement.scrollTop || document.body.scrollTop\n        var parentWidth  = this.options.container == 'body' ? window.innerWidth  : $parent.outerWidth()\n        var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()\n        var parentLeft   = this.options.container == 'body' ? 0 : $parent.offset().left\n\n        placement = placement == 'bottom' && pos.top   + pos.height  + actualHeight - docScroll > parentHeight  ? 'top'    :\n                    placement == 'top'    && pos.top   - docScroll   - actualHeight < 0                         ? 'bottom' :\n                    placement == 'right'  && pos.right + actualWidth > parentWidth                              ? 'left'   :\n                    placement == 'left'   && pos.left  - actualWidth < parentLeft                               ? 'right'  :\n                    placement\n\n        $tip\n          .removeClass(orgPlacement)\n          .addClass(placement)\n      }\n\n      var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)\n\n      this.applyPlacement(calculatedOffset, placement)\n      this.$element.trigger('shown.bs.' + this.type)\n    }\n  }\n\n  Tooltip.prototype.applyPlacement = function(offset, placement) {\n    var replace\n    var $tip   = this.tip()\n    var width  = $tip[0].offsetWidth\n    var height = $tip[0].offsetHeight\n\n    // manually read margins because getBoundingClientRect includes difference\n    var marginTop = parseInt($tip.css('margin-top'), 10)\n    var marginLeft = parseInt($tip.css('margin-left'), 10)\n\n    // we must check for NaN for ie 8/9\n    if (isNaN(marginTop))  marginTop  = 0\n    if (isNaN(marginLeft)) marginLeft = 0\n\n    offset.top  = offset.top  + marginTop\n    offset.left = offset.left + marginLeft\n\n    $tip\n      .offset(offset)\n      .addClass('in')\n\n    // check to see if placing tip in new offset caused the tip to resize itself\n    var actualWidth  = $tip[0].offsetWidth\n    var actualHeight = $tip[0].offsetHeight\n\n    if (placement == 'top' && actualHeight != height) {\n      replace = true\n      offset.top = offset.top + height - actualHeight\n    }\n\n    if (/bottom|top/.test(placement)) {\n      var delta = 0\n\n      if (offset.left < 0) {\n        delta       = offset.left * -2\n        offset.left = 0\n\n        $tip.offset(offset)\n\n        actualWidth  = $tip[0].offsetWidth\n        actualHeight = $tip[0].offsetHeight\n      }\n\n      this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')\n    } else {\n      this.replaceArrow(actualHeight - height, actualHeight, 'top')\n    }\n\n    if (replace) $tip.offset(offset)\n  }\n\n  Tooltip.prototype.replaceArrow = function(delta, dimension, position) {\n    this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + \"%\") : '')\n  }\n\n  Tooltip.prototype.setContent = function () {\n    var $tip  = this.tip()\n    var title = this.getTitle()\n\n    $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)\n    $tip.removeClass('fade in top bottom left right')\n  }\n\n  Tooltip.prototype.hide = function () {\n    var that = this\n    var $tip = this.tip()\n    var e    = $.Event('hide.bs.' + this.type)\n\n    function complete() {\n      if (that.hoverState != 'in') $tip.detach()\n    }\n\n    this.$element.trigger(e)\n\n    if (e.isDefaultPrevented()) return\n\n    $tip.removeClass('in')\n\n    $.support.transition && this.$tip.hasClass('fade') ?\n      $tip\n        .one($.support.transition.end, complete)\n        .emulateTransitionEnd(150) :\n      complete()\n\n    this.$element.trigger('hidden.bs.' + this.type)\n\n    return this\n  }\n\n  Tooltip.prototype.fixTitle = function () {\n    var $e = this.$element\n    if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {\n      $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')\n    }\n  }\n\n  Tooltip.prototype.hasContent = function () {\n    return this.getTitle()\n  }\n\n  Tooltip.prototype.getPosition = function () {\n    var el = this.$element[0]\n    return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {\n      width: el.offsetWidth\n    , height: el.offsetHeight\n    }, this.$element.offset())\n  }\n\n  Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {\n    return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2  } :\n           placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2  } :\n           placement == 'left'   ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :\n        /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width   }\n  }\n\n  Tooltip.prototype.getTitle = function () {\n    var title\n    var $e = this.$element\n    var o  = this.options\n\n    title = $e.attr('data-original-title')\n      || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)\n\n    return title\n  }\n\n  Tooltip.prototype.tip = function () {\n    return this.$tip = this.$tip || $(this.options.template)\n  }\n\n  Tooltip.prototype.arrow = function () {\n    return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')\n  }\n\n  Tooltip.prototype.validate = function () {\n    if (!this.$element[0].parentNode) {\n      this.hide()\n      this.$element = null\n      this.options  = null\n    }\n  }\n\n  Tooltip.prototype.enable = function () {\n    this.enabled = true\n  }\n\n  Tooltip.prototype.disable = function () {\n    this.enabled = false\n  }\n\n  Tooltip.prototype.toggleEnabled = function () {\n    this.enabled = !this.enabled\n  }\n\n  Tooltip.prototype.toggle = function (e) {\n    var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this\n    self.tip().hasClass('in') ? self.leave(self) : self.enter(self)\n  }\n\n  Tooltip.prototype.destroy = function () {\n    this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)\n  }\n\n\n  // TOOLTIP PLUGIN DEFINITION\n  // =========================\n\n  var old = $.fn.tooltip\n\n  $.fn.tooltip = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.tooltip')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.tooltip.Constructor = Tooltip\n\n\n  // TOOLTIP NO CONFLICT\n  // ===================\n\n  $.fn.tooltip.noConflict = function () {\n    $.fn.tooltip = old\n    return this\n  }\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: popover.js v3.0.3\n * http://getbootstrap.com/javascript/#popovers\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // POPOVER PUBLIC CLASS DEFINITION\n  // ===============================\n\n  var Popover = function (element, options) {\n    this.init('popover', element, options)\n  }\n\n  if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')\n\n  Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {\n    placement: 'right'\n  , trigger: 'click'\n  , content: ''\n  , template: '<div class=\"popover\"><div class=\"arrow\"></div><h3 class=\"popover-title\"></h3><div class=\"popover-content\"></div></div>'\n  })\n\n\n  // NOTE: POPOVER EXTENDS tooltip.js\n  // ================================\n\n  Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)\n\n  Popover.prototype.constructor = Popover\n\n  Popover.prototype.getDefaults = function () {\n    return Popover.DEFAULTS\n  }\n\n  Popover.prototype.setContent = function () {\n    var $tip    = this.tip()\n    var title   = this.getTitle()\n    var content = this.getContent()\n\n    $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)\n    $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)\n\n    $tip.removeClass('fade top bottom left right in')\n\n    // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do\n    // this manually by checking the contents.\n    if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()\n  }\n\n  Popover.prototype.hasContent = function () {\n    return this.getTitle() || this.getContent()\n  }\n\n  Popover.prototype.getContent = function () {\n    var $e = this.$element\n    var o  = this.options\n\n    return $e.attr('data-content')\n      || (typeof o.content == 'function' ?\n            o.content.call($e[0]) :\n            o.content)\n  }\n\n  Popover.prototype.arrow = function () {\n    return this.$arrow = this.$arrow || this.tip().find('.arrow')\n  }\n\n  Popover.prototype.tip = function () {\n    if (!this.$tip) this.$tip = $(this.options.template)\n    return this.$tip\n  }\n\n\n  // POPOVER PLUGIN DEFINITION\n  // =========================\n\n  var old = $.fn.popover\n\n  $.fn.popover = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.popover')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.popover', (data = new Popover(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.popover.Constructor = Popover\n\n\n  // POPOVER NO CONFLICT\n  // ===================\n\n  $.fn.popover.noConflict = function () {\n    $.fn.popover = old\n    return this\n  }\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: scrollspy.js v3.0.3\n * http://getbootstrap.com/javascript/#scrollspy\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // SCROLLSPY CLASS DEFINITION\n  // ==========================\n\n  function ScrollSpy(element, options) {\n    var href\n    var process  = $.proxy(this.process, this)\n\n    this.$element       = $(element).is('body') ? $(window) : $(element)\n    this.$body          = $('body')\n    this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)\n    this.options        = $.extend({}, ScrollSpy.DEFAULTS, options)\n    this.selector       = (this.options.target\n      || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) //strip for ie7\n      || '') + ' .nav li > a'\n    this.offsets        = $([])\n    this.targets        = $([])\n    this.activeTarget   = null\n\n    this.refresh()\n    this.process()\n  }\n\n  ScrollSpy.DEFAULTS = {\n    offset: 10\n  }\n\n  ScrollSpy.prototype.refresh = function () {\n    var offsetMethod = this.$element[0] == window ? 'offset' : 'position'\n\n    this.offsets = $([])\n    this.targets = $([])\n\n    var self     = this\n    var $targets = this.$body\n      .find(this.selector)\n      .map(function () {\n        var $el   = $(this)\n        var href  = $el.data('target') || $el.attr('href')\n        var $href = /^#\\w/.test(href) && $(href)\n\n        return ($href\n          && $href.length\n          && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null\n      })\n      .sort(function (a, b) { return a[0] - b[0] })\n      .each(function () {\n        self.offsets.push(this[0])\n        self.targets.push(this[1])\n      })\n  }\n\n  ScrollSpy.prototype.process = function () {\n    var scrollTop    = this.$scrollElement.scrollTop() + this.options.offset\n    var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight\n    var maxScroll    = scrollHeight - this.$scrollElement.height()\n    var offsets      = this.offsets\n    var targets      = this.targets\n    var activeTarget = this.activeTarget\n    var i\n\n    if (scrollTop >= maxScroll) {\n      return activeTarget != (i = targets.last()[0]) && this.activate(i)\n    }\n\n    for (i = offsets.length; i--;) {\n      activeTarget != targets[i]\n        && scrollTop >= offsets[i]\n        && (!offsets[i + 1] || scrollTop <= offsets[i + 1])\n        && this.activate( targets[i] )\n    }\n  }\n\n  ScrollSpy.prototype.activate = function (target) {\n    this.activeTarget = target\n\n    $(this.selector)\n      .parents('.active')\n      .removeClass('active')\n\n    var selector = this.selector\n      + '[data-target=\"' + target + '\"],'\n      + this.selector + '[href=\"' + target + '\"]'\n\n    var active = $(selector)\n      .parents('li')\n      .addClass('active')\n\n    if (active.parent('.dropdown-menu').length)  {\n      active = active\n        .closest('li.dropdown')\n        .addClass('active')\n    }\n\n    active.trigger('activate.bs.scrollspy')\n  }\n\n\n  // SCROLLSPY PLUGIN DEFINITION\n  // ===========================\n\n  var old = $.fn.scrollspy\n\n  $.fn.scrollspy = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.scrollspy')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.scrollspy.Constructor = ScrollSpy\n\n\n  // SCROLLSPY NO CONFLICT\n  // =====================\n\n  $.fn.scrollspy.noConflict = function () {\n    $.fn.scrollspy = old\n    return this\n  }\n\n\n  // SCROLLSPY DATA-API\n  // ==================\n\n  $(window).on('load', function () {\n    $('[data-spy=\"scroll\"]').each(function () {\n      var $spy = $(this)\n      $spy.scrollspy($spy.data())\n    })\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: tab.js v3.0.3\n * http://getbootstrap.com/javascript/#tabs\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // TAB CLASS DEFINITION\n  // ====================\n\n  var Tab = function (element) {\n    this.element = $(element)\n  }\n\n  Tab.prototype.show = function () {\n    var $this    = this.element\n    var $ul      = $this.closest('ul:not(.dropdown-menu)')\n    var selector = $this.data('target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') //strip for ie7\n    }\n\n    if ($this.parent('li').hasClass('active')) return\n\n    var previous = $ul.find('.active:last a')[0]\n    var e        = $.Event('show.bs.tab', {\n      relatedTarget: previous\n    })\n\n    $this.trigger(e)\n\n    if (e.isDefaultPrevented()) return\n\n    var $target = $(selector)\n\n    this.activate($this.parent('li'), $ul)\n    this.activate($target, $target.parent(), function () {\n      $this.trigger({\n        type: 'shown.bs.tab'\n      , relatedTarget: previous\n      })\n    })\n  }\n\n  Tab.prototype.activate = function (element, container, callback) {\n    var $active    = container.find('> .active')\n    var transition = callback\n      && $.support.transition\n      && $active.hasClass('fade')\n\n    function next() {\n      $active\n        .removeClass('active')\n        .find('> .dropdown-menu > .active')\n        .removeClass('active')\n\n      element.addClass('active')\n\n      if (transition) {\n        element[0].offsetWidth // reflow for transition\n        element.addClass('in')\n      } else {\n        element.removeClass('fade')\n      }\n\n      if (element.parent('.dropdown-menu')) {\n        element.closest('li.dropdown').addClass('active')\n      }\n\n      callback && callback()\n    }\n\n    transition ?\n      $active\n        .one($.support.transition.end, next)\n        .emulateTransitionEnd(150) :\n      next()\n\n    $active.removeClass('in')\n  }\n\n\n  // TAB PLUGIN DEFINITION\n  // =====================\n\n  var old = $.fn.tab\n\n  $.fn.tab = function ( option ) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.tab')\n\n      if (!data) $this.data('bs.tab', (data = new Tab(this)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.tab.Constructor = Tab\n\n\n  // TAB NO CONFLICT\n  // ===============\n\n  $.fn.tab.noConflict = function () {\n    $.fn.tab = old\n    return this\n  }\n\n\n  // TAB DATA-API\n  // ============\n\n  $(document).on('click.bs.tab.data-api', '[data-toggle=\"tab\"], [data-toggle=\"pill\"]', function (e) {\n    e.preventDefault()\n    $(this).tab('show')\n  })\n\n}(jQuery);\n\n/* ========================================================================\n * Bootstrap: affix.js v3.0.3\n * http://getbootstrap.com/javascript/#affix\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // AFFIX CLASS DEFINITION\n  // ======================\n\n  var Affix = function (element, options) {\n    this.options = $.extend({}, Affix.DEFAULTS, options)\n    this.$window = $(window)\n      .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))\n      .on('click.bs.affix.data-api',  $.proxy(this.checkPositionWithEventLoop, this))\n\n    this.$element = $(element)\n    this.affixed  =\n    this.unpin    = null\n\n    this.checkPosition()\n  }\n\n  Affix.RESET = 'affix affix-top affix-bottom'\n\n  Affix.DEFAULTS = {\n    offset: 0\n  }\n\n  Affix.prototype.checkPositionWithEventLoop = function () {\n    setTimeout($.proxy(this.checkPosition, this), 1)\n  }\n\n  Affix.prototype.checkPosition = function () {\n    if (!this.$element.is(':visible')) return\n\n    var scrollHeight = $(document).height()\n    var scrollTop    = this.$window.scrollTop()\n    var position     = this.$element.offset()\n    var offset       = this.options.offset\n    var offsetTop    = offset.top\n    var offsetBottom = offset.bottom\n\n    if (typeof offset != 'object')         offsetBottom = offsetTop = offset\n    if (typeof offsetTop == 'function')    offsetTop    = offset.top()\n    if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()\n\n    var affix = this.unpin   != null && (scrollTop + this.unpin <= position.top) ? false :\n                offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :\n                offsetTop    != null && (scrollTop <= offsetTop) ? 'top' : false\n\n    if (this.affixed === affix) return\n    if (this.unpin) this.$element.css('top', '')\n\n    this.affixed = affix\n    this.unpin   = affix == 'bottom' ? position.top - scrollTop : null\n\n    this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ''))\n\n    if (affix == 'bottom') {\n      this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })\n    }\n  }\n\n\n  // AFFIX PLUGIN DEFINITION\n  // =======================\n\n  var old = $.fn.affix\n\n  $.fn.affix = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.affix')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.affix', (data = new Affix(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.affix.Constructor = Affix\n\n\n  // AFFIX NO CONFLICT\n  // =================\n\n  $.fn.affix.noConflict = function () {\n    $.fn.affix = old\n    return this\n  }\n\n\n  // AFFIX DATA-API\n  // ==============\n\n  $(window).on('load', function () {\n    $('[data-spy=\"affix\"]').each(function () {\n      var $spy = $(this)\n      var data = $spy.data()\n\n      data.offset = data.offset || {}\n\n      if (data.offsetBottom) data.offset.bottom = data.offsetBottom\n      if (data.offsetTop)    data.offset.top    = data.offsetTop\n\n      $spy.affix(data)\n    })\n  })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/css/docs.css",
    "content": "/*!\n * Copyright 2013 Twitter, Inc.\n *\n * Licensed under the Creative Commons Attribution 3.0 Unported License. For\n * details, see http://creativecommons.org/licenses/by/3.0/.\n */\n\n\n/*\n * Bootstrap Documentation\n * Special styles for presenting Bootstrap's documentation and code examples.\n *\n * Table of contents:\n *\n * Scaffolding\n * Main navigation\n * Footer\n * Social buttons\n * Homepage\n * Page headers\n * Old docs callout\n * Ads\n * Side navigation\n * Docs sections\n * Callouts\n * Grid styles\n * Examples\n * Code snippets (highlight)\n * Responsive tests\n * Glyphicons\n * Customizer\n * Miscellaneous\n */\n\n\n/*\n * Scaffolding\n *\n * Update the basics of our documents to prep for docs content.\n */\n\nbody {\n  position: relative; /* For scrollyspy */\n  padding-top: 50px; /* Account for fixed navbar */\n}\n\n/* Keep code small in tables on account of limited space */\n.table code {\n  font-size: 13px;\n  font-weight: normal;\n}\n\n/* Outline button for use within the docs */\n.btn-outline {\n  color: #563d7c;\n  background-color: #fff;\n  border-color: #e5e5e5;\n}\n.btn-outline:hover,\n.btn-outline:focus,\n.btn-outline:active {\n  color: #fff;\n  background-color: #563d7c;\n  border-color: #563d7c;\n}\n\n/* Inverted outline button (white on dark) */\n.btn-outline-inverse {\n  color: #fff;\n  background-color: transparent;\n  border-color: #cdbfe3;\n}\n.btn-outline-inverse:hover,\n.btn-outline-inverse:focus,\n.btn-outline-inverse:active {\n  color: #563d7c;\n  text-shadow: none;\n  background-color: #fff;\n  border-color: #fff;\n}\n\n\n/*\n * Main navigation\n *\n * Turn the `.navbar` at the top of the docs purple.\n */\n\n.bs-docs-nav {\n  text-shadow: 0 -1px 0 rgba(0,0,0,.15);\n  background-color: #563d7c;\n  border-color: #463265;\n  box-shadow: 0 1px 0 rgba(255,255,255,.1);\n}\n.bs-docs-nav .navbar-collapse {\n  border-color: #463265;\n}\n.bs-docs-nav .navbar-brand {\n  color: #fff;\n}\n.bs-docs-nav .navbar-nav > li > a {\n  color: #cdbfe3;\n}\n.bs-docs-nav .navbar-nav > li > a:hover {\n  color: #fff;\n}\n.bs-docs-nav .navbar-nav > .active > a,\n.bs-docs-nav .navbar-nav > .active > a:hover {\n  color: #fff;\n  background-color: #463265;\n}\n.bs-docs-nav .navbar-toggle {\n  border-color: #563d7c;\n}\n.bs-docs-nav .navbar-toggle:hover {\n  background-color: #463265;\n  border-color: #463265;\n}\n\n\n/*\n * Footer\n *\n * Separated section of content at the bottom of all pages, save the homepage.\n */\n\n.bs-footer {\n  padding-top: 40px;\n  padding-bottom: 30px;\n  margin-top: 100px;\n  color: #777;\n  text-align: center;\n  border-top: 1px solid #e5e5e5;\n}\n.footer-links {\n  margin: 10px 0;\n  padding-left: 0;\n}\n.footer-links li {\n  display: inline;\n  padding: 0 2px;\n}\n.footer-links li:first-child {\n  padding-left: 0;\n}\n\n@media (min-width: 768px) {\n  .bs-footer {\n    text-align: left;\n  }\n  .bs-footer p {\n    margin-bottom: 0;\n  }\n}\n\n\n/*\n * Social buttons\n *\n * Twitter and GitHub social action buttons (for homepage and footer).\n */\n\n.bs-social {\n  margin-top: 20px;\n  margin-bottom: 20px;\n  text-align: center;\n}\n.bs-social-buttons {\n  display: inline-block;\n  margin-bottom: 0;\n  padding-left: 0;\n  list-style: none;\n}\n.bs-social-buttons li {\n  display: inline-block;\n  line-height: 1;\n  padding: 5px 8px;\n}\n.bs-social-buttons .twitter-follow-button {\n  width: 225px !important;\n}\n.bs-social-buttons .twitter-share-button {\n  width: 98px !important;\n}\n/* Style the GitHub buttons via CSS instead of inline attributes */\n.github-btn {\n  border: 0;\n  overflow: hidden;\n}\n\n@media (min-width: 768px) {\n  .bs-social {\n    text-align: left;\n  }\n  .bs-social-buttons li:first-child {\n    padding-left: 0;\n  }\n}\n\n\n/*\n * Topography, yo!\n *\n * Apply the map background via base64 and relevant colors where we need 'em.\n */\n\n.bs-docs-home,\n.bs-header {\n  color: #cdbfe3;\n  background-color: #563d7c;\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAMgAgMAAACmHu77AAAAA3NCSVQICAjb4U/gAAAACVBMVEVdQ4FdRIJXPX3+kY2zAAAACXBIWXMAAAsSAAALEgHS3X78AAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M1cbXjNgAAIABJREFUeJycvUuO5DiwLSj46MFW0cML7qdqEDvoWIVDowbnFYMcEQIiobBVttPMjn0oeVbdx8rycNeHtEPanxS1cSmD+Wzyzf7YQT5f//fX/8T8lH+bndz0POm95T49o2WXn3qO5KrXv0N/2D3pzpNwgPQKfm6kp3omd8dHd3riDBpP1dr/hLpf7QycPuXnhDa/tXyf3mWQmkHQOk75d4B6Wlp84hMVvup+tqAdhfBBKxCS2t8AaRix1+fj9WXbHowBmmD26EDcGZWQEzj0/5G67RmXMGNAMMrNLtCDMch2anbR68sCpAXkWyC71PmYd4/JVA8fkh2k7Ut9VnancKI/5F9HtyngjmuffhBQqRzNhEnFJy9A5lWo7gLEWfb15cHnpIcHgXgfq9xlaXi864USvac7bHKs7AMy2KHKPQYhqgyMVyB8C6SBqVVGn/qhlDUZnSatC8YzV9hLJZMdz81a75kRBQOY2mh66HW79wLFpXGXYlyBjGg7D6ED0Q6nCcUomM3pv92EpKitAGJkKI5ZI8lni4YBxPSIdJ9eZ8TvcWnULj8vQI5oO3OIAzlMPkgG5Llps4PjX6/Snr5n2VFlpOPLRok3+dA/TzvSnKbh96ba97dA9vhagYgsv6rZX8TPAdno3NpsV8Vdte8i7dFo6ZmLQIFB2AdEqIR+pgyBSu30FojVvZCjw0HKWfv8I3p9k4afwVhV2ouKSd9VORypu8iBWMOCZ7eDCVuiDMz3RkbOfFMFIj1+zuF4iL7iEPERI5YtdK481dgFQh69HVeb8KlS7KYyW1yUOmpwYrer1rr4CwCyz48pHUMVsJSnGRZlrEOufZSO8ZLGmKB9O44cADK8XoZJ9P5YhCQJwgXIvOYRFRUgXRFMznqGlKrDEoxFmfxHriWkLpwoypDdvk35Q8OOMCAAiDpZhvjqomidlI8qEJrMpVAogMqQAItKu99chjXhUzehcCG8B4W2Nb//yHc2J5LZnVjFtADpBqIMiPWy6CsZFRGTl/ad7UFZgbEGx921luRBslnOOGRG1zyrFnfMbi8qIXiUoqvGjfcrFFI52lmJnFy1i5AMxbsxfC9nLKFIWWqpJbp/T4YHxYAUdoCjcaQb2e8Cdv2uQMyRxTVFRgHkdZ9y1dRZ6jxKk8JWGJTduPNV7ba1pRr/TdBYyVhRDIAP5AXI4Yc5cOvtAmTbtO2VqysQ5Sn5T2MSa3Of38kHZbeeudaEI+aa9qLIugdoVQP0TG5RWyNDfHERuk75oeiZFcjrv2FigjpJTJfpMRkUD7neAjGCqbhiXalqnCqAx+SiVNRWkZ7pjXr9ja9cFY0ohF3+G96Zc0ge0MvHJbLKJet/01jp0t0dkhimCxC7gUBVujYL+4Pf8Fafdxyv//bXVxKZBw0yJDAvA5HXPZBE8wkdnIk+GBF1ArLnO20Iu8Ppt0AG0NwA6QLjBQIiAhrUbpAgVY6rNugGCEFj5V5TIPXgwSmuQmv+2TiDzkCEgjveEndijsYLRBERVoacInKE9n0zJNk+7+EQFiBHOQggMXLDjys6P1HtCDTqWo4JpM/RGIuIsAzhEC3g2ve81RiO3XRRfwNklGNKtNOk1CGYyqNXgHjC4h5IO01I9jymEuYawx0WmdK1jtAwO0MnLCHKAZ/4AqT7IcRR1Ztcgai4X6kQIDIeE0YREbYwd4pJd2P93C51BJBJVXOHEOUEil7vGE4+8FqHZ2/yAkSpaLwUASLjQWYQS182V8tTq5I0tcFXuAIh175XIP0CJPv2wMAAkshY3Hi6HmOLDV9Ausr6qCTMaOR13KQ9em8s1n0PUoYSeAuE4phzT2IA6R7ixR460U/rPxGQc0UiHuOLVjpFCVdGliERvlNpz5a9uI09qDsWByMDaeWYcU/UM1BV50KG0vwkSRp6eLggmT782Q4WpbXIujYjTGdOfGaprDn2+LMnQf5PQHocaxwhVRxWIKJlVNUoFYsCPVkkZGJRWS+ZahaFrCZfDH1CmTWHkW0ELJzxL0BS1z84fJdU+xbUi5AbY1TPT4H0Ke0q64sjM0wx74sbzhdlyu7f9isQNU8rEPmdpBoph1lBunbjEKWHI1s8lQnkJSFDpf28mn8zlaZ9M2eO9SsMcq8nIwO4ANHfOTPT3CXL/WkxnrY0j6cMcqpQJORQaV+VFosdMdsutyfOXCgwpM0SWZXoPwDJTGQIWvUMtnyRtP9cCRAgLEDMRalKS6h7jdUZ2ncEkkpBeLMtiKxAqBzLwYeVnWFQc29vmWYR05hlqUDOJtLe1/SuXNBUbbn2DSS9UuB5mrY0on7vKDdg9PjCou3iGWzlGhkNtey50yeQ3aSdrkqLRYS6RromXY4k1SNiOm89QN+iCpqmz8oxBOjRpAmIA1EtuZXadDQeaDUDeaHok9rGF6X115R2uCiu9yiISbXvRn9NWAeQtoKDHFBU06Cm9dJ9NyCpC5IKroIoQOiwuKoqre//92PamAEGt7F4XoDMRJLQ052+IO9g6+d0A+QJ3wNTd8336h6hd1sY3l2Zyr9jDseU9tNEMpWv13+Hqi2d1NA7TdaKrTBHiJy+cFDNxlHupc7BGUc5vAeQoZy+rXnN2fwTtXglxxyOl0SL07gorQ/+/lS11UpEs1+AoLToaFcK5rn0rFMp3Z/w7VDTZA2QAqmNSJTYeBHEqXzP1qfaOpZJe/58/ROjPyt88KJoboDkFKErBSN6zx2byUhkDgBpBqsLkMVKizEjLl0gQFRtHe4y/vylJ39eQD7UDdtLAuN8CyTXDqXQnELKgP1XAnKCn5r1gAJZW5qi86x3CpBu+rdbBd8/HwqEp5jARUkJDO3aGyDVg1cxwdxbNiQDAFcgoqZbGFUFgrGbSUcpDxv85nceUyt19bYmF8uZ3y/yAeS3Oi9Ir2WbegNk5zLeEn49QWHSvzsnKjLjUAJyOhDrgNcQnxoHDV5SsHMYRPmKYSfrnK8X+QGknxYgYu6PrWtXb4bX5GF2k6ioLcr05w7pGQgDiNGrfpbIKpXJIPn2otPcRoYZ+cXfBUg7PUFiV3TmVTE4gRnIy1s2y1jUVlU5uUP2BQgJEK0i22OT2bi1ixXZp0fV3GQtQBiWMuTrDRCIQ0ZiuquorQHQcgml622Ow4G0BMQlpWmmqmWu7MJXU9qFXAAx1vo0IOa7hHz1TEkUT69diwY0dstbEVHlSw5ELtosSvf2jGEpSzuZFTEGUiBfJuwvg/gCYt4kcZIv+fBKvEif3U/EqLR3tOr0j5pbEuXbHYhctJ0LYJMQcDsrMS8gU2dR8lCgfl9DIz5KRyTu8tVugVif3QLRbt4BCozyfNSrzgzErt8UQhKlJ0Y4DrYZi6yuFgziHJgPAbJHQB1sIR8zX4fKhpN8U/ZQW8NBP9drMxDlhBeQY61W49UsJJOfRNpvfcaXp/USk10mHtz7CAe8GVE+Gfdwkm/KMJXEydpcc7gi6gDy1A7brhz7YGTVGzrgBURdrWua8VU+/tEktxkgJENH1KxUCxRkH9f8hZM47B7CfZfEp4p699HWyvul1oHEDMZpJk7oMFfruAL550PnT2CbKKXfaqJwiyyqUDu2ddJUeIGUWJP3eoEB6WuaUI15GWdlLJgE1vzbFBIa90CYdUYL08s9Js0uqdsoDxPiKsg7pN21+ON6q4zH4oVrhxg0SzvvmHpyn2laEQms9ndAyFytEUAogNzcMBuTK2qPD60qXOTbSeL+Boj12PTgtwbGmq087ez0GQ/NobwB0ixEsFE5UOl7IF5Kl5/KAKH7bpXCFYhKiokI0qfKWC5oLwabPuOuOZR7IKcDaZiwOUHYvwGpucBmQ2tjej+z2pU1LkAUtWWkmk54WApio1nV9Bkth7K/CzEUiGVpugclRt0fSj1LFjTZmN4rt67CmkZLF26QfLchfsDf0aMyi0bjbKSub7+t/MhA9rQ8IxmTt4Xyj93UllnXO1FXINUOHJNMS8paawNm/xmXTQ9F7GFbJ2O9eSTSG6adlLywCe9LEQP4UT0J2i2Q8waIfAV2XaZoHrAdEg9FPcZbIMJ+GUjc3S6kXsqSMNfgv/ug3JT9AmTfUFGouR1Ky4d1ZrVevHVaRH0FYkrXgWhUHUDe0BO0px/NBbm/7YFDgeQU2MaRxgyqVGn51NM+PRT2XOIVyKMAodyIAHm3qsNpl6K+Oin/74k/b4CM3FkAQrUps+wt8oAvB3MXp3G/TEtMZ1CvI1e/ob0B5GbKOxc9OZrFp8O1+Tt1d6gDvAKZV+fB36WLZ6W2kuvlbIrTCGJznU/kLBrOqaqgQiQvLlUthGZ39jj2WCj9FyBzBd3Fo1HeEqW1qUUUwy7a9wIEBMck0smeMgog6wLHUrpUQCqoQ53bgz3N8R5I8yNzTeOyOgUBJ5YwPObctfLWzYyX64jBmEQa7CmjBOR+WUcGMj+I1Yx0HZg7Z8iBULZPEwg8mygk/8yO6LMuwluWschA9vylmWXMMw/kl56XRR0FyIhaugrKe7V9WGhfgbjLPTnpYdU9OU9p0kv57qfZyjJ8lL5YonEvJPTU/njDXx0YLDZTM1FnrxYgfAMkQqj5eM78Zg/ouPqdYzF9rcNGI+53TIhxO2uomAGmcs9f3S/UBKgsbkv5lLdAovIJpLuTMo8/rdIJD9mLWfGLt9ynDSAjf7GkH8Ht4nqtlMs6FweiF5KOqLDxvwOJ8wZE6RGyRcZ3k2Ljhcec06XDrwziXBof7PLeyiTHAuTWNk567A5xS6b+RYLhPZD9BojQE/lXIUm7bj6RORf2itNIdmUQZ6Kga24PKLye9MEK5M42ChD9Olg1K/G/AKHqx08gVJ0UeUCRoutkBdT047tppcya2pIGA8Z5Z50IvJJ91V0JiPYEWQr2D0CWWHUaxLY4KWSgUl7slEwjpj9S/XIJps8oOjRauAK5rnicB5JvNtUWFhf+VyB9g28RnSi8NY9EpnIIbyHdk1mTQ01bgHqWyZo7b+nVQ88tC33joIkQ/3VN+fzvgfhNgkiIc72/S6bRgSTW5OgByzCOYgBuvaUpeGfyvnLzu7qNA7nL90BGmTDY3Gchb3t+M8nXnptLrY8ExOsvczGW94D7EAffFB9vqaUHjYdoX8s9vQdy5m4yIFx4QCjD0E/HYhMhaQPtOXXwj5yw7g5dNPmu3Nei/dx8uef/HkhqYZIRDsrYmgrJASBl+sUzxI0tWzoSEAzX+pDQWovfAbXVTmXSd0D2d0AyeAL9XnZN/IIDcOZINz7txFEMu17/fNX1vPiMgFZtU1OrLVMx7wMrHfg4r0AGVx4wvzdlmEnnn0FYJkH7XPXCeQEiV5oiH0t0leS7TI+J/u22Sv2PQFKHbdD6WdNFreYOi8/ALiOFhC4kam9rwvSovmQyHBUJ+k5qyPB2kfQ/WMQ/ASm3JCaQrn6KHkG2PZqdN1G6XqEewbseZABJbgW1EGeGOFTMDrGIbwwJop7kZDtrFSDF+MrTfBA9bRA9Pi9raQS1R/YAMg9kN7G4jDljFBQPdRvVkMRAlbX2BxKbTrX6Wm4ggviWfxFLF6Vc7CNIaIkvlNWSzwgPlPOBBUgxI1BbZki8omdbltvdAOk3QC65gj1l2504hItOHa1AaKG9THeM9Cc1R+L9+rND2tI8H0PiQLzuALJy44uhpDTUPtIMenqy5uSgwkxJcER1GRxakMO8Ki1LHXebeLXLnwk4Y+KihWidAeSdCdah0bReZx+5p5PAoTvMspFXlg0mB9n1a+fKfrvKGYn+tWtARADphalPXZz5fiKCzQioe75H6zIkpEC8Aevb8OIvIlJ+Uvw56hW7eL/NM1uxV88CBE0PW2XaLh2XkTTETDlxBOnLjoIBCy+e+MKz4VVgwq/xRQeo90s2lemn/ardU82EAxumM/4wh7HJU99GsQOGreQqESNlP25EJHXYG1lXNj45LfqG0vZx656ec/bcAO9tNMaWOD3bNbmqQLJEqMq0uuB+leI0p25eZ9/gxu+VO50t+xoOyg4Dh0W2VwDPLQdyrcakVyAPbWMU7r+wbMeN6aKxXhFuvM5p2i2oixyIzR03A3LctShintONd72XgGDnKfcZ5cqLJw5Gfybi9vWK5MZTss7N/1oaGl4pG5ALn0oTciC8lX57XQCBe+lZrSffAcH4WTU3VQ4WN76pG/9Mttm+2RxP80YIQKTllbee5Y9qrsZr9zkQm93mMOz0JyAw8XeD3ETO23kRsO5tOpDJMrOuzafmL7xFdpf9tQTzytAO5IFPKsr/AqR6a6XG77/+lr+N7QnnlUt2r2IAyFwKMuva4LLyqo+KmQNJe0ZWgBjZLZJBEaLwcgPHgOQx/vmbvz8UnD5zfolHDv9z8DJcWwrzLstb+NLmGl8EED34NOaK294AQaeBxWf5x/4XzadLjBdrajTtPh1zATJK7bjaSuICs3lXILH4ejfCHpnuFUjxavFjjoYslNzdHh4392Ii6haIzSvkU+TfQPjON8J0Zps1K+iGFqSW5kAMNMgz/fj+nJ//sOb4FMhqtLSyduNUGZAQ1XqPzNiGZ1ZZAXR15iQWlFKV1uoVCGqg9EMF/eeTJX2iz9et49mMNMwrXYEMjs9o70X3tEbgknajqEdE7thpcOc8uMS1ZIctP4w6ERgeRIjHvSYdEQkVIDuILKN14sZHzRJQvcw86nBSn3mEmFezwzmJpoJlF/xj5+dCdQcSMZuaxW5NHndAemBdt8YSRdWccI9HyC8zIMPpIlUKccUa6KQo7hloVNRnmSNDGuoe4Zk9I5RbXUkHQk7kkpVh53YKmoZTkIHsOGr8my5YuSPi6rQTBUTdEJlhHzmOi0ds6BqMCZDmRC5hcUwZo7oGT7Dl67rNOVlL8ABQ8ncDoocUrTHB337BF5thzw4phzODeKLyrD/1tgqJXNbtGMA3NBwsuHsPPe3EvujxxYeLIF/g2KUxIFNIJNF4pqDN9Qd5Xy0dtBVJTmd7Ppavke8xch1Otds2Wm1/RpWAKAS99CcGZAqJPC94RhitTEgM+ZCOnW1G2i6esdqDfv/S7EyWduUtB0wlnf90LKnUX56t2INEV1lSPtRDOePS4a0Pf+DIPCabiOWtOLepLxOQ4VYthtSva8i5PoyssTpt1x3cXLXjHJ7g0PKlhl3SQbk1MR6UnXBpU8dkcyZR7K4KKIBEniyELHkgKkNuKfdr4oTugOSR/atc/5t1L5nmuUSK1ucMLciw4ZKzKTVMQM2OwSvo6eiIq1PCaxhZurazljIkw4AkPZ4kXX6ybDGhQMITjHrBGEas7uHZ/H7lWfuh93aQDyDEhcOR8OqRvxjo65S3KOJ+WCMR2iRJlxnxl7QHELdd0aaLCNjnEaJiLQSQIjEBJAY6kn+jmPPdDOOWJ6BzfAAgxBiQkPQnyeKDT30+vsHH3eNWNOqWRWh5Ka8EZGQgR74zgKQYSuBYv4Q5B2dJvV55lv4j+Y1SR0j65PZ56ceU9EOB6PaiiUKO9BqoKm1BBO1H6IkCJBmRJ74eprdg2c1BY05rmtKQHOE36lUh6XIVzcfPOjuQkbY7bE7EJYmZgbQEhNKdSdjTNd4v2KARjhn0InNkxeokDfxG6a2QdL3oOfXvHkDOSzrIPcaotE7qJSBFT4yEvcXJhzXdTT8/jJbsovjj6tHOHn6j1BqS/kDTv9kfp60lmHr/j0CKntjX6WYyIofxwvB1IA9eXBQgCVvSGTNkcsc6IPP+b7YHnFcgHltodf8BiOuDxuzJfSMj0ksPq1ciOXPisSByReJ5z+4OsJDlA+JsuPPPdLXGDRCp+AlE72QkA/FL1I4WH3GJBMQejlCnO6fLOTlD7FWb3zj7IwYkVNwLyJDtSy6W1RlycQzfAkmTGI+6dQoilESozUg39hAxmw3XXejx5n7jvPoLV0Wm+nxZRN2H5TrVMZxJ/huQ5FPIugtiLD8uVhPQMP+ZQsS8165B8Fxkyt26DSnL9fgtkFdV0CnvgSTVSlyKWrsRQFo6STr/uQcHDyPMF/manMhPMwI2KN8gg0qNb4HYepbwj+6AhLFbw2y1dinLmM7rCDQXXmLHFE5KbGkOvWnB31eizkvnj9go47aQ/smyuvpah6NJ5RGB+LkCkcBTQ4cHO++DN7eis57NwwMLx4Wz1qe8O/+KrUvuChT1GyC7n1vuR45uvwOy6xoYSOFz0b9YFqntPIyGZhkNScpdVp3uLyBtt8TWXXHjcA+E/Jpa82R3XZfNNzJE8554KpAu+lclxd7yYSPULPny7WdyOV7OVjtsV5y7guaz0gkg2ledVxGRDnvgPr23+1llJUnTkv3s61OrMigl/AWQKSIrHwPI/Hc9F5S+BRI2pty+hboLIBSVsjrHFLoCaiGCTzyD5YUMyC++8HEBcpmTkOL15h4Pe0oOxAf0xKIad+cuMqKWnzBNFY7AS+XG4yLbQnC3tO4HX1T9vNWALIszMVeexvYGCLqPcpPQPUB+BaI5GWykhxTNDs5/YuNwquPcbQ77c+Hjpz7MbUDq4szXsKqPkPiWLkDcQWjptOueZ5xcgKhzZVsbIv4srwJQA/+sFHdLMX1WPpc9qWNEzkypiuCrsq3UswLxG1pqEX2Yl/+XiTM4V7aTE3y6wcX/RQInHcKeOQuQp9ZwBJCez8mfYjsvQIKylqq+qOsOIPnuUyeTd+ASjZScNRU/KkJy3APpKp8JiN9z/2xpqnKrpJ75B62XAwiukN4R7xc8YbhWSxQJ2wSE/gBEcg85fig9k+pZgATw9MOHyanqnDxHeFJCdvMc5On695+/pDAUWZJ2rIX6WEXHQvkP2akTYSe/G5ArEL9scFq+swJCQwbVxWt6WgOt+Wbsf9mGaH99GrTU96etTpt25AqkT+/Xcg9G2f2A5L5RaryyI6FyWfeLwR8C1RTdmGSfMVl/WAo1Qr+/LerPQGy94BcXLuxQF5++OZ/22b/uqW9Aos+PhArjhjSPz0LmDITO7Axp0K7RsDeSIy9IIwX+0mJT5TZ9rdTZXWttP58asHdYvxz+/RGI/zwSqj2O8fh/WgIyv5t9nX9IIwc9YpPKOS/9YRIh58f/PFhveR2c3m9yGi1gbt+sKRT0ztuHyN8D2dOPngDJo3s+L9wCptqIHpG67fQv7qAsHJbcLjmQhy2PCB8l8s/jf+bXIXmtrg7Z1N13D8ZG3HwPpN9o387agw5kxNnZV8I3rmC62pQPxEsv9n71e0dyzOfm1JOR/HVkVjftii8Z4m4zDzePwp9IWv8JiKs0XETuCB7Q8+gLbFmXVH6X/160Q0D3aS6wIh05Cug2nVGoz73STGLLf/fOr47hmqL7D0AaIzV9RMpWnfaHNnwmI9yFKb5jZIfuI2ZArBOmx6zZB1HSObg6X7IurNgvuQPQ/LAOugLx3/3GHjZXZhYGdqtGmxcLMZwTZa5/7rP3iHq+AgjCSJHkeck/MiYp3J35OdFq/bogRyg2Vhs3QEpqt4MAHGue4DtiAU33e4VRYvmLzPXP+cxU5+8AQnqNal+R2G+ZVgjF9HgNp9iZi6cj5LvESANvgbQAMpZj3dwqJ8gUB+n8Pi5XxfkrGd39RdkAELlnPsXs78FS2++mYkgvmO95iR7TruFqcv4DkH051tlmC0GQ1qkRSU9WZwL5SG7Q5JXTgNg4UQm/ZKoHYvKY2cdhQNaYvSQq9iB8+xOQvhxzIGq0st7qKSmoQD4tSTyvOTMQ0DCVVkMPywaD+vXFYt/m0gxepb1qt+GEP/+H/gCE3gIR4iwnaXqL/HIAkWoe8/RLDTH2no3pF7KZIeWuv+3rTD19YV0IL0Ky7E7ga0FeTPp8D+RcjxUgw/QWbm9exRB379NCeFUtP+LN5hVnzTJ5CAZEC58aFn+YWsvzuRy5hwDSjHCJoxc3Pu4N9iTXWqebfnUwIr5sEWOKA/5p1s9UiwM5vE7kWC08iynql5dmJLZExZtXrhGoJyWlp3PWVvRFdztypthHMvTNMOuWKRcgB1TLBYiqVrMek4ZYNPDl3E/BF8vqFid2Eq6u3xWIdQJlIMOj+Y7YJ2UYbBOTWyCdPb7I0edQdaezIsKgcJfnjMkRVGoT9y+UIr1E4oDjCuRcu6C7r5WB7DHumg8CkJdckAHZIV1zvqNGn6b13LH06fZ/2BXrDiqXXMZm4tLT3PC4AdKYi5TpxXsBQjnDS2rvUMUk+g7IkRsi38RACG3Y5PUHyceWnNMSIOou0Q9GtlzptQRCBqL6Jt2qMkEFCHw+1raOeyCHAxkGxKvd3TMQCiZd08L//AXiWwpN84CYXI2GKFBP3gF5LrdKCGK5zAASqZqhPkoB8oH0ECkQ26oy9Lw98jHLxgClORd3BzV5SWUCJW+YP5jDgN0AmQKRbo0coqUVjkgeAGieJKO5dfYv0ydCS//5tO2Ak6UmF2H5k20EPGSlsTzQH1L/VGn2sOsGCC8vBTvzN3WA8M4qtJunLfvMEioQJhlZ+mF7Fi9FShLUCKXyJ/MygaSoFAQEXneS+D2Q9W4/eGI4yk4bdAtEYKp6bXdAdKIuHM9g5tNJWp3f4qNQpfY/AImDJwQESWi0SyuQr5wEFCBU8gFctKYsIXQu0Is8DI1S97RawhVPe/4BiF9vQOb2pgFEzXDUKUB+X4A0i8yCLK1SCJjf3XI9vNrCOz5tZC7ZqKynQLyBWyAO03zeJ6TEz7Z0o7ykZAVi6/oyr0AqNlCMELahrdLlrq7gJCcpZee6PwPxs7b0YnJBzO+RKbG4ms4XkMQWLyBdgXQ9oKJjUiE8JVRqRxvBOXnGHNbXwhbmpDf/K5BwP0JcHYj5YBlIn0CSrmvfAEJ6gMTbhFRIgKUA81sUKbcc64xNZZOFmQuQHJ9fS3LR/bsDGfr/n4D4GwvsqgH3RHHhPSFL6bllH5stfpeXx2AJ0h+BxKRiXOGPP+3MSCwkIN9/AuLuCTZ+aXf5EjdaHieHAAAgAElEQVSLmQRPtgz3G+y3h0Z/AoLuSMFnB6VdaE99I0B+boF46sEzrg8cKP4tSE1uv94ZHocqzpAhc+MdwD0QcJ6tRSxAiNPwZCAt7nYgWss8Y4RrR+53vOXTxAEoJ4PwRvgFCL0DMh4craTQqGeqegayK5Co6liAaNbCWhThHXzHW5RaJr8Wzteo0g4g/R2QR1p5l9MHBCAZlVX1L0C0G8FL4mi1m1xcFhLFo7TObQofZkbSsG/pppsBPpvxjlN9AnHqXvq/AFJWI9A1F2dHnvHVJq8aQz0c2ekwc3oEpWtlyX04A2uhquUbaQWyCxBagLgCsid03giJHn74h931iCkWAKGAfAMELVCcJmvkDZA5f1WBdAHSPaaEhCaTUIJHL4SPgIRxHKYqYxz1tR3ZupXSmRF94yqEWEFVmXqeUeQViM5AcQHill3bvQrJbDxc/PhQQINDobM/mmQHsnfqdZEjjGUPbhoPLp4L2wsMViDHDRBoU+uHq5DsRnI88xZ2BPvk+4HNef4tkN2BxkKUsQJxsukChAwIAohoZCDPaXnxZW9jd8AYFOz5HKmfAiBl7cNleDvqewSQxompDUikftuMVwoQffog3upw8Vl3vfghT0VSOtviu8YnclJSeaJ9j5xTNVbtHJ/aDw0HKkMpgIMTVQFEl/81AeIUNZuxgpLJPAR7SNIHs83sq2QgHjH+9bdscUFao/P0xngIBDSyfXN8qi4CSOeYE0UC0tpUxlAg6JSzSXQSW+8X1Sj20C7WlFPQUBQZWYv/fOqY2K7ZPmpbuqamncJpa0AzCpADVLnAQN4qEHmwUEPK6BMvquB7OYCSjiJ1qIvp/9YQ1ScWOJZNHhXInmQh9PlRgAzQfuBOY5oKZCgQTbsQL6xvvbDXA1dMUAc6/fDNGsy1GLXNbj1wtRbipHYJlQaQSA20JPn7HZBDH/XUbvcRDgrJvI18IG7N8Ob/tnbqU7UvRTMI/Z1PHH+o3YZKdwdyOkHEkWY3EtrIQPYJRHpvzyPsZWdLp6YDifp0cI+NIT40BdUrEPfZRqkBjYYJ7wGkgaDOEaY064VjAgE93YAQTPii5IfNttyQX1xRaQ+PaXxpUnAFsts93i+HV4hTKWYg0LynCxzd/ClAUBkJEFJbLHxTze65BGY5s+nf0KF4AEhmfvcLkCO7Uf4F9iPcE623AQ1G0YGAsgxkNv/buIfuEojIwEYh/9byt3lN2uHi0DmAAgSGBQf1i5oOSg5jA2UmQMTuaCUCDYj9mn++jXv2sDuF7gVIsJ4DmY2OEBFmBXIsQOD1eVeQA5HJeFzT4vDhaNTlc8PiQFKW5QdLBEKNptJT2tKxL0DMPf72M7oLwV7VL4BE/ipRjLDB3YERnwgP2y2Q5n3yYxO8mu++qq2zquRA5V9M1cyXe2oq+xfr9kLFIMJ5CO2bPlNVp7XrjQlvdbclFYhHYGyM1l1Iqto6ViDZTXOw0Bq6fT22U7gCcVPNnMU7iqsvSo0ZVfdAulf1Y94qUnNoaFg+5FwGyYE6ENIfX4wswm8DUnwtAKlKawHS0X5L19iUZEveAQvzTqnc/bIfuW14ThGt60LN6ws6vEdb+jJv+sXwoR0IroDWcjeD/UvVkrS4MZqPIDjhEHj5c0ytkiIIZTR7Zn/nsJy4dQHiXgqAWKZ8AjH3YALZc2YLduRYbuPFbpn+S/CkMfddb4D4LQJEGeuZLevwCtoiNnshpHhaXb9NID3PLADInm47S21RVbX+Ho5cgQwBMqOThwNRy2qu/O41aAVUe+2yfx081k93iWaI03MHwEXpF1m/yl+1/urFk3pvFchpK5ObZaEmEINAacMu0sPSE0vqgTIhETFlIIfoLycSTiNdZb2tNVfr7xa+Q6NlIL+kcmtmApmM+wBveQRgbSehffqk4qK9ugMZBqRltb3ZdS2NQK/dIT/aBYheL0rkeAME5ccuH3lgDE3XnnAdoov6sDJPC3xt04WqtWSuMuW1GJXHsV67w39UN8aPiXCHZCuQr3z3j11uECj7mAhHyCvVx1CIY54XYZzJ2jz/pTuORG9bhHjmEVAgQTH0YURZXr36rqbyzgTk9wXIvPyBx5TCxzwMSI+GpIeej5h5h4CqrAkZv/Tx6tARFrOPrG2lzrJmTVmWKxAdQuJxBdKSewcg9iyi+o5hPw/jzT06R5tOm+iQnZF6HkLMh24KEWyzsS1BTsekA7w7UNMFCCLE04E0ENO0TZRvVKtKLjnMZsM86nnk5lA8DSL1aArvU/cb6RmI2aW4e/ZbdAfH6CxAupJ3ej5Iz4kuiciBwWfWzp4dZgOCGMEaelYgHh8Hv/586p48QfSGvUyStj3XlakYHapAdiXk9KCLAITUIlYgpg9G9jONqaHIYNGJc9nRdgLCvkuSzfHo6yXLTMOl5C1NMhBLUfhb+SCw8iXvYWYqjKAgj3DdDFrTBVgAUIYknhQJIHO1fTe53+Q5DF+gUp2dXMpm0hkIXBYH4l5zr/rXjIoFFWTBibOWDuGJZeG8DAm0YwbyxdhtT+OC7f9saKK/xRFifwdkGBBinx1slstagVioUDZNMiCz5vwMUh6SsGFR53yIoA2odPYlUHTRFKiwrKYLDxwUq2gjjWLsKbyT9a+xmfmwh13hwf955Yc8JB33BpCXKpH9no7wpDajaEkIWFmeN8u+Ptv3DMQnjUrCwwXf8gLDcqTurBVrHM+NoxCajs6ZaZmptva4E4HVrayv69H/DYhn8HIKKjCZZyABjFfVGXZFy9O2U3JGiPRTGKe/WTd36zGWcOPvZP2yrv4OyMhAtJZekoKp/aZY4bYTM1R6xEJkIIqjZdWjR+bfNmSiuKSDLAY96xMB5wXHLZAjA/FGW9WV6fquQJDUg/8GeoSlBASGRDtHz9so/8Osb71PPbCx72PwLNsp3L3dExYcUDOQ3Y+YmxDS7mPTcFKTvQhgUzBkQi5DYti634qa5mSPbmOezN/GHilQNhm371vNs57sdkQNoqpe0kOz9ZB2xCYA3s2WY1dSCZa0XpNxbHrjVVrHS+fIsnNsLO+u7sZ4UcpIFb15zPcOyG4uitYodJl5dWn/yNfDbW96LxkQo5fs0kcQ3/xW7Rx9GABb/btsb767155qevP8+AJkKBGn8wmssMJyjvrM12cg4+H2uC5syFKSgbBtWaDhcTuTHd98zoq8zjfK+ALkyEAszUrsnhuExHlsX4H4wji7M+0W9gAVOi4rQTPt4LuxKBBhIs8H2B1vHK8FiHmlZ86AyzFVJgDgUk92QQ5tvd68RRqwNZxbskVQ+iMnH1D7cKhcW3kPpCvRtjNOcwLUVrhsQA97soEitM1n8EOcovxWphsgO+uG7E6O7RlFMQi0VvxnIDHfREFTR4JACmTFk1mtBqRcO26LNy4jVr8CIdbX+IDSJ8FFUYvY7ubG3gIhNsEegMUeH81qjKegtFx2G3K0XhKqKTYWIkV6cwUy9yLjwT7TZUkkrCB+Ign4LjapBlGDU0YuYw+ajE4Tks+gkC2zeKxps6j0AcxG1LlcwHZ+SPbm9Jugs9QimtD3N0AmdRRt2iH1ANFpZq6lZRkLyPwDp8/kxOc+kfJ00GCT5m0F7qbZNMwGz5vMRTFxn8LS3sq60BogkRMwIElbYE5SpOM7Gmd47QcvcogW0zuhkOxuFSkzHnmL6RHiWFRDPv1EyzzYAmQvv1wJRVsU8c23o/H7yHNooF3K8+bvI3up+epND/iLHy1y1z5sHqz2PwMJsTMz4g6P3dXZR1W4SmXdutqmuGqPxGm3iNi33atNV+tqqCYLH4IXNl/+GLL7TvvKbSF2ZNQDCAU+Mhb820VkxMl9rUggSOvkv3cf15bv9+hicADZDQgxRjybhXdAIgRqCuQEEOu0WU+3X98uInoS08BhILy86MvpAZttbMU+zcs2r48AhBQIOAvd+i9AnFsB/EyJHTYCrdNn5PB3IGB/MU7nVdovD3oTBLbb6XoNxUSXVrR5eKN91v8VCLh1N6odCNSWXqi//pGNKfArb+V498J5vVR9rh3hgAE503s/YY5a4tENbGs93Xm8ByK3YH6PViDWxTa6l1l6jkyHzxHdlKlbn3r2XJLrlZITQA6rmzgndREn6QNPS9iupLplW4BAbTVQkYpQrtHavW3wIikUgqiPq5vFRsMJNWOdBBGxag9LruPVC7Ux+SUTF8PhRFvkF50LmeqQE66yc3RDYbx/iCyvdAfE9l7SALErEIiIDfRh0x3g4JqC0KbPeDjtcLPAzgTt4l3mMDr8p1umCRdlN0tww4GY19J1BgbEnDwQAyDo0Br0XpouQILDQv/HfUlxjQSvFlgSiuTqjcRK73Y1ig7EwIFGAPHo+ZlruDR9JA0Vqd+Lw0ZeUUwS3glJ2nLdBuMOiPI7IflNcZD8pwNxMsqQXJISR9ZQZwHS02XtYkk4/w0S8WWAUrrCVZ2hFqwzhn4CybO1BiTdXTJDK29VIO0NEARJxjpeebrEibE7yCSkXzw/PLzIBYjMFabcAYBkHsqaa932eeTEhfXwFYjbW9uHGceXbskN7SYh+woEfuVu/lZRpRxqX9/xXnVefpl2ytgwe+RhB7sDoQJkh1HfKv1F5GquWXuIcn5BaUH7BFddz8vje3uq09ZuXjWjIyn1GpDuBLOnqhOQHq42Z0HLcnzd4QjTD5QvQusWDzgQ2ammcwyBbdSdbnYky98MxFVeApL6gqyzlIpnvvuKQ18/qwo8np5ZLoKidSAdESKa7XxchrPWUrruzJJsfy5AELWpbk2aLwEJfUWu2UgTNP16kccDFYi1nIDcukFQ8nULPzeAHCHKwlpAqxclwxRAYme5R9ga88S9orSqJLAaELJQ13mpp+TEWrA6JD/721y4gUG+FyAWs5p3Rn48mgnBEwpNaO2hHR/aaNa1ePPe2zgnPHXtVH/nyIOrEjGtcCZpFQuQPaVNyhoXaJioT7/p2lO2RRUQ3zQgUok5dELrCSDOSySh8H2oEEhCCZNNTOv9/RZIj+QyNgJQdQ4SHRxgEiPoPrMeQtEBHBkIFtX4EKTkxC2Sx4IEFD+irQsQivkX4FCpMNKiqyHN6sbbY1RHVGPXk19UgBz/CyDxyp3oOyHHPJBbIBIi6bq4FvTGi7Z8QPJGCMrgiAIz3DpsbOsvtmoP5wTKH4E4PxuiZkOf1thZsEO4Q927ESQYZzyeC4Uj38L7AgSc5WbAQAjpxwTSOfjwjOTEu4Ju870HtBOewIXEKsgzFDsXTz7RjQHJeoBYjUCLiVugBPs9tWpkRAyIwy2dcF/QnqyfZLBlejJ4AeLJkOzJRykz5Si7hbLNAxKfCcHlaEpo7UjQ9Wi0ccvuxbU4BzxJQ7+GtiPz1pNNPcBpo94eTSqOlg4e3qcAAucBdwtDHuwKZquG3cYTP1NzWyyr806xp30oasYIUTJFB8IjHcpsSJidGaozqtEGyVR6nuoJ9nvg3q4kbMUyQ8JWIDavBx/amUC/2NXEYZNaArLrRCPmZwvB3jT0uaXnNBk0FShq2mvL/rAEZjK3Eh/qZPMKJF42aUp32TZxjz+oLAMRNoNFvAyIwnMcj/CjKhC5IIbt4fca7m017Gfx01j6KP2g/AcH0x8CkHAOutWo9qZxLSPXJz0En5EyEJ0r8GbDtssYnMj9Jns4FiB1Pzp0XeHoHLKrTS6Kj5TdtU/XAdFxxFHtsjkkh04bBJBys+k/54Exb82GHbMKjvy6KMUOlKCkgeJkRELxIa3T0qVRiC8rYMw4FSCzuy+uDIH0A0DcDdWgPRmzgFQrWfe1mwUuQq9i1jh2/lhsiNlnu98dOGIVqz2AzLpXVwaDYUB2Lg5mDRBv3OC8u2LchovNiFRXa/ewwkiNiMadjCIBBv8IID2NJi58MrthfwHpQYl6BhnInWVMm3DiiBHV2GY/MnfK6Iw6ubOXhX6PBZzFxgrELBKlTsWF5BR2TCt0O9VWIE5OLhcxyUJC7rfiJEcyBLRQMlxQwFkNkE7U6G4qCPzQqRBb/Uv2sWV7qEnwBOTNtOia1slC0pWGAoQww7p7taCqG7qaL9vVNAcQxAGpWfvb7GPL9lAJSUBCRGTaB43BHc8N4/JuSYNZxZcBaehX8utibNQvLjj0gjlR40CST1b+ui7csj0k1qDdgUAJ2GaP8aZGSn3CRUh2z37wt7zdxiKDkdrZi+2hXNMGk33Kf0ggDKcF0mUMNqyvDEjUqn0AIOhpDxmq3+hDghuaWTJdMPQlQ5IiA3Rq9zssU4SKxtbSiydaPMV6+AS3kZLepaH1+owV/rh4WYvpZkFiJG+Zflck5EAOmZueO7EMdaj36JcERJms7uPW2BzNFs8V7z4Nwlz+EtBs7tK7JktA6s36oyVwjjCWzAzlzkOXCnxYUkcNJCUg+u3IE0U23g8217/Fk97gkqqx0B+z7s1des9KJSAtEbkg0fDDTz1A16lV7Crqvzw71TlEz11hVU/gmi06RbqDbB0/sclYOMnokqcTvkVPKTrKMtKssTskm2MPtMOBdF1N8+VAKJtmF90e7mQM/MMUdLcnKzpbUgg4nNdTykPUUUP1vMytNOYbd0uRyPHQwCo0DkTezCPsdahD3ZIyDztCFkJxnh4ZrIa9z5X8h6ZOZRQptxVfTidKq9iN9qMCuXG3tM0nZ3HH8gyPUHX5t7oKI/JGSj96p7mFSIKobo4sGtfps/aQUcM4uICAy0FTmb/PQLI1rkj8LPmx3QnTnIGskn0Ny+H5/ajp+fQGkCnyHmHf8+/Qd9Iqkc0F0jNrwC5hyfyR8y1nARL4aolXRQZvSTsAcjZbOedAuEw0kDdwLBZRqnLDbu/LKF4NLImrTAKqEVSbHEY7SBlsdety1/jJGyO2aFAsgK2cuweSKN6LRXSq1R52faSDOfnTCEa2dLXNIR6olKHYewBRtSd0lyXfzUlHUUU+gUg/fspBffPTbgK8lsM8zPUUWW/s/j4Qf+I770DtvWFziLvTgbkMeKl22EO4JJHz65Mz4x8BhHUfDp6GRMOKebLdAaGYO4kixkPMCLkmGgVASuepT7Mx+r+jLw7XL5h5jlEM/rKlSEmpjQLElgD+kvHod9SyeSJhHmfi6WFVddW+3QarW48ZYyXdYP7vxhhX+TSrmoC0SsGIGXeuVs5T6JOxdizt/2VBxeFeSS5d0/8RM7HPqu2qfbt3sNCHHUsp6ngq8o0x5M26KPn+i29qxUYFCjXqbDDjk3Zf4X/AZbkBYrrBlQuBsAbtuytIfSz3WRw9Tph2rPsNBwXmWXE6d+Vib/d6KOAQEspA7MEq7P7Zby1r49gsEBjsgYupfXffDUFfNw5CkqhahEGYejPaRRedzi/qmN7w9gaYLdPXMxB/eMSBHJdqkEYDA5DDmUpZXpIzYJX3q2WP3dklZZq1LySNHchx25NqR2kREgcyH0j71GPflgrpdy7CGX4UEFi9w5Q4qQyJiCyW/UzWYDCm3lL6UYARgOx3BLDnZ4uQOJCZjfpUZ/XHklP9zh4iwWJnUNHOqgNIa9Kfq2VPW0JYXsv1G7rkYFR98D0B7Cv6BqfzBkT2wnmZkXO+fQRA6I1h7xH8ZS9f6O7zlSxk74ltbszksjIhoO+/Sy4jAV4BQndAYkVrjFjHcq8+34qmcgwg7Y1hT+FPyQCQ2B9R5Dw3Fhk1H1nXEs07N1zQGJJBDOIOCxjmdeujomZGKMlQAmJvnqMMpN0BaUgl5hEjeL8ka3fHxlDDyOMVHDJWG+LM5mPbGApg9xmb13g+KxR7wGxPLNFT+7+NnD8C2ZX5h5Pvx2U4Rf86w8zToKHOEQiqDc+CsuvhANIxY6MXPbdFwMwHSEA0gdLkLRGNxeUSTsO0Qi1d8xJHtKtF7VdTX4v0pBhEw1rmmSy82sKIZz2cgEiw7DfFqsDRLC7yriQEdm3Y6y6mEyycdrZ3hh15+qzlVfhIRUTafmaD6OtIti2maOEFho1+LECqG5LuIUgQpL0pkK4v6RnaPQbk1kNpnObHsr0kzRfTCYNI2SBapF5ZHS6g69ywJTFjs3KF+gW7Ic0JU1KteYizKIccyNWuCleNrCxRdk2mCxRxhabydYMof4sdST8diMdXHDM2FxpkkAcSgJE1FMsnGYNfiOE/sYHJjYdSJjF6rl+TL0N8hPEYU/3WEHeZWD4fFyA5ygKQq223DMrItv0wIBLZfWhtAqS9B7JH8ikDOc0Gsm608UBEjKbXNam88QUIpVo7p/nYpQfYJOTI4CGi/eWhUAYy7npjlJR5BqJVi4iYKiXffICU8FKezY/A1yipoW7hQrvQgAcjVG0N3KOZh0OAtAAykkOVylEStHZew+ndpV01v0tSeVWEFRF7AEGWI9l5B3JjAWDSKTItFly28wrkzVLi3bzaDOTU3N2AtD90JB6+RlWaIiAIBbwCCTufgNzgsCcXjXUfdudhjE0/BoQCyLU3esycOJCRolT9T7YegO8rJhGCXuyzA2nZW/TRfg9k3tDQ08Mdew1HGt7R0w3IfgeEFIgJjwva0NpPzW29fKPHi3zzLcj6kD1OXYEgN0v/FYgn+yf0Vx9temyYF283AUi/48/G2IV9FrfBiHUlJBEWJqTXhDpbUlv1bwCh7DcZ6XsF8iw7oe2mE6UnBx6gPeDFX4BccGivu/C4xpAaTdp3KKuHI+A7O5KA9Bzj+nxSBjJ1wxlzu8Pc8GQtByOLk4Go9F8N+9AMb0k0e/5/qCeNBKNkZy00lC5b9G8CsjPSWOzCXoD47JTlG9UeUuaZXQOldsrWagLk5f1qDH+1h4fNnVyAWEhhy36F/EeQ+ihkX4EckF+vT5WQBz4xliecRmVw8hOkgZJ48Uo4/bxiCglIrkB29VDAcwqoWT0hJNhD0zpS/sRiRNe/DsT4ipwkNtYx9i7pRjiNVJIT6n1L9gNA5hsEPYWwlK62os68NqsZtT8n1dKedWQSFk+r5+gCmbjuvaXgHEjhcSzE7EhA4HJ4SFcg/QKENPWQI2UDcrALyew/3Tm7RcuIR5LAn+5t6XwXOm4AnAOpPfpg2MM0VurbSbD7VYFAyeZ0vjbYg+d2B2KWZLBltVL7CdMSj3BM5ynXeivMeT1ML0Bseiq2imTEI7ovvXnxDsSSsZTXHrCqBu+hw4FYLCUw7HTaaiG/DT0DSftYHcEnm1Xoa2wKfGy3OTjl0uG0aOa3JyB0ul6NmXkVSooeGuzNzE8TkvocUAzIukZxS45VTvRCh/hSq+U+DY2VZbRmy3TOLq5Ahm+VvHNSfjurh+JATqPCzpmQmP1TgDEgy3Ii9u1EFkNilzetq1+BWPo6hfRPdkNCiKvkdaGx5zNxUg1kQChXmeJ3CIkQn2yIKpoVh1yx4+bE8Bhof1xrAWLRhzrhc5ilauPrl/NuQOZr3hyIUOoTus2ARMWNk7q0EKGJMORlI24gtRp4Gpt3khkSyJ49IOdvmV6B7CZCQtBGm+kxjUgyEPLJgYEb0ZxY7qh4tngEyg6lBRMRi4dcQKYtfLqtdxWVUiKwSidSWysQxb2Dr+T0ExMbPxbpTiBNvMaUN2te/ZlcLdaBPwITDK6Xp99HegB7pJABYQdC7i8qpeajhDcZBco2N0V6KN6QVoEkU4CXsJyLq5ajLBhcb5Hw8QSOhLAC6cm8JXHOSiBT3Wu+SnOP0xEEkCFAzlYWDAz/0OV+Xg722ixKLLvmbKD5MtWu0wrMYINl3oZMnI/sTUbp1k40tXus/e2+hgDhAkToeNwAGZwCiHCvo5vsXgObLOLO2D7Bqjg4scpuBm7cp4R2Xs5Yfn7y9W8H8nUFMgXKTA+XTVhixUhSW658Hn78gVpyF1QggxOraOQL/dt5KYPtzBP0sbv2AeTXDRD2Oczs/NpoKHmhtkCOthKWvWbk2wIk9Qlbqgv69wLktAHzTiR15CeaLzs4na62X4BEFUeR5uZAWIFELsrSW41tjJZQlxYZOf2X1WtvtDxuEoUqOJOOzWt+qiMvrwLSHvp1tv5HIDngatE6sSUA7YAK9sMhPbmUvmits1xDrrbGXeq2IdCV+UT0iOi4jwSE/zsQiovmH/XyhBxjp/mpSo9qTXsCYkFA4q09q61r8oB8qhTpldHMtnwakJfTlYBcB3UB0gOI2ZSu5BgjhXeyVnUkyx7hANCOUFvtJp3TuQS6DD13TCCK++WrJCCXQb0DsoMyXzi2+TPXzT+IazEg3gcKBLyltt7itGuCra/rIsyR36eHcvzfAEmm3YzjBOIP3T3rxxWI0kIOJMckXd2h/a0hSQDdkccr684EpPGVO1cgRwAx41hYaFIQT9LeALGo1D/yIzO7e1v9erOQFx41sWWEvgHkNTYGxN34/wjEVE8+m0R9rciACL6UVvKug/HeL52DZlvq543hbv22q6fTNQLI1fGEHUkLeAGkXYBIlbeiDiDNiS/WJ0v7ndpSyx8LHptD/7LxO3S9gAOhCxB1UWSFModzwUrUAoQ4O1y1pIVnO2pKkKu0rzcPu1AlT5fwkRz65fOREwg5kLUn4cY/3PcKEhTIavd3NLyU7gvPfIZLqWp+ry2z6HccbjIpNt19OsILwObXuVyrnUhgrBRYMl7NDzs/sd4rTlBcPJzKK2epi5JQ7nECfw5N2tyorZh08xT9Q468tC/Shr8dSGe+9IWte9g5KRyQ3lcgu1O5EiI3bnZ8x91ann6zSfuN2rI0Wio2jYh3CJ5zXfluk7r9hgRdSCCdAAP6HgiByqtFU+83m0pKZ5iLtN+MaOPl4EMPfLPHqr90lgF3L1WcxrzeYAKyw7/OFAl9F2to8ciIk0k/k9+t0n6nthpXtscy89/s3kYAOZgvQpJzKLQAObhG2O4K3nHW7uu1CL9Rnk6rSfuNk0JcxlkfRm/6TJIFzR+6vftZVEqUlJ6Dh/QOiPkst5w1a9nSxiu5GbucTEjIgoNSwkJJUX+b9Qq8IdgAACAASURBVF0KZvY/dTyc2xfeSglT+KzvgLhGuHqv0tKWo+AFJEcabocGzUW5BU1hSbS9QlDFPgFpwFmAODKL0p3OATOW6KGbKnBInnqzDF0hdPdLSGCMq7Rrleaa6izWrGNq31nlY4r9CSB80wanqUWksEf8LsFYK5a7lnlIdN8zU1SoVK0y7p0Uw/8IHHKJvgDmMc/qG+ZHSipXMlICDloJyO6AyBe64NDFmY1zYL9SqVVbjvbCnVrnXPOFhXiTzm8/KuvosH6jO9IMJES36f8ZSAsgEQZUMlHn6fHIZQaeQJlI+63agksWE5HzpvQGK32e50jZ8VpH9heuQEpOnSPGWYu4SBtj5mQ97UIi0k51IppxshapJL1l6FMckCO7+6WOLHj3QPLPN0pLzdf21jUOISEhZ7/xXunud7xl81unO/esV0sdWfD+DGRe1m+B2GQDnMar3Q8h0VXJ490IRNHz8QKr32qCeo4Pj3JHi84wIJmXEpDjLRChYces7t27bPTQris5xuLCWWvlNhOzTz/whRAghVW1Mygob4t0/0cgar6o+lq1uJDoKoCSeEcpc6tWiQP5+UBQhgwo30i7IUMssgAB7ndAVO2P6f2Kh0Q3QFxIZreqf3e9LBkfq+THgXzHspzG3vWljkjDIEzDaQOSPBbMr15xiNMoJ+4GJAlJM/17sw4jrTeyb/G20C9GvH+CFl7qsKeCOBIPoHMBsvudlG9/eC3bk98MSBISgv69cQ9i0622AvnwDMwJUlcgoQvhFALIqEC635nu90f5ubgol+JCorv47DdqaxaxRbHC0IF8f6oJgrq707+hC4nrzN/xDki6H9wwxyVclGtxIdHHbY9bF5o5b7+egXyZU3BUm1z1L1QIXC1v4S2Q6ExoGomw3UWRFMJCoF7YxO8rr4P8U4Gwz1fLYdGjpxYuQKDSkMlwMo3N0GJnd3IIOChduruL4vvT1kZYp/LUib3z2K7FgPwj9Q0OJUF3QPbIFI18tnPJTvY4Z7zlUyQyPeMuSkz+1kZYu9Xi1bt4+VLUsuu7/nRM7LZ+B+SI3j44ScANkJERxKqzp5zaymrzZUgGmmqsFvFG/16LOo1/sfV2mIpbIJYpIs4q1g4kIBL/gfJHfrbeVk7XdND1SX9tyi3ijf69FIlH/vmUSlVEiuJdgOgVmMG7ePU4cHCS0JF3O9iU/E1ph5gv0iy/To1HWnZ9eL6XcJbPK5DJVN8Rt5PDvwXCDdNFkfDBl+Y36V3E14LJhi2S3Hy9lgxIh2kPKv7R9xLa6wlL+eevv+SFNg/ZC7flBOw7IDCHEfnyDZA7e/ywE1tetskrb0ktYtW6erFOxT9w1n/uBoXtPo030M3tDZA9pif85MANewJytcdq28VFkX5oufVUoP93+Cio6ju9I/uv/L7sVJ627in7t7dAelgQ7/MdQI4E5DohoCLhLkoO1ylfeFhT/kw6FMff+aop2Nei/qDNmKA5vvKHeTGLF97vgKxCgkfd4KKU/ElpB7ev2x18V9Jv5ET0x1DOolJzr5dZ/i/NEAbJ6dBxJc6fvJDx3NbTBdVhTcdOGnq8DMhLTpbfqOfh+yk4bVcgnBzroKThDmvR3ChKd7oOnuemi3LJ/kXZHciRgSwDcnMAcz5p2hcMXltTK0VrwK0X97jN8IQuSg/0zAami6InfVo+j09PQJL7+4U7PKF1GZLpKai0Y4ifFc/L+4fm9DmLIBNLWRi6DnjUop/Z3dadf7CkfGxZBaCQ1afO70ADH0rI/LQKvxccsuapiLpv8hVXCI+TJATUBaG4fwXi7uozPWis5SFdYMmHETojv42iWX06s49QTxx1f/SB/FCUWPOESt03GumK8cDbP6XLEnngaV6s6U2x6SWd6Ck7SAZvuY9UgXzHHYyurrxl/s/sLKkzPaVQdLE4TcNc5Kxmenz2ct+lYHppK+tPySHmm1cgX1w8gCfABY7GEA+tnlYSs+k6kiFBobi2WqFL2eyk7tOIhp6plmAyYn/3qwD5qJpOvv+k3/oEHPmAFKWp37ON3nU+rKTIWgAxi3gfnJ6+aY4Iq/eFXo3ext9mIaLldaY8FJfsyVlIzNxuPiB1549WqlZyxR+l61UyGIsZKsWkXqbeGl8mc7H1DW5VIJppY+GiJVU674fDZZGb2cMnLxNI40oV6Zxxu16lDpYdW4QkK/9hXlfqMb1a+isYYgHyhYZcDT7YJxPSCxNsQOoTK4+A7tVfnxIvniLAOT2qgmulY6vawqZ3H5x3e16A/DKt/+qPeBOpTe/4vhINA3IzeFVy50Nyx+0E5uLyokeWfU30irnDQOkLvWZkyymT5AnIR9b6eLTVgCT1ZwNSU0yG4FEOYY+6lQp3vq1oMnGFYc9EhWXX62/U9dBctKTVTxHrrPUf1vB3psAY9snrzOQNZ6kfN9v98cCm3QIRlrrAsKWUFrO/RFQvuVHXhyfVuwDhovWFdXfTv+lhQRsQuSzvpXJpRJ7ula746x8zqwCKuO7P5cmaRZmEiIJ65jpKS+wvwTjZdgWKnta0kgLRlk9T6TYgIkjKqo9MoBUJo1/Vz1jAzOrwU/8BiLl1ErPbDkngkqUQUlsKRHcFSiLU2AYKN0/GigGBL/oacajL0gbpcpWZmYQ12jlf92cguoWkxexGVSyhL6X56jMB8rXOXWnkMWkwe9oYAdWs0aUdW+Eto95U/6qAfGSgnnu+lC0KGQnzi7MJ8Y2QnADSda7jV8wTmO3TOz/tqG7+0hAfrg8+8uIWTJ6dbqNy1Vcm/eT8K8qySYJb9uTI8o2QTOoMyKFAdh235+b7Ckxu/jQtA2EYzZ3GpZRDUx3GdojfoAst3wBZ3r+hdItBLMguQvJge27Antmez0qKxpsXbkbYLkAmPE0iNB+QK47aVdh8z1LfCQC4vAJ5rsNhBGzFOhFffZrGljI3T/5TE9Pp4TVRaxMIcQyIpefmoWXfpYpt2toue9YJkE9eZb3gvjGHpli2YrJMldaGAohMtn9aYrrlO4YAadbsPPdEem5GVeuLE1KZndPno7BaPuMCrNmNa+/MoTlUNj0NpGe7jPzDgOzmp8zV7lMkjDRsqjdJOBtjXxkL2J0F0+Yfi62f9fbTF7B8BgHQpX7jDVMJ7XKtTk+/YKjTTlwdIVOeZtwFiEbY4cqx/fz0mSAbkKFekKk2CspLmSNNw6OAT6cc6g7X541QRlK9sjlI0+lpuQdr2zNvpe2zdTedUxaJI30jlzRN6SgQwfdg2ExKUZrR5WrMdyGVJ0c/A8hRkXe7L5lg6C1/YfnT7IjeYyYy8ZbnDHSVqEzA/fCyLJBMO3/CvsDTWtSv1QVg50N5bApcOzzA/MRqJqebyu3M615nds0ElJixKOA0vcXqNQqQHROYTpkw2wfmOWZ1O0Q9VFTMAOC2hzb40lm7h/yfVrUTiwimeTUXMyImKwVW0kZjbzzZZGUa0q1belnBZ6Leddc5Yp9Fc2n3Cx+ZQGJMU710VvckjKqM9SWiaSO963DorhnZjuxseWNpPedwZuVNF1X/Fp9bRs+kjbRbf6moSMsS6rgr4058RNnqFpO0+dJZ/bdR/POpVUfb5JfzvTUU1NWODE6r0OqTfk1NO8lz3bZc9xkKYh74ZQNFDCHfzfttfNX/u32QAKGXJ/p/5jU/jKoTYFx+Uw0bpW5HpPi80bmYMJv0l4dzfkvwQNZrGzPWafzSPBuiR4KSflqnlYJUoCA/uU1P9KlAehmQR7o8VZLetGPb2GzZ/hFk61yxdxZXy4AEgWIPFeQvnXhQ82Q6K5IPC2sjdp9Xv+prH5Y2/Skq22kPt1p/KnmazxZla3bktOzKHMCEK5Xpk6gJ/i27WTKYdxeadwFCmNZs4KwgavGCoSjJgHxaiu7buVNxkDefZPmqtywekQetYEVovQhdIm7q2X7bo2pJLZL4k798bbAae/2R1W2UmtcaLyAWC/x2qyodjpuJQ7neeCrTXs2RkPHT6ZJ3WW+pfgYOCuQI+0/KdEOANPSFT02HB5B7qKCaeyl8mqL5HVFb3vJ6EmjDcGNGkKCzJsyxuEmjMPSvASlrgMWHn8z2SzKf5hcrOfubGfzKZy8gczNdcRC+YFXXLa+x0c6d/pVs4OYtWJ/cry1TVjEgPa/KHmxu8S9sKGfWfS++ZaG+dtYEIjcdFn4SLwvciWEXSg+gNmJZwJy3jhkL+0bpso5jGJBEoSdUP06d2IS4k/uWZgZjSAqVpwDpANJDJcYVBua60Q4br+2xJ7YSwO+kXZjppbTab9m+MA0cmVv8ac8WR4eYb/m0LXPC72255tdtBmSXR5muKgdOYBqmEWkUq3orHorpjpsijrwA0T2ugzu6ucWfQ1O4ZkgG9G/E9mYU1h1uJ5DPnS2DkcNPK/N6c3ysrBL/xKIaB97eqq1J+/5yJn4fspvw4Wd2c4s/LYVLrv0o1KCOhgrwYhsnkCbCThpH94UGcFaM6Crxs69y1r39QW0JN71a7L91c6ZoSjyUly34PFx4jDlazOqaHyB9u1Bxih1RZpQ4mt5wFgi7tYdlAzTC85h3hWRG1IH0IEQmz47JHWQ894Ah2b15VQ7xMGzuolMN4mCJo5c8poUt7G7XVQHPrinquruc3JRdu+4GSFMglovevfsGZy65sWMJyIf6N99pyhUFq23gBV7uF528a9jmqymMVW/KoS1egbADkXcMEfL8FmehtiV5UoG83Pjn5MEv1ReFu0Ea/PKlqAcgy2XlOdemtHpIcilD/G3qv8c7IIS9HYjNMBYuIX5T2pQ8JdE86EyBchLZwYIjbRv/ZPhaxOYZRn+chZ8nB71a3F8G8RbIt+aijQcUT+ncYuMKkFfMbqGucZhV7kkS7540rM8tCYvYEU97gjvRiVvVMJLu6Mf3PZBddgQj5BsUT+ncdyvwRedpFuXnU1dO6pWpG/FAptd2zcJuiFqYnRP0GkxzRHtTaR0/d0Amc8yXhTRIhTpte2God0PSJ1NKgu4f1RwaE5XJZvachlZVRUXsCLLRTUE3tGj7HEdtk3vbPoHQFQj3L0nhpr4Yi9P4dkj2GebM+Sr+yDc9yiVIuSiOWpOlZ4xWCiCSsbV6orrJ/3RMIL0YRAPya0yfcoT92jGdjSVm74Zkhjckq54/003FCvSycH71HU1h7X4tgGBjWuYsrJL/P8aP7DOVF70KEPqF3cgRanZ4v/OZBWn6zZDoqwf++ZyzoeEyFxVMkavidTdsc1jw/pECJHkB0THyFqHpqL6AZKdRgbSPfQpJ2n6dTErU37MOugMi7yJrsqZbk33SScUItPy0T8YRj+Dg/SNIPNDajB+Y7e3j5ai26sbP5ND0lvqI1F2DG99RgzZ3NctWATrb3GyuhJj21TZDbM+sgb3vDwdeS2i8GeqeLy9XtFMeKY26+wEXBYJ5pARTLHK5lqm0VX4e7l6UbE55JtGrqNlTx/QOSPCQAmmfdBQHdWiM90k7XBTErXt2WrX9dbd3KTKH9GBP7IlNy0AswBCAOLE4j+G77G+AZB+DjikM/Sghwy5poik6YtlbWFiRElc1Lf8pRZ/63wQlQrviN1on7wBVCNcSlqW/ARJj3LmPs7VfQnCOkF/B7/g+G2FxzNDDkRySspU/uZxNc8Sh7xYgOXbdb6sxp/GPQECIxez0q585SSGeCB3TBbPFMZj3UB8lshSE61N5WhM+UNCyBUjX3z3IWfXfs8xXlGxlrkXLMUPd1n/tZ4pzNDZv+9drsEhf0iSkDvgoF68xtXBu/0c4fS97k6lRfgPEopKFTHUa9WsL16wWF4ZjhrrUvw6lNxL+09X6tY/p/g4QvCOwCst5eT298PmmqM1aw1OqQIhjonWpwytyIPwOiFMyxGuUgMQ5SOemXob9pQLUIFpvEVzGZNjMvnsTGyqIpY8bLihA2uL/pgG57OQPn+wKxHljioYGJKQyPat7zobHVMq7val0gNp+sbBPkKW/mh+c1U3HfHMMNc0dQHomaSSLCCA7vwvYvW9m8ookIOla1fMhfuhME017r3kiHShVV5oxTlUJKoMG18/ZFKHSWeAuQAjEMtfJKAAhfpdCiUMvIH368Q37CeuEy27aVw2inlGrdK49A/GZxal4cPWfhhO0ACHg03PVCTYgKYi4AHFSZnD9cn8/YcCtvHTui99eSJJ9IThbtWfSk20pMdiqndTz/QqkQ37k4sXdMSBw9Q6+Fm+DZoT4craoxCNTh/WX9p12pKcwbXg2IxW3l+uapK1eU73f5kJ3gtiL5tri5uRP3AOZofmL4M/qxk+dSx+vEy2y9PPsEQ4gp4tBTIuDk6SkiLpfmSlIQFbNlYEQe6LzT0Boeo0fe4lhJVIVpTVl3b1Yy4YYkLGl5UdOjBV9NMMrVBqycC1A+go0gGBZ5m2W0cHtM7Di9uvIpvhFBU256eH8usQRCJ78rDqGjBivdJZnUBI0JN5bgJAScwdkt/M3sl58lOk10peG5g1EvLTYVFodT+YYYS35bpHO2LmknBLteSeK/Jdd79q9nle4AUJW252IFCCSNJVlujGV/zKE4mntFh96dTHbQg7HFJle50vwVUOkTq2kEoNNvRMudkLdhMbvRSSADPUavzn5Ws/ZMn0cU9bVHU9pZ86sxmm1nc0IPpBFz/Gj0xBqqVcgzDe8s/nRdyISQGSChPYf89bF3aPparXP/SU8hFc5CT1HcnlqXgD47Hm4h98ikVUKyR3SDZAL72xeDb0RkQJEco2fGj+9gk2N6caMc8c0+O5nuerFdyW0Wdgol0AmCB9zfP4nybgrMvOfRgJCvBR3N2cjtyKSgMgEyeBPvHDGYjqRdfEZd+8baKxWWiV9hE5dVJD59A9eIr+cGNHhcPmymyMFvHEaqwvMCkQmSF5i8lFclAeTyDregWsENg86kyXaDYh1sZa3+2LFQ5uM4Ti5bP+wNR+1DRDpPjGwApn5h1/ZRZkeyschCJsn58KlaJxF7zAgvVCua0PvmraDxlBnuFGnN4IhnH+RflHiLqskCpAZP31lF+XJLxGZEqKZ3/ysCyG28AqG5n5WeZQgn/haUpxvKFpyc4pvs/Hin2xU+TQDeemnPhc/ZBflFWR9s8n6Hj6pCfqiKiUfcVxmweFYXIsdbB6QtCTwSvAzgFg1Gt20ixbu6dsUEfrOK7FfYe9vCUZURMAhe/KrxN/6ka0hFMgly/HgN4wdAmfDkYGYO98ABJ6Rh6/LDGwB8pKG/pOyI9NDEVkfOjkC+ig1KED+kkd2CI8KqKZEDnoYCddC/tkQOQeQ6AWfsUIfmWF6A2Sfst76z+dwcza9ko9dtdlIy5PbAuTnc/5jfeZhWKMyEG7JbsV9dxKaae+LdR8AcuiPlOKpvBVADnlN2C4LLczLeP19GciB+JA4KnehnFfO2c4PADlivoFj7d6tXzEcDtkSpUso4MtDDvZMGniKOJX4oV7j8aLIQEsyyGV9SRi6mpw98cW2J92MARQx2HDge2nViqI7GCjMyEZcAkCbw81+TtEgzb8JEBqyDlNnfWdLXybrNqfg4G2ktcEp6d94erILfc5KT46k0KVQBXJwzFUAyDAgXYj1TA5uvAEy3d858fZlvpY8IfAy9FMry+JTsgulHYzKbGDKh747QoEUV9u84ntXbwepAaRzynHZ/QZELVxd8XQDRL3GeCOoNPQyh6/h2E9OD9z6QACILAh4odENVkh846hXFiUWIYlZAvVDGXw1OLwpANH8HszsXjMj74Hs8zmiQEovr15lnfKcyQJEH0n+ZF0K1by1pz8xWsOheAOkh1Hd/XgbnxwoCZCGNG3Uk/N8CZS4v0e8kFkOfc/ciuDzCiKjeNiXrwSk6ZXz9JN8O78SoE4OQWVUgTT2yKynyw2ISF82rRmIfooHJl6jPKKGCwZ/zbTdnFMIdE+v47AvunXuhzDWDJRVJvWZuIdpP66sCV3QCxBIOmTFwW5maUZVGhRfbS5Vres5LQm9uhYX7NOpp5hTEBz0Bshc/NNtg9fQ9rMDnzVCFc1NaKEA6eyYg+AdQJrNwM5EsndDAaLvSW+nvl320y+g+SrjRphTSGvkziuQ+Swm2U6Je4j7Bm2TuifoRPjRg/o9AhO2blYgYgFsrFXKViCWE3nZCnlx8Ydb1ZeIiIToJHuetQ03y4F8KmPhvfMuz4TUPfpYmk8BQUqYDnZZCSCvX5vlNcjH2lVnoHWdol7jrg8e6/Hf4n+RTrLnxHIB8mFAaAKxBRKhRZ5QNyBNmyevBylsDoPTipGYsYeE0GqVpQ/cmFk58NENSDv8XW6v675OKK1R/T4HMi/9NCBtylLXbpsXaypVGStcagOy3wGBtJN7v3qDADl0TGysH1xM+4E6dwUy/+HteqyvDjtWn3GW4UDYgExld8rytAZ364H1ezYJ0TKQcQvEzOFegOwKBNsLN79/BUJs6XUS/fTbaB5tuvSitI7sM/p9ACKsNc3PZCw1JO5uPYyxPJ8HIBY42f+UnPfd5cR7bdNcwI4kDa8KIZIWA17jafs+zI8fcb8OXT5XvL4CRIT9m6fGSvrXN10SxooMKyqiDKTByjdGQBNATgVC6sa5JroCsRoPe5P0jwd13wLNnF/KQPYLEH1BAdmW5480835C/yeViyqgqhoof4QSDSBNgDT1k3CcCpCd4bk16U8B8on80ZcwWx94d26UnoGIi/IhPmMbYGU0uJvS7M4U1rw7jOCjhqO0LtMAkGYxAipOQLpXPPX0ri8p/2R7RvVD9BiJLqtuOGUg0/t9od9VXXT1lP2pKWa8u+wsQDwyP0JjuVdGb4BQ0HFcgOxGmqSxpzR8sC77+vmE9tXAL5WWgfywvaCANJQk+L+bmvXDuMs6E0Aau4uYgtvH1V2fuwJOyTtbFtUrkG7fxI9//fP3J0yHXhIStlogSsSo89vkxa/ZFWJGTG3RHBQ168PcJKsDzQNIT9oc2dOFSgEiYIp7vwDR6qdiOVTRYkOAL41Qpk9Mold8v6gRFE1y/pb3b6oZqW7j09Ko5HFGBWIicUSlKurjDRAPEAA3A2movsmi2O7vGPkQ7atRikUFZeJpgJzvuePp1Fa7+smnu41w9LrHGRXIwZGZNM4jMztJKA0IXj/zUqR3QMJSqvuL7Vgmx5CGKGnZgyBB1tba1USj7u/QbBsq8omZ2UMGJA0kew40NByhk3bzERcglv579ZD0kfE2nvLGDXPU7D2NkkzQJ1LV0ZKjKVOVjGvw7BRxOll303dXwl5KqmozRAtAuttDTuN8YO7Lyr6x7vjn71kl0yKSM7HKgio1IwPu7Jco5Imi+FpjgxtcPNAp4qc5jQTrbJ6eiGjjpOwAhDwSZmhslRDKhuvYbDyOlHIxBbI7h4c27KfMg5iFk/dydIkaxTpEJO9JkMbBysN8LcIzpOjfDIRWIK34xdpBZMrpAsTepAMnAZoQ1jTq7RBrEZJvcyPVHlIWvgwEHLDD1xrWoWT9c7YA4p6N3W3ygVHVnMSekBcgXZKy7mW5bSIOjcHK4+aGyy5Sf0vMeJg9XJxG3OJsIQnvXR/8KVuSNE5A3Ne0G00+OirUJ6SVlvdAGED2yB6lWuZFZKbvH9lCWnhFhKRzskRR5JDyg1hjEZJd2XZnRCMGhLgYPqix6h9ueqKbmxlAxh2Q7rntFUg3Z+Tnr7/kpQMQkr56v1p2BnEvOCepy0jupMp63Q4gnVNgyR56pIiLGQlWITh67gXkuLDW6UCOCsTtgAvDDiGZHFO936BFTzybSHuk6DSyksYykBZAQmyz9O2sjDXeAzF5OD2BvwA5YJldgZNHv+3Maj36Tz43tr1DBrgr8j9iXAJICIozBNWcm/L8YWQCXQVCsH9W6/CarArxGs/86DiJQt5zgq4AafKpLhgBBnbt0VUK+hgz1DEFkH4TQsGNP8zLsdIrkB2KogfDtlAOus0ana6fnmLZxUq2+vZlL4mE0ULWd+/oYUDgzfYAQghqK9MSs+31FS0uQLRX/wAkZXO0SgteO14jfXmUds9fFUYXjkRHw9ZfgVgEtYiIBX7nH4FMHjEtrY0sQFrKr2kX7yo0hMDquT6UGzS8+PGpME6L47SWdqL9AeQH+s0I2dcqh0YeN0DMHxE/8XDqFyDcwOK6WOExW1GTaDtBnBfzXvKJpNd7QlCOmxt5JNV7eB9cRUQusz1iAwgpEJMdK/sfgHTbnteeYdSX3uzKcf2Gn0uGV66GrHtHd9XJGcgAHarclrUE4sALkOi0tgkILEfQ0lcg3iGmdmRRviwAf8J90qko0/GloLGnrFthyHp0tLg9/pSvsri1xpfY3PpTGCv58TMd1A1IJhdATP32gKgE73Gpu08dVy7NwjUk7Qe160lEpkK3rcPdhngmbndxzYWQMQkgDCDZTDYHshhE1mny7r0srN51qoAwdqs5ETfv1GzJhNB8Jxg2IJQfIPfoWA2mx1/pWe6u49GCiwJIsi7JBq1ADtb9klHBkyG9e1R88VReFMhM4VP2obJNlCilFTu2VOmcomO164i/ni1y/R0es0vvMCDlbbOabXEuqUBsvkklGPJrjIWhXoHY3O2pDtIl0WjpYEDLKfeIvzAX/wbIbkB8etIqAZDOJR5hf8Wjr5UdPNw2vwVicCAkPYm2UK4J+p4E3VRVxF8yGlCAAYT8iAMhv47YEzPEJUIUwOquT1YZco+qb9IZK1RwVwhCYl68Cxr7lMkAkBfxDzaXaTA0Bu4wIJRDvk2cgyx8lraHfKxAjIpzo8kvZ7M+FptvQLpdXTcwkQ3QVEi0+0MmD/gomEJ4jYCoCILsPp20BKTnUHJTeUrTFU92o7TG7Bo89Fhrp2MPVYSuMCDPVjYreSCKGMkHkmLWdERsC1osW+Le9gWIjdFgAXIa9FjsuDO7+LesUJs7rqDOFGGLl7DbWRHPQPIUwaIwh6Hc4L9pYymqQRLS9RUBCNIVVsnuQNQZ9ef5hVmnVwAAIABJREFUut6181p3U5ODiodGff52vizsGhsmB0WImk9paO+n3vF0hGkqlMHmaKPjdgdi8biekY32VUStl/GEuJx+YnhT3aSaE0P90KjP08cZiELAxPtmDqW9n7b4HeQJIqhJp9uEF4c8TnEgT/TZps0fZWoZYZ2T5XV3U3B6saZAjgWI3W33qJzM/hHzswNK0m3ddkzsKxBKUTeDYlZfy4BIM7OzNjV/S6KCU1mBSB/pQkSykGRUILlNjvdrPDAYI1stA9Ii2PUTyIwG5vMCxBf+bUfxSQrwAOKndnAtVrruOib2Fgmhzn3wWs4WfOUmx4CQWIUjdD7IWNSCfTMg0gQeptnsVsq8VYhoXHwU0wsopENkoadcvNuJpTxn7xkUl/VTa+9ZA3jt6LXUr81uSmGVUbPZYO6hrNfdBzOyQ76HodM58o5kgJDfU/WpGGREh1rlkwxIZ3+TcIs7UnLFD7Fdl+NDttiWFDUeYSiclRNmSGrEBQ9nLp+X0MYuqaFhDL+bAMtV3LsA0SS6MRxFy6tasE7iNT5ke165G72bU5eAFLK0jrK/X9d+s5ki6MqLiDyM4ck8waaEEbPFqMN43/lYe6yohQok66TT7R/Jr3lP3YYgKSKro8VzHQ9WVx6eJ3vKq3Mto2kWBcbaavz/mgM5gQ+37slp5DiWgCRCVcvvuIRjG90KpKVf5AZbXGBmy42rSrfRqpVgbpz8w6h7KmgTsV6iH7JL8+AeGUiOF3TrtsGXTEUFEpktgyx7aWO/BhN3jU+VPVdZ19wohuMos602nGoRmxN+NhPo3CcVSDqju3AIsUUyViCUfmlleBaSTCcfpYMWWZcRhHRcEiMe2u3Z136CUXOfHFZ5iZUF9Qbw74akeOYerKQapL4VyCLrG5sPcJq6Lt3sQI7saxMXtXAB0jMlIz3i+mZIjkpYW9jmyUZXBZLpNB2yB8tT7WaCqB/J/XVmLP3mrNUsr2nlkR86vt3Xx4A4S7dKJR6XaBVIHl0s6iCTDqpeB+vNpjDCa1RmPJfBBRBzUHDu2fAYuH4SX8uRLrDeSn7y08AtQKJx3ydD+3Y3/V9MQIOVPJIlaBx8eAtEolitfPoHRcnc7Qu85wsWZWzPQraLevFvMckApjpb0r6osxcgCNKdD2+BDNR/Yl/v1PLNlmRd/2QgocNc5zUQUWDn+hKKRfvCtDiQ6c0QmxKpyaUD1UMJ+JaTBgTcsk7TOHXkjear/VgF4owIxPoVKPYKZPcBRR0PfyB8UVp2X7si9O1EqP6OQt5aVGRZJkN9XIBAayRh0sjtQDdnCSa3F6hjwCjUuMXJoCvPOeFo8/KkaXNCEp7JMp610kBgVGOz1rUnlu9Fgl2ka2dcPe1ZOj6P1VYByHnTi4WoXBHHa+gY6cikKJ/LX7vIDQit9O6hnNOJ/YZcwpkLRGcl38qHyvmid2/iPkZQfwbj39RkoXQzFbfQS8ZDFQiBD5e22HKSVXpCJsp7DLy4VFKCU8q5AsFFWdxUISgXZVedi0YuQAw7XdryVEk5lVozXVl9Lof1BD1rGUZNdc0XVb5zqN4cPCFydDZKQHh11Z3BbViLFORuM7anfN4r9gTSWna9LMy13l9ZlDhUL0IBv333d8MUhNBbqaAjW8kIX4AYnYW3KH+74yy9okejNqKl4nnGe9xDATlDKS1agOy8+jJBGuUc/Q0QpaG4D0H68/75Zr2iR6CjjVUfYTCUFjFiez8zGp6mpAykv9W+UFtls8ZqAGVIciekes77N615vNIsiS8XLf7nHAACy1ts7y3GBputZIQvvkzwx2E1nJu/FKYCEaoyAy0B0k1xdjRinuloqcZVr3SUtaE7pTz9kkR4u/gyIfmDiyhPT6ACUQwJCPG/FGMhD4n82ZZS7Jx55/OIIX2wzpq4CBYgfenJyIG0eubFY4tvRZX6W+nOBSxkFuCRXj2wEDAQouYEsYeBbAuny+TY4stkRqc14qYFiOnS6533JW+yO+8a9y/nHQx+P40KHTnZsSc4a+Rb74DEcO1rJ69vfBwVyL+IyBo2oazm5mDwe9T/ciRk67BnmIR5WZ4cuwCJJsbayrlVlSowi+b4Q0kq9szddcnH7Ax+P4Kep71LAM/qmtLze2+ABDlFhUvZFjGY1xY+fV+KU5iBXOw/MWyEXJQpeKaJACHam2xXnzHIEaVB+dy29Pq80Un6s4jkscxpmwt8cyvNMpQLZH8uNESFWIIurPXE2Wp0t8Vcz+E98o/3JbeRc+MX+w9V1VCjDxl2BntYHblWZcRMa7bUUlEOzLeboBj0v30bghJR7kvu3eUuaKMGTvGp3vn3garc2XFK/gBExzBeN2R7Psyi+0Ucqa4/c9YldLM2r6lXG+UUh4ygIDYoO2u1w/IrK/FacvcjHWS3ks9NAcid015IT6WvaYrlyn2NQ0DQw0degWRNc9YbiruSm5cUAoCeLb1MAEf+UJaze3TI5dLG7vX25ZT4r9bTY6G2WYY3t/HmxyN2c4LLnCbx7pz2KAvfwdjdcBaUVuojFGXnh1dR6iWfS7dSbi7tj+YbhcHop2lVegNBy8JBcKxvOEv6p1WulZJer2xVcJbo/Y9AqibSbHwH2S0DeTeFdVdrONY3mg5u1M6L720/MPIrELEiuRlc37zaqEwmeuRQY2dkvfDPor6OFwLxG34kdiclLc9wf9OhGxC/ZOjEdZRm1z+M9tKIC1tjBNRa1b948Otpc8WNqvz+htNqxphLSXsD+bcjk6s39qKp9MwT4lF6WrYAhDSWeP/Por4kBex+zBs92/ryQ4AwKn3+YkvLBVcgNn2/Aume3WrpnI4wmtGAITk+78vFWM7rLa0tK879BHxa764Ix/L7Q26A6IKKFQg5bVtE7LrMybn3CDf2X0R9iaW5yN6TM+vNVqHYi/itG0KOFUivQILlq2ZUh2fDiQXIv4RU1/PRYtkdPiIcl0QsGiauxRdjRRujAPHPpZftjYsUuvPwUO/P/iJX7SskBa89jQprhTkUV8xz3kzzXYDouu8bICvfq4uSvKAjgu9/wVFndmtoRwGA/R0eKdrQ5MMFB2oIILaa7QbIyg/ioozguwDyb5xVVzl4r8vPlsnylElkmoY1fSm01Hy+BXLJbtgmSMiMHR6UEf+51CReifTxV6vwYHw4lTt7crYmL/sVSLsHcjFyZPEIuRNxXBc33AKp7ZNTGtK1OxxfEx3rDVTRPKqoxCVWVdP9F65ALh39tHhk97DnyMtBSilKfwGS9IMbEKlDej5xXks2RX2mFHjHoJnlb/LfHZCV9WVRzcDErGXr252IyOviw/PISLv9jCGwujleL5kkGYEvxN1vSGJ0knTLeyAXM/fYPANCNihpUiu5TJvDkZLtYYdI+4fVjV/E2drtXN/UkTrNgQz4ym3JZTkvrMpCnAqSs0+LfMJt3MJlcvq2WyDa3INL1ne09IbC3Ukl/eM1psElANkRhmU/vgCx8XyCS2QdRze+fQDIcJrB8d5tBm0FIufHVp6zgFSNuA0zJC3X2PwG50GCzPZLIhrSqbvnk3PJtkMusOD0/2/sapLuVnGoy6MuraKHXeyne5AlZBUuhsxfBm9EuSqvHFbZH+jvCPBNqOR+99pG6IAkJIHtit6WtkKhMblCfPHijWxjGDe+mjVST2KmHVwy6jUxIJkCr+ov3hsfU9aFbJH+hFYwN+hwyDOdn1waat7/SSOwaRyaMWkLD2MuwIAkz6xYtd7CMWVdbPuByHAG7oGQXJH1+wdXANO0ZleQ4h0vFTA8O8ODXoXH3RTXFeBga2V82MYrOQIDIOVUohlXCd6dswpnH7P0g2K8BazFpdIh4njnLSmJpYwbYXi11VpKqjHUoB5BrVuZLxDGfvAFcoMkrIUMgyKvaQBrpcE+1sRevLatzttLGwfH+Hr6cRsG1QOXNgrUcOy2et7gMqlbmnp38nAtoa4bOH39LbEXH+KBFyDqNPo9q7otz8c7zZV1FGx6uJXWtmCviP49XtmClJqIW3Ug1OAGNAO0BcJOY4Ksd1U5A6WZFYCayYD6zHp4U3pd87+yqoGGR7c2wc8neBBIYed3mgH2QDJ7v25/b8HlbKU2m6Tc3L+qDuQl7SJXGzPJsrPmnaam3SdAstYcXjwLrY743qpUfia2bxrLAiQs5U1Zxbv5KhqsKO9nw6AiHvrczY2tzPUig57q7p06ps9e3TYlo0/hZXi/uu++NdH0jLhXIJJ3ycqakt5qSVCR2gIQOa2ZWmo6YRa9mkbz1wHpr5cJq2cahzgJ5ySzo+NObRZ/aaroabs2OFpwsfVKfgVS7awDedhrnErZA8mHILek0TPtnJCWkLcEQAiXZjZIguEgG0ID0gybTJW+rvW04DM6jV25D6nAzD7qeFn9IBqOzYAUFMMNkgxtwzYN1RFV9ruZK+lA0vAap+K8HLCCOOIR1orRWtVYV9v2boMMzgQE8wMLEvK2hzUAIBKQGhARKgMyzM6sEtqpvs1V0rT9TzKPNysQw+0yfp2a4yRYMoxAFtM1BiEBSASi3bcAydoJ6/OIKnIv3/mTBIhmCHIEYhOFvsCg6XDwJXmaoqZ7NyAWkUiu+TKdPo92AWImdH1CFGMMWwXExSkyGenTIYradC63Vq6Gpv82IPc8107rL03ZkrYfqPOchzKiIdUEZH1mF8GnltF3R1bvKvPkTL5Eoj1Q7Gqevu9PQIIRhnBd2lYgyUE/8D8AyW15itp2EWr08XGbm5gkBROAkABRQaffAsFg0eMV8Ep1XrQKEQgZkBGMADUlOMvboH3clvM8JClWkbfUQjpHhf4DEHS6xjAStq0cT2jVXSlo0GtvpATaGT69dGKHWVxDh7zZNIJRAUw8EbXUMSZZdBK2rUCAFzXB1YA8di1NTBN8RgrHY4lrrYxALK9REJlbziiHUsymnFojhFbRbfHV8bwBUqIYvazTVgdS4BhaVDOfhpQUbHkFYrcJJbkC2ja315khaYgWIMlXPoWithnLswGSwxznWw0TXPCk3wDhnJksGdTQ9tDj1FAGEl+lkWfx1tzlQMxCEaxjv16AmCSWAKQK6zDAbHJWIHFOdydIsn0BCDVoUXJ7pBauNFPZ0Q7YDpmjhmN2PLC2QpzXqmbw1P3QLsnarHsKzwuQY38/ptCw+uqbLK+a4rfVFvP1DQjI1uk0+lW+tlLsAS+QDgI/z5Mcbjs4yjMgarV6fxjdUEoA4rCEq5ijLA0DbY5/rYPUiNxay6yKA0FZSkbp0ENozRVINqJ61T5qpwCkGEkZkiWxcXtzMlOr7RB45qu5F5EdSLIjnm6Ahx4ojSYrdSaNCqRftU8ApwBkXAKZrMldTuDdaYpN70kw6q7T2uJtQHwwZdHG2yDjRqlzT0Ug46rdkDwRSHKafQ0xrkOEYLHZMsFcwMpKi9WBFGv1UaiHM4LGXIFUBCIzFa2t2mUAyxLL8QlcDqQaxxuKIY/KXx4Hkq1VCaN0lS1OA01mGlOrHCbq2QkyCKoJ6kWlDX8CxJyJOMEFkmFai0CqHeaWnwOvRI28A5DSMLe1YdBagl+vKYSwrhAnuAjEvtcZCEsQtbmqhVIrkCQcAZBNKpuMQwTwkpY0jz4pl7vEIgKRF2U6EPfVS6jEhPCY+f2jsRSd2aXdiMBE4mWFCzNE/HW3XBHedJKF7iGppNFHHj5YAcvlQG7LtEAcETnVol3vOijHNwyCfpAC2ZmtkJJgkgyElw5IiIeauGt9BpKbd6ECWWSLQnsgoru0pPunxYAQnmdrPYDo7k7NXxiQeRcu8hUExoCoiQtAJtky7Xcd1APrMwDAN3YTEbQpizs+5nahTTMQbWDDR9B/A9J5U8/YgEyydYZvUcWXSQTWfW4jFgiS2NV70DuxzgIEu1T9B1qBUBNnJThH87W4Y4aWTXPztC5kknORIkFZNdA1UriRlVYg2PuX1V+AlHHpIBWBYP3gD8/3pbWNeBmQx4FgPKIJwxvCVonEj5DpbbEDyOpvgVTeEx2BwMXXS4QCZUJCBiQZEHArb520xG4NjGIcDkgatxZ7P5rOCGQcY8mJQJzA7ikrK5Lwa9Ql+5BMkl2TFUj2ZSaN9Y+wiBA61LYrRIZuTdrDAaSgV7/EWVMJxJmxYh9qhXXcss6+ugB0ytEBpAQ2oPcnRw/4fsLBCYh8fVlSXApaMnPf5kzcYS2xiSyeVWuyljQDIf96Tn+d75g6mYDklcFPZcmwYmxc40W3NqZAeHYaZ4640AYqol9nj/aefaAJiAgd8Pe5gAxw1eIQnnhR1RWwgi4cr+YdGu+35vVH0S6dRSTPPtAWyM7ZgwIh1ewAYtLb14Plp+TZKYQF1FqdgUD3EJKAUprlWpzzpVt37jfgOP2GHoBc4DMhE/rllIR3smRJatK1R1xVd/ZCamsCEk12bYsRe10OlzKGQ82zt0nWgH43TRPZ6hX7oknFKjcDuUEUoXfk0jVwECCgVzsgSzUs0sxys1QCIDkyBCPMr3ORIs6eAtlcnpcjUkoTqTS22gZIah9KVD+r+yCQKXMVjAsAEVnrWzg0J+eURyH+s4oItZBVXYBwjdQ+FAIuoEsePKsZ+WOqM1y8kZEbZ3TrRDowelmN7yYkTS3kZ9t2ueMzED1pATeXimdtrU6mde9Ravw6NndQyICscvQsR5CLu+33FDQ7/gnIlMwJayde1ej77mGt3Z+3f6nJYDJ0oGSs/gmIDHJR8eIIBPzWpYj7Fdco/NocgDgzLkNSp28aIk25JfbGD98SMj+hLFJDtqM0xTguCHqseZxscb13bMPAKCUAAWtCSPGLpcRyZcf7jH9Y1BrliN74sZU05z0BM0qkYB3Z/tJ8nR6rWl0KQEBhL/sYV8lD6n3bSY8cD64/xA2dkTQTi4xSA5AByDqUGAdOiy0hQ+4LbnCOz5CfHgtTFVYm2Or2oKXIL3RGtNaCAyZu4ydhq/Jl47SN0jur+M+MQICcnYOvpNT4vTR6iP2lbqb7sf4cZRyQGv5gyQbHTiZgzqymsjMFWCHlAvkfp7edzFPTwJY4l1IUlaxs92Hn8PdfIei8wx8sZI1Yi/2Qdt8Tr2uz9xySYBFIniigXJNgGKx3k0V+SR6TvQLZPFVkDyQ5BeW1wJXWjYps8p57RQBSAUiZgKClGdQuzigN71fqnE1zKwdtPW6K3ERG9AI9WwCA1dADczhDMdcBQCi2EKe1cZAzSlfzu/pkY9sz9mttNFqJleUMMqzfS/N+JCNBwAGUrEsuxwTEAFiNzXTAX2E/GjU2yH2/1quN3QHJcAWGLG4ctbCsLimIW1en2aZ6nWA7ZmIxGofb3MVDSWOb0woEhSYWUnLwAzR2ziatqwfVcu5ZgUysehUK1fxbAf8oidNy1N30rUcYCNx47is1qUWTQP5VyrVme5ltsd01ArFLvU6Banb0bGa05Ocz0kHPRqWN3SI0TEDctlGLniUTCaTmbO/4LYno3GyRqMY2gQZSM/uehtmy41VIHk9ajayNY5FfQbecsCq014mcx3KRzAJ3szjTXW+XHWcHtV2/XyPWTX0XgQIb6i+vf4rFBqAIy+t8zZUksLZTn5JAYwog2TZhcWZbxxLcXiAHL/Ebd5BdemQcePRmsVDcZBa5UnsaZk2LS1TIqbW1S4AoCbvF0mIZJnp86rSz4wcV6dE4ROynLj1+N34f4my23GQWpZtXwmRt8mduu9Vpw8GnKq5t383jbOwCp4JKYrcCD4Pn8QhLfpK73rCAySzaBMttGDrwSJM09C5Z8L52e/OLAkkLy/YtaO8h3XGpeFqk/PVvvDM02hr0VosSm/Id9oNHl2ucHxLXdoaavfklZJGhUdymijT0vRSkk5DfnJ16qFsj8ODNdyAMe/wMgEG7C7e6fWgrn7IzZciB7fHSwYljabB3Qzwiq2l9hHqo+0SzFbz5oly6Pnsh+yhvALSg1D8G5HEgcSx9SGKLo1TYVaMhYh6hbpDt6ORFIFP/5PjxoQBRef+TLmzoktHEsKnphvIp9ld/8HzYb4Qh9Fmj3YlAJuPqYfM8o86rVRjAyzZxByKe18KttxFpJ7G/fr6rfg+sCrQ0qWtpuAY8dY9r6YzwqJBvaHHDQ3Ig1VzIhV97+Huaz1zmcBrpYdAP4hllbVKBDFJVf2EZF6sPC6V3J6pa6J0uAcXylfeUx1jqLECoua43rd3jkYK+1Gw/i7ILDq4XNoELEJZ/RzI/r7zo1HXbiv1M2SvNZzrxPAVfww4e4bVwc7XSYG1yGeaqLUYg3BuOxHpnBIWFw6KCQHZWVmrNY3W1FpwqcaE5HkmWG5kJGpCNAIFrEs+QnBU98VfIjaCw8LYFB0Ibyl5t1h7SiaT999s4cIrOHA/kAxZRNSC0oeleUmDEe4snSByZzNm1appx24apNm/5uCZq9pNr//z+13dFqvGI5gNWUS2KLu1gmq+zui7Cy5EgX0pipKoa3YJb2Lqlik+Vow1PtYkH3X609r9xWdN4hHRDwUZUOxBTj7IAYZ7PCDH8gGfdiOMqD82SmCS7YPNr66Fc8InEqf/79SVYP5VpjkeKCccqO6WZXdialsTVwpn1MgBITV/KmSRX1z+Tcrw6c1PvktbsIH59k0Mcj7jZWmWnNDN4W9MymI67rl5deWI046FZiSHNG2+nrjy9HhBnf+BH//kXkxwTyyHTS2o72SlCqRPbmZaNK/QWJOrojak99aqXARlnUpt7gUmhbEmu4uvf3/3nr+9NjU0ZS28F49kL5LowJX9K1u+5fnMgLSoWIFXCdnUbuV4AssqW6PqX2rLt/dY0pMnyFA6fli6CuWwAef6lbn/7AzmiFyCWp0i8APjIo4qe4DZEenwMjPLd1ER8H7//aupF9smWxDLzCPfKNocNIBgG9pcYYGML26/b9/nKh5cEih+tQQNj7WsmmZtsH/nFQMYfGv1xSBAt8TPektui1iQ9gdPWEty+SZaOXRq7rYxusv2R0MhcKYg6D8AvOfCND+bxfK0q2b/qVXVIAAi7gv34ZonOC70AUW1iIAY3gbuyIUeBG8uEsfXtpRsvVhpeViANDLSHrwVIdXaQ2YnxV8nSQIEGEIvEknhbmOpr/jBgAWwBI2mK9B858LPpBkH2fk3nlC/pGgACMS2KzyRKr0Gvnuij4asCLArJWpJxO+atBSpcSXXghxzoSsLQOBufOaMNQ3vOQMg+tilZYYzegOgJdn611mPBBZ93AbsCPXjy2+3TSC/fmvgGxxiPm4clrkIEIJja3aRkpbwntrQKA9HJleewZOezURG6OpCXUWGNMCA/mnhrPYktLxovYXMFTUAc3S4luzkRCixUfAJC/ikecWBHdu4hkJ9NZpaDcxACBLjKEQjMvtEqf7RhfsbJ4mPMqrqNMkslpzjduXIBkAxAupIU3mUqT1ZI6qggg/5bfFf4oQXrvOHwM7KvPekvSc7bSoxTZ7o6aTEiBlLUQ+nlu7iNh/txJc5H1OblPOueGy5DVOF4KLd/kddlT0DAKDICndaRAQfy3Sh/Y0PGG8/Ub5iz7THGX7a6yQ+v9Gp8/Yy9LlsPF1c/2VCXoMnpYbUbID8k2j3Y/WG/IXjqNc1GzH5ukw3tUw64nxlrAgKk2GHydOxuDKwLNLabgfwjXsvRDEaZZJygh8c3k49d+uf3QHIfuwiELKHdAUXOJ5dRo+0yajmQbra+TvWNZzzZBs+BCf2HIovWxJSQo3DVttD4TwZESCUHomGQUxMZIyBR1Fw7kF98qrvxbBFXIJj2pMDnFCzakLzrSGoS9wgQn8LTRA2kggL1jEDcaon95d1BFYHs3IxpVWkCMr3mYVMkHXVzr2lQKJ5spAadEd2UikD+9qu+sV06OEFzD+EajBybmza5rRR/NnvVg3ba6zwiq9CVZ3YN0yW5FtN7BN8TUn9egPzNdA4a6RkeE0lhhYQfcDgDeUgWQuCZq+9ASDyS2xMnbOFDrdAXgbpkcxYgP5j8cOP7/icFUncde0cgmuK0dQwdkrPtl6i56wGIOdO2rBt4X9qRq28F8sMvEvvLu4MASN517JTiuI3yLMfHcfx7c+/q3TQlpUA0Tp+AxMAMdjs0dRfLaPcfv0jsL2fjAQi1lxzwsiXWg9/NTtIVSBMgWbNTtrRCa1X5e+GfrEBKs1C3mf3lbPyXcN0SuKW2MaMTEP4p+bNxNJi6Nd69jWsSB8Lylw2nH6n5HP8W9Ujw5wYgv6yK2t9j9NIXlMpu6aizKAk3ZczyF4F74g88BCXbUmFST4g8SZrniq58JxyvCOS7E/8+KHCEWFi4RALW7GgJzMYpl5sMo7DriF75BiCXLwjb5fqcOmqTg1KFq6pAYGoX//doOyDIlQPR+W7KQXGTOAq7+mUCIpmSGy7X/XYH0AAL/GhEWRpO7TKRbIEs2h7jTtD18eXEk9v6pECGq40DfvvliqMiBLij/kkCpP8A+/v34Jpj9hlImRhx18jbBR+/Hw/qPluLxJXu9sxTuQdUtv/x3OFhKo8aYTRbPwZnvGJV+i2K1ZcDZ0YqIhA84Fgdc51ZSZIurA8geLYoz7Yjx7SN4OfoJgIgoO3/jAaOMX2UftPo407Q7P1JHzKvF/5o1synLEQEgtQHEHgyKWz/kHbcKhZMWrmSTEBa0iWxtvaoMBZkiOD8NR/A7+5Q3ZZnfrmwYewQ9nKLmR5ARre6kvzcAEliixb7S96KOqMJOaX2KZOqI50xGOGSWizoest30uaG0VMXypWEp3YGwuqeVARW+ymM9eURwRQHraND2ZoyqU1zPr8DEm82OY22uozJ3ChXkl+DMgPpYyJLYmlH3zN+JstTn1MLYrIsBtY9kKnHpufYMSxLelYFUvoBU5IXIMwN8MQNtrlMV1wteo7h9C3Mb4DEVmbf5vLP3NxSjE40JdkBodkbsSbSbw4Mlxy4DwQcSNaFGClBBNfnN0Omq4rPaT6NKckMRNb2ijYdC01kLbsXAAARd0lEQVS/F3fqjNyH89mAFI7bEaKXBYfq+9nU8kkU27kxJVEgZEmU4kAWPuchWhzcEWAk+xlGrFhOvIgDuyO7e5iQ+b2SAyuQTf/fBCQNq8gwsray6MSEbA05BucAjyKQsgcCX/erdj51FfA4x1GVLQdSDIiN+6oTFH7igMiCH0VmsK/pFYhTfXv8CCmxDEBG+ypbPxcg2bRyM+MG2cJp60h8u9SwLS7mOITJkg0TEOgvNHkPbL64lNhta4RNDLMY4H+arlgVy5g6kCXaRcZw2hq7l05lyg0P8GgOQ0LpHWe2JL9gAB0SCpoUY7q9K//iK3j1TSNEBuK2cdF20JogBaeiEVfC3D/nzDIlCQ1jbMVJXtMTNdWPU5uVrILI1jcB4ul4nK0+TRzHehiN7/JIAPNFZTnJgZj19SjNXKCEp3JrYpUUSD/PsvXdgKQNkFVJ7EBIqVYna9174pmmc5kDcdIGxDTEO8m+nUKMWGS0Nols9XF5IpCKQBYlsdQD7Y6e0KsQCym7mnNNbEVfaeId44pkJJKSOThFDl8iW91oPZqgY+F6EMiiJHogzr8EZ41zj4X0y70HAkwxFT/lSNQhzdzTBj7xnPg/bv24dUm38OruDdeF8mzaAtlOwHmFz2bR6QcgJH/jXIIP4MgcXz4pSPDPbzwqNwNpBgTj0HmCenaHfdwI1xjJP5t7KOqXLkC0c5bJ/bDDdU1d9Ob++u9/BeqRdVl3BrKEu7u2Mn7zQczhJCnHIeQBILnFv94mKYExFJxMSvGk0Bmb/EW4IpB55WqbXyn2LShJlK2kZ16AvDwjrhe2kLlJCmVIpsmE80IjC2PCNaU4QoZdgUxt+c+gJLJGngxI2gPJoaF1XQbm22LbM+wyF+U07F1+ATKp+y6Zij9p0hj7NA9lBTIai3sCpmI3tmVWgMzXjzVgq9jbPcTHNyBAbaPXU6dNOcMHf9inTewrkEHORp7appAQquZzfslbXzCkoFvdVosrJspSJtYjb1PkiFfcOECoJJb2W4GEAHm/Aqne72ORskybl1seYiCiJRQnzoVyMTSB+QBKeQpKUg3wAmRoKRIYf4MkqPcrPiNsjyFMdPdQwrRkBhLGet6J1mZcT5vsiH56bBASNaNc/3GnRC46znirWRZC4jN6ZRuSfgXfh1hegCCfdYE2/ZSYIVQtKxCKTYDDIyYsxaP2vDzxGcGpTnwhpzkPVQ8FgryhCujcjO1H2aMQKHkli59XNz6U0fLkFPQi3q+4WjWc6C8xHrzwJn/StGqNOUYwShLBydnjP8d0vg3+QIKbYNBV/t8DGXWFT5zDxPsVVws6jxWf+5Rvu0hqt+4JiP84obFB72zzlNn5o1hVEqV/BIRrSDvLTo6kDgjOwfA1HToYT3OrYA+mNSBg6JqnrKG1Zk5qgyslda0XfgbiaFpUz7OZh0J6Zrwzwi+q4/GGqiVigPvDV07kGyLo4oeP2fDfDe1xMebIOkSA7GZwudbdD6BdBzDzUPqZL7t24UVZdpm6ljxMpCLfIEPM3qiPORtrbzJbD7Pf/3WTKlnZaVaF6ov9btrebR5Kp9SJ+TzSdH3kAS1h9NrZAmTaI7em5psenuZ2Ee/ug/d3jUsycw/kjuyj/lHwUPQt41fDe5N5AzNqCVM7EYgTzcbjHgho+/gUILzqppnGPZCs1xtveOpJ7qHoFYSbVfgBL49MimQeUwUgYB3Unm6BJDynCSBZHpebIj4AKRP33uhgJunCnZdL4/rxthRupPnAgFAIkCuSfJsHRndOnnxqMomRxtP324hSi2egVd5CFF+pLTz2uH6gOcaI41wiHUbOMkWSH4F4S8WB3KLxAmSrY7LsOx3wr5IIRSDyIkQ2Ood4MY9pCbpJ4yMsoE/AFiB+UmX+D4FMRqvNaxTioYS2kTN+1aYLF2mHZwMSXNzUpl6BQuHq24Ho+0pEXbeBh7dnbPrXYsmgqJ+A9UjBa3QfwLWBsOonICU0rwnCIbucx5Zc4ZYALUDAxmRLBkX98hx+1xN3TlQExhklvLi4n4F4tkb+36KEYzp7BcLVKHDn6j4sxJjalXw9NEzU32JTsomAXDr+dNYqVhxHPgLxOz4cCK/FFrM7gQA/SIdbGSdOFR/vQlas4Woxyh5FjlhEW+t7428e9SqemaqiAuFMxykcfgLCDOjgD+PYhLwDmULE3j/10A3EadSb9gc1jdndUeOHfPfTMnxPv1shcwbvljn4ASpF2bsaaM0bkNsAKFcGJAcgxRiUoFa3dKemkw70TGvCFuksJ1H9CCZ5m1flF81LHogzxAqkNAgxSHsg/xaIsYFASsOZQIHMC6DqG+h5z8A1i5e+6lh2YvwdT1I722FZ1SIWfwaStAUO8j8AkXa1H6lpQsKBPJpsG+xN7rPNUouSqNEbwwEvARjnrzElHi34KOBAsDSg56UBxxuQaeGh8JHCkmtAig3dtSWQYIKnCcg8leI80tBHQZfudl5AjT8CSaF5B6KWQzOAokw01TcgJlIZTojwhwJT+6GZFp418x5IMUY/AdET2YEkAJItJ8tNLAOyAqlwQqe5UFw4j94v7mcVr4xAiA+RetQvhULzYhcMiO9o3ObItGLCxd4ZyFzHR/WoDWJ243wCIqwXJflSVImTEUg2EOhkcHi+ktEgcQpqtPvqxvG2JeYjN807iGHcAFF6vwOig0kI5A5AfM7dhGcatjm7yU9IfDYX1ffu/d6uSbQHIofyb4Ao4PwGJLENewsGBpCKp2Yg7jPqk2JlUhmm3O/Nl9DUKucI5P4NEGy3afgv/rdP8ezO7Xx59oYSCJ18Y3XDPOPXNKhIiHE1GW4yHoGb212mPwJC/MenncJuqwMxB5sDangjsnXACfIjBEvTatpC/ytS1TFc3ddizySZQSLvBZEOGKTPQMSier60iLeHQMgtEwepRu92JpsjcCBkSjIw2E2jPe3Ibrx5qClW1kN/CiRMieKfjDDCgLDlScxR2MffdqpcnF6CyWGu2EafZNES5Tp75Sp/6Q+BoCioxzjCCAFCYnkSJs/cEJc3IKkpePf6WrTgh0wfjzu21StLpyq93wPJ8Odp2hNFgZQQh5rmas++AdFMwS3X2jRIfuUhVrfOru6jX2/n7/dAKvxRe9dvaSYFgmqyZKzfgOiMr9llc27AyzkkrXFDzETOEtT+IyB656ABGQRuVbhifdZPuIifn4HcwsqgeOIN1vbtC8jZJBApimHg5EGghkZ/BVLnlDxX4+FUAq3q2kkRKS4TnfoGJPunshGadPNwyNab7JEUP3qRjDQpwM3Mfs7RkbBECmTo56NzSkYgmEokqxXL7QDT7gJX9xFuaV9pn1wJb9spDbKPTyBnW0ydpWRNPwqM+E1gZfCVzUfFFBXTT20utwGMKXJzTbRx7k8yIHLlgXeJ5AaO99NQAjKQlEJ24lFguUMRd0VD+DvOGpsHtzkQF9Tbz5xy/yMJjgEkWaoUrmxKQ1OG5q0YEL15CJFcxoCtbtZhtsQCVgNCM/5NTljdSBhfY4w7YmRRvmAc0mLCbFxsYDB0yskARK9GpwKWc/Vbl6ysgfJjS08J27F80wbIbUDCgphcfrG7dmhbINdYcvM5XuUl40kmBkyRNTsOjmfeP7z0JkCKA7En97EI7oHk1kC4rekY83c6p3f0IqY6//Az+N3viGTR68nKl3T5V+388PqlRIdlzJFDUMlsxfkeoZB9c6zUJuDHJPozEJtFLg4T1O8YIP1ikArP4jJjT58ChUdPtBWjpM5A2sS+NhXO+Vj0pQyIUsuKNBTSg5wXmwJGLcsbBfrvwgf6q2jUv2+q6sWFVapuXkUtFwyCBYiD8UEgIryMvuxIIcdAgKbLGhwGV7Pn5zTF3zhKxMcZ7FTDSicRtON0NiIDByvqrRUWqjD6RoEJvN3CPkiAqzkeP0sA5FYgYOE+APG5xC+u3pICsbdQLFOOcE7RmXAC53yZFLP9SquKs7UAYXa2K3EABIwWen0tdoFIZtFr1u5RAwxAxkWvW5mrNmiN00N+xy0AEaROfQuEAnmC1qALdB/QOJ1a28yuIQDweWleEvChZPIJaGlEIp1iQLKe/ggkOf/GCrUWjtbzgLap7cY5yhYzd6w3DcJQknxYrS5bl/JVHEhZqm6ATAYq/NQuqKduo/fDC5AoWwzkwSQONADkM9D6kq1kd/PSAuSDkpDKsR864ac+fuTUjoXZhtpcbI5xIFCuA27f8wqWtxD6Z7eOo13QET2/tqkloZfizNtPnts6iAMo2UJuLKi3M5BxS5QbPq8QnafxFIZDh9yAJMP5AQhOmqMcqBuken5Yyy1Mx1gIRj+KgYSHYyraKInDp+5VcZCzAbLYfARS2qRFDz44ywRicKJGqeyBBCUhOBHe3gsQNejnQ7z70HqdgeANbB+0PW3cw/0TU4cbryfAr8ASlATPm+UanDt5m5H6oas7WtWnHQaCj53cRVROKLWPM43xUo/4qvSNvAYlgfNuuWbtomZK0mWK4DVrD/taNyr7q9l6wP3+HRCc1zQfNxcKc8KKY7mbXUeoJn30gO3ie3QmuQE6vXAni0LXy2ko1xF+0h5IbvNDRdvmvkp0LZPW0oeF1+Svr1iBlLYvdTLjr6VSBFJm0WJDE9gUqvENgbMA6KwleYncqzHlW4FU4P/N/t62RPO5POfkaeSpcypHRIFNHuf5nVXUQseNPAXhz8vvkWAgD7T1Zn/z+PfJzzeeIhAZbnNAsnCTgM1uc3UzTLUVpzn+ovC7q3uy6YUWIG+slo2QbMrYZRqO8HDXpLdVEFhW91LMzvFfTSssqcMYbBEnMZIaYFyjfRMe0n+fS28oAnm0Bzx2M71des0e9nK2VUlq/D3MV+8XjkiWZ++8AElhAfS1nAMIZqEf64HR15aOuNvaa17PbstHU3620JVDti7tpDIDgSuxiWSr8p8Kb/u/jscVt+riMTwzwEYjNob4O9NXi4MW4zF+999wuXjYp8c67dWgYkbxvYzK/O5g5fHW1V2YBE2+SqiNMqlyhIM2x/pjPMa0VW1/igPZM3ur3RrOIW2vEcNSwX1tkvPn3rnsqZip7RJ7CX9RWwxwmEWbyJaytwDZ60GWNS52Bzfvth1ldIKEutq/RbSkiedtXJYWe20g9+X+SxhHX2LYMefvMphZVncTUtwySYb/1FY2ZUy+SRA8GuVV6xzzXkqDdJGcI7tgjPhwK9MqWzAkNtS8EvrIh5adkrDF8g7ZPwNGgCq3lXG1vIprbyOareFAqfN/peY2iqZ69aweCgs7aQdkpyS1qWkTmNun8sjs5DaUgksE5dZ2lMzoGV/dUb9qmtzlzT5nc9+ElL3ku1+U5oZH9k4yODu0XsQxD2fjReF70lEdCSzDbCGZo4Vh7l0w5ro0daxROoVMFvYeN13rxY6NFL1R3WiJzhNH6xMJJyN65+0SWy3aX7sJ9Zn8LJo61nMPqYkv35SxewayKgk78CGJsRm3LIePIO+iIldYPbdFGwbCj0xNrOxD1cdQpCav+IuccCFp8rTgbQGyKglfHOMRmi+yB7iKJqqNpuH/U4zvU8MEyyXVZcNXaqbq8/KZ918WViVizBsgS0ZBAuwYjyyyZT6tTmyMhG3kNdVQEMV+Xa7sY65ONhx7JanKGc/PZQNkkS1BHOORRbZIDsJ7JNPgytYKoUZpkGAZckQQ+sbhCC1Zb3B3Gy7yWdHLJFtjwEmvDYxDsXwNxOwHZzWVF6jRAdwK5OT/HrHrcJxrfD3JluFKsk+I1yjEiZo6W2KDfhRJTuN26TGM2avcx1vnGjojlmZz+FCSg+e6s2mkMSuJhxkmW/rXgdgrq5Ffe71cnRBO40by8aSjLWeYFQijdUYszWY+VZKRe002a51T+G28hVGWgTPvY37NBcNr25B9StmmplZhAuIjCdWHf9JMVyTlJuYusVAlbTM067wR/Ox/knq/7msuTmmvVGZpIvxR9SO3/wNsWO54W+w2hwAAAABJRU5ErkJggg==);\n}\n\n\n/*\n * Homepage\n *\n * Tweaks to the custom homepage and the masthead (main jumbotron).\n */\n\n /* Masthead (headings and download button) */\n .bs-masthead {\n  position: relative;\n  padding: 30px 15px;\n  text-align: center;\n  text-shadow: 0 1px 0 rgba(0,0,0,.15);\n}\n.bs-masthead h1 {\n  font-size: 50px;\n  line-height: 1;\n  color: #fff;\n}\n.bs-masthead .btn-outline-inverse {\n  margin: 10px;\n}\n\n/* Links to project-level content like the repo, Expo, etc */\n.bs-masthead-links {\n  margin-top: 20px;\n  margin-bottom: 40px;\n  padding: 0 15px;\n  list-style: none;\n  text-align: center;\n}\n.bs-masthead-links li {\n  display: inline;\n}\n.bs-masthead-links li + li {\n  margin-left: 20px;\n}\n.bs-masthead-links a {\n  color: #fff;\n}\n\n@media (min-width: 768px) {\n  .bs-masthead {\n    text-align: left;\n    padding-top:    140px;\n    padding-bottom: 140px;\n  }\n  .bs-masthead h1 {\n    font-size: 100px;\n  }\n  .bs-masthead .lead {\n    margin-right: 25%;\n    font-size: 30px;\n  }\n  .bs-masthead .btn-outline-inverse {\n    width: auto;\n    margin: 20px 5px 20px 0;\n    padding: 18px 24px;\n    font-size: 21px;\n  }\n  .bs-masthead-links {\n    padding: 0;\n    text-align: left;\n  }\n}\n\n\n/*\n * Page headers\n *\n * Jumbotron-esque headers at the top of every page that's not the homepage.\n */\n\n\n/* Page headers */\n.bs-header {\n  padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */\n  font-size: 16px;\n  text-align: center;\n  text-shadow: 0 1px 0 rgba(0,0,0,.15);\n}\n.bs-header h1 {\n  color: #fff;\n}\n.bs-header p {\n  font-weight: 300;\n  line-height: 1.5;\n}\n.bs-header .container {\n  position: relative;\n}\n\n@media (min-width: 768px) {\n  .bs-header {\n    font-size: 21px;\n    text-align: left;\n  }\n  .bs-header h1 {\n    font-size: 60px;\n    line-height: 1;\n  }\n}\n\n@media (min-width: 992px) {\n  .bs-header h1,\n  .bs-header p {\n    margin-right: 380px;\n  }\n}\n\n\n/*\n * Carbon ads\n *\n * Single display ad that shows on all pages (except homepage) in page headers.\n * The hella `!important` is required for any pre-set property.\n */\n\n.carbonad {\n  width: auto !important;\n  margin: 50px -30px -40px !important;\n  padding: 20px !important;\n  overflow: hidden; /* clearfix */\n  height: auto !important;\n  font-size: 13px !important;\n  line-height: 16px !important;\n  text-align: left;\n  background: #463265 !important;\n  border: 0 !important;\n  box-shadow: inset 0 3px 5px rgba(0,0,0,.075);\n}\n.carbonad-img {\n  margin: 0 !important;\n}\n.carbonad-text,\n.carbonad-tag {\n  float: none !important;\n  display: block !important;\n  width: auto !important;\n  height: auto !important;\n  margin-left: 145px !important;\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif !important;\n}\n.carbonad-text {\n  padding-top: 0 !important;\n}\n.carbonad-tag {\n  color: #cdbfe3 !important;\n  text-align: left !important;\n}\n.carbonad-text a,\n.carbonad-tag a {\n  color: #fff !important;\n}\n.carbonad #azcarbon > img {\n  display: none; /* hide what I assume are tracking images */\n}\n\n@media (min-width: 768px) {\n  .carbonad {\n    margin: 0 !important;\n    border-radius: 4px;\n    box-shadow: inset 0 3px 5px rgba(0,0,0,.075), 0 1px 0 rgba(255,255,255,.1);\n  }\n}\n\n@media (min-width: 992px) {\n  .carbonad {\n    position: absolute;\n    top: 20px;\n    right: 15px; /* 15px instead of 0 since box-sizing */\n    padding: 15px !important;\n    width: 330px !important;\n  }\n}\n\n/* Homepage variations */\n.bs-docs-home .carbonad {\n  margin: 0 -15px 40px !important;\n}\n@media (min-width: 480px) {\n  .bs-docs-home .carbonad {\n    width: 330px !important;\n    margin: 0 auto 40px !important;\n    border-radius: 4px;\n  }\n}\n@media (min-width: 768px) {\n  .bs-docs-home .carbonad {\n    float: left;\n    width: 330px !important;\n    margin: 0 0 30px !important;\n  }\n  .bs-docs-home .bs-social,\n  .bs-docs-home .bs-masthead-links {\n    margin-left: 350px;\n  }\n  .bs-docs-home .bs-social {\n    margin-bottom: 10px;\n  }\n  .bs-docs-home .bs-masthead-links {\n    margin-top: 10px;\n  }\n}\n@media (min-width: 992px) {\n  .bs-docs-home .carbonad {\n    position: static;\n  }\n}\n@media (min-width: 1170px) {\n  .bs-docs-home .carbonad {\n    margin-top: -25px !important;\n  }\n}\n\n\n/*\n * Callout for 2.3.2 docs\n *\n * Only appears below page headers (not on the homepage). The homepage gets its\n * own link with the masthead links.\n */\n\n.bs-old-docs {\n  padding: 15px 20px;\n  color: #777;\n  background-color: #fafafa;\n  border-top: 1px solid #fff;\n  border-bottom: 1px solid #e5e5e5;\n}\n.bs-old-docs strong {\n  color: #555;\n}\n\n\n/*\n * Side navigation\n *\n * Scrollspy and affixed enhanced navigation to highlight sections and secondary\n * sections of docs content.\n */\n\n/* By default it's not affixed in mobile views, so undo that */\n.bs-sidebar.affix {\n  position: static;\n}\n\n/* First level of nav */\n.bs-sidenav {\n  margin-top: 30px;\n  margin-bottom: 30px;\n  padding-top:    10px;\n  padding-bottom: 10px;\n  text-shadow: 0 1px 0 #fff;\n  background-color: #f7f5fa;\n  border-radius: 5px;\n}\n\n/* All levels of nav */\n.bs-sidebar .nav > li > a {\n  display: block;\n  color: #716b7a;\n  padding: 5px 20px;\n}\n.bs-sidebar .nav > li > a:hover,\n.bs-sidebar .nav > li > a:focus {\n  text-decoration: none;\n  background-color: #e5e3e9;\n  border-right: 1px solid #dbd8e0;\n}\n.bs-sidebar .nav > .active > a,\n.bs-sidebar .nav > .active:hover > a,\n.bs-sidebar .nav > .active:focus > a {\n  font-weight: bold;\n  color: #563d7c;\n  background-color: transparent;\n  border-right: 1px solid #563d7c;\n}\n\n/* Nav: second level (shown on .active) */\n.bs-sidebar .nav .nav {\n  display: none; /* Hide by default, but at >768px, show it */\n  margin-bottom: 8px;\n}\n.bs-sidebar .nav .nav > li > a {\n  padding-top:    3px;\n  padding-bottom: 3px;\n  padding-left: 30px;\n  font-size: 90%;\n}\n\n/* Show and affix the side nav when space allows it */\n@media (min-width: 992px) {\n  .bs-sidebar .nav > .active > ul {\n    display: block;\n  }\n  /* Widen the fixed sidebar */\n  .bs-sidebar.affix,\n  .bs-sidebar.affix-bottom {\n    width: 213px;\n  }\n  .bs-sidebar.affix {\n    position: fixed; /* Undo the static from mobile first approach */\n    top: 80px;\n  }\n  .bs-sidebar.affix-bottom {\n    position: absolute; /* Undo the static from mobile first approach */\n  }\n  .bs-sidebar.affix-bottom .bs-sidenav,\n  .bs-sidebar.affix .bs-sidenav {\n    margin-top: 0;\n    margin-bottom: 0;\n  }\n}\n@media (min-width: 1200px) {\n  /* Widen the fixed sidebar again */\n  .bs-sidebar.affix-bottom,\n  .bs-sidebar.affix {\n    width: 263px;\n  }\n}\n\n\n/*\n * Docs sections\n *\n * Content blocks for each component or feature.\n */\n\n/* Space things out */\n.bs-docs-section + .bs-docs-section {\n  padding-top: 40px;\n}\n\n/* Janky fix for preventing navbar from overlapping */\nh1[id] {\n  padding-top: 80px;\n  margin-top: -45px;\n}\n\n\n/*\n * Callouts\n *\n * Not quite alerts, but custom and helpful notes for folks reading the docs.\n * Requires a base and modifier class.\n */\n\n/* Common styles for all types */\n.bs-callout {\n  margin: 20px 0;\n  padding: 20px;\n  border-left: 3px solid #eee;\n}\n.bs-callout h4 {\n  margin-top: 0;\n  margin-bottom: 5px;\n}\n.bs-callout p:last-child {\n  margin-bottom: 0;\n}\n\n/* Variations */\n.bs-callout-danger {\n  background-color: #fdf7f7;\n  border-color: #eed3d7;\n}\n.bs-callout-danger h4 {\n  color: #b94a48;\n}\n.bs-callout-warning {\n  background-color: #faf8f0;\n  border-color: #faebcc;\n}\n.bs-callout-warning h4 {\n  color: #8a6d3b;\n}\n.bs-callout-info {\n  background-color: #f4f8fa;\n  border-color: #bce8f1;\n}\n.bs-callout-info h4 {\n  color: #34789a;\n}\n\n\n/*\n * Team members\n *\n * Avatars, names, and usernames for core team.\n */\n\n.bs-team .team-member {\n  color: #555;\n  line-height: 32px;\n}\n.bs-team .team-member:hover {\n  color: #333;\n  text-decoration: none;\n}\n.bs-team .github-btn {\n  float: right;\n  margin-top: 6px;\n  width: 120px;\n  height: 20px;\n}\n.bs-team img {\n  float: left;\n  width: 32px;\n  margin-right: 10px;\n  border-radius: 4px;\n}\n\n\n/*\n * Grid examples\n *\n * Highlight the grid columns within the docs so folks can see their padding,\n * alignment, sizing, etc.\n */\n\n.show-grid {\n  margin-bottom: 15px;\n}\n.show-grid [class^=\"col-\"] {\n  padding-top: 10px;\n  padding-bottom: 10px;\n  background-color: #eee;\n  border: 1px solid #ddd;\n  background-color: rgba(86,61,124,.15);\n  border: 1px solid rgba(86,61,124,.2);\n}\n\n\n/*\n * Examples\n *\n * Isolated sections of example content for each component or feature. Usually\n * followed by a code snippet.\n */\n\n.bs-example {\n  position: relative;\n  padding: 45px 15px 15px;\n  margin: 0 -15px 15px;\n  background-color: #fafafa;\n  box-shadow: inset 0 3px 6px rgba(0,0,0,.05);\n  border-color: #e5e5e5 #eee #eee;\n  border-style: solid;\n  border-width: 1px 0;\n}\n/* Echo out a label for the example */\n.bs-example:after {\n  content: \"Example\";\n  position: absolute;\n  top:  15px;\n  left: 15px;\n  font-size: 12px;\n  font-weight: bold;\n  color: #bbb;\n  text-transform: uppercase;\n  letter-spacing: 1px;\n}\n\n/* Tweak display of the code snippets when following an example */\n.bs-example + .highlight {\n  margin: -15px -15px 15px;\n  border-radius: 0;\n  border-width: 0 0 1px;\n}\n\n/* Make the examples and snippets not full-width */\n@media (min-width: 768px) {\n  .bs-example {\n    margin-left: 0;\n    margin-right: 0;\n    background-color: #fff;\n    border-width: 1px;\n    border-color: #ddd;\n    border-radius: 4px 4px 0 0;\n    box-shadow: none;\n  }\n  .bs-example + .highlight {\n    margin-top: -16px;\n    margin-left: 0;\n    margin-right: 0;\n    border-width: 1px;\n    border-bottom-left-radius: 4px;\n    border-bottom-right-radius: 4px;\n  }\n}\n\n/* Undo width of container */\n.bs-example .container {\n  width: auto;\n}\n\n/* Tweak content of examples for optimum awesome */\n.bs-example > p:last-child,\n.bs-example > ul:last-child,\n.bs-example > ol:last-child,\n.bs-example > blockquote:last-child,\n.bs-example > .form-control:last-child,\n.bs-example > .table:last-child,\n.bs-example > .navbar:last-child,\n.bs-example > .jumbotron:last-child,\n.bs-example > .alert:last-child,\n.bs-example > .panel:last-child,\n.bs-example > .list-group:last-child,\n.bs-example > .well:last-child,\n.bs-example > .progress:last-child,\n.bs-example > .table-responsive:last-child > .table {\n  margin-bottom: 0;\n}\n.bs-example > p > .close {\n  float: none;\n}\n\n/* Typography */\n.bs-example-type .table .info {\n  color: #999;\n  vertical-align: middle;\n}\n.bs-example-type .table td {\n  padding: 15px 0;\n  border-color: #eee;\n}\n.bs-example-type .table tr:first-child td {\n  border-top: 0;\n}\n.bs-example-type h1,\n.bs-example-type h2,\n.bs-example-type h3,\n.bs-example-type h4,\n.bs-example-type h5,\n.bs-example-type h6 {\n  margin: 0;\n}\n\n/* Images */\n.bs-example > .img-circle,\n.bs-example > .img-rounded,\n.bs-example > .img-thumbnail {\n  margin: 5px;\n}\n\n/* Tables */\n.bs-example > .table-responsive > .table {\n  background-color: #fff;\n}\n\n/* Buttons */\n.bs-example > .btn,\n.bs-example > .btn-group {\n  margin-top: 5px;\n  margin-bottom: 5px;\n}\n.bs-example > .btn-toolbar + .btn-toolbar {\n  margin-top: 10px;\n}\n\n/* Forms */\n.bs-example-control-sizing select,\n.bs-example-control-sizing input[type=\"text\"] + input[type=\"text\"] {\n  margin-top: 10px;\n}\n.bs-example-form .input-group {\n  margin-bottom: 10px;\n}\n.bs-example > textarea.form-control {\n  resize: vertical;\n}\n\n/* List groups */\n.bs-example > .list-group {\n  max-width: 400px;\n}\n\n/* Navbars */\n.bs-example .navbar:last-child {\n  margin-bottom: 0;\n}\n.bs-navbar-top-example,\n.bs-navbar-bottom-example {\n  z-index: 1;\n  padding: 0;\n  overflow: hidden; /* cut the drop shadows off */\n}\n.bs-navbar-top-example .navbar-header,\n.bs-navbar-bottom-example .navbar-header {\n  margin-left: 0;\n}\n.bs-navbar-top-example .navbar-fixed-top,\n.bs-navbar-bottom-example .navbar-fixed-bottom {\n  position: relative;\n  margin-left: 0;\n  margin-right: 0;\n}\n.bs-navbar-top-example {\n  padding-bottom: 45px;\n}\n.bs-navbar-top-example:after {\n  top: auto;\n  bottom: 15px;\n}\n.bs-navbar-top-example .navbar-fixed-top {\n  top: -1px;\n}\n.bs-navbar-bottom-example {\n  padding-top: 45px;\n}\n.bs-navbar-bottom-example .navbar-fixed-bottom {\n  bottom: -1px;\n}\n.bs-navbar-bottom-example .navbar {\n  margin-bottom: 0;\n}\n@media (min-width: 768px) {\n  .bs-navbar-top-example .navbar-fixed-top,\n  .bs-navbar-bottom-example .navbar-fixed-bottom {\n    position: absolute;\n  }\n  .bs-navbar-top-example {\n    border-radius: 0 0 4px 4px;\n  }\n  .bs-navbar-bottom-example {\n    border-radius: 4px 4px 0 0;\n  }\n}\n\n/* Pagination */\n.bs-example .pagination {\n  margin-top: 10px;\n  margin-bottom: 10px;\n}\n\n/* Pager */\n.bs-example > .pager {\n  margin-top: 0;\n}\n\n/* Example modals */\n.bs-example-modal {\n  background-color: #f5f5f5;\n}\n.bs-example-modal .modal {\n  position: relative;\n  top: auto;\n  right: auto;\n  left: auto;\n  bottom: auto;\n  z-index: 1;\n  display: block;\n}\n.bs-example-modal .modal-dialog {\n  left: auto;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n/* Example dropdowns */\n.bs-example > .dropdown > .dropdown-menu {\n  position: static;\n  display: block;\n  margin-bottom: 5px;\n}\n\n/* Example tabbable tabs */\n.bs-example-tabs .nav-tabs {\n  margin-bottom: 15px;\n}\n\n/* Tooltips */\n.bs-example-tooltips {\n  text-align: center;\n}\n.bs-example-tooltips > .btn {\n  margin-top: 5px;\n  margin-bottom: 5px;\n}\n\n/* Popovers */\n.bs-example-popover {\n  padding-bottom: 24px;\n  background-color: #f9f9f9;\n}\n.bs-example-popover .popover {\n  position: relative;\n  display: block;\n  float: left;\n  width: 260px;\n  margin: 20px;\n}\n\n/* Scrollspy demo on fixed height div */\n.scrollspy-example {\n  position: relative;\n  height: 200px;\n  margin-top: 10px;\n  overflow: auto;\n}\n\n\n/*\n * Code snippets\n *\n * Generated via Pygments and Jekyll, these are snippets of HTML, CSS, and JS.\n */\n\n.highlight {\n  display: none; /* hidden by default, until >480px */\n  padding: 9px 14px;\n  margin-bottom: 14px;\n  background-color: #f7f7f9;\n  border: 1px solid #e1e1e8;\n  border-radius: 4px;\n}\n.highlight pre {\n  padding: 0;\n  margin-top: 0;\n  margin-bottom: 0;\n  background-color: transparent;\n  border: 0;\n  white-space: nowrap;\n}\n.highlight pre code {\n  font-size: inherit;\n  color: #333; /* Effectively the base text color */\n}\n.highlight pre .lineno {\n  display: inline-block;\n  width: 22px;\n  padding-right: 5px;\n  margin-right: 10px;\n  text-align: right;\n  color: #bebec5;\n}\n\n/* Show code snippets when we have the space */\n@media (min-width: 481px) {\n  .highlight {\n    display: block;\n  }\n}\n\n\n/*\n * Responsive tests\n *\n * Generate a set of tests to show the responsive utilities in action.\n */\n\n/* Responsive (scrollable) doc tables */\n.table-responsive .highlight pre {\n  white-space: normal;\n}\n\n/* Utility classes table  */\n.bs-table th small,\n.responsive-utilities th small {\n  display: block;\n  font-weight: normal;\n  color: #999;\n}\n.responsive-utilities tbody th {\n  font-weight: normal;\n}\n.responsive-utilities td {\n  text-align: center;\n}\n.responsive-utilities td.is-visible {\n  color: #468847;\n  background-color: #dff0d8 !important;\n}\n.responsive-utilities td.is-hidden {\n  color: #ccc;\n  background-color: #f9f9f9 !important;\n}\n\n/* Responsive tests */\n.responsive-utilities-test {\n  margin-top: 5px;\n}\n.responsive-utilities-test .col-xs-6 {\n  margin-bottom: 10px;\n}\n.responsive-utilities-test span {\n  padding: 15px 10px;\n  font-size: 14px;\n  font-weight: bold;\n  line-height: 1.1;\n  text-align: center;\n  border-radius: 4px;\n}\n.visible-on .col-xs-6 .hidden-xs,\n.visible-on .col-xs-6 .hidden-sm,\n.visible-on .col-xs-6 .hidden-md,\n.visible-on .col-xs-6 .hidden-lg,\n.hidden-on .col-xs-6 .hidden-xs,\n.hidden-on .col-xs-6 .hidden-sm,\n.hidden-on .col-xs-6 .hidden-md,\n.hidden-on .col-xs-6 .hidden-lg {\n  color: #999;\n  border: 1px solid #ddd;\n}\n.visible-on .col-xs-6 .visible-xs,\n.visible-on .col-xs-6 .visible-sm,\n.visible-on .col-xs-6 .visible-md,\n.visible-on .col-xs-6 .visible-lg,\n.hidden-on .col-xs-6 .visible-xs,\n.hidden-on .col-xs-6 .visible-sm,\n.hidden-on .col-xs-6 .visible-md,\n.hidden-on .col-xs-6 .visible-lg {\n  color: #468847;\n  background-color: #dff0d8;\n  border: 1px solid #d6e9c6;\n}\n\n\n/*\n * Glyphicons\n *\n * Special styles for displaying the icons and their classes in the docs.\n */\n\n.bs-glyphicons {\n  padding-left: 0;\n  padding-bottom: 1px;\n  margin-bottom: 20px;\n  list-style: none;\n  overflow: hidden;\n}\n.bs-glyphicons li {\n  float: left;\n  width: 25%;\n  height: 115px;\n  padding: 10px;\n  margin: 0 -1px -1px 0;\n  font-size: 12px;\n  line-height: 1.4;\n  text-align: center;\n  border: 1px solid #ddd;\n}\n.bs-glyphicons .glyphicon {\n  margin-top: 5px;\n  margin-bottom: 10px;\n  font-size: 24px;\n}\n.bs-glyphicons .glyphicon-class {\n  display: block;\n  text-align: center;\n  word-wrap: break-word; /* Help out IE10+ with class names */\n}\n.bs-glyphicons li:hover {\n  background-color: rgba(86,61,124,.1);\n}\n\n@media (min-width: 768px) {\n  .bs-glyphicons li {\n    width: 12.5%;\n  }\n}\n\n\n/*\n * Customizer\n *\n * Since this is so form control heavy, we have quite a few styles to customize\n * the display of inputs, headings, and more. Also included are all the download\n * buttons and actions.\n */\n\n.bs-customizer .toggle {\n  float: right;\n  margin-top: 85px; /* On account of ghetto navbar fix */\n}\n\n/* Headings and form contrls */\n.bs-customizer label {\n  margin-top: 10px;\n  font-weight: 500;\n  color: #555;\n}\n.bs-customizer h2 {\n  margin-top: 0;\n  margin-bottom: 5px;\n  padding-top: 30px;\n}\n.bs-customizer h3 {\n  margin-bottom: 0;\n}\n.bs-customizer h4 {\n  margin-top: 15px;\n  margin-bottom: 0;\n}\n.bs-customizer .bs-callout h4 {\n  margin-top: 0; /* lame, but due to specificity we have to duplicate */\n  margin-bottom: 5px;\n}\n.bs-customizer input[type=\"text\"] {\n  font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n  background-color: #fafafa;\n}\n.bs-customizer .help-block {\n  font-size: 12px;\n  margin-bottom: 5px;\n}\n\n/* For the variables, use regular weight */\n#less-section label {\n  font-weight: normal;\n}\n\n/* Downloads */\n.bs-customize-download .btn-outline {\n  padding: 20px;\n}\n\n/* Error handling */\n.bs-customizer-alert {\n  position: fixed;\n  top: 51px;\n  left: 0;\n  right: 0;\n  z-index: 1030;\n  padding: 15px 0;\n  color: #fff;\n  background-color: #d9534f;\n  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);\n  border-bottom: 1px solid #b94441;\n}\n.bs-customizer-alert .close {\n  margin-top: -4px;\n  font-size: 24px;\n}\n.bs-customizer-alert p {\n  margin-bottom: 0;\n}\n.bs-customizer-alert .glyphicon {\n  margin-right: 5px;\n}\n.bs-customizer-alert pre {\n  margin: 10px 0 0;\n  color: #fff;\n  background-color: #a83c3a;\n  border-color: #973634;\n  box-shadow: inset 0 2px 4px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);\n}\n\n\n/*\n * Miscellaneous\n *\n * Odds and ends for optimum docs display.\n */\n\n /* About page */\n .bs-about {\n  font-size: 16px;\n }\n\n/* Examples gallery: space out content better */\n.bs-examples h4 {\n  margin-bottom: 5px;\n}\n.bs-examples p {\n  margin-bottom: 20px;\n}\n\n/* Pseudo :focus state for showing how it looks in the docs */\n#focusedInput {\n  border-color: rgba(82,168,236,.8);\n  outline: 0;\n  outline: thin dotted \\9; /* IE6-9 */\n  -moz-box-shadow: 0 0 8px rgba(82,168,236,.6);\n       box-shadow: 0 0 8px rgba(82,168,236,.6);\n}\n\n/* Better spacing on download options in getting started */\n.bs-docs-dl-options h4 {\n  margin-top: 15px;\n  margin-bottom: 5px;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/css/pygments-manni.css",
    "content": ".hll { background-color: #ffffcc }\n /*{ background: #f0f3f3; }*/\n.c { color: #999; } /* Comment */\n.err { color: #AA0000; background-color: #FFAAAA } /* Error */\n.k { color: #006699; } /* Keyword */\n.o { color: #555555 } /* Operator */\n.cm { color: #0099FF; font-style: italic } /* Comment.Multiline */\n.cp { color: #009999 } /* Comment.Preproc */\n.c1 { color: #999; } /* Comment.Single */\n.cs { color: #999; } /* Comment.Special */\n.gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */\n.ge { font-style: italic } /* Generic.Emph */\n.gr { color: #FF0000 } /* Generic.Error */\n.gh { color: #003300; } /* Generic.Heading */\n.gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */\n.go { color: #AAAAAA } /* Generic.Output */\n.gp { color: #000099; } /* Generic.Prompt */\n.gs { } /* Generic.Strong */\n.gu { color: #003300; } /* Generic.Subheading */\n.gt { color: #99CC66 } /* Generic.Traceback */\n.kc { color: #006699; } /* Keyword.Constant */\n.kd { color: #006699; } /* Keyword.Declaration */\n.kn { color: #006699; } /* Keyword.Namespace */\n.kp { color: #006699 } /* Keyword.Pseudo */\n.kr { color: #006699; } /* Keyword.Reserved */\n.kt { color: #007788; } /* Keyword.Type */\n.m { color: #FF6600 } /* Literal.Number */\n.s { color: #d44950 } /* Literal.String */\n.na { color: #4f9fcf } /* Name.Attribute */\n.nb { color: #336666 } /* Name.Builtin */\n.nc { color: #00AA88; } /* Name.Class */\n.no { color: #336600 } /* Name.Constant */\n.nd { color: #9999FF } /* Name.Decorator */\n.ni { color: #999999; } /* Name.Entity */\n.ne { color: #CC0000; } /* Name.Exception */\n.nf { color: #CC00FF } /* Name.Function */\n.nl { color: #9999FF } /* Name.Label */\n.nn { color: #00CCFF; } /* Name.Namespace */\n.nt { color: #2f6f9f; } /* Name.Tag */\n.nv { color: #003333 } /* Name.Variable */\n.ow { color: #000000; } /* Operator.Word */\n.w { color: #bbbbbb } /* Text.Whitespace */\n.mf { color: #FF6600 } /* Literal.Number.Float */\n.mh { color: #FF6600 } /* Literal.Number.Hex */\n.mi { color: #FF6600 } /* Literal.Number.Integer */\n.mo { color: #FF6600 } /* Literal.Number.Oct */\n.sb { color: #CC3300 } /* Literal.String.Backtick */\n.sc { color: #CC3300 } /* Literal.String.Char */\n.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */\n.s2 { color: #CC3300 } /* Literal.String.Double */\n.se { color: #CC3300; } /* Literal.String.Escape */\n.sh { color: #CC3300 } /* Literal.String.Heredoc */\n.si { color: #AA0000 } /* Literal.String.Interpol */\n.sx { color: #CC3300 } /* Literal.String.Other */\n.sr { color: #33AAAA } /* Literal.String.Regex */\n.s1 { color: #CC3300 } /* Literal.String.Single */\n.ss { color: #FFCC33 } /* Literal.String.Symbol */\n.bp { color: #336666 } /* Name.Builtin.Pseudo */\n.vc { color: #003333 } /* Name.Variable.Class */\n.vg { color: #003333 } /* Name.Variable.Global */\n.vi { color: #003333 } /* Name.Variable.Instance */\n.il { color: #FF6600 } /* Literal.Number.Integer.Long */\n\n.css .o,\n.css .o + .nt,\n.css .nt + .nt { color: #999; }\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/application.js",
    "content": "// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT\n// IT'S ALL JUST JUNK FOR OUR DOCS!\n// ++++++++++++++++++++++++++++++++++++++++++\n\n/*!\n * Copyright 2013 Twitter, Inc.\n *\n * Licensed under the Creative Commons Attribution 3.0 Unported License. For\n * details, see http://creativecommons.org/licenses/by/3.0/.\n */\n\n\n!function ($) {\n\n  $(function(){\n\n    // IE10 viewport hack for Surface/desktop Windows 8 bug\n    //\n    // See Getting Started docs for more information\n    if (navigator.userAgent.match(/IEMobile\\/10\\.0/)) {\n      var msViewportStyle = document.createElement(\"style\");\n      msViewportStyle.appendChild(\n        document.createTextNode(\n          \"@-ms-viewport{width:auto!important}\"\n        )\n      );\n      document.getElementsByTagName(\"head\")[0].\n        appendChild(msViewportStyle);\n    }\n\n\n    var $window = $(window)\n    var $body   = $(document.body)\n\n    var navHeight = $('.navbar').outerHeight(true) + 10\n\n    $body.scrollspy({\n      target: '.bs-sidebar',\n      offset: navHeight\n    })\n\n    $window.on('load', function () {\n      $body.scrollspy('refresh')\n    })\n\n    $('.bs-docs-container [href=#]').click(function (e) {\n      e.preventDefault()\n    })\n\n    // back to top\n    setTimeout(function () {\n      var $sideBar = $('.bs-sidebar')\n\n      $sideBar.affix({\n        offset: {\n          top: function () {\n            var offsetTop      = $sideBar.offset().top\n            var sideBarMargin  = parseInt($sideBar.children(0).css('margin-top'), 10)\n            var navOuterHeight = $('.bs-docs-nav').height()\n\n            return (this.top = offsetTop - navOuterHeight - sideBarMargin)\n          }\n        , bottom: function () {\n            return (this.bottom = $('.bs-footer').outerHeight(true))\n          }\n        }\n      })\n    }, 100)\n\n    setTimeout(function () {\n      $('.bs-top').affix()\n    }, 100)\n\n    // tooltip demo\n    $('.tooltip-demo').tooltip({\n      selector: \"[data-toggle=tooltip]\",\n      container: \"body\"\n    })\n\n    $('.tooltip-test').tooltip()\n    $('.popover-test').popover()\n\n    $('.bs-docs-navbar').tooltip({\n      selector: \"a[data-toggle=tooltip]\",\n      container: \".bs-docs-navbar .nav\"\n    })\n\n    // popover demo\n    $(\"[data-toggle=popover]\")\n      .popover()\n\n    // button state demo\n    $('#fat-btn')\n      .click(function () {\n        var btn = $(this)\n        btn.button('loading')\n        setTimeout(function () {\n          btn.button('reset')\n        }, 3000)\n      })\n})\n\n}(jQuery)\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/customizer.js",
    "content": "/*!\n * Copyright 2013 Twitter, Inc.\n *\n * Licensed under the Creative Commons Attribution 3.0 Unported License. For\n * details, see http://creativecommons.org/licenses/by/3.0/.\n */\n\n\nwindow.onload = function () { // wait for load in a dumb way because B-0\n  var cw = '/*!\\n * Bootstrap v3.0.3\\n *\\n * Copyright 2013 Twitter, Inc\\n * Licensed under the Apache License v2.0\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Designed and built with all the love in the world @twitter by @mdo and @fat.\\n */\\n\\n'\n\n  function showError(msg, err) {\n    $('<div id=\"bsCustomizerAlert\" class=\"bs-customizer-alert\">\\\n        <div class=\"container\">\\\n          <a href=\"#bsCustomizerAlert\" data-dismiss=\"alert\" class=\"close pull-right\">&times;</a>\\\n          <p class=\"bs-customizer-alert-text\"><span class=\"glyphicon glyphicon-warning-sign\"></span>' + msg + '</p>' +\n          (err.extract ? '<pre class=\"bs-customizer-alert-extract\">' + err.extract.join('\\n') + '</pre>' : '') + '\\\n        </div>\\\n      </div>').appendTo('body').alert()\n    throw err\n  }\n\n  function showCallout(msg, showUpTop) {\n    var callout = $('<div class=\"bs-callout bs-callout-danger\">\\\n       <h4>Attention!</h4>\\\n      <p>' + msg + '</p>\\\n    </div>')\n\n    if (showUpTop) {\n      callout.appendTo('.bs-docs-container')\n    } else {\n      callout.insertAfter('.bs-customize-download')\n    }\n  }\n\n  function getQueryParam(key) {\n    key = key.replace(/[*+?^$.\\[\\]{}()|\\\\\\/]/g, \"\\\\$&\"); // escape RegEx meta chars\n    var match = location.search.match(new RegExp(\"[?&]\"+key+\"=([^&]+)(&|$)\"));\n    return match && decodeURIComponent(match[1].replace(/\\+/g, \" \"));\n  }\n\n  function createGist(configJson) {\n    var data = {\n      \"description\": \"Bootstrap Customizer Config\",\n      \"public\": true,\n      \"files\": {\n        \"config.json\": {\n          \"content\": configJson\n        }\n      }\n    }\n    $.ajax({\n      url: 'https://api.github.com/gists',\n      type: 'POST',\n      dataType: 'json',\n      data: JSON.stringify(data)\n    })\n    .success(function(result) {\n      var origin = window.location.protocol + \"//\" + window.location.host\n      history.replaceState(false, document.title, origin + window.location.pathname + '?id=' + result.id)\n    })\n    .error(function(err) {\n      showError('<strong>Ruh roh!</strong> Could not save gist file, configuration not saved.', err)\n    })\n  }\n\n  function getCustomizerData() {\n    var vars = {}\n\n    $('#less-variables-section input')\n        .each(function () {\n          $(this).val() && (vars[ $(this).prev().text() ] = $(this).val())\n        })\n\n    var data = {\n      vars: vars,\n      css: $('#less-section input:checked')  .map(function () { return this.value }).toArray(),\n      js:  $('#plugin-section input:checked').map(function () { return this.value }).toArray()\n    }\n\n    if ($.isEmptyObject(data.vars) && !data.css.length && !data.js.length) return\n\n    return data\n  }\n\n  function parseUrl() {\n    var id = getQueryParam('id')\n\n    if (!id) return\n\n    $.ajax({\n      url: 'https://api.github.com/gists/' + id,\n      type: 'GET',\n      dataType: 'json'\n    })\n    .success(function(result) {\n      var data = JSON.parse(result.files['config.json'].content)\n      if (data.js) {\n        $('#plugin-section input').each(function () {\n          $(this).prop('checked', ~$.inArray(this.value, data.js))\n        })\n      }\n      if (data.css) {\n        $('#less-section input').each(function () {\n          $(this).prop('checked', ~$.inArray(this.value, data.css))\n        })\n      }\n      if (data.vars) {\n        for (var i in data.vars) {\n          $('input[data-var=\"' + i + '\"]').val(data.vars[i])\n        }\n      }\n    })\n    .error(function(err) {\n      showError('Error fetching bootstrap config file', err)\n    })\n  }\n\n  function generateZip(css, js, fonts, config, complete) {\n    if (!css && !js) return showError('<strong>Ruh roh!</strong> No Bootstrap files selected.', new Error('no Bootstrap'))\n\n    var zip = new JSZip()\n\n    if (css) {\n      var cssFolder = zip.folder('css')\n      for (var fileName in css) {\n        cssFolder.file(fileName, css[fileName])\n      }\n    }\n\n    if (js) {\n      var jsFolder = zip.folder('js')\n      for (var fileName in js) {\n        jsFolder.file(fileName, js[fileName])\n      }\n    }\n\n    if (fonts) {\n      var fontsFolder = zip.folder('fonts')\n      for (var fileName in fonts) {\n        fontsFolder.file(fileName, fonts[fileName], {base64: true})\n      }\n    }\n\n    if (config) {\n      zip.file('config.json', config)\n    }\n\n    var content = zip.generate({type:\"blob\"})\n\n    complete(content)\n  }\n\n  function generateCustomCSS(vars) {\n    var result = ''\n\n    for (var key in vars) {\n      result += key + ': ' + vars[key] + ';\\n'\n    }\n\n    return result + '\\n\\n'\n  }\n\n  function generateFonts() {\n    var glyphicons = $('#less-section [value=\"glyphicons.less\"]:checked')\n    if (glyphicons.length) {\n      return __fonts\n    }\n  }\n\n  // Returns an Array of @import'd filenames from 'bootstrap.less' in the order\n  // in which they appear in the file.\n  function bootstrapLessFilenames() {\n    var IMPORT_REGEX = /^@import \\\"(.*?)\\\";$/\n    var bootstrapLessLines = __less['bootstrap.less'].split('\\n')\n\n    for (var i = 0, imports = []; i < bootstrapLessLines.length; i++) {\n      var match = IMPORT_REGEX.exec(bootstrapLessLines[i])\n      if (match) imports.push(match[1])\n    }\n\n    return imports\n  }\n\n  function generateCSS() {\n    var oneChecked = false\n    var lessFileIncludes = {}\n    $('#less-section input').each(function() {\n      var $this = $(this)\n      var checked = $this.is(':checked')\n      lessFileIncludes[$this.val()] = checked\n\n      oneChecked = oneChecked || checked\n    })\n\n    if (!oneChecked) return false\n\n    var result = {}\n    var vars = {}\n    var css = ''\n\n    $('#less-variables-section input')\n        .each(function () {\n          $(this).val() && (vars[ $(this).prev().text() ] = $(this).val())\n        })\n\n    $.each(bootstrapLessFilenames(), function(index, filename) {\n      var fileInclude = lessFileIncludes[filename]\n\n      // Files not explicitly unchecked are compiled into the final stylesheet.\n      // Core stylesheets like 'normalize.less' are not included in the form\n      // since disabling them would wreck everything, and so their 'fileInclude'\n      // will be 'undefined'.\n      if (fileInclude || (fileInclude == null)) css += __less[filename]\n\n      // Custom variables are added after Bootstrap variables so the custom\n      // ones take precedence.\n      if (('variables.less' === filename) && vars) css += generateCustomCSS(vars)\n    })\n\n    css = css.replace(/@import[^\\n]*/gi, '') //strip any imports\n\n    try {\n      var parser = new less.Parser({\n          paths: ['variables.less', 'mixins.less']\n        , optimization: 0\n        , filename: 'bootstrap.css'\n      }).parse(css, function (err, tree) {\n        if (err) {\n          return showError('<strong>Ruh roh!</strong> Could not parse less files.', err)\n        }\n        result = {\n          'bootstrap.css'     : cw + tree.toCSS(),\n          'bootstrap.min.css' : cw + tree.toCSS({ compress: true }).replace(/\\n/g, '') // FIXME: remove newline hack once less.js upgraded to v1.4\n        }\n      })\n    } catch (err) {\n      return showError('<strong>Ruh roh!</strong> Could not parse less files.', err)\n    }\n\n    return result\n  }\n\n  function generateJavascript() {\n    var $checked = $('#plugin-section input:checked')\n    if (!$checked.length) return false\n\n    var js = $checked\n      .map(function () { return __js[this.value] })\n      .toArray()\n      .join('\\n')\n\n    return {\n      'bootstrap.js': js,\n      'bootstrap.min.js': cw + uglify(js)\n    }\n  }\n\n  var inputsComponent = $('#less-section input')\n  var inputsPlugin    = $('#plugin-section input')\n  var inputsVariables = $('#less-variables-section input')\n\n  $('#less-section .toggle').on('click', function (e) {\n    e.preventDefault()\n    inputsComponent.prop('checked', !inputsComponent.is(':checked'))\n  })\n\n  $('#plugin-section .toggle').on('click', function (e) {\n    e.preventDefault()\n    inputsPlugin.prop('checked', !inputsPlugin.is(':checked'))\n  })\n\n  $('#less-variables-section .toggle').on('click', function (e) {\n    e.preventDefault()\n    inputsVariables.val('')\n  })\n\n  $('[data-dependencies]').on('click', function () {\n    if (!$(this).is(':checked')) return\n    var dependencies = this.getAttribute('data-dependencies')\n    if (!dependencies) return\n    dependencies = dependencies.split(',')\n    for (var i = 0; i < dependencies.length; i++) {\n      var dependency = $('[value=\"' + dependencies[i] + '\"]')\n      dependency && dependency.prop('checked', true)\n    }\n  })\n\n  $('[data-dependents]').on('click', function () {\n    if ($(this).is(':checked')) return\n    var dependents = this.getAttribute('data-dependents')\n    if (!dependents) return\n    dependents = dependents.split(',')\n    for (var i = 0; i < dependents.length; i++) {\n      var dependent = $('[value=\"' + dependents[i] + '\"]')\n      dependent && dependent.prop('checked', false)\n    }\n  })\n\n  var $compileBtn = $('#btn-compile')\n  var $downloadBtn = $('#btn-download')\n\n  $compileBtn.on('click', function (e) {\n    var configData = getCustomizerData()\n    var configJson = JSON.stringify(configData, null, 2)\n\n    e.preventDefault()\n\n    $compileBtn.attr('disabled', 'disabled')\n\n    generateZip(generateCSS(), generateJavascript(), generateFonts(), configJson, function (blob) {\n      $compileBtn.removeAttr('disabled')\n      saveAs(blob, \"bootstrap.zip\")\n      createGist(configJson)\n    })\n  })\n\n  // browser support alerts\n  if (!window.URL && navigator.userAgent.toLowerCase().indexOf('safari') != -1) {\n    showCallout(\"Looks like you're using safari, which sadly doesn't have the best support\\\n                 for HTML5 blobs. Because of this your file will be downloaded with the name <code>\\\"untitled\\\"</code>.\\\n                 However, if you check your downloads folder, just rename this <code>\\\"untitled\\\"</code> file\\\n                 to <code>\\\"bootstrap.zip\\\"</code> and you should be good to go!\")\n  } else if (!window.URL && !window.webkitURL) {\n    $('.bs-docs-section, .bs-sidebar').css('display', 'none')\n\n    showCallout(\"Looks like your current browser doesn't support the Bootstrap Customizer. Please take a second\\\n                to <a href=\\\"https://www.google.com/intl/en/chrome/browser/\\\"> upgrade to a more modern browser</a>.\", true)\n  }\n\n  parseUrl()\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/filesaver.js",
    "content": "/* Blob.js\n * A Blob implementation.\n * 2013-06-20\n *\n * By Eli Grey, http://eligrey.com\n * By Devin Samarin, https://github.com/eboyjr\n * License: X11/MIT\n *   See LICENSE.md\n */\n\n/*global self, unescape */\n/*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true,\n  plusplus: true */\n\n/*! @source http://purl.eligrey.com/github/Blob.js/blob/master/Blob.js */\n\nif (!(typeof Blob === \"function\" || typeof Blob === \"object\") || typeof URL === \"undefined\")\nif ((typeof Blob === \"function\" || typeof Blob === \"object\") && typeof webkitURL !== \"undefined\") self.URL = webkitURL;\nelse var Blob = (function (view) {\n\t\"use strict\";\n\n\tvar BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder || view.MSBlobBuilder || (function(view) {\n\t\tvar\n\t\t\t  get_class = function(object) {\n\t\t\t\treturn Object.prototype.toString.call(object).match(/^\\[object\\s(.*)\\]$/)[1];\n\t\t\t}\n\t\t\t, FakeBlobBuilder = function BlobBuilder() {\n\t\t\t\tthis.data = [];\n\t\t\t}\n\t\t\t, FakeBlob = function Blob(data, type, encoding) {\n\t\t\t\tthis.data = data;\n\t\t\t\tthis.size = data.length;\n\t\t\t\tthis.type = type;\n\t\t\t\tthis.encoding = encoding;\n\t\t\t}\n\t\t\t, FBB_proto = FakeBlobBuilder.prototype\n\t\t\t, FB_proto = FakeBlob.prototype\n\t\t\t, FileReaderSync = view.FileReaderSync\n\t\t\t, FileException = function(type) {\n\t\t\t\tthis.code = this[this.name = type];\n\t\t\t}\n\t\t\t, file_ex_codes = (\n\t\t\t\t  \"NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR \"\n\t\t\t\t+ \"NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR\"\n\t\t\t).split(\" \")\n\t\t\t, file_ex_code = file_ex_codes.length\n\t\t\t, real_URL = view.URL || view.webkitURL || view\n\t\t\t, real_create_object_URL = real_URL.createObjectURL\n\t\t\t, real_revoke_object_URL = real_URL.revokeObjectURL\n\t\t\t, URL = real_URL\n\t\t\t, btoa = view.btoa\n\t\t\t, atob = view.atob\n\n\t\t\t, ArrayBuffer = view.ArrayBuffer\n\t\t\t, Uint8Array = view.Uint8Array\n\t\t;\n\t\tFakeBlob.fake = FB_proto.fake = true;\n\t\twhile (file_ex_code--) {\n\t\t\tFileException.prototype[file_ex_codes[file_ex_code]] = file_ex_code + 1;\n\t\t}\n\t\tif (!real_URL.createObjectURL) {\n\t\t\tURL = view.URL = {};\n\t\t}\n\t\tURL.createObjectURL = function(blob) {\n\t\t\tvar\n\t\t\t\t  type = blob.type\n\t\t\t\t, data_URI_header\n\t\t\t;\n\t\t\tif (type === null) {\n\t\t\t\ttype = \"application/octet-stream\";\n\t\t\t}\n\t\t\tif (blob instanceof FakeBlob) {\n\t\t\t\tdata_URI_header = \"data:\" + type;\n\t\t\t\tif (blob.encoding === \"base64\") {\n\t\t\t\t\treturn data_URI_header + \";base64,\" + blob.data;\n\t\t\t\t} else if (blob.encoding === \"URI\") {\n\t\t\t\t\treturn data_URI_header + \",\" + decodeURIComponent(blob.data);\n\t\t\t\t} if (btoa) {\n\t\t\t\t\treturn data_URI_header + \";base64,\" + btoa(blob.data);\n\t\t\t\t} else {\n\t\t\t\t\treturn data_URI_header + \",\" + encodeURIComponent(blob.data);\n\t\t\t\t}\n\t\t\t} else if (real_create_object_URL) {\n\t\t\t\treturn real_create_object_URL.call(real_URL, blob);\n\t\t\t}\n\t\t};\n\t\tURL.revokeObjectURL = function(object_URL) {\n\t\t\tif (object_URL.substring(0, 5) !== \"data:\" && real_revoke_object_URL) {\n\t\t\t\treal_revoke_object_URL.call(real_URL, object_URL);\n\t\t\t}\n\t\t};\n\t\tFBB_proto.append = function(data/*, endings*/) {\n\t\t\tvar bb = this.data;\n\t\t\t// decode data to a binary string\n\t\t\tif (Uint8Array && (data instanceof ArrayBuffer || data instanceof Uint8Array)) {\n\t\t\t\tvar\n\t\t\t\t\t  str = \"\"\n\t\t\t\t\t, buf = new Uint8Array(data)\n\t\t\t\t\t, i = 0\n\t\t\t\t\t, buf_len = buf.length\n\t\t\t\t;\n\t\t\t\tfor (; i < buf_len; i++) {\n\t\t\t\t\tstr += String.fromCharCode(buf[i]);\n\t\t\t\t}\n\t\t\t\tbb.push(str);\n\t\t\t} else if (get_class(data) === \"Blob\" || get_class(data) === \"File\") {\n\t\t\t\tif (FileReaderSync) {\n\t\t\t\t\tvar fr = new FileReaderSync;\n\t\t\t\t\tbb.push(fr.readAsBinaryString(data));\n\t\t\t\t} else {\n\t\t\t\t\t// async FileReader won't work as BlobBuilder is sync\n\t\t\t\t\tthrow new FileException(\"NOT_READABLE_ERR\");\n\t\t\t\t}\n\t\t\t} else if (data instanceof FakeBlob) {\n\t\t\t\tif (data.encoding === \"base64\" && atob) {\n\t\t\t\t\tbb.push(atob(data.data));\n\t\t\t\t} else if (data.encoding === \"URI\") {\n\t\t\t\t\tbb.push(decodeURIComponent(data.data));\n\t\t\t\t} else if (data.encoding === \"raw\") {\n\t\t\t\t\tbb.push(data.data);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (typeof data !== \"string\") {\n\t\t\t\t\tdata += \"\"; // convert unsupported types to strings\n\t\t\t\t}\n\t\t\t\t// decode UTF-16 to binary string\n\t\t\t\tbb.push(unescape(encodeURIComponent(data)));\n\t\t\t}\n\t\t};\n\t\tFBB_proto.getBlob = function(type) {\n\t\t\tif (!arguments.length) {\n\t\t\t\ttype = null;\n\t\t\t}\n\t\t\treturn new FakeBlob(this.data.join(\"\"), type, \"raw\");\n\t\t};\n\t\tFBB_proto.toString = function() {\n\t\t\treturn \"[object BlobBuilder]\";\n\t\t};\n\t\tFB_proto.slice = function(start, end, type) {\n\t\t\tvar args = arguments.length;\n\t\t\tif (args < 3) {\n\t\t\t\ttype = null;\n\t\t\t}\n\t\t\treturn new FakeBlob(\n\t\t\t\t  this.data.slice(start, args > 1 ? end : this.data.length)\n\t\t\t\t, type\n\t\t\t\t, this.encoding\n\t\t\t);\n\t\t};\n\t\tFB_proto.toString = function() {\n\t\t\treturn \"[object Blob]\";\n\t\t};\n\t\treturn FakeBlobBuilder;\n\t}(view));\n\n\treturn function Blob(blobParts, options) {\n\t\tvar type = options ? (options.type || \"\") : \"\";\n\t\tvar builder = new BlobBuilder();\n\t\tif (blobParts) {\n\t\t\tfor (var i = 0, len = blobParts.length; i < len; i++) {\n\t\t\t\tbuilder.append(blobParts[i]);\n\t\t\t}\n\t\t}\n\t\treturn builder.getBlob(type);\n\t};\n}(self));\n\n/* FileSaver.js\n * A saveAs() FileSaver implementation.\n * 2013-10-21\n *\n * By Eli Grey, http://eligrey.com\n * License: X11/MIT\n *   See LICENSE.md\n */\n\n/*global self */\n/*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true,\n  plusplus: true */\n\n/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */\n\nvar saveAs = saveAs\n  || (typeof navigator !== 'undefined' && navigator.msSaveOrOpenBlob && navigator.msSaveOrOpenBlob.bind(navigator))\n  || (function(view) {\n\t\"use strict\";\n\tvar\n\t\t  doc = view.document\n\t\t  // only get URL when necessary in case BlobBuilder.js hasn't overridden it yet\n\t\t, get_URL = function() {\n\t\t\treturn view.URL || view.webkitURL || view;\n\t\t}\n\t\t, URL = view.URL || view.webkitURL || view\n\t\t, save_link = doc.createElementNS(\"http://www.w3.org/1999/xhtml\", \"a\")\n\t\t, can_use_save_link =  !view.externalHost && \"download\" in save_link\n\t\t, click = function(node) {\n\t\t\tvar event = doc.createEvent(\"MouseEvents\");\n\t\t\tevent.initMouseEvent(\n\t\t\t\t\"click\", true, false, view, 0, 0, 0, 0, 0\n\t\t\t\t, false, false, false, false, 0, null\n\t\t\t);\n\t\t\tnode.dispatchEvent(event);\n\t\t}\n\t\t, webkit_req_fs = view.webkitRequestFileSystem\n\t\t, req_fs = view.requestFileSystem || webkit_req_fs || view.mozRequestFileSystem\n\t\t, throw_outside = function (ex) {\n\t\t\t(view.setImmediate || view.setTimeout)(function() {\n\t\t\t\tthrow ex;\n\t\t\t}, 0);\n\t\t}\n\t\t, force_saveable_type = \"application/octet-stream\"\n\t\t, fs_min_size = 0\n\t\t, deletion_queue = []\n\t\t, process_deletion_queue = function() {\n\t\t\tvar i = deletion_queue.length;\n\t\t\twhile (i--) {\n\t\t\t\tvar file = deletion_queue[i];\n\t\t\t\tif (typeof file === \"string\") { // file is an object URL\n\t\t\t\t\tURL.revokeObjectURL(file);\n\t\t\t\t} else { // file is a File\n\t\t\t\t\tfile.remove();\n\t\t\t\t}\n\t\t\t}\n\t\t\tdeletion_queue.length = 0; // clear queue\n\t\t}\n\t\t, dispatch = function(filesaver, event_types, event) {\n\t\t\tevent_types = [].concat(event_types);\n\t\t\tvar i = event_types.length;\n\t\t\twhile (i--) {\n\t\t\t\tvar listener = filesaver[\"on\" + event_types[i]];\n\t\t\t\tif (typeof listener === \"function\") {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tlistener.call(filesaver, event || filesaver);\n\t\t\t\t\t} catch (ex) {\n\t\t\t\t\t\tthrow_outside(ex);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t, FileSaver = function(blob, name) {\n\t\t\t// First try a.download, then web filesystem, then object URLs\n\t\t\tvar\n\t\t\t\t  filesaver = this\n\t\t\t\t, type = blob.type\n\t\t\t\t, blob_changed = false\n\t\t\t\t, object_url\n\t\t\t\t, target_view\n\t\t\t\t, get_object_url = function() {\n\t\t\t\t\tvar object_url = get_URL().createObjectURL(blob);\n\t\t\t\t\tdeletion_queue.push(object_url);\n\t\t\t\t\treturn object_url;\n\t\t\t\t}\n\t\t\t\t, dispatch_all = function() {\n\t\t\t\t\tdispatch(filesaver, \"writestart progress write writeend\".split(\" \"));\n\t\t\t\t}\n\t\t\t\t// on any filesys errors revert to saving with object URLs\n\t\t\t\t, fs_error = function() {\n\t\t\t\t\t// don't create more object URLs than needed\n\t\t\t\t\tif (blob_changed || !object_url) {\n\t\t\t\t\t\tobject_url = get_object_url(blob);\n\t\t\t\t\t}\n\t\t\t\t\tif (target_view) {\n\t\t\t\t\t\ttarget_view.location.href = object_url;\n\t\t\t\t\t} else {\n                        window.open(object_url, \"_blank\");\n                    }\n\t\t\t\t\tfilesaver.readyState = filesaver.DONE;\n\t\t\t\t\tdispatch_all();\n\t\t\t\t}\n\t\t\t\t, abortable = function(func) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif (filesaver.readyState !== filesaver.DONE) {\n\t\t\t\t\t\t\treturn func.apply(this, arguments);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t, create_if_not_found = {create: true, exclusive: false}\n\t\t\t\t, slice\n\t\t\t;\n\t\t\tfilesaver.readyState = filesaver.INIT;\n\t\t\tif (!name) {\n\t\t\t\tname = \"download\";\n\t\t\t}\n\t\t\tif (can_use_save_link) {\n\t\t\t\tobject_url = get_object_url(blob);\n\t\t\t\t// FF for Android has a nasty garbage collection mechanism\n\t\t\t\t// that turns all objects that are not pure javascript into 'deadObject'\n\t\t\t\t// this means `doc` and `save_link` are unusable and need to be recreated\n\t\t\t\t// `view` is usable though:\n\t\t\t\tdoc = view.document;\n\t\t\t\tsave_link = doc.createElementNS(\"http://www.w3.org/1999/xhtml\", \"a\");\n\t\t\t\tsave_link.href = object_url;\n\t\t\t\tsave_link.download = name;\n\t\t\t\tvar event = doc.createEvent(\"MouseEvents\");\n\t\t\t\tevent.initMouseEvent(\n\t\t\t\t\t\"click\", true, false, view, 0, 0, 0, 0, 0\n\t\t\t\t\t, false, false, false, false, 0, null\n\t\t\t\t);\n\t\t\t\tsave_link.dispatchEvent(event);\n\t\t\t\tfilesaver.readyState = filesaver.DONE;\n\t\t\t\tdispatch_all();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// Object and web filesystem URLs have a problem saving in Google Chrome when\n\t\t\t// viewed in a tab, so I force save with application/octet-stream\n\t\t\t// http://code.google.com/p/chromium/issues/detail?id=91158\n\t\t\tif (view.chrome && type && type !== force_saveable_type) {\n\t\t\t\tslice = blob.slice || blob.webkitSlice;\n\t\t\t\tblob = slice.call(blob, 0, blob.size, force_saveable_type);\n\t\t\t\tblob_changed = true;\n\t\t\t}\n\t\t\t// Since I can't be sure that the guessed media type will trigger a download\n\t\t\t// in WebKit, I append .download to the filename.\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=65440\n\t\t\tif (webkit_req_fs && name !== \"download\") {\n\t\t\t\tname += \".download\";\n\t\t\t}\n\t\t\tif (type === force_saveable_type || webkit_req_fs) {\n\t\t\t\ttarget_view = view;\n\t\t\t}\n\t\t\tif (!req_fs) {\n\t\t\t\tfs_error();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tfs_min_size += blob.size;\n\t\t\treq_fs(view.TEMPORARY, fs_min_size, abortable(function(fs) {\n\t\t\t\tfs.root.getDirectory(\"saved\", create_if_not_found, abortable(function(dir) {\n\t\t\t\t\tvar save = function() {\n\t\t\t\t\t\tdir.getFile(name, create_if_not_found, abortable(function(file) {\n\t\t\t\t\t\t\tfile.createWriter(abortable(function(writer) {\n\t\t\t\t\t\t\t\twriter.onwriteend = function(event) {\n\t\t\t\t\t\t\t\t\ttarget_view.location.href = file.toURL();\n\t\t\t\t\t\t\t\t\tdeletion_queue.push(file);\n\t\t\t\t\t\t\t\t\tfilesaver.readyState = filesaver.DONE;\n\t\t\t\t\t\t\t\t\tdispatch(filesaver, \"writeend\", event);\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\twriter.onerror = function() {\n\t\t\t\t\t\t\t\t\tvar error = writer.error;\n\t\t\t\t\t\t\t\t\tif (error.code !== error.ABORT_ERR) {\n\t\t\t\t\t\t\t\t\t\tfs_error();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\"writestart progress write abort\".split(\" \").forEach(function(event) {\n\t\t\t\t\t\t\t\t\twriter[\"on\" + event] = filesaver[\"on\" + event];\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\twriter.write(blob);\n\t\t\t\t\t\t\t\tfilesaver.abort = function() {\n\t\t\t\t\t\t\t\t\twriter.abort();\n\t\t\t\t\t\t\t\t\tfilesaver.readyState = filesaver.DONE;\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tfilesaver.readyState = filesaver.WRITING;\n\t\t\t\t\t\t\t}), fs_error);\n\t\t\t\t\t\t}), fs_error);\n\t\t\t\t\t};\n\t\t\t\t\tdir.getFile(name, {create: false}, abortable(function(file) {\n\t\t\t\t\t\t// delete file if it already exists\n\t\t\t\t\t\tfile.remove();\n\t\t\t\t\t\tsave();\n\t\t\t\t\t}), abortable(function(ex) {\n\t\t\t\t\t\tif (ex.code === ex.NOT_FOUND_ERR) {\n\t\t\t\t\t\t\tsave();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tfs_error();\n\t\t\t\t\t\t}\n\t\t\t\t\t}));\n\t\t\t\t}), fs_error);\n\t\t\t}), fs_error);\n\t\t}\n\t\t, FS_proto = FileSaver.prototype\n\t\t, saveAs = function(blob, name) {\n\t\t\treturn new FileSaver(blob, name);\n\t\t}\n\t;\n\tFS_proto.abort = function() {\n\t\tvar filesaver = this;\n\t\tfilesaver.readyState = filesaver.DONE;\n\t\tdispatch(filesaver, \"abort\");\n\t};\n\tFS_proto.readyState = FS_proto.INIT = 0;\n\tFS_proto.WRITING = 1;\n\tFS_proto.DONE = 2;\n\n\tFS_proto.error =\n\tFS_proto.onwritestart =\n\tFS_proto.onprogress =\n\tFS_proto.onwrite =\n\tFS_proto.onabort =\n\tFS_proto.onerror =\n\tFS_proto.onwriteend =\n\t\tnull;\n\n\tview.addEventListener(\"unload\", process_deletion_queue, false);\n\treturn saveAs;\n}(this.self || this.window || this.content));\n// `self` is undefined in Firefox for Android content script context\n// while `this` is nsIContentFrameMessageManager\n// with an attribute `content` that corresponds to the window\n\nif (typeof module !== 'undefined') module.exports = saveAs;\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/holder.js",
    "content": "/*\n\nHolder - 2.2 - client side image placeholders\n(c) 2012-2013 Ivan Malopinsky / http://imsky.co\n\nProvided under the MIT License.\nCommercial use requires attribution.\n\n*/\n\nvar Holder = Holder || {};\n(function (app, win) {\n\nvar preempted = false,\nfallback = false,\ncanvas = document.createElement('canvas');\nvar dpr = 1, bsr = 1;\nvar resizable_images = [];\n\nif (!canvas.getContext) {\n\tfallback = true;\n} else {\n\tif (canvas.toDataURL(\"image/png\")\n\t\t.indexOf(\"data:image/png\") < 0) {\n\t\t//Android doesn't support data URI\n\t\tfallback = true;\n\t} else {\n\t\tvar ctx = canvas.getContext(\"2d\");\n\t}\n}\n\nif(!fallback){\n    dpr = window.devicePixelRatio || 1,\n    bsr = ctx.webkitBackingStorePixelRatio || ctx.mozBackingStorePixelRatio || ctx.msBackingStorePixelRatio || ctx.oBackingStorePixelRatio || ctx.backingStorePixelRatio || 1;\n}\n\nvar ratio = dpr / bsr;\n\nvar settings = {\n\tdomain: \"holder.js\",\n\timages: \"img\",\n\tbgnodes: \".holderjs\",\n\tthemes: {\n\t\t\"gray\": {\n\t\t\tbackground: \"#eee\",\n\t\t\tforeground: \"#aaa\",\n\t\t\tsize: 12\n\t\t},\n\t\t\"social\": {\n\t\t\tbackground: \"#3a5a97\",\n\t\t\tforeground: \"#fff\",\n\t\t\tsize: 12\n\t\t},\n\t\t\"industrial\": {\n\t\t\tbackground: \"#434A52\",\n\t\t\tforeground: \"#C2F200\",\n\t\t\tsize: 12\n\t\t},\n\t\t\"sky\": {\n\t\t\tbackground: \"#0D8FDB\",\n\t\t\tforeground: \"#fff\",\n\t\t\tsize: 12\n\t\t},\n\t\t\"vine\": {\n\t\t\tbackground: \"#39DBAC\",\n\t\t\tforeground: \"#1E292C\",\n\t\t\tsize: 12\n\t\t},\n\t\t\"lava\": {\n\t\t\tbackground: \"#F8591A\",\n\t\t\tforeground: \"#1C2846\",\n\t\t\tsize: 12\n\t\t}\n\t},\n\tstylesheet: \"\"\n};\napp.flags = {\n\tdimensions: {\n\t\tregex: /^(\\d+)x(\\d+)$/,\n\t\toutput: function (val) {\n\t\t\tvar exec = this.regex.exec(val);\n\t\t\treturn {\n\t\t\t\twidth: +exec[1],\n\t\t\t\theight: +exec[2]\n\t\t\t}\n\t\t}\n\t},\n\tfluid: {\n\t\tregex: /^([0-9%]+)x([0-9%]+)$/,\n\t\toutput: function (val) {\n\t\t\tvar exec = this.regex.exec(val);\n\t\t\treturn {\n\t\t\t\twidth: exec[1],\n\t\t\t\theight: exec[2]\n\t\t\t}\n\t\t}\n\t},\n\tcolors: {\n\t\tregex: /#([0-9a-f]{3,})\\:#([0-9a-f]{3,})/i,\n\t\toutput: function (val) {\n\t\t\tvar exec = this.regex.exec(val);\n\t\t\treturn {\n\t\t\t\tsize: settings.themes.gray.size,\n\t\t\t\tforeground: \"#\" + exec[2],\n\t\t\t\tbackground: \"#\" + exec[1]\n\t\t\t}\n\t\t}\n\t},\n\ttext: {\n\t\tregex: /text\\:(.*)/,\n\t\toutput: function (val) {\n\t\t\treturn this.regex.exec(val)[1];\n\t\t}\n\t},\n\tfont: {\n\t\tregex: /font\\:(.*)/,\n\t\toutput: function (val) {\n\t\t\treturn this.regex.exec(val)[1];\n\t\t}\n\t},\n\tauto: {\n\t\tregex: /^auto$/\n\t},\n\ttextmode: {\n\t\tregex: /textmode\\:(.*)/,\n\t\toutput: function(val){\n\t\t\treturn this.regex.exec(val)[1];\n\t\t}\n\t}\n}\n\n//getElementsByClassName polyfill\ndocument.getElementsByClassName||(document.getElementsByClassName=function(e){var t=document,n,r,i,s=[];if(t.querySelectorAll)return t.querySelectorAll(\".\"+e);if(t.evaluate){r=\".//*[contains(concat(' ', @class, ' '), ' \"+e+\" ')]\",n=t.evaluate(r,t,null,0,null);while(i=n.iterateNext())s.push(i)}else{n=t.getElementsByTagName(\"*\"),r=new RegExp(\"(^|\\\\s)\"+e+\"(\\\\s|$)\");for(i=0;i<n.length;i++)r.test(n[i].className)&&s.push(n[i])}return s})\n\n//getComputedStyle polyfill\nwindow.getComputedStyle||(window.getComputedStyle=function(e){return this.el=e,this.getPropertyValue=function(t){var n=/(\\-([a-z]){1})/g;return t==\"float\"&&(t=\"styleFloat\"),n.test(t)&&(t=t.replace(n,function(){return arguments[2].toUpperCase()})),e.currentStyle[t]?e.currentStyle[t]:null},this})\n\n//http://javascript.nwbox.com/ContentLoaded by Diego Perini with modifications\nfunction contentLoaded(n,t){var l=\"complete\",s=\"readystatechange\",u=!1,h=u,c=!0,i=n.document,a=i.documentElement,e=i.addEventListener?\"addEventListener\":\"attachEvent\",v=i.addEventListener?\"removeEventListener\":\"detachEvent\",f=i.addEventListener?\"\":\"on\",r=function(e){(e.type!=s||i.readyState==l)&&((e.type==\"load\"?n:i)[v](f+e.type,r,u),!h&&(h=!0)&&t.call(n,null))},o=function(){try{a.doScroll(\"left\")}catch(n){setTimeout(o,50);return}r(\"poll\")};if(i.readyState==l)t.call(n,\"lazy\");else{if(i.createEventObject&&a.doScroll){try{c=!n.frameElement}catch(y){}c&&o()}i[e](f+\"DOMContentLoaded\",r,u),i[e](f+s,r,u),n[e](f+\"load\",r,u)}}\n\n//https://gist.github.com/991057 by Jed Schmidt with modifications\nfunction selector(a){\n\ta=a.match(/^(\\W)?(.*)/);var b=document[\"getElement\"+(a[1]?a[1]==\"#\"?\"ById\":\"sByClassName\":\"sByTagName\")](a[2]);\n\tvar ret=[];\tb!==null&&(b.length?ret=b:b.length===0?ret=b:ret=[b]);\treturn ret;\n}\n\n//shallow object property extend\nfunction extend(a,b){\n\tvar c={};\n\tfor(var i in a){\n\t\tif(a.hasOwnProperty(i)){\n\t\t\tc[i]=a[i];\n\t\t}\n\t}\n\tfor(var i in b){\n\t\tif(b.hasOwnProperty(i)){\n\t\t\tc[i]=b[i];\n\t\t}\n\t}\n\treturn c\n}\n\n//hasOwnProperty polyfill\nif (!Object.prototype.hasOwnProperty)\n    /*jshint -W001, -W103 */\n    Object.prototype.hasOwnProperty = function(prop) {\n\t\tvar proto = this.__proto__ || this.constructor.prototype;\n\t\treturn (prop in this) && (!(prop in proto) || proto[prop] !== this[prop]);\n\t}\n    /*jshint +W001, +W103 */\n\nfunction text_size(width, height, template) {\n\theight = parseInt(height, 10);\n\twidth = parseInt(width, 10);\n\tvar bigSide = Math.max(height, width)\n\tvar smallSide = Math.min(height, width)\n\tvar scale = 1 / 12;\n\tvar newHeight = Math.min(smallSide * 0.75, 0.75 * bigSide * scale);\n\treturn {\n\t\theight: Math.round(Math.max(template.size, newHeight))\n\t}\n}\n\nfunction draw(args) {\n\tvar ctx = args.ctx;\n\tvar dimensions = args.dimensions;\n\tvar template = args.template;\n\tvar ratio = args.ratio;\n\tvar holder = args.holder;\n\tvar literal = holder.textmode == \"literal\";\n\tvar exact = holder.textmode == \"exact\";\n\n\tvar ts = text_size(dimensions.width, dimensions.height, template);\n\tvar text_height = ts.height;\n\tvar width = dimensions.width * ratio,\n\t\theight = dimensions.height * ratio;\n\tvar font = template.font ? template.font : \"sans-serif\";\n\tcanvas.width = width;\n\tcanvas.height = height;\n\tctx.textAlign = \"center\";\n\tctx.textBaseline = \"middle\";\n\tctx.fillStyle = template.background;\n\tctx.fillRect(0, 0, width, height);\n\tctx.fillStyle = template.foreground;\n\tctx.font = \"bold \" + text_height + \"px \" + font;\n\tvar text = template.text ? template.text : (Math.floor(dimensions.width) + \"x\" + Math.floor(dimensions.height));\n\tif (literal) {\n\t\tvar dimensions = holder.dimensions;\n\t\ttext = dimensions.width + \"x\" + dimensions.height;\n\t}\n\telse if(exact && holder.exact_dimensions){\n\t\tvar dimensions = holder.exact_dimensions;\n\t\ttext = (Math.floor(dimensions.width) + \"x\" + Math.floor(dimensions.height));\n\t}\n\tvar text_width = ctx.measureText(text).width;\n\tif (text_width / width >= 0.75) {\n\t\ttext_height = Math.floor(text_height * 0.75 * (width / text_width));\n\t}\n\t//Resetting font size if necessary\n\tctx.font = \"bold \" + (text_height * ratio) + \"px \" + font;\n\tctx.fillText(text, (width / 2), (height / 2), width);\n\treturn canvas.toDataURL(\"image/png\");\n}\n\nfunction render(mode, el, holder, src) {\n\t\n\tvar dimensions = holder.dimensions,\n\t\ttheme = holder.theme,\n\t\ttext = holder.text ? decodeURIComponent(holder.text) : holder.text;\n\tvar dimensions_caption = dimensions.width + \"x\" + dimensions.height;\n\ttheme = (text ? extend(theme, {\n\t\ttext: text\n\t}) : theme);\n\ttheme = (holder.font ? extend(theme, {\n\t\tfont: holder.font\n\t}) : theme);\n\tel.setAttribute(\"data-src\", src);\n\tholder.theme = theme;\n\tel.holder_data = holder;\n\t\n\tif (mode == \"image\") {\n\t\tel.setAttribute(\"alt\", text ? text : theme.text ? theme.text + \" [\" + dimensions_caption + \"]\" : dimensions_caption);\n\t\tif (fallback || !holder.auto) {\n\t\t\tel.style.width = dimensions.width + \"px\";\n\t\t\tel.style.height = dimensions.height + \"px\";\n\t\t}\n\t\tif (fallback) {\n\t\t\tel.style.backgroundColor = theme.background;\n\t\t} else {\n\t\t\tel.setAttribute(\"src\", draw({ctx: ctx, dimensions: dimensions, template: theme, ratio:ratio, holder: holder}));\n\t\t\t\n\t\t\tif(holder.textmode && holder.textmode == \"exact\"){\n\t\t\t\tresizable_images.push(el);\n\t\t\t\tresizable_update(el);\n\t\t\t}\n\t\t\t\n\t\t}\n\t} else if (mode == \"background\") {\n\t\tif (!fallback) {\n\t\t\tel.style.backgroundImage = \"url(\" + draw({ctx:ctx, dimensions: dimensions, template: theme, ratio: ratio, holder: holder}) + \")\";\n\t\t\tel.style.backgroundSize = dimensions.width + \"px \" + dimensions.height + \"px\";\n\t\t}\n\t} else if (mode == \"fluid\") {\n\t\tel.setAttribute(\"alt\", text ? text : theme.text ? theme.text + \" [\" + dimensions_caption + \"]\" : dimensions_caption);\n\t\tif (dimensions.height.slice(-1) == \"%\") {\n\t\t\tel.style.height = dimensions.height\n\t\t} else {\n\t\t\tel.style.height = dimensions.height + \"px\"\n\t\t}\n\t\tif (dimensions.width.slice(-1) == \"%\") {\n\t\t\tel.style.width = dimensions.width\n\t\t} else {\n\t\t\tel.style.width = dimensions.width + \"px\"\n\t\t}\n\t\tif (el.style.display == \"inline\" || el.style.display === \"\" || el.style.display == \"none\") {\n\t\t\tel.style.display = \"block\";\n\t\t}\n\t\tif (fallback) {\n\t\t\tel.style.backgroundColor = theme.background;\n\t\t} else {\n\t\t\tresizable_images.push(el);\n\t\t\tresizable_update(el);\n\t\t}\n\t}\n}\n\nfunction dimension_check(el, callback) {\n\tvar dimensions = {\n\t\theight: el.clientHeight,\n\t\twidth: el.clientWidth\n\t};\n\tif (!dimensions.height && !dimensions.width) {\n\t\tif (el.hasAttribute(\"data-holder-invisible\")) {\n\t\t\tthrow new Error(\"Holder: placeholder is not visible\");\n\t\t} else {\n\t\t\tel.setAttribute(\"data-holder-invisible\", true)\n\t\t\tsetTimeout(function () {\n\t\t\t\tcallback.call(this, el)\n\t\t\t}, 1)\n\t\t\treturn null;\n\t\t}\n\t} else {\n\t\tel.removeAttribute(\"data-holder-invisible\")\n\t}\n\treturn dimensions;\n}\n\nfunction resizable_update(element) {\n\tvar images;\n\tif (element.nodeType == null) {\n\t\timages = resizable_images;\n\t} else {\n\t\timages = [element]\n\t}\n\tfor (var i in images) {\n\t\tif (!images.hasOwnProperty(i)) {\n\t\t\tcontinue;\n\t\t}\n\t\tvar el = images[i]\n\t\tif (el.holder_data) {\n\t\t\tvar holder = el.holder_data;\n\t\t\tvar dimensions = dimension_check(el, resizable_update)\n\t\t\tif(dimensions){\n\t\t\t\tif(holder.fluid){\n\t\t\t\t\tel.setAttribute(\"src\", draw({\n\t\t\t\t\t\tctx: ctx,\n\t\t\t\t\t\tdimensions: dimensions,\n\t\t\t\t\t\ttemplate: holder.theme,\n\t\t\t\t\t\tratio: ratio,\n\t\t\t\t\t\tholder: holder\n\t\t\t\t\t}))\n\t\t\t\t}\n\t\t\t\tif(holder.textmode && holder.textmode == \"exact\"){\n\t\t\t\t\tholder.exact_dimensions = dimensions;\n\t\t\t\t\tel.setAttribute(\"src\", draw({\n\t\t\t\t\t\tctx: ctx,\n\t\t\t\t\t\tdimensions: holder.dimensions,\n\t\t\t\t\t\ttemplate: holder.theme,\n\t\t\t\t\t\tratio: ratio,\n\t\t\t\t\t\tholder: holder\n\t\t\t\t\t}))\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction parse_flags(flags, options) {\n\tvar ret = {\n\t\ttheme: extend(settings.themes.gray, {})\n\t};\n\tvar render = false;\n\tfor (sl = flags.length, j = 0; j < sl; j++) {\n\t\tvar flag = flags[j];\n\t\tif (app.flags.dimensions.match(flag)) {\n\t\t\trender = true;\n\t\t\tret.dimensions = app.flags.dimensions.output(flag);\n\t\t} else if (app.flags.fluid.match(flag)) {\n\t\t\trender = true;\n\t\t\tret.dimensions = app.flags.fluid.output(flag);\n\t\t\tret.fluid = true;\n\t\t} else if (app.flags.textmode.match(flag)) {\n\t\t\tret.textmode = app.flags.textmode.output(flag)\n\t\t} else if (app.flags.colors.match(flag)) {\n\t\t\tret.theme = app.flags.colors.output(flag);\n\t\t} else if (options.themes[flag]) {\n\t\t\t//If a theme is specified, it will override custom colors\n\t\t\tif(options.themes.hasOwnProperty(flag)){\n\t\t\t\tret.theme = extend(options.themes[flag], {});\n\t\t\t}\n\t\t} else if (app.flags.font.match(flag)) {\n\t\t\tret.font = app.flags.font.output(flag);\n\t\t} else if (app.flags.auto.match(flag)) {\n\t\t\tret.auto = true;\n\t\t} else if (app.flags.text.match(flag)) {\n\t\t\tret.text = app.flags.text.output(flag);\n\t\t}\n\t}\n\treturn render ? ret : false;\n}\n\nfor (var flag in app.flags) {\n\tif (!app.flags.hasOwnProperty(flag)) continue;\n\tapp.flags[flag].match = function (val) {\n\t\treturn val.match(this.regex)\n\t}\n}\napp.add_theme = function (name, theme) {\n\tname != null && theme != null && (settings.themes[name] = theme);\n\treturn app;\n};\napp.add_image = function (src, el) {\n\tvar node = selector(el);\n\tif (node.length) {\n\t\tfor (var i = 0, l = node.length; i < l; i++) {\n\t\t\tvar img = document.createElement(\"img\")\n\t\t\timg.setAttribute(\"data-src\", src);\n\t\t\tnode[i].appendChild(img);\n\t\t}\n\t}\n\treturn app;\n};\napp.run = function (o) {\n\tpreempted = true;\n\t\n\tvar options = extend(settings, o),\n\t\timages = [],\n\t\timageNodes = [],\n\t\tbgnodes = [];\n\tif (typeof (options.images) == \"string\") {\n\t\timageNodes = selector(options.images);\n\t} else if (window.NodeList && options.images instanceof window.NodeList) {\n\t\timageNodes = options.images;\n\t} else if (window.Node && options.images instanceof window.Node) {\n\t\timageNodes = [options.images];\n\t}\n\t\n\tif (typeof (options.bgnodes) == \"string\") {\n\t\tbgnodes = selector(options.bgnodes);\n\t} else if (window.NodeList && options.elements instanceof window.NodeList) {\n\t\tbgnodes = options.bgnodes;\n\t} else if (window.Node && options.bgnodes instanceof window.Node) {\n\t\tbgnodes = [options.bgnodes];\n\t}\n\tfor (i = 0, l = imageNodes.length; i < l; i++) images.push(imageNodes[i]);\n\tvar holdercss = document.getElementById(\"holderjs-style\");\n\tif (!holdercss) {\n\t\tholdercss = document.createElement(\"style\");\n\t\tholdercss.setAttribute(\"id\", \"holderjs-style\");\n\t\tholdercss.type = \"text/css\";\n\t\tdocument.getElementsByTagName(\"head\")[0].appendChild(holdercss);\n\t}\n\tif (!options.nocss) {\n\t\tif (holdercss.styleSheet) {\n\t\t\tholdercss.styleSheet.cssText += options.stylesheet;\n\t\t} else {\n\t\t\tholdercss.appendChild(document.createTextNode(options.stylesheet));\n\t\t}\n\t}\n\tvar cssregex = new RegExp(options.domain + \"\\/(.*?)\\\"?\\\\)\");\n\tfor (var l = bgnodes.length, i = 0; i < l; i++) {\n\t\tvar src = window.getComputedStyle(bgnodes[i], null)\n\t\t\t.getPropertyValue(\"background-image\");\n\t\tvar flags = src.match(cssregex);\n\t\tvar bgsrc = bgnodes[i].getAttribute(\"data-background-src\");\n\t\tif (flags) {\n\t\t\tvar holder = parse_flags(flags[1].split(\"/\"), options);\n\t\t\tif (holder) {\n\t\t\t\trender(\"background\", bgnodes[i], holder, src);\n\t\t\t}\n\t\t} else if (bgsrc != null) {\n\t\t\tvar holder = parse_flags(bgsrc.substr(bgsrc.lastIndexOf(options.domain) + options.domain.length + 1)\n\t\t\t\t.split(\"/\"), options);\n\t\t\tif (holder) {\n\t\t\t\trender(\"background\", bgnodes[i], holder, src);\n\t\t\t}\n\t\t}\n\t}\n\tfor (l = images.length, i = 0; i < l; i++) {\n\t\tvar attr_data_src, attr_src;\n\t\tattr_src = attr_data_src = src = null;\n\t\ttry {\n\t\t\tattr_src = images[i].getAttribute(\"src\");\n\t\t\tattr_datasrc = images[i].getAttribute(\"data-src\");\n\t\t} catch (e) {}\n\t\tif (attr_datasrc == null && !! attr_src && attr_src.indexOf(options.domain) >= 0) {\n\t\t\tsrc = attr_src;\n\t\t} else if ( !! attr_datasrc && attr_datasrc.indexOf(options.domain) >= 0) {\n\t\t\tsrc = attr_datasrc;\n\t\t}\n\t\tif (src) {\n\t\t\tvar holder = parse_flags(src.substr(src.lastIndexOf(options.domain) + options.domain.length + 1)\n\t\t\t\t.split(\"/\"), options);\n\t\t\tif (holder) {\n\t\t\t\tif (holder.fluid) {\n\t\t\t\t\trender(\"fluid\", images[i], holder, src)\n\t\t\t\t} else {\n\t\t\t\t\trender(\"image\", images[i], holder, src);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\treturn app;\n};\ncontentLoaded(win, function () {\n\tif (window.addEventListener) {\n\t\twindow.addEventListener(\"resize\", resizable_update, false);\n\t\twindow.addEventListener(\"orientationchange\", resizable_update, false);\n\t} else {\n\t\twindow.attachEvent(\"onresize\", resizable_update)\n\t}\n\tpreempted || app.run();\n});\nif (typeof define === \"function\" && define.amd) {\n\tdefine([], function () {\n\t\treturn app;\n\t});\n}\n\n})(Holder, window);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/ie8-responsive-file-warning.js",
    "content": "// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT\n// IT'S JUST JUNK FOR OUR DOCS!\n// ++++++++++++++++++++++++++++++++++++++++++\n/*!\n * Copyright 2013 Twitter, Inc.\n *\n * Licensed under the Creative Commons Attribution 3.0 Unported License. For\n * details, see http://creativecommons.org/licenses/by/3.0/.\n */\n// Intended to prevent false-positive bug reports about responsive styling supposedly not working in IE8.\nif (window.location.protocol == 'file:')\n  alert(\"ERROR: Bootstrap's responsive CSS is disabled!\\nSee getbootstrap.com/getting-started/#respond-file-proto for details.\")\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/jszip.js",
    "content": "/**\n\nJSZip - A Javascript class for generating and reading zip files\n<http://stuartk.com/jszip>\n\n(c) 2009-2012 Stuart Knightley <stuart [at] stuartk.com>\nDual licenced under the MIT license or GPLv3. See LICENSE.markdown.\n\nUsage:\n   zip = new JSZip();\n   zip.file(\"hello.txt\", \"Hello, World!\").file(\"tempfile\", \"nothing\");\n   zip.folder(\"images\").file(\"smile.gif\", base64Data, {base64: true});\n   zip.file(\"Xmas.txt\", \"Ho ho ho !\", {date : new Date(\"December 25, 2007 00:00:01\")});\n   zip.remove(\"tempfile\");\n\n   base64zip = zip.generate();\n\n**/\n// We use strict, but it should not be placed outside of a function because\n// the environment is shared inside the browser.\n// \"use strict\";\n\n/**\n * Representation a of zip file in js\n * @constructor\n * @param {String=|ArrayBuffer=|Uint8Array=|Buffer=} data the data to load, if any (optional).\n * @param {Object=} options the options for creating this objects (optional).\n */\nvar JSZip = function(data, options) {\n   // object containing the files :\n   // {\n   //   \"folder/\" : {...},\n   //   \"folder/data.txt\" : {...}\n   // }\n   this.files = {};\n\n   // Where we are in the hierarchy\n   this.root = \"\";\n\n   if (data) {\n      this.load(data, options);\n   }\n};\n\nJSZip.signature = {\n   LOCAL_FILE_HEADER : \"\\x50\\x4b\\x03\\x04\",\n   CENTRAL_FILE_HEADER : \"\\x50\\x4b\\x01\\x02\",\n   CENTRAL_DIRECTORY_END : \"\\x50\\x4b\\x05\\x06\",\n   ZIP64_CENTRAL_DIRECTORY_LOCATOR : \"\\x50\\x4b\\x06\\x07\",\n   ZIP64_CENTRAL_DIRECTORY_END : \"\\x50\\x4b\\x06\\x06\",\n   DATA_DESCRIPTOR : \"\\x50\\x4b\\x07\\x08\"\n};\n\n// Default properties for a new file\nJSZip.defaults = {\n   base64: false,\n   binary: false,\n   dir: false,\n   date: null,\n   compression: null\n};\n\n/*\n * List features that require a modern browser, and if the current browser support them.\n */\nJSZip.support = {\n   // contains true if JSZip can read/generate ArrayBuffer, false otherwise.\n   arraybuffer : (function(){\n      return typeof ArrayBuffer !== \"undefined\" && typeof Uint8Array !== \"undefined\";\n   })(),\n   // contains true if JSZip can read/generate nodejs Buffer, false otherwise.\n   nodebuffer : (function(){\n      return typeof Buffer !== \"undefined\";\n   })(),\n   // contains true if JSZip can read/generate Uint8Array, false otherwise.\n   uint8array : (function(){\n      return typeof Uint8Array !== \"undefined\";\n   })(),\n   // contains true if JSZip can read/generate Blob, false otherwise.\n   blob : (function(){\n      // the spec started with BlobBuilder then replaced it with a construtor for Blob.\n      // Result : we have browsers that :\n      // * know the BlobBuilder (but with prefix)\n      // * know the Blob constructor\n      // * know about Blob but not about how to build them\n      // About the \"=== 0\" test : if given the wrong type, it may be converted to a string.\n      // Instead of an empty content, we will get \"[object Uint8Array]\" for example.\n      if (typeof ArrayBuffer === \"undefined\") {\n         return false;\n      }\n      var buffer = new ArrayBuffer(0);\n      try {\n         return new Blob([buffer], { type: \"application/zip\" }).size === 0;\n      }\n      catch(e) {}\n\n      try {\n         var BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder;\n         var builder = new BlobBuilder();\n         builder.append(buffer);\n         return builder.getBlob('application/zip').size === 0;\n      }\n      catch(e) {}\n\n      return false;\n   })()\n};\n\nJSZip.prototype = (function () {\n   var textEncoder, textDecoder;\n   if (\n      JSZip.support.uint8array &&\n      typeof TextEncoder === \"function\" &&\n      typeof TextDecoder === \"function\"\n   ) {\n      textEncoder = new TextEncoder(\"utf-8\");\n      textDecoder = new TextDecoder(\"utf-8\");\n   }\n\n   /**\n    * Returns the raw data of a ZipObject, decompress the content if necessary.\n    * @param {ZipObject} file the file to use.\n    * @return {String|ArrayBuffer|Uint8Array|Buffer} the data.\n    */\n   var getRawData = function (file) {\n      if (file._data instanceof JSZip.CompressedObject) {\n         file._data = file._data.getContent();\n         file.options.binary = true;\n         file.options.base64 = false;\n\n         if (JSZip.utils.getTypeOf(file._data) === \"uint8array\") {\n            var copy = file._data;\n            // when reading an arraybuffer, the CompressedObject mechanism will keep it and subarray() a Uint8Array.\n            // if we request a file in the same format, we might get the same Uint8Array or its ArrayBuffer (the original zip file).\n            file._data = new Uint8Array(copy.length);\n            // with an empty Uint8Array, Opera fails with a \"Offset larger than array size\"\n            if (copy.length !== 0) {\n               file._data.set(copy, 0);\n            }\n         }\n      }\n      return file._data;\n   };\n\n   /**\n    * Returns the data of a ZipObject in a binary form. If the content is an unicode string, encode it.\n    * @param {ZipObject} file the file to use.\n    * @return {String|ArrayBuffer|Uint8Array|Buffer} the data.\n    */\n   var getBinaryData = function (file) {\n      var result = getRawData(file), type = JSZip.utils.getTypeOf(result);\n      if (type === \"string\") {\n         if (!file.options.binary) {\n            // unicode text !\n            // unicode string => binary string is a painful process, check if we can avoid it.\n            if (textEncoder) {\n               return textEncoder.encode(result);\n            }\n            if (JSZip.support.nodebuffer) {\n               return new Buffer(result, \"utf-8\");\n            }\n         }\n         return file.asBinary();\n      }\n      return result;\n   };\n\n   /**\n    * Transform this._data into a string.\n    * @param {function} filter a function String -> String, applied if not null on the result.\n    * @return {String} the string representing this._data.\n    */\n   var dataToString = function (asUTF8) {\n      var result = getRawData(this);\n      if (result === null || typeof result === \"undefined\") {\n         return \"\";\n      }\n      // if the data is a base64 string, we decode it before checking the encoding !\n      if (this.options.base64) {\n         result = JSZip.base64.decode(result);\n      }\n      if (asUTF8 && this.options.binary) {\n         // JSZip.prototype.utf8decode supports arrays as input\n         // skip to array => string step, utf8decode will do it.\n         result = JSZip.prototype.utf8decode(result);\n      } else {\n         // no utf8 transformation, do the array => string step.\n         result = JSZip.utils.transformTo(\"string\", result);\n      }\n\n      if (!asUTF8 && !this.options.binary) {\n         result = JSZip.prototype.utf8encode(result);\n      }\n      return result;\n   };\n   /**\n    * A simple object representing a file in the zip file.\n    * @constructor\n    * @param {string} name the name of the file\n    * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data\n    * @param {Object} options the options of the file\n    */\n   var ZipObject = function (name, data, options) {\n      this.name = name;\n      this._data = data;\n      this.options = options;\n   };\n\n   ZipObject.prototype = {\n      /**\n       * Return the content as UTF8 string.\n       * @return {string} the UTF8 string.\n       */\n      asText : function () {\n         return dataToString.call(this, true);\n      },\n      /**\n       * Returns the binary content.\n       * @return {string} the content as binary.\n       */\n      asBinary : function () {\n         return dataToString.call(this, false);\n      },\n      /**\n       * Returns the content as a nodejs Buffer.\n       * @return {Buffer} the content as a Buffer.\n       */\n      asNodeBuffer : function () {\n         var result = getBinaryData(this);\n         return JSZip.utils.transformTo(\"nodebuffer\", result);\n      },\n      /**\n       * Returns the content as an Uint8Array.\n       * @return {Uint8Array} the content as an Uint8Array.\n       */\n      asUint8Array : function () {\n         var result = getBinaryData(this);\n         return JSZip.utils.transformTo(\"uint8array\", result);\n      },\n      /**\n       * Returns the content as an ArrayBuffer.\n       * @return {ArrayBuffer} the content as an ArrayBufer.\n       */\n      asArrayBuffer : function () {\n         return this.asUint8Array().buffer;\n      }\n   };\n\n   /**\n    * Transform an integer into a string in hexadecimal.\n    * @private\n    * @param {number} dec the number to convert.\n    * @param {number} bytes the number of bytes to generate.\n    * @returns {string} the result.\n    */\n   var decToHex = function(dec, bytes) {\n      var hex = \"\", i;\n      for(i = 0; i < bytes; i++) {\n         hex += String.fromCharCode(dec&0xff);\n         dec=dec>>>8;\n      }\n      return hex;\n   };\n\n   /**\n    * Merge the objects passed as parameters into a new one.\n    * @private\n    * @param {...Object} var_args All objects to merge.\n    * @return {Object} a new object with the data of the others.\n    */\n   var extend = function () {\n      var result = {}, i, attr;\n      for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers\n         for (attr in arguments[i]) {\n            if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === \"undefined\") {\n               result[attr] = arguments[i][attr];\n            }\n         }\n      }\n      return result;\n   };\n\n   /**\n    * Transforms the (incomplete) options from the user into the complete\n    * set of options to create a file.\n    * @private\n    * @param {Object} o the options from the user.\n    * @return {Object} the complete set of options.\n    */\n   var prepareFileAttrs = function (o) {\n      o = o || {};\n      /*jshint -W041 */\n      if (o.base64 === true && o.binary == null) {\n         o.binary = true;\n      }\n      /*jshint +W041 */\n      o = extend(o, JSZip.defaults);\n      o.date = o.date || new Date();\n      if (o.compression !== null) o.compression = o.compression.toUpperCase();\n\n      return o;\n   };\n\n   /**\n    * Add a file in the current folder.\n    * @private\n    * @param {string} name the name of the file\n    * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data of the file\n    * @param {Object} o the options of the file\n    * @return {Object} the new file.\n    */\n   var fileAdd = function (name, data, o) {\n      // be sure sub folders exist\n      var parent = parentFolder(name), dataType = JSZip.utils.getTypeOf(data);\n      if (parent) {\n         folderAdd.call(this, parent);\n      }\n\n      o = prepareFileAttrs(o);\n\n      if (o.dir || data === null || typeof data === \"undefined\") {\n         o.base64 = false;\n         o.binary = false;\n         data = null;\n      } else if (dataType === \"string\") {\n         if (o.binary && !o.base64) {\n            // optimizedBinaryString == true means that the file has already been filtered with a 0xFF mask\n            if (o.optimizedBinaryString !== true) {\n               // this is a string, not in a base64 format.\n               // Be sure that this is a correct \"binary string\"\n               data = JSZip.utils.string2binary(data);\n            }\n         }\n      } else { // arraybuffer, uint8array, ...\n         o.base64 = false;\n         o.binary = true;\n\n         if (!dataType && !(data instanceof JSZip.CompressedObject)) {\n            throw new Error(\"The data of '\" + name + \"' is in an unsupported format !\");\n         }\n\n         // special case : it's way easier to work with Uint8Array than with ArrayBuffer\n         if (dataType === \"arraybuffer\") {\n            data = JSZip.utils.transformTo(\"uint8array\", data);\n         }\n      }\n\n      var object = new ZipObject(name, data, o);\n      this.files[name] = object;\n      return object;\n   };\n\n\n   /**\n    * Find the parent folder of the path.\n    * @private\n    * @param {string} path the path to use\n    * @return {string} the parent folder, or \"\"\n    */\n   var parentFolder = function (path) {\n      if (path.slice(-1) == '/') {\n         path = path.substring(0, path.length - 1);\n      }\n      var lastSlash = path.lastIndexOf('/');\n      return (lastSlash > 0) ? path.substring(0, lastSlash) : \"\";\n   };\n\n   /**\n    * Add a (sub) folder in the current folder.\n    * @private\n    * @param {string} name the folder's name\n    * @return {Object} the new folder.\n    */\n   var folderAdd = function (name) {\n      // Check the name ends with a /\n      if (name.slice(-1) != \"/\") {\n         name += \"/\"; // IE doesn't like substr(-1)\n      }\n\n      // Does this folder already exist?\n      if (!this.files[name]) {\n         fileAdd.call(this, name, null, {dir:true});\n      }\n      return this.files[name];\n   };\n\n   /**\n    * Generate a JSZip.CompressedObject for a given zipOject.\n    * @param {ZipObject} file the object to read.\n    * @param {JSZip.compression} compression the compression to use.\n    * @return {JSZip.CompressedObject} the compressed result.\n    */\n   var generateCompressedObjectFrom = function (file, compression) {\n      var result = new JSZip.CompressedObject(), content;\n\n      // the data has not been decompressed, we might reuse things !\n      if (file._data instanceof JSZip.CompressedObject) {\n         result.uncompressedSize = file._data.uncompressedSize;\n         result.crc32 = file._data.crc32;\n\n         if (result.uncompressedSize === 0 || file.options.dir) {\n            compression = JSZip.compressions['STORE'];\n            result.compressedContent = \"\";\n            result.crc32 = 0;\n         } else if (file._data.compressionMethod === compression.magic) {\n            result.compressedContent = file._data.getCompressedContent();\n         } else {\n            content = file._data.getContent();\n            // need to decompress / recompress\n            result.compressedContent = compression.compress(JSZip.utils.transformTo(compression.compressInputType, content));\n         }\n      } else {\n         // have uncompressed data\n         content = getBinaryData(file);\n         if (!content || content.length === 0 || file.options.dir) {\n            compression = JSZip.compressions['STORE'];\n            content = \"\";\n         }\n         result.uncompressedSize = content.length;\n         result.crc32 = this.crc32(content);\n         result.compressedContent = compression.compress(JSZip.utils.transformTo(compression.compressInputType, content));\n      }\n\n      result.compressedSize = result.compressedContent.length;\n      result.compressionMethod = compression.magic;\n\n      return result;\n   };\n\n   /**\n    * Generate the various parts used in the construction of the final zip file.\n    * @param {string} name the file name.\n    * @param {ZipObject} file the file content.\n    * @param {JSZip.CompressedObject} compressedObject the compressed object.\n    * @param {number} offset the current offset from the start of the zip file.\n    * @return {object} the zip parts.\n    */\n   var generateZipParts = function(name, file, compressedObject, offset) {\n      var data = compressedObject.compressedContent,\n          utfEncodedFileName = this.utf8encode(file.name),\n          useUTF8 = utfEncodedFileName !== file.name,\n          o       = file.options,\n          dosTime,\n          dosDate;\n\n      // date\n      // @see http://www.delorie.com/djgpp/doc/rbinter/it/52/13.html\n      // @see http://www.delorie.com/djgpp/doc/rbinter/it/65/16.html\n      // @see http://www.delorie.com/djgpp/doc/rbinter/it/66/16.html\n\n      dosTime = o.date.getHours();\n      dosTime = dosTime << 6;\n      dosTime = dosTime | o.date.getMinutes();\n      dosTime = dosTime << 5;\n      dosTime = dosTime | o.date.getSeconds() / 2;\n\n      dosDate = o.date.getFullYear() - 1980;\n      dosDate = dosDate << 4;\n      dosDate = dosDate | (o.date.getMonth() + 1);\n      dosDate = dosDate << 5;\n      dosDate = dosDate | o.date.getDate();\n\n\n      var header = \"\";\n\n      // version needed to extract\n      header += \"\\x0A\\x00\";\n      // general purpose bit flag\n      // set bit 11 if utf8\n      header += useUTF8 ? \"\\x00\\x08\" : \"\\x00\\x00\";\n      // compression method\n      header += compressedObject.compressionMethod;\n      // last mod file time\n      header += decToHex(dosTime, 2);\n      // last mod file date\n      header += decToHex(dosDate, 2);\n      // crc-32\n      header += decToHex(compressedObject.crc32, 4);\n      // compressed size\n      header += decToHex(compressedObject.compressedSize, 4);\n      // uncompressed size\n      header += decToHex(compressedObject.uncompressedSize, 4);\n      // file name length\n      header += decToHex(utfEncodedFileName.length, 2);\n      // extra field length\n      header += \"\\x00\\x00\";\n\n\n      var fileRecord = JSZip.signature.LOCAL_FILE_HEADER + header + utfEncodedFileName;\n\n      var dirRecord = JSZip.signature.CENTRAL_FILE_HEADER +\n      // version made by (00: DOS)\n      \"\\x14\\x00\" +\n      // file header (common to file and central directory)\n      header +\n      // file comment length\n      \"\\x00\\x00\" +\n      // disk number start\n      \"\\x00\\x00\" +\n      // internal file attributes TODO\n      \"\\x00\\x00\" +\n      // external file attributes\n      (file.options.dir===true?\"\\x10\\x00\\x00\\x00\":\"\\x00\\x00\\x00\\x00\")+\n      // relative offset of local header\n      decToHex(offset, 4) +\n      // file name\n      utfEncodedFileName;\n\n\n      return {\n         fileRecord : fileRecord,\n         dirRecord : dirRecord,\n         compressedObject : compressedObject\n      };\n   };\n\n   /**\n    * An object to write any content to a string.\n    * @constructor\n    */\n   var StringWriter = function () {\n      this.data = [];\n   };\n   StringWriter.prototype = {\n      /**\n       * Append any content to the current string.\n       * @param {Object} input the content to add.\n       */\n      append : function (input) {\n         input = JSZip.utils.transformTo(\"string\", input);\n         this.data.push(input);\n      },\n      /**\n       * Finalize the construction an return the result.\n       * @return {string} the generated string.\n       */\n      finalize : function () {\n         return this.data.join(\"\");\n      }\n   };\n   /**\n    * An object to write any content to an Uint8Array.\n    * @constructor\n    * @param {number} length The length of the array.\n    */\n   var Uint8ArrayWriter = function (length) {\n      this.data = new Uint8Array(length);\n      this.index = 0;\n   };\n   Uint8ArrayWriter.prototype = {\n      /**\n       * Append any content to the current array.\n       * @param {Object} input the content to add.\n       */\n      append : function (input) {\n         if (input.length !== 0) {\n            // with an empty Uint8Array, Opera fails with a \"Offset larger than array size\"\n            input = JSZip.utils.transformTo(\"uint8array\", input);\n            this.data.set(input, this.index);\n            this.index += input.length;\n         }\n      },\n      /**\n       * Finalize the construction an return the result.\n       * @return {Uint8Array} the generated array.\n       */\n      finalize : function () {\n         return this.data;\n      }\n   };\n\n   // return the actual prototype of JSZip\n   return {\n      /**\n       * Read an existing zip and merge the data in the current JSZip object.\n       * The implementation is in jszip-load.js, don't forget to include it.\n       * @param {String|ArrayBuffer|Uint8Array|Buffer} stream  The stream to load\n       * @param {Object} options Options for loading the stream.\n       *  options.base64 : is the stream in base64 ? default : false\n       * @return {JSZip} the current JSZip object\n       */\n      load : function (stream, options) {\n         throw new Error(\"Load method is not defined. Is the file jszip-load.js included ?\");\n      },\n\n      /**\n       * Filter nested files/folders with the specified function.\n       * @param {Function} search the predicate to use :\n       * function (relativePath, file) {...}\n       * It takes 2 arguments : the relative path and the file.\n       * @return {Array} An array of matching elements.\n       */\n      filter : function (search) {\n         var result = [], filename, relativePath, file, fileClone;\n         for (filename in this.files) {\n            if ( !this.files.hasOwnProperty(filename) ) { continue; }\n            file = this.files[filename];\n            // return a new object, don't let the user mess with our internal objects :)\n            fileClone = new ZipObject(file.name, file._data, extend(file.options));\n            relativePath = filename.slice(this.root.length, filename.length);\n            if (filename.slice(0, this.root.length) === this.root && // the file is in the current root\n                search(relativePath, fileClone)) { // and the file matches the function\n               result.push(fileClone);\n            }\n         }\n         return result;\n      },\n\n      /**\n       * Add a file to the zip file, or search a file.\n       * @param   {string|RegExp} name The name of the file to add (if data is defined),\n       * the name of the file to find (if no data) or a regex to match files.\n       * @param   {String|ArrayBuffer|Uint8Array|Buffer} data  The file data, either raw or base64 encoded\n       * @param   {Object} o     File options\n       * @return  {JSZip|Object|Array} this JSZip object (when adding a file),\n       * a file (when searching by string) or an array of files (when searching by regex).\n       */\n      file : function(name, data, o) {\n         if (arguments.length === 1) {\n            if (JSZip.utils.isRegExp(name)) {\n               var regexp = name;\n               return this.filter(function(relativePath, file) {\n                  return !file.options.dir && regexp.test(relativePath);\n               });\n            } else { // text\n               return this.filter(function (relativePath, file) {\n                  return !file.options.dir && relativePath === name;\n               })[0]||null;\n            }\n         } else { // more than one argument : we have data !\n            name = this.root+name;\n            fileAdd.call(this, name, data, o);\n         }\n         return this;\n      },\n\n      /**\n       * Add a directory to the zip file, or search.\n       * @param   {String|RegExp} arg The name of the directory to add, or a regex to search folders.\n       * @return  {JSZip} an object with the new directory as the root, or an array containing matching folders.\n       */\n      folder : function(arg) {\n         if (!arg) {\n            return this;\n         }\n\n         if (JSZip.utils.isRegExp(arg)) {\n            return this.filter(function(relativePath, file) {\n               return file.options.dir && arg.test(relativePath);\n            });\n         }\n\n         // else, name is a new folder\n         var name = this.root + arg;\n         var newFolder = folderAdd.call(this, name);\n\n         // Allow chaining by returning a new object with this folder as the root\n         var ret = this.clone();\n         ret.root = newFolder.name;\n         return ret;\n      },\n\n      /**\n       * Delete a file, or a directory and all sub-files, from the zip\n       * @param {string} name the name of the file to delete\n       * @return {JSZip} this JSZip object\n       */\n      remove : function(name) {\n         name = this.root + name;\n         var file = this.files[name];\n         if (!file) {\n            // Look for any folders\n            if (name.slice(-1) != \"/\") {\n               name += \"/\";\n            }\n            file = this.files[name];\n         }\n\n         if (file) {\n            if (!file.options.dir) {\n               // file\n               delete this.files[name];\n            } else {\n               // folder\n               var kids = this.filter(function (relativePath, file) {\n                  return file.name.slice(0, name.length) === name;\n               });\n               for (var i = 0; i < kids.length; i++) {\n                  delete this.files[kids[i].name];\n               }\n            }\n         }\n\n         return this;\n      },\n\n      /**\n       * Generate the complete zip file\n       * @param {Object} options the options to generate the zip file :\n       * - base64, (deprecated, use type instead) true to generate base64.\n       * - compression, \"STORE\" by default.\n       * - type, \"base64\" by default. Values are : string, base64, uint8array, arraybuffer, blob.\n       * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the zip file\n       */\n      generate : function(options) {\n         options = extend(options || {}, {\n            base64 : true,\n            compression : \"STORE\",\n            type : \"base64\"\n         });\n\n         JSZip.utils.checkSupport(options.type);\n\n         var zipData = [], localDirLength = 0, centralDirLength = 0, writer, i;\n\n\n         // first, generate all the zip parts.\n         for (var name in this.files) {\n            if ( !this.files.hasOwnProperty(name) ) { continue; }\n            var file = this.files[name];\n\n            var compressionName = file.options.compression || options.compression.toUpperCase();\n            var compression = JSZip.compressions[compressionName];\n            if (!compression) {\n               throw new Error(compressionName + \" is not a valid compression method !\");\n            }\n\n            var compressedObject = generateCompressedObjectFrom.call(this, file, compression);\n\n            var zipPart = generateZipParts.call(this, name, file, compressedObject, localDirLength);\n            localDirLength += zipPart.fileRecord.length + compressedObject.compressedSize;\n            centralDirLength += zipPart.dirRecord.length;\n            zipData.push(zipPart);\n         }\n\n         var dirEnd = \"\";\n\n         // end of central dir signature\n         dirEnd = JSZip.signature.CENTRAL_DIRECTORY_END +\n         // number of this disk\n         \"\\x00\\x00\" +\n         // number of the disk with the start of the central directory\n         \"\\x00\\x00\" +\n         // total number of entries in the central directory on this disk\n         decToHex(zipData.length, 2) +\n         // total number of entries in the central directory\n         decToHex(zipData.length, 2) +\n         // size of the central directory   4 bytes\n         decToHex(centralDirLength, 4) +\n         // offset of start of central directory with respect to the starting disk number\n         decToHex(localDirLength, 4) +\n         // .ZIP file comment length\n         \"\\x00\\x00\";\n\n\n         // we have all the parts (and the total length)\n         // time to create a writer !\n         switch(options.type.toLowerCase()) {\n            case \"uint8array\" :\n            case \"arraybuffer\" :\n            case \"blob\" :\n            case \"nodebuffer\" :\n               writer = new Uint8ArrayWriter(localDirLength + centralDirLength + dirEnd.length);\n               break;\n            // case \"base64\" :\n            // case \"string\" :\n            default :\n               writer = new StringWriter(localDirLength + centralDirLength + dirEnd.length);\n               break;\n         }\n\n         for (i = 0; i < zipData.length; i++) {\n            writer.append(zipData[i].fileRecord);\n            writer.append(zipData[i].compressedObject.compressedContent);\n         }\n         for (i = 0; i < zipData.length; i++) {\n            writer.append(zipData[i].dirRecord);\n         }\n\n         writer.append(dirEnd);\n\n         var zip = writer.finalize();\n\n\n\n         switch(options.type.toLowerCase()) {\n            // case \"zip is an Uint8Array\"\n            case \"uint8array\" :\n            case \"arraybuffer\" :\n            case \"nodebuffer\" :\n               return JSZip.utils.transformTo(options.type.toLowerCase(), zip);\n            case \"blob\" :\n               return JSZip.utils.arrayBuffer2Blob(JSZip.utils.transformTo(\"arraybuffer\", zip));\n\n            // case \"zip is a string\"\n            case \"base64\" :\n               return (options.base64) ? JSZip.base64.encode(zip) : zip;\n            default : // case \"string\" :\n               return zip;\n         }\n      },\n\n      /**\n       *\n       *  Javascript crc32\n       *  http://www.webtoolkit.info/\n       *\n       */\n      crc32 : function crc32(input, crc) {\n         if (typeof input === \"undefined\" || !input.length) {\n            return 0;\n         }\n\n         var isArray = JSZip.utils.getTypeOf(input) !== \"string\";\n\n         var table = [\n            0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,\n            0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,\n            0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,\n            0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,\n            0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,\n            0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,\n            0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,\n            0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,\n            0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,\n            0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,\n            0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,\n            0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,\n            0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,\n            0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,\n            0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,\n            0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,\n            0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,\n            0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,\n            0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,\n            0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,\n            0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,\n            0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,\n            0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,\n            0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,\n            0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,\n            0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,\n            0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,\n            0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,\n            0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,\n            0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,\n            0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,\n            0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,\n            0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,\n            0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,\n            0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,\n            0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,\n            0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,\n            0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,\n            0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,\n            0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,\n            0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,\n            0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,\n            0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,\n            0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,\n            0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,\n            0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,\n            0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,\n            0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,\n            0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,\n            0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,\n            0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,\n            0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,\n            0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,\n            0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,\n            0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,\n            0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,\n            0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,\n            0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,\n            0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,\n            0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,\n            0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,\n            0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,\n            0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,\n            0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D\n         ];\n\n         if (typeof(crc) == \"undefined\") { crc = 0; }\n         var x = 0;\n         var y = 0;\n         var byte = 0;\n\n         crc = crc ^ (-1);\n         for( var i = 0, iTop = input.length; i < iTop; i++ ) {\n            byte = isArray ? input[i] : input.charCodeAt(i);\n            y = ( crc ^ byte ) & 0xFF;\n            x = table[y];\n            crc = ( crc >>> 8 ) ^ x;\n         }\n\n         return crc ^ (-1);\n      },\n\n      // Inspired by http://my.opera.com/GreyWyvern/blog/show.dml/1725165\n      clone : function() {\n         var newObj = new JSZip();\n         for (var i in this) {\n            if (typeof this[i] !== \"function\") {\n               newObj[i] = this[i];\n            }\n         }\n         return newObj;\n      },\n\n\n      /**\n       * http://www.webtoolkit.info/javascript-utf8.html\n       */\n      utf8encode : function (string) {\n         // TextEncoder + Uint8Array to binary string is faster than checking every bytes on long strings.\n         // http://jsperf.com/utf8encode-vs-textencoder\n         // On short strings (file names for example), the TextEncoder API is (currently) slower.\n         if (textEncoder) {\n            var u8 = textEncoder.encode(string);\n            return JSZip.utils.transformTo(\"string\", u8);\n         }\n         if (JSZip.support.nodebuffer) {\n            return JSZip.utils.transformTo(\"string\", new Buffer(string, \"utf-8\"));\n         }\n\n         // array.join may be slower than string concatenation but generates less objects (less time spent garbage collecting).\n         // See also http://jsperf.com/array-direct-assignment-vs-push/31\n         var result = [], resIndex = 0;\n\n         for (var n = 0; n < string.length; n++) {\n\n            var c = string.charCodeAt(n);\n\n            if (c < 128) {\n               result[resIndex++] = String.fromCharCode(c);\n            } else if ((c > 127) && (c < 2048)) {\n               result[resIndex++] = String.fromCharCode((c >> 6) | 192);\n               result[resIndex++] = String.fromCharCode((c & 63) | 128);\n            } else {\n               result[resIndex++] = String.fromCharCode((c >> 12) | 224);\n               result[resIndex++] = String.fromCharCode(((c >> 6) & 63) | 128);\n               result[resIndex++] = String.fromCharCode((c & 63) | 128);\n            }\n\n         }\n\n         return result.join(\"\");\n      },\n\n      /**\n       * http://www.webtoolkit.info/javascript-utf8.html\n       */\n      utf8decode : function (input) {\n         var result = [], resIndex = 0;\n         var type = JSZip.utils.getTypeOf(input);\n         var isArray = type !== \"string\";\n         var i = 0;\n         var c = 0, c1 = 0, c2 = 0, c3 = 0;\n\n         // check if we can use the TextDecoder API\n         // see http://encoding.spec.whatwg.org/#api\n         if (textDecoder) {\n            return textDecoder.decode(\n               JSZip.utils.transformTo(\"uint8array\", input)\n            );\n         }\n         if (JSZip.support.nodebuffer) {\n            return JSZip.utils.transformTo(\"nodebuffer\", input).toString(\"utf-8\");\n         }\n\n         while ( i < input.length ) {\n\n            c = isArray ? input[i] : input.charCodeAt(i);\n\n            if (c < 128) {\n               result[resIndex++] = String.fromCharCode(c);\n               i++;\n            } else if ((c > 191) && (c < 224)) {\n               c2 = isArray ? input[i+1] : input.charCodeAt(i+1);\n               result[resIndex++] = String.fromCharCode(((c & 31) << 6) | (c2 & 63));\n               i += 2;\n            } else {\n               c2 = isArray ? input[i+1] : input.charCodeAt(i+1);\n               c3 = isArray ? input[i+2] : input.charCodeAt(i+2);\n               result[resIndex++] = String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));\n               i += 3;\n            }\n\n         }\n\n         return result.join(\"\");\n      }\n   };\n}());\n\n/*\n * Compression methods\n * This object is filled in as follow :\n * name : {\n *    magic // the 2 bytes indentifying the compression method\n *    compress // function, take the uncompressed content and return it compressed.\n *    uncompress // function, take the compressed content and return it uncompressed.\n *    compressInputType // string, the type accepted by the compress method. null to accept everything.\n *    uncompressInputType // string, the type accepted by the uncompress method. null to accept everything.\n * }\n *\n * STORE is the default compression method, so it's included in this file.\n * Other methods should go to separated files : the user wants modularity.\n */\nJSZip.compressions = {\n   \"STORE\" : {\n      magic : \"\\x00\\x00\",\n      compress : function (content) {\n         return content; // no compression\n      },\n      uncompress : function (content) {\n         return content; // no compression\n      },\n      compressInputType : null,\n      uncompressInputType : null\n   }\n};\n\n(function () {\n   JSZip.utils = {\n      /**\n       * Convert a string to a \"binary string\" : a string containing only char codes between 0 and 255.\n       * @param {string} str the string to transform.\n       * @return {String} the binary string.\n       */\n      string2binary : function (str) {\n         var result = \"\";\n         for (var i = 0; i < str.length; i++) {\n            result += String.fromCharCode(str.charCodeAt(i) & 0xff);\n         }\n         return result;\n      },\n      /**\n       * Create a Uint8Array from the string.\n       * @param {string} str the string to transform.\n       * @return {Uint8Array} the typed array.\n       * @throws {Error} an Error if the browser doesn't support the requested feature.\n       * @deprecated : use JSZip.utils.transformTo instead.\n       */\n      string2Uint8Array : function (str) {\n         return JSZip.utils.transformTo(\"uint8array\", str);\n      },\n\n      /**\n       * Create a string from the Uint8Array.\n       * @param {Uint8Array} array the array to transform.\n       * @return {string} the string.\n       * @throws {Error} an Error if the browser doesn't support the requested feature.\n       * @deprecated : use JSZip.utils.transformTo instead.\n       */\n      uint8Array2String : function (array) {\n         return JSZip.utils.transformTo(\"string\", array);\n      },\n      /**\n       * Create a blob from the given ArrayBuffer.\n       * @param {ArrayBuffer} buffer the buffer to transform.\n       * @return {Blob} the result.\n       * @throws {Error} an Error if the browser doesn't support the requested feature.\n       */\n      arrayBuffer2Blob : function (buffer) {\n         JSZip.utils.checkSupport(\"blob\");\n\n         try {\n            // Blob constructor\n            return new Blob([buffer], { type: \"application/zip\" });\n         }\n         catch(e) {}\n\n         try {\n            // deprecated, browser only, old way\n            var BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder;\n            var builder = new BlobBuilder();\n            builder.append(buffer);\n            return builder.getBlob('application/zip');\n         }\n         catch(e) {}\n\n         // well, fuck ?!\n         throw new Error(\"Bug : can't construct the Blob.\");\n      },\n      /**\n       * Create a blob from the given string.\n       * @param {string} str the string to transform.\n       * @return {Blob} the result.\n       * @throws {Error} an Error if the browser doesn't support the requested feature.\n       */\n      string2Blob : function (str) {\n         var buffer = JSZip.utils.transformTo(\"arraybuffer\", str);\n         return JSZip.utils.arrayBuffer2Blob(buffer);\n      }\n   };\n\n   /**\n    * The identity function.\n    * @param {Object} input the input.\n    * @return {Object} the same input.\n    */\n   function identity(input) {\n      return input;\n   }\n\n   /**\n    * Fill in an array with a string.\n    * @param {String} str the string to use.\n    * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to fill in (will be mutated).\n    * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated array.\n    */\n   function stringToArrayLike(str, array) {\n      for (var i = 0; i < str.length; ++i) {\n         array[i] = str.charCodeAt(i) & 0xFF;\n      }\n      return array;\n   }\n\n   /**\n    * Transform an array-like object to a string.\n    * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform.\n    * @return {String} the result.\n    */\n   function arrayLikeToString(array) {\n      // Performances notes :\n      // --------------------\n      // String.fromCharCode.apply(null, array) is the fastest, see\n      // see http://jsperf.com/converting-a-uint8array-to-a-string/2\n      // but the stack is limited (and we can get huge arrays !).\n      //\n      // result += String.fromCharCode(array[i]); generate too many strings !\n      //\n      // This code is inspired by http://jsperf.com/arraybuffer-to-string-apply-performance/2\n      var chunk = 65536;\n      var result = [], len = array.length, type = JSZip.utils.getTypeOf(array), k = 0;\n\n      var canUseApply = true;\n      try {\n         switch(type) {\n            case \"uint8array\":\n               String.fromCharCode.apply(null, new Uint8Array(0));\n               break;\n            case \"nodebuffer\":\n               String.fromCharCode.apply(null, new Buffer(0));\n               break;\n         }\n      } catch(e) {\n         canUseApply = false;\n      }\n\n      // no apply : slow and painful algorithm\n      // default browser on android 4.*\n      if (!canUseApply) {\n         var resultStr = \"\";\n         for(var i = 0; i < array.length;i++) {\n            resultStr += String.fromCharCode(array[i]);\n         }\n         return resultStr;\n      }\n\n      while (k < len && chunk > 1) {\n         try {\n            if (type === \"array\" || type === \"nodebuffer\") {\n               result.push(String.fromCharCode.apply(null, array.slice(k, Math.min(k + chunk, len))));\n            } else {\n               result.push(String.fromCharCode.apply(null, array.subarray(k, Math.min(k + chunk, len))));\n            }\n            k += chunk;\n         } catch (e) {\n            chunk = Math.floor(chunk / 2);\n         }\n      }\n      return result.join(\"\");\n   }\n\n   /**\n    * Copy the data from an array-like to an other array-like.\n    * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array.\n    * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated.\n    * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array.\n    */\n   function arrayLikeToArrayLike(arrayFrom, arrayTo) {\n      for(var i = 0; i < arrayFrom.length; i++) {\n         arrayTo[i] = arrayFrom[i];\n      }\n      return arrayTo;\n   }\n\n   // a matrix containing functions to transform everything into everything.\n   var transform = {};\n\n   // string to ?\n   transform[\"string\"] = {\n      \"string\" : identity,\n      \"array\" : function (input) {\n         return stringToArrayLike(input, new Array(input.length));\n      },\n      \"arraybuffer\" : function (input) {\n         return transform[\"string\"][\"uint8array\"](input).buffer;\n      },\n      \"uint8array\" : function (input) {\n         return stringToArrayLike(input, new Uint8Array(input.length));\n      },\n      \"nodebuffer\" : function (input) {\n         return stringToArrayLike(input, new Buffer(input.length));\n      }\n   };\n\n   // array to ?\n   transform[\"array\"] = {\n      \"string\" : arrayLikeToString,\n      \"array\" : identity,\n      \"arraybuffer\" : function (input) {\n         return (new Uint8Array(input)).buffer;\n      },\n      \"uint8array\" : function (input) {\n         return new Uint8Array(input);\n      },\n      \"nodebuffer\" : function (input) {\n         return new Buffer(input);\n      }\n   };\n\n   // arraybuffer to ?\n   transform[\"arraybuffer\"] = {\n      \"string\" : function (input) {\n         return arrayLikeToString(new Uint8Array(input));\n      },\n      \"array\" : function (input) {\n         return arrayLikeToArrayLike(new Uint8Array(input), new Array(input.byteLength));\n      },\n      \"arraybuffer\" : identity,\n      \"uint8array\" : function (input) {\n         return new Uint8Array(input);\n      },\n      \"nodebuffer\" : function (input) {\n         return new Buffer(new Uint8Array(input));\n      }\n   };\n\n   // uint8array to ?\n   transform[\"uint8array\"] = {\n      \"string\" : arrayLikeToString,\n      \"array\" : function (input) {\n         return arrayLikeToArrayLike(input, new Array(input.length));\n      },\n      \"arraybuffer\" : function (input) {\n         return input.buffer;\n      },\n      \"uint8array\" : identity,\n      \"nodebuffer\" : function(input) {\n         return new Buffer(input);\n      }\n   };\n\n   // nodebuffer to ?\n   transform[\"nodebuffer\"] = {\n      \"string\" : arrayLikeToString,\n      \"array\" : function (input) {\n         return arrayLikeToArrayLike(input, new Array(input.length));\n      },\n      \"arraybuffer\" : function (input) {\n         return transform[\"nodebuffer\"][\"uint8array\"](input).buffer;\n      },\n      \"uint8array\" : function (input) {\n         return arrayLikeToArrayLike(input, new Uint8Array(input.length));\n      },\n      \"nodebuffer\" : identity\n   };\n\n   /**\n    * Transform an input into any type.\n    * The supported output type are : string, array, uint8array, arraybuffer, nodebuffer.\n    * If no output type is specified, the unmodified input will be returned.\n    * @param {String} outputType the output type.\n    * @param {String|Array|ArrayBuffer|Uint8Array|Buffer} input the input to convert.\n    * @throws {Error} an Error if the browser doesn't support the requested output type.\n    */\n   JSZip.utils.transformTo = function (outputType, input) {\n      if (!input) {\n         // undefined, null, etc\n         // an empty string won't harm.\n         input = \"\";\n      }\n      if (!outputType) {\n         return input;\n      }\n      JSZip.utils.checkSupport(outputType);\n      var inputType = JSZip.utils.getTypeOf(input);\n      var result = transform[inputType][outputType](input);\n      return result;\n   };\n\n   /**\n    * Return the type of the input.\n    * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer.\n    * @param {Object} input the input to identify.\n    * @return {String} the (lowercase) type of the input.\n    */\n   JSZip.utils.getTypeOf = function (input) {\n      if (typeof input === \"string\") {\n         return \"string\";\n      }\n      if (Object.prototype.toString.call(input) === \"[object Array]\") {\n         return \"array\";\n      }\n      if (JSZip.support.nodebuffer && Buffer.isBuffer(input)) {\n         return \"nodebuffer\";\n      }\n      if (JSZip.support.uint8array && input instanceof Uint8Array) {\n         return \"uint8array\";\n      }\n      if (JSZip.support.arraybuffer && input instanceof ArrayBuffer) {\n         return \"arraybuffer\";\n      }\n   };\n\n   /**\n    * Cross-window, cross-Node-context regular expression detection\n    * @param  {Object}  object Anything\n    * @return {Boolean}        true if the object is a regular expression,\n    * false otherwise\n    */\n   JSZip.utils.isRegExp = function (object) {\n      return Object.prototype.toString.call(object) === \"[object RegExp]\";\n   };\n\n   /**\n    * Throw an exception if the type is not supported.\n    * @param {String} type the type to check.\n    * @throws {Error} an Error if the browser doesn't support the requested type.\n    */\n   JSZip.utils.checkSupport = function (type) {\n      var supported = true;\n      switch (type.toLowerCase()) {\n         case \"uint8array\":\n            supported = JSZip.support.uint8array;\n         break;\n         case \"arraybuffer\":\n            supported = JSZip.support.arraybuffer;\n         break;\n         case \"nodebuffer\":\n            supported = JSZip.support.nodebuffer;\n         break;\n         case \"blob\":\n            supported = JSZip.support.blob;\n         break;\n      }\n      if (!supported) {\n         throw new Error(type + \" is not supported by this browser\");\n      }\n   };\n\n\n})();\n\n(function (){\n   /**\n    * Represents an entry in the zip.\n    * The content may or may not be compressed.\n    * @constructor\n    */\n   JSZip.CompressedObject = function () {\n         this.compressedSize = 0;\n         this.uncompressedSize = 0;\n         this.crc32 = 0;\n         this.compressionMethod = null;\n         this.compressedContent = null;\n   };\n\n   JSZip.CompressedObject.prototype = {\n      /**\n       * Return the decompressed content in an unspecified format.\n       * The format will depend on the decompressor.\n       * @return {Object} the decompressed content.\n       */\n      getContent : function () {\n         return null; // see implementation\n      },\n      /**\n       * Return the compressed content in an unspecified format.\n       * The format will depend on the compressed conten source.\n       * @return {Object} the compressed content.\n       */\n      getCompressedContent : function () {\n         return null; // see implementation\n      }\n   };\n})();\n\n/**\n *\n *  Base64 encode / decode\n *  http://www.webtoolkit.info/\n *\n *  Hacked so that it doesn't utf8 en/decode everything\n **/\nJSZip.base64 = (function() {\n   // private property\n   var _keyStr = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\n\n   return {\n      // public method for encoding\n      encode : function(input, utf8) {\n         var output = \"\";\n         var chr1, chr2, chr3, enc1, enc2, enc3, enc4;\n         var i = 0;\n\n         while (i < input.length) {\n\n            chr1 = input.charCodeAt(i++);\n            chr2 = input.charCodeAt(i++);\n            chr3 = input.charCodeAt(i++);\n\n            enc1 = chr1 >> 2;\n            enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);\n            enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);\n            enc4 = chr3 & 63;\n\n            if (isNaN(chr2)) {\n               enc3 = enc4 = 64;\n            } else if (isNaN(chr3)) {\n               enc4 = 64;\n            }\n\n            output = output +\n               _keyStr.charAt(enc1) + _keyStr.charAt(enc2) +\n               _keyStr.charAt(enc3) + _keyStr.charAt(enc4);\n\n         }\n\n         return output;\n      },\n\n      // public method for decoding\n      decode : function(input, utf8) {\n         var output = \"\";\n         var chr1, chr2, chr3;\n         var enc1, enc2, enc3, enc4;\n         var i = 0;\n\n         input = input.replace(/[^A-Za-z0-9\\+\\/\\=]/g, \"\");\n\n         while (i < input.length) {\n\n            enc1 = _keyStr.indexOf(input.charAt(i++));\n            enc2 = _keyStr.indexOf(input.charAt(i++));\n            enc3 = _keyStr.indexOf(input.charAt(i++));\n            enc4 = _keyStr.indexOf(input.charAt(i++));\n\n            chr1 = (enc1 << 2) | (enc2 >> 4);\n            chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);\n            chr3 = ((enc3 & 3) << 6) | enc4;\n\n            output = output + String.fromCharCode(chr1);\n\n            if (enc3 != 64) {\n               output = output + String.fromCharCode(chr2);\n            }\n            if (enc4 != 64) {\n               output = output + String.fromCharCode(chr3);\n            }\n\n         }\n\n         return output;\n\n      }\n   };\n}());\n\n// enforcing Stuk's coding style\n// vim: set shiftwidth=3 softtabstop=3:\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/less.js",
    "content": "//\n// LESS - Leaner CSS v1.3.3\n// http://lesscss.org\n//\n// Copyright (c) 2009-2013, Alexis Sellier\n// Licensed under the Apache 2.0 License.\n//\n(function(e,t){function n(t){return e.less[t.split(\"/\")[1]]}function f(){r.env===\"development\"?(r.optimization=0,r.watchTimer=setInterval(function(){r.watchMode&&g(function(e,t,n,r,i){t&&S(t.toCSS(),r,i.lastModified)})},r.poll)):r.optimization=3}function m(){var e=document.getElementsByTagName(\"style\");for(var t=0;t<e.length;t++)e[t].type.match(p)&&(new r.Parser({filename:document.location.href.replace(/#.*$/,\"\"),dumpLineNumbers:r.dumpLineNumbers})).parse(e[t].innerHTML||\"\",function(n,r){var i=r.toCSS(),s=e[t];s.type=\"text/css\",s.styleSheet?s.styleSheet.cssText=i:s.innerHTML=i})}function g(e,t){for(var n=0;n<r.sheets.length;n++)w(r.sheets[n],e,t,r.sheets.length-(n+1))}function y(e,t){var n=b(e),r=b(t),i,s,o,u,a=\"\";if(n.hostPart!==r.hostPart)return\"\";s=Math.max(r.directories.length,n.directories.length);for(i=0;i<s;i++)if(r.directories[i]!==n.directories[i])break;u=r.directories.slice(i),o=n.directories.slice(i);for(i=0;i<u.length-1;i++)a+=\"../\";for(i=0;i<o.length-1;i++)a+=o[i]+\"/\";return a}function b(e,t){var n=/^((?:[a-z-]+:)?\\/\\/(?:[^\\/\\?#]*\\/)|([\\/\\\\]))?((?:[^\\/\\\\\\?#]*[\\/\\\\])*)([^\\/\\\\\\?#]*)([#\\?].*)?$/,r=e.match(n),i={},s=[],o,u;if(!r)throw new Error(\"Could not parse sheet href - '\"+e+\"'\");if(!r[1]||r[2]){u=t.match(n);if(!u)throw new Error(\"Could not parse page url - '\"+t+\"'\");r[1]=u[1],r[2]||(r[3]=u[3]+r[3])}if(r[3]){s=r[3].replace(\"\\\\\",\"/\").split(\"/\");for(o=0;o<s.length;o++)s[o]===\"..\"&&o>0&&(s.splice(o-1,2),o-=2)}return i.hostPart=r[1],i.directories=s,i.path=r[1]+s.join(\"/\"),i.fileUrl=i.path+(r[4]||\"\"),i.url=i.fileUrl+(r[5]||\"\"),i}function w(t,n,i,s){var o=t.contents||{},u=t.files||{},a=b(t.href,e.location.href),f=a.url,c=l&&l.getItem(f),h=l&&l.getItem(f+\":timestamp\"),p={css:c,timestamp:h},d;r.relativeUrls?r.rootpath?t.entryPath?d=b(r.rootpath+y(a.path,t.entryPath)).path:d=r.rootpath:d=a.path:r.rootpath?d=r.rootpath:t.entryPath?d=t.entryPath:d=a.path,x(f,t.type,function(e,l){v+=e.replace(/@import .+?;/ig,\"\");if(!i&&p&&l&&(new Date(l)).valueOf()===(new Date(p.timestamp)).valueOf())S(p.css,t),n(null,null,e,t,{local:!0,remaining:s},f);else try{o[f]=e,(new r.Parser({optimization:r.optimization,paths:[a.path],entryPath:t.entryPath||a.path,mime:t.type,filename:f,rootpath:d,relativeUrls:t.relativeUrls,contents:o,files:u,dumpLineNumbers:r.dumpLineNumbers})).parse(e,function(r,i){if(r)return k(r,f);try{n(r,i,e,t,{local:!1,lastModified:l,remaining:s},f),N(document.getElementById(\"less-error-message:\"+E(f)))}catch(r){k(r,f)}})}catch(c){k(c,f)}},function(e,t){throw new Error(\"Couldn't load \"+t+\" (\"+e+\")\")})}function E(e){return e.replace(/^[a-z]+:\\/\\/?[^\\/]+/,\"\").replace(/^\\//,\"\").replace(/\\.[a-zA-Z]+$/,\"\").replace(/[^\\.\\w-]+/g,\"-\").replace(/\\./g,\":\")}function S(e,t,n){var r,i=t.href||\"\",s=\"less:\"+(t.title||E(i));if((r=document.getElementById(s))===null){r=document.createElement(\"style\"),r.type=\"text/css\",t.media&&(r.media=t.media),r.id=s;var o=t&&t.nextSibling||null;(o||document.getElementsByTagName(\"head\")[0]).parentNode.insertBefore(r,o)}if(r.styleSheet)try{r.styleSheet.cssText=e}catch(u){throw new Error(\"Couldn't reassign styleSheet.cssText.\")}else(function(e){r.childNodes.length>0?r.firstChild.nodeValue!==e.nodeValue&&r.replaceChild(e,r.firstChild):r.appendChild(e)})(document.createTextNode(e));if(n&&l){C(\"saving \"+i+\" to cache.\");try{l.setItem(i,e),l.setItem(i+\":timestamp\",n)}catch(u){C(\"failed to save\")}}}function x(e,t,n,i){function a(t,n,r){t.status>=200&&t.status<300?n(t.responseText,t.getResponseHeader(\"Last-Modified\")):typeof r==\"function\"&&r(t.status,e)}var s=T(),u=o?r.fileAsync:r.async;typeof s.overrideMimeType==\"function\"&&s.overrideMimeType(\"text/css\"),s.open(\"GET\",e,u),s.setRequestHeader(\"Accept\",t||\"text/x-less, text/css; q=0.9, */*; q=0.5\"),s.send(null),o&&!r.fileAsync?s.status===0||s.status>=200&&s.status<300?n(s.responseText):i(s.status,e):u?s.onreadystatechange=function(){s.readyState==4&&a(s,n,i)}:a(s,n,i)}function T(){if(e.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject(\"MSXML2.XMLHTTP.3.0\")}catch(t){return C(\"browser doesn't support AJAX.\"),null}}function N(e){return e&&e.parentNode.removeChild(e)}function C(e){r.env==\"development\"&&typeof console!=\"undefined\"&&console.log(\"less: \"+e)}function k(e,t){var n=\"less-error-message:\"+E(t),i='<li><label>{line}</label><pre class=\"{class}\">{content}</pre></li>',s=document.createElement(\"div\"),o,u,a=[],f=e.filename||t,l=f.match(/([^\\/]+(\\?.*)?)$/)[1];s.id=n,s.className=\"less-error-message\",u=\"<h3>\"+(e.message||\"There is an error in your .less file\")+\"</h3>\"+'<p>in <a href=\"'+f+'\">'+l+\"</a> \";var c=function(e,t,n){e.extract[t]&&a.push(i.replace(/\\{line\\}/,parseInt(e.line)+(t-1)).replace(/\\{class\\}/,n).replace(/\\{content\\}/,e.extract[t]))};e.stack?u+=\"<br/>\"+e.stack.split(\"\\n\").slice(1).join(\"<br/>\"):e.extract&&(c(e,0,\"\"),c(e,1,\"line\"),c(e,2,\"\"),u+=\"on line \"+e.line+\", column \"+(e.column+1)+\":</p>\"+\"<ul>\"+a.join(\"\")+\"</ul>\"),s.innerHTML=u,S([\".less-error-message ul, .less-error-message li {\",\"list-style-type: none;\",\"margin-right: 15px;\",\"padding: 4px 0;\",\"margin: 0;\",\"}\",\".less-error-message label {\",\"font-size: 12px;\",\"margin-right: 15px;\",\"padding: 4px 0;\",\"color: #cc7777;\",\"}\",\".less-error-message pre {\",\"color: #dd6666;\",\"padding: 4px 0;\",\"margin: 0;\",\"display: inline-block;\",\"}\",\".less-error-message pre.line {\",\"color: #ff0000;\",\"}\",\".less-error-message h3 {\",\"font-size: 20px;\",\"font-weight: bold;\",\"padding: 15px 0 5px 0;\",\"margin: 0;\",\"}\",\".less-error-message a {\",\"color: #10a\",\"}\",\".less-error-message .error {\",\"color: red;\",\"font-weight: bold;\",\"padding-bottom: 2px;\",\"border-bottom: 1px dashed red;\",\"}\"].join(\"\\n\"),{title:\"error-message\"}),s.style.cssText=[\"font-family: Arial, sans-serif\",\"border: 1px solid #e00\",\"background-color: #eee\",\"border-radius: 5px\",\"-webkit-border-radius: 5px\",\"-moz-border-radius: 5px\",\"color: #e00\",\"padding: 15px\",\"margin-bottom: 15px\"].join(\";\"),r.env==\"development\"&&(o=setInterval(function(){document.body&&(document.getElementById(n)?document.body.replaceChild(s,document.getElementById(n)):document.body.insertBefore(s,document.body.firstChild),clearInterval(o))},10))}Array.isArray||(Array.isArray=function(e){return Object.prototype.toString.call(e)===\"[object Array]\"||e instanceof Array}),Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n=this.length>>>0;for(var r=0;r<n;r++)r in this&&e.call(t,this[r],r,this)}),Array.prototype.map||(Array.prototype.map=function(e){var t=this.length>>>0,n=new Array(t),r=arguments[1];for(var i=0;i<t;i++)i in this&&(n[i]=e.call(r,this[i],i,this));return n}),Array.prototype.filter||(Array.prototype.filter=function(e){var t=[],n=arguments[1];for(var r=0;r<this.length;r++)e.call(n,this[r])&&t.push(this[r]);return t}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=this.length>>>0,n=0;if(t===0&&arguments.length===1)throw new TypeError;if(arguments.length>=2)var r=arguments[1];else do{if(n in this){r=this[n++];break}if(++n>=t)throw new TypeError}while(!0);for(;n<t;n++)n in this&&(r=e.call(null,r,this[n],n,this));return r}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length,n=arguments[1]||0;if(!t)return-1;if(n>=t)return-1;n<0&&(n+=t);for(;n<t;n++){if(!Object.prototype.hasOwnProperty.call(this,n))continue;if(e===this[n])return n}return-1}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}),String.prototype.trim||(String.prototype.trim=function(){return String(this).replace(/^\\s\\s*/,\"\").replace(/\\s\\s*$/,\"\")});var r,i,s;typeof environment==\"object\"&&{}.toString.call(environment)===\"[object Environment]\"?(typeof e==\"undefined\"?r={}:r=e.less={},i=r.tree={},r.mode=\"rhino\"):typeof e==\"undefined\"?(r=exports,i=n(\"./tree\"),r.mode=\"node\"):(typeof e.less==\"undefined\"&&(e.less={}),r=e.less,i=e.less.tree={},r.mode=\"browser\"),r.Parser=function(t){function g(){a=c[u],f=o,h=o}function y(){c[u]=a,o=f,h=o}function b(){o>h&&(c[u]=c[u].slice(o-h),h=o)}function w(e){var t=e.charCodeAt(0);return t===32||t===10||t===9}function E(e){var t,n,r,i,a;if(e instanceof Function)return e.call(p.parsers);if(typeof e==\"string\")t=s.charAt(o)===e?e:null,r=1,b();else{b();if(!(t=e.exec(c[u])))return null;r=t[0].length}if(t)return S(r),typeof t==\"string\"?t:t.length===1?t[0]:t}function S(e){var t=o,n=u,r=o+c[u].length,i=o+=e;while(o<r){if(!w(s.charAt(o)))break;o++}return c[u]=c[u].slice(e+(o-i)),h=o,c[u].length===0&&u<c.length-1&&u++,t!==o||n!==u}function x(e,t){var n=E(e);if(!!n)return n;T(t||(typeof e==\"string\"?\"expected '\"+e+\"' got '\"+s.charAt(o)+\"'\":\"unexpected token\"))}function T(e,t){var n=new Error(e);throw n.index=o,n.type=t||\"Syntax\",n}function N(e){return typeof e==\"string\"?s.charAt(o)===e:e.test(c[u])?!0:!1}function C(e,t){return e.filename&&t.filename&&e.filename!==t.filename?p.imports.contents[e.filename]:s}function k(e,t){for(var n=e,r=-1;n>=0&&t.charAt(n)!==\"\\n\";n--)r++;return{line:typeof e==\"number\"?(t.slice(0,e).match(/\\n/g)||\"\").length:null,column:r}}function L(e){return r.mode===\"browser\"||r.mode===\"rhino\"?e.filename:n(\"path\").resolve(e.filename)}function A(e,t,n){return{lineNumber:k(e,t).line+1,fileName:L(n)}}function O(e,t){var n=C(e,t),r=k(e.index,n),i=r.line,s=r.column,o=n.split(\"\\n\");this.type=e.type||\"Syntax\",this.message=e.message,this.filename=e.filename||t.filename,this.index=e.index,this.line=typeof i==\"number\"?i+1:null,this.callLine=e.call&&k(e.call,n).line+1,this.callExtract=o[k(e.call,n).line],this.stack=e.stack,this.column=s,this.extract=[o[i-1],o[i],o[i+1]]}var s,o,u,a,f,l,c,h,p,d=this,t=t||{};t.contents||(t.contents={}),t.rootpath=t.rootpath||\"\",t.files||(t.files={});var v=function(){},m=this.imports={paths:t.paths||[],queue:[],files:t.files,contents:t.contents,mime:t.mime,error:null,push:function(e,n){var i=this;this.queue.push(e),r.Parser.importer(e,this.paths,function(t,r,s){i.queue.splice(i.queue.indexOf(e),1);var o=s in i.files;i.files[s]=r,t&&!i.error&&(i.error=t),n(t,r,o),i.queue.length===0&&v(i.error)},t)}};return this.env=t=t||{},this.optimization=\"optimization\"in this.env?this.env.optimization:1,this.env.filename=this.env.filename||null,p={imports:m,parse:function(e,a){var f,d,m,g,y,b,w=[],S,x=null;o=u=h=l=0,s=e.replace(/\\r\\n/g,\"\\n\"),s=s.replace(/^\\uFEFF/,\"\"),c=function(e){var n=0,r=/(?:@\\{[\\w-]+\\}|[^\"'`\\{\\}\\/\\(\\)\\\\])+/g,i=/\\/\\*(?:[^*]|\\*+[^\\/*])*\\*+\\/|\\/\\/.*/g,o=/\"((?:[^\"\\\\\\r\\n]|\\\\.)*)\"|'((?:[^'\\\\\\r\\n]|\\\\.)*)'|`((?:[^`]|\\\\.)*)`/g,u=0,a,f=e[0],l;for(var c=0,h,p;c<s.length;){r.lastIndex=c,(a=r.exec(s))&&a.index===c&&(c+=a[0].length,f.push(a[0])),h=s.charAt(c),i.lastIndex=o.lastIndex=c;if(a=o.exec(s))if(a.index===c){c+=a[0].length,f.push(a[0]);continue}if(!l&&h===\"/\"){p=s.charAt(c+1);if(p===\"/\"||p===\"*\")if(a=i.exec(s))if(a.index===c){c+=a[0].length,f.push(a[0]);continue}}switch(h){case\"{\":if(!l){u++,f.push(h);break};case\"}\":if(!l){u--,f.push(h),e[++n]=f=[];break};case\"(\":if(!l){l=!0,f.push(h);break};case\")\":if(l){l=!1,f.push(h);break};default:f.push(h)}c++}return u!=0&&(x=new O({index:c-1,type:\"Parse\",message:u>0?\"missing closing `}`\":\"missing opening `{`\",filename:t.filename},t)),e.map(function(e){return e.join(\"\")})}([[]]);if(x)return a(x,t);try{f=new i.Ruleset([],E(this.parsers.primary)),f.root=!0}catch(T){return a(new O(T,t))}f.toCSS=function(e){var s,o,u;return function(s,o){var u=[],a;s=s||{},typeof o==\"object\"&&!Array.isArray(o)&&(o=Object.keys(o).map(function(e){var t=o[e];return t instanceof i.Value||(t instanceof i.Expression||(t=new i.Expression([t])),t=new i.Value([t])),new i.Rule(\"@\"+e,t,!1,0)}),u=[new i.Ruleset(null,o)]);try{var f=e.call(this,{frames:u}).toCSS([],{compress:s.compress||!1,dumpLineNumbers:t.dumpLineNumbers})}catch(l){throw new O(l,t)}if(a=p.imports.error)throw a instanceof O?a:new O(a,t);return s.yuicompress&&r.mode===\"node\"?n(\"ycssmin\").cssmin(f):s.compress?f.replace(/(\\s)+/g,\"$1\"):f}}(f.eval);if(o<s.length-1){o=l,b=s.split(\"\\n\"),y=(s.slice(0,o).match(/\\n/g)||\"\").length+1;for(var N=o,C=-1;N>=0&&s.charAt(N)!==\"\\n\";N--)C++;x={type:\"Parse\",message:\"Syntax Error on line \"+y,index:o,filename:t.filename,line:y,column:C,extract:[b[y-2],b[y-1],b[y]]}}this.imports.queue.length>0?v=function(e){e=x||e,e?a(e):a(null,f)}:a(x,f)},parsers:{primary:function(){var e,t=[];while((e=E(this.mixin.definition)||E(this.rule)||E(this.ruleset)||E(this.mixin.call)||E(this.comment)||E(this.directive))||E(/^[\\s\\n]+/)||E(/^;+/))e&&t.push(e);return t},comment:function(){var e;if(s.charAt(o)!==\"/\")return;if(s.charAt(o+1)===\"/\")return new i.Comment(E(/^\\/\\/.*/),!0);if(e=E(/^\\/\\*(?:[^*]|\\*+[^\\/*])*\\*+\\/\\n?/))return new i.Comment(e)},entities:{quoted:function(){var e,t=o,n;s.charAt(t)===\"~\"&&(t++,n=!0);if(s.charAt(t)!=='\"'&&s.charAt(t)!==\"'\")return;n&&E(\"~\");if(e=E(/^\"((?:[^\"\\\\\\r\\n]|\\\\.)*)\"|'((?:[^'\\\\\\r\\n]|\\\\.)*)'/))return new i.Quoted(e[0],e[1]||e[2],n)},keyword:function(){var e;if(e=E(/^[_A-Za-z-][_A-Za-z0-9-]*/))return i.colors.hasOwnProperty(e)?new i.Color(i.colors[e].slice(1)):new i.Keyword(e)},call:function(){var e,n,r,s,a=o;if(!(e=/^([\\w-]+|%|progid:[\\w\\.]+)\\(/.exec(c[u])))return;e=e[1],n=e.toLowerCase();if(n===\"url\")return null;o+=e.length;if(n===\"alpha\"){s=E(this.alpha);if(typeof s!=\"undefined\")return s}E(\"(\"),r=E(this.entities.arguments);if(!E(\")\"))return;if(e)return new i.Call(e,r,a,t.filename)},arguments:function(){var e=[],t;while(t=E(this.entities.assignment)||E(this.expression)){e.push(t);if(!E(\",\"))break}return e},literal:function(){return E(this.entities.ratio)||E(this.entities.dimension)||E(this.entities.color)||E(this.entities.quoted)||E(this.entities.unicodeDescriptor)},assignment:function(){var e,t;if((e=E(/^\\w+(?=\\s?=)/i))&&E(\"=\")&&(t=E(this.entity)))return new i.Assignment(e,t)},url:function(){var e;if(s.charAt(o)!==\"u\"||!E(/^url\\(/))return;return e=E(this.entities.quoted)||E(this.entities.variable)||E(/^(?:(?:\\\\[\\(\\)'\"])|[^\\(\\)'\"])+/)||\"\",x(\")\"),new i.URL(e.value!=null||e instanceof i.Variable?e:new i.Anonymous(e),t.rootpath)},variable:function(){var e,n=o;if(s.charAt(o)===\"@\"&&(e=E(/^@@?[\\w-]+/)))return new i.Variable(e,n,t.filename)},variableCurly:function(){var e,n,r=o;if(s.charAt(o)===\"@\"&&(n=E(/^@\\{([\\w-]+)\\}/)))return new i.Variable(\"@\"+n[1],r,t.filename)},color:function(){var e;if(s.charAt(o)===\"#\"&&(e=E(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/)))return new i.Color(e[1])},dimension:function(){var e,t=s.charCodeAt(o);if(t>57||t<43||t===47||t==44)return;if(e=E(/^([+-]?\\d*\\.?\\d+)(px|%|em|pc|ex|in|deg|s|ms|pt|cm|mm|rad|grad|turn|dpi|dpcm|dppx|rem|vw|vh|vmin|vm|ch)?/))return new i.Dimension(e[1],e[2])},ratio:function(){var e,t=s.charCodeAt(o);if(t>57||t<48)return;if(e=E(/^(\\d+\\/\\d+)/))return new i.Ratio(e[1])},unicodeDescriptor:function(){var e;if(e=E(/^U\\+[0-9a-fA-F?]+(\\-[0-9a-fA-F?]+)?/))return new i.UnicodeDescriptor(e[0])},javascript:function(){var e,t=o,n;s.charAt(t)===\"~\"&&(t++,n=!0);if(s.charAt(t)!==\"`\")return;n&&E(\"~\");if(e=E(/^`([^`]*)`/))return new i.JavaScript(e[1],o,n)}},variable:function(){var e;if(s.charAt(o)===\"@\"&&(e=E(/^(@[\\w-]+)\\s*:/)))return e[1]},shorthand:function(){var e,t;if(!N(/^[@\\w.%-]+\\/[@\\w.-]+/))return;g();if((e=E(this.entity))&&E(\"/\")&&(t=E(this.entity)))return new i.Shorthand(e,t);y()},mixin:{call:function(){var e=[],n,r,u=[],a=[],f,l,c,h,p,d,v,m=o,b=s.charAt(o),w,S,C=!1;if(b!==\".\"&&b!==\"#\")return;g();while(n=E(/^[#.](?:[\\w-]|\\\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/))e.push(new i.Element(r,n,o)),r=E(\">\");if(E(\"(\")){p=[];while(c=E(this.expression)){h=null,S=c;if(c.value.length==1){var k=c.value[0];k instanceof i.Variable&&E(\":\")&&(p.length>0&&(d&&T(\"Cannot mix ; and , as delimiter types\"),v=!0),S=x(this.expression),h=w=k.name)}p.push(S),a.push({name:h,value:S});if(E(\",\"))continue;if(E(\";\")||d)v&&T(\"Cannot mix ; and , as delimiter types\"),d=!0,p.length>1&&(S=new i.Value(p)),u.push({name:w,value:S}),w=null,p=[],v=!1}x(\")\")}f=d?u:a,E(this.important)&&(C=!0);if(e.length>0&&(E(\";\")||N(\"}\")))return new i.mixin.Call(e,f,m,t.filename,C);y()},definition:function(){var e,t=[],n,r,u,a,f,c=!1;if(s.charAt(o)!==\".\"&&s.charAt(o)!==\"#\"||N(/^[^{]*\\}/))return;g();if(n=E(/^([#.](?:[\\w-]|\\\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\\s*\\(/)){e=n[1];do{E(this.comment);if(s.charAt(o)===\".\"&&E(/^\\.{3}/)){c=!0,t.push({variadic:!0});break}if(!(u=E(this.entities.variable)||E(this.entities.literal)||E(this.entities.keyword)))break;if(u instanceof i.Variable)if(E(\":\"))a=x(this.expression,\"expected expression\"),t.push({name:u.name,value:a});else{if(E(/^\\.{3}/)){t.push({name:u.name,variadic:!0}),c=!0;break}t.push({name:u.name})}else t.push({value:u})}while(E(\",\")||E(\";\"));E(\")\")||(l=o,y()),E(this.comment),E(/^when/)&&(f=x(this.conditions,\"expected condition\")),r=E(this.block);if(r)return new i.mixin.Definition(e,t,r,f,c);y()}}},entity:function(){return E(this.entities.literal)||E(this.entities.variable)||E(this.entities.url)||E(this.entities.call)||E(this.entities.keyword)||E(this.entities.javascript)||E(this.comment)},end:function(){return E(\";\")||N(\"}\")},alpha:function(){var e;if(!E(/^\\(opacity=/i))return;if(e=E(/^\\d+/)||E(this.entities.variable))return x(\")\"),new i.Alpha(e)},element:function(){var e,t,n,r;n=E(this.combinator),e=E(/^(?:\\d+\\.\\d+|\\d+)%/)||E(/^(?:[.#]?|:*)(?:[\\w-]|[^\\x00-\\x9f]|\\\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||E(\"*\")||E(\"&\")||E(this.attribute)||E(/^\\([^()@]+\\)/)||E(/^[\\.#](?=@)/)||E(this.entities.variableCurly),e||E(\"(\")&&(r=E(this.entities.variableCurly)||E(this.entities.variable)||E(this.selector))&&E(\")\")&&(e=new i.Paren(r));if(e)return new i.Element(n,e,o)},combinator:function(){var e,t=s.charAt(o);if(t===\">\"||t===\"+\"||t===\"~\"||t===\"|\"){o++;while(s.charAt(o).match(/\\s/))o++;return new i.Combinator(t)}return s.charAt(o-1).match(/\\s/)?new i.Combinator(\" \"):new i.Combinator(null)},selector:function(){var e,t,n=[],r,u;if(E(\"(\"))return e=E(this.entity),E(\")\")?new i.Selector([new i.Element(\"\",e,o)]):null;while(t=E(this.element)){r=s.charAt(o),n.push(t);if(r===\"{\"||r===\"}\"||r===\";\"||r===\",\"||r===\")\")break}if(n.length>0)return new i.Selector(n)},attribute:function(){var e=\"\",t,n,r;if(!E(\"[\"))return;if(t=E(/^(?:[_A-Za-z0-9-]|\\\\.)+/)||E(this.entities.quoted))(r=E(/^[|~*$^]?=/))&&(n=E(this.entities.quoted)||E(/^[\\w-]+/))?e=[t,r,n.toCSS?n.toCSS():n].join(\"\"):e=t;if(!E(\"]\"))return;if(e)return\"[\"+e+\"]\"},block:function(){var e;if(E(\"{\")&&(e=E(this.primary))&&E(\"}\"))return e},ruleset:function(){var e=[],n,r,u,a;g(),t.dumpLineNumbers&&(a=A(o,s,t));while(n=E(this.selector)){e.push(n),E(this.comment);if(!E(\",\"))break;E(this.comment)}if(e.length>0&&(r=E(this.block))){var f=new i.Ruleset(e,r,t.strictImports);return t.dumpLineNumbers&&(f.debugInfo=a),f}l=o,y()},rule:function(){var e,t,n=s.charAt(o),r,a;g();if(n===\".\"||n===\"#\"||n===\"&\")return;if(e=E(this.variable)||E(this.property)){e.charAt(0)!=\"@\"&&(a=/^([^@+\\/'\"*`(;{}-]*);/.exec(c[u]))?(o+=a[0].length-1,t=new i.Anonymous(a[1])):e===\"font\"?t=E(this.font):t=E(this.value),r=E(this.important);if(t&&E(this.end))return new i.Rule(e,t,r,f);l=o,y()}},\"import\":function(){var e,n,r=o;g();var s=E(/^@import(?:-(once))?\\s+/);if(s&&(e=E(this.entities.quoted)||E(this.entities.url))){n=E(this.mediaFeatures);if(E(\";\"))return new i.Import(e,m,n,s[1]===\"once\",r,t.rootpath)}y()},mediaFeature:function(){var e,t,n=[];do if(e=E(this.entities.keyword))n.push(e);else if(E(\"(\")){t=E(this.property),e=E(this.entity);if(!E(\")\"))return null;if(t&&e)n.push(new i.Paren(new i.Rule(t,e,null,o,!0)));else{if(!e)return null;n.push(new i.Paren(e))}}while(e);if(n.length>0)return new i.Expression(n)},mediaFeatures:function(){var e,t=[];do if(e=E(this.mediaFeature)){t.push(e);if(!E(\",\"))break}else if(e=E(this.entities.variable)){t.push(e);if(!E(\",\"))break}while(e);return t.length>0?t:null},media:function(){var e,n,r,u;t.dumpLineNumbers&&(u=A(o,s,t));if(E(/^@media/)){e=E(this.mediaFeatures);if(n=E(this.block))return r=new i.Media(n,e),t.dumpLineNumbers&&(r.debugInfo=u),r}},directive:function(){var e,n,r,u,a,f,l,c,h,p;if(s.charAt(o)!==\"@\")return;if(n=E(this[\"import\"])||E(this.media))return n;g(),e=E(/^@[a-z-]+/);if(!e)return;l=e,e.charAt(1)==\"-\"&&e.indexOf(\"-\",2)>0&&(l=\"@\"+e.slice(e.indexOf(\"-\",2)+1));switch(l){case\"@font-face\":c=!0;break;case\"@viewport\":case\"@top-left\":case\"@top-left-corner\":case\"@top-center\":case\"@top-right\":case\"@top-right-corner\":case\"@bottom-left\":case\"@bottom-left-corner\":case\"@bottom-center\":case\"@bottom-right\":case\"@bottom-right-corner\":case\"@left-top\":case\"@left-middle\":case\"@left-bottom\":case\"@right-top\":case\"@right-middle\":case\"@right-bottom\":c=!0;break;case\"@page\":case\"@document\":case\"@supports\":case\"@keyframes\":c=!0,h=!0;break;case\"@namespace\":p=!0}h&&(e+=\" \"+(E(/^[^{]+/)||\"\").trim());if(c){if(r=E(this.block))return new i.Directive(e,r)}else if((n=p?E(this.expression):E(this.entity))&&E(\";\")){var d=new i.Directive(e,n);return t.dumpLineNumbers&&(d.debugInfo=A(o,s,t)),d}y()},font:function(){var e=[],t=[],n,r,s,o;while(o=E(this.shorthand)||E(this.entity))t.push(o);e.push(new i.Expression(t));if(E(\",\"))while(o=E(this.expression)){e.push(o);if(!E(\",\"))break}return new i.Value(e)},value:function(){var e,t=[],n;while(e=E(this.expression)){t.push(e);if(!E(\",\"))break}if(t.length>0)return new i.Value(t)},important:function(){if(s.charAt(o)===\"!\")return E(/^! *important/)},sub:function(){var e;if(E(\"(\")&&(e=E(this.expression))&&E(\")\"))return e},multiplication:function(){var e,t,n,r;if(e=E(this.operand)){while(!N(/^\\/[*\\/]/)&&(n=E(\"/\")||E(\"*\"))&&(t=E(this.operand)))r=new i.Operation(n,[r||e,t]);return r||e}},addition:function(){var e,t,n,r;if(e=E(this.multiplication)){while((n=E(/^[-+]\\s+/)||!w(s.charAt(o-1))&&(E(\"+\")||E(\"-\")))&&(t=E(this.multiplication)))r=new i.Operation(n,[r||e,t]);return r||e}},conditions:function(){var e,t,n=o,r;if(e=E(this.condition)){while(E(\",\")&&(t=E(this.condition)))r=new i.Condition(\"or\",r||e,t,n);return r||e}},condition:function(){var e,t,n,r,s=o,u=!1;E(/^not/)&&(u=!0),x(\"(\");if(e=E(this.addition)||E(this.entities.keyword)||E(this.entities.quoted))return(r=E(/^(?:>=|=<|[<=>])/))?(t=E(this.addition)||E(this.entities.keyword)||E(this.entities.quoted))?n=new i.Condition(r,e,t,s,u):T(\"expected expression\"):n=new i.Condition(\"=\",e,new i.Keyword(\"true\"),s,u),x(\")\"),E(/^and/)?new i.Condition(\"and\",n,E(this.condition)):n},operand:function(){var e,t=s.charAt(o+1);s.charAt(o)===\"-\"&&(t===\"@\"||t===\"(\")&&(e=E(\"-\"));var n=E(this.sub)||E(this.entities.dimension)||E(this.entities.color)||E(this.entities.variable)||E(this.entities.call);return e?new i.Operation(\"*\",[new i.Dimension(-1),n]):n},expression:function(){var e,t,n=[],r;while(e=E(this.addition)||E(this.entity))n.push(e);if(n.length>0)return new i.Expression(n)},property:function(){var e;if(e=E(/^(\\*?-?[_a-z0-9-]+)\\s*:/))return e[1]}}}};if(r.mode===\"browser\"||r.mode===\"rhino\")r.Parser.importer=function(e,t,n,r){!/^([a-z-]+:)?\\//.test(e)&&t.length>0&&(e=t[0]+e),w({href:e,title:e,type:r.mime,contents:r.contents,files:r.files,rootpath:r.rootpath,entryPath:r.entryPath,relativeUrls:r.relativeUrls},function(e,i,s,o,u,a){e&&typeof r.errback==\"function\"?r.errback.call(null,a,t,n,r):n.call(null,e,i,a)},!0)};(function(e){function t(t){return e.functions.hsla(t.h,t.s,t.l,t.a)}function n(t,n){return t instanceof e.Dimension&&t.unit==\"%\"?parseFloat(t.value*n/100):r(t)}function r(t){if(t instanceof e.Dimension)return parseFloat(t.unit==\"%\"?t.value/100:t.value);if(typeof t==\"number\")return t;throw{error:\"RuntimeError\",message:\"color functions take numbers as parameters\"}}function i(e){return Math.min(1,Math.max(0,e))}e.functions={rgb:function(e,t,n){return this.rgba(e,t,n,1)},rgba:function(t,i,s,o){var u=[t,i,s].map(function(e){return n(e,256)});return o=r(o),new e.Color(u,o)},hsl:function(e,t,n){return this.hsla(e,t,n,1)},hsla:function(e,t,n,i){function u(e){return e=e<0?e+1:e>1?e-1:e,e*6<1?o+(s-o)*e*6:e*2<1?s:e*3<2?o+(s-o)*(2/3-e)*6:o}e=r(e)%360/360,t=r(t),n=r(n),i=r(i);var s=n<=.5?n*(t+1):n+t-n*t,o=n*2-s;return this.rgba(u(e+1/3)*255,u(e)*255,u(e-1/3)*255,i)},hsv:function(e,t,n){return this.hsva(e,t,n,1)},hsva:function(e,t,n,i){e=r(e)%360/360*360,t=r(t),n=r(n),i=r(i);var s,o;s=Math.floor(e/60%6),o=e/60-s;var u=[n,n*(1-t),n*(1-o*t),n*(1-(1-o)*t)],a=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]];return this.rgba(u[a[s][0]]*255,u[a[s][1]]*255,u[a[s][2]]*255,i)},hue:function(t){return new e.Dimension(Math.round(t.toHSL().h))},saturation:function(t){return new e.Dimension(Math.round(t.toHSL().s*100),\"%\")},lightness:function(t){return new e.Dimension(Math.round(t.toHSL().l*100),\"%\")},red:function(t){return new e.Dimension(t.rgb[0])},green:function(t){return new e.Dimension(t.rgb[1])},blue:function(t){return new e.Dimension(t.rgb[2])},alpha:function(t){return new e.Dimension(t.toHSL().a)},luma:function(t){return new e.Dimension(Math.round((.2126*(t.rgb[0]/255)+.7152*(t.rgb[1]/255)+.0722*(t.rgb[2]/255))*t.alpha*100),\"%\")},saturate:function(e,n){var r=e.toHSL();return r.s+=n.value/100,r.s=i(r.s),t(r)},desaturate:function(e,n){var r=e.toHSL();return r.s-=n.value/100,r.s=i(r.s),t(r)},lighten:function(e,n){var r=e.toHSL();return r.l+=n.value/100,r.l=i(r.l),t(r)},darken:function(e,n){var r=e.toHSL();return r.l-=n.value/100,r.l=i(r.l),t(r)},fadein:function(e,n){var r=e.toHSL();return r.a+=n.value/100,r.a=i(r.a),t(r)},fadeout:function(e,n){var r=e.toHSL();return r.a-=n.value/100,r.a=i(r.a),t(r)},fade:function(e,n){var r=e.toHSL();return r.a=n.value/100,r.a=i(r.a),t(r)},spin:function(e,n){var r=e.toHSL(),i=(r.h+n.value)%360;return r.h=i<0?360+i:i,t(r)},mix:function(t,n,r){r||(r=new e.Dimension(50));var i=r.value/100,s=i*2-1,o=t.toHSL().a-n.toHSL().a,u=((s*o==-1?s:(s+o)/(1+s*o))+1)/2,a=1-u,f=[t.rgb[0]*u+n.rgb[0]*a,t.rgb[1]*u+n.rgb[1]*a,t.rgb[2]*u+n.rgb[2]*a],l=t.alpha*i+n.alpha*(1-i);return new e.Color(f,l)},greyscale:function(t){return this.desaturate(t,new e.Dimension(100))},contrast:function(e,t,n,r){return e.rgb?(typeof n==\"undefined\"&&(n=this.rgba(255,255,255,1)),typeof t==\"undefined\"&&(t=this.rgba(0,0,0,1)),typeof r==\"undefined\"?r=.43:r=r.value,(.2126*(e.rgb[0]/255)+.7152*(e.rgb[1]/255)+.0722*(e.rgb[2]/255))*e.alpha<r?n:t):null},e:function(t){return new e.Anonymous(t instanceof e.JavaScript?t.evaluated:t)},escape:function(t){return new e.Anonymous(encodeURI(t.value).replace(/=/g,\"%3D\").replace(/:/g,\"%3A\").replace(/#/g,\"%23\").replace(/;/g,\"%3B\").replace(/\\(/g,\"%28\").replace(/\\)/g,\"%29\"))},\"%\":function(t){var n=Array.prototype.slice.call(arguments,1),r=t.value;for(var i=0;i<n.length;i++)r=r.replace(/%[sda]/i,function(e){var t=e.match(/s/i)?n[i].value:n[i].toCSS();return e.match(/[A-Z]$/)?encodeURIComponent(t):t});return r=r.replace(/%%/g,\"%\"),new e.Quoted('\"'+r+'\"',r)},unit:function(t,n){return new e.Dimension(t.value,n?n.toCSS():\"\")},round:function(e,t){var n=typeof t==\"undefined\"?0:t.value;return this._math(function(e){return e.toFixed(n)},e)},ceil:function(e){return this._math(Math.ceil,e)},floor:function(e){return this._math(Math.floor,e)},_math:function(t,n){if(n instanceof e.Dimension)return new e.Dimension(t(parseFloat(n.value)),n.unit);if(typeof n==\"number\")return t(n);throw{type:\"Argument\",message:\"argument must be a number\"}},argb:function(t){return new e.Anonymous(t.toARGB())},percentage:function(t){return new e.Dimension(t.value*100,\"%\")},color:function(t){if(t instanceof e.Quoted)return new e.Color(t.value.slice(1));throw{type:\"Argument\",message:\"argument must be a string\"}},iscolor:function(t){return this._isa(t,e.Color)},isnumber:function(t){return this._isa(t,e.Dimension)},isstring:function(t){return this._isa(t,e.Quoted)},iskeyword:function(t){return this._isa(t,e.Keyword)},isurl:function(t){return this._isa(t,e.URL)},ispixel:function(t){return t instanceof e.Dimension&&t.unit===\"px\"?e.True:e.False},ispercentage:function(t){return t instanceof e.Dimension&&t.unit===\"%\"?e.True:e.False},isem:function(t){return t instanceof e.Dimension&&t.unit===\"em\"?e.True:e.False},_isa:function(t,n){return t instanceof n?e.True:e.False},multiply:function(e,t){var n=e.rgb[0]*t.rgb[0]/255,r=e.rgb[1]*t.rgb[1]/255,i=e.rgb[2]*t.rgb[2]/255;return this.rgb(n,r,i)},screen:function(e,t){var n=255-(255-e.rgb[0])*(255-t.rgb[0])/255,r=255-(255-e.rgb[1])*(255-t.rgb[1])/255,i=255-(255-e.rgb[2])*(255-t.rgb[2])/255;return this.rgb(n,r,i)},overlay:function(e,t){var n=e.rgb[0]<128?2*e.rgb[0]*t.rgb[0]/255:255-2*(255-e.rgb[0])*(255-t.rgb[0])/255,r=e.rgb[1]<128?2*e.rgb[1]*t.rgb[1]/255:255-2*(255-e.rgb[1])*(255-t.rgb[1])/255,i=e.rgb[2]<128?2*e.rgb[2]*t.rgb[2]/255:255-2*(255-e.rgb[2])*(255-t.rgb[2])/255;return this.rgb(n,r,i)},softlight:function(e,t){var n=t.rgb[0]*e.rgb[0]/255,r=n+e.rgb[0]*(255-(255-e.rgb[0])*(255-t.rgb[0])/255-n)/255;n=t.rgb[1]*e.rgb[1]/255;var i=n+e.rgb[1]*(255-(255-e.rgb[1])*(255-t.rgb[1])/255-n)/255;n=t.rgb[2]*e.rgb[2]/255;var s=n+e.rgb[2]*(255-(255-e.rgb[2])*(255-t.rgb[2])/255-n)/255;return this.rgb(r,i,s)},hardlight:function(e,t){var n=t.rgb[0]<128?2*t.rgb[0]*e.rgb[0]/255:255-2*(255-t.rgb[0])*(255-e.rgb[0])/255,r=t.rgb[1]<128?2*t.rgb[1]*e.rgb[1]/255:255-2*(255-t.rgb[1])*(255-e.rgb[1])/255,i=t.rgb[2]<128?2*t.rgb[2]*e.rgb[2]/255:255-2*(255-t.rgb[2])*(255-e.rgb[2])/255;return this.rgb(n,r,i)},difference:function(e,t){var n=Math.abs(e.rgb[0]-t.rgb[0]),r=Math.abs(e.rgb[1]-t.rgb[1]),i=Math.abs(e.rgb[2]-t.rgb[2]);return this.rgb(n,r,i)},exclusion:function(e,t){var n=e.rgb[0]+t.rgb[0]*(255-e.rgb[0]-e.rgb[0])/255,r=e.rgb[1]+t.rgb[1]*(255-e.rgb[1]-e.rgb[1])/255,i=e.rgb[2]+t.rgb[2]*(255-e.rgb[2]-e.rgb[2])/255;return this.rgb(n,r,i)},average:function(e,t){var n=(e.rgb[0]+t.rgb[0])/2,r=(e.rgb[1]+t.rgb[1])/2,i=(e.rgb[2]+t.rgb[2])/2;return this.rgb(n,r,i)},negation:function(e,t){var n=255-Math.abs(255-t.rgb[0]-e.rgb[0]),r=255-Math.abs(255-t.rgb[1]-e.rgb[1]),i=255-Math.abs(255-t.rgb[2]-e.rgb[2]);return this.rgb(n,r,i)},tint:function(e,t){return this.mix(this.rgb(255,255,255),e,t)},shade:function(e,t){return this.mix(this.rgb(0,0,0),e,t)}}})(n(\"./tree\")),function(e){e.colors={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgrey:\"#a9a9a9\",darkgreen:\"#006400\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",ghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",grey:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgrey:\"#d3d3d3\",lightgreen:\"#90ee90\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",lightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370d8\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",moccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#d87093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",seashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen\n:\"#9acd32\"}}(n(\"./tree\")),function(e){e.Alpha=function(e){this.value=e},e.Alpha.prototype={toCSS:function(){return\"alpha(opacity=\"+(this.value.toCSS?this.value.toCSS():this.value)+\")\"},eval:function(e){return this.value.eval&&(this.value=this.value.eval(e)),this}}}(n(\"../tree\")),function(e){e.Anonymous=function(e){this.value=e.value||e},e.Anonymous.prototype={toCSS:function(){return this.value},eval:function(){return this},compare:function(e){if(!e.toCSS)return-1;var t=this.toCSS(),n=e.toCSS();return t===n?0:t<n?-1:1}}}(n(\"../tree\")),function(e){e.Assignment=function(e,t){this.key=e,this.value=t},e.Assignment.prototype={toCSS:function(){return this.key+\"=\"+(this.value.toCSS?this.value.toCSS():this.value)},eval:function(t){return this.value.eval?new e.Assignment(this.key,this.value.eval(t)):this}}}(n(\"../tree\")),function(e){e.Call=function(e,t,n,r){this.name=e,this.args=t,this.index=n,this.filename=r},e.Call.prototype={eval:function(t){var n=this.args.map(function(e){return e.eval(t)}),r;if(this.name in e.functions)try{r=e.functions[this.name].apply(e.functions,n);if(r!=null)return r}catch(i){throw{type:i.type||\"Runtime\",message:\"error evaluating function `\"+this.name+\"`\"+(i.message?\": \"+i.message:\"\"),index:this.index,filename:this.filename}}return new e.Anonymous(this.name+\"(\"+n.map(function(e){return e.toCSS(t)}).join(\", \")+\")\")},toCSS:function(e){return this.eval(e).toCSS()}}}(n(\"../tree\")),function(e){e.Color=function(e,t){Array.isArray(e)?this.rgb=e:e.length==6?this.rgb=e.match(/.{2}/g).map(function(e){return parseInt(e,16)}):this.rgb=e.split(\"\").map(function(e){return parseInt(e+e,16)}),this.alpha=typeof t==\"number\"?t:1},e.Color.prototype={eval:function(){return this},toCSS:function(){return this.alpha<1?\"rgba(\"+this.rgb.map(function(e){return Math.round(e)}).concat(this.alpha).join(\", \")+\")\":\"#\"+this.rgb.map(function(e){return e=Math.round(e),e=(e>255?255:e<0?0:e).toString(16),e.length===1?\"0\"+e:e}).join(\"\")},operate:function(t,n){var r=[];n instanceof e.Color||(n=n.toColor());for(var i=0;i<3;i++)r[i]=e.operate(t,this.rgb[i],n.rgb[i]);return new e.Color(r,this.alpha+n.alpha)},toHSL:function(){var e=this.rgb[0]/255,t=this.rgb[1]/255,n=this.rgb[2]/255,r=this.alpha,i=Math.max(e,t,n),s=Math.min(e,t,n),o,u,a=(i+s)/2,f=i-s;if(i===s)o=u=0;else{u=a>.5?f/(2-i-s):f/(i+s);switch(i){case e:o=(t-n)/f+(t<n?6:0);break;case t:o=(n-e)/f+2;break;case n:o=(e-t)/f+4}o/=6}return{h:o*360,s:u,l:a,a:r}},toARGB:function(){var e=[Math.round(this.alpha*255)].concat(this.rgb);return\"#\"+e.map(function(e){return e=Math.round(e),e=(e>255?255:e<0?0:e).toString(16),e.length===1?\"0\"+e:e}).join(\"\")},compare:function(e){return e.rgb?e.rgb[0]===this.rgb[0]&&e.rgb[1]===this.rgb[1]&&e.rgb[2]===this.rgb[2]&&e.alpha===this.alpha?0:-1:-1}}}(n(\"../tree\")),function(e){e.Comment=function(e,t){this.value=e,this.silent=!!t},e.Comment.prototype={toCSS:function(e){return e.compress?\"\":this.value},eval:function(){return this}}}(n(\"../tree\")),function(e){e.Condition=function(e,t,n,r,i){this.op=e.trim(),this.lvalue=t,this.rvalue=n,this.index=r,this.negate=i},e.Condition.prototype.eval=function(e){var t=this.lvalue.eval(e),n=this.rvalue.eval(e),r=this.index,i,i=function(e){switch(e){case\"and\":return t&&n;case\"or\":return t||n;default:if(t.compare)i=t.compare(n);else{if(!n.compare)throw{type:\"Type\",message:\"Unable to perform comparison\",index:r};i=n.compare(t)}switch(i){case-1:return e===\"<\"||e===\"=<\";case 0:return e===\"=\"||e===\">=\"||e===\"=<\";case 1:return e===\">\"||e===\">=\"}}}(this.op);return this.negate?!i:i}}(n(\"../tree\")),function(e){e.Dimension=function(e,t){this.value=parseFloat(e),this.unit=t||null},e.Dimension.prototype={eval:function(){return this},toColor:function(){return new e.Color([this.value,this.value,this.value])},toCSS:function(){var e=this.value+this.unit;return e},operate:function(t,n){return new e.Dimension(e.operate(t,this.value,n.value),this.unit||n.unit)},compare:function(t){return t instanceof e.Dimension?t.value>this.value?-1:t.value<this.value?1:t.unit&&this.unit!==t.unit?-1:0:-1}}}(n(\"../tree\")),function(e){e.Directive=function(t,n){this.name=t,Array.isArray(n)?(this.ruleset=new e.Ruleset([],n),this.ruleset.allowImports=!0):this.value=n},e.Directive.prototype={toCSS:function(e,t){return this.ruleset?(this.ruleset.root=!0,this.name+(t.compress?\"{\":\" {\\n  \")+this.ruleset.toCSS(e,t).trim().replace(/\\n/g,\"\\n  \")+(t.compress?\"}\":\"\\n}\\n\")):this.name+\" \"+this.value.toCSS()+\";\\n\"},eval:function(t){var n=this;return this.ruleset&&(t.frames.unshift(this),n=new e.Directive(this.name),n.ruleset=this.ruleset.eval(t),t.frames.shift()),n},variable:function(t){return e.Ruleset.prototype.variable.call(this.ruleset,t)},find:function(){return e.Ruleset.prototype.find.apply(this.ruleset,arguments)},rulesets:function(){return e.Ruleset.prototype.rulesets.apply(this.ruleset)}}}(n(\"../tree\")),function(e){e.Element=function(t,n,r){this.combinator=t instanceof e.Combinator?t:new e.Combinator(t),typeof n==\"string\"?this.value=n.trim():n?this.value=n:this.value=\"\",this.index=r},e.Element.prototype.eval=function(t){return new e.Element(this.combinator,this.value.eval?this.value.eval(t):this.value,this.index)},e.Element.prototype.toCSS=function(e){var t=this.value.toCSS?this.value.toCSS(e):this.value;return t==\"\"&&this.combinator.value.charAt(0)==\"&\"?\"\":this.combinator.toCSS(e||{})+t},e.Combinator=function(e){e===\" \"?this.value=\" \":this.value=e?e.trim():\"\"},e.Combinator.prototype.toCSS=function(e){return{\"\":\"\",\" \":\" \",\":\":\" :\",\"+\":e.compress?\"+\":\" + \",\"~\":e.compress?\"~\":\" ~ \",\">\":e.compress?\">\":\" > \",\"|\":e.compress?\"|\":\" | \"}[this.value]}}(n(\"../tree\")),function(e){e.Expression=function(e){this.value=e},e.Expression.prototype={eval:function(t){return this.value.length>1?new e.Expression(this.value.map(function(e){return e.eval(t)})):this.value.length===1?this.value[0].eval(t):this},toCSS:function(e){return this.value.map(function(t){return t.toCSS?t.toCSS(e):\"\"}).join(\" \")}}}(n(\"../tree\")),function(e){e.Import=function(t,n,r,i,s,o){var u=this;this.once=i,this.index=s,this._path=t,this.features=r&&new e.Value(r),this.rootpath=o,t instanceof e.Quoted?this.path=/(\\.[a-z]*$)|([\\?;].*)$/.test(t.value)?t.value:t.value+\".less\":this.path=t.value.value||t.value,this.css=/css([\\?;].*)?$/.test(this.path),this.css||n.push(this.path,function(t,n,r){t&&(t.index=s),r&&u.once&&(u.skip=r),u.root=n||new e.Ruleset([],[])})},e.Import.prototype={toCSS:function(e){var t=this.features?\" \"+this.features.toCSS(e):\"\";return this.css?(typeof this._path.value==\"string\"&&!/^(?:[a-z-]+:|\\/)/.test(this._path.value)&&(this._path.value=this.rootpath+this._path.value),\"@import \"+this._path.toCSS()+t+\";\\n\"):\"\"},eval:function(t){var n,r=this.features&&this.features.eval(t);return this.skip?[]:this.css?this:(n=new e.Ruleset([],this.root.rules.slice(0)),n.evalImports(t),this.features?new e.Media(n.rules,this.features.value):n.rules)}}}(n(\"../tree\")),function(e){e.JavaScript=function(e,t,n){this.escaped=n,this.expression=e,this.index=t},e.JavaScript.prototype={eval:function(t){var n,r=this,i={},s=this.expression.replace(/@\\{([\\w-]+)\\}/g,function(n,i){return e.jsify((new e.Variable(\"@\"+i,r.index)).eval(t))});try{s=new Function(\"return (\"+s+\")\")}catch(o){throw{message:\"JavaScript evaluation error: `\"+s+\"`\",index:this.index}}for(var u in t.frames[0].variables())i[u.slice(1)]={value:t.frames[0].variables()[u].value,toJS:function(){return this.value.eval(t).toCSS()}};try{n=s.call(i)}catch(o){throw{message:\"JavaScript evaluation error: '\"+o.name+\": \"+o.message+\"'\",index:this.index}}return typeof n==\"string\"?new e.Quoted('\"'+n+'\"',n,this.escaped,this.index):Array.isArray(n)?new e.Anonymous(n.join(\", \")):new e.Anonymous(n)}}}(n(\"../tree\")),function(e){e.Keyword=function(e){this.value=e},e.Keyword.prototype={eval:function(){return this},toCSS:function(){return this.value},compare:function(t){return t instanceof e.Keyword?t.value===this.value?0:1:-1}},e.True=new e.Keyword(\"true\"),e.False=new e.Keyword(\"false\")}(n(\"../tree\")),function(e){e.Media=function(t,n){var r=this.emptySelectors();this.features=new e.Value(n),this.ruleset=new e.Ruleset(r,t),this.ruleset.allowImports=!0},e.Media.prototype={toCSS:function(e,t){var n=this.features.toCSS(t);return this.ruleset.root=e.length===0||e[0].multiMedia,\"@media \"+n+(t.compress?\"{\":\" {\\n  \")+this.ruleset.toCSS(e,t).trim().replace(/\\n/g,\"\\n  \")+(t.compress?\"}\":\"\\n}\\n\")},eval:function(t){t.mediaBlocks||(t.mediaBlocks=[],t.mediaPath=[]);var n=new e.Media([],[]);return this.debugInfo&&(this.ruleset.debugInfo=this.debugInfo,n.debugInfo=this.debugInfo),n.features=this.features.eval(t),t.mediaPath.push(n),t.mediaBlocks.push(n),t.frames.unshift(this.ruleset),n.ruleset=this.ruleset.eval(t),t.frames.shift(),t.mediaPath.pop(),t.mediaPath.length===0?n.evalTop(t):n.evalNested(t)},variable:function(t){return e.Ruleset.prototype.variable.call(this.ruleset,t)},find:function(){return e.Ruleset.prototype.find.apply(this.ruleset,arguments)},rulesets:function(){return e.Ruleset.prototype.rulesets.apply(this.ruleset)},emptySelectors:function(){var t=new e.Element(\"\",\"&\",0);return[new e.Selector([t])]},evalTop:function(t){var n=this;if(t.mediaBlocks.length>1){var r=this.emptySelectors();n=new e.Ruleset(r,t.mediaBlocks),n.multiMedia=!0}return delete t.mediaBlocks,delete t.mediaPath,n},evalNested:function(t){var n,r,i=t.mediaPath.concat([this]);for(n=0;n<i.length;n++)r=i[n].features instanceof e.Value?i[n].features.value:i[n].features,i[n]=Array.isArray(r)?r:[r];return this.features=new e.Value(this.permute(i).map(function(t){t=t.map(function(t){return t.toCSS?t:new e.Anonymous(t)});for(n=t.length-1;n>0;n--)t.splice(n,0,new e.Anonymous(\"and\"));return new e.Expression(t)})),new e.Ruleset([],[])},permute:function(e){if(e.length===0)return[];if(e.length===1)return e[0];var t=[],n=this.permute(e.slice(1));for(var r=0;r<n.length;r++)for(var i=0;i<e[0].length;i++)t.push([e[0][i]].concat(n[r]));return t},bubbleSelectors:function(t){this.ruleset=new e.Ruleset(t.slice(0),[this.ruleset])}}}(n(\"../tree\")),function(e){e.mixin={},e.mixin.Call=function(t,n,r,i,s){this.selector=new e.Selector(t),this.arguments=n,this.index=r,this.filename=i,this.important=s},e.mixin.Call.prototype={eval:function(t){var n,r,i,s=[],o=!1,u,a,f,l,c;i=this.arguments&&this.arguments.map(function(e){return{name:e.name,value:e.value.eval(t)}});for(u=0;u<t.frames.length;u++)if((n=t.frames[u].find(this.selector)).length>0){c=!0;for(a=0;a<n.length;a++){r=n[a],l=!1;for(f=0;f<t.frames.length;f++)if(!(r instanceof e.mixin.Definition)&&r===(t.frames[f].originalRuleset||t.frames[f])){l=!0;break}if(l)continue;if(r.matchArgs(i,t)){if(!r.matchCondition||r.matchCondition(i,t))try{Array.prototype.push.apply(s,r.eval(t,i,this.important).rules)}catch(h){throw{message:h.message,index:this.index,filename:this.filename,stack:h.stack}}o=!0}}if(o)return s}throw c?{type:\"Runtime\",message:\"No matching definition was found for `\"+this.selector.toCSS().trim()+\"(\"+(i?i.map(function(e){var t=\"\";return e.name&&(t+=e.name+\":\"),e.value.toCSS?t+=e.value.toCSS():t+=\"???\",t}).join(\", \"):\"\")+\")`\",index:this.index,filename:this.filename}:{type:\"Name\",message:this.selector.toCSS().trim()+\" is undefined\",index:this.index,filename:this.filename}}},e.mixin.Definition=function(t,n,r,i,s){this.name=t,this.selectors=[new e.Selector([new e.Element(null,t)])],this.params=n,this.condition=i,this.variadic=s,this.arity=n.length,this.rules=r,this._lookups={},this.required=n.reduce(function(e,t){return!t.name||t.name&&!t.value?e+1:e},0),this.parent=e.Ruleset.prototype,this.frames=[]},e.mixin.Definition.prototype={toCSS:function(){return\"\"},variable:function(e){return this.parent.variable.call(this,e)},variables:function(){return this.parent.variables.call(this)},find:function(){return this.parent.find.apply(this,arguments)},rulesets:function(){return this.parent.rulesets.apply(this)},evalParams:function(t,n,r,i){var s=new e.Ruleset(null,[]),o,u,a=this.params.slice(0),f,l,c,h,p,d;if(r){r=r.slice(0);for(f=0;f<r.length;f++){u=r[f];if(h=u&&u.name){p=!1;for(l=0;l<a.length;l++)if(!i[l]&&h===a[l].name){i[l]=u.value.eval(t),s.rules.unshift(new e.Rule(h,u.value.eval(t))),p=!0;break}if(p){r.splice(f,1),f--;continue}throw{type:\"Runtime\",message:\"Named argument for \"+this.name+\" \"+r[f].name+\" not found\"}}}}d=0;for(f=0;f<a.length;f++){if(i[f])continue;u=r&&r[d];if(h=a[f].name)if(a[f].variadic&&r){o=[];for(l=d;l<r.length;l++)o.push(r[l].value.eval(t));s.rules.unshift(new e.Rule(h,(new e.Expression(o)).eval(t)))}else{c=u&&u.value;if(c)c=c.eval(t);else{if(!a[f].value)throw{type:\"Runtime\",message:\"wrong number of arguments for \"+this.name+\" (\"+r.length+\" for \"+this.arity+\")\"};c=a[f].value.eval(n)}s.rules.unshift(new e.Rule(h,c)),i[f]=c}if(a[f].variadic&&r)for(l=d;l<r.length;l++)i[l]=r[l].value.eval(t);d++}return s},eval:function(t,n,r){var i=[],s=this.frames.concat(t.frames),o=this.evalParams(t,{frames:s},n,i),u,a,f,l;return o.rules.unshift(new e.Rule(\"@arguments\",(new e.Expression(i)).eval(t))),a=r?this.parent.makeImportant.apply(this).rules:this.rules.slice(0),l=(new e.Ruleset(null,a)).eval({frames:[this,o].concat(s)}),l.originalRuleset=this,l},matchCondition:function(e,t){return this.condition&&!this.condition.eval({frames:[this.evalParams(t,{frames:this.frames.concat(t.frames)},e,[])].concat(t.frames)})?!1:!0},matchArgs:function(e,t){var n=e&&e.length||0,r,i;if(!this.variadic){if(n<this.required)return!1;if(n>this.params.length)return!1;if(this.required>0&&n>this.params.length)return!1}r=Math.min(n,this.arity);for(var s=0;s<r;s++)if(!this.params[s].name&&!this.params[s].variadic&&e[s].value.eval(t).toCSS()!=this.params[s].value.eval(t).toCSS())return!1;return!0}}}(n(\"../tree\")),function(e){e.Operation=function(e,t){this.op=e.trim(),this.operands=t},e.Operation.prototype.eval=function(t){var n=this.operands[0].eval(t),r=this.operands[1].eval(t),i;if(n instanceof e.Dimension&&r instanceof e.Color){if(this.op!==\"*\"&&this.op!==\"+\")throw{name:\"OperationError\",message:\"Can't substract or divide a color from a number\"};i=r,r=n,n=i}if(!n.operate)throw{name:\"OperationError\",message:\"Operation on an invalid type\"};return n.operate(this.op,r)},e.operate=function(e,t,n){switch(e){case\"+\":return t+n;case\"-\":return t-n;case\"*\":return t*n;case\"/\":return t/n}}}(n(\"../tree\")),function(e){e.Paren=function(e){this.value=e},e.Paren.prototype={toCSS:function(e){return\"(\"+this.value.toCSS(e)+\")\"},eval:function(t){return new e.Paren(this.value.eval(t))}}}(n(\"../tree\")),function(e){e.Quoted=function(e,t,n,r){this.escaped=n,this.value=t||\"\",this.quote=e.charAt(0),this.index=r},e.Quoted.prototype={toCSS:function(){return this.escaped?this.value:this.quote+this.value+this.quote},eval:function(t){var n=this,r=this.value.replace(/`([^`]+)`/g,function(r,i){return(new e.JavaScript(i,n.index,!0)).eval(t).value}).replace(/@\\{([\\w-]+)\\}/g,function(r,i){var s=(new e.Variable(\"@\"+i,n.index)).eval(t);return s instanceof e.Quoted?s.value:s.toCSS()});return new e.Quoted(this.quote+r+this.quote,r,this.escaped,this.index)},compare:function(e){if(!e.toCSS)return-1;var t=this.toCSS(),n=e.toCSS();return t===n?0:t<n?-1:1}}}(n(\"../tree\")),function(e){e.Ratio=function(e){this.value=e},e.Ratio.prototype={toCSS:function(e){return this.value},eval:function(){return this}}}(n(\"../tree\")),function(e){e.Rule=function(t,n,r,i,s){this.name=t,this.value=n instanceof e.Value?n:new e.Value([n]),this.important=r?\" \"+r.trim():\"\",this.index=i,this.inline=s||!1,t.charAt(0)===\"@\"?this.variable=!0:this.variable=!1},e.Rule.prototype.toCSS=function(e){return this.variable?\"\":this.name+(e.compress?\":\":\": \")+this.value.toCSS(e)+this.important+(this.inline?\"\":\";\")},e.Rule.prototype.eval=function(t){return new e.Rule(this.name,this.value.eval(t),this.important,this.index,this.inline)},e.Rule.prototype.makeImportant=function(){return new e.Rule(this.name,this.value,\"!important\",this.index,this.inline)},e.Shorthand=function(e,t){this.a=e,this.b=t},e.Shorthand.prototype={toCSS:function(e){return this.a.toCSS(e)+\"/\"+this.b.toCSS(e)},eval:function(){return this}}}(n(\"../tree\")),function(e){e.Ruleset=function(e,t,n){this.selectors=e,this.rules=t,this._lookups={},this.strictImports=n},e.Ruleset.prototype={eval:function(t){var n=this.selectors&&this.selectors.map(function(e){return e.eval(t)}),r=new e.Ruleset(n,this.rules.slice(0),this.strictImports),i;r.originalRuleset=this,r.root=this.root,r.allowImports=this.allowImports,this.debugInfo&&(r.debugInfo=this.debugInfo),t.frames.unshift(r),(r.root||r.allowImports||!r.strictImports)&&r.evalImports(t);for(var s=0;s<r.rules.length;s++)r.rules[s]instanceof e.mixin.Definition&&(r.rules[s].frames=t.frames.slice(0));var o=t.mediaBlocks&&t.mediaBlocks.length||0;for(var s=0;s<r.rules.length;s++)r.rules[s]instanceof e.mixin.Call&&(i=r.rules[s].eval(t),r.rules.splice.apply(r.rules,[s,1].concat(i)),s+=i.length-1,r.resetCache());for(var s=0,u;s<r.rules.length;s++)u=r.rules[s],u instanceof e.mixin.Definition||(r.rules[s]=u.eval?u.eval(t):u);t.frames.shift();if(t.mediaBlocks)for(var s=o;s<t.mediaBlocks.length;s++)t.mediaBlocks[s].bubbleSelectors(n);return r},evalImports:function(t){var n,r;for(n=0;n<this.rules.length;n++)this.rules[n]instanceof e.Import&&(r=this.rules[n].eval(t),typeof r.length==\"number\"?(this.rules.splice.apply(this.rules,[n,1].concat(r)),n+=r.length-1):this.rules.splice(n,1,r),this.resetCache())},makeImportant:function(){return new e.Ruleset(this.selectors,this.rules.map(function(e){return e.makeImportant?e.makeImportant():e}),this.strictImports)},matchArgs:function(e){return!e||e.length===0},resetCache:function(){this._rulesets=null,this._variables=null,this._lookups={}},variables:function(){return this._variables?this._variables:this._variables=this.rules.reduce(function(t,n){return n instanceof e.Rule&&n.variable===!0&&(t[n.name]=n),t},{})},variable:function(e){return this.variables()[e]},rulesets:function(){return this._rulesets?this._rulesets:this._rulesets=this.rules.filter(function(t){return t instanceof e.Ruleset||t instanceof e.mixin.Definition})},find:function(t,n){n=n||this;var r=[],i,s,o=t.toCSS();return o in this._lookups?this._lookups[o]:(this.rulesets().forEach(function(i){if(i!==n)for(var o=0;o<i.selectors.length;o++)if(s=t.match(i.selectors[o])){t.elements.length>i.selectors[o].elements.length?Array.prototype.push.apply(r,i.find(new e.Selector(t.elements.slice(1)),n)):r.push(i);break}}),this._lookups[o]=r)},toCSS:function(t,n){var r=[],i=[],s=[],o=[],u=[],a,f,l;this.root||this.joinSelectors(u,t,this.selectors);for(var c=0;c<this.rules.length;c++){l=this.rules[c];if(l.rules||l instanceof e.Media)o.push(l.toCSS(u,n));else if(l instanceof e.Directive){var h=l.toCSS(u,n);if(l.name===\"@charset\"){if(n.charset){l.debugInfo&&(o.push(e.debugInfo(n,l)),o.push((new e.Comment(\"/* \"+h.replace(/\\n/g,\"\")+\" */\\n\")).toCSS(n)));continue}n.charset=!0}o.push(h)}else l instanceof e.Comment?l.silent||(this.root?o.push(l.toCSS(n)):i.push(l.toCSS(n))):l.toCSS&&!l.variable?i.push(l.toCSS(n)):l.value&&!l.variable&&i.push(l.value.toString())}o=o.join(\"\");if(this.root)r.push(i.join(n.compress?\"\":\"\\n\"));else if(i.length>0){f=e.debugInfo(n,this),a=u.map(function(e){return e.map(function(e){return e.toCSS(n)}).join(\"\").trim()}).join(n.compress?\",\":\",\\n\");for(var c=i.length-1;c>=0;c--)s.indexOf(i[c])===-1&&s.unshift(i[c]);i=s,r.push(f+a+(n.compress?\"{\":\" {\\n  \")+i.join(n.compress?\"\":\"\\n  \")+(n.compress?\"}\":\"\\n}\\n\"))}return r.push(o),r.join(\"\")+(n.compress?\"\\n\":\"\")},joinSelectors:function(e,t,n){for(var r=0;r<n.length;r++)this.joinSelector(e,t,n[r])},joinSelector:function(t,n,r){var i,s,o,u,a,f,l,c,h,p,d,v,m,g,y;for(i=0;i<r.elements.length;i++)f=r.elements[i],f.value===\"&\"&&(u=!0);if(!u){if(n.length>0)for(i=0;i<n.length;i++)t.push(n[i].concat(r));else t.push([r]);return}g=[],a=[[]];for(i=0;i<r.elements.length;i++){f=r.elements[i];if(f.value!==\"&\")g.push(f);else{y=[],g.length>0&&this.mergeElementsOnToSelectors(g,a);for(s=0;s<a.length;s++){l=a[s];if(n.length==0)l.length>0&&(l[0].elements=l[0].elements.slice(0),l[0].elements.push(new e.Element(f.combinator,\"\",0))),y.push(l);else for(o=0;o<n.length;o++)c=n[o],h=[],p=[],v=!0,l.length>0?(h=l.slice(0),m=h.pop(),d=new e.Selector(m.elements.slice(0)),v=!1):d=new e.Selector([]),c.length>1&&(p=p.concat(c.slice(1))),c.length>0&&(v=!1,d.elements.push(new e.Element(f.combinator,c[0].elements[0].value,0)),d.elements=d.elements.concat(c[0].elements.slice(1))),v||h.push(d),h=h.concat(p),y.push(h)}a=y,g=[]}}g.length>0&&this.mergeElementsOnToSelectors(g,a);for(i=0;i<a.length;i++)t.push(a[i])},mergeElementsOnToSelectors:function(t,n){var r,i;if(n.length==0){n.push([new e.Selector(t)]);return}for(r=0;r<n.length;r++)i=n[r],i.length>0?i[i.length-1]=new e.Selector(i[i.length-1].elements.concat(t)):i.push(new e.Selector(t))}}}(n(\"../tree\")),function(e){e.Selector=function(e){this.elements=e},e.Selector.prototype.match=function(e){var t=this.elements,n=t.length,r,i,s,o;r=e.elements.slice(e.elements.length&&e.elements[0].value===\"&\"?1:0),i=r.length,s=Math.min(n,i);if(i===0||n<i)return!1;for(o=0;o<s;o++)if(t[o].value!==r[o].value)return!1;return!0},e.Selector.prototype.eval=function(t){return new e.Selector(this.elements.map(function(e){return e.eval(t)}))},e.Selector.prototype.toCSS=function(e){return this._css?this._css:(this.elements[0].combinator.value===\"\"?this._css=\" \":this._css=\"\",this._css+=this.elements.map(function(t){return typeof t==\"string\"?\" \"+t.trim():t.toCSS(e)}).join(\"\"),this._css)}}(n(\"../tree\")),function(e){e.UnicodeDescriptor=function(e){this.value=e},e.UnicodeDescriptor.prototype={toCSS:function(e){return this.value},eval:function(){return this}}}(n(\"../tree\")),function(e){e.URL=function(e,t){this.value=e,this.rootpath=t},e.URL.prototype={toCSS:function(){return\"url(\"+this.value.toCSS()+\")\"},eval:function(t){var n=this.value.eval(t),r;return typeof n.value==\"string\"&&!/^(?:[a-z-]+:|\\/)/.test(n.value)&&(r=this.rootpath,n.quote||(r=r.replace(/[\\(\\)'\"\\s]/g,function(e){return\"\\\\\"+e})),n.value=r+n.value),new e.URL(n,this.rootpath)}}}(n(\"../tree\")),function(e){e.Value=function(e){this.value=e,this.is=\"value\"},e.Value.prototype={eval:function(t){return this.value.length===1?this.value[0].eval(t):new e.Value(this.value.map(function(e){return e.eval(t)}))},toCSS:function(e){return this.value.map(function(t){return t.toCSS(e)}).join(e.compress?\",\":\", \")}}}(n(\"../tree\")),function(e){e.Variable=function(e,t,n){this.name=e,this.index=t,this.file=n},e.Variable.prototype={eval:function(t){var n,r,i=this.name;i.indexOf(\"@@\")==0&&(i=\"@\"+(new e.Variable(i.slice(1))).eval(t).value);if(this.evaluating)throw{type:\"Name\",message:\"Recursive variable definition for \"+i,filename:this.file,index:this.index};this.evaluating=!0;if(n=e.find(t.frames,function(e){if(r=e.variable(i))return r.value.eval(t)}))return this.evaluating=!1,n;throw{type:\"Name\",message:\"variable \"+i+\" is undefined\",filename:this.file,index:this.index}}}}(n(\"../tree\")),function(e){e.debugInfo=function(t,n){var r=\"\";if(t.dumpLineNumbers&&!t.compress)switch(t.dumpLineNumbers){case\"comments\":r=e.debugInfo.asComment(n);break;case\"mediaquery\":r=e.debugInfo.asMediaQuery(n);break;case\"all\":r=e.debugInfo.asComment(n)+e.debugInfo.asMediaQuery(n)}return r},e.debugInfo.asComment=function(e){return\"/* line \"+e.debugInfo.lineNumber+\", \"+e.debugInfo.fileName+\" */\\n\"},e.debugInfo.asMediaQuery=function(e){return\"@media -sass-debug-info{filename{font-family:\"+(\"file://\"+e.debugInfo.fileName).replace(/[\\/:.]/g,\"\\\\$&\")+\"}line{font-family:\\\\00003\"+e.debugInfo.lineNumber+\"}}\\n\"},e.find=function(e,t){for(var n=0,r;n<e.length;n++)if(r=t.call(e,e[n]))return r;return null},e.jsify=function(e){return Array.isArray(e.value)&&e.value.length>1?\"[\"+e.value.map(function(e){return e.toCSS(!1)}).join(\", \")+\"]\":e.toCSS(!1)}}(n(\"./tree\"));var o=/^(file|chrome(-extension)?|resource|qrc|app):/.test(location.protocol);r.env=r.env||(location.hostname==\"127.0.0.1\"||location.hostname==\"0.0.0.0\"||location.hostname==\"localhost\"||location.port.length>0||o?\"development\":\"production\"),r.async=r.async||!1,r.fileAsync=r.fileAsync||!1,r.poll=r.poll||(o?1e3:1500);if(r.functions)for(var u in r.functions)r.tree.functions[u]=r.functions[u];var a=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(location.hash);a&&(r.dumpLineNumbers=a[1]),r.watch=function(){return r.watchMode||(r.env=\"development\",f()),this.watchMode=!0},r.unwatch=function(){return clearInterval(r.watchTimer),this.watchMode=!1},/!watch/.test(location.hash)&&r.watch();var l=null;if(r.env!=\"development\")try{l=typeof e.localStorage==\"undefined\"?null:e.localStorage}catch(c){}var h=document.getElementsByTagName(\"link\"),p=/^text\\/(x-)?less$/;r.sheets=[];for(var d=0;d<h.length;d++)(h[d].rel===\"stylesheet/less\"||h[d].rel.match(/stylesheet/)&&h[d].type.match(p))&&r.sheets.push(h[d]);var v=\"\";r.modifyVars=function(e){var t=v;for(name in e)t+=(name.slice(0,1)===\"@\"?\"\":\"@\")+name+\": \"+(e[name].slice(-1)===\";\"?e[name]:e[name]+\";\");(new r.Parser).parse(t,function(e,t){S(t.toCSS(),r.sheets[r.sheets.length-1])})},r.refresh=function(e){var t,n;t=n=new Date,g(function(e,r,i,s,o){o.local?C(\"loading \"+s.href+\" from cache.\"):(C(\"parsed \"+s.href+\" successfully.\"),S(r.toCSS(),s,o.lastModified)),C(\"css for \"+s.href+\" generated in \"+(new Date-n)+\"ms\"),o.remaining===0&&C(\"css generated in \"+(new Date-t)+\"ms\"),n=new Date},e),m()},r.refreshStyles=m,r.refresh(r.env===\"development\"),typeof define==\"function\"&&define.amd&&define(\"less\",[],function(){return r})})(window);"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/raw-files.js",
    "content": "var __js = {\"affix.js\":\"/* ========================================================================\\n * Bootstrap: affix.js v3.0.3\\n * http://getbootstrap.com/javascript/#affix\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // AFFIX CLASS DEFINITION\\n  // ======================\\n\\n  var Affix = function (element, options) {\\n    this.options = $.extend({}, Affix.DEFAULTS, options)\\n    this.$window = $(window)\\n      .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))\\n      .on('click.bs.affix.data-api',  $.proxy(this.checkPositionWithEventLoop, this))\\n\\n    this.$element = $(element)\\n    this.affixed  =\\n    this.unpin    = null\\n\\n    this.checkPosition()\\n  }\\n\\n  Affix.RESET = 'affix affix-top affix-bottom'\\n\\n  Affix.DEFAULTS = {\\n    offset: 0\\n  }\\n\\n  Affix.prototype.checkPositionWithEventLoop = function () {\\n    setTimeout($.proxy(this.checkPosition, this), 1)\\n  }\\n\\n  Affix.prototype.checkPosition = function () {\\n    if (!this.$element.is(':visible')) return\\n\\n    var scrollHeight = $(document).height()\\n    var scrollTop    = this.$window.scrollTop()\\n    var position     = this.$element.offset()\\n    var offset       = this.options.offset\\n    var offsetTop    = offset.top\\n    var offsetBottom = offset.bottom\\n\\n    if (typeof offset != 'object')         offsetBottom = offsetTop = offset\\n    if (typeof offsetTop == 'function')    offsetTop    = offset.top()\\n    if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()\\n\\n    var affix = this.unpin   != null && (scrollTop + this.unpin <= position.top) ? false :\\n                offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :\\n                offsetTop    != null && (scrollTop <= offsetTop) ? 'top' : false\\n\\n    if (this.affixed === affix) return\\n    if (this.unpin) this.$element.css('top', '')\\n\\n    this.affixed = affix\\n    this.unpin   = affix == 'bottom' ? position.top - scrollTop : null\\n\\n    this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ''))\\n\\n    if (affix == 'bottom') {\\n      this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })\\n    }\\n  }\\n\\n\\n  // AFFIX PLUGIN DEFINITION\\n  // =======================\\n\\n  var old = $.fn.affix\\n\\n  $.fn.affix = function (option) {\\n    return this.each(function () {\\n      var $this   = $(this)\\n      var data    = $this.data('bs.affix')\\n      var options = typeof option == 'object' && option\\n\\n      if (!data) $this.data('bs.affix', (data = new Affix(this, options)))\\n      if (typeof option == 'string') data[option]()\\n    })\\n  }\\n\\n  $.fn.affix.Constructor = Affix\\n\\n\\n  // AFFIX NO CONFLICT\\n  // =================\\n\\n  $.fn.affix.noConflict = function () {\\n    $.fn.affix = old\\n    return this\\n  }\\n\\n\\n  // AFFIX DATA-API\\n  // ==============\\n\\n  $(window).on('load', function () {\\n    $('[data-spy=\\\"affix\\\"]').each(function () {\\n      var $spy = $(this)\\n      var data = $spy.data()\\n\\n      data.offset = data.offset || {}\\n\\n      if (data.offsetBottom) data.offset.bottom = data.offsetBottom\\n      if (data.offsetTop)    data.offset.top    = data.offsetTop\\n\\n      $spy.affix(data)\\n    })\\n  })\\n\\n}(jQuery);\\n\",\"alert.js\":\"/* ========================================================================\\n * Bootstrap: alert.js v3.0.3\\n * http://getbootstrap.com/javascript/#alerts\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // ALERT CLASS DEFINITION\\n  // ======================\\n\\n  var dismiss = '[data-dismiss=\\\"alert\\\"]'\\n  var Alert   = function (el) {\\n    $(el).on('click', dismiss, this.close)\\n  }\\n\\n  Alert.prototype.close = function (e) {\\n    var $this    = $(this)\\n    var selector = $this.attr('data-target')\\n\\n    if (!selector) {\\n      selector = $this.attr('href')\\n      selector = selector && selector.replace(/.*(?=#[^\\\\s]*$)/, '') // strip for ie7\\n    }\\n\\n    var $parent = $(selector)\\n\\n    if (e) e.preventDefault()\\n\\n    if (!$parent.length) {\\n      $parent = $this.hasClass('alert') ? $this : $this.parent()\\n    }\\n\\n    $parent.trigger(e = $.Event('close.bs.alert'))\\n\\n    if (e.isDefaultPrevented()) return\\n\\n    $parent.removeClass('in')\\n\\n    function removeElement() {\\n      $parent.trigger('closed.bs.alert').remove()\\n    }\\n\\n    $.support.transition && $parent.hasClass('fade') ?\\n      $parent\\n        .one($.support.transition.end, removeElement)\\n        .emulateTransitionEnd(150) :\\n      removeElement()\\n  }\\n\\n\\n  // ALERT PLUGIN DEFINITION\\n  // =======================\\n\\n  var old = $.fn.alert\\n\\n  $.fn.alert = function (option) {\\n    return this.each(function () {\\n      var $this = $(this)\\n      var data  = $this.data('bs.alert')\\n\\n      if (!data) $this.data('bs.alert', (data = new Alert(this)))\\n      if (typeof option == 'string') data[option].call($this)\\n    })\\n  }\\n\\n  $.fn.alert.Constructor = Alert\\n\\n\\n  // ALERT NO CONFLICT\\n  // =================\\n\\n  $.fn.alert.noConflict = function () {\\n    $.fn.alert = old\\n    return this\\n  }\\n\\n\\n  // ALERT DATA-API\\n  // ==============\\n\\n  $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)\\n\\n}(jQuery);\\n\",\"button.js\":\"/* ========================================================================\\n * Bootstrap: button.js v3.0.3\\n * http://getbootstrap.com/javascript/#buttons\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // BUTTON PUBLIC CLASS DEFINITION\\n  // ==============================\\n\\n  var Button = function (element, options) {\\n    this.$element = $(element)\\n    this.options  = $.extend({}, Button.DEFAULTS, options)\\n  }\\n\\n  Button.DEFAULTS = {\\n    loadingText: 'loading...'\\n  }\\n\\n  Button.prototype.setState = function (state) {\\n    var d    = 'disabled'\\n    var $el  = this.$element\\n    var val  = $el.is('input') ? 'val' : 'html'\\n    var data = $el.data()\\n\\n    state = state + 'Text'\\n\\n    if (!data.resetText) $el.data('resetText', $el[val]())\\n\\n    $el[val](data[state] || this.options[state])\\n\\n    // push to event loop to allow forms to submit\\n    setTimeout(function () {\\n      state == 'loadingText' ?\\n        $el.addClass(d).attr(d, d) :\\n        $el.removeClass(d).removeAttr(d);\\n    }, 0)\\n  }\\n\\n  Button.prototype.toggle = function () {\\n    var $parent = this.$element.closest('[data-toggle=\\\"buttons\\\"]')\\n    var changed = true\\n\\n    if ($parent.length) {\\n      var $input = this.$element.find('input')\\n      if ($input.prop('type') === 'radio') {\\n        // see if clicking on current one\\n        if ($input.prop('checked') && this.$element.hasClass('active'))\\n          changed = false\\n        else\\n          $parent.find('.active').removeClass('active')\\n      }\\n      if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')\\n    }\\n\\n    if (changed) this.$element.toggleClass('active')\\n  }\\n\\n\\n  // BUTTON PLUGIN DEFINITION\\n  // ========================\\n\\n  var old = $.fn.button\\n\\n  $.fn.button = function (option) {\\n    return this.each(function () {\\n      var $this   = $(this)\\n      var data    = $this.data('bs.button')\\n      var options = typeof option == 'object' && option\\n\\n      if (!data) $this.data('bs.button', (data = new Button(this, options)))\\n\\n      if (option == 'toggle') data.toggle()\\n      else if (option) data.setState(option)\\n    })\\n  }\\n\\n  $.fn.button.Constructor = Button\\n\\n\\n  // BUTTON NO CONFLICT\\n  // ==================\\n\\n  $.fn.button.noConflict = function () {\\n    $.fn.button = old\\n    return this\\n  }\\n\\n\\n  // BUTTON DATA-API\\n  // ===============\\n\\n  $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {\\n    var $btn = $(e.target)\\n    if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')\\n    $btn.button('toggle')\\n    e.preventDefault()\\n  })\\n\\n}(jQuery);\\n\",\"carousel.js\":\"/* ========================================================================\\n * Bootstrap: carousel.js v3.0.3\\n * http://getbootstrap.com/javascript/#carousel\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // CAROUSEL CLASS DEFINITION\\n  // =========================\\n\\n  var Carousel = function (element, options) {\\n    this.$element    = $(element)\\n    this.$indicators = this.$element.find('.carousel-indicators')\\n    this.options     = options\\n    this.paused      =\\n    this.sliding     =\\n    this.interval    =\\n    this.$active     =\\n    this.$items      = null\\n\\n    this.options.pause == 'hover' && this.$element\\n      .on('mouseenter', $.proxy(this.pause, this))\\n      .on('mouseleave', $.proxy(this.cycle, this))\\n  }\\n\\n  Carousel.DEFAULTS = {\\n    interval: 5000\\n  , pause: 'hover'\\n  , wrap: true\\n  }\\n\\n  Carousel.prototype.cycle =  function (e) {\\n    e || (this.paused = false)\\n\\n    this.interval && clearInterval(this.interval)\\n\\n    this.options.interval\\n      && !this.paused\\n      && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\\n\\n    return this\\n  }\\n\\n  Carousel.prototype.getActiveIndex = function () {\\n    this.$active = this.$element.find('.item.active')\\n    this.$items  = this.$active.parent().children()\\n\\n    return this.$items.index(this.$active)\\n  }\\n\\n  Carousel.prototype.to = function (pos) {\\n    var that        = this\\n    var activeIndex = this.getActiveIndex()\\n\\n    if (pos > (this.$items.length - 1) || pos < 0) return\\n\\n    if (this.sliding)       return this.$element.one('slid.bs.carousel', function () { that.to(pos) })\\n    if (activeIndex == pos) return this.pause().cycle()\\n\\n    return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))\\n  }\\n\\n  Carousel.prototype.pause = function (e) {\\n    e || (this.paused = true)\\n\\n    if (this.$element.find('.next, .prev').length && $.support.transition.end) {\\n      this.$element.trigger($.support.transition.end)\\n      this.cycle(true)\\n    }\\n\\n    this.interval = clearInterval(this.interval)\\n\\n    return this\\n  }\\n\\n  Carousel.prototype.next = function () {\\n    if (this.sliding) return\\n    return this.slide('next')\\n  }\\n\\n  Carousel.prototype.prev = function () {\\n    if (this.sliding) return\\n    return this.slide('prev')\\n  }\\n\\n  Carousel.prototype.slide = function (type, next) {\\n    var $active   = this.$element.find('.item.active')\\n    var $next     = next || $active[type]()\\n    var isCycling = this.interval\\n    var direction = type == 'next' ? 'left' : 'right'\\n    var fallback  = type == 'next' ? 'first' : 'last'\\n    var that      = this\\n\\n    if (!$next.length) {\\n      if (!this.options.wrap) return\\n      $next = this.$element.find('.item')[fallback]()\\n    }\\n\\n    this.sliding = true\\n\\n    isCycling && this.pause()\\n\\n    var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })\\n\\n    if ($next.hasClass('active')) return\\n\\n    if (this.$indicators.length) {\\n      this.$indicators.find('.active').removeClass('active')\\n      this.$element.one('slid.bs.carousel', function () {\\n        var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])\\n        $nextIndicator && $nextIndicator.addClass('active')\\n      })\\n    }\\n\\n    if ($.support.transition && this.$element.hasClass('slide')) {\\n      this.$element.trigger(e)\\n      if (e.isDefaultPrevented()) return\\n      $next.addClass(type)\\n      $next[0].offsetWidth // force reflow\\n      $active.addClass(direction)\\n      $next.addClass(direction)\\n      $active\\n        .one($.support.transition.end, function () {\\n          $next.removeClass([type, direction].join(' ')).addClass('active')\\n          $active.removeClass(['active', direction].join(' '))\\n          that.sliding = false\\n          setTimeout(function () { that.$element.trigger('slid.bs.carousel') }, 0)\\n        })\\n        .emulateTransitionEnd(600)\\n    } else {\\n      this.$element.trigger(e)\\n      if (e.isDefaultPrevented()) return\\n      $active.removeClass('active')\\n      $next.addClass('active')\\n      this.sliding = false\\n      this.$element.trigger('slid.bs.carousel')\\n    }\\n\\n    isCycling && this.cycle()\\n\\n    return this\\n  }\\n\\n\\n  // CAROUSEL PLUGIN DEFINITION\\n  // ==========================\\n\\n  var old = $.fn.carousel\\n\\n  $.fn.carousel = function (option) {\\n    return this.each(function () {\\n      var $this   = $(this)\\n      var data    = $this.data('bs.carousel')\\n      var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)\\n      var action  = typeof option == 'string' ? option : options.slide\\n\\n      if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))\\n      if (typeof option == 'number') data.to(option)\\n      else if (action) data[action]()\\n      else if (options.interval) data.pause().cycle()\\n    })\\n  }\\n\\n  $.fn.carousel.Constructor = Carousel\\n\\n\\n  // CAROUSEL NO CONFLICT\\n  // ====================\\n\\n  $.fn.carousel.noConflict = function () {\\n    $.fn.carousel = old\\n    return this\\n  }\\n\\n\\n  // CAROUSEL DATA-API\\n  // =================\\n\\n  $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {\\n    var $this   = $(this), href\\n    var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\\\s]+$)/, '')) //strip for ie7\\n    var options = $.extend({}, $target.data(), $this.data())\\n    var slideIndex = $this.attr('data-slide-to')\\n    if (slideIndex) options.interval = false\\n\\n    $target.carousel(options)\\n\\n    if (slideIndex = $this.attr('data-slide-to')) {\\n      $target.data('bs.carousel').to(slideIndex)\\n    }\\n\\n    e.preventDefault()\\n  })\\n\\n  $(window).on('load', function () {\\n    $('[data-ride=\\\"carousel\\\"]').each(function () {\\n      var $carousel = $(this)\\n      $carousel.carousel($carousel.data())\\n    })\\n  })\\n\\n}(jQuery);\\n\",\"collapse.js\":\"/* ========================================================================\\n * Bootstrap: collapse.js v3.0.3\\n * http://getbootstrap.com/javascript/#collapse\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // COLLAPSE PUBLIC CLASS DEFINITION\\n  // ================================\\n\\n  var Collapse = function (element, options) {\\n    this.$element      = $(element)\\n    this.options       = $.extend({}, Collapse.DEFAULTS, options)\\n    this.transitioning = null\\n\\n    if (this.options.parent) this.$parent = $(this.options.parent)\\n    if (this.options.toggle) this.toggle()\\n  }\\n\\n  Collapse.DEFAULTS = {\\n    toggle: true\\n  }\\n\\n  Collapse.prototype.dimension = function () {\\n    var hasWidth = this.$element.hasClass('width')\\n    return hasWidth ? 'width' : 'height'\\n  }\\n\\n  Collapse.prototype.show = function () {\\n    if (this.transitioning || this.$element.hasClass('in')) return\\n\\n    var startEvent = $.Event('show.bs.collapse')\\n    this.$element.trigger(startEvent)\\n    if (startEvent.isDefaultPrevented()) return\\n\\n    var actives = this.$parent && this.$parent.find('> .panel > .in')\\n\\n    if (actives && actives.length) {\\n      var hasData = actives.data('bs.collapse')\\n      if (hasData && hasData.transitioning) return\\n      actives.collapse('hide')\\n      hasData || actives.data('bs.collapse', null)\\n    }\\n\\n    var dimension = this.dimension()\\n\\n    this.$element\\n      .removeClass('collapse')\\n      .addClass('collapsing')\\n      [dimension](0)\\n\\n    this.transitioning = 1\\n\\n    var complete = function () {\\n      this.$element\\n        .removeClass('collapsing')\\n        .addClass('in')\\n        [dimension]('auto')\\n      this.transitioning = 0\\n      this.$element.trigger('shown.bs.collapse')\\n    }\\n\\n    if (!$.support.transition) return complete.call(this)\\n\\n    var scrollSize = $.camelCase(['scroll', dimension].join('-'))\\n\\n    this.$element\\n      .one($.support.transition.end, $.proxy(complete, this))\\n      .emulateTransitionEnd(350)\\n      [dimension](this.$element[0][scrollSize])\\n  }\\n\\n  Collapse.prototype.hide = function () {\\n    if (this.transitioning || !this.$element.hasClass('in')) return\\n\\n    var startEvent = $.Event('hide.bs.collapse')\\n    this.$element.trigger(startEvent)\\n    if (startEvent.isDefaultPrevented()) return\\n\\n    var dimension = this.dimension()\\n\\n    this.$element\\n      [dimension](this.$element[dimension]())\\n      [0].offsetHeight\\n\\n    this.$element\\n      .addClass('collapsing')\\n      .removeClass('collapse')\\n      .removeClass('in')\\n\\n    this.transitioning = 1\\n\\n    var complete = function () {\\n      this.transitioning = 0\\n      this.$element\\n        .trigger('hidden.bs.collapse')\\n        .removeClass('collapsing')\\n        .addClass('collapse')\\n    }\\n\\n    if (!$.support.transition) return complete.call(this)\\n\\n    this.$element\\n      [dimension](0)\\n      .one($.support.transition.end, $.proxy(complete, this))\\n      .emulateTransitionEnd(350)\\n  }\\n\\n  Collapse.prototype.toggle = function () {\\n    this[this.$element.hasClass('in') ? 'hide' : 'show']()\\n  }\\n\\n\\n  // COLLAPSE PLUGIN DEFINITION\\n  // ==========================\\n\\n  var old = $.fn.collapse\\n\\n  $.fn.collapse = function (option) {\\n    return this.each(function () {\\n      var $this   = $(this)\\n      var data    = $this.data('bs.collapse')\\n      var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)\\n\\n      if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))\\n      if (typeof option == 'string') data[option]()\\n    })\\n  }\\n\\n  $.fn.collapse.Constructor = Collapse\\n\\n\\n  // COLLAPSE NO CONFLICT\\n  // ====================\\n\\n  $.fn.collapse.noConflict = function () {\\n    $.fn.collapse = old\\n    return this\\n  }\\n\\n\\n  // COLLAPSE DATA-API\\n  // =================\\n\\n  $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {\\n    var $this   = $(this), href\\n    var target  = $this.attr('data-target')\\n        || e.preventDefault()\\n        || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\\\s]+$)/, '') //strip for ie7\\n    var $target = $(target)\\n    var data    = $target.data('bs.collapse')\\n    var option  = data ? 'toggle' : $this.data()\\n    var parent  = $this.attr('data-parent')\\n    var $parent = parent && $(parent)\\n\\n    if (!data || !data.transitioning) {\\n      if ($parent) $parent.find('[data-toggle=collapse][data-parent=\\\"' + parent + '\\\"]').not($this).addClass('collapsed')\\n      $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')\\n    }\\n\\n    $target.collapse(option)\\n  })\\n\\n}(jQuery);\\n\",\"dropdown.js\":\"/* ========================================================================\\n * Bootstrap: dropdown.js v3.0.3\\n * http://getbootstrap.com/javascript/#dropdowns\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // DROPDOWN CLASS DEFINITION\\n  // =========================\\n\\n  var backdrop = '.dropdown-backdrop'\\n  var toggle   = '[data-toggle=dropdown]'\\n  var Dropdown = function (element) {\\n    $(element).on('click.bs.dropdown', this.toggle)\\n  }\\n\\n  Dropdown.prototype.toggle = function (e) {\\n    var $this = $(this)\\n\\n    if ($this.is('.disabled, :disabled')) return\\n\\n    var $parent  = getParent($this)\\n    var isActive = $parent.hasClass('open')\\n\\n    clearMenus()\\n\\n    if (!isActive) {\\n      if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {\\n        // if mobile we use a backdrop because click events don't delegate\\n        $('<div class=\\\"dropdown-backdrop\\\"/>').insertAfter($(this)).on('click', clearMenus)\\n      }\\n\\n      $parent.trigger(e = $.Event('show.bs.dropdown'))\\n\\n      if (e.isDefaultPrevented()) return\\n\\n      $parent\\n        .toggleClass('open')\\n        .trigger('shown.bs.dropdown')\\n\\n      $this.focus()\\n    }\\n\\n    return false\\n  }\\n\\n  Dropdown.prototype.keydown = function (e) {\\n    if (!/(38|40|27)/.test(e.keyCode)) return\\n\\n    var $this = $(this)\\n\\n    e.preventDefault()\\n    e.stopPropagation()\\n\\n    if ($this.is('.disabled, :disabled')) return\\n\\n    var $parent  = getParent($this)\\n    var isActive = $parent.hasClass('open')\\n\\n    if (!isActive || (isActive && e.keyCode == 27)) {\\n      if (e.which == 27) $parent.find(toggle).focus()\\n      return $this.click()\\n    }\\n\\n    var $items = $('[role=menu] li:not(.divider):visible a', $parent)\\n\\n    if (!$items.length) return\\n\\n    var index = $items.index($items.filter(':focus'))\\n\\n    if (e.keyCode == 38 && index > 0)                 index--                        // up\\n    if (e.keyCode == 40 && index < $items.length - 1) index++                        // down\\n    if (!~index)                                      index=0\\n\\n    $items.eq(index).focus()\\n  }\\n\\n  function clearMenus() {\\n    $(backdrop).remove()\\n    $(toggle).each(function (e) {\\n      var $parent = getParent($(this))\\n      if (!$parent.hasClass('open')) return\\n      $parent.trigger(e = $.Event('hide.bs.dropdown'))\\n      if (e.isDefaultPrevented()) return\\n      $parent.removeClass('open').trigger('hidden.bs.dropdown')\\n    })\\n  }\\n\\n  function getParent($this) {\\n    var selector = $this.attr('data-target')\\n\\n    if (!selector) {\\n      selector = $this.attr('href')\\n      selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\\\\s]*$)/, '') //strip for ie7\\n    }\\n\\n    var $parent = selector && $(selector)\\n\\n    return $parent && $parent.length ? $parent : $this.parent()\\n  }\\n\\n\\n  // DROPDOWN PLUGIN DEFINITION\\n  // ==========================\\n\\n  var old = $.fn.dropdown\\n\\n  $.fn.dropdown = function (option) {\\n    return this.each(function () {\\n      var $this = $(this)\\n      var data  = $this.data('bs.dropdown')\\n\\n      if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))\\n      if (typeof option == 'string') data[option].call($this)\\n    })\\n  }\\n\\n  $.fn.dropdown.Constructor = Dropdown\\n\\n\\n  // DROPDOWN NO CONFLICT\\n  // ====================\\n\\n  $.fn.dropdown.noConflict = function () {\\n    $.fn.dropdown = old\\n    return this\\n  }\\n\\n\\n  // APPLY TO STANDARD DROPDOWN ELEMENTS\\n  // ===================================\\n\\n  $(document)\\n    .on('click.bs.dropdown.data-api', clearMenus)\\n    .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })\\n    .on('click.bs.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)\\n    .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)\\n\\n}(jQuery);\\n\",\"modal.js\":\"/* ========================================================================\\n * Bootstrap: modal.js v3.0.3\\n * http://getbootstrap.com/javascript/#modals\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // MODAL CLASS DEFINITION\\n  // ======================\\n\\n  var Modal = function (element, options) {\\n    this.options   = options\\n    this.$element  = $(element)\\n    this.$backdrop =\\n    this.isShown   = null\\n\\n    if (this.options.remote) this.$element.load(this.options.remote)\\n  }\\n\\n  Modal.DEFAULTS = {\\n      backdrop: true\\n    , keyboard: true\\n    , show: true\\n  }\\n\\n  Modal.prototype.toggle = function (_relatedTarget) {\\n    return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)\\n  }\\n\\n  Modal.prototype.show = function (_relatedTarget) {\\n    var that = this\\n    var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })\\n\\n    this.$element.trigger(e)\\n\\n    if (this.isShown || e.isDefaultPrevented()) return\\n\\n    this.isShown = true\\n\\n    this.escape()\\n\\n    this.$element.on('click.dismiss.modal', '[data-dismiss=\\\"modal\\\"]', $.proxy(this.hide, this))\\n\\n    this.backdrop(function () {\\n      var transition = $.support.transition && that.$element.hasClass('fade')\\n\\n      if (!that.$element.parent().length) {\\n        that.$element.appendTo(document.body) // don't move modals dom position\\n      }\\n\\n      that.$element.show()\\n\\n      if (transition) {\\n        that.$element[0].offsetWidth // force reflow\\n      }\\n\\n      that.$element\\n        .addClass('in')\\n        .attr('aria-hidden', false)\\n\\n      that.enforceFocus()\\n\\n      var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })\\n\\n      transition ?\\n        that.$element.find('.modal-dialog') // wait for modal to slide in\\n          .one($.support.transition.end, function () {\\n            that.$element.focus().trigger(e)\\n          })\\n          .emulateTransitionEnd(300) :\\n        that.$element.focus().trigger(e)\\n    })\\n  }\\n\\n  Modal.prototype.hide = function (e) {\\n    if (e) e.preventDefault()\\n\\n    e = $.Event('hide.bs.modal')\\n\\n    this.$element.trigger(e)\\n\\n    if (!this.isShown || e.isDefaultPrevented()) return\\n\\n    this.isShown = false\\n\\n    this.escape()\\n\\n    $(document).off('focusin.bs.modal')\\n\\n    this.$element\\n      .removeClass('in')\\n      .attr('aria-hidden', true)\\n      .off('click.dismiss.modal')\\n\\n    $.support.transition && this.$element.hasClass('fade') ?\\n      this.$element\\n        .one($.support.transition.end, $.proxy(this.hideModal, this))\\n        .emulateTransitionEnd(300) :\\n      this.hideModal()\\n  }\\n\\n  Modal.prototype.enforceFocus = function () {\\n    $(document)\\n      .off('focusin.bs.modal') // guard against infinite focus loop\\n      .on('focusin.bs.modal', $.proxy(function (e) {\\n        if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {\\n          this.$element.focus()\\n        }\\n      }, this))\\n  }\\n\\n  Modal.prototype.escape = function () {\\n    if (this.isShown && this.options.keyboard) {\\n      this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {\\n        e.which == 27 && this.hide()\\n      }, this))\\n    } else if (!this.isShown) {\\n      this.$element.off('keyup.dismiss.bs.modal')\\n    }\\n  }\\n\\n  Modal.prototype.hideModal = function () {\\n    var that = this\\n    this.$element.hide()\\n    this.backdrop(function () {\\n      that.removeBackdrop()\\n      that.$element.trigger('hidden.bs.modal')\\n    })\\n  }\\n\\n  Modal.prototype.removeBackdrop = function () {\\n    this.$backdrop && this.$backdrop.remove()\\n    this.$backdrop = null\\n  }\\n\\n  Modal.prototype.backdrop = function (callback) {\\n    var that    = this\\n    var animate = this.$element.hasClass('fade') ? 'fade' : ''\\n\\n    if (this.isShown && this.options.backdrop) {\\n      var doAnimate = $.support.transition && animate\\n\\n      this.$backdrop = $('<div class=\\\"modal-backdrop ' + animate + '\\\" />')\\n        .appendTo(document.body)\\n\\n      this.$element.on('click.dismiss.modal', $.proxy(function (e) {\\n        if (e.target !== e.currentTarget) return\\n        this.options.backdrop == 'static'\\n          ? this.$element[0].focus.call(this.$element[0])\\n          : this.hide.call(this)\\n      }, this))\\n\\n      if (doAnimate) this.$backdrop[0].offsetWidth // force reflow\\n\\n      this.$backdrop.addClass('in')\\n\\n      if (!callback) return\\n\\n      doAnimate ?\\n        this.$backdrop\\n          .one($.support.transition.end, callback)\\n          .emulateTransitionEnd(150) :\\n        callback()\\n\\n    } else if (!this.isShown && this.$backdrop) {\\n      this.$backdrop.removeClass('in')\\n\\n      $.support.transition && this.$element.hasClass('fade')?\\n        this.$backdrop\\n          .one($.support.transition.end, callback)\\n          .emulateTransitionEnd(150) :\\n        callback()\\n\\n    } else if (callback) {\\n      callback()\\n    }\\n  }\\n\\n\\n  // MODAL PLUGIN DEFINITION\\n  // =======================\\n\\n  var old = $.fn.modal\\n\\n  $.fn.modal = function (option, _relatedTarget) {\\n    return this.each(function () {\\n      var $this   = $(this)\\n      var data    = $this.data('bs.modal')\\n      var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)\\n\\n      if (!data) $this.data('bs.modal', (data = new Modal(this, options)))\\n      if (typeof option == 'string') data[option](_relatedTarget)\\n      else if (options.show) data.show(_relatedTarget)\\n    })\\n  }\\n\\n  $.fn.modal.Constructor = Modal\\n\\n\\n  // MODAL NO CONFLICT\\n  // =================\\n\\n  $.fn.modal.noConflict = function () {\\n    $.fn.modal = old\\n    return this\\n  }\\n\\n\\n  // MODAL DATA-API\\n  // ==============\\n\\n  $(document).on('click.bs.modal.data-api', '[data-toggle=\\\"modal\\\"]', function (e) {\\n    var $this   = $(this)\\n    var href    = $this.attr('href')\\n    var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\\\\s]+$)/, ''))) //strip for ie7\\n    var option  = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())\\n\\n    e.preventDefault()\\n\\n    $target\\n      .modal(option, this)\\n      .one('hide', function () {\\n        $this.is(':visible') && $this.focus()\\n      })\\n  })\\n\\n  $(document)\\n    .on('show.bs.modal',  '.modal', function () { $(document.body).addClass('modal-open') })\\n    .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })\\n\\n}(jQuery);\\n\",\"popover.js\":\"/* ========================================================================\\n * Bootstrap: popover.js v3.0.3\\n * http://getbootstrap.com/javascript/#popovers\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // POPOVER PUBLIC CLASS DEFINITION\\n  // ===============================\\n\\n  var Popover = function (element, options) {\\n    this.init('popover', element, options)\\n  }\\n\\n  if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')\\n\\n  Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {\\n    placement: 'right'\\n  , trigger: 'click'\\n  , content: ''\\n  , template: '<div class=\\\"popover\\\"><div class=\\\"arrow\\\"></div><h3 class=\\\"popover-title\\\"></h3><div class=\\\"popover-content\\\"></div></div>'\\n  })\\n\\n\\n  // NOTE: POPOVER EXTENDS tooltip.js\\n  // ================================\\n\\n  Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)\\n\\n  Popover.prototype.constructor = Popover\\n\\n  Popover.prototype.getDefaults = function () {\\n    return Popover.DEFAULTS\\n  }\\n\\n  Popover.prototype.setContent = function () {\\n    var $tip    = this.tip()\\n    var title   = this.getTitle()\\n    var content = this.getContent()\\n\\n    $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)\\n    $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)\\n\\n    $tip.removeClass('fade top bottom left right in')\\n\\n    // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do\\n    // this manually by checking the contents.\\n    if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()\\n  }\\n\\n  Popover.prototype.hasContent = function () {\\n    return this.getTitle() || this.getContent()\\n  }\\n\\n  Popover.prototype.getContent = function () {\\n    var $e = this.$element\\n    var o  = this.options\\n\\n    return $e.attr('data-content')\\n      || (typeof o.content == 'function' ?\\n            o.content.call($e[0]) :\\n            o.content)\\n  }\\n\\n  Popover.prototype.arrow = function () {\\n    return this.$arrow = this.$arrow || this.tip().find('.arrow')\\n  }\\n\\n  Popover.prototype.tip = function () {\\n    if (!this.$tip) this.$tip = $(this.options.template)\\n    return this.$tip\\n  }\\n\\n\\n  // POPOVER PLUGIN DEFINITION\\n  // =========================\\n\\n  var old = $.fn.popover\\n\\n  $.fn.popover = function (option) {\\n    return this.each(function () {\\n      var $this   = $(this)\\n      var data    = $this.data('bs.popover')\\n      var options = typeof option == 'object' && option\\n\\n      if (!data) $this.data('bs.popover', (data = new Popover(this, options)))\\n      if (typeof option == 'string') data[option]()\\n    })\\n  }\\n\\n  $.fn.popover.Constructor = Popover\\n\\n\\n  // POPOVER NO CONFLICT\\n  // ===================\\n\\n  $.fn.popover.noConflict = function () {\\n    $.fn.popover = old\\n    return this\\n  }\\n\\n}(jQuery);\\n\",\"scrollspy.js\":\"/* ========================================================================\\n * Bootstrap: scrollspy.js v3.0.3\\n * http://getbootstrap.com/javascript/#scrollspy\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // SCROLLSPY CLASS DEFINITION\\n  // ==========================\\n\\n  function ScrollSpy(element, options) {\\n    var href\\n    var process  = $.proxy(this.process, this)\\n\\n    this.$element       = $(element).is('body') ? $(window) : $(element)\\n    this.$body          = $('body')\\n    this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)\\n    this.options        = $.extend({}, ScrollSpy.DEFAULTS, options)\\n    this.selector       = (this.options.target\\n      || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\\\\s]+$)/, '')) //strip for ie7\\n      || '') + ' .nav li > a'\\n    this.offsets        = $([])\\n    this.targets        = $([])\\n    this.activeTarget   = null\\n\\n    this.refresh()\\n    this.process()\\n  }\\n\\n  ScrollSpy.DEFAULTS = {\\n    offset: 10\\n  }\\n\\n  ScrollSpy.prototype.refresh = function () {\\n    var offsetMethod = this.$element[0] == window ? 'offset' : 'position'\\n\\n    this.offsets = $([])\\n    this.targets = $([])\\n\\n    var self     = this\\n    var $targets = this.$body\\n      .find(this.selector)\\n      .map(function () {\\n        var $el   = $(this)\\n        var href  = $el.data('target') || $el.attr('href')\\n        var $href = /^#\\\\w/.test(href) && $(href)\\n\\n        return ($href\\n          && $href.length\\n          && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null\\n      })\\n      .sort(function (a, b) { return a[0] - b[0] })\\n      .each(function () {\\n        self.offsets.push(this[0])\\n        self.targets.push(this[1])\\n      })\\n  }\\n\\n  ScrollSpy.prototype.process = function () {\\n    var scrollTop    = this.$scrollElement.scrollTop() + this.options.offset\\n    var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight\\n    var maxScroll    = scrollHeight - this.$scrollElement.height()\\n    var offsets      = this.offsets\\n    var targets      = this.targets\\n    var activeTarget = this.activeTarget\\n    var i\\n\\n    if (scrollTop >= maxScroll) {\\n      return activeTarget != (i = targets.last()[0]) && this.activate(i)\\n    }\\n\\n    for (i = offsets.length; i--;) {\\n      activeTarget != targets[i]\\n        && scrollTop >= offsets[i]\\n        && (!offsets[i + 1] || scrollTop <= offsets[i + 1])\\n        && this.activate( targets[i] )\\n    }\\n  }\\n\\n  ScrollSpy.prototype.activate = function (target) {\\n    this.activeTarget = target\\n\\n    $(this.selector)\\n      .parents('.active')\\n      .removeClass('active')\\n\\n    var selector = this.selector\\n      + '[data-target=\\\"' + target + '\\\"],'\\n      + this.selector + '[href=\\\"' + target + '\\\"]'\\n\\n    var active = $(selector)\\n      .parents('li')\\n      .addClass('active')\\n\\n    if (active.parent('.dropdown-menu').length)  {\\n      active = active\\n        .closest('li.dropdown')\\n        .addClass('active')\\n    }\\n\\n    active.trigger('activate.bs.scrollspy')\\n  }\\n\\n\\n  // SCROLLSPY PLUGIN DEFINITION\\n  // ===========================\\n\\n  var old = $.fn.scrollspy\\n\\n  $.fn.scrollspy = function (option) {\\n    return this.each(function () {\\n      var $this   = $(this)\\n      var data    = $this.data('bs.scrollspy')\\n      var options = typeof option == 'object' && option\\n\\n      if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))\\n      if (typeof option == 'string') data[option]()\\n    })\\n  }\\n\\n  $.fn.scrollspy.Constructor = ScrollSpy\\n\\n\\n  // SCROLLSPY NO CONFLICT\\n  // =====================\\n\\n  $.fn.scrollspy.noConflict = function () {\\n    $.fn.scrollspy = old\\n    return this\\n  }\\n\\n\\n  // SCROLLSPY DATA-API\\n  // ==================\\n\\n  $(window).on('load', function () {\\n    $('[data-spy=\\\"scroll\\\"]').each(function () {\\n      var $spy = $(this)\\n      $spy.scrollspy($spy.data())\\n    })\\n  })\\n\\n}(jQuery);\\n\",\"tab.js\":\"/* ========================================================================\\n * Bootstrap: tab.js v3.0.3\\n * http://getbootstrap.com/javascript/#tabs\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // TAB CLASS DEFINITION\\n  // ====================\\n\\n  var Tab = function (element) {\\n    this.element = $(element)\\n  }\\n\\n  Tab.prototype.show = function () {\\n    var $this    = this.element\\n    var $ul      = $this.closest('ul:not(.dropdown-menu)')\\n    var selector = $this.data('target')\\n\\n    if (!selector) {\\n      selector = $this.attr('href')\\n      selector = selector && selector.replace(/.*(?=#[^\\\\s]*$)/, '') //strip for ie7\\n    }\\n\\n    if ($this.parent('li').hasClass('active')) return\\n\\n    var previous = $ul.find('.active:last a')[0]\\n    var e        = $.Event('show.bs.tab', {\\n      relatedTarget: previous\\n    })\\n\\n    $this.trigger(e)\\n\\n    if (e.isDefaultPrevented()) return\\n\\n    var $target = $(selector)\\n\\n    this.activate($this.parent('li'), $ul)\\n    this.activate($target, $target.parent(), function () {\\n      $this.trigger({\\n        type: 'shown.bs.tab'\\n      , relatedTarget: previous\\n      })\\n    })\\n  }\\n\\n  Tab.prototype.activate = function (element, container, callback) {\\n    var $active    = container.find('> .active')\\n    var transition = callback\\n      && $.support.transition\\n      && $active.hasClass('fade')\\n\\n    function next() {\\n      $active\\n        .removeClass('active')\\n        .find('> .dropdown-menu > .active')\\n        .removeClass('active')\\n\\n      element.addClass('active')\\n\\n      if (transition) {\\n        element[0].offsetWidth // reflow for transition\\n        element.addClass('in')\\n      } else {\\n        element.removeClass('fade')\\n      }\\n\\n      if (element.parent('.dropdown-menu')) {\\n        element.closest('li.dropdown').addClass('active')\\n      }\\n\\n      callback && callback()\\n    }\\n\\n    transition ?\\n      $active\\n        .one($.support.transition.end, next)\\n        .emulateTransitionEnd(150) :\\n      next()\\n\\n    $active.removeClass('in')\\n  }\\n\\n\\n  // TAB PLUGIN DEFINITION\\n  // =====================\\n\\n  var old = $.fn.tab\\n\\n  $.fn.tab = function ( option ) {\\n    return this.each(function () {\\n      var $this = $(this)\\n      var data  = $this.data('bs.tab')\\n\\n      if (!data) $this.data('bs.tab', (data = new Tab(this)))\\n      if (typeof option == 'string') data[option]()\\n    })\\n  }\\n\\n  $.fn.tab.Constructor = Tab\\n\\n\\n  // TAB NO CONFLICT\\n  // ===============\\n\\n  $.fn.tab.noConflict = function () {\\n    $.fn.tab = old\\n    return this\\n  }\\n\\n\\n  // TAB DATA-API\\n  // ============\\n\\n  $(document).on('click.bs.tab.data-api', '[data-toggle=\\\"tab\\\"], [data-toggle=\\\"pill\\\"]', function (e) {\\n    e.preventDefault()\\n    $(this).tab('show')\\n  })\\n\\n}(jQuery);\\n\",\"tooltip.js\":\"/* ========================================================================\\n * Bootstrap: tooltip.js v3.0.3\\n * http://getbootstrap.com/javascript/#tooltip\\n * Inspired by the original jQuery.tipsy by Jason Frame\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // TOOLTIP PUBLIC CLASS DEFINITION\\n  // ===============================\\n\\n  var Tooltip = function (element, options) {\\n    this.type       =\\n    this.options    =\\n    this.enabled    =\\n    this.timeout    =\\n    this.hoverState =\\n    this.$element   = null\\n\\n    this.init('tooltip', element, options)\\n  }\\n\\n  Tooltip.DEFAULTS = {\\n    animation: true\\n  , placement: 'top'\\n  , selector: false\\n  , template: '<div class=\\\"tooltip\\\"><div class=\\\"tooltip-arrow\\\"></div><div class=\\\"tooltip-inner\\\"></div></div>'\\n  , trigger: 'hover focus'\\n  , title: ''\\n  , delay: 0\\n  , html: false\\n  , container: false\\n  }\\n\\n  Tooltip.prototype.init = function (type, element, options) {\\n    this.enabled  = true\\n    this.type     = type\\n    this.$element = $(element)\\n    this.options  = this.getOptions(options)\\n\\n    var triggers = this.options.trigger.split(' ')\\n\\n    for (var i = triggers.length; i--;) {\\n      var trigger = triggers[i]\\n\\n      if (trigger == 'click') {\\n        this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\\n      } else if (trigger != 'manual') {\\n        var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focus'\\n        var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'\\n\\n        this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\\n        this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\\n      }\\n    }\\n\\n    this.options.selector ?\\n      (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\\n      this.fixTitle()\\n  }\\n\\n  Tooltip.prototype.getDefaults = function () {\\n    return Tooltip.DEFAULTS\\n  }\\n\\n  Tooltip.prototype.getOptions = function (options) {\\n    options = $.extend({}, this.getDefaults(), this.$element.data(), options)\\n\\n    if (options.delay && typeof options.delay == 'number') {\\n      options.delay = {\\n        show: options.delay\\n      , hide: options.delay\\n      }\\n    }\\n\\n    return options\\n  }\\n\\n  Tooltip.prototype.getDelegateOptions = function () {\\n    var options  = {}\\n    var defaults = this.getDefaults()\\n\\n    this._options && $.each(this._options, function (key, value) {\\n      if (defaults[key] != value) options[key] = value\\n    })\\n\\n    return options\\n  }\\n\\n  Tooltip.prototype.enter = function (obj) {\\n    var self = obj instanceof this.constructor ?\\n      obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)\\n\\n    clearTimeout(self.timeout)\\n\\n    self.hoverState = 'in'\\n\\n    if (!self.options.delay || !self.options.delay.show) return self.show()\\n\\n    self.timeout = setTimeout(function () {\\n      if (self.hoverState == 'in') self.show()\\n    }, self.options.delay.show)\\n  }\\n\\n  Tooltip.prototype.leave = function (obj) {\\n    var self = obj instanceof this.constructor ?\\n      obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)\\n\\n    clearTimeout(self.timeout)\\n\\n    self.hoverState = 'out'\\n\\n    if (!self.options.delay || !self.options.delay.hide) return self.hide()\\n\\n    self.timeout = setTimeout(function () {\\n      if (self.hoverState == 'out') self.hide()\\n    }, self.options.delay.hide)\\n  }\\n\\n  Tooltip.prototype.show = function () {\\n    var e = $.Event('show.bs.'+ this.type)\\n\\n    if (this.hasContent() && this.enabled) {\\n      this.$element.trigger(e)\\n\\n      if (e.isDefaultPrevented()) return\\n\\n      var $tip = this.tip()\\n\\n      this.setContent()\\n\\n      if (this.options.animation) $tip.addClass('fade')\\n\\n      var placement = typeof this.options.placement == 'function' ?\\n        this.options.placement.call(this, $tip[0], this.$element[0]) :\\n        this.options.placement\\n\\n      var autoToken = /\\\\s?auto?\\\\s?/i\\n      var autoPlace = autoToken.test(placement)\\n      if (autoPlace) placement = placement.replace(autoToken, '') || 'top'\\n\\n      $tip\\n        .detach()\\n        .css({ top: 0, left: 0, display: 'block' })\\n        .addClass(placement)\\n\\n      this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)\\n\\n      var pos          = this.getPosition()\\n      var actualWidth  = $tip[0].offsetWidth\\n      var actualHeight = $tip[0].offsetHeight\\n\\n      if (autoPlace) {\\n        var $parent = this.$element.parent()\\n\\n        var orgPlacement = placement\\n        var docScroll    = document.documentElement.scrollTop || document.body.scrollTop\\n        var parentWidth  = this.options.container == 'body' ? window.innerWidth  : $parent.outerWidth()\\n        var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()\\n        var parentLeft   = this.options.container == 'body' ? 0 : $parent.offset().left\\n\\n        placement = placement == 'bottom' && pos.top   + pos.height  + actualHeight - docScroll > parentHeight  ? 'top'    :\\n                    placement == 'top'    && pos.top   - docScroll   - actualHeight < 0                         ? 'bottom' :\\n                    placement == 'right'  && pos.right + actualWidth > parentWidth                              ? 'left'   :\\n                    placement == 'left'   && pos.left  - actualWidth < parentLeft                               ? 'right'  :\\n                    placement\\n\\n        $tip\\n          .removeClass(orgPlacement)\\n          .addClass(placement)\\n      }\\n\\n      var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)\\n\\n      this.applyPlacement(calculatedOffset, placement)\\n      this.$element.trigger('shown.bs.' + this.type)\\n    }\\n  }\\n\\n  Tooltip.prototype.applyPlacement = function(offset, placement) {\\n    var replace\\n    var $tip   = this.tip()\\n    var width  = $tip[0].offsetWidth\\n    var height = $tip[0].offsetHeight\\n\\n    // manually read margins because getBoundingClientRect includes difference\\n    var marginTop = parseInt($tip.css('margin-top'), 10)\\n    var marginLeft = parseInt($tip.css('margin-left'), 10)\\n\\n    // we must check for NaN for ie 8/9\\n    if (isNaN(marginTop))  marginTop  = 0\\n    if (isNaN(marginLeft)) marginLeft = 0\\n\\n    offset.top  = offset.top  + marginTop\\n    offset.left = offset.left + marginLeft\\n\\n    $tip\\n      .offset(offset)\\n      .addClass('in')\\n\\n    // check to see if placing tip in new offset caused the tip to resize itself\\n    var actualWidth  = $tip[0].offsetWidth\\n    var actualHeight = $tip[0].offsetHeight\\n\\n    if (placement == 'top' && actualHeight != height) {\\n      replace = true\\n      offset.top = offset.top + height - actualHeight\\n    }\\n\\n    if (/bottom|top/.test(placement)) {\\n      var delta = 0\\n\\n      if (offset.left < 0) {\\n        delta       = offset.left * -2\\n        offset.left = 0\\n\\n        $tip.offset(offset)\\n\\n        actualWidth  = $tip[0].offsetWidth\\n        actualHeight = $tip[0].offsetHeight\\n      }\\n\\n      this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')\\n    } else {\\n      this.replaceArrow(actualHeight - height, actualHeight, 'top')\\n    }\\n\\n    if (replace) $tip.offset(offset)\\n  }\\n\\n  Tooltip.prototype.replaceArrow = function(delta, dimension, position) {\\n    this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + \\\"%\\\") : '')\\n  }\\n\\n  Tooltip.prototype.setContent = function () {\\n    var $tip  = this.tip()\\n    var title = this.getTitle()\\n\\n    $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)\\n    $tip.removeClass('fade in top bottom left right')\\n  }\\n\\n  Tooltip.prototype.hide = function () {\\n    var that = this\\n    var $tip = this.tip()\\n    var e    = $.Event('hide.bs.' + this.type)\\n\\n    function complete() {\\n      if (that.hoverState != 'in') $tip.detach()\\n    }\\n\\n    this.$element.trigger(e)\\n\\n    if (e.isDefaultPrevented()) return\\n\\n    $tip.removeClass('in')\\n\\n    $.support.transition && this.$tip.hasClass('fade') ?\\n      $tip\\n        .one($.support.transition.end, complete)\\n        .emulateTransitionEnd(150) :\\n      complete()\\n\\n    this.$element.trigger('hidden.bs.' + this.type)\\n\\n    return this\\n  }\\n\\n  Tooltip.prototype.fixTitle = function () {\\n    var $e = this.$element\\n    if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {\\n      $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')\\n    }\\n  }\\n\\n  Tooltip.prototype.hasContent = function () {\\n    return this.getTitle()\\n  }\\n\\n  Tooltip.prototype.getPosition = function () {\\n    var el = this.$element[0]\\n    return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {\\n      width: el.offsetWidth\\n    , height: el.offsetHeight\\n    }, this.$element.offset())\\n  }\\n\\n  Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {\\n    return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2  } :\\n           placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2  } :\\n           placement == 'left'   ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :\\n        /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width   }\\n  }\\n\\n  Tooltip.prototype.getTitle = function () {\\n    var title\\n    var $e = this.$element\\n    var o  = this.options\\n\\n    title = $e.attr('data-original-title')\\n      || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)\\n\\n    return title\\n  }\\n\\n  Tooltip.prototype.tip = function () {\\n    return this.$tip = this.$tip || $(this.options.template)\\n  }\\n\\n  Tooltip.prototype.arrow = function () {\\n    return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')\\n  }\\n\\n  Tooltip.prototype.validate = function () {\\n    if (!this.$element[0].parentNode) {\\n      this.hide()\\n      this.$element = null\\n      this.options  = null\\n    }\\n  }\\n\\n  Tooltip.prototype.enable = function () {\\n    this.enabled = true\\n  }\\n\\n  Tooltip.prototype.disable = function () {\\n    this.enabled = false\\n  }\\n\\n  Tooltip.prototype.toggleEnabled = function () {\\n    this.enabled = !this.enabled\\n  }\\n\\n  Tooltip.prototype.toggle = function (e) {\\n    var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this\\n    self.tip().hasClass('in') ? self.leave(self) : self.enter(self)\\n  }\\n\\n  Tooltip.prototype.destroy = function () {\\n    this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)\\n  }\\n\\n\\n  // TOOLTIP PLUGIN DEFINITION\\n  // =========================\\n\\n  var old = $.fn.tooltip\\n\\n  $.fn.tooltip = function (option) {\\n    return this.each(function () {\\n      var $this   = $(this)\\n      var data    = $this.data('bs.tooltip')\\n      var options = typeof option == 'object' && option\\n\\n      if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))\\n      if (typeof option == 'string') data[option]()\\n    })\\n  }\\n\\n  $.fn.tooltip.Constructor = Tooltip\\n\\n\\n  // TOOLTIP NO CONFLICT\\n  // ===================\\n\\n  $.fn.tooltip.noConflict = function () {\\n    $.fn.tooltip = old\\n    return this\\n  }\\n\\n}(jQuery);\\n\",\"transition.js\":\"/* ========================================================================\\n * Bootstrap: transition.js v3.0.3\\n * http://getbootstrap.com/javascript/#transitions\\n * ========================================================================\\n * Copyright 2013 Twitter, Inc.\\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+function ($) { \\\"use strict\\\";\\n\\n  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)\\n  // ============================================================\\n\\n  function transitionEnd() {\\n    var el = document.createElement('bootstrap')\\n\\n    var transEndEventNames = {\\n      'WebkitTransition' : 'webkitTransitionEnd'\\n    , 'MozTransition'    : 'transitionend'\\n    , 'OTransition'      : 'oTransitionEnd otransitionend'\\n    , 'transition'       : 'transitionend'\\n    }\\n\\n    for (var name in transEndEventNames) {\\n      if (el.style[name] !== undefined) {\\n        return { end: transEndEventNames[name] }\\n      }\\n    }\\n  }\\n\\n  // http://blog.alexmaccaw.com/css-transitions\\n  $.fn.emulateTransitionEnd = function (duration) {\\n    var called = false, $el = this\\n    $(this).one($.support.transition.end, function () { called = true })\\n    var callback = function () { if (!called) $($el).trigger($.support.transition.end) }\\n    setTimeout(callback, duration)\\n    return this\\n  }\\n\\n  $(function () {\\n    $.support.transition = transitionEnd()\\n  })\\n\\n}(jQuery);\\n\"}\nvar __less = {\"alerts.less\":\"//\\n// Alerts\\n// --------------------------------------------------\\n\\n\\n// Base styles\\n// -------------------------\\n\\n.alert {\\n  padding: @alert-padding;\\n  margin-bottom: @line-height-computed;\\n  border: 1px solid transparent;\\n  border-radius: @alert-border-radius;\\n\\n  // Headings for larger alerts\\n  h4 {\\n    margin-top: 0;\\n    // Specified for the h4 to prevent conflicts of changing @headings-color\\n    color: inherit;\\n  }\\n  // Provide class for links that match alerts\\n  .alert-link {\\n    font-weight: @alert-link-font-weight;\\n  }\\n\\n  // Improve alignment and spacing of inner content\\n  > p,\\n  > ul {\\n    margin-bottom: 0;\\n  }\\n  > p + p {\\n    margin-top: 5px;\\n  }\\n}\\n\\n// Dismissable alerts\\n//\\n// Expand the right padding and account for the close button's positioning.\\n\\n.alert-dismissable {\\n padding-right: (@alert-padding + 20);\\n\\n  // Adjust close link position\\n  .close {\\n    position: relative;\\n    top: -2px;\\n    right: -21px;\\n    color: inherit;\\n  }\\n}\\n\\n// Alternate styles\\n//\\n// Generate contextual modifier classes for colorizing the alert.\\n\\n.alert-success {\\n  .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);\\n}\\n.alert-info {\\n  .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);\\n}\\n.alert-warning {\\n  .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);\\n}\\n.alert-danger {\\n  .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);\\n}\\n\",\"badges.less\":\"//\\n// Badges\\n// --------------------------------------------------\\n\\n\\n// Base classes\\n.badge {\\n  display: inline-block;\\n  min-width: 10px;\\n  padding: 3px 7px;\\n  font-size: @font-size-small;\\n  font-weight: @badge-font-weight;\\n  color: @badge-color;\\n  line-height: @badge-line-height;\\n  vertical-align: baseline;\\n  white-space: nowrap;\\n  text-align: center;\\n  background-color: @badge-bg;\\n  border-radius: @badge-border-radius;\\n\\n  // Empty badges collapse automatically (not available in IE8)\\n  &:empty {\\n    display: none;\\n  }\\n\\n  // Quick fix for badges in buttons\\n  .btn & {\\n    position: relative;\\n    top: -1px;\\n  }\\n}\\n\\n// Hover state, but only for links\\na.badge {\\n  &:hover,\\n  &:focus {\\n    color: @badge-link-hover-color;\\n    text-decoration: none;\\n    cursor: pointer;\\n  }\\n}\\n\\n// Account for counters in navs\\na.list-group-item.active > .badge,\\n.nav-pills > .active > a > .badge {\\n  color: @badge-active-color;\\n  background-color: @badge-active-bg;\\n}\\n.nav-pills > li > a > .badge {\\n  margin-left: 3px;\\n}\\n\",\"bootstrap.less\":\"// Core variables and mixins\\n@import \\\"variables.less\\\";\\n@import \\\"mixins.less\\\";\\n\\n// Reset\\n@import \\\"normalize.less\\\";\\n@import \\\"print.less\\\";\\n\\n// Core CSS\\n@import \\\"scaffolding.less\\\";\\n@import \\\"type.less\\\";\\n@import \\\"code.less\\\";\\n@import \\\"grid.less\\\";\\n@import \\\"tables.less\\\";\\n@import \\\"forms.less\\\";\\n@import \\\"buttons.less\\\";\\n\\n// Components\\n@import \\\"component-animations.less\\\";\\n@import \\\"glyphicons.less\\\";\\n@import \\\"dropdowns.less\\\";\\n@import \\\"button-groups.less\\\";\\n@import \\\"input-groups.less\\\";\\n@import \\\"navs.less\\\";\\n@import \\\"navbar.less\\\";\\n@import \\\"breadcrumbs.less\\\";\\n@import \\\"pagination.less\\\";\\n@import \\\"pager.less\\\";\\n@import \\\"labels.less\\\";\\n@import \\\"badges.less\\\";\\n@import \\\"jumbotron.less\\\";\\n@import \\\"thumbnails.less\\\";\\n@import \\\"alerts.less\\\";\\n@import \\\"progress-bars.less\\\";\\n@import \\\"media.less\\\";\\n@import \\\"list-group.less\\\";\\n@import \\\"panels.less\\\";\\n@import \\\"wells.less\\\";\\n@import \\\"close.less\\\";\\n\\n// Components w/ JavaScript\\n@import \\\"modals.less\\\";\\n@import \\\"tooltip.less\\\";\\n@import \\\"popovers.less\\\";\\n@import \\\"carousel.less\\\";\\n\\n// Utility classes\\n@import \\\"utilities.less\\\";\\n@import \\\"responsive-utilities.less\\\";\\n\",\"breadcrumbs.less\":\"//\\n// Breadcrumbs\\n// --------------------------------------------------\\n\\n\\n.breadcrumb {\\n  padding: 8px 15px;\\n  margin-bottom: @line-height-computed;\\n  list-style: none;\\n  background-color: @breadcrumb-bg;\\n  border-radius: @border-radius-base;\\n  > li {\\n    display: inline-block;\\n    + li:before {\\n      content: \\\"@{breadcrumb-separator}\\\\00a0\\\"; // Unicode space added since inline-block means non-collapsing white-space\\n      padding: 0 5px;\\n      color: @breadcrumb-color;\\n    }\\n  }\\n  > .active {\\n    color: @breadcrumb-active-color;\\n  }\\n}\\n\",\"button-groups.less\":\"//\\n// Button groups\\n// --------------------------------------------------\\n\\n// Make the div behave like a button\\n.btn-group,\\n.btn-group-vertical {\\n  position: relative;\\n  display: inline-block;\\n  vertical-align: middle; // match .btn alignment given font-size hack above\\n  > .btn {\\n    position: relative;\\n    float: left;\\n    // Bring the \\\"active\\\" button to the front\\n    &:hover,\\n    &:focus,\\n    &:active,\\n    &.active {\\n      z-index: 2;\\n    }\\n    &:focus {\\n      // Remove focus outline when dropdown JS adds it after closing the menu\\n      outline: none;\\n    }\\n  }\\n}\\n\\n// Prevent double borders when buttons are next to each other\\n.btn-group {\\n  .btn + .btn,\\n  .btn + .btn-group,\\n  .btn-group + .btn,\\n  .btn-group + .btn-group {\\n    margin-left: -1px;\\n  }\\n}\\n\\n// Optional: Group multiple button groups together for a toolbar\\n.btn-toolbar {\\n  .clearfix();\\n\\n  .btn-group {\\n    float: left;\\n  }\\n  // Space out series of button groups\\n  > .btn,\\n  > .btn-group {\\n    + .btn,\\n    + .btn-group {\\n      margin-left: 5px;\\n    }\\n  }\\n}\\n\\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\\n  border-radius: 0;\\n}\\n\\n// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match\\n.btn-group > .btn:first-child {\\n  margin-left: 0;\\n  &:not(:last-child):not(.dropdown-toggle) {\\n    .border-right-radius(0);\\n  }\\n}\\n// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it\\n.btn-group > .btn:last-child:not(:first-child),\\n.btn-group > .dropdown-toggle:not(:first-child) {\\n  .border-left-radius(0);\\n}\\n\\n// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)\\n.btn-group > .btn-group {\\n  float: left;\\n}\\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\\n  border-radius: 0;\\n}\\n.btn-group > .btn-group:first-child {\\n  > .btn:last-child,\\n  > .dropdown-toggle {\\n    .border-right-radius(0);\\n  }\\n}\\n.btn-group > .btn-group:last-child > .btn:first-child {\\n  .border-left-radius(0);\\n}\\n\\n// On active and open, don't show outline\\n.btn-group .dropdown-toggle:active,\\n.btn-group.open .dropdown-toggle {\\n  outline: 0;\\n}\\n\\n\\n// Sizing\\n//\\n// Remix the default button sizing classes into new ones for easier manipulation.\\n\\n.btn-group-xs > .btn { .btn-xs(); }\\n.btn-group-sm > .btn { .btn-sm(); }\\n.btn-group-lg > .btn { .btn-lg(); }\\n\\n\\n// Split button dropdowns\\n// ----------------------\\n\\n// Give the line between buttons some depth\\n.btn-group > .btn + .dropdown-toggle {\\n  padding-left: 8px;\\n  padding-right: 8px;\\n}\\n.btn-group > .btn-lg + .dropdown-toggle {\\n  padding-left: 12px;\\n  padding-right: 12px;\\n}\\n\\n// The clickable button for toggling the menu\\n// Remove the gradient and set the same inset shadow as the :active state\\n.btn-group.open .dropdown-toggle {\\n  .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\\n\\n  // Show no shadow for `.btn-link` since it has no other button styles.\\n  &.btn-link {\\n    .box-shadow(none);\\n  }\\n}\\n\\n\\n// Reposition the caret\\n.btn .caret {\\n  margin-left: 0;\\n}\\n// Carets in other button sizes\\n.btn-lg .caret {\\n  border-width: @caret-width-large @caret-width-large 0;\\n  border-bottom-width: 0;\\n}\\n// Upside down carets for .dropup\\n.dropup .btn-lg .caret {\\n  border-width: 0 @caret-width-large @caret-width-large;\\n}\\n\\n\\n// Vertical button groups\\n// ----------------------\\n\\n.btn-group-vertical {\\n  > .btn,\\n  > .btn-group,\\n  > .btn-group > .btn {\\n    display: block;\\n    float: none;\\n    width: 100%;\\n    max-width: 100%;\\n  }\\n\\n  // Clear floats so dropdown menus can be properly placed\\n  > .btn-group {\\n    .clearfix();\\n    > .btn {\\n      float: none;\\n    }\\n  }\\n\\n  > .btn + .btn,\\n  > .btn + .btn-group,\\n  > .btn-group + .btn,\\n  > .btn-group + .btn-group {\\n    margin-top: -1px;\\n    margin-left: 0;\\n  }\\n}\\n\\n.btn-group-vertical > .btn {\\n  &:not(:first-child):not(:last-child) {\\n    border-radius: 0;\\n  }\\n  &:first-child:not(:last-child) {\\n    border-top-right-radius: @border-radius-base;\\n    .border-bottom-radius(0);\\n  }\\n  &:last-child:not(:first-child) {\\n    border-bottom-left-radius: @border-radius-base;\\n    .border-top-radius(0);\\n  }\\n}\\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\\n  border-radius: 0;\\n}\\n.btn-group-vertical > .btn-group:first-child {\\n  > .btn:last-child,\\n  > .dropdown-toggle {\\n    .border-bottom-radius(0);\\n  }\\n}\\n.btn-group-vertical > .btn-group:last-child > .btn:first-child {\\n  .border-top-radius(0);\\n}\\n\\n\\n\\n// Justified button groups\\n// ----------------------\\n\\n.btn-group-justified {\\n  display: table;\\n  width: 100%;\\n  table-layout: fixed;\\n  border-collapse: separate;\\n  > .btn,\\n  > .btn-group {\\n    float: none;\\n    display: table-cell;\\n    width: 1%;\\n  }\\n  > .btn-group .btn {\\n    width: 100%;\\n  }\\n}\\n\\n\\n// Checkbox and radio options\\n[data-toggle=\\\"buttons\\\"] > .btn > input[type=\\\"radio\\\"],\\n[data-toggle=\\\"buttons\\\"] > .btn > input[type=\\\"checkbox\\\"] {\\n  display: none;\\n}\\n\",\"buttons.less\":\"//\\n// Buttons\\n// --------------------------------------------------\\n\\n\\n// Base styles\\n// --------------------------------------------------\\n\\n.btn {\\n  display: inline-block;\\n  margin-bottom: 0; // For input.btn\\n  font-weight: @btn-font-weight;\\n  text-align: center;\\n  vertical-align: middle;\\n  cursor: pointer;\\n  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\\n  border: 1px solid transparent;\\n  white-space: nowrap;\\n  .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);\\n  .user-select(none);\\n\\n  &:focus {\\n    .tab-focus();\\n  }\\n\\n  &:hover,\\n  &:focus {\\n    color: @btn-default-color;\\n    text-decoration: none;\\n  }\\n\\n  &:active,\\n  &.active {\\n    outline: 0;\\n    background-image: none;\\n    .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\\n  }\\n\\n  &.disabled,\\n  &[disabled],\\n  fieldset[disabled] & {\\n    cursor: not-allowed;\\n    pointer-events: none; // Future-proof disabling of clicks\\n    .opacity(.65);\\n    .box-shadow(none);\\n  }\\n}\\n\\n\\n// Alternate buttons\\n// --------------------------------------------------\\n\\n.btn-default {\\n  .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);\\n}\\n.btn-primary {\\n  .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);\\n}\\n// Warning appears as orange\\n.btn-warning {\\n  .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);\\n}\\n// Danger and error appear as red\\n.btn-danger {\\n  .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);\\n}\\n// Success appears as green\\n.btn-success {\\n  .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);\\n}\\n// Info appears as blue-green\\n.btn-info {\\n  .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);\\n}\\n\\n\\n// Link buttons\\n// -------------------------\\n\\n// Make a button look and behave like a link\\n.btn-link {\\n  color: @link-color;\\n  font-weight: normal;\\n  cursor: pointer;\\n  border-radius: 0;\\n\\n  &,\\n  &:active,\\n  &[disabled],\\n  fieldset[disabled] & {\\n    background-color: transparent;\\n    .box-shadow(none);\\n  }\\n  &,\\n  &:hover,\\n  &:focus,\\n  &:active {\\n    border-color: transparent;\\n  }\\n  &:hover,\\n  &:focus {\\n    color: @link-hover-color;\\n    text-decoration: underline;\\n    background-color: transparent;\\n  }\\n  &[disabled],\\n  fieldset[disabled] & {\\n    &:hover,\\n    &:focus {\\n      color: @btn-link-disabled-color;\\n      text-decoration: none;\\n    }\\n  }\\n}\\n\\n\\n// Button Sizes\\n// --------------------------------------------------\\n\\n.btn-lg {\\n  // line-height: ensure even-numbered height of button next to large input\\n  .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\\n}\\n.btn-sm {\\n  // line-height: ensure proper height of button next to small input\\n  .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\\n}\\n.btn-xs {\\n  .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);\\n}\\n\\n\\n// Block button\\n// --------------------------------------------------\\n\\n.btn-block {\\n  display: block;\\n  width: 100%;\\n  padding-left: 0;\\n  padding-right: 0;\\n}\\n\\n// Vertically space out multiple block buttons\\n.btn-block + .btn-block {\\n  margin-top: 5px;\\n}\\n\\n// Specificity overrides\\ninput[type=\\\"submit\\\"],\\ninput[type=\\\"reset\\\"],\\ninput[type=\\\"button\\\"] {\\n  &.btn-block {\\n    width: 100%;\\n  }\\n}\\n\",\"carousel.less\":\"//\\n// Carousel\\n// --------------------------------------------------\\n\\n\\n// Wrapper for the slide container and indicators\\n.carousel {\\n  position: relative;\\n}\\n\\n.carousel-inner {\\n  position: relative;\\n  overflow: hidden;\\n  width: 100%;\\n\\n  > .item {\\n    display: none;\\n    position: relative;\\n    .transition(.6s ease-in-out left);\\n\\n    // Account for jankitude on images\\n    > img,\\n    > a > img {\\n      .img-responsive();\\n      line-height: 1;\\n    }\\n  }\\n\\n  > .active,\\n  > .next,\\n  > .prev { display: block; }\\n\\n  > .active {\\n    left: 0;\\n  }\\n\\n  > .next,\\n  > .prev {\\n    position: absolute;\\n    top: 0;\\n    width: 100%;\\n  }\\n\\n  > .next {\\n    left: 100%;\\n  }\\n  > .prev {\\n    left: -100%;\\n  }\\n  > .next.left,\\n  > .prev.right {\\n    left: 0;\\n  }\\n\\n  > .active.left {\\n    left: -100%;\\n  }\\n  > .active.right {\\n    left: 100%;\\n  }\\n\\n}\\n\\n// Left/right controls for nav\\n// ---------------------------\\n\\n.carousel-control {\\n  position: absolute;\\n  top: 0;\\n  left: 0;\\n  bottom: 0;\\n  width: @carousel-control-width;\\n  .opacity(@carousel-control-opacity);\\n  font-size: @carousel-control-font-size;\\n  color: @carousel-control-color;\\n  text-align: center;\\n  text-shadow: @carousel-text-shadow;\\n  // We can't have this transition here because WebKit cancels the carousel\\n  // animation if you trip this while in the middle of another animation.\\n\\n  // Set gradients for backgrounds\\n  &.left {\\n    #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));\\n  }\\n  &.right {\\n    left: auto;\\n    right: 0;\\n    #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));\\n  }\\n\\n  // Hover/focus state\\n  &:hover,\\n  &:focus {\\n    outline: none;\\n    color: @carousel-control-color;\\n    text-decoration: none;\\n    .opacity(.9);\\n  }\\n\\n  // Toggles\\n  .icon-prev,\\n  .icon-next,\\n  .glyphicon-chevron-left,\\n  .glyphicon-chevron-right {\\n    position: absolute;\\n    top: 50%;\\n    z-index: 5;\\n    display: inline-block;\\n  }\\n  .icon-prev,\\n  .glyphicon-chevron-left {\\n    left: 50%;\\n  }\\n  .icon-next,\\n  .glyphicon-chevron-right {\\n    right: 50%;\\n  }\\n  .icon-prev,\\n  .icon-next {\\n    width:  20px;\\n    height: 20px;\\n    margin-top: -10px;\\n    margin-left: -10px;\\n    font-family: serif;\\n  }\\n\\n  .icon-prev {\\n    &:before {\\n      content: '\\\\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)\\n    }\\n  }\\n  .icon-next {\\n    &:before {\\n      content: '\\\\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)\\n    }\\n  }\\n}\\n\\n// Optional indicator pips\\n//\\n// Add an unordered list with the following class and add a list item for each\\n// slide your carousel holds.\\n\\n.carousel-indicators {\\n  position: absolute;\\n  bottom: 10px;\\n  left: 50%;\\n  z-index: 15;\\n  width: 60%;\\n  margin-left: -30%;\\n  padding-left: 0;\\n  list-style: none;\\n  text-align: center;\\n\\n  li {\\n    display: inline-block;\\n    width:  10px;\\n    height: 10px;\\n    margin: 1px;\\n    text-indent: -999px;\\n    border: 1px solid @carousel-indicator-border-color;\\n    border-radius: 10px;\\n    cursor: pointer;\\n\\n    // IE8-9 hack for event handling\\n    //\\n    // Internet Explorer 8-9 does not support clicks on elements without a set\\n    // `background-color`. We cannot use `filter` since that's not viewed as a\\n    // background color by the browser. Thus, a hack is needed.\\n    //\\n    // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we\\n    // set alpha transparency for the best results possible.\\n    background-color: #000 \\\\9; // IE8\\n    background-color: rgba(0,0,0,0); // IE9\\n  }\\n  .active {\\n    margin: 0;\\n    width:  12px;\\n    height: 12px;\\n    background-color: @carousel-indicator-active-bg;\\n  }\\n}\\n\\n// Optional captions\\n// -----------------------------\\n// Hidden by default for smaller viewports\\n.carousel-caption {\\n  position: absolute;\\n  left: 15%;\\n  right: 15%;\\n  bottom: 20px;\\n  z-index: 10;\\n  padding-top: 20px;\\n  padding-bottom: 20px;\\n  color: @carousel-caption-color;\\n  text-align: center;\\n  text-shadow: @carousel-text-shadow;\\n  & .btn {\\n    text-shadow: none; // No shadow for button elements in carousel-caption\\n  }\\n}\\n\\n\\n// Scale up controls for tablets and up\\n@media screen and (min-width: @screen-sm-min) {\\n\\n  // Scale up the controls a smidge\\n  .carousel-control {\\n    .glyphicons-chevron-left,\\n    .glyphicons-chevron-right,\\n    .icon-prev,\\n    .icon-next {\\n      width: 30px;\\n      height: 30px;\\n      margin-top: -15px;\\n      margin-left: -15px;\\n      font-size: 30px;\\n    }\\n  }\\n\\n  // Show and left align the captions\\n  .carousel-caption {\\n    left: 20%;\\n    right: 20%;\\n    padding-bottom: 30px;\\n  }\\n\\n  // Move up the indicators\\n  .carousel-indicators {\\n    bottom: 20px;\\n  }\\n}\\n\",\"close.less\":\"//\\n// Close icons\\n// --------------------------------------------------\\n\\n\\n.close {\\n  float: right;\\n  font-size: (@font-size-base * 1.5);\\n  font-weight: @close-font-weight;\\n  line-height: 1;\\n  color: @close-color;\\n  text-shadow: @close-text-shadow;\\n  .opacity(.2);\\n\\n  &:hover,\\n  &:focus {\\n    color: @close-color;\\n    text-decoration: none;\\n    cursor: pointer;\\n    .opacity(.5);\\n  }\\n\\n  // Additional properties for button version\\n  // iOS requires the button element instead of an anchor tag.\\n  // If you want the anchor version, it requires `href=\\\"#\\\"`.\\n  button& {\\n    padding: 0;\\n    cursor: pointer;\\n    background: transparent;\\n    border: 0;\\n    -webkit-appearance: none;\\n  }\\n}\\n\",\"code.less\":\"//\\n// Code (inline and block)\\n// --------------------------------------------------\\n\\n\\n// Inline and block code styles\\ncode,\\nkbd,\\npre,\\nsamp {\\n  font-family: @font-family-monospace;\\n}\\n\\n// Inline code\\ncode {\\n  padding: 2px 4px;\\n  font-size: 90%;\\n  color: @code-color;\\n  background-color: @code-bg;\\n  white-space: nowrap;\\n  border-radius: @border-radius-base;\\n}\\n\\n// Blocks of code\\npre {\\n  display: block;\\n  padding: ((@line-height-computed - 1) / 2);\\n  margin: 0 0 (@line-height-computed / 2);\\n  font-size: (@font-size-base - 1); // 14px to 13px\\n  line-height: @line-height-base;\\n  word-break: break-all;\\n  word-wrap: break-word;\\n  color: @pre-color;\\n  background-color: @pre-bg;\\n  border: 1px solid @pre-border-color;\\n  border-radius: @border-radius-base;\\n\\n  // Account for some code outputs that place code tags in pre tags\\n  code {\\n    padding: 0;\\n    font-size: inherit;\\n    color: inherit;\\n    white-space: pre-wrap;\\n    background-color: transparent;\\n    border-radius: 0;\\n  }\\n}\\n\\n// Enable scrollable blocks of code\\n.pre-scrollable {\\n  max-height: @pre-scrollable-max-height;\\n  overflow-y: scroll;\\n}\\n\",\"component-animations.less\":\"//\\n// Component animations\\n// --------------------------------------------------\\n\\n// Heads up!\\n//\\n// We don't use the `.opacity()` mixin here since it causes a bug with text\\n// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.\\n\\n.fade {\\n  opacity: 0;\\n  .transition(opacity .15s linear);\\n  &.in {\\n    opacity: 1;\\n  }\\n}\\n\\n.collapse {\\n  display: none;\\n  &.in {\\n    display: block;\\n  }\\n}\\n.collapsing {\\n  position: relative;\\n  height: 0;\\n  overflow: hidden;\\n  .transition(height .35s ease);\\n}\\n\",\"dropdowns.less\":\"//\\n// Dropdown menus\\n// --------------------------------------------------\\n\\n\\n// Dropdown arrow/caret\\n.caret {\\n  display: inline-block;\\n  width: 0;\\n  height: 0;\\n  margin-left: 2px;\\n  vertical-align: middle;\\n  border-top:   @caret-width-base solid;\\n  border-right: @caret-width-base solid transparent;\\n  border-left:  @caret-width-base solid transparent;\\n}\\n\\n// The dropdown wrapper (div)\\n.dropdown {\\n  position: relative;\\n}\\n\\n// Prevent the focus on the dropdown toggle when closing dropdowns\\n.dropdown-toggle:focus {\\n  outline: 0;\\n}\\n\\n// The dropdown menu (ul)\\n.dropdown-menu {\\n  position: absolute;\\n  top: 100%;\\n  left: 0;\\n  z-index: @zindex-dropdown;\\n  display: none; // none by default, but block on \\\"open\\\" of the menu\\n  float: left;\\n  min-width: 160px;\\n  padding: 5px 0;\\n  margin: 2px 0 0; // override default ul\\n  list-style: none;\\n  font-size: @font-size-base;\\n  background-color: @dropdown-bg;\\n  border: 1px solid @dropdown-fallback-border; // IE8 fallback\\n  border: 1px solid @dropdown-border;\\n  border-radius: @border-radius-base;\\n  .box-shadow(0 6px 12px rgba(0,0,0,.175));\\n  background-clip: padding-box;\\n\\n  // Aligns the dropdown menu to right\\n  &.pull-right {\\n    right: 0;\\n    left: auto;\\n  }\\n\\n  // Dividers (basically an hr) within the dropdown\\n  .divider {\\n    .nav-divider(@dropdown-divider-bg);\\n  }\\n\\n  // Links within the dropdown menu\\n  > li > a {\\n    display: block;\\n    padding: 3px 20px;\\n    clear: both;\\n    font-weight: normal;\\n    line-height: @line-height-base;\\n    color: @dropdown-link-color;\\n    white-space: nowrap; // prevent links from randomly breaking onto new lines\\n  }\\n}\\n\\n// Hover/Focus state\\n.dropdown-menu > li > a {\\n  &:hover,\\n  &:focus {\\n    text-decoration: none;\\n    color: @dropdown-link-hover-color;\\n    background-color: @dropdown-link-hover-bg;\\n  }\\n}\\n\\n// Active state\\n.dropdown-menu > .active > a {\\n  &,\\n  &:hover,\\n  &:focus {\\n    color: @dropdown-link-active-color;\\n    text-decoration: none;\\n    outline: 0;\\n    background-color: @dropdown-link-active-bg;\\n  }\\n}\\n\\n// Disabled state\\n//\\n// Gray out text and ensure the hover/focus state remains gray\\n\\n.dropdown-menu > .disabled > a {\\n  &,\\n  &:hover,\\n  &:focus {\\n    color: @dropdown-link-disabled-color;\\n  }\\n}\\n// Nuke hover/focus effects\\n.dropdown-menu > .disabled > a {\\n  &:hover,\\n  &:focus {\\n    text-decoration: none;\\n    background-color: transparent;\\n    background-image: none; // Remove CSS gradient\\n    .reset-filter();\\n    cursor: not-allowed;\\n  }\\n}\\n\\n// Open state for the dropdown\\n.open {\\n  // Show the menu\\n  > .dropdown-menu {\\n    display: block;\\n  }\\n\\n  // Remove the outline when :focus is triggered\\n  > a {\\n    outline: 0;\\n  }\\n}\\n\\n// Dropdown section headers\\n.dropdown-header {\\n  display: block;\\n  padding: 3px 20px;\\n  font-size: @font-size-small;\\n  line-height: @line-height-base;\\n  color: @dropdown-header-color;\\n}\\n\\n// Backdrop to catch body clicks on mobile, etc.\\n.dropdown-backdrop {\\n  position: fixed;\\n  left: 0;\\n  right: 0;\\n  bottom: 0;\\n  top: 0;\\n  z-index: @zindex-dropdown - 10;\\n}\\n\\n// Right aligned dropdowns\\n.pull-right > .dropdown-menu {\\n  right: 0;\\n  left: auto;\\n}\\n\\n// Allow for dropdowns to go bottom up (aka, dropup-menu)\\n//\\n// Just add .dropup after the standard .dropdown class and you're set, bro.\\n// TODO: abstract this so that the navbar fixed styles are not placed here?\\n\\n.dropup,\\n.navbar-fixed-bottom .dropdown {\\n  // Reverse the caret\\n  .caret {\\n    border-top: 0;\\n    border-bottom: @caret-width-base solid;\\n    content: \\\"\\\";\\n  }\\n  // Different positioning for bottom up menu\\n  .dropdown-menu {\\n    top: auto;\\n    bottom: 100%;\\n    margin-bottom: 1px;\\n  }\\n}\\n\\n\\n// Component alignment\\n//\\n// Reiterate per navbar.less and the modified component alignment there.\\n\\n@media (min-width: @grid-float-breakpoint) {\\n  .navbar-right {\\n    .dropdown-menu {\\n      .pull-right > .dropdown-menu();\\n    }\\n  }\\n}\\n\\n\",\"forms.less\":\"//\\n// Forms\\n// --------------------------------------------------\\n\\n\\n// Normalize non-controls\\n//\\n// Restyle and baseline non-control form elements.\\n\\nfieldset {\\n  padding: 0;\\n  margin: 0;\\n  border: 0;\\n}\\n\\nlegend {\\n  display: block;\\n  width: 100%;\\n  padding: 0;\\n  margin-bottom: @line-height-computed;\\n  font-size: (@font-size-base * 1.5);\\n  line-height: inherit;\\n  color: @legend-color;\\n  border: 0;\\n  border-bottom: 1px solid @legend-border-color;\\n}\\n\\nlabel {\\n  display: inline-block;\\n  margin-bottom: 5px;\\n  font-weight: bold;\\n}\\n\\n\\n// Normalize form controls\\n\\n// Override content-box in Normalize (* isn't specific enough)\\ninput[type=\\\"search\\\"] {\\n  .box-sizing(border-box);\\n}\\n\\n// Position radios and checkboxes better\\ninput[type=\\\"radio\\\"],\\ninput[type=\\\"checkbox\\\"] {\\n  margin: 4px 0 0;\\n  margin-top: 1px \\\\9; /* IE8-9 */\\n  line-height: normal;\\n}\\n\\n// Set the height of select and file controls to match text inputs\\ninput[type=\\\"file\\\"] {\\n  display: block;\\n}\\n\\n// Make multiple select elements height not fixed\\nselect[multiple],\\nselect[size] {\\n  height: auto;\\n}\\n\\n// Fix optgroup Firefox bug per https://github.com/twbs/bootstrap/issues/7611\\nselect optgroup {\\n  font-size: inherit;\\n  font-style: inherit;\\n  font-family: inherit;\\n}\\n\\n// Focus for select, file, radio, and checkbox\\ninput[type=\\\"file\\\"]:focus,\\ninput[type=\\\"radio\\\"]:focus,\\ninput[type=\\\"checkbox\\\"]:focus {\\n  .tab-focus();\\n}\\n\\n// Fix for Chrome number input\\n// Setting certain font-sizes causes the `I` bar to appear on hover of the bottom increment button.\\n// See https://github.com/twbs/bootstrap/issues/8350 for more.\\ninput[type=\\\"number\\\"] {\\n  &::-webkit-outer-spin-button,\\n  &::-webkit-inner-spin-button {\\n    height: auto;\\n  }\\n}\\n\\n// Adjust output element\\noutput {\\n  display: block;\\n  padding-top: (@padding-base-vertical + 1);\\n  font-size: @font-size-base;\\n  line-height: @line-height-base;\\n  color: @input-color;\\n  vertical-align: middle;\\n}\\n\\n\\n// Common form controls\\n//\\n// Shared size and type resets for form controls. Apply `.form-control` to any\\n// of the following form controls:\\n//\\n// select\\n// textarea\\n// input[type=\\\"text\\\"]\\n// input[type=\\\"password\\\"]\\n// input[type=\\\"datetime\\\"]\\n// input[type=\\\"datetime-local\\\"]\\n// input[type=\\\"date\\\"]\\n// input[type=\\\"month\\\"]\\n// input[type=\\\"time\\\"]\\n// input[type=\\\"week\\\"]\\n// input[type=\\\"number\\\"]\\n// input[type=\\\"email\\\"]\\n// input[type=\\\"url\\\"]\\n// input[type=\\\"search\\\"]\\n// input[type=\\\"tel\\\"]\\n// input[type=\\\"color\\\"]\\n\\n.form-control {\\n  display: block;\\n  width: 100%;\\n  height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)\\n  padding: @padding-base-vertical @padding-base-horizontal;\\n  font-size: @font-size-base;\\n  line-height: @line-height-base;\\n  color: @input-color;\\n  vertical-align: middle;\\n  background-color: @input-bg;\\n  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\\n  border: 1px solid @input-border;\\n  border-radius: @input-border-radius;\\n  .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));\\n  .transition(~\\\"border-color ease-in-out .15s, box-shadow ease-in-out .15s\\\");\\n\\n  // Customize the `:focus` state to imitate native WebKit styles.\\n  .form-control-focus();\\n\\n  // Placeholder\\n  //\\n  // Placeholder text gets special styles because when browsers invalidate entire\\n  // lines if it doesn't understand a selector/\\n  .placeholder();\\n\\n  // Disabled and read-only inputs\\n  // Note: HTML5 says that controls under a fieldset > legend:first-child won't\\n  // be disabled if the fieldset is disabled. Due to implementation difficulty,\\n  // we don't honor that edge case; we style them as disabled anyway.\\n  &[disabled],\\n  &[readonly],\\n  fieldset[disabled] & {\\n    cursor: not-allowed;\\n    background-color: @input-bg-disabled;\\n  }\\n\\n  // Reset height for `textarea`s\\n  textarea& {\\n    height: auto;\\n  }\\n}\\n\\n\\n// Form groups\\n//\\n// Designed to help with the organization and spacing of vertical forms. For\\n// horizontal forms, use the predefined grid classes.\\n\\n.form-group {\\n  margin-bottom: 15px;\\n}\\n\\n\\n// Checkboxes and radios\\n//\\n// Indent the labels to position radios/checkboxes as hanging controls.\\n\\n.radio,\\n.checkbox {\\n  display: block;\\n  min-height: @line-height-computed; // clear the floating input if there is no label text\\n  margin-top: 10px;\\n  margin-bottom: 10px;\\n  padding-left: 20px;\\n  vertical-align: middle;\\n  label {\\n    display: inline;\\n    margin-bottom: 0;\\n    font-weight: normal;\\n    cursor: pointer;\\n  }\\n}\\n.radio input[type=\\\"radio\\\"],\\n.radio-inline input[type=\\\"radio\\\"],\\n.checkbox input[type=\\\"checkbox\\\"],\\n.checkbox-inline input[type=\\\"checkbox\\\"] {\\n  float: left;\\n  margin-left: -20px;\\n}\\n.radio + .radio,\\n.checkbox + .checkbox {\\n  margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing\\n}\\n\\n// Radios and checkboxes on same line\\n.radio-inline,\\n.checkbox-inline {\\n  display: inline-block;\\n  padding-left: 20px;\\n  margin-bottom: 0;\\n  vertical-align: middle;\\n  font-weight: normal;\\n  cursor: pointer;\\n}\\n.radio-inline + .radio-inline,\\n.checkbox-inline + .checkbox-inline {\\n  margin-top: 0;\\n  margin-left: 10px; // space out consecutive inline controls\\n}\\n\\n// Apply same disabled cursor tweak as for inputs\\n//\\n// Note: Neither radios nor checkboxes can be readonly.\\ninput[type=\\\"radio\\\"],\\ninput[type=\\\"checkbox\\\"],\\n.radio,\\n.radio-inline,\\n.checkbox,\\n.checkbox-inline {\\n  &[disabled],\\n  fieldset[disabled] & {\\n    cursor: not-allowed;\\n  }\\n}\\n\\n// Form control sizing\\n.input-sm {\\n  .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\\n}\\n\\n.input-lg {\\n  .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\\n}\\n\\n\\n// Form control feedback states\\n//\\n// Apply contextual and semantic states to individual form controls.\\n\\n// Warning\\n.has-warning {\\n  .form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);\\n}\\n// Error\\n.has-error {\\n  .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);\\n}\\n// Success\\n.has-success {\\n  .form-control-validation(@state-success-text; @state-success-text; @state-success-bg);\\n}\\n\\n\\n// Static form control text\\n//\\n// Apply class to a `p` element to make any string of text align with labels in\\n// a horizontal form layout.\\n\\n.form-control-static {\\n  margin-bottom: 0; // Remove default margin from `p`\\n}\\n\\n\\n// Help text\\n//\\n// Apply to any element you wish to create light text for placement immediately\\n// below a form control. Use for general help, formatting, or instructional text.\\n\\n.help-block {\\n  display: block; // account for any element using help-block\\n  margin-top: 5px;\\n  margin-bottom: 10px;\\n  color: lighten(@text-color, 25%); // lighten the text some for contrast\\n}\\n\\n\\n\\n// Inline forms\\n//\\n// Make forms appear inline(-block) by adding the `.form-inline` class. Inline\\n// forms begin stacked on extra small (mobile) devices and then go inline when\\n// viewports reach <768px.\\n//\\n// Requires wrapping inputs and labels with `.form-group` for proper display of\\n// default HTML form controls and our custom form controls (e.g., input groups).\\n//\\n// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.\\n\\n.form-inline {\\n\\n  // Kick in the inline\\n  @media (min-width: @screen-sm) {\\n    // Inline-block all the things for \\\"inline\\\"\\n    .form-group  {\\n      display: inline-block;\\n      margin-bottom: 0;\\n      vertical-align: middle;\\n    }\\n\\n    // In navbar-form, allow folks to *not* use `.form-group`\\n    .form-control {\\n      display: inline-block;\\n    }\\n\\n    // Override `width: 100%;` when not within a `.form-group`\\n    select.form-control {\\n      width: auto;\\n    }\\n\\n    // Remove default margin on radios/checkboxes that were used for stacking, and\\n    // then undo the floating of radios and checkboxes to match (which also avoids\\n    // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).\\n    .radio,\\n    .checkbox {\\n      display: inline-block;\\n      margin-top: 0;\\n      margin-bottom: 0;\\n      padding-left: 0;\\n    }\\n    .radio input[type=\\\"radio\\\"],\\n    .checkbox input[type=\\\"checkbox\\\"] {\\n      float: none;\\n      margin-left: 0;\\n    }\\n  }\\n}\\n\\n\\n// Horizontal forms\\n//\\n// Horizontal forms are built on grid classes and allow you to create forms with\\n// labels on the left and inputs on the right.\\n\\n.form-horizontal {\\n\\n  // Consistent vertical alignment of labels, radios, and checkboxes\\n  .control-label,\\n  .radio,\\n  .checkbox,\\n  .radio-inline,\\n  .checkbox-inline {\\n    margin-top: 0;\\n    margin-bottom: 0;\\n    padding-top: (@padding-base-vertical + 1); // Default padding plus a border\\n  }\\n  // Account for padding we're adding to ensure the alignment and of help text\\n  // and other content below items\\n  .radio,\\n  .checkbox {\\n    min-height: @line-height-computed + (@padding-base-vertical + 1);\\n  }\\n\\n  // Make form groups behave like rows\\n  .form-group {\\n    .make-row();\\n  }\\n\\n  .form-control-static {\\n    padding-top: (@padding-base-vertical + 1);\\n  }\\n\\n  // Only right align form labels here when the columns stop stacking\\n  @media (min-width: @screen-sm-min) {\\n    .control-label {\\n      text-align: right;\\n    }\\n  }\\n}\\n\",\"glyphicons.less\":\"//\\n// Glyphicons for Bootstrap\\n//\\n// Since icons are fonts, they can be placed anywhere text is placed and are\\n// thus automatically sized to match the surrounding child. To use, create an\\n// inline element with the appropriate classes, like so:\\n//\\n// <a href=\\\"#\\\"><span class=\\\"glyphicon glyphicon-star\\\"></span> Star</a>\\n\\n// Import the fonts\\n@font-face {\\n  font-family: 'Glyphicons Halflings';\\n  src: ~\\\"url('@{icon-font-path}@{icon-font-name}.eot')\\\";\\n  src: ~\\\"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')\\\",\\n       ~\\\"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')\\\",\\n       ~\\\"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')\\\",\\n       ~\\\"url('@{icon-font-path}@{icon-font-name}.svg#glyphicons-halflingsregular') format('svg')\\\";\\n}\\n\\n// Catchall baseclass\\n.glyphicon {\\n  position: relative;\\n  top: 1px;\\n  display: inline-block;\\n  font-family: 'Glyphicons Halflings';\\n  font-style: normal;\\n  font-weight: normal;\\n  line-height: 1;\\n  -webkit-font-smoothing: antialiased;\\n  -moz-osx-font-smoothing: grayscale;\\n\\n  &:empty {\\n    width: 1em;\\n  }\\n}\\n\\n// Individual icons\\n.glyphicon-asterisk               { &:before { content: \\\"\\\\2a\\\"; } }\\n.glyphicon-plus                   { &:before { content: \\\"\\\\2b\\\"; } }\\n.glyphicon-euro                   { &:before { content: \\\"\\\\20ac\\\"; } }\\n.glyphicon-minus                  { &:before { content: \\\"\\\\2212\\\"; } }\\n.glyphicon-cloud                  { &:before { content: \\\"\\\\2601\\\"; } }\\n.glyphicon-envelope               { &:before { content: \\\"\\\\2709\\\"; } }\\n.glyphicon-pencil                 { &:before { content: \\\"\\\\270f\\\"; } }\\n.glyphicon-glass                  { &:before { content: \\\"\\\\e001\\\"; } }\\n.glyphicon-music                  { &:before { content: \\\"\\\\e002\\\"; } }\\n.glyphicon-search                 { &:before { content: \\\"\\\\e003\\\"; } }\\n.glyphicon-heart                  { &:before { content: \\\"\\\\e005\\\"; } }\\n.glyphicon-star                   { &:before { content: \\\"\\\\e006\\\"; } }\\n.glyphicon-star-empty             { &:before { content: \\\"\\\\e007\\\"; } }\\n.glyphicon-user                   { &:before { content: \\\"\\\\e008\\\"; } }\\n.glyphicon-film                   { &:before { content: \\\"\\\\e009\\\"; } }\\n.glyphicon-th-large               { &:before { content: \\\"\\\\e010\\\"; } }\\n.glyphicon-th                     { &:before { content: \\\"\\\\e011\\\"; } }\\n.glyphicon-th-list                { &:before { content: \\\"\\\\e012\\\"; } }\\n.glyphicon-ok                     { &:before { content: \\\"\\\\e013\\\"; } }\\n.glyphicon-remove                 { &:before { content: \\\"\\\\e014\\\"; } }\\n.glyphicon-zoom-in                { &:before { content: \\\"\\\\e015\\\"; } }\\n.glyphicon-zoom-out               { &:before { content: \\\"\\\\e016\\\"; } }\\n.glyphicon-off                    { &:before { content: \\\"\\\\e017\\\"; } }\\n.glyphicon-signal                 { &:before { content: \\\"\\\\e018\\\"; } }\\n.glyphicon-cog                    { &:before { content: \\\"\\\\e019\\\"; } }\\n.glyphicon-trash                  { &:before { content: \\\"\\\\e020\\\"; } }\\n.glyphicon-home                   { &:before { content: \\\"\\\\e021\\\"; } }\\n.glyphicon-file                   { &:before { content: \\\"\\\\e022\\\"; } }\\n.glyphicon-time                   { &:before { content: \\\"\\\\e023\\\"; } }\\n.glyphicon-road                   { &:before { content: \\\"\\\\e024\\\"; } }\\n.glyphicon-download-alt           { &:before { content: \\\"\\\\e025\\\"; } }\\n.glyphicon-download               { &:before { content: \\\"\\\\e026\\\"; } }\\n.glyphicon-upload                 { &:before { content: \\\"\\\\e027\\\"; } }\\n.glyphicon-inbox                  { &:before { content: \\\"\\\\e028\\\"; } }\\n.glyphicon-play-circle            { &:before { content: \\\"\\\\e029\\\"; } }\\n.glyphicon-repeat                 { &:before { content: \\\"\\\\e030\\\"; } }\\n.glyphicon-refresh                { &:before { content: \\\"\\\\e031\\\"; } }\\n.glyphicon-list-alt               { &:before { content: \\\"\\\\e032\\\"; } }\\n.glyphicon-lock                   { &:before { content: \\\"\\\\e033\\\"; } }\\n.glyphicon-flag                   { &:before { content: \\\"\\\\e034\\\"; } }\\n.glyphicon-headphones             { &:before { content: \\\"\\\\e035\\\"; } }\\n.glyphicon-volume-off             { &:before { content: \\\"\\\\e036\\\"; } }\\n.glyphicon-volume-down            { &:before { content: \\\"\\\\e037\\\"; } }\\n.glyphicon-volume-up              { &:before { content: \\\"\\\\e038\\\"; } }\\n.glyphicon-qrcode                 { &:before { content: \\\"\\\\e039\\\"; } }\\n.glyphicon-barcode                { &:before { content: \\\"\\\\e040\\\"; } }\\n.glyphicon-tag                    { &:before { content: \\\"\\\\e041\\\"; } }\\n.glyphicon-tags                   { &:before { content: \\\"\\\\e042\\\"; } }\\n.glyphicon-book                   { &:before { content: \\\"\\\\e043\\\"; } }\\n.glyphicon-bookmark               { &:before { content: \\\"\\\\e044\\\"; } }\\n.glyphicon-print                  { &:before { content: \\\"\\\\e045\\\"; } }\\n.glyphicon-camera                 { &:before { content: \\\"\\\\e046\\\"; } }\\n.glyphicon-font                   { &:before { content: \\\"\\\\e047\\\"; } }\\n.glyphicon-bold                   { &:before { content: \\\"\\\\e048\\\"; } }\\n.glyphicon-italic                 { &:before { content: \\\"\\\\e049\\\"; } }\\n.glyphicon-text-height            { &:before { content: \\\"\\\\e050\\\"; } }\\n.glyphicon-text-width             { &:before { content: \\\"\\\\e051\\\"; } }\\n.glyphicon-align-left             { &:before { content: \\\"\\\\e052\\\"; } }\\n.glyphicon-align-center           { &:before { content: \\\"\\\\e053\\\"; } }\\n.glyphicon-align-right            { &:before { content: \\\"\\\\e054\\\"; } }\\n.glyphicon-align-justify          { &:before { content: \\\"\\\\e055\\\"; } }\\n.glyphicon-list                   { &:before { content: \\\"\\\\e056\\\"; } }\\n.glyphicon-indent-left            { &:before { content: \\\"\\\\e057\\\"; } }\\n.glyphicon-indent-right           { &:before { content: \\\"\\\\e058\\\"; } }\\n.glyphicon-facetime-video         { &:before { content: \\\"\\\\e059\\\"; } }\\n.glyphicon-picture                { &:before { content: \\\"\\\\e060\\\"; } }\\n.glyphicon-map-marker             { &:before { content: \\\"\\\\e062\\\"; } }\\n.glyphicon-adjust                 { &:before { content: \\\"\\\\e063\\\"; } }\\n.glyphicon-tint                   { &:before { content: \\\"\\\\e064\\\"; } }\\n.glyphicon-edit                   { &:before { content: \\\"\\\\e065\\\"; } }\\n.glyphicon-share                  { &:before { content: \\\"\\\\e066\\\"; } }\\n.glyphicon-check                  { &:before { content: \\\"\\\\e067\\\"; } }\\n.glyphicon-move                   { &:before { content: \\\"\\\\e068\\\"; } }\\n.glyphicon-step-backward          { &:before { content: \\\"\\\\e069\\\"; } }\\n.glyphicon-fast-backward          { &:before { content: \\\"\\\\e070\\\"; } }\\n.glyphicon-backward               { &:before { content: \\\"\\\\e071\\\"; } }\\n.glyphicon-play                   { &:before { content: \\\"\\\\e072\\\"; } }\\n.glyphicon-pause                  { &:before { content: \\\"\\\\e073\\\"; } }\\n.glyphicon-stop                   { &:before { content: \\\"\\\\e074\\\"; } }\\n.glyphicon-forward                { &:before { content: \\\"\\\\e075\\\"; } }\\n.glyphicon-fast-forward           { &:before { content: \\\"\\\\e076\\\"; } }\\n.glyphicon-step-forward           { &:before { content: \\\"\\\\e077\\\"; } }\\n.glyphicon-eject                  { &:before { content: \\\"\\\\e078\\\"; } }\\n.glyphicon-chevron-left           { &:before { content: \\\"\\\\e079\\\"; } }\\n.glyphicon-chevron-right          { &:before { content: \\\"\\\\e080\\\"; } }\\n.glyphicon-plus-sign              { &:before { content: \\\"\\\\e081\\\"; } }\\n.glyphicon-minus-sign             { &:before { content: \\\"\\\\e082\\\"; } }\\n.glyphicon-remove-sign            { &:before { content: \\\"\\\\e083\\\"; } }\\n.glyphicon-ok-sign                { &:before { content: \\\"\\\\e084\\\"; } }\\n.glyphicon-question-sign          { &:before { content: \\\"\\\\e085\\\"; } }\\n.glyphicon-info-sign              { &:before { content: \\\"\\\\e086\\\"; } }\\n.glyphicon-screenshot             { &:before { content: \\\"\\\\e087\\\"; } }\\n.glyphicon-remove-circle          { &:before { content: \\\"\\\\e088\\\"; } }\\n.glyphicon-ok-circle              { &:before { content: \\\"\\\\e089\\\"; } }\\n.glyphicon-ban-circle             { &:before { content: \\\"\\\\e090\\\"; } }\\n.glyphicon-arrow-left             { &:before { content: \\\"\\\\e091\\\"; } }\\n.glyphicon-arrow-right            { &:before { content: \\\"\\\\e092\\\"; } }\\n.glyphicon-arrow-up               { &:before { content: \\\"\\\\e093\\\"; } }\\n.glyphicon-arrow-down             { &:before { content: \\\"\\\\e094\\\"; } }\\n.glyphicon-share-alt              { &:before { content: \\\"\\\\e095\\\"; } }\\n.glyphicon-resize-full            { &:before { content: \\\"\\\\e096\\\"; } }\\n.glyphicon-resize-small           { &:before { content: \\\"\\\\e097\\\"; } }\\n.glyphicon-exclamation-sign       { &:before { content: \\\"\\\\e101\\\"; } }\\n.glyphicon-gift                   { &:before { content: \\\"\\\\e102\\\"; } }\\n.glyphicon-leaf                   { &:before { content: \\\"\\\\e103\\\"; } }\\n.glyphicon-fire                   { &:before { content: \\\"\\\\e104\\\"; } }\\n.glyphicon-eye-open               { &:before { content: \\\"\\\\e105\\\"; } }\\n.glyphicon-eye-close              { &:before { content: \\\"\\\\e106\\\"; } }\\n.glyphicon-warning-sign           { &:before { content: \\\"\\\\e107\\\"; } }\\n.glyphicon-plane                  { &:before { content: \\\"\\\\e108\\\"; } }\\n.glyphicon-calendar               { &:before { content: \\\"\\\\e109\\\"; } }\\n.glyphicon-random                 { &:before { content: \\\"\\\\e110\\\"; } }\\n.glyphicon-comment                { &:before { content: \\\"\\\\e111\\\"; } }\\n.glyphicon-magnet                 { &:before { content: \\\"\\\\e112\\\"; } }\\n.glyphicon-chevron-up             { &:before { content: \\\"\\\\e113\\\"; } }\\n.glyphicon-chevron-down           { &:before { content: \\\"\\\\e114\\\"; } }\\n.glyphicon-retweet                { &:before { content: \\\"\\\\e115\\\"; } }\\n.glyphicon-shopping-cart          { &:before { content: \\\"\\\\e116\\\"; } }\\n.glyphicon-folder-close           { &:before { content: \\\"\\\\e117\\\"; } }\\n.glyphicon-folder-open            { &:before { content: \\\"\\\\e118\\\"; } }\\n.glyphicon-resize-vertical        { &:before { content: \\\"\\\\e119\\\"; } }\\n.glyphicon-resize-horizontal      { &:before { content: \\\"\\\\e120\\\"; } }\\n.glyphicon-hdd                    { &:before { content: \\\"\\\\e121\\\"; } }\\n.glyphicon-bullhorn               { &:before { content: \\\"\\\\e122\\\"; } }\\n.glyphicon-bell                   { &:before { content: \\\"\\\\e123\\\"; } }\\n.glyphicon-certificate            { &:before { content: \\\"\\\\e124\\\"; } }\\n.glyphicon-thumbs-up              { &:before { content: \\\"\\\\e125\\\"; } }\\n.glyphicon-thumbs-down            { &:before { content: \\\"\\\\e126\\\"; } }\\n.glyphicon-hand-right             { &:before { content: \\\"\\\\e127\\\"; } }\\n.glyphicon-hand-left              { &:before { content: \\\"\\\\e128\\\"; } }\\n.glyphicon-hand-up                { &:before { content: \\\"\\\\e129\\\"; } }\\n.glyphicon-hand-down              { &:before { content: \\\"\\\\e130\\\"; } }\\n.glyphicon-circle-arrow-right     { &:before { content: \\\"\\\\e131\\\"; } }\\n.glyphicon-circle-arrow-left      { &:before { content: \\\"\\\\e132\\\"; } }\\n.glyphicon-circle-arrow-up        { &:before { content: \\\"\\\\e133\\\"; } }\\n.glyphicon-circle-arrow-down      { &:before { content: \\\"\\\\e134\\\"; } }\\n.glyphicon-globe                  { &:before { content: \\\"\\\\e135\\\"; } }\\n.glyphicon-wrench                 { &:before { content: \\\"\\\\e136\\\"; } }\\n.glyphicon-tasks                  { &:before { content: \\\"\\\\e137\\\"; } }\\n.glyphicon-filter                 { &:before { content: \\\"\\\\e138\\\"; } }\\n.glyphicon-briefcase              { &:before { content: \\\"\\\\e139\\\"; } }\\n.glyphicon-fullscreen             { &:before { content: \\\"\\\\e140\\\"; } }\\n.glyphicon-dashboard              { &:before { content: \\\"\\\\e141\\\"; } }\\n.glyphicon-paperclip              { &:before { content: \\\"\\\\e142\\\"; } }\\n.glyphicon-heart-empty            { &:before { content: \\\"\\\\e143\\\"; } }\\n.glyphicon-link                   { &:before { content: \\\"\\\\e144\\\"; } }\\n.glyphicon-phone                  { &:before { content: \\\"\\\\e145\\\"; } }\\n.glyphicon-pushpin                { &:before { content: \\\"\\\\e146\\\"; } }\\n.glyphicon-usd                    { &:before { content: \\\"\\\\e148\\\"; } }\\n.glyphicon-gbp                    { &:before { content: \\\"\\\\e149\\\"; } }\\n.glyphicon-sort                   { &:before { content: \\\"\\\\e150\\\"; } }\\n.glyphicon-sort-by-alphabet       { &:before { content: \\\"\\\\e151\\\"; } }\\n.glyphicon-sort-by-alphabet-alt   { &:before { content: \\\"\\\\e152\\\"; } }\\n.glyphicon-sort-by-order          { &:before { content: \\\"\\\\e153\\\"; } }\\n.glyphicon-sort-by-order-alt      { &:before { content: \\\"\\\\e154\\\"; } }\\n.glyphicon-sort-by-attributes     { &:before { content: \\\"\\\\e155\\\"; } }\\n.glyphicon-sort-by-attributes-alt { &:before { content: \\\"\\\\e156\\\"; } }\\n.glyphicon-unchecked              { &:before { content: \\\"\\\\e157\\\"; } }\\n.glyphicon-expand                 { &:before { content: \\\"\\\\e158\\\"; } }\\n.glyphicon-collapse-down          { &:before { content: \\\"\\\\e159\\\"; } }\\n.glyphicon-collapse-up            { &:before { content: \\\"\\\\e160\\\"; } }\\n.glyphicon-log-in                 { &:before { content: \\\"\\\\e161\\\"; } }\\n.glyphicon-flash                  { &:before { content: \\\"\\\\e162\\\"; } }\\n.glyphicon-log-out                { &:before { content: \\\"\\\\e163\\\"; } }\\n.glyphicon-new-window             { &:before { content: \\\"\\\\e164\\\"; } }\\n.glyphicon-record                 { &:before { content: \\\"\\\\e165\\\"; } }\\n.glyphicon-save                   { &:before { content: \\\"\\\\e166\\\"; } }\\n.glyphicon-open                   { &:before { content: \\\"\\\\e167\\\"; } }\\n.glyphicon-saved                  { &:before { content: \\\"\\\\e168\\\"; } }\\n.glyphicon-import                 { &:before { content: \\\"\\\\e169\\\"; } }\\n.glyphicon-export                 { &:before { content: \\\"\\\\e170\\\"; } }\\n.glyphicon-send                   { &:before { content: \\\"\\\\e171\\\"; } }\\n.glyphicon-floppy-disk            { &:before { content: \\\"\\\\e172\\\"; } }\\n.glyphicon-floppy-saved           { &:before { content: \\\"\\\\e173\\\"; } }\\n.glyphicon-floppy-remove          { &:before { content: \\\"\\\\e174\\\"; } }\\n.glyphicon-floppy-save            { &:before { content: \\\"\\\\e175\\\"; } }\\n.glyphicon-floppy-open            { &:before { content: \\\"\\\\e176\\\"; } }\\n.glyphicon-credit-card            { &:before { content: \\\"\\\\e177\\\"; } }\\n.glyphicon-transfer               { &:before { content: \\\"\\\\e178\\\"; } }\\n.glyphicon-cutlery                { &:before { content: \\\"\\\\e179\\\"; } }\\n.glyphicon-header                 { &:before { content: \\\"\\\\e180\\\"; } }\\n.glyphicon-compressed             { &:before { content: \\\"\\\\e181\\\"; } }\\n.glyphicon-earphone               { &:before { content: \\\"\\\\e182\\\"; } }\\n.glyphicon-phone-alt              { &:before { content: \\\"\\\\e183\\\"; } }\\n.glyphicon-tower                  { &:before { content: \\\"\\\\e184\\\"; } }\\n.glyphicon-stats                  { &:before { content: \\\"\\\\e185\\\"; } }\\n.glyphicon-sd-video               { &:before { content: \\\"\\\\e186\\\"; } }\\n.glyphicon-hd-video               { &:before { content: \\\"\\\\e187\\\"; } }\\n.glyphicon-subtitles              { &:before { content: \\\"\\\\e188\\\"; } }\\n.glyphicon-sound-stereo           { &:before { content: \\\"\\\\e189\\\"; } }\\n.glyphicon-sound-dolby            { &:before { content: \\\"\\\\e190\\\"; } }\\n.glyphicon-sound-5-1              { &:before { content: \\\"\\\\e191\\\"; } }\\n.glyphicon-sound-6-1              { &:before { content: \\\"\\\\e192\\\"; } }\\n.glyphicon-sound-7-1              { &:before { content: \\\"\\\\e193\\\"; } }\\n.glyphicon-copyright-mark         { &:before { content: \\\"\\\\e194\\\"; } }\\n.glyphicon-registration-mark      { &:before { content: \\\"\\\\e195\\\"; } }\\n.glyphicon-cloud-download         { &:before { content: \\\"\\\\e197\\\"; } }\\n.glyphicon-cloud-upload           { &:before { content: \\\"\\\\e198\\\"; } }\\n.glyphicon-tree-conifer           { &:before { content: \\\"\\\\e199\\\"; } }\\n.glyphicon-tree-deciduous         { &:before { content: \\\"\\\\e200\\\"; } }\\n\",\"grid.less\":\"//\\n// Grid system\\n// --------------------------------------------------\\n\\n// Set the container width, and override it for fixed navbars in media queries\\n.container {\\n  .container-fixed();\\n\\n  @media (min-width: @screen-sm) {\\n    width: @container-sm;\\n  }\\n  @media (min-width: @screen-md) {\\n    width: @container-md;\\n  }\\n  @media (min-width: @screen-lg-min) {\\n    width: @container-lg;\\n  }\\n}\\n\\n// mobile first defaults\\n.row {\\n  .make-row();\\n}\\n\\n// Common styles for small and large grid columns\\n.make-grid-columns();\\n\\n\\n// Extra small grid\\n//\\n// Columns, offsets, pushes, and pulls for extra small devices like\\n// smartphones.\\n\\n.make-grid-columns-float(xs);\\n.make-grid(@grid-columns, xs, width);\\n.make-grid(@grid-columns, xs, pull);\\n.make-grid(@grid-columns, xs, push);\\n.make-grid(@grid-columns, xs, offset);\\n\\n\\n// Small grid\\n//\\n// Columns, offsets, pushes, and pulls for the small device range, from phones\\n// to tablets.\\n\\n@media (min-width: @screen-sm-min) {\\n  .make-grid-columns-float(sm);\\n  .make-grid(@grid-columns, sm, width);\\n  .make-grid(@grid-columns, sm, pull);\\n  .make-grid(@grid-columns, sm, push);\\n  .make-grid(@grid-columns, sm, offset);\\n}\\n\\n\\n// Medium grid\\n//\\n// Columns, offsets, pushes, and pulls for the desktop device range.\\n\\n@media (min-width: @screen-md-min) {\\n  .make-grid-columns-float(md);\\n  .make-grid(@grid-columns, md, width);\\n  .make-grid(@grid-columns, md, pull);\\n  .make-grid(@grid-columns, md, push);\\n  .make-grid(@grid-columns, md, offset);\\n}\\n\\n\\n// Large grid\\n//\\n// Columns, offsets, pushes, and pulls for the large desktop device range.\\n\\n@media (min-width: @screen-lg-min) {\\n  .make-grid-columns-float(lg);\\n  .make-grid(@grid-columns, lg, width);\\n  .make-grid(@grid-columns, lg, pull);\\n  .make-grid(@grid-columns, lg, push);\\n  .make-grid(@grid-columns, lg, offset);\\n}\\n\\n\",\"input-groups.less\":\"//\\n// Input groups\\n// --------------------------------------------------\\n\\n// Base styles\\n// -------------------------\\n.input-group {\\n  position: relative; // For dropdowns\\n  display: table;\\n  border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table\\n\\n  // Undo padding and float of grid classes\\n  &[class*=\\\"col-\\\"] {\\n    float: none;\\n    padding-left: 0;\\n    padding-right: 0;\\n  }\\n\\n  .form-control {\\n    width: 100%;\\n    margin-bottom: 0;\\n  }\\n}\\n\\n// Sizing options\\n//\\n// Remix the default form control sizing classes into new ones for easier\\n// manipulation.\\n\\n.input-group-lg > .form-control,\\n.input-group-lg > .input-group-addon,\\n.input-group-lg > .input-group-btn > .btn { .input-lg(); }\\n.input-group-sm > .form-control,\\n.input-group-sm > .input-group-addon,\\n.input-group-sm > .input-group-btn > .btn { .input-sm(); }\\n\\n\\n// Display as table-cell\\n// -------------------------\\n.input-group-addon,\\n.input-group-btn,\\n.input-group .form-control {\\n  display: table-cell;\\n\\n  &:not(:first-child):not(:last-child) {\\n    border-radius: 0;\\n  }\\n}\\n// Addon and addon wrapper for buttons\\n.input-group-addon,\\n.input-group-btn {\\n  width: 1%;\\n  white-space: nowrap;\\n  vertical-align: middle; // Match the inputs\\n}\\n\\n// Text input groups\\n// -------------------------\\n.input-group-addon {\\n  padding: @padding-base-vertical @padding-base-horizontal;\\n  font-size: @font-size-base;\\n  font-weight: normal;\\n  line-height: 1;\\n  color: @input-color;\\n  text-align: center;\\n  background-color: @input-group-addon-bg;\\n  border: 1px solid @input-group-addon-border-color;\\n  border-radius: @border-radius-base;\\n\\n  // Sizing\\n  &.input-sm {\\n    padding: @padding-small-vertical @padding-small-horizontal;\\n    font-size: @font-size-small;\\n    border-radius: @border-radius-small;\\n  }\\n  &.input-lg {\\n    padding: @padding-large-vertical @padding-large-horizontal;\\n    font-size: @font-size-large;\\n    border-radius: @border-radius-large;\\n  }\\n\\n  // Nuke default margins from checkboxes and radios to vertically center within.\\n  input[type=\\\"radio\\\"],\\n  input[type=\\\"checkbox\\\"] {\\n    margin-top: 0;\\n  }\\n}\\n\\n// Reset rounded corners\\n.input-group .form-control:first-child,\\n.input-group-addon:first-child,\\n.input-group-btn:first-child > .btn,\\n.input-group-btn:first-child > .dropdown-toggle,\\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {\\n  .border-right-radius(0);\\n}\\n.input-group-addon:first-child {\\n  border-right: 0;\\n}\\n.input-group .form-control:last-child,\\n.input-group-addon:last-child,\\n.input-group-btn:last-child > .btn,\\n.input-group-btn:last-child > .dropdown-toggle,\\n.input-group-btn:first-child > .btn:not(:first-child) {\\n  .border-left-radius(0);\\n}\\n.input-group-addon:last-child {\\n  border-left: 0;\\n}\\n\\n// Button input groups\\n// -------------------------\\n.input-group-btn {\\n  position: relative;\\n  white-space: nowrap;\\n\\n  // Negative margin to only have a 1px border between the two\\n  &:first-child > .btn {\\n    margin-right: -1px;\\n  }\\n  &:last-child > .btn {\\n    margin-left: -1px;\\n  }\\n}\\n.input-group-btn > .btn {\\n  position: relative;\\n  // Jankily prevent input button groups from wrapping\\n  + .btn {\\n    margin-left: -4px;\\n  }\\n  // Bring the \\\"active\\\" button to the front\\n  &:hover,\\n  &:active {\\n    z-index: 2;\\n  }\\n}\\n\",\"jumbotron.less\":\"//\\n// Jumbotron\\n// --------------------------------------------------\\n\\n\\n.jumbotron {\\n  padding: @jumbotron-padding;\\n  margin-bottom: @jumbotron-padding;\\n  font-size: @jumbotron-font-size;\\n  font-weight: 200;\\n  line-height: (@line-height-base * 1.5);\\n  color: @jumbotron-color;\\n  background-color: @jumbotron-bg;\\n\\n  h1,\\n  .h1 {\\n    line-height: 1;\\n    color: @jumbotron-heading-color;\\n  }\\n  p {\\n    line-height: 1.4;\\n  }\\n\\n  .container & {\\n    border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container\\n  }\\n\\n  .container {\\n    max-width: 100%;\\n  }\\n\\n  @media screen and (min-width: @screen-sm-min) {\\n    padding-top:    (@jumbotron-padding * 1.6);\\n    padding-bottom: (@jumbotron-padding * 1.6);\\n\\n    .container & {\\n      padding-left:  (@jumbotron-padding * 2);\\n      padding-right: (@jumbotron-padding * 2);\\n    }\\n\\n    h1,\\n    .h1 {\\n      font-size: (@font-size-base * 4.5);\\n    }\\n  }\\n}\\n\",\"labels.less\":\"//\\n// Labels\\n// --------------------------------------------------\\n\\n.label {\\n  display: inline;\\n  padding: .2em .6em .3em;\\n  font-size: 75%;\\n  font-weight: bold;\\n  line-height: 1;\\n  color: @label-color;\\n  text-align: center;\\n  white-space: nowrap;\\n  vertical-align: baseline;\\n  border-radius: .25em;\\n\\n  // Add hover effects, but only for links\\n  &[href] {\\n    &:hover,\\n    &:focus {\\n      color: @label-link-hover-color;\\n      text-decoration: none;\\n      cursor: pointer;\\n    }\\n  }\\n\\n  // Empty labels collapse automatically (not available in IE8)\\n  &:empty {\\n    display: none;\\n  }\\n\\n  // Quick fix for labels in buttons\\n  .btn & {\\n    position: relative;\\n    top: -1px;\\n  }\\n}\\n\\n// Colors\\n// Contextual variations (linked labels get darker on :hover)\\n\\n.label-default {\\n  .label-variant(@label-default-bg);\\n}\\n\\n.label-primary {\\n  .label-variant(@label-primary-bg);\\n}\\n\\n.label-success {\\n  .label-variant(@label-success-bg);\\n}\\n\\n.label-info {\\n  .label-variant(@label-info-bg);\\n}\\n\\n.label-warning {\\n  .label-variant(@label-warning-bg);\\n}\\n\\n.label-danger {\\n  .label-variant(@label-danger-bg);\\n}\\n\",\"list-group.less\":\"//\\n// List groups\\n// --------------------------------------------------\\n\\n// Base class\\n//\\n// Easily usable on <ul>, <ol>, or <div>.\\n.list-group {\\n  // No need to set list-style: none; since .list-group-item is block level\\n  margin-bottom: 20px;\\n  padding-left: 0; // reset padding because ul and ol\\n}\\n\\n// Individual list items\\n// -------------------------\\n\\n.list-group-item {\\n  position: relative;\\n  display: block;\\n  padding: 10px 15px;\\n  // Place the border on the list items and negative margin up for better styling\\n  margin-bottom: -1px;\\n  background-color: @list-group-bg;\\n  border: 1px solid @list-group-border;\\n\\n  // Round the first and last items\\n  &:first-child {\\n    .border-top-radius(@list-group-border-radius);\\n  }\\n  &:last-child {\\n    margin-bottom: 0;\\n    .border-bottom-radius(@list-group-border-radius);\\n  }\\n\\n  // Align badges within list items\\n  > .badge {\\n    float: right;\\n  }\\n  > .badge + .badge {\\n    margin-right: 5px;\\n  }\\n}\\n\\n// Linked list items\\na.list-group-item {\\n  color: @list-group-link-color;\\n\\n  .list-group-item-heading {\\n    color: @list-group-link-heading-color;\\n  }\\n\\n  // Hover state\\n  &:hover,\\n  &:focus {\\n    text-decoration: none;\\n    background-color: @list-group-hover-bg;\\n  }\\n\\n  // Active class on item itself, not parent\\n  &.active,\\n  &.active:hover,\\n  &.active:focus {\\n    z-index: 2; // Place active items above their siblings for proper border styling\\n    color: @list-group-active-color;\\n    background-color: @list-group-active-bg;\\n    border-color: @list-group-active-border;\\n\\n    // Force color to inherit for custom content\\n    .list-group-item-heading {\\n      color: inherit;\\n    }\\n    .list-group-item-text {\\n      color: lighten(@list-group-active-bg, 40%);\\n    }\\n  }\\n}\\n\\n// Custom content options\\n// -------------------------\\n\\n.list-group-item-heading {\\n  margin-top: 0;\\n  margin-bottom: 5px;\\n}\\n.list-group-item-text {\\n  margin-bottom: 0;\\n  line-height: 1.3;\\n}\\n\",\"media.less\":\"// Media objects\\n// Source: http://stubbornella.org/content/?p=497\\n// --------------------------------------------------\\n\\n\\n// Common styles\\n// -------------------------\\n\\n// Clear the floats\\n.media,\\n.media-body {\\n  overflow: hidden;\\n  zoom: 1;\\n}\\n\\n// Proper spacing between instances of .media\\n.media,\\n.media .media {\\n  margin-top: 15px;\\n}\\n.media:first-child {\\n  margin-top: 0;\\n}\\n\\n// For images and videos, set to block\\n.media-object {\\n  display: block;\\n}\\n\\n// Reset margins on headings for tighter default spacing\\n.media-heading {\\n  margin: 0 0 5px;\\n}\\n\\n\\n// Media image alignment\\n// -------------------------\\n\\n.media {\\n  > .pull-left {\\n    margin-right: 10px;\\n  }\\n  > .pull-right {\\n    margin-left: 10px;\\n  }\\n}\\n\\n\\n// Media list variation\\n// -------------------------\\n\\n// Undo default ul/ol styles\\n.media-list {\\n  padding-left: 0;\\n  list-style: none;\\n}\\n\",\"mixins.less\":\"//\\n// Mixins\\n// --------------------------------------------------\\n\\n\\n// Utilities\\n// -------------------------\\n\\n// Clearfix\\n// Source: http://nicolasgallagher.com/micro-clearfix-hack/\\n//\\n// For modern browsers\\n// 1. The space content is one way to avoid an Opera bug when the\\n//    contenteditable attribute is included anywhere else in the document.\\n//    Otherwise it causes space to appear at the top and bottom of elements\\n//    that are clearfixed.\\n// 2. The use of `table` rather than `block` is only necessary if using\\n//    `:before` to contain the top-margins of child elements.\\n.clearfix() {\\n  &:before,\\n  &:after {\\n    content: \\\" \\\"; // 1\\n    display: table; // 2\\n  }\\n  &:after {\\n    clear: both;\\n  }\\n}\\n\\n// WebKit-style focus\\n.tab-focus() {\\n  // Default\\n  outline: thin dotted;\\n  // WebKit\\n  outline: 5px auto -webkit-focus-ring-color;\\n  outline-offset: -2px;\\n}\\n\\n// Center-align a block level element\\n.center-block() {\\n  display: block;\\n  margin-left: auto;\\n  margin-right: auto;\\n}\\n\\n// Sizing shortcuts\\n.size(@width; @height) {\\n  width: @width;\\n  height: @height;\\n}\\n.square(@size) {\\n  .size(@size; @size);\\n}\\n\\n// Placeholder text\\n.placeholder(@color: @input-color-placeholder) {\\n  &:-moz-placeholder            { color: @color; } // Firefox 4-18\\n  &::-moz-placeholder           { color: @color;   // Firefox 19+\\n                                  opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526\\n  &:-ms-input-placeholder       { color: @color; } // Internet Explorer 10+\\n  &::-webkit-input-placeholder  { color: @color; } // Safari and Chrome\\n}\\n\\n// Text overflow\\n// Requires inline-block or block for proper styling\\n.text-overflow() {\\n  overflow: hidden;\\n  text-overflow: ellipsis;\\n  white-space: nowrap;\\n}\\n\\n// CSS image replacement\\n//\\n// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for\\n// mixins being reused as classes with the same name, this doesn't hold up. As\\n// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. Note\\n// that we cannot chain the mixins together in Less, so they are repeated.\\n//\\n// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757\\n\\n// Deprecated as of v3.0.1 (will be removed in v4)\\n.hide-text() {\\n  font: ~\\\"0/0\\\" a;\\n  color: transparent;\\n  text-shadow: none;\\n  background-color: transparent;\\n  border: 0;\\n}\\n// New mixin to use as of v3.0.1\\n.text-hide() {\\n  .hide-text();\\n}\\n\\n\\n\\n// CSS3 PROPERTIES\\n// --------------------------------------------------\\n\\n// Single side border-radius\\n.border-top-radius(@radius) {\\n  border-top-right-radius: @radius;\\n   border-top-left-radius: @radius;\\n}\\n.border-right-radius(@radius) {\\n  border-bottom-right-radius: @radius;\\n     border-top-right-radius: @radius;\\n}\\n.border-bottom-radius(@radius) {\\n  border-bottom-right-radius: @radius;\\n   border-bottom-left-radius: @radius;\\n}\\n.border-left-radius(@radius) {\\n  border-bottom-left-radius: @radius;\\n     border-top-left-radius: @radius;\\n}\\n\\n// Drop shadows\\n.box-shadow(@shadow) {\\n  -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\\n          box-shadow: @shadow;\\n}\\n\\n// Transitions\\n.transition(@transition) {\\n  -webkit-transition: @transition;\\n          transition: @transition;\\n}\\n.transition-property(@transition-property) {\\n  -webkit-transition-property: @transition-property;\\n          transition-property: @transition-property;\\n}\\n.transition-delay(@transition-delay) {\\n  -webkit-transition-delay: @transition-delay;\\n          transition-delay: @transition-delay;\\n}\\n.transition-duration(@transition-duration) {\\n  -webkit-transition-duration: @transition-duration;\\n          transition-duration: @transition-duration;\\n}\\n.transition-transform(@transition) {\\n  -webkit-transition: -webkit-transform @transition;\\n     -moz-transition: -moz-transform @transition;\\n       -o-transition: -o-transform @transition;\\n          transition: transform @transition;\\n}\\n\\n// Transformations\\n.rotate(@degrees) {\\n  -webkit-transform: rotate(@degrees);\\n      -ms-transform: rotate(@degrees); // IE9+\\n          transform: rotate(@degrees);\\n}\\n.scale(@ratio) {\\n  -webkit-transform: scale(@ratio);\\n      -ms-transform: scale(@ratio); // IE9+\\n          transform: scale(@ratio);\\n}\\n.translate(@x; @y) {\\n  -webkit-transform: translate(@x, @y);\\n      -ms-transform: translate(@x, @y); // IE9+\\n          transform: translate(@x, @y);\\n}\\n.skew(@x; @y) {\\n  -webkit-transform: skew(@x, @y);\\n      -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\\n          transform: skew(@x, @y);\\n}\\n.translate3d(@x; @y; @z) {\\n  -webkit-transform: translate3d(@x, @y, @z);\\n          transform: translate3d(@x, @y, @z);\\n}\\n\\n.rotateX(@degrees) {\\n  -webkit-transform: rotateX(@degrees);\\n      -ms-transform: rotateX(@degrees); // IE9+\\n          transform: rotateX(@degrees);\\n}\\n.rotateY(@degrees) {\\n  -webkit-transform: rotateY(@degrees);\\n      -ms-transform: rotateY(@degrees); // IE9+\\n          transform: rotateY(@degrees);\\n}\\n.perspective(@perspective) {\\n  -webkit-perspective: @perspective;\\n     -moz-perspective: @perspective;\\n          perspective: @perspective;\\n}\\n.perspective-origin(@perspective) {\\n  -webkit-perspective-origin: @perspective;\\n     -moz-perspective-origin: @perspective;\\n          perspective-origin: @perspective;\\n}\\n.transform-origin(@origin) {\\n  -webkit-transform-origin: @origin;\\n     -moz-transform-origin: @origin;\\n          transform-origin: @origin;\\n}\\n\\n// Animations\\n.animation(@animation) {\\n  -webkit-animation: @animation;\\n          animation: @animation;\\n}\\n\\n// Backface visibility\\n// Prevent browsers from flickering when using CSS 3D transforms.\\n// Default value is `visible`, but can be changed to `hidden`\\n.backface-visibility(@visibility){\\n  -webkit-backface-visibility: @visibility;\\n     -moz-backface-visibility: @visibility;\\n          backface-visibility: @visibility;\\n}\\n\\n// Box sizing\\n.box-sizing(@boxmodel) {\\n  -webkit-box-sizing: @boxmodel;\\n     -moz-box-sizing: @boxmodel;\\n          box-sizing: @boxmodel;\\n}\\n\\n// User select\\n// For selecting text on the page\\n.user-select(@select) {\\n  -webkit-user-select: @select;\\n     -moz-user-select: @select;\\n      -ms-user-select: @select; // IE10+\\n       -o-user-select: @select;\\n          user-select: @select;\\n}\\n\\n// Resize anything\\n.resizable(@direction) {\\n  resize: @direction; // Options: horizontal, vertical, both\\n  overflow: auto; // Safari fix\\n}\\n\\n// CSS3 Content Columns\\n.content-columns(@column-count; @column-gap: @grid-gutter-width) {\\n  -webkit-column-count: @column-count;\\n     -moz-column-count: @column-count;\\n          column-count: @column-count;\\n  -webkit-column-gap: @column-gap;\\n     -moz-column-gap: @column-gap;\\n          column-gap: @column-gap;\\n}\\n\\n// Optional hyphenation\\n.hyphens(@mode: auto) {\\n  word-wrap: break-word;\\n  -webkit-hyphens: @mode;\\n     -moz-hyphens: @mode;\\n      -ms-hyphens: @mode; // IE10+\\n       -o-hyphens: @mode;\\n          hyphens: @mode;\\n}\\n\\n// Opacity\\n.opacity(@opacity) {\\n  opacity: @opacity;\\n  // IE8 filter\\n  @opacity-ie: (@opacity * 100);\\n  filter: ~\\\"alpha(opacity=@{opacity-ie})\\\";\\n}\\n\\n\\n\\n// GRADIENTS\\n// --------------------------------------------------\\n\\n#gradient {\\n\\n  // Horizontal gradient, from left to right\\n  //\\n  // Creates two color stops, start and end, by specifying a color and position for each color stop.\\n  // Color stops are not available in IE9 and below.\\n  .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\\n    background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1-6, Chrome 10+\\n    background-image:  linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\\n    background-repeat: repeat-x;\\n    filter: e(%(\\\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\\\",argb(@start-color),argb(@end-color))); // IE9 and down\\n  }\\n\\n  // Vertical gradient, from top to bottom\\n  //\\n  // Creates two color stops, start and end, by specifying a color and position for each color stop.\\n  // Color stops are not available in IE9 and below.\\n  .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\\n    background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent);  // Safari 5.1-6, Chrome 10+\\n    background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\\n    background-repeat: repeat-x;\\n    filter: e(%(\\\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\\\",argb(@start-color),argb(@end-color))); // IE9 and down\\n  }\\n\\n  .directional(@start-color: #555; @end-color: #333; @deg: 45deg) {\\n    background-repeat: repeat-x;\\n    background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+\\n    background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\\n  }\\n  .horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\\n    background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\\n    background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);\\n    background-repeat: no-repeat;\\n    filter: e(%(\\\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\\\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\\n  }\\n  .vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\\n    background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\\n    background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);\\n    background-repeat: no-repeat;\\n    filter: e(%(\\\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\\\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\\n  }\\n  .radial(@inner-color: #555; @outer-color: #333) {\\n    background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);\\n    background-image: radial-gradient(circle, @inner-color, @outer-color);\\n    background-repeat: no-repeat;\\n  }\\n  .striped(@color: rgba(255,255,255,.15); @angle: 45deg) {\\n    background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\\n    background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\\n  }\\n}\\n\\n// Reset filters for IE\\n//\\n// When you need to remove a gradient background, do not forget to use this to reset\\n// the IE filter for IE9 and below.\\n.reset-filter() {\\n  filter: e(%(\\\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\\\"));\\n}\\n\\n\\n\\n// Retina images\\n//\\n// Short retina mixin for setting background-image and -size\\n\\n.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {\\n  background-image: url(\\\"@{file-1x}\\\");\\n\\n  @media\\n  only screen and (-webkit-min-device-pixel-ratio: 2),\\n  only screen and (   min--moz-device-pixel-ratio: 2),\\n  only screen and (     -o-min-device-pixel-ratio: 2/1),\\n  only screen and (        min-device-pixel-ratio: 2),\\n  only screen and (                min-resolution: 192dpi),\\n  only screen and (                min-resolution: 2dppx) {\\n    background-image: url(\\\"@{file-2x}\\\");\\n    background-size: @width-1x @height-1x;\\n  }\\n}\\n\\n\\n// Responsive image\\n//\\n// Keep images from scaling beyond the width of their parents.\\n\\n.img-responsive(@display: block;) {\\n  display: @display;\\n  max-width: 100%; // Part 1: Set a maximum relative to the parent\\n  height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching\\n}\\n\\n\\n// COMPONENT MIXINS\\n// --------------------------------------------------\\n\\n// Horizontal dividers\\n// -------------------------\\n// Dividers (basically an hr) within dropdowns and nav lists\\n.nav-divider(@color: #e5e5e5) {\\n  height: 1px;\\n  margin: ((@line-height-computed / 2) - 1) 0;\\n  overflow: hidden;\\n  background-color: @color;\\n}\\n\\n// Panels\\n// -------------------------\\n.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {\\n  border-color: @border;\\n\\n  & > .panel-heading {\\n    color: @heading-text-color;\\n    background-color: @heading-bg-color;\\n    border-color: @heading-border;\\n\\n    + .panel-collapse .panel-body {\\n      border-top-color: @border;\\n    }\\n  }\\n  & > .panel-footer {\\n    + .panel-collapse .panel-body {\\n      border-bottom-color: @border;\\n    }\\n  }\\n}\\n\\n// Alerts\\n// -------------------------\\n.alert-variant(@background; @border; @text-color) {\\n  background-color: @background;\\n  border-color: @border;\\n  color: @text-color;\\n\\n  hr {\\n    border-top-color: darken(@border, 5%);\\n  }\\n  .alert-link {\\n    color: darken(@text-color, 10%);\\n  }\\n}\\n\\n// Tables\\n// -------------------------\\n.table-row-variant(@state; @background) {\\n  // Exact selectors below required to override `.table-striped` and prevent\\n  // inheritance to nested tables.\\n  .table {\\n    > thead,\\n    > tbody,\\n    > tfoot {\\n      > tr > .@{state},\\n      > .@{state} > td,\\n      > .@{state} > th {\\n        background-color: @background;\\n      }\\n    }\\n  }\\n\\n  // Hover states for `.table-hover`\\n  // Note: this is not available for cells or rows within `thead` or `tfoot`.\\n  .table-hover > tbody {\\n    > tr > .@{state}:hover,\\n    > .@{state}:hover > td,\\n    > .@{state}:hover > th {\\n      background-color: darken(@background, 5%);\\n    }\\n  }\\n}\\n\\n// Button variants\\n// -------------------------\\n// Easily pump out default styles, as well as :hover, :focus, :active,\\n// and disabled options for all buttons\\n.button-variant(@color; @background; @border) {\\n  color: @color;\\n  background-color: @background;\\n  border-color: @border;\\n\\n  &:hover,\\n  &:focus,\\n  &:active,\\n  &.active,\\n  .open .dropdown-toggle& {\\n    color: @color;\\n    background-color: darken(@background, 8%);\\n        border-color: darken(@border, 12%);\\n  }\\n  &:active,\\n  &.active,\\n  .open .dropdown-toggle& {\\n    background-image: none;\\n  }\\n  &.disabled,\\n  &[disabled],\\n  fieldset[disabled] & {\\n    &,\\n    &:hover,\\n    &:focus,\\n    &:active,\\n    &.active {\\n      background-color: @background;\\n          border-color: @border;\\n    }\\n  }\\n\\n  .badge {\\n    color: @background;\\n    background-color: #fff;\\n  }\\n}\\n\\n// Button sizes\\n// -------------------------\\n.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {\\n  padding: @padding-vertical @padding-horizontal;\\n  font-size: @font-size;\\n  line-height: @line-height;\\n  border-radius: @border-radius;\\n}\\n\\n// Pagination\\n// -------------------------\\n.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {\\n  > li {\\n    > a,\\n    > span {\\n      padding: @padding-vertical @padding-horizontal;\\n      font-size: @font-size;\\n    }\\n    &:first-child {\\n      > a,\\n      > span {\\n        .border-left-radius(@border-radius);\\n      }\\n    }\\n    &:last-child {\\n      > a,\\n      > span {\\n        .border-right-radius(@border-radius);\\n      }\\n    }\\n  }\\n}\\n\\n// Labels\\n// -------------------------\\n.label-variant(@color) {\\n  background-color: @color;\\n  &[href] {\\n    &:hover,\\n    &:focus {\\n      background-color: darken(@color, 10%);\\n    }\\n  }\\n}\\n\\n// Navbar vertical align\\n// -------------------------\\n// Vertically center elements in the navbar.\\n// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.\\n.navbar-vertical-align(@element-height) {\\n  margin-top: ((@navbar-height - @element-height) / 2);\\n  margin-bottom: ((@navbar-height - @element-height) / 2);\\n}\\n\\n// Progress bars\\n// -------------------------\\n.progress-bar-variant(@color) {\\n  background-color: @color;\\n  .progress-striped & {\\n    #gradient > .striped();\\n  }\\n}\\n\\n// Responsive utilities\\n// -------------------------\\n// More easily include all the states for responsive-utilities.less.\\n.responsive-visibility() {\\n  display: block !important;\\n  table&  { display: table; }\\n  tr&     { display: table-row !important; }\\n  th&,\\n  td&     { display: table-cell !important; }\\n}\\n\\n.responsive-invisibility() {\\n    &,\\n  tr&,\\n  th&,\\n  td& { display: none !important; }\\n}\\n\\n\\n// Grid System\\n// -----------\\n\\n// Centered container element\\n.container-fixed() {\\n  margin-right: auto;\\n  margin-left: auto;\\n  padding-left:  (@grid-gutter-width / 2);\\n  padding-right: (@grid-gutter-width / 2);\\n  .clearfix();\\n}\\n\\n// Creates a wrapper for a series of columns\\n.make-row(@gutter: @grid-gutter-width) {\\n  margin-left:  (@gutter / -2);\\n  margin-right: (@gutter / -2);\\n  .clearfix();\\n}\\n\\n// Generate the extra small columns\\n.make-xs-column(@columns; @gutter: @grid-gutter-width) {\\n  position: relative;\\n  float: left;\\n  width: percentage((@columns / @grid-columns));\\n  // Prevent columns from collapsing when empty\\n  min-height: 1px;\\n  // Inner gutter via padding\\n  padding-left:  (@gutter / 2);\\n  padding-right: (@gutter / 2);\\n}\\n\\n// Generate the small columns\\n.make-sm-column(@columns; @gutter: @grid-gutter-width) {\\n  position: relative;\\n  // Prevent columns from collapsing when empty\\n  min-height: 1px;\\n  // Inner gutter via padding\\n  padding-left:  (@gutter / 2);\\n  padding-right: (@gutter / 2);\\n\\n  // Calculate width based on number of columns available\\n  @media (min-width: @screen-sm-min) {\\n    float: left;\\n    width: percentage((@columns / @grid-columns));\\n  }\\n}\\n\\n// Generate the small column offsets\\n.make-sm-column-offset(@columns) {\\n  @media (min-width: @screen-sm-min) {\\n    margin-left: percentage((@columns / @grid-columns));\\n  }\\n}\\n.make-sm-column-push(@columns) {\\n  @media (min-width: @screen-sm-min) {\\n    left: percentage((@columns / @grid-columns));\\n  }\\n}\\n.make-sm-column-pull(@columns) {\\n  @media (min-width: @screen-sm-min) {\\n    right: percentage((@columns / @grid-columns));\\n  }\\n}\\n\\n// Generate the medium columns\\n.make-md-column(@columns; @gutter: @grid-gutter-width) {\\n  position: relative;\\n  // Prevent columns from collapsing when empty\\n  min-height: 1px;\\n  // Inner gutter via padding\\n  padding-left:  (@gutter / 2);\\n  padding-right: (@gutter / 2);\\n\\n  // Calculate width based on number of columns available\\n  @media (min-width: @screen-md-min) {\\n    float: left;\\n    width: percentage((@columns / @grid-columns));\\n  }\\n}\\n\\n// Generate the medium column offsets\\n.make-md-column-offset(@columns) {\\n  @media (min-width: @screen-md-min) {\\n    margin-left: percentage((@columns / @grid-columns));\\n  }\\n}\\n.make-md-column-push(@columns) {\\n  @media (min-width: @screen-md) {\\n    left: percentage((@columns / @grid-columns));\\n  }\\n}\\n.make-md-column-pull(@columns) {\\n  @media (min-width: @screen-md-min) {\\n    right: percentage((@columns / @grid-columns));\\n  }\\n}\\n\\n// Generate the large columns\\n.make-lg-column(@columns; @gutter: @grid-gutter-width) {\\n  position: relative;\\n  // Prevent columns from collapsing when empty\\n  min-height: 1px;\\n  // Inner gutter via padding\\n  padding-left:  (@gutter / 2);\\n  padding-right: (@gutter / 2);\\n\\n  // Calculate width based on number of columns available\\n  @media (min-width: @screen-lg-min) {\\n    float: left;\\n    width: percentage((@columns / @grid-columns));\\n  }\\n}\\n\\n// Generate the large column offsets\\n.make-lg-column-offset(@columns) {\\n  @media (min-width: @screen-lg-min) {\\n    margin-left: percentage((@columns / @grid-columns));\\n  }\\n}\\n.make-lg-column-push(@columns) {\\n  @media (min-width: @screen-lg-min) {\\n    left: percentage((@columns / @grid-columns));\\n  }\\n}\\n.make-lg-column-pull(@columns) {\\n  @media (min-width: @screen-lg-min) {\\n    right: percentage((@columns / @grid-columns));\\n  }\\n}\\n\\n\\n// Framework grid generation\\n//\\n// Used only by Bootstrap to generate the correct number of grid classes given\\n// any value of `@grid-columns`.\\n\\n.make-grid-columns() {\\n  // Common styles for all sizes of grid columns, widths 1-12\\n  .col(@index) when (@index = 1) { // initial\\n    @item: ~\\\".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}\\\";\\n    .col(@index + 1, @item);\\n  }\\n  .col(@index, @list) when (@index =< @grid-columns) { // general; \\\"=<\\\" isn't a typo\\n    @item: ~\\\".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}\\\";\\n    .col(@index + 1, ~\\\"@{list}, @{item}\\\");\\n  }\\n  .col(@index, @list) when (@index > @grid-columns) { // terminal\\n    @{list} {\\n      position: relative;\\n      // Prevent columns from collapsing when empty\\n      min-height: 1px;\\n      // Inner gutter via padding\\n      padding-left:  (@grid-gutter-width / 2);\\n      padding-right: (@grid-gutter-width / 2);\\n    }\\n  }\\n  .col(1); // kickstart it\\n}\\n\\n.make-grid-columns-float(@class) {\\n  .col(@index) when (@index = 1) { // initial\\n    @item: ~\\\".col-@{class}-@{index}\\\";\\n    .col(@index + 1, @item);\\n  }\\n  .col(@index, @list) when (@index =< @grid-columns) { // general\\n    @item: ~\\\".col-@{class}-@{index}\\\";\\n    .col(@index + 1, ~\\\"@{list}, @{item}\\\");\\n  }\\n  .col(@index, @list) when (@index > @grid-columns) { // terminal\\n    @{list} {\\n      float: left;\\n    }\\n  }\\n  .col(1); // kickstart it\\n}\\n\\n.calc-grid(@index, @class, @type) when (@type = width) and (@index > 0) {\\n  .col-@{class}-@{index} {\\n    width: percentage((@index / @grid-columns));\\n  }\\n}\\n.calc-grid(@index, @class, @type) when (@type = push) {\\n  .col-@{class}-push-@{index} {\\n    left: percentage((@index / @grid-columns));\\n  }\\n}\\n.calc-grid(@index, @class, @type) when (@type = pull) {\\n  .col-@{class}-pull-@{index} {\\n    right: percentage((@index / @grid-columns));\\n  }\\n}\\n.calc-grid(@index, @class, @type) when (@type = offset) {\\n  .col-@{class}-offset-@{index} {\\n    margin-left: percentage((@index / @grid-columns));\\n  }\\n}\\n\\n// Basic looping in LESS\\n.make-grid(@index, @class, @type) when (@index >= 0) {\\n  .calc-grid(@index, @class, @type);\\n  // next iteration\\n  .make-grid(@index - 1, @class, @type);\\n}\\n\\n\\n// Form validation states\\n//\\n// Used in forms.less to generate the form validation CSS for warnings, errors,\\n// and successes.\\n\\n.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {\\n  // Color the label and help text\\n  .help-block,\\n  .control-label,\\n  .radio,\\n  .checkbox,\\n  .radio-inline,\\n  .checkbox-inline  {\\n    color: @text-color;\\n  }\\n  // Set the border and box shadow on specific inputs to match\\n  .form-control {\\n    border-color: @border-color;\\n    .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work\\n    &:focus {\\n      border-color: darken(@border-color, 10%);\\n      @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);\\n      .box-shadow(@shadow);\\n    }\\n  }\\n  // Set validation states also for addons\\n  .input-group-addon {\\n    color: @text-color;\\n    border-color: @border-color;\\n    background-color: @background-color;\\n  }\\n}\\n\\n// Form control focus state\\n//\\n// Generate a customized focus state and for any input with the specified color,\\n// which defaults to the `@input-focus-border` variable.\\n//\\n// We highly encourage you to not customize the default value, but instead use\\n// this to tweak colors on an as-needed basis. This aesthetic change is based on\\n// WebKit's default styles, but applicable to a wider range of browsers. Its\\n// usability and accessibility should be taken into account with any change.\\n//\\n// Example usage: change the default blue border and shadow to white for better\\n// contrast against a dark gray background.\\n\\n.form-control-focus(@color: @input-border-focus) {\\n  @color-rgba: rgba(red(@color), green(@color), blue(@color), .6);\\n  &:focus {\\n    border-color: @color;\\n    outline: 0;\\n    .box-shadow(~\\\"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}\\\");\\n  }\\n}\\n\\n// Form control sizing\\n//\\n// Relative text size, padding, and border-radii changes for form controls. For\\n// horizontal sizing, wrap controls in the predefined grid classes. `<select>`\\n// element gets special love because it's special, and that's a fact!\\n\\n.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {\\n  height: @input-height;\\n  padding: @padding-vertical @padding-horizontal;\\n  font-size: @font-size;\\n  line-height: @line-height;\\n  border-radius: @border-radius;\\n\\n  select& {\\n    height: @input-height;\\n    line-height: @input-height;\\n  }\\n\\n  textarea& {\\n    height: auto;\\n  }\\n}\\n\",\"modals.less\":\"//\\n// Modals\\n// --------------------------------------------------\\n\\n// .modal-open      - body class for killing the scroll\\n// .modal           - container to scroll within\\n// .modal-dialog    - positioning shell for the actual modal\\n// .modal-content   - actual modal w/ bg and corners and shit\\n\\n// Kill the scroll on the body\\n.modal-open {\\n  overflow: hidden;\\n}\\n\\n// Container that the modal scrolls within\\n.modal {\\n  display: none;\\n  overflow: auto;\\n  overflow-y: scroll;\\n  position: fixed;\\n  top: 0;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n  z-index: @zindex-modal-background;\\n\\n  // When fading in the modal, animate it to slide down\\n  &.fade .modal-dialog {\\n    .translate(0, -25%);\\n    .transition-transform(~\\\"0.3s ease-out\\\");\\n  }\\n  &.in .modal-dialog { .translate(0, 0)}\\n}\\n\\n// Shell div to position the modal with bottom padding\\n.modal-dialog {\\n  position: relative;\\n  width: auto;\\n  margin: 10px;\\n  z-index: (@zindex-modal-background + 10);\\n}\\n\\n// Actual modal\\n.modal-content {\\n  position: relative;\\n  background-color: @modal-content-bg;\\n  border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)\\n  border: 1px solid @modal-content-border-color;\\n  border-radius: @border-radius-large;\\n  .box-shadow(0 3px 9px rgba(0,0,0,.5));\\n  background-clip: padding-box;\\n  // Remove focus outline from opened modal\\n  outline: none;\\n}\\n\\n// Modal background\\n.modal-backdrop {\\n  position: fixed;\\n  top: 0;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n  z-index: (@zindex-modal-background - 10);\\n  background-color: @modal-backdrop-bg;\\n  // Fade for backdrop\\n  &.fade { .opacity(0); }\\n  &.in { .opacity(.5); }\\n}\\n\\n// Modal header\\n// Top section of the modal w/ title and dismiss\\n.modal-header {\\n  padding: @modal-title-padding;\\n  border-bottom: 1px solid @modal-header-border-color;\\n  min-height: (@modal-title-padding + @modal-title-line-height);\\n}\\n// Close icon\\n.modal-header .close {\\n  margin-top: -2px;\\n}\\n\\n// Title text within header\\n.modal-title {\\n  margin: 0;\\n  line-height: @modal-title-line-height;\\n}\\n\\n// Modal body\\n// Where all modal content resides (sibling of .modal-header and .modal-footer)\\n.modal-body {\\n  position: relative;\\n  padding: @modal-inner-padding;\\n}\\n\\n// Footer (for actions)\\n.modal-footer {\\n  margin-top: 15px;\\n  padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;\\n  text-align: right; // right align buttons\\n  border-top: 1px solid @modal-footer-border-color;\\n  .clearfix(); // clear it in case folks use .pull-* classes on buttons\\n\\n  // Properly space out buttons\\n  .btn + .btn {\\n    margin-left: 5px;\\n    margin-bottom: 0; // account for input[type=\\\"submit\\\"] which gets the bottom margin like all other inputs\\n  }\\n  // but override that for button groups\\n  .btn-group .btn + .btn {\\n    margin-left: -1px;\\n  }\\n  // and override it for block buttons as well\\n  .btn-block + .btn-block {\\n    margin-left: 0;\\n  }\\n}\\n\\n// Scale up the modal\\n@media screen and (min-width: @screen-sm-min) {\\n\\n  .modal-dialog {\\n    width: 600px;\\n    margin: 30px auto;\\n  }\\n  .modal-content {\\n    .box-shadow(0 5px 15px rgba(0,0,0,.5));\\n  }\\n\\n}\\n\",\"navbar.less\":\"//\\n// Navbars\\n// --------------------------------------------------\\n\\n\\n// Wrapper and base class\\n//\\n// Provide a static navbar from which we expand to create full-width, fixed, and\\n// other navbar variations.\\n\\n.navbar {\\n  position: relative;\\n  min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)\\n  margin-bottom: @navbar-margin-bottom;\\n  border: 1px solid transparent;\\n\\n  // Prevent floats from breaking the navbar\\n  .clearfix();\\n\\n  @media (min-width: @grid-float-breakpoint) {\\n    border-radius: @navbar-border-radius;\\n  }\\n}\\n\\n\\n// Navbar heading\\n//\\n// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy\\n// styling of responsive aspects.\\n\\n.navbar-header {\\n  .clearfix();\\n\\n  @media (min-width: @grid-float-breakpoint) {\\n    float: left;\\n  }\\n}\\n\\n\\n// Navbar collapse (body)\\n//\\n// Group your navbar content into this for easy collapsing and expanding across\\n// various device sizes. By default, this content is collapsed when <768px, but\\n// will expand past that for a horizontal display.\\n//\\n// To start (on mobile devices) the navbar links, forms, and buttons are stacked\\n// vertically and include a `max-height` to overflow in case you have too much\\n// content for the user's viewport.\\n\\n.navbar-collapse {\\n  max-height: 340px;\\n  overflow-x: visible;\\n  padding-right: @navbar-padding-horizontal;\\n  padding-left:  @navbar-padding-horizontal;\\n  border-top: 1px solid transparent;\\n  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);\\n  .clearfix();\\n  -webkit-overflow-scrolling: touch;\\n\\n  &.in {\\n    overflow-y: auto;\\n  }\\n\\n  @media (min-width: @grid-float-breakpoint) {\\n    width: auto;\\n    border-top: 0;\\n    box-shadow: none;\\n\\n    &.collapse {\\n      display: block !important;\\n      height: auto !important;\\n      padding-bottom: 0; // Override default setting\\n      overflow: visible !important;\\n    }\\n\\n    &.in {\\n      overflow-y: visible;\\n    }\\n\\n    // Undo the collapse side padding for navbars with containers to ensure\\n    // alignment of right-aligned contents.\\n    .navbar-fixed-top &,\\n    .navbar-static-top &,\\n    .navbar-fixed-bottom & {\\n      padding-left: 0;\\n      padding-right: 0;\\n    }\\n  }\\n}\\n\\n\\n// Both navbar header and collapse\\n//\\n// When a container is present, change the behavior of the header and collapse.\\n\\n.container > .navbar-header,\\n.container > .navbar-collapse {\\n  margin-right: -@navbar-padding-horizontal;\\n  margin-left:  -@navbar-padding-horizontal;\\n\\n  @media (min-width: @grid-float-breakpoint) {\\n    margin-right: 0;\\n    margin-left:  0;\\n  }\\n}\\n\\n\\n//\\n// Navbar alignment options\\n//\\n// Display the navbar across the entirety of the page or fixed it to the top or\\n// bottom of the page.\\n\\n// Static top (unfixed, but 100% wide) navbar\\n.navbar-static-top {\\n  z-index: @zindex-navbar;\\n  border-width: 0 0 1px;\\n\\n  @media (min-width: @grid-float-breakpoint) {\\n    border-radius: 0;\\n  }\\n}\\n\\n// Fix the top/bottom navbars when screen real estate supports it\\n.navbar-fixed-top,\\n.navbar-fixed-bottom {\\n  position: fixed;\\n  right: 0;\\n  left: 0;\\n  z-index: @zindex-navbar-fixed;\\n\\n  // Undo the rounded corners\\n  @media (min-width: @grid-float-breakpoint) {\\n    border-radius: 0;\\n  }\\n}\\n.navbar-fixed-top {\\n  top: 0;\\n  border-width: 0 0 1px;\\n}\\n.navbar-fixed-bottom {\\n  bottom: 0;\\n  margin-bottom: 0; // override .navbar defaults\\n  border-width: 1px 0 0;\\n}\\n\\n\\n// Brand/project name\\n\\n.navbar-brand {\\n  float: left;\\n  padding: @navbar-padding-vertical @navbar-padding-horizontal;\\n  font-size: @font-size-large;\\n  line-height: @line-height-computed;\\n\\n  &:hover,\\n  &:focus {\\n    text-decoration: none;\\n  }\\n\\n  @media (min-width: @grid-float-breakpoint) {\\n    .navbar > .container & {\\n      margin-left: -@navbar-padding-horizontal;\\n    }\\n  }\\n}\\n\\n\\n// Navbar toggle\\n//\\n// Custom button for toggling the `.navbar-collapse`, powered by the collapse\\n// JavaScript plugin.\\n\\n.navbar-toggle {\\n  position: relative;\\n  float: right;\\n  margin-right: @navbar-padding-horizontal;\\n  padding: 9px 10px;\\n  .navbar-vertical-align(34px);\\n  background-color: transparent;\\n  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\\n  border: 1px solid transparent;\\n  border-radius: @border-radius-base;\\n\\n  // Bars\\n  .icon-bar {\\n    display: block;\\n    width: 22px;\\n    height: 2px;\\n    border-radius: 1px;\\n  }\\n  .icon-bar + .icon-bar {\\n    margin-top: 4px;\\n  }\\n\\n  @media (min-width: @grid-float-breakpoint) {\\n    display: none;\\n  }\\n}\\n\\n\\n// Navbar nav links\\n//\\n// Builds on top of the `.nav` components with it's own modifier class to make\\n// the nav the full height of the horizontal nav (above 768px).\\n\\n.navbar-nav {\\n  margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;\\n\\n  > li > a {\\n    padding-top:    10px;\\n    padding-bottom: 10px;\\n    line-height: @line-height-computed;\\n  }\\n\\n  @media (max-width: @grid-float-breakpoint-max) {\\n    // Dropdowns get custom display when collapsed\\n    .open .dropdown-menu {\\n      position: static;\\n      float: none;\\n      width: auto;\\n      margin-top: 0;\\n      background-color: transparent;\\n      border: 0;\\n      box-shadow: none;\\n      > li > a,\\n      .dropdown-header {\\n        padding: 5px 15px 5px 25px;\\n      }\\n      > li > a {\\n        line-height: @line-height-computed;\\n        &:hover,\\n        &:focus {\\n          background-image: none;\\n        }\\n      }\\n    }\\n  }\\n\\n  // Uncollapse the nav\\n  @media (min-width: @grid-float-breakpoint) {\\n    float: left;\\n    margin: 0;\\n\\n    > li {\\n      float: left;\\n      > a {\\n        padding-top:    @navbar-padding-vertical;\\n        padding-bottom: @navbar-padding-vertical;\\n      }\\n    }\\n\\n    &.navbar-right:last-child {\\n      margin-right: -@navbar-padding-horizontal;\\n    }\\n  }\\n}\\n\\n\\n// Component alignment\\n//\\n// Repurpose the pull utilities as their own navbar utilities to avoid specificity\\n// issues with parents and chaining. Only do this when the navbar is uncollapsed\\n// though so that navbar contents properly stack and align in mobile.\\n\\n@media (min-width: @grid-float-breakpoint) {\\n  .navbar-left  { .pull-left(); }\\n  .navbar-right { .pull-right(); }\\n}\\n\\n\\n// Navbar form\\n//\\n// Extension of the `.form-inline` with some extra flavor for optimum display in\\n// our navbars.\\n\\n.navbar-form {\\n  margin-left: -@navbar-padding-horizontal;\\n  margin-right: -@navbar-padding-horizontal;\\n  padding: 10px @navbar-padding-horizontal;\\n  border-top: 1px solid transparent;\\n  border-bottom: 1px solid transparent;\\n  @shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);\\n  .box-shadow(@shadow);\\n\\n  // Mixin behavior for optimum display\\n  .form-inline();\\n\\n  .form-group {\\n    @media (max-width: @grid-float-breakpoint-max) {\\n      margin-bottom: 5px;\\n    }\\n  }\\n\\n  // Vertically center in expanded, horizontal navbar\\n  .navbar-vertical-align(@input-height-base);\\n\\n  // Undo 100% width for pull classes\\n  @media (min-width: @grid-float-breakpoint) {\\n    width: auto;\\n    border: 0;\\n    margin-left: 0;\\n    margin-right: 0;\\n    padding-top: 0;\\n    padding-bottom: 0;\\n    .box-shadow(none);\\n\\n    // Outdent the form if last child to line up with content down the page\\n    &.navbar-right:last-child {\\n      margin-right: -@navbar-padding-horizontal;\\n    }\\n  }\\n}\\n\\n\\n// Dropdown menus\\n\\n// Menu position and menu carets\\n.navbar-nav > li > .dropdown-menu {\\n  margin-top: 0;\\n  .border-top-radius(0);\\n}\\n// Menu position and menu caret support for dropups via extra dropup class\\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\\n  .border-bottom-radius(0);\\n}\\n\\n// Right aligned menus need alt position\\n.navbar-nav.pull-right > li > .dropdown-menu,\\n.navbar-nav > li > .dropdown-menu.pull-right {\\n  left: auto;\\n  right: 0;\\n}\\n\\n\\n// Buttons in navbars\\n//\\n// Vertically center a button within a navbar (when *not* in a form).\\n\\n.navbar-btn {\\n  .navbar-vertical-align(@input-height-base);\\n\\n  &.btn-sm {\\n    .navbar-vertical-align(@input-height-small);\\n  }\\n  &.btn-xs {\\n    .navbar-vertical-align(22);\\n  }\\n}\\n\\n\\n// Text in navbars\\n//\\n// Add a class to make any element properly align itself vertically within the navbars.\\n\\n.navbar-text {\\n  .navbar-vertical-align(@line-height-computed);\\n\\n  @media (min-width: @grid-float-breakpoint) {\\n    float: left;\\n    margin-left: @navbar-padding-horizontal;\\n    margin-right: @navbar-padding-horizontal;\\n\\n    // Outdent the form if last child to line up with content down the page\\n    &.navbar-right:last-child {\\n      margin-right: 0;\\n    }\\n  }\\n}\\n\\n// Alternate navbars\\n// --------------------------------------------------\\n\\n// Default navbar\\n.navbar-default {\\n  background-color: @navbar-default-bg;\\n  border-color: @navbar-default-border;\\n\\n  .navbar-brand {\\n    color: @navbar-default-brand-color;\\n    &:hover,\\n    &:focus {\\n      color: @navbar-default-brand-hover-color;\\n      background-color: @navbar-default-brand-hover-bg;\\n    }\\n  }\\n\\n  .navbar-text {\\n    color: @navbar-default-color;\\n  }\\n\\n  .navbar-nav {\\n    > li > a {\\n      color: @navbar-default-link-color;\\n\\n      &:hover,\\n      &:focus {\\n        color: @navbar-default-link-hover-color;\\n        background-color: @navbar-default-link-hover-bg;\\n      }\\n    }\\n    > .active > a {\\n      &,\\n      &:hover,\\n      &:focus {\\n        color: @navbar-default-link-active-color;\\n        background-color: @navbar-default-link-active-bg;\\n      }\\n    }\\n    > .disabled > a {\\n      &,\\n      &:hover,\\n      &:focus {\\n        color: @navbar-default-link-disabled-color;\\n        background-color: @navbar-default-link-disabled-bg;\\n      }\\n    }\\n  }\\n\\n  .navbar-toggle {\\n    border-color: @navbar-default-toggle-border-color;\\n    &:hover,\\n    &:focus {\\n      background-color: @navbar-default-toggle-hover-bg;\\n    }\\n    .icon-bar {\\n      background-color: @navbar-default-toggle-icon-bar-bg;\\n    }\\n  }\\n\\n  .navbar-collapse,\\n  .navbar-form {\\n    border-color: @navbar-default-border;\\n  }\\n\\n  // Dropdown menu items\\n  .navbar-nav {\\n    // Remove background color from open dropdown\\n    > .open > a {\\n      &,\\n      &:hover,\\n      &:focus {\\n        background-color: @navbar-default-link-active-bg;\\n        color: @navbar-default-link-active-color;\\n      }\\n    }\\n\\n    @media (max-width: @grid-float-breakpoint-max) {\\n      // Dropdowns get custom display when collapsed\\n      .open .dropdown-menu {\\n        > li > a {\\n          color: @navbar-default-link-color;\\n          &:hover,\\n          &:focus {\\n            color: @navbar-default-link-hover-color;\\n            background-color: @navbar-default-link-hover-bg;\\n          }\\n        }\\n        > .active > a {\\n          &,\\n          &:hover,\\n          &:focus {\\n            color: @navbar-default-link-active-color;\\n            background-color: @navbar-default-link-active-bg;\\n          }\\n        }\\n        > .disabled > a {\\n          &,\\n          &:hover,\\n          &:focus {\\n            color: @navbar-default-link-disabled-color;\\n            background-color: @navbar-default-link-disabled-bg;\\n          }\\n        }\\n      }\\n    }\\n  }\\n\\n\\n  // Links in navbars\\n  //\\n  // Add a class to ensure links outside the navbar nav are colored correctly.\\n\\n  .navbar-link {\\n    color: @navbar-default-link-color;\\n    &:hover {\\n      color: @navbar-default-link-hover-color;\\n    }\\n  }\\n\\n}\\n\\n// Inverse navbar\\n\\n.navbar-inverse {\\n  background-color: @navbar-inverse-bg;\\n  border-color: @navbar-inverse-border;\\n\\n  .navbar-brand {\\n    color: @navbar-inverse-brand-color;\\n    &:hover,\\n    &:focus {\\n      color: @navbar-inverse-brand-hover-color;\\n      background-color: @navbar-inverse-brand-hover-bg;\\n    }\\n  }\\n\\n  .navbar-text {\\n    color: @navbar-inverse-color;\\n  }\\n\\n  .navbar-nav {\\n    > li > a {\\n      color: @navbar-inverse-link-color;\\n\\n      &:hover,\\n      &:focus {\\n        color: @navbar-inverse-link-hover-color;\\n        background-color: @navbar-inverse-link-hover-bg;\\n      }\\n    }\\n    > .active > a {\\n      &,\\n      &:hover,\\n      &:focus {\\n        color: @navbar-inverse-link-active-color;\\n        background-color: @navbar-inverse-link-active-bg;\\n      }\\n    }\\n    > .disabled > a {\\n      &,\\n      &:hover,\\n      &:focus {\\n        color: @navbar-inverse-link-disabled-color;\\n        background-color: @navbar-inverse-link-disabled-bg;\\n      }\\n    }\\n  }\\n\\n  // Darken the responsive nav toggle\\n  .navbar-toggle {\\n    border-color: @navbar-inverse-toggle-border-color;\\n    &:hover,\\n    &:focus {\\n      background-color: @navbar-inverse-toggle-hover-bg;\\n    }\\n    .icon-bar {\\n      background-color: @navbar-inverse-toggle-icon-bar-bg;\\n    }\\n  }\\n\\n  .navbar-collapse,\\n  .navbar-form {\\n    border-color: darken(@navbar-inverse-bg, 7%);\\n  }\\n\\n  // Dropdowns\\n  .navbar-nav {\\n    > .open > a {\\n      &,\\n      &:hover,\\n      &:focus {\\n        background-color: @navbar-inverse-link-active-bg;\\n        color: @navbar-inverse-link-active-color;\\n      }\\n    }\\n\\n    @media (max-width: @grid-float-breakpoint-max) {\\n      // Dropdowns get custom display\\n      .open .dropdown-menu {\\n        > .dropdown-header {\\n          border-color: @navbar-inverse-border;\\n        }\\n        .divider {\\n          background-color: @navbar-inverse-border;\\n        }\\n        > li > a {\\n          color: @navbar-inverse-link-color;\\n          &:hover,\\n          &:focus {\\n            color: @navbar-inverse-link-hover-color;\\n            background-color: @navbar-inverse-link-hover-bg;\\n          }\\n        }\\n        > .active > a {\\n          &,\\n          &:hover,\\n          &:focus {\\n            color: @navbar-inverse-link-active-color;\\n            background-color: @navbar-inverse-link-active-bg;\\n          }\\n        }\\n        > .disabled > a {\\n          &,\\n          &:hover,\\n          &:focus {\\n            color: @navbar-inverse-link-disabled-color;\\n            background-color: @navbar-inverse-link-disabled-bg;\\n          }\\n        }\\n      }\\n    }\\n  }\\n\\n  .navbar-link {\\n    color: @navbar-inverse-link-color;\\n    &:hover {\\n      color: @navbar-inverse-link-hover-color;\\n    }\\n  }\\n\\n}\\n\",\"navs.less\":\"//\\n// Navs\\n// --------------------------------------------------\\n\\n\\n// Base class\\n// --------------------------------------------------\\n\\n.nav {\\n  margin-bottom: 0;\\n  padding-left: 0; // Override default ul/ol\\n  list-style: none;\\n  .clearfix();\\n\\n  > li {\\n    position: relative;\\n    display: block;\\n\\n    > a {\\n      position: relative;\\n      display: block;\\n      padding: @nav-link-padding;\\n      &:hover,\\n      &:focus {\\n        text-decoration: none;\\n        background-color: @nav-link-hover-bg;\\n      }\\n    }\\n\\n    // Disabled state sets text to gray and nukes hover/tab effects\\n    &.disabled > a {\\n      color: @nav-disabled-link-color;\\n\\n      &:hover,\\n      &:focus {\\n        color: @nav-disabled-link-hover-color;\\n        text-decoration: none;\\n        background-color: transparent;\\n        cursor: not-allowed;\\n      }\\n    }\\n  }\\n\\n  // Open dropdowns\\n  .open > a {\\n    &,\\n    &:hover,\\n    &:focus {\\n      background-color: @nav-link-hover-bg;\\n      border-color: @link-color;\\n    }\\n  }\\n\\n  // Nav dividers (deprecated with v3.0.1)\\n  //\\n  // This should have been removed in v3 with the dropping of `.nav-list`, but\\n  // we missed it. We don't currently support this anywhere, but in the interest\\n  // of maintaining backward compatibility in case you use it, it's deprecated.\\n  .nav-divider {\\n    .nav-divider();\\n  }\\n\\n  // Prevent IE8 from misplacing imgs\\n  //\\n  // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989\\n  > li > a > img {\\n    max-width: none;\\n  }\\n}\\n\\n\\n// Tabs\\n// -------------------------\\n\\n// Give the tabs something to sit on\\n.nav-tabs {\\n  border-bottom: 1px solid @nav-tabs-border-color;\\n  > li {\\n    float: left;\\n    // Make the list-items overlay the bottom border\\n    margin-bottom: -1px;\\n\\n    // Actual tabs (as links)\\n    > a {\\n      margin-right: 2px;\\n      line-height: @line-height-base;\\n      border: 1px solid transparent;\\n      border-radius: @border-radius-base @border-radius-base 0 0;\\n      &:hover {\\n        border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;\\n      }\\n    }\\n\\n    // Active state, and it's :hover to override normal :hover\\n    &.active > a {\\n      &,\\n      &:hover,\\n      &:focus {\\n        color: @nav-tabs-active-link-hover-color;\\n        background-color: @nav-tabs-active-link-hover-bg;\\n        border: 1px solid @nav-tabs-active-link-hover-border-color;\\n        border-bottom-color: transparent;\\n        cursor: default;\\n      }\\n    }\\n  }\\n  // pulling this in mainly for less shorthand\\n  &.nav-justified {\\n    .nav-justified();\\n    .nav-tabs-justified();\\n  }\\n}\\n\\n\\n// Pills\\n// -------------------------\\n.nav-pills {\\n  > li {\\n    float: left;\\n\\n    // Links rendered as pills\\n    > a {\\n      border-radius: @nav-pills-border-radius;\\n    }\\n    + li {\\n      margin-left: 2px;\\n    }\\n\\n    // Active state\\n    &.active > a {\\n      &,\\n      &:hover,\\n      &:focus {\\n        color: @nav-pills-active-link-hover-color;\\n        background-color: @nav-pills-active-link-hover-bg;\\n      }\\n    }\\n  }\\n}\\n\\n\\n// Stacked pills\\n.nav-stacked {\\n  > li {\\n    float: none;\\n    + li {\\n      margin-top: 2px;\\n      margin-left: 0; // no need for this gap between nav items\\n    }\\n  }\\n}\\n\\n\\n// Nav variations\\n// --------------------------------------------------\\n\\n// Justified nav links\\n// -------------------------\\n\\n.nav-justified {\\n  width: 100%;\\n\\n  > li {\\n    float: none;\\n     > a {\\n      text-align: center;\\n      margin-bottom: 5px;\\n    }\\n  }\\n\\n  > .dropdown .dropdown-menu {\\n    top: auto;\\n    left: auto;\\n  }\\n\\n  @media (min-width: @screen-sm-min) {\\n    > li {\\n      display: table-cell;\\n      width: 1%;\\n      > a {\\n        margin-bottom: 0;\\n      }\\n    }\\n  }\\n}\\n\\n// Move borders to anchors instead of bottom of list\\n//\\n// Mixin for adding on top the shared `.nav-justified` styles for our tabs\\n.nav-tabs-justified {\\n  border-bottom: 0;\\n\\n  > li > a {\\n    // Override margin from .nav-tabs\\n    margin-right: 0;\\n    border-radius: @border-radius-base;\\n  }\\n\\n  > .active > a,\\n  > .active > a:hover,\\n  > .active > a:focus {\\n    border: 1px solid @nav-tabs-justified-link-border-color;\\n  }\\n\\n  @media (min-width: @screen-sm-min) {\\n    > li > a {\\n      border-bottom: 1px solid @nav-tabs-justified-link-border-color;\\n      border-radius: @border-radius-base @border-radius-base 0 0;\\n    }\\n    > .active > a,\\n    > .active > a:hover,\\n    > .active > a:focus {\\n      border-bottom-color: @nav-tabs-justified-active-link-border-color;\\n    }\\n  }\\n}\\n\\n\\n// Tabbable tabs\\n// -------------------------\\n\\n// Hide tabbable panes to start, show them when `.active`\\n.tab-content {\\n  > .tab-pane {\\n    display: none;\\n  }\\n  > .active {\\n    display: block;\\n  }\\n}\\n\\n\\n// Dropdowns\\n// -------------------------\\n\\n// Specific dropdowns\\n.nav-tabs .dropdown-menu {\\n  // make dropdown border overlap tab border\\n  margin-top: -1px;\\n  // Remove the top rounded corners here since there is a hard edge above the menu\\n  .border-top-radius(0);\\n}\\n\",\"normalize.less\":\"/*! normalize.css v2.1.3 | MIT License | git.io/normalize */\\n\\n// ==========================================================================\\n// HTML5 display definitions\\n// ==========================================================================\\n\\n//\\n// Correct `block` display not defined in IE 8/9.\\n//\\n\\narticle,\\naside,\\ndetails,\\nfigcaption,\\nfigure,\\nfooter,\\nheader,\\nhgroup,\\nmain,\\nnav,\\nsection,\\nsummary {\\n  display: block;\\n}\\n\\n//\\n// Correct `inline-block` display not defined in IE 8/9.\\n//\\n\\naudio,\\ncanvas,\\nvideo {\\n  display: inline-block;\\n}\\n\\n//\\n// Prevent modern browsers from displaying `audio` without controls.\\n// Remove excess height in iOS 5 devices.\\n//\\n\\naudio:not([controls]) {\\n  display: none;\\n  height: 0;\\n}\\n\\n//\\n// Address `[hidden]` styling not present in IE 8/9.\\n// Hide the `template` element in IE, Safari, and Firefox < 22.\\n//\\n\\n[hidden],\\ntemplate {\\n  display: none;\\n}\\n\\n// ==========================================================================\\n// Base\\n// ==========================================================================\\n\\n//\\n// 1. Set default font family to sans-serif.\\n// 2. Prevent iOS text size adjust after orientation change, without disabling\\n//    user zoom.\\n//\\n\\nhtml {\\n  font-family: sans-serif; // 1\\n  -ms-text-size-adjust: 100%; // 2\\n  -webkit-text-size-adjust: 100%; // 2\\n}\\n\\n//\\n// Remove default margin.\\n//\\n\\nbody {\\n  margin: 0;\\n}\\n\\n// ==========================================================================\\n// Links\\n// ==========================================================================\\n\\n//\\n// Remove the gray background color from active links in IE 10.\\n//\\n\\na {\\n  background: transparent;\\n}\\n\\n//\\n// Address `outline` inconsistency between Chrome and other browsers.\\n//\\n\\na:focus {\\n  outline: thin dotted;\\n}\\n\\n//\\n// Improve readability when focused and also mouse hovered in all browsers.\\n//\\n\\na:active,\\na:hover {\\n  outline: 0;\\n}\\n\\n// ==========================================================================\\n// Typography\\n// ==========================================================================\\n\\n//\\n// Address variable `h1` font-size and margin within `section` and `article`\\n// contexts in Firefox 4+, Safari 5, and Chrome.\\n//\\n\\nh1 {\\n  font-size: 2em;\\n  margin: 0.67em 0;\\n}\\n\\n//\\n// Address styling not present in IE 8/9, Safari 5, and Chrome.\\n//\\n\\nabbr[title] {\\n  border-bottom: 1px dotted;\\n}\\n\\n//\\n// Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.\\n//\\n\\nb,\\nstrong {\\n  font-weight: bold;\\n}\\n\\n//\\n// Address styling not present in Safari 5 and Chrome.\\n//\\n\\ndfn {\\n  font-style: italic;\\n}\\n\\n//\\n// Address differences between Firefox and other browsers.\\n//\\n\\nhr {\\n  -moz-box-sizing: content-box;\\n  box-sizing: content-box;\\n  height: 0;\\n}\\n\\n//\\n// Address styling not present in IE 8/9.\\n//\\n\\nmark {\\n  background: #ff0;\\n  color: #000;\\n}\\n\\n//\\n// Correct font family set oddly in Safari 5 and Chrome.\\n//\\n\\ncode,\\nkbd,\\npre,\\nsamp {\\n  font-family: monospace, serif;\\n  font-size: 1em;\\n}\\n\\n//\\n// Improve readability of pre-formatted text in all browsers.\\n//\\n\\npre {\\n  white-space: pre-wrap;\\n}\\n\\n//\\n// Set consistent quote types.\\n//\\n\\nq {\\n  quotes: \\\"\\\\201C\\\" \\\"\\\\201D\\\" \\\"\\\\2018\\\" \\\"\\\\2019\\\";\\n}\\n\\n//\\n// Address inconsistent and variable font size in all browsers.\\n//\\n\\nsmall {\\n  font-size: 80%;\\n}\\n\\n//\\n// Prevent `sub` and `sup` affecting `line-height` in all browsers.\\n//\\n\\nsub,\\nsup {\\n  font-size: 75%;\\n  line-height: 0;\\n  position: relative;\\n  vertical-align: baseline;\\n}\\n\\nsup {\\n  top: -0.5em;\\n}\\n\\nsub {\\n  bottom: -0.25em;\\n}\\n\\n// ==========================================================================\\n// Embedded content\\n// ==========================================================================\\n\\n//\\n// Remove border when inside `a` element in IE 8/9.\\n//\\n\\nimg {\\n  border: 0;\\n}\\n\\n//\\n// Correct overflow displayed oddly in IE 9.\\n//\\n\\nsvg:not(:root) {\\n  overflow: hidden;\\n}\\n\\n// ==========================================================================\\n// Figures\\n// ==========================================================================\\n\\n//\\n// Address margin not present in IE 8/9 and Safari 5.\\n//\\n\\nfigure {\\n  margin: 0;\\n}\\n\\n// ==========================================================================\\n// Forms\\n// ==========================================================================\\n\\n//\\n// Define consistent border, margin, and padding.\\n//\\n\\nfieldset {\\n  border: 1px solid #c0c0c0;\\n  margin: 0 2px;\\n  padding: 0.35em 0.625em 0.75em;\\n}\\n\\n//\\n// 1. Correct `color` not being inherited in IE 8/9.\\n// 2. Remove padding so people aren't caught out if they zero out fieldsets.\\n//\\n\\nlegend {\\n  border: 0; // 1\\n  padding: 0; // 2\\n}\\n\\n//\\n// 1. Correct font family not being inherited in all browsers.\\n// 2. Correct font size not being inherited in all browsers.\\n// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.\\n//\\n\\nbutton,\\ninput,\\nselect,\\ntextarea {\\n  font-family: inherit; // 1\\n  font-size: 100%; // 2\\n  margin: 0; // 3\\n}\\n\\n//\\n// Address Firefox 4+ setting `line-height` on `input` using `!important` in\\n// the UA stylesheet.\\n//\\n\\nbutton,\\ninput {\\n  line-height: normal;\\n}\\n\\n//\\n// Address inconsistent `text-transform` inheritance for `button` and `select`.\\n// All other form control elements do not inherit `text-transform` values.\\n// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.\\n// Correct `select` style inheritance in Firefox 4+ and Opera.\\n//\\n\\nbutton,\\nselect {\\n  text-transform: none;\\n}\\n\\n//\\n// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\\n//    and `video` controls.\\n// 2. Correct inability to style clickable `input` types in iOS.\\n// 3. Improve usability and consistency of cursor style between image-type\\n//    `input` and others.\\n//\\n\\nbutton,\\nhtml input[type=\\\"button\\\"], // 1\\ninput[type=\\\"reset\\\"],\\ninput[type=\\\"submit\\\"] {\\n  -webkit-appearance: button; // 2\\n  cursor: pointer; // 3\\n}\\n\\n//\\n// Re-set default cursor for disabled elements.\\n//\\n\\nbutton[disabled],\\nhtml input[disabled] {\\n  cursor: default;\\n}\\n\\n//\\n// 1. Address box sizing set to `content-box` in IE 8/9/10.\\n// 2. Remove excess padding in IE 8/9/10.\\n//\\n\\ninput[type=\\\"checkbox\\\"],\\ninput[type=\\\"radio\\\"] {\\n  box-sizing: border-box; // 1\\n  padding: 0; // 2\\n}\\n\\n//\\n// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.\\n// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome\\n//    (include `-moz` to future-proof).\\n//\\n\\ninput[type=\\\"search\\\"] {\\n  -webkit-appearance: textfield; // 1\\n  -moz-box-sizing: content-box;\\n  -webkit-box-sizing: content-box; // 2\\n  box-sizing: content-box;\\n}\\n\\n//\\n// Remove inner padding and search cancel button in Safari 5 and Chrome\\n// on OS X.\\n//\\n\\ninput[type=\\\"search\\\"]::-webkit-search-cancel-button,\\ninput[type=\\\"search\\\"]::-webkit-search-decoration {\\n  -webkit-appearance: none;\\n}\\n\\n//\\n// Remove inner padding and border in Firefox 4+.\\n//\\n\\nbutton::-moz-focus-inner,\\ninput::-moz-focus-inner {\\n  border: 0;\\n  padding: 0;\\n}\\n\\n//\\n// 1. Remove default vertical scrollbar in IE 8/9.\\n// 2. Improve readability and alignment in all browsers.\\n//\\n\\ntextarea {\\n  overflow: auto; // 1\\n  vertical-align: top; // 2\\n}\\n\\n// ==========================================================================\\n// Tables\\n// ==========================================================================\\n\\n//\\n// Remove most spacing between table cells.\\n//\\n\\ntable {\\n  border-collapse: collapse;\\n  border-spacing: 0;\\n}\\n\",\"pager.less\":\"//\\n// Pager pagination\\n// --------------------------------------------------\\n\\n\\n.pager {\\n  padding-left: 0;\\n  margin: @line-height-computed 0;\\n  list-style: none;\\n  text-align: center;\\n  .clearfix();\\n  li {\\n    display: inline;\\n    > a,\\n    > span {\\n      display: inline-block;\\n      padding: 5px 14px;\\n      background-color: @pagination-bg;\\n      border: 1px solid @pagination-border;\\n      border-radius: @pager-border-radius;\\n    }\\n\\n    > a:hover,\\n    > a:focus {\\n      text-decoration: none;\\n      background-color: @pagination-hover-bg;\\n    }\\n  }\\n\\n  .next {\\n    > a,\\n    > span {\\n      float: right;\\n    }\\n  }\\n\\n  .previous {\\n    > a,\\n    > span {\\n      float: left;\\n    }\\n  }\\n\\n  .disabled {\\n    > a,\\n    > a:hover,\\n    > a:focus,\\n    > span {\\n      color: @pager-disabled-color;\\n      background-color: @pagination-bg;\\n      cursor: not-allowed;\\n    }\\n  }\\n\\n}\\n\",\"pagination.less\":\"//\\n// Pagination (multiple pages)\\n// --------------------------------------------------\\n.pagination {\\n  display: inline-block;\\n  padding-left: 0;\\n  margin: @line-height-computed 0;\\n  border-radius: @border-radius-base;\\n\\n  > li {\\n    display: inline; // Remove list-style and block-level defaults\\n    > a,\\n    > span {\\n      position: relative;\\n      float: left; // Collapse white-space\\n      padding: @padding-base-vertical @padding-base-horizontal;\\n      line-height: @line-height-base;\\n      text-decoration: none;\\n      background-color: @pagination-bg;\\n      border: 1px solid @pagination-border;\\n      margin-left: -1px;\\n    }\\n    &:first-child {\\n      > a,\\n      > span {\\n        margin-left: 0;\\n        .border-left-radius(@border-radius-base);\\n      }\\n    }\\n    &:last-child {\\n      > a,\\n      > span {\\n        .border-right-radius(@border-radius-base);\\n      }\\n    }\\n  }\\n\\n  > li > a,\\n  > li > span {\\n    &:hover,\\n    &:focus {\\n      background-color: @pagination-hover-bg;\\n    }\\n  }\\n\\n  > .active > a,\\n  > .active > span {\\n    &,\\n    &:hover,\\n    &:focus {\\n      z-index: 2;\\n      color: @pagination-active-color;\\n      background-color: @pagination-active-bg;\\n      border-color: @pagination-active-bg;\\n      cursor: default;\\n    }\\n  }\\n\\n  > .disabled {\\n    > span,\\n    > span:hover,\\n    > span:focus,\\n    > a,\\n    > a:hover,\\n    > a:focus {\\n      color: @pagination-disabled-color;\\n      background-color: @pagination-bg;\\n      border-color: @pagination-border;\\n      cursor: not-allowed;\\n    }\\n  }\\n}\\n\\n// Sizing\\n// --------------------------------------------------\\n\\n// Large\\n.pagination-lg {\\n  .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);\\n}\\n\\n// Small\\n.pagination-sm {\\n  .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);\\n}\\n\",\"panels.less\":\"//\\n// Panels\\n// --------------------------------------------------\\n\\n\\n// Base class\\n.panel {\\n  margin-bottom: @line-height-computed;\\n  background-color: @panel-bg;\\n  border: 1px solid transparent;\\n  border-radius: @panel-border-radius;\\n  .box-shadow(0 1px 1px rgba(0,0,0,.05));\\n}\\n\\n// Panel contents\\n.panel-body {\\n  padding: 15px;\\n  .clearfix();\\n}\\n\\n\\n// List groups in panels\\n//\\n// By default, space out list group content from panel headings to account for\\n// any kind of custom content between the two.\\n\\n.panel {\\n  > .list-group {\\n    margin-bottom: 0;\\n\\n    .list-group-item {\\n      border-width: 1px 0;\\n\\n      // Remove border radius for top one\\n      &:first-child {\\n        .border-top-radius(0);\\n      }\\n      // But keep it for the last one\\n      &:last-child {\\n        border-bottom: 0;\\n      }\\n    }\\n  }\\n}\\n// Collapse space between when there's no additional content.\\n.panel-heading + .list-group {\\n  .list-group-item:first-child {\\n    border-top-width: 0;\\n  }\\n}\\n\\n\\n// Tables in panels\\n//\\n// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and\\n// watch it go full width.\\n\\n.panel {\\n  > .table,\\n  > .table-responsive > .table {\\n    margin-bottom: 0;\\n  }\\n  > .panel-body + .table,\\n  > .panel-body + .table-responsive {\\n    border-top: 1px solid @table-border-color;\\n  }\\n  > .table > tbody:first-child th,\\n  > .table > tbody:first-child td {\\n    border-top: 0;\\n  }\\n  > .table-bordered,\\n  > .table-responsive > .table-bordered {\\n    border: 0;\\n    > thead,\\n    > tbody,\\n    > tfoot {\\n      > tr {\\n        > th:first-child,\\n        > td:first-child {\\n          border-left: 0;\\n        }\\n        > th:last-child,\\n        > td:last-child {\\n          border-right: 0;\\n        }\\n\\n        &:last-child > th,\\n        &:last-child > td {\\n          border-bottom: 0;\\n        }\\n      }\\n    }\\n  }\\n  > .table-responsive {\\n    border: 0;\\n    margin-bottom: 0;\\n  }\\n}\\n\\n\\n// Optional heading\\n.panel-heading {\\n  padding: 10px 15px;\\n  border-bottom: 1px solid transparent;\\n  .border-top-radius(@panel-border-radius - 1);\\n\\n  > .dropdown .dropdown-toggle {\\n    color: inherit;\\n  }\\n}\\n\\n// Within heading, strip any `h*` tag of it's default margins for spacing.\\n.panel-title {\\n  margin-top: 0;\\n  margin-bottom: 0;\\n  font-size: ceil((@font-size-base * 1.125));\\n  color: inherit;\\n\\n  > a {\\n    color: inherit;\\n  }\\n}\\n\\n// Optional footer (stays gray in every modifier class)\\n.panel-footer {\\n  padding: 10px 15px;\\n  background-color: @panel-footer-bg;\\n  border-top: 1px solid @panel-inner-border;\\n  .border-bottom-radius(@panel-border-radius - 1);\\n}\\n\\n\\n// Collapsable panels (aka, accordion)\\n//\\n// Wrap a series of panels in `.panel-group` to turn them into an accordion with\\n// the help of our collapse JavaScript plugin.\\n\\n.panel-group {\\n  // Tighten up margin so it's only between panels\\n  .panel {\\n    margin-bottom: 0;\\n    border-radius: @panel-border-radius;\\n    overflow: hidden; // crop contents when collapsed\\n    + .panel {\\n      margin-top: 5px;\\n    }\\n  }\\n\\n  .panel-heading {\\n    border-bottom: 0;\\n    + .panel-collapse .panel-body {\\n      border-top: 1px solid @panel-inner-border;\\n    }\\n  }\\n  .panel-footer {\\n    border-top: 0;\\n    + .panel-collapse .panel-body {\\n      border-bottom: 1px solid @panel-inner-border;\\n    }\\n  }\\n}\\n\\n\\n// Contextual variations\\n.panel-default {\\n  .panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);\\n}\\n.panel-primary {\\n  .panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);\\n}\\n.panel-success {\\n  .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);\\n}\\n.panel-warning {\\n  .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);\\n}\\n.panel-danger {\\n  .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);\\n}\\n.panel-info {\\n  .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);\\n}\\n\",\"popovers.less\":\"//\\n// Popovers\\n// --------------------------------------------------\\n\\n\\n.popover {\\n  position: absolute;\\n  top: 0;\\n  left: 0;\\n  z-index: @zindex-popover;\\n  display: none;\\n  max-width: @popover-max-width;\\n  padding: 1px;\\n  text-align: left; // Reset given new insertion method\\n  background-color: @popover-bg;\\n  background-clip: padding-box;\\n  border: 1px solid @popover-fallback-border-color;\\n  border: 1px solid @popover-border-color;\\n  border-radius: @border-radius-large;\\n  .box-shadow(0 5px 10px rgba(0,0,0,.2));\\n\\n  // Overrides for proper insertion\\n  white-space: normal;\\n\\n  // Offset the popover to account for the popover arrow\\n  &.top     { margin-top: -10px; }\\n  &.right   { margin-left: 10px; }\\n  &.bottom  { margin-top: 10px; }\\n  &.left    { margin-left: -10px; }\\n}\\n\\n.popover-title {\\n  margin: 0; // reset heading margin\\n  padding: 8px 14px;\\n  font-size: @font-size-base;\\n  font-weight: normal;\\n  line-height: 18px;\\n  background-color: @popover-title-bg;\\n  border-bottom: 1px solid darken(@popover-title-bg, 5%);\\n  border-radius: 5px 5px 0 0;\\n}\\n\\n.popover-content {\\n  padding: 9px 14px;\\n}\\n\\n// Arrows\\n//\\n// .arrow is outer, .arrow:after is inner\\n\\n.popover .arrow {\\n  &,\\n  &:after {\\n    position: absolute;\\n    display: block;\\n    width: 0;\\n    height: 0;\\n    border-color: transparent;\\n    border-style: solid;\\n  }\\n}\\n.popover .arrow {\\n  border-width: @popover-arrow-outer-width;\\n}\\n.popover .arrow:after {\\n  border-width: @popover-arrow-width;\\n  content: \\\"\\\";\\n}\\n\\n.popover {\\n  &.top .arrow {\\n    left: 50%;\\n    margin-left: -@popover-arrow-outer-width;\\n    border-bottom-width: 0;\\n    border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback\\n    border-top-color: @popover-arrow-outer-color;\\n    bottom: -@popover-arrow-outer-width;\\n    &:after {\\n      content: \\\" \\\";\\n      bottom: 1px;\\n      margin-left: -@popover-arrow-width;\\n      border-bottom-width: 0;\\n      border-top-color: @popover-arrow-color;\\n    }\\n  }\\n  &.right .arrow {\\n    top: 50%;\\n    left: -@popover-arrow-outer-width;\\n    margin-top: -@popover-arrow-outer-width;\\n    border-left-width: 0;\\n    border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback\\n    border-right-color: @popover-arrow-outer-color;\\n    &:after {\\n      content: \\\" \\\";\\n      left: 1px;\\n      bottom: -@popover-arrow-width;\\n      border-left-width: 0;\\n      border-right-color: @popover-arrow-color;\\n    }\\n  }\\n  &.bottom .arrow {\\n    left: 50%;\\n    margin-left: -@popover-arrow-outer-width;\\n    border-top-width: 0;\\n    border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback\\n    border-bottom-color: @popover-arrow-outer-color;\\n    top: -@popover-arrow-outer-width;\\n    &:after {\\n      content: \\\" \\\";\\n      top: 1px;\\n      margin-left: -@popover-arrow-width;\\n      border-top-width: 0;\\n      border-bottom-color: @popover-arrow-color;\\n    }\\n  }\\n\\n  &.left .arrow {\\n    top: 50%;\\n    right: -@popover-arrow-outer-width;\\n    margin-top: -@popover-arrow-outer-width;\\n    border-right-width: 0;\\n    border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback\\n    border-left-color: @popover-arrow-outer-color;\\n    &:after {\\n      content: \\\" \\\";\\n      right: 1px;\\n      border-right-width: 0;\\n      border-left-color: @popover-arrow-color;\\n      bottom: -@popover-arrow-width;\\n    }\\n  }\\n\\n}\\n\",\"print.less\":\"//\\n// Basic print styles\\n// --------------------------------------------------\\n// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css\\n\\n@media print {\\n\\n  * {\\n    text-shadow: none !important;\\n    color: #000 !important; // Black prints faster: h5bp.com/s\\n    background: transparent !important;\\n    box-shadow: none !important;\\n  }\\n\\n  a,\\n  a:visited {\\n    text-decoration: underline;\\n  }\\n\\n  a[href]:after {\\n    content: \\\" (\\\" attr(href) \\\")\\\";\\n  }\\n\\n  abbr[title]:after {\\n    content: \\\" (\\\" attr(title) \\\")\\\";\\n  }\\n\\n  // Don't show links for images, or javascript/internal links\\n  a[href^=\\\"javascript:\\\"]:after,\\n  a[href^=\\\"#\\\"]:after {\\n    content: \\\"\\\";\\n  }\\n\\n  pre,\\n  blockquote {\\n    border: 1px solid #999;\\n    page-break-inside: avoid;\\n  }\\n\\n  thead {\\n    display: table-header-group; // h5bp.com/t\\n  }\\n\\n  tr,\\n  img {\\n    page-break-inside: avoid;\\n  }\\n\\n  img {\\n    max-width: 100% !important;\\n  }\\n\\n  @page {\\n    margin: 2cm .5cm;\\n  }\\n\\n  p,\\n  h2,\\n  h3 {\\n    orphans: 3;\\n    widows: 3;\\n  }\\n\\n  h2,\\n  h3 {\\n    page-break-after: avoid;\\n  }\\n\\n  // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245\\n  // Once fixed, we can just straight up remove this.\\n  select {\\n    background: #fff !important;\\n  }\\n\\n  // Bootstrap components\\n  .navbar {\\n    display: none;\\n  }\\n  .table {\\n    td,\\n    th {\\n      background-color: #fff !important;\\n    }\\n  }\\n  .btn,\\n  .dropup > .btn {\\n    > .caret {\\n      border-top-color: #000 !important;\\n    }\\n  }\\n  .label {\\n    border: 1px solid #000;\\n  }\\n\\n  .table {\\n    border-collapse: collapse !important;\\n  }\\n  .table-bordered {\\n    th,\\n    td {\\n      border: 1px solid #ddd !important;\\n    }\\n  }\\n\\n}\\n\",\"progress-bars.less\":\"//\\n// Progress bars\\n// --------------------------------------------------\\n\\n\\n// Bar animations\\n// -------------------------\\n\\n// WebKit\\n@-webkit-keyframes progress-bar-stripes {\\n  from  { background-position: 40px 0; }\\n  to    { background-position: 0 0; }\\n}\\n\\n// Spec and IE10+\\n@keyframes progress-bar-stripes {\\n  from  { background-position: 40px 0; }\\n  to    { background-position: 0 0; }\\n}\\n\\n\\n\\n// Bar itself\\n// -------------------------\\n\\n// Outer container\\n.progress {\\n  overflow: hidden;\\n  height: @line-height-computed;\\n  margin-bottom: @line-height-computed;\\n  background-color: @progress-bg;\\n  border-radius: @border-radius-base;\\n  .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));\\n}\\n\\n// Bar of progress\\n.progress-bar {\\n  float: left;\\n  width: 0%;\\n  height: 100%;\\n  font-size: @font-size-small;\\n  line-height: @line-height-computed;\\n  color: @progress-bar-color;\\n  text-align: center;\\n  background-color: @progress-bar-bg;\\n  .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));\\n  .transition(width .6s ease);\\n}\\n\\n// Striped bars\\n.progress-striped .progress-bar {\\n  #gradient > .striped();\\n  background-size: 40px 40px;\\n}\\n\\n// Call animation for the active one\\n.progress.active .progress-bar {\\n  .animation(progress-bar-stripes 2s linear infinite);\\n}\\n\\n\\n\\n// Variations\\n// -------------------------\\n\\n.progress-bar-success {\\n  .progress-bar-variant(@progress-bar-success-bg);\\n}\\n\\n.progress-bar-info {\\n  .progress-bar-variant(@progress-bar-info-bg);\\n}\\n\\n.progress-bar-warning {\\n  .progress-bar-variant(@progress-bar-warning-bg);\\n}\\n\\n.progress-bar-danger {\\n  .progress-bar-variant(@progress-bar-danger-bg);\\n}\\n\",\"responsive-utilities.less\":\"//\\n// Responsive: Utility classes\\n// --------------------------------------------------\\n\\n\\n// IE10 in Windows (Phone) 8\\n//\\n// Support for responsive views via media queries is kind of borked in IE10, for\\n// Surface/desktop in split view and for Windows Phone 8. This particular fix\\n// must be accompanied by a snippet of JavaScript to sniff the user agent and\\n// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at\\n// our Getting Started page for more information on this bug.\\n//\\n// For more information, see the following:\\n//\\n// Issue: https://github.com/twbs/bootstrap/issues/10497\\n// Docs: http://getbootstrap.com/getting-started/#browsers\\n// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/\\n\\n@-ms-viewport {\\n  width: device-width;\\n}\\n\\n\\n// Visibility utilities\\n\\n.visible-xs {\\n  .responsive-invisibility();\\n  @media (max-width: @screen-xs-max) {\\n    .responsive-visibility();\\n  }\\n  &.visible-sm {\\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  &.visible-md {\\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  &.visible-lg {\\n    @media (min-width: @screen-lg-min) {\\n      .responsive-visibility();\\n    }\\n  }\\n}\\n.visible-sm {\\n  .responsive-invisibility();\\n  &.visible-xs {\\n    @media (max-width: @screen-xs-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\\n    .responsive-visibility();\\n  }\\n  &.visible-md {\\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  &.visible-lg {\\n    @media (min-width: @screen-lg-min) {\\n      .responsive-visibility();\\n    }\\n  }\\n}\\n.visible-md {\\n  .responsive-invisibility();\\n  &.visible-xs {\\n    @media (max-width: @screen-xs-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  &.visible-sm {\\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\\n    .responsive-visibility();\\n  }\\n  &.visible-lg {\\n    @media (min-width: @screen-lg-min) {\\n      .responsive-visibility();\\n    }\\n  }\\n}\\n.visible-lg {\\n  .responsive-invisibility();\\n  &.visible-xs {\\n    @media (max-width: @screen-xs-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  &.visible-sm {\\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  &.visible-md {\\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\\n      .responsive-visibility();\\n    }\\n  }\\n  @media (min-width: @screen-lg-min) {\\n    .responsive-visibility();\\n  }\\n}\\n\\n.hidden-xs {\\n  .responsive-visibility();\\n  @media (max-width: @screen-xs-max) {\\n    .responsive-invisibility();\\n  }\\n  &.hidden-sm {\\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  &.hidden-md {\\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  &.hidden-lg {\\n    @media (min-width: @screen-lg-min) {\\n      .responsive-invisibility();\\n    }\\n  }\\n}\\n.hidden-sm {\\n  .responsive-visibility();\\n  &.hidden-xs {\\n    @media (max-width: @screen-xs-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\\n    .responsive-invisibility();\\n  }\\n  &.hidden-md {\\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  &.hidden-lg {\\n    @media (min-width: @screen-lg-min) {\\n      .responsive-invisibility();\\n    }\\n  }\\n}\\n.hidden-md {\\n  .responsive-visibility();\\n  &.hidden-xs {\\n    @media (max-width: @screen-xs-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  &.hidden-sm {\\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\\n    .responsive-invisibility();\\n  }\\n  &.hidden-lg {\\n    @media (min-width: @screen-lg-min) {\\n      .responsive-invisibility();\\n    }\\n  }\\n}\\n.hidden-lg {\\n  .responsive-visibility();\\n  &.hidden-xs {\\n    @media (max-width: @screen-xs-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  &.hidden-sm {\\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  &.hidden-md {\\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\\n      .responsive-invisibility();\\n    }\\n  }\\n  @media (min-width: @screen-lg-min) {\\n    .responsive-invisibility();\\n  }\\n}\\n\\n// Print utilities\\n.visible-print {\\n  .responsive-invisibility();\\n}\\n\\n@media print {\\n  .visible-print {\\n    .responsive-visibility();\\n  }\\n  .hidden-print {\\n    .responsive-invisibility();\\n  }\\n}\\n\",\"scaffolding.less\":\"//\\n// Scaffolding\\n// --------------------------------------------------\\n\\n\\n// Reset the box-sizing\\n\\n*,\\n*:before,\\n*:after {\\n  .box-sizing(border-box);\\n}\\n\\n\\n// Body reset\\n\\nhtml {\\n  font-size: 62.5%;\\n  -webkit-tap-highlight-color: rgba(0,0,0,0);\\n}\\n\\nbody {\\n  font-family: @font-family-base;\\n  font-size: @font-size-base;\\n  line-height: @line-height-base;\\n  color: @text-color;\\n  background-color: @body-bg;\\n}\\n\\n// Reset fonts for relevant elements\\ninput,\\nbutton,\\nselect,\\ntextarea {\\n  font-family: inherit;\\n  font-size: inherit;\\n  line-height: inherit;\\n}\\n\\n\\n// Links\\n\\na {\\n  color: @link-color;\\n  text-decoration: none;\\n\\n  &:hover,\\n  &:focus {\\n    color: @link-hover-color;\\n    text-decoration: underline;\\n  }\\n\\n  &:focus {\\n    .tab-focus();\\n  }\\n}\\n\\n\\n// Images\\n\\nimg {\\n  vertical-align: middle;\\n}\\n\\n// Responsive images (ensure images don't scale beyond their parents)\\n.img-responsive {\\n  .img-responsive();\\n}\\n\\n// Rounded corners\\n.img-rounded {\\n  border-radius: @border-radius-large;\\n}\\n\\n// Image thumbnails\\n//\\n// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.\\n.img-thumbnail {\\n  padding: @thumbnail-padding;\\n  line-height: @line-height-base;\\n  background-color: @thumbnail-bg;\\n  border: 1px solid @thumbnail-border;\\n  border-radius: @thumbnail-border-radius;\\n  .transition(all .2s ease-in-out);\\n\\n  // Keep them at most 100% wide\\n  .img-responsive(inline-block);\\n}\\n\\n// Perfect circle\\n.img-circle {\\n  border-radius: 50%; // set radius in percents\\n}\\n\\n\\n// Horizontal rules\\n\\nhr {\\n  margin-top:    @line-height-computed;\\n  margin-bottom: @line-height-computed;\\n  border: 0;\\n  border-top: 1px solid @hr-border;\\n}\\n\\n\\n// Only display content to screen readers\\n//\\n// See: http://a11yproject.com/posts/how-to-hide-content/\\n\\n.sr-only {\\n  position: absolute;\\n  width: 1px;\\n  height: 1px;\\n  margin: -1px;\\n  padding: 0;\\n  overflow: hidden;\\n  clip: rect(0,0,0,0);\\n  border: 0;\\n}\\n\",\"tables.less\":\"//\\n// Tables\\n// --------------------------------------------------\\n\\n\\ntable {\\n  max-width: 100%;\\n  background-color: @table-bg;\\n}\\nth {\\n  text-align: left;\\n}\\n\\n\\n// Baseline styles\\n\\n.table {\\n  width: 100%;\\n  margin-bottom: @line-height-computed;\\n  // Cells\\n  > thead,\\n  > tbody,\\n  > tfoot {\\n    > tr {\\n      > th,\\n      > td {\\n        padding: @table-cell-padding;\\n        line-height: @line-height-base;\\n        vertical-align: top;\\n        border-top: 1px solid @table-border-color;\\n      }\\n    }\\n  }\\n  // Bottom align for column headings\\n  > thead > tr > th {\\n    vertical-align: bottom;\\n    border-bottom: 2px solid @table-border-color;\\n  }\\n  // Remove top border from thead by default\\n  > caption + thead,\\n  > colgroup + thead,\\n  > thead:first-child {\\n    > tr:first-child {\\n      > th,\\n      > td {\\n        border-top: 0;\\n      }\\n    }\\n  }\\n  // Account for multiple tbody instances\\n  > tbody + tbody {\\n    border-top: 2px solid @table-border-color;\\n  }\\n\\n  // Nesting\\n  .table {\\n    background-color: @body-bg;\\n  }\\n}\\n\\n\\n// Condensed table w/ half padding\\n\\n.table-condensed {\\n  > thead,\\n  > tbody,\\n  > tfoot {\\n    > tr {\\n      > th,\\n      > td {\\n        padding: @table-condensed-cell-padding;\\n      }\\n    }\\n  }\\n}\\n\\n\\n// Bordered version\\n//\\n// Add borders all around the table and between all the columns.\\n\\n.table-bordered {\\n  border: 1px solid @table-border-color;\\n  > thead,\\n  > tbody,\\n  > tfoot {\\n    > tr {\\n      > th,\\n      > td {\\n        border: 1px solid @table-border-color;\\n      }\\n    }\\n  }\\n  > thead > tr {\\n    > th,\\n    > td {\\n      border-bottom-width: 2px;\\n    }\\n  }\\n}\\n\\n\\n// Zebra-striping\\n//\\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\\n\\n.table-striped {\\n  > tbody > tr:nth-child(odd) {\\n    > td,\\n    > th {\\n      background-color: @table-bg-accent;\\n    }\\n  }\\n}\\n\\n\\n// Hover effect\\n//\\n// Placed here since it has to come after the potential zebra striping\\n\\n.table-hover {\\n  > tbody > tr:hover {\\n    > td,\\n    > th {\\n      background-color: @table-bg-hover;\\n    }\\n  }\\n}\\n\\n\\n// Table cell sizing\\n//\\n// Reset default table behavior\\n\\ntable col[class*=\\\"col-\\\"] {\\n  position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)\\n  float: none;\\n  display: table-column;\\n}\\ntable {\\n  td,\\n  th {\\n    &[class*=\\\"col-\\\"] {\\n      float: none;\\n      display: table-cell;\\n    }\\n  }\\n}\\n\\n\\n// Table backgrounds\\n//\\n// Exact selectors below required to override `.table-striped` and prevent\\n// inheritance to nested tables.\\n\\n// Generate the contextual variants\\n.table-row-variant(active; @table-bg-active);\\n.table-row-variant(success; @state-success-bg);\\n.table-row-variant(danger; @state-danger-bg);\\n.table-row-variant(warning; @state-warning-bg);\\n\\n\\n// Responsive tables\\n//\\n// Wrap your tables in `.table-responsive` and we'll make them mobile friendly\\n// by enabling horizontal scrolling. Only applies <768px. Everything above that\\n// will display normally.\\n\\n@media (max-width: @screen-xs-max) {\\n  .table-responsive {\\n    width: 100%;\\n    margin-bottom: (@line-height-computed * 0.75);\\n    overflow-y: hidden;\\n    overflow-x: scroll;\\n    -ms-overflow-style: -ms-autohiding-scrollbar;\\n    border: 1px solid @table-border-color;\\n    -webkit-overflow-scrolling: touch;\\n\\n    // Tighten up spacing\\n    > .table {\\n      margin-bottom: 0;\\n\\n      // Ensure the content doesn't wrap\\n      > thead,\\n      > tbody,\\n      > tfoot {\\n        > tr {\\n          > th,\\n          > td {\\n            white-space: nowrap;\\n          }\\n        }\\n      }\\n    }\\n\\n    // Special overrides for the bordered tables\\n    > .table-bordered {\\n      border: 0;\\n\\n      // Nuke the appropriate borders so that the parent can handle them\\n      > thead,\\n      > tbody,\\n      > tfoot {\\n        > tr {\\n          > th:first-child,\\n          > td:first-child {\\n            border-left: 0;\\n          }\\n          > th:last-child,\\n          > td:last-child {\\n            border-right: 0;\\n          }\\n        }\\n      }\\n\\n      // Only nuke the last row's bottom-border in `tbody` and `tfoot` since\\n      // chances are there will be only one `tr` in a `thead` and that would\\n      // remove the border altogether.\\n      > tbody,\\n      > tfoot {\\n        > tr:last-child {\\n          > th,\\n          > td {\\n            border-bottom: 0;\\n          }\\n        }\\n      }\\n\\n    }\\n  }\\n}\\n\",\"theme.less\":\"\\n//\\n// Load core variables and mixins\\n// --------------------------------------------------\\n\\n@import \\\"variables.less\\\";\\n@import \\\"mixins.less\\\";\\n\\n\\n\\n//\\n// Buttons\\n// --------------------------------------------------\\n\\n// Common styles\\n.btn-default,\\n.btn-primary,\\n.btn-success,\\n.btn-info,\\n.btn-warning,\\n.btn-danger {\\n  text-shadow: 0 -1px 0 rgba(0,0,0,.2);\\n  @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);\\n  .box-shadow(@shadow);\\n\\n  // Reset the shadow\\n  &:active,\\n  &.active {\\n    .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\\n  }\\n}\\n\\n// Mixin for generating new styles\\n.btn-styles(@btn-color: #555) {\\n  #gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));\\n  .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners\\n  background-repeat: repeat-x;\\n  border-color: darken(@btn-color, 14%);\\n\\n  &:hover,\\n  &:focus  {\\n    background-color: darken(@btn-color, 12%);\\n    background-position: 0 -15px;\\n  }\\n\\n  &:active,\\n  &.active {\\n    background-color: darken(@btn-color, 12%);\\n    border-color: darken(@btn-color, 14%);\\n  }\\n}\\n\\n// Common styles\\n.btn {\\n  // Remove the gradient for the pressed/active state\\n  &:active,\\n  &.active {\\n    background-image: none;\\n  }\\n}\\n\\n// Apply the mixin to the buttons\\n.btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }\\n.btn-primary { .btn-styles(@btn-primary-bg); }\\n.btn-success { .btn-styles(@btn-success-bg); }\\n.btn-warning { .btn-styles(@btn-warning-bg); }\\n.btn-danger  { .btn-styles(@btn-danger-bg); }\\n.btn-info    { .btn-styles(@btn-info-bg); }\\n\\n\\n\\n//\\n// Images\\n// --------------------------------------------------\\n\\n.thumbnail,\\n.img-thumbnail {\\n  .box-shadow(0 1px 2px rgba(0,0,0,.075));\\n}\\n\\n\\n\\n//\\n// Dropdowns\\n// --------------------------------------------------\\n\\n.dropdown-menu > li > a:hover,\\n.dropdown-menu > li > a:focus {\\n  #gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));\\n  background-color: darken(@dropdown-link-hover-bg, 5%);\\n}\\n.dropdown-menu > .active > a,\\n.dropdown-menu > .active > a:hover,\\n.dropdown-menu > .active > a:focus {\\n  #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\\n  background-color: darken(@dropdown-link-active-bg, 5%);\\n}\\n\\n\\n\\n//\\n// Navbar\\n// --------------------------------------------------\\n\\n// Default navbar\\n.navbar-default {\\n  #gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);\\n  .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered\\n  border-radius: @navbar-border-radius;\\n  @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);\\n  .box-shadow(@shadow);\\n\\n  .navbar-nav > .active > a {\\n    #gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%));\\n    .box-shadow(inset 0 3px 9px rgba(0,0,0,.075));\\n  }\\n}\\n.navbar-brand,\\n.navbar-nav > li > a {\\n  text-shadow: 0 1px 0 rgba(255,255,255,.25);\\n}\\n\\n// Inverted navbar\\n.navbar-inverse {\\n  #gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);\\n  .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered\\n\\n  .navbar-nav > .active > a {\\n    #gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%));\\n    .box-shadow(inset 0 3px 9px rgba(0,0,0,.25));\\n  }\\n\\n  .navbar-brand,\\n  .navbar-nav > li > a {\\n    text-shadow: 0 -1px 0 rgba(0,0,0,.25);\\n  }\\n}\\n\\n// Undo rounded corners in static and fixed navbars\\n.navbar-static-top,\\n.navbar-fixed-top,\\n.navbar-fixed-bottom {\\n  border-radius: 0;\\n}\\n\\n\\n\\n//\\n// Alerts\\n// --------------------------------------------------\\n\\n// Common styles\\n.alert {\\n  text-shadow: 0 1px 0 rgba(255,255,255,.2);\\n  @shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);\\n  .box-shadow(@shadow);\\n}\\n\\n// Mixin for generating new styles\\n.alert-styles(@color) {\\n  #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 7.5%));\\n  border-color: darken(@color, 15%);\\n}\\n\\n// Apply the mixin to the alerts\\n.alert-success    { .alert-styles(@alert-success-bg); }\\n.alert-info       { .alert-styles(@alert-info-bg); }\\n.alert-warning    { .alert-styles(@alert-warning-bg); }\\n.alert-danger     { .alert-styles(@alert-danger-bg); }\\n\\n\\n\\n//\\n// Progress bars\\n// --------------------------------------------------\\n\\n// Give the progress background some depth\\n.progress {\\n  #gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)\\n}\\n\\n// Mixin for generating new styles\\n.progress-bar-styles(@color) {\\n  #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 10%));\\n}\\n\\n// Apply the mixin to the progress bars\\n.progress-bar            { .progress-bar-styles(@progress-bar-bg); }\\n.progress-bar-success    { .progress-bar-styles(@progress-bar-success-bg); }\\n.progress-bar-info       { .progress-bar-styles(@progress-bar-info-bg); }\\n.progress-bar-warning    { .progress-bar-styles(@progress-bar-warning-bg); }\\n.progress-bar-danger     { .progress-bar-styles(@progress-bar-danger-bg); }\\n\\n\\n\\n//\\n// List groups\\n// --------------------------------------------------\\n\\n.list-group {\\n  border-radius: @border-radius-base;\\n  .box-shadow(0 1px 2px rgba(0,0,0,.075));\\n}\\n.list-group-item.active,\\n.list-group-item.active:hover,\\n.list-group-item.active:focus {\\n  text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);\\n  #gradient > .vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%));\\n  border-color: darken(@list-group-active-border, 7.5%);\\n}\\n\\n\\n\\n//\\n// Panels\\n// --------------------------------------------------\\n\\n// Common styles\\n.panel {\\n  .box-shadow(0 1px 2px rgba(0,0,0,.05));\\n}\\n\\n// Mixin for generating new styles\\n.panel-heading-styles(@color) {\\n  #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 5%));\\n}\\n\\n// Apply the mixin to the panel headings only\\n.panel-default > .panel-heading   { .panel-heading-styles(@panel-default-heading-bg); }\\n.panel-primary > .panel-heading   { .panel-heading-styles(@panel-primary-heading-bg); }\\n.panel-success > .panel-heading   { .panel-heading-styles(@panel-success-heading-bg); }\\n.panel-info > .panel-heading      { .panel-heading-styles(@panel-info-heading-bg); }\\n.panel-warning > .panel-heading   { .panel-heading-styles(@panel-warning-heading-bg); }\\n.panel-danger > .panel-heading    { .panel-heading-styles(@panel-danger-heading-bg); }\\n\\n\\n\\n//\\n// Wells\\n// --------------------------------------------------\\n\\n.well {\\n  #gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);\\n  border-color: darken(@well-bg, 10%);\\n  @shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);\\n  .box-shadow(@shadow);\\n}\\n\",\"thumbnails.less\":\"//\\n// Thumbnails\\n// --------------------------------------------------\\n\\n\\n// Mixin and adjust the regular image class\\n.thumbnail {\\n  display: block;\\n  padding: @thumbnail-padding;\\n  margin-bottom: @line-height-computed;\\n  line-height: @line-height-base;\\n  background-color: @thumbnail-bg;\\n  border: 1px solid @thumbnail-border;\\n  border-radius: @thumbnail-border-radius;\\n  .transition(all .2s ease-in-out);\\n\\n  > img,\\n  a > img {\\n    .img-responsive();\\n    margin-left: auto;\\n    margin-right: auto;\\n  }\\n\\n  // Add a hover state for linked versions only\\n  a&:hover,\\n  a&:focus,\\n  a&.active {\\n    border-color: @link-color;\\n  }\\n\\n  // Image captions\\n  .caption {\\n    padding: @thumbnail-caption-padding;\\n    color: @thumbnail-caption-color;\\n  }\\n}\\n\",\"tooltip.less\":\"//\\n// Tooltips\\n// --------------------------------------------------\\n\\n\\n// Base class\\n.tooltip {\\n  position: absolute;\\n  z-index: @zindex-tooltip;\\n  display: block;\\n  visibility: visible;\\n  font-size: @font-size-small;\\n  line-height: 1.4;\\n  .opacity(0);\\n\\n  &.in     { .opacity(.9); }\\n  &.top    { margin-top:  -3px; padding: @tooltip-arrow-width 0; }\\n  &.right  { margin-left:  3px; padding: 0 @tooltip-arrow-width; }\\n  &.bottom { margin-top:   3px; padding: @tooltip-arrow-width 0; }\\n  &.left   { margin-left: -3px; padding: 0 @tooltip-arrow-width; }\\n}\\n\\n// Wrapper for the tooltip content\\n.tooltip-inner {\\n  max-width: @tooltip-max-width;\\n  padding: 3px 8px;\\n  color: @tooltip-color;\\n  text-align: center;\\n  text-decoration: none;\\n  background-color: @tooltip-bg;\\n  border-radius: @border-radius-base;\\n}\\n\\n// Arrows\\n.tooltip-arrow {\\n  position: absolute;\\n  width: 0;\\n  height: 0;\\n  border-color: transparent;\\n  border-style: solid;\\n}\\n.tooltip {\\n  &.top .tooltip-arrow {\\n    bottom: 0;\\n    left: 50%;\\n    margin-left: -@tooltip-arrow-width;\\n    border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\\n    border-top-color: @tooltip-arrow-color;\\n  }\\n  &.top-left .tooltip-arrow {\\n    bottom: 0;\\n    left: @tooltip-arrow-width;\\n    border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\\n    border-top-color: @tooltip-arrow-color;\\n  }\\n  &.top-right .tooltip-arrow {\\n    bottom: 0;\\n    right: @tooltip-arrow-width;\\n    border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\\n    border-top-color: @tooltip-arrow-color;\\n  }\\n  &.right .tooltip-arrow {\\n    top: 50%;\\n    left: 0;\\n    margin-top: -@tooltip-arrow-width;\\n    border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;\\n    border-right-color: @tooltip-arrow-color;\\n  }\\n  &.left .tooltip-arrow {\\n    top: 50%;\\n    right: 0;\\n    margin-top: -@tooltip-arrow-width;\\n    border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;\\n    border-left-color: @tooltip-arrow-color;\\n  }\\n  &.bottom .tooltip-arrow {\\n    top: 0;\\n    left: 50%;\\n    margin-left: -@tooltip-arrow-width;\\n    border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\\n    border-bottom-color: @tooltip-arrow-color;\\n  }\\n  &.bottom-left .tooltip-arrow {\\n    top: 0;\\n    left: @tooltip-arrow-width;\\n    border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\\n    border-bottom-color: @tooltip-arrow-color;\\n  }\\n  &.bottom-right .tooltip-arrow {\\n    top: 0;\\n    right: @tooltip-arrow-width;\\n    border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\\n    border-bottom-color: @tooltip-arrow-color;\\n  }\\n}\\n\",\"type.less\":\"//\\n// Typography\\n// --------------------------------------------------\\n\\n\\n// Headings\\n// -------------------------\\n\\nh1, h2, h3, h4, h5, h6,\\n.h1, .h2, .h3, .h4, .h5, .h6 {\\n  font-family: @headings-font-family;\\n  font-weight: @headings-font-weight;\\n  line-height: @headings-line-height;\\n  color: @headings-color;\\n\\n  small,\\n  .small {\\n    font-weight: normal;\\n    line-height: 1;\\n    color: @headings-small-color;\\n  }\\n}\\n\\nh1,\\nh2,\\nh3 {\\n  margin-top: @line-height-computed;\\n  margin-bottom: (@line-height-computed / 2);\\n\\n  small,\\n  .small {\\n    font-size: 65%;\\n  }\\n}\\nh4,\\nh5,\\nh6 {\\n  margin-top: (@line-height-computed / 2);\\n  margin-bottom: (@line-height-computed / 2);\\n\\n  small,\\n  .small {\\n    font-size: 75%;\\n  }\\n}\\n\\nh1, .h1 { font-size: @font-size-h1; }\\nh2, .h2 { font-size: @font-size-h2; }\\nh3, .h3 { font-size: @font-size-h3; }\\nh4, .h4 { font-size: @font-size-h4; }\\nh5, .h5 { font-size: @font-size-h5; }\\nh6, .h6 { font-size: @font-size-h6; }\\n\\n\\n// Body text\\n// -------------------------\\n\\np {\\n  margin: 0 0 (@line-height-computed / 2);\\n}\\n\\n.lead {\\n  margin-bottom: @line-height-computed;\\n  font-size: floor(@font-size-base * 1.15);\\n  font-weight: 200;\\n  line-height: 1.4;\\n\\n  @media (min-width: @screen-sm-min) {\\n    font-size: (@font-size-base * 1.5);\\n  }\\n}\\n\\n\\n// Emphasis & misc\\n// -------------------------\\n\\n// Ex: 14px base font * 85% = about 12px\\nsmall,\\n.small  { font-size: 85%; }\\n\\n// Undo browser default styling\\ncite    { font-style: normal; }\\n\\n// Contextual emphasis\\n.text-muted {\\n  color: @text-muted;\\n}\\n.text-primary {\\n  color: @brand-primary;\\n  &:hover {\\n    color: darken(@brand-primary, 10%);\\n  }\\n}\\n.text-warning {\\n  color: @state-warning-text;\\n  &:hover {\\n    color: darken(@state-warning-text, 10%);\\n  }\\n}\\n.text-danger {\\n  color: @state-danger-text;\\n  &:hover {\\n    color: darken(@state-danger-text, 10%);\\n  }\\n}\\n.text-success {\\n  color: @state-success-text;\\n  &:hover {\\n    color: darken(@state-success-text, 10%);\\n  }\\n}\\n.text-info {\\n  color: @state-info-text;\\n  &:hover {\\n    color: darken(@state-info-text, 10%);\\n  }\\n}\\n\\n// Alignment\\n.text-left           { text-align: left; }\\n.text-right          { text-align: right; }\\n.text-center         { text-align: center; }\\n\\n\\n// Page header\\n// -------------------------\\n\\n.page-header {\\n  padding-bottom: ((@line-height-computed / 2) - 1);\\n  margin: (@line-height-computed * 2) 0 @line-height-computed;\\n  border-bottom: 1px solid @page-header-border-color;\\n}\\n\\n\\n// Lists\\n// --------------------------------------------------\\n\\n// Unordered and Ordered lists\\nul,\\nol {\\n  margin-top: 0;\\n  margin-bottom: (@line-height-computed / 2);\\n  ul,\\n  ol {\\n    margin-bottom: 0;\\n  }\\n}\\n\\n// List options\\n\\n// Unstyled keeps list items block level, just removes default browser padding and list-style\\n.list-unstyled {\\n  padding-left: 0;\\n  list-style: none;\\n}\\n\\n// Inline turns list items into inline-block\\n.list-inline {\\n  .list-unstyled();\\n\\n  > li {\\n    display: inline-block;\\n    padding-left: 5px;\\n    padding-right: 5px;\\n\\n    &:first-child {\\n      padding-left: 0;\\n    }\\n  }\\n}\\n\\n// Description Lists\\ndl {\\n  margin-top: 0; // Remove browser default\\n  margin-bottom: @line-height-computed;\\n}\\ndt,\\ndd {\\n  line-height: @line-height-base;\\n}\\ndt {\\n  font-weight: bold;\\n}\\ndd {\\n  margin-left: 0; // Undo browser default\\n}\\n\\n// Horizontal description lists\\n//\\n// Defaults to being stacked without any of the below styles applied, until the\\n// grid breakpoint is reached (default of ~768px).\\n\\n@media (min-width: @grid-float-breakpoint) {\\n  .dl-horizontal {\\n    dt {\\n      float: left;\\n      width: (@component-offset-horizontal - 20);\\n      clear: left;\\n      text-align: right;\\n      .text-overflow();\\n    }\\n    dd {\\n      margin-left: @component-offset-horizontal;\\n      .clearfix(); // Clear the floated `dt` if an empty `dd` is present\\n    }\\n  }\\n}\\n\\n// MISC\\n// ----\\n\\n// Abbreviations and acronyms\\nabbr[title],\\n// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257\\nabbr[data-original-title] {\\n  cursor: help;\\n  border-bottom: 1px dotted @abbr-border-color;\\n}\\n.initialism {\\n  font-size: 90%;\\n  text-transform: uppercase;\\n}\\n\\n// Blockquotes\\nblockquote {\\n  padding: (@line-height-computed / 2) @line-height-computed;\\n  margin: 0 0 @line-height-computed;\\n  border-left: 5px solid @blockquote-border-color;\\n  p {\\n    font-size: (@font-size-base * 1.25);\\n    font-weight: 300;\\n    line-height: 1.25;\\n  }\\n  p:last-child {\\n    margin-bottom: 0;\\n  }\\n  small,\\n  .small {\\n    display: block;\\n    line-height: @line-height-base;\\n    color: @blockquote-small-color;\\n    &:before {\\n      content: '\\\\2014 \\\\00A0'; // EM DASH, NBSP\\n    }\\n  }\\n\\n  // Float right with text-align: right\\n  &.pull-right {\\n    padding-right: 15px;\\n    padding-left: 0;\\n    border-right: 5px solid @blockquote-border-color;\\n    border-left: 0;\\n    p,\\n    small,\\n    .small {\\n      text-align: right;\\n    }\\n    small,\\n    .small {\\n      &:before {\\n        content: '';\\n      }\\n      &:after {\\n        content: '\\\\00A0 \\\\2014'; // NBSP, EM DASH\\n      }\\n    }\\n  }\\n}\\n\\n// Quotes\\nblockquote:before,\\nblockquote:after {\\n  content: \\\"\\\";\\n}\\n\\n// Addresses\\naddress {\\n  margin-bottom: @line-height-computed;\\n  font-style: normal;\\n  line-height: @line-height-base;\\n}\\n\",\"utilities.less\":\"//\\n// Utility classes\\n// --------------------------------------------------\\n\\n\\n// Floats\\n// -------------------------\\n\\n.clearfix {\\n  .clearfix();\\n}\\n.center-block {\\n  .center-block();\\n}\\n.pull-right {\\n  float: right !important;\\n}\\n.pull-left {\\n  float: left !important;\\n}\\n\\n\\n// Toggling content\\n// -------------------------\\n\\n// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1\\n.hide {\\n  display: none !important;\\n}\\n.show {\\n  display: block !important;\\n}\\n.invisible {\\n  visibility: hidden;\\n}\\n.text-hide {\\n  .text-hide();\\n}\\n\\n\\n// Hide from screenreaders and browsers\\n//\\n// Credit: HTML5 Boilerplate\\n\\n.hidden {\\n  display: none !important;\\n  visibility: hidden !important;\\n}\\n\\n\\n// For Affix plugin\\n// -------------------------\\n\\n.affix {\\n  position: fixed;\\n}\\n\",\"variables.less\":\"//\\n// Variables\\n// --------------------------------------------------\\n\\n\\n// Global values\\n// --------------------------------------------------\\n\\n// Grays\\n// -------------------------\\n\\n@gray-darker:            lighten(#000, 13.5%); // #222\\n@gray-dark:              lighten(#000, 20%);   // #333\\n@gray:                   lighten(#000, 33.5%); // #555\\n@gray-light:             lighten(#000, 60%);   // #999\\n@gray-lighter:           lighten(#000, 93.5%); // #eee\\n\\n// Brand colors\\n// -------------------------\\n\\n@brand-primary:         #428bca;\\n@brand-success:         #5cb85c;\\n@brand-warning:         #f0ad4e;\\n@brand-danger:          #d9534f;\\n@brand-info:            #5bc0de;\\n\\n// Scaffolding\\n// -------------------------\\n\\n@body-bg:               #fff;\\n@text-color:            @gray-dark;\\n\\n// Links\\n// -------------------------\\n\\n@link-color:            @brand-primary;\\n@link-hover-color:      darken(@link-color, 15%);\\n\\n// Typography\\n// -------------------------\\n\\n@font-family-sans-serif:  \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n@font-family-serif:       Georgia, \\\"Times New Roman\\\", Times, serif;\\n@font-family-monospace:   Menlo, Monaco, Consolas, \\\"Courier New\\\", monospace;\\n@font-family-base:        @font-family-sans-serif;\\n\\n@font-size-base:          14px;\\n@font-size-large:         ceil(@font-size-base * 1.25); // ~18px\\n@font-size-small:         ceil(@font-size-base * 0.85); // ~12px\\n\\n@font-size-h1:            floor(@font-size-base * 2.6); // ~36px\\n@font-size-h2:            floor(@font-size-base * 2.15); // ~30px\\n@font-size-h3:            ceil(@font-size-base * 1.7); // ~24px\\n@font-size-h4:            ceil(@font-size-base * 1.25); // ~18px\\n@font-size-h5:            @font-size-base;\\n@font-size-h6:            ceil(@font-size-base * 0.85); // ~12px\\n\\n@line-height-base:        1.428571429; // 20/14\\n@line-height-computed:    floor(@font-size-base * @line-height-base); // ~20px\\n\\n@headings-font-family:    @font-family-base;\\n@headings-font-weight:    500;\\n@headings-line-height:    1.1;\\n@headings-color:          inherit;\\n\\n\\n// Iconography\\n// -------------------------\\n\\n@icon-font-path:          \\\"../fonts/\\\";\\n@icon-font-name:          \\\"glyphicons-halflings-regular\\\";\\n\\n\\n// Components\\n// -------------------------\\n// Based on 14px font-size and 1.428 line-height (~20px to start)\\n\\n@padding-base-vertical:          6px;\\n@padding-base-horizontal:        12px;\\n\\n@padding-large-vertical:         10px;\\n@padding-large-horizontal:       16px;\\n\\n@padding-small-vertical:         5px;\\n@padding-small-horizontal:       10px;\\n\\n@padding-xs-vertical:            1px;\\n@padding-xs-horizontal:          5px;\\n\\n@line-height-large:              1.33;\\n@line-height-small:              1.5;\\n\\n@border-radius-base:             4px;\\n@border-radius-large:            6px;\\n@border-radius-small:            3px;\\n\\n@component-active-color:         #fff;\\n@component-active-bg:            @brand-primary;\\n\\n@caret-width-base:               4px;\\n@caret-width-large:              5px;\\n\\n// Tables\\n// -------------------------\\n\\n@table-cell-padding:                 8px;\\n@table-condensed-cell-padding:       5px;\\n\\n@table-bg:                           transparent; // overall background-color\\n@table-bg-accent:                    #f9f9f9; // for striping\\n@table-bg-hover:                     #f5f5f5;\\n@table-bg-active:                    @table-bg-hover;\\n\\n@table-border-color:                 #ddd; // table and cell border\\n\\n\\n// Buttons\\n// -------------------------\\n\\n@btn-font-weight:                normal;\\n\\n@btn-default-color:              #333;\\n@btn-default-bg:                 #fff;\\n@btn-default-border:             #ccc;\\n\\n@btn-primary-color:              #fff;\\n@btn-primary-bg:                 @brand-primary;\\n@btn-primary-border:             darken(@btn-primary-bg, 5%);\\n\\n@btn-success-color:              #fff;\\n@btn-success-bg:                 @brand-success;\\n@btn-success-border:             darken(@btn-success-bg, 5%);\\n\\n@btn-warning-color:              #fff;\\n@btn-warning-bg:                 @brand-warning;\\n@btn-warning-border:             darken(@btn-warning-bg, 5%);\\n\\n@btn-danger-color:               #fff;\\n@btn-danger-bg:                  @brand-danger;\\n@btn-danger-border:              darken(@btn-danger-bg, 5%);\\n\\n@btn-info-color:                 #fff;\\n@btn-info-bg:                    @brand-info;\\n@btn-info-border:                darken(@btn-info-bg, 5%);\\n\\n@btn-link-disabled-color:        @gray-light;\\n\\n\\n// Forms\\n// -------------------------\\n\\n@input-bg:                       #fff;\\n@input-bg-disabled:              @gray-lighter;\\n\\n@input-color:                    @gray;\\n@input-border:                   #ccc;\\n@input-border-radius:            @border-radius-base;\\n@input-border-focus:             #66afe9;\\n\\n@input-color-placeholder:        @gray-light;\\n\\n@input-height-base:              (@line-height-computed + (@padding-base-vertical * 2) + 2);\\n@input-height-large:             (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);\\n@input-height-small:             (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);\\n\\n@legend-color:                   @gray-dark;\\n@legend-border-color:            #e5e5e5;\\n\\n@input-group-addon-bg:           @gray-lighter;\\n@input-group-addon-border-color: @input-border;\\n\\n\\n// Dropdowns\\n// -------------------------\\n\\n@dropdown-bg:                    #fff;\\n@dropdown-border:                rgba(0,0,0,.15);\\n@dropdown-fallback-border:       #ccc;\\n@dropdown-divider-bg:            #e5e5e5;\\n\\n@dropdown-link-color:            @gray-dark;\\n@dropdown-link-hover-color:      darken(@gray-dark, 5%);\\n@dropdown-link-hover-bg:         #f5f5f5;\\n\\n@dropdown-link-active-color:     @component-active-color;\\n@dropdown-link-active-bg:        @component-active-bg;\\n\\n@dropdown-link-disabled-color:   @gray-light;\\n\\n@dropdown-header-color:          @gray-light;\\n\\n\\n// COMPONENT VARIABLES\\n// --------------------------------------------------\\n\\n\\n// Z-index master list\\n// -------------------------\\n// Used for a bird's eye view of components dependent on the z-axis\\n// Try to avoid customizing these :)\\n\\n@zindex-navbar:            1000;\\n@zindex-dropdown:          1000;\\n@zindex-popover:           1010;\\n@zindex-tooltip:           1030;\\n@zindex-navbar-fixed:      1030;\\n@zindex-modal-background:  1040;\\n@zindex-modal:             1050;\\n\\n// Media queries breakpoints\\n// --------------------------------------------------\\n\\n// Extra small screen / phone\\n// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1\\n@screen-xs:                  480px;\\n@screen-xs-min:              @screen-xs;\\n@screen-phone:               @screen-xs-min;\\n\\n// Small screen / tablet\\n// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1\\n@screen-sm:                  768px;\\n@screen-sm-min:              @screen-sm;\\n@screen-tablet:              @screen-sm-min;\\n\\n// Medium screen / desktop\\n// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1\\n@screen-md:                  992px;\\n@screen-md-min:              @screen-md;\\n@screen-desktop:             @screen-md-min;\\n\\n// Large screen / wide desktop\\n// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1\\n@screen-lg:                  1200px;\\n@screen-lg-min:              @screen-lg;\\n@screen-lg-desktop:          @screen-lg-min;\\n\\n// So media queries don't overlap when required, provide a maximum\\n@screen-xs-max:              (@screen-sm-min - 1);\\n@screen-sm-max:              (@screen-md-min - 1);\\n@screen-md-max:              (@screen-lg-min - 1);\\n\\n\\n// Grid system\\n// --------------------------------------------------\\n\\n// Number of columns in the grid system\\n@grid-columns:              12;\\n// Padding, to be divided by two and applied to the left and right of all columns\\n@grid-gutter-width:         30px;\\n\\n// Navbar collapse\\n\\n// Point at which the navbar becomes uncollapsed\\n@grid-float-breakpoint:     @screen-sm-min;\\n// Point at which the navbar begins collapsing\\n@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);\\n\\n\\n// Navbar\\n// -------------------------\\n\\n// Basics of a navbar\\n@navbar-height:                    50px;\\n@navbar-margin-bottom:             @line-height-computed;\\n@navbar-border-radius:             @border-radius-base;\\n@navbar-padding-horizontal:        floor(@grid-gutter-width / 2);\\n@navbar-padding-vertical:          ((@navbar-height - @line-height-computed) / 2);\\n\\n@navbar-default-color:             #777;\\n@navbar-default-bg:                #f8f8f8;\\n@navbar-default-border:            darken(@navbar-default-bg, 6.5%);\\n\\n// Navbar links\\n@navbar-default-link-color:                #777;\\n@navbar-default-link-hover-color:          #333;\\n@navbar-default-link-hover-bg:             transparent;\\n@navbar-default-link-active-color:         #555;\\n@navbar-default-link-active-bg:            darken(@navbar-default-bg, 6.5%);\\n@navbar-default-link-disabled-color:       #ccc;\\n@navbar-default-link-disabled-bg:          transparent;\\n\\n// Navbar brand label\\n@navbar-default-brand-color:               @navbar-default-link-color;\\n@navbar-default-brand-hover-color:         darken(@navbar-default-brand-color, 10%);\\n@navbar-default-brand-hover-bg:            transparent;\\n\\n// Navbar toggle\\n@navbar-default-toggle-hover-bg:           #ddd;\\n@navbar-default-toggle-icon-bar-bg:        #ccc;\\n@navbar-default-toggle-border-color:       #ddd;\\n\\n\\n// Inverted navbar\\n//\\n// Reset inverted navbar basics\\n@navbar-inverse-color:                      @gray-light;\\n@navbar-inverse-bg:                         #222;\\n@navbar-inverse-border:                     darken(@navbar-inverse-bg, 10%);\\n\\n// Inverted navbar links\\n@navbar-inverse-link-color:                 @gray-light;\\n@navbar-inverse-link-hover-color:           #fff;\\n@navbar-inverse-link-hover-bg:              transparent;\\n@navbar-inverse-link-active-color:          @navbar-inverse-link-hover-color;\\n@navbar-inverse-link-active-bg:             darken(@navbar-inverse-bg, 10%);\\n@navbar-inverse-link-disabled-color:        #444;\\n@navbar-inverse-link-disabled-bg:           transparent;\\n\\n// Inverted navbar brand label\\n@navbar-inverse-brand-color:                @navbar-inverse-link-color;\\n@navbar-inverse-brand-hover-color:          #fff;\\n@navbar-inverse-brand-hover-bg:             transparent;\\n\\n// Inverted navbar toggle\\n@navbar-inverse-toggle-hover-bg:            #333;\\n@navbar-inverse-toggle-icon-bar-bg:         #fff;\\n@navbar-inverse-toggle-border-color:        #333;\\n\\n\\n// Navs\\n// -------------------------\\n\\n@nav-link-padding:                          10px 15px;\\n@nav-link-hover-bg:                         @gray-lighter;\\n\\n@nav-disabled-link-color:                   @gray-light;\\n@nav-disabled-link-hover-color:             @gray-light;\\n\\n@nav-open-link-hover-color:                 #fff;\\n\\n// Tabs\\n@nav-tabs-border-color:                     #ddd;\\n\\n@nav-tabs-link-hover-border-color:          @gray-lighter;\\n\\n@nav-tabs-active-link-hover-bg:             @body-bg;\\n@nav-tabs-active-link-hover-color:          @gray;\\n@nav-tabs-active-link-hover-border-color:   #ddd;\\n\\n@nav-tabs-justified-link-border-color:            #ddd;\\n@nav-tabs-justified-active-link-border-color:     @body-bg;\\n\\n// Pills\\n@nav-pills-border-radius:                   @border-radius-base;\\n@nav-pills-active-link-hover-bg:            @component-active-bg;\\n@nav-pills-active-link-hover-color:         @component-active-color;\\n\\n\\n// Pagination\\n// -------------------------\\n\\n@pagination-bg:                        #fff;\\n@pagination-border:                    #ddd;\\n\\n@pagination-hover-bg:                  @gray-lighter;\\n\\n@pagination-active-bg:                 @brand-primary;\\n@pagination-active-color:              #fff;\\n\\n@pagination-disabled-color:            @gray-light;\\n\\n\\n// Pager\\n// -------------------------\\n\\n@pager-border-radius:                  15px;\\n@pager-disabled-color:                 @gray-light;\\n\\n\\n// Jumbotron\\n// -------------------------\\n\\n@jumbotron-padding:              30px;\\n@jumbotron-color:                inherit;\\n@jumbotron-bg:                   @gray-lighter;\\n@jumbotron-heading-color:        inherit;\\n@jumbotron-font-size:            ceil(@font-size-base * 1.5);\\n\\n\\n// Form states and alerts\\n// -------------------------\\n\\n@state-success-text:             #3c763d;\\n@state-success-bg:               #dff0d8;\\n@state-success-border:           darken(spin(@state-success-bg, -10), 5%);\\n\\n@state-info-text:                #31708f;\\n@state-info-bg:                  #d9edf7;\\n@state-info-border:              darken(spin(@state-info-bg, -10), 7%);\\n\\n@state-warning-text:             #8a6d3b;\\n@state-warning-bg:               #fcf8e3;\\n@state-warning-border:           darken(spin(@state-warning-bg, -10), 5%);\\n\\n@state-danger-text:              #a94442;\\n@state-danger-bg:                #f2dede;\\n@state-danger-border:            darken(spin(@state-danger-bg, -10), 5%);\\n\\n\\n// Tooltips\\n// -------------------------\\n@tooltip-max-width:           200px;\\n@tooltip-color:               #fff;\\n@tooltip-bg:                  #000;\\n\\n@tooltip-arrow-width:         5px;\\n@tooltip-arrow-color:         @tooltip-bg;\\n\\n\\n// Popovers\\n// -------------------------\\n@popover-bg:                          #fff;\\n@popover-max-width:                   276px;\\n@popover-border-color:                rgba(0,0,0,.2);\\n@popover-fallback-border-color:       #ccc;\\n\\n@popover-title-bg:                    darken(@popover-bg, 3%);\\n\\n@popover-arrow-width:                 10px;\\n@popover-arrow-color:                 #fff;\\n\\n@popover-arrow-outer-width:           (@popover-arrow-width + 1);\\n@popover-arrow-outer-color:           rgba(0,0,0,.25);\\n@popover-arrow-outer-fallback-color:  #999;\\n\\n\\n// Labels\\n// -------------------------\\n\\n@label-default-bg:            @gray-light;\\n@label-primary-bg:            @brand-primary;\\n@label-success-bg:            @brand-success;\\n@label-info-bg:               @brand-info;\\n@label-warning-bg:            @brand-warning;\\n@label-danger-bg:             @brand-danger;\\n\\n@label-color:                 #fff;\\n@label-link-hover-color:      #fff;\\n\\n\\n// Modals\\n// -------------------------\\n@modal-inner-padding:         20px;\\n\\n@modal-title-padding:         15px;\\n@modal-title-line-height:     @line-height-base;\\n\\n@modal-content-bg:                             #fff;\\n@modal-content-border-color:                   rgba(0,0,0,.2);\\n@modal-content-fallback-border-color:          #999;\\n\\n@modal-backdrop-bg:           #000;\\n@modal-header-border-color:   #e5e5e5;\\n@modal-footer-border-color:   @modal-header-border-color;\\n\\n\\n// Alerts\\n// -------------------------\\n@alert-padding:               15px;\\n@alert-border-radius:         @border-radius-base;\\n@alert-link-font-weight:      bold;\\n\\n@alert-success-bg:            @state-success-bg;\\n@alert-success-text:          @state-success-text;\\n@alert-success-border:        @state-success-border;\\n\\n@alert-info-bg:               @state-info-bg;\\n@alert-info-text:             @state-info-text;\\n@alert-info-border:           @state-info-border;\\n\\n@alert-warning-bg:            @state-warning-bg;\\n@alert-warning-text:          @state-warning-text;\\n@alert-warning-border:        @state-warning-border;\\n\\n@alert-danger-bg:             @state-danger-bg;\\n@alert-danger-text:           @state-danger-text;\\n@alert-danger-border:         @state-danger-border;\\n\\n\\n// Progress bars\\n// -------------------------\\n@progress-bg:                 #f5f5f5;\\n@progress-bar-color:          #fff;\\n\\n@progress-bar-bg:             @brand-primary;\\n@progress-bar-success-bg:     @brand-success;\\n@progress-bar-warning-bg:     @brand-warning;\\n@progress-bar-danger-bg:      @brand-danger;\\n@progress-bar-info-bg:        @brand-info;\\n\\n\\n// List group\\n// -------------------------\\n@list-group-bg:               #fff;\\n@list-group-border:           #ddd;\\n@list-group-border-radius:    @border-radius-base;\\n\\n@list-group-hover-bg:         #f5f5f5;\\n@list-group-active-color:     @component-active-color;\\n@list-group-active-bg:        @component-active-bg;\\n@list-group-active-border:    @list-group-active-bg;\\n\\n@list-group-link-color:          #555;\\n@list-group-link-heading-color:  #333;\\n\\n\\n// Panels\\n// -------------------------\\n@panel-bg:                    #fff;\\n@panel-inner-border:          #ddd;\\n@panel-border-radius:         @border-radius-base;\\n@panel-footer-bg:             #f5f5f5;\\n\\n@panel-default-text:          @gray-dark;\\n@panel-default-border:        #ddd;\\n@panel-default-heading-bg:    #f5f5f5;\\n\\n@panel-primary-text:          #fff;\\n@panel-primary-border:        @brand-primary;\\n@panel-primary-heading-bg:    @brand-primary;\\n\\n@panel-success-text:          @state-success-text;\\n@panel-success-border:        @state-success-border;\\n@panel-success-heading-bg:    @state-success-bg;\\n\\n@panel-warning-text:          @state-warning-text;\\n@panel-warning-border:        @state-warning-border;\\n@panel-warning-heading-bg:    @state-warning-bg;\\n\\n@panel-danger-text:           @state-danger-text;\\n@panel-danger-border:         @state-danger-border;\\n@panel-danger-heading-bg:     @state-danger-bg;\\n\\n@panel-info-text:             @state-info-text;\\n@panel-info-border:           @state-info-border;\\n@panel-info-heading-bg:       @state-info-bg;\\n\\n\\n// Thumbnails\\n// -------------------------\\n@thumbnail-padding:           4px;\\n@thumbnail-bg:                @body-bg;\\n@thumbnail-border:            #ddd;\\n@thumbnail-border-radius:     @border-radius-base;\\n\\n@thumbnail-caption-color:     @text-color;\\n@thumbnail-caption-padding:   9px;\\n\\n\\n// Wells\\n// -------------------------\\n@well-bg:                     #f5f5f5;\\n\\n\\n// Badges\\n// -------------------------\\n@badge-color:                 #fff;\\n@badge-link-hover-color:      #fff;\\n@badge-bg:                    @gray-light;\\n\\n@badge-active-color:          @link-color;\\n@badge-active-bg:             #fff;\\n\\n@badge-font-weight:           bold;\\n@badge-line-height:           1;\\n@badge-border-radius:         10px;\\n\\n\\n// Breadcrumbs\\n// -------------------------\\n@breadcrumb-bg:               #f5f5f5;\\n@breadcrumb-color:            #ccc;\\n@breadcrumb-active-color:     @gray-light;\\n@breadcrumb-separator:        \\\"/\\\";\\n\\n\\n// Carousel\\n// ------------------------\\n\\n@carousel-text-shadow:                        0 1px 2px rgba(0,0,0,.6);\\n\\n@carousel-control-color:                      #fff;\\n@carousel-control-width:                      15%;\\n@carousel-control-opacity:                    .5;\\n@carousel-control-font-size:                  20px;\\n\\n@carousel-indicator-active-bg:                #fff;\\n@carousel-indicator-border-color:             #fff;\\n\\n@carousel-caption-color:                      #fff;\\n\\n\\n// Close\\n// ------------------------\\n@close-font-weight:           bold;\\n@close-color:                 #000;\\n@close-text-shadow:           0 1px 0 #fff;\\n\\n\\n// Code\\n// ------------------------\\n@code-color:                  #c7254e;\\n@code-bg:                     #f9f2f4;\\n\\n@pre-bg:                      #f5f5f5;\\n@pre-color:                   @gray-dark;\\n@pre-border-color:            #ccc;\\n@pre-scrollable-max-height:   340px;\\n\\n// Type\\n// ------------------------\\n@text-muted:                  @gray-light;\\n@abbr-border-color:           @gray-light;\\n@headings-small-color:        @gray-light;\\n@blockquote-small-color:      @gray-light;\\n@blockquote-border-color:     @gray-lighter;\\n@page-header-border-color:    @gray-lighter;\\n\\n// Miscellaneous\\n// -------------------------\\n\\n// Hr border color\\n@hr-border:                   @gray-lighter;\\n\\n// Horizontal forms & lists\\n@component-offset-horizontal: 180px;\\n\\n\\n// Container sizes\\n// --------------------------------------------------\\n\\n// Small screen / tablet\\n@container-tablet:             ((720px + @grid-gutter-width));\\n@container-sm:                 @container-tablet;\\n\\n// Medium screen / desktop\\n@container-desktop:            ((940px + @grid-gutter-width));\\n@container-md:                 @container-desktop;\\n\\n// Large screen / wide desktop\\n@container-large-desktop:      ((1140px + @grid-gutter-width));\\n@container-lg:                 @container-large-desktop;\\n\",\"wells.less\":\"//\\n// Wells\\n// --------------------------------------------------\\n\\n\\n// Base class\\n.well {\\n  min-height: 20px;\\n  padding: 19px;\\n  margin-bottom: 20px;\\n  background-color: @well-bg;\\n  border: 1px solid darken(@well-bg, 7%);\\n  border-radius: @border-radius-base;\\n  .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));\\n  blockquote {\\n    border-color: #ddd;\\n    border-color: rgba(0,0,0,.15);\\n  }\\n}\\n\\n// Sizes\\n.well-lg {\\n  padding: 24px;\\n  border-radius: @border-radius-large;\\n}\\n.well-sm {\\n  padding: 9px;\\n  border-radius: @border-radius-small;\\n}\\n\"}\nvar __fonts = {\"glyphicons-halflings-regular.eot\":\"Qk8AAORNAAACAAIABAAAAAAABQAAAAAAAAABAJABAAAEAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAlFiqLgAAAAAAAAAAAAAAAAAAAAAAACgARwBMAFkAUABIAEkAQwBPAE4AUwAgAEgAYQBsAGYAbABpAG4AZwBzAAAADgBSAGUAZwB1AGwAYQByAAAAeABWAGUAcgBzAGkAbwBuACAAMQAuADAAMAAxADsAUABTACAAMAAwADEALgAwADAAMQA7AGgAbwB0AGMAbwBuAHYAIAAxAC4AMAAuADcAMAA7AG0AYQBrAGUAbwB0AGYALgBsAGkAYgAyAC4ANQAuADUAOAAzADIAOQAAADgARwBMAFkAUABIAEkAQwBPAE4AUwAgAEgAYQBsAGYAbABpAG4AZwBzACAAUgBlAGcAdQBsAGEAcgAAAAAAQlNHUAAAAAAAAAAAAAAAAAAAAAADAHakADVPADVVAC1SEs3pishg2FfJaEtxSn94IlU6ciwvljRcm9wVDgxsadLb0/GIypoPBp1Fx0xGTbQdxoAU5VYoZ9RXGB02uafkVuSWYBRtg1+QZlqefQSHfv7JFM9Iyvq48Gklw1tEZBuFmSJ346vA0HqSLAnfmOjLYkHVBWkqAfbl1SsyDA6G7jiAoMss5aqzwxvWQtxJUNdmSabNoUkE9t6H0CvNsQHWdxWjM6YtuwDptatiENRi5AnLiwFcLrVmqTCOGQNnrLIt9H2NAlAxlyfPwAM9iam2rm59QMCkQNix6AvYcpvRVQq9s6iyCJi4+SsoLKypVWfEY7TjMa0Ud/zjhkz8ojm2kvGA+W7ohmDZB59Hdo4UIQWiKIGdXFPVyEpU73PTM2SqJnJ160792/xd2n3jTHG4jNQ0sNLBNQVXFbhloW8PQDfcQJgCzBdgw21gyoaUNqfqHFAJcFyjcWaRM2gUPEBBGdTDVSZR1Sq5teNdWJwlabUsEWcHfyFSHkLSYS8yFxLxMiF5M5IPsHRNhcIKDkUXCvt6Rdoy0aAUy5zwcMKoRRDrBWC59TKvKcM730LJ4IL0aI5QEyrK0K59Ll2GakW3vStJ+CooTMbH8pE95RlzBuRWcxIbWNFOluI6lcf1oBISZdV/T28ZfwgPpVsUipng4fHWUDaUUqgavzY8a41byA7WfJCKRZullA3ThUn4RARx8BHAiS7ltJtfprnkqPVCuiBWTCqtnVS0yoUgGO0bUte+lmlZF1ZuAwVyK9PSxxJ12ILsWmDPbY3g7LZ3XT3fj64SN+J0JRs/6rB8nVygZiDahuzAwgO50EW0EIQLL/okBRMLzyNKGbd3iTBJwScczfh81CR0pgYJ/oFcGESVYaZRMCIGchGOm0Axem+UmnnZkKAkOseAsyYIY8SNelTRJcZcoOiW5aGjykUJ4CXprDm1LK1hbHPTM0P3umHdseY4iBuxSoVthKS9ORy8wK4j5IgKCzWkU6qtCSYCmTgLk0qxDyE5sbLQyQgPC8OO54Mbisiwezi6FaW9gey0wmag6Aj3UPMasWc8+qSapDICXSYqoeshE2gts5rZmENcOY9a/ZrsmuHPWwkEGTR0O05DdGIF/UYpMypESp5RHqNLpSMvDCt7WsWKPTbRZe7k/QaFmVkXWMUPggi4ACF5bGAVI+VBrez/CqIftUqy2HVPF1LGxOZPwSfaJxMXIMskyL2atJw7hUsE5HXz0kiuQHo6moq9VNOsmyTxkFwwabcEC5VloGH1uAsm0fYG/R6iTyvzqUnfKJJ/VPdRMGFOlENJ4U1W7HP4uz1nETnGbZ999nHB8do4cE7kKR/4nLW3X6MVu29ptpGvCtUU2J1EPqmbFBTUznSyES/qbNVneCgUknkEe2EI+xKwCEQir++HkPdagp6P3yDIMfeGuCjPZFdO+t3wtXIe1Ueirht8w02lRddYpwarpHHblYWgOsOEIjU5USkzZfOjQhxgXOqt5aHxWUc+WA4pSSAn+MtfXGrJ0ItYK4bZb53kg3qY7whUeTcqYXUo1u3kzMxCEgm+tUC69AVo4u3a7aPwpf+cuGFAOOen7UjDD657L9TMwjz9vtT8/tZiYrRs8Gq9j48DDzZz6iCSdtYpSyRGnPtZNddF6kSAKbVFAFoFtjNWERW4gGauUyYZPyLB+5WG1Q3CsJYffYEG0xgyUT+ZoQmIGmiS5a6/hB2BBxbxNjQa5cQz1sLSWSs0V42EmqOtUkAgtVDi29GvMg5ZSuvU2Yzs7FTQQ8md+EVjKtfXNOJnNv+Oqey8pFsLMxYOAhF82EMR8+ABrPlZqX2Yiw1lC1K5HRBffPG0ohxvgZtFScl7kcxjHfKy+Qklnma4xF+MWVG6EleWC1pg3n08UeG+mZAcJPmAFnlsTgjz2M7lrDXGKTzIBStNBXpP4wwUxI6PPi4I5BuGjIJ/2Y8ViRT8AcoJyr65D5EwBGbsZTN4MVEniPZwsGteovXyLPxbGlHA04Bhgae12B9sZrJALsddmkpZbzSZggxf180Enrmthvtdk8SDwjk4QgmCeOnf52J/CAKIFH/C+ZY5Nb4idYkDSJQQMI4bU6g/tgnScd4riYYgwFTXJyhh1Ts6iDwfbZJI3Uy/ZGWhTbcCzKTCGtGeBG+FMlNRRhiMoTJj/vcYpQDmKJ86QrXhbOzzOoCt4Pgoh909PNH2uEoW5iyJILoDEPaJaypHG+Iym0PHrf0ktvfOXAmaEeOgW82pcLouKwgE1nyNMByLykw5OkfDPmK88FlEb5hWOWhkLJgSC9GPxLOmkW2uvlTKZVgyV4wOgrNecfu/2Gr2PiHSKmFj4qV65ThZovgiJ9X3cj2ACMnPhlMPlfEqIR5cIeF2gbv/vao0opdJUZGyYcqHrenNGgYA76OMnMttispprOJS6akPzNAzThAlxdH9BErBeJAiPjeMhJIyMk1/fhGWtsq9MmYGtrBH5CUhKXHXQczhCwSPkTgo/wqIYqd2kl7cKtlbcFwgxjZ0tfEKd4pDF3Ow/ZfSkCwXpx0gbMlmCUPTuetpH7kVU2MGRI6XJzPPwk2CnCWOqWagzWH1qbAgnfNLtZOjBShxkSoask2lAUKrmCTx4vRIk9oGB1zJZ5/C7atw+ovLm4miMtSCgFjHQVjwOBk8ZhiYclAoK0NDeCCAHXczPVgcSYsDhSsCp0oZU1dzO8MoJOr9tnRlEzlw5lfadrlEDGq6sRmmF2IUeySaPodw2NAo06lqxKlvQmbOQwsgI8tMJWNmtdh0bulwZXtct6Hrk4eTxsU3HaIKLPrEWKfEsVDFJfSAItMdATfFWKJe31A1gSxNEwl2hRgfDsmTdcrMVcY6Qffy90m5MVwWGopyOAGApOSpaUXxeOlY94//iAg7ZFM09Gbhx94fgUnDvEn6AE+TUqEEktxINA0Z4ChGg3+0RnKZFBSHkHieYjdV0IhA8v6G47QpeX5jCDiisAvoAgk4pj298aNvLY6KK9zcbqCLAKQCM7m5RDIBIP2E6iAcxDWITGYh+r/A9jfbwYLlWWSG4hEBAz61vg5O4nm5Dgt9p5PAETYCisjz9gKl7eKQ7Cuv/+0596PMVORriikkRdSNtEpkWvyzsNmfYvjLyMEXlA5ZtgNRdDkQ5AgbBM/iMBVsHj8skuKO8NIdkEcgKet5YRtHQRncGRo7O0V0r9RHGRKiAIrmNXbBitUOCCFy9cIaGc+oqCbN9wT7mZdIQYa0dPLBSO2IUUmeGjbtAP9fWwCvhe/Y1ZvEhZqnT63Nghq/RGv02TNRklgswsIp+isHiNIC7WxVYifldvLr/vkvmwI0FS/jaO04BshQ7r3wCJFuQUienJMHhAcprbkKT2Nb88wADDsk2zBmCAXzqKGtuLZZbhcUSzCQF+OCxHN+gb9rUl+cZwZBnYtjIDET+6F4nYXhvP3CRyC68e8pYEIWAMoIWYGSfA5cB4RQo8Y4Eg6BhDBm8+KAqQHUaT+qNiGLPBAHsgf/D6xWgQVy0HaDguWmMq150RTrrcStnQYo7WO7INS+oZFo6+5wLS2oMMRS1QZVxEKmb40DRgfFSSmZT8WmxLMyaqIbRCFZfGCeCYBq7cQsGg8PnSINBLWmZWMpMaNkOm4qq+7L5QII1UbdXYZ8GHIEin89G49xDA276c8NCfzJDIBsFAPlJsojboN2DuKBGPpbvg8aZ5tM/Gla6Cy84ElQt4iVuHaDKrOTXdovwgoTAybryV9BLlBAquZtoTUqV/FmUxTK8KYYXRMqE7BgoGeBNaUAy7pyM92BzJ1dF0JvCsFoxOkRq8dyyS9PRIiMErJYa4chkEsL+zll8NQl4OqJGOHkzNAjewM3B0FwBQuXwxZG6BlwdAI7o+iyM8yUPRDPJCnkQOCMEwKzUGF3JpioCKfjcWyAPdWhcqcREbCHkMCkSuPzu8DKhkLgCL7wsvjFG12jnBJutA11haMPuAQm3Me4SkHaAXu/KW1Q9NwPgQdG4GwvlzAsJneqpXDThL5K3LW6Y0hLGtnCbQqFBOReqXL0ZAjy8JhwrBSE4ddKBNQCYQngxQqxYZmCJlv9/Pd6moKqHEEYwoYnfigd/C+uJ1sYaHZvq1hg+mWj8RLhwkDRMAMmrWZrq4efcKhkqGS+2xHxaEYMZRL2AKtU9/9dkQG3mCVRKhakr6i2H9XbJQBSQpHq3lmsteuGH1h6gYEUJ1Iy8/hzhlw4ZoXcPYAfiGj94+5zA4J6R3FudFWvgiI9Zl30qUIZwmCFfJh4FlrFtCzXKBkneyQQJNMXlkxZU+kWxZSCF77ib6TzbQAiILNQOukH/BkFpcrp3MAA9AHkGVCok/IEIy9KHkSr/t8d7umlw4r0ZIEtLN7uhTpOIq5B25x7bSJlar+TDErdgscTodTSHiWHQyiKdtEzTXjHOpF5tUFJM8L9NcMvr7gDIW+UB1/n8r3IlX5nxYWxt+l1e5HY2H3wgVm0xSYIwZHhvEmDcndIgtmlINGypdqeif+dIqtAk43as3bnNGHWRv/yoCwJ1iFXp6arRYhluCR3FBKUMmhE2iSPsyHChUIQHQCgS/il5sUXGylWIsgQ8Qp6iZp1+9C3nkzGXpWNe/o8jrXwN83CK5CAHMvp7aE3pNPIRUYh/eIJVXbujyEhlgOXND3WvoMuw30kx/hi44OcpqGdhbcZxhOIGZsm8mPG/jjBLOn3PNyjAw4KQMOZHDd0fR/ho9KW1iGyovpHOHNhw32A/4KgtgYNsmReSUd0wSYozB8iq43bKVzkPBbJF2OJOLKvJfN2uHbBxg0gZlButi4vxOfWAewg1w0hosOX52RA08MMo0Zomdkwa6TAqMrDWal0tg6NwbsjX0u4Z1MF2PI6MNJzKJO4/V9fMzQKxlgqDIqA1gEYB3xCNHZ9YbGCCKjLBEQqV3cDsJ13Syn+3cdwzDaB7ADifxzeFKgAFBjxrRvkFHrD8EIACTV8UilTUKjkuAXarefZF4G+1IMIGoEmBLc+OwEkgfBcMCRkgbYyrfa7A/8noZ0d0I1aC11kfTtldBdfZF6+JJ5r6+l6LLkgKxmFyeSjya3IhGP4ONCFvzAOIU+LRFAa2BGsZKUtbI84IJTtru0TEc5A+Af6TSWAiuXk0YV4guy2XJUbKVeDiLW0iOhZbLCMGiimfLVWA4EMlmwAEk4F7E5v1EKcBOHp10BT8YvnOn5lusmOCd0V0kKiroR/7y6zYRzVGsDpEaJi25C2y2Rtde9ZSCcCggK2h+EjJ/B2nbqwY4q9gT3W0dBsTpIfJEKH5IJV2QQ+Y6dqFk3lwKHi0SkGBx9SqY+ByQDI2fRSxOcbA+r+UArp8gP/LO+SqtAhlj+xhSqB+mfobySC9eszQORkoPI2PMoyAD/RraIv9M7Pqh5YJYksTlD6qosG4n+bSvoImW+pPAEMlgRzbf+GynTdKIEzHAyxWPngQFnmwDOPL6aO6OQzZKE4XUnaiTcXOVkH5GDmTCS/WpKDBFaCyNSDAcpCOmtijlsaNcUFBYNAUFrigvohZSItGTaLRi6DJFsr0n2nurRZQULjBQCLFgiBYDKjydZ8nZH8ZbbTNXo1vzK4LIkiyfTeYgdbAy/KSpyRLivVV+jL1aCE69FRqwQoNKnIRhr36gyjMTMdMtGa4sRU6WMwFAa44QPFhEUXTTrGIEewbhlC26TkZag2NZVZLWCxBdYbMIbVz4HSACT4TiDeSIZYxlBaYfuemwPiakxgsgteRJ4U5BCSAlhKCewhyWTJDQGFSOhYOem2Reh90cPJ0FzGsAAvkDQcCw8iDaOr8ed7d6q7DTEpUIbNQoBWwiI/9OfF/D17FMUdwKO2FYNqqt9Rt1QTkO9CItYiyQWS2taNAbASnLKn6xWI21zoF2sMiBiwSZ+Tcbh5cCRBOySBE4p+npxMXMzKlPTKd2RViRtAlnn7bZ99H7GFO5Z15WYimZFBICk+uPAn0IErrCHFk/lkqC3EadIcMYuRIZP4Z2i6Z55cAWcZ2gGAwiKVWwzMs11irLkxQtftgRYjrEHXxIYBkCTh6NEOXXZ4ADxMx6+fICQwAZYmcGK9SNM5ijZHSuEh3JgMJjCMq5Co3jfdLr0C6o7KrmKQyhthQhJdSV4vQs98qS2kLE0GcPEOVd46RXBmWUR36CeZwHkzsIrQc6p4Jv4iDZVgOiHPkhG2EjHJB3X1SJ2T9gE5oVgfWk+jR0RzqggJHMtBfeMCLE4/hFXyJ7yGab0zacOA8cQiXx4cwumlQ4JNqhCxwY67WJr9pgw1AYdX3Ip3sRmzL78G8M/eCXNc04SgiH0w9A5gX42Is0BBbqd+CxAYiKFCtShQr3tiZjvD0qPqJQHHVfiPwrj9TLcaXQR8gd0QtM5HJDMiEHlKiQl2DXhjeW0MkgWz4naTMBDFM+KOQn0H7N0vuG7w8W0H1aayoargK/t2qaJc07LC3bsYfqRoAXOG3NxeES3uacIhWr7aaeo0G1XBWpGMEmXJRJ8Oykbt8PpILF13QApoRonKtmDZNEevzUQDOnDjSfqQkBBhNS5UCCSRFQySHcCk5VmCVPKY06ylfvPBPpGxv2hclm3ItIrPkSJpAxqDHPfQABko8rMwL4jxBp8R68WbE+3t8a40XNtQwZQYM+E753I2NzM8E0Y91Ee+MpfZ+hAcU/7NlZGoCO58K8QAK5WNQNl+8sRKeBwiqtY5SI5r0ninj2NzMYvE3JgiH0MZeTJvS5epYDhm+ofnGTxZ/sIL2Ufa1lJXyDCeysAPOyOmWEbrAEJPeuymrTITmArbXEw28pr79BKhJmVEx9ujt9LuHGs4hP9hGQNZqBASKQD7Qn5koAOQ71uhFoYkFZjoKRBvfaC9T+J11N+S167m4/Lp2D6VExlBLcDh1ERHimNPv2GXXEWlv1jYC+aG+eE71IGnbJIyP8rIgODA4bfTOn2RuOSR9hPpSWosAL2qLBrfMYrJkQNFMglVU6/1utD9gpERnaRXkinlohgUGUOPCDCG+xbgt4UoigoPvL+RBHY+sTDrx7qkbnBbTLO37FAzQDT8XXtUfkE/8YGBgO2N7rTKA5tYNP0SFmcbWSkcDOczqzwyXh4uAivpW6L9SmENBcGAyg5MY5kIh5BFkTtEVUlgJN9II2AycgiVLaFAKv1FRRgHF8Wwt08OYwGwggwJVS8Q46q9Jd1d28+kAkJWZbbdlo5GptLkKG4RIQAIH4WJlmfpTi+vPDmBmMtCBqYePLmIvMjcC3WRVMMLmdWIrJI+V6cv+GQXASjhqKY62jlSB06nK2jnfP8NmdPyHNjYJLQjEIfgZ0BxIaYoPfR+rjX1JJWJB6qBP+fceAKX1JpbsyG7ZcCCl23cHaAxkoU4ifUlCr4LLNbtf/KoRQEhbFug973wGNL0L9kpXuCsyqXjWb3p56vfyNMagA+z+iBx204phRqQ4eanqqDN8d+OgsRPvxR+p07wcD9hGqdpINA9F8gD8Lgw/AEoAK8kU++BmpTBkSGVd8dmYC0ar2wuarM5OIr/TKQEk6/f8gR31mk7GvfEIs2RksUSi1yX8Vyl1CsSEd0/wx2FX2xRIsZa3a2iTuz+cdtVLsANWRFUWDNMkcfxSCcCyU4nY/fJN+GIocv/UO7Kzv3TcTicBYGN3XOnX7xOQ1IuETEhCw1zWPGyJLUZTa+XwCzufDg8QAzNPtQdGn2yn0UZTnSpkGxY1NN76Y10hsYLIEak5MqKFDGUAAHeIe03arw0AOnF4kXA1iKQXsuNDP656uUO6xIB8LnDcAISLoYO5JLMlou47w35x+qYqRESM7bxQGhbiYH3MHrLB2QCglQirh9xFemu8G1oDCa9ro+zsoqDzqDqS2xKAfv4B0yGsk83kfmebAtRIcjW+RMldK0Lqx6Vmo9lGh5WPcDq6R6GQ5KPQFLuJE0lR7kq5xcxikCIXpBQUVLZ1VrIEoRMLZAshDGvIwncZUEEbbBF0jTBco/NmH25BWNK76Ti2yS5GpbpUd9TKlJT977UeCEWDcHNnv5hWPPoN+E7o0Aib1m6a2G8+9f5MZMBkk/8K7ibftM0gLwcCPDcSuBRpn4f15RcVrdwJhZCIQySd4IVAfAZPdUFvydsFT2gm5PuCMSO5y5E5P4tzYekJO26S+tshllEoI0Gl7YREqnuCr2cVQQeszTm/7dNzTUcGyCDZ0T03AXj8ZTqR+T4aN32gMCmPBKzPCeC1DwCX4tgv3KD/9AWmSAArTy9AYZg1hjT01DCZ23338z0oFhQYNGnrJ8Bd/0MiKkQ+eZeDqEX+hRgI/d6LVzoI+E+StQtCRzZQqOtui/IAFfMAowzXbvxQLFMbwvJda0M+tYCL15yYeB/QAIt+VRBWQZaKuPtBMUDLBSkhZhIt2YxWtpElbhGuJgY49XUWhhMITw83RcA8VIgmhLEOi7h8ErW6FUtSqkPLWSsnKluAjglwjNqwKIODId4+YUwksK4pFS16uShi4Ro2cZBqQw25MLxlpCIIgOtvmrCSZvFynuQdSN5jlZZLNK6o6+tDppDZBNZj7G+B6+DpgfMfE46H0K6KNdYERJOsrJQ7O6BuHytEEUzd1Fp7zbSuO0gE2EeM06PzMgqbvawdF65cwmZayvJ/pW2tkjSaJbHC3YytR0woeG/8mQgJsbwgP3fEACTxWrMCUI4ys3K0k4Eg6bvTNjFtJLAXhH5OADZKpIfJ91omR/tXTpz5eaXh77HqvsYsCS5HzUWyHHE5l8uE2sbpn5hRJpF1nN9/p0jHS9prgjHpANu+iaMIgA1FTi8vjdk7WnaMoUMrFQQcVnhUIJMqEY9NNDe1FmCIj8Z20bm5Fuij1le5uA5DVoCoLceTko30WdIpx+daQTKaoBpIcmV0S0PjVonf4DkMshwu1Bw7wQsFrPwYPg6BtxUTwtNNuKqVMPCwRpfqyaedM6S5urGINcqgW/ZBveYzDcDqsQ718PcBkfYbacq/Ajp5Ypn2D80pGQYDXRQBPD/oUkczPQAiUaKJssoHHfSy1e2dlu4KE8UiKn99CRLQIjMRsote6MLmA1ksUMHHRluvUElJFtBwNsVNyxMZPT00uLc+Efjujoy6cZn2TTMtTP0zJWNeNAgVOm458H3PFF6lG5NYO4QOF1ksUMLUuqKTEE81qabIG5DXAaQ4bVa6jVnhsgQ/B4FK5sCrv5twYCxkmGBtwpr4q3DQ/zE0kEKzVBP49KPk/4rkpU1v8ybE+Ui2Nh+HnSgRm11qepMlthbEkTtctyZ2CYbPCHogWyOU6EjGPX/TLATzpPSoWqmjY7hiCXCwtY3VZUG8vdCAqHIHGodlDyvjrTywQ9Wf4eF0IIihqpb11BIEnWdkwZBHx06FLtSvU2Ix3a7wfHII6DHn2K6CkYRxEC9NFK9C3BpjGixaAsuC+MaMeOsF6aKDlaGz0hZQ4ZF9ne3woLAnBSzH32qURj7HyhlizWRrH4Ds09jzwwGNmS1AwOjseZP5o4nJxJTpoZ2TMxK20t5TZGQAvMRloUVBuRhQ6JIIQ5RJnbJ3IGBRZvRwAnztj0hcUALcigOx7XKlmMdtwhc3OcxbTHNyIgrg8Uu2rron/pJ6PL4qdH7L36yW6wEtdBh9aB6Sc+CTImJHHaPWZojjxpWL6lp6mVP+u2AAfF47kCNwyBI5cq+1HSQnAUdANUPlsxAtXqHipY/SUTtBCehcBWkQ4AaQdHRjKS/Cag3mlDTHoefhEkE0Z3Ha5wSbc/N+qMMvEaXIwU3rnaRkTkzyWeD7pkodh6olVkL8ymoE6FwKI1nQB2mD2SwJ/RBoVB4YuGxgQFiZanzyCpAiPqYsPCj+wcIvso7YkyGZA0vAmKyYLB02NhSAX2NN/piLY/caVF3csFZfwVGjsP+/nWNyZmYEeZO68ynCI5sKb3F/xOMGyKfMw9K6MEFZDT9B6b4rz2e5N/2kUfEsdYfIgRUCjpGcYPY5CgF0cuj8MIzhoWk2JDTrz6kXlrLRktw2wmoSwUrWLy5kZbPuGvuBlSs60AXRHar9OkxMvj8PYlHGTRokGHxWdXPHOPs2XCVShWeSnMVQyccEZMAZkhj2YhNwC1Qm6BIjCkTb3QvNZ0VbyH0Ep9A8D3XOPpwYx4MDjeN6WNCHFRofBRx3d/r1NAk2eKfILiwHxae4srgXwiwcVAxRvwEpMDecbomjPoyq0+mhrhW+KfC5TRo+Dq9+Iw85FY09S64AXzQDSMMrpY82tF2g6PUsZ349iMNB0G2ehzpW3T1ba2ioLKT7f0PVKHVsXPomm0kXp5+ian40LJrf5vTYxVNmXBBF5XIoCCG8pEcv4tyAhhO4UKBVhIUzDJFO5zuI0j+qA+iSgATMJl4krCfTkY0LcHoMEl+b2RU0GZcjShoEC50cVFHPGC9wWSQ4nwoz2rP+QRCoeHsF9ilfAAhIIDg1rbBT8xl6YXoopCyj6dCDikpbaNTWJ5dicZ1wIlTFEhYFDKkKx7gDBB9AuWzTKqeRpCFmAxdJUrK2xiKTzCEDlX2KnChzVblCoVpyUlBdAGlu982qkfsVL33u/CwB/9DgQFZ5f2cqtvmfjk8fASZxqLbqRom8AeAK+YRz5X6czfRhaQbO3JTFpJLTj4gYkux/whuCUtr/L85iTpdYOkQPWiA7kNyQLWFifwWeXM43nL4Lae4pRZkemQA/BmRyGWRXPEYSuaOiJN8IFPfOiAY8NclmqThksL0JtKUAARgItPSz4xiyK95JQz8Wp0ieN7FjTYpVWAMk95kwUv9LFD8aRExn6Ulz1k4KcBk1Wr/s6HGQ/lpI1n1CgNyZJbfROdZ5ekffAYe0SnJAMqhUFvfu1Bxah6pOywBG/dFVmNMA6qgIQI0b/wFPstaRs6tDleKw3l+pJEjlbBoTzFofG3ZPjYm284gZ6cmSwOFaRf9X3H2JG2McrHHqzmJ2WdW6xubif5GaTUpLmApc6Ymjsu0iQzjbSWJITA8gawCOvCFSZDslJxL6UpmkU0Fzf9UwU1qELy3seHO5uSBTl9DB0z+jRZH+hiRIQS+Y/9NGSrwlzWQ2TG/bgV+k54wA8UIceyAF3elEiFzZL3Fzrs/O7QStpxMgmoc/GXA4l4f/tHUhy2dr+UwHJfgyDRHQhNU5AHN5E5eHipMuCl4XSO5dA86HcfGQvxLpGsAoQw00fvM3BCqQlegkz4kUvbnx8PfuFOIxzIbRSrGvL0+Olx8FOpQ/FUOywmF4+cVWHvC4ZM7fA1mayAQHhjunc4OZLfZZFEkp8qyPuB0H2abzpGazPA2sixOXHREbsGC3kXsk8akLKXfbmbe5RkgRSaqAONpswNxaXkGNM4Uu6jJocbMSj8Jio24v/UnzafxE/6oRrsjtfrY+i/VGI+YDtJoGx9H+oznDY21Q48UD+gHigi2J5IZBRHuh8E4Smbrv9o8dk2gEX+U+x5JXk6xrkm7A0k1YKuwz/bh1hDjTmIkn7BWfkeUdZ9SrPGwKIthP2liflZ2jySi2wftxQcUEd+tR8RN/bric6dZ7Ud7R0VKOL9Wo/X4Gdi2mmDJnRDmRLt2cSDCH2LFKESoUg9QGIT/2VpwGU8SAwssEX/E37m4M1qBRjYWpCikoFuxydrrJHIFDWx2KDRXbS8CCBvPDkgAgITIqFQOhTeA82E80OS845dLnc5JPm5mFgS6YVOlhaiCqyPS2dOAnf9vgRCCoDCKURBEQWfX5R7PL8WlhO15yuaGLmS6CkMPqqoWcCYC5sAS6FF4myeKoN6JF1GVGz+lhVlWh0fFVyGJsOXFFZ+BdCZI/Q+e7BKs+n+BIKtjVMda5ZYCkXVoN6lnQx+jYF4o/KqlXwzLAK7dx46y/Jyz2IxHgXWBkfYJbFCGVkDWF0Dl+bGnFXrHSlCWZZv7ju+p2y+xqiL0/1dlBgY4lkoFHC1zEg0TSDfgYYVbpToD5/GQB3zxUqO+GceBcAphY/ANVSeh8e4/wRW/ODGn8T7QyHkLqoYuk6z+Bk+XdkrwJvttHZmoB6OijwUBwnBaB4t4pJZtUfPk8IyiilLaYHhHiEyYHZbOhHjYRrIJ0H4PwsavBImo2aRuhGc0cbZW7OlbNI/useLv+f6YXABsbcecI1PI/GvN+GfpQH+zTvZy4o62k+8A4RdOUVMUg49oONPbjh2qS2cp8R4SGl5GphNer4lB09SxBrRVhKOQwJ38Sx94VMN2I8FJPmyriqRj37tmzzjPRXgA0pYrLQIdc9ohhwpC+3NlqqFjLlMIBajGj4o48C8CViqIqhcxoBxvHaDqKZ8agMPudsG8cActEpwbvC3ylAbY076hXUpR1AyzCbA57zT3N9LFjkuptMa+RRXLDxp6PQx/bACpPWvzp8V9agDPACaW8zlTOUFQSVec8FmYhGpu8vFho0w9q5QLAKKfEEQfCeYtYxr5MWNA/2Fd1g2U65pRZ8zRYITfffVJonEoQfmtTLgn95QWNExKTKXqJT477pJVd5fYbibSkACM0P6UOUrs61vOuGnUQ2pFN4ZPjIBr+i4XHlr12PFRa6dFjKMv1l3XryXOXOieMtcRXSmWFERpZK/3BXh9Njye3us9C/LiVj95vU1GcDgAWAMqPrJDOxZ/VRb9hrlWIQ5VqslvFHzaJZxQFngyxbACjiTUYFVsFUJq5t6pEBsNXL2/eOuQyx7DE5ZxDOy0mSgaDUZsDEmMa92KmCH7gLUQErcmahhojFM+CrVLPw/AliHOtIGd3kgGDdFYey/893UW+J7QdjjghL1EuIImfYGvQCdeQZk4z7ZgnxdaE+pzOe3ALQGxOgNtdeI8q25TKY0JWFwvoio7CeCaPfVEsstyNDaGJR0wpEIxf0Aj4pXM5mXsIgAulyLsRQaFn/ekseSC/dw2Kk0WWdNS51zE1lpOgeXF8A8DzamNlLU9aDu0Gzc4PCs4I3HGY0EDJgXWioW+Xjr4gvTKqCZ+roR9ghRAhjiAvcmVlhmb9ZqpdRQGBKnqBppSjaifYoFAgFIPAI8ZdIyKIJ1Mk+9UjQhl+jjUDSeScEOqxFpWNQ27uWta0+VkqXKsgQfNuVpIc4U28EqAg6rgFzUCSMqO3BSXDBxEkrSbUT3aVUjOxoJlOmsDefXeI0SlrgFLu6XonxYIN3bA9C8d8PFWDJCPGCHeOm8IqIdhPK83QrbJjwGOurX2hxoF8ZWmbovjIU/I+HGe5k2HYZjtDWE0jeIF04oMxfP2p5xW1EPBYLfsOCeZFLh4VJpc0KI74oqC9Cm4HLhU6BxcJxVc1Cc+UkQrRvHIEY2TtYhoWqBa6QdSCPm6DKdr6czx4KxH16BJ5AR9vB14s5DzNuZHwOef50s6XntDB/4wYlCCIiP18DREeaFaIV45arCl74BZTs7PJWFTwRF3BTsDVCnKFoCTa9Qk+grlaHFI0k8ZrqYOPuOVFv0VLw8CEQPhPGGHon1kSf+7jV3Vnb7QadQ6fZzZvXyB38Bs0qZ9qGKrlKGe9nqM7x+X4wKp+WnTt4hIENWeKHE7zLgBcS24gDNFkhqEBbpAypONgknSBiJI+BXIMBwPgymCOwNHMVPRub6nevCW124LEGOpghoPuOI8PPjnQEHmeMJSVPRAPPlKzRxejqTaWX6FLRD8whUe0qbW4CAKgtKeBe/KQZzp/obcNSaSnJAij1FTywtrIbVr6yX5ISPjiHkciAHYwKIrqKoO0530Xeoj5zd+SkwoUsMHFNV18hvEXVSNQJaqjavSZ42uSIaxx+AVMgjyoJbDEtsJnG+nOXC5UusTHr/etsHAWpzBJz6c5rvShUbmUCsVEqiZOrb9YOru4glLXpv+q3XAnEqi9n+JxD54eP0pR1OcnRpP3YMUCEsseFXj7TnWUe0C5UaRh4FTeCVKTzw4Tmo3mqZmqJ+KXtXSmrXNithfUxMNceCKBXEY/UIeRx1ThJjt5YUWJ8FBTNHYt64bPFZmTkf6AT1laWBXQS0TRkf33DJtxiLG8kem7e2Cwj00D8U0cQy5GBcqrEZVHUMZMMWWUD/IL/4QCJcHYKqZWbNTntMH+zioAUQRbpqfQazhCMo0o6RA9XYftRkSOMuz9SkC57BnYiG6BCY1wpq3Q3EM8ie8nJt1YCSitnRFMa8mMtS5pRUijbvqY2wHoQhUFr3PrNIjzc3dB4uKg2kTGcnTrSl3uKnAFSsAr07niHB1NXhF7mbIXPDvtTKKg8YDmdjwS53YYLjo38l90bUpIEqwaA5tUxPMyXjbitHkbsAtqrBlyToBFsFY9biGvWGsNyk5F999P1mw+XvcgVJrI08lJSWDldbn4Z8PUV+H9GWDMkVaWOWXy06fCoxdjgMQoCgFk98/Egx7CgLCb8ryvSDKsYaAGgwfQthPIZkMIhVKQBPy7GyeMqUwv4db5KviYQMxApIyIqu+gnmFs8qHZqZu0HBkQLdPBdRAR+Py5IpC/3qHr4ZsmDMYpVyzss9g8EfXyIoJyKfW7zMjwHLYRWlSUyWRGi1r4ME0NF31B7CBlEmGtaYFSPL/kWo6jZCF3gcDUk/uVZtwiWxmTwGC1X5UowjeEzc1aLEmDqfkyVK6SpVLyDhy5M0CCDAwPpsJMYwj1HAq/kSQ37u2wYo8YEZvw4FVqc1NqOBnNYAg8J3MVwgD8qXAupAIr8b/cEWnDMSXVALmAnh5CGlZbSzBJcgPz/poVE02vFHcDLkdVQiCCp41JgsuoUu0ZFFwJqM9v9fMAS8zNHYDvW7kO5JyEQK1h6LQ7+gRv7XBwZgWjX+lKs5DRCD1xPvEXFm0E5xskyBxNLkQjwxwJ3qRxNyIR30PGIWBW2OTrSxee6HajEFfNXhaqzB5JG1ujARQWBg3H4+PRqdq0snXL8IUTQptcc/WUOaWIe+HH+qhWySDG2bMNlq/Br9xvMVbFV3Pl8pZ86SSMbU+rKmL2KCv2GqBkbbDy5UVhbU+11qwNF8GymHGvKG/4BDDFIxgW9QB0EV5T3st7G0MnT2TAodKotsXO2FuqEIERp8k68uAm3T8p1iL5m765YN0YfmqPrxELjXXA03xcfHvQyBxi/lbHiXKdhkqyIqqIxRHYKKgY68CkHEsDtMIc2zRfKJ6WxuEnAB815DZ90LuiIGkicNy06Zyqs+gzEZfY4yarBPqW669GSSEIBtCQwBKFAuEqA8RwPSqtS3rzp1IwaQNarlHsClSRFkBGceEQ+3tbVAlfl+mekJbELjBIvDGP50Cdmiz3GA6xkHoUXg82HANhmFm7LgA5PmAUiG1IbY1lHpV1yMM5ElW15VhBRN3RE/WFYlvfRCx6tIHGDUBdYWfjZx0PmUqOjdHr8Q53I2nTa86e2d6eVOic6twTOwA+4kflDn2MliBl/TxX9uNidkf/QqWGSms78L7Pontihhhtl55sOfLIjKnvcW7G99LXlVvfaWigZZTS96lKtN0xHZMfuAf5CMVzDpiGhUWLa8GaHYDTokLC9B5P0SGKeAnnxTMyfXjSq6BOH0kpjVquYsC2EbYBMViYXnIKXHar6OsCQuvohhH19RxBgIOAfKEyNVU52P3bOpIxfq/Du5vnV8NiFQ9z9ZubjoH0kqoWw0NvjpgCSM1swebj4H0YbLJxKlwww1JLUl3IxyRCF6fjWltCKR8mkBaAB0M5ETtRCu/3wcLizP2/m2LgUebQADj6PxxB2/qwrNO4JG1yRMjthWIKzL3xvnCF3MNOFiS8c1B+yVhx4M4WWJuWnizey+DTdE9tb6Iy0Qmvh2MQnSv0OmNTIEjt+K6+QO6mmlZrc9OLAQLYOmx5X6xdeQjVZkI6XSIRJS1nwHqPxeq2ISadpVnBTDZRQ6FRzOhZEhwLAj8HSyA6vblVHBt14CrJuUzxq85SbD5blZSy2lZaaC1E2H2jhKPeMmnrRPAyzspYtI+N7udmXRWTjCxqXkjqikXNohbhWvESRyuu1aliHKFVH85lzM+MJ+g90zOdQWDcsof8HAZIk14jfY+6G1jzvplVOOTuDyt0Ej3+9kYARQGkIaVYOW0ZyfFaNb8wNhd0Ggxz6lPSoK8mbHBQz35M3OBXx43u0teZwD5BdGoKLIC6nRxxmRuXJdu+Vib4Isui4Ri5xI1UQMQlF8ditDxph3C5rtJyxktypWzUjko5GPBp0Rik/EwXHTG0mzF1XbmPxElFpw8QYRMoGA+WBZ7F0EBnfhks0FaP4aGx8En6BQF71ITAPDWwWwlCw/V00wyLfA0lUNNAM7L+ojIBTgsG+KU0jZjBFA+xu9C9se2tCSXXzfCb0YSPHq1fg5Fi6feQYQVJIZ5fA4BRnIOYBCX50KGI5wJi4BPCx/2EfuBIpmuO5StGRpRVFAUnkPvnl4qy5BOC2HD9fgmTSEiHVG6Rj1/VVz3zAdrqMN4InfBv03foYPscb51FenIC6NP1GGEGpw0DiojL0GgeOkgxR+kS4HFHQP5ETCLISvyVWzhBTId7+kaLIzxjmvHwEQ8eoKBOJYJ43e2kIdz+KcTM9m5P8KscCnd6JInJHvCUnOcRNZfMWtEKkxQPLgTMitvlnrrXPud8FuBOIvcVr2SJC2xaRYIfpcrcUCOx4MJkzScCUNSZlkskQ9QJSiJBNdLUSiG+RGXjkWEBSMShk/wFtUIhk/W3BJBJrRIIlgVIAxxfx8856MPiEoKjSHRqUPSsxzq/YRqFKEANlNTYhmGGjjAw6PgNqdLtynLIKuiBT207MYeKMJOp+PJEw7UTmaJJOsg7AJPAG/epgyIyrU96kXMSfFXEHaqymXwfbyHMIVqiDKxiVzoAKlZCzTukehsDWpq+1kNO9aJCLh36HPp1ByjwaiZK6MzkLEKxkLpLs8RwpY9GjcFxFpnX0GWFhnxaRVkD+wQf4ASWXPhhiCY0c/KcReiaL1tZLnHNFZcyEQ3a5lQxMwFNIUj0m38p4opXtgcC4EI9aYz+3kI37OGrKkKYtfWUHBUeBCAhOK2m1W7U5yra7SwP3LZEwrBcDpmBg6RgWS2904ExmJOZReU0UXSiCPHaDI5zylJuwWjdMJUgvl3xi7M59yZ347Sv/GeHoqamd3hEiI8UeIPvGgGHGfDaxhQ2oMQj7hrIZAEsxfQRJFxCDIjhFwxA0VqIlCHYqEUwKHFYiZgmeIFhHAE6CCBgYSME7h8IOEhFMI4BOAP4PiEkhOIQNDIB0BgAVSBygOYKQB0D7BtwQoHqBXgk4B4A4oGsBXgXsECBigTIB2ASgNcClAawAuAYgHYAcAAv23+V++9UfNf+H4O+T/Hf8X7S8HfGnjr4W8fPVL3V7b9XPv3gp4Kffu39B4Heqfjm5U8rvK5wa8HPHZ2K4a6q7Mbibl2woST2R2n9QhgJc+8epV+tmb0qL0cu5FvciIHAzhwJObCTmw1JoL7Xi61YqNUnfJSkjeEA7UQ+j2aeRzY052ScXEldyqZEB4l+Ui1oxDaIRwgEfHxiZ0X2cEXXcSjGB7LCo9gpQeuomPW5EjIkxVYExVBkBU3EBUojxVhHiquMFVQYKpgwVRhYqeCBUvDipSHFSkOKkQUVCQUVA4UV/QgrzghXhBCuECFbgEK0gAVnwFWPAVYF9Vc/tVq+VVX1VQ3VU061SprVI2dUaZ1RFjVFWNUQ4VQxhVBl9UCXVfayrpV1cWqrZ01ammqK6aokpvQzReg2i9/6L3dnvdOa9yJr2+kvYBHeuyOSt6OqtI6qHiqnqGqVYapDhqjOGqI4Krlgqsd+qrXqqUeqmt6qVnapIdqjZ2qJnaobdquxyq6HKqycqpFyqfG6pXbqkVmqNWVSO0M0TrCAtY8tQuWtIWtUWpYB4OJ1dPI4MrSGsXqiheqHFqoQWqgVar8LVdhWrjqVbVOqOp1RtKqKo1RNGqHo1Q5GqEoVQhCqCIVQE6rFHVYM6q9m1Xgyq6mVXAyqwGVVsyqkmVUkuqDy6oKLq75dXZKq5RVXAJqVhMCmJnJ0mcnCJiRImIkiYhh5h8HmHkeYdh5hpHpC+PAXBoFKNAnhYEkLAjBYEKLAfRYD0LAdxIDkJAYhIAaEgBMSACRIH4JA2g4GSHAtw4FaHApw4EuFAAAUDxCgbYUDMCgYQUCuCgVAMCkBgSgMCLBgC0CAJwIAcAgBQCB/AQNz8DL9MXPpiv8mR1C3K/ThC2ZzUoIM1YBWfa33iCJY3ZfxTq7KhChGlz1c+Dx3NQtYc4XQR/BvbWuTzCsIQAAAAEDAWAAF48tM+6bFophhd3N1nA4zIKh4NARWfqCooqII1UQ4kBYJ2AQsGyO2lAp+6Xiqm/Ckfz5urtugisAuGzxeNHQh1A73Vh4dG0/NDkMQKtSO/BTm3DojsrbF3jq6kKdaxNxwpKvTKteAnM7mCQ85oHLN5AxXtO3FxElkoEAFo/Y7SdVN5daSO3q5Y+GBpQAYrusw+EY9/XMmtYT6y1gbXXfGgzHr8ic6AN9hcvHwEYELAoOjr69A1yaVwaL10euR3YUZUZvQl5xZXoT8YeJLqVKFrjMLT83+N7REmekLvVnomDD+rZlbG+OM5y6HgQExqEiM4dIABMrtqvhZhK5dFKAND139IDjR5LERWUEjoi+IGkIeLBdyP4EELbzM6bSPqCs+cJOMl2g3AOOLNk67iiV8LheivEJBk/9qdkWQF7T9eWcvpyWnr4JD0KC+Bij3TS88HpKM1H643YZCZjeMC+sXgPr0SvfObZhqabpDx1HXEQJgUcwPIgPyXMy6IDx4PHw8jjtwHUAzCBlQGUWzxZIrkn7PfVB/EnIGGbtNDycq9OiA8UVR01KLhg9LXgc7eHkqlHFYKKQmAY1xLvwyISgrmLTe2ybZ+Q/3Wi5glsqiBeHPjK5uRTwsGnqETJE2aDR4GNLcGkLzIDDApAPAcJp4sxGPS8+K+mY4xnPNx8+XdgQA57p6j0RrQaZrHj+DL8t1F4QCXlNK/7JkFt/2Jggj5s62J5mfzOtoSZJ3Qzrk+lY1v+BlbvucxYFlThoSzx7Wq73pIZ9wG4cbJLUxXlNjUOYu6rD0EPctPvogjod3JrT10p79mKg/boKJo9LBb5OjfHMbIafyeGu78L9Gh8Cwrom8bsfC+gRil9kd6vrg9lPyUjRP3UnmXFSxE4csmvgFsp2G18RAQsYRI2WXHfRvh5tzrIO6sQdrCA9/GJTjEY0P6csrU7de8vyVGmNHDNJvtLElm1dHAh8LTvrqZ/husFJ7LFxT1h+NIC/TpSGkispikeVgNMoztOJMsD/InQGQaayTQwUUPEgBOiyoWy3UtMhaPCW6S1aMVY7oQJF8M1QveI4mfDTDjtgOOKg/B84qfLEc9e16jTWzlH9ciEPY5GHlEKqvQOzutWGWZ0qgCsyA1ms5M48+uVbwy9MjOJaiY34hNPLXAnlfgilmTbDBG00cREkyfiyZNKxH80bCCbz0vaYTn1GgMCiEAQ7FgsL7Ry12GUpAzjasEcSOB9/8LkuHZel251cg1t+ZTpqI10AWwJgqjzGwCQkkANlJyMFF39lygzwmPfAQ7AoHZQuJH+kT4k2jYKZCRHCuXCHjlxGLC5MMUsbxaCGKHbYSW3F6CqyF3xAgf1Z6EkGDbCwNruIBcyccECRbUNwOsdRJciv6KGncpCthgSrSGiT1XZRUIoi2YpgyHu/XAF29dVSVQwNMv6yDJBS5DAj0ZMO0SSbmXAMXx3TNBRJ6WgUSHSKKO13OXrfOyFMt3sUmpmTecBZxMeaYB10PRDnqCiFaGwtXMz+0g+pW7ncCR0C7IMpjGVD7IqJ3kUyNPNieLPNeEtGSYOjzJMNUj6/KKZEThLgiMwuUbBtgMeUBgkaW0v8HMAxKHJc2BvC0EW7TaxaM3jjhqSw1+3QaCGLNM1tSYeQXVbCF32pYsgS9AT+Xmro0gSExqRa2kglOgUSNItOyKSBX5jF1Bjzk5ypYseFD4gacRi5dZNTLJH5UqgBWgsR87FHI2QNfT4PUg+5iikoX2lQeUq1ZzEGqC/BuZTqRS1MrsVJkDAxL+mpEaJsdPa1UMqRSto1dIGzVCmqjDxvUxXgtgBTh291CWZTl6SAhehRWi6dYFzQTPJ4SRGYmgzbljbNQifqp2kZFatApehyiDM6xYeNSpXZqJZBUPBorImmJcNWbe4cPNQ5RYh/UGUY8MizpaXe1ywyTsfeMJkYVpzpxloAyK9wAKXhNLVOqUUvNdRTAZ6h0CIDpSj257y+4KcxbHGSezXuuzXZmCuHqWTSxO3pAnJkCgKnTlpDUkJxpHZMxGfuPk3Y+FUqZizVPedNyYCo8B7mQ23yiv1DihAZvvQOZIHfBiASnhk7Js9HZ16l01yZALz8hsoX67NEYqM9dbCB4KsxlRTwxXhw3kY7/DP8OCjO0UHq+n0UAJ4SFPkSmiiI580FhB1g0ji0npYQYCcAGgrKVm3sHG1CTmD+XdT7+JJbIm4VgEwFYOQxg26+cI5LDb1jdEWTejkIpReq0PpFKsCKg8rnyLR33AzrnZ6dQZUy7J/rai1iNQaDmOb3g1LzxkzOViNlE93cGR8I4AvD/m3WMUEfsltn59Y59wQYlN8ORU3ZOAzNmEGyYzYchOOdzEbBkJ3T1zk9Zr1TtMJh/aUA9RDUk0CE1uU2pQT2NLFMZYZN+LNqEbpdCQ341QGceE5enYqSEBGGonGjuXoSaBDZUSPEbMcvcC1I49icbf4MZC37JTaaRZuyIEbNI1NLLsHPdM25EbxxsIAK9jolPcwZysX4tMWQRnRqER6vbDpbS/h/MtBylqzFRg2UBrIcb1rGwxrLwGmTa4X8RZ28zN28z4HGiqBQPx4iI2sLwhEkAAFtDbgELqrxiAyNVwuwC0ZzB3pRGyQcOQoaaLj2Y6PTUxhgAw0umvIAfUlWuCk1OZU+0BzGnFN+lCKBQ9VSjICPEF3TLSGfJhvxEUUdh+B9NwwHwYqYKvPa4KCToeRBb4BLpPRFDf5HurnWrWSIfybb2pLI4n0VZYEGr4Y0OPs8MNHJP3hpExEhACa8xOAbL+VuaGkcAO7PL3BHQF1xzFvQpLOBoUotQnVkZ2fIr8YUVHkEji1eJT+rHoHjt+92Mv10MUITycxB2xDIsGv9oof/52W6j+4IENsqTXwc7sPOQ27UR1SakYZrlAQHNah7QWw0or9AIoFKDx5IHFjk7hbMSjECkIkGgHnUFNAWUgB2iLmgNsDh7ikEEfoMicy+YvzPGXm88dbrxrQ15bnLLg1Ja4ofVWijOyG+kraynrltMMzVOclqZx7Pck3DDur4V6MIYXqXJggSUCtf7OxXRbOtpv+54xDQ4B5AygSdtu7THBL2gsLsldYoeMUGztmxuKjZYEH6SCraam4MHExiBubKExYE0TBpW1Bq9Azz8kR6WhPpUvgiPFZWQy5TCw4i7azNGYbtVSpmmCAhwHVsoD3PqCXeT5U9wIne+snwGymq2SpVYsZIYzYCc7yTuGWDv7CcXuAPUJzZG9AvI5AhSlq0CEcXthRWjHlqMQByZAcZLratCBCUYtBekEqYdAlfdin+IkgpFoxDjOS42ERm9P0uRNDpxpDaGOSSi8wAPhMgJ7FM4Ih3BH4RGepJ8yDz5PMF8kgzUDTONkIcS0KphRDVCVRidEoDy/YsB2DImT45Ea+8GVc5qfSo4jQPolb2TgSiVo6ObDGXSkPN5eaTM9Kko/VYAGgrVFJm6x1JEGyoEAR2Elq7JZoGzI7sHckpii2OgwwPgpEE7S/DoTvgGoVy/qnDnXq2yfO1npbyFpYtQSrsBGmKsUwTBDlW+ZpI5Pwc4B5Xlxcdznjyt6fBueikU0hY0mX9lSURJiwKBuRsDrkDCAeHkJx0mRBTxQ8pWFRNzYAp6hjBuWz4lSX7tZESmDxkix8KJkUaOb3Hkbtq2T38rDikMCUP0zqjlxh/LzOzRxglkZQ9cgE9GfMBEFyFxE5PEOldwlOJZcToAMbJlg2KIV+UedXPaIKbnj0LnjlazK+1YueKi9oqiksUWjSLyCnfBZZWlA9oz7WAlBQI4k4/UdrYibWEM0GbNNHwWYcD+qyONFZIg4Jmx+yIG7oKAixFu8LoZvfPdQUBbM2h2pTdpa6sZJ6zA4cRYsSlTLk3iGNgJRD7JgRBUMmSNgIEh+DvXYIs4qnVJS8mCQOQm4hYa0zJ+9nRT9jyvFlQtSGOJtJ4wSQEQIEzQ9SCaNPsrC0CcBJl1mjrYeeGdQwNuTZimtMtIPbBaHa0hEedPgvTGrK+aF0BWvNQEJEBwYTZGfahVxtxpWNFsNgaeN34cmjzdRvMUJzDNBRy/sOj0AUj01pJEJgpXG15CiHfry8nefXJrBGYaQVMEUgxRODMKbx4V1fuzl7oUaYCza3SZzYlHHOhTnN6nW2QgCxZ+xC/RYeEiQFlntjxHzIIzZcZHICGVsrbCkDKlMcAGqsswyBJsGqHPd13BU9ivTSrmhg24HIMIfSlIm+OEKjR+DJ+lex9smSKHyMpPyGTiy/eCTWIVwcLGdBLI7p+ygU44E0+kWXV5eiTbEvWEFxD36uejle0DAYUTNnGnXY6AlKlDTyuoKJXzB2dGhGicFOGLRbCksAygjJQ6B2o0JFCNqQViFVbZdmmuTcXeJRS13c0qbiHHIb56GiyN23lz534Etfl1b3yFAnzOd4MNkhyFVhcpeva32jKgQdE0zNUncL/ZQE8hrGwJF+hIHdYoKeF2TKmOH/cVFlNFfuDyVvBh4GEof9MiZjRtwVg52DOqkHm24rb7HTi8jTT0eF63MgV0xKu20deYzqI97jXcru6zShM5N6UtmWaWlmz0W5xBgUlFfFYSVluCpsxDemnWqOnWN9H6vLsRrE6parAKMOUFZs3VlAJ6eJuDE9IKWJkCFrWZAGZooEk8vTJsB1mKOA8Lnu8yjo2tjDycGtSPqnZBleDuRlxXT8DHyQ56IM+nFfK7XpI3V7cYjf68GJZOGu0qy60mkgIIt/DvnqnX4DMsbgH+A88xKvjSzAxYF/Qkm3pFMu0zxGimTaT+S52tABJoDIhBS0ZNDNSoV8MRzMRn6vwGcqb6tZh0uWis2VvjZYaqd4uIQWSpgzWCUrCMZQWWoUg1E1US+yy0TngI1FPDNfo9lu/rAyDvJAFfPXI6J5KZAxIYPYdzlF9GMTjRgCRNuQ8qETgTxgRKmwdAMOkTPvSMY+7krOEhKZhOO4rdAaJQxeWcg5ahBWObZM3MUImjyj4Va8vUEJ0dpMOICtHHZEaajO8v3/xUSZIc3d9GaSHkCtQRawgwEwCCiz7JVhRSpgKv9ew+aABftPbSlyO78mESIULxOx9IIKMlSpq39DVdsZSJF7pHhT78ELAVsa5QGVI/sDRdZagiPcAljLAY4Tg52EmhPogF6ZNoDrfHxDZJfpLG+KY2IBQOu6IBUYRBsRTIYifksySkBc4lROzUUSjZ9eDo+G7R1qCkFyxyJVxqAjKnk1Xo4D14kNJZ4msLwDCED2w6n/8ECEhA+OMaOVqCy05ZRygpiiIENvlXoD3GzxNZCSMIo8+XbOEGdresQShIR2idvwmbRQ0SzEgNxbQnidEAKGcKxSBnrGr6J5MsQN+oYkW6hcLDfNA3HJJY0WkcGqUSOi3RmVCYu6M7otyLTiDJHBtBeNij0VUWuJ1aVqCeZAfswOC63ClrfxYOCjG8dAFGIFG0yW3iVbOjSaYMMCLV4Fg0Zq2jkixfQLIScsAe1+ATxsfuYvr9Fx9GI//YClQmCDowiEihs+0s3S5bRIn2QuZCUp5N3hG1cqRRdSIY66hlAGzIXiLi7W+BhB5s/BehrlCmdESgTQwNUTKZ0YvhvyQqV1PNu16cfFM5BbmbIbygubsfkfmEuUKGfxg8/8IFAjZn8AorG/KV8zmxoBM1Wonw6K9PHHJ/t/RuPZgn9BqDCMV000BpPjM0+wlnEQgrKBo5UI9Nr2MMEL3kvYMe4xjTR+UUVY2C5RqsZTEhanH4b+ocybZm/CiQ+woESgRgV7EztPAfOdILbpQAyDe1I03DQ+wxFZTSdxajgErcskTk1ascDf1mxvXez/QH0EdbAAHptmFcLCOB2CAK74sagCBC1ticBeEWkEXKc0CMI06KHSEra4N6InzWtGOrJVmxTMYPl1OiCfgPmEP0UWoS8NxQgoQ/cqI2qPWX/uY7KP+Mf8prBH984Gey+E/SIeMgtgjsXzsmRB+6UXtNVokJS+sHgeXbiujPgTEVzB/KSB8xkriDBa+FCiNKySRWts4iT1mH7diR7ndXHZ7IvOBYJAasZMRe9qFG/DkoULiffNkDOW1uxvVCJIRY5kEapA25gqqCYMMkILJmLwBEAAosIAOAJmgUWCJkcg6StyWep4Cz+bRhqL2uLsYUTMz4qGZhZPtL9gsdG1NkEAhod/XCSJgU37KiFclguiVpW9cYanSvsDoawR7EMTTn8JCFCcp1rIfyP8Yuzh6xBhnSZgy0TkwR7dZTqlS0oWzdYWuu/9pEEsIbrBigArO6J6FDjQJIxkgNbkwCZxBzLKMa+JlZeyV6sEBIJOY5BqPvaAj25JfYYiLZIcMtAUdI2boEPqotPm+n8ZQiBeNJajUxX7ycL0qJ+jSnuVVmJvPcQH1A7o7bi4y9AHnG6BUfjtQoKc3ClCTReJ4xDQQmPqQGW8nE3zqyDnNgF6JPtj0IRgNXP6DGCybrsF6jbocr5JsdPmpkgwJPggf1MWJ+FvnXJ7sWgE9EyBM/LzsmBEgKvzANFUfIpSkM2ThdU0YBKGN+q59Pcn6FFUme+yNDHSKfIVojdmvlZGIa8JKcGrs0MT+FLZtBwSuC8lGfjPBpug9GourqIy3dqSd/pnCB+ZdKNUNmpT8CmPStciH5nxRUexoK6pKjziEoA6z5xmw7ZzJfAADIyZAAZd2TtK+AUJtk8Q0R7J5qwP4XiQr0/OH05ROrGcgCQ6uVgEOcAClGZtVmwnJZMjQn4SLpAE5Tv3ombK9lcUoNDDZkwhZofIgHDmjza1Pjw1KBHFDJ+boSNgS2mlDrWwntpq2ElLJC3LCqyEiQsRJqQgQy7IDQcIhWdi9x5VyE20GmVIAhLMjRXKyk3sjTUCDXskgXLAmiBbDXZ0yCBWH4mRHQFz0QKYMuFNuF3xY9FNLYdAH+qCWp3Cuyrcmu3m6ccFIW5VQF0qBt3TSIc56BJjAjQIOj+iFVWJ3BQhhX9BtsXbQpsYBDZHDxBouAYwAVjh5EAvRsy0kdSKdjjFZvhjBYfwQTDgCf1nQCuqGWJdoEL4GTWJkiLZZYwhJLTMxaoIXnttoIEHD7fF2CXERTcmnLrdtqyAgTSAsG5A4gbkGEoLcKPHEhB5bZ2lAJcTd0bDEAeg3HNnMkwYhBijrF/T6MnXQqEbbVjt2x7NfIlvb5IDeQh0aciVFBsi4FYdgJ2xJaSnF2NAHPvZZSwF6esA/N5V6G9OQ24HDy+Sc0ZopAifBxjyke6zbYfAOWyzexcOhm9RfYdR17jebxstJVYwjsYHtsS/7n4Oirkp57IZFBWuMhrPV7C1YadG5mTcAUWYinKgTZNx18LghZkYxTjRsDgXGOQH6mJwLwK/IyzJtBET5ONDh+2h1wio4O1zD2FrAxFlnY4C6ffSiXAiL5AJMInZZ78hYoIGO/17HfCKzhGP55H/ND9WJFGjGLVQEBwHmzCHbsjIQOgfjmimB5hMIsjciPyAKOYSAPEQ8TTmmuVgxzX9dS59VM2XpxSNsmOvJVxLX2RKFtCiANtHLQtUlQbqPpxAEhq0y0xEY1CV6Bkk1sGS0gg9Zs3qU44oWj/W0esj9MCmozdExLhBZQyqZCpzaDQseX4BYyOASq4U2yX0RdY5/9UhTcV17TwYFq5yaKeNxcfB2noQ/FQZBprZpgLi7hIBlOCpuwhJEi4LbuwvxW+MTAeHBpAjQ7IH43pr51/ME1kJcoYnIRMzmZxXgzzpr/FlkYo0dSp6TAP8XoQLDS2QjDzyTG1F4+n2mZUSkGNHz/Z37LYvFkaLmht5YxFHsbkcrEWAKgkK1ggwVs6R7R1gjmzlHCbeAgxEWwMltSAbGjey0JJntbwSoqVUFR1KmSXxCbf+EOiqDkZk1EyEOwOomcseD+jFT6IVulHhYAs/zmBpjZGSMGEQLte9w55g5/Ad0o6LYfW/HaRIR3mXJDwF68Try4wGOZ6WZuQU6NFjNYubVZkCk3CBP4Y8SYmtb0+S6es0nTkCPLggjUuyYAD5yDHVn5UzBfSLKM0gYiUBC5B8o/iUwv70oBN4EJaOCHMFhg5wu0+THbQjF8sI7NitEhcAI6SMxPkPngo+EM2yvVotCCAoJjHlIdwZnnkxuAEb2YzCkm60m32GR2Tny8LXSemaXkiduli30s8qK3A3wEPmGHgZo+UYTIHJE6UOeFBbigw9ESOiM2TLHQ1cx6to4g17BN/wE+MOmYB52R03lfTsbkEUukBinYfexf9GsRaQTAOR196AneEaDJ+mAe4gEjcqQVAJHhj8HgBAxz7/Aps4Jc935A0cVekQ66CKSrxY5rVI2u8KapI1vt17DXlrQPGjzwh2zHqGSmFrdP6ioADgLNgQR2nk72ZeJRuLZwwgoWbjLsK5cRL+cCMr8EA+SRisjRXJNAA==\",\"glyphicons-halflings-regular.svg\":\"PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiID4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8bWV0YWRhdGE+PC9tZXRhZGF0YT4KPGRlZnM+Cjxmb250IGlkPSJnbHlwaGljb25zX2hhbGZsaW5nc3JlZ3VsYXIiIGhvcml6LWFkdi14PSIxMjAwIiA+Cjxmb250LWZhY2UgdW5pdHMtcGVyLWVtPSIxMjAwIiBhc2NlbnQ9Ijk2MCIgZGVzY2VudD0iLTI0MCIgLz4KPG1pc3NpbmctZ2x5cGggaG9yaXotYWR2LXg9IjUwMCIgLz4KPGdseXBoIC8+CjxnbHlwaCAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZDsiIC8+CjxnbHlwaCB1bmljb2RlPSIgIiAvPgo8Z2x5cGggdW5pY29kZT0iKiIgZD0iTTEwMCA1MDB2MjAwaDI1OWwtMTgzIDE4M2wxNDEgMTQxbDE4MyAtMTgzdjI1OWgyMDB2LTI1OWwxODMgMTgzbDE0MSAtMTQxbC0xODMgLTE4M2gyNTl2LTIwMGgtMjU5bDE4MyAtMTgzbC0xNDEgLTE0MWwtMTgzIDE4M3YtMjU5aC0yMDB2MjU5bC0xODMgLTE4M2wtMTQxIDE0MWwxODMgMTgzaC0yNTl6IiAvPgo8Z2x5cGggdW5pY29kZT0iKyIgZD0iTTAgNDAwdjMwMGg0MDB2NDAwaDMwMHYtNDAwaDQwMHYtMzAwaC00MDB2LTQwMGgtMzAwdjQwMGgtNDAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGEwOyIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeDIwMDA7IiBob3Jpei1hZHYteD0iNjUyIiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4MjAwMTsiIGhvcml6LWFkdi14PSIxMzA0IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4MjAwMjsiIGhvcml6LWFkdi14PSI2NTIiIC8+CjxnbHlwaCB1bmljb2RlPSImI3gyMDAzOyIgaG9yaXotYWR2LXg9IjEzMDQiIC8+CjxnbHlwaCB1bmljb2RlPSImI3gyMDA0OyIgaG9yaXotYWR2LXg9IjQzNCIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeDIwMDU7IiBob3Jpei1hZHYteD0iMzI2IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4MjAwNjsiIGhvcml6LWFkdi14PSIyMTciIC8+CjxnbHlwaCB1bmljb2RlPSImI3gyMDA3OyIgaG9yaXotYWR2LXg9IjIxNyIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeDIwMDg7IiBob3Jpei1hZHYteD0iMTYzIiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4MjAwOTsiIGhvcml6LWFkdi14PSIyNjAiIC8+CjxnbHlwaCB1bmljb2RlPSImI3gyMDBhOyIgaG9yaXotYWR2LXg9IjcyIiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4MjAyZjsiIGhvcml6LWFkdi14PSIyNjAiIC8+CjxnbHlwaCB1bmljb2RlPSImI3gyMDVmOyIgaG9yaXotYWR2LXg9IjMyNiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeDIwYWM7IiBkPSJNMTAwIDUwMGwxMDAgMTAwaDExM3EwIDQ3IDUgMTAwaC0yMThsMTAwIDEwMGgxMzVxMzcgMTY3IDExMiAyNTdxMTE3IDE0MSAyOTcgMTQxcTI0MiAwIDM1NCAtMTg5cTYwIC0xMDMgNjYgLTIwOWgtMTgxcTAgNTUgLTI1LjUgOTl0LTYzLjUgNjh0LTc1IDM2LjV0LTY3IDEyLjVxLTI0IDAgLTUyLjUgLTEwdC02Mi41IC0zMnQtNjUuNSAtNjd0LTUwLjUgLTEwN2gzNzlsLTEwMCAtMTAwaC0zMDBxLTYgLTQ2IC02IC0xMDBoNDA2bC0xMDAgLTEwMCBoLTMwMHE5IC03NCAzMyAtMTMydDUyLjUgLTkxdDYyIC01NC41dDU5IC0yOXQ0Ni41IC03LjVxMjkgMCA2NiAxM3Q3NSAzN3Q2My41IDY3LjV0MjUuNSA5Ni41aDE3NHEtMzEgLTE3MiAtMTI4IC0yNzhxLTEwNyAtMTE3IC0yNzQgLTExN3EtMjA1IDAgLTMyNCAxNThxLTM2IDQ2IC02OSAxMzEuNXQtNDUgMjA1LjVoLTIxN3oiIC8+CjxnbHlwaCB1bmljb2RlPSImI3gyMjEyOyIgZD0iTTIwMCA0MDBoOTAwdjMwMGgtOTAwdi0zMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4MjYwMTsiIGQ9Ik0tMTQgNDk0cTAgLTgwIDU2LjUgLTEzN3QxMzUuNSAtNTdoNzUwcTEyMCAwIDIwNSA4NnQ4NSAyMDhxMCAxMjAgLTg1IDIwNi41dC0yMDUgODYuNXEtNDYgMCAtOTAgLTE0cS00NCA5NyAtMTM0LjUgMTU2LjV0LTIwMC41IDU5LjVxLTE1MiAwIC0yNjAgLTEwNy41dC0xMDggLTI2MC41cTAgLTI1IDIgLTM3cS02NiAtMTQgLTEwOC41IC02Ny41dC00Mi41IC0xMjIuNXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3gyNzA5OyIgZD0iTTAgMTAwbDQwMCA0MDBsMjAwIC0yMDBsMjAwIDIwMGw0MDAgLTQwMGgtMTIwMHpNMCAzMDB2NjAwbDMwMCAtMzAwek0wIDExMDBsNjAwIC02MDNsNjAwIDYwM2gtMTIwMHpNOTAwIDYwMGwzMDAgMzAwdi02MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4MjcwZjsiIGQ9Ik0tMTMgLTEzbDMzMyAxMTJsLTIyMyAyMjN6TTE4NyA0MDNsMjE0IC0yMTRsNjE0IDYxNGwtMjE0IDIxNHpNODg3IDExMDNsMjE0IC0yMTRsOTkgOTJxMTMgMTMgMTMgMzIuNXQtMTMgMzMuNWwtMTUzIDE1M3EtMTUgMTMgLTMzIDEzdC0zMyAtMTN6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAwMDsiIGhvcml6LWFkdi14PSI1MDAiIGQ9Ik0wIDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAwMTsiIGQ9Ik0wIDEyMDBoMTIwMGwtNTAwIC01NTB2LTU1MGgzMDB2LTEwMGgtODAwdjEwMGgzMDB2NTUweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMDI7IiBkPSJNMTQgODRxMTggLTU1IDg2IC03NS41dDE0NyA1LjVxNjUgMjEgMTA5IDY5dDQ0IDkwdjYwNmw2MDAgMTU1di01MjFxLTY0IDE2IC0xMzggLTdxLTc5IC0yNiAtMTIyLjUgLTgzdC0yNS41IC0xMTFxMTcgLTU1IDg1LjUgLTc1LjV0MTQ3LjUgNC41cTcwIDIzIDExMS41IDYzLjV0NDEuNSA5NS41djg4MXEwIDEwIC03IDE1LjV0LTE3IDIuNWwtNzUyIC0xOTNxLTEwIC0zIC0xNyAtMTIuNXQtNyAtMTkuNXYtNjg5cS02NCAxNyAtMTM4IC03IHEtNzkgLTI1IC0xMjIuNSAtODJ0LTI1LjUgLTExMnoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDAzOyIgZD0iTTIzIDY5M3EwIDIwMCAxNDIgMzQydDM0MiAxNDJ0MzQyIC0xNDJ0MTQyIC0zNDJxMCAtMTQyIC03OCAtMjYxbDMwMCAtMzAwcTcgLTggNyAtMTh0LTcgLTE4bC0xMDkgLTEwOXEtOCAtNyAtMTggLTd0LTE4IDdsLTMwMCAzMDBxLTExOSAtNzggLTI2MSAtNzhxLTIwMCAwIC0zNDIgMTQydC0xNDIgMzQyek0xNzYgNjkzcTAgLTEzNiA5NyAtMjMzdDIzNCAtOTd0MjMzLjUgOTYuNXQ5Ni41IDIzMy41dC05Ni41IDIzMy41dC0yMzMuNSA5Ni41IHQtMjM0IC05N3QtOTcgLTIzM3oiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDA1OyIgZD0iTTEwMCA3ODRxMCA2NCAyOCAxMjN0NzMgMTAwLjV0MTA0LjUgNjR0MTE5IDIwLjV0MTIwIC0zOC41dDEwNC41IC0xMDQuNXE0OCA2OSAxMDkuNSAxMDV0MTIxLjUgMzh0MTE4LjUgLTIwLjV0MTAyLjUgLTY0dDcxIC0xMDAuNXQyNyAtMTIzcTAgLTU3IC0zMy41IC0xMTcuNXQtOTQgLTEyNC41dC0xMjYuNSAtMTI3LjV0LTE1MCAtMTUyLjV0LTE0NiAtMTc0cS02MiA4NSAtMTQ1LjUgMTc0dC0xNDkuNSAxNTIuNXQtMTI2LjUgMTI3LjUgdC05NCAxMjQuNXQtMzMuNSAxMTcuNXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDA2OyIgZD0iTS03MiA4MDBoNDc5bDE0NiA0MDBoMmwxNDYgLTQwMGg0NzJsLTM4MiAtMjc4bDE0NSAtNDQ5bC0zODQgMjc1bC0zODIgLTI3NWwxNDYgNDQ3ek0xNjggNzFsMiAxeiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMDc7IiBkPSJNLTcyIDgwMGg0NzlsMTQ2IDQwMGgybDE0NiAtNDAwaDQ3MmwtMzgyIC0yNzhsMTQ1IC00NDlsLTM4NCAyNzVsLTM4MiAtMjc1bDE0NiA0NDd6TTE2OCA3MWwyIDF6TTIzNyA3MDBsMTk2IC0xNDJsLTczIC0yMjZsMTkyIDE0MGwxOTUgLTE0MWwtNzQgMjI5bDE5MyAxNDBoLTIzNWwtNzcgMjExbC03OCAtMjExaC0yMzl6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAwODsiIGQ9Ik0wIDB2MTQzbDQwMCAyNTd2MTAwcS0zNyAwIC02OC41IDc0LjV0LTMxLjUgMTI1LjV2MjAwcTAgMTI0IDg4IDIxMnQyMTIgODh0MjEyIC04OHQ4OCAtMjEydi0yMDBxMCAtNTEgLTMxLjUgLTEyNS41dC02OC41IC03NC41di0xMDBsNDAwIC0yNTd2LTE0M2gtMTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDA5OyIgZD0iTTAgMHYxMTAwaDEyMDB2LTExMDBoLTEyMDB6TTEwMCAxMDBoMTAwdjEwMGgtMTAwdi0xMDB6TTEwMCAzMDBoMTAwdjEwMGgtMTAwdi0xMDB6TTEwMCA1MDBoMTAwdjEwMGgtMTAwdi0xMDB6TTEwMCA3MDBoMTAwdjEwMGgtMTAwdi0xMDB6TTEwMCA5MDBoMTAwdjEwMGgtMTAwdi0xMDB6TTMwMCAxMDBoNjAwdjQwMGgtNjAwdi00MDB6TTMwMCA2MDBoNjAwdjQwMGgtNjAwdi00MDB6TTEwMDAgMTAwaDEwMHYxMDBoLTEwMHYtMTAweiBNMTAwMCAzMDBoMTAwdjEwMGgtMTAwdi0xMDB6TTEwMDAgNTAwaDEwMHYxMDBoLTEwMHYtMTAwek0xMDAwIDcwMGgxMDB2MTAwaC0xMDB2LTEwMHpNMTAwMCA5MDBoMTAwdjEwMGgtMTAwdi0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAxMDsiIGQ9Ik0wIDUwdjQwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoNDAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di00MDBxMCAtMjEgLTE0LjUgLTM1LjV0LTM1LjUgLTE0LjVoLTQwMHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV6TTAgNjUwdjQwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoNDAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di00MDBxMCAtMjEgLTE0LjUgLTM1LjV0LTM1LjUgLTE0LjVoLTQwMCBxLTIxIDAgLTM1LjUgMTQuNXQtMTQuNSAzNS41ek02MDAgNTB2NDAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWg0MDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTQwMHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtNDAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNNjAwIDY1MHY0MDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDQwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtNDAwIHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtNDAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDExOyIgZD0iTTAgNTB2MjAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWgyMDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTIwMHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtMjAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNMCA0NTB2MjAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWgyMDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTIwMHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtMjAwIHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV6TTAgODUwdjIwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoMjAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di0yMDBxMCAtMjEgLTE0LjUgLTM1LjV0LTM1LjUgLTE0LjVoLTIwMHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV6TTQwMCA1MHYyMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDIwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMjAwcTAgLTIxIC0xNC41IC0zNS41IHQtMzUuNSAtMTQuNWgtMjAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNNDAwIDQ1MHYyMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDIwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMjAwcTAgLTIxIC0xNC41IC0zNS41dC0zNS41IC0xNC41aC0yMDBxLTIxIDAgLTM1LjUgMTQuNXQtMTQuNSAzNS41ek00MDAgODUwdjIwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoMjAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41IHYtMjAwcTAgLTIxIC0xNC41IC0zNS41dC0zNS41IC0xNC41aC0yMDBxLTIxIDAgLTM1LjUgMTQuNXQtMTQuNSAzNS41ek04MDAgNTB2MjAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWgyMDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTIwMHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtMjAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNODAwIDQ1MHYyMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDIwMCBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTIwMHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtMjAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNODAwIDg1MHYyMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDIwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMjAwcTAgLTIxIC0xNC41IC0zNS41dC0zNS41IC0xNC41aC0yMDBxLTIxIDAgLTM1LjUgMTQuNXQtMTQuNSAzNS41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMTI7IiBkPSJNMCA1MHYyMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDIwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMjAwcTAgLTIxIC0xNC41IC0zNS41dC0zNS41IC0xNC41aC0yMDBxLTIxIDAgLTM1LjUgMTQuNXQtMTQuNSAzNS41ek0wIDQ1MHEwIC0yMSAxNC41IC0zNS41dDM1LjUgLTE0LjVoMjAwcTIxIDAgMzUuNSAxNC41dDE0LjUgMzUuNXYyMDBxMCAyMSAtMTQuNSAzNS41dC0zNS41IDE0LjVoLTIwMHEtMjEgMCAtMzUuNSAtMTQuNSB0LTE0LjUgLTM1LjV2LTIwMHpNMCA4NTB2MjAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWgyMDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTIwMHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtMjAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNNDAwIDUwdjIwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoNzAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di0yMDBxMCAtMjEgLTE0LjUgLTM1LjUgdC0zNS41IC0xNC41aC03MDBxLTIxIDAgLTM1LjUgMTQuNXQtMTQuNSAzNS41ek00MDAgNDUwdjIwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoNzAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di0yMDBxMCAtMjEgLTE0LjUgLTM1LjV0LTM1LjUgLTE0LjVoLTcwMHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV6TTQwMCA4NTB2MjAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWg3MDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjUgdi0yMDBxMCAtMjEgLTE0LjUgLTM1LjV0LTM1LjUgLTE0LjVoLTcwMHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAxMzsiIGQ9Ik0yOSA0NTRsNDE5IC00MjBsODE4IDgyMGwtMjEyIDIxMmwtNjA3IC02MDdsLTIwNiAyMDd6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAxNDsiIGQ9Ik0xMDYgMzE4bDI4MiAyODJsLTI4MiAyODJsMjEyIDIxMmwyODIgLTI4MmwyODIgMjgybDIxMiAtMjEybC0yODIgLTI4MmwyODIgLTI4MmwtMjEyIC0yMTJsLTI4MiAyODJsLTI4MiAtMjgyeiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMTU7IiBkPSJNMjMgNjkzcTAgMjAwIDE0MiAzNDJ0MzQyIDE0MnQzNDIgLTE0MnQxNDIgLTM0MnEwIC0xNDIgLTc4IC0yNjFsMzAwIC0zMDBxNyAtOCA3IC0xOHQtNyAtMThsLTEwOSAtMTA5cS04IC03IC0xOCAtN3QtMTggN2wtMzAwIDMwMHEtMTE5IC03OCAtMjYxIC03OHEtMjAwIDAgLTM0MiAxNDJ0LTE0MiAzNDJ6TTE3NiA2OTNxMCAtMTM2IDk3IC0yMzN0MjM0IC05N3QyMzMuNSA5Ni41dDk2LjUgMjMzLjV0LTk2LjUgMjMzLjV0LTIzMy41IDk2LjUgdC0yMzQgLTk3dC05NyAtMjMzek0zMDAgNjAwdjIwMGgxMDB2MTAwaDIwMHYtMTAwaDEwMHYtMjAwaC0xMDB2LTEwMGgtMjAwdjEwMGgtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMTY7IiBkPSJNMjMgNjk0cTAgMjAwIDE0MiAzNDJ0MzQyIDE0MnQzNDIgLTE0MnQxNDIgLTM0MnEwIC0xNDEgLTc4IC0yNjJsMzAwIC0yOTlxNyAtNyA3IC0xOHQtNyAtMThsLTEwOSAtMTA5cS04IC04IC0xOCAtOHQtMTggOGwtMzAwIDI5OXEtMTIwIC03NyAtMjYxIC03N3EtMjAwIDAgLTM0MiAxNDJ0LTE0MiAzNDJ6TTE3NiA2OTRxMCAtMTM2IDk3IC0yMzN0MjM0IC05N3QyMzMuNSA5N3Q5Ni41IDIzM3QtOTYuNSAyMzN0LTIzMy41IDk3dC0yMzQgLTk3IHQtOTcgLTIzM3pNMzAwIDYwMWg0MDB2MjAwaC00MDB2LTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDE3OyIgZD0iTTIzIDYwMHEwIDE4MyAxMDUgMzMxdDI3MiAyMTB2LTE2NnEtMTAzIC01NSAtMTY1IC0xNTV0LTYyIC0yMjBxMCAtMTc3IDEyNSAtMzAydDMwMiAtMTI1dDMwMiAxMjV0MTI1IDMwMnEwIDEyMCAtNjIgMjIwdC0xNjUgMTU1djE2NnExNjcgLTYyIDI3MiAtMjEwdDEwNSAtMzMxcTAgLTExOCAtNDUuNSAtMjI0LjV0LTEyMyAtMTg0dC0xODQgLTEyM3QtMjI0LjUgLTQ1LjV0LTIyNC41IDQ1LjV0LTE4NCAxMjN0LTEyMyAxODR0LTQ1LjUgMjI0LjUgek01MDAgNzUwcTAgLTIxIDE0LjUgLTM1LjV0MzUuNSAtMTQuNWgxMDBxMjEgMCAzNS41IDE0LjV0MTQuNSAzNS41djQwMHEwIDIxIC0xNC41IDM1LjV0LTM1LjUgMTQuNWgtMTAwcS0yMSAwIC0zNS41IC0xNC41dC0xNC41IC0zNS41di00MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAxODsiIGQ9Ik0xMDAgMWgyMDB2MzAwaC0yMDB2LTMwMHpNNDAwIDF2NTAwaDIwMHYtNTAwaC0yMDB6TTcwMCAxdjgwMGgyMDB2LTgwMGgtMjAwek0xMDAwIDF2MTIwMGgyMDB2LTEyMDBoLTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDE5OyIgZD0iTTI2IDYwMXEwIC0zMyA2IC03NGwxNTEgLTM4bDIgLTZxMTQgLTQ5IDM4IC05M2wzIC01bC04MCAtMTM0cTQ1IC01OSAxMDUgLTEwNWwxMzMgODFsNSAtM3E0NSAtMjYgOTQgLTM5bDUgLTJsMzggLTE1MXE0MCAtNSA3NCAtNXEyNyAwIDc0IDVsMzggMTUxbDYgMnE0NiAxMyA5MyAzOWw1IDNsMTM0IC04MXE1NiA0NCAxMDQgMTA1bC04MCAxMzRsMyA1cTI0IDQ0IDM5IDkzbDEgNmwxNTIgMzhxNSA0MCA1IDc0cTAgMjggLTUgNzNsLTE1MiAzOCBsLTEgNnEtMTYgNTEgLTM5IDkzbC0zIDVsODAgMTM0cS00NCA1OCAtMTA0IDEwNWwtMTM0IC04MWwtNSAzcS00NSAyNSAtOTMgMzlsLTYgMWwtMzggMTUycS00MCA1IC03NCA1cS0yNyAwIC03NCAtNWwtMzggLTE1MmwtNSAtMXEtNTAgLTE0IC05NCAtMzlsLTUgLTNsLTEzMyA4MXEtNTkgLTQ3IC0xMDUgLTEwNWw4MCAtMTM0bC0zIC01cS0yNSAtNDcgLTM4IC05M2wtMiAtNmwtMTUxIC0zOHEtNiAtNDggLTYgLTczek0zODUgNjAxIHEwIDg4IDYzIDE1MXQxNTIgNjN0MTUyIC02M3Q2MyAtMTUxcTAgLTg5IC02MyAtMTUydC0xNTIgLTYzdC0xNTIgNjN0LTYzIDE1MnoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDIwOyIgZD0iTTEwMCAxMDI1djUwcTAgMTAgNy41IDE3LjV0MTcuNSA3LjVoMjc1djEwMHEwIDQxIDI5LjUgNzAuNXQ3MC41IDI5LjVoMzAwcTQxIDAgNzAuNSAtMjkuNXQyOS41IC03MC41di0xMDBoMjc1cTEwIDAgMTcuNSAtNy41dDcuNSAtMTcuNXYtNTBxMCAtMTEgLTcgLTE4dC0xOCAtN2gtMTA1MHEtMTEgMCAtMTggN3QtNyAxOHpNMjAwIDEwMHY4MDBoOTAwdi04MDBxMCAtNDEgLTI5LjUgLTcxdC03MC41IC0zMGgtNzAwcS00MSAwIC03MC41IDMwIHQtMjkuNSA3MXpNMzAwIDEwMGgxMDB2NzAwaC0xMDB2LTcwMHpNNTAwIDEwMGgxMDB2NzAwaC0xMDB2LTcwMHpNNTAwIDExMDBoMzAwdjEwMGgtMzAwdi0xMDB6TTcwMCAxMDBoMTAwdjcwMGgtMTAwdi03MDB6TTkwMCAxMDBoMTAwdjcwMGgtMTAwdi03MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAyMTsiIGQ9Ik0xIDYwMWw2NTYgNjQ0bDY0NCAtNjQ0aC0yMDB2LTYwMGgtMzAwdjQwMGgtMzAwdi00MDBoLTMwMHY2MDBoLTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDIyOyIgZD0iTTEwMCAyNXYxMTUwcTAgMTEgNyAxOHQxOCA3aDQ3NXYtNTAwaDQwMHYtNjc1cTAgLTExIC03IC0xOHQtMTggLTdoLTg1MHEtMTEgMCAtMTggN3QtNyAxOHpNNzAwIDgwMHYzMDBsMzAwIC0zMDBoLTMwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDIzOyIgZD0iTTQgNjAwcTAgMTYyIDgwIDI5OXQyMTcgMjE3dDI5OSA4MHQyOTkgLTgwdDIxNyAtMjE3dDgwIC0yOTl0LTgwIC0yOTl0LTIxNyAtMjE3dC0yOTkgLTgwdC0yOTkgODB0LTIxNyAyMTd0LTgwIDI5OXpNMTg2IDYwMHEwIC0xNzEgMTIxLjUgLTI5Mi41dDI5Mi41IC0xMjEuNXQyOTIuNSAxMjEuNXQxMjEuNSAyOTIuNXQtMTIxLjUgMjkyLjV0LTI5Mi41IDEyMS41dC0yOTIuNSAtMTIxLjV0LTEyMS41IC0yOTIuNXpNNTAwIDUwMHY0MDBoMTAwIHYtMzAwaDIwMHYtMTAwaC0zMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAyNDsiIGQ9Ik0tMTAwIDBsNDMxIDEyMDBoMjA5bC0yMSAtMzAwaDE2MmwtMjAgMzAwaDIwOGw0MzEgLTEyMDBoLTUzOGwtNDEgNDAwaC0yNDJsLTQwIC00MDBoLTUzOXpNNDg4IDUwMGgyMjRsLTI3IDMwMGgtMTcweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMjU7IiBkPSJNMCAwdjQwMGg0OTBsLTI5MCAzMDBoMjAwdjUwMGgzMDB2LTUwMGgyMDBsLTI5MCAtMzAwaDQ5MHYtNDAwaC0xMTAwek04MTMgMjAwaDE3NXYxMDBoLTE3NXYtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMjY7IiBkPSJNMSA2MDBxMCAxMjIgNDcuNSAyMzN0MTI3LjUgMTkxdDE5MSAxMjcuNXQyMzMgNDcuNXQyMzMgLTQ3LjV0MTkxIC0xMjcuNXQxMjcuNSAtMTkxdDQ3LjUgLTIzM3QtNDcuNSAtMjMzdC0xMjcuNSAtMTkxdC0xOTEgLTEyNy41dC0yMzMgLTQ3LjV0LTIzMyA0Ny41dC0xOTEgMTI3LjV0LTEyNy41IDE5MXQtNDcuNSAyMzN6TTE4OCA2MDBxMCAtMTcwIDEyMSAtMjkxdDI5MSAtMTIxdDI5MSAxMjF0MTIxIDI5MXQtMTIxIDI5MXQtMjkxIDEyMSB0LTI5MSAtMTIxdC0xMjEgLTI5MXpNMzUwIDYwMGgxNTB2MzAwaDIwMHYtMzAwaDE1MGwtMjUwIC0zMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAyNzsiIGQ9Ik00IDYwMHEwIDE2MiA4MCAyOTl0MjE3IDIxN3QyOTkgODB0Mjk5IC04MHQyMTcgLTIxN3Q4MCAtMjk5dC04MCAtMjk5dC0yMTcgLTIxN3QtMjk5IC04MHQtMjk5IDgwdC0yMTcgMjE3dC04MCAyOTl6TTE4NiA2MDBxMCAtMTcxIDEyMS41IC0yOTIuNXQyOTIuNSAtMTIxLjV0MjkyLjUgMTIxLjV0MTIxLjUgMjkyLjV0LTEyMS41IDI5Mi41dC0yOTIuNSAxMjEuNXQtMjkyLjUgLTEyMS41dC0xMjEuNSAtMjkyLjV6TTM1MCA2MDBsMjUwIDMwMCBsMjUwIC0zMDBoLTE1MHYtMzAwaC0yMDB2MzAwaC0xNTB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAyODsiIGQ9Ik0wIDI1djQ3NWwyMDAgNzAwaDgwMHExOTkgLTcwMCAyMDAgLTcwMHYtNDc1cTAgLTExIC03IC0xOHQtMTggLTdoLTExNTBxLTExIDAgLTE4IDd0LTcgMTh6TTIwMCA1MDBoMjAwbDUwIC0yMDBoMzAwbDUwIDIwMGgyMDBsLTk3IDUwMGgtNjA2eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMjk7IiBkPSJNNCA2MDBxMCAxNjIgODAgMjk5dDIxNyAyMTd0Mjk5IDgwdDI5OSAtODB0MjE3IC0yMTd0ODAgLTI5OXQtODAgLTI5OXQtMjE3IC0yMTd0LTI5OSAtODB0LTI5OSA4MHQtMjE3IDIxN3QtODAgMjk5ek0xODYgNjAwcTAgLTE3MiAxMjEuNSAtMjkzdDI5Mi41IC0xMjF0MjkyLjUgMTIxdDEyMS41IDI5M3EwIDE3MSAtMTIxLjUgMjkyLjV0LTI5Mi41IDEyMS41dC0yOTIuNSAtMTIxLjV0LTEyMS41IC0yOTIuNXpNNTAwIDM5N3Y0MDEgbDI5NyAtMjAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMzA7IiBkPSJNMjMgNjAwcTAgLTExOCA0NS41IC0yMjQuNXQxMjMgLTE4NHQxODQgLTEyM3QyMjQuNSAtNDUuNXQyMjQuNSA0NS41dDE4NCAxMjN0MTIzIDE4NHQ0NS41IDIyNC41aC0xNTBxMCAtMTc3IC0xMjUgLTMwMnQtMzAyIC0xMjV0LTMwMiAxMjV0LTEyNSAzMDJ0MTI1IDMwMnQzMDIgMTI1cTEzNiAwIDI0NiAtODFsLTE0NiAtMTQ2aDQwMHY0MDBsLTE0NSAtMTQ1cS0xNTcgMTIyIC0zNTUgMTIycS0xMTggMCAtMjI0LjUgLTQ1LjV0LTE4NCAtMTIzIHQtMTIzIC0xODR0LTQ1LjUgLTIyNC41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMzE7IiBkPSJNMjMgNjAwcTAgMTE4IDQ1LjUgMjI0LjV0MTIzIDE4NHQxODQgMTIzdDIyNC41IDQ1LjVxMTk4IDAgMzU1IC0xMjJsMTQ1IDE0NXYtNDAwaC00MDBsMTQ3IDE0N3EtMTEyIDgwIC0yNDcgODBxLTE3NyAwIC0zMDIgLTEyNXQtMTI1IC0zMDJoLTE1MHpNMTAwIDB2NDAwaDQwMGwtMTQ3IC0xNDdxMTEyIC04MCAyNDcgLTgwcTE3NyAwIDMwMiAxMjV0MTI1IDMwMmgxNTBxMCAtMTE4IC00NS41IC0yMjQuNXQtMTIzIC0xODR0LTE4NCAtMTIzIHQtMjI0LjUgLTQ1LjVxLTE5OCAwIC0zNTUgMTIyeiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMzI7IiBkPSJNMTAwIDBoMTEwMHYxMjAwaC0xMTAwdi0xMjAwek0yMDAgMTAwdjkwMGg5MDB2LTkwMGgtOTAwek0zMDAgMjAwdjEwMGgxMDB2LTEwMGgtMTAwek0zMDAgNDAwdjEwMGgxMDB2LTEwMGgtMTAwek0zMDAgNjAwdjEwMGgxMDB2LTEwMGgtMTAwek0zMDAgODAwdjEwMGgxMDB2LTEwMGgtMTAwek01MDAgMjAwaDUwMHYxMDBoLTUwMHYtMTAwek01MDAgNDAwdjEwMGg1MDB2LTEwMGgtNTAwek01MDAgNjAwdjEwMGg1MDB2LTEwMGgtNTAweiBNNTAwIDgwMHYxMDBoNTAwdi0xMDBoLTUwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDMzOyIgZD0iTTAgMTAwdjYwMHEwIDQxIDI5LjUgNzAuNXQ3MC41IDI5LjVoMTAwdjIwMHEwIDgyIDU5IDE0MXQxNDEgNTloMzAwcTgyIDAgMTQxIC01OXQ1OSAtMTQxdi0yMDBoMTAwcTQxIDAgNzAuNSAtMjkuNXQyOS41IC03MC41di02MDBxMCAtNDEgLTI5LjUgLTcwLjV0LTcwLjUgLTI5LjVoLTkwMHEtNDEgMCAtNzAuNSAyOS41dC0yOS41IDcwLjV6TTQwMCA4MDBoMzAwdjE1MHEwIDIxIC0xNC41IDM1LjV0LTM1LjUgMTQuNWgtMjAwIHEtMjEgMCAtMzUuNSAtMTQuNXQtMTQuNSAtMzUuNXYtMTUweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwMzQ7IiBkPSJNMTAwIDB2MTEwMGgxMDB2LTExMDBoLTEwMHpNMzAwIDQwMHE2MCA2MCAxMjcuNSA4NHQxMjcuNSAxNy41dDEyMiAtMjN0MTE5IC0zMHQxMTAgLTExdDEwMyA0MnQ5MSAxMjAuNXY1MDBxLTQwIC04MSAtMTAxLjUgLTExNS41dC0xMjcuNSAtMjkuNXQtMTM4IDI1dC0xMzkuNSA0MHQtMTI1LjUgMjV0LTEwMyAtMjkuNXQtNjUgLTExNS41di01MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAzNTsiIGQ9Ik0wIDI3NXEwIC0xMSA3IC0xOHQxOCAtN2g1MHExMSAwIDE4IDd0NyAxOHYzMDBxMCAxMjcgNzAuNSAyMzEuNXQxODQuNSAxNjEuNXQyNDUgNTd0MjQ1IC01N3QxODQuNSAtMTYxLjV0NzAuNSAtMjMxLjV2LTMwMHEwIC0xMSA3IC0xOHQxOCAtN2g1MHExMSAwIDE4IDd0NyAxOHYzMDBxMCAxMTYgLTQ5LjUgMjI3dC0xMzEgMTkyLjV0LTE5Mi41IDEzMXQtMjI3IDQ5LjV0LTIyNyAtNDkuNXQtMTkyLjUgLTEzMXQtMTMxIC0xOTIuNSB0LTQ5LjUgLTIyN3YtMzAwek0yMDAgMjB2NDYwcTAgOCA2IDE0dDE0IDZoMTYwcTggMCAxNCAtNnQ2IC0xNHYtNDYwcTAgLTggLTYgLTE0dC0xNCAtNmgtMTYwcS04IDAgLTE0IDZ0LTYgMTR6TTgwMCAyMHY0NjBxMCA4IDYgMTR0MTQgNmgxNjBxOCAwIDE0IC02dDYgLTE0di00NjBxMCAtOCAtNiAtMTR0LTE0IC02aC0xNjBxLTggMCAtMTQgNnQtNiAxNHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDM2OyIgZD0iTTAgNDAwaDMwMGwzMDAgLTIwMHY4MDBsLTMwMCAtMjAwaC0zMDB2LTQwMHpNNjg4IDQ1OWwxNDEgMTQxbC0xNDEgMTQxbDcxIDcxbDE0MSAtMTQxbDE0MSAxNDFsNzEgLTcxbC0xNDEgLTE0MWwxNDEgLTE0MWwtNzEgLTcxbC0xNDEgMTQxbC0xNDEgLTE0MXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDM3OyIgZD0iTTAgNDAwaDMwMGwzMDAgLTIwMHY4MDBsLTMwMCAtMjAwaC0zMDB2LTQwMHpNNzAwIDg1N2w2OSA1M3ExMTEgLTEzNSAxMTEgLTMxMHEwIC0xNjkgLTEwNiAtMzAybC02NyA1NHE4NiAxMTAgODYgMjQ4cTAgMTQ2IC05MyAyNTd6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTAzODsiIGQ9Ik0wIDQwMXY0MDBoMzAwbDMwMCAyMDB2LTgwMGwtMzAwIDIwMGgtMzAwek03MDIgODU4bDY5IDUzcTExMSAtMTM1IDExMSAtMzEwcTAgLTE3MCAtMTA2IC0zMDNsLTY3IDU1cTg2IDExMCA4NiAyNDhxMCAxNDUgLTkzIDI1N3pNODg5IDk1MWw3IC04cTEyMyAtMTUxIDEyMyAtMzQ0cTAgLTE4OSAtMTE5IC0zMzlsLTcgLThsODEgLTY2bDYgOHExNDIgMTc4IDE0MiA0MDVxMCAyMzAgLTE0NCA0MDhsLTYgOHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDM5OyIgZD0iTTAgMGg1MDB2NTAwaC0yMDB2MTAwaC0xMDB2LTEwMGgtMjAwdi01MDB6TTAgNjAwaDEwMHYxMDBoNDAwdjEwMGgxMDB2MTAwaC0xMDB2MzAwaC01MDB2LTYwMHpNMTAwIDEwMHYzMDBoMzAwdi0zMDBoLTMwMHpNMTAwIDgwMHYzMDBoMzAwdi0zMDBoLTMwMHpNMjAwIDIwMHYxMDBoMTAwdi0xMDBoLTEwMHpNMjAwIDkwMGgxMDB2MTAwaC0xMDB2LTEwMHpNNTAwIDUwMHYxMDBoMzAwdi0zMDBoMjAwdi0xMDBoLTEwMHYtMTAwaC0yMDB2MTAwIGgtMTAwdjEwMGgxMDB2MjAwaC0yMDB6TTYwMCAwdjEwMGgxMDB2LTEwMGgtMTAwek02MDAgMTAwMGgxMDB2LTMwMGgyMDB2LTMwMGgzMDB2MjAwaC0yMDB2MTAwaDIwMHY1MDBoLTYwMHYtMjAwek04MDAgODAwdjMwMGgzMDB2LTMwMGgtMzAwek05MDAgMHYxMDBoMzAwdi0xMDBoLTMwMHpNOTAwIDkwMHYxMDBoMTAwdi0xMDBoLTEwMHpNMTEwMCAyMDB2MTAwaDEwMHYtMTAwaC0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA0MDsiIGQ9Ik0wIDIwMGgxMDB2MTAwMGgtMTAwdi0xMDAwek0xMDAgMHYxMDBoMzAwdi0xMDBoLTMwMHpNMjAwIDIwMHYxMDAwaDEwMHYtMTAwMGgtMTAwek01MDAgMHY5MWgxMDB2LTkxaC0xMDB6TTUwMCAyMDB2MTAwMGgyMDB2LTEwMDBoLTIwMHpNNzAwIDB2OTFoMTAwdi05MWgtMTAwek04MDAgMjAwdjEwMDBoMTAwdi0xMDAwaC0xMDB6TTkwMCAwdjkxaDIwMHYtOTFoLTIwMHpNMTAwMCAyMDB2MTAwMGgyMDB2LTEwMDBoLTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDQxOyIgZD0iTTEgNzAwdjQ3NXEwIDEwIDcuNSAxNy41dDE3LjUgNy41aDQ3NGw3MDAgLTcwMGwtNTAwIC01MDB6TTE0OCA5NTNxMCAtNDIgMjkgLTcxcTMwIC0zMCA3MS41IC0zMHQ3MS41IDMwcTI5IDI5IDI5IDcxdC0yOSA3MXEtMzAgMzAgLTcxLjUgMzB0LTcxLjUgLTMwcS0yOSAtMjkgLTI5IC03MXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDQyOyIgZD0iTTIgNzAwdjQ3NXEwIDExIDcgMTh0MTggN2g0NzRsNzAwIC03MDBsLTUwMCAtNTAwek0xNDggOTUzcTAgLTQyIDMwIC03MXEyOSAtMzAgNzEgLTMwdDcxIDMwcTMwIDI5IDMwIDcxdC0zMCA3MXEtMjkgMzAgLTcxIDMwdC03MSAtMzBxLTMwIC0yOSAtMzAgLTcxek03MDEgMTIwMGgxMDBsNzAwIC03MDBsLTUwMCAtNTAwbC01MCA1MGw0NTAgNDUweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNDM7IiBkPSJNMTAwIDB2MTAyNWwxNzUgMTc1aDkyNXYtMTAwMGwtMTAwIC0xMDB2MTAwMGgtNzUwbC0xMDAgLTEwMGg3NTB2LTEwMDBoLTkwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDQ0OyIgZD0iTTIwMCAwbDQ1MCA0NDRsNDUwIC00NDN2MTE1MHEwIDIwIC0xNC41IDM1dC0zNS41IDE1aC04MDBxLTIxIDAgLTM1LjUgLTE1dC0xNC41IC0zNXYtMTE1MXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDQ1OyIgZD0iTTAgMTAwdjcwMGgyMDBsMTAwIC0yMDBoNjAwbDEwMCAyMDBoMjAwdi03MDBoLTIwMHYyMDBoLTgwMHYtMjAwaC0yMDB6TTI1MyA4MjlsNDAgLTEyNGg1OTJsNjIgMTI0bC05NCAzNDZxLTIgMTEgLTEwIDE4dC0xOCA3aC00NTBxLTEwIDAgLTE4IC03dC0xMCAtMTh6TTI4MSAyNGwzOCAxNTJxMiAxMCAxMS41IDE3dDE5LjUgN2g1MDBxMTAgMCAxOS41IC03dDExLjUgLTE3bDM4IC0xNTJxMiAtMTAgLTMuNSAtMTd0LTE1LjUgLTdoLTYwMCBxLTEwIDAgLTE1LjUgN3QtMy41IDE3eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNDY7IiBkPSJNMCAyMDBxMCAtNDEgMjkuNSAtNzAuNXQ3MC41IC0yOS41aDEwMDBxNDEgMCA3MC41IDI5LjV0MjkuNSA3MC41djYwMHEwIDQxIC0yOS41IDcwLjV0LTcwLjUgMjkuNWgtMTUwcS00IDggLTExLjUgMjEuNXQtMzMgNDh0LTUzIDYxdC02OSA0OHQtODMuNSAyMS41aC0yMDBxLTQxIDAgLTgyIC0yMC41dC03MCAtNTB0LTUyIC01OXQtMzQgLTUwLjVsLTEyIC0yMGgtMTUwcS00MSAwIC03MC41IC0yOS41dC0yOS41IC03MC41di02MDB6IE0zNTYgNTAwcTAgMTAwIDcyIDE3MnQxNzIgNzJ0MTcyIC03MnQ3MiAtMTcydC03MiAtMTcydC0xNzIgLTcydC0xNzIgNzJ0LTcyIDE3MnpNNDk0IDUwMHEwIC00NCAzMSAtNzV0NzUgLTMxdDc1IDMxdDMxIDc1dC0zMSA3NXQtNzUgMzF0LTc1IC0zMXQtMzEgLTc1ek05MDAgNzAwdjEwMGgxMDB2LTEwMGgtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNDc7IiBkPSJNNTMgMGgzNjV2NjZxLTQxIDAgLTcyIDExdC00OSAzOHQxIDcxbDkyIDIzNGgzOTFsODIgLTIyMnExNiAtNDUgLTUuNSAtODguNXQtNzQuNSAtNDMuNXYtNjZoNDE3djY2cS0zNCAxIC03NCA0M3EtMTggMTkgLTMzIDQydC0yMSAzN2wtNiAxM2wtMzg1IDk5OGgtOTNsLTM5OSAtMTAwNnEtMjQgLTQ4IC01MiAtNzVxLTEyIC0xMiAtMzMgLTI1dC0zNiAtMjBsLTE1IC03di02NnpNNDE2IDUyMWwxNzggNDU3bDQ2IC0xNDBsMTE2IC0zMTdoLTM0MCB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA0ODsiIGQ9Ik0xMDAgMHY4OXE0MSA3IDcwLjUgMzIuNXQyOS41IDY1LjV2ODI3cTAgMjggLTEgMzkuNXQtNS41IDI2dC0xNS41IDIxdC0yOSAxNHQtNDkgMTQuNXY3MGg0NzFxMTIwIDAgMjEzIC04OHQ5MyAtMjI4cTAgLTU1IC0xMS41IC0xMDEuNXQtMjggLTc0dC0zMy41IC00Ny41dC0yOCAtMjhsLTEyIC03cTggLTMgMjEuNSAtOXQ0OCAtMzEuNXQ2MC41IC01OHQ0Ny41IC05MS41dDIxLjUgLTEyOXEwIC04NCAtNTkgLTE1Ni41dC0xNDIgLTExMSB0LTE2MiAtMzguNWgtNTAwek00MDAgMjAwaDE2MXE4OSAwIDE1MyA0OC41dDY0IDEzMi41cTAgOTAgLTYyLjUgMTU0LjV0LTE1Ni41IDY0LjVoLTE1OXYtNDAwek00MDAgNzAwaDEzOXE3NiAwIDEzMCA2MS41dDU0IDEzOC41cTAgODIgLTg0IDEzMC41dC0yMzkgNDguNXYtMzc5eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNDk7IiBkPSJNMjAwIDB2NTdxNzcgNyAxMzQuNSA0MC41dDY1LjUgODAuNWwxNzMgODQ5cTEwIDU2IC0xMCA3NHQtOTEgMzdxLTYgMSAtMTAuNSAyLjV0LTkuNSAyLjV2NTdoNDI1bDIgLTU3cS0zMyAtOCAtNjIgLTI1LjV0LTQ2IC0zN3QtMjkuNSAtMzh0LTE3LjUgLTMwLjVsLTUgLTEybC0xMjggLTgyNXEtMTAgLTUyIDE0IC04MnQ5NSAtMzZ2LTU3aC01MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA1MDsiIGQ9Ik0tNzUgMjAwaDc1djgwMGgtNzVsMTI1IDE2N2wxMjUgLTE2N2gtNzV2LTgwMGg3NWwtMTI1IC0xNjd6TTMwMCA5MDB2MzAwaDE1MGg3MDBoMTUwdi0zMDBoLTUwcTAgMjkgLTggNDguNXQtMTguNSAzMHQtMzMuNSAxNXQtMzkuNSA1LjV0LTUwLjUgMWgtMjAwdi04NTBsMTAwIC01MHYtMTAwaC00MDB2MTAwbDEwMCA1MHY4NTBoLTIwMHEtMzQgMCAtNTAuNSAtMXQtNDAgLTUuNXQtMzMuNSAtMTV0LTE4LjUgLTMwdC04LjUgLTQ4LjVoLTQ5eiAiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDUxOyIgZD0iTTMzIDUxbDE2NyAxMjV2LTc1aDgwMHY3NWwxNjcgLTEyNWwtMTY3IC0xMjV2NzVoLTgwMHYtNzV6TTEwMCA5MDF2MzAwaDE1MGg3MDBoMTUwdi0zMDBoLTUwcTAgMjkgLTggNDguNXQtMTggMzB0LTMzLjUgMTV0LTQwIDUuNXQtNTAuNSAxaC0yMDB2LTY1MGwxMDAgLTUwdi0xMDBoLTQwMHYxMDBsMTAwIDUwdjY1MGgtMjAwcS0zNCAwIC01MC41IC0xdC0zOS41IC01LjV0LTMzLjUgLTE1dC0xOC41IC0zMHQtOCAtNDguNWgtNTB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA1MjsiIGQ9Ik0wIDUwcTAgLTIwIDE0LjUgLTM1dDM1LjUgLTE1aDExMDBxMjEgMCAzNS41IDE1dDE0LjUgMzV2MTAwcTAgMjEgLTE0LjUgMzUuNXQtMzUuNSAxNC41aC0xMTAwcS0yMSAwIC0zNS41IC0xNC41dC0xNC41IC0zNS41di0xMDB6TTAgMzUwcTAgLTIwIDE0LjUgLTM1dDM1LjUgLTE1aDgwMHEyMSAwIDM1LjUgMTV0MTQuNSAzNXYxMDBxMCAyMSAtMTQuNSAzNS41dC0zNS41IDE0LjVoLTgwMHEtMjEgMCAtMzUuNSAtMTQuNXQtMTQuNSAtMzUuNSB2LTEwMHpNMCA2NTBxMCAtMjAgMTQuNSAtMzV0MzUuNSAtMTVoMTAwMHEyMSAwIDM1LjUgMTV0MTQuNSAzNXYxMDBxMCAyMSAtMTQuNSAzNS41dC0zNS41IDE0LjVoLTEwMDBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTEwMHpNMCA5NTBxMCAtMjAgMTQuNSAtMzV0MzUuNSAtMTVoNjAwcTIxIDAgMzUuNSAxNXQxNC41IDM1djEwMHEwIDIxIC0xNC41IDM1LjV0LTM1LjUgMTQuNWgtNjAwcS0yMSAwIC0zNS41IC0xNC41IHQtMTQuNSAtMzUuNXYtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNTM7IiBkPSJNMCA1MHEwIC0yMCAxNC41IC0zNXQzNS41IC0xNWgxMTAwcTIxIDAgMzUuNSAxNXQxNC41IDM1djEwMHEwIDIxIC0xNC41IDM1LjV0LTM1LjUgMTQuNWgtMTEwMHEtMjEgMCAtMzUuNSAtMTQuNXQtMTQuNSAtMzUuNXYtMTAwek0wIDY1MHEwIC0yMCAxNC41IC0zNXQzNS41IC0xNWgxMTAwcTIxIDAgMzUuNSAxNXQxNC41IDM1djEwMHEwIDIxIC0xNC41IDM1LjV0LTM1LjUgMTQuNWgtMTEwMHEtMjEgMCAtMzUuNSAtMTQuNXQtMTQuNSAtMzUuNSB2LTEwMHpNMjAwIDM1MHEwIC0yMCAxNC41IC0zNXQzNS41IC0xNWg3MDBxMjEgMCAzNS41IDE1dDE0LjUgMzV2MTAwcTAgMjEgLTE0LjUgMzUuNXQtMzUuNSAxNC41aC03MDBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTEwMHpNMjAwIDk1MHEwIC0yMCAxNC41IC0zNXQzNS41IC0xNWg3MDBxMjEgMCAzNS41IDE1dDE0LjUgMzV2MTAwcTAgMjEgLTE0LjUgMzUuNXQtMzUuNSAxNC41aC03MDBxLTIxIDAgLTM1LjUgLTE0LjUgdC0xNC41IC0zNS41di0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA1NDsiIGQ9Ik0wIDUwdjEwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoMTEwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMTAwcTAgLTIwIC0xNC41IC0zNXQtMzUuNSAtMTVoLTExMDBxLTIxIDAgLTM1LjUgMTV0LTE0LjUgMzV6TTEwMCA2NTB2MTAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWgxMDAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di0xMDBxMCAtMjAgLTE0LjUgLTM1dC0zNS41IC0xNWgtMTAwMHEtMjEgMCAtMzUuNSAxNSB0LTE0LjUgMzV6TTMwMCAzNTB2MTAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWg4MDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTEwMHEwIC0yMCAtMTQuNSAtMzV0LTM1LjUgLTE1aC04MDBxLTIxIDAgLTM1LjUgMTV0LTE0LjUgMzV6TTUwMCA5NTB2MTAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWg2MDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTEwMHEwIC0yMCAtMTQuNSAtMzV0LTM1LjUgLTE1aC02MDAgcS0yMSAwIC0zNS41IDE1dC0xNC41IDM1eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNTU7IiBkPSJNMCA1MHYxMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDExMDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTEwMHEwIC0yMCAtMTQuNSAtMzV0LTM1LjUgLTE1aC0xMTAwcS0yMSAwIC0zNS41IDE1dC0xNC41IDM1ek0wIDM1MHYxMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDExMDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTEwMHEwIC0yMCAtMTQuNSAtMzV0LTM1LjUgLTE1aC0xMTAwcS0yMSAwIC0zNS41IDE1IHQtMTQuNSAzNXpNMCA2NTB2MTAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWgxMTAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di0xMDBxMCAtMjAgLTE0LjUgLTM1dC0zNS41IC0xNWgtMTEwMHEtMjEgMCAtMzUuNSAxNXQtMTQuNSAzNXpNMCA5NTB2MTAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWgxMTAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di0xMDBxMCAtMjAgLTE0LjUgLTM1dC0zNS41IC0xNWgtMTEwMCBxLTIxIDAgLTM1LjUgMTV0LTE0LjUgMzV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA1NjsiIGQ9Ik0wIDUwdjEwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoMTAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di0xMDBxMCAtMjAgLTE0LjUgLTM1dC0zNS41IC0xNWgtMTAwcS0yMSAwIC0zNS41IDE1dC0xNC41IDM1ek0wIDM1MHYxMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDEwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMTAwcTAgLTIwIC0xNC41IC0zNXQtMzUuNSAtMTVoLTEwMHEtMjEgMCAtMzUuNSAxNSB0LTE0LjUgMzV6TTAgNjUwdjEwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoMTAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di0xMDBxMCAtMjAgLTE0LjUgLTM1dC0zNS41IC0xNWgtMTAwcS0yMSAwIC0zNS41IDE1dC0xNC41IDM1ek0wIDk1MHYxMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDEwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMTAwcTAgLTIwIC0xNC41IC0zNXQtMzUuNSAtMTVoLTEwMHEtMjEgMCAtMzUuNSAxNSB0LTE0LjUgMzV6TTMwMCA1MHYxMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDgwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMTAwcTAgLTIwIC0xNC41IC0zNXQtMzUuNSAtMTVoLTgwMHEtMjEgMCAtMzUuNSAxNXQtMTQuNSAzNXpNMzAwIDM1MHYxMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDgwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMTAwcTAgLTIwIC0xNC41IC0zNXQtMzUuNSAtMTVoLTgwMCBxLTIxIDAgLTM1LjUgMTV0LTE0LjUgMzV6TTMwMCA2NTB2MTAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWg4MDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTEwMHEwIC0yMCAtMTQuNSAtMzV0LTM1LjUgLTE1aC04MDBxLTIxIDAgLTM1LjUgMTV0LTE0LjUgMzV6TTMwMCA5NTB2MTAwcTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWg4MDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTEwMHEwIC0yMCAtMTQuNSAtMzV0LTM1LjUgLTE1IGgtODAwcS0yMSAwIC0zNS41IDE1dC0xNC41IDM1eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNTc7IiBkPSJNLTEwMSA1MDB2MTAwaDIwMXY3NWwxNjYgLTEyNWwtMTY2IC0xMjV2NzVoLTIwMXpNMzAwIDBoMTAwdjExMDBoLTEwMHYtMTEwMHpNNTAwIDUwcTAgLTIwIDE0LjUgLTM1dDM1LjUgLTE1aDYwMHEyMCAwIDM1IDE1dDE1IDM1djEwMHEwIDIxIC0xNSAzNS41dC0zNSAxNC41aC02MDBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTEwMHpNNTAwIDM1MHEwIC0yMCAxNC41IC0zNXQzNS41IC0xNWgzMDBxMjAgMCAzNSAxNXQxNSAzNSB2MTAwcTAgMjEgLTE1IDM1LjV0LTM1IDE0LjVoLTMwMHEtMjEgMCAtMzUuNSAtMTQuNXQtMTQuNSAtMzUuNXYtMTAwek01MDAgNjUwcTAgLTIwIDE0LjUgLTM1dDM1LjUgLTE1aDUwMHEyMCAwIDM1IDE1dDE1IDM1djEwMHEwIDIxIC0xNSAzNS41dC0zNSAxNC41aC01MDBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTEwMHpNNTAwIDk1MHEwIC0yMCAxNC41IC0zNXQzNS41IC0xNWgxMDBxMjAgMCAzNSAxNXQxNSAzNXYxMDAgcTAgMjEgLTE1IDM1LjV0LTM1IDE0LjVoLTEwMHEtMjEgMCAtMzUuNSAtMTQuNXQtMTQuNSAtMzUuNXYtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNTg7IiBkPSJNMSA1MHEwIC0yMCAxNC41IC0zNXQzNS41IC0xNWg2MDBxMjAgMCAzNSAxNXQxNSAzNXYxMDBxMCAyMSAtMTUgMzUuNXQtMzUgMTQuNWgtNjAwcS0yMSAwIC0zNS41IC0xNC41dC0xNC41IC0zNS41di0xMDB6TTEgMzUwcTAgLTIwIDE0LjUgLTM1dDM1LjUgLTE1aDMwMHEyMCAwIDM1IDE1dDE1IDM1djEwMHEwIDIxIC0xNSAzNS41dC0zNSAxNC41aC0zMDBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTEwMHpNMSA2NTAgcTAgLTIwIDE0LjUgLTM1dDM1LjUgLTE1aDUwMHEyMCAwIDM1IDE1dDE1IDM1djEwMHEwIDIxIC0xNSAzNS41dC0zNSAxNC41aC01MDBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTEwMHpNMSA5NTBxMCAtMjAgMTQuNSAtMzV0MzUuNSAtMTVoMTAwcTIwIDAgMzUgMTV0MTUgMzV2MTAwcTAgMjEgLTE1IDM1LjV0LTM1IDE0LjVoLTEwMHEtMjEgMCAtMzUuNSAtMTQuNXQtMTQuNSAtMzUuNXYtMTAwek04MDEgMHYxMTAwaDEwMHYtMTEwMCBoLTEwMHpNOTM0IDU1MGwxNjcgLTEyNXY3NWgyMDB2MTAwaC0yMDB2NzV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA1OTsiIGQ9Ik0wIDI3NXY2NTBxMCAzMSAyMiA1M3Q1MyAyMmg3NTBxMzEgMCA1MyAtMjJ0MjIgLTUzdi02NTBxMCAtMzEgLTIyIC01M3QtNTMgLTIyaC03NTBxLTMxIDAgLTUzIDIydC0yMiA1M3pNOTAwIDYwMGwzMDAgMzAwdi02MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA2MDsiIGQ9Ik0wIDQ0djEwMTJxMCAxOCAxMyAzMXQzMSAxM2gxMTEycTE5IDAgMzEuNSAtMTN0MTIuNSAtMzF2LTEwMTJxMCAtMTggLTEyLjUgLTMxdC0zMS41IC0xM2gtMTExMnEtMTggMCAtMzEgMTN0LTEzIDMxek0xMDAgMjYzbDI0NyAxODJsMjk4IC0xMzFsLTc0IDE1NmwyOTMgMzE4bDIzNiAtMjg4djUwMGgtMTAwMHYtNzM3ek0yMDggNzUwcTAgNTYgMzkgOTV0OTUgMzl0OTUgLTM5dDM5IC05NXQtMzkgLTk1dC05NSAtMzl0LTk1IDM5dC0zOSA5NXogIiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA2MjsiIGQ9Ik0xNDggNzQ1cTAgMTI0IDYwLjUgMjMxLjV0MTY1IDE3MnQyMjYuNSA2NC41cTEyMyAwIDIyNyAtNjN0MTY0LjUgLTE2OS41dDYwLjUgLTIyOS41dC03MyAtMjcycS03MyAtMTE0IC0xNjYuNSAtMjM3dC0xNTAuNSAtMTg5bC01NyAtNjZxLTEwIDkgLTI3IDI2dC02Ni41IDcwLjV0LTk2IDEwOXQtMTA0IDEzNS41dC0xMDAuNSAxNTVxLTYzIDEzOSAtNjMgMjYyek0zNDIgNzcycTAgLTEwNyA3NS41IC0xODIuNXQxODEuNSAtNzUuNSBxMTA3IDAgMTgyLjUgNzUuNXQ3NS41IDE4Mi41dC03NS41IDE4MnQtMTgyLjUgNzV0LTE4MiAtNzUuNXQtNzUgLTE4MS41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNjM7IiBkPSJNMSA2MDBxMCAxMjIgNDcuNSAyMzN0MTI3LjUgMTkxdDE5MSAxMjcuNXQyMzMgNDcuNXQyMzMgLTQ3LjV0MTkxIC0xMjcuNXQxMjcuNSAtMTkxdDQ3LjUgLTIzM3QtNDcuNSAtMjMzdC0xMjcuNSAtMTkxdC0xOTEgLTEyNy41dC0yMzMgLTQ3LjV0LTIzMyA0Ny41dC0xOTEgMTI3LjV0LTEyNy41IDE5MXQtNDcuNSAyMzN6TTE3MyA2MDBxMCAtMTc3IDEyNS41IC0zMDJ0MzAxLjUgLTEyNXY4NTRxLTE3NiAwIC0zMDEuNSAtMTI1IHQtMTI1LjUgLTMwMnoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDY0OyIgZD0iTTExNyA0MDZxMCA5NCAzNCAxODZ0ODguNSAxNzIuNXQxMTIgMTU5dDExNSAxNzd0ODcuNSAxOTQuNXEyMSAtNzEgNTcuNSAtMTQyLjV0NzYgLTEzMC41dDgzIC0xMTguNXQ4MiAtMTE3dDcwIC0xMTZ0NTAgLTEyNS41dDE4LjUgLTEzNnEwIC04OSAtMzkgLTE2NS41dC0xMDIgLTEyNi41dC0xNDAgLTc5LjV0LTE1NiAtMzMuNXEtMTE0IDYgLTIxMS41IDUzdC0xNjEuNSAxMzguNXQtNjQgMjEwLjV6TTI0MyA0MTRxMTQgLTgyIDU5LjUgLTEzNiB0MTM2LjUgLTgwbDE2IDk4cS03IDYgLTE4IDE3dC0zNCA0OHQtMzMgNzdxLTE1IDczIC0xNCAxNDMuNXQxMCAxMjIuNWw5IDUxcS05MiAtMTEwIC0xMTkuNSAtMTg1dC0xMi41IC0xNTZ6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA2NTsiIGQ9Ik0wIDQwMHYzMDBxMCAxNjUgMTE3LjUgMjgyLjV0MjgyLjUgMTE3LjVxMzY2IC02IDM5NyAtMTRsLTE4NiAtMTg2aC0zMTFxLTQxIDAgLTcwLjUgLTI5LjV0LTI5LjUgLTcwLjV2LTUwMHEwIC00MSAyOS41IC03MC41dDcwLjUgLTI5LjVoNTAwcTQxIDAgNzAuNSAyOS41dDI5LjUgNzAuNXYxMjVsMjAwIDIwMHYtMjI1cTAgLTE2NSAtMTE3LjUgLTI4Mi41dC0yODIuNSAtMTE3LjVoLTMwMHEtMTY1IDAgLTI4Mi41IDExNy41IHQtMTE3LjUgMjgyLjV6TTQzNiAzNDFsMTYxIDUwbDQxMiA0MTJsLTExNCAxMTNsLTQwNSAtNDA1ek05OTUgMTAxNWwxMTMgLTExM2wxMTMgMTEzbC0yMSA4NWwtOTIgMjh6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA2NjsiIGQ9Ik0wIDQwMHYzMDBxMCAxNjUgMTE3LjUgMjgyLjV0MjgyLjUgMTE3LjVoMjYxbDIgLTgwcS0xMzMgLTMyIC0yMTggLTEyMGgtMTQ1cS00MSAwIC03MC41IC0yOS41dC0yOS41IC03MC41di01MDBxMCAtNDEgMjkuNSAtNzAuNXQ3MC41IC0yOS41aDUwMHE0MSAwIDcwLjUgMjkuNXQyOS41IDcwLjVsMjAwIDE1M3YtNTNxMCAtMTY1IC0xMTcuNSAtMjgyLjV0LTI4Mi41IC0xMTcuNWgtMzAwcS0xNjUgMCAtMjgyLjUgMTE3LjV0LTExNy41IDI4Mi41IHpNNDIzIDUyNHEzMCAzOCA4MS41IDY0dDEwMyAzNS41dDk5IDE0dDc3LjUgMy41bDI5IC0xdi0yMDlsMzYwIDMyNGwtMzU5IDMxOHYtMjE2cS03IDAgLTE5IC0xdC00OCAtOHQtNjkuNSAtMTguNXQtNzYuNSAtMzd0LTc2LjUgLTU5dC02MiAtODh0LTM5LjUgLTEyMS41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNjc7IiBkPSJNMCA0MDB2MzAwcTAgMTY1IDExNy41IDI4Mi41dDI4Mi41IDExNy41aDMwMHE2MCAwIDEyNyAtMjNsLTE3OCAtMTc3aC0zNDlxLTQxIDAgLTcwLjUgLTI5LjV0LTI5LjUgLTcwLjV2LTUwMHEwIC00MSAyOS41IC03MC41dDcwLjUgLTI5LjVoNTAwcTQxIDAgNzAuNSAyOS41dDI5LjUgNzAuNXY2OWwyMDAgMjAwdi0xNjlxMCAtMTY1IC0xMTcuNSAtMjgyLjV0LTI4Mi41IC0xMTcuNWgtMzAwcS0xNjUgMCAtMjgyLjUgMTE3LjUgdC0xMTcuNSAyODIuNXpNMzQyIDYzMmwyODMgLTI4NGw1NjYgNTY3bC0xMzYgMTM3bC00MzAgLTQzMWwtMTQ3IDE0N3oiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDY4OyIgZD0iTTAgNjAzbDMwMCAyOTZ2LTE5OGgyMDB2MjAwaC0yMDBsMzAwIDMwMGwyOTUgLTMwMGgtMTk1di0yMDBoMjAwdjE5OGwzMDAgLTI5NmwtMzAwIC0zMDB2MTk4aC0yMDB2LTIwMGgxOTVsLTI5NSAtMzAwbC0zMDAgMzAwaDIwMHYyMDBoLTIwMHYtMTk4eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNjk7IiBkPSJNMjAwIDUwdjEwMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDEwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtNDM3bDUwMCA0ODd2LTExMDBsLTUwMCA0ODh2LTQzOHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtMTAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDcwOyIgZD0iTTAgNTB2MTAwMHEwIDIxIDE0LjUgMzUuNXQzNS41IDE0LjVoMTAwcTIxIDAgMzUuNSAtMTQuNXQxNC41IC0zNS41di00MzdsNTAwIDQ4N3YtNDg3bDUwMCA0ODd2LTExMDBsLTUwMCA0ODh2LTQ4OGwtNTAwIDQ4OHYtNDM4cTAgLTIxIC0xNC41IC0zNS41dC0zNS41IC0xNC41aC0xMDBxLTIxIDAgLTM1LjUgMTQuNXQtMTQuNSAzNS41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNzE7IiBkPSJNMTM2IDU1MGw1NjQgNTUwdi00ODdsNTAwIDQ4N3YtMTEwMGwtNTAwIDQ4OHYtNDg4eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNzI7IiBkPSJNMjAwIDBsOTAwIDU1MGwtOTAwIDU1MHYtMTEwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDczOyIgZD0iTTIwMCAxNTBxMCAtMjEgMTQuNSAtMzUuNXQzNS41IC0xNC41aDIwMHEyMSAwIDM1LjUgMTQuNXQxNC41IDM1LjV2ODAwcTAgMjEgLTE0LjUgMzUuNXQtMzUuNSAxNC41aC0yMDBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTgwMHpNNjAwIDE1MHEwIC0yMSAxNC41IC0zNS41dDM1LjUgLTE0LjVoMjAwcTIxIDAgMzUuNSAxNC41dDE0LjUgMzUuNXY4MDBxMCAyMSAtMTQuNSAzNS41dC0zNS41IDE0LjVoLTIwMCBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTgwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDc0OyIgZD0iTTIwMCAxNTBxMCAtMjAgMTQuNSAtMzV0MzUuNSAtMTVoODAwcTIxIDAgMzUuNSAxNXQxNC41IDM1djgwMHEwIDIxIC0xNC41IDM1LjV0LTM1LjUgMTQuNWgtODAwcS0yMSAwIC0zNS41IC0xNC41dC0xNC41IC0zNS41di04MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA3NTsiIGQ9Ik0wIDB2MTEwMGw1MDAgLTQ4N3Y0ODdsNTY0IC01NTBsLTU2NCAtNTUwdjQ4OHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDc2OyIgZD0iTTAgMHYxMTAwbDUwMCAtNDg3djQ4N2w1MDAgLTQ4N3Y0MzdxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDEwMHEyMSAwIDM1LjUgLTE0LjV0MTQuNSAtMzUuNXYtMTAwMHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtMTAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXY0MzhsLTUwMCAtNDg4djQ4OHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDc3OyIgZD0iTTMwMCAwdjExMDBsNTAwIC00ODd2NDM3cTAgMjEgMTQuNSAzNS41dDM1LjUgMTQuNWgxMDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTEwMDBxMCAtMjEgLTE0LjUgLTM1LjV0LTM1LjUgLTE0LjVoLTEwMHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV2NDM4eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwNzg7IiBkPSJNMTAwIDI1MHYxMDBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDEwMDBxMjEgMCAzNS41IC0xNC41dDE0LjUgLTM1LjV2LTEwMHEwIC0yMSAtMTQuNSAtMzUuNXQtMzUuNSAtMTQuNWgtMTAwMHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV6TTEwMCA1MDBoMTEwMGwtNTUwIDU2NHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDc5OyIgZD0iTTE4NSA1OTlsNTkyIC01OTJsMjQwIDI0MGwtMzUzIDM1M2wzNTMgMzUzbC0yNDAgMjQweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwODA7IiBkPSJNMjcyIDE5NGwzNTMgMzUzbC0zNTMgMzUzbDI0MSAyNDBsNTcyIC01NzFsMjEgLTIybC0xIC0xdi0xbC01OTIgLTU5MXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDgxOyIgZD0iTTMgNjAwcTAgMTYyIDgwIDI5OS41dDIxNy41IDIxNy41dDI5OS41IDgwdDI5OS41IC04MHQyMTcuNSAtMjE3LjV0ODAgLTI5OS41dC04MCAtMzAwdC0yMTcuNSAtMjE4dC0yOTkuNSAtODB0LTI5OS41IDgwdC0yMTcuNSAyMTh0LTgwIDMwMHpNMzAwIDUwMGgyMDB2LTIwMGgyMDB2MjAwaDIwMHYyMDBoLTIwMHYyMDBoLTIwMHYtMjAwaC0yMDB2LTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDgyOyIgZD0iTTMgNjAwcTAgMTYyIDgwIDI5OS41dDIxNy41IDIxNy41dDI5OS41IDgwdDI5OS41IC04MHQyMTcuNSAtMjE3LjV0ODAgLTI5OS41dC04MCAtMzAwdC0yMTcuNSAtMjE4dC0yOTkuNSAtODB0LTI5OS41IDgwdC0yMTcuNSAyMTh0LTgwIDMwMHpNMzAwIDUwMGg2MDB2MjAwaC02MDB2LTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDgzOyIgZD0iTTMgNjAwcTAgMTYyIDgwIDI5OS41dDIxNy41IDIxNy41dDI5OS41IDgwdDI5OS41IC04MHQyMTcuNSAtMjE3LjV0ODAgLTI5OS41dC04MCAtMzAwdC0yMTcuNSAtMjE4dC0yOTkuNSAtODB0LTI5OS41IDgwdC0yMTcuNSAyMTh0LTgwIDMwMHpNMjQ2IDQ1OWwyMTMgLTIxM2wxNDEgMTQybDE0MSAtMTQybDIxMyAyMTNsLTE0MiAxNDFsMTQyIDE0MWwtMjEzIDIxMmwtMTQxIC0xNDFsLTE0MSAxNDJsLTIxMiAtMjEzbDE0MSAtMTQxeiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwODQ7IiBkPSJNMyA2MDBxMCAxNjIgODAgMjk5LjV0MjE3LjUgMjE3LjV0Mjk5LjUgODB0Mjk5LjUgLTgwdDIxNy41IC0yMTcuNXQ4MCAtMjk5LjV0LTgwIC0yOTkuNXQtMjE3LjUgLTIxNy41dC0yOTkuNSAtODB0LTI5OS41IDgwdC0yMTcuNSAyMTcuNXQtODAgMjk5LjV6TTI3MCA1NTFsMjc2IC0yNzdsNDExIDQxMWwtMTc1IDE3NGwtMjM2IC0yMzZsLTEwMiAxMDJ6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA4NTsiIGQ9Ik0zIDYwMHEwIDE2MiA4MCAyOTkuNXQyMTcuNSAyMTcuNXQyOTkuNSA4MHQyOTkuNSAtODB0MjE3LjUgLTIxNy41dDgwIC0yOTkuNXQtODAgLTMwMHQtMjE3LjUgLTIxOHQtMjk5LjUgLTgwdC0yOTkuNSA4MHQtMjE3LjUgMjE4dC04MCAzMDB6TTM2MyA3MDBoMTQ0cTQgMCAxMS41IC0xdDExIC0xdDYuNSAzdDMgOXQxIDExdDMuNSA4LjV0My41IDZ0NS41IDR0Ni41IDIuNXQ5IDEuNXQ5IDAuNWgxMS41aDEyLjVxMTkgMCAzMCAtMTB0MTEgLTI2IHEwIC0yMiAtNCAtMjh0LTI3IC0yMnEtNSAtMSAtMTIuNSAtM3QtMjcgLTEzLjV0LTM0IC0yN3QtMjYuNSAtNDZ0LTExIC02OC41aDIwMHE1IDMgMTQgOHQzMS41IDI1LjV0MzkuNSA0NS41dDMxIDY5dDE0IDk0cTAgNTEgLTE3LjUgODl0LTQyIDU4dC01OC41IDMydC01OC41IDE1dC01MS41IDNxLTEwNSAwIC0xNzIgLTU2dC02NyAtMTgzek01MDAgMzAwaDIwMHYxMDBoLTIwMHYtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwODY7IiBkPSJNMyA2MDBxMCAxNjIgODAgMjk5LjV0MjE3LjUgMjE3LjV0Mjk5LjUgODB0Mjk5LjUgLTgwdDIxNy41IC0yMTcuNXQ4MCAtMjk5LjV0LTgwIC0zMDB0LTIxNy41IC0yMTh0LTI5OS41IC04MHQtMjk5LjUgODB0LTIxNy41IDIxOHQtODAgMzAwek00MDAgMzAwaDQwMHYxMDBoLTEwMHYzMDBoLTMwMHYtMTAwaDEwMHYtMjAwaC0xMDB2LTEwMHpNNTAwIDgwMGgyMDB2MTAwaC0yMDB2LTEwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDg3OyIgZD0iTTAgNTAwdjIwMGgxOTRxMTUgNjAgMzYgMTA0LjV0NTUuNSA4NnQ4OCA2OXQxMjYuNSA0MC41djIwMGgyMDB2LTIwMHE1NCAtMjAgMTEzIC02MHQxMTIuNSAtMTA1LjV0NzEuNSAtMTM0LjVoMjAzdi0yMDBoLTIwM3EtMjUgLTEwMiAtMTE2LjUgLTE4NnQtMTgwLjUgLTExN3YtMTk3aC0yMDB2MTk3cS0xNDAgMjcgLTIwOCAxMDIuNXQtOTggMjAwLjVoLTE5NHpNMjkwIDUwMHEyNCAtNzMgNzkuNSAtMTI3LjV0MTMwLjUgLTc4LjV2MjA2aDIwMCB2LTIwNnExNDkgNDggMjAxIDIwNmgtMjAxdjIwMGgyMDBxLTI1IDc0IC03NiAxMjcuNXQtMTI0IDc2LjV2LTIwNGgtMjAwdjIwM3EtNzUgLTI0IC0xMzAgLTc3LjV0LTc5IC0xMjUuNWgyMDl2LTIwMGgtMjEweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUwODg7IiBkPSJNNCA2MDBxMCAxNjIgODAgMjk5dDIxNyAyMTd0Mjk5IDgwdDI5OSAtODB0MjE3IC0yMTd0ODAgLTI5OXQtODAgLTI5OXQtMjE3IC0yMTd0LTI5OSAtODB0LTI5OSA4MHQtMjE3IDIxN3QtODAgMjk5ek0xODYgNjAwcTAgLTE3MSAxMjEuNSAtMjkyLjV0MjkyLjUgLTEyMS41dDI5Mi41IDEyMS41dDEyMS41IDI5Mi41dC0xMjEuNSAyOTIuNXQtMjkyLjUgMTIxLjV0LTI5Mi41IC0xMjEuNXQtMTIxLjUgLTI5Mi41ek0zNTYgNDY1bDEzNSAxMzUgbC0xMzUgMTM1bDEwOSAxMDlsMTM1IC0xMzVsMTM1IDEzNWwxMDkgLTEwOWwtMTM1IC0xMzVsMTM1IC0xMzVsLTEwOSAtMTA5bC0xMzUgMTM1bC0xMzUgLTEzNXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDg5OyIgZD0iTTQgNjAwcTAgMTYyIDgwIDI5OXQyMTcgMjE3dDI5OSA4MHQyOTkgLTgwdDIxNyAtMjE3dDgwIC0yOTl0LTgwIC0yOTl0LTIxNyAtMjE3dC0yOTkgLTgwdC0yOTkgODB0LTIxNyAyMTd0LTgwIDI5OXpNMTg2IDYwMHEwIC0xNzEgMTIxLjUgLTI5Mi41dDI5Mi41IC0xMjEuNXQyOTIuNSAxMjEuNXQxMjEuNSAyOTIuNXQtMTIxLjUgMjkyLjV0LTI5Mi41IDEyMS41dC0yOTIuNSAtMTIxLjV0LTEyMS41IC0yOTIuNXpNMzIyIDUzN2wxNDEgMTQxIGw4NyAtODdsMjA0IDIwNWwxNDIgLTE0MmwtMzQ2IC0zNDV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA5MDsiIGQ9Ik00IDYwMHEwIDE2MiA4MCAyOTl0MjE3IDIxN3QyOTkgODB0Mjk5IC04MHQyMTcgLTIxN3Q4MCAtMjk5dC04MCAtMjk5dC0yMTcgLTIxN3QtMjk5IC04MHQtMjk5IDgwdC0yMTcgMjE3dC04MCAyOTl6TTE4NiA2MDBxMCAtMTE1IDYyIC0yMTVsNTY4IDU2N3EtMTAwIDYyIC0yMTYgNjJxLTE3MSAwIC0yOTIuNSAtMTIxLjV0LTEyMS41IC0yOTIuNXpNMzkxIDI0NXE5NyAtNTkgMjA5IC01OXExNzEgMCAyOTIuNSAxMjEuNXQxMjEuNSAyOTIuNSBxMCAxMTIgLTU5IDIwOXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDkxOyIgZD0iTTAgNTQ3bDYwMCA0NTN2LTMwMGg2MDB2LTMwMGgtNjAwdi0zMDF6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA5MjsiIGQ9Ik0wIDQwMHYzMDBoNjAwdjMwMGw2MDAgLTQ1M2wtNjAwIC00NDh2MzAxaC02MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA5MzsiIGQ9Ik0yMDQgNjAwbDQ1MCA2MDBsNDQ0IC02MDBoLTI5OHYtNjAwaC0zMDB2NjAwaC0yOTZ6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA5NDsiIGQ9Ik0xMDQgNjAwaDI5NnY2MDBoMzAwdi02MDBoMjk4bC00NDkgLTYwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDk1OyIgZD0iTTAgMjAwcTYgMTMyIDQxIDIzOC41dDEwMy41IDE5M3QxODQgMTM4dDI3MS41IDU5LjV2MjcxbDYwMCAtNDUzbC02MDAgLTQ0OHYzMDFxLTk1IC0yIC0xODMgLTIwdC0xNzAgLTUydC0xNDcgLTkyLjV0LTEwMCAtMTM1LjV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTA5NjsiIGQ9Ik0wIDB2NDAwbDEyOSAtMTI5bDI5NCAyOTRsMTQyIC0xNDJsLTI5NCAtMjk0bDEyOSAtMTI5aC00MDB6TTYzNSA3NzdsMTQyIC0xNDJsMjk0IDI5NGwxMjkgLTEyOXY0MDBoLTQwMGwxMjkgLTEyOXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMDk3OyIgZD0iTTM0IDE3NmwyOTUgMjk1bC0xMjkgMTI5aDQwMHYtNDAwbC0xMjkgMTMwbC0yOTUgLTI5NXpNNjAwIDYwMHY0MDBsMTI5IC0xMjlsMjk1IDI5NWwxNDIgLTE0MWwtMjk1IC0yOTVsMTI5IC0xMzBoLTQwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTAxOyIgZD0iTTIzIDYwMHEwIDExOCA0NS41IDIyNC41dDEyMyAxODR0MTg0IDEyM3QyMjQuNSA0NS41dDIyNC41IC00NS41dDE4NCAtMTIzdDEyMyAtMTg0dDQ1LjUgLTIyNC41dC00NS41IC0yMjQuNXQtMTIzIC0xODR0LTE4NCAtMTIzdC0yMjQuNSAtNDUuNXQtMjI0LjUgNDUuNXQtMTg0IDEyM3QtMTIzIDE4NHQtNDUuNSAyMjQuNXpNNDU2IDg1MWw1OCAtMzAycTQgLTIwIDIxLjUgLTM0LjV0MzcuNSAtMTQuNWg1NHEyMCAwIDM3LjUgMTQuNSB0MjEuNSAzNC41bDU4IDMwMnE0IDIwIC04IDM0LjV0LTMzIDE0LjVoLTIwN3EtMjAgMCAtMzIgLTE0LjV0LTggLTM0LjV6TTUwMCAzMDBoMjAwdjEwMGgtMjAwdi0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEwMjsiIGQ9Ik0wIDgwMGgxMDB2LTIwMGg0MDB2MzAwaDIwMHYtMzAwaDQwMHYyMDBoMTAwdjEwMGgtMTExdjZ0LTEgMTV0LTMgMThsLTM0IDE3MnEtMTEgMzkgLTQxLjUgNjN0LTY5LjUgMjRxLTMyIDAgLTYxIC0xN2wtMjM5IC0xNDRxLTIyIC0xMyAtNDAgLTM1cS0xOSAyNCAtNDAgMzZsLTIzOCAxNDRxLTMzIDE4IC02MiAxOHEtMzkgMCAtNjkuNSAtMjN0LTQwLjUgLTYxbC0zNSAtMTc3cS0yIC04IC0zIC0xOHQtMSAtMTV2LTZoLTExMXYtMTAweiBNMTAwIDBoNDAwdjQwMGgtNDAwdi00MDB6TTIwMCA5MDBxLTMgMCAxNCA0OHQzNSA5NmwxOCA0N2wyMTQgLTE5MWgtMjgxek03MDAgMHY0MDBoNDAwdi00MDBoLTQwMHpNNzMxIDkwMGwyMDIgMTk3cTUgLTEyIDEyIC0zMi41dDIzIC02NHQyNSAtNzJ0NyAtMjguNWgtMjY5eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMDM7IiBkPSJNMCAtMjJ2MTQzbDIxNiAxOTNxLTkgNTMgLTEzIDgzdC01LjUgOTR0OSAxMTN0MzguNSAxMTR0NzQgMTI0cTQ3IDYwIDk5LjUgMTAyLjV0MTAzIDY4dDEyNy41IDQ4dDE0NS41IDM3LjV0MTg0LjUgNDMuNXQyMjAgNTguNXEwIC0xODkgLTIyIC0zNDN0LTU5IC0yNTh0LTg5IC0xODEuNXQtMTA4LjUgLTEyMHQtMTIyIC02OHQtMTI1LjUgLTMwdC0xMjEuNSAtMS41dC0xMDcuNSAxMi41dC04Ny41IDE3dC01Ni41IDcuNWwtOTkgLTU1eiBNMjM4LjUgMzAwLjVxMTkuNSAtNi41IDg2LjUgNzYuNXE1NSA2NiAzNjcgMjM0cTcwIDM4IDExOC41IDY5LjV0MTAyIDc5dDk5IDExMS41dDg2LjUgMTQ4cTIyIDUwIDI0IDYwdC02IDE5cS03IDUgLTE3IDV0LTI2LjUgLTE0LjV0LTMzLjUgLTM5LjVxLTM1IC01MSAtMTEzLjUgLTEwOC41dC0xMzkuNSAtODkuNWwtNjEgLTMycS0zNjkgLTE5NyAtNDU4IC00MDFxLTQ4IC0xMTEgLTI4LjUgLTExNy41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMDQ7IiBkPSJNMTExIDQwOHEwIC0zMyA1IC02M3E5IC01NiA0NCAtMTE5LjV0MTA1IC0xMDguNXEzMSAtMjEgNjQgLTE2dDYyIDIzLjV0NTcgNDkuNXQ0OCA2MS41dDM1IDYwLjVxMzIgNjYgMzkgMTg0LjV0LTEzIDE1Ny41cTc5IC04MCAxMjIgLTE2NHQyNiAtMTg0cS01IC0zMyAtMjAuNSAtNjkuNXQtMzcuNSAtODAuNXEtMTAgLTE5IC0xNC41IC0yOXQtMTIgLTI2dC05IC0yMy41dC0zIC0xOXQyLjUgLTE1LjV0MTEgLTkuNXQxOS41IC01dDMwLjUgMi41IHQ0MiA4cTU3IDIwIDkxIDM0dDg3LjUgNDQuNXQ4NyA2NHQ2NS41IDg4LjV0NDcgMTIycTM4IDE3MiAtNDQuNSAzNDEuNXQtMjQ2LjUgMjc4LjVxMjIgLTQ0IDQzIC0xMjlxMzkgLTE1OSAtMzIgLTE1NHEtMTUgMiAtMzMgOXEtNzkgMzMgLTEyMC41IDEwMHQtNDQgMTc1LjV0NDguNSAyNTcuNXEtMTMgLTggLTM0IC0yMy41dC03Mi41IC02Ni41dC04OC41IC0xMDUuNXQtNjAgLTEzOHQtOCAtMTY2LjVxMiAtMTIgOCAtNDEuNXQ4IC00M3Q2IC0zOS41IHQzLjUgLTM5LjV0LTEgLTMzLjV0LTYgLTMxLjV0LTEzLjUgLTI0dC0yMSAtMjAuNXQtMzEgLTEycS0zOCAtMTAgLTY3IDEzdC00MC41IDYxLjV0LTE1IDgxLjV0MTAuNSA3NXEtNTIgLTQ2IC04My41IC0xMDF0LTM5IC0xMDd0LTcuNSAtODV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEwNTsiIGQ9Ik0tNjEgNjAwbDI2IDQwcTYgMTAgMjAgMzB0NDkgNjMuNXQ3NC41IDg1LjV0OTcgOTB0MTE2LjUgODMuNXQxMzIuNSA1OXQxNDUuNSAyMy41dDE0NS41IC0yMy41dDEzMi41IC01OXQxMTYuNSAtODMuNXQ5NyAtOTB0NzQuNSAtODUuNXQ0OSAtNjMuNXQyMCAtMzBsMjYgLTQwbC0yNiAtNDBxLTYgLTEwIC0yMCAtMzB0LTQ5IC02My41dC03NC41IC04NS41dC05NyAtOTB0LTExNi41IC04My41dC0xMzIuNSAtNTl0LTE0NS41IC0yMy41IHQtMTQ1LjUgMjMuNXQtMTMyLjUgNTl0LTExNi41IDgzLjV0LTk3IDkwdC03NC41IDg1LjV0LTQ5IDYzLjV0LTIwIDMwek0xMjAgNjAwcTcgLTEwIDQwLjUgLTU4dDU2IC03OC41dDY4IC03Ny41dDg3LjUgLTc1dDEwMyAtNDkuNXQxMjUgLTIxLjV0MTIzLjUgMjB0MTAwLjUgNDUuNXQ4NS41IDcxLjV0NjYuNSA3NS41dDU4IDgxLjV0NDcgNjZxLTEgMSAtMjguNSAzNy41dC00MiA1NXQtNDMuNSA1M3QtNTcuNSA2My41dC01OC41IDU0IHE0OSAtNzQgNDkgLTE2M3EwIC0xMjQgLTg4IC0yMTJ0LTIxMiAtODh0LTIxMiA4OHQtODggMjEycTAgODUgNDYgMTU4cS0xMDIgLTg3IC0yMjYgLTI1OHpNMzc3IDY1NnE0OSAtMTI0IDE1NCAtMTkxbDEwNSAxMDVxLTM3IDI0IC03NSA3MnQtNTcgODRsLTIwIDM2eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMDY7IiBkPSJNLTYxIDYwMGwyNiA0MHE2IDEwIDIwIDMwdDQ5IDYzLjV0NzQuNSA4NS41dDk3IDkwdDExNi41IDgzLjV0MTMyLjUgNTl0MTQ1LjUgMjMuNXE2MSAwIDEyMSAtMTdsMzcgMTQyaDE0OGwtMzE0IC0xMjAwaC0xNDhsMzcgMTQzcS04MiAyMSAtMTY1IDcxLjV0LTE0MCAxMDJ0LTEwOS41IDExMnQtNzIgODguNXQtMjkuNSA0M3pNMTIwIDYwMHEyMTAgLTI4MiAzOTMgLTMzNmwzNyAxNDFxLTEwNyAxOCAtMTc4LjUgMTAxLjV0LTcxLjUgMTkzLjUgcTAgODUgNDYgMTU4cS0xMDIgLTg3IC0yMjYgLTI1OHpNMzc3IDY1NnE0OSAtMTI0IDE1NCAtMTkxbDQ3IDQ3bDIzIDg3cS0zMCAyOCAtNTkgNjl0LTQ0IDY4bC0xNCAyNnpNNzgwIDE2MWwzOCAxNDVxMjIgMTUgNDQuNSAzNHQ0NiA0NHQ0MC41IDQ0dDQxIDUwLjV0MzMuNSA0My41dDMzIDQ0dDI0LjUgMzRxLTk3IDEyNyAtMTQwIDE3NWwzOSAxNDZxNjcgLTU0IDEzMS41IC0xMjUuNXQ4Ny41IC0xMDMuNXQzNiAtNTJsMjYgLTQwbC0yNiAtNDAgcS03IC0xMiAtMjUuNSAtMzh0LTYzLjUgLTc5LjV0LTk1LjUgLTEwMi41dC0xMjQgLTEwMHQtMTQ2LjUgLTc5eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMDc7IiBkPSJNLTk3LjUgMzRxMTMuNSAtMzQgNTAuNSAtMzRoMTI5NHEzNyAwIDUwLjUgMzUuNXQtNy41IDY3LjVsLTY0MiAxMDU2cS0yMCAzMyAtNDggMzZ0LTQ4IC0yOWwtNjQyIC0xMDY2cS0yMSAtMzIgLTcuNSAtNjZ6TTE1NSAyMDBsNDQ1IDcyM2w0NDUgLTcyM2gtMzQ1djEwMGgtMjAwdi0xMDBoLTM0NXpNNTAwIDYwMGwxMDAgLTMwMGwxMDAgMzAwdjEwMGgtMjAwdi0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEwODsiIGQ9Ik0xMDAgMjYydjQxcTAgMjAgMTEgNDQuNXQyNiAzOC41bDM2MyAzMjV2MzM5cTAgNjIgNDQgMTA2dDEwNiA0NHQxMDYgLTQ0dDQ0IC0xMDZ2LTMzOWwzNjMgLTMyNXExNSAtMTQgMjYgLTM4LjV0MTEgLTQ0LjV2LTQxcTAgLTIwIC0xMiAtMjYuNXQtMjkgNS41bC0zNTkgMjQ5di0yNjNxMTAwIC05MSAxMDAgLTExM3YtNjRxMCAtMjEgLTEzIC0yOXQtMzIgMWwtOTQgNzhoLTIyMmwtOTQgLTc4cS0xOSAtOSAtMzIgLTF0LTEzIDI5djY0IHEwIDIyIDEwMCAxMTN2MjYzbC0zNTkgLTI0OXEtMTcgLTEyIC0yOSAtNS41dC0xMiAyNi41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMDk7IiBkPSJNMCA1MHEwIC0yMCAxNC41IC0zNXQzNS41IC0xNWgxMDAwcTIxIDAgMzUuNSAxNXQxNC41IDM1djc1MGgtMTEwMHYtNzUwek0wIDkwMGgxMTAwdjE1MHEwIDIxIC0xNC41IDM1LjV0LTM1LjUgMTQuNWgtMTUwdjEwMGgtMTAwdi0xMDBoLTUwMHYxMDBoLTEwMHYtMTAwaC0xNTBxLTIxIDAgLTM1LjUgLTE0LjV0LTE0LjUgLTM1LjV2LTE1MHpNMTAwIDEwMHYxMDBoMTAwdi0xMDBoLTEwMHpNMTAwIDMwMHYxMDBoMTAwdi0xMDBoLTEwMHogTTEwMCA1MDB2MTAwaDEwMHYtMTAwaC0xMDB6TTMwMCAxMDB2MTAwaDEwMHYtMTAwaC0xMDB6TTMwMCAzMDB2MTAwaDEwMHYtMTAwaC0xMDB6TTMwMCA1MDB2MTAwaDEwMHYtMTAwaC0xMDB6TTUwMCAxMDB2MTAwaDEwMHYtMTAwaC0xMDB6TTUwMCAzMDB2MTAwaDEwMHYtMTAwaC0xMDB6TTUwMCA1MDB2MTAwaDEwMHYtMTAwaC0xMDB6TTcwMCAxMDB2MTAwaDEwMHYtMTAwaC0xMDB6TTcwMCAzMDB2MTAwaDEwMHYtMTAwaC0xMDB6TTcwMCA1MDAgdjEwMGgxMDB2LTEwMGgtMTAwek05MDAgMTAwdjEwMGgxMDB2LTEwMGgtMTAwek05MDAgMzAwdjEwMGgxMDB2LTEwMGgtMTAwek05MDAgNTAwdjEwMGgxMDB2LTEwMGgtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMTA7IiBkPSJNMCAyMDB2MjAwaDI1OWw2MDAgNjAwaDI0MXYxOThsMzAwIC0yOTVsLTMwMCAtMzAwdjE5N2gtMTU5bC02MDAgLTYwMGgtMzQxek0wIDgwMGgyNTlsMTIyIC0xMjJsMTQxIDE0MmwtMTgxIDE4MGgtMzQxdi0yMDB6TTY3OCAzODFsMTQxIDE0MmwxMjIgLTEyM2gxNTl2MTk4bDMwMCAtMjk1bC0zMDAgLTMwMHYxOTdoLTI0MXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTExOyIgZD0iTTAgNDAwdjYwMHEwIDQxIDI5LjUgNzAuNXQ3MC41IDI5LjVoMTAwMHE0MSAwIDcwLjUgLTI5LjV0MjkuNSAtNzAuNXYtNjAwcTAgLTQxIC0yOS41IC03MC41dC03MC41IC0yOS41aC01OTZsLTMwNCAtMzAwdjMwMGgtMTAwcS00MSAwIC03MC41IDI5LjV0LTI5LjUgNzAuNXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTEyOyIgZD0iTTEwMCA2MDB2MjAwaDMwMHYtMjUwcTAgLTExMyA2IC0xNDVxMTcgLTkyIDEwMiAtMTE3cTM5IC0xMSA5MiAtMTFxMzcgMCA2Ni41IDUuNXQ1MCAxNS41dDM2IDI0dDI0IDMxLjV0MTQgMzcuNXQ3IDQydDIuNSA0NXQwIDQ3djI1djI1MGgzMDB2LTIwMHEwIC00MiAtMyAtODN0LTE1IC0xMDR0LTMxLjUgLTExNnQtNTggLTEwOS41dC04OSAtOTYuNXQtMTI5IC02NS41dC0xNzQuNSAtMjUuNXQtMTc0LjUgMjUuNXQtMTI5IDY1LjV0LTg5IDk2LjUgdC01OCAxMDkuNXQtMzEuNSAxMTZ0LTE1IDEwNHQtMyA4M3pNMTAwIDkwMHYzMDBoMzAwdi0zMDBoLTMwMHpNODAwIDkwMHYzMDBoMzAwdi0zMDBoLTMwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTEzOyIgZD0iTS0zMCA0MTFsMjI3IC0yMjdsMzUyIDM1M2wzNTMgLTM1M2wyMjYgMjI3bC01NzggNTc5eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMTQ7IiBkPSJNNzAgNzk3bDU4MCAtNTc5bDU3OCA1NzlsLTIyNiAyMjdsLTM1MyAtMzUzbC0zNTIgMzUzeiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMTU7IiBkPSJNLTE5OCA3MDBsMjk5IDI4M2wzMDAgLTI4M2gtMjAzdi00MDBoMzg1bDIxNSAtMjAwaC04MDB2NjAwaC0xOTZ6TTQwMiAxMDAwbDIxNSAtMjAwaDM4MXYtNDAwaC0xOThsMjk5IC0yODNsMjk5IDI4M2gtMjAwdjYwMGgtNzk2eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMTY7IiBkPSJNMTggOTM5cS01IDI0IDEwIDQycTE0IDE5IDM5IDE5aDg5NmwzOCAxNjJxNSAxNyAxOC41IDI3LjV0MzAuNSAxMC41aDk0cTIwIDAgMzUgLTE0LjV0MTUgLTM1LjV0LTE1IC0zNS41dC0zNSAtMTQuNWgtNTRsLTIwMSAtOTYxcS0yIC00IC02IC0xMC41dC0xOSAtMTcuNXQtMzMgLTExaC0zMXYtNTBxMCAtMjAgLTE0LjUgLTM1dC0zNS41IC0xNXQtMzUuNSAxNXQtMTQuNSAzNXY1MGgtMzAwdi01MHEwIC0yMCAtMTQuNSAtMzV0LTM1LjUgLTE1IHQtMzUuNSAxNXQtMTQuNSAzNXY1MGgtNTBxLTIxIDAgLTM1LjUgMTV0LTE0LjUgMzVxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41aDUzNWw0OCAyMDBoLTYzM3EtMzIgMCAtNTQuNSAyMXQtMjcuNSA0M3oiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTE3OyIgZD0iTTAgMHY4MDBoMTIwMHYtODAwaC0xMjAwek0wIDkwMHYxMDBoMjAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgzMDBxNDEgMCA3MC41IC0yOS41dDI5LjUgLTcwLjVoNTAwdi0xMDBoLTEyMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTExODsiIGQ9Ik0xIDBsMzAwIDcwMGgxMjAwbC0zMDAgLTcwMGgtMTIwMHpNMSA0MDB2NjAwaDIwMHEwIDQxIDI5LjUgNzAuNXQ3MC41IDI5LjVoMzAwcTQxIDAgNzAuNSAtMjkuNXQyOS41IC03MC41aDUwMHYtMjAwaC0xMDAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMTk7IiBkPSJNMzAyIDMwMGgxOTh2NjAwaC0xOThsMjk4IDMwMGwyOTggLTMwMGgtMTk4di02MDBoMTk4bC0yOTggLTMwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTIwOyIgZD0iTTAgNjAwbDMwMCAyOTh2LTE5OGg2MDB2MTk4bDMwMCAtMjk4bC0zMDAgLTI5N3YxOTdoLTYwMHYtMTk3eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMjE7IiBkPSJNMCAxMDB2MTAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgxMDAwcTQxIDAgNzAuNSAtMjkuNXQyOS41IC03MC41di0xMDBxMCAtNDEgLTI5LjUgLTcwLjV0LTcwLjUgLTI5LjVoLTEwMDBxLTQxIDAgLTcwLjUgMjkuNXQtMjkuNSA3MC41ek0zMSA0MDBsMTcyIDczOXE1IDIyIDIzIDQxLjV0MzggMTkuNWg2NzJxMTkgMCAzNy41IC0yMi41dDIzLjUgLTQ1LjVsMTcyIC03MzJoLTExMzh6TTgwMCAxMDBoMTAwdjEwMGgtMTAwdi0xMDB6IE0xMDAwIDEwMGgxMDB2MTAwaC0xMDB2LTEwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTIyOyIgZD0iTS0xMDEgNjAwdjUwcTAgMjQgMjUgNDl0NTAgMzhsMjUgMTN2LTI1MGwtMTEgNS41dC0yNCAxNHQtMzAgMjEuNXQtMjQgMjcuNXQtMTEgMzEuNXpNOTkgNTAwdjI1MHY1cTAgMTMgMC41IDE4LjV0Mi41IDEzdDggMTAuNXQxNSAzaDIwMGw2NzUgMjUwdi04NTBsLTY3NSAyMDBoLTM4bDQ3IC0yNzZxMiAtMTIgLTMgLTE3LjV0LTExIC02dC0yMSAtMC41aC04aC04M3EtMjAgMCAtMzQuNSAxNHQtMTguNSAzNXEtNTYgMzM3IC01NiAzNTF6IE0xMTAwIDIwMHY4NTBxMCAyMSAxNC41IDM1LjV0MzUuNSAxNC41cTIwIDAgMzUgLTE0LjV0MTUgLTM1LjV2LTg1MHEwIC0yMCAtMTUgLTM1dC0zNSAtMTVxLTIxIDAgLTM1LjUgMTV0LTE0LjUgMzV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEyMzsiIGQ9Ik03NCAzNTBxMCAyMSAxMy41IDM1LjV0MzMuNSAxNC41aDE3bDExOCAxNzNsNjMgMzI3cTE1IDc3IDc2IDE0MHQxNDQgODNsLTE4IDMycS02IDE5IDMgMzJ0MjkgMTNoOTRxMjAgMCAyOSAtMTAuNXQzIC0yOS41bC0xOCAtMzdxODMgLTE5IDE0NCAtODIuNXQ3NiAtMTQwLjVsNjMgLTMyN2wxMTggLTE3M2gxN3EyMCAwIDMzLjUgLTE0LjV0MTMuNSAtMzUuNXEwIC0yMCAtMTMgLTQwdC0zMSAtMjdxLTIyIC05IC02MyAtMjN0LTE2Ny41IC0zNyB0LTI1MS41IC0yM3QtMjQ1LjUgMjAuNXQtMTc4LjUgNDEuNWwtNTggMjBxLTE4IDcgLTMxIDI3LjV0LTEzIDQwLjV6TTQ5NyAxMTBxMTIgLTQ5IDQwIC03OS41dDYzIC0zMC41dDYzIDMwLjV0MzkgNzkuNXEtNDggLTYgLTEwMiAtNnQtMTAzIDZ6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEyNDsiIGQ9Ik0yMSA0NDVsMjMzIC00NWwtNzggLTIyNGwyMjQgNzhsNDUgLTIzM2wxNTUgMTc5bDE1NSAtMTc5bDQ1IDIzM2wyMjQgLTc4bC03OCAyMjRsMjM0IDQ1bC0xODAgMTU1bDE4MCAxNTZsLTIzNCA0NGw3OCAyMjVsLTIyNCAtNzhsLTQ1IDIzM2wtMTU1IC0xODBsLTE1NSAxODBsLTQ1IC0yMzNsLTIyNCA3OGw3OCAtMjI1bC0yMzMgLTQ0bDE3OSAtMTU2eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMjU7IiBkPSJNMCAyMDBoMjAwdjYwMGgtMjAwdi02MDB6TTMwMCAyNzVxMCAtNzUgMTAwIC03NWg2MXExMjMgLTEwMCAxMzkgLTEwMGgyNTBxNDYgMCA4MyA1N2wyMzggMzQ0cTI5IDMxIDI5IDc0djEwMHEwIDQ0IC0zMC41IDg0LjV0LTY5LjUgNDAuNWgtMzI4cTI4IDExOCAyOCAxMjV2MTUwcTAgNDQgLTMwLjUgODQuNXQtNjkuNSA0MC41aC01MHEtMjcgMCAtNTEgLTIwdC0zOCAtNDhsLTk2IC0xOThsLTE0NSAtMTk2cS0yMCAtMjYgLTIwIC02M3YtNDAweiBNNDAwIDMwMHYzNzVsMTUwIDIxMmwxMDAgMjEzaDUwdi0xNzVsLTUwIC0yMjVoNDUwdi0xMjVsLTI1MCAtMzc1aC0yMTRsLTEzNiAxMDBoLTEwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTI2OyIgZD0iTTAgNDAwdjYwMGgyMDB2LTYwMGgtMjAwek0zMDAgNTI1djQwMHEwIDc1IDEwMCA3NWg2MXExMjMgMTAwIDEzOSAxMDBoMjUwcTQ2IDAgODMgLTU3bDIzOCAtMzQ0cTI5IC0zMSAyOSAtNzR2LTEwMHEwIC00NCAtMzAuNSAtODQuNXQtNjkuNSAtNDAuNWgtMzI4cTI4IC0xMTggMjggLTEyNXYtMTUwcTAgLTQ0IC0zMC41IC04NC41dC02OS41IC00MC41aC01MHEtMjcgMCAtNTEgMjB0LTM4IDQ4bC05NiAxOThsLTE0NSAxOTYgcS0yMCAyNiAtMjAgNjN6TTQwMCA1MjVsMTUwIC0yMTJsMTAwIC0yMTNoNTB2MTc1bC01MCAyMjVoNDUwdjEyNWwtMjUwIDM3NWgtMjE0bC0xMzYgLTEwMGgtMTAwdi0zNzV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEyNzsiIGQ9Ik04IDIwMHY2MDBoMjAwdi02MDBoLTIwMHpNMzA4IDI3NXY1MjVxMCAxNyAxNCAzNS41dDI4IDI4LjVsMTQgOWwzNjIgMjMwcTE0IDYgMjUgNnExNyAwIDI5IC0xMmwxMDkgLTExMnExNCAtMTQgMTQgLTM0cTAgLTE4IC0xMSAtMzJsLTg1IC0xMjFoMzAycTg1IDAgMTM4LjUgLTM4dDUzLjUgLTExMHQtNTQuNSAtMTExdC0xMzguNSAtMzloLTEwN2wtMTMwIC0zMzlxLTcgLTIyIC0yMC41IC00MS41dC0yOC41IC0xOS41aC0zNDEgcS03IDAgLTkwIDgxdC04MyA5NHpNNDA4IDI4OWwxMDAgLTg5aDI5M2wxMzEgMzM5cTYgMjEgMTkuNSA0MXQyOC41IDIwaDIwM3ExNiAwIDI1IDE1dDkgMzZxMCAyMCAtOSAzNC41dC0yNSAxNC41aC00NTdoLTYuNWgtNy41dC02LjUgMC41dC02IDF0LTUgMS41dC01LjUgMi41dC00IDR0LTQgNS41cS01IDEyIC01IDIwcTAgMTQgMTAgMjdsMTQ3IDE4M2wtODYgODNsLTMzOSAtMjM2di01MDN6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEyODsiIGQ9Ik0tMTAxIDY1MXEwIDcyIDU0IDExMHQxMzkgMzdoMzAybC04NSAxMjFxLTExIDE2IC0xMSAzMnEwIDIxIDE0IDM0bDEwOSAxMTNxMTMgMTIgMjkgMTJxMTEgMCAyNSAtNmwzNjUgLTIzMHE3IC00IDE2LjUgLTEwLjV0MjYgLTI2dDE2LjUgLTM2LjV2LTUyNnEwIC0xMyAtODUuNSAtOTMuNXQtOTMuNSAtODAuNWgtMzQycS0xNSAwIC0yOC41IDIwdC0xOS41IDQxbC0xMzEgMzM5aC0xMDZxLTg0IDAgLTEzOSAzOXQtNTUgMTExek0tMSA2MDFoMjIyIHExNSAwIDI4LjUgLTIwLjV0MTkuNSAtNDAuNWwxMzEgLTMzOWgyOTNsMTA2IDg5djUwMmwtMzQyIDIzN2wtODcgLTgzbDE0NSAtMTg0cTEwIC0xMSAxMCAtMjZxMCAtMTEgLTUgLTIwcS0xIC0zIC0zLjUgLTUuNWwtNCAtNHQtNSAtMi41dC01LjUgLTEuNXQtNi41IC0xdC02LjUgLTAuNWgtNy41aC02LjVoLTQ3NnYtMTAwek05OTkgMjAxdjYwMGgyMDB2LTYwMGgtMjAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMjk7IiBkPSJNOTcgNzE5bDIzMCAtMzYzcTQgLTYgMTAuNSAtMTUuNXQyNiAtMjV0MzYuNSAtMTUuNWg1MjVxMTMgMCA5NCA4M3Q4MSA5MHYzNDJxMCAxNSAtMjAgMjguNXQtNDEgMTkuNWwtMzM5IDEzMXYxMDZxMCA4NCAtMzkgMTM5dC0xMTEgNTV0LTExMCAtNTMuNXQtMzggLTEzOC41di0zMDJsLTEyMSA4NHEtMTUgMTIgLTMzLjUgMTEuNXQtMzIuNSAtMTMuNWwtMTEyIC0xMTBxLTIyIC0yMiAtNiAtNTN6TTE3MiA3MzlsODMgODZsMTgzIC0xNDYgcTIyIC0xOCA0NyAtNXEzIDEgNS41IDMuNWw0IDR0Mi41IDV0MS41IDUuNXQxIDYuNXQwLjUgNnY3LjV2N3Y0NTZxMCAyMiAyNSAzMXQ1MCAtMC41dDI1IC0zMC41di0yMDJxMCAtMTYgMjAgLTI5LjV0NDEgLTE5LjVsMzM5IC0xMzB2LTI5NGwtODkgLTEwMGgtNTAzek00MDAgMHYyMDBoNjAwdi0yMDBoLTYwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTMwOyIgZD0iTTEgNTg1cS0xNSAtMzEgNyAtNTNsMTEyIC0xMTBxMTMgLTEzIDMyIC0xMy41dDM0IDEwLjVsMTIxIDg1bC0xIC0zMDJxMCAtODQgMzguNSAtMTM4dDExMC41IC01NHQxMTEgNTV0MzkgMTM5djEwNmwzMzkgMTMxcTIwIDYgNDAuNSAxOS41dDIwLjUgMjguNXYzNDJxMCA3IC04MSA5MHQtOTQgODNoLTUyNXEtMTcgMCAtMzUuNSAtMTR0LTI4LjUgLTI4bC0xMCAtMTV6TTc2IDU2NWwyMzcgMzM5aDUwM2w4OSAtMTAwdi0yOTRsLTM0MCAtMTMwIHEtMjAgLTYgLTQwIC0yMHQtMjAgLTI5di0yMDJxMCAtMjIgLTI1IC0zMXQtNTAgMHQtMjUgMzF2NDU2djE0LjV0LTEuNSAxMS41dC01IDEydC05LjUgN3EtMjQgMTMgLTQ2IC01bC0xODQgLTE0NnpNMzA1IDExMDR2MjAwaDYwMHYtMjAwaC02MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEzMTsiIGQ9Ik01IDU5N3EwIDEyMiA0Ny41IDIzMi41dDEyNy41IDE5MC41dDE5MC41IDEyNy41dDIzMi41IDQ3LjVxMTYyIDAgMjk5LjUgLTgwdDIxNy41IC0yMTh0ODAgLTMwMHQtODAgLTI5OS41dC0yMTcuNSAtMjE3LjV0LTI5OS41IC04MHQtMzAwIDgwdC0yMTggMjE3LjV0LTgwIDI5OS41ek0zMDAgNTAwaDMwMGwtMiAtMTk0bDQwMiAyOTRsLTQwMiAyOTh2LTE5N2gtMjk4di0yMDF6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEzMjsiIGQ9Ik0wIDU5N3EwIDEyMiA0Ny41IDIzMi41dDEyNy41IDE5MC41dDE5MC41IDEyNy41dDIzMS41IDQ3LjVxMTIyIDAgMjMyLjUgLTQ3LjV0MTkwLjUgLTEyNy41dDEyNy41IC0xOTAuNXQ0Ny41IC0yMzIuNXEwIC0xNjIgLTgwIC0yOTkuNXQtMjE4IC0yMTcuNXQtMzAwIC04MHQtMjk5LjUgODB0LTIxNy41IDIxNy41dC04MCAyOTkuNXpNMjAwIDYwMGw0MDAgLTI5NHYxOTRoMzAydjIwMWgtMzAwdjE5N3oiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTMzOyIgZD0iTTUgNTk3cTAgMTIyIDQ3LjUgMjMyLjV0MTI3LjUgMTkwLjV0MTkwLjUgMTI3LjV0MjMyLjUgNDcuNXExMjEgMCAyMzEuNSAtNDcuNXQxOTAuNSAtMTI3LjV0MTI3LjUgLTE5MC41dDQ3LjUgLTIzMi41cTAgLTE2MiAtODAgLTI5OS41dC0yMTcuNSAtMjE3LjV0LTI5OS41IC04MHQtMzAwIDgwdC0yMTggMjE3LjV0LTgwIDI5OS41ek0zMDAgNjAwaDIwMHYtMzAwaDIwMHYzMDBoMjAwbC0zMDAgNDAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMzQ7IiBkPSJNNSA1OTdxMCAxMjIgNDcuNSAyMzIuNXQxMjcuNSAxOTAuNXQxOTAuNSAxMjcuNXQyMzIuNSA0Ny41cTEyMSAwIDIzMS41IC00Ny41dDE5MC41IC0xMjcuNXQxMjcuNSAtMTkwLjV0NDcuNSAtMjMyLjVxMCAtMTYyIC04MCAtMjk5LjV0LTIxNy41IC0yMTcuNXQtMjk5LjUgLTgwdC0zMDAgODB0LTIxOCAyMTcuNXQtODAgMjk5LjV6TTMwMCA2MDBsMzAwIC00MDBsMzAwIDQwMGgtMjAwdjMwMGgtMjAwdi0zMDBoLTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTM1OyIgZD0iTTUgNTk3cTAgMTIyIDQ3LjUgMjMyLjV0MTI3LjUgMTkwLjV0MTkwLjUgMTI3LjV0MjMyLjUgNDcuNXExMjEgMCAyMzEuNSAtNDcuNXQxOTAuNSAtMTI3LjV0MTI3LjUgLTE5MC41dDQ3LjUgLTIzMi41cTAgLTE2MiAtODAgLTI5OS41dC0yMTcuNSAtMjE3LjV0LTI5OS41IC04MHQtMzAwIDgwdC0yMTggMjE3LjV0LTgwIDI5OS41ek0yNTQgNzgwcS04IC0zNCA1LjUgLTkzdDcuNSAtODdxMCAtOSAxNyAtNDR0MTYgLTYwcTEyIDAgMjMgLTUuNSB0MjMgLTE1dDIwIC0xMy41cTIwIC0xMCAxMDggLTQycTIyIC04IDUzIC0zMS41dDU5LjUgLTM4LjV0NTcuNSAtMTFxOCAtMTggLTE1IC01NS41dC0yMCAtNTcuNXExMiAtMjEgMjIuNSAtMzQuNXQyOCAtMjd0MzYuNSAtMTcuNXEwIC02IC0zIC0xNS41dC0zLjUgLTE0LjV0NC41IC0xN3ExMDEgLTIgMjIxIDExMXEzMSAzMCA0NyA0OHQzNCA0OXQyMSA2MnEtMTQgOSAtMzcuNSA5LjV0LTM1LjUgNy41cS0xNCA3IC00OSAxNXQtNTIgMTkgcS05IDAgLTM5LjUgLTAuNXQtNDYuNSAtMS41dC0zOSAtNi41dC0zOSAtMTYuNXEtNTAgLTM1IC02NiAtMTJxLTQgMiAtMy41IDI1LjV0MC41IDI1LjVxLTYgMTMgLTI2LjUgMTd0LTI0LjUgN3EyIDIyIC0yIDQxdC0xNi41IDI4dC0zOC41IC0yMHEtMjMgLTI1IC00MiA0cS0xOSAyOCAtOCA1OHE4IDE2IDIyIDIycTYgLTEgMjYgLTEuNXQzMy41IC00LjV0MTkuNSAtMTNxMTIgLTE5IDMyIC0zNy41dDM0IC0yNy41bDE0IC04cTAgMyA5LjUgMzkuNSB0NS41IDU3LjVxLTQgMjMgMTQuNSA0NC41dDIyLjUgMzEuNXE1IDE0IDEwIDM1dDguNSAzMXQxNS41IDIyLjV0MzQgMjEuNXEtNiAxOCAxMCAzN3E4IDAgMjMuNSAtMS41dDI0LjUgLTEuNXQyMC41IDQuNXQyMC41IDE1LjVxLTEwIDIzIC0zMC41IDQyLjV0LTM4IDMwdC00OSAyNi41dC00My41IDIzcTExIDQxIDEgNDRxMzEgLTEzIDU4LjUgLTE0LjV0MzkuNSAzLjVsMTEgNHE2IDM2IC0xNyA1My41dC02NCAyOC41dC01NiAyMyBxLTE5IC0zIC0zNyAwcS0xNSAtMTIgLTM2LjUgLTIxdC0zNC41IC0xMnQtNDQgLTh0LTM5IC02cS0xNSAtMyAtNDYgMHQtNDUgLTNxLTIwIC02IC01MS41IC0yNS41dC0zNC41IC0zNC41cS0zIC0xMSA2LjUgLTIyLjV0OC41IC0xOC41cS0zIC0zNCAtMjcuNSAtOTF0LTI5LjUgLTc5ek01MTggOTE1cTMgMTIgMTYgMzAuNXQxNiAyNS41cTEwIC0xMCAxOC41IC0xMHQxNCA2dDE0LjUgMTQuNXQxNiAxMi41cTAgLTE4IDggLTQyLjV0MTYuNSAtNDQgdDkuNSAtMjMuNXEtNiAxIC0zOSA1dC01My41IDEwdC0zNi41IDE2eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMzY7IiBkPSJNMCAxNjQuNXEwIDIxLjUgMTUgMzcuNWw2MDAgNTk5cS0zMyAxMDEgNiAyMDEuNXQxMzUgMTU0LjVxMTY0IDkyIDMwNiAtOWwtMjU5IC0xMzhsMTQ1IC0yMzJsMjUxIDEyNnExMyAtMTc1IC0xNTEgLTI2N3EtMTIzIC03MCAtMjUzIC0yM2wtNTk2IC01OTZxLTE1IC0xNiAtMzYuNSAtMTZ0LTM2LjUgMTZsLTExMSAxMTBxLTE1IDE1IC0xNSAzNi41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMzc7IiBob3Jpei1hZHYteD0iMTIyMCIgZD0iTTAgMTk2djEwMHEwIDQxIDI5LjUgNzAuNXQ3MC41IDI5LjVoMTAwMHE0MSAwIDcwLjUgLTI5LjV0MjkuNSAtNzAuNXYtMTAwcTAgLTQxIC0yOS41IC03MC41dC03MC41IC0yOS41aC0xMDAwcS00MSAwIC03MC41IDI5LjV0LTI5LjUgNzAuNXpNMCA1OTZ2MTAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgxMDAwcTQxIDAgNzAuNSAtMjkuNXQyOS41IC03MC41di0xMDBxMCAtNDEgLTI5LjUgLTcwLjV0LTcwLjUgLTI5LjVoLTEwMDAgcS00MSAwIC03MC41IDI5LjV0LTI5LjUgNzAuNXpNMCA5OTZ2MTAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgxMDAwcTQxIDAgNzAuNSAtMjkuNXQyOS41IC03MC41di0xMDBxMCAtNDEgLTI5LjUgLTcwLjV0LTcwLjUgLTI5LjVoLTEwMDBxLTQxIDAgLTcwLjUgMjkuNXQtMjkuNSA3MC41ek02MDAgNTk2aDUwMHYxMDBoLTUwMHYtMTAwek04MDAgMTk2aDMwMHYxMDBoLTMwMHYtMTAwek05MDAgOTk2aDIwMHYxMDBoLTIwMHYtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxMzg7IiBkPSJNMTAwIDExMDB2MTAwaDEwMDB2LTEwMGgtMTAwMHpNMTUwIDEwMDBoOTAwbC0zNTAgLTUwMHYtMzAwbC0yMDAgLTIwMHY1MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTEzOTsiIGQ9Ik0wIDIwMHYyMDBoMTIwMHYtMjAwcTAgLTQxIC0yOS41IC03MC41dC03MC41IC0yOS41aC0xMDAwcS00MSAwIC03MC41IDI5LjV0LTI5LjUgNzAuNXpNMCA1MDB2NDAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgzMDB2MTAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgyMDBxNDEgMCA3MC41IC0yOS41dDI5LjUgLTcwLjV2LTEwMGgzMDBxNDEgMCA3MC41IC0yOS41dDI5LjUgLTcwLjV2LTQwMGgtNTAwdjEwMGgtMjAwdi0xMDBoLTUwMHogTTUwMCAxMDAwaDIwMHYxMDBoLTIwMHYtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNDA7IiBkPSJNMCAwdjQwMGwxMjkgLTEyOWwyMDAgMjAwbDE0MiAtMTQybC0yMDAgLTIwMGwxMjkgLTEyOWgtNDAwek0wIDgwMGwxMjkgMTI5bDIwMCAtMjAwbDE0MiAxNDJsLTIwMCAyMDBsMTI5IDEyOWgtNDAwdi00MDB6TTcyOSAzMjlsMTQyIDE0MmwyMDAgLTIwMGwxMjkgMTI5di00MDBoLTQwMGwxMjkgMTI5ek03MjkgODcxbDIwMCAyMDBsLTEyOSAxMjloNDAwdi00MDBsLTEyOSAxMjlsLTIwMCAtMjAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNDE7IiBkPSJNMCA1OTZxMCAxNjIgODAgMjk5dDIxNyAyMTd0Mjk5IDgwdDI5OSAtODB0MjE3IC0yMTd0ODAgLTI5OXQtODAgLTI5OXQtMjE3IC0yMTd0LTI5OSAtODB0LTI5OSA4MHQtMjE3IDIxN3QtODAgMjk5ek0xODIgNTk2cTAgLTE3MiAxMjEuNSAtMjkzdDI5Mi41IC0xMjF0MjkyLjUgMTIxdDEyMS41IDI5M3EwIDE3MSAtMTIxLjUgMjkyLjV0LTI5Mi41IDEyMS41dC0yOTIuNSAtMTIxLjV0LTEyMS41IC0yOTIuNXpNMjkxIDY1NSBxMCAyMyAxNS41IDM4LjV0MzguNSAxNS41dDM5IC0xNnQxNiAtMzhxMCAtMjMgLTE2IC0zOXQtMzkgLTE2cS0yMiAwIC0zOCAxNnQtMTYgMzl6TTQwMCA4NTBxMCAyMiAxNiAzOC41dDM5IDE2LjVxMjIgMCAzOCAtMTZ0MTYgLTM5dC0xNiAtMzl0LTM4IC0xNnEtMjMgMCAtMzkgMTYuNXQtMTYgMzguNXpNNTEzIDYwOXEwIDMyIDIxIDU2LjV0NTIgMjkuNWwxMjIgMTI2bDEgMXEtOSAxNCAtOSAyOHEwIDIyIDE2IDM4LjV0MzkgMTYuNSBxMjIgMCAzOCAtMTZ0MTYgLTM5dC0xNiAtMzl0LTM4IC0xNnEtMTYgMCAtMjkgMTBsLTU1IC0xNDVxMTcgLTIyIDE3IC01MXEwIC0zNiAtMjUuNSAtNjEuNXQtNjEuNSAtMjUuNXEtMzcgMCAtNjIuNSAyNS41dC0yNS41IDYxLjV6TTgwMCA2NTVxMCAyMiAxNiAzOHQzOSAxNnQzOC41IC0xNS41dDE1LjUgLTM4LjV0LTE2IC0zOXQtMzggLTE2cS0yMyAwIC0zOSAxNnQtMTYgMzl6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE0MjsiIGQ9Ik0tNDAgMzc1cS0xMyAtOTUgMzUgLTE3M3EzNSAtNTcgOTQgLTg5dDEyOSAtMzJxNjMgMCAxMTkgMjhxMzMgMTYgNjUgNDAuNXQ1Mi41IDQ1LjV0NTkuNSA2NHE0MCA0NCA1NyA2MWwzOTQgMzk0cTM1IDM1IDQ3IDg0dC0zIDk2cS0yNyA4NyAtMTE3IDEwNHEtMjAgMiAtMjkgMnEtNDYgMCAtNzkuNSAtMTd0LTY3LjUgLTUxbC0zODggLTM5NmwtNyAtN2w2OSAtNjdsMzc3IDM3M3EyMCAyMiAzOSAzOHEyMyAyMyA1MCAyM3EzOCAwIDUzIC0zNiBxMTYgLTM5IC0yMCAtNzVsLTU0NyAtNTQ3cS01MiAtNTIgLTEyNSAtNTJxLTU1IDAgLTEwMCAzM3QtNTQgOTZxLTUgMzUgMi41IDY2dDMxLjUgNjN0NDIgNTB0NTYgNTRxMjQgMjEgNDQgNDFsMzQ4IDM0OHE1MiA1MiA4Mi41IDc5LjV0ODQgNTR0MTA3LjUgMjYuNXEyNSAwIDQ4IC00cTk1IC0xNyAxNTQgLTk0LjV0NTEgLTE3NS41cS03IC0xMDEgLTk4IC0xOTJsLTI1MiAtMjQ5bC0yNTMgLTI1Nmw3IC03bDY5IC02MGw1MTcgNTExIHE2NyA2NyA5NSAxNTd0MTEgMTgzcS0xNiA4NyAtNjcgMTU0dC0xMzAgMTAzcS02OSAzMyAtMTUyIDMzcS0xMDcgMCAtMTk3IC01NXEtNDAgLTI0IC0xMTEgLTk1bC01MTIgLTUxMnEtNjggLTY4IC04MSAtMTYzeiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNDM7IiBkPSJNNzkgNzg0cTAgMTMxIDk5IDIyOS41dDIzMCA5OC41cTE0NCAwIDI0MiAtMTI5cTEwMyAxMjkgMjQ1IDEyOXExMzAgMCAyMjcgLTk4LjV0OTcgLTIyOS41cTAgLTQ2IC0xNy41IC05MXQtNjEgLTk5dC03NyAtODkuNXQtMTA0LjUgLTEwNS41cS0xOTcgLTE5MSAtMjkzIC0zMjJsLTE3IC0yM2wtMTYgMjNxLTQzIDU4IC0xMDAgMTIyLjV0LTkyIDk5LjV0LTEwMSAxMDBsLTg0LjUgODQuNXQtNjggNzR0LTYwIDc4dC0zMy41IDcwLjV0LTE1IDc4eiBNMjUwIDc4NHEwIC0yNyAzMC41IC03MHQ2MS41IC03NS41dDk1IC05NC41bDIyIC0yMnE5MyAtOTAgMTkwIC0yMDFxODIgOTIgMTk1IDIwM2wxMiAxMnE2NCA2MiA5Ny41IDk3dDY0LjUgNzl0MzEgNzJxMCA3MSAtNDggMTE5LjV0LTEwNiA0OC41cS03MyAwIC0xMzEgLTgzbC0xMTggLTE3MWwtMTE0IDE3NHEtNTEgODAgLTEyNCA4MHEtNTkgMCAtMTA4LjUgLTQ5LjV0LTQ5LjUgLTExOC41eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNDQ7IiBkPSJNNTcgMzUzcTAgLTk0IDY2IC0xNjBsMTQxIC0xNDFxNjYgLTY2IDE1OSAtNjZxOTUgMCAxNTkgNjZsMjgzIDI4M3E2NiA2NiA2NiAxNTl0LTY2IDE1OWwtMTQxIDE0MXEtMTIgMTIgLTE5IDE3bC0xMDUgLTEwNWwyMTIgLTIxMmwtMzg5IC0zODlsLTI0NyAyNDhsOTUgOTVsLTE4IDE4cS00NiA0NSAtNzUgMTAxbC01NSAtNTVxLTY2IC02NiAtNjYgLTE1OXpNMjY5IDcwNnEwIC05MyA2NiAtMTU5bDE0MSAtMTQxbDE5IC0xN2wxMDUgMTA1IGwtMjEyIDIxMmwzODkgMzg5bDI0NyAtMjQ3bC05NSAtOTZsMTggLTE4cTQ2IC00NiA3NyAtOTlsMjkgMjlxMzUgMzUgNjIuNSA4OHQyNy41IDk2cTAgOTMgLTY2IDE1OWwtMTQxIDE0MXEtNjYgNjYgLTE1OSA2NnEtOTUgMCAtMTU5IC02NmwtMjgzIC0yODNxLTY2IC02NCAtNjYgLTE1OXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTQ1OyIgZD0iTTIwMCAxMDB2OTUzcTAgMjEgMzAgNDZ0ODEgNDh0MTI5IDM4dDE2MyAxNXQxNjIgLTE1dDEyNyAtMzh0NzkgLTQ4dDI5IC00NnYtOTUzcTAgLTQxIC0yOS41IC03MC41dC03MC41IC0yOS41aC02MDBxLTQxIDAgLTcwLjUgMjkuNXQtMjkuNSA3MC41ek0zMDAgMzAwaDYwMHY3MDBoLTYwMHYtNzAwek00OTYgMTUwcTAgLTQzIDMwLjUgLTczLjV0NzMuNSAtMzAuNXQ3My41IDMwLjV0MzAuNSA3My41dC0zMC41IDczLjV0LTczLjUgMzAuNSB0LTczLjUgLTMwLjV0LTMwLjUgLTczLjV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE0NjsiIGQ9Ik0wIDBsMzAzIDM4MGwyMDcgMjA4bC0yMTAgMjEyaDMwMGwyNjcgMjc5bC0zNSAzNnEtMTUgMTQgLTE1IDM1dDE1IDM1cTE0IDE1IDM1IDE1dDM1IC0xNWwyODMgLTI4MnExNSAtMTUgMTUgLTM2dC0xNSAtMzVxLTE0IC0xNSAtMzUgLTE1dC0zNSAxNWwtMzYgMzVsLTI3OSAtMjY3di0zMDBsLTIxMiAyMTBsLTIwOCAtMjA3eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNDg7IiBkPSJNMjk1IDQzM2gxMzlxNSAtNzcgNDguNSAtMTI2LjV0MTE3LjUgLTY0LjV2MzM1bC0yNyA3cS00NiAxNCAtNzkgMjYuNXQtNzIgMzZ0LTYyLjUgNTJ0LTQwIDcyLjV0LTE2LjUgOTlxMCA5MiA0NCAxNTkuNXQxMDkgMTAxdDE0NCA0MC41djc4aDEwMHYtNzlxMzggLTQgNzIuNSAtMTMuNXQ3NS41IC0zMS41dDcxIC01My41dDUxLjUgLTg0dDI0LjUgLTExOC41aC0xNTlxLTggNzIgLTM1IDEwOS41dC0xMDEgNTAuNXYtMzA3bDY0IC0xNCBxMzQgLTcgNjQgLTE2LjV0NzAgLTMxLjV0NjcuNSAtNTJ0NDcuNSAtODAuNXQyMCAtMTEyLjVxMCAtMTM5IC04OSAtMjI0dC0yNDQgLTk2di03N2gtMTAwdjc4cS0xNTIgMTcgLTIzNyAxMDRxLTQwIDQwIC01Mi41IDkzLjV0LTE1LjUgMTM5LjV6TTQ2NiA4ODlxMCAtMjkgOCAtNTF0MTYuNSAtMzR0MjkuNSAtMjIuNXQzMSAtMTMuNXQzOCAtMTBxNyAtMiAxMSAtM3YyNzRxLTYxIC04IC05Ny41IC0zNy41dC0zNi41IC0xMDIuNXpNNzAwIDIzNyBxMTcwIDE4IDE3MCAxNTFxMCA2NCAtNDQgOTkuNXQtMTI2IDYwLjV2LTMxMXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTQ5OyIgZD0iTTEwMCA2MDB2MTAwaDE2NnEtMjQgNDkgLTQ0IDEwNHEtMTAgMjYgLTE0LjUgNTUuNXQtMyA3Mi41dDI1IDkwdDY4LjUgODdxOTcgODggMjYzIDg4cTEyOSAwIDIzMCAtODl0MTAxIC0yMDhoLTE1M3EwIDUyIC0zNCA4OS41dC03NCA1MS41dC03NiAxNHEtMzcgMCAtNzkgLTE0LjV0LTYyIC0zNS41cS00MSAtNDQgLTQxIC0xMDFxMCAtMTEgMi41IC0yNC41dDUuNSAtMjR0OS41IC0yNi41dDEwLjUgLTI1dDE0IC0yNy41dDE0IC0yNS41IHQxNS41IC0yN3QxMy41IC0yNGgyNDJ2LTEwMGgtMTk3cTggLTUwIC0yLjUgLTExNXQtMzEuNSAtOTRxLTQxIC01OSAtOTkgLTExM3EzNSAxMSA4NCAxOHQ3MCA3cTMyIDEgMTAyIC0xNnQxMDQgLTE3cTc2IDAgMTM2IDMwbDUwIC0xNDdxLTQxIC0yNSAtODAuNSAtMzYuNXQtNTkgLTEzdC02MS41IC0xLjVxLTIzIDAgLTEyOCAzM3QtMTU1IDI5cS0zOSAtNCAtODIgLTE3dC02NiAtMjVsLTI0IC0xMWwtNTUgMTQ1bDE2LjUgMTF0MTUuNSAxMCB0MTMuNSA5LjV0MTQuNSAxMnQxNC41IDE0dDE3LjUgMTguNXE0OCA1NSA1NCAxMjYuNXQtMzAgMTQyLjVoLTIyMXoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTUwOyIgZD0iTTIgMzAwbDI5OCAtMzAwbDI5OCAzMDBoLTE5OHY5MDBoLTIwMHYtOTAwaC0xOTh6TTYwMiA5MDBsMjk4IDMwMGwyOTggLTMwMGgtMTk4di05MDBoLTIwMHY5MDBoLTE5OHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTUxOyIgZD0iTTIgMzAwaDE5OHY5MDBoMjAwdi05MDBoMTk4bC0yOTggLTMwMHpNNzAwIDB2MjAwaDEwMHYtMTAwaDIwMHYtMTAwaC0zMDB6TTcwMCA0MDB2MTAwaDMwMHYtMjAwaC05OXYtMTAwaC0xMDB2MTAwaDk5djEwMGgtMjAwek03MDAgNzAwdjUwMGgzMDB2LTUwMGgtMTAwdjEwMGgtMTAwdi0xMDBoLTEwMHpNODAxIDkwMGgxMDB2MjAwaC0xMDB2LTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTUyOyIgZD0iTTIgMzAwaDE5OHY5MDBoMjAwdi05MDBoMTk4bC0yOTggLTMwMHpNNzAwIDB2NTAwaDMwMHYtNTAwaC0xMDB2MTAwaC0xMDB2LTEwMGgtMTAwek03MDAgNzAwdjIwMGgxMDB2LTEwMGgyMDB2LTEwMGgtMzAwek03MDAgMTEwMHYxMDBoMzAwdi0yMDBoLTk5di0xMDBoLTEwMHYxMDBoOTl2MTAwaC0yMDB6TTgwMSAyMDBoMTAwdjIwMGgtMTAwdi0yMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE1MzsiIGQ9Ik0yIDMwMGwyOTggLTMwMGwyOTggMzAwaC0xOTh2OTAwaC0yMDB2LTkwMGgtMTk4ek04MDAgMTAwdjQwMGgzMDB2LTUwMGgtMTAwdjEwMGgtMjAwek04MDAgMTEwMHYxMDBoMjAwdi01MDBoLTEwMHY0MDBoLTEwMHpNOTAxIDIwMGgxMDB2MjAwaC0xMDB2LTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTU0OyIgZD0iTTIgMzAwbDI5OCAtMzAwbDI5OCAzMDBoLTE5OHY5MDBoLTIwMHYtOTAwaC0xOTh6TTgwMCA0MDB2MTAwaDIwMHYtNTAwaC0xMDB2NDAwaC0xMDB6TTgwMCA4MDB2NDAwaDMwMHYtNTAwaC0xMDB2MTAwaC0yMDB6TTkwMSA5MDBoMTAwdjIwMGgtMTAwdi0yMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE1NTsiIGQ9Ik0yIDMwMGwyOTggLTMwMGwyOTggMzAwaC0xOTh2OTAwaC0yMDB2LTkwMGgtMTk4ek03MDAgMTAwdjIwMGg1MDB2LTIwMGgtNTAwek03MDAgNDAwdjIwMGg0MDB2LTIwMGgtNDAwek03MDAgNzAwdjIwMGgzMDB2LTIwMGgtMzAwek03MDAgMTAwMHYyMDBoMjAwdi0yMDBoLTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTU2OyIgZD0iTTIgMzAwbDI5OCAtMzAwbDI5OCAzMDBoLTE5OHY5MDBoLTIwMHYtOTAwaC0xOTh6TTcwMCAxMDB2MjAwaDIwMHYtMjAwaC0yMDB6TTcwMCA0MDB2MjAwaDMwMHYtMjAwaC0zMDB6TTcwMCA3MDB2MjAwaDQwMHYtMjAwaC00MDB6TTcwMCAxMDAwdjIwMGg1MDB2LTIwMGgtNTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNTc7IiBkPSJNMCA0MDB2MzAwcTAgMTY1IDExNy41IDI4Mi41dDI4Mi41IDExNy41aDMwMHExNjIgMCAyODEgLTExOC41dDExOSAtMjgxLjV2LTMwMHEwIC0xNjUgLTExOC41IC0yODIuNXQtMjgxLjUgLTExNy41aC0zMDBxLTE2NSAwIC0yODIuNSAxMTcuNXQtMTE3LjUgMjgyLjV6TTIwMCAzMDBxMCAtNDEgMjkuNSAtNzAuNXQ3MC41IC0yOS41aDUwMHE0MSAwIDcwLjUgMjkuNXQyOS41IDcwLjV2NTAwcTAgNDEgLTI5LjUgNzAuNXQtNzAuNSAyOS41IGgtNTAwcS00MSAwIC03MC41IC0yOS41dC0yOS41IC03MC41di01MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE1ODsiIGQ9Ik0wIDQwMHYzMDBxMCAxNjMgMTE5IDI4MS41dDI4MSAxMTguNWgzMDBxMTY1IDAgMjgyLjUgLTExNy41dDExNy41IC0yODIuNXYtMzAwcTAgLTE2NSAtMTE3LjUgLTI4Mi41dC0yODIuNSAtMTE3LjVoLTMwMHEtMTYzIDAgLTI4MS41IDExNy41dC0xMTguNSAyODIuNXpNMjAwIDMwMHEwIC00MSAyOS41IC03MC41dDcwLjUgLTI5LjVoNTAwcTQxIDAgNzAuNSAyOS41dDI5LjUgNzAuNXY1MDBxMCA0MSAtMjkuNSA3MC41dC03MC41IDI5LjUgaC01MDBxLTQxIDAgLTcwLjUgLTI5LjV0LTI5LjUgLTcwLjV2LTUwMHpNNDAwIDMwMGwzMzMgMjUwbC0zMzMgMjUwdi01MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE1OTsiIGQ9Ik0wIDQwMHYzMDBxMCAxNjMgMTE3LjUgMjgxLjV0MjgyLjUgMTE4LjVoMzAwcTE2MyAwIDI4MS41IC0xMTl0MTE4LjUgLTI4MXYtMzAwcTAgLTE2NSAtMTE3LjUgLTI4Mi41dC0yODIuNSAtMTE3LjVoLTMwMHEtMTY1IDAgLTI4Mi41IDExNy41dC0xMTcuNSAyODIuNXpNMjAwIDMwMHEwIC00MSAyOS41IC03MC41dDcwLjUgLTI5LjVoNTAwcTQxIDAgNzAuNSAyOS41dDI5LjUgNzAuNXY1MDBxMCA0MSAtMjkuNSA3MC41dC03MC41IDI5LjUgaC01MDBxLTQxIDAgLTcwLjUgLTI5LjV0LTI5LjUgLTcwLjV2LTUwMHpNMzAwIDcwMGwyNTAgLTMzM2wyNTAgMzMzaC01MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE2MDsiIGQ9Ik0wIDQwMHYzMDBxMCAxNjUgMTE3LjUgMjgyLjV0MjgyLjUgMTE3LjVoMzAwcTE2NSAwIDI4Mi41IC0xMTcuNXQxMTcuNSAtMjgyLjV2LTMwMHEwIC0xNjIgLTExOC41IC0yODF0LTI4MS41IC0xMTloLTMwMHEtMTY1IDAgLTI4Mi41IDExOC41dC0xMTcuNSAyODEuNXpNMjAwIDMwMHEwIC00MSAyOS41IC03MC41dDcwLjUgLTI5LjVoNTAwcTQxIDAgNzAuNSAyOS41dDI5LjUgNzAuNXY1MDBxMCA0MSAtMjkuNSA3MC41dC03MC41IDI5LjUgaC01MDBxLTQxIDAgLTcwLjUgLTI5LjV0LTI5LjUgLTcwLjV2LTUwMHpNMzAwIDQwMGg1MDBsLTI1MCAzMzN6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE2MTsiIGQ9Ik0wIDQwMHYzMDBoMzAwdjIwMGw0MDAgLTM1MGwtNDAwIC0zNTB2MjAwaC0zMDB6TTUwMCAwdjIwMGg1MDBxNDEgMCA3MC41IDI5LjV0MjkuNSA3MC41djUwMHEwIDQxIC0yOS41IDcwLjV0LTcwLjUgMjkuNWgtNTAwdjIwMGg0MDBxMTY1IDAgMjgyLjUgLTExNy41dDExNy41IC0yODIuNXYtMzAwcTAgLTE2NSAtMTE3LjUgLTI4Mi41dC0yODIuNSAtMTE3LjVoLTQwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTYyOyIgZD0iTTIxNiA1MTlxMTAgLTE5IDMyIC0xOWgzMDJxLTE1NSAtNDM4IC0xNjAgLTQ1OHEtNSAtMjEgNCAtMzJsOSAtOGw5IC0xcTEzIDAgMjYgMTZsNTM4IDYzMHExNSAxOSA2IDM2cS04IDE4IC0zMiAxNmgtMzAwcTEgNCA3OCAyMTkuNXQ3OSAyMjcuNXEyIDE3IC02IDI3bC04IDhoLTlxLTE2IDAgLTI1IC0xNXEtNCAtNSAtOTguNSAtMTExLjV0LTIyOCAtMjU3dC0yMDkuNSAtMjM4LjVxLTE3IC0xOSAtNyAtNDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE2MzsiIGQ9Ik0wIDQwMHEwIC0xNjUgMTE3LjUgLTI4Mi41dDI4Mi41IC0xMTcuNWgzMDBxNDcgMCAxMDAgMTV2MTg1aC01MDBxLTQxIDAgLTcwLjUgMjkuNXQtMjkuNSA3MC41djUwMHEwIDQxIDI5LjUgNzAuNXQ3MC41IDI5LjVoNTAwdjE4NXEtMTQgNCAtMTE0IDcuNXQtMTkzIDUuNWwtOTMgMnEtMTY1IDAgLTI4Mi41IC0xMTcuNXQtMTE3LjUgLTI4Mi41di0zMDB6TTYwMCA0MDB2MzAwaDMwMHYyMDBsNDAwIC0zNTBsLTQwMCAtMzUwdjIwMGgtMzAweiAiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTY0OyIgZD0iTTAgNDAwcTAgLTE2NSAxMTcuNSAtMjgyLjV0MjgyLjUgLTExNy41aDMwMHExNjMgMCAyODEuNSAxMTcuNXQxMTguNSAyODIuNXY5OGwtNzggNzNsLTEyMiAtMTIzdi0xNDhxMCAtNDEgLTI5LjUgLTcwLjV0LTcwLjUgLTI5LjVoLTUwMHEtNDEgMCAtNzAuNSAyOS41dC0yOS41IDcwLjV2NTAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgxNTZsMTE4IDEyMmwtNzQgNzhoLTEwMHEtMTY1IDAgLTI4Mi41IC0xMTcuNXQtMTE3LjUgLTI4Mi41IHYtMzAwek00OTYgNzA5bDM1MyAzNDJsLTE0OSAxNDloNTAwdi01MDBsLTE0OSAxNDlsLTM0MiAtMzUzeiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNjU7IiBkPSJNNCA2MDBxMCAxNjIgODAgMjk5dDIxNyAyMTd0Mjk5IDgwdDI5OSAtODB0MjE3IC0yMTd0ODAgLTI5OXQtODAgLTI5OXQtMjE3IC0yMTd0LTI5OSAtODB0LTI5OSA4MHQtMjE3IDIxN3QtODAgMjk5ek0xODYgNjAwcTAgLTE3MSAxMjEuNSAtMjkyLjV0MjkyLjUgLTEyMS41dDI5Mi41IDEyMS41dDEyMS41IDI5Mi41dC0xMjEuNSAyOTIuNXQtMjkyLjUgMTIxLjV0LTI5Mi41IC0xMjEuNXQtMTIxLjUgLTI5Mi41ek00MDYgNjAwIHEwIDgwIDU3IDEzN3QxMzcgNTd0MTM3IC01N3Q1NyAtMTM3dC01NyAtMTM3dC0xMzcgLTU3dC0xMzcgNTd0LTU3IDEzN3oiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTY2OyIgZD0iTTAgMHYyNzVxMCAxMSA3IDE4dDE4IDdoMTA0OHExMSAwIDE5IC03LjV0OCAtMTcuNXYtMjc1aC0xMTAwek0xMDAgODAwbDQ0NSAtNTAwbDQ1MCA1MDBoLTI5NXY0MDBoLTMwMHYtNDAwaC0zMDB6TTkwMCAxNTBoMTAwdjUwaC0xMDB2LTUweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNjc7IiBkPSJNMCAwdjI3NXEwIDExIDcgMTh0MTggN2gxMDQ4cTExIDAgMTkgLTcuNXQ4IC0xNy41di0yNzVoLTExMDB6TTEwMCA3MDBoMzAwdi0zMDBoMzAwdjMwMGgyOTVsLTQ0NSA1MDB6TTkwMCAxNTBoMTAwdjUwaC0xMDB2LTUweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNjg7IiBkPSJNMCAwdjI3NXEwIDExIDcgMTh0MTggN2gxMDQ4cTExIDAgMTkgLTcuNXQ4IC0xNy41di0yNzVoLTExMDB6TTEwMCA3MDVsMzA1IC0zMDVsNTk2IDU5NmwtMTU0IDE1NWwtNDQyIC00NDJsLTE1MCAxNTF6TTkwMCAxNTBoMTAwdjUwaC0xMDB2LTUweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNjk7IiBkPSJNMCAwdjI3NXEwIDExIDcgMTh0MTggN2gxMDQ4cTExIDAgMTkgLTcuNXQ4IC0xNy41di0yNzVoLTExMDB6TTEwMCA5ODhsOTcgLTk4bDIxMiAyMTNsLTk3IDk3ek0yMDAgNDAxaDcwMHY2OTlsLTI1MCAtMjM5bC0xNDkgMTQ5bC0yMTIgLTIxMmwxNDkgLTE0OXpNOTAwIDE1MGgxMDB2NTBoLTEwMHYtNTB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE3MDsiIGQ9Ik0wIDB2Mjc1cTAgMTEgNyAxOHQxOCA3aDEwNDhxMTEgMCAxOSAtNy41dDggLTE3LjV2LTI3NWgtMTEwMHpNMjAwIDYxMmwyMTIgLTIxMmw5OCA5N2wtMjEzIDIxMnpNMzAwIDEyMDBsMjM5IC0yNTBsLTE0OSAtMTQ5bDIxMiAtMjEybDE0OSAxNDhsMjQ4IC0yMzd2NzAwaC02OTl6TTkwMCAxNTBoMTAwdjUwaC0xMDB2LTUweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNzE7IiBkPSJNMjMgNDE1bDExNzcgNzg0di0xMDc5bC00NzUgMjcybC0zMTAgLTM5M3Y0MTZoLTM5MnpNNDk0IDIxMGw2NzIgOTM4bC02NzIgLTcxMnYtMjI2eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNzI7IiBkPSJNMCAxNTB2MTAwMHEwIDIwIDE0LjUgMzV0MzUuNSAxNWgyNTB2LTMwMGg1MDB2MzAwaDEwMGwyMDAgLTIwMHYtODUwcTAgLTIxIC0xNSAtMzUuNXQtMzUgLTE0LjVoLTE1MHY0MDBoLTcwMHYtNDAwaC0xNTBxLTIxIDAgLTM1LjUgMTQuNXQtMTQuNSAzNS41ek02MDAgMTAwMGgxMDB2MjAwaC0xMDB2LTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTczOyIgZD0iTTAgMTUwdjEwMDBxMCAyMCAxNC41IDM1dDM1LjUgMTVoMjUwdi0zMDBoNTAwdjMwMGgxMDBsMjAwIC0yMDB2LTIxOGwtMjc2IC0yNzVsLTEyMCAxMjBsLTEyNiAtMTI3aC0zNzh2LTQwMGgtMTUwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNNTgxIDMwNmwxMjMgMTIzbDEyMCAtMTIwbDM1MyAzNTJsMTIzIC0xMjNsLTQ3NSAtNDc2ek02MDAgMTAwMGgxMDB2MjAwaC0xMDB2LTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTc0OyIgZD0iTTAgMTUwdjEwMDBxMCAyMCAxNC41IDM1dDM1LjUgMTVoMjUwdi0zMDBoNTAwdjMwMGgxMDBsMjAwIC0yMDB2LTI2OWwtMTAzIC0xMDNsLTE3MCAxNzBsLTI5OCAtMjk4aC0zMjl2LTQwMGgtMTUwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNNjAwIDEwMDBoMTAwdjIwMGgtMTAwdi0yMDB6TTcwMCAxMzNsMTcwIDE3MGwtMTcwIDE3MGwxMjcgMTI3bDE3MCAtMTcwbDE3MCAxNzBsMTI3IC0xMjhsLTE3MCAtMTY5bDE3MCAtMTcwIGwtMTI3IC0xMjdsLTE3MCAxNzBsLTE3MCAtMTcweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxNzU7IiBkPSJNMCAxNTB2MTAwMHEwIDIwIDE0LjUgMzV0MzUuNSAxNWgyNTB2LTMwMGg1MDB2MzAwaDEwMGwyMDAgLTIwMHYtMzAwaC00MDB2LTIwMGgtNTAwdi00MDBoLTE1MHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV6TTYwMCAzMDBsMzAwIC0zMDBsMzAwIDMwMGgtMjAwdjMwMGgtMjAwdi0zMDBoLTIwMHpNNjAwIDEwMDB2MjAwaDEwMHYtMjAwaC0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE3NjsiIGQ9Ik0wIDE1MHYxMDAwcTAgMjAgMTQuNSAzNXQzNS41IDE1aDI1MHYtMzAwaDUwMHYzMDBoMTAwbDIwMCAtMjAwdi00MDJsLTIwMCAyMDBsLTI5OCAtMjk4aC00MDJ2LTQwMGgtMTUwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNNjAwIDMwMGgyMDB2LTMwMGgyMDB2MzAwaDIwMGwtMzAwIDMwMHpNNjAwIDEwMDB2MjAwaDEwMHYtMjAwaC0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE3NzsiIGQ9Ik0wIDI1MHEwIC0yMSAxNC41IC0zNS41dDM1LjUgLTE0LjVoMTEwMHEyMSAwIDM1LjUgMTQuNXQxNC41IDM1LjV2NTUwaC0xMjAwdi01NTB6TTAgOTAwaDEyMDB2MTUwcTAgMjEgLTE0LjUgMzUuNXQtMzUuNSAxNC41aC0xMTAwcS0yMSAwIC0zNS41IC0xNC41dC0xNC41IC0zNS41di0xNTB6TTEwMCAzMDB2MjAwaDQwMHYtMjAwaC00MDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE3ODsiIGQ9Ik0wIDQwMGwzMDAgMjk4di0xOThoNDAwdi0yMDBoLTQwMHYtMTk4ek0xMDAgODAwdjIwMGgxMDB2LTIwMGgtMTAwek0zMDAgODAwdjIwMGgxMDB2LTIwMGgtMTAwek01MDAgODAwdjIwMGg0MDB2MTk4bDMwMCAtMjk4bC0zMDAgLTI5OHYxOThoLTQwMHpNODAwIDMwMHYyMDBoMTAwdi0yMDBoLTEwMHpNMTAwMCAzMDBoMTAwdjIwMGgtMTAwdi0yMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE3OTsiIGQ9Ik0xMDAgNzAwdjQwMGw1MCAxMDBsNTAgLTEwMHYtMzAwaDEwMHYzMDBsNTAgMTAwbDUwIC0xMDB2LTMwMGgxMDB2MzAwbDUwIDEwMGw1MCAtMTAwdi00MDBsLTEwMCAtMjAzdi00NDdxMCAtMjEgLTE0LjUgLTM1LjV0LTM1LjUgLTE0LjVoLTIwMHEtMjEgMCAtMzUuNSAxNC41dC0xNC41IDM1LjV2NDQ3ek04MDAgNTk3cTAgLTI5IDEwLjUgLTU1LjV0MjUgLTQzdDI5IC0yOC41dDI1LjUgLTE4bDEwIC01di0zOTdxMCAtMjEgMTQuNSAtMzUuNSB0MzUuNSAtMTQuNWgyMDBxMjEgMCAzNS41IDE0LjV0MTQuNSAzNS41djExMDZxMCAzMSAtMTggNDAuNXQtNDQgLTcuNWwtMjc2IC0xMTdxLTI1IC0xNiAtNDMuNSAtNTAuNXQtMTguNSAtNjUuNXYtMzU5eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxODA7IiBkPSJNMTAwIDBoNDAwdjU2cS03NSAwIC04Ny41IDZ0LTEyLjUgNDR2Mzk0aDUwMHYtMzk0cTAgLTM4IC0xMi41IC00NHQtODcuNSAtNnYtNTZoNDAwdjU2cS00IDAgLTExIDAuNXQtMjQgM3QtMzAgN3QtMjQgMTV0LTExIDI0LjV2ODg4cTAgMjIgMjUgMzQuNXQ1MCAxMy41bDI1IDJ2NTZoLTQwMHYtNTZxNzUgMCA4Ny41IC02dDEyLjUgLTQ0di0zOTRoLTUwMHYzOTRxMCAzOCAxMi41IDQ0dDg3LjUgNnY1NmgtNDAwdi01NnE0IDAgMTEgLTAuNSB0MjQgLTN0MzAgLTd0MjQgLTE1dDExIC0yNC41di04ODhxMCAtMjIgLTI1IC0zNC41dC01MCAtMTMuNWwtMjUgLTJ2LTU2eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxODE7IiBkPSJNMCAzMDBxMCAtNDEgMjkuNSAtNzAuNXQ3MC41IC0yOS41aDMwMHE0MSAwIDcwLjUgMjkuNXQyOS41IDcwLjV2NTAwcTAgNDEgLTI5LjUgNzAuNXQtNzAuNSAyOS41aC0zMDBxLTQxIDAgLTcwLjUgLTI5LjV0LTI5LjUgLTcwLjV2LTUwMHpNMTAwIDEwMGg0MDBsMjAwIDIwMGgxMDVsMjk1IDk4di0yOThoLTQyNWwtMTAwIC0xMDBoLTM3NXpNMTAwIDMwMHYyMDBoMzAwdi0yMDBoLTMwMHpNMTAwIDYwMHYyMDBoMzAwdi0yMDBoLTMwMHogTTEwMCAxMDAwaDQwMGwyMDAgLTIwMHYtOThsMjk1IDk4aDEwNXYyMDBoLTQyNWwtMTAwIDEwMGgtMzc1ek03MDAgNDAydjE2M2w0MDAgMTMzdi0xNjN6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE4MjsiIGQ9Ik0xNi41IDk3NC41cTAuNSAtMjEuNSAxNiAtOTB0NDYuNSAtMTQwdDEwNCAtMTc3LjV0MTc1IC0yMDhxMTAzIC0xMDMgMjA3LjUgLTE3NnQxODAgLTEwMy41dDEzNyAtNDd0OTIuNSAtMTYuNWwzMSAxbDE2MyAxNjJxMTYgMTcgMTMgNDAuNXQtMjIgMzcuNWwtMTkyIDEzNnEtMTkgMTQgLTQ1IDEydC00MiAtMTlsLTExOSAtMTE4cS0xNDMgMTAzIC0yNjcgMjI3cS0xMjYgMTI2IC0yMjcgMjY4bDExOCAxMThxMTcgMTcgMjAgNDEuNSB0LTExIDQ0LjVsLTEzOSAxOTRxLTE0IDE5IC0zNi41IDIydC00MC41IC0xNGwtMTYyIC0xNjJxLTEgLTExIC0wLjUgLTMyLjV6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE4MzsiIGQ9Ik0wIDUwdjIxMnEwIDIwIDEwLjUgNDUuNXQyNC41IDM5LjVsMzY1IDMwM3Y1MHEwIDQgMSAxMC41dDEyIDIyLjV0MzAgMjguNXQ2MCAyM3Q5NyAxMC41dDk3IC0xMHQ2MCAtMjMuNXQzMCAtMjcuNXQxMiAtMjRsMSAtMTB2LTUwbDM2NSAtMzAzcTE0IC0xNCAyNC41IC0zOS41dDEwLjUgLTQ1LjV2LTIxMnEwIC0yMSAtMTUgLTM1LjV0LTM1IC0xNC41aC0xMTAwcS0yMSAwIC0zNS41IDE0LjV0LTE0LjUgMzUuNXpNMCA3MTIgcTAgLTIxIDE0LjUgLTMzLjV0MzQuNSAtOC41bDIwMiAzM3EyMCA0IDM0LjUgMjF0MTQuNSAzOHYxNDZxMTQxIDI0IDMwMCAyNHQzMDAgLTI0di0xNDZxMCAtMjEgMTQuNSAtMzh0MzQuNSAtMjFsMjAyIC0zM3EyMCAtNCAzNC41IDguNXQxNC41IDMzLjV2MjAwcS02IDggLTE5IDIwLjV0LTYzIDQ1dC0xMTIgNTd0LTE3MSA0NXQtMjM1IDIwLjVxLTkyIDAgLTE3NSAtMTAuNXQtMTQxLjUgLTI3dC0xMDguNSAtMzYuNXQtODEuNSAtNDAgdC01My41IC0zNi41dC0zMSAtMjcuNWwtOSAtMTB2LTIwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTg0OyIgZD0iTTEwMCAwdjEwMGgxMTAwdi0xMDBoLTExMDB6TTE3NSAyMDBoOTUwbC0xMjUgMTUwdjI1MGwxMDAgMTAwdjQwMGgtMTAwdi0yMDBoLTEwMHYyMDBoLTIwMHYtMjAwaC0xMDB2MjAwaC0yMDB2LTIwMGgtMTAwdjIwMGgtMTAwdi00MDBsMTAwIC0xMDB2LTI1MHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTg1OyIgZD0iTTEwMCAwaDMwMHY0MDBxMCA0MSAtMjkuNSA3MC41dC03MC41IDI5LjVoLTEwMHEtNDEgMCAtNzAuNSAtMjkuNXQtMjkuNSAtNzAuNXYtNDAwek01MDAgMHYxMDAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgxMDBxNDEgMCA3MC41IC0yOS41dDI5LjUgLTcwLjV2LTEwMDBoLTMwMHpNOTAwIDB2NzAwcTAgNDEgMjkuNSA3MC41dDcwLjUgMjkuNWgxMDBxNDEgMCA3MC41IC0yOS41dDI5LjUgLTcwLjV2LTcwMGgtMzAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxODY7IiBkPSJNLTEwMCAzMDB2NTAwcTAgMTI0IDg4IDIxMnQyMTIgODhoNzAwcTEyNCAwIDIxMiAtODh0ODggLTIxMnYtNTAwcTAgLTEyNCAtODggLTIxMnQtMjEyIC04OGgtNzAwcS0xMjQgMCAtMjEyIDg4dC04OCAyMTJ6TTEwMCAyMDBoOTAwdjcwMGgtOTAwdi03MDB6TTIwMCAzMDBoMzAwdjMwMGgtMjAwdjEwMGgyMDB2MTAwaC0zMDB2LTMwMGgyMDB2LTEwMGgtMjAwdi0xMDB6TTYwMCAzMDBoMjAwdjEwMGgxMDB2MzAwaC0xMDB2MTAwaC0yMDB2LTUwMCB6TTcwMCA0MDB2MzAwaDEwMHYtMzAwaC0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE4NzsiIGQ9Ik0tMTAwIDMwMHY1MDBxMCAxMjQgODggMjEydDIxMiA4OGg3MDBxMTI0IDAgMjEyIC04OHQ4OCAtMjEydi01MDBxMCAtMTI0IC04OCAtMjEydC0yMTIgLTg4aC03MDBxLTEyNCAwIC0yMTIgODh0LTg4IDIxMnpNMTAwIDIwMGg5MDB2NzAwaC05MDB2LTcwMHpNMjAwIDMwMGgxMDB2MjAwaDEwMHYtMjAwaDEwMHY1MDBoLTEwMHYtMjAwaC0xMDB2MjAwaC0xMDB2LTUwMHpNNjAwIDMwMGgyMDB2MTAwaDEwMHYzMDBoLTEwMHYxMDBoLTIwMHYtNTAwIHpNNzAwIDQwMHYzMDBoMTAwdi0zMDBoLTEwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTg4OyIgZD0iTS0xMDAgMzAwdjUwMHEwIDEyNCA4OCAyMTJ0MjEyIDg4aDcwMHExMjQgMCAyMTIgLTg4dDg4IC0yMTJ2LTUwMHEwIC0xMjQgLTg4IC0yMTJ0LTIxMiAtODhoLTcwMHEtMTI0IDAgLTIxMiA4OHQtODggMjEyek0xMDAgMjAwaDkwMHY3MDBoLTkwMHYtNzAwek0yMDAgMzAwaDMwMHYxMDBoLTIwMHYzMDBoMjAwdjEwMGgtMzAwdi01MDB6TTYwMCAzMDBoMzAwdjEwMGgtMjAwdjMwMGgyMDB2MTAwaC0zMDB2LTUwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTg5OyIgZD0iTS0xMDAgMzAwdjUwMHEwIDEyNCA4OCAyMTJ0MjEyIDg4aDcwMHExMjQgMCAyMTIgLTg4dDg4IC0yMTJ2LTUwMHEwIC0xMjQgLTg4IC0yMTJ0LTIxMiAtODhoLTcwMHEtMTI0IDAgLTIxMiA4OHQtODggMjEyek0xMDAgMjAwaDkwMHY3MDBoLTkwMHYtNzAwek0yMDAgNTUwbDMwMCAtMTUwdjMwMHpNNjAwIDQwMGwzMDAgMTUwbC0zMDAgMTUwdi0zMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE5MDsiIGQ9Ik0tMTAwIDMwMHY1MDBxMCAxMjQgODggMjEydDIxMiA4OGg3MDBxMTI0IDAgMjEyIC04OHQ4OCAtMjEydi01MDBxMCAtMTI0IC04OCAtMjEydC0yMTIgLTg4aC03MDBxLTEyNCAwIC0yMTIgODh0LTg4IDIxMnpNMTAwIDIwMGg5MDB2NzAwaC05MDB2LTcwMHpNMjAwIDMwMHY1MDBoNzAwdi01MDBoLTcwMHpNMzAwIDQwMGgxMzBxNDEgMCA2OCA0MnQyNyAxMDd0LTI4LjUgMTA4dC02Ni41IDQzaC0xMzB2LTMwMHpNNTc1IDU0OSBxMCAtNjUgMjcgLTEwN3Q2OCAtNDJoMTMwdjMwMGgtMTMwcS0zOCAwIC02Ni41IC00M3QtMjguNSAtMTA4eiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxOTE7IiBkPSJNLTEwMCAzMDB2NTAwcTAgMTI0IDg4IDIxMnQyMTIgODhoNzAwcTEyNCAwIDIxMiAtODh0ODggLTIxMnYtNTAwcTAgLTEyNCAtODggLTIxMnQtMjEyIC04OGgtNzAwcS0xMjQgMCAtMjEyIDg4dC04OCAyMTJ6TTEwMCAyMDBoOTAwdjcwMGgtOTAwdi03MDB6TTIwMCAzMDBoMzAwdjMwMGgtMjAwdjEwMGgyMDB2MTAwaC0zMDB2LTMwMGgyMDB2LTEwMGgtMjAwdi0xMDB6TTYwMSAzMDBoMTAwdjEwMGgtMTAwdi0xMDB6TTcwMCA3MDBoMTAwIHYtNDAwaDEwMHY1MDBoLTIwMHYtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxOTI7IiBkPSJNLTEwMCAzMDB2NTAwcTAgMTI0IDg4IDIxMnQyMTIgODhoNzAwcTEyNCAwIDIxMiAtODh0ODggLTIxMnYtNTAwcTAgLTEyNCAtODggLTIxMnQtMjEyIC04OGgtNzAwcS0xMjQgMCAtMjEyIDg4dC04OCAyMTJ6TTEwMCAyMDBoOTAwdjcwMGgtOTAwdi03MDB6TTIwMCAzMDBoMzAwdjQwMGgtMjAwdjEwMGgtMTAwdi01MDB6TTMwMSA0MDB2MjAwaDEwMHYtMjAwaC0xMDB6TTYwMSAzMDBoMTAwdjEwMGgtMTAwdi0xMDB6TTcwMCA3MDBoMTAwIHYtNDAwaDEwMHY1MDBoLTIwMHYtMTAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxOTM7IiBkPSJNLTEwMCAzMDB2NTAwcTAgMTI0IDg4IDIxMnQyMTIgODhoNzAwcTEyNCAwIDIxMiAtODh0ODggLTIxMnYtNTAwcTAgLTEyNCAtODggLTIxMnQtMjEyIC04OGgtNzAwcS0xMjQgMCAtMjEyIDg4dC04OCAyMTJ6TTEwMCAyMDBoOTAwdjcwMGgtOTAwdi03MDB6TTIwMCA3MDB2MTAwaDMwMHYtMzAwaC05OXYtMTAwaC0xMDB2MTAwaDk5djIwMGgtMjAwek0yMDEgMzAwdjEwMGgxMDB2LTEwMGgtMTAwek02MDEgMzAwdjEwMGgxMDB2LTEwMGgtMTAweiBNNzAwIDcwMHYxMDBoMjAwdi01MDBoLTEwMHY0MDBoLTEwMHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMTk0OyIgZD0iTTQgNjAwcTAgMTYyIDgwIDI5OXQyMTcgMjE3dDI5OSA4MHQyOTkgLTgwdDIxNyAtMjE3dDgwIC0yOTl0LTgwIC0yOTl0LTIxNyAtMjE3dC0yOTkgLTgwdC0yOTkgODB0LTIxNyAyMTd0LTgwIDI5OXpNMTg2IDYwMHEwIC0xNzEgMTIxLjUgLTI5Mi41dDI5Mi41IC0xMjEuNXQyOTIuNSAxMjEuNXQxMjEuNSAyOTIuNXQtMTIxLjUgMjkyLjV0LTI5Mi41IDEyMS41dC0yOTIuNSAtMTIxLjV0LTEyMS41IC0yOTIuNXpNNDAwIDUwMHYyMDAgbDEwMCAxMDBoMzAwdi0xMDBoLTMwMHYtMjAwaDMwMHYtMTAwaC0zMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE5NTsiIGQ9Ik0wIDYwMHEwIDE2MiA4MCAyOTl0MjE3IDIxN3QyOTkgODB0Mjk5IC04MHQyMTcgLTIxN3Q4MCAtMjk5dC04MCAtMjk5dC0yMTcgLTIxN3QtMjk5IC04MHQtMjk5IDgwdC0yMTcgMjE3dC04MCAyOTl6TTE4MiA2MDBxMCAtMTcxIDEyMS41IC0yOTIuNXQyOTIuNSAtMTIxLjV0MjkyLjUgMTIxLjV0MTIxLjUgMjkyLjV0LTEyMS41IDI5Mi41dC0yOTIuNSAxMjEuNXQtMjkyLjUgLTEyMS41dC0xMjEuNSAtMjkyLjV6TTQwMCA0MDB2NDAwaDMwMCBsMTAwIC0xMDB2LTEwMGgtMTAwdjEwMGgtMjAwdi0xMDBoMjAwdi0xMDBoLTIwMHYtMTAwaC0xMDB6TTcwMCA0MDB2MTAwaDEwMHYtMTAwaC0xMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE5NzsiIGQ9Ik0tMTQgNDk0cTAgLTgwIDU2LjUgLTEzN3QxMzUuNSAtNTdoMjIydjMwMGg0MDB2LTMwMGgxMjhxMTIwIDAgMjA1IDg2dDg1IDIwOHEwIDEyMCAtODUgMjA2LjV0LTIwNSA4Ni41cS00NiAwIC05MCAtMTRxLTQ0IDk3IC0xMzQuNSAxNTYuNXQtMjAwLjUgNTkuNXEtMTUyIDAgLTI2MCAtMTA3LjV0LTEwOCAtMjYwLjVxMCAtMjUgMiAtMzdxLTY2IC0xNCAtMTA4LjUgLTY3LjV0LTQyLjUgLTEyMi41ek0zMDAgMjAwaDIwMHYzMDBoMjAwdi0zMDAgaDIwMGwtMzAwIC0zMDB6IiAvPgo8Z2x5cGggdW5pY29kZT0iJiN4ZTE5ODsiIGQ9Ik0tMTQgNDk0cTAgLTgwIDU2LjUgLTEzN3QxMzUuNSAtNTdoOGw0MTQgNDE0bDQwMyAtNDAzcTk0IDI2IDE1NC41IDEwNHQ2MC41IDE3OHEwIDEyMSAtODUgMjA3LjV0LTIwNSA4Ni41cS00NiAwIC05MCAtMTRxLTQ0IDk3IC0xMzQuNSAxNTYuNXQtMjAwLjUgNTkuNXEtMTUyIDAgLTI2MCAtMTA3LjV0LTEwOCAtMjYwLjVxMCAtMjUgMiAtMzdxLTY2IC0xNCAtMTA4LjUgLTY3LjV0LTQyLjUgLTEyMi41ek0zMDAgMjAwbDMwMCAzMDAgbDMwMCAtMzAwaC0yMDB2LTMwMGgtMjAwdjMwMGgtMjAweiIgLz4KPGdseXBoIHVuaWNvZGU9IiYjeGUxOTk7IiBkPSJNMTAwIDIwMGg0MDB2LTE1NWwtNzUgLTQ1aDM1MGwtNzUgNDV2MTU1aDQwMGwtMjcwIDMwMGgxNzBsLTI3MCAzMDBoMTcwbC0zMDAgMzMzbC0zMDAgLTMzM2gxNzBsLTI3MCAtMzAwaDE3MHoiIC8+CjxnbHlwaCB1bmljb2RlPSImI3hlMjAwOyIgZD0iTTEyMSA3MDBxMCAtNTMgMjguNSAtOTd0NzUuNSAtNjVxLTQgLTE2IC00IC0zOHEwIC03NCA1Mi41IC0xMjYuNXQxMjYuNSAtNTIuNXE1NiAwIDEwMCAzMHYtMzA2bC03NSAtNDVoMzUwbC03NSA0NXYzMDZxNDYgLTMwIDEwMCAtMzBxNzQgMCAxMjYuNSA1Mi41dDUyLjUgMTI2LjVxMCAyNCAtOSA1NXE1MCAzMiA3OS41IDgzdDI5LjUgMTEycTAgOTAgLTYxLjUgMTU1LjV0LTE1MC41IDcxLjVxLTI2IDg5IC05OS41IDE0NS41IHQtMTY3LjUgNTYuNXEtMTE2IDAgLTE5Ny41IC04MS41dC04MS41IC0xOTcuNXEwIC00IDEgLTEydDEgLTExcS0xNCAyIC0yMyAycS03NCAwIC0xMjYuNSAtNTIuNXQtNTIuNSAtMTI2LjV6IiAvPgo8L2ZvbnQ+CjwvZGVmcz48L3N2Zz4g\",\"glyphicons-halflings-regular.ttf\":\"AAEAAAARAQAABAAQRkZUTWj34+QAAAEcAAAAHEdERUYBCAAEAAABOAAAACBPUy8yZ6dLhAAAAVgAAABgY21hcOJITBcAAAG4AAACamN2dCAAKAOHAAAEJAAAAAhmcGdtU7QvpwAABCwAAAJlZ2FzcAAAABAAAAaUAAAACGdseWYqz6OJAAAGnAAAiRhoZWFkAQRrnAAAj7QAAAA2aGhlYQoyBA8AAI/sAAAAJGhtdHjBvxGPAACQEAAAAvRsb2NhMpVUegAAkwQAAAG4bWF4cAIEAaAAAJS8AAAAIG5hbWXUvpnzAACU3AAAA3xwb3N0zEGQVgAAmFgAAAiEcHJlcLDyKxQAAKDcAAAALndlYmZh/lI3AAChDAAAAAYAAAABAAAAAMw9os8AAAAAzl0ulwAAAADOXRJ9AAEAAAAOAAAAGAAAAAAAAgABAAEA2gABAAQAAAACAAAAAwSBAZAABQAEAwwC0AAAAFoDDALQAAABpAAyArgAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVUtXTgBAAA3iAAPA/xAAAAUYAHwAAAABAAAAAAAAAAAAAAAgAAEAAAADAAAAAwAAABwAAQAAAAABZAADAAEAAAAcAAQBSAAAAE4AQAAFAA4AAAANACAAKwCgIAogLyBfIKwiEiYBJwknD+AD4AngGeAp4DngSeBZ4GDgaeB54Ingl+EJ4RnhKeE54UbhSeFZ4WnheeGJ4ZXhmeIA//8AAAAAAA0AIAAqAKAgACAvIF8grCISJgEnCScP4ADgBeAQ4CDgMOBA4FDgYOBi4HDggOCQ4QHhEOEg4TDhQOFI4VDhYOFw4YDhkOGX4gD//wAB//X/4//a/2bgB9/j37TfaN4D2hXZDtkJIBkgGCASIAwgBiAAH/of9B/zH+0f5x/hH3gfch9sH2YfYB9fH1kfUx9NH0cfQR9AHtoAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAwAAAAAAAAAAAAQFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8AKAL4sAAssAATS7BMUFiwSnZZsAAjPxiwBitYPVlLsExQWH1ZINSwARMuGC2wASwg2rAMKy2wAixLUlhFI1khLbADLGkYILBAUFghsEBZLbAELLAGK1ghIyF6WN0bzVkbS1JYWP0b7VkbIyGwBStYsEZ2WVjdG81ZWVkYLbAFLA1cWi2wBiyxIgGIUFiwIIhcXBuwAFktsAcssSQBiFBYsECIXFwbsABZLbAILBIRIDkvLbAJLCB9sAYrWMQbzVkgsAMlSSMgsAQmSrAAUFiKZYphILAAUFg4GyEhWRuKimEgsABSWDgbISFZWRgtsAossAYrWCEQGxAhWS2wCywg0rAMKy2wDCwgL7AHK1xYICBHI0ZhaiBYIGRiOBshIVkbIVktsA0sEhEgIDkvIIogR4pGYSOKIIojSrAAUFgjsABSWLBAOBshWRsjsABQWLBAZTgbIVlZLbAOLLAGK1g91hghIRsg1opLUlggiiNJILAAVVg4GyEhWRshIVlZLbAPLCMg1iAvsAcrXFgjIFhLUxshsAFZWIqwBCZJI4ojIIpJiiNhOBshISEhWRshISEhIVktsBAsINqwEistsBEsINKwEistsBIsIC+wBytcWCAgRyNGYWqKIEcjRiNhamAgWCBkYjgbISFZGyEhWS2wEywgiiCKhyCwAyVKZCOKB7AgUFg8G8BZLbAULLMAQAFAQkIBS7gQAGMAS7gQAGMgiiCKVVggiiCKUlgjYiCwACNCG2IgsAEjQlkgsEBSWLIAIABDY0KyASABQ2NCsCBjsBllHCFZGyEhWS2wFSywAUNjI7AAQ2MjLQAAAAABAAH//wAPAAIAKAAAAWgDIAADAAcALrEBAC88sgcEAu0ysQYF3DyyAwIC7TIAsQMALzyyBQQC7TKyBwYD/DyyAQIC7TIzESERJTMRIygBQP7o8PADIPzgKALQAAEAZABkBEwETAAXACQAsAAvsA0zsAHNsAsyAbAYL7AT1rAFMrASzbAHMrEZASsAMDETNSEnNxcRMxE3FwchFSEXBycRIxEHJzdkAQO3jbfIt423AQP+/beNt8i3jbcB9Mi3jbcBA/79t423yLeNt/79AQO3jbcAAAEAAAAABEwETAALAEoAsgoAACuwAC+wBzOwAc2wBTKyAQAKK7NAAQMJKwGwDC+wCtawAjKwCc2wBDKyCQoKK7NACQcJK7IKCQors0AKAAkrsQ0BKwAwMRkBIREhESERIREhEQGQASwBkP5w/tQBkAEsAZD+cP7U/nABkAABAGQABQSMBK4ANwB2ALAyL7AozbIoMgors0AoLgkrsAAvsCEzsAHNsB8ysAUvsBwzsAbNsBoysBUvsAvNshULCiuzQBUQCSsBsDgvsDfWsAIysCLNsR0fMjKwIhCxLQErsBAysC7NsA8ysTkBK7EiNxESsAc5sC0RsgsgMjk5OQAwMRM3MzQ3IzczNjc2MzIXFhcjNC4CIyIOAgchByEGFSEHIR4EMzI+AjUzBgcGIyInLgEnZGRxBdpkhyVLdbTycDwGtTNMSh4YOUQ/EwF7ZP7UBgGWZP7UCTA5QzMVHUpMM64fYWunzXckQgwB9GQvNWSnWo29Z2o3WDAZFCxaPmQuNmRKdEIrDxowVzWsanWeLqt4AAAAAQDIAZAETAK8AAMAEgCwAC+wA80BsAQvsQUBKwAwMRMhESHIA4T8fAGQASwAAAAAAf/yASwEwgRBABYAHwCwAy+wD82wCs0BsBcvsRgBKwCxCgMRErEMEjk5MDEDFBYzITI2NTQmIyIHLgEjIgYVFBcOAQ5xTwLueKqqeC4sLLVumNgCQlUB7lByrHp4rQ5hd9eZGQwOawAEAAAAZASwBEwABAAHAAoADQAANQEXNwElEQkFEQGQyMgBkPtQASz+1AJYAlj+1AEsZAGQyMj+cMgCWP7UAfT9pQJb/gwBLP2oAAAAA//z//MEvQS9AAIABgAQAAAHJSc3FwEnNxc3NjQvASYiBw0BTd9a1gJm1lbWYw0NmQ8kDw1w31HWAmbWVtZcDScOmQ0NAAAAAQAAAAAAAAAAAAAAADEAAAEAAAAABLAEsAAJADMAsgYAACuwB82wAzIBsAovsAjWsAPNsgMICiuzQAMFCSuyCAMKK7NACAYJK7ELASsAMDERIQERIRUhNSERBLD+DAEs/OABLASw/dr92mRkAiYAAAEADgAIBEwErwAgAAAmHgE3PgE1ESURJgcOARceATc+ATURNCYHBQ4BFREmBwYEJIhPQVgCWEBKT1cSEYlPRlMOCv0QCg5ASk+LbikaFWAqAl6b/fcQFxpyNjcpGRdRNwNxCgsDwQMTCv1PERgZAAACABf/7ATEBJkAEwAbAFkAsg4AACuwEi+wF82wGy+wA80BsBwvsAHWsBXNsBUQsRkBK7AFzbEdASuxGRURErMDAhASJBc5sAURsAc5ALESDhESsAk5sBcRsBA5sBsSswEABwUkFzkwMRIQACAAFRQHARYUDwEGIicBBiMiAhAWIDYQJiAXARwBkAEcTgEsBwdtCBQI/tR3jsiDwgESwcH+7gHtAZABHP7kyI53/tQIFAhtBwcBLE4CbP7wwsEBEsEAAAAAAQBkAFgErwREABkAFQABsBovsADWsA7NsA7NsRsBKwAwMRM0PgIeARc+Ah4CFRQOAwcuBGQ4Wnd3eSwwe3h1WDZDeYSoPj6nhHlDAxBAdlMtBElERUgELVN2QDl5gH+yVVWyf4B5AAAC/7gARwSVBLAACgAMAAADIRMzEyEBEwkBEwM3SAHfkgKSAdj+gpH+gP6CkpQCAyABkP5w/ur+PwET/u0Bv/4/AQAAAAP/uABHBJUEsAAKAAwAFgAYALANL7ATM7ABzbAEMgGwFy+xGAErADAxAyETMxMhARMJARMDNxMXBzcXJzcjJwdIAd+SApIB2P6Ckf6A/oKSlAJDxEnAw0rB601OAyABkP5w/ur+PwET/u0Bv/4/AQJ0juKMjeWM09MAAAABAAAAAASwBLAAEwAAMTUBNSImPQE0NjIWHQEUBiMVARUBkCU/sPiwPyUBkI8BAWSVM8h8sLB8yDOVZP7/jwAADQAAAAAEsARMAAMABwALAA8AEwAXABsAHwAjACcAKwAvADMAsACyAAAAK7AEzbEYIDIysAcvsCIzsAjNsCQysAsvsCYzsAzNsCgysA8vsCozsBDNsCwysBMvsC4zsBTNsDAysBcvsR4yMzOwAc0BsDQvsADWsATNswgMEBQkFzKwBBCxBQErswkNERUkFzKwGM2wHDKwGBCxGQErsB0ysCDNsyQoLDAkFzKwIBCxIQErsyUpLTEkFzKwA82xNQErALEMCxESsRobOTmwDxGxHB05OTAxMREhESUzNSM1MzUjNTM1IzUzNSM1MzUjEyERITUhESEBMzUjNTM1IzUzNSM1MzUjNTM1IwSw+7RkZGRkZGRkZGRkyAJY/agCWP2oArxkZGRkZGRkZGRkBEz7tGRkZGRkZGRkZGT8fAGQZAGQ/HxkZGRkZGRkZGQAAAAABAAAAAAETARMAA8AHwAvAD8AQgCyDQAAK7AsM7AEzbAkMrAdL7A8M7AUzbA0MgGwQC+wANawEDKwCc2wGDKwCRCxIAErsDAysCnNsDgysUEBKwAwMTURNDYzITIWFREUBiMhIiYZATQ2MyEyFhURFAYjISImARE0NjMhMhYVERQGIyEiJhkBNDYzITIWFREUBiMhIiYdFQGQFR0dFf5wFR0dFQGQFR0dFf5wFR0CWB0VAZAVHR0V/nAVHR0VAZAVHR0V/nAVHTIBkBUdHRX+cBUdHQJtAZAVHR0V/nAVHR39vQGQFR0dFf5wFR0dAm0BkBUdHRX+cBUdHQAACQAAAAAETARMAA8AHwAvAD8ATwBfAG8AfwCPAHYAsg0AACuxPGwzM7AEzbE0ZDIysB0vsUx8MzOwFM2xRHQyMrAtL7FcjDMzsCTNsVSEMjIBsJAvsADWsRAgMjKwCc2xGCgyMrAJELEwASuxQFAyMrA5zbFIWDIysDkQsWABK7FwgDIysGnNsXiIMjKxkQErADAxPQE0NjsBMhYdARQGKwEiJhE1NDY7ATIWHQEUBisBIiYRNTQ2OwEyFh0BFAYrASImATU0NjsBMhYdARQGKwEiJhE1NDY7ATIWHQEUBisBIiYRNTQ2OwEyFh0BFAYrASImATU0NjsBMhYdARQGKwEiJhE1NDY7ATIWHQEUBisBIiYRNTQ2OwEyFh0BFAYrASImHRXIFR0dFcgVHR0VyBUdHRXIFR0dFcgVHR0VyBUdAZAdFcgVHR0VyBUdHRXIFR0dFcgVHR0VyBUdHRXIFR0BkB0VyBUdHRXIFR0dFcgVHR0VyBUdHRXIFR0dFcgVHTLIFR0dFcgVHR0BpcgVHR0VyBUdHQGlyBUdHRXIFR0d/PXIFR0dFcgVHR0BpcgVHR0VyBUdHQGlyBUdHRXIFR0d/PXIFR0dFcgVHR0BpcgVHR0VyBUdHQGlyBUdHRXIFR0dAAYAAAAABLAETAAPAB8ALwA/AE8AXwBWALINAAArsDwzsATNsDQysBMvsEwzsBzNsEQysC0vsFwzsCTNsFQyAbBgL7AA1rEQIDIysAnNsRcoMjKwCRCxMAErsUBQMjKwOc2xSFgyMrFhASsAMDE9ATQ2OwEyFh0BFAYrASImERQWOwEyNj0BNCYrASIGFT0BNDY7ATIWHQEUBisBIiYBNTQ2MyEyFh0BFAYjISImETU0NjMhMhYdARQGIyEiJhE1NDYzITIWHQEUBiMhIiYdFcgVHR0VyBUdHRXIFR0dFcgVHR0VyBUdHRXIFR0BkB0VArwVHR0V/UQVHR0VArwVHR0V/UQVHR0VArwVHR0V/UQVHTLIFR0dFcgVHR0BpRUdHRXIFR0dFcjIFR0dFcgVHR389cgVHR0VyBUdHQGlyBUdHRXIFR0dAaXIFR0dFcgVHR0AAAABAB0AIgTyBCoABQAAEwkBJwEnHQGjAzLU/aHOAcb+XAM01P2hzwAAAQBqAGoERgRGAAsAABMJATcJARcJAQcJAWoBGv7m1AEaARrU/uYBGtT+5v7mAT4BGgEa1P7mARrU/ub+5tQBGv7mAAADABf/7ATEBJkAEwAbACcAtwCyDgAAK7ASL7AXzbAcL7AjM7AdzbAhMrIcHQors0AcJgkrsh0cCiuzQB0fCSuwGy+wA80BsCgvsAHWsBXNsBUQsSYBK7AeMrAlzbAgMrIlJgors0AlIwkrsiYlCiuzQCYcCSuwJRCxGQErsAXNsSkBK7EmFRESsgIWGzk5ObAlEbASObAZErMDFxAaJBc5sAURsAc5ALEXEhESsBA5sR0OERKzAAUVGCQXObAbEbIUGQE5OTkwMRIQACAAFRQHARYUDwEGIicBBiMiAhAWIDYQJiADNTM1MxUzFSMVIzUXARwBkAEcTgEsBwdtCBQI/tR3jsiDwgESwcH+7kZkyGRkyAHtAZABHP7kyI53/tQIFAhtBwcBLE4CbP7wwsEBEsH+WchkZMhkZAAAAwAX/+wExASaABMAGwAfAF0Asg4AACuwEi+wF82wGy+wA80BsCAvsAHWsBXNsBUQsRkBK7AFzbEhASuxGRURErUDAhASHB0kFzmwBRGwBzkAsRIOERKwCTmwFxGwEDmwGxK1AQAHBRweJBc5MDESEAAgABUUBwEWFA8BBiInAQYjIgIQFiA2ECYgAyE1IRcBHAGQARxOASwHB20IFAj+1HiNyIPCARLBwf7uRgGQ/nAB7gGQARz+5MiNef7VBxYHbQgIAStNAmz+8MLCARDC/lnIAAACABcAFwSZBLAAGwArAEUAsBgvsArNAbAsL7AA1rAHzbIHAAors0AHAwkrsAcQsQwBK7ATzbIMEwors0AMEAkrsS0BK7EMBxESsxcYHCMkFzkAMDETNBI3FQ4BFRQWIDY1NCYnNRYSFRQOAiIuAgEUFjsBMjY1ETQmKwEiBhUX0qdnfPoBYvp8Z6fSW5vV7NWbWwHdHRVkFR0dFWQVHQJYtwEoPqY3yHix+vqxeMg3pj7+2Ld21ZtbW5vVAQwVHR0VAZAVHR0VAAQAZAABBLAEsQADAAcACwAPADAAsgQAACuxCAwzMwGwEC+wBNawB82wBxCxCAErsAvNsAsQsQwBK7APzbERASsAMDE3MxEjAREzETMRMxEzETMRZMjIASzIZMhkyAEBLP7UAfT+DAMg/OAEsPtQAAACABoAGwSWBJYARwBRAGIAsBIvsFDNsEsvsDbNAbBSL7AA1rBIzbBIELFNASuwJM2xUwErsUgAERKxCz05ObBNEbMPFTM5JBc5sCQSsRkvOTkAsVASERKxBx05ObBLEbMDISdFJBc5sDYSsStBOTkwMRMUHwIWHwEHFhc3FxYfAhYzMj8CNj8BFzY3Jzc2PwI2NTQvAiYvATcmJwcnJi8CJiMiDwIGDwEnBgcXBwYPAgYFNDYyFhUUBiImGgaXAg4YA1AtPIUFLTEFJigiGy8mBi4vBYY4MFADGA8BmAUFmAEQFwNQLDyGBS0wBiYoIhsvJgUyLAWFOy5QAxkNApcGAWd+sn5+sn4CWSEpJgYxLAWGOy5RAxoNApcFBZcCDRoDUSw9hgUsMQYmKCIcLSYGMyoFhjovUQMZDgGYBQWYAQ4ZA1EvOoYFLy4GJjAZWH5+WFl+fgAAAAcAZP//BLAFFAAZACMAJwArAC8AMwA3AIkAsiEAACuwJM2yKDA0MjIysCcvsioyNjMzM7AbzbAXL7AEzbEOLDIysC8vsAnNAbA4L7Aa1rAkzbAkELElASuwBTKwKM2wLDKyJSgKK7NAJQAJK7AoELEpASuwMM2wMBCxMQErsC0ysDTNsA0ysjQxCiuzQDQTCSuwNBCxNQErsB3NsTkBKwAwMRM1NDYzITU0NjMhMhYdASEyFh0BFAYjISImExEhERQGIyEiJjczESMTMxEjESE1IRMzESMTMxEjZA8KARM7KQEsKTsBEwoPDgv75gsOZAOEOyn9RCk7ZGRkyGRkASz+1MhkZMhkZAQBMgoPZCk7OylkDwoyCw4O/G4DIPzgKTw8KQK8/UQCvAEsZPu0Arz9RAK8AAAAAAEAAQABBRUE3QAKACwAsgkAACuwBDMBsAsvsAnWsAjNsAgQsQUBK7AEzbEMASuxBQgRErABOQAwMRMJASMRIREhESERAQKQAoTI/tT+1P7UAlkChP18/agBkP5wAlgAAAIAZAAAA+gEsAAOABEAIgCyDAAAKwGwEi+wAdawBs2yBgEKK7NABggJK7ETASsAMDE3ETQ2MyERIREUBiMhIiYBEQFkDgsB2wGQDgv8rgsOAlgBLBkEfgsO/gz9XQsODgMSASz+1AAAAwAEAAQErASsAAsAEwAZAIIAsAovsA/NsBQvsBfNshcUCiuzQBcVCSuwEy+wBM0BsBovsAHWsA3NsA0QsRQBK7AXzbIXFAors0AXGQkrsBcQsREBK7AHzbEbASuxFA0RErMKAw4TJBc5sREXERKzCQQPEiQXOQCxFA8RErMHAA0QJBc5sRMXERKzBgERDCQXOTAxEhASJCAEEhACBCAkEhAWIDYQJiATETMRMxUEoAESAUQBEqCg/u7+vP7uFvMBVvPz/qpHZMgBtgFEARKgoP7u/rz+7qCgAl/+qvPzAVbz/f4BkP7UZAAAAAAC/5wAAAUUBLAACwAPAC4AsgAAACuwBzOwCi+wDM2wDy+wA82yAw8KK7NAAwEJK7AFMgGwEC+xEQErADAxIwEzAzMDMwEhAyMDEzMDI2QBr9EVohTQAa/95inyKDHgG6oEsP7UASz7UAGQ/nAB9AEsAAAAAAIAAAAABEwEsAALAA8ASgCyCwAAK7AMzbAPL7AJzbABMgGwEC+wBNawB82yBAcKK7NABAAJK7AHELENASuwCs2xEQErsQcEERKxAgk5ObANEbEIDDk5ADAxMREhATMRIREzASERJTM1IwHq/t7IASzI/t4B6v7hr68BkAEsAfT+DP7U/nDIZAADAAEAAQSvBK8ADwAXAB4AYwCyDQAAK7ATzbAXL7AFzQGwHy+wAdawEc2wERCxGQErsBzNsBwQsRUBK7AJzbEgASuxGRERErQNBBIXGCQXObAcEbAeObAVErQMBRMWHSQXOQCxFxMRErUBCAkAGh4kFzkwMRI0PgIyHgIUDgIiLgESEBYgNhAmIAMzETMRMwMBX6De9N6gX1+g3vTeoFzyAVTy8v6sUJbIlvoB3vTeoF9foN703qBfX6ACAv6s8vIBVPL+ZAEs/tT+1AADAAQABASsBKwACwATABoAYQCwCi+wD82wEy+wBM0BsBsvsAHWsA3NsA0QsRkBK7AYzbAYELERASuwB82xHAErsRkNERK0CgMOExQkFzmwGBGwFTmwERK0CQQPEhYkFzkAsRMPERK1AQYHABUYJBc5MDESEBIkIAQSEAIEICQSEBYgNhAmIAMbASMRIxEEoAESAUQBEqCg/u7+vP7uFvMBVvPz/qpP+vqWyAG2AUQBEqCg/u7+vP7uoKACX/6q8/MBVvP+YgEs/tT+1AEsAAAAAgAAAAAEsASwAAwAFAApALIKAAArsA3NsQURMjKwFC+wAs0BsBUvsRYBKwCxDQoRErEBDzk5MDE1ERMhEjMRFAYjISImEzMXITczAyHIAyDHAQ4L+4ILDsjIMgEsMshh/aIZAdsCvP1E/iULDg4B5sjIAfQAAAAAAwAEAAQErASsAAsAFQAYAEYAsAovsA/NsBQvsATNAbAZL7AB1rAMzbAMELERASuwB82xGgErsREMERK1BAkKAxYYJBc5ALEUDxEStQEGBwAWFyQXOTAxEhASJCAEEhACBCAkExQWIDY1NCYgBgERBQSgARIBRAESoKD+7v68/u4W8wFW8/P+qvMBOgEpAbYBRAESoKD+7v68/u6goAG0rPLyrKvz8/6KAZHIAAEAFwAXBJkEsAAcAFMAsAUvsA3NsBEvsBnNAbAdL7AB1rAPzbAPELEKASuwCc2xHgErsQoPERK1BQQTFBcZJBc5sAkRsRUWOTkAsRENERK0AQAJFBUkFzmwGRGwFzkwMRIUHgIyPgI1IxQGICYQNjMyFwchEQcmIyIOARdbm9Xs1Ztblvr+nvr6sYhukgGQkZ3GdtWbAs7s1ZtbW5vVdrH6+gFi+lGSAZCRelubAAAAAgAXAAAEmQSwABAAIQB6ALIRAAArsB8vsBbNshYfCiuzQBYaCSuwDS+wBc2yDQUKK7NADQAJKwGwIi+wANawEM2wEBCxGQErsBrNsSMBK7EQABESsRESOTmwGRG3BwULChMUHyEkFzmwGhKxCQg5OQCxFh8RErAhObANEbEJEjk5sAUSsAc5MDETND4CMzIXNxEhNyYjIgYVAxEhBxYzMjY1MxQOAiMiJxdbm9V2xp2R/nCTcIex+kkBkJNwh7H6llub1XbGnQJYdtWbW3qR/nCTUPqx/agBkJNQ+rF21ZtbegAACgBkAAAEsASwAAMABwALAA8AEwAXABsAHwAjACcAUACwCC+wGDOwCc2wGjKwDC+wHDOwDc2wHTKwEC+wIDOwEc2wITKwFC+wJDOwFc2wJTIBsCgvsAjWsgwQFDIyMrALzbIOEhYyMjKxKQErADAxMyERIRMRIRElNTMVJzUzFSc1MxUnNTMVEyE1IT0BIRUlNSEVJTUhFWQETPu0ZAOE/OBkZGRkZGRkZAH0/gwB9P4MAfT+DAH0BLD7tAOE/HxkZGTIZGTIZGTIZGT9qGRkZGTIZGTIZGQAAgAAAAAETASwABkAIwBKALIXAAArsCAvsAnNAbAkL7AF1rAazbIFGgors0AFAAkrsBoQsRsBK7AOzbIOGwors0AOEwkrsSUBKwCxIBcRErMEDgUaJBc5MDE1ETQ2OwE1NDYzITIWHQEzMhYVERQGIyEiJgEhNTQmKwEiBhU7KWR2UgEsUnZkKTs7Kfx8KTsBkAEsHRXIFR1kAlgpO8hSdnZSyDsp/agpOzsC5ZYVHR0VAAAAAgBkAAAETARMAAMAFQAXALIAAAArAbAWL7AA1rADzbEXASsAMDEzETMREz4BHgI+ATcRDgEuAwYHZGRkPId4fHJqZCkoe4SQh3RaFARM+7QBkDwwDSEbBU9RAfRRRQooKApFUQAAAAADAAAAAASwBJcAIQAxAEEAZwCyLwAAK7A+M7AmzbA2MrAML7AdzQGwQi+wANawB82wBxCxIgErsCvNsCsQsTIBK7A7zbA7ELEQASuwF82xQwErsTIrERKzDAsdHCQXOQCxJi8RErQHEBMUAyQXObAMEbEIDzk5MDERFBY7ATI2NRE0PgEgHgEVERQWOwEyNjURNC4CIg4CFRMRNDY7ATIWFREUBisBIiYlETQ2OwEyFhURFAYrASImDgsyCw6N5AEG5I0OCzILDmOj3ujeo2PIDAigCAwMCKAIDAJYDAigCAwMCKAIDAETCw4OCwEsf9FyctF//tQLDg4LASx03qNjY6PedP3VAcwIDAwI/jQIDAwIAcwIDAwI/jQIDAwAAAACAAAAyARYA+gABQARAAARIQURBSEBNyc3FzcXBxcHJwcBLAEs/tT+1AKwjY1HjY1HjY1HjY0BkMgDIMj+q42NR42NR42NR42NAAAAAgAAAMgDcAPoAAUADwASAAGwEC+wDtawCc2xEQErADAxESEFEQUhJTcWFRQHJzY1NAEsASz+1P7UArxFb2pDVgGQyAMgyDk1h6+phTZuipIAAAAAAwAAALoEYgP3AAUADwAdADwAsAAvsAHNAbAeL7AO1rAJzbAJELETASuwGs2xHwErsRMJERKzEBYXHSQXOQCxAQARErMJDhMaJBc5MDEZASElESUBNxYVFAcnNjU0NxcWFRQPARc3NjU0LwEBLAEs/tQBkkVvakNWXgd7dwdRBo6QBgGRAZDI/ODIAck1h6+qhTduipHNCJfBvZYIQgiy4+ayCAANAAAAAASwBLAABwARABUAGQAdACEALwAzAD8AQwBHAEsATwEBALIAAAArsTBEMzOwEs2yKTFFMjIysBovsicrTDMzM7AbzbIlLU0yMjKwIi+xAgYzM7AjzbAIMrAeL7EOSDMzsCHNsTRJMjIBsFAvsBrWsQUeMjKwHc2xAx8yMrAdELEwASuxDSwyMrAzzbA1MrAzELEuCyuwKjKwJc2wQDKyLiUKK7NALiIJK7IBCw8yMjKwJRCxNwErsURIMjKwO82xJkoyMrA7ELFMASuwQjKwT82yOT1GMjIysVEBK7EwHREStRQVGBk0PyQXObE3JRESsigpODk5OQCxIhsRErMTFDg5JBc5sCMRsgQ6Ozk5ObAeEkAJBRYZNjc8PUBDJBc5MDExIREjNSMVIzUzNSE1MzUjESETESERAREhEQM1MxUDMzUjATUhETMVIxUjNSM1MzUDNTMVAzMRMxEhNSM1MxEhExEhEQM1IRUBNTMVEzUzFQH0yGTIZAGQZGT+DGQBLP7UASzIZGRkZAEsASzIZMhkZGRkZGTIASzIyP2oyAEsyAEs/tRkZGQB9GRkZGRkZAEs+7QBLP7UArwBLP7U/ahkZAK8ZP4MZP7UZGRkZMj+DGRkA+j+1P7UyGQB9P5wASz+1PzgZGQDhGRk/URkZAAAAAAJAAAAAASwBLAAAwAHAAsADwATABcAGwAfACMAcACyDAAAK7IEFBwzMzOwDc2xFR0yMrIMAAArsAXNAbAkL7AI1rALzbALELEQASuwDDKwE82wD82wExCxFAsrsBfNsBcQsRgLK7AbzbAbELEgASuwI82xJQErsRALERKxBwY5ObEbFxESsRwdOTkAMDE1MxEjEzUhFScRMxEXNTMVJxEzERU1MxU1ETMRFTUzFScRMxFkZGQBLMhkyGRkyGRkyGTIyAPo+1BkZMgD6PwYyFtbyAPo/BjIW1vIA+j8GMhbW8gD6PwYAAAAAgABAAAEsASwAAcAEwApALIHAAArsBIvsATNAbAUL7AB1rAJzbEVASsAsRIHERKyAAYLOTk5MDETETQ2MyEJAQAUFxYyNzY0JyYiBwEPCgHaArz+DP3YHR5THh0dHlMeArwB2woP/UT+DAPjVB0eHh1UHR4eAAAAAwACAAAF3QSwAAcAEwAZADEAsgcAACuwFzOwEi+wBM2wFDIBsBovsAHWsAnNsRsBKwCxEgcRErQABgsWGSQXOTAxExE0NjMhCQEAFBcWMjc2NCcmIgclMwkBJwECDgsB2gK8/gz91x4dVB0eHh1UHQILZAK8/gwyAcICvAHbCw79RP4MA+NUHR4eHVQdHh6w/UT+DDIBwgABAGQAAASwBLAACgA/ALIAAAArsAcvsALNAbALL7AA1rAKzbAKELEFASuwBM2xDAErsQoAERKyAgcIOTk5ALEHABESsgEEBTk5OTAxMxE3IREHESEHIRFkrwOdZP0SZALuBAGv/BhkA+hk/BgAAAAAAQDIAAAETASxAAoAADMJARE0JiMhIgYVyAHCAcIdFfzgFR0BvP5FBH4UHh4UAAAAAwAAAAAEsASwAAsAFwAnAFkAsiUAACuwHM2wCi+wA82yCgMKK7NACgAJK7AHMrIDCgors0ADAQkrsAUyAbAoL7AA1rALzbACMrALELEIASuwBTKwB82xKQErsQgLERKzDA8nIiQXOQAwMTURMxchNzMRIzUhFRMXITcDLgEjISIGBwM3PgEzITIWHwEWBiMhIibIZAJYZMjI/OA1KAJQPl4CEAr+PgoQAkImAhMKAfQKEwImAgsK/agKC2QCvMjI/UTIyALZfHwBWgsODgv7gZgKDg4KmAoODgAAAAQAAABkBLAETAAdACUALQAxAG8AsAMvsCXNsCkvsC3NsCEvsBPNAbAyL7AA1rAfzbIfAAors0AfLwkrsB8QsScBK7ArzbEzASuxHwARErAZObErJxESsyEkJSAkFzkAsS0pERKzHyIjHiQXObAhEbEuMTk5sBMStAsZGi8wJBc5MDE1FBYzITI2NRE0JisBLgQrASIOAg8BIyIGFQA0NjIWFAYiAhQWMjY0JiIlNTMVOykD6Ck7OymWBA8zN1MqyClSOi4LDJYpOwFkkMiQkMgGPlg+PlgBWGTIKTs7KQJYKTsIG0U1Kyk7OxUUOyn+cMiQkMiQASBYPj5YPl5kZAACADUAAASwBK8AHgAiAB4AsgAAACuwDTOwHs2yAgwPMjIyAbAjL7EkASsAMDEzITUiLgE/ASEXFgYjFSE1JicuAS8BASMBBgcOAQ8BARMXEzUBbSk+JBNcAYdSECs1AaEiKBIeBgb+f13+cRgcDCoPDwFrsi50QhY2LOreLVdCQgEqEy4ODQPm/BIwGwwaBwcBxwHJjP7DAAMAZAAAA8MErwAgACkAMQBlALIgAAArsCHNsiAAACuwAc2wKS+wKs2wMS+wDc2wDRCwC80BsDIvsATWsCHNsCoysCEQsS4BK7AQzbAlINYRsBzNsTMBK7ElLhESsBY5ALEpIRESsBw5sCoRsBY5sDESsBA5MDEzNT4BNRE0LgMnNSEyFhUUDgIPAR4EFRQOASMnMzI2NTQmKwE1MzI2NTQmI2QpOwIJFiQfAdd4uhchIgsMCBtFNCt2pk/IoVmAfV6fi0xsqJtZBzMoAzscFx0NDwdGsIw3XTcoCAcDDDNBdkZUkU3IYVRagWR7TVJhAAEAyAAAA28EsAAZACAAsgAAACuwAc2wGDKwCy+wDjOwDM0BsBovsRsBKwAwMTM1PgE3EzYmJy4BJzUhFw4DDwEDBhYXFchNcwitCihHBgkFAakCIToiGQUFgAowRzkHQy8DUTgkEwEDATk5CCMnJQwM/Mc0PAY5AAL/tQAABRQEsAAJACUAfgCyGwAAK7AfL7ICBRYzMzOwDM2yHwwKK7NAHxAJK7AKMgGwJi+wAdawB82wBxCxCgErsCXNsCUQsR0BK7AYzbIYHQors0AYGgkrsh0YCiuzQB0bCSuwGBCxEAErsA/NsScBK7EKBxESsQUIOTkAsR8bERKwCTmwDBGwBDkwMSczESM3FyMRMwcTETMhMxEjNC4DKwERFxUhNTcRIyIOAxVLS0t9fUtLffqWAryWMhAVLiEiyGT+cGTIIiEvFBHIAyCnp/zgpwNjASz+1B0nFQkC/K4yZGQyA1ICCRUnHQAAAAIAIf+2BI8EsQAJACUAiQCyCAAAK7ACzbAfL7AWM7AMzbIfDAors0AfCgkrsA8yAbAmL7AK1rAlzbAlELEdASuwGM2yGB0KK7NAGBoJK7IdGAors0AdGwkrsBgQsRABK7APzbEnASuxHSURErMCCAkBJBc5sRAYERKzBAYHAyQXOQCxAggRErEABTk5sB8RsgEEGjk5OTAxPwEVITUXBzUhFQMRMyEzESM0LgMrAREXFSE1NxEjIg4DFSGnAyCnp/zgZJYCvJYyEBQvISLIZP5wZMgiIS4VEDN9S0t9fUtLA88BLP7UHScVCQL9djJkZDICigIJFScdAAAAAAQAAAAABLAETAAPAB8ALwA/AAA1FBYzITI2PQE0JiMhIgYVNRQWMyEyNj0BNCYjISIGFTUUFjMhMjY9ATQmIyEiBhU1FBYzITI2PQE0JiMhIgYVHRUETBUdHRX7tBUdHRUDIBUdHRX84BUdHRUD6BUdHRX8GBUdHRUCWBUdHRX9qBUdMhQeHhRkFR0dFcgUHh4UZBUdHRXIFB4eFGQVHR0VyBQeHhRkFR0dFQAEAAAAAASwBEwADwAfAC8APwAANRQWMyEyNj0BNCYjISIGFREUFjMhMjY9ATQmIyEiBhUTFBYzITI2PQE0JiMhIgYVERQWMyEyNj0BNCYjISIGFR0VBEwVHR0V+7QVHR0VBEwVHR0V+7QVHcgdFQK8FR0dFf1EFR0dFQK8FR0dFf1EFR0yFB4eFGQVHR0VAfQUHh4UZBUdHRX+cBQeHhRkFR0dFQH0FB4eFGQVHR0VAAQAAAAABLAETAAPAB8ALwA/ACYAsg0AACuwBM2wLS+wJM2wHS+wFM2wPS+wNM0BsEAvsUEBKwAwMT0BNDYzITIWHQEUBiMhIiYTNTQ2MyEyFh0BFAYjISImEzU0NjMhMhYdARQGIyEiJhM1NDYzITIWHQEUBiMhIiYdFQRMFR0dFfu0FR1kHRUD6BUdHRX8GBUdyB0VAyAVHR0V/OAVHcgdFQJYFR0dFf2oFR0yZBUdHRVkFB4eAmxkFR0dFWQUHh7+6GQVHR0VZBQeHgJsZBUdHRVkFB4eAAQAAAAABLAETAAPAB8ALwA/ACYAsg0AACuwBM2wHS+wFM2wLS+wJM2wPS+wNM0BsEAvsUEBKwAwMT0BNDYzITIWHQEUBiMhIiYRNTQ2MyEyFh0BFAYjISImETU0NjMhMhYdARQGIyEiJhE1NDYzITIWHQEUBiMhIiYdFQRMFR0dFfu0FR0dFQRMFR0dFfu0FR0dFQRMFR0dFfu0FR0dFQRMFR0dFfu0FR0yZBUdHRVkFB4eAUBkFR0dFWQUHh4BQGQVHR0VZBQeHgFAZBUdHRVkFB4eAAAAAAgAAAAABLAETAAPAB8ALwA/AE8AXwBvAH8AUgCyDQAAK7BMM7AEzbBEMrAdL7BcM7AUzbBUMrAtL7BsM7AkzbBkMrA9L7B8M7A0zbB0MgGwgC+wANayECAwMjIysAnNshgoODIyMrGBASsAMDE9ATQ2OwEyFh0BFAYrASImETU0NjsBMhYdARQGKwEiJhE1NDY7ATIWHQEUBisBIiYRNTQ2OwEyFh0BFAYrASImATU0NjMhMhYdARQGIyEiJhE1NDYzITIWHQEUBiMhIiYRNTQ2MyEyFh0BFAYjISImETU0NjMhMhYdARQGIyEiJh0VZBUdHRVkFR0dFWQVHR0VZBUdHRVkFR0dFWQVHR0VZBUdHRVkFR0BLB0VAyAVHR0V/OAVHR0VAyAVHR0V/OAVHR0VAyAVHR0V/OAVHR0VAyAVHR0V/OAVHTJkFR0dFWQUHh4BQGQVHR0VZBQeHgFAZBUdHRVkFB4eAUBkFR0dFWQUHh78kGQVHR0VZBQeHgFAZBUdHRVkFB4eAUBkFR0dFWQUHh4BQGQVHR0VZBQeHgAABv+bAAAEsARMAAYACgAaACoAOgBKACAAsAAvsCYzsAHNsC4yAbBLL7FMASsAsQEAERKwBDkwMQM1MzUXBzUTMxEjExQWMyEyNj0BNCYjISIGFTUUFjMhMjY9ATQmIyEiBhU1FBYzITI2PQE0JiMhIgYVNRQWOwEyNj0BNCYrASIGFWXJpqbIZGTIHRUCWBQeHhT9qBUdHRUBLBQeHhT+1BUdHRUB9BQeHhT+DBUdHRVkFB4eFGQVHQH0ZEt9fUv+DARM++YUHh4UZBUdHRXIFB4eFGQVHR0VyBQeHhRkFR0dFcgUHh4UZBUdHRUAAAAABgABAAAFFQRMAA8AHwAvAD8AQwBKABcAskAAACsBsEsvsEDWsEPNsUwBKwAwMTcUFjMhMjY9ATQmIyEiBhU1FBYzITI2PQE0JiMhIgYVNRQWMyEyNj0BNCYjISIGFTUUFjsBMjY9ATQmKwEiBhUBETMRExc1MzUjNQEdFQJYFB4eFP2oFR0dFQEsFB4eFP7UFR0dFQH0FB4eFP4MFR0dFWQUHh4UZBUdAyBkIafIyDIUHh4UZBUdHRXIFB4eFGQVHR0VyBQeHhRkFR0dFcgUHh4UZBUdHRX75gRM+7QCJn1LZEsAAgAAAMgEsAPoAA8AEgAtALANL7AEzbAEzQGwEy+wANawCc2xFAErsQkAERKwEDkAsQQNERKxERI5OTAxGQE0NjMhMhYVERQGIyEiJgkBESwfAu4fLCwf/RIfLAOEASwBEwKKHywsH/12HywsAWQBLP2oAAADAAAAAASwBEwADwAXAB8AWQCyDQAAK7AfL7AbzbAXL7AEzQGwIC+wANawEM2wEBCxGQErsB3NsB0QsRUBK7AJzbEhASuxHRkRErARObAVEbETEjk5ALEfDRESshATFTk5ObAbEbAUOTAxNRE0NjMhMhYVERQGIyEiJj8BBScBExEhEjQ2MhYUBiIaEgRYExkZE/uoEhpk9wEqSgEl7PwYbE5wTk5wLAP0EhoaEvwMEhoa7baDnAE+/uAB9P7OcE5OcE4AAgCU//MEHAS9ABQAHgA9ALINAAArsB0vsATNAbAfL7AA1rAVzbAVELEbASuwCM2xIAErsRsVERKxDQQ5OQCxHQ0RErIHABg5OTkwMRM0PgEzMh4BFAcOAQ8BLgQnJjcUFjMyNjQmIgaUedF6e9B5SUm7OTkKImNdcys/wpdqa5eX1pYC6XzXgX7V9pVy9kJCCSJrb6BLi5Zrl5fWlpcAAAIAAQABBK8ErwAPABUASQCyDQAAK7ATzbAUL7AFzQGwFi+wAdawEc2wERCxEwErsAnNsRcBK7ETERESsQ0EOTmwCRGxBQw5OQCxFBMRErMBCAkAJBc5MDESND4CMh4CFA4CIi4BEhAWMxEiAV+g3vTeoF9foN703qBN+7CwAd703qBfX6De9N6gX1+gAgn+nvoDVgACAHUABAPfBQ8AFgAlAAATND4DNx4GFRQOAgcuAjceARc3LgInJjY/AQ4BdURtc3MeFUlPV00/JU5+mk9yw4B+DltbEAcWLgoPAgkJXDcBll64oZ3FYEePdndzdYZFWZlkOwQGXrd/UmwaYgYWSihJjTQzbpYAAAADAAAAAATFBGgAHAAhACYAVwCyGgAAK7APzbAIL7AEzQGwJy+wANawDM2wDBCxEwErsBbNsSgBK7ETDBESswYdHiAkFzmwFhGxHyI5OQCxCA8RErMVHR8hJBc5sAQRsyAiIyUkFzkwMRkBNDYzBBcHISIGFREUFjMhMjY9ATcVFAYjISImJTcBJwkBFzcvAeulAW4fuv7JKTs7KQH0KTvI66X+1KXrAbShAZxy/msB+XFxFVwBkAEspesGCLo7Kf4MKTs7KX3I4aXr62oyAZxx/msB+HFxVRwAAAAAAgAAAAAElQRMABwALgBIALIaAAArsBDNsCIvsCfNsAkvsATNsAQQsAbNAbAvL7AA1rANzbEwASsAsSIQERKyFR0kOTk5sQkaERKwJTmxBAYRErAmOTAxGQE0NjMhFwYHIyIGFREUFjMhMjY1NxUUBiMhIiYBPgMfARUJARUiDgXrpQEFAoVVkSk7OykB9Ck7yOul/tSl6wGnHmdnXx4dAWj+mQcYSENWQzkBkAEspetQIFg7Kf4MKTs7KZk1pevrASEmNBMJAQHRAUQBPtgCDhczQ20AAAAAAgAAAAAEpwRMAB0AIwBSALIbAAArsBDNsAkvsATNAbAkL7AA1rANzbANELEUASuwF82xJQErsRQNERKzBx4fIiQXObAXEbAhOQCxCRARErMWHyIjJBc5sAQRsSAhOTkwMRkBNDYzITIXByEiBhURFBYzITI2PQE3FRQGIyEiJgkCJwEn66UBLDxDsv6jKTs7KQH0KTvI66X+1KXrAVYBGwI2iP5SkwGQASyl6xexOyn+DCk7OylFyKml6+sBjf7kAjeJ/lGTAAABAAAAAQSwBLEAFwBFALISAAArsBYvsA4zsALNsAkyAbAYL7AU1rADMrAQzbAIMrEZASuxEBQRErEGEjk5ALEWEhESsQ0XOTmwAhGxAAw5OTAxEQEVMzUjCQEjFTM1CQE1IxUzCQEzNSMVASzIyAEsASfDyAEs/tTIw/7Z/tTIyAJbASjGyAEs/tTIxv7Y/tTGyP7UASzIxgAAAAABAMgAAAOEBEwAEwAdALIRAAArsAszAbAUL7AA1rANzbAIMrEVASsAMDE3ETQ2OwEyFhURAREBERQGKwEiJsgdFWQVHQH0/gwdFWQVHTID6BUdHRX+SwHn+7QB6P5KFR0dAAAAAQAAAAAEsARMABcAHwCyFQAAK7ENDzMzAbAYL7AA1rARzbAIMrEZASsAMDE1ETQ2OwEyFhURAREBEQERAREUBisBIiYdFWQVHQH0AfT+DP4MHRVkFR0yA+gVHR0V/ksB5/4ZAef7tAHo/hgB6P5KFR0dAAABAIgAAASwBEwABgAUALIGAAArsAQzAbAHL7EIASsAMDETAREBEQERiAI0AfT+DAImAib+GQHn+7QB6P4YAAAAAQDIAAAETARMAAIAADMJAcgDhPx8AiYCJgAAAAIAyABkA4QD6AAPAB8AADcUFjsBMjY1ETQmKwEiBhUBFBY7ATI2NRE0JisBIgYVyB0VyBUdHRXIFR0BkB0VyBUdHRXIFR2WFR0dFQMgFR0dFfzgFR0dFQMgFR0dFQAAAAEAyABkBEwD6AAPAAA3FBYzITI2NRE0JiMhIgYVyB0VAyAVHR0V/OAVHZYUHh4UAyAVHR0VAAAAAQAAAAAEKARMAAYAFACyAAAAK7AFMwGwBy+xCAErADAxMREBEQkBEQH0AjT9zARM/hkB5/3a/doB6AAAAQAAAAAEsARMABcAHwCyAAAAK7EQFjMzAbAYL7AU1rAEMrANzbEZASsAMDExEQERARE0NjsBMhYVERQGKwEiJjURAREB9AH0HRVkFR0dFWQVHf4MBEz+GQHn/hkBtRUdHRX8GBUdHRUBtv4YAegAAAEBLAAAA+gETAATAB0AsgAAACuwDjMBsBQvsBLWsAIysAvNsRUBKwAwMSERARE0NjsBMhYVERQGKwEiJjURASwB9B0VZBUdHRVkFR0ETP4ZAbUVHR0V/BgVHR0VAbYAAAIAZADIBLAEKAAPABIAEgCwDS+wBM0BsBMvsRQBKwAwMTc1NDYzITIWHQEUBiMhIiYRIQFkHRUD6BUdHRX8GBUdBEz92vpkFR0dFWQVHR0BDwI0AAEAuQAHA/kEqQAFAAATATcJASe5AlDw/p8BYfACV/2w8AFhAWHwAAABARD/0gRSBHQACAAAJQkBNwEXBxUBARABYf6f8QI8FQH9sMIBYQFh8P3FFgEB/bEAAAAAAgADAAIErQStAAsAFwBCALAKL7AOzbAVL7AEzQGwGC+wAdawDM2wDBCxEQErsAfNsRkBK7ERDBESswQJCgMkFzkAsRUOERKzAQYHACQXOTAxEhASJCAEEhACBCAkEzMVMzUzNSM1IxUjA6ABEwFEAROgoP7t/rz+7YnIyMjIyMgBtgFEAROgoP7t/rz+7KCgAVLIyMjIyAACAAMAAgStBK0ACwAPAEkAsAovsAzNsA8vsATNAbAQL7AB1rAMzbAMELENASuwB82xEQErsQ0MERKzBAkKAyQXOQCxDAoRErEHADk5sQQPERKxAQY5OTAxEhASJCAEEhACBCAkEyE1IQOgARMBRAEToKD+7f68/u2JAlj9qAG2AUQBE6Cg/u3+vP7soKABUsgAAAAAAgADAAIErQStAAsAFwAyALAKL7AEzbAEzQGwGC+wAdawB82wB82xGQErsQcBERKxDBA5OQCxBAoRErENFTk5MDESEBIkIAQSEAIEICQTFzcXNyc3JwcnBxcDoAETAUQBE6Cg/u3+vP7tU9WNjdWOjtWNjdSNAbYBRAEToKD+7f68/uygoAEp1Y6O1Y2N1I2O1Y0AAAIAAwADBK0ErQALABEAMgCwCi+wBM2wBM0BsBIvsAHWsAfNsAfNsRMBK7EHARESsQwOOTkAsQQKERKxDQ85OTAxEhASJCAEEhACBCAkEwkBJwcnA6ABEwFEAROgoP7t/rz+7WsBFAGbr+xmAbYBRAEToKD+7f68/u2goAGE/usBm67sZgAAAAADAAMAAgStBK0ACwA2ADoAbACwCi+wN82wOi+wJ82wIS+wG82wNC+wBM0BsDsvsBLWsB7NsB4QsS4BK7AHzbE8ASuxHhIRErEhNDk5sC4RtAkEKDg5JBc5ALEnOhESsQcAOTmwIRGwKjmwGxKyDA8uOTk5sDQRsQYBOTkwMRIQEiQgBBIQAgQgJBMzMhYyNjQ+BToBMzIWFRQGBw4EFzM+BDU0LgMjIgYTMzUjA6ABEwFEAROgoP7t/rz+7ciQBA8HBgIFAgkEDgQTAxMWCBcFDycdGAHIBRItIhwjMUQxG2mGicjIAbYBRAEToKD+7f68/uygoAIaAgYMCgcFAwIBFBAWDBABBBcfPSYDCikyWDIzTCgYBnD98WQAAAMAAwACBK0ErQALABUAGQA7ALAKL7AMzbAVL7AOM7ASzbARL7AWzbAZL7AEzQGwGi+xGwErALESFRESsQcAOTmxFhERErEGATk5MDESEBIkIAQSEAIEICQ3ITUjESEVMxUjEzM1IwOgARMBRAEToKD+7f68/u3tAZBk/tRkZGTIyAG2AUQBE6Cg/u3+vP7soKCKZAEsZMgBkGQAAAIAAAAABLAEsAAaADEAaQCyFgAAK7AUL7AhzbAeMrAAL7IQGyMzMzOwAc2yDiUvMjIyAbAyL7AW1rIHHisyMjKwFc2yCSApMjIysTMBK7EVFhESsyQlMDEkFzkAsRQWERKwFzmxACERErAfObABEbIgKis5OTkwMRE1Mz4DNzUzFR4CFzMVIw4BBxUjNS4BJzMeARc1MxU2NyM1My4BJxUjNQ4BBzMVwg8qRWtJyDZ2axLLyxm3WciMiB5gGG9LyJU0ycgZZknIS24Y0QH0yDxZUzcNyMgUUINFyGaoIcXFG5d9SW0Yzs4wnshKaxfMyxhrSMgAAAAAAwAEAAQErASsAAsAEwAfAEYAsAovsA/NsBMvsATNAbAgL7AB1rANzbANELERASuwB82xIQErsRENERK1BAkKAxQaJBc5ALETDxEStQEGBwAXHSQXOTAxEhASJCAEEhACBCAkEhAWIDYQJiADNyc3FzcXBxcHJwcEoAESAUQBEqCg/u7+vP7uFvMBVvPz/qpJh4dth4dth4dth4cBtgFEARKgoP7u/rz+7qCgAl/+qvPzAVbz/duHh22Hh22Hh22HhwAAAAMABAAEBKwErAALABMAGQBGALAKL7APzbATL7AEzQGwGi+wAdawDc2wDRCxEQErsAfNsRsBK7ERDREStQQJCgMUGCQXOQCxEw8RErUBBgcAFxkkFzkwMRIQEiQgBBIQAgQgJBIQFiA2ECYgAzcXNxcBBKABEgFEARKgoP7u/rz+7hbzAVbz8/6qa41XzI7+pgG2AUQBEqCg/u7+vP7uoKACX/6q8/MBVvP+I41XzY7+pwAAAAMABAAEBKwErAALABMAGwBGALAKL7AWzbARL7AEzQGwHC+wAdawDM2wDBCxGQErsAfNsR0BK7EZDBEStQQJCgMPFCQXOQCxERYRErUBBgcADhskFzkwMRIQEiQgBBIQAgQgJBMUFwEmIyIGExYzMjY1NCcEoAESAUQBEqCg/u7+vP7uFj4COGR0q/PNYXCr8zsBtgFEARKgoP7u/rz+7qCgAbRzZAI3PvP98jvzq3BhAAAAAAEAAABjBLAD6AAGABoAsAUvsALNAbAHL7EIASsAsQIFERKwADkwMREBESERIRECWAJY/agCIwHF/tT+1P7TAAABAAAAYwSwA+gABgAaALAAL7ABzQGwBy+xCAErALEBABESsAQ5MDEZASERCQERAlgCWP2oAZABLAEs/jv+QAEtAAAAAAEAzAAABEoEsAAGAB8AsgUAACsBsAcvsAXWsATNsQgBK7EEBRESsAE5ADAxEwkBIREhEcwBwgG8/tb+1AJYAlj9qP2oAlgAAAEAaAAAA+YEsAAGAB8AsgYAACsBsAcvsAHWsATNsQgBK7EEARESsAY5ADAxEyERIREhAWgBKAEsASr+PwJYAlj9qP2oAAAAAAEAAADHBLAETAANAAA1PgM3EQkBEQ4DBkaJ55wCWP2oX7CkgsiE1a1nCAEP/jv+QAEtAiREdQAAAgAAAAAEsASwAAYADQARALIAAAArAbAOL7EPASsAMDExERcBFwEXExcBFxEhF4EBJo7+2oHrjgEmgf5wgQGQgQEmjv7agQMJjgEmgQGQgQACACIAIwSOBI4ABgANAAA3ASchEScJAREXARcBFyIBJ4EBkIH+2QGogQEnjv7ZgbABJ4H+cIL+2QI1AZCBASeN/tmCAAMAFwAXBJkEmQAPAB8AIwBPALANL7AgzbAjL7AUzbAdL7AFzQGwJC+wAdawEM2wEBCxGQErsAnNsSUBK7EZEBEStQUMDQQhIyQXOQCxFCMRErEJADk5sB0RsQgBOTkwMRI0PgIyHgIUDgIiLgEBEx4BOwEyNjcTNiYrASIGEzM1Ixdbm9Xs1ZtbW5vV7NWbAVY6BCMUNhQjBDoEGBXPFBgwyMgB4uzVm1tbm9Xs1ZtbW5sCRv7SFB0dFAEuFB0d/cVkAAAFAAAAAASwBLAAJgAqADAANAA7ADMAsicAACuwMTOwKs2wMjIBsDwvsDHWsAUysDTNsAcysT0BK7E0MRESswsTNTokFzkAMDERMxUhETMRITUzNSM8ASYvAS4BIyIPAQYHJi8BJiMiBg8BDgEUFSMTIREhEyI2PwEXExEhEQE3HgMjZAGQyAGQZG8CAiILPScgHe8WEhMV7iEdJz0KIwICb2QBkP5wZAMiEhLW2wGQ/o/KBQ4gEgIDIMgBLP7UyGQBChQIrCcwEZANFhgMkBIuJrEIFAoB/HwBkAH0YDAvv/x8AZD+cAOExQwpVzkAAAACAAD/6gSvBLAAGwAyABcAsgAAACsBsDMvsCfWsA/NsTQBKwAwMRU1Ny4CPgE3PgU3FAIOBC4CIwc2Fjc2JT4DNz4BJyYiBgcOAQ8BBAfYCQgDFTguL2llmonoaCxKaHGDeHtcUw9jEidDNwE4RmFrWykWBAgHFCERI509Pf6PWRaPwTU8gGKCOzxVMy0eOR69/szQm1UzCQYTDzd/DVNCqCY/X4BUMhQJBR0ZM3MgIMXMAAABAG8ADAREBOcASAAjAAGwSS+wAdawRc2wRRCxPAErsUoBK7E8RRESsTo2OTkAMDESFBceARcWPgM3PgEnHgEHDgEHDgQeAT4BNz4ENzYCJxYXFicmJy4CNw4EFx4DDgQHBi4CNw4BbwUJRkYfQjo4KA8gDhRPVhEFHxYKCQ8DAwgOGSQYOURrQ0APJqWkFhUnRw8ST1MFMw0qZ0ouDwIMBAgBAQsQGhImOhcHDjQ/AblCHjh/LRUKJT49HkLtJ1CoZCFJLBMUIA8XCAsBBAYUHD1DbkOsAVNtLFWfBQIHIYbZlQgfZm2nUww7GzQbKBcZEAQKLk1WIC5uAAAD/8MAfQTtBDMAIQA/AEcAQwCwGi+wKc2wOi+wCc0BsEgvsDzWsDfNsUkBK7E3PBESQAoJGRoIKSg1PkBDJBc5ALEJOhEStwARJC41PkJHJBc5MDEDNz4GMh4FHwEHDgYiLgUnNx4FMj4ENy4EJxYVFAYiJjU0NwYXFhc3LgEvAT0aBhxGT3N2k5CTdnNPRhwGGhoGHEZPc3aTkJN2c09GHAabB0MtW1R6gHdSWSxICwE3HTo5HjGw+LAuZoUxaWklTBMUAlgoCihXVGBHLy9HYFRXKAooKAooV1RgRy8vR2BUVygKKApgPV44KygzXDtoDgFJJUU6GUpZfLCwfFVJV3N8Q2kYYCQkAAAABP/DAAAE7QSwABYAIAApAEEAoQCyDwAAK7AOMwGwQi+xQwErsDYauj3v790AFSsKsA8uDrAMwAWxDgH5DrANwLAPELMLDwwTK7MQDwwTK7MZDwwTK7MaDwwTK7MkDwwTK7MlDwwTK7IQDwwgiiCKIwYOERI5sBk5sBo5sCQ5sCU5sAs5ALcLDA0QGRokJS4uLi4uLi4uAUAKCwwNDg8QGRokJS4uLi4uLi4uLi6wQBoBADAxAzc+BjMyFzczASM3LgQnNxIXNy4BNTQ3BhcWFz8BLgEvAQE3PgY3Jic3HgIfAQcOBD0aBhxGT3N2k0g9PCWU/saUJVKmcmknCpvStyVrjy5mhTFpLxceOg8OASgmFi0vIjATLwFhKydDgS4NGhoHJVplkwJYKAooV1RgRy8RjvtQjxVlZ3k4Dyj+5jaNEqduVUlXc3xDL1ccUhsa/aeRDyYyJj8YQAJ/MJI2j0AUKCgMNGtiZgAAAAP/ngAABRIEqwALABIAFwAAJhYzITI2JwEuAQcBNwkBITUjFREbATUjbxslBQ4lGxX9fhQ4FP1+9QG9Ab3+p8hkZMhEREcgBCAhBiD71mQC0/0tZGQBkP7UASxkAAAAAAEAZAAVBLAEsAApAEgAsB4vsAnNAbAqL7Al1rAFMrAWzbALMrIWJQors0AWGAkrsiUWCiuzQCUjCSuxKwErsRYlERKxHR45OQCxCR4RErEWJTk5MDETNTQ2NwERNDYyFhURAR4BHQEUBiclERYdARQGLwEjBwYmPQE0NxEFBiZkFg8Ba1h8WAFrDxYYEf6ZZBoTXt5eExpk/pkRGAEGKRQxDgFFAVM+WFg+/q3+uw4xFCkUDQz5/vlbFkAVEAlOTgkQFUAWWwEH+QwNABEAAAAABEwEsAAJABsAHwAjACcAKwAvADMANwA7AD8AQwBHAEsATwBTAFcAADUUFjMhMjY1ESE1ITU0JisBNSMVITUjFSMiBhUTNTMVJzUzFSc1MxUTNTMVJzUzFSc1MxUTNTMVJzUzFSc1MxUTNTMVJzUzFSc1MxUTNTMVJzUzFSc1MxUdFQPoFR37tARMHRWWZP4MZJYVHWRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZDIUHh4UAu5klhUdZGRkZB0V/EpkZMhkZMhkZP5wZGTIZGTIZGT+cGRkyGRkyGRk/nBkZMhkZMhkZP5wZGTIZGTIZGQAAAMAAAADBXgErgAKABAAGQBBALAAL7AYM7ABzbATMrALL7AIM7AQzbADMgGwGi+xGwErALEBABESsREWOTmwCxGzBw0SFSQXObAQErEGDjk5MDE9ASEBMzUJATUjCQEhFzcnIQE3FzM1CQE1IwEDAljxASz+1J/9qP6rAQN6jbX+qwKmjXqfASz+1PHIyAJYxv7Z/tTF/agCWHqOtP2VjnvG/tn+1MUAAAEAAAAABLAETAASABoAsg4AACuwEC+wDDOwBM0BsBMvsRQBKwAwMRkBNDYzITIWFREUBiMhAREjIiY7KQPoKTs7Kf2s/tBkKTsBkAJYKTs7Kf2oKTv+1AEsOwAAAwBkAAAETASwACUAKQAtAGAAsh8AACuwCc2yCR8KK7NACQEJK7AVMrAmL7AqM7AnzbArMgGwLi+wANawJjKwA82wKDKwAxCxEgErsCoysBfNsCwysS8BK7EDABESsCQ5sBIRsR4fOTmwFxKwGTkAMDETNSEVFBcWFxYzMj4GJzQ9ASEVFA4FIi4FGQEhESERIRFkASwGEVUnNSU7KR8RCwMCAQEsBhgnTWWdwJ1lTScYBgEsAZABLAJYyPpxIFwZCwsUHCMoLC4YEQj6yCpSfmpxUDMzUHFqflIBVgEs/tQBLP7UAAAAAAH/4gC4BGgD3gAFAAADFwkBNwEe4wFgAWHi/b4Bm+MBYf6f4wJDAAABAEYA2gTMBAAABQAAEwkBJwkBRgJEAkLi/p/+oAMd/b0CQ+P+nwFhAAAAAAL/OgBkBXYD6AAIABEAKACwBy+wBM0BsBIvsAfWsATNsRMBK7EEBxESsAE5ALEEBxESsA45MDEDCQEjESEXIREBFyERIwkBIxHGASsBLMsBgdf84AGU1wF9xgErASvIArwBG/7l/nDIAlgBLMj+cP7lARsCWAAAAAEAEgAABKoEsAAyAEYAsiIAACuwGTOwLM2wLBCwJs2xFR0yMrAvL7AEzbAQL7AJzQGwMy+wJNawH82wHxCxHAErsBfNsTQBK7EXHBESsC05ADAxEyY3NjMhNz4BOwEyFhQGKwEDDgIrARUUBiImPQEhFRQGIiY9ASMiJjU0NjMhNyEiJicSBQ8OGQOAJgUbEV4UHh4UNskCCB4SHx0qHf7UHSodMhUdHRUCFzD9hyAtBQOrGBITohEVHSod/D8EDRYyFB4eFDIyFB4eFDIeFBUdyCoWAAAAAAIAAAAABLAETAADAA8AIACyAAAAK7ABzbAEL7AFzbANMrAJzQGwEC+xEQErADAxMREhEQE1MzQ2MyEyFhUhFQSw+1DIOykBLCk7AfQDIPzgA4RkKTs7KWQAAAAAAgABAAAF3QRMAAMAEAAoALIAAAArsAHNsA8vsA3NsAUysAnNAbARL7ESASsAsQEAERKwBDkwMTMBIQkBETM0NjMhMhYVIRUhAQEsBLD+1PtQyDspASwpOwH0/BgCvP1EAZACWCk7OynIAAAAAQEuAAADggSwAAkAIQCyCQAAKwGwCi+wAdawB82xCwErsQcBERKxBAk5OQAwMQEzESMJASMRMwEBLsbGASoBKsbG/tYBLAJYASz+1P2o/tQAAAAAAQAAAS8EsAOCAAkAHACwCC+wAs0BsAovsQsBKwCxAggRErEABTk5MDERARUhNQkBNSEVASwCWAEs/tT9qAJYASrGxv7W/tfFxQAAAAQAAAAABLAEsAAPABkAHQAhAEkAsgwAACuwGs2wHjKwHS+wIDOwBc2wEC+wFM0BsCIvsBvWsB7NsB4QsR8BK7AJzbIfCQors0AfAAkrsSMBK7EJHxESsBk5ADAxPQE0NjMhMhYdARQGIyEiJhsBPgEzITIWFxMBMzUjFzM1IzspA+gpOzsp/BgpOx+sBSQUAqATJQWs/o9kZMhkZGRkKTs7KWQpOzsBVQLjFictF/0k/tRkZGQAAAAD/5sAZASwBEwACwAlADMAJgABsDQvsADWsAbNsAYQsSYBK7AuzbE1ASuxJgYRErEMFjk5ADAxAzU0Nj8BFS4EFzU0NTQ+AjsBJRElIxMWDgEjIisBIiYnAgERNDYzMhYVERQGIyImZTIZGQQOIhoWyAEEDAnIAqP9XSYvAgoMDwUDUxQdBDgD6R0VFB4eFBUdAlgyGDINDfoCBxUWIVX6AgMNCw8G+vyuyP7sDAsBHBUBUf7iA1IVHR0V/K4UHh4AAAAAAgBKAAAEZgSwACcALwA1ALIrAAArsC/NsCUvsB4zsAPNsBcysiUDCiuzQCUiCSsBsDAvsTEBKwCxJS8RErEoLTk5MDETNDY7ATcTPgE3JyY2OwEyFg8BHgEXExczMhYVFAYHDgIiJi8BLgEFHgEyNjcGIkobFBF2Pw96UxIGEhReFBIGElN6Dz92ERQbGhIWUv368To6EhoBpww4RjgLMGwBXhUdrQFHTX4UIBMaFRMlE39N/rmtHRUUKAcJHC4pFRQHKdwxPT0xBgAAAQAVABUEnAScABcAABMXBzcXNxc3Fyc3JzcnNwcnBycHJxcHFxXpTuAtm5st4E7qtLTqTuAtm5st4E7pswG9LeBO6bOz6U7gLZucLOFO6bS06U7hLJwAAAMAAABkBLAEsAADACIALgAaAAGwLy+wKNawFs2xMAErsRYoERKwFDkAMDE1MxEjARQ7ARY7ATI3EzY9ATQmIyE2PQE0JisBIgYPAgYVExE/ATMVByEVAyMnyMgBLGQ9exD6LiXuHT0n/rgcPScyGzAOYJEUZJZkMjIBwvrWiMgCWP3zS2Q5AVgfK2QsUXYHlixRKBzGxBol/okBd9TVr+F9/olkAAAAAAMAAAAABLAETAADACIALgBwALIcAAArsCXNsBUvsAAzsCjNsC4vsAfNsAEysCwvsArNAbAvL7AA1rADzbADELEEASuwI82wIxCxJgErsBjNsBgQsSkBK7ARzbEwASuxJiMRErIIKCw5OTmwGBGwFTmwKRKwKzkAsS4cERKwKjkwMRkBMxE3ETQ7ATY7ATIXExYdARQGIyEWHQEUBisBIiYvAiY3HwEzNSchNQMjByPIZGQ9exD6LiXuHT0n/rgcPScyGzAOYJEUZJZkMjIBwvrWiGQBkAJY/ah9AZBLZDn+qB8rZCxRdgeWLFEoHMbEGiXU1a/hfQF3ZAAAAAMACABkBRUEVQADACIAQQB5ALAgL7AkzbAbL7ApzbAxL7AUzbABMrIxFAors0AxAAkrAbBCL7AA1rADzbADELEEASuwI82wIxCxLQErsBjNsi0YCiuzQC08CSuxQwErsS0jERK0DBEbFD8kFzkAsRskERKwIzmwKRGwGDmxFDERErIXPEE5OTkwMTcRMxE3ETQ2PwElNjMyHwEWFRQPASEyFhQGKwEDDgEjISImNxchEz4BOwEyNjU0JiMhKgIuBCcmNTQ/AScFCMhkHA4OAWoOCxEMbQ4LVQEuVWttVGuCBxsP/qsHpmRkASWDBhsPyxASEhD+NwELBAkDBwQEAgUKk1b+rcgCWP2oSwINESUKCeYGDHAOFBIOeUyQTv6tFieiG1kBUxUoHhUUHQEBAgMFAwwIDg23U+wAAAAD/5sAZQSvBFYAHgA4ADwAeQCwGC+wJM2wHS+wH82wOC+wA82wOjKyOAMKK7NAODkJKwGwPS+wAdawH82yHwEKK7NAHywJK7AfELEmASuwFM2wFBCxOQErsDzNsT4BK7EmHxEStAcMHAQpJBc5ALEdJBESsCY5sB8RsAA5sQM4ERKyAScsOTk5MDECNDYXIScmNTQ/ATYzMhcFHgIVERQGIyEiJicDIyInMzIWFxMhNxElBxcWFRQHDgUqASMhAREzEWVsVQEuVQsObQ0QCw4BbQcTIasI/qoPGwaDalQK3g8bBoMBJWr+qleRCgUBBQMHBAkECwH+JAPoyAJDkEwBeRAQFQ1xDAbmBA0nEf3yDaEoFQFTZCkU/q1ZAfbtU7gLDwsJAwUDAgEB/gwCWP2oAAAAAAMAYQAABEwFDgAbADYAOgBHALI3AAArsDjNAbA7L7AV1rA3MrApzbIpFQors0ApOgkrsDMysCkQsS8BK7AOzbE8ASuxKRURErESNjk5sQ4vERKwETkAMDEbAR4CMyEyNjURNCYnJTU0JiIGFREnJgYPAQYXNxcWNz4FPAE1ETQ2Fh0BFBYXBREHIQM1IRVh5gQNJxECDQ2iKBX+rU6QTHkPJQ5wFltTtxYZAwUDAgEBMjIoFQFTWf4JCAJYAs/+lQYTH6YHAVYPGwaDalRua1X+0lQMAQ1uFgtWkhINAQUDBwQJAwwBAcgWEhMVyhAbBoL+2mT+cMjIAAAAAAMAAQAKA+0FGAAbADIANgBFALAzL7A0zQGwNy+wCNawMzKwKc2yKQgKK7NAKTYJK7AfMrApELElASuwDc2xOAErsSkIERKxCh05ObENJRESsAs5ADAxEwYfAR4BPwEDFBYyNj0BJT4BNRE0JiMhIgYPAQMTIRcRBQ4BHQEUBiY1ETwBLgEnJg8BEzUhFQEPFnANJg95AU2QTgFTFCmiDf3zESUKCpvtAfdZ/qwUKDIyAwcGGBa4kgJYAkkfFm4NAQtV/tJUbG5UaoMGGw8BVgemHA4P/oIBU2T+2oIGHA/KFhISFgHICwcQCAMNEpICccjIAAACAAUAAASwBKsADgAVADoAsgwAACuwD82wFS+wBc0BsBYvsADWsA/NsRcBKwCxDwwRErEJETk5sBURsQASOTmwBRKxCBM5OTAxEzQ+AjMyBBIQAgQgJAIlIQcJARUhBV+g3XqiAROgoP7t/rz+7KABJwEsAgGS/m7+1gJVet2gX6D+7P68/u2goAETQcIBJgEqxQAAAgAAAAAEqwSrABAAFwA4ALIOAAArsBPNsBYvsAXNAbAYL7AU1rAKzbEZASsAsRMOERKwEjmwFhGyCgAROTk5sAUSsBc5MDERND4CMzIeAhUUAgQgJAI3ATUhNSE1X6DdeXrdoF+g/uz+vP7toMgBkAEu/tQCVXrdoF9foN16ov7toKABE6X+2sLJxQACAAUAAASwBKsAEAAXAD4Asg4AACuwE80BsBgvsADWsBPNsBMQsRQBK7AKzbEZASuxEwARErEOETk5sBQRsQUXOTmwChKxDRY5OQAwMRM0PgIzMh4CFRQCBCAkAiUzETMRMwEFX6DdenndoF+g/u3+vP7soAEnyMjI/tQCVXrdoF9foN16ov7toKABE6X+1AEsAZAAAgAFAAAEsASrABAAFwBNALIOAAArsBYvsAXNAbAYL7AA1rAXzbAXELEUASuwCs2xGQErsRcAERKxDhE5ObAUEbEFEjk5sAoSsQ0TOTkAsRYOERKyCgASOTk5MDETND4CMzIeAhUUAgQgJAIlCQEjESMRBV+g3Xp53aBfoP7t/rz+7KABJwEsASzIyAJVet2gX1+g3Xqi/u2goAETpf5wAZABLP7UAAAAAwAFAAAEsASrABAAigCaAIYAsg4AACuwLM2wUS+wgS+wBc0BsJsvsADWsBTNsBQQsVoBK7AKzbGcASuxFAARErASObBaEUAODgUTISMkPkxXeoaHi5ckFzmwChK3DSIoMj1caXgkFzkAsVEsERK3FjI4PkhKV1kkFzmwgRFACQoAFFp0h3CTliQXObAFErJ3eHo5OTkwMRM0PgIzMh4CFRQCBCAkAhMGFgcUFgcyHgEXFhceAjcWBhceAhcUDgEXFjc+AjcuAScuASciDgIHBicmNjUuASc2LgEHBicmNzY3HgIXHgEfATQ2JyY2Nz4DNyY3MhYyNjcuAyc2Jx4BPwE2LgEnBicOAwcGJgcOAQcGFgcOASU+ATcWMj4BNxQeARcuAgVfoN16ed2gX6D+7f68/uyg+QgbBiIBDBYYCBRYFj45HQguAwwVIxMGAQVleB8gJAMOLwwORhEJPSAuEDIQBAEGKQQCCBkaFxMTCwgOBigbBgwoDg4TBAQlBAUKBxgWBhAIHxIXCQopIz8MCwofNwwLBi5SDxMSDysaPggPPg4UPwMDEwEDMQEDAxoDChELEgcQEQEGQikCVXrdoF9foN16ov7toKABEwFZInYcCUYZCxMECiAILx4EEksUFRsbBAYTCgwCcR4kPh8JAQcHEAsBAgsLIxcCLwINCAMWJhIdGR0cHhAGAQEICRMlCQgDSRUXKwoOKhQZCRITAwkLFycVIAcpAw0DBQQkIxYMAwMMEgYKAQMGBgYnDwsXByJycQwlBwoMEQQSMScEAQgMAAABAAAAAgSvBIUAFAAAPAE3ASY2NzYXBRc3FgcGJwEGIi8BDwJYIU5gpI7+/ZH7DaR7gv2sDysPb48rEAJXZck2XGWK6H6vXEYv/awQEG4AAAYAAABgBLAErAAPAB8ALwAzADcAOwBQALAML7A0zbA3L7AFzbAcL7AwzbAzL7AVzbAsL7A4zbA7L7AlzQGwPC+wNdaxMTkyMrAJzbEYKDIysjUJCiuzQDUACSuxECAyMrE9ASsAMDE9ATQ2MyEyFh0BFAYjISImETU0NjMhMhYdARQGIyEiJhE1NDYzITIWHQEUBiMhIiYBITUhEyE1IRMzNSM7KQPoKTs7KfwYKTs7KQPoKTs7KfwYKTs7KQPoKTs7KfwYKTsCWAH0/gzIASz+1GTIyMRkKTs7KWQpOzsBuWQpOzspZCk7OwG5ZCk7OylkKTs7/plk/gxkArxkAAACAGQAAARMBLAAAwAJACUAsggAACuwAC+wAc0BsAovsAjWsAfNsQsBKwCxAAgRErAEOTAxEzUhFQUhAREHEWQD6PxKA4T+osgETGRkZP4M/tTIAfQAAAAAAwAAAGQEsASwAAkAIQAlAGAAsAcvsAHNsAovsB0zsA7NsRgiMjKwJS+wE80BsCYvsA/WsCLNsCAysg8iCiuzQA8LCSuwADKwIhCxIwErsB4ysBjNshgjCiuzQBgcCSuwAjKxJwErALEOChESsB85MDE9ASEVFAYjISImGQE0NjMhNTQ2OwEyFh0BITIWFREhNSMVETM1IwSwOyn8GCk7OykBLDspyCk7ASwpO/4MyMjIyMjIKTs7AVUBkCk7ZCk7OylkOyn+cGRkAfRkAAAAAAQAAAAABLAEsAAGAA0AFAAbABQAsgAAACuwEjMBsBwvsR0BKwAwMTERFzcXBxcBNxc3JzchATcXNxEhNwM3JyERJweByI7Igf5wgciOyIH+cALZjsiB/nCByMiBAZCByAGQgciOyIEDIIHIjsiB/JmOyIH+cIEC5siB/nCByAAABgAAAAAEqASoAAsAFQAfACkAQwBNANIAsgoAACuwD82wHi+wSzOwGc2wRjKwKC+wOTOwI82wNDKyKCMKK7NAKEEJK7AUL7AEzQGwTi+wAdawDM2wDBCxFwErsBvNsBsQsSELK7AmzbAmELEqASuwPs2wPhCxRAErsEnNszdJRAgrsDHNsDEvsDfNsEkQsREBK7AHzbFPASuxJhsRErMKDhQDJBc5sT4qERKxLTw5ObE3MREStQkPEwQvOyQXOQCxHg8RErMHAAwRJBc5sBkRsyotPD4kFzmwKBKxBgE5ObAjEbEvOzk5MDEYARIkIAQSEAIEICQTFBYgNjU0JiAGFjQ2MhYVFAYjIjY0NjMyFhQGIyIXNDY/AiY1NDYzMhYUBiMiJwcWFRQGIyImJTQ2MhYUBiMiJqABEgFEARKgoP7u/rz+7hbzAVbz8/6q820fLiAgFxZNIBcWICAWF1EqH3oBCSAXFiAgFhANNxEzJCUzAR8gLh8gFhcgAbIBRAESoKD+7v68/u6goAG0rPLyrKvz84cuHyAWFyDkLCEgLiC6IDEFfgEODhYhIC4gCpEWHSQzM1IWIB8uICAAAf/YADsEugSwAE8AOgCwBS+wJ82wIC+wFc2wNi+wSs0BsFAvsVEBKwCxJwURErA/ObAgEbQLDxobMSQXObAVErEyMzk5MDECBhceATMyNz4CNzY3AT4BJyYnJiMiBgcBBxcBNjc2MzIXFgcBBiMiJicmPgI3NjcBPgIzMhceAQcGDwEDHwEBPgEnLgEnJiMiBwYHARsaMCN2Rj84IUApJygRAYojGA8bWhQJLkMi/nwHRQF5FBMXGyYPECT93TRJN1oJBQ8wJCYYFAFcND1rNhkXX3YIB1v8/QdFAgVDOBEQZk9FU2taKEf+AAHWvk45QBwQMSorLBEBiiNiL1cRAiIi/nQHQwF1FhAXJCck/d00Qj8jPkAkJBUUAVw0NzUEEZtiZVv5/wAHPAH/Q7RdV4YkITcYR/4AAAAAAAIATwA2BMMEWAAcADYAQwCwNC+wLjOwA82wBzIBsDcvsADWsB3NsB0QsSsBK7AKzbE4ASuxHQARErAZObArEbMDBw8YJBc5ALEDNBESsAU5MDETNDYzMhc2MzIWFRQOAgcGDwEnLgInLgQ3FB4BHwEWFzY/AT4CNTQmIyIPAScmIyIGT8aDkGJnjoLCI1dDR8VgERArckZCOjVTJR6rPT5AFl1hUnEMQEM+YDpJOnZyM0k7YwMQg8WBgcWDLlpsR0a/gxcXOoFGQTo1Xz1QJhtWQT4WWm9cbww+RlgcR2FTq65QYwAAAAACADn/8gR3BL4AGAAyAAATFB8BFjMyNwE2NC8BJicHFwEnNycmJwcGExQfAjcnARcHFxYXNz4BNTQvASYjIgcBBjlCjUJdX0ABG0JCjQwHadT+e/dfEi4dN0LUQo0TadQBhfdfEi4fHSM3Qo1CXV9A/uVCAWFeQo1CQgEbQrpCjQwFadT+e/hfEi04N0IBBF1CjRFp1AGF92ASLjUdI2orXUKNQkL+5UAAAAAAAwDIAAAD6ASwABEAFQAdAEUAsg8AACuwGc2wHS+wEs2wFS+wBs0BsB4vsADWsBLNsBIQsRMBK7ALzbALELAbzbAbL7EfASuxGxIRErIGBRY5OTkAMDE3ETQ+AjIeAhURFAYjISImNyERIRIUFjI2NCYiyDxmnKqaZDo7Kf2oKTtkAlj9qMQ9Vj09VmQDuRUyLh4eLjIV/EcpOzvxArz82VY9PVY9AAAAAQAAAAAEsASwABgAEQCyAAAAKwGwGS+xGgErADAxMQE3JyEBJyY0NzYyFwEWFAcGIi8BAREnBwEvz9IBLAELIw8PDioOARsPDw4qDiT+6dTQAXzQ1AEXJA4qDg8P/uYPKg4PDyP+9f7U0s8AAwEnABIECQThAC8AOwBBAJEAsCsvsCgzsATNsDwysisECiuzQCsqCSuwOS+wHTOwEM2yEDkKK7NAEBEJKwGwQi+wDNawADKwMM2wAc2wMBCxKgErsgQQODIyMrApzbISHTwyMjKwKRCxPgErsCXNsBog1hGwGc2xQwErsTABERKwAjkAsQQrERKwJzmwORG2AAwZJTg+QSQXObAQErATOTAxATMeARcRJy4ENTQ+ATc1MxUeBBcjLgEnERceBBUUBgcVIzUmJy4BExQeAxcWFxEOARM2NTQmJwEniwVXShsuQk4vIViCT2QmRVI8KwOfCDZKQCI8UDcosptkmFUoGagQESoUHAcEPUnqqlhSAbFNYw8BTwcOGS85WDdch0MHTk8EEyw/aUJISw3+zQ4HEyw8ZT6LqgtNThFXKGsCHh0sGBUGBwIBARIIO/0rEoVARxkAAAEAZABmA5QErQBIAI0AsDYvsC/NsAAvsCMzsAHNsCEysBMvsAvNshMLCiuzQBMOCSsBsEkvsAfWsD4ysBjNsCkyshgHCiuzQBgjCSuyBxgKK7NABwAJK7AYELEPASuwDs2xSgErsRgHERKzAj1HSCQXObAPEbULJCUvNjgkFzmwDhKwMTkAsS82ERKxMj45ObAAEbExQTk5MDETNTMmJy4BPgE3NjMyFhUjNC4BIyIGBwYVFB4GFzMVIxYGBwYHPgEzNhYzMjcXDgIjIiYHDgEPASc+BTc+ASdkphgUCgkDLy1hpoHKmURQJCVUFCkFBg0IFAgXAvLFCBUVKTojYhUgjCJMPDIpTycqF9IyJ1YXGDcGFQoRDBEJMAwkAlhkMTcaO1ZeKFiydzRLHB0VLDkLGxUgEiUOKARkMoIdOzYLDgEiHpMZFwNCBAQaDAuRBA4GDQsRCjePRwAAAAIAAgAABK4EsAAGAA0AHwCyDAAAKwGwDi+wDNawC82xDwErsQsMERKwCDkAMDETCQEjESMRCQIjESMRAgEqASrGyAGSASoBKsbIASz+1AEsA4T8fAJYASz+1Px8A4QAAAUAAgAAA+gEsAAGAAwAFgAeACIApgCyBwAAK7AGM7AKzbIHAAArsAjNsBMvsBTNsQAEMjKwDS+wDs2wHS+wH82yHR8KK7NAHRcJK7AaMrAiL7AYzbACMgGwIy+wAdawBM2wBBCxCAErsQ0XMjKwCs2xHR8yMrAKELEVASuxGyAyMrAQzbELGTIysxIQFQgrsBPNsBMvsBLNsSQBK7EEARESsAY5sAgRsAU5ALEUCBESsBA5sA0RsBE5MDETMxEzETMBITUzFTMVATUhFSMVIzUzNQMRIREjNSMVNzM1IwLGyMb+1gGQZMj+1AEsY2RjyAEsZGQBZGQBLAOE/Hz+1MhkZAGQZMhkZGQBLAH0/gxkZMjIAAUAAgAAA+gEsAAGAA4AFAAeACIAoACyBgAAK7EHCjMzsA0vsB/NsCIvsAjNsA8vsBLNsBDNsBsvsBzNsBUvsBbNsAIyAbAjL7AB1rAEzbAEELEHASuxDxUyMrAOzbERHzIysA4QsQsBK7EdIDIysArNsRMXMjKzGgoLCCuwG82wGy+wGs2xJAErsQQBERKwBjmwBxGwBTkAsSIfERKzAQQFACQXObEcEBESsBg5sBURsBk5MDETMxEzETMBIREhESM1IxUDNTMVMxUBNSEVIxUjNTM1AzM1IwLGyMb+1gGQASxkZGRkyP7UASxjZGNjZGQBLAOE/Hz+1AH0/gxkZAK8yGRkAZBkyGRkZPx8yAAABAACAAAETASwAAYADAASABYAawCyCwAAK7AML7ATzbAWL7AIzbANL7AOzbINDgors0ANEQkrAbAXL7AR1rAQzbMTEBEIK7AHzbAHL7ANM7ATzbAQELEUCyuwCzKwCs2xGAErALEICxEStAACAwYBJBc5sQ4NERKxBQQ5OTAxEwkBIxEjEQURIREjNQM1MxEjERMzNSMCASoBKsbIAlgBLGTIyGQBZGQBLP7UASwDhPx8yAGQ/gxkA+hk/gwBkPx8yAAAAAQAAgAABEwEsAAGAAwAEgAWAGsAsgsAACuwBy+wCM2wEi+wE82yEhMKK7NAEhAJK7AWL7AOzQGwFy+wC9awCs2zEwoLCCuwDc2wDS+wBzOwE82wChCxFAsrsBEysBDNsRgBKwCxEwsRErQAAgMGASQXObEOFhESsQUEOTkwMRMJASMRIxElNTMRIxEDESERIzUnMzUjAgEqASrGyAJYyGRkASxkY2RkASz+1AEsA4T8fGRk/gwBkAGQAZD+DGRkyAAAAAAFAAIAAASwBLAABgAKAA4AEgAWAFIAsAcvsAjNsAsvsAzNsA8vsBDNsBMvsBTNAbAXL7AP1rIHCxMyMjKwEs2wFs2yFg8KK7NAFgoJK7NAFg4JK7EYASsAsQsIERKzAgMGACQXOTAxEwkBIxEjEQU1IRUBNSEVATUhFQE1MxUCASoBKsbIAfQB9P4MAZD+cAEs/tTIASz+1AEsA4T8fMjIyAEsyMgBLMjIASzIyAAAAAUAAgAABLAEsAAGAAoADgASABYAUgCwBy+wCM2wCy+wDM2wDy+wEM2wEy+wFM0BsBcvsAvWsgcPEzIyMrAOzbAKzbIKCwors0AKEgkrs0AKFgkrsRgBKwCxCwgRErMCAwYAJBc5MDETCQEjESMRBTUzFQM1IRUBNSEVATUhFQIBKgEqxsgB9MjIASz+1AGQ/nAB9AEs/tQBLAOE/HzIyMgBLMjIASzIyAEsyMgAAAAAAgAAAAAETARMAA8AHwAqALINAAArsBPNsBwvsATNAbAgL7AA1rAQzbAQELEXASuwCc2xIQErADAxGQE0NjMhMhYVERQGIyEiJjcUFjMhMjY1ETQmIyEiBhXrpQEsou7to/7UpevIOykB9Ck7Oyn+DCk7AZABLKXr7aP+1KXr60EpOzspAfQpOzspAAADAAAAAARMBEwADwAfACIAPgCyDQAAK7ATzbAcL7AEzQGwIy+wANawEM2wEBCxFwErsAnNsSQBK7EXEBESsSAhOTkAsRwTERKxICI5OTAxGQE0NjMhMhYVERQGIyEiJjcUFjMhMjY1ETQmIyEiBhUTLQHuogEspevrpf7Uo+3IOykB9Ck7Oyn+DCk7yAFN/rMBkAEso+3rpf7UpevrQSk7OykB9Ck7Oyn+DPr6AAAAAAMAAAAABEwETAAPAB8AIgA+ALINAAArsBPNsBwvsATNAbAjL7AA1rAQzbAQELEXASuwCc2xJAErsRcQERKxICI5OQCxHBMRErEgITk5MDEZATQ2MyEyFhURFAYjISImNxQWMyEyNjURNCYjISIGFRcbAeulASyj7eul/tSl68g7KQH0KTs7Kf4MKTtk+voBkAEso+3uov7UpevrQSk7OykB9Ck7Oylk/rMBTQADAAAAAARMBEwADwAfACIAPgCyDQAAK7ATzbAcL7AEzQGwIy+wANawEM2wEBCxFwErsAnNsSQBK7EXEBESsSAhOTkAsRwTERKxICI5OTAxGQE0NjMhMhYVERQGIyEiJjcUFjMhMjY1ETQmIyEiBhUTIQPrpQEspevto/7UpevIOykB9Ck7Oyn+DCk7ZAH0+gGQASyl6+ul/tSi7u0/KTs7KQH0KTs7Kf5wAU0AAgAAAAAFFARMAAYAGgA8ALIHAAArsAjNsAAvsAHNsBEvsBLNAbAbL7AM1rAXzbEcASsAsQgHERKwBTmxAQARErAEObAREbADOTAxGQEhNQkBNRM1ITI2NRE0JiMhNSEyFhURFAYjASwBkP5wyAH0KTs7Kf4MAZCl6+ulAZABLMj+ov6iyP5wyDspAfQpO8jrpf7UpesAAAABANgAAQPWBJ0AHwAaAAGwIC+wGtawFM2xIQErsRQaERKwFzkAMDETFjMhAgcGHwIyNwE2JyYHITYSNzYvASMiBw4BAAcG2AoWAS6bBQUJCQkNDQIaDwkIGP7UAZoCAggICRAJBL3+9UwRAgcT/koUFQsIARACdhMREgIEAa8MEQoIDwXV/tNYEwAAAAIAAAAABRQETAAYAB8APwCyAwAAK7AIzbAIELAGzbAZL7AazbAQL7ASzbAUzQGwIC+wANawC82xIQErALEaAxESsR0eOTmwEBGwHDkwMREUFjMhMjc1ISImNRE0NjMhNS4BLwEiBhUBESE1CQE166UBLC81/gwpOzspAfQOyF1dpesCWAEsAZD+cAGQpesPuTspAfQpO7kEBwIC66X+1AEsyP6i/qLIAAIAAAAABLAEsAAdACQAVACyAwAAK7APzbAWL7AazQGwJS+wANawEs2wEhCxCwErsAfNsSYBK7ELEhEStRgZHh8gJCQXObAHEbAjOQCxFg8RErUICR4iIyQkFzmwGhGwHzkwMREUFjMhMjY9AScHFRQGIyEiJjURNDY7ATcnIyIGFSUBJyERJwHrpQEso+1Oejsp/gwpOzspnHZKZKXrAfABYZUB9JX+qgGQpevrpWJJe5QpOzspAfQpO3pO66UJAVaV/gyV/p8AAwAEAAQErASsAAsAEwAbAFoAsAovsA/NsBsvsBfNsBMvsATNAbAcL7AB1rANzbANELEVASuwGc2wGRCxEQErsAfNsR0BK7EZFREStwQJCg4PEhMDJBc5ALEXGxEStwEGBwwNEBEAJBc5MDESEBIkIAQSEAIEICQSEBYgNhAmIAI0NjIWFAYiBKABEgFEARKgoP7u/rz+7hbzAVbz8/6qF3KgcnKgAbYBRAESoKD+7v68/u6goAJf/qrz8wFW8/4SoHJyoHIAAAADAAAAAARMBLAACQAQABQALgCyCQAAK7ARzbAUL7AFzbALMgGwFS+wEtawCM2yEggKK7NAEgAJK7EWASsAMDExETQ2MyEyFhURCQIhESERATM1Iw4LBBgLEPwYAb0Bwv7Z/tQB9GRkARMLDg8K/u0DIP4MAfQBkP5w/XYyAAAAAAMAAAAABEwEsAAJABAAFAArALIJAAArsBHNsBQvsAXNAbAVL7AS1rAIzbISCAors0ASAAkrsRYBKwAwMTERNDYzITIWFREBIREhESEJATM1Iw4LBBgLEPwYASwBLAEn/kMBXmRkARMLDg8K/u0CvP7UASwB9PvmMgAAAAADAAAAAARMBH8ACQAPABMALgCyCQAAK7AQzbATL7AFzQGwFC+wEdawDDKwCM2yEQgKK7NAEQAJK7EVASsAMDExETQ2MyEyFhURCQInAScBMzUjDgsEGAsQ/BgBMQJUmv5GlgKFZGQBEwsODwr+7QLB/s8CVJv+Rpf9OjIABAAAAAAETASwAAkADQAUABgAKwCyCQAAK7AVzbAYL7AFzQGwGS+wFtawCM2yFggKK7NAFgAJK7EaASsAMDExETQ2MyEyFhURARc3JwMhEQcnBxcBMzUjDgsEGAsQ/Bhh1GFwArz6ldSVAc5kZAETCw4PCv7tA9xi1WH84QK775XUlf4NMgAAAAQAAAAABEwEsAAJAA0AFAAYAC4AsgkAACuwFc2wGC+wBc0BsBkvsBbWsBMysAjNshYICiuzQBYACSuxGgErADAxMRE0NjMhMhYVEQEXNycTFwcXNxcRAzM1Iw4LBBgLEPx81GLVA++V1JX4Y2RkARMLDg8K/u0CZNRh1AHr+pXUlO0CvPvmMgACABf//wSwBK8ABQAIABcAsgQAACsBsAkvsAXWsAbNsQoBKwAwMRMBEQkBERcJARcEmf4l/spPAqD9YAGfAxD7yQEQ/ncBoM0Dqv04AAAAAAIAAABkBEwEsAAVABkATQCwES+wBs2yEQYKK7NAERMJK7AOMrIGEQors0AGBAkrsAgyAbAaL7AA1rASzbAGzbASELEPASuwC82xGwErsQ8GERKyCRYXOTk5ADAxNRE0NjsBESERMxcRFAYrAREhESMiJgEzNSMdFfoB9GTIHhSW/USWFR0CWGRklgPoFB7+1AEsyPyuFR0BkP5wHQNnyAADAAAAPgUUBLAAEwAZAB0AQACwDy+wBs2yDwYKK7NADxEJK7IGDwors0AGBAkrsAgyAbAeL7AA1rAQzbAGzbEfASsAsQYPERKyCxcYOTk5MDE1ETQ2OwERIREzFxUBJwchESMiJiU3FwEXAQMzNSMdFfoB9GTI/ux4fv6GlhUdAkV7eAFhe/4l4WRklgPoFB7+1AEsyNr+7Xh//nAdsXt4AWB7/iQDqsgAAAAAAwAAAAYFDgSwABMAFwAjABUAAbAkL7AA1rAQzbAGzbElASsAMDE1ETQ2OwERIREzFxEHJwEhESMiJgEzNSMTNyc3FzcXBxcHJwcdFfoB9GTIZ6r+1v63lhUdAlhkZGSqqn+qqn+qqn+qqpYD6BQe/tQBLMj+82eq/tb+cB0DZ8j71aqqf6qqgKmqf6qqAAAAAwAAAAAEsASwABIAGQAdAGwAsA4vsAbNsg4GCiuzQA4QCSuwBhCwDM2wGi+wG82xBAgyMgGwHi+wANawD82yDwAKK7NADwsJK7AAELAGzbAPELEaASuwHc2wDDKxHwErsRoGERKwEzkAsQwOERKxFxg5ObEaBhESsAo5MDE1ETQ2OwERIREzFxEhFSERIyImJQkBIxEjEQM1MxUdFfoB9GTI/nD+DJYVHQJYASwBLMjIyGSWA+gUHv7UASzI/tTI/nAdq/7UASwBLP7UArzIyAAAAAADAAAAAASwBLAAEgAZAB0AWwCwDi+wBs2yDgYKK7NADhAJK7AaL7AbzbEECDIyAbAeL7AA1rAPzbAGzbAPELEaASuwHc2xHwErsRoGERKwEzmwHRGwDTkAsQYOERKyCwwZOTk5sBoRsAo5MDE1ETQ2OwERIREzFxEnASERIyImJTMRMxEzCQE1MxUdFfoB9GTIyP7W/m6WFR0CWMjIyP7U/tRklgPoFB7+1AEsyP5uyP7W/nAdq/7UASwBLAGQyMgAAAAAAwAAAMgEsARMAAkAEwAXAAA1FBYzITI2NREhNSE1NCYjISIGFRM1IRUdFQRMFR37UASwHRX7tBUdZAGQ+hUdHRUCJmSWFR0dFf0SyMgAAAAGAAAAZgSwBK4ABgAKAA4AFQAZAB0AgQCwBS+xFhozM7ACzbEXHDIysAcvsQsPMzOwCM2xDBAyMgGwHi+wB9awCs2wChCxCwErsA7NsA4QsRYBK7AZzbEfASuxCwoRErMCBQYBJBc5sRYOERKzBAMPECQXObAZEbMSFBURJBc5ALECBRESsAA5sAcRsQEUOTmwCBKwEzkwMREBFSEVIRUDNTMVMzUzFTM1ITUJATUDNTMVOwE1IwEsAZD+cMhkZGRkAZABLP7UZGRkZGQBkAEqxsjGArrIyMjIyMb+1v7Wxv4MyMjIAAAAAgBkAAAEsASwABgALwA6ALIUAAArAbAwL7AA1rAEzbAEELEXCyuwEM2zCRAXCCuwBc2wBS+wCc2wEBCxCgsrsA7NsTEBKwAwMRMRNxcRMxE3FxEzETcXEQcRFAYrASImNRElFB4CHwERFBY7ATI2NRE0JgcFDgEVZDIyZDIyZDIyZB0VyBUdAlgVHR0LCh0VyBUdJBr+7BklArwBkGRk/tQBLGRk/tQBLGRk/nDL/kEVHR0VAb9kHTUhGAYF/nMVHR0VBFIfExF1EEUfAAAAAAEAZAAABLAETAAzADgAsgAAACuwDDOwM82yAgsOMjIysCgvshgcJTMzM7AnzbAaMgGwNC+xNQErALEoMxESsQYgOTkwMTMhNSImNREhERQGIxUhNSIuAzURNDY/ATUhFTIWFREhETQ2MzUhFTIeAxURFAYPAWQBkEsZAfQZSwGQBA4iGhYyGRn+cEsZ/gwZS/5wBA4iGhYyGRk4DCYBiv52Jgw4OAEFCRUOA3gWGQECODgMJv52AYomDDg4AQUJFQ78iBYZAQIABgAAAAAETARMAA8AGAAcACAAKgAuADIAshgAACuwEM2wFi+wEs2yEhYKK7NAEhQJKwGwLy+xMAErALESEBESswQDGRwkFzkwMREUFjMhMjY1ETQmIyEiBhUTITczJREhByEDNSEVATUhFQEhFxUlMzUhJyEBNSUVOykBLCk7Oyn+1Ck7ZAGQyGkBJ/5XZP6JZAEs/tQBLP7UAZDIASdp/ldk/okB9AGQASwpOzspAfQpOzsp/UTIYv7WZAEsyMgBLMjIAZDIYmLIZP1Go4WjAAEAEAAQBJ4EnwAhAAASHgMXHgMzPwE2Ji8BJgYPASYnJic3PgEvAS4BDwEQAR8+kmZn0Zd7Hx+jEAYTwBM0EHePfH5ldhEGDosOLRKiA+QriY/UZmeSPSEBohEvDogOBBF2Z3x+jnYRMRTCEwYRogACAAAAAASwBEwAHQBAAC8AshsAACuwDM2wKC+wOM0BsEEvsUIBKwCxDBsRErEgLzk5sCgRsyYpMkAkFzkwMT0BNDY3ATU0PgMyHgIfARUBHgEdARQGIyEiJhEUFj8BPgE9ATYgFxUUFh8BFjY9AS4EIyIOBA8BFQ4BbQIWJlJwUiYWAQEBbQ4VHhT7tBUdHRTKFB2NAT6NHRTKFB0GGmR82n5cpnVkPywJCTLUFDMOAS8yBA0gGRUUGxwKCjL+0Q4zFNQVHR0CqxUZBCEEIhWSGBiSFSIEIQQZFcgIGUExKRUhKCghCwoAAgBkAAAEsARMAAMAGQAUALIAAAArsAHNAbAaL7EbASsAMDEzNSEVJSEnNTcRIxUjNSMVIzUjFSM1IxEXFWQETPv/A7Z9ZGRkyGTIZGRkZGTIlvpkAZDIyMjIyMj+cGT6AAAAAAMAZAAABLAETAAJABMAHQAkALIKAAArsBQzAbAeL7AK1rATzbATELEUASuwHc2xHwErADAxMyERNCYrASIGFQERNDY7ATIWFREzETQ2OwEyFhURZAEsOylkKTsBkDspZCk7ZDspZCk7AZApOzsp/nAD6Ck7Oyn8GAK8KTs7Kf1EAAAAAAX/nAAABLAETAAPABMAHwAnACsASACyDQAAK7AQzbATL7AEzQGwLC+wANawEM2wEBCxEQErsAnNsS0BK7EREBEStRQVICMoKiQXOQCxExARErUUGiAmKCkkFzkwMQMRNDYzITIWFREUBiMhIiY3IREhEyERIzUzNSERMxUjBTM1MxEjNSMTETMRZLB8Arx8sLB8/UR8sMgDhPx8ZAEsyMj+1MjIAZDIZGTIZGQBLAH0fLCwfP4MfLCwGAK8/agBLGRk/tRkZGQBLGT+cAEs/tQAAAAABf+cAAAEsARMAA8AEwAfACcAKwBIALINAAArsBDNsBMvsATNAbAsL7AA1rAQzbAQELERASuwCc2xLQErsREQERK1FBkgIygqJBc5ALETEBEStRQaICYoKSQXOTAxAxE0NjMhMhYVERQGIyEiJjchESETMzUzFTMRIxUjNSMBMzUzESM1IxMRMxFksHwCvHywsHz9RHywyAOE/HxkZGRkZGRkAZDIZGTIZGQBLAH0fLCwfP4MfLCwGAK8/ajIyAH0yMj+DGQBLGT+cAEs/tQAAAT/nAAABLAETAAPABMAGwAjAEQAsg0AACuwEM2wEy+wBM0BsCQvsADWsBDNsBAQsREBK7AJzbElASuxERARErMUFRwdJBc5ALETEBESsxQaHCIkFzkwMQMRNDYzITIWFREUBiMhIiY3IREhEyE1IxEzNSEBITUjETM1IWSwfAK8fLCwfP1EfLDIA4T8fGQBLMjI/tQBkAEsyMj+1AEsAfR8sLB8/gx8sLAYArz9qGQBLGT+DGQBLGQAAAAABP+cAAAEsARMAA8AEwAWABkARACyDQAAK7AQzbATL7AEzQGwGi+wANawEM2wEBCxEQErsAnNsRsBK7EREBESsxQVFxgkFzkAsRMQERKzFRYXGSQXOTAxAxE0NjMhMhYVERQGIyEiJjchESETBRETLQFksHwCvHywsHz9RHywyAOE/HxkASxkASz+1AEsAfR8sLB8/gx8sLAYArz+opYBLP7UlpYAAAAABf+cAAAEsARMAA8AEwAXAB8AJwBaALINAAArsBDNsBQvsBjNsCMysB8vsCUzsBXNsBMvsATNAbAoL7AA1rAQzbAQELEUASuwGM2wGBCxHAErsCHNsCEQsSQBK7AXzbAXELERASuwCc2xKQErADAxAxE0NjMhMhYVERQGIyEiJjchESETESERJTMyNjQmKwEEFBY7AREjImSwfAK8fLCwfP1EfLDIA4T8fGQCvP2ogik2OSaCARM2KYKCJgEsAfR8sLB8/gx8sLAYArz9qAH0/gxkVIJWVoJUASwAAAX/nAAABLAETAAPABMAHwAjACkASACyDQAAK7AQzbATL7AEzQGwKi+wANawEM2wEBCxEQErsAnNsSsBK7EREBEStRQVICEkJyQXOQCxExARErUUGiAiJigkFzkwMQMRNDYzITIWFREUBiMhIiY3IREhEyERIzUzNSERMxUjBTM1IxMzETMRI2SwfAK8fLCwfP1EfLDIA4T8fGQBLMjI/tTIyAGRZGRjZGTIASwB9HywsHz+DHywsBgCvP2oASxkZP7UZGRkASz+cAH0AAb/nAAABLAETAAPABMAGQAdACEAJwBMALINAAArsBDNsBMvsATNAbAoL7AA1rAQzbAQELERASuwCc2xKQErsREQERK3FBUaHB4fIiUkFzkAsRMQERK3FBgaGx4gJCYkFzkwMQMRNDYzITIWFREUBiMhIiY3IREhEyERIzUjEzUzFRczNSMTMxEzESNksHwCvHywsHz9RHywyAOE/HxkASzIZGVkyGRkY2RkyAEsAfR8sLB8/gx8sLAYArz9qAGQZP5wyMhkZAEs/nAB9AAAAAAG/5wAAASwBEwADwATAB0AIQAlACsAmwCyDQAAK7AQzbAeL7EiKTMzsB/NsCMysBovsBvNsBQvsCYzsBXNsCcysBMvsATNAbAsL7AA1rAQzbAQELEeASuwFDKwIc2wIRCxHAErsBfNsxkXHAgrsBrNsBovsBnNsBcQsSIBK7AlzbAlELEqASuwKc2wKRCwJs2wJi+wKRCxEQErsAnNsS0BKwCxGx8RErAXObAUEbAYOTAxAxE0NjMhMhYVERQGIyEiJjchESEXNSERIxUjNTM1AzUzFSE1MxUDNTMRIxFksHwCvHywsHz9RHywyAOE/HxkASxjZGPHZAEsZAHIZAEsAfR8sLB8/gx8sLAYArzIZP7UZGTI/nBkZGRkAZBk/gwBkAAAAwAEAAQErASsAAsAEwAdAHkAsAovsA/NsB0vsBrNsBkvsBbNsBMvsATNAbAeL7AB1rANzbANELEUASuwGs2wGhCxEQErsAfNsR8BK7EaFBEStQoOEwMWHSQXObAREbUJDwQSFxskFzkAsRodERK0Bw0QABQkFzmwGRGwFTmwFhKzBgwRASQXOTAxEhASJCAEEhACBCAkEhAWIDYQJiADNTchFSEVIRUhBKABEgFEARKgoP7u/rz+7hbzAVbz8/6qHWQBLP7UASz+1AG2AUQBEqCg/u7+vP7uoKACX/6q8/MBVvP9/shkZMhkAAAEAAAABASoBKwACwATACAAJACgALAKL7APzbAhL7AUM7AizbAbL7AVzbATL7AEzQGwJS+wAdawDc2wDRCxFAErsCDNsBsysiAUCiuzQCAeCSuwIBCxIQErsBkysCTNsBcysCQQsREBK7AHzbEmASuxIBQRErMKDhMDJBc5sCERsBY5sCQSswkPEgQkFzkAsSIhERK0Bw0QAB4kFzmwGxGyFxgfOTk5sBUSswYMEQEkFzkwMRgBEiQgBBIQAgQgJBIQFiA2ECYgAxEhFxUjNSMVMxUjFTM1MxWgARIBRAESoKD+7v68/u4W8wFW8/P+qhkBLGRkyMjIyGQBtgFEARKgoP7u/rz+7qCgAl/+qvPzAVbz/ZoBkGRkZGRkZGRkAAAC//L/nATCBEEAGgAhAHEAsAUvsBPNsBMQsA4g1hGwCM2wAzIBsCIvsADWsATNsAQQsRwBK7AfzbAfELEHASuwC82xIwErsQQAERKyFhgbOTk5sR8cERKxEyE5ObELBxESsRAgOTkAsQUIERKzAAsdHiQXObAOEbIQFhg5OTkwMQMUFjsBESERMzI2NTQmIyIHLgEjIgYVFBcOAQEzETMRMwEOcU/eAZCAeKqqeC4sLLVumNgCQlUBOsjIyP7UAe5QcgEs/tSsenitDmF315kZDA5r/pUBLP7U/tQAAv/y/5wEwgRBABgAHwAeAAGwIC+wHtawHc2xIQErsR0eERKyERoFOTk5ADAxAxQWOwEJAT4BNTQmIyIHLgEjIgYVFBcOAQkCIxEjEQ5xTwgBngGTXnmqeC4sLLVumNgCQlUBOgEsASzIyAHuUHIBnv5tGpxkea0OYXfXmRkMDmv+lQEs/tT+1AEsAAABAGQAAARMBG0AEAAANyEVByEnNSEBMwEzCQEzATNkAZBLAV5LAZD+8qr+8qr+1P7Uqv7yqsibLS2bASwBLAFN/rP+1AAAAAABAHkAAAQ3BJsAKQAAExQWFwYVFBYzMjcRByEnERYzMjY1NCc+ATU0JicuASMiBhUUFhUmIyIGeTkvBGlKOCxLAV5LLjZKaQkyO3tZGpNedKMCDglKaQK8NVgVEBZKaR7+zi0tATIeaUoYHyBmPVqDBllxo3QEEAMCaQAAAQAAAAEAQS6qWJRfDzz1AB8EsAAAAADOXRJ9AAAAAM5dEn3/Ov+cBd0FGAAAAAgAAgAAAAAAAAABAAAFGP+EAAAFGP86/tMF3QABAAAAAAAAAAAAAAAAAAAAnwG4ACgEsAAABLAAAASwAAAEsABkBLAAAASwAAACjAAABRgAAAKMAAAFGAAAAbIAAAFGAAAA2QAAANkAAACjAAABBAAAAEgAAAEEAAABRgAABLAAZASwAMgEsP/yBLAAAASw//MB9AAABLAAAASwAA4EsAAXBLAAZASw/7gEsP+4BLAAAASwAAAEsAAABLAAAASwAAAEsAAdBLAAagSwABcEsAAXBLAAFwSwAGQEsAAaBLAAZASwAAEEsABkBLAABASw/5wEsAAABLAAAQSwAAQEsAAABLAABASwABcEsAAXBLAAZASwAAAEsABkBLAAAASwAAAEsAAABLAAAASwAAAEsAAABLAAAQSwAAIEsABkBLAAyASwAAAEsAAABLAANQSwAGQEsADIBLD/tQSwACEEsAAABLAAAASwAAAEsAAABLAAAASw/5sEsAABBLAAAASwAAAEsACUBLAAAQSwAHUEsAAABLAAAASwAAAEsAAABLAAyASwAAAEsACIBLAAyASwAMgEsADIBLAAAASwAAAEsAEsBLAAZASwALkEsAEQBLAAAwSwAAMEsAADBLAAAwSwAAMEsAADBLAAAASwAAQEsAAEBLAABASwAAAEsAAABLAAzASwAGgEsAAABLAAAASwACIEsAAXBLAAAASwAAAEsABvBLD/wwSw/8MEsP+fBLAAZASwAAAEsAAABLAAAASwAGQEsP/iBLAARgSw/zoEsAASBLAAAASwAAEEsAEuBLAAAASwAAAEsP+bBLAASgSwABUEsAAABLAAAASwAAgEsP+bBLAAYQSwAAEEsAAFBLAAAASwAAUEsAAFBLAABQSwAAAExAAABLAAZAAAAAAAAP/YAE8AOQDIAAABJwBkAAIAAgACAAIAAgACAAIAAAAAAAAAAAAAANgAAAAAAAQAAAAAAAAAAAAAABcAAAAAAAAAAAAAAAAAAABkAGQAAAAQAAAAZABk/5z/nP+c/5z/nP+c/5z/nAAEAAD/8v/yAGQAeQAAACoAKgAqACoAZgCkAKQApACkAKQApACkAKQApACkAKQApACkAKQApAEwAUgBfAGiAcYBzgH+AjYCmALMAu4DLANMA/QEcgVkBg4GIgZEBuIHTAewB+gIlAkwCWAJlAoKCkQKiAruC1YLkgvoDEAMsg0eDXgNrA48DmIOjA7eD9oQThCKENYRDhEmEZQSFBJgEtgTFBOMFAoUYBS4FSQVkBZgFtgXSheEF+YYNhiAGLwZKhmWGfoaSBp6GrQa1BriGxIbLhtMG4QbtBveG/IcDBxYHKIc7B0wHb4eDB6IHuofRB+eH74f4CAEICggRCBsII4g8CFoIcIiQCLGI3wjrCQSJJAk5CUSJYYlmiWwJewmWCaGJrwm5icMJ2gnyigwKFwosCkuKcwqZirkK14rqCvuLDgsjC22Ld4uXi6KLvIvMjAQMK4xIjF4McwyAjKsM1ozijQUNJw0/jVgNbg2EDZWNq43BDdaN6Y37DhAOKQ5CDlIOYY5xDoIOkw6dDrEOxo7YjvMPC48VjzKPTI9lj3+PjY+qj7cPx4/iD/wQE5AokEQQXZB3kJwQuZDdkPkRCpETkSMAAEAAADbAJsAEQAAAAAAAgABAAIAFgAAAQABAQAAAAAAAAAPALoAAQAAAAAAEwASAAAAAwABBAkAAABqABIAAwABBAkAAQAoAHwAAwABBAkAAgAOAKQAAwABBAkAAwBMALIAAwABBAkABAA4AP4AAwABBAkABQB4ATYAAwABBAkABgA2Aa4AAwABBAkACAAWAeQAAwABBAkACQAWAfoAAwABBAkACwAkAhAAAwABBAkADAAkAjQAAwABBAkAEwAkAlgAAwABBAkAyAAWAnwAAwABBAkAyQAwApJ3d3cuZ2x5cGhpY29ucy5jb20AQwBvAHAAeQByAGkAZwBoAHQAIACpACAAMgAwADEAMwAgAGIAeQAgAEoAYQBuACAASwBvAHYAYQByAGkAawAuACAAQQBsAGwAIAByAGkAZwBoAHQAcwAgAHIAZQBzAGUAcgB2AGUAZAAuAEcATABZAFAASABJAEMATwBOAFMAIABIAGEAbABmAGwAaQBuAGcAcwBSAGUAZwB1AGwAYQByADEALgAwADAAMQA7AFUASwBXAE4AOwBHAEwAWQBQAEgASQBDAE8ATgBTAEgAYQBsAGYAbABpAG4AZwBzAC0AUgBlAGcAdQBsAGEAcgBHAEwAWQBQAEgASQBDAE8ATgBTACAASABhAGwAZgBsAGkAbgBnAHMAIABSAGUAZwB1AGwAYQByAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAwADEAOwBQAFMAIAAwADAAMQAuADAAMAAxADsAaABvAHQAYwBvAG4AdgAgADEALgAwAC4ANwAwADsAbQBhAGsAZQBvAHQAZgAuAGwAaQBiADIALgA1AC4ANQA4ADMAMgA5AEcATABZAFAASABJAEMATwBOAFMASABhAGwAZgBsAGkAbgBnAHMALQBSAGUAZwB1AGwAYQByAEoAYQBuACAASwBvAHYAYQByAGkAawBKAGEAbgAgAEsAbwB2AGEAcgBpAGsAdwB3AHcALgBnAGwAeQBwAGgAaQBjAG8AbgBzAC4AYwBvAG0AdwB3AHcALgBnAGwAeQBwAGgAaQBjAG8AbgBzAC4AYwBvAG0AdwB3AHcALgBnAGwAeQBwAGgAaQBjAG8AbgBzAC4AYwBvAG0AVwBlAGIAZgBvAG4AdAAgADEALgAwAE0AbwBuACAAUwBlAHAAIAAxADYAIAAxADUAOgA1ADQAOgAzADcAIAAyADAAMQAzAAIAAAAAAAD/tQAyAAAAAAAAAAAAAAAAAAAAAAAAAAAA2wAAAQIBAwADAA0ADgEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgDvARMBFAEVARYBFwEYARkBGgEbARwBHQEeAR8BIAEhASIBIwEkASUBJgEnASgBKQEqASsBLAEtAS4BLwEwATEBMgEzATQBNQE2ATcBOAE5AToBOwE8AT0BPgE/AUABQQFCAUMBRAFFAUYBRwFIAUkBSgFLAUwBTQFOAU8BUAFRAVIBUwFUAVUBVgFXAVgBWQFaAVsBXAFdAV4BXwFgAWEBYgFjAWQBZQFmAWcBaAFpAWoBawFsAW0BbgFvAXABcQFyAXMBdAF1AXYBdwF4AXkBegF7AXwBfQF+AX8BgAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AbgBuQG6AbsBvAG9Ab4BvwHAAcEBwgHDAcQBxQHGAccByAHJAcoBywHMAc0BzgHPAdAB0QHSAdMB1AHVAdYB1wZnbHlwaDEHdW5pMDAwRAd1bmkwMEEwB3VuaTIwMDAHdW5pMjAwMQd1bmkyMDAyB3VuaTIwMDMHdW5pMjAwNAd1bmkyMDA1B3VuaTIwMDYHdW5pMjAwNwd1bmkyMDA4B3VuaTIwMDkHdW5pMjAwQQd1bmkyMDJGB3VuaTIwNUYERXVybwd1bmkyNjAxB3VuaTI3MDkHdW5pMjcwRgd1bmlFMDAwB3VuaUUwMDEHdW5pRTAwMgd1bmlFMDAzB3VuaUUwMDUHdW5pRTAwNgd1bmlFMDA3B3VuaUUwMDgHdW5pRTAwOQd1bmlFMDEwB3VuaUUwMTEHdW5pRTAxMgd1bmlFMDEzB3VuaUUwMTQHdW5pRTAxNQd1bmlFMDE2B3VuaUUwMTcHdW5pRTAxOAd1bmlFMDE5B3VuaUUwMjAHdW5pRTAyMQd1bmlFMDIyB3VuaUUwMjMHdW5pRTAyNAd1bmlFMDI1B3VuaUUwMjYHdW5pRTAyNwd1bmlFMDI4B3VuaUUwMjkHdW5pRTAzMAd1bmlFMDMxB3VuaUUwMzIHdW5pRTAzMwd1bmlFMDM0B3VuaUUwMzUHdW5pRTAzNgd1bmlFMDM3B3VuaUUwMzgHdW5pRTAzOQd1bmlFMDQwB3VuaUUwNDEHdW5pRTA0Mgd1bmlFMDQzB3VuaUUwNDQHdW5pRTA0NQd1bmlFMDQ2B3VuaUUwNDcHdW5pRTA0OAd1bmlFMDQ5B3VuaUUwNTAHdW5pRTA1MQd1bmlFMDUyB3VuaUUwNTMHdW5pRTA1NAd1bmlFMDU1B3VuaUUwNTYHdW5pRTA1Nwd1bmlFMDU4B3VuaUUwNTkHdW5pRTA2MAd1bmlFMDYyB3VuaUUwNjMHdW5pRTA2NAd1bmlFMDY1B3VuaUUwNjYHdW5pRTA2Nwd1bmlFMDY4B3VuaUUwNjkHdW5pRTA3MAd1bmlFMDcxB3VuaUUwNzIHdW5pRTA3Mwd1bmlFMDc0B3VuaUUwNzUHdW5pRTA3Ngd1bmlFMDc3B3VuaUUwNzgHdW5pRTA3OQd1bmlFMDgwB3VuaUUwODEHdW5pRTA4Mgd1bmlFMDgzB3VuaUUwODQHdW5pRTA4NQd1bmlFMDg2B3VuaUUwODcHdW5pRTA4OAd1bmlFMDg5B3VuaUUwOTAHdW5pRTA5MQd1bmlFMDkyB3VuaUUwOTMHdW5pRTA5NAd1bmlFMDk1B3VuaUUwOTYHdW5pRTA5Nwd1bmlFMTAxB3VuaUUxMDIHdW5pRTEwMwd1bmlFMTA0B3VuaUUxMDUHdW5pRTEwNgd1bmlFMTA3B3VuaUUxMDgHdW5pRTEwOQd1bmlFMTEwB3VuaUUxMTEHdW5pRTExMgd1bmlFMTEzB3VuaUUxMTQHdW5pRTExNQd1bmlFMTE2B3VuaUUxMTcHdW5pRTExOAd1bmlFMTE5B3VuaUUxMjAHdW5pRTEyMQd1bmlFMTIyB3VuaUUxMjMHdW5pRTEyNAd1bmlFMTI1B3VuaUUxMjYHdW5pRTEyNwd1bmlFMTI4B3VuaUUxMjkHdW5pRTEzMAd1bmlFMTMxB3VuaUUxMzIHdW5pRTEzMwd1bmlFMTM0B3VuaUUxMzUHdW5pRTEzNgd1bmlFMTM3B3VuaUUxMzgHdW5pRTEzOQd1bmlFMTQwB3VuaUUxNDEHdW5pRTE0Mgd1bmlFMTQzB3VuaUUxNDQHdW5pRTE0NQd1bmlFMTQ2B3VuaUUxNDgHdW5pRTE0OQd1bmlFMTUwB3VuaUUxNTEHdW5pRTE1Mgd1bmlFMTUzB3VuaUUxNTQHdW5pRTE1NQd1bmlFMTU2B3VuaUUxNTcHdW5pRTE1OAd1bmlFMTU5B3VuaUUxNjAHdW5pRTE2MQd1bmlFMTYyB3VuaUUxNjMHdW5pRTE2NAd1bmlFMTY1B3VuaUUxNjYHdW5pRTE2Nwd1bmlFMTY4B3VuaUUxNjkHdW5pRTE3MAd1bmlFMTcxB3VuaUUxNzIHdW5pRTE3Mwd1bmlFMTc0B3VuaUUxNzUHdW5pRTE3Ngd1bmlFMTc3B3VuaUUxNzgHdW5pRTE3OQd1bmlFMTgwB3VuaUUxODEHdW5pRTE4Mgd1bmlFMTgzB3VuaUUxODQHdW5pRTE4NQd1bmlFMTg2B3VuaUUxODcHdW5pRTE4OAd1bmlFMTg5B3VuaUUxOTAHdW5pRTE5MQd1bmlFMTkyB3VuaUUxOTMHdW5pRTE5NAd1bmlFMTk1B3VuaUUxOTcHdW5pRTE5OAd1bmlFMTk5B3VuaUUyMDC4Af+FsAGNAEuwCFBYsQEBjlmxRgYrWCGwEFlLsBRSWCGwgFkdsAYrXFhZsBQrAAAAAVI3Yf0AAA==\",\"glyphicons-halflings-regular.woff\":\"d09GRgABAAAAAFr8ABEAAAAAoRQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABgAAAABwAAAAcaPfj5EdERUYAAAGcAAAAHgAAACABCAAET1MvMgAAAbwAAABDAAAAYGenS4RjbWFwAAACAAAAARcAAAJq4khMF2N2dCAAAAMYAAAACAAAAAgAKAOHZnBnbQAAAyAAAAGxAAACZVO0L6dnYXNwAAAE1AAAAAgAAAAIAAAAEGdseWYAAATcAABN8wAAiRgqz6OJaGVhZAAAUtAAAAA0AAAANgEEa5xoaGVhAABTBAAAABwAAAAkCjIED2htdHgAAFMgAAABFAAAAvTBvxGPbG9jYQAAVDQAAAGrAAABuDKVVHptYXhwAABV4AAAACAAAAAgAgQBoG5hbWUAAFYAAAABgwAAA3zUvpnzcG9zdAAAV4QAAAM+AAAIhMxBkFZwcmVwAABaxAAAAC4AAAAusPIrFHdlYmYAAFr0AAAABgAAAAZh/lI3AAAAAQAAAADMPaLPAAAAAM5dLpcAAAAAzl0SfXjaY2BkYGDgA2IJBhBgYmAEwltAzALmMQAADagBDQAAeNpjYGZpZJzAwMrAwszDdIGBgSEKQjMuYTBi2gHkA6Wwg1DvcD8GBwbeRwzMB/4LANVJMNQAhRmRlCgwMAIAC2EJ1gB42s2RPUsDQRCGZ5Nc5ERjCAoeiDNYGKKFadOdjSaFErC6KkEkGLAIVqZLmy6NBDt/gKV/Jld485rCykptbNY1BxZXWVj4wnwtM8/ALBHlKbUtMs6TuXCVWdQF03TxlELyqOSyVRLap3tZlgPpyMNOZddU/eqa5tXXQGva0JZG2tW+DnWsU/gIUEMDR2ghQh9DjHGLu2ey9nvTgrfneJThkXpaVtG6htp2vHMd6EgnMChDUEeIJtroYoARJpgueMZ+2LmNbU+XknnymFw+5eONWWnmSyCbUpEVKQrxJ7/zG7/yC4Nv+JqvuMdd7nDEZ3zCx3zI4Xac3uEvZYr0AzU553LZhvQLUhU8+tcqZh/WfzP1BXUjZUgAAAAAjwAoAvh42l1Ru05bQRDdDQ8DgcTYIDnaFLOZkMZ7oQUJxNWNYmQ7heUIaTdykYtxAR9AgUQN2q8ZoKGkSJsGIRdIfEI+IRIza4iiNDs7s3POmTNLypGqd+lrz1PnJJDC3QbNNv1OSLWzAPek6+uNjLSDB1psZvTKdfv+Cwab0ZQ7agDlPW8pDxlNO4FatKf+0fwKhvv8H/M7GLQ00/TUOgnpIQTmm3FLg+8ZzbrLD/qC1eFiMDCkmKbiLj+mUv63NOdqy7C1kdG8gzMR+ck0QFNrbQSa/tQh1fNxFEuQy6axNpiYsv4kE8GFyXRVU7XM+NrBXbKz6GCDKs2BB9jDVnkMHg4PJhTStyTKLA0R9mKrxAgRkxwKOeXcyf6kQPlIEsa8SUo744a1BsaR18CgNk+z/zybTW1vHcL4WRzBd78ZSzr4yIbaGBFiO2IpgAlEQkZV+YYaz70sBuRS+89AlIDl8Y9/nQi07thEPJe1dQ4xVgh6ftvc8suKu1a5zotCd2+qaqjSKc37Xs6+xwOeHgvDQWPBm8/7/kqB+jwsrjRoDgRDejd6/6K16oirvBc+sifTv7FaAAAAAAEAAf//AA942r29B4Ab5ZUAPN/MSKMujaTRSNqVVmUlbZW80mrl9RYbV9yNDS50g4CAKabEGDAGTAskhgWCCTEJDhzgUEeyCUnO3CUkcEpR2hmHcBeONI6Ecgn4Sox3/L/3fdKuthjC3f//XkuaJs1773vf+14fjufaOI58RohwAidx6RLhMoNlSeTfy5aMhn8dLAs8bHIlAQ8b8HBZMgpHB8sEj+fkqJzIyfE2Mkd/+89/FiJH32zjf8YRrsgVxWXiMk7lWjmNy2j2nEaqmjVLNH9G8xzSDFnNXdWkbClAOrkZPZ58NFVQ5ZxcUKWoElWllByXpVShSIQXdr5QgRcR9NH65uFJB/RRehmgwcE/el8rt4QrWziuE28u0ZsbsmXCWTr3zSGCuZNotoxmOaTxWc1c1cRs2WzBU2bJ3Fm2mHHTwpk7S3YKXYBE5fofGSFdZETfrB8c39I3kxGKs0H8gvgsV+C2cFo2o7VVy21Z/Km2tJnCEaVwtGQ1Q0ZrzmnGqhbMakpGs1bLihUvVFwI2cyMVqCQxaqlUEsWPl2lbtKpubJauqo5s6V+0lmKFWS3JvVr3XLZGsn29/cjFQu53kK8kOsr9OWyqk+N96b5eMzBS1EpalTgLSzmssN8PmeUjPFYKk1SxeLlhteLtyeWfnb/B5sHjc/nli0J+/vnz/aQ64r6QSPZBe/mGf3zckpoybLcsy0bNz1Rvbp1ro0cLmbyxSdO3fniBRcV1s8IeLtOHS6m+4pLrprb6QzOWJd/+qLPfjX91FYOx6RCRsRl/AHgLzflBaFKNDFTMrCRB6JWhFuObkNy4vCRYx+QLvEl8QTOx7VwmpDRnFXNAl9RMyU/fKVkEWR3yebu75/RI3h9uWi2L9+bjMekNInHjIpXdRDH5Sv597c++eTWdFfX85d+6TV+7ink/VVXPH3t1mccG6/+5YMBm2MTJ8K9iqIGvCIC31s4O8fliVogCdlsgFGuANQfrSJd+kF+Pb8eRruriAf1zRW6d3j0Mf403Ua6RvfC7wjHPjz2ofii+CLHc0bOxXFSAtiZwKvQ15shyZhkJ8v/7dRD/PmH1h46125/0NnqtG/+t5PYgdPtKceDdjtX49/6v546P2uixpm5HFc2Ij9LVU2AaWTJaKZDQMqyYELOEQzAuCYBN01GYFwrJa4cJTJMp3xUFjUE9uibQFpt9PXR14tFPom/7+BMMF+e4yIclwyTwjDJywk5KTmIWtvrTUoGB1HgmFFs/dzKE4AYc5asXOeW71i5cI3DMuqyOGD/85e2B5WzO/gzd4/+t0sNXtFXaA+oJxWEyy1W4buCxzK6UvYHOKCOeuxd8fvig5yHa+I2cGUHYuTOaGpVa2KM0ZzRyCFNqWqKC2WDZoA5AOweUGT3PoF3uVvVfs0gA+dzJbcDpoC5X1NlzdWvNbn3EU4ywPkZPW4XIKR4JeLzOokxliLA7rzLF+lzJSMqaQZWa15BuiTpEpPXpB+8+q7KzS8R93e/q79P3sNz+u8rd12tH4STl0gS6VrBX6z/+aXvwhWUP2GerxefE+dzAU7hiBbMaNwhzVGF/6UmxtK9w3yYqPDGK16HIKXF4sxTr776mq4Z12397Pq+edfcsnd4+IlbrpknuOZsWdMtLp6/4ESxe82WOf3X3HhD+ZRTyjfceA3Q6tg3uUXi/TD2Fs4GLBb15DxR4jETj1A4kfzbvfy95DV9xz36jfqOe7/ICxEqiv6kzyYe/T3yj/BJ+bLxN3ycn9PsIH6pGBKzY1MKJlLjr3tUqaCmCvGUNPU+876/+DvfW/Ldd5avmOaO/FV3/fYLO//whX/+Z66Rdz3Ay3mSjyWHSG9f1hciXmNcIQoZSczW/kebnSAjdxNSvD9X2aZp2yq5+4v6sbs5nI/0+8voumTlnPA7KnBNCxfnUlwnl4EZoXFlDjlIrJb8ERCUUkaL5TRTVWvNataMlsxptqrWltWcGa0jp7mqWldW82S0dE7zVrUZWcQ/nM0hOYjWS8dRrO4z2VzeVjWriS4UUfvMdlnBXX9Va4Z3xpWhrBap7mtt65qBpyKuUhSuTLR39+CuUC3lUVDZrCCogk39/ZpTLjWHUGD10PUyH89PeqEUhFkaJdOcE7WP9hfH/oH4Gd1LXwfGD4rLGi9BWQrC6ui2sSOUlGNroxNomOFmc3O5sh2p15UDtJFkoYw2SEnTC7wxh9LDRddHP7y7ShFAHIjWXtVmZksnUL4B+dAHEtinyDCm0VgyQCbuk084HwIuUEIhRd+M7+Pb/Prjnck2HOYvadgZffF4ZziQnpNxX8mdxV3G3cDdDWs1pUJp8OIc0qHUW8wiJUrLtuWQFqX5V8F+d6Z0+hdgv7VaOvmWLFBnBKlTciHTmYH52rKUQjNAUs1ZBdv91dKJ6/HTVTobjm2+EbYvrJa2fi6bLd1DKYdzYYCw2dBJYkk5//H7JP//7fUhpYIEO84bGfm/nc+O7ZHHpts8+p//1wtg3a3Li8YxXlvj8UHK4710+i/Lac1VbT6OqnY6jql2Mozo2RNGVD3OiJY2Tj96Xh/s9sHhJOwalcnncTSQ76nsizLqf9z+J1ObP4A7o/PxffrtRpqPf/tTUBRleIiLiR+IHZyB42BxSJFUiDwqZA+Ofu0n5BX9dKEXtn6K113EXSQuFBeCnMbrCmaimolkJheRoP7WQRIkwYP6W/QNPoYn7h/Ea2CtmqAbpLgXJmgHoBbEc1qoqkWz5eYQqjnNSdB4Qs24GWoB/bqmP7Q16A9JEFjhrJaoapFsOZHESxNx+FYygZvJZvhWYkzLaIeRToKWUeZ9ILL7tYSsufu1AGgdqivYoHWobtA6XP2lEGgf+ziD4sdzTXLZGyD9/Z+gewggz3NKTokr8fzH6iELixUQ9Z+gjegb8CKU7nXafZnSroU7YzrNKjJVs4rWNKvnUbNqDn2MbvU86lbN4U/UrgRYxqZitnXnOGaoNZD3a4jtvEZ/VfLBVSbSuZwi9hJxvQSIUV2RU8UHQX9ogtV+AYeGI5oBXXRdkqpliRpzEhhzmuQq2QAjT7Vs8+BBG9hRaDKVbBIMkupvjgPgVDNzFxTQZr0ALBgNqbzPDRoaH0vzhE1g1HfpBFZ/8cQF246Qc45su+CJX5y2+9V3X919Gvl1SCni7CjiAvUCaRt+vFDZWjpypLS1Unh8WH/thS1wFVxMbONrFqy7RY6AXCqN6TEzuLKIK47JlssRzZXRRMQHkQAqgDGoWRk6zmpJptKmABY2AeO4/lcE46SrAkNfIWigkMO6DS1vUBRWId2CXJO4S9zFLeJO4s7hkAlWVbWlGa0PqLeaUu/Eqnaiq7Qc7gEL2hqg04kcqCrWIWD75fI+p5LrR1ZodZcCGTAsS6uA5UsSKDDaUnmfEE0twLN97lLnCcjwHm8L72shkk8tqD7YzGVn832zidpXSBX6YDPfm+GTGVJIpqRUEjbjMSdvdJKUUVIlI2waUClUvMZYMmh8gHf4hVXdg7caunsMybZYUyZpTGcMt82csUrwO8mXDIYvEZcqrOoavM3QPcPIrjBkuwy3DqRXCQE7/4CRXLC9vB3+8xui7UljT5fhtoH0SUIQThkMD/D2oHBS19Bthq4e/HJzd9KY6zDcNitzkhBwsJ93BISTMrNuM2TSxuSMwPrt29dv2L4dZKHEFY8dEzWDF/T+cQ20wN3BlaM411rB2p/Rm4WlIpUpd2T7cqAuNFVBxUSlwtEFxzMZWFmoeR88hKtOq6uUwHmY1dpQMy0n2qiE4oCh21woj7QZoKW6Sj2w1Z3VequaPVvu7cGLej1wUa8L9UwQiugQoE4UXETGVpKG5cQDaifbQlbywAvVTU9tu+i0EM9AO+lqHyAei9Nh/egtq6Mo3DLQPjq/faBIZQzyGZM2IslanMX2gYF2+F7W6nAcvRSZr31wsJ0/MDqfPwCW8kf72Sazl+DPoIi/Bhukiyubqb4OfA/6ufkQ6uomqmcjlYDpSwYTCB5CJ6uZxOtOF36Ev6WiH8Q/fgN/y+i20b0oR/j1yO8oAN8GOeHgZC7GlcFY6iTI9SDtjNWykSDBjCaQCB42m6hOOkYRIpOiw0r+hYw4rEeftTr49aQrIG63OnTb6BmAnuBG3FHGipwoPi0+DXPYAzywg0Mb3FnVvChky6oXb6MqMC4eHHJqGAIEdhg1V8kLCI5fFICLVBdObpj3aDSWvHaQUxbB4YGZVZJV2DGLTrR1uZLXCXsSZ3fhKQ+eMhLZVhPE7taI6HbxYqTVXRPAHpQQiriHuMl84t6zR39fP6C/7/uQrP3wQ/3JRSAyvtF4Ys8e/iz9yQ/x9KgOJD1IbQX+2EMcZ/ACTVFepWtWlpRDjMGicmao48FJHQ/EjCyMcqwmreIkJ8AfiQpxwZMT4kXy3M+VR7w/I8+NvtX+QVvPm01Piho6VD5aRdeCw8zvw9d0dHbPJVzZivdkdwMThGTHRWVZlPDWIsdEvx3oaKGysiSJIKl4M0gquwzylXrF0AuCfkqAiNpe5E/6Gyg/9Tdg6zfPPUf9eCBC0Y9XKcI4A7+Cff8cQKFyYe7cmgbpoXPZAAPbQgdWrmoyW0hBmWx2lRTYAsUxgkuqLLv320W3SnWDZlkL92uKe7/N4PGF6JiqHlhzicnMBWsrau8wnw3zdCki9ZEUqLAXyFl73jj8xp6z2MfpH5CTP/hAf3rVrsquI6ThBHzwvP70B3hep9MVmHYizwa5jXWerbFoUwOLIiZg4/rH+LIZMQG+3I986UVM/LKm9GtwBJnTRzHxOBETo8RRPWh6lhSaYCLH5ePx5MojR3Ydnyv1cxgulEn4MZ+CjfNy7TUPr71aMsggX2Ei8oCUkin50Py2W4AXiBOXqLzsibpztQnvyanRQk6IVoTIPxEQdjusjkolS7qylY2jjwTIv6Do0hMw88lbsM4exls20lHh/NzChrmPdAxQOgKv2saoFwTqyTYgjmi2CD7/2FSmxPKpU4jlqekkEZjdhuOR6kMyi7RPJhXZD6P+9FNw/k5yTwW4t643NXNrOHQ1w/jKGS0AcIYonAC301WyMH4NA5wWhMsgerxqAIfZLJcUH677Mo4+4cxeBQ8HZI0C7Q3z6ESOe42RpAsdzVJUlmBVdxC1pijtOqJ/FbSiz116Lxm55yuvgFbE/+RdphptAXUJtKqT8My1p+3mmJ7HUXhdXJS7livLOKYwx3zVsq8F57kvCPPcjnOvbDfgATuHbvIYc1BUNRdj3mC1FAdkXKjKyO5+BPgFyWC1gH4SRfiD7pLZhGj5WmCJiVIRYcbrDOhIZ247wKYgRwtJ9CQLclQCZaYvn4N5GY+lELstr3zlHn3zfZtvLx1ZTEbo5y52mF+Pyt+1eHbVkRIuT/hJj3Gw8hVrfDudL2sVp5kymj+HYi6YxcBEcw4HLZRFiRfJoaiJUvZuzaH+nshSM8d0qGxzeVHhsFbLDrcPtlBpAImHqxsu+QkwNlINLw8s+kMkqiTy7MX8RsItR9+sO4pQDo6/0POErnmmArD/o3uLY7sNMht1IpDZKo5dhOk5rTBih2BUyoYgDpoBpXXQhcud5gCAm/CgA/QYVIK4UgRXNtFhCNKZgX6lgXGjOdfgUQIFh6nooIBsWU26Vm+hysjRbaC9gCSntmuRX98+UFm9ZcvqCigxe+E8/4ddVBuv6QvUFyTAXFbZ2kY0H+UmASx/RkKQvZ5hEuaHSUF2kLRglADtwdu3brviomJ723W3jNx+1alepB8ZGZxhjzYZVp5EDp+0wNLWZllwEpMZTFY9AFzdw53AXcCVM0id4ZyWrGp9dJxDQKa5NXsGV7IY0KazqnW6SlnYGqhqA66Si6oOpXnA2tlOoJHNGmqm0iSZgdkpuTxeAbnbBusdlXXymCUzTCJhoozvp/mYg1c8MnNNIEHRNZGYtO+wglK38/fE+PuddPPcR994+41Hz63YTHtMNvrGrx/fJh4QlFbSdcPPr7ji5zfoB9neVfAF+N5Vo6+SH+OFei++N2zXZHlFXC+8zRlAb+PkqEE2REkBYyYqWAYpMHWZ5Oe1nTsX1f+TERDbFf2phkP13xI2099ycm6OqgqOQyjf5FogBH89UQA7Q0qBmB377QMLLrto3lr2q/3525/7+q19l955b338vi2eI/w3/c0QN0hjV+gpDtd+G/1DHiZ4WmB0PGYYHZdPZUs84VCJc3gYPwdINCEnyNj9wVJSwHhWC2gdEQYNuZfCcqZ03dXSSca7RozkHoDr6JsV8gMA7MlbC5feeU/V9MB3X9xlmmsq/+6tsmnMR66BVJGBmwMAZ5TaJbO5eWD/LeVWEsI4vDRjPhgk7mq5vWcByoxgppzqXMaMlHKiezkei2VKvBGOxEEpzwKaJceJsBetlnoXo89zFRouJUMY/aPVkoCRyRDzkNnRvMlVtTy8u0ppa6fWQd0uc7LlNPW1pGPmzjKxOvEuCVepAN+ZfyJsD1RLySX46SotA0rOzWorq+X+oYUoy06Ci2aEYGXyKv5A72xUfwsJ2V1ua5+J4c5SrAko7PHOpLZqXC6LswbQbxN2zzEbfIG+wuDQnHmU+D1ROZ5Hl0suH0WHOhOOBF4CCEUBVcI8qIfUK4MXsaMgAKK4y64WQFwSFKHwIofR9iYjxaJuo5oWGuMoPLuYVc789LBdGd2LH3gJla01GdsFQgPjigfwHeUpfwB/iV5UrMBWUXgbmbOC4ngzXoQCWrgFhO985ss3j4371PVkM7OAyqK3GUcXlCMllM3SY1R7baWBQ+ZlQNliy6JqizohmClWlDVom/hhC6zXJub1j1dRSJdcGNCQjP39pSaQ1jSkgTEANCOBPCmgmIorDXwq8JmvfeI+RbsytopUKsLbH62CLeHto/7KaadN+0nnNRnjbw/qe1LNq4VKl5cqMzDFFVw/3BKwBme0Uh+ch5p4ZsJ5VV+20NebSsYkAlbu6/wBsOpeC4XXhEP4BkPwLxYnqHs24Xcnh8LhEL7RuQ8SxfDr2n0DIL/ZndUcu7nmzdbtOzOL+tH774f7+wKU56aDIJFDDyoPApLB8Ut2P3jjrUU8kiUvIURWxySINNyHkzT2yOhhgRles8qY1muly4ilqlkmmNMWDj2akonOGAl3iGigNMrJBdDbQMeJysXnhK8UR91F/n2RPHfUD+xXpOTH2D1dK0twPw6gl3uTsAYblQp5ibwUUo6+qYTIAX2BuN0bDnsb1jy04VTQbDZw5QTCCBaShdqMFqGeWqFJ2bJgmWBBtlEUgDP5LDKniflGJOaaNVlx7XOmYsyTB8yFWjxM7KjigS0hTRAySSgME9QZWoiPqgsVUAWA3Y6+mW/jVw2fybss+rDFxc9N8h4LOWzx8Eneahnda8EBgPk6v1Lhf7VtGzkV17GPbvqSxeGw4FstfsbyBUJcgusGnriMZieAmGvPaN2gomVgIhFM/AAsWqrlFuqfbMkAdi2uUoou7aUcoNICw6AF+kudKUAp2pqI0AWjux32WmJxtAi1qFxK94Aw87j3WwPBzAymFNWyHaiPMi3CYu3gnTTpgUMXmtcY472+bF9vMoaK30C78DYqRrtEZ66wpqPSvnpW2mrbBVpScaQyMlIxDq8fHl5PgDp4FSpMpqYF+U7YUbwD7WAKwzUjJIIXDZ9Jdb08HdvnwCaOwYtxnz2nhatl3oaSnWjxTKm1poHmwZKdTaIqDIMSzSdTaQLrXByMHwdxEuJRPXlySftwq+d0cvtqV2eefC3W5g4bjfoNZ+iX+5ttHU4n2VROXzXX19f1pze6182dSzo8aYddeOuoe0aTLShJ5J/ID76gfw94Dv0/36M5DO0wKudx5QhCFq2yT0LHp6Oq9WSYpQscRkdJPATX4EIVhSUL02tAs44ckoFZ6Sgl0jBKPhiY9ihsNPdrHTLsaj3o/AcE8zQ5Ii2k8hjO9OJIhEX4JPFUjmakdMJywVJTQD/lzb7WFvLLrd9WozGrDQjd27nl8ZWVr2248fozH/78sov37t4g5dqEgWY1ZHdKC7UvFM4otJkkwZY7YcvCk+9ZXtl48qk3Fa9bvnojm5PCZVTnjtRGgdAQLYgAB0a8UTTVUhEQzIKnD8kPgKoOwUkEo09VKsuvND1jaVtkNBvI1/norFjAYLjRMmNRvzQvI5w0s9VDBNLfb4qnEjbb0X/qHTT2c/yx52s+ITPw/3au3MTstDJv8OFCYwOOt1GOdwHHW4AbklRAMs0WrU2YKbD2h6ifoeynQRx/EIM4fhrEaYKv+dma5KzifClZQKaWDNRma2li8QibrIlA/hTM/IIal3OSR85FYQdGopPIKrBaQQZTVFCWLl16/fXwOrKLP7Ar61LS0VilqG8uVmLRjFcGde+JJ46++YRwLi6voZRi5o8+my0Ws8Jq3qykQnTtiR77hng3yD7E9w4O1C3Al69S07QRXQvA7WToWg59eiRDoNPs401mggqOy49WEIgxKhJ4E+DPgbjWWmSQ20Eqt2cTQFKVQO4Jx0E9+gTDrshQ92bGUU8rrtz1jDLCT8dQH92CqPN31lGv5Qo0xlK5mvDBCCddAj7tfkgRl6EF9tF+fBci+I7rB2y/Tbf9NHq5nkYv94LKgksKjbZUPnbrb4FVnrTv+YTzE2Ed364cN9Q6Bg45PLapb57u6DTwJmseRtArujMYGAhlMAljKKP1VjEPo5ZrMUQmxog9+U+334hJsZHslcbxqEwYBBbuAuD5i8c29benO/rxeDGMGHafhJf8qWPl04/W8bbHkSJzPmETUTJNm1eAuSOra/gto7kF82n+zOk0f+ZkmltwMc0tKGYR4205jN9cBWLiRtQPyq7IjCzNNCj722aitXPT/yorZLqsj/8bLesBzo9/Qz/LhDn8idufgupHRz7NCBmP7a6NjxG01CDXwc3ilsDKiNZ6kma6pYHqSzNoYDKznK4gGIoHKUpjYJ9etE1I9jjvB48/jmYNzhyc5zhzYM534bZ+cHz+67Y61CgKwBxEOazbxGUfvfW3Cjv4Z0SbyKA08OM8wFflynOoH2tpRptzSJtXpejO6Cn8H3HDsLNHpalo5NPhJ0SK0Scqlb9Vjn/0FjrT+OT1S4tLa74hTXibenO6adYiTDG0+jxUvQarywtrp5mjuRhcSbTXnL7oapmYYgZWS1cL/35LV1fLqLulS7gFzHQPfyfd3wLvpMiSeIWGea4CZTfUZjcs9/UwLs2hmOBzDlXRBVIL/WA2RSgAEMn9miKXPG6quABkZZdHQddEk6x5+6cmzc0mhhTxyFF3TYsPusX1nkDA89Fed7D436RjCUm8e9R/8YrNK1Zs7hIOu4NB91EbvL/3jZsfIsP6m+Sw/hM8twLo9sVjH4rN4oucFzT0oRoGIQZ7C4Wd5X+gE9bEglVNCpDOLiKsIYRV4vzMhu4FSyobJl6qsafFVBJ5iZoXxi9e8/Nrr/vZNYsX/31/vyV27hlXds5+6YGLNj3wwKFd/B+3/fKm7a/+1/1X/NfcuebYpsv2LP38LnrmAWbP12NrCrd4PLLmZZE1X0NkzcOIqqJnTa6BiKEJA0b1Sl4PKEoYQZs2fpaTYxPDZss/0rTJ0TKz/tUjwlqA6bOcKPybwcn5QM/jAG2hEDaiRi+l+UKYqIU0n0r2zSYO8tn5l1x5ZVhZvHLd8tmJFdu/vPKK79243XHaaS7Jl7Y4ebP59ALZdeY3v/aVl89edPeWq6/87G0LNjxYHBCNZ75ww+qLg+cYfUvaFu/szV26a8xWfln8DNfMRWGtXMeVg0gNZxWjAThgKTpgLKqE1PBVS21IDRvGgENhNBs1n1xqiSFBTBgmVkIs1CHK+yKxeKLmegRuE1VpgqJTUBjrJQokZQYUM+Sdx8ilLd/Wf4DGIDncPlB55zH94GPvkP1fIw9doW8if738cuV0dLA/9o7R9G0wEG145fWV3zz2zjsXZclDl8M1/3P55ac0j8dy74e51MyluRNrmMG0iWW0VFUzs9ns0oyAZYZiaa+iI5ErxVzAgkqoFViwZA7CXEr0l0QjfCbHprZqlOLjuOTrqJBhoYUoZqLEHAZAxsDfeso9k5F5InzBBWeFQ+Qz+oOS/8R5a+f1M4xWRdbXMXowDwiRaLLXYybk52Q+GX6Nd6i5eZeM4/UE9QHEcf1vquFlZiPWWsNlPORP/WY0ui+FW9B3gRlVURgvMyC6zwf2PhuvUiTaILyOM1pmPkVSgFvX4Lyy/uhk5NaSJr7vc/rq+xhOaqmO0oLK1xGnnfrv+cId+kn3sdxslpOkcgu4shux8FHrEewbMyvS8R7ShCziZqJFOiWXFyahkco0H+YD2VWYj7xc4mw06kAUWCPMJA4fZpKHDzPmMivoBQWBm/oe9YJWvqf/Ct4r/Gmk7RV25BX9Nf3gKxXqRH1lzOck3AI09gCVWTTQmqPuPkZbgEcZS+RgkQsCf0wBqjD15LBuoxtZpuXqS8m/f7SfvK0vqec11mU9Svqygv5xuxOzsfz0LnIda64eiqrfZfxOtRvRzIEpN9MDtRv6x25KuM+N6SneWi0H5sFIGfR0Yb4L+/XP8b34m3yST47/SoMvbhlyIVCXFs3gVZQvK1xRuIWuly0cV5iUzDY5ua0yfeLurum1t9q9i+Iy+vtcYdwNxZyBjV/ahQt6w/eQzm11nKmvwtCIM/CNDAs0Ocz3jv5YXIYIY3UKeXvKGNEYBkj2XJ05xSwKjcDYz5BJcaw8HoPhGVdaUdXCO8Dr+XGTk3wDBwnuhxkGwtt1vqOwOhjfuWk1lrVa47vodPfqarwTvc+Ee7C4I+g0YhvVadw1nQYVGhQVyM6TdfMomWCmictGXz8ypoUTJ98LNPoWJwl/Fb9O83Mx7Tb1LX7Vn/WHycY/8+tGtT+TjbCFuLmO/UJcLV6F1kzCTApElRQ4SDbqD/+FH1TIqPYSvXT0ZR8hoyUm6wSOF58Rn6G+3Lk048FRxXI1hNo/NeMhUMt42IcZD9R/oWCKLOY7TM12yIGcQKUyrsSFPcQDctazZ4/+nn5Af++OCv1H0xzqB9/ds4espocnwOUEHWI8JwnhcjXAZWdwYV6QfQJcNswMkThYYkQn5ogY+yeDF81Hp4CFRRfTADWVVlkKU01f9Y85wRiFJILVay4UoyKCYVem3FwtqIVUISWlJHUyEGte3bnz1bvugveDO6fA0l4/A+8MJqEGkzwRJncDTJ4xmBzjMDmnwAScJaUmQ7OJeMnu5949fwIk7wEkt+jvkN3Pvns+i6OO06YPbLOLKSSFqjaL6gJRql73stEboHMtXNXCzCUL8A0CfGFcb6K9sN6k5f1msY2G/LhSalZtGLWorHVglnLZ5kyjot0rl4xkCg65LHrHhw2zaD6B1yg5RDU3LOZ70wIoFB5gx8kIVkZEp2TkDbxZdIgeweMzqQZnKuQnFYO7O9Yc75nf03ThbXdMZVY+yBttFskg8MTr8tlcRFRbhpKCpT27Pptb1uY3bh79S3EibTB6O1DnZoUuxm6auOOrYn6ROO7WLbmVOv/6UDOeimohilFOTDSfDqv3yAgLNk6F+04whooVON+YaxXkergLubIPJSJIw2gVk+q5TNnVFM/R4qmyI5Gh/v8sQHuoLIU70behVMvmSDv6NtCdrvhgBrYmZvSwTCjY09T+Eoe+9ZZ+jcjlSEcntTvkfA408HxOCfMqIOAgkhLPp0kqB6o4HO0rxPM52IWDcCqnvOTsWLBpcaVvyyb3j34UeGFD5QufC5/tv2xp5f7eH1QC5y+uLL3U/3NyuDK4YU3BXql4V928oHL+3ujLLzc9cP3iS/w/+cmMr1aWbFJ//CP/phMrk3O9PLDyLJyUMxdpyJmrST40/DBXiuZ6eYMTE+NoPsBxEuMash2Ol/K1+PbbL6n/P37q5r80XMVNzVWdjENwKg5NE3DwT8Ih8DE4AAbkeNBv2rnux3fpjx8/uy++c131Lv2JKTA31WD20SkgjhWGMskeYDDTwtB6jp3TS2GWfTWYHU3T5NipBFO7PDStqzc1Bephfmbxqqc+rG7c/NSHA1Pz7K4s8oXhD0c/GPjwqc0buZp+cy71UxhhlmCuHYZia9pNiTcAc3NUOaZZzFhIPLqXj5OXaSbzP0/5fi2/pP79MV8V1p+DlsS+T9NVu/QBfQ7pZjD8GObpEpinRtSTDNQLJNHcK7GKP1QSDQ0p1QjIj8lL5IB+iJU2j+7FekL8nc/AILxV/x1j/XfI+O/AMqEZ+2tF26CefIa0ASwd+uz679Rp8k9Ub8OKapjKCLpDMC68498fwqvO0v5uR+WWV5+5wEScDAu+df5nG+WNEb4p1/OyHJmSs6bjqQT+PPCSo+pNJHmX/vpN79xFkjfpm28iI7UDghmPwC78XoyLi3eJd9Hf48DQjcpg67JfiZEUXqT/iuy9iaTu0n91kwZH9M079F/xefyx1E79VzuwrobmUj5I9eo4t5JqbZGqFqf+7FCmnlFBGp1CZmb1BVyYVWmzi9E4k3lxkNVmXK5CMtCzf7LfgnjCBNV0jNehmo6iu55RyT7I2lli3NvnjYuzRL/yU69/Bkjw346fhw9+of4LbyjkJWl4H30Z5LhhjK5JroObwfXCKpPjyimU5j05DIyi5B7MaD20K0Mv7cowBPD39oDEtnrys1jEXc4pUZoTA2ANkmSGYL29E2YabOKkchIH8Sq0ktUTw/oPmmRTCGMC+AguKZfxfMw6lIqE/sPn9ijvR0OpIUuc5y8rYhZ4UYi53Yf+BTbv/qHBEXHzQoTZh0Vi8ZqeTs2QR+w+v23EnU6WTF4Lof0CDp89I/OPuKVvFm552da+rp/Z6Mf+JD5H64ay4/l9OdA2MPW11Eu5SckX0pjbN2woeHmHmObjUp+v0JcYxgSCVDLG4tSi9JrZJCgz05kLz/vyHW9/pmvJZy6/eet1p69xnutOzSuQmQs3bjqt3SeaJG9Ujn9laEi/e4Pv7u/mB288Z8fA4Cm57nB/+EX9xz/bfUrObPQ4CzfY18zdm5x91o0nZ71mQyiQuzISefnHOGcu42zifPHfuROBy4i2mHLUgqq2wEUVoCXwGlwA7DOrj6bcuL0qrIY+BmyYAKygy4QJ4iMW+viUT/Wlkqk0XwANJyw4RMmI2+Qyg3nhwpa5s2a2OSMO78q1sqHFZzE7BcHkCLT6++dvmjfHmXzs73xKapHTvXKNIWfvuGBJ2snbRBMhVlfQnZylSo7e2eRbc8Mzb+hWLInhofDc91Kr9haji7s83ohTNVmJaPQ2D827dN7TZM0lXac8bOCl6G2/ut/Ucv4lT6yxDTT1NrWpAZdoSS9fG0lfijXq3+OuF98Tc1yUm80t4uZxuDy1U/0Q00hPzGiDh0BfLC0GIhQGZfccizkQNLW35YdpfhdXMoMe+AInt6bzw3MXUaEPdDFmw4YWIIsxljakCmFDFiiTFlOs0CjfWzCqPrWASQlDQWPzwpVXbrlv5L4tV65c2GwMTj6wW5rXfdrJ19549eoNXSdaSSE0qz/co/2Plj7/1p4LL0ws83j59W2WtnUnn70ok1l09snr2jALdOK+5eyhM2d2tuVOH/iMgyxOLJgVWLIBy91PWbzuym3zLvSf3dqK0xRowQEtNM5HsxlO4L7GlZ11S3RuBrNAtb7gt4f+4z9+zSmdFs2Zdmi27xhKDvJXh2b/juZ07bM6bZ7OfS76HqDvQfreSt8T+F6Gs5E7I3fGjWCg9WuBfi3Yr7X2a4l+zdrPvWC12V2BYGsiXftH5ljgkMM54WA6rc0JEo7RGtOmcySOBC64kaw1As8mNO0DrigkYRB4HBBxjOAnDg0mvqi/8sXE6sevuDBl2f2LFxKb7qZEzajhWU4HaUv6ujOxGZ4M2diZmndT2h4MSolTz7tvnNzyXR+tuls574JrZjrb9Lf6drqfuJRRNLOueXVTcPSJe5zJbHK2fw5/w4x7++6e421rs/VuOud82hvhqyAc3eJToG+4MQc9Sd0aKQBZQksaVGhFbiL5+GVNCYMj0aSMbvfO9I5u/0/yInlRfwIDPvPnL4qIkagx8tGhIv/Po91FFGXYKaTeJ0KhcrcdZjUmjSI3d2S0BJWzPuyGU/bR7Eif39xZTvjq9amlTuB0XwKmeyiMNpk5DJu+BHXK53v7Cuh9oP6oMEFfQSohU59BhsQlI/ZYKMgGY7Loc5JN67etJ5ucPr+sP1gMes5840xPsKg/KPuJsd3b4yALyJrh9euH9Wf0v3f0eNu9dttf9b+e5sM2NCtWmF3KHN9pRPqrDVfjep63eVIHhgKsJmO5ptwabt1Y9D2PJWYsDwYzgMDQx8h7Yzb6p9xmvpCP9ovLQsouTJjcpYSKH/uPxp749+sXhpSjS+qp67Di/E1bzE8vGLaKz3IWzgW69AlUT/PTyKKHJt2YaGsJITtuoBFag+CDpd4q75Psblo/4QJLzYGDOESwzwN6SYHLwNSPkoLK9onAr/8LLnsPj+7VnyLCtTuf15/iH9957cN48C+VCr/+FfSgvowq27V37R+9/67r2IFGf5kbdElW/+sCYzI30cs0MTxG5HgsWc8UG31a/1kRs+gxGYzlzSM3D3Asx4qOfwK4uZs7myu34O+bwcSjJRpmzOFTspgD05FDs74TqJGmvtQkNsTAJhyCq+QmNDNYxXLHUga4XEAVFySPWy6FW4BcKibGsX5QihcECCjqw8ZULxYteB0GEOX1VkxgpxrlU1L5xEB7i2wFMxv2/anl533lO185b3nKb8TWTKSLX185cnnk9IDV6m2Ot3Wl/bLpSKVj9faLLl+Vy626/KLtq8lalsCLFX7Ye+i33DfFzwhvoNYkqOgoC/+OnE02/nb0H8ju36G77Hf8PKT1Qu518cciV6+LN5OF/Hx+7m/1h/U9Qmj0RX7e79AJx2rpZnFFwxbQ8U0wj9o41KlrThiJqtbogRElpqKzDQcuYbT6UQUVCl7oWJdfIZ2k60fkpl8efZN88ZfketzvrPAHSJP+B9qWCGvaNut/IE2ozgOMbhizJ2HMsgBtOYbjFchpXUB7l5ZkWcEYfBGryCYom0BFasXMRUxXbGbRC1CWSmozgNRNRyVZAN4BnQN9n+j5FBx8J6ErKh0h+hnH5RUvi8aSKbfB6QgINyYNTfKZOBn7fsCbwu6WUEdIPwhvWZpGo84YvT3SbRCe8rs9j8gKHD86W7T76OzNsvewVwlVOnxcQw0Y1m84GzPgRNTGNXuW4jJWjYgdV0g+V2P6qIJF0pVasethLFwVbmHFrFw939jwa/rbLhirsd920txBA/ttOYOM3GCf5UgUDIvxe0QJtlnSDzbc6agfy8rqUwsdDYSkgcd2UJkaZXWxtKsT9cxh/ybmlhPNVOMjOcYEOfjaK6+QDtLxyiv6IeRwlkRe41/4nwF7cgf8ZjOtKkJ71JKh7aDG08louCaKEieqjP8EfNIf1X/58ssNOWAaUJnVFSxmmeVakDqAQrQ0yUC5x1ul5VhNdd9dC7WCyi20kVoLNlLDyixzi1yb3pNTfpoIy9pVPRg0AmEYr8uko/72gZanDa1efo8nYXhav7vIEuzpkMEbOYX/nS/VrY62Uo8WXdd31/J0rSCtcmD11Hv7GKuakTWFSNMOPaWkEf2ePkpgAZh2NlHSoprvzYNZNkASciLu8TmAodHFn+JpL5ua4Iwlz8sGAqIjFvRViGgzV/hHR89IZniLzWkQ1nhD4kzhjyEFWRdbBWT9Wbv9CC8pvugpR3jBbnUajxx9tqK/a7OSZoWcpP9WWE29/M/Wco54bgnQ/nygfQpW2TxX7kS6Z6paIqOFcyhP1Ww5QXOpEzGshZuRwSpxrpTIAEZt3Sx+3zdACh6wCVJJGqxwgr4A5nPd98nHqA1nCKPJaYwtafLKW2Y7r13jNrq9Z3rhfc21ztlbZG9T0O1bPXrkL7NmuYPkCdvMhTOtMy4mZyqhZ8ii5du9EU9Q8SQ8NyzXv/UMYNwmmZvT7YpXav/XnqGhHiPypAJ60EPiQ6hj0dZS+JdCD3dBQid3SpVU5Y8r3uzevbv7zRV/2r//T/XtP+4jL9KPffT0Q12/WfHH/fv/uOI3XQ+xdblYq4GIcWlY82gsue0QxsmxKMXXBuzmrVcoEO8AwSgYWNcs2WUsx8XJg14izyY5RYoqQjyFAcvi0HWuI+nE+6GhlP7N5qFUtmmG4+x7vMVdRTCWXzpy6HPYhunDpcV+sr6ls9h10hZpV9dJbc2vfD+Y0O8gVx989bnfXK/fUWysA1tWg3MzV27G0UxQLy+Xw+J/WCklLHHG5haWsZg4DDOsmSKtv9DijHNZhS72BpAZlsm47C6b2rrQ7c3qc9vdWiesJGkU2x3Ue5STC3LvAEEuUD21STeWMpbhk4UWmHapaF6IS3GYXZ+EexHF2Oje68kIEEDfO5kAFHlyNZ2LsOYVDYp4CsX9BO4aDt2nrbQlSTvNyPYi2uUeWhffQ8s6506LezdLqO2mWbTdgyBRsCCuG5Dfb5ObvLOpIdjUCijHgQKy5u8veXuAMurgCdSrXJApEWCKJ2AStxBafhWtr2KEtkZQox66tNGk7WgHjzkvebB2UwZTpdjscJCLHFbZdonDegpJn7LpkpM37ZCanPpT0uOg9yduNjY5f+Ryu116gVhFsyCJIm+w3LdWf4Z27FrK2+WExfyW0bbZ4XU7rlk2skJ/xpd6pGkDWaO0hRVviBBeMAg2k8P+wpp3a3LsPPE5cS0X5mZyg0g7fz07FNbomVhPoc3KlmdSMTCzH2k3RJcPrD2gTQ9auljtATIOENrrwkYR2mC1NIyM04Llg7ZmsZ3SLtRKkyy0Flnj+kvCTKwUSXVR2vG9fWqUkQLLfQ1hvp65lBLisVQO5Xa0ICckLGqTHIYOgoplTj7vYiSU1XGJ3WV1kEskT/Qpk/6ks8l480UnW97AT5K4SH9y3T0WAzEAwcyileitwtsVft7IMnKNy6XYL7cZ3xLtKXn0A/vX2hSyptju1Z/ZQP7rvTXftDqtZgEDLES3IYXZXNuIeqrBAVYKxpoWceUCzrWZLLakHNIK2L+s3K4gedpnAXlycMCFuij270NfSzsGV9x9/f0lR4bmcoEAaSJhvh7zTiXymAKlyKmk0UmM2PSkMGwYxGqAPpxUPtUgS1GsF9tIQeft9kfaFP2ZFSPLrnEmHJt9p615wRdgkGeziNQG3Wzi1/M/1e83eloel8haRqJLN52i/+JkG7Ff6rOuvddtZzQSbIRU0IH2Q1eTcYf+OtgqlVrcgnAW4T2Dn/q9+rBjTo5l2hZoxVeOYU67Rbb3IWNQzLEDib1amomYo35gCQHmdjA+0RUAq4ixBZaN2UTAypIhkmAtITHu7ySCJ6rKBgc1QpN5eRBWk1TSSVB3J07fZnvSeQ1ZPrKCrPG2P2If/RD437L7PfLfG/SnvW3ZrCAZ/b5v3guIL27xXWonVsT24ktPvghnElkrPd7scOo7YMj113cYm50/9LndPlKxSi6TYHffy19eoT2CDFS2PsU5YJWZVdNPnFSy1vLJOOr0w6LektOGDli5n2bncazyu2Ty9I/VftfCBHwiKplBQTKctefX1z7SEB4jKdCWyL36pfoh/pRrf73nrD36u7WIp+eEl0iSdLxc10+fAphcsOLNrFlinioCY6jWsxcsLHWh5ME+S27M4ypbOLmfVaOjC0umEGEHSQpSAXQ1+AOIrmm8cQWsnLR+kEFDwWXQPKa//tIPXm6gD8IyPAZLPc/Fw6r+WP8MjE570HB1IIm8csmAGT4Wd8nONCTPRIgStD0FoUS6hoJUJ1KlUpkWpINolE2CaXkNpnHiAFisBLEBLHUCWO4aWB6aiwQEBNK5+8eHcRxEM208MQ2ItFSzMg2Mm9FspMq00ADnndyXudtqkIIBdVJGu4nBu5vCy2TrqQzehzDhi2Ojeqo8x+EweKLx1uFl66697fbPP4COAIv7BXusLTt0+oVbqeg9qUt2v+DLzhw+ccm6DXjBTfIcs4XznnrV7Zvv20WbcrnLV2+9djoUPUaf5PVJWXQHq2G+4DPCu+p1EJRKfAFmJPzHFsBG0AIxjNqXJrhd6CvAdWHSApo4nCkMC4VkAePjhbSQ6kvhlIcrU8aUA+Yp9oOV4EYOnP8FXxbevHDDND+Fsn81NRljxObzm7zrfcP9IVNasClxj5EYztvaEmkVHBmbY6FsHoqkXVmXSIztIm8KBFWPx2pyGNuajLY2h8MjignRYJH8PqPL1OJWzZb2+Gyb1dJSsFmN6dVOj9vZGRw2OYcd3tmC4CFCDxGEoGCRrW7JJRPj3PYp40o2xLY0mxcGrB7REjFlwqJ7qVdpahKNHouNvzzcOtxiJpLkshLeao2rfIa3mwRf0h0KhJrDLiMhJrMnYTYJixW10+Lo8AbMbo9gtqopJSK1C3bBILbGfTZBsLmNFiIYjcaU06pKsSsutyUki00W3T0pkZhszEfDw5p+K+fluEFSIED5PtWgFnwwJsQYyxAnvz664uy/u0sfvecj+99dt2P0aWen87K7O138uvN+0Hf6eXe+vf250xdmRp92uS7laM/Ds4FHn67lgjN/3CoOewv0VlHwG2jrvBlVXAuUKuqXM6u4FCaqNOaTP1Tq6R/vYVnOU4stjxYbdkLEOND/okKDYHMp2mBqoiF3vG2wPA/rNlYnXal8f9y4+9Z0m/qD6PzjDxTHezmgDYBVWqxGqxZGZR2SmS3NlThTzVjH5ckA+okkF4W3jy4RbtEfqYjLiljMrR8c6/dSty3QNk9wZ1OvDaFVrKEcagr+GFays4rPZEZzHtJitMugM4YEBNUEwKCNu+OsByEWg8VpMRh2HeSzWPrFlRwWmv5AXYJKY4fUsbIO6qmjrmjaCbZOO9I10F5pH0DfAhCO/qPGMBlpH2CEwhJOWnPOTbDlMRbqBQ2hno3nzmFkHSPpLMSK2QiE5h+hVxJ7oQgFDJxKN1XuqmCklX3wv6rtVTCMWsEXHBAi9OPog+wk/xa7hqv15twr7qV5Li1cOzcPJP8vav17YL0OZ7SlOS1Q1RZmsQy4n/Yg6M2W2yjN2k4wd9Zb7axoSAOAVb1WpB61dmJXjaSr1AHHhqvasKs0H7YWV/cVFs83dWo91NooVLXFYxkPK1EJxh4CFgdtoVEa7oBVpnsQ9J8CmA7Pm50eMTNAJXSY9eCyyawPzr6O7sFh3GxjyTdaXC5lBlA6+8l0HX18tQ538VgfdSHglgq2CE89ZWw/JbErkglWBQBbx2sCdElLOhJRfcvhFYn41JM6Wq4lZrbjsoOh05rIkZZIugXORUj5OM2Cbmfnf98VjaQj3470GLYTh8OHO5Z7fKHWXG61L4L34cix17gB8dvAOytBw8Ich1QVrTiQJn0ZbUkV+0JgrwaulMI8g9n9WkTeb3UGmzDTR1PcpWyOGhGwMJFcFhelvgLBGGsKo8YSAX6r9auXsJEkHK5dgs14wrDugKLZQvAbqF7GYxJ8pyk4I75l4eyZ0TntqTaZ3Bn3O5tO9ZrT82L6NmkBucbrUZuSTlfr6K97FxdONRucM1qTfi85vXdoU19APWuLSTrt6Ki0gDfMmym7zl+5YM2mU9sW6Rw59A8r+uc0u3o6OrvwV8/JrJP5WEy/SppHPutzqa0p/MW5s+PDc1pbFfy9Ql6Ud59z3ml/PcZJg+TYvP1nrLutNVrww48xP85Krk/8nrieawaNfB6Hjqg09d9IWaqXg/LASkg6mfKAaniIlYdrnfI+QXKyTByhF44ZmFcHyEL9UFihgH0U03wqLeKCDFatCgbuME/74TsptYwrX7l55JwL7trxUnzdvEUvny27Oq9YOHdWfk0i/NTQ8BzfGRtXX26bM2/47FmLZ225Ird44FzBdfPLN9308s3pUy9etPAfb1bVWTctPGFW/qyhVcmmtScM+0697PTLbMML1zcv2rjmqWdXncvw7D/2gXi1+A+cH2wPzuMFUGCsCW1+n5KwEz6Mt2TEVpGFFAEZ41Oxu3wvTR2Ace+fu3PuGWfNIU1z5+60SRce1K/777Pc6VBh7sG5Oz0XHiS34m5LKF5g1+l/mEs2ngnbc+Eb34avGPAr/3OWu3tmYS4Rz5i7U6ZfOtudzofiF3WegZfqf5jDZHul1i8QO6aEMP+dRlgD1LJ2U9vByLq8wOjAvptVX9COGVTcZGi7lyY3KJ5Gg489eqEgs1SOumVciMpRd60avzJ4/kNPfrk4i4VUimisfn9o7dDQ2qLwLSWbDofTWeXoIpDaf+EPHP0Vnhia0D/dP54NE8hgYzEU1QTjRqlkb6EvqxKfV0LlgYCcJpmf/gK0W2vc6XR0OEgT/WjV/3jwZ2Tbzw4StRV2nU79LSd+xPX/1A/+4qecQFKcG+zv34AOMcCdwN3DaZ0ZrY3WNQ5my50iSuHODpDC/XQBdFXLrn485pJrLhvbIVzvQM8gtGUlSOGy6MLCRjQ63aFBuuVCxwM6voJYZx9gTY1mYFYRj6GPTthI9Wv98jc4WyAxc/gEFjXTPP3o/waFUwZGz/eC9onZgaIaB4Egq1h1b8QcQSxy93jDAvCW7CAe2uCVpD5vWLekKT13RSa6fsfKYnLB6sFO4WFT35I5scFVhbby7uKXTmkL7HXJHd5mSRxa/Kcn168mpeXnOslKyRHI9K8vnH77PGnFStHTNfvCuScutetVh+TpGjxv+PNPWpevkNe1beLDoS6/YpTAnnebBkY73bfOWRRg8d/zhS+Kz3Ancjs5lJWZKqomcRo5jNJO1NZq2UMf/OFxIB0X05DQMO01354t+2mXQz92LJao30viWPW4k3krMCvEjw1u+aFFJyKtnPLz1tZEpm8m7jjcWg9QNdMHi1p2GBYpTi71sIat+RzSCuhI5Ui8lz45QzIq3rARUy59sC0Nk1wfzmEVe58laTZMatiA+SbFx/1ei1nIdG98/KYfPjh/VWviZG+7wWg3eU0q/8HLJkVpnxU/R4l8IbZsMNu+MtWh/iKbWqv6C0bFIttk8wxbK7++2FMIDqw9s219+erepc0hpavf2qRE3AlHm1jM7ggN9FkdJBa+L6AKc0UxaLPeIzqMdqtsKdy9iMobsLLFZ2v6TEu956eD8qG1igQqWcHa10xjjUTjspnHd57GTirk3tonjf7RUgoaBjm6TbgFo3p8TUYY6XMTsOPF47UeMMYcCGq2aaIJld5qiROBve00P55658ohGhUNqdjyDPsq4YjytEEGy6fDhwtgSp1dhS9aao95sdBKwlITtiB3gdoayGb3uV2KiXoPPCibsLtGPQ1PM8mwInAlr4nWQGp2WZNxcJlZHqV9pjHAwxofCTJrglQANZJ/pYKxo5Eirbo5t3guOryLBFv0ICFoo1c8y1oaHcaGRJXKBJo4aH1hjNvD8gRLkgU7DVG/JOBqovEykJwu6uhtpiLVN5UAEiDjVABZ4GUZCeBw0bhXKMKI4gHi7AtarCam5WWw0VYjASRGgFgLVhmIBqwyKDW74JwfPTywhI5To4a9MJkqDdRAGhTHSHLuODUYBfgD41Q5ug1LcSgPLqvxiBu4ZFO9Z2mm5u4BQlCmKNsdtG0hFZZqRpMxW3CfxyWb6ONcJPp4JA/NH8QOTFaKPX3WDXa92c/xgpF2h3BglatBpHO45tqgiAkY4JDR2qpxN/IyjBkb0zqDg5YOiAhvg6GDD4eocB+Hg0ShdyMmZTftqe3Gth5YJEYfxaNZ0Ye1z0NHx07xlCgOFoaDTFmY4uCZiINvMg4JCj1j0FQjDrTtcPHcRhyKFHj8o1yJSyTly5ptYwHORCxWczUErPXaEFdtqlLYnYfKktWDSxIwKbaZpJ1sfRYzvoMkZnBbTShaBSOrXqkTnPYBq79ySl2c0Dow2s4WkxYbiE5bdY+9/nfwWgFeJ4XXgY9CKlvommFxI7wW3yfAm1OEBpjH4K0wIGsNeI8P7liPR1Zv3jFes9s8tSRaHSuE5qYWYk+uG8NCxkfef+9RLF6ssFJGVrHI6hfZiXdOqJc5DrTXY2l1WGLo0ZwETXwqNCgyVBALtMSSKzV7cDM2Xan4ZAg93eT9RxAWrLB89L0JQFbIcn0fQvroe6z+shFS3XbkyHjs738Nb2wc3ujfAq/ahGW8YxBNgLd45AiD9v1HJkNbBESW//9O26iAsNbHeSKs5PARxgSICPDI7AbSbgZYKU8avLSuMMgNcmPLMXX9YMWAm3U3tqEzGZNZQJRK1ISqZ21osqwJLLceEyE8+THg8nWo2ePdKnW4yAjCg3BV9Ef0R/BRYBMKcKnO/hpHhEPiV4CCGI+O0FbvXlYh4g3SmhdUSIAUYLu18GgipZJStM9d6MuAEgZqFicZX7P4SHq3wWA2m+12Pug0m/wwP7/M8yaT2WUWX9T/c5nMSx59iVexmoiL3wJU50XynE22mJyGV/V/Xu+pz1tKIz9AM5srCzUambDuGkuKgjR3A0Sgd2waW9nkLQWFWvah5pK1ZtZVFIavkI9isSP1UGFmJ20QQemHY5nJs3pjcthROeOMx97BVYgKGCCc81uMVt8SJZ5/h8YCGBUb8v5DXCt3cg1OJ11AgwBYosEOszLPTRLVOzC/nvcHwi2RVtR2QReIYzQAK1ZM5nAsTo8GZepdGyukTkk1Lxsr6i2kMCcxQSsDajNnxbX1qumHtiwpPvYO+TPZeD85fL/+JBv+cxZf98U6M1674p3HzGTt/brtfv3hKfUrp9ZrbproQzg8jVUsrPIG20aA1RkY80jVH3T2gmi2OJxuD6tWVJvgCDFKNrtL5o5bh8PXmkccrxJHvWLPFVfsOX4hjhtPX9Egs9D36QI9L13r2S/XujTQhzgqtFDPBLoBjSe60WHsq/kQ6/PezNPW/bCiO6yi3+o66icvkpcwWxE7YWLjWKdFf0+IYKdhZJPRLVlumvt3Trr/33ZzliZonnD3LixE1+eRM8fvzh+gUanDH7014d43wL2xp2Ydd7YaG1jTSdDebFm8vUxvL+PtlSm4g+k54eY9/Mlf1hfu4m9tuPl39Z/yJ+/WFz4wOis79nwuxBt9tP4xzJUqxsUMrM+4j2Luo7f24a2DkzFXCykhKmP1aCMAGw9u3MwfOHL/wfvJTxqo/6/nvLrx6G/4v/8POKHbsw3PCRuHI30cODzZvwEUjyqpBVUWxkHZdvCcVwW83/+c20CL4sGNB8k7AN8XYVBwOPBZgcdov0EDZ8I6DpHaeGZa2WSsYkc5VjSPNT1moooP6gn9hyv5PaNnk4cF10c/IC79arKnKjw5OrOuxxQpXlhpuZzDVcIIg2ikg4jP03Bky0aZPixChD1Ttv5sP5A9Rip+nNQNREvlnEbZXTb7VOb9YeIEnzGg0opw1GVjSSR/SDkC3F4Je3eNzt+FuWDF4i7hbW+YCsCjz2IBvr45JFxQobw3TPvreWi+3RwO9UCA0EkhdILxUDY6J4AXri/IRtqBmCsZQfyVrSpr4NIAlAKSj4KUKGD5kzAOmP7u1u36bQjZguu2ko3X6YnfNEL4uv7e1hsAwBKcPPs6vVV4slKfJ0aDg8KqcnH6HMTWBmASDZ0TGFWkFBmjiaeh7LEGxgVP6of0F2oEKj755A31/+Og6B/SiyixPnqVnrzx6/g+oe+om9LuYg59AUA7B6WdA00XowtV6yCWG5dEU3aMfE6gMDcetKGLo9OFvIyuWVuWOvuC2ILEg6XjDlgYkcDskGUinfFhm5TMTPkWaNY6o/Nm3UbRY5HnSgONwV4ArJ6igoi2Ba5UuGlwOm0anKbDZgL8jcBrIVmzAwpY9FG22gKYbAAL5GQUagPFwvtmMo5CBah/KcWBBvj1g404XFqhY1PDAp+UWsehQnPfzJRTJtcGME0QzBLWn+2jVaJW609HRo7Q3OBkkXalGHXTH8Q40vnwe8/WbCfW8fomjEqUfMEcti8pqc30QZAlqzOHj4Is2Vw16kj19rhW6j5Db4OPrsCUSFYLWk8GZqRiUsE+UXC6avEet1eRWUdGVtIJ6kaJeIF+JuadxHRa+KPuBfqiOhHuDmBWP9Mjae/nkVozaLoJhtgr/Ldp9A7zbg+9QmN5Yz3qme83g3ktXir7ZtQeUYnOE9WKy9I+s0s1YV9njMuYqWZusVLnYA8Tj3LtqcrsTRrrV5HwYjXOeG949pTXYjZb+08bgtBGgFYL3W4N6u8GEvwB2vYaa1zq75t/pJ9Ae1z8YzGUj/qNBv1K2m9vdYtH/qxrQUu9FoblQOYwI4ZGHm05LVct81YH2rVtmbK/OYHV5Cl8BgJm7LJnaLblsMA9QhsWR/MIOX1uj4L9ZYU8TegD9qFBUlx2cDssoPbuJEDhpQFyOLCUjNBE3WwgoG9eGtBtgaX65vqRmbYkuVPfkrTNnEkMZsUhbPUFCD8TDutbyJ1jh49+Dg/X4pjMRvJzzVwE7OE0l+XK/pqW4EN9uuympTxuL7p7MhnW2MjtoiwVaKYanDzFGirkEtiLecxWj6pKAtBJRUk+obAsctBMD6JxNFK5EPSYdUX9jmK9eAErLFMX0mOoTLGrmeEyOr9yjn6oOGbWj1TOOadSHF346K2Pwri4OJf4VfFhLspx7rCghoXcbNKHFZ1AwGQqmSoME8wSdhIXaRm+9/wLfv7AdS0tj7qMnu94el1X371t+3lbZKPj845u9yPC7zvvuPvg+RfcOxQlj8gZx+ccorzlgm3b79oi93hf8hjlRxpy93F9y9T6J+EzWjM0R++ETGkufXJqE9qRGZhgbfK+ZHt2DiUapiEUSL53WMgi8yq1+ieageD1zSbDZIj0RVTFi92fQdtPi/GYQ3QSxUEu4X3J1ZtXJ32EkEscSthLm0J6f+gN7STDO+mGMVjc9vr20x//bHF2l9mcPejNOUgmK9ojAcXb1GyxZPWfO3JebHfHP6UExKgYU+71++9VYrAZUCqmwAk97Uq0rS1qtYzNX8z5DYzF2snEzrxRJRFNYc9WhXWnpy9ZpU/lOCZ843r6mA3WTb6y6wh9+jT+0zcXa76F+j3MtGNNay2a7s1RaWdpzO5iCwF7MshYY796C5vc2FYR0wpoBRD9KNZ2mNldT9fgDzCuouYlPieq1jMPeyVgVdiJNb+Ba8zm6WrwG8jMb4DP5pNdtLd/JN7WwboN0P1gJNnWzoo4J7XJw5CaB52EOdat35BDxyGoE9hfXtvGH8B6ytH52zTaGYkyPPaaArrVnmBGDuMVug3esRpjLxNi1MtdZI67/5dwCnw6nOiSwdiAfDxOtQcIHBejCnXs0acSjGEkTsCnCbS1+VOwaZ2KTaKGzT6v0hwaw2WfN9gc+5jRAQaG0SG1z+OOCnWiVJjpNREDCjmFn4qKCbD7YC5NhT04FfamcdhV/zjsiq/Wx2Ja2A2yp5tMC3FNyk4EVX9kFx7etWsqz6iUa04dh9RL4z/xLLZgTNBH+NRgb2uA3TuW3Y+1V9EqtiVvJfXnMdQwY8/3mRZ++mRpjDd3EhGXdVDipsEGabyjva8/uYN4+tp37EhOMy0w3nHyjrVrd5yMLbEmz4c4rWedPAodU0ehs2GOR1tTE+ZDLNn2t87xOI3hxD9uht9TxChB5WNnOPq5OeMEXFhVU4pbNgWbtqnYtNewecGrBJvDLbHEGD4veP3BpnCkNfnxGMWxllX9BHyK5+HEPg4yIzTXewwZ1Icn4BOiuWqd3O5xfMKZUqwdtKoWyn7UXEBuTFImTGWnk2ZhLBbI1hiQlQHuC6jNJlr3FcTniCE/xsb6uWPCVXtVa3fRBKwMRvnHBSJXamqhXk/NizUZ05NHhbGuxeOARFEascCQ0LQkOrd47j/ROVmZIv8qdKxxgaRCkoaKJveVCWEdBfPLhagHNEBDkzU6hCc9shExHvPOUVPKC/xrcXgE+iA/TZafNztFt9pEmSEYwooKu4vz1h6XpvRrPvc+o00mx2+fky9Eqe0QPZ7jLjSu5B3/yY10QWC+G1HcW8M1AjrBnjq20QxoBpik2JRpEECJSQhH4Hy2HKHlOJEwWJjs0fZaIIuVJ2oWn1kqjzthI16aPkcdldiEy4cPjd1ndrpFSpBYtEaQcO0Zyaq/Ba1OpYEojRlzY0QBnqAKET6TB1fH45AmgPMbdaLi8UnzZTRY2D+sxf3g2EPiS+IJXBDmyuU0m41qSZoDM1JMrIo71mBm4QRgFbESc/5gIaOIz1Hx+fEx0aWWZlBVPVHYsuLTClwRjIPgQ0z3cdYQxdshl10+5pIRqGAGycZqjGISzbxQvKqDEBapdly+8g0ycuPWJ5/cmu7qev7SL73Gzz2FzKIWN3l/1RXIB09fu/UZx8arf/lgwObYpN9fe9bjOG7o7w+z6EMY88tYY+IwwCwHDcxhRQExE0zBmggGS5IAKEzkq+S+M6+ZCAZzXlA4vqpfEnyoeM1UQHDNILW83EvAvuCAwSVQdKMkR7ApKMmhYUbOBLNM/+BJ/A9fws/K7u7u3dR7sFzfV69nvQZ+pyDuhjWH83h9KgCJSSky/KBca+JEcUjVMPApmPN2TX9GvHDJzC68S7pvyYXm7MB1G4L3nXnVo7zDvORC/kB+veLyLbkwrP+ku5tkwxcu8bdEzh869WbjhssfvUp0CfyF3P8DkKeJqAB42mNgZGBgYGRw1FsVMSWe3+YrgzzLBqAIw7lYoVoY/d/q/xzWu6wSQC4HAxNIFABKQAvLeNpjYGRgYJX43wImrf5dZr3LABRBAfMBiTsGS3jaY9zBoMGygYEBCafA2Ew9DAysEgiacRMQuzEwMNyE4sVAPguQ9oDQIDmo/hMsG/5/gpjz/zPjF7jZfEAsDlHzfwcEo9gNw7JAnAVVK47QwyAFpRmhNAvQjDlQPYwQPpjNgqYPxV9YMEgvE8LtcHFTJP9sBdKK2PX/nw01AyY2BcovxaIeZn4HlH0C1U5GHaidO4FsASDNjAPD/MmC5G8QPgPEGUh8JWg4wPj5QPcehuL5WMIFFDePgLQbkLYC0kKIMGLUQ/OzFxCLIunlgIonQv3PChVnRcIMLEcg9jCAwf8bDP4MlgwngOlHHSjGhAIR4AaYZEESEWdABSlgEwUgrP9zUCFI5/9P/z8B5SoBYR2ue3jaY2Bg0ILCNIYl+CCjAaMHYw3jIsZjjOcY/zGZMc1gOsP0jlmH2Yf5C0sRawobH5sSmwvbI3Yf9g3sLzimcBpwJnBO4eLicuHq4HrHHcY9ifsFjwPPJl453greNXw2fEl8PXz3+G8J+Al0CVwT5BNUE5wiJCKUIHRDWES4R4RLJEFkh6iK6ASxBLEb4l7iLeLPJMwkGiT2SGpJTpP8JeUhVSW1ReqK1CNpIWk9aR/pFukt0vekP8nwyETILJJ5I2sgu0+OR65D7pW8i/w8+X3yDxRYFDQUXBRyFPoUPihmKB5SclA6plyjvEZFSGWCyhNVIdU21VmqG1TfqEWotantUXumzqOeoX5Kw0AjRmODpp7mGa00rSfacdortN/pWOj06G7TvacXp9el90nfyEDAYJ2hkmGF4RkjJqM1xlHGXSYiJnNM/pkmmO4wEzALM1tnzmIeZb7M/I2Fg8USSw5LD8s2yyNWHFY+ViVWR6ylrJOsz9jo2YTZnLI1sp1m+8/OzG6V3R17OfsO+w8Ofg6LHAUcyxzvORU4PXMuc37iouXi59IDAEV6iBwAAAEAAADbAJsAEQAAAAAAAgABAAIAFgAAAQABAQAAAAB42q2SzU7CQBSFTwsaiUaNJKy7cOHGhn9BVsaF+E8kii4FoVQKbSxSSXwKn8GNGxcufQJ9D5/ChfHMMCJBFsbYZu58c+feM3duC2ABz9AgniiWaEPQwhHOl1wNWMMKbhXrmMe94hD28KQ4jBw+FE/hRssqnkZWe1Q8g5j2pjhCflc8i2V9UfEcOa04Sj5V/IKY/lXDK+L6XRAEpuX0vaZdczu+WXPb2IQLD31cwYaFJrow8MCRRBwJpEhV7hrYwTk6nHcZ3yOL+BZMejbg8DVGFHy5qnOuc+7RXjByizc/QwlFbPPUQxygzLgitRw0OGzqW8w5YryFa3rEKQlmxmUtBRzz9ArzChO1fiqtjmn9tgJjLO9E3sPnvit7MFpTSWoMVt/eJiO7qMn43jDDxBptAW2qtqgpYhr0ipOr7LiJjBw59j2J/B9vOflLTfYG8jWZ7fAre6zbVlX79Apq/1tMhVVWWbnwdoc92Vc9LXPXk96stBmsc6RpU+za8H/8BJBMiJoAeNpt1VXXlGUARuHZgGCB3d2tc7/z1tgo89nd3QKKgCgqdnd3d3dhd3fHgT/Cn6CfzObMObnXzHrnep6DPWs6YzoLXv/M7xSd/3v91ekwhrGdsZ2JnUmMYxHGM4FFWYzFWYIlmcgklmJplmHZzt8sx/KswIqsxMqswqqsxuqswZqsxdqsw7qsx/pswIZsxMZswqZsxuZswZZsRZdQ0KOkoqahpc/WbMO2bMf27MCOTGYndmYKA0bYhV3Zjd3Zgz3Zi73Zh33Zj/05gAM5iIM5hEM5jMM5giM5iqM5hmM5juM5gRM5iZOZyjSmcwqnMoPTmMksZnM6cziDM5nLWZzNOczjXM7jfC7gQi7iYi7hUi7jcq7gSq7iaq7hWq7jem7gRm7iZm7hVm7jdu7gTu7ibu7hXu7jfh7gQR7iYR7hUR7jcZ7gSZ7iaZ7hWZ7jeV7gRV7iZV7hVV7jdebzBm/yFm/zDu/yHu/zAR/yER/zCZ/yGZ/zBV/yFV/zDd/yHd/zAz/yEz/zC7/yG7/zB3+Onzpj3uxpmTB35vRutztluJO7/20x+oEbt3B7bulWbu02buv23cnDLUaGW42MG8ydM2vBm9pDGh9uugseGniJgZcYeImBlxh4+MDDBx4+8PCBhw+60YlOdKKT0tWLXvSiF71Cr9Ar9Aq9Qq/QK/QKvUKv0Ovp9fR6ej29nl5Pr6fX0+vp9fRKvVKv1Cv1Sr1Sr9Qr9Uq9Uq/Sq/QqvUqv0qv0Kr1Kr9Kr9Gq9WqfWqXVqnVqn1ql1ap1Gp/FejV6j1+g1eo1eo9foNXqtXqvX6rV6rV6r1+q1eq1eq9fX6+v19fp6fb2+Xl+vP/Ri97H72H2GP77RrdzaXfi91h3eI/Yf+4/9x/5j/7H/2H/sP/Yf+4/9x/5j/7H/2H/sP/Yf+4/9x/5j/7H/2H/sP/Yf+4/9x/5j/7H/2H/sP/Yf+4/9x/5j/7H72H3sPnYfu4/dx+5j97H72H3sPnYfu0+tZ/+x/9h/7D/2H/uP/cf+Y/+x/9h/7D/2H/uP/cf+Y/+x/9h/7D/2H/uP/cf+Y/+x/9h/7D/2H/uP/cf+Y/+x/yzsvq/THzqj/x7/AibTMyUAALgB/4WwAY0AS7AIUFixAQGOWbFGBitYIbAQWUuwFFJYIbCAWR2wBitcWFmwFCsAAAABUjdh/QAA\"}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/docs-assets/js/uglify.js",
    "content": "/** @license uglifyweb Copyright (c) 2011, The Dojo Foundation All Rights Reserved.\n * The parts that are unique to this repo (not much, just some wrapper code) are\n * released under the new BSD and MIT licenses.\n *\n * This file includes UglifyJS and some parts of es5-shim, both which have\n * their own licenses:\n *\n * https://github.com/mishoo/UglifyJS (BSD)\n * https://github.com/kriskowal/es5-shim (MIT)\n *\n * More info on the project: https://github.com/jrburke/uglifyweb\n */\n\n(function(){var a=Object.prototype.toString,b=\"a\"[0]!=\"a\",c=function(a){if(a==null)throw new TypeError;return b&&typeof a==\"string\"&&a?a.split(\"\"):Object(a)};Array.prototype.forEach||(Array.prototype.forEach=function(a){var b=c(this),d=arguments[1],e=0,f=b.length>>>0;while(e<f)e in b&&a.call(d,b[e],e,b),e++}),Array.prototype.reduce||(Array.prototype.reduce=function(a){var b=c(this),d=b.length>>>0;if(!d&&arguments.length==1)throw new TypeError;var e=0,f;if(arguments.length<2){do{if(e in b){f=b[e++];break}if(++e>=d)throw new TypeError}while(!0)}else f=arguments[1];for(;e<d;e++)e in b&&(f=a.call(void 0,f,b[e],e,b));return f});var d,e,f;(function(){function g(a,b){if(a&&a.charAt(0)===\".\"&&b){b=b.split(\"/\"),b=b.slice(0,b.length-1),a=b.concat(a.split(\"/\"));var c,d;for(c=0;d=a[c];c++)if(d===\".\")a.splice(c,1),c-=1;else if(d===\"..\")if(c!==1||a[2]!==\"..\"&&a[0]!==\"..\")c>0&&(a.splice(c-1,2),c-=2);else break;a=a.join(\"/\")}return a}function h(a,d){return function(){return c.apply(null,b.call(arguments,0).concat([a,d]))}}function i(a){return function(b){return g(b,a)}}function j(b){return function(c){a[b]=c}}function k(b,c){var d,e,f=b.indexOf(\"!\");return f!==-1?(d=g(b.slice(0,f),c),b=b.slice(f+1),e=a[d],e&&e.normalize?b=e.normalize(b,i(c)):b=g(b,c)):b=g(b,c),{f:d?d+\"!\"+b:b,n:b,p:e}}function l(b,c,d,e){var f=[],g,i,l,m,n,o;e||(e=b);if(typeof d==\"function\"){if(c)for(m=0;m<c.length;m++)o=k(c[m],e),l=o.f,l===\"require\"?f[m]=h(b):l===\"exports\"?(f[m]=a[b]={},g=!0):l===\"module\"?i=f[m]={id:b,uri:\"\",exports:a[b]}:l in a?f[m]=a[l]:o.p&&(o.p.load(o.n,h(e,!0),j(l),{}),f[m]=a[l]);n=d.apply(a[b],f),b&&(i&&i.exports!==undefined?a[b]=i.exports:g||(a[b]=n))}else b&&(a[b]=d)}var a={},b=[].slice,c;if(typeof f==\"function\")return;d=c=function(b,d,e,f){return typeof b==\"string\"?a[k(b,d).f]:(b.splice||(d.splice?(b=d,d=arguments[2]):b=[]),f?l(null,b,d,e):setTimeout(function(){l(null,b,d,e)},15),c)},c.config=function(){return c},e||(e=c),f=function(a,b,c){b.splice||(c=b,b=[]),l(a,b,c)},f.amd={}})(),f(\"almond\",function(){}),f(\"lib/parse-js\",[\"require\",\"exports\",\"module\"],function(a,b,c){function r(a){return q.letter.test(a)}function s(a){return a=a.charCodeAt(0),a>=48&&a<=57}function t(a){return s(a)||r(a)}function u(a){return q.non_spacing_mark.test(a)||q.space_combining_mark.test(a)}function v(a){return q.connector_punctuation.test(a)}function w(a){return a==\"$\"||a==\"_\"||r(a)}function x(a){return w(a)||u(a)||s(a)||v(a)||a==\"‌\"||a==\"‍\"}function y(a){if(i.test(a))return parseInt(a.substr(2),16);if(j.test(a))return parseInt(a.substr(1),8);if(k.test(a))return parseFloat(a)}function z(a,b,c,d){this.message=a,this.line=b,this.col=c,this.pos=d,this.stack=(new Error).stack}function A(a,b,c,d){throw new z(a,b,c,d)}function B(a,b,c){return a.type==b&&(c==null||a.value==c)}function D(a){function c(){return b.text.charAt(b.pos)}function e(a,c){var d=b.text.charAt(b.pos++);if(a&&!d)throw C;return d==\"\\n\"?(b.newline_before=b.newline_before||!c,++b.line,b.col=0):++b.col,d}function i(){return!b.peek()}function j(a,c){var d=b.text.indexOf(a,b.pos);if(c&&d==-1)throw C;return d}function k(){b.tokline=b.line,b.tokcol=b.col,b.tokpos=b.pos}function p(a,c,d){b.regex_allowed=a==\"operator\"&&!S(F,c)||a==\"keyword\"&&S(f,c)||a==\"punc\"&&S(n,c);var e={type:a,value:c,line:b.tokline,col:b.tokcol,pos:b.tokpos,nlb:b.newline_before};return d||(e.comments_before=b.comments_before,b.comments_before=[]),b.newline_before=!1,e}function q(){while(S(m,c()))e()}function r(a){var b=\"\",d=c(),f=0;while(d&&a(d,f++))b+=e(),d=c();return b}function u(a){A(a,b.tokline,b.tokcol,b.tokpos)}function v(a){var b=!1,c=!1,d=!1,e=a==\".\",f=r(function(f,g){return f==\"x\"||f==\"X\"?d?!1:d=!0:!!d||f!=\"E\"&&f!=\"e\"?f==\"-\"?c||g==0&&!a?!0:!1:f==\"+\"?c:(c=!1,f==\".\"?!e&&!d?e=!0:!1:t(f)):b?!1:b=c=!0});a&&(f=a+f);var g=y(f);if(!isNaN(g))return p(\"num\",g);u(\"Invalid syntax: \"+f)}function z(a){var b=e(!0,a);switch(b){case\"n\":return\"\\n\";case\"r\":return\"\\r\";case\"t\":return\"\\t\";case\"b\":return\"\\b\";case\"v\":return\"\u000b\";case\"f\":return\"\\f\";case\"0\":return\"\\0\";case\"x\":return String.fromCharCode(B(2));case\"u\":return String.fromCharCode(B(4));case\"\\n\":return\"\";default:return b}}function B(a){var b=0;for(;a>0;--a){var c=parseInt(e(!0),16);isNaN(c)&&u(\"Invalid hex-character pattern in string\"),b=b<<4|c}return b}function D(){return N(\"Unterminated string constant\",function(){var a=e(),b=\"\";for(;;){var c=e(!0);if(c==\"\\\\\"){var d=0,f=null;c=r(function(a){if(a>=\"0\"&&a<=\"7\"){if(!f)return f=a,++d;if(f<=\"3\"&&d<=2)return++d;if(f>=\"4\"&&d<=1)return++d}return!1}),d>0?c=String.fromCharCode(parseInt(c,8)):c=z(!0)}else if(c==a)break;b+=c}return p(\"string\",b)})}function E(){e();var a=j(\"\\n\"),c;return a==-1?(c=b.text.substr(b.pos),b.pos=b.text.length):(c=b.text.substring(b.pos,a),b.pos=a),p(\"comment1\",c,!0)}function G(){return e(),N(\"Unterminated multiline comment\",function(){var a=j(\"*/\",!0),c=b.text.substring(b.pos,a),d=p(\"comment2\",c,!0);return b.pos=a+2,b.line+=c.split(\"\\n\").length-1,b.newline_before=c.indexOf(\"\\n\")>=0,/^@cc_on/i.test(c)&&(T(\"WARNING: at line \"+b.line),T('*** Found \"conditional comment\": '+c),T(\"*** UglifyJS DISCARDS ALL COMMENTS.  This means your code might no longer work properly in Internet Explorer.\")),d})}function H(){var a=!1,b=\"\",d;while((d=c())!=null)if(!a)if(d==\"\\\\\")a=!0,e();else if(x(d))b+=e();else break;else d!=\"u\"&&u(\"Expecting UnicodeEscapeSequence -- uXXXX\"),d=z(),x(d)||u(\"Unicode char: \"+d.charCodeAt(0)+\" is not valid in identifier\"),b+=d,a=!1;return b}function I(a){return N(\"Unterminated regular expression\",function(){var b=!1,c,d=!1;while(c=e(!0))if(b)a+=\"\\\\\"+c,b=!1;else if(c==\"[\")d=!0,a+=c;else if(c==\"]\"&&d)d=!1,a+=c;else{if(c==\"/\"&&!d)break;c==\"\\\\\"?b=!0:a+=c}var f=H();return p(\"regexp\",[a,f])})}function J(a){function b(a){if(!c())return a;var d=a+c();return S(l,d)?(e(),b(d)):a}return p(\"operator\",b(a||e()))}function K(){e();var a=b.regex_allowed;switch(c()){case\"/\":return b.comments_before.push(E()),b.regex_allowed=a,O();case\"*\":return b.comments_before.push(G()),b.regex_allowed=a,O()}return b.regex_allowed?I(\"\"):J(\"/\")}function L(){return e(),s(c())?v(\".\"):p(\"punc\",\".\")}function M(){var a=H();return S(d,a)?S(l,a)?p(\"operator\",a):S(g,a)?p(\"atom\",a):p(\"keyword\",a):p(\"name\",a)}function N(a,b){try{return b()}catch(c){if(c===C)u(a);else throw c}}function O(a){if(a!=null)return I(a);q(),k();var b=c();if(!b)return p(\"eof\");if(s(b))return v();if(b=='\"'||b==\"'\")return D();if(S(o,b))return p(\"punc\",e());if(b==\".\")return L();if(b==\"/\")return K();if(S(h,b))return J();if(b==\"\\\\\"||w(b))return M();u(\"Unexpected character '\"+b+\"'\")}var b={text:a.replace(/\\r\\n?|[\\n\\u2028\\u2029]/g,\"\\n\").replace(/^\\uFEFF/,\"\"),pos:0,tokpos:0,line:0,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[]};return O.context=function(a){return a&&(b=a),b},O}function K(a,b,c){this.name=a,this.start=b,this.end=c}function L(a,b,c){function e(a,b){return B(d.token,a,b)}function f(){return d.peeked||(d.peeked=d.input())}function g(){return d.prev=d.token,d.peeked?(d.token=d.peeked,d.peeked=null):d.token=d.input(),d.token}function h(){return d.prev}function i(a,b,c,e){var f=d.input.context();A(a,b!=null?b:f.tokline,c!=null?c:f.tokcol,e!=null?e:f.tokpos)}function j(a,b){i(b,a.line,a.col)}function k(a){a==null&&(a=d.token),j(a,\"Unexpected token: \"+a.type+\" (\"+a.value+\")\")}function l(a,b){if(e(a,b))return g();j(d.token,\"Unexpected token \"+d.token.type+\", expected \"+a)}function m(a){return l(\"punc\",a)}function n(){return!b&&(d.token.nlb||e(\"eof\")||e(\"punc\",\"}\"))}function o(){e(\"punc\",\";\")?g():n()||k()}function p(){return P(arguments)}function q(){m(\"(\");var a=bk();return m(\")\"),a}function r(a,b,c){return a instanceof K?a:new K(a,b,c)}function s(a){return c?function(){var b=d.token,c=a.apply(this,arguments);return c[0]=r(c[0],b,h()),c}:a}function u(a){d.labels.push(a);var c=d.token,e=t();return b&&!S(I,e[0])&&k(c),d.labels.pop(),p(\"label\",a,e)}function v(){return p(\"stat\",N(bk,o))}function w(a){var b;return n()||(b=e(\"name\")?d.token.value:null),b!=null?(g(),R(b,d.labels)||i(\"Label \"+b+\" without matching loop or statement\")):d.in_loop==0&&i(a+\" not inside a loop or switch\"),o(),p(a,b)}function x(){m(\"(\");var a=null;if(!e(\"punc\",\";\")){a=e(\"keyword\",\"var\")?(g(),V(!0)):bk(!0,!0);if(e(\"operator\",\"in\"))return z(a)}return y(a)}function y(a){m(\";\");var b=e(\"punc\",\";\")?null:bk();m(\";\");var c=e(\"punc\",\")\")?null:bk();return m(\")\"),p(\"for\",a,b,c,bl(t))}function z(a){var b=a[0]==\"var\"?p(\"name\",a[1][0]):a;g();var c=bk();return m(\")\"),p(\"for-in\",a,b,c,bl(t))}function L(){var a=q(),b=t(),c;return e(\"keyword\",\"else\")&&(g(),c=t()),p(\"if\",a,b,c)}function O(){m(\"{\");var a=[];while(!e(\"punc\",\"}\"))e(\"eof\")&&k(),a.push(t());return g(),a}function T(){var a=O(),b,c;if(e(\"keyword\",\"catch\")){g(),m(\"(\"),e(\"name\")||i(\"Name expected\");var f=d.token.value;g(),m(\")\"),b=[f,O()]}return e(\"keyword\",\"finally\")&&(g(),c=O()),!b&&!c&&i(\"Missing catch/finally blocks\"),p(\"try\",a,b,c)}function U(a){var b=[];for(;;){e(\"name\")||k();var c=d.token.value;g(),e(\"operator\",\"=\")?(g(),b.push([c,bk(!1,a)])):b.push([c]);if(!e(\"punc\",\",\"))break;g()}return b}function V(a){return p(\"var\",U(a))}function W(){return p(\"const\",U())}function X(){var a=Y(!1),b;return e(\"punc\",\"(\")?(g(),b=Z(\")\")):b=[],bc(p(\"new\",a,b),!0)}function Z(a,b,c){var d=!0,f=[];while(!e(\"punc\",a)){d?d=!1:m(\",\");if(b&&e(\"punc\",a))break;e(\"punc\",\",\")&&c?f.push([\"atom\",\"undefined\"]):f.push(bk(!1))}return g(),f}function $(){return p(\"array\",Z(\"]\",!b,!0))}function _(){var a=!0,c=[];while(!e(\"punc\",\"}\")){a?a=!1:m(\",\");if(!b&&e(\"punc\",\"}\"))break;var f=d.token.type,h=ba();f!=\"name\"||h!=\"get\"&&h!=\"set\"||!!e(\"punc\",\":\")?(m(\":\"),c.push([h,bk(!1)])):c.push([bb(),C(!1),h])}return g(),p(\"object\",c)}function ba(){switch(d.token.type){case\"num\":case\"string\":return N(d.token.value,g)}return bb()}function bb(){switch(d.token.type){case\"name\":case\"operator\":case\"keyword\":case\"atom\":return N(d.token.value,g);default:k()}}function bc(a,b){return e(\"punc\",\".\")?(g(),bc(p(\"dot\",a,bb()),b)):e(\"punc\",\"[\")?(g(),bc(p(\"sub\",a,N(bk,M(m,\"]\"))),b)):b&&e(\"punc\",\"(\")?(g(),bc(p(\"call\",a,Z(\")\")),!0)):a}function bd(a){if(e(\"operator\")&&S(E,d.token.value))return be(\"unary-prefix\",N(d.token.value,g),bd(a));var b=Y(a);while(e(\"operator\")&&S(F,d.token.value)&&!d.token.nlb)b=be(\"unary-postfix\",d.token.value,b),g();return b}function be(a,b,c){return(b==\"++\"||b==\"--\")&&!bi(c)&&i(\"Invalid use of \"+b+\" operator\"),p(a,b,c)}function bf(a,b,c){var f=e(\"operator\")?d.token.value:null;f&&f==\"in\"&&c&&(f=null);var h=f!=null?H[f]:null;if(h!=null&&h>b){g();var i=bf(bd(!0),h,c);return bf(p(\"binary\",f,a,i),b,c)}return a}function bg(a){return bf(bd(!0),0,a)}function bh(a){var b=bg(a);if(e(\"operator\",\"?\")){g();var c=bk(!1);return m(\":\"),p(\"conditional\",b,c,bk(!1,a))}return b}function bi(a){if(!b)return!0;switch(a[0]+\"\"){case\"dot\":case\"sub\":case\"new\":case\"call\":return!0;case\"name\":return a[1]!=\"this\"}}function bj(a){var b=bh(a),c=d.token.value;if(e(\"operator\")&&S(G,c)){if(bi(b))return g(),p(\"assign\",G[c],b,bj(a));i(\"Invalid assignment\")}return b}function bl(a){try{return++d.in_loop,a()}finally{--d.in_loop}}var d={input:typeof a==\"string\"?D(a,!0):a,token:null,prev:null,peeked:null,in_function:0,in_loop:0,labels:[]};d.token=g();var t=s(function(){if(e(\"operator\",\"/\")||e(\"operator\",\"/=\"))d.peeked=null,d.token=d.input(d.token.value.substr(1));switch(d.token.type){case\"num\":case\"string\":case\"regexp\":case\"operator\":case\"atom\":return v();case\"name\":return B(f(),\"punc\",\":\")?u(N(d.token.value,g,g)):v();case\"punc\":switch(d.token.value){case\"{\":return p(\"block\",O());case\"[\":case\"(\":return v();case\";\":return g(),p(\"block\");default:k()};case\"keyword\":switch(N(d.token.value,g)){case\"break\":return w(\"break\");case\"continue\":return w(\"continue\");case\"debugger\":return o(),p(\"debugger\");case\"do\":return function(a){return l(\"keyword\",\"while\"),p(\"do\",N(q,o),a)}(bl(t));case\"for\":return x();case\"function\":return C(!0);case\"if\":return L();case\"return\":return d.in_function==0&&i(\"'return' outside of function\"),p(\"return\",e(\"punc\",\";\")?(g(),null):n()?null:N(bk,o));case\"switch\":return p(\"switch\",q(),Q());case\"throw\":return d.token.nlb&&i(\"Illegal newline after 'throw'\"),p(\"throw\",N(bk,o));case\"try\":return T();case\"var\":return N(V,o);case\"const\":return N(W,o);case\"while\":return p(\"while\",q(),bl(t));case\"with\":return p(\"with\",q(),t());default:k()}}}),C=s(function(a){var b=e(\"name\")?N(d.token.value,g):null;return a&&!b&&k(),m(\"(\"),p(a?\"defun\":\"function\",b,function(a,b){while(!e(\"punc\",\")\"))a?a=!1:m(\",\"),e(\"name\")||k(),b.push(d.token.value),g();return g(),b}(!0,[]),function(){++d.in_function;var a=d.in_loop;d.in_loop=0;var b=O();return--d.in_function,d.in_loop=a,b}())}),Q=M(bl,function(){m(\"{\");var a=[],b=null;while(!e(\"punc\",\"}\"))e(\"eof\")&&k(),e(\"keyword\",\"case\")?(g(),b=[],a.push([bk(),b]),m(\":\")):e(\"keyword\",\"default\")?(g(),m(\":\"),b=[],a.push([null,b])):(b||k(),b.push(t()));return g(),a}),Y=s(function(a){if(e(\"operator\",\"new\"))return g(),X();if(e(\"punc\")){switch(d.token.value){case\"(\":return g(),bc(N(bk,M(m,\")\")),a);case\"[\":return g(),bc($(),a);case\"{\":return g(),bc(_(),a)}k()}if(e(\"keyword\",\"function\"))return g(),bc(C(!1),a);if(S(J,d.token.type)){var b=d.token.type==\"regexp\"?p(\"regexp\",d.token.value[0],d.token.value[1]):p(d.token.type,d.token.value);return bc(N(b,g),a)}k()}),bk=s(function(a,b){arguments.length==0&&(a=!0);var c=bj(b);return a&&e(\"punc\",\",\")?(g(),p(\"seq\",c,bk(!0,b))):c});return p(\"toplevel\",function(a){while(!e(\"eof\"))a.push(t());return a}([]))}function M(a){var b=P(arguments,1);return function(){return a.apply(this,b.concat(P(arguments)))}}function N(a){a instanceof Function&&(a=a());for(var b=1,c=arguments.length;--c>0;++b)arguments[b]();return a}function O(a){var b={};for(var c=0;c<a.length;++c)b[a[c]]=!0;return b}function P(a,b){return Array.prototype.slice.call(a,b||0)}function Q(a){return a.split(\"\")}function R(a,b){for(var c=b.length;--c>=0;)if(b[c]===a)return!0;return!1}function S(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var d=O([\"break\",\"case\",\"catch\",\"const\",\"continue\",\"default\",\"delete\",\"do\",\"else\",\"finally\",\"for\",\"function\",\"if\",\"in\",\"instanceof\",\"new\",\"return\",\"switch\",\"throw\",\"try\",\"typeof\",\"var\",\"void\",\"while\",\"with\"]),e=O([\"abstract\",\"boolean\",\"byte\",\"char\",\"class\",\"debugger\",\"double\",\"enum\",\"export\",\"extends\",\"final\",\"float\",\"goto\",\"implements\",\"import\",\"int\",\"interface\",\"long\",\"native\",\"package\",\"private\",\"protected\",\"public\",\"short\",\"static\",\"super\",\"synchronized\",\"throws\",\"transient\",\"volatile\"]),f=O([\"return\",\"new\",\"delete\",\"throw\",\"else\",\"case\"]),g=O([\"false\",\"null\",\"true\",\"undefined\"]),h=O(Q(\"+-*&%=<>!?|~^\")),i=/^0x[0-9a-f]+$/i,j=/^0[0-7]+$/,k=/^\\d*\\.?\\d*(?:e[+-]?\\d*(?:\\d\\.?|\\.?\\d)\\d*)?$/i,l=O([\"in\",\"instanceof\",\"typeof\",\"new\",\"void\",\"delete\",\"++\",\"--\",\"+\",\"-\",\"!\",\"~\",\"&\",\"|\",\"^\",\"*\",\"/\",\"%\",\">>\",\"<<\",\">>>\",\"<\",\">\",\"<=\",\">=\",\"==\",\"===\",\"!=\",\"!==\",\"?\",\"=\",\"+=\",\"-=\",\"/=\",\"*=\",\"%=\",\">>=\",\"<<=\",\">>>=\",\"|=\",\"^=\",\"&=\",\"&&\",\"||\"]),m=O(Q(\"  \\n\\r\\t\\f\u000b​᠎             　\")),n=O(Q(\"[{}(,.;:\")),o=O(Q(\"[]{}(),;:\")),p=O(Q(\"gmsiy\")),q={letter:new RegExp(\"[\\\\u0041-\\\\u005A\\\\u0061-\\\\u007A\\\\u00AA\\\\u00B5\\\\u00BA\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02C1\\\\u02C6-\\\\u02D1\\\\u02E0-\\\\u02E4\\\\u02EC\\\\u02EE\\\\u0370-\\\\u0374\\\\u0376\\\\u0377\\\\u037A-\\\\u037D\\\\u0386\\\\u0388-\\\\u038A\\\\u038C\\\\u038E-\\\\u03A1\\\\u03A3-\\\\u03F5\\\\u03F7-\\\\u0481\\\\u048A-\\\\u0523\\\\u0531-\\\\u0556\\\\u0559\\\\u0561-\\\\u0587\\\\u05D0-\\\\u05EA\\\\u05F0-\\\\u05F2\\\\u0621-\\\\u064A\\\\u066E\\\\u066F\\\\u0671-\\\\u06D3\\\\u06D5\\\\u06E5\\\\u06E6\\\\u06EE\\\\u06EF\\\\u06FA-\\\\u06FC\\\\u06FF\\\\u0710\\\\u0712-\\\\u072F\\\\u074D-\\\\u07A5\\\\u07B1\\\\u07CA-\\\\u07EA\\\\u07F4\\\\u07F5\\\\u07FA\\\\u0904-\\\\u0939\\\\u093D\\\\u0950\\\\u0958-\\\\u0961\\\\u0971\\\\u0972\\\\u097B-\\\\u097F\\\\u0985-\\\\u098C\\\\u098F\\\\u0990\\\\u0993-\\\\u09A8\\\\u09AA-\\\\u09B0\\\\u09B2\\\\u09B6-\\\\u09B9\\\\u09BD\\\\u09CE\\\\u09DC\\\\u09DD\\\\u09DF-\\\\u09E1\\\\u09F0\\\\u09F1\\\\u0A05-\\\\u0A0A\\\\u0A0F\\\\u0A10\\\\u0A13-\\\\u0A28\\\\u0A2A-\\\\u0A30\\\\u0A32\\\\u0A33\\\\u0A35\\\\u0A36\\\\u0A38\\\\u0A39\\\\u0A59-\\\\u0A5C\\\\u0A5E\\\\u0A72-\\\\u0A74\\\\u0A85-\\\\u0A8D\\\\u0A8F-\\\\u0A91\\\\u0A93-\\\\u0AA8\\\\u0AAA-\\\\u0AB0\\\\u0AB2\\\\u0AB3\\\\u0AB5-\\\\u0AB9\\\\u0ABD\\\\u0AD0\\\\u0AE0\\\\u0AE1\\\\u0B05-\\\\u0B0C\\\\u0B0F\\\\u0B10\\\\u0B13-\\\\u0B28\\\\u0B2A-\\\\u0B30\\\\u0B32\\\\u0B33\\\\u0B35-\\\\u0B39\\\\u0B3D\\\\u0B5C\\\\u0B5D\\\\u0B5F-\\\\u0B61\\\\u0B71\\\\u0B83\\\\u0B85-\\\\u0B8A\\\\u0B8E-\\\\u0B90\\\\u0B92-\\\\u0B95\\\\u0B99\\\\u0B9A\\\\u0B9C\\\\u0B9E\\\\u0B9F\\\\u0BA3\\\\u0BA4\\\\u0BA8-\\\\u0BAA\\\\u0BAE-\\\\u0BB9\\\\u0BD0\\\\u0C05-\\\\u0C0C\\\\u0C0E-\\\\u0C10\\\\u0C12-\\\\u0C28\\\\u0C2A-\\\\u0C33\\\\u0C35-\\\\u0C39\\\\u0C3D\\\\u0C58\\\\u0C59\\\\u0C60\\\\u0C61\\\\u0C85-\\\\u0C8C\\\\u0C8E-\\\\u0C90\\\\u0C92-\\\\u0CA8\\\\u0CAA-\\\\u0CB3\\\\u0CB5-\\\\u0CB9\\\\u0CBD\\\\u0CDE\\\\u0CE0\\\\u0CE1\\\\u0D05-\\\\u0D0C\\\\u0D0E-\\\\u0D10\\\\u0D12-\\\\u0D28\\\\u0D2A-\\\\u0D39\\\\u0D3D\\\\u0D60\\\\u0D61\\\\u0D7A-\\\\u0D7F\\\\u0D85-\\\\u0D96\\\\u0D9A-\\\\u0DB1\\\\u0DB3-\\\\u0DBB\\\\u0DBD\\\\u0DC0-\\\\u0DC6\\\\u0E01-\\\\u0E30\\\\u0E32\\\\u0E33\\\\u0E40-\\\\u0E46\\\\u0E81\\\\u0E82\\\\u0E84\\\\u0E87\\\\u0E88\\\\u0E8A\\\\u0E8D\\\\u0E94-\\\\u0E97\\\\u0E99-\\\\u0E9F\\\\u0EA1-\\\\u0EA3\\\\u0EA5\\\\u0EA7\\\\u0EAA\\\\u0EAB\\\\u0EAD-\\\\u0EB0\\\\u0EB2\\\\u0EB3\\\\u0EBD\\\\u0EC0-\\\\u0EC4\\\\u0EC6\\\\u0EDC\\\\u0EDD\\\\u0F00\\\\u0F40-\\\\u0F47\\\\u0F49-\\\\u0F6C\\\\u0F88-\\\\u0F8B\\\\u1000-\\\\u102A\\\\u103F\\\\u1050-\\\\u1055\\\\u105A-\\\\u105D\\\\u1061\\\\u1065\\\\u1066\\\\u106E-\\\\u1070\\\\u1075-\\\\u1081\\\\u108E\\\\u10A0-\\\\u10C5\\\\u10D0-\\\\u10FA\\\\u10FC\\\\u1100-\\\\u1159\\\\u115F-\\\\u11A2\\\\u11A8-\\\\u11F9\\\\u1200-\\\\u1248\\\\u124A-\\\\u124D\\\\u1250-\\\\u1256\\\\u1258\\\\u125A-\\\\u125D\\\\u1260-\\\\u1288\\\\u128A-\\\\u128D\\\\u1290-\\\\u12B0\\\\u12B2-\\\\u12B5\\\\u12B8-\\\\u12BE\\\\u12C0\\\\u12C2-\\\\u12C5\\\\u12C8-\\\\u12D6\\\\u12D8-\\\\u1310\\\\u1312-\\\\u1315\\\\u1318-\\\\u135A\\\\u1380-\\\\u138F\\\\u13A0-\\\\u13F4\\\\u1401-\\\\u166C\\\\u166F-\\\\u1676\\\\u1681-\\\\u169A\\\\u16A0-\\\\u16EA\\\\u1700-\\\\u170C\\\\u170E-\\\\u1711\\\\u1720-\\\\u1731\\\\u1740-\\\\u1751\\\\u1760-\\\\u176C\\\\u176E-\\\\u1770\\\\u1780-\\\\u17B3\\\\u17D7\\\\u17DC\\\\u1820-\\\\u1877\\\\u1880-\\\\u18A8\\\\u18AA\\\\u1900-\\\\u191C\\\\u1950-\\\\u196D\\\\u1970-\\\\u1974\\\\u1980-\\\\u19A9\\\\u19C1-\\\\u19C7\\\\u1A00-\\\\u1A16\\\\u1B05-\\\\u1B33\\\\u1B45-\\\\u1B4B\\\\u1B83-\\\\u1BA0\\\\u1BAE\\\\u1BAF\\\\u1C00-\\\\u1C23\\\\u1C4D-\\\\u1C4F\\\\u1C5A-\\\\u1C7D\\\\u1D00-\\\\u1DBF\\\\u1E00-\\\\u1F15\\\\u1F18-\\\\u1F1D\\\\u1F20-\\\\u1F45\\\\u1F48-\\\\u1F4D\\\\u1F50-\\\\u1F57\\\\u1F59\\\\u1F5B\\\\u1F5D\\\\u1F5F-\\\\u1F7D\\\\u1F80-\\\\u1FB4\\\\u1FB6-\\\\u1FBC\\\\u1FBE\\\\u1FC2-\\\\u1FC4\\\\u1FC6-\\\\u1FCC\\\\u1FD0-\\\\u1FD3\\\\u1FD6-\\\\u1FDB\\\\u1FE0-\\\\u1FEC\\\\u1FF2-\\\\u1FF4\\\\u1FF6-\\\\u1FFC\\\\u2071\\\\u207F\\\\u2090-\\\\u2094\\\\u2102\\\\u2107\\\\u210A-\\\\u2113\\\\u2115\\\\u2119-\\\\u211D\\\\u2124\\\\u2126\\\\u2128\\\\u212A-\\\\u212D\\\\u212F-\\\\u2139\\\\u213C-\\\\u213F\\\\u2145-\\\\u2149\\\\u214E\\\\u2183\\\\u2184\\\\u2C00-\\\\u2C2E\\\\u2C30-\\\\u2C5E\\\\u2C60-\\\\u2C6F\\\\u2C71-\\\\u2C7D\\\\u2C80-\\\\u2CE4\\\\u2D00-\\\\u2D25\\\\u2D30-\\\\u2D65\\\\u2D6F\\\\u2D80-\\\\u2D96\\\\u2DA0-\\\\u2DA6\\\\u2DA8-\\\\u2DAE\\\\u2DB0-\\\\u2DB6\\\\u2DB8-\\\\u2DBE\\\\u2DC0-\\\\u2DC6\\\\u2DC8-\\\\u2DCE\\\\u2DD0-\\\\u2DD6\\\\u2DD8-\\\\u2DDE\\\\u2E2F\\\\u3005\\\\u3006\\\\u3031-\\\\u3035\\\\u303B\\\\u303C\\\\u3041-\\\\u3096\\\\u309D-\\\\u309F\\\\u30A1-\\\\u30FA\\\\u30FC-\\\\u30FF\\\\u3105-\\\\u312D\\\\u3131-\\\\u318E\\\\u31A0-\\\\u31B7\\\\u31F0-\\\\u31FF\\\\u3400\\\\u4DB5\\\\u4E00\\\\u9FC3\\\\uA000-\\\\uA48C\\\\uA500-\\\\uA60C\\\\uA610-\\\\uA61F\\\\uA62A\\\\uA62B\\\\uA640-\\\\uA65F\\\\uA662-\\\\uA66E\\\\uA67F-\\\\uA697\\\\uA717-\\\\uA71F\\\\uA722-\\\\uA788\\\\uA78B\\\\uA78C\\\\uA7FB-\\\\uA801\\\\uA803-\\\\uA805\\\\uA807-\\\\uA80A\\\\uA80C-\\\\uA822\\\\uA840-\\\\uA873\\\\uA882-\\\\uA8B3\\\\uA90A-\\\\uA925\\\\uA930-\\\\uA946\\\\uAA00-\\\\uAA28\\\\uAA40-\\\\uAA42\\\\uAA44-\\\\uAA4B\\\\uAC00\\\\uD7A3\\\\uF900-\\\\uFA2D\\\\uFA30-\\\\uFA6A\\\\uFA70-\\\\uFAD9\\\\uFB00-\\\\uFB06\\\\uFB13-\\\\uFB17\\\\uFB1D\\\\uFB1F-\\\\uFB28\\\\uFB2A-\\\\uFB36\\\\uFB38-\\\\uFB3C\\\\uFB3E\\\\uFB40\\\\uFB41\\\\uFB43\\\\uFB44\\\\uFB46-\\\\uFBB1\\\\uFBD3-\\\\uFD3D\\\\uFD50-\\\\uFD8F\\\\uFD92-\\\\uFDC7\\\\uFDF0-\\\\uFDFB\\\\uFE70-\\\\uFE74\\\\uFE76-\\\\uFEFC\\\\uFF21-\\\\uFF3A\\\\uFF41-\\\\uFF5A\\\\uFF66-\\\\uFFBE\\\\uFFC2-\\\\uFFC7\\\\uFFCA-\\\\uFFCF\\\\uFFD2-\\\\uFFD7\\\\uFFDA-\\\\uFFDC]\"),non_spacing_mark:new RegExp(\"[\\\\u0300-\\\\u036F\\\\u0483-\\\\u0487\\\\u0591-\\\\u05BD\\\\u05BF\\\\u05C1\\\\u05C2\\\\u05C4\\\\u05C5\\\\u05C7\\\\u0610-\\\\u061A\\\\u064B-\\\\u065E\\\\u0670\\\\u06D6-\\\\u06DC\\\\u06DF-\\\\u06E4\\\\u06E7\\\\u06E8\\\\u06EA-\\\\u06ED\\\\u0711\\\\u0730-\\\\u074A\\\\u07A6-\\\\u07B0\\\\u07EB-\\\\u07F3\\\\u0816-\\\\u0819\\\\u081B-\\\\u0823\\\\u0825-\\\\u0827\\\\u0829-\\\\u082D\\\\u0900-\\\\u0902\\\\u093C\\\\u0941-\\\\u0948\\\\u094D\\\\u0951-\\\\u0955\\\\u0962\\\\u0963\\\\u0981\\\\u09BC\\\\u09C1-\\\\u09C4\\\\u09CD\\\\u09E2\\\\u09E3\\\\u0A01\\\\u0A02\\\\u0A3C\\\\u0A41\\\\u0A42\\\\u0A47\\\\u0A48\\\\u0A4B-\\\\u0A4D\\\\u0A51\\\\u0A70\\\\u0A71\\\\u0A75\\\\u0A81\\\\u0A82\\\\u0ABC\\\\u0AC1-\\\\u0AC5\\\\u0AC7\\\\u0AC8\\\\u0ACD\\\\u0AE2\\\\u0AE3\\\\u0B01\\\\u0B3C\\\\u0B3F\\\\u0B41-\\\\u0B44\\\\u0B4D\\\\u0B56\\\\u0B62\\\\u0B63\\\\u0B82\\\\u0BC0\\\\u0BCD\\\\u0C3E-\\\\u0C40\\\\u0C46-\\\\u0C48\\\\u0C4A-\\\\u0C4D\\\\u0C55\\\\u0C56\\\\u0C62\\\\u0C63\\\\u0CBC\\\\u0CBF\\\\u0CC6\\\\u0CCC\\\\u0CCD\\\\u0CE2\\\\u0CE3\\\\u0D41-\\\\u0D44\\\\u0D4D\\\\u0D62\\\\u0D63\\\\u0DCA\\\\u0DD2-\\\\u0DD4\\\\u0DD6\\\\u0E31\\\\u0E34-\\\\u0E3A\\\\u0E47-\\\\u0E4E\\\\u0EB1\\\\u0EB4-\\\\u0EB9\\\\u0EBB\\\\u0EBC\\\\u0EC8-\\\\u0ECD\\\\u0F18\\\\u0F19\\\\u0F35\\\\u0F37\\\\u0F39\\\\u0F71-\\\\u0F7E\\\\u0F80-\\\\u0F84\\\\u0F86\\\\u0F87\\\\u0F90-\\\\u0F97\\\\u0F99-\\\\u0FBC\\\\u0FC6\\\\u102D-\\\\u1030\\\\u1032-\\\\u1037\\\\u1039\\\\u103A\\\\u103D\\\\u103E\\\\u1058\\\\u1059\\\\u105E-\\\\u1060\\\\u1071-\\\\u1074\\\\u1082\\\\u1085\\\\u1086\\\\u108D\\\\u109D\\\\u135F\\\\u1712-\\\\u1714\\\\u1732-\\\\u1734\\\\u1752\\\\u1753\\\\u1772\\\\u1773\\\\u17B7-\\\\u17BD\\\\u17C6\\\\u17C9-\\\\u17D3\\\\u17DD\\\\u180B-\\\\u180D\\\\u18A9\\\\u1920-\\\\u1922\\\\u1927\\\\u1928\\\\u1932\\\\u1939-\\\\u193B\\\\u1A17\\\\u1A18\\\\u1A56\\\\u1A58-\\\\u1A5E\\\\u1A60\\\\u1A62\\\\u1A65-\\\\u1A6C\\\\u1A73-\\\\u1A7C\\\\u1A7F\\\\u1B00-\\\\u1B03\\\\u1B34\\\\u1B36-\\\\u1B3A\\\\u1B3C\\\\u1B42\\\\u1B6B-\\\\u1B73\\\\u1B80\\\\u1B81\\\\u1BA2-\\\\u1BA5\\\\u1BA8\\\\u1BA9\\\\u1C2C-\\\\u1C33\\\\u1C36\\\\u1C37\\\\u1CD0-\\\\u1CD2\\\\u1CD4-\\\\u1CE0\\\\u1CE2-\\\\u1CE8\\\\u1CED\\\\u1DC0-\\\\u1DE6\\\\u1DFD-\\\\u1DFF\\\\u20D0-\\\\u20DC\\\\u20E1\\\\u20E5-\\\\u20F0\\\\u2CEF-\\\\u2CF1\\\\u2DE0-\\\\u2DFF\\\\u302A-\\\\u302F\\\\u3099\\\\u309A\\\\uA66F\\\\uA67C\\\\uA67D\\\\uA6F0\\\\uA6F1\\\\uA802\\\\uA806\\\\uA80B\\\\uA825\\\\uA826\\\\uA8C4\\\\uA8E0-\\\\uA8F1\\\\uA926-\\\\uA92D\\\\uA947-\\\\uA951\\\\uA980-\\\\uA982\\\\uA9B3\\\\uA9B6-\\\\uA9B9\\\\uA9BC\\\\uAA29-\\\\uAA2E\\\\uAA31\\\\uAA32\\\\uAA35\\\\uAA36\\\\uAA43\\\\uAA4C\\\\uAAB0\\\\uAAB2-\\\\uAAB4\\\\uAAB7\\\\uAAB8\\\\uAABE\\\\uAABF\\\\uAAC1\\\\uABE5\\\\uABE8\\\\uABED\\\\uFB1E\\\\uFE00-\\\\uFE0F\\\\uFE20-\\\\uFE26]\"),space_combining_mark:new RegExp(\"[\\\\u0903\\\\u093E-\\\\u0940\\\\u0949-\\\\u094C\\\\u094E\\\\u0982\\\\u0983\\\\u09BE-\\\\u09C0\\\\u09C7\\\\u09C8\\\\u09CB\\\\u09CC\\\\u09D7\\\\u0A03\\\\u0A3E-\\\\u0A40\\\\u0A83\\\\u0ABE-\\\\u0AC0\\\\u0AC9\\\\u0ACB\\\\u0ACC\\\\u0B02\\\\u0B03\\\\u0B3E\\\\u0B40\\\\u0B47\\\\u0B48\\\\u0B4B\\\\u0B4C\\\\u0B57\\\\u0BBE\\\\u0BBF\\\\u0BC1\\\\u0BC2\\\\u0BC6-\\\\u0BC8\\\\u0BCA-\\\\u0BCC\\\\u0BD7\\\\u0C01-\\\\u0C03\\\\u0C41-\\\\u0C44\\\\u0C82\\\\u0C83\\\\u0CBE\\\\u0CC0-\\\\u0CC4\\\\u0CC7\\\\u0CC8\\\\u0CCA\\\\u0CCB\\\\u0CD5\\\\u0CD6\\\\u0D02\\\\u0D03\\\\u0D3E-\\\\u0D40\\\\u0D46-\\\\u0D48\\\\u0D4A-\\\\u0D4C\\\\u0D57\\\\u0D82\\\\u0D83\\\\u0DCF-\\\\u0DD1\\\\u0DD8-\\\\u0DDF\\\\u0DF2\\\\u0DF3\\\\u0F3E\\\\u0F3F\\\\u0F7F\\\\u102B\\\\u102C\\\\u1031\\\\u1038\\\\u103B\\\\u103C\\\\u1056\\\\u1057\\\\u1062-\\\\u1064\\\\u1067-\\\\u106D\\\\u1083\\\\u1084\\\\u1087-\\\\u108C\\\\u108F\\\\u109A-\\\\u109C\\\\u17B6\\\\u17BE-\\\\u17C5\\\\u17C7\\\\u17C8\\\\u1923-\\\\u1926\\\\u1929-\\\\u192B\\\\u1930\\\\u1931\\\\u1933-\\\\u1938\\\\u19B0-\\\\u19C0\\\\u19C8\\\\u19C9\\\\u1A19-\\\\u1A1B\\\\u1A55\\\\u1A57\\\\u1A61\\\\u1A63\\\\u1A64\\\\u1A6D-\\\\u1A72\\\\u1B04\\\\u1B35\\\\u1B3B\\\\u1B3D-\\\\u1B41\\\\u1B43\\\\u1B44\\\\u1B82\\\\u1BA1\\\\u1BA6\\\\u1BA7\\\\u1BAA\\\\u1C24-\\\\u1C2B\\\\u1C34\\\\u1C35\\\\u1CE1\\\\u1CF2\\\\uA823\\\\uA824\\\\uA827\\\\uA880\\\\uA881\\\\uA8B4-\\\\uA8C3\\\\uA952\\\\uA953\\\\uA983\\\\uA9B4\\\\uA9B5\\\\uA9BA\\\\uA9BB\\\\uA9BD-\\\\uA9C0\\\\uAA2F\\\\uAA30\\\\uAA33\\\\uAA34\\\\uAA4D\\\\uAA7B\\\\uABE3\\\\uABE4\\\\uABE6\\\\uABE7\\\\uABE9\\\\uABEA\\\\uABEC]\"),connector_punctuation:new RegExp(\"[\\\\u005F\\\\u203F\\\\u2040\\\\u2054\\\\uFE33\\\\uFE34\\\\uFE4D-\\\\uFE4F\\\\uFF3F]\")};z.prototype.toString=function(){return this.message+\" (line: \"+this.line+\", col: \"+this.col+\", pos: \"+this.pos+\")\"+\"\\n\\n\"+this.stack};var C={},E=O([\"typeof\",\"void\",\"delete\",\"--\",\"++\",\"!\",\"~\",\"-\",\"+\"]),F=O([\"--\",\"++\"]),G=function(a,b,c){while(c<a.length)b[a[c]]=a[c].substr(0,a[c].length-1),c++;return b}([\"+=\",\"-=\",\"/=\",\"*=\",\"%=\",\">>=\",\"<<=\",\">>>=\",\"|=\",\"^=\",\"&=\"],{\"=\":!0},0),H=function(a,b){for(var c=0,d=1;c<a.length;++c,++d){var e=a[c];for(var f=0;f<e.length;++f)b[e[f]]=d}return b}([[\"||\"],[\"&&\"],[\"|\"],[\"^\"],[\"&\"],[\"==\",\"===\",\"!=\",\"!==\"],[\"<\",\">\",\"<=\",\">=\",\"in\",\"instanceof\"],[\">>\",\"<<\",\">>>\"],[\"+\",\"-\"],[\"*\",\"/\",\"%\"]],{}),I=O([\"for\",\"do\",\"while\",\"switch\"]),J=O([\"atom\",\"num\",\"string\",\"regexp\",\"name\"]);K.prototype.toString=function(){return this.name};var T=function(){};b.tokenizer=D,b.parse=L,b.slice=P,b.curry=M,b.member=R,b.array_to_hash=O,b.PRECEDENCE=H,b.KEYWORDS_ATOM=g,b.RESERVED_WORDS=e,b.KEYWORDS=d,b.ATOMIC_START_TOKEN=J,b.OPERATORS=l,b.is_alphanumeric_char=t,b.set_logger=function(a){T=a}}),f(\"lib/process\",[\"require\",\"exports\",\"module\",\"./parse-js\"],function(a,b,c){function i(){function a(a){return[this[0],K(a,function(a){var b=[a[0]];return a.length>1&&(b[1]=g(a[1])),b})]}function b(a){var b=[this[0]];return a!=null&&b.push(K(a,g)),b}function g(a){if(a==null)return null;try{f.push(a);var b=a[0],e=d[b];if(e){var g=e.apply(a,a.slice(1));if(g!=null)return g}return e=c[b],e.apply(a,a.slice(1))}finally{f.pop()}}function h(a){if(a==null)return null;try{return f.push(a),c[a[0]].apply(a,a.slice(1))}finally{f.pop()}}function i(a,b){var c={},e;for(e in a)J(a,e)&&(c[e]=d[e],d[e]=a[e]);var f=b();for(e in c)J(c,e)&&(c[e]?d[e]=c[e]:delete d[e]);return f}var c={string:function(a){return[this[0],a]},num:function(a){return[this[0],a]},name:function(a){return[this[0],a]},toplevel:function(a){return[this[0],K(a,g)]},block:b,splice:b,\"var\":a,\"const\":a,\"try\":function(a,b,c){return[this[0],K(a,g),b!=null?[b[0],K(b[1],g)]:null,c!=null?K(c,g):null]},\"throw\":function(a){return[this[0],g(a)]},\"new\":function(a,b){return[this[0],g(a),K(b,g)]},\"switch\":function(a,b){return[this[0],g(a),K(b,function(a){return[a[0]?g(a[0]):null,K(a[1],g)]})]},\"break\":function(a){return[this[0],a]},\"continue\":function(a){return[this[0],a]},conditional:function(a,b,c){return[this[0],g(a),g(b),g(c)]},assign:function(a,b,c){return[this[0],a,g(b),g(c)]},dot:function(a){return[this[0],g(a)].concat(e(arguments,1))},call:function(a,b){return[this[0],g(a),K(b,g)]},\"function\":function(a,b,c){return[this[0],a,b.slice(),K(c,g)]},defun:function(a,b,c){return[this[0],a,b.slice(),K(c,g)]},\"if\":function(a,b,c){return[this[0],g(a),g(b),g(c)]},\"for\":function(a,b,c,d){return[this[0],g(a),g(b),g(c),g(d)]},\"for-in\":function(a,b,c,d){return[this[0],g(a),g(b),g(c),g(d)]},\"while\":function(a,b){return[this[0],g(a),g(b)]},\"do\":function(a,b){return[this[0],g(a),g(b)]},\"return\":function(a){return[this[0],g(a)]},binary:function(a,b,c){return[this[0],a,g(b),g(c)]},\"unary-prefix\":function(a,b){return[this[0],a,g(b)]},\"unary-postfix\":function(a,b){return[this[0],a,g(b)]},sub:function(a,b){return[this[0],g(a),g(b)]},object:function(a){return[this[0],K(a,function(a){return a.length==2?[a[0],g(a[1])]:[a[0],g(a[1]),a[2]]})]},regexp:function(a,b){return[this[0],a,b]},array:function(a){return[this[0],K(a,g)]},stat:function(a){return[this[0],g(a)]},seq:function(){return[this[0]].concat(K(e(arguments),g))},label:function(a,b){return[this[0],a,g(b)]},\"with\":function(a,b){return[this[0],g(a),g(b)]},atom:function(a){return[this[0],a]}},d={},f=[];return{walk:g,dive:h,with_walkers:i,parent:function(){return f[f.length-2]},stack:function(){return f}}}function j(a){this.names={},this.mangled={},this.rev_mangled={},this.cname=-1,this.refs={},this.uses_with=!1,this.uses_eval=!1,this.parent=a,this.children=[],a?(this.level=a.level+1,a.children.push(this)):this.level=0}function l(a){function f(a){b=new j(b);var c=b.body=a();return c.scope=b,b=b.parent,c}function g(a,c){return b.define(a,c)}function h(a){b.refs[a]=!0}function k(a,b,c){var e=this[0]==\"defun\";return[this[0],e?g(a,\"defun\"):a,b,f(function(){return e||g(a,\"lambda\"),K(b,function(a){g(a,\"arg\")}),K(c,d)})]}function l(a){return function(b){K(b,function(b){g(b[0],a),b[1]&&h(b[0])})}}var b=null,c=i(),d=c.walk,e=[];return f(function(){function i(a,b){for(b=a.children.length;--b>=0;)i(a.children[b]);for(b in a.refs)if(J(a.refs,b))for(var c=a.has(b),d=a;d;d=d.parent){d.refs[b]=c;if(d===c)break}}var f=c.with_walkers({\"function\":k,defun:k,label:function(a,b){g(a,\"label\")},\"break\":function(a){a&&h(a)},\"continue\":function(a){a&&h(a)},\"with\":function(a,c){for(var d=b;d;d=d.parent)d.uses_with=!0},\"var\":l(\"var\"),\"const\":l(\"const\"),\"try\":function(a,b,c){if(b!=null)return[this[0],K(a,d),[g(b[0],\"catch\"),K(b[1],d)],c!=null?K(c,d):null]},name:function(a){a==\"eval\"&&e.push(b),h(a)}},function(){return d(a)});return K(e,function(a){if(!a.has(\"eval\"))while(a)a.uses_eval=!0,a=a.parent}),i(b),f})}function m(a,b){function g(a,c){return!b.toplevel&&!e.parent?a:b.except&&f(a,b.except)?a:e.get_mangled(a,c)}function h(a){if(b.defines)return!e.has(a)&&J(b.defines,a)?b.defines[a]:null}function j(a,b,c){var f=this[0]==\"defun\",h;return a&&(f?a=g(a):(h={},!e.uses_eval&&!e.uses_with?a=h[a]=e.next_mangled():h[a]=a)),c=k(c.scope,function(){return b=K(b,function(a){return g(a)}),K(c,d)},h),[this[0],a,b,c]}function k(a,b,c){var d=e;e=a;if(c)for(var f in c)J(c,f)&&a.set_mangle(f,c[f]);for(var f in a.names)J(a.names,f)&&g(f,!0);var h=b();return h.scope=a,e=d,h}function m(a){return[this[0],K(a,function(a){return[g(a[0]),d(a[1])]})]}var c=i(),d=c.walk,e;return b=b||{},c.with_walkers({\"function\":j,defun:function(){var a=j.apply(this,arguments);switch(c.parent()[0]){case\"toplevel\":case\"function\":case\"defun\":return K.at_top(a)}return a},label:function(a,b){return[this[0],g(a),d(b)]},\"break\":function(a){if(a)return[this[0],g(a)]},\"continue\":function(a){if(a)return[this[0],g(a)]},\"var\":m,\"const\":m,name:function(a){return h(a)||[this[0],g(a)]},\"try\":function(a,b,c){return[this[0],K(a,d),b!=null?[g(b[0]),K(b[1],d)]:null,c!=null?K(c,d):null]},toplevel:function(a){var b=this;return k(b.scope,function(){return[b[0],K(a,d)]})}},function(){return d(l(a))})}function o(a,b){return E(a).length>E(b[0]==\"stat\"?b[1]:b).length?b:a}function p(a){return a[0]==\"block\"&&a[1]&&a[1].length>0?a[1][a[1].length-1]:a}function q(a){if(a)switch(p(a)[0]){case\"return\":case\"break\":case\"continue\":case\"throw\":return!0}}function r(a){return a[0]==\"unary-prefix\"&&f(a[1],[\"!\",\"delete\"])||a[0]==\"binary\"&&f(a[1],[\"in\",\"instanceof\",\"==\",\"!=\",\"===\",\"!==\",\"<\",\"<=\",\">=\",\">\"])||a[0]==\"binary\"&&f(a[1],[\"&&\",\"||\"])&&r(a[2])&&r(a[3])||a[0]==\"conditional\"&&r(a[2])&&r(a[3])||a[0]==\"assign\"&&a[1]===!0&&r(a[3])||a[0]==\"seq\"&&r(a[a.length-1])}function s(a){return!a||a[0]==\"block\"&&(!a[1]||a[1].length==0)}function t(a){return a[0]==\"string\"||a[0]==\"unary-prefix\"&&a[1]==\"typeof\"||a[0]==\"binary\"&&a[1]==\"+\"&&(t(a[2])||t(a[3]))}function v(a){s(a)||n(\"Dropping unreachable code: \"+E(a,!0))}function w(a){function d(a){a=K(a,c);for(var b=0;b<a.length;++b){var e=a[b];if(e[0]!=\"if\")continue;if(e[3]&&c(e[3]))continue;var f=c(e[2]);if(!q(f))continue;var g=c(e[1]),h=a.slice(b+1),i=h.length==1?h[0]:[\"block\",h],j=a.slice(0,b).concat([[e[0],g,f,i]]);return d(j)}return a}function e(a,b,c){return c=d(c),[this[0],a,b,c]}function f(a){return[this[0],a!=null?d(a):null]}var b=i(),c=b.walk;return b.with_walkers({defun:e,\"function\":e,block:f,splice:f,toplevel:function(a){return[this[0],d(a)]},\"try\":function(a,b,c){return[this[0],d(a),b!=null?[b[0],d(b[1])]:null,c!=null?d(c):null]}},function(){return c(a)})}function x(a,b){function g(){throw e}function h(){throw f}function j(){return b.call(this,this,c,g,h)}function k(a){if(a==\"++\"||a==\"--\")return j.apply(this,arguments)}var c=i(),d=c.walk,e={},f={};return c.with_walkers({\"try\":j,\"throw\":j,\"return\":j,\"new\":j,\"switch\":j,\"break\":j,\"continue\":j,assign:j,call:j,\"if\":j,\"for\":j,\"for-in\":j,\"while\":j,\"do\":j,\"return\":j,\"unary-prefix\":k,\"unary-postfix\":k,defun:j},function(){for(;;)try{d(a);break}catch(b){if(b===e)break;if(b===f)continue;throw b}})}function y(a){function e(a,b){var e=d;d=b,a=K(a,c);var f={},g=K(b.names,function(a,c){return a!=\"var\"?K.skip:b.references(c)?(f[c]=!0,[c]):K.skip});return g.length>0&&(x([\"block\",a],function(a,b,c,d){if(a[0]==\"assign\"&&a[1]===!0&&a[2][0]==\"name\"&&J(f,a[2][1])){for(var e=g.length;--e>=0;)if(g[e][0]==a[2][1]){g[e][1]&&c(),g[e][1]=a[3],g.push(g.splice(e,1)[0]);break}var h=b.parent();if(h[0]==\"seq\"){var i=h[2];i.unshift(0,h.length),h.splice.apply(h,i)}else h[0]==\"stat\"?h.splice(0,h.length,\"block\"):c();d()}c()}),a.unshift([\"var\",g])),d=e,a}function f(a){var c=null;for(var d=a.length;--d>=0;){var e=a[d];if(!e[1])continue;e=[\"assign\",!0,[\"name\",e[0]],e[1]],c==null?c=e:c=[\"seq\",e,c]}return c==null?b.parent()[0]==\"for-in\"?[\"name\",a[0][0]]:K.skip:[\"stat\",c]}function g(a){return[this[0],e(a,this.scope)]}var b=i(),c=b.walk,d;return b.with_walkers({\"function\":function(a,b,c){for(var d=b.length;--d>=0&&!c.scope.references(b[d]);)b.pop();return c.scope.references(a)||(a=null),[this[0],a,b,e(c,c.scope)]},defun:function(a,b,c){if(!d.references(a))return K.skip;for(var f=b.length;--f>=0&&!c.scope.references(b[f]);)b.pop();return[this[0],a,b,e(c,c.scope)]},\"var\":f,toplevel:g},function(){return c(l(a))})}function z(a,b){function h(a){var c=[\"unary-prefix\",\"!\",a];switch(a[0]){case\"unary-prefix\":return a[1]==\"!\"&&r(a[2])?a[2]:c;case\"seq\":return a=e(a),a[a.length-1]=h(a[a.length-1]),a;case\"conditional\":return o(c,[\"conditional\",a[1],h(a[2]),h(a[3])]);case\"binary\":var d=a[1],f=a[2],g=a[3];if(!b.keep_comps)switch(d){case\"<=\":return[\"binary\",\">\",f,g];case\"<\":return[\"binary\",\">=\",f,g];case\">=\":return[\"binary\",\"<\",f,g];case\">\":return[\"binary\",\"<=\",f,g]}switch(d){case\"==\":return[\"binary\",\"!=\",f,g];case\"!=\":return[\"binary\",\"==\",f,g];case\"===\":return[\"binary\",\"!==\",f,g];case\"!==\":return[\"binary\",\"===\",f,g];case\"&&\":return o(c,[\"binary\",\"||\",h(f),h(g)]);case\"||\":return o(c,[\"binary\",\"&&\",h(f),h(g)])}}return c}function j(a,b,c){var d=function(){return a[0]==\"unary-prefix\"&&a[1]==\"!\"?c?[\"conditional\",a[2],c,b]:[\"binary\",\"||\",a[2],b]:c?o([\"conditional\",a,b,c],[\"conditional\",h(a),c,b]):[\"binary\",\"&&\",a,b]};return u(a,function(a,d){return v(d?c:b),d?b:c},d)}function k(a,b){var c=g;g=a;var d=b();return d.scope=a,g=c,d}function m(a){return a!=null&&a[0]==\"block\"&&a[1]&&(a[1].length==1?a=a[1][0]:a[1].length==0&&(a=[\"block\"])),a}function p(a,b,c){var d=this[0]==\"defun\";return c=k(c.scope,function(){var b=t(c,\"lambda\");return!d&&a&&!g.references(a)&&(a=null),b}),[this[0],a,b,c]}function t(a,c){return a=K(a,d),a=a.reduce(function(a,b){return b[0]==\"block\"?b[1]&&a.push.apply(a,b[1]):a.push(b),a},[]),a=function(b,c){return a.forEach(function(a){c&&(a[0]==\"var\"&&c[0]==\"var\"||a[0]==\"const\"&&c[0]==\"const\")?c[1]=c[1].concat(a[1]):(b.push(a),c=a)}),b}([]),b.dead_code&&(a=function(c,d){return a.forEach(function(a){d?a[0]==\"function\"||a[0]==\"defun\"?c.push(a):a[0]==\"var\"||a[0]==\"const\"?(b.no_warnings||n(\"Variables declared in unreachable code\"),a[1]=K(a[1],function(a){return a[1]&&!b.no_warnings&&v([\"assign\",!0,[\"name\",a[0]],a[1]]),[a[0]]}),c.push(a)):b.no_warnings||v(a):(c.push(a),f(a[0],[\"return\",\"throw\",\"break\",\"continue\"])&&(d=!0))}),c}([])),b.make_seqs&&(a=function(b,c){return a.forEach(function(a){c&&c[0]==\"stat\"&&a[0]==\"stat\"?c[1]=[\"seq\",c[1],a[1]]:(b.push(a),c=a)}),b.length>=2&&b[b.length-2][0]==\"stat\"&&(b[b.length-1][0]==\"return\"||b[b.length-1][0]==\"throw\")&&b[b.length-1][1]&&b.splice(b.length-2,2,[b[b.length-1][0],[\"seq\",b[b.length-2][1],b[b.length-1][1]]]),b}([])),a}function x(a,b,c){return u(a,function(a,e){return e?(b=d(b),v(c),b||[\"block\"]):(c=d(c),v(b),c||[\"block\"])},function(){return y(a,b,c)})}function y(a,b,c){a=d(a),b=d(b),c=d(c),s(b)?(a=h(a),b=c,c=null):s(c)?c=null:function(){var d=E(a),e=h(a),f=E(e);if(f.length<d.length){var g=b;b=c,c=g,a=e}}();if(s(c)&&s(b))return[\"stat\",a];var e=[\"if\",a,b,c];return b[0]==\"if\"&&s(b[3])&&s(c)?e=o(e,d([\"if\",[\"binary\",\"&&\",a,b[1]],b[2]])):b[0]==\"stat\"?c?c[0]==\"stat\"&&(e=o(e,[\"stat\",j(a,b[1],c[1])])):e=o(e,[\"stat\",j(a,b[1])]):c&&b[0]==c[0]&&(b[0]==\"return\"||b[0]==\"throw\")&&b[1]&&c[1]?e=o(e,[b[0],j(a,b[1],c[1])]):c&&q(b)?(e=[[\"if\",a,b]],c[0]==\"block\"?c[1]&&(e=e.concat(c[1])):e.push(c),e=d([\"block\",e])):b&&q(c)&&(e=[[\"if\",h(a),c]],b[0]==\"block\"?b[1]&&(e=e.concat(b[1])):e.push(b),e=d([\"block\",e])),e}function z(a,b){return u(a,function(a,c){return c?[\"for\",null,null,null,d(b)]:(v(b),[\"block\"])})}b=H(b,{make_seqs:!0,dead_code:!0,no_warnings:!1,keep_comps:!0});var c=i(),d=c.walk,g;return c.with_walkers({sub:function(a,b){if(b[0]==\"string\"){var c=b[1];if(I(c))return[\"dot\",d(a),c];if(/^[1-9][0-9]*$/.test(c)||c===\"0\")return[\"sub\",d(a),[\"num\",parseInt(c,10)]]}},\"if\":x,toplevel:function(a){return[\"toplevel\",k(this.scope,function(){return t(a)})]},\"switch\":function(a,b){var c=b.length-1;return[\"switch\",d(a),K(b,function(a,b){var e=t(a[1]);if(b==c&&e.length>0){var f=e[e.length-1];f[0]==\"break\"&&!f[1]&&e.pop()}return[a[0]?d(a[0]):null,e]})]},\"function\":p,defun:p,block:function(a){if(a)return m([\"block\",t(a)])},binary:function(a,b,c){return u([\"binary\",a,d(b),d(c)],function(a){return o(d(a),this)},function(){return function(){if(a!=\"==\"&&a!=\"!=\")return;var e=d(b),f=d(c);return e&&e[0]==\"unary-prefix\"&&e[1]==\"!\"&&e[2][0]==\"num\"?b=[\"num\",+!e[2][1]]:f&&f[0]==\"unary-prefix\"&&f[1]==\"!\"&&f[2][0]==\"num\"&&(c=[\"num\",+!f[2][1]]),[\"binary\",a,b,c]}()||this})},conditional:function(a,b,c){return j(d(a),d(b),d(c))},\"try\":function(a,b,c){return[\"try\",t(a),b!=null?[b[0],t(b[1])]:null,c!=null?t(c):null]},\"unary-prefix\":function(a,b){b=d(b);var c=[\"unary-prefix\",a,b];return a==\"!\"&&(c=o(c,h(b))),u(c,function(a,b){return d(a)},function(){return c})},name:function(a){switch(a){case\"true\":return[\"unary-prefix\",\"!\",[\"num\",0]];case\"false\":return[\"unary-prefix\",\"!\",[\"num\",1]]}},\"while\":z,assign:function(a,b,c){b=d(b),c=d(c);var e=[\"+\",\"-\",\"/\",\"*\",\"%\",\">>\",\"<<\",\">>>\",\"|\",\"^\",\"&\"];return a===!0&&b[0]===\"name\"&&c[0]===\"binary\"&&~e.indexOf(c[1])&&c[2][0]===\"name\"&&c[2][1]===b[1]?[this[0],c[1],b,c[3]]:[this[0],a,b,c]}},function(){for(var b=0;b<2;++b)a=w(a),a=l(a),a=d(a);return a})}function B(a,b){var c=0,d=0;return a=a.replace(/[\\\\\\b\\f\\n\\r\\t\\x22\\x27\\u2028\\u2029\\0]/g,function(a){switch(a){case\"\\\\\":return\"\\\\\\\\\";case\"\\b\":return\"\\\\b\";case\"\\f\":return\"\\\\f\";case\"\\n\":return\"\\\\n\";case\"\\r\":return\"\\\\r\";case\"\\t\":return\"\\\\t\";case\"\\u2028\":return\"\\\\u2028\";case\"\\u2029\":return\"\\\\u2029\";case'\"':return++c,'\"';case\"'\":return++d,\"'\";case\"\\0\":return\"\\\\0\"}return a}),b&&(a=C(a)),c>d?\"'\"+a.replace(/\\x27/g,\"\\\\'\")+\"'\":'\"'+a.replace(/\\x22/g,'\\\\\"')+'\"'}function C(a){return a.replace(/[\\u0080-\\uffff]/g,function(a){var b=a.charCodeAt(0).toString(16);while(b.length<4)b=\"0\"+b;return\"\\\\u\"+b})}function E(a,b){function m(a){var c=B(a,b.ascii_only);return b.inline_script&&(c=c.replace(/<\\x2fscript([>/\\t\\n\\f\\r ])/gi,\"<\\\\/script$1\")),c}function n(a){return a=a.toString(),b.ascii_only&&(a=C(a)),a}function o(a){return a==null&&(a=\"\"),c&&(a=G(\" \",b.indent_start+j*b.indent_level)+a),a}function p(a,b){b==null&&(b=1),j+=b;try{return a.apply(null,e(arguments,1))}finally{j-=b}}function q(a){if(c)return a.join(\" \");var b=[];for(var d=0;d<a.length;++d){var e=a[d+1];b.push(a[d]),e&&(/[a-z0-9_\\x24]$/i.test(a[d].toString())&&/^[a-z0-9_\\x24]/i.test(e.toString())||/[\\+\\-]$/.test(a[d].toString())&&/^[\\+\\-]/.test(e.toString()))&&b.push(\" \")}return b.join(\"\")}function r(a){return a.join(\",\"+l)}function t(a){var b=y(a);for(var c=1;c<arguments.length;++c){var d=arguments[c];if(d instanceof Function&&d(a)||a[0]==d)return\"(\"+b+\")\"}return b}function u(a){if(a.length==1)return a[0];if(a.length==2){var b=a[1];return a=a[0],a.length>b.length?b:a}return u([a[0],u(a.slice(1))])}function v(a){if(a[0]==\"function\"||a[0]==\"object\"){var b=e(x.stack()),c=b.pop(),d=b.pop();while(d){if(d[0]==\"stat\")return!0;if((d[0]==\"seq\"||d[0]==\"call\"||d[0]==\"dot\"||d[0]==\"sub\"||d[0]==\"conditional\")&&d[1]===c||(d[0]==\"binary\"||d[0]==\"assign\"||d[0]==\"unary-postfix\")&&d[2]===c)c=d,d=b.pop();else return!1}}return!J(A,a[0])}function w(a){var b=a.toString(10),c=[b.replace(/^0\\./,\".\")],d;return Math.floor(a)===a?(a<0?c.push(\"-0x\"+(-a).toString(16).toLowerCase(),\"-0\"+(-a).toString(8)):c.push(\"0x\"+a.toString(16).toLowerCase(),\"0\"+a.toString(8)),(d=/^(.*?)(0+)$/.exec(a))&&c.push(d[1]+\"e\"+d[2].length)):(d=/^0?\\.(0+)(.*)$/.exec(a))&&c.push(d[2]+\"e-\"+(d[1].length+d[2].length),b.substr(b.indexOf(\".\"))),u(c)}function z(a){if(a==null)return\";\";if(a[0]==\"do\")return N([a]);var b=a;for(;;){var c=b[0];if(c==\"if\"){if(!b[3])return y([\"block\",[a]]);b=b[3]}else if(c==\"while\"||c==\"do\")b=b[2];else if(c==\"for\"||c==\"for-in\")b=b[4];else break}return y(a)}function E(a,b,c,d){var e=d||\"function\";return a&&(e+=\" \"+n(a)),e+=\"(\"+r(K(b,n))+\")\",e=q([e,N(c)]),v(this)?\"(\"+e+\")\":e}function F(a){switch(a[0]){case\"with\":case\"while\":return s(a[2]);case\"for\":case\"for-in\":return s(a[4]);case\"if\":if(s(a[2])&&!a[3])return!0;if(a[3])return s(a[3])?!0:F(a[3]);return F(a[2])}}function L(a,b){for(var d=[],e=a.length-1,f=0;f<=e;++f){var g=a[f],h=y(g);h!=\";\"&&(!c&&f==e&&!F(g)&&(h=h.replace(/;+\\s*$/,\"\")),d.push(h))}return b?d:K(d,o)}function M(a){var b=a.length;return b==0?\"{}\":\"{\"+k+K(a,function(a,d){var e=a[1].length>0,f=p(function(){return o(a[0]?q([\"case\",y(a[0])+\":\"]):\"default:\")},.5)+(e?k+p(function(){return L(a[1]).join(k)}):\"\");return!c&&e&&d<b-1&&(f+=\";\"),f}).join(k)+k+o(\"}\")}function N(a){return a?a.length==0?\"{}\":\"{\"+k+p(function(){return L(a).join(k)})+k+o(\"}\"):\";\"}function O(a){var b=a[0],c=a[1];return c!=null&&(b=q([n(b),\"=\",t(c,\"seq\")])),b}b=H(b,{indent_start:0,indent_level:4,quote_keys:!1,space_colon:!1,beautify:!1,ascii_only:!1,inline_script:!1});var c=!!b.beautify,j=0,k=c?\"\\n\":\"\",l=c?\" \":\"\",x=i(),y=x.walk;return x.with_walkers({string:m,num:w,name:n,toplevel:function(a){return L(a).join(k+k)},splice:function(a){var b=x.parent();return J(D,b)?N.apply(this,arguments):K(L(a,!0),function(a,b){return b>0?o(a):a}).join(k)},block:N,\"var\":function(a){return\"var \"+r(K(a,O))+\";\"},\"const\":function(a){return\"const \"+r(K(a,O))+\";\"},\"try\":function(a,b,c){var d=[\"try\",N(a)];return b&&d.push(\"catch\",\"(\"+b[0]+\")\",N(b[1])),c&&d.push(\"finally\",N(c)),q(d)},\"throw\":function(a){return q([\"throw\",y(a)])+\";\"},\"new\":function(a,b){return b=b.length>0?\"(\"+r(K(b,function(a){return t(a,\"seq\")}))+\")\":\"\",q([\"new\",t(a,\"seq\",\"binary\",\"conditional\",\"assign\",function(a){var b=i(),c={};try{b.with_walkers({call:function(){throw c},\"function\":function(){return this}},function(){b.walk(a)})}catch(d){if(d===c)return!0;throw d}})+b])},\"switch\":function(a,b){return q([\"switch\",\"(\"+y(a)+\")\",M(b)])},\"break\":function(a){var b=\"break\";return a!=null&&(b+=\" \"+n(a)),b+\";\"},\"continue\":function(a){var b=\"continue\";return a!=null&&(b+=\" \"+n(a)),b+\";\"},conditional:function(a,b,c){return q([t(a,\"assign\",\"seq\",\"conditional\"),\"?\",t(b,\"seq\"),\":\",t(c,\"seq\")])},assign:function(a,b,c){return a&&a!==!0?a+=\"=\":a=\"=\",q([y(b),a,t(c,\"seq\")])},dot:function(a){var b=y(a),c=1;a[0]==\"num\"?/\\./.test(a[1])||(b+=\".\"):v(a)&&(b=\"(\"+b+\")\");while(c<arguments.length)b+=\".\"+n(arguments[c++]);return b},call:function(a,b){var c=y(a);return c.charAt(0)!=\"(\"&&v(a)&&(c=\"(\"+c+\")\"),c+\"(\"+r(K(b,function(a){return t(a,\"seq\")}))+\")\"},\"function\":E,defun:E,\"if\":function(a,b,c){var d=[\"if\",\"(\"+y(a)+\")\",c?z(b):y(b)];return c&&d.push(\"else\",y(c)),q(d)},\"for\":function(a,b,c,d){var e=[\"for\"];a=(a!=null?y(a):\"\").replace(/;*\\s*$/,\";\"+l),b=(b!=null?y(b):\"\").replace(/;*\\s*$/,\";\"+l),c=(c!=null?y(c):\"\").replace(/;*\\s*$/,\"\");var f=a+b+c;return f==\"; ; \"&&(f=\";;\"),e.push(\"(\"+f+\")\",y(d)),q(e)},\"for-in\":function(a,b,c,d){return q([\"for\",\"(\"+(a?y(a).replace(/;+$/,\"\"):y(b)),\"in\",y(c)+\")\",y(d)])},\"while\":function(a,b){return q([\"while\",\"(\"+y(a)+\")\",y(b)])},\"do\":function(a,b){return q([\"do\",y(b),\"while\",\"(\"+y(a)+\")\"])+\";\"},\"return\":function(a){var b=[\"return\"];return a!=null&&b.push(y(a)),q(b)+\";\"},binary:function(a,d,e){var h=y(d),i=y(e);if(f(d[0],[\"assign\",\"conditional\",\"seq\"])||d[0]==\"binary\"&&g[a]>g[d[1]]||d[0]==\"function\"&&v(this))h=\"(\"+h+\")\";return f(e[0],[\"assign\",\"conditional\",\"seq\"])||e[0]==\"binary\"&&g[a]>=g[e[1]]&&(e[1]!=a||!f(a,[\"&&\",\"||\",\"*\"]))?i=\"(\"+i+\")\":!c&&b.inline_script&&(a==\"<\"||a==\"<<\")&&e[0]==\"regexp\"&&/^script/i.test(e[1])&&(i=\" \"+i),q([h,a,i])},\"unary-prefix\":function(a,b){var c=y(b);return b[0]==\"num\"||b[0]==\"unary-prefix\"&&!J(h,a+b[1])||!v(b)||(c=\"(\"+c+\")\"),a+(d.is_alphanumeric_char(a.charAt(0))?\" \":\"\")+c},\"unary-postfix\":function(a,b){var c=y(b);return b[0]==\"num\"||b[0]==\"unary-postfix\"&&!J(h,a+b[1])||!v(b)||(c=\"(\"+c+\")\"),c+a},sub:function(a,b){var c=y(a);return v(a)&&(c=\"(\"+c+\")\"),c+\"[\"+y(b)+\"]\"},object:function(a){var d=v(this);if(a.length==0)return d?\"({})\":\"{}\";var e=\"{\"+k+p(function(){return K(a,function(a){if(a.length==3)return o(E(a[0],a[1][2],a[1][3],a[2]));var d=a[0],e=t(a[1],\"seq\");return b.quote_keys?d=m(d):(typeof d==\"number\"||!c&&+d+\"\"==d)&&parseFloat(d)>=0?d=w(+d):I(d)||(d=m(d)),o(q(c&&b.space_colon?[d,\":\",e]:[d+\":\",e]))}).join(\",\"+k)})+k+o(\"}\");return d?\"(\"+e+\")\":e},regexp:function(a,b){return\"/\"+a+\"/\"+b},array:function(a){return a.length==0?\"[]\":q([\"[\",r(K(a,function(b,d){return!c&&b[0]==\"atom\"&&b[1]==\"undefined\"?d===a.length-1?\",\":\"\":t(b,\"seq\")})),\"]\"])},stat:function(a){return y(a).replace(/;*\\s*$/,\";\")},seq:function(){return r(K(e(arguments),y))},label:function(a,b){return q([n(a),\":\",y(b)])},\"with\":function(a,b){return q([\"with\",\"(\"+y(a)+\")\",y(b)])},atom:function(a){return n(a)}},function(){return y(a)})}function F(a,b){var c=[0];return d.parse(function(){function h(a){return a.pos-f}function i(a){f=a.pos,c.push(f)}function j(){var a=e.apply(this,arguments);c:{if(g&&g.type==\"keyword\")break c;if(h(a)>b)switch(a.type){case\"keyword\":case\"atom\":case\"name\":case\"punc\":i(a);break c}}return g=a,a}var e=d.tokenizer(a),f=0,g;return j.context=function(){return e.context.apply(this,arguments)},j}()),c.map(function(b,d){return a.substring(b,c[d+1]||a.length)}).join(\"\\n\")}function G(a,b){if(b>0){if(b==1)return a;var c=G(a,b>>1);return c+=c,b&1&&(c+=a),c}return\"\"}function H(a,b){var c={};a===!0&&(a={});for(var d in b)J(b,d)&&(c[d]=a&&J(a,d)?a[d]:b[d]);return c}function I(a){return/^[a-z_$][a-z0-9_$]*$/i.test(a)&&a!=\"this\"&&!J(d.KEYWORDS_ATOM,a)&&!J(d.RESERVED_WORDS,a)&&!J(d.KEYWORDS,a)}function J(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var d=a(\"./parse-js\"),e=d.slice,f=d.member,g=d.PRECEDENCE,h=d.OPERATORS,k=function(){var a=\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_\";return function(b){var c=\"\";do c=a.charAt(b%54)+c,b=Math.floor(b/54);while(b>0);return c}}();j.prototype={has:function(a){for(var b=this;b;b=b.parent)if(J(b.names,a))return b},has_mangled:function(a){for(var b=this;b;b=b.parent)if(J(b.rev_mangled,a))return b},toJSON:function(){return{names:this.names,uses_eval:this.uses_eval,uses_with:this.uses_with}},next_mangled:function(){for(;;){var a=k(++this.cname),b;b=this.has_mangled(a);if(b&&this.refs[b.rev_mangled[a]]===b)continue;b=this.has(a);if(b&&b!==this&&this.refs[a]===b&&!b.has_mangled(a))continue;if(J(this.refs,a)&&this.refs[a]==null)continue;if(!I(a))continue;return a}},set_mangle:function(a,b){return this.rev_mangled[b]=a,this.mangled[a]=b},get_mangled:function(a,b){if(this.uses_eval||this.uses_with)return a;var c=this.has(a);return c?J(c.mangled,a)?c.mangled[a]:b?c.set_mangle(a,c.next_mangled()):a:a},references:function(a){return a&&!this.parent||this.uses_with||this.uses_eval||this.refs[a]},define:function(a,b){if(a!=null){if(b==\"var\"||!J(this.names,a))this.names[a]=b||\"var\";return a}}};var n=function(){},u=function(){function b(c){switch(c[0]){case\"string\":case\"num\":return c[1];case\"name\":case\"atom\":switch(c[1]){case\"true\":return!0;case\"false\":return!1;case\"null\":return null}break;case\"unary-prefix\":switch(c[1]){case\"!\":return!b(c[2]);case\"typeof\":return typeof b(c[2]);case\"~\":return~b(c[2]);case\"-\":return-b(c[2]);case\"+\":return+b(c[2])}break;case\"binary\":var d=c[2],e=c[3];switch(c[1]){case\"&&\":return b(d)&&b(e);case\"||\":return b(d)||b(e);case\"|\":return b(d)|b(e);case\"&\":return b(d)&b(e);case\"^\":return b(d)^b(e);case\"+\":return b(d)+b(e);case\"*\":return b(d)*b(e);case\"/\":return b(d)/b(e);case\"%\":return b(d)%b(e);case\"-\":return b(d)-b(e);case\"<<\":return b(d)<<b(e);case\">>\":return b(d)>>b(e);case\">>>\":return b(d)>>>b(e);case\"==\":return b(d)==b(e);case\"===\":return b(d)===b(e);case\"!=\":return b(d)!=b(e);case\"!==\":return b(d)!==b(e);case\"<\":return b(d)<b(e);case\"<=\":return b(d)<=b(e);case\">\":return b(d)>b(e);case\">=\":return b(d)>=b(e);case\"in\":return b(d)in b(e);case\"instanceof\":return b(d)instanceof b(e)}}throw a}var a={};return function(c,d,e){try{var f=b(c),g;switch(typeof f){case\"string\":g=[\"string\",f];break;case\"number\":g=[\"num\",f];break;case\"boolean\":g=[\"name\",String(f)];break;default:throw new Error(\"Can't handle constant of type: \"+typeof f)}return d.call(c,g,f)}catch(h){if(h===a){if(c[0]!=\"binary\"||c[1]!=\"===\"&&c[1]!=\"!==\"||!(t(c[2])&&t(c[3])||r(c[2])&&r(c[3]))){if(e&&c[0]==\"binary\"&&(c[1]==\"||\"||c[1]==\"&&\"))try{var i=b(c[2]);c=c[1]==\"&&\"&&(i?c[3]:i)||c[1]==\"||\"&&(i?i:c[3])||c}catch(j){}}else c[1]=c[1].substr(0,2);return e?e.call(c,c):null}throw h}}}(),A=d.array_to_hash([\"name\",\"array\",\"object\",\"string\",\"dot\",\"sub\",\"call\",\"regexp\",\"defun\"]),D=d.array_to_hash([\"if\",\"while\",\"do\",\"for\",\"for-in\",\"with\"]),K;(function(){function b(a){this.v=a}function c(a){this.v=a}K=function(d,e,f){function j(){var j=e.call(f,d[i],i);j instanceof b?(j=j.v,j instanceof c?h.push.apply(h,j.v):h.push(j)):j!=a&&(j instanceof c?g.push.apply(g,j.v):g.push(j))}var g=[],h=[],i;if(d instanceof Array)for(i=0;i<d.length;++i)j();else for(i in d)J(d,i)&&j();return h.concat(g)},K.at_top=function(a){return new b(a)},K.splice=function(a){return new c(a)};var a=K.skip={}})(),b.ast_walker=i,b.ast_mangle=m,b.ast_squeeze=z,b.ast_lift_variables=y,b.gen_code=E,b.ast_add_scope=l,b.set_logger=function(a){n=a},b.make_string=B,b.split_lines=F,b.MAP=K}),f(\"uglify-js\",[\"require\",\"exports\",\"module\",\"./lib/parse-js\",\"./lib/process\"],function(a,b,c){function d(a,b){b||(b={});var c=d.parser,e=d.uglify,f=c.parse(a,b.strict_semicolons);f=e.ast_mangle(f,b.mangle_options),f=e.ast_squeeze(f,b.squeeze_options);var g=e.gen_code(f,b.gen_options);return g}d.parser=a(\"./lib/parse-js\"),d.uglify=a(\"./lib/process\"),c.exports=d}),f(\"lib/squeeze-more\",[\"require\",\"exports\",\"module\",\"./parse-js\",\"./process\"],function(a,b,c){function l(a){function f(a,b){var c=d,e;return d=a,e=b(),d=c,e}function g(a,b,d){return[this[0],a,b,f(d.scope,h(i,d,c))]}var b=e.ast_walker(),c=b.walk,d;return b.with_walkers({toplevel:function(a){return[this[0],f(this.scope,h(i,a,c))]},\"function\":g,defun:g,\"new\":function(a,b){if(a[0]==\"name\"&&a[1]==\"Array\"&&!d.has(\"Array\"))return b.length!=1?[\"array\",b]:c([\"call\",[\"name\",\"Array\"],b])},call:function(a,b){if(a[0]==\"dot\"&&a[2]==\"toString\"&&b.length==0)return[\"binary\",\"+\",a[1],[\"string\",\"\"]];if(a[0]==\"name\"&&a[1]==\"Array\"&&b.length!=1&&!d.has(\"Array\"))return[\"array\",b]}},function(){return c(e.ast_add_scope(a))})}var d=a(\"./parse-js\"),e=a(\"./process\"),f=d.slice,g=d.member,h=d.curry,i=e.MAP,j=d.PRECEDENCE,k=d.OPERATORS;b.ast_squeeze_more=l});if(!this.uglify){var g=this;e([\"uglify-js\",\"lib/process\",\"lib/squeeze-more\"],function(a,b,c){b.ast_squeeze_more=c.ast_squeeze_more,g.uglify=a;var d=g.define;typeof d==\"function\"&&d.amd&&d(\"uglifyweb\",function(){return a})},null,!0)}})()"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/carousel/carousel.css",
    "content": "/* GLOBAL STYLES\n-------------------------------------------------- */\n/* Padding below the footer and lighter body text */\n\nbody {\n  padding-bottom: 40px;\n  color: #5a5a5a;\n}\n\n\n\n/* CUSTOMIZE THE NAVBAR\n-------------------------------------------------- */\n\n/* Special class on .container surrounding .navbar, used for positioning it into place. */\n.navbar-wrapper {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  z-index: 20;\n}\n\n/* Flip around the padding for proper display in narrow viewports */\n.navbar-wrapper .container {\n  padding-left: 0;\n  padding-right: 0;\n}\n.navbar-wrapper .navbar {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n\n\n/* CUSTOMIZE THE CAROUSEL\n-------------------------------------------------- */\n\n/* Carousel base class */\n.carousel {\n  height: 500px;\n  margin-bottom: 60px;\n}\n/* Since positioning the image, we need to help out the caption */\n.carousel-caption {\n  z-index: 10;\n}\n\n/* Declare heights because of positioning of img element */\n.carousel .item {\n  height: 500px;\n  background-color: #777;\n}\n.carousel-inner > .item > img {\n  position: absolute;\n  top: 0;\n  left: 0;\n  min-width: 100%;\n  height: 500px;\n}\n\n\n\n/* MARKETING CONTENT\n-------------------------------------------------- */\n\n/* Pad the edges of the mobile views a bit */\n.marketing {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n\n/* Center align the text within the three columns below the carousel */\n.marketing .col-lg-4 {\n  text-align: center;\n  margin-bottom: 20px;\n}\n.marketing h2 {\n  font-weight: normal;\n}\n.marketing .col-lg-4 p {\n  margin-left: 10px;\n  margin-right: 10px;\n}\n\n\n/* Featurettes\n------------------------- */\n\n.featurette-divider {\n  margin: 80px 0; /* Space out the Bootstrap <hr> more */\n}\n\n/* Thin out the marketing headings */\n.featurette-heading {\n  font-weight: 300;\n  line-height: 1;\n  letter-spacing: -1px;\n}\n\n\n\n/* RESPONSIVE CSS\n-------------------------------------------------- */\n\n@media (min-width: 768px) {\n\n  /* Remove the edge padding needed for mobile */\n  .marketing {\n    padding-left: 0;\n    padding-right: 0;\n  }\n\n  /* Navbar positioning foo */\n  .navbar-wrapper {\n    margin-top: 20px;\n  }\n  .navbar-wrapper .container {\n    padding-left:  15px;\n    padding-right: 15px;\n  }\n  .navbar-wrapper .navbar {\n    padding-left:  0;\n    padding-right: 0;\n  }\n\n  /* The navbar becomes detached from the top, so we round the corners */\n  .navbar-wrapper .navbar {\n    border-radius: 4px;\n  }\n\n  /* Bump up size of carousel content */\n  .carousel-caption p {\n    margin-bottom: 20px;\n    font-size: 21px;\n    line-height: 1.4;\n  }\n\n  .featurette-heading {\n    font-size: 50px;\n  }\n\n}\n\n@media (min-width: 992px) {\n  .featurette-heading {\n    margin-top: 120px;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/carousel/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Carousel Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n\n    <!-- Custom styles for this template -->\n    <link href=\"carousel.css\" rel=\"stylesheet\">\n  </head>\n<!-- NAVBAR\n================================================== -->\n  <body>\n    <div class=\"navbar-wrapper\">\n      <div class=\"container\">\n\n        <div class=\"navbar navbar-inverse navbar-static-top\" role=\"navigation\">\n          <div class=\"container\">\n            <div class=\"navbar-header\">\n              <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n                <span class=\"sr-only\">Toggle navigation</span>\n                <span class=\"icon-bar\"></span>\n                <span class=\"icon-bar\"></span>\n                <span class=\"icon-bar\"></span>\n              </button>\n              <a class=\"navbar-brand\" href=\"#\">Project name</a>\n            </div>\n            <div class=\"navbar-collapse collapse\">\n              <ul class=\"nav navbar-nav\">\n                <li class=\"active\"><a href=\"#\">Home</a></li>\n                <li><a href=\"#about\">About</a></li>\n                <li><a href=\"#contact\">Contact</a></li>\n                <li class=\"dropdown\">\n                  <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n                  <ul class=\"dropdown-menu\">\n                    <li><a href=\"#\">Action</a></li>\n                    <li><a href=\"#\">Another action</a></li>\n                    <li><a href=\"#\">Something else here</a></li>\n                    <li class=\"divider\"></li>\n                    <li class=\"dropdown-header\">Nav header</li>\n                    <li><a href=\"#\">Separated link</a></li>\n                    <li><a href=\"#\">One more separated link</a></li>\n                  </ul>\n                </li>\n              </ul>\n            </div>\n          </div>\n        </div>\n\n      </div>\n    </div>\n\n\n    <!-- Carousel\n    ================================================== -->\n    <div id=\"myCarousel\" class=\"carousel slide\" data-ride=\"carousel\">\n      <!-- Indicators -->\n      <ol class=\"carousel-indicators\">\n        <li data-target=\"#myCarousel\" data-slide-to=\"0\" class=\"active\"></li>\n        <li data-target=\"#myCarousel\" data-slide-to=\"1\"></li>\n        <li data-target=\"#myCarousel\" data-slide-to=\"2\"></li>\n      </ol>\n      <div class=\"carousel-inner\">\n        <div class=\"item active\">\n          <img data-src=\"holder.js/900x500/auto/#777:#7a7a7a/text:First slide\" alt=\"First slide\">\n          <div class=\"container\">\n            <div class=\"carousel-caption\">\n              <h1>Example headline.</h1>\n              <p>Note: If you're viewing this page via a <code>file://</code> URL, the \"next\" and \"previous\" Glyphicon buttons on the left and right might not load/display properly due to web browser security rules.</p>\n              <p><a class=\"btn btn-lg btn-primary\" href=\"#\" role=\"button\">Sign up today</a></p>\n            </div>\n          </div>\n        </div>\n        <div class=\"item\">\n          <img data-src=\"holder.js/900x500/auto/#666:#6a6a6a/text:Second slide\" alt=\"Second slide\">\n          <div class=\"container\">\n            <div class=\"carousel-caption\">\n              <h1>Another example headline.</h1>\n              <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>\n              <p><a class=\"btn btn-lg btn-primary\" href=\"#\" role=\"button\">Learn more</a></p>\n            </div>\n          </div>\n        </div>\n        <div class=\"item\">\n          <img data-src=\"holder.js/900x500/auto/#555:#5a5a5a/text:Third slide\" alt=\"Third slide\">\n          <div class=\"container\">\n            <div class=\"carousel-caption\">\n              <h1>One more for good measure.</h1>\n              <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>\n              <p><a class=\"btn btn-lg btn-primary\" href=\"#\" role=\"button\">Browse gallery</a></p>\n            </div>\n          </div>\n        </div>\n      </div>\n      <a class=\"left carousel-control\" href=\"#myCarousel\" data-slide=\"prev\"><span class=\"glyphicon glyphicon-chevron-left\"></span></a>\n      <a class=\"right carousel-control\" href=\"#myCarousel\" data-slide=\"next\"><span class=\"glyphicon glyphicon-chevron-right\"></span></a>\n    </div><!-- /.carousel -->\n\n\n\n    <!-- Marketing messaging and featurettes\n    ================================================== -->\n    <!-- Wrap the rest of the page in another container to center all the content. -->\n\n    <div class=\"container marketing\">\n\n      <!-- Three columns of text below the carousel -->\n      <div class=\"row\">\n        <div class=\"col-lg-4\">\n          <img class=\"img-circle\" data-src=\"holder.js/140x140\" alt=\"Generic placeholder image\">\n          <h2>Heading</h2>\n          <p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.</p>\n          <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n        </div><!-- /.col-lg-4 -->\n        <div class=\"col-lg-4\">\n          <img class=\"img-circle\" data-src=\"holder.js/140x140\" alt=\"Generic placeholder image\">\n          <h2>Heading</h2>\n          <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh.</p>\n          <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n        </div><!-- /.col-lg-4 -->\n        <div class=\"col-lg-4\">\n          <img class=\"img-circle\" data-src=\"holder.js/140x140\" alt=\"Generic placeholder image\">\n          <h2>Heading</h2>\n          <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>\n          <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n        </div><!-- /.col-lg-4 -->\n      </div><!-- /.row -->\n\n\n      <!-- START THE FEATURETTES -->\n\n      <hr class=\"featurette-divider\">\n\n      <div class=\"row featurette\">\n        <div class=\"col-md-7\">\n          <h2 class=\"featurette-heading\">First featurette heading. <span class=\"text-muted\">It'll blow your mind.</span></h2>\n          <p class=\"lead\">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>\n        </div>\n        <div class=\"col-md-5\">\n          <img class=\"featurette-image img-responsive\" data-src=\"holder.js/500x500/auto\" alt=\"Generic placeholder image\">\n        </div>\n      </div>\n\n      <hr class=\"featurette-divider\">\n\n      <div class=\"row featurette\">\n        <div class=\"col-md-5\">\n          <img class=\"featurette-image img-responsive\" data-src=\"holder.js/500x500/auto\" alt=\"Generic placeholder image\">\n        </div>\n        <div class=\"col-md-7\">\n          <h2 class=\"featurette-heading\">Oh yeah, it's that good. <span class=\"text-muted\">See for yourself.</span></h2>\n          <p class=\"lead\">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>\n        </div>\n      </div>\n\n      <hr class=\"featurette-divider\">\n\n      <div class=\"row featurette\">\n        <div class=\"col-md-7\">\n          <h2 class=\"featurette-heading\">And lastly, this one. <span class=\"text-muted\">Checkmate.</span></h2>\n          <p class=\"lead\">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>\n        </div>\n        <div class=\"col-md-5\">\n          <img class=\"featurette-image img-responsive\" data-src=\"holder.js/500x500/auto\" alt=\"Generic placeholder image\">\n        </div>\n      </div>\n\n      <hr class=\"featurette-divider\">\n\n      <!-- /END THE FEATURETTES -->\n\n\n      <!-- FOOTER -->\n      <footer>\n        <p class=\"pull-right\"><a href=\"#\">Back to top</a></p>\n        <p>&copy; 2013 Company, Inc. &middot; <a href=\"#\">Privacy</a> &middot; <a href=\"#\">Terms</a></p>\n      </footer>\n\n    </div><!-- /.container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n    <script src=\"../../docs-assets/js/holder.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/grid/grid.css",
    "content": ".container {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n\nh4 {\n  margin-top: 25px;\n}\n.row {\n  margin-bottom: 20px;\n}\n.row .row {\n  margin-top: 10px;\n  margin-bottom: 0;\n}\n[class*=\"col-\"] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n  background-color: #eee;\n  border: 1px solid #ddd;\n  background-color: rgba(86,61,124,.15);\n  border: 1px solid rgba(86,61,124,.2);\n}\n\nhr {\n  margin-top: 40px;\n  margin-bottom: 40px;\n}"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/grid/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Grid Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"grid.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n    <div class=\"container\">\n\n      <div class=\"page-header\">\n        <h1>Bootstrap grid examples</h1>\n        <p class=\"lead\">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>\n      </div>\n\n      <h3>Three equal columns</h3>\n      <p>Get three equal-width columns <strong>starting at desktops and scaling to large desktops</strong>. On mobile devices, tablets and below, the columns will automatically stack.</p>\n      <div class=\"row\">\n        <div class=\"col-md-4\">.col-md-4</div>\n        <div class=\"col-md-4\">.col-md-4</div>\n        <div class=\"col-md-4\">.col-md-4</div>\n      </div>\n\n      <h3>Three unequal columns</h3>\n      <p>Get three columns <strong>starting at desktops and scaling to large desktops</strong> of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.</p>\n      <div class=\"row\">\n        <div class=\"col-md-3\">.col-md-3</div>\n        <div class=\"col-md-6\">.col-md-6</div>\n        <div class=\"col-md-3\">.col-md-3</div>\n      </div>\n\n      <h3>Two columns</h3>\n      <p>Get two columns <strong>starting at desktops and scaling to large desktops</strong>.</p>\n      <div class=\"row\">\n        <div class=\"col-md-8\">.col-md-8</div>\n        <div class=\"col-md-4\">.col-md-4</div>\n      </div>\n\n      <h3>Full width, single column</h3>\n      <p class=\"text-warning\">No grid classes are necessary for full-width elements.</p>\n\n      <hr>\n\n      <h3>Two columns with two nested columns</h3>\n      <p>Per the documentation, nesting is easy—just put a row of columns within an existing row. This gives you two columns <strong>starting at desktops and scaling to large desktops</strong>, with another two (equal widths) within the larger column.</p>\n      <p>At mobile device sizes, tablets and down, these columns and their nested columns will stack.</p>\n      <div class=\"row\">\n        <div class=\"col-md-8\">\n          .col-md-8\n          <div class=\"row\">\n            <div class=\"col-md-6\">.col-md-6</div>\n            <div class=\"col-md-6\">.col-md-6</div>\n          </div>\n        </div>\n        <div class=\"col-md-4\">.col-md-4</div>\n      </div>\n\n      <hr>\n\n      <h3>Mixed: mobile and desktop</h3>\n      <p>The Bootstrap 3 grid system has four tiers of classes: xs (phones), sm (tablets), md (desktops), and lg (larger desktops). You can use nearly any combination of these classes to create more dynamic and flexible layouts.</p>\n      <p>Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs.</p>\n      <div class=\"row\">\n        <div class=\"col-xs-12 col-md-8\">.col-xs-12 .col-md-8</div>\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n      </div>\n      <div class=\"row\">\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n        <div class=\"col-xs-6 col-md-4\">.col-xs-6 .col-md-4</div>\n      </div>\n      <div class=\"row\">\n        <div class=\"col-xs-6\">.col-xs-6</div>\n        <div class=\"col-xs-6\">.col-xs-6</div>\n      </div>\n\n      <hr>\n\n      <h3>Mixed: mobile, tablet, and desktop</h3>\n      <p></p>\n      <div class=\"row\">\n        <div class=\"col-xs-12 col-sm-6 col-lg-8\">.col-xs-12 .col-sm-6 .col-lg-8</div>\n        <div class=\"col-xs-6 col-lg-4\">.col-xs-6 .col-lg-4</div>\n      </div>\n      <div class=\"row\">\n        <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n        <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n        <div class=\"col-xs-6 col-sm-4\">.col-xs-6 .col-sm-4</div>\n      </div>\n\n      <hr>\n\n      <h3>Column clearing</h3>\n      <p>Clear floats at specific breakpoints to prevent awkward wrapping with uneven content.</p>\n      <div class=\"row\">\n        <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n        <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n\n        <!-- Add the extra clearfix for only the required viewport -->\n        <div class=\"clearfix visible-xs\"></div>\n\n        <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n        <div class=\"col-xs-6 col-sm-3\">.col-xs-6 .col-sm-3</div>\n      </div>\n\n      <hr>\n\n      <h3>Offset, push, and pull resets</h3>\n      <p>Reset offsets, pushes, and pulls at specific breakpoints.</p>\n      <div class=\"row\">\n        <div class=\"col-sm-5 col-md-6\">.col-sm-5 .col-md-6</div>\n        <div class=\"col-sm-5 col-sm-offset-2 col-md-6 col-md-offset-0\">.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0</div>\n      </div>\n      <div class=\"row\">\n        <div class=\"col-sm-6 col-md-5 col-lg-6\">.col-sm-6 .col-md-5 .col-lg-6</div>\n        <div class=\"col-sm-6 col-md-5 col-md-offset-2 col-lg-6 col-lg-offset-0\">.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0</div>\n      </div>\n\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/jumbotron/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Jumbotron Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"jumbotron.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <div class=\"navbar navbar-inverse navbar-fixed-top\" role=\"navigation\">\n      <div class=\"container\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project name</a>\n        </div>\n        <div class=\"navbar-collapse collapse\">\n          <form class=\"navbar-form navbar-right\" role=\"form\">\n            <div class=\"form-group\">\n              <input type=\"text\" placeholder=\"Email\" class=\"form-control\">\n            </div>\n            <div class=\"form-group\">\n              <input type=\"password\" placeholder=\"Password\" class=\"form-control\">\n            </div>\n            <button type=\"submit\" class=\"btn btn-success\">Sign in</button>\n          </form>\n        </div><!--/.navbar-collapse -->\n      </div>\n    </div>\n\n    <!-- Main jumbotron for a primary marketing message or call to action -->\n    <div class=\"jumbotron\">\n      <div class=\"container\">\n        <h1>Hello, world!</h1>\n        <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>\n        <p><a class=\"btn btn-primary btn-lg\" role=\"button\">Learn more &raquo;</a></p>\n      </div>\n    </div>\n\n    <div class=\"container\">\n      <!-- Example row of columns -->\n      <div class=\"row\">\n        <div class=\"col-md-4\">\n          <h2>Heading</h2>\n          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n          <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n        </div>\n        <div class=\"col-md-4\">\n          <h2>Heading</h2>\n          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n          <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n       </div>\n        <div class=\"col-md-4\">\n          <h2>Heading</h2>\n          <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>\n          <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n        </div>\n      </div>\n\n      <hr>\n\n      <footer>\n        <p>&copy; Company 2013</p>\n      </footer>\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/jumbotron/jumbotron.css",
    "content": "/* Move down content because we have a fixed navbar that is 50px tall */\nbody {\n  padding-top: 50px;\n  padding-bottom: 20px;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/jumbotron-narrow/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Narrow Jumbotron Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"jumbotron-narrow.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <div class=\"container\">\n      <div class=\"header\">\n        <ul class=\"nav nav-pills pull-right\">\n          <li class=\"active\"><a href=\"#\">Home</a></li>\n          <li><a href=\"#\">About</a></li>\n          <li><a href=\"#\">Contact</a></li>\n        </ul>\n        <h3 class=\"text-muted\">Project name</h3>\n      </div>\n\n      <div class=\"jumbotron\">\n        <h1>Jumbotron heading</h1>\n        <p class=\"lead\">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>\n        <p><a class=\"btn btn-lg btn-success\" href=\"#\" role=\"button\">Sign up today</a></p>\n      </div>\n\n      <div class=\"row marketing\">\n        <div class=\"col-lg-6\">\n          <h4>Subheading</h4>\n          <p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>\n\n          <h4>Subheading</h4>\n          <p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>\n\n          <h4>Subheading</h4>\n          <p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>\n        </div>\n\n        <div class=\"col-lg-6\">\n          <h4>Subheading</h4>\n          <p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>\n\n          <h4>Subheading</h4>\n          <p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>\n\n          <h4>Subheading</h4>\n          <p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>\n        </div>\n      </div>\n\n      <div class=\"footer\">\n        <p>&copy; Company 2013</p>\n      </div>\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/jumbotron-narrow/jumbotron-narrow.css",
    "content": "/* Space out content a bit */\nbody {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n\n/* Everything but the jumbotron gets side spacing for mobile first views */\n.header,\n.marketing,\n.footer {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n\n/* Custom page header */\n.header {\n  border-bottom: 1px solid #e5e5e5;\n}\n/* Make the masthead heading the same height as the navigation */\n.header h3 {\n  margin-top: 0;\n  margin-bottom: 0;\n  line-height: 40px;\n  padding-bottom: 19px;\n}\n\n/* Custom page footer */\n.footer {\n  padding-top: 19px;\n  color: #777;\n  border-top: 1px solid #e5e5e5;\n}\n\n/* Customize container */\n@media (min-width: 768px) {\n  .container {\n    max-width: 730px;\n  }\n}\n.container-narrow > hr {\n  margin: 30px 0;\n}\n\n/* Main marketing message and sign up button */\n.jumbotron {\n  text-align: center;\n  border-bottom: 1px solid #e5e5e5;\n}\n.jumbotron .btn {\n  font-size: 21px;\n  padding: 14px 24px;\n}\n\n/* Supporting marketing content */\n.marketing {\n  margin: 40px 0;\n}\n.marketing p + h4 {\n  margin-top: 28px;\n}\n\n/* Responsive: Portrait tablets and up */\n@media screen and (min-width: 768px) {\n  /* Remove the padding we set earlier */\n  .header,\n  .marketing,\n  .footer {\n    padding-left: 0;\n    padding-right: 0;\n  }\n  /* Space out the masthead */\n  .header {\n    margin-bottom: 30px;\n  }\n  /* Remove the bottom border on the jumbotron for visual effect */\n  .jumbotron {\n    border-bottom: 0;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/justified-nav/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Justified Nav Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"justified-nav.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <div class=\"container\">\n\n      <div class=\"masthead\">\n        <h3 class=\"text-muted\">Project name</h3>\n        <ul class=\"nav nav-justified\">\n          <li class=\"active\"><a href=\"#\">Home</a></li>\n          <li><a href=\"#\">Projects</a></li>\n          <li><a href=\"#\">Services</a></li>\n          <li><a href=\"#\">Downloads</a></li>\n          <li><a href=\"#\">About</a></li>\n          <li><a href=\"#\">Contact</a></li>\n        </ul>\n      </div>\n\n      <!-- Jumbotron -->\n      <div class=\"jumbotron\">\n        <h1>Marketing stuff!</h1>\n        <p class=\"lead\">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet.</p>\n        <p><a class=\"btn btn-lg btn-success\" href=\"#\" role=\"button\">Get started today</a></p>\n      </div>\n\n      <!-- Example row of columns -->\n      <div class=\"row\">\n        <div class=\"col-lg-4\">\n          <h2>Safari bug warning!</h2>\n          <p class=\"text-danger\">Safari exhibits a bug in which resizing your browser horizontally causes rendering errors in the justified nav that are cleared upon refreshing.</p>\n          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n          <p><a class=\"btn btn-primary\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n        </div>\n        <div class=\"col-lg-4\">\n          <h2>Heading</h2>\n          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n          <p><a class=\"btn btn-primary\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n       </div>\n        <div class=\"col-lg-4\">\n          <h2>Heading</h2>\n          <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>\n          <p><a class=\"btn btn-primary\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n        </div>\n      </div>\n\n      <!-- Site footer -->\n      <div class=\"footer\">\n        <p>&copy; Company 2013</p>\n      </div>\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/justified-nav/justified-nav.css",
    "content": "body {\n  padding-top: 20px;\n}\n\n.footer {\n  border-top: 1px solid #eee;\n  margin-top: 40px;\n  padding-top: 40px;\n  padding-bottom: 40px;\n}\n\n/* Main marketing message and sign up button */\n.jumbotron {\n  text-align: center;\n  background-color: transparent;\n}\n.jumbotron .btn {\n  font-size: 21px;\n  padding: 14px 24px;\n}\n\n/* Customize the nav-justified links to be fill the entire space of the .navbar */\n\n.nav-justified {\n  background-color: #eee;\n  border-radius: 5px;\n  border: 1px solid #ccc;\n}\n.nav-justified > li > a {\n  margin-bottom: 0;\n  padding-top: 15px;\n  padding-bottom: 15px;\n  color: #777;\n  font-weight: bold;\n  text-align: center;\n  border-bottom: 1px solid #d5d5d5;\n  background-color: #e5e5e5; /* Old browsers */\n  background-repeat: repeat-x; /* Repeat the gradient */\n  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */\n  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */\n  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */\n  background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */\n  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */\n  background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */\n}\n.nav-justified > .active > a,\n.nav-justified > .active > a:hover,\n.nav-justified > .active > a:focus {\n  background-color: #ddd;\n  background-image: none;\n  box-shadow: inset 0 3px 7px rgba(0,0,0,.15);\n}\n.nav-justified > li:first-child > a {\n  border-radius: 5px 5px 0 0;\n}\n.nav-justified > li:last-child > a {\n  border-bottom: 0;\n  border-radius: 0 0 5px 5px;\n}\n\n@media (min-width: 768px) {\n  .nav-justified {\n    max-height: 52px;\n  }\n  .nav-justified > li > a {\n    border-left: 1px solid #fff;\n    border-right: 1px solid #d5d5d5;\n  }\n  .nav-justified > li:first-child > a {\n    border-left: 0;\n    border-radius: 5px 0 0 5px;\n  }\n  .nav-justified > li:last-child > a {\n    border-radius: 0 5px 5px 0;\n    border-right: 0;\n  }\n}\n\n/* Responsive: Portrait tablets and up */\n@media screen and (min-width: 768px) {\n  /* Remove the padding we set earlier */\n  .masthead,\n  .marketing,\n  .footer {\n    padding-left: 0;\n    padding-right: 0;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/navbar/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Navbar Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"navbar.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <div class=\"container\">\n\n      <!-- Static navbar -->\n      <div class=\"navbar navbar-default\" role=\"navigation\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project name</a>\n        </div>\n        <div class=\"navbar-collapse collapse\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n            <li class=\"dropdown\">\n              <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li class=\"dropdown-header\">Nav header</li>\n                <li><a href=\"#\">Separated link</a></li>\n                <li><a href=\"#\">One more separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n          <ul class=\"nav navbar-nav navbar-right\">\n            <li class=\"active\"><a href=\"./\">Default</a></li>\n            <li><a href=\"../navbar-static-top/\">Static top</a></li>\n            <li><a href=\"../navbar-fixed-top/\">Fixed top</a></li>\n          </ul>\n        </div><!--/.nav-collapse -->\n      </div>\n\n      <!-- Main component for a primary marketing message or call to action -->\n      <div class=\"jumbotron\">\n        <h1>Navbar example</h1>\n        <p>This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>\n        <p>\n          <a class=\"btn btn-lg btn-primary\" href=\"../../components/#navbar\" role=\"button\">View navbar docs &raquo;</a>\n        </p>\n      </div>\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/navbar/navbar.css",
    "content": "body {\n  padding-top: 20px;\n  padding-bottom: 20px;\n}\n\n.navbar {\n  margin-bottom: 20px;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/navbar-fixed-top/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Fixed Top Navbar Example for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"navbar-fixed-top.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <!-- Fixed navbar -->\n    <div class=\"navbar navbar-default navbar-fixed-top\" role=\"navigation\">\n      <div class=\"container\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project name</a>\n        </div>\n        <div class=\"navbar-collapse collapse\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#about\">About</a></li>\n            <li><a href=\"#contact\">Contact</a></li>\n            <li class=\"dropdown\">\n              <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li class=\"dropdown-header\">Nav header</li>\n                <li><a href=\"#\">Separated link</a></li>\n                <li><a href=\"#\">One more separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n          <ul class=\"nav navbar-nav navbar-right\">\n            <li><a href=\"../navbar/\">Default</a></li>\n            <li><a href=\"../navbar-static-top/\">Static top</a></li>\n            <li class=\"active\"><a href=\"./\">Fixed top</a></li>\n          </ul>\n        </div><!--/.nav-collapse -->\n      </div>\n    </div>\n\n    <div class=\"container\">\n\n      <!-- Main component for a primary marketing message or call to action -->\n      <div class=\"jumbotron\">\n        <h1>Navbar example</h1>\n        <p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>\n        <p>To see the difference between static and fixed top navbars, just scroll.</p>\n        <p>\n          <a class=\"btn btn-lg btn-primary\" href=\"../../components/#navbar\" role=\"button\">View navbar docs &raquo;</a>\n        </p>\n      </div>\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/navbar-fixed-top/navbar-fixed-top.css",
    "content": "body {\n  min-height: 2000px;\n  padding-top: 70px;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/navbar-static-top/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Static Top Navbar Example for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"navbar-static-top.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <!-- Static navbar -->\n    <div class=\"navbar navbar-default navbar-static-top\" role=\"navigation\">\n      <div class=\"container\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project name</a>\n        </div>\n        <div class=\"navbar-collapse collapse\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#about\">About</a></li>\n            <li><a href=\"#contact\">Contact</a></li>\n            <li class=\"dropdown\">\n              <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li class=\"dropdown-header\">Nav header</li>\n                <li><a href=\"#\">Separated link</a></li>\n                <li><a href=\"#\">One more separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n          <ul class=\"nav navbar-nav navbar-right\">\n            <li><a href=\"../navbar/\">Default</a></li>\n            <li class=\"active\"><a href=\"./\">Static top</a></li>\n            <li><a href=\"../navbar-fixed-top/\">Fixed top</a></li>\n          </ul>\n        </div><!--/.nav-collapse -->\n      </div>\n    </div>\n\n\n    <div class=\"container\">\n\n      <!-- Main component for a primary marketing message or call to action -->\n      <div class=\"jumbotron\">\n        <h1>Navbar example</h1>\n        <p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>\n        <p>To see the difference between static and fixed top navbars, just scroll.</p>\n        <p>\n          <a class=\"btn btn-lg btn-primary\" href=\"../../components/#navbar\" role=\"button\">View navbar docs &raquo;</a>\n        </p>\n      </div>\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/navbar-static-top/navbar-static-top.css",
    "content": "body {\n  min-height: 2000px;\n}\n\n.navbar-static-top {\n  margin-bottom: 19px;\n}"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/non-responsive/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n\n    <!-- Note there is no responsive meta tag here -->\n\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Non-responsive Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"non-responsive.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <!-- Fixed navbar -->\n    <div class=\"navbar navbar-default navbar-fixed-top\" role=\"navigation\">\n      <div class=\"container\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project name</a>\n        </div>\n        <div class=\"navbar-collapse collapse\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#about\">About</a></li>\n            <li><a href=\"#contact\">Contact</a></li>\n            <li class=\"dropdown\">\n              <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li class=\"dropdown-header\">Nav header</li>\n                <li><a href=\"#\">Separated link</a></li>\n                <li><a href=\"#\">One more separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n          <ul class=\"nav navbar-nav navbar-right\">\n            <li><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n            <li><a href=\"#\">Link</a></li>\n          </ul>\n        </div><!--/.nav-collapse -->\n      </div>\n    </div>\n\n    <div class=\"container\">\n\n      <div class=\"page-header\">\n        <h1>Non-responsive Bootstrap</h1>\n        <p class=\"lead\">Disable the responsiveness of Bootstrap by fixing the width of the container and using the first grid system tier.</p>\n      </div>\n\n      <h3>What changes</h3>\n      <p>Note the lack of the <code>&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;</code>, which disables the zooming aspect of sites in mobile devices. In addition, we reset our container's width and are basically good to go.</p>\n\n      <h3>Regarding navbars</h3>\n      <p>As a heads up, the navbar component is rather tricky here in that the styles for displaying it are rather specific and detailed. Overrides to ensure desktop styles display are not as performant or sleek as one would like. Just be aware there may be potential gotchas as you build on top of this example when using the navbar.</p>\n\n      <h3>Non-responsive grid system</h3>\n      <div class=\"row\">\n        <div class=\"col-xs-4\">One third</div>\n        <div class=\"col-xs-4\">One third</div>\n        <div class=\"col-xs-4\">One third</div>\n      </div>\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/non-responsive/non-responsive.css",
    "content": "/* Template-specific stuff\n *\n * Customizations just for the template; these are not necessary for anything\n * with disabling the responsiveness.\n */\n\n/* Account for fixed navbar */\nbody {\n  padding-top: 70px;\n  padding-bottom: 30px;\n  min-width: 970px;\n}\n\n/* Finesse the page header spacing */\n.page-header {\n  margin-bottom: 30px;\n}\n.page-header .lead {\n  margin-bottom: 10px;\n}\n\n\n/* Non-responsive overrides\n *\n * Utilitze the following CSS to disable the responsive-ness of the container,\n * grid system, and navbar.\n */\n\n/* Reset the container */\n.container {\n  max-width: none !important;\n  width: 970px;\n}\n\n/* Demonstrate the grids */\n.col-xs-4 {\n  padding-top: 15px;\n  padding-bottom: 15px;\n  background-color: #eee;\n  border: 1px solid #ddd;\n  background-color: rgba(86,61,124,.15);\n  border: 1px solid rgba(86,61,124,.2);\n}\n\n.container .navbar-header,\n.container .navbar-collapse {\n  margin-right: 0;\n  margin-left: 0;\n}\n\n/* Always float the navbar header */\n.navbar-header {\n  float: left;\n}\n\n/* Undo the collapsing navbar */\n.navbar-collapse {\n  display: block !important;\n  height: auto !important;\n  padding-bottom: 0;\n  overflow: visible !important;\n}\n\n.navbar-toggle {\n  display: none;\n}\n.navbar-collapse {\n  border-top: 0;\n}\n\n.navbar-brand {\n  margin-left: -15px;\n}\n\n/* Always apply the floated nav */\n.navbar-nav {\n  float: left;\n  margin: 0;\n}\n.navbar-nav > li {\n  float: left;\n}\n.navbar-nav > li > a {\n  padding: 15px;\n}\n\n/* Redeclare since we override the float above */\n.navbar-nav.navbar-right {\n  float: right;\n}\n\n/* Undo custom dropdowns */\n.navbar .navbar-nav .open .dropdown-menu {\n  position: absolute;\n  float: left;\n  background-color: #fff;\n  border: 1px solid #cccccc;\n  border: 1px solid rgba(0, 0, 0, 0.15);\n  border-width: 0 1px 1px;\n  border-radius: 0 0 4px 4px;\n  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n}\n.navbar-default .navbar-nav .open .dropdown-menu > li > a {\n  color: #333;\n}\n.navbar .navbar-nav .open .dropdown-menu > li > a:hover,\n.navbar .navbar-nav .open .dropdown-menu > li > a:focus,\n.navbar .navbar-nav .open .dropdown-menu > .active > a,\n.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,\n.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {\n  color: #fff !important;\n  background-color: #428bca !important;\n}\n.navbar .navbar-nav .open .dropdown-menu > .disabled > a,\n.navbar .navbar-nav .open .dropdown-menu > .disabled > a:hover,\n.navbar .navbar-nav .open .dropdown-menu > .disabled > a:focus {\n  color: #999 !important;\n  background-color: transparent !important;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/offcanvas/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Off Canvas Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.min.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"offcanvas.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n    <div class=\"navbar navbar-fixed-top navbar-inverse\" role=\"navigation\">\n      <div class=\"container\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project name</a>\n        </div>\n        <div class=\"collapse navbar-collapse\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#about\">About</a></li>\n            <li><a href=\"#contact\">Contact</a></li>\n          </ul>\n        </div><!-- /.nav-collapse -->\n      </div><!-- /.container -->\n    </div><!-- /.navbar -->\n\n    <div class=\"container\">\n\n      <div class=\"row row-offcanvas row-offcanvas-right\">\n\n        <div class=\"col-xs-12 col-sm-9\">\n          <p class=\"pull-right visible-xs\">\n            <button type=\"button\" class=\"btn btn-primary btn-xs\" data-toggle=\"offcanvas\">Toggle nav</button>\n          </p>\n          <div class=\"jumbotron\">\n            <h1>Hello, world!</h1>\n            <p>This is an example to show the potential of an offcanvas layout pattern in Bootstrap. Try some responsive-range viewport sizes to see it in action.</p>\n          </div>\n          <div class=\"row\">\n            <div class=\"col-6 col-sm-6 col-lg-4\">\n              <h2>Heading</h2>\n              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n              <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n            </div><!--/span-->\n            <div class=\"col-6 col-sm-6 col-lg-4\">\n              <h2>Heading</h2>\n              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n              <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n            </div><!--/span-->\n            <div class=\"col-6 col-sm-6 col-lg-4\">\n              <h2>Heading</h2>\n              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n              <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n            </div><!--/span-->\n            <div class=\"col-6 col-sm-6 col-lg-4\">\n              <h2>Heading</h2>\n              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n              <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n            </div><!--/span-->\n            <div class=\"col-6 col-sm-6 col-lg-4\">\n              <h2>Heading</h2>\n              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n              <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n            </div><!--/span-->\n            <div class=\"col-6 col-sm-6 col-lg-4\">\n              <h2>Heading</h2>\n              <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>\n              <p><a class=\"btn btn-default\" href=\"#\" role=\"button\">View details &raquo;</a></p>\n            </div><!--/span-->\n          </div><!--/row-->\n        </div><!--/span-->\n\n        <div class=\"col-xs-6 col-sm-3 sidebar-offcanvas\" id=\"sidebar\" role=\"navigation\">\n          <div class=\"list-group\">\n            <a href=\"#\" class=\"list-group-item active\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n            <a href=\"#\" class=\"list-group-item\">Link</a>\n          </div>\n        </div><!--/span-->\n      </div><!--/row-->\n\n      <hr>\n\n      <footer>\n        <p>&copy; Company 2013</p>\n      </footer>\n\n    </div><!--/.container-->\n\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n    <script src=\"offcanvas.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/offcanvas/offcanvas.css",
    "content": "/*\n * Style tweaks\n * --------------------------------------------------\n */\nhtml,\nbody {\n  overflow-x: hidden; /* Prevent scroll on narrow devices */\n}\nbody {\n  padding-top: 70px;\n}\nfooter {\n  padding: 30px 0;\n}\n\n/*\n * Off Canvas\n * --------------------------------------------------\n */\n@media screen and (max-width: 767px) {\n  .row-offcanvas {\n    position: relative;\n    -webkit-transition: all 0.25s ease-out;\n    -moz-transition: all 0.25s ease-out;\n    transition: all 0.25s ease-out;\n  }\n\n  .row-offcanvas-right\n  .sidebar-offcanvas {\n    right: -50%; /* 6 columns */\n  }\n\n  .row-offcanvas-left\n  .sidebar-offcanvas {\n    left: -50%; /* 6 columns */\n  }\n\n  .row-offcanvas-right.active {\n    right: 50%; /* 6 columns */\n  }\n\n  .row-offcanvas-left.active {\n    left: 50%; /* 6 columns */\n  }\n\n  .sidebar-offcanvas {\n    position: absolute;\n    top: 0;\n    width: 50%; /* 6 columns */\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/offcanvas/offcanvas.js",
    "content": "$(document).ready(function() {\n  $('[data-toggle=offcanvas]').click(function() {\n    $('.row-offcanvas').toggleClass('active');\n  });\n});"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/signin/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Signin Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"signin.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <div class=\"container\">\n\n      <form class=\"form-signin\" role=\"form\">\n        <h2 class=\"form-signin-heading\">Please sign in</h2>\n        <input type=\"text\" class=\"form-control\" placeholder=\"Email address\" required autofocus>\n        <input type=\"password\" class=\"form-control\" placeholder=\"Password\" required>\n        <label class=\"checkbox\">\n          <input type=\"checkbox\" value=\"remember-me\"> Remember me\n        </label>\n        <button class=\"btn btn-lg btn-primary btn-block\" type=\"submit\">Sign in</button>\n      </form>\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/signin/signin.css",
    "content": "body {\n  padding-top: 40px;\n  padding-bottom: 40px;\n  background-color: #eee;\n}\n\n.form-signin {\n  max-width: 330px;\n  padding: 15px;\n  margin: 0 auto;\n}\n.form-signin .form-signin-heading,\n.form-signin .checkbox {\n  margin-bottom: 10px;\n}\n.form-signin .checkbox {\n  font-weight: normal;\n}\n.form-signin .form-control {\n  position: relative;\n  font-size: 16px;\n  height: auto;\n  padding: 10px;\n  -webkit-box-sizing: border-box;\n     -moz-box-sizing: border-box;\n          box-sizing: border-box;\n}\n.form-signin .form-control:focus {\n  z-index: 2;\n}\n.form-signin input[type=\"text\"] {\n  margin-bottom: -1px;\n  border-bottom-left-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.form-signin input[type=\"password\"] {\n  margin-bottom: 10px;\n  border-top-left-radius: 0;\n  border-top-right-radius: 0;\n}"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/starter-template/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Starter Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"starter-template.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <div class=\"navbar navbar-inverse navbar-fixed-top\" role=\"navigation\">\n      <div class=\"container\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project name</a>\n        </div>\n        <div class=\"collapse navbar-collapse\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#about\">About</a></li>\n            <li><a href=\"#contact\">Contact</a></li>\n          </ul>\n        </div><!--/.nav-collapse -->\n      </div>\n    </div>\n\n    <div class=\"container\">\n\n      <div class=\"starter-template\">\n        <h1>Bootstrap starter template</h1>\n        <p class=\"lead\">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>\n      </div>\n\n    </div><!-- /.container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/starter-template/starter-template.css",
    "content": "body {\n  padding-top: 50px;\n}\n.starter-template {\n  padding: 40px 15px;\n  text-align: center;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/sticky-footer/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Sticky Footer Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"sticky-footer.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <!-- Wrap all page content here -->\n    <div id=\"wrap\">\n\n      <!-- Begin page content -->\n      <div class=\"container\">\n        <div class=\"page-header\">\n          <h1>Sticky footer</h1>\n        </div>\n        <p class=\"lead\">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>\n        <p>Use <a href=\"../sticky-footer-navbar\">the sticky footer with a fixed navbar</a> if need be, too.</p>\n      </div>\n    </div>\n\n    <div id=\"footer\">\n      <div class=\"container\">\n        <p class=\"text-muted\">Place sticky footer content here.</p>\n      </div>\n    </div>\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/sticky-footer/sticky-footer.css",
    "content": "/* Sticky footer styles\n-------------------------------------------------- */\n\nhtml,\nbody {\n  height: 100%;\n  /* The html and body elements cannot have any padding or margin. */\n}\n\n/* Wrapper for page content to push down footer */\n#wrap {\n  min-height: 100%;\n  height: auto;\n  /* Negative indent footer by its height */\n  margin: 0 auto -60px;\n  /* Pad bottom by footer height */\n  padding: 0 0 60px;\n}\n\n/* Set the fixed height of the footer here */\n#footer {\n  height: 60px;\n  background-color: #f5f5f5;\n}\n\n\n/* Custom page CSS\n-------------------------------------------------- */\n/* Not required for template or sticky footer method. */\n\n.container {\n  width: auto;\n  max-width: 680px;\n  padding: 0 15px;\n}\n.container .text-muted {\n  margin: 20px 0;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/sticky-footer-navbar/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Sticky Footer Navbar Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"sticky-footer-navbar.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <!-- Wrap all page content here -->\n    <div id=\"wrap\">\n\n      <!-- Fixed navbar -->\n      <div class=\"navbar navbar-default navbar-fixed-top\" role=\"navigation\">\n        <div class=\"container\">\n          <div class=\"navbar-header\">\n            <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n              <span class=\"sr-only\">Toggle navigation</span>\n              <span class=\"icon-bar\"></span>\n              <span class=\"icon-bar\"></span>\n              <span class=\"icon-bar\"></span>\n            </button>\n            <a class=\"navbar-brand\" href=\"#\">Project name</a>\n          </div>\n          <div class=\"collapse navbar-collapse\">\n            <ul class=\"nav navbar-nav\">\n              <li class=\"active\"><a href=\"#\">Home</a></li>\n              <li><a href=\"#about\">About</a></li>\n              <li><a href=\"#contact\">Contact</a></li>\n              <li class=\"dropdown\">\n                <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n                <ul class=\"dropdown-menu\">\n                  <li><a href=\"#\">Action</a></li>\n                  <li><a href=\"#\">Another action</a></li>\n                  <li><a href=\"#\">Something else here</a></li>\n                  <li class=\"divider\"></li>\n                  <li class=\"dropdown-header\">Nav header</li>\n                  <li><a href=\"#\">Separated link</a></li>\n                  <li><a href=\"#\">One more separated link</a></li>\n                </ul>\n              </li>\n            </ul>\n          </div><!--/.nav-collapse -->\n        </div>\n      </div>\n\n      <!-- Begin page content -->\n      <div class=\"container\">\n        <div class=\"page-header\">\n          <h1>Sticky footer with fixed navbar</h1>\n        </div>\n        <p class=\"lead\">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added within <code>#wrap</code> with <code>padding-top: 60px;</code> on the <code>.container</code>.</p>\n        <p>Back to <a href=\"../sticky-footer\">the default sticky footer</a> minus the navbar.</p>\n      </div>\n    </div>\n\n    <div id=\"footer\">\n      <div class=\"container\">\n        <p class=\"text-muted\">Place sticky footer content here.</p>\n      </div>\n    </div>\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/sticky-footer-navbar/sticky-footer-navbar.css",
    "content": "/* Sticky footer styles\n-------------------------------------------------- */\n\nhtml,\nbody {\n  height: 100%;\n  /* The html and body elements cannot have any padding or margin. */\n}\n\n/* Wrapper for page content to push down footer */\n#wrap {\n  min-height: 100%;\n  height: auto;\n  /* Negative indent footer by its height */\n  margin: 0 auto -60px;\n  /* Pad bottom by footer height */\n  padding: 0 0 60px;\n}\n\n/* Set the fixed height of the footer here */\n#footer {\n  height: 60px;\n  background-color: #f5f5f5;\n}\n\n\n/* Custom page CSS\n-------------------------------------------------- */\n/* Not required for template or sticky footer method. */\n\n#wrap > .container {\n  padding: 60px 15px 0;\n}\n.container .text-muted {\n  margin: 20px 0;\n}\n\n#footer > .container {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n\ncode {\n  font-size: 80%;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/theme/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"author\" content=\"\">\n    <link rel=\"shortcut icon\" href=\"../../docs-assets/ico/favicon.png\">\n\n    <title>Theme Template for Bootstrap</title>\n\n    <!-- Bootstrap core CSS -->\n    <link href=\"../../dist/css/bootstrap.css\" rel=\"stylesheet\">\n    <!-- Bootstrap theme -->\n    <link href=\"../../dist/css/bootstrap-theme.min.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <link href=\"theme.css\" rel=\"stylesheet\">\n\n    <!-- Just for debugging purposes. Don't actually copy this line! -->\n    <!--[if lt IE 9]><script src=\"../../docs-assets/js/ie8-responsive-file-warning.js\"></script><![endif]-->\n\n    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n\n  <body>\n\n    <!-- Fixed navbar -->\n    <div class=\"navbar navbar-inverse navbar-fixed-top\" role=\"navigation\">\n      <div class=\"container\">\n        <div class=\"navbar-header\">\n          <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Bootstrap theme</a>\n        </div>\n        <div class=\"navbar-collapse collapse\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"active\"><a href=\"#\">Home</a></li>\n            <li><a href=\"#about\">About</a></li>\n            <li><a href=\"#contact\">Contact</a></li>\n            <li class=\"dropdown\">\n              <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\">\n                <li><a href=\"#\">Action</a></li>\n                <li><a href=\"#\">Another action</a></li>\n                <li><a href=\"#\">Something else here</a></li>\n                <li class=\"divider\"></li>\n                <li class=\"dropdown-header\">Nav header</li>\n                <li><a href=\"#\">Separated link</a></li>\n                <li><a href=\"#\">One more separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n        </div><!--/.nav-collapse -->\n      </div>\n    </div>\n\n    <div class=\"container theme-showcase\">\n\n      <!-- Main jumbotron for a primary marketing message or call to action -->\n      <div class=\"jumbotron\">\n        <h1>Hello, world!</h1>\n        <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>\n        <p><a href=\"#\" class=\"btn btn-primary btn-lg\" role=\"button\">Learn more &raquo;</a></p>\n      </div>\n\n\n\n      <div class=\"page-header\">\n        <h1>Buttons</h1>\n      </div>\n      <p>\n        <button type=\"button\" class=\"btn btn-lg btn-default\">Default</button>\n        <button type=\"button\" class=\"btn btn-lg btn-primary\">Primary</button>\n        <button type=\"button\" class=\"btn btn-lg btn-success\">Success</button>\n        <button type=\"button\" class=\"btn btn-lg btn-info\">Info</button>\n        <button type=\"button\" class=\"btn btn-lg btn-warning\">Warning</button>\n        <button type=\"button\" class=\"btn btn-lg btn-danger\">Danger</button>\n        <button type=\"button\" class=\"btn btn-lg btn-link\">Link</button>\n      </p>\n      <p>\n        <button type=\"button\" class=\"btn btn-default\">Default</button>\n        <button type=\"button\" class=\"btn btn-primary\">Primary</button>\n        <button type=\"button\" class=\"btn btn-success\">Success</button>\n        <button type=\"button\" class=\"btn btn-info\">Info</button>\n        <button type=\"button\" class=\"btn btn-warning\">Warning</button>\n        <button type=\"button\" class=\"btn btn-danger\">Danger</button>\n        <button type=\"button\" class=\"btn btn-link\">Link</button>\n      </p>\n      <p>\n        <button type=\"button\" class=\"btn btn-sm btn-default\">Default</button>\n        <button type=\"button\" class=\"btn btn-sm btn-primary\">Primary</button>\n        <button type=\"button\" class=\"btn btn-sm btn-success\">Success</button>\n        <button type=\"button\" class=\"btn btn-sm btn-info\">Info</button>\n        <button type=\"button\" class=\"btn btn-sm btn-warning\">Warning</button>\n        <button type=\"button\" class=\"btn btn-sm btn-danger\">Danger</button>\n        <button type=\"button\" class=\"btn btn-sm btn-link\">Link</button>\n      </p>\n      <p>\n        <button type=\"button\" class=\"btn btn-xs btn-default\">Default</button>\n        <button type=\"button\" class=\"btn btn-xs btn-primary\">Primary</button>\n        <button type=\"button\" class=\"btn btn-xs btn-success\">Success</button>\n        <button type=\"button\" class=\"btn btn-xs btn-info\">Info</button>\n        <button type=\"button\" class=\"btn btn-xs btn-warning\">Warning</button>\n        <button type=\"button\" class=\"btn btn-xs btn-danger\">Danger</button>\n        <button type=\"button\" class=\"btn btn-xs btn-link\">Link</button>\n      </p>\n\n\n\n      <div class=\"page-header\">\n        <h1>Thumbnails</h1>\n      </div>\n      <img data-src=\"holder.js/200x200\" class=\"img-thumbnail\" alt=\"A generic square placeholder image with a white border around it, making it resemble a photograph taken with an old instant camera\">\n\n\n\n      <div class=\"page-header\">\n        <h1>Dropdown menus</h1>\n      </div>\n      <div class=\"dropdown theme-dropdown clearfix\">\n        <a id=\"dropdownMenu1\" href=\"#\" role=\"button\" class=\"sr-only dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n        <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dropdownMenu1\">\n          <li class=\"active\" role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Action</a></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Another action</a></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Something else here</a></li>\n          <li role=\"presentation\" class=\"divider\"></li>\n          <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"#\">Separated link</a></li>\n        </ul>\n      </div>\n\n\n\n\n      <div class=\"page-header\">\n        <h1>Navbars</h1>\n      </div>\n\n      <div class=\"navbar navbar-default\">\n        <div class=\"container\">\n          <div class=\"navbar-header\">\n            <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n              <span class=\"sr-only\">Toggle navigation</span>\n              <span class=\"icon-bar\"></span>\n              <span class=\"icon-bar\"></span>\n              <span class=\"icon-bar\"></span>\n            </button>\n            <a class=\"navbar-brand\" href=\"#\">Project name</a>\n          </div>\n          <div class=\"navbar-collapse collapse\">\n            <ul class=\"nav navbar-nav\">\n              <li class=\"active\"><a href=\"#\">Home</a></li>\n              <li><a href=\"#about\">About</a></li>\n              <li><a href=\"#contact\">Contact</a></li>\n              <li class=\"dropdown\">\n                <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n                <ul class=\"dropdown-menu\">\n                  <li><a href=\"#\">Action</a></li>\n                  <li><a href=\"#\">Another action</a></li>\n                  <li><a href=\"#\">Something else here</a></li>\n                  <li class=\"divider\"></li>\n                  <li class=\"dropdown-header\">Nav header</li>\n                  <li><a href=\"#\">Separated link</a></li>\n                  <li><a href=\"#\">One more separated link</a></li>\n                </ul>\n              </li>\n            </ul>\n          </div><!--/.nav-collapse -->\n        </div>\n      </div>\n\n      <div class=\"navbar navbar-inverse\">\n        <div class=\"container\">\n          <div class=\"navbar-header\">\n            <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\".navbar-collapse\">\n              <span class=\"sr-only\">Toggle navigation</span>\n              <span class=\"icon-bar\"></span>\n              <span class=\"icon-bar\"></span>\n              <span class=\"icon-bar\"></span>\n            </button>\n            <a class=\"navbar-brand\" href=\"#\">Project name</a>\n          </div>\n          <div class=\"navbar-collapse collapse\">\n            <ul class=\"nav navbar-nav\">\n              <li class=\"active\"><a href=\"#\">Home</a></li>\n              <li><a href=\"#about\">About</a></li>\n              <li><a href=\"#contact\">Contact</a></li>\n              <li class=\"dropdown\">\n                <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n                <ul class=\"dropdown-menu\">\n                  <li><a href=\"#\">Action</a></li>\n                  <li><a href=\"#\">Another action</a></li>\n                  <li><a href=\"#\">Something else here</a></li>\n                  <li class=\"divider\"></li>\n                  <li class=\"dropdown-header\">Nav header</li>\n                  <li><a href=\"#\">Separated link</a></li>\n                  <li><a href=\"#\">One more separated link</a></li>\n                </ul>\n              </li>\n            </ul>\n          </div><!--/.nav-collapse -->\n        </div>\n      </div>\n\n\n\n      <div class=\"page-header\">\n        <h1>Alerts</h1>\n      </div>\n      <div class=\"alert alert-success\">\n        <strong>Well done!</strong> You successfully read this important alert message.\n      </div>\n      <div class=\"alert alert-info\">\n        <strong>Heads up!</strong> This alert needs your attention, but it's not super important.\n      </div>\n      <div class=\"alert alert-warning\">\n        <strong>Warning!</strong> Best check yo self, you're not looking too good.\n      </div>\n      <div class=\"alert alert-danger\">\n        <strong>Oh snap!</strong> Change a few things up and try submitting again.\n      </div>\n\n\n\n      <div class=\"page-header\">\n        <h1>Progress bars</h1>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 60%;\"><span class=\"sr-only\">60% Complete</span></div>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-success\" role=\"progressbar\" aria-valuenow=\"40\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 40%\"><span class=\"sr-only\">40% Complete (success)</span></div>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-info\" role=\"progressbar\" aria-valuenow=\"20\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 20%\"><span class=\"sr-only\">20% Complete</span></div>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-warning\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 60%\"><span class=\"sr-only\">60% Complete (warning)</span></div>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-danger\" role=\"progressbar\" aria-valuenow=\"80\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: 80%\"><span class=\"sr-only\">80% Complete (danger)</span></div>\n      </div>\n      <div class=\"progress\">\n        <div class=\"progress-bar progress-bar-success\" style=\"width: 35%\"><span class=\"sr-only\">35% Complete (success)</span></div>\n        <div class=\"progress-bar progress-bar-warning\" style=\"width: 20%\"><span class=\"sr-only\">20% Complete (warning)</span></div>\n        <div class=\"progress-bar progress-bar-danger\" style=\"width: 10%\"><span class='sr-only'>10% Complete (danger)</span></div>\n      </div>\n\n\n\n      <div class=\"page-header\">\n        <h1>List groups</h1>\n      </div>\n      <div class=\"row\">\n        <div class=\"col-sm-4\">\n          <ul class=\"list-group\">\n            <li class=\"list-group-item\">Cras justo odio</li>\n            <li class=\"list-group-item\">Dapibus ac facilisis in</li>\n            <li class=\"list-group-item\">Morbi leo risus</li>\n            <li class=\"list-group-item\">Porta ac consectetur ac</li>\n            <li class=\"list-group-item\">Vestibulum at eros</li>\n          </ul>\n        </div><!-- /.col-sm-4 -->\n        <div class=\"col-sm-4\">\n          <div class=\"list-group\">\n            <a href=\"#\" class=\"list-group-item active\">\n              Cras justo odio\n            </a>\n            <a href=\"#\" class=\"list-group-item\">Dapibus ac facilisis in</a>\n            <a href=\"#\" class=\"list-group-item\">Morbi leo risus</a>\n            <a href=\"#\" class=\"list-group-item\">Porta ac consectetur ac</a>\n            <a href=\"#\" class=\"list-group-item\">Vestibulum at eros</a>\n          </div>\n        </div><!-- /.col-sm-4 -->\n        <div class=\"col-sm-4\">\n          <div class=\"list-group\">\n            <a href=\"#\" class=\"list-group-item active\">\n              <h4 class=\"list-group-item-heading\">List group item heading</h4>\n              <p class=\"list-group-item-text\">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n            </a>\n            <a href=\"#\" class=\"list-group-item\">\n              <h4 class=\"list-group-item-heading\">List group item heading</h4>\n              <p class=\"list-group-item-text\">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n            </a>\n            <a href=\"#\" class=\"list-group-item\">\n              <h4 class=\"list-group-item-heading\">List group item heading</h4>\n              <p class=\"list-group-item-text\">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>\n            </a>\n          </div>\n        </div><!-- /.col-sm-4 -->\n      </div>\n\n\n\n      <div class=\"page-header\">\n        <h1>Panels</h1>\n      </div>\n      <div class=\"row\">\n        <div class=\"col-sm-4\">\n          <div class=\"panel panel-default\">\n            <div class=\"panel-heading\">\n              <h3 class=\"panel-title\">Panel title</h3>\n            </div>\n            <div class=\"panel-body\">\n              Panel content\n            </div>\n          </div>\n          <div class=\"panel panel-primary\">\n            <div class=\"panel-heading\">\n              <h3 class=\"panel-title\">Panel title</h3>\n            </div>\n            <div class=\"panel-body\">\n              Panel content\n            </div>\n          </div>\n        </div><!-- /.col-sm-4 -->\n        <div class=\"col-sm-4\">\n          <div class=\"panel panel-success\">\n            <div class=\"panel-heading\">\n              <h3 class=\"panel-title\">Panel title</h3>\n            </div>\n            <div class=\"panel-body\">\n              Panel content\n            </div>\n          </div>\n          <div class=\"panel panel-info\">\n            <div class=\"panel-heading\">\n              <h3 class=\"panel-title\">Panel title</h3>\n            </div>\n            <div class=\"panel-body\">\n              Panel content\n            </div>\n          </div>\n        </div><!-- /.col-sm-4 -->\n        <div class=\"col-sm-4\">\n          <div class=\"panel panel-warning\">\n            <div class=\"panel-heading\">\n              <h3 class=\"panel-title\">Panel title</h3>\n            </div>\n            <div class=\"panel-body\">\n              Panel content\n            </div>\n          </div>\n          <div class=\"panel panel-danger\">\n            <div class=\"panel-heading\">\n              <h3 class=\"panel-title\">Panel title</h3>\n            </div>\n            <div class=\"panel-body\">\n              Panel content\n            </div>\n          </div>\n        </div><!-- /.col-sm-4 -->\n      </div>\n\n\n\n      <div class=\"page-header\">\n        <h1>Wells</h1>\n      </div>\n      <div class=\"well\">\n        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed diam eget risus varius blandit sit amet non magna. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Aenean lacinia bibendum nulla sed consectetur.</p>\n      </div>\n\n\n    </div> <!-- /container -->\n\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <script src=\"https://code.jquery.com/jquery-1.10.2.min.js\"></script>\n    <script src=\"../../dist/js/bootstrap.min.js\"></script>\n    <script src=\"../../docs-assets/js/holder.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/examples/theme/theme.css",
    "content": "body {\n  padding-top: 70px;\n  padding-bottom: 30px;\n}\n\n.theme-dropdown .dropdown-menu {\n  display: block;\n  position: static;\n  margin-bottom: 20px;\n}\n\n.theme-showcase > p > .btn {\n  margin: 5px 0;\n}"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/getting-started.html",
    "content": "---\nlayout: default\ntitle: Getting started\nslug: getting-started\nlead: \"An overview of Bootstrap, how to download and use, basic templates and examples, and more.\"\nbase_url: \"../\"\n---\n\n\n  <!-- Getting started\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"download\">Download Bootstrap</h1>\n    </div>\n    <p class=\"lead\">Bootstrap has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.</p>\n\n    <h3 id=\"download-compiled\">Compiled CSS, JS, and fonts</h3>\n    <p>The fastest way to get Bootstrap is to download the precompiled and minified versions of our CSS, JavaScript, and fonts. No documentation or original source code files are included.</p>\n    <p><a class=\"btn btn-lg btn-primary\" href=\"{{ site.download_dist }}\" onclick=\"_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);\" role=\"button\">Download precompiled Bootstrap</a></p>\n\n    <h3 id=\"download-additional\">Additional downloads</h3>\n    <div class=\"bs-docs-dl-options\">\n      <h4>\n        <a href=\"{{ site.download_source }}\" onclick=\"_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);\">Download source code</a>\n      </h4>\n      <p>Get the latest Bootstrap LESS and JavaScript source code by downloading it directly from GitHub.</p>\n      <h4>\n        <a href=\"{{ site.repo }}\" onclick=\"_gaq.push(['_trackEvent', 'Getting started', 'Download', 'GitHub project']);\">Clone or fork via GitHub</a>\n      </h4>\n      <p>Visit us on GitHub to clone or fork the Bootstrap project.</p>\n      <h4>\n        Install with <a href=\"http://bower.io\">Bower</a>\n      </h4>\n      <p>Install and manage Bootstrap's styles, JavaScript, and documentation using <a href=\"http://bower.io\">Bower</a>.</p>\n      {% highlight bash %}$ bower install bootstrap{% endhighlight %}\n    </div>\n\n    <h3 id=\"download-cdn\">Bootstrap CDN</h3>\n    <p>The folks over at <a href=\"http://www.maxcdn.com/\">MaxCDN</a> graciously provide CDN support for Bootstrap's CSS and JavaScript. Just use these <a href=\"http://www.bootstrapcdn.com/\">Bootstrap CDN</a> links.</p>\n{% highlight html %}\n<!-- Latest compiled and minified CSS -->\n<link rel=\"stylesheet\" href=\"{{ site.cdn_css }}\">\n\n<!-- Optional theme -->\n<link rel=\"stylesheet\" href=\"{{ site.cdn_theme_css }}\">\n\n<!-- Latest compiled and minified JavaScript -->\n<script src=\"{{ site.cdn_js }}\"></script>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-warning\" id=\"callout-less-compilation\">\n      <h4>Compiling Bootstrap's LESS files</h4>\n      <p>If you work with Bootstrap's uncompiled source code, you need to compile the LESS files to produce usable CSS files. For compiling LESS files into CSS, we only officially support <a href=\"http://twitter.github.io/recess/\">Recess</a>, which is Twitter's CSS hinter based on <a href=\"http://lesscss.org\">less.js</a>.</p>\n    </div>\n  </div>\n\n\n  <!-- File structure\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"whats-included\">What's included</h1>\n    </div>\n    <p class=\"lead\">Bootstrap is downloadable in two forms, within which you'll find the following directories and files, logically grouping common resources and providing both compiled and minified variations.</p>\n\n    <div class=\"bs-callout bs-callout-warning\" id=\"jquery-required\">\n      <h4>jQuery required</h4>\n      <p>Please note that <strong>all JavaScript plugins require jQuery</strong> to be included, as shown in the <a href=\"#template\">starter template</a>. <a href=\"{{ site.repo }}/blob/v{{ site.current_version }}/bower.json\">Consult our <code>bower.json</code></a> to see which versions of jQuery are supported.</p>\n    </div>\n\n    <h2 id=\"whats-included-precompiled\">Precompiled Bootstrap</h2>\n    <p>Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:</p>\n<!-- NOTE: This info is intentionally duplicated in the README.\nCopy any changes made here over to the README too. -->\n{% highlight bash %}\nbootstrap/\n├── css/\n│   ├── bootstrap.css\n│   ├── bootstrap.min.css\n│   ├── bootstrap-theme.css\n│   └── bootstrap-theme.min.css\n├── js/\n│   ├── bootstrap.js\n│   └── bootstrap.min.js\n└── fonts/\n    ├── glyphicons-halflings-regular.eot\n    ├── glyphicons-halflings-regular.svg\n    ├── glyphicons-halflings-regular.ttf\n    └── glyphicons-halflings-regular.woff\n{% endhighlight %}\n\n    <p>This is the most basic form of Bootstrap: precompiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). Fonts from Glyphicons are included, as is the optional Bootstrap theme.</p>\n\n    <h2 id=\"whats-included-source\">Bootstrap source code</h2>\n    <p>The Bootstrap source code download includes the precompiled CSS, JavaScript, and font assets, along with source LESS, JavaScript, and documentation. More specifically, it includes the following and more:</p>\n{% highlight bash %}\nbootstrap/\n├── less/\n├── js/\n├── fonts/\n├── dist/\n│   ├── css/\n│   ├── js/\n│   └── fonts/\n├── docs-assets/\n├── examples/\n└── *.html\n{% endhighlight %}\n  </div>\n  <p>The <code>less/</code>, <code>js/</code>, and <code>fonts/</code> are the source code for our CSS, JS, and icon fonts (respectively). The <code>dist/</code> folder includes everything listed in the precompiled download section above. <code>docs-assets/</code>, <code>examples/</code>, and all <code>*.html</code> files are for our documentation. Beyond that, any other included file provides support for packages, license information, and development.</p>\n\n\n  <!-- Template\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"template\">Basic template</h1>\n    </div>\n    <p class=\"lead\">Start with this basic HTML template, or modify <a href=\"../getting-started#examples\">these examples</a>. We hope you'll customize our templates and examples, adapting them to suit your needs.</p>\n\n    <p>Copy the HTML below to begin working with a minimal Bootstrap document.</p>\n{% highlight html %}\n<!DOCTYPE html>\n<html>\n  <head>\n    <title>Bootstrap 101 Template</title>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <!-- Bootstrap -->\n    <link href=\"css/bootstrap.min.css\" rel=\"stylesheet\">\n\n    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->\n    <!--[if lt IE 9]>\n      <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n      <script src=\"https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js\"></script>\n    <![endif]-->\n  </head>\n  <body>\n    <h1>Hello, world!</h1>\n\n    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->\n    <script src=\"https://code.jquery.com/jquery.js\"></script>\n    <!-- Include all compiled plugins (below), or include individual files as needed -->\n    <script src=\"js/bootstrap.min.js\"></script>\n  </body>\n</html>\n{% endhighlight %}\n  </div>\n\n\n  <!-- Template\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"examples\">Examples</h1>\n    </div>\n    <p class=\"lead\">Build on the basic template above with Bootstrap's many components. See also <a href=\"#customizing\">Customizing Bootstrap</a> for tips on maintaining your own Bootstrap variants.</p>\n\n    <div class=\"row bs-examples\">\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/starter-template/\">\n          <img src=\"../examples/screenshots/starter-template.jpg\" alt=\"\">\n        </a>\n        <h4>Starter template</h4>\n        <p>Nothing but the basics: compiled CSS and JavaScript along with a container.</p>\n      </div>\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/grid/\">\n          <img src=\"../examples/screenshots/grid.jpg\" alt=\"\">\n        </a>\n        <h4>Grids</h4>\n        <p>Multiple examples of grid layouts with all four tiers, nesting, and more.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/jumbotron/\">\n          <img src=\"../examples/screenshots/jumbotron.jpg\" alt=\"\">\n        </a>\n        <h4>Jumbotron</h4>\n        <p>Build around the jumbotron with a navbar and some basic grid columns.</p>\n      </div>\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/jumbotron-narrow/\">\n          <img src=\"../examples/screenshots/jumbotron-narrow.jpg\" alt=\"\">\n        </a>\n        <h4>Narrow jumbotron</h4>\n        <p>Build a more custom page by narrowing the default container and jumbotron.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/navbar/\">\n          <img src=\"../examples/screenshots/navbar.jpg\" alt=\"\">\n        </a>\n        <h4>Navbar</h4>\n        <p>Super basic template that includes the navbar along with some additional content.</p>\n      </div>\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/navbar-static-top/\">\n          <img src=\"../examples/screenshots/navbar-static.jpg\" alt=\"\">\n        </a>\n        <h4>Static top navbar</h4>\n        <p>Super basic template with a static top navbar along with some additional content.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/navbar-fixed-top/\">\n          <img src=\"../examples/screenshots/navbar-fixed.jpg\" alt=\"\">\n        </a>\n        <h4>Fixed navbar</h4>\n        <p>Super basic template with a fixed top navbar along with some additional content.</p>\n      </div>\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/signin/\">\n          <img src=\"../examples/screenshots/sign-in.jpg\" alt=\"\">\n        </a>\n        <h4>Sign-in page</h4>\n        <p>Custom form layout and design for a simple sign in form.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/sticky-footer/\">\n          <img src=\"../examples/screenshots/sticky-footer.jpg\" alt=\"\">\n        </a>\n        <h4>Sticky footer</h4>\n        <p>Attach a footer to the bottom of the viewport when the content is shorter than it.</p>\n      </div>\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/sticky-footer-navbar/\">\n          <img src=\"../examples/screenshots/sticky-footer-navbar.jpg\" alt=\"\">\n        </a>\n        <h4>Sticky footer with navbar</h4>\n        <p>Attach a footer to the bottom of the viewport with a fixed navbar at the top.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/justified-nav/\">\n          <img src=\"../examples/screenshots/justified-nav.jpg\" alt=\"\">\n        </a>\n        <h4>Justified nav</h4>\n        <p>Create a custom navbar with justified links. Heads up! <a href=\"../components/#nav-justified\">Not too WebKit friendly.</a></p>\n      </div>\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/offcanvas/\">\n          <img src=\"../examples/screenshots/offcanvas.jpg\" alt=\"\">\n        </a>\n        <h4>Offcanvas</h4>\n        <p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/carousel/\">\n          <img src=\"../examples/screenshots/carousel.jpg\" alt=\"\">\n        </a>\n        <h4>Carousel</h4>\n        <p>Customize the navbar and carousel, then add some new components.</p>\n      </div>\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/non-responsive/\">\n          <img src=\"../examples/screenshots/non-responsive.jpg\" alt=\"\">\n        </a>\n        <h4>Non-responsive Bootstrap</h4>\n        <p>Easily disable the responsiveness of Bootstrap <a href=\"../getting-started/#disable-responsive\">per our docs</a>.</p>\n      </div>\n      <div class=\"clearfix visible-xs\"></div>\n\n      <div class=\"col-xs-6 col-md-4\">\n        <a class=\"thumbnail\" href=\"../examples/theme/\">\n          <img src=\"../examples/screenshots/theme.jpg\" alt=\"\">\n        </a>\n        <h4>Bootstrap theme</h4>\n        <p>Load the optional Bootstrap theme for a visually enhanced experience.</p>\n      </div>\n    </div>\n\n  </div>\n\n\n  <!-- Template\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"disable-responsive\">Disabling responsiveness</h1>\n    </div>\n    <p class=\"lead\">Bootstrap automatically adapts your pages for various screen sizes.\n      Here's how to disable this feature so your page works like in <a href=\"../examples/non-responsive/\">this non-responsive example</a>.</p>\n\n    <h3>Steps to disable page responsiveness</h3>\n    <ol>\n      <li>Omit the viewport <code>&lt;meta&gt;</code> mentioned in <a href=\"../css/#overview-mobile\">the CSS docs</a></li>\n      <li>Override the <code>width</code> on the <code>.container</code> for each grid tier with a single width, for example <code>width: 970px !important;</code> Be sure that this comes after the default Bootstrap CSS. You can optionally avoid the <code>!important</code> with media queries or some selector-fu.</li>\n      <li>If using navbars, remove all navbar collapsing and expanding behavior.</li>\n      <li>For grid layouts, use <code>.col-xs-*</code> classes in addition to, or in place of, the medium/large ones. Don't worry, the extra-small device grid scales to all resolutions.</li>\n    </ol>\n    <p>You'll still need Respond.js for IE8 (since our media queries are still there and need to be processed).\n      This disables the \"mobile site\" aspects of Bootstrap.</p>\n\n    <h3>Bootstrap template with responsiveness disabled</h3>\n    <p>We've applied these steps to an example. Read its source code to see the specific changes implemented.</p>\n    <p>\n      <a href=\"../examples/non-responsive/\" class=\"btn btn-primary\">View non-responsive example</a>\n    </p>\n  </div>\n\n\n  <!-- Migration\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"migration\">Migrating from 2.x to 3.0</h1>\n    </div>\n    <p class=\"lead\">Bootstrap 3 is not backwards compatible with v2.x. Use this section as a general guide to upgrading from v2.x to v3.0. For a broader overview, see <a href=\"http://blog.getbootstrap.com/2013/08/19/bootstrap-3-released/\">what's new</a> in the v3.0 release announcement.</p>\n\n    <h2 id=\"migration-classes\">Major class changes</h2>\n    <p>This table shows the style changes between v2.x and v3.0.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n          <tr>\n            <th>Bootstrap 2.x</th>\n            <th>Bootstrap 3.0</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td><code>.container-fluid</code></td>\n            <td><code>.container</code></td>\n          </tr>\n          <tr>\n            <td><code>.row-fluid</code></td>\n            <td><code>.row</code></td>\n          </tr>\n          <tr>\n            <td><code>.span*</code></td>\n            <td><code>.col-md-*</code></td>\n          </tr>\n          <tr>\n            <td><code>.offset*</code></td>\n            <td><code>.col-md-offset-*</code></td>\n          </tr>\n          <tr>\n            <td><code>.brand</code></td>\n            <td><code>.navbar-brand</code></td>\n          </tr>\n          <tr>\n            <td><code>.nav-collapse</code></td>\n            <td><code>.navbar-collapse</code></td>\n          </tr>\n          <tr>\n            <td><code>.nav-toggle</code></td>\n            <td><code>.navbar-toggle</code></td>\n          </tr>\n          <tr>\n            <td><code>.btn-navbar</code></td>\n            <td><code>.navbar-btn</code></td>\n          </tr>\n          <tr>\n            <td><code>.hero-unit</code></td>\n            <td><code>.jumbotron</code></td>\n          </tr>\n          <tr>\n            <td><code>.icon-*</code></td>\n            <td><code>.glyphicon .glyphicon-*</code></td>\n          </tr>\n          <tr>\n            <td><code>.btn</code></td>\n            <td><code>.btn .btn-default</code></td>\n          </tr>\n          <tr>\n            <td><code>.btn-mini</code></td>\n            <td><code>.btn-xs</code></td>\n          </tr>\n          <tr>\n            <td><code>.btn-small</code></td>\n            <td><code>.btn-sm</code></td>\n          </tr>\n          <tr>\n            <td><code>.btn-large</code></td>\n            <td><code>.btn-lg</code></td>\n          </tr>\n          <tr>\n            <td><code>.alert-error</code></td>\n            <td><code>.alert-danger</code></td>\n          </tr>\n          <tr>\n            <td><code>.visible-phone</code></td>\n            <td><code>.visible-xs</code></td>\n          </tr>\n          <tr>\n            <td><code>.visible-tablet</code></td>\n            <td><code>.visible-sm</code></td>\n          </tr>\n          <tr>\n            <td><code>.visible-desktop</code></td>\n            <td>Split into <code>.visible-md .visible-lg</code></td>\n          </tr>\n          <tr>\n            <td><code>.hidden-phone</code></td>\n            <td><code>.hidden-xs</code></td>\n          </tr>\n          <tr>\n            <td><code>.hidden-tablet</code></td>\n            <td><code>.hidden-sm</code></td>\n          </tr>\n          <tr>\n            <td><code>.hidden-desktop</code></td>\n            <td>Split into <code>.hidden-md .hidden-lg</code></td>\n          </tr>\n          <tr>\n            <td><code>.input-small</code></td>\n            <td><code>.input-sm</code></td>\n          </tr>\n          <tr>\n            <td><code>.input-large</code></td>\n            <td><code>.input-lg</code></td>\n          </tr>\n          <tr>\n            <td><code>.control-group</code></td>\n            <td><code>.form-group</code></td>\n          </tr>\n          <tr>\n            <td><code>.control-group.warning .control-group.error .control-group.success</code></td>\n            <td><code>.form-group.has-*</code></td>\n          </tr>\n          <tr>\n            <td><code>.checkbox.inline</code> <code>.radio.inline</code></td>\n            <td><code>.checkbox-inline</code> <code>.radio-inline</code></td>\n          </tr>\n          <tr>\n            <td><code>.input-prepend</code> <code>.input-append</code></td>\n            <td><code>.input-group</code></td>\n          </tr>\n          <tr>\n            <td><code>.add-on</code></td>\n            <td><code>.input-group-addon</code></td>\n          </tr>\n          <tr>\n            <td><code>.img-polaroid</code></td>\n            <td><code>.img-thumbnail</code></td>\n          </tr>\n          <tr>\n            <td><code>ul.unstyled</code></td>\n            <td><code>.list-unstyled</code></td>\n          </tr>\n          <tr>\n            <td><code>ul.inline</code></td>\n            <td><code>.list-inline</code></td>\n          </tr>\n          <tr>\n            <td><code>.muted</code></td>\n            <td><code>.text-muted</code></td>\n          </tr>\n          <tr>\n            <td><code>.label</code></td>\n            <td><code>.label .label-default</code></td>\n          </tr>\n          <tr>\n            <td><code>.label-important</code></td>\n            <td><code>.label-danger</code></td>\n          </tr>\n          <tr>\n            <td><code>.text-error</code></td>\n            <td><code>.text-danger</code></td>\n          </tr>\n          <tr>\n            <td><code>.table .error</code></td>\n            <td><code>.table .danger</code></td>\n          </tr>\n          <tr>\n            <td><code>.bar</code></td>\n            <td><code>.progress-bar</code></td>\n          </tr>\n          <tr>\n            <td><code>.bar-*</code></td>\n            <td><code>.progress-bar-*</code></td>\n          </tr>\n          <tr>\n            <td><code>.accordion</code></td>\n            <td><code>.panel-group</code></td>\n          </tr>\n          <tr>\n            <td><code>.accordion-group</code></td>\n            <td><code>.panel .panel-default</code></td>\n          </tr>\n          <tr>\n            <td><code>.accordion-heading</code></td>\n            <td><code>.panel-heading</code></td>\n          </tr>\n          <tr>\n            <td><code>.accordion-body</code></td>\n            <td><code>.panel-collapse</code></td>\n          </tr>\n          <tr>\n            <td><code>.accordion-inner</code></td>\n            <td><code>.panel-body</code></td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n\n    <h2 id=\"migration-new\">What's new</h2>\n    <p>We've added new elements and changed some existing ones. Here are the new or updated styles.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n          <tr>\n            <th>Element</th>\n            <th>Description</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>Panels</td>\n            <td><code>.panel .panel-default</code> <code>.panel-body</code> <code>.panel-title</code> <code>.panel-heading</code> <code>.panel-footer</code> <code>.panel-collapse</code></td>\n          </tr>\n          <tr>\n            <td>List groups</td>\n            <td><code>.list-group</code> <code>.list-group-item</code> <code>.list-group-item-text</code> <code>.list-group-item-heading</code></td>\n          </tr>\n          <tr>\n            <td>Glyphicons</td>\n            <td><code>.glyphicon</code></td>\n          </tr>\n          <tr>\n            <td>Jumbotron</td>\n            <td><code>.jumbotron</code></td>\n          </tr>\n          <tr>\n            <td>Extra small grid (&lt;768px)</td>\n            <td><code>.col-xs-*</code></td>\n          </tr>\n          <tr>\n            <td>Small grid (&ge;768px)</td>\n            <td><code>.col-sm-*</code></td>\n          </tr>\n          <tr>\n            <td>Medium grid (&ge;992px)</td>\n            <td><code>.col-md-*</code></td>\n          </tr>\n          <tr>\n            <td>Large grid (&ge;1200px)</td>\n            <td><code>.col-lg-*</code></td>\n          </tr>\n          <tr>\n            <td>Responsive utility classes (&ge;1200px)</td>\n            <td><code>.visible-lg</code> <code>.hidden-lg</code></td>\n          </tr>\n          <tr>\n            <td>Offsets</td>\n            <td><code>.col-sm-offset-*</code> <code>.col-md-offset-*</code> <code>.col-lg-offset-*</code></td>\n          </tr>\n          <tr>\n            <td>Push</td>\n            <td><code>.col-sm-push-*</code> <code>.col-md-push-*</code> <code>.col-lg-push-*</code></td>\n          </tr>\n          <tr>\n            <td>Pull</td>\n            <td><code>.col-sm-pull-*</code> <code>.col-md-pull-*</code> <code>.col-lg-pull-*</code></td>\n          </tr>\n          <tr>\n            <td>Input groups</td>\n            <td><code>.input-group</code> <code>.input-group-addon</code> <code>.input-group-btn</code></td>\n          </tr>\n          <tr>\n            <td>Form controls</td>\n            <td><code>.form-control</code> <code>.form-group</code></td>\n          </tr>\n          <tr>\n            <td>Button group sizes</td>\n            <td><code>.btn-group-xs</code> <code>.btn-group-sm</code> <code>.btn-group-lg</code></td>\n          </tr>\n          <tr>\n            <td>Navbar text</td>\n            <td><code>.navbar-text</code></td>\n          </tr>\n          <tr>\n            <td>Navbar header</td>\n            <td><code>.navbar-header</code></td>\n          </tr>\n          <tr>\n            <td>Justified tabs / pills</td>\n            <td><code>.nav-justified</code></td>\n          </tr>\n          <tr>\n            <td>Responsive images</td>\n            <td><code>.img-responsive</code></td>\n          </tr>\n          <tr>\n            <td>Contextual table rows</td>\n            <td><code>.success</code> <code>.danger</code> <code>.warning</code> <code>.active</code></td>\n          </tr>\n          <tr>\n            <td>Contextual panels</td>\n            <td><code>.panel-success</code> <code>.panel-danger</code> <code>.panel-warning</code> <code>.panel-info</code></td>\n          </tr>\n          <tr>\n            <td>Modal</td>\n            <td><code>.modal-dialog</code> <code>.modal-content</code></td>\n          </tr>\n          <tr>\n            <td>Thumbnail image</td>\n            <td><code>.img-thumbnail</code></td>\n          </tr>\n          <tr>\n            <td>Well sizes</td>\n            <td><code>.well-sm</code> <code>.well-lg</code></td>\n          </tr>\n          <tr>\n            <td>Alert links</td>\n            <td><code>.alert-link</code></td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n\n\n    <h2 id=\"migration-dropped\">What's removed</h2>\n    <p>The following elements have been dropped or changed in v3.0.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n          <tr>\n            <th>Element</th>\n            <th>Removed from 2.x</th>\n            <th>3.0 Equivalent</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>Form actions</td>\n            <td><code>.form-actions</code></td>\n            <td class=\"text-muted\">N/A</td>\n          </tr>\n          <tr>\n            <td>Search form</td>\n            <td><code>.form-search</code></td>\n            <td class=\"text-muted\">N/A</td>\n          </tr>\n          <tr>\n            <td>Form group with info</td>\n            <td><code>.control-group.info</code></td>\n            <td class=\"text-muted\">N/A</td>\n          </tr>\n          <tr>\n            <td>Fluid container</td>\n            <td><code>.container-fluid</code></td>\n            <td><code>.container</code> (no more fixed grid)</td>\n          </tr>\n          <tr>\n            <td>Fluid row</td>\n            <td><code>.row-fluid</code></td>\n            <td><code>.row</code> (no more fixed grid)</td>\n          </tr>\n          <tr>\n            <td>Controls wrapper</td>\n            <td><code>.controls</code></td>\n            <td class=\"text-muted\">N/A</td>\n          </tr>\n          <tr>\n            <td>Controls row</td>\n            <td><code>.controls-row</code></td>\n            <td><code>.row</code> or <code>.form-group</code></td>\n          </tr>\n          <tr>\n            <td>Navbar inner</td>\n            <td><code>.navbar-inner</code></td>\n            <td class=\"text-muted\">N/A</td>\n          </tr>\n          <tr>\n            <td>Navbar vertical dividers</td>\n            <td><code>.navbar .divider-vertical</code></td>\n            <td class=\"text-muted\">N/A</td>\n          </tr>\n          <tr>\n            <td>Dropdown submenu</td>\n            <td><code>.dropdown-submenu</code></td>\n            <td class=\"text-muted\">N/A</td>\n          </tr>\n          <tr>\n            <td>Tab alignments</td>\n            <td><code>.tabs-left</code> <code>.tabs-right</code> <code>.tabs-below</code></td>\n            <td class=\"text-muted\">N/A</td>\n          </tr>\n          <tr>\n            <td>Nav lists</td>\n            <td><code>.nav-list</code> <code>.nav-header</code></td>\n            <td>No direct equivalent, but <a href=\"../components/#list-group\">list groups</a> and <a href=\"../javascript/#collapse\"><code>.panel-group</code>s</a> are similar.</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n\n\n    <h2 id=\"migration-notes\">Additional notes</h2>\n    <p>Other changes in v3.0 are not immediately apparent. Base classes, key styles, and behaviors have been adjusted for flexibility and our <em>mobile first</em> approach. Here's a partial list:</p>\n    <ul>\n      <li>By default, text-based form controls now receive only minimal styling.  For focus colors and rounded corners, apply the <code>.form-control</code> class on the element to style.</li>\n      <li>Text-based form controls with the <code>.form-control</code> class applied are now 100% wide by default. Wrap inputs inside <code>&lt;div class=\"col-*\"&gt;&lt;/div&gt;</code> to control input widths.</li>\n      <li><code>.badge</code> no longer has contextual (-success,-primary,etc..) classes.</li>\n      <li><code>.btn</code> must also use <code>.btn-default</code> to get the \"default\" button.</li>\n      <li><code>.container</code> and <code>.row</code> are now fluid (percentage-based).</li>\n      <li>Images are no longer responsive by default. Use <code>.img-responsive</code> for fluid <code>&lt;img&gt;</code> size.</li>\n      <li>The icons, now <code>.glyphicon</code>, are now font based. Icons also require a base and icon class (e.g. <code>.glyphicon .glyphicon-asterisk</code>).</li>\n      <li>Typeahead has been dropped, in favor of using <a href=\"http://twitter.github.io/typeahead.js/\">Twitter Typeahead</a>.</li>\n      <li>Modal markup has changed significantly. The <code>.modal-header</code>, <code>.modal-body</code>, and <code>.modal-footer</code> sections are now wrapped in <code>.modal-content</code> and <code>.modal-dialog</code> for better mobile styling and behavior.</li>\n      <li>The HTML loaded by the <code>remote</code> modal option is now injected into the <code>.modal</code> instead of into the <code>.modal-body</code>. This allows you to also easily vary the header and footer of the modal, not just the modal body.</li>\n      <li>JavaScript events are namespaced. For example, to handle the modal \"show\" event, use <code>'show.bs.modal'</code>. For tabs \"shown\" use <code>'shown.bs.tab'</code>, etc.</li>\n    </ul>\n    <p>For more information on upgrading to v3.0, and code snippets from the community, see <a href=\"http://bootply.com/\">Bootply</a>.</p>\n  </div>\n\n\n  <!-- Browser support\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"browsers\">Browser support</h1>\n    </div>\n    <p class=\"lead\">Bootstrap is built to work best in the latest desktop and mobile browsers, meaning older browsers might display differently styled, though fully functional, renderings of certain components.</p>\n\n    <h3>Supported browsers</h3>\n    <p>Specifically, we support the latest versions of the following:</p>\n    <ul>\n      <li>Chrome (Mac, Windows, iOS, and Android)</li>\n      <li>Safari (Mac and iOS only, as the Windows version is being abandoned)</li>\n      <li>Firefox (Mac, Windows)</li>\n      <li>Internet Explorer</li>\n      <li>Opera (Mac, Windows)</li>\n    </ul>\n    <p>Unofficially, Bootstrap should look and behave well enough in Chromium and Chrome for Linux, Firefox for Linux, and Internet Explorer 7, though they are not officially supported.</p>\n\n    <h3>Internet Explorer 8 and 9</h3>\n    <p>Internet Explorer 8 and 9 are also supported, however, please be aware that some CSS3 properties and HTML5 elements are not fully supported by these browsers. In addition, <strong>Internet Explorer 8 requires the use of <a href=\"https://github.com/scottjehl/Respond\">Respond.js</a> to enable media query support.</strong></p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n          <tr>\n            <th scope=\"col\" class=\"col-xs-4\">Feature</th>\n            <th scope=\"col\" class=\"col-xs-4\">Internet Explorer 8</th>\n            <th scope=\"col\" class=\"col-xs-4\">Internet Explorer 9</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <th scope=\"row\"><code>border-radius</code></th>\n            <td class=\"text-danger\"><span class=\"glyphicon glyphicon-remove\"></span> Not supported</td>\n            <td class=\"text-success\"><span class=\"glyphicon glyphicon-ok\"></span> Supported</td>\n          </tr>\n          <tr>\n            <th scope=\"row\"><code>box-shadow</code></th>\n            <td class=\"text-danger\"><span class=\"glyphicon glyphicon-remove\"></span> Not supported</td>\n            <td class=\"text-success\"><span class=\"glyphicon glyphicon-ok\"></span> Supported</td>\n          </tr>\n          <tr>\n            <th scope=\"row\"><code>transform</code></th>\n            <td class=\"text-danger\"><span class=\"glyphicon glyphicon-remove\"></span> Not supported</td>\n            <td class=\"text-success\"><span class=\"glyphicon glyphicon-ok\"></span> Supported, with <code>-ms</code> prefix</td>\n          </tr>\n          <tr>\n            <th scope=\"row\"><code>transition</code></th>\n            <td colspan=\"2\" class=\"text-danger\"><span class=\"glyphicon glyphicon-remove\"></span> Not supported</td>\n          </tr>\n        </tbody>\n        <tbody>\n          <tr>\n            <th scope=\"row\"><code>placeholder</code></th>\n            <td colspan=\"2\" class=\"text-danger\"><span class=\"glyphicon glyphicon-remove\"></span> Not supported</td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n\n    <p>Visit <a href=\"http://caniuse.com/\">Can I use...</a> for details on browser support of CSS3 and HTML5 features.</p>\n\n    <h3>Internet Explorer 8 and Respond.js</h3>\n    <p>Beware of the following caveats when using Respond.js in your development and production environments for Internet Explorer 8.</p>\n    <h4 id=\"respond-js-x-domain\">Respond.js and cross-domain CSS</h4>\n    <p>Using Respond.js with CSS hosted on a different (sub)domain (for example, on a CDN) requires some additional setup. <a href=\"https://github.com/scottjehl/Respond/blob/master/README.md#cdnx-domain-setup\">See the Respond.js docs</a> for details.</p>\n    <h4 id=\"respond-file-proto\">Respond.js and <code>file://</code></h4>\n    <p>Due to browser security rules, Respond.js doesn't work with pages viewed via the <code>file://</code> protocol (like when opening a local HTML file). To test responsive features in IE8, view your pages over HTTP(S). <a href=\"https://github.com/scottjehl/Respond/blob/master/README.md#support--caveats\">See the Respond.js docs</a> for details.</p>\n    <h4 id=\"respond-import\">Respond.js and <code>@import</code></h4>\n    <p>Respond.js doesn't work with CSS that's referenced via <code>@import</code>. In particular, some Drupal configurations are known to use <code>@import</code>. <a href=\"https://github.com/scottjehl/Respond/blob/master/README.md#support--caveats\">See the Respond.js docs</a> for details.</p>\n\n    <h3>Internet Explorer 8 and box-sizing</h3>\n    <p>IE8 does not fully support <code>box-sizing: border-box;</code> when combined with <code>min-width</code>, <code>max-width</code>, <code>min-height</code>, or <code>max-height</code>. For that reason, as of v3.0.1, we no longer use <code>max-width</code> on <code>.container</code>s.</p>\n\n    <h3 id=\"ie-compat-modes\">IE Compatibility modes</h3>\n    <p>Bootstrap is not supported in the old Internet Explorer compatibility modes. To be sure you're using the latest rendering mode for IE, consider including the appropriate <code>&lt;meta&gt;</code> tag in your pages:</p>\n{% highlight html %}\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n{% endhighlight %}\n    <p>This tag is included in all docs pages and examples to ensure the best rendering possible in each supported version of Internet Explorer.</p>\n    <p>See <a href=\"http://stackoverflow.com/questions/6771258/whats-the-difference-if-meta-http-equiv-x-ua-compatible-content-ie-edge\">this StackOverflow question</a> for more information.</p>\n\n    <h3 id=\"ie-10-width\">Internet Explorer 10 in Windows 8 and Windows Phone 8</h3>\n    <p>Internet Explorer 10 doesn't differentiate <strong>device width</strong> from <strong>viewport width</strong>, and thus doesn't properly apply the media queries in Bootstrap's CSS. Normally you'd just add a quick snippet of CSS to fix this:</p>\n{% highlight css %}\n@-ms-viewport       { width: device-width; }\n{% endhighlight %}\n    <p>However, this doesn't work as it causes Windows Phone 8 devices to show a mostly desktop view instead of narrow \"phone\" view. To address this, you'll need to <strong>include the following CSS and JavaScript to work around the bug until Microsoft issues a fix</strong>.</p>\n{% highlight css %}\n@-webkit-viewport   { width: device-width; }\n@-moz-viewport      { width: device-width; }\n@-ms-viewport       { width: device-width; }\n@-o-viewport        { width: device-width; }\n@viewport           { width: device-width; }\n{% endhighlight %}\n\n{% highlight js %}\nif (navigator.userAgent.match(/IEMobile\\/10\\.0/)) {\n  var msViewportStyle = document.createElement(\"style\")\n  msViewportStyle.appendChild(\n    document.createTextNode(\n      \"@-ms-viewport{width:auto!important}\"\n    )\n  )\n  document.getElementsByTagName(\"head\")[0].appendChild(msViewportStyle)\n}\n{% endhighlight %}\n    <p>For more information and usage guidelines, read <a href=\"http://timkadlec.com/2013/01/windows-phone-8-and-device-width/\">Windows Phone 8 and Device-Width</a>.</p>\n    <p>As a heads up, we include this in the Bootstrap docs as an example.</p>\n\n    <h3 id=\"safari-percentages\">Safari percent rounding</h3>\n    <p>As of Safari v6.1 for OS X and Safari for iOS v7.0.1, Safari's rendering engine has some trouble with the number of decimal places used in our <code>.col-*-1</code> grid classes. So if you have 12 individual grid columns, you'll notice that they come up short compared to other rows of columns. We can't do much here (<a href=\"https://github.com/twbs/bootstrap/issues/9282\">see #9282</a>) but you do have some options:</p>\n    <ul>\n      <li>Add <code>.pull-right</code> to your last grid column to get the hard-right alignment</li>\n      <li>Tweak your percentages manually to get the perfect rounding for Safari (more difficult than the first option)</li>\n    </ul>\n    <p>We'll keep an eye on this though and update our code if we have an easy solution.</p>\n\n    <h3 id=\"mobile-modals\">Modals and mobile devices</h3>\n    <h4>Overflow and scrolling</h4>\n    <p>Support for <code>overflow: hidden</code> on the <code>&lt;body&gt;</code> element is quite limited in iOS and Android. To that end, when you scroll past the top or bottom of a modal in either of those devices' browsers, the <code>&lt;body&gt;</code> content will begin to scroll.</p>\n    <h4>Virtual keyboards</h4>\n    <p>Also, note that if you're using inputs in your modal – iOS has a rendering bug that doesn't update the position of fixed elements when the virtual keyboard is triggered. A few workarounds for this include transforming your elements to <code>position: absolute</code> or invoking a timer on focus to try to correct the positioning manually. This is not handled by Bootstrap, so it is up to you to decide which solution is best for your application.</p>\n\n    <h3 id=\"browser-zoom\">Browser zooming</h3>\n    <p>Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.</p>\n  </div>\n\n\n  <!-- Third party support\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"third-parties\">Third party support</h1>\n    </div>\n    <p class=\"lead\">While we don't officially support any third party plugins or add-ons, we do offer some useful advice to help avoid potential issues in your projects.</p>\n\n    <h3>Box-sizing</h3>\n    <p>Some third party software, including Google Maps and Google Custom Search Engine, conflict with Bootstrap due to <code>* { box-sizing: border-box; }</code>, a rule which makes it so <code>padding</code> does not affect the final computed width of an element. Learn more about <a href=\"http://css-tricks.com/box-sizing/\">box model and sizing at CSS Tricks</a>.</p>\n    <p>Depending on the context, you may override as-needed (Option 1) or reset the box-sizing for entire regions (Option 2).</p>\n{% highlight css %}\n/* Box-sizing resets\n *\n * Reset individual elements or override regions to avoid conflicts due to\n * global box model settings of Bootstrap. Two options, individual overrides and\n * region resets, are available as plain CSS and uncompiled LESS formats.\n */\n\n/* Option 1A: Override a single element's box model via CSS */\n.element {\n  -webkit-box-sizing: content-box;\n     -moz-box-sizing: content-box;\n          box-sizing: content-box;\n}\n\n/* Option 1B: Override a single element's box model by using a Bootstrap LESS mixin */\n.element {\n  .box-sizing(content-box);\n}\n\n/* Option 2A: Reset an entire region via CSS */\n.reset-box-sizing,\n.reset-box-sizing *,\n.reset-box-sizing *:before,\n.reset-box-sizing *:after {\n  -webkit-box-sizing: content-box;\n     -moz-box-sizing: content-box;\n          box-sizing: content-box;\n}\n\n/* Option 2B: Reset an entire region with a custom LESS mixin */\n.reset-box-sizing {\n  &,\n  *,\n  *:before,\n  *:after {\n    .box-sizing(content-box);\n  }\n}\n.element {\n  .reset-box-sizing();\n}\n{% endhighlight %}\n  </div>\n\n\n  <!-- Accessibility\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"accessibility\">Accessibility</h1>\n    </div>\n    <p class=\"lead\">Bootstrap follows common web standards, and with minimal extra effort, can be used to create sites that are accessible to those using <abbr title=\"Assistive Technology\" class=\"initialism\">AT</abbr>.</p>\n\n    <h3>Skip navigation</h3>\n    <p>If your navigation contains many links and comes before the main content in the DOM, add a <code>Skip to main content</code> link immediately after your opening <code>&lt;body&gt;</code> tag. <a href=\"http://a11yproject.com/posts/skip-nav-links/\">(read why)</a></p>\n{% highlight html %}\n<body>\n  <a href=\"#content\" class=\"sr-only\">Skip to main content</a>\n  <div class=\"container\" id=\"content\">\n    The main page content.\n  </div>\n</body>\n{% endhighlight %}\n\n    <h3>Nested headings</h3>\n    <p>When nesting headings (<code>&lt;h1&gt;</code> - <code>&lt;h6&gt;</code>), your primary document header should be an <code>&lt;h1&gt;</code>. Subsequent headings should make logical use of <code>&lt;h2&gt;</code> - <code>&lt;h6&gt;</code> such that screen readers can construct a table of contents for your pages.</p>\n    <p>Learn more at <a href=\"http://squizlabs.github.io/HTML_CodeSniffer/Standards/Section508/\">HTML CodeSniffer</a> and <a href=\"http://accessibility.psu.edu/headings\">Penn State's AccessAbility</a>.</p>\n\n    <h3>Additional resources</h3>\n    <ul>\n      <li><a href=\"https://github.com/squizlabs/HTML_CodeSniffer\">\"HTML Codesniffer\" bookmarklet for identifying accessibility issues</a></li>\n      <li><a href=\"http://a11yproject.com/\">The A11Y Project</a></li>\n      <li><a href=\"https://developer.mozilla.org/en-US/docs/Accessibility\">MDN accessibility documentation</a></li>\n    </ul>\n  </div>\n\n\n  <!-- License FAQs\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"license-faqs\">License FAQs</h1>\n    </div>\n    <p class=\"lead\">Bootstrap is released under the Apache 2 license and is copyright {{ site.time | date: \"%Y\" }} Twitter. Boiled down to smaller chunks, it can be described with the following conditions.</p>\n\n    <div class=\"row\">\n      <div class=\"col-12 col-lg-6\">\n        <h4>It allows you to:</h4>\n        <ul>\n          <li>Freely download and use Bootstrap, in whole or in part, for personal, company internal or commercial purposes</li>\n          <li>Use Bootstrap in packages or distributions that you create</li>\n        </ul>\n      </div>\n      <div class=\"col-12 col-lg-6\">\n        <h4>It forbids you to:</h4>\n        <ul>\n          <li>Redistribute any piece of Bootstrap without proper attribution</li>\n          <li>Use any marks owned by Twitter in any way that might state or imply that Twitter endorses your distribution</li>\n          <li>Use any marks owned by Twitter in any way that might state or imply that you created the Twitter software in question</li>\n        </ul>\n      </div>\n    </div>\n    <div class=\"row\">\n      <div class=\"col-12 col-lg-6\">\n        <h4>It requires you to:</h4>\n        <ul>\n          <li>Include a copy of the license in any redistribution you may make that includes Bootstrap</li>\n          <li>Provide clear attribution to Twitter for any distributions that include Bootstrap</li>\n        </ul>\n      </div>\n      <div class=\"col-12 col-lg-6\">\n        <h4>It does not require you to:</h4>\n        <ul>\n          <li>Include the source of Bootstrap itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it</li>\n          <li>Submit changes that you make to Bootstrap back to the Bootstrap project (though such feedback is encouraged)</li>\n        </ul>\n      </div>\n    </div>\n    <p>The full Bootstrap license is located <a href=\"{{ site.repo }}/blob/master/README.md\">in the project repository</a> for more information.</p>\n  </div><!-- /.bs-docs-section -->\n\n\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"customizing\">Customizing Bootstrap</h1>\n    </div>\n    <p class=\"lead\">Bootstrap is best maintained when you treat it as a separate and independently-versioned dependency in your development environment. Doing this makes upgrading Bootstrap easier in the future.</p>\n\n    <p>Once you've downloaded and included Bootstrap's styles and scripts, you can customize its components. Just create a new stylesheet (LESS, if you like, or just plain CSS) to house your customizations.</p>\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Compiled or minified?</h4>\n      <p>Unless you plan on reading the CSS, go with minified stylesheets. It's the same code, just compacted. Minified styles use less bandwidth, which is good, especially in production environments.</p>\n    </div>\n\n    <p>From there, include whatever Bootstrap components and HTML content you need to create templates for your site's pages.</p>\n\n    <h3>Customizing components</h3>\n    <p>You can customize components to varying degrees, but most fall into two camps: <em>light customizations</em> and <em>overhauls</em>. Plenty examples of both are available from third parties.</p>\n    <p>We define <em>light customizations</em> as superficial changes, for example, color and font changes to existing Bootstrap components. A light customization example is the <a href=\"http://translate.twitter.com\">Twitter Translation Center</a> (coded by <a href=\"https://twitter.com/mdo\">@mdo</a>). Let's look at how to implement the custom button we wrote for this site, <code>.btn-ttc</code>.</p>\n    <p>The stock Bootstrap buttons require just one class, <code>.btn</code>, to start.  Here we extend the <code>.btn</code> style with a new modifier class, <code>.btn-ttc</code>, that we will create. This gives us a distinct custom look with minimal effort.</p>\n    <p>Our customized button will be coded like this:</p>\n{% highlight html %}\n<button type=\"button\" class=\"btn btn-ttc\">Save changes</button>\n{% endhighlight %}\n    <p>Note how <code>.btn-ttc</code> is added to the standard <code>.btn</code> class.</p>\n\n    <p>To implement this, in the custom stylesheet, add the following CSS:</p>\n\n{% highlight css %}\n/* Custom button\n-------------------------------------------------- */\n\n/* Override base .btn styles */\n/* Apply text and background changes to three key states: default, hover, and active (click). */\n.btn-ttc,\n.btn-ttc:hover,\n.btn-ttc:active {\n  color: white;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #007da7;\n}\n\n/* Apply the custom-colored gradients */\n/* Note: you'll need to include all the appropriate gradients for various browsers and standards. */\n.btn-ttc {\n  background-repeat: repeat-x;\n  background-image: linear-gradient(top, #009ED2 0%, #007DA7 100%);\n  ...\n}\n\n/* Set the hover state */\n/* An easy hover state is just to move the gradient up a small amount. Add other embellishments as you see fit. */\n.btn-ttc:hover {\n  background-position: 0 -15px;\n}\n{% endhighlight %}\n\n    <p>In short: Look to the style source and duplicate the selectors you need for your modifications.</p>\n    <p><strong>In summary, here's the basic workflow:</strong></p>\n    <ul>\n      <li>For each element you want to customize, find its code in the compiled Bootstrap CSS.</li>\n      <li>Copy the component's selector and styles and paste them in your custom stylesheet. For instance, to customize the navbar background, just copy the <code>.navbar</code> style specification.</li>\n      <li>In your custom stylesheet, edit the CSS you just copied from the Bootstrap source. No need for prepending additional classes, or appending <code>!important</code> here.  Keep it simple.</li>\n      <li>Rinse and repeat until you're happy with your customizations.</li>\n    </ul>\n    <p>Once you are comfortable performing light customizations, visual overhauls are just as straightforward. For a site like <a href=\"http://yourkarma.com\">Karma</a>, which uses Bootstrap as a CSS reset with heavy modifications, more extensive work is involved.  But the same principle applies: include Bootstrap's default stylesheet first, then apply your custom stylesheet.</p>\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Alternate customization methods</h4>\n      <p>While not recommended for folks new to Bootstrap, you may use one of two alternate methods for customization. The first is modifying the source <code>.less</code> files (making upgrades super difficult), and the second is mapping source LESS code to <a href=\"http://ruby.bvision.com/blog/please-stop-embedding-bootstrap-classes-in-your-html\">your own classes via mixins</a>. For the time being, neither of those options are documented here.</p>\n    </div>\n\n    <h3>Removing potential bloat</h3>\n    <p>Not all sites and applications need to make use of everything Bootstrap has to offer, especially in production environments where optimizing bandwidth is an issue. We encourage you to remove whatever is unused with our <a href=\"../customize/\">Customizer</a>.</p>\n    <p>Using the Customizer, simply uncheck any component, feature, or asset you don't need. Hit download and swap out the default Bootstrap files with these newly customized ones. You'll get vanilla Bootstrap, but without the features *you* deem unnecessary. All custom builds include compiled and minified versions, so use whichever works for you.</p>\n\n  </div>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/index.html",
    "content": "---\nlayout: home\ntitle: Bootstrap\nbase_url: \"./\"\n---\n\n<main class=\"bs-masthead\" id=\"content\" role=\"main\">\n  <div class=\"container\">\n    <h1>Bootstrap</h1>\n    <p class=\"lead\">Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.</p>\n    <p>\n      <a href=\"{{ site.download_dist }}\" class=\"btn btn-outline-inverse btn-lg\" onclick=\"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}']);\">Download Bootstrap</a>\n      <a href=\"{{ site.download_source }}\" class=\"btn btn-outline-inverse btn-lg\" onclick=\"_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download {{ site.current_version source }}']);\">Download source</a>\n    </p>\n  </div>\n</main>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/javascript.html",
    "content": "---\nlayout: default\ntitle: JavaScript\nslug: js\nlead: \"Bring Bootstrap's components to life with over a dozen custom jQuery plugins. Easily include them all, or one by one.\"\nbase_url: \"../\"\n---\n\n\n  <!-- Overview\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"js-overview\">Overview</h1>\n    </div>\n\n    <h3 id=\"js-individual-compiled\">Individual or compiled</h3>\n    <p>Plugins can be included individually (using Bootstrap's individual <code>*.js</code> files), or all at once (using <code>bootstrap.js</code> or the minified <code>bootstrap.min.js</code>).</p>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Do not attempt to include both.</h4>\n      <p>Both <code>bootstrap.js</code> and <code>bootstrap.min.js</code> contain all plugins in a single file.</p>\n    </div>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Plugin dependencies</h4>\n      <p>Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that all plugins depend on jQuery (this means jQuery must be included <strong>before</strong> the plugin files). <a href=\"{{ site.repo }}/blob/v{{ site.current_version }}/bower.json\">Consult our <code>bower.json</code></a> to see which versions of jQuery are supported.</p>\n    </div>\n\n    <h3 id=\"js-data-attrs\">Data attributes</h3>\n    <p>You can use all Bootstrap plugins purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first-class API and should be your first consideration when using a plugin.</p>\n\n    <p>That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the document namespaced with <code>data-api</code>. This looks like this:\n{% highlight js %}\n$(document).off('.data-api')\n{% endhighlight %}\n\n    <p>Alternatively, to target a specific plugin, just include the plugin's name as a namespace along with the data-api namespace like this:</p>\n{% highlight js %}\n$(document).off('.alert.data-api')\n{% endhighlight %}\n\n    <h3 id=\"js-programmatic-api\">Programmatic API</h3>\n    <p>We also believe you should be able to use all Bootstrap plugins purely through the JavaScript API. All public APIs are single, chainable methods, and return the collection acted upon.</p>\n{% highlight js %}\n$('.btn.danger').button('toggle').addClass('fat')\n{% endhighlight %}\n\n    <p>All methods should accept an optional options object, a string which targets a particular method, or nothing (which initiates a plugin with default behavior):</p>\n{% highlight js %}\n$('#myModal').modal()                      // initialized with defaults\n$('#myModal').modal({ keyboard: false })   // initialized with no keyboard\n$('#myModal').modal('show')                // initializes and invokes show immediately</p>\n{% endhighlight %}\n\n    <p>Each plugin also exposes its raw constructor on a <code>Constructor</code> property: <code>$.fn.popover.Constructor</code>. If you'd like to get a particular plugin instance, retrieve it directly from an element: <code>$('[rel=popover]').data('popover')</code>.</p>\n\n    <h3 id=\"js-noconflict\">No conflict</h3>\n    <p>Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call <code>.noConflict</code> on the plugin you wish to revert the value of.</p>\n{% highlight js %}\nvar bootstrapButton = $.fn.button.noConflict() // return $.fn.button to previously assigned value\n$.fn.bootstrapBtn = bootstrapButton            // give $().bootstrapBtn the Bootstrap functionality\n{% endhighlight %}\n\n    <h3 id=\"js-events\">Events</h3>\n    <p>Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p>\n    <p>As of 3.0.0, all Bootstrap events are namespaced.</p>\n    <p>All infinitive events provide <code>preventDefault</code> functionality. This provides the ability to stop the execution of an action before it starts.</p>\n{% highlight js %}\n$('#myModal').on('show.bs.modal', function (e) {\n  if (!data) return e.preventDefault() // stops modal from being shown\n})\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-warning\" id=\"callout-third-party-libs\">\n      <h4>Third-party libraries</h4>\n      <p><strong>Bootstrap does not officially support third-party JavaScript libraries</strong> like Prototype or jQuery UI. Despite <code>.noConflict</code> and namespaced events, there may be compatibility problems that you need to fix on your own. Ask on the <a href=\"http://groups.google.com/group/twitter-bootstrap\">mailing list</a> if you need help.</p>\n    </div>\n  </div>\n\n\n\n  <!-- Transitions\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"transitions\">Transitions <small>transition.js</small></h1>\n    </div>\n    <h3>About transitions</h3>\n    <p>For simple transition effects, include <code>transition.js</code> once alongside the other JS files. If you're using the compiled (or minified) <code>bootstrap.js</code>, there is no need to include this&mdash;it's already there.</p>\n    <h3>What's inside</h3>\n    <p>Transition.js is a basic helper for <code>transitionEnd</code> events as well as a CSS transition emulator. It's used by the other plugins to check for CSS transition support and to catch hanging transitions.</p>\n  </div>\n\n\n\n  <!-- Modal\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"modals\">Modals <small>modal.js</small></h1>\n    </div>\n\n    <h2 id=\"modals-examples\">Examples</h2>\n    <p>Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.</p>\n\n    <div class=\"bs-callout bs-callout-warning\" id=\"callout-stacked-modals\">\n      <h4>Overlapping modals not supported</h4>\n      <p>Be sure not to open a modal while another is still visible. Showing more than one modal at a time requires custom code.</p>\n    </div>\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Mobile device caveats</h4>\n      <p>There are some caveats regarding using modals on mobile devices. <a href=\"{{ page.base_url }}getting-started#mobile-modals\">See our browser support docs</a> for details.</p>\n    </div>\n\n    <h3>Static example</h3>\n    <p>A rendered modal with header, body, and set of actions in the footer.</p>\n    <div class=\"bs-example bs-example-modal\">\n      <div class=\"modal\">\n        <div class=\"modal-dialog\">\n          <div class=\"modal-content\">\n            <div class=\"modal-header\">\n              <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>\n              <h4 class=\"modal-title\">Modal title</h4>\n            </div>\n            <div class=\"modal-body\">\n              <p>One fine body&hellip;</p>\n            </div>\n            <div class=\"modal-footer\">\n              <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n              <button type=\"button\" class=\"btn btn-primary\">Save changes</button>\n            </div>\n          </div><!-- /.modal-content -->\n        </div><!-- /.modal-dialog -->\n      </div><!-- /.modal -->\n    </div><!-- /example -->\n{% highlight html %}\n<div class=\"modal fade\">\n  <div class=\"modal-dialog\">\n    <div class=\"modal-content\">\n      <div class=\"modal-header\">\n        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>\n        <h4 class=\"modal-title\">Modal title</h4>\n      </div>\n      <div class=\"modal-body\">\n        <p>One fine body&hellip;</p>\n      </div>\n      <div class=\"modal-footer\">\n        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n        <button type=\"button\" class=\"btn btn-primary\">Save changes</button>\n      </div>\n    </div><!-- /.modal-content -->\n  </div><!-- /.modal-dialog -->\n</div><!-- /.modal -->\n{% endhighlight %}\n\n    <h3>Live demo</h3>\n    <p>Toggle a modal via JavaScript by clicking the button below. It will slide down and fade in from the top of the page.</p>\n    <!-- sample modal content -->\n    <div id=\"myModal\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">\n      <div class=\"modal-dialog\">\n        <div class=\"modal-content\">\n\n          <div class=\"modal-header\">\n            <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>\n            <h4 class=\"modal-title\" id=\"myModalLabel\">Modal Heading</h4>\n          </div>\n          <div class=\"modal-body\">\n            <h4>Text in a modal</h4>\n            <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>\n\n            <h4>Popover in a modal</h4>\n            <p>This <a href=\"#\" role=\"button\" class=\"btn btn-default popover-test\" title=\"A Title\" data-content=\"And here's some amazing content. It's very engaging. right?\">button</a> should trigger a popover on click.</p>\n\n            <h4>Tooltips in a modal</h4>\n            <p><a href=\"#\" class=\"tooltip-test\" title=\"Tooltip\">This link</a> and <a href=\"#\" class=\"tooltip-test\" title=\"Tooltip\">that link</a> should have tooltips on hover.</p>\n\n            <hr>\n\n            <h4>Overflowing text to show scroll behavior</h4>\n            <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>\n            <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>\n            <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>\n            <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>\n            <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>\n            <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>\n            <p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>\n            <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>\n            <p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>\n          </div>\n          <div class=\"modal-footer\">\n            <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n            <button type=\"button\" class=\"btn btn-primary\">Save changes</button>\n          </div>\n\n        </div><!-- /.modal-content -->\n      </div><!-- /.modal-dialog -->\n    </div><!-- /.modal -->\n\n    <div class=\"bs-example\" style=\"padding-bottom: 24px;\">\n      <button class=\"btn btn-primary btn-lg\" data-toggle=\"modal\" data-target=\"#myModal\">\n        Launch demo modal\n      </button>\n    </div><!-- /example -->\n{% highlight html %}\n<!-- Button trigger modal -->\n<button class=\"btn btn-primary btn-lg\" data-toggle=\"modal\" data-target=\"#myModal\">\n  Launch demo modal\n</button>\n\n<!-- Modal -->\n<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">\n  <div class=\"modal-dialog\">\n    <div class=\"modal-content\">\n      <div class=\"modal-header\">\n        <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-hidden=\"true\">&times;</button>\n        <h4 class=\"modal-title\" id=\"myModalLabel\">Modal title</h4>\n      </div>\n      <div class=\"modal-body\">\n        ...\n      </div>\n      <div class=\"modal-footer\">\n        <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n        <button type=\"button\" class=\"btn btn-primary\">Save changes</button>\n      </div>\n    </div><!-- /.modal-content -->\n  </div><!-- /.modal-dialog -->\n</div><!-- /.modal -->\n{% endhighlight %}\n\n\n    <div class=\"bs-callout bs-callout-warning\">\n      <h4>Make modals accessible</h4>\n      <p>Be sure to add <code>role=\"dialog\"</code> to <code>.modal</code>, <code>aria-labelledby=\"myModalLabel\"</code> attribute to reference the modal title, and <code>aria-hidden=\"true\"</code> to tell assistive technologies to skip the modal's DOM elements.</p>\n      <p>Additionally, you may give a description of your modal dialog with <code>aria-describedby</code> on <code>.modal</code>.</p>\n    </div>\n\n    <h2 id=\"modals-usage\">Usage</h2>\n    <p>The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds <code>.model-open</code> to the <code>&lt;body&gt;</code> to override default scrolling behavior and generates a <code>.modal-backdrop</code> to provide a click area for dismissing shown modals when clicking outside the modal.</p>\n\n    <h3>Via data attributes</h3>\n    <p>Activate a modal without writing JavaScript. Set <code>data-toggle=\"modal\"</code> on a controller element, like a button, along with a <code>data-target=\"#foo\"</code> or <code>href=\"#foo\"</code> to target a specific modal to toggle.</p>\n{% highlight html %}\n<button type=\"button\" data-toggle=\"modal\" data-target=\"#myModal\">Launch modal</button>\n{% endhighlight %}\n\n    <h3>Via JavaScript</h3>\n    <p>Call a modal with id <code>myModal</code> with a single line of JavaScript:</p>\n    {% highlight js %}$('#myModal').modal(options){% endhighlight %}\n\n    <h3>Options</h3>\n    <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-backdrop=\"\"</code>.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 100px;\">Name</th>\n           <th style=\"width: 50px;\">type</th>\n           <th style=\"width: 50px;\">default</th>\n           <th>description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>backdrop</td>\n           <td>boolean or the string <code>'static'</code></td>\n           <td>true</td>\n           <td>Includes a modal-backdrop element. Alternatively, specify <code>static</code> for a backdrop which doesn't close the modal on click.</td>\n         </tr>\n         <tr>\n           <td>keyboard</td>\n           <td>boolean</td>\n           <td>true</td>\n           <td>Closes the modal when escape key is pressed</td>\n         </tr>\n         <tr>\n           <td>show</td>\n           <td>boolean</td>\n           <td>true</td>\n           <td>Shows the modal when initialized.</td>\n         </tr>\n         <tr>\n           <td>remote</td>\n           <td>path</td>\n           <td>false</td>\n           <td><p>If a remote URL is provided, content will be loaded via jQuery's <code>load</code> method and injected into the root of the modal element. If you're using the data-api, you may alternatively use the <code>href</code> attribute to specify the remote source. An example of this is shown below:</p>\n{% highlight html %}\n<a data-toggle=\"modal\" href=\"remote.html\" data-target=\"#modal\">Click me</a>\n{% endhighlight %}\n           </td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n\n    <h3>Methods</h3>\n\n    <h4>.modal(options)</h4>\n    <p>Activates your content as a modal. Accepts an optional options <code>object</code>.</p>\n{% highlight js %}\n$('#myModal').modal({\n  keyboard: false\n})\n{% endhighlight %}\n\n    <h4>.modal('toggle')</h4>\n    <p>Manually toggles a modal. <strong>Returns to the caller before the modal has actually been shown or hidden</strong> (i.e. before the <code>shown.bs.modal</code> or <code>hidden.bs.modal</code> event occurs).</p>\n    {% highlight js %}$('#myModal').modal('toggle'){% endhighlight %}\n\n    <h4>.modal('show')</h4>\n    <p>Manually opens a modal. <strong>Returns to the caller before the modal has actually been shown</strong> (i.e. before the <code>shown.bs.modal</code> event occurs).</p>\n    {% highlight js %}$('#myModal').modal('show'){% endhighlight %}\n\n    <h4>.modal('hide')</h4>\n    <p>Manually hides a modal. <strong>Returns to the caller before the modal has actually been hidden</strong> (i.e. before the <code>hidden.bs.modal</code> event occurs).</p>\n    {% highlight js %}$('#myModal').modal('hide'){% endhighlight %}\n\n    <h3>Events</h3>\n    <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 150px;\">Event Type</th>\n           <th>Description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>show.bs.modal</td>\n           <td>This event fires immediately when the <code>show</code> instance method is called. If caused by a click, the clicked element is available as the <code>relatedTarget</code> property of the event.</td>\n         </tr>\n         <tr>\n           <td>shown.bs.modal</td>\n           <td>This event is fired when the modal has been made visible to the user (will wait for CSS transitions to complete). If caused by a click, the clicked element is available as the <code>relatedTarget</code> property of the event.</td>\n         </tr>\n         <tr>\n           <td>hide.bs.modal</td>\n           <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td>\n         </tr>\n         <tr>\n           <td>hidden.bs.modal</td>\n           <td>This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete).</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n{% highlight js %}\n$('#myModal').on('hidden.bs.modal', function (e) {\n  // do something...\n})\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Dropdowns\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"dropdowns\">Dropdowns <small>dropdown.js</small></h1>\n    </div>\n\n    <h2 id=\"dropdowns-examples\">Examples</h2>\n    <p>Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.</p>\n\n    <h3>Within a navbar</h3>\n    <div class=\"bs-example\">\n      <nav id=\"navbar-example\" class=\"navbar navbar-default navbar-static\" role=\"navigation\">\n        <div class=\"navbar-header\">\n          <button class=\"navbar-toggle\" type=\"button\" data-toggle=\"collapse\" data-target=\".bs-js-navbar-collapse\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project Name</a>\n        </div>\n        <div class=\"collapse navbar-collapse bs-js-navbar-collapse\">\n          <ul class=\"nav navbar-nav\">\n            <li class=\"dropdown\">\n              <a id=\"drop1\" href=\"#\" role=\"button\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"drop1\">\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Action</a></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Another action</a></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Something else here</a></li>\n                <li role=\"presentation\" class=\"divider\"></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Separated link</a></li>\n              </ul>\n            </li>\n            <li class=\"dropdown\">\n              <a href=\"#\" id=\"drop2\" role=\"button\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown 2 <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"drop2\">\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Action</a></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Another action</a></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Something else here</a></li>\n                <li role=\"presentation\" class=\"divider\"></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n          <ul class=\"nav navbar-nav navbar-right\">\n            <li id=\"fat-menu\" class=\"dropdown\">\n              <a href=\"#\" id=\"drop3\" role=\"button\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown 3 <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"drop3\">\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Action</a></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Another action</a></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Something else here</a></li>\n                <li role=\"presentation\" class=\"divider\"></li>\n                <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Separated link</a></li>\n              </ul>\n            </li>\n          </ul>\n        </div><!-- /.nav-collapse -->\n      </nav> <!-- /navbar-example -->\n    </div> <!-- /example -->\n\n    <h3>Within tabs</h3>\n    <div class=\"bs-example\">\n      <ul class=\"nav nav-pills\">\n        <li class=\"active\"><a href=\"#\">Regular link</a></li>\n        <li class=\"dropdown\">\n          <a id=\"drop4\" role=\"button\" data-toggle=\"dropdown\" href=\"#\">Dropdown <b class=\"caret\"></b></a>\n          <ul id=\"menu1\" class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"drop4\">\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Action</a></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Another action</a></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Something else here</a></li>\n            <li role=\"presentation\" class=\"divider\"></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Separated link</a></li>\n          </ul>\n        </li>\n        <li class=\"dropdown\">\n          <a id=\"drop5\" role=\"button\" data-toggle=\"dropdown\" href=\"#\">Dropdown 2 <b class=\"caret\"></b></a>\n          <ul id=\"menu2\" class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"drop5\">\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Action</a></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Another action</a></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Something else here</a></li>\n            <li role=\"presentation\" class=\"divider\"></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Separated link</a></li>\n          </ul>\n        </li>\n        <li class=\"dropdown\">\n          <a id=\"drop6\" role=\"button\" data-toggle=\"dropdown\" href=\"#\">Dropdown 3 <b class=\"caret\"></b></a>\n          <ul id=\"menu3\" class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"drop6\">\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Action</a></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Another action</a></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Something else here</a></li>\n            <li role=\"presentation\" class=\"divider\"></li>\n            <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"http://twitter.com/fat\">Separated link</a></li>\n          </ul>\n        </li>\n      </ul> <!-- /tabs -->\n    </div> <!-- /example -->\n\n\n    <h2 id=\"dropdowns-usage\">Usage</h2>\n    <p>Via data attributes or JavaScript, the dropdown plugin toggles hidden content (dropdown menus) by toggling the <code>.open</code> class on the parent list item. When opened, the plugin also adds <code>.dropdown-backdrop</code> as a click area for closing dropdown menus when clicking outside the menu.</p>\n\n    <h3>Via data attributes</h3>\n    <p>Add <code>data-toggle=\"dropdown\"</code> to a link or button to toggle a dropdown.</p>\n{% highlight html %}\n<div class=\"dropdown\">\n  <a data-toggle=\"dropdown\" href=\"#\">Dropdown trigger</a>\n  <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dLabel\">\n    ...\n  </ul>\n</div>\n{% endhighlight %}\n          <p>To keep URLs intact, use the <code>data-target</code> attribute instead of <code>href=\"#\"</code>.</p>\n{% highlight html %}\n<div class=\"dropdown\">\n  <a id=\"dLabel\" role=\"button\" data-toggle=\"dropdown\" data-target=\"#\" href=\"/page.html\">\n    Dropdown <span class=\"caret\"></span>\n  </a>\n\n\n  <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dLabel\">\n    ...\n  </ul>\n</div>\n{% endhighlight %}\n\n    <h3>Via JavaScript</h3>\n    <p>Call the dropdowns via JavaScript:</p>\n{% highlight js %}\n$('.dropdown-toggle').dropdown()\n{% endhighlight %}\n\n    <h3>Options</h3>\n    <p><em>None</em></p>\n\n    <h3>Methods</h3>\n    <h4>$().dropdown('toggle')</h4>\n    <p>Toggles the dropdown menu of a given navbar or tabbed navigation.</p>\n\n    <h3>Events</h3>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n          <tr>\n            <th style=\"width: 150px;\">Event Type</th>\n            <th>Description</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>show.bs.dropdown</td>\n            <td>This event fires immediately when the show instance method is called.</td>\n          </tr>\n          <tr>\n            <td>shown.bs.dropdown</td>\n            <td>This event is fired when the dropdown has been made visible to the user (will wait for CSS transitions, to complete).</td>\n          </tr>\n          <tr>\n            <td>hide.bs.dropdown</td>\n            <td>This event is fired immediately when the hide instance method has been called.</td>\n          </tr>\n          <tr>\n            <td>hidden.bs.dropdown</td>\n            <td>This event is fired when the dropdown has finished being hidden from the user (will wait for CSS transitions, to complete).</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- ./bs-table-responsive -->\n{% highlight js %}\n$('#myDropdown').on('show.bs.dropdown', function () {\n  // do something…\n})\n{% endhighlight %}\n  </div>\n\n\n  <!-- ScrollSpy\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"scrollspy\">ScrollSpy <small>scrollspy.js</small></h1>\n    </div>\n\n\n    <h2 id=\"scrollspy-examples\">Example in navbar</h2>\n    <p>The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.</p>\n    <div class=\"bs-example\">\n      <nav id=\"navbar-example2\" class=\"navbar navbar-default navbar-static\" role=\"navigation\">\n        <div class=\"navbar-header\">\n          <button class=\"navbar-toggle\" type=\"button\" data-toggle=\"collapse\" data-target=\".bs-js-navbar-scrollspy\">\n            <span class=\"sr-only\">Toggle navigation</span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n            <span class=\"icon-bar\"></span>\n          </button>\n          <a class=\"navbar-brand\" href=\"#\">Project Name</a>\n        </div>\n        <div class=\"collapse navbar-collapse bs-js-navbar-scrollspy\">\n          <ul class=\"nav navbar-nav\">\n            <li><a href=\"#fat\">@fat</a></li>\n            <li><a href=\"#mdo\">@mdo</a></li>\n            <li class=\"dropdown\">\n              <a href=\"#\" id=\"navbarDrop1\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n              <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"navbarDrop1\">\n                <li><a href=\"#one\" tabindex=\"-1\">one</a></li>\n                <li><a href=\"#two\" tabindex=\"-1\">two</a></li>\n                <li class=\"divider\"></li>\n                <li><a href=\"#three\" tabindex=\"-1\">three</a></li>\n              </ul>\n            </li>\n          </ul>\n        </div>\n      </nav>\n      <div data-spy=\"scroll\" data-target=\"#navbar-example2\" data-offset=\"0\" class=\"scrollspy-example\">\n        <h4 id=\"fat\">@fat</h4>\n        <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>\n        <h4 id=\"mdo\">@mdo</h4>\n        <p>Veniam marfa mustache skateboard, adipisicing fugiat velit pitchfork beard. Freegan beard aliqua cupidatat mcsweeney's vero. Cupidatat four loko nisi, ea helvetica nulla carles. Tattooed cosby sweater food truck, mcsweeney's quis non freegan vinyl. Lo-fi wes anderson +1 sartorial. Carles non aesthetic exercitation quis gentrify. Brooklyn adipisicing craft beer vice keytar deserunt.</p>\n        <h4 id=\"one\">one</h4>\n        <p>Occaecat commodo aliqua delectus. Fap craft beer deserunt skateboard ea. Lomo bicycle rights adipisicing banh mi, velit ea sunt next level locavore single-origin coffee in magna veniam. High life id vinyl, echo park consequat quis aliquip banh mi pitchfork. Vero VHS est adipisicing. Consectetur nisi DIY minim messenger bag. Cred ex in, sustainable delectus consectetur fanny pack iphone.</p>\n        <h4 id=\"two\">two</h4>\n        <p>In incididunt echo park, officia deserunt mcsweeney's proident master cleanse thundercats sapiente veniam. Excepteur VHS elit, proident shoreditch +1 biodiesel laborum craft beer. Single-origin coffee wayfarers irure four loko, cupidatat terry richardson master cleanse. Assumenda you probably haven't heard of them art party fanny pack, tattooed nulla cardigan tempor ad. Proident wolf nesciunt sartorial keffiyeh eu banh mi sustainable. Elit wolf voluptate, lo-fi ea portland before they sold out four loko. Locavore enim nostrud mlkshk brooklyn nesciunt.</p>\n        <h4 id=\"three\">three</h4>\n        <p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>\n        <p>Keytar twee blog, culpa messenger bag marfa whatever delectus food truck. Sapiente synth id assumenda. Locavore sed helvetica cliche irony, thundercats you probably haven't heard of them consequat hoodie gluten-free lo-fi fap aliquip. Labore elit placeat before they sold out, terry richardson proident brunch nesciunt quis cosby sweater pariatur keffiyeh ut helvetica artisan. Cardigan craft beer seitan readymade velit. VHS chambray laboris tempor veniam. Anim mollit minim commodo ullamco thundercats.\n        </p>\n      </div>\n    </div><!-- /example -->\n\n\n    <h2 id=\"scrollspy-usage\">Usage</h2>\n\n    <h3>Via data attributes</h3>\n    <p>To easily add scrollspy behavior to your topbar navigation, add <code>data-spy=\"scroll\"</code> to the element you want to spy on (most typically this would be the <code>&lt;body&gt;</code>). Then add the <code>data-target</code> attribute with the ID or class of the parent element of any Bootstrap <code>.nav</code> component.</p>\n{% highlight html %}\n<body data-spy=\"scroll\" data-target=\".navbar-example\">\n  ...\n  <div class=\"navbar-example\">\n    <ul class=\"nav nav-tabs\">\n      ...\n    </ul>\n  </div>\n  ...\n</body>\n{% endhighlight %}\n\n    <h3>Via JavaScript</h3>\n    <p>Call the scrollspy via JavaScript:</p>\n{% highlight js %}\n$('body').scrollspy({ target: '.navbar-example' })\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Resolvable ID targets required</h4>\n      <p>Navbar links must have resolvable id targets. For example, a <code>&lt;a href=\"#home\"&gt;home&lt;/a&gt;</code> must correspond to something in the DOM like <code>&lt;div id=\"home\"&gt;&lt;/div&gt;</code>.</p>\n    </div>\n\n    <h3>Methods</h3>\n    <h4>.scrollspy('refresh')</h4>\n    <p>When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:</p>\n{% highlight js %}\n$('[data-spy=\"scroll\"]').each(function () {\n  var $spy = $(this).scrollspy('refresh')\n})\n{% endhighlight %}\n\n\n    <h3>Options</h3>\n    <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset=\"\"</code>.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 100px;\">Name</th>\n           <th style=\"width: 100px;\">type</th>\n           <th style=\"width: 50px;\">default</th>\n           <th>description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>offset</td>\n           <td>number</td>\n           <td>10</td>\n           <td>Pixels to offset from top when calculating position of scroll.</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- ./bs-table-responsive -->\n\n    <h3>Events</h3>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 150px;\">Event Type</th>\n           <th>Description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>activate.bs.scrollspy</td>\n           <td>This event fires whenever a new item becomes activated by the scrollspy.</td>\n        </tr>\n        </tbody>\n      </table>\n    </div><!-- ./bs-table-responsive -->\n{% highlight js %}\n$('#myScrollspy').on('activate.bs.scrollspy', function () {\n  // do something…\n})\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Tabs\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"tabs\">Togglable tabs <small>tab.js</small></h1>\n    </div>\n\n    <h2 id=\"tabs-examples\">Example tabs</h2>\n    <p>Add quick, dynamic tab functionality to transition through panes of local content, even via dropdown menus.</p>\n    <div class=\"bs-example bs-example-tabs\">\n      <ul id=\"myTab\" class=\"nav nav-tabs\">\n        <li class=\"active\"><a href=\"#home\" data-toggle=\"tab\">Home</a></li>\n        <li><a href=\"#profile\" data-toggle=\"tab\">Profile</a></li>\n        <li class=\"dropdown\">\n          <a href=\"#\" id=\"myTabDrop1\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown <b class=\"caret\"></b></a>\n          <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"myTabDrop1\">\n            <li><a href=\"#dropdown1\" tabindex=\"-1\" data-toggle=\"tab\">@fat</a></li>\n            <li><a href=\"#dropdown2\" tabindex=\"-1\" data-toggle=\"tab\">@mdo</a></li>\n          </ul>\n        </li>\n      </ul>\n      <div id=\"myTabContent\" class=\"tab-content\">\n        <div class=\"tab-pane fade in active\" id=\"home\">\n          <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>\n        </div>\n        <div class=\"tab-pane fade\" id=\"profile\">\n          <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>\n        </div>\n        <div class=\"tab-pane fade\" id=\"dropdown1\">\n          <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>\n        </div>\n        <div class=\"tab-pane fade\" id=\"dropdown2\">\n          <p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan, sartorial keffiyeh echo park vegan.</p>\n        </div>\n      </div>\n    </div><!-- /example -->\n\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Extends tabbed navigation</h4>\n      <p>This plugin extends the <a href=\"../components/#nav-tabs\">tabbed navigation component</a> to add tabbable areas.</p>\n    </div>\n\n\n    <h2 id=\"tabs-usage\">Usage</h2>\n    <p>Enable tabbable tabs via JavaScript (each tab needs to be activated individually):</p>\n{% highlight js %}\n$('#myTab a').click(function (e) {\n  e.preventDefault()\n  $(this).tab('show')\n})\n{% endhighlight %}\n\n          <p>You can activate individual tabs in several ways:</p>\n{% highlight js %}\n$('#myTab a[href=\"#profile\"]').tab('show') // Select tab by name\n$('#myTab a:first').tab('show') // Select first tab\n$('#myTab a:last').tab('show') // Select last tab\n$('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)\n{% endhighlight %}\n\n    <h3>Markup</h3>\n    <p>You can activate a tab or pill navigation without writing any JavaScript by simply specifying <code>data-toggle=\"tab\"</code> or <code>data-toggle=\"pill\"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap <a href=\"{{ page.base_url }}components#nav-tabs\">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <a href=\"{{ page.base_url }}components#nav-pills\">pill styling</a>.</p>\n{% highlight html %}\n<!-- Nav tabs -->\n<ul class=\"nav nav-tabs\">\n  <li><a href=\"#home\" data-toggle=\"tab\">Home</a></li>\n  <li><a href=\"#profile\" data-toggle=\"tab\">Profile</a></li>\n  <li><a href=\"#messages\" data-toggle=\"tab\">Messages</a></li>\n  <li><a href=\"#settings\" data-toggle=\"tab\">Settings</a></li>\n</ul>\n\n<!-- Tab panes -->\n<div class=\"tab-content\">\n  <div class=\"tab-pane active\" id=\"home\">...</div>\n  <div class=\"tab-pane\" id=\"profile\">...</div>\n  <div class=\"tab-pane\" id=\"messages\">...</div>\n  <div class=\"tab-pane\" id=\"settings\">...</div>\n</div>\n{% endhighlight %}\n\n    <h3>Fade effect</h3>\n    <p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>. The first tab pane must also have <code>.in</code> to properly fade in initial content.</p>\n{% highlight html %}\n<div class=\"tab-content\">\n  <div class=\"tab-pane fade in active\" id=\"home\">...</div>\n  <div class=\"tab-pane fade\" id=\"profile\">...</div>\n  <div class=\"tab-pane fade\" id=\"messages\">...</div>\n  <div class=\"tab-pane fade\" id=\"settings\">...</div>\n</div>\n{% endhighlight %}\n\n    <h3>Methods</h3>\n    <h4>$().tab</h4>\n    <p>\n      Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM.\n    </p>\n{% highlight html %}\n<ul class=\"nav nav-tabs\" id=\"myTab\">\n  <li class=\"active\"><a href=\"#home\" data-toggle=\"tab\">Home</a></li>\n  <li><a href=\"#profile\" data-toggle=\"tab\">Profile</a></li>\n  <li><a href=\"#messages\" data-toggle=\"tab\">Messages</a></li>\n  <li><a href=\"#settings\" data-toggle=\"tab\">Settings</a></li>\n</ul>\n\n<div class=\"tab-content\">\n  <div class=\"tab-pane active\" id=\"home\">...</div>\n  <div class=\"tab-pane\" id=\"profile\">...</div>\n  <div class=\"tab-pane\" id=\"messages\">...</div>\n  <div class=\"tab-pane\" id=\"settings\">...</div>\n</div>\n\n<script>\n  $(function () {\n    $('#myTab a:last').tab('show')\n  })\n</script>\n{% endhighlight %}\n\n    <h3>Events</h3>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 150px;\">Event Type</th>\n           <th>Description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>show.bs.tab</td>\n           <td>This event fires on tab show, but before the new tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td>\n        </tr>\n        <tr>\n           <td>shown.bs.tab</td>\n           <td>This event fires on tab show after a tab has been shown. Use <code>event.target</code> and <code>event.relatedTarget</code> to target the active tab and the previous active tab (if available) respectively.</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n{% highlight js %}\n$('a[data-toggle=\"tab\"]').on('shown.bs.tab', function (e) {\n  e.target // activated tab\n  e.relatedTarget // previous tab\n})\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Tooltips\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"tooltips\">Tooltips <small>tooltip.js</small></h1>\n    </div>\n\n    <h2 id=\"tooltips-examples\">Examples</h2>\n    <p>Inspired by the excellent jQuery.tipsy plugin written by Jason Frame; Tooltips are an updated version, which don't rely on images, use CSS3 for animations, and data-attributes for local title storage.</p>\n    <p>Hover over the links below to see tooltips:</p>\n    <div class=\"bs-example tooltip-demo\">\n      <p class=\"muted\" style=\"margin-bottom: 0;\">Tight pants next level keffiyeh <a href=\"#\" data-toggle=\"tooltip\" title=\"Default tooltip\">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href=\"#\" data-toggle=\"tooltip\" title=\"Another tooltip\">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href=\"#\" data-toggle=\"tooltip\" title=\"Another one here too\">whatever keytar</a>, scenester farm-to-table banksy Austin <a href=\"#\" data-toggle=\"tooltip\" title=\"The last tip!\">twitter handle</a> freegan cred raw denim single-origin coffee viral.\n      </p>\n    </div><!-- /example -->\n\n    <h3>Four directions</h3>\n    <div class=\"bs-example tooltip-demo\">\n      <div class=\"bs-example-tooltips\">\n        <button type=\"button\" class=\"btn btn-default\" data-toggle=\"tooltip\" data-placement=\"left\" title=\"Tooltip on left\">Tooltip on left</button>\n        <button type=\"button\" class=\"btn btn-default\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Tooltip on top\">Tooltip on top</button>\n        <button type=\"button\" class=\"btn btn-default\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"Tooltip on bottom\">Tooltip on bottom</button>\n        <button type=\"button\" class=\"btn btn-default\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"Tooltip on right\">Tooltip on right</button>\n      </div>\n    </div><!-- /example -->\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Opt-in functionality</h4>\n      <p>For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning <strong>you must initialize them yourself</strong>.</p>\n    </div>\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Tooltips in button groups and input groups require special setting</h4>\n      <p>When using tooltips on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip is triggered).</p>\n    </div>\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Tooltips on disabled elements require wrapper elements</h4>\n      <p>To add a tooltip to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code>&lt;div&gt;</code> and apply the tooltip to that <code>&lt;div&gt;</code> instead.</p>\n    </div>\n\n    <h2 id=\"tooltips-usage\">Usage</h2>\n    <p>The tooltip plugin generates content and markup on demand, and by default places tooltips after their trigger element.</p>\n    <p>Trigger the tooltip via JavaScript:</p>\n{% highlight js %}\n$('#example').tooltip(options)\n{% endhighlight %}\n\n    <h3>Markup</h3>\n    <p>The generated markup of a tooltip is rather simple, though it does require a position (by default, set to <code>top</code> by the plugin).</p>\n{% highlight html linenos %}\n<div class=\"tooltip\">\n  <div class=\"tooltip-inner\">\n    Tooltip!\n  </div>\n  <div class=\"tooltip-arrow\"></div>\n</div>\n{% endhighlight %}\n\n    <h3>Options</h3>\n    <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=\"\"</code>.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 100px;\">Name</th>\n           <th style=\"width: 100px;\">type</th>\n           <th style=\"width: 50px;\">default</th>\n           <th>description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>animation</td>\n           <td>boolean</td>\n           <td>true</td>\n           <td>apply a CSS fade transition to the tooltip</td>\n         </tr>\n         <tr>\n           <td>html</td>\n           <td>boolean</td>\n           <td>false</td>\n           <td>Insert HTML into the tooltip. If false, jQuery's <code>text</code> method will be used to insert content into the DOM. Use text if you're worried about XSS attacks.</td>\n         </tr>\n         <tr>\n           <td>placement</td>\n           <td>string | function</td>\n           <td>'top'</td>\n           <td>how to position the tooltip - top | bottom | left | right | auto. <br> When \"auto\" is specified, it will dynamically reorient the tooltip. For example, if placement is \"auto left\", the tooltip will display to the left when possible, otherwise it will display right.</td>\n         </tr>\n         <tr>\n           <td>selector</td>\n           <td>string</td>\n           <td>false</td>\n           <td>If a selector is provided, tooltip objects will be delegated to the specified targets.</td>\n         </tr>\n         <tr>\n           <td>title</td>\n           <td>string | function</td>\n           <td>''</td>\n           <td>default title value if <code>title</code> attribute isn't present</td>\n         </tr>\n         <tr>\n           <td>trigger</td>\n           <td>string</td>\n           <td>'hover focus'</td>\n           <td>how tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space.</td>\n         </tr>\n         <tr>\n           <td>delay</td>\n           <td>number | object</td>\n           <td>0</td>\n           <td>\n            <p>delay showing and hiding the tooltip (ms) - does not apply to manual trigger type</p>\n            <p>If a number is supplied, delay is applied to both hide/show</p>\n            <p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p>\n           </td>\n         </tr>\n         <tr>\n           <td>container</td>\n           <td>string | false</td>\n           <td>false</td>\n           <td>\n            <p>Appends the tooltip to a specific element. Example: <code>container: 'body'</code></p>\n           </td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Data attributes for individual tooltips</h4>\n      <p>Options for individual tooltips can alternatively be specified through the use of data attributes, as explained above.</p>\n    </div>\n\n    <h3>Markup</h3>\n{% highlight html %}\n<a href=\"#\" data-toggle=\"tooltip\" title=\"first tooltip\">Hover over me</a>\n{% endhighlight %}\n\n    <h3>Methods</h3>\n\n    <h4>$().tooltip(options)</h4>\n    <p>Attaches a tooltip handler to an element collection.</p>\n\n    <h4>.tooltip('show')</h4>\n    <p>Reveals an element's tooltip.</p>\n    {% highlight js %}$('#element').tooltip('show'){% endhighlight %}\n\n    <h4>.tooltip('hide')</h4>\n    <p>Hides an element's tooltip.</p>\n    {% highlight js %}$('#element').tooltip('hide'){% endhighlight %}\n\n    <h4>.tooltip('toggle')</h4>\n    <p>Toggles an element's tooltip.</p>\n    {% highlight js %}$('#element').tooltip('toggle'){% endhighlight %}\n\n    <h4>.tooltip('destroy')</h4>\n    <p>Hides and destroys an element's tooltip.</p>\n    {% highlight js %}$('#element').tooltip('destroy'){% endhighlight %}\n\n    <h3>Events</h3>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 150px;\">Event Type</th>\n           <th>Description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>show.bs.tooltip</td>\n           <td>This event fires immediately when the <code>show</code> instance method is called.</td>\n         </tr>\n         <tr>\n           <td>shown.bs.tooltip</td>\n           <td>This event is fired when the tooltip has been made visible to the user (will wait for CSS transitions to complete).</td>\n         </tr>\n         <tr>\n           <td>hide.bs.tooltip</td>\n           <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td>\n         </tr>\n         <tr>\n           <td>hidden.bs.tooltip</td>\n           <td>This event is fired when the tooltip has finished being hidden from the user (will wait for CSS transitions to complete).</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n{% highlight js %}\n$('#myTooltip').on('hidden.bs.tooltip', function () {\n  // do something…\n})\n{% endhighlight %}\n  </div>\n\n  <!-- Popovers\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"popovers\">Popovers <small>popover.js</small></h1>\n    </div>\n\n    <h2 id=\"popovers-examples\">Examples</h2>\n    <p>Add small overlays of content, like those on the iPad, to any element for housing secondary information.</p>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Plugin dependency</h4>\n      <p>Popovers require the <a href=\"#tooltips\">tooltip plugin</a> to be included in your version of Bootstrap.</p>\n    </div>\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Opt-in functionality</h4>\n      <p>For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning <strong>you must initialize them yourself</strong>.</p>\n    </div>\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Popovers in button groups and input groups require special setting</h4>\n      <p>When using popovers on elements within a <code>.btn-group</code> or an <code>.input-group</code>, you'll have to specify the option <code>container: 'body'</code> (documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).</p>\n    </div>\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Popovers on disabled elements require wrapper elements</h4>\n      <p>To add a popover to a <code>disabled</code> or <code>.disabled</code> element, put the element inside of a <code>&lt;div&gt;</code> and apply the popover to that <code>&lt;div&gt;</code> instead.</p>\n    </div>\n\n    <h3>Static popover</h3>\n    <p>Four options are available: top, right, bottom, and left aligned.</p>\n    <div class=\"bs-example bs-example-popover\">\n      <div class=\"popover top\">\n        <div class=\"arrow\"></div>\n        <h3 class=\"popover-title\">Popover top</h3>\n        <div class=\"popover-content\">\n          <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>\n        </div>\n      </div>\n\n      <div class=\"popover right\">\n        <div class=\"arrow\"></div>\n        <h3 class=\"popover-title\">Popover right</h3>\n        <div class=\"popover-content\">\n          <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>\n        </div>\n      </div>\n\n      <div class=\"popover bottom\">\n        <div class=\"arrow\"></div>\n        <h3 class=\"popover-title\">Popover bottom</h3>\n\n        <div class=\"popover-content\">\n          <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>\n        </div>\n      </div>\n\n      <div class=\"popover left\">\n        <div class=\"arrow\"></div>\n        <h3 class=\"popover-title\">Popover left</h3>\n        <div class=\"popover-content\">\n          <p>Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</p>\n        </div>\n      </div>\n\n      <div class=\"clearfix\"></div>\n    </div>\n\n    <h3>Live demo</h3>\n    <div class=\"bs-example\" style=\"padding-bottom: 24px;\">\n      <a href=\"#\" class=\"btn btn-lg btn-danger\" data-toggle=\"popover\" title=\"A Title\" data-content=\"And here's some amazing content. It's very engaging. right?\" role=\"button\">Click to toggle popover</a>\n    </div>\n\n    <h4>Four directions</h4>\n    <div class=\"bs-example tooltip-demo\">\n      <div class=\"bs-example-tooltips\">\n        <button type=\"button\" class=\"btn btn-default\" data-container=\"body\" data-toggle=\"popover\" data-placement=\"left\" data-content=\"Vivamus sagittis lacus vel augue laoreet rutrum faucibus.\">\n          Popover on left\n        </button>\n        <button type=\"button\" class=\"btn btn-default\" data-container=\"body\" data-toggle=\"popover\" data-placement=\"top\" data-content=\"Vivamus sagittis lacus vel augue laoreet rutrum faucibus.\">\n          Popover on top\n        </button>\n        <button type=\"button\" class=\"btn btn-default\" data-container=\"body\" data-toggle=\"popover\" data-placement=\"bottom\" data-content=\"Vivamus sagittis lacus vel augue laoreet rutrum faucibus.\">\n          Popover on bottom\n        </button>\n        <button type=\"button\" class=\"btn btn-default\" data-container=\"body\" data-toggle=\"popover\" data-placement=\"right\" data-content=\"Vivamus sagittis lacus vel augue laoreet rutrum faucibus.\">\n          Popover on right\n        </button>\n      </div>\n    </div><!-- /example -->\n\n\n    <h2 id=\"popovers-usage\">Usage</h2>\n    <p>Enable popovers via JavaScript:</p>\n    {% highlight js %}$('#example').popover(options){% endhighlight %}\n\n    <h3>Options</h3>\n    <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=\"\"</code>.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n          <tr>\n            <th style=\"width: 100px;\">Name</th>\n            <th style=\"width: 100px;\">type</th>\n            <th style=\"width: 50px;\">default</th>\n            <th>description</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>animation</td>\n            <td>boolean</td>\n            <td>true</td>\n            <td>apply a CSS fade transition to the tooltip</td>\n          </tr>\n          <tr>\n            <td>html</td>\n            <td>boolean</td>\n            <td>false</td>\n            <td>Insert HTML into the popover. If false, jQuery's <code>text</code> method will be used to insert content into the DOM. Use text if you're worried about XSS attacks.</td>\n          </tr>\n          <tr>\n            <td>placement</td>\n            <td>string | function</td>\n            <td>'right'</td>\n            <td>how to position the popover - top | bottom | left | right | auto.<br> When \"auto\" is specified, it will dynamically reorient the popover. For example, if placement is \"auto left\", the tooltip will display to the left when possible, otherwise it will display right.</td>\n          </tr>\n          <tr>\n            <td>selector</td>\n            <td>string</td>\n            <td>false</td>\n            <td>if a selector is provided, tooltip objects will be delegated to the specified targets. in practice, this is used to enable dynamic HTML content to have popovers added. See <a href=\"https://github.com/twbs/bootstrap/issues/4215\">this</a> and <a href=\"http://jsfiddle.net/fScua/\">an informative example</a>.</td>\n          </tr>\n          <tr>\n            <td>trigger</td>\n            <td>string</td>\n            <td>'click'</td>\n            <td>how popover is triggered - click | hover | focus | manual</td>\n          </tr>\n          <tr>\n            <td>title</td>\n            <td>string | function</td>\n            <td>''</td>\n            <td>default title value if <code>title</code> attribute isn't present</td>\n          </tr>\n          <tr>\n            <td>content</td>\n            <td>string | function</td>\n            <td>''</td>\n            <td>default content value if <code>data-content</code> attribute isn't present</td>\n          </tr>\n          <tr>\n            <td>delay</td>\n            <td>number | object</td>\n            <td>0</td>\n            <td>\n             <p>delay showing and hiding the popover (ms) - does not apply to manual trigger type</p>\n             <p>If a number is supplied, delay is applied to both hide/show</p>\n             <p>Object structure is: <code>delay: { show: 500, hide: 100 }</code></p>\n            </td>\n          </tr>\n          <tr>\n            <td>container</td>\n            <td>string | false</td>\n            <td>false</td>\n            <td>\n             <p>Appends the popover to a specific element. Example: <code>container: 'body'</code>. This option is particularly useful in that it allows you to position the popover in the flow of the document near the triggering element - which will prevent the popover from floating away from the triggering element during a window resize.</p>\n            </td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Data attributes for individual popovers</h4>\n      <p>Options for individual popovers can alternatively be specified through the use of data attributes, as explained above.</p>\n    </div>\n\n    <h3>Methods</h3>\n    <h4>$().popover(options)</h4>\n    <p>Initializes popovers for an element collection.</p>\n\n    <h4>.popover('show')</h4>\n    <p>Reveals an elements popover.</p>\n    {% highlight js %}$('#element').popover('show'){% endhighlight %}\n\n    <h4>.popover('hide')</h4>\n    <p>Hides an elements popover.</p>\n    {% highlight js %}$('#element').popover('hide'){% endhighlight %}\n\n    <h4>.popover('toggle')</h4>\n    <p>Toggles an elements popover.</p>\n    {% highlight js %}$('#element').popover('toggle'){% endhighlight %}\n\n    <h4>.popover('destroy')</h4>\n    <p>Hides and destroys an element's popover.</p>\n    {% highlight js %}$('#element').popover('destroy'){% endhighlight %}\n    <h3>Events</h3>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 150px;\">Event Type</th>\n           <th>Description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>show.bs.popover</td>\n           <td>This event fires immediately when the <code>show</code> instance method is called.</td>\n         </tr>\n         <tr>\n           <td>shown.bs.popover</td>\n           <td>This event is fired when the popover has been made visible to the user (will wait for CSS transitions to complete).</td>\n         </tr>\n         <tr>\n           <td>hide.bs.popover</td>\n           <td>This event is fired immediately when the <code>hide</code> instance method has been called.</td>\n         </tr>\n         <tr>\n           <td>hidden.bs.popover</td>\n           <td>This event is fired when the popover has finished being hidden from the user (will wait for CSS transitions to complete).</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n{% highlight js %}\n$('#myPopover').on('hidden.bs.popover', function () {\n  // do something…\n})\n{% endhighlight %}\n  </div>\n\n  <!-- Alert\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"alerts\">Alert messages <small>alert.js</small></h1>\n    </div>\n\n\n    <h2 id=\"alerts-examples\">Example alerts</h2>\n    <p>Add dismiss functionality to all alert messages with this plugin.</p>\n    <div class=\"bs-example\">\n      <div class=\"alert alert-warning fade in\">\n        <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>\n        <strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.\n      </div>\n    </div><!-- /example -->\n\n    <div class=\"bs-example\">\n      <div class=\"alert alert-danger fade in\">\n        <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>\n        <h4>Oh snap! You got an error!</h4>\n        <p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>\n        <p>\n          <button type=\"button\" class=\"btn btn-danger\">Take this action</button>\n          <button type=\"button\" class=\"btn btn-default\">Or do this</button>\n        </p>\n      </div>\n    </div><!-- /example -->\n\n\n    <h2 id=\"alerts-usage\">Usage</h2>\n    <p>Enable dismissal of an alert via JavaScript:</p>\n    {% highlight js %}$(\".alert\").alert(){% endhighlight %}\n\n    <h3>Markup</h3>\n    <p>Just add <code>data-dismiss=\"alert\"</code> to your close button to automatically give an alert close functionality.</p>\n    {% highlight html %}<a class=\"close\" data-dismiss=\"alert\" href=\"#\" aria-hidden=\"true\">&times;</a>{% endhighlight %}\n\n    <h3>Methods</h3>\n\n    <h4>$().alert()</h4>\n    <p>Wraps all alerts with close functionality. To have your alerts animate out when closed, make sure they have the <code>.fade</code> and <code>.in</code> class already applied to them.</p>\n\n    <h4>.alert('close')</h4>\n    <p>Closes an alert.</p>\n    {% highlight js %}$(\".alert\").alert('close'){% endhighlight %}\n\n\n    <h3>Events</h3>\n    <p>Bootstrap's alert class exposes a few events for hooking into alert functionality.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n          <tr>\n            <th style=\"width: 150px;\">Event Type</th>\n            <th>Description</th>\n          </tr>\n        </thead>\n        <tbody>\n          <tr>\n            <td>close.bs.alert</td>\n            <td>This event fires immediately when the <code>close</code> instance method is called.</td>\n          </tr>\n          <tr>\n            <td>closed.bs.alert</td>\n            <td>This event is fired when the alert has been closed (will wait for CSS transitions to complete).</td>\n          </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n{% highlight js %}\n$('#my-alert').bind('closed.bs.alert', function () {\n  // do something…\n})\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Buttons\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"buttons\">Buttons <small>button.js</small></h1>\n    </div>\n\n    <h2 id=\"buttons-examples\">Example uses</h2>\n    <p>Do more with buttons. Control button states or create groups of buttons for more components like toolbars.</p>\n\n    <h4>Stateful</h4>\n    <p>Add <code>data-loading-text=\"Loading...\"</code> to use a loading state on a button.</p>\n    <div class=\"bs-example\" style=\"padding-bottom: 24px;\">\n      <button type=\"button\" id=\"fat-btn\" data-loading-text=\"Loading...\" class=\"btn btn-primary\">\n        Loading state\n      </button>\n    </div><!-- /example -->\n{% highlight html %}\n<button type=\"button\" data-loading-text=\"Loading...\" class=\"btn btn-primary\">\n  Loading state\n</button>\n{% endhighlight %}\n\n    <h4>Single toggle</h4>\n    <p>Add <code>data-toggle=\"button\"</code> to activate toggling on a single button.</p>\n    <div class=\"bs-example\" style=\"padding-bottom: 24px;\">\n      <button type=\"button\" class=\"btn btn-primary\" data-toggle=\"button\">Single toggle</button>\n    </div><!-- /example -->\n{% highlight html %}\n<button type=\"button\" class=\"btn btn-primary\" data-toggle=\"button\">Single toggle</button>\n{% endhighlight %}\n\n    <h4>Checkbox</h4>\n    <p>Add <code>data-toggle=\"buttons\"</code> to a group of checkboxes for checkbox style toggling on btn-group.</p>\n    <div class=\"bs-example\" style=\"padding-bottom: 24px;\">\n      <div class=\"btn-group\" data-toggle=\"buttons\">\n        <label class=\"btn btn-primary\">\n          <input type=\"checkbox\"> Option 1\n        </label>\n        <label class=\"btn btn-primary\">\n          <input type=\"checkbox\"> Option 2\n        </label>\n        <label class=\"btn btn-primary\">\n          <input type=\"checkbox\"> Option 3\n        </label>\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<div class=\"btn-group\" data-toggle=\"buttons\">\n  <label class=\"btn btn-primary\">\n    <input type=\"checkbox\"> Option 1\n  </label>\n  <label class=\"btn btn-primary\">\n    <input type=\"checkbox\"> Option 2\n  </label>\n  <label class=\"btn btn-primary\">\n    <input type=\"checkbox\"> Option 3\n  </label>\n</div>\n{% endhighlight %}\n\n    <h4>Radio</h4>\n    <p>Add <code>data-toggle=\"buttons\"</code> to a group of radio inputs for radio style toggling on btn-group.</p>\n    <div class=\"bs-example\" style=\"padding-bottom: 24px;\">\n      <div class=\"btn-group\" data-toggle=\"buttons\">\n        <label class=\"btn btn-primary\">\n          <input type=\"radio\" name=\"options\" id=\"option1\"> Option 1\n        </label>\n        <label class=\"btn btn-primary\">\n          <input type=\"radio\" name=\"options\" id=\"option2\"> Option 2\n        </label>\n        <label class=\"btn btn-primary\">\n          <input type=\"radio\" name=\"options\" id=\"option3\"> Option 3\n        </label>\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<div class=\"btn-group\" data-toggle=\"buttons\">\n  <label class=\"btn btn-primary\">\n    <input type=\"radio\" name=\"options\" id=\"option1\"> Option 1\n  </label>\n  <label class=\"btn btn-primary\">\n    <input type=\"radio\" name=\"options\" id=\"option2\"> Option 2\n  </label>\n  <label class=\"btn btn-primary\">\n    <input type=\"radio\" name=\"options\" id=\"option3\"> Option 3\n  </label>\n</div>\n{% endhighlight %}\n\n\n    <h2 id=\"buttons-usage\">Usage</h2>\n    <p>Enable buttons via JavaScript:</p>\n{% highlight js %}\n$('.btn').button()\n{% endhighlight %}\n\n    <h3>Markup</h3>\n    <p>Data attributes are integral to the button plugin. Check out the example code below for the various markup types.</p>\n\n    <h3>Options</h3>\n    <p><em>None</em></p>\n\n    <h3>Methods</h3>\n\n    <h4>$().button('toggle')</h4>\n    <p>Toggles push state. Gives the button the appearance that it has been activated.</p>\n    <div class=\"bs-callout bs-callout-info\">\n      <h4>Auto toggling</h4>\n      <p>You can enable auto toggling of a button by using the <code>data-toggle</code> attribute.</p>\n    </div>\n{% highlight html %}\n<button type=\"button\" class=\"btn\" data-toggle=\"button\">...</button>\n{% endhighlight %}\n\n    <h4>$().button('loading')</h4>\n    <p>Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute <code>data-loading-text</code>.\n    </p>\n{% highlight html %}\n<button type=\"button\" class=\"btn\" data-loading-text=\"loading stuff...\">...</button>\n{% endhighlight %}\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Cross-browser compatibility</h4>\n      <p><a href=\"https://github.com/twbs/bootstrap/issues/793\">Firefox persists the disabled state across page loads</a>. A workaround for this is to use <code>autocomplete=\"off\"</code>.</p>\n    </div>\n\n    <h4>$().button('reset')</h4>\n    <p>Resets button state - swaps text to original text.</p>\n\n    <h4>$().button(string)</h4>\n    <p>Resets button state - swaps text to any data defined text state.</p>\n{% highlight html %}\n<button type=\"button\" class=\"btn\" data-complete-text=\"finished!\" >...</button>\n<script>\n  $('.btn').button('complete')\n</script>\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Collapse\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"collapse\">Collapse <small>collapse.js</small></h1>\n    </div>\n\n    <h3>About</h3>\n    <p>Get base styles and flexible support for collapsible components like accordions and navigation.</p>\n\n    <div class=\"bs-callout bs-callout-danger\">\n      <h4>Plugin dependency</h4>\n      <p>Collapse requires the <a href=\"#transitions\">transitions plugin</a> to be included in your version of Bootstrap.</p>\n    </div>\n\n    <h2 id=\"collapse-examples\">Example accordion</h2>\n    <p>Using the collapse plugin, we built a simple accordion by extending the panel component.</p>\n\n    <div class=\"bs-example\">\n      <div class=\"panel-group\" id=\"accordion\">\n        <div class=\"panel panel-default\">\n          <div class=\"panel-heading\">\n            <h4 class=\"panel-title\">\n              <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapseOne\">\n                Collapsible Group Item #1\n              </a>\n            </h4>\n          </div>\n          <div id=\"collapseOne\" class=\"panel-collapse collapse in\">\n            <div class=\"panel-body\">\n              Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.\n            </div>\n          </div>\n        </div>\n        <div class=\"panel panel-default\">\n          <div class=\"panel-heading\">\n            <h4 class=\"panel-title\">\n              <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapseTwo\">\n                Collapsible Group Item #2\n              </a>\n            </h4>\n          </div>\n          <div id=\"collapseTwo\" class=\"panel-collapse collapse\">\n            <div class=\"panel-body\">\n              Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.\n            </div>\n          </div>\n        </div>\n        <div class=\"panel panel-default\">\n          <div class=\"panel-heading\">\n            <h4 class=\"panel-title\">\n              <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapseThree\">\n                Collapsible Group Item #3\n              </a>\n            </h4>\n          </div>\n          <div id=\"collapseThree\" class=\"panel-collapse collapse\">\n            <div class=\"panel-body\">\n              Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.\n            </div>\n          </div>\n        </div>\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<div class=\"panel-group\" id=\"accordion\">\n  <div class=\"panel panel-default\">\n    <div class=\"panel-heading\">\n      <h4 class=\"panel-title\">\n        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapseOne\">\n          Collapsible Group Item #1\n        </a>\n      </h4>\n    </div>\n    <div id=\"collapseOne\" class=\"panel-collapse collapse in\">\n      <div class=\"panel-body\">\n        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.\n      </div>\n    </div>\n  </div>\n  <div class=\"panel panel-default\">\n    <div class=\"panel-heading\">\n      <h4 class=\"panel-title\">\n        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapseTwo\">\n          Collapsible Group Item #2\n        </a>\n      </h4>\n    </div>\n    <div id=\"collapseTwo\" class=\"panel-collapse collapse\">\n      <div class=\"panel-body\">\n        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.\n      </div>\n    </div>\n  </div>\n  <div class=\"panel panel-default\">\n    <div class=\"panel-heading\">\n      <h4 class=\"panel-title\">\n        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapseThree\">\n          Collapsible Group Item #3\n        </a>\n      </h4>\n    </div>\n    <div id=\"collapseThree\" class=\"panel-collapse collapse\">\n      <div class=\"panel-body\">\n        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.\n      </div>\n    </div>\n  </div>\n</div>\n{% endhighlight %}\n\n    <p>You can also use the plugin without the accordion markup. Make a button toggle the expanding and collapsing of another element.</p>\n{% highlight html %}\n<button type=\"button\" class=\"btn btn-danger\" data-toggle=\"collapse\" data-target=\"#demo\">\n  simple collapsible\n</button>\n\n<div id=\"demo\" class=\"collapse in\">...</div>\n{% endhighlight %}\n\n\n    <h2 id=\"collapse-usage\">Usage</h2>\n    <p>The collapse plugin utilizes a few classes to handle the heavy lifting:</p>\n    <ul>\n      <li><code>.collapse</code> hides the content</li>\n      <li><code>.collapse.in</code> shows the content</li>\n      <li><code>.collapsing</code> is added when the transition starts, and removed when it finishes</li>\n    </ul>\n    <p>These classes can be found in <code>component-animations.less</code>.</p>\n\n    <h3>Via data attributes</h3>\n    <p>Just add <code>data-toggle=\"collapse\"</code> and a <code>data-target</code> to element to automatically assign control of a collapsible element. The <code>data-target</code> attribute accepts a CSS selector to apply the collapse to. Be sure to add the class <code>collapse</code> to the collapsible element. If you'd like it to default open, add the additional class <code>in</code>.</p>\n    <p>To add accordion-like group management to a collapsible control, add the data attribute <code>data-parent=\"#selector\"</code>. Refer to the demo to see this in action.</p>\n\n    <h3>Via JavaScript</h3>\n    <p>Enable manually with:</p>\n{% highlight js %}\n$('.collapse').collapse()\n{% endhighlight %}\n\n    <h3>Options</h3>\n    <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-parent=\"\"</code>.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 100px;\">Name</th>\n           <th style=\"width: 50px;\">type</th>\n           <th style=\"width: 50px;\">default</th>\n           <th>description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>parent</td>\n           <td>selector</td>\n           <td>false</td>\n           <td>If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this dependent on the <code>accordion-group</code> class)</td>\n         </tr>\n         <tr>\n           <td>toggle</td>\n           <td>boolean</td>\n           <td>true</td>\n           <td>Toggles the collapsible element on invocation</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n\n    <h3>Methods</h3>\n\n    <h4>.collapse(options)</h4>\n    <p>Activates your content as a collapsible element. Accepts an optional options <code>object</code>.\n{% highlight js %}\n$('#myCollapsible').collapse({\n  toggle: false\n})\n{% endhighlight %}\n\n    <h4>.collapse('toggle')</h4>\n    <p>Toggles a collapsible element to shown or hidden.</p>\n\n    <h4>.collapse('show')</h4>\n    <p>Shows a collapsible element.</p>\n\n    <h4>.collapse('hide')</h4>\n    <p>Hides a collapsible element.</p>\n\n    <h3>Events</h3>\n    <p>Bootstrap's collapse class exposes a few events for hooking into collapse functionality.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 150px;\">Event Type</th>\n           <th>Description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>show.bs.collapse</td>\n           <td>This event fires immediately when the <code>show</code> instance method is called.</td>\n         </tr>\n         <tr>\n           <td>shown.bs.collapse</td>\n           <td>This event is fired when a collapse element has been made visible to the user (will wait for CSS transitions to complete).</td>\n         </tr>\n         <tr>\n           <td>hide.bs.collapse</td>\n           <td>\n            This event is fired immediately when the <code>hide</code> method has been called.\n           </td>\n         </tr>\n         <tr>\n           <td>hidden.bs.collapse</td>\n           <td>This event is fired when a collapse element has been hidden from the user (will wait for CSS transitions to complete).</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n{% highlight js %}\n$('#myCollapsible').on('hidden.bs.collapse', function () {\n  // do something…\n})\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Carousel\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"carousel\">Carousel <small>carousel.js</small></h1>\n    </div>\n\n    <h2 id=\"carousel-examples\">Examples</h2>\n    <p>The slideshow below shows a generic plugin and component for cycling through elements like a carousel.</p>\n    <div class=\"bs-example\">\n      <div id=\"carousel-example-generic\" class=\"carousel slide\" data-ride=\"carousel\">\n        <ol class=\"carousel-indicators\">\n          <li data-target=\"#carousel-example-generic\" data-slide-to=\"0\" class=\"active\"></li>\n          <li data-target=\"#carousel-example-generic\" data-slide-to=\"1\"></li>\n          <li data-target=\"#carousel-example-generic\" data-slide-to=\"2\"></li>\n        </ol>\n        <div class=\"carousel-inner\">\n          <div class=\"item active\">\n            <img data-src=\"holder.js/900x500/auto/#777:#555/text:First slide\" alt=\"First slide\">\n          </div>\n          <div class=\"item\">\n            <img data-src=\"holder.js/900x500/auto/#666:#444/text:Second slide\" alt=\"Second slide\">\n          </div>\n          <div class=\"item\">\n            <img data-src=\"holder.js/900x500/auto/#555:#333/text:Third slide\" alt=\"Third slide\">\n          </div>\n        </div>\n        <a class=\"left carousel-control\" href=\"#carousel-example-generic\" data-slide=\"prev\">\n          <span class=\"glyphicon glyphicon-chevron-left\"></span>\n        </a>\n        <a class=\"right carousel-control\" href=\"#carousel-example-generic\" data-slide=\"next\">\n          <span class=\"glyphicon glyphicon-chevron-right\"></span>\n        </a>\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<div id=\"carousel-example-generic\" class=\"carousel slide\" data-ride=\"carousel\">\n  <!-- Indicators -->\n  <ol class=\"carousel-indicators\">\n    <li data-target=\"#carousel-example-generic\" data-slide-to=\"0\" class=\"active\"></li>\n    <li data-target=\"#carousel-example-generic\" data-slide-to=\"1\"></li>\n    <li data-target=\"#carousel-example-generic\" data-slide-to=\"2\"></li>\n  </ol>\n\n  <!-- Wrapper for slides -->\n  <div class=\"carousel-inner\">\n    <div class=\"item active\">\n      <img src=\"...\" alt=\"...\">\n      <div class=\"carousel-caption\">\n        ...\n      </div>\n    </div>\n    ...\n  </div>\n\n  <!-- Controls -->\n  <a class=\"left carousel-control\" href=\"#carousel-example-generic\" data-slide=\"prev\">\n    <span class=\"glyphicon glyphicon-chevron-left\"></span>\n  </a>\n  <a class=\"right carousel-control\" href=\"#carousel-example-generic\" data-slide=\"next\">\n    <span class=\"glyphicon glyphicon-chevron-right\"></span>\n  </a>\n</div>\n{% endhighlight %}\n<div class=\"bs-callout bs-callout-warning\" id=\"callout-carousel-transitions\">\n  <h4>Transition animations not supported in Internet Explorer 8 &amp; 9</h4>\n  <p>Bootstrap exclusively uses CSS3 for its animations, but Internet Explorer 8 &amp; 9 don't support the necessary CSS properties. Thus, there are no slide transition animations when using these browsers. We have intentionally decided not to include jQuery-based fallbacks for the transitions.</p>\n</div>\n\n    <h3>Optional captions</h3>\n    <p>Add captions to your slides easily with the <code>.carousel-caption</code> element within any <code>.item</code>. Place just about any optional HTML within there and it will be automatically aligned and formatted.</p>\n    <div class=\"bs-example\">\n      <div id=\"carousel-example-captions\" class=\"carousel slide\" data-ride=\"carousel\">\n        <ol class=\"carousel-indicators\">\n          <li data-target=\"#carousel-example-captions\" data-slide-to=\"0\" class=\"active\"></li>\n          <li data-target=\"#carousel-example-captions\" data-slide-to=\"1\"></li>\n          <li data-target=\"#carousel-example-captions\" data-slide-to=\"2\"></li>\n        </ol>\n        <div class=\"carousel-inner\">\n          <div class=\"item active\">\n            <img data-src=\"holder.js/900x500/auto/#777:#777\" alt=\"First slide image\">\n            <div class=\"carousel-caption\">\n              <h3>First slide label</h3>\n              <p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p>\n            </div>\n          </div>\n          <div class=\"item\">\n            <img data-src=\"holder.js/900x500/auto/#666:#666\" alt=\"Second slide image\">\n            <div class=\"carousel-caption\">\n              <h3>Second slide label</h3>\n              <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>\n            </div>\n          </div>\n          <div class=\"item\">\n            <img data-src=\"holder.js/900x500/auto/#555:#5555\" alt=\"Third slide image\">\n            <div class=\"carousel-caption\">\n              <h3>Third slide label</h3>\n              <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p>\n            </div>\n          </div>\n        </div>\n        <a class=\"left carousel-control\" href=\"#carousel-example-captions\" data-slide=\"prev\">\n          <span class=\"glyphicon glyphicon-chevron-left\"></span>\n        </a>\n        <a class=\"right carousel-control\" href=\"#carousel-example-captions\" data-slide=\"next\">\n          <span class=\"glyphicon glyphicon-chevron-right\"></span>\n        </a>\n      </div>\n    </div><!-- /example -->\n{% highlight html %}\n<div class=\"item active\">\n  <img src=\"...\" alt=\"...\">\n  <div class=\"carousel-caption\">\n    <h3>...</h3>\n    <p>...</p>\n  </div>\n</div>\n{% endhighlight %}\n\n<div class=\"bs-callout bs-callout-danger\">\n  <h4>Accessibility issue</h4>\n  <p>The carousel component is generally not compliant with accessibility standards. If you need to be compliant, please consider other options for presenting your content.</p>\n</div>\n\n    <h2 id=\"carousel-usage\">Usage</h2>\n\n    <h3>Via data attributes</h3>\n    <p>Use data attributes to easily control the position of the carousel. <code>data-slide</code> accepts the keywords <code>prev</code> or <code>next</code>, which alters the slide position relative to its current position. Alternatively, use <code>data-slide-to</code> to pass a raw slide index to the carousel <code>data-slide-to=\"2\"</code>, which shifts the slide position to a particular index beginning with <code>0</code>.</p>\n    <p>The <code>data-ride=\"carousel\"</code> attribute is used to mark a carousel as animating starting at page load.</p>\n\n    <h3>Via JavaScript</h3>\n    <p>Call carousel manually with:</p>\n{% highlight js %}\n$('.carousel').carousel()\n{% endhighlight %}\n\n    <h3>Options</h3>\n    <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=\"\"</code>.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 100px;\">Name</th>\n           <th style=\"width: 50px;\">type</th>\n           <th style=\"width: 50px;\">default</th>\n           <th>description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>interval</td>\n           <td>number</td>\n           <td>5000</td>\n           <td>The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.</td>\n         </tr>\n         <tr>\n           <td>pause</td>\n           <td>string</td>\n           <td>\"hover\"</td>\n           <td>Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave.</td>\n         </tr>\n         <tr>\n           <td>wrap</td>\n           <td>boolean</td>\n           <td>true</td>\n           <td>Whether the carousel should cycle continuously or have hard stops.</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n\n    <h3>Methods</h3>\n\n    <h4>.carousel(options)</h4>\n    <p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>\n{% highlight js %}\n$('.carousel').carousel({\n  interval: 2000\n})\n{% endhighlight %}\n\n    <h4>.carousel('cycle')</h4>\n    <p>Cycles through the carousel items from left to right.</p>\n\n    <h4>.carousel('pause')</h4>\n    <p>Stops the carousel from cycling through items.</p>\n\n\n    <h4>.carousel(number)</h4>\n    <p>Cycles the carousel to a particular frame (0 based, similar to an array).</p>\n\n    <h4>.carousel('prev')</h4>\n    <p>Cycles to the previous item.</p>\n\n    <h4>.carousel('next')</h4>\n    <p>Cycles to the next item.</p>\n\n    <h3>Events</h3>\n    <p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 150px;\">Event Type</th>\n           <th>Description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>slide.bs.carousel</td>\n           <td>This event fires immediately when the <code>slide</code> instance method is invoked.</td>\n         </tr>\n         <tr>\n           <td>slid.bs.carousel</td>\n           <td>This event is fired when the carousel has completed its slide transition.</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n{% highlight js %}\n$('#myCarousel').on('slide.bs.carousel', function () {\n  // do something…\n})\n{% endhighlight %}\n  </div>\n\n\n\n  <!-- Affix\n  ================================================== -->\n  <div class=\"bs-docs-section\">\n    <div class=\"page-header\">\n      <h1 id=\"affix\">Affix <small>affix.js</small></h1>\n    </div>\n\n    <h2 id=\"affix-examples\">Example</h2>\n    <p>The subnavigation on the left is a live demo of the affix plugin.</p>\n\n    <hr class=\"bs-docs-separator\">\n\n    <h2 id=\"affix-usage\">Usage</h2>\n    <p>Use the affix plugin via data attributes or manually with your own JavaScript. <strong>In both situations, you must provide CSS for the positioning of your content.</strong></p>\n\n    <h3>Positioning via CSS</h3>\n    <p>The affix plugin toggles between three classes, each representing a particular state: <code>.affix</code>, <code>.affix-top</code>, and <code>.affix-bottom</code>. You must provide the styles for these classes yourself (independent of this plugin) to handle the actual positions.</p>\n    <p>Here's how the affix plugin works:</p>\n    <ol>\n      <li>To start, the plugin adds <code>.affix-top</code> to indicate the element is in it's top-most position. At this point no CSS positioning is required.</li>\n      <li>Scrolling past the element you want affixed should trigger the actual affixing. This is where <code>.affix</code> replaces <code>.affix-top</code> and sets <code>position: fixed;</code> (provided by Bootstrap's code CSS).</li>\n      <li>If a bottom offset is defined, scrolling past that should replace <code>.affix</code> with <code>.affix-bottom</code>. Since offsets are optional, setting one requires you to set the appropriate CSS. In this case, add <code>position: absolute;</code> when necessary. The plugin uses the data attribute or JavaScript option to determine where to position the elemtn from there.</li>\n    </ol>\n    <p>Follow the above steps to set your CSS for either of the usage options below.</p>\n\n    <h3>Via data attributes</h3>\n    <p>To easily add affix behavior to any element, just add <code>data-spy=\"affix\"</code> to the element you want to spy on. Use offsets to define when to toggle the pinning of an element.</p>\n\n{% highlight html %}\n<div data-spy=\"affix\" data-offset-top=\"60\" data-offset-bottom=\"200\">\n  ...\n</div>\n{% endhighlight %}\n\n    <h3>Via JavaScript</h3>\n    <p>Call the affix plugin via JavaScript:</p>\n{% highlight js %}\n  $('#myAffix').affix({\n    offset: {\n      top: 100\n    , bottom: function () {\n        return (this.bottom = $('.bs-footer').outerHeight(true))\n      }\n    }\n  })\n{% endhighlight %}\n\n\n    <h3>Options</h3>\n    <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset-top=\"200\"</code>.</p>\n\n    <div class=\"table-responsive\">\n      <table class=\"table table-bordered table-striped\">\n        <thead>\n         <tr>\n           <th style=\"width: 100px;\">Name</th>\n           <th style=\"width: 100px;\">type</th>\n           <th style=\"width: 50px;\">default</th>\n           <th>description</th>\n         </tr>\n        </thead>\n        <tbody>\n         <tr>\n           <td>offset</td>\n           <td>number | function | object</td>\n           <td>10</td>\n           <td>Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and bottom directions. To provide a unique, bottom and top offset just provide an object <code>offset: { top: 10 }</code> or <code>offset: { top: 10, bottom: 5 }</code>. Use a function when you need to dynamically calculate an offset.</td>\n         </tr>\n        </tbody>\n      </table>\n    </div><!-- /.table-responsive -->\n\n  </div>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/.jshintrc",
    "content": "{\n  \"asi\"      : true,\n  \"boss\"     : true,\n  \"browser\"  : true,\n  \"curly\"    : false,\n  \"debug\"    : true,\n  \"devel\"    : true,\n  \"eqeqeq\"   : false,\n  \"eqnull\"   : true,\n  \"expr\"     : true,\n  \"laxbreak\" : true,\n  \"laxcomma\" : true,\n  \"validthis\": true\n}"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/affix.js",
    "content": "/* ========================================================================\n * Bootstrap: affix.js v3.0.3\n * http://getbootstrap.com/javascript/#affix\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // AFFIX CLASS DEFINITION\n  // ======================\n\n  var Affix = function (element, options) {\n    this.options = $.extend({}, Affix.DEFAULTS, options)\n    this.$window = $(window)\n      .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))\n      .on('click.bs.affix.data-api',  $.proxy(this.checkPositionWithEventLoop, this))\n\n    this.$element = $(element)\n    this.affixed  =\n    this.unpin    = null\n\n    this.checkPosition()\n  }\n\n  Affix.RESET = 'affix affix-top affix-bottom'\n\n  Affix.DEFAULTS = {\n    offset: 0\n  }\n\n  Affix.prototype.checkPositionWithEventLoop = function () {\n    setTimeout($.proxy(this.checkPosition, this), 1)\n  }\n\n  Affix.prototype.checkPosition = function () {\n    if (!this.$element.is(':visible')) return\n\n    var scrollHeight = $(document).height()\n    var scrollTop    = this.$window.scrollTop()\n    var position     = this.$element.offset()\n    var offset       = this.options.offset\n    var offsetTop    = offset.top\n    var offsetBottom = offset.bottom\n\n    if (typeof offset != 'object')         offsetBottom = offsetTop = offset\n    if (typeof offsetTop == 'function')    offsetTop    = offset.top()\n    if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()\n\n    var affix = this.unpin   != null && (scrollTop + this.unpin <= position.top) ? false :\n                offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :\n                offsetTop    != null && (scrollTop <= offsetTop) ? 'top' : false\n\n    if (this.affixed === affix) return\n    if (this.unpin) this.$element.css('top', '')\n\n    this.affixed = affix\n    this.unpin   = affix == 'bottom' ? position.top - scrollTop : null\n\n    this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ''))\n\n    if (affix == 'bottom') {\n      this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })\n    }\n  }\n\n\n  // AFFIX PLUGIN DEFINITION\n  // =======================\n\n  var old = $.fn.affix\n\n  $.fn.affix = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.affix')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.affix', (data = new Affix(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.affix.Constructor = Affix\n\n\n  // AFFIX NO CONFLICT\n  // =================\n\n  $.fn.affix.noConflict = function () {\n    $.fn.affix = old\n    return this\n  }\n\n\n  // AFFIX DATA-API\n  // ==============\n\n  $(window).on('load', function () {\n    $('[data-spy=\"affix\"]').each(function () {\n      var $spy = $(this)\n      var data = $spy.data()\n\n      data.offset = data.offset || {}\n\n      if (data.offsetBottom) data.offset.bottom = data.offsetBottom\n      if (data.offsetTop)    data.offset.top    = data.offsetTop\n\n      $spy.affix(data)\n    })\n  })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/alert.js",
    "content": "/* ========================================================================\n * Bootstrap: alert.js v3.0.3\n * http://getbootstrap.com/javascript/#alerts\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // ALERT CLASS DEFINITION\n  // ======================\n\n  var dismiss = '[data-dismiss=\"alert\"]'\n  var Alert   = function (el) {\n    $(el).on('click', dismiss, this.close)\n  }\n\n  Alert.prototype.close = function (e) {\n    var $this    = $(this)\n    var selector = $this.attr('data-target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n    }\n\n    var $parent = $(selector)\n\n    if (e) e.preventDefault()\n\n    if (!$parent.length) {\n      $parent = $this.hasClass('alert') ? $this : $this.parent()\n    }\n\n    $parent.trigger(e = $.Event('close.bs.alert'))\n\n    if (e.isDefaultPrevented()) return\n\n    $parent.removeClass('in')\n\n    function removeElement() {\n      $parent.trigger('closed.bs.alert').remove()\n    }\n\n    $.support.transition && $parent.hasClass('fade') ?\n      $parent\n        .one($.support.transition.end, removeElement)\n        .emulateTransitionEnd(150) :\n      removeElement()\n  }\n\n\n  // ALERT PLUGIN DEFINITION\n  // =======================\n\n  var old = $.fn.alert\n\n  $.fn.alert = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.alert')\n\n      if (!data) $this.data('bs.alert', (data = new Alert(this)))\n      if (typeof option == 'string') data[option].call($this)\n    })\n  }\n\n  $.fn.alert.Constructor = Alert\n\n\n  // ALERT NO CONFLICT\n  // =================\n\n  $.fn.alert.noConflict = function () {\n    $.fn.alert = old\n    return this\n  }\n\n\n  // ALERT DATA-API\n  // ==============\n\n  $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/button.js",
    "content": "/* ========================================================================\n * Bootstrap: button.js v3.0.3\n * http://getbootstrap.com/javascript/#buttons\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // BUTTON PUBLIC CLASS DEFINITION\n  // ==============================\n\n  var Button = function (element, options) {\n    this.$element = $(element)\n    this.options  = $.extend({}, Button.DEFAULTS, options)\n  }\n\n  Button.DEFAULTS = {\n    loadingText: 'loading...'\n  }\n\n  Button.prototype.setState = function (state) {\n    var d    = 'disabled'\n    var $el  = this.$element\n    var val  = $el.is('input') ? 'val' : 'html'\n    var data = $el.data()\n\n    state = state + 'Text'\n\n    if (!data.resetText) $el.data('resetText', $el[val]())\n\n    $el[val](data[state] || this.options[state])\n\n    // push to event loop to allow forms to submit\n    setTimeout(function () {\n      state == 'loadingText' ?\n        $el.addClass(d).attr(d, d) :\n        $el.removeClass(d).removeAttr(d);\n    }, 0)\n  }\n\n  Button.prototype.toggle = function () {\n    var $parent = this.$element.closest('[data-toggle=\"buttons\"]')\n    var changed = true\n\n    if ($parent.length) {\n      var $input = this.$element.find('input')\n      if ($input.prop('type') === 'radio') {\n        // see if clicking on current one\n        if ($input.prop('checked') && this.$element.hasClass('active'))\n          changed = false\n        else\n          $parent.find('.active').removeClass('active')\n      }\n      if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')\n    }\n\n    if (changed) this.$element.toggleClass('active')\n  }\n\n\n  // BUTTON PLUGIN DEFINITION\n  // ========================\n\n  var old = $.fn.button\n\n  $.fn.button = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.button')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.button', (data = new Button(this, options)))\n\n      if (option == 'toggle') data.toggle()\n      else if (option) data.setState(option)\n    })\n  }\n\n  $.fn.button.Constructor = Button\n\n\n  // BUTTON NO CONFLICT\n  // ==================\n\n  $.fn.button.noConflict = function () {\n    $.fn.button = old\n    return this\n  }\n\n\n  // BUTTON DATA-API\n  // ===============\n\n  $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {\n    var $btn = $(e.target)\n    if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')\n    $btn.button('toggle')\n    e.preventDefault()\n  })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/carousel.js",
    "content": "/* ========================================================================\n * Bootstrap: carousel.js v3.0.3\n * http://getbootstrap.com/javascript/#carousel\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // CAROUSEL CLASS DEFINITION\n  // =========================\n\n  var Carousel = function (element, options) {\n    this.$element    = $(element)\n    this.$indicators = this.$element.find('.carousel-indicators')\n    this.options     = options\n    this.paused      =\n    this.sliding     =\n    this.interval    =\n    this.$active     =\n    this.$items      = null\n\n    this.options.pause == 'hover' && this.$element\n      .on('mouseenter', $.proxy(this.pause, this))\n      .on('mouseleave', $.proxy(this.cycle, this))\n  }\n\n  Carousel.DEFAULTS = {\n    interval: 5000\n  , pause: 'hover'\n  , wrap: true\n  }\n\n  Carousel.prototype.cycle =  function (e) {\n    e || (this.paused = false)\n\n    this.interval && clearInterval(this.interval)\n\n    this.options.interval\n      && !this.paused\n      && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\n\n    return this\n  }\n\n  Carousel.prototype.getActiveIndex = function () {\n    this.$active = this.$element.find('.item.active')\n    this.$items  = this.$active.parent().children()\n\n    return this.$items.index(this.$active)\n  }\n\n  Carousel.prototype.to = function (pos) {\n    var that        = this\n    var activeIndex = this.getActiveIndex()\n\n    if (pos > (this.$items.length - 1) || pos < 0) return\n\n    if (this.sliding)       return this.$element.one('slid.bs.carousel', function () { that.to(pos) })\n    if (activeIndex == pos) return this.pause().cycle()\n\n    return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))\n  }\n\n  Carousel.prototype.pause = function (e) {\n    e || (this.paused = true)\n\n    if (this.$element.find('.next, .prev').length && $.support.transition.end) {\n      this.$element.trigger($.support.transition.end)\n      this.cycle(true)\n    }\n\n    this.interval = clearInterval(this.interval)\n\n    return this\n  }\n\n  Carousel.prototype.next = function () {\n    if (this.sliding) return\n    return this.slide('next')\n  }\n\n  Carousel.prototype.prev = function () {\n    if (this.sliding) return\n    return this.slide('prev')\n  }\n\n  Carousel.prototype.slide = function (type, next) {\n    var $active   = this.$element.find('.item.active')\n    var $next     = next || $active[type]()\n    var isCycling = this.interval\n    var direction = type == 'next' ? 'left' : 'right'\n    var fallback  = type == 'next' ? 'first' : 'last'\n    var that      = this\n\n    if (!$next.length) {\n      if (!this.options.wrap) return\n      $next = this.$element.find('.item')[fallback]()\n    }\n\n    this.sliding = true\n\n    isCycling && this.pause()\n\n    var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })\n\n    if ($next.hasClass('active')) return\n\n    if (this.$indicators.length) {\n      this.$indicators.find('.active').removeClass('active')\n      this.$element.one('slid.bs.carousel', function () {\n        var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])\n        $nextIndicator && $nextIndicator.addClass('active')\n      })\n    }\n\n    if ($.support.transition && this.$element.hasClass('slide')) {\n      this.$element.trigger(e)\n      if (e.isDefaultPrevented()) return\n      $next.addClass(type)\n      $next[0].offsetWidth // force reflow\n      $active.addClass(direction)\n      $next.addClass(direction)\n      $active\n        .one($.support.transition.end, function () {\n          $next.removeClass([type, direction].join(' ')).addClass('active')\n          $active.removeClass(['active', direction].join(' '))\n          that.sliding = false\n          setTimeout(function () { that.$element.trigger('slid.bs.carousel') }, 0)\n        })\n        .emulateTransitionEnd(600)\n    } else {\n      this.$element.trigger(e)\n      if (e.isDefaultPrevented()) return\n      $active.removeClass('active')\n      $next.addClass('active')\n      this.sliding = false\n      this.$element.trigger('slid.bs.carousel')\n    }\n\n    isCycling && this.cycle()\n\n    return this\n  }\n\n\n  // CAROUSEL PLUGIN DEFINITION\n  // ==========================\n\n  var old = $.fn.carousel\n\n  $.fn.carousel = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.carousel')\n      var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)\n      var action  = typeof option == 'string' ? option : options.slide\n\n      if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))\n      if (typeof option == 'number') data.to(option)\n      else if (action) data[action]()\n      else if (options.interval) data.pause().cycle()\n    })\n  }\n\n  $.fn.carousel.Constructor = Carousel\n\n\n  // CAROUSEL NO CONFLICT\n  // ====================\n\n  $.fn.carousel.noConflict = function () {\n    $.fn.carousel = old\n    return this\n  }\n\n\n  // CAROUSEL DATA-API\n  // =================\n\n  $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {\n    var $this   = $(this), href\n    var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) //strip for ie7\n    var options = $.extend({}, $target.data(), $this.data())\n    var slideIndex = $this.attr('data-slide-to')\n    if (slideIndex) options.interval = false\n\n    $target.carousel(options)\n\n    if (slideIndex = $this.attr('data-slide-to')) {\n      $target.data('bs.carousel').to(slideIndex)\n    }\n\n    e.preventDefault()\n  })\n\n  $(window).on('load', function () {\n    $('[data-ride=\"carousel\"]').each(function () {\n      var $carousel = $(this)\n      $carousel.carousel($carousel.data())\n    })\n  })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/collapse.js",
    "content": "/* ========================================================================\n * Bootstrap: collapse.js v3.0.3\n * http://getbootstrap.com/javascript/#collapse\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // COLLAPSE PUBLIC CLASS DEFINITION\n  // ================================\n\n  var Collapse = function (element, options) {\n    this.$element      = $(element)\n    this.options       = $.extend({}, Collapse.DEFAULTS, options)\n    this.transitioning = null\n\n    if (this.options.parent) this.$parent = $(this.options.parent)\n    if (this.options.toggle) this.toggle()\n  }\n\n  Collapse.DEFAULTS = {\n    toggle: true\n  }\n\n  Collapse.prototype.dimension = function () {\n    var hasWidth = this.$element.hasClass('width')\n    return hasWidth ? 'width' : 'height'\n  }\n\n  Collapse.prototype.show = function () {\n    if (this.transitioning || this.$element.hasClass('in')) return\n\n    var startEvent = $.Event('show.bs.collapse')\n    this.$element.trigger(startEvent)\n    if (startEvent.isDefaultPrevented()) return\n\n    var actives = this.$parent && this.$parent.find('> .panel > .in')\n\n    if (actives && actives.length) {\n      var hasData = actives.data('bs.collapse')\n      if (hasData && hasData.transitioning) return\n      actives.collapse('hide')\n      hasData || actives.data('bs.collapse', null)\n    }\n\n    var dimension = this.dimension()\n\n    this.$element\n      .removeClass('collapse')\n      .addClass('collapsing')\n      [dimension](0)\n\n    this.transitioning = 1\n\n    var complete = function () {\n      this.$element\n        .removeClass('collapsing')\n        .addClass('in')\n        [dimension]('auto')\n      this.transitioning = 0\n      this.$element.trigger('shown.bs.collapse')\n    }\n\n    if (!$.support.transition) return complete.call(this)\n\n    var scrollSize = $.camelCase(['scroll', dimension].join('-'))\n\n    this.$element\n      .one($.support.transition.end, $.proxy(complete, this))\n      .emulateTransitionEnd(350)\n      [dimension](this.$element[0][scrollSize])\n  }\n\n  Collapse.prototype.hide = function () {\n    if (this.transitioning || !this.$element.hasClass('in')) return\n\n    var startEvent = $.Event('hide.bs.collapse')\n    this.$element.trigger(startEvent)\n    if (startEvent.isDefaultPrevented()) return\n\n    var dimension = this.dimension()\n\n    this.$element\n      [dimension](this.$element[dimension]())\n      [0].offsetHeight\n\n    this.$element\n      .addClass('collapsing')\n      .removeClass('collapse')\n      .removeClass('in')\n\n    this.transitioning = 1\n\n    var complete = function () {\n      this.transitioning = 0\n      this.$element\n        .trigger('hidden.bs.collapse')\n        .removeClass('collapsing')\n        .addClass('collapse')\n    }\n\n    if (!$.support.transition) return complete.call(this)\n\n    this.$element\n      [dimension](0)\n      .one($.support.transition.end, $.proxy(complete, this))\n      .emulateTransitionEnd(350)\n  }\n\n  Collapse.prototype.toggle = function () {\n    this[this.$element.hasClass('in') ? 'hide' : 'show']()\n  }\n\n\n  // COLLAPSE PLUGIN DEFINITION\n  // ==========================\n\n  var old = $.fn.collapse\n\n  $.fn.collapse = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.collapse')\n      var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\n      if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.collapse.Constructor = Collapse\n\n\n  // COLLAPSE NO CONFLICT\n  // ====================\n\n  $.fn.collapse.noConflict = function () {\n    $.fn.collapse = old\n    return this\n  }\n\n\n  // COLLAPSE DATA-API\n  // =================\n\n  $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {\n    var $this   = $(this), href\n    var target  = $this.attr('data-target')\n        || e.preventDefault()\n        || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '') //strip for ie7\n    var $target = $(target)\n    var data    = $target.data('bs.collapse')\n    var option  = data ? 'toggle' : $this.data()\n    var parent  = $this.attr('data-parent')\n    var $parent = parent && $(parent)\n\n    if (!data || !data.transitioning) {\n      if ($parent) $parent.find('[data-toggle=collapse][data-parent=\"' + parent + '\"]').not($this).addClass('collapsed')\n      $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')\n    }\n\n    $target.collapse(option)\n  })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/dropdown.js",
    "content": "/* ========================================================================\n * Bootstrap: dropdown.js v3.0.3\n * http://getbootstrap.com/javascript/#dropdowns\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // DROPDOWN CLASS DEFINITION\n  // =========================\n\n  var backdrop = '.dropdown-backdrop'\n  var toggle   = '[data-toggle=dropdown]'\n  var Dropdown = function (element) {\n    $(element).on('click.bs.dropdown', this.toggle)\n  }\n\n  Dropdown.prototype.toggle = function (e) {\n    var $this = $(this)\n\n    if ($this.is('.disabled, :disabled')) return\n\n    var $parent  = getParent($this)\n    var isActive = $parent.hasClass('open')\n\n    clearMenus()\n\n    if (!isActive) {\n      if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {\n        // if mobile we use a backdrop because click events don't delegate\n        $('<div class=\"dropdown-backdrop\"/>').insertAfter($(this)).on('click', clearMenus)\n      }\n\n      $parent.trigger(e = $.Event('show.bs.dropdown'))\n\n      if (e.isDefaultPrevented()) return\n\n      $parent\n        .toggleClass('open')\n        .trigger('shown.bs.dropdown')\n\n      $this.focus()\n    }\n\n    return false\n  }\n\n  Dropdown.prototype.keydown = function (e) {\n    if (!/(38|40|27)/.test(e.keyCode)) return\n\n    var $this = $(this)\n\n    e.preventDefault()\n    e.stopPropagation()\n\n    if ($this.is('.disabled, :disabled')) return\n\n    var $parent  = getParent($this)\n    var isActive = $parent.hasClass('open')\n\n    if (!isActive || (isActive && e.keyCode == 27)) {\n      if (e.which == 27) $parent.find(toggle).focus()\n      return $this.click()\n    }\n\n    var $items = $('[role=menu] li:not(.divider):visible a', $parent)\n\n    if (!$items.length) return\n\n    var index = $items.index($items.filter(':focus'))\n\n    if (e.keyCode == 38 && index > 0)                 index--                        // up\n    if (e.keyCode == 40 && index < $items.length - 1) index++                        // down\n    if (!~index)                                      index=0\n\n    $items.eq(index).focus()\n  }\n\n  function clearMenus() {\n    $(backdrop).remove()\n    $(toggle).each(function (e) {\n      var $parent = getParent($(this))\n      if (!$parent.hasClass('open')) return\n      $parent.trigger(e = $.Event('hide.bs.dropdown'))\n      if (e.isDefaultPrevented()) return\n      $parent.removeClass('open').trigger('hidden.bs.dropdown')\n    })\n  }\n\n  function getParent($this) {\n    var selector = $this.attr('data-target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\\s]*$)/, '') //strip for ie7\n    }\n\n    var $parent = selector && $(selector)\n\n    return $parent && $parent.length ? $parent : $this.parent()\n  }\n\n\n  // DROPDOWN PLUGIN DEFINITION\n  // ==========================\n\n  var old = $.fn.dropdown\n\n  $.fn.dropdown = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.dropdown')\n\n      if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))\n      if (typeof option == 'string') data[option].call($this)\n    })\n  }\n\n  $.fn.dropdown.Constructor = Dropdown\n\n\n  // DROPDOWN NO CONFLICT\n  // ====================\n\n  $.fn.dropdown.noConflict = function () {\n    $.fn.dropdown = old\n    return this\n  }\n\n\n  // APPLY TO STANDARD DROPDOWN ELEMENTS\n  // ===================================\n\n  $(document)\n    .on('click.bs.dropdown.data-api', clearMenus)\n    .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })\n    .on('click.bs.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)\n    .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/modal.js",
    "content": "/* ========================================================================\n * Bootstrap: modal.js v3.0.3\n * http://getbootstrap.com/javascript/#modals\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // MODAL CLASS DEFINITION\n  // ======================\n\n  var Modal = function (element, options) {\n    this.options   = options\n    this.$element  = $(element)\n    this.$backdrop =\n    this.isShown   = null\n\n    if (this.options.remote) this.$element.load(this.options.remote)\n  }\n\n  Modal.DEFAULTS = {\n      backdrop: true\n    , keyboard: true\n    , show: true\n  }\n\n  Modal.prototype.toggle = function (_relatedTarget) {\n    return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)\n  }\n\n  Modal.prototype.show = function (_relatedTarget) {\n    var that = this\n    var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })\n\n    this.$element.trigger(e)\n\n    if (this.isShown || e.isDefaultPrevented()) return\n\n    this.isShown = true\n\n    this.escape()\n\n    this.$element.on('click.dismiss.modal', '[data-dismiss=\"modal\"]', $.proxy(this.hide, this))\n\n    this.backdrop(function () {\n      var transition = $.support.transition && that.$element.hasClass('fade')\n\n      if (!that.$element.parent().length) {\n        that.$element.appendTo(document.body) // don't move modals dom position\n      }\n\n      that.$element.show()\n\n      if (transition) {\n        that.$element[0].offsetWidth // force reflow\n      }\n\n      that.$element\n        .addClass('in')\n        .attr('aria-hidden', false)\n\n      that.enforceFocus()\n\n      var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })\n\n      transition ?\n        that.$element.find('.modal-dialog') // wait for modal to slide in\n          .one($.support.transition.end, function () {\n            that.$element.focus().trigger(e)\n          })\n          .emulateTransitionEnd(300) :\n        that.$element.focus().trigger(e)\n    })\n  }\n\n  Modal.prototype.hide = function (e) {\n    if (e) e.preventDefault()\n\n    e = $.Event('hide.bs.modal')\n\n    this.$element.trigger(e)\n\n    if (!this.isShown || e.isDefaultPrevented()) return\n\n    this.isShown = false\n\n    this.escape()\n\n    $(document).off('focusin.bs.modal')\n\n    this.$element\n      .removeClass('in')\n      .attr('aria-hidden', true)\n      .off('click.dismiss.modal')\n\n    $.support.transition && this.$element.hasClass('fade') ?\n      this.$element\n        .one($.support.transition.end, $.proxy(this.hideModal, this))\n        .emulateTransitionEnd(300) :\n      this.hideModal()\n  }\n\n  Modal.prototype.enforceFocus = function () {\n    $(document)\n      .off('focusin.bs.modal') // guard against infinite focus loop\n      .on('focusin.bs.modal', $.proxy(function (e) {\n        if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {\n          this.$element.focus()\n        }\n      }, this))\n  }\n\n  Modal.prototype.escape = function () {\n    if (this.isShown && this.options.keyboard) {\n      this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {\n        e.which == 27 && this.hide()\n      }, this))\n    } else if (!this.isShown) {\n      this.$element.off('keyup.dismiss.bs.modal')\n    }\n  }\n\n  Modal.prototype.hideModal = function () {\n    var that = this\n    this.$element.hide()\n    this.backdrop(function () {\n      that.removeBackdrop()\n      that.$element.trigger('hidden.bs.modal')\n    })\n  }\n\n  Modal.prototype.removeBackdrop = function () {\n    this.$backdrop && this.$backdrop.remove()\n    this.$backdrop = null\n  }\n\n  Modal.prototype.backdrop = function (callback) {\n    var that    = this\n    var animate = this.$element.hasClass('fade') ? 'fade' : ''\n\n    if (this.isShown && this.options.backdrop) {\n      var doAnimate = $.support.transition && animate\n\n      this.$backdrop = $('<div class=\"modal-backdrop ' + animate + '\" />')\n        .appendTo(document.body)\n\n      this.$element.on('click.dismiss.modal', $.proxy(function (e) {\n        if (e.target !== e.currentTarget) return\n        this.options.backdrop == 'static'\n          ? this.$element[0].focus.call(this.$element[0])\n          : this.hide.call(this)\n      }, this))\n\n      if (doAnimate) this.$backdrop[0].offsetWidth // force reflow\n\n      this.$backdrop.addClass('in')\n\n      if (!callback) return\n\n      doAnimate ?\n        this.$backdrop\n          .one($.support.transition.end, callback)\n          .emulateTransitionEnd(150) :\n        callback()\n\n    } else if (!this.isShown && this.$backdrop) {\n      this.$backdrop.removeClass('in')\n\n      $.support.transition && this.$element.hasClass('fade')?\n        this.$backdrop\n          .one($.support.transition.end, callback)\n          .emulateTransitionEnd(150) :\n        callback()\n\n    } else if (callback) {\n      callback()\n    }\n  }\n\n\n  // MODAL PLUGIN DEFINITION\n  // =======================\n\n  var old = $.fn.modal\n\n  $.fn.modal = function (option, _relatedTarget) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.modal')\n      var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\n      if (!data) $this.data('bs.modal', (data = new Modal(this, options)))\n      if (typeof option == 'string') data[option](_relatedTarget)\n      else if (options.show) data.show(_relatedTarget)\n    })\n  }\n\n  $.fn.modal.Constructor = Modal\n\n\n  // MODAL NO CONFLICT\n  // =================\n\n  $.fn.modal.noConflict = function () {\n    $.fn.modal = old\n    return this\n  }\n\n\n  // MODAL DATA-API\n  // ==============\n\n  $(document).on('click.bs.modal.data-api', '[data-toggle=\"modal\"]', function (e) {\n    var $this   = $(this)\n    var href    = $this.attr('href')\n    var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\\s]+$)/, ''))) //strip for ie7\n    var option  = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())\n\n    e.preventDefault()\n\n    $target\n      .modal(option, this)\n      .one('hide', function () {\n        $this.is(':visible') && $this.focus()\n      })\n  })\n\n  $(document)\n    .on('show.bs.modal',  '.modal', function () { $(document.body).addClass('modal-open') })\n    .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/popover.js",
    "content": "/* ========================================================================\n * Bootstrap: popover.js v3.0.3\n * http://getbootstrap.com/javascript/#popovers\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // POPOVER PUBLIC CLASS DEFINITION\n  // ===============================\n\n  var Popover = function (element, options) {\n    this.init('popover', element, options)\n  }\n\n  if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')\n\n  Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {\n    placement: 'right'\n  , trigger: 'click'\n  , content: ''\n  , template: '<div class=\"popover\"><div class=\"arrow\"></div><h3 class=\"popover-title\"></h3><div class=\"popover-content\"></div></div>'\n  })\n\n\n  // NOTE: POPOVER EXTENDS tooltip.js\n  // ================================\n\n  Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)\n\n  Popover.prototype.constructor = Popover\n\n  Popover.prototype.getDefaults = function () {\n    return Popover.DEFAULTS\n  }\n\n  Popover.prototype.setContent = function () {\n    var $tip    = this.tip()\n    var title   = this.getTitle()\n    var content = this.getContent()\n\n    $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)\n    $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)\n\n    $tip.removeClass('fade top bottom left right in')\n\n    // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do\n    // this manually by checking the contents.\n    if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()\n  }\n\n  Popover.prototype.hasContent = function () {\n    return this.getTitle() || this.getContent()\n  }\n\n  Popover.prototype.getContent = function () {\n    var $e = this.$element\n    var o  = this.options\n\n    return $e.attr('data-content')\n      || (typeof o.content == 'function' ?\n            o.content.call($e[0]) :\n            o.content)\n  }\n\n  Popover.prototype.arrow = function () {\n    return this.$arrow = this.$arrow || this.tip().find('.arrow')\n  }\n\n  Popover.prototype.tip = function () {\n    if (!this.$tip) this.$tip = $(this.options.template)\n    return this.$tip\n  }\n\n\n  // POPOVER PLUGIN DEFINITION\n  // =========================\n\n  var old = $.fn.popover\n\n  $.fn.popover = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.popover')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.popover', (data = new Popover(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.popover.Constructor = Popover\n\n\n  // POPOVER NO CONFLICT\n  // ===================\n\n  $.fn.popover.noConflict = function () {\n    $.fn.popover = old\n    return this\n  }\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/scrollspy.js",
    "content": "/* ========================================================================\n * Bootstrap: scrollspy.js v3.0.3\n * http://getbootstrap.com/javascript/#scrollspy\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // SCROLLSPY CLASS DEFINITION\n  // ==========================\n\n  function ScrollSpy(element, options) {\n    var href\n    var process  = $.proxy(this.process, this)\n\n    this.$element       = $(element).is('body') ? $(window) : $(element)\n    this.$body          = $('body')\n    this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)\n    this.options        = $.extend({}, ScrollSpy.DEFAULTS, options)\n    this.selector       = (this.options.target\n      || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) //strip for ie7\n      || '') + ' .nav li > a'\n    this.offsets        = $([])\n    this.targets        = $([])\n    this.activeTarget   = null\n\n    this.refresh()\n    this.process()\n  }\n\n  ScrollSpy.DEFAULTS = {\n    offset: 10\n  }\n\n  ScrollSpy.prototype.refresh = function () {\n    var offsetMethod = this.$element[0] == window ? 'offset' : 'position'\n\n    this.offsets = $([])\n    this.targets = $([])\n\n    var self     = this\n    var $targets = this.$body\n      .find(this.selector)\n      .map(function () {\n        var $el   = $(this)\n        var href  = $el.data('target') || $el.attr('href')\n        var $href = /^#\\w/.test(href) && $(href)\n\n        return ($href\n          && $href.length\n          && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null\n      })\n      .sort(function (a, b) { return a[0] - b[0] })\n      .each(function () {\n        self.offsets.push(this[0])\n        self.targets.push(this[1])\n      })\n  }\n\n  ScrollSpy.prototype.process = function () {\n    var scrollTop    = this.$scrollElement.scrollTop() + this.options.offset\n    var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight\n    var maxScroll    = scrollHeight - this.$scrollElement.height()\n    var offsets      = this.offsets\n    var targets      = this.targets\n    var activeTarget = this.activeTarget\n    var i\n\n    if (scrollTop >= maxScroll) {\n      return activeTarget != (i = targets.last()[0]) && this.activate(i)\n    }\n\n    for (i = offsets.length; i--;) {\n      activeTarget != targets[i]\n        && scrollTop >= offsets[i]\n        && (!offsets[i + 1] || scrollTop <= offsets[i + 1])\n        && this.activate( targets[i] )\n    }\n  }\n\n  ScrollSpy.prototype.activate = function (target) {\n    this.activeTarget = target\n\n    $(this.selector)\n      .parents('.active')\n      .removeClass('active')\n\n    var selector = this.selector\n      + '[data-target=\"' + target + '\"],'\n      + this.selector + '[href=\"' + target + '\"]'\n\n    var active = $(selector)\n      .parents('li')\n      .addClass('active')\n\n    if (active.parent('.dropdown-menu').length)  {\n      active = active\n        .closest('li.dropdown')\n        .addClass('active')\n    }\n\n    active.trigger('activate.bs.scrollspy')\n  }\n\n\n  // SCROLLSPY PLUGIN DEFINITION\n  // ===========================\n\n  var old = $.fn.scrollspy\n\n  $.fn.scrollspy = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.scrollspy')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.scrollspy.Constructor = ScrollSpy\n\n\n  // SCROLLSPY NO CONFLICT\n  // =====================\n\n  $.fn.scrollspy.noConflict = function () {\n    $.fn.scrollspy = old\n    return this\n  }\n\n\n  // SCROLLSPY DATA-API\n  // ==================\n\n  $(window).on('load', function () {\n    $('[data-spy=\"scroll\"]').each(function () {\n      var $spy = $(this)\n      $spy.scrollspy($spy.data())\n    })\n  })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tab.js",
    "content": "/* ========================================================================\n * Bootstrap: tab.js v3.0.3\n * http://getbootstrap.com/javascript/#tabs\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // TAB CLASS DEFINITION\n  // ====================\n\n  var Tab = function (element) {\n    this.element = $(element)\n  }\n\n  Tab.prototype.show = function () {\n    var $this    = this.element\n    var $ul      = $this.closest('ul:not(.dropdown-menu)')\n    var selector = $this.data('target')\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') //strip for ie7\n    }\n\n    if ($this.parent('li').hasClass('active')) return\n\n    var previous = $ul.find('.active:last a')[0]\n    var e        = $.Event('show.bs.tab', {\n      relatedTarget: previous\n    })\n\n    $this.trigger(e)\n\n    if (e.isDefaultPrevented()) return\n\n    var $target = $(selector)\n\n    this.activate($this.parent('li'), $ul)\n    this.activate($target, $target.parent(), function () {\n      $this.trigger({\n        type: 'shown.bs.tab'\n      , relatedTarget: previous\n      })\n    })\n  }\n\n  Tab.prototype.activate = function (element, container, callback) {\n    var $active    = container.find('> .active')\n    var transition = callback\n      && $.support.transition\n      && $active.hasClass('fade')\n\n    function next() {\n      $active\n        .removeClass('active')\n        .find('> .dropdown-menu > .active')\n        .removeClass('active')\n\n      element.addClass('active')\n\n      if (transition) {\n        element[0].offsetWidth // reflow for transition\n        element.addClass('in')\n      } else {\n        element.removeClass('fade')\n      }\n\n      if (element.parent('.dropdown-menu')) {\n        element.closest('li.dropdown').addClass('active')\n      }\n\n      callback && callback()\n    }\n\n    transition ?\n      $active\n        .one($.support.transition.end, next)\n        .emulateTransitionEnd(150) :\n      next()\n\n    $active.removeClass('in')\n  }\n\n\n  // TAB PLUGIN DEFINITION\n  // =====================\n\n  var old = $.fn.tab\n\n  $.fn.tab = function ( option ) {\n    return this.each(function () {\n      var $this = $(this)\n      var data  = $this.data('bs.tab')\n\n      if (!data) $this.data('bs.tab', (data = new Tab(this)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.tab.Constructor = Tab\n\n\n  // TAB NO CONFLICT\n  // ===============\n\n  $.fn.tab.noConflict = function () {\n    $.fn.tab = old\n    return this\n  }\n\n\n  // TAB DATA-API\n  // ============\n\n  $(document).on('click.bs.tab.data-api', '[data-toggle=\"tab\"], [data-toggle=\"pill\"]', function (e) {\n    e.preventDefault()\n    $(this).tab('show')\n  })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/index.html",
    "content": "<!DOCTYPE HTML>\n<html>\n<head>\n  <title>Bootstrap Plugin Test Suite</title>\n\n  <!-- jquery -->\n  <!--<script src=\"http://code.jquery.com/jquery-1.7.min.js\"></script>-->\n  <script src=\"vendor/jquery.js\"></script>\n\n  <!-- qunit -->\n  <link rel=\"stylesheet\" href=\"vendor/qunit.css\" media=\"screen\">\n  <script src=\"vendor/qunit.js\"></script>\n\n  <!--  plugin sources -->\n  <script src=\"../../js/transition.js\"></script>\n  <script src=\"../../js/alert.js\"></script>\n  <script src=\"../../js/button.js\"></script>\n  <script src=\"../../js/carousel.js\"></script>\n  <script src=\"../../js/collapse.js\"></script>\n  <script src=\"../../js/dropdown.js\"></script>\n  <script src=\"../../js/modal.js\"></script>\n  <script src=\"../../js/scrollspy.js\"></script>\n  <script src=\"../../js/tab.js\"></script>\n  <script src=\"../../js/tooltip.js\"></script>\n  <script src=\"../../js/popover.js\"></script>\n  <script src=\"../../js/affix.js\"></script>\n\n  <!-- unit tests -->\n  <script src=\"unit/transition.js\"></script>\n  <script src=\"unit/alert.js\"></script>\n  <script src=\"unit/button.js\"></script>\n  <script src=\"unit/carousel.js\"></script>\n  <script src=\"unit/collapse.js\"></script>\n  <script src=\"unit/dropdown.js\"></script>\n  <script src=\"unit/modal.js\"></script>\n  <script src=\"unit/scrollspy.js\"></script>\n  <script src=\"unit/tab.js\"></script>\n  <script src=\"unit/tooltip.js\"></script>\n  <script src=\"unit/popover.js\"></script>\n  <script src=\"unit/affix.js\"></script>\n\n</head>\n<body>\n  <div>\n    <h1 id=\"qunit-header\">Bootstrap Plugin Test Suite</h1>\n    <h2 id=\"qunit-banner\"></h2>\n    <h2 id=\"qunit-userAgent\"></h2>\n    <ol id=\"qunit-tests\"></ol>\n    <div id=\"qunit-fixture\"></div>\n  </div>\n</body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/affix.js",
    "content": "$(function () {\n\n    module(\"affix\")\n\n      test(\"should provide no conflict\", function () {\n        var affix = $.fn.affix.noConflict()\n        ok(!$.fn.affix, 'affix was set back to undefined (org value)')\n        $.fn.affix = affix\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        ok($(document.body).affix, 'affix method is defined')\n      })\n\n      test(\"should return element\", function () {\n        ok($(document.body).affix()[0] == document.body, 'document.body returned')\n      })\n\n      test(\"should exit early if element is not visible\", function () {\n        var $affix = $('<div style=\"display: none\"></div>').affix()\n        $affix.data('bs.affix').checkPosition()\n        ok(!$affix.hasClass('affix'), 'affix class was not added')\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/alert.js",
    "content": "$(function () {\n\n    module(\"alert\")\n\n      test(\"should provide no conflict\", function () {\n        var alert = $.fn.alert.noConflict()\n        ok(!$.fn.alert, 'alert was set back to undefined (org value)')\n        $.fn.alert = alert\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        ok($(document.body).alert, 'alert method is defined')\n      })\n\n      test(\"should return element\", function () {\n        ok($(document.body).alert()[0] == document.body, 'document.body returned')\n      })\n\n      test(\"should fade element out on clicking .close\", function () {\n        var alertHTML = '<div class=\"alert-message warning fade in\">'\n          + '<a class=\"close\" href=\"#\" data-dismiss=\"alert\">×</a>'\n          + '<p><strong>Holy guacamole!</strong> Best check yo self, you\\'re not looking too good.</p>'\n          + '</div>'\n          , alert = $(alertHTML).alert()\n\n        alert.find('.close').click()\n\n        ok(!alert.hasClass('in'), 'remove .in class on .close click')\n      })\n\n      test(\"should remove element when clicking .close\", function () {\n        $.support.transition = false\n\n        var alertHTML = '<div class=\"alert-message warning fade in\">'\n          + '<a class=\"close\" href=\"#\" data-dismiss=\"alert\">×</a>'\n          + '<p><strong>Holy guacamole!</strong> Best check yo self, you\\'re not looking too good.</p>'\n          + '</div>'\n          , alert = $(alertHTML).appendTo('#qunit-fixture').alert()\n\n        ok($('#qunit-fixture').find('.alert-message').length, 'element added to dom')\n\n        alert.find('.close').click()\n\n        ok(!$('#qunit-fixture').find('.alert-message').length, 'element removed from dom')\n      })\n\n      test(\"should not fire closed when close is prevented\", function () {\n        $.support.transition = false\n        stop();\n        $('<div class=\"alert\"/>')\n          .on('close.bs.alert', function (e) {\n            e.preventDefault();\n            ok(true);\n            start();\n          })\n          .on('closed.bs.alert', function () {\n            ok(false);\n          })\n          .alert('close')\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/button.js",
    "content": "$(function () {\n\n    module(\"button\")\n\n      test(\"should provide no conflict\", function () {\n        var button = $.fn.button.noConflict()\n        ok(!$.fn.button, 'button was set back to undefined (org value)')\n        $.fn.button = button\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        ok($(document.body).button, 'button method is defined')\n      })\n\n      test(\"should return element\", function () {\n        ok($(document.body).button()[0] == document.body, 'document.body returned')\n      })\n\n      test(\"should return set state to loading\", function () {\n        var btn = $('<button class=\"btn\" data-loading-text=\"fat\">mdo</button>')\n        equal(btn.html(), 'mdo', 'btn text equals mdo')\n        btn.button('loading')\n        equal(btn.html(), 'fat', 'btn text equals fat')\n        stop()\n        setTimeout(function () {\n          ok(btn.attr('disabled'), 'btn is disabled')\n          ok(btn.hasClass('disabled'), 'btn has disabled class')\n          start()\n        }, 0)\n      })\n\n      test(\"should return reset state\", function () {\n        var btn = $('<button class=\"btn\" data-loading-text=\"fat\">mdo</button>')\n        equal(btn.html(), 'mdo', 'btn text equals mdo')\n        btn.button('loading')\n        equal(btn.html(), 'fat', 'btn text equals fat')\n        stop()\n        setTimeout(function () {\n          ok(btn.attr('disabled'), 'btn is disabled')\n          ok(btn.hasClass('disabled'), 'btn has disabled class')\n          start()\n          stop()\n          btn.button('reset')\n          equal(btn.html(), 'mdo', 'btn text equals mdo')\n          setTimeout(function () {\n            ok(!btn.attr('disabled'), 'btn is not disabled')\n            ok(!btn.hasClass('disabled'), 'btn does not have disabled class')\n            start()\n          }, 0)\n        }, 0)\n\n      })\n\n      test(\"should toggle active\", function () {\n        var btn = $('<button class=\"btn\">mdo</button>')\n        ok(!btn.hasClass('active'), 'btn does not have active class')\n        btn.button('toggle')\n        ok(btn.hasClass('active'), 'btn has class active')\n      })\n\n      test(\"should toggle active when btn children are clicked\", function () {\n        var btn = $('<button class=\"btn\" data-toggle=\"button\">mdo</button>')\n          , inner = $('<i></i>')\n        btn\n          .append(inner)\n          .appendTo($('#qunit-fixture'))\n        ok(!btn.hasClass('active'), 'btn does not have active class')\n        inner.click()\n        ok(btn.hasClass('active'), 'btn has class active')\n      })\n\n      test(\"should toggle active when btn children are clicked within btn-group\", function () {\n        var btngroup = $('<div class=\"btn-group\" data-toggle=\"buttons\"></div>')\n          , btn = $('<button class=\"btn\">fat</button>')\n          , inner = $('<i></i>')\n        btngroup\n          .append(btn.append(inner))\n          .appendTo($('#qunit-fixture'))\n        ok(!btn.hasClass('active'), 'btn does not have active class')\n        inner.click()\n        ok(btn.hasClass('active'), 'btn has class active')\n      })\n\n      test(\"should check for closest matching toggle\", function () {\n        var group = '<div class=\"btn-group\" data-toggle=\"buttons\">' +\n          '<label class=\"btn btn-primary active\">' +\n            '<input type=\"radio\" name=\"options\" id=\"option1\" checked=\"true\"> Option 1' +\n          '</label>' +\n          '<label class=\"btn btn-primary\">' +\n            '<input type=\"radio\" name=\"options\" id=\"option2\"> Option 2' +\n          '</label>' +\n          '<label class=\"btn btn-primary\">' +\n            '<input type=\"radio\" name=\"options\" id=\"option3\"> Option 3' +\n          '</label>' +\n        '</div>'\n\n        group = $(group)\n\n        var btn1 = $(group.children()[0])\n        var btn2 = $(group.children()[1])\n        var btn3 = $(group.children()[2])\n\n        group.appendTo($('#qunit-fixture'))\n\n        ok(btn1.hasClass('active'), 'btn1 has active class')\n        ok(btn1.find('input').prop('checked'), 'btn1 is checked')\n        ok(!btn2.hasClass('active'), 'btn2 does not have active class')\n        ok(!btn2.find('input').prop('checked'), 'btn2 is not checked')\n        btn2.find('input').click()\n        ok(!btn1.hasClass('active'), 'btn1 does not have active class')\n        ok(!btn1.find('input').prop('checked'), 'btn1 is checked')\n        ok(btn2.hasClass('active'), 'btn2 has active class')\n        ok(btn2.find('input').prop('checked'), 'btn2 is checked')\n\n        btn2.find('input').click() /* clicking an already checked radio should not un-check it */\n        ok(!btn1.hasClass('active'), 'btn1 does not have active class')\n        ok(!btn1.find('input').prop('checked'), 'btn1 is checked')\n        ok(btn2.hasClass('active'), 'btn2 has active class')\n        ok(btn2.find('input').prop('checked'), 'btn2 is checked')\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/carousel.js",
    "content": "$(function () {\n\n    module(\"carousel\")\n\n      test(\"should provide no conflict\", function () {\n        var carousel = $.fn.carousel.noConflict()\n        ok(!$.fn.carousel, 'carousel was set back to undefined (org value)')\n        $.fn.carousel = carousel\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        ok($(document.body).carousel, 'carousel method is defined')\n      })\n\n      test(\"should return element\", function () {\n        ok($(document.body).carousel()[0] == document.body, 'document.body returned')\n      })\n\n      test(\"should not fire sliden when slide is prevented\", function () {\n        $.support.transition = false\n        stop()\n        $('<div class=\"carousel\"/>')\n          .on('slide.bs.carousel', function (e) {\n            e.preventDefault();\n            ok(true);\n            start();\n          })\n          .on('slid.bs.carousel', function () {\n            ok(false);\n          })\n          .carousel('next')\n      })\n\n      test(\"should fire slide event with direction\", function () {\n        var template = '<div id=\"myCarousel\" class=\"carousel slide\"><div class=\"carousel-inner\"><div class=\"item active\"><img alt=\"\"><div class=\"carousel-caption\"><h4>{{_i}}First Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div><div class=\"item\"><img alt=\"\"><div class=\"carousel-caption\"><h4>{{_i}}Second Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div><div class=\"item\"><img alt=\"\"><div class=\"carousel-caption\"><h4>{{_i}}Third Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div></div><a class=\"left carousel-control\" href=\"#myCarousel\" data-slide=\"prev\">&lsaquo;</a><a class=\"right carousel-control\" href=\"#myCarousel\" data-slide=\"next\">&rsaquo;</a></div>'\n        $.support.transition = false\n        stop()\n        $(template).on('slide.bs.carousel', function (e) {\n          e.preventDefault()\n          ok(e.direction)\n          ok(e.direction === 'right' || e.direction === 'left')\n          start()\n        }).carousel('next')\n      })\n\n      test(\"should fire slide event with relatedTarget\", function () {\n        var template = '<div id=\"myCarousel\" class=\"carousel slide\"><div class=\"carousel-inner\"><div class=\"item active\"><img alt=\"\"><div class=\"carousel-caption\"><h4>{{_i}}First Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div><div class=\"item\"><img alt=\"\"><div class=\"carousel-caption\"><h4>{{_i}}Second Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div><div class=\"item\"><img alt=\"\"><div class=\"carousel-caption\"><h4>{{_i}}Third Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div></div><a class=\"left carousel-control\" href=\"#myCarousel\" data-slide=\"prev\">&lsaquo;</a><a class=\"right carousel-control\" href=\"#myCarousel\" data-slide=\"next\">&rsaquo;</a></div>'\n        $.support.transition = false\n        stop()\n        $(template)\n          .on('slide.bs.carousel', function (e) {\n            e.preventDefault();\n            ok(e.relatedTarget);\n            ok($(e.relatedTarget).hasClass('item'));\n            start();\n          })\n          .carousel('next')\n      })\n\n      test(\"should set interval from data attribute\", 4, function () {\n        var template = $('<div id=\"myCarousel\" class=\"carousel slide\"> <div class=\"carousel-inner\"> <div class=\"item active\"> <img alt=\"\"> <div class=\"carousel-caption\"> <h4>{{_i}}First Thumbnail label{{/i}}</h4> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> </div> </div> <div class=\"item\"> <img alt=\"\"> <div class=\"carousel-caption\"> <h4>{{_i}}Second Thumbnail label{{/i}}</h4> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> </div> </div> <div class=\"item\"> <img alt=\"\"> <div class=\"carousel-caption\"> <h4>{{_i}}Third Thumbnail label{{/i}}</h4> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> </div> </div> </div> <a class=\"left carousel-control\" href=\"#myCarousel\" data-slide=\"prev\">&lsaquo;</a> <a class=\"right carousel-control\" href=\"#myCarousel\" data-slide=\"next\">&rsaquo;</a> </div>');\n        template.attr(\"data-interval\", 1814);\n\n        template.appendTo(\"body\");\n        $('[data-slide]').first().click();\n        ok($('#myCarousel').data('bs.carousel').options.interval == 1814);\n        $('#myCarousel').remove();\n\n        template.appendTo(\"body\").attr(\"data-modal\", \"foobar\");\n        $('[data-slide]').first().click();\n        ok($('#myCarousel').data('bs.carousel').options.interval == 1814, \"even if there is an data-modal attribute set\");\n        $('#myCarousel').remove();\n\n        template.appendTo(\"body\");\n        $('[data-slide]').first().click();\n        $('#myCarousel').attr('data-interval', 1860);\n        $('[data-slide]').first().click();\n        ok($('#myCarousel').data('bs.carousel').options.interval == 1814, \"attributes should be read only on intitialization\");\n        $('#myCarousel').remove();\n\n        template.attr(\"data-interval\", false);\n        template.appendTo(\"body\");\n        $('#myCarousel').carousel(1);\n        ok($('#myCarousel').data('bs.carousel').options.interval === false, \"data attribute has higher priority than default options\");\n        $('#myCarousel').remove();\n      })\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/collapse.js",
    "content": "$(function () {\n\n    module(\"collapse\")\n\n      test(\"should provide no conflict\", function () {\n        var collapse = $.fn.collapse.noConflict()\n        ok(!$.fn.collapse, 'collapse was set back to undefined (org value)')\n        $.fn.collapse = collapse\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        ok($(document.body).collapse, 'collapse method is defined')\n      })\n\n      test(\"should return element\", function () {\n        ok($(document.body).collapse()[0] == document.body, 'document.body returned')\n      })\n\n      test(\"should show a collapsed element\", function () {\n        var el = $('<div class=\"collapse\"></div>').collapse('show')\n        ok(el.hasClass('in'), 'has class in')\n        ok(/height/.test(el.attr('style')), 'has height set')\n      })\n\n      test(\"should hide a collapsed element\", function () {\n        var el = $('<div class=\"collapse\"></div>').collapse('hide')\n        ok(!el.hasClass('in'), 'does not have class in')\n        ok(/height/.test(el.attr('style')), 'has height set')\n      })\n\n      test(\"should not fire shown when show is prevented\", function () {\n        $.support.transition = false\n        stop()\n        $('<div class=\"collapse\"/>')\n          .on('show.bs.collapse', function (e) {\n            e.preventDefault();\n            ok(true);\n            start();\n          })\n          .on('shown.bs.collapse', function () {\n            ok(false);\n          })\n          .collapse('show')\n      })\n\n      test(\"should reset style to auto after finishing opening collapse\", function () {\n        $.support.transition = false\n        stop()\n        $('<div class=\"collapse\" style=\"height: 0px\"/>')\n          .on('show.bs.collapse', function () {\n            ok(this.style.height == '0px')\n          })\n          .on('shown.bs.collapse', function () {\n            ok(this.style.height == 'auto')\n            start()\n          })\n          .collapse('show')\n      })\n\n      test(\"should add active class to target when collapse shown\", function () {\n        $.support.transition = false\n        stop()\n\n        var target = $('<a data-toggle=\"collapse\" href=\"#test1\"></a>')\n          .appendTo($('#qunit-fixture'))\n\n        var collapsible = $('<div id=\"test1\"></div>')\n          .appendTo($('#qunit-fixture'))\n          .on('show.bs.collapse', function () {\n            ok(!target.hasClass('collapsed'))\n            start()\n          })\n\n        target.click()\n      })\n\n      test(\"should remove active class to target when collapse hidden\", function () {\n        $.support.transition = false\n        stop()\n\n        var target = $('<a data-toggle=\"collapse\" href=\"#test1\"></a>')\n          .appendTo($('#qunit-fixture'))\n\n        var collapsible = $('<div id=\"test1\" class=\"in\"></div>')\n          .appendTo($('#qunit-fixture'))\n          .on('hide.bs.collapse', function () {\n            ok(target.hasClass('collapsed'))\n            start()\n          })\n\n        target.click()\n      })\n\n      test(\"should remove active class from inactive accordion targets\", function () {\n        $.support.transition = false\n        stop()\n\n        var accordion = $('<div id=\"accordion\"><div class=\"accordion-group\"></div><div class=\"accordion-group\"></div><div class=\"accordion-group\"></div></div>')\n          .appendTo($('#qunit-fixture'))\n\n        var target1 = $('<a data-toggle=\"collapse\" href=\"#body1\" data-parent=\"#accordion\"></a>')\n          .appendTo(accordion.find('.accordion-group').eq(0))\n\n        var collapsible1 = $('<div id=\"body1\" class=\"in\"></div>')\n          .appendTo(accordion.find('.accordion-group').eq(0))\n\n        var target2 = $('<a class=\"collapsed\" data-toggle=\"collapse\" href=\"#body2\" data-parent=\"#accordion\"></a>')\n          .appendTo(accordion.find('.accordion-group').eq(1))\n\n        var collapsible2 = $('<div id=\"body2\"></div>')\n          .appendTo(accordion.find('.accordion-group').eq(1))\n\n        var target3 = $('<a class=\"collapsed\" data-toggle=\"collapse\" href=\"#body3\" data-parent=\"#accordion\"></a>')\n          .appendTo(accordion.find('.accordion-group').eq(2))\n\n        var collapsible3 = $('<div id=\"body3\"></div>')\n          .appendTo(accordion.find('.accordion-group').eq(2))\n          .on('show.bs.collapse', function () {\n            ok(target1.hasClass('collapsed'))\n            ok(target2.hasClass('collapsed'))\n            ok(!target3.hasClass('collapsed'))\n\n            start()\n          })\n\n        target3.click()\n      })\n\n      test(\"should allow dots in data-parent\", function () {\n        $.support.transition = false\n        stop()\n\n        var accordion = $('<div class=\"accordion\"><div class=\"accordion-group\"></div><div class=\"accordion-group\"></div><div class=\"accordion-group\"></div></div>')\n          .appendTo($('#qunit-fixture'))\n\n        var target1 = $('<a data-toggle=\"collapse\" href=\"#body1\" data-parent=\".accordion\"></a>')\n          .appendTo(accordion.find('.accordion-group').eq(0))\n\n        var collapsible1 = $('<div id=\"body1\" class=\"in\"></div>')\n          .appendTo(accordion.find('.accordion-group').eq(0))\n\n        var target2 = $('<a class=\"collapsed\" data-toggle=\"collapse\" href=\"#body2\" data-parent=\".accordion\"></a>')\n          .appendTo(accordion.find('.accordion-group').eq(1))\n\n        var collapsible2 = $('<div id=\"body2\"></div>')\n          .appendTo(accordion.find('.accordion-group').eq(1))\n\n        var target3 = $('<a class=\"collapsed\" data-toggle=\"collapse\" href=\"#body3\" data-parent=\".accordion\"></a>')\n          .appendTo(accordion.find('.accordion-group').eq(2))\n\n        var collapsible3 = $('<div id=\"body3\"></div>')\n          .appendTo(accordion.find('.accordion-group').eq(2))\n          .on('show.bs.collapse', function () {\n            ok(target1.hasClass('collapsed'))\n            ok(target2.hasClass('collapsed'))\n            ok(!target3.hasClass('collapsed'))\n\n            start()\n          })\n\n        target3.click()\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/dropdown.js",
    "content": "$(function () {\n\n    module(\"dropdowns\")\n\n      test(\"should provide no conflict\", function () {\n        var dropdown = $.fn.dropdown.noConflict()\n        ok(!$.fn.dropdown, 'dropdown was set back to undefined (org value)')\n        $.fn.dropdown = dropdown\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        ok($(document.body).dropdown, 'dropdown method is defined')\n      })\n\n      test(\"should return element\", function () {\n        var el = $(\"<div />\")\n        ok(el.dropdown()[0] === el[0], 'same element returned')\n      })\n\n      test(\"should not open dropdown if target is disabled\", function () {\n        var dropdownHTML = '<ul class=\"tabs\">'\n          + '<li class=\"dropdown\">'\n          + '<button disabled href=\"#\" class=\"btn dropdown-toggle\" data-toggle=\"dropdown\">Dropdown</button>'\n          + '<ul class=\"dropdown-menu\">'\n          + '<li><a href=\"#\">Secondary link</a></li>'\n          + '<li><a href=\"#\">Something else here</a></li>'\n          + '<li class=\"divider\"></li>'\n          + '<li><a href=\"#\">Another link</a></li>'\n          + '</ul>'\n          + '</li>'\n          + '</ul>'\n          , dropdown = $(dropdownHTML).find('[data-toggle=\"dropdown\"]').dropdown().click()\n\n        ok(!dropdown.parent('.dropdown').hasClass('open'), 'open class added on click')\n      })\n\n      test(\"should not open dropdown if target is disabled\", function () {\n        var dropdownHTML = '<ul class=\"tabs\">'\n          + '<li class=\"dropdown\">'\n          + '<button href=\"#\" class=\"btn dropdown-toggle disabled\" data-toggle=\"dropdown\">Dropdown</button>'\n          + '<ul class=\"dropdown-menu\">'\n          + '<li><a href=\"#\">Secondary link</a></li>'\n          + '<li><a href=\"#\">Something else here</a></li>'\n          + '<li class=\"divider\"></li>'\n          + '<li><a href=\"#\">Another link</a></li>'\n          + '</ul>'\n          + '</li>'\n          + '</ul>'\n          , dropdown = $(dropdownHTML).find('[data-toggle=\"dropdown\"]').dropdown().click()\n\n        ok(!dropdown.parent('.dropdown').hasClass('open'), 'open class added on click')\n      })\n\n      test(\"should add class open to menu if clicked\", function () {\n        var dropdownHTML = '<ul class=\"tabs\">'\n          + '<li class=\"dropdown\">'\n          + '<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown</a>'\n          + '<ul class=\"dropdown-menu\">'\n          + '<li><a href=\"#\">Secondary link</a></li>'\n          + '<li><a href=\"#\">Something else here</a></li>'\n          + '<li class=\"divider\"></li>'\n          + '<li><a href=\"#\">Another link</a></li>'\n          + '</ul>'\n          + '</li>'\n          + '</ul>'\n          , dropdown = $(dropdownHTML).find('[data-toggle=\"dropdown\"]').dropdown().click()\n\n        ok(dropdown.parent('.dropdown').hasClass('open'), 'open class added on click')\n      })\n\n      test(\"should test if element has a # before assuming it's a selector\", function () {\n        var dropdownHTML = '<ul class=\"tabs\">'\n          + '<li class=\"dropdown\">'\n          + '<a href=\"/foo/\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown</a>'\n          + '<ul class=\"dropdown-menu\">'\n          + '<li><a href=\"#\">Secondary link</a></li>'\n          + '<li><a href=\"#\">Something else here</a></li>'\n          + '<li class=\"divider\"></li>'\n          + '<li><a href=\"#\">Another link</a></li>'\n          + '</ul>'\n          + '</li>'\n          + '</ul>'\n          , dropdown = $(dropdownHTML).find('[data-toggle=\"dropdown\"]').dropdown().click()\n\n        ok(dropdown.parent('.dropdown').hasClass('open'), 'open class added on click')\n      })\n\n\n      test(\"should remove open class if body clicked\", function () {\n        var dropdownHTML = '<ul class=\"tabs\">'\n          + '<li class=\"dropdown\">'\n          + '<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown</a>'\n          + '<ul class=\"dropdown-menu\">'\n          + '<li><a href=\"#\">Secondary link</a></li>'\n          + '<li><a href=\"#\">Something else here</a></li>'\n          + '<li class=\"divider\"></li>'\n          + '<li><a href=\"#\">Another link</a></li>'\n          + '</ul>'\n          + '</li>'\n          + '</ul>'\n          , dropdown = $(dropdownHTML)\n            .appendTo('#qunit-fixture')\n            .find('[data-toggle=\"dropdown\"]')\n            .dropdown()\n            .click()\n\n        ok(dropdown.parent('.dropdown').hasClass('open'), 'open class added on click')\n        $('body').click()\n        ok(!dropdown.parent('.dropdown').hasClass('open'), 'open class removed')\n        dropdown.remove()\n      })\n\n      test(\"should remove open class if body clicked, with multiple drop downs\", function () {\n          var dropdownHTML =\n            '<ul class=\"nav\">'\n            + '    <li><a href=\"#menu1\">Menu 1</a></li>'\n            + '    <li class=\"dropdown\" id=\"testmenu\">'\n            + '      <a class=\"dropdown-toggle\" data-toggle=\"dropdown\" href=\"#testmenu\">Test menu <b class=\"caret\"></b></a>'\n            + '      <ul class=\"dropdown-menu\" role=\"menu\">'\n            + '        <li><a href=\"#sub1\">Submenu 1</a></li>'\n            + '      </ul>'\n            + '    </li>'\n            + '</ul>'\n            + '<div class=\"btn-group\">'\n            + '    <button class=\"btn\">Actions</button>'\n            + '    <button class=\"btn dropdown-toggle\" data-toggle=\"dropdown\"><span class=\"caret\"></span></button>'\n            + '    <ul class=\"dropdown-menu\">'\n            + '        <li><a href=\"#\">Action 1</a></li>'\n            + '    </ul>'\n            + '</div>'\n          , dropdowns = $(dropdownHTML).appendTo('#qunit-fixture').find('[data-toggle=\"dropdown\"]')\n          , first = dropdowns.first()\n          , last = dropdowns.last()\n\n        ok(dropdowns.length == 2, \"Should be two dropdowns\")\n\n        first.click()\n        ok(first.parents('.open').length == 1, 'open class added on click')\n        ok($('#qunit-fixture .open').length == 1, 'only one object is open')\n        $('body').click()\n        ok($(\"#qunit-fixture .open\").length === 0, 'open class removed')\n\n        last.click()\n        ok(last.parent('.open').length == 1, 'open class added on click')\n        ok($('#qunit-fixture .open').length == 1, 'only one object is open')\n        $('body').click()\n        ok($(\"#qunit-fixture .open\").length === 0, 'open class removed')\n\n        $(\"#qunit-fixture\").html(\"\")\n      })\n\n      test(\"should fire show and hide event\", function () {\n        var dropdownHTML = '<ul class=\"tabs\">'\n          + '<li class=\"dropdown\">'\n          + '<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown</a>'\n          + '<ul class=\"dropdown-menu\">'\n          + '<li><a href=\"#\">Secondary link</a></li>'\n          + '<li><a href=\"#\">Something else here</a></li>'\n          + '<li class=\"divider\"></li>'\n          + '<li><a href=\"#\">Another link</a></li>'\n          + '</ul>'\n          + '</li>'\n          + '</ul>'\n          , dropdown = $(dropdownHTML)\n            .appendTo('#qunit-fixture')\n            .find('[data-toggle=\"dropdown\"]')\n            .dropdown()\n\n        stop()\n\n        dropdown\n          .parent('.dropdown')\n          .bind('show.bs.dropdown', function () {\n            ok(true, 'show was called')\n          })\n          .bind('hide.bs.dropdown', function () {\n            ok(true, 'hide was called')\n            start()\n          })\n\n        dropdown.click()\n        $(document.body).click()\n      })\n\n\n      test(\"should fire shown and hiden event\", function () {\n        var dropdownHTML = '<ul class=\"tabs\">'\n          + '<li class=\"dropdown\">'\n          + '<a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">Dropdown</a>'\n          + '<ul class=\"dropdown-menu\">'\n          + '<li><a href=\"#\">Secondary link</a></li>'\n          + '<li><a href=\"#\">Something else here</a></li>'\n          + '<li class=\"divider\"></li>'\n          + '<li><a href=\"#\">Another link</a></li>'\n          + '</ul>'\n          + '</li>'\n          + '</ul>'\n          , dropdown = $(dropdownHTML)\n            .appendTo('#qunit-fixture')\n            .find('[data-toggle=\"dropdown\"]')\n            .dropdown()\n\n        stop()\n\n        dropdown\n          .parent('.dropdown')\n          .bind('shown.bs.dropdown', function () {\n            ok(true, 'show was called')\n          })\n          .bind('hidden.bs.dropdown', function () {\n            ok(true, 'hide was called')\n            start()\n          })\n\n        dropdown.click()\n        $(document.body).click()\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/modal.js",
    "content": "$(function () {\n\n  module(\"modal\")\n\n    test(\"should provide no conflict\", function () {\n      var modal = $.fn.modal.noConflict()\n      ok(!$.fn.modal, 'modal was set back to undefined (org value)')\n      $.fn.modal = modal\n    })\n\n    test(\"should be defined on jquery object\", function () {\n      var div = $(\"<div id='modal-test'></div>\")\n      ok(div.modal, 'modal method is defined')\n    })\n\n    test(\"should return element\", function () {\n      var div = $(\"<div id='modal-test'></div>\")\n      ok(div.modal() == div, 'document.body returned')\n      $('#modal-test').remove()\n    })\n\n    test(\"should expose defaults var for settings\", function () {\n      ok($.fn.modal.Constructor.DEFAULTS, 'default object exposed')\n    })\n\n    test(\"should insert into dom when show method is called\", function () {\n      stop()\n      $.support.transition = false\n      $(\"<div id='modal-test'></div>\")\n        .on(\"shown.bs.modal\", function () {\n          ok($('#modal-test').length, 'modal inserted into dom')\n          $(this).remove()\n          start()\n        })\n        .modal(\"show\")\n    })\n\n    test(\"should fire show event\", function () {\n      stop()\n      $.support.transition = false\n      $(\"<div id='modal-test'></div>\")\n        .on(\"show.bs.modal\", function () {\n          ok(true, \"show was called\")\n        })\n        .on(\"shown.bs.modal\", function () {\n          $(this).remove()\n          start()\n        })\n        .modal(\"show\")\n    })\n\n    test(\"should not fire shown when default prevented\", function () {\n      stop()\n      $.support.transition = false\n      $(\"<div id='modal-test'></div>\")\n        .on(\"show.bs.modal\", function (e) {\n          e.preventDefault()\n          ok(true, \"show was called\")\n          start()\n        })\n        .on(\"shown.bs.modal\", function () {\n          ok(false, \"shown was called\")\n        })\n        .modal(\"show\")\n    })\n\n    test(\"should hide modal when hide is called\", function () {\n      stop()\n      $.support.transition = false\n\n      $(\"<div id='modal-test'></div>\")\n        .on(\"shown.bs.modal\", function () {\n          ok($('#modal-test').is(\":visible\"), 'modal visible')\n          ok($('#modal-test').length, 'modal inserted into dom')\n          $(this).modal(\"hide\")\n        })\n        .on(\"hidden.bs.modal\", function() {\n          ok(!$('#modal-test').is(\":visible\"), 'modal hidden')\n          $('#modal-test').remove()\n          start()\n        })\n        .modal(\"show\")\n    })\n\n    test(\"should toggle when toggle is called\", function () {\n      stop()\n      $.support.transition = false\n      var div = $(\"<div id='modal-test'></div>\")\n      div\n        .on(\"shown.bs.modal\", function () {\n          ok($('#modal-test').is(\":visible\"), 'modal visible')\n          ok($('#modal-test').length, 'modal inserted into dom')\n          div.modal(\"toggle\")\n        })\n        .on(\"hidden.bs.modal\", function() {\n          ok(!$('#modal-test').is(\":visible\"), 'modal hidden')\n          div.remove()\n          start()\n        })\n        .modal(\"toggle\")\n    })\n\n    test(\"should remove from dom when click [data-dismiss=modal]\", function () {\n      stop()\n      $.support.transition = false\n      var div = $(\"<div id='modal-test'><span class='close' data-dismiss='modal'></span></div>\")\n      div\n        .on(\"shown.bs.modal\", function () {\n          ok($('#modal-test').is(\":visible\"), 'modal visible')\n          ok($('#modal-test').length, 'modal inserted into dom')\n          div.find('.close').click()\n        })\n        .on(\"hidden.bs.modal\", function() {\n          ok(!$('#modal-test').is(\":visible\"), 'modal hidden')\n          div.remove()\n          start()\n        })\n        .modal(\"toggle\")\n    })\n\n    test(\"should allow modal close with 'backdrop:false'\", function () {\n      stop()\n      $.support.transition = false\n      var div = $(\"<div>\", { id: 'modal-test', \"data-backdrop\": false })\n      div\n        .on(\"shown.bs.modal\", function () {\n          ok($('#modal-test').is(\":visible\"), 'modal visible')\n          div.modal(\"hide\")\n        })\n        .on(\"hidden.bs.modal\", function() {\n          ok(!$('#modal-test').is(\":visible\"), 'modal hidden')\n          div.remove()\n          start()\n        })\n        .modal(\"show\")\n    })\n\n    test(\"should close modal when clicking outside of modal-content\", function () {\n      stop()\n      $.support.transition = false\n      var div = $(\"<div id='modal-test'><div class='contents'></div></div>\")\n      div\n        .bind(\"shown.bs.modal\", function () {\n          ok($('#modal-test').length, 'modal insterted into dom')\n          $('.contents').click()\n          ok($('#modal-test').is(\":visible\"), 'modal visible')\n          $('#modal-test').click()\n        })\n        .bind(\"hidden.bs.modal\", function() {\n          ok(!$('#modal-test').is(\":visible\"), 'modal hidden')\n          div.remove()\n          start()\n        })\n        .modal(\"show\")\n    })\n\n    test(\"should trigger hide event once when clicking outside of modal-content\", function () {\n      stop()\n      $.support.transition = false\n      var div = $(\"<div id='modal-test'><div class='contents'></div></div>\")\n      var triggered\n      div\n        .bind(\"shown.bs.modal\", function () {\n          triggered = 0\n          $('#modal-test').click()\n        })\n        .one(\"hidden.bs.modal\", function() {\n          div.modal(\"show\")\n        })\n        .bind(\"hide.bs.modal\", function () {\n          triggered += 1\n          ok(triggered === 1, 'modal hide triggered once')\n          start()\n        })\n        .modal(\"show\")\n    })\n\n    test(\"should close reopened modal with [data-dismiss=modal] click\", function () {\n      stop()\n      $.support.transition = false\n      var div = $(\"<div id='modal-test'><div class='contents'><div id='close' data-dismiss='modal'></div></div></div>\")\n      div\n        .bind(\"shown.bs.modal\", function () {\n          $('#close').click()\n          ok(!$('#modal-test').is(\":visible\"), 'modal hidden')\n        })\n        .one(\"hidden.bs.modal\", function() {\n          div.one('hidden.bs.modal', function () {\n            start()\n          }).modal(\"show\")\n        })\n        .modal(\"show\")\n\n      div.remove()\n    })\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/phantom.js",
    "content": "/*\n * grunt-contrib-qunit\n * http://gruntjs.com/\n *\n * Copyright (c) 2013 \"Cowboy\" Ben Alman, contributors\n * Licensed under the MIT license.\n */\n\n/*global QUnit:true, alert:true*/\n(function () {\n  'use strict';\n\n  // Don't re-order tests.\n  QUnit.config.reorder = false\n  // Run tests serially, not in parallel.\n  QUnit.config.autorun = false\n\n  // Send messages to the parent PhantomJS process via alert! Good times!!\n  function sendMessage() {\n    var args = [].slice.call(arguments)\n    alert(JSON.stringify(args))\n  }\n\n  // These methods connect QUnit to PhantomJS.\n  QUnit.log = function(obj) {\n    // What is this I don’t even\n    if (obj.message === '[object Object], undefined:undefined') { return }\n    // Parse some stuff before sending it.\n    var actual = QUnit.jsDump.parse(obj.actual)\n    var expected = QUnit.jsDump.parse(obj.expected)\n    // Send it.\n    sendMessage('qunit.log', obj.result, actual, expected, obj.message, obj.source)\n  }\n\n  QUnit.testStart = function(obj) {\n    sendMessage('qunit.testStart', obj.name)\n  }\n\n  QUnit.testDone = function(obj) {\n    sendMessage('qunit.testDone', obj.name, obj.failed, obj.passed, obj.total)\n  }\n\n  QUnit.moduleStart = function(obj) {\n    sendMessage('qunit.moduleStart', obj.name)\n  }\n\n  QUnit.begin = function () {\n    sendMessage('qunit.begin')\n    console.log(\"Starting test suite\")\n    console.log(\"================================================\\n\")\n  }\n\n  QUnit.moduleDone = function (opts) {\n    if (opts.failed === 0) {\n      console.log(\"\\r\\u2714 All tests passed in '\" + opts.name + \"' module\")\n    } else {\n      console.log(\"\\u2716 \" + opts.failed + \" tests failed in '\" + opts.name + \"' module\")\n    }\n    sendMessage('qunit.moduleDone', opts.name, opts.failed, opts.passed, opts.total)\n  }\n\n  QUnit.done = function (opts) {\n    console.log(\"\\n================================================\")\n    console.log(\"Tests completed in \" + opts.runtime + \" milliseconds\")\n    console.log(opts.passed + \" tests of \" + opts.total + \" passed, \" + opts.failed + \" failed.\")\n    sendMessage('qunit.done', opts.failed, opts.passed, opts.total, opts.runtime)\n  }\n\n}())\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/popover.js",
    "content": "$(function () {\n\n    module(\"popover\")\n\n      test(\"should provide no conflict\", function () {\n        var popover = $.fn.popover.noConflict()\n        ok(!$.fn.popover, 'popover was set back to undefined (org value)')\n        $.fn.popover = popover\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        var div = $('<div></div>')\n        ok(div.popover, 'popover method is defined')\n      })\n\n      test(\"should return element\", function () {\n        var div = $('<div></div>')\n        ok(div.popover() == div, 'document.body returned')\n      })\n\n      test(\"should render popover element\", function () {\n        $.support.transition = false\n        var popover = $('<a href=\"#\" title=\"mdo\" data-content=\"http://twitter.com/mdo\">@mdo</a>')\n          .appendTo('#qunit-fixture')\n          .popover('show')\n\n        ok($('.popover').length, 'popover was inserted')\n        popover.popover('hide')\n        ok(!$(\".popover\").length, 'popover removed')\n      })\n\n      test(\"should store popover instance in popover data object\", function () {\n        $.support.transition = false\n        var popover = $('<a href=\"#\" title=\"mdo\" data-content=\"http://twitter.com/mdo\">@mdo</a>')\n          .popover()\n\n        ok(!!popover.data('bs.popover'), 'popover instance exists')\n      })\n\n      test(\"should get title and content from options\", function () {\n        $.support.transition = false\n        var popover = $('<a href=\"#\">@fat</a>')\n          .appendTo('#qunit-fixture')\n          .popover({\n            title: function () {\n              return '@fat'\n            }\n          , content: function () {\n              return 'loves writing tests （╯°□°）╯︵ ┻━┻'\n            }\n          })\n\n        popover.popover('show')\n\n        ok($('.popover').length, 'popover was inserted')\n        equal($('.popover .popover-title').text(), '@fat', 'title correctly inserted')\n        equal($('.popover .popover-content').text(), 'loves writing tests （╯°□°）╯︵ ┻━┻', 'content correctly inserted')\n\n        popover.popover('hide')\n        ok(!$('.popover').length, 'popover was removed')\n        $('#qunit-fixture').empty()\n      })\n\n      test(\"should get title and content from attributes\", function () {\n        $.support.transition = false\n        var popover = $('<a href=\"#\" title=\"@mdo\" data-content=\"loves data attributes (づ｡◕‿‿◕｡)づ ︵ ┻━┻\" >@mdo</a>')\n          .appendTo('#qunit-fixture')\n          .popover()\n          .popover('show')\n\n        ok($('.popover').length, 'popover was inserted')\n        equal($('.popover .popover-title').text(), '@mdo', 'title correctly inserted')\n        equal($('.popover .popover-content').text(), \"loves data attributes (づ｡◕‿‿◕｡)づ ︵ ┻━┻\", 'content correctly inserted')\n\n        popover.popover('hide')\n        ok(!$('.popover').length, 'popover was removed')\n        $('#qunit-fixture').empty()\n      })\n\n\n      test(\"should get title and content from attributes #2\", function () {\n        $.support.transition = false\n        var popover = $('<a href=\"#\" title=\"@mdo\" data-content=\"loves data attributes (づ｡◕‿‿◕｡)づ ︵ ┻━┻\" >@mdo</a>')\n          .appendTo('#qunit-fixture')\n          .popover({\n              title: 'ignored title option',\n              content: 'ignored content option'\n          })\n          .popover('show')\n\n        ok($('.popover').length, 'popover was inserted')\n        equal($('.popover .popover-title').text(), '@mdo', 'title correctly inserted')\n        equal($('.popover .popover-content').text(), \"loves data attributes (づ｡◕‿‿◕｡)づ ︵ ┻━┻\", 'content correctly inserted')\n\n        popover.popover('hide')\n        ok(!$('.popover').length, 'popover was removed')\n        $('#qunit-fixture').empty()\n      })\n\n      test(\"should respect custom classes\", function() {\n        $.support.transition = false\n        var popover = $('<a href=\"#\">@fat</a>')\n          .appendTo('#qunit-fixture')\n          .popover({\n            title: 'Test'\n          , content: 'Test'\n          , template: '<div class=\"popover foobar\"><div class=\"arrow\"></div><div class=\"inner\"><h3 class=\"title\"></h3><div class=\"content\"><p></p></div></div></div>'\n          })\n\n        popover.popover('show')\n\n        ok($('.popover').length, 'popover was inserted')\n        ok($('.popover').hasClass('foobar'), 'custom class is present')\n\n        popover.popover('hide')\n        ok(!$('.popover').length, 'popover was removed')\n        $('#qunit-fixture').empty()\n      })\n\n      test(\"should destroy popover\", function () {\n        var popover = $('<div/>').popover({trigger: 'hover'}).on('click.foo', function(){})\n        ok(popover.data('bs.popover'), 'popover has data')\n        ok($._data(popover[0], 'events').mouseover && $._data(popover[0], 'events').mouseout, 'popover has hover event')\n        ok($._data(popover[0], 'events').click[0].namespace == 'foo', 'popover has extra click.foo event')\n        popover.popover('show')\n        popover.popover('destroy')\n        ok(!popover.hasClass('in'), 'popover is hidden')\n        ok(!popover.data('popover'), 'popover does not have data')\n        ok($._data(popover[0],'events').click[0].namespace == 'foo', 'popover still has click.foo')\n        ok(!$._data(popover[0], 'events').mouseover && !$._data(popover[0], 'events').mouseout, 'popover does not have any events')\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/scrollspy.js",
    "content": "$(function () {\n\n    module(\"scrollspy\")\n\n      test(\"should provide no conflict\", function () {\n        var scrollspy = $.fn.scrollspy.noConflict()\n        ok(!$.fn.scrollspy, 'scrollspy was set back to undefined (org value)')\n        $.fn.scrollspy = scrollspy\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        ok($(document.body).scrollspy, 'scrollspy method is defined')\n      })\n\n      test(\"should return element\", function () {\n        ok($(document.body).scrollspy()[0] == document.body, 'document.body returned')\n      })\n\n      test(\"should switch active class on scroll\", function () {\n        var sectionHTML = '<div id=\"masthead\"></div>'\n          , $section = $(sectionHTML).append('#qunit-fixture')\n          , topbarHTML ='<div class=\"topbar\">'\n          + '<div class=\"topbar-inner\">'\n          + '<div class=\"container\">'\n          + '<h3><a href=\"#\">Bootstrap</a></h3>'\n          + '<ul class=\"nav\">'\n          + '<li><a href=\"#masthead\">Overview</a></li>'\n          + '</ul>'\n          + '</div>'\n          + '</div>'\n          + '</div>'\n          , $topbar = $(topbarHTML).scrollspy()\n\n        ok($topbar.find('.active', true))\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/tab.js",
    "content": "$(function () {\n\n    module(\"tabs\")\n\n      test(\"should provide no conflict\", function () {\n        var tab = $.fn.tab.noConflict()\n        ok(!$.fn.tab, 'tab was set back to undefined (org value)')\n        $.fn.tab = tab\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        ok($(document.body).tab, 'tabs method is defined')\n      })\n\n      test(\"should return element\", function () {\n        ok($(document.body).tab()[0] == document.body, 'document.body returned')\n      })\n\n      test(\"should activate element by tab id\", function () {\n        var tabsHTML =\n            '<ul class=\"tabs\">'\n          + '<li><a href=\"#home\">Home</a></li>'\n          + '<li><a href=\"#profile\">Profile</a></li>'\n          + '</ul>'\n\n        $('<ul><li id=\"home\"></li><li id=\"profile\"></li></ul>').appendTo(\"#qunit-fixture\")\n\n        $(tabsHTML).find('li:last a').tab('show')\n        equal($(\"#qunit-fixture\").find('.active').attr('id'), \"profile\")\n\n        $(tabsHTML).find('li:first a').tab('show')\n        equal($(\"#qunit-fixture\").find('.active').attr('id'), \"home\")\n      })\n\n      test(\"should activate element by tab id\", function () {\n        var pillsHTML =\n            '<ul class=\"pills\">'\n          + '<li><a href=\"#home\">Home</a></li>'\n          + '<li><a href=\"#profile\">Profile</a></li>'\n          + '</ul>'\n\n        $('<ul><li id=\"home\"></li><li id=\"profile\"></li></ul>').appendTo(\"#qunit-fixture\")\n\n        $(pillsHTML).find('li:last a').tab('show')\n        equal($(\"#qunit-fixture\").find('.active').attr('id'), \"profile\")\n\n        $(pillsHTML).find('li:first a').tab('show')\n        equal($(\"#qunit-fixture\").find('.active').attr('id'), \"home\")\n      })\n\n\n      test(\"should not fire closed when close is prevented\", function () {\n        $.support.transition = false\n        stop();\n        $('<div class=\"tab\"/>')\n          .on('show.bs.tab', function (e) {\n            e.preventDefault();\n            ok(true);\n            start();\n          })\n          .on('shown.bs.tab', function () {\n            ok(false);\n          })\n          .tab('show')\n      })\n\n      test(\"show and shown events should reference correct relatedTarget\", function () {\n        var dropHTML =\n            '<ul class=\"drop\">'\n          + '<li class=\"dropdown\"><a data-toggle=\"dropdown\" href=\"#\">1</a>'\n          + '<ul class=\"dropdown-menu\">'\n          + '<li><a href=\"#1-1\" data-toggle=\"tab\">1-1</a></li>'\n          + '<li><a href=\"#1-2\" data-toggle=\"tab\">1-2</a></li>'\n          + '</ul>'\n          + '</li>'\n          + '</ul>'\n\n        $(dropHTML).find('ul>li:first a').tab('show').end()\n          .find('ul>li:last a').on('show', function(event){\n            equal(event.relatedTarget.hash, \"#1-1\")\n          }).on('shown', function(event){\n            equal(event.relatedTarget.hash, \"#1-1\")\n          }).tab('show')\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/tooltip.js",
    "content": "$(function () {\n\n    module(\"tooltip\")\n\n      test(\"should provide no conflict\", function () {\n        var tooltip = $.fn.tooltip.noConflict()\n        ok(!$.fn.tooltip, 'tooltip was set back to undefined (org value)')\n        $.fn.tooltip = tooltip\n      })\n\n      test(\"should be defined on jquery object\", function () {\n        var div = $(\"<div></div>\")\n        ok(div.tooltip, 'popover method is defined')\n      })\n\n      test(\"should return element\", function () {\n        var div = $(\"<div></div>\")\n        ok(div.tooltip() == div, 'document.body returned')\n      })\n\n      test(\"should expose default settings\", function () {\n        ok(!!$.fn.tooltip.Constructor.DEFAULTS, 'defaults is defined')\n      })\n\n      test(\"should empty title attribute\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>').tooltip()\n        ok(tooltip.attr('title') === '', 'title attribute was emptied')\n      })\n\n      test(\"should add data attribute for referencing original title\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>').tooltip()\n        equal(tooltip.attr('data-original-title'), 'Another tooltip', 'original title preserved in data attribute')\n      })\n\n      test(\"should place tooltips relative to placement option\", function () {\n        $.support.transition = false\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({placement: 'bottom'})\n          .tooltip('show')\n\n        ok($(\".tooltip\").is('.fade.bottom.in'), 'has correct classes applied')\n        tooltip.tooltip('hide')\n      })\n\n      test(\"should allow html entities\", function () {\n        $.support.transition = false\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"<b>@fat</b>\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({html: true})\n          .tooltip('show')\n\n        ok($('.tooltip b').length, 'b tag was inserted')\n        tooltip.tooltip('hide')\n        ok(!$(\".tooltip\").length, 'tooltip removed')\n      })\n\n      test(\"should respect custom classes\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({ template: '<div class=\"tooltip some-class\"><div class=\"tooltip-arrow\"/><div class=\"tooltip-inner\"/></div>'})\n          .tooltip('show')\n\n        ok($('.tooltip').hasClass('some-class'), 'custom class is present')\n        tooltip.tooltip('hide')\n        ok(!$(\".tooltip\").length, 'tooltip removed')\n      })\n\n      test(\"should fire show event\", function () {\n        stop()\n        var tooltip = $('<div title=\"tooltip title\"></div>')\n          .on(\"show.bs.tooltip\", function() {\n            ok(true, \"show was called\")\n            start()\n          })\n          .tooltip('show')\n      })\n\n      test(\"should fire shown event\", function () {\n        stop()\n        var tooltip = $('<div title=\"tooltip title\"></div>')\n          .on(\"shown.bs.tooltip\", function() {\n            ok(true, \"shown was called\")\n            start()\n          })\n          .tooltip('show')\n      })\n\n      test(\"should not fire shown event when default prevented\", function () {\n        stop()\n        var tooltip = $('<div title=\"tooltip title\"></div>')\n          .on(\"show.bs.tooltip\", function(e) {\n            e.preventDefault()\n            ok(true, \"show was called\")\n            start()\n          })\n          .on(\"shown.bs.tooltip\", function() {\n            ok(false, \"shown was called\")\n          })\n          .tooltip('show')\n      })\n\n      test(\"should fire hide event\", function () {\n        stop()\n        var tooltip = $('<div title=\"tooltip title\"></div>')\n          .on(\"shown.bs.tooltip\", function() {\n            $(this).tooltip('hide')\n          })\n          .on(\"hide.bs.tooltip\", function() {\n            ok(true, \"hide was called\")\n            start()\n          })\n          .tooltip('show')\n      })\n\n      test(\"should fire hidden event\", function () {\n        stop()\n        var tooltip = $('<div title=\"tooltip title\"></div>')\n          .on(\"shown.bs.tooltip\", function() {\n            $(this).tooltip('hide')\n          })\n          .on(\"hidden.bs.tooltip\", function() {\n            ok(true, \"hidden was called\")\n            start()\n          })\n          .tooltip('show')\n      })\n\n      test(\"should not fire hidden event when default prevented\", function () {\n        stop()\n        var tooltip = $('<div title=\"tooltip title\"></div>')\n          .on(\"shown.bs.tooltip\", function() {\n            $(this).tooltip('hide')\n          })\n          .on(\"hide.bs.tooltip\", function(e) {\n            e.preventDefault()\n            ok(true, \"hide was called\")\n            start()\n          })\n          .on(\"hidden.bs.tooltip\", function() {\n            ok(false, \"hidden was called\")\n          })\n          .tooltip('show')\n      })\n\n      test(\"should not show tooltip if leave event occurs before delay expires\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({ delay: 200 })\n\n        stop()\n\n        tooltip.trigger('mouseenter')\n\n        setTimeout(function () {\n          ok(!$(\".tooltip\").is('.fade.in'), 'tooltip is not faded in')\n          tooltip.trigger('mouseout')\n          setTimeout(function () {\n            ok(!$(\".tooltip\").is('.fade.in'), 'tooltip is not faded in')\n            start()\n          }, 200)\n        }, 100)\n      })\n\n      test(\"should not show tooltip if leave event occurs before delay expires, even if hide delay is 0\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({ delay: { show: 200, hide: 0} })\n\n        stop()\n\n        tooltip.trigger('mouseenter')\n\n        setTimeout(function () {\n          ok(!$(\".tooltip\").is('.fade.in'), 'tooltip is not faded in')\n          tooltip.trigger('mouseout')\n          setTimeout(function () {\n            ok(!$(\".tooltip\").is('.fade.in'), 'tooltip is not faded in')\n            start()\n          }, 200)\n        }, 100)\n      })\n\n      test(\"should wait 200 ms before hiding the tooltip\", 3, function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({ delay: { show: 0, hide: 200} })\n\n        stop()\n\n        tooltip.trigger('mouseenter')\n\n        setTimeout(function () {\n          ok($(\".tooltip\").is('.fade.in'), 'tooltip is faded in')\n          tooltip.trigger('mouseout')\n          setTimeout(function () {\n            ok($(\".tooltip\").is('.fade.in'), '100ms:tooltip is still faded in')\n            setTimeout(function () {\n              ok(!$(\".tooltip\").is('.in'), 'tooltip removed')\n              start()\n            }, 150)\n          }, 100)\n        }, 1)\n      })\n\n      test(\"should not hide tooltip if leave event occurs, then tooltip is show immediately again\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({ delay: { show: 0, hide: 200} })\n\n        stop()\n\n        tooltip.trigger('mouseenter')\n\n        setTimeout(function () {\n          ok($(\".tooltip\").is('.fade.in'), 'tooltip is faded in')\n          tooltip.trigger('mouseout')\n          setTimeout(function () {\n            ok($(\".tooltip\").is('.fade.in'), '100ms:tooltip is still faded in')\n            tooltip.trigger('mouseenter')\n            setTimeout(function () {\n              ok($(\".tooltip\").is('.in'), 'tooltip removed')\n              start()\n            }, 150)\n          }, 100)\n        }, 1)\n      })\n\n      test(\"should not show tooltip if leave event occurs before delay expires\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({ delay: 100 })\n        stop()\n        tooltip.trigger('mouseenter')\n        setTimeout(function () {\n          ok(!$(\".tooltip\").is('.fade.in'), 'tooltip is not faded in')\n          tooltip.trigger('mouseout')\n          setTimeout(function () {\n            ok(!$(\".tooltip\").is('.fade.in'), 'tooltip is not faded in')\n            start()\n          }, 100)\n        }, 50)\n      })\n\n      test(\"should show tooltip if leave event hasn't occured before delay expires\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({ delay: 150 })\n        stop()\n        tooltip.trigger('mouseenter')\n        setTimeout(function () {\n          ok(!$(\".tooltip\").is('.fade.in'), 'tooltip is not faded in')\n        }, 100)\n        setTimeout(function () {\n          ok($(\".tooltip\").is('.fade.in'), 'tooltip has faded in')\n          start()\n        }, 200)\n      })\n\n      test(\"should destroy tooltip\", function () {\n        var tooltip = $('<div/>').tooltip().on('click.foo', function(){})\n        ok(tooltip.data('bs.tooltip'), 'tooltip has data')\n        ok($._data(tooltip[0], 'events').mouseover && $._data(tooltip[0], 'events').mouseout, 'tooltip has hover event')\n        ok($._data(tooltip[0], 'events').click[0].namespace == 'foo', 'tooltip has extra click.foo event')\n        tooltip.tooltip('show')\n        tooltip.tooltip('destroy')\n        ok(!tooltip.hasClass('in'), 'tooltip is hidden')\n        ok(!$._data(tooltip[0], 'bs.tooltip'), 'tooltip does not have data')\n        ok($._data(tooltip[0], 'events').click[0].namespace == 'foo', 'tooltip still has click.foo')\n        ok(!$._data(tooltip[0], 'events').mouseover && !$._data(tooltip[0], 'events').mouseout, 'tooltip does not have any events')\n      })\n\n      test(\"should show tooltip with delegate selector on click\", function () {\n        var div = $('<div><a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a></div>')\n        var tooltip = div.appendTo('#qunit-fixture')\n                         .tooltip({ selector: 'a[rel=tooltip]',\n                                    trigger: 'click' })\n        div.find('a').trigger('click')\n        ok($(\".tooltip\").is('.fade.in'), 'tooltip is faded in')\n      })\n\n      test(\"should show tooltip when toggle is called\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"tooltip on toggle\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({trigger: 'manual'})\n          .tooltip('toggle')\n        ok($(\".tooltip\").is('.fade.in'), 'tooltip should be toggled in')\n      })\n\n      test(\"should place tooltips inside the body\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Another tooltip\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({container:'body'})\n          .tooltip('show')\n        ok($(\"body > .tooltip\").length, 'inside the body')\n        ok(!$(\"#qunit-fixture > .tooltip\").length, 'not found in parent')\n        tooltip.tooltip('hide')\n      })\n\n      test(\"should place tooltip inside window\", function(){\n        var container = $(\"<div />\").appendTo(\"body\")\n            .css({position: \"absolute\", width: 200, height: 200, bottom: 0, left: 0})\n          , tooltip = $(\"<a href='#' title='Very very very very very very very very long tooltip'>Hover me</a>\")\n          .css({position: \"absolute\", top:0, left: 0})\n          .appendTo(container)\n          .tooltip({placement: \"top\", animate: false})\n          .tooltip(\"show\")\n\n        stop()\n\n        setTimeout(function(){\n          ok($(\".tooltip\").offset().left >= 0)\n\n          start()\n          container.remove()\n        }, 100)\n      })\n\n      test(\"should place tooltip on top of element\", function(){\n        var container = $(\"<div />\").appendTo(\"body\")\n              .css({position: \"absolute\", bottom: 0, left: 0, textAlign: \"right\", width: 300, height: 300})\n            , p = $(\"<p style='margin-top:200px' />\").appendTo(container)\n            , tooltiped = $(\"<a href='#' title='very very very very very very very long tooltip'>Hover me</a>\")\n              .css({marginTop: 200})\n              .appendTo(p)\n              .tooltip({placement: \"top\", animate: false})\n              .tooltip(\"show\")\n\n        stop()\n\n        setTimeout(function(){\n          var tooltip = container.find(\".tooltip\")\n\n          start()\n          ok(tooltip.offset().top + tooltip.outerHeight() <= tooltiped.offset().top)\n          container.remove()\n        }, 100)\n      })\n\n      test(\"should add position class before positioning so that position-specific styles are taken into account\", function(){\n        $(\"head\").append('<style> .tooltip.right { white-space: nowrap; } .tooltip.right .tooltip-inner { max-width: none; } </style>')\n\n        var container = $(\"<div />\").appendTo(\"body\")\n          , target = $('<a href=\"#\" rel=\"tooltip\" title=\"very very very very very very very very long tooltip in one line\"></a>')\n              .appendTo(container)\n              .tooltip({placement: 'right'})\n              .tooltip('show')\n          , tooltip = container.find(\".tooltip\")\n\n        ok( Math.round(target.offset().top + target[0].offsetHeight/2 - tooltip[0].offsetHeight/2) === Math.round(tooltip.offset().top) )\n        target.tooltip('hide')\n      })\n\n      test(\"tooltip title test #1\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Simple tooltip\" style=\"display: inline-block; position: absolute; top: 0; left: 0;\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({\n          })\n          .tooltip('show')\n        equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title from title attribute is set')\n        tooltip.tooltip('hide')\n        ok(!$(\".tooltip\").length, 'tooltip removed')\n      })\n\n      test(\"tooltip title test #2\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" title=\"Simple tooltip\" style=\"display: inline-block; position: absolute; top: 0; left: 0;\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({\n            title: 'This is a tooltip with some content'\n          })\n          .tooltip('show')\n        equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title is set from title attribute while prefered over title option')\n        tooltip.tooltip('hide')\n        ok(!$(\".tooltip\").length, 'tooltip removed')\n      })\n\n      test(\"tooltip title test #3\", function () {\n        var tooltip = $('<a href=\"#\" rel=\"tooltip\" style=\"display: inline-block; position: absolute; top: 0; left: 0;\"></a>')\n          .appendTo('#qunit-fixture')\n          .tooltip({\n            title: 'This is a tooltip with some content'\n          })\n          .tooltip('show')\n        equal($('.tooltip').children('.tooltip-inner').text(), 'This is a tooltip with some content', 'title from title option is set')\n        tooltip.tooltip('hide')\n        ok(!$(\".tooltip\").length, 'tooltip removed')\n      })\n\n      test(\"tooltips should be placed dynamically, with the dynamic placement option\", function () {\n        $.support.transition = false\n        var ttContainer = $('<div id=\"dynamic-tt-test\"/>').css({\n          'height' : 400\n          , 'overflow' : 'hidden'\n          , 'position' : 'absolute'\n          , 'top' : 0\n          , 'left' : 0\n          , 'width' : 600})\n          .appendTo('body')\n\n        var topTooltip = $('<div style=\"display: inline-block; position: absolute; left: 0; top: 0;\" rel=\"tooltip\" title=\"Top tooltip\">Top Dynamic Tooltip</div>')\n          .appendTo('#dynamic-tt-test')\n          .tooltip({placement: 'auto'})\n          .tooltip('show')\n\n\n        ok($(\".tooltip\").is('.bottom'),  'top positioned tooltip is dynamically positioned bottom')\n\n        topTooltip.tooltip('hide')\n\n        var rightTooltip = $('<div style=\"display: inline-block; position: absolute; right: 0;\" rel=\"tooltip\" title=\"Right tooltip\">Right Dynamic Tooltip</div>')\n          .appendTo('#dynamic-tt-test')\n          .tooltip({placement: 'right auto'})\n          .tooltip('show')\n\n        ok($(\".tooltip\").is('.left'),  'right positioned tooltip is dynamically positioned left')\n        rightTooltip.tooltip('hide')\n\n        var bottomTooltip = $('<div style=\"display: inline-block; position: absolute; bottom: 0;\" rel=\"tooltip\" title=\"Bottom tooltip\">Bottom Dynamic Tooltip</div>')\n          .appendTo('#dynamic-tt-test')\n          .tooltip({placement: 'auto bottom'})\n          .tooltip('show')\n\n        ok($(\".tooltip\").is('.top'),  'bottom positioned tooltip is dynamically positioned top')\n        bottomTooltip.tooltip('hide')\n\n        var leftTooltip = $('<div style=\"display: inline-block; position: absolute; left: 0;\" rel=\"tooltip\" title=\"Left tooltip\">Left Dynamic Tooltip</div>')\n          .appendTo('#dynamic-tt-test')\n          .tooltip({placement: 'auto left'})\n          .tooltip('show')\n\n        ok($(\".tooltip\").is('.right'),  'left positioned tooltip is dynamically positioned right')\n        leftTooltip.tooltip('hide')\n\n        ttContainer.remove()\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/unit/transition.js",
    "content": "$(function () {\n\n    module(\"transition\")\n\n      test(\"should be defined on jquery support object\", function () {\n        ok($.support.transition !== undefined, 'transition object is defined')\n      })\n\n      test(\"should provide an end object\", function () {\n        ok($.support.transition ? $.support.transition.end : true, 'end string is defined')\n      })\n\n})\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/vendor/jquery.js",
    "content": "/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license\n//@ sourceMappingURL=jquery-1.10.2.min.map\n*/\n(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f=\"1.10.2\",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/.source,T=/\\S+/g,C=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,N=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]*))$/,k=/^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,E=/^[\\],:{}\\s]*$/,S=/(?:^|:|,)(?:\\s*\\[)+/g,A=/\\\\(?:[\"\\\\\\/bfnrt]|u[\\da-fA-F]{4})/g,j=/\"[^\"\\\\\\r\\n]*\"|true|false|null|-?(?:\\d+\\.|)\\d+(?:[eE][+-]?\\d+|)/g,D=/^-ms-/,L=/-([\\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||\"load\"===e.type||\"complete\"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener(\"DOMContentLoaded\",q,!1),e.removeEventListener(\"load\",q,!1)):(a.detachEvent(\"onreadystatechange\",q),e.detachEvent(\"onload\",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if(\"string\"==typeof e){if(i=\"<\"===e.charAt(0)&&\">\"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:\"\",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for(\"boolean\"==typeof s&&(c=s,s=arguments[1]||{},l=2),\"object\"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:\"jQuery\"+(f+Math.random()).replace(/\\D/g,\"\"),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger(\"ready\").off(\"ready\"))}},isFunction:function(e){return\"function\"===x.type(e)},isArray:Array.isArray||function(e){return\"array\"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+\"\":\"object\"==typeof e||\"function\"==typeof e?c[y.call(e)]||\"object\":typeof e},isPlainObject:function(e){var n;if(!e||\"object\"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,\"constructor\")&&!v.call(e.constructor.prototype,\"isPrototypeOf\"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||\"string\"!=typeof e)return null;\"boolean\"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:\"string\"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,\"@\").replace(j,\"]\").replace(S,\"\")))?Function(\"return \"+n)():(x.error(\"Invalid JSON: \"+n),t)},parseXML:function(n){var r,i;if(!n||\"string\"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,\"text/xml\")):(r=new ActiveXObject(\"Microsoft.XMLDOM\"),r.async=\"false\",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName(\"parsererror\").length||x.error(\"Invalid XML: \"+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,\"ms-\").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call(\"\\ufeff\\u00a0\")?function(e){return null==e?\"\":b.call(e)}:function(e){return null==e?\"\":(e+\"\").replace(C,\"\")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,\"string\"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if(\"number\"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return\"string\"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if(\"object\"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),\"complete\"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener(\"DOMContentLoaded\",q,!1),e.addEventListener(\"load\",q,!1);else{a.attachEvent(\"onreadystatechange\",q),e.attachEvent(\"onload\",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll(\"left\")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"),function(e,t){c[\"[object \"+t+\"]\"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:\"array\"===n||\"function\"!==n&&(0===t||\"number\"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b=\"sizzle\"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B=\"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",P=\"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",R=\"(?:\\\\\\\\.|[\\\\w-]|[^\\\\x00-\\\\xa0])+\",W=R.replace(\"w\",\"w#\"),$=\"\\\\[\"+P+\"*(\"+R+\")\"+P+\"*(?:([*^$|!~]?=)\"+P+\"*(?:(['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|(\"+W+\")|)|)\"+P+\"*\\\\]\",I=\":(\"+R+\")(?:\\\\(((['\\\"])((?:\\\\\\\\.|[^\\\\\\\\])*?)\\\\3|((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\"+$.replace(3,8)+\")*)|.*)\\\\)|)\",z=RegExp(\"^\"+P+\"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\"+P+\"+$\",\"g\"),X=RegExp(\"^\"+P+\"*,\"+P+\"*\"),U=RegExp(\"^\"+P+\"*([>+~]|\"+P+\")\"+P+\"*\"),V=RegExp(P+\"*[+~]\"),Y=RegExp(\"=\"+P+\"*([^\\\\]'\\\"]*)\"+P+\"*\\\\]\",\"g\"),J=RegExp(I),G=RegExp(\"^\"+W+\"$\"),Q={ID:RegExp(\"^#(\"+R+\")\"),CLASS:RegExp(\"^\\\\.(\"+R+\")\"),TAG:RegExp(\"^(\"+R.replace(\"w\",\"w*\")+\")\"),ATTR:RegExp(\"^\"+$),PSEUDO:RegExp(\"^\"+I),CHILD:RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+P+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+P+\"*(?:([+-]|)\"+P+\"*(\\\\d+)|))\"+P+\"*\\\\)|)\",\"i\"),bool:RegExp(\"^(?:\"+B+\")$\",\"i\"),needsContext:RegExp(\"^\"+P+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+P+\"*((?:-\\\\d)?\\\\d*)\"+P+\"*\\\\)|)(?=[^-]|$)\",\"i\")},K=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\\d$/i,nt=/'|\\\\/g,rt=RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+P+\"?|(\"+P+\")|.)\",\"ig\"),it=function(e,t,n){var r=\"0x\"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||\"string\"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&\"object\"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute(\"id\"))?m=d.replace(nt,\"\\\\$&\"):t.setAttribute(\"id\",m),m=\"[id='\"+m+\"'] \",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(\",\")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute(\"id\")}}}return kt(e.replace(z,\"$1\"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=\" \")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement(\"div\");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split(\"|\"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return\"input\"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return(\"input\"===n||\"button\"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?\"HTML\"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent(\"onbeforeunload\",function(){p()}),r.attributes=ut(function(e){return e.className=\"i\",!e.getAttribute(\"className\")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment(\"\")),!e.getElementsByTagName(\"*\").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML=\"<div class='a'></div><div class='a i'></div>\",e.firstChild.className=\"i\",2===e.getElementsByClassName(\"i\").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute(\"id\")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode(\"id\");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if(\"*\"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML=\"<select><option selected=''></option></select>\",e.querySelectorAll(\"[selected]\").length||g.push(\"\\\\[\"+P+\"*(?:value|\"+B+\")\"),e.querySelectorAll(\":checked\").length||g.push(\":checked\")}),ut(function(e){var t=n.createElement(\"input\");t.setAttribute(\"type\",\"hidden\"),e.appendChild(t).setAttribute(\"t\",\"\"),e.querySelectorAll(\"[t^='']\").length&&g.push(\"[*^$]=\"+P+\"*(?:''|\\\"\\\")\"),e.querySelectorAll(\":enabled\").length||g.push(\":enabled\",\":disabled\"),e.querySelectorAll(\"*,:x\"),g.push(\",.*:\")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,\"div\"),y.call(e,\"[s!='']:x\"),m.push(\"!=\",I)}),g=g.length&&RegExp(g.join(\"|\")),m=m.length&&RegExp(m.join(\"|\")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,\"='$1']\"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error(\"Syntax error, unrecognized expression: \"+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n=\"\",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if(\"string\"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||\"\").replace(rt,it),\"~=\"===e[2]&&(e[3]=\" \"+e[3]+\" \"),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),\"nth\"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(\"even\"===e[3]||\"odd\"===e[3])),e[5]=+(e[7]+e[8]||\"odd\"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(\")\",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return\"*\"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+\" \"];return t||(t=RegExp(\"(^|\"+P+\")\"+e+\"(\"+P+\"|$)\"))&&N(e,function(e){return t.test(\"string\"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute(\"class\")||\"\")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?\"!=\"===t:t?(i+=\"\",\"=\"===t?i===n:\"!=\"===t?i!==n:\"^=\"===t?n&&0===i.indexOf(n):\"*=\"===t?n&&i.indexOf(n)>-1:\"$=\"===t?n&&i.slice(-n.length)===n:\"~=\"===t?(\" \"+i+\" \").indexOf(n)>-1:\"|=\"===t?i===n||i.slice(0,n.length+1)===n+\"-\":!1):!0}},CHILD:function(e,t,n,r,i){var o=\"nth\"!==e.slice(0,3),a=\"last\"!==e.slice(-4),s=\"of-type\"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?\"nextSibling\":\"previousSibling\",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g=\"only\"===e&&!h&&\"nextSibling\"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error(\"unsupported pseudo: \"+e);return r[b]?r(t):r.length>1?(n=[e,e,\"\",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,\"$1\"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||\"\")||at.error(\"unsupported lang: \"+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute(\"xml:lang\")||t.getAttribute(\"lang\"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+\"-\");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return\"input\"===t&&!!e.checked||\"option\"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>\"@\"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return\"input\"===t&&\"button\"===e.type||\"button\"===t},text:function(e){var t;return\"input\"===e.nodeName.toLowerCase()&&\"text\"===e.type&&(null==(t=e.getAttribute(\"type\"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+\" \"];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z,\" \")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r=\"\";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&\"parentNode\"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+\" \"+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||\"*\",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[\" \"],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:\" \"===e[l-2].type?\"*\":\"\"})).replace(z,\"$1\"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b=\"0\",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG(\"*\",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+\" \"];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&\"ID\"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split(\"\").sort(A).join(\"\")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement(\"div\"))}),ut(function(e){return e.innerHTML=\"<a href='#'></a>\",\"#\"===e.firstChild.getAttribute(\"href\")})||ct(\"type|href|height|width\",function(e,n,r){return r?t:e.getAttribute(n,\"type\"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML=\"<input/>\",e.firstChild.setAttribute(\"value\",\"\"),\"\"===e.firstChild.getAttribute(\"value\")})||ct(\"value\",function(e,n,r){return r||\"input\"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute(\"disabled\")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[\":\"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e=\"string\"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);\"function\"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&\"string\"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[[\"resolve\",\"done\",x.Callbacks(\"once memory\"),\"resolved\"],[\"reject\",\"fail\",x.Callbacks(\"once memory\"),\"rejected\"],[\"notify\",\"progress\",x.Callbacks(\"memory\")]],n=\"pending\",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+\"With\"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+\"With\"](this===i?r:this,arguments),this},i[o[0]+\"With\"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement(\"div\");if(d.setAttribute(\"className\",\"t\"),d.innerHTML=\"  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>\",n=d.getElementsByTagName(\"*\")||[],r=d.getElementsByTagName(\"a\")[0],!r||!r.style||!n.length)return t;s=a.createElement(\"select\"),u=s.appendChild(a.createElement(\"option\")),o=d.getElementsByTagName(\"input\")[0],r.style.cssText=\"top:1px;float:left;opacity:.5\",t.getSetAttribute=\"t\"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName(\"tbody\").length,t.htmlSerialize=!!d.getElementsByTagName(\"link\").length,t.style=/top/.test(r.getAttribute(\"style\")),t.hrefNormalized=\"/a\"===r.getAttribute(\"href\"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement(\"form\").enctype,t.html5Clone=\"<:nav></:nav>\"!==a.createElement(\"nav\").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement(\"input\"),o.setAttribute(\"value\",\"\"),t.input=\"\"===o.getAttribute(\"value\"),o.value=\"t\",o.setAttribute(\"type\",\"radio\"),t.radioValue=\"t\"===o.value,o.setAttribute(\"checked\",\"t\"),o.setAttribute(\"name\",\"t\"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent(\"onclick\",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c=\"on\"+f,\"t\"),t[f+\"Bubbles\"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip=\"content-box\",d.cloneNode(!0).style.backgroundClip=\"\",t.clearCloneStyle=\"content-box\"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast=\"0\"!==f,x(function(){var n,r,o,s=\"padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;\",l=a.getElementsByTagName(\"body\")[0];l&&(n=a.createElement(\"div\"),n.style.cssText=\"border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px\",l.appendChild(n).appendChild(d),d.innerHTML=\"<table><tr><td></td><td>t</td></tr></table>\",o=d.getElementsByTagName(\"td\"),o[0].style.cssText=\"padding:0;margin:0;border:0;display:none\",p=0===o[0].offsetHeight,o[0].style.display=\"\",o[1].style.display=\"none\",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML=\"\",d.style.cssText=\"box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;\",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition=\"1%\"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable=\"4px\"===(e.getComputedStyle(d,null)||{width:\"4px\"}).width,r=d.appendChild(a.createElement(\"div\")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width=\"0\",d.style.width=\"1px\",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML=\"\",d.style.cssText=s+\"width:1px;padding:1px;display:inline;zoom:1\",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display=\"block\",d.innerHTML=\"<div></div>\",d.firstChild.style.width=\"5px\",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t\n}({});var B=/(?:\\{[\\s\\S]*\\}|\\[[\\s\\S]*\\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||\"string\"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),(\"object\"==typeof n||\"function\"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),\"string\"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(\" \")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute(\"classid\")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,\"parsedAttrs\"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf(\"data-\")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,\"parsedAttrs\",!0)}return o}return\"object\"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i=\"data-\"+n.replace(P,\"-$1\").toLowerCase();if(r=e.getAttribute(i),\"string\"==typeof r){try{r=\"true\"===r?!0:\"false\"===r?!1:\"null\"===r?null:+r+\"\"===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if((\"data\"!==t||!x.isEmptyObject(e[t]))&&\"toJSON\"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||\"fx\")+\"queue\",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||\"fx\";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};\"inprogress\"===i&&(i=n.shift(),r--),i&&(\"fx\"===t&&n.unshift(\"inprogress\"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+\"queueHooks\";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks(\"once memory\").add(function(){x._removeData(e,t+\"queue\"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return\"string\"!=typeof e&&(n=e,e=\"fx\",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),\"fx\"===e&&\"inprogress\"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||\"fx\",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||\"fx\",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};\"string\"!=typeof e&&(n=e,e=t),e=e||\"fx\";while(s--)r=x._data(a[s],e+\"queueHooks\"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\\t\\r\\n\\f]/g,V=/\\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=\"string\"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||\"\").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(\" \"+n.className+\" \").replace(U,\" \"):\" \")){o=0;while(i=t[o++])0>r.indexOf(\" \"+i+\" \")&&(r+=i+\" \");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||\"string\"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||\"\").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(\" \"+n.className+\" \").replace(U,\" \"):\"\")){o=0;while(i=t[o++])while(r.indexOf(\" \"+i+\" \")>=0)r=r.replace(\" \"+i+\" \",\" \");n.className=e?x.trim(r):\"\"}return this},toggleClass:function(e,t){var n=typeof e;return\"boolean\"==typeof t&&\"string\"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(\"string\"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||\"boolean\"===n)&&(this.className&&x._data(this,\"__className__\",this.className),this.className=this.className||e===!1?\"\":x._data(this,\"__className__\")||\"\")})},hasClass:function(e){var t=\" \"+e+\" \",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(\" \"+this[n].className+\" \").replace(U,\" \").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o=\"\":\"number\"==typeof o?o+=\"\":x.isArray(o)&&(o=x.map(o,function(e){return null==e?\"\":e+\"\"})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&\"set\"in r&&r.set(this,o,\"value\")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&\"get\"in r&&(n=r.get(o,\"value\"))!==t?n:(n=o.value,\"string\"==typeof n?n.replace(V,\"\"):null==n?\"\":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,\"value\");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o=\"select-one\"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute(\"disabled\"))||n.parentNode.disabled&&x.nodeName(n.parentNode,\"optgroup\"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&\"get\"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&\"set\"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+\"\"),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase(\"default-\"+n)]=e[r]=!1:x.attr(e,n,\"\"),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&\"radio\"===t&&x.nodeName(e,\"input\")){var n=e.value;return e.setAttribute(\"type\",t),n&&(e.value=n),t}}}},propFix:{\"for\":\"htmlFor\",\"class\":\"className\"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&\"set\"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&\"get\"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,\"tabindex\");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase(\"default-\"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase(\"default-\"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,\"input\")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+=\"\",\"value\"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&\"\"!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,\"\"===t?!1:t,n)}},x.each([\"width\",\"height\"],function(e,n){x.attrHooks[n]={set:function(e,r){return\"\"===r?(e.setAttribute(n,\"auto\"),r):t}}})),x.support.hrefNormalized||x.each([\"href\",\"src\"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+\"\"}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype=\"encoding\"),x.each([\"radio\",\"checkbox\"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute(\"value\")?\"on\":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||\"\").match(T)||[\"\"],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||\"\").split(\".\").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(\".\")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent(\"on\"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||\"\").match(T)||[\"\"],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||\"\").split(\".\").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp(\"(^|\\\\.)\"+h.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&(\"**\"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,\"events\"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,\"type\")?n.type:n,m=v.call(n,\"namespace\")?n.namespace.split(\".\"):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(\".\")>=0&&(m=g.split(\".\"),g=m.shift(),m.sort()),l=0>g.indexOf(\":\")&&\"on\"+g,n=n[x.expando]?n:new x.Event(g,\"object\"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join(\".\"),n.namespace_re=n.namespace?RegExp(\"(^|\\\\.)\"+m.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,\"events\")||{})[n.type]&&x._data(u,\"handle\"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,\"events\")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||\"click\"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||\"click\"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+\" \",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:\"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which\".split(\" \"),fixHooks:{},keyHooks:{props:\"char charCode key keyCode\".split(\" \"),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:\"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement\".split(\" \"),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:\"focusin\"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:\"focusout\"},click:{trigger:function(){return x.nodeName(this,\"input\")&&\"checkbox\"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,\"a\")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r=\"on\"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:\"mouseover\",mouseleave:\"mouseout\"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,\"form\")?!1:(x.event.add(this,\"click._submit keypress._submit\",function(e){var n=e.target,r=x.nodeName(n,\"input\")||x.nodeName(n,\"button\")?n.form:t;r&&!x._data(r,\"submitBubbles\")&&(x.event.add(r,\"submit._submit\",function(e){e._submit_bubble=!0}),x._data(r,\"submitBubbles\",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate(\"submit\",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,\"form\")?!1:(x.event.remove(this,\"._submit\"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?((\"checkbox\"===this.type||\"radio\"===this.type)&&(x.event.add(this,\"propertychange._change\",function(e){\"checked\"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,\"click._change\",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate(\"change\",this,e,!0)})),!1):(x.event.add(this,\"beforeactivate._change\",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,\"changeBubbles\")&&(x.event.add(t,\"change._change\",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate(\"change\",this.parentNode,e,!0)}),x._data(t,\"changeBubbles\",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||\"radio\"!==n.type&&\"checkbox\"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,\"._change\"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:\"focusin\",blur:\"focusout\"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if(\"object\"==typeof e){\"string\"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&(\"string\"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+\".\"+i.namespace:i.origType,i.selector,i.handler),this;if(\"object\"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||\"function\"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\\[\\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if(\"string\"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+\" \"+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,\"string\"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||\"string\"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?\"string\"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n=\"string\"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,\"parentNode\")},parentsUntil:function(e,t,n){return x.dir(e,\"parentNode\",n)},next:function(e){return pt(e,\"nextSibling\")},prev:function(e){return pt(e,\"previousSibling\")},nextAll:function(e){return x.dir(e,\"nextSibling\")},prevAll:function(e){return x.dir(e,\"previousSibling\")},nextUntil:function(e,t,n){return x.dir(e,\"nextSibling\",n)},prevUntil:function(e,t,n){return x.dir(e,\"previousSibling\",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,\"iframe\")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return\"Until\"!==e.slice(-5)&&(r=n),r&&\"string\"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=\":not(\"+e+\")\"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if(\"string\"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split(\"|\"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht=\"abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video\",gt=/ jQuery\\d+=\"(?:null|\\d+)\"/g,mt=RegExp(\"<(?:\"+ht+\")[\\\\s/>]\",\"i\"),yt=/^\\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,bt=/<([\\w:]+)/,xt=/<tbody/i,wt=/<|&#?\\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\\s*(?:[^=]|=\\s*.checked.)/i,kt=/^$|\\/(?:java|ecma)script/i,Et=/^true\\/(.*)/,St=/^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g,At={option:[1,\"<select multiple='multiple'>\",\"</select>\"],legend:[1,\"<fieldset>\",\"</fieldset>\"],area:[1,\"<map>\",\"</map>\"],param:[1,\"<object>\",\"</object>\"],thead:[1,\"<table>\",\"</table>\"],tr:[2,\"<table><tbody>\",\"</tbody></table>\"],col:[2,\"<table><tbody></tbody><colgroup>\",\"</colgroup></table>\"],td:[3,\"<table><tbody><tr>\",\"</tr></tbody></table>\"],_default:x.support.htmlSerialize?[0,\"\",\"\"]:[1,\"X<div>\",\"</div>\"]},jt=dt(a),Dt=jt.appendChild(a.createElement(\"div\"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,\"script\")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,\"select\")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,\"\"):t;if(!(\"string\"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||[\"\",\"\"])[1].toLowerCase()])){e=e.replace(vt,\"<$1></$2>\");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||\"string\"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,\"script\"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,\"script\"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||\"\")&&!x._data(i,\"globalEval\")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||\"\").replace(St,\"\")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,\"table\")&&x.nodeName(1===t.nodeType?t:t.firstChild,\"tr\")?e.getElementsByTagName(\"tbody\")[0]||e.appendChild(e.ownerDocument.createElement(\"tbody\")):e}function Ht(e){return e.type=(null!==x.find.attr(e,\"type\"))+\"/\"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute(\"type\"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,\"globalEval\",!t||x._data(t[r],\"globalEval\"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}\"script\"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):\"object\"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):\"input\"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):\"option\"===n?t.defaultSelected=t.selected=e.defaultSelected:(\"input\"===n||\"textarea\"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:\"append\",prependTo:\"prepend\",insertBefore:\"before\",insertAfter:\"after\",replaceAll:\"replaceWith\"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||\"*\"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||\"*\"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test(\"<\"+e.nodeName+\">\")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,\"script\"),r.length>0&&_t(r,!l&&Ft(e,\"script\")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if(\"object\"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement(\"div\")),l=(bt.exec(o)||[\"\",\"\"])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,\"<$1></$2>\")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o=\"table\"!==l||xt.test(o)?\"<table>\"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],\"tbody\")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent=\"\";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,\"input\"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),\"script\"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||\"\")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle);\nu[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:\"GET\",dataType:\"script\",async:!1,global:!1,\"throws\":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,\"body\")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\\([^)]*\\)/i,It=/opacity\\s*=\\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp(\"^(\"+w+\")(.*)$\",\"i\"),Yt=RegExp(\"^(\"+w+\")(?!px)[a-z%]+$\",\"i\"),Jt=RegExp(\"^([+-])=(\"+w+\")\",\"i\"),Gt={BODY:\"block\"},Qt={position:\"absolute\",visibility:\"hidden\",display:\"block\"},Kt={letterSpacing:0,fontWeight:400},Zt=[\"Top\",\"Right\",\"Bottom\",\"Left\"],en=[\"Webkit\",\"O\",\"Moz\",\"ms\"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,\"none\"===x.css(e,\"display\")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,\"olddisplay\"),n=r.style.display,t?(o[a]||\"none\"!==n||(r.style.display=\"\"),\"\"===r.style.display&&nn(r)&&(o[a]=x._data(r,\"olddisplay\",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&\"none\"!==n||!i)&&x._data(r,\"olddisplay\",i?n:x.css(r,\"display\"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&\"none\"!==r.style.display&&\"\"!==r.style.display||(r.style.display=t?o[a]||\"\":\"none\"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return\"boolean\"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,\"opacity\");return\"\"===n?\"1\":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{\"float\":x.support.cssFloat?\"cssFloat\":\"styleFloat\"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&\"get\"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,\"string\"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a=\"number\"),!(null==r||\"number\"===a&&isNaN(r)||(\"number\"!==a||x.cssNumber[l]||(r+=\"px\"),x.support.clearCloneStyle||\"\"!==r||0!==n.indexOf(\"background\")||(u[n]=\"inherit\"),s&&\"set\"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&\"get\"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),\"normal\"===a&&n in Kt&&(a=Kt[n]),\"\"===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(\"\"!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left=\"fontSize\"===n?\"1em\":l,l=u.pixelLeft+\"px\",u.left=i,a&&(o.left=a)),\"\"===l?\"auto\":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||\"px\"):t}function an(e,t,n,r,i){var o=n===(r?\"border\":\"content\")?4:\"width\"===t?1:0,a=0;for(;4>o;o+=2)\"margin\"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?(\"content\"===n&&(a-=x.css(e,\"padding\"+Zt[o],!0,i)),\"margin\"!==n&&(a-=x.css(e,\"border\"+Zt[o]+\"Width\",!0,i))):(a+=x.css(e,\"padding\"+Zt[o],!0,i),\"padding\"!==n&&(a+=x.css(e,\"border\"+Zt[o]+\"Width\",!0,i)));return a}function sn(e,t,n){var r=!0,i=\"width\"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&\"border-box\"===x.css(e,\"boxSizing\",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?\"border\":\"content\"),r,o)+\"px\"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),\"none\"!==n&&n||(Pt=(Pt||x(\"<iframe frameborder='0' width='0' height='0'/>\").css(\"cssText\",\"display:block !important\")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write(\"<!doctype html><html><body>\"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],\"display\");return n.remove(),r}x.each([\"height\",\"width\"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,\"display\"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&\"border-box\"===x.css(e,\"boxSizing\",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||\"\")?.01*parseFloat(RegExp.$1)+\"\":t?\"1\":\"\"},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?\"alpha(opacity=\"+100*t+\")\":\"\",o=r&&r.filter||n.filter||\"\";n.zoom=1,(t>=1||\"\"===t)&&\"\"===x.trim(o.replace($t,\"\"))&&n.removeAttribute&&(n.removeAttribute(\"filter\"),\"\"===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+\" \"+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:\"inline-block\"},Wt,[e,\"marginRight\"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each([\"top\",\"left\"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+\"px\":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&\"none\"===(e.style&&e.style.display||x.css(e,\"display\"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:\"\",padding:\"\",border:\"Width\"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o=\"string\"==typeof n?n.split(\" \"):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\\[\\]$/,fn=/\\r?\\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,\"elements\");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(\":disabled\")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,\"\\r\\n\")}}):{name:t.name,value:n.replace(fn,\"\\r\\n\")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?\"\":t,i[i.length]=encodeURIComponent(e)+\"=\"+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join(\"&\").replace(cn,\"+\")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+\"[\"+(\"object\"==typeof i?t:\"\")+\"]\",i,n,r)});else if(n||\"object\"!==x.type(t))r(e,t);else for(i in t)gn(e+\"[\"+i+\"]\",t[i],n,r)}x.each(\"blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu\".split(\" \"),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,\"**\"):this.off(t,e||\"**\",n)}});var mn,yn,vn=x.now(),bn=/\\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \\t]*([^\\r\\n]*)\\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\\/\\//,En=/^([\\w.+-]+:)(?:\\/\\/([^\\/?#:]*)(?::(\\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn=\"*/\".concat(\"*\");try{yn=o.href}catch(Ln){yn=a.createElement(\"a\"),yn.href=\"\",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){\"string\"!=typeof t&&(n=t,t=\"*\");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])\"+\"===r[0]?(r=r.slice(1)||\"*\",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return\"string\"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o[\"*\"]&&s(\"*\")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if(\"string\"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(\" \");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&\"object\"==typeof n&&(a=\"POST\"),s.length>0&&x.ajax({url:e,type:a,dataType:\"html\",data:n}).done(function(e){o=arguments,s.html(i?x(\"<div>\").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each([\"ajaxStart\",\"ajaxStop\",\"ajaxComplete\",\"ajaxError\",\"ajaxSuccess\",\"ajaxSend\"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:\"GET\",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":Dn,text:\"text/plain\",html:\"text/html\",xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":x.parseJSON,\"text xml\":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){\"object\"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks(\"once memory\"),m=p.statusCode||{},y={},v={},b=0,w=\"canceled\",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+\"\").replace(xn,\"\").replace(kn,mn[1]+\"//\"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||\"*\").toLowerCase().match(T)||[\"\"],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||(\"http:\"===r[1]?\"80\":\"443\"))===(mn[3]||(\"http:\"===mn[1]?\"80\":\"443\")))),p.data&&p.processData&&\"string\"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger(\"ajaxStart\"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?\"&\":\"?\")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,\"$1_=\"+vn++):o+(bn.test(o)?\"&\":\"?\")+\"_=\"+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader(\"If-Modified-Since\",x.lastModified[o]),x.etag[o]&&C.setRequestHeader(\"If-None-Match\",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader(\"Content-Type\",p.contentType),C.setRequestHeader(\"Accept\",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(\"*\"!==p.dataTypes[0]?\", \"+Dn+\"; q=0.01\":\"\"):p.accepts[\"*\"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w=\"abort\";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger(\"ajaxSend\",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort(\"timeout\")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,\"No Transport\");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||\"\",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader(\"Last-Modified\"),T&&(x.lastModified[o]=T),T=C.getResponseHeader(\"etag\"),T&&(x.etag[o]=T)),204===e||\"HEAD\"===p.type?N=\"nocontent\":304===e?N=\"notmodified\":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N=\"error\",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+\"\",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?\"ajaxSuccess\":\"ajaxError\",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger(\"ajaxComplete\",[C,p]),--x.active||x.event.trigger(\"ajaxStop\")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,\"json\")},getScript:function(e,n){return x.get(e,t,n,\"script\")}}),x.each([\"get\",\"post\"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while(\"*\"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader(\"Content-Type\"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+\" \"+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if(\"*\"===o)o=l;else if(\"*\"!==l&&l!==o){if(a=u[l+\" \"+o]||u[\"* \"+o],!a)for(i in u)if(s=i.split(\" \"),s[1]===o&&(a=u[l+\" \"+s[0]]||u[\"* \"+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e[\"throws\"])t=a(t);else try{t=a(t)}catch(p){return{state:\"parsererror\",error:a?p:\"No conversion from \"+l+\" to \"+o}}}return{state:\"success\",data:t}}x.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/(?:java|ecma)script/},converters:{\"text script\":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter(\"script\",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type=\"GET\",e.global=!1)}),x.ajaxTransport(\"script\",function(e){if(e.crossDomain){var n,r=a.head||x(\"head\")[0]||a.documentElement;return{send:function(t,i){n=a.createElement(\"script\"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,\"success\"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\\?(?=&|$)|\\?\\?/;x.ajaxSetup({jsonp:\"callback\",jsonpCallback:function(){var e=Fn.pop()||x.expando+\"_\"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter(\"json jsonp\",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?\"url\":\"string\"==typeof n.data&&!(n.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&Bn.test(n.data)&&\"data\");return l||\"jsonp\"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,\"$1\"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?\"&\":\"?\")+n.jsonp+\"=\"+o),n.converters[\"script json\"]=function(){return s||x.error(o+\" was not called\"),s[0]},n.dataTypes[0]=\"json\",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),\"script\"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject(\"Microsoft.XMLHTTP\")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&\"withCredentials\"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i[\"X-Requested-With\"]||(i[\"X-Requested-With\"]=\"XMLHttpRequest\");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),\"string\"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=\"\"}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp(\"^(?:([+-])=|)(\"+w+\")([a-z%]*)$\",\"i\"),Jn=/queueHooks$/,Gn=[nr],Qn={\"*\":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?\"\":\"px\"),a=(x.cssNumber[e]||\"px\"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||\".5\",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn[\"*\"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&\"expand\"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=[\"*\"]):e=e.split(\" \");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,\"fxshow\");n.queue||(s=x._queueHooks(e,\"fx\"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,\"fx\").length||s.empty.fire()})})),1===e.nodeType&&(\"height\"in t||\"width\"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],\"inline\"===x.css(e,\"display\")&&\"none\"===x.css(e,\"float\")&&(x.support.inlineBlockNeedsLayout&&\"inline\"!==ln(e.nodeName)?p.zoom=1:p.display=\"inline-block\")),n.overflow&&(p.overflow=\"hidden\",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||\"toggle\"===i,i===(f?\"hide\":\"show\"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?\"hidden\"in d&&(f=d.hidden):d=x._data(e,\"fxshow\",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,\"fxshow\");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start=\"width\"===r||\"height\"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||\"swing\",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?\"\":\"px\")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,\"\"),t&&\"auto\"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each([\"toggle\",\"show\",\"hide\"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||\"boolean\"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css(\"opacity\",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,\"finish\"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return\"string\"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||\"fx\",[]),this.each(function(){var t=!0,n=null!=e&&e+\"queueHooks\",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||\"fx\"),this.each(function(){var t,n=x._data(this),r=n[e+\"queue\"],i=n[e+\"queueHooks\"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r[\"margin\"+n]=r[\"padding\"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir(\"show\"),slideUp:ir(\"hide\"),slideToggle:ir(\"toggle\"),fadeIn:{opacity:\"show\"},fadeOut:{opacity:\"hide\"},fadeToggle:{opacity:\"toggle\"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&\"object\"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:\"number\"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue=\"fx\"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,\"position\");\"static\"===r&&(e.style.position=\"relative\");var i=x(e),o=i.offset(),a=x.css(e,\"top\"),s=x.css(e,\"left\"),l=(\"absolute\"===r||\"fixed\"===r)&&x.inArray(\"auto\",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),\"using\"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return\"fixed\"===x.css(r,\"position\")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],\"html\")||(n=e.offset()),n.top+=x.css(e[0],\"borderTopWidth\",!0),n.left+=x.css(e[0],\"borderLeftWidth\",!0)),{top:t.top-n.top-x.css(r,\"marginTop\",!0),left:t.left-n.left-x.css(r,\"marginLeft\",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,\"html\")&&\"static\"===x.css(e,\"position\"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:\"pageXOffset\",scrollTop:\"pageYOffset\"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:\"height\",Width:\"width\"},function(e,n){x.each({padding:\"inner\"+e,content:n,\"\":\"outer\"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||\"boolean\"!=typeof i),s=r||(i===!0||o===!0?\"margin\":\"border\");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement[\"client\"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body[\"scroll\"+e],o[\"scroll\"+e],n.body[\"offset\"+e],o[\"offset\"+e],o[\"client\"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,\"object\"==typeof module&&module&&\"object\"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,\"function\"==typeof define&&define.amd&&define(\"jquery\",[],function(){return x}))})(window);"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/vendor/qunit.css",
    "content": "/**\n * QUnit - A JavaScript Unit Testing Framework\n *\n * http://docs.jquery.com/QUnit\n *\n * Copyright (c) 2012 John Resig, Jörn Zaefferer\n * Dual licensed under the MIT (MIT-LICENSE.txt)\n * or GPL (GPL-LICENSE.txt) licenses.\n */\n\n/** Font Family and Sizes */\n\n#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {\n\tfont-family: \"Helvetica Neue Light\", \"HelveticaNeue-Light\", \"Helvetica Neue\", Calibri, Helvetica, Arial, sans-serif;\n}\n\n#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }\n#qunit-tests { font-size: smaller; }\n\n\n/** Resets */\n\n#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {\n\tmargin: 0;\n\tpadding: 0;\n}\n\n\n/** Header */\n\n#qunit-header {\n\tpadding: 0.5em 0 0.5em 1em;\n\n\tcolor: #8699a4;\n\tbackground-color: #0d3349;\n\n\tfont-size: 1.5em;\n\tline-height: 1em;\n\tfont-weight: normal;\n\n\tborder-radius: 15px 15px 0 0;\n\t-moz-border-radius: 15px 15px 0 0;\n\t-webkit-border-top-right-radius: 15px;\n\t-webkit-border-top-left-radius: 15px;\n}\n\n#qunit-header a {\n\ttext-decoration: none;\n\tcolor: #c2ccd1;\n}\n\n#qunit-header a:hover,\n#qunit-header a:focus {\n\tcolor: #fff;\n}\n\n#qunit-banner {\n\theight: 5px;\n}\n\n#qunit-testrunner-toolbar {\n\tpadding: 0.5em 0 0.5em 2em;\n\tcolor: #5E740B;\n\tbackground-color: #eee;\n}\n\n#qunit-userAgent {\n\tpadding: 0.5em 0 0.5em 2.5em;\n\tbackground-color: #2b81af;\n\tcolor: #fff;\n\ttext-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;\n}\n\n\n/** Tests: Pass/Fail */\n\n#qunit-tests {\n\tlist-style-position: inside;\n}\n\n#qunit-tests li {\n\tpadding: 0.4em 0.5em 0.4em 2.5em;\n\tborder-bottom: 1px solid #fff;\n\tlist-style-position: inside;\n}\n\n#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running  {\n\tdisplay: none;\n}\n\n#qunit-tests li strong {\n\tcursor: pointer;\n}\n\n#qunit-tests li a {\n\tpadding: 0.5em;\n\tcolor: #c2ccd1;\n\ttext-decoration: none;\n}\n#qunit-tests li a:hover,\n#qunit-tests li a:focus {\n\tcolor: #000;\n}\n\n#qunit-tests ol {\n\tmargin-top: 0.5em;\n\tpadding: 0.5em;\n\n\tbackground-color: #fff;\n\n\tborder-radius: 15px;\n\t-moz-border-radius: 15px;\n\t-webkit-border-radius: 15px;\n\n\tbox-shadow: inset 0px 2px 13px #999;\n\t-moz-box-shadow: inset 0px 2px 13px #999;\n\t-webkit-box-shadow: inset 0px 2px 13px #999;\n}\n\n#qunit-tests table {\n\tborder-collapse: collapse;\n\tmargin-top: .2em;\n}\n\n#qunit-tests th {\n\ttext-align: right;\n\tvertical-align: top;\n\tpadding: 0 .5em 0 0;\n}\n\n#qunit-tests td {\n\tvertical-align: top;\n}\n\n#qunit-tests pre {\n\tmargin: 0;\n\twhite-space: pre-wrap;\n\tword-wrap: break-word;\n}\n\n#qunit-tests del {\n\tbackground-color: #e0f2be;\n\tcolor: #374e0c;\n\ttext-decoration: none;\n}\n\n#qunit-tests ins {\n\tbackground-color: #ffcaca;\n\tcolor: #500;\n\ttext-decoration: none;\n}\n\n/*** Test Counts */\n\n#qunit-tests b.counts                       { color: black; }\n#qunit-tests b.passed                       { color: #5E740B; }\n#qunit-tests b.failed                       { color: #710909; }\n\n#qunit-tests li li {\n\tmargin: 0.5em;\n\tpadding: 0.4em 0.5em 0.4em 0.5em;\n\tbackground-color: #fff;\n\tborder-bottom: none;\n\tlist-style-position: inside;\n}\n\n/*** Passing Styles */\n\n#qunit-tests li li.pass {\n\tcolor: #5E740B;\n\tbackground-color: #fff;\n\tborder-left: 26px solid #C6E746;\n}\n\n#qunit-tests .pass                          { color: #528CE0; background-color: #D2E0E6; }\n#qunit-tests .pass .test-name               { color: #366097; }\n\n#qunit-tests .pass .test-actual,\n#qunit-tests .pass .test-expected           { color: #999999; }\n\n#qunit-banner.qunit-pass                    { background-color: #C6E746; }\n\n/*** Failing Styles */\n\n#qunit-tests li li.fail {\n\tcolor: #710909;\n\tbackground-color: #fff;\n\tborder-left: 26px solid #EE5757;\n\twhite-space: pre;\n}\n\n#qunit-tests > li:last-child {\n\tborder-radius: 0 0 15px 15px;\n\t-moz-border-radius: 0 0 15px 15px;\n\t-webkit-border-bottom-right-radius: 15px;\n\t-webkit-border-bottom-left-radius: 15px;\n}\n\n#qunit-tests .fail                          { color: #000000; background-color: #EE5757; }\n#qunit-tests .fail .test-name,\n#qunit-tests .fail .module-name             { color: #000000; }\n\n#qunit-tests .fail .test-actual             { color: #EE5757; }\n#qunit-tests .fail .test-expected           { color: green;   }\n\n#qunit-banner.qunit-fail                    { background-color: #EE5757; }\n\n\n/** Result */\n\n#qunit-testresult {\n\tpadding: 0.5em 0.5em 0.5em 2.5em;\n\n\tcolor: #2b81af;\n\tbackground-color: #D2E0E6;\n\n\tborder-bottom: 1px solid white;\n}\n\n/** Fixture */\n\n#qunit-fixture {\n\tposition: absolute;\n\ttop: -10000px;\n\tleft: -10000px;\n}\n\n/** Runoff */\n\n#qunit-fixture {\n  display:none;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tests/vendor/qunit.js",
    "content": "/**\n * QUnit - A JavaScript Unit Testing Framework\n *\n * http://docs.jquery.com/QUnit\n *\n * Copyright (c) 2012 John Resig, Jörn Zaefferer\n * Dual licensed under the MIT (MIT-LICENSE.txt)\n * or GPL (GPL-LICENSE.txt) licenses.\n */\n\n(function(window) {\n\nvar defined = {\n\tsetTimeout: typeof window.setTimeout !== \"undefined\",\n\tsessionStorage: (function() {\n\t\ttry {\n\t\t\treturn !!sessionStorage.getItem;\n\t\t} catch(e) {\n\t\t\treturn false;\n\t\t}\n\t})()\n};\n\nvar testId = 0;\n\nvar Test = function(name, testName, expected, testEnvironmentArg, async, callback) {\n\tthis.name = name;\n\tthis.testName = testName;\n\tthis.expected = expected;\n\tthis.testEnvironmentArg = testEnvironmentArg;\n\tthis.async = async;\n\tthis.callback = callback;\n\tthis.assertions = [];\n};\nTest.prototype = {\n\tinit: function() {\n\t\tvar tests = id(\"qunit-tests\");\n\t\tif (tests) {\n\t\t\tvar b = document.createElement(\"strong\");\n\t\t\t\tb.innerHTML = \"Running \" + this.name;\n\t\t\tvar li = document.createElement(\"li\");\n\t\t\t\tli.appendChild( b );\n\t\t\t\tli.className = \"running\";\n\t\t\t\tli.id = this.id = \"test-output\" + testId++;\n\t\t\ttests.appendChild( li );\n\t\t}\n\t},\n\tsetup: function() {\n\t\tif (this.module != config.previousModule) {\n\t\t\tif ( config.previousModule ) {\n\t\t\t\tQUnit.moduleDone( {\n\t\t\t\t\tname: config.previousModule,\n\t\t\t\t\tfailed: config.moduleStats.bad,\n\t\t\t\t\tpassed: config.moduleStats.all - config.moduleStats.bad,\n\t\t\t\t\ttotal: config.moduleStats.all\n\t\t\t\t} );\n\t\t\t}\n\t\t\tconfig.previousModule = this.module;\n\t\t\tconfig.moduleStats = { all: 0, bad: 0 };\n\t\t\tQUnit.moduleStart( {\n\t\t\t\tname: this.module\n\t\t\t} );\n\t\t}\n\n\t\tconfig.current = this;\n\t\tthis.testEnvironment = extend({\n\t\t\tsetup: function() {},\n\t\t\tteardown: function() {}\n\t\t}, this.moduleTestEnvironment);\n\t\tif (this.testEnvironmentArg) {\n\t\t\textend(this.testEnvironment, this.testEnvironmentArg);\n\t\t}\n\n\t\tQUnit.testStart( {\n\t\t\tname: this.testName\n\t\t} );\n\n\t\t// allow utility functions to access the current test environment\n\t\t// TODO why??\n\t\tQUnit.current_testEnvironment = this.testEnvironment;\n\n\t\ttry {\n\t\t\tif ( !config.pollution ) {\n\t\t\t\tsaveGlobal();\n\t\t\t}\n\n\t\t\tthis.testEnvironment.setup.call(this.testEnvironment);\n\t\t} catch(e) {\n\t\t\tQUnit.ok( false, \"Setup failed on \" + this.testName + \": \" + e.message );\n\t\t}\n\t},\n\trun: function() {\n\t\tif ( this.async ) {\n\t\t\tQUnit.stop();\n\t\t}\n\n\t\tif ( config.notrycatch ) {\n\t\t\tthis.callback.call(this.testEnvironment);\n\t\t\treturn;\n\t\t}\n\t\ttry {\n\t\t\tthis.callback.call(this.testEnvironment);\n\t\t} catch(e) {\n\t\t\tfail(\"Test \" + this.testName + \" died, exception and test follows\", e, this.callback);\n\t\t\tQUnit.ok( false, \"Died on test #\" + (this.assertions.length + 1) + \": \" + e.message + \" - \" + QUnit.jsDump.parse(e) );\n\t\t\t// else next test will carry the responsibility\n\t\t\tsaveGlobal();\n\n\t\t\t// Restart the tests if they're blocking\n\t\t\tif ( config.blocking ) {\n\t\t\t\tstart();\n\t\t\t}\n\t\t}\n\t},\n\tteardown: function() {\n\t\ttry {\n\t\t\tthis.testEnvironment.teardown.call(this.testEnvironment);\n\t\t\tcheckPollution();\n\t\t} catch(e) {\n\t\t\tQUnit.ok( false, \"Teardown failed on \" + this.testName + \": \" + e.message );\n\t\t}\n\t},\n\tfinish: function() {\n\t\tif ( this.expected && this.expected != this.assertions.length ) {\n\t\t\tQUnit.ok( false, \"Expected \" + this.expected + \" assertions, but \" + this.assertions.length + \" were run\" );\n\t\t}\n\n\t\tvar good = 0, bad = 0,\n\t\t\ttests = id(\"qunit-tests\");\n\n\t\tconfig.stats.all += this.assertions.length;\n\t\tconfig.moduleStats.all += this.assertions.length;\n\n\t\tif ( tests ) {\n\t\t\tvar ol = document.createElement(\"ol\");\n\n\t\t\tfor ( var i = 0; i < this.assertions.length; i++ ) {\n\t\t\t\tvar assertion = this.assertions[i];\n\n\t\t\t\tvar li = document.createElement(\"li\");\n\t\t\t\tli.className = assertion.result ? \"pass\" : \"fail\";\n\t\t\t\tli.innerHTML = assertion.message || (assertion.result ? \"okay\" : \"failed\");\n\t\t\t\tol.appendChild( li );\n\n\t\t\t\tif ( assertion.result ) {\n\t\t\t\t\tgood++;\n\t\t\t\t} else {\n\t\t\t\t\tbad++;\n\t\t\t\t\tconfig.stats.bad++;\n\t\t\t\t\tconfig.moduleStats.bad++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// store result when possible\n\t\t\tif ( QUnit.config.reorder && defined.sessionStorage ) {\n\t\t\t\tif (bad) {\n\t\t\t\t\tsessionStorage.setItem(\"qunit-\" + this.module + \"-\" + this.testName, bad);\n\t\t\t\t} else {\n\t\t\t\t\tsessionStorage.removeItem(\"qunit-\" + this.module + \"-\" + this.testName);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (bad == 0) {\n\t\t\t\tol.style.display = \"none\";\n\t\t\t}\n\n\t\t\tvar b = document.createElement(\"strong\");\n\t\t\tb.innerHTML = this.name + \" <b class='counts'>(<b class='failed'>\" + bad + \"</b>, <b class='passed'>\" + good + \"</b>, \" + this.assertions.length + \")</b>\";\n\n\t\t\tvar a = document.createElement(\"a\");\n\t\t\ta.innerHTML = \"Rerun\";\n\t\t\ta.href = QUnit.url({ filter: getText([b]).replace(/\\([^)]+\\)$/, \"\").replace(/(^\\s*|\\s*$)/g, \"\") });\n\n\t\t\taddEvent(b, \"click\", function() {\n\t\t\t\tvar next = b.nextSibling.nextSibling,\n\t\t\t\t\tdisplay = next.style.display;\n\t\t\t\tnext.style.display = display === \"none\" ? \"block\" : \"none\";\n\t\t\t});\n\n\t\t\taddEvent(b, \"dblclick\", function(e) {\n\t\t\t\tvar target = e && e.target ? e.target : window.event.srcElement;\n\t\t\t\tif ( target.nodeName.toLowerCase() == \"span\" || target.nodeName.toLowerCase() == \"b\" ) {\n\t\t\t\t\ttarget = target.parentNode;\n\t\t\t\t}\n\t\t\t\tif ( window.location && target.nodeName.toLowerCase() === \"strong\" ) {\n\t\t\t\t\twindow.location = QUnit.url({ filter: getText([target]).replace(/\\([^)]+\\)$/, \"\").replace(/(^\\s*|\\s*$)/g, \"\") });\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tvar li = id(this.id);\n\t\t\tli.className = bad ? \"fail\" : \"pass\";\n\t\t\tli.removeChild( li.firstChild );\n\t\t\tli.appendChild( b );\n\t\t\tli.appendChild( a );\n\t\t\tli.appendChild( ol );\n\n\t\t} else {\n\t\t\tfor ( var i = 0; i < this.assertions.length; i++ ) {\n\t\t\t\tif ( !this.assertions[i].result ) {\n\t\t\t\t\tbad++;\n\t\t\t\t\tconfig.stats.bad++;\n\t\t\t\t\tconfig.moduleStats.bad++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\tQUnit.reset();\n\t\t} catch(e) {\n\t\t\tfail(\"reset() failed, following Test \" + this.testName + \", exception and reset fn follows\", e, QUnit.reset);\n\t\t}\n\n\t\tQUnit.testDone( {\n\t\t\tname: this.testName,\n\t\t\tfailed: bad,\n\t\t\tpassed: this.assertions.length - bad,\n\t\t\ttotal: this.assertions.length\n\t\t} );\n\t},\n\n\tqueue: function() {\n\t\tvar test = this;\n\t\tsynchronize(function() {\n\t\t\ttest.init();\n\t\t});\n\t\tfunction run() {\n\t\t\t// each of these can by async\n\t\t\tsynchronize(function() {\n\t\t\t\ttest.setup();\n\t\t\t});\n\t\t\tsynchronize(function() {\n\t\t\t\ttest.run();\n\t\t\t});\n\t\t\tsynchronize(function() {\n\t\t\t\ttest.teardown();\n\t\t\t});\n\t\t\tsynchronize(function() {\n\t\t\t\ttest.finish();\n\t\t\t});\n\t\t}\n\t\t// defer when previous test run passed, if storage is available\n\t\tvar bad = QUnit.config.reorder && defined.sessionStorage && +sessionStorage.getItem(\"qunit-\" + this.module + \"-\" + this.testName);\n\t\tif (bad) {\n\t\t\trun();\n\t\t} else {\n\t\t\tsynchronize(run);\n\t\t};\n\t}\n\n};\n\nvar QUnit = {\n\n\t// call on start of module test to prepend name to all tests\n\tmodule: function(name, testEnvironment) {\n\t\tconfig.currentModule = name;\n\t\tconfig.currentModuleTestEnviroment = testEnvironment;\n\t},\n\n\tasyncTest: function(testName, expected, callback) {\n\t\tif ( arguments.length === 2 ) {\n\t\t\tcallback = expected;\n\t\t\texpected = 0;\n\t\t}\n\n\t\tQUnit.test(testName, expected, callback, true);\n\t},\n\n\ttest: function(testName, expected, callback, async) {\n\t\tvar name = '<span class=\"test-name\">' + testName + '</span>', testEnvironmentArg;\n\n\t\tif ( arguments.length === 2 ) {\n\t\t\tcallback = expected;\n\t\t\texpected = null;\n\t\t}\n\t\t// is 2nd argument a testEnvironment?\n\t\tif ( expected && typeof expected === 'object') {\n\t\t\ttestEnvironmentArg = expected;\n\t\t\texpected = null;\n\t\t}\n\n\t\tif ( config.currentModule ) {\n\t\t\tname = '<span class=\"module-name\">' + config.currentModule + \"</span>: \" + name;\n\t\t}\n\n\t\tif ( !validTest(config.currentModule + \": \" + testName) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar test = new Test(name, testName, expected, testEnvironmentArg, async, callback);\n\t\ttest.module = config.currentModule;\n\t\ttest.moduleTestEnvironment = config.currentModuleTestEnviroment;\n\t\ttest.queue();\n\t},\n\n\t/**\n\t * Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through.\n\t */\n\texpect: function(asserts) {\n\t\tconfig.current.expected = asserts;\n\t},\n\n\t/**\n\t * Asserts true.\n\t * @example ok( \"asdfasdf\".length > 5, \"There must be at least 5 chars\" );\n\t */\n\tok: function(a, msg) {\n\t\ta = !!a;\n\t\tvar details = {\n\t\t\tresult: a,\n\t\t\tmessage: msg\n\t\t};\n\t\tmsg = escapeHtml(msg);\n\t\tQUnit.log(details);\n\t\tconfig.current.assertions.push({\n\t\t\tresult: a,\n\t\t\tmessage: msg\n\t\t});\n\t},\n\n\t/**\n\t * Checks that the first two arguments are equal, with an optional message.\n\t * Prints out both actual and expected values.\n\t *\n\t * Prefered to ok( actual == expected, message )\n\t *\n\t * @example equal( format(\"Received {0} bytes.\", 2), \"Received 2 bytes.\" );\n\t *\n\t * @param Object actual\n\t * @param Object expected\n\t * @param String message (optional)\n\t */\n\tequal: function(actual, expected, message) {\n\t\tQUnit.push(expected == actual, actual, expected, message);\n\t},\n\n\tnotEqual: function(actual, expected, message) {\n\t\tQUnit.push(expected != actual, actual, expected, message);\n\t},\n\n\tdeepEqual: function(actual, expected, message) {\n\t\tQUnit.push(QUnit.equiv(actual, expected), actual, expected, message);\n\t},\n\n\tnotDeepEqual: function(actual, expected, message) {\n\t\tQUnit.push(!QUnit.equiv(actual, expected), actual, expected, message);\n\t},\n\n\tstrictEqual: function(actual, expected, message) {\n\t\tQUnit.push(expected === actual, actual, expected, message);\n\t},\n\n\tnotStrictEqual: function(actual, expected, message) {\n\t\tQUnit.push(expected !== actual, actual, expected, message);\n\t},\n\n\traises: function(block, expected, message) {\n\t\tvar actual, ok = false;\n\n\t\tif (typeof expected === 'string') {\n\t\t\tmessage = expected;\n\t\t\texpected = null;\n\t\t}\n\n\t\ttry {\n\t\t\tblock();\n\t\t} catch (e) {\n\t\t\tactual = e;\n\t\t}\n\n\t\tif (actual) {\n\t\t\t// we don't want to validate thrown error\n\t\t\tif (!expected) {\n\t\t\t\tok = true;\n\t\t\t// expected is a regexp\n\t\t\t} else if (QUnit.objectType(expected) === \"regexp\") {\n\t\t\t\tok = expected.test(actual);\n\t\t\t// expected is a constructor\n\t\t\t} else if (actual instanceof expected) {\n\t\t\t\tok = true;\n\t\t\t// expected is a validation function which returns true is validation passed\n\t\t\t} else if (expected.call({}, actual) === true) {\n\t\t\t\tok = true;\n\t\t\t}\n\t\t}\n\n\t\tQUnit.ok(ok, message);\n\t},\n\n\tstart: function() {\n\t\tconfig.semaphore--;\n\t\tif (config.semaphore > 0) {\n\t\t\t// don't start until equal number of stop-calls\n\t\t\treturn;\n\t\t}\n\t\tif (config.semaphore < 0) {\n\t\t\t// ignore if start is called more often then stop\n\t\t\tconfig.semaphore = 0;\n\t\t}\n\t\t// A slight delay, to avoid any current callbacks\n\t\tif ( defined.setTimeout ) {\n\t\t\twindow.setTimeout(function() {\n\t\t\t\tif (config.semaphore > 0) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif ( config.timeout ) {\n\t\t\t\t\tclearTimeout(config.timeout);\n\t\t\t\t}\n\n\t\t\t\tconfig.blocking = false;\n\t\t\t\tprocess();\n\t\t\t}, 13);\n\t\t} else {\n\t\t\tconfig.blocking = false;\n\t\t\tprocess();\n\t\t}\n\t},\n\n\tstop: function(timeout) {\n\t\tconfig.semaphore++;\n\t\tconfig.blocking = true;\n\n\t\tif ( timeout && defined.setTimeout ) {\n\t\t\tclearTimeout(config.timeout);\n\t\t\tconfig.timeout = window.setTimeout(function() {\n\t\t\t\tQUnit.ok( false, \"Test timed out\" );\n\t\t\t\tQUnit.start();\n\t\t\t}, timeout);\n\t\t}\n\t}\n};\n\n// Backwards compatibility, deprecated\nQUnit.equals = QUnit.equal;\nQUnit.same = QUnit.deepEqual;\n\n// Maintain internal state\nvar config = {\n\t// The queue of tests to run\n\tqueue: [],\n\n\t// block until document ready\n\tblocking: true,\n\n\t// when enabled, show only failing tests\n\t// gets persisted through sessionStorage and can be changed in UI via checkbox\n\thidepassed: false,\n\n\t// by default, run previously failed tests first\n\t// very useful in combination with \"Hide passed tests\" checked\n\treorder: true,\n\n\t// by default, modify document.title when suite is done\n\taltertitle: true,\n\n\turlConfig: ['noglobals', 'notrycatch']\n};\n\n// Load paramaters\n(function() {\n\tvar location = window.location || { search: \"\", protocol: \"file:\" },\n\t\tparams = location.search.slice( 1 ).split( \"&\" ),\n\t\tlength = params.length,\n\t\turlParams = {},\n\t\tcurrent;\n\n\tif ( params[ 0 ] ) {\n\t\tfor ( var i = 0; i < length; i++ ) {\n\t\t\tcurrent = params[ i ].split( \"=\" );\n\t\t\tcurrent[ 0 ] = decodeURIComponent( current[ 0 ] );\n\t\t\t// allow just a key to turn on a flag, e.g., test.html?noglobals\n\t\t\tcurrent[ 1 ] = current[ 1 ] ? decodeURIComponent( current[ 1 ] ) : true;\n\t\t\turlParams[ current[ 0 ] ] = current[ 1 ];\n\t\t}\n\t}\n\n\tQUnit.urlParams = urlParams;\n\tconfig.filter = urlParams.filter;\n\n\t// Figure out if we're running the tests from a server or not\n\tQUnit.isLocal = !!(location.protocol === 'file:');\n})();\n\n// Expose the API as global variables, unless an 'exports'\n// object exists, in that case we assume we're in CommonJS\nif ( typeof exports === \"undefined\" || typeof require === \"undefined\" ) {\n\textend(window, QUnit);\n\twindow.QUnit = QUnit;\n} else {\n\textend(exports, QUnit);\n\texports.QUnit = QUnit;\n}\n\n// define these after exposing globals to keep them in these QUnit namespace only\nextend(QUnit, {\n\tconfig: config,\n\n\t// Initialize the configuration options\n\tinit: function() {\n\t\textend(config, {\n\t\t\tstats: { all: 0, bad: 0 },\n\t\t\tmoduleStats: { all: 0, bad: 0 },\n\t\t\tstarted: +new Date,\n\t\t\tupdateRate: 1000,\n\t\t\tblocking: false,\n\t\t\tautostart: true,\n\t\t\tautorun: false,\n\t\t\tfilter: \"\",\n\t\t\tqueue: [],\n\t\t\tsemaphore: 0\n\t\t});\n\n\t\tvar tests = id( \"qunit-tests\" ),\n\t\t\tbanner = id( \"qunit-banner\" ),\n\t\t\tresult = id( \"qunit-testresult\" );\n\n\t\tif ( tests ) {\n\t\t\ttests.innerHTML = \"\";\n\t\t}\n\n\t\tif ( banner ) {\n\t\t\tbanner.className = \"\";\n\t\t}\n\n\t\tif ( result ) {\n\t\t\tresult.parentNode.removeChild( result );\n\t\t}\n\n\t\tif ( tests ) {\n\t\t\tresult = document.createElement( \"p\" );\n\t\t\tresult.id = \"qunit-testresult\";\n\t\t\tresult.className = \"result\";\n\t\t\ttests.parentNode.insertBefore( result, tests );\n\t\t\tresult.innerHTML = 'Running...<br/>&nbsp;';\n\t\t}\n\t},\n\n\t/**\n\t * Resets the test setup. Useful for tests that modify the DOM.\n\t *\n\t * If jQuery is available, uses jQuery's html(), otherwise just innerHTML.\n\t */\n\treset: function() {\n\t\tif ( window.jQuery ) {\n\t\t\tjQuery( \"#qunit-fixture\" ).html( config.fixture );\n\t\t} else {\n\t\t\tvar main = id( 'qunit-fixture' );\n\t\t\tif ( main ) {\n\t\t\t\tmain.innerHTML = config.fixture;\n\t\t\t}\n\t\t}\n\t},\n\n\t/**\n\t * Trigger an event on an element.\n\t *\n\t * @example triggerEvent( document.body, \"click\" );\n\t *\n\t * @param DOMElement elem\n\t * @param String type\n\t */\n\ttriggerEvent: function( elem, type, event ) {\n\t\tif ( document.createEvent ) {\n\t\t\tevent = document.createEvent(\"MouseEvents\");\n\t\t\tevent.initMouseEvent(type, true, true, elem.ownerDocument.defaultView,\n\t\t\t\t0, 0, 0, 0, 0, false, false, false, false, 0, null);\n\t\t\telem.dispatchEvent( event );\n\n\t\t} else if ( elem.fireEvent ) {\n\t\t\telem.fireEvent(\"on\"+type);\n\t\t}\n\t},\n\n\t// Safe object type checking\n\tis: function( type, obj ) {\n\t\treturn QUnit.objectType( obj ) == type;\n\t},\n\n\tobjectType: function( obj ) {\n\t\tif (typeof obj === \"undefined\") {\n\t\t\t\treturn \"undefined\";\n\n\t\t// consider: typeof null === object\n\t\t}\n\t\tif (obj === null) {\n\t\t\t\treturn \"null\";\n\t\t}\n\n\t\tvar type = Object.prototype.toString.call( obj )\n\t\t\t.match(/^\\[object\\s(.*)\\]$/)[1] || '';\n\n\t\tswitch (type) {\n\t\t\t\tcase 'Number':\n\t\t\t\t\t\tif (isNaN(obj)) {\n\t\t\t\t\t\t\t\treturn \"nan\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn \"number\";\n\t\t\t\t\t\t}\n\t\t\t\tcase 'String':\n\t\t\t\tcase 'Boolean':\n\t\t\t\tcase 'Array':\n\t\t\t\tcase 'Date':\n\t\t\t\tcase 'RegExp':\n\t\t\t\tcase 'Function':\n\t\t\t\t\t\treturn type.toLowerCase();\n\t\t}\n\t\tif (typeof obj === \"object\") {\n\t\t\t\treturn \"object\";\n\t\t}\n\t\treturn undefined;\n\t},\n\n\tpush: function(result, actual, expected, message) {\n\t\tvar details = {\n\t\t\tresult: result,\n\t\t\tmessage: message,\n\t\t\tactual: actual,\n\t\t\texpected: expected\n\t\t};\n\n\t\tmessage = escapeHtml(message) || (result ? \"okay\" : \"failed\");\n\t\tmessage = '<span class=\"test-message\">' + message + \"</span>\";\n\t\texpected = escapeHtml(QUnit.jsDump.parse(expected));\n\t\tactual = escapeHtml(QUnit.jsDump.parse(actual));\n\t\tvar output = message + '<table><tr class=\"test-expected\"><th>Expected: </th><td><pre>' + expected + '</pre></td></tr>';\n\t\tif (actual != expected) {\n\t\t\toutput += '<tr class=\"test-actual\"><th>Result: </th><td><pre>' + actual + '</pre></td></tr>';\n\t\t\toutput += '<tr class=\"test-diff\"><th>Diff: </th><td><pre>' + QUnit.diff(expected, actual) +'</pre></td></tr>';\n\t\t}\n\t\tif (!result) {\n\t\t\tvar source = sourceFromStacktrace();\n\t\t\tif (source) {\n\t\t\t\tdetails.source = source;\n\t\t\t\toutput += '<tr class=\"test-source\"><th>Source: </th><td><pre>' + escapeHtml(source) + '</pre></td></tr>';\n\t\t\t}\n\t\t}\n\t\toutput += \"</table>\";\n\n\t\tQUnit.log(details);\n\n\t\tconfig.current.assertions.push({\n\t\t\tresult: !!result,\n\t\t\tmessage: output\n\t\t});\n\t},\n\n\turl: function( params ) {\n\t\tparams = extend( extend( {}, QUnit.urlParams ), params );\n\t\tvar querystring = \"?\",\n\t\t\tkey;\n\t\tfor ( key in params ) {\n\t\t\tquerystring += encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( params[ key ] ) + \"&\";\n\t\t}\n\t\treturn window.location.pathname + querystring.slice( 0, -1 );\n\t},\n\n\textend: extend,\n\tid: id,\n\taddEvent: addEvent,\n\n\t// Logging callbacks; all receive a single argument with the listed properties\n\t// run test/logs.html for any related changes\n\tbegin: function() {},\n\t// done: { failed, passed, total, runtime }\n\tdone: function() {},\n\t// log: { result, actual, expected, message }\n\tlog: function() {},\n\t// testStart: { name }\n\ttestStart: function() {},\n\t// testDone: { name, failed, passed, total }\n\ttestDone: function() {},\n\t// moduleStart: { name }\n\tmoduleStart: function() {},\n\t// moduleDone: { name, failed, passed, total }\n\tmoduleDone: function() {}\n});\n\nif ( typeof document === \"undefined\" || document.readyState === \"complete\" ) {\n\tconfig.autorun = true;\n}\n\nQUnit.load = function() {\n\tQUnit.begin({});\n\n\t// Initialize the config, saving the execution queue\n\tvar oldconfig = extend({}, config);\n\tQUnit.init();\n\textend(config, oldconfig);\n\n\tconfig.blocking = false;\n\n\tvar urlConfigHtml = '', len = config.urlConfig.length;\n\tfor ( var i = 0, val; i < len, val = config.urlConfig[i]; i++ ) {\n\t\tconfig[val] = QUnit.urlParams[val];\n\t\turlConfigHtml += '<label><input name=\"' + val + '\" type=\"checkbox\"' + ( config[val] ? ' checked=\"checked\"' : '' ) + '>' + val + '</label>';\n\t}\n\n\tvar userAgent = id(\"qunit-userAgent\");\n\tif ( userAgent ) {\n\t\tuserAgent.innerHTML = navigator.userAgent;\n\t}\n\tvar banner = id(\"qunit-header\");\n\tif ( banner ) {\n\t\tbanner.innerHTML = '<a href=\"' + QUnit.url({ filter: undefined }) + '\"> ' + banner.innerHTML + '</a> ' + urlConfigHtml;\n\t\taddEvent( banner, \"change\", function( event ) {\n\t\t\tvar params = {};\n\t\t\tparams[ event.target.name ] = event.target.checked ? true : undefined;\n\t\t\twindow.location = QUnit.url( params );\n\t\t});\n\t}\n\n\tvar toolbar = id(\"qunit-testrunner-toolbar\");\n\tif ( toolbar ) {\n\t\tvar filter = document.createElement(\"input\");\n\t\tfilter.type = \"checkbox\";\n\t\tfilter.id = \"qunit-filter-pass\";\n\t\taddEvent( filter, \"click\", function() {\n\t\t\tvar ol = document.getElementById(\"qunit-tests\");\n\t\t\tif ( filter.checked ) {\n\t\t\t\tol.className = ol.className + \" hidepass\";\n\t\t\t} else {\n\t\t\t\tvar tmp = \" \" + ol.className.replace( /[\\n\\t\\r]/g, \" \" ) + \" \";\n\t\t\t\tol.className = tmp.replace(/ hidepass /, \" \");\n\t\t\t}\n\t\t\tif ( defined.sessionStorage ) {\n\t\t\t\tif (filter.checked) {\n\t\t\t\t\tsessionStorage.setItem(\"qunit-filter-passed-tests\", \"true\");\n\t\t\t\t} else {\n\t\t\t\t\tsessionStorage.removeItem(\"qunit-filter-passed-tests\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tif ( config.hidepassed || defined.sessionStorage && sessionStorage.getItem(\"qunit-filter-passed-tests\") ) {\n\t\t\tfilter.checked = true;\n\t\t\tvar ol = document.getElementById(\"qunit-tests\");\n\t\t\tol.className = ol.className + \" hidepass\";\n\t\t}\n\t\ttoolbar.appendChild( filter );\n\n\t\tvar label = document.createElement(\"label\");\n\t\tlabel.setAttribute(\"for\", \"qunit-filter-pass\");\n\t\tlabel.innerHTML = \"Hide passed tests\";\n\t\ttoolbar.appendChild( label );\n\t}\n\n\tvar main = id('qunit-fixture');\n\tif ( main ) {\n\t\tconfig.fixture = main.innerHTML;\n\t}\n\n\tif (config.autostart) {\n\t\tQUnit.start();\n\t}\n};\n\naddEvent(window, \"load\", QUnit.load);\n\nfunction done() {\n\tconfig.autorun = true;\n\n\t// Log the last module results\n\tif ( config.currentModule ) {\n\t\tQUnit.moduleDone( {\n\t\t\tname: config.currentModule,\n\t\t\tfailed: config.moduleStats.bad,\n\t\t\tpassed: config.moduleStats.all - config.moduleStats.bad,\n\t\t\ttotal: config.moduleStats.all\n\t\t} );\n\t}\n\n\tvar banner = id(\"qunit-banner\"),\n\t\ttests = id(\"qunit-tests\"),\n\t\truntime = +new Date - config.started,\n\t\tpassed = config.stats.all - config.stats.bad,\n\t\thtml = [\n\t\t\t'Tests completed in ',\n\t\t\truntime,\n\t\t\t' milliseconds.<br/>',\n\t\t\t'<span class=\"passed\">',\n\t\t\tpassed,\n\t\t\t'</span> tests of <span class=\"total\">',\n\t\t\tconfig.stats.all,\n\t\t\t'</span> passed, <span class=\"failed\">',\n\t\t\tconfig.stats.bad,\n\t\t\t'</span> failed.'\n\t\t].join('');\n\n\tif ( banner ) {\n\t\tbanner.className = (config.stats.bad ? \"qunit-fail\" : \"qunit-pass\");\n\t}\n\n\tif ( tests ) {\n\t\tid( \"qunit-testresult\" ).innerHTML = html;\n\t}\n\n\tif ( config.altertitle && typeof document !== \"undefined\" && document.title ) {\n\t\t// show ✖ for good, ✔ for bad suite result in title\n\t\t// use escape sequences in case file gets loaded with non-utf-8-charset\n\t\tdocument.title = [\n\t\t\t(config.stats.bad ? \"\\u2716\" : \"\\u2714\"),\n\t\t\tdocument.title.replace(/^[\\u2714\\u2716] /i, \"\")\n\t\t].join(\" \");\n\t}\n\n\tQUnit.done( {\n\t\tfailed: config.stats.bad,\n\t\tpassed: passed,\n\t\ttotal: config.stats.all,\n\t\truntime: runtime\n\t} );\n}\n\nfunction validTest( name ) {\n\tvar filter = config.filter,\n\t\trun = false;\n\n\tif ( !filter ) {\n\t\treturn true;\n\t}\n\n\tvar not = filter.charAt( 0 ) === \"!\";\n\tif ( not ) {\n\t\tfilter = filter.slice( 1 );\n\t}\n\n\tif ( name.indexOf( filter ) !== -1 ) {\n\t\treturn !not;\n\t}\n\n\tif ( not ) {\n\t\trun = true;\n\t}\n\n\treturn run;\n}\n\n// so far supports only Firefox, Chrome and Opera (buggy)\n// could be extended in the future to use something like https://github.com/csnover/TraceKit\nfunction sourceFromStacktrace() {\n\ttry {\n\t\tthrow new Error();\n\t} catch ( e ) {\n\t\tif (e.stacktrace) {\n\t\t\t// Opera\n\t\t\treturn e.stacktrace.split(\"\\n\")[6];\n\t\t} else if (e.stack) {\n\t\t\t// Firefox, Chrome\n\t\t\treturn e.stack.split(\"\\n\")[4];\n\t\t} else if (e.sourceURL) {\n\t\t\t// Safari, PhantomJS\n\t\t\t// TODO sourceURL points at the 'throw new Error' line above, useless\n\t\t\t//return e.sourceURL + \":\" + e.line;\n\t\t}\n\t}\n}\n\nfunction escapeHtml(s) {\n\tif (!s) {\n\t\treturn \"\";\n\t}\n\ts = s + \"\";\n\treturn s.replace(/[\\&\"<>\\\\]/g, function(s) {\n\t\tswitch(s) {\n\t\t\tcase \"&\": return \"&amp;\";\n\t\t\tcase \"\\\\\": return \"\\\\\\\\\";\n\t\t\tcase '\"': return '\\\"';\n\t\t\tcase \"<\": return \"&lt;\";\n\t\t\tcase \">\": return \"&gt;\";\n\t\t\tdefault: return s;\n\t\t}\n\t});\n}\n\nfunction synchronize( callback ) {\n\tconfig.queue.push( callback );\n\n\tif ( config.autorun && !config.blocking ) {\n\t\tprocess();\n\t}\n}\n\nfunction process() {\n\tvar start = (new Date()).getTime();\n\n\twhile ( config.queue.length && !config.blocking ) {\n\t\tif ( config.updateRate <= 0 || (((new Date()).getTime() - start) < config.updateRate) ) {\n\t\t\tconfig.queue.shift()();\n\t\t} else {\n\t\t\twindow.setTimeout( process, 13 );\n\t\t\tbreak;\n\t\t}\n\t}\n\tif (!config.blocking && !config.queue.length) {\n\t\tdone();\n\t}\n}\n\nfunction saveGlobal() {\n\tconfig.pollution = [];\n\n\tif ( config.noglobals ) {\n\t\tfor ( var key in window ) {\n\t\t\tconfig.pollution.push( key );\n\t\t}\n\t}\n}\n\nfunction checkPollution( name ) {\n\tvar old = config.pollution;\n\tsaveGlobal();\n\n\tvar newGlobals = diff( config.pollution, old );\n\tif ( newGlobals.length > 0 ) {\n\t\tok( false, \"Introduced global variable(s): \" + newGlobals.join(\", \") );\n\t}\n\n\tvar deletedGlobals = diff( old, config.pollution );\n\tif ( deletedGlobals.length > 0 ) {\n\t\tok( false, \"Deleted global variable(s): \" + deletedGlobals.join(\", \") );\n\t}\n}\n\n// returns a new Array with the elements that are in a but not in b\nfunction diff( a, b ) {\n\tvar result = a.slice();\n\tfor ( var i = 0; i < result.length; i++ ) {\n\t\tfor ( var j = 0; j < b.length; j++ ) {\n\t\t\tif ( result[i] === b[j] ) {\n\t\t\t\tresult.splice(i, 1);\n\t\t\t\ti--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn result;\n}\n\nfunction fail(message, exception, callback) {\n\tif ( typeof console !== \"undefined\" && console.error && console.warn ) {\n\t\tconsole.error(message);\n\t\tconsole.error(exception);\n\t\tconsole.warn(callback.toString());\n\n\t} else if ( window.opera && opera.postError ) {\n\t\topera.postError(message, exception, callback.toString);\n\t}\n}\n\nfunction extend(a, b) {\n\tfor ( var prop in b ) {\n\t\tif ( b[prop] === undefined ) {\n\t\t\tdelete a[prop];\n\t\t} else {\n\t\t\ta[prop] = b[prop];\n\t\t}\n\t}\n\n\treturn a;\n}\n\nfunction addEvent(elem, type, fn) {\n\tif ( elem.addEventListener ) {\n\t\telem.addEventListener( type, fn, false );\n\t} else if ( elem.attachEvent ) {\n\t\telem.attachEvent( \"on\" + type, fn );\n\t} else {\n\t\tfn();\n\t}\n}\n\nfunction id(name) {\n\treturn !!(typeof document !== \"undefined\" && document && document.getElementById) &&\n\t\tdocument.getElementById( name );\n}\n\n// Test for equality any JavaScript type.\n// Discussions and reference: http://philrathe.com/articles/equiv\n// Test suites: http://philrathe.com/tests/equiv\n// Author: Philippe Rathé <prathe@gmail.com>\nQUnit.equiv = function () {\n\n\tvar innerEquiv; // the real equiv function\n\tvar callers = []; // stack to decide between skip/abort functions\n\tvar parents = []; // stack to avoiding loops from circular referencing\n\n\t// Call the o related callback with the given arguments.\n\tfunction bindCallbacks(o, callbacks, args) {\n\t\tvar prop = QUnit.objectType(o);\n\t\tif (prop) {\n\t\t\tif (QUnit.objectType(callbacks[prop]) === \"function\") {\n\t\t\t\treturn callbacks[prop].apply(callbacks, args);\n\t\t\t} else {\n\t\t\t\treturn callbacks[prop]; // or undefined\n\t\t\t}\n\t\t}\n\t}\n\n\tvar callbacks = function () {\n\n\t\t// for string, boolean, number and null\n\t\tfunction useStrictEquality(b, a) {\n\t\t\tif (b instanceof a.constructor || a instanceof b.constructor) {\n\t\t\t\t// to catch short annotaion VS 'new' annotation of a\n\t\t\t\t// declaration\n\t\t\t\t// e.g. var i = 1;\n\t\t\t\t// var j = new Number(1);\n\t\t\t\treturn a == b;\n\t\t\t} else {\n\t\t\t\treturn a === b;\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\t\"string\" : useStrictEquality,\n\t\t\t\"boolean\" : useStrictEquality,\n\t\t\t\"number\" : useStrictEquality,\n\t\t\t\"null\" : useStrictEquality,\n\t\t\t\"undefined\" : useStrictEquality,\n\n\t\t\t\"nan\" : function(b) {\n\t\t\t\treturn isNaN(b);\n\t\t\t},\n\n\t\t\t\"date\" : function(b, a) {\n\t\t\t\treturn QUnit.objectType(b) === \"date\"\n\t\t\t\t\t\t&& a.valueOf() === b.valueOf();\n\t\t\t},\n\n\t\t\t\"regexp\" : function(b, a) {\n\t\t\t\treturn QUnit.objectType(b) === \"regexp\"\n\t\t\t\t\t\t&& a.source === b.source && // the regex itself\n\t\t\t\t\t\ta.global === b.global && // and its modifers\n\t\t\t\t\t\t\t\t\t\t\t\t\t// (gmi) ...\n\t\t\t\t\t\ta.ignoreCase === b.ignoreCase\n\t\t\t\t\t\t&& a.multiline === b.multiline;\n\t\t\t},\n\n\t\t\t// - skip when the property is a method of an instance (OOP)\n\t\t\t// - abort otherwise,\n\t\t\t// initial === would have catch identical references anyway\n\t\t\t\"function\" : function() {\n\t\t\t\tvar caller = callers[callers.length - 1];\n\t\t\t\treturn caller !== Object && typeof caller !== \"undefined\";\n\t\t\t},\n\n\t\t\t\"array\" : function(b, a) {\n\t\t\t\tvar i, j, loop;\n\t\t\t\tvar len;\n\n\t\t\t\t// b could be an object literal here\n\t\t\t\tif (!(QUnit.objectType(b) === \"array\")) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tlen = a.length;\n\t\t\t\tif (len !== b.length) { // safe and faster\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\t// track reference to avoid circular references\n\t\t\t\tparents.push(a);\n\t\t\t\tfor (i = 0; i < len; i++) {\n\t\t\t\t\tloop = false;\n\t\t\t\t\tfor (j = 0; j < parents.length; j++) {\n\t\t\t\t\t\tif (parents[j] === a[i]) {\n\t\t\t\t\t\t\tloop = true;// dont rewalk array\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!loop && !innerEquiv(a[i], b[i])) {\n\t\t\t\t\t\tparents.pop();\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tparents.pop();\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t\"object\" : function(b, a) {\n\t\t\t\tvar i, j, loop;\n\t\t\t\tvar eq = true; // unless we can proove it\n\t\t\t\tvar aProperties = [], bProperties = []; // collection of\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// strings\n\n\t\t\t\t// comparing constructors is more strict than using\n\t\t\t\t// instanceof\n\t\t\t\tif (a.constructor !== b.constructor) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\t// stack constructor before traversing properties\n\t\t\t\tcallers.push(a.constructor);\n\t\t\t\t// track reference to avoid circular references\n\t\t\t\tparents.push(a);\n\n\t\t\t\tfor (i in a) { // be strict: don't ensures hasOwnProperty\n\t\t\t\t\t\t\t\t// and go deep\n\t\t\t\t\tloop = false;\n\t\t\t\t\tfor (j = 0; j < parents.length; j++) {\n\t\t\t\t\t\tif (parents[j] === a[i])\n\t\t\t\t\t\t\tloop = true; // don't go down the same path\n\t\t\t\t\t\t\t\t\t\t\t// twice\n\t\t\t\t\t}\n\t\t\t\t\taProperties.push(i); // collect a's properties\n\n\t\t\t\t\tif (!loop && !innerEquiv(a[i], b[i])) {\n\t\t\t\t\t\teq = false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallers.pop(); // unstack, we are done\n\t\t\t\tparents.pop();\n\n\t\t\t\tfor (i in b) {\n\t\t\t\t\tbProperties.push(i); // collect b's properties\n\t\t\t\t}\n\n\t\t\t\t// Ensures identical properties name\n\t\t\t\treturn eq\n\t\t\t\t\t\t&& innerEquiv(aProperties.sort(), bProperties\n\t\t\t\t\t\t\t\t.sort());\n\t\t\t}\n\t\t};\n\t}();\n\n\tinnerEquiv = function() { // can take multiple arguments\n\t\tvar args = Array.prototype.slice.apply(arguments);\n\t\tif (args.length < 2) {\n\t\t\treturn true; // end transition\n\t\t}\n\n\t\treturn (function(a, b) {\n\t\t\tif (a === b) {\n\t\t\t\treturn true; // catch the most you can\n\t\t\t} else if (a === null || b === null || typeof a === \"undefined\"\n\t\t\t\t\t|| typeof b === \"undefined\"\n\t\t\t\t\t|| QUnit.objectType(a) !== QUnit.objectType(b)) {\n\t\t\t\treturn false; // don't lose time with error prone cases\n\t\t\t} else {\n\t\t\t\treturn bindCallbacks(a, callbacks, [ b, a ]);\n\t\t\t}\n\n\t\t\t// apply transition with (1..n) arguments\n\t\t})(args[0], args[1])\n\t\t\t\t&& arguments.callee.apply(this, args.splice(1,\n\t\t\t\t\t\targs.length - 1));\n\t};\n\n\treturn innerEquiv;\n\n}();\n\n/**\n * jsDump Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com |\n * http://flesler.blogspot.com Licensed under BSD\n * (http://www.opensource.org/licenses/bsd-license.php) Date: 5/15/2008\n *\n * @projectDescription Advanced and extensible data dumping for Javascript.\n * @version 1.0.0\n * @author Ariel Flesler\n * @link {http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html}\n */\nQUnit.jsDump = (function() {\n\tfunction quote( str ) {\n\t\treturn '\"' + str.toString().replace(/\"/g, '\\\\\"') + '\"';\n\t};\n\tfunction literal( o ) {\n\t\treturn o + '';\n\t};\n\tfunction join( pre, arr, post ) {\n\t\tvar s = jsDump.separator(),\n\t\t\tbase = jsDump.indent(),\n\t\t\tinner = jsDump.indent(1);\n\t\tif ( arr.join )\n\t\t\tarr = arr.join( ',' + s + inner );\n\t\tif ( !arr )\n\t\t\treturn pre + post;\n\t\treturn [ pre, inner + arr, base + post ].join(s);\n\t};\n\tfunction array( arr, stack ) {\n\t\tvar i = arr.length, ret = Array(i);\n\t\tthis.up();\n\t\twhile ( i-- )\n\t\t\tret[i] = this.parse( arr[i] , undefined , stack);\n\t\tthis.down();\n\t\treturn join( '[', ret, ']' );\n\t};\n\n\tvar reName = /^function (\\w+)/;\n\n\tvar jsDump = {\n\t\tparse:function( obj, type, stack ) { //type is used mostly internally, you can fix a (custom)type in advance\n\t\t\tstack = stack || [ ];\n\t\t\tvar parser = this.parsers[ type || this.typeOf(obj) ];\n\t\t\ttype = typeof parser;\n\t\t\tvar inStack = inArray(obj, stack);\n\t\t\tif (inStack != -1) {\n\t\t\t\treturn 'recursion('+(inStack - stack.length)+')';\n\t\t\t}\n\t\t\t//else\n\t\t\tif (type == 'function')  {\n\t\t\t\t\tstack.push(obj);\n\t\t\t\t\tvar res = parser.call( this, obj, stack );\n\t\t\t\t\tstack.pop();\n\t\t\t\t\treturn res;\n\t\t\t}\n\t\t\t// else\n\t\t\treturn (type == 'string') ? parser : this.parsers.error;\n\t\t},\n\t\ttypeOf:function( obj ) {\n\t\t\tvar type;\n\t\t\tif ( obj === null ) {\n\t\t\t\ttype = \"null\";\n\t\t\t} else if (typeof obj === \"undefined\") {\n\t\t\t\ttype = \"undefined\";\n\t\t\t} else if (QUnit.is(\"RegExp\", obj)) {\n\t\t\t\ttype = \"regexp\";\n\t\t\t} else if (QUnit.is(\"Date\", obj)) {\n\t\t\t\ttype = \"date\";\n\t\t\t} else if (QUnit.is(\"Function\", obj)) {\n\t\t\t\ttype = \"function\";\n\t\t\t} else if (typeof obj.setInterval !== undefined && typeof obj.document !== \"undefined\" && typeof obj.nodeType === \"undefined\") {\n\t\t\t\ttype = \"window\";\n\t\t\t} else if (obj.nodeType === 9) {\n\t\t\t\ttype = \"document\";\n\t\t\t} else if (obj.nodeType) {\n\t\t\t\ttype = \"node\";\n\t\t\t} else if (typeof obj === \"object\" && typeof obj.length === \"number\" && obj.length >= 0) {\n\t\t\t\ttype = \"array\";\n\t\t\t} else {\n\t\t\t\ttype = typeof obj;\n\t\t\t}\n\t\t\treturn type;\n\t\t},\n\t\tseparator:function() {\n\t\t\treturn this.multiline ?\tthis.HTML ? '<br />' : '\\n' : this.HTML ? '&nbsp;' : ' ';\n\t\t},\n\t\tindent:function( extra ) {// extra can be a number, shortcut for increasing-calling-decreasing\n\t\t\tif ( !this.multiline )\n\t\t\t\treturn '';\n\t\t\tvar chr = this.indentChar;\n\t\t\tif ( this.HTML )\n\t\t\t\tchr = chr.replace(/\\t/g,'   ').replace(/ /g,'&nbsp;');\n\t\t\treturn Array( this._depth_ + (extra||0) ).join(chr);\n\t\t},\n\t\tup:function( a ) {\n\t\t\tthis._depth_ += a || 1;\n\t\t},\n\t\tdown:function( a ) {\n\t\t\tthis._depth_ -= a || 1;\n\t\t},\n\t\tsetParser:function( name, parser ) {\n\t\t\tthis.parsers[name] = parser;\n\t\t},\n\t\t// The next 3 are exposed so you can use them\n\t\tquote:quote,\n\t\tliteral:literal,\n\t\tjoin:join,\n\t\t//\n\t\t_depth_: 1,\n\t\t// This is the list of parsers, to modify them, use jsDump.setParser\n\t\tparsers:{\n\t\t\twindow: '[Window]',\n\t\t\tdocument: '[Document]',\n\t\t\terror:'[ERROR]', //when no parser is found, shouldn't happen\n\t\t\tunknown: '[Unknown]',\n\t\t\t'null':'null',\n\t\t\t'undefined':'undefined',\n\t\t\t'function':function( fn ) {\n\t\t\t\tvar ret = 'function',\n\t\t\t\t\tname = 'name' in fn ? fn.name : (reName.exec(fn)||[])[1];//functions never have name in IE\n\t\t\t\tif ( name )\n\t\t\t\t\tret += ' ' + name;\n\t\t\t\tret += '(';\n\n\t\t\t\tret = [ ret, QUnit.jsDump.parse( fn, 'functionArgs' ), '){'].join('');\n\t\t\t\treturn join( ret, QUnit.jsDump.parse(fn,'functionCode'), '}' );\n\t\t\t},\n\t\t\tarray: array,\n\t\t\tnodelist: array,\n\t\t\targuments: array,\n\t\t\tobject:function( map, stack ) {\n\t\t\t\tvar ret = [ ];\n\t\t\t\tQUnit.jsDump.up();\n\t\t\t\tfor ( var key in map ) {\n\t\t\t\t    var val = map[key];\n\t\t\t\t\tret.push( QUnit.jsDump.parse(key,'key') + ': ' + QUnit.jsDump.parse(val, undefined, stack));\n                }\n\t\t\t\tQUnit.jsDump.down();\n\t\t\t\treturn join( '{', ret, '}' );\n\t\t\t},\n\t\t\tnode:function( node ) {\n\t\t\t\tvar open = QUnit.jsDump.HTML ? '&lt;' : '<',\n\t\t\t\t\tclose = QUnit.jsDump.HTML ? '&gt;' : '>';\n\n\t\t\t\tvar tag = node.nodeName.toLowerCase(),\n\t\t\t\t\tret = open + tag;\n\n\t\t\t\tfor ( var a in QUnit.jsDump.DOMAttrs ) {\n\t\t\t\t\tvar val = node[QUnit.jsDump.DOMAttrs[a]];\n\t\t\t\t\tif ( val )\n\t\t\t\t\t\tret += ' ' + a + '=' + QUnit.jsDump.parse( val, 'attribute' );\n\t\t\t\t}\n\t\t\t\treturn ret + close + open + '/' + tag + close;\n\t\t\t},\n\t\t\tfunctionArgs:function( fn ) {//function calls it internally, it's the arguments part of the function\n\t\t\t\tvar l = fn.length;\n\t\t\t\tif ( !l ) return '';\n\n\t\t\t\tvar args = Array(l);\n\t\t\t\twhile ( l-- )\n\t\t\t\t\targs[l] = String.fromCharCode(97+l);//97 is 'a'\n\t\t\t\treturn ' ' + args.join(', ') + ' ';\n\t\t\t},\n\t\t\tkey:quote, //object calls it internally, the key part of an item in a map\n\t\t\tfunctionCode:'[code]', //function calls it internally, it's the content of the function\n\t\t\tattribute:quote, //node calls it internally, it's an html attribute value\n\t\t\tstring:quote,\n\t\t\tdate:quote,\n\t\t\tregexp:literal, //regex\n\t\t\tnumber:literal,\n\t\t\t'boolean':literal\n\t\t},\n\t\tDOMAttrs:{//attributes to dump from nodes, name=>realName\n\t\t\tid:'id',\n\t\t\tname:'name',\n\t\t\t'class':'className'\n\t\t},\n\t\tHTML:false,//if true, entities are escaped ( <, >, \\t, space and \\n )\n\t\tindentChar:'  ',//indentation unit\n\t\tmultiline:true //if true, items in a collection, are separated by a \\n, else just a space.\n\t};\n\n\treturn jsDump;\n})();\n\n// from Sizzle.js\nfunction getText( elems ) {\n\tvar ret = \"\", elem;\n\n\tfor ( var i = 0; elems[i]; i++ ) {\n\t\telem = elems[i];\n\n\t\t// Get the text from text nodes and CDATA nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 4 ) {\n\t\t\tret += elem.nodeValue;\n\n\t\t// Traverse everything else, except comment nodes\n\t\t} else if ( elem.nodeType !== 8 ) {\n\t\t\tret += getText( elem.childNodes );\n\t\t}\n\t}\n\n\treturn ret;\n};\n\n//from jquery.js\nfunction inArray( elem, array ) {\n\tif ( array.indexOf ) {\n\t\treturn array.indexOf( elem );\n\t}\n\n\tfor ( var i = 0, length = array.length; i < length; i++ ) {\n\t\tif ( array[ i ] === elem ) {\n\t\t\treturn i;\n\t\t}\n\t}\n\n\treturn -1;\n}\n\n/*\n * Javascript Diff Algorithm\n *  By John Resig (http://ejohn.org/)\n *  Modified by Chu Alan \"sprite\"\n *\n * Released under the MIT license.\n *\n * More Info:\n *  http://ejohn.org/projects/javascript-diff-algorithm/\n *\n * Usage: QUnit.diff(expected, actual)\n *\n * QUnit.diff(\"the quick brown fox jumped over\", \"the quick fox jumps over\") == \"the  quick <del>brown </del> fox <del>jumped </del><ins>jumps </ins> over\"\n */\nQUnit.diff = (function() {\n\tfunction diff(o, n) {\n\t\tvar ns = {};\n\t\tvar os = {};\n\n\t\tfor (var i = 0; i < n.length; i++) {\n\t\t\tif (ns[n[i]] == null)\n\t\t\t\tns[n[i]] = {\n\t\t\t\t\trows: [],\n\t\t\t\t\to: null\n\t\t\t\t};\n\t\t\tns[n[i]].rows.push(i);\n\t\t}\n\n\t\tfor (var i = 0; i < o.length; i++) {\n\t\t\tif (os[o[i]] == null)\n\t\t\t\tos[o[i]] = {\n\t\t\t\t\trows: [],\n\t\t\t\t\tn: null\n\t\t\t\t};\n\t\t\tos[o[i]].rows.push(i);\n\t\t}\n\n\t\tfor (var i in ns) {\n\t\t\tif (ns[i].rows.length == 1 && typeof(os[i]) != \"undefined\" && os[i].rows.length == 1) {\n\t\t\t\tn[ns[i].rows[0]] = {\n\t\t\t\t\ttext: n[ns[i].rows[0]],\n\t\t\t\t\trow: os[i].rows[0]\n\t\t\t\t};\n\t\t\t\to[os[i].rows[0]] = {\n\t\t\t\t\ttext: o[os[i].rows[0]],\n\t\t\t\t\trow: ns[i].rows[0]\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tfor (var i = 0; i < n.length - 1; i++) {\n\t\t\tif (n[i].text != null && n[i + 1].text == null && n[i].row + 1 < o.length && o[n[i].row + 1].text == null &&\n\t\t\tn[i + 1] == o[n[i].row + 1]) {\n\t\t\t\tn[i + 1] = {\n\t\t\t\t\ttext: n[i + 1],\n\t\t\t\t\trow: n[i].row + 1\n\t\t\t\t};\n\t\t\t\to[n[i].row + 1] = {\n\t\t\t\t\ttext: o[n[i].row + 1],\n\t\t\t\t\trow: i + 1\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tfor (var i = n.length - 1; i > 0; i--) {\n\t\t\tif (n[i].text != null && n[i - 1].text == null && n[i].row > 0 && o[n[i].row - 1].text == null &&\n\t\t\tn[i - 1] == o[n[i].row - 1]) {\n\t\t\t\tn[i - 1] = {\n\t\t\t\t\ttext: n[i - 1],\n\t\t\t\t\trow: n[i].row - 1\n\t\t\t\t};\n\t\t\t\to[n[i].row - 1] = {\n\t\t\t\t\ttext: o[n[i].row - 1],\n\t\t\t\t\trow: i - 1\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\to: o,\n\t\t\tn: n\n\t\t};\n\t}\n\n\treturn function(o, n) {\n\t\to = o.replace(/\\s+$/, '');\n\t\tn = n.replace(/\\s+$/, '');\n\t\tvar out = diff(o == \"\" ? [] : o.split(/\\s+/), n == \"\" ? [] : n.split(/\\s+/));\n\n\t\tvar str = \"\";\n\n\t\tvar oSpace = o.match(/\\s+/g);\n\t\tif (oSpace == null) {\n\t\t\toSpace = [\" \"];\n\t\t}\n\t\telse {\n\t\t\toSpace.push(\" \");\n\t\t}\n\t\tvar nSpace = n.match(/\\s+/g);\n\t\tif (nSpace == null) {\n\t\t\tnSpace = [\" \"];\n\t\t}\n\t\telse {\n\t\t\tnSpace.push(\" \");\n\t\t}\n\n\t\tif (out.n.length == 0) {\n\t\t\tfor (var i = 0; i < out.o.length; i++) {\n\t\t\t\tstr += '<del>' + out.o[i] + oSpace[i] + \"</del>\";\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tif (out.n[0].text == null) {\n\t\t\t\tfor (n = 0; n < out.o.length && out.o[n].text == null; n++) {\n\t\t\t\t\tstr += '<del>' + out.o[n] + oSpace[n] + \"</del>\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (var i = 0; i < out.n.length; i++) {\n\t\t\t\tif (out.n[i].text == null) {\n\t\t\t\t\tstr += '<ins>' + out.n[i] + nSpace[i] + \"</ins>\";\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tvar pre = \"\";\n\n\t\t\t\t\tfor (n = out.n[i].row + 1; n < out.o.length && out.o[n].text == null; n++) {\n\t\t\t\t\t\tpre += '<del>' + out.o[n] + oSpace[n] + \"</del>\";\n\t\t\t\t\t}\n\t\t\t\t\tstr += \" \" + out.n[i].text + nSpace[i] + pre;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn str;\n\t};\n})();\n\n})(this);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/tooltip.js",
    "content": "/* ========================================================================\n * Bootstrap: tooltip.js v3.0.3\n * http://getbootstrap.com/javascript/#tooltip\n * Inspired by the original jQuery.tipsy by Jason Frame\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // TOOLTIP PUBLIC CLASS DEFINITION\n  // ===============================\n\n  var Tooltip = function (element, options) {\n    this.type       =\n    this.options    =\n    this.enabled    =\n    this.timeout    =\n    this.hoverState =\n    this.$element   = null\n\n    this.init('tooltip', element, options)\n  }\n\n  Tooltip.DEFAULTS = {\n    animation: true\n  , placement: 'top'\n  , selector: false\n  , template: '<div class=\"tooltip\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\"></div></div>'\n  , trigger: 'hover focus'\n  , title: ''\n  , delay: 0\n  , html: false\n  , container: false\n  }\n\n  Tooltip.prototype.init = function (type, element, options) {\n    this.enabled  = true\n    this.type     = type\n    this.$element = $(element)\n    this.options  = this.getOptions(options)\n\n    var triggers = this.options.trigger.split(' ')\n\n    for (var i = triggers.length; i--;) {\n      var trigger = triggers[i]\n\n      if (trigger == 'click') {\n        this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\n      } else if (trigger != 'manual') {\n        var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focus'\n        var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'\n\n        this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\n        this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\n      }\n    }\n\n    this.options.selector ?\n      (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\n      this.fixTitle()\n  }\n\n  Tooltip.prototype.getDefaults = function () {\n    return Tooltip.DEFAULTS\n  }\n\n  Tooltip.prototype.getOptions = function (options) {\n    options = $.extend({}, this.getDefaults(), this.$element.data(), options)\n\n    if (options.delay && typeof options.delay == 'number') {\n      options.delay = {\n        show: options.delay\n      , hide: options.delay\n      }\n    }\n\n    return options\n  }\n\n  Tooltip.prototype.getDelegateOptions = function () {\n    var options  = {}\n    var defaults = this.getDefaults()\n\n    this._options && $.each(this._options, function (key, value) {\n      if (defaults[key] != value) options[key] = value\n    })\n\n    return options\n  }\n\n  Tooltip.prototype.enter = function (obj) {\n    var self = obj instanceof this.constructor ?\n      obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)\n\n    clearTimeout(self.timeout)\n\n    self.hoverState = 'in'\n\n    if (!self.options.delay || !self.options.delay.show) return self.show()\n\n    self.timeout = setTimeout(function () {\n      if (self.hoverState == 'in') self.show()\n    }, self.options.delay.show)\n  }\n\n  Tooltip.prototype.leave = function (obj) {\n    var self = obj instanceof this.constructor ?\n      obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)\n\n    clearTimeout(self.timeout)\n\n    self.hoverState = 'out'\n\n    if (!self.options.delay || !self.options.delay.hide) return self.hide()\n\n    self.timeout = setTimeout(function () {\n      if (self.hoverState == 'out') self.hide()\n    }, self.options.delay.hide)\n  }\n\n  Tooltip.prototype.show = function () {\n    var e = $.Event('show.bs.'+ this.type)\n\n    if (this.hasContent() && this.enabled) {\n      this.$element.trigger(e)\n\n      if (e.isDefaultPrevented()) return\n\n      var $tip = this.tip()\n\n      this.setContent()\n\n      if (this.options.animation) $tip.addClass('fade')\n\n      var placement = typeof this.options.placement == 'function' ?\n        this.options.placement.call(this, $tip[0], this.$element[0]) :\n        this.options.placement\n\n      var autoToken = /\\s?auto?\\s?/i\n      var autoPlace = autoToken.test(placement)\n      if (autoPlace) placement = placement.replace(autoToken, '') || 'top'\n\n      $tip\n        .detach()\n        .css({ top: 0, left: 0, display: 'block' })\n        .addClass(placement)\n\n      this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)\n\n      var pos          = this.getPosition()\n      var actualWidth  = $tip[0].offsetWidth\n      var actualHeight = $tip[0].offsetHeight\n\n      if (autoPlace) {\n        var $parent = this.$element.parent()\n\n        var orgPlacement = placement\n        var docScroll    = document.documentElement.scrollTop || document.body.scrollTop\n        var parentWidth  = this.options.container == 'body' ? window.innerWidth  : $parent.outerWidth()\n        var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()\n        var parentLeft   = this.options.container == 'body' ? 0 : $parent.offset().left\n\n        placement = placement == 'bottom' && pos.top   + pos.height  + actualHeight - docScroll > parentHeight  ? 'top'    :\n                    placement == 'top'    && pos.top   - docScroll   - actualHeight < 0                         ? 'bottom' :\n                    placement == 'right'  && pos.right + actualWidth > parentWidth                              ? 'left'   :\n                    placement == 'left'   && pos.left  - actualWidth < parentLeft                               ? 'right'  :\n                    placement\n\n        $tip\n          .removeClass(orgPlacement)\n          .addClass(placement)\n      }\n\n      var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)\n\n      this.applyPlacement(calculatedOffset, placement)\n      this.$element.trigger('shown.bs.' + this.type)\n    }\n  }\n\n  Tooltip.prototype.applyPlacement = function(offset, placement) {\n    var replace\n    var $tip   = this.tip()\n    var width  = $tip[0].offsetWidth\n    var height = $tip[0].offsetHeight\n\n    // manually read margins because getBoundingClientRect includes difference\n    var marginTop = parseInt($tip.css('margin-top'), 10)\n    var marginLeft = parseInt($tip.css('margin-left'), 10)\n\n    // we must check for NaN for ie 8/9\n    if (isNaN(marginTop))  marginTop  = 0\n    if (isNaN(marginLeft)) marginLeft = 0\n\n    offset.top  = offset.top  + marginTop\n    offset.left = offset.left + marginLeft\n\n    $tip\n      .offset(offset)\n      .addClass('in')\n\n    // check to see if placing tip in new offset caused the tip to resize itself\n    var actualWidth  = $tip[0].offsetWidth\n    var actualHeight = $tip[0].offsetHeight\n\n    if (placement == 'top' && actualHeight != height) {\n      replace = true\n      offset.top = offset.top + height - actualHeight\n    }\n\n    if (/bottom|top/.test(placement)) {\n      var delta = 0\n\n      if (offset.left < 0) {\n        delta       = offset.left * -2\n        offset.left = 0\n\n        $tip.offset(offset)\n\n        actualWidth  = $tip[0].offsetWidth\n        actualHeight = $tip[0].offsetHeight\n      }\n\n      this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')\n    } else {\n      this.replaceArrow(actualHeight - height, actualHeight, 'top')\n    }\n\n    if (replace) $tip.offset(offset)\n  }\n\n  Tooltip.prototype.replaceArrow = function(delta, dimension, position) {\n    this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + \"%\") : '')\n  }\n\n  Tooltip.prototype.setContent = function () {\n    var $tip  = this.tip()\n    var title = this.getTitle()\n\n    $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)\n    $tip.removeClass('fade in top bottom left right')\n  }\n\n  Tooltip.prototype.hide = function () {\n    var that = this\n    var $tip = this.tip()\n    var e    = $.Event('hide.bs.' + this.type)\n\n    function complete() {\n      if (that.hoverState != 'in') $tip.detach()\n    }\n\n    this.$element.trigger(e)\n\n    if (e.isDefaultPrevented()) return\n\n    $tip.removeClass('in')\n\n    $.support.transition && this.$tip.hasClass('fade') ?\n      $tip\n        .one($.support.transition.end, complete)\n        .emulateTransitionEnd(150) :\n      complete()\n\n    this.$element.trigger('hidden.bs.' + this.type)\n\n    return this\n  }\n\n  Tooltip.prototype.fixTitle = function () {\n    var $e = this.$element\n    if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {\n      $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')\n    }\n  }\n\n  Tooltip.prototype.hasContent = function () {\n    return this.getTitle()\n  }\n\n  Tooltip.prototype.getPosition = function () {\n    var el = this.$element[0]\n    return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {\n      width: el.offsetWidth\n    , height: el.offsetHeight\n    }, this.$element.offset())\n  }\n\n  Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {\n    return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2  } :\n           placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2  } :\n           placement == 'left'   ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :\n        /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width   }\n  }\n\n  Tooltip.prototype.getTitle = function () {\n    var title\n    var $e = this.$element\n    var o  = this.options\n\n    title = $e.attr('data-original-title')\n      || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)\n\n    return title\n  }\n\n  Tooltip.prototype.tip = function () {\n    return this.$tip = this.$tip || $(this.options.template)\n  }\n\n  Tooltip.prototype.arrow = function () {\n    return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')\n  }\n\n  Tooltip.prototype.validate = function () {\n    if (!this.$element[0].parentNode) {\n      this.hide()\n      this.$element = null\n      this.options  = null\n    }\n  }\n\n  Tooltip.prototype.enable = function () {\n    this.enabled = true\n  }\n\n  Tooltip.prototype.disable = function () {\n    this.enabled = false\n  }\n\n  Tooltip.prototype.toggleEnabled = function () {\n    this.enabled = !this.enabled\n  }\n\n  Tooltip.prototype.toggle = function (e) {\n    var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this\n    self.tip().hasClass('in') ? self.leave(self) : self.enter(self)\n  }\n\n  Tooltip.prototype.destroy = function () {\n    this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)\n  }\n\n\n  // TOOLTIP PLUGIN DEFINITION\n  // =========================\n\n  var old = $.fn.tooltip\n\n  $.fn.tooltip = function (option) {\n    return this.each(function () {\n      var $this   = $(this)\n      var data    = $this.data('bs.tooltip')\n      var options = typeof option == 'object' && option\n\n      if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.tooltip.Constructor = Tooltip\n\n\n  // TOOLTIP NO CONFLICT\n  // ===================\n\n  $.fn.tooltip.noConflict = function () {\n    $.fn.tooltip = old\n    return this\n  }\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/js/transition.js",
    "content": "/* ========================================================================\n * Bootstrap: transition.js v3.0.3\n * http://getbootstrap.com/javascript/#transitions\n * ========================================================================\n * Copyright 2013 Twitter, Inc.\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+function ($) { \"use strict\";\n\n  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)\n  // ============================================================\n\n  function transitionEnd() {\n    var el = document.createElement('bootstrap')\n\n    var transEndEventNames = {\n      'WebkitTransition' : 'webkitTransitionEnd'\n    , 'MozTransition'    : 'transitionend'\n    , 'OTransition'      : 'oTransitionEnd otransitionend'\n    , 'transition'       : 'transitionend'\n    }\n\n    for (var name in transEndEventNames) {\n      if (el.style[name] !== undefined) {\n        return { end: transEndEventNames[name] }\n      }\n    }\n  }\n\n  // http://blog.alexmaccaw.com/css-transitions\n  $.fn.emulateTransitionEnd = function (duration) {\n    var called = false, $el = this\n    $(this).one($.support.transition.end, function () { called = true })\n    var callback = function () { if (!called) $($el).trigger($.support.transition.end) }\n    setTimeout(callback, duration)\n    return this\n  }\n\n  $(function () {\n    $.support.transition = transitionEnd()\n  })\n\n}(jQuery);\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/alerts.less",
    "content": "//\n// Alerts\n// --------------------------------------------------\n\n\n// Base styles\n// -------------------------\n\n.alert {\n  padding: @alert-padding;\n  margin-bottom: @line-height-computed;\n  border: 1px solid transparent;\n  border-radius: @alert-border-radius;\n\n  // Headings for larger alerts\n  h4 {\n    margin-top: 0;\n    // Specified for the h4 to prevent conflicts of changing @headings-color\n    color: inherit;\n  }\n  // Provide class for links that match alerts\n  .alert-link {\n    font-weight: @alert-link-font-weight;\n  }\n\n  // Improve alignment and spacing of inner content\n  > p,\n  > ul {\n    margin-bottom: 0;\n  }\n  > p + p {\n    margin-top: 5px;\n  }\n}\n\n// Dismissable alerts\n//\n// Expand the right padding and account for the close button's positioning.\n\n.alert-dismissable {\n padding-right: (@alert-padding + 20);\n\n  // Adjust close link position\n  .close {\n    position: relative;\n    top: -2px;\n    right: -21px;\n    color: inherit;\n  }\n}\n\n// Alternate styles\n//\n// Generate contextual modifier classes for colorizing the alert.\n\n.alert-success {\n  .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);\n}\n.alert-info {\n  .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);\n}\n.alert-warning {\n  .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);\n}\n.alert-danger {\n  .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/badges.less",
    "content": "//\n// Badges\n// --------------------------------------------------\n\n\n// Base classes\n.badge {\n  display: inline-block;\n  min-width: 10px;\n  padding: 3px 7px;\n  font-size: @font-size-small;\n  font-weight: @badge-font-weight;\n  color: @badge-color;\n  line-height: @badge-line-height;\n  vertical-align: baseline;\n  white-space: nowrap;\n  text-align: center;\n  background-color: @badge-bg;\n  border-radius: @badge-border-radius;\n\n  // Empty badges collapse automatically (not available in IE8)\n  &:empty {\n    display: none;\n  }\n\n  // Quick fix for badges in buttons\n  .btn & {\n    position: relative;\n    top: -1px;\n  }\n}\n\n// Hover state, but only for links\na.badge {\n  &:hover,\n  &:focus {\n    color: @badge-link-hover-color;\n    text-decoration: none;\n    cursor: pointer;\n  }\n}\n\n// Account for counters in navs\na.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n  color: @badge-active-color;\n  background-color: @badge-active-bg;\n}\n.nav-pills > li > a > .badge {\n  margin-left: 3px;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/bootstrap.less",
    "content": "// Core variables and mixins\n@import \"variables.less\";\n@import \"mixins.less\";\n\n// Reset\n@import \"normalize.less\";\n@import \"print.less\";\n\n// Core CSS\n@import \"scaffolding.less\";\n@import \"type.less\";\n@import \"code.less\";\n@import \"grid.less\";\n@import \"tables.less\";\n@import \"forms.less\";\n@import \"buttons.less\";\n\n// Components\n@import \"component-animations.less\";\n@import \"glyphicons.less\";\n@import \"dropdowns.less\";\n@import \"button-groups.less\";\n@import \"input-groups.less\";\n@import \"navs.less\";\n@import \"navbar.less\";\n@import \"breadcrumbs.less\";\n@import \"pagination.less\";\n@import \"pager.less\";\n@import \"labels.less\";\n@import \"badges.less\";\n@import \"jumbotron.less\";\n@import \"thumbnails.less\";\n@import \"alerts.less\";\n@import \"progress-bars.less\";\n@import \"media.less\";\n@import \"list-group.less\";\n@import \"panels.less\";\n@import \"wells.less\";\n@import \"close.less\";\n\n// Components w/ JavaScript\n@import \"modals.less\";\n@import \"tooltip.less\";\n@import \"popovers.less\";\n@import \"carousel.less\";\n\n// Utility classes\n@import \"utilities.less\";\n@import \"responsive-utilities.less\";\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/breadcrumbs.less",
    "content": "//\n// Breadcrumbs\n// --------------------------------------------------\n\n\n.breadcrumb {\n  padding: 8px 15px;\n  margin-bottom: @line-height-computed;\n  list-style: none;\n  background-color: @breadcrumb-bg;\n  border-radius: @border-radius-base;\n  > li {\n    display: inline-block;\n    + li:before {\n      content: \"@{breadcrumb-separator}\\00a0\"; // Unicode space added since inline-block means non-collapsing white-space\n      padding: 0 5px;\n      color: @breadcrumb-color;\n    }\n  }\n  > .active {\n    color: @breadcrumb-active-color;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/button-groups.less",
    "content": "//\n// Button groups\n// --------------------------------------------------\n\n// Make the div behave like a button\n.btn-group,\n.btn-group-vertical {\n  position: relative;\n  display: inline-block;\n  vertical-align: middle; // match .btn alignment given font-size hack above\n  > .btn {\n    position: relative;\n    float: left;\n    // Bring the \"active\" button to the front\n    &:hover,\n    &:focus,\n    &:active,\n    &.active {\n      z-index: 2;\n    }\n    &:focus {\n      // Remove focus outline when dropdown JS adds it after closing the menu\n      outline: none;\n    }\n  }\n}\n\n// Prevent double borders when buttons are next to each other\n.btn-group {\n  .btn + .btn,\n  .btn + .btn-group,\n  .btn-group + .btn,\n  .btn-group + .btn-group {\n    margin-left: -1px;\n  }\n}\n\n// Optional: Group multiple button groups together for a toolbar\n.btn-toolbar {\n  .clearfix();\n\n  .btn-group {\n    float: left;\n  }\n  // Space out series of button groups\n  > .btn,\n  > .btn-group {\n    + .btn,\n    + .btn-group {\n      margin-left: 5px;\n    }\n  }\n}\n\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n  border-radius: 0;\n}\n\n// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match\n.btn-group > .btn:first-child {\n  margin-left: 0;\n  &:not(:last-child):not(.dropdown-toggle) {\n    .border-right-radius(0);\n  }\n}\n// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n  .border-left-radius(0);\n}\n\n// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)\n.btn-group > .btn-group {\n  float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n  border-radius: 0;\n}\n.btn-group > .btn-group:first-child {\n  > .btn:last-child,\n  > .dropdown-toggle {\n    .border-right-radius(0);\n  }\n}\n.btn-group > .btn-group:last-child > .btn:first-child {\n  .border-left-radius(0);\n}\n\n// On active and open, don't show outline\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n  outline: 0;\n}\n\n\n// Sizing\n//\n// Remix the default button sizing classes into new ones for easier manipulation.\n\n.btn-group-xs > .btn { .btn-xs(); }\n.btn-group-sm > .btn { .btn-sm(); }\n.btn-group-lg > .btn { .btn-lg(); }\n\n\n// Split button dropdowns\n// ----------------------\n\n// Give the line between buttons some depth\n.btn-group > .btn + .dropdown-toggle {\n  padding-left: 8px;\n  padding-right: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n  padding-left: 12px;\n  padding-right: 12px;\n}\n\n// The clickable button for toggling the menu\n// Remove the gradient and set the same inset shadow as the :active state\n.btn-group.open .dropdown-toggle {\n  .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n\n  // Show no shadow for `.btn-link` since it has no other button styles.\n  &.btn-link {\n    .box-shadow(none);\n  }\n}\n\n\n// Reposition the caret\n.btn .caret {\n  margin-left: 0;\n}\n// Carets in other button sizes\n.btn-lg .caret {\n  border-width: @caret-width-large @caret-width-large 0;\n  border-bottom-width: 0;\n}\n// Upside down carets for .dropup\n.dropup .btn-lg .caret {\n  border-width: 0 @caret-width-large @caret-width-large;\n}\n\n\n// Vertical button groups\n// ----------------------\n\n.btn-group-vertical {\n  > .btn,\n  > .btn-group,\n  > .btn-group > .btn {\n    display: block;\n    float: none;\n    width: 100%;\n    max-width: 100%;\n  }\n\n  // Clear floats so dropdown menus can be properly placed\n  > .btn-group {\n    .clearfix();\n    > .btn {\n      float: none;\n    }\n  }\n\n  > .btn + .btn,\n  > .btn + .btn-group,\n  > .btn-group + .btn,\n  > .btn-group + .btn-group {\n    margin-top: -1px;\n    margin-left: 0;\n  }\n}\n\n.btn-group-vertical > .btn {\n  &:not(:first-child):not(:last-child) {\n    border-radius: 0;\n  }\n  &:first-child:not(:last-child) {\n    border-top-right-radius: @border-radius-base;\n    .border-bottom-radius(0);\n  }\n  &:last-child:not(:first-child) {\n    border-bottom-left-radius: @border-radius-base;\n    .border-top-radius(0);\n  }\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n  border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child {\n  > .btn:last-child,\n  > .dropdown-toggle {\n    .border-bottom-radius(0);\n  }\n}\n.btn-group-vertical > .btn-group:last-child > .btn:first-child {\n  .border-top-radius(0);\n}\n\n\n\n// Justified button groups\n// ----------------------\n\n.btn-group-justified {\n  display: table;\n  width: 100%;\n  table-layout: fixed;\n  border-collapse: separate;\n  > .btn,\n  > .btn-group {\n    float: none;\n    display: table-cell;\n    width: 1%;\n  }\n  > .btn-group .btn {\n    width: 100%;\n  }\n}\n\n\n// Checkbox and radio options\n[data-toggle=\"buttons\"] > .btn > input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn > input[type=\"checkbox\"] {\n  display: none;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/buttons.less",
    "content": "//\n// Buttons\n// --------------------------------------------------\n\n\n// Base styles\n// --------------------------------------------------\n\n.btn {\n  display: inline-block;\n  margin-bottom: 0; // For input.btn\n  font-weight: @btn-font-weight;\n  text-align: center;\n  vertical-align: middle;\n  cursor: pointer;\n  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n  border: 1px solid transparent;\n  white-space: nowrap;\n  .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);\n  .user-select(none);\n\n  &:focus {\n    .tab-focus();\n  }\n\n  &:hover,\n  &:focus {\n    color: @btn-default-color;\n    text-decoration: none;\n  }\n\n  &:active,\n  &.active {\n    outline: 0;\n    background-image: none;\n    .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n  }\n\n  &.disabled,\n  &[disabled],\n  fieldset[disabled] & {\n    cursor: not-allowed;\n    pointer-events: none; // Future-proof disabling of clicks\n    .opacity(.65);\n    .box-shadow(none);\n  }\n}\n\n\n// Alternate buttons\n// --------------------------------------------------\n\n.btn-default {\n  .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);\n}\n.btn-primary {\n  .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);\n}\n// Warning appears as orange\n.btn-warning {\n  .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);\n}\n// Danger and error appear as red\n.btn-danger {\n  .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);\n}\n// Success appears as green\n.btn-success {\n  .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);\n}\n// Info appears as blue-green\n.btn-info {\n  .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);\n}\n\n\n// Link buttons\n// -------------------------\n\n// Make a button look and behave like a link\n.btn-link {\n  color: @link-color;\n  font-weight: normal;\n  cursor: pointer;\n  border-radius: 0;\n\n  &,\n  &:active,\n  &[disabled],\n  fieldset[disabled] & {\n    background-color: transparent;\n    .box-shadow(none);\n  }\n  &,\n  &:hover,\n  &:focus,\n  &:active {\n    border-color: transparent;\n  }\n  &:hover,\n  &:focus {\n    color: @link-hover-color;\n    text-decoration: underline;\n    background-color: transparent;\n  }\n  &[disabled],\n  fieldset[disabled] & {\n    &:hover,\n    &:focus {\n      color: @btn-link-disabled-color;\n      text-decoration: none;\n    }\n  }\n}\n\n\n// Button Sizes\n// --------------------------------------------------\n\n.btn-lg {\n  // line-height: ensure even-numbered height of button next to large input\n  .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\n}\n.btn-sm {\n  // line-height: ensure proper height of button next to small input\n  .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n.btn-xs {\n  .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n\n\n// Block button\n// --------------------------------------------------\n\n.btn-block {\n  display: block;\n  width: 100%;\n  padding-left: 0;\n  padding-right: 0;\n}\n\n// Vertically space out multiple block buttons\n.btn-block + .btn-block {\n  margin-top: 5px;\n}\n\n// Specificity overrides\ninput[type=\"submit\"],\ninput[type=\"reset\"],\ninput[type=\"button\"] {\n  &.btn-block {\n    width: 100%;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/carousel.less",
    "content": "//\n// Carousel\n// --------------------------------------------------\n\n\n// Wrapper for the slide container and indicators\n.carousel {\n  position: relative;\n}\n\n.carousel-inner {\n  position: relative;\n  overflow: hidden;\n  width: 100%;\n\n  > .item {\n    display: none;\n    position: relative;\n    .transition(.6s ease-in-out left);\n\n    // Account for jankitude on images\n    > img,\n    > a > img {\n      .img-responsive();\n      line-height: 1;\n    }\n  }\n\n  > .active,\n  > .next,\n  > .prev { display: block; }\n\n  > .active {\n    left: 0;\n  }\n\n  > .next,\n  > .prev {\n    position: absolute;\n    top: 0;\n    width: 100%;\n  }\n\n  > .next {\n    left: 100%;\n  }\n  > .prev {\n    left: -100%;\n  }\n  > .next.left,\n  > .prev.right {\n    left: 0;\n  }\n\n  > .active.left {\n    left: -100%;\n  }\n  > .active.right {\n    left: 100%;\n  }\n\n}\n\n// Left/right controls for nav\n// ---------------------------\n\n.carousel-control {\n  position: absolute;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  width: @carousel-control-width;\n  .opacity(@carousel-control-opacity);\n  font-size: @carousel-control-font-size;\n  color: @carousel-control-color;\n  text-align: center;\n  text-shadow: @carousel-text-shadow;\n  // We can't have this transition here because WebKit cancels the carousel\n  // animation if you trip this while in the middle of another animation.\n\n  // Set gradients for backgrounds\n  &.left {\n    #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));\n  }\n  &.right {\n    left: auto;\n    right: 0;\n    #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));\n  }\n\n  // Hover/focus state\n  &:hover,\n  &:focus {\n    outline: none;\n    color: @carousel-control-color;\n    text-decoration: none;\n    .opacity(.9);\n  }\n\n  // Toggles\n  .icon-prev,\n  .icon-next,\n  .glyphicon-chevron-left,\n  .glyphicon-chevron-right {\n    position: absolute;\n    top: 50%;\n    z-index: 5;\n    display: inline-block;\n  }\n  .icon-prev,\n  .glyphicon-chevron-left {\n    left: 50%;\n  }\n  .icon-next,\n  .glyphicon-chevron-right {\n    right: 50%;\n  }\n  .icon-prev,\n  .icon-next {\n    width:  20px;\n    height: 20px;\n    margin-top: -10px;\n    margin-left: -10px;\n    font-family: serif;\n  }\n\n  .icon-prev {\n    &:before {\n      content: '\\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)\n    }\n  }\n  .icon-next {\n    &:before {\n      content: '\\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)\n    }\n  }\n}\n\n// Optional indicator pips\n//\n// Add an unordered list with the following class and add a list item for each\n// slide your carousel holds.\n\n.carousel-indicators {\n  position: absolute;\n  bottom: 10px;\n  left: 50%;\n  z-index: 15;\n  width: 60%;\n  margin-left: -30%;\n  padding-left: 0;\n  list-style: none;\n  text-align: center;\n\n  li {\n    display: inline-block;\n    width:  10px;\n    height: 10px;\n    margin: 1px;\n    text-indent: -999px;\n    border: 1px solid @carousel-indicator-border-color;\n    border-radius: 10px;\n    cursor: pointer;\n\n    // IE8-9 hack for event handling\n    //\n    // Internet Explorer 8-9 does not support clicks on elements without a set\n    // `background-color`. We cannot use `filter` since that's not viewed as a\n    // background color by the browser. Thus, a hack is needed.\n    //\n    // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we\n    // set alpha transparency for the best results possible.\n    background-color: #000 \\9; // IE8\n    background-color: rgba(0,0,0,0); // IE9\n  }\n  .active {\n    margin: 0;\n    width:  12px;\n    height: 12px;\n    background-color: @carousel-indicator-active-bg;\n  }\n}\n\n// Optional captions\n// -----------------------------\n// Hidden by default for smaller viewports\n.carousel-caption {\n  position: absolute;\n  left: 15%;\n  right: 15%;\n  bottom: 20px;\n  z-index: 10;\n  padding-top: 20px;\n  padding-bottom: 20px;\n  color: @carousel-caption-color;\n  text-align: center;\n  text-shadow: @carousel-text-shadow;\n  & .btn {\n    text-shadow: none; // No shadow for button elements in carousel-caption\n  }\n}\n\n\n// Scale up controls for tablets and up\n@media screen and (min-width: @screen-sm-min) {\n\n  // Scale up the controls a smidge\n  .carousel-control {\n    .glyphicons-chevron-left,\n    .glyphicons-chevron-right,\n    .icon-prev,\n    .icon-next {\n      width: 30px;\n      height: 30px;\n      margin-top: -15px;\n      margin-left: -15px;\n      font-size: 30px;\n    }\n  }\n\n  // Show and left align the captions\n  .carousel-caption {\n    left: 20%;\n    right: 20%;\n    padding-bottom: 30px;\n  }\n\n  // Move up the indicators\n  .carousel-indicators {\n    bottom: 20px;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/close.less",
    "content": "//\n// Close icons\n// --------------------------------------------------\n\n\n.close {\n  float: right;\n  font-size: (@font-size-base * 1.5);\n  font-weight: @close-font-weight;\n  line-height: 1;\n  color: @close-color;\n  text-shadow: @close-text-shadow;\n  .opacity(.2);\n\n  &:hover,\n  &:focus {\n    color: @close-color;\n    text-decoration: none;\n    cursor: pointer;\n    .opacity(.5);\n  }\n\n  // Additional properties for button version\n  // iOS requires the button element instead of an anchor tag.\n  // If you want the anchor version, it requires `href=\"#\"`.\n  button& {\n    padding: 0;\n    cursor: pointer;\n    background: transparent;\n    border: 0;\n    -webkit-appearance: none;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/code.less",
    "content": "//\n// Code (inline and block)\n// --------------------------------------------------\n\n\n// Inline and block code styles\ncode,\nkbd,\npre,\nsamp {\n  font-family: @font-family-monospace;\n}\n\n// Inline code\ncode {\n  padding: 2px 4px;\n  font-size: 90%;\n  color: @code-color;\n  background-color: @code-bg;\n  white-space: nowrap;\n  border-radius: @border-radius-base;\n}\n\n// Blocks of code\npre {\n  display: block;\n  padding: ((@line-height-computed - 1) / 2);\n  margin: 0 0 (@line-height-computed / 2);\n  font-size: (@font-size-base - 1); // 14px to 13px\n  line-height: @line-height-base;\n  word-break: break-all;\n  word-wrap: break-word;\n  color: @pre-color;\n  background-color: @pre-bg;\n  border: 1px solid @pre-border-color;\n  border-radius: @border-radius-base;\n\n  // Account for some code outputs that place code tags in pre tags\n  code {\n    padding: 0;\n    font-size: inherit;\n    color: inherit;\n    white-space: pre-wrap;\n    background-color: transparent;\n    border-radius: 0;\n  }\n}\n\n// Enable scrollable blocks of code\n.pre-scrollable {\n  max-height: @pre-scrollable-max-height;\n  overflow-y: scroll;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/component-animations.less",
    "content": "//\n// Component animations\n// --------------------------------------------------\n\n// Heads up!\n//\n// We don't use the `.opacity()` mixin here since it causes a bug with text\n// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.\n\n.fade {\n  opacity: 0;\n  .transition(opacity .15s linear);\n  &.in {\n    opacity: 1;\n  }\n}\n\n.collapse {\n  display: none;\n  &.in {\n    display: block;\n  }\n}\n.collapsing {\n  position: relative;\n  height: 0;\n  overflow: hidden;\n  .transition(height .35s ease);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/dropdowns.less",
    "content": "//\n// Dropdown menus\n// --------------------------------------------------\n\n\n// Dropdown arrow/caret\n.caret {\n  display: inline-block;\n  width: 0;\n  height: 0;\n  margin-left: 2px;\n  vertical-align: middle;\n  border-top:   @caret-width-base solid;\n  border-right: @caret-width-base solid transparent;\n  border-left:  @caret-width-base solid transparent;\n}\n\n// The dropdown wrapper (div)\n.dropdown {\n  position: relative;\n}\n\n// Prevent the focus on the dropdown toggle when closing dropdowns\n.dropdown-toggle:focus {\n  outline: 0;\n}\n\n// The dropdown menu (ul)\n.dropdown-menu {\n  position: absolute;\n  top: 100%;\n  left: 0;\n  z-index: @zindex-dropdown;\n  display: none; // none by default, but block on \"open\" of the menu\n  float: left;\n  min-width: 160px;\n  padding: 5px 0;\n  margin: 2px 0 0; // override default ul\n  list-style: none;\n  font-size: @font-size-base;\n  background-color: @dropdown-bg;\n  border: 1px solid @dropdown-fallback-border; // IE8 fallback\n  border: 1px solid @dropdown-border;\n  border-radius: @border-radius-base;\n  .box-shadow(0 6px 12px rgba(0,0,0,.175));\n  background-clip: padding-box;\n\n  // Aligns the dropdown menu to right\n  &.pull-right {\n    right: 0;\n    left: auto;\n  }\n\n  // Dividers (basically an hr) within the dropdown\n  .divider {\n    .nav-divider(@dropdown-divider-bg);\n  }\n\n  // Links within the dropdown menu\n  > li > a {\n    display: block;\n    padding: 3px 20px;\n    clear: both;\n    font-weight: normal;\n    line-height: @line-height-base;\n    color: @dropdown-link-color;\n    white-space: nowrap; // prevent links from randomly breaking onto new lines\n  }\n}\n\n// Hover/Focus state\n.dropdown-menu > li > a {\n  &:hover,\n  &:focus {\n    text-decoration: none;\n    color: @dropdown-link-hover-color;\n    background-color: @dropdown-link-hover-bg;\n  }\n}\n\n// Active state\n.dropdown-menu > .active > a {\n  &,\n  &:hover,\n  &:focus {\n    color: @dropdown-link-active-color;\n    text-decoration: none;\n    outline: 0;\n    background-color: @dropdown-link-active-bg;\n  }\n}\n\n// Disabled state\n//\n// Gray out text and ensure the hover/focus state remains gray\n\n.dropdown-menu > .disabled > a {\n  &,\n  &:hover,\n  &:focus {\n    color: @dropdown-link-disabled-color;\n  }\n}\n// Nuke hover/focus effects\n.dropdown-menu > .disabled > a {\n  &:hover,\n  &:focus {\n    text-decoration: none;\n    background-color: transparent;\n    background-image: none; // Remove CSS gradient\n    .reset-filter();\n    cursor: not-allowed;\n  }\n}\n\n// Open state for the dropdown\n.open {\n  // Show the menu\n  > .dropdown-menu {\n    display: block;\n  }\n\n  // Remove the outline when :focus is triggered\n  > a {\n    outline: 0;\n  }\n}\n\n// Dropdown section headers\n.dropdown-header {\n  display: block;\n  padding: 3px 20px;\n  font-size: @font-size-small;\n  line-height: @line-height-base;\n  color: @dropdown-header-color;\n}\n\n// Backdrop to catch body clicks on mobile, etc.\n.dropdown-backdrop {\n  position: fixed;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  top: 0;\n  z-index: @zindex-dropdown - 10;\n}\n\n// Right aligned dropdowns\n.pull-right > .dropdown-menu {\n  right: 0;\n  left: auto;\n}\n\n// Allow for dropdowns to go bottom up (aka, dropup-menu)\n//\n// Just add .dropup after the standard .dropdown class and you're set, bro.\n// TODO: abstract this so that the navbar fixed styles are not placed here?\n\n.dropup,\n.navbar-fixed-bottom .dropdown {\n  // Reverse the caret\n  .caret {\n    border-top: 0;\n    border-bottom: @caret-width-base solid;\n    content: \"\";\n  }\n  // Different positioning for bottom up menu\n  .dropdown-menu {\n    top: auto;\n    bottom: 100%;\n    margin-bottom: 1px;\n  }\n}\n\n\n// Component alignment\n//\n// Reiterate per navbar.less and the modified component alignment there.\n\n@media (min-width: @grid-float-breakpoint) {\n  .navbar-right {\n    .dropdown-menu {\n      .pull-right > .dropdown-menu();\n    }\n  }\n}\n\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/forms.less",
    "content": "//\n// Forms\n// --------------------------------------------------\n\n\n// Normalize non-controls\n//\n// Restyle and baseline non-control form elements.\n\nfieldset {\n  padding: 0;\n  margin: 0;\n  border: 0;\n}\n\nlegend {\n  display: block;\n  width: 100%;\n  padding: 0;\n  margin-bottom: @line-height-computed;\n  font-size: (@font-size-base * 1.5);\n  line-height: inherit;\n  color: @legend-color;\n  border: 0;\n  border-bottom: 1px solid @legend-border-color;\n}\n\nlabel {\n  display: inline-block;\n  margin-bottom: 5px;\n  font-weight: bold;\n}\n\n\n// Normalize form controls\n\n// Override content-box in Normalize (* isn't specific enough)\ninput[type=\"search\"] {\n  .box-sizing(border-box);\n}\n\n// Position radios and checkboxes better\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n  margin: 4px 0 0;\n  margin-top: 1px \\9; /* IE8-9 */\n  line-height: normal;\n}\n\n// Set the height of select and file controls to match text inputs\ninput[type=\"file\"] {\n  display: block;\n}\n\n// Make multiple select elements height not fixed\nselect[multiple],\nselect[size] {\n  height: auto;\n}\n\n// Fix optgroup Firefox bug per https://github.com/twbs/bootstrap/issues/7611\nselect optgroup {\n  font-size: inherit;\n  font-style: inherit;\n  font-family: inherit;\n}\n\n// Focus for select, file, radio, and checkbox\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n  .tab-focus();\n}\n\n// Fix for Chrome number input\n// Setting certain font-sizes causes the `I` bar to appear on hover of the bottom increment button.\n// See https://github.com/twbs/bootstrap/issues/8350 for more.\ninput[type=\"number\"] {\n  &::-webkit-outer-spin-button,\n  &::-webkit-inner-spin-button {\n    height: auto;\n  }\n}\n\n// Adjust output element\noutput {\n  display: block;\n  padding-top: (@padding-base-vertical + 1);\n  font-size: @font-size-base;\n  line-height: @line-height-base;\n  color: @input-color;\n  vertical-align: middle;\n}\n\n\n// Common form controls\n//\n// Shared size and type resets for form controls. Apply `.form-control` to any\n// of the following form controls:\n//\n// select\n// textarea\n// input[type=\"text\"]\n// input[type=\"password\"]\n// input[type=\"datetime\"]\n// input[type=\"datetime-local\"]\n// input[type=\"date\"]\n// input[type=\"month\"]\n// input[type=\"time\"]\n// input[type=\"week\"]\n// input[type=\"number\"]\n// input[type=\"email\"]\n// input[type=\"url\"]\n// input[type=\"search\"]\n// input[type=\"tel\"]\n// input[type=\"color\"]\n\n.form-control {\n  display: block;\n  width: 100%;\n  height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)\n  padding: @padding-base-vertical @padding-base-horizontal;\n  font-size: @font-size-base;\n  line-height: @line-height-base;\n  color: @input-color;\n  vertical-align: middle;\n  background-color: @input-bg;\n  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n  border: 1px solid @input-border;\n  border-radius: @input-border-radius;\n  .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));\n  .transition(~\"border-color ease-in-out .15s, box-shadow ease-in-out .15s\");\n\n  // Customize the `:focus` state to imitate native WebKit styles.\n  .form-control-focus();\n\n  // Placeholder\n  //\n  // Placeholder text gets special styles because when browsers invalidate entire\n  // lines if it doesn't understand a selector/\n  .placeholder();\n\n  // Disabled and read-only inputs\n  // Note: HTML5 says that controls under a fieldset > legend:first-child won't\n  // be disabled if the fieldset is disabled. Due to implementation difficulty,\n  // we don't honor that edge case; we style them as disabled anyway.\n  &[disabled],\n  &[readonly],\n  fieldset[disabled] & {\n    cursor: not-allowed;\n    background-color: @input-bg-disabled;\n  }\n\n  // Reset height for `textarea`s\n  textarea& {\n    height: auto;\n  }\n}\n\n\n// Form groups\n//\n// Designed to help with the organization and spacing of vertical forms. For\n// horizontal forms, use the predefined grid classes.\n\n.form-group {\n  margin-bottom: 15px;\n}\n\n\n// Checkboxes and radios\n//\n// Indent the labels to position radios/checkboxes as hanging controls.\n\n.radio,\n.checkbox {\n  display: block;\n  min-height: @line-height-computed; // clear the floating input if there is no label text\n  margin-top: 10px;\n  margin-bottom: 10px;\n  padding-left: 20px;\n  vertical-align: middle;\n  label {\n    display: inline;\n    margin-bottom: 0;\n    font-weight: normal;\n    cursor: pointer;\n  }\n}\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n  float: left;\n  margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n  margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing\n}\n\n// Radios and checkboxes on same line\n.radio-inline,\n.checkbox-inline {\n  display: inline-block;\n  padding-left: 20px;\n  margin-bottom: 0;\n  vertical-align: middle;\n  font-weight: normal;\n  cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n  margin-top: 0;\n  margin-left: 10px; // space out consecutive inline controls\n}\n\n// Apply same disabled cursor tweak as for inputs\n//\n// Note: Neither radios nor checkboxes can be readonly.\ninput[type=\"radio\"],\ninput[type=\"checkbox\"],\n.radio,\n.radio-inline,\n.checkbox,\n.checkbox-inline {\n  &[disabled],\n  fieldset[disabled] & {\n    cursor: not-allowed;\n  }\n}\n\n// Form control sizing\n.input-sm {\n  .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n\n.input-lg {\n  .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\n}\n\n\n// Form control feedback states\n//\n// Apply contextual and semantic states to individual form controls.\n\n// Warning\n.has-warning {\n  .form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);\n}\n// Error\n.has-error {\n  .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);\n}\n// Success\n.has-success {\n  .form-control-validation(@state-success-text; @state-success-text; @state-success-bg);\n}\n\n\n// Static form control text\n//\n// Apply class to a `p` element to make any string of text align with labels in\n// a horizontal form layout.\n\n.form-control-static {\n  margin-bottom: 0; // Remove default margin from `p`\n}\n\n\n// Help text\n//\n// Apply to any element you wish to create light text for placement immediately\n// below a form control. Use for general help, formatting, or instructional text.\n\n.help-block {\n  display: block; // account for any element using help-block\n  margin-top: 5px;\n  margin-bottom: 10px;\n  color: lighten(@text-color, 25%); // lighten the text some for contrast\n}\n\n\n\n// Inline forms\n//\n// Make forms appear inline(-block) by adding the `.form-inline` class. Inline\n// forms begin stacked on extra small (mobile) devices and then go inline when\n// viewports reach <768px.\n//\n// Requires wrapping inputs and labels with `.form-group` for proper display of\n// default HTML form controls and our custom form controls (e.g., input groups).\n//\n// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.\n\n.form-inline {\n\n  // Kick in the inline\n  @media (min-width: @screen-sm) {\n    // Inline-block all the things for \"inline\"\n    .form-group  {\n      display: inline-block;\n      margin-bottom: 0;\n      vertical-align: middle;\n    }\n\n    // In navbar-form, allow folks to *not* use `.form-group`\n    .form-control {\n      display: inline-block;\n    }\n\n    // Override `width: 100%;` when not within a `.form-group`\n    select.form-control {\n      width: auto;\n    }\n\n    // Remove default margin on radios/checkboxes that were used for stacking, and\n    // then undo the floating of radios and checkboxes to match (which also avoids\n    // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).\n    .radio,\n    .checkbox {\n      display: inline-block;\n      margin-top: 0;\n      margin-bottom: 0;\n      padding-left: 0;\n    }\n    .radio input[type=\"radio\"],\n    .checkbox input[type=\"checkbox\"] {\n      float: none;\n      margin-left: 0;\n    }\n  }\n}\n\n\n// Horizontal forms\n//\n// Horizontal forms are built on grid classes and allow you to create forms with\n// labels on the left and inputs on the right.\n\n.form-horizontal {\n\n  // Consistent vertical alignment of labels, radios, and checkboxes\n  .control-label,\n  .radio,\n  .checkbox,\n  .radio-inline,\n  .checkbox-inline {\n    margin-top: 0;\n    margin-bottom: 0;\n    padding-top: (@padding-base-vertical + 1); // Default padding plus a border\n  }\n  // Account for padding we're adding to ensure the alignment and of help text\n  // and other content below items\n  .radio,\n  .checkbox {\n    min-height: @line-height-computed + (@padding-base-vertical + 1);\n  }\n\n  // Make form groups behave like rows\n  .form-group {\n    .make-row();\n  }\n\n  .form-control-static {\n    padding-top: (@padding-base-vertical + 1);\n  }\n\n  // Only right align form labels here when the columns stop stacking\n  @media (min-width: @screen-sm-min) {\n    .control-label {\n      text-align: right;\n    }\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/glyphicons.less",
    "content": "//\n// Glyphicons for Bootstrap\n//\n// Since icons are fonts, they can be placed anywhere text is placed and are\n// thus automatically sized to match the surrounding child. To use, create an\n// inline element with the appropriate classes, like so:\n//\n// <a href=\"#\"><span class=\"glyphicon glyphicon-star\"></span> Star</a>\n\n// Import the fonts\n@font-face {\n  font-family: 'Glyphicons Halflings';\n  src: ~\"url('@{icon-font-path}@{icon-font-name}.eot')\";\n  src: ~\"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')\",\n       ~\"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')\",\n       ~\"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')\",\n       ~\"url('@{icon-font-path}@{icon-font-name}.svg#glyphicons-halflingsregular') format('svg')\";\n}\n\n// Catchall baseclass\n.glyphicon {\n  position: relative;\n  top: 1px;\n  display: inline-block;\n  font-family: 'Glyphicons Halflings';\n  font-style: normal;\n  font-weight: normal;\n  line-height: 1;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n\n  &:empty {\n    width: 1em;\n  }\n}\n\n// Individual icons\n.glyphicon-asterisk               { &:before { content: \"\\2a\"; } }\n.glyphicon-plus                   { &:before { content: \"\\2b\"; } }\n.glyphicon-euro                   { &:before { content: \"\\20ac\"; } }\n.glyphicon-minus                  { &:before { content: \"\\2212\"; } }\n.glyphicon-cloud                  { &:before { content: \"\\2601\"; } }\n.glyphicon-envelope               { &:before { content: \"\\2709\"; } }\n.glyphicon-pencil                 { &:before { content: \"\\270f\"; } }\n.glyphicon-glass                  { &:before { content: \"\\e001\"; } }\n.glyphicon-music                  { &:before { content: \"\\e002\"; } }\n.glyphicon-search                 { &:before { content: \"\\e003\"; } }\n.glyphicon-heart                  { &:before { content: \"\\e005\"; } }\n.glyphicon-star                   { &:before { content: \"\\e006\"; } }\n.glyphicon-star-empty             { &:before { content: \"\\e007\"; } }\n.glyphicon-user                   { &:before { content: \"\\e008\"; } }\n.glyphicon-film                   { &:before { content: \"\\e009\"; } }\n.glyphicon-th-large               { &:before { content: \"\\e010\"; } }\n.glyphicon-th                     { &:before { content: \"\\e011\"; } }\n.glyphicon-th-list                { &:before { content: \"\\e012\"; } }\n.glyphicon-ok                     { &:before { content: \"\\e013\"; } }\n.glyphicon-remove                 { &:before { content: \"\\e014\"; } }\n.glyphicon-zoom-in                { &:before { content: \"\\e015\"; } }\n.glyphicon-zoom-out               { &:before { content: \"\\e016\"; } }\n.glyphicon-off                    { &:before { content: \"\\e017\"; } }\n.glyphicon-signal                 { &:before { content: \"\\e018\"; } }\n.glyphicon-cog                    { &:before { content: \"\\e019\"; } }\n.glyphicon-trash                  { &:before { content: \"\\e020\"; } }\n.glyphicon-home                   { &:before { content: \"\\e021\"; } }\n.glyphicon-file                   { &:before { content: \"\\e022\"; } }\n.glyphicon-time                   { &:before { content: \"\\e023\"; } }\n.glyphicon-road                   { &:before { content: \"\\e024\"; } }\n.glyphicon-download-alt           { &:before { content: \"\\e025\"; } }\n.glyphicon-download               { &:before { content: \"\\e026\"; } }\n.glyphicon-upload                 { &:before { content: \"\\e027\"; } }\n.glyphicon-inbox                  { &:before { content: \"\\e028\"; } }\n.glyphicon-play-circle            { &:before { content: \"\\e029\"; } }\n.glyphicon-repeat                 { &:before { content: \"\\e030\"; } }\n.glyphicon-refresh                { &:before { content: \"\\e031\"; } }\n.glyphicon-list-alt               { &:before { content: \"\\e032\"; } }\n.glyphicon-lock                   { &:before { content: \"\\e033\"; } }\n.glyphicon-flag                   { &:before { content: \"\\e034\"; } }\n.glyphicon-headphones             { &:before { content: \"\\e035\"; } }\n.glyphicon-volume-off             { &:before { content: \"\\e036\"; } }\n.glyphicon-volume-down            { &:before { content: \"\\e037\"; } }\n.glyphicon-volume-up              { &:before { content: \"\\e038\"; } }\n.glyphicon-qrcode                 { &:before { content: \"\\e039\"; } }\n.glyphicon-barcode                { &:before { content: \"\\e040\"; } }\n.glyphicon-tag                    { &:before { content: \"\\e041\"; } }\n.glyphicon-tags                   { &:before { content: \"\\e042\"; } }\n.glyphicon-book                   { &:before { content: \"\\e043\"; } }\n.glyphicon-bookmark               { &:before { content: \"\\e044\"; } }\n.glyphicon-print                  { &:before { content: \"\\e045\"; } }\n.glyphicon-camera                 { &:before { content: \"\\e046\"; } }\n.glyphicon-font                   { &:before { content: \"\\e047\"; } }\n.glyphicon-bold                   { &:before { content: \"\\e048\"; } }\n.glyphicon-italic                 { &:before { content: \"\\e049\"; } }\n.glyphicon-text-height            { &:before { content: \"\\e050\"; } }\n.glyphicon-text-width             { &:before { content: \"\\e051\"; } }\n.glyphicon-align-left             { &:before { content: \"\\e052\"; } }\n.glyphicon-align-center           { &:before { content: \"\\e053\"; } }\n.glyphicon-align-right            { &:before { content: \"\\e054\"; } }\n.glyphicon-align-justify          { &:before { content: \"\\e055\"; } }\n.glyphicon-list                   { &:before { content: \"\\e056\"; } }\n.glyphicon-indent-left            { &:before { content: \"\\e057\"; } }\n.glyphicon-indent-right           { &:before { content: \"\\e058\"; } }\n.glyphicon-facetime-video         { &:before { content: \"\\e059\"; } }\n.glyphicon-picture                { &:before { content: \"\\e060\"; } }\n.glyphicon-map-marker             { &:before { content: \"\\e062\"; } }\n.glyphicon-adjust                 { &:before { content: \"\\e063\"; } }\n.glyphicon-tint                   { &:before { content: \"\\e064\"; } }\n.glyphicon-edit                   { &:before { content: \"\\e065\"; } }\n.glyphicon-share                  { &:before { content: \"\\e066\"; } }\n.glyphicon-check                  { &:before { content: \"\\e067\"; } }\n.glyphicon-move                   { &:before { content: \"\\e068\"; } }\n.glyphicon-step-backward          { &:before { content: \"\\e069\"; } }\n.glyphicon-fast-backward          { &:before { content: \"\\e070\"; } }\n.glyphicon-backward               { &:before { content: \"\\e071\"; } }\n.glyphicon-play                   { &:before { content: \"\\e072\"; } }\n.glyphicon-pause                  { &:before { content: \"\\e073\"; } }\n.glyphicon-stop                   { &:before { content: \"\\e074\"; } }\n.glyphicon-forward                { &:before { content: \"\\e075\"; } }\n.glyphicon-fast-forward           { &:before { content: \"\\e076\"; } }\n.glyphicon-step-forward           { &:before { content: \"\\e077\"; } }\n.glyphicon-eject                  { &:before { content: \"\\e078\"; } }\n.glyphicon-chevron-left           { &:before { content: \"\\e079\"; } }\n.glyphicon-chevron-right          { &:before { content: \"\\e080\"; } }\n.glyphicon-plus-sign              { &:before { content: \"\\e081\"; } }\n.glyphicon-minus-sign             { &:before { content: \"\\e082\"; } }\n.glyphicon-remove-sign            { &:before { content: \"\\e083\"; } }\n.glyphicon-ok-sign                { &:before { content: \"\\e084\"; } }\n.glyphicon-question-sign          { &:before { content: \"\\e085\"; } }\n.glyphicon-info-sign              { &:before { content: \"\\e086\"; } }\n.glyphicon-screenshot             { &:before { content: \"\\e087\"; } }\n.glyphicon-remove-circle          { &:before { content: \"\\e088\"; } }\n.glyphicon-ok-circle              { &:before { content: \"\\e089\"; } }\n.glyphicon-ban-circle             { &:before { content: \"\\e090\"; } }\n.glyphicon-arrow-left             { &:before { content: \"\\e091\"; } }\n.glyphicon-arrow-right            { &:before { content: \"\\e092\"; } }\n.glyphicon-arrow-up               { &:before { content: \"\\e093\"; } }\n.glyphicon-arrow-down             { &:before { content: \"\\e094\"; } }\n.glyphicon-share-alt              { &:before { content: \"\\e095\"; } }\n.glyphicon-resize-full            { &:before { content: \"\\e096\"; } }\n.glyphicon-resize-small           { &:before { content: \"\\e097\"; } }\n.glyphicon-exclamation-sign       { &:before { content: \"\\e101\"; } }\n.glyphicon-gift                   { &:before { content: \"\\e102\"; } }\n.glyphicon-leaf                   { &:before { content: \"\\e103\"; } }\n.glyphicon-fire                   { &:before { content: \"\\e104\"; } }\n.glyphicon-eye-open               { &:before { content: \"\\e105\"; } }\n.glyphicon-eye-close              { &:before { content: \"\\e106\"; } }\n.glyphicon-warning-sign           { &:before { content: \"\\e107\"; } }\n.glyphicon-plane                  { &:before { content: \"\\e108\"; } }\n.glyphicon-calendar               { &:before { content: \"\\e109\"; } }\n.glyphicon-random                 { &:before { content: \"\\e110\"; } }\n.glyphicon-comment                { &:before { content: \"\\e111\"; } }\n.glyphicon-magnet                 { &:before { content: \"\\e112\"; } }\n.glyphicon-chevron-up             { &:before { content: \"\\e113\"; } }\n.glyphicon-chevron-down           { &:before { content: \"\\e114\"; } }\n.glyphicon-retweet                { &:before { content: \"\\e115\"; } }\n.glyphicon-shopping-cart          { &:before { content: \"\\e116\"; } }\n.glyphicon-folder-close           { &:before { content: \"\\e117\"; } }\n.glyphicon-folder-open            { &:before { content: \"\\e118\"; } }\n.glyphicon-resize-vertical        { &:before { content: \"\\e119\"; } }\n.glyphicon-resize-horizontal      { &:before { content: \"\\e120\"; } }\n.glyphicon-hdd                    { &:before { content: \"\\e121\"; } }\n.glyphicon-bullhorn               { &:before { content: \"\\e122\"; } }\n.glyphicon-bell                   { &:before { content: \"\\e123\"; } }\n.glyphicon-certificate            { &:before { content: \"\\e124\"; } }\n.glyphicon-thumbs-up              { &:before { content: \"\\e125\"; } }\n.glyphicon-thumbs-down            { &:before { content: \"\\e126\"; } }\n.glyphicon-hand-right             { &:before { content: \"\\e127\"; } }\n.glyphicon-hand-left              { &:before { content: \"\\e128\"; } }\n.glyphicon-hand-up                { &:before { content: \"\\e129\"; } }\n.glyphicon-hand-down              { &:before { content: \"\\e130\"; } }\n.glyphicon-circle-arrow-right     { &:before { content: \"\\e131\"; } }\n.glyphicon-circle-arrow-left      { &:before { content: \"\\e132\"; } }\n.glyphicon-circle-arrow-up        { &:before { content: \"\\e133\"; } }\n.glyphicon-circle-arrow-down      { &:before { content: \"\\e134\"; } }\n.glyphicon-globe                  { &:before { content: \"\\e135\"; } }\n.glyphicon-wrench                 { &:before { content: \"\\e136\"; } }\n.glyphicon-tasks                  { &:before { content: \"\\e137\"; } }\n.glyphicon-filter                 { &:before { content: \"\\e138\"; } }\n.glyphicon-briefcase              { &:before { content: \"\\e139\"; } }\n.glyphicon-fullscreen             { &:before { content: \"\\e140\"; } }\n.glyphicon-dashboard              { &:before { content: \"\\e141\"; } }\n.glyphicon-paperclip              { &:before { content: \"\\e142\"; } }\n.glyphicon-heart-empty            { &:before { content: \"\\e143\"; } }\n.glyphicon-link                   { &:before { content: \"\\e144\"; } }\n.glyphicon-phone                  { &:before { content: \"\\e145\"; } }\n.glyphicon-pushpin                { &:before { content: \"\\e146\"; } }\n.glyphicon-usd                    { &:before { content: \"\\e148\"; } }\n.glyphicon-gbp                    { &:before { content: \"\\e149\"; } }\n.glyphicon-sort                   { &:before { content: \"\\e150\"; } }\n.glyphicon-sort-by-alphabet       { &:before { content: \"\\e151\"; } }\n.glyphicon-sort-by-alphabet-alt   { &:before { content: \"\\e152\"; } }\n.glyphicon-sort-by-order          { &:before { content: \"\\e153\"; } }\n.glyphicon-sort-by-order-alt      { &:before { content: \"\\e154\"; } }\n.glyphicon-sort-by-attributes     { &:before { content: \"\\e155\"; } }\n.glyphicon-sort-by-attributes-alt { &:before { content: \"\\e156\"; } }\n.glyphicon-unchecked              { &:before { content: \"\\e157\"; } }\n.glyphicon-expand                 { &:before { content: \"\\e158\"; } }\n.glyphicon-collapse-down          { &:before { content: \"\\e159\"; } }\n.glyphicon-collapse-up            { &:before { content: \"\\e160\"; } }\n.glyphicon-log-in                 { &:before { content: \"\\e161\"; } }\n.glyphicon-flash                  { &:before { content: \"\\e162\"; } }\n.glyphicon-log-out                { &:before { content: \"\\e163\"; } }\n.glyphicon-new-window             { &:before { content: \"\\e164\"; } }\n.glyphicon-record                 { &:before { content: \"\\e165\"; } }\n.glyphicon-save                   { &:before { content: \"\\e166\"; } }\n.glyphicon-open                   { &:before { content: \"\\e167\"; } }\n.glyphicon-saved                  { &:before { content: \"\\e168\"; } }\n.glyphicon-import                 { &:before { content: \"\\e169\"; } }\n.glyphicon-export                 { &:before { content: \"\\e170\"; } }\n.glyphicon-send                   { &:before { content: \"\\e171\"; } }\n.glyphicon-floppy-disk            { &:before { content: \"\\e172\"; } }\n.glyphicon-floppy-saved           { &:before { content: \"\\e173\"; } }\n.glyphicon-floppy-remove          { &:before { content: \"\\e174\"; } }\n.glyphicon-floppy-save            { &:before { content: \"\\e175\"; } }\n.glyphicon-floppy-open            { &:before { content: \"\\e176\"; } }\n.glyphicon-credit-card            { &:before { content: \"\\e177\"; } }\n.glyphicon-transfer               { &:before { content: \"\\e178\"; } }\n.glyphicon-cutlery                { &:before { content: \"\\e179\"; } }\n.glyphicon-header                 { &:before { content: \"\\e180\"; } }\n.glyphicon-compressed             { &:before { content: \"\\e181\"; } }\n.glyphicon-earphone               { &:before { content: \"\\e182\"; } }\n.glyphicon-phone-alt              { &:before { content: \"\\e183\"; } }\n.glyphicon-tower                  { &:before { content: \"\\e184\"; } }\n.glyphicon-stats                  { &:before { content: \"\\e185\"; } }\n.glyphicon-sd-video               { &:before { content: \"\\e186\"; } }\n.glyphicon-hd-video               { &:before { content: \"\\e187\"; } }\n.glyphicon-subtitles              { &:before { content: \"\\e188\"; } }\n.glyphicon-sound-stereo           { &:before { content: \"\\e189\"; } }\n.glyphicon-sound-dolby            { &:before { content: \"\\e190\"; } }\n.glyphicon-sound-5-1              { &:before { content: \"\\e191\"; } }\n.glyphicon-sound-6-1              { &:before { content: \"\\e192\"; } }\n.glyphicon-sound-7-1              { &:before { content: \"\\e193\"; } }\n.glyphicon-copyright-mark         { &:before { content: \"\\e194\"; } }\n.glyphicon-registration-mark      { &:before { content: \"\\e195\"; } }\n.glyphicon-cloud-download         { &:before { content: \"\\e197\"; } }\n.glyphicon-cloud-upload           { &:before { content: \"\\e198\"; } }\n.glyphicon-tree-conifer           { &:before { content: \"\\e199\"; } }\n.glyphicon-tree-deciduous         { &:before { content: \"\\e200\"; } }\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/grid.less",
    "content": "//\n// Grid system\n// --------------------------------------------------\n\n// Set the container width, and override it for fixed navbars in media queries\n.container {\n  .container-fixed();\n\n  @media (min-width: @screen-sm) {\n    width: @container-sm;\n  }\n  @media (min-width: @screen-md) {\n    width: @container-md;\n  }\n  @media (min-width: @screen-lg-min) {\n    width: @container-lg;\n  }\n}\n\n// mobile first defaults\n.row {\n  .make-row();\n}\n\n// Common styles for small and large grid columns\n.make-grid-columns();\n\n\n// Extra small grid\n//\n// Columns, offsets, pushes, and pulls for extra small devices like\n// smartphones.\n\n.make-grid-columns-float(xs);\n.make-grid(@grid-columns, xs, width);\n.make-grid(@grid-columns, xs, pull);\n.make-grid(@grid-columns, xs, push);\n.make-grid(@grid-columns, xs, offset);\n\n\n// Small grid\n//\n// Columns, offsets, pushes, and pulls for the small device range, from phones\n// to tablets.\n\n@media (min-width: @screen-sm-min) {\n  .make-grid-columns-float(sm);\n  .make-grid(@grid-columns, sm, width);\n  .make-grid(@grid-columns, sm, pull);\n  .make-grid(@grid-columns, sm, push);\n  .make-grid(@grid-columns, sm, offset);\n}\n\n\n// Medium grid\n//\n// Columns, offsets, pushes, and pulls for the desktop device range.\n\n@media (min-width: @screen-md-min) {\n  .make-grid-columns-float(md);\n  .make-grid(@grid-columns, md, width);\n  .make-grid(@grid-columns, md, pull);\n  .make-grid(@grid-columns, md, push);\n  .make-grid(@grid-columns, md, offset);\n}\n\n\n// Large grid\n//\n// Columns, offsets, pushes, and pulls for the large desktop device range.\n\n@media (min-width: @screen-lg-min) {\n  .make-grid-columns-float(lg);\n  .make-grid(@grid-columns, lg, width);\n  .make-grid(@grid-columns, lg, pull);\n  .make-grid(@grid-columns, lg, push);\n  .make-grid(@grid-columns, lg, offset);\n}\n\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/input-groups.less",
    "content": "//\n// Input groups\n// --------------------------------------------------\n\n// Base styles\n// -------------------------\n.input-group {\n  position: relative; // For dropdowns\n  display: table;\n  border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table\n\n  // Undo padding and float of grid classes\n  &[class*=\"col-\"] {\n    float: none;\n    padding-left: 0;\n    padding-right: 0;\n  }\n\n  .form-control {\n    width: 100%;\n    margin-bottom: 0;\n  }\n}\n\n// Sizing options\n//\n// Remix the default form control sizing classes into new ones for easier\n// manipulation.\n\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn { .input-lg(); }\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn { .input-sm(); }\n\n\n// Display as table-cell\n// -------------------------\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n  display: table-cell;\n\n  &:not(:first-child):not(:last-child) {\n    border-radius: 0;\n  }\n}\n// Addon and addon wrapper for buttons\n.input-group-addon,\n.input-group-btn {\n  width: 1%;\n  white-space: nowrap;\n  vertical-align: middle; // Match the inputs\n}\n\n// Text input groups\n// -------------------------\n.input-group-addon {\n  padding: @padding-base-vertical @padding-base-horizontal;\n  font-size: @font-size-base;\n  font-weight: normal;\n  line-height: 1;\n  color: @input-color;\n  text-align: center;\n  background-color: @input-group-addon-bg;\n  border: 1px solid @input-group-addon-border-color;\n  border-radius: @border-radius-base;\n\n  // Sizing\n  &.input-sm {\n    padding: @padding-small-vertical @padding-small-horizontal;\n    font-size: @font-size-small;\n    border-radius: @border-radius-small;\n  }\n  &.input-lg {\n    padding: @padding-large-vertical @padding-large-horizontal;\n    font-size: @font-size-large;\n    border-radius: @border-radius-large;\n  }\n\n  // Nuke default margins from checkboxes and radios to vertically center within.\n  input[type=\"radio\"],\n  input[type=\"checkbox\"] {\n    margin-top: 0;\n  }\n}\n\n// Reset rounded corners\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {\n  .border-right-radius(0);\n}\n.input-group-addon:first-child {\n  border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child) {\n  .border-left-radius(0);\n}\n.input-group-addon:last-child {\n  border-left: 0;\n}\n\n// Button input groups\n// -------------------------\n.input-group-btn {\n  position: relative;\n  white-space: nowrap;\n\n  // Negative margin to only have a 1px border between the two\n  &:first-child > .btn {\n    margin-right: -1px;\n  }\n  &:last-child > .btn {\n    margin-left: -1px;\n  }\n}\n.input-group-btn > .btn {\n  position: relative;\n  // Jankily prevent input button groups from wrapping\n  + .btn {\n    margin-left: -4px;\n  }\n  // Bring the \"active\" button to the front\n  &:hover,\n  &:active {\n    z-index: 2;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/jumbotron.less",
    "content": "//\n// Jumbotron\n// --------------------------------------------------\n\n\n.jumbotron {\n  padding: @jumbotron-padding;\n  margin-bottom: @jumbotron-padding;\n  font-size: @jumbotron-font-size;\n  font-weight: 200;\n  line-height: (@line-height-base * 1.5);\n  color: @jumbotron-color;\n  background-color: @jumbotron-bg;\n\n  h1,\n  .h1 {\n    line-height: 1;\n    color: @jumbotron-heading-color;\n  }\n  p {\n    line-height: 1.4;\n  }\n\n  .container & {\n    border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container\n  }\n\n  .container {\n    max-width: 100%;\n  }\n\n  @media screen and (min-width: @screen-sm-min) {\n    padding-top:    (@jumbotron-padding * 1.6);\n    padding-bottom: (@jumbotron-padding * 1.6);\n\n    .container & {\n      padding-left:  (@jumbotron-padding * 2);\n      padding-right: (@jumbotron-padding * 2);\n    }\n\n    h1,\n    .h1 {\n      font-size: (@font-size-base * 4.5);\n    }\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/labels.less",
    "content": "//\n// Labels\n// --------------------------------------------------\n\n.label {\n  display: inline;\n  padding: .2em .6em .3em;\n  font-size: 75%;\n  font-weight: bold;\n  line-height: 1;\n  color: @label-color;\n  text-align: center;\n  white-space: nowrap;\n  vertical-align: baseline;\n  border-radius: .25em;\n\n  // Add hover effects, but only for links\n  &[href] {\n    &:hover,\n    &:focus {\n      color: @label-link-hover-color;\n      text-decoration: none;\n      cursor: pointer;\n    }\n  }\n\n  // Empty labels collapse automatically (not available in IE8)\n  &:empty {\n    display: none;\n  }\n\n  // Quick fix for labels in buttons\n  .btn & {\n    position: relative;\n    top: -1px;\n  }\n}\n\n// Colors\n// Contextual variations (linked labels get darker on :hover)\n\n.label-default {\n  .label-variant(@label-default-bg);\n}\n\n.label-primary {\n  .label-variant(@label-primary-bg);\n}\n\n.label-success {\n  .label-variant(@label-success-bg);\n}\n\n.label-info {\n  .label-variant(@label-info-bg);\n}\n\n.label-warning {\n  .label-variant(@label-warning-bg);\n}\n\n.label-danger {\n  .label-variant(@label-danger-bg);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/list-group.less",
    "content": "//\n// List groups\n// --------------------------------------------------\n\n// Base class\n//\n// Easily usable on <ul>, <ol>, or <div>.\n.list-group {\n  // No need to set list-style: none; since .list-group-item is block level\n  margin-bottom: 20px;\n  padding-left: 0; // reset padding because ul and ol\n}\n\n// Individual list items\n// -------------------------\n\n.list-group-item {\n  position: relative;\n  display: block;\n  padding: 10px 15px;\n  // Place the border on the list items and negative margin up for better styling\n  margin-bottom: -1px;\n  background-color: @list-group-bg;\n  border: 1px solid @list-group-border;\n\n  // Round the first and last items\n  &:first-child {\n    .border-top-radius(@list-group-border-radius);\n  }\n  &:last-child {\n    margin-bottom: 0;\n    .border-bottom-radius(@list-group-border-radius);\n  }\n\n  // Align badges within list items\n  > .badge {\n    float: right;\n  }\n  > .badge + .badge {\n    margin-right: 5px;\n  }\n}\n\n// Linked list items\na.list-group-item {\n  color: @list-group-link-color;\n\n  .list-group-item-heading {\n    color: @list-group-link-heading-color;\n  }\n\n  // Hover state\n  &:hover,\n  &:focus {\n    text-decoration: none;\n    background-color: @list-group-hover-bg;\n  }\n\n  // Active class on item itself, not parent\n  &.active,\n  &.active:hover,\n  &.active:focus {\n    z-index: 2; // Place active items above their siblings for proper border styling\n    color: @list-group-active-color;\n    background-color: @list-group-active-bg;\n    border-color: @list-group-active-border;\n\n    // Force color to inherit for custom content\n    .list-group-item-heading {\n      color: inherit;\n    }\n    .list-group-item-text {\n      color: lighten(@list-group-active-bg, 40%);\n    }\n  }\n}\n\n// Custom content options\n// -------------------------\n\n.list-group-item-heading {\n  margin-top: 0;\n  margin-bottom: 5px;\n}\n.list-group-item-text {\n  margin-bottom: 0;\n  line-height: 1.3;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/media.less",
    "content": "// Media objects\n// Source: http://stubbornella.org/content/?p=497\n// --------------------------------------------------\n\n\n// Common styles\n// -------------------------\n\n// Clear the floats\n.media,\n.media-body {\n  overflow: hidden;\n  zoom: 1;\n}\n\n// Proper spacing between instances of .media\n.media,\n.media .media {\n  margin-top: 15px;\n}\n.media:first-child {\n  margin-top: 0;\n}\n\n// For images and videos, set to block\n.media-object {\n  display: block;\n}\n\n// Reset margins on headings for tighter default spacing\n.media-heading {\n  margin: 0 0 5px;\n}\n\n\n// Media image alignment\n// -------------------------\n\n.media {\n  > .pull-left {\n    margin-right: 10px;\n  }\n  > .pull-right {\n    margin-left: 10px;\n  }\n}\n\n\n// Media list variation\n// -------------------------\n\n// Undo default ul/ol styles\n.media-list {\n  padding-left: 0;\n  list-style: none;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/mixins.less",
    "content": "//\n// Mixins\n// --------------------------------------------------\n\n\n// Utilities\n// -------------------------\n\n// Clearfix\n// Source: http://nicolasgallagher.com/micro-clearfix-hack/\n//\n// For modern browsers\n// 1. The space content is one way to avoid an Opera bug when the\n//    contenteditable attribute is included anywhere else in the document.\n//    Otherwise it causes space to appear at the top and bottom of elements\n//    that are clearfixed.\n// 2. The use of `table` rather than `block` is only necessary if using\n//    `:before` to contain the top-margins of child elements.\n.clearfix() {\n  &:before,\n  &:after {\n    content: \" \"; // 1\n    display: table; // 2\n  }\n  &:after {\n    clear: both;\n  }\n}\n\n// WebKit-style focus\n.tab-focus() {\n  // Default\n  outline: thin dotted;\n  // WebKit\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n\n// Center-align a block level element\n.center-block() {\n  display: block;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n// Sizing shortcuts\n.size(@width; @height) {\n  width: @width;\n  height: @height;\n}\n.square(@size) {\n  .size(@size; @size);\n}\n\n// Placeholder text\n.placeholder(@color: @input-color-placeholder) {\n  &:-moz-placeholder            { color: @color; } // Firefox 4-18\n  &::-moz-placeholder           { color: @color;   // Firefox 19+\n                                  opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526\n  &:-ms-input-placeholder       { color: @color; } // Internet Explorer 10+\n  &::-webkit-input-placeholder  { color: @color; } // Safari and Chrome\n}\n\n// Text overflow\n// Requires inline-block or block for proper styling\n.text-overflow() {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n// CSS image replacement\n//\n// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for\n// mixins being reused as classes with the same name, this doesn't hold up. As\n// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. Note\n// that we cannot chain the mixins together in Less, so they are repeated.\n//\n// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757\n\n// Deprecated as of v3.0.1 (will be removed in v4)\n.hide-text() {\n  font: ~\"0/0\" a;\n  color: transparent;\n  text-shadow: none;\n  background-color: transparent;\n  border: 0;\n}\n// New mixin to use as of v3.0.1\n.text-hide() {\n  .hide-text();\n}\n\n\n\n// CSS3 PROPERTIES\n// --------------------------------------------------\n\n// Single side border-radius\n.border-top-radius(@radius) {\n  border-top-right-radius: @radius;\n   border-top-left-radius: @radius;\n}\n.border-right-radius(@radius) {\n  border-bottom-right-radius: @radius;\n     border-top-right-radius: @radius;\n}\n.border-bottom-radius(@radius) {\n  border-bottom-right-radius: @radius;\n   border-bottom-left-radius: @radius;\n}\n.border-left-radius(@radius) {\n  border-bottom-left-radius: @radius;\n     border-top-left-radius: @radius;\n}\n\n// Drop shadows\n.box-shadow(@shadow) {\n  -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1\n          box-shadow: @shadow;\n}\n\n// Transitions\n.transition(@transition) {\n  -webkit-transition: @transition;\n          transition: @transition;\n}\n.transition-property(@transition-property) {\n  -webkit-transition-property: @transition-property;\n          transition-property: @transition-property;\n}\n.transition-delay(@transition-delay) {\n  -webkit-transition-delay: @transition-delay;\n          transition-delay: @transition-delay;\n}\n.transition-duration(@transition-duration) {\n  -webkit-transition-duration: @transition-duration;\n          transition-duration: @transition-duration;\n}\n.transition-transform(@transition) {\n  -webkit-transition: -webkit-transform @transition;\n     -moz-transition: -moz-transform @transition;\n       -o-transition: -o-transform @transition;\n          transition: transform @transition;\n}\n\n// Transformations\n.rotate(@degrees) {\n  -webkit-transform: rotate(@degrees);\n      -ms-transform: rotate(@degrees); // IE9+\n          transform: rotate(@degrees);\n}\n.scale(@ratio) {\n  -webkit-transform: scale(@ratio);\n      -ms-transform: scale(@ratio); // IE9+\n          transform: scale(@ratio);\n}\n.translate(@x; @y) {\n  -webkit-transform: translate(@x, @y);\n      -ms-transform: translate(@x, @y); // IE9+\n          transform: translate(@x, @y);\n}\n.skew(@x; @y) {\n  -webkit-transform: skew(@x, @y);\n      -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+\n          transform: skew(@x, @y);\n}\n.translate3d(@x; @y; @z) {\n  -webkit-transform: translate3d(@x, @y, @z);\n          transform: translate3d(@x, @y, @z);\n}\n\n.rotateX(@degrees) {\n  -webkit-transform: rotateX(@degrees);\n      -ms-transform: rotateX(@degrees); // IE9+\n          transform: rotateX(@degrees);\n}\n.rotateY(@degrees) {\n  -webkit-transform: rotateY(@degrees);\n      -ms-transform: rotateY(@degrees); // IE9+\n          transform: rotateY(@degrees);\n}\n.perspective(@perspective) {\n  -webkit-perspective: @perspective;\n     -moz-perspective: @perspective;\n          perspective: @perspective;\n}\n.perspective-origin(@perspective) {\n  -webkit-perspective-origin: @perspective;\n     -moz-perspective-origin: @perspective;\n          perspective-origin: @perspective;\n}\n.transform-origin(@origin) {\n  -webkit-transform-origin: @origin;\n     -moz-transform-origin: @origin;\n          transform-origin: @origin;\n}\n\n// Animations\n.animation(@animation) {\n  -webkit-animation: @animation;\n          animation: @animation;\n}\n\n// Backface visibility\n// Prevent browsers from flickering when using CSS 3D transforms.\n// Default value is `visible`, but can be changed to `hidden`\n.backface-visibility(@visibility){\n  -webkit-backface-visibility: @visibility;\n     -moz-backface-visibility: @visibility;\n          backface-visibility: @visibility;\n}\n\n// Box sizing\n.box-sizing(@boxmodel) {\n  -webkit-box-sizing: @boxmodel;\n     -moz-box-sizing: @boxmodel;\n          box-sizing: @boxmodel;\n}\n\n// User select\n// For selecting text on the page\n.user-select(@select) {\n  -webkit-user-select: @select;\n     -moz-user-select: @select;\n      -ms-user-select: @select; // IE10+\n       -o-user-select: @select;\n          user-select: @select;\n}\n\n// Resize anything\n.resizable(@direction) {\n  resize: @direction; // Options: horizontal, vertical, both\n  overflow: auto; // Safari fix\n}\n\n// CSS3 Content Columns\n.content-columns(@column-count; @column-gap: @grid-gutter-width) {\n  -webkit-column-count: @column-count;\n     -moz-column-count: @column-count;\n          column-count: @column-count;\n  -webkit-column-gap: @column-gap;\n     -moz-column-gap: @column-gap;\n          column-gap: @column-gap;\n}\n\n// Optional hyphenation\n.hyphens(@mode: auto) {\n  word-wrap: break-word;\n  -webkit-hyphens: @mode;\n     -moz-hyphens: @mode;\n      -ms-hyphens: @mode; // IE10+\n       -o-hyphens: @mode;\n          hyphens: @mode;\n}\n\n// Opacity\n.opacity(@opacity) {\n  opacity: @opacity;\n  // IE8 filter\n  @opacity-ie: (@opacity * 100);\n  filter: ~\"alpha(opacity=@{opacity-ie})\";\n}\n\n\n\n// GRADIENTS\n// --------------------------------------------------\n\n#gradient {\n\n  // Horizontal gradient, from left to right\n  //\n  // Creates two color stops, start and end, by specifying a color and position for each color stop.\n  // Color stops are not available in IE9 and below.\n  .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n    background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1-6, Chrome 10+\n    background-image:  linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n    background-repeat: repeat-x;\n    filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down\n  }\n\n  // Vertical gradient, from top to bottom\n  //\n  // Creates two color stops, start and end, by specifying a color and position for each color stop.\n  // Color stops are not available in IE9 and below.\n  .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {\n    background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent);  // Safari 5.1-6, Chrome 10+\n    background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n    background-repeat: repeat-x;\n    filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down\n  }\n\n  .directional(@start-color: #555; @end-color: #333; @deg: 45deg) {\n    background-repeat: repeat-x;\n    background-image: -webkit-linear-gradient(@deg, @start-color, @end-color); // Safari 5.1-6, Chrome 10+\n    background-image: linear-gradient(@deg, @start-color, @end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+\n  }\n  .horizontal-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n    background-image: -webkit-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);\n    background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);\n    background-repeat: no-repeat;\n    filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n  }\n  .vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {\n    background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n    background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);\n    background-repeat: no-repeat;\n    filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback\n  }\n  .radial(@inner-color: #555; @outer-color: #333) {\n    background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);\n    background-image: radial-gradient(circle, @inner-color, @outer-color);\n    background-repeat: no-repeat;\n  }\n  .striped(@color: rgba(255,255,255,.15); @angle: 45deg) {\n    background-image: -webkit-linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n    background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);\n  }\n}\n\n// Reset filters for IE\n//\n// When you need to remove a gradient background, do not forget to use this to reset\n// the IE filter for IE9 and below.\n.reset-filter() {\n  filter: e(%(\"progid:DXImageTransform.Microsoft.gradient(enabled = false)\"));\n}\n\n\n\n// Retina images\n//\n// Short retina mixin for setting background-image and -size\n\n.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {\n  background-image: url(\"@{file-1x}\");\n\n  @media\n  only screen and (-webkit-min-device-pixel-ratio: 2),\n  only screen and (   min--moz-device-pixel-ratio: 2),\n  only screen and (     -o-min-device-pixel-ratio: 2/1),\n  only screen and (        min-device-pixel-ratio: 2),\n  only screen and (                min-resolution: 192dpi),\n  only screen and (                min-resolution: 2dppx) {\n    background-image: url(\"@{file-2x}\");\n    background-size: @width-1x @height-1x;\n  }\n}\n\n\n// Responsive image\n//\n// Keep images from scaling beyond the width of their parents.\n\n.img-responsive(@display: block;) {\n  display: @display;\n  max-width: 100%; // Part 1: Set a maximum relative to the parent\n  height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching\n}\n\n\n// COMPONENT MIXINS\n// --------------------------------------------------\n\n// Horizontal dividers\n// -------------------------\n// Dividers (basically an hr) within dropdowns and nav lists\n.nav-divider(@color: #e5e5e5) {\n  height: 1px;\n  margin: ((@line-height-computed / 2) - 1) 0;\n  overflow: hidden;\n  background-color: @color;\n}\n\n// Panels\n// -------------------------\n.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {\n  border-color: @border;\n\n  & > .panel-heading {\n    color: @heading-text-color;\n    background-color: @heading-bg-color;\n    border-color: @heading-border;\n\n    + .panel-collapse .panel-body {\n      border-top-color: @border;\n    }\n  }\n  & > .panel-footer {\n    + .panel-collapse .panel-body {\n      border-bottom-color: @border;\n    }\n  }\n}\n\n// Alerts\n// -------------------------\n.alert-variant(@background; @border; @text-color) {\n  background-color: @background;\n  border-color: @border;\n  color: @text-color;\n\n  hr {\n    border-top-color: darken(@border, 5%);\n  }\n  .alert-link {\n    color: darken(@text-color, 10%);\n  }\n}\n\n// Tables\n// -------------------------\n.table-row-variant(@state; @background) {\n  // Exact selectors below required to override `.table-striped` and prevent\n  // inheritance to nested tables.\n  .table {\n    > thead,\n    > tbody,\n    > tfoot {\n      > tr > .@{state},\n      > .@{state} > td,\n      > .@{state} > th {\n        background-color: @background;\n      }\n    }\n  }\n\n  // Hover states for `.table-hover`\n  // Note: this is not available for cells or rows within `thead` or `tfoot`.\n  .table-hover > tbody {\n    > tr > .@{state}:hover,\n    > .@{state}:hover > td,\n    > .@{state}:hover > th {\n      background-color: darken(@background, 5%);\n    }\n  }\n}\n\n// Button variants\n// -------------------------\n// Easily pump out default styles, as well as :hover, :focus, :active,\n// and disabled options for all buttons\n.button-variant(@color; @background; @border) {\n  color: @color;\n  background-color: @background;\n  border-color: @border;\n\n  &:hover,\n  &:focus,\n  &:active,\n  &.active,\n  .open .dropdown-toggle& {\n    color: @color;\n    background-color: darken(@background, 8%);\n        border-color: darken(@border, 12%);\n  }\n  &:active,\n  &.active,\n  .open .dropdown-toggle& {\n    background-image: none;\n  }\n  &.disabled,\n  &[disabled],\n  fieldset[disabled] & {\n    &,\n    &:hover,\n    &:focus,\n    &:active,\n    &.active {\n      background-color: @background;\n          border-color: @border;\n    }\n  }\n\n  .badge {\n    color: @background;\n    background-color: #fff;\n  }\n}\n\n// Button sizes\n// -------------------------\n.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {\n  padding: @padding-vertical @padding-horizontal;\n  font-size: @font-size;\n  line-height: @line-height;\n  border-radius: @border-radius;\n}\n\n// Pagination\n// -------------------------\n.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {\n  > li {\n    > a,\n    > span {\n      padding: @padding-vertical @padding-horizontal;\n      font-size: @font-size;\n    }\n    &:first-child {\n      > a,\n      > span {\n        .border-left-radius(@border-radius);\n      }\n    }\n    &:last-child {\n      > a,\n      > span {\n        .border-right-radius(@border-radius);\n      }\n    }\n  }\n}\n\n// Labels\n// -------------------------\n.label-variant(@color) {\n  background-color: @color;\n  &[href] {\n    &:hover,\n    &:focus {\n      background-color: darken(@color, 10%);\n    }\n  }\n}\n\n// Navbar vertical align\n// -------------------------\n// Vertically center elements in the navbar.\n// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.\n.navbar-vertical-align(@element-height) {\n  margin-top: ((@navbar-height - @element-height) / 2);\n  margin-bottom: ((@navbar-height - @element-height) / 2);\n}\n\n// Progress bars\n// -------------------------\n.progress-bar-variant(@color) {\n  background-color: @color;\n  .progress-striped & {\n    #gradient > .striped();\n  }\n}\n\n// Responsive utilities\n// -------------------------\n// More easily include all the states for responsive-utilities.less.\n.responsive-visibility() {\n  display: block !important;\n  table&  { display: table; }\n  tr&     { display: table-row !important; }\n  th&,\n  td&     { display: table-cell !important; }\n}\n\n.responsive-invisibility() {\n    &,\n  tr&,\n  th&,\n  td& { display: none !important; }\n}\n\n\n// Grid System\n// -----------\n\n// Centered container element\n.container-fixed() {\n  margin-right: auto;\n  margin-left: auto;\n  padding-left:  (@grid-gutter-width / 2);\n  padding-right: (@grid-gutter-width / 2);\n  .clearfix();\n}\n\n// Creates a wrapper for a series of columns\n.make-row(@gutter: @grid-gutter-width) {\n  margin-left:  (@gutter / -2);\n  margin-right: (@gutter / -2);\n  .clearfix();\n}\n\n// Generate the extra small columns\n.make-xs-column(@columns; @gutter: @grid-gutter-width) {\n  position: relative;\n  float: left;\n  width: percentage((@columns / @grid-columns));\n  // Prevent columns from collapsing when empty\n  min-height: 1px;\n  // Inner gutter via padding\n  padding-left:  (@gutter / 2);\n  padding-right: (@gutter / 2);\n}\n\n// Generate the small columns\n.make-sm-column(@columns; @gutter: @grid-gutter-width) {\n  position: relative;\n  // Prevent columns from collapsing when empty\n  min-height: 1px;\n  // Inner gutter via padding\n  padding-left:  (@gutter / 2);\n  padding-right: (@gutter / 2);\n\n  // Calculate width based on number of columns available\n  @media (min-width: @screen-sm-min) {\n    float: left;\n    width: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the small column offsets\n.make-sm-column-offset(@columns) {\n  @media (min-width: @screen-sm-min) {\n    margin-left: percentage((@columns / @grid-columns));\n  }\n}\n.make-sm-column-push(@columns) {\n  @media (min-width: @screen-sm-min) {\n    left: percentage((@columns / @grid-columns));\n  }\n}\n.make-sm-column-pull(@columns) {\n  @media (min-width: @screen-sm-min) {\n    right: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the medium columns\n.make-md-column(@columns; @gutter: @grid-gutter-width) {\n  position: relative;\n  // Prevent columns from collapsing when empty\n  min-height: 1px;\n  // Inner gutter via padding\n  padding-left:  (@gutter / 2);\n  padding-right: (@gutter / 2);\n\n  // Calculate width based on number of columns available\n  @media (min-width: @screen-md-min) {\n    float: left;\n    width: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the medium column offsets\n.make-md-column-offset(@columns) {\n  @media (min-width: @screen-md-min) {\n    margin-left: percentage((@columns / @grid-columns));\n  }\n}\n.make-md-column-push(@columns) {\n  @media (min-width: @screen-md) {\n    left: percentage((@columns / @grid-columns));\n  }\n}\n.make-md-column-pull(@columns) {\n  @media (min-width: @screen-md-min) {\n    right: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the large columns\n.make-lg-column(@columns; @gutter: @grid-gutter-width) {\n  position: relative;\n  // Prevent columns from collapsing when empty\n  min-height: 1px;\n  // Inner gutter via padding\n  padding-left:  (@gutter / 2);\n  padding-right: (@gutter / 2);\n\n  // Calculate width based on number of columns available\n  @media (min-width: @screen-lg-min) {\n    float: left;\n    width: percentage((@columns / @grid-columns));\n  }\n}\n\n// Generate the large column offsets\n.make-lg-column-offset(@columns) {\n  @media (min-width: @screen-lg-min) {\n    margin-left: percentage((@columns / @grid-columns));\n  }\n}\n.make-lg-column-push(@columns) {\n  @media (min-width: @screen-lg-min) {\n    left: percentage((@columns / @grid-columns));\n  }\n}\n.make-lg-column-pull(@columns) {\n  @media (min-width: @screen-lg-min) {\n    right: percentage((@columns / @grid-columns));\n  }\n}\n\n\n// Framework grid generation\n//\n// Used only by Bootstrap to generate the correct number of grid classes given\n// any value of `@grid-columns`.\n\n.make-grid-columns() {\n  // Common styles for all sizes of grid columns, widths 1-12\n  .col(@index) when (@index = 1) { // initial\n    @item: ~\".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}\";\n    .col(@index + 1, @item);\n  }\n  .col(@index, @list) when (@index =< @grid-columns) { // general; \"=<\" isn't a typo\n    @item: ~\".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}\";\n    .col(@index + 1, ~\"@{list}, @{item}\");\n  }\n  .col(@index, @list) when (@index > @grid-columns) { // terminal\n    @{list} {\n      position: relative;\n      // Prevent columns from collapsing when empty\n      min-height: 1px;\n      // Inner gutter via padding\n      padding-left:  (@grid-gutter-width / 2);\n      padding-right: (@grid-gutter-width / 2);\n    }\n  }\n  .col(1); // kickstart it\n}\n\n.make-grid-columns-float(@class) {\n  .col(@index) when (@index = 1) { // initial\n    @item: ~\".col-@{class}-@{index}\";\n    .col(@index + 1, @item);\n  }\n  .col(@index, @list) when (@index =< @grid-columns) { // general\n    @item: ~\".col-@{class}-@{index}\";\n    .col(@index + 1, ~\"@{list}, @{item}\");\n  }\n  .col(@index, @list) when (@index > @grid-columns) { // terminal\n    @{list} {\n      float: left;\n    }\n  }\n  .col(1); // kickstart it\n}\n\n.calc-grid(@index, @class, @type) when (@type = width) and (@index > 0) {\n  .col-@{class}-@{index} {\n    width: percentage((@index / @grid-columns));\n  }\n}\n.calc-grid(@index, @class, @type) when (@type = push) {\n  .col-@{class}-push-@{index} {\n    left: percentage((@index / @grid-columns));\n  }\n}\n.calc-grid(@index, @class, @type) when (@type = pull) {\n  .col-@{class}-pull-@{index} {\n    right: percentage((@index / @grid-columns));\n  }\n}\n.calc-grid(@index, @class, @type) when (@type = offset) {\n  .col-@{class}-offset-@{index} {\n    margin-left: percentage((@index / @grid-columns));\n  }\n}\n\n// Basic looping in LESS\n.make-grid(@index, @class, @type) when (@index >= 0) {\n  .calc-grid(@index, @class, @type);\n  // next iteration\n  .make-grid(@index - 1, @class, @type);\n}\n\n\n// Form validation states\n//\n// Used in forms.less to generate the form validation CSS for warnings, errors,\n// and successes.\n\n.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {\n  // Color the label and help text\n  .help-block,\n  .control-label,\n  .radio,\n  .checkbox,\n  .radio-inline,\n  .checkbox-inline  {\n    color: @text-color;\n  }\n  // Set the border and box shadow on specific inputs to match\n  .form-control {\n    border-color: @border-color;\n    .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work\n    &:focus {\n      border-color: darken(@border-color, 10%);\n      @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);\n      .box-shadow(@shadow);\n    }\n  }\n  // Set validation states also for addons\n  .input-group-addon {\n    color: @text-color;\n    border-color: @border-color;\n    background-color: @background-color;\n  }\n}\n\n// Form control focus state\n//\n// Generate a customized focus state and for any input with the specified color,\n// which defaults to the `@input-focus-border` variable.\n//\n// We highly encourage you to not customize the default value, but instead use\n// this to tweak colors on an as-needed basis. This aesthetic change is based on\n// WebKit's default styles, but applicable to a wider range of browsers. Its\n// usability and accessibility should be taken into account with any change.\n//\n// Example usage: change the default blue border and shadow to white for better\n// contrast against a dark gray background.\n\n.form-control-focus(@color: @input-border-focus) {\n  @color-rgba: rgba(red(@color), green(@color), blue(@color), .6);\n  &:focus {\n    border-color: @color;\n    outline: 0;\n    .box-shadow(~\"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}\");\n  }\n}\n\n// Form control sizing\n//\n// Relative text size, padding, and border-radii changes for form controls. For\n// horizontal sizing, wrap controls in the predefined grid classes. `<select>`\n// element gets special love because it's special, and that's a fact!\n\n.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {\n  height: @input-height;\n  padding: @padding-vertical @padding-horizontal;\n  font-size: @font-size;\n  line-height: @line-height;\n  border-radius: @border-radius;\n\n  select& {\n    height: @input-height;\n    line-height: @input-height;\n  }\n\n  textarea& {\n    height: auto;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/modals.less",
    "content": "//\n// Modals\n// --------------------------------------------------\n\n// .modal-open      - body class for killing the scroll\n// .modal           - container to scroll within\n// .modal-dialog    - positioning shell for the actual modal\n// .modal-content   - actual modal w/ bg and corners and shit\n\n// Kill the scroll on the body\n.modal-open {\n  overflow: hidden;\n}\n\n// Container that the modal scrolls within\n.modal {\n  display: none;\n  overflow: auto;\n  overflow-y: scroll;\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: @zindex-modal-background;\n\n  // When fading in the modal, animate it to slide down\n  &.fade .modal-dialog {\n    .translate(0, -25%);\n    .transition-transform(~\"0.3s ease-out\");\n  }\n  &.in .modal-dialog { .translate(0, 0)}\n}\n\n// Shell div to position the modal with bottom padding\n.modal-dialog {\n  position: relative;\n  width: auto;\n  margin: 10px;\n  z-index: (@zindex-modal-background + 10);\n}\n\n// Actual modal\n.modal-content {\n  position: relative;\n  background-color: @modal-content-bg;\n  border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)\n  border: 1px solid @modal-content-border-color;\n  border-radius: @border-radius-large;\n  .box-shadow(0 3px 9px rgba(0,0,0,.5));\n  background-clip: padding-box;\n  // Remove focus outline from opened modal\n  outline: none;\n}\n\n// Modal background\n.modal-backdrop {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: (@zindex-modal-background - 10);\n  background-color: @modal-backdrop-bg;\n  // Fade for backdrop\n  &.fade { .opacity(0); }\n  &.in { .opacity(.5); }\n}\n\n// Modal header\n// Top section of the modal w/ title and dismiss\n.modal-header {\n  padding: @modal-title-padding;\n  border-bottom: 1px solid @modal-header-border-color;\n  min-height: (@modal-title-padding + @modal-title-line-height);\n}\n// Close icon\n.modal-header .close {\n  margin-top: -2px;\n}\n\n// Title text within header\n.modal-title {\n  margin: 0;\n  line-height: @modal-title-line-height;\n}\n\n// Modal body\n// Where all modal content resides (sibling of .modal-header and .modal-footer)\n.modal-body {\n  position: relative;\n  padding: @modal-inner-padding;\n}\n\n// Footer (for actions)\n.modal-footer {\n  margin-top: 15px;\n  padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;\n  text-align: right; // right align buttons\n  border-top: 1px solid @modal-footer-border-color;\n  .clearfix(); // clear it in case folks use .pull-* classes on buttons\n\n  // Properly space out buttons\n  .btn + .btn {\n    margin-left: 5px;\n    margin-bottom: 0; // account for input[type=\"submit\"] which gets the bottom margin like all other inputs\n  }\n  // but override that for button groups\n  .btn-group .btn + .btn {\n    margin-left: -1px;\n  }\n  // and override it for block buttons as well\n  .btn-block + .btn-block {\n    margin-left: 0;\n  }\n}\n\n// Scale up the modal\n@media screen and (min-width: @screen-sm-min) {\n\n  .modal-dialog {\n    width: 600px;\n    margin: 30px auto;\n  }\n  .modal-content {\n    .box-shadow(0 5px 15px rgba(0,0,0,.5));\n  }\n\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/navbar.less",
    "content": "//\n// Navbars\n// --------------------------------------------------\n\n\n// Wrapper and base class\n//\n// Provide a static navbar from which we expand to create full-width, fixed, and\n// other navbar variations.\n\n.navbar {\n  position: relative;\n  min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)\n  margin-bottom: @navbar-margin-bottom;\n  border: 1px solid transparent;\n\n  // Prevent floats from breaking the navbar\n  .clearfix();\n\n  @media (min-width: @grid-float-breakpoint) {\n    border-radius: @navbar-border-radius;\n  }\n}\n\n\n// Navbar heading\n//\n// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy\n// styling of responsive aspects.\n\n.navbar-header {\n  .clearfix();\n\n  @media (min-width: @grid-float-breakpoint) {\n    float: left;\n  }\n}\n\n\n// Navbar collapse (body)\n//\n// Group your navbar content into this for easy collapsing and expanding across\n// various device sizes. By default, this content is collapsed when <768px, but\n// will expand past that for a horizontal display.\n//\n// To start (on mobile devices) the navbar links, forms, and buttons are stacked\n// vertically and include a `max-height` to overflow in case you have too much\n// content for the user's viewport.\n\n.navbar-collapse {\n  max-height: 340px;\n  overflow-x: visible;\n  padding-right: @navbar-padding-horizontal;\n  padding-left:  @navbar-padding-horizontal;\n  border-top: 1px solid transparent;\n  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);\n  .clearfix();\n  -webkit-overflow-scrolling: touch;\n\n  &.in {\n    overflow-y: auto;\n  }\n\n  @media (min-width: @grid-float-breakpoint) {\n    width: auto;\n    border-top: 0;\n    box-shadow: none;\n\n    &.collapse {\n      display: block !important;\n      height: auto !important;\n      padding-bottom: 0; // Override default setting\n      overflow: visible !important;\n    }\n\n    &.in {\n      overflow-y: visible;\n    }\n\n    // Undo the collapse side padding for navbars with containers to ensure\n    // alignment of right-aligned contents.\n    .navbar-fixed-top &,\n    .navbar-static-top &,\n    .navbar-fixed-bottom & {\n      padding-left: 0;\n      padding-right: 0;\n    }\n  }\n}\n\n\n// Both navbar header and collapse\n//\n// When a container is present, change the behavior of the header and collapse.\n\n.container > .navbar-header,\n.container > .navbar-collapse {\n  margin-right: -@navbar-padding-horizontal;\n  margin-left:  -@navbar-padding-horizontal;\n\n  @media (min-width: @grid-float-breakpoint) {\n    margin-right: 0;\n    margin-left:  0;\n  }\n}\n\n\n//\n// Navbar alignment options\n//\n// Display the navbar across the entirety of the page or fixed it to the top or\n// bottom of the page.\n\n// Static top (unfixed, but 100% wide) navbar\n.navbar-static-top {\n  z-index: @zindex-navbar;\n  border-width: 0 0 1px;\n\n  @media (min-width: @grid-float-breakpoint) {\n    border-radius: 0;\n  }\n}\n\n// Fix the top/bottom navbars when screen real estate supports it\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n  position: fixed;\n  right: 0;\n  left: 0;\n  z-index: @zindex-navbar-fixed;\n\n  // Undo the rounded corners\n  @media (min-width: @grid-float-breakpoint) {\n    border-radius: 0;\n  }\n}\n.navbar-fixed-top {\n  top: 0;\n  border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n  bottom: 0;\n  margin-bottom: 0; // override .navbar defaults\n  border-width: 1px 0 0;\n}\n\n\n// Brand/project name\n\n.navbar-brand {\n  float: left;\n  padding: @navbar-padding-vertical @navbar-padding-horizontal;\n  font-size: @font-size-large;\n  line-height: @line-height-computed;\n\n  &:hover,\n  &:focus {\n    text-decoration: none;\n  }\n\n  @media (min-width: @grid-float-breakpoint) {\n    .navbar > .container & {\n      margin-left: -@navbar-padding-horizontal;\n    }\n  }\n}\n\n\n// Navbar toggle\n//\n// Custom button for toggling the `.navbar-collapse`, powered by the collapse\n// JavaScript plugin.\n\n.navbar-toggle {\n  position: relative;\n  float: right;\n  margin-right: @navbar-padding-horizontal;\n  padding: 9px 10px;\n  .navbar-vertical-align(34px);\n  background-color: transparent;\n  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n  border: 1px solid transparent;\n  border-radius: @border-radius-base;\n\n  // Bars\n  .icon-bar {\n    display: block;\n    width: 22px;\n    height: 2px;\n    border-radius: 1px;\n  }\n  .icon-bar + .icon-bar {\n    margin-top: 4px;\n  }\n\n  @media (min-width: @grid-float-breakpoint) {\n    display: none;\n  }\n}\n\n\n// Navbar nav links\n//\n// Builds on top of the `.nav` components with it's own modifier class to make\n// the nav the full height of the horizontal nav (above 768px).\n\n.navbar-nav {\n  margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;\n\n  > li > a {\n    padding-top:    10px;\n    padding-bottom: 10px;\n    line-height: @line-height-computed;\n  }\n\n  @media (max-width: @grid-float-breakpoint-max) {\n    // Dropdowns get custom display when collapsed\n    .open .dropdown-menu {\n      position: static;\n      float: none;\n      width: auto;\n      margin-top: 0;\n      background-color: transparent;\n      border: 0;\n      box-shadow: none;\n      > li > a,\n      .dropdown-header {\n        padding: 5px 15px 5px 25px;\n      }\n      > li > a {\n        line-height: @line-height-computed;\n        &:hover,\n        &:focus {\n          background-image: none;\n        }\n      }\n    }\n  }\n\n  // Uncollapse the nav\n  @media (min-width: @grid-float-breakpoint) {\n    float: left;\n    margin: 0;\n\n    > li {\n      float: left;\n      > a {\n        padding-top:    @navbar-padding-vertical;\n        padding-bottom: @navbar-padding-vertical;\n      }\n    }\n\n    &.navbar-right:last-child {\n      margin-right: -@navbar-padding-horizontal;\n    }\n  }\n}\n\n\n// Component alignment\n//\n// Repurpose the pull utilities as their own navbar utilities to avoid specificity\n// issues with parents and chaining. Only do this when the navbar is uncollapsed\n// though so that navbar contents properly stack and align in mobile.\n\n@media (min-width: @grid-float-breakpoint) {\n  .navbar-left  { .pull-left(); }\n  .navbar-right { .pull-right(); }\n}\n\n\n// Navbar form\n//\n// Extension of the `.form-inline` with some extra flavor for optimum display in\n// our navbars.\n\n.navbar-form {\n  margin-left: -@navbar-padding-horizontal;\n  margin-right: -@navbar-padding-horizontal;\n  padding: 10px @navbar-padding-horizontal;\n  border-top: 1px solid transparent;\n  border-bottom: 1px solid transparent;\n  @shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);\n  .box-shadow(@shadow);\n\n  // Mixin behavior for optimum display\n  .form-inline();\n\n  .form-group {\n    @media (max-width: @grid-float-breakpoint-max) {\n      margin-bottom: 5px;\n    }\n  }\n\n  // Vertically center in expanded, horizontal navbar\n  .navbar-vertical-align(@input-height-base);\n\n  // Undo 100% width for pull classes\n  @media (min-width: @grid-float-breakpoint) {\n    width: auto;\n    border: 0;\n    margin-left: 0;\n    margin-right: 0;\n    padding-top: 0;\n    padding-bottom: 0;\n    .box-shadow(none);\n\n    // Outdent the form if last child to line up with content down the page\n    &.navbar-right:last-child {\n      margin-right: -@navbar-padding-horizontal;\n    }\n  }\n}\n\n\n// Dropdown menus\n\n// Menu position and menu carets\n.navbar-nav > li > .dropdown-menu {\n  margin-top: 0;\n  .border-top-radius(0);\n}\n// Menu position and menu caret support for dropups via extra dropup class\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n  .border-bottom-radius(0);\n}\n\n// Right aligned menus need alt position\n.navbar-nav.pull-right > li > .dropdown-menu,\n.navbar-nav > li > .dropdown-menu.pull-right {\n  left: auto;\n  right: 0;\n}\n\n\n// Buttons in navbars\n//\n// Vertically center a button within a navbar (when *not* in a form).\n\n.navbar-btn {\n  .navbar-vertical-align(@input-height-base);\n\n  &.btn-sm {\n    .navbar-vertical-align(@input-height-small);\n  }\n  &.btn-xs {\n    .navbar-vertical-align(22);\n  }\n}\n\n\n// Text in navbars\n//\n// Add a class to make any element properly align itself vertically within the navbars.\n\n.navbar-text {\n  .navbar-vertical-align(@line-height-computed);\n\n  @media (min-width: @grid-float-breakpoint) {\n    float: left;\n    margin-left: @navbar-padding-horizontal;\n    margin-right: @navbar-padding-horizontal;\n\n    // Outdent the form if last child to line up with content down the page\n    &.navbar-right:last-child {\n      margin-right: 0;\n    }\n  }\n}\n\n// Alternate navbars\n// --------------------------------------------------\n\n// Default navbar\n.navbar-default {\n  background-color: @navbar-default-bg;\n  border-color: @navbar-default-border;\n\n  .navbar-brand {\n    color: @navbar-default-brand-color;\n    &:hover,\n    &:focus {\n      color: @navbar-default-brand-hover-color;\n      background-color: @navbar-default-brand-hover-bg;\n    }\n  }\n\n  .navbar-text {\n    color: @navbar-default-color;\n  }\n\n  .navbar-nav {\n    > li > a {\n      color: @navbar-default-link-color;\n\n      &:hover,\n      &:focus {\n        color: @navbar-default-link-hover-color;\n        background-color: @navbar-default-link-hover-bg;\n      }\n    }\n    > .active > a {\n      &,\n      &:hover,\n      &:focus {\n        color: @navbar-default-link-active-color;\n        background-color: @navbar-default-link-active-bg;\n      }\n    }\n    > .disabled > a {\n      &,\n      &:hover,\n      &:focus {\n        color: @navbar-default-link-disabled-color;\n        background-color: @navbar-default-link-disabled-bg;\n      }\n    }\n  }\n\n  .navbar-toggle {\n    border-color: @navbar-default-toggle-border-color;\n    &:hover,\n    &:focus {\n      background-color: @navbar-default-toggle-hover-bg;\n    }\n    .icon-bar {\n      background-color: @navbar-default-toggle-icon-bar-bg;\n    }\n  }\n\n  .navbar-collapse,\n  .navbar-form {\n    border-color: @navbar-default-border;\n  }\n\n  // Dropdown menu items\n  .navbar-nav {\n    // Remove background color from open dropdown\n    > .open > a {\n      &,\n      &:hover,\n      &:focus {\n        background-color: @navbar-default-link-active-bg;\n        color: @navbar-default-link-active-color;\n      }\n    }\n\n    @media (max-width: @grid-float-breakpoint-max) {\n      // Dropdowns get custom display when collapsed\n      .open .dropdown-menu {\n        > li > a {\n          color: @navbar-default-link-color;\n          &:hover,\n          &:focus {\n            color: @navbar-default-link-hover-color;\n            background-color: @navbar-default-link-hover-bg;\n          }\n        }\n        > .active > a {\n          &,\n          &:hover,\n          &:focus {\n            color: @navbar-default-link-active-color;\n            background-color: @navbar-default-link-active-bg;\n          }\n        }\n        > .disabled > a {\n          &,\n          &:hover,\n          &:focus {\n            color: @navbar-default-link-disabled-color;\n            background-color: @navbar-default-link-disabled-bg;\n          }\n        }\n      }\n    }\n  }\n\n\n  // Links in navbars\n  //\n  // Add a class to ensure links outside the navbar nav are colored correctly.\n\n  .navbar-link {\n    color: @navbar-default-link-color;\n    &:hover {\n      color: @navbar-default-link-hover-color;\n    }\n  }\n\n}\n\n// Inverse navbar\n\n.navbar-inverse {\n  background-color: @navbar-inverse-bg;\n  border-color: @navbar-inverse-border;\n\n  .navbar-brand {\n    color: @navbar-inverse-brand-color;\n    &:hover,\n    &:focus {\n      color: @navbar-inverse-brand-hover-color;\n      background-color: @navbar-inverse-brand-hover-bg;\n    }\n  }\n\n  .navbar-text {\n    color: @navbar-inverse-color;\n  }\n\n  .navbar-nav {\n    > li > a {\n      color: @navbar-inverse-link-color;\n\n      &:hover,\n      &:focus {\n        color: @navbar-inverse-link-hover-color;\n        background-color: @navbar-inverse-link-hover-bg;\n      }\n    }\n    > .active > a {\n      &,\n      &:hover,\n      &:focus {\n        color: @navbar-inverse-link-active-color;\n        background-color: @navbar-inverse-link-active-bg;\n      }\n    }\n    > .disabled > a {\n      &,\n      &:hover,\n      &:focus {\n        color: @navbar-inverse-link-disabled-color;\n        background-color: @navbar-inverse-link-disabled-bg;\n      }\n    }\n  }\n\n  // Darken the responsive nav toggle\n  .navbar-toggle {\n    border-color: @navbar-inverse-toggle-border-color;\n    &:hover,\n    &:focus {\n      background-color: @navbar-inverse-toggle-hover-bg;\n    }\n    .icon-bar {\n      background-color: @navbar-inverse-toggle-icon-bar-bg;\n    }\n  }\n\n  .navbar-collapse,\n  .navbar-form {\n    border-color: darken(@navbar-inverse-bg, 7%);\n  }\n\n  // Dropdowns\n  .navbar-nav {\n    > .open > a {\n      &,\n      &:hover,\n      &:focus {\n        background-color: @navbar-inverse-link-active-bg;\n        color: @navbar-inverse-link-active-color;\n      }\n    }\n\n    @media (max-width: @grid-float-breakpoint-max) {\n      // Dropdowns get custom display\n      .open .dropdown-menu {\n        > .dropdown-header {\n          border-color: @navbar-inverse-border;\n        }\n        .divider {\n          background-color: @navbar-inverse-border;\n        }\n        > li > a {\n          color: @navbar-inverse-link-color;\n          &:hover,\n          &:focus {\n            color: @navbar-inverse-link-hover-color;\n            background-color: @navbar-inverse-link-hover-bg;\n          }\n        }\n        > .active > a {\n          &,\n          &:hover,\n          &:focus {\n            color: @navbar-inverse-link-active-color;\n            background-color: @navbar-inverse-link-active-bg;\n          }\n        }\n        > .disabled > a {\n          &,\n          &:hover,\n          &:focus {\n            color: @navbar-inverse-link-disabled-color;\n            background-color: @navbar-inverse-link-disabled-bg;\n          }\n        }\n      }\n    }\n  }\n\n  .navbar-link {\n    color: @navbar-inverse-link-color;\n    &:hover {\n      color: @navbar-inverse-link-hover-color;\n    }\n  }\n\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/navs.less",
    "content": "//\n// Navs\n// --------------------------------------------------\n\n\n// Base class\n// --------------------------------------------------\n\n.nav {\n  margin-bottom: 0;\n  padding-left: 0; // Override default ul/ol\n  list-style: none;\n  .clearfix();\n\n  > li {\n    position: relative;\n    display: block;\n\n    > a {\n      position: relative;\n      display: block;\n      padding: @nav-link-padding;\n      &:hover,\n      &:focus {\n        text-decoration: none;\n        background-color: @nav-link-hover-bg;\n      }\n    }\n\n    // Disabled state sets text to gray and nukes hover/tab effects\n    &.disabled > a {\n      color: @nav-disabled-link-color;\n\n      &:hover,\n      &:focus {\n        color: @nav-disabled-link-hover-color;\n        text-decoration: none;\n        background-color: transparent;\n        cursor: not-allowed;\n      }\n    }\n  }\n\n  // Open dropdowns\n  .open > a {\n    &,\n    &:hover,\n    &:focus {\n      background-color: @nav-link-hover-bg;\n      border-color: @link-color;\n    }\n  }\n\n  // Nav dividers (deprecated with v3.0.1)\n  //\n  // This should have been removed in v3 with the dropping of `.nav-list`, but\n  // we missed it. We don't currently support this anywhere, but in the interest\n  // of maintaining backward compatibility in case you use it, it's deprecated.\n  .nav-divider {\n    .nav-divider();\n  }\n\n  // Prevent IE8 from misplacing imgs\n  //\n  // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989\n  > li > a > img {\n    max-width: none;\n  }\n}\n\n\n// Tabs\n// -------------------------\n\n// Give the tabs something to sit on\n.nav-tabs {\n  border-bottom: 1px solid @nav-tabs-border-color;\n  > li {\n    float: left;\n    // Make the list-items overlay the bottom border\n    margin-bottom: -1px;\n\n    // Actual tabs (as links)\n    > a {\n      margin-right: 2px;\n      line-height: @line-height-base;\n      border: 1px solid transparent;\n      border-radius: @border-radius-base @border-radius-base 0 0;\n      &:hover {\n        border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;\n      }\n    }\n\n    // Active state, and it's :hover to override normal :hover\n    &.active > a {\n      &,\n      &:hover,\n      &:focus {\n        color: @nav-tabs-active-link-hover-color;\n        background-color: @nav-tabs-active-link-hover-bg;\n        border: 1px solid @nav-tabs-active-link-hover-border-color;\n        border-bottom-color: transparent;\n        cursor: default;\n      }\n    }\n  }\n  // pulling this in mainly for less shorthand\n  &.nav-justified {\n    .nav-justified();\n    .nav-tabs-justified();\n  }\n}\n\n\n// Pills\n// -------------------------\n.nav-pills {\n  > li {\n    float: left;\n\n    // Links rendered as pills\n    > a {\n      border-radius: @nav-pills-border-radius;\n    }\n    + li {\n      margin-left: 2px;\n    }\n\n    // Active state\n    &.active > a {\n      &,\n      &:hover,\n      &:focus {\n        color: @nav-pills-active-link-hover-color;\n        background-color: @nav-pills-active-link-hover-bg;\n      }\n    }\n  }\n}\n\n\n// Stacked pills\n.nav-stacked {\n  > li {\n    float: none;\n    + li {\n      margin-top: 2px;\n      margin-left: 0; // no need for this gap between nav items\n    }\n  }\n}\n\n\n// Nav variations\n// --------------------------------------------------\n\n// Justified nav links\n// -------------------------\n\n.nav-justified {\n  width: 100%;\n\n  > li {\n    float: none;\n     > a {\n      text-align: center;\n      margin-bottom: 5px;\n    }\n  }\n\n  > .dropdown .dropdown-menu {\n    top: auto;\n    left: auto;\n  }\n\n  @media (min-width: @screen-sm-min) {\n    > li {\n      display: table-cell;\n      width: 1%;\n      > a {\n        margin-bottom: 0;\n      }\n    }\n  }\n}\n\n// Move borders to anchors instead of bottom of list\n//\n// Mixin for adding on top the shared `.nav-justified` styles for our tabs\n.nav-tabs-justified {\n  border-bottom: 0;\n\n  > li > a {\n    // Override margin from .nav-tabs\n    margin-right: 0;\n    border-radius: @border-radius-base;\n  }\n\n  > .active > a,\n  > .active > a:hover,\n  > .active > a:focus {\n    border: 1px solid @nav-tabs-justified-link-border-color;\n  }\n\n  @media (min-width: @screen-sm-min) {\n    > li > a {\n      border-bottom: 1px solid @nav-tabs-justified-link-border-color;\n      border-radius: @border-radius-base @border-radius-base 0 0;\n    }\n    > .active > a,\n    > .active > a:hover,\n    > .active > a:focus {\n      border-bottom-color: @nav-tabs-justified-active-link-border-color;\n    }\n  }\n}\n\n\n// Tabbable tabs\n// -------------------------\n\n// Hide tabbable panes to start, show them when `.active`\n.tab-content {\n  > .tab-pane {\n    display: none;\n  }\n  > .active {\n    display: block;\n  }\n}\n\n\n// Dropdowns\n// -------------------------\n\n// Specific dropdowns\n.nav-tabs .dropdown-menu {\n  // make dropdown border overlap tab border\n  margin-top: -1px;\n  // Remove the top rounded corners here since there is a hard edge above the menu\n  .border-top-radius(0);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/normalize.less",
    "content": "/*! normalize.css v2.1.3 | MIT License | git.io/normalize */\n\n// ==========================================================================\n// HTML5 display definitions\n// ==========================================================================\n\n//\n// Correct `block` display not defined in IE 8/9.\n//\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection,\nsummary {\n  display: block;\n}\n\n//\n// Correct `inline-block` display not defined in IE 8/9.\n//\n\naudio,\ncanvas,\nvideo {\n  display: inline-block;\n}\n\n//\n// Prevent modern browsers from displaying `audio` without controls.\n// Remove excess height in iOS 5 devices.\n//\n\naudio:not([controls]) {\n  display: none;\n  height: 0;\n}\n\n//\n// Address `[hidden]` styling not present in IE 8/9.\n// Hide the `template` element in IE, Safari, and Firefox < 22.\n//\n\n[hidden],\ntemplate {\n  display: none;\n}\n\n// ==========================================================================\n// Base\n// ==========================================================================\n\n//\n// 1. Set default font family to sans-serif.\n// 2. Prevent iOS text size adjust after orientation change, without disabling\n//    user zoom.\n//\n\nhtml {\n  font-family: sans-serif; // 1\n  -ms-text-size-adjust: 100%; // 2\n  -webkit-text-size-adjust: 100%; // 2\n}\n\n//\n// Remove default margin.\n//\n\nbody {\n  margin: 0;\n}\n\n// ==========================================================================\n// Links\n// ==========================================================================\n\n//\n// Remove the gray background color from active links in IE 10.\n//\n\na {\n  background: transparent;\n}\n\n//\n// Address `outline` inconsistency between Chrome and other browsers.\n//\n\na:focus {\n  outline: thin dotted;\n}\n\n//\n// Improve readability when focused and also mouse hovered in all browsers.\n//\n\na:active,\na:hover {\n  outline: 0;\n}\n\n// ==========================================================================\n// Typography\n// ==========================================================================\n\n//\n// Address variable `h1` font-size and margin within `section` and `article`\n// contexts in Firefox 4+, Safari 5, and Chrome.\n//\n\nh1 {\n  font-size: 2em;\n  margin: 0.67em 0;\n}\n\n//\n// Address styling not present in IE 8/9, Safari 5, and Chrome.\n//\n\nabbr[title] {\n  border-bottom: 1px dotted;\n}\n\n//\n// Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.\n//\n\nb,\nstrong {\n  font-weight: bold;\n}\n\n//\n// Address styling not present in Safari 5 and Chrome.\n//\n\ndfn {\n  font-style: italic;\n}\n\n//\n// Address differences between Firefox and other browsers.\n//\n\nhr {\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n  height: 0;\n}\n\n//\n// Address styling not present in IE 8/9.\n//\n\nmark {\n  background: #ff0;\n  color: #000;\n}\n\n//\n// Correct font family set oddly in Safari 5 and Chrome.\n//\n\ncode,\nkbd,\npre,\nsamp {\n  font-family: monospace, serif;\n  font-size: 1em;\n}\n\n//\n// Improve readability of pre-formatted text in all browsers.\n//\n\npre {\n  white-space: pre-wrap;\n}\n\n//\n// Set consistent quote types.\n//\n\nq {\n  quotes: \"\\201C\" \"\\201D\" \"\\2018\" \"\\2019\";\n}\n\n//\n// Address inconsistent and variable font size in all browsers.\n//\n\nsmall {\n  font-size: 80%;\n}\n\n//\n// Prevent `sub` and `sup` affecting `line-height` in all browsers.\n//\n\nsub,\nsup {\n  font-size: 75%;\n  line-height: 0;\n  position: relative;\n  vertical-align: baseline;\n}\n\nsup {\n  top: -0.5em;\n}\n\nsub {\n  bottom: -0.25em;\n}\n\n// ==========================================================================\n// Embedded content\n// ==========================================================================\n\n//\n// Remove border when inside `a` element in IE 8/9.\n//\n\nimg {\n  border: 0;\n}\n\n//\n// Correct overflow displayed oddly in IE 9.\n//\n\nsvg:not(:root) {\n  overflow: hidden;\n}\n\n// ==========================================================================\n// Figures\n// ==========================================================================\n\n//\n// Address margin not present in IE 8/9 and Safari 5.\n//\n\nfigure {\n  margin: 0;\n}\n\n// ==========================================================================\n// Forms\n// ==========================================================================\n\n//\n// Define consistent border, margin, and padding.\n//\n\nfieldset {\n  border: 1px solid #c0c0c0;\n  margin: 0 2px;\n  padding: 0.35em 0.625em 0.75em;\n}\n\n//\n// 1. Correct `color` not being inherited in IE 8/9.\n// 2. Remove padding so people aren't caught out if they zero out fieldsets.\n//\n\nlegend {\n  border: 0; // 1\n  padding: 0; // 2\n}\n\n//\n// 1. Correct font family not being inherited in all browsers.\n// 2. Correct font size not being inherited in all browsers.\n// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.\n//\n\nbutton,\ninput,\nselect,\ntextarea {\n  font-family: inherit; // 1\n  font-size: 100%; // 2\n  margin: 0; // 3\n}\n\n//\n// Address Firefox 4+ setting `line-height` on `input` using `!important` in\n// the UA stylesheet.\n//\n\nbutton,\ninput {\n  line-height: normal;\n}\n\n//\n// Address inconsistent `text-transform` inheritance for `button` and `select`.\n// All other form control elements do not inherit `text-transform` values.\n// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.\n// Correct `select` style inheritance in Firefox 4+ and Opera.\n//\n\nbutton,\nselect {\n  text-transform: none;\n}\n\n//\n// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n//    and `video` controls.\n// 2. Correct inability to style clickable `input` types in iOS.\n// 3. Improve usability and consistency of cursor style between image-type\n//    `input` and others.\n//\n\nbutton,\nhtml input[type=\"button\"], // 1\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n  -webkit-appearance: button; // 2\n  cursor: pointer; // 3\n}\n\n//\n// Re-set default cursor for disabled elements.\n//\n\nbutton[disabled],\nhtml input[disabled] {\n  cursor: default;\n}\n\n//\n// 1. Address box sizing set to `content-box` in IE 8/9/10.\n// 2. Remove excess padding in IE 8/9/10.\n//\n\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n  box-sizing: border-box; // 1\n  padding: 0; // 2\n}\n\n//\n// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.\n// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome\n//    (include `-moz` to future-proof).\n//\n\ninput[type=\"search\"] {\n  -webkit-appearance: textfield; // 1\n  -moz-box-sizing: content-box;\n  -webkit-box-sizing: content-box; // 2\n  box-sizing: content-box;\n}\n\n//\n// Remove inner padding and search cancel button in Safari 5 and Chrome\n// on OS X.\n//\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n  -webkit-appearance: none;\n}\n\n//\n// Remove inner padding and border in Firefox 4+.\n//\n\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n  border: 0;\n  padding: 0;\n}\n\n//\n// 1. Remove default vertical scrollbar in IE 8/9.\n// 2. Improve readability and alignment in all browsers.\n//\n\ntextarea {\n  overflow: auto; // 1\n  vertical-align: top; // 2\n}\n\n// ==========================================================================\n// Tables\n// ==========================================================================\n\n//\n// Remove most spacing between table cells.\n//\n\ntable {\n  border-collapse: collapse;\n  border-spacing: 0;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/pager.less",
    "content": "//\n// Pager pagination\n// --------------------------------------------------\n\n\n.pager {\n  padding-left: 0;\n  margin: @line-height-computed 0;\n  list-style: none;\n  text-align: center;\n  .clearfix();\n  li {\n    display: inline;\n    > a,\n    > span {\n      display: inline-block;\n      padding: 5px 14px;\n      background-color: @pagination-bg;\n      border: 1px solid @pagination-border;\n      border-radius: @pager-border-radius;\n    }\n\n    > a:hover,\n    > a:focus {\n      text-decoration: none;\n      background-color: @pagination-hover-bg;\n    }\n  }\n\n  .next {\n    > a,\n    > span {\n      float: right;\n    }\n  }\n\n  .previous {\n    > a,\n    > span {\n      float: left;\n    }\n  }\n\n  .disabled {\n    > a,\n    > a:hover,\n    > a:focus,\n    > span {\n      color: @pager-disabled-color;\n      background-color: @pagination-bg;\n      cursor: not-allowed;\n    }\n  }\n\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/pagination.less",
    "content": "//\n// Pagination (multiple pages)\n// --------------------------------------------------\n.pagination {\n  display: inline-block;\n  padding-left: 0;\n  margin: @line-height-computed 0;\n  border-radius: @border-radius-base;\n\n  > li {\n    display: inline; // Remove list-style and block-level defaults\n    > a,\n    > span {\n      position: relative;\n      float: left; // Collapse white-space\n      padding: @padding-base-vertical @padding-base-horizontal;\n      line-height: @line-height-base;\n      text-decoration: none;\n      background-color: @pagination-bg;\n      border: 1px solid @pagination-border;\n      margin-left: -1px;\n    }\n    &:first-child {\n      > a,\n      > span {\n        margin-left: 0;\n        .border-left-radius(@border-radius-base);\n      }\n    }\n    &:last-child {\n      > a,\n      > span {\n        .border-right-radius(@border-radius-base);\n      }\n    }\n  }\n\n  > li > a,\n  > li > span {\n    &:hover,\n    &:focus {\n      background-color: @pagination-hover-bg;\n    }\n  }\n\n  > .active > a,\n  > .active > span {\n    &,\n    &:hover,\n    &:focus {\n      z-index: 2;\n      color: @pagination-active-color;\n      background-color: @pagination-active-bg;\n      border-color: @pagination-active-bg;\n      cursor: default;\n    }\n  }\n\n  > .disabled {\n    > span,\n    > span:hover,\n    > span:focus,\n    > a,\n    > a:hover,\n    > a:focus {\n      color: @pagination-disabled-color;\n      background-color: @pagination-bg;\n      border-color: @pagination-border;\n      cursor: not-allowed;\n    }\n  }\n}\n\n// Sizing\n// --------------------------------------------------\n\n// Large\n.pagination-lg {\n  .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);\n}\n\n// Small\n.pagination-sm {\n  .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/panels.less",
    "content": "//\n// Panels\n// --------------------------------------------------\n\n\n// Base class\n.panel {\n  margin-bottom: @line-height-computed;\n  background-color: @panel-bg;\n  border: 1px solid transparent;\n  border-radius: @panel-border-radius;\n  .box-shadow(0 1px 1px rgba(0,0,0,.05));\n}\n\n// Panel contents\n.panel-body {\n  padding: 15px;\n  .clearfix();\n}\n\n\n// List groups in panels\n//\n// By default, space out list group content from panel headings to account for\n// any kind of custom content between the two.\n\n.panel {\n  > .list-group {\n    margin-bottom: 0;\n\n    .list-group-item {\n      border-width: 1px 0;\n\n      // Remove border radius for top one\n      &:first-child {\n        .border-top-radius(0);\n      }\n      // But keep it for the last one\n      &:last-child {\n        border-bottom: 0;\n      }\n    }\n  }\n}\n// Collapse space between when there's no additional content.\n.panel-heading + .list-group {\n  .list-group-item:first-child {\n    border-top-width: 0;\n  }\n}\n\n\n// Tables in panels\n//\n// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and\n// watch it go full width.\n\n.panel {\n  > .table,\n  > .table-responsive > .table {\n    margin-bottom: 0;\n  }\n  > .panel-body + .table,\n  > .panel-body + .table-responsive {\n    border-top: 1px solid @table-border-color;\n  }\n  > .table > tbody:first-child th,\n  > .table > tbody:first-child td {\n    border-top: 0;\n  }\n  > .table-bordered,\n  > .table-responsive > .table-bordered {\n    border: 0;\n    > thead,\n    > tbody,\n    > tfoot {\n      > tr {\n        > th:first-child,\n        > td:first-child {\n          border-left: 0;\n        }\n        > th:last-child,\n        > td:last-child {\n          border-right: 0;\n        }\n\n        &:last-child > th,\n        &:last-child > td {\n          border-bottom: 0;\n        }\n      }\n    }\n  }\n  > .table-responsive {\n    border: 0;\n    margin-bottom: 0;\n  }\n}\n\n\n// Optional heading\n.panel-heading {\n  padding: 10px 15px;\n  border-bottom: 1px solid transparent;\n  .border-top-radius(@panel-border-radius - 1);\n\n  > .dropdown .dropdown-toggle {\n    color: inherit;\n  }\n}\n\n// Within heading, strip any `h*` tag of it's default margins for spacing.\n.panel-title {\n  margin-top: 0;\n  margin-bottom: 0;\n  font-size: ceil((@font-size-base * 1.125));\n  color: inherit;\n\n  > a {\n    color: inherit;\n  }\n}\n\n// Optional footer (stays gray in every modifier class)\n.panel-footer {\n  padding: 10px 15px;\n  background-color: @panel-footer-bg;\n  border-top: 1px solid @panel-inner-border;\n  .border-bottom-radius(@panel-border-radius - 1);\n}\n\n\n// Collapsable panels (aka, accordion)\n//\n// Wrap a series of panels in `.panel-group` to turn them into an accordion with\n// the help of our collapse JavaScript plugin.\n\n.panel-group {\n  // Tighten up margin so it's only between panels\n  .panel {\n    margin-bottom: 0;\n    border-radius: @panel-border-radius;\n    overflow: hidden; // crop contents when collapsed\n    + .panel {\n      margin-top: 5px;\n    }\n  }\n\n  .panel-heading {\n    border-bottom: 0;\n    + .panel-collapse .panel-body {\n      border-top: 1px solid @panel-inner-border;\n    }\n  }\n  .panel-footer {\n    border-top: 0;\n    + .panel-collapse .panel-body {\n      border-bottom: 1px solid @panel-inner-border;\n    }\n  }\n}\n\n\n// Contextual variations\n.panel-default {\n  .panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);\n}\n.panel-primary {\n  .panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);\n}\n.panel-success {\n  .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);\n}\n.panel-warning {\n  .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);\n}\n.panel-danger {\n  .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);\n}\n.panel-info {\n  .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/popovers.less",
    "content": "//\n// Popovers\n// --------------------------------------------------\n\n\n.popover {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: @zindex-popover;\n  display: none;\n  max-width: @popover-max-width;\n  padding: 1px;\n  text-align: left; // Reset given new insertion method\n  background-color: @popover-bg;\n  background-clip: padding-box;\n  border: 1px solid @popover-fallback-border-color;\n  border: 1px solid @popover-border-color;\n  border-radius: @border-radius-large;\n  .box-shadow(0 5px 10px rgba(0,0,0,.2));\n\n  // Overrides for proper insertion\n  white-space: normal;\n\n  // Offset the popover to account for the popover arrow\n  &.top     { margin-top: -10px; }\n  &.right   { margin-left: 10px; }\n  &.bottom  { margin-top: 10px; }\n  &.left    { margin-left: -10px; }\n}\n\n.popover-title {\n  margin: 0; // reset heading margin\n  padding: 8px 14px;\n  font-size: @font-size-base;\n  font-weight: normal;\n  line-height: 18px;\n  background-color: @popover-title-bg;\n  border-bottom: 1px solid darken(@popover-title-bg, 5%);\n  border-radius: 5px 5px 0 0;\n}\n\n.popover-content {\n  padding: 9px 14px;\n}\n\n// Arrows\n//\n// .arrow is outer, .arrow:after is inner\n\n.popover .arrow {\n  &,\n  &:after {\n    position: absolute;\n    display: block;\n    width: 0;\n    height: 0;\n    border-color: transparent;\n    border-style: solid;\n  }\n}\n.popover .arrow {\n  border-width: @popover-arrow-outer-width;\n}\n.popover .arrow:after {\n  border-width: @popover-arrow-width;\n  content: \"\";\n}\n\n.popover {\n  &.top .arrow {\n    left: 50%;\n    margin-left: -@popover-arrow-outer-width;\n    border-bottom-width: 0;\n    border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n    border-top-color: @popover-arrow-outer-color;\n    bottom: -@popover-arrow-outer-width;\n    &:after {\n      content: \" \";\n      bottom: 1px;\n      margin-left: -@popover-arrow-width;\n      border-bottom-width: 0;\n      border-top-color: @popover-arrow-color;\n    }\n  }\n  &.right .arrow {\n    top: 50%;\n    left: -@popover-arrow-outer-width;\n    margin-top: -@popover-arrow-outer-width;\n    border-left-width: 0;\n    border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n    border-right-color: @popover-arrow-outer-color;\n    &:after {\n      content: \" \";\n      left: 1px;\n      bottom: -@popover-arrow-width;\n      border-left-width: 0;\n      border-right-color: @popover-arrow-color;\n    }\n  }\n  &.bottom .arrow {\n    left: 50%;\n    margin-left: -@popover-arrow-outer-width;\n    border-top-width: 0;\n    border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n    border-bottom-color: @popover-arrow-outer-color;\n    top: -@popover-arrow-outer-width;\n    &:after {\n      content: \" \";\n      top: 1px;\n      margin-left: -@popover-arrow-width;\n      border-top-width: 0;\n      border-bottom-color: @popover-arrow-color;\n    }\n  }\n\n  &.left .arrow {\n    top: 50%;\n    right: -@popover-arrow-outer-width;\n    margin-top: -@popover-arrow-outer-width;\n    border-right-width: 0;\n    border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n    border-left-color: @popover-arrow-outer-color;\n    &:after {\n      content: \" \";\n      right: 1px;\n      border-right-width: 0;\n      border-left-color: @popover-arrow-color;\n      bottom: -@popover-arrow-width;\n    }\n  }\n\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/print.less",
    "content": "//\n// Basic print styles\n// --------------------------------------------------\n// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css\n\n@media print {\n\n  * {\n    text-shadow: none !important;\n    color: #000 !important; // Black prints faster: h5bp.com/s\n    background: transparent !important;\n    box-shadow: none !important;\n  }\n\n  a,\n  a:visited {\n    text-decoration: underline;\n  }\n\n  a[href]:after {\n    content: \" (\" attr(href) \")\";\n  }\n\n  abbr[title]:after {\n    content: \" (\" attr(title) \")\";\n  }\n\n  // Don't show links for images, or javascript/internal links\n  a[href^=\"javascript:\"]:after,\n  a[href^=\"#\"]:after {\n    content: \"\";\n  }\n\n  pre,\n  blockquote {\n    border: 1px solid #999;\n    page-break-inside: avoid;\n  }\n\n  thead {\n    display: table-header-group; // h5bp.com/t\n  }\n\n  tr,\n  img {\n    page-break-inside: avoid;\n  }\n\n  img {\n    max-width: 100% !important;\n  }\n\n  @page {\n    margin: 2cm .5cm;\n  }\n\n  p,\n  h2,\n  h3 {\n    orphans: 3;\n    widows: 3;\n  }\n\n  h2,\n  h3 {\n    page-break-after: avoid;\n  }\n\n  // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245\n  // Once fixed, we can just straight up remove this.\n  select {\n    background: #fff !important;\n  }\n\n  // Bootstrap components\n  .navbar {\n    display: none;\n  }\n  .table {\n    td,\n    th {\n      background-color: #fff !important;\n    }\n  }\n  .btn,\n  .dropup > .btn {\n    > .caret {\n      border-top-color: #000 !important;\n    }\n  }\n  .label {\n    border: 1px solid #000;\n  }\n\n  .table {\n    border-collapse: collapse !important;\n  }\n  .table-bordered {\n    th,\n    td {\n      border: 1px solid #ddd !important;\n    }\n  }\n\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/progress-bars.less",
    "content": "//\n// Progress bars\n// --------------------------------------------------\n\n\n// Bar animations\n// -------------------------\n\n// WebKit\n@-webkit-keyframes progress-bar-stripes {\n  from  { background-position: 40px 0; }\n  to    { background-position: 0 0; }\n}\n\n// Spec and IE10+\n@keyframes progress-bar-stripes {\n  from  { background-position: 40px 0; }\n  to    { background-position: 0 0; }\n}\n\n\n\n// Bar itself\n// -------------------------\n\n// Outer container\n.progress {\n  overflow: hidden;\n  height: @line-height-computed;\n  margin-bottom: @line-height-computed;\n  background-color: @progress-bg;\n  border-radius: @border-radius-base;\n  .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));\n}\n\n// Bar of progress\n.progress-bar {\n  float: left;\n  width: 0%;\n  height: 100%;\n  font-size: @font-size-small;\n  line-height: @line-height-computed;\n  color: @progress-bar-color;\n  text-align: center;\n  background-color: @progress-bar-bg;\n  .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));\n  .transition(width .6s ease);\n}\n\n// Striped bars\n.progress-striped .progress-bar {\n  #gradient > .striped();\n  background-size: 40px 40px;\n}\n\n// Call animation for the active one\n.progress.active .progress-bar {\n  .animation(progress-bar-stripes 2s linear infinite);\n}\n\n\n\n// Variations\n// -------------------------\n\n.progress-bar-success {\n  .progress-bar-variant(@progress-bar-success-bg);\n}\n\n.progress-bar-info {\n  .progress-bar-variant(@progress-bar-info-bg);\n}\n\n.progress-bar-warning {\n  .progress-bar-variant(@progress-bar-warning-bg);\n}\n\n.progress-bar-danger {\n  .progress-bar-variant(@progress-bar-danger-bg);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/responsive-utilities.less",
    "content": "//\n// Responsive: Utility classes\n// --------------------------------------------------\n\n\n// IE10 in Windows (Phone) 8\n//\n// Support for responsive views via media queries is kind of borked in IE10, for\n// Surface/desktop in split view and for Windows Phone 8. This particular fix\n// must be accompanied by a snippet of JavaScript to sniff the user agent and\n// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at\n// our Getting Started page for more information on this bug.\n//\n// For more information, see the following:\n//\n// Issue: https://github.com/twbs/bootstrap/issues/10497\n// Docs: http://getbootstrap.com/getting-started/#browsers\n// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/\n\n@-ms-viewport {\n  width: device-width;\n}\n\n\n// Visibility utilities\n\n.visible-xs {\n  .responsive-invisibility();\n  @media (max-width: @screen-xs-max) {\n    .responsive-visibility();\n  }\n  &.visible-sm {\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n      .responsive-visibility();\n    }\n  }\n  &.visible-md {\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n      .responsive-visibility();\n    }\n  }\n  &.visible-lg {\n    @media (min-width: @screen-lg-min) {\n      .responsive-visibility();\n    }\n  }\n}\n.visible-sm {\n  .responsive-invisibility();\n  &.visible-xs {\n    @media (max-width: @screen-xs-max) {\n      .responsive-visibility();\n    }\n  }\n  @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n    .responsive-visibility();\n  }\n  &.visible-md {\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n      .responsive-visibility();\n    }\n  }\n  &.visible-lg {\n    @media (min-width: @screen-lg-min) {\n      .responsive-visibility();\n    }\n  }\n}\n.visible-md {\n  .responsive-invisibility();\n  &.visible-xs {\n    @media (max-width: @screen-xs-max) {\n      .responsive-visibility();\n    }\n  }\n  &.visible-sm {\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n      .responsive-visibility();\n    }\n  }\n  @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n    .responsive-visibility();\n  }\n  &.visible-lg {\n    @media (min-width: @screen-lg-min) {\n      .responsive-visibility();\n    }\n  }\n}\n.visible-lg {\n  .responsive-invisibility();\n  &.visible-xs {\n    @media (max-width: @screen-xs-max) {\n      .responsive-visibility();\n    }\n  }\n  &.visible-sm {\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n      .responsive-visibility();\n    }\n  }\n  &.visible-md {\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n      .responsive-visibility();\n    }\n  }\n  @media (min-width: @screen-lg-min) {\n    .responsive-visibility();\n  }\n}\n\n.hidden-xs {\n  .responsive-visibility();\n  @media (max-width: @screen-xs-max) {\n    .responsive-invisibility();\n  }\n  &.hidden-sm {\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n      .responsive-invisibility();\n    }\n  }\n  &.hidden-md {\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n      .responsive-invisibility();\n    }\n  }\n  &.hidden-lg {\n    @media (min-width: @screen-lg-min) {\n      .responsive-invisibility();\n    }\n  }\n}\n.hidden-sm {\n  .responsive-visibility();\n  &.hidden-xs {\n    @media (max-width: @screen-xs-max) {\n      .responsive-invisibility();\n    }\n  }\n  @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n    .responsive-invisibility();\n  }\n  &.hidden-md {\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n      .responsive-invisibility();\n    }\n  }\n  &.hidden-lg {\n    @media (min-width: @screen-lg-min) {\n      .responsive-invisibility();\n    }\n  }\n}\n.hidden-md {\n  .responsive-visibility();\n  &.hidden-xs {\n    @media (max-width: @screen-xs-max) {\n      .responsive-invisibility();\n    }\n  }\n  &.hidden-sm {\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n      .responsive-invisibility();\n    }\n  }\n  @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n    .responsive-invisibility();\n  }\n  &.hidden-lg {\n    @media (min-width: @screen-lg-min) {\n      .responsive-invisibility();\n    }\n  }\n}\n.hidden-lg {\n  .responsive-visibility();\n  &.hidden-xs {\n    @media (max-width: @screen-xs-max) {\n      .responsive-invisibility();\n    }\n  }\n  &.hidden-sm {\n    @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n      .responsive-invisibility();\n    }\n  }\n  &.hidden-md {\n    @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n      .responsive-invisibility();\n    }\n  }\n  @media (min-width: @screen-lg-min) {\n    .responsive-invisibility();\n  }\n}\n\n// Print utilities\n.visible-print {\n  .responsive-invisibility();\n}\n\n@media print {\n  .visible-print {\n    .responsive-visibility();\n  }\n  .hidden-print {\n    .responsive-invisibility();\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/scaffolding.less",
    "content": "//\n// Scaffolding\n// --------------------------------------------------\n\n\n// Reset the box-sizing\n\n*,\n*:before,\n*:after {\n  .box-sizing(border-box);\n}\n\n\n// Body reset\n\nhtml {\n  font-size: 62.5%;\n  -webkit-tap-highlight-color: rgba(0,0,0,0);\n}\n\nbody {\n  font-family: @font-family-base;\n  font-size: @font-size-base;\n  line-height: @line-height-base;\n  color: @text-color;\n  background-color: @body-bg;\n}\n\n// Reset fonts for relevant elements\ninput,\nbutton,\nselect,\ntextarea {\n  font-family: inherit;\n  font-size: inherit;\n  line-height: inherit;\n}\n\n\n// Links\n\na {\n  color: @link-color;\n  text-decoration: none;\n\n  &:hover,\n  &:focus {\n    color: @link-hover-color;\n    text-decoration: underline;\n  }\n\n  &:focus {\n    .tab-focus();\n  }\n}\n\n\n// Images\n\nimg {\n  vertical-align: middle;\n}\n\n// Responsive images (ensure images don't scale beyond their parents)\n.img-responsive {\n  .img-responsive();\n}\n\n// Rounded corners\n.img-rounded {\n  border-radius: @border-radius-large;\n}\n\n// Image thumbnails\n//\n// Heads up! This is mixin-ed into thumbnails.less for `.thumbnail`.\n.img-thumbnail {\n  padding: @thumbnail-padding;\n  line-height: @line-height-base;\n  background-color: @thumbnail-bg;\n  border: 1px solid @thumbnail-border;\n  border-radius: @thumbnail-border-radius;\n  .transition(all .2s ease-in-out);\n\n  // Keep them at most 100% wide\n  .img-responsive(inline-block);\n}\n\n// Perfect circle\n.img-circle {\n  border-radius: 50%; // set radius in percents\n}\n\n\n// Horizontal rules\n\nhr {\n  margin-top:    @line-height-computed;\n  margin-bottom: @line-height-computed;\n  border: 0;\n  border-top: 1px solid @hr-border;\n}\n\n\n// Only display content to screen readers\n//\n// See: http://a11yproject.com/posts/how-to-hide-content/\n\n.sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  margin: -1px;\n  padding: 0;\n  overflow: hidden;\n  clip: rect(0,0,0,0);\n  border: 0;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/tables.less",
    "content": "//\n// Tables\n// --------------------------------------------------\n\n\ntable {\n  max-width: 100%;\n  background-color: @table-bg;\n}\nth {\n  text-align: left;\n}\n\n\n// Baseline styles\n\n.table {\n  width: 100%;\n  margin-bottom: @line-height-computed;\n  // Cells\n  > thead,\n  > tbody,\n  > tfoot {\n    > tr {\n      > th,\n      > td {\n        padding: @table-cell-padding;\n        line-height: @line-height-base;\n        vertical-align: top;\n        border-top: 1px solid @table-border-color;\n      }\n    }\n  }\n  // Bottom align for column headings\n  > thead > tr > th {\n    vertical-align: bottom;\n    border-bottom: 2px solid @table-border-color;\n  }\n  // Remove top border from thead by default\n  > caption + thead,\n  > colgroup + thead,\n  > thead:first-child {\n    > tr:first-child {\n      > th,\n      > td {\n        border-top: 0;\n      }\n    }\n  }\n  // Account for multiple tbody instances\n  > tbody + tbody {\n    border-top: 2px solid @table-border-color;\n  }\n\n  // Nesting\n  .table {\n    background-color: @body-bg;\n  }\n}\n\n\n// Condensed table w/ half padding\n\n.table-condensed {\n  > thead,\n  > tbody,\n  > tfoot {\n    > tr {\n      > th,\n      > td {\n        padding: @table-condensed-cell-padding;\n      }\n    }\n  }\n}\n\n\n// Bordered version\n//\n// Add borders all around the table and between all the columns.\n\n.table-bordered {\n  border: 1px solid @table-border-color;\n  > thead,\n  > tbody,\n  > tfoot {\n    > tr {\n      > th,\n      > td {\n        border: 1px solid @table-border-color;\n      }\n    }\n  }\n  > thead > tr {\n    > th,\n    > td {\n      border-bottom-width: 2px;\n    }\n  }\n}\n\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n.table-striped {\n  > tbody > tr:nth-child(odd) {\n    > td,\n    > th {\n      background-color: @table-bg-accent;\n    }\n  }\n}\n\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n  > tbody > tr:hover {\n    > td,\n    > th {\n      background-color: @table-bg-hover;\n    }\n  }\n}\n\n\n// Table cell sizing\n//\n// Reset default table behavior\n\ntable col[class*=\"col-\"] {\n  position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)\n  float: none;\n  display: table-column;\n}\ntable {\n  td,\n  th {\n    &[class*=\"col-\"] {\n      float: none;\n      display: table-cell;\n    }\n  }\n}\n\n\n// Table backgrounds\n//\n// Exact selectors below required to override `.table-striped` and prevent\n// inheritance to nested tables.\n\n// Generate the contextual variants\n.table-row-variant(active; @table-bg-active);\n.table-row-variant(success; @state-success-bg);\n.table-row-variant(danger; @state-danger-bg);\n.table-row-variant(warning; @state-warning-bg);\n\n\n// Responsive tables\n//\n// Wrap your tables in `.table-responsive` and we'll make them mobile friendly\n// by enabling horizontal scrolling. Only applies <768px. Everything above that\n// will display normally.\n\n@media (max-width: @screen-xs-max) {\n  .table-responsive {\n    width: 100%;\n    margin-bottom: (@line-height-computed * 0.75);\n    overflow-y: hidden;\n    overflow-x: scroll;\n    -ms-overflow-style: -ms-autohiding-scrollbar;\n    border: 1px solid @table-border-color;\n    -webkit-overflow-scrolling: touch;\n\n    // Tighten up spacing\n    > .table {\n      margin-bottom: 0;\n\n      // Ensure the content doesn't wrap\n      > thead,\n      > tbody,\n      > tfoot {\n        > tr {\n          > th,\n          > td {\n            white-space: nowrap;\n          }\n        }\n      }\n    }\n\n    // Special overrides for the bordered tables\n    > .table-bordered {\n      border: 0;\n\n      // Nuke the appropriate borders so that the parent can handle them\n      > thead,\n      > tbody,\n      > tfoot {\n        > tr {\n          > th:first-child,\n          > td:first-child {\n            border-left: 0;\n          }\n          > th:last-child,\n          > td:last-child {\n            border-right: 0;\n          }\n        }\n      }\n\n      // Only nuke the last row's bottom-border in `tbody` and `tfoot` since\n      // chances are there will be only one `tr` in a `thead` and that would\n      // remove the border altogether.\n      > tbody,\n      > tfoot {\n        > tr:last-child {\n          > th,\n          > td {\n            border-bottom: 0;\n          }\n        }\n      }\n\n    }\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/theme.less",
    "content": "\n//\n// Load core variables and mixins\n// --------------------------------------------------\n\n@import \"variables.less\";\n@import \"mixins.less\";\n\n\n\n//\n// Buttons\n// --------------------------------------------------\n\n// Common styles\n.btn-default,\n.btn-primary,\n.btn-success,\n.btn-info,\n.btn-warning,\n.btn-danger {\n  text-shadow: 0 -1px 0 rgba(0,0,0,.2);\n  @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);\n  .box-shadow(@shadow);\n\n  // Reset the shadow\n  &:active,\n  &.active {\n    .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n  }\n}\n\n// Mixin for generating new styles\n.btn-styles(@btn-color: #555) {\n  #gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));\n  .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners\n  background-repeat: repeat-x;\n  border-color: darken(@btn-color, 14%);\n\n  &:hover,\n  &:focus  {\n    background-color: darken(@btn-color, 12%);\n    background-position: 0 -15px;\n  }\n\n  &:active,\n  &.active {\n    background-color: darken(@btn-color, 12%);\n    border-color: darken(@btn-color, 14%);\n  }\n}\n\n// Common styles\n.btn {\n  // Remove the gradient for the pressed/active state\n  &:active,\n  &.active {\n    background-image: none;\n  }\n}\n\n// Apply the mixin to the buttons\n.btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }\n.btn-primary { .btn-styles(@btn-primary-bg); }\n.btn-success { .btn-styles(@btn-success-bg); }\n.btn-warning { .btn-styles(@btn-warning-bg); }\n.btn-danger  { .btn-styles(@btn-danger-bg); }\n.btn-info    { .btn-styles(@btn-info-bg); }\n\n\n\n//\n// Images\n// --------------------------------------------------\n\n.thumbnail,\n.img-thumbnail {\n  .box-shadow(0 1px 2px rgba(0,0,0,.075));\n}\n\n\n\n//\n// Dropdowns\n// --------------------------------------------------\n\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus {\n  #gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));\n  background-color: darken(@dropdown-link-hover-bg, 5%);\n}\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n  #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));\n  background-color: darken(@dropdown-link-active-bg, 5%);\n}\n\n\n\n//\n// Navbar\n// --------------------------------------------------\n\n// Default navbar\n.navbar-default {\n  #gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);\n  .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered\n  border-radius: @navbar-border-radius;\n  @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);\n  .box-shadow(@shadow);\n\n  .navbar-nav > .active > a {\n    #gradient > .vertical(@start-color: darken(@navbar-default-bg, 5%); @end-color: darken(@navbar-default-bg, 2%));\n    .box-shadow(inset 0 3px 9px rgba(0,0,0,.075));\n  }\n}\n.navbar-brand,\n.navbar-nav > li > a {\n  text-shadow: 0 1px 0 rgba(255,255,255,.25);\n}\n\n// Inverted navbar\n.navbar-inverse {\n  #gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);\n  .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered\n\n  .navbar-nav > .active > a {\n    #gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%));\n    .box-shadow(inset 0 3px 9px rgba(0,0,0,.25));\n  }\n\n  .navbar-brand,\n  .navbar-nav > li > a {\n    text-shadow: 0 -1px 0 rgba(0,0,0,.25);\n  }\n}\n\n// Undo rounded corners in static and fixed navbars\n.navbar-static-top,\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n  border-radius: 0;\n}\n\n\n\n//\n// Alerts\n// --------------------------------------------------\n\n// Common styles\n.alert {\n  text-shadow: 0 1px 0 rgba(255,255,255,.2);\n  @shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);\n  .box-shadow(@shadow);\n}\n\n// Mixin for generating new styles\n.alert-styles(@color) {\n  #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 7.5%));\n  border-color: darken(@color, 15%);\n}\n\n// Apply the mixin to the alerts\n.alert-success    { .alert-styles(@alert-success-bg); }\n.alert-info       { .alert-styles(@alert-info-bg); }\n.alert-warning    { .alert-styles(@alert-warning-bg); }\n.alert-danger     { .alert-styles(@alert-danger-bg); }\n\n\n\n//\n// Progress bars\n// --------------------------------------------------\n\n// Give the progress background some depth\n.progress {\n  #gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)\n}\n\n// Mixin for generating new styles\n.progress-bar-styles(@color) {\n  #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 10%));\n}\n\n// Apply the mixin to the progress bars\n.progress-bar            { .progress-bar-styles(@progress-bar-bg); }\n.progress-bar-success    { .progress-bar-styles(@progress-bar-success-bg); }\n.progress-bar-info       { .progress-bar-styles(@progress-bar-info-bg); }\n.progress-bar-warning    { .progress-bar-styles(@progress-bar-warning-bg); }\n.progress-bar-danger     { .progress-bar-styles(@progress-bar-danger-bg); }\n\n\n\n//\n// List groups\n// --------------------------------------------------\n\n.list-group {\n  border-radius: @border-radius-base;\n  .box-shadow(0 1px 2px rgba(0,0,0,.075));\n}\n.list-group-item.active,\n.list-group-item.active:hover,\n.list-group-item.active:focus {\n  text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);\n  #gradient > .vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%));\n  border-color: darken(@list-group-active-border, 7.5%);\n}\n\n\n\n//\n// Panels\n// --------------------------------------------------\n\n// Common styles\n.panel {\n  .box-shadow(0 1px 2px rgba(0,0,0,.05));\n}\n\n// Mixin for generating new styles\n.panel-heading-styles(@color) {\n  #gradient > .vertical(@start-color: @color; @end-color: darken(@color, 5%));\n}\n\n// Apply the mixin to the panel headings only\n.panel-default > .panel-heading   { .panel-heading-styles(@panel-default-heading-bg); }\n.panel-primary > .panel-heading   { .panel-heading-styles(@panel-primary-heading-bg); }\n.panel-success > .panel-heading   { .panel-heading-styles(@panel-success-heading-bg); }\n.panel-info > .panel-heading      { .panel-heading-styles(@panel-info-heading-bg); }\n.panel-warning > .panel-heading   { .panel-heading-styles(@panel-warning-heading-bg); }\n.panel-danger > .panel-heading    { .panel-heading-styles(@panel-danger-heading-bg); }\n\n\n\n//\n// Wells\n// --------------------------------------------------\n\n.well {\n  #gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);\n  border-color: darken(@well-bg, 10%);\n  @shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);\n  .box-shadow(@shadow);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/thumbnails.less",
    "content": "//\n// Thumbnails\n// --------------------------------------------------\n\n\n// Mixin and adjust the regular image class\n.thumbnail {\n  display: block;\n  padding: @thumbnail-padding;\n  margin-bottom: @line-height-computed;\n  line-height: @line-height-base;\n  background-color: @thumbnail-bg;\n  border: 1px solid @thumbnail-border;\n  border-radius: @thumbnail-border-radius;\n  .transition(all .2s ease-in-out);\n\n  > img,\n  a > img {\n    .img-responsive();\n    margin-left: auto;\n    margin-right: auto;\n  }\n\n  // Add a hover state for linked versions only\n  a&:hover,\n  a&:focus,\n  a&.active {\n    border-color: @link-color;\n  }\n\n  // Image captions\n  .caption {\n    padding: @thumbnail-caption-padding;\n    color: @thumbnail-caption-color;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/tooltip.less",
    "content": "//\n// Tooltips\n// --------------------------------------------------\n\n\n// Base class\n.tooltip {\n  position: absolute;\n  z-index: @zindex-tooltip;\n  display: block;\n  visibility: visible;\n  font-size: @font-size-small;\n  line-height: 1.4;\n  .opacity(0);\n\n  &.in     { .opacity(.9); }\n  &.top    { margin-top:  -3px; padding: @tooltip-arrow-width 0; }\n  &.right  { margin-left:  3px; padding: 0 @tooltip-arrow-width; }\n  &.bottom { margin-top:   3px; padding: @tooltip-arrow-width 0; }\n  &.left   { margin-left: -3px; padding: 0 @tooltip-arrow-width; }\n}\n\n// Wrapper for the tooltip content\n.tooltip-inner {\n  max-width: @tooltip-max-width;\n  padding: 3px 8px;\n  color: @tooltip-color;\n  text-align: center;\n  text-decoration: none;\n  background-color: @tooltip-bg;\n  border-radius: @border-radius-base;\n}\n\n// Arrows\n.tooltip-arrow {\n  position: absolute;\n  width: 0;\n  height: 0;\n  border-color: transparent;\n  border-style: solid;\n}\n.tooltip {\n  &.top .tooltip-arrow {\n    bottom: 0;\n    left: 50%;\n    margin-left: -@tooltip-arrow-width;\n    border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n    border-top-color: @tooltip-arrow-color;\n  }\n  &.top-left .tooltip-arrow {\n    bottom: 0;\n    left: @tooltip-arrow-width;\n    border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n    border-top-color: @tooltip-arrow-color;\n  }\n  &.top-right .tooltip-arrow {\n    bottom: 0;\n    right: @tooltip-arrow-width;\n    border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n    border-top-color: @tooltip-arrow-color;\n  }\n  &.right .tooltip-arrow {\n    top: 50%;\n    left: 0;\n    margin-top: -@tooltip-arrow-width;\n    border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;\n    border-right-color: @tooltip-arrow-color;\n  }\n  &.left .tooltip-arrow {\n    top: 50%;\n    right: 0;\n    margin-top: -@tooltip-arrow-width;\n    border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;\n    border-left-color: @tooltip-arrow-color;\n  }\n  &.bottom .tooltip-arrow {\n    top: 0;\n    left: 50%;\n    margin-left: -@tooltip-arrow-width;\n    border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n    border-bottom-color: @tooltip-arrow-color;\n  }\n  &.bottom-left .tooltip-arrow {\n    top: 0;\n    left: @tooltip-arrow-width;\n    border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n    border-bottom-color: @tooltip-arrow-color;\n  }\n  &.bottom-right .tooltip-arrow {\n    top: 0;\n    right: @tooltip-arrow-width;\n    border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n    border-bottom-color: @tooltip-arrow-color;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/type.less",
    "content": "//\n// Typography\n// --------------------------------------------------\n\n\n// Headings\n// -------------------------\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n  font-family: @headings-font-family;\n  font-weight: @headings-font-weight;\n  line-height: @headings-line-height;\n  color: @headings-color;\n\n  small,\n  .small {\n    font-weight: normal;\n    line-height: 1;\n    color: @headings-small-color;\n  }\n}\n\nh1,\nh2,\nh3 {\n  margin-top: @line-height-computed;\n  margin-bottom: (@line-height-computed / 2);\n\n  small,\n  .small {\n    font-size: 65%;\n  }\n}\nh4,\nh5,\nh6 {\n  margin-top: (@line-height-computed / 2);\n  margin-bottom: (@line-height-computed / 2);\n\n  small,\n  .small {\n    font-size: 75%;\n  }\n}\n\nh1, .h1 { font-size: @font-size-h1; }\nh2, .h2 { font-size: @font-size-h2; }\nh3, .h3 { font-size: @font-size-h3; }\nh4, .h4 { font-size: @font-size-h4; }\nh5, .h5 { font-size: @font-size-h5; }\nh6, .h6 { font-size: @font-size-h6; }\n\n\n// Body text\n// -------------------------\n\np {\n  margin: 0 0 (@line-height-computed / 2);\n}\n\n.lead {\n  margin-bottom: @line-height-computed;\n  font-size: floor(@font-size-base * 1.15);\n  font-weight: 200;\n  line-height: 1.4;\n\n  @media (min-width: @screen-sm-min) {\n    font-size: (@font-size-base * 1.5);\n  }\n}\n\n\n// Emphasis & misc\n// -------------------------\n\n// Ex: 14px base font * 85% = about 12px\nsmall,\n.small  { font-size: 85%; }\n\n// Undo browser default styling\ncite    { font-style: normal; }\n\n// Contextual emphasis\n.text-muted {\n  color: @text-muted;\n}\n.text-primary {\n  color: @brand-primary;\n  &:hover {\n    color: darken(@brand-primary, 10%);\n  }\n}\n.text-warning {\n  color: @state-warning-text;\n  &:hover {\n    color: darken(@state-warning-text, 10%);\n  }\n}\n.text-danger {\n  color: @state-danger-text;\n  &:hover {\n    color: darken(@state-danger-text, 10%);\n  }\n}\n.text-success {\n  color: @state-success-text;\n  &:hover {\n    color: darken(@state-success-text, 10%);\n  }\n}\n.text-info {\n  color: @state-info-text;\n  &:hover {\n    color: darken(@state-info-text, 10%);\n  }\n}\n\n// Alignment\n.text-left           { text-align: left; }\n.text-right          { text-align: right; }\n.text-center         { text-align: center; }\n\n\n// Page header\n// -------------------------\n\n.page-header {\n  padding-bottom: ((@line-height-computed / 2) - 1);\n  margin: (@line-height-computed * 2) 0 @line-height-computed;\n  border-bottom: 1px solid @page-header-border-color;\n}\n\n\n// Lists\n// --------------------------------------------------\n\n// Unordered and Ordered lists\nul,\nol {\n  margin-top: 0;\n  margin-bottom: (@line-height-computed / 2);\n  ul,\n  ol {\n    margin-bottom: 0;\n  }\n}\n\n// List options\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n.list-unstyled {\n  padding-left: 0;\n  list-style: none;\n}\n\n// Inline turns list items into inline-block\n.list-inline {\n  .list-unstyled();\n\n  > li {\n    display: inline-block;\n    padding-left: 5px;\n    padding-right: 5px;\n\n    &:first-child {\n      padding-left: 0;\n    }\n  }\n}\n\n// Description Lists\ndl {\n  margin-top: 0; // Remove browser default\n  margin-bottom: @line-height-computed;\n}\ndt,\ndd {\n  line-height: @line-height-base;\n}\ndt {\n  font-weight: bold;\n}\ndd {\n  margin-left: 0; // Undo browser default\n}\n\n// Horizontal description lists\n//\n// Defaults to being stacked without any of the below styles applied, until the\n// grid breakpoint is reached (default of ~768px).\n\n@media (min-width: @grid-float-breakpoint) {\n  .dl-horizontal {\n    dt {\n      float: left;\n      width: (@component-offset-horizontal - 20);\n      clear: left;\n      text-align: right;\n      .text-overflow();\n    }\n    dd {\n      margin-left: @component-offset-horizontal;\n      .clearfix(); // Clear the floated `dt` if an empty `dd` is present\n    }\n  }\n}\n\n// MISC\n// ----\n\n// Abbreviations and acronyms\nabbr[title],\n// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257\nabbr[data-original-title] {\n  cursor: help;\n  border-bottom: 1px dotted @abbr-border-color;\n}\n.initialism {\n  font-size: 90%;\n  text-transform: uppercase;\n}\n\n// Blockquotes\nblockquote {\n  padding: (@line-height-computed / 2) @line-height-computed;\n  margin: 0 0 @line-height-computed;\n  border-left: 5px solid @blockquote-border-color;\n  p {\n    font-size: (@font-size-base * 1.25);\n    font-weight: 300;\n    line-height: 1.25;\n  }\n  p:last-child {\n    margin-bottom: 0;\n  }\n  small,\n  .small {\n    display: block;\n    line-height: @line-height-base;\n    color: @blockquote-small-color;\n    &:before {\n      content: '\\2014 \\00A0'; // EM DASH, NBSP\n    }\n  }\n\n  // Float right with text-align: right\n  &.pull-right {\n    padding-right: 15px;\n    padding-left: 0;\n    border-right: 5px solid @blockquote-border-color;\n    border-left: 0;\n    p,\n    small,\n    .small {\n      text-align: right;\n    }\n    small,\n    .small {\n      &:before {\n        content: '';\n      }\n      &:after {\n        content: '\\00A0 \\2014'; // NBSP, EM DASH\n      }\n    }\n  }\n}\n\n// Quotes\nblockquote:before,\nblockquote:after {\n  content: \"\";\n}\n\n// Addresses\naddress {\n  margin-bottom: @line-height-computed;\n  font-style: normal;\n  line-height: @line-height-base;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/utilities.less",
    "content": "//\n// Utility classes\n// --------------------------------------------------\n\n\n// Floats\n// -------------------------\n\n.clearfix {\n  .clearfix();\n}\n.center-block {\n  .center-block();\n}\n.pull-right {\n  float: right !important;\n}\n.pull-left {\n  float: left !important;\n}\n\n\n// Toggling content\n// -------------------------\n\n// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1\n.hide {\n  display: none !important;\n}\n.show {\n  display: block !important;\n}\n.invisible {\n  visibility: hidden;\n}\n.text-hide {\n  .text-hide();\n}\n\n\n// Hide from screenreaders and browsers\n//\n// Credit: HTML5 Boilerplate\n\n.hidden {\n  display: none !important;\n  visibility: hidden !important;\n}\n\n\n// For Affix plugin\n// -------------------------\n\n.affix {\n  position: fixed;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/variables.less",
    "content": "//\n// Variables\n// --------------------------------------------------\n\n\n// Global values\n// --------------------------------------------------\n\n// Grays\n// -------------------------\n\n@gray-darker:            lighten(#000, 13.5%); // #222\n@gray-dark:              lighten(#000, 20%);   // #333\n@gray:                   lighten(#000, 33.5%); // #555\n@gray-light:             lighten(#000, 60%);   // #999\n@gray-lighter:           lighten(#000, 93.5%); // #eee\n\n// Brand colors\n// -------------------------\n\n@brand-primary:         #428bca;\n@brand-success:         #5cb85c;\n@brand-warning:         #f0ad4e;\n@brand-danger:          #d9534f;\n@brand-info:            #5bc0de;\n\n// Scaffolding\n// -------------------------\n\n@body-bg:               #fff;\n@text-color:            @gray-dark;\n\n// Links\n// -------------------------\n\n@link-color:            @brand-primary;\n@link-hover-color:      darken(@link-color, 15%);\n\n// Typography\n// -------------------------\n\n@font-family-sans-serif:  \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n@font-family-serif:       Georgia, \"Times New Roman\", Times, serif;\n@font-family-monospace:   Menlo, Monaco, Consolas, \"Courier New\", monospace;\n@font-family-base:        @font-family-sans-serif;\n\n@font-size-base:          14px;\n@font-size-large:         ceil(@font-size-base * 1.25); // ~18px\n@font-size-small:         ceil(@font-size-base * 0.85); // ~12px\n\n@font-size-h1:            floor(@font-size-base * 2.6); // ~36px\n@font-size-h2:            floor(@font-size-base * 2.15); // ~30px\n@font-size-h3:            ceil(@font-size-base * 1.7); // ~24px\n@font-size-h4:            ceil(@font-size-base * 1.25); // ~18px\n@font-size-h5:            @font-size-base;\n@font-size-h6:            ceil(@font-size-base * 0.85); // ~12px\n\n@line-height-base:        1.428571429; // 20/14\n@line-height-computed:    floor(@font-size-base * @line-height-base); // ~20px\n\n@headings-font-family:    @font-family-base;\n@headings-font-weight:    500;\n@headings-line-height:    1.1;\n@headings-color:          inherit;\n\n\n// Iconography\n// -------------------------\n\n@icon-font-path:          \"../fonts/\";\n@icon-font-name:          \"glyphicons-halflings-regular\";\n\n\n// Components\n// -------------------------\n// Based on 14px font-size and 1.428 line-height (~20px to start)\n\n@padding-base-vertical:          6px;\n@padding-base-horizontal:        12px;\n\n@padding-large-vertical:         10px;\n@padding-large-horizontal:       16px;\n\n@padding-small-vertical:         5px;\n@padding-small-horizontal:       10px;\n\n@padding-xs-vertical:            1px;\n@padding-xs-horizontal:          5px;\n\n@line-height-large:              1.33;\n@line-height-small:              1.5;\n\n@border-radius-base:             4px;\n@border-radius-large:            6px;\n@border-radius-small:            3px;\n\n@component-active-color:         #fff;\n@component-active-bg:            @brand-primary;\n\n@caret-width-base:               4px;\n@caret-width-large:              5px;\n\n// Tables\n// -------------------------\n\n@table-cell-padding:                 8px;\n@table-condensed-cell-padding:       5px;\n\n@table-bg:                           transparent; // overall background-color\n@table-bg-accent:                    #f9f9f9; // for striping\n@table-bg-hover:                     #f5f5f5;\n@table-bg-active:                    @table-bg-hover;\n\n@table-border-color:                 #ddd; // table and cell border\n\n\n// Buttons\n// -------------------------\n\n@btn-font-weight:                normal;\n\n@btn-default-color:              #333;\n@btn-default-bg:                 #fff;\n@btn-default-border:             #ccc;\n\n@btn-primary-color:              #fff;\n@btn-primary-bg:                 @brand-primary;\n@btn-primary-border:             darken(@btn-primary-bg, 5%);\n\n@btn-success-color:              #fff;\n@btn-success-bg:                 @brand-success;\n@btn-success-border:             darken(@btn-success-bg, 5%);\n\n@btn-warning-color:              #fff;\n@btn-warning-bg:                 @brand-warning;\n@btn-warning-border:             darken(@btn-warning-bg, 5%);\n\n@btn-danger-color:               #fff;\n@btn-danger-bg:                  @brand-danger;\n@btn-danger-border:              darken(@btn-danger-bg, 5%);\n\n@btn-info-color:                 #fff;\n@btn-info-bg:                    @brand-info;\n@btn-info-border:                darken(@btn-info-bg, 5%);\n\n@btn-link-disabled-color:        @gray-light;\n\n\n// Forms\n// -------------------------\n\n@input-bg:                       #fff;\n@input-bg-disabled:              @gray-lighter;\n\n@input-color:                    @gray;\n@input-border:                   #ccc;\n@input-border-radius:            @border-radius-base;\n@input-border-focus:             #66afe9;\n\n@input-color-placeholder:        @gray-light;\n\n@input-height-base:              (@line-height-computed + (@padding-base-vertical * 2) + 2);\n@input-height-large:             (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);\n@input-height-small:             (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);\n\n@legend-color:                   @gray-dark;\n@legend-border-color:            #e5e5e5;\n\n@input-group-addon-bg:           @gray-lighter;\n@input-group-addon-border-color: @input-border;\n\n\n// Dropdowns\n// -------------------------\n\n@dropdown-bg:                    #fff;\n@dropdown-border:                rgba(0,0,0,.15);\n@dropdown-fallback-border:       #ccc;\n@dropdown-divider-bg:            #e5e5e5;\n\n@dropdown-link-color:            @gray-dark;\n@dropdown-link-hover-color:      darken(@gray-dark, 5%);\n@dropdown-link-hover-bg:         #f5f5f5;\n\n@dropdown-link-active-color:     @component-active-color;\n@dropdown-link-active-bg:        @component-active-bg;\n\n@dropdown-link-disabled-color:   @gray-light;\n\n@dropdown-header-color:          @gray-light;\n\n\n// COMPONENT VARIABLES\n// --------------------------------------------------\n\n\n// Z-index master list\n// -------------------------\n// Used for a bird's eye view of components dependent on the z-axis\n// Try to avoid customizing these :)\n\n@zindex-navbar:            1000;\n@zindex-dropdown:          1000;\n@zindex-popover:           1010;\n@zindex-tooltip:           1030;\n@zindex-navbar-fixed:      1030;\n@zindex-modal-background:  1040;\n@zindex-modal:             1050;\n\n// Media queries breakpoints\n// --------------------------------------------------\n\n// Extra small screen / phone\n// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1\n@screen-xs:                  480px;\n@screen-xs-min:              @screen-xs;\n@screen-phone:               @screen-xs-min;\n\n// Small screen / tablet\n// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1\n@screen-sm:                  768px;\n@screen-sm-min:              @screen-sm;\n@screen-tablet:              @screen-sm-min;\n\n// Medium screen / desktop\n// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1\n@screen-md:                  992px;\n@screen-md-min:              @screen-md;\n@screen-desktop:             @screen-md-min;\n\n// Large screen / wide desktop\n// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1\n@screen-lg:                  1200px;\n@screen-lg-min:              @screen-lg;\n@screen-lg-desktop:          @screen-lg-min;\n\n// So media queries don't overlap when required, provide a maximum\n@screen-xs-max:              (@screen-sm-min - 1);\n@screen-sm-max:              (@screen-md-min - 1);\n@screen-md-max:              (@screen-lg-min - 1);\n\n\n// Grid system\n// --------------------------------------------------\n\n// Number of columns in the grid system\n@grid-columns:              12;\n// Padding, to be divided by two and applied to the left and right of all columns\n@grid-gutter-width:         30px;\n\n// Navbar collapse\n\n// Point at which the navbar becomes uncollapsed\n@grid-float-breakpoint:     @screen-sm-min;\n// Point at which the navbar begins collapsing\n@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);\n\n\n// Navbar\n// -------------------------\n\n// Basics of a navbar\n@navbar-height:                    50px;\n@navbar-margin-bottom:             @line-height-computed;\n@navbar-border-radius:             @border-radius-base;\n@navbar-padding-horizontal:        floor(@grid-gutter-width / 2);\n@navbar-padding-vertical:          ((@navbar-height - @line-height-computed) / 2);\n\n@navbar-default-color:             #777;\n@navbar-default-bg:                #f8f8f8;\n@navbar-default-border:            darken(@navbar-default-bg, 6.5%);\n\n// Navbar links\n@navbar-default-link-color:                #777;\n@navbar-default-link-hover-color:          #333;\n@navbar-default-link-hover-bg:             transparent;\n@navbar-default-link-active-color:         #555;\n@navbar-default-link-active-bg:            darken(@navbar-default-bg, 6.5%);\n@navbar-default-link-disabled-color:       #ccc;\n@navbar-default-link-disabled-bg:          transparent;\n\n// Navbar brand label\n@navbar-default-brand-color:               @navbar-default-link-color;\n@navbar-default-brand-hover-color:         darken(@navbar-default-brand-color, 10%);\n@navbar-default-brand-hover-bg:            transparent;\n\n// Navbar toggle\n@navbar-default-toggle-hover-bg:           #ddd;\n@navbar-default-toggle-icon-bar-bg:        #ccc;\n@navbar-default-toggle-border-color:       #ddd;\n\n\n// Inverted navbar\n//\n// Reset inverted navbar basics\n@navbar-inverse-color:                      @gray-light;\n@navbar-inverse-bg:                         #222;\n@navbar-inverse-border:                     darken(@navbar-inverse-bg, 10%);\n\n// Inverted navbar links\n@navbar-inverse-link-color:                 @gray-light;\n@navbar-inverse-link-hover-color:           #fff;\n@navbar-inverse-link-hover-bg:              transparent;\n@navbar-inverse-link-active-color:          @navbar-inverse-link-hover-color;\n@navbar-inverse-link-active-bg:             darken(@navbar-inverse-bg, 10%);\n@navbar-inverse-link-disabled-color:        #444;\n@navbar-inverse-link-disabled-bg:           transparent;\n\n// Inverted navbar brand label\n@navbar-inverse-brand-color:                @navbar-inverse-link-color;\n@navbar-inverse-brand-hover-color:          #fff;\n@navbar-inverse-brand-hover-bg:             transparent;\n\n// Inverted navbar toggle\n@navbar-inverse-toggle-hover-bg:            #333;\n@navbar-inverse-toggle-icon-bar-bg:         #fff;\n@navbar-inverse-toggle-border-color:        #333;\n\n\n// Navs\n// -------------------------\n\n@nav-link-padding:                          10px 15px;\n@nav-link-hover-bg:                         @gray-lighter;\n\n@nav-disabled-link-color:                   @gray-light;\n@nav-disabled-link-hover-color:             @gray-light;\n\n@nav-open-link-hover-color:                 #fff;\n\n// Tabs\n@nav-tabs-border-color:                     #ddd;\n\n@nav-tabs-link-hover-border-color:          @gray-lighter;\n\n@nav-tabs-active-link-hover-bg:             @body-bg;\n@nav-tabs-active-link-hover-color:          @gray;\n@nav-tabs-active-link-hover-border-color:   #ddd;\n\n@nav-tabs-justified-link-border-color:            #ddd;\n@nav-tabs-justified-active-link-border-color:     @body-bg;\n\n// Pills\n@nav-pills-border-radius:                   @border-radius-base;\n@nav-pills-active-link-hover-bg:            @component-active-bg;\n@nav-pills-active-link-hover-color:         @component-active-color;\n\n\n// Pagination\n// -------------------------\n\n@pagination-bg:                        #fff;\n@pagination-border:                    #ddd;\n\n@pagination-hover-bg:                  @gray-lighter;\n\n@pagination-active-bg:                 @brand-primary;\n@pagination-active-color:              #fff;\n\n@pagination-disabled-color:            @gray-light;\n\n\n// Pager\n// -------------------------\n\n@pager-border-radius:                  15px;\n@pager-disabled-color:                 @gray-light;\n\n\n// Jumbotron\n// -------------------------\n\n@jumbotron-padding:              30px;\n@jumbotron-color:                inherit;\n@jumbotron-bg:                   @gray-lighter;\n@jumbotron-heading-color:        inherit;\n@jumbotron-font-size:            ceil(@font-size-base * 1.5);\n\n\n// Form states and alerts\n// -------------------------\n\n@state-success-text:             #3c763d;\n@state-success-bg:               #dff0d8;\n@state-success-border:           darken(spin(@state-success-bg, -10), 5%);\n\n@state-info-text:                #31708f;\n@state-info-bg:                  #d9edf7;\n@state-info-border:              darken(spin(@state-info-bg, -10), 7%);\n\n@state-warning-text:             #8a6d3b;\n@state-warning-bg:               #fcf8e3;\n@state-warning-border:           darken(spin(@state-warning-bg, -10), 5%);\n\n@state-danger-text:              #a94442;\n@state-danger-bg:                #f2dede;\n@state-danger-border:            darken(spin(@state-danger-bg, -10), 5%);\n\n\n// Tooltips\n// -------------------------\n@tooltip-max-width:           200px;\n@tooltip-color:               #fff;\n@tooltip-bg:                  #000;\n\n@tooltip-arrow-width:         5px;\n@tooltip-arrow-color:         @tooltip-bg;\n\n\n// Popovers\n// -------------------------\n@popover-bg:                          #fff;\n@popover-max-width:                   276px;\n@popover-border-color:                rgba(0,0,0,.2);\n@popover-fallback-border-color:       #ccc;\n\n@popover-title-bg:                    darken(@popover-bg, 3%);\n\n@popover-arrow-width:                 10px;\n@popover-arrow-color:                 #fff;\n\n@popover-arrow-outer-width:           (@popover-arrow-width + 1);\n@popover-arrow-outer-color:           rgba(0,0,0,.25);\n@popover-arrow-outer-fallback-color:  #999;\n\n\n// Labels\n// -------------------------\n\n@label-default-bg:            @gray-light;\n@label-primary-bg:            @brand-primary;\n@label-success-bg:            @brand-success;\n@label-info-bg:               @brand-info;\n@label-warning-bg:            @brand-warning;\n@label-danger-bg:             @brand-danger;\n\n@label-color:                 #fff;\n@label-link-hover-color:      #fff;\n\n\n// Modals\n// -------------------------\n@modal-inner-padding:         20px;\n\n@modal-title-padding:         15px;\n@modal-title-line-height:     @line-height-base;\n\n@modal-content-bg:                             #fff;\n@modal-content-border-color:                   rgba(0,0,0,.2);\n@modal-content-fallback-border-color:          #999;\n\n@modal-backdrop-bg:           #000;\n@modal-header-border-color:   #e5e5e5;\n@modal-footer-border-color:   @modal-header-border-color;\n\n\n// Alerts\n// -------------------------\n@alert-padding:               15px;\n@alert-border-radius:         @border-radius-base;\n@alert-link-font-weight:      bold;\n\n@alert-success-bg:            @state-success-bg;\n@alert-success-text:          @state-success-text;\n@alert-success-border:        @state-success-border;\n\n@alert-info-bg:               @state-info-bg;\n@alert-info-text:             @state-info-text;\n@alert-info-border:           @state-info-border;\n\n@alert-warning-bg:            @state-warning-bg;\n@alert-warning-text:          @state-warning-text;\n@alert-warning-border:        @state-warning-border;\n\n@alert-danger-bg:             @state-danger-bg;\n@alert-danger-text:           @state-danger-text;\n@alert-danger-border:         @state-danger-border;\n\n\n// Progress bars\n// -------------------------\n@progress-bg:                 #f5f5f5;\n@progress-bar-color:          #fff;\n\n@progress-bar-bg:             @brand-primary;\n@progress-bar-success-bg:     @brand-success;\n@progress-bar-warning-bg:     @brand-warning;\n@progress-bar-danger-bg:      @brand-danger;\n@progress-bar-info-bg:        @brand-info;\n\n\n// List group\n// -------------------------\n@list-group-bg:               #fff;\n@list-group-border:           #ddd;\n@list-group-border-radius:    @border-radius-base;\n\n@list-group-hover-bg:         #f5f5f5;\n@list-group-active-color:     @component-active-color;\n@list-group-active-bg:        @component-active-bg;\n@list-group-active-border:    @list-group-active-bg;\n\n@list-group-link-color:          #555;\n@list-group-link-heading-color:  #333;\n\n\n// Panels\n// -------------------------\n@panel-bg:                    #fff;\n@panel-inner-border:          #ddd;\n@panel-border-radius:         @border-radius-base;\n@panel-footer-bg:             #f5f5f5;\n\n@panel-default-text:          @gray-dark;\n@panel-default-border:        #ddd;\n@panel-default-heading-bg:    #f5f5f5;\n\n@panel-primary-text:          #fff;\n@panel-primary-border:        @brand-primary;\n@panel-primary-heading-bg:    @brand-primary;\n\n@panel-success-text:          @state-success-text;\n@panel-success-border:        @state-success-border;\n@panel-success-heading-bg:    @state-success-bg;\n\n@panel-warning-text:          @state-warning-text;\n@panel-warning-border:        @state-warning-border;\n@panel-warning-heading-bg:    @state-warning-bg;\n\n@panel-danger-text:           @state-danger-text;\n@panel-danger-border:         @state-danger-border;\n@panel-danger-heading-bg:     @state-danger-bg;\n\n@panel-info-text:             @state-info-text;\n@panel-info-border:           @state-info-border;\n@panel-info-heading-bg:       @state-info-bg;\n\n\n// Thumbnails\n// -------------------------\n@thumbnail-padding:           4px;\n@thumbnail-bg:                @body-bg;\n@thumbnail-border:            #ddd;\n@thumbnail-border-radius:     @border-radius-base;\n\n@thumbnail-caption-color:     @text-color;\n@thumbnail-caption-padding:   9px;\n\n\n// Wells\n// -------------------------\n@well-bg:                     #f5f5f5;\n\n\n// Badges\n// -------------------------\n@badge-color:                 #fff;\n@badge-link-hover-color:      #fff;\n@badge-bg:                    @gray-light;\n\n@badge-active-color:          @link-color;\n@badge-active-bg:             #fff;\n\n@badge-font-weight:           bold;\n@badge-line-height:           1;\n@badge-border-radius:         10px;\n\n\n// Breadcrumbs\n// -------------------------\n@breadcrumb-bg:               #f5f5f5;\n@breadcrumb-color:            #ccc;\n@breadcrumb-active-color:     @gray-light;\n@breadcrumb-separator:        \"/\";\n\n\n// Carousel\n// ------------------------\n\n@carousel-text-shadow:                        0 1px 2px rgba(0,0,0,.6);\n\n@carousel-control-color:                      #fff;\n@carousel-control-width:                      15%;\n@carousel-control-opacity:                    .5;\n@carousel-control-font-size:                  20px;\n\n@carousel-indicator-active-bg:                #fff;\n@carousel-indicator-border-color:             #fff;\n\n@carousel-caption-color:                      #fff;\n\n\n// Close\n// ------------------------\n@close-font-weight:           bold;\n@close-color:                 #000;\n@close-text-shadow:           0 1px 0 #fff;\n\n\n// Code\n// ------------------------\n@code-color:                  #c7254e;\n@code-bg:                     #f9f2f4;\n\n@pre-bg:                      #f5f5f5;\n@pre-color:                   @gray-dark;\n@pre-border-color:            #ccc;\n@pre-scrollable-max-height:   340px;\n\n// Type\n// ------------------------\n@text-muted:                  @gray-light;\n@abbr-border-color:           @gray-light;\n@headings-small-color:        @gray-light;\n@blockquote-small-color:      @gray-light;\n@blockquote-border-color:     @gray-lighter;\n@page-header-border-color:    @gray-lighter;\n\n// Miscellaneous\n// -------------------------\n\n// Hr border color\n@hr-border:                   @gray-lighter;\n\n// Horizontal forms & lists\n@component-offset-horizontal: 180px;\n\n\n// Container sizes\n// --------------------------------------------------\n\n// Small screen / tablet\n@container-tablet:             ((720px + @grid-gutter-width));\n@container-sm:                 @container-tablet;\n\n// Medium screen / desktop\n@container-desktop:            ((940px + @grid-gutter-width));\n@container-md:                 @container-desktop;\n\n// Large screen / wide desktop\n@container-large-desktop:      ((1140px + @grid-gutter-width));\n@container-lg:                 @container-large-desktop;\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/less/wells.less",
    "content": "//\n// Wells\n// --------------------------------------------------\n\n\n// Base class\n.well {\n  min-height: 20px;\n  padding: 19px;\n  margin-bottom: 20px;\n  background-color: @well-bg;\n  border: 1px solid darken(@well-bg, 7%);\n  border-radius: @border-radius-base;\n  .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));\n  blockquote {\n    border-color: #ddd;\n    border-color: rgba(0,0,0,.15);\n  }\n}\n\n// Sizes\n.well-lg {\n  padding: 24px;\n  border-radius: @border-radius-large;\n}\n.well-sm {\n  padding: 9px;\n  border-radius: @border-radius-small;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/bootstrap-3.0.3/package.json",
    "content": "{\n    \"name\": \"bootstrap\"\n  , \"description\": \"Sleek, intuitive, and powerful front-end framework for faster and easier web development.\"\n  , \"version\": \"3.0.3\"\n  , \"keywords\": [\"bootstrap\", \"css\"]\n  , \"homepage\": \"http://getbootstrap.com\"\n  , \"author\": \"Twitter, Inc.\"\n  , \"scripts\": { \"test\": \"grunt test\" }\n  , \"repository\": {\n      \"type\": \"git\"\n    , \"url\": \"https://github.com/twbs/bootstrap.git\"\n  }\n  , \"bugs\": {\n      \"url\": \"https://github.com/twbs/bootstrap/issues\"\n  }\n  , \"licenses\": [\n    {\n        \"type\": \"Apache-2.0\"\n      , \"url\": \"http://www.apache.org/licenses/LICENSE-2.0\"\n    }\n  ]\n  , \"devDependencies\": {\n      \"btoa\": \"~1.1.1\"\n    , \"grunt\": \"~0.4.1\"\n    , \"grunt-contrib-clean\": \"~0.5.0\"\n    , \"grunt-contrib-concat\": \"~0.3.0\"\n    , \"grunt-contrib-connect\": \"~0.5.0\"\n    , \"grunt-contrib-copy\": \"~0.4.1\"\n    , \"grunt-contrib-jshint\": \"~0.7.0\"\n    , \"grunt-contrib-qunit\": \"~0.3.0\"\n    , \"grunt-contrib-uglify\": \"~0.2.4\"\n    , \"grunt-contrib-watch\": \"~0.5.3\"\n    , \"grunt-html-validation\": \"~0.1.6\"\n    , \"grunt-jekyll\": \"~0.4.0\"\n    , \"grunt-recess\": \"~0.5.0\"\n    , \"grunt-saucelabs\": \"~4.1.2\"\n    , \"grunt-sed\": \"~0.1.1\"\n    , \"regexp-quote\": \"~0.0.0\"\n  }\n  , \"jspm\": {\n      \"main\": \"js/bootstrap\"\n    , \"directories\": { \"lib\": \"dist\" }\n    , \"shim\": {\n        \"js/bootstrap\": {\n            \"imports\": \"jquery\"\n          , \"exports\": \"$\"\n        }\n    }\n    , \"buildConfig\": { \"uglify\": true }\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/.gitattributes",
    "content": "*.txt   text\n*.js    text\n*.html  text\n*.md    text\n*.json  text\n*.yml   text\n*.css   text\n*.svg   text\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/.gitignore",
    "content": "/node_modules\n/npm-debug.log\ntest.html\n.tern-*\n*~\n*.swp\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/.travis.yml",
    "content": "language: node_js\nnode_js:\n  - 0.8\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/AUTHORS",
    "content": "List of CodeMirror contributors. Updated before every release.\n\n4r2r\nAaron Brooks\nAdam King\nadanlobato\nAdán Lobato\naeroson\nAhmad Amireh\nAhmad M. Zawawi\nahoward\nAkeksandr Motsjonov\nAlbert Xing\nAlexander Pavlov\nAlexander Schepanovski\nalexey-k\nAlex Piggott\nAmy\nAnanya Sen\nAndersMad\nAndre von Houck\nAndrey Lushnikov\nAndy Kimball\nAndy Li\nangelozerr\nangelo.zerr@gmail.com\nAnkit Ahuja\nAnsel Santosa\nAnthony Grimes\nareos\nAtul Bhouraskar\nAurelian Oancea\nBastian Müller\nbenbro\nBenjamin DeCoste\nBen Keen\nboomyjee\nborawjm\nBrandon Frohs\nBrett Zamir\nBrian Sletten\nBruce Mitchener\nChandra Sekhar Pydi\nCharles Skelton\nChris Coyier\nChris Granger\nChris Morgan\nChristopher Brown\nciaranj\nCodeAnimal\nComFreek\ndagsta\nDan Heberden\nDaniel, Dao Quang Minh\nDaniel Faust\nDaniel Huigens\nDaniel Neel\nDaniel Parnell\nDanny Yoo\nDavid Mignot\nDavid Pathakjee\ndeebugger\nDeep Thought\nDominator008\nDomizio Demichelis\nDrew Bratcher\nDrew Hintz\nDrew Khoury\nDror BG\nduralog\nedsharp\nekhaled\nEric Allam\neustas\nFauntleroy\nfbuchinger\nfeizhang365\nFelipe Lalanne\nFelix Raab\nFilip Noetzel\nflack\nForbesLindesay\nFord_Lawnmower\nGabriel Nahmias\ngalambalazs\nGautam Mehta\nGlenn Jorde\nGlenn Ruehle\nGolevka\nGordon Smith\ngreengiant\nGuillaume Massé\nGuillaume Massé\nHans Engel\nHardest\nHasan Karahan\nHocdoc\nIan Beck\nIan Wehrman\nIan Wetherbee\nIce White\nICHIKAWA, Yuji\nIngo Richter\nIrakli Gozalishvili\nIvan Kurnosov\nJacob Lee\nJakub Vrana\nJames Campos\nJames Thorne\nJamie Hill\nJan Jongboom\njankeromnes\nJan Keromnes\nJan T. Sott\nJason\nJason Grout\nJason Johnston\nJason San Jose\nJason Siefken\nJean Boussier\njeffkenton\nJeff Pickhardt\njem (graphite)\nJochen Berger\nJohn Connor\nJohn Lees-Miller\nJohn Snelson\njongalloway\nJoost-Wim Boekesteijn\nJoseph Pecoraro\nJoshua Newman\njots\nJuan Benavides Romero\nJucovschi Constantin\njwallers@gmail.com\nkaniga\nKen Newman\nKen Rockot\nKevin Sawicki\nKlaus Silveira\nKoh Zi Han, Cliff\nkomakino\nKonstantin Lopuhin\nkoops\nks-ifware\nkubelsmieci\nLanny\nleaf corcoran\nLeonya Khachaturov\nLiam Newman\nLM\nLorenzo Stoakes\nlynschinzer\nMaksim Lin\nMaksym Taran\nMarat Dreizin\nMarco Aurélio\nMarijn Haverbeke\nMario Pietsch\nMark Lentczner\nMartin Balek\nMartín Gaitán\nMason Malone\nMateusz Paprocki\nmats cronqvist\nMatthew Beale\nMatthias BUSSONNIER\nMatt McDonald\nMatt Pass\nMatt Sacks\nMaximilian Hils\nMax Kirsch\nmbarkhau\nMetatheos\nMicah Dubinko\nMichael Lehenbauer\nMichael Zhou\nMighty Guava\nMiguel Castillo\nMike\nMike Brevoort\nMike Diaz\nMike Ivanov\nMike Kadin\nMinRK\nmisfo\nmps\nNarciso Jaramillo\nNathan Williams\nnerbert\nnguillaumin\nNiels van Groningen\nNikita Beloglazov\nNikita Vasilyev\nnlwillia\npablo\nPage\nPatrick Strawderman\nPaul Garvin\nPaul Ivanov\nPavel Feldman\nPaweł Bartkiewicz\npeteguhl\npeterkroon\nPeter Kroon\nprasanthj\nPrasanth J\nRahul\nRandy Edmunds\nRichard Z.H. Wang\nrobertop23\nRobert Plummer\nRuslan Osmanov\nsabaca\nSamuel Ainsworth\nsandeepshetty\nsantec\nSascha Peilicke\nsatchmorun\nsathyamoorthi\nSCLINIC\\jdecker\nshaund\nshaun gilchrist\nShmuel Englard\nsonson\nspastorelli\nStas Kobzar\nStefan Borsje\nSteffen Beyer\nSteve O'Hara\nstoskov\nTarmil\ntfjgeorge\nThaddee Tyl\nthink\nThomas Dvornik\nThomas Schmid\nTim Baumann\nTimothy Farrell\nTimothy Hatcher\nTobiasBg\nTomas-A\nTomas Varaneckas\nTom Erik Støwer\nTom MacWright\nTony Jian\nVestimir Markov\nvf\nVolker Mische\nWilliam Jamieson\nWojtek Ptak\nXavier Mendez\nYunchi Luo\nYuvi Panda\nZachary Dremann\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/CONTRIBUTING.md",
    "content": "# How to contribute\n\n- [Getting help](#getting-help-)\n- [Submitting bug reports](#submitting-bug-reports-)\n- [Contributing code](#contributing-code-)\n\n## Getting help\n\nCommunity discussion, questions, and informal bug reporting is done on the\n[CodeMirror Google group](http://groups.google.com/group/codemirror).\n\n## Submitting bug reports\n\nThe preferred way to report bugs is to use the\n[GitHub issue tracker](http://github.com/marijnh/CodeMirror/issues). Before\nreporting a bug, read these pointers.\n\n**Note:** The issue tracker is for *bugs*, not requests for help. Questions\nshould be asked on the\n[CodeMirror Google group](http://groups.google.com/group/codemirror) instead.\n\n### Reporting bugs effectively\n\n- CodeMirror is maintained by volunteers. They don't owe you anything, so be\n  polite. Reports with an indignant or belligerent tone tend to be moved to the\n  bottom of the pile.\n\n- Include information about **the browser in which the problem occurred**. Even\n  if you tested several browsers, and the problem occurred in all of them,\n  mention this fact in the bug report. Also include browser version numbers and\n  the operating system that you're on.\n\n- Mention which release of CodeMirror you're using. Preferably, try also with\n  the current development snapshot, to ensure the problem has not already been\n  fixed.\n\n- Mention very precisely what went wrong. \"X is broken\" is not a good bug\n  report. What did you expect to happen? What happened instead? Describe the\n  exact steps a maintainer has to take to make the problem occur. We can not\n  fix something that we can not observe.\n\n- If the problem can not be reproduced in any of the demos included in the\n  CodeMirror distribution, please provide an HTML document that demonstrates\n  the problem. The best way to do this is to go to\n  [jsbin.com](http://jsbin.com/ihunin/edit), enter it there, press save, and\n  include the resulting link in your bug report.\n\n## Contributing code\n\n- Make sure you have a [GitHub Account](https://github.com/signup/free)\n- Fork [CodeMirror](https://github.com/marijnh/CodeMirror/)\n  ([how to fork a repo](https://help.github.com/articles/fork-a-repo))\n- Make your changes\n- If your changes are easy to test or likely to regress, add tests.\n  Tests for the core go into `test/test.js`, some modes have their own\n  test suite under `mode/XXX/test.js`. Feel free to add new test\n  suites to modes that don't have one yet (be sure to link the new\n  tests into `test/index.html`).\n- Follow the general code style of the rest of the project (see\n  below). Run `bin/lint` to verify that the linter is happy.\n- Make sure all tests pass. Visit `test/index.html` in your browser to\n  run them.\n- Submit a pull request\n([how to create a pull request](https://help.github.com/articles/fork-a-repo))\n\n### Coding standards\n\n- 2 spaces per indentation level, no tabs.\n- Include semicolons after statements.\n- Note that the linter (`bin/lint`) which is run after each commit\n  complains about unused variables and functions. Prefix their names\n  with an underscore to muffle it.\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/LICENSE",
    "content": "Copyright (C) 2013 by Marijn Haverbeke <marijnh@gmail.com> and others\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/README.md",
    "content": "# CodeMirror\n[![Build Status](https://secure.travis-ci.org/marijnh/CodeMirror.png?branch=master)](http://travis-ci.org/marijnh/CodeMirror)\n[![NPM version](https://badge.fury.io/js/codemirror.png)](http://badge.fury.io/js/codemirror)\n\nCodeMirror is a JavaScript component that provides a code editor in\nthe browser. When a mode is available for the language you are coding\nin, it will color your code, and optionally help with indentation.\n\nThe project page is http://codemirror.net  \nThe manual is at http://codemirror.net/doc/manual.html  \nThe contributing guidelines are in [CONTRIBUTING.md](https://github.com/marijnh/CodeMirror/blob/master/CONTRIBUTING.md)\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/comment/comment.js",
    "content": "(function() {\n  \"use strict\";\n\n  var noOptions = {};\n  var nonWS = /[^\\s\\u00a0]/;\n  var Pos = CodeMirror.Pos;\n\n  function firstNonWS(str) {\n    var found = str.search(nonWS);\n    return found == -1 ? 0 : found;\n  }\n\n  CodeMirror.commands.toggleComment = function(cm) {\n    var from = cm.getCursor(\"start\"), to = cm.getCursor(\"end\");\n    cm.uncomment(from, to) || cm.lineComment(from, to);\n  };\n\n  CodeMirror.defineExtension(\"lineComment\", function(from, to, options) {\n    if (!options) options = noOptions;\n    var self = this, mode = self.getModeAt(from);\n    var commentString = options.lineComment || mode.lineComment;\n    if (!commentString) {\n      if (options.blockCommentStart || mode.blockCommentStart) {\n        options.fullLines = true;\n        self.blockComment(from, to, options);\n      }\n      return;\n    }\n    var firstLine = self.getLine(from.line);\n    if (firstLine == null) return;\n    var end = Math.min(to.ch != 0 || to.line == from.line ? to.line + 1 : to.line, self.lastLine() + 1);\n    var pad = options.padding == null ? \" \" : options.padding;\n    var blankLines = options.commentBlankLines || from.line == to.line;\n\n    self.operation(function() {\n      if (options.indent) {\n        var baseString = firstLine.slice(0, firstNonWS(firstLine));\n        for (var i = from.line; i < end; ++i) {\n          var line = self.getLine(i), cut = baseString.length;\n          if (!blankLines && !nonWS.test(line)) continue;\n          if (line.slice(0, cut) != baseString) cut = firstNonWS(line);\n          self.replaceRange(baseString + commentString + pad, Pos(i, 0), Pos(i, cut));\n        }\n      } else {\n        for (var i = from.line; i < end; ++i) {\n          if (blankLines || nonWS.test(self.getLine(i)))\n            self.replaceRange(commentString + pad, Pos(i, 0));\n        }\n      }\n    });\n  });\n\n  CodeMirror.defineExtension(\"blockComment\", function(from, to, options) {\n    if (!options) options = noOptions;\n    var self = this, mode = self.getModeAt(from);\n    var startString = options.blockCommentStart || mode.blockCommentStart;\n    var endString = options.blockCommentEnd || mode.blockCommentEnd;\n    if (!startString || !endString) {\n      if ((options.lineComment || mode.lineComment) && options.fullLines != false)\n        self.lineComment(from, to, options);\n      return;\n    }\n\n    var end = Math.min(to.line, self.lastLine());\n    if (end != from.line && to.ch == 0 && nonWS.test(self.getLine(end))) --end;\n\n    var pad = options.padding == null ? \" \" : options.padding;\n    if (from.line > end) return;\n\n    self.operation(function() {\n      if (options.fullLines != false) {\n        var lastLineHasText = nonWS.test(self.getLine(end));\n        self.replaceRange(pad + endString, Pos(end));\n        self.replaceRange(startString + pad, Pos(from.line, 0));\n        var lead = options.blockCommentLead || mode.blockCommentLead;\n        if (lead != null) for (var i = from.line + 1; i <= end; ++i)\n          if (i != end || lastLineHasText)\n            self.replaceRange(lead + pad, Pos(i, 0));\n      } else {\n        self.replaceRange(endString, to);\n        self.replaceRange(startString, from);\n      }\n    });\n  });\n\n  CodeMirror.defineExtension(\"uncomment\", function(from, to, options) {\n    if (!options) options = noOptions;\n    var self = this, mode = self.getModeAt(from);\n    var end = Math.min(to.line, self.lastLine()), start = Math.min(from.line, end);\n\n    // Try finding line comments\n    var lineString = options.lineComment || mode.lineComment, lines = [];\n    var pad = options.padding == null ? \" \" : options.padding, didSomething;\n    lineComment: {\n      if (!lineString) break lineComment;\n      for (var i = start; i <= end; ++i) {\n        var line = self.getLine(i);\n        var found = line.indexOf(lineString);\n        if (found == -1 && (i != end || i == start) && nonWS.test(line)) break lineComment;\n        if (i != start && found > -1 && nonWS.test(line.slice(0, found))) break lineComment;\n        lines.push(line);\n      }\n      self.operation(function() {\n        for (var i = start; i <= end; ++i) {\n          var line = lines[i - start];\n          var pos = line.indexOf(lineString), endPos = pos + lineString.length;\n          if (pos < 0) continue;\n          if (line.slice(endPos, endPos + pad.length) == pad) endPos += pad.length;\n          didSomething = true;\n          self.replaceRange(\"\", Pos(i, pos), Pos(i, endPos));\n        }\n      });\n      if (didSomething) return true;\n    }\n\n    // Try block comments\n    var startString = options.blockCommentStart || mode.blockCommentStart;\n    var endString = options.blockCommentEnd || mode.blockCommentEnd;\n    if (!startString || !endString) return false;\n    var lead = options.blockCommentLead || mode.blockCommentLead;\n    var startLine = self.getLine(start), endLine = end == start ? startLine : self.getLine(end);\n    var open = startLine.indexOf(startString), close = endLine.lastIndexOf(endString);\n    if (close == -1 && start != end) {\n      endLine = self.getLine(--end);\n      close = endLine.lastIndexOf(endString);\n    }\n    if (open == -1 || close == -1) return false;\n\n    self.operation(function() {\n      self.replaceRange(\"\", Pos(end, close - (pad && endLine.slice(close - pad.length, close) == pad ? pad.length : 0)),\n                        Pos(end, close + endString.length));\n      var openEnd = open + startString.length;\n      if (pad && startLine.slice(openEnd, openEnd + pad.length) == pad) openEnd += pad.length;\n      self.replaceRange(\"\", Pos(start, open), Pos(start, openEnd));\n      if (lead) for (var i = start + 1; i <= end; ++i) {\n        var line = self.getLine(i), found = line.indexOf(lead);\n        if (found == -1 || nonWS.test(line.slice(0, found))) continue;\n        var foundEnd = found + lead.length;\n        if (pad && line.slice(foundEnd, foundEnd + pad.length) == pad) foundEnd += pad.length;\n        self.replaceRange(\"\", Pos(i, found), Pos(i, foundEnd));\n      }\n    });\n    return true;\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/comment/continuecomment.js",
    "content": "(function() {\n  var modes = [\"clike\", \"css\", \"javascript\"];\n  for (var i = 0; i < modes.length; ++i)\n    CodeMirror.extendMode(modes[i], {blockCommentContinue: \" * \"});\n\n  function continueComment(cm) {\n    var pos = cm.getCursor(), token = cm.getTokenAt(pos);\n    if (token.type != \"comment\") return CodeMirror.Pass;\n    var mode = CodeMirror.innerMode(cm.getMode(), token.state).mode;\n\n    var insert;\n    if (mode.blockCommentStart && mode.blockCommentContinue) {\n      var end = token.string.indexOf(mode.blockCommentEnd);\n      var full = cm.getRange(CodeMirror.Pos(pos.line, 0), CodeMirror.Pos(pos.line, token.end)), found;\n      if (end != -1 && end == token.string.length - mode.blockCommentEnd.length) {\n        // Comment ended, don't continue it\n      } else if (token.string.indexOf(mode.blockCommentStart) == 0) {\n        insert = full.slice(0, token.start);\n        if (!/^\\s*$/.test(insert)) {\n          insert = \"\";\n          for (var i = 0; i < token.start; ++i) insert += \" \";\n        }\n      } else if ((found = full.indexOf(mode.blockCommentContinue)) != -1 &&\n                 found + mode.blockCommentContinue.length > token.start &&\n                 /^\\s*$/.test(full.slice(0, found))) {\n        insert = full.slice(0, found);\n      }\n      if (insert != null) insert += mode.blockCommentContinue;\n    }\n    if (insert == null && mode.lineComment) {\n      var line = cm.getLine(pos.line), found = line.indexOf(mode.lineComment);\n      if (found > -1) {\n        insert = line.slice(0, found);\n        if (/\\S/.test(insert)) insert = null;\n        else insert += mode.lineComment + line.slice(found + mode.lineComment.length).match(/^\\s*/)[0];\n      }\n    }\n\n    if (insert != null)\n      cm.replaceSelection(\"\\n\" + insert, \"end\");\n    else\n      return CodeMirror.Pass;\n  }\n\n  CodeMirror.defineOption(\"continueComments\", null, function(cm, val, prev) {\n    if (prev && prev != CodeMirror.Init)\n      cm.removeKeyMap(\"continueComment\");\n    if (val) {\n      var map = {name: \"continueComment\"};\n      map[typeof val == \"string\" ? val : \"Enter\"] = continueComment;\n      cm.addKeyMap(map);\n    }\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/dialog/dialog.css",
    "content": ".CodeMirror-dialog {\n  position: absolute;\n  left: 0; right: 0;\n  background: white;\n  z-index: 15;\n  padding: .1em .8em;\n  overflow: hidden;\n  color: #333;\n}\n\n.CodeMirror-dialog-top {\n  border-bottom: 1px solid #eee;\n  top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n  border-top: 1px solid #eee;\n  bottom: 0;\n}\n\n.CodeMirror-dialog input {\n  border: none;\n  outline: none;\n  background: transparent;\n  width: 20em;\n  color: inherit;\n  font-family: monospace;\n}\n\n.CodeMirror-dialog button {\n  font-size: 70%;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/dialog/dialog.js",
    "content": "// Open simple dialogs on top of an editor. Relies on dialog.css.\n\n(function() {\n  function dialogDiv(cm, template, bottom) {\n    var wrap = cm.getWrapperElement();\n    var dialog;\n    dialog = wrap.appendChild(document.createElement(\"div\"));\n    if (bottom) {\n      dialog.className = \"CodeMirror-dialog CodeMirror-dialog-bottom\";\n    } else {\n      dialog.className = \"CodeMirror-dialog CodeMirror-dialog-top\";\n    }\n    if (typeof template == \"string\") {\n      dialog.innerHTML = template;\n    } else { // Assuming it's a detached DOM element.\n      dialog.appendChild(template);\n    }\n    return dialog;\n  }\n\n  function closeNotification(cm, newVal) {\n    if (cm.state.currentNotificationClose)\n      cm.state.currentNotificationClose();\n    cm.state.currentNotificationClose = newVal;\n  }\n\n  CodeMirror.defineExtension(\"openDialog\", function(template, callback, options) {\n    closeNotification(this, null);\n    var dialog = dialogDiv(this, template, options && options.bottom);\n    var closed = false, me = this;\n    function close() {\n      if (closed) return;\n      closed = true;\n      dialog.parentNode.removeChild(dialog);\n    }\n    var inp = dialog.getElementsByTagName(\"input\")[0], button;\n    if (inp) {\n      CodeMirror.on(inp, \"keydown\", function(e) {\n        if (options && options.onKeyDown && options.onKeyDown(e, inp.value, close)) { return; }\n        if (e.keyCode == 13 || e.keyCode == 27) {\n          CodeMirror.e_stop(e);\n          close();\n          me.focus();\n          if (e.keyCode == 13) callback(inp.value);\n        }\n      });\n      if (options && options.onKeyUp) {\n        CodeMirror.on(inp, \"keyup\", function(e) {options.onKeyUp(e, inp.value, close);});\n      }\n      if (options && options.value) inp.value = options.value;\n      inp.focus();\n      CodeMirror.on(inp, \"blur\", close);\n    } else if (button = dialog.getElementsByTagName(\"button\")[0]) {\n      CodeMirror.on(button, \"click\", function() {\n        close();\n        me.focus();\n      });\n      button.focus();\n      CodeMirror.on(button, \"blur\", close);\n    }\n    return close;\n  });\n\n  CodeMirror.defineExtension(\"openConfirm\", function(template, callbacks, options) {\n    closeNotification(this, null);\n    var dialog = dialogDiv(this, template, options && options.bottom);\n    var buttons = dialog.getElementsByTagName(\"button\");\n    var closed = false, me = this, blurring = 1;\n    function close() {\n      if (closed) return;\n      closed = true;\n      dialog.parentNode.removeChild(dialog);\n      me.focus();\n    }\n    buttons[0].focus();\n    for (var i = 0; i < buttons.length; ++i) {\n      var b = buttons[i];\n      (function(callback) {\n        CodeMirror.on(b, \"click\", function(e) {\n          CodeMirror.e_preventDefault(e);\n          close();\n          if (callback) callback(me);\n        });\n      })(callbacks[i]);\n      CodeMirror.on(b, \"blur\", function() {\n        --blurring;\n        setTimeout(function() { if (blurring <= 0) close(); }, 200);\n      });\n      CodeMirror.on(b, \"focus\", function() { ++blurring; });\n    }\n  });\n\n  /*\n   * openNotification\n   * Opens a notification, that can be closed with an optional timer\n   * (default 5000ms timer) and always closes on click.\n   *\n   * If a notification is opened while another is opened, it will close the\n   * currently opened one and open the new one immediately.\n   */\n  CodeMirror.defineExtension(\"openNotification\", function(template, options) {\n    closeNotification(this, close);\n    var dialog = dialogDiv(this, template, options && options.bottom);\n    var duration = options && (options.duration === undefined ? 5000 : options.duration);\n    var closed = false, doneTimer;\n\n    function close() {\n      if (closed) return;\n      closed = true;\n      clearTimeout(doneTimer);\n      dialog.parentNode.removeChild(dialog);\n    }\n\n    CodeMirror.on(dialog, 'click', function(e) {\n      CodeMirror.e_preventDefault(e);\n      close();\n    });\n    if (duration)\n      doneTimer = setTimeout(close, options.duration);\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/display/fullscreen.css",
    "content": ".CodeMirror-fullscreen {\n  position: fixed;\n  top: 0; left: 0; right: 0; bottom: 0;\n  height: auto;\n  z-index: 9;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/display/fullscreen.js",
    "content": "(function() {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"fullScreen\", false, function(cm, val, old) {\n    if (old == CodeMirror.Init) old = false;\n    if (!old == !val) return;\n    if (val) setFullscreen(cm);\n    else setNormal(cm);\n  });\n\n  function setFullscreen(cm) {\n    var wrap = cm.getWrapperElement();\n    cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset,\n                                  width: wrap.style.width, height: wrap.style.height};\n    wrap.style.width = \"\";\n    wrap.style.height = \"auto\";\n    wrap.className += \" CodeMirror-fullscreen\";\n    document.documentElement.style.overflow = \"hidden\";\n    cm.refresh();\n  }\n\n  function setNormal(cm) {\n    var wrap = cm.getWrapperElement();\n    wrap.className = wrap.className.replace(/\\s*CodeMirror-fullscreen\\b/, \"\");\n    document.documentElement.style.overflow = \"\";\n    var info = cm.state.fullScreenRestore;\n    wrap.style.width = info.width; wrap.style.height = info.height;\n    window.scrollTo(info.scrollLeft, info.scrollTop);\n    cm.refresh();\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/display/placeholder.js",
    "content": "(function() {\n  CodeMirror.defineOption(\"placeholder\", \"\", function(cm, val, old) {\n    var prev = old && old != CodeMirror.Init;\n    if (val && !prev) {\n      cm.on(\"blur\", onBlur);\n      cm.on(\"change\", onChange);\n      onChange(cm);\n    } else if (!val && prev) {\n      cm.off(\"blur\", onBlur);\n      cm.off(\"change\", onChange);\n      clearPlaceholder(cm);\n      var wrapper = cm.getWrapperElement();\n      wrapper.className = wrapper.className.replace(\" CodeMirror-empty\", \"\");\n    }\n\n    if (val && !cm.hasFocus()) onBlur(cm);\n  });\n\n  function clearPlaceholder(cm) {\n    if (cm.state.placeholder) {\n      cm.state.placeholder.parentNode.removeChild(cm.state.placeholder);\n      cm.state.placeholder = null;\n    }\n  }\n  function setPlaceholder(cm) {\n    clearPlaceholder(cm);\n    var elt = cm.state.placeholder = document.createElement(\"pre\");\n    elt.style.cssText = \"height: 0; overflow: visible\";\n    elt.className = \"CodeMirror-placeholder\";\n    elt.appendChild(document.createTextNode(cm.getOption(\"placeholder\")));\n    cm.display.lineSpace.insertBefore(elt, cm.display.lineSpace.firstChild);\n  }\n\n  function onBlur(cm) {\n    if (isEmpty(cm)) setPlaceholder(cm);\n  }\n  function onChange(cm) {\n    var wrapper = cm.getWrapperElement(), empty = isEmpty(cm);\n    wrapper.className = wrapper.className.replace(\" CodeMirror-empty\", \"\") + (empty ? \" CodeMirror-empty\" : \"\");\n\n    if (empty) setPlaceholder(cm);\n    else clearPlaceholder(cm);\n  }\n\n  function isEmpty(cm) {\n    return (cm.lineCount() === 1) && (cm.getLine(0) === \"\");\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/edit/closebrackets.js",
    "content": "(function() {\n  var DEFAULT_BRACKETS = \"()[]{}''\\\"\\\"\";\n  var DEFAULT_EXPLODE_ON_ENTER = \"[]{}\";\n  var SPACE_CHAR_REGEX = /\\s/;\n\n  CodeMirror.defineOption(\"autoCloseBrackets\", false, function(cm, val, old) {\n    if (old != CodeMirror.Init && old)\n      cm.removeKeyMap(\"autoCloseBrackets\");\n    if (!val) return;\n    var pairs = DEFAULT_BRACKETS, explode = DEFAULT_EXPLODE_ON_ENTER;\n    if (typeof val == \"string\") pairs = val;\n    else if (typeof val == \"object\") {\n      if (val.pairs != null) pairs = val.pairs;\n      if (val.explode != null) explode = val.explode;\n    }\n    var map = buildKeymap(pairs);\n    if (explode) map.Enter = buildExplodeHandler(explode);\n    cm.addKeyMap(map);\n  });\n\n  function charsAround(cm, pos) {\n    var str = cm.getRange(CodeMirror.Pos(pos.line, pos.ch - 1),\n                          CodeMirror.Pos(pos.line, pos.ch + 1));\n    return str.length == 2 ? str : null;\n  }\n\n  function buildKeymap(pairs) {\n    var map = {\n      name : \"autoCloseBrackets\",\n      Backspace: function(cm) {\n        if (cm.somethingSelected()) return CodeMirror.Pass;\n        var cur = cm.getCursor(), around = charsAround(cm, cur);\n        if (around && pairs.indexOf(around) % 2 == 0)\n          cm.replaceRange(\"\", CodeMirror.Pos(cur.line, cur.ch - 1), CodeMirror.Pos(cur.line, cur.ch + 1));\n        else\n          return CodeMirror.Pass;\n      }\n    };\n    var closingBrackets = \"\";\n    for (var i = 0; i < pairs.length; i += 2) (function(left, right) {\n      if (left != right) closingBrackets += right;\n      function surround(cm) {\n        var selection = cm.getSelection();\n        cm.replaceSelection(left + selection + right);\n      }\n      function maybeOverwrite(cm) {\n        var cur = cm.getCursor(), ahead = cm.getRange(cur, CodeMirror.Pos(cur.line, cur.ch + 1));\n        if (ahead != right || cm.somethingSelected()) return CodeMirror.Pass;\n        else cm.execCommand(\"goCharRight\");\n      }\n      map[\"'\" + left + \"'\"] = function(cm) {\n        if (left == \"'\" && cm.getTokenAt(cm.getCursor()).type == \"comment\")\n          return CodeMirror.Pass;\n        if (cm.somethingSelected()) return surround(cm);\n        if (left == right && maybeOverwrite(cm) != CodeMirror.Pass) return;\n        var cur = cm.getCursor(), ahead = CodeMirror.Pos(cur.line, cur.ch + 1);\n        var line = cm.getLine(cur.line), nextChar = line.charAt(cur.ch), curChar = cur.ch > 0 ? line.charAt(cur.ch - 1) : \"\";\n        if (left == right && CodeMirror.isWordChar(curChar))\n          return CodeMirror.Pass;\n        if (line.length == cur.ch || closingBrackets.indexOf(nextChar) >= 0 || SPACE_CHAR_REGEX.test(nextChar))\n          cm.replaceSelection(left + right, {head: ahead, anchor: ahead});\n        else\n          return CodeMirror.Pass;\n      };\n      if (left != right) map[\"'\" + right + \"'\"] = maybeOverwrite;\n    })(pairs.charAt(i), pairs.charAt(i + 1));\n    return map;\n  }\n\n  function buildExplodeHandler(pairs) {\n    return function(cm) {\n      var cur = cm.getCursor(), around = charsAround(cm, cur);\n      if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass;\n      cm.operation(function() {\n        var newPos = CodeMirror.Pos(cur.line + 1, 0);\n        cm.replaceSelection(\"\\n\\n\", {anchor: newPos, head: newPos}, \"+input\");\n        cm.indentLine(cur.line + 1, null, true);\n        cm.indentLine(cur.line + 2, null, true);\n      });\n    };\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/edit/closetag.js",
    "content": "/**\n * Tag-closer extension for CodeMirror.\n *\n * This extension adds an \"autoCloseTags\" option that can be set to\n * either true to get the default behavior, or an object to further\n * configure its behavior.\n *\n * These are supported options:\n *\n * `whenClosing` (default true)\n *   Whether to autoclose when the '/' of a closing tag is typed.\n * `whenOpening` (default true)\n *   Whether to autoclose the tag when the final '>' of an opening\n *   tag is typed.\n * `dontCloseTags` (default is empty tags for HTML, none for XML)\n *   An array of tag names that should not be autoclosed.\n * `indentTags` (default is block tags for HTML, none for XML)\n *   An array of tag names that should, when opened, cause a\n *   blank line to be added inside the tag, and the blank line and\n *   closing line to be indented.\n *\n * See demos/closetag.html for a usage example.\n */\n\n(function() {\n  CodeMirror.defineOption(\"autoCloseTags\", false, function(cm, val, old) {\n    if (old != CodeMirror.Init && old)\n      cm.removeKeyMap(\"autoCloseTags\");\n    if (!val) return;\n    var map = {name: \"autoCloseTags\"};\n    if (typeof val != \"object\" || val.whenClosing)\n      map[\"'/'\"] = function(cm) { return autoCloseSlash(cm); };\n    if (typeof val != \"object\" || val.whenOpening)\n      map[\"'>'\"] = function(cm) { return autoCloseGT(cm); };\n    cm.addKeyMap(map);\n  });\n\n  var htmlDontClose = [\"area\", \"base\", \"br\", \"col\", \"command\", \"embed\", \"hr\", \"img\", \"input\", \"keygen\", \"link\", \"meta\", \"param\",\n                       \"source\", \"track\", \"wbr\"];\n  var htmlIndent = [\"applet\", \"blockquote\", \"body\", \"button\", \"div\", \"dl\", \"fieldset\", \"form\", \"frameset\", \"h1\", \"h2\", \"h3\", \"h4\",\n                    \"h5\", \"h6\", \"head\", \"html\", \"iframe\", \"layer\", \"legend\", \"object\", \"ol\", \"p\", \"select\", \"table\", \"ul\"];\n\n  function autoCloseGT(cm) {\n    var pos = cm.getCursor(), tok = cm.getTokenAt(pos);\n    var inner = CodeMirror.innerMode(cm.getMode(), tok.state), state = inner.state;\n    if (inner.mode.name != \"xml\" || !state.tagName) return CodeMirror.Pass;\n\n    var opt = cm.getOption(\"autoCloseTags\"), html = inner.mode.configuration == \"html\";\n    var dontCloseTags = (typeof opt == \"object\" && opt.dontCloseTags) || (html && htmlDontClose);\n    var indentTags = (typeof opt == \"object\" && opt.indentTags) || (html && htmlIndent);\n\n    var tagName = state.tagName;\n    if (tok.end > pos.ch) tagName = tagName.slice(0, tagName.length - tok.end + pos.ch);\n    var lowerTagName = tagName.toLowerCase();\n    // Don't process the '>' at the end of an end-tag or self-closing tag\n    if (tok.type == \"string\" && (tok.end != pos.ch || !/[\\\"\\']/.test(tok.string.charAt(tok.string.length - 1)) || tok.string.length == 1) ||\n        tok.type == \"tag\" && state.type == \"closeTag\" ||\n        tok.string.indexOf(\"/\") == (tok.string.length - 1) || // match something like <someTagName />\n        dontCloseTags && indexOf(dontCloseTags, lowerTagName) > -1)\n      return CodeMirror.Pass;\n\n    var doIndent = indentTags && indexOf(indentTags, lowerTagName) > -1;\n    var curPos = doIndent ? CodeMirror.Pos(pos.line + 1, 0) : CodeMirror.Pos(pos.line, pos.ch + 1);\n    cm.replaceSelection(\">\" + (doIndent ? \"\\n\\n\" : \"\") + \"</\" + tagName + \">\",\n                        {head: curPos, anchor: curPos});\n    if (doIndent) {\n      cm.indentLine(pos.line + 1);\n      cm.indentLine(pos.line + 2);\n    }\n  }\n\n  function autoCloseSlash(cm) {\n    var pos = cm.getCursor(), tok = cm.getTokenAt(pos);\n    var inner = CodeMirror.innerMode(cm.getMode(), tok.state), state = inner.state;\n    if (tok.type == \"string\" || tok.string.charAt(0) != \"<\" ||\n        tok.start != pos.ch - 1 || inner.mode.name != \"xml\")\n      return CodeMirror.Pass;\n\n    var tagName = state.context && state.context.tagName;\n    if (tagName) cm.replaceSelection(\"/\" + tagName + \">\", \"end\");\n  }\n\n  function indexOf(collection, elt) {\n    if (collection.indexOf) return collection.indexOf(elt);\n    for (var i = 0, e = collection.length; i < e; ++i)\n      if (collection[i] == elt) return i;\n    return -1;\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/edit/continuelist.js",
    "content": "(function() {\n  'use strict';\n\n  var listRE = /^(\\s*)([*+-]|(\\d+)\\.)(\\s*)/,\n      unorderedBullets = '*+-';\n\n  CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) {\n    var pos = cm.getCursor(),\n        inList = cm.getStateAfter(pos.line).list !== false,\n        match;\n\n    if (!inList || !(match = cm.getLine(pos.line).match(listRE))) {\n      cm.execCommand('newlineAndIndent');\n      return;\n    }\n\n    var indent = match[1], after = match[4];\n    var bullet = unorderedBullets.indexOf(match[2]) >= 0\n      ? match[2]\n      : (parseInt(match[3], 10) + 1) + '.';\n\n    cm.replaceSelection('\\n' + indent + bullet + after, 'end');\n  };\n\n}());\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/edit/matchbrackets.js",
    "content": "(function() {\n  var ie_lt8 = /MSIE \\d/.test(navigator.userAgent) &&\n    (document.documentMode == null || document.documentMode < 8);\n\n  var Pos = CodeMirror.Pos;\n\n  var matching = {\"(\": \")>\", \")\": \"(<\", \"[\": \"]>\", \"]\": \"[<\", \"{\": \"}>\", \"}\": \"{<\"};\n  function findMatchingBracket(cm, where, strict) {\n    var state = cm.state.matchBrackets;\n    var maxScanLen = (state && state.maxScanLineLength) || 10000;\n    var maxScanLines = (state && state.maxScanLines) || 100;\n\n    var cur = where || cm.getCursor(), line = cm.getLineHandle(cur.line), pos = cur.ch - 1;\n    var match = (pos >= 0 && matching[line.text.charAt(pos)]) || matching[line.text.charAt(++pos)];\n    if (!match) return null;\n    var forward = match.charAt(1) == \">\", d = forward ? 1 : -1;\n    if (strict && forward != (pos == cur.ch)) return null;\n    var style = cm.getTokenTypeAt(Pos(cur.line, pos + 1));\n\n    var stack = [line.text.charAt(pos)], re = /[(){}[\\]]/;\n    function scan(line, lineNo, start) {\n      if (!line.text) return;\n      var pos = forward ? 0 : line.text.length - 1, end = forward ? line.text.length : -1;\n      if (line.text.length > maxScanLen) return null;\n      if (start != null) pos = start + d;\n      for (; pos != end; pos += d) {\n        var ch = line.text.charAt(pos);\n        if (re.test(ch) && cm.getTokenTypeAt(Pos(lineNo, pos + 1)) == style) {\n          var match = matching[ch];\n          if (match.charAt(1) == \">\" == forward) stack.push(ch);\n          else if (stack.pop() != match.charAt(0)) return {pos: pos, match: false};\n          else if (!stack.length) return {pos: pos, match: true};\n        }\n      }\n    }\n    for (var i = cur.line, found, e = forward ? Math.min(i + maxScanLines, cm.lineCount()) : Math.max(-1, i - maxScanLines); i != e; i+=d) {\n      if (i == cur.line) found = scan(line, i, pos);\n      else found = scan(cm.getLineHandle(i), i);\n      if (found) break;\n    }\n    return {from: Pos(cur.line, pos), to: found && Pos(i, found.pos),\n            match: found && found.match, forward: forward};\n  }\n\n  function matchBrackets(cm, autoclear) {\n    // Disable brace matching in long lines, since it'll cause hugely slow updates\n    var maxHighlightLen = cm.state.matchBrackets.maxHighlightLineLength || 1000;\n    var found = findMatchingBracket(cm);\n    if (!found || cm.getLine(found.from.line).length > maxHighlightLen ||\n       found.to && cm.getLine(found.to.line).length > maxHighlightLen)\n      return;\n\n    var style = found.match ? \"CodeMirror-matchingbracket\" : \"CodeMirror-nonmatchingbracket\";\n    var one = cm.markText(found.from, Pos(found.from.line, found.from.ch + 1), {className: style});\n    var two = found.to && cm.markText(found.to, Pos(found.to.line, found.to.ch + 1), {className: style});\n    // Kludge to work around the IE bug from issue #1193, where text\n    // input stops going to the textare whever this fires.\n    if (ie_lt8 && cm.state.focused) cm.display.input.focus();\n    var clear = function() {\n      cm.operation(function() { one.clear(); two && two.clear(); });\n    };\n    if (autoclear) setTimeout(clear, 800);\n    else return clear;\n  }\n\n  var currentlyHighlighted = null;\n  function doMatchBrackets(cm) {\n    cm.operation(function() {\n      if (currentlyHighlighted) {currentlyHighlighted(); currentlyHighlighted = null;}\n      if (!cm.somethingSelected()) currentlyHighlighted = matchBrackets(cm, false);\n    });\n  }\n\n  CodeMirror.defineOption(\"matchBrackets\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init)\n      cm.off(\"cursorActivity\", doMatchBrackets);\n    if (val) {\n      cm.state.matchBrackets = typeof val == \"object\" ? val : {};\n      cm.on(\"cursorActivity\", doMatchBrackets);\n    }\n  });\n\n  CodeMirror.defineExtension(\"matchBrackets\", function() {matchBrackets(this, true);});\n  CodeMirror.defineExtension(\"findMatchingBracket\", function(pos, strict){\n    return findMatchingBracket(this, pos, strict);\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/edit/matchtags.js",
    "content": "(function() {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"matchTags\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      cm.off(\"cursorActivity\", doMatchTags);\n      cm.off(\"viewportChange\", maybeUpdateMatch);\n      clear(cm);\n    }\n    if (val) {\n      cm.state.matchBothTags = typeof val == \"object\" && val.bothTags;\n      cm.on(\"cursorActivity\", doMatchTags);\n      cm.on(\"viewportChange\", maybeUpdateMatch);\n      doMatchTags(cm);\n    }\n  });\n\n  function clear(cm) {\n    if (cm.state.tagHit) cm.state.tagHit.clear();\n    if (cm.state.tagOther) cm.state.tagOther.clear();\n    cm.state.tagHit = cm.state.tagOther = null;\n  }\n\n  function doMatchTags(cm) {\n    cm.state.failedTagMatch = false;\n    cm.operation(function() {\n      clear(cm);\n      if (cm.somethingSelected()) return;\n      var cur = cm.getCursor(), range = cm.getViewport();\n      range.from = Math.min(range.from, cur.line); range.to = Math.max(cur.line + 1, range.to);\n      var match = CodeMirror.findMatchingTag(cm, cur, range);\n      if (!match) return;\n      if (cm.state.matchBothTags) {\n        var hit = match.at == \"open\" ? match.open : match.close;\n        if (hit) cm.state.tagHit = cm.markText(hit.from, hit.to, {className: \"CodeMirror-matchingtag\"});\n      }\n      var other = match.at == \"close\" ? match.open : match.close;\n      if (other)\n        cm.state.tagOther = cm.markText(other.from, other.to, {className: \"CodeMirror-matchingtag\"});\n      else\n        cm.state.failedTagMatch = true;\n    });\n  }\n\n  function maybeUpdateMatch(cm) {\n    if (cm.state.failedTagMatch) doMatchTags(cm);\n  }\n\n  CodeMirror.commands.toMatchingTag = function(cm) {\n    var found = CodeMirror.findMatchingTag(cm, cm.getCursor());\n    if (found) {\n      var other = found.at == \"close\" ? found.open : found.close;\n      if (other) cm.setSelection(other.to, other.from);\n    }\n  };\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/edit/trailingspace.js",
    "content": "CodeMirror.defineOption(\"showTrailingSpace\", false, function(cm, val, prev) {\n  if (prev == CodeMirror.Init) prev = false;\n  if (prev && !val)\n    cm.removeOverlay(\"trailingspace\");\n  else if (!prev && val)\n    cm.addOverlay({\n      token: function(stream) {\n        for (var l = stream.string.length, i = l; i && /\\s/.test(stream.string.charAt(i - 1)); --i) {}\n        if (i > stream.pos) { stream.pos = i; return null; }\n        stream.pos = l;\n        return \"trailingspace\";\n      },\n      name: \"trailingspace\"\n    });\n});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/fold/brace-fold.js",
    "content": "CodeMirror.registerHelper(\"fold\", \"brace\", function(cm, start) {\n  var line = start.line, lineText = cm.getLine(line);\n  var startCh, tokenType;\n\n  function findOpening(openCh) {\n    for (var at = start.ch, pass = 0;;) {\n      var found = at <= 0 ? -1 : lineText.lastIndexOf(openCh, at - 1);\n      if (found == -1) {\n        if (pass == 1) break;\n        pass = 1;\n        at = lineText.length;\n        continue;\n      }\n      if (pass == 1 && found < start.ch) break;\n      tokenType = cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1));\n      if (!/^(comment|string)/.test(tokenType)) return found + 1;\n      at = found - 1;\n    }\n  }\n\n  var startToken = \"{\", endToken = \"}\", startCh = findOpening(\"{\");\n  if (startCh == null) {\n    startToken = \"[\", endToken = \"]\";\n    startCh = findOpening(\"[\");\n  }\n\n  if (startCh == null) return;\n  var count = 1, lastLine = cm.lastLine(), end, endCh;\n  outer: for (var i = line; i <= lastLine; ++i) {\n    var text = cm.getLine(i), pos = i == line ? startCh : 0;\n    for (;;) {\n      var nextOpen = text.indexOf(startToken, pos), nextClose = text.indexOf(endToken, pos);\n      if (nextOpen < 0) nextOpen = text.length;\n      if (nextClose < 0) nextClose = text.length;\n      pos = Math.min(nextOpen, nextClose);\n      if (pos == text.length) break;\n      if (cm.getTokenTypeAt(CodeMirror.Pos(i, pos + 1)) == tokenType) {\n        if (pos == nextOpen) ++count;\n        else if (!--count) { end = i; endCh = pos; break outer; }\n      }\n      ++pos;\n    }\n  }\n  if (end == null || line == end && endCh == startCh) return;\n  return {from: CodeMirror.Pos(line, startCh),\n          to: CodeMirror.Pos(end, endCh)};\n});\nCodeMirror.braceRangeFinder = CodeMirror.fold.brace; // deprecated\n\nCodeMirror.registerHelper(\"fold\", \"import\", function(cm, start) {\n  function hasImport(line) {\n    if (line < cm.firstLine() || line > cm.lastLine()) return null;\n    var start = cm.getTokenAt(CodeMirror.Pos(line, 1));\n    if (!/\\S/.test(start.string)) start = cm.getTokenAt(CodeMirror.Pos(line, start.end + 1));\n    if (start.type != \"keyword\" || start.string != \"import\") return null;\n    // Now find closing semicolon, return its position\n    for (var i = line, e = Math.min(cm.lastLine(), line + 10); i <= e; ++i) {\n      var text = cm.getLine(i), semi = text.indexOf(\";\");\n      if (semi != -1) return {startCh: start.end, end: CodeMirror.Pos(i, semi)};\n    }\n  }\n\n  var start = start.line, has = hasImport(start), prev;\n  if (!has || hasImport(start - 1) || ((prev = hasImport(start - 2)) && prev.end.line == start - 1))\n    return null;\n  for (var end = has.end;;) {\n    var next = hasImport(end.line + 1);\n    if (next == null) break;\n    end = next.end;\n  }\n  return {from: cm.clipPos(CodeMirror.Pos(start, has.startCh + 1)), to: end};\n});\nCodeMirror.importRangeFinder = CodeMirror.fold[\"import\"]; // deprecated\n\nCodeMirror.registerHelper(\"fold\", \"include\", function(cm, start) {\n  function hasInclude(line) {\n    if (line < cm.firstLine() || line > cm.lastLine()) return null;\n    var start = cm.getTokenAt(CodeMirror.Pos(line, 1));\n    if (!/\\S/.test(start.string)) start = cm.getTokenAt(CodeMirror.Pos(line, start.end + 1));\n    if (start.type == \"meta\" && start.string.slice(0, 8) == \"#include\") return start.start + 8;\n  }\n\n  var start = start.line, has = hasInclude(start);\n  if (has == null || hasInclude(start - 1) != null) return null;\n  for (var end = start;;) {\n    var next = hasInclude(end + 1);\n    if (next == null) break;\n    ++end;\n  }\n  return {from: CodeMirror.Pos(start, has + 1),\n          to: cm.clipPos(CodeMirror.Pos(end))};\n});\nCodeMirror.includeRangeFinder = CodeMirror.fold.include; // deprecated\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/fold/comment-fold.js",
    "content": "CodeMirror.registerHelper(\"fold\", \"comment\", function(cm, start) {\n  var mode = cm.getModeAt(start), startToken = mode.blockCommentStart, endToken = mode.blockCommentEnd;\n  if (!startToken || !endToken) return;\n  var line = start.line, lineText = cm.getLine(line);\n\n  var startCh;\n  for (var at = start.ch, pass = 0;;) {\n    var found = at <= 0 ? -1 : lineText.lastIndexOf(startToken, at - 1);\n    if (found == -1) {\n      if (pass == 1) return;\n      pass = 1;\n      at = lineText.length;\n      continue;\n    }\n    if (pass == 1 && found < start.ch) return;\n    if (/comment/.test(cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1)))) {\n      startCh = found + startToken.length;\n      break;\n    }\n    at = found - 1;\n  }\n\n  var depth = 1, lastLine = cm.lastLine(), end, endCh;\n  outer: for (var i = line; i <= lastLine; ++i) {\n    var text = cm.getLine(i), pos = i == line ? startCh : 0;\n    for (;;) {\n      var nextOpen = text.indexOf(startToken, pos), nextClose = text.indexOf(endToken, pos);\n      if (nextOpen < 0) nextOpen = text.length;\n      if (nextClose < 0) nextClose = text.length;\n      pos = Math.min(nextOpen, nextClose);\n      if (pos == text.length) break;\n      if (pos == nextOpen) ++depth;\n      else if (!--depth) { end = i; endCh = pos; break outer; }\n      ++pos;\n    }\n  }\n  if (end == null || line == end && endCh == startCh) return;\n  return {from: CodeMirror.Pos(line, startCh),\n          to: CodeMirror.Pos(end, endCh)};\n});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/fold/foldcode.js",
    "content": "(function() {\n  \"use strict\";\n\n  function doFold(cm, pos, options, force) {\n    var finder = options && (options.call ? options : options.rangeFinder);\n    if (!finder) finder = cm.getHelper(pos, \"fold\");\n    if (!finder) return;\n    if (typeof pos == \"number\") pos = CodeMirror.Pos(pos, 0);\n    var minSize = options && options.minFoldSize || 0;\n\n    function getRange(allowFolded) {\n      var range = finder(cm, pos);\n      if (!range || range.to.line - range.from.line < minSize) return null;\n      var marks = cm.findMarksAt(range.from);\n      for (var i = 0; i < marks.length; ++i) {\n        if (marks[i].__isFold && force !== \"fold\") {\n          if (!allowFolded) return null;\n          range.cleared = true;\n          marks[i].clear();\n        }\n      }\n      return range;\n    }\n\n    var range = getRange(true);\n    if (options && options.scanUp) while (!range && pos.line > cm.firstLine()) {\n      pos = CodeMirror.Pos(pos.line - 1, 0);\n      range = getRange(false);\n    }\n    if (!range || range.cleared || force === \"unfold\") return;\n\n    var myWidget = makeWidget(options);\n    CodeMirror.on(myWidget, \"mousedown\", function() { myRange.clear(); });\n    var myRange = cm.markText(range.from, range.to, {\n      replacedWith: myWidget,\n      clearOnEnter: true,\n      __isFold: true\n    });\n    myRange.on(\"clear\", function(from, to) {\n      CodeMirror.signal(cm, \"unfold\", cm, from, to);\n    });\n    CodeMirror.signal(cm, \"fold\", cm, range.from, range.to);\n  }\n\n  function makeWidget(options) {\n    var widget = (options && options.widget) || \"\\u2194\";\n    if (typeof widget == \"string\") {\n      var text = document.createTextNode(widget);\n      widget = document.createElement(\"span\");\n      widget.appendChild(text);\n      widget.className = \"CodeMirror-foldmarker\";\n    }\n    return widget;\n  }\n\n  // Clumsy backwards-compatible interface\n  CodeMirror.newFoldFunction = function(rangeFinder, widget) {\n    return function(cm, pos) { doFold(cm, pos, {rangeFinder: rangeFinder, widget: widget}); };\n  };\n\n  // New-style interface\n  CodeMirror.defineExtension(\"foldCode\", function(pos, options, force) {\n    doFold(this, pos, options, force);\n  });\n\n  CodeMirror.registerHelper(\"fold\", \"combine\", function() {\n    var funcs = Array.prototype.slice.call(arguments, 0);\n    return function(cm, start) {\n      for (var i = 0; i < funcs.length; ++i) {\n        var found = funcs[i](cm, start);\n        if (found) return found;\n      }\n    };\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/fold/foldgutter.css",
    "content": ".CodeMirror-foldmarker {\n  color: blue;\n  text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;\n  font-family: arial;\n  line-height: .3;\n  cursor: pointer;\n}\n.CodeMirror-foldgutter {\n  width: .7em;\n}\n.CodeMirror-foldgutter-open,\n.CodeMirror-foldgutter-folded {\n  color: #555;\n  cursor: pointer;\n}\n.CodeMirror-foldgutter-open:after {\n  content: \"\\25BE\";\n}\n.CodeMirror-foldgutter-folded:after {\n  content: \"\\25B8\";\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/fold/foldgutter.js",
    "content": "(function() {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"foldGutter\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      cm.clearGutter(cm.state.foldGutter.options.gutter);\n      cm.state.foldGutter = null;\n      cm.off(\"gutterClick\", onGutterClick);\n      cm.off(\"change\", onChange);\n      cm.off(\"viewportChange\", onViewportChange);\n      cm.off(\"fold\", onFold);\n      cm.off(\"unfold\", onFold);\n      cm.off(\"swapDoc\", updateInViewport);\n    }\n    if (val) {\n      cm.state.foldGutter = new State(parseOptions(val));\n      updateInViewport(cm);\n      cm.on(\"gutterClick\", onGutterClick);\n      cm.on(\"change\", onChange);\n      cm.on(\"viewportChange\", onViewportChange);\n      cm.on(\"fold\", onFold);\n      cm.on(\"unfold\", onFold);\n      cm.on(\"swapDoc\", updateInViewport);\n    }\n  });\n\n  var Pos = CodeMirror.Pos;\n\n  function State(options) {\n    this.options = options;\n    this.from = this.to = 0;\n  }\n\n  function parseOptions(opts) {\n    if (opts === true) opts = {};\n    if (opts.gutter == null) opts.gutter = \"CodeMirror-foldgutter\";\n    if (opts.indicatorOpen == null) opts.indicatorOpen = \"CodeMirror-foldgutter-open\";\n    if (opts.indicatorFolded == null) opts.indicatorFolded = \"CodeMirror-foldgutter-folded\";\n    return opts;\n  }\n\n  function isFolded(cm, line) {\n    var marks = cm.findMarksAt(Pos(line));\n    for (var i = 0; i < marks.length; ++i)\n      if (marks[i].__isFold && marks[i].find().from.line == line) return true;\n  }\n\n  function marker(spec) {\n    if (typeof spec == \"string\") {\n      var elt = document.createElement(\"div\");\n      elt.className = spec;\n      return elt;\n    } else {\n      return spec.cloneNode(true);\n    }\n  }\n\n  function updateFoldInfo(cm, from, to) {\n    var opts = cm.state.foldGutter.options, cur = from;\n    cm.eachLine(from, to, function(line) {\n      var mark = null;\n      if (isFolded(cm, cur)) {\n        mark = marker(opts.indicatorFolded);\n      } else {\n        var pos = Pos(cur, 0), func = opts.rangeFinder || cm.getHelper(pos, \"fold\");\n        var range = func && func(cm, pos);\n        if (range && range.from.line + 1 < range.to.line)\n          mark = marker(opts.indicatorOpen);\n      }\n      cm.setGutterMarker(line, opts.gutter, mark);\n      ++cur;\n    });\n  }\n\n  function updateInViewport(cm) {\n    var vp = cm.getViewport(), state = cm.state.foldGutter;\n    if (!state) return;\n    cm.operation(function() {\n      updateFoldInfo(cm, vp.from, vp.to);\n    });\n    state.from = vp.from; state.to = vp.to;\n  }\n\n  function onGutterClick(cm, line, gutter) {\n    var opts = cm.state.foldGutter.options;\n    if (gutter != opts.gutter) return;\n    cm.foldCode(Pos(line, 0), opts.rangeFinder);\n  }\n\n  function onChange(cm) {\n    var state = cm.state.foldGutter, opts = cm.state.foldGutter.options;\n    state.from = state.to = 0;\n    clearTimeout(state.changeUpdate);\n    state.changeUpdate = setTimeout(function() { updateInViewport(cm); }, opts.foldOnChangeTimeSpan || 600);\n  }\n\n  function onViewportChange(cm) {\n    var state = cm.state.foldGutter, opts = cm.state.foldGutter.options;\n    clearTimeout(state.changeUpdate);\n    state.changeUpdate = setTimeout(function() {\n      var vp = cm.getViewport();\n      if (state.from == state.to || vp.from - state.to > 20 || state.from - vp.to > 20) {\n        updateInViewport(cm);\n      } else {\n        cm.operation(function() {\n          if (vp.from < state.from) {\n            updateFoldInfo(cm, vp.from, state.from);\n            state.from = vp.from;\n          }\n          if (vp.to > state.to) {\n            updateFoldInfo(cm, state.to, vp.to);\n            state.to = vp.to;\n          }\n        });\n      }\n    }, opts.updateViewportTimeSpan || 400);\n  }\n\n  function onFold(cm, from) {\n    var state = cm.state.foldGutter, line = from.line;\n    if (line >= state.from && line < state.to)\n      updateFoldInfo(cm, line, line + 1);\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/fold/indent-fold.js",
    "content": "CodeMirror.registerHelper(\"fold\", \"indent\", function(cm, start) {\n  var tabSize = cm.getOption(\"tabSize\"), firstLine = cm.getLine(start.line);\n  if (!/\\S/.test(firstLine)) return;\n  var getIndent = function(lineNum) {\n    return CodeMirror.countColumn(lineNum, null, tabSize);\n  };\n  var myIndent = getIndent(firstLine);\n  var lastLineInFold = null;\n  // Go through lines until we find a line that definitely doesn't belong in\n  // the block we're folding, or to the end.\n  for (var i = start.line + 1, end = cm.lastLine(); i <= end; ++i) {\n    var curLine = cm.getLine(i);\n    var curIndent = getIndent(curLine);\n    if (curIndent > myIndent) {\n      // Lines with a greater indent are considered part of the block.\n      lastLineInFold = i;\n    } else if (!/\\S/.test(curLine)) {\n      // Empty lines might be breaks within the block we're trying to fold.\n    } else {\n      // A non-empty line at an indent equal to or less than ours marks the\n      // start of another block.\n      break;\n    }\n  }\n  if (lastLineInFold) return {\n    from: CodeMirror.Pos(start.line, firstLine.length),\n    to: CodeMirror.Pos(lastLineInFold, cm.getLine(lastLineInFold).length)\n  };\n});\nCodeMirror.indentRangeFinder = CodeMirror.fold.indent; // deprecated\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/fold/xml-fold.js",
    "content": "(function() {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n  function cmp(a, b) { return a.line - b.line || a.ch - b.ch; }\n\n  var nameStartChar = \"A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\";\n  var nameChar = nameStartChar + \"\\-\\:\\.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040\";\n  var xmlTagStart = new RegExp(\"<(/?)([\" + nameStartChar + \"][\" + nameChar + \"]*)\", \"g\");\n\n  function Iter(cm, line, ch, range) {\n    this.line = line; this.ch = ch;\n    this.cm = cm; this.text = cm.getLine(line);\n    this.min = range ? range.from : cm.firstLine();\n    this.max = range ? range.to - 1 : cm.lastLine();\n  }\n\n  function tagAt(iter, ch) {\n    var type = iter.cm.getTokenTypeAt(Pos(iter.line, ch));\n    return type && /\\btag\\b/.test(type);\n  }\n\n  function nextLine(iter) {\n    if (iter.line >= iter.max) return;\n    iter.ch = 0;\n    iter.text = iter.cm.getLine(++iter.line);\n    return true;\n  }\n  function prevLine(iter) {\n    if (iter.line <= iter.min) return;\n    iter.text = iter.cm.getLine(--iter.line);\n    iter.ch = iter.text.length;\n    return true;\n  }\n\n  function toTagEnd(iter) {\n    for (;;) {\n      var gt = iter.text.indexOf(\">\", iter.ch);\n      if (gt == -1) { if (nextLine(iter)) continue; else return; }\n      if (!tagAt(iter, gt + 1)) { iter.ch = gt + 1; continue; }\n      var lastSlash = iter.text.lastIndexOf(\"/\", gt);\n      var selfClose = lastSlash > -1 && !/\\S/.test(iter.text.slice(lastSlash + 1, gt));\n      iter.ch = gt + 1;\n      return selfClose ? \"selfClose\" : \"regular\";\n    }\n  }\n  function toTagStart(iter) {\n    for (;;) {\n      var lt = iter.ch ? iter.text.lastIndexOf(\"<\", iter.ch - 1) : -1;\n      if (lt == -1) { if (prevLine(iter)) continue; else return; }\n      if (!tagAt(iter, lt + 1)) { iter.ch = lt; continue; }\n      xmlTagStart.lastIndex = lt;\n      iter.ch = lt;\n      var match = xmlTagStart.exec(iter.text);\n      if (match && match.index == lt) return match;\n    }\n  }\n\n  function toNextTag(iter) {\n    for (;;) {\n      xmlTagStart.lastIndex = iter.ch;\n      var found = xmlTagStart.exec(iter.text);\n      if (!found) { if (nextLine(iter)) continue; else return; }\n      if (!tagAt(iter, found.index + 1)) { iter.ch = found.index + 1; continue; }\n      iter.ch = found.index + found[0].length;\n      return found;\n    }\n  }\n  function toPrevTag(iter) {\n    for (;;) {\n      var gt = iter.ch ? iter.text.lastIndexOf(\">\", iter.ch - 1) : -1;\n      if (gt == -1) { if (prevLine(iter)) continue; else return; }\n      if (!tagAt(iter, gt + 1)) { iter.ch = gt; continue; }\n      var lastSlash = iter.text.lastIndexOf(\"/\", gt);\n      var selfClose = lastSlash > -1 && !/\\S/.test(iter.text.slice(lastSlash + 1, gt));\n      iter.ch = gt + 1;\n      return selfClose ? \"selfClose\" : \"regular\";\n    }\n  }\n\n  function findMatchingClose(iter, tag) {\n    var stack = [];\n    for (;;) {\n      var next = toNextTag(iter), end, startLine = iter.line, startCh = iter.ch - (next ? next[0].length : 0);\n      if (!next || !(end = toTagEnd(iter))) return;\n      if (end == \"selfClose\") continue;\n      if (next[1]) { // closing tag\n        for (var i = stack.length - 1; i >= 0; --i) if (stack[i] == next[2]) {\n          stack.length = i;\n          break;\n        }\n        if (i < 0 && (!tag || tag == next[2])) return {\n          tag: next[2],\n          from: Pos(startLine, startCh),\n          to: Pos(iter.line, iter.ch)\n        };\n      } else { // opening tag\n        stack.push(next[2]);\n      }\n    }\n  }\n  function findMatchingOpen(iter, tag) {\n    var stack = [];\n    for (;;) {\n      var prev = toPrevTag(iter);\n      if (!prev) return;\n      if (prev == \"selfClose\") { toTagStart(iter); continue; }\n      var endLine = iter.line, endCh = iter.ch;\n      var start = toTagStart(iter);\n      if (!start) return;\n      if (start[1]) { // closing tag\n        stack.push(start[2]);\n      } else { // opening tag\n        for (var i = stack.length - 1; i >= 0; --i) if (stack[i] == start[2]) {\n          stack.length = i;\n          break;\n        }\n        if (i < 0 && (!tag || tag == start[2])) return {\n          tag: start[2],\n          from: Pos(iter.line, iter.ch),\n          to: Pos(endLine, endCh)\n        };\n      }\n    }\n  }\n\n  CodeMirror.registerHelper(\"fold\", \"xml\", function(cm, start) {\n    var iter = new Iter(cm, start.line, 0);\n    for (;;) {\n      var openTag = toNextTag(iter), end;\n      if (!openTag || iter.line != start.line || !(end = toTagEnd(iter))) return;\n      if (!openTag[1] && end != \"selfClose\") {\n        var start = Pos(iter.line, iter.ch);\n        var close = findMatchingClose(iter, openTag[2]);\n        return close && {from: start, to: close.from};\n      }\n    }\n  });\n  CodeMirror.tagRangeFinder = CodeMirror.fold.xml; // deprecated\n\n  CodeMirror.findMatchingTag = function(cm, pos, range) {\n    var iter = new Iter(cm, pos.line, pos.ch, range);\n    if (iter.text.indexOf(\">\") == -1 && iter.text.indexOf(\"<\") == -1) return;\n    var end = toTagEnd(iter), to = end && Pos(iter.line, iter.ch);\n    var start = end && toTagStart(iter);\n    if (!end || end == \"selfClose\" || !start || cmp(iter, pos) > 0) return;\n    var here = {from: Pos(iter.line, iter.ch), to: to, tag: start[2]};\n\n    if (start[1]) { // closing tag\n      return {open: findMatchingOpen(iter, start[2]), close: here, at: \"close\"};\n    } else { // opening tag\n      iter = new Iter(cm, to.line, to.ch, range);\n      return {open: here, close: findMatchingClose(iter, start[2]), at: \"open\"};\n    }\n  };\n\n  CodeMirror.findEnclosingTag = function(cm, pos, range) {\n    var iter = new Iter(cm, pos.line, pos.ch, range);\n    for (;;) {\n      var open = findMatchingOpen(iter);\n      if (!open) break;\n      var forward = new Iter(cm, pos.line, pos.ch, range);\n      var close = findMatchingClose(forward, open.tag);\n      if (close) return {open: open, close: close};\n    }\n  };\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/anyword-hint.js",
    "content": "(function() {\n  \"use strict\";\n\n  var WORD = /[\\w$]+/, RANGE = 500;\n\n  CodeMirror.registerHelper(\"hint\", \"anyword\", function(editor, options) {\n    var word = options && options.word || WORD;\n    var range = options && options.range || RANGE;\n    var cur = editor.getCursor(), curLine = editor.getLine(cur.line);\n    var start = cur.ch, end = start;\n    while (end < curLine.length && word.test(curLine.charAt(end))) ++end;\n    while (start && word.test(curLine.charAt(start - 1))) --start;\n    var curWord = start != end && curLine.slice(start, end);\n\n    var list = [], seen = {};\n    function scan(dir) {\n      var line = cur.line, end = Math.min(Math.max(line + dir * range, editor.firstLine()), editor.lastLine()) + dir;\n      for (; line != end; line += dir) {\n        var text = editor.getLine(line), m;\n        var re = new RegExp(word.source, \"g\");\n        while (m = re.exec(text)) {\n          if (line == cur.line && m[0] === curWord) continue;\n          if ((!curWord || m[0].indexOf(curWord) == 0) && !seen.hasOwnProperty(m[0])) {\n            seen[m[0]] = true;\n            list.push(m[0]);\n          }\n        }\n      }\n    }\n    scan(-1);\n    scan(1);\n    return {list: list, from: CodeMirror.Pos(cur.line, start), to: CodeMirror.Pos(cur.line, end)};\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/css-hint.js",
    "content": "(function () {\n  \"use strict\";\n\n  function getHints(cm) {\n    var cur = cm.getCursor(), token = cm.getTokenAt(cur);\n    var inner = CodeMirror.innerMode(cm.getMode(), token.state);\n    if (inner.mode.name != \"css\") return;\n\n    // If it's not a 'word-style' token, ignore the token.\n    if (!/^[\\w$_-]*$/.test(token.string)) {\n      token = {\n        start: cur.ch, end: cur.ch, string: \"\", state: token.state,\n        type: null\n      };\n      var stack = token.state.stack;\n      var lastToken = stack && stack.length > 0 ? stack[stack.length - 1] : \"\";\n      if (token.string == \":\" || lastToken.indexOf(\"property\") == 0)\n        token.type = \"variable\";\n      else if (token.string == \"{\" || lastToken.indexOf(\"rule\") == 0)\n        token.type = \"property\";\n    }\n\n    if (!token.type)\n      return;\n\n    var spec = CodeMirror.resolveMode(\"text/css\");\n    var keywords = null;\n    if (token.type.indexOf(\"property\") == 0)\n      keywords = spec.propertyKeywords;\n    else if (token.type.indexOf(\"variable\") == 0)\n      keywords = spec.valueKeywords;\n\n    if (!keywords)\n      return;\n\n    var result = [];\n    for (var name in keywords) {\n      if (name.indexOf(token.string) == 0 /* > -1 */)\n        result.push(name);\n    }\n\n    return {\n      list: result,\n      from: CodeMirror.Pos(cur.line, token.start),\n      to: CodeMirror.Pos(cur.line, token.end)\n    };\n  }\n\n  CodeMirror.registerHelper(\"hint\", \"css\", getHints);\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/html-hint.js",
    "content": "(function () {\n  var langs = \"ab aa af ak sq am ar an hy as av ae ay az bm ba eu be bn bh bi bs br bg my ca ch ce ny zh cv kw co cr hr cs da dv nl dz en eo et ee fo fj fi fr ff gl ka de el gn gu ht ha he hz hi ho hu ia id ie ga ig ik io is it iu ja jv kl kn kr ks kk km ki rw ky kv kg ko ku kj la lb lg li ln lo lt lu lv gv mk mg ms ml mt mi mr mh mn na nv nb nd ne ng nn no ii nr oc oj cu om or os pa pi fa pl ps pt qu rm rn ro ru sa sc sd se sm sg sr gd sn si sk sl so st es su sw ss sv ta te tg th ti bo tk tl tn to tr ts tt tw ty ug uk ur uz ve vi vo wa cy wo fy xh yi yo za zu\".split(\" \");\n  var targets = [\"_blank\", \"_self\", \"_top\", \"_parent\"];\n  var charsets = [\"ascii\", \"utf-8\", \"utf-16\", \"latin1\", \"latin1\"];\n  var methods = [\"get\", \"post\", \"put\", \"delete\"];\n  var encs = [\"application/x-www-form-urlencoded\", \"multipart/form-data\", \"text/plain\"];\n  var media = [\"all\", \"screen\", \"print\", \"embossed\", \"braille\", \"handheld\", \"print\", \"projection\", \"screen\", \"tty\", \"tv\", \"speech\",\n               \"3d-glasses\", \"resolution [>][<][=] [X]\", \"device-aspect-ratio: X/Y\", \"orientation:portrait\",\n               \"orientation:landscape\", \"device-height: [X]\", \"device-width: [X]\"];\n  var s = { attrs: {} }; // Simple tag, reused for a whole lot of tags\n\n  var data = {\n    a: {\n      attrs: {\n        href: null, ping: null, type: null,\n        media: media,\n        target: targets,\n        hreflang: langs\n      }\n    },\n    abbr: s,\n    acronym: s,\n    address: s,\n    applet: s,\n    area: {\n      attrs: {\n        alt: null, coords: null, href: null, target: null, ping: null,\n        media: media, hreflang: langs, type: null,\n        shape: [\"default\", \"rect\", \"circle\", \"poly\"]\n      }\n    },\n    article: s,\n    aside: s,\n    audio: {\n      attrs: {\n        src: null, mediagroup: null,\n        crossorigin: [\"anonymous\", \"use-credentials\"],\n        preload: [\"none\", \"metadata\", \"auto\"],\n        autoplay: [\"\", \"autoplay\"],\n        loop: [\"\", \"loop\"],\n        controls: [\"\", \"controls\"]\n      }\n    },\n    b: s,\n    base: { attrs: { href: null, target: targets } },\n    basefont: s,\n    bdi: s,\n    bdo: s,\n    big: s,\n    blockquote: { attrs: { cite: null } },\n    body: s,\n    br: s,\n    button: {\n      attrs: {\n        form: null, formaction: null, name: null, value: null,\n        autofocus: [\"\", \"autofocus\"],\n        disabled: [\"\", \"autofocus\"],\n        formenctype: encs,\n        formmethod: methods,\n        formnovalidate: [\"\", \"novalidate\"],\n        formtarget: targets,\n        type: [\"submit\", \"reset\", \"button\"]\n      }\n    },\n    canvas: { attrs: { width: null, height: null } },\n    caption: s,\n    center: s,\n    cite: s,\n    code: s,\n    col: { attrs: { span: null } },\n    colgroup: { attrs: { span: null } },\n    command: {\n      attrs: {\n        type: [\"command\", \"checkbox\", \"radio\"],\n        label: null, icon: null, radiogroup: null, command: null, title: null,\n        disabled: [\"\", \"disabled\"],\n        checked: [\"\", \"checked\"]\n      }\n    },\n    data: { attrs: { value: null } },\n    datagrid: { attrs: { disabled: [\"\", \"disabled\"], multiple: [\"\", \"multiple\"] } },\n    datalist: { attrs: { data: null } },\n    dd: s,\n    del: { attrs: { cite: null, datetime: null } },\n    details: { attrs: { open: [\"\", \"open\"] } },\n    dfn: s,\n    dir: s,\n    div: s,\n    dl: s,\n    dt: s,\n    em: s,\n    embed: { attrs: { src: null, type: null, width: null, height: null } },\n    eventsource: { attrs: { src: null } },\n    fieldset: { attrs: { disabled: [\"\", \"disabled\"], form: null, name: null } },\n    figcaption: s,\n    figure: s,\n    font: s,\n    footer: s,\n    form: {\n      attrs: {\n        action: null, name: null,\n        \"accept-charset\": charsets,\n        autocomplete: [\"on\", \"off\"],\n        enctype: encs,\n        method: methods,\n        novalidate: [\"\", \"novalidate\"],\n        target: targets\n      }\n    },\n    frame: s,\n    frameset: s,\n    h1: s, h2: s, h3: s, h4: s, h5: s, h6: s,\n    head: {\n      attrs: {},\n      children: [\"title\", \"base\", \"link\", \"style\", \"meta\", \"script\", \"noscript\", \"command\"]\n    },\n    header: s,\n    hgroup: s,\n    hr: s,\n    html: {\n      attrs: { manifest: null },\n      children: [\"head\", \"body\"]\n    },\n    i: s,\n    iframe: {\n      attrs: {\n        src: null, srcdoc: null, name: null, width: null, height: null,\n        sandbox: [\"allow-top-navigation\", \"allow-same-origin\", \"allow-forms\", \"allow-scripts\"],\n        seamless: [\"\", \"seamless\"]\n      }\n    },\n    img: {\n      attrs: {\n        alt: null, src: null, ismap: null, usemap: null, width: null, height: null,\n        crossorigin: [\"anonymous\", \"use-credentials\"]\n      }\n    },\n    input: {\n      attrs: {\n        alt: null, dirname: null, form: null, formaction: null,\n        height: null, list: null, max: null, maxlength: null, min: null,\n        name: null, pattern: null, placeholder: null, size: null, src: null,\n        step: null, value: null, width: null,\n        accept: [\"audio/*\", \"video/*\", \"image/*\"],\n        autocomplete: [\"on\", \"off\"],\n        autofocus: [\"\", \"autofocus\"],\n        checked: [\"\", \"checked\"],\n        disabled: [\"\", \"disabled\"],\n        formenctype: encs,\n        formmethod: methods,\n        formnovalidate: [\"\", \"novalidate\"],\n        formtarget: targets,\n        multiple: [\"\", \"multiple\"],\n        readonly: [\"\", \"readonly\"],\n        required: [\"\", \"required\"],\n        type: [\"hidden\", \"text\", \"search\", \"tel\", \"url\", \"email\", \"password\", \"datetime\", \"date\", \"month\",\n               \"week\", \"time\", \"datetime-local\", \"number\", \"range\", \"color\", \"checkbox\", \"radio\",\n               \"file\", \"submit\", \"image\", \"reset\", \"button\"]\n      }\n    },\n    ins: { attrs: { cite: null, datetime: null } },\n    kbd: s,\n    keygen: {\n      attrs: {\n        challenge: null, form: null, name: null,\n        autofocus: [\"\", \"autofocus\"],\n        disabled: [\"\", \"disabled\"],\n        keytype: [\"RSA\"]\n      }\n    },\n    label: { attrs: { \"for\": null, form: null } },\n    legend: s,\n    li: { attrs: { value: null } },\n    link: {\n      attrs: {\n        href: null, type: null,\n        hreflang: langs,\n        media: media,\n        sizes: [\"all\", \"16x16\", \"16x16 32x32\", \"16x16 32x32 64x64\"]\n      }\n    },\n    map: { attrs: { name: null } },\n    mark: s,\n    menu: { attrs: { label: null, type: [\"list\", \"context\", \"toolbar\"] } },\n    meta: {\n      attrs: {\n        content: null,\n        charset: charsets,\n        name: [\"viewport\", \"application-name\", \"author\", \"description\", \"generator\", \"keywords\"],\n        \"http-equiv\": [\"content-language\", \"content-type\", \"default-style\", \"refresh\"]\n      }\n    },\n    meter: { attrs: { value: null, min: null, low: null, high: null, max: null, optimum: null } },\n    nav: s,\n    noframes: s,\n    noscript: s,\n    object: {\n      attrs: {\n        data: null, type: null, name: null, usemap: null, form: null, width: null, height: null,\n        typemustmatch: [\"\", \"typemustmatch\"]\n      }\n    },\n    ol: { attrs: { reversed: [\"\", \"reversed\"], start: null, type: [\"1\", \"a\", \"A\", \"i\", \"I\"] } },\n    optgroup: { attrs: { disabled: [\"\", \"disabled\"], label: null } },\n    option: { attrs: { disabled: [\"\", \"disabled\"], label: null, selected: [\"\", \"selected\"], value: null } },\n    output: { attrs: { \"for\": null, form: null, name: null } },\n    p: s,\n    param: { attrs: { name: null, value: null } },\n    pre: s,\n    progress: { attrs: { value: null, max: null } },\n    q: { attrs: { cite: null } },\n    rp: s,\n    rt: s,\n    ruby: s,\n    s: s,\n    samp: s,\n    script: {\n      attrs: {\n        type: [\"text/javascript\"],\n        src: null,\n        async: [\"\", \"async\"],\n        defer: [\"\", \"defer\"],\n        charset: charsets\n      }\n    },\n    section: s,\n    select: {\n      attrs: {\n        form: null, name: null, size: null,\n        autofocus: [\"\", \"autofocus\"],\n        disabled: [\"\", \"disabled\"],\n        multiple: [\"\", \"multiple\"]\n      }\n    },\n    small: s,\n    source: { attrs: { src: null, type: null, media: null } },\n    span: s,\n    strike: s,\n    strong: s,\n    style: {\n      attrs: {\n        type: [\"text/css\"],\n        media: media,\n        scoped: null\n      }\n    },\n    sub: s,\n    summary: s,\n    sup: s,\n    table: s,\n    tbody: s,\n    td: { attrs: { colspan: null, rowspan: null, headers: null } },\n    textarea: {\n      attrs: {\n        dirname: null, form: null, maxlength: null, name: null, placeholder: null,\n        rows: null, cols: null,\n        autofocus: [\"\", \"autofocus\"],\n        disabled: [\"\", \"disabled\"],\n        readonly: [\"\", \"readonly\"],\n        required: [\"\", \"required\"],\n        wrap: [\"soft\", \"hard\"]\n      }\n    },\n    tfoot: s,\n    th: { attrs: { colspan: null, rowspan: null, headers: null, scope: [\"row\", \"col\", \"rowgroup\", \"colgroup\"] } },\n    thead: s,\n    time: { attrs: { datetime: null } },\n    title: s,\n    tr: s,\n    track: {\n      attrs: {\n        src: null, label: null, \"default\": null,\n        kind: [\"subtitles\", \"captions\", \"descriptions\", \"chapters\", \"metadata\"],\n        srclang: langs\n      }\n    },\n    tt: s,\n    u: s,\n    ul: s,\n    \"var\": s,\n    video: {\n      attrs: {\n        src: null, poster: null, width: null, height: null,\n        crossorigin: [\"anonymous\", \"use-credentials\"],\n        preload: [\"auto\", \"metadata\", \"none\"],\n        autoplay: [\"\", \"autoplay\"],\n        mediagroup: [\"movie\"],\n        muted: [\"\", \"muted\"],\n        controls: [\"\", \"controls\"]\n      }\n    },\n    wbr: s\n  };\n\n  var globalAttrs = {\n    accesskey: [\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\", \"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\"],\n    \"class\": null,\n    contenteditable: [\"true\", \"false\"],\n    contextmenu: null,\n    dir: [\"ltr\", \"rtl\", \"auto\"],\n    draggable: [\"true\", \"false\", \"auto\"],\n    dropzone: [\"copy\", \"move\", \"link\", \"string:\", \"file:\"],\n    hidden: [\"hidden\"],\n    id: null,\n    inert: [\"inert\"],\n    itemid: null,\n    itemprop: null,\n    itemref: null,\n    itemscope: [\"itemscope\"],\n    itemtype: null,\n    lang: [\"en\", \"es\"],\n    spellcheck: [\"true\", \"false\"],\n    style: null,\n    tabindex: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\"],\n    title: null,\n    translate: [\"yes\", \"no\"],\n    onclick: null,\n    rel: [\"stylesheet\", \"alternate\", \"author\", \"bookmark\", \"help\", \"license\", \"next\", \"nofollow\", \"noreferrer\", \"prefetch\", \"prev\", \"search\", \"tag\"]\n  };\n  function populate(obj) {\n    for (var attr in globalAttrs) if (globalAttrs.hasOwnProperty(attr))\n      obj.attrs[attr] = globalAttrs[attr];\n  }\n\n  populate(s);\n  for (var tag in data) if (data.hasOwnProperty(tag) && data[tag] != s)\n    populate(data[tag]);\n\n  CodeMirror.htmlSchema = data;\n  function htmlHint(cm, options) {\n    var local = {schemaInfo: data};\n    if (options) for (var opt in options) local[opt] = options[opt];\n    return CodeMirror.hint.xml(cm, local);\n  }\n  CodeMirror.htmlHint = htmlHint; // deprecated\n  CodeMirror.registerHelper(\"hint\", \"html\", htmlHint);\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/javascript-hint.js",
    "content": "(function () {\n  var Pos = CodeMirror.Pos;\n\n  function forEach(arr, f) {\n    for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);\n  }\n\n  function arrayContains(arr, item) {\n    if (!Array.prototype.indexOf) {\n      var i = arr.length;\n      while (i--) {\n        if (arr[i] === item) {\n          return true;\n        }\n      }\n      return false;\n    }\n    return arr.indexOf(item) != -1;\n  }\n\n  function scriptHint(editor, keywords, getToken, options) {\n    // Find the token at the cursor\n    var cur = editor.getCursor(), token = getToken(editor, cur), tprop = token;\n    if (/\\b(?:string|comment)\\b/.test(token.type)) return;\n    token.state = CodeMirror.innerMode(editor.getMode(), token.state).state;\n\n    // If it's not a 'word-style' token, ignore the token.\n    if (!/^[\\w$_]*$/.test(token.string)) {\n      token = tprop = {start: cur.ch, end: cur.ch, string: \"\", state: token.state,\n                       type: token.string == \".\" ? \"property\" : null};\n    }\n    // If it is a property, find out what it is a property of.\n    while (tprop.type == \"property\") {\n      tprop = getToken(editor, Pos(cur.line, tprop.start));\n      if (tprop.string != \".\") return;\n      tprop = getToken(editor, Pos(cur.line, tprop.start));\n      if (!context) var context = [];\n      context.push(tprop);\n    }\n    return {list: getCompletions(token, context, keywords, options),\n            from: Pos(cur.line, token.start),\n            to: Pos(cur.line, token.end)};\n  }\n\n  function javascriptHint(editor, options) {\n    return scriptHint(editor, javascriptKeywords,\n                      function (e, cur) {return e.getTokenAt(cur);},\n                      options);\n  };\n  CodeMirror.javascriptHint = javascriptHint; // deprecated\n  CodeMirror.registerHelper(\"hint\", \"javascript\", javascriptHint);\n\n  function getCoffeeScriptToken(editor, cur) {\n  // This getToken, it is for coffeescript, imitates the behavior of\n  // getTokenAt method in javascript.js, that is, returning \"property\"\n  // type and treat \".\" as indepenent token.\n    var token = editor.getTokenAt(cur);\n    if (cur.ch == token.start + 1 && token.string.charAt(0) == '.') {\n      token.end = token.start;\n      token.string = '.';\n      token.type = \"property\";\n    }\n    else if (/^\\.[\\w$_]*$/.test(token.string)) {\n      token.type = \"property\";\n      token.start++;\n      token.string = token.string.replace(/\\./, '');\n    }\n    return token;\n  }\n\n  function coffeescriptHint(editor, options) {\n    return scriptHint(editor, coffeescriptKeywords, getCoffeeScriptToken, options);\n  }\n  CodeMirror.coffeescriptHint = coffeescriptHint; // deprecated\n  CodeMirror.registerHelper(\"hint\", \"coffeescript\", coffeescriptHint);\n\n  var stringProps = (\"charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight \" +\n                     \"toUpperCase toLowerCase split concat match replace search\").split(\" \");\n  var arrayProps = (\"length concat join splice push pop shift unshift slice reverse sort indexOf \" +\n                    \"lastIndexOf every some filter forEach map reduce reduceRight \").split(\" \");\n  var funcProps = \"prototype apply call bind\".split(\" \");\n  var javascriptKeywords = (\"break case catch continue debugger default delete do else false finally for function \" +\n                  \"if in instanceof new null return switch throw true try typeof var void while with\").split(\" \");\n  var coffeescriptKeywords = (\"and break catch class continue delete do else extends false finally for \" +\n                  \"if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes\").split(\" \");\n\n  function getCompletions(token, context, keywords, options) {\n    var found = [], start = token.string;\n    function maybeAdd(str) {\n      if (str.indexOf(start) == 0 && !arrayContains(found, str)) found.push(str);\n    }\n    function gatherCompletions(obj) {\n      if (typeof obj == \"string\") forEach(stringProps, maybeAdd);\n      else if (obj instanceof Array) forEach(arrayProps, maybeAdd);\n      else if (obj instanceof Function) forEach(funcProps, maybeAdd);\n      for (var name in obj) maybeAdd(name);\n    }\n\n    if (context && context.length) {\n      // If this is a property, see if it belongs to some object we can\n      // find in the current environment.\n      var obj = context.pop(), base;\n      if (obj.type && obj.type.indexOf(\"variable\") === 0) {\n        if (options && options.additionalContext)\n          base = options.additionalContext[obj.string];\n        base = base || window[obj.string];\n      } else if (obj.type == \"string\") {\n        base = \"\";\n      } else if (obj.type == \"atom\") {\n        base = 1;\n      } else if (obj.type == \"function\") {\n        if (window.jQuery != null && (obj.string == '$' || obj.string == 'jQuery') &&\n            (typeof window.jQuery == 'function'))\n          base = window.jQuery();\n        else if (window._ != null && (obj.string == '_') && (typeof window._ == 'function'))\n          base = window._();\n      }\n      while (base != null && context.length)\n        base = base[context.pop().string];\n      if (base != null) gatherCompletions(base);\n    } else {\n      // If not, just look in the window object and any local scope\n      // (reading into JS mode internals to get at the local and global variables)\n      for (var v = token.state.localVars; v; v = v.next) maybeAdd(v.name);\n      for (var v = token.state.globalVars; v; v = v.next) maybeAdd(v.name);\n      gatherCompletions(window);\n      forEach(keywords, maybeAdd);\n    }\n    return found;\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/pig-hint.js",
    "content": "(function () {\n  \"use strict\";\n\n  function forEach(arr, f) {\n    for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);\n  }\n\n  function arrayContains(arr, item) {\n    if (!Array.prototype.indexOf) {\n      var i = arr.length;\n      while (i--) {\n        if (arr[i] === item) {\n          return true;\n        }\n      }\n      return false;\n    }\n    return arr.indexOf(item) != -1;\n  }\n\n  function scriptHint(editor, _keywords, getToken) {\n    // Find the token at the cursor\n    var cur = editor.getCursor(), token = getToken(editor, cur), tprop = token;\n    // If it's not a 'word-style' token, ignore the token.\n\n    if (!/^[\\w$_]*$/.test(token.string)) {\n        token = tprop = {start: cur.ch, end: cur.ch, string: \"\", state: token.state,\n                         className: token.string == \":\" ? \"pig-type\" : null};\n    }\n\n    if (!context) var context = [];\n    context.push(tprop);\n\n    var completionList = getCompletions(token, context);\n    completionList = completionList.sort();\n    //prevent autocomplete for last word, instead show dropdown with one word\n    if(completionList.length == 1) {\n      completionList.push(\" \");\n    }\n\n    return {list: completionList,\n            from: CodeMirror.Pos(cur.line, token.start),\n            to: CodeMirror.Pos(cur.line, token.end)};\n  }\n\n  function pigHint(editor) {\n    return scriptHint(editor, pigKeywordsU, function (e, cur) {return e.getTokenAt(cur);});\n  }\n  CodeMirror.pigHint = pigHint; // deprecated\n  CodeMirror.registerHelper(\"hint\", \"pig\", pigHint);\n\n  var pigKeywords = \"VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP \"\n  + \"JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL \"\n  + \"PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE \"\n  + \"SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE \"\n  + \"NEQ MATCHES TRUE FALSE\";\n  var pigKeywordsU = pigKeywords.split(\" \");\n  var pigKeywordsL = pigKeywords.toLowerCase().split(\" \");\n\n  var pigTypes = \"BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP\";\n  var pigTypesU = pigTypes.split(\" \");\n  var pigTypesL = pigTypes.toLowerCase().split(\" \");\n\n  var pigBuiltins = \"ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL \"\n  + \"CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS \"\n  + \"DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG \"\n  + \"FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN \"\n  + \"INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER \"\n  + \"ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS \"\n  + \"LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA  \"\n  + \"PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE \"\n  + \"SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG \"\n  + \"TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER\";\n  var pigBuiltinsU = pigBuiltins.split(\" \").join(\"() \").split(\" \");\n  var pigBuiltinsL = pigBuiltins.toLowerCase().split(\" \").join(\"() \").split(\" \");\n  var pigBuiltinsC = (\"BagSize BinStorage Bloom BuildBloom ConstantSize CubeDimensions DoubleAbs \"\n  + \"DoubleAvg DoubleBase DoubleMax DoubleMin DoubleRound DoubleSum FloatAbs FloatAvg FloatMax \"\n  + \"FloatMin FloatRound FloatSum GenericInvoker IntAbs IntAvg IntMax IntMin IntSum \"\n  + \"InvokeForDouble InvokeForFloat InvokeForInt InvokeForLong InvokeForString Invoker \"\n  + \"IsEmpty JsonLoader JsonMetadata JsonStorage LongAbs LongAvg LongMax LongMin LongSum MapSize \"\n  + \"MonitoredUDF Nondeterministic OutputSchema PigStorage PigStreaming StringConcat StringMax \"\n  + \"StringMin StringSize TextLoader TupleSize Utf8StorageConverter\").split(\" \").join(\"() \").split(\" \");\n\n  function getCompletions(token, context) {\n    var found = [], start = token.string;\n    function maybeAdd(str) {\n      if (str.indexOf(start) == 0 && !arrayContains(found, str)) found.push(str);\n    }\n\n    function gatherCompletions(obj) {\n      if(obj == \":\") {\n        forEach(pigTypesL, maybeAdd);\n      }\n      else {\n        forEach(pigBuiltinsU, maybeAdd);\n        forEach(pigBuiltinsL, maybeAdd);\n        forEach(pigBuiltinsC, maybeAdd);\n        forEach(pigTypesU, maybeAdd);\n        forEach(pigTypesL, maybeAdd);\n        forEach(pigKeywordsU, maybeAdd);\n        forEach(pigKeywordsL, maybeAdd);\n      }\n    }\n\n    if (context) {\n      // If this is a property, see if it belongs to some object we can\n      // find in the current environment.\n      var obj = context.pop(), base;\n\n      if (obj.type == \"variable\")\n          base = obj.string;\n      else if(obj.type == \"variable-3\")\n          base = \":\" + obj.string;\n\n      while (base != null && context.length)\n        base = base[context.pop().string];\n      if (base != null) gatherCompletions(base);\n    }\n    return found;\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/python-hint.js",
    "content": "(function () {\n  function forEach(arr, f) {\n    for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);\n  }\n\n  function arrayContains(arr, item) {\n    if (!Array.prototype.indexOf) {\n      var i = arr.length;\n      while (i--) {\n        if (arr[i] === item) {\n          return true;\n        }\n      }\n      return false;\n    }\n    return arr.indexOf(item) != -1;\n  }\n\n  function scriptHint(editor, _keywords, getToken) {\n    // Find the token at the cursor\n    var cur = editor.getCursor(), token = getToken(editor, cur), tprop = token;\n    // If it's not a 'word-style' token, ignore the token.\n\n    if (!/^[\\w$_]*$/.test(token.string)) {\n        token = tprop = {start: cur.ch, end: cur.ch, string: \"\", state: token.state,\n                         className: token.string == \":\" ? \"python-type\" : null};\n    }\n\n    if (!context) var context = [];\n    context.push(tprop);\n\n    var completionList = getCompletions(token, context);\n    completionList = completionList.sort();\n    //prevent autocomplete for last word, instead show dropdown with one word\n    if(completionList.length == 1) {\n      completionList.push(\" \");\n    }\n\n    return {list: completionList,\n            from: CodeMirror.Pos(cur.line, token.start),\n            to: CodeMirror.Pos(cur.line, token.end)};\n  }\n\n  function pythonHint(editor) {\n    return scriptHint(editor, pythonKeywordsU, function (e, cur) {return e.getTokenAt(cur);});\n  }\n  CodeMirror.pythonHint = pythonHint; // deprecated\n  CodeMirror.registerHelper(\"hint\", \"python\", pythonHint);\n\n  var pythonKeywords = \"and del from not while as elif global or with assert else if pass yield\"\n+ \"break except import print class exec in raise continue finally is return def for lambda try\";\n  var pythonKeywordsL = pythonKeywords.split(\" \");\n  var pythonKeywordsU = pythonKeywords.toUpperCase().split(\" \");\n\n  var pythonBuiltins = \"abs divmod input open staticmethod all enumerate int ord str \"\n+ \"any eval isinstance pow sum basestring execfile issubclass print super\"\n+ \"bin file iter property tuple bool filter len range type\"\n+ \"bytearray float list raw_input unichr callable format locals reduce unicode\"\n+ \"chr frozenset long reload vars classmethod getattr map repr xrange\"\n+ \"cmp globals max reversed zip compile hasattr memoryview round __import__\"\n+ \"complex hash min set apply delattr help next setattr buffer\"\n+ \"dict hex object slice coerce dir id oct sorted intern \";\n  var pythonBuiltinsL = pythonBuiltins.split(\" \").join(\"() \").split(\" \");\n  var pythonBuiltinsU = pythonBuiltins.toUpperCase().split(\" \").join(\"() \").split(\" \");\n\n  function getCompletions(token, context) {\n    var found = [], start = token.string;\n    function maybeAdd(str) {\n      if (str.indexOf(start) == 0 && !arrayContains(found, str)) found.push(str);\n    }\n\n    function gatherCompletions(_obj) {\n        forEach(pythonBuiltinsL, maybeAdd);\n        forEach(pythonBuiltinsU, maybeAdd);\n        forEach(pythonKeywordsL, maybeAdd);\n        forEach(pythonKeywordsU, maybeAdd);\n    }\n\n    if (context) {\n      // If this is a property, see if it belongs to some object we can\n      // find in the current environment.\n      var obj = context.pop(), base;\n\n      if (obj.type == \"variable\")\n          base = obj.string;\n      else if(obj.type == \"variable-3\")\n          base = \":\" + obj.string;\n\n      while (base != null && context.length)\n        base = base[context.pop().string];\n      if (base != null) gatherCompletions(base);\n    }\n    return found;\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/show-hint.css",
    "content": ".CodeMirror-hints {\n  position: absolute;\n  z-index: 10;\n  overflow: hidden;\n  list-style: none;\n\n  margin: 0;\n  padding: 2px;\n\n  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  border-radius: 3px;\n  border: 1px solid silver;\n\n  background: white;\n  font-size: 90%;\n  font-family: monospace;\n\n  max-height: 20em;\n  overflow-y: auto;\n}\n\n.CodeMirror-hint {\n  margin: 0;\n  padding: 0 4px;\n  border-radius: 2px;\n  max-width: 19em;\n  overflow: hidden;\n  white-space: pre;\n  color: black;\n  cursor: pointer;\n}\n\n.CodeMirror-hint-active {\n  background: #08f;\n  color: white;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/show-hint.js",
    "content": "(function() {\n  \"use strict\";\n\n  var HINT_ELEMENT_CLASS        = \"CodeMirror-hint\";\n  var ACTIVE_HINT_ELEMENT_CLASS = \"CodeMirror-hint-active\";\n\n  CodeMirror.showHint = function(cm, getHints, options) {\n    // We want a single cursor position.\n    if (cm.somethingSelected()) return;\n    if (getHints == null) getHints = cm.getHelper(cm.getCursor(), \"hint\");\n    if (getHints == null) return;\n\n    if (cm.state.completionActive) cm.state.completionActive.close();\n\n    var completion = cm.state.completionActive = new Completion(cm, getHints, options || {});\n    CodeMirror.signal(cm, \"startCompletion\", cm);\n    if (completion.options.async)\n      getHints(cm, function(hints) { completion.showHints(hints); }, completion.options);\n    else\n      return completion.showHints(getHints(cm, completion.options));\n  };\n\n  function Completion(cm, getHints, options) {\n    this.cm = cm;\n    this.getHints = getHints;\n    this.options = options;\n    this.widget = this.onClose = null;\n  }\n\n  Completion.prototype = {\n    close: function() {\n      if (!this.active()) return;\n      this.cm.state.completionActive = null;\n\n      if (this.widget) this.widget.close();\n      if (this.onClose) this.onClose();\n      CodeMirror.signal(this.cm, \"endCompletion\", this.cm);\n    },\n\n    active: function() {\n      return this.cm.state.completionActive == this;\n    },\n\n    pick: function(data, i) {\n      var completion = data.list[i];\n      if (completion.hint) completion.hint(this.cm, data, completion);\n      else this.cm.replaceRange(getText(completion), data.from, data.to);\n      this.close();\n    },\n\n    showHints: function(data) {\n      if (!data || !data.list.length || !this.active()) return this.close();\n\n      if (this.options.completeSingle != false && data.list.length == 1)\n        this.pick(data, 0);\n      else\n        this.showWidget(data);\n    },\n\n    showWidget: function(data) {\n      this.widget = new Widget(this, data);\n      CodeMirror.signal(data, \"shown\");\n\n      var debounce = null, completion = this, finished;\n      var closeOn = this.options.closeCharacters || /[\\s()\\[\\]{};:>,]/;\n      var startPos = this.cm.getCursor(), startLen = this.cm.getLine(startPos.line).length;\n\n      function done() {\n        if (finished) return;\n        finished = true;\n        completion.close();\n        completion.cm.off(\"cursorActivity\", activity);\n        if (data) CodeMirror.signal(data, \"close\");\n      }\n\n      function update() {\n        if (finished) return;\n        CodeMirror.signal(data, \"update\");\n        if (completion.options.async)\n          completion.getHints(completion.cm, finishUpdate, completion.options);\n        else\n          finishUpdate(completion.getHints(completion.cm, completion.options));\n      }\n      function finishUpdate(data_) {\n        data = data_;\n        if (finished) return;\n        if (!data || !data.list.length) return done();\n        completion.widget = new Widget(completion, data);\n      }\n\n      function activity() {\n        clearTimeout(debounce);\n        var pos = completion.cm.getCursor(), line = completion.cm.getLine(pos.line);\n        if (pos.line != startPos.line || line.length - pos.ch != startLen - startPos.ch ||\n            pos.ch < startPos.ch || completion.cm.somethingSelected() ||\n            (pos.ch && closeOn.test(line.charAt(pos.ch - 1)))) {\n          completion.close();\n        } else {\n          debounce = setTimeout(update, 170);\n          if (completion.widget) completion.widget.close();\n        }\n      }\n      this.cm.on(\"cursorActivity\", activity);\n      this.onClose = done;\n    }\n  };\n\n  function getText(completion) {\n    if (typeof completion == \"string\") return completion;\n    else return completion.text;\n  }\n\n  function buildKeyMap(options, handle) {\n    var baseMap = {\n      Up: function() {handle.moveFocus(-1);},\n      Down: function() {handle.moveFocus(1);},\n      PageUp: function() {handle.moveFocus(-handle.menuSize() + 1, true);},\n      PageDown: function() {handle.moveFocus(handle.menuSize() - 1, true);},\n      Home: function() {handle.setFocus(0);},\n      End: function() {handle.setFocus(handle.length - 1);},\n      Enter: handle.pick,\n      Tab: handle.pick,\n      Esc: handle.close\n    };\n    var ourMap = options.customKeys ? {} : baseMap;\n    function addBinding(key, val) {\n      var bound;\n      if (typeof val != \"string\")\n        bound = function(cm) { return val(cm, handle); };\n      // This mechanism is deprecated\n      else if (baseMap.hasOwnProperty(val))\n        bound = baseMap[val];\n      else\n        bound = val;\n      ourMap[key] = bound;\n    }\n    if (options.customKeys)\n      for (var key in options.customKeys) if (options.customKeys.hasOwnProperty(key))\n        addBinding(key, options.customKeys[key]);\n    if (options.extraKeys)\n      for (var key in options.extraKeys) if (options.extraKeys.hasOwnProperty(key))\n        addBinding(key, options.extraKeys[key]);\n    return ourMap;\n  }\n\n  function getHintElement(stopAt, el) {\n    while (el && el != stopAt) {\n      if (el.nodeName.toUpperCase() === \"LI\") return el;\n      el = el.parentNode;\n    }\n  }\n\n  function Widget(completion, data) {\n    this.completion = completion;\n    this.data = data;\n    var widget = this, cm = completion.cm, options = completion.options;\n\n    var hints = this.hints = document.createElement(\"ul\");\n    hints.className = \"CodeMirror-hints\";\n    this.selectedHint = options.getDefaultSelection ? options.getDefaultSelection(cm,options,data) : 0;\n\n    var completions = data.list;\n    for (var i = 0; i < completions.length; ++i) {\n      var elt = hints.appendChild(document.createElement(\"li\")), cur = completions[i];\n      var className = HINT_ELEMENT_CLASS + (i != this.selectedHint ? \"\" : \" \" + ACTIVE_HINT_ELEMENT_CLASS);\n      if (cur.className != null) className = cur.className + \" \" + className;\n      elt.className = className;\n      if (cur.render) cur.render(elt, data, cur);\n      else elt.appendChild(document.createTextNode(cur.displayText || getText(cur)));\n      elt.hintId = i;\n    }\n\n    var pos = cm.cursorCoords(options.alignWithWord !== false ? data.from : null);\n    var left = pos.left, top = pos.bottom, below = true;\n    hints.style.left = left + \"px\";\n    hints.style.top = top + \"px\";\n    // If we're at the edge of the screen, then we want the menu to appear on the left of the cursor.\n    var winW = window.innerWidth || Math.max(document.body.offsetWidth, document.documentElement.offsetWidth);\n    var winH = window.innerHeight || Math.max(document.body.offsetHeight, document.documentElement.offsetHeight);\n    (options.container || document.body).appendChild(hints);\n    var box = hints.getBoundingClientRect();\n    var overlapX = box.right - winW, overlapY = box.bottom - winH;\n    if (overlapX > 0) {\n      if (box.right - box.left > winW) {\n        hints.style.width = (winW - 5) + \"px\";\n        overlapX -= (box.right - box.left) - winW;\n      }\n      hints.style.left = (left = pos.left - overlapX) + \"px\";\n    }\n    if (overlapY > 0) {\n      var height = box.bottom - box.top;\n      if (box.top - (pos.bottom - pos.top) - height > 0) {\n        overlapY = height + (pos.bottom - pos.top);\n        below = false;\n      } else if (height > winH) {\n        hints.style.height = (winH - 5) + \"px\";\n        overlapY -= height - winH;\n      }\n      hints.style.top = (top = pos.bottom - overlapY) + \"px\";\n    }\n\n    cm.addKeyMap(this.keyMap = buildKeyMap(options, {\n      moveFocus: function(n, avoidWrap) { widget.changeActive(widget.selectedHint + n, avoidWrap); },\n      setFocus: function(n) { widget.changeActive(n); },\n      menuSize: function() { return widget.screenAmount(); },\n      length: completions.length,\n      close: function() { completion.close(); },\n      pick: function() { widget.pick(); }\n    }));\n\n    if (options.closeOnUnfocus !== false) {\n      var closingOnBlur;\n      cm.on(\"blur\", this.onBlur = function() { closingOnBlur = setTimeout(function() { completion.close(); }, 100); });\n      cm.on(\"focus\", this.onFocus = function() { clearTimeout(closingOnBlur); });\n    }\n\n    var startScroll = cm.getScrollInfo();\n    cm.on(\"scroll\", this.onScroll = function() {\n      var curScroll = cm.getScrollInfo(), editor = cm.getWrapperElement().getBoundingClientRect();\n      var newTop = top + startScroll.top - curScroll.top;\n      var point = newTop - (window.pageYOffset || (document.documentElement || document.body).scrollTop);\n      if (!below) point += hints.offsetHeight;\n      if (point <= editor.top || point >= editor.bottom) return completion.close();\n      hints.style.top = newTop + \"px\";\n      hints.style.left = (left + startScroll.left - curScroll.left) + \"px\";\n    });\n\n    CodeMirror.on(hints, \"dblclick\", function(e) {\n      var t = getHintElement(hints, e.target || e.srcElement);\n      if (t && t.hintId != null) {widget.changeActive(t.hintId); widget.pick();}\n    });\n\n    CodeMirror.on(hints, \"click\", function(e) {\n      var t = getHintElement(hints, e.target || e.srcElement);\n      if (t && t.hintId != null) widget.changeActive(t.hintId);\n    });\n\n    CodeMirror.on(hints, \"mousedown\", function() {\n      setTimeout(function(){cm.focus();}, 20);\n    });\n\n    CodeMirror.signal(data, \"select\", completions[0], hints.firstChild);\n    return true;\n  }\n\n  Widget.prototype = {\n    close: function() {\n      if (this.completion.widget != this) return;\n      this.completion.widget = null;\n      this.hints.parentNode.removeChild(this.hints);\n      this.completion.cm.removeKeyMap(this.keyMap);\n\n      var cm = this.completion.cm;\n      if (this.completion.options.closeOnUnfocus !== false) {\n        cm.off(\"blur\", this.onBlur);\n        cm.off(\"focus\", this.onFocus);\n      }\n      cm.off(\"scroll\", this.onScroll);\n    },\n\n    pick: function() {\n      this.completion.pick(this.data, this.selectedHint);\n    },\n\n    changeActive: function(i, avoidWrap) {\n      if (i >= this.data.list.length)\n        i = avoidWrap ? this.data.list.length - 1 : 0;\n      else if (i < 0)\n        i = avoidWrap ? 0  : this.data.list.length - 1;\n      if (this.selectedHint == i) return;\n      var node = this.hints.childNodes[this.selectedHint];\n      node.className = node.className.replace(\" \" + ACTIVE_HINT_ELEMENT_CLASS, \"\");\n      node = this.hints.childNodes[this.selectedHint = i];\n      node.className += \" \" + ACTIVE_HINT_ELEMENT_CLASS;\n      if (node.offsetTop < this.hints.scrollTop)\n        this.hints.scrollTop = node.offsetTop - 3;\n      else if (node.offsetTop + node.offsetHeight > this.hints.scrollTop + this.hints.clientHeight)\n        this.hints.scrollTop = node.offsetTop + node.offsetHeight - this.hints.clientHeight + 3;\n      CodeMirror.signal(this.data, \"select\", this.data.list[this.selectedHint], node);\n    },\n\n    screenAmount: function() {\n      return Math.floor(this.hints.clientHeight / this.hints.firstChild.offsetHeight) || 1;\n    }\n  };\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/sql-hint.js",
    "content": "(function () {\n  \"use strict\";\n\n  var tables;\n  var keywords;\n\n  function getKeywords(editor) {\n    var mode = editor.doc.modeOption;\n    if(mode === \"sql\") mode = \"text/x-sql\";\n    return CodeMirror.resolveMode(mode).keywords;\n  }\n\n  function match(string, word) {\n    var len = string.length;\n    var sub = word.substr(0, len);\n    return string.toUpperCase() === sub.toUpperCase();\n  }\n\n  function addMatches(result, search, wordlist, formatter) {\n    for(var word in wordlist) {\n      if(!wordlist.hasOwnProperty(word)) continue;\n      if(Array.isArray(wordlist)) {\n        word = wordlist[word];\n      }\n      if(match(search, word)) {\n        result.push(formatter(word));\n      }\n    }\n  }\n\n  function columnCompletion(result, editor) {\n    var cur = editor.getCursor();\n    var token = editor.getTokenAt(cur);\n    var string = token.string.substr(1);\n    var prevCur = CodeMirror.Pos(cur.line, token.start);\n    var table = editor.getTokenAt(prevCur).string;\n    var columns = tables[table];\n    if(!columns) {\n      table = findTableByAlias(table, editor);\n    }\n    columns = tables[table];\n    if(!columns) {\n      return;\n    }\n    addMatches(result, string, columns,\n        function(w) {return \".\" + w;});\n  }\n\n  function eachWord(line, f) {\n    var words = line.text.split(\" \");\n    for(var i = 0; i < words.length; i++) {\n      f(words[i]);\n    }\n  }\n\n  // Tries to find possible table name from alias.\n  function findTableByAlias(alias, editor) {\n    var aliasUpperCase = alias.toUpperCase();\n    var previousWord = \"\";\n    var table = \"\";\n\n    editor.eachLine(function(line) {\n      eachWord(line, function(word) {\n        var wordUpperCase = word.toUpperCase();\n        if(wordUpperCase === aliasUpperCase) {\n          if(tables.hasOwnProperty(previousWord)) {\n            table = previousWord;\n          }\n        }\n        if(wordUpperCase !== \"AS\") {\n          previousWord = word;\n        }\n      });\n    });\n    return table;\n  }\n\n  function sqlHint(editor, options) {\n    tables = (options && options.tables) || {};\n    keywords = keywords || getKeywords(editor);\n    var cur = editor.getCursor();\n    var token = editor.getTokenAt(cur);\n\n    var result = [];\n\n    var search = token.string.trim();\n\n    addMatches(result, search, keywords,\n        function(w) {return w.toUpperCase();});\n\n    addMatches(result, search, tables,\n        function(w) {return w;});\n\n    if(search.lastIndexOf('.') === 0) {\n      columnCompletion(result, editor);\n    }\n\n    return {\n      list: result,\n        from: CodeMirror.Pos(cur.line, token.start),\n        to: CodeMirror.Pos(cur.line, token.end)\n    };\n  }\n  CodeMirror.registerHelper(\"hint\", \"sql\", sqlHint);\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/hint/xml-hint.js",
    "content": "(function() {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n\n  function getHints(cm, options) {\n    var tags = options && options.schemaInfo;\n    var quote = (options && options.quoteChar) || '\"';\n    if (!tags) return;\n    var cur = cm.getCursor(), token = cm.getTokenAt(cur);\n    var inner = CodeMirror.innerMode(cm.getMode(), token.state);\n    if (inner.mode.name != \"xml\") return;\n    var result = [], replaceToken = false, prefix;\n    var isTag = token.string.charAt(0) == \"<\";\n    if (!inner.state.tagName || isTag) { // Tag completion\n      if (isTag) {\n        prefix = token.string.slice(1);\n        replaceToken = true;\n      }\n      var cx = inner.state.context, curTag = cx && tags[cx.tagName];\n      var childList = cx ? curTag && curTag.children : tags[\"!top\"];\n      if (childList) {\n        for (var i = 0; i < childList.length; ++i) if (!prefix || childList[i].indexOf(prefix) == 0)\n          result.push(\"<\" + childList[i]);\n      } else {\n        for (var name in tags) if (tags.hasOwnProperty(name) && name != \"!top\" && (!prefix || name.indexOf(prefix) == 0))\n          result.push(\"<\" + name);\n      }\n      if (cx && (!prefix || (\"/\" + cx.tagName).indexOf(prefix) == 0))\n        result.push(\"</\" + cx.tagName + \">\");\n    } else {\n      // Attribute completion\n      var curTag = tags[inner.state.tagName], attrs = curTag && curTag.attrs;\n      if (!attrs) return;\n      if (token.type == \"string\" || token.string == \"=\") { // A value\n        var before = cm.getRange(Pos(cur.line, Math.max(0, cur.ch - 60)),\n                                 Pos(cur.line, token.type == \"string\" ? token.start : token.end));\n        var atName = before.match(/([^\\s\\u00a0=<>\\\"\\']+)=$/), atValues;\n        if (!atName || !attrs.hasOwnProperty(atName[1]) || !(atValues = attrs[atName[1]])) return;\n        if (typeof atValues == 'function') atValues = atValues.call(this, cm); // Functions can be used to supply values for autocomplete widget\n        if (token.type == \"string\") {\n          prefix = token.string;\n          if (/['\"]/.test(token.string.charAt(0))) {\n            quote = token.string.charAt(0);\n            prefix = token.string.slice(1);\n          }\n          replaceToken = true;\n        }\n        for (var i = 0; i < atValues.length; ++i) if (!prefix || atValues[i].indexOf(prefix) == 0)\n          result.push(quote + atValues[i] + quote);\n      } else { // An attribute name\n        if (token.type == \"attribute\") {\n          prefix = token.string;\n          replaceToken = true;\n        }\n        for (var attr in attrs) if (attrs.hasOwnProperty(attr) && (!prefix || attr.indexOf(prefix) == 0))\n          result.push(attr);\n      }\n    }\n    return {\n      list: result,\n      from: replaceToken ? Pos(cur.line, token.start) : cur,\n      to: replaceToken ? Pos(cur.line, token.end) : cur\n    };\n  }\n\n  CodeMirror.xmlHint = getHints; // deprecated\n  CodeMirror.registerHelper(\"hint\", \"xml\", getHints);\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/lint/coffeescript-lint.js",
    "content": "// Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js\n\n// declare global: coffeelint\n\nCodeMirror.registerHelper(\"lint\", \"coffeescript\", function(text) {\n  var found = [];\n  var parseError = function(err) {\n    var loc = err.lineNumber;\n    found.push({from: CodeMirror.Pos(loc-1, 0),\n                to: CodeMirror.Pos(loc, 0),\n                severity: err.level,\n                message: err.message});\n  };\n  try {\n    var res = coffeelint.lint(text);\n    for(var i = 0; i < res.length; i++) {\n      parseError(res[i]);\n    }\n  } catch(e) {\n    found.push({from: CodeMirror.Pos(e.location.first_line, 0),\n                to: CodeMirror.Pos(e.location.last_line, e.location.last_column),\n                severity: 'error',\n                message: e.message});\n  }\n  return found;\n});\nCodeMirror.coffeeValidator = CodeMirror.lint.coffeescript; // deprecated\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/lint/css-lint.js",
    "content": "// Depends on csslint.js from https://github.com/stubbornella/csslint\n\n// declare global: CSSLint\n\nCodeMirror.registerHelper(\"lint\", \"css\", function(text) {\n  var found = [];\n  var results = CSSLint.verify(text), messages = results.messages, message = null;\n  for ( var i = 0; i < messages.length; i++) {\n    message = messages[i];\n    var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col;\n    found.push({\n      from: CodeMirror.Pos(startLine, startCol),\n      to: CodeMirror.Pos(endLine, endCol),\n      message: message.message,\n      severity : message.type\n    });\n  }\n  return found;\n});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/lint/javascript-lint.js",
    "content": "(function() {\n  \"use strict\";\n  // declare global: JSHINT\n\n  var bogus = [ \"Dangerous comment\" ];\n\n  var warnings = [ [ \"Expected '{'\",\n                     \"Statement body should be inside '{ }' braces.\" ] ];\n\n  var errors = [ \"Missing semicolon\", \"Extra comma\", \"Missing property name\",\n                 \"Unmatched \", \" and instead saw\", \" is not defined\",\n                 \"Unclosed string\", \"Stopping, unable to continue\" ];\n\n  function validator(text, options) {\n    JSHINT(text, options);\n    var errors = JSHINT.data().errors, result = [];\n    if (errors) parseErrors(errors, result);\n    return result;\n  }\n\n  CodeMirror.registerHelper(\"lint\", \"javascript\", validator);\n  CodeMirror.javascriptValidator = CodeMirror.lint.javascript; // deprecated\n\n  function cleanup(error) {\n    // All problems are warnings by default\n    fixWith(error, warnings, \"warning\", true);\n    fixWith(error, errors, \"error\");\n\n    return isBogus(error) ? null : error;\n  }\n\n  function fixWith(error, fixes, severity, force) {\n    var description, fix, find, replace, found;\n\n    description = error.description;\n\n    for ( var i = 0; i < fixes.length; i++) {\n      fix = fixes[i];\n      find = (typeof fix === \"string\" ? fix : fix[0]);\n      replace = (typeof fix === \"string\" ? null : fix[1]);\n      found = description.indexOf(find) !== -1;\n\n      if (force || found) {\n        error.severity = severity;\n      }\n      if (found && replace) {\n        error.description = replace;\n      }\n    }\n  }\n\n  function isBogus(error) {\n    var description = error.description;\n    for ( var i = 0; i < bogus.length; i++) {\n      if (description.indexOf(bogus[i]) !== -1) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  function parseErrors(errors, output) {\n    for ( var i = 0; i < errors.length; i++) {\n      var error = errors[i];\n      if (error) {\n        var linetabpositions, index;\n\n        linetabpositions = [];\n\n        // This next block is to fix a problem in jshint. Jshint\n        // replaces\n        // all tabs with spaces then performs some checks. The error\n        // positions (character/space) are then reported incorrectly,\n        // not taking the replacement step into account. Here we look\n        // at the evidence line and try to adjust the character position\n        // to the correct value.\n        if (error.evidence) {\n          // Tab positions are computed once per line and cached\n          var tabpositions = linetabpositions[error.line];\n          if (!tabpositions) {\n            var evidence = error.evidence;\n            tabpositions = [];\n            // ugggh phantomjs does not like this\n            // forEachChar(evidence, function(item, index) {\n            Array.prototype.forEach.call(evidence, function(item,\n                                                            index) {\n              if (item === '\\t') {\n                // First col is 1 (not 0) to match error\n                // positions\n                tabpositions.push(index + 1);\n              }\n            });\n            linetabpositions[error.line] = tabpositions;\n          }\n          if (tabpositions.length > 0) {\n            var pos = error.character;\n            tabpositions.forEach(function(tabposition) {\n              if (pos > tabposition) pos -= 1;\n            });\n            error.character = pos;\n          }\n        }\n\n        var start = error.character - 1, end = start + 1;\n        if (error.evidence) {\n          index = error.evidence.substring(start).search(/.\\b/);\n          if (index > -1) {\n            end += index;\n          }\n        }\n\n        // Convert to format expected by validation service\n        error.description = error.reason;// + \"(jshint)\";\n        error.start = error.character;\n        error.end = end;\n        error = cleanup(error);\n\n        if (error)\n          output.push({message: error.description,\n                       severity: error.severity,\n                       from: CodeMirror.Pos(error.line - 1, start),\n                       to: CodeMirror.Pos(error.line - 1, end)});\n      }\n    }\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/lint/json-lint.js",
    "content": "// Depends on jsonlint.js from https://github.com/zaach/jsonlint\n\n// declare global: jsonlint\n\nCodeMirror.registerHelper(\"lint\", \"json\", function(text) {\n  var found = [];\n  jsonlint.parseError = function(str, hash) {\n    var loc = hash.loc;\n    found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column),\n                to: CodeMirror.Pos(loc.last_line - 1, loc.last_column),\n                message: str});\n  };\n  try { jsonlint.parse(text); }\n  catch(e) {}\n  return found;\n});\nCodeMirror.jsonValidator = CodeMirror.lint.json; // deprecated\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/lint/lint.css",
    "content": "/* The lint marker gutter */\n.CodeMirror-lint-markers {\n  width: 16px;\n}\n\n.CodeMirror-lint-tooltip {\n  background-color: infobackground;\n  border: 1px solid black;\n  border-radius: 4px 4px 4px 4px;\n  color: infotext;\n  font-family: monospace;\n  font-size: 10pt;\n  overflow: hidden;\n  padding: 2px 5px;\n  position: fixed;\n  white-space: pre;\n  white-space: pre-wrap;\n  z-index: 100;\n  max-width: 600px;\n  opacity: 0;\n  transition: opacity .4s;\n  -moz-transition: opacity .4s;\n  -webkit-transition: opacity .4s;\n  -o-transition: opacity .4s;\n  -ms-transition: opacity .4s;\n}\n\n.CodeMirror-lint-mark-error, .CodeMirror-lint-mark-warning {\n  background-position: left bottom;\n  background-repeat: repeat-x;\n}\n\n.CodeMirror-lint-mark-error {\n  background-image:\n  url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==\")\n  ;\n}\n\n.CodeMirror-lint-mark-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {\n  background-position: center center;\n  background-repeat: no-repeat;\n  cursor: pointer;\n  display: inline-block;\n  height: 16px;\n  width: 16px;\n  vertical-align: middle;\n  position: relative;\n}\n\n.CodeMirror-lint-message-error, .CodeMirror-lint-message-warning {\n  padding-left: 18px;\n  background-position: top left;\n  background-repeat: no-repeat;\n}\n\n.CodeMirror-lint-marker-error, .CodeMirror-lint-message-error {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-marker-warning, .CodeMirror-lint-message-warning {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=\");\n}\n\n.CodeMirror-lint-marker-multiple {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC\");\n  background-repeat: no-repeat;\n  background-position: right bottom;\n  width: 100%; height: 100%;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/lint/lint.js",
    "content": "(function() {\n  \"use strict\";\n  var GUTTER_ID = \"CodeMirror-lint-markers\";\n  var SEVERITIES = /^(?:error|warning)$/;\n\n  function showTooltip(e, content) {\n    var tt = document.createElement(\"div\");\n    tt.className = \"CodeMirror-lint-tooltip\";\n    tt.appendChild(content.cloneNode(true));\n    document.body.appendChild(tt);\n\n    function position(e) {\n      if (!tt.parentNode) return CodeMirror.off(document, \"mousemove\", position);\n      tt.style.top = Math.max(0, e.clientY - tt.offsetHeight - 5) + \"px\";\n      tt.style.left = (e.clientX + 5) + \"px\";\n    }\n    CodeMirror.on(document, \"mousemove\", position);\n    position(e);\n    if (tt.style.opacity != null) tt.style.opacity = 1;\n    return tt;\n  }\n  function rm(elt) {\n    if (elt.parentNode) elt.parentNode.removeChild(elt);\n  }\n  function hideTooltip(tt) {\n    if (!tt.parentNode) return;\n    if (tt.style.opacity == null) rm(tt);\n    tt.style.opacity = 0;\n    setTimeout(function() { rm(tt); }, 600);\n  }\n\n  function showTooltipFor(e, content, node) {\n    var tooltip = showTooltip(e, content);\n    function hide() {\n      CodeMirror.off(node, \"mouseout\", hide);\n      if (tooltip) { hideTooltip(tooltip); tooltip = null; }\n    }\n    var poll = setInterval(function() {\n      if (tooltip) for (var n = node;; n = n.parentNode) {\n        if (n == document.body) return;\n        if (!n) { hide(); break; }\n      }\n      if (!tooltip) return clearInterval(poll);\n    }, 400);\n    CodeMirror.on(node, \"mouseout\", hide);\n  }\n\n  function LintState(cm, options, hasGutter) {\n    this.marked = [];\n    this.options = options;\n    this.timeout = null;\n    this.hasGutter = hasGutter;\n    this.onMouseOver = function(e) { onMouseOver(cm, e); };\n  }\n\n  function parseOptions(cm, options) {\n    if (options instanceof Function) return {getAnnotations: options};\n    if (!options || options === true) options = {};\n    if (!options.getAnnotations) options.getAnnotations = cm.getHelper(CodeMirror.Pos(0, 0), \"lint\");\n    if (!options.getAnnotations) throw new Error(\"Required option 'getAnnotations' missing (lint addon)\");\n    return options;\n  }\n\n  function clearMarks(cm) {\n    var state = cm.state.lint;\n    if (state.hasGutter) cm.clearGutter(GUTTER_ID);\n    for (var i = 0; i < state.marked.length; ++i)\n      state.marked[i].clear();\n    state.marked.length = 0;\n  }\n\n  function makeMarker(labels, severity, multiple, tooltips) {\n    var marker = document.createElement(\"div\"), inner = marker;\n    marker.className = \"CodeMirror-lint-marker-\" + severity;\n    if (multiple) {\n      inner = marker.appendChild(document.createElement(\"div\"));\n      inner.className = \"CodeMirror-lint-marker-multiple\";\n    }\n\n    if (tooltips != false) CodeMirror.on(inner, \"mouseover\", function(e) {\n      showTooltipFor(e, labels, inner);\n    });\n\n    return marker;\n  }\n\n  function getMaxSeverity(a, b) {\n    if (a == \"error\") return a;\n    else return b;\n  }\n\n  function groupByLine(annotations) {\n    var lines = [];\n    for (var i = 0; i < annotations.length; ++i) {\n      var ann = annotations[i], line = ann.from.line;\n      (lines[line] || (lines[line] = [])).push(ann);\n    }\n    return lines;\n  }\n\n  function annotationTooltip(ann) {\n    var severity = ann.severity;\n    if (!SEVERITIES.test(severity)) severity = \"error\";\n    var tip = document.createElement(\"div\");\n    tip.className = \"CodeMirror-lint-message-\" + severity;\n    tip.appendChild(document.createTextNode(ann.message));\n    return tip;\n  }\n\n  function startLinting(cm) {\n    var state = cm.state.lint, options = state.options;\n    if (options.async)\n      options.getAnnotations(cm, updateLinting, options);\n    else\n      updateLinting(cm, options.getAnnotations(cm.getValue(), options));\n  }\n\n  function updateLinting(cm, annotationsNotSorted) {\n    clearMarks(cm);\n    var state = cm.state.lint, options = state.options;\n\n    var annotations = groupByLine(annotationsNotSorted);\n\n    for (var line = 0; line < annotations.length; ++line) {\n      var anns = annotations[line];\n      if (!anns) continue;\n\n      var maxSeverity = null;\n      var tipLabel = state.hasGutter && document.createDocumentFragment();\n\n      for (var i = 0; i < anns.length; ++i) {\n        var ann = anns[i];\n        var severity = ann.severity;\n        if (!SEVERITIES.test(severity)) severity = \"error\";\n        maxSeverity = getMaxSeverity(maxSeverity, severity);\n\n        if (options.formatAnnotation) ann = options.formatAnnotation(ann);\n        if (state.hasGutter) tipLabel.appendChild(annotationTooltip(ann));\n\n        if (ann.to) state.marked.push(cm.markText(ann.from, ann.to, {\n          className: \"CodeMirror-lint-mark-\" + severity,\n          __annotation: ann\n        }));\n      }\n\n      if (state.hasGutter)\n        cm.setGutterMarker(line, GUTTER_ID, makeMarker(tipLabel, maxSeverity, anns.length > 1,\n                                                       state.options.tooltips));\n    }\n    if (options.onUpdateLinting) options.onUpdateLinting(annotationsNotSorted, annotations, cm);\n  }\n\n  function onChange(cm) {\n    var state = cm.state.lint;\n    clearTimeout(state.timeout);\n    state.timeout = setTimeout(function(){startLinting(cm);}, state.options.delay || 500);\n  }\n\n  function popupSpanTooltip(ann, e) {\n    var target = e.target || e.srcElement;\n    showTooltipFor(e, annotationTooltip(ann), target);\n  }\n\n  // When the mouseover fires, the cursor might not actually be over\n  // the character itself yet. These pairs of x,y offsets are used to\n  // probe a few nearby points when no suitable marked range is found.\n  var nearby = [0, 0, 0, 5, 0, -5, 5, 0, -5, 0];\n\n  function onMouseOver(cm, e) {\n    if (!/\\bCodeMirror-lint-mark-/.test((e.target || e.srcElement).className)) return;\n    for (var i = 0; i < nearby.length; i += 2) {\n      var spans = cm.findMarksAt(cm.coordsChar({left: e.clientX + nearby[i],\n                                                top: e.clientY + nearby[i + 1]}));\n      for (var j = 0; j < spans.length; ++j) {\n        var span = spans[j], ann = span.__annotation;\n        if (ann) return popupSpanTooltip(ann, e);\n      }\n    }\n  }\n\n  function optionHandler(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      clearMarks(cm);\n      cm.off(\"change\", onChange);\n      CodeMirror.off(cm.getWrapperElement(), \"mouseover\", cm.state.lint.onMouseOver);\n      delete cm.state.lint;\n    }\n\n    if (val) {\n      var gutters = cm.getOption(\"gutters\"), hasLintGutter = false;\n      for (var i = 0; i < gutters.length; ++i) if (gutters[i] == GUTTER_ID) hasLintGutter = true;\n      var state = cm.state.lint = new LintState(cm, parseOptions(cm, val), hasLintGutter);\n      cm.on(\"change\", onChange);\n      if (state.options.tooltips != false)\n        CodeMirror.on(cm.getWrapperElement(), \"mouseover\", state.onMouseOver);\n\n      startLinting(cm);\n    }\n  }\n\n  CodeMirror.defineOption(\"lintWith\", false, optionHandler); // deprecated\n  CodeMirror.defineOption(\"lint\", false, optionHandler); // deprecated\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/merge/dep/diff_match_patch.js",
    "content": "// From https://code.google.com/p/google-diff-match-patch/ , licensed under the Apache License 2.0\n(function(){function diff_match_patch(){this.Diff_Timeout=1;this.Diff_EditCost=4;this.Match_Threshold=0.5;this.Match_Distance=1E3;this.Patch_DeleteThreshold=0.5;this.Patch_Margin=4;this.Match_MaxBits=32}\ndiff_match_patch.prototype.diff_main=function(a,b,c,d){\"undefined\"==typeof d&&(d=0>=this.Diff_Timeout?Number.MAX_VALUE:(new Date).getTime()+1E3*this.Diff_Timeout);if(null==a||null==b)throw Error(\"Null input. (diff_main)\");if(a==b)return a?[[0,a]]:[];\"undefined\"==typeof c&&(c=!0);var e=c,f=this.diff_commonPrefix(a,b);c=a.substring(0,f);a=a.substring(f);b=b.substring(f);var f=this.diff_commonSuffix(a,b),g=a.substring(a.length-f);a=a.substring(0,a.length-f);b=b.substring(0,b.length-f);a=this.diff_compute_(a,\nb,e,d);c&&a.unshift([0,c]);g&&a.push([0,g]);this.diff_cleanupMerge(a);return a};\ndiff_match_patch.prototype.diff_compute_=function(a,b,c,d){if(!a)return[[1,b]];if(!b)return[[-1,a]];var e=a.length>b.length?a:b,f=a.length>b.length?b:a,g=e.indexOf(f);return-1!=g?(c=[[1,e.substring(0,g)],[0,f],[1,e.substring(g+f.length)]],a.length>b.length&&(c[0][0]=c[2][0]=-1),c):1==f.length?[[-1,a],[1,b]]:(e=this.diff_halfMatch_(a,b))?(f=e[0],a=e[1],g=e[2],b=e[3],e=e[4],f=this.diff_main(f,g,c,d),c=this.diff_main(a,b,c,d),f.concat([[0,e]],c)):c&&100<a.length&&100<b.length?this.diff_lineMode_(a,b,\nd):this.diff_bisect_(a,b,d)};\ndiff_match_patch.prototype.diff_lineMode_=function(a,b,c){var d=this.diff_linesToChars_(a,b);a=d.chars1;b=d.chars2;d=d.lineArray;a=this.diff_main(a,b,!1,c);this.diff_charsToLines_(a,d);this.diff_cleanupSemantic(a);a.push([0,\"\"]);for(var e=d=b=0,f=\"\",g=\"\";b<a.length;){switch(a[b][0]){case 1:e++;g+=a[b][1];break;case -1:d++;f+=a[b][1];break;case 0:if(1<=d&&1<=e){a.splice(b-d-e,d+e);b=b-d-e;d=this.diff_main(f,g,!1,c);for(e=d.length-1;0<=e;e--)a.splice(b,0,d[e]);b+=d.length}d=e=0;g=f=\"\"}b++}a.pop();return a};\ndiff_match_patch.prototype.diff_bisect_=function(a,b,c){for(var d=a.length,e=b.length,f=Math.ceil((d+e)/2),g=f,h=2*f,j=Array(h),i=Array(h),k=0;k<h;k++)j[k]=-1,i[k]=-1;j[g+1]=0;i[g+1]=0;for(var k=d-e,q=0!=k%2,r=0,t=0,p=0,w=0,v=0;v<f&&!((new Date).getTime()>c);v++){for(var n=-v+r;n<=v-t;n+=2){var l=g+n,m;m=n==-v||n!=v&&j[l-1]<j[l+1]?j[l+1]:j[l-1]+1;for(var s=m-n;m<d&&s<e&&a.charAt(m)==b.charAt(s);)m++,s++;j[l]=m;if(m>d)t+=2;else if(s>e)r+=2;else if(q&&(l=g+k-n,0<=l&&l<h&&-1!=i[l])){var u=d-i[l];if(m>=\nu)return this.diff_bisectSplit_(a,b,m,s,c)}}for(n=-v+p;n<=v-w;n+=2){l=g+n;u=n==-v||n!=v&&i[l-1]<i[l+1]?i[l+1]:i[l-1]+1;for(m=u-n;u<d&&m<e&&a.charAt(d-u-1)==b.charAt(e-m-1);)u++,m++;i[l]=u;if(u>d)w+=2;else if(m>e)p+=2;else if(!q&&(l=g+k-n,0<=l&&(l<h&&-1!=j[l])&&(m=j[l],s=g+m-l,u=d-u,m>=u)))return this.diff_bisectSplit_(a,b,m,s,c)}}return[[-1,a],[1,b]]};\ndiff_match_patch.prototype.diff_bisectSplit_=function(a,b,c,d,e){var f=a.substring(0,c),g=b.substring(0,d);a=a.substring(c);b=b.substring(d);f=this.diff_main(f,g,!1,e);e=this.diff_main(a,b,!1,e);return f.concat(e)};\ndiff_match_patch.prototype.diff_linesToChars_=function(a,b){function c(a){for(var b=\"\",c=0,f=-1,g=d.length;f<a.length-1;){f=a.indexOf(\"\\n\",c);-1==f&&(f=a.length-1);var r=a.substring(c,f+1),c=f+1;(e.hasOwnProperty?e.hasOwnProperty(r):void 0!==e[r])?b+=String.fromCharCode(e[r]):(b+=String.fromCharCode(g),e[r]=g,d[g++]=r)}return b}var d=[],e={};d[0]=\"\";var f=c(a),g=c(b);return{chars1:f,chars2:g,lineArray:d}};\ndiff_match_patch.prototype.diff_charsToLines_=function(a,b){for(var c=0;c<a.length;c++){for(var d=a[c][1],e=[],f=0;f<d.length;f++)e[f]=b[d.charCodeAt(f)];a[c][1]=e.join(\"\")}};diff_match_patch.prototype.diff_commonPrefix=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c<e;)a.substring(f,e)==b.substring(f,e)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e};\ndiff_match_patch.prototype.diff_commonSuffix=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,f=0;c<e;)a.substring(a.length-e,a.length-f)==b.substring(b.length-e,b.length-f)?f=c=e:d=e,e=Math.floor((d-c)/2+c);return e};\ndiff_match_patch.prototype.diff_commonOverlap_=function(a,b){var c=a.length,d=b.length;if(0==c||0==d)return 0;c>d?a=a.substring(c-d):c<d&&(b=b.substring(0,c));c=Math.min(c,d);if(a==b)return c;for(var d=0,e=1;;){var f=a.substring(c-e),f=b.indexOf(f);if(-1==f)return d;e+=f;if(0==f||a.substring(c-e)==b.substring(0,e))d=e,e++}};\ndiff_match_patch.prototype.diff_halfMatch_=function(a,b){function c(a,b,c){for(var d=a.substring(c,c+Math.floor(a.length/4)),e=-1,g=\"\",h,j,n,l;-1!=(e=b.indexOf(d,e+1));){var m=f.diff_commonPrefix(a.substring(c),b.substring(e)),s=f.diff_commonSuffix(a.substring(0,c),b.substring(0,e));g.length<s+m&&(g=b.substring(e-s,e)+b.substring(e,e+m),h=a.substring(0,c-s),j=a.substring(c+m),n=b.substring(0,e-s),l=b.substring(e+m))}return 2*g.length>=a.length?[h,j,n,l,g]:null}if(0>=this.Diff_Timeout)return null;\nvar d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length<d.length)return null;var f=this,g=c(d,e,Math.ceil(d.length/4)),d=c(d,e,Math.ceil(d.length/2)),h;if(!g&&!d)return null;h=d?g?g[4].length>d[4].length?g:d:d:g;var j;a.length>b.length?(g=h[0],d=h[1],e=h[2],j=h[3]):(e=h[0],j=h[1],g=h[2],d=h[3]);h=h[4];return[g,d,e,j,h]};\ndiff_match_patch.prototype.diff_cleanupSemantic=function(a){for(var b=!1,c=[],d=0,e=null,f=0,g=0,h=0,j=0,i=0;f<a.length;)0==a[f][0]?(c[d++]=f,g=j,h=i,i=j=0,e=a[f][1]):(1==a[f][0]?j+=a[f][1].length:i+=a[f][1].length,e&&(e.length<=Math.max(g,h)&&e.length<=Math.max(j,i))&&(a.splice(c[d-1],0,[-1,e]),a[c[d-1]+1][0]=1,d--,d--,f=0<d?c[d-1]:-1,i=j=h=g=0,e=null,b=!0)),f++;b&&this.diff_cleanupMerge(a);this.diff_cleanupSemanticLossless(a);for(f=1;f<a.length;){if(-1==a[f-1][0]&&1==a[f][0]){b=a[f-1][1];c=a[f][1];\nd=this.diff_commonOverlap_(b,c);e=this.diff_commonOverlap_(c,b);if(d>=e){if(d>=b.length/2||d>=c.length/2)a.splice(f,0,[0,c.substring(0,d)]),a[f-1][1]=b.substring(0,b.length-d),a[f+1][1]=c.substring(d),f++}else if(e>=b.length/2||e>=c.length/2)a.splice(f,0,[0,b.substring(0,e)]),a[f-1][0]=1,a[f-1][1]=c.substring(0,c.length-e),a[f+1][0]=-1,a[f+1][1]=b.substring(e),f++;f++}f++}};\ndiff_match_patch.prototype.diff_cleanupSemanticLossless=function(a){function b(a,b){if(!a||!b)return 6;var c=a.charAt(a.length-1),d=b.charAt(0),e=c.match(diff_match_patch.nonAlphaNumericRegex_),f=d.match(diff_match_patch.nonAlphaNumericRegex_),g=e&&c.match(diff_match_patch.whitespaceRegex_),h=f&&d.match(diff_match_patch.whitespaceRegex_),c=g&&c.match(diff_match_patch.linebreakRegex_),d=h&&d.match(diff_match_patch.linebreakRegex_),i=c&&a.match(diff_match_patch.blanklineEndRegex_),j=d&&b.match(diff_match_patch.blanklineStartRegex_);\nreturn i||j?5:c||d?4:e&&!g&&h?3:g||h?2:e||f?1:0}for(var c=1;c<a.length-1;){if(0==a[c-1][0]&&0==a[c+1][0]){var d=a[c-1][1],e=a[c][1],f=a[c+1][1],g=this.diff_commonSuffix(d,e);if(g)var h=e.substring(e.length-g),d=d.substring(0,d.length-g),e=h+e.substring(0,e.length-g),f=h+f;for(var g=d,h=e,j=f,i=b(d,e)+b(e,f);e.charAt(0)===f.charAt(0);){var d=d+e.charAt(0),e=e.substring(1)+f.charAt(0),f=f.substring(1),k=b(d,e)+b(e,f);k>=i&&(i=k,g=d,h=e,j=f)}a[c-1][1]!=g&&(g?a[c-1][1]=g:(a.splice(c-1,1),c--),a[c][1]=\nh,j?a[c+1][1]=j:(a.splice(c+1,1),c--))}c++}};diff_match_patch.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/;diff_match_patch.whitespaceRegex_=/\\s/;diff_match_patch.linebreakRegex_=/[\\r\\n]/;diff_match_patch.blanklineEndRegex_=/\\n\\r?\\n$/;diff_match_patch.blanklineStartRegex_=/^\\r?\\n\\r?\\n/;\ndiff_match_patch.prototype.diff_cleanupEfficiency=function(a){for(var b=!1,c=[],d=0,e=null,f=0,g=!1,h=!1,j=!1,i=!1;f<a.length;){if(0==a[f][0])a[f][1].length<this.Diff_EditCost&&(j||i)?(c[d++]=f,g=j,h=i,e=a[f][1]):(d=0,e=null),j=i=!1;else if(-1==a[f][0]?i=!0:j=!0,e&&(g&&h&&j&&i||e.length<this.Diff_EditCost/2&&3==g+h+j+i))a.splice(c[d-1],0,[-1,e]),a[c[d-1]+1][0]=1,d--,e=null,g&&h?(j=i=!0,d=0):(d--,f=0<d?c[d-1]:-1,j=i=!1),b=!0;f++}b&&this.diff_cleanupMerge(a)};\ndiff_match_patch.prototype.diff_cleanupMerge=function(a){a.push([0,\"\"]);for(var b=0,c=0,d=0,e=\"\",f=\"\",g;b<a.length;)switch(a[b][0]){case 1:d++;f+=a[b][1];b++;break;case -1:c++;e+=a[b][1];b++;break;case 0:1<c+d?(0!==c&&0!==d&&(g=this.diff_commonPrefix(f,e),0!==g&&(0<b-c-d&&0==a[b-c-d-1][0]?a[b-c-d-1][1]+=f.substring(0,g):(a.splice(0,0,[0,f.substring(0,g)]),b++),f=f.substring(g),e=e.substring(g)),g=this.diff_commonSuffix(f,e),0!==g&&(a[b][1]=f.substring(f.length-g)+a[b][1],f=f.substring(0,f.length-\ng),e=e.substring(0,e.length-g))),0===c?a.splice(b-d,c+d,[1,f]):0===d?a.splice(b-c,c+d,[-1,e]):a.splice(b-c-d,c+d,[-1,e],[1,f]),b=b-c-d+(c?1:0)+(d?1:0)+1):0!==b&&0==a[b-1][0]?(a[b-1][1]+=a[b][1],a.splice(b,1)):b++,c=d=0,f=e=\"\"}\"\"===a[a.length-1][1]&&a.pop();c=!1;for(b=1;b<a.length-1;)0==a[b-1][0]&&0==a[b+1][0]&&(a[b][1].substring(a[b][1].length-a[b-1][1].length)==a[b-1][1]?(a[b][1]=a[b-1][1]+a[b][1].substring(0,a[b][1].length-a[b-1][1].length),a[b+1][1]=a[b-1][1]+a[b+1][1],a.splice(b-1,1),c=!0):a[b][1].substring(0,\na[b+1][1].length)==a[b+1][1]&&(a[b-1][1]+=a[b+1][1],a[b][1]=a[b][1].substring(a[b+1][1].length)+a[b+1][1],a.splice(b+1,1),c=!0)),b++;c&&this.diff_cleanupMerge(a)};diff_match_patch.prototype.diff_xIndex=function(a,b){var c=0,d=0,e=0,f=0,g;for(g=0;g<a.length;g++){1!==a[g][0]&&(c+=a[g][1].length);-1!==a[g][0]&&(d+=a[g][1].length);if(c>b)break;e=c;f=d}return a.length!=g&&-1===a[g][0]?f:f+(b-e)};\ndiff_match_patch.prototype.diff_prettyHtml=function(a){for(var b=[],c=/&/g,d=/</g,e=/>/g,f=/\\n/g,g=0;g<a.length;g++){var h=a[g][0],j=a[g][1],j=j.replace(c,\"&amp;\").replace(d,\"&lt;\").replace(e,\"&gt;\").replace(f,\"&para;<br>\");switch(h){case 1:b[g]='<ins style=\"background:#e6ffe6;\">'+j+\"</ins>\";break;case -1:b[g]='<del style=\"background:#ffe6e6;\">'+j+\"</del>\";break;case 0:b[g]=\"<span>\"+j+\"</span>\"}}return b.join(\"\")};\ndiff_match_patch.prototype.diff_text1=function(a){for(var b=[],c=0;c<a.length;c++)1!==a[c][0]&&(b[c]=a[c][1]);return b.join(\"\")};diff_match_patch.prototype.diff_text2=function(a){for(var b=[],c=0;c<a.length;c++)-1!==a[c][0]&&(b[c]=a[c][1]);return b.join(\"\")};diff_match_patch.prototype.diff_levenshtein=function(a){for(var b=0,c=0,d=0,e=0;e<a.length;e++){var f=a[e][0],g=a[e][1];switch(f){case 1:c+=g.length;break;case -1:d+=g.length;break;case 0:b+=Math.max(c,d),d=c=0}}return b+=Math.max(c,d)};\ndiff_match_patch.prototype.diff_toDelta=function(a){for(var b=[],c=0;c<a.length;c++)switch(a[c][0]){case 1:b[c]=\"+\"+encodeURI(a[c][1]);break;case -1:b[c]=\"-\"+a[c][1].length;break;case 0:b[c]=\"=\"+a[c][1].length}return b.join(\"\\t\").replace(/%20/g,\" \")};\ndiff_match_patch.prototype.diff_fromDelta=function(a,b){for(var c=[],d=0,e=0,f=b.split(/\\t/g),g=0;g<f.length;g++){var h=f[g].substring(1);switch(f[g].charAt(0)){case \"+\":try{c[d++]=[1,decodeURI(h)]}catch(j){throw Error(\"Illegal escape in diff_fromDelta: \"+h);}break;case \"-\":case \"=\":var i=parseInt(h,10);if(isNaN(i)||0>i)throw Error(\"Invalid number in diff_fromDelta: \"+h);h=a.substring(e,e+=i);\"=\"==f[g].charAt(0)?c[d++]=[0,h]:c[d++]=[-1,h];break;default:if(f[g])throw Error(\"Invalid diff operation in diff_fromDelta: \"+\nf[g]);}}if(e!=a.length)throw Error(\"Delta length (\"+e+\") does not equal source text length (\"+a.length+\").\");return c};diff_match_patch.prototype.match_main=function(a,b,c){if(null==a||null==b||null==c)throw Error(\"Null input. (match_main)\");c=Math.max(0,Math.min(c,a.length));return a==b?0:a.length?a.substring(c,c+b.length)==b?c:this.match_bitap_(a,b,c):-1};\ndiff_match_patch.prototype.match_bitap_=function(a,b,c){function d(a,d){var e=a/b.length,g=Math.abs(c-d);return!f.Match_Distance?g?1:e:e+g/f.Match_Distance}if(b.length>this.Match_MaxBits)throw Error(\"Pattern too long for this browser.\");var e=this.match_alphabet_(b),f=this,g=this.Match_Threshold,h=a.indexOf(b,c);-1!=h&&(g=Math.min(d(0,h),g),h=a.lastIndexOf(b,c+b.length),-1!=h&&(g=Math.min(d(0,h),g)));for(var j=1<<b.length-1,h=-1,i,k,q=b.length+a.length,r,t=0;t<b.length;t++){i=0;for(k=q;i<k;)d(t,c+\nk)<=g?i=k:q=k,k=Math.floor((q-i)/2+i);q=k;i=Math.max(1,c-k+1);var p=Math.min(c+k,a.length)+b.length;k=Array(p+2);for(k[p+1]=(1<<t)-1;p>=i;p--){var w=e[a.charAt(p-1)];k[p]=0===t?(k[p+1]<<1|1)&w:(k[p+1]<<1|1)&w|((r[p+1]|r[p])<<1|1)|r[p+1];if(k[p]&j&&(w=d(t,p-1),w<=g))if(g=w,h=p-1,h>c)i=Math.max(1,2*c-h);else break}if(d(t+1,c)>g)break;r=k}return h};\ndiff_match_patch.prototype.match_alphabet_=function(a){for(var b={},c=0;c<a.length;c++)b[a.charAt(c)]=0;for(c=0;c<a.length;c++)b[a.charAt(c)]|=1<<a.length-c-1;return b};\ndiff_match_patch.prototype.patch_addContext_=function(a,b){if(0!=b.length){for(var c=b.substring(a.start2,a.start2+a.length1),d=0;b.indexOf(c)!=b.lastIndexOf(c)&&c.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)d+=this.Patch_Margin,c=b.substring(a.start2-d,a.start2+a.length1+d);d+=this.Patch_Margin;(c=b.substring(a.start2-d,a.start2))&&a.diffs.unshift([0,c]);(d=b.substring(a.start2+a.length1,a.start2+a.length1+d))&&a.diffs.push([0,d]);a.start1-=c.length;a.start2-=c.length;a.length1+=\nc.length+d.length;a.length2+=c.length+d.length}};\ndiff_match_patch.prototype.patch_make=function(a,b,c){var d;if(\"string\"==typeof a&&\"string\"==typeof b&&\"undefined\"==typeof c)d=a,b=this.diff_main(d,b,!0),2<b.length&&(this.diff_cleanupSemantic(b),this.diff_cleanupEfficiency(b));else if(a&&\"object\"==typeof a&&\"undefined\"==typeof b&&\"undefined\"==typeof c)b=a,d=this.diff_text1(b);else if(\"string\"==typeof a&&b&&\"object\"==typeof b&&\"undefined\"==typeof c)d=a;else if(\"string\"==typeof a&&\"string\"==typeof b&&c&&\"object\"==typeof c)d=a,b=c;else throw Error(\"Unknown call format to patch_make.\");\nif(0===b.length)return[];c=[];a=new diff_match_patch.patch_obj;for(var e=0,f=0,g=0,h=d,j=0;j<b.length;j++){var i=b[j][0],k=b[j][1];!e&&0!==i&&(a.start1=f,a.start2=g);switch(i){case 1:a.diffs[e++]=b[j];a.length2+=k.length;d=d.substring(0,g)+k+d.substring(g);break;case -1:a.length1+=k.length;a.diffs[e++]=b[j];d=d.substring(0,g)+d.substring(g+k.length);break;case 0:k.length<=2*this.Patch_Margin&&e&&b.length!=j+1?(a.diffs[e++]=b[j],a.length1+=k.length,a.length2+=k.length):k.length>=2*this.Patch_Margin&&\ne&&(this.patch_addContext_(a,h),c.push(a),a=new diff_match_patch.patch_obj,e=0,h=d,f=g)}1!==i&&(f+=k.length);-1!==i&&(g+=k.length)}e&&(this.patch_addContext_(a,h),c.push(a));return c};diff_match_patch.prototype.patch_deepCopy=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=new diff_match_patch.patch_obj;e.diffs=[];for(var f=0;f<d.diffs.length;f++)e.diffs[f]=d.diffs[f].slice();e.start1=d.start1;e.start2=d.start2;e.length1=d.length1;e.length2=d.length2;b[c]=e}return b};\ndiff_match_patch.prototype.patch_apply=function(a,b){if(0==a.length)return[b,[]];a=this.patch_deepCopy(a);var c=this.patch_addPadding(a);b=c+b+c;this.patch_splitMax(a);for(var d=0,e=[],f=0;f<a.length;f++){var g=a[f].start2+d,h=this.diff_text1(a[f].diffs),j,i=-1;if(h.length>this.Match_MaxBits){if(j=this.match_main(b,h.substring(0,this.Match_MaxBits),g),-1!=j&&(i=this.match_main(b,h.substring(h.length-this.Match_MaxBits),g+h.length-this.Match_MaxBits),-1==i||j>=i))j=-1}else j=this.match_main(b,h,g);\nif(-1==j)e[f]=!1,d-=a[f].length2-a[f].length1;else if(e[f]=!0,d=j-g,g=-1==i?b.substring(j,j+h.length):b.substring(j,i+this.Match_MaxBits),h==g)b=b.substring(0,j)+this.diff_text2(a[f].diffs)+b.substring(j+h.length);else if(g=this.diff_main(h,g,!1),h.length>this.Match_MaxBits&&this.diff_levenshtein(g)/h.length>this.Patch_DeleteThreshold)e[f]=!1;else{this.diff_cleanupSemanticLossless(g);for(var h=0,k,i=0;i<a[f].diffs.length;i++){var q=a[f].diffs[i];0!==q[0]&&(k=this.diff_xIndex(g,h));1===q[0]?b=b.substring(0,\nj+k)+q[1]+b.substring(j+k):-1===q[0]&&(b=b.substring(0,j+k)+b.substring(j+this.diff_xIndex(g,h+q[1].length)));-1!==q[0]&&(h+=q[1].length)}}}b=b.substring(c.length,b.length-c.length);return[b,e]};\ndiff_match_patch.prototype.patch_addPadding=function(a){for(var b=this.Patch_Margin,c=\"\",d=1;d<=b;d++)c+=String.fromCharCode(d);for(d=0;d<a.length;d++)a[d].start1+=b,a[d].start2+=b;var d=a[0],e=d.diffs;if(0==e.length||0!=e[0][0])e.unshift([0,c]),d.start1-=b,d.start2-=b,d.length1+=b,d.length2+=b;else if(b>e[0][1].length){var f=b-e[0][1].length;e[0][1]=c.substring(e[0][1].length)+e[0][1];d.start1-=f;d.start2-=f;d.length1+=f;d.length2+=f}d=a[a.length-1];e=d.diffs;0==e.length||0!=e[e.length-1][0]?(e.push([0,\nc]),d.length1+=b,d.length2+=b):b>e[e.length-1][1].length&&(f=b-e[e.length-1][1].length,e[e.length-1][1]+=c.substring(0,f),d.length1+=f,d.length2+=f);return c};\ndiff_match_patch.prototype.patch_splitMax=function(a){for(var b=this.Match_MaxBits,c=0;c<a.length;c++)if(!(a[c].length1<=b)){var d=a[c];a.splice(c--,1);for(var e=d.start1,f=d.start2,g=\"\";0!==d.diffs.length;){var h=new diff_match_patch.patch_obj,j=!0;h.start1=e-g.length;h.start2=f-g.length;\"\"!==g&&(h.length1=h.length2=g.length,h.diffs.push([0,g]));for(;0!==d.diffs.length&&h.length1<b-this.Patch_Margin;){var g=d.diffs[0][0],i=d.diffs[0][1];1===g?(h.length2+=i.length,f+=i.length,h.diffs.push(d.diffs.shift()),\nj=!1):-1===g&&1==h.diffs.length&&0==h.diffs[0][0]&&i.length>2*b?(h.length1+=i.length,e+=i.length,j=!1,h.diffs.push([g,i]),d.diffs.shift()):(i=i.substring(0,b-h.length1-this.Patch_Margin),h.length1+=i.length,e+=i.length,0===g?(h.length2+=i.length,f+=i.length):j=!1,h.diffs.push([g,i]),i==d.diffs[0][1]?d.diffs.shift():d.diffs[0][1]=d.diffs[0][1].substring(i.length))}g=this.diff_text2(h.diffs);g=g.substring(g.length-this.Patch_Margin);i=this.diff_text1(d.diffs).substring(0,this.Patch_Margin);\"\"!==i&&\n(h.length1+=i.length,h.length2+=i.length,0!==h.diffs.length&&0===h.diffs[h.diffs.length-1][0]?h.diffs[h.diffs.length-1][1]+=i:h.diffs.push([0,i]));j||a.splice(++c,0,h)}}};diff_match_patch.prototype.patch_toText=function(a){for(var b=[],c=0;c<a.length;c++)b[c]=a[c];return b.join(\"\")};\ndiff_match_patch.prototype.patch_fromText=function(a){var b=[];if(!a)return b;a=a.split(\"\\n\");for(var c=0,d=/^@@ -(\\d+),?(\\d*) \\+(\\d+),?(\\d*) @@$/;c<a.length;){var e=a[c].match(d);if(!e)throw Error(\"Invalid patch string: \"+a[c]);var f=new diff_match_patch.patch_obj;b.push(f);f.start1=parseInt(e[1],10);\"\"===e[2]?(f.start1--,f.length1=1):\"0\"==e[2]?f.length1=0:(f.start1--,f.length1=parseInt(e[2],10));f.start2=parseInt(e[3],10);\"\"===e[4]?(f.start2--,f.length2=1):\"0\"==e[4]?f.length2=0:(f.start2--,f.length2=\nparseInt(e[4],10));for(c++;c<a.length;){e=a[c].charAt(0);try{var g=decodeURI(a[c].substring(1))}catch(h){throw Error(\"Illegal escape in patch_fromText: \"+g);}if(\"-\"==e)f.diffs.push([-1,g]);else if(\"+\"==e)f.diffs.push([1,g]);else if(\" \"==e)f.diffs.push([0,g]);else if(\"@\"==e)break;else if(\"\"!==e)throw Error('Invalid patch mode \"'+e+'\" in: '+g);c++}}return b};diff_match_patch.patch_obj=function(){this.diffs=[];this.start2=this.start1=null;this.length2=this.length1=0};\ndiff_match_patch.patch_obj.prototype.toString=function(){var a,b;a=0===this.length1?this.start1+\",0\":1==this.length1?this.start1+1:this.start1+1+\",\"+this.length1;b=0===this.length2?this.start2+\",0\":1==this.length2?this.start2+1:this.start2+1+\",\"+this.length2;a=[\"@@ -\"+a+\" +\"+b+\" @@\\n\"];var c;for(b=0;b<this.diffs.length;b++){switch(this.diffs[b][0]){case 1:c=\"+\";break;case -1:c=\"-\";break;case 0:c=\" \"}a[b+1]=c+encodeURI(this.diffs[b][1])+\"\\n\"}return a.join(\"\").replace(/%20/g,\" \")};\nthis.diff_match_patch=diff_match_patch;this.DIFF_DELETE=-1;this.DIFF_INSERT=1;this.DIFF_EQUAL=0;})()\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/merge/merge.css",
    "content": ".CodeMirror-merge {\n  position: relative;\n  border: 1px solid #ddd;\n  white-space: pre;\n}\n\n.CodeMirror-merge, .CodeMirror-merge .CodeMirror {\n  height: 350px;\n}\n\n.CodeMirror-merge-2pane .CodeMirror-merge-pane { width: 47%; }\n.CodeMirror-merge-2pane .CodeMirror-merge-gap { width: 6%; }\n.CodeMirror-merge-3pane .CodeMirror-merge-pane { width: 31%; }\n.CodeMirror-merge-3pane .CodeMirror-merge-gap { width: 3.5%; }\n\n.CodeMirror-merge-pane {\n  display: inline-block;\n  white-space: normal;\n  vertical-align: top;\n}\n.CodeMirror-merge-pane-rightmost {\n  position: absolute;\n  right: 0px;\n  z-index: 1;\n}\n\n.CodeMirror-merge-gap {\n  z-index: 2;\n  display: inline-block;\n  height: 100%;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n  overflow: hidden;\n  border-left: 1px solid #ddd;\n  border-right: 1px solid #ddd;\n  position: relative;\n  background: #f8f8f8;\n}\n\n.CodeMirror-merge-scrolllock-wrap {\n  position: absolute;\n  bottom: 0; left: 50%;\n}\n.CodeMirror-merge-scrolllock {\n  position: relative;\n  left: -50%;\n  cursor: pointer;\n  color: #555;\n  line-height: 1;\n}\n\n.CodeMirror-merge-copybuttons-left, .CodeMirror-merge-copybuttons-right {\n  position: absolute;\n  left: 0; top: 0;\n  right: 0; bottom: 0;\n  line-height: 1;\n}\n\n.CodeMirror-merge-copy {\n  position: absolute;\n  cursor: pointer;\n  color: #44c;\n}\n\n.CodeMirror-merge-copybuttons-left .CodeMirror-merge-copy { left: 2px; }\n.CodeMirror-merge-copybuttons-right .CodeMirror-merge-copy { right: 2px; }\n\n.CodeMirror-merge-r-inserted, .CodeMirror-merge-l-inserted {\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12MwuCXy3+CWyH8GBgYGJgYkAABZbAQ9ELXurwAAAABJRU5ErkJggg==);\n  background-position: bottom left;\n  background-repeat: repeat-x;\n}\n\n.CodeMirror-merge-r-deleted, .CodeMirror-merge-l-deleted {\n  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12M4Kyb2/6yY2H8GBgYGJgYkAABURgPz6Ks7wQAAAABJRU5ErkJggg==);\n  background-position: bottom left;\n  background-repeat: repeat-x;\n}\n\n.CodeMirror-merge-r-chunk { background: #ffffe0; }\n.CodeMirror-merge-r-chunk-start { border-top: 1px solid #ee8; }\n.CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #ee8; }\n.CodeMirror-merge-r-connect { fill: #ffffe0; stroke: #ee8; stroke-width: 1px; }\n\n.CodeMirror-merge-l-chunk { background: #eef; }\n.CodeMirror-merge-l-chunk-start { border-top: 1px solid #88e; }\n.CodeMirror-merge-l-chunk-end { border-bottom: 1px solid #88e; }\n.CodeMirror-merge-l-connect { fill: #eef; stroke: #88e; stroke-width: 1px; }\n\n.CodeMirror-merge-l-chunk.CodeMirror-merge-r-chunk { background: #dfd; }\n.CodeMirror-merge-l-chunk-start.CodeMirror-merge-r-chunk-start { border-top: 1px solid #4e4; }\n.CodeMirror-merge-l-chunk-end.CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #4e4; }\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/merge/merge.js",
    "content": "(function() {\n  \"use strict\";\n  // declare global: diff_match_patch, DIFF_INSERT, DIFF_DELETE, DIFF_EQUAL\n\n  var Pos = CodeMirror.Pos;\n  var svgNS = \"http://www.w3.org/2000/svg\";\n\n  function DiffView(mv, type) {\n    this.mv = mv;\n    this.type = type;\n    this.classes = type == \"left\"\n      ? {chunk: \"CodeMirror-merge-l-chunk\",\n         start: \"CodeMirror-merge-l-chunk-start\",\n         end: \"CodeMirror-merge-l-chunk-end\",\n         insert: \"CodeMirror-merge-l-inserted\",\n         del: \"CodeMirror-merge-l-deleted\",\n         connect: \"CodeMirror-merge-l-connect\"}\n      : {chunk: \"CodeMirror-merge-r-chunk\",\n         start: \"CodeMirror-merge-r-chunk-start\",\n         end: \"CodeMirror-merge-r-chunk-end\",\n         insert: \"CodeMirror-merge-r-inserted\",\n         del: \"CodeMirror-merge-r-deleted\",\n         connect: \"CodeMirror-merge-r-connect\"};\n  }\n\n  DiffView.prototype = {\n    constructor: DiffView,\n    init: function(pane, orig, options) {\n      this.edit = this.mv.edit;\n      this.orig = CodeMirror(pane, copyObj({value: orig, readOnly: true}, copyObj(options)));\n\n      this.diff = getDiff(orig, options.value);\n      this.diffOutOfDate = false;\n\n      this.showDifferences = options.showDifferences !== false;\n      this.forceUpdate = registerUpdate(this);\n      setScrollLock(this, true, false);\n      registerScroll(this);\n    },\n    setShowDifferences: function(val) {\n      val = val !== false;\n      if (val != this.showDifferences) {\n        this.showDifferences = val;\n        this.forceUpdate(\"full\");\n      }\n    }\n  };\n\n  function registerUpdate(dv) {\n    var edit = {from: 0, to: 0, marked: []};\n    var orig = {from: 0, to: 0, marked: []};\n    var debounceChange;\n    function update(mode) {\n      if (mode == \"full\") {\n        if (dv.svg) clear(dv.svg);\n        clear(dv.copyButtons);\n        clearMarks(dv.edit, edit.marked, dv.classes);\n        clearMarks(dv.orig, orig.marked, dv.classes);\n        edit.from = edit.to = orig.from = orig.to = 0;\n      }\n      if (dv.diffOutOfDate) {\n        dv.diff = getDiff(dv.orig.getValue(), dv.edit.getValue());\n        dv.diffOutOfDate = false;\n        CodeMirror.signal(dv.edit, \"updateDiff\", dv.diff);\n      }\n      if (dv.showDifferences) {\n        updateMarks(dv.edit, dv.diff, edit, DIFF_INSERT, dv.classes);\n        updateMarks(dv.orig, dv.diff, orig, DIFF_DELETE, dv.classes);\n      }\n      drawConnectors(dv);\n    }\n    function set(slow) {\n      clearTimeout(debounceChange);\n      debounceChange = setTimeout(update, slow == true ? 250 : 100);\n    }\n    function change() {\n      if (!dv.diffOutOfDate) {\n        dv.diffOutOfDate = true;\n        edit.from = edit.to = orig.from = orig.to = 0;\n      }\n      set(true);\n    }\n    dv.edit.on(\"change\", change);\n    dv.orig.on(\"change\", change);\n    dv.edit.on(\"viewportChange\", set);\n    dv.orig.on(\"viewportChange\", set);\n    update();\n    return update;\n  }\n\n  function registerScroll(dv) {\n    dv.edit.on(\"scroll\", function() {\n      syncScroll(dv, DIFF_INSERT) && drawConnectors(dv);\n    });\n    dv.orig.on(\"scroll\", function() {\n      syncScroll(dv, DIFF_DELETE) && drawConnectors(dv);\n    });\n  }\n\n  function syncScroll(dv, type) {\n    // Change handler will do a refresh after a timeout when diff is out of date\n    if (dv.diffOutOfDate) return false;\n    if (!dv.lockScroll) return true;\n    var editor, other, now = +new Date;\n    if (type == DIFF_INSERT) { editor = dv.edit; other = dv.orig; }\n    else { editor = dv.orig; other = dv.edit; }\n    // Don't take action if the position of this editor was recently set\n    // (to prevent feedback loops)\n    if (editor.state.scrollSetBy == dv && (editor.state.scrollSetAt || 0) + 50 > now) return false;\n\n    var sInfo = editor.getScrollInfo(), halfScreen = .5 * sInfo.clientHeight, midY = sInfo.top + halfScreen;\n    var mid = editor.lineAtHeight(midY, \"local\");\n    var around = chunkBoundariesAround(dv.diff, mid, type == DIFF_INSERT);\n    var off = getOffsets(editor, type == DIFF_INSERT ? around.edit : around.orig);\n    var offOther = getOffsets(other, type == DIFF_INSERT ? around.orig : around.edit);\n    var ratio = (midY - off.top) / (off.bot - off.top);\n    var targetPos = (offOther.top - halfScreen) + ratio * (offOther.bot - offOther.top);\n\n    var botDist, mix;\n    // Some careful tweaking to make sure no space is left out of view\n    // when scrolling to top or bottom.\n    if (targetPos > sInfo.top && (mix = sInfo.top / halfScreen) < 1) {\n      targetPos = targetPos * mix + sInfo.top * (1 - mix);\n    } else if ((botDist = sInfo.height - sInfo.clientHeight - sInfo.top) < halfScreen) {\n      var otherInfo = other.getScrollInfo();\n      var botDistOther = otherInfo.height - otherInfo.clientHeight - targetPos;\n      if (botDistOther > botDist && (mix = botDist / halfScreen) < 1)\n        targetPos = targetPos * mix + (otherInfo.height - otherInfo.clientHeight - botDist) * (1 - mix);\n    }\n\n    other.scrollTo(sInfo.left, targetPos);\n    other.state.scrollSetAt = now;\n    other.state.scrollSetBy = dv;\n    return true;\n  }\n\n  function getOffsets(editor, around) {\n    var bot = around.after;\n    if (bot == null) bot = editor.lastLine() + 1;\n    return {top: editor.heightAtLine(around.before || 0, \"local\"),\n            bot: editor.heightAtLine(bot, \"local\")};\n  }\n\n  function setScrollLock(dv, val, action) {\n    dv.lockScroll = val;\n    if (val && action != false) syncScroll(dv, DIFF_INSERT) && drawConnectors(dv);\n    dv.lockButton.innerHTML = val ? \"\\u21db\\u21da\" : \"\\u21db&nbsp;&nbsp;\\u21da\";\n  }\n\n  // Updating the marks for editor content\n\n  function clearMarks(editor, arr, classes) {\n    for (var i = 0; i < arr.length; ++i) {\n      var mark = arr[i];\n      if (mark instanceof CodeMirror.TextMarker) {\n        mark.clear();\n      } else {\n        editor.removeLineClass(mark, \"background\", classes.chunk);\n        editor.removeLineClass(mark, \"background\", classes.start);\n        editor.removeLineClass(mark, \"background\", classes.end);\n      }\n    }\n    arr.length = 0;\n  }\n\n  // FIXME maybe add a margin around viewport to prevent too many updates\n  function updateMarks(editor, diff, state, type, classes) {\n    var vp = editor.getViewport();\n    editor.operation(function() {\n      if (state.from == state.to || vp.from - state.to > 20 || state.from - vp.to > 20) {\n        clearMarks(editor, state.marked, classes);\n        markChanges(editor, diff, type, state.marked, vp.from, vp.to, classes);\n        state.from = vp.from; state.to = vp.to;\n      } else {\n        if (vp.from < state.from) {\n          markChanges(editor, diff, type, state.marked, vp.from, state.from, classes);\n          state.from = vp.from;\n        }\n        if (vp.to > state.to) {\n          markChanges(editor, diff, type, state.marked, state.to, vp.to, classes);\n          state.to = vp.to;\n        }\n      }\n    });\n  }\n\n  function markChanges(editor, diff, type, marks, from, to, classes) {\n    var pos = Pos(0, 0);\n    var top = Pos(from, 0), bot = editor.clipPos(Pos(to - 1));\n    var cls = type == DIFF_DELETE ? classes.del : classes.insert;\n    function markChunk(start, end) {\n      var bfrom = Math.max(from, start), bto = Math.min(to, end);\n      for (var i = bfrom; i < bto; ++i) {\n        var line = editor.addLineClass(i, \"background\", classes.chunk);\n        if (i == start) editor.addLineClass(line, \"background\", classes.start);\n        if (i == end - 1) editor.addLineClass(line, \"background\", classes.end);\n        marks.push(line);\n      }\n      // When the chunk is empty, make sure a horizontal line shows up\n      if (start == end && bfrom == end && bto == end) {\n        if (bfrom)\n          marks.push(editor.addLineClass(bfrom - 1, \"background\", classes.end));\n        else\n          marks.push(editor.addLineClass(bfrom, \"background\", classes.start));\n      }\n    }\n\n    var chunkStart = 0;\n    for (var i = 0; i < diff.length; ++i) {\n      var part = diff[i], tp = part[0], str = part[1];\n      if (tp == DIFF_EQUAL) {\n        var cleanFrom = pos.line + (startOfLineClean(diff, i) ? 0 : 1);\n        moveOver(pos, str);\n        var cleanTo = pos.line + (endOfLineClean(diff, i) ? 1 : 0);\n        if (cleanTo > cleanFrom) {\n          if (i) markChunk(chunkStart, cleanFrom);\n          chunkStart = cleanTo;\n        }\n      } else {\n        if (tp == type) {\n          var end = moveOver(pos, str, true);\n          var a = posMax(top, pos), b = posMin(bot, end);\n          if (!posEq(a, b))\n            marks.push(editor.markText(a, b, {className: cls}));\n          pos = end;\n        }\n      }\n    }\n    if (chunkStart <= pos.line) markChunk(chunkStart, pos.line + 1);\n  }\n\n  // Updating the gap between editor and original\n\n  function drawConnectors(dv) {\n    if (!dv.showDifferences) return;\n\n    if (dv.svg) {\n      clear(dv.svg);\n      var w = dv.gap.offsetWidth;\n      attrs(dv.svg, \"width\", w, \"height\", dv.gap.offsetHeight);\n    }\n    clear(dv.copyButtons);\n\n    var flip = dv.type == \"left\";\n    var vpEdit = dv.edit.getViewport(), vpOrig = dv.orig.getViewport();\n    var sTopEdit = dv.edit.getScrollInfo().top, sTopOrig = dv.orig.getScrollInfo().top;\n    iterateChunks(dv.diff, function(topOrig, botOrig, topEdit, botEdit) {\n      if (topEdit > vpEdit.to || botEdit < vpEdit.from ||\n          topOrig > vpOrig.to || botOrig < vpOrig.from)\n        return;\n      var topLpx = dv.orig.heightAtLine(topOrig, \"local\") - sTopOrig, top = topLpx;\n      if (dv.svg) {\n        var topRpx = dv.edit.heightAtLine(topEdit, \"local\") - sTopEdit;\n        if (flip) { var tmp = topLpx; topLpx = topRpx; topRpx = tmp; }\n        var botLpx = dv.orig.heightAtLine(botOrig, \"local\") - sTopOrig;\n        var botRpx = dv.edit.heightAtLine(botEdit, \"local\") - sTopEdit;\n        if (flip) { var tmp = botLpx; botLpx = botRpx; botRpx = tmp; }\n        var curveTop = \" C \" + w/2 + \" \" + topRpx + \" \" + w/2 + \" \" + topLpx + \" \" + (w + 2) + \" \" + topLpx;\n        var curveBot = \" C \" + w/2 + \" \" + botLpx + \" \" + w/2 + \" \" + botRpx + \" -1 \" + botRpx;\n        attrs(dv.svg.appendChild(document.createElementNS(svgNS, \"path\")),\n              \"d\", \"M -1 \" + topRpx + curveTop + \" L \" + (w + 2) + \" \" + botLpx + curveBot + \" z\",\n              \"class\", dv.classes.connect);\n      }\n      var copy = dv.copyButtons.appendChild(elt(\"div\", dv.type == \"left\" ? \"\\u21dd\" : \"\\u21dc\",\n                                                \"CodeMirror-merge-copy\"));\n      copy.title = \"Revert chunk\";\n      copy.chunk = {topEdit: topEdit, botEdit: botEdit, topOrig: topOrig, botOrig: botOrig};\n      copy.style.top = top + \"px\";\n    });\n  }\n\n  function copyChunk(dv, chunk) {\n    if (dv.diffOutOfDate) return;\n    dv.edit.replaceRange(dv.orig.getRange(Pos(chunk.topOrig, 0), Pos(chunk.botOrig, 0)),\n                         Pos(chunk.topEdit, 0), Pos(chunk.botEdit, 0));\n  }\n\n  // Merge view, containing 0, 1, or 2 diff views.\n\n  var MergeView = CodeMirror.MergeView = function(node, options) {\n    if (!(this instanceof MergeView)) return new MergeView(node, options);\n\n    var origLeft = options.origLeft, origRight = options.origRight == null ? options.orig : options.origRight;\n    var hasLeft = origLeft != null, hasRight = origRight != null;\n    var panes = 1 + (hasLeft ? 1 : 0) + (hasRight ? 1 : 0);\n    var wrap = [], left = this.left = null, right = this.right = null;\n\n    if (hasLeft) {\n      left = this.left = new DiffView(this, \"left\");\n      var leftPane = elt(\"div\", null, \"CodeMirror-merge-pane\");\n      wrap.push(leftPane);\n      wrap.push(buildGap(left));\n    }\n\n    var editPane = elt(\"div\", null, \"CodeMirror-merge-pane\");\n    wrap.push(editPane);\n\n    if (hasRight) {\n      right = this.right = new DiffView(this, \"right\");\n      wrap.push(buildGap(right));\n      var rightPane = elt(\"div\", null, \"CodeMirror-merge-pane\");\n      wrap.push(rightPane);\n    }\n\n    (hasRight ? rightPane : editPane).className += \" CodeMirror-merge-pane-rightmost\";\n\n    wrap.push(elt(\"div\", null, null, \"height: 0; clear: both;\"));\n    var wrapElt = this.wrap = node.appendChild(elt(\"div\", wrap, \"CodeMirror-merge CodeMirror-merge-\" + panes + \"pane\"));\n    this.edit = CodeMirror(editPane, copyObj(options));\n\n    if (left) left.init(leftPane, origLeft, options);\n    if (right) right.init(rightPane, origRight, options);\n\n    var onResize = function() {\n      if (left) drawConnectors(left);\n      if (right) drawConnectors(right);\n    };\n    CodeMirror.on(window, \"resize\", onResize);\n    var resizeInterval = setInterval(function() {\n      for (var p = wrapElt.parentNode; p && p != document.body; p = p.parentNode) {}\n      if (!p) { clearInterval(resizeInterval); CodeMirror.off(window, \"resize\", onResize); }\n    }, 5000);\n  };\n\n  function buildGap(dv) {\n    var lock = dv.lockButton = elt(\"div\", null, \"CodeMirror-merge-scrolllock\");\n    lock.title = \"Toggle locked scrolling\";\n    var lockWrap = elt(\"div\", [lock], \"CodeMirror-merge-scrolllock-wrap\");\n    CodeMirror.on(lock, \"click\", function() { setScrollLock(dv, !dv.lockScroll); });\n    dv.copyButtons = elt(\"div\", null, \"CodeMirror-merge-copybuttons-\" + dv.type);\n    CodeMirror.on(dv.copyButtons, \"click\", function(e) {\n      var node = e.target || e.srcElement;\n      if (node.chunk) copyChunk(dv, node.chunk);\n    });\n    var gapElts = [dv.copyButtons, lockWrap];\n    var svg = document.createElementNS && document.createElementNS(svgNS, \"svg\");\n    if (svg && !svg.createSVGRect) svg = null;\n    dv.svg = svg;\n    if (svg) gapElts.push(svg);\n\n    return dv.gap = elt(\"div\", gapElts, \"CodeMirror-merge-gap\");\n  }\n\n  MergeView.prototype = {\n    constuctor: MergeView,\n    editor: function() { return this.edit; },\n    rightOriginal: function() { return this.right && this.right.orig; },\n    leftOriginal: function() { return this.left && this.left.orig; },\n    setShowDifferences: function(val) {\n      if (this.right) this.right.setShowDifferences(val);\n      if (this.left) this.left.setShowDifferences(val);\n    }\n  };\n\n  // Operations on diffs\n\n  var dmp = new diff_match_patch();\n  function getDiff(a, b) {\n    var diff = dmp.diff_main(a, b);\n    dmp.diff_cleanupSemantic(diff);\n    // The library sometimes leaves in empty parts, which confuse the algorithm\n    for (var i = 0; i < diff.length; ++i) {\n      var part = diff[i];\n      if (!part[1]) {\n        diff.splice(i--, 1);\n      } else if (i && diff[i - 1][0] == part[0]) {\n        diff.splice(i--, 1);\n        diff[i][1] += part[1];\n      }\n    }\n    return diff;\n  }\n\n  function iterateChunks(diff, f) {\n    var startEdit = 0, startOrig = 0;\n    var edit = Pos(0, 0), orig = Pos(0, 0);\n    for (var i = 0; i < diff.length; ++i) {\n      var part = diff[i], tp = part[0];\n      if (tp == DIFF_EQUAL) {\n        var startOff = startOfLineClean(diff, i) ? 0 : 1;\n        var cleanFromEdit = edit.line + startOff, cleanFromOrig = orig.line + startOff;\n        moveOver(edit, part[1], null, orig);\n        var endOff = endOfLineClean(diff, i) ? 1 : 0;\n        var cleanToEdit = edit.line + endOff, cleanToOrig = orig.line + endOff;\n        if (cleanToEdit > cleanFromEdit) {\n          if (i) f(startOrig, cleanFromOrig, startEdit, cleanFromEdit);\n          startEdit = cleanToEdit; startOrig = cleanToOrig;\n        }\n      } else {\n        moveOver(tp == DIFF_INSERT ? edit : orig, part[1]);\n      }\n    }\n    if (startEdit <= edit.line || startOrig <= orig.line)\n      f(startOrig, orig.line + 1, startEdit, edit.line + 1);\n  }\n\n  function endOfLineClean(diff, i) {\n    if (i == diff.length - 1) return true;\n    var next = diff[i + 1][1];\n    if (next.length == 1 || next.charCodeAt(0) != 10) return false;\n    if (i == diff.length - 2) return true;\n    next = diff[i + 2][1];\n    return next.length > 1 && next.charCodeAt(0) == 10;\n  }\n\n  function startOfLineClean(diff, i) {\n    if (i == 0) return true;\n    var last = diff[i - 1][1];\n    if (last.charCodeAt(last.length - 1) != 10) return false;\n    if (i == 1) return true;\n    last = diff[i - 2][1];\n    return last.charCodeAt(last.length - 1) == 10;\n  }\n\n  function chunkBoundariesAround(diff, n, nInEdit) {\n    var beforeE, afterE, beforeO, afterO;\n    iterateChunks(diff, function(fromOrig, toOrig, fromEdit, toEdit) {\n      var fromLocal = nInEdit ? fromEdit : fromOrig;\n      var toLocal = nInEdit ? toEdit : toOrig;\n      if (afterE == null) {\n        if (fromLocal > n) { afterE = fromEdit; afterO = fromOrig; }\n        else if (toLocal > n) { afterE = toEdit; afterO = toOrig; }\n      }\n      if (toLocal <= n) { beforeE = toEdit; beforeO = toOrig; }\n      else if (fromLocal <= n) { beforeE = fromEdit; beforeO = fromOrig; }\n    });\n    return {edit: {before: beforeE, after: afterE}, orig: {before: beforeO, after: afterO}};\n  }\n\n  // General utilities\n\n  function elt(tag, content, className, style) {\n    var e = document.createElement(tag);\n    if (className) e.className = className;\n    if (style) e.style.cssText = style;\n    if (typeof content == \"string\") e.appendChild(document.createTextNode(content));\n    else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);\n    return e;\n  }\n\n  function clear(node) {\n    for (var count = node.childNodes.length; count > 0; --count)\n      node.removeChild(node.firstChild);\n  }\n\n  function attrs(elt) {\n    for (var i = 1; i < arguments.length; i += 2)\n      elt.setAttribute(arguments[i], arguments[i+1]);\n  }\n\n  function copyObj(obj, target) {\n    if (!target) target = {};\n    for (var prop in obj) if (obj.hasOwnProperty(prop)) target[prop] = obj[prop];\n    return target;\n  }\n\n  function moveOver(pos, str, copy, other) {\n    var out = copy ? Pos(pos.line, pos.ch) : pos, at = 0;\n    for (;;) {\n      var nl = str.indexOf(\"\\n\", at);\n      if (nl == -1) break;\n      ++out.line;\n      if (other) ++other.line;\n      at = nl + 1;\n    }\n    out.ch = (at ? 0 : out.ch) + (str.length - at);\n    if (other) other.ch = (at ? 0 : other.ch) + (str.length - at);\n    return out;\n  }\n\n  function posMin(a, b) { return (a.line - b.line || a.ch - b.ch) < 0 ? a : b; }\n  function posMax(a, b) { return (a.line - b.line || a.ch - b.ch) > 0 ? a : b; }\n  function posEq(a, b) { return a.line == b.line && a.ch == b.ch; }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/mode/loadmode.js",
    "content": "(function() {\n  if (!CodeMirror.modeURL) CodeMirror.modeURL = \"../mode/%N/%N.js\";\n\n  var loading = {};\n  function splitCallback(cont, n) {\n    var countDown = n;\n    return function() { if (--countDown == 0) cont(); };\n  }\n  function ensureDeps(mode, cont) {\n    var deps = CodeMirror.modes[mode].dependencies;\n    if (!deps) return cont();\n    var missing = [];\n    for (var i = 0; i < deps.length; ++i) {\n      if (!CodeMirror.modes.hasOwnProperty(deps[i]))\n        missing.push(deps[i]);\n    }\n    if (!missing.length) return cont();\n    var split = splitCallback(cont, missing.length);\n    for (var i = 0; i < missing.length; ++i)\n      CodeMirror.requireMode(missing[i], split);\n  }\n\n  CodeMirror.requireMode = function(mode, cont) {\n    if (typeof mode != \"string\") mode = mode.name;\n    if (CodeMirror.modes.hasOwnProperty(mode)) return ensureDeps(mode, cont);\n    if (loading.hasOwnProperty(mode)) return loading[mode].push(cont);\n\n    var script = document.createElement(\"script\");\n    script.src = CodeMirror.modeURL.replace(/%N/g, mode);\n    var others = document.getElementsByTagName(\"script\")[0];\n    others.parentNode.insertBefore(script, others);\n    var list = loading[mode] = [cont];\n    var count = 0, poll = setInterval(function() {\n      if (++count > 100) return clearInterval(poll);\n      if (CodeMirror.modes.hasOwnProperty(mode)) {\n        clearInterval(poll);\n        loading[mode] = null;\n        ensureDeps(mode, function() {\n          for (var i = 0; i < list.length; ++i) list[i]();\n        });\n      }\n    }, 200);\n  };\n\n  CodeMirror.autoLoadMode = function(instance, mode) {\n    if (!CodeMirror.modes.hasOwnProperty(mode))\n      CodeMirror.requireMode(mode, function() {\n        instance.setOption(\"mode\", instance.getOption(\"mode\"));\n      });\n  };\n}());\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/mode/multiplex.js",
    "content": "CodeMirror.multiplexingMode = function(outer /*, others */) {\n  // Others should be {open, close, mode [, delimStyle] [, innerStyle]} objects\n  var others = Array.prototype.slice.call(arguments, 1);\n  var n_others = others.length;\n\n  function indexOf(string, pattern, from) {\n    if (typeof pattern == \"string\") return string.indexOf(pattern, from);\n    var m = pattern.exec(from ? string.slice(from) : string);\n    return m ? m.index + from : -1;\n  }\n\n  return {\n    startState: function() {\n      return {\n        outer: CodeMirror.startState(outer),\n        innerActive: null,\n        inner: null\n      };\n    },\n\n    copyState: function(state) {\n      return {\n        outer: CodeMirror.copyState(outer, state.outer),\n        innerActive: state.innerActive,\n        inner: state.innerActive && CodeMirror.copyState(state.innerActive.mode, state.inner)\n      };\n    },\n\n    token: function(stream, state) {\n      if (!state.innerActive) {\n        var cutOff = Infinity, oldContent = stream.string;\n        for (var i = 0; i < n_others; ++i) {\n          var other = others[i];\n          var found = indexOf(oldContent, other.open, stream.pos);\n          if (found == stream.pos) {\n            stream.match(other.open);\n            state.innerActive = other;\n            state.inner = CodeMirror.startState(other.mode, outer.indent ? outer.indent(state.outer, \"\") : 0);\n            return other.delimStyle;\n          } else if (found != -1 && found < cutOff) {\n            cutOff = found;\n          }\n        }\n        if (cutOff != Infinity) stream.string = oldContent.slice(0, cutOff);\n        var outerToken = outer.token(stream, state.outer);\n        if (cutOff != Infinity) stream.string = oldContent;\n        return outerToken;\n      } else {\n        var curInner = state.innerActive, oldContent = stream.string;\n        var found = indexOf(oldContent, curInner.close, stream.pos);\n        if (found == stream.pos) {\n          stream.match(curInner.close);\n          state.innerActive = state.inner = null;\n          return curInner.delimStyle;\n        }\n        if (found > -1) stream.string = oldContent.slice(0, found);\n        var innerToken = curInner.mode.token(stream, state.inner);\n        if (found > -1) stream.string = oldContent;\n        var cur = stream.current(), found = cur.indexOf(curInner.close);\n        if (found > -1) stream.backUp(cur.length - found);\n\n        if (curInner.innerStyle) {\n          if (innerToken) innerToken = innerToken + ' ' + curInner.innerStyle;\n          else innerToken = curInner.innerStyle;\n        }\n\n        return innerToken;\n      }\n    },\n\n    indent: function(state, textAfter) {\n      var mode = state.innerActive ? state.innerActive.mode : outer;\n      if (!mode.indent) return CodeMirror.Pass;\n      return mode.indent(state.innerActive ? state.inner : state.outer, textAfter);\n    },\n\n    blankLine: function(state) {\n      var mode = state.innerActive ? state.innerActive.mode : outer;\n      if (mode.blankLine) {\n        mode.blankLine(state.innerActive ? state.inner : state.outer);\n      }\n      if (!state.innerActive) {\n        for (var i = 0; i < n_others; ++i) {\n          var other = others[i];\n          if (other.open === \"\\n\") {\n            state.innerActive = other;\n            state.inner = CodeMirror.startState(other.mode, mode.indent ? mode.indent(state.outer, \"\") : 0);\n          }\n        }\n      } else if (state.innerActive.close === \"\\n\") {\n        state.innerActive = state.inner = null;\n      }\n    },\n\n    electricChars: outer.electricChars,\n\n    innerMode: function(state) {\n      return state.inner ? {state: state.inner, mode: state.innerActive.mode} : {state: state.outer, mode: outer};\n    }\n  };\n};\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/mode/multiplex_test.js",
    "content": "(function() {\n  CodeMirror.defineMode(\"markdown_with_stex\", function(){\n    var inner = CodeMirror.getMode({}, \"stex\");\n    var outer = CodeMirror.getMode({}, \"markdown\");\n\n    var innerOptions = {\n      open: '$',\n      close: '$',\n      mode: inner,\n      delimStyle: 'delim',\n      innerStyle: 'inner'\n    };\n\n    return CodeMirror.multiplexingMode(outer, innerOptions);\n  });\n\n  var mode = CodeMirror.getMode({}, \"markdown_with_stex\");\n\n  function MT(name) {\n    test.mode(\n      name,\n      mode,\n      Array.prototype.slice.call(arguments, 1),\n      'multiplexing');\n  }\n\n  MT(\n    \"stexInsideMarkdown\",\n    \"[strong **Equation:**] [delim $][inner&tag \\\\pi][delim $]\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/mode/overlay.js",
    "content": "// Utility function that allows modes to be combined. The mode given\n// as the base argument takes care of most of the normal mode\n// functionality, but a second (typically simple) mode is used, which\n// can override the style of text. Both modes get to parse all of the\n// text, but when both assign a non-null style to a piece of code, the\n// overlay wins, unless the combine argument was true, in which case\n// the styles are combined.\n\n// overlayParser is the old, deprecated name\nCodeMirror.overlayMode = CodeMirror.overlayParser = function(base, overlay, combine) {\n  return {\n    startState: function() {\n      return {\n        base: CodeMirror.startState(base),\n        overlay: CodeMirror.startState(overlay),\n        basePos: 0, baseCur: null,\n        overlayPos: 0, overlayCur: null\n      };\n    },\n    copyState: function(state) {\n      return {\n        base: CodeMirror.copyState(base, state.base),\n        overlay: CodeMirror.copyState(overlay, state.overlay),\n        basePos: state.basePos, baseCur: null,\n        overlayPos: state.overlayPos, overlayCur: null\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.start == state.basePos) {\n        state.baseCur = base.token(stream, state.base);\n        state.basePos = stream.pos;\n      }\n      if (stream.start == state.overlayPos) {\n        stream.pos = stream.start;\n        state.overlayCur = overlay.token(stream, state.overlay);\n        state.overlayPos = stream.pos;\n      }\n      stream.pos = Math.min(state.basePos, state.overlayPos);\n      if (stream.eol()) state.basePos = state.overlayPos = 0;\n\n      if (state.overlayCur == null) return state.baseCur;\n      if (state.baseCur != null && combine) return state.baseCur + \" \" + state.overlayCur;\n      else return state.overlayCur;\n    },\n\n    indent: base.indent && function(state, textAfter) {\n      return base.indent(state.base, textAfter);\n    },\n    electricChars: base.electricChars,\n\n    innerMode: function(state) { return {state: state.base, mode: base}; },\n\n    blankLine: function(state) {\n      if (base.blankLine) base.blankLine(state.base);\n      if (overlay.blankLine) overlay.blankLine(state.overlay);\n    }\n  };\n};\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/runmode/colorize.js",
    "content": "CodeMirror.colorize = (function() {\n\n  var isBlock = /^(p|li|div|h\\\\d|pre|blockquote|td)$/;\n\n  function textContent(node, out) {\n    if (node.nodeType == 3) return out.push(node.nodeValue);\n    for (var ch = node.firstChild; ch; ch = ch.nextSibling) {\n      textContent(ch, out);\n      if (isBlock.test(node.nodeType)) out.push(\"\\n\");\n    }\n  }\n\n  return function(collection, defaultMode) {\n    if (!collection) collection = document.body.getElementsByTagName(\"pre\");\n\n    for (var i = 0; i < collection.length; ++i) {\n      var node = collection[i];\n      var mode = node.getAttribute(\"data-lang\") || defaultMode;\n      if (!mode) continue;\n\n      var text = [];\n      textContent(node, text);\n      node.innerHTML = \"\";\n      CodeMirror.runMode(text.join(\"\"), mode, node);\n\n      node.className += \" cm-s-default\";\n    }\n  };\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/runmode/runmode-standalone.js",
    "content": "/* Just enough of CodeMirror to run runMode under node.js */\n\nwindow.CodeMirror = {};\n\n(function() {\n\"use strict\";\n\nfunction splitLines(string){ return string.split(/\\r?\\n|\\r/); };\n\nfunction StringStream(string) {\n  this.pos = this.start = 0;\n  this.string = string;\n}\nStringStream.prototype = {\n  eol: function() {return this.pos >= this.string.length;},\n  sol: function() {return this.pos == 0;},\n  peek: function() {return this.string.charAt(this.pos) || null;},\n  next: function() {\n    if (this.pos < this.string.length)\n      return this.string.charAt(this.pos++);\n  },\n  eat: function(match) {\n    var ch = this.string.charAt(this.pos);\n    if (typeof match == \"string\") var ok = ch == match;\n    else var ok = ch && (match.test ? match.test(ch) : match(ch));\n    if (ok) {++this.pos; return ch;}\n  },\n  eatWhile: function(match) {\n    var start = this.pos;\n    while (this.eat(match)){}\n    return this.pos > start;\n  },\n  eatSpace: function() {\n    var start = this.pos;\n    while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;\n    return this.pos > start;\n  },\n  skipToEnd: function() {this.pos = this.string.length;},\n  skipTo: function(ch) {\n    var found = this.string.indexOf(ch, this.pos);\n    if (found > -1) {this.pos = found; return true;}\n  },\n  backUp: function(n) {this.pos -= n;},\n  column: function() {return this.start;},\n  indentation: function() {return 0;},\n  match: function(pattern, consume, caseInsensitive) {\n    if (typeof pattern == \"string\") {\n      var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};\n      var substr = this.string.substr(this.pos, pattern.length);\n      if (cased(substr) == cased(pattern)) {\n        if (consume !== false) this.pos += pattern.length;\n        return true;\n      }\n    } else {\n      var match = this.string.slice(this.pos).match(pattern);\n      if (match && match.index > 0) return null;\n      if (match && consume !== false) this.pos += match[0].length;\n      return match;\n    }\n  },\n  current: function(){return this.string.slice(this.start, this.pos);}\n};\nCodeMirror.StringStream = StringStream;\n\nCodeMirror.startState = function (mode, a1, a2) {\n  return mode.startState ? mode.startState(a1, a2) : true;\n};\n\nvar modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};\nCodeMirror.defineMode = function (name, mode) { modes[name] = mode; };\nCodeMirror.defineMIME = function (mime, spec) { mimeModes[mime] = spec; };\nCodeMirror.getMode = function (options, spec) {\n  if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec))\n    spec = mimeModes[spec];\n  if (typeof spec == \"string\")\n    var mname = spec, config = {};\n  else if (spec != null)\n    var mname = spec.name, config = spec;\n  var mfactory = modes[mname];\n  if (!mfactory) throw new Error(\"Unknown mode: \" + spec);\n  return mfactory(options, config || {});\n};\n\nCodeMirror.runMode = function (string, modespec, callback, options) {\n  var mode = CodeMirror.getMode({ indentUnit: 2 }, modespec);\n\n  if (callback.nodeType == 1) {\n    var tabSize = (options && options.tabSize) || 4;\n    var node = callback, col = 0;\n    node.innerHTML = \"\";\n    callback = function (text, style) {\n      if (text == \"\\n\") {\n        node.appendChild(document.createElement(\"br\"));\n        col = 0;\n        return;\n      }\n      var content = \"\";\n      // replace tabs\n      for (var pos = 0; ;) {\n        var idx = text.indexOf(\"\\t\", pos);\n        if (idx == -1) {\n          content += text.slice(pos);\n          col += text.length - pos;\n          break;\n        } else {\n          col += idx - pos;\n          content += text.slice(pos, idx);\n          var size = tabSize - col % tabSize;\n          col += size;\n          for (var i = 0; i < size; ++i) content += \" \";\n          pos = idx + 1;\n        }\n      }\n\n      if (style) {\n        var sp = node.appendChild(document.createElement(\"span\"));\n        sp.className = \"cm-\" + style.replace(/ +/g, \" cm-\");\n        sp.appendChild(document.createTextNode(content));\n      } else {\n        node.appendChild(document.createTextNode(content));\n      }\n    };\n  }\n\n  var lines = splitLines(string), state = CodeMirror.startState(mode);\n  for (var i = 0, e = lines.length; i < e; ++i) {\n    if (i) callback(\"\\n\");\n    var stream = new CodeMirror.StringStream(lines[i]);\n    while (!stream.eol()) {\n      var style = mode.token(stream, state);\n      callback(stream.current(), style, i, stream.start, state);\n      stream.start = stream.pos;\n    }\n  }\n};\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/runmode/runmode.js",
    "content": "CodeMirror.runMode = function(string, modespec, callback, options) {\n  var mode = CodeMirror.getMode(CodeMirror.defaults, modespec);\n  var ie = /MSIE \\d/.test(navigator.userAgent);\n  var ie_lt9 = ie && (document.documentMode == null || document.documentMode < 9);\n\n  if (callback.nodeType == 1) {\n    var tabSize = (options && options.tabSize) || CodeMirror.defaults.tabSize;\n    var node = callback, col = 0;\n    node.innerHTML = \"\";\n    callback = function(text, style) {\n      if (text == \"\\n\") {\n        // Emitting LF or CRLF on IE8 or earlier results in an incorrect display.\n        // Emitting a carriage return makes everything ok.\n        node.appendChild(document.createTextNode(ie_lt9 ? '\\r' : text));\n        col = 0;\n        return;\n      }\n      var content = \"\";\n      // replace tabs\n      for (var pos = 0;;) {\n        var idx = text.indexOf(\"\\t\", pos);\n        if (idx == -1) {\n          content += text.slice(pos);\n          col += text.length - pos;\n          break;\n        } else {\n          col += idx - pos;\n          content += text.slice(pos, idx);\n          var size = tabSize - col % tabSize;\n          col += size;\n          for (var i = 0; i < size; ++i) content += \" \";\n          pos = idx + 1;\n        }\n      }\n\n      if (style) {\n        var sp = node.appendChild(document.createElement(\"span\"));\n        sp.className = \"cm-\" + style.replace(/ +/g, \" cm-\");\n        sp.appendChild(document.createTextNode(content));\n      } else {\n        node.appendChild(document.createTextNode(content));\n      }\n    };\n  }\n\n  var lines = CodeMirror.splitLines(string), state = CodeMirror.startState(mode);\n  for (var i = 0, e = lines.length; i < e; ++i) {\n    if (i) callback(\"\\n\");\n    var stream = new CodeMirror.StringStream(lines[i]);\n    while (!stream.eol()) {\n      var style = mode.token(stream, state);\n      callback(stream.current(), style, i, stream.start, state);\n      stream.start = stream.pos;\n    }\n  }\n};\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/runmode/runmode.node.js",
    "content": "/* Just enough of CodeMirror to run runMode under node.js */\n\nfunction splitLines(string){ return string.split(/\\r?\\n|\\r/); };\n\nfunction StringStream(string) {\n  this.pos = this.start = 0;\n  this.string = string;\n}\nStringStream.prototype = {\n  eol: function() {return this.pos >= this.string.length;},\n  sol: function() {return this.pos == 0;},\n  peek: function() {return this.string.charAt(this.pos) || null;},\n  next: function() {\n    if (this.pos < this.string.length)\n      return this.string.charAt(this.pos++);\n  },\n  eat: function(match) {\n    var ch = this.string.charAt(this.pos);\n    if (typeof match == \"string\") var ok = ch == match;\n    else var ok = ch && (match.test ? match.test(ch) : match(ch));\n    if (ok) {++this.pos; return ch;}\n  },\n  eatWhile: function(match) {\n    var start = this.pos;\n    while (this.eat(match)){}\n    return this.pos > start;\n  },\n  eatSpace: function() {\n    var start = this.pos;\n    while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;\n    return this.pos > start;\n  },\n  skipToEnd: function() {this.pos = this.string.length;},\n  skipTo: function(ch) {\n    var found = this.string.indexOf(ch, this.pos);\n    if (found > -1) {this.pos = found; return true;}\n  },\n  backUp: function(n) {this.pos -= n;},\n  column: function() {return this.start;},\n  indentation: function() {return 0;},\n  match: function(pattern, consume, caseInsensitive) {\n    if (typeof pattern == \"string\") {\n      var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};\n      var substr = this.string.substr(this.pos, pattern.length);\n      if (cased(substr) == cased(pattern)) {\n        if (consume !== false) this.pos += pattern.length;\n        return true;\n      }\n    } else {\n      var match = this.string.slice(this.pos).match(pattern);\n      if (match && match.index > 0) return null;\n      if (match && consume !== false) this.pos += match[0].length;\n      return match;\n    }\n  },\n  current: function(){return this.string.slice(this.start, this.pos);}\n};\nexports.StringStream = StringStream;\n\nexports.startState = function(mode, a1, a2) {\n  return mode.startState ? mode.startState(a1, a2) : true;\n};\n\nvar modes = exports.modes = {}, mimeModes = exports.mimeModes = {};\nexports.defineMode = function(name, mode) {\n  if (arguments.length > 2) {\n    mode.dependencies = [];\n    for (var i = 2; i < arguments.length; ++i) mode.dependencies.push(arguments[i]);\n  }\n  modes[name] = mode;\n};\nexports.defineMIME = function(mime, spec) { mimeModes[mime] = spec; };\n\nexports.defineMode(\"null\", function() {\n  return {token: function(stream) {stream.skipToEnd();}};\n});\nexports.defineMIME(\"text/plain\", \"null\");\n\nexports.getMode = function(options, spec) {\n  if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec))\n    spec = mimeModes[spec];\n  if (typeof spec == \"string\")\n    var mname = spec, config = {};\n  else if (spec != null)\n    var mname = spec.name, config = spec;\n  var mfactory = modes[mname];\n  if (!mfactory) throw new Error(\"Unknown mode: \" + spec);\n  return mfactory(options, config || {});\n};\n\nexports.runMode = function(string, modespec, callback) {\n  var mode = exports.getMode({indentUnit: 2}, modespec);\n  var lines = splitLines(string), state = exports.startState(mode);\n  for (var i = 0, e = lines.length; i < e; ++i) {\n    if (i) callback(\"\\n\");\n    var stream = new exports.StringStream(lines[i]);\n    while (!stream.eol()) {\n      var style = mode.token(stream, state);\n      callback(stream.current(), style, i, stream.start, state);\n      stream.start = stream.pos;\n    }\n  }\n};\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/scroll/scrollpastend.js",
    "content": "(function() {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"scrollPastEnd\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      cm.off(\"change\", onChange);\n      cm.display.lineSpace.parentNode.style.paddingBottom = \"\";\n      cm.state.scrollPastEndPadding = null;\n    }\n    if (val) {\n      cm.on(\"change\", onChange);\n      updateBottomMargin(cm);\n    }\n  });\n\n  function onChange(cm, change) {\n    if (CodeMirror.changeEnd(change).line == cm.lastLine())\n      updateBottomMargin(cm);\n  }\n\n  function updateBottomMargin(cm) {\n    var padding = \"\";\n    if (cm.lineCount() > 1) {\n      var totalH = cm.display.scroller.clientHeight - 30,\n          lastLineH = cm.getLineHandle(cm.lastLine()).height;\n      padding = (totalH - lastLineH) + \"px\";\n    }\n    if (cm.state.scrollPastEndPadding != padding) {\n      cm.state.scrollPastEndPadding = padding;\n      cm.display.lineSpace.parentNode.style.paddingBottom = padding;\n      cm.setSize();\n    }\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/search/match-highlighter.js",
    "content": "// Highlighting text that matches the selection\n//\n// Defines an option highlightSelectionMatches, which, when enabled,\n// will style strings that match the selection throughout the\n// document.\n//\n// The option can be set to true to simply enable it, or to a\n// {minChars, style, showToken} object to explicitly configure it.\n// minChars is the minimum amount of characters that should be\n// selected for the behavior to occur, and style is the token style to\n// apply to the matches. This will be prefixed by \"cm-\" to create an\n// actual CSS class name. showToken, when enabled, will cause the\n// current token to be highlighted when nothing is selected.\n\n(function() {\n  var DEFAULT_MIN_CHARS = 2;\n  var DEFAULT_TOKEN_STYLE = \"matchhighlight\";\n  var DEFAULT_DELAY = 100;\n\n  function State(options) {\n    if (typeof options == \"object\") {\n      this.minChars = options.minChars;\n      this.style = options.style;\n      this.showToken = options.showToken;\n      this.delay = options.delay;\n    }\n    if (this.style == null) this.style = DEFAULT_TOKEN_STYLE;\n    if (this.minChars == null) this.minChars = DEFAULT_MIN_CHARS;\n    if (this.delay == null) this.delay = DEFAULT_DELAY;\n    this.overlay = this.timeout = null;\n  }\n\n  CodeMirror.defineOption(\"highlightSelectionMatches\", false, function(cm, val, old) {\n    if (old && old != CodeMirror.Init) {\n      var over = cm.state.matchHighlighter.overlay;\n      if (over) cm.removeOverlay(over);\n      clearTimeout(cm.state.matchHighlighter.timeout);\n      cm.state.matchHighlighter = null;\n      cm.off(\"cursorActivity\", cursorActivity);\n    }\n    if (val) {\n      cm.state.matchHighlighter = new State(val);\n      highlightMatches(cm);\n      cm.on(\"cursorActivity\", cursorActivity);\n    }\n  });\n\n  function cursorActivity(cm) {\n    var state = cm.state.matchHighlighter;\n    clearTimeout(state.timeout);\n    state.timeout = setTimeout(function() {highlightMatches(cm);}, state.delay);\n  }\n\n  function highlightMatches(cm) {\n    cm.operation(function() {\n      var state = cm.state.matchHighlighter;\n      if (state.overlay) {\n        cm.removeOverlay(state.overlay);\n        state.overlay = null;\n      }\n      if (!cm.somethingSelected() && state.showToken) {\n        var re = state.showToken === true ? /[\\w$]/ : state.showToken;\n        var cur = cm.getCursor(), line = cm.getLine(cur.line), start = cur.ch, end = start;\n        while (start && re.test(line.charAt(start - 1))) --start;\n        while (end < line.length && re.test(line.charAt(end))) ++end;\n        if (start < end)\n          cm.addOverlay(state.overlay = makeOverlay(line.slice(start, end), re, state.style));\n        return;\n      }\n      if (cm.getCursor(\"head\").line != cm.getCursor(\"anchor\").line) return;\n      var selection = cm.getSelection().replace(/^\\s+|\\s+$/g, \"\");\n      if (selection.length >= state.minChars)\n        cm.addOverlay(state.overlay = makeOverlay(selection, false, state.style));\n    });\n  }\n\n  function boundariesAround(stream, re) {\n    return (!stream.start || !re.test(stream.string.charAt(stream.start - 1))) &&\n      (stream.pos == stream.string.length || !re.test(stream.string.charAt(stream.pos)));\n  }\n\n  function makeOverlay(query, hasBoundary, style) {\n    return {token: function(stream) {\n      if (stream.match(query) &&\n          (!hasBoundary || boundariesAround(stream, hasBoundary)))\n        return style;\n      stream.next();\n      stream.skipTo(query.charAt(0)) || stream.skipToEnd();\n    }};\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/search/search.js",
    "content": "// Define search commands. Depends on dialog.js or another\n// implementation of the openDialog method.\n\n// Replace works a little oddly -- it will do the replace on the next\n// Ctrl-G (or whatever is bound to findNext) press. You prevent a\n// replace by making sure the match is no longer selected when hitting\n// Ctrl-G.\n\n(function() {\n  function searchOverlay(query) {\n    if (typeof query == \"string\") return {token: function(stream) {\n      if (stream.match(query)) return \"searching\";\n      stream.next();\n      stream.skipTo(query.charAt(0)) || stream.skipToEnd();\n    }};\n    return {token: function(stream) {\n      if (stream.match(query)) return \"searching\";\n      while (!stream.eol()) {\n        stream.next();\n        if (stream.match(query, false)) break;\n      }\n    }};\n  }\n\n  function SearchState() {\n    this.posFrom = this.posTo = this.query = null;\n    this.overlay = null;\n  }\n  function getSearchState(cm) {\n    return cm.state.search || (cm.state.search = new SearchState());\n  }\n  function getSearchCursor(cm, query, pos) {\n    // Heuristic: if the query string is all lowercase, do a case insensitive search.\n    return cm.getSearchCursor(query, pos, typeof query == \"string\" && query == query.toLowerCase());\n  }\n  function dialog(cm, text, shortText, f) {\n    if (cm.openDialog) cm.openDialog(text, f);\n    else f(prompt(shortText, \"\"));\n  }\n  function confirmDialog(cm, text, shortText, fs) {\n    if (cm.openConfirm) cm.openConfirm(text, fs);\n    else if (confirm(shortText)) fs[0]();\n  }\n  function parseQuery(query) {\n    var isRE = query.match(/^\\/(.*)\\/([a-z]*)$/);\n    return isRE ? new RegExp(isRE[1], isRE[2].indexOf(\"i\") == -1 ? \"\" : \"i\") : query;\n  }\n  var queryDialog =\n    'Search: <input type=\"text\" style=\"width: 10em\"/> <span style=\"color: #888\">(Use /re/ syntax for regexp search)</span>';\n  function doSearch(cm, rev) {\n    var state = getSearchState(cm);\n    if (state.query) return findNext(cm, rev);\n    dialog(cm, queryDialog, \"Search for:\", function(query) {\n      cm.operation(function() {\n        if (!query || state.query) return;\n        state.query = parseQuery(query);\n        cm.removeOverlay(state.overlay);\n        state.overlay = searchOverlay(state.query);\n        cm.addOverlay(state.overlay);\n        state.posFrom = state.posTo = cm.getCursor();\n        findNext(cm, rev);\n      });\n    });\n  }\n  function findNext(cm, rev) {cm.operation(function() {\n    var state = getSearchState(cm);\n    var cursor = getSearchCursor(cm, state.query, rev ? state.posFrom : state.posTo);\n    if (!cursor.find(rev)) {\n      cursor = getSearchCursor(cm, state.query, rev ? CodeMirror.Pos(cm.lastLine()) : CodeMirror.Pos(cm.firstLine(), 0));\n      if (!cursor.find(rev)) return;\n    }\n    cm.setSelection(cursor.from(), cursor.to());\n    cm.scrollIntoView({from: cursor.from(), to: cursor.to()});\n    state.posFrom = cursor.from(); state.posTo = cursor.to();\n  });}\n  function clearSearch(cm) {cm.operation(function() {\n    var state = getSearchState(cm);\n    if (!state.query) return;\n    state.query = null;\n    cm.removeOverlay(state.overlay);\n  });}\n\n  var replaceQueryDialog =\n    'Replace: <input type=\"text\" style=\"width: 10em\"/> <span style=\"color: #888\">(Use /re/ syntax for regexp search)</span>';\n  var replacementQueryDialog = 'With: <input type=\"text\" style=\"width: 10em\"/>';\n  var doReplaceConfirm = \"Replace? <button>Yes</button> <button>No</button> <button>Stop</button>\";\n  function replace(cm, all) {\n    dialog(cm, replaceQueryDialog, \"Replace:\", function(query) {\n      if (!query) return;\n      query = parseQuery(query);\n      dialog(cm, replacementQueryDialog, \"Replace with:\", function(text) {\n        if (all) {\n          cm.operation(function() {\n            for (var cursor = getSearchCursor(cm, query); cursor.findNext();) {\n              if (typeof query != \"string\") {\n                var match = cm.getRange(cursor.from(), cursor.to()).match(query);\n                cursor.replace(text.replace(/\\$(\\d)/, function(_, i) {return match[i];}));\n              } else cursor.replace(text);\n            }\n          });\n        } else {\n          clearSearch(cm);\n          var cursor = getSearchCursor(cm, query, cm.getCursor());\n          var advance = function() {\n            var start = cursor.from(), match;\n            if (!(match = cursor.findNext())) {\n              cursor = getSearchCursor(cm, query);\n              if (!(match = cursor.findNext()) ||\n                  (start && cursor.from().line == start.line && cursor.from().ch == start.ch)) return;\n            }\n            cm.setSelection(cursor.from(), cursor.to());\n            cm.scrollIntoView({from: cursor.from(), to: cursor.to()});\n            confirmDialog(cm, doReplaceConfirm, \"Replace?\",\n                          [function() {doReplace(match);}, advance]);\n          };\n          var doReplace = function(match) {\n            cursor.replace(typeof query == \"string\" ? text :\n                           text.replace(/\\$(\\d)/, function(_, i) {return match[i];}));\n            advance();\n          };\n          advance();\n        }\n      });\n    });\n  }\n\n  CodeMirror.commands.find = function(cm) {clearSearch(cm); doSearch(cm);};\n  CodeMirror.commands.findNext = doSearch;\n  CodeMirror.commands.findPrev = function(cm) {doSearch(cm, true);};\n  CodeMirror.commands.clearSearch = clearSearch;\n  CodeMirror.commands.replace = replace;\n  CodeMirror.commands.replaceAll = function(cm) {replace(cm, true);};\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/search/searchcursor.js",
    "content": "(function(){\n  var Pos = CodeMirror.Pos;\n\n  function SearchCursor(doc, query, pos, caseFold) {\n    this.atOccurrence = false; this.doc = doc;\n    if (caseFold == null && typeof query == \"string\") caseFold = false;\n\n    pos = pos ? doc.clipPos(pos) : Pos(0, 0);\n    this.pos = {from: pos, to: pos};\n\n    // The matches method is filled in based on the type of query.\n    // It takes a position and a direction, and returns an object\n    // describing the next occurrence of the query, or null if no\n    // more matches were found.\n    if (typeof query != \"string\") { // Regexp match\n      if (!query.global) query = new RegExp(query.source, query.ignoreCase ? \"ig\" : \"g\");\n      this.matches = function(reverse, pos) {\n        if (reverse) {\n          query.lastIndex = 0;\n          var line = doc.getLine(pos.line).slice(0, pos.ch), cutOff = 0, match, start;\n          for (;;) {\n            query.lastIndex = cutOff;\n            var newMatch = query.exec(line);\n            if (!newMatch) break;\n            match = newMatch;\n            start = match.index;\n            cutOff = match.index + (match[0].length || 1);\n            if (cutOff == line.length) break;\n          }\n          var matchLen = (match && match[0].length) || 0;\n          if (!matchLen) {\n            if (start == 0 && line.length == 0) {match = undefined;}\n            else if (start != doc.getLine(pos.line).length) {\n              matchLen++;\n            }\n          }\n        } else {\n          query.lastIndex = pos.ch;\n          var line = doc.getLine(pos.line), match = query.exec(line);\n          var matchLen = (match && match[0].length) || 0;\n          var start = match && match.index;\n          if (start + matchLen != line.length && !matchLen) matchLen = 1;\n        }\n        if (match && matchLen)\n          return {from: Pos(pos.line, start),\n                  to: Pos(pos.line, start + matchLen),\n                  match: match};\n      };\n    } else { // String query\n      if (caseFold) query = query.toLowerCase();\n      var fold = caseFold ? function(str){return str.toLowerCase();} : function(str){return str;};\n      var target = query.split(\"\\n\");\n      // Different methods for single-line and multi-line queries\n      if (target.length == 1) {\n        if (!query.length) {\n          // Empty string would match anything and never progress, so\n          // we define it to match nothing instead.\n          this.matches = function() {};\n        } else {\n          this.matches = function(reverse, pos) {\n            var line = fold(doc.getLine(pos.line)), len = query.length, match;\n            if (reverse ? (pos.ch >= len && (match = line.lastIndexOf(query, pos.ch - len)) != -1)\n                        : (match = line.indexOf(query, pos.ch)) != -1)\n              return {from: Pos(pos.line, match),\n                      to: Pos(pos.line, match + len)};\n          };\n        }\n      } else {\n        this.matches = function(reverse, pos) {\n          var ln = pos.line, idx = (reverse ? target.length - 1 : 0), match = target[idx], line = fold(doc.getLine(ln));\n          var offsetA = (reverse ? line.indexOf(match) + match.length : line.lastIndexOf(match));\n          if (reverse ? offsetA > pos.ch || offsetA != match.length\n              : offsetA < pos.ch || offsetA != line.length - match.length)\n            return;\n          for (;;) {\n            if (reverse ? !ln : ln == doc.lineCount() - 1) return;\n            line = fold(doc.getLine(ln += reverse ? -1 : 1));\n            match = target[reverse ? --idx : ++idx];\n            if (idx > 0 && idx < target.length - 1) {\n              if (line != match) return;\n              else continue;\n            }\n            var offsetB = (reverse ? line.lastIndexOf(match) : line.indexOf(match) + match.length);\n            if (reverse ? offsetB != line.length - match.length : offsetB != match.length)\n              return;\n            var start = Pos(pos.line, offsetA), end = Pos(ln, offsetB);\n            return {from: reverse ? end : start, to: reverse ? start : end};\n          }\n        };\n      }\n    }\n  }\n\n  SearchCursor.prototype = {\n    findNext: function() {return this.find(false);},\n    findPrevious: function() {return this.find(true);},\n\n    find: function(reverse) {\n      var self = this, pos = this.doc.clipPos(reverse ? this.pos.from : this.pos.to);\n      function savePosAndFail(line) {\n        var pos = Pos(line, 0);\n        self.pos = {from: pos, to: pos};\n        self.atOccurrence = false;\n        return false;\n      }\n\n      for (;;) {\n        if (this.pos = this.matches(reverse, pos)) {\n          if (!this.pos.from || !this.pos.to) { console.log(this.matches, this.pos); }\n          this.atOccurrence = true;\n          return this.pos.match || true;\n        }\n        if (reverse) {\n          if (!pos.line) return savePosAndFail(0);\n          pos = Pos(pos.line-1, this.doc.getLine(pos.line-1).length);\n        }\n        else {\n          var maxLine = this.doc.lineCount();\n          if (pos.line == maxLine - 1) return savePosAndFail(maxLine);\n          pos = Pos(pos.line + 1, 0);\n        }\n      }\n    },\n\n    from: function() {if (this.atOccurrence) return this.pos.from;},\n    to: function() {if (this.atOccurrence) return this.pos.to;},\n\n    replace: function(newText) {\n      if (!this.atOccurrence) return;\n      var lines = CodeMirror.splitLines(newText);\n      this.doc.replaceRange(lines, this.pos.from, this.pos.to);\n      this.pos.to = Pos(this.pos.from.line + lines.length - 1,\n                        lines[lines.length - 1].length + (lines.length == 1 ? this.pos.from.ch : 0));\n    }\n  };\n\n  CodeMirror.defineExtension(\"getSearchCursor\", function(query, pos, caseFold) {\n    return new SearchCursor(this.doc, query, pos, caseFold);\n  });\n  CodeMirror.defineDocExtension(\"getSearchCursor\", function(query, pos, caseFold) {\n    return new SearchCursor(this, query, pos, caseFold);\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/selection/active-line.js",
    "content": "// Because sometimes you need to style the cursor's line.\n//\n// Adds an option 'styleActiveLine' which, when enabled, gives the\n// active line's wrapping <div> the CSS class \"CodeMirror-activeline\",\n// and gives its background <div> the class \"CodeMirror-activeline-background\".\n\n(function() {\n  \"use strict\";\n  var WRAP_CLASS = \"CodeMirror-activeline\";\n  var BACK_CLASS = \"CodeMirror-activeline-background\";\n\n  CodeMirror.defineOption(\"styleActiveLine\", false, function(cm, val, old) {\n    var prev = old && old != CodeMirror.Init;\n    if (val && !prev) {\n      updateActiveLine(cm);\n      cm.on(\"cursorActivity\", updateActiveLine);\n    } else if (!val && prev) {\n      cm.off(\"cursorActivity\", updateActiveLine);\n      clearActiveLine(cm);\n      delete cm.state.activeLine;\n    }\n  });\n\n  function clearActiveLine(cm) {\n    if (\"activeLine\" in cm.state) {\n      cm.removeLineClass(cm.state.activeLine, \"wrap\", WRAP_CLASS);\n      cm.removeLineClass(cm.state.activeLine, \"background\", BACK_CLASS);\n    }\n  }\n\n  function updateActiveLine(cm) {\n    var line = cm.getLineHandleVisualStart(cm.getCursor().line);\n    if (cm.state.activeLine == line) return;\n    clearActiveLine(cm);\n    cm.addLineClass(line, \"wrap\", WRAP_CLASS);\n    cm.addLineClass(line, \"background\", BACK_CLASS);\n    cm.state.activeLine = line;\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/selection/mark-selection.js",
    "content": "// Because sometimes you need to mark the selected *text*.\n//\n// Adds an option 'styleSelectedText' which, when enabled, gives\n// selected text the CSS class given as option value, or\n// \"CodeMirror-selectedtext\" when the value is not a string.\n\n(function() {\n  \"use strict\";\n\n  CodeMirror.defineOption(\"styleSelectedText\", false, function(cm, val, old) {\n    var prev = old && old != CodeMirror.Init;\n    if (val && !prev) {\n      cm.state.markedSelection = [];\n      cm.state.markedSelectionStyle = typeof val == \"string\" ? val : \"CodeMirror-selectedtext\";\n      reset(cm);\n      cm.on(\"cursorActivity\", onCursorActivity);\n      cm.on(\"change\", onChange);\n    } else if (!val && prev) {\n      cm.off(\"cursorActivity\", onCursorActivity);\n      cm.off(\"change\", onChange);\n      clear(cm);\n      cm.state.markedSelection = cm.state.markedSelectionStyle = null;\n    }\n  });\n\n  function onCursorActivity(cm) {\n    cm.operation(function() { update(cm); });\n  }\n\n  function onChange(cm) {\n    if (cm.state.markedSelection.length)\n      cm.operation(function() { clear(cm); });\n  }\n\n  var CHUNK_SIZE = 8;\n  var Pos = CodeMirror.Pos;\n\n  function cmp(pos1, pos2) {\n    return pos1.line - pos2.line || pos1.ch - pos2.ch;\n  }\n\n  function coverRange(cm, from, to, addAt) {\n    if (cmp(from, to) == 0) return;\n    var array = cm.state.markedSelection;\n    var cls = cm.state.markedSelectionStyle;\n    for (var line = from.line;;) {\n      var start = line == from.line ? from : Pos(line, 0);\n      var endLine = line + CHUNK_SIZE, atEnd = endLine >= to.line;\n      var end = atEnd ? to : Pos(endLine, 0);\n      var mark = cm.markText(start, end, {className: cls});\n      if (addAt == null) array.push(mark);\n      else array.splice(addAt++, 0, mark);\n      if (atEnd) break;\n      line = endLine;\n    }\n  }\n\n  function clear(cm) {\n    var array = cm.state.markedSelection;\n    for (var i = 0; i < array.length; ++i) array[i].clear();\n    array.length = 0;\n  }\n\n  function reset(cm) {\n    clear(cm);\n    var from = cm.getCursor(\"start\"), to = cm.getCursor(\"end\");\n    coverRange(cm, from, to);\n  }\n\n  function update(cm) {\n    var from = cm.getCursor(\"start\"), to = cm.getCursor(\"end\");\n    if (cmp(from, to) == 0) return clear(cm);\n\n    var array = cm.state.markedSelection;\n    if (!array.length) return coverRange(cm, from, to);\n\n    var coverStart = array[0].find(), coverEnd = array[array.length - 1].find();\n    if (!coverStart || !coverEnd || to.line - from.line < CHUNK_SIZE ||\n        cmp(from, coverEnd.to) >= 0 || cmp(to, coverStart.from) <= 0)\n      return reset(cm);\n\n    while (cmp(from, coverStart.from) > 0) {\n      array.shift().clear();\n      coverStart = array[0].find();\n    }\n    if (cmp(from, coverStart.from) < 0) {\n      if (coverStart.to.line - from.line < CHUNK_SIZE) {\n        array.shift().clear();\n        coverRange(cm, from, coverStart.to, 0);\n      } else {\n        coverRange(cm, from, coverStart.from, 0);\n      }\n    }\n\n    while (cmp(to, coverEnd.to) < 0) {\n      array.pop().clear();\n      coverEnd = array[array.length - 1].find();\n    }\n    if (cmp(to, coverEnd.to) > 0) {\n      if (to.line - coverEnd.from.line < CHUNK_SIZE) {\n        array.pop().clear();\n        coverRange(cm, coverEnd.from, to);\n      } else {\n        coverRange(cm, coverEnd.to, to);\n      }\n    }\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/tern/tern.css",
    "content": ".CodeMirror-Tern-completion {\n  padding-left: 22px;\n  position: relative;\n}\n.CodeMirror-Tern-completion:before {\n  position: absolute;\n  left: 2px;\n  bottom: 2px;\n  border-radius: 50%;\n  font-size: 12px;\n  font-weight: bold;\n  height: 15px;\n  width: 15px;\n  line-height: 16px;\n  text-align: center;\n  color: white;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box;\n}\n.CodeMirror-Tern-completion-unknown:before {\n  content: \"?\";\n  background: #4bb;\n}\n.CodeMirror-Tern-completion-object:before {\n  content: \"O\";\n  background: #77c;\n}\n.CodeMirror-Tern-completion-fn:before {\n  content: \"F\";\n  background: #7c7;\n}\n.CodeMirror-Tern-completion-array:before {\n  content: \"A\";\n  background: #c66;\n}\n.CodeMirror-Tern-completion-number:before {\n  content: \"1\";\n  background: #999;\n}\n.CodeMirror-Tern-completion-string:before {\n  content: \"S\";\n  background: #999;\n}\n.CodeMirror-Tern-completion-bool:before {\n  content: \"B\";\n  background: #999;\n}\n\n.CodeMirror-Tern-completion-guess {\n  color: #999;\n}\n\n.CodeMirror-Tern-tooltip {\n  border: 1px solid silver;\n  border-radius: 3px;\n  color: #444;\n  padding: 2px 5px;\n  font-size: 90%;\n  font-family: monospace;\n  background-color: white;\n  white-space: pre-wrap;\n\n  max-width: 40em;\n  position: absolute;\n  z-index: 10;\n  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n  box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n\n  transition: opacity 1s;\n  -moz-transition: opacity 1s;\n  -webkit-transition: opacity 1s;\n  -o-transition: opacity 1s;\n  -ms-transition: opacity 1s;\n}\n\n.CodeMirror-Tern-hint-doc {\n  max-width: 25em;\n}\n\n.CodeMirror-Tern-fname { color: black; }\n.CodeMirror-Tern-farg { color: #70a; }\n.CodeMirror-Tern-farg-current { text-decoration: underline; }\n.CodeMirror-Tern-type { color: #07c; }\n.CodeMirror-Tern-fhint-guess { opacity: .7; }\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/tern/tern.js",
    "content": "// Glue code between CodeMirror and Tern.\n//\n// Create a CodeMirror.TernServer to wrap an actual Tern server,\n// register open documents (CodeMirror.Doc instances) with it, and\n// call its methods to activate the assisting functions that Tern\n// provides.\n//\n// Options supported (all optional):\n// * defs: An array of JSON definition data structures.\n// * plugins: An object mapping plugin names to configuration\n//   options.\n// * getFile: A function(name, c) that can be used to access files in\n//   the project that haven't been loaded yet. Simply do c(null) to\n//   indicate that a file is not available.\n// * fileFilter: A function(value, docName, doc) that will be applied\n//   to documents before passing them on to Tern.\n// * switchToDoc: A function(name) that should, when providing a\n//   multi-file view, switch the view or focus to the named file.\n// * showError: A function(editor, message) that can be used to\n//   override the way errors are displayed.\n// * completionTip: Customize the content in tooltips for completions.\n//   Is passed a single argument—the completion's data as returned by\n//   Tern—and may return a string, DOM node, or null to indicate that\n//   no tip should be shown. By default the docstring is shown.\n// * typeTip: Like completionTip, but for the tooltips shown for type\n//   queries.\n// * responseFilter: A function(doc, query, request, error, data) that\n//   will be applied to the Tern responses before treating them\n//\n//\n// It is possible to run the Tern server in a web worker by specifying\n// these additional options:\n// * useWorker: Set to true to enable web worker mode. You'll probably\n//   want to feature detect the actual value you use here, for example\n//   !!window.Worker.\n// * workerScript: The main script of the worker. Point this to\n//   wherever you are hosting worker.js from this directory.\n// * workerDeps: An array of paths pointing (relative to workerScript)\n//   to the Acorn and Tern libraries and any Tern plugins you want to\n//   load. Or, if you minified those into a single script and included\n//   them in the workerScript, simply leave this undefined.\n\n(function() {\n  \"use strict\";\n  // declare global: tern\n\n  CodeMirror.TernServer = function(options) {\n    var self = this;\n    this.options = options || {};\n    var plugins = this.options.plugins || (this.options.plugins = {});\n    if (!plugins.doc_comment) plugins.doc_comment = true;\n    if (this.options.useWorker) {\n      this.server = new WorkerServer(this);\n    } else {\n      this.server = new tern.Server({\n        getFile: function(name, c) { return getFile(self, name, c); },\n        async: true,\n        defs: this.options.defs || [],\n        plugins: plugins\n      });\n    }\n    this.docs = Object.create(null);\n    this.trackChange = function(doc, change) { trackChange(self, doc, change); };\n\n    this.cachedArgHints = null;\n    this.activeArgHints = null;\n    this.jumpStack = [];\n  };\n\n  CodeMirror.TernServer.prototype = {\n    addDoc: function(name, doc) {\n      var data = {doc: doc, name: name, changed: null};\n      this.server.addFile(name, docValue(this, data));\n      CodeMirror.on(doc, \"change\", this.trackChange);\n      return this.docs[name] = data;\n    },\n\n    delDoc: function(name) {\n      var found = this.docs[name];\n      if (!found) return;\n      CodeMirror.off(found.doc, \"change\", this.trackChange);\n      delete this.docs[name];\n      this.server.delFile(name);\n    },\n\n    hideDoc: function(name) {\n      closeArgHints(this);\n      var found = this.docs[name];\n      if (found && found.changed) sendDoc(this, found);\n    },\n\n    complete: function(cm) {\n      var self = this;\n      CodeMirror.showHint(cm, function(cm, c) { return hint(self, cm, c); }, {async: true});\n    },\n\n    getHint: function(cm, c) { return hint(this, cm, c); },\n\n    showType: function(cm, pos) { showType(this, cm, pos); },\n\n    updateArgHints: function(cm) { updateArgHints(this, cm); },\n\n    jumpToDef: function(cm) { jumpToDef(this, cm); },\n\n    jumpBack: function(cm) { jumpBack(this, cm); },\n\n    rename: function(cm) { rename(this, cm); },\n\n    request: function (cm, query, c, pos) {\n      var self = this;\n      var doc = findDoc(this, cm.getDoc());\n      var request = buildRequest(this, doc, query, pos);\n\n      this.server.request(request, function (error, data) {\n        if (!error && self.options.responseFilter)\n          data = self.options.responseFilter(doc, query, request, error, data);\n        c(error, data);\n      });\n    }\n  };\n\n  var Pos = CodeMirror.Pos;\n  var cls = \"CodeMirror-Tern-\";\n  var bigDoc = 250;\n\n  function getFile(ts, name, c) {\n    var buf = ts.docs[name];\n    if (buf)\n      c(docValue(ts, buf));\n    else if (ts.options.getFile)\n      ts.options.getFile(name, c);\n    else\n      c(null);\n  }\n\n  function findDoc(ts, doc, name) {\n    for (var n in ts.docs) {\n      var cur = ts.docs[n];\n      if (cur.doc == doc) return cur;\n    }\n    if (!name) for (var i = 0;; ++i) {\n      n = \"[doc\" + (i || \"\") + \"]\";\n      if (!ts.docs[n]) { name = n; break; }\n    }\n    return ts.addDoc(name, doc);\n  }\n\n  function trackChange(ts, doc, change) {\n    var data = findDoc(ts, doc);\n\n    var argHints = ts.cachedArgHints;\n    if (argHints && argHints.doc == doc && cmpPos(argHints.start, change.to) <= 0)\n      ts.cachedArgHints = null;\n\n    var changed = data.changed;\n    if (changed == null)\n      data.changed = changed = {from: change.from.line, to: change.from.line};\n    var end = change.from.line + (change.text.length - 1);\n    if (change.from.line < changed.to) changed.to = changed.to - (change.to.line - end);\n    if (end >= changed.to) changed.to = end + 1;\n    if (changed.from > change.from.line) changed.from = change.from.line;\n\n    if (doc.lineCount() > bigDoc && change.to - changed.from > 100) setTimeout(function() {\n      if (data.changed && data.changed.to - data.changed.from > 100) sendDoc(ts, data);\n    }, 200);\n  }\n\n  function sendDoc(ts, doc) {\n    ts.server.request({files: [{type: \"full\", name: doc.name, text: docValue(ts, doc)}]}, function(error) {\n      if (error) console.error(error);\n      else doc.changed = null;\n    });\n  }\n\n  // Completion\n\n  function hint(ts, cm, c) {\n    ts.request(cm, {type: \"completions\", types: true, docs: true, urls: true}, function(error, data) {\n      if (error) return showError(ts, cm, error);\n      var completions = [], after = \"\";\n      var from = data.start, to = data.end;\n      if (cm.getRange(Pos(from.line, from.ch - 2), from) == \"[\\\"\" &&\n          cm.getRange(to, Pos(to.line, to.ch + 2)) != \"\\\"]\")\n        after = \"\\\"]\";\n\n      for (var i = 0; i < data.completions.length; ++i) {\n        var completion = data.completions[i], className = typeToIcon(completion.type);\n        if (data.guess) className += \" \" + cls + \"guess\";\n        completions.push({text: completion.name + after,\n                          displayText: completion.name,\n                          className: className,\n                          data: completion});\n      }\n\n      var obj = {from: from, to: to, list: completions};\n      var tooltip = null;\n      CodeMirror.on(obj, \"close\", function() { remove(tooltip); });\n      CodeMirror.on(obj, \"update\", function() { remove(tooltip); });\n      CodeMirror.on(obj, \"select\", function(cur, node) {\n        remove(tooltip);\n        var content = ts.options.completionTip ? ts.options.completionTip(cur.data) : cur.data.doc;\n        if (content) {\n          tooltip = makeTooltip(node.parentNode.getBoundingClientRect().right + window.pageXOffset,\n                                node.getBoundingClientRect().top + window.pageYOffset, content);\n          tooltip.className += \" \" + cls + \"hint-doc\";\n        }\n      });\n      c(obj);\n    });\n  }\n\n  function typeToIcon(type) {\n    var suffix;\n    if (type == \"?\") suffix = \"unknown\";\n    else if (type == \"number\" || type == \"string\" || type == \"bool\") suffix = type;\n    else if (/^fn\\(/.test(type)) suffix = \"fn\";\n    else if (/^\\[/.test(type)) suffix = \"array\";\n    else suffix = \"object\";\n    return cls + \"completion \" + cls + \"completion-\" + suffix;\n  }\n\n  // Type queries\n\n  function showType(ts, cm, pos) {\n    ts.request(cm, \"type\", function(error, data) {\n      if (error) return showError(ts, cm, error);\n      if (ts.options.typeTip) {\n        var tip = ts.options.typeTip(data);\n      } else {\n        var tip = elt(\"span\", null, elt(\"strong\", null, data.type || \"not found\"));\n        if (data.doc)\n          tip.appendChild(document.createTextNode(\" — \" + data.doc));\n        if (data.url) {\n          tip.appendChild(document.createTextNode(\" \"));\n          tip.appendChild(elt(\"a\", null, \"[docs]\")).href = data.url;\n        }\n      }\n      tempTooltip(cm, tip);\n    }, pos);\n  }\n\n  // Maintaining argument hints\n\n  function updateArgHints(ts, cm) {\n    closeArgHints(ts);\n\n    if (cm.somethingSelected()) return;\n    var state = cm.getTokenAt(cm.getCursor()).state;\n    var inner = CodeMirror.innerMode(cm.getMode(), state);\n    if (inner.mode.name != \"javascript\") return;\n    var lex = inner.state.lexical;\n    if (lex.info != \"call\") return;\n\n    var ch, pos = lex.pos || 0, tabSize = cm.getOption(\"tabSize\");\n    for (var line = cm.getCursor().line, e = Math.max(0, line - 9), found = false; line >= e; --line) {\n      var str = cm.getLine(line), extra = 0;\n      for (var pos = 0;;) {\n        var tab = str.indexOf(\"\\t\", pos);\n        if (tab == -1) break;\n        extra += tabSize - (tab + extra) % tabSize - 1;\n        pos = tab + 1;\n      }\n      ch = lex.column - extra;\n      if (str.charAt(ch) == \"(\") {found = true; break;}\n    }\n    if (!found) return;\n\n    var start = Pos(line, ch);\n    var cache = ts.cachedArgHints;\n    if (cache && cache.doc == cm.getDoc() && cmpPos(start, cache.start) == 0)\n      return showArgHints(ts, cm, pos);\n\n    ts.request(cm, {type: \"type\", preferFunction: true, end: start}, function(error, data) {\n      if (error || !data.type || !(/^fn\\(/).test(data.type)) return;\n      ts.cachedArgHints = {\n        start: pos,\n        type: parseFnType(data.type),\n        name: data.exprName || data.name || \"fn\",\n        guess: data.guess,\n        doc: cm.getDoc()\n      };\n      showArgHints(ts, cm, pos);\n    });\n  }\n\n  function showArgHints(ts, cm, pos) {\n    closeArgHints(ts);\n\n    var cache = ts.cachedArgHints, tp = cache.type;\n    var tip = elt(\"span\", cache.guess ? cls + \"fhint-guess\" : null,\n                  elt(\"span\", cls + \"fname\", cache.name), \"(\");\n    for (var i = 0; i < tp.args.length; ++i) {\n      if (i) tip.appendChild(document.createTextNode(\", \"));\n      var arg = tp.args[i];\n      tip.appendChild(elt(\"span\", cls + \"farg\" + (i == pos ? \" \" + cls + \"farg-current\" : \"\"), arg.name || \"?\"));\n      if (arg.type != \"?\") {\n        tip.appendChild(document.createTextNode(\":\\u00a0\"));\n        tip.appendChild(elt(\"span\", cls + \"type\", arg.type));\n      }\n    }\n    tip.appendChild(document.createTextNode(tp.rettype ? \") ->\\u00a0\" : \")\"));\n    if (tp.rettype) tip.appendChild(elt(\"span\", cls + \"type\", tp.rettype));\n    var place = cm.cursorCoords(null, \"page\");\n    ts.activeArgHints = makeTooltip(place.right + 1, place.bottom, tip);\n  }\n\n  function parseFnType(text) {\n    var args = [], pos = 3;\n\n    function skipMatching(upto) {\n      var depth = 0, start = pos;\n      for (;;) {\n        var next = text.charAt(pos);\n        if (upto.test(next) && !depth) return text.slice(start, pos);\n        if (/[{\\[\\(]/.test(next)) ++depth;\n        else if (/[}\\]\\)]/.test(next)) --depth;\n        ++pos;\n      }\n    }\n\n    // Parse arguments\n    if (text.charAt(pos) != \")\") for (;;) {\n      var name = text.slice(pos).match(/^([^, \\(\\[\\{]+): /);\n      if (name) {\n        pos += name[0].length;\n        name = name[1];\n      }\n      args.push({name: name, type: skipMatching(/[\\),]/)});\n      if (text.charAt(pos) == \")\") break;\n      pos += 2;\n    }\n\n    var rettype = text.slice(pos).match(/^\\) -> (.*)$/);\n\n    return {args: args, rettype: rettype && rettype[1]};\n  }\n\n  // Moving to the definition of something\n\n  function jumpToDef(ts, cm) {\n    function inner(varName) {\n      var req = {type: \"definition\", variable: varName || null};\n      var doc = findDoc(ts, cm.getDoc());\n      ts.server.request(buildRequest(ts, doc, req), function(error, data) {\n        if (error) return showError(ts, cm, error);\n        if (!data.file && data.url) { window.open(data.url); return; }\n\n        if (data.file) {\n          var localDoc = ts.docs[data.file], found;\n          if (localDoc && (found = findContext(localDoc.doc, data))) {\n            ts.jumpStack.push({file: doc.name,\n                               start: cm.getCursor(\"from\"),\n                               end: cm.getCursor(\"to\")});\n            moveTo(ts, doc, localDoc, found.start, found.end);\n            return;\n          }\n        }\n        showError(ts, cm, \"Could not find a definition.\");\n      });\n    }\n\n    if (!atInterestingExpression(cm))\n      dialog(cm, \"Jump to variable\", function(name) { if (name) inner(name); });\n    else\n      inner();\n  }\n\n  function jumpBack(ts, cm) {\n    var pos = ts.jumpStack.pop(), doc = pos && ts.docs[pos.file];\n    if (!doc) return;\n    moveTo(ts, findDoc(ts, cm.getDoc()), doc, pos.start, pos.end);\n  }\n\n  function moveTo(ts, curDoc, doc, start, end) {\n    doc.doc.setSelection(end, start);\n    if (curDoc != doc && ts.options.switchToDoc) {\n      closeArgHints(ts);\n      ts.options.switchToDoc(doc.name);\n    }\n  }\n\n  // The {line,ch} representation of positions makes this rather awkward.\n  function findContext(doc, data) {\n    var before = data.context.slice(0, data.contextOffset).split(\"\\n\");\n    var startLine = data.start.line - (before.length - 1);\n    var start = Pos(startLine, (before.length == 1 ? data.start.ch : doc.getLine(startLine).length) - before[0].length);\n\n    var text = doc.getLine(startLine).slice(start.ch);\n    for (var cur = startLine + 1; cur < doc.lineCount() && text.length < data.context.length; ++cur)\n      text += \"\\n\" + doc.getLine(cur);\n    if (text.slice(0, data.context.length) == data.context) return data;\n\n    var cursor = doc.getSearchCursor(data.context, 0, false);\n    var nearest, nearestDist = Infinity;\n    while (cursor.findNext()) {\n      var from = cursor.from(), dist = Math.abs(from.line - start.line) * 10000;\n      if (!dist) dist = Math.abs(from.ch - start.ch);\n      if (dist < nearestDist) { nearest = from; nearestDist = dist; }\n    }\n    if (!nearest) return null;\n\n    if (before.length == 1)\n      nearest.ch += before[0].length;\n    else\n      nearest = Pos(nearest.line + (before.length - 1), before[before.length - 1].length);\n    if (data.start.line == data.end.line)\n      var end = Pos(nearest.line, nearest.ch + (data.end.ch - data.start.ch));\n    else\n      var end = Pos(nearest.line + (data.end.line - data.start.line), data.end.ch);\n    return {start: nearest, end: end};\n  }\n\n  function atInterestingExpression(cm) {\n    var pos = cm.getCursor(\"end\"), tok = cm.getTokenAt(pos);\n    if (tok.start < pos.ch && (tok.type == \"comment\" || tok.type == \"string\")) return false;\n    return /\\w/.test(cm.getLine(pos.line).slice(Math.max(pos.ch - 1, 0), pos.ch + 1));\n  }\n\n  // Variable renaming\n\n  function rename(ts, cm) {\n    var token = cm.getTokenAt(cm.getCursor());\n    if (!/\\w/.test(token.string)) showError(ts, cm, \"Not at a variable\");\n    dialog(cm, \"New name for \" + token.string, function(newName) {\n      ts.request(cm, {type: \"rename\", newName: newName, fullDocs: true}, function(error, data) {\n        if (error) return showError(ts, cm, error);\n        applyChanges(ts, data.changes);\n      });\n    });\n  }\n\n  var nextChangeOrig = 0;\n  function applyChanges(ts, changes) {\n    var perFile = Object.create(null);\n    for (var i = 0; i < changes.length; ++i) {\n      var ch = changes[i];\n      (perFile[ch.file] || (perFile[ch.file] = [])).push(ch);\n    }\n    for (var file in perFile) {\n      var known = ts.docs[file], chs = perFile[file];;\n      if (!known) continue;\n      chs.sort(function(a, b) { return cmpPos(b.start, a.start); });\n      var origin = \"*rename\" + (++nextChangeOrig);\n      for (var i = 0; i < chs.length; ++i) {\n        var ch = chs[i];\n        known.doc.replaceRange(ch.text, ch.start, ch.end, origin);\n      }\n    }\n  }\n\n  // Generic request-building helper\n\n  function buildRequest(ts, doc, query, pos) {\n    var files = [], offsetLines = 0, allowFragments = !query.fullDocs;\n    if (!allowFragments) delete query.fullDocs;\n    if (typeof query == \"string\") query = {type: query};\n    query.lineCharPositions = true;\n    if (query.end == null) {\n      query.end = pos || doc.doc.getCursor(\"end\");\n      if (doc.doc.somethingSelected())\n        query.start = doc.doc.getCursor(\"start\");\n    }\n    var startPos = query.start || query.end;\n\n    if (doc.changed) {\n      if (doc.doc.lineCount() > bigDoc && allowFragments !== false &&\n          doc.changed.to - doc.changed.from < 100 &&\n          doc.changed.from <= startPos.line && doc.changed.to > query.end.line) {\n        files.push(getFragmentAround(doc, startPos, query.end));\n        query.file = \"#0\";\n        var offsetLines = files[0].offsetLines;\n        if (query.start != null) query.start = Pos(query.start.line - -offsetLines, query.start.ch);\n        query.end = Pos(query.end.line - offsetLines, query.end.ch);\n      } else {\n        files.push({type: \"full\",\n                    name: doc.name,\n                    text: docValue(ts, doc)});\n        query.file = doc.name;\n        doc.changed = null;\n      }\n    } else {\n      query.file = doc.name;\n    }\n    for (var name in ts.docs) {\n      var cur = ts.docs[name];\n      if (cur.changed && cur != doc) {\n        files.push({type: \"full\", name: cur.name, text: docValue(ts, cur)});\n        cur.changed = null;\n      }\n    }\n\n    return {query: query, files: files};\n  }\n\n  function getFragmentAround(data, start, end) {\n    var doc = data.doc;\n    var minIndent = null, minLine = null, endLine, tabSize = 4;\n    for (var p = start.line - 1, min = Math.max(0, p - 50); p >= min; --p) {\n      var line = doc.getLine(p), fn = line.search(/\\bfunction\\b/);\n      if (fn < 0) continue;\n      var indent = CodeMirror.countColumn(line, null, tabSize);\n      if (minIndent != null && minIndent <= indent) continue;\n      minIndent = indent;\n      minLine = p;\n    }\n    if (minLine == null) minLine = min;\n    var max = Math.min(doc.lastLine(), end.line + 20);\n    if (minIndent == null || minIndent == CodeMirror.countColumn(doc.getLine(start.line), null, tabSize))\n      endLine = max;\n    else for (endLine = end.line + 1; endLine < max; ++endLine) {\n      var indent = CodeMirror.countColumn(doc.getLine(endLine), null, tabSize);\n      if (indent <= minIndent) break;\n    }\n    var from = Pos(minLine, 0);\n\n    return {type: \"part\",\n            name: data.name,\n            offsetLines: from.line,\n            text: doc.getRange(from, Pos(endLine, 0))};\n  }\n\n  // Generic utilities\n\n  function cmpPos(a, b) { return a.line - b.line || a.ch - b.ch; }\n\n  function elt(tagname, cls /*, ... elts*/) {\n    var e = document.createElement(tagname);\n    if (cls) e.className = cls;\n    for (var i = 2; i < arguments.length; ++i) {\n      var elt = arguments[i];\n      if (typeof elt == \"string\") elt = document.createTextNode(elt);\n      e.appendChild(elt);\n    }\n    return e;\n  }\n\n  function dialog(cm, text, f) {\n    if (cm.openDialog)\n      cm.openDialog(text + \": <input type=text>\", f);\n    else\n      f(prompt(text, \"\"));\n  }\n\n  // Tooltips\n\n  function tempTooltip(cm, content) {\n    var where = cm.cursorCoords();\n    var tip = makeTooltip(where.right + 1, where.bottom, content);\n    function clear() {\n      if (!tip.parentNode) return;\n      cm.off(\"cursorActivity\", clear);\n      fadeOut(tip);\n    }\n    setTimeout(clear, 1700);\n    cm.on(\"cursorActivity\", clear);\n  }\n\n  function makeTooltip(x, y, content) {\n    var node = elt(\"div\", cls + \"tooltip\", content);\n    node.style.left = x + \"px\";\n    node.style.top = y + \"px\";\n    document.body.appendChild(node);\n    return node;\n  }\n\n  function remove(node) {\n    var p = node && node.parentNode;\n    if (p) p.removeChild(node);\n  }\n\n  function fadeOut(tooltip) {\n    tooltip.style.opacity = \"0\";\n    setTimeout(function() { remove(tooltip); }, 1100);\n  }\n\n  function showError(ts, cm, msg) {\n    if (ts.options.showError)\n      ts.options.showError(cm, msg);\n    else\n      tempTooltip(cm, String(msg));\n  }\n\n  function closeArgHints(ts) {\n    if (ts.activeArgHints) { remove(ts.activeArgHints); ts.activeArgHints = null; }\n  }\n\n  function docValue(ts, doc) {\n    var val = doc.doc.getValue();\n    if (ts.options.fileFilter) val = ts.options.fileFilter(val, doc.name, doc.doc);\n    return val;\n  }\n\n  // Worker wrapper\n\n  function WorkerServer(ts) {\n    var worker = new Worker(ts.options.workerScript);\n    worker.postMessage({type: \"init\",\n                        defs: ts.options.defs,\n                        plugins: ts.options.plugins,\n                        scripts: ts.options.workerDeps});\n    var msgId = 0, pending = {};\n\n    function send(data, c) {\n      if (c) {\n        data.id = ++msgId;\n        pending[msgId] = c;\n      }\n      worker.postMessage(data);\n    }\n    worker.onmessage = function(e) {\n      var data = e.data;\n      if (data.type == \"getFile\") {\n        getFile(ts, data.name, function(err, text) {\n          send({type: \"getFile\", err: String(err), text: text, id: data.id});\n        });\n      } else if (data.type == \"debug\") {\n        console.log(data.message);\n      } else if (data.id && pending[data.id]) {\n        pending[data.id](data.err, data.body);\n        delete pending[data.id];\n      }\n    };\n    worker.onerror = function(e) {\n      for (var id in pending) pending[id](e);\n      pending = {};\n    };\n\n    this.addFile = function(name, text) { send({type: \"add\", name: name, text: text}); };\n    this.delFile = function(name) { send({type: \"del\", name: name}); };\n    this.request = function(body, c) { send({type: \"req\", body: body}, c); };\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/tern/worker.js",
    "content": "// declare global: tern, server\n\nvar server;\n\nthis.onmessage = function(e) {\n  var data = e.data;\n  switch (data.type) {\n  case \"init\": return startServer(data.defs, data.plugins, data.scripts);\n  case \"add\": return server.addFile(data.name, data.text);\n  case \"del\": return server.delFile(data.name);\n  case \"req\": return server.request(data.body, function(err, reqData) {\n    postMessage({id: data.id, body: reqData, err: err && String(err)});\n  });\n  case \"getFile\":\n    var c = pending[data.id];\n    delete pending[data.id];\n    return c(data.err, data.text);\n  default: throw new Error(\"Unknown message type: \" + data.type);\n  }\n};\n\nvar nextId = 0, pending = {};\nfunction getFile(file, c) {\n  postMessage({type: \"getFile\", name: file, id: ++nextId});\n  pending[nextId] = c;\n}\n\nfunction startServer(defs, plugins, scripts) {\n  if (scripts) importScripts.apply(null, scripts);\n\n  server = new tern.Server({\n    getFile: getFile,\n    async: true,\n    defs: defs,\n    plugins: plugins\n  });\n}\n\nvar console = {\n  log: function(v) { postMessage({type: \"debug\", message: v}); }\n};\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/addon/wrap/hardwrap.js",
    "content": "(function() {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n\n  function findParagraph(cm, pos, options) {\n    var startRE = options.paragraphStart || cm.getHelper(pos, \"paragraphStart\");\n    for (var start = pos.line, first = cm.firstLine(); start > first; --start) {\n      var line = cm.getLine(start);\n      if (startRE && startRE.test(line)) break;\n      if (!/\\S/.test(line)) { ++start; break; }\n    }\n    var endRE = options.paragraphEnd || cm.getHelper(pos, \"paragraphEnd\");\n    for (var end = pos.line + 1, last = cm.lastLine(); end <= last; ++end) {\n      var line = cm.getLine(end);\n      if (endRE && endRE.test(line)) { ++end; break; }\n      if (!/\\S/.test(line)) break;\n    }\n    return {from: start, to: end};\n  }\n\n  function findBreakPoint(text, column, wrapOn, killTrailingSpace) {\n    for (var at = column; at > 0; --at)\n      if (wrapOn.test(text.slice(at - 1, at + 1))) break;\n    if (at == 0) at = column;\n    var endOfText = at;\n    if (killTrailingSpace)\n      while (text.charAt(endOfText - 1) == \" \") --endOfText;\n    return {from: endOfText, to: at};\n  }\n\n  function wrapRange(cm, from, to, options) {\n    from = cm.clipPos(from); to = cm.clipPos(to);\n    var column = options.column || 80;\n    var wrapOn = options.wrapOn || /\\s\\S|-[^\\.\\d]/;\n    var killTrailing = options.killTrailingSpace !== false;\n    var changes = [], curLine = \"\", curNo = from.line;\n    var lines = cm.getRange(from, to, false);\n    for (var i = 0; i < lines.length; ++i) {\n      var text = lines[i], oldLen = curLine.length, spaceInserted = 0;\n      if (curLine && text && !wrapOn.test(curLine.charAt(curLine.length - 1) + text.charAt(0))) {\n        curLine += \" \";\n        spaceInserted = 1;\n      }\n      curLine += text;\n      if (i) {\n        var firstBreak = curLine.length > column && findBreakPoint(curLine, column, wrapOn, killTrailing);\n        // If this isn't broken, or is broken at a different point, remove old break\n        if (!firstBreak || firstBreak.from != oldLen || firstBreak.to != oldLen + spaceInserted) {\n          changes.push({text: spaceInserted ? \" \" : \"\",\n                        from: Pos(curNo, oldLen),\n                        to: Pos(curNo + 1, 0)});\n        } else {\n          curLine = text;\n          ++curNo;\n        }\n      }\n      while (curLine.length > column) {\n        var bp = findBreakPoint(curLine, column, wrapOn, killTrailing);\n        changes.push({text: \"\\n\",\n                      from: Pos(curNo, bp.from),\n                      to: Pos(curNo, bp.to)});\n        curLine = curLine.slice(bp.to);\n        ++curNo;\n      }\n    }\n    if (changes.length) cm.operation(function() {\n      for (var i = 0; i < changes.length; ++i) {\n        var change = changes[i];\n        cm.replaceRange(change.text, change.from, change.to);\n      }\n    });\n  }\n\n  CodeMirror.defineExtension(\"wrapParagraph\", function(pos, options) {\n    options = options || {};\n    if (!pos) pos = this.getCursor();\n    var para = findParagraph(this, pos, options);\n    wrapRange(this, Pos(para.from, 0), Pos(para.to - 1), options);\n  });\n\n  CodeMirror.defineExtension(\"wrapRange\", function(from, to, options) {\n    wrapRange(this, from, to, options || {});\n  });\n\n  CodeMirror.defineExtension(\"wrapParagraphsInRange\", function(from, to, options) {\n    options = options || {};\n    var cm = this, paras = [];\n    for (var line = from.line; line <= to.line;) {\n      var para = findParagraph(cm, Pos(line, 0), options);\n      paras.push(para);\n      line = para.to;\n    }\n    if (paras.length) cm.operation(function() {\n      for (var i = paras.length - 1; i >= 0; --i)\n        wrapRange(cm, Pos(paras[i].from, 0), Pos(paras[i].to - 1), options);\n    });\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/bin/authors.sh",
    "content": "# Combine existing list of authors with everyone known in git, sort, add header.\ntail --lines=+3 AUTHORS > AUTHORS.tmp\ngit log --format='%aN' >> AUTHORS.tmp\necho -e \"List of CodeMirror contributors. Updated before every release.\\n\" > AUTHORS\nsort -u AUTHORS.tmp >> AUTHORS\nrm -f AUTHORS.tmp\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/bin/compress",
    "content": "#!/usr/bin/env node\n\n// Compression helper for CodeMirror\n//\n// Example:\n//\n//   bin/compress codemirror runmode javascript xml\n//\n// Will take lib/codemirror.js, addon/runmode/runmode.js,\n// mode/javascript/javascript.js, and mode/xml/xml.js, run them though\n// the online minifier at http://marijnhaverbeke.nl/uglifyjs, and spit\n// out the result.\n//\n//   bin/compress codemirror --local /path/to/bin/UglifyJS\n//\n// Will use a local minifier instead of the online default one.\n//\n// Script files are specified without .js ending. Prefixing them with\n// their full (local) path is optional. So you may say lib/codemirror\n// or mode/xml/xml to be more precise. In fact, even the .js suffix\n// may be speficied, if wanted.\n\n\"use strict\";\n\nvar fs = require(\"fs\");\n\nfunction help(ok) {\n  console.log(\"usage: \" + process.argv[1] + \" [--local /path/to/uglifyjs] files...\");\n  process.exit(ok ? 0 : 1);\n}\n\nvar local = null, args = [], extraArgs = null, files = [], blob = \"\";\n\nfor (var i = 2; i < process.argv.length; ++i) {\n  var arg = process.argv[i];\n  if (arg == \"--local\" && i + 1 < process.argv.length) {\n    var parts = process.argv[++i].split(/\\s+/);\n    local = parts[0];\n    extraArgs = parts.slice(1);\n    if (!extraArgs.length) extraArgs = [\"-c\", \"-m\"];\n  } else if (arg == \"--help\") {\n    help(true);\n  } else if (arg[0] != \"-\") {\n    files.push({name: arg, re: new RegExp(\"(?:\\\\/|^)\" + arg + (/\\.js$/.test(arg) ? \"$\" : \"\\\\.js$\"))});\n  } else help(false);\n}\n\nfunction walk(dir) {\n  fs.readdirSync(dir).forEach(function(fname) {\n    if (/^[_\\.]/.test(fname)) return;\n    var file = dir + fname;\n    if (fs.statSync(file).isDirectory()) return walk(file + \"/\");\n    if (files.some(function(spec, i) {\n      var match = spec.re.test(file);\n      if (match) files.splice(i, 1);\n      return match;\n    })) {\n      if (local) args.push(file);\n      else blob += fs.readFileSync(file, \"utf8\");\n    }\n  });\n}\n\nwalk(\"lib/\");\nwalk(\"addon/\");\nwalk(\"mode/\");\n\nif (!local && !blob) help(false);\n\nif (files.length) {\n  console.log(\"Some speficied files were not found: \" +\n              files.map(function(a){return a.name;}).join(\", \"));\n  process.exit(1);\n}\n  \nif (local) {\n  require(\"child_process\").spawn(local, args.concat(extraArgs), {stdio: [\"ignore\", process.stdout, process.stderr]});\n} else {\n  var data = new Buffer(\"js_code=\" + require(\"querystring\").escape(blob), \"utf8\");\n  var req = require(\"http\").request({\n    host: \"marijnhaverbeke.nl\",\n    port: 80,\n    method: \"POST\",\n    path: \"/uglifyjs\",\n    headers: {\"content-type\": \"application/x-www-form-urlencoded\",\n              \"content-length\": data.length}\n  });\n  req.on(\"response\", function(resp) {\n    resp.on(\"data\", function (chunk) { process.stdout.write(chunk); });\n  });\n  req.end(data);\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/bin/lint",
    "content": "#!/usr/bin/env node\n\nvar lint = require(\"../test/lint/lint\"),\n    path = require(\"path\");\n\nif (process.argv.length > 2) {\n  lint.checkDir(process.argv[2]);\n} else {\n  process.chdir(path.resolve(__dirname, \"..\"));\n  lint.checkDir(\"lib\");\n  lint.checkDir(\"mode\");\n  lint.checkDir(\"addon\");\n  lint.checkDir(\"keymap\");\n}\n\nprocess.exit(lint.success() ? 0 : 1);\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/bin/source-highlight",
    "content": "#!/usr/bin/env node\n\n// Simple command-line code highlighting tool. Reads code from stdin,\n// spits html to stdout. For example:\n//\n//   echo 'function foo(a) { return a; }' | bin/source-highlight -s javascript\n//   bin/source-highlight -s \n\nvar fs = require(\"fs\");\n\nCodeMirror = require(\"../addon/runmode/runmode.node.js\");\nrequire(\"../mode/meta.js\");\n\nvar sPos = process.argv.indexOf(\"-s\");\nif (sPos == -1 || sPos == process.argv.length - 1) {\n   console.error(\"Usage: source-highlight -s language\");\n   process.exit(1);\n}\nvar lang = process.argv[sPos + 1].toLowerCase(), modeName = lang;\nCodeMirror.modeInfo.forEach(function(info) {\n  if (info.mime == lang) {\n    modeName = info.mode;\n  } else if (info.name.toLowerCase() == lang) {\n    modeName = info.mode;\n    lang = info.mime;\n  }\n});\n\nfunction ensureMode(name) {\n  if (CodeMirror.modes[name] || name == \"null\") return;\n  try {\n    require(\"../mode/\" + name + \"/\" + name + \".js\");\n  } catch(e) {\n    console.error(\"Could not load mode \" + name + \".\");\n    process.exit(1);\n  }\n  var obj = CodeMirror.modes[name];\n  if (obj.dependencies) obj.dependencies.forEach(ensureMode);\n}\nensureMode(modeName);\n\nfunction esc(str) {\n  return str.replace(/[<&]/, function(ch) { return ch == \"&\" ? \"&amp;\" : \"&lt;\"; });\n}\n\nvar code = fs.readFileSync(\"/dev/stdin\", \"utf8\");\nvar curStyle = null, accum = \"\";\nfunction flush() {\n  if (curStyle) process.stdout.write(\"<span class=\\\"\" + curStyle.replace(/(^|\\s+)/g, \"$1cm-\") + \"\\\">\" + esc(accum) + \"</span>\");\n  else process.stdout.write(esc(accum));\n}\n\nCodeMirror.runMode(code, lang, function(text, style) {\n  if (style != curStyle) {\n    flush();\n    curStyle = style; accum = text;\n  } else {\n    accum += text;\n  }\n});\nflush();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/bower.json",
    "content": "{\n  \"name\": \"CodeMirror\",\n  \"main\": [\"lib/codemirror.js\", \"lib/codemirror.css\"],\n  \"ignore\": [\n    \"**/.*\",\n    \"node_modules\",\n    \"components\",\n    \"bin\",\n    \"demo\",\n    \"doc\",\n    \"test\",\n    \"index.html\",\n    \"package.json\"\n  ]\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/activeline.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Active Line Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../addon/selection/active-line.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Active Line</a>\n  </ul>\n</div>\n\n<article>\n<h2>Active Line Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<rss xmlns:atom=\"http://www.w3.org/2005/Atom\" version=\"2.0\"\n     xmlns:georss=\"http://www.georss.org/georss\"\n     xmlns:twitter=\"http://api.twitter.com\">\n  <channel>\n    <title>Twitter / codemirror</title>\n    <link>http://twitter.com/codemirror</link>\n    <atom:link type=\"application/rss+xml\"\n               href=\"http://twitter.com/statuses/user_timeline/242283288.rss\" rel=\"self\"/>\n    <description>Twitter updates from CodeMirror / codemirror.</description>\n    <language>en-us</language>\n    <ttl>40</ttl>\n  <item>\n    <title>codemirror: http://cloud-ide.com &#8212; they're springing up like mushrooms. This one\n      uses CodeMirror as its editor.</title>\n    <description>codemirror: http://cloud-ide.com &#8212; they're springing up like mushrooms. This\n      one uses CodeMirror as its editor.</description>\n    <pubDate>Thu, 17 Mar 2011 23:34:47 +0000</pubDate>\n    <guid>http://twitter.com/codemirror/statuses/48527733722058752</guid>\n    <link>http://twitter.com/codemirror/statuses/48527733722058752</link>\n    <twitter:source>web</twitter:source>\n    <twitter:place/>\n  </item>\n  <item>\n    <title>codemirror: Posted a description of the CodeMirror 2 internals at\n      http://codemirror.net/2/internals.html</title>\n    <description>codemirror: Posted a description of the CodeMirror 2 internals at\n      http://codemirror.net/2/internals.html</description>\n    <pubDate>Wed, 02 Mar 2011 12:15:09 +0000</pubDate>\n    <guid>http://twitter.com/codemirror/statuses/42920879788789760</guid>\n    <link>http://twitter.com/codemirror/statuses/42920879788789760</link>\n    <twitter:source>web</twitter:source>\n    <twitter:place/>\n  </item>\n  </channel>\n</rss></textarea></form>\n\n    <script>\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  mode: \"application/xml\",\n  styleActiveLine: true,\n  lineNumbers: true,\n  lineWrapping: true\n});\n</script>\n\n    <p>Styling the current cursor line.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/anywordhint.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Any Word Completion Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/hint/show-hint.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/hint/show-hint.js\"></script>\n<script src=\"../addon/hint/anyword-hint.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Any Word Completion</a>\n  </ul>\n</div>\n\n<article>\n<h2>Any Word Completion Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n(function() {\n  \"use strict\";\n\n  var WORD = /[\\w$]+/g, RANGE = 500;\n\n  CodeMirror.registerHelper(\"hint\", \"anyword\", function(editor, options) {\n    var word = options && options.word || WORD;\n    var range = options && options.range || RANGE;\n    var cur = editor.getCursor(), curLine = editor.getLine(cur.line);\n    var start = cur.ch, end = start;\n    while (end < curLine.length && word.test(curLine.charAt(end))) ++end;\n    while (start && word.test(curLine.charAt(start - 1))) --start;\n    var curWord = start != end && curLine.slice(start, end);\n\n    var list = [], seen = {};\n    function scan(dir) {\n      var line = cur.line, end = Math.min(Math.max(line + dir * range, editor.firstLine()), editor.lastLine()) + dir;\n      for (; line != end; line += dir) {\n        var text = editor.getLine(line), m;\n        word.lastIndex = 0;\n        while (m = word.exec(text)) {\n          if ((!curWord || m[0].indexOf(curWord) == 0) && !seen.hasOwnProperty(m[0])) {\n            seen[m[0]] = true;\n            list.push(m[0]);\n          }\n        }\n      }\n    }\n    scan(-1);\n    scan(1);\n    return {list: list, from: CodeMirror.Pos(cur.line, start), to: CodeMirror.Pos(cur.line, end)};\n  });\n})();\n</textarea></form>\n\n<p>Press <strong>ctrl-space</strong> to activate autocompletion. The\ncompletion uses\nthe <a href=\"../doc/manual.html#addon_anyword-hint\">anyword-hint.js</a>\nmodule, which simply looks at nearby words in the buffer and completes\nto those.</p>\n\n    <script>\n      CodeMirror.commands.autocomplete = function(cm) {\n        CodeMirror.showHint(cm, CodeMirror.hint.anyword);\n      }\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        extraKeys: {\"Ctrl-Space\": \"autocomplete\"}\n      });\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/bidi.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Bi-directional Text Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Bi-directional Text</a>\n  </ul>\n</div>\n\n<article>\n<h2>Bi-directional Text Demo</h2>\n<form><textarea id=\"code\" name=\"code\"><!-- Piece of the CodeMirror manual, 'translated' into Arabic by\n     Google Translate -->\n\n<dl>\n  <dt id=option_value><code>value (string or Doc)</code></dt>\n  <dd>قيمة البداية المحرر. يمكن أن تكون سلسلة، أو. كائن مستند.</dd>\n  <dt id=option_mode><code>mode (string or object)</code></dt>\n  <dd>وضع الاستخدام. عندما لا تعطى، وهذا الافتراضي إلى الطريقة الاولى\n  التي تم تحميلها. قد يكون من سلسلة، والتي إما أسماء أو ببساطة هو وضع\n  MIME نوع المرتبطة اسطة. بدلا من ذلك، قد يكون من كائن يحتوي على\n  خيارات التكوين لواسطة، مع <code>name</code> الخاصية التي وضع أسماء\n  (على سبيل المثال <code>{name: \"javascript\", json: true}</code>).\n  صفحات التجريبي لكل وضع تحتوي على معلومات حول ما معلمات تكوين وضع\n  يدعمها. يمكنك أن تطلب CodeMirror التي تم تعريفها طرق وأنواع MIME\n  الكشف على <code>CodeMirror.modes</code>\n  و <code>CodeMirror.mimeModes</code> الكائنات. وضع خرائط الأسماء\n  الأولى لمنشئات الخاصة بهم، وخرائط لأنواع MIME 2 المواصفات\n  واسطة.</dd>\n  <dt id=option_theme><code>theme (string)</code></dt>\n  <dd>موضوع لنمط المحرر مع. يجب عليك التأكد من الملف CSS تحديد\n  المقابلة <code>.cm-s-[name]</code> يتم تحميل أنماط (انظر\n  <a href=../theme/><code>theme</code></a> الدليل في التوزيع).\n  الافتراضي هو <code>\"default\"</code> ، والتي تم تضمينها في\n  الألوان <code>codemirror.css</code>. فمن الممكن استخدام فئات متعددة\n  في تطبيق السمات مرة واحدة على سبيل المثال <code>\"foo bar\"</code>\n  سيتم تعيين كل من <code>cm-s-foo</code> و <code>cm-s-bar</code>\n  الطبقات إلى المحرر.</dd>\n</dl>\n</textarea></form>\n\n    <script>\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  mode: \"text/html\",\n  lineNumbers: true\n});\n</script>\n\n  <p>Demonstration of bi-directional text support. See\n  the <a href=\"http://marijnhaverbeke.nl/blog/cursor-in-bidi-text.html\">related\n  blog post</a> for more background.</p>\n\n  <p><strong>Note:</strong> There is\n  a <a href=\"https://github.com/marijnh/CodeMirror/issues/1757\">known\n  bug</a> with cursor motion and mouse clicks in bi-directional lines\n  that are line wrapped.</p>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/btree.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: B-Tree visualization</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<style type=\"text/css\">\n      .lineblock { display: inline-block; margin: 1px; height: 5px; }\n      .CodeMirror {border: 1px solid #aaa; height: 400px}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">B-Tree visualization</a>\n  </ul>\n</div>\n\n<article>\n<h2>B-Tree visualization</h2>\n<form><textarea id=\"code\" name=\"code\">type here, see a summary of the document b-tree below</textarea></form>\n      </div>\n      <div style=\"display: inline-block; height: 402px; overflow-y: auto\" id=\"output\"></div>\n    </div>\n\n    <script id=\"me\">\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  lineNumbers: true,\n  lineWrapping: true\n});\nvar updateTimeout;\neditor.on(\"change\", function(cm) {\n  clearTimeout(updateTimeout);\n  updateTimeout = setTimeout(updateVisual, 200);\n});\nupdateVisual();\n\nfunction updateVisual() {\n  var out = document.getElementById(\"output\");\n  out.innerHTML = \"\";\n\n  function drawTree(out, node) {\n    if (node.lines) {\n      out.appendChild(document.createElement(\"div\")).innerHTML =\n        \"<b>leaf</b>: \" + node.lines.length + \" lines, \" + Math.round(node.height) + \" px\";\n      var lines = out.appendChild(document.createElement(\"div\"));\n      lines.style.lineHeight = \"6px\"; lines.style.marginLeft = \"10px\";\n      for (var i = 0; i < node.lines.length; ++i) {\n        var line = node.lines[i], lineElt = lines.appendChild(document.createElement(\"div\"));\n        lineElt.className = \"lineblock\";\n        var gray = Math.min(line.text.length * 3, 230), col = gray.toString(16);\n        if (col.length == 1) col = \"0\" + col;\n        lineElt.style.background = \"#\" + col + col + col;\n                          console.log(line.height, line);\n        lineElt.style.width = Math.max(Math.round(line.height / 3), 1) + \"px\";\n      }\n    } else {\n      out.appendChild(document.createElement(\"div\")).innerHTML =\n        \"<b>node</b>: \" + node.size + \" lines, \" + Math.round(node.height) + \" px\";\n      var sub = out.appendChild(document.createElement(\"div\"));\n      sub.style.paddingLeft = \"20px\";\n      for (var i = 0; i < node.children.length; ++i)\n        drawTree(sub, node.children[i]);\n    }\n  }\n  drawTree(out, editor.getDoc());\n}\n\nfunction fillEditor() {\n  var sc = document.getElementById(\"me\");\n  var doc = (sc.textContent || sc.innerText || sc.innerHTML).replace(/^\\s*/, \"\") + \"\\n\";\n  doc += doc; doc += doc; doc += doc; doc += doc; doc += doc; doc += doc;\n  editor.setValue(doc);\n}\n    </script>\n\n<p><button onclick=\"fillEditor()\">Add a lot of content</button></p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/buffers.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Multiple Buffer & Split View Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/css/css.js\"></script>\n<style type=\"text/css\" id=style>\n      .CodeMirror {border: 1px solid black; height: 250px;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Multiple Buffer & Split View</a>\n  </ul>\n</div>\n\n<article>\n<h2>Multiple Buffer & Split View Demo</h2>\n\n\n    <div id=code_top></div>\n    <div>\n      Select buffer: <select id=buffers_top></select>\n      &nbsp; &nbsp; <button onclick=\"newBuf('top')\">New buffer</button>\n    </div>\n    <div id=code_bot></div>\n    <div>\n      Select buffer: <select id=buffers_bot></select>\n      &nbsp; &nbsp; <button onclick=\"newBuf('bot')\">New buffer</button>\n    </div>\n\n    <script id=script>\nvar sel_top = document.getElementById(\"buffers_top\");\nCodeMirror.on(sel_top, \"change\", function() {\n  selectBuffer(ed_top, sel_top.options[sel_top.selectedIndex].value);\n});\n\nvar sel_bot = document.getElementById(\"buffers_bot\");\nCodeMirror.on(sel_bot, \"change\", function() {\n  selectBuffer(ed_bot, sel_bot.options[sel_bot.selectedIndex].value);\n});\n\nvar buffers = {};\n\nfunction openBuffer(name, text, mode) {\n  buffers[name] = CodeMirror.Doc(text, mode);\n  var opt = document.createElement(\"option\");\n  opt.appendChild(document.createTextNode(name));\n  sel_top.appendChild(opt);\n  sel_bot.appendChild(opt.cloneNode(true));\n}\n\nfunction newBuf(where) {\n  var name = prompt(\"Name for the buffer\", \"*scratch*\");\n  if (name == null) return;\n  if (buffers.hasOwnProperty(name)) {\n    alert(\"There's already a buffer by that name.\");\n    return;\n  }\n  openBuffer(name, \"\", \"javascript\");\n  selectBuffer(where == \"top\" ? ed_top : ed_bot, name);\n  var sel = where == \"top\" ? sel_top : sel_bot;\n  sel.value = name;\n}\n\nfunction selectBuffer(editor, name) {\n  var buf = buffers[name];\n  if (buf.getEditor()) buf = buf.linkedDoc({sharedHist: true});\n  var old = editor.swapDoc(buf);\n  var linked = old.iterLinkedDocs(function(doc) {linked = doc;});\n  if (linked) {\n    // Make sure the document in buffers is the one the other view is looking at\n    for (var name in buffers) if (buffers[name] == old) buffers[name] = linked;\n    old.unlinkDoc(linked);\n  }\n  editor.focus();\n}\n\nfunction nodeContent(id) {\n  var node = document.getElementById(id), val = node.textContent || node.innerText;\n  val = val.slice(val.match(/^\\s*/)[0].length, val.length - val.match(/\\s*$/)[0].length) + \"\\n\";\n  return val;\n}\nopenBuffer(\"js\", nodeContent(\"script\"), \"javascript\");\nopenBuffer(\"css\", nodeContent(\"style\"), \"css\");\n\nvar ed_top = CodeMirror(document.getElementById(\"code_top\"), {lineNumbers: true});\nselectBuffer(ed_top, \"js\");\nvar ed_bot = CodeMirror(document.getElementById(\"code_bot\"), {lineNumbers: true});\nselectBuffer(ed_bot, \"js\");\n</script>\n\n    <p>Demonstration of\n    using <a href=\"../doc/manual.html#linkedDoc\">linked documents</a>\n    to provide a split view on a document, and\n    using <a href=\"../doc/manual.html#swapDoc\"><code>swapDoc</code></a>\n    to use a single editor to display multiple documents.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/changemode.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Mode-Changing Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/scheme/scheme.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border: 1px solid black;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Mode-Changing</a>\n  </ul>\n</div>\n\n<article>\n<h2>Mode-Changing Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n;; If there is Scheme code in here, the editor will be in Scheme mode.\n;; If you put in JS instead, it'll switch to JS mode.\n\n(define (double x)\n  (* x x))\n</textarea></form>\n\n<p>On changes to the content of the above editor, a (crude) script\ntries to auto-detect the language used, and switches the editor to\neither JavaScript or Scheme mode based on that.</p>\n\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n    mode: \"scheme\",\n    lineNumbers: true,\n    tabMode: \"indent\"\n  });\n  editor.on(\"change\", function() {\n    clearTimeout(pending);\n    setTimeout(update, 400);\n  });\n  var pending;\n  function looksLikeScheme(code) {\n    return !/^\\s*\\(\\s*function\\b/.test(code) && /^\\s*[;\\(]/.test(code);\n  }\n  function update() {\n    editor.setOption(\"mode\", looksLikeScheme(editor.getValue()) ? \"scheme\" : \"javascript\");\n  }\n</script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/closebrackets.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Closebrackets Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/edit/closebrackets.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid #888; border-bottom: 1px solid #888;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Closebrackets</a>\n  </ul>\n</div>\n\n<article>\n<h2>Closebrackets Demo</h2>\n<form><textarea id=\"code\" name=\"code\">(function() {\n  var DEFAULT_BRACKETS = \"()[]{}''\\\"\\\"\";\n\n  CodeMirror.defineOption(\"autoCloseBrackets\", false, function(cm, val, old) {\n    var wasOn = old && old != CodeMirror.Init;\n    if (val && !wasOn)\n      cm.addKeyMap(buildKeymap(typeof val == \"string\" ? val : DEFAULT_BRACKETS));\n    else if (!val && wasOn)\n      cm.removeKeyMap(\"autoCloseBrackets\");\n  });\n\n  function buildKeymap(pairs) {\n    var map = {name : \"autoCloseBrackets\"};\n    for (var i = 0; i < pairs.length; i += 2) (function(left, right) {\n      function maybeOverwrite(cm) {\n        var cur = cm.getCursor(), ahead = cm.getRange(cur, CodeMirror.Pos(cur.line, cur.ch + 1));\n        if (ahead != right) return CodeMirror.Pass;\n        else cm.execCommand(\"goCharRight\");\n      }\n      map[\"'\" + left + \"'\"] = function(cm) {\n        if (left == right && maybeOverwrite(cm) != CodeMirror.Pass) return;\n        var cur = cm.getCursor(), ahead = CodeMirror.Pos(cur.line, cur.ch + 1);\n        cm.replaceSelection(left + right, {head: ahead, anchor: ahead});\n      };\n      if (left != right) map[\"'\" + right + \"'\"] = maybeOverwrite;\n    })(pairs.charAt(i), pairs.charAt(i + 1));\n    return map;\n  }\n})();\n</textarea></form>\n\n    <script type=\"text/javascript\">\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {autoCloseBrackets: true});\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/closetag.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Close-Tag Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/edit/closetag.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/css/css.js\"></script>\n<script src=\"../mode/htmlmixed/htmlmixed.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid #888; border-bottom: 1px solid #888;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Close-Tag</a>\n  </ul>\n</div>\n\n<article>\n<h2>Close-Tag Demo</h2>\n<form><textarea id=\"code\" name=\"code\"><html</textarea></form>\n\n    <script type=\"text/javascript\">\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'text/html',\n        autoCloseTags: true\n      });\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/complete.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Autocomplete Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/hint/show-hint.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/hint/show-hint.js\"></script>\n<script src=\"../addon/hint/javascript-hint.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Autocomplete</a>\n  </ul>\n</div>\n\n<article>\n<h2>Autocomplete Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\nfunction getCompletions(token, context) {\n  var found = [], start = token.string;\n  function maybeAdd(str) {\n    if (str.indexOf(start) == 0) found.push(str);\n  }\n  function gatherCompletions(obj) {\n    if (typeof obj == \"string\") forEach(stringProps, maybeAdd);\n    else if (obj instanceof Array) forEach(arrayProps, maybeAdd);\n    else if (obj instanceof Function) forEach(funcProps, maybeAdd);\n    for (var name in obj) maybeAdd(name);\n  }\n\n  if (context) {\n    // If this is a property, see if it belongs to some object we can\n    // find in the current environment.\n    var obj = context.pop(), base;\n    if (obj.className == \"js-variable\")\n      base = window[obj.string];\n    else if (obj.className == \"js-string\")\n      base = \"\";\n    else if (obj.className == \"js-atom\")\n      base = 1;\n    while (base != null && context.length)\n      base = base[context.pop().string];\n    if (base != null) gatherCompletions(base);\n  }\n  else {\n    // If not, just look in the window object and any local scope\n    // (reading into JS mode internals to get at the local variables)\n    for (var v = token.state.localVars; v; v = v.next) maybeAdd(v.name);\n    gatherCompletions(window);\n    forEach(keywords, maybeAdd);\n  }\n  return found;\n}\n</textarea></form>\n\n<p>Press <strong>ctrl-space</strong> to activate autocompletion. Built\non top of the <a href=\"../doc/manual.html#addon_show-hint\"><code>show-hint</code></a>\nand <a href=\"../doc/manual.html#addon_javascript-hint\"><code>javascript-hint</code></a>\naddons.</p>\n\n    <script>\n      CodeMirror.commands.autocomplete = function(cm) {\n        CodeMirror.showHint(cm, CodeMirror.hint.javascript);\n      };\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        extraKeys: {\"Ctrl-Space\": \"autocomplete\"}\n      });\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/emacs.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Emacs bindings demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/dialog/dialog.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/clike/clike.js\"></script>\n<script src=\"../keymap/emacs.js\"></script>\n<script src=\"../addon/edit/matchbrackets.js\"></script>\n<script src=\"../addon/comment/comment.js\"></script>\n<script src=\"../addon/dialog/dialog.js\"></script>\n<script src=\"../addon/search/searchcursor.js\"></script>\n<script src=\"../addon/search/search.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid #eee; border-bottom: 1px solid #eee;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Emacs bindings</a>\n  </ul>\n</div>\n\n<article>\n<h2>Emacs bindings demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n#include \"syscalls.h\"\n/* getchar:  simple buffered version */\nint getchar(void)\n{\n  static char buf[BUFSIZ];\n  static char *bufp = buf;\n  static int n = 0;\n  if (n == 0) {  /* buffer is empty */\n    n = read(0, buf, sizeof buf);\n    bufp = buf;\n  }\n  return (--n >= 0) ? (unsigned char) *bufp++ : EOF;\n}\n</textarea></form>\n\n<p>The emacs keybindings are enabled by\nincluding <a href=\"../keymap/emacs.js\">keymap/emacs.js</a> and setting\nthe <code>keyMap</code> option to <code>\"emacs\"</code>. Because\nCodeMirror's internal API is quite different from Emacs, they are only\na loose approximation of actual emacs bindings, though.</p>\n\n<p>Also note that a lot of browsers disallow certain keys from being\ncaptured. For example, Chrome blocks both Ctrl-W and Ctrl-N, with the\nresult that idiomatic use of Emacs keys will constantly close your tab\nor open a new window.</p>\n\n    <script>\n      CodeMirror.commands.save = function() {\n        var elt = editor.getWrapperElement();\n        elt.style.background = \"#def\";\n        setTimeout(function() { elt.style.background = \"\"; }, 300);\n      };\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-csrc\",\n        keyMap: \"emacs\"\n      });\n    </script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/folding.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Code Folding Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/fold/foldgutter.css\" />\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/fold/foldcode.js\"></script>\n<script src=\"../addon/fold/foldgutter.js\"></script>\n<script src=\"../addon/fold/brace-fold.js\"></script>\n<script src=\"../addon/fold/xml-fold.js\"></script>\n<script src=\"../addon/fold/comment-fold.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Code Folding</a>\n  </ul>\n</div>\n\n<article>\n<h2>Code Folding Demo</h2>\n<form>\n      <div style=\"max-width: 50em; margin-bottom: 1em\">JavaScript:<br><textarea id=\"code\" name=\"code\"></textarea></div>\n      <div style=\"max-width: 50em\">HTML:<br><textarea id=\"code-html\" name=\"code-html\"></textarea></div>\n    </form>\n    <script id=\"script\">\n/*\n * Demonstration of code folding\n */\nwindow.onload = function() {\n  var te = document.getElementById(\"code\");\n  var sc = document.getElementById(\"script\");\n  te.value = (sc.textContent || sc.innerText || sc.innerHTML).replace(/^\\s*/, \"\");\n  sc.innerHTML = \"\";\n  var te_html = document.getElementById(\"code-html\");\n  te_html.value = \"<html>\\n  \" + document.documentElement.innerHTML + \"\\n</html>\";\n\n  window.editor = CodeMirror.fromTextArea(te, {\n    mode: \"javascript\",\n    lineNumbers: true,\n    lineWrapping: true,\n    extraKeys: {\"Ctrl-Q\": function(cm){ cm.foldCode(cm.getCursor()); }},\n    foldGutter: {\n    \trangeFinder: new CodeMirror.fold.combine(CodeMirror.fold.brace, CodeMirror.fold.comment)\n    },\n    gutters: [\"CodeMirror-linenumbers\", \"CodeMirror-foldgutter\"]\n  });\n  editor.foldCode(CodeMirror.Pos(8, 0));\n\n  window.editor_html = CodeMirror.fromTextArea(te_html, {\n    mode: \"text/html\",\n    lineNumbers: true,\n    lineWrapping: true,\n    extraKeys: {\"Ctrl-Q\": function(cm){ cm.foldCode(cm.getCursor()); }},\n    foldGutter: true,\n    gutters: [\"CodeMirror-linenumbers\", \"CodeMirror-foldgutter\"]\n  });\n  editor_html.foldCode(CodeMirror.Pos(13, 0));\n  editor_html.foldCode(CodeMirror.Pos(1, 0));\n};\n</script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/fullscreen.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Full Screen Editing</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/display/fullscreen.css\">\n<link rel=\"stylesheet\" href=\"../theme/night.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../addon/display/fullscreen.js\"></script>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Full Screen Editing</a>\n  </ul>\n</div>\n\n<article>\n<h2>Full Screen Editing</h2>\n<form><textarea id=\"code\" name=\"code\" rows=\"5\">\n  <dt id=\"option_indentWithTabs\"><code>indentWithTabs (boolean)</code></dt>\n  <dd>Whether, when indenting, the first N*8 spaces should be\n  replaced by N tabs. Default is false.</dd>\n\n  <dt id=\"option_tabMode\"><code>tabMode (string)</code></dt>\n  <dd>Determines what happens when the user presses the tab key.\n  Must be one of the following:\n    <dl>\n      <dt><code>\"classic\" (the default)</code></dt>\n      <dd>When nothing is selected, insert a tab. Otherwise,\n      behave like the <code>\"shift\"</code> mode. (When shift is\n      held, this behaves like the <code>\"indent\"</code> mode.)</dd>\n      <dt><code>\"shift\"</code></dt>\n      <dd>Indent all selected lines by\n      one <a href=\"#option_indentUnit\"><code>indentUnit</code></a>.\n      If shift was held while pressing tab, un-indent all selected\n      lines one unit.</dd>\n      <dt><code>\"indent\"</code></dt>\n      <dd>Indent the line the 'correctly', based on its syntactic\n      context. Only works if the\n      mode <a href=\"#indent\">supports</a> it.</dd>\n      <dt><code>\"default\"</code></dt>\n      <dd>Do not capture tab presses, let the browser apply its\n      default behaviour (which usually means it skips to the next\n      control).</dd>\n    </dl></dd>\n\n  <dt id=\"option_enterMode\"><code>enterMode (string)</code></dt>\n  <dd>Determines whether and how new lines are indented when the\n  enter key is pressed. The following modes are supported:\n    <dl>\n      <dt><code>\"indent\" (the default)</code></dt>\n      <dd>Use the mode's indentation rules to give the new line\n      the correct indentation.</dd>\n      <dt><code>\"keep\"</code></dt>\n      <dd>Indent the line the same as the previous line.</dd>\n      <dt><code>\"flat\"</code></dt>\n      <dd>Do not indent the new line.</dd>\n    </dl></dd>\n\n  <dt id=\"option_enterMode\"><code>enterMode (string)</code></dt>\n  <dd>Determines whether and how new lines are indented when the\n  enter key is pressed. The following modes are supported:\n    <dl>\n      <dt><code>\"indent\" (the default)</code></dt>\n      <dd>Use the mode's indentation rules to give the new line\n      the correct indentation.</dd>\n      <dt><code>\"keep\"</code></dt>\n      <dd>Indent the line the same as the previous line.</dd>\n      <dt><code>\"flat\"</code></dt>\n      <dd>Do not indent the new line.</dd>\n    </dl></dd>\n\n  <dt id=\"option_enterMode\"><code>enterMode (string)</code></dt>\n  <dd>Determines whether and how new lines are indented when the\n  enter key is pressed. The following modes are supported:\n    <dl>\n      <dt><code>\"indent\" (the default)</code></dt>\n      <dd>Use the mode's indentation rules to give the new line\n      the correct indentation.</dd>\n      <dt><code>\"keep\"</code></dt>\n      <dd>Indent the line the same as the previous line.</dd>\n      <dt><code>\"flat\"</code></dt>\n      <dd>Do not indent the new line.</dd>\n    </dl></dd>\n\n  <dt id=\"option_enterMode\"><code>enterMode (string)</code></dt>\n  <dd>Determines whether and how new lines are indented when the\n  enter key is pressed. The following modes are supported:\n    <dl>\n      <dt><code>\"indent\" (the default)</code></dt>\n      <dd>Use the mode's indentation rules to give the new line\n      the correct indentation.</dd>\n      <dt><code>\"keep\"</code></dt>\n      <dd>Indent the line the same as the previous line.</dd>\n      <dt><code>\"flat\"</code></dt>\n      <dd>Do not indent the new line.</dd>\n    </dl></dd>\n\n</textarea></form>\n  <script>\n    var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n      lineNumbers: true,\n      theme: \"night\",\n      extraKeys: {\n        \"F11\": function(cm) {\n          cm.setOption(\"fullScreen\", !cm.getOption(\"fullScreen\"));\n        },\n        \"Esc\": function(cm) {\n          if (cm.getOption(\"fullScreen\")) cm.setOption(\"fullScreen\", false);\n        }\n      }\n    });\n  </script>\n\n    <p>Demonstration of\n    the <a href=\"../doc/manual.html#addon_fullscreen\">fullscreen</a>\n    addon. Press <strong>F11</strong> when cursor is in the editor to\n    toggle full screen editing. <strong>Esc</strong> can also be used\n    to <i>exit</i> full screen editing.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/hardwrap.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Hard-wrapping Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/markdown/markdown.js\"></script>\n<script src=\"../addon/wrap/hardwrap.js\"></script>\n<style type=\"text/css\">\n  .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Hard-wrapping</a>\n  </ul>\n</div>\n\n<article>\n<h2>Hard-wrapping Demo</h2>\n<form><textarea id=\"code\" name=\"code\">Lorem ipsum dolor sit amet, vim augue dictas constituto ex,\nsit falli simul viderer te. Graeco scaevola maluisset sit\nut, in idque viris praesent sea. Ea sea eirmod indoctum\nrepudiare. Vel noluisse suscipit pericula ut. In ius nulla\nalienum molestie. Mei essent discere democritum id.\n\nEquidem ponderum expetendis ius in, mea an erroribus\nconstituto, congue timeam perfecto ad est. Ius ut primis\ntimeam, per in ullum mediocrem. An case vero labitur pri,\nvel dicit laoreet et. An qui prompta conclusionemque, eam\ntimeam sapientem in, cum dictas epicurei eu.\n\nUsu cu vide dictas deseruisse, eum choro graece adipiscing\nut. Cibo qualisque ius ad, et dicat scripta mea, eam nihil\nmentitum aliquando cu. Debet aperiam splendide at quo, ad\npaulo nostro commodo duo. Sea adhuc utinam conclusionemque\nid, quas doming malorum nec ad. Tollit eruditi vivendum ad\nius, eos soleat ignota ad.\n</textarea></form>\n\n<p>Demonstration of\nthe <a href=\"../doc/manual.html#addon_hardwrap\">hardwrap</a> addon.\nThe above editor has its change event hooked up to\nthe <code>wrapParagraphsInRange</code> method, so that the paragraphs\nare reflown as you are typing.</p>\n\n<script>\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  mode: \"markdown\",\n  lineNumbers: true\n});\nvar wait, options = {column: 60};\neditor.on(\"change\", function(cm, change) {\n  clearTimeout(wait);\n  wait = setTimeout(function() {\n    cm.wrapParagraphsInRange(change.from, CodeMirror.changeEnd(change), options);\n  }, 200);\n});\n</script>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/html5complete.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: HTML completion demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/hint/show-hint.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/hint/show-hint.js\"></script>\n<script src=\"../addon/hint/xml-hint.js\"></script>\n<script src=\"../addon/hint/html-hint.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/css/css.js\"></script>\n<script src=\"../mode/htmlmixed/htmlmixed.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid #888; border-bottom: 1px solid #888;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">HTML completion</a>\n  </ul>\n</div>\n\n<article>\n<h2>HTML completion demo</h2>\n\n    <p>Shows the <a href=\"xmlcomplete.html\">XML completer</a>\n    parameterized with information about the tags in HTML.\n    Press <strong>ctrl-space</strong> to activate completion.</p>\n\n    <div id=\"code\"></div>\n\n    <script type=\"text/javascript\">\n      CodeMirror.commands.autocomplete = function(cm) {\n          CodeMirror.showHint(cm, CodeMirror.hint.html);\n      }\n      window.onload = function() {\n        editor = CodeMirror(document.getElementById(\"code\"), {\n          mode: \"text/html\",\n          extraKeys: {\"Ctrl-Space\": \"autocomplete\"},\n          value: \"<!doctype html>\\n<html>\\n  \" + document.documentElement.innerHTML + \"\\n</html>\"\n        });\n      };\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/indentwrap.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Indented wrapped line demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Indented wrapped line</a>\n  </ul>\n</div>\n\n<article>\n<h2>Indented wrapped line demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n<!doctype html>\n<body>\n  <h2 id=\"overview\">Overview</h2>\n\n  <p>CodeMirror is a code-editor component that can be embedded in Web pages. The core library provides <em>only</em> the editor component, no accompanying buttons, auto-completion, or other IDE functionality. It does provide a rich API on top of which such functionality can be straightforwardly implemented. See the <a href=\"#addons\">add-ons</a> included in the distribution, and the <a href=\"https://github.com/jagthedrummer/codemirror-ui\">CodeMirror UI</a> project, for reusable implementations of extra features.</p>\n\n  <p>CodeMirror works with language-specific modes. Modes are JavaScript programs that help color (and optionally indent) text written in a given language. The distribution comes with a number of modes (see the <a href=\"../mode/\"><code>mode/</code></a> directory), and it isn't hard to <a href=\"#modeapi\">write new ones</a> for other languages.</p>\n</body>\n</textarea></form>\n\n    <p>This page uses a hack on top of the <code>\"renderLine\"</code>\n    event to make wrapped text line up with the base indentation of\n    the line.</p>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        lineWrapping: true,\n        mode: \"text/html\"\n      });\n      var charWidth = editor.defaultCharWidth(), basePadding = 4;\n      editor.on(\"renderLine\", function(cm, line, elt) {\n        var off = CodeMirror.countColumn(line.text, null, cm.getOption(\"tabSize\")) * charWidth;\n        elt.style.textIndent = \"-\" + off + \"px\";\n        elt.style.paddingLeft = (basePadding + off) + \"px\";\n      });\n      editor.refresh();\n    </script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/lint.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Linter Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/lint/lint.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/css/css.js\"></script>\n<script src=\"http://ajax.aspnetcdn.com/ajax/jshint/r07/jshint.js\"></script>\n<script src=\"https://rawgithub.com/zaach/jsonlint/79b553fb65c192add9066da64043458981b3972b/lib/jsonlint.js\"></script>\n<script src=\"https://rawgithub.com/stubbornella/csslint/master/release/csslint.js\"></script>\n<script src=\"../addon/lint/lint.js\"></script>\n<script src=\"../addon/lint/javascript-lint.js\"></script>\n<script src=\"../addon/lint/json-lint.js\"></script>\n<script src=\"../addon/lint/css-lint.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border: 1px solid black;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Linter</a>\n  </ul>\n</div>\n\n<article>\n<h2>Linter Demo</h2>\n\n\n    <p><textarea id=\"code-js\">var widgets = []\nfunction updateHints() {\n  editor.operation(function(){\n    for (var i = 0; i < widgets.length; ++i)\n      editor.removeLineWidget(widgets[i]);\n    widgets.length = 0;\n\n    JSHINT(editor.getValue());\n    for (var i = 0; i < JSHINT.errors.length; ++i) {\n      var err = JSHINT.errors[i];\n      if (!err) continue;\n      var msg = document.createElement(\"div\");\n      var icon = msg.appendChild(document.createElement(\"span\"));\n      icon.innerHTML = \"!!\";\n      icon.className = \"lint-error-icon\";\n      msg.appendChild(document.createTextNode(err.reason));\n      msg.className = \"lint-error\";\n      widgets.push(editor.addLineWidget(err.line - 1, msg, {coverGutter: false, noHScroll: true}));\n    }\n  });\n  var info = editor.getScrollInfo();\n  var after = editor.charCoords({line: editor.getCursor().line + 1, ch: 0}, \"local\").top;\n  if (info.top + info.clientHeight < after)\n    editor.scrollTo(null, after - info.clientHeight + 3);\n}\n</textarea></p>\n\n    <p><textarea id=\"code-json\">[\n {\n  _id: \"post 1\",\n  \"author\": \"Bob\",\n  \"content\": \"...\",\n  \"page_views\": 5\n },\n {\n  \"_id\": \"post 2\",\n  \"author\": \"Bob\",\n  \"content\": \"...\",\n  \"page_views\": 9\n },\n {\n  \"_id\": \"post 3\",\n  \"author\": \"Bob\",\n  \"content\": \"...\",\n  \"page_views\": 8\n }\n]\n</textarea></p>\n\n    <p><textarea id=\"code-css\">@charset \"UTF-8\";\n\n@import url(\"booya.css\") print, screen;\n@import \"whatup.css\" screen;\n@import \"wicked.css\";\n\n/*Error*/\n@charset \"UTF-8\";\n\n\n@namespace \"http://www.w3.org/1999/xhtml\";\n@namespace svg \"http://www.w3.org/2000/svg\";\n\n/*Warning: empty ruleset */\n.foo {\n}\n\nh1 {\n    font-weight: bold;\n}\n\n/*Warning: qualified heading */\n.foo h1 {\n    font-weight: bold;\n}\n\n/*Warning: adjoining classes */\n.foo.bar {\n    zoom: 1;\n}\n\nli.inline {\n    width: 100%;  /*Warning: 100% can be problematic*/\n}\n\nli.last {\n  display: inline;\n  padding-left: 3px !important;\n  padding-right: 3px;\n  border-right: 0px;\n}\n\n@media print {\n    li.inline {\n      color: black;\n    }\n}\n\n@page {\n  margin: 10%;\n  counter-increment: page;\n\n  @top-center {\n    font-family: sans-serif;\n    font-weight: bold;\n    font-size: 2em;\n    content: counter(page);\n  }\n}\n</textarea></p>\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById(\"code-js\"), {\n    lineNumbers: true,\n    mode: \"javascript\",\n    gutters: [\"CodeMirror-lint-markers\"],\n    lint: true\n  });\n\n  var editor_json = CodeMirror.fromTextArea(document.getElementById(\"code-json\"), {\n    lineNumbers: true,\n    mode: \"application/json\",\n    gutters: [\"CodeMirror-lint-markers\"],\n    lint: true\n  });\n  \n  var editor_css = CodeMirror.fromTextArea(document.getElementById(\"code-css\"), {\n    lineNumbers: true,\n    mode: \"css\",\n    gutters: [\"CodeMirror-lint-markers\"],\n    lint: true\n  });\n</script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/loadmode.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Lazy Mode Loading Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/mode/loadmode.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Lazy Mode Loading</a>\n  </ul>\n</div>\n\n<article>\n<h2>Lazy Mode Loading Demo</h2>\n<form><textarea id=\"code\" name=\"code\">This is the editor.\n// It starts out in plain text mode,\n#  use the control below to load and apply a mode\n  \"you'll see the highlighting of\" this text /*change*/.\n</textarea></form>\n<p><input type=text value=javascript id=mode> <button type=button onclick=\"change()\">change mode</button></p>\n\n    <script>\nCodeMirror.modeURL = \"../mode/%N/%N.js\";\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  lineNumbers: true\n});\nvar modeInput = document.getElementById(\"mode\");\nCodeMirror.on(modeInput, \"keypress\", function(e) {\n  if (e.keyCode == 13) change();\n});\nfunction change() {\n   editor.setOption(\"mode\", modeInput.value);\n   CodeMirror.autoLoadMode(editor, modeInput.value);\n}\n</script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/marker.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Breakpoint Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<style type=\"text/css\">\n      .breakpoints {width: .8em;}\n      .breakpoint { color: #822; }\n      .CodeMirror {border: 1px solid #aaa;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Breakpoint</a>\n  </ul>\n</div>\n\n<article>\n<h2>Breakpoint Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  lineNumbers: true,\n  gutters: [\"CodeMirror-linenumbers\", \"breakpoints\"]\n});\neditor.on(\"gutterClick\", function(cm, n) {\n  var info = cm.lineInfo(n);\n  cm.setGutterMarker(n, \"breakpoints\", info.gutterMarkers ? null : makeMarker());\n});\n\nfunction makeMarker() {\n  var marker = document.createElement(\"div\");\n  marker.style.color = \"#822\";\n  marker.innerHTML = \"●\";\n  return marker;\n}\n</textarea></form>\n\n<p>Click the line-number gutter to add or remove 'breakpoints'.</p>\n\n    <script>eval(document.getElementById(\"code\").value);</script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/markselection.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Match Selection Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/search/searchcursor.js\"></script>\n<script src=\"../addon/selection/mark-selection.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .CodeMirror-selected  { background-color: blue !important; }\n      .CodeMirror-selectedtext { color: white; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Match Selection</a>\n  </ul>\n</div>\n\n<article>\n<h2>Match Selection Demo</h2>\n<form><textarea id=\"code\" name=\"code\">Select something from here.\nYou'll see that the selection's foreground color changes to white!\nSince, by default, CodeMirror only puts an independent \"marker\" layer\nbehind the text, you'll need something like this to change its colour.</textarea></form>\n\n    <script>\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  lineNumbers: true,\n  styleSelectedText: true\n});\n</script>\n\n    <p>Simple addon to easily mark (and style) selected text.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/matchhighlighter.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Match Highlighter Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/search/searchcursor.js\"></script>\n<script src=\"../addon/search/match-highlighter.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .CodeMirror-focused .cm-matchhighlight {\n        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);\n        background-position: bottom;\n        background-repeat: repeat-x;\n      }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Match Highlighter</a>\n  </ul>\n</div>\n\n<article>\n<h2>Match Highlighter Demo</h2>\n<form><textarea id=\"code\" name=\"code\">Select this text: hardToSpotVar\n\tAnd everywhere else in your code where hardToSpotVar appears will automatically illuminate.\nGive it a try!  No more hardToSpotVars.</textarea></form>\n\n    <script>\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  lineNumbers: true,\n  highlightSelectionMatches: {showToken: /\\w/}\n});\n</script>\n\n    <p>Search and highlight occurences of the selected text.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/matchtags.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Tag Matcher Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/fold/xml-fold.js\"></script>\n<script src=\"../addon/edit/matchtags.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Tag Matcher</a>\n  </ul>\n</div>\n\n<article>\n<h2>Tag Matcher Demo</h2>\n\n\n    <div id=\"editor\"></div>\n\n    <script>\nwindow.onload = function() {\n  editor = CodeMirror(document.getElementById(\"editor\"), {\n    value: \"<html>\\n  \" + document.documentElement.innerHTML + \"\\n</html>\",\n    mode: \"text/html\",\n    matchTags: {bothTags: true},\n    extraKeys: {\"Ctrl-J\": \"toMatchingTag\"}\n  });\n};\n    </script>\n\n    <p>Put the cursor on or inside a pair of tags to highlight them.\n    Press Ctrl-J to jump to the tag that matches the one under the\n    cursor.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/merge.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: merge view demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=stylesheet href=\"../lib/codemirror.css\">\n<link rel=stylesheet href=\"../addon/merge/merge.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../addon/merge/dep/diff_match_patch.js\"></script>\n<script src=\"../addon/merge/merge.js\"></script>\n<style>\n    .CodeMirror { line-height: 1.2; }\n    body { max-width: 80em; }\n    span.clicky {\n      cursor: pointer;\n      background: #d70;\n      color: white;\n      padding: 0 3px;\n      border-radius: 3px;\n    }\n  </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">merge view</a>\n  </ul>\n</div>\n\n<article>\n<h2>merge view demo</h2>\n\n\n<div id=view></div>\n\n<p>The <a href=\"../doc/manual.html#addon_merge\"><code>merge</code></a>\naddon provides an interface for displaying and merging diffs,\neither <span class=clicky onclick=\"initUI(2)\">two-way</span>\nor <span class=clicky onclick=\"initUI(3)\">three-way</span>. The left\n(or center) pane is editable, and the differences with the other\npane(s) are <span class=clicky onclick=\"toggleDifferences()\">optionally</span> shown live as you edit it.</p>\n\n<p>This addon depends on\nthe <a href=\"https://code.google.com/p/google-diff-match-patch/\">google-diff-match-patch</a>\nlibrary to compute the diffs.</p>\n\n<script>\nvar value, orig1, orig2, dv, hilight= true;\nfunction initUI(panes) {\n  if (value == null) return;\n  var target = document.getElementById(\"view\");\n  target.innerHTML = \"\";\n  dv = CodeMirror.MergeView(target, {\n    value: value,\n    origLeft: panes == 3 ? orig1 : null,\n    orig: orig2,\n    lineNumbers: true,\n    mode: \"text/html\",\n    highlightDifferences: hilight\n  });\n}\n\nfunction toggleDifferences() {\n  dv.setShowDifferences(hilight = !hilight);\n}\n\nwindow.onload = function() {\n  value = document.documentElement.innerHTML;\n  orig1 = value.replace(/\\.\\.\\//g, \"codemirror/\").replace(\"yellow\", \"orange\");\n  orig2 = value.replace(/\\u003cscript/g, \"\\u003cscript type=text/javascript \")\n    .replace(\"white\", \"purple;\\n      font: comic sans;\\n      text-decoration: underline;\\n      height: 15em\");\n  initUI(2);\n};\n</script>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/multiplex.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Multiplexing Parser Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/mode/multiplex.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border: 1px solid black;}\n      .cm-delimit {color: #fa4;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Multiplexing Parser</a>\n  </ul>\n</div>\n\n<article>\n<h2>Multiplexing Parser Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n<html>\n  <body style=\"<<magic>>\">\n    <h1><< this is not <html >></h1>\n    <<\n        multiline\n        not html\n        at all : &amp;amp; <link/>\n    >>\n    <p>this is html again</p>\n  </body>\n</html>\n</textarea></form>\n\n    <script>\nCodeMirror.defineMode(\"demo\", function(config) {\n  return CodeMirror.multiplexingMode(\n    CodeMirror.getMode(config, \"text/html\"),\n    {open: \"<<\", close: \">>\",\n     mode: CodeMirror.getMode(config, \"text/plain\"),\n     delimStyle: \"delimit\"}\n    // .. more multiplexed styles can follow here\n  );\n});\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  mode: \"demo\",\n  lineNumbers: true,\n  lineWrapping: true\n});\n</script>\n\n    <p>Demonstration of a multiplexing mode, which, at certain\n    boundary strings, switches to one or more inner modes. The out\n    (HTML) mode does not get fed the content of the <code>&lt;&lt;\n    >></code> blocks. See\n    the <a href=\"../doc/manual.html#addon_multiplex\">manual</a> and\n    the <a href=\"../addon/mode/multiplex.js\">source</a> for more\n    information.</p>\n\n    <p>\n      <strong>Parsing/Highlighting Tests:</strong>\n      <a href=\"../test/index.html#multiplexing_*\">normal</a>,\n      <a href=\"../test/index.html#verbose,multiplexing_*\">verbose</a>.\n    </p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/mustache.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Overlay Parser Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/mode/overlay.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border: 1px solid black;}\n      .cm-mustache {color: #0ca;}\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Overlay Parser</a>\n  </ul>\n</div>\n\n<article>\n<h2>Overlay Parser Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n<html>\n  <body>\n    <h1>{{title}}</h1>\n    <p>These are links to {{things}}:</p>\n    <ul>{{#links}}\n      <li><a href=\"{{url}}\">{{text}}</a></li>\n    {{/links}}</ul>\n  </body>\n</html>\n</textarea></form>\n\n    <script>\nCodeMirror.defineMode(\"mustache\", function(config, parserConfig) {\n  var mustacheOverlay = {\n    token: function(stream, state) {\n      var ch;\n      if (stream.match(\"{{\")) {\n        while ((ch = stream.next()) != null)\n          if (ch == \"}\" && stream.next() == \"}\") break;\n        stream.eat(\"}\");\n        return \"mustache\";\n      }\n      while (stream.next() != null && !stream.match(\"{{\", false)) {}\n      return null;\n    }\n  };\n  return CodeMirror.overlayMode(CodeMirror.getMode(config, parserConfig.backdrop || \"text/html\"), mustacheOverlay);\n});\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {mode: \"mustache\"});\n</script>\n\n    <p>Demonstration of a mode that parses HTML, highlighting\n    the <a href=\"http://mustache.github.com/\">Mustache</a> templating\n    directives inside of it by using the code\n    in <a href=\"../addon/mode/overlay.js\"><code>overlay.js</code></a>. View\n    source to see the 15 lines of code needed to accomplish this.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/placeholder.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Placeholder demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/display/placeholder.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror { border: 1px solid silver; }\n      .CodeMirror-empty { outline: 1px solid #c22; }\n      .CodeMirror-empty.CodeMirror-focused { outline: none; }\n      .CodeMirror pre.CodeMirror-placeholder { color: #999; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Placeholder</a>\n  </ul>\n</div>\n\n<article>\n<h2>Placeholder demo</h2>\n<form><textarea id=\"code\" name=\"code\" placeholder=\"Code goes here...\"></textarea></form>\n\n    <p>The <a href=\"../doc/manual.html#addon_placeholder\">placeholder</a>\n    plug-in adds an option <code>placeholder</code> that can be set to\n    make text appear in the editor when it is empty and not focused.\n    If the source textarea has a <code>placeholder</code> attribute,\n    it will automatically be inherited.</p>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true\n      });\n    </script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/preview.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: HTML5 preview</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=stylesheet href=../lib/codemirror.css>\n<script src=../lib/codemirror.js></script>\n<script src=../mode/xml/xml.js></script>\n<script src=../mode/javascript/javascript.js></script>\n<script src=../mode/css/css.js></script>\n<script src=../mode/htmlmixed/htmlmixed.js></script>\n<style type=text/css>\n      .CodeMirror {\n        float: left;\n        width: 50%;\n        border: 1px solid black;\n      }\n      iframe {\n        width: 49%;\n        float: left;\n        height: 300px;\n        border: 1px solid black;\n        border-left: 0px;\n      }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">HTML5 preview</a>\n  </ul>\n</div>\n\n<article>\n<h2>HTML5 preview</h2>\n\n    <textarea id=code name=code>\n<!doctype html>\n<html>\n  <head>\n    <meta charset=utf-8>\n    <title>HTML5 canvas demo</title>\n    <style>p {font-family: monospace;}</style>\n  </head>\n  <body>\n    <p>Canvas pane goes here:</p>\n    <canvas id=pane width=300 height=200></canvas>\n    <script>\n      var canvas = document.getElementById('pane');\n      var context = canvas.getContext('2d');\n\n      context.fillStyle = 'rgb(250,0,0)';\n      context.fillRect(10, 10, 55, 50);\n\n      context.fillStyle = 'rgba(0, 0, 250, 0.5)';\n      context.fillRect(30, 30, 55, 50);\n    </script>\n  </body>\n</html></textarea>\n    <iframe id=preview></iframe>\n    <script>\n      var delay;\n      // Initialize CodeMirror editor with a nice html5 canvas demo.\n      var editor = CodeMirror.fromTextArea(document.getElementById('code'), {\n        mode: 'text/html',\n        tabMode: 'indent'\n      });\n      editor.on(\"change\", function() {\n        clearTimeout(delay);\n        delay = setTimeout(updatePreview, 300);\n      });\n      \n      function updatePreview() {\n        var previewFrame = document.getElementById('preview');\n        var preview =  previewFrame.contentDocument ||  previewFrame.contentWindow.document;\n        preview.open();\n        preview.write(editor.getValue());\n        preview.close();\n      }\n      setTimeout(updatePreview, 300);\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/resize.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Autoresize Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/css/css.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {\n        border: 1px solid #eee;\n        height: auto;\n      }\n      .CodeMirror-scroll {\n        overflow-y: hidden;\n        overflow-x: auto;\n      }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Autoresize</a>\n  </ul>\n</div>\n\n<article>\n<h2>Autoresize Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n.CodeMirror {\n  border: 1px solid #eee;\n  height: auto;\n}\n.CodeMirror-scroll {\n  overflow-y: hidden;\n  overflow-x: auto;\n}\n</textarea></form>\n\n<p>By setting a few CSS properties, and giving\nthe <a href=\"../doc/manual.html#option_viewportMargin\"><code>viewportMargin</code></a>\na value of <code>Infinity</code>, CodeMirror can be made to\nautomatically resize to fit its content.</p>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        viewportMargin: Infinity\n      });\n    </script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/runmode.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Mode Runner Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/runmode/runmode.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Mode Runner</a>\n  </ul>\n</div>\n\n<article>\n<h2>Mode Runner Demo</h2>\n\n\n    <textarea id=\"code\" style=\"width: 90%; height: 7em; border: 1px solid black; padding: .2em .4em;\">\n<foobar>\n  <blah>Enter your xml here and press the button below to display\n    it as highlighted by the CodeMirror XML mode</blah>\n  <tag2 foo=\"2\" bar=\"&amp;quot;bar&amp;quot;\"/>\n</foobar></textarea><br>\n    <button onclick=\"doHighlight();\">Highlight!</button>\n    <pre id=\"output\" class=\"cm-s-default\"></pre>\n\n    <script>\nfunction doHighlight() {\n  CodeMirror.runMode(document.getElementById(\"code\").value, \"application/xml\",\n                     document.getElementById(\"output\"));\n}\n</script>\n\n    <p>Running a CodeMirror mode outside of the editor.\n    The <code>CodeMirror.runMode</code> function, defined\n    in <code><a href=\"../addon/runmode/runmode.js\">lib/runmode.js</a></code> takes the following arguments:</p>\n\n    <dl>\n      <dt><code>text (string)</code></dt>\n      <dd>The document to run through the highlighter.</dd>\n      <dt><code>mode (<a href=\"../doc/manual.html#option_mode\">mode spec</a>)</code></dt>\n      <dd>The mode to use (must be loaded as normal).</dd>\n      <dt><code>output (function or DOM node)</code></dt>\n      <dd>If this is a function, it will be called for each token with\n      two arguments, the token's text and the token's style class (may\n      be <code>null</code> for unstyled tokens). If it is a DOM node,\n      the tokens will be converted to <code>span</code> elements as in\n      an editor, and inserted into the node\n      (through <code>innerHTML</code>).</dd>\n    </dl>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/search.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Search/Replace Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/dialog/dialog.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../addon/dialog/dialog.js\"></script>\n<script src=\"../addon/search/searchcursor.js\"></script>\n<script src=\"../addon/search/search.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      dt {font-family: monospace; color: #666;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Search/Replace</a>\n  </ul>\n</div>\n\n<article>\n<h2>Search/Replace Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n  <dt id=\"option_indentWithTabs\"><code>indentWithTabs (boolean)</code></dt>\n  <dd>Whether, when indenting, the first N*8 spaces should be\n  replaced by N tabs. Default is false.</dd>\n\n  <dt id=\"option_tabMode\"><code>tabMode (string)</code></dt>\n  <dd>Determines what happens when the user presses the tab key.\n  Must be one of the following:\n    <dl>\n      <dt><code>\"classic\" (the default)</code></dt>\n      <dd>When nothing is selected, insert a tab. Otherwise,\n      behave like the <code>\"shift\"</code> mode. (When shift is\n      held, this behaves like the <code>\"indent\"</code> mode.)</dd>\n      <dt><code>\"shift\"</code></dt>\n      <dd>Indent all selected lines by\n      one <a href=\"#option_indentUnit\"><code>indentUnit</code></a>.\n      If shift was held while pressing tab, un-indent all selected\n      lines one unit.</dd>\n      <dt><code>\"indent\"</code></dt>\n      <dd>Indent the line the 'correctly', based on its syntactic\n      context. Only works if the\n      mode <a href=\"#indent\">supports</a> it.</dd>\n      <dt><code>\"default\"</code></dt>\n      <dd>Do not capture tab presses, let the browser apply its\n      default behaviour (which usually means it skips to the next\n      control).</dd>\n    </dl></dd>\n\n  <dt id=\"option_enterMode\"><code>enterMode (string)</code></dt>\n  <dd>Determines whether and how new lines are indented when the\n  enter key is pressed. The following modes are supported:\n    <dl>\n      <dt><code>\"indent\" (the default)</code></dt>\n      <dd>Use the mode's indentation rules to give the new line\n      the correct indentation.</dd>\n      <dt><code>\"keep\"</code></dt>\n      <dd>Indent the line the same as the previous line.</dd>\n      <dt><code>\"flat\"</code></dt>\n      <dd>Do not indent the new line.</dd>\n    </dl></dd>\n</textarea></form>\n\n    <script>\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {mode: \"text/html\", lineNumbers: true});\n</script>\n\n    <p>Demonstration of primitive search/replace functionality. The\n    keybindings (which can be overridden by custom keymaps) are:</p>\n    <dl>\n      <dt>Ctrl-F / Cmd-F</dt><dd>Start searching</dd>\n      <dt>Ctrl-G / Cmd-G</dt><dd>Find next</dd>\n      <dt>Shift-Ctrl-G / Shift-Cmd-G</dt><dd>Find previous</dd>\n      <dt>Shift-Ctrl-F / Cmd-Option-F</dt><dd>Replace</dd>\n      <dt>Shift-Ctrl-R / Shift-Cmd-Option-F</dt><dd>Replace all</dd>\n    </dl>\n    <p>Searching is enabled by\n    including <a href=\"../addon/search/search.js\">addon/search/search.js</a>\n    and <a href=\"../addon/search/searchcursor.js\">addon/search/searchcursor.js</a>.\n    For good-looking input dialogs, you also want to include\n    <a href=\"../addon/dialog/dialog.js\">addon/dialog/dialog.js</a>\n    and <a href=\"../addon/dialog/dialog.css\">addon/dialog/dialog.css</a>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/spanaffectswrapping_shim.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Automatically derive odd wrapping behavior for your browser</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Automatically derive odd wrapping behavior for your browser</a>\n  </ul>\n</div>\n\n<article>\n<h2>Automatically derive odd wrapping behavior for your browser</h2>\n\n\n    <p>This is a hack to automatically derive\n    a <code>spanAffectsWrapping</code> regexp for a browser. See the\n    comments above that variable\n    in <a href=\"../lib/codemirror.js\"><code>lib/codemirror.js</code></a>\n    for some more details.</p>\n\n    <div style=\"white-space: pre-wrap; width: 50px;\" id=\"area\"></div>\n    <pre id=\"output\"></pre>\n\n    <script id=\"script\">\n      var a = document.getElementById(\"area\"), bad = Object.create(null);\n      var chars = \"a~`!@#$%^&*()-_=+}{[]\\\\|'\\\"/?.>,<:;\", l = chars.length;\n      for (var x = 0; x < l; ++x) for (var y = 0; y < l; ++y) {\n        var s1 = \"foooo\" + chars.charAt(x), s2 = chars.charAt(y) + \"br\";\n        a.appendChild(document.createTextNode(s1 + s2));\n        var h1 = a.offsetHeight;\n        a.innerHTML = \"\";\n        a.appendChild(document.createElement(\"span\")).appendChild(document.createTextNode(s1));\n        a.appendChild(document.createElement(\"span\")).appendChild(document.createTextNode(s2));\n        if (a.offsetHeight != h1)\n          bad[chars.charAt(x)] = (bad[chars.charAt(x)] || \"\") + chars.charAt(y);\n        a.innerHTML = \"\";\n      }\n\n      var re = \"\";\n      function toREElt(str) {\n        if (str.length > 1) {\n          var invert = false;\n          if (str.length > chars.length * .6) {\n            invert = true;\n            var newStr = \"\";\n            for (var i = 0; i < l; ++i) if (str.indexOf(chars.charAt(i)) == -1) newStr += chars.charAt(i);\n            str = newStr;\n          }\n          str = str.replace(/[\\-\\.\\]\\\"\\'\\\\\\/\\^a]/g, function(orig) { return orig == \"a\" ? \"\\\\w\" : \"\\\\\" + orig; });\n          return \"[\" + (invert ? \"^\" : \"\") + str + \"]\";\n        } else if (str == \"a\") {\n          return \"\\\\w\";\n        } else if (/[?$*()+{}[\\]\\.|/\\'\\\"]/.test(str)) {\n          return \"\\\\\" + str;\n        } else {\n          return str;\n        }\n      }\n\n      var newRE = \"\";\n      for (;;) {\n        var left = null;\n        for (var left in bad) break;\n        if (left == null) break;\n        var right = bad[left];\n        delete bad[left];\n        for (var other in bad) if (bad[other] == right) {\n          left += other;\n          delete bad[other];\n        }\n        newRE += (newRE ? \"|\" : \"\") + toREElt(left) + toREElt(right);\n      }\n\n      document.getElementById(\"output\").appendChild(document.createTextNode(\"Your regexp is: \" + (newRE || \"^$\")));\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/tern.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Tern Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/dialog/dialog.css\">\n<link rel=\"stylesheet\" href=\"../addon/hint/show-hint.css\">\n<link rel=\"stylesheet\" href=\"../addon/tern/tern.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../addon/dialog/dialog.js\"></script>\n<script src=\"../addon/hint/show-hint.js\"></script>\n<script src=\"../addon/tern/tern.js\"></script>\n<script src=\"http://marijnhaverbeke.nl/acorn/acorn.js\"></script>\n<script src=\"http://marijnhaverbeke.nl/acorn/acorn_loose.js\"></script>\n<script src=\"http://marijnhaverbeke.nl/acorn/util/walk.js\"></script>\n<script src=\"http://ternjs.net/doc/demo/polyfill.js\"></script>\n<script src=\"http://ternjs.net/lib/signal.js\"></script>\n<script src=\"http://ternjs.net/lib/tern.js\"></script>\n<script src=\"http://ternjs.net/lib/def.js\"></script>\n<script src=\"http://ternjs.net/lib/comment.js\"></script>\n<script src=\"http://ternjs.net/lib/infer.js\"></script>\n<script src=\"http://ternjs.net/plugin/doc_comment.js\"></script>\n<style>\n      .CodeMirror {border: 1px solid #ddd;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Tern</a>\n  </ul>\n</div>\n\n<article>\n<h2>Tern Demo</h2>\n<form><textarea id=\"code\" name=\"code\">// Use ctrl-space to complete something\n// Put the cursor in or after an expression, press ctrl-i to\n// find its type\n\nvar foo = [\"array\", \"of\", \"strings\"];\nvar bar = foo.slice(0, 2).join(\"\").split(\"a\")[0];\n\n// Works for locally defined types too.\n\nfunction CTor() { this.size = 10; }\nCTor.prototype.hallo = \"hallo\";\n\nvar baz = new CTor;\nbaz.\n\n// You can press ctrl-q when the cursor is on a variable name to\n// rename it. Try it with CTor...\n\n// When the cursor is in an argument list, the arguments are\n// shown below the editor.\n\n[1].reduce(  );\n\n// And a little more advanced code...\n\n(function(exports) {\n  exports.randomElt = function(arr) {\n    return arr[Math.floor(arr.length * Math.random())];\n  };\n  exports.strList = \"foo\".split(\"\");\n  exports.intList = exports.strList.map(function(s) { return s.charCodeAt(0); });\n})(window.myMod = {});\n\nvar randomStr = myMod.randomElt(myMod.strList);\nvar randomInt = myMod.randomElt(myMod.intList);\n</textarea></p>\n\n<p>Demonstrates integration of <a href=\"http://ternjs.net/\">Tern</a>\nand CodeMirror. The following keys are bound:</p>\n\n<dl>\n  <dt>Ctrl-Space</dt><dd>Autocomplete</dd>\n  <dt>Ctrl-I</dt><dd>Find type at cursor</dd>\n  <dt>Alt-.</dt><dd>Jump to definition (Alt-, to jump back)</dd>\n  <dt>Ctrl-Q</dt><dd>Rename variable</dd>\n</dl>\n\n<p>Documentation is sparse for now. See the top of\nthe <a href=\"../addon/tern/tern.js\">script</a> for a rough API\noverview.</p>\n\n<script>\n  function getURL(url, c) {\n    var xhr = new XMLHttpRequest();\n    xhr.open(\"get\", url, true);\n    xhr.send();\n    xhr.onreadystatechange = function() {\n      if (xhr.readyState != 4) return;\n      if (xhr.status < 400) return c(null, xhr.responseText);\n      var e = new Error(xhr.responseText || \"No response\");\n      e.status = xhr.status;\n      c(e);\n    };\n  }\n\n  var server;\n  getURL(\"http://ternjs.net/defs/ecma5.json\", function(err, code) {\n    if (err) throw new Error(\"Request for ecma5.json: \" + err);\n    server = new CodeMirror.TernServer({defs: [JSON.parse(code)]});\n    editor.setOption(\"extraKeys\", {\n      \"Ctrl-Space\": function(cm) { server.complete(cm); },\n      \"Ctrl-I\": function(cm) { server.showType(cm); },\n      \"Alt-.\": function(cm) { server.jumpToDef(cm); },\n      \"Alt-,\": function(cm) { server.jumpBack(cm); },\n      \"Ctrl-Q\": function(cm) { server.rename(cm); },\n    })\n    editor.on(\"cursorActivity\", function(cm) { server.updateArgHints(cm); });\n  });\n\n  var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n    lineNumbers: true,\n    mode: \"javascript\"\n  });\n</script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/theme.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Theme Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../theme/3024-day.css\">\n<link rel=\"stylesheet\" href=\"../theme/3024-night.css\">\n<link rel=\"stylesheet\" href=\"../theme/ambiance.css\">\n<link rel=\"stylesheet\" href=\"../theme/base16-dark.css\">\n<link rel=\"stylesheet\" href=\"../theme/base16-light.css\">\n<link rel=\"stylesheet\" href=\"../theme/blackboard.css\">\n<link rel=\"stylesheet\" href=\"../theme/cobalt.css\">\n<link rel=\"stylesheet\" href=\"../theme/eclipse.css\">\n<link rel=\"stylesheet\" href=\"../theme/elegant.css\">\n<link rel=\"stylesheet\" href=\"../theme/erlang-dark.css\">\n<link rel=\"stylesheet\" href=\"../theme/lesser-dark.css\">\n<link rel=\"stylesheet\" href=\"../theme/mbo.css\">\n<link rel=\"stylesheet\" href=\"../theme/midnight.css\">\n<link rel=\"stylesheet\" href=\"../theme/monokai.css\">\n<link rel=\"stylesheet\" href=\"../theme/neat.css\">\n<link rel=\"stylesheet\" href=\"../theme/night.css\">\n<link rel=\"stylesheet\" href=\"../theme/paraiso-dark.css\">\n<link rel=\"stylesheet\" href=\"../theme/paraiso-light.css\">\n<link rel=\"stylesheet\" href=\"../theme/rubyblue.css\">\n<link rel=\"stylesheet\" href=\"../theme/solarized.css\">\n<link rel=\"stylesheet\" href=\"../theme/the-matrix.css\">\n<link rel=\"stylesheet\" href=\"../theme/tomorrow-night-eighties.css\">\n<link rel=\"stylesheet\" href=\"../theme/twilight.css\">\n<link rel=\"stylesheet\" href=\"../theme/vibrant-ink.css\">\n<link rel=\"stylesheet\" href=\"../theme/xq-dark.css\">\n<link rel=\"stylesheet\" href=\"../theme/xq-light.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../keymap/extra.js\"></script>\n<script src=\"../addon/selection/active-line.js\"></script>\n<script src=\"../addon/edit/matchbrackets.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border: 1px solid black; font-size:13px}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Theme</a>\n  </ul>\n</div>\n\n<article>\n<h2>Theme Demo</h2>\n<form><textarea id=\"code\" name=\"code\">\nfunction findSequence(goal) {\n  function find(start, history) {\n    if (start == goal)\n      return history;\n    else if (start > goal)\n      return null;\n    else\n      return find(start + 5, \"(\" + history + \" + 5)\") ||\n             find(start * 3, \"(\" + history + \" * 3)\");\n  }\n  return find(1, \"1\");\n}</textarea></form>\n\n<p>Select a theme: <select onchange=\"selectTheme()\" id=select>\n    <option selected>default</option>\n    <option>3024-day</option>\n    <option>3024-night</option>\n    <option>ambiance</option>\n    <option>base16-dark</option>\n    <option>base16-light</option>\n    <option>blackboard</option>\n    <option>cobalt</option>\n    <option>eclipse</option>\n    <option>elegant</option>\n    <option>erlang-dark</option>\n    <option>lesser-dark</option>\n    <option>mbo</option>\n    <option>midnight</option>\n    <option>monokai</option>\n    <option>neat</option>\n    <option>night</option>\n    <option>paraiso-dark</option>\n    <option>paraiso-light</option>\n    <option>rubyblue</option>\n    <option>solarized dark</option>\n    <option>solarized light</option>\n    <option>the-matrix</option>\n    <option>tomorrow-night-eighties</option>\n    <option>twilight</option>\n    <option>vibrant-ink</option>\n    <option>xq-dark</option>\n    <option>xq-light</option>\n</select>\n</p>\n\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n    lineNumbers: true,\n    styleActiveLine: true,\n    matchBrackets: true\n  });\n  var input = document.getElementById(\"select\");\n  function selectTheme() {\n    var theme = input.options[input.selectedIndex].innerHTML;\n    editor.setOption(\"theme\", theme);\n  }\n  var choice = document.location.search &&\n               decodeURIComponent(document.location.search.slice(1));\n  if (choice) {\n    input.value = choice;\n    editor.setOption(\"theme\", choice);\n  }\n</script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/trailingspace.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Trailing Whitespace Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/edit/trailingspace.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .cm-trailingspace {\n        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QUXCToH00Y1UgAAACFJREFUCNdjPMDBUc/AwNDAAAFMTAwMDA0OP34wQgX/AQBYgwYEx4f9lQAAAABJRU5ErkJggg==);\n        background-position: bottom left;\n        background-repeat: repeat-x;\n      }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Trailing Whitespace</a>\n  </ul>\n</div>\n\n<article>\n<h2>Trailing Whitespace Demo</h2>\n<form><textarea id=\"code\" name=\"code\">This text  \n has some\t \ntrailing whitespace!</textarea></form>\n\n    <script>\nvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n  lineNumbers: true,\n  showTrailingSpace: true\n});\n</script>\n\n<p>Uses\nthe <a href=\"../doc/manual.html#addon_trailingspace\">trailingspace</a>\naddon to highlight trailing whitespace.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/variableheight.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Variable Height Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/markdown/markdown.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border: 1px solid silver; border-width: 1px 2px; }\n      .cm-header { font-family: arial; }\n      .cm-header1 { font-size: 150%; }\n      .cm-header2 { font-size: 130%; }\n      .cm-header3 { font-size: 120%; }\n      .cm-header4 { font-size: 110%; }\n      .cm-header5 { font-size: 100%; }\n      .cm-header6 { font-size: 90%; }\n      .cm-strong { font-size: 140%; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Variable Height</a>\n  </ul>\n</div>\n\n<article>\n<h2>Variable Height Demo</h2>\n<form><textarea id=\"code\" name=\"code\"># A First Level Header\n\n**Bold** text in a normal-size paragraph.\n\nAnd a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long, wrapped line with a piece of **big** text inside of it.\n\n## A Second Level Header\n\nNow is the time for all good men to come to\nthe aid of their country. This is just a\nregular paragraph.\n\nThe quick brown fox jumped over the lazy\ndog's back.\n\n### Header 3\n\n> This is a blockquote.\n> \n> This is the second paragraph in the blockquote.\n>\n> ## This is an H2 in a blockquote       \n</textarea></form>\n    <script id=\"script\">\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        lineWrapping: true,\n        mode: \"markdown\"\n      });\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/vim.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Vim bindings demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/dialog/dialog.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/dialog/dialog.js\"></script>\n<script src=\"../addon/search/searchcursor.js\"></script>\n<script src=\"../mode/clike/clike.js\"></script>\n<script src=\"../keymap/vim.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid #eee; border-bottom: 1px solid #eee;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Vim bindings</a>\n  </ul>\n</div>\n\n<article>\n<h2>Vim bindings demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n#include \"syscalls.h\"\n/* getchar:  simple buffered version */\nint getchar(void)\n{\n  static char buf[BUFSIZ];\n  static char *bufp = buf;\n  static int n = 0;\n  if (n == 0) {  /* buffer is empty */\n    n = read(0, buf, sizeof buf);\n    bufp = buf;\n  }\n  return (--n >= 0) ? (unsigned char) *bufp++ : EOF;\n}\n</textarea></form>\n\n    <form><textarea id=\"code2\" name=\"code2\">\n        I am another file! You can yank from my neighbor and paste here.\n</textarea></form>\n\n<p>The vim keybindings are enabled by\nincluding <a href=\"../keymap/vim.js\">keymap/vim.js</a> and setting\nthe <code>keyMap</code> option to <code>\"vim\"</code>. Because\nCodeMirror's internal API is quite different from Vim, they are only\na loose approximation of actual vim bindings, though.</p>\n\n    <script>\n      CodeMirror.commands.save = function(){ alert(\"Saving\"); };\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-csrc\",\n        vimMode: true,\n        showCursorWhenSelecting: true\n      });\n      var editor2 = CodeMirror.fromTextArea(document.getElementById(\"code2\"), {\n        lineNumbers: true,\n        mode: \"text/x-csrc\",\n        vimMode: true,\n        showCursorWhenSelecting: true\n      });\n    </script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/visibletabs.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Visible tabs demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/clike/clike.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid #eee; border-bottom: 1px solid #eee;}\n      .cm-tab {\n         background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);\n         background-position: right;\n         background-repeat: no-repeat;\n      }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Visible tabs</a>\n  </ul>\n</div>\n\n<article>\n<h2>Visible tabs demo</h2>\n<form><textarea id=\"code\" name=\"code\">\n#include \"syscalls.h\"\n/* getchar:  simple buffered version */\nint getchar(void)\n{\n\tstatic char buf[BUFSIZ];\n\tstatic char *bufp = buf;\n\tstatic int n = 0;\n\tif (n == 0) {  /* buffer is empty */\n\t\tn = read(0, buf, sizeof buf);\n\t\tbufp = buf;\n\t}\n\treturn (--n >= 0) ? (unsigned char) *bufp++ : EOF;\n}\n</textarea></form>\n\n<p>Tabs inside the editor are spans with the\nclass <code>cm-tab</code>, and can be styled.</p>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        tabSize: 4,\n        indentUnit: 4,\n        indentWithTabs: true,\n        mode: \"text/x-csrc\"\n      });\n    </script>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/widget.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Inline Widget Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"http://ajax.aspnetcdn.com/ajax/jshint/r07/jshint.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border: 1px solid black;}\n      .lint-error {font-family: arial; font-size: 70%; background: #ffa; color: #a00; padding: 2px 5px 3px; }\n      .lint-error-icon {color: white; background-color: red; font-weight: bold; border-radius: 50%; padding: 0 3px; margin-right: 7px;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Inline Widget</a>\n  </ul>\n</div>\n\n<article>\n<h2>Inline Widget Demo</h2>\n\n\n    <div id=code></div>\n    <script id=\"script\">var widgets = []\nfunction updateHints() {\n  editor.operation(function(){\n    for (var i = 0; i < widgets.length; ++i)\n      editor.removeLineWidget(widgets[i]);\n    widgets.length = 0;\n\n    JSHINT(editor.getValue());\n    for (var i = 0; i < JSHINT.errors.length; ++i) {\n      var err = JSHINT.errors[i];\n      if (!err) continue;\n      var msg = document.createElement(\"div\");\n      var icon = msg.appendChild(document.createElement(\"span\"));\n      icon.innerHTML = \"!!\";\n      icon.className = \"lint-error-icon\";\n      msg.appendChild(document.createTextNode(err.reason));\n      msg.className = \"lint-error\";\n      widgets.push(editor.addLineWidget(err.line - 1, msg, {coverGutter: false, noHScroll: true}));\n    }\n  });\n  var info = editor.getScrollInfo();\n  var after = editor.charCoords({line: editor.getCursor().line + 1, ch: 0}, \"local\").top;\n  if (info.top + info.clientHeight < after)\n    editor.scrollTo(null, after - info.clientHeight + 3);\n}\n\nwindow.onload = function() {\n  var sc = document.getElementById(\"script\");\n  var content = sc.textContent || sc.innerText || sc.innerHTML;\n\n  window.editor = CodeMirror(document.getElementById(\"code\"), {\n    lineNumbers: true,\n    mode: \"javascript\",\n    value: content\n  });\n\n  var waiting;\n  editor.on(\"change\", function() {\n    clearTimeout(waiting);\n    waiting = setTimeout(updateHints, 500);\n  });\n\n  setTimeout(updateHints, 100);\n};\n\n\"long line to create a horizontal scrollbar, in order to test whether the (non-inline) widgets stay in place when scrolling to the right\";\n</script>\n<p>This demo runs <a href=\"http://jshint.com\">JSHint</a> over the code\nin the editor (which is the script used on this page), and\ninserts <a href=\"../doc/manual.html#addLineWidget\">line widgets</a> to\ndisplay the warnings that JSHint comes up with.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/demo/xmlcomplete.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: XML Autocomplete Demo</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../addon/hint/show-hint.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/hint/show-hint.js\"></script>\n<script src=\"../addon/hint/xml-hint.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror { border: 1px solid #eee; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">XML Autocomplete</a>\n  </ul>\n</div>\n\n<article>\n<h2>XML Autocomplete Demo</h2>\n<form><textarea id=\"code\" name=\"code\"><!-- write some xml below -->\n</textarea></form>\n\n    <p>Press <strong>ctrl-space</strong>, or type a '<' character to\n    activate autocompletion. This demo defines a simple schema that\n    guides completion. The schema can be customized—see\n    the <a href=\"../doc/manual.html#addon_xml-hint\">manual</a>.</p>\n\n    <p>Development of the <code>xml-hint</code> addon was kindly\n    sponsored\n    by <a href=\"http://www.xperiment.mobi\">www.xperiment.mobi</a>.</p>\n\n    <script>\n      var dummy = {\n        attrs: {\n          color: [\"red\", \"green\", \"blue\", \"purple\", \"white\", \"black\", \"yellow\"],\n          size: [\"large\", \"medium\", \"small\"],\n          description: null\n        },\n        children: []\n      };\n\n      var tags = {\n        \"!top\": [\"top\"],\n        top: {\n          attrs: {\n            lang: [\"en\", \"de\", \"fr\", \"nl\"],\n            freeform: null\n          },\n          children: [\"animal\", \"plant\"]\n        },\n        animal: {\n          attrs: {\n            name: null,\n            isduck: [\"yes\", \"no\"]\n          },\n          children: [\"wings\", \"feet\", \"body\", \"head\", \"tail\"]\n        },\n        plant: {\n          attrs: {name: null},\n          children: [\"leaves\", \"stem\", \"flowers\"]\n        },\n        wings: dummy, feet: dummy, body: dummy, head: dummy, tail: dummy,\n        leaves: dummy, stem: dummy, flowers: dummy\n      };\n\n      function completeAfter(cm, pred) {\n        var cur = cm.getCursor();\n        if (!pred || pred()) setTimeout(function() {\n          if (!cm.state.completionActive)\n            CodeMirror.showHint(cm, CodeMirror.hint.xml, {schemaInfo: tags, completeSingle: false});\n        }, 100);\n        return CodeMirror.Pass;\n      }\n\n      function completeIfAfterLt(cm) {\n        return completeAfter(cm, function() {\n          var cur = cm.getCursor();\n          return cm.getRange(CodeMirror.Pos(cur.line, cur.ch - 1), cur) == \"<\";\n        });\n      }\n\n      function completeIfInTag(cm) {\n        return completeAfter(cm, function() {\n          var tok = cm.getTokenAt(cm.getCursor());\n          if (tok.type == \"string\" && (!/['\"]/.test(tok.string.charAt(tok.string.length - 1)) || tok.string.length == 1)) return false;\n          var inner = CodeMirror.innerMode(cm.getMode(), tok.state).state;\n          return inner.tagName;\n        });\n      }\n\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"xml\",\n        lineNumbers: true,\n        extraKeys: {\n          \"'<'\": completeAfter,\n          \"'/'\": completeIfAfterLt,\n          \"' '\": completeIfInTag,\n          \"'='\": completeIfInTag,\n          \"Ctrl-Space\": function(cm) {\n            CodeMirror.showHint(cm, CodeMirror.hint.xml, {schemaInfo: tags});\n          }\n        }\n      });\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/activebookmark.js",
    "content": "(function() {\n  var pending = false, prevVal = null;\n\n  function updateSoon() {\n    if (!pending) {\n      pending = true;\n      setTimeout(update, 250);\n    }\n  }\n\n  function update() {\n    pending = false;\n    var marks = document.getElementById(\"nav\").getElementsByTagName(\"a\"), found;\n    for (var i = 0; i < marks.length; ++i) {\n      var mark = marks[i], m;\n      if (mark.getAttribute(\"data-default\")) {\n        if (found == null) found = i;\n      } else if (m = mark.href.match(/#(.*)/)) {\n        var ref = document.getElementById(m[1]);\n        if (ref && ref.getBoundingClientRect().top < 50)\n          found = i;\n      }\n    }\n    if (found != null && found != prevVal) {\n      prevVal = found;\n      var lis = document.getElementById(\"nav\").getElementsByTagName(\"li\");\n      for (var i = 0; i < lis.length; ++i) lis[i].className = \"\";\n      for (var i = 0; i < marks.length; ++i) {\n        if (found == i) {\n          marks[i].className = \"active\";\n          for (var n = marks[i]; n; n = n.parentNode)\n            if (n.nodeName == \"LI\") n.className = \"active\";\n        } else {\n          marks[i].className = \"\";\n        }\n      }\n    }\n  }\n\n  window.addEventListener(\"scroll\", updateSoon);\n  window.addEventListener(\"load\", updateSoon);\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/compress.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Compression Helper</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"docs.css\">\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Compression helper</a>\n  </ul>\n</div>\n\n<article>\n\n<h2>Script compression helper</h2>\n\n    <p>To optimize loading CodeMirror, especially when including a\n    bunch of different modes, it is recommended that you combine and\n    minify (and preferably also gzip) the scripts. This page makes\n    those first two steps very easy. Simply select the version and\n    scripts you need in the form below, and\n    click <strong>Compress</strong> to download the minified script\n    file.</p>\n\n    <form id=\"form\" action=\"http://marijnhaverbeke.nl/uglifyjs\" method=\"post\">\n      <input type=\"hidden\" id=\"download\" name=\"download\" value=\"codemirror-compressed.js\"/>\n      <p>Version: <select id=\"version\" onchange=\"setVersion(this);\" style=\"padding: 1px;\">\n        <option value=\"http://codemirror.net/\">HEAD</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=3.20.0;f=\">3.20</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=3.19.0;f=\">3.19</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=3.18.0;f=\">3.18</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=3.16.0;f=\">3.16</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=3.15.0;f=\">3.15</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=3.14.0;f=\">3.14</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=3.13.0;f=\">3.13</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.12;f=\">3.12</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.11;f=\">3.11</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.1;f=\">3.1</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.02;f=\">3.02</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.01;f=\">3.01</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v3.0;f=\">3.0</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.38;f=\">2.38</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.37;f=\">2.37</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.36;f=\">2.36</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.35;f=\">2.35</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.34;f=\">2.34</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.33;f=\">2.33</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.32;f=\">2.32</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.31;f=\">2.31</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.3;f=\">2.3</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.25;f=\">2.25</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.24;f=\">2.24</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.23;f=\">2.23</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.22;f=\">2.22</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.21;f=\">2.21</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.2;f=\">2.2</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.18;f=\">2.18</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.16;f=\">2.16</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.15;f=\">2.15</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.13;f=\">2.13</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.12;f=\">2.12</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.11;f=\">2.11</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.1;f=\">2.1</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.02;f=\">2.02</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.01;f=\">2.01</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=v2.0;f=\">2.0</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=beta2;f=\">beta2</option>\n        <option value=\"http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=beta1;f=\">beta1</option>\n      </select></p>\n\n      <select multiple=\"multiple\" size=\"20\" name=\"code_url\" style=\"width: 40em;\" class=\"field\" id=\"files\">\n        <optgroup label=\"CodeMirror Library\">\n          <option value=\"http://codemirror.net/lib/codemirror.js\" selected>codemirror.js</option>\n        </optgroup>\n        <optgroup label=\"Modes\">\n          <option value=\"http://codemirror.net/mode/apl/apl.js\">apl.js</option>\n          <option value=\"http://codemirror.net/mode/clike/clike.js\">clike.js</option>\n          <option value=\"http://codemirror.net/mode/clojure/clojure.js\">clojure.js</option>\n          <option value=\"http://codemirror.net/mode/cobol/cobol.js\">cobol.js</option>\n          <option value=\"http://codemirror.net/mode/coffeescript/coffeescript.js\">coffeescript.js</option>\n          <option value=\"http://codemirror.net/mode/commonlisp/commonlisp.js\">commonlisp.js</option>\n          <option value=\"http://codemirror.net/mode/css/css.js\">css.js</option>\n          <option value=\"http://codemirror.net/mode/d/d.js\">d.js</option>\n          <option value=\"http://codemirror.net/mode/diff/diff.js\">diff.js</option>\n          <option value=\"http://codemirror.net/mode/dtd/dtd.js\">dtd.js</option>\n          <option value=\"http://codemirror.net/mode/ecl/ecl.js\">ecl.js</option>\n          <option value=\"http://codemirror.net/mode/eiffel/eiffel.js\">eiffel.js</option>\n          <option value=\"http://codemirror.net/mode/erlang/erlang.js\">erlang.js</option>\n          <option value=\"http://codemirror.net/mode/fortran/fortran.js\">fortran.js</option>\n          <option value=\"http://codemirror.net/mode/gfm/gfm.js\">gfm.js</option>\n          <option value=\"http://codemirror.net/mode/gas/gas.js\">gas.js</option>\n          <option value=\"http://codemirror.net/mode/gherkin/gherkin.js\">gherkin.js</option>\n          <option value=\"http://codemirror.net/mode/go/go.js\">go.js</option>\n          <option value=\"http://codemirror.net/mode/groovy/groovy.js\">groovy.js</option>\n          <option value=\"http://codemirror.net/mode/haml/haml.js\">haml.js</option>\n          <option value=\"http://codemirror.net/mode/haskell/haskell.js\">haskell.js</option>\n          <option value=\"http://codemirror.net/mode/haxe/haxe.js\">haxe.js</option>\n          <option value=\"http://codemirror.net/mode/htmlembedded/htmlembedded.js\">htmlembedded.js</option>\n          <option value=\"http://codemirror.net/mode/htmlmixed/htmlmixed.js\">htmlmixed.js</option>\n          <option value=\"http://codemirror.net/mode/http/http.js\">http.js</option>\n          <option value=\"http://codemirror.net/mode/jade/jade.js\">jade.js</option>\n          <option value=\"http://codemirror.net/mode/javascript/javascript.js\">javascript.js</option>\n          <option value=\"http://codemirror.net/mode/jinja2/jinja2.js\">jinja2.js</option>\n          <option value=\"http://codemirror.net/mode/julia/julia.js\">jinja2.js</option>\n          <option value=\"http://codemirror.net/mode/less/less.js\">less.js</option>\n          <option value=\"http://codemirror.net/mode/livescript/livescript.js\">livescript.js</option>\n          <option value=\"http://codemirror.net/mode/lua/lua.js\">lua.js</option>\n          <option value=\"http://codemirror.net/mode/markdown/markdown.js\">markdown.js</option>\n          <option value=\"http://codemirror.net/mode/mirc/mirc.js\">mirc.js</option>\n          <option value=\"http://codemirror.net/mode/nginx/nginx.js\">nginx.js</option>\n          <option value=\"http://codemirror.net/mode/ntriples/ntriples.js\">ntriples.js</option>\n          <option value=\"http://codemirror.net/mode/ocaml/ocaml.js\">ocaml.js</option>\n          <option value=\"http://codemirror.net/mode/octave/octave.js\">octave.js</option>\n          <option value=\"http://codemirror.net/mode/pascal/pascal.js\">pascal.js</option>\n          <option value=\"http://codemirror.net/mode/pegjs/pegjs.js\">pegjs.js</option>\n          <option value=\"http://codemirror.net/mode/perl/perl.js\">perl.js</option>\n          <option value=\"http://codemirror.net/mode/php/php.js\">php.js</option>\n          <option value=\"http://codemirror.net/mode/pig/pig.js\">pig.js</option>\n          <option value=\"http://codemirror.net/mode/properties/properties.js\">properties.js</option>\n          <option value=\"http://codemirror.net/mode/python/python.js\">python.js</option>\n          <option value=\"http://codemirror.net/mode/q/q.js\">q.js</option>\n          <option value=\"http://codemirror.net/mode/r/r.js\">r.js</option>\n          <option value=\"http://codemirror.net/mode/rpm/changes/changes.js\">rpm/changes.js</option>\n          <option value=\"http://codemirror.net/mode/rpm/spec/spec.js\">rpm/spec.js</option>\n          <option value=\"http://codemirror.net/mode/rst/rst.js\">rst.js</option>\n          <option value=\"http://codemirror.net/mode/ruby/ruby.js\">ruby.js</option>\n          <option value=\"http://codemirror.net/mode/rust/rust.js\">rust.js</option>\n          <option value=\"http://codemirror.net/mode/sass/sass.js\">sass.js</option>\n          <option value=\"http://codemirror.net/mode/scala/scala.js\">scala.js</option>\n          <option value=\"http://codemirror.net/mode/scheme/scheme.js\">scheme.js</option>\n          <option value=\"http://codemirror.net/mode/shell/shell.js\">shell.js</option>\n          <option value=\"http://codemirror.net/mode/sieve/sieve.js\">sieve.js</option>\n          <option value=\"http://codemirror.net/mode/smalltalk/smalltalk.js\">smalltalk.js</option>\n          <option value=\"http://codemirror.net/mode/smarty/smarty.js\">smarty.js</option>\n          <option value=\"http://codemirror.net/mode/smartymixed/smartymixed.js\">smartymixed.js</option>\n          <option value=\"http://codemirror.net/mode/sql/sql.js\">sql.js</option>\n          <option value=\"http://codemirror.net/mode/sparql/sparql.js\">sparql.js</option>\n          <option value=\"http://codemirror.net/mode/stex/stex.js\">stex.js</option>\n          <option value=\"http://codemirror.net/mode/tcl/tcl.js\">tcl.js</option>\n          <option value=\"http://codemirror.net/mode/tiddlywiki/tiddlywiki.js\">tiddlywiki.js</option>\n          <option value=\"http://codemirror.net/mode/tiki/tiki.js\">tiki.js</option>\n          <option value=\"http://codemirror.net/mode/toml/toml.js\">toml.js</option>\n          <option value=\"http://codemirror.net/mode/turtle/turtle.js\">turtle.js</option>\n          <option value=\"http://codemirror.net/mode/vb/vb.js\">vb.js</option>\n          <option value=\"http://codemirror.net/mode/vbscript/vbscript.js\">vbscript.js</option>\n          <option value=\"http://codemirror.net/mode/velocity/velocity.js\">velocity.js</option>\n          <option value=\"http://codemirror.net/mode/verilog/verilog.js\">verilog.js</option>\n          <option value=\"http://codemirror.net/mode/xml/xml.js\">xml.js</option>\n          <option value=\"http://codemirror.net/mode/xquery/xquery.js\">xquery.js</option>\n          <option value=\"http://codemirror.net/mode/yaml/yaml.js\">yaml.js</option>\n          <option value=\"http://codemirror.net/mode/z80/z80.js\">z80.js</option>\n        </optgroup>\n        <optgroup label=\"Add-ons\">\n          <option value=\"http://codemirror.net/addon/selection/active-line.js\">active-line.js</option>\n          <option value=\"http://codemirror.net/addon/fold/brace-fold.js\">brace-fold.js</option>\n          <option value=\"http://codemirror.net/addon/edit/closebrackets.js\">closebrackets.js</option>\n          <option value=\"http://codemirror.net/addon/edit/closetag.js\">closetag.js</option>\n          <option value=\"http://codemirror.net/addon/runmode/colorize.js\">colorize.js</option>\n          <option value=\"http://codemirror.net/addon/comment/comment.js\">comment.js</option>\n          <option value=\"http://codemirror.net/addon/fold/comment-fold.js\">comment-fold.js</option>\n          <option value=\"http://codemirror.net/addon/comment/continuecomment.js\">continuecomment.js</option>\n          <option value=\"http://codemirror.net/addon/edit/continuelist.js\">continuelist.js</option>\n          <option value=\"http://codemirror.net/addon/hint/css-hint.js\">css-hint.js</option>\n          <option value=\"http://codemirror.net/addon/dialog/dialog.js\">dialog.js</option>\n          <option value=\"http://codemirror.net/addon/fold/foldcode.js\">foldcode.js</option>\n          <option value=\"http://codemirror.net/addon/fold/foldgutter.js\">foldgutter.js</option>\n          <option value=\"http://codemirror.net/addon/display/fullscreen.js\">fullscreen.js</option>\n          <option value=\"http://codemirror.net/addon/wrap/hardwrap.js\">hardwrap.js</option>\n          <option value=\"http://codemirror.net/addon/hint/html-hint.js\">html-hint.js</option>\n          <option value=\"http://codemirror.net/addon/fold/indent-fold.js\">indent-fold.js</option>\n          <option value=\"http://codemirror.net/addon/hint/javascript-hint.js\">javascript-hint.js</option>\n          <option value=\"http://codemirror.net/addon/lint/javascript-lint.js\">javascript-lint.js</option>\n          <option value=\"http://codemirror.net/addon/lint/json-lint.js\">json-lint.js</option>\n          <option value=\"http://codemirror.net/addon/lint/lint.js\">lint.js</option>\n          <option value=\"http://codemirror.net/addon/mode/loadmode.js\">loadmode.js</option>\n          <option value=\"http://codemirror.net/addon/selection/mark-selection.js\">mark-selection.js</option>\n          <option value=\"http://codemirror.net/addon/search/match-highlighter.js\">match-highlighter.js</option>\n          <option value=\"http://codemirror.net/addon/edit/matchbrackets.js\">matchbrackets.js</option>\n          <option value=\"http://codemirror.net/addon/edit/matchtags.js\">matchtags.js</option>\n          <option value=\"http://codemirror.net/addon/merge/merge.js\">merge.js</option>\n          <option value=\"http://codemirror.net/addon/mode/multiplex.js\">multiplex.js</option>\n          <option value=\"http://codemirror.net/addon/mode/overlay.js\">overlay.js</option>\n          <option value=\"http://codemirror.net/addon/hint/pig-hint.js\">pig-hint.js</option>\n          <option value=\"http://codemirror.net/addon/display/placeholder.js\">placeholder.js</option>\n          <option value=\"http://codemirror.net/addon/hint/python-hint.js\">python-hint.js</option>\n          <option value=\"http://codemirror.net/addon/runmode/runmode.js\">runmode.js</option>\n          <option value=\"http://codemirror.net/addon/runmode/runmode.node.js\">runmode.node.js</option>\n          <option value=\"http://codemirror.net/addon/runmode/runmode-standalone.js\">runmode-standalone.js</option>\n          <option value=\"http://codemirror.net/addon/search/search.js\">search.js</option>\n          <option value=\"http://codemirror.net/addon/search/searchcursor.js\">searchcursor.js</option>\n          <option value=\"http://codemirror.net/addon/hint/show-hint.js\">show-hint.js</option>\n          <option value=\"http://codemirror.net/addon/hint/sql-hint.js\">sql-hint.js</option>\n          <option value=\"http://codemirror.net/addon/edit/trailingspace.js\">trailingspace.js</option>\n          <option value=\"http://codemirror.net/addon/tern/tern.js\">tern.js</option>\n          <option value=\"http://codemirror.net/addon/fold/xml-fold.js\">xml-fold.js</option>\n          <option value=\"http://codemirror.net/addon/hint/xml-hint.js\">xml-hint.js</option>\n        </optgroup>\n        <optgroup label=\"Keymaps\">\n          <option value=\"http://codemirror.net/keymap/emacs.js\">emacs.js</option>\n          <option value=\"http://codemirror.net/keymap/vim.js\">vim.js</option>\n        </optgroup>\n      </select>\n\n      <p>\n        <button type=\"submit\">Compress</button> with <a href=\"http://github.com/mishoo/UglifyJS/\">UglifyJS</a>\n      </p>\n\n      <p>Custom code to add to the compressed file:<textarea name=\"js_code\" style=\"width: 100%; height: 15em;\" class=\"field\"></textarea></p>\n    </form>\n\n    <script type=\"text/javascript\">\n      function setVersion(ver) {\n        var urlprefix = ver.options[ver.selectedIndex].value;\n        var select = document.getElementById(\"files\"), m;\n        for (var optgr = select.firstChild; optgr; optgr = optgr.nextSibling)\n          for (var opt = optgr.firstChild; opt; opt = opt.nextSibling) {\n            if (opt.nodeName != \"OPTION\")\n              continue;\n            else if (m = opt.value.match(/^http:\\/\\/codemirror.net\\/(.*)$/))\n              opt.value = urlprefix + m[1];\n            else if (m = opt.value.match(/http:\\/\\/marijnhaverbeke.nl\\/git\\/codemirror\\?a=blob_plain;hb=[^;]+;f=(.*)$/))\n              opt.value = urlprefix + m[1];\n          }\n       }\n    </script>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/docs.css",
    "content": "@font-face {\n  font-family: 'Source Sans Pro';\n  font-style: normal;\n  font-weight: 400;\n  src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/ODelI1aHBYDBqgeIAH2zlBM0YzuT7MdOe03otPbuUS0.woff) format('woff');\n}\n\nbody, html { margin: 0; padding: 0; height: 100%; }\nsection, article { display: block; padding: 0; }\n\nbody {\n  background: #f8f8f8;\n  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;\n  line-height: 1.5;\n}\n\np { margin-top: 0; }\n\nh2, h3 {\n  font-weight: normal;\n  margin-bottom: .7em;\n}\nh2 { font-size: 120%; }\nh3 { font-size: 110%; }\narticle > h2:first-child, section:first-child > h2 { margin-top: 0; }\n\na, a:visited, a:link, .quasilink {\n  color: #A21313;\n  text-decoration: none;\n}\n\nem {\n  padding-right: 2px;\n}\n\n.quasilink {\n  cursor: pointer;\n}\n\narticle {\n  max-width: 700px;\n  margin: 0 auto;\n  border-left: 2px solid #E30808;\n  border-right: 1px solid #ddd;\n  padding: 30px 50px 100px 50px;\n  background: white;\n  z-index: 2;\n  position: relative;\n  min-height: 100%;\n  box-sizing: border-box;\n  -moz-box-sizing: border-box;\n}\n\n#nav {\n  position: fixed;\n  top: 30px;\n  right: 50%;\n  padding-right: 350px;\n  text-align: right;\n  z-index: 1;\n}\n\n@media screen and (max-width: 1000px) {\n  article {\n    margin: 0 0 0 160px;\n  }\n  #nav {\n    left: 0; right: none;\n    width: 160px;\n  }\n}\n\n#nav ul {\n  display: block;\n  margin: 0; padding: 0;\n  margin-bottom: 32px;\n}\n\n#nav li {\n  display: block;\n  margin-bottom: 4px;\n}\n\n#nav li ul {\n  font-size: 80%;\n  margin-bottom: 0;\n  display: none;\n}\n\n#nav li.active ul {\n  display: block;\n}\n\n#nav li li a {\n  padding-right: 20px;\n}\n\n#nav ul a {\n  color: black;\n  padding: 0 7px 1px 11px;\n}\n\n#nav ul a.active, #nav ul a:hover {\n  border-bottom: 1px solid #E30808;\n  color: #E30808;\n}\n\n#logo {\n  border: 0;\n  margin-right: 7px;\n  margin-bottom: 25px;\n}\n\nsection {\n  border-top: 1px solid #E30808;\n  margin: 1.5em 0;\n}\n\nsection.first {\n  border: none;\n  margin-top: 0;\n}\n\n#demo {\n  position: relative;\n}\n\n#demolist {\n  position: absolute;\n  right: 5px;\n  top: 5px;\n  z-index: 25;\n}\n\n#bankinfo {\n  text-align: left;\n  display: none;\n  padding: 0 .5em;\n  position: absolute;\n  border: 2px solid #aaa;\n  border-radius: 5px;\n  background: #eee;\n  top: 10px;\n  left: 30px;\n}\n\n#bankinfo_close {\n  position: absolute;\n  top: 0; right: 6px;\n  font-weight: bold;\n  cursor: pointer;\n}\n\n.bigbutton {\n  cursor: pointer;\n  text-align: center;\n  padding: 0 1em;\n  display: inline-block;\n  color: white;\n  position: relative;\n  line-height: 1.9;\n  color: white !important;\n  background: #A21313;\n}\n\n.bigbutton.right {\n  border-bottom-left-radius: 100px;\n  border-top-left-radius: 100px;\n}\n\n.bigbutton.left {\n  border-bottom-right-radius: 100px;\n  border-top-right-radius: 100px;\n}\n\n.bigbutton:hover {\n  background: #E30808;\n}\n\nth {\n  text-decoration: underline;\n  font-weight: normal;\n  text-align: left;\n}\n\n#features ul {\n  list-style: none;\n  margin: 0 0 1em;\n  padding: 0 0 0 1.2em;\n}\n\n#features li:before {\n  content: \"-\";\n  width: 1em;\n  display: inline-block;\n  padding: 0;\n  margin: 0;\n  margin-left: -1em;\n}\n\n.rel {\n  margin-bottom: 0;\n}\n.rel-note {\n  margin-top: 0;\n  color: #555;\n}\n\npre {\n  padding-left: 15px;\n  border-left: 2px solid #ddd;\n}\n\ncode {\n  padding: 0 2px;\n}\n\nstrong {\n  text-decoration: underline;\n  font-weight: normal;\n}\n\n.field {\n  border: 1px solid #A21313;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/internals.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Internals</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"docs.css\">\n<style>dl dl {margin: 0;} .update {color: #d40 !important}</style>\n<script src=\"activebookmark.js\"></script>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"#top\">Introduction</a></li>\n    <li><a href=\"#approach\">General Approach</a></li>\n    <li><a href=\"#input\">Input</a></li>\n    <li><a href=\"#selection\">Selection</a></li>\n    <li><a href=\"#update\">Intelligent Updating</a></li>\n    <li><a href=\"#parse\">Parsing</a></li>\n    <li><a href=\"#summary\">What Gives?</a></li>\n    <li><a href=\"#btree\">Content Representation</a></li>\n    <li><a href=\"#keymap\">Key Maps</a></li>\n  </ul>\n</div>\n\n<article>\n\n<h2 id=top>(Re-) Implementing A Syntax-Highlighting Editor in JavaScript</h2>\n\n<p style=\"font-size: 85%\" id=\"intro\">\n  <strong>Topic:</strong> JavaScript, code editor implementation<br>\n  <strong>Author:</strong> Marijn Haverbeke<br>\n  <strong>Date:</strong> March 2nd 2011 (updated November 13th 2011)\n</p>\n\n<p style=\"padding: 0 3em 0 2em\"><strong>Caution</strong>: this text was written briefly after\nversion 2 was initially written. It no longer (even including the\nupdate at the bottom) fully represents the current implementation. I'm\nleaving it here as a historic document. For more up-to-date\ninformation, look at the entries\ntagged <a href=\"http://marijnhaverbeke.nl/blog/#cm-internals\">cm-internals</a>\non my blog.</p>\n\n<p>This is a followup to\nmy <a href=\"http://codemirror.net/story.html\">Brutal Odyssey to the\nDark Side of the DOM Tree</a> story. That one describes the\nmind-bending process of implementing (what would become) CodeMirror 1.\nThis one describes the internals of CodeMirror 2, a complete rewrite\nand rethink of the old code base. I wanted to give this piece another\nHunter Thompson copycat subtitle, but somehow that would be out of\nplace—the process this time around was one of straightforward\nengineering, requiring no serious mind-bending whatsoever.</p>\n\n<p>So, what is wrong with CodeMirror 1? I'd estimate, by mailing list\nactivity and general search-engine presence, that it has been\nintegrated into about a thousand systems by now. The most prominent\none, since a few weeks,\nbeing <a href=\"http://googlecode.blogspot.com/2011/01/make-quick-fixes-quicker-on-google.html\">Google\ncode's project hosting</a>. It works, and it's being used widely.</p>\n\n<p>Still, I did not start replacing it because I was bored. CodeMirror\n1 was heavily reliant on <code>designMode</code>\nor <code>contentEditable</code> (depending on the browser). Neither of\nthese are well specified (HTML5 tries\nto <a href=\"http://www.w3.org/TR/html5/editing.html#contenteditable\">specify</a>\ntheir basics), and, more importantly, they tend to be one of the more\nobscure and buggy areas of browser functionality—CodeMirror, by using\nthis functionality in a non-typical way, was constantly running up\nagainst browser bugs. WebKit wouldn't show an empty line at the end of\nthe document, and in some releases would suddenly get unbearably slow.\nFirefox would show the cursor in the wrong place. Internet Explorer\nwould insist on linkifying everything that looked like a URL or email\naddress, a behaviour that can't be turned off. Some bugs I managed to\nwork around (which was often a frustrating, painful process), others,\nsuch as the Firefox cursor placement, I gave up on, and had to tell\nuser after user that they were known problems, but not something I\ncould help.</p>\n\n<p>Also, there is the fact that <code>designMode</code> (which seemed\nto be less buggy than <code>contentEditable</code> in Webkit and\nFirefox, and was thus used by CodeMirror 1 in those browsers) requires\na frame. Frames are another tricky area. It takes some effort to\nprevent getting tripped up by domain restrictions, they don't\ninitialize synchronously, behave strangely in response to the back\nbutton, and, on several browsers, can't be moved around the DOM\nwithout having them re-initialize. They did provide a very nice way to\nnamespace the library, though—CodeMirror 1 could freely pollute the\nnamespace inside the frame.</p>\n\n<p>Finally, working with an editable document means working with\nselection in arbitrary DOM structures. Internet Explorer (8 and\nbefore) has an utterly different (and awkward) selection API than all\nof the other browsers, and even among the different implementations of\n<code>document.selection</code>, details about how exactly a selection\nis represented vary quite a bit. Add to that the fact that Opera's\nselection support tended to be very buggy until recently, and you can\nimagine why CodeMirror 1 contains 700 lines of selection-handling\ncode.</p>\n\n<p>And that brings us to the main issue with the CodeMirror 1\ncode base: The proportion of browser-bug-workarounds to real\napplication code was getting dangerously high. By building on top of a\nfew dodgy features, I put the system in a vulnerable position—any\nincompatibility and bugginess in these features, I had to paper over\nwith my own code. Not only did I have to do some serious stunt-work to\nget it to work on older browsers (as detailed in the\nprevious <a href=\"http://codemirror.net/story.html\">story</a>), things\nalso kept breaking in newly released versions, requiring me to come up\nwith <em>new</em> scary hacks in order to keep up. This was starting\nto lose its appeal.</p>\n\n<section id=approach>\n  <h2>General Approach</h2>\n\n<p>What CodeMirror 2 does is try to sidestep most of the hairy hacks\nthat came up in version 1. I owe a lot to the\n<a href=\"http://ace.ajax.org\">ACE</a> editor for inspiration on how to\napproach this.</p>\n\n<p>I absolutely did not want to be completely reliant on key events to\ngenerate my input. Every JavaScript programmer knows that key event\ninformation is horrible and incomplete. Some people (most awesomely\nMihai Bazon with <a href=\"http://ymacs.org\">Ymacs</a>) have been able\nto build more or less functioning editors by directly reading key\nevents, but it takes a lot of work (the kind of never-ending, fragile\nwork I described earlier), and will never be able to properly support\nthings like multi-keystoke international character\ninput. <a href=\"#keymap\" class=\"update\">[see below for caveat]</a></p>\n\n<p>So what I do is focus a hidden textarea, and let the browser\nbelieve that the user is typing into that. What we show to the user is\na DOM structure we built to represent his document. If this is updated\nquickly enough, and shows some kind of believable cursor, it feels\nlike a real text-input control.</p>\n\n<p>Another big win is that this DOM representation does not have to\nspan the whole document. Some CodeMirror 1 users insisted that they\nneeded to put a 30 thousand line XML document into CodeMirror. Putting\nall that into the DOM takes a while, especially since, for some\nreason, an editable DOM tree is slower than a normal one on most\nbrowsers. If we have full control over what we show, we must only\nensure that the visible part of the document has been added, and can\ndo the rest only when needed. (Fortunately, the <code>onscroll</code>\nevent works almost the same on all browsers, and lends itself well to\ndisplaying things only as they are scrolled into view.)</p>\n</section>\n<section id=\"input\">\n  <h2>Input</h2>\n\n<p>ACE uses its hidden textarea only as a text input shim, and does\nall cursor movement and things like text deletion itself by directly\nhandling key events. CodeMirror's way is to let the browser do its\nthing as much as possible, and not, for example, define its own set of\nkey bindings. One way to do this would have been to have the whole\ndocument inside the hidden textarea, and after each key event update\nthe display DOM to reflect what's in that textarea.</p>\n\n<p>That'd be simple, but it is not realistic. For even medium-sized\ndocument the editor would be constantly munging huge strings, and get\nterribly slow. What CodeMirror 2 does is put the current selection,\nalong with an extra line on the top and on the bottom, into the\ntextarea.</p>\n\n<p>This means that the arrow keys (and their ctrl-variations), home,\nend, etcetera, do not have to be handled specially. We just read the\ncursor position in the textarea, and update our cursor to match it.\nAlso, copy and paste work pretty much for free, and people get their\nnative key bindings, without any special work on my part. For example,\nI have emacs key bindings configured for Chrome and Firefox. There is\nno way for a script to detect this. <a class=\"update\"\nhref=\"#keymap\">[no longer the case]</a></p>\n\n<p>Of course, since only a small part of the document sits in the\ntextarea, keys like page up and ctrl-end won't do the right thing.\nCodeMirror is catching those events and handling them itself.</p>\n</section>\n<section id=\"selection\">\n  <h2>Selection</h2>\n\n<p>Getting and setting the selection range of a textarea in modern\nbrowsers is trivial—you just use the <code>selectionStart</code>\nand <code>selectionEnd</code> properties. On IE you have to do some\ninsane stuff with temporary ranges and compensating for the fact that\nmoving the selection by a 'character' will treat \\r\\n as a single\ncharacter, but even there it is possible to build functions that\nreliably set and get the selection range.</p>\n\n<p>But consider this typical case: When I'm somewhere in my document,\npress shift, and press the up arrow, something gets selected. Then, if\nI, still holding shift, press the up arrow again, the top of my\nselection is adjusted. The selection remembers where its <em>head</em>\nand its <em>anchor</em> are, and moves the head when we shift-move.\nThis is a generally accepted property of selections, and done right by\nevery editing component built in the past twenty years.</p>\n\n<p>But not something that the browser selection APIs expose.</p>\n\n<p>Great. So when someone creates an 'upside-down' selection, the next\ntime CodeMirror has to update the textarea, it'll re-create the\nselection as an 'upside-up' selection, with the anchor at the top, and\nthe next cursor motion will behave in an unexpected way—our second\nup-arrow press in the example above will not do anything, since it is\ninterpreted in exactly the same way as the first.</p>\n\n<p>No problem. We'll just, ehm, detect that the selection is\nupside-down (you can tell by the way it was created), and then, when\nan upside-down selection is present, and a cursor-moving key is\npressed in combination with shift, we quickly collapse the selection\nin the textarea to its start, allow the key to take effect, and then\ncombine its new head with its old anchor to get the <em>real</em>\nselection.</p>\n\n<p>In short, scary hacks could not be avoided entirely in CodeMirror\n2.</p>\n\n<p>And, the observant reader might ask, how do you even know that a\nkey combo is a cursor-moving combo, if you claim you support any\nnative key bindings? Well, we don't, but we can learn. The editor\nkeeps a set known cursor-movement combos (initialized to the\npredictable defaults), and updates this set when it observes that\npressing a certain key had (only) the effect of moving the cursor.\nThis, of course, doesn't work if the first time the key is used was\nfor extending an inverted selection, but it works most of the\ntime.</p>\n</section>\n<section id=\"update\">\n  <h2>Intelligent Updating</h2>\n\n<p>One thing that always comes up when you have a complicated internal\nstate that's reflected in some user-visible external representation\n(in this case, the displayed code and the textarea's content) is\nkeeping the two in sync. The naive way is to just update the display\nevery time you change your state, but this is not only error prone\n(you'll forget), it also easily leads to duplicate work on big,\ncomposite operations. Then you start passing around flags indicating\nwhether the display should be updated in an attempt to be efficient\nagain and, well, at that point you might as well give up completely.</p>\n\n<p>I did go down that road, but then switched to a much simpler model:\nsimply keep track of all the things that have been changed during an\naction, and then, only at the end, use this information to update the\nuser-visible display.</p>\n\n<p>CodeMirror uses a concept of <em>operations</em>, which start by\ncalling a specific set-up function that clears the state and end by\ncalling another function that reads this state and does the required\nupdating. Most event handlers, and all the user-visible methods that\nchange state are wrapped like this. There's a method\ncalled <code>operation</code> that accepts a function, and returns\nanother function that wraps the given function as an operation.</p>\n\n<p>It's trivial to extend this (as CodeMirror does) to detect nesting,\nand, when an operation is started inside an operation, simply\nincrement the nesting count, and only do the updating when this count\nreaches zero again.</p>\n\n<p>If we have a set of changed ranges and know the currently shown\nrange, we can (with some awkward code to deal with the fact that\nchanges can add and remove lines, so we're dealing with a changing\ncoordinate system) construct a map of the ranges that were left\nintact. We can then compare this map with the part of the document\nthat's currently visible (based on scroll offset and editor height) to\ndetermine whether something needs to be updated.</p>\n\n<p>CodeMirror uses two update algorithms—a full refresh, where it just\ndiscards the whole part of the DOM that contains the edited text and\nrebuilds it, and a patch algorithm, where it uses the information\nabout changed and intact ranges to update only the out-of-date parts\nof the DOM. When more than 30 percent (which is the current heuristic,\nmight change) of the lines need to be updated, the full refresh is\nchosen (since it's faster to do than painstakingly finding and\nupdating all the changed lines), in the other case it does the\npatching (so that, if you scroll a line or select another character,\nthe whole screen doesn't have to be\nre-rendered). <span class=\"update\">[the full-refresh\nalgorithm was dropped, it wasn't really faster than the patching\none]</span></p>\n\n<p>All updating uses <code>innerHTML</code> rather than direct DOM\nmanipulation, since that still seems to be by far the fastest way to\nbuild documents. There's a per-line function that combines the\nhighlighting, <a href=\"manual.html#markText\">marking</a>, and\nselection info for that line into a snippet of HTML. The patch updater\nuses this to reset individual lines, the refresh updater builds an\nHTML chunk for the whole visible document at once, and then uses a\nsingle <code>innerHTML</code> update to do the refresh.</p>\n</section>\n<section id=\"parse\">\n  <h2>Parsers can be Simple</h2>\n\n<p>When I wrote CodeMirror 1, I\nthought <a href=\"http://codemirror.net/story.html#parser\">interruptable\nparsers</a> were a hugely scary and complicated thing, and I used a\nbunch of heavyweight abstractions to keep this supposed complexity\nunder control: parsers\nwere <a href=\"http://bob.pythonmac.org/archives/2005/07/06/iteration-in-javascript/\">iterators</a>\nthat consumed input from another iterator, and used funny\nclosure-resetting tricks to copy and resume themselves.</p>\n\n<p>This made for a rather nice system, in that parsers formed strictly\nseparate modules, and could be composed in predictable ways.\nUnfortunately, it was quite slow (stacking three or four iterators on\ntop of each other), and extremely intimidating to people not used to a\nfunctional programming style.</p>\n\n<p>With a few small changes, however, we can keep all those\nadvantages, but simplify the API and make the whole thing less\nindirect and inefficient. CodeMirror\n2's <a href=\"manual.html#modeapi\">mode API</a> uses explicit state\nobjects, and makes the parser/tokenizer a function that simply takes a\nstate and a character stream abstraction, advances the stream one\ntoken, and returns the way the token should be styled. This state may\nbe copied, optionally in a mode-defined way, in order to be able to\ncontinue a parse at a given point. Even someone who's never touched a\nlambda in his life can understand this approach. Additionally, far\nfewer objects are allocated in the course of parsing now.</p>\n\n<p>The biggest speedup comes from the fact that the parsing no longer\nhas to touch the DOM though. In CodeMirror 1, on an older browser, you\ncould <em>see</em> the parser work its way through the document,\nmanaging some twenty lines in each 50-millisecond time slice it got. It\nwas reading its input from the DOM, and updating the DOM as it went\nalong, which any experienced JavaScript programmer will immediately\nspot as a recipe for slowness. In CodeMirror 2, the parser usually\nfinishes the whole document in a single 100-millisecond time slice—it\nmanages some 1500 lines during that time on Chrome. All it has to do\nis munge strings, so there is no real reason for it to be slow\nanymore.</p>\n</section>\n<section id=\"summary\">\n  <h2>What Gives?</h2>\n\n<p>Given all this, what can you expect from CodeMirror 2?</p>\n\n<ul>\n\n<li><strong>Small.</strong> the base library is\nsome <span class=\"update\">45k</span> when minified\nnow, <span class=\"update\">17k</span> when gzipped. It's smaller than\nits own logo.</li>\n\n<li><strong>Lightweight.</strong> CodeMirror 2 initializes very\nquickly, and does almost no work when it is not focused. This means\nyou can treat it almost like a textarea, have multiple instances on a\npage without trouble.</li>\n\n<li><strong>Huge document support.</strong> Since highlighting is\nreally fast, and no DOM structure is being built for non-visible\ncontent, you don't have to worry about locking up your browser when a\nuser enters a megabyte-sized document.</li>\n\n<li><strong>Extended API.</strong> Some things kept coming up in the\nmailing list, such as marking pieces of text or lines, which were\nextremely hard to do with CodeMirror 1. The new version has proper\nsupport for these built in.</li>\n\n<li><strong>Tab support.</strong> Tabs inside editable documents were,\nfor some reason, a no-go. At least six different people announced they\nwere going to add tab support to CodeMirror 1, none survived (I mean,\nnone delivered a working version). CodeMirror 2 no longer removes tabs\nfrom your document.</li>\n\n<li><strong>Sane styling.</strong> <code>iframe</code> nodes aren't\nreally known for respecting document flow. Now that an editor instance\nis a plain <code>div</code> element, it is much easier to size it to\nfit the surrounding elements. You don't even have to make it scroll if\nyou do not <a href=\"../demo/resize.html\">want to</a>.</li>\n\n</ul>\n\n<p>On the downside, a CodeMirror 2 instance is <em>not</em> a native\neditable component. Though it does its best to emulate such a\ncomponent as much as possible, there is functionality that browsers\njust do not allow us to hook into. Doing select-all from the context\nmenu, for example, is not currently detected by CodeMirror.</p>\n\n<p id=\"changes\" style=\"margin-top: 2em;\"><span style=\"font-weight:\nbold\">[Updates from November 13th 2011]</span> Recently, I've made\nsome changes to the codebase that cause some of the text above to no\nlonger be current. I've left the text intact, but added markers at the\npassages that are now inaccurate. The new situation is described\nbelow.</p>\n</section>\n<section id=\"btree\">\n  <h2>Content Representation</h2>\n\n<p>The original implementation of CodeMirror 2 represented the\ndocument as a flat array of line objects. This worked well—splicing\narrays will require the part of the array after the splice to be\nmoved, but this is basically just a simple <code>memmove</code> of a\nbunch of pointers, so it is cheap even for huge documents.</p>\n\n<p>However, I recently added line wrapping and code folding (line\ncollapsing, basically). Once lines start taking up a non-constant\namount of vertical space, looking up a line by vertical position\n(which is needed when someone clicks the document, and to determine\nthe visible part of the document during scrolling) can only be done\nwith a linear scan through the whole array, summing up line heights as\nyou go. Seeing how I've been going out of my way to make big documents\nfast, this is not acceptable.</p>\n\n<p>The new representation is based on a B-tree. The leaves of the tree\ncontain arrays of line objects, with a fixed minimum and maximum size,\nand the non-leaf nodes simply hold arrays of child nodes. Each node\nstores both the amount of lines that live below them and the vertical\nspace taken up by these lines. This allows the tree to be indexed both\nby line number and by vertical position, and all access has\nlogarithmic complexity in relation to the document size.</p>\n\n<p>I gave line objects and tree nodes parent pointers, to the node\nabove them. When a line has to update its height, it can simply walk\nthese pointers to the top of the tree, adding or subtracting the\ndifference in height from each node it encounters. The parent pointers\nalso make it cheaper (in complexity terms, the difference is probably\ntiny in normal-sized documents) to find the current line number when\ngiven a line object. In the old approach, the whole document array had\nto be searched. Now, we can just walk up the tree and count the sizes\nof the nodes coming before us at each level.</p>\n\n<p>I chose B-trees, not regular binary trees, mostly because they\nallow for very fast bulk insertions and deletions. When there is a big\nchange to a document, it typically involves adding, deleting, or\nreplacing a chunk of subsequent lines. In a regular balanced tree, all\nthese inserts or deletes would have to be done separately, which could\nbe really expensive. In a B-tree, to insert a chunk, you just walk\ndown the tree once to find where it should go, insert them all in one\nshot, and then break up the node if needed. This breaking up might\ninvolve breaking up nodes further up, but only requires a single pass\nback up the tree. For deletion, I'm somewhat lax in keeping things\nbalanced—I just collapse nodes into a leaf when their child count goes\nbelow a given number. This means that there are some weird editing\npatterns that may result in a seriously unbalanced tree, but even such\nan unbalanced tree will perform well, unless you spend a day making\nstrangely repeating edits to a really big document.</p>\n</section>\n<section id=\"keymap\">\n  <h2>Keymaps</h2>\n\n<p><a href=\"#approach\">Above</a>, I claimed that directly catching key\nevents for things like cursor movement is impractical because it\nrequires some browser-specific kludges. I then proceeded to explain\nsome awful <a href=\"#selection\">hacks</a> that were needed to make it\npossible for the selection changes to be detected through the\ntextarea. In fact, the second hack is about as bad as the first.</p>\n\n<p>On top of that, in the presence of user-configurable tab sizes and\ncollapsed and wrapped lines, lining up cursor movement in the textarea\nwith what's visible on the screen becomes a nightmare. Thus, I've\ndecided to move to a model where the textarea's selection is no longer\ndepended on.</p>\n\n<p>So I moved to a model where all cursor movement is handled by my\nown code. This adds support for a goal column, proper interaction of\ncursor movement with collapsed lines, and makes it possible for\nvertical movement to move through wrapped lines properly, instead of\njust treating them like non-wrapped lines.</p>\n\n<p>The key event handlers now translate the key event into a string,\nsomething like <code>Ctrl-Home</code> or <code>Shift-Cmd-R</code>, and\nuse that string to look up an action to perform. To make keybinding\ncustomizable, this lookup goes through\na <a href=\"manual.html#option_keyMap\">table</a>, using a scheme that\nallows such tables to be chained together (for example, the default\nMac bindings fall through to a table named 'emacsy', which defines\nbasic Emacs-style bindings like <code>Ctrl-F</code>, and which is also\nused by the custom Emacs bindings).</p>\n\n<p>A new\noption <a href=\"manual.html#option_extraKeys\"><code>extraKeys</code></a>\nallows ad-hoc keybindings to be defined in a much nicer way than what\nwas possible with the\nold <a href=\"manual.html#option_onKeyEvent\"><code>onKeyEvent</code></a>\ncallback. You simply provide an object mapping key identifiers to\nfunctions, instead of painstakingly looking at raw key events.</p>\n\n<p>Built-in commands map to strings, rather than functions, for\nexample <code>\"goLineUp\"</code> is the default action bound to the up\narrow key. This allows new keymaps to refer to them without\nduplicating any code. New commands can be defined by assigning to\nthe <code>CodeMirror.commands</code> object, which maps such commands\nto functions.</p>\n\n<p>The hidden textarea now only holds the current selection, with no\nextra characters around it. This has a nice advantage: polling for\ninput becomes much, much faster. If there's a big selection, this text\ndoes not have to be read from the textarea every time—when we poll,\njust noticing that something is still selected is enough to tell us\nthat no new text was typed.</p>\n\n<p>The reason that cheap polling is important is that many browsers do\nnot fire useful events on IME (input method engine) input, which is\nthe thing where people inputting a language like Japanese or Chinese\nuse multiple keystrokes to create a character or sequence of\ncharacters. Most modern browsers fire <code>input</code> when the\ncomposing is finished, but many don't fire anything when the character\nis updated <em>during</em> composition. So we poll, whenever the\neditor is focused, to provide immediate updates of the display.</p>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/manual.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: User Manual</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"docs.css\">\n<script src=\"activebookmark.js\"></script>\n\n<script src=\"../lib/codemirror.js\"></script>\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../addon/runmode/runmode.js\"></script>\n<script src=\"../addon/runmode/colorize.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../mode/css/css.js\"></script>\n<script src=\"../mode/htmlmixed/htmlmixed.js\"></script>\n<style>\n  dt { text-indent: -2em; padding-left: 2em; margin-top: 1em; }\n  dd { margin-left: 1.5em; margin-bottom: 1em; }\n  dt {margin-top: 1em;}\n  dd dl, dd dt, dd dd, dd ul { margin-top: 0; margin-bottom: 0; }\n</style>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"#overview\" class=active data-default=\"true\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"#usage\">Basic Usage</a></li>\n    <li><a href=\"#config\">Configuration</a></li>\n    <li><a href=\"#events\">Events</a></li>\n    <li><a href=\"#keymaps\">Keymaps</a></li>\n    <li><a href=\"#styling\">Customized Styling</a></li>\n    <li><a href=\"#api\">Programming API</a>\n      <ul>\n        <li><a href=\"#api_constructor\">Constructor</a></li>\n        <li><a href=\"#api_content\">Content manipulation</a></li>\n        <li><a href=\"#api_selection\">Selection</a></li>\n        <li><a href=\"#api_configuration\">Configuration</a></li>\n        <li><a href=\"#api_doc\">Document management</a></li>\n        <li><a href=\"#api_history\">History</a></li>\n        <li><a href=\"#api_marker\">Text-marking</a></li>\n        <li><a href=\"#api_decoration\">Widget, gutter, and decoration</a></li>\n        <li><a href=\"#api_sizing\">Sizing, scrolling, and positioning</a></li>\n        <li><a href=\"#api_mode\">Mode, state, and tokens</a></li>\n        <li><a href=\"#api_misc\">Miscellaneous methods</a></li>\n        <li><a href=\"#api_static\">Static properties</a></li>\n      </ul>\n    </li>\n    <li><a href=\"#addons\">Addons</a></li>\n    <li><a href=\"#modeapi\">Writing CodeMirror Modes</a></li>\n  </ul>\n</div>\n\n<article>\n\n<section class=first id=overview>\n    <h2>User manual and reference guide</h2>\n\n    <p>CodeMirror is a code-editor component that can be embedded in\n    Web pages. The core library provides <em>only</em> the editor\n    component, no accompanying buttons, auto-completion, or other IDE\n    functionality. It does provide a rich API on top of which such\n    functionality can be straightforwardly implemented. See\n    the <a href=\"#addons\">addons</a> included in the distribution,\n    and the <a href=\"https://github.com/marijnh/CodeMirror/wiki/CodeMirror-addons\">list\n    of externally hosted addons</a>, for reusable\n    implementations of extra features.</p>\n\n    <p>CodeMirror works with language-specific modes. Modes are\n    JavaScript programs that help color (and optionally indent) text\n    written in a given language. The distribution comes with a number\n    of modes (see the <a href=\"../mode/\"><code>mode/</code></a>\n    directory), and it isn't hard to <a href=\"#modeapi\">write new\n    ones</a> for other languages.</p>\n</section>\n\n<section id=usage>\n    <h2>Basic Usage</h2>\n\n    <p>The easiest way to use CodeMirror is to simply load the script\n    and style sheet found under <code>lib/</code> in the distribution,\n    plus a mode script from one of the <code>mode/</code> directories.\n    (See <a href=\"compress.html\">the compression helper</a> for an\n    easy way to combine scripts.) For example:</p>\n\n    <pre data-lang=\"text/html\">&lt;script src=\"lib/codemirror.js\">&lt;/script>\n&lt;link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n&lt;script src=\"mode/javascript/javascript.js\">&lt;/script></pre>\n\n    <p>Having done this, an editor instance can be created like\n    this:</p>\n\n    <pre data-lang=\"javascript\">var myCodeMirror = CodeMirror(document.body);</pre>\n\n    <p>The editor will be appended to the document body, will start\n    empty, and will use the mode that we loaded. To have more control\n    over the new editor, a configuration object can be passed\n    to <a href=\"#CodeMirror\"><code>CodeMirror</code></a> as a second\n    argument:</p>\n\n    <pre data-lang=\"javascript\">var myCodeMirror = CodeMirror(document.body, {\n  value: \"function myScript(){return 100;}\\n\",\n  mode:  \"javascript\"\n});</pre>\n\n    <p>This will initialize the editor with a piece of code already in\n    it, and explicitly tell it to use the JavaScript mode (which is\n    useful when multiple modes are loaded).\n    See <a href=\"#config\">below</a> for a full discussion of the\n    configuration options that CodeMirror accepts.</p>\n\n    <p>In cases where you don't want to append the editor to an\n    element, and need more control over the way it is inserted, the\n    first argument to the <code>CodeMirror</code> function can also\n    be a function that, when given a DOM element, inserts it into the\n    document somewhere. This could be used to, for example, replace a\n    textarea with a real editor:</p>\n\n    <pre data-lang=\"javascript\">var myCodeMirror = CodeMirror(function(elt) {\n  myTextArea.parentNode.replaceChild(elt, myTextArea);\n}, {value: myTextArea.value});</pre>\n\n    <p>However, for this use case, which is a common way to use\n    CodeMirror, the library provides a much more powerful\n    shortcut:</p>\n\n    <pre data-lang=\"javascript\">var myCodeMirror = CodeMirror.fromTextArea(myTextArea);</pre>\n\n    <p>This will, among other things, ensure that the textarea's value\n    is updated with the editor's contents when the form (if it is part\n    of a form) is submitted. See the <a href=\"#fromTextArea\">API\n    reference</a> for a full description of this method.</p>\n\n</section>\n<section id=config>\n    <h2>Configuration</h2>\n\n    <p>Both the <a href=\"#CodeMirror\"><code>CodeMirror</code></a>\n    function and its <code>fromTextArea</code> method take as second\n    (optional) argument an object containing configuration options.\n    Any option not supplied like this will be taken\n    from <a href=\"#defaults\"><code>CodeMirror.defaults</code></a>, an\n    object containing the default options. You can update this object\n    to change the defaults on your page.</p>\n\n    <p>Options are not checked in any way, so setting bogus option\n    values is bound to lead to odd errors.</p>\n\n    <p>These are the supported options:</p>\n\n    <dl>\n      <dt id=\"option_value\"><code><strong>value</strong>: string|CodeMirror.Doc</code></dt>\n      <dd>The starting value of the editor. Can be a string, or\n      a <a href=\"#api_doc\">document object</a>.</dd>\n\n      <dt id=\"option_mode\"><code><strong>mode</strong>: string|object</code></dt>\n      <dd>The mode to use. When not given, this will default to the\n      first mode that was loaded. It may be a string, which either\n      simply names the mode or is\n      a <a href=\"http://en.wikipedia.org/wiki/MIME\">MIME</a> type\n      associated with the mode. Alternatively, it may be an object\n      containing configuration options for the mode, with\n      a <code>name</code> property that names the mode (for\n      example <code>{name: \"javascript\", json: true}</code>). The demo\n      pages for each mode contain information about what configuration\n      parameters the mode supports. You can ask CodeMirror which modes\n      and MIME types have been defined by inspecting\n      the <code>CodeMirror.modes</code>\n      and <code>CodeMirror.mimeModes</code> objects. The first maps\n      mode names to their constructors, and the second maps MIME types\n      to mode specs.</dd>\n\n      <dt id=\"option_theme\"><code><strong>theme</strong>: string</code></dt>\n      <dd>The theme to style the editor with. You must make sure the\n      CSS file defining the corresponding <code>.cm-s-[name]</code>\n      styles is loaded (see\n      the <a href=\"../theme/\"><code>theme</code></a> directory in the\n      distribution). The default is <code>\"default\"</code>, for which\n      colors are included in <code>codemirror.css</code>. It is\n      possible to use multiple theming classes at once—for\n      example <code>\"foo bar\"</code> will assign both\n      the <code>cm-s-foo</code> and the <code>cm-s-bar</code> classes\n      to the editor.</dd>\n\n      <dt id=\"option_indentUnit\"><code><strong>indentUnit</strong>: integer</code></dt>\n      <dd>How many spaces a block (whatever that means in the edited\n      language) should be indented. The default is 2.</dd>\n\n      <dt id=\"option_smartIndent\"><code><strong>smartIndent</strong>: boolean</code></dt>\n      <dd>Whether to use the context-sensitive indentation that the\n      mode provides (or just indent the same as the line before).\n      Defaults to true.</dd>\n\n      <dt id=\"option_tabSize\"><code><strong>tabSize</strong>: integer</code></dt>\n      <dd>The width of a tab character. Defaults to 4.</dd>\n\n      <dt id=\"option_indentWithTabs\"><code><strong>indentWithTabs</strong>: boolean</code></dt>\n      <dd>Whether, when indenting, the first N*<code>tabSize</code>\n      spaces should be replaced by N tabs. Default is false.</dd>\n\n      <dt id=\"option_electricChars\"><code><strong>electricChars</strong>: boolean</code></dt>\n      <dd>Configures whether the editor should re-indent the current\n      line when a character is typed that might change its proper\n      indentation (only works if the mode supports indentation).\n      Default is true.</dd>\n\n      <dt id=\"option_specialChars\"><code><strong>specialChars</strong>: RegExp</code></dt>\n      <dd>A regular expression used to determine which characters\n      should be replaced by a\n      special <a href=\"#option_specialCharPlaceholder\">placeholder</a>.\n      Mostly useful for non-printing special characters. The default\n      is <code>/[\\u0000-\\u0019\\u00ad\\u200b\\u2028\\u2029\\ufeff]/</code>.</dd>\n      <dt id=\"option_specialCharPlaceholder\"><code><strong>specialCharPlaceholder</strong>: function(char) → Element</code></dt>\n      <dd>A function that, given a special character identified by\n      the <a href=\"#option_specialChars\"><code>specialChars</code></a>\n      option, produces a DOM node that is used to represent the\n      character. By default, a red dot (<span style=\"color: red\">•</span>)\n      is shown, with a title tooltip to indicate the character code.</dd>\n\n      <dt id=\"option_rtlMoveVisually\"><code><strong>rtlMoveVisually</strong>: boolean</code></dt>\n      <dd>Determines whether horizontal cursor movement through\n      right-to-left (Arabic, Hebrew) text is visual (pressing the left\n      arrow moves the cursor left) or logical (pressing the left arrow\n      moves to the next lower index in the string, which is visually\n      right in right-to-left text). The default is <code>false</code>\n      on Windows, and <code>true</code> on other platforms.</dd>\n\n      <dt id=\"option_keyMap\"><code><strong>keyMap</strong>: string</code></dt>\n      <dd>Configures the keymap to use. The default\n      is <code>\"default\"</code>, which is the only keymap defined\n      in <code>codemirror.js</code> itself. Extra keymaps are found in\n      the <a href=\"../keymap/\"><code>keymap</code></a> directory. See\n      the <a href=\"#keymaps\">section on keymaps</a> for more\n      information.</dd>\n\n      <dt id=\"option_extraKeys\"><code><strong>extraKeys</strong>: object</code></dt>\n      <dd>Can be used to specify extra keybindings for the editor,\n      alongside the ones defined\n      by <a href=\"#option_keyMap\"><code>keyMap</code></a>. Should be\n      either null, or a valid <a href=\"#keymaps\">keymap</a> value.</dd>\n\n      <dt id=\"option_lineWrapping\"><code><strong>lineWrapping</strong>: boolean</code></dt>\n      <dd>Whether CodeMirror should scroll or wrap for long lines.\n      Defaults to <code>false</code> (scroll).</dd>\n\n      <dt id=\"option_lineNumbers\"><code><strong>lineNumbers</strong>: boolean</code></dt>\n      <dd>Whether to show line numbers to the left of the editor.</dd>\n\n      <dt id=\"option_firstLineNumber\"><code><strong>firstLineNumber</strong>: integer</code></dt>\n      <dd>At which number to start counting lines. Default is 1.</dd>\n\n      <dt id=\"option_lineNumberFormatter\"><code><strong>lineNumberFormatter</strong>: function(line: integer) → string</code></dt>\n      <dd>A function used to format line numbers. The function is\n      passed the line number, and should return a string that will be\n      shown in the gutter.</dd>\n\n      <dt id=\"option_gutters\"><code><strong>gutters</strong>: array&lt;string&gt;</code></dt>\n      <dd>Can be used to add extra gutters (beyond or instead of the\n      line number gutter). Should be an array of CSS class names, each\n      of which defines a <code>width</code> (and optionally a\n      background), and which will be used to draw the background of\n      the gutters. <em>May</em> include\n      the <code>CodeMirror-linenumbers</code> class, in order to\n      explicitly set the position of the line number gutter (it will\n      default to be to the right of all other gutters). These class\n      names are the keys passed\n      to <a href=\"#setGutterMarker\"><code>setGutterMarker</code></a>.</dd>\n\n      <dt id=\"option_fixedGutter\"><code><strong>fixedGutter</strong>: boolean</code></dt>\n      <dd>Determines whether the gutter scrolls along with the content\n      horizontally (false) or whether it stays fixed during horizontal\n      scrolling (true, the default).</dd>\n\n      <dt id=\"option_coverGutterNextToScrollbar\"><code><strong>coverGutterNextToScrollbar</strong>: boolean</code></dt>\n      <dd>When <a href=\"#option_fixedGutter\"><code>fixedGutter</code></a>\n      is on, and there is a horizontal scrollbar, by default the\n      gutter will be visible to the left of this scrollbar. If this\n      option is set to true, it will be covered by an element with\n      class <code>CodeMirror-gutter-filler</code>.</dd>\n\n      <dt id=\"option_readOnly\"><code><strong>readOnly</strong>: boolean|string</code></dt>\n      <dd>This disables editing of the editor content by the user. If\n      the special value <code>\"nocursor\"</code> is given (instead of\n      simply <code>true</code>), focusing of the editor is also\n      disallowed.</dd>\n\n      <dt id=\"option_showCursorWhenSelecting\"><code><strong>showCursorWhenSelecting</strong>: boolean</code></dt>\n      <dd>Whether the cursor should be drawn when a selection is\n      active. Defaults to false.</dd>\n\n      <dt id=\"option_undoDepth\"><code><strong>undoDepth</strong>: integer</code></dt>\n      <dd>The maximum number of undo levels that the editor stores.\n      Defaults to 40.</dd>\n\n      <dt id=\"option_historyEventDelay\"><code><strong>historyEventDelay</strong>: integer</code></dt>\n      <dd>The period of inactivity (in milliseconds) that will cause a\n      new history event to be started when typing or deleting.\n      Defaults to 500.</dd>\n\n      <dt id=\"option_tabindex\"><code><strong>tabindex</strong>: integer</code></dt>\n      <dd>The <a href=\"http://www.w3.org/TR/html401/interact/forms.html#adef-tabindex\">tab\n      index</a> to assign to the editor. If not given, no tab index\n      will be assigned.</dd>\n\n      <dt id=\"option_autofocus\"><code><strong>autofocus</strong>: boolean</code></dt>\n      <dd>Can be used to make CodeMirror focus itself on\n      initialization. Defaults to off.\n      When <a href=\"#fromTextArea\"><code>fromTextArea</code></a> is\n      used, and no explicit value is given for this option, it will be\n      set to true when either the source textarea is focused, or it\n      has an <code>autofocus</code> attribute and no other element is\n      focused.</dd>\n    </dl>\n\n    <p>Below this a few more specialized, low-level options are\n    listed. These are only useful in very specific situations, you\n    might want to skip them the first time you read this manual.</p>\n\n    <dl>\n      <dt id=\"option_dragDrop\"><code><strong>dragDrop</strong>: boolean</code></dt>\n      <dd>Controls whether drag-and-drop is enabled. On by default.</dd>\n\n      <dt id=\"option_onDragEvent\"><code><strong>onDragEvent</strong>: function(instance: CodeMirror, event: Event) → boolean</code></dt>\n      <dd><em>Deprecated! See <a href=\"#event_dom\">these</a> event\n      handlers for the current recommended approach.</em><br>When given,\n      this will be called when the editor is handling\n      a <code>dragenter</code>, <code>dragover</code>,\n      or <code>drop</code> event. It will be passed the editor\n      instance and the event object as arguments. The callback can\n      choose to handle the event itself, in which case it should\n      return <code>true</code> to indicate that CodeMirror should not\n      do anything further.</dd>\n\n      <dt id=\"option_onKeyEvent\"><code><strong>onKeyEvent</strong>: function(instance: CodeMirror, event: Event) → boolean</code></dt>\n      <dd><em>Deprecated! See <a href=\"#event_dom\">these</a> event\n      handlers for the current recommended approach.</em><br>This\n      provides a rather low-level hook into CodeMirror's key handling.\n      If provided, this function will be called on\n      every <code>keydown</code>, <code>keyup</code>,\n      and <code>keypress</code> event that CodeMirror captures. It\n      will be passed two arguments, the editor instance and the key\n      event. This key event is pretty much the raw key event, except\n      that a <code>stop()</code> method is always added to it. You\n      could feed it to, for example, <code>jQuery.Event</code> to\n      further normalize it.<br>This function can inspect the key\n      event, and handle it if it wants to. It may return true to tell\n      CodeMirror to ignore the event. Be wary that, on some browsers,\n      stopping a <code>keydown</code> does not stop\n      the <code>keypress</code> from firing, whereas on others it\n      does. If you respond to an event, you should probably inspect\n      its <code>type</code> property and only do something when it\n      is <code>keydown</code> (or <code>keypress</code> for actions\n      that need character data).</dd>\n\n      <dt id=\"option_cursorBlinkRate\"><code><strong>cursorBlinkRate</strong>: number</code></dt>\n      <dd>Half-period in milliseconds used for cursor blinking. The default blink\n      rate is 530ms. By setting this to zero, blinking can be disabled.</dd>\n\n      <dt id=\"option_cursorScrollMargin\"><code><strong>cursorScrollMargin</strong>: number</code></dt>\n      <dd>How much extra space to always keep above and below the\n      cursor when approaching the top or bottom of the visible view in\n      a scrollable document. Default is 0.</dd>\n\n      <dt id=\"option_cursorHeight\"><code><strong>cursorHeight</strong>: number</code></dt>\n      <dd>Determines the height of the cursor. Default is 1, meaning\n      it spans the whole height of the line. For some fonts (and by\n      some tastes) a smaller height (for example <code>0.85</code>),\n      which causes the cursor to not reach all the way to the bottom\n      of the line, looks better</dd>\n\n      <dt id=\"option_resetSelectionOnContextMenu\"><code><strong>resetSelectionOnContextMenu</strong>: boolean</code></dt>\n      <dd>Controls whether, when the context menu is opened with a\n      click outside of the current selection, the cursor is moved to\n      the point of the click. Defaults to <code>true</code>.</dd>\n\n      <dt id=\"option_workTime\"><code><strong>workTime</strong>, <strong>workDelay</strong>: number</code></dt>\n      <dd>Highlighting is done by a pseudo background-thread that will\n      work for <code>workTime</code> milliseconds, and then use\n      timeout to sleep for <code>workDelay</code> milliseconds. The\n      defaults are 200 and 300, you can change these options to make\n      the highlighting more or less aggressive.</dd>\n\n      <dt id=\"option_workDelay\"><code><strong>workDelay</strong>: number</code></dt>\n      <dd>See <a href=\"#option_workTime\"><code>workTime</code></a>.</dd>\n\n      <dt id=\"option_pollInterval\"><code><strong>pollInterval</strong>: number</code></dt>\n      <dd>Indicates how quickly CodeMirror should poll its input\n      textarea for changes (when focused). Most input is captured by\n      events, but some things, like IME input on some browsers, don't\n      generate events that allow CodeMirror to properly detect it.\n      Thus, it polls. Default is 100 milliseconds.</dd>\n\n      <dt id=\"option_flattenSpans\"><code><strong>flattenSpans</strong>: boolean</code></dt>\n      <dd>By default, CodeMirror will combine adjacent tokens into a\n      single span if they have the same class. This will result in a\n      simpler DOM tree, and thus perform better. With some kinds of\n      styling (such as rounded corners), this will change the way the\n      document looks. You can set this option to false to disable this\n      behavior.</dd>\n\n      <dt id=\"option_maxHighlightLength\"><code><strong>maxHighlightLength</strong>: number</code></dt>\n      <dd>When highlighting long lines, in order to stay responsive,\n      the editor will give up and simply style the rest of the line as\n      plain text when it reaches a certain position. The default is\n      10 000. You can set this to <code>Infinity</code> to turn off\n      this behavior.</dd>\n\n      <dt id=\"option_crudeMeasuringFrom\"><code><strong>crudeMeasuringFrom</strong>: number</code></dt>\n      <dd>When measuring the character positions in long lines, any\n      line longer than this number (default is 10 000),\n      when <a href=\"#option_lineWrapping\">line wrapping</a>\n      is <strong>off</strong>, will simply be assumed to consist of\n      same-sized characters. This means that, on the one hand,\n      measuring will be inaccurate when characters of varying size,\n      right-to-left text, markers, or other irregular elements are\n      present. On the other hand, it means that having such a line\n      won't freeze the user interface because of the expensiveness of\n      the measurements.</dd>\n\n      <dt id=\"option_viewportMargin\"><code><strong>viewportMargin</strong>: integer</code></dt>\n      <dd>Specifies the amount of lines that are rendered above and\n      below the part of the document that's currently scrolled into\n      view. This affects the amount of updates needed when scrolling,\n      and the amount of work that such an update does. You should\n      usually leave it at its default, 10. Can be set\n      to <code>Infinity</code> to make sure the whole document is\n      always rendered, and thus the browser's text search works on it.\n      This <em>will</em> have bad effects on performance of big\n      documents.</dd>\n    </dl>\n</section>\n\n<section id=events>\n    <h2>Events</h2>\n\n    <p>Various CodeMirror-related objects emit events, which allow\n    client code to react to various situations. Handlers for such\n    events can be registed with the <a href=\"#on\"><code>on</code></a>\n    and <a href=\"#off\"><code>off</code></a> methods on the objects\n    that the event fires on. To fire your own events,\n    use <code>CodeMirror.signal(target, name, args...)</code>,\n    where <code>target</code> is a non-DOM-node object.</p>\n\n    <p>An editor instance fires the following events.\n    The <code>instance</code> argument always refers to the editor\n    itself.</p>\n\n    <dl>\n      <dt id=\"event_change\"><code><strong>\"change\"</strong> (instance: CodeMirror, changeObj: object)</code></dt>\n      <dd>Fires every time the content of the editor is changed.\n      The <code>changeObj</code> is a <code>{from, to, text, removed,\n      next}</code> object containing information about the changes\n      that occurred as second argument. <code>from</code>\n      and <code>to</code> are the positions (in the pre-change\n      coordinate system) where the change started and ended (for\n      example, it might be <code>{ch:0, line:18}</code> if the\n      position is at the beginning of line #19). <code>text</code> is\n      an array of strings representing the text that replaced the\n      changed range (split by line). <code>removed</code> is the text\n      that used to be between <code>from</code> and <code>to</code>,\n      which is overwritten by this change. If multiple changes\n      happened during a single operation, the object will have\n      a <code>next</code> property pointing to another change object\n      (which may point to another, etc).</dd>\n\n      <dt id=\"event_beforeChange\"><code><strong>\"beforeChange\"</strong> (instance: CodeMirror, changeObj: object)</code></dt>\n      <dd>This event is fired before a change is applied, and its\n      handler may choose to modify or cancel the change.\n      The <code>changeObj</code> object\n      has <code>from</code>, <code>to</code>, and <code>text</code>\n      properties, as with\n      the <a href=\"#event_change\"><code>\"change\"</code></a> event, but\n      never a <code>next</code> property, since this is fired for each\n      individual change, and not batched per operation. It also has\n      a <code>cancel()</code> method, which can be called to cancel\n      the change, and, <strong>if</strong> the change isn't coming\n      from an undo or redo event, an <code>update(from, to,\n      text)</code> method, which may be used to modify the change.\n      Undo or redo changes can't be modified, because they hold some\n      metainformation for restoring old marked ranges that is only\n      valid for that specific change. All three arguments\n      to <code>update</code> are optional, and can be left off to\n      leave the existing value for that field\n      intact. <strong>Note:</strong> you may not do anything from\n      a <code>\"beforeChange\"</code> handler that would cause changes\n      to the document or its visualization. Doing so will, since this\n      handler is called directly from the bowels of the CodeMirror\n      implementation, probably cause the editor to become\n      corrupted.</dd>\n\n      <dt id=\"event_cursorActivity\"><code><strong>\"cursorActivity\"</strong> (instance: CodeMirror)</code></dt>\n      <dd>Will be fired when the cursor or selection moves, or any\n      change is made to the editor content.</dd>\n\n      <dt id=\"event_keyHandled\"><code><strong>\"keyHandled\"</strong> (instance: CodeMirror, name: string, event: Event)</code></dt>\n      <dd>Fired after a key is handled through a\n      keymap. <code>name</code> is the name of the handled key (for\n      example <code>\"Ctrl-X\"</code> or <code>\"'q'\"</code>),\n      and <code>event</code> is the DOM <code>keydown</code>\n      or <code>keypress</code> event.</dd>\n\n      <dt id=\"event_inputRead\"><code><strong>\"inputRead\"</strong> (instance: CodeMirror, changeObj: object)</code></dt>\n      <dd>Fired whenever new input is read from the hidden textarea\n      (typed or pasted by the user).</dd>\n\n      <dt id=\"event_beforeSelectionChange\"><code><strong>\"beforeSelectionChange\"</strong> (instance: CodeMirror, selection: {head, anchor})</code></dt>\n      <dd>This event is fired before the selection is moved. Its\n      handler may modify the resulting selection head and anchor.\n      The <code>selection</code> parameter is an object\n      with <code>head</code> and <code>anchor</code> properties\n      holding <code>{line, ch}</code> objects, which the handler can\n      read and update. Handlers for this event have the same\n      restriction\n      as <a href=\"#event_beforeChange\"><code>\"beforeChange\"</code></a>\n      handlers — they should not do anything to directly update the\n      state of the editor.</dd>\n\n      <dt id=\"event_viewportChange\"><code><strong>\"viewportChange\"</strong> (instance: CodeMirror, from: number, to: number)</code></dt>\n      <dd>Fires whenever the <a href=\"#getViewport\">view port</a> of\n      the editor changes (due to scrolling, editing, or any other\n      factor). The <code>from</code> and <code>to</code> arguments\n      give the new start and end of the viewport.</dd>\n\n      <dt id=\"event_swapDoc\"><code><strong>\"swapDoc\"</strong> (instance: CodeMirror, oldDoc: Doc)</code></dt>\n      <dd>This is signalled when the editor's document is replaced\n      using the <a href=\"#swapDoc\"><code>swapDoc</code></a>\n      method.</dd>\n\n      <dt id=\"event_gutterClick\"><code><strong>\"gutterClick\"</strong> (instance: CodeMirror, line: integer, gutter: string, clickEvent: Event)</code></dt>\n      <dd>Fires when the editor gutter (the line-number area) is\n      clicked. Will pass the editor instance as first argument, the\n      (zero-based) number of the line that was clicked as second\n      argument, the CSS class of the gutter that was clicked as third\n      argument, and the raw <code>mousedown</code> event object as\n      fourth argument.</dd>\n\n      <dt id=\"event_gutterContextMenu\"><code><strong>\"gutterContextMenu\"</strong> (instance: CodeMirror, line: integer, gutter: string, contextMenu: Event: Event)</code></dt>\n      <dd>Fires when the editor gutter (the line-number area)\n      receives a <code>contextmenu</code> event. Will pass the editor\n      instance as first argument, the (zero-based) number of the line\n      that was clicked as second argument, the CSS class of the\n      gutter that was clicked as third argument, and the raw\n      <code>contextmenu</code> mouse event object as fourth argument.\n      You can <code>preventDefault</code> the event, to signal that\n      CodeMirror should do no further handling.</dd>\n\n      <dt id=\"event_focus\"><code><strong>\"focus\"</strong> (instance: CodeMirror)</code></dt>\n      <dd>Fires whenever the editor is focused.</dd>\n\n      <dt id=\"event_blur\"><code><strong>\"blur\"</strong> (instance: CodeMirror)</code></dt>\n      <dd>Fires whenever the editor is unfocused.</dd>\n\n      <dt id=\"event_scroll\"><code><strong>\"scroll\"</strong> (instance: CodeMirror)</code></dt>\n      <dd>Fires when the editor is scrolled.</dd>\n\n      <dt id=\"event_update\"><code><strong>\"update\"</strong> (instance: CodeMirror)</code></dt>\n      <dd>Will be fired whenever CodeMirror updates its DOM display.</dd>\n\n      <dt id=\"event_renderLine\"><code><strong>\"renderLine\"</strong> (instance: CodeMirror, line: LineHandle, element: Element)</code></dt>\n      <dd>Fired whenever a line is (re-)rendered to the DOM. Fired\n      right after the DOM element is built, <em>before</em> it is\n      added to the document. The handler may mess with the style of\n      the resulting element, or add event handlers, but\n      should <em>not</em> try to change the state of the editor.</dd>\n\n      <dt id=\"event_dom\"><code><strong>\"mousedown\"</strong>,\n      <strong>\"dblclick\"</strong>, <strong>\"contextmenu\"</strong>, <strong>\"keydown\"</strong>, <strong>\"keypress\"</strong>,\n      <strong>\"keyup\"</strong>, <strong>\"dragstart\"</strong>, <strong>\"dragenter\"</strong>,\n      <strong>\"dragover\"</strong>, <strong>\"drop\"</strong>\n      (instance: CodeMirror, event: Event)</code></dt>\n      <dd>Fired when CodeMirror is handling a DOM event of this type.\n      You can <code>preventDefault</code> the event, or give it a\n      truthy <code>codemirrorIgnore</code> property, to signal that\n      CodeMirror should do no further handling.</dd>\n    </dl>\n\n    <p>Document objects (instances\n    of <a href=\"#Doc\"><code>CodeMirror.Doc</code></a>) emit the\n    following events:</p>\n\n    <dl>\n      <dt id=\"event_doc_change\"><code><strong>\"change\"</strong> (doc: CodeMirror.Doc, changeObj: object)</code></dt>\n      <dd>Fired whenever a change occurs to the\n      document. <code>changeObj</code> has a similar type as the\n      object passed to the\n      editor's <a href=\"#event_change\"><code>\"change\"</code></a>\n      event, but it never has a <code>next</code> property, because\n      document change events are not batched (whereas editor change\n      events are).</dd>\n\n      <dt id=\"event_doc_beforeChange\"><code><strong>\"beforeChange\"</strong> (doc: CodeMirror.Doc, change: object)</code></dt>\n      <dd>See the <a href=\"#event_beforeChange\">description of the\n      same event</a> on editor instances.</dd>\n\n      <dt id=\"event_doc_cursorActivity\"><code><strong>\"cursorActivity\"</strong> (doc: CodeMirror.Doc)</code></dt>\n      <dd>Fired whenever the cursor or selection in this document\n      changes.</dd>\n\n      <dt id=\"event_doc_beforeSelectionChange\"><code><strong>\"beforeSelectionChange\"</strong> (doc: CodeMirror.Doc, selection: {head, anchor})</code></dt>\n      <dd>Equivalent to\n      the <a href=\"#event_beforeSelectionChange\">event by the same\n      name</a> as fired on editor instances.</dd>\n    </dl>\n\n    <p>Line handles (as returned by, for\n    example, <a href=\"#getLineHandle\"><code>getLineHandle</code></a>)\n    support these events:</p>\n\n    <dl>\n      <dt id=\"event_delete\"><code><strong>\"delete\"</strong> ()</code></dt>\n      <dd>Will be fired when the line object is deleted. A line object\n      is associated with the <em>start</em> of the line. Mostly useful\n      when you need to find out when your <a href=\"#setGutterMarker\">gutter\n      markers</a> on a given line are removed.</dd>\n      <dt id=\"event_line_change\"><code><strong>\"change\"</strong> (line: LineHandle, changeObj: object)</code></dt>\n      <dd>Fires when the line's text content is changed in any way\n      (but the line is not deleted outright). The <code>change</code>\n      object is similar to the one passed\n      to <a href=\"#event_change\">change event</a> on the editor\n      object.</dd>\n    </dl>\n\n    <p>Marked range handles (<code>CodeMirror.TextMarker</code>), as returned\n    by <a href=\"#markText\"><code>markText</code></a>\n    and <a href=\"#setBookmark\"><code>setBookmark</code></a>, emit the\n    following events:</p>\n\n    <dl>\n      <dt id=\"event_beforeCursorEnter\"><code><strong>\"beforeCursorEnter\"</strong> ()</code></dt>\n      <dd>Fired when the cursor enters the marked range. From this\n      event handler, the editor state may be inspected\n      but <em>not</em> modified, with the exception that the range on\n      which the event fires may be cleared.</dd>\n      <dt id=\"event_clear\"><code><strong>\"clear\"</strong> (from: {line, ch}, to: {line, ch})</code></dt>\n      <dd>Fired when the range is cleared, either through cursor\n      movement in combination\n      with <a href=\"#mark_clearOnEnter\"><code>clearOnEnter</code></a>\n      or through a call to its <code>clear()</code> method. Will only\n      be fired once per handle. Note that deleting the range through\n      text editing does not fire this event, because an undo action\n      might bring the range back into existence. <code>from</code>\n      and <code>to</code> give the part of the document that the range\n      spanned when it was cleared.</dd>\n      <dt id=\"event_hide\"><code><strong>\"hide\"</strong> ()</code></dt>\n      <dd>Fired when the last part of the marker is removed from the\n      document by editing operations.</dd>\n      <dt id=\"event_unhide\"><code><strong>\"unhide\"</strong> ()</code></dt>\n      <dd>Fired when, after the marker was removed by editing, a undo\n      operation brought the marker back.</dd>\n    </dl>\n\n    <p>Line widgets (<code>CodeMirror.LineWidget</code>), returned\n    by <a href=\"#addLineWidget\"><code>addLineWidget</code></a>, fire\n    these events:</p>\n\n    <dl>\n      <dt id=\"event_redraw\"><code><strong>\"redraw\"</strong> ()</code></dt>\n      <dd>Fired whenever the editor re-adds the widget to the DOM.\n      This will happen once right after the widget is added (if it is\n      scrolled into view), and then again whenever it is scrolled out\n      of view and back in again, or when changes to the editor options\n      or the line the widget is on require the widget to be\n      redrawn.</dd>\n    </dl>\n</section>\n\n<section id=keymaps>\n    <h2>Keymaps</h2>\n\n    <p>Keymaps are ways to associate keys with functionality. A keymap\n    is an object mapping strings that identify the keys to functions\n    that implement their functionality.</p>\n\n    <p>Keys are identified either by name or by character.\n    The <code>CodeMirror.keyNames</code> object defines names for\n    common keys and associates them with their key codes. Examples of\n    names defined here are <code>Enter</code>, <code>F5</code>,\n    and <code>Q</code>. These can be prefixed\n    with <code>Shift-</code>, <code>Cmd-</code>, <code>Ctrl-</code>,\n    and <code>Alt-</code> (in that order!) to specify a modifier. So\n    for example, <code>Shift-Ctrl-Space</code> would be a valid key\n    identifier.</p>\n\n    <p>Common example: map the Tab key to insert spaces instead of a tab\n    character.</p>\n\n    <pre data-lang=\"javascript\">\n{\n  Tab: function(cm) {\n    var spaces = Array(cm.getOption(\"indentUnit\") + 1).join(\" \");\n    cm.replaceSelection(spaces, \"end\", \"+input\");\n  }\n}</pre>\n\n    <p>Alternatively, a character can be specified directly by\n    surrounding it in single quotes, for example <code>'$'</code>\n    or <code>'q'</code>. Due to limitations in the way browsers fire\n    key events, these may not be prefixed with modifiers.</p>\n\n    <p>The <code>CodeMirror.keyMap</code> object associates keymaps\n    with names. User code and keymap definitions can assign extra\n    properties to this object. Anywhere where a keymap is expected, a\n    string can be given, which will be looked up in this object. It\n    also contains the <code>\"default\"</code> keymap holding the\n    default bindings.</p>\n\n    <p id=\"commands\">The values of properties in keymaps can be either functions of\n    a single argument (the CodeMirror instance), strings, or\n    <code>false</code>. Such strings refer to properties of the\n    <code>CodeMirror.commands</code> object, which defines a number of\n    common commands that are used by the default keybindings, and maps\n    them to functions. If the property is set to <code>false</code>,\n    CodeMirror leaves handling of the key up to the browser. A key\n    handler function may return <code>CodeMirror.Pass</code> to indicate\n    that it has decided not to handle the key, and other handlers (or\n    the default behavior) should be given a turn.</p>\n\n    <p>Keys mapped to command names that start with the\n    characters <code>\"go\"</code> (which should be used for\n    cursor-movement actions) will be fired even when an\n    extra <code>Shift</code> modifier is present (i.e. <code>\"Up\":\n    \"goLineUp\"</code> matches both up and shift-up). This is used to\n    easily implement shift-selection.</p>\n\n    <p>Keymaps can defer to each other by defining\n    a <code>fallthrough</code> property. This indicates that when a\n    key is not found in the map itself, one or more other maps should\n    be searched. It can hold either a single keymap or an array of\n    keymaps.</p>\n\n    <p>When a keymap contains a <code>nofallthrough</code> property\n    set to <code>true</code>, keys matched against that map will be\n    ignored if they don't match any of the bindings in the map (no\n    further child maps will be tried). When\n    the <code>disableInput</code> property is set\n    to <code>true</code>, the default effect of inserting a character\n    will be suppressed when the keymap is active as the top-level\n    map.</p>\n</section>\n\n<section id=styling>\n    <h2>Customized Styling</h2>\n\n    <p>Up to a certain extent, CodeMirror's look can be changed by\n    modifying style sheet files. The style sheets supplied by modes\n    simply provide the colors for that mode, and can be adapted in a\n    very straightforward way. To style the editor itself, it is\n    possible to alter or override the styles defined\n    in <a href=\"../lib/codemirror.css\"><code>codemirror.css</code></a>.</p>\n\n    <p>Some care must be taken there, since a lot of the rules in this\n    file are necessary to have CodeMirror function properly. Adjusting\n    colors should be safe, of course, and with some care a lot of\n    other things can be changed as well. The CSS classes defined in\n    this file serve the following roles:</p>\n\n    <dl>\n      <dt id=\"class_CodeMirror\"><code><strong>CodeMirror</strong></code></dt>\n      <dd>The outer element of the editor. This should be used for the\n      editor width, height, borders and positioning. Can also be used\n      to set styles that should hold for everything inside the editor\n      (such as font and font size), or to set a background.</dd>\n\n      <dt id=\"class_CodeMirror_scroll\"><code><strong>CodeMirror-scroll</strong></code></dt>\n      <dd>Whether the editor scrolls (<code>overflow: auto</code> +\n      fixed height). By default, it does. Setting\n      the <code>CodeMirror</code> class to have <code>height:\n      auto</code> and giving this class <code>overflow-x: auto;\n      overflow-y: hidden;</code> will cause the editor\n      to <a href=\"../demo/resize.html\">resize to fit its\n      content</a>.</dd>\n\n      <dt id=\"class_CodeMirror_focused\"><code><strong>CodeMirror-focused</strong></code></dt>\n      <dd>Whenever the editor is focused, the top element gets this\n      class. This is used to hide the cursor and give the selection a\n      different color when the editor is not focused.</dd>\n\n      <dt id=\"class_CodeMirror_gutters\"><code><strong>CodeMirror-gutters</strong></code></dt>\n      <dd>This is the backdrop for all gutters. Use it to set the\n      default gutter background color, and optionally add a border on\n      the right of the gutters.</dd>\n\n      <dt id=\"class_CodeMirror_linenumbers\"><code><strong>CodeMirror-linenumbers</strong></code></dt>\n      <dd>Use this for giving a background or width to the line number\n      gutter.</dd>\n\n      <dt id=\"class_CodeMirror_linenumber\"><code><strong>CodeMirror-linenumber</strong></code></dt>\n      <dd>Used to style the actual individual line numbers. These\n      won't be children of the <code>CodeMirror-linenumbers</code>\n      (plural) element, but rather will be absolutely positioned to\n      overlay it. Use this to set alignment and text properties for\n      the line numbers.</dd>\n\n      <dt id=\"class_CodeMirror_lines\"><code><strong>CodeMirror-lines</strong></code></dt>\n      <dd>The visible lines. This is where you specify vertical\n      padding for the editor content.</dd>\n\n      <dt id=\"class_CodeMirror_cursor\"><code><strong>CodeMirror-cursor</strong></code></dt>\n      <dd>The cursor is a block element that is absolutely positioned.\n      You can make it look whichever way you want.</dd>\n\n      <dt id=\"class_CodeMirror_selected\"><code><strong>CodeMirror-selected</strong></code></dt>\n      <dd>The selection is represented by <code>span</code> elements\n      with this class.</dd>\n\n      <dt id=\"class_CodeMirror_matchingbracket\"><code><strong>CodeMirror-matchingbracket</strong></code>,\n        <code><strong>CodeMirror-nonmatchingbracket</strong></code></dt>\n      <dd>These are used to style matched (or unmatched) brackets.</dd>\n    </dl>\n\n    <p>If your page's style sheets do funky things to\n    all <code>div</code> or <code>pre</code> elements (you probably\n    shouldn't do that), you'll have to define rules to cancel these\n    effects out again for elements under the <code>CodeMirror</code>\n    class.</p>\n\n    <p>Themes are also simply CSS files, which define colors for\n    various syntactic elements. See the files in\n    the <a href=\"../theme/\"><code>theme</code></a> directory.</p>\n</section>\n\n<section id=api>\n    <h2>Programming API</h2>\n\n    <p>A lot of CodeMirror features are only available through its\n    API. Thus, you need to write code (or\n    use <a href=\"#addons\">addons</a>) if you want to expose them to\n    your users.</p>\n\n    <p>Whenever points in the document are represented, the API uses\n    objects with <code>line</code> and <code>ch</code> properties.\n    Both are zero-based. CodeMirror makes sure to 'clip' any positions\n    passed by client code so that they fit inside the document, so you\n    shouldn't worry too much about sanitizing your coordinates. If you\n    give <code>ch</code> a value of <code>null</code>, or don't\n    specify it, it will be replaced with the length of the specified\n    line.</p>\n\n    <p>Methods prefixed with <code>doc.</code> can, unless otherwise\n    specified, be called both on <code>CodeMirror</code> (editor)\n    instances and <code>CodeMirror.Doc</code> instances. Methods\n    prefixed with <code>cm.</code> are <em>only</em> available\n    on <code>CodeMirror</code> instances.</p>\n\n    <h3 id=\"api_constructor\">Constructor</h3>\n\n    <p id=\"CodeMirror\">Constructing an editor instance is done with\n    the <code><strong>CodeMirror</strong>(place: Element|fn(Element),\n    ?option: object)</code> constructor. If the <code>place</code>\n    argument is a DOM element, the editor will be appended to it. If\n    it is a function, it will be called, and is expected to place the\n    editor into the document. <code>options</code> may be an element\n    mapping <a href=\"#config\">option names</a> to values. The options\n    that it doesn't explicitly specify (or all options, if it is not\n    passed) will be taken\n    from <a href=\"#defaults\"><code>CodeMirror.defaults</code></a>.</p>\n\n    <p>Note that the options object passed to the constructor will be\n    mutated when the instance's options\n    are <a href=\"#setOption\">changed</a>, so you shouldn't share such\n    objects between instances.</p>\n\n    <p>See <a href=\"#fromTextArea\"><code>CodeMirror.fromTextArea</code></a>\n    for another way to construct an editor instance.</p>\n\n    <h3 id=\"api_content\">Content manipulation methods</h3>\n\n    <dl>\n      <dt id=\"getValue\"><code><strong>doc.getValue</strong>(?separator: string) → string</code></dt>\n      <dd>Get the current editor content. You can pass it an optional\n      argument to specify the string to be used to separate lines\n      (defaults to <code>\"\\n\"</code>).</dd>\n      <dt id=\"setValue\"><code><strong>doc.setValue</strong>(content: string)</code></dt>\n      <dd>Set the editor content.</dd>\n\n      <dt id=\"getRange\"><code><strong>doc.getRange</strong>(from: {line, ch}, to: {line, ch}, ?separator: string) → string</code></dt>\n      <dd>Get the text between the given points in the editor, which\n      should be <code>{line, ch}</code> objects. An optional third\n      argument can be given to indicate the line separator string to\n      use (defaults to <code>\"\\n\"</code>).</dd>\n      <dt id=\"replaceRange\"><code><strong>doc.replaceRange</strong>(replacement: string, from: {line, ch}, to: {line, ch})</code></dt>\n      <dd>Replace the part of the document between <code>from</code>\n      and <code>to</code> with the given string. <code>from</code>\n      and <code>to</code> must be <code>{line, ch}</code>\n      objects. <code>to</code> can be left off to simply insert the\n      string at position <code>from</code>.</dd>\n\n      <dt id=\"getLine\"><code><strong>doc.getLine</strong>(n: integer) → string</code></dt>\n      <dd>Get the content of line <code>n</code>.</dd>\n      <dt id=\"setLine\"><code><strong>doc.setLine</strong>(n: integer, text: string)</code></dt>\n      <dd>Set the content of line <code>n</code>.</dd>\n      <dt id=\"removeLine\"><code><strong>doc.removeLine</strong>(n: integer)</code></dt>\n      <dd>Remove the given line from the document.</dd>\n\n      <dt id=\"lineCount\"><code><strong>doc.lineCount</strong>() → integer</code></dt>\n      <dd>Get the number of lines in the editor.</dd>\n      <dt id=\"firstLine\"><code><strong>doc.firstLine</strong>() → integer</code></dt>\n      <dd>Get the first line of the editor. This will\n      usually be zero but for <a href=\"#linkedDoc_from\">linked sub-views</a>,\n      or <a href=\"#api_doc\">documents</a> instantiated with a non-zero\n      first line, it might return other values.</dd>\n      <dt id=\"lastLine\"><code><strong>doc.lastLine</strong>() → integer</code></dt>\n      <dd>Get the last line of the editor. This will\n      usually be <code>doc.lineCount() - 1</code>,\n      but for <a href=\"#linkedDoc_from\">linked sub-views</a>,\n      it might return other values.</dd>\n\n      <dt id=\"getLineHandle\"><code><strong>doc.getLineHandle</strong>(num: integer) → LineHandle</code></dt>\n      <dd>Fetches the line handle for the given line number.</dd>\n      <dt id=\"getLineNumber\"><code><strong>doc.getLineNumber</strong>(handle: LineHandle) → integer</code></dt>\n      <dd>Given a line handle, returns the current position of that\n      line (or <code>null</code> when it is no longer in the\n      document).</dd>\n      <dt id=\"eachLine\"><code><strong>doc.eachLine</strong>(f: (line: LineHandle))</code></dt>\n      <dt><code><strong>doc.eachLine</strong>(start: integer, end: integer, f: (line: LineHandle))</code></dt>\n      <dd>Iterate over the whole document, or if <code>start</code>\n      and <code>end</code> line numbers are given, the range\n      from <code>start</code> up to (not including) <code>end</code>,\n      and call <code>f</code> for each line, passing the line handle.\n      This is a faster way to visit a range of line handlers than\n      calling <a href=\"#getLineHandle\"><code>getLineHandle</code></a>\n      for each of them. Note that line handles have\n      a <code>text</code> property containing the line's content (as a\n      string).</dd>\n\n      <dt id=\"markClean\"><code><strong>doc.markClean</strong>()</code></dt>\n      <dd>Set the editor content as 'clean', a flag that it will\n      retain until it is edited, and which will be set again when such\n      an edit is undone again. Useful to track whether the content\n      needs to be saved. This function is deprecated in favor\n      of <a href=\"#changeGeneration\"><code>changeGeneration</code></a>,\n      which allows multiple subsystems to track different notions of\n      cleanness without interfering.</dd>\n      <dt id=\"changeGeneration\"><code><strong>doc.changeGeneration</strong>() → integer</code></dt>\n      <dd>Returns a number that can later be passed\n      to <a href=\"#isClean\"><code>isClean</code></a> to test whether\n      any edits were made (and not undone) in the meantime.</dd>\n      <dt id=\"isClean\"><code><strong>doc.isClean</strong>(?generation: integer) → boolean</code></dt>\n      <dd>Returns whether the document is currently clean — not\n      modified since initialization or the last call\n      to <a href=\"#markClean\"><code>markClean</code></a> if no\n      argument is passed, or since the matching call\n      to <a href=\"#changeGeneration\"><code>changeGeneration</code></a>\n      if a generation value is given.</dd>\n    </dl>\n\n    <h3 id=\"api_selection\">Cursor and selection methods</h3>\n\n    <dl>\n      <dt id=\"getSelection\"><code><strong>doc.getSelection</strong>() → string</code></dt>\n      <dd>Get the currently selected code.</dd>\n      <dt id=\"replaceSelection\"><code><strong>doc.replaceSelection</strong>(replacement: string, ?collapse: string)</code></dt>\n      <dd>Replace the selection with the given string. By default, the\n      new selection will span the inserted text. The\n      optional <code>collapse</code> argument can be used to change\n      this—passing <code>\"start\"</code> or <code>\"end\"</code> will\n      collapse the selection to the start or end of the inserted\n      text.</dd>\n\n      <dt id=\"getCursor\"><code><strong>doc.getCursor</strong>(?start: string) → {line, ch}</code></dt>\n      <dd><code>start</code> is a an optional string indicating which\n      end of the selection to return. It may\n      be <code>\"start\"</code>, <code>\"end\"</code>, <code>\"head\"</code>\n      (the side of the selection that moves when you press\n      shift+arrow), or <code>\"anchor\"</code> (the fixed side of the\n      selection). Omitting the argument is the same as\n      passing <code>\"head\"</code>. A <code>{line, ch}</code> object\n      will be returned.</dd>\n      <dt id=\"somethingSelected\"><code><strong>doc.somethingSelected</strong>() → boolean</code></dt>\n      <dd>Return true if any text is selected.</dd>\n      <dt id=\"setCursor\"><code><strong>doc.setCursor</strong>(pos: {line, ch})</code></dt>\n      <dd>Set the cursor position. You can either pass a\n      single <code>{line, ch}</code> object, or the line and the\n      character as two separate parameters.</dd>\n      <dt id=\"setSelection\"><code><strong>doc.setSelection</strong>(anchor: {line, ch}, ?head: {line, ch})</code></dt>\n      <dd>Set the selection range. <code>anchor</code>\n      and <code>head</code> should be <code>{line, ch}</code>\n      objects. <code>head</code> defaults to <code>anchor</code> when\n      not given.</dd>\n      <dt id=\"extendSelection\"><code><strong>doc.extendSelection</strong>(from: {line, ch}, ?to: {line, ch})</code></dt>\n      <dd>Similar\n      to <a href=\"#setSelection\"><code>setSelection</code></a>, but\n      will, if shift is held or\n      the <a href=\"#setExtending\">extending</a> flag is set, move the\n      head of the selection while leaving the anchor at its current\n      place. <code>to</code> is optional, and can be passed to\n      ensure a region (for example a word or paragraph) will end up\n      selected (in addition to whatever lies between that region and\n      the current anchor).</dd>\n      <dt id=\"setExtending\"><code><strong>doc.setExtending</strong>(value: boolean)</code></dt>\n      <dd>Sets or clears the 'extending' flag, which acts similar to\n      the shift key, in that it will cause cursor movement and calls\n      to <a href=\"#extendSelection\"><code>extendSelection</code></a>\n      to leave the selection anchor in place.</dd>\n\n      <dt id=\"hasFocus\"><code><strong>cm.hasFocus</strong>() → boolean</code></dt>\n      <dd>Tells you whether the editor currently has focus.</dd>\n\n      <dt id=\"findPosH\"><code><strong>cm.findPosH</strong>(start: {line, ch}, amount: integer, unit: string, visually: boolean) → {line, ch, ?hitSide: boolean}</code></dt>\n      <dd>Used to find the target position for horizontal cursor\n      motion. <code>start</code> is a <code>{line, ch}</code>\n      object, <code>amount</code> an integer (may be negative),\n      and <code>unit</code> one of the\n      string <code>\"char\"</code>, <code>\"column\"</code>,\n      or <code>\"word\"</code>. Will return a position that is produced\n      by moving <code>amount</code> times the distance specified\n      by <code>unit</code>. When <code>visually</code> is true, motion\n      in right-to-left text will be visual rather than logical. When\n      the motion was clipped by hitting the end or start of the\n      document, the returned value will have a <code>hitSide</code>\n      property set to true.</dd>\n      <dt id=\"findPosV\"><code><strong>cm.findPosV</strong>(start: {line, ch}, amount: integer, unit: string) → {line, ch, ?hitSide: boolean}</code></dt>\n      <dd>Similar to <a href=\"#findPosH\"><code>findPosH</code></a>,\n      but used for vertical motion. <code>unit</code> may\n      be <code>\"line\"</code> or <code>\"page\"</code>. The other\n      arguments and the returned value have the same interpretation as\n      they have in <code>findPosH</code>.</dd>\n    </dl>\n\n    <h3 id=\"api_configuration\">Configuration methods</h3>\n\n    <dl>\n      <dt id=\"setOption\"><code><strong>cm.setOption</strong>(option: string, value: any)</code></dt>\n      <dd>Change the configuration of the editor. <code>option</code>\n      should the name of an <a href=\"#config\">option</a>,\n      and <code>value</code> should be a valid value for that\n      option.</dd>\n      <dt id=\"getOption\"><code><strong>cm.getOption</strong>(option: string) → any</code></dt>\n      <dd>Retrieves the current value of the given option for this\n      editor instance.</dd>\n\n      <dt id=\"addKeyMap\"><code><strong>cm.addKeyMap</strong>(map: object, bottom: boolean)</code></dt>\n      <dd>Attach an additional <a href=\"#keymaps\">keymap</a> to the\n      editor. This is mostly useful for addons that need to register\n      some key handlers without trampling on\n      the <a href=\"#option_extraKeys\"><code>extraKeys</code></a>\n      option. Maps added in this way have a higher precedence than\n      the <code>extraKeys</code>\n      and <a href=\"#option_keyMap\"><code>keyMap</code></a> options,\n      and between them, the maps added earlier have a lower precedence\n      than those added later, unless the <code>bottom</code> argument\n      was passed, in which case they end up below other keymaps added\n      with this method.</dd>\n      <dt id=\"removeKeyMap\"><code><strong>cm.removeKeyMap</strong>(map: object)</code></dt>\n      <dd>Disable a keymap added\n      with <a href=\"#addKeyMap\"><code>addKeyMap</code></a>. Either\n      pass in the keymap object itself, or a string, which will be\n      compared against the <code>name</code> property of the active\n      keymaps.</dd>\n\n      <dt id=\"addOverlay\"><code><strong>cm.addOverlay</strong>(mode: string|object, ?options: object)</code></dt>\n      <dd>Enable a highlighting overlay. This is a stateless mini-mode\n      that can be used to add extra highlighting. For example,\n      the <a href=\"../demo/search.html\">search addon</a> uses it to\n      highlight the term that's currently being\n      searched. <code>mode</code> can be a <a href=\"#option_mode\">mode\n      spec</a> or a mode object (an object with\n      a <a href=\"#token\"><code>token</code></a> method).\n      The <code>options</code> parameter is optional. If given, it\n      should be an object. Currently, only the <code>opaque</code>\n      option is recognized. This defaults to off, but can be given to\n      allow the overlay styling, when not <code>null</code>, to\n      override the styling of the base mode entirely, instead of the\n      two being applied together.</dd>\n      <dt id=\"removeOverlay\"><code><strong>cm.removeOverlay</strong>(mode: string|object)</code></dt>\n      <dd>Pass this the exact value passed for the <code>mode</code>\n      parameter to <a href=\"#addOverlay\"><code>addOverlay</code></a>,\n      or a string that corresponds to the <code>name</code> propery of\n      that value, to remove an overlay again.</dd>\n\n      <dt id=\"on\"><code><strong>cm.on</strong>(type: string, func: (...args))</code></dt>\n      <dd>Register an event handler for the given event type (a\n      string) on the editor instance. There is also\n      a <code>CodeMirror.on(object, type, func)</code> version\n      that allows registering of events on any object.</dd>\n      <dt id=\"off\"><code><strong>cm.off</strong>(type: string, func: (...args))</code></dt>\n      <dd>Remove an event handler on the editor instance. An\n      equivalent <code>CodeMirror.off(object, type,\n      func)</code> also exists.</dd>\n    </dl>\n\n    <h3 id=\"api_doc\">Document management methods</h3>\n\n    <p id=\"Doc\">Each editor is associated with an instance\n    of <code>CodeMirror.Doc</code>, its document. A document\n    represents the editor content, plus a selection, an undo history,\n    and a <a href=\"#option_mode\">mode</a>. A document can only be\n    associated with a single editor at a time. You can create new\n    documents by calling the <code>CodeMirror.Doc(text, mode,\n    firstLineNumber)</code> constructor. The last two arguments are\n    optional and can be used to set a mode for the document and make\n    it start at a line number other than 0, respectively.</p>\n\n    <dl>\n      <dt id=\"getDoc\"><code><strong>cm.getDoc</strong>() → Doc</code></dt>\n      <dd>Retrieve the currently active document from an editor.</dd>\n      <dt id=\"getEditor\"><code><strong>doc.getEditor</strong>() → CodeMirror</code></dt>\n      <dd>Retrieve the editor associated with a document. May\n      return <code>null</code>.</dd>\n\n      <dt id=\"swapDoc\"><code><strong>cm.swapDoc</strong>(doc: CodeMirror.Doc) → Doc</code></dt>\n      <dd>Attach a new document to the editor. Returns the old\n      document, which is now no longer associated with an editor.</dd>\n\n      <dt id=\"copy\"><code><strong>doc.copy</strong>(copyHistory: boolean) → Doc</code></dt>\n      <dd>Create an identical copy of the given doc.\n      When <code>copyHistory</code> is true, the history will also be\n      copied. Can not be called directly on an editor.</dd>\n\n      <dt id=\"linkedDoc\"><code><strong>doc.linkedDoc</strong>(options: object) → Doc</code></dt>\n      <dd>Create a new document that's linked to the target document.\n      Linked documents will stay in sync (changes to one are also\n      applied to the other) until <a href=\"#unlinkDoc\">unlinked</a>.\n      These are the options that are supported:\n        <dl>\n          <dt id=\"linkedDoc_sharedHist\"><code><strong>sharedHist</strong>: boolean</code></dt>\n          <dd>When turned on, the linked copy will share an undo\n          history with the original. Thus, something done in one of\n          the two can be undone in the other, and vice versa.</dd>\n          <dt id=\"linkedDoc_from\"><code><strong>from</strong>: integer</code></dt>\n          <dt id=\"linkedDoc_to\"><code><strong>to</strong>: integer</code></dt>\n          <dd>Can be given to make the new document a subview of the\n          original. Subviews only show a given range of lines. Note\n          that line coordinates inside the subview will be consistent\n          with those of the parent, so that for example a subview\n          starting at line 10 will refer to its first line as line 10,\n          not 0.</dd>\n          <dt id=\"linkedDoc_mode\"><code><strong>mode</strong>: string|object</code></dt>\n          <dd>By default, the new document inherits the mode of the\n          parent. This option can be set to\n          a <a href=\"#option_mode\">mode spec</a> to give it a\n          different mode.</dd>\n        </dl></dd>\n      <dt id=\"unlinkDoc\"><code><strong>doc.unlinkDoc</strong>(doc: CodeMirror.Doc)</code></dt>\n      <dd>Break the link between two documents. After calling this,\n      changes will no longer propagate between the documents, and, if\n      they had a shared history, the history will become\n      separate.</dd>\n      <dt id=\"iterLinkedDocs\"><code><strong>doc.iterLinkedDocs</strong>(function: (doc: CodeMirror.Doc, sharedHist: boolean))</code></dt>\n      <dd>Will call the given function for all documents linked to the\n      target document. It will be passed two arguments, the linked document\n      and a boolean indicating whether that document shares history\n      with the target.</dd>\n    </dl>\n\n    <h3 id=\"api_history\">History-related methods</h3>\n\n    <dl>\n      <dt id=\"undo\"><code><strong>doc.undo</strong>()</code></dt>\n      <dd>Undo one edit (if any undo events are stored).</dd>\n      <dt id=\"redo\"><code><strong>doc.redo</strong>()</code></dt>\n      <dd>Redo one undone edit.</dd>\n\n      <dt id=\"historySize\"><code><strong>doc.historySize</strong>() → {undo: integer, redo: integer}</code></dt>\n      <dd>Returns an object with <code>{undo, redo}</code> properties,\n      both of which hold integers, indicating the amount of stored\n      undo and redo operations.</dd>\n      <dt id=\"clearHistory\"><code><strong>doc.clearHistory</strong>()</code></dt>\n      <dd>Clears the editor's undo history.</dd>\n      <dt id=\"getHistory\"><code><strong>doc.getHistory</strong>() → object</code></dt>\n      <dd>Get a (JSON-serializeable) representation of the undo history.</dd>\n      <dt id=\"setHistory\"><code><strong>doc.setHistory</strong>(history: object)</code></dt>\n      <dd>Replace the editor's undo history with the one provided,\n      which must be a value as returned\n      by <a href=\"#getHistory\"><code>getHistory</code></a>. Note that\n      this will have entirely undefined results if the editor content\n      isn't also the same as it was when <code>getHistory</code> was\n      called.</dd>\n    </dl>\n\n    <h3 id=\"api_marker\">Text-marking methods</h3>\n\n    <dl>\n      <dt id=\"markText\"><code><strong>doc.markText</strong>(from: {line, ch}, to: {line, ch}, ?options: object) → TextMarker</code></dt>\n      <dd>Can be used to mark a range of text with a specific CSS\n      class name. <code>from</code> and <code>to</code> should\n      be <code>{line, ch}</code> objects. The <code>options</code>\n      parameter is optional. When given, it should be an object that\n      may contain the following configuration options:\n      <dl>\n        <dt id=\"mark_className\"><code><strong>className</strong>: string</code></dt>\n        <dd>Assigns a CSS class to the marked stretch of text.</dd>\n        <dt id=\"mark_inclusiveLeft\"><code><strong>inclusiveLeft</strong>: boolean</code></dt>\n        <dd>Determines whether\n        text inserted on the left of the marker will end up inside\n        or outside of it.</dd>\n        <dt id=\"mark_inclusiveRight\"><code><strong>inclusiveRight</strong>: boolean</code></dt>\n        <dd>Like <code>inclusiveLeft</code>,\n        but for the right side.</dd>\n        <dt id=\"mark_atomic\"><code><strong>atomic</strong>: boolean</code></dt>\n        <dd>Atomic ranges act as a single unit when cursor movement is\n        concerned—i.e. it is impossible to place the cursor inside of\n        them. In atomic ranges, <code>inclusiveLeft</code>\n        and <code>inclusiveRight</code> have a different meaning—they\n        will prevent the cursor from being placed respectively\n        directly before and directly after the range.</dd>\n        <dt id=\"mark_collapsed\"><code><strong>collapsed</strong>: boolean</code></dt>\n        <dd>Collapsed ranges do not show up in the display. Setting a\n        range to be collapsed will automatically make it atomic.</dd>\n        <dt id=\"mark_clearOnEnter\"><code><strong>clearOnEnter</strong>: boolean</code></dt>\n        <dd>When enabled, will cause the mark to clear itself whenever\n        the cursor enters its range. This is mostly useful for\n        text-replacement widgets that need to 'snap open' when the\n        user tries to edit them. The\n        <a href=\"#event_clear\"><code>\"clear\"</code></a> event\n        fired on the range handle can be used to be notified when this\n        happens.</dd>\n        <dt id=\"mark_replacedWith\"><code><strong>replacedWith</strong>: Element</code></dt>\n        <dd>Use a given node to display this range. Implies both\n        collapsed and atomic. The given DOM node <em>must</em> be an\n        inline element (as opposed to a block element).</dd>\n        <dt><code><strong>handleMouseEvents</strong>: boolean</code></dt>\n        <dd>When <code>replacedWith</code> is given, this determines\n        whether the editor will capture mouse and drag events\n        occurring in this widget. Default is false—the events will be\n        left alone for the default browser handler, or specific\n        handlers on the widget, to capture.</dd>\n        <dt id=\"mark_readOnly\"><code><strong>readOnly</strong>: boolean</code></dt>\n        <dd>A read-only span can, as long as it is not cleared, not be\n        modified except by\n        calling <a href=\"#setValue\"><code>setValue</code></a> to reset\n        the whole document. <em>Note:</em> adding a read-only span\n        currently clears the undo history of the editor, because\n        existing undo events being partially nullified by read-only\n        spans would corrupt the history (in the current\n        implementation).</dd>\n        <dt id=\"mark_addToHistory\"><code><strong>addToHistory</strong>: boolean</code></dt>\n        <dd>When set to true (default is false), adding this marker\n        will create an event in the undo history that can be\n        individually undone (clearing the marker).</dd>\n        <dt id=\"mark_startStyle\"><code><strong>startStyle</strong>: string</code></dt><dd>Can be used to specify\n        an extra CSS class to be applied to the leftmost span that\n        is part of the marker.</dd>\n        <dt id=\"mark_endStyle\"><code><strong>endStyle</strong>: string</code></dt><dd>Equivalent\n        to <code>startStyle</code>, but for the rightmost span.</dd>\n        <dt id=\"mark_title\"><code><strong>title</strong>:\n        string</code></dt><dd>When given, will give the nodes created\n        for this span a HTML <code>title</code> attribute with the\n        given value.</dd>\n        <dt id=\"mark_shared\"><code><strong>shared</strong>: boolean</code></dt><dd>When the\n        target document is <a href=\"#linkedDoc\">linked</a> to other\n        documents, you can set <code>shared</code> to true to make the\n        marker appear in all documents. By default, a marker appears\n        only in its target document.</dd>\n      </dl>\n      The method will return an object that represents the marker\n      (with constuctor <code>CodeMirror.TextMarker</code>), which\n      exposes three methods:\n      <code><strong>clear</strong>()</code>, to remove the mark,\n      <code><strong>find</strong>()</code>, which returns\n      a <code>{from, to}</code> object (both holding document\n      positions), indicating the current position of the marked range,\n      or <code>undefined</code> if the marker is no longer in the\n      document, and finally <code><strong>changed</strong>()</code>,\n      which you can call if you've done something that might change\n      the size of the marker (for example changing the content of\n      a <a href=\"#mark_replacedWith\"><code>replacedWith</code></a>\n      node), and want to cheaply update the display.</dd>\n\n      <dt id=\"setBookmark\"><code><strong>doc.setBookmark</strong>(pos: {line, ch}, ?options: object) → TextMarker</code></dt>\n      <dd>Inserts a bookmark, a handle that follows the text around it\n      as it is being edited, at the given position. A bookmark has two\n      methods <code>find()</code> and <code>clear()</code>. The first\n      returns the current position of the bookmark, if it is still in\n      the document, and the second explicitly removes the bookmark.\n      The options argument is optional. If given, the following\n      properties are recognized:\n      <dl>\n        <dt><code><strong>widget</strong>: Element</code></dt><dd>Can be used to display a DOM\n        node at the current location of the bookmark (analogous to\n        the <a href=\"#mark_replacedWith\"><code>replacedWith</code></a>\n        option to <code>markText</code>).</dd>\n        <dt><code><strong>insertLeft</strong>: boolean</code></dt><dd>By default, text typed\n        when the cursor is on top of the bookmark will end up to the\n        right of the bookmark. Set this option to true to make it go\n        to the left instead.</dd>\n      </dl></dd>\n\n      <dt id=\"findMarksAt\"><code><strong>doc.findMarksAt</strong>(pos: {line, ch}) → array&lt;TextMarker&gt;</code></dt>\n      <dd>Returns an array of all the bookmarks and marked ranges\n      present at the given position.</dd>\n      <dt id=\"getAllMarks\"><code><strong>doc.getAllMarks</strong>() → array&lt;TextMarker&gt;</code></dt>\n      <dd>Returns an array containing all marked ranges in the document.</dd>\n    </dl>\n\n    <h3 id=\"api_decoration\">Widget, gutter, and decoration methods</h3>\n\n    <dl>\n      <dt id=\"setGutterMarker\"><code><strong>cm.setGutterMarker</strong>(line: integer|LineHandle, gutterID: string, value: Element) → LineHandle</code></dt>\n      <dd>Sets the gutter marker for the given gutter (identified by\n      its CSS class, see\n      the <a href=\"#option_gutters\"><code>gutters</code></a> option)\n      to the given value. Value can be either <code>null</code>, to\n      clear the marker, or a DOM element, to set it. The DOM element\n      will be shown in the specified gutter next to the specified\n      line.</dd>\n\n      <dt id=\"clearGutter\"><code><strong>cm.clearGutter</strong>(gutterID: string)</code></dt>\n      <dd>Remove all gutter markers in\n      the <a href=\"#option_gutters\">gutter</a> with the given ID.</dd>\n\n      <dt id=\"addLineClass\"><code><strong>cm.addLineClass</strong>(line: integer|LineHandle, where: string, class: string) → LineHandle</code></dt>\n      <dd>Set a CSS class name for the given line. <code>line</code>\n      can be a number or a line handle. <code>where</code> determines\n      to which element this class should be applied, can can be one\n      of <code>\"text\"</code> (the text element, which lies in front of\n      the selection), <code>\"background\"</code> (a background element\n      that will be behind the selection), or <code>\"wrap\"</code> (the\n      wrapper node that wraps all of the line's elements, including\n      gutter elements). <code>class</code> should be the name of the\n      class to apply.</dd>\n\n      <dt id=\"removeLineClass\"><code><strong>cm.removeLineClass</strong>(line: integer|LineHandle, where: string, class: string) → LineHandle</code></dt>\n      <dd>Remove a CSS class from a line. <code>line</code> can be a\n      line handle or number. <code>where</code> should be one\n      of <code>\"text\"</code>, <code>\"background\"</code>,\n      or <code>\"wrap\"</code>\n      (see <a href=\"#addLineClass\"><code>addLineClass</code></a>). <code>class</code>\n      can be left off to remove all classes for the specified node, or\n      be a string to remove only a specific class.</dd>\n\n      <dt id=\"lineInfo\"><code><strong>cm.lineInfo</strong>(line: integer|LineHandle) → object</code></dt>\n      <dd>Returns the line number, text content, and marker status of\n      the given line, which can be either a number or a line handle.\n      The returned object has the structure <code>{line, handle, text,\n      gutterMarkers, textClass, bgClass, wrapClass, widgets}</code>,\n      where <code>gutterMarkers</code> is an object mapping gutter IDs\n      to marker elements, and <code>widgets</code> is an array\n      of <a href=\"#addLineWidget\">line widgets</a> attached to this\n      line, and the various class properties refer to classes added\n      with <a href=\"#addLineClass\"><code>addLineClass</code></a>.</dd>\n\n      <dt id=\"addWidget\"><code><strong>cm.addWidget</strong>(pos: {line, ch}, node: Element, scrollIntoView: boolean)</code></dt>\n      <dd>Puts <code>node</code>, which should be an absolutely\n      positioned DOM node, into the editor, positioned right below the\n      given <code>{line, ch}</code> position.\n      When <code>scrollIntoView</code> is true, the editor will ensure\n      that the entire node is visible (if possible). To remove the\n      widget again, simply use DOM methods (move it somewhere else, or\n      call <code>removeChild</code> on its parent).</dd>\n\n      <dt id=\"addLineWidget\"><code><strong>cm.addLineWidget</strong>(line: integer|LineHandle, node: Element, ?options: object) → LineWidget</code></dt>\n      <dd>Adds a line widget, an element shown below a line, spanning\n      the whole of the editor's width, and moving the lines below it\n      downwards. <code>line</code> should be either an integer or a\n      line handle, and <code>node</code> should be a DOM node, which\n      will be displayed below the given line. <code>options</code>,\n      when given, should be an object that configures the behavior of\n      the widget. The following options are supported (all default to\n      false):\n        <dl>\n          <dt><code><strong>coverGutter</strong>: boolean</code></dt>\n          <dd>Whether the widget should cover the gutter.</dd>\n          <dt><code><strong>noHScroll</strong>: boolean</code></dt>\n          <dd>Whether the widget should stay fixed in the face of\n          horizontal scrolling.</dd>\n          <dt><code><strong>above</strong>: boolean</code></dt>\n          <dd>Causes the widget to be placed above instead of below\n          the text of the line.</dd>\n          <dt><code><strong>showIfHidden</strong>: boolean</code></dt>\n          <dd>When true, will cause the widget to be rendered even if\n          the line it is associated with is hidden.</dd>\n          <dt><code><strong>handleMouseEvents</strong>: boolean</code></dt>\n          <dd>Determines whether the editor will capture mouse and\n          drag events occurring in this widget. Default is false—the\n          events will be left alone for the default browser handler,\n          or specific handlers on the widget, to capture.</dd>\n          <dt><code><strong>insertAt</strong>: integer</code></dt>\n          <dd>By default, the widget is added below other widgets for\n          the line. This option can be used to place it at a different\n          position (zero for the top, N to put it after the Nth other\n          widget). Note that this only has effect once, when the\n          widget is created.\n        </dl>\n      Note that the widget node will become a descendant of nodes with\n      CodeMirror-specific CSS classes, and those classes might in some\n      cases affect it. This method returns an object that represents\n      the widget placement. It'll have a <code>line</code> property\n      pointing at the line handle that it is associated with, and the following methods:\n        <dl>\n          <dt id=\"widget_clear\"><code><strong>clear</strong>()</code></dt><dd>Removes the widget.</dd>\n          <dt id=\"widget_changed\"><code><strong>changed</strong>()</code></dt><dd>Call\n          this if you made some change to the widget's DOM node that\n          might affect its height. It'll force CodeMirror to update\n          the height of the line that contains the widget.</dd>\n        </dl>\n      </dd>\n    </dl>\n\n    <h3 id=\"api_sizing\">Sizing, scrolling and positioning methods</h3>\n\n    <dl>\n      <dt id=\"setSize\"><code><strong>cm.setSize</strong>(width: number|string, height: number|string)</code></dt>\n      <dd>Programatically set the size of the editor (overriding the\n      applicable <a href=\"#css-resize\">CSS\n      rules</a>). <code>width</code> and <code>height</code>\n      can be either numbers (interpreted as pixels) or CSS units\n      (<code>\"100%\"</code>, for example). You can\n      pass <code>null</code> for either of them to indicate that that\n      dimension should not be changed.</dd>\n\n      <dt id=\"scrollTo\"><code><strong>cm.scrollTo</strong>(x: number, y: number)</code></dt>\n      <dd>Scroll the editor to a given (pixel) position. Both\n      arguments may be left as <code>null</code>\n      or <code>undefined</code> to have no effect.</dd>\n      <dt id=\"getScrollInfo\"><code><strong>cm.getScrollInfo</strong>() → {left, top, width, height, clientWidth, clientHeight}</code></dt>\n      <dd>Get an <code>{left, top, width, height, clientWidth,\n      clientHeight}</code> object that represents the current scroll\n      position, the size of the scrollable area, and the size of the\n      visible area (minus scrollbars).</dd>\n      <dt id=\"scrollIntoView\"><code><strong>cm.scrollIntoView</strong>(what: {line, ch}|{left, top, right, bottom}|{from, to}|null, ?margin: number)</code></dt>\n      <dd>Scrolls the given position into view. <code>what</code> may\n      be <code>null</code> to scroll the cursor into view,\n      a <code>{line, ch}</code> position to scroll a character into\n      view, a <code>{left, top, right, bottom}</code> pixel range (in\n      editor-local coordinates), or a range <code>{from, to}</code>\n      containing either two character positions or two pixel squares.\n      The <code>margin</code> parameter is optional. When given, it\n      indicates the amount of vertical pixels around the given area\n      that should be made visible as well.</dd>\n\n      <dt id=\"cursorCoords\"><code><strong>cm.cursorCoords</strong>(where: boolean|{line, ch}, mode: string) → {left, top, bottom}</code></dt>\n      <dd>Returns an <code>{left, top, bottom}</code> object\n      containing the coordinates of the cursor position.\n      If <code>mode</code> is <code>\"local\"</code>, they will be\n      relative to the top-left corner of the editable document. If it\n      is <code>\"page\"</code> or not given, they are relative to the\n      top-left corner of the page. <code>where</code> can be a boolean\n      indicating whether you want the start (<code>true</code>) or the\n      end (<code>false</code>) of the selection, or, if a <code>{line,\n      ch}</code> object is given, it specifies the precise position at\n      which you want to measure.</dd>\n      <dt id=\"charCoords\"><code><strong>cm.charCoords</strong>(pos: {line, ch}, ?mode: string) → {left, right, top, bottom}</code></dt>\n      <dd>Returns the position and dimensions of an arbitrary\n      character. <code>pos</code> should be a <code>{line, ch}</code>\n      object. This differs from <code>cursorCoords</code> in that\n      it'll give the size of the whole character, rather than just the\n      position that the cursor would have when it would sit at that\n      position.</dd>\n      <dt id=\"coordsChar\"><code><strong>cm.coordsChar</strong>(object: {left, top}, ?mode: string) → {line, ch}</code></dt>\n      <dd>Given an <code>{left, top}</code> object, returns\n      the <code>{line, ch}</code> position that corresponds to it. The\n      optional <code>mode</code> parameter determines relative to what\n      the coordinates are interpreted. It may\n      be <code>\"window\"</code>, <code>\"page\"</code> (the default),\n      or <code>\"local\"</code>.</dd>\n      <dt id=\"lineAtHeight\"><code><strong>cm.lineAtHeight</strong>(height: number, ?mode: string) → number</code></dt>\n      <dd>Computes the line at the given pixel\n      height. <code>mode</code> can be one of the same strings\n      that <a href=\"#coordsChar\"><code>coordsChar</code></a>\n      accepts.</dd>\n      <dt id=\"heightAtLine\"><code><strong>cm.heightAtLine</strong>(line: number, ?mode: string) → number</code></dt>\n      <dd>Computes the height of the top of a line, in the coordinate\n      system specified by <code>mode</code>\n      (see <a href=\"#coordsChar\"><code>coordsChar</code></a>), which\n      defaults to <code>\"page\"</code>. When a line below the bottom of\n      the document is specified, the returned value is the bottom of\n      the last line in the document.</dd>\n      <dt id=\"defaultTextHeight\"><code><strong>cm.defaultTextHeight</strong>() → number</code></dt>\n      <dd>Returns the line height of the default font for the editor.</dd>\n      <dt id=\"defaultCharWidth\"><code><strong>cm.defaultCharWidth</strong>() → number</code></dt>\n      <dd>Returns the pixel width of an 'x' in the default font for\n      the editor. (Note that for non-monospace fonts, this is mostly\n      useless, and even for monospace fonts, non-ascii characters\n      might have a different width).</dd>\n\n      <dt id=\"getViewport\"><code><strong>cm.getViewport</strong>() → {from: number, to: number}</code></dt>\n      <dd>Returns a <code>{from, to}</code> object indicating the\n      start (inclusive) and end (exclusive) of the currently rendered\n      part of the document. In big documents, when most content is\n      scrolled out of view, CodeMirror will only render the visible\n      part, and a margin around it. See also\n      the <a href=\"#event_viewportChange\"><code>viewportChange</code></a>\n      event.</dd>\n\n      <dt id=\"refresh\"><code><strong>cm.refresh</strong>()</code></dt>\n      <dd>If your code does something to change the size of the editor\n      element (window resizes are already listened for), or unhides\n      it, you should probably follow up by calling this method to\n      ensure CodeMirror is still looking as intended.</dd>\n    </dl>\n\n    <h3 id=\"api_mode\">Mode, state, and token-related methods</h3>\n\n    <p>When writing language-aware functionality, it can often be\n    useful to hook into the knowledge that the CodeMirror language\n    mode has. See <a href=\"#modeapi\">the section on modes</a> for a\n    more detailed description of how these work.</p>\n\n    <dl>\n      <dt id=\"getMode\"><code><strong>doc.getMode</strong>() → object</code></dt>\n      <dd>Gets the (outer) mode object for the editor. Note that this\n      is distinct from <code>getOption(\"mode\")</code>, which gives you\n      the mode specification, rather than the resolved, instantiated\n      <a href=\"#defineMode\">mode object</a>.</dd>\n\n      <dt id=\"getModeAt\"><code><strong>doc.getModeAt</strong>(pos: {line, ch}) → object</code></dt>\n      <dd>Gets the inner mode at a given position. This will return\n      the same as <a href=\"#getMode\"><code>getMode</code></a> for\n      simple modes, but will return an inner mode for nesting modes\n      (such as <code>htmlmixed</code>).</dd>\n\n      <dt id=\"getTokenAt\"><code><strong>cm.getTokenAt</strong>(pos: {line, ch}, ?precise: boolean) → object</code></dt>\n      <dd>Retrieves information about the token the current mode found\n      before the given position (a <code>{line, ch}</code> object). The\n      returned object has the following properties:\n      <dl>\n        <dt><code><strong>start</strong></code></dt><dd>The character (on the given line) at which the token starts.</dd>\n        <dt><code><strong>end</strong></code></dt><dd>The character at which the token ends.</dd>\n        <dt><code><strong>string</strong></code></dt><dd>The token's string.</dd>\n        <dt><code><strong>type</strong></code></dt><dd>The token type the mode assigned\n        to the token, such as <code>\"keyword\"</code>\n        or <code>\"comment\"</code> (may also be null).</dd>\n        <dt><code><strong>state</strong></code></dt><dd>The mode's state at the end of this token.</dd>\n      </dl>\n      If <code>precise</code> is true, the token will be guaranteed to be accurate based on recent edits. If false or\n      not specified, the token will use cached state information, which will be faster but might not be accurate if\n      edits were recently made and highlighting has not yet completed.\n      </dd>\n\n      <dt id=\"getTokenTypeAt\"><code><strong>cm.getTokenTypeAt</strong>(pos: {line, ch}) → string</code></dt>\n      <dd>This is a (much) cheaper version\n      of <a href=\"#getTokenAt\"><code>getTokenAt</code></a> useful for\n      when you just need the type of the token at a given position,\n      and no other information. Will return <code>null</code> for\n      unstyled tokens, and a string, potentially containing multiple\n      space-separated style names, otherwise.</dd>\n\n      <dt id=\"getHelper\"><code><strong>cm.getHelper</strong>(pos: {line, ch}, type: string) → helper</code></dt>\n      <dd>Fetch appropriate helper for the given position. Helpers\n      provide a way to look up functionality appropriate for a mode.\n      The <code>type</code> argument provides the helper namespace\n      (see\n      also <a href=\"#registerHelper\"><code>registerHelper</code></a>),\n      in which the value will be looked up. The key that is used\n      depends on the <a href=\"#getMode\">mode</a> active at the given\n      position. If the mode object contains a property with the same\n      name as the <code>type</code> argument, that is tried first.\n      Next, the mode's <code>helperType</code>, if any, is tried. And\n      finally, the mode's name.</dd>\n\n      <dt id=\"getStateAfter\"><code><strong>cm.getStateAfter</strong>(?line: integer, ?precise: boolean) → object</code></dt>\n      <dd>Returns the mode's parser state, if any, at the end of the\n      given line number. If no line number is given, the state at the\n      end of the document is returned. This can be useful for storing\n      parsing errors in the state, or getting other kinds of\n      contextual information for a line. <code>precise</code> is defined\n      as in <code>getTokenAt()</code>.</dd>\n    </dl>\n\n    <h3 id=\"api_misc\">Miscellaneous methods</h3>\n\n    <dl>\n      <dt id=\"operation\"><code><strong>cm.operation</strong>(func: () → any) → any</code></dt>\n      <dd>CodeMirror internally buffers changes and only updates its\n      DOM structure after it has finished performing some operation.\n      If you need to perform a lot of operations on a CodeMirror\n      instance, you can call this method with a function argument. It\n      will call the function, buffering up all changes, and only doing\n      the expensive update after the function returns. This can be a\n      lot faster. The return value from this method will be the return\n      value of your function.</dd>\n\n      <dt id=\"indentLine\"><code><strong>cm.indentLine</strong>(line: integer, ?dir: string|integer)</code></dt>\n      <dd>Adjust the indentation of the given line. The second\n      argument (which defaults to <code>\"smart\"</code>) may be one of:\n        <dl>\n          <dt><code><strong>\"prev\"</strong></code></dt>\n          <dd>Base indentation on the indentation of the previous line.</dd>\n          <dt><code><strong>\"smart\"</strong></code></dt>\n          <dd>Use the mode's smart indentation if available, behave\n          like <code>\"prev\"</code> otherwise.</dd>\n          <dt><code><strong>\"add\"</strong></code></dt>\n          <dd>Increase the indentation of the line by\n          one <a href=\"#option_indentUnit\">indent unit</a>.</dd>\n          <dt><code><strong>\"subtract\"</strong></code></dt>\n          <dd>Reduce the indentation of the line.</dd>\n          <dt><code><strong>&lt;integer></strong></code></dt>\n          <dd>Add (positive number) or reduce (negative number) the\n          indentation by the given amount of spaces.</dd>\n        </dl></dd>\n\n      <dt id=\"toggleOverwrite\"><code><strong>cm.toggleOverwrite</strong>(?value: bool)</code></dt>\n      <dd>Switches between overwrite and normal insert mode (when not\n      given an argument), or sets the overwrite mode to a specific\n      state (when given an argument).</dd>\n\n      <dt id=\"execCommand\"><code><strong>cm.execCommand</strong>(name: string)</code></dt>\n      <dd>Runs the <a href=\"#commands\">command</a> with the given name on the editor.</dd>\n\n      <dt id=\"posFromIndex\"><code><strong>doc.posFromIndex</strong>(index: integer) → {line, ch}</code></dt>\n      <dd>Calculates and returns a <code>{line, ch}</code> object for a\n      zero-based <code>index</code> who's value is relative to the start of the\n      editor's text. If the <code>index</code> is out of range of the text then\n      the returned object is clipped to start or end of the text\n      respectively.</dd>\n      <dt id=\"indexFromPos\"><code><strong>doc.indexFromPos</strong>(object: {line, ch}) → integer</code></dt>\n      <dd>The reverse of <a href=\"#posFromIndex\"><code>posFromIndex</code></a>.</dd>\n\n      <dt id=\"focus\"><code><strong>cm.focus</strong>()</code></dt>\n      <dd>Give the editor focus.</dd>\n\n      <dt id=\"getInputField\"><code><strong>cm.getInputField</strong>() → TextAreaElement</code></dt>\n      <dd>Returns the hidden textarea used to read input.</dd>\n      <dt id=\"getWrapperElement\"><code><strong>cm.getWrapperElement</strong>() → Element</code></dt>\n      <dd>Returns the DOM node that represents the editor, and\n      controls its size. Remove this from your tree to delete an\n      editor instance.</dd>\n      <dt id=\"getScrollerElement\"><code><strong>cm.getScrollerElement</strong>() → Element</code></dt>\n      <dd>Returns the DOM node that is responsible for the scrolling\n      of the editor.</dd>\n      <dt id=\"getGutterElement\"><code><strong>cm.getGutterElement</strong>() → Element</code></dt>\n      <dd>Fetches the DOM node that contains the editor gutters.</dd>\n    </dl>\n\n    <h3 id=\"api_static\">Static properties</h3>\n    <p>The <code>CodeMirror</code> object itself provides\n    several useful properties.</p>\n\n    <dl>\n      <dt id=\"version\"><code><strong>CodeMirror.version</strong>: string</code></dt>\n      <dd>It contains a string that indicates the version of the\n      library. This is a triple of\n      integers <code>\"major.minor.patch\"</code>,\n      where <code>patch</code> is zero for releases, and something\n      else (usually one) for dev snapshots.</dd>\n\n      <dt id=\"fromTextArea\"><code><strong>CodeMirror.fromTextArea</strong>(textArea: TextAreaElement, ?config: object)</code></dt>\n      <dd>\n        The method provides another way to initialize an editor. It\n        takes a textarea DOM node as first argument and an optional\n        configuration object as second. It will replace the textarea\n        with a CodeMirror instance, and wire up the form of that\n        textarea (if any) to make sure the editor contents are put\n        into the textarea when the form is submitted. The text in the\n        textarea will provide the content for the editor. A CodeMirror\n        instance created this way has three additional methods:\n        <dl>\n          <dt id=\"save\"><code><strong>cm.save</strong>()</code></dt>\n          <dd>Copy the content of the editor into the textarea.</dd>\n\n          <dt id=\"toTextArea\"><code><strong>cm.toTextArea</strong>()</code></dt>\n          <dd>Remove the editor, and restore the original textarea (with\n          the editor's current content).</dd>\n\n          <dt id=\"getTextArea\"><code><strong>cm.getTextArea</strong>() → TextAreaElement</code></dt>\n          <dd>Returns the textarea that the instance was based on.</dd>\n        </dl>\n      </dd>\n\n      <dt id=\"defaults\"><code><strong>CodeMirror.defaults</strong>: object</code></dt>\n      <dd>An object containing default values for\n      all <a href=\"#config\">options</a>. You can assign to its\n      properties to modify defaults (though this won't affect editors\n      that have already been created).</dd>\n\n      <dt id=\"defineExtension\"><code><strong>CodeMirror.defineExtension</strong>(name: string, value: any)</code></dt>\n      <dd>If you want to define extra methods in terms of the\n      CodeMirror API, it is possible to\n      use <code>defineExtension</code>. This will cause the given\n      value (usually a method) to be added to all CodeMirror instances\n      created from then on.</dd>\n\n      <dt id=\"defineDocExtension\"><code><strong>CodeMirror.defineDocExtension</strong>(name: string, value: any)</code></dt>\n      <dd>Like <a href=\"#defineExtenstion\"><code>defineExtension</code></a>,\n      but the method will be added to the interface\n      for <a href=\"#Doc\"><code>Doc</code></a> objects instead.</dd>\n\n      <dt id=\"defineOption\"><code><strong>CodeMirror.defineOption</strong>(name: string,\n      default: any, updateFunc: function)</code></dt>\n      <dd>Similarly, <code>defineOption</code> can be used to define new options for\n      CodeMirror. The <code>updateFunc</code> will be called with the\n      editor instance and the new value when an editor is initialized,\n      and whenever the option is modified\n      through <a href=\"#setOption\"><code>setOption</code></a>.</dd>\n\n      <dt id=\"defineInitHook\"><code><strong>CodeMirror.defineInitHook</strong>(func: function)</code></dt>\n      <dd>If your extention just needs to run some\n      code whenever a CodeMirror instance is initialized,\n      use <code>CodeMirror.defineInitHook</code>. Give it a function as\n      its only argument, and from then on, that function will be called\n      (with the instance as argument) whenever a new CodeMirror instance\n      is initialized.</dd>\n\n      <dt id=\"registerHelper\"><code><strong>CodeMirror.registerHelper</strong>(type: string, name: string, value: helper)</code></dt>\n      <dd>Registers a helper value with the given <code>name</code> in\n      the given namespace (<code>type</code>). This is used to define\n      functionality that may be looked up by mode. Will create (if it\n      doesn't already exist) a property on the <code>CodeMirror</code>\n      object for the given <code>type</code>, pointing to an object\n      that maps names to values. I.e. after\n      doing <code>CodeMirror.registerHelper(\"hint\", \"foo\",\n      myFoo)</code>, the value <code>CodeMirror.hint.foo</code> will\n      point to <code>myFoo</code>.</dd>\n\n      <dt id=\"Pos\"><code><strong>CodeMirror.Pos</strong>(line: integer, ?ch: integer)</code></dt>\n      <dd>A constructor for the <code>{line, ch}</code> objects that\n      are used to represent positions in editor documents.</dd>\n\n      <dt id=\"changeEnd\"><code><strong>CodeMirror.changeEnd</strong>(change: object) → {line, ch}</code></dt>\n      <dd>Utility function that computes an end position from a change\n      (an object with <code>from</code>, <code>to</code>,\n      and <code>text</code> properties, as passed to\n      various <a href=\"#event_change\">event handlers</a>). The\n      returned position will be the end of the changed\n      range, <em>after</em> the change is applied.</dd>\n    </dl>\n</section>\n\n<section id=addons>\n    <h2>Addons</h2>\n\n    <p>The <code>addon</code> directory in the distribution contains a\n    number of reusable components that implement extra editor\n    functionality. In brief, they are:</p>\n\n    <dl>\n      <dt id=\"addon_dialog\"><a href=\"../addon/dialog/dialog.js\"><code>dialog/dialog.js</code></a></dt>\n      <dd>Provides a very simple way to query users for text input.\n      Adds an <strong><code>openDialog</code></strong> method to\n      CodeMirror instances, which can be called with an HTML fragment\n      or a detached DOM node that provides the prompt (should include\n      an <code>input</code> tag), and a callback function that is called\n      when text has been entered. Also adds\n      an <strong><code>openNotification</code></strong> function that\n      simply shows an HTML fragment as a notification. Depends\n      on <code>addon/dialog/dialog.css</code>.</dd>\n\n      <dt id=\"addon_searchcursor\"><a href=\"../addon/search/searchcursor.js\"><code>search/searchcursor.js</code></a></dt>\n      <dd>Adds the <code>getSearchCursor(query, start, caseFold) →\n      cursor</code> method to CodeMirror instances, which can be used\n      to implement search/replace functionality. <code>query</code>\n      can be a regular expression or a string (only strings will match\n      across lines—if they contain newlines). <code>start</code>\n      provides the starting position of the search. It can be\n      a <code>{line, ch}</code> object, or can be left off to default\n      to the start of the document. <code>caseFold</code> is only\n      relevant when matching a string. It will cause the search to be\n      case-insensitive. A search cursor has the following methods:\n        <dl>\n          <dt><code><strong>findNext</strong>() → boolean</code></dt>\n          <dt><code><strong>findPrevious</strong>() → boolean</code></dt>\n          <dd>Search forward or backward from the current position.\n          The return value indicates whether a match was found. If\n          matching a regular expression, the return value will be the\n          array returned by the <code>match</code> method, in case you\n          want to extract matched groups.</dd>\n          <dt><code><strong>from</strong>() → {line, ch}</code></dt>\n          <dt><code><strong>to</strong>() → {line, ch}</code></dt>\n          <dd>These are only valid when the last call\n          to <code>findNext</code> or <code>findPrevious</code> did\n          not return false. They will return <code>{line, ch}</code>\n          objects pointing at the start and end of the match.</dd>\n          <dt><code><strong>replace</strong>(text: string)</code></dt>\n          <dd>Replaces the currently found match with the given text\n          and adjusts the cursor position to reflect the\n          replacement.</dd>\n        </dl></dd>\n\n      <dt id=\"addon_search\"><a href=\"../addon/search/search.js\"><code>search/search.js</code></a></dt>\n      <dd>Implements the search commands. CodeMirror has keys bound to\n      these by default, but will not do anything with them unless an\n      implementation is provided. Depends\n      on <code>searchcursor.js</code>, and will make use\n      of <a href=\"#addon_dialog\"><code>openDialog</code></a> when\n      available to make prompting for search queries less ugly.</dd>\n\n      <dt id=\"addon_matchbrackets\"><a href=\"../addon/edit/matchbrackets.js\"><code>edit/matchbrackets.js</code></a></dt>\n      <dd>Defines an option <code>matchBrackets</code> which, when set\n      to true, causes matching brackets to be highlighted whenever the\n      cursor is next to them. It also adds a\n      method <code>matchBrackets</code> that forces this to happen\n      once, and a method <code>findMatchingBracket</code> that can be\n      used to run the bracket-finding algorithm that this uses\n      internally.</dd>\n\n      <dt id=\"addon_closebrackets\"><a href=\"../addon/edit/closebrackets.js\"><code>edit/closebrackets.js</code></a></dt>\n      <dd>Defines an option <code>autoCloseBrackets</code> that will\n      auto-close brackets and quotes when typed. By default, it'll\n      auto-close <code>()[]{}''\"\"</code>, but you can pass it a string\n      similar to that (containing pairs of matching characters), or an\n      object with <code>pairs</code> and\n      optionally <code>explode</code> properties to customize\n      it. <code>explode</code> should be a similar string that gives\n      the pairs of characters that, when enter is pressed between\n      them, should have the second character also moved to its own\n      line. <a href=\"../demo/closebrackets.html\">Demo here</a>.</dd>\n\n      <dt id=\"addon_matchtags\"><a href=\"../addon/edit/matchtags.js\"><code>edit/matchtags.js</code></a></dt>\n      <dd>Defines an option <code>matchTags</code> that, when enabled,\n      will cause the tags around the cursor to be highlighted (using\n      the <code>CodeMirror-matchingtag</code> class). Also\n      defines\n      a <a href=\"#commands\">command</a> <code>toMatchingTag</code>,\n      which you can bind a key to in order to jump to the tag mathing\n      the one under the cursor. Depends on\n      the <code>addon/fold/xml-fold.js</code>\n      addon. <a href=\"../demo/matchtags.html\">Demo here.</a></dd>\n\n      <dt id=\"addon_trailingspace\"><a href=\"../addon/edit/trailingspace.js\"><code>edit/trailingspace.js</code></a></dt>\n      <dd>Adds an option <code>showTrailingSpace</code> which, when\n      enabled, adds the CSS class <code>cm-trailingspace</code> to\n      stretches of whitespace at the end of lines.\n      The <a href=\"../demo/trailingspace.html\">demo</a> has a nice\n      squiggly underline style for this class.</dd>\n\n      <dt id=\"addon_closetag\"><a href=\"../addon/edit/closetag.js\"><code>edit/closetag.js</code></a></dt>\n      <dd>Provides utility functions for adding automatic tag closing\n      to XML modes. See\n      the <a href=\"../demo/closetag.html\">demo</a>.</dd>\n\n      <dt id=\"addon_continuelist\"><a href=\"../addon/edit/continuelist.js\"><code>edit/continuelist.js</code></a></dt>\n      <dd>Markdown specific. Defines\n      a <code>\"newlineAndIndentContinueMarkdownList\"</code> <a href=\"#commands\">command</a>\n      command that can be bound to <code>enter</code> to automatically\n      insert the leading characters for continuing a list. See\n      the <a href=\"../mode/markdown/index.html\">Markdown mode\n      demo</a>.</dd>\n\n      <dt id=\"addon_comment\"><a href=\"../addon/comment/comment.js\"><code>comment/comment.js</code></a></dt>\n      <dd>Addon for commenting and uncommenting code. Adds three\n      methods to CodeMirror instances:\n      <dl>\n        <dt id=\"lineComment\"><code><strong>lineComment</strong>(from: {line, ch}, to: {line, ch}, ?options: object)</code></dt>\n        <dd>Set the lines in the given range to be line comments. Will\n        fall back to <code>blockComment</code> when no line comment\n        style is defined for the mode.</dd>\n        <dt id=\"blockComment\"><code><strong>blockComment</strong>(from: {line, ch}, to: {line, ch}, ?options: object)</code></dt>\n        <dd>Wrap the code in the given range in a block comment. Will\n        fall back to <code>lineComment</code> when no block comment\n        style is defined for the mode.</dd>\n        <dt id=\"uncomment\"><code><strong>uncomment</strong>(from: {line, ch}, to: {line, ch}, ?options: object) → boolean</code></dt>\n        <dd>Try to uncomment the given range.\n          Returns <code>true</code> if a comment range was found and\n          removed, <code>false</code> otherwise.</dd>\n      </dl>\n      The <code>options</code> object accepted by these methods may\n      have the following properties:\n      <dl>\n        <dt><code>blockCommentStart, blockCommentEnd, blockCommentLead, lineComment: string</code></dt>\n        <dd>Override the <a href=\"#mode_comment\">comment string\n        properties</a> of the mode with custom comment strings.</dd>\n        <dt><code><strong>padding</strong>: string</code></dt>\n        <dd>A string that will be inserted after opening and before\n        closing comment markers. Defaults to a single space.</dd>\n        <dt><code><strong>commentBlankLines</strong>: boolean</code></dt>\n        <dd>Whether, when adding line comments, to also comment lines\n        that contain only whitespace.</dd>\n        <dt><code><strong>indent</strong>: boolean</code></dt>\n        <dd>When adding line comments and this is turned on, it will\n        align the comment block to the current indentation of the\n        first line of the block.</dd>\n        <dt><code><strong>fullLines</strong>: boolean</code></dt>\n        <dd>When block commenting, this controls whether the whole\n        lines are indented, or only the precise range that is given.\n        Defaults to <code>true</code>.</dd>\n      </dl>\n      The addon also defines\n      a <code>toggleComment</code> <a href=\"#commands\">command</a>,\n      which will try to uncomment the current selection, and if that\n      fails, line-comments it.</dd>\n\n      <dt id=\"addon_foldcode\"><a href=\"../addon/fold/foldcode.js\"><code>fold/foldcode.js</code></a></dt>\n      <dd>Helps with code folding. Adds a <code>foldCode</code> method\n      to editor instances, which will try to do a code fold starting\n      at the given line, or unfold the fold that is already present.\n      The method takes as first argument the position that should be\n      folded (may be a line number or\n      a <a href=\"#Pos\"><code>Pos</code></a>), and as second optional\n      argument either a range-finder function, or an options object,\n      supporting the following properties:\n      <dl>\n        <dt><code><strong>rangeFinder</strong>: fn(CodeMirror, Pos)</code></dt>\n        <dd>The function that is used to find foldable ranges. If this\n        is not directly passed, it will\n        call <a href=\"#getHelper\"><code>getHelper</code></a> with\n        a <code>\"fold\"</code> type to find one that's appropriate for\n        the mode. There are files in\n        the <a href=\"../addon/fold/\"><code>addon/fold/</code></a>\n        directory providing <code>CodeMirror.fold.brace</code>, which\n        finds blocks in brace languages (JavaScript, C, Java,\n        etc), <code>CodeMirror.fold.indent</code>, for languages where\n        indentation determines block structure (Python, Haskell),\n        and <code>CodeMirror.fold.xml</code>, for XML-style languages,\n        and <code>CodeMirror.fold.comment</code>, for folding comment\n        blocks.</dd>\n        <dt><code><strong>widget</strong>: string|Element</code></dt>\n        <dd>The widget to show for folded ranges. Can be either a\n        string, in which case it'll become a span with\n        class <code>CodeMirror-foldmarker</code>, or a DOM node.</dd>\n        <dt><code><strong>scanUp</strong>: boolean</code></dt>\n        <dd>When true (default is false), the addon will try to find\n        foldable ranges on the lines above the current one if there\n        isn't an eligible one on the given line.</dd>\n        <dt><code><strong>minFoldSize</strong>: integer</code></dt>\n        <dd>The minimum amount of lines that a fold should span to be\n        accepted. Defaults to 0, which also allows single-line\n        folds.</dd>\n      </dl>\n      See <a href=\"../demo/folding.html\">the demo</a> for an\n      example.</dd>\n\n      <dt id=\"addon_foldgutter\"><a href=\"../addon/fold/foldgutter.js\"><code>fold/foldgutter.js</code></a></dt>\n      <dd>Provides an option <code>foldGutter</code>, which can be\n      used to create a gutter with markers indicating the blocks that\n      can be folded. Create a gutter using\n      the <a href=\"#option_gutters\"><code>gutters</code></a> option,\n      giving it the class <code>CodeMirror-foldgutter</code> or\n      something else if you configure the addon to use a different\n      class, and this addon will show markers next to folded and\n      foldable blocks, and handle clicks in this gutter. Note that\n      CSS styles should be applied to make the gutter, and the fold\n      markers within it, visible. A default set of CSS styles are\n      available in:\n      <a href=\"../addon/fold/foldgutter.css\">\n        <code>addon/fold/foldgutter.css</code>\n      </a>.\n      The option\n      can be either set to <code>true</code>, or an object containing\n      the following optional option fields:\n      <dl>\n        <dt><code><strong>gutter</strong>: string</code></dt>\n        <dd>The CSS class of the gutter. Defaults\n        to <code>\"CodeMirror-foldgutter\"</code>. You will have to\n        style this yourself to give it a width (and possibly a\n        background). See the default gutter style rules above.</dd>\n        <dt><code><strong>indicatorOpen</strong>: string | Element</code></dt>\n        <dd>A CSS class or DOM element to be used as the marker for\n        open, foldable blocks. Defaults\n        to <code>\"CodeMirror-foldgutter-open\"</code>.</dd>\n        <dt><code><strong>indicatorFolded</strong>: string | Element</code></dt>\n        <dd>A CSS class or DOM element to be used as the marker for\n        folded blocks. Defaults to <code>\"CodeMirror-foldgutter-folded\"</code>.</dd>\n        <dt><code><strong>rangeFinder</strong>: fn(CodeMirror, Pos)</code></dt>\n        <dd>The range-finder function to use when determining whether\n        something can be folded. When not\n        given, <a href=\"#getHelper\"><code>getHelper</code></a> will be\n        used to determine a default.</dd>\n      </dl>\n      Demo <a href=\"../demo/folding.html\">here</a>.</dd>\n\n      <dt id=\"addon_runmode\"><a href=\"../addon/runmode/runmode.js\"><code>runmode/runmode.js</code></a></dt>\n      <dd>Can be used to run a CodeMirror mode over text without\n      actually opening an editor instance.\n      See <a href=\"../demo/runmode.html\">the demo</a> for an example.\n      There are alternate versions of the file avaible for\n      running <a href=\"../addon/runmode/runmode-standalone.js\">stand-alone</a>\n      (without including all of CodeMirror) and\n      for <a href=\"../addon/runmode/runmode.node.js\">running under\n      node.js</a>.</dd>\n\n      <dt id=\"addon_colorize\"><a href=\"../addon/runmode/colorize.js\"><code>runmode/colorize.js</code></a></dt>\n      <dd>Provides a convenient way to syntax-highlight code snippets\n      in a webpage. Depends on\n      the <a href=\"#addon_runmode\"><code>runmode</code></a> addon (or\n      its standalone variant). Provides\n      a <code>CodeMirror.colorize</code> function that can be called\n      with an array (or other array-ish collection) of DOM nodes that\n      represent the code snippets. By default, it'll get\n      all <code>pre</code> tags. Will read the <code>data-lang</code>\n      attribute of these nodes to figure out their language, and\n      syntax-color their content using the relevant CodeMirror mode\n      (you'll have to load the scripts for the relevant modes\n      yourself). A second argument may be provided to give a default\n      mode, used when no language attribute is found for a node. Used\n      in this manual to highlight example code.</dd>\n\n      <dt id=\"addon_overlay\"><a href=\"../addon/mode/overlay.js\"><code>mode/overlay.js</code></a></dt>\n      <dd>Mode combinator that can be used to extend a mode with an\n      'overlay' — a secondary mode is run over the stream, along with\n      the base mode, and can color specific pieces of text without\n      interfering with the base mode.\n      Defines <code>CodeMirror.overlayMode</code>, which is used to\n      create such a mode. See <a href=\"../demo/mustache.html\">this\n      demo</a> for a detailed example.</dd>\n\n      <dt id=\"addon_multiplex\"><a href=\"../addon/mode/multiplex.js\"><code>mode/multiplex.js</code></a></dt>\n      <dd>Mode combinator that can be used to easily 'multiplex'\n      between several modes.\n      Defines <code>CodeMirror.multiplexingMode</code> which, when\n      given as first argument a mode object, and as other arguments\n      any number of <code>{open, close, mode [, delimStyle, innerStyle]}</code>\n      objects, will return a mode object that starts parsing using the\n      mode passed as first argument, but will switch to another mode\n      as soon as it encounters a string that occurs in one of\n      the <code>open</code> fields of the passed objects. When in a\n      sub-mode, it will go back to the top mode again when\n      the <code>close</code> string is encountered.\n      Pass <code>\"\\n\"</code> for <code>open</code> or <code>close</code>\n      if you want to switch on a blank line.\n      <ul><li>When <code>delimStyle</code> is specified, it will be the token\n      style returned for the delimiter tokens.</li>\n      <li>When <code>innerStyle</code> is specified, it will be the token\n      style added for each inner mode token.</li></ul>\n      The outer mode will not see the content between the delimiters.\n      See <a href=\"../demo/multiplex.html\">this demo</a> for an\n      example.</dd>\n\n      <dt id=\"addon_show-hint\"><a href=\"../addon/hint/show-hint.js\"><code>hint/show-hint.js</code></a></dt>\n      <dd>Provides a framework for showing autocompletion hints.\n      Defines <code>CodeMirror.showHint</code>, which takes a\n      CodeMirror instance, a hinting function, and optionally an\n      options object, and pops up a widget that allows the user to\n      select a completion. Hinting functions are function that take an\n      editor instance and an optional options object, and return\n      a <code>{list, from, to}</code> object, where <code>list</code>\n      is an array of strings or objects (the completions),\n      and <code>from</code> and <code>to</code> give the start and end\n      of the token that is being completed as <code>{line, ch}</code>\n      objects. If no hinting function is given, the addon will try to\n      use <a href=\"#getHelper\"><code>getHelper</code></a> with\n      the <code>\"hint\"</code> type to find one. When completions\n      aren't simple strings, they should be objects with the folowing\n      properties:\n      <dl>\n        <dt><code><strong>text</strong>: string</code></dt>\n        <dd>The completion text. This is the only required\n        property.</dd>\n        <dt><code><strong>displayText</strong>: string</code></dt>\n        <dd>The text that should be displayed in the menu.</dd>\n        <dt><code><strong>className</strong>: string</code></dt>\n        <dd>A CSS class name to apply to the completion's line in the\n        menu.</dd>\n        <dt><code><strong>render</strong>: fn(Element, self, data)</code></dt>\n        <dd>A method used to create the DOM structure for showing the\n        completion by appending it to its first argument.</dd>\n        <dt><code><strong>hint</strong>: fn(CodeMirror, self, data)</code></dt>\n        <dd>A method used to actually apply the completion, instead of\n        the default behavior.</dd>\n      </dl>\n      The plugin understands the following options (the options object\n      will also be passed along to the hinting function, which may\n      understand additional options):\n      <dl>\n        <dt><code><strong>async</strong>: boolean</code></dt>\n        <dd>When set to true, the hinting function's signature should\n        be <code>(cm, callback, ?options)</code>, and the completion\n        interface will only be popped up when the hinting function\n        calls the callback, passing it the object holding the\n        completions.</dd>\n        <dt><code><strong>completeSingle</strong>: boolean</code></dt>\n        <dd>Determines whether, when only a single completion is\n        available, it is completed without showing the dialog.\n        Defaults to true.</dd>\n        <dt><code><strong>alignWithWord</strong>: boolean</code></dt>\n        <dd>Whether the pop-up should be horizontally aligned with the\n        start of the word (true, default), or with the cursor (false).</dd>\n        <dt><code><strong>closeOnUnfocus</strong>: boolean</code></dt>\n        <dd>When enabled (which is the default), the pop-up will close\n        when the editor is unfocused.</dd>\n        <dt><code><strong>customKeys</strong>: keymap</code></dt>\n        <dd>Allows you to provide a custom keymap of keys to be active\n        when the pop-up is active. The handlers will be called with an\n        extra argument, a handle to the completion menu, which\n        has <code>moveFocus(n)</code>, <code>setFocus(n)</code>, <code>pick()</code>,\n        and <code>close()</code> methods (see the source for details),\n        that can be used to change the focused element, pick the\n        current element or close the menu.</dd>\n        <dt><code><strong>extraKeys</strong>: keymap</code></dt>\n        <dd>Like <code>customKeys</code> above, but the bindings will\n        be added to the set of default bindings, instead of replacing\n        them.</dd>\n      </dl>\n      The following events will be fired on the completions object\n      during completion:\n      <dl>\n        <dt><code><strong>\"shown\"</strong> ()</code></dt>\n        <dd>Fired when the pop-up is shown.</dd>\n        <dt><code><strong>\"select\"</strong> (completion, Element)</code></dt>\n        <dd>Fired when a completion is selected. Passed the completion\n        value (string or object) and the DOM node that represents it\n        in the menu.</dd>\n        <dt><code><strong>\"close\"</strong> ()</code></dt>\n        <dd>Fired when the completion is finished.</dd>\n      </dl>\n      This addon depends styles\n      from <code>addon/hint/show-hint.css</code>. Check\n      out <a href=\"../demo/complete.html\">the demo</a> for an\n      example.</dd>\n\n      <dt id=\"addon_javascript-hint\"><a href=\"../addon/hint/javascript-hint.js\"><code>hint/javascript-hint.js</code></a></dt>\n      <dd>Defines a simple hinting function for JavaScript\n      (<code>CodeMirror.hint.javascript</code>) and CoffeeScript\n      (<code>CodeMirror.hint.coffeescript</code>) code. This will\n      simply use the JavaScript environment that the editor runs in as\n      a source of information about objects and their properties.</dd>\n\n      <dt id=\"addon_xml-hint\"><a href=\"../addon/hint/xml-hint.js\"><code>hint/xml-hint.js</code></a></dt>\n      <dd>Defines <code>CodeMirror.hint.xml</code>, which produces\n      hints for XML tagnames, attribute names, and attribute values,\n      guided by a <code>schemaInfo</code> option (a property of the\n      second argument passed to the hinting function, or the third\n      argument passed to <code>CodeMirror.showHint</code>).<br>The\n      schema info should be an object mapping tag names to information\n      about these tags, with optionally a <code>\"!top\"</code> property\n      containing a list of the names of valid top-level tags. The\n      values of the properties should be objects with optional\n      properties <code>children</code> (an array of valid child\n      element names, omit to simply allow all tags to appear)\n      and <code>attrs</code> (an object mapping attribute names\n      to <code>null</code> for free-form attributes, and an array of\n      valid values for restricted\n      attributes). <a href=\"../demo/xmlcomplete.html\">Demo\n      here.</a></dd>\n\n      <dt id=\"addon_html-hint\"><a href=\"../addon/hint/html-hint.js\"><code>hint/html-hint.js</code></a></dt>\n      <dd>Provides schema info to\n      the <a href=\"#addon_xml-hint\">xml-hint</a> addon for HTML\n      documents. Defines a schema\n      object <code>CodeMirror.htmlSchema</code> that you can pass to\n      as a <code>schemaInfo</code> option, and\n      a <code>CodeMirror.hint.html</code> hinting function that\n      automatically calls <code>CodeMirror.hint.xml</code> with this\n      schema data. See\n      the <a href=\"../demo/html5complete.html\">demo</a>.</dd>\n\n      <dt id=\"addon_css-hint\"><a href=\"../addon/hint/css-hint.js\"><code>hint/css-hint.js</code></a></dt>\n      <dd>A minimal hinting function for CSS code.\n      Defines <code>CodeMirror.hint.css</code>.</dd>\n\n      <dt id=\"addon_python-hint\"><a href=\"../addon/hint/python-hint.js\"><code>hint/python-hint.js</code></a></dt>\n      <dd>A very simple hinting function for Python code.\n      Defines <code>CodeMirror.hint.python</code>.</dd>\n\n      <dt id=\"addon_anyword-hint\"><a href=\"../addon/hint/anyword-hint.js\"><code>hint/anyword-hint.js</code></a></dt>\n      <dd>A very simple hinting function\n      (<code>CodeMirror.hint.anyword</code>) that simply looks for\n      words in the nearby code and completes to those. Takes two\n      optional options, <code>word</code>, a regular expression that\n      matches words (sequences of one or more character),\n      and <code>range</code>, which defines how many lines the addon\n      should scan when completing (defaults to 500).</dd>\n\n      <dt id=\"addon_sql-hint\"><a href=\"../addon/hint/sql-hint.js\"><code>hint/sql-hint.js</code></a></dt>\n      <dd>A simple SQL hinter. Defines <code>CodeMirror.hint.sql</code>.</dd>\n\n      <dt id=\"addon_pig-hint\"><a href=\"../addon/hint/pig-hint.js\"><code>hint/pig-hint.js</code></a></dt>\n      <dd>A simple hinter for <a href=\"../mode/pig/index.html\">Pig Latin</a>. Defines <code>CodeMirror.hint.pig</code>.</dd>\n\n      <dt id=\"addon_match-highlighter\"><a href=\"../addon/search/match-highlighter.js\"><code>search/match-highlighter.js</code></a></dt>\n      <dd>Adds a <code>highlightSelectionMatches</code> option that\n      can be enabled to highlight all instances of a currently\n      selected word. Can be set either to true or to an object\n      containing the following options: <code>minChars</code>, for the\n      minimum amount of selected characters that triggers a highlight\n      (default 2), <code>style</code>, for the style to be used to\n      highlight the matches (default <code>\"matchhighlight\"</code>,\n      which will correspond to CSS\n      class <code>cm-matchhighlight</code>),\n      and <code>showToken</code> which can be set to <code>true</code>\n      or to a regexp matching the characters that make up a word. When\n      enabled, it causes the current word to be highlighted when\n      nothing is selected (defaults to off).\n      Demo <a href=\"../demo/matchhighlighter.html\">here</a>.</dd>\n\n      <dt id=\"addon_lint\"><a href=\"../addon/lint/lint.js\"><code>lint/lint.js</code></a></dt>\n      <dd>Defines an interface component for showing linting warnings,\n      with pluggable warning sources\n      (see <a href=\"../addon/lint/json-lint.js\"><code>json-lint.js</code></a>,\n      <a href=\"../addon/lint/javascript-lint.js\"><code>javascript-lint.js</code></a>,\n      and <a href=\"../addon/lint/css-lint.js\"><code>css-lint.js</code></a>\n      in the same directory). Defines a <code>lint</code> option that\n      can be set to a warning source (for\n      example <code>CodeMirror.lint.javascript</code>), or\n      to <code>true</code>, in which\n      case <a href=\"#getHelper\"><code>getHelper</code></a> with\n      type <code>\"lint\"</code> is used to determined a validator\n      function. Depends on <code>addon/lint/lint.css</code>. A demo\n      can be found <a href=\"../demo/lint.html\">here</a>.</dd>\n\n      <dt id=\"addon_mark-selection\"><a href=\"../addon/selection/mark-selection.js\"><code>selection/mark-selection.js</code></a></dt>\n      <dd>Causes the selected text to be marked with the CSS class\n      <code>CodeMirror-selectedtext</code> when the <code>styleSelectedText</code> option\n      is enabled. Useful to change the colour of the selection (in addition to the background),\n      like in <a href=\"../demo/markselection.html\">this demo</a>.</dd>\n\n      <dt id=\"addon_active-line\"><a href=\"../addon/selection/active-line.js\"><code>selection/active-line.js</code></a></dt>\n      <dd>Defines a <code>styleActiveLine</code> option that, when enabled,\n      gives the wrapper of the active line the class <code>CodeMirror-activeline</code>,\n      and adds a background with the class <code>CodeMirror-activeline-background</code>.\n      is enabled. See the <a href=\"../demo/activeline.html\">demo</a>.</dd>\n\n      <dt id=\"addon_loadmode\"><a href=\"../addon/mode/loadmode.js\"><code>mode/loadmode.js</code></a></dt>\n      <dd>Defines a <code>CodeMirror.requireMode(modename,\n      callback)</code> function that will try to load a given mode and\n      call the callback when it succeeded. You'll have to\n      set <code>CodeMirror.modeURL</code> to a string that mode paths\n      can be constructed from, for\n      example <code>\"mode/%N/%N.js\"</code>—the <code>%N</code>'s will\n      be replaced with the mode name. Also\n      defines <code>CodeMirror.autoLoadMode(instance, mode)</code>,\n      which will ensure the given mode is loaded and cause the given\n      editor instance to refresh its mode when the loading\n      succeeded. See the <a href=\"../demo/loadmode.html\">demo</a>.</dd>\n\n      <dt id=\"addon_continuecomment\"><a href=\"../addon/comment/continuecomment.js\"><code>comment/continuecomment.js</code></a></dt>\n      <dd>Adds an <code>continueComments</code> option, which can be\n      set to true to have the editor prefix new lines inside C-like\n      block comments with an asterisk when Enter is pressed. It can\n      also be set to a string in order to bind this functionality to a\n      specific key..</dd>\n\n      <dt id=\"addon_placeholder\"><a href=\"../addon/display/placeholder.js\"><code>display/placeholder.js</code></a></dt>\n      <dd>Adds a <code>placeholder</code> option that can be used to\n      make text appear in the editor when it is empty and not focused.\n      Also gives the editor a <code>CodeMirror-empty</code> CSS class\n      whenever it doesn't contain any text.\n      See <a href=\"../demo/placeholder.html\">the demo</a>.</dd>\n\n      <dt id=\"addon_fullscreen\"><a href=\"../addon/display/fullscreen.js\"><code>display/fullscreen.js</code></a></dt>\n      <dd>Defines an option <code>fullScreen</code> that, when set\n      to <code>true</code>, will make the editor full-screen (as in,\n      taking up the whole browser window). Depends\n      on <a href=\"../addon/display/fullscreen.css\"><code>fullscreen.css</code></a>. <a href=\"../demo/fullscreen.html\">Demo\n      here</a>.</dd>\n\n      <dt id=\"addon_hardwrap\"><a href=\"../addon/wrap/hardwrap.js\"><code>wrap/hardwrap.js</code></a></dt>\n      <dd>Addon to perform hard line wrapping/breaking for paragraphs\n      of text. Adds these methods to editor instances:\n        <dl>\n          <dt><code><strong>wrapParagraph</strong>(?pos: {line, ch}, ?options: object)</code></dt>\n          <dd>Wraps the paragraph at the given position.\n          If <code>pos</code> is not given, it defaults to the cursor\n          position.</dd>\n          <dt><code><strong>wrapRange</strong>(from: {line, ch}, to: {line, ch}, ?options: object)</code></dt>\n          <dd>Wraps the given range as one big paragraph.</dd>\n          <dt><code><strong>wrapParagraphsInRange</strong>(from: {line, ch}, to: {line, ch}, ?options: object)</code></dt>\n          <dd>Wrapps the paragraphs in (and overlapping with) the\n          given range individually.</dd>\n        </dl>\n        The following options are recognized:\n        <dl>\n          <dt><code><strong>paragraphStart</strong>, <strong>paragraphEnd</strong>: RegExp</code></dt>\n          <dd>Blank lines are always considered paragraph boundaries.\n          These options can be used to specify a pattern that causes\n          lines to be considered the start or end of a paragraph.</dd>\n          <dt><code><strong>column</strong>: number</code></dt>\n          <dd>The column to wrap at. Defaults to 80.</dd>\n          <dt><code><strong>wrapOn</strong>: RegExp</code></dt>\n          <dd>A regular expression that matches only those\n          two-character strings that allow wrapping. By default, the\n          addon wraps on whitespace and after dash characters.</dd>\n          <dt><code><strong>killTrailingSpace</strong>: boolean</code></dt>\n          <dd>Whether trailing space caused by wrapping should be\n          preserved, or deleted. Defaults to true.</dd>\n        </dl>\n        A demo of the addon is available <a href=\"../demo/hardwrap.html\">here</a>.\n      </dd>\n\n      <dt id=\"addon_merge\"><a href=\"../addon/merge/merge.js\"><code>merge/merge.js</code></a></dt>\n      <dd>Implements an interface for merging changes, using either a\n      2-way or a 3-way view. The <code>CodeMirror.MergeView</code>\n      constructor takes arguments similar to\n      the <a href=\"#CodeMirror\"><code>CodeMirror</code></a>\n      constructor, first a node to append the interface to, and then\n      an options object. Two extra optional options are\n      recognized, <code>origLeft</code> and <code>origRight</code>,\n      which may be strings that provide original versions of the\n      document, which will be shown to the left and right of the\n      editor in non-editable CodeMirror instances. The merge interface\n      will highlight changes between the editable document and the\n      original(s) (<a href=\"../demo/merge.html\">demo</a>).</dd>\n\n      <dt id=\"addon_tern\"><a href=\"../addon/tern/tern.js\"><code>tern/tern.js</code></a></dt>\n      <dd>Provides integration with\n      the <a href=\"http://ternjs.net\">Tern</a> JavaScript analysis\n      engine, for completion, definition finding, and minor\n      refactoring help. See the <a href=\"../demo/tern.html\">demo</a>\n      for a very simple integration. For more involved scenarios, see\n      the comments at the top of\n      the <a href=\"../addon/tern/tern.js\">addon</a> and the\n      implementation of the\n      (multi-file) <a href=\"http://ternjs.net/doc/demo.html\">demonstration\n      on the Tern website</a>.</dd>\n    </dl>\n</section>\n\n<section id=modeapi>\n    <h2>Writing CodeMirror Modes</h2>\n\n    <p>Modes typically consist of a single JavaScript file. This file\n    defines, in the simplest case, a lexer (tokenizer) for your\n    language—a function that takes a character stream as input,\n    advances it past a token, and returns a style for that token. More\n    advanced modes can also handle indentation for the language.</p>\n\n    <p id=\"defineMode\">The mode script should\n    call <code><strong>CodeMirror.defineMode</strong></code> to\n    register itself with CodeMirror. This function takes two\n    arguments. The first should be the name of the mode, for which you\n    should use a lowercase string, preferably one that is also the\n    name of the files that define the mode (i.e. <code>\"xml\"</code> is\n    defined in <code>xml.js</code>). The second argument should be a\n    function that, given a CodeMirror configuration object (the thing\n    passed to the <code>CodeMirror</code> function) and an optional\n    mode configuration object (as in\n    the <a href=\"#option_mode\"><code>mode</code></a> option), returns\n    a mode object.</p>\n\n    <p>Typically, you should use this second argument\n    to <code>defineMode</code> as your module scope function (modes\n    should not leak anything into the global scope!), i.e. write your\n    whole mode inside this function.</p>\n\n    <p>The main responsibility of a mode script is <em>parsing</em>\n    the content of the editor. Depending on the language and the\n    amount of functionality desired, this can be done in really easy\n    or extremely complicated ways. Some parsers can be stateless,\n    meaning that they look at one element (<em>token</em>) of the code\n    at a time, with no memory of what came before. Most, however, will\n    need to remember something. This is done by using a <em>state\n    object</em>, which is an object that is always passed when\n    reading a token, and which can be mutated by the tokenizer.</p>\n\n    <p id=\"startState\">Modes that use a state must define\n    a <code><strong>startState</strong></code> method on their mode\n    object. This is a function of no arguments that produces a state\n    object to be used at the start of a document.</p>\n\n    <p id=\"token\">The most important part of a mode object is\n    its <code><strong>token</strong>(stream, state)</code> method. All\n    modes must define this method. It should read one token from the\n    stream it is given as an argument, optionally update its state,\n    and return a style string, or <code>null</code> for tokens that do\n    not have to be styled. For your styles, you are encouraged to use\n    the 'standard' names defined in the themes (without\n    the <code>cm-</code> prefix). If that fails, it is also possible\n    to come up with your own and write your own CSS theme file.<p>\n\n    <p id=\"token_style_line\">A typical token string would\n    be <code>\"variable\"</code> or <code>\"comment\"</code>. Multiple\n    styles can be returned (separated by spaces), for\n    example <code>\"string error\"</code> for a thing that looks like a\n    string but is invalid somehow (say, missing its closing quote).\n    When a style is prefixed by <code>\"line-\"</code>\n    or <code>\"line-background-\"</code>, the style will be applied to\n    the whole line, analogous to what\n    the <a href=\"#addLineClass\"><code>addLineClass</code></a> method\n    does—styling the <code>\"text\"</code> in the simple case, and\n    the <code>\"background\"</code> element\n    when <code>\"line-background-\"</code> is prefixed.</p>\n\n    <p id=\"StringStream\">The stream object that's passed\n    to <code>token</code> encapsulates a line of code (tokens may\n    never span lines) and our current position in that line. It has\n    the following API:</p>\n\n    <dl>\n      <dt><code><strong>eol</strong>() → boolean</code></dt>\n      <dd>Returns true only if the stream is at the end of the\n      line.</dd>\n      <dt><code><strong>sol</strong>() → boolean</code></dt>\n      <dd>Returns true only if the stream is at the start of the\n      line.</dd>\n\n      <dt><code><strong>peek</strong>() → string</code></dt>\n      <dd>Returns the next character in the stream without advancing\n      it. Will return an <code>null</code> at the end of the\n      line.</dd>\n      <dt><code><strong>next</strong>() → string</code></dt>\n      <dd>Returns the next character in the stream and advances it.\n      Also returns <code>null</code> when no more characters are\n      available.</dd>\n\n      <dt><code><strong>eat</strong>(match: string|regexp|function(char: string) → boolean) → string</code></dt>\n      <dd><code>match</code> can be a character, a regular expression,\n      or a function that takes a character and returns a boolean. If\n      the next character in the stream 'matches' the given argument,\n      it is consumed and returned. Otherwise, <code>undefined</code>\n      is returned.</dd>\n      <dt><code><strong>eatWhile</strong>(match: string|regexp|function(char: string) → boolean) → boolean</code></dt>\n      <dd>Repeatedly calls <code>eat</code> with the given argument,\n      until it fails. Returns true if any characters were eaten.</dd>\n      <dt><code><strong>eatSpace</strong>() → boolean</code></dt>\n      <dd>Shortcut for <code>eatWhile</code> when matching\n      white-space.</dd>\n      <dt><code><strong>skipToEnd</strong>()</code></dt>\n      <dd>Moves the position to the end of the line.</dd>\n      <dt><code><strong>skipTo</strong>(ch: string) → boolean</code></dt>\n      <dd>Skips to the next occurrence of the given character, if\n      found on the current line (doesn't advance the stream if the\n      character does not occur on the line). Returns true if the\n      character was found.</dd>\n      <dt><code><strong>match</strong>(pattern: string, ?consume: boolean, ?caseFold: boolean) → boolean</code></dt>\n      <dt><code><strong>match</strong>(pattern: regexp, ?consume: boolean) → array&lt;string&gt;</code></dt>\n      <dd>Act like a\n      multi-character <code>eat</code>—if <code>consume</code> is true\n      or not given—or a look-ahead that doesn't update the stream\n      position—if it is false. <code>pattern</code> can be either a\n      string or a regular expression starting with <code>^</code>.\n      When it is a string, <code>caseFold</code> can be set to true to\n      make the match case-insensitive. When successfully matching a\n      regular expression, the returned value will be the array\n      returned by <code>match</code>, in case you need to extract\n      matched groups.</dd>\n\n      <dt><code><strong>backUp</strong>(n: integer)</code></dt>\n      <dd>Backs up the stream <code>n</code> characters. Backing it up\n      further than the start of the current token will cause things to\n      break, so be careful.</dd>\n      <dt><code><strong>column</strong>() → integer</code></dt>\n      <dd>Returns the column (taking into account tabs) at which the\n      current token starts.</dd>\n      <dt><code><strong>indentation</strong>() → integer</code></dt>\n      <dd>Tells you how far the current line has been indented, in\n      spaces. Corrects for tab characters.</dd>\n\n      <dt><code><strong>current</strong>() → string</code></dt>\n      <dd>Get the string between the start of the current token and\n      the current stream position.</dd>\n    </dl>\n\n    <p id=\"blankLine\">By default, blank lines are simply skipped when\n    tokenizing a document. For languages that have significant blank\n    lines, you can define\n    a <code><strong>blankLine</strong>(state)</code> method on your\n    mode that will get called whenever a blank line is passed over, so\n    that it can update the parser state.</p>\n\n    <p id=\"copyState\">Because state object are mutated, and CodeMirror\n    needs to keep valid versions of a state around so that it can\n    restart a parse at any line, copies must be made of state objects.\n    The default algorithm used is that a new state object is created,\n    which gets all the properties of the old object. Any properties\n    which hold arrays get a copy of these arrays (since arrays tend to\n    be used as mutable stacks). When this is not correct, for example\n    because a mode mutates non-array properties of its state object, a\n    mode object should define\n    a <code><strong>copyState</strong></code> method, which is given a\n    state and should return a safe copy of that state.</p>\n\n    <p id=\"indent\">If you want your mode to provide smart indentation\n    (through the <a href=\"#indentLine\"><code>indentLine</code></a>\n    method and the <code>indentAuto</code>\n    and <code>newlineAndIndent</code> commands, to which keys can be\n    <a href=\"#option_extraKeys\">bound</a>), you must define\n    an <code><strong>indent</strong>(state, textAfter)</code> method\n    on your mode object.</p>\n\n    <p>The indentation method should inspect the given state object,\n    and optionally the <code>textAfter</code> string, which contains\n    the text on the line that is being indented, and return an\n    integer, the amount of spaces to indent. It should usually take\n    the <a href=\"#option_indentUnit\"><code>indentUnit</code></a>\n    option into account. An indentation method may\n    return <code>CodeMirror.Pass</code> to indicate that it\n    could not come up with a precise indentation.</p>\n\n    <p id=\"mode_comment\">To work well with\n    the <a href=\"#addon_comment\">commenting addon</a>, a mode may\n    define <code><strong>lineComment</strong></code> (string that\n    starts a line\n    comment), <code><strong>blockCommentStart</strong></code>, <code><strong>blockCommentEnd</strong></code>\n    (strings that start and end block comments),\n    and <code>blockCommentLead</code> (a string to put at the start of\n    continued lines in a block comment). All of these are\n    optional.</p>\n\n    <p id=\"electricChars\">Finally, a mode may define\n    an <code>electricChars</code> property, which should hold a string\n    containing all the characters that should trigger the behaviour\n    described for\n    the <a href=\"#option_electricChars\"><code>electricChars</code></a>\n    option.</p>\n\n    <p>So, to summarize, a mode <em>must</em> provide\n    a <code>token</code> method, and it <em>may</em>\n    provide <code>startState</code>, <code>copyState</code>,\n    and <code>indent</code> methods. For an example of a trivial mode,\n    see the <a href=\"../mode/diff/diff.js\">diff mode</a>, for a more\n    involved example, see the <a href=\"../mode/clike/clike.js\">C-like\n    mode</a>.</p>\n\n    <p>Sometimes, it is useful for modes to <em>nest</em>—to have one\n    mode delegate work to another mode. An example of this kind of\n    mode is the <a href=\"../mode/htmlmixed/htmlmixed.js\">mixed-mode HTML\n    mode</a>. To implement such nesting, it is usually necessary to\n    create mode objects and copy states yourself. To create a mode\n    object, there are <code>CodeMirror.getMode(options,\n    parserConfig)</code>, where the first argument is a configuration\n    object as passed to the mode constructor function, and the second\n    argument is a mode specification as in\n    the <a href=\"#option_mode\"><code>mode</code></a> option. To copy a\n    state object, call <code>CodeMirror.copyState(mode, state)</code>,\n    where <code>mode</code> is the mode that created the given\n    state.</p>\n\n    <p id=\"innerMode\">In a nested mode, it is recommended to add an\n    extra method, <code><strong>innerMode</strong></code> which, given\n    a state object, returns a <code>{state, mode}</code> object with\n    the inner mode and its state for the current position. These are\n    used by utility scripts such as the <a href=\"#addon_closetag\">tag\n    closer</a> to get context information. Use\n    the <code>CodeMirror.innerMode</code> helper function to, starting\n    from a mode and a state, recursively walk down to the innermost\n    mode and state.</p>\n\n    <p>To make indentation work properly in a nested parser, it is\n    advisable to give the <code>startState</code> method of modes that\n    are intended to be nested an optional argument that provides the\n    base indentation for the block of code. The JavaScript and CSS\n    parser do this, for example, to allow JavaScript and CSS code\n    inside the mixed-mode HTML mode to be properly indented.</p>\n\n    <p id=\"defineMIME\">It is possible, and encouraged, to associate\n    your mode, or a certain configuration of your mode, with\n    a <a href=\"http://en.wikipedia.org/wiki/MIME\">MIME</a> type. For\n    example, the JavaScript mode associates itself\n    with <code>text/javascript</code>, and its JSON variant\n    with <code>application/json</code>. To do this,\n    call <code><strong>CodeMirror.defineMIME</strong>(mime,\n    modeSpec)</code>, where <code>modeSpec</code> can be a string or\n    object specifying a mode, as in\n    the <a href=\"#option_mode\"><code>mode</code></a> option.</p>\n\n    <p id=\"extendMode\">Sometimes, it is useful to add or override mode\n    object properties from external code.\n    The <code><strong>CodeMirror.extendMode</strong></code> function\n    can be used to add properties to mode objects produced for a\n    specific mode. Its first argument is the name of the mode, its\n    second an object that specifies the properties that should be\n    added. This is mostly useful to add utilities that can later be\n    looked up through <a href=\"#getMode\"><code>getMode</code></a>.</p>\n</section>\n\n</article>\n\n<script>setTimeout(function(){CodeMirror.colorize();}, 20);</script>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/realworld.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Real-world Uses</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"docs.css\">\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Real-world uses</a>\n  </ul>\n</div>\n\n<article>\n\n<h2>CodeMirror real-world uses</h2>\n\n    <p><a href=\"mailto:marijnh@gmail.com\">Contact me</a> if you'd like\n    your project to be added to this list.</p>\n\n    <ul>\n      <li><a href=\"http://brackets.io\">Adobe Brackets</a> (code editor)</li>\n      <li><a href=\"http://amber-lang.net/\">Amber</a> (JavaScript-based Smalltalk system)</li>\n      <li><a href=\"http://apeye.org/\">APEye</a> (tool for testing &amp; documenting APIs)</li>\n      <li><a href=\"http://blog.bitbucket.org/2013/05/14/edit-your-code-in-the-cloud-with-bitbucket/\">Bitbucket</a> (code hosting)</li>\n      <li><a href=\"http://buzz.blogger.com/2013/04/improvements-to-blogger-template-html.html\">Blogger's template editor</a></li>\n      <li><a href=\"http://bluegriffon.org/\">BlueGriffon</a> (HTML editor)</li>\n      <li><a href=\"http://cargocollective.com/\">Cargo Collective</a> (creative publishing platform)</li>\n      <li><a href=\"http://clickhelp.co/\">ClickHelp</a> (technical writing tool)</li>\n      <li><a href=\"http://complete-ly.appspot.com/playground/code.playground.html\">Complete.ly playground</a></li>\n      <li><a href=\"http://drupal.org/project/cpn\">Code per Node</a> (Drupal module)</li>\n      <li><a href=\"http://www.codebugapp.com/\">Codebug</a> (PHP Xdebug front-end)</li>\n      <li><a href=\"https://github.com/angelozerr/CodeMirror-Eclipse\">CodeMirror Eclipse</a> (embed CM in Eclipse)</li>\n      <li><a href=\"http://emmet.io/blog/codemirror-movie/\">CodeMirror movie</a> (scripted editing demos)</li>\n      <li><a href=\"http://code.google.com/p/codemirror2-gwt/\">CodeMirror2-GWT</a> (Google Web Toolkit wrapper)</li>\n      <li><a href=\"http://www.crunchzilla.com/code-monster\">Code Monster</a> & <a href=\"http://www.crunchzilla.com/code-maven\">Code Maven</a> (learning environment)</li>\n      <li><a href=\"http://codepen.io\">Codepen</a> (gallery of animations)</li>\n      <li><a href=\"http://sasstwo.codeschool.com/levels/1/challenges/1\">Code School</a> (online tech learning environment)</li>\n      <li><a href=\"http://code-snippets.bungeshea.com/\">Code Snippets</a> (WordPress snippet management plugin)</li>\n      <li><a href=\"http://antonmi.github.io/code_together/\">Code together</a> (collaborative editing)</li>\n      <li><a href=\"http://codev.it/\">Codev</a> (collaborative IDE)</li>\n      <li><a href=\"http://www.codezample.com\">CodeZample</a> (code snippet sharing)</li>\n      <li><a href=\"http://codio.com\">Codio</a> (Web IDE)</li>\n      <li><a href=\"http://ot.substance.io/demo/\">Collaborative CodeMirror demo</a> (CodeMirror + operational transforms)</li>\n      <li><a href=\"http://www.communitycodecamp.com/\">Community Code Camp</a> (code snippet sharing)</li>\n      <li><a href=\"http://www.compilejava.net/\">compilejava.net</a> (online Java sandbox)</li>\n      <li><a href=\"http://www.ckwnc.com/\">CKWNC</a> (UML editor)</li>\n      <li><a href=\"http://www.crudzilla.com/\">Crudzilla</a> (self-hosted web IDE)</li>\n      <li><a href=\"http://cssdeck.com/\">CSSDeck</a> (CSS showcase)</li>\n      <li><a href=\"http://ireneros.com/deck/deck.js-codemirror/introduction/#textarea-code\">Deck.js integration</a> (slides with editors)</li>\n      <li><a href=\"http://www.dbninja.com\">DbNinja</a> (MySQL access interface)</li>\n      <li><a href=\"https://chat.echoplex.us/\">Echoplexus</a> (chat and collaborative coding)</li>\n      <li><a href=\"http://elm-lang.org/Examples.elm\">Elm language examples</a></li>\n      <li><a href=\"http://eloquentjavascript.net/chapter1.html\">Eloquent JavaScript</a> (book)</li>\n      <li><a href=\"http://emmet.io\">Emmet</a> (fast XML editing)</li>\n      <li><a href=\"http://www.fastfig.com/\">Fastfig</a> (online computation/math tool)</li>\n      <li><a href=\"https://metacpan.org/module/Farabi\">Farabi</a> (modern Perl IDE)</li>\n      <li><a href=\"http://blog.pamelafox.org/2012/02/interactive-html5-slides-with-fathomjs.html\">FathomJS integration</a> (slides with editors, again)</li>\n      <li><a href=\"http://fiddlesalad.com/\">Fiddle Salad</a> (web development environment)</li>\n      <li><a href=\"http://www.firepad.io\">Firepad</a> (collaborative text editor)</li>\n      <li><a href=\"https://code.google.com/p/gerrit/\">Gerrit</a>'s diff view</a></li>\n      <li><a href=\"http://tour.golang.org\">Go language tour</a></li>\n      <li><a href=\"https://github.com/github/android\">GitHub's Android app</a></li>\n      <li><a href=\"https://script.google.com/\">Google Apps Script</a></li>\n      <li><a href=\"http://web.uvic.ca/~siefkenj/graphit/graphit.html\">Graphit</a> (function graphing)</li>\n      <li><a href=\"http://www.handcraft.com/\">Handcraft</a> (HTML prototyping)</li>\n      <li><a href=\"http://try.haxe.org\">Haxe</a> (Haxe Playground) </li>\n      <li><a href=\"http://haxpad.com/\">HaxPad</a> (editor for Win RT)</li>\n      <li><a href=\"http://megafonweblab.github.com/histone-javascript/\">Histone template engine playground</a></li>\n      <li><a href=\"http://icecoder.net\">ICEcoder</a> (web IDE)</li>\n      <li><a href=\"http://www.janvas.com/\">Janvas</a> (vector graphics editor)</li>\n      <li><a href=\"http://extensions.joomla.org/extensions/edition/editors/8723\">Joomla plugin</a></li>\n      <li><a href=\"http://jqfundamentals.com/\">jQuery fundamentals</a> (interactive tutorial)</li>\n      <li><a href=\"http://jsbin.com\">jsbin.com</a> (JS playground)</li>\n      <li><a href=\"http://jsfiddle.com\">jsfiddle.com</a> (another JS playground)</li>\n      <li><a href=\"http://www.jshint.com/\">JSHint</a> (JS linter)</li>\n      <li><a href=\"http://jumpseller.com/\">Jumpseller</a> (online store builder)</li>\n      <li><a href=\"http://kl1p.com/cmtest/1\">kl1p</a> (paste service)</li>\n      <li><a href=\"http://www.chris-granger.com/2012/04/12/light-table---a-new-ide-concept/\">Light Table</a> (experimental IDE)</li>\n      <li><a href=\"http://liveweave.com/\">Liveweave</a> (HTML/CSS/JS scratchpad)</li>\n      <li><a href=\"http://marklighteditor.com/\">Marklight editor</a> (lightweight markup editor)</li>\n      <li><a href=\"http://www.mergely.com/\">Mergely</a> (interactive diffing)</li>\n      <li><a href=\"http://www.iunbug.com/mihtool\">MIHTool</a> (iOS web-app debugging tool)</li>\n      <li><a href=\"http://mongo-mapreduce-webbrowser.opensagres.cloudbees.net/\">Mongo MapReduce WebBrowser</a></li>\n      <li><a href=\"http://mvcplayground.apphb.com/\">MVC Playground</a></li>\n      <li><a href=\"https://www.my2ndgeneration.com/\">My2ndGeneration</a> (social coding)</li>\n      <li><a href=\"http://www.navigatecms.com\">Navigate CMS</a></li>\n      <li><a href=\"https://github.com/soliton4/nodeMirror\">nodeMirror</a> (IDE project)</li>\n      <li><a href=\"https://notex.ch\">NoTex</a> (rST authoring)</li>\n      <li><a href=\"http://oakoutliner.com\">Oak</a> (online outliner)</li>\n      <li><a href=\"http://clrhome.org/asm/\">ORG</a> (z80 assembly IDE)</li>\n      <li><a href=\"https://github.com/mamacdon/orion-codemirror\">Orion-CodeMirror integration</a> (running CodeMirror modes in Orion)</li>\n      <li><a href=\"http://paperjs.org/\">Paper.js</a> (graphics scripting)</li>\n      <li><a href=\"http://prinbit.com/\">PrinBit</a> (collaborative coding tool)</li>\n      <li><a href=\"http://prose.io/\">Prose.io</a> (github content editor)</li>\n      <li><a href=\"http://www.puzzlescript.net/\">Puzzlescript</a> (puzzle game engine)</li>\n      <li><a href=\"http://ql.io/\">ql.io</a> (http API query helper)</li>\n      <li><a href=\"http://qyapp.com\">QiYun web app platform</a></li>\n      <li><a href=\"http://ariya.ofilabs.com/2011/09/hybrid-webnative-desktop-codemirror.html\">Qt+Webkit integration</a> (building a desktop CodeMirror app)</li>\n      <li><a href=\"http://www.quivive-file-manager.com\">Quivive File Manager</a></li>\n      <li><a href=\"http://rascalmicro.com/docs/basic-tutorial-getting-started.html\">Rascal</a> (tiny computer)</li>\n      <li><a href=\"https://www.realtime.io/\">RealTime.io</a> (Internet-of-Things infrastructure)</li>\n      <li><a href=\"https://www.shadertoy.com/\">Shadertoy</a> (shader sharing)</li>\n      <li><a href=\"http://www.sketchpatch.net/labs/livecodelabIntro.html\">sketchPatch Livecodelab</a></li>\n      <li><a href=\"http://www.skulpt.org/\">Skulpt</a> (in-browser Python environment)</li>\n      <li><a href=\"http://snippets.pro/\">Snippets.pro</a> (code snippet sharing)</li>\n      <li><a href=\"http://www.solidshops.com/\">SolidShops</a> (hosted e-commerce platform)</li>\n      <li><a href=\"http://sqlfiddle.com\">SQLFiddle</a> (SQL playground)</li>\n      <li><a href=\"https://thefiletree.com\">The File Tree</a> (collab editor)</li>\n      <li><a href=\"http://www.mapbox.com/tilemill/\">TileMill</a> (map design tool)</li>\n      <li><a href=\"http://www.toolsverse.com/products/data-explorer/\">Toolsverse Data Explorer</a> (database management)</li>\n      <li><a href=\"http://enjalot.com/tributary/2636296/sinwaves.js\">Tributary</a> (augmented editing)</li>\n      <li><a href=\"http://blog.englard.net/post/39608000629/codeintumblr\">Tumblr code highlighting shim</a></li>\n      <li><a href=\"http://turbopy.com/\">TurboPY</a> (web publishing framework)</li>\n      <li><a href=\"http://uicod.com/\">uiCod</a> (animation demo gallery and sharing)</li>\n      <li><a href=\"http://cruise.eecs.uottawa.ca/umpleonline/\">UmpleOnline</a> (model-oriented programming tool)</li>\n      <li><a href=\"https://upsource.jetbrains.com/#idea/view/923f30395f2603cd9f42a32bcafd13b6c28de0ff/plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/style/ReplaceAbstractClassInstanceByMapIntention.java\">Upsource</a> (code viewer)</li>\n      <li><a href=\"https://github.com/brettz9/webappfind\">webappfind</a> (windows file bindings for webapps)</li>\n      <li><a href=\"http://www.webglacademy.com/\">WebGL academy</a> (learning WebGL)</li>\n      <li><a href=\"http://webglplayground.net/\">WebGL playground</a></li>\n      <li><a href=\"https://www.webkit.org/blog/2518/state-of-web-inspector/#source-code\">WebKit Web inspector</a></li>\n      <li><a href=\"http://www.wescheme.org/\">WeScheme</a> (learning tool)</li>\n      <li><a href=\"http://wordpress.org/extend/plugins/codemirror-for-codeeditor/\">WordPress plugin</a></li>\n      <li><a href=\"http://www.xosystem.org/home/applications_websites/xosystem_website/xoside_EN.php\">XOSide</a> (online editor)</li>\n      <li><a href=\"http://videlibri.sourceforge.net/cgi-bin/xidelcgi\">XQuery tester</a></li>\n      <li><a href=\"http://q42jaap.github.io/xsd2codemirror/\">xsd2codemirror</a> (convert XSD to CM XML completion info)</li>\n    </ul>\n\n</article>\n\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/releases.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Release History</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"docs.css\">\n<script src=\"activebookmark.js\"></script>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active data-default=\"true\" href=\"#v3\">Version 3.x</a>\n    <li><a href=\"#v2\">Version 2.x</a>\n    <li><a href=\"#v1\">Version 0.x</a>\n  </ul>\n</div>\n\n<article>\n\n<h2>Release notes and version history</h2>\n\n<section id=v3 class=first>\n\n  <h2>Version 3.x</h2>\n\n  <p class=\"rel\">21-11-2013: <a href=\"http://codemirror.net/codemirror-3.20.zip\">Version 3.20</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New modes: <a href=\"../mode/julia/index.html\">Julia</a> and <a href=\"../mode/pegjs/index.html\">PEG.js</a>.</li>\n    <li>Support ECMAScript 6 in the <a href=\"../mode/javascript/index.html\">JavaScript mode</a>.</li>\n    <li>Improved indentation for the <a href=\"../mode/coffeescript/index.html\">CoffeeScript mode</a>.</li>\n    <li>Make non-printable-character representation <a href=\"manual.html#option_specialChars\">configurable</a>.</li>\n    <li>Add ‘notification’ functionality to <a href=\"manual.html#addon_dialog\">dialog</a> addon.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/3.19.0...3.20.0\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">21-10-2013: <a href=\"http://codemirror.net/codemirror-3.19.zip\">Version 3.19</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New modes: <a href=\"../mode/eiffel/index.html\">Eiffel</a>, <a href=\"../mode/gherkin/index.html\">Gherkin</a>, <a href=\"../mode/sql/?mime=text/x-mssql\">MSSQL dialect</a>.</li>\n    <li>New addons: <a href=\"manual.html#addon_hardwrap\">hardwrap</a>, <a href=\"manual.html#addon_sql-hint\">sql-hint</a>.</li>\n    <li>New theme: <a href=\"../demo/theme.html?mbo\">MBO</a>.</li>\n    <li>Add <a href=\"manual.html#token_style_line\">support</a> for line-level styling from mode tokenizers.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/3.18.0...3.19.0\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">23-09-2013: <a href=\"http://codemirror.net/codemirror-3.18.zip\">Version 3.18</a>:</p>\n\n  <p class=\"rel-note\">Emergency release to fix a problem in 3.17\n  where <code>.setOption(\"lineNumbers\", false)</code> would raise an\n  error.</p>\n\n  <p class=\"rel\">23-09-2013: <a href=\"http://codemirror.net/codemirror-3.17.zip\">Version 3.17</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New modes: <a href=\"../mode/fortran/index.html\">Fortran</a>, <a href=\"../mode/octave/index.html\">Octave</a> (Matlab), <a href=\"../mode/toml/index.html\">TOML</a>, and <a href=\"../mode/dtd/index.html\">DTD</a>.</li>\n    <li>New addons: <a href=\"../addon/lint/css-lint.js\"><code>css-lint</code></a>, <a href=\"manual.html#addon_css-hint\"><code>css-hint</code></a>.</li>\n    <li>Improve resilience to CSS 'frameworks' that globally mess up <code>box-sizing</code>.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/3.16.0...3.17.0\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">21-08-2013: <a href=\"http://codemirror.net/codemirror-3.16.zip\">Version 3.16</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>The whole codebase is now under a single <a href=\"../LICENSE\">license</a> file.</li>\n    <li>The project page was overhauled and redesigned.</li>\n    <li>New themes: <a href=\"../demo/theme.html?paraiso-dark\">Paraiso</a> (<a href=\"../demo/theme.html?paraiso-light\">light</a>), <a href=\"../demo/theme.html?the-matrix\">The Matrix</a>.</li>\n    <li>Improved interaction between themes and <a href=\"manual.html#addon_active-line\">active-line</a>/<a href=\"manual.html#addon_matchbrackets\">matchbrackets</a> addons.</li>\n    <li>New <a href=\"manual.html#addon_foldcode\">folding</a> function <code>CodeMirror.fold.comment</code>.</li>\n    <li>Added <a href=\"manual.html#addon_fullscreen\">fullscreen</a> addon.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/3.15.0...3.16.0\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">29-07-2013: <a href=\"http://codemirror.net/codemirror-3.15.zip\">Version 3.15</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New modes: <a href=\"../mode/jade/index.html\">Jade</a>, <a href=\"../mode/nginx/index.html\">Nginx</a>.</li>\n    <li>New addons: <a href=\"../demo/tern.html\">Tern</a>, <a href=\"manual.html#addon_matchtags\">matchtags</a>, and <a href=\"manual.html#addon_foldgutter\">foldgutter</a>.</li>\n    <li>Introduced <a href=\"manual.html#getHelper\"><em>helper</em></a> concept (<a href=\"https://groups.google.com/forum/#!msg/codemirror/cOc0xvUUEUU/nLrX1-qnidgJ\">context</a>).</li>\n    <li>New method: <a href=\"manual.html#getModeAt\"><code>getModeAt</code></a>.</li>\n    <li>New themes: base16 <a href=\"../demo/theme.html?base16-dark\">dark</a>/<a href=\"../demo/theme.html?base16-light\">light</a>, 3024 <a href=\"../demo/theme.html?3024-night\">dark</a>/<a href=\"../demo/theme.html?3024-day\">light</a>, <a href=\"../demo/theme.html?tomorrow-night-eighties\">tomorrow-night</a>.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/3.14.0...3.15.0\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">20-06-2013: <a href=\"http://codemirror.net/codemirror-3.14.zip\">Version 3.14</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New\n    addons: <a href=\"manual.html#addon_trailingspace\">trailing\n    space highlight</a>, <a href=\"manual.html#addon_xml-hint\">XML\n    completion</a> (rewritten),\n    and <a href=\"manual.html#addon_merge\">diff merging</a>.</li>\n    <li><a href=\"manual.html#markText\"><code>markText</code></a>\n    and <a href=\"manual.html#addLineWidget\"><code>addLineWidget</code></a>\n    now take a <code>handleMouseEvents</code> option.</li>\n    <li>New methods: <a href=\"manual.html#lineAtHeight\"><code>lineAtHeight</code></a>,\n    <a href=\"manual.html#getTokenTypeAt\"><code>getTokenTypeAt</code></a>.</li>\n    <li>More precise cleanness-tracking\n    using <a href=\"manual.html#changeGeneration\"><code>changeGeneration</code></a>\n    and <a href=\"manual.html#isClean\"><code>isClean</code></a>.</li>\n    <li>Many extensions to <a href=\"../demo/emacs.html\">Emacs</a> mode\n    (prefixes, more navigation units, and more).</li>\n    <li>New\n    events <a href=\"manual.html#event_keyHandled\"><code>\"keyHandled\"</code></a>\n    and <a href=\"manual.html#event_inputRead\"><code>\"inputRead\"</code></a>.</li>\n    <li>Various improvements to <a href=\"../mode/ruby/index.html\">Ruby</a>,\n    <a href=\"../mode/smarty/index.html\">Smarty</a>, <a href=\"../mode/sql/index.html\">SQL</a>,\n    and <a href=\"../demo/vim.html\">Vim</a> modes.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/3.13.0...3.14.0\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">20-05-2013: <a href=\"http://codemirror.net/codemirror-3.13.zip\">Version 3.13</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New modes: <a href=\"../mode/cobol/index.html\">COBOL</a> and <a href=\"../mode/haml/index.html\">HAML</a>.</li>\n    <li>New options: <a href=\"manual.html#option_cursorScrollMargin\"><code>cursorScrollMargin</code></a> and <a href=\"manual.html#option_coverGutterNextToScrollbar\"><code>coverGutterNextToScrollbar</code></a>.</li>\n    <li>New addon: <a href=\"manual.html#addon_comment\">commenting</a>.</li>\n    <li>More features added to the <a href=\"../demo/vim.html\">Vim keymap</a>.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.12...3.13.0\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">19-04-2013: <a href=\"http://codemirror.net/codemirror-3.12.zip\">Version 3.12</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New mode: <a href=\"../mode/gas/index.html\">GNU assembler</a>.</li>\n    <li>New\n    options: <a href=\"manual.html#option_maxHighlightLength\"><code>maxHighlightLength</code></a>\n    and <a href=\"manual.html#option_historyEventDelay\"><code>historyEventDelay</code></a>.</li>\n    <li>Added <a href=\"manual.html#mark_addToHistory\"><code>addToHistory</code></a>\n    option for <code>markText</code>.</li>\n    <li>Various fixes to JavaScript tokenization and indentation corner cases.</li>\n    <li>Further improvements to the vim mode.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.11...v3.12\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">20-03-2013: <a href=\"http://codemirror.net/codemirror-3.11.zip\">Version 3.11</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li><strong>Removed code:</strong> <code>collapserange</code>,\n    <code>formatting</code>, and <code>simple-hint</code>\n    addons. <code>plsql</code> and <code>mysql</code> modes\n    (use <a href=\"../mode/sql/index.html\"><code>sql</code></a> mode).</li>\n    <li><strong>Moved code:</strong> the range-finding functions for folding now have <a href=\"../addon/fold/\">their own files</a>.</li>\n    <li><strong>Changed interface:</strong>\n    the <a href=\"manual.html#addon_continuecomment\"><code>continuecomment</code></a>\n    addon now exposes an option, rather than a command.</li>\n    <li>New\n    modes: <a href=\"../mode/css/scss.html\">SCSS</a>, <a href=\"../mode/tcl/index.html\">Tcl</a>, <a href=\"../mode/livescript/index.html\">LiveScript</a>,\n    and <a href=\"../mode/mirc/index.html\">mIRC</a>.</li>\n    <li>New addons: <a href=\"../demo/placeholder.html\"><code>placeholder</code></a>, <a href=\"../demo/html5complete.html\">HTML completion</a>.</li>\n    <li>New\n    methods: <a href=\"manual.html#hasFocus\"><code>hasFocus</code></a>, <a href=\"manual.html#defaultCharWidth\"><code>defaultCharWidth</code></a>.</li>\n    <li>New events: <a href=\"manual.html#event_beforeCursorEnter\"><code>beforeCursorEnter</code></a>, <a href=\"manual.html#event_renderLine\"><code>renderLine</code></a>.</li>\n    <li>Many improvements to the <a href=\"manual.html#addon_show-hint\"><code>show-hint</code></a> completion\n    dialog addon.</li>\n    <li>Tweak behavior of by-word cursor motion.</li>\n    <li>Further improvements to the <a href=\"../demo/vim.html\">vim mode</a>.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.1...v3.11\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">21-02-2013: <a href=\"http://codemirror.net/codemirror-3.1.zip\">Version 3.1</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li><strong>Incompatible:</strong> key handlers may\n    now <em>return</em>, rather\n    than <em>throw</em> <code>CodeMirror.Pass</code> to signal they\n    didn't handle the key.</li>\n    <li>Make documents a <a href=\"manual.html#api_doc\">first-class\n    construct</a>, support split views and subviews.</li>\n    <li>Add a <a href=\"manual.html#addon_show-hint\">new module</a>\n    for showing completion hints.\n    Deprecate <code>simple-hint.js</code>.</li>\n    <li>Extend <a href=\"../mode/htmlmixed/index.html\">htmlmixed mode</a>\n    to allow custom handling of script types.</li>\n    <li>Support an <code>insertLeft</code> option\n    to <a href=\"manual.html#setBookmark\"><code>setBookmark</code></a>.</li>\n    <li>Add an <a href=\"manual.html#eachLine\"><code>eachLine</code></a>\n    method to iterate over a document.</li>\n    <li>New addon modules: <a href=\"../demo/markselection.html\">selection\n    marking</a>, <a href=\"../demo/lint.html\">linting</a>,\n    and <a href=\"../demo/closebrackets.html\">automatic bracket\n    closing</a>.</li>\n    <li>Add <a href=\"manual.html#event_beforeChange\"><code>\"beforeChange\"</code></a>\n    and <a href=\"manual.html#event_beforeSelectionChange\"><code>\"beforeSelectionChange\"</code></a>\n    events.</li>\n    <li>Add <a href=\"manual.html#event_hide\"><code>\"hide\"</code></a>\n    and <a href=\"manual.html#event_unhide\"><code>\"unhide\"</code></a>\n    events to marked ranges.</li>\n    <li>Fix <a href=\"manual.html#coordsChar\"><code>coordsChar</code></a>'s\n    interpretation of its argument to match the documentation.</li>\n    <li>New modes: <a href=\"../mode/turtle/index.html\">Turtle</a>\n    and <a href=\"../mode/q/index.html\">Q</a>.</li>\n    <li>Further improvements to the <a href=\"../demo/vim.html\">vim mode</a>.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.01...v3.1\">list of patches</a>.</li>\n  </ul>\n  \n\n  <p class=\"rel\">25-01-2013: <a href=\"http://codemirror.net/codemirror-3.02.zip\">Version 3.02</a>:</p>\n\n  <p class=\"rel-note\">Single-bugfix release. Fixes a problem that\n  prevents CodeMirror instances from being garbage-collected after\n  they become unused.</p>\n\n  <p class=\"rel\">21-01-2013: <a href=\"http://codemirror.net/codemirror-3.01.zip\">Version 3.01</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>Move all add-ons into an organized directory structure\n    under <a href=\"../addon/\"><code>/addon</code></a>. <strong>You might have to adjust your\n    paths.</strong></li>\n    <li>New\n    modes: <a href=\"../mode/d/index.html\">D</a>, <a href=\"../mode/sass/index.html\">Sass</a>, <a href=\"../mode/apl/index.html\">APL</a>, <a href=\"../mode/sql/index.html\">SQL</a>\n    (configurable), and <a href=\"../mode/asterisk/index.html\">Asterisk</a>.</li>\n    <li>Several bugfixes in right-to-left text support.</li>\n    <li>Add <a href=\"manual.html#option_rtlMoveVisually\"><code>rtlMoveVisually</code></a> option.</li>\n    <li>Improvements to vim keymap.</li>\n    <li>Add built-in (lightweight) <a href=\"manual.html#addOverlay\">overlay mode</a> support.</li>\n    <li>Support <code>showIfHidden</code> option for <a href=\"manual.html#addLineWidget\">line widgets</a>.</li>\n    <li>Add simple <a href=\"manual.html#addon_python-hint\">Python hinter</a>.</li>\n    <li>Bring back the <a href=\"manual.html#option_fixedGutter\"><code>fixedGutter</code></a> option.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.0...v3.01\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">10-12-2012: <a href=\"http://codemirror.net/codemirror-3.0.zip\">Version 3.0</a>:</p>\n\n  <p class=\"rel-note\"><strong>New major version</strong>. Only\n  partially backwards-compatible. See\n  the <a href=\"upgrade_v3.html\">upgrading guide</a> for more\n  information. Changes since release candidate 2:</p>\n\n  <ul class=\"rel-note\">\n    <li>Rewritten VIM mode.</li>\n    <li>Fix a few minor scrolling and sizing issues.</li>\n    <li>Work around Safari segfault when dragging.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.0rc2...v3.0\">list of patches</a>.</li>\n  </ul>\n  \n  <p class=\"rel\">20-11-2012: <a href=\"http://codemirror.net/codemirror-3.0rc2.zip\">Version 3.0, release candidate 2</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New mode: <a href=\"../mode/http/index.html\">HTTP</a>.</li>\n    <li>Improved handling of selection anchor position.</li>\n    <li>Improve IE performance on longer lines.</li>\n    <li>Reduce gutter glitches during horiz. scrolling.</li>\n    <li>Add <a href=\"manual.html#addKeyMap\"><code>addKeyMap</code></a> and <a href=\"manual.html#removeKeyMap\"><code>removeKeyMap</code></a> methods.</li>\n    <li>Rewrite <code>formatting</code> and <code>closetag</code> add-ons.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.0rc1...v3.0rc2\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">20-11-2012: <a href=\"http://codemirror.net/codemirror-3.0rc1.zip\">Version 3.0, release candidate 1</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New theme: <a href=\"../demo/theme.html?solarized%20light\">Solarized</a>.</li>\n    <li>Introduce <a href=\"manual.html#addLineClass\"><code>addLineClass</code></a>\n    and <a href=\"manual.html#removeLineClass\"><code>removeLineClass</code></a>,\n    drop <code>setLineClass</code>.</li>\n    <li>Add a <em>lot</em> of\n    new <a href=\"manual.html#markText\">options for marked text</a>\n    (read-only, atomic, collapsed, widget replacement).</li>\n    <li>Remove the old code folding interface in favour of these new ranges.</li>\n    <li>Add <a href=\"manual.html#isClean\"><code>isClean</code></a>/<a href=\"manual.html#markClean\"><code>markClean</code></a> methods.</li>\n    <li>Remove <code>compoundChange</code> method, use better undo-event-combining heuristic.</li>\n    <li>Improve scrolling performance smoothness.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.0beta2...v3.0rc1\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">22-10-2012: <a href=\"http://codemirror.net/codemirror-3.0beta2.zip\">Version 3.0, beta 2</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>Fix page-based coordinate computation.</li>\n    <li>Fix firing of <a href=\"manual.html#event_gutterClick\"><code>gutterClick</code></a> event.</li>\n    <li>Add <a href=\"manual.html#option_cursorHeight\"><code>cursorHeight</code></a> option.</li>\n    <li>Fix bi-directional text regression.</li>\n    <li>Add <a href=\"manual.html#option_viewportMargin\"><code>viewportMargin</code></a> option.</li>\n    <li>Directly handle mousewheel events (again, hopefully better).</li>\n    <li>Make vertical cursor movement more robust (through widgets, big line gaps).</li>\n    <li>Add <a href=\"manual.html#option_flattenSpans\"><code>flattenSpans</code></a> option.</li>\n    <li>Many optimizations. Poor responsiveness should be fixed.</li>\n    <li>Initialization in hidden state works again.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v3.0beta1...v3.0beta2\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">19-09-2012: <a href=\"http://codemirror.net/codemirror-3.0beta1.zip\">Version 3.0, beta 1</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>Bi-directional text support.</li>\n    <li>More powerful gutter model.</li>\n    <li>Support for arbitrary text/widget height.</li>\n    <li>In-line widgets.</li>\n    <li>Generalized event handling.</li>\n  </ul>\n\n</section>\n\n<section id=v2>\n\n  <h2>Version 2.x</h2>\n\n  <p class=\"rel\">21-01-2013: <a href=\"http://codemirror.net/codemirror-2.38.zip\">Version 2.38</a>:</p>\n\n  <p class=\"rel-note\">Integrate some bugfixes, enhancements to the vim keymap, and new\n  modes\n  (<a href=\"../mode/d/index.html\">D</a>, <a href=\"../mode/sass/index.html\">Sass</a>, <a href=\"../mode/apl/index.html\">APL</a>)\n  from the v3 branch.</p>\n\n  <p class=\"rel\">20-12-2012: <a href=\"http://codemirror.net/codemirror-2.37.zip\">Version 2.37</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New mode: <a href=\"../mode/sql/index.html\">SQL</a> (will replace <a href=\"../mode/plsql/index.html\">plsql</a> and <a href=\"../mode/mysql/index.html\">mysql</a> modes).</li>\n    <li>Further work on the new VIM mode.</li>\n    <li>Fix Cmd/Ctrl keys on recent Operas on OS X.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v2.36...v2.37\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">20-11-2012: <a href=\"http://codemirror.net/codemirror-2.36.zip\">Version 2.36</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New mode: <a href=\"../mode/z80/index.html\">Z80 assembly</a>.</li>\n    <li>New theme: <a href=\"../demo/theme.html?twilight\">Twilight</a>.</li>\n    <li>Add command-line compression helper.</li>\n    <li>Make <a href=\"manual.html#scrollIntoView\"><code>scrollIntoView</code></a> public.</li>\n    <li>Add <a href=\"manual.html#defaultTextHeight\"><code>defaultTextHeight</code></a> method.</li>\n    <li>Various extensions to the vim keymap.</li>\n    <li>Make <a href=\"../mode/php/index.html\">PHP mode</a> build on <a href=\"../mode/htmlmixed/index.html\">mixed HTML mode</a>.</li>\n    <li>Add <a href=\"manual.html#addon_continuecomment\">comment-continuing</a> add-on.</li>\n    <li>Full <a href=\"../https://github.com/marijnh/CodeMirror/compare/v2.35...v2.36\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">22-10-2012: <a href=\"http://codemirror.net/codemirror-2.35.zip\">Version 2.35</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New (sub) mode: <a href=\"../mode/javascript/typescript.html\">TypeScript</a>.</li>\n    <li>Don't overwrite (insert key) when pasting.</li>\n    <li>Fix several bugs in <a href=\"manual.html#markText\"><code>markText</code></a>/undo interaction.</li>\n    <li>Better indentation of JavaScript code without semicolons.</li>\n    <li>Add <a href=\"manual.html#defineInitHook\"><code>defineInitHook</code></a> function.</li>\n    <li>Full <a href=\"https://github.com/marijnh/CodeMirror/compare/v2.34...v2.35\">list of patches</a>.</li>\n  </ul>\n\n  <p class=\"rel\">19-09-2012: <a href=\"http://codemirror.net/codemirror-2.34.zip\">Version 2.34</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New mode: <a href=\"../mode/commonlisp/index.html\">Common Lisp</a>.</li>\n    <li>Fix right-click select-all on most browsers.</li>\n    <li>Change the way highlighting happens:<br>&nbsp; Saves memory and CPU cycles.<br>&nbsp; <code>compareStates</code> is no longer needed.<br>&nbsp; <code>onHighlightComplete</code> no longer works.</li>\n    <li>Integrate mode (Markdown, XQuery, CSS, sTex) tests in central testsuite.</li>\n    <li>Add a <a href=\"manual.html#version\"><code>CodeMirror.version</code></a> property.</li>\n    <li>More robust handling of nested modes in <a href=\"../demo/formatting.html\">formatting</a> and <a href=\"../demo/closetag.html\">closetag</a> plug-ins.</li>\n    <li>Un/redo now preserves <a href=\"manual.html#markText\">marked text</a> and bookmarks.</li>\n    <li><a href=\"https://github.com/marijnh/CodeMirror/compare/v2.33...v2.34\">Full list</a> of patches.</li>\n  </ul>\n\n  <p class=\"rel\">23-08-2012: <a href=\"http://codemirror.net/codemirror-2.33.zip\">Version 2.33</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New mode: <a href=\"../mode/sieve/index.html\">Sieve</a>.</li>\n    <li>New <a href=\"manual.html#getViewport\"><code>getViewPort</code></a> and <a href=\"manual.html#option_onViewportChange\"><code>onViewportChange</code></a> API.</li>\n    <li><a href=\"manual.html#option_cursorBlinkRate\">Configurable</a> cursor blink rate.</li>\n    <li>Make binding a key to <code>false</code> disabling handling (again).</li>\n    <li>Show non-printing characters as red dots.</li>\n    <li>More tweaks to the scrolling model.</li>\n    <li>Expanded testsuite. Basic linter added.</li>\n    <li>Remove most uses of <code>innerHTML</code>. Remove <code>CodeMirror.htmlEscape</code>.</li>\n    <li><a href=\"https://github.com/marijnh/CodeMirror/compare/v2.32...v2.33\">Full list</a> of patches.</li>\n  </ul>\n\n  <p class=\"rel\">23-07-2012: <a href=\"http://codemirror.net/codemirror-2.32.zip\">Version 2.32</a>:</p>\n\n  <p class=\"rel-note\">Emergency fix for a bug where an editor with\n  line wrapping on IE will break when there is <em>no</em>\n  scrollbar.</p>\n\n  <p class=\"rel\">20-07-2012: <a href=\"http://codemirror.net/codemirror-2.31.zip\">Version 2.31</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New modes: <a href=\"../mode/ocaml/index.html\">OCaml</a>, <a href=\"../mode/haxe/index.html\">Haxe</a>, and <a href=\"../mode/vb/index.html\">VB.NET</a>.</li>\n    <li>Several fixes to the new scrolling model.</li>\n    <li>Add a <a href=\"manual.html#setSize\"><code>setSize</code></a> method for programmatic resizing.</li>\n    <li>Add <a href=\"manual.html#getHistory\"><code>getHistory</code></a> and <a href=\"manual.html#setHistory\"><code>setHistory</code></a> methods.</li>\n    <li>Allow custom line separator string in <a href=\"manual.html#getValue\"><code>getValue</code></a> and <a href=\"manual.html#getRange\"><code>getRange</code></a>.</li>\n    <li>Support double- and triple-click drag, double-clicking whitespace.</li>\n    <li>And more... <a href=\"https://github.com/marijnh/CodeMirror/compare/v2.3...v2.31\">(all patches)</a></li>\n  </ul>\n\n  <p class=\"rel\">22-06-2012: <a href=\"http://codemirror.net/codemirror-2.3.zip\">Version 2.3</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li><strong>New scrollbar implementation</strong>. Should flicker less. Changes DOM structure of the editor.</li>\n    <li>New theme: <a href=\"../demo/theme.html?vibrant-ink\">vibrant-ink</a>.</li>\n    <li>Many extensions to the VIM keymap (including text objects).</li>\n    <li>Add <a href=\"../demo/multiplex.html\">mode-multiplexing</a> utility script.</li>\n    <li>Fix bug where right-click paste works in read-only mode.</li>\n    <li>Add a <a href=\"manual.html#getScrollInfo\"><code>getScrollInfo</code></a> method.</li>\n    <li>Lots of other <a href=\"https://github.com/marijnh/CodeMirror/compare/v2.25...v2.3\">fixes</a>.</li>\n  </ul>\n\n  <p class=\"rel\">23-05-2012: <a href=\"http://codemirror.net/codemirror-2.25.zip\">Version 2.25</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>New mode: <a href=\"../mode/erlang/index.html\">Erlang</a>.</li>\n    <li><strong>Remove xmlpure mode</strong> (use <a href=\"../mode/xml/index.html\">xml.js</a>).</li>\n    <li>Fix line-wrapping in Opera.</li>\n    <li>Fix X Windows middle-click paste in Chrome.</li>\n    <li>Fix bug that broke pasting of huge documents.</li>\n    <li>Fix backspace and tab key repeat in Opera.</li>\n  </ul>\n\n  <p class=\"rel\">23-04-2012: <a href=\"http://codemirror.net/codemirror-2.24.zip\">Version 2.24</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li><strong>Drop support for Internet Explorer 6</strong>.</li>\n    <li>New\n    modes: <a href=\"../mode/shell/index.html\">Shell</a>, <a href=\"../mode/tiki/index.html\">Tiki\n    wiki</a>, <a href=\"../mode/pig/index.html\">Pig Latin</a>.</li>\n    <li>New themes: <a href=\"../demo/theme.html?ambiance\">Ambiance</a>, <a href=\"../demo/theme.html?blackboard\">Blackboard</a>.</li>\n    <li>More control over drag/drop\n    with <a href=\"manual.html#option_dragDrop\"><code>dragDrop</code></a>\n    and <a href=\"manual.html#option_onDragEvent\"><code>onDragEvent</code></a>\n    options.</li>\n    <li>Make HTML mode a bit less pedantic.</li>\n    <li>Add <a href=\"manual.html#compoundChange\"><code>compoundChange</code></a> API method.</li>\n    <li>Several fixes in undo history and line hiding.</li>\n    <li>Remove (broken) support for <code>catchall</code> in key maps,\n    add <code>nofallthrough</code> boolean field instead.</li>\n  </ul>\n\n  <p class=\"rel\">26-03-2012: <a href=\"http://codemirror.net/codemirror-2.23.zip\">Version 2.23</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>Change <strong>default binding for tab</strong> <a href=\"javascript:void(document.getElementById('tabbinding').style.display='')\">[more]</a>\n      <div style=\"display: none\" id=tabbinding>\n        Starting in 2.23, these bindings are default:\n        <ul><li>Tab: Insert tab character</li>\n          <li>Shift-tab: Reset line indentation to default</li>\n          <li>Ctrl/Cmd-[: Reduce line indentation (old tab behaviour)</li>\n          <li>Ctrl/Cmd-]: Increase line indentation (old shift-tab behaviour)</li>\n        </ul>\n      </div>\n    </li>\n    <li>New modes: <a href=\"../mode/xquery/index.html\">XQuery</a> and <a href=\"../mode/vbscript/index.html\">VBScript</a>.</li>\n    <li>Two new themes: <a href=\"../mode/less/index.html\">lesser-dark</a> and <a href=\"../mode/xquery/index.html\">xq-dark</a>.</li>\n    <li>Differentiate between background and text styles in <a href=\"manual.html#setLineClass\"><code>setLineClass</code></a>.</li>\n    <li>Fix drag-and-drop in IE9+.</li>\n    <li>Extend <a href=\"manual.html#charCoords\"><code>charCoords</code></a>\n    and <a href=\"manual.html#cursorCoords\"><code>cursorCoords</code></a> with a <code>mode</code> argument.</li>\n    <li>Add <a href=\"manual.html#option_autofocus\"><code>autofocus</code></a> option.</li>\n    <li>Add <a href=\"manual.html#findMarksAt\"><code>findMarksAt</code></a> method.</li>\n  </ul>\n\n  <p class=\"rel\">27-02-2012: <a href=\"http://codemirror.net/codemirror-2.22.zip\">Version 2.22</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>Allow <a href=\"manual.html#keymaps\">key handlers</a> to pass up events, allow binding characters.</li>\n    <li>Add <a href=\"manual.html#option_autoClearEmptyLines\"><code>autoClearEmptyLines</code></a> option.</li>\n    <li>Properly use tab stops when rendering tabs.</li>\n    <li>Make PHP mode more robust.</li>\n    <li>Support indentation blocks in <a href=\"manual.html#addon_foldcode\">code folder</a>.</li>\n    <li>Add a script for <a href=\"manual.html#addon_match-highlighter\">highlighting instances of the selection</a>.</li>\n    <li>New <a href=\"../mode/properties/index.html\">.properties</a> mode.</li>\n    <li>Fix many bugs.</li>\n  </ul>\n\n  <p class=\"rel\">27-01-2012: <a href=\"http://codemirror.net/codemirror-2.21.zip\">Version 2.21</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>Added <a href=\"../mode/less/index.html\">LESS</a>, <a href=\"../mode/mysql/index.html\">MySQL</a>,\n    <a href=\"../mode/go/index.html\">Go</a>, and <a href=\"../mode/verilog/index.html\">Verilog</a> modes.</li>\n    <li>Add <a href=\"manual.html#option_smartIndent\"><code>smartIndent</code></a>\n    option.</li>\n    <li>Support a cursor in <a href=\"manual.html#option_readOnly\"><code>readOnly</code></a>-mode.</li>\n    <li>Support assigning multiple styles to a token.</li>\n    <li>Use a new approach to drawing the selection.</li>\n    <li>Add <a href=\"manual.html#scrollTo\"><code>scrollTo</code></a> method.</li>\n    <li>Allow undo/redo events to span non-adjacent lines.</li>\n    <li>Lots and lots of bugfixes.</li>\n  </ul>\n\n  <p class=\"rel\">20-12-2011: <a href=\"http://codemirror.net/codemirror-2.2.zip\">Version 2.2</a>:</p>\n\n  <ul class=\"rel-note\">\n    <li>Slightly incompatible API changes. Read <a href=\"upgrade_v2.2.html\">this</a>.</li>\n    <li>New approach\n    to <a href=\"manual.html#option_extraKeys\">binding</a> keys,\n    support for <a href=\"manual.html#option_keyMap\">custom\n    bindings</a>.</li>\n    <li>Support for overwrite (insert).</li>\n    <li><a href=\"manual.html#option_tabSize\">Custom-width</a>\n    and <a href=\"../demo/visibletabs.html\">stylable</a> tabs.</li>\n    <li>Moved more code into <a href=\"manual.html#addons\">add-on scripts</a>.</li>\n    <li>Support for sane vertical cursor movement in wrapped lines.</li>\n    <li>More reliable handling of\n    editing <a href=\"manual.html#markText\">marked text</a>.</li>\n    <li>Add minimal <a href=\"../demo/emacs.html\">emacs</a>\n    and <a href=\"../demo/vim.html\">vim</a> bindings.</li>\n    <li>Rename <code>coordsFromIndex</code>\n    to <a href=\"manual.html#posFromIndex\"><code>posFromIndex</code></a>,\n    add <a href=\"manual.html#indexFromPos\"><code>indexFromPos</code></a>\n    method.</li>\n  </ul>\n\n  <p class=\"rel\">21-11-2011: <a href=\"http://codemirror.net/codemirror-2.18.zip\">Version 2.18</a>:</p>\n  <p class=\"rel-note\">Fixes <code>TextMarker.clear</code>, which is broken in 2.17.</p>\n\n  <p class=\"rel\">21-11-2011: <a href=\"http://codemirror.net/codemirror-2.17.zip\">Version 2.17</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add support for <a href=\"manual.html#option_lineWrapping\">line\n    wrapping</a> and <a href=\"manual.html#hideLine\">code\n    folding</a>.</li>\n    <li>Add <a href=\"../mode/gfm/index.html\">Github-style Markdown</a> mode.</li>\n    <li>Add <a href=\"../theme/monokai.css\">Monokai</a>\n    and <a href=\"../theme/rubyblue.css\">Rubyblue</a> themes.</li>\n    <li>Add <a href=\"manual.html#setBookmark\"><code>setBookmark</code></a> method.</li>\n    <li>Move some of the demo code into reusable components\n    under <a href=\"../addon/\"><code>lib/util</code></a>.</li>\n    <li>Make screen-coord-finding code faster and more reliable.</li>\n    <li>Fix drag-and-drop in Firefox.</li>\n    <li>Improve support for IME.</li>\n    <li>Speed up content rendering.</li>\n    <li>Fix browser's built-in search in Webkit.</li>\n    <li>Make double- and triple-click work in IE.</li>\n    <li>Various fixes to modes.</li>\n  </ul>\n\n  <p class=\"rel\">27-10-2011: <a href=\"http://codemirror.net/codemirror-2.16.zip\">Version 2.16</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add <a href=\"../mode/perl/index.html\">Perl</a>, <a href=\"../mode/rust/index.html\">Rust</a>, <a href=\"../mode/tiddlywiki/index.html\">TiddlyWiki</a>, and <a href=\"../mode/groovy/index.html\">Groovy</a> modes.</li>\n    <li>Dragging text inside the editor now moves, rather than copies.</li>\n    <li>Add a <a href=\"manual.html#coordsFromIndex\"><code>coordsFromIndex</code></a> method.</li>\n    <li><strong>API change</strong>: <code>setValue</code> now no longer clears history. Use <a href=\"manual.html#clearHistory\"><code>clearHistory</code></a> for that.</li>\n    <li><strong>API change</strong>: <a href=\"manual.html#markText\"><code>markText</code></a> now\n    returns an object with <code>clear</code> and <code>find</code>\n    methods. Marked text is now more robust when edited.</li>\n    <li>Fix editing code with tabs in Internet Explorer.</li>\n  </ul>\n\n  <p class=\"rel\">26-09-2011: <a href=\"http://codemirror.net/codemirror-2.15.zip\">Version 2.15</a>:</p>\n  <p class=\"rel-note\">Fix bug that snuck into 2.14: Clicking the\n  character that currently has the cursor didn't re-focus the\n  editor.</p>\n\n  <p class=\"rel\">26-09-2011: <a href=\"http://codemirror.net/codemirror-2.14.zip\">Version 2.14</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add <a href=\"../mode/clojure/index.html\">Clojure</a>, <a href=\"../mode/pascal/index.html\">Pascal</a>, <a href=\"../mode/ntriples/index.html\">NTriples</a>, <a href=\"../mode/jinja2/index.html\">Jinja2</a>, and <a href=\"../mode/markdown/index.html\">Markdown</a> modes.</li>\n    <li>Add <a href=\"../theme/cobalt.css\">Cobalt</a> and <a href=\"../theme/eclipse.css\">Eclipse</a> themes.</li>\n    <li>Add a <a href=\"manual.html#option_fixedGutter\"><code>fixedGutter</code></a> option.</li>\n    <li>Fix bug with <code>setValue</code> breaking cursor movement.</li>\n    <li>Make gutter updates much more efficient.</li>\n    <li>Allow dragging of text out of the editor (on modern browsers).</li>\n  </ul>\n\n\n  <p class=\"rel\">23-08-2011: <a href=\"http://codemirror.net/codemirror-2.13.zip\">Version 2.13</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add <a href=\"../mode/ruby/index.html\">Ruby</a>, <a href=\"../mode/r/index.html\">R</a>, <a href=\"../mode/coffeescript/index.html\">CoffeeScript</a>, and <a href=\"../mode/velocity/index.html\">Velocity</a> modes.</li>\n    <li>Add <a href=\"manual.html#getGutterElement\"><code>getGutterElement</code></a> to API.</li>\n    <li>Several fixes to scrolling and positioning.</li>\n    <li>Add <a href=\"manual.html#option_smartHome\"><code>smartHome</code></a> option.</li>\n    <li>Add an experimental <a href=\"../mode/xmlpure/index.html\">pure XML</a> mode.</li>\n  </ul>\n\n  <p class=\"rel\">25-07-2011: <a href=\"http://codemirror.net/codemirror-2.12.zip\">Version 2.12</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add a <a href=\"../mode/sparql/index.html\">SPARQL</a> mode.</li>\n    <li>Fix bug with cursor jumping around in an unfocused editor in IE.</li>\n    <li>Allow key and mouse events to bubble out of the editor. Ignore widget clicks.</li>\n    <li>Solve cursor flakiness after undo/redo.</li>\n    <li>Fix block-reindent ignoring the last few lines.</li>\n    <li>Fix parsing of multi-line attrs in XML mode.</li>\n    <li>Use <code>innerHTML</code> for HTML-escaping.</li>\n    <li>Some fixes to indentation in C-like mode.</li>\n    <li>Shrink horiz scrollbars when long lines removed.</li>\n    <li>Fix width feedback loop bug that caused the width of an inner DIV to shrink.</li>\n  </ul>\n\n  <p class=\"rel\">04-07-2011: <a href=\"http://codemirror.net/codemirror-2.11.zip\">Version 2.11</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add a <a href=\"../mode/scheme/index.html\">Scheme mode</a>.</li>\n    <li>Add a <code>replace</code> method to search cursors, for cursor-preserving replacements.</li>\n    <li>Make the <a href=\"../mode/clike/index.html\">C-like mode</a> mode more customizable.</li>\n    <li>Update XML mode to spot mismatched tags.</li>\n    <li>Add <code>getStateAfter</code> API and <code>compareState</code> mode API methods for finer-grained mode magic.</li>\n    <li>Add a <code>getScrollerElement</code> API method to manipulate the scrolling DIV.</li>\n    <li>Fix drag-and-drop for Firefox.</li>\n    <li>Add a C# configuration for the <a href=\"../mode/clike/index.html\">C-like mode</a>.</li>\n    <li>Add <a href=\"../demo/fullscreen.html\">full-screen editing</a> and <a href=\"../demo/changemode.html\">mode-changing</a> demos.</li>\n  </ul>\n\n  <p class=\"rel\">07-06-2011: <a href=\"http://codemirror.net/codemirror-2.1.zip\">Version 2.1</a>:</p>\n  <p class=\"rel-note\">Add\n  a <a href=\"manual.html#option_theme\">theme</a> system\n  (<a href=\"../demo/theme.html\">demo</a>). Note that this is not\n  backwards-compatible—you'll have to update your styles and\n  modes!</p>\n\n  <p class=\"rel\">07-06-2011: <a href=\"http://codemirror.net/codemirror-2.02.zip\">Version 2.02</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add a <a href=\"../mode/lua/index.html\">Lua mode</a>.</li>\n    <li>Fix reverse-searching for a regexp.</li>\n    <li>Empty lines can no longer break highlighting.</li>\n    <li>Rework scrolling model (the outer wrapper no longer does the scrolling).</li>\n    <li>Solve horizontal jittering on long lines.</li>\n    <li>Add <a href=\"../demo/runmode.html\">runmode.js</a>.</li>\n    <li>Immediately re-highlight text when typing.</li>\n    <li>Fix problem with 'sticking' horizontal scrollbar.</li>\n  </ul>\n\n  <p class=\"rel\">26-05-2011: <a href=\"http://codemirror.net/codemirror-2.01.zip\">Version 2.01</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add a <a href=\"../mode/smalltalk/index.html\">Smalltalk mode</a>.</li>\n    <li>Add a <a href=\"../mode/rst/index.html\">reStructuredText mode</a>.</li>\n    <li>Add a <a href=\"../mode/python/index.html\">Python mode</a>.</li>\n    <li>Add a <a href=\"../mode/plsql/index.html\">PL/SQL mode</a>.</li>\n    <li><code>coordsChar</code> now works</li>\n    <li>Fix a problem where <code>onCursorActivity</code> interfered with <code>onChange</code>.</li>\n    <li>Fix a number of scrolling and mouse-click-position glitches.</li>\n    <li>Pass information about the changed lines to <code>onChange</code>.</li>\n    <li>Support cmd-up/down on OS X.</li>\n    <li>Add triple-click line selection.</li>\n    <li>Don't handle shift when changing the selection through the API.</li>\n    <li>Support <code>\"nocursor\"</code> mode for <code>readOnly</code> option.</li>\n    <li>Add an <code>onHighlightComplete</code> option.</li>\n    <li>Fix the context menu for Firefox.</li>\n  </ul>\n\n  <p class=\"rel\">28-03-2011: <a href=\"http://codemirror.net/codemirror-2.0.zip\">Version 2.0</a>:</p>\n  <p class=\"rel-note\">CodeMirror 2 is a complete rewrite that's\n  faster, smaller, simpler to use, and less dependent on browser\n  quirks. See <a href=\"internals.html\">this</a>\n  and <a href=\"http://groups.google.com/group/codemirror/browse_thread/thread/5a8e894024a9f580\">this</a>\n  for more information.</p>\n\n  <p class=\"rel\">22-02-2011: <a href=\"https://github.com/marijnh/codemirror/tree/beta2\">Version 2.0 beta 2</a>:</p>\n  <p class=\"rel-note\">Somewhat more mature API, lots of bugs shaken out.</p>\n\n  <p class=\"rel\">17-02-2011: <a href=\"http://codemirror.net/codemirror-0.94.zip\">Version 0.94</a>:</p>\n  <ul class=\"rel-note\">\n    <li><code>tabMode: \"spaces\"</code> was modified slightly (now indents when something is selected).</li>\n    <li>Fixes a bug that would cause the selection code to break on some IE versions.</li>\n    <li>Disabling spell-check on WebKit browsers now works.</li>\n  </ul>\n\n  <p class=\"rel\">08-02-2011: <a href=\"http://codemirror.net/\">Version 2.0 beta 1</a>:</p>\n  <p class=\"rel-note\">CodeMirror 2 is a complete rewrite of\n  CodeMirror, no longer depending on an editable frame.</p>\n\n  <p class=\"rel\">19-01-2011: <a href=\"http://codemirror.net/codemirror-0.93.zip\">Version 0.93</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Added a <a href=\"contrib/regex/index.html\">Regular Expression</a> parser.</li>\n    <li>Fixes to the PHP parser.</li>\n    <li>Support for regular expression in search/replace.</li>\n    <li>Add <code>save</code> method to instances created with <code>fromTextArea</code>.</li>\n    <li>Add support for MS T-SQL in the SQL parser.</li>\n    <li>Support use of CSS classes for highlighting brackets.</li>\n    <li>Fix yet another hang with line-numbering in hidden editors.</li>\n  </ul>\n</section>\n\n<section id=v1>\n\n  <h2>Version 0.x</h2>\n\n  <p class=\"rel\">28-03-2011: <a href=\"http://codemirror.net/codemirror-1.0.zip\">Version 1.0</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Fix error when debug history overflows.</li>\n    <li>Refine handling of C# verbatim strings.</li>\n    <li>Fix some issues with JavaScript indentation.</li>\n  </ul>\n\n  <p class=\"rel\">17-12-2010: <a href=\"http://codemirror.net/codemirror-0.92.zip\">Version 0.92</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Make CodeMirror work in XHTML documents.</li>\n    <li>Fix bug in handling of backslashes in Python strings.</li>\n    <li>The <code>styleNumbers</code> option is now officially\n    supported and documented.</li>\n    <li><code>onLineNumberClick</code> option added.</li>\n    <li>More consistent names <code>onLoad</code> and\n    <code>onCursorActivity</code> callbacks. Old names still work, but\n    are deprecated.</li>\n    <li>Add a <a href=\"contrib/freemarker/index.html\">Freemarker</a> mode.</li>\n  </ul>\n\n  <p class=\"rel\">11-11-2010: <a\n  href=\"http://codemirror.net/codemirror-0.91.zip\">Version 0.91</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Adds support for <a href=\"contrib/java\">Java</a>.</li>\n    <li>Small additions to the <a href=\"contrib/php\">PHP</a> and <a href=\"contrib/sql\">SQL</a> parsers.</li>\n    <li>Work around various <a href=\"https://bugs.webkit.org/show_bug.cgi?id=47806\">Webkit</a> <a href=\"https://bugs.webkit.org/show_bug.cgi?id=23474\">issues</a>.</li>\n    <li>Fix <code>toTextArea</code> to update the code in the textarea.</li>\n    <li>Add a <code>noScriptCaching</code> option (hack to ease development).</li>\n    <li>Make sub-modes of <a href=\"mixedtest.html\">HTML mixed</a> mode configurable.</li>\n  </ul>\n\n  <p class=\"rel\">02-10-2010: <a\n  href=\"http://codemirror.net/codemirror-0.9.zip\">Version 0.9</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add support for searching backwards.</li>\n    <li>There are now parsers for <a href=\"contrib/scheme/index.html\">Scheme</a>, <a href=\"contrib/xquery/index.html\">XQuery</a>, and <a href=\"contrib/ometa/index.html\">OmetaJS</a>.</li>\n    <li>Makes <code>height: \"dynamic\"</code> more robust.</li>\n    <li>Fixes bug where paste did not work on OS X.</li>\n    <li>Add a <code>enterMode</code> and <code>electricChars</code> options to make indentation even more customizable.</li>\n    <li>Add <code>firstLineNumber</code> option.</li>\n    <li>Fix bad handling of <code>@media</code> rules by the CSS parser.</li>\n    <li>Take a new, more robust approach to working around the invisible-last-line bug in WebKit.</li>\n  </ul>\n\n  <p class=\"rel\">22-07-2010: <a\n  href=\"http://codemirror.net/codemirror-0.8.zip\">Version 0.8</a>:</p>\n  <ul class=\"rel-note\">\n    <li>Add a <code>cursorCoords</code> method to find the screen\n    coordinates of the cursor.</li>\n    <li>A number of fixes and support for more syntax in the PHP parser.</li>\n    <li>Fix indentation problem with JSON-mode JS parser in Webkit.</li>\n    <li>Add a <a href=\"compress.html\">minification</a> UI.</li>\n    <li>Support a <code>height: dynamic</code> mode, where the editor's\n    height will adjust to the size of its content.</li>\n    <li>Better support for IME input mode.</li>\n    <li>Fix JavaScript parser getting confused when seeing a no-argument\n    function call.</li>\n    <li>Have CSS parser see the difference between selectors and other\n    identifiers.</li>\n    <li>Fix scrolling bug when pasting in a horizontally-scrolled\n    editor.</li>\n    <li>Support <code>toTextArea</code> method in instances created with\n    <code>fromTextArea</code>.</li>\n    <li>Work around new Opera cursor bug that causes the cursor to jump\n    when pressing backspace at the end of a line.</li>\n  </ul>\n\n  <p class=\"rel\">27-04-2010: <a\n  href=\"http://codemirror.net/codemirror-0.67.zip\">Version\n  0.67</a>:</p>\n  <p class=\"rel-note\">More consistent page-up/page-down behaviour\n  across browsers. Fix some issues with hidden editors looping forever\n  when line-numbers were enabled. Make PHP parser parse\n  <code>\"\\\\\"</code> correctly. Have <code>jumpToLine</code> work on\n  line handles, and add <code>cursorLine</code> function to fetch the\n  line handle where the cursor currently is. Add new\n  <code>setStylesheet</code> function to switch style-sheets in a\n  running editor.</p>\n\n  <p class=\"rel\">01-03-2010: <a\n  href=\"http://codemirror.net/codemirror-0.66.zip\">Version\n  0.66</a>:</p>\n  <p class=\"rel-note\">Adds <code>removeLine</code> method to API.\n  Introduces the <a href=\"contrib/plsql/index.html\">PLSQL parser</a>.\n  Marks XML errors by adding (rather than replacing) a CSS class, so\n  that they can be disabled by modifying their style. Fixes several\n  selection bugs, and a number of small glitches.</p>\n\n  <p class=\"rel\">12-11-2009: <a\n  href=\"http://codemirror.net/codemirror-0.65.zip\">Version\n  0.65</a>:</p>\n  <p class=\"rel-note\">Add support for having both line-wrapping and\n  line-numbers turned on, make paren-highlighting style customisable\n  (<code>markParen</code> and <code>unmarkParen</code> config\n  options), work around a selection bug that Opera\n  <em>re</em>introduced in version 10.</p>\n\n  <p class=\"rel\">23-10-2009: <a\n  href=\"http://codemirror.net/codemirror-0.64.zip\">Version\n  0.64</a>:</p>\n  <p class=\"rel-note\">Solves some issues introduced by the\n  paste-handling changes from the previous release. Adds\n  <code>setSpellcheck</code>, <code>setTextWrapping</code>,\n  <code>setIndentUnit</code>, <code>setUndoDepth</code>,\n  <code>setTabMode</code>, and <code>setLineNumbers</code> to\n  customise a running editor. Introduces an <a\n  href=\"contrib/sql/index.html\">SQL</a> parser. Fixes a few small\n  problems in the <a href=\"contrib/python/index.html\">Python</a>\n  parser. And, as usual, add workarounds for various newly discovered\n  browser incompatibilities.</p>\n\n  <p class=\"rel\"><em>31-08-2009</em>: <a href=\"http://codemirror.net/codemirror-0.63.zip\">Version 0.63</a>:</p>\n  <p class=\"rel-note\"> Overhaul of paste-handling (less fragile), fixes for several\n  serious IE8 issues (cursor jumping, end-of-document bugs) and a number\n  of small problems.</p>\n\n  <p class=\"rel\"><em>30-05-2009</em>: <a href=\"http://codemirror.net/codemirror-0.62.zip\">Version 0.62</a>:</p>\n  <p class=\"rel-note\">Introduces <a href=\"contrib/python/index.html\">Python</a>\n  and <a href=\"contrib/lua/index.html\">Lua</a> parsers. Add\n  <code>setParser</code> (on-the-fly mode changing) and\n  <code>clearHistory</code> methods. Make parsing passes time-based\n  instead of lines-based (see the <code>passTime</code> option).</p>\n\n</section>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/reporting.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Reporting Bugs</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"docs.css\">\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Reporting bugs</a>\n  </ul>\n</div>\n\n<article>\n\n<h2>Reporting bugs effectively</h2>\n\n<div class=\"left\">\n\n<p>So you found a problem in CodeMirror. By all means, report it! Bug\nreports from users are the main drive behind improvements to\nCodeMirror. But first, please read over these points:</p>\n\n<ol>\n  <li>CodeMirror is maintained by volunteers. They don't owe you\n  anything, so be polite. Reports with an indignant or belligerent\n  tone tend to be moved to the bottom of the pile.</li>\n\n  <li>Include information about <strong>the browser in which the\n  problem occurred</strong>. Even if you tested several browsers, and\n  the problem occurred in all of them, mention this fact in the bug\n  report. Also include browser version numbers and the operating\n  system that you're on.</li>\n\n  <li>Mention which release of CodeMirror you're using. Preferably,\n  try also with the current development snapshot, to ensure the\n  problem has not already been fixed.</li>\n\n  <li>Mention very precisely what went wrong. \"X is broken\" is not a\n  good bug report. What did you expect to happen? What happened\n  instead? Describe the exact steps a maintainer has to take to make\n  the problem occur. We can not fix something that we can not\n  observe.</li>\n\n  <li>If the problem can not be reproduced in any of the demos\n  included in the CodeMirror distribution, please provide an HTML\n  document that demonstrates the problem. The best way to do this is\n  to go to <a href=\"http://jsbin.com/ihunin/edit\">jsbin.com</a>, enter\n  it there, press save, and include the resulting link in your bug\n  report.</li>\n</ol>\n\n</div>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/upgrade_v2.2.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Version 2.2 upgrade guide</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"docs.css\">\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">2.2 upgrade guide</a>\n  </ul>\n</div>\n\n<article>\n\n<h2>Upgrading to v2.2</h2>\n\n<p>There are a few things in the 2.2 release that require some care\nwhen upgrading.</p>\n\n<h3>No more default.css</h3>\n\n<p>The default theme is now included\nin <a href=\"../lib/codemirror.css\"><code>codemirror.css</code></a>, so\nyou do not have to included it separately anymore. (It was tiny, so\neven if you're not using it, the extra data overhead is negligible.)\n\n<h3>Different key customization</h3>\n\n<p>CodeMirror has moved to a system\nwhere <a href=\"manual.html#option_keyMap\">keymaps</a> are used to\nbind behavior to keys. This means <a href=\"../demo/emacs.html\">custom\nbindings</a> are now possible.</p>\n\n<p>Three options that influenced key\nbehavior, <code>tabMode</code>, <code>enterMode</code>,\nand <code>smartHome</code>, are no longer supported. Instead, you can\nprovide custom bindings to influence the way these keys act. This is\ndone through the\nnew <a href=\"manual.html#option_extraKeys\"><code>extraKeys</code></a>\noption, which can hold an object mapping key names to functionality. A\nsimple example would be:</p>\n\n<pre>  extraKeys: {\n    \"Ctrl-S\": function(instance) { saveText(instance.getValue()); },\n    \"Ctrl-/\": \"undo\"\n  }</pre>\n\n<p>Keys can be mapped either to functions, which will be given the\neditor instance as argument, or to strings, which are mapped through\nfunctions through the <code>CodeMirror.commands</code> table, which\ncontains all the built-in editing commands, and can be inspected and\nextended by external code.</p>\n\n<p>By default, the <code>Home</code> key is bound to\nthe <code>\"goLineStartSmart\"</code> command, which moves the cursor to\nthe first non-whitespace character on the line. You can set do this to\nmake it always go to the very start instead:</p>\n\n<pre>  extraKeys: {\"Home\": \"goLineStart\"}</pre>\n\n<p>Similarly, <code>Enter</code> is bound\nto <code>\"newlineAndIndent\"</code> by default. You can bind it to\nsomething else to get different behavior. To disable special handling\ncompletely and only get a newline character inserted, you can bind it\nto <code>false</code>:</p>\n\n<pre>  extraKeys: {\"Enter\": false}</pre>\n\n<p>The same works for <code>Tab</code>. If you don't want CodeMirror\nto handle it, bind it to <code>false</code>. The default behaviour is\nto indent the current line more (<code>\"indentMore\"</code> command),\nand indent it less when shift is held (<code>\"indentLess\"</code>).\nThere are also <code>\"indentAuto\"</code> (smart indent)\nand <code>\"insertTab\"</code> commands provided for alternate\nbehaviors. Or you can write your own handler function to do something\ndifferent altogether.</p>\n\n<h3>Tabs</h3>\n\n<p>Handling of tabs changed completely. The display width of tabs can\nnow be set with the <code>tabSize</code> option, and tabs can\nbe <a href=\"../demo/visibletabs.html\">styled</a> by setting CSS rules\nfor the <code>cm-tab</code> class.</p>\n\n<p>The default width for tabs is now 4, as opposed to the 8 that is\nhard-wired into browsers. If you are relying on 8-space tabs, make\nsure you explicitly set <code>tabSize: 8</code> in your options.</p>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/doc/upgrade_v3.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Version 3 upgrade guide</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"docs.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<script src=\"../addon/runmode/runmode.js\"></script>\n<script src=\"../addon/runmode/colorize.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../mode/css/css.js\"></script>\n<script src=\"../mode/htmlmixed/htmlmixed.js\"></script>\n<script src=\"activebookmark.js\"></script>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#upgrade\">Upgrade guide</a>\n    <li><a href=\"#dom\">DOM structure</a></li>\n    <li><a href=\"#gutters\">Gutter model</a></li>\n    <li><a href=\"#events\">Event handling</a></li>\n    <li><a href=\"#marktext\">markText method arguments</a></li>\n    <li><a href=\"#folding\">Line folding</a></li>\n    <li><a href=\"#lineclass\">Line CSS classes</a></li>\n    <li><a href=\"#positions\">Position properties</a></li>\n    <li><a href=\"#matchbrackets\">Bracket matching</a></li>\n    <li><a href=\"#modes\">Mode management</a></li>\n    <li><a href=\"#new\">New features</a></li>\n  </ul>\n</div>\n\n<article>\n\n<h2 id=upgrade>Upgrading to version 3</h2>\n\n<p>Version 3 does not depart too much from 2.x API, and sites that use\nCodeMirror in a very simple way might be able to upgrade without\ntrouble. But it does introduce a number of incompatibilities. Please\nat least skim this text before upgrading.</p>\n\n<p>Note that <strong>version 3 drops full support for Internet\nExplorer 7</strong>. The editor will mostly work on that browser, but\nit'll be significantly glitchy.</p>\n\n<section id=dom>\n  <h2>DOM structure</h2>\n\n<p>This one is the most likely to cause problems. The internal\nstructure of the editor has changed quite a lot, mostly to implement a\nnew scrolling model.</p>\n\n<p>Editor height is now set on the outer wrapper element (CSS\nclass <code>CodeMirror</code>), not on the scroller element\n(<code>CodeMirror-scroll</code>).</p>\n\n<p>Other nodes were moved, dropped, and added. If you have any code\nthat makes assumptions about the internal DOM structure of the editor,\nyou'll have to re-test it and probably update it to work with v3.</p>\n\n<p>See the <a href=\"manual.html#styling\">styling section</a> of the\nmanual for more information.</p>\n</section>\n<section id=gutters>\n  <h2>Gutter model</h2>\n\n<p>In CodeMirror 2.x, there was a single gutter, and line markers\ncreated with <code>setMarker</code> would have to somehow coexist with\nthe line numbers (if present). Version 3 allows you to specify an\narray of gutters, <a href=\"manual.html#option_gutters\">by class\nname</a>,\nuse <a href=\"manual.html#setGutterMarker\"><code>setGutterMarker</code></a>\nto add or remove markers in individual gutters, and clear whole\ngutters\nwith <a href=\"manual.html#clearGutter\"><code>clearGutter</code></a>.\nGutter markers are now specified as DOM nodes, rather than HTML\nsnippets.</p>\n\n<p>The gutters no longer horizontally scrolls along with the content.\nThe <code>fixedGutter</code> option was removed (since it is now the\nonly behavior).</p>\n\n<pre data-lang=\"text/html\">\n&lt;style>\n  /* Define a gutter style */\n  .note-gutter { width: 3em; background: cyan; }\n&lt;/style>\n&lt;script>\n  // Create an instance with two gutters -- line numbers and notes\n  var cm = new CodeMirror(document.body, {\n    gutters: [\"note-gutter\", \"CodeMirror-linenumbers\"],\n    lineNumbers: true\n  });\n  // Add a note to line 0\n  cm.setGutterMarker(0, \"note-gutter\", document.createTextNode(\"hi\"));\n&lt;/script>\n</pre>\n</section>\n<section id=events>\n  <h2>Event handling</h2>\n\n<p>Most of the <code>onXYZ</code> options have been removed. The same\neffect is now obtained by calling\nthe <a href=\"manual.html#on\"><code>on</code></a> method with a string\nidentifying the event type. Multiple handlers can now be registered\n(and individually unregistered) for an event, and objects such as line\nhandlers now also expose events. See <a href=\"manual.html#events\">the\nfull list here</a>.</p>\n\n<p>(The <code>onKeyEvent</code> and <code>onDragEvent</code> options,\nwhich act more as hooks than as event handlers, are still there in\ntheir old form.)</p>\n\n<pre data-lang=\"javascript\">\ncm.on(\"change\", function(cm, change) {\n  console.log(\"something changed! (\" + change.origin + \")\");\n});\n</pre>\n</section>\n<section id=marktext>\n  <h2>markText method arguments</h2>\n\n<p>The <a href=\"manual.html#markText\"><code>markText</code></a> method\n(which has gained some interesting new features, such as creating\natomic and read-only spans, or replacing spans with widgets) no longer\ntakes the CSS class name as a separate argument, but makes it an\noptional field in the options object instead.</p>\n\n<pre data-lang=\"javascript\">\n// Style first ten lines, and forbid the cursor from entering them\ncm.markText({line: 0, ch: 0}, {line: 10, ch: 0}, {\n  className: \"magic-text\",\n  inclusiveLeft: true,\n  atomic: true\n});\n</pre>\n</section>\n<section id=folding>\n  <h2>Line folding</h2>\n\n<p>The interface for hiding lines has been\nremoved. <a href=\"manual.html#markText\"><code>markText</code></a> can\nnow be used to do the same in a more flexible and powerful way.</p>\n\n<p>The <a href=\"../demo/folding.html\">folding script</a> has been\nupdated to use the new interface, and should now be more robust.</p>\n\n<pre data-lang=\"javascript\">\n// Fold a range, replacing it with the text \"??\"\nvar range = cm.markText({line: 4, ch: 2}, {line: 8, ch: 1}, {\n  replacedWith: document.createTextNode(\"??\"),\n  // Auto-unfold when cursor moves into the range\n  clearOnEnter: true\n});\n// Get notified when auto-unfolding\nCodeMirror.on(range, \"clear\", function() {\n  console.log(\"boom\");\n});\n</pre>\n</section>\n<section id=lineclass>\n  <h2>Line CSS classes</h2>\n\n<p>The <code>setLineClass</code> method has been replaced\nby <a href=\"manual.html#addLineClass\"><code>addLineClass</code></a>\nand <a href=\"manual.html#removeLineClass\"><code>removeLineClass</code></a>,\nwhich allow more modular control over the classes attached to a line.</p>\n\n<pre data-lang=\"javascript\">\nvar marked = cm.addLineClass(10, \"background\", \"highlighted-line\");\nsetTimeout(function() {\n  cm.removeLineClass(marked, \"background\", \"highlighted-line\");\n});\n</pre>\n</section>\n<section id=positions>\n  <h2>Position properties</h2>\n\n<p>All methods that take or return objects that represent screen\npositions now use <code>{left, top, bottom, right}</code> properties\n(not always all of them) instead of the <code>{x, y, yBot}</code> used\nby some methods in v2.x.</p>\n\n<p>Affected methods\nare <a href=\"manual.html#cursorCoords\"><code>cursorCoords</code></a>, <a href=\"manual.html#charCoords\"><code>charCoords</code></a>, <a href=\"manual.html#coordsChar\"><code>coordsChar</code></a>,\nand <a href=\"manual.html#getScrollInfo\"><code>getScrollInfo</code></a>.</p>\n</section>\n<section id=matchbrackets>\n  <h2>Bracket matching no longer in core</h2>\n\n<p>The <a href=\"manual.html#addon_matchbrackets\"><code>matchBrackets</code></a>\noption is no longer defined in the core editor.\nLoad <code>addon/edit/matchbrackets.js</code> to enable it.</p>\n</section>\n<section id=modes>\n  <h2>Mode management</h2>\n\n<p>The <code>CodeMirror.listModes</code>\nand <code>CodeMirror.listMIMEs</code> functions, used for listing\ndefined modes, are gone. You are now encouraged to simply\ninspect <code>CodeMirror.modes</code> (mapping mode names to mode\nconstructors) and <code>CodeMirror.mimeModes</code> (mapping MIME\nstrings to mode specs).</p>\n</section>\n<section id=new>\n  <h2>New features</h2>\n\n<p>Some more reasons to upgrade to version 3.</p>\n\n<ul>\n  <li>Bi-directional text support. CodeMirror will now mostly do the\n  right thing when editing Arabic or Hebrew text.</li>\n  <li>Arbitrary line heights. Using fonts with different heights\n  inside the editor (whether off by one pixel or fifty) is now\n  supported and handled gracefully.</li>\n  <li>In-line widgets. See <a href=\"../demo/widget.html\">the demo</a>\n  and <a href=\"manual.html#addLineWidget\">the docs</a>.</li>\n  <li>Defining custom options\n  with <a href=\"manual.html#defineOption\"><code>CodeMirror.defineOption</code></a>.</li>\n</ul>\n</section>\n</article>\n\n<script>setTimeout(function(){CodeMirror.colorize();}, 20);</script>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror</title>\n<meta charset=\"utf-8\"/>\n\n<link rel=stylesheet href=\"lib/codemirror.css\">\n<link rel=stylesheet href=\"doc/docs.css\">\n<script src=\"lib/codemirror.js\"></script>\n<script src=\"mode/xml/xml.js\"></script>\n<script src=\"mode/javascript/javascript.js\"></script>\n<script src=\"mode/css/css.js\"></script>\n<script src=\"mode/htmlmixed/htmlmixed.js\"></script>\n<script src=\"addon/edit/matchbrackets.js\"></script>\n\n<script src=\"doc/activebookmark.js\"></script>\n\n<style>\n  .CodeMirror { height: auto; border: 1px solid #ddd; }\n  .CodeMirror-scroll { max-height: 200px; }\n  .CodeMirror pre { padding-left: 7px; line-height: 1.25; }\n</style>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"doc/logo.png\"></a>\n\n  <ul>\n    <li><a class=active data-default=\"true\" href=\"#description\">Home</a>\n    <li><a href=\"doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"#features\">Features</a>\n    <li><a href=\"#community\">Community</a>\n    <li><a href=\"#browsersupport\">Browser support</a>\n  </ul>\n</div>\n\n<article>\n\n<section id=description class=first>\n  <p><strong>CodeMirror</strong> is a versatile text editor\n  implemented in JavaScript for the browser. It is specialized for\n  editing code, and comes with a number of language modes and addons\n  that implement more advanced editing functionaly.</p>\n\n  <p>A rich <a href=\"doc/manual.html#api\">programming API</a> and a\n  CSS <a href=\"doc/manual.html#styling\">theming</a> system are\n  available for customizing CodeMirror to fit your application, and\n  extending it with new functionality.</p>\n</section>\n\n<section id=demo>\n  <h2>This is CodeMirror</h2>\n  <form style=\"position: relative; margin-top: .5em;\"><textarea id=demotext>\n<!-- Create a simple CodeMirror instance -->\n<link rel=\"stylesheet\" href=\"lib/codemirror.css\">\n<script src=\"lib/codemirror.js\"></script>\n<script>\n  var editor = CodeMirror.fromTextArea(myTextarea, {\n    mode: \"text/html\"\n  });\n</script></textarea>\n  <select id=\"demolist\" onchange=\"document.location = this.options[this.selectedIndex].value;\">\n    <option value=\"#\">Other demos...</option>\n    <option value=\"demo/complete.html\">Autocompletion</option>\n    <option value=\"demo/folding.html\">Code folding</option>\n    <option value=\"demo/theme.html\">Themes</option>\n    <option value=\"mode/htmlmixed/index.html\">Mixed language modes</option>\n    <option value=\"demo/bidi.html\">Bi-directional text</option>\n    <option value=\"demo/variableheight.html\">Variable font sizes</option>\n    <option value=\"demo/search.html\">Search interface</option>\n    <option value=\"demo/vim.html\">Vim bindings</option>\n    <option value=\"demo/emacs.html\">Emacs bindings</option>\n    <option value=\"demo/tern.html\">Tern integration</option>\n    <option value=\"demo/merge.html\">Merge/diff interface</option>\n    <option value=\"demo/fullscreen.html\">Full-screen editor</option>\n  </select></form>\n  <script>\n    var editor = CodeMirror.fromTextArea(document.getElementById(\"demotext\"), {\n      lineNumbers: true,\n      mode: \"text/html\",\n      matchBrackets: true\n    });\n  </script>\n  <div style=\"position: relative; margin: 1em 0;\">\n    <a class=\"bigbutton left\" href=\"http://codemirror.net/codemirror.zip\">DOWNLOAD LATEST RELEASE</a>\n    <div><strong>version 3.20</strong> (<a href=\"doc/releases.html\">Release notes</a>)</div>\n    <div>or use the <a href=\"doc/compress.html\">minification helper</a></div>\n    <div style=\"position: absolute; top: 0; right: 0; text-align: right\">\n      <span class=\"bigbutton right\" onclick=\"document.getElementById('paypal').submit();\">DONATE WITH PAYPAL</span>\n      <div style=\"position: relative\">\n        or <span onclick=\"document.getElementById('bankinfo').style.display = 'block';\" class=quasilink>Bank</span>,\n        <a href=\"https://www.gittip.com/marijnh\">Gittip</a>,\n        <a href=\"https://flattr.com/profile/marijnh\">Flattr</a><br>\n        <div id=bankinfo>\n          <span id=bankinfo_close onclick=\"document.getElementById('bankinfo').style.display = '';\">×</span>\n          Bank: <i>Rabobank</i><br/>\n          Country: <i>Netherlands</i><br/>\n          SWIFT: <i>RABONL2U</i><br/>\n          Account: <i>147850770</i><br/>\n          Name: <i>Marijn Haverbeke</i><br/>\n          IBAN: <i>NL26 RABO 0147 8507 70</i>\n        </div>\n        <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\" id=\"paypal\">\n          <input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\"/>\n          <input type=\"hidden\" name=\"hosted_button_id\" value=\"3FVHS5FGUY7CC\"/>\n        </form>\n      </div>\n      <div>\n        Purchase <a href=\"http://codemirror.com\">commercial support</a>\n      </div>\n    </div>\n  </div>\n</section>\n\n<section id=features>\n  <h2>Features</h2>\n  <ul>\n    <li>Support for <a href=\"mode/index.html\">over 60 languages</a> out of the box\n    <li>A powerful, <a href=\"mode/htmlmixed/index.html\">composable</a> language mode <a href=\"doc/manual.html#modeapi\">system</a>\n    <li><a href=\"doc/manual.html#addon_show-hint\">Autocompletion</a> (<a href=\"demo/xmlcomplete.html\">XML</a>)\n    <li><a href=\"doc/manual.html#addon_foldcode\">Code folding</a>\n    <li><a href=\"doc/manual.html#option_extraKeys\">Configurable</a> keybindings\n    <li><a href=\"demo/vim.html\">Vim</a> and <a href=\"demo/emacs.html\">Emacs</a> bindings\n    <li><a href=\"doc/manual.html#addon_search\">Search and replace</a> interface\n    <li><a href=\"doc/manual.html#addon_matchbrackets\">Bracket</a> and <a href=\"doc/manual.html#addon_matchtags\">tag</a> matching\n    <li>Support for <a href=\"demo/buffers.html\">split views</a>\n    <li><a href=\"doc/manual.html#addon_lint\">Linter integration</a>\n    <li><a href=\"demo/variableheight.html\">Mixing font sizes and styles</a>\n    <li><a href=\"demo/theme.html\">Various themes</a>\n    <li>Able to <a href=\"demo/resize.html\">resize to fit content</a>\n    <li><a href=\"doc/manual.html#mark_replacedWith\">Inline</a> and <a href=\"doc/manual.html#addLineWidget\">block</a> widgets\n    <li>Programmable <a href=\"demo/marker.html\">gutters</a>\n    <li>Making ranges of text <a href=\"doc/manual.html#markText\">styled, read-only, or atomic</a>\n    <li><a href=\"demo/bidi.html\">Bi-directional text</a> support\n    <li>Many other <a href=\"doc/manual.html#api\">methods</a> and <a href=\"doc/manual.html#addons\">addons</a>...</a>\n  </ul>\n</section>\n\n<section id=community>\n  <h2>Community</h2>\n\n  <p>CodeMirror is an open-source project shared under\n  an <a href=\"LICENSE\">MIT license</a>. It is the editor used in\n  <a href=\"http://www.chris-granger.com/2012/04/12/light-table---a-new-ide-concept/\">Light\n  Table</a>, <a href=\"http://brackets.io/\">Adobe\n  Brackets</a>, <a href=\"https://script.google.com/\">Google Apps\n  Script</a>, <a href=\"http://blog.bitbucket.org/2013/05/14/edit-your-code-in-the-cloud-with-bitbucket/\">Bitbucket</a>,\n  and <a href=\"doc/realworld.html\">many other projects</a>.</p>\n\n  <p>Development and bug tracking happens\n  on <a href=\"https://github.com/marijnh/CodeMirror/\">github</a>\n  (<a href=\"http://marijnhaverbeke.nl/git/codemirror\">alternate git\n  repository</a>).\n  Please <a href=\"http://codemirror.net/doc/reporting.html\">read these\n  pointers</a> before submitting a bug. Use pull requests to submit\n  patches. All contributions must be released under the same MIT\n  license that CodeMirror uses.</p>\n\n  <p>Discussion around the project is done on\n  a <a href=\"http://groups.google.com/group/codemirror\">mailing list</a>.\n  There is also\n  the <a href=\"http://groups.google.com/group/codemirror-announce\">codemirror-announce</a>\n  list, which is only used for major announcements (such as new\n  versions). If needed, you can\n  contact <a href=\"mailto:marijnh@gmail.com\">the maintainer</a>\n  directly.</p>\n\n  <p>A list of CodeMirror-related software that is not part of the\n  main distribution is maintained\n  on <a href=\"https://github.com/marijnh/CodeMirror/wiki/CodeMirror-addons\">our\n  wiki</a>. Feel free to add your project.</p>\n</section>\n\n<section id=browsersupport>\n  <h2>Browser support</h2>\n  <p>The <em>desktop</em> versions of the following browsers,\n  in <em>standards mode</em> (HTML5 <code>&lt;!doctype html></code>\n  recommended) are supported:</p>\n  <table style=\"margin-bottom: 1em\">\n    <tr><th>Firefox</th><td>version 3 and up</td></tr>\n    <tr><th>Chrome</th><td>any version</td></tr>\n    <tr><th>Safari</th><td>version 5.2 and up</td></tr>\n    <tr><th style=\"padding-right: 1em;\">Internet Explorer</th><td>version 8 and up</td></tr>\n    <tr><th>Opera</th><td>version 9 and up</td></tr>\n  </table>\n  <p>Modern mobile browsers tend to partly work. Bug reports and\n  patches for mobile support are welcome, but the maintainer does not\n  have the time or budget to actually work on it himself.</p>\n</section>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/keymap/emacs.js",
    "content": "(function() {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n  function posEq(a, b) { return a.line == b.line && a.ch == b.ch; }\n\n  // Kill 'ring'\n\n  var killRing = [];\n  function addToRing(str) {\n    killRing.push(str);\n    if (killRing.length > 50) killRing.shift();\n  }\n  function growRingTop(str) {\n    if (!killRing.length) return addToRing(str);\n    killRing[killRing.length - 1] += str;\n  }\n  function getFromRing(n) { return killRing[killRing.length - (n ? Math.min(n, 1) : 1)] || \"\"; }\n  function popFromRing() { if (killRing.length > 1) killRing.pop(); return getFromRing(); }\n\n  var lastKill = null;\n\n  function kill(cm, from, to, mayGrow, text) {\n    if (text == null) text = cm.getRange(from, to);\n\n    if (mayGrow && lastKill && lastKill.cm == cm && posEq(from, lastKill.pos) && cm.isClean(lastKill.gen))\n      growRingTop(text);\n    else\n      addToRing(text);\n    cm.replaceRange(\"\", from, to, \"+delete\");\n\n    if (mayGrow) lastKill = {cm: cm, pos: from, gen: cm.changeGeneration()};\n    else lastKill = null;\n  }\n\n  // Boundaries of various units\n\n  function byChar(cm, pos, dir) {\n    return cm.findPosH(pos, dir, \"char\", true);\n  }\n\n  function byWord(cm, pos, dir) {\n    return cm.findPosH(pos, dir, \"word\", true);\n  }\n\n  function byLine(cm, pos, dir) {\n    return cm.findPosV(pos, dir, \"line\", cm.doc.sel.goalColumn);\n  }\n\n  function byPage(cm, pos, dir) {\n    return cm.findPosV(pos, dir, \"page\", cm.doc.sel.goalColumn);\n  }\n\n  function byParagraph(cm, pos, dir) {\n    var no = pos.line, line = cm.getLine(no);\n    var sawText = /\\S/.test(dir < 0 ? line.slice(0, pos.ch) : line.slice(pos.ch));\n    var fst = cm.firstLine(), lst = cm.lastLine();\n    for (;;) {\n      no += dir;\n      if (no < fst || no > lst)\n        return cm.clipPos(Pos(no - dir, dir < 0 ? 0 : null));\n      line = cm.getLine(no);\n      var hasText = /\\S/.test(line);\n      if (hasText) sawText = true;\n      else if (sawText) return Pos(no, 0);\n    }\n  }\n\n  function bySentence(cm, pos, dir) {\n    var line = pos.line, ch = pos.ch;\n    var text = cm.getLine(pos.line), sawWord = false;\n    for (;;) {\n      var next = text.charAt(ch + (dir < 0 ? -1 : 0));\n      if (!next) { // End/beginning of line reached\n        if (line == (dir < 0 ? cm.firstLine() : cm.lastLine())) return Pos(line, ch);\n        text = cm.getLine(line + dir);\n        if (!/\\S/.test(text)) return Pos(line, ch);\n        line += dir;\n        ch = dir < 0 ? text.length : 0;\n        continue;\n      }\n      if (sawWord && /[!?.]/.test(next)) return Pos(line, ch + (dir > 0 ? 1 : 0));\n      if (!sawWord) sawWord = /\\w/.test(next);\n      ch += dir;\n    }\n  }\n\n  function byExpr(cm, pos, dir) {\n    var wrap;\n    if (cm.findMatchingBracket && (wrap = cm.findMatchingBracket(pos, true))\n        && wrap.match && (wrap.forward ? 1 : -1) == dir)\n      return dir > 0 ? Pos(wrap.to.line, wrap.to.ch + 1) : wrap.to;\n\n    for (var first = true;; first = false) {\n      var token = cm.getTokenAt(pos);\n      var after = Pos(pos.line, dir < 0 ? token.start : token.end);\n      if (first && dir > 0 && token.end == pos.ch || !/\\w/.test(token.string)) {\n        var newPos = cm.findPosH(after, dir, \"char\");\n        if (posEq(after, newPos)) return pos;\n        else pos = newPos;\n      } else {\n        return after;\n      }\n    }\n  }\n\n  // Prefixes (only crudely supported)\n\n  function getPrefix(cm, precise) {\n    var digits = cm.state.emacsPrefix;\n    if (!digits) return precise ? null : 1;\n    clearPrefix(cm);\n    return digits == \"-\" ? -1 : Number(digits);\n  }\n\n  function repeated(cmd) {\n    var f = typeof cmd == \"string\" ? function(cm) { cm.execCommand(cmd); } : cmd;\n    return function(cm) {\n      var prefix = getPrefix(cm);\n      f(cm);\n      for (var i = 1; i < prefix; ++i) f(cm);\n    };\n  }\n\n  function findEnd(cm, by, dir) {\n    var pos = cm.getCursor(), prefix = getPrefix(cm);\n    if (prefix < 0) { dir = -dir; prefix = -prefix; }\n    for (var i = 0; i < prefix; ++i) {\n      var newPos = by(cm, pos, dir);\n      if (posEq(newPos, pos)) break;\n      pos = newPos;\n    }\n    return pos;\n  }\n\n  function move(by, dir) {\n    var f = function(cm) {\n      cm.extendSelection(findEnd(cm, by, dir));\n    };\n    f.motion = true;\n    return f;\n  }\n\n  function killTo(cm, by, dir) {\n    kill(cm, cm.getCursor(), findEnd(cm, by, dir), true);\n  }\n\n  function addPrefix(cm, digit) {\n    if (cm.state.emacsPrefix) {\n      if (digit != \"-\") cm.state.emacsPrefix += digit;\n      return;\n    }\n    // Not active yet\n    cm.state.emacsPrefix = digit;\n    cm.on(\"keyHandled\", maybeClearPrefix);\n    cm.on(\"inputRead\", maybeDuplicateInput);\n  }\n\n  var prefixPreservingKeys = {\"Alt-G\": true, \"Ctrl-X\": true, \"Ctrl-Q\": true, \"Ctrl-U\": true};\n\n  function maybeClearPrefix(cm, arg) {\n    if (!cm.state.emacsPrefixMap && !prefixPreservingKeys.hasOwnProperty(arg))\n      clearPrefix(cm);\n  }\n\n  function clearPrefix(cm) {\n    cm.state.emacsPrefix = null;\n    cm.off(\"keyHandled\", maybeClearPrefix);\n    cm.off(\"inputRead\", maybeDuplicateInput);\n  }\n\n  function maybeDuplicateInput(cm, event) {\n    var dup = getPrefix(cm);\n    if (dup > 1 && event.origin == \"+input\") {\n      var one = event.text.join(\"\\n\"), txt = \"\";\n      for (var i = 1; i < dup; ++i) txt += one;\n      cm.replaceSelection(txt, \"end\", \"+input\");\n    }\n  }\n\n  function addPrefixMap(cm) {\n    cm.state.emacsPrefixMap = true;\n    cm.addKeyMap(prefixMap);\n    cm.on(\"keyHandled\", maybeRemovePrefixMap);\n    cm.on(\"inputRead\", maybeRemovePrefixMap);\n  }\n\n  function maybeRemovePrefixMap(cm, arg) {\n    if (typeof arg == \"string\" && (/^\\d$/.test(arg) || arg == \"Ctrl-U\")) return;\n    cm.removeKeyMap(prefixMap);\n    cm.state.emacsPrefixMap = false;\n    cm.off(\"keyHandled\", maybeRemovePrefixMap);\n    cm.off(\"inputRead\", maybeRemovePrefixMap);\n  }\n\n  // Utilities\n\n  function setMark(cm) {\n    cm.setCursor(cm.getCursor());\n    cm.setExtending(true);\n    cm.on(\"change\", function() { cm.setExtending(false); });\n  }\n\n  function getInput(cm, msg, f) {\n    if (cm.openDialog)\n      cm.openDialog(msg + \": <input type=\\\"text\\\" style=\\\"width: 10em\\\"/>\", f, {bottom: true});\n    else\n      f(prompt(msg, \"\"));\n  }\n\n  function operateOnWord(cm, op) {\n    var start = cm.getCursor(), end = cm.findPosH(start, 1, \"word\");\n    cm.replaceRange(op(cm.getRange(start, end)), start, end);\n    cm.setCursor(end);\n  }\n\n  function toEnclosingExpr(cm) {\n    var pos = cm.getCursor(), line = pos.line, ch = pos.ch;\n    var stack = [];\n    while (line >= cm.firstLine()) {\n      var text = cm.getLine(line);\n      for (var i = ch == null ? text.length : ch; i > 0;) {\n        var ch = text.charAt(--i);\n        if (ch == \")\")\n          stack.push(\"(\");\n        else if (ch == \"]\")\n          stack.push(\"[\");\n        else if (ch == \"}\")\n          stack.push(\"{\");\n        else if (/[\\(\\{\\[]/.test(ch) && (!stack.length || stack.pop() != ch))\n          return cm.extendSelection(Pos(line, i));\n      }\n      --line; ch = null;\n    }\n  }\n\n  // Actual keymap\n\n  var keyMap = CodeMirror.keyMap.emacs = {\n    \"Ctrl-W\": function(cm) {kill(cm, cm.getCursor(\"start\"), cm.getCursor(\"end\"));},\n    \"Ctrl-K\": repeated(function(cm) {\n      var start = cm.getCursor(), end = cm.clipPos(Pos(start.line));\n      var text = cm.getRange(start, end);\n      if (!/\\S/.test(text)) {\n        text += \"\\n\";\n        end = Pos(start.line + 1, 0);\n      }\n      kill(cm, start, end, true, text);\n    }),\n    \"Alt-W\": function(cm) {\n      addToRing(cm.getSelection());\n    },\n    \"Ctrl-Y\": function(cm) {\n      var start = cm.getCursor();\n      cm.replaceRange(getFromRing(getPrefix(cm)), start, start, \"paste\");\n      cm.setSelection(start, cm.getCursor());\n    },\n    \"Alt-Y\": function(cm) {cm.replaceSelection(popFromRing());},\n\n    \"Ctrl-Space\": setMark, \"Ctrl-Shift-2\": setMark,\n\n    \"Ctrl-F\": move(byChar, 1), \"Ctrl-B\": move(byChar, -1),\n    \"Right\": move(byChar, 1), \"Left\": move(byChar, -1),\n    \"Ctrl-D\": function(cm) { killTo(cm, byChar, 1); },\n    \"Delete\": function(cm) { killTo(cm, byChar, 1); },\n    \"Ctrl-H\": function(cm) { killTo(cm, byChar, -1); },\n    \"Backspace\": function(cm) { killTo(cm, byChar, -1); },\n\n    \"Alt-F\": move(byWord, 1), \"Alt-B\": move(byWord, -1),\n    \"Alt-D\": function(cm) { killTo(cm, byWord, 1); },\n    \"Alt-Backspace\": function(cm) { killTo(cm, byWord, -1); },\n\n    \"Ctrl-N\": move(byLine, 1), \"Ctrl-P\": move(byLine, -1),\n    \"Down\": move(byLine, 1), \"Up\": move(byLine, -1),\n    \"Ctrl-A\": \"goLineStart\", \"Ctrl-E\": \"goLineEnd\",\n    \"End\": \"goLineEnd\", \"Home\": \"goLineStart\",\n\n    \"Alt-V\": move(byPage, -1), \"Ctrl-V\": move(byPage, 1),\n    \"PageUp\": move(byPage, -1), \"PageDown\": move(byPage, 1),\n\n    \"Ctrl-Up\": move(byParagraph, -1), \"Ctrl-Down\": move(byParagraph, 1),\n\n    \"Alt-A\": move(bySentence, -1), \"Alt-E\": move(bySentence, 1),\n    \"Alt-K\": function(cm) { killTo(cm, bySentence, 1); },\n\n    \"Ctrl-Alt-K\": function(cm) { killTo(cm, byExpr, 1); },\n    \"Ctrl-Alt-Backspace\": function(cm) { killTo(cm, byExpr, -1); },\n    \"Ctrl-Alt-F\": move(byExpr, 1), \"Ctrl-Alt-B\": move(byExpr, -1),\n\n    \"Shift-Ctrl-Alt-2\": function(cm) {\n      cm.setSelection(findEnd(cm, byExpr, 1), cm.getCursor());\n    },\n    \"Ctrl-Alt-T\": function(cm) {\n      var leftStart = byExpr(cm, cm.getCursor(), -1), leftEnd = byExpr(cm, leftStart, 1);\n      var rightEnd = byExpr(cm, leftEnd, 1), rightStart = byExpr(cm, rightEnd, -1);\n      cm.replaceRange(cm.getRange(rightStart, rightEnd) + cm.getRange(leftEnd, rightStart) +\n                      cm.getRange(leftStart, leftEnd), leftStart, rightEnd);\n    },\n    \"Ctrl-Alt-U\": repeated(toEnclosingExpr),\n\n    \"Alt-Space\": function(cm) {\n      var pos = cm.getCursor(), from = pos.ch, to = pos.ch, text = cm.getLine(pos.line);\n      while (from && /\\s/.test(text.charAt(from - 1))) --from;\n      while (to < text.length && /\\s/.test(text.charAt(to))) ++to;\n      cm.replaceRange(\" \", Pos(pos.line, from), Pos(pos.line, to));\n    },\n    \"Ctrl-O\": repeated(function(cm) { cm.replaceSelection(\"\\n\", \"start\"); }),\n    \"Ctrl-T\": repeated(function(cm) {\n      var pos = cm.getCursor();\n      if (pos.ch < cm.getLine(pos.line).length) pos = Pos(pos.line, pos.ch + 1);\n      var from = cm.findPosH(pos, -2, \"char\");\n      var range = cm.getRange(from, pos);\n      if (range.length != 2) return;\n      cm.setSelection(from, pos);\n      cm.replaceSelection(range.charAt(1) + range.charAt(0), \"end\");\n    }),\n\n    \"Alt-C\": repeated(function(cm) {\n      operateOnWord(cm, function(w) {\n        var letter = w.search(/\\w/);\n        if (letter == -1) return w;\n        return w.slice(0, letter) + w.charAt(letter).toUpperCase() + w.slice(letter + 1).toLowerCase();\n      });\n    }),\n    \"Alt-U\": repeated(function(cm) {\n      operateOnWord(cm, function(w) { return w.toUpperCase(); });\n    }),\n    \"Alt-L\": repeated(function(cm) {\n      operateOnWord(cm, function(w) { return w.toLowerCase(); });\n    }),\n\n    \"Alt-;\": \"toggleComment\",\n\n    \"Ctrl-/\": repeated(\"undo\"), \"Shift-Ctrl--\": repeated(\"undo\"),\n    \"Ctrl-Z\": repeated(\"undo\"), \"Cmd-Z\": repeated(\"undo\"),\n    \"Shift-Alt-,\": \"goDocStart\", \"Shift-Alt-.\": \"goDocEnd\",\n    \"Ctrl-S\": \"findNext\", \"Ctrl-R\": \"findPrev\", \"Ctrl-G\": \"clearSearch\", \"Shift-Alt-5\": \"replace\",\n    \"Alt-/\": \"autocomplete\",\n    \"Ctrl-J\": \"newlineAndIndent\", \"Enter\": false, \"Tab\": \"indentAuto\",\n\n    \"Alt-G\": function(cm) {cm.setOption(\"keyMap\", \"emacs-Alt-G\");},\n    \"Ctrl-X\": function(cm) {cm.setOption(\"keyMap\", \"emacs-Ctrl-X\");},\n    \"Ctrl-Q\": function(cm) {cm.setOption(\"keyMap\", \"emacs-Ctrl-Q\");},\n    \"Ctrl-U\": addPrefixMap\n  };\n\n  CodeMirror.keyMap[\"emacs-Ctrl-X\"] = {\n    \"Tab\": function(cm) {\n      cm.indentSelection(getPrefix(cm, true) || cm.getOption(\"indentUnit\"));\n    },\n    \"Ctrl-X\": function(cm) {\n      cm.setSelection(cm.getCursor(\"head\"), cm.getCursor(\"anchor\"));\n    },\n\n    \"Ctrl-S\": \"save\", \"Ctrl-W\": \"save\", \"S\": \"saveAll\", \"F\": \"open\", \"U\": repeated(\"undo\"), \"K\": \"close\",\n    \"Delete\": function(cm) { kill(cm, cm.getCursor(), bySentence(cm, cm.getCursor(), 1), true); },\n    auto: \"emacs\", nofallthrough: true, disableInput: true\n  };\n\n  CodeMirror.keyMap[\"emacs-Alt-G\"] = {\n    \"G\": function(cm) {\n      var prefix = getPrefix(cm, true);\n      if (prefix != null && prefix > 0) return cm.setCursor(prefix - 1);\n\n      getInput(cm, \"Goto line\", function(str) {\n        var num;\n        if (str && !isNaN(num = Number(str)) && num == num|0 && num > 0)\n          cm.setCursor(num - 1);\n      });\n    },\n    auto: \"emacs\", nofallthrough: true, disableInput: true\n  };\n\n  CodeMirror.keyMap[\"emacs-Ctrl-Q\"] = {\n    \"Tab\": repeated(\"insertTab\"),\n    auto: \"emacs\", nofallthrough: true\n  };\n\n  var prefixMap = {\"Ctrl-G\": clearPrefix};\n  function regPrefix(d) {\n    prefixMap[d] = function(cm) { addPrefix(cm, d); };\n    keyMap[\"Ctrl-\" + d] = function(cm) { addPrefix(cm, d); };\n    prefixPreservingKeys[\"Ctrl-\" + d] = true;\n  }\n  for (var i = 0; i < 10; ++i) regPrefix(String(i));\n  regPrefix(\"-\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/keymap/extra.js",
    "content": "// A number of additional default bindings that are too obscure to\n// include in the core codemirror.js file.\n\n(function() {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n\n  function moveLines(cm, start, end, dist) {\n    if (!dist || start > end) return 0;\n\n    var from = cm.clipPos(Pos(start, 0)), to = cm.clipPos(Pos(end));\n    var text = cm.getRange(from, to);\n\n    if (start <= cm.firstLine())\n      cm.replaceRange(\"\", from, Pos(to.line + 1, 0));\n    else\n      cm.replaceRange(\"\", Pos(from.line - 1), to);\n    var target = from.line + dist;\n    if (target <= cm.firstLine()) {\n      cm.replaceRange(text + \"\\n\", Pos(target, 0));\n      return cm.firstLine() - from.line;\n    } else {\n      var targetPos = cm.clipPos(Pos(target - 1));\n      cm.replaceRange(\"\\n\" + text, targetPos);\n      return targetPos.line + 1 - from.line;\n    }\n  }\n\n  function moveSelectedLines(cm, dist) {\n    var head = cm.getCursor(\"head\"), anchor = cm.getCursor(\"anchor\");\n    cm.operation(function() {\n      var moved = moveLines(cm, Math.min(head.line, anchor.line), Math.max(head.line, anchor.line), dist);\n      cm.setSelection(Pos(anchor.line + moved, anchor.ch), Pos(head.line + moved, head.ch));\n    });\n  }\n\n  CodeMirror.commands.moveLinesUp = function(cm) { moveSelectedLines(cm, -1); };\n  CodeMirror.commands.moveLinesDown = function(cm) { moveSelectedLines(cm, 1); };\n\n  CodeMirror.keyMap[\"default\"][\"Alt-Up\"] = \"moveLinesUp\";\n  CodeMirror.keyMap[\"default\"][\"Alt-Down\"] = \"moveLinesDown\";\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/keymap/vim.js",
    "content": "/**\n * Supported keybindings:\n *\n *   Motion:\n *   h, j, k, l\n *   gj, gk\n *   e, E, w, W, b, B, ge, gE\n *   f<character>, F<character>, t<character>, T<character>\n *   $, ^, 0, -, +, _\n *   gg, G\n *   %\n *   '<character>, `<character>\n *\n *   Operator:\n *   d, y, c\n *   dd, yy, cc\n *   g~, g~g~\n *   >, <, >>, <<\n *\n *   Operator-Motion:\n *   x, X, D, Y, C, ~\n *\n *   Action:\n *   a, i, s, A, I, S, o, O\n *   zz, z., z<CR>, zt, zb, z-\n *   J\n *   u, Ctrl-r\n *   m<character>\n *   r<character>\n *\n *   Modes:\n *   ESC - leave insert mode, visual mode, and clear input state.\n *   Ctrl-[, Ctrl-c - same as ESC.\n *\n * Registers: unamed, -, a-z, A-Z, 0-9\n *   (Does not respect the special case for number registers when delete\n *    operator is made with these commands: %, (, ),  , /, ?, n, N, {, } )\n *   TODO: Implement the remaining registers.\n * Marks: a-z, A-Z, and 0-9\n *   TODO: Implement the remaining special marks. They have more complex\n *       behavior.\n *\n * Events:\n *  'vim-mode-change' - raised on the editor anytime the current mode changes,\n *                      Event object: {mode: \"visual\", subMode: \"linewise\"}\n *\n * Code structure:\n *  1. Default keymap\n *  2. Variable declarations and short basic helpers\n *  3. Instance (External API) implementation\n *  4. Internal state tracking objects (input state, counter) implementation\n *     and instanstiation\n *  5. Key handler (the main command dispatcher) implementation\n *  6. Motion, operator, and action implementations\n *  7. Helper functions for the key handler, motions, operators, and actions\n *  8. Set up Vim to work as a keymap for CodeMirror.\n */\n\n(function() {\n  'use strict';\n\n  var defaultKeymap = [\n    // Key to key mapping. This goes first to make it possible to override\n    // existing mappings.\n    { keys: ['<Left>'], type: 'keyToKey', toKeys: ['h'] },\n    { keys: ['<Right>'], type: 'keyToKey', toKeys: ['l'] },\n    { keys: ['<Up>'], type: 'keyToKey', toKeys: ['k'] },\n    { keys: ['<Down>'], type: 'keyToKey', toKeys: ['j'] },\n    { keys: ['<Space>'], type: 'keyToKey', toKeys: ['l'] },\n    { keys: ['<BS>'], type: 'keyToKey', toKeys: ['h'] },\n    { keys: ['<C-Space>'], type: 'keyToKey', toKeys: ['W'] },\n    { keys: ['<C-BS>'], type: 'keyToKey', toKeys: ['B'] },\n    { keys: ['<S-Space>'], type: 'keyToKey', toKeys: ['w'] },\n    { keys: ['<S-BS>'], type: 'keyToKey', toKeys: ['b'] },\n    { keys: ['<C-n>'], type: 'keyToKey', toKeys: ['j'] },\n    { keys: ['<C-p>'], type: 'keyToKey', toKeys: ['k'] },\n    { keys: ['C-['], type: 'keyToKey', toKeys: ['<Esc>'] },\n    { keys: ['<C-c>'], type: 'keyToKey', toKeys: ['<Esc>'] },\n    { keys: ['s'], type: 'keyToKey', toKeys: ['c', 'l'], context: 'normal' },\n    { keys: ['s'], type: 'keyToKey', toKeys: ['x', 'i'], context: 'visual'},\n    { keys: ['S'], type: 'keyToKey', toKeys: ['c', 'c'], context: 'normal' },\n    { keys: ['S'], type: 'keyToKey', toKeys: ['d', 'c', 'c'], context: 'visual' },\n    { keys: ['<Home>'], type: 'keyToKey', toKeys: ['0'] },\n    { keys: ['<End>'], type: 'keyToKey', toKeys: ['$'] },\n    { keys: ['<PageUp>'], type: 'keyToKey', toKeys: ['<C-b>'] },\n    { keys: ['<PageDown>'], type: 'keyToKey', toKeys: ['<C-f>'] },\n    // Motions\n    { keys: ['H'], type: 'motion',\n        motion: 'moveToTopLine',\n        motionArgs: { linewise: true, toJumplist: true }},\n    { keys: ['M'], type: 'motion',\n        motion: 'moveToMiddleLine',\n        motionArgs: { linewise: true, toJumplist: true }},\n    { keys: ['L'], type: 'motion',\n        motion: 'moveToBottomLine',\n        motionArgs: { linewise: true, toJumplist: true }},\n    { keys: ['h'], type: 'motion',\n        motion: 'moveByCharacters',\n        motionArgs: { forward: false }},\n    { keys: ['l'], type: 'motion',\n        motion: 'moveByCharacters',\n        motionArgs: { forward: true }},\n    { keys: ['j'], type: 'motion',\n        motion: 'moveByLines',\n        motionArgs: { forward: true, linewise: true }},\n    { keys: ['k'], type: 'motion',\n        motion: 'moveByLines',\n        motionArgs: { forward: false, linewise: true }},\n    { keys: ['g','j'], type: 'motion',\n        motion: 'moveByDisplayLines',\n        motionArgs: { forward: true }},\n    { keys: ['g','k'], type: 'motion',\n        motion: 'moveByDisplayLines',\n        motionArgs: { forward: false }},\n    { keys: ['w'], type: 'motion',\n        motion: 'moveByWords',\n        motionArgs: { forward: true, wordEnd: false }},\n    { keys: ['W'], type: 'motion',\n        motion: 'moveByWords',\n        motionArgs: { forward: true, wordEnd: false, bigWord: true }},\n    { keys: ['e'], type: 'motion',\n        motion: 'moveByWords',\n        motionArgs: { forward: true, wordEnd: true, inclusive: true }},\n    { keys: ['E'], type: 'motion',\n        motion: 'moveByWords',\n        motionArgs: { forward: true, wordEnd: true, bigWord: true,\n            inclusive: true }},\n    { keys: ['b'], type: 'motion',\n        motion: 'moveByWords',\n        motionArgs: { forward: false, wordEnd: false }},\n    { keys: ['B'], type: 'motion',\n        motion: 'moveByWords',\n        motionArgs: { forward: false, wordEnd: false, bigWord: true }},\n    { keys: ['g', 'e'], type: 'motion',\n        motion: 'moveByWords',\n        motionArgs: { forward: false, wordEnd: true, inclusive: true }},\n    { keys: ['g', 'E'], type: 'motion',\n        motion: 'moveByWords',\n        motionArgs: { forward: false, wordEnd: true, bigWord: true,\n            inclusive: true }},\n    { keys: ['{'], type: 'motion', motion: 'moveByParagraph',\n        motionArgs: { forward: false, toJumplist: true }},\n    { keys: ['}'], type: 'motion', motion: 'moveByParagraph',\n        motionArgs: { forward: true, toJumplist: true }},\n    { keys: ['<C-f>'], type: 'motion',\n        motion: 'moveByPage', motionArgs: { forward: true }},\n    { keys: ['<C-b>'], type: 'motion',\n        motion: 'moveByPage', motionArgs: { forward: false }},\n    { keys: ['<C-d>'], type: 'motion',\n        motion: 'moveByScroll',\n        motionArgs: { forward: true, explicitRepeat: true }},\n    { keys: ['<C-u>'], type: 'motion',\n        motion: 'moveByScroll',\n        motionArgs: { forward: false, explicitRepeat: true }},\n    { keys: ['g', 'g'], type: 'motion',\n        motion: 'moveToLineOrEdgeOfDocument',\n        motionArgs: { forward: false, explicitRepeat: true, linewise: true, toJumplist: true }},\n    { keys: ['G'], type: 'motion',\n        motion: 'moveToLineOrEdgeOfDocument',\n        motionArgs: { forward: true, explicitRepeat: true, linewise: true, toJumplist: true }},\n    { keys: ['0'], type: 'motion', motion: 'moveToStartOfLine' },\n    { keys: ['^'], type: 'motion',\n        motion: 'moveToFirstNonWhiteSpaceCharacter' },\n    { keys: ['+'], type: 'motion',\n        motion: 'moveByLines',\n        motionArgs: { forward: true, toFirstChar:true }},\n    { keys: ['-'], type: 'motion',\n        motion: 'moveByLines',\n        motionArgs: { forward: false, toFirstChar:true }},\n    { keys: ['_'], type: 'motion',\n        motion: 'moveByLines',\n        motionArgs: { forward: true, toFirstChar:true, repeatOffset:-1 }},\n    { keys: ['$'], type: 'motion',\n        motion: 'moveToEol',\n        motionArgs: { inclusive: true }},\n    { keys: ['%'], type: 'motion',\n        motion: 'moveToMatchedSymbol',\n        motionArgs: { inclusive: true, toJumplist: true }},\n    { keys: ['f', 'character'], type: 'motion',\n        motion: 'moveToCharacter',\n        motionArgs: { forward: true , inclusive: true }},\n    { keys: ['F', 'character'], type: 'motion',\n        motion: 'moveToCharacter',\n        motionArgs: { forward: false }},\n    { keys: ['t', 'character'], type: 'motion',\n        motion: 'moveTillCharacter',\n        motionArgs: { forward: true, inclusive: true }},\n    { keys: ['T', 'character'], type: 'motion',\n        motion: 'moveTillCharacter',\n        motionArgs: { forward: false }},\n    { keys: [';'], type: 'motion', motion: 'repeatLastCharacterSearch',\n        motionArgs: { forward: true }},\n    { keys: [','], type: 'motion', motion: 'repeatLastCharacterSearch',\n        motionArgs: { forward: false }},\n    { keys: ['\\'', 'character'], type: 'motion', motion: 'goToMark',\n        motionArgs: {toJumplist: true}},\n    { keys: ['`', 'character'], type: 'motion', motion: 'goToMark',\n        motionArgs: {toJumplist: true}},\n    { keys: [']', '`'], type: 'motion', motion: 'jumpToMark', motionArgs: { forward: true } },\n    { keys: ['[', '`'], type: 'motion', motion: 'jumpToMark', motionArgs: { forward: false } },\n    { keys: [']', '\\''], type: 'motion', motion: 'jumpToMark', motionArgs: { forward: true, linewise: true } },\n    { keys: ['[', '\\''], type: 'motion', motion: 'jumpToMark', motionArgs: { forward: false, linewise: true } },\n    { keys: [']', 'character'], type: 'motion',\n        motion: 'moveToSymbol',\n        motionArgs: { forward: true, toJumplist: true}},\n    { keys: ['[', 'character'], type: 'motion',\n        motion: 'moveToSymbol',\n        motionArgs: { forward: false, toJumplist: true}},\n    { keys: ['|'], type: 'motion',\n        motion: 'moveToColumn',\n        motionArgs: { }},\n    // Operators\n    { keys: ['d'], type: 'operator', operator: 'delete' },\n    { keys: ['y'], type: 'operator', operator: 'yank' },\n    { keys: ['c'], type: 'operator', operator: 'change' },\n    { keys: ['>'], type: 'operator', operator: 'indent',\n        operatorArgs: { indentRight: true }},\n    { keys: ['<'], type: 'operator', operator: 'indent',\n        operatorArgs: { indentRight: false }},\n    { keys: ['g', '~'], type: 'operator', operator: 'swapcase' },\n    { keys: ['n'], type: 'motion', motion: 'findNext',\n        motionArgs: { forward: true, toJumplist: true }},\n    { keys: ['N'], type: 'motion', motion: 'findNext',\n        motionArgs: { forward: false, toJumplist: true }},\n    // Operator-Motion dual commands\n    { keys: ['x'], type: 'operatorMotion', operator: 'delete',\n        motion: 'moveByCharacters', motionArgs: { forward: true },\n        operatorMotionArgs: { visualLine: false }},\n    { keys: ['X'], type: 'operatorMotion', operator: 'delete',\n        motion: 'moveByCharacters', motionArgs: { forward: false },\n        operatorMotionArgs: { visualLine: true }},\n    { keys: ['D'], type: 'operatorMotion', operator: 'delete',\n      motion: 'moveToEol', motionArgs: { inclusive: true },\n        operatorMotionArgs: { visualLine: true }},\n    { keys: ['Y'], type: 'operatorMotion', operator: 'yank',\n        motion: 'moveToEol', motionArgs: { inclusive: true },\n        operatorMotionArgs: { visualLine: true }},\n    { keys: ['C'], type: 'operatorMotion',\n        operator: 'change',\n        motion: 'moveToEol', motionArgs: { inclusive: true },\n        operatorMotionArgs: { visualLine: true }},\n    { keys: ['~'], type: 'operatorMotion',\n        operator: 'swapcase', operatorArgs: { shouldMoveCursor: true },\n        motion: 'moveByCharacters', motionArgs: { forward: true }},\n    // Actions\n    { keys: ['<C-i>'], type: 'action', action: 'jumpListWalk',\n        actionArgs: { forward: true }},\n    { keys: ['<C-o>'], type: 'action', action: 'jumpListWalk',\n        actionArgs: { forward: false }},\n    { keys: ['a'], type: 'action', action: 'enterInsertMode', isEdit: true,\n        actionArgs: { insertAt: 'charAfter' }},\n    { keys: ['A'], type: 'action', action: 'enterInsertMode', isEdit: true,\n        actionArgs: { insertAt: 'eol' }},\n    { keys: ['i'], type: 'action', action: 'enterInsertMode', isEdit: true,\n        actionArgs: { insertAt: 'inplace' }},\n    { keys: ['I'], type: 'action', action: 'enterInsertMode', isEdit: true,\n        actionArgs: { insertAt: 'firstNonBlank' }},\n    { keys: ['o'], type: 'action', action: 'newLineAndEnterInsertMode',\n        isEdit: true, interlaceInsertRepeat: true,\n        actionArgs: { after: true }},\n    { keys: ['O'], type: 'action', action: 'newLineAndEnterInsertMode',\n        isEdit: true, interlaceInsertRepeat: true,\n        actionArgs: { after: false }},\n    { keys: ['v'], type: 'action', action: 'toggleVisualMode' },\n    { keys: ['V'], type: 'action', action: 'toggleVisualMode',\n        actionArgs: { linewise: true }},\n    { keys: ['J'], type: 'action', action: 'joinLines', isEdit: true },\n    { keys: ['p'], type: 'action', action: 'paste', isEdit: true,\n        actionArgs: { after: true, isEdit: true }},\n    { keys: ['P'], type: 'action', action: 'paste', isEdit: true,\n        actionArgs: { after: false, isEdit: true }},\n    { keys: ['r', 'character'], type: 'action', action: 'replace', isEdit: true },\n    { keys: ['@', 'character'], type: 'action', action: 'replayMacro' },\n    { keys: ['q', 'character'], type: 'action', action: 'enterMacroRecordMode' },\n    // Handle Replace-mode as a special case of insert mode.\n    { keys: ['R'], type: 'action', action: 'enterInsertMode', isEdit: true,\n        actionArgs: { replace: true }},\n    { keys: ['u'], type: 'action', action: 'undo' },\n    { keys: ['<C-r>'], type: 'action', action: 'redo' },\n    { keys: ['m', 'character'], type: 'action', action: 'setMark' },\n    { keys: ['\"', 'character'], type: 'action', action: 'setRegister' },\n    { keys: ['z', 'z'], type: 'action', action: 'scrollToCursor',\n        actionArgs: { position: 'center' }},\n    { keys: ['z', '.'], type: 'action', action: 'scrollToCursor',\n        actionArgs: { position: 'center' },\n        motion: 'moveToFirstNonWhiteSpaceCharacter' },\n    { keys: ['z', 't'], type: 'action', action: 'scrollToCursor',\n        actionArgs: { position: 'top' }},\n    { keys: ['z', '<CR>'], type: 'action', action: 'scrollToCursor',\n        actionArgs: { position: 'top' },\n        motion: 'moveToFirstNonWhiteSpaceCharacter' },\n    { keys: ['z', '-'], type: 'action', action: 'scrollToCursor',\n        actionArgs: { position: 'bottom' }},\n    { keys: ['z', 'b'], type: 'action', action: 'scrollToCursor',\n        actionArgs: { position: 'bottom' },\n        motion: 'moveToFirstNonWhiteSpaceCharacter' },\n    { keys: ['.'], type: 'action', action: 'repeatLastEdit' },\n    { keys: ['<C-a>'], type: 'action', action: 'incrementNumberToken',\n        isEdit: true,\n        actionArgs: {increase: true, backtrack: false}},\n    { keys: ['<C-x>'], type: 'action', action: 'incrementNumberToken',\n        isEdit: true,\n        actionArgs: {increase: false, backtrack: false}},\n    // Text object motions\n    { keys: ['a', 'character'], type: 'motion',\n        motion: 'textObjectManipulation' },\n    { keys: ['i', 'character'], type: 'motion',\n        motion: 'textObjectManipulation',\n        motionArgs: { textObjectInner: true }},\n    // Search\n    { keys: ['/'], type: 'search',\n        searchArgs: { forward: true, querySrc: 'prompt', toJumplist: true }},\n    { keys: ['?'], type: 'search',\n        searchArgs: { forward: false, querySrc: 'prompt', toJumplist: true }},\n    { keys: ['*'], type: 'search',\n        searchArgs: { forward: true, querySrc: 'wordUnderCursor', toJumplist: true }},\n    { keys: ['#'], type: 'search',\n        searchArgs: { forward: false, querySrc: 'wordUnderCursor', toJumplist: true }},\n    // Ex command\n    { keys: [':'], type: 'ex' }\n  ];\n\n  var Vim = function() {\n    CodeMirror.defineOption('vimMode', false, function(cm, val) {\n      if (val) {\n        cm.setOption('keyMap', 'vim');\n        CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"normal\"});\n        cm.on('beforeSelectionChange', beforeSelectionChange);\n        maybeInitVimState(cm);\n      } else if (cm.state.vim) {\n        cm.setOption('keyMap', 'default');\n        cm.off('beforeSelectionChange', beforeSelectionChange);\n        cm.state.vim = null;\n      }\n    });\n    function beforeSelectionChange(cm, cur) {\n      var vim = cm.state.vim;\n      if (vim.insertMode || vim.exMode) return;\n\n      var head = cur.head;\n      if (head.ch && head.ch == cm.doc.getLine(head.line).length) {\n        head.ch--;\n      }\n    }\n\n    var numberRegex = /[\\d]/;\n    var wordRegexp = [(/\\w/), (/[^\\w\\s]/)], bigWordRegexp = [(/\\S/)];\n    function makeKeyRange(start, size) {\n      var keys = [];\n      for (var i = start; i < start + size; i++) {\n        keys.push(String.fromCharCode(i));\n      }\n      return keys;\n    }\n    var upperCaseAlphabet = makeKeyRange(65, 26);\n    var lowerCaseAlphabet = makeKeyRange(97, 26);\n    var numbers = makeKeyRange(48, 10);\n    var specialSymbols = '~`!@#$%^&*()_-+=[{}]\\\\|/?.,<>:;\"\\''.split('');\n    var specialKeys = ['Left', 'Right', 'Up', 'Down', 'Space', 'Backspace',\n        'Esc', 'Home', 'End', 'PageUp', 'PageDown', 'Enter'];\n    var validMarks = [].concat(upperCaseAlphabet, lowerCaseAlphabet, numbers, ['<', '>']);\n    var validRegisters = [].concat(upperCaseAlphabet, lowerCaseAlphabet, numbers, ['-', '\"']);\n\n    function isLine(cm, line) {\n      return line >= cm.firstLine() && line <= cm.lastLine();\n    }\n    function isLowerCase(k) {\n      return (/^[a-z]$/).test(k);\n    }\n    function isMatchableSymbol(k) {\n      return '()[]{}'.indexOf(k) != -1;\n    }\n    function isNumber(k) {\n      return numberRegex.test(k);\n    }\n    function isUpperCase(k) {\n      return (/^[A-Z]$/).test(k);\n    }\n    function isWhiteSpaceString(k) {\n      return (/^\\s*$/).test(k);\n    }\n    function inArray(val, arr) {\n      for (var i = 0; i < arr.length; i++) {\n        if (arr[i] == val) {\n          return true;\n        }\n      }\n      return false;\n    }\n\n    var createCircularJumpList = function() {\n      var size = 100;\n      var pointer = -1;\n      var head = 0;\n      var tail = 0;\n      var buffer = new Array(size);\n      function add(cm, oldCur, newCur) {\n        var current = pointer % size;\n        var curMark = buffer[current];\n        function useNextSlot(cursor) {\n          var next = ++pointer % size;\n          var trashMark = buffer[next];\n          if (trashMark) {\n            trashMark.clear();\n          }\n          buffer[next] = cm.setBookmark(cursor);\n        }\n        if (curMark) {\n          var markPos = curMark.find();\n          // avoid recording redundant cursor position\n          if (markPos && !cursorEqual(markPos, oldCur)) {\n            useNextSlot(oldCur);\n          }\n        } else {\n          useNextSlot(oldCur);\n        }\n        useNextSlot(newCur);\n        head = pointer;\n        tail = pointer - size + 1;\n        if (tail < 0) {\n          tail = 0;\n        }\n      }\n      function move(cm, offset) {\n        pointer += offset;\n        if (pointer > head) {\n          pointer = head;\n        } else if (pointer < tail) {\n          pointer = tail;\n        }\n        var mark = buffer[(size + pointer) % size];\n        // skip marks that are temporarily removed from text buffer\n        if (mark && !mark.find()) {\n          var inc = offset > 0 ? 1 : -1;\n          var newCur;\n          var oldCur = cm.getCursor();\n          do {\n            pointer += inc;\n            mark = buffer[(size + pointer) % size];\n            // skip marks that are the same as current position\n            if (mark &&\n                (newCur = mark.find()) &&\n                !cursorEqual(oldCur, newCur)) {\n              break;\n            }\n          } while (pointer < head && pointer > tail);\n        }\n        return mark;\n      }\n      return {\n        cachedCursor: undefined, //used for # and * jumps\n        add: add,\n        move: move\n      };\n    };\n\n    var createMacroState = function() {\n      return {\n        macroKeyBuffer: [],\n        latestRegister: undefined,\n        inReplay: false,\n        lastInsertModeChanges: {\n          changes: [], // Change list\n          expectCursorActivityForChange: false // Set to true on change, false on cursorActivity.\n        },\n        enteredMacroMode: undefined,\n        isMacroPlaying: false,\n        toggle: function(cm, registerName) {\n          if (this.enteredMacroMode) { //onExit\n            this.enteredMacroMode(); // close dialog\n            this.enteredMacroMode = undefined;\n          } else { //onEnter\n            this.latestRegister = registerName;\n            this.enteredMacroMode = cm.openDialog(\n              '(recording)['+registerName+']', null, {bottom:true});\n          }\n        }\n      };\n    };\n\n\n    function maybeInitVimState(cm) {\n      if (!cm.state.vim) {\n        // Store instance state in the CodeMirror object.\n        cm.state.vim = {\n          inputState: new InputState(),\n          // Vim's input state that triggered the last edit, used to repeat\n          // motions and operators with '.'.\n          lastEditInputState: undefined,\n          // Vim's action command before the last edit, used to repeat actions\n          // with '.' and insert mode repeat.\n          lastEditActionCommand: undefined,\n          // When using jk for navigation, if you move from a longer line to a\n          // shorter line, the cursor may clip to the end of the shorter line.\n          // If j is pressed again and cursor goes to the next line, the\n          // cursor should go back to its horizontal position on the longer\n          // line if it can. This is to keep track of the horizontal position.\n          lastHPos: -1,\n          // Doing the same with screen-position for gj/gk\n          lastHSPos: -1,\n          // The last motion command run. Cleared if a non-motion command gets\n          // executed in between.\n          lastMotion: null,\n          marks: {},\n          insertMode: false,\n          // Repeat count for changes made in insert mode, triggered by key\n          // sequences like 3,i. Only exists when insertMode is true.\n          insertModeRepeat: undefined,\n          visualMode: false,\n          // If we are in visual line mode. No effect if visualMode is false.\n          visualLine: false\n        };\n      }\n      return cm.state.vim;\n    }\n    var vimGlobalState;\n    function resetVimGlobalState() {\n      vimGlobalState = {\n        // The current search query.\n        searchQuery: null,\n        // Whether we are searching backwards.\n        searchIsReversed: false,\n        jumpList: createCircularJumpList(),\n        macroModeState: createMacroState(),\n        // Recording latest f, t, F or T motion command.\n        lastChararacterSearch: {increment:0, forward:true, selectedCharacter:''},\n        registerController: new RegisterController({})\n      };\n    }\n\n    var vimApi= {\n      buildKeyMap: function() {\n        // TODO: Convert keymap into dictionary format for fast lookup.\n      },\n      // Testing hook, though it might be useful to expose the register\n      // controller anyways.\n      getRegisterController: function() {\n        return vimGlobalState.registerController;\n      },\n      // Testing hook.\n      resetVimGlobalState_: resetVimGlobalState,\n\n      // Testing hook.\n      getVimGlobalState_: function() {\n        return vimGlobalState;\n      },\n\n      // Testing hook.\n      maybeInitVimState_: maybeInitVimState,\n\n      InsertModeKey: InsertModeKey,\n      map: function(lhs, rhs) {\n        // Add user defined key bindings.\n        exCommandDispatcher.map(lhs, rhs);\n      },\n      defineEx: function(name, prefix, func){\n        if (name.indexOf(prefix) !== 0) {\n          throw new Error('(Vim.defineEx) \"'+prefix+'\" is not a prefix of \"'+name+'\", command not registered');\n        }\n        exCommands[name]=func;\n        exCommandDispatcher.commandMap_[prefix]={name:name, shortName:prefix, type:'api'};\n      },\n      // This is the outermost function called by CodeMirror, after keys have\n      // been mapped to their Vim equivalents.\n      handleKey: function(cm, key) {\n        var command;\n        var vim = maybeInitVimState(cm);\n        var macroModeState = vimGlobalState.macroModeState;\n        if (macroModeState.enteredMacroMode) {\n          if (key == 'q') {\n            actions.exitMacroRecordMode();\n            vim.inputState = new InputState();\n            return;\n          }\n        }\n        if (key == '<Esc>') {\n          // Clear input state and get back to normal mode.\n          vim.inputState = new InputState();\n          if (vim.visualMode) {\n            exitVisualMode(cm);\n          }\n          return;\n        }\n        // Enter visual mode when the mouse selects text.\n        if (!vim.visualMode &&\n            !cursorEqual(cm.getCursor('head'), cm.getCursor('anchor'))) {\n          vim.visualMode = true;\n          vim.visualLine = false;\n          CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"visual\"});\n          cm.on('mousedown', exitVisualMode);\n        }\n        if (key != '0' || (key == '0' && vim.inputState.getRepeat() === 0)) {\n          // Have to special case 0 since it's both a motion and a number.\n          command = commandDispatcher.matchCommand(key, defaultKeymap, vim);\n        }\n        if (!command) {\n          if (isNumber(key)) {\n            // Increment count unless count is 0 and key is 0.\n            vim.inputState.pushRepeatDigit(key);\n          }\n          return;\n        }\n        if (command.type == 'keyToKey') {\n          // TODO: prevent infinite recursion.\n          for (var i = 0; i < command.toKeys.length; i++) {\n            this.handleKey(cm, command.toKeys[i]);\n          }\n        } else {\n          if (macroModeState.enteredMacroMode) {\n            logKey(macroModeState, key);\n          }\n          commandDispatcher.processCommand(cm, vim, command);\n        }\n      },\n      handleEx: function(cm, input) {\n        exCommandDispatcher.processCommand(cm, input);\n      }\n    };\n\n    // Represents the current input state.\n    function InputState() {\n      this.prefixRepeat = [];\n      this.motionRepeat = [];\n\n      this.operator = null;\n      this.operatorArgs = null;\n      this.motion = null;\n      this.motionArgs = null;\n      this.keyBuffer = []; // For matching multi-key commands.\n      this.registerName = null; // Defaults to the unamed register.\n    }\n    InputState.prototype.pushRepeatDigit = function(n) {\n      if (!this.operator) {\n        this.prefixRepeat = this.prefixRepeat.concat(n);\n      } else {\n        this.motionRepeat = this.motionRepeat.concat(n);\n      }\n    };\n    InputState.prototype.getRepeat = function() {\n      var repeat = 0;\n      if (this.prefixRepeat.length > 0 || this.motionRepeat.length > 0) {\n        repeat = 1;\n        if (this.prefixRepeat.length > 0) {\n          repeat *= parseInt(this.prefixRepeat.join(''), 10);\n        }\n        if (this.motionRepeat.length > 0) {\n          repeat *= parseInt(this.motionRepeat.join(''), 10);\n        }\n      }\n      return repeat;\n    };\n\n    /*\n     * Register stores information about copy and paste registers.  Besides\n     * text, a register must store whether it is linewise (i.e., when it is\n     * pasted, should it insert itself into a new line, or should the text be\n     * inserted at the cursor position.)\n     */\n    function Register(text, linewise) {\n      this.clear();\n      if (text) {\n        this.set(text, linewise);\n      }\n    }\n    Register.prototype = {\n      set: function(text, linewise) {\n        this.text = text;\n        this.linewise = !!linewise;\n      },\n      append: function(text, linewise) {\n        // if this register has ever been set to linewise, use linewise.\n        if (linewise || this.linewise) {\n          this.text += '\\n' + text;\n          this.linewise = true;\n        } else {\n          this.text += text;\n        }\n      },\n      clear: function() {\n        this.text = '';\n        this.linewise = false;\n      },\n      toString: function() { return this.text; }\n    };\n\n    /*\n     * vim registers allow you to keep many independent copy and paste buffers.\n     * See http://usevim.com/2012/04/13/registers/ for an introduction.\n     *\n     * RegisterController keeps the state of all the registers.  An initial\n     * state may be passed in.  The unnamed register '\"' will always be\n     * overridden.\n     */\n    function RegisterController(registers) {\n      this.registers = registers;\n      this.unamedRegister = registers['\"'] = new Register();\n    }\n    RegisterController.prototype = {\n      pushText: function(registerName, operator, text, linewise) {\n        if (linewise && text.charAt(0) == '\\n') {\n          text = text.slice(1) + '\\n';\n        }\n        if(linewise && text.charAt(text.length - 1) !== '\\n'){\n          text += '\\n';\n        }\n        // Lowercase and uppercase registers refer to the same register.\n        // Uppercase just means append.\n        var register = this.isValidRegister(registerName) ?\n            this.getRegister(registerName) : null;\n        // if no register/an invalid register was specified, things go to the\n        // default registers\n        if (!register) {\n          switch (operator) {\n            case 'yank':\n              // The 0 register contains the text from the most recent yank.\n              this.registers['0'] = new Register(text, linewise);\n              break;\n            case 'delete':\n            case 'change':\n              if (text.indexOf('\\n') == -1) {\n                // Delete less than 1 line. Update the small delete register.\n                this.registers['-'] = new Register(text, linewise);\n              } else {\n                // Shift down the contents of the numbered registers and put the\n                // deleted text into register 1.\n                this.shiftNumericRegisters_();\n                this.registers['1'] = new Register(text, linewise);\n              }\n              break;\n          }\n          // Make sure the unnamed register is set to what just happened\n          this.unamedRegister.set(text, linewise);\n          return;\n        }\n\n        // If we've gotten to this point, we've actually specified a register\n        var append = isUpperCase(registerName);\n        if (append) {\n          register.append(text, linewise);\n          // The unamed register always has the same value as the last used\n          // register.\n          this.unamedRegister.append(text, linewise);\n        } else {\n          register.set(text, linewise);\n          this.unamedRegister.set(text, linewise);\n        }\n      },\n      setRegisterText: function(name, text, linewise) {\n        this.getRegister(name).set(text, linewise);\n      },\n      // Gets the register named @name.  If one of @name doesn't already exist,\n      // create it.  If @name is invalid, return the unamedRegister.\n      getRegister: function(name) {\n        if (!this.isValidRegister(name)) {\n          return this.unamedRegister;\n        }\n        name = name.toLowerCase();\n        if (!this.registers[name]) {\n          this.registers[name] = new Register();\n        }\n        return this.registers[name];\n      },\n      isValidRegister: function(name) {\n        return name && inArray(name, validRegisters);\n      },\n      shiftNumericRegisters_: function() {\n        for (var i = 9; i >= 2; i--) {\n          this.registers[i] = this.getRegister('' + (i - 1));\n        }\n      }\n    };\n\n    var commandDispatcher = {\n      matchCommand: function(key, keyMap, vim) {\n        var inputState = vim.inputState;\n        var keys = inputState.keyBuffer.concat(key);\n        var matchedCommands = [];\n        var selectedCharacter;\n        for (var i = 0; i < keyMap.length; i++) {\n          var command = keyMap[i];\n          if (matchKeysPartial(keys, command.keys)) {\n            if (inputState.operator && command.type == 'action') {\n              // Ignore matched action commands after an operator. Operators\n              // only operate on motions. This check is really for text\n              // objects since aW, a[ etcs conflicts with a.\n              continue;\n            }\n            // Match commands that take <character> as an argument.\n            if (command.keys[keys.length - 1] == 'character') {\n              selectedCharacter = keys[keys.length - 1];\n              if(selectedCharacter.length>1){\n                switch(selectedCharacter){\n                  case '<CR>':\n                    selectedCharacter='\\n';\n                    break;\n                  case '<Space>':\n                    selectedCharacter=' ';\n                    break;\n                  default:\n                    continue;\n                }\n              }\n            }\n            // Add the command to the list of matched commands. Choose the best\n            // command later.\n            matchedCommands.push(command);\n          }\n        }\n\n        // Returns the command if it is a full match, or null if not.\n        function getFullyMatchedCommandOrNull(command) {\n          if (keys.length < command.keys.length) {\n            // Matches part of a multi-key command. Buffer and wait for next\n            // stroke.\n            inputState.keyBuffer.push(key);\n            return null;\n          } else {\n            if (command.keys[keys.length - 1] == 'character') {\n              inputState.selectedCharacter = selectedCharacter;\n            }\n            // Clear the buffer since a full match was found.\n            inputState.keyBuffer = [];\n            return command;\n          }\n        }\n\n        if (!matchedCommands.length) {\n          // Clear the buffer since there were no matches.\n          inputState.keyBuffer = [];\n          return null;\n        } else if (matchedCommands.length == 1) {\n          return getFullyMatchedCommandOrNull(matchedCommands[0]);\n        } else {\n          // Find the best match in the list of matchedCommands.\n          var context = vim.visualMode ? 'visual' : 'normal';\n          var bestMatch = matchedCommands[0]; // Default to first in the list.\n          for (var i = 0; i < matchedCommands.length; i++) {\n            if (matchedCommands[i].context == context) {\n              bestMatch = matchedCommands[i];\n              break;\n            }\n          }\n          return getFullyMatchedCommandOrNull(bestMatch);\n        }\n      },\n      processCommand: function(cm, vim, command) {\n        vim.inputState.repeatOverride = command.repeatOverride;\n        switch (command.type) {\n          case 'motion':\n            this.processMotion(cm, vim, command);\n            break;\n          case 'operator':\n            this.processOperator(cm, vim, command);\n            break;\n          case 'operatorMotion':\n            this.processOperatorMotion(cm, vim, command);\n            break;\n          case 'action':\n            this.processAction(cm, vim, command);\n            break;\n          case 'search':\n            this.processSearch(cm, vim, command);\n            break;\n          case 'ex':\n          case 'keyToEx':\n            this.processEx(cm, vim, command);\n            break;\n          default:\n            break;\n        }\n      },\n      processMotion: function(cm, vim, command) {\n        vim.inputState.motion = command.motion;\n        vim.inputState.motionArgs = copyArgs(command.motionArgs);\n        this.evalInput(cm, vim);\n      },\n      processOperator: function(cm, vim, command) {\n        var inputState = vim.inputState;\n        if (inputState.operator) {\n          if (inputState.operator == command.operator) {\n            // Typing an operator twice like 'dd' makes the operator operate\n            // linewise\n            inputState.motion = 'expandToLine';\n            inputState.motionArgs = { linewise: true };\n            this.evalInput(cm, vim);\n            return;\n          } else {\n            // 2 different operators in a row doesn't make sense.\n            vim.inputState = new InputState();\n          }\n        }\n        inputState.operator = command.operator;\n        inputState.operatorArgs = copyArgs(command.operatorArgs);\n        if (vim.visualMode) {\n          // Operating on a selection in visual mode. We don't need a motion.\n          this.evalInput(cm, vim);\n        }\n      },\n      processOperatorMotion: function(cm, vim, command) {\n        var visualMode = vim.visualMode;\n        var operatorMotionArgs = copyArgs(command.operatorMotionArgs);\n        if (operatorMotionArgs) {\n          // Operator motions may have special behavior in visual mode.\n          if (visualMode && operatorMotionArgs.visualLine) {\n            vim.visualLine = true;\n          }\n        }\n        this.processOperator(cm, vim, command);\n        if (!visualMode) {\n          this.processMotion(cm, vim, command);\n        }\n      },\n      processAction: function(cm, vim, command) {\n        var inputState = vim.inputState;\n        var repeat = inputState.getRepeat();\n        var repeatIsExplicit = !!repeat;\n        var actionArgs = copyArgs(command.actionArgs) || {};\n        if (inputState.selectedCharacter) {\n          actionArgs.selectedCharacter = inputState.selectedCharacter;\n        }\n        // Actions may or may not have motions and operators. Do these first.\n        if (command.operator) {\n          this.processOperator(cm, vim, command);\n        }\n        if (command.motion) {\n          this.processMotion(cm, vim, command);\n        }\n        if (command.motion || command.operator) {\n          this.evalInput(cm, vim);\n        }\n        actionArgs.repeat = repeat || 1;\n        actionArgs.repeatIsExplicit = repeatIsExplicit;\n        actionArgs.registerName = inputState.registerName;\n        vim.inputState = new InputState();\n        vim.lastMotion = null;\n        if (command.isEdit) {\n          this.recordLastEdit(vim, inputState, command);\n        }\n        actions[command.action](cm, actionArgs, vim);\n      },\n      processSearch: function(cm, vim, command) {\n        if (!cm.getSearchCursor) {\n          // Search depends on SearchCursor.\n          return;\n        }\n        var forward = command.searchArgs.forward;\n        getSearchState(cm).setReversed(!forward);\n        var promptPrefix = (forward) ? '/' : '?';\n        var originalQuery = getSearchState(cm).getQuery();\n        var originalScrollPos = cm.getScrollInfo();\n        function handleQuery(query, ignoreCase, smartCase) {\n          try {\n            updateSearchQuery(cm, query, ignoreCase, smartCase);\n          } catch (e) {\n            showConfirm(cm, 'Invalid regex: ' + query);\n            return;\n          }\n          commandDispatcher.processMotion(cm, vim, {\n            type: 'motion',\n            motion: 'findNext',\n            motionArgs: { forward: true, toJumplist: command.searchArgs.toJumplist }\n          });\n        }\n        function onPromptClose(query) {\n          cm.scrollTo(originalScrollPos.left, originalScrollPos.top);\n          handleQuery(query, true /** ignoreCase */, true /** smartCase */);\n        }\n        function onPromptKeyUp(_e, query) {\n          var parsedQuery;\n          try {\n            parsedQuery = updateSearchQuery(cm, query,\n                true /** ignoreCase */, true /** smartCase */);\n          } catch (e) {\n            // Swallow bad regexes for incremental search.\n          }\n          if (parsedQuery) {\n            cm.scrollIntoView(findNext(cm, !forward, parsedQuery), 30);\n          } else {\n            clearSearchHighlight(cm);\n            cm.scrollTo(originalScrollPos.left, originalScrollPos.top);\n          }\n        }\n        function onPromptKeyDown(e, _query, close) {\n          var keyName = CodeMirror.keyName(e);\n          if (keyName == 'Esc' || keyName == 'Ctrl-C' || keyName == 'Ctrl-[') {\n            updateSearchQuery(cm, originalQuery);\n            clearSearchHighlight(cm);\n            cm.scrollTo(originalScrollPos.left, originalScrollPos.top);\n\n            CodeMirror.e_stop(e);\n            close();\n            cm.focus();\n          }\n        }\n        switch (command.searchArgs.querySrc) {\n          case 'prompt':\n            showPrompt(cm, {\n                onClose: onPromptClose,\n                prefix: promptPrefix,\n                desc: searchPromptDesc,\n                onKeyUp: onPromptKeyUp,\n                onKeyDown: onPromptKeyDown\n            });\n            break;\n          case 'wordUnderCursor':\n            var word = expandWordUnderCursor(cm, false /** inclusive */,\n                true /** forward */, false /** bigWord */,\n                true /** noSymbol */);\n            var isKeyword = true;\n            if (!word) {\n              word = expandWordUnderCursor(cm, false /** inclusive */,\n                  true /** forward */, false /** bigWord */,\n                  false /** noSymbol */);\n              isKeyword = false;\n            }\n            if (!word) {\n              return;\n            }\n            var query = cm.getLine(word.start.line).substring(word.start.ch,\n                word.end.ch);\n            if (isKeyword) {\n              query = '\\\\b' + query + '\\\\b';\n            } else {\n              query = escapeRegex(query);\n            }\n\n            // cachedCursor is used to save the old position of the cursor\n            // when * or # causes vim to seek for the nearest word and shift\n            // the cursor before entering the motion.\n            vimGlobalState.jumpList.cachedCursor = cm.getCursor();\n            cm.setCursor(word.start);\n\n            handleQuery(query, true /** ignoreCase */, false /** smartCase */);\n            break;\n        }\n      },\n      processEx: function(cm, vim, command) {\n        function onPromptClose(input) {\n          // Give the prompt some time to close so that if processCommand shows\n          // an error, the elements don't overlap.\n          exCommandDispatcher.processCommand(cm, input);\n        }\n        function onPromptKeyDown(e, _input, close) {\n          var keyName = CodeMirror.keyName(e);\n          if (keyName == 'Esc' || keyName == 'Ctrl-C' || keyName == 'Ctrl-[') {\n            CodeMirror.e_stop(e);\n            close();\n            cm.focus();\n          }\n        }\n        if (command.type == 'keyToEx') {\n          // Handle user defined Ex to Ex mappings\n          exCommandDispatcher.processCommand(cm, command.exArgs.input);\n        } else {\n          if (vim.visualMode) {\n            showPrompt(cm, { onClose: onPromptClose, prefix: ':', value: '\\'<,\\'>',\n                onKeyDown: onPromptKeyDown});\n          } else {\n            showPrompt(cm, { onClose: onPromptClose, prefix: ':',\n                onKeyDown: onPromptKeyDown});\n          }\n        }\n      },\n      evalInput: function(cm, vim) {\n        // If the motion comand is set, execute both the operator and motion.\n        // Otherwise return.\n        var inputState = vim.inputState;\n        var motion = inputState.motion;\n        var motionArgs = inputState.motionArgs || {};\n        var operator = inputState.operator;\n        var operatorArgs = inputState.operatorArgs || {};\n        var registerName = inputState.registerName;\n        var selectionEnd = cm.getCursor('head');\n        var selectionStart = cm.getCursor('anchor');\n        // The difference between cur and selection cursors are that cur is\n        // being operated on and ignores that there is a selection.\n        var curStart = copyCursor(selectionEnd);\n        var curOriginal = copyCursor(curStart);\n        var curEnd;\n        var repeat;\n        if (operator) {\n          this.recordLastEdit(vim, inputState);\n        }\n        if (inputState.repeatOverride !== undefined) {\n          // If repeatOverride is specified, that takes precedence over the\n          // input state's repeat. Used by Ex mode and can be user defined.\n          repeat = inputState.repeatOverride;\n        } else {\n          repeat = inputState.getRepeat();\n        }\n        if (repeat > 0 && motionArgs.explicitRepeat) {\n          motionArgs.repeatIsExplicit = true;\n        } else if (motionArgs.noRepeat ||\n            (!motionArgs.explicitRepeat && repeat === 0)) {\n          repeat = 1;\n          motionArgs.repeatIsExplicit = false;\n        }\n        if (inputState.selectedCharacter) {\n          // If there is a character input, stick it in all of the arg arrays.\n          motionArgs.selectedCharacter = operatorArgs.selectedCharacter =\n              inputState.selectedCharacter;\n        }\n        motionArgs.repeat = repeat;\n        vim.inputState = new InputState();\n        if (motion) {\n          var motionResult = motions[motion](cm, motionArgs, vim);\n          vim.lastMotion = motions[motion];\n          if (!motionResult) {\n            return;\n          }\n          if (motionArgs.toJumplist) {\n            var jumpList = vimGlobalState.jumpList;\n            // if the current motion is # or *, use cachedCursor\n            var cachedCursor = jumpList.cachedCursor;\n            if (cachedCursor) {\n              recordJumpPosition(cm, cachedCursor, motionResult);\n              delete jumpList.cachedCursor;\n            } else {\n              recordJumpPosition(cm, curOriginal, motionResult);\n            }\n          }\n          if (motionResult instanceof Array) {\n            curStart = motionResult[0];\n            curEnd = motionResult[1];\n          } else {\n            curEnd = motionResult;\n          }\n          // TODO: Handle null returns from motion commands better.\n          if (!curEnd) {\n            curEnd = { ch: curStart.ch, line: curStart.line };\n          }\n          if (vim.visualMode) {\n            // Check if the selection crossed over itself. Will need to shift\n            // the start point if that happened.\n            if (cursorIsBefore(selectionStart, selectionEnd) &&\n                (cursorEqual(selectionStart, curEnd) ||\n                    cursorIsBefore(curEnd, selectionStart))) {\n              // The end of the selection has moved from after the start to\n              // before the start. We will shift the start right by 1.\n              selectionStart.ch += 1;\n            } else if (cursorIsBefore(selectionEnd, selectionStart) &&\n                (cursorEqual(selectionStart, curEnd) ||\n                    cursorIsBefore(selectionStart, curEnd))) {\n              // The opposite happened. We will shift the start left by 1.\n              selectionStart.ch -= 1;\n            }\n            selectionEnd = curEnd;\n            if (vim.visualLine) {\n              if (cursorIsBefore(selectionStart, selectionEnd)) {\n                selectionStart.ch = 0;\n\n                var lastLine = cm.lastLine();\n                if (selectionEnd.line > lastLine) {\n                  selectionEnd.line = lastLine;\n                }\n                selectionEnd.ch = lineLength(cm, selectionEnd.line);\n              } else {\n                selectionEnd.ch = 0;\n                selectionStart.ch = lineLength(cm, selectionStart.line);\n              }\n            }\n            cm.setSelection(selectionStart, selectionEnd);\n            updateMark(cm, vim, '<',\n                cursorIsBefore(selectionStart, selectionEnd) ? selectionStart\n                    : selectionEnd);\n            updateMark(cm, vim, '>',\n                cursorIsBefore(selectionStart, selectionEnd) ? selectionEnd\n                    : selectionStart);\n          } else if (!operator) {\n            curEnd = clipCursorToContent(cm, curEnd);\n            cm.setCursor(curEnd.line, curEnd.ch);\n          }\n        }\n\n        if (operator) {\n          var inverted = false;\n          vim.lastMotion = null;\n          operatorArgs.repeat = repeat; // Indent in visual mode needs this.\n          if (vim.visualMode) {\n            curStart = selectionStart;\n            curEnd = selectionEnd;\n            motionArgs.inclusive = true;\n          }\n          // Swap start and end if motion was backward.\n          if (cursorIsBefore(curEnd, curStart)) {\n            var tmp = curStart;\n            curStart = curEnd;\n            curEnd = tmp;\n            inverted = true;\n          }\n          if (motionArgs.inclusive && !(vim.visualMode && inverted)) {\n            // Move the selection end one to the right to include the last\n            // character.\n            curEnd.ch++;\n          }\n          var linewise = motionArgs.linewise ||\n              (vim.visualMode && vim.visualLine);\n          if (linewise) {\n            // Expand selection to entire line.\n            expandSelectionToLine(cm, curStart, curEnd);\n          } else if (motionArgs.forward) {\n            // Clip to trailing newlines only if the motion goes forward.\n            clipToLine(cm, curStart, curEnd);\n          }\n          operatorArgs.registerName = registerName;\n          // Keep track of linewise as it affects how paste and change behave.\n          operatorArgs.linewise = linewise;\n          operators[operator](cm, operatorArgs, vim, curStart,\n              curEnd, curOriginal);\n          if (vim.visualMode) {\n            exitVisualMode(cm);\n          }\n        }\n      },\n      recordLastEdit: function(vim, inputState, actionCommand) {\n        var macroModeState = vimGlobalState.macroModeState;\n        if (macroModeState.inReplay) { return; }\n        vim.lastEditInputState = inputState;\n        vim.lastEditActionCommand = actionCommand;\n        macroModeState.lastInsertModeChanges.changes = [];\n        macroModeState.lastInsertModeChanges.expectCursorActivityForChange = false;\n      }\n    };\n\n    /**\n     * typedef {Object{line:number,ch:number}} Cursor An object containing the\n     *     position of the cursor.\n     */\n    // All of the functions below return Cursor objects.\n    var motions = {\n      moveToTopLine: function(cm, motionArgs) {\n        var line = getUserVisibleLines(cm).top + motionArgs.repeat -1;\n        return { line: line, ch: findFirstNonWhiteSpaceCharacter(cm.getLine(line)) };\n      },\n      moveToMiddleLine: function(cm) {\n        var range = getUserVisibleLines(cm);\n        var line = Math.floor((range.top + range.bottom) * 0.5);\n        return { line: line, ch: findFirstNonWhiteSpaceCharacter(cm.getLine(line)) };\n      },\n      moveToBottomLine: function(cm, motionArgs) {\n        var line = getUserVisibleLines(cm).bottom - motionArgs.repeat +1;\n        return { line: line, ch: findFirstNonWhiteSpaceCharacter(cm.getLine(line)) };\n      },\n      expandToLine: function(cm, motionArgs) {\n        // Expands forward to end of line, and then to next line if repeat is\n        // >1. Does not handle backward motion!\n        var cur = cm.getCursor();\n        return { line: cur.line + motionArgs.repeat - 1, ch: Infinity };\n      },\n      findNext: function(cm, motionArgs) {\n        var state = getSearchState(cm);\n        var query = state.getQuery();\n        if (!query) {\n          return;\n        }\n        var prev = !motionArgs.forward;\n        // If search is initiated with ? instead of /, negate direction.\n        prev = (state.isReversed()) ? !prev : prev;\n        highlightSearchMatches(cm, query);\n        return findNext(cm, prev/** prev */, query, motionArgs.repeat);\n      },\n      goToMark: function(_cm, motionArgs, vim) {\n        var mark = vim.marks[motionArgs.selectedCharacter];\n        if (mark) {\n          return mark.find();\n        }\n        return null;\n      },\n      jumpToMark: function(cm, motionArgs, vim) {\n        var best = cm.getCursor();\n        for (var i = 0; i < motionArgs.repeat; i++) {\n          var cursor = best;\n          for (var key in vim.marks) {\n            if (!isLowerCase(key)) {\n              continue;\n            }\n            var mark = vim.marks[key].find();\n            var isWrongDirection = (motionArgs.forward) ?\n              cursorIsBefore(mark, cursor) : cursorIsBefore(cursor, mark);\n\n            if (isWrongDirection) {\n              continue;\n            }\n            if (motionArgs.linewise && (mark.line == cursor.line)) {\n              continue;\n            }\n\n            var equal = cursorEqual(cursor, best);\n            var between = (motionArgs.forward) ?\n              cusrorIsBetween(cursor, mark, best) :\n              cusrorIsBetween(best, mark, cursor);\n\n            if (equal || between) {\n              best = mark;\n            }\n          }\n        }\n\n        if (motionArgs.linewise) {\n          // Vim places the cursor on the first non-whitespace character of\n          // the line if there is one, else it places the cursor at the end\n          // of the line, regardless of whether a mark was found.\n          best.ch = findFirstNonWhiteSpaceCharacter(cm.getLine(best.line));\n        }\n        return best;\n      },\n      moveByCharacters: function(cm, motionArgs) {\n        var cur = cm.getCursor();\n        var repeat = motionArgs.repeat;\n        var ch = motionArgs.forward ? cur.ch + repeat : cur.ch - repeat;\n        return { line: cur.line, ch: ch };\n      },\n      moveByLines: function(cm, motionArgs, vim) {\n        var cur = cm.getCursor();\n        var endCh = cur.ch;\n        // Depending what our last motion was, we may want to do different\n        // things. If our last motion was moving vertically, we want to\n        // preserve the HPos from our last horizontal move.  If our last motion\n        // was going to the end of a line, moving vertically we should go to\n        // the end of the line, etc.\n        switch (vim.lastMotion) {\n          case this.moveByLines:\n          case this.moveByDisplayLines:\n          case this.moveByScroll:\n          case this.moveToColumn:\n          case this.moveToEol:\n            endCh = vim.lastHPos;\n            break;\n          default:\n            vim.lastHPos = endCh;\n        }\n        var repeat = motionArgs.repeat+(motionArgs.repeatOffset||0);\n        var line = motionArgs.forward ? cur.line + repeat : cur.line - repeat;\n        var first = cm.firstLine();\n        var last = cm.lastLine();\n        // Vim cancels linewise motions that start on an edge and move beyond\n        // that edge. It does not cancel motions that do not start on an edge.\n        if ((line < first && cur.line == first) ||\n            (line > last && cur.line == last)) {\n          return;\n        }\n        if(motionArgs.toFirstChar){\n          endCh=findFirstNonWhiteSpaceCharacter(cm.getLine(line));\n          vim.lastHPos = endCh;\n        }\n        vim.lastHSPos = cm.charCoords({line:line, ch:endCh},'div').left;\n        return { line: line, ch: endCh };\n      },\n      moveByDisplayLines: function(cm, motionArgs, vim) {\n        var cur = cm.getCursor();\n        switch (vim.lastMotion) {\n          case this.moveByDisplayLines:\n          case this.moveByScroll:\n          case this.moveByLines:\n          case this.moveToColumn:\n          case this.moveToEol:\n            break;\n          default:\n            vim.lastHSPos = cm.charCoords(cur,'div').left;\n        }\n        var repeat = motionArgs.repeat;\n        var res=cm.findPosV(cur,(motionArgs.forward ? repeat : -repeat),'line',vim.lastHSPos);\n        if (res.hitSide) {\n          if (motionArgs.forward) {\n            var lastCharCoords = cm.charCoords(res, 'div');\n            var goalCoords = { top: lastCharCoords.top + 8, left: vim.lastHSPos };\n            var res = cm.coordsChar(goalCoords, 'div');\n          } else {\n            var resCoords = cm.charCoords({ line: cm.firstLine(), ch: 0}, 'div');\n            resCoords.left = vim.lastHSPos;\n            res = cm.coordsChar(resCoords, 'div');\n          }\n        }\n        vim.lastHPos = res.ch;\n        return res;\n      },\n      moveByPage: function(cm, motionArgs) {\n        // CodeMirror only exposes functions that move the cursor page down, so\n        // doing this bad hack to move the cursor and move it back. evalInput\n        // will move the cursor to where it should be in the end.\n        var curStart = cm.getCursor();\n        var repeat = motionArgs.repeat;\n        cm.moveV((motionArgs.forward ? repeat : -repeat), 'page');\n        var curEnd = cm.getCursor();\n        cm.setCursor(curStart);\n        return curEnd;\n      },\n      moveByParagraph: function(cm, motionArgs) {\n        var line = cm.getCursor().line;\n        var repeat = motionArgs.repeat;\n        var inc = motionArgs.forward ? 1 : -1;\n        for (var i = 0; i < repeat; i++) {\n          if ((!motionArgs.forward && line === cm.firstLine() ) ||\n              (motionArgs.forward && line == cm.lastLine())) {\n            break;\n          }\n          line += inc;\n          while (line !== cm.firstLine() && line != cm.lastLine() && cm.getLine(line)) {\n            line += inc;\n          }\n        }\n        return { line: line, ch: 0 };\n      },\n      moveByScroll: function(cm, motionArgs, vim) {\n        var scrollbox = cm.getScrollInfo();\n        var curEnd = null;\n        var repeat = motionArgs.repeat;\n        if (!repeat) {\n          repeat = scrollbox.clientHeight / (2 * cm.defaultTextHeight());\n        }\n        var orig = cm.charCoords(cm.getCursor(), 'local');\n        motionArgs.repeat = repeat;\n        var curEnd = motions.moveByDisplayLines(cm, motionArgs, vim);\n        if (!curEnd) {\n          return null;\n        }\n        var dest = cm.charCoords(curEnd, 'local');\n        cm.scrollTo(null, scrollbox.top + dest.top - orig.top);\n        return curEnd;\n      },\n      moveByWords: function(cm, motionArgs) {\n        return moveToWord(cm, motionArgs.repeat, !!motionArgs.forward,\n            !!motionArgs.wordEnd, !!motionArgs.bigWord);\n      },\n      moveTillCharacter: function(cm, motionArgs) {\n        var repeat = motionArgs.repeat;\n        var curEnd = moveToCharacter(cm, repeat, motionArgs.forward,\n            motionArgs.selectedCharacter);\n        var increment = motionArgs.forward ? -1 : 1;\n        recordLastCharacterSearch(increment, motionArgs);\n        if(!curEnd)return cm.getCursor();\n        curEnd.ch += increment;\n        return curEnd;\n      },\n      moveToCharacter: function(cm, motionArgs) {\n        var repeat = motionArgs.repeat;\n        recordLastCharacterSearch(0, motionArgs);\n        return moveToCharacter(cm, repeat, motionArgs.forward,\n            motionArgs.selectedCharacter) || cm.getCursor();\n      },\n      moveToSymbol: function(cm, motionArgs) {\n        var repeat = motionArgs.repeat;\n        return findSymbol(cm, repeat, motionArgs.forward,\n            motionArgs.selectedCharacter) || cm.getCursor();\n      },\n      moveToColumn: function(cm, motionArgs, vim) {\n        var repeat = motionArgs.repeat;\n        // repeat is equivalent to which column we want to move to!\n        vim.lastHPos = repeat - 1;\n        vim.lastHSPos = cm.charCoords(cm.getCursor(),'div').left;\n        return moveToColumn(cm, repeat);\n      },\n      moveToEol: function(cm, motionArgs, vim) {\n        var cur = cm.getCursor();\n        vim.lastHPos = Infinity;\n        var retval={ line: cur.line + motionArgs.repeat - 1, ch: Infinity };\n        var end=cm.clipPos(retval);\n        end.ch--;\n        vim.lastHSPos = cm.charCoords(end,'div').left;\n        return retval;\n      },\n      moveToFirstNonWhiteSpaceCharacter: function(cm) {\n        // Go to the start of the line where the text begins, or the end for\n        // whitespace-only lines\n        var cursor = cm.getCursor();\n        return { line: cursor.line,\n            ch: findFirstNonWhiteSpaceCharacter(cm.getLine(cursor.line)) };\n      },\n      moveToMatchedSymbol: function(cm) {\n        var cursor = cm.getCursor();\n        var line = cursor.line;\n        var ch = cursor.ch;\n        var lineText = cm.getLine(line);\n        var symbol;\n        var startContext = cm.getTokenAt(cursor).type;\n        var startCtxLevel = getContextLevel(startContext);\n        do {\n          symbol = lineText.charAt(ch++);\n          if (symbol && isMatchableSymbol(symbol)) {\n            var endContext = cm.getTokenAt({line:line, ch:ch}).type;\n            var endCtxLevel = getContextLevel(endContext);\n            if (startCtxLevel >= endCtxLevel) {\n              break;\n            }\n          }\n        } while (symbol);\n        if (symbol) {\n          return findMatchedSymbol(cm, {line:line, ch:ch-1}, symbol);\n        } else {\n          return cursor;\n        }\n      },\n      moveToStartOfLine: function(cm) {\n        var cursor = cm.getCursor();\n        return { line: cursor.line, ch: 0 };\n      },\n      moveToLineOrEdgeOfDocument: function(cm, motionArgs) {\n        var lineNum = motionArgs.forward ? cm.lastLine() : cm.firstLine();\n        if (motionArgs.repeatIsExplicit) {\n          lineNum = motionArgs.repeat - cm.getOption('firstLineNumber');\n        }\n        return { line: lineNum,\n            ch: findFirstNonWhiteSpaceCharacter(cm.getLine(lineNum)) };\n      },\n      textObjectManipulation: function(cm, motionArgs) {\n        var character = motionArgs.selectedCharacter;\n        // Inclusive is the difference between a and i\n        // TODO: Instead of using the additional text object map to perform text\n        //     object operations, merge the map into the defaultKeyMap and use\n        //     motionArgs to define behavior. Define separate entries for 'aw',\n        //     'iw', 'a[', 'i[', etc.\n        var inclusive = !motionArgs.textObjectInner;\n        if (!textObjects[character]) {\n          // No text object defined for this, don't move.\n          return null;\n        }\n        var tmp = textObjects[character](cm, inclusive);\n        var start = tmp.start;\n        var end = tmp.end;\n        return [start, end];\n      },\n      repeatLastCharacterSearch: function(cm, motionArgs) {\n        var lastSearch = vimGlobalState.lastChararacterSearch;\n        var repeat = motionArgs.repeat;\n        var forward = motionArgs.forward === lastSearch.forward;\n        var increment = (lastSearch.increment ? 1 : 0) * (forward ? -1 : 1);\n        cm.moveH(-increment, 'char');\n        motionArgs.inclusive = forward ? true : false;\n        var curEnd = moveToCharacter(cm, repeat, forward, lastSearch.selectedCharacter);\n        if (!curEnd) {\n          cm.moveH(increment, 'char');\n          return cm.getCursor();\n        }\n        curEnd.ch += increment;\n        return curEnd;\n      }\n    };\n\n    var operators = {\n      change: function(cm, operatorArgs, _vim, curStart, curEnd) {\n        vimGlobalState.registerController.pushText(\n            operatorArgs.registerName, 'change', cm.getRange(curStart, curEnd),\n            operatorArgs.linewise);\n        if (operatorArgs.linewise) {\n          // Push the next line back down, if there is a next line.\n          var replacement = curEnd.line > cm.lastLine() ? '' : '\\n';\n          cm.replaceRange(replacement, curStart, curEnd);\n          cm.indentLine(curStart.line, 'smart');\n          // null ch so setCursor moves to end of line.\n          curStart.ch = null;\n        } else {\n          // Exclude trailing whitespace if the range is not all whitespace.\n          var text = cm.getRange(curStart, curEnd);\n          if (!isWhiteSpaceString(text)) {\n            var match = (/\\s+$/).exec(text);\n            if (match) {\n              curEnd = offsetCursor(curEnd, 0, - match[0].length);\n            }\n          }\n          cm.replaceRange('', curStart, curEnd);\n        }\n        actions.enterInsertMode(cm, {}, cm.state.vim);\n        cm.setCursor(curStart);\n      },\n      // delete is a javascript keyword.\n      'delete': function(cm, operatorArgs, _vim, curStart, curEnd) {\n        // If the ending line is past the last line, inclusive, instead of\n        // including the trailing \\n, include the \\n before the starting line\n        if (operatorArgs.linewise &&\n            curEnd.line > cm.lastLine() && curStart.line > cm.firstLine()) {\n          curStart.line--;\n          curStart.ch = lineLength(cm, curStart.line);\n        }\n        vimGlobalState.registerController.pushText(\n            operatorArgs.registerName, 'delete', cm.getRange(curStart, curEnd),\n            operatorArgs.linewise);\n        cm.replaceRange('', curStart, curEnd);\n        if (operatorArgs.linewise) {\n          cm.setCursor(motions.moveToFirstNonWhiteSpaceCharacter(cm));\n        } else {\n          cm.setCursor(curStart);\n        }\n      },\n      indent: function(cm, operatorArgs, vim, curStart, curEnd) {\n        var startLine = curStart.line;\n        var endLine = curEnd.line;\n        // In visual mode, n> shifts the selection right n times, instead of\n        // shifting n lines right once.\n        var repeat = (vim.visualMode) ? operatorArgs.repeat : 1;\n        if (operatorArgs.linewise) {\n          // The only way to delete a newline is to delete until the start of\n          // the next line, so in linewise mode evalInput will include the next\n          // line. We don't want this in indent, so we go back a line.\n          endLine--;\n        }\n        for (var i = startLine; i <= endLine; i++) {\n          for (var j = 0; j < repeat; j++) {\n            cm.indentLine(i, operatorArgs.indentRight);\n          }\n        }\n        cm.setCursor(curStart);\n        cm.setCursor(motions.moveToFirstNonWhiteSpaceCharacter(cm));\n      },\n      swapcase: function(cm, operatorArgs, _vim, curStart, curEnd, curOriginal) {\n        var toSwap = cm.getRange(curStart, curEnd);\n        var swapped = '';\n        for (var i = 0; i < toSwap.length; i++) {\n          var character = toSwap.charAt(i);\n          swapped += isUpperCase(character) ? character.toLowerCase() :\n              character.toUpperCase();\n        }\n        cm.replaceRange(swapped, curStart, curEnd);\n        if (!operatorArgs.shouldMoveCursor) {\n          cm.setCursor(curOriginal);\n        }\n      },\n      yank: function(cm, operatorArgs, _vim, curStart, curEnd, curOriginal) {\n        vimGlobalState.registerController.pushText(\n            operatorArgs.registerName, 'yank',\n            cm.getRange(curStart, curEnd), operatorArgs.linewise);\n        cm.setCursor(curOriginal);\n      }\n    };\n\n    var actions = {\n      jumpListWalk: function(cm, actionArgs, vim) {\n        if (vim.visualMode) {\n          return;\n        }\n        var repeat = actionArgs.repeat;\n        var forward = actionArgs.forward;\n        var jumpList = vimGlobalState.jumpList;\n\n        var mark = jumpList.move(cm, forward ? repeat : -repeat);\n        var markPos = mark ? mark.find() : undefined;\n        markPos = markPos ? markPos : cm.getCursor();\n        cm.setCursor(markPos);\n      },\n      scrollToCursor: function(cm, actionArgs) {\n        var lineNum = cm.getCursor().line;\n        var charCoords = cm.charCoords({line: lineNum, ch: 0}, 'local');\n        var height = cm.getScrollInfo().clientHeight;\n        var y = charCoords.top;\n        var lineHeight = charCoords.bottom - y;\n        switch (actionArgs.position) {\n          case 'center': y = y - (height / 2) + lineHeight;\n            break;\n          case 'bottom': y = y - height + lineHeight*1.4;\n            break;\n          case 'top': y = y + lineHeight*0.4;\n            break;\n        }\n        cm.scrollTo(null, y);\n      },\n      replayMacro: function(cm, actionArgs) {\n        var registerName = actionArgs.selectedCharacter;\n        var repeat = actionArgs.repeat;\n        var macroModeState = vimGlobalState.macroModeState;\n        if (registerName == '@') {\n          registerName = macroModeState.latestRegister;\n        }\n        var keyBuffer = parseRegisterToKeyBuffer(macroModeState, registerName);\n        while(repeat--){\n          executeMacroKeyBuffer(cm, macroModeState, keyBuffer);\n        }\n      },\n      exitMacroRecordMode: function() {\n        var macroModeState = vimGlobalState.macroModeState;\n        macroModeState.toggle();\n        parseKeyBufferToRegister(macroModeState.latestRegister,\n                                 macroModeState.macroKeyBuffer);\n      },\n      enterMacroRecordMode: function(cm, actionArgs) {\n        var macroModeState = vimGlobalState.macroModeState;\n        var registerName = actionArgs.selectedCharacter;\n        macroModeState.toggle(cm, registerName);\n        emptyMacroKeyBuffer(macroModeState);\n      },\n      enterInsertMode: function(cm, actionArgs, vim) {\n        if (cm.getOption('readOnly')) { return; }\n        vim.insertMode = true;\n        vim.insertModeRepeat = actionArgs && actionArgs.repeat || 1;\n        var insertAt = (actionArgs) ? actionArgs.insertAt : null;\n        if (insertAt == 'eol') {\n          var cursor = cm.getCursor();\n          cursor = { line: cursor.line, ch: lineLength(cm, cursor.line) };\n          cm.setCursor(cursor);\n        } else if (insertAt == 'charAfter') {\n          cm.setCursor(offsetCursor(cm.getCursor(), 0, 1));\n        } else if (insertAt == 'firstNonBlank') {\n          cm.setCursor(motions.moveToFirstNonWhiteSpaceCharacter(cm));\n        }\n        cm.setOption('keyMap', 'vim-insert');\n        if (actionArgs && actionArgs.replace) {\n          // Handle Replace-mode as a special case of insert mode.\n          cm.toggleOverwrite(true);\n          cm.setOption('keyMap', 'vim-replace');\n          CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"replace\"});\n        } else {\n          cm.setOption('keyMap', 'vim-insert');\n          CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"insert\"});\n        }\n        if (!vimGlobalState.macroModeState.inReplay) {\n          // Only record if not replaying.\n          cm.on('change', onChange);\n          cm.on('cursorActivity', onCursorActivity);\n          CodeMirror.on(cm.getInputField(), 'keydown', onKeyEventTargetKeyDown);\n        }\n      },\n      toggleVisualMode: function(cm, actionArgs, vim) {\n        var repeat = actionArgs.repeat;\n        var curStart = cm.getCursor();\n        var curEnd;\n        // TODO: The repeat should actually select number of characters/lines\n        //     equal to the repeat times the size of the previous visual\n        //     operation.\n        if (!vim.visualMode) {\n          cm.on('mousedown', exitVisualMode);\n          vim.visualMode = true;\n          vim.visualLine = !!actionArgs.linewise;\n          if (vim.visualLine) {\n            curStart.ch = 0;\n            curEnd = clipCursorToContent(cm, {\n              line: curStart.line + repeat - 1,\n              ch: lineLength(cm, curStart.line)\n            }, true /** includeLineBreak */);\n          } else {\n            curEnd = clipCursorToContent(cm, {\n              line: curStart.line,\n              ch: curStart.ch + repeat\n            }, true /** includeLineBreak */);\n          }\n          // Make the initial selection.\n          if (!actionArgs.repeatIsExplicit && !vim.visualLine) {\n            // This is a strange case. Here the implicit repeat is 1. The\n            // following commands lets the cursor hover over the 1 character\n            // selection.\n            cm.setCursor(curEnd);\n            cm.setSelection(curEnd, curStart);\n          } else {\n            cm.setSelection(curStart, curEnd);\n          }\n          CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"visual\", subMode: vim.visualLine ? \"linewise\" : \"\"});\n        } else {\n          curStart = cm.getCursor('anchor');\n          curEnd = cm.getCursor('head');\n          if (!vim.visualLine && actionArgs.linewise) {\n            // Shift-V pressed in characterwise visual mode. Switch to linewise\n            // visual mode instead of exiting visual mode.\n            vim.visualLine = true;\n            curStart.ch = cursorIsBefore(curStart, curEnd) ? 0 :\n                lineLength(cm, curStart.line);\n            curEnd.ch = cursorIsBefore(curStart, curEnd) ?\n                lineLength(cm, curEnd.line) : 0;\n            cm.setSelection(curStart, curEnd);\n            CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"visual\", subMode: \"linewise\"});\n          } else if (vim.visualLine && !actionArgs.linewise) {\n            // v pressed in linewise visual mode. Switch to characterwise visual\n            // mode instead of exiting visual mode.\n            vim.visualLine = false;\n            CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"visual\"});\n          } else {\n            exitVisualMode(cm);\n          }\n        }\n        updateMark(cm, vim, '<', cursorIsBefore(curStart, curEnd) ? curStart\n            : curEnd);\n        updateMark(cm, vim, '>', cursorIsBefore(curStart, curEnd) ? curEnd\n            : curStart);\n      },\n      joinLines: function(cm, actionArgs, vim) {\n        var curStart, curEnd;\n        if (vim.visualMode) {\n          curStart = cm.getCursor('anchor');\n          curEnd = cm.getCursor('head');\n          curEnd.ch = lineLength(cm, curEnd.line) - 1;\n        } else {\n          // Repeat is the number of lines to join. Minimum 2 lines.\n          var repeat = Math.max(actionArgs.repeat, 2);\n          curStart = cm.getCursor();\n          curEnd = clipCursorToContent(cm, { line: curStart.line + repeat - 1,\n              ch: Infinity });\n        }\n        var finalCh = 0;\n        cm.operation(function() {\n          for (var i = curStart.line; i < curEnd.line; i++) {\n            finalCh = lineLength(cm, curStart.line);\n            var tmp = { line: curStart.line + 1,\n                ch: lineLength(cm, curStart.line + 1) };\n            var text = cm.getRange(curStart, tmp);\n            text = text.replace(/\\n\\s*/g, ' ');\n            cm.replaceRange(text, curStart, tmp);\n          }\n          var curFinalPos = { line: curStart.line, ch: finalCh };\n          cm.setCursor(curFinalPos);\n        });\n      },\n      newLineAndEnterInsertMode: function(cm, actionArgs, vim) {\n        vim.insertMode = true;\n        var insertAt = cm.getCursor();\n        if (insertAt.line === cm.firstLine() && !actionArgs.after) {\n          // Special case for inserting newline before start of document.\n          cm.replaceRange('\\n', { line: cm.firstLine(), ch: 0 });\n          cm.setCursor(cm.firstLine(), 0);\n        } else {\n          insertAt.line = (actionArgs.after) ? insertAt.line :\n              insertAt.line - 1;\n          insertAt.ch = lineLength(cm, insertAt.line);\n          cm.setCursor(insertAt);\n          var newlineFn = CodeMirror.commands.newlineAndIndentContinueComment ||\n              CodeMirror.commands.newlineAndIndent;\n          newlineFn(cm);\n        }\n        this.enterInsertMode(cm, { repeat: actionArgs.repeat }, vim);\n      },\n      paste: function(cm, actionArgs) {\n        var cur = cm.getCursor();\n        var register = vimGlobalState.registerController.getRegister(\n            actionArgs.registerName);\n        if (!register.text) {\n          return;\n        }\n        for (var text = '', i = 0; i < actionArgs.repeat; i++) {\n          text += register.text;\n        }\n        var linewise = register.linewise;\n        if (linewise) {\n          if (actionArgs.after) {\n            // Move the newline at the end to the start instead, and paste just\n            // before the newline character of the line we are on right now.\n            text = '\\n' + text.slice(0, text.length - 1);\n            cur.ch = lineLength(cm, cur.line);\n          } else {\n            cur.ch = 0;\n          }\n        } else {\n          cur.ch += actionArgs.after ? 1 : 0;\n        }\n        cm.replaceRange(text, cur);\n        // Now fine tune the cursor to where we want it.\n        var curPosFinal;\n        var idx;\n        if (linewise && actionArgs.after) {\n          curPosFinal = { line: cur.line + 1,\n              ch: findFirstNonWhiteSpaceCharacter(cm.getLine(cur.line + 1)) };\n        } else if (linewise && !actionArgs.after) {\n          curPosFinal = { line: cur.line,\n              ch: findFirstNonWhiteSpaceCharacter(cm.getLine(cur.line)) };\n        } else if (!linewise && actionArgs.after) {\n          idx = cm.indexFromPos(cur);\n          curPosFinal = cm.posFromIndex(idx + text.length - 1);\n        } else {\n          idx = cm.indexFromPos(cur);\n          curPosFinal = cm.posFromIndex(idx + text.length);\n        }\n        cm.setCursor(curPosFinal);\n      },\n      undo: function(cm, actionArgs) {\n        cm.operation(function() {\n          repeatFn(cm, CodeMirror.commands.undo, actionArgs.repeat)();\n          cm.setCursor(cm.getCursor('anchor'));\n        });\n      },\n      redo: function(cm, actionArgs) {\n        repeatFn(cm, CodeMirror.commands.redo, actionArgs.repeat)();\n      },\n      setRegister: function(_cm, actionArgs, vim) {\n        vim.inputState.registerName = actionArgs.selectedCharacter;\n      },\n      setMark: function(cm, actionArgs, vim) {\n        var markName = actionArgs.selectedCharacter;\n        updateMark(cm, vim, markName, cm.getCursor());\n      },\n      replace: function(cm, actionArgs, vim) {\n        var replaceWith = actionArgs.selectedCharacter;\n        var curStart = cm.getCursor();\n        var replaceTo;\n        var curEnd;\n        if(vim.visualMode){\n          curStart=cm.getCursor('start');\n          curEnd=cm.getCursor('end');\n          // workaround to catch the character under the cursor\n          //  existing workaround doesn't cover actions\n          curEnd=cm.clipPos({line: curEnd.line, ch: curEnd.ch+1});\n        }else{\n          var line = cm.getLine(curStart.line);\n          replaceTo = curStart.ch + actionArgs.repeat;\n          if (replaceTo > line.length) {\n            replaceTo=line.length;\n          }\n          curEnd = { line: curStart.line, ch: replaceTo };\n        }\n        if(replaceWith=='\\n'){\n          if(!vim.visualMode) cm.replaceRange('', curStart, curEnd);\n          // special case, where vim help says to replace by just one line-break\n          (CodeMirror.commands.newlineAndIndentContinueComment || CodeMirror.commands.newlineAndIndent)(cm);\n        }else {\n          var replaceWithStr=cm.getRange(curStart, curEnd);\n          //replace all characters in range by selected, but keep linebreaks\n          replaceWithStr=replaceWithStr.replace(/[^\\n]/g,replaceWith);\n          cm.replaceRange(replaceWithStr, curStart, curEnd);\n          if(vim.visualMode){\n            cm.setCursor(curStart);\n            exitVisualMode(cm);\n          }else{\n            cm.setCursor(offsetCursor(curEnd, 0, -1));\n          }\n        }\n      },\n      incrementNumberToken: function(cm, actionArgs) {\n        var cur = cm.getCursor();\n        var lineStr = cm.getLine(cur.line);\n        var re = /-?\\d+/g;\n        var match;\n        var start;\n        var end;\n        var numberStr;\n        var token;\n        while ((match = re.exec(lineStr)) !== null) {\n          token = match[0];\n          start = match.index;\n          end = start + token.length;\n          if(cur.ch < end)break;\n        }\n        if(!actionArgs.backtrack && (end <= cur.ch))return;\n        if (token) {\n          var increment = actionArgs.increase ? 1 : -1;\n          var number = parseInt(token) + (increment * actionArgs.repeat);\n          var from = {ch:start, line:cur.line};\n          var to = {ch:end, line:cur.line};\n          numberStr = number.toString();\n          cm.replaceRange(numberStr, from, to);\n        } else {\n          return;\n        }\n        cm.setCursor({line: cur.line, ch: start + numberStr.length - 1});\n      },\n      repeatLastEdit: function(cm, actionArgs, vim) {\n        var lastEditInputState = vim.lastEditInputState;\n        if (!lastEditInputState) { return; }\n        var repeat = actionArgs.repeat;\n        if (repeat && actionArgs.repeatIsExplicit) {\n          vim.lastEditInputState.repeatOverride = repeat;\n        } else {\n          repeat = vim.lastEditInputState.repeatOverride || repeat;\n        }\n        repeatLastEdit(cm, vim, repeat, false /** repeatForInsert */);\n      }\n    };\n\n    var textObjects = {\n      // TODO: lots of possible exceptions that can be thrown here. Try da(\n      //     outside of a () block.\n      // TODO: implement text objects for the reverse like }. Should just be\n      //     an additional mapping after moving to the defaultKeyMap.\n      'w': function(cm, inclusive) {\n        return expandWordUnderCursor(cm, inclusive, true /** forward */,\n            false /** bigWord */);\n      },\n      'W': function(cm, inclusive) {\n        return expandWordUnderCursor(cm, inclusive,\n            true /** forward */, true /** bigWord */);\n      },\n      '{': function(cm, inclusive) {\n        return selectCompanionObject(cm, '}', inclusive);\n      },\n      '(': function(cm, inclusive) {\n        return selectCompanionObject(cm, ')', inclusive);\n      },\n      '[': function(cm, inclusive) {\n        return selectCompanionObject(cm, ']', inclusive);\n      },\n      '\\'': function(cm, inclusive) {\n        return findBeginningAndEnd(cm, \"'\", inclusive);\n      },\n      '\"': function(cm, inclusive) {\n        return findBeginningAndEnd(cm, '\"', inclusive);\n      }\n    };\n\n    /*\n     * Below are miscellaneous utility functions used by vim.js\n     */\n\n    /**\n     * Clips cursor to ensure that line is within the buffer's range\n     * If includeLineBreak is true, then allow cur.ch == lineLength.\n     */\n    function clipCursorToContent(cm, cur, includeLineBreak) {\n      var line = Math.min(Math.max(cm.firstLine(), cur.line), cm.lastLine() );\n      var maxCh = lineLength(cm, line) - 1;\n      maxCh = (includeLineBreak) ? maxCh + 1 : maxCh;\n      var ch = Math.min(Math.max(0, cur.ch), maxCh);\n      return { line: line, ch: ch };\n    }\n    function copyArgs(args) {\n      var ret = {};\n      for (var prop in args) {\n        if (args.hasOwnProperty(prop)) {\n          ret[prop] = args[prop];\n        }\n      }\n      return ret;\n    }\n    function offsetCursor(cur, offsetLine, offsetCh) {\n      return { line: cur.line + offsetLine, ch: cur.ch + offsetCh };\n    }\n    function matchKeysPartial(pressed, mapped) {\n      for (var i = 0; i < pressed.length; i++) {\n        // 'character' means any character. For mark, register commads, etc.\n        if (pressed[i] != mapped[i] && mapped[i] != 'character') {\n          return false;\n        }\n      }\n      return true;\n    }\n    function repeatFn(cm, fn, repeat) {\n      return function() {\n        for (var i = 0; i < repeat; i++) {\n          fn(cm);\n        }\n      };\n    }\n    function copyCursor(cur) {\n      return { line: cur.line, ch: cur.ch };\n    }\n    function cursorEqual(cur1, cur2) {\n      return cur1.ch == cur2.ch && cur1.line == cur2.line;\n    }\n    function cursorIsBefore(cur1, cur2) {\n      if (cur1.line < cur2.line) {\n        return true;\n      }\n      if (cur1.line == cur2.line && cur1.ch < cur2.ch) {\n        return true;\n      }\n      return false;\n    }\n    function cusrorIsBetween(cur1, cur2, cur3) {\n      // returns true if cur2 is between cur1 and cur3.\n      var cur1before2 = cursorIsBefore(cur1, cur2);\n      var cur2before3 = cursorIsBefore(cur2, cur3);\n      return cur1before2 && cur2before3;\n    }\n    function lineLength(cm, lineNum) {\n      return cm.getLine(lineNum).length;\n    }\n    function reverse(s){\n      return s.split('').reverse().join('');\n    }\n    function trim(s) {\n      if (s.trim) {\n        return s.trim();\n      }\n      return s.replace(/^\\s+|\\s+$/g, '');\n    }\n    function escapeRegex(s) {\n      return s.replace(/([.?*+$\\[\\]\\/\\\\(){}|\\-])/g, '\\\\$1');\n    }\n\n    function exitVisualMode(cm) {\n      cm.off('mousedown', exitVisualMode);\n      var vim = cm.state.vim;\n      vim.visualMode = false;\n      vim.visualLine = false;\n      var selectionStart = cm.getCursor('anchor');\n      var selectionEnd = cm.getCursor('head');\n      if (!cursorEqual(selectionStart, selectionEnd)) {\n        // Clear the selection and set the cursor only if the selection has not\n        // already been cleared. Otherwise we risk moving the cursor somewhere\n        // it's not supposed to be.\n        cm.setCursor(clipCursorToContent(cm, selectionEnd));\n      }\n      CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"normal\"});\n    }\n\n    // Remove any trailing newlines from the selection. For\n    // example, with the caret at the start of the last word on the line,\n    // 'dw' should word, but not the newline, while 'w' should advance the\n    // caret to the first character of the next line.\n    function clipToLine(cm, curStart, curEnd) {\n      var selection = cm.getRange(curStart, curEnd);\n      // Only clip if the selection ends with trailing newline + whitespace\n      if (/\\n\\s*$/.test(selection)) {\n        var lines = selection.split('\\n');\n        // We know this is all whitepsace.\n        lines.pop();\n\n        // Cases:\n        // 1. Last word is an empty line - do not clip the trailing '\\n'\n        // 2. Last word is not an empty line - clip the trailing '\\n'\n        var line;\n        // Find the line containing the last word, and clip all whitespace up\n        // to it.\n        for (var line = lines.pop(); lines.length > 0 && line && isWhiteSpaceString(line); line = lines.pop()) {\n          curEnd.line--;\n          curEnd.ch = 0;\n        }\n        // If the last word is not an empty line, clip an additional newline\n        if (line) {\n          curEnd.line--;\n          curEnd.ch = lineLength(cm, curEnd.line);\n        } else {\n          curEnd.ch = 0;\n        }\n      }\n    }\n\n    // Expand the selection to line ends.\n    function expandSelectionToLine(_cm, curStart, curEnd) {\n      curStart.ch = 0;\n      curEnd.ch = 0;\n      curEnd.line++;\n    }\n\n    function findFirstNonWhiteSpaceCharacter(text) {\n      if (!text) {\n        return 0;\n      }\n      var firstNonWS = text.search(/\\S/);\n      return firstNonWS == -1 ? text.length : firstNonWS;\n    }\n\n    function expandWordUnderCursor(cm, inclusive, _forward, bigWord, noSymbol) {\n      var cur = cm.getCursor();\n      var line = cm.getLine(cur.line);\n      var idx = cur.ch;\n\n      // Seek to first word or non-whitespace character, depending on if\n      // noSymbol is true.\n      var textAfterIdx = line.substring(idx);\n      var firstMatchedChar;\n      if (noSymbol) {\n        firstMatchedChar = textAfterIdx.search(/\\w/);\n      } else {\n        firstMatchedChar = textAfterIdx.search(/\\S/);\n      }\n      if (firstMatchedChar == -1) {\n        return null;\n      }\n      idx += firstMatchedChar;\n      textAfterIdx = line.substring(idx);\n      var textBeforeIdx = line.substring(0, idx);\n\n      var matchRegex;\n      // Greedy matchers for the \"word\" we are trying to expand.\n      if (bigWord) {\n        matchRegex = /^\\S+/;\n      } else {\n        if ((/\\w/).test(line.charAt(idx))) {\n          matchRegex = /^\\w+/;\n        } else {\n          matchRegex = /^[^\\w\\s]+/;\n        }\n      }\n\n      var wordAfterRegex = matchRegex.exec(textAfterIdx);\n      var wordStart = idx;\n      var wordEnd = idx + wordAfterRegex[0].length;\n      // TODO: Find a better way to do this. It will be slow on very long lines.\n      var revTextBeforeIdx = reverse(textBeforeIdx);\n      var wordBeforeRegex = matchRegex.exec(revTextBeforeIdx);\n      if (wordBeforeRegex) {\n        wordStart -= wordBeforeRegex[0].length;\n      }\n\n      if (inclusive) {\n        // If present, trim all whitespace after word.\n        // Otherwise, trim all whitespace before word.\n        var textAfterWordEnd = line.substring(wordEnd);\n        var whitespacesAfterWord = textAfterWordEnd.match(/^\\s*/)[0].length;\n        if (whitespacesAfterWord > 0) {\n          wordEnd += whitespacesAfterWord;\n        } else {\n          var revTrim = revTextBeforeIdx.length - wordStart;\n          var textBeforeWordStart = revTextBeforeIdx.substring(revTrim);\n          var whitespacesBeforeWord = textBeforeWordStart.match(/^\\s*/)[0].length;\n          wordStart -= whitespacesBeforeWord;\n        }\n      }\n\n      return { start: { line: cur.line, ch: wordStart },\n        end: { line: cur.line, ch: wordEnd }};\n    }\n\n    function recordJumpPosition(cm, oldCur, newCur) {\n      if(!cursorEqual(oldCur, newCur)) {\n        vimGlobalState.jumpList.add(cm, oldCur, newCur);\n      }\n    }\n\n    function recordLastCharacterSearch(increment, args) {\n        vimGlobalState.lastChararacterSearch.increment = increment;\n        vimGlobalState.lastChararacterSearch.forward = args.forward;\n        vimGlobalState.lastChararacterSearch.selectedCharacter = args.selectedCharacter;\n    }\n\n    var symbolToMode = {\n        '(': 'bracket', ')': 'bracket', '{': 'bracket', '}': 'bracket',\n        '[': 'section', ']': 'section',\n        '*': 'comment', '/': 'comment',\n        'm': 'method', 'M': 'method',\n        '#': 'preprocess'\n    };\n    var findSymbolModes = {\n      bracket: {\n        isComplete: function(state) {\n          if (state.nextCh === state.symb) {\n            state.depth++;\n            if(state.depth >= 1)return true;\n          } else if (state.nextCh === state.reverseSymb) {\n            state.depth--;\n          }\n          return false;\n        }\n      },\n      section: {\n        init: function(state) {\n          state.curMoveThrough = true;\n          state.symb = (state.forward ? ']' : '[') === state.symb ? '{' : '}';\n        },\n        isComplete: function(state) {\n          return state.index === 0 && state.nextCh === state.symb;\n        }\n      },\n      comment: {\n        isComplete: function(state) {\n          var found = state.lastCh === '*' && state.nextCh === '/';\n          state.lastCh = state.nextCh;\n          return found;\n        }\n      },\n      // TODO: The original Vim implementation only operates on level 1 and 2.\n      // The current implementation doesn't check for code block level and\n      // therefore it operates on any levels.\n      method: {\n        init: function(state) {\n          state.symb = (state.symb === 'm' ? '{' : '}');\n          state.reverseSymb = state.symb === '{' ? '}' : '{';\n        },\n        isComplete: function(state) {\n          if(state.nextCh === state.symb)return true;\n          return false;\n        }\n      },\n      preprocess: {\n        init: function(state) {\n          state.index = 0;\n        },\n        isComplete: function(state) {\n          if (state.nextCh === '#') {\n            var token = state.lineText.match(/#(\\w+)/)[1];\n            if (token === 'endif') {\n              if (state.forward && state.depth === 0) {\n                return true;\n              }\n              state.depth++;\n            } else if (token === 'if') {\n              if (!state.forward && state.depth === 0) {\n                return true;\n              }\n              state.depth--;\n            }\n            if(token === 'else' && state.depth === 0)return true;\n          }\n          return false;\n        }\n      }\n    };\n    function findSymbol(cm, repeat, forward, symb) {\n      var cur = cm.getCursor();\n      var increment = forward ? 1 : -1;\n      var endLine = forward ? cm.lineCount() : -1;\n      var curCh = cur.ch;\n      var line = cur.line;\n      var lineText = cm.getLine(line);\n      var state = {\n        lineText: lineText,\n        nextCh: lineText.charAt(curCh),\n        lastCh: null,\n        index: curCh,\n        symb: symb,\n        reverseSymb: (forward ?  { ')': '(', '}': '{' } : { '(': ')', '{': '}' })[symb],\n        forward: forward,\n        depth: 0,\n        curMoveThrough: false\n      };\n      var mode = symbolToMode[symb];\n      if(!mode)return cur;\n      var init = findSymbolModes[mode].init;\n      var isComplete = findSymbolModes[mode].isComplete;\n      if(init)init(state);\n      while (line !== endLine && repeat) {\n        state.index += increment;\n        state.nextCh = state.lineText.charAt(state.index);\n        if (!state.nextCh) {\n          line += increment;\n          state.lineText = cm.getLine(line) || '';\n          if (increment > 0) {\n            state.index = 0;\n          } else {\n            var lineLen = state.lineText.length;\n            state.index = (lineLen > 0) ? (lineLen-1) : 0;\n          }\n          state.nextCh = state.lineText.charAt(state.index);\n        }\n        if (isComplete(state)) {\n          cur.line = line;\n          cur.ch = state.index;\n          repeat--;\n        }\n      }\n      if (state.nextCh || state.curMoveThrough) {\n        return { line: line, ch: state.index };\n      }\n      return cur;\n    }\n\n    /*\n     * Returns the boundaries of the next word. If the cursor in the middle of\n     * the word, then returns the boundaries of the current word, starting at\n     * the cursor. If the cursor is at the start/end of a word, and we are going\n     * forward/backward, respectively, find the boundaries of the next word.\n     *\n     * @param {CodeMirror} cm CodeMirror object.\n     * @param {Cursor} cur The cursor position.\n     * @param {boolean} forward True to search forward. False to search\n     *     backward.\n     * @param {boolean} bigWord True if punctuation count as part of the word.\n     *     False if only [a-zA-Z0-9] characters count as part of the word.\n     * @param {boolean} emptyLineIsWord True if empty lines should be treated\n     *     as words.\n     * @return {Object{from:number, to:number, line: number}} The boundaries of\n     *     the word, or null if there are no more words.\n     */\n    function findWord(cm, cur, forward, bigWord, emptyLineIsWord) {\n      var lineNum = cur.line;\n      var pos = cur.ch;\n      var line = cm.getLine(lineNum);\n      var dir = forward ? 1 : -1;\n      var regexps = bigWord ? bigWordRegexp : wordRegexp;\n\n      if (emptyLineIsWord && line == '') {\n        lineNum += dir;\n        line = cm.getLine(lineNum);\n        if (!isLine(cm, lineNum)) {\n          return null;\n        }\n        pos = (forward) ? 0 : line.length;\n      }\n\n      while (true) {\n        if (emptyLineIsWord && line == '') {\n          return { from: 0, to: 0, line: lineNum };\n        }\n        var stop = (dir > 0) ? line.length : -1;\n        var wordStart = stop, wordEnd = stop;\n        // Find bounds of next word.\n        while (pos != stop) {\n          var foundWord = false;\n          for (var i = 0; i < regexps.length && !foundWord; ++i) {\n            if (regexps[i].test(line.charAt(pos))) {\n              wordStart = pos;\n              // Advance to end of word.\n              while (pos != stop && regexps[i].test(line.charAt(pos))) {\n                pos += dir;\n              }\n              wordEnd = pos;\n              foundWord = wordStart != wordEnd;\n              if (wordStart == cur.ch && lineNum == cur.line &&\n                  wordEnd == wordStart + dir) {\n                // We started at the end of a word. Find the next one.\n                continue;\n              } else {\n                return {\n                  from: Math.min(wordStart, wordEnd + 1),\n                  to: Math.max(wordStart, wordEnd),\n                  line: lineNum };\n              }\n            }\n          }\n          if (!foundWord) {\n            pos += dir;\n          }\n        }\n        // Advance to next/prev line.\n        lineNum += dir;\n        if (!isLine(cm, lineNum)) {\n          return null;\n        }\n        line = cm.getLine(lineNum);\n        pos = (dir > 0) ? 0 : line.length;\n      }\n      // Should never get here.\n      throw new Error('The impossible happened.');\n    }\n\n    /**\n     * @param {CodeMirror} cm CodeMirror object.\n     * @param {int} repeat Number of words to move past.\n     * @param {boolean} forward True to search forward. False to search\n     *     backward.\n     * @param {boolean} wordEnd True to move to end of word. False to move to\n     *     beginning of word.\n     * @param {boolean} bigWord True if punctuation count as part of the word.\n     *     False if only alphabet characters count as part of the word.\n     * @return {Cursor} The position the cursor should move to.\n     */\n    function moveToWord(cm, repeat, forward, wordEnd, bigWord) {\n      var cur = cm.getCursor();\n      var curStart = copyCursor(cur);\n      var words = [];\n      if (forward && !wordEnd || !forward && wordEnd) {\n        repeat++;\n      }\n      // For 'e', empty lines are not considered words, go figure.\n      var emptyLineIsWord = !(forward && wordEnd);\n      for (var i = 0; i < repeat; i++) {\n        var word = findWord(cm, cur, forward, bigWord, emptyLineIsWord);\n        if (!word) {\n          var eodCh = lineLength(cm, cm.lastLine());\n          words.push(forward\n              ? {line: cm.lastLine(), from: eodCh, to: eodCh}\n              : {line: 0, from: 0, to: 0});\n          break;\n        }\n        words.push(word);\n        cur = {line: word.line, ch: forward ? (word.to - 1) : word.from};\n      }\n      var shortCircuit = words.length != repeat;\n      var firstWord = words[0];\n      var lastWord = words.pop();\n      if (forward && !wordEnd) {\n        // w\n        if (!shortCircuit && (firstWord.from != curStart.ch || firstWord.line != curStart.line)) {\n          // We did not start in the middle of a word. Discard the extra word at the end.\n          lastWord = words.pop();\n        }\n        return {line: lastWord.line, ch: lastWord.from};\n      } else if (forward && wordEnd) {\n        return {line: lastWord.line, ch: lastWord.to - 1};\n      } else if (!forward && wordEnd) {\n        // ge\n        if (!shortCircuit && (firstWord.to != curStart.ch || firstWord.line != curStart.line)) {\n          // We did not start in the middle of a word. Discard the extra word at the end.\n          lastWord = words.pop();\n        }\n        return {line: lastWord.line, ch: lastWord.to};\n      } else {\n        // b\n        return {line: lastWord.line, ch: lastWord.from};\n      }\n    }\n\n    function moveToCharacter(cm, repeat, forward, character) {\n      var cur = cm.getCursor();\n      var start = cur.ch;\n      var idx;\n      for (var i = 0; i < repeat; i ++) {\n        var line = cm.getLine(cur.line);\n        idx = charIdxInLine(start, line, character, forward, true);\n        if (idx == -1) {\n          return null;\n        }\n        start = idx;\n      }\n      return { line: cm.getCursor().line, ch: idx };\n    }\n\n    function moveToColumn(cm, repeat) {\n      // repeat is always >= 1, so repeat - 1 always corresponds\n      // to the column we want to go to.\n      var line = cm.getCursor().line;\n      return clipCursorToContent(cm, { line: line, ch: repeat - 1 });\n    }\n\n    function updateMark(cm, vim, markName, pos) {\n      if (!inArray(markName, validMarks)) {\n        return;\n      }\n      if (vim.marks[markName]) {\n        vim.marks[markName].clear();\n      }\n      vim.marks[markName] = cm.setBookmark(pos);\n    }\n\n    function charIdxInLine(start, line, character, forward, includeChar) {\n      // Search for char in line.\n      // motion_options: {forward, includeChar}\n      // If includeChar = true, include it too.\n      // If forward = true, search forward, else search backwards.\n      // If char is not found on this line, do nothing\n      var idx;\n      if (forward) {\n        idx = line.indexOf(character, start + 1);\n        if (idx != -1 && !includeChar) {\n          idx -= 1;\n        }\n      } else {\n        idx = line.lastIndexOf(character, start - 1);\n        if (idx != -1 && !includeChar) {\n          idx += 1;\n        }\n      }\n      return idx;\n    }\n\n    function getContextLevel(ctx) {\n      return (ctx === 'string' || ctx === 'comment') ? 1 : 0;\n    }\n\n    function findMatchedSymbol(cm, cur, symb) {\n      var line = cur.line;\n      var ch = cur.ch;\n      symb = symb ? symb : cm.getLine(line).charAt(ch);\n\n      var symbContext = cm.getTokenAt({line:line, ch:ch+1}).type;\n      var symbCtxLevel = getContextLevel(symbContext);\n\n      var reverseSymb = ({\n        '(': ')', ')': '(',\n        '[': ']', ']': '[',\n        '{': '}', '}': '{'})[symb];\n\n      // Couldn't find a matching symbol, abort\n      if (!reverseSymb) {\n        return cur;\n      }\n\n      // set our increment to move forward (+1) or backwards (-1)\n      // depending on which bracket we're matching\n      var increment = ({'(': 1, '{': 1, '[': 1})[symb] || -1;\n      var endLine = increment === 1 ? cm.lineCount() : -1;\n      var depth = 1, nextCh = symb, index = ch, lineText = cm.getLine(line);\n      // Simple search for closing paren--just count openings and closings till\n      // we find our match\n      // TODO: use info from CodeMirror to ignore closing brackets in comments\n      // and quotes, etc.\n      while (line !== endLine && depth > 0) {\n        index += increment;\n        nextCh = lineText.charAt(index);\n        if (!nextCh) {\n          line += increment;\n          lineText = cm.getLine(line) || '';\n          if (increment > 0) {\n            index = 0;\n          } else {\n            var lineLen = lineText.length;\n            index = (lineLen > 0) ? (lineLen-1) : 0;\n          }\n          nextCh = lineText.charAt(index);\n        }\n        var revSymbContext = cm.getTokenAt({line:line, ch:index+1}).type;\n        var revSymbCtxLevel = getContextLevel(revSymbContext);\n        if (symbCtxLevel >= revSymbCtxLevel) {\n          if (nextCh === symb) {\n            depth++;\n          } else if (nextCh === reverseSymb) {\n            depth--;\n          }\n        }\n      }\n\n      if (nextCh) {\n        return { line: line, ch: index };\n      }\n      return cur;\n    }\n\n    function selectCompanionObject(cm, revSymb, inclusive) {\n      var cur = cm.getCursor();\n\n      var end = findMatchedSymbol(cm, cur, revSymb);\n      var start = findMatchedSymbol(cm, end);\n      start.ch += inclusive ? 1 : 0;\n      end.ch += inclusive ? 0 : 1;\n\n      return { start: start, end: end };\n    }\n\n    // Takes in a symbol and a cursor and tries to simulate text objects that\n    // have identical opening and closing symbols\n    // TODO support across multiple lines\n    function findBeginningAndEnd(cm, symb, inclusive) {\n      var cur = cm.getCursor();\n      var line = cm.getLine(cur.line);\n      var chars = line.split('');\n      var start, end, i, len;\n      var firstIndex = chars.indexOf(symb);\n\n      // the decision tree is to always look backwards for the beginning first,\n      // but if the cursor is in front of the first instance of the symb,\n      // then move the cursor forward\n      if (cur.ch < firstIndex) {\n        cur.ch = firstIndex;\n        // Why is this line even here???\n        // cm.setCursor(cur.line, firstIndex+1);\n      }\n      // otherwise if the cursor is currently on the closing symbol\n      else if (firstIndex < cur.ch && chars[cur.ch] == symb) {\n        end = cur.ch; // assign end to the current cursor\n        --cur.ch; // make sure to look backwards\n      }\n\n      // if we're currently on the symbol, we've got a start\n      if (chars[cur.ch] == symb && !end) {\n        start = cur.ch + 1; // assign start to ahead of the cursor\n      } else {\n        // go backwards to find the start\n        for (i = cur.ch; i > -1 && !start; i--) {\n          if (chars[i] == symb) {\n            start = i + 1;\n          }\n        }\n      }\n\n      // look forwards for the end symbol\n      if (start && !end) {\n        for (i = start, len = chars.length; i < len && !end; i++) {\n          if (chars[i] == symb) {\n            end = i;\n          }\n        }\n      }\n\n      // nothing found\n      if (!start || !end) {\n        return { start: cur, end: cur };\n      }\n\n      // include the symbols\n      if (inclusive) {\n        --start; ++end;\n      }\n\n      return {\n        start: { line: cur.line, ch: start },\n        end: { line: cur.line, ch: end }\n      };\n    }\n\n    // Search functions\n    function SearchState() {}\n    SearchState.prototype = {\n      getQuery: function() {\n        return vimGlobalState.query;\n      },\n      setQuery: function(query) {\n        vimGlobalState.query = query;\n      },\n      getOverlay: function() {\n        return this.searchOverlay;\n      },\n      setOverlay: function(overlay) {\n        this.searchOverlay = overlay;\n      },\n      isReversed: function() {\n        return vimGlobalState.isReversed;\n      },\n      setReversed: function(reversed) {\n        vimGlobalState.isReversed = reversed;\n      }\n    };\n    function getSearchState(cm) {\n      var vim = cm.state.vim;\n      return vim.searchState_ || (vim.searchState_ = new SearchState());\n    }\n    function dialog(cm, template, shortText, onClose, options) {\n      if (cm.openDialog) {\n        cm.openDialog(template, onClose, { bottom: true, value: options.value,\n            onKeyDown: options.onKeyDown, onKeyUp: options.onKeyUp });\n      }\n      else {\n        onClose(prompt(shortText, ''));\n      }\n    }\n\n    function findUnescapedSlashes(str) {\n      var escapeNextChar = false;\n      var slashes = [];\n      for (var i = 0; i < str.length; i++) {\n        var c = str.charAt(i);\n        if (!escapeNextChar && c == '/') {\n          slashes.push(i);\n        }\n        escapeNextChar = (c == '\\\\');\n      }\n      return slashes;\n    }\n    /**\n     * Extract the regular expression from the query and return a Regexp object.\n     * Returns null if the query is blank.\n     * If ignoreCase is passed in, the Regexp object will have the 'i' flag set.\n     * If smartCase is passed in, and the query contains upper case letters,\n     *   then ignoreCase is overridden, and the 'i' flag will not be set.\n     * If the query contains the /i in the flag part of the regular expression,\n     *   then both ignoreCase and smartCase are ignored, and 'i' will be passed\n     *   through to the Regex object.\n     */\n    function parseQuery(query, ignoreCase, smartCase) {\n      // Check if the query is already a regex.\n      if (query instanceof RegExp) { return query; }\n      // First try to extract regex + flags from the input. If no flags found,\n      // extract just the regex. IE does not accept flags directly defined in\n      // the regex string in the form /regex/flags\n      var slashes = findUnescapedSlashes(query);\n      var regexPart;\n      var forceIgnoreCase;\n      if (!slashes.length) {\n        // Query looks like 'regexp'\n        regexPart = query;\n      } else {\n        // Query looks like 'regexp/...'\n        regexPart = query.substring(0, slashes[0]);\n        var flagsPart = query.substring(slashes[0]);\n        forceIgnoreCase = (flagsPart.indexOf('i') != -1);\n      }\n      if (!regexPart) {\n        return null;\n      }\n      if (smartCase) {\n        ignoreCase = (/^[^A-Z]*$/).test(regexPart);\n      }\n      var regexp = new RegExp(regexPart,\n          (ignoreCase || forceIgnoreCase) ? 'i' : undefined);\n      return regexp;\n    }\n    function showConfirm(cm, text) {\n      if (cm.openNotification) {\n        cm.openNotification('<span style=\"color: red\">' + text + '</span>',\n                            {bottom: true, duration: 5000});\n      } else {\n        alert(text);\n      }\n    }\n    function makePrompt(prefix, desc) {\n      var raw = '';\n      if (prefix) {\n        raw += '<span style=\"font-family: monospace\">' + prefix + '</span>';\n      }\n      raw += '<input type=\"text\"/> ' +\n          '<span style=\"color: #888\">';\n      if (desc) {\n        raw += '<span style=\"color: #888\">';\n        raw += desc;\n        raw += '</span>';\n      }\n      return raw;\n    }\n    var searchPromptDesc = '(Javascript regexp)';\n    function showPrompt(cm, options) {\n      var shortText = (options.prefix || '') + ' ' + (options.desc || '');\n      var prompt = makePrompt(options.prefix, options.desc);\n      dialog(cm, prompt, shortText, options.onClose, options);\n    }\n    function regexEqual(r1, r2) {\n      if (r1 instanceof RegExp && r2 instanceof RegExp) {\n          var props = ['global', 'multiline', 'ignoreCase', 'source'];\n          for (var i = 0; i < props.length; i++) {\n              var prop = props[i];\n              if (r1[prop] !== r2[prop]) {\n                  return false;\n              }\n          }\n          return true;\n      }\n      return false;\n    }\n    // Returns true if the query is valid.\n    function updateSearchQuery(cm, rawQuery, ignoreCase, smartCase) {\n      if (!rawQuery) {\n        return;\n      }\n      var state = getSearchState(cm);\n      var query = parseQuery(rawQuery, !!ignoreCase, !!smartCase);\n      if (!query) {\n        return;\n      }\n      highlightSearchMatches(cm, query);\n      if (regexEqual(query, state.getQuery())) {\n        return query;\n      }\n      state.setQuery(query);\n      return query;\n    }\n    function searchOverlay(query) {\n      if (query.source.charAt(0) == '^') {\n        var matchSol = true;\n      }\n      return {\n        token: function(stream) {\n          if (matchSol && !stream.sol()) {\n            stream.skipToEnd();\n            return;\n          }\n          var match = stream.match(query, false);\n          if (match) {\n            if (match[0].length == 0) {\n              // Matched empty string, skip to next.\n              stream.next();\n              return 'searching';\n            }\n            if (!stream.sol()) {\n              // Backtrack 1 to match \\b\n              stream.backUp(1);\n              if (!query.exec(stream.next() + match[0])) {\n                stream.next();\n                return null;\n              }\n            }\n            stream.match(query);\n            return 'searching';\n          }\n          while (!stream.eol()) {\n            stream.next();\n            if (stream.match(query, false)) break;\n          }\n        },\n        query: query\n      };\n    }\n    function highlightSearchMatches(cm, query) {\n      var overlay = getSearchState(cm).getOverlay();\n      if (!overlay || query != overlay.query) {\n        if (overlay) {\n          cm.removeOverlay(overlay);\n        }\n        overlay = searchOverlay(query);\n        cm.addOverlay(overlay);\n        getSearchState(cm).setOverlay(overlay);\n      }\n    }\n    function findNext(cm, prev, query, repeat) {\n      if (repeat === undefined) { repeat = 1; }\n      return cm.operation(function() {\n        var pos = cm.getCursor();\n        var cursor = cm.getSearchCursor(query, pos);\n        for (var i = 0; i < repeat; i++) {\n          var found = cursor.find(prev);\n          if (i == 0 && found && cursorEqual(cursor.from(), pos)) { found = cursor.find(prev); }\n          if (!found) {\n            // SearchCursor may have returned null because it hit EOF, wrap\n            // around and try again.\n            cursor = cm.getSearchCursor(query,\n                (prev) ? { line: cm.lastLine() } : {line: cm.firstLine(), ch: 0} );\n            if (!cursor.find(prev)) {\n              return;\n            }\n          }\n        }\n        return cursor.from();\n      });\n    }\n    function clearSearchHighlight(cm) {\n      cm.removeOverlay(getSearchState(cm).getOverlay());\n      getSearchState(cm).setOverlay(null);\n    }\n    /**\n     * Check if pos is in the specified range, INCLUSIVE.\n     * Range can be specified with 1 or 2 arguments.\n     * If the first range argument is an array, treat it as an array of line\n     * numbers. Match pos against any of the lines.\n     * If the first range argument is a number,\n     *   if there is only 1 range argument, check if pos has the same line\n     *       number\n     *   if there are 2 range arguments, then check if pos is in between the two\n     *       range arguments.\n     */\n    function isInRange(pos, start, end) {\n      if (typeof pos != 'number') {\n        // Assume it is a cursor position. Get the line number.\n        pos = pos.line;\n      }\n      if (start instanceof Array) {\n        return inArray(pos, start);\n      } else {\n        if (end) {\n          return (pos >= start && pos <= end);\n        } else {\n          return pos == start;\n        }\n      }\n    }\n    function getUserVisibleLines(cm) {\n      var scrollInfo = cm.getScrollInfo();\n      var occludeToleranceTop = 6;\n      var occludeToleranceBottom = 10;\n      var from = cm.coordsChar({left:0, top: occludeToleranceTop + scrollInfo.top}, 'local');\n      var bottomY = scrollInfo.clientHeight - occludeToleranceBottom + scrollInfo.top;\n      var to = cm.coordsChar({left:0, top: bottomY}, 'local');\n      return {top: from.line, bottom: to.line};\n    }\n\n    // Ex command handling\n    // Care must be taken when adding to the default Ex command map. For any\n    // pair of commands that have a shared prefix, at least one of their\n    // shortNames must not match the prefix of the other command.\n    var defaultExCommandMap = [\n      { name: 'map', type: 'builtIn' },\n      { name: 'write', shortName: 'w', type: 'builtIn' },\n      { name: 'undo', shortName: 'u', type: 'builtIn' },\n      { name: 'redo', shortName: 'red', type: 'builtIn' },\n      { name: 'sort', shortName: 'sor', type: 'builtIn'},\n      { name: 'substitute', shortName: 's', type: 'builtIn'},\n      { name: 'nohlsearch', shortName: 'noh', type: 'builtIn'},\n      { name: 'delmarks', shortName: 'delm', type: 'builtin'}\n    ];\n    Vim.ExCommandDispatcher = function() {\n      this.buildCommandMap_();\n    };\n    Vim.ExCommandDispatcher.prototype = {\n      processCommand: function(cm, input) {\n        var vim = cm.state.vim;\n        if (vim.visualMode) {\n          exitVisualMode(cm);\n        }\n        var inputStream = new CodeMirror.StringStream(input);\n        var params = {};\n        params.input = input;\n        try {\n          this.parseInput_(cm, inputStream, params);\n        } catch(e) {\n          showConfirm(cm, e);\n          return;\n        }\n        var commandName;\n        if (!params.commandName) {\n          // If only a line range is defined, move to the line.\n          if (params.line !== undefined) {\n            commandName = 'move';\n          }\n        } else {\n          var command = this.matchCommand_(params.commandName);\n          if (command) {\n            commandName = command.name;\n            this.parseCommandArgs_(inputStream, params, command);\n            if (command.type == 'exToKey') {\n              // Handle Ex to Key mapping.\n              for (var i = 0; i < command.toKeys.length; i++) {\n                CodeMirror.Vim.handleKey(cm, command.toKeys[i]);\n              }\n              return;\n            } else if (command.type == 'exToEx') {\n              // Handle Ex to Ex mapping.\n              this.processCommand(cm, command.toInput);\n              return;\n            }\n          }\n        }\n        if (!commandName) {\n          showConfirm(cm, 'Not an editor command \":' + input + '\"');\n          return;\n        }\n        try {\n          exCommands[commandName](cm, params);\n        } catch(e) {\n          showConfirm(cm, e);\n        }\n      },\n      parseInput_: function(cm, inputStream, result) {\n        inputStream.eatWhile(':');\n        // Parse range.\n        if (inputStream.eat('%')) {\n          result.line = cm.firstLine();\n          result.lineEnd = cm.lastLine();\n        } else {\n          result.line = this.parseLineSpec_(cm, inputStream);\n          if (result.line !== undefined && inputStream.eat(',')) {\n            result.lineEnd = this.parseLineSpec_(cm, inputStream);\n          }\n        }\n\n        // Parse command name.\n        var commandMatch = inputStream.match(/^(\\w+)/);\n        if (commandMatch) {\n          result.commandName = commandMatch[1];\n        } else {\n          result.commandName = inputStream.match(/.*/)[0];\n        }\n\n        return result;\n      },\n      parseLineSpec_: function(cm, inputStream) {\n        var numberMatch = inputStream.match(/^(\\d+)/);\n        if (numberMatch) {\n          return parseInt(numberMatch[1], 10) - 1;\n        }\n        switch (inputStream.next()) {\n          case '.':\n            return cm.getCursor().line;\n          case '$':\n            return cm.lastLine();\n          case '\\'':\n            var mark = cm.state.vim.marks[inputStream.next()];\n            if (mark && mark.find()) {\n              return mark.find().line;\n            }\n            throw new Error('Mark not set');\n          default:\n            inputStream.backUp(1);\n            return undefined;\n        }\n      },\n      parseCommandArgs_: function(inputStream, params, command) {\n        if (inputStream.eol()) {\n          return;\n        }\n        params.argString = inputStream.match(/.*/)[0];\n        // Parse command-line arguments\n        var delim = command.argDelimiter || /\\s+/;\n        var args = trim(params.argString).split(delim);\n        if (args.length && args[0]) {\n          params.args = args;\n        }\n      },\n      matchCommand_: function(commandName) {\n        // Return the command in the command map that matches the shortest\n        // prefix of the passed in command name. The match is guaranteed to be\n        // unambiguous if the defaultExCommandMap's shortNames are set up\n        // correctly. (see @code{defaultExCommandMap}).\n        for (var i = commandName.length; i > 0; i--) {\n          var prefix = commandName.substring(0, i);\n          if (this.commandMap_[prefix]) {\n            var command = this.commandMap_[prefix];\n            if (command.name.indexOf(commandName) === 0) {\n              return command;\n            }\n          }\n        }\n        return null;\n      },\n      buildCommandMap_: function() {\n        this.commandMap_ = {};\n        for (var i = 0; i < defaultExCommandMap.length; i++) {\n          var command = defaultExCommandMap[i];\n          var key = command.shortName || command.name;\n          this.commandMap_[key] = command;\n        }\n      },\n      map: function(lhs, rhs) {\n        if (lhs != ':' && lhs.charAt(0) == ':') {\n          var commandName = lhs.substring(1);\n          if (rhs != ':' && rhs.charAt(0) == ':') {\n            // Ex to Ex mapping\n            this.commandMap_[commandName] = {\n              name: commandName,\n              type: 'exToEx',\n              toInput: rhs.substring(1)\n            };\n          } else {\n            // Ex to key mapping\n            this.commandMap_[commandName] = {\n              name: commandName,\n              type: 'exToKey',\n              toKeys: parseKeyString(rhs)\n            };\n          }\n        } else {\n          if (rhs != ':' && rhs.charAt(0) == ':') {\n            // Key to Ex mapping.\n            defaultKeymap.unshift({\n              keys: parseKeyString(lhs),\n              type: 'keyToEx',\n              exArgs: { input: rhs.substring(1) }});\n          } else {\n            // Key to key mapping\n            defaultKeymap.unshift({\n              keys: parseKeyString(lhs),\n              type: 'keyToKey',\n              toKeys: parseKeyString(rhs)\n            });\n          }\n        }\n      }\n    };\n\n    // Converts a key string sequence of the form a<C-w>bd<Left> into Vim's\n    // keymap representation.\n    function parseKeyString(str) {\n      var key, match;\n      var keys = [];\n      while (str) {\n        match = (/<\\w+-.+?>|<\\w+>|./).exec(str);\n        if(match === null)break;\n        key = match[0];\n        str = str.substring(match.index + key.length);\n        keys.push(key);\n      }\n      return keys;\n    }\n\n    var exCommands = {\n      map: function(cm, params) {\n        var mapArgs = params.args;\n        if (!mapArgs || mapArgs.length < 2) {\n          if (cm) {\n            showConfirm(cm, 'Invalid mapping: ' + params.input);\n          }\n          return;\n        }\n        exCommandDispatcher.map(mapArgs[0], mapArgs[1], cm);\n      },\n      move: function(cm, params) {\n        commandDispatcher.processCommand(cm, cm.state.vim, {\n            type: 'motion',\n            motion: 'moveToLineOrEdgeOfDocument',\n            motionArgs: { forward: false, explicitRepeat: true,\n              linewise: true },\n            repeatOverride: params.line+1});\n      },\n      sort: function(cm, params) {\n        var reverse, ignoreCase, unique, number;\n        function parseArgs() {\n          if (params.argString) {\n            var args = new CodeMirror.StringStream(params.argString);\n            if (args.eat('!')) { reverse = true; }\n            if (args.eol()) { return; }\n            if (!args.eatSpace()) { throw new Error('invalid arguments ' + args.match(/.*/)[0]); }\n            var opts = args.match(/[a-z]+/);\n            if (opts) {\n              opts = opts[0];\n              ignoreCase = opts.indexOf('i') != -1;\n              unique = opts.indexOf('u') != -1;\n              var decimal = opts.indexOf('d') != -1 && 1;\n              var hex = opts.indexOf('x') != -1 && 1;\n              var octal = opts.indexOf('o') != -1 && 1;\n              if (decimal + hex + octal > 1) { throw new Error('invalid arguments'); }\n              number = decimal && 'decimal' || hex && 'hex' || octal && 'octal';\n            }\n            if (args.eatSpace() && args.match(/\\/.*\\//)) { throw new Error('patterns not supported'); }\n          }\n        }\n        parseArgs();\n        var lineStart = params.line || cm.firstLine();\n        var lineEnd = params.lineEnd || params.line || cm.lastLine();\n        if (lineStart == lineEnd) { return; }\n        var curStart = { line: lineStart, ch: 0 };\n        var curEnd = { line: lineEnd, ch: lineLength(cm, lineEnd) };\n        var text = cm.getRange(curStart, curEnd).split('\\n');\n        var numberRegex = (number == 'decimal') ? /(-?)([\\d]+)/ :\n           (number == 'hex') ? /(-?)(?:0x)?([0-9a-f]+)/i :\n           (number == 'octal') ? /([0-7]+)/ : null;\n        var radix = (number == 'decimal') ? 10 : (number == 'hex') ? 16 : (number == 'octal') ? 8 : null;\n        var numPart = [], textPart = [];\n        if (number) {\n          for (var i = 0; i < text.length; i++) {\n            if (numberRegex.exec(text[i])) {\n              numPart.push(text[i]);\n            } else {\n              textPart.push(text[i]);\n            }\n          }\n        } else {\n          textPart = text;\n        }\n        function compareFn(a, b) {\n          if (reverse) { var tmp; tmp = a; a = b; b = tmp; }\n          if (ignoreCase) { a = a.toLowerCase(); b = b.toLowerCase(); }\n          var anum = number && numberRegex.exec(a);\n          var bnum = number && numberRegex.exec(b);\n          if (!anum) { return a < b ? -1 : 1; }\n          anum = parseInt((anum[1] + anum[2]).toLowerCase(), radix);\n          bnum = parseInt((bnum[1] + bnum[2]).toLowerCase(), radix);\n          return anum - bnum;\n        }\n        numPart.sort(compareFn);\n        textPart.sort(compareFn);\n        text = (!reverse) ? textPart.concat(numPart) : numPart.concat(textPart);\n        if (unique) { // Remove duplicate lines\n          var textOld = text;\n          var lastLine;\n          text = [];\n          for (var i = 0; i < textOld.length; i++) {\n            if (textOld[i] != lastLine) {\n              text.push(textOld[i]);\n            }\n            lastLine = textOld[i];\n          }\n        }\n        cm.replaceRange(text.join('\\n'), curStart, curEnd);\n      },\n      substitute: function(cm, params) {\n        if (!cm.getSearchCursor) {\n          throw new Error('Search feature not available. Requires searchcursor.js or ' +\n              'any other getSearchCursor implementation.');\n        }\n        var argString = params.argString;\n        var slashes = findUnescapedSlashes(argString);\n        if (slashes[0] !== 0) {\n          showConfirm(cm, 'Substitutions should be of the form ' +\n              ':s/pattern/replace/');\n          return;\n        }\n        var regexPart = argString.substring(slashes[0] + 1, slashes[1]);\n        var replacePart = '';\n        var flagsPart;\n        var count;\n        var confirm = false; // Whether to confirm each replace.\n        if (slashes[1]) {\n          replacePart = argString.substring(slashes[1] + 1, slashes[2]);\n        }\n        if (slashes[2]) {\n          // After the 3rd slash, we can have flags followed by a space followed\n          // by count.\n          var trailing = argString.substring(slashes[2] + 1).split(' ');\n          flagsPart = trailing[0];\n          count = parseInt(trailing[1]);\n        }\n        if (flagsPart) {\n          if (flagsPart.indexOf('c') != -1) {\n            confirm = true;\n            flagsPart.replace('c', '');\n          }\n          regexPart = regexPart + '/' + flagsPart;\n        }\n        if (regexPart) {\n          // If regex part is empty, then use the previous query. Otherwise use\n          // the regex part as the new query.\n          try {\n            updateSearchQuery(cm, regexPart, true /** ignoreCase */,\n              true /** smartCase */);\n          } catch (e) {\n            showConfirm(cm, 'Invalid regex: ' + regexPart);\n            return;\n          }\n        }\n        var state = getSearchState(cm);\n        var query = state.getQuery();\n        var lineStart = (params.line !== undefined) ? params.line : cm.getCursor().line;\n        var lineEnd = params.lineEnd || lineStart;\n        if (count) {\n          lineStart = lineEnd;\n          lineEnd = lineStart + count - 1;\n        }\n        var startPos = clipCursorToContent(cm, { line: lineStart, ch: 0 });\n        var cursor = cm.getSearchCursor(query, startPos);\n        doReplace(cm, confirm, lineStart, lineEnd, cursor, query, replacePart);\n      },\n      redo: CodeMirror.commands.redo,\n      undo: CodeMirror.commands.undo,\n      write: function(cm) {\n        if (CodeMirror.commands.save) {\n          // If a save command is defined, call it.\n          CodeMirror.commands.save(cm);\n        } else {\n          // Saves to text area if no save command is defined.\n          cm.save();\n        }\n      },\n      nohlsearch: function(cm) {\n        clearSearchHighlight(cm);\n      },\n      delmarks: function(cm, params) {\n        if (!params.argString || !params.argString.trim()) {\n          showConfirm(cm, 'Argument required');\n          return;\n        }\n\n        var state = cm.state.vim;\n        var stream = new CodeMirror.StringStream(params.argString.trim());\n        while (!stream.eol()) {\n          stream.eatSpace();\n\n          // Record the streams position at the beginning of the loop for use\n          // in error messages.\n          var count = stream.pos;\n\n          if (!stream.match(/[a-zA-Z]/, false)) {\n            showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));\n            return;\n          }\n\n          var sym = stream.next();\n          // Check if this symbol is part of a range\n          if (stream.match('-', true)) {\n            // This symbol is part of a range.\n\n            // The range must terminate at an alphabetic character.\n            if (!stream.match(/[a-zA-Z]/, false)) {\n              showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));\n              return;\n            }\n\n            var startMark = sym;\n            var finishMark = stream.next();\n            // The range must terminate at an alphabetic character which\n            // shares the same case as the start of the range.\n            if (isLowerCase(startMark) && isLowerCase(finishMark) ||\n                isUpperCase(startMark) && isUpperCase(finishMark)) {\n              var start = startMark.charCodeAt(0);\n              var finish = finishMark.charCodeAt(0);\n              if (start >= finish) {\n                showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));\n                return;\n              }\n\n              // Because marks are always ASCII values, and we have\n              // determined that they are the same case, we can use\n              // their char codes to iterate through the defined range.\n              for (var j = 0; j <= finish - start; j++) {\n                var mark = String.fromCharCode(start + j);\n                delete state.marks[mark];\n              }\n            } else {\n              showConfirm(cm, 'Invalid argument: ' + startMark + '-');\n              return;\n            }\n          } else {\n            // This symbol is a valid mark, and is not part of a range.\n            delete state.marks[sym];\n          }\n        }\n      }\n    };\n\n    var exCommandDispatcher = new Vim.ExCommandDispatcher();\n\n    /**\n    * @param {CodeMirror} cm CodeMirror instance we are in.\n    * @param {boolean} confirm Whether to confirm each replace.\n    * @param {Cursor} lineStart Line to start replacing from.\n    * @param {Cursor} lineEnd Line to stop replacing at.\n    * @param {RegExp} query Query for performing matches with.\n    * @param {string} replaceWith Text to replace matches with. May contain $1,\n    *     $2, etc for replacing captured groups using Javascript replace.\n    */\n    function doReplace(cm, confirm, lineStart, lineEnd, searchCursor, query,\n        replaceWith) {\n      // Set up all the functions.\n      cm.state.vim.exMode = true;\n      var done = false;\n      var lastPos = searchCursor.from();\n      function replaceAll() {\n        cm.operation(function() {\n          while (!done) {\n            replace();\n            next();\n          }\n          stop();\n        });\n      }\n      function replace() {\n        var text = cm.getRange(searchCursor.from(), searchCursor.to());\n        var newText = text.replace(query, replaceWith);\n        searchCursor.replace(newText);\n      }\n      function next() {\n        var found = searchCursor.findNext();\n        if (!found) {\n          done = true;\n        } else if (isInRange(searchCursor.from(), lineStart, lineEnd)) {\n          cm.scrollIntoView(searchCursor.from(), 30);\n          cm.setSelection(searchCursor.from(), searchCursor.to());\n          lastPos = searchCursor.from();\n          done = false;\n        } else {\n          done = true;\n        }\n      }\n      function stop(close) {\n        if (close) { close(); }\n        cm.focus();\n        if (lastPos) {\n          cm.setCursor(lastPos);\n          var vim = cm.state.vim;\n          vim.exMode = false;\n          vim.lastHPos = vim.lastHSPos = lastPos.ch;\n        }\n      }\n      function onPromptKeyDown(e, _value, close) {\n        // Swallow all keys.\n        CodeMirror.e_stop(e);\n        var keyName = CodeMirror.keyName(e);\n        switch (keyName) {\n          case 'Y':\n            replace(); next(); break;\n          case 'N':\n            next(); break;\n          case 'A':\n            cm.operation(replaceAll); break;\n          case 'L':\n            replace();\n            // fall through and exit.\n          case 'Q':\n          case 'Esc':\n          case 'Ctrl-C':\n          case 'Ctrl-[':\n            stop(close);\n            break;\n        }\n        if (done) { stop(close); }\n      }\n\n      // Actually do replace.\n      next();\n      if (done) {\n        throw new Error('No matches for ' + query.source);\n      }\n      if (!confirm) {\n        replaceAll();\n        return;\n      }\n      showPrompt(cm, {\n        prefix: 'replace with <strong>' + replaceWith + '</strong> (y/n/a/q/l)',\n        onKeyDown: onPromptKeyDown\n      });\n    }\n\n    // Register Vim with CodeMirror\n    function buildVimKeyMap() {\n      /**\n       * Handle the raw key event from CodeMirror. Translate the\n       * Shift + key modifier to the resulting letter, while preserving other\n       * modifers.\n       */\n      // TODO: Figure out a way to catch capslock.\n      function cmKeyToVimKey(key, modifier) {\n        var vimKey = key;\n        if (isUpperCase(vimKey)) {\n          // Convert to lower case if shift is not the modifier since the key\n          // we get from CodeMirror is always upper case.\n          if (modifier == 'Shift') {\n            modifier = null;\n          }\n          else {\n            vimKey = vimKey.toLowerCase();\n          }\n        }\n        if (modifier) {\n          // Vim will parse modifier+key combination as a single key.\n          vimKey = modifier.charAt(0) + '-' + vimKey;\n        }\n        var specialKey = ({Enter:'CR',Backspace:'BS',Delete:'Del'})[vimKey];\n        vimKey = specialKey ? specialKey : vimKey;\n        vimKey = vimKey.length > 1 ? '<'+ vimKey + '>' : vimKey;\n        return vimKey;\n      }\n\n      // Closure to bind CodeMirror, key, modifier.\n      function keyMapper(vimKey) {\n        return function(cm) {\n          CodeMirror.Vim.handleKey(cm, vimKey);\n        };\n      }\n\n      var cmToVimKeymap = {\n        'nofallthrough': true,\n        'disableInput': true,\n        'style': 'fat-cursor'\n      };\n      function bindKeys(keys, modifier) {\n        for (var i = 0; i < keys.length; i++) {\n          var key = keys[i];\n          if (!modifier && inArray(key, specialSymbols)) {\n            // Wrap special symbols with '' because that's how CodeMirror binds\n            // them.\n            key = \"'\" + key + \"'\";\n          }\n          var vimKey = cmKeyToVimKey(keys[i], modifier);\n          var cmKey = modifier ? modifier + '-' + key : key;\n          cmToVimKeymap[cmKey] = keyMapper(vimKey);\n        }\n      }\n      bindKeys(upperCaseAlphabet);\n      bindKeys(upperCaseAlphabet, 'Shift');\n      bindKeys(upperCaseAlphabet, 'Ctrl');\n      bindKeys(specialSymbols);\n      bindKeys(specialSymbols, 'Ctrl');\n      bindKeys(numbers);\n      bindKeys(numbers, 'Ctrl');\n      bindKeys(specialKeys);\n      bindKeys(specialKeys, 'Ctrl');\n      return cmToVimKeymap;\n    }\n    CodeMirror.keyMap.vim = buildVimKeyMap();\n\n    function exitInsertMode(cm) {\n      var vim = cm.state.vim;\n      var inReplay = vimGlobalState.macroModeState.inReplay;\n      if (!inReplay) {\n        cm.off('change', onChange);\n        cm.off('cursorActivity', onCursorActivity);\n        CodeMirror.off(cm.getInputField(), 'keydown', onKeyEventTargetKeyDown);\n      }\n      if (!inReplay && vim.insertModeRepeat > 1) {\n        // Perform insert mode repeat for commands like 3,a and 3,o.\n        repeatLastEdit(cm, vim, vim.insertModeRepeat - 1,\n            true /** repeatForInsert */);\n        vim.lastEditInputState.repeatOverride = vim.insertModeRepeat;\n      }\n      delete vim.insertModeRepeat;\n      cm.setCursor(cm.getCursor().line, cm.getCursor().ch-1, true);\n      vim.insertMode = false;\n      cm.setOption('keyMap', 'vim');\n      cm.toggleOverwrite(false); // exit replace mode if we were in it.\n      CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"normal\"});\n    }\n\n    CodeMirror.keyMap['vim-insert'] = {\n      // TODO: override navigation keys so that Esc will cancel automatic\n      // indentation from o, O, i_<CR>\n      'Esc': exitInsertMode,\n      'Ctrl-[': exitInsertMode,\n      'Ctrl-C': exitInsertMode,\n      'Ctrl-N': 'autocomplete',\n      'Ctrl-P': 'autocomplete',\n      'Enter': function(cm) {\n        var fn = CodeMirror.commands.newlineAndIndentContinueComment ||\n            CodeMirror.commands.newlineAndIndent;\n        fn(cm);\n      },\n      fallthrough: ['default']\n    };\n\n    CodeMirror.keyMap['vim-replace'] = {\n      'Backspace': 'goCharLeft',\n      fallthrough: ['vim-insert']\n    };\n\n    function parseRegisterToKeyBuffer(macroModeState, registerName) {\n      var match, key;\n      var register = vimGlobalState.registerController.getRegister(registerName);\n      var text = register.toString();\n      var macroKeyBuffer = macroModeState.macroKeyBuffer;\n      emptyMacroKeyBuffer(macroModeState);\n      do {\n        match = (/<\\w+-.+?>|<\\w+>|./).exec(text);\n        if(match === null)break;\n        key = match[0];\n        text = text.substring(match.index + key.length);\n        macroKeyBuffer.push(key);\n      } while (text);\n      return macroKeyBuffer;\n    }\n\n    function parseKeyBufferToRegister(registerName, keyBuffer) {\n      var text = keyBuffer.join('');\n      vimGlobalState.registerController.setRegisterText(registerName, text);\n    }\n\n    function emptyMacroKeyBuffer(macroModeState) {\n      if(macroModeState.isMacroPlaying)return;\n      var macroKeyBuffer = macroModeState.macroKeyBuffer;\n      macroKeyBuffer.length = 0;\n    }\n\n    function executeMacroKeyBuffer(cm, macroModeState, keyBuffer) {\n      macroModeState.isMacroPlaying = true;\n      for (var i = 0, len = keyBuffer.length; i < len; i++) {\n        CodeMirror.Vim.handleKey(cm, keyBuffer[i]);\n      };\n      macroModeState.isMacroPlaying = false;\n    }\n\n    function logKey(macroModeState, key) {\n      if(macroModeState.isMacroPlaying)return;\n      var macroKeyBuffer = macroModeState.macroKeyBuffer;\n      macroKeyBuffer.push(key);\n    }\n\n    /**\n     * Listens for changes made in insert mode.\n     * Should only be active in insert mode.\n     */\n    function onChange(_cm, changeObj) {\n      var macroModeState = vimGlobalState.macroModeState;\n      var lastChange = macroModeState.lastInsertModeChanges;\n      while (changeObj) {\n        lastChange.expectCursorActivityForChange = true;\n        if (changeObj.origin == '+input' || changeObj.origin == 'paste'\n            || changeObj.origin === undefined /* only in testing */) {\n          var text = changeObj.text.join('\\n');\n          lastChange.changes.push(text);\n        }\n        // Change objects may be chained with next.\n        changeObj = changeObj.next;\n      }\n    }\n\n    /**\n    * Listens for any kind of cursor activity on CodeMirror.\n    * - For tracking cursor activity in insert mode.\n    * - Should only be active in insert mode.\n    */\n    function onCursorActivity() {\n      var macroModeState = vimGlobalState.macroModeState;\n      var lastChange = macroModeState.lastInsertModeChanges;\n      if (lastChange.expectCursorActivityForChange) {\n        lastChange.expectCursorActivityForChange = false;\n      } else {\n        // Cursor moved outside the context of an edit. Reset the change.\n        lastChange.changes = [];\n      }\n    }\n\n    /** Wrapper for special keys pressed in insert mode */\n    function InsertModeKey(keyName) {\n      this.keyName = keyName;\n    }\n\n    /**\n    * Handles raw key down events from the text area.\n    * - Should only be active in insert mode.\n    * - For recording deletes in insert mode.\n    */\n    function onKeyEventTargetKeyDown(e) {\n      var macroModeState = vimGlobalState.macroModeState;\n      var lastChange = macroModeState.lastInsertModeChanges;\n      var keyName = CodeMirror.keyName(e);\n      function onKeyFound() {\n        lastChange.changes.push(new InsertModeKey(keyName));\n        return true;\n      }\n      if (keyName.indexOf('Delete') != -1 || keyName.indexOf('Backspace') != -1) {\n        CodeMirror.lookupKey(keyName, ['vim-insert'], onKeyFound);\n      }\n    }\n\n    /**\n     * Repeats the last edit, which includes exactly 1 command and at most 1\n     * insert. Operator and motion commands are read from lastEditInputState,\n     * while action commands are read from lastEditActionCommand.\n     *\n     * If repeatForInsert is true, then the function was called by\n     * exitInsertMode to repeat the insert mode changes the user just made. The\n     * corresponding enterInsertMode call was made with a count.\n     */\n    function repeatLastEdit(cm, vim, repeat, repeatForInsert) {\n      var macroModeState = vimGlobalState.macroModeState;\n      macroModeState.inReplay = true;\n      var isAction = !!vim.lastEditActionCommand;\n      var cachedInputState = vim.inputState;\n      function repeatCommand() {\n        if (isAction) {\n          commandDispatcher.processAction(cm, vim, vim.lastEditActionCommand);\n        } else {\n          commandDispatcher.evalInput(cm, vim);\n        }\n      }\n      function repeatInsert(repeat) {\n        if (macroModeState.lastInsertModeChanges.changes.length > 0) {\n          // For some reason, repeat cw in desktop VIM will does not repeat\n          // insert mode changes. Will conform to that behavior.\n          repeat = !vim.lastEditActionCommand ? 1 : repeat;\n          repeatLastInsertModeChanges(cm, repeat, macroModeState);\n        }\n      }\n      vim.inputState = vim.lastEditInputState;\n      if (isAction && vim.lastEditActionCommand.interlaceInsertRepeat) {\n        // o and O repeat have to be interlaced with insert repeats so that the\n        // insertions appear on separate lines instead of the last line.\n        for (var i = 0; i < repeat; i++) {\n          repeatCommand();\n          repeatInsert(1);\n        }\n      } else {\n        if (!repeatForInsert) {\n          // Hack to get the cursor to end up at the right place. If I is\n          // repeated in insert mode repeat, cursor will be 1 insert\n          // change set left of where it should be.\n          repeatCommand();\n        }\n        repeatInsert(repeat);\n      }\n      vim.inputState = cachedInputState;\n      if (vim.insertMode && !repeatForInsert) {\n        // Don't exit insert mode twice. If repeatForInsert is set, then we\n        // were called by an exitInsertMode call lower on the stack.\n        exitInsertMode(cm);\n      }\n      macroModeState.inReplay = false;\n    };\n\n    function repeatLastInsertModeChanges(cm, repeat, macroModeState) {\n      var lastChange = macroModeState.lastInsertModeChanges;\n      function keyHandler(binding) {\n        if (typeof binding == 'string') {\n          CodeMirror.commands[binding](cm);\n        } else {\n          binding(cm);\n        }\n        return true;\n      }\n      for (var i = 0; i < repeat; i++) {\n        for (var j = 0; j < lastChange.changes.length; j++) {\n          var change = lastChange.changes[j];\n          if (change instanceof InsertModeKey) {\n            CodeMirror.lookupKey(change.keyName, ['vim-insert'], keyHandler);\n          } else {\n            var cur = cm.getCursor();\n            cm.replaceRange(change, cur, cur);\n          }\n        }\n      }\n    }\n\n    resetVimGlobalState();\n    return vimApi;\n  };\n  // Initialize Vim and make it available as an API.\n  CodeMirror.Vim = Vim();\n}\n)();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/lib/codemirror.css",
    "content": "/* BASICS */\n\n.CodeMirror {\n  /* Set height, width, borders, and global font properties here */\n  font-family: monospace;\n  height: 300px;\n}\n.CodeMirror-scroll {\n  /* Set scrolling behaviour here */\n  overflow: auto;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n  padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre {\n  padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n  border-right: 1px solid #ddd;\n  background-color: #f7f7f7;\n  white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n  padding: 0 3px 0 5px;\n  min-width: 20px;\n  text-align: right;\n  color: #999;\n}\n\n/* CURSOR */\n\n.CodeMirror div.CodeMirror-cursor {\n  border-left: 1px solid black;\n  z-index: 3;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n  border-left: 1px solid silver;\n}\n.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {\n  width: auto;\n  border: 0;\n  background: #7e7;\n  z-index: 1;\n}\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {}\n\n.cm-tab { display: inline-block; }\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable {color: black;}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3 {color: #085;}\n.cm-s-default .cm-property {color: black;}\n.cm-s-default .cm-operator {color: black;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n   the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n  line-height: 1;\n  position: relative;\n  overflow: hidden;\n  background: white;\n  color: black;\n}\n\n.CodeMirror-scroll {\n  /* 30px is the magic margin used to hide the element's real scrollbars */\n  /* See overflow: hidden in .CodeMirror */\n  margin-bottom: -30px; margin-right: -30px;\n  padding-bottom: 30px; padding-right: 30px;\n  height: 100%;\n  outline: none; /* Prevent dragging from highlighting the element */\n  position: relative;\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n}\n.CodeMirror-sizer {\n  position: relative;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n   before actuall scrolling happens, thus preventing shaking and\n   flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n  position: absolute;\n  z-index: 6;\n  display: none;\n}\n.CodeMirror-vscrollbar {\n  right: 0; top: 0;\n  overflow-x: hidden;\n  overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n  bottom: 0; left: 0;\n  overflow-y: hidden;\n  overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n  right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n  left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n  position: absolute; left: 0; top: 0;\n  padding-bottom: 30px;\n  z-index: 3;\n}\n.CodeMirror-gutter {\n  white-space: normal;\n  height: 100%;\n  -moz-box-sizing: content-box;\n  box-sizing: content-box;\n  padding-bottom: 30px;\n  margin-bottom: -32px;\n  display: inline-block;\n  /* Hack to make IE7 behave */\n  *zoom:1;\n  *display:inline;\n}\n.CodeMirror-gutter-elt {\n  position: absolute;\n  cursor: default;\n  z-index: 4;\n}\n\n.CodeMirror-lines {\n  cursor: text;\n}\n.CodeMirror pre {\n  /* Reset some styles that the rest of the page might have set */\n  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n  border-width: 0;\n  background: transparent;\n  font-family: inherit;\n  font-size: inherit;\n  margin: 0;\n  white-space: pre;\n  word-wrap: normal;\n  line-height: inherit;\n  color: inherit;\n  z-index: 2;\n  position: relative;\n  overflow: visible;\n}\n.CodeMirror-wrap pre {\n  word-wrap: break-word;\n  white-space: pre-wrap;\n  word-break: normal;\n}\n.CodeMirror-code pre {\n  border-right: 30px solid transparent;\n  width: -webkit-fit-content;\n  width: -moz-fit-content;\n  width: fit-content;\n}\n.CodeMirror-wrap .CodeMirror-code pre {\n  border-right: none;\n  width: auto;\n}\n.CodeMirror-linebackground {\n  position: absolute;\n  left: 0; right: 0; top: 0; bottom: 0;\n  z-index: 0;\n}\n\n.CodeMirror-linewidget {\n  position: relative;\n  z-index: 2;\n  overflow: auto;\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-wrap .CodeMirror-scroll {\n  overflow-x: hidden;\n}\n\n.CodeMirror-measure {\n  position: absolute;\n  width: 100%;\n  height: 0;\n  overflow: hidden;\n  visibility: hidden;\n}\n.CodeMirror-measure pre { position: static; }\n\n.CodeMirror div.CodeMirror-cursor {\n  position: absolute;\n  visibility: hidden;\n  border-right: none;\n  width: 0;\n}\n.CodeMirror-focused div.CodeMirror-cursor {\n  visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n\n.cm-searching {\n  background: #ffa;\n  background: rgba(255, 255, 0, .4);\n}\n\n/* IE7 hack to prevent it from returning funny offsetTops on the spans */\n.CodeMirror span { *vertical-align: text-bottom; }\n\n@media print {\n  /* Hide the cursor when printing */\n  .CodeMirror div.CodeMirror-cursor {\n    visibility: hidden;\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/lib/codemirror.js",
    "content": "// CodeMirror version 3.20\n//\n// CodeMirror is the only global var we claim\nwindow.CodeMirror = (function() {\n  \"use strict\";\n\n  // BROWSER SNIFFING\n\n  // Crude, but necessary to handle a number of hard-to-feature-detect\n  // bugs and behavior differences.\n  var gecko = /gecko\\/\\d/i.test(navigator.userAgent);\n  // IE11 currently doesn't count as 'ie', since it has almost none of\n  // the same bugs as earlier versions. Use ie_gt10 to handle\n  // incompatibilities in that version.\n  var ie = /MSIE \\d/.test(navigator.userAgent);\n  var ie_lt8 = ie && (document.documentMode == null || document.documentMode < 8);\n  var ie_lt9 = ie && (document.documentMode == null || document.documentMode < 9);\n  var ie_gt10 = /Trident\\/([7-9]|\\d{2,})\\./.test(navigator.userAgent);\n  var webkit = /WebKit\\//.test(navigator.userAgent);\n  var qtwebkit = webkit && /Qt\\/\\d+\\.\\d+/.test(navigator.userAgent);\n  var chrome = /Chrome\\//.test(navigator.userAgent);\n  var opera = /Opera\\//.test(navigator.userAgent);\n  var safari = /Apple Computer/.test(navigator.vendor);\n  var khtml = /KHTML\\//.test(navigator.userAgent);\n  var mac_geLion = /Mac OS X 1\\d\\D([7-9]|\\d\\d)\\D/.test(navigator.userAgent);\n  var mac_geMountainLion = /Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(navigator.userAgent);\n  var phantom = /PhantomJS/.test(navigator.userAgent);\n\n  var ios = /AppleWebKit/.test(navigator.userAgent) && /Mobile\\/\\w+/.test(navigator.userAgent);\n  // This is woefully incomplete. Suggestions for alternative methods welcome.\n  var mobile = ios || /Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(navigator.userAgent);\n  var mac = ios || /Mac/.test(navigator.platform);\n  var windows = /win/i.test(navigator.platform);\n\n  var opera_version = opera && navigator.userAgent.match(/Version\\/(\\d*\\.\\d*)/);\n  if (opera_version) opera_version = Number(opera_version[1]);\n  if (opera_version && opera_version >= 15) { opera = false; webkit = true; }\n  // Some browsers use the wrong event properties to signal cmd/ctrl on OS X\n  var flipCtrlCmd = mac && (qtwebkit || opera && (opera_version == null || opera_version < 12.11));\n  var captureMiddleClick = gecko || (ie && !ie_lt9);\n\n  // Optimize some code when these features are not used\n  var sawReadOnlySpans = false, sawCollapsedSpans = false;\n\n  // CONSTRUCTOR\n\n  function CodeMirror(place, options) {\n    if (!(this instanceof CodeMirror)) return new CodeMirror(place, options);\n\n    this.options = options = options || {};\n    // Determine effective options based on given values and defaults.\n    for (var opt in defaults) if (!options.hasOwnProperty(opt) && defaults.hasOwnProperty(opt))\n      options[opt] = defaults[opt];\n    setGuttersForLineNumbers(options);\n\n    var docStart = typeof options.value == \"string\" ? 0 : options.value.first;\n    var display = this.display = makeDisplay(place, docStart);\n    display.wrapper.CodeMirror = this;\n    updateGutters(this);\n    if (options.autofocus && !mobile) focusInput(this);\n\n    this.state = {keyMaps: [],\n                  overlays: [],\n                  modeGen: 0,\n                  overwrite: false, focused: false,\n                  suppressEdits: false, pasteIncoming: false,\n                  draggingText: false,\n                  highlight: new Delayed()};\n\n    themeChanged(this);\n    if (options.lineWrapping)\n      this.display.wrapper.className += \" CodeMirror-wrap\";\n\n    var doc = options.value;\n    if (typeof doc == \"string\") doc = new Doc(options.value, options.mode);\n    operation(this, attachDoc)(this, doc);\n\n    // Override magic textarea content restore that IE sometimes does\n    // on our hidden textarea on reload\n    if (ie) setTimeout(bind(resetInput, this, true), 20);\n\n    registerEventHandlers(this);\n    // IE throws unspecified error in certain cases, when\n    // trying to access activeElement before onload\n    var hasFocus; try { hasFocus = (document.activeElement == display.input); } catch(e) { }\n    if (hasFocus || (options.autofocus && !mobile)) setTimeout(bind(onFocus, this), 20);\n    else onBlur(this);\n\n    operation(this, function() {\n      for (var opt in optionHandlers)\n        if (optionHandlers.propertyIsEnumerable(opt))\n          optionHandlers[opt](this, options[opt], Init);\n      for (var i = 0; i < initHooks.length; ++i) initHooks[i](this);\n    })();\n  }\n\n  // DISPLAY CONSTRUCTOR\n\n  function makeDisplay(place, docStart) {\n    var d = {};\n\n    var input = d.input = elt(\"textarea\", null, null, \"position: absolute; padding: 0; width: 1px; height: 1em; outline: none; font-size: 4px;\");\n    if (webkit) input.style.width = \"1000px\";\n    else input.setAttribute(\"wrap\", \"off\");\n    // if border: 0; -- iOS fails to open keyboard (issue #1287)\n    if (ios) input.style.border = \"1px solid black\";\n    input.setAttribute(\"autocorrect\", \"off\"); input.setAttribute(\"autocapitalize\", \"off\"); input.setAttribute(\"spellcheck\", \"false\");\n\n    // Wraps and hides input textarea\n    d.inputDiv = elt(\"div\", [input], null, \"overflow: hidden; position: relative; width: 3px; height: 0px;\");\n    // The actual fake scrollbars.\n    d.scrollbarH = elt(\"div\", [elt(\"div\", null, null, \"height: 1px\")], \"CodeMirror-hscrollbar\");\n    d.scrollbarV = elt(\"div\", [elt(\"div\", null, null, \"width: 1px\")], \"CodeMirror-vscrollbar\");\n    d.scrollbarFiller = elt(\"div\", null, \"CodeMirror-scrollbar-filler\");\n    d.gutterFiller = elt(\"div\", null, \"CodeMirror-gutter-filler\");\n    // DIVs containing the selection and the actual code\n    d.lineDiv = elt(\"div\", null, \"CodeMirror-code\");\n    d.selectionDiv = elt(\"div\", null, null, \"position: relative; z-index: 1\");\n    // Blinky cursor, and element used to ensure cursor fits at the end of a line\n    d.cursor = elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor\");\n    // Secondary cursor, shown when on a 'jump' in bi-directional text\n    d.otherCursor = elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor CodeMirror-secondarycursor\");\n    // Used to measure text size\n    d.measure = elt(\"div\", null, \"CodeMirror-measure\");\n    // Wraps everything that needs to exist inside the vertically-padded coordinate system\n    d.lineSpace = elt(\"div\", [d.measure, d.selectionDiv, d.lineDiv, d.cursor, d.otherCursor],\n                         null, \"position: relative; outline: none\");\n    // Moved around its parent to cover visible view\n    d.mover = elt(\"div\", [elt(\"div\", [d.lineSpace], \"CodeMirror-lines\")], null, \"position: relative\");\n    // Set to the height of the text, causes scrolling\n    d.sizer = elt(\"div\", [d.mover], \"CodeMirror-sizer\");\n    // D is needed because behavior of elts with overflow: auto and padding is inconsistent across browsers\n    d.heightForcer = elt(\"div\", null, null, \"position: absolute; height: \" + scrollerCutOff + \"px; width: 1px;\");\n    // Will contain the gutters, if any\n    d.gutters = elt(\"div\", null, \"CodeMirror-gutters\");\n    d.lineGutter = null;\n    // Provides scrolling\n    d.scroller = elt(\"div\", [d.sizer, d.heightForcer, d.gutters], \"CodeMirror-scroll\");\n    d.scroller.setAttribute(\"tabIndex\", \"-1\");\n    // The element in which the editor lives.\n    d.wrapper = elt(\"div\", [d.inputDiv, d.scrollbarH, d.scrollbarV,\n                            d.scrollbarFiller, d.gutterFiller, d.scroller], \"CodeMirror\");\n    // Work around IE7 z-index bug\n    if (ie_lt8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; }\n    if (place.appendChild) place.appendChild(d.wrapper); else place(d.wrapper);\n\n    // Needed to hide big blue blinking cursor on Mobile Safari\n    if (ios) input.style.width = \"0px\";\n    if (!webkit) d.scroller.draggable = true;\n    // Needed to handle Tab key in KHTML\n    if (khtml) { d.inputDiv.style.height = \"1px\"; d.inputDiv.style.position = \"absolute\"; }\n    // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8).\n    else if (ie_lt8) d.scrollbarH.style.minWidth = d.scrollbarV.style.minWidth = \"18px\";\n\n    // Current visible range (may be bigger than the view window).\n    d.viewOffset = d.lastSizeC = 0;\n    d.showingFrom = d.showingTo = docStart;\n\n    // Used to only resize the line number gutter when necessary (when\n    // the amount of lines crosses a boundary that makes its width change)\n    d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null;\n    // See readInput and resetInput\n    d.prevInput = \"\";\n    // Set to true when a non-horizontal-scrolling widget is added. As\n    // an optimization, widget aligning is skipped when d is false.\n    d.alignWidgets = false;\n    // Flag that indicates whether we currently expect input to appear\n    // (after some event like 'keypress' or 'input') and are polling\n    // intensively.\n    d.pollingFast = false;\n    // Self-resetting timeout for the poller\n    d.poll = new Delayed();\n\n    d.cachedCharWidth = d.cachedTextHeight = null;\n    d.measureLineCache = [];\n    d.measureLineCachePos = 0;\n\n    // Tracks when resetInput has punted to just putting a short\n    // string instead of the (large) selection.\n    d.inaccurateSelection = false;\n\n    // Tracks the maximum line length so that the horizontal scrollbar\n    // can be kept static when scrolling.\n    d.maxLine = null;\n    d.maxLineLength = 0;\n    d.maxLineChanged = false;\n\n    // Used for measuring wheel scrolling granularity\n    d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null;\n\n    return d;\n  }\n\n  // STATE UPDATES\n\n  // Used to get the editor into a consistent state again when options change.\n\n  function loadMode(cm) {\n    cm.doc.mode = CodeMirror.getMode(cm.options, cm.doc.modeOption);\n    cm.doc.iter(function(line) {\n      if (line.stateAfter) line.stateAfter = null;\n      if (line.styles) line.styles = null;\n    });\n    cm.doc.frontier = cm.doc.first;\n    startWorker(cm, 100);\n    cm.state.modeGen++;\n    if (cm.curOp) regChange(cm);\n  }\n\n  function wrappingChanged(cm) {\n    if (cm.options.lineWrapping) {\n      cm.display.wrapper.className += \" CodeMirror-wrap\";\n      cm.display.sizer.style.minWidth = \"\";\n    } else {\n      cm.display.wrapper.className = cm.display.wrapper.className.replace(\" CodeMirror-wrap\", \"\");\n      computeMaxLength(cm);\n    }\n    estimateLineHeights(cm);\n    regChange(cm);\n    clearCaches(cm);\n    setTimeout(function(){updateScrollbars(cm);}, 100);\n  }\n\n  function estimateHeight(cm) {\n    var th = textHeight(cm.display), wrapping = cm.options.lineWrapping;\n    var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);\n    return function(line) {\n      if (lineIsHidden(cm.doc, line))\n        return 0;\n      else if (wrapping)\n        return (Math.ceil(line.text.length / perLine) || 1) * th;\n      else\n        return th;\n    };\n  }\n\n  function estimateLineHeights(cm) {\n    var doc = cm.doc, est = estimateHeight(cm);\n    doc.iter(function(line) {\n      var estHeight = est(line);\n      if (estHeight != line.height) updateLineHeight(line, estHeight);\n    });\n  }\n\n  function keyMapChanged(cm) {\n    var map = keyMap[cm.options.keyMap], style = map.style;\n    cm.display.wrapper.className = cm.display.wrapper.className.replace(/\\s*cm-keymap-\\S+/g, \"\") +\n      (style ? \" cm-keymap-\" + style : \"\");\n    cm.state.disableInput = map.disableInput;\n  }\n\n  function themeChanged(cm) {\n    cm.display.wrapper.className = cm.display.wrapper.className.replace(/\\s*cm-s-\\S+/g, \"\") +\n      cm.options.theme.replace(/(^|\\s)\\s*/g, \" cm-s-\");\n    clearCaches(cm);\n  }\n\n  function guttersChanged(cm) {\n    updateGutters(cm);\n    regChange(cm);\n    setTimeout(function(){alignHorizontally(cm);}, 20);\n  }\n\n  function updateGutters(cm) {\n    var gutters = cm.display.gutters, specs = cm.options.gutters;\n    removeChildren(gutters);\n    for (var i = 0; i < specs.length; ++i) {\n      var gutterClass = specs[i];\n      var gElt = gutters.appendChild(elt(\"div\", null, \"CodeMirror-gutter \" + gutterClass));\n      if (gutterClass == \"CodeMirror-linenumbers\") {\n        cm.display.lineGutter = gElt;\n        gElt.style.width = (cm.display.lineNumWidth || 1) + \"px\";\n      }\n    }\n    gutters.style.display = i ? \"\" : \"none\";\n  }\n\n  function lineLength(doc, line) {\n    if (line.height == 0) return 0;\n    var len = line.text.length, merged, cur = line;\n    while (merged = collapsedSpanAtStart(cur)) {\n      var found = merged.find();\n      cur = getLine(doc, found.from.line);\n      len += found.from.ch - found.to.ch;\n    }\n    cur = line;\n    while (merged = collapsedSpanAtEnd(cur)) {\n      var found = merged.find();\n      len -= cur.text.length - found.from.ch;\n      cur = getLine(doc, found.to.line);\n      len += cur.text.length - found.to.ch;\n    }\n    return len;\n  }\n\n  function computeMaxLength(cm) {\n    var d = cm.display, doc = cm.doc;\n    d.maxLine = getLine(doc, doc.first);\n    d.maxLineLength = lineLength(doc, d.maxLine);\n    d.maxLineChanged = true;\n    doc.iter(function(line) {\n      var len = lineLength(doc, line);\n      if (len > d.maxLineLength) {\n        d.maxLineLength = len;\n        d.maxLine = line;\n      }\n    });\n  }\n\n  // Make sure the gutters options contains the element\n  // \"CodeMirror-linenumbers\" when the lineNumbers option is true.\n  function setGuttersForLineNumbers(options) {\n    var found = indexOf(options.gutters, \"CodeMirror-linenumbers\");\n    if (found == -1 && options.lineNumbers) {\n      options.gutters = options.gutters.concat([\"CodeMirror-linenumbers\"]);\n    } else if (found > -1 && !options.lineNumbers) {\n      options.gutters = options.gutters.slice(0);\n      options.gutters.splice(found, 1);\n    }\n  }\n\n  // SCROLLBARS\n\n  // Re-synchronize the fake scrollbars with the actual size of the\n  // content. Optionally force a scrollTop.\n  function updateScrollbars(cm) {\n    var d = cm.display, docHeight = cm.doc.height;\n    var totalHeight = docHeight + paddingVert(d);\n    d.sizer.style.minHeight = d.heightForcer.style.top = totalHeight + \"px\";\n    d.gutters.style.height = Math.max(totalHeight, d.scroller.clientHeight - scrollerCutOff) + \"px\";\n    var scrollHeight = Math.max(totalHeight, d.scroller.scrollHeight);\n    var needsH = d.scroller.scrollWidth > (d.scroller.clientWidth + 1);\n    var needsV = scrollHeight > (d.scroller.clientHeight + 1);\n    if (needsV) {\n      d.scrollbarV.style.display = \"block\";\n      d.scrollbarV.style.bottom = needsH ? scrollbarWidth(d.measure) + \"px\" : \"0\";\n      d.scrollbarV.firstChild.style.height =\n        (scrollHeight - d.scroller.clientHeight + d.scrollbarV.clientHeight) + \"px\";\n    } else {\n      d.scrollbarV.style.display = \"\";\n      d.scrollbarV.firstChild.style.height = \"0\";\n    }\n    if (needsH) {\n      d.scrollbarH.style.display = \"block\";\n      d.scrollbarH.style.right = needsV ? scrollbarWidth(d.measure) + \"px\" : \"0\";\n      d.scrollbarH.firstChild.style.width =\n        (d.scroller.scrollWidth - d.scroller.clientWidth + d.scrollbarH.clientWidth) + \"px\";\n    } else {\n      d.scrollbarH.style.display = \"\";\n      d.scrollbarH.firstChild.style.width = \"0\";\n    }\n    if (needsH && needsV) {\n      d.scrollbarFiller.style.display = \"block\";\n      d.scrollbarFiller.style.height = d.scrollbarFiller.style.width = scrollbarWidth(d.measure) + \"px\";\n    } else d.scrollbarFiller.style.display = \"\";\n    if (needsH && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) {\n      d.gutterFiller.style.display = \"block\";\n      d.gutterFiller.style.height = scrollbarWidth(d.measure) + \"px\";\n      d.gutterFiller.style.width = d.gutters.offsetWidth + \"px\";\n    } else d.gutterFiller.style.display = \"\";\n\n    if (mac_geLion && scrollbarWidth(d.measure) === 0) {\n      d.scrollbarV.style.minWidth = d.scrollbarH.style.minHeight = mac_geMountainLion ? \"18px\" : \"12px\";\n      d.scrollbarV.style.pointerEvents = d.scrollbarH.style.pointerEvents = \"none\";\n    }\n  }\n\n  function visibleLines(display, doc, viewPort) {\n    var top = display.scroller.scrollTop, height = display.wrapper.clientHeight;\n    if (typeof viewPort == \"number\") top = viewPort;\n    else if (viewPort) {top = viewPort.top; height = viewPort.bottom - viewPort.top;}\n    top = Math.floor(top - paddingTop(display));\n    var bottom = Math.ceil(top + height);\n    return {from: lineAtHeight(doc, top), to: lineAtHeight(doc, bottom)};\n  }\n\n  // LINE NUMBERS\n\n  function alignHorizontally(cm) {\n    var display = cm.display;\n    if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) return;\n    var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft;\n    var gutterW = display.gutters.offsetWidth, l = comp + \"px\";\n    for (var n = display.lineDiv.firstChild; n; n = n.nextSibling) if (n.alignable) {\n      for (var i = 0, a = n.alignable; i < a.length; ++i) a[i].style.left = l;\n    }\n    if (cm.options.fixedGutter)\n      display.gutters.style.left = (comp + gutterW) + \"px\";\n  }\n\n  function maybeUpdateLineNumberWidth(cm) {\n    if (!cm.options.lineNumbers) return false;\n    var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display;\n    if (last.length != display.lineNumChars) {\n      var test = display.measure.appendChild(elt(\"div\", [elt(\"div\", last)],\n                                                 \"CodeMirror-linenumber CodeMirror-gutter-elt\"));\n      var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW;\n      display.lineGutter.style.width = \"\";\n      display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding);\n      display.lineNumWidth = display.lineNumInnerWidth + padding;\n      display.lineNumChars = display.lineNumInnerWidth ? last.length : -1;\n      display.lineGutter.style.width = display.lineNumWidth + \"px\";\n      return true;\n    }\n    return false;\n  }\n\n  function lineNumberFor(options, i) {\n    return String(options.lineNumberFormatter(i + options.firstLineNumber));\n  }\n  function compensateForHScroll(display) {\n    return getRect(display.scroller).left - getRect(display.sizer).left;\n  }\n\n  // DISPLAY DRAWING\n\n  function updateDisplay(cm, changes, viewPort, forced) {\n    var oldFrom = cm.display.showingFrom, oldTo = cm.display.showingTo, updated;\n    var visible = visibleLines(cm.display, cm.doc, viewPort);\n    for (var first = true;; first = false) {\n      var oldWidth = cm.display.scroller.clientWidth;\n      if (!updateDisplayInner(cm, changes, visible, forced)) break;\n      updated = true;\n      changes = [];\n      updateSelection(cm);\n      updateScrollbars(cm);\n      if (first && cm.options.lineWrapping && oldWidth != cm.display.scroller.clientWidth) {\n        forced = true;\n        continue;\n      }\n      forced = false;\n\n      // Clip forced viewport to actual scrollable area\n      if (viewPort)\n        viewPort = Math.min(cm.display.scroller.scrollHeight - cm.display.scroller.clientHeight,\n                            typeof viewPort == \"number\" ? viewPort : viewPort.top);\n      visible = visibleLines(cm.display, cm.doc, viewPort);\n      if (visible.from >= cm.display.showingFrom && visible.to <= cm.display.showingTo)\n        break;\n    }\n\n    if (updated) {\n      signalLater(cm, \"update\", cm);\n      if (cm.display.showingFrom != oldFrom || cm.display.showingTo != oldTo)\n        signalLater(cm, \"viewportChange\", cm, cm.display.showingFrom, cm.display.showingTo);\n    }\n    return updated;\n  }\n\n  // Uses a set of changes plus the current scroll position to\n  // determine which DOM updates have to be made, and makes the\n  // updates.\n  function updateDisplayInner(cm, changes, visible, forced) {\n    var display = cm.display, doc = cm.doc;\n    if (!display.wrapper.clientWidth) {\n      display.showingFrom = display.showingTo = doc.first;\n      display.viewOffset = 0;\n      return;\n    }\n\n    // Bail out if the visible area is already rendered and nothing changed.\n    if (!forced && changes.length == 0 &&\n        visible.from > display.showingFrom && visible.to < display.showingTo)\n      return;\n\n    if (maybeUpdateLineNumberWidth(cm))\n      changes = [{from: doc.first, to: doc.first + doc.size}];\n    var gutterW = display.sizer.style.marginLeft = display.gutters.offsetWidth + \"px\";\n    display.scrollbarH.style.left = cm.options.fixedGutter ? gutterW : \"0\";\n\n    // Used to determine which lines need their line numbers updated\n    var positionsChangedFrom = Infinity;\n    if (cm.options.lineNumbers)\n      for (var i = 0; i < changes.length; ++i)\n        if (changes[i].diff && changes[i].from < positionsChangedFrom) { positionsChangedFrom = changes[i].from; }\n\n    var end = doc.first + doc.size;\n    var from = Math.max(visible.from - cm.options.viewportMargin, doc.first);\n    var to = Math.min(end, visible.to + cm.options.viewportMargin);\n    if (display.showingFrom < from && from - display.showingFrom < 20) from = Math.max(doc.first, display.showingFrom);\n    if (display.showingTo > to && display.showingTo - to < 20) to = Math.min(end, display.showingTo);\n    if (sawCollapsedSpans) {\n      from = lineNo(visualLine(doc, getLine(doc, from)));\n      while (to < end && lineIsHidden(doc, getLine(doc, to))) ++to;\n    }\n\n    // Create a range of theoretically intact lines, and punch holes\n    // in that using the change info.\n    var intact = [{from: Math.max(display.showingFrom, doc.first),\n                   to: Math.min(display.showingTo, end)}];\n    if (intact[0].from >= intact[0].to) intact = [];\n    else intact = computeIntact(intact, changes);\n    // When merged lines are present, we might have to reduce the\n    // intact ranges because changes in continued fragments of the\n    // intact lines do require the lines to be redrawn.\n    if (sawCollapsedSpans)\n      for (var i = 0; i < intact.length; ++i) {\n        var range = intact[i], merged;\n        while (merged = collapsedSpanAtEnd(getLine(doc, range.to - 1))) {\n          var newTo = merged.find().from.line;\n          if (newTo > range.from) range.to = newTo;\n          else { intact.splice(i--, 1); break; }\n        }\n      }\n\n    // Clip off the parts that won't be visible\n    var intactLines = 0;\n    for (var i = 0; i < intact.length; ++i) {\n      var range = intact[i];\n      if (range.from < from) range.from = from;\n      if (range.to > to) range.to = to;\n      if (range.from >= range.to) intact.splice(i--, 1);\n      else intactLines += range.to - range.from;\n    }\n    if (!forced && intactLines == to - from && from == display.showingFrom && to == display.showingTo) {\n      updateViewOffset(cm);\n      return;\n    }\n    intact.sort(function(a, b) {return a.from - b.from;});\n\n    // Avoid crashing on IE's \"unspecified error\" when in iframes\n    try {\n      var focused = document.activeElement;\n    } catch(e) {}\n    if (intactLines < (to - from) * .7) display.lineDiv.style.display = \"none\";\n    patchDisplay(cm, from, to, intact, positionsChangedFrom);\n    display.lineDiv.style.display = \"\";\n    if (focused && document.activeElement != focused && focused.offsetHeight) focused.focus();\n\n    var different = from != display.showingFrom || to != display.showingTo ||\n      display.lastSizeC != display.wrapper.clientHeight;\n    // This is just a bogus formula that detects when the editor is\n    // resized or the font size changes.\n    if (different) {\n      display.lastSizeC = display.wrapper.clientHeight;\n      startWorker(cm, 400);\n    }\n    display.showingFrom = from; display.showingTo = to;\n\n    updateHeightsInViewport(cm);\n    updateViewOffset(cm);\n\n    return true;\n  }\n\n  function updateHeightsInViewport(cm) {\n    var display = cm.display;\n    var prevBottom = display.lineDiv.offsetTop;\n    for (var node = display.lineDiv.firstChild, height; node; node = node.nextSibling) if (node.lineObj) {\n      if (ie_lt8) {\n        var bot = node.offsetTop + node.offsetHeight;\n        height = bot - prevBottom;\n        prevBottom = bot;\n      } else {\n        var box = getRect(node);\n        height = box.bottom - box.top;\n      }\n      var diff = node.lineObj.height - height;\n      if (height < 2) height = textHeight(display);\n      if (diff > .001 || diff < -.001) {\n        updateLineHeight(node.lineObj, height);\n        var widgets = node.lineObj.widgets;\n        if (widgets) for (var i = 0; i < widgets.length; ++i)\n          widgets[i].height = widgets[i].node.offsetHeight;\n      }\n    }\n  }\n\n  function updateViewOffset(cm) {\n    var off = cm.display.viewOffset = heightAtLine(cm, getLine(cm.doc, cm.display.showingFrom));\n    // Position the mover div to align with the current virtual scroll position\n    cm.display.mover.style.top = off + \"px\";\n  }\n\n  function computeIntact(intact, changes) {\n    for (var i = 0, l = changes.length || 0; i < l; ++i) {\n      var change = changes[i], intact2 = [], diff = change.diff || 0;\n      for (var j = 0, l2 = intact.length; j < l2; ++j) {\n        var range = intact[j];\n        if (change.to <= range.from && change.diff) {\n          intact2.push({from: range.from + diff, to: range.to + diff});\n        } else if (change.to <= range.from || change.from >= range.to) {\n          intact2.push(range);\n        } else {\n          if (change.from > range.from)\n            intact2.push({from: range.from, to: change.from});\n          if (change.to < range.to)\n            intact2.push({from: change.to + diff, to: range.to + diff});\n        }\n      }\n      intact = intact2;\n    }\n    return intact;\n  }\n\n  function getDimensions(cm) {\n    var d = cm.display, left = {}, width = {};\n    for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) {\n      left[cm.options.gutters[i]] = n.offsetLeft;\n      width[cm.options.gutters[i]] = n.offsetWidth;\n    }\n    return {fixedPos: compensateForHScroll(d),\n            gutterTotalWidth: d.gutters.offsetWidth,\n            gutterLeft: left,\n            gutterWidth: width,\n            wrapperWidth: d.wrapper.clientWidth};\n  }\n\n  function patchDisplay(cm, from, to, intact, updateNumbersFrom) {\n    var dims = getDimensions(cm);\n    var display = cm.display, lineNumbers = cm.options.lineNumbers;\n    if (!intact.length && (!webkit || !cm.display.currentWheelTarget))\n      removeChildren(display.lineDiv);\n    var container = display.lineDiv, cur = container.firstChild;\n\n    function rm(node) {\n      var next = node.nextSibling;\n      if (webkit && mac && cm.display.currentWheelTarget == node) {\n        node.style.display = \"none\";\n        node.lineObj = null;\n      } else {\n        node.parentNode.removeChild(node);\n      }\n      return next;\n    }\n\n    var nextIntact = intact.shift(), lineN = from;\n    cm.doc.iter(from, to, function(line) {\n      if (nextIntact && nextIntact.to == lineN) nextIntact = intact.shift();\n      if (lineIsHidden(cm.doc, line)) {\n        if (line.height != 0) updateLineHeight(line, 0);\n        if (line.widgets && cur && cur.previousSibling) for (var i = 0; i < line.widgets.length; ++i) {\n          var w = line.widgets[i];\n          if (w.showIfHidden) {\n            var prev = cur.previousSibling;\n            if (/pre/i.test(prev.nodeName)) {\n              var wrap = elt(\"div\", null, null, \"position: relative\");\n              prev.parentNode.replaceChild(wrap, prev);\n              wrap.appendChild(prev);\n              prev = wrap;\n            }\n            var wnode = prev.appendChild(elt(\"div\", [w.node], \"CodeMirror-linewidget\"));\n            if (!w.handleMouseEvents) wnode.ignoreEvents = true;\n            positionLineWidget(w, wnode, prev, dims);\n          }\n        }\n      } else if (nextIntact && nextIntact.from <= lineN && nextIntact.to > lineN) {\n        // This line is intact. Skip to the actual node. Update its\n        // line number if needed.\n        while (cur.lineObj != line) cur = rm(cur);\n        if (lineNumbers && updateNumbersFrom <= lineN && cur.lineNumber)\n          setTextContent(cur.lineNumber, lineNumberFor(cm.options, lineN));\n        cur = cur.nextSibling;\n      } else {\n        // For lines with widgets, make an attempt to find and reuse\n        // the existing element, so that widgets aren't needlessly\n        // removed and re-inserted into the dom\n        if (line.widgets) for (var j = 0, search = cur, reuse; search && j < 20; ++j, search = search.nextSibling)\n          if (search.lineObj == line && /div/i.test(search.nodeName)) { reuse = search; break; }\n        // This line needs to be generated.\n        var lineNode = buildLineElement(cm, line, lineN, dims, reuse);\n        if (lineNode != reuse) {\n          container.insertBefore(lineNode, cur);\n        } else {\n          while (cur != reuse) cur = rm(cur);\n          cur = cur.nextSibling;\n        }\n\n        lineNode.lineObj = line;\n      }\n      ++lineN;\n    });\n    while (cur) cur = rm(cur);\n  }\n\n  function buildLineElement(cm, line, lineNo, dims, reuse) {\n    var built = buildLineContent(cm, line), lineElement = built.pre;\n    var markers = line.gutterMarkers, display = cm.display, wrap;\n\n    var bgClass = built.bgClass ? built.bgClass + \" \" + (line.bgClass || \"\") : line.bgClass;\n    if (!cm.options.lineNumbers && !markers && !bgClass && !line.wrapClass && !line.widgets)\n      return lineElement;\n\n    // Lines with gutter elements, widgets or a background class need\n    // to be wrapped again, and have the extra elements added to the\n    // wrapper div\n\n    if (reuse) {\n      reuse.alignable = null;\n      var isOk = true, widgetsSeen = 0, insertBefore = null;\n      for (var n = reuse.firstChild, next; n; n = next) {\n        next = n.nextSibling;\n        if (!/\\bCodeMirror-linewidget\\b/.test(n.className)) {\n          reuse.removeChild(n);\n        } else {\n          for (var i = 0; i < line.widgets.length; ++i) {\n            var widget = line.widgets[i];\n            if (widget.node == n.firstChild) {\n              if (!widget.above && !insertBefore) insertBefore = n;\n              positionLineWidget(widget, n, reuse, dims);\n              ++widgetsSeen;\n              break;\n            }\n          }\n          if (i == line.widgets.length) { isOk = false; break; }\n        }\n      }\n      reuse.insertBefore(lineElement, insertBefore);\n      if (isOk && widgetsSeen == line.widgets.length) {\n        wrap = reuse;\n        reuse.className = line.wrapClass || \"\";\n      }\n    }\n    if (!wrap) {\n      wrap = elt(\"div\", null, line.wrapClass, \"position: relative\");\n      wrap.appendChild(lineElement);\n    }\n    // Kludge to make sure the styled element lies behind the selection (by z-index)\n    if (bgClass)\n      wrap.insertBefore(elt(\"div\", null, bgClass + \" CodeMirror-linebackground\"), wrap.firstChild);\n    if (cm.options.lineNumbers || markers) {\n      var gutterWrap = wrap.insertBefore(elt(\"div\", null, null, \"position: absolute; left: \" +\n                                             (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + \"px\"),\n                                         wrap.firstChild);\n      if (cm.options.fixedGutter) (wrap.alignable || (wrap.alignable = [])).push(gutterWrap);\n      if (cm.options.lineNumbers && (!markers || !markers[\"CodeMirror-linenumbers\"]))\n        wrap.lineNumber = gutterWrap.appendChild(\n          elt(\"div\", lineNumberFor(cm.options, lineNo),\n              \"CodeMirror-linenumber CodeMirror-gutter-elt\",\n              \"left: \" + dims.gutterLeft[\"CodeMirror-linenumbers\"] + \"px; width: \"\n              + display.lineNumInnerWidth + \"px\"));\n      if (markers)\n        for (var k = 0; k < cm.options.gutters.length; ++k) {\n          var id = cm.options.gutters[k], found = markers.hasOwnProperty(id) && markers[id];\n          if (found)\n            gutterWrap.appendChild(elt(\"div\", [found], \"CodeMirror-gutter-elt\", \"left: \" +\n                                       dims.gutterLeft[id] + \"px; width: \" + dims.gutterWidth[id] + \"px\"));\n        }\n    }\n    if (ie_lt8) wrap.style.zIndex = 2;\n    if (line.widgets && wrap != reuse) for (var i = 0, ws = line.widgets; i < ws.length; ++i) {\n      var widget = ws[i], node = elt(\"div\", [widget.node], \"CodeMirror-linewidget\");\n      if (!widget.handleMouseEvents) node.ignoreEvents = true;\n      positionLineWidget(widget, node, wrap, dims);\n      if (widget.above)\n        wrap.insertBefore(node, cm.options.lineNumbers && line.height != 0 ? gutterWrap : lineElement);\n      else\n        wrap.appendChild(node);\n      signalLater(widget, \"redraw\");\n    }\n    return wrap;\n  }\n\n  function positionLineWidget(widget, node, wrap, dims) {\n    if (widget.noHScroll) {\n      (wrap.alignable || (wrap.alignable = [])).push(node);\n      var width = dims.wrapperWidth;\n      node.style.left = dims.fixedPos + \"px\";\n      if (!widget.coverGutter) {\n        width -= dims.gutterTotalWidth;\n        node.style.paddingLeft = dims.gutterTotalWidth + \"px\";\n      }\n      node.style.width = width + \"px\";\n    }\n    if (widget.coverGutter) {\n      node.style.zIndex = 5;\n      node.style.position = \"relative\";\n      if (!widget.noHScroll) node.style.marginLeft = -dims.gutterTotalWidth + \"px\";\n    }\n  }\n\n  // SELECTION / CURSOR\n\n  function updateSelection(cm) {\n    var display = cm.display;\n    var collapsed = posEq(cm.doc.sel.from, cm.doc.sel.to);\n    if (collapsed || cm.options.showCursorWhenSelecting)\n      updateSelectionCursor(cm);\n    else\n      display.cursor.style.display = display.otherCursor.style.display = \"none\";\n    if (!collapsed)\n      updateSelectionRange(cm);\n    else\n      display.selectionDiv.style.display = \"none\";\n\n    // Move the hidden textarea near the cursor to prevent scrolling artifacts\n    if (cm.options.moveInputWithCursor) {\n      var headPos = cursorCoords(cm, cm.doc.sel.head, \"div\");\n      var wrapOff = getRect(display.wrapper), lineOff = getRect(display.lineDiv);\n      display.inputDiv.style.top = Math.max(0, Math.min(display.wrapper.clientHeight - 10,\n                                                        headPos.top + lineOff.top - wrapOff.top)) + \"px\";\n      display.inputDiv.style.left = Math.max(0, Math.min(display.wrapper.clientWidth - 10,\n                                                         headPos.left + lineOff.left - wrapOff.left)) + \"px\";\n    }\n  }\n\n  // No selection, plain cursor\n  function updateSelectionCursor(cm) {\n    var display = cm.display, pos = cursorCoords(cm, cm.doc.sel.head, \"div\");\n    display.cursor.style.left = pos.left + \"px\";\n    display.cursor.style.top = pos.top + \"px\";\n    display.cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + \"px\";\n    display.cursor.style.display = \"\";\n\n    if (pos.other) {\n      display.otherCursor.style.display = \"\";\n      display.otherCursor.style.left = pos.other.left + \"px\";\n      display.otherCursor.style.top = pos.other.top + \"px\";\n      display.otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + \"px\";\n    } else { display.otherCursor.style.display = \"none\"; }\n  }\n\n  // Highlight selection\n  function updateSelectionRange(cm) {\n    var display = cm.display, doc = cm.doc, sel = cm.doc.sel;\n    var fragment = document.createDocumentFragment();\n    var clientWidth = display.lineSpace.offsetWidth, pl = paddingLeft(cm.display);\n\n    function add(left, top, width, bottom) {\n      if (top < 0) top = 0;\n      fragment.appendChild(elt(\"div\", null, \"CodeMirror-selected\", \"position: absolute; left: \" + left +\n                               \"px; top: \" + top + \"px; width: \" + (width == null ? clientWidth - left : width) +\n                               \"px; height: \" + (bottom - top) + \"px\"));\n    }\n\n    function drawForLine(line, fromArg, toArg) {\n      var lineObj = getLine(doc, line);\n      var lineLen = lineObj.text.length;\n      var start, end;\n      function coords(ch, bias) {\n        return charCoords(cm, Pos(line, ch), \"div\", lineObj, bias);\n      }\n\n      iterateBidiSections(getOrder(lineObj), fromArg || 0, toArg == null ? lineLen : toArg, function(from, to, dir) {\n        var leftPos = coords(from, \"left\"), rightPos, left, right;\n        if (from == to) {\n          rightPos = leftPos;\n          left = right = leftPos.left;\n        } else {\n          rightPos = coords(to - 1, \"right\");\n          if (dir == \"rtl\") { var tmp = leftPos; leftPos = rightPos; rightPos = tmp; }\n          left = leftPos.left;\n          right = rightPos.right;\n        }\n        if (fromArg == null && from == 0) left = pl;\n        if (rightPos.top - leftPos.top > 3) { // Different lines, draw top part\n          add(left, leftPos.top, null, leftPos.bottom);\n          left = pl;\n          if (leftPos.bottom < rightPos.top) add(left, leftPos.bottom, null, rightPos.top);\n        }\n        if (toArg == null && to == lineLen) right = clientWidth;\n        if (!start || leftPos.top < start.top || leftPos.top == start.top && leftPos.left < start.left)\n          start = leftPos;\n        if (!end || rightPos.bottom > end.bottom || rightPos.bottom == end.bottom && rightPos.right > end.right)\n          end = rightPos;\n        if (left < pl + 1) left = pl;\n        add(left, rightPos.top, right - left, rightPos.bottom);\n      });\n      return {start: start, end: end};\n    }\n\n    if (sel.from.line == sel.to.line) {\n      drawForLine(sel.from.line, sel.from.ch, sel.to.ch);\n    } else {\n      var fromLine = getLine(doc, sel.from.line), toLine = getLine(doc, sel.to.line);\n      var singleVLine = visualLine(doc, fromLine) == visualLine(doc, toLine);\n      var leftEnd = drawForLine(sel.from.line, sel.from.ch, singleVLine ? fromLine.text.length : null).end;\n      var rightStart = drawForLine(sel.to.line, singleVLine ? 0 : null, sel.to.ch).start;\n      if (singleVLine) {\n        if (leftEnd.top < rightStart.top - 2) {\n          add(leftEnd.right, leftEnd.top, null, leftEnd.bottom);\n          add(pl, rightStart.top, rightStart.left, rightStart.bottom);\n        } else {\n          add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom);\n        }\n      }\n      if (leftEnd.bottom < rightStart.top)\n        add(pl, leftEnd.bottom, null, rightStart.top);\n    }\n\n    removeChildrenAndAdd(display.selectionDiv, fragment);\n    display.selectionDiv.style.display = \"\";\n  }\n\n  // Cursor-blinking\n  function restartBlink(cm) {\n    if (!cm.state.focused) return;\n    var display = cm.display;\n    clearInterval(display.blinker);\n    var on = true;\n    display.cursor.style.visibility = display.otherCursor.style.visibility = \"\";\n    if (cm.options.cursorBlinkRate > 0)\n      display.blinker = setInterval(function() {\n        display.cursor.style.visibility = display.otherCursor.style.visibility = (on = !on) ? \"\" : \"hidden\";\n      }, cm.options.cursorBlinkRate);\n  }\n\n  // HIGHLIGHT WORKER\n\n  function startWorker(cm, time) {\n    if (cm.doc.mode.startState && cm.doc.frontier < cm.display.showingTo)\n      cm.state.highlight.set(time, bind(highlightWorker, cm));\n  }\n\n  function highlightWorker(cm) {\n    var doc = cm.doc;\n    if (doc.frontier < doc.first) doc.frontier = doc.first;\n    if (doc.frontier >= cm.display.showingTo) return;\n    var end = +new Date + cm.options.workTime;\n    var state = copyState(doc.mode, getStateBefore(cm, doc.frontier));\n    var changed = [], prevChange;\n    doc.iter(doc.frontier, Math.min(doc.first + doc.size, cm.display.showingTo + 500), function(line) {\n      if (doc.frontier >= cm.display.showingFrom) { // Visible\n        var oldStyles = line.styles;\n        line.styles = highlightLine(cm, line, state, true);\n        var ischange = !oldStyles || oldStyles.length != line.styles.length;\n        for (var i = 0; !ischange && i < oldStyles.length; ++i) ischange = oldStyles[i] != line.styles[i];\n        if (ischange) {\n          if (prevChange && prevChange.end == doc.frontier) prevChange.end++;\n          else changed.push(prevChange = {start: doc.frontier, end: doc.frontier + 1});\n        }\n        line.stateAfter = copyState(doc.mode, state);\n      } else {\n        processLine(cm, line.text, state);\n        line.stateAfter = doc.frontier % 5 == 0 ? copyState(doc.mode, state) : null;\n      }\n      ++doc.frontier;\n      if (+new Date > end) {\n        startWorker(cm, cm.options.workDelay);\n        return true;\n      }\n    });\n    if (changed.length)\n      operation(cm, function() {\n        for (var i = 0; i < changed.length; ++i)\n          regChange(this, changed[i].start, changed[i].end);\n      })();\n  }\n\n  // Finds the line to start with when starting a parse. Tries to\n  // find a line with a stateAfter, so that it can start with a\n  // valid state. If that fails, it returns the line with the\n  // smallest indentation, which tends to need the least context to\n  // parse correctly.\n  function findStartLine(cm, n, precise) {\n    var minindent, minline, doc = cm.doc;\n    var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100);\n    for (var search = n; search > lim; --search) {\n      if (search <= doc.first) return doc.first;\n      var line = getLine(doc, search - 1);\n      if (line.stateAfter && (!precise || search <= doc.frontier)) return search;\n      var indented = countColumn(line.text, null, cm.options.tabSize);\n      if (minline == null || minindent > indented) {\n        minline = search - 1;\n        minindent = indented;\n      }\n    }\n    return minline;\n  }\n\n  function getStateBefore(cm, n, precise) {\n    var doc = cm.doc, display = cm.display;\n    if (!doc.mode.startState) return true;\n    var pos = findStartLine(cm, n, precise), state = pos > doc.first && getLine(doc, pos-1).stateAfter;\n    if (!state) state = startState(doc.mode);\n    else state = copyState(doc.mode, state);\n    doc.iter(pos, n, function(line) {\n      processLine(cm, line.text, state);\n      var save = pos == n - 1 || pos % 5 == 0 || pos >= display.showingFrom && pos < display.showingTo;\n      line.stateAfter = save ? copyState(doc.mode, state) : null;\n      ++pos;\n    });\n    if (precise) doc.frontier = pos;\n    return state;\n  }\n\n  // POSITION MEASUREMENT\n\n  function paddingTop(display) {return display.lineSpace.offsetTop;}\n  function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight;}\n  function paddingLeft(display) {\n    var e = removeChildrenAndAdd(display.measure, elt(\"pre\", null, null, \"text-align: left\")).appendChild(elt(\"span\", \"x\"));\n    return e.offsetLeft;\n  }\n\n  function measureChar(cm, line, ch, data, bias) {\n    var dir = -1;\n    data = data || measureLine(cm, line);\n    if (data.crude) {\n      var left = data.left + ch * data.width;\n      return {left: left, right: left + data.width, top: data.top, bottom: data.bottom};\n    }\n\n    for (var pos = ch;; pos += dir) {\n      var r = data[pos];\n      if (r) break;\n      if (dir < 0 && pos == 0) dir = 1;\n    }\n    bias = pos > ch ? \"left\" : pos < ch ? \"right\" : bias;\n    if (bias == \"left\" && r.leftSide) r = r.leftSide;\n    else if (bias == \"right\" && r.rightSide) r = r.rightSide;\n    return {left: pos < ch ? r.right : r.left,\n            right: pos > ch ? r.left : r.right,\n            top: r.top,\n            bottom: r.bottom};\n  }\n\n  function findCachedMeasurement(cm, line) {\n    var cache = cm.display.measureLineCache;\n    for (var i = 0; i < cache.length; ++i) {\n      var memo = cache[i];\n      if (memo.text == line.text && memo.markedSpans == line.markedSpans &&\n          cm.display.scroller.clientWidth == memo.width &&\n          memo.classes == line.textClass + \"|\" + line.wrapClass)\n        return memo;\n    }\n  }\n\n  function clearCachedMeasurement(cm, line) {\n    var exists = findCachedMeasurement(cm, line);\n    if (exists) exists.text = exists.measure = exists.markedSpans = null;\n  }\n\n  function measureLine(cm, line) {\n    // First look in the cache\n    var cached = findCachedMeasurement(cm, line);\n    if (cached) return cached.measure;\n\n    // Failing that, recompute and store result in cache\n    var measure = measureLineInner(cm, line);\n    var cache = cm.display.measureLineCache;\n    var memo = {text: line.text, width: cm.display.scroller.clientWidth,\n                markedSpans: line.markedSpans, measure: measure,\n                classes: line.textClass + \"|\" + line.wrapClass};\n    if (cache.length == 16) cache[++cm.display.measureLineCachePos % 16] = memo;\n    else cache.push(memo);\n    return measure;\n  }\n\n  function measureLineInner(cm, line) {\n    if (!cm.options.lineWrapping && line.text.length >= cm.options.crudeMeasuringFrom)\n      return crudelyMeasureLine(cm, line);\n\n    var display = cm.display, measure = emptyArray(line.text.length);\n    var pre = buildLineContent(cm, line, measure, true).pre;\n\n    // IE does not cache element positions of inline elements between\n    // calls to getBoundingClientRect. This makes the loop below,\n    // which gathers the positions of all the characters on the line,\n    // do an amount of layout work quadratic to the number of\n    // characters. When line wrapping is off, we try to improve things\n    // by first subdividing the line into a bunch of inline blocks, so\n    // that IE can reuse most of the layout information from caches\n    // for those blocks. This does interfere with line wrapping, so it\n    // doesn't work when wrapping is on, but in that case the\n    // situation is slightly better, since IE does cache line-wrapping\n    // information and only recomputes per-line.\n    if (ie && !ie_lt8 && !cm.options.lineWrapping && pre.childNodes.length > 100) {\n      var fragment = document.createDocumentFragment();\n      var chunk = 10, n = pre.childNodes.length;\n      for (var i = 0, chunks = Math.ceil(n / chunk); i < chunks; ++i) {\n        var wrap = elt(\"div\", null, null, \"display: inline-block\");\n        for (var j = 0; j < chunk && n; ++j) {\n          wrap.appendChild(pre.firstChild);\n          --n;\n        }\n        fragment.appendChild(wrap);\n      }\n      pre.appendChild(fragment);\n    }\n\n    removeChildrenAndAdd(display.measure, pre);\n\n    var outer = getRect(display.lineDiv);\n    var vranges = [], data = emptyArray(line.text.length), maxBot = pre.offsetHeight;\n    // Work around an IE7/8 bug where it will sometimes have randomly\n    // replaced our pre with a clone at this point.\n    if (ie_lt9 && display.measure.first != pre)\n      removeChildrenAndAdd(display.measure, pre);\n\n    function measureRect(rect) {\n      var top = rect.top - outer.top, bot = rect.bottom - outer.top;\n      if (bot > maxBot) bot = maxBot;\n      if (top < 0) top = 0;\n      for (var i = vranges.length - 2; i >= 0; i -= 2) {\n        var rtop = vranges[i], rbot = vranges[i+1];\n        if (rtop > bot || rbot < top) continue;\n        if (rtop <= top && rbot >= bot ||\n            top <= rtop && bot >= rbot ||\n            Math.min(bot, rbot) - Math.max(top, rtop) >= (bot - top) >> 1) {\n          vranges[i] = Math.min(top, rtop);\n          vranges[i+1] = Math.max(bot, rbot);\n          break;\n        }\n      }\n      if (i < 0) { i = vranges.length; vranges.push(top, bot); }\n      return {left: rect.left - outer.left,\n              right: rect.right - outer.left,\n              top: i, bottom: null};\n    }\n    function finishRect(rect) {\n      rect.bottom = vranges[rect.top+1];\n      rect.top = vranges[rect.top];\n    }\n\n    for (var i = 0, cur; i < measure.length; ++i) if (cur = measure[i]) {\n      var node = cur, rect = null;\n      // A widget might wrap, needs special care\n      if (/\\bCodeMirror-widget\\b/.test(cur.className) && cur.getClientRects) {\n        if (cur.firstChild.nodeType == 1) node = cur.firstChild;\n        var rects = node.getClientRects();\n        if (rects.length > 1) {\n          rect = data[i] = measureRect(rects[0]);\n          rect.rightSide = measureRect(rects[rects.length - 1]);\n        }\n      }\n      if (!rect) rect = data[i] = measureRect(getRect(node));\n      if (cur.measureRight) rect.right = getRect(cur.measureRight).left;\n      if (cur.leftSide) rect.leftSide = measureRect(getRect(cur.leftSide));\n    }\n    removeChildren(cm.display.measure);\n    for (var i = 0, cur; i < data.length; ++i) if (cur = data[i]) {\n      finishRect(cur);\n      if (cur.leftSide) finishRect(cur.leftSide);\n      if (cur.rightSide) finishRect(cur.rightSide);\n    }\n    return data;\n  }\n\n  function crudelyMeasureLine(cm, line) {\n    var copy = new Line(line.text.slice(0, 100), null);\n    if (line.textClass) copy.textClass = line.textClass;\n    var measure = measureLineInner(cm, copy);\n    var left = measureChar(cm, copy, 0, measure, \"left\");\n    var right = measureChar(cm, copy, 99, measure, \"right\");\n    return {crude: true, top: left.top, left: left.left, bottom: left.bottom, width: (right.right - left.left) / 100};\n  }\n\n  function measureLineWidth(cm, line) {\n    var hasBadSpan = false;\n    if (line.markedSpans) for (var i = 0; i < line.markedSpans; ++i) {\n      var sp = line.markedSpans[i];\n      if (sp.collapsed && (sp.to == null || sp.to == line.text.length)) hasBadSpan = true;\n    }\n    var cached = !hasBadSpan && findCachedMeasurement(cm, line);\n    if (cached || line.text.length >= cm.options.crudeMeasuringFrom)\n      return measureChar(cm, line, line.text.length, cached && cached.measure, \"right\").right;\n\n    var pre = buildLineContent(cm, line, null, true).pre;\n    var end = pre.appendChild(zeroWidthElement(cm.display.measure));\n    removeChildrenAndAdd(cm.display.measure, pre);\n    return getRect(end).right - getRect(cm.display.lineDiv).left;\n  }\n\n  function clearCaches(cm) {\n    cm.display.measureLineCache.length = cm.display.measureLineCachePos = 0;\n    cm.display.cachedCharWidth = cm.display.cachedTextHeight = null;\n    if (!cm.options.lineWrapping) cm.display.maxLineChanged = true;\n    cm.display.lineNumChars = null;\n  }\n\n  function pageScrollX() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; }\n  function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; }\n\n  // Context is one of \"line\", \"div\" (display.lineDiv), \"local\"/null (editor), or \"page\"\n  function intoCoordSystem(cm, lineObj, rect, context) {\n    if (lineObj.widgets) for (var i = 0; i < lineObj.widgets.length; ++i) if (lineObj.widgets[i].above) {\n      var size = widgetHeight(lineObj.widgets[i]);\n      rect.top += size; rect.bottom += size;\n    }\n    if (context == \"line\") return rect;\n    if (!context) context = \"local\";\n    var yOff = heightAtLine(cm, lineObj);\n    if (context == \"local\") yOff += paddingTop(cm.display);\n    else yOff -= cm.display.viewOffset;\n    if (context == \"page\" || context == \"window\") {\n      var lOff = getRect(cm.display.lineSpace);\n      yOff += lOff.top + (context == \"window\" ? 0 : pageScrollY());\n      var xOff = lOff.left + (context == \"window\" ? 0 : pageScrollX());\n      rect.left += xOff; rect.right += xOff;\n    }\n    rect.top += yOff; rect.bottom += yOff;\n    return rect;\n  }\n\n  // Context may be \"window\", \"page\", \"div\", or \"local\"/null\n  // Result is in \"div\" coords\n  function fromCoordSystem(cm, coords, context) {\n    if (context == \"div\") return coords;\n    var left = coords.left, top = coords.top;\n    // First move into \"page\" coordinate system\n    if (context == \"page\") {\n      left -= pageScrollX();\n      top -= pageScrollY();\n    } else if (context == \"local\" || !context) {\n      var localBox = getRect(cm.display.sizer);\n      left += localBox.left;\n      top += localBox.top;\n    }\n\n    var lineSpaceBox = getRect(cm.display.lineSpace);\n    return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top};\n  }\n\n  function charCoords(cm, pos, context, lineObj, bias) {\n    if (!lineObj) lineObj = getLine(cm.doc, pos.line);\n    return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, null, bias), context);\n  }\n\n  function cursorCoords(cm, pos, context, lineObj, measurement) {\n    lineObj = lineObj || getLine(cm.doc, pos.line);\n    if (!measurement) measurement = measureLine(cm, lineObj);\n    function get(ch, right) {\n      var m = measureChar(cm, lineObj, ch, measurement, right ? \"right\" : \"left\");\n      if (right) m.left = m.right; else m.right = m.left;\n      return intoCoordSystem(cm, lineObj, m, context);\n    }\n    function getBidi(ch, partPos) {\n      var part = order[partPos], right = part.level % 2;\n      if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) {\n        part = order[--partPos];\n        ch = bidiRight(part) - (part.level % 2 ? 0 : 1);\n        right = true;\n      } else if (ch == bidiRight(part) && partPos < order.length - 1 && part.level < order[partPos + 1].level) {\n        part = order[++partPos];\n        ch = bidiLeft(part) - part.level % 2;\n        right = false;\n      }\n      if (right && ch == part.to && ch > part.from) return get(ch - 1);\n      return get(ch, right);\n    }\n    var order = getOrder(lineObj), ch = pos.ch;\n    if (!order) return get(ch);\n    var partPos = getBidiPartAt(order, ch);\n    var val = getBidi(ch, partPos);\n    if (bidiOther != null) val.other = getBidi(ch, bidiOther);\n    return val;\n  }\n\n  function PosWithInfo(line, ch, outside, xRel) {\n    var pos = new Pos(line, ch);\n    pos.xRel = xRel;\n    if (outside) pos.outside = true;\n    return pos;\n  }\n\n  // Coords must be lineSpace-local\n  function coordsChar(cm, x, y) {\n    var doc = cm.doc;\n    y += cm.display.viewOffset;\n    if (y < 0) return PosWithInfo(doc.first, 0, true, -1);\n    var lineNo = lineAtHeight(doc, y), last = doc.first + doc.size - 1;\n    if (lineNo > last)\n      return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, true, 1);\n    if (x < 0) x = 0;\n\n    for (;;) {\n      var lineObj = getLine(doc, lineNo);\n      var found = coordsCharInner(cm, lineObj, lineNo, x, y);\n      var merged = collapsedSpanAtEnd(lineObj);\n      var mergedPos = merged && merged.find();\n      if (merged && (found.ch > mergedPos.from.ch || found.ch == mergedPos.from.ch && found.xRel > 0))\n        lineNo = mergedPos.to.line;\n      else\n        return found;\n    }\n  }\n\n  function coordsCharInner(cm, lineObj, lineNo, x, y) {\n    var innerOff = y - heightAtLine(cm, lineObj);\n    var wrongLine = false, adjust = 2 * cm.display.wrapper.clientWidth;\n    var measurement = measureLine(cm, lineObj);\n\n    function getX(ch) {\n      var sp = cursorCoords(cm, Pos(lineNo, ch), \"line\",\n                            lineObj, measurement);\n      wrongLine = true;\n      if (innerOff > sp.bottom) return sp.left - adjust;\n      else if (innerOff < sp.top) return sp.left + adjust;\n      else wrongLine = false;\n      return sp.left;\n    }\n\n    var bidi = getOrder(lineObj), dist = lineObj.text.length;\n    var from = lineLeft(lineObj), to = lineRight(lineObj);\n    var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;\n\n    if (x > toX) return PosWithInfo(lineNo, to, toOutside, 1);\n    // Do a binary search between these bounds.\n    for (;;) {\n      if (bidi ? to == from || to == moveVisually(lineObj, from, 1) : to - from <= 1) {\n        var ch = x < fromX || x - fromX <= toX - x ? from : to;\n        var xDiff = x - (ch == from ? fromX : toX);\n        while (isExtendingChar.test(lineObj.text.charAt(ch))) ++ch;\n        var pos = PosWithInfo(lineNo, ch, ch == from ? fromOutside : toOutside,\n                              xDiff < 0 ? -1 : xDiff ? 1 : 0);\n        return pos;\n      }\n      var step = Math.ceil(dist / 2), middle = from + step;\n      if (bidi) {\n        middle = from;\n        for (var i = 0; i < step; ++i) middle = moveVisually(lineObj, middle, 1);\n      }\n      var middleX = getX(middle);\n      if (middleX > x) {to = middle; toX = middleX; if (toOutside = wrongLine) toX += 1000; dist = step;}\n      else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}\n    }\n  }\n\n  var measureText;\n  function textHeight(display) {\n    if (display.cachedTextHeight != null) return display.cachedTextHeight;\n    if (measureText == null) {\n      measureText = elt(\"pre\");\n      // Measure a bunch of lines, for browsers that compute\n      // fractional heights.\n      for (var i = 0; i < 49; ++i) {\n        measureText.appendChild(document.createTextNode(\"x\"));\n        measureText.appendChild(elt(\"br\"));\n      }\n      measureText.appendChild(document.createTextNode(\"x\"));\n    }\n    removeChildrenAndAdd(display.measure, measureText);\n    var height = measureText.offsetHeight / 50;\n    if (height > 3) display.cachedTextHeight = height;\n    removeChildren(display.measure);\n    return height || 1;\n  }\n\n  function charWidth(display) {\n    if (display.cachedCharWidth != null) return display.cachedCharWidth;\n    var anchor = elt(\"span\", \"x\");\n    var pre = elt(\"pre\", [anchor]);\n    removeChildrenAndAdd(display.measure, pre);\n    var width = anchor.offsetWidth;\n    if (width > 2) display.cachedCharWidth = width;\n    return width || 10;\n  }\n\n  // OPERATIONS\n\n  // Operations are used to wrap changes in such a way that each\n  // change won't have to update the cursor and display (which would\n  // be awkward, slow, and error-prone), but instead updates are\n  // batched and then all combined and executed at once.\n\n  var nextOpId = 0;\n  function startOperation(cm) {\n    cm.curOp = {\n      // An array of ranges of lines that have to be updated. See\n      // updateDisplay.\n      changes: [],\n      forceUpdate: false,\n      updateInput: null,\n      userSelChange: null,\n      textChanged: null,\n      selectionChanged: false,\n      cursorActivity: false,\n      updateMaxLine: false,\n      updateScrollPos: false,\n      id: ++nextOpId\n    };\n    if (!delayedCallbackDepth++) delayedCallbacks = [];\n  }\n\n  function endOperation(cm) {\n    var op = cm.curOp, doc = cm.doc, display = cm.display;\n    cm.curOp = null;\n\n    if (op.updateMaxLine) computeMaxLength(cm);\n    if (display.maxLineChanged && !cm.options.lineWrapping && display.maxLine) {\n      var width = measureLineWidth(cm, display.maxLine);\n      display.sizer.style.minWidth = Math.max(0, width + 3 + scrollerCutOff) + \"px\";\n      display.maxLineChanged = false;\n      var maxScrollLeft = Math.max(0, display.sizer.offsetLeft + display.sizer.offsetWidth - display.scroller.clientWidth);\n      if (maxScrollLeft < doc.scrollLeft && !op.updateScrollPos)\n        setScrollLeft(cm, Math.min(display.scroller.scrollLeft, maxScrollLeft), true);\n    }\n    var newScrollPos, updated;\n    if (op.updateScrollPos) {\n      newScrollPos = op.updateScrollPos;\n    } else if (op.selectionChanged && display.scroller.clientHeight) { // don't rescroll if not visible\n      var coords = cursorCoords(cm, doc.sel.head);\n      newScrollPos = calculateScrollPos(cm, coords.left, coords.top, coords.left, coords.bottom);\n    }\n    if (op.changes.length || op.forceUpdate || newScrollPos && newScrollPos.scrollTop != null) {\n      updated = updateDisplay(cm, op.changes, newScrollPos && newScrollPos.scrollTop, op.forceUpdate);\n      if (cm.display.scroller.offsetHeight) cm.doc.scrollTop = cm.display.scroller.scrollTop;\n    }\n    if (!updated && op.selectionChanged) updateSelection(cm);\n    if (op.updateScrollPos) {\n      var top = Math.max(0, Math.min(display.scroller.scrollHeight - display.scroller.clientHeight, newScrollPos.scrollTop));\n      var left = Math.max(0, Math.min(display.scroller.scrollWidth - display.scroller.clientWidth, newScrollPos.scrollLeft));\n      display.scroller.scrollTop = display.scrollbarV.scrollTop = doc.scrollTop = top;\n      display.scroller.scrollLeft = display.scrollbarH.scrollLeft = doc.scrollLeft = left;\n      alignHorizontally(cm);\n      if (op.scrollToPos)\n        scrollPosIntoView(cm, clipPos(cm.doc, op.scrollToPos.from),\n                          clipPos(cm.doc, op.scrollToPos.to), op.scrollToPos.margin);\n    } else if (newScrollPos) {\n      scrollCursorIntoView(cm);\n    }\n    if (op.selectionChanged) restartBlink(cm);\n\n    if (cm.state.focused && op.updateInput)\n      resetInput(cm, op.userSelChange);\n\n    var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers;\n    if (hidden) for (var i = 0; i < hidden.length; ++i)\n      if (!hidden[i].lines.length) signal(hidden[i], \"hide\");\n    if (unhidden) for (var i = 0; i < unhidden.length; ++i)\n      if (unhidden[i].lines.length) signal(unhidden[i], \"unhide\");\n\n    var delayed;\n    if (!--delayedCallbackDepth) {\n      delayed = delayedCallbacks;\n      delayedCallbacks = null;\n    }\n    if (op.textChanged)\n      signal(cm, \"change\", cm, op.textChanged);\n    if (op.cursorActivity) signal(cm, \"cursorActivity\", cm);\n    if (delayed) for (var i = 0; i < delayed.length; ++i) delayed[i]();\n  }\n\n  // Wraps a function in an operation. Returns the wrapped function.\n  function operation(cm1, f) {\n    return function() {\n      var cm = cm1 || this, withOp = !cm.curOp;\n      if (withOp) startOperation(cm);\n      try { var result = f.apply(cm, arguments); }\n      finally { if (withOp) endOperation(cm); }\n      return result;\n    };\n  }\n  function docOperation(f) {\n    return function() {\n      var withOp = this.cm && !this.cm.curOp, result;\n      if (withOp) startOperation(this.cm);\n      try { result = f.apply(this, arguments); }\n      finally { if (withOp) endOperation(this.cm); }\n      return result;\n    };\n  }\n  function runInOp(cm, f) {\n    var withOp = !cm.curOp, result;\n    if (withOp) startOperation(cm);\n    try { result = f(); }\n    finally { if (withOp) endOperation(cm); }\n    return result;\n  }\n\n  function regChange(cm, from, to, lendiff) {\n    if (from == null) from = cm.doc.first;\n    if (to == null) to = cm.doc.first + cm.doc.size;\n    cm.curOp.changes.push({from: from, to: to, diff: lendiff});\n  }\n\n  // INPUT HANDLING\n\n  function slowPoll(cm) {\n    if (cm.display.pollingFast) return;\n    cm.display.poll.set(cm.options.pollInterval, function() {\n      readInput(cm);\n      if (cm.state.focused) slowPoll(cm);\n    });\n  }\n\n  function fastPoll(cm) {\n    var missed = false;\n    cm.display.pollingFast = true;\n    function p() {\n      var changed = readInput(cm);\n      if (!changed && !missed) {missed = true; cm.display.poll.set(60, p);}\n      else {cm.display.pollingFast = false; slowPoll(cm);}\n    }\n    cm.display.poll.set(20, p);\n  }\n\n  // prevInput is a hack to work with IME. If we reset the textarea\n  // on every change, that breaks IME. So we look for changes\n  // compared to the previous content instead. (Modern browsers have\n  // events that indicate IME taking place, but these are not widely\n  // supported or compatible enough yet to rely on.)\n  function readInput(cm) {\n    var input = cm.display.input, prevInput = cm.display.prevInput, doc = cm.doc, sel = doc.sel;\n    if (!cm.state.focused || hasSelection(input) || isReadOnly(cm) || cm.state.disableInput) return false;\n    if (cm.state.pasteIncoming && cm.state.fakedLastChar) {\n      input.value = input.value.substring(0, input.value.length - 1);\n      cm.state.fakedLastChar = false;\n    }\n    var text = input.value;\n    if (text == prevInput && posEq(sel.from, sel.to)) return false;\n    if (ie && !ie_lt9 && cm.display.inputHasSelection === text) {\n      resetInput(cm, true);\n      return false;\n    }\n\n    var withOp = !cm.curOp;\n    if (withOp) startOperation(cm);\n    sel.shift = false;\n    var same = 0, l = Math.min(prevInput.length, text.length);\n    while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) ++same;\n    var from = sel.from, to = sel.to;\n    if (same < prevInput.length)\n      from = Pos(from.line, from.ch - (prevInput.length - same));\n    else if (cm.state.overwrite && posEq(from, to) && !cm.state.pasteIncoming)\n      to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + (text.length - same)));\n\n    var updateInput = cm.curOp.updateInput;\n    var changeEvent = {from: from, to: to, text: splitLines(text.slice(same)),\n                       origin: cm.state.pasteIncoming ? \"paste\" : \"+input\"};\n    makeChange(cm.doc, changeEvent, \"end\");\n    cm.curOp.updateInput = updateInput;\n    signalLater(cm, \"inputRead\", cm, changeEvent);\n\n    if (text.length > 1000 || text.indexOf(\"\\n\") > -1) input.value = cm.display.prevInput = \"\";\n    else cm.display.prevInput = text;\n    if (withOp) endOperation(cm);\n    cm.state.pasteIncoming = false;\n    return true;\n  }\n\n  function resetInput(cm, user) {\n    var minimal, selected, doc = cm.doc;\n    if (!posEq(doc.sel.from, doc.sel.to)) {\n      cm.display.prevInput = \"\";\n      minimal = hasCopyEvent &&\n        (doc.sel.to.line - doc.sel.from.line > 100 || (selected = cm.getSelection()).length > 1000);\n      var content = minimal ? \"-\" : selected || cm.getSelection();\n      cm.display.input.value = content;\n      if (cm.state.focused) selectInput(cm.display.input);\n      if (ie && !ie_lt9) cm.display.inputHasSelection = content;\n    } else if (user) {\n      cm.display.prevInput = cm.display.input.value = \"\";\n      if (ie && !ie_lt9) cm.display.inputHasSelection = null;\n    }\n    cm.display.inaccurateSelection = minimal;\n  }\n\n  function focusInput(cm) {\n    if (cm.options.readOnly != \"nocursor\" && (!mobile || document.activeElement != cm.display.input))\n      cm.display.input.focus();\n  }\n\n  function isReadOnly(cm) {\n    return cm.options.readOnly || cm.doc.cantEdit;\n  }\n\n  // EVENT HANDLERS\n\n  function registerEventHandlers(cm) {\n    var d = cm.display;\n    on(d.scroller, \"mousedown\", operation(cm, onMouseDown));\n    if (ie)\n      on(d.scroller, \"dblclick\", operation(cm, function(e) {\n        if (signalDOMEvent(cm, e)) return;\n        var pos = posFromMouse(cm, e);\n        if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) return;\n        e_preventDefault(e);\n        var word = findWordAt(getLine(cm.doc, pos.line).text, pos);\n        extendSelection(cm.doc, word.from, word.to);\n      }));\n    else\n      on(d.scroller, \"dblclick\", function(e) { signalDOMEvent(cm, e) || e_preventDefault(e); });\n    on(d.lineSpace, \"selectstart\", function(e) {\n      if (!eventInWidget(d, e)) e_preventDefault(e);\n    });\n    // Gecko browsers fire contextmenu *after* opening the menu, at\n    // which point we can't mess with it anymore. Context menu is\n    // handled in onMouseDown for Gecko.\n    if (!captureMiddleClick) on(d.scroller, \"contextmenu\", function(e) {onContextMenu(cm, e);});\n\n    on(d.scroller, \"scroll\", function() {\n      if (d.scroller.clientHeight) {\n        setScrollTop(cm, d.scroller.scrollTop);\n        setScrollLeft(cm, d.scroller.scrollLeft, true);\n        signal(cm, \"scroll\", cm);\n      }\n    });\n    on(d.scrollbarV, \"scroll\", function() {\n      if (d.scroller.clientHeight) setScrollTop(cm, d.scrollbarV.scrollTop);\n    });\n    on(d.scrollbarH, \"scroll\", function() {\n      if (d.scroller.clientHeight) setScrollLeft(cm, d.scrollbarH.scrollLeft);\n    });\n\n    on(d.scroller, \"mousewheel\", function(e){onScrollWheel(cm, e);});\n    on(d.scroller, \"DOMMouseScroll\", function(e){onScrollWheel(cm, e);});\n\n    function reFocus() { if (cm.state.focused) setTimeout(bind(focusInput, cm), 0); }\n    on(d.scrollbarH, \"mousedown\", reFocus);\n    on(d.scrollbarV, \"mousedown\", reFocus);\n    // Prevent wrapper from ever scrolling\n    on(d.wrapper, \"scroll\", function() { d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });\n\n    var resizeTimer;\n    function onResize() {\n      if (resizeTimer == null) resizeTimer = setTimeout(function() {\n        resizeTimer = null;\n        // Might be a text scaling operation, clear size caches.\n        d.cachedCharWidth = d.cachedTextHeight = knownScrollbarWidth = null;\n        clearCaches(cm);\n        runInOp(cm, bind(regChange, cm));\n      }, 100);\n    }\n    on(window, \"resize\", onResize);\n    // Above handler holds on to the editor and its data structures.\n    // Here we poll to unregister it when the editor is no longer in\n    // the document, so that it can be garbage-collected.\n    function unregister() {\n      for (var p = d.wrapper.parentNode; p && p != document.body; p = p.parentNode) {}\n      if (p) setTimeout(unregister, 5000);\n      else off(window, \"resize\", onResize);\n    }\n    setTimeout(unregister, 5000);\n\n    on(d.input, \"keyup\", operation(cm, function(e) {\n      if (signalDOMEvent(cm, e) || cm.options.onKeyEvent && cm.options.onKeyEvent(cm, addStop(e))) return;\n      if (e.keyCode == 16) cm.doc.sel.shift = false;\n    }));\n    on(d.input, \"input\", function() {\n      if (ie && !ie_lt9 && cm.display.inputHasSelection) cm.display.inputHasSelection = null;\n      fastPoll(cm);\n    });\n    on(d.input, \"keydown\", operation(cm, onKeyDown));\n    on(d.input, \"keypress\", operation(cm, onKeyPress));\n    on(d.input, \"focus\", bind(onFocus, cm));\n    on(d.input, \"blur\", bind(onBlur, cm));\n\n    function drag_(e) {\n      if (signalDOMEvent(cm, e) || cm.options.onDragEvent && cm.options.onDragEvent(cm, addStop(e))) return;\n      e_stop(e);\n    }\n    if (cm.options.dragDrop) {\n      on(d.scroller, \"dragstart\", function(e){onDragStart(cm, e);});\n      on(d.scroller, \"dragenter\", drag_);\n      on(d.scroller, \"dragover\", drag_);\n      on(d.scroller, \"drop\", operation(cm, onDrop));\n    }\n    on(d.scroller, \"paste\", function(e) {\n      if (eventInWidget(d, e)) return;\n      focusInput(cm);\n      fastPoll(cm);\n    });\n    on(d.input, \"paste\", function() {\n      // Workaround for webkit bug https://bugs.webkit.org/show_bug.cgi?id=90206\n      // Add a char to the end of textarea before paste occur so that\n      // selection doesn't span to the end of textarea.\n      if (webkit && !cm.state.fakedLastChar && !(new Date - cm.state.lastMiddleDown < 200)) {\n        var start = d.input.selectionStart, end = d.input.selectionEnd;\n        d.input.value += \"$\";\n        d.input.selectionStart = start;\n        d.input.selectionEnd = end;\n        cm.state.fakedLastChar = true;\n      }\n      cm.state.pasteIncoming = true;\n      fastPoll(cm);\n    });\n\n    function prepareCopy() {\n      if (d.inaccurateSelection) {\n        d.prevInput = \"\";\n        d.inaccurateSelection = false;\n        d.input.value = cm.getSelection();\n        selectInput(d.input);\n      }\n    }\n    on(d.input, \"cut\", prepareCopy);\n    on(d.input, \"copy\", prepareCopy);\n\n    // Needed to handle Tab key in KHTML\n    if (khtml) on(d.sizer, \"mouseup\", function() {\n        if (document.activeElement == d.input) d.input.blur();\n        focusInput(cm);\n    });\n  }\n\n  function eventInWidget(display, e) {\n    for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {\n      if (!n || n.ignoreEvents || n.parentNode == display.sizer && n != display.mover) return true;\n    }\n  }\n\n  function posFromMouse(cm, e, liberal) {\n    var display = cm.display;\n    if (!liberal) {\n      var target = e_target(e);\n      if (target == display.scrollbarH || target == display.scrollbarH.firstChild ||\n          target == display.scrollbarV || target == display.scrollbarV.firstChild ||\n          target == display.scrollbarFiller || target == display.gutterFiller) return null;\n    }\n    var x, y, space = getRect(display.lineSpace);\n    // Fails unpredictably on IE[67] when mouse is dragged around quickly.\n    try { x = e.clientX; y = e.clientY; } catch (e) { return null; }\n    return coordsChar(cm, x - space.left, y - space.top);\n  }\n\n  var lastClick, lastDoubleClick;\n  function onMouseDown(e) {\n    if (signalDOMEvent(this, e)) return;\n    var cm = this, display = cm.display, doc = cm.doc, sel = doc.sel;\n    sel.shift = e.shiftKey;\n\n    if (eventInWidget(display, e)) {\n      if (!webkit) {\n        display.scroller.draggable = false;\n        setTimeout(function(){display.scroller.draggable = true;}, 100);\n      }\n      return;\n    }\n    if (clickInGutter(cm, e)) return;\n    var start = posFromMouse(cm, e);\n\n    switch (e_button(e)) {\n    case 3:\n      if (captureMiddleClick) onContextMenu.call(cm, cm, e);\n      return;\n    case 2:\n      if (webkit) cm.state.lastMiddleDown = +new Date;\n      if (start) extendSelection(cm.doc, start);\n      setTimeout(bind(focusInput, cm), 20);\n      e_preventDefault(e);\n      return;\n    }\n    // For button 1, if it was clicked inside the editor\n    // (posFromMouse returning non-null), we have to adjust the\n    // selection.\n    if (!start) {if (e_target(e) == display.scroller) e_preventDefault(e); return;}\n\n    if (!cm.state.focused) onFocus(cm);\n\n    var now = +new Date, type = \"single\";\n    if (lastDoubleClick && lastDoubleClick.time > now - 400 && posEq(lastDoubleClick.pos, start)) {\n      type = \"triple\";\n      e_preventDefault(e);\n      setTimeout(bind(focusInput, cm), 20);\n      selectLine(cm, start.line);\n    } else if (lastClick && lastClick.time > now - 400 && posEq(lastClick.pos, start)) {\n      type = \"double\";\n      lastDoubleClick = {time: now, pos: start};\n      e_preventDefault(e);\n      var word = findWordAt(getLine(doc, start.line).text, start);\n      extendSelection(cm.doc, word.from, word.to);\n    } else { lastClick = {time: now, pos: start}; }\n\n    var last = start;\n    if (cm.options.dragDrop && dragAndDrop && !isReadOnly(cm) && !posEq(sel.from, sel.to) &&\n        !posLess(start, sel.from) && !posLess(sel.to, start) && type == \"single\") {\n      var dragEnd = operation(cm, function(e2) {\n        if (webkit) display.scroller.draggable = false;\n        cm.state.draggingText = false;\n        off(document, \"mouseup\", dragEnd);\n        off(display.scroller, \"drop\", dragEnd);\n        if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) {\n          e_preventDefault(e2);\n          extendSelection(cm.doc, start);\n          focusInput(cm);\n        }\n      });\n      // Let the drag handler handle this.\n      if (webkit) display.scroller.draggable = true;\n      cm.state.draggingText = dragEnd;\n      // IE's approach to draggable\n      if (display.scroller.dragDrop) display.scroller.dragDrop();\n      on(document, \"mouseup\", dragEnd);\n      on(display.scroller, \"drop\", dragEnd);\n      return;\n    }\n    e_preventDefault(e);\n    if (type == \"single\") extendSelection(cm.doc, clipPos(doc, start));\n\n    var startstart = sel.from, startend = sel.to, lastPos = start;\n\n    function doSelect(cur) {\n      if (posEq(lastPos, cur)) return;\n      lastPos = cur;\n\n      if (type == \"single\") {\n        extendSelection(cm.doc, clipPos(doc, start), cur);\n        return;\n      }\n\n      startstart = clipPos(doc, startstart);\n      startend = clipPos(doc, startend);\n      if (type == \"double\") {\n        var word = findWordAt(getLine(doc, cur.line).text, cur);\n        if (posLess(cur, startstart)) extendSelection(cm.doc, word.from, startend);\n        else extendSelection(cm.doc, startstart, word.to);\n      } else if (type == \"triple\") {\n        if (posLess(cur, startstart)) extendSelection(cm.doc, startend, clipPos(doc, Pos(cur.line, 0)));\n        else extendSelection(cm.doc, startstart, clipPos(doc, Pos(cur.line + 1, 0)));\n      }\n    }\n\n    var editorSize = getRect(display.wrapper);\n    // Used to ensure timeout re-tries don't fire when another extend\n    // happened in the meantime (clearTimeout isn't reliable -- at\n    // least on Chrome, the timeouts still happen even when cleared,\n    // if the clear happens after their scheduled firing time).\n    var counter = 0;\n\n    function extend(e) {\n      var curCount = ++counter;\n      var cur = posFromMouse(cm, e, true);\n      if (!cur) return;\n      if (!posEq(cur, last)) {\n        if (!cm.state.focused) onFocus(cm);\n        last = cur;\n        doSelect(cur);\n        var visible = visibleLines(display, doc);\n        if (cur.line >= visible.to || cur.line < visible.from)\n          setTimeout(operation(cm, function(){if (counter == curCount) extend(e);}), 150);\n      } else {\n        var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0;\n        if (outside) setTimeout(operation(cm, function() {\n          if (counter != curCount) return;\n          display.scroller.scrollTop += outside;\n          extend(e);\n        }), 50);\n      }\n    }\n\n    function done(e) {\n      counter = Infinity;\n      e_preventDefault(e);\n      focusInput(cm);\n      off(document, \"mousemove\", move);\n      off(document, \"mouseup\", up);\n    }\n\n    var move = operation(cm, function(e) {\n      if (!ie && !e_button(e)) done(e);\n      else extend(e);\n    });\n    var up = operation(cm, done);\n    on(document, \"mousemove\", move);\n    on(document, \"mouseup\", up);\n  }\n\n  function gutterEvent(cm, e, type, prevent, signalfn) {\n    try { var mX = e.clientX, mY = e.clientY; }\n    catch(e) { return false; }\n    if (mX >= Math.floor(getRect(cm.display.gutters).right)) return false;\n    if (prevent) e_preventDefault(e);\n\n    var display = cm.display;\n    var lineBox = getRect(display.lineDiv);\n\n    if (mY > lineBox.bottom || !hasHandler(cm, type)) return e_defaultPrevented(e);\n    mY -= lineBox.top - display.viewOffset;\n\n    for (var i = 0; i < cm.options.gutters.length; ++i) {\n      var g = display.gutters.childNodes[i];\n      if (g && getRect(g).right >= mX) {\n        var line = lineAtHeight(cm.doc, mY);\n        var gutter = cm.options.gutters[i];\n        signalfn(cm, type, cm, line, gutter, e);\n        return e_defaultPrevented(e);\n      }\n    }\n  }\n\n  function contextMenuInGutter(cm, e) {\n    if (!hasHandler(cm, \"gutterContextMenu\")) return false;\n    return gutterEvent(cm, e, \"gutterContextMenu\", false, signal);\n  }\n\n  function clickInGutter(cm, e) {\n    return gutterEvent(cm, e, \"gutterClick\", true, signalLater);\n  }\n\n  // Kludge to work around strange IE behavior where it'll sometimes\n  // re-fire a series of drag-related events right after the drop (#1551)\n  var lastDrop = 0;\n\n  function onDrop(e) {\n    var cm = this;\n    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e) || (cm.options.onDragEvent && cm.options.onDragEvent(cm, addStop(e))))\n      return;\n    e_preventDefault(e);\n    if (ie) lastDrop = +new Date;\n    var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files;\n    if (!pos || isReadOnly(cm)) return;\n    if (files && files.length && window.FileReader && window.File) {\n      var n = files.length, text = Array(n), read = 0;\n      var loadFile = function(file, i) {\n        var reader = new FileReader;\n        reader.onload = function() {\n          text[i] = reader.result;\n          if (++read == n) {\n            pos = clipPos(cm.doc, pos);\n            makeChange(cm.doc, {from: pos, to: pos, text: splitLines(text.join(\"\\n\")), origin: \"paste\"}, \"around\");\n          }\n        };\n        reader.readAsText(file);\n      };\n      for (var i = 0; i < n; ++i) loadFile(files[i], i);\n    } else {\n      // Don't do a replace if the drop happened inside of the selected text.\n      if (cm.state.draggingText && !(posLess(pos, cm.doc.sel.from) || posLess(cm.doc.sel.to, pos))) {\n        cm.state.draggingText(e);\n        // Ensure the editor is re-focused\n        setTimeout(bind(focusInput, cm), 20);\n        return;\n      }\n      try {\n        var text = e.dataTransfer.getData(\"Text\");\n        if (text) {\n          var curFrom = cm.doc.sel.from, curTo = cm.doc.sel.to;\n          setSelection(cm.doc, pos, pos);\n          if (cm.state.draggingText) replaceRange(cm.doc, \"\", curFrom, curTo, \"paste\");\n          cm.replaceSelection(text, null, \"paste\");\n          focusInput(cm);\n        }\n      }\n      catch(e){}\n    }\n  }\n\n  function onDragStart(cm, e) {\n    if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return; }\n    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) return;\n\n    var txt = cm.getSelection();\n    e.dataTransfer.setData(\"Text\", txt);\n\n    // Use dummy image instead of default browsers image.\n    // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there.\n    if (e.dataTransfer.setDragImage && !safari) {\n      var img = elt(\"img\", null, null, \"position: fixed; left: 0; top: 0;\");\n      img.src = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n      if (opera) {\n        img.width = img.height = 1;\n        cm.display.wrapper.appendChild(img);\n        // Force a relayout, or Opera won't use our image for some obscure reason\n        img._top = img.offsetTop;\n      }\n      e.dataTransfer.setDragImage(img, 0, 0);\n      if (opera) img.parentNode.removeChild(img);\n    }\n  }\n\n  function setScrollTop(cm, val) {\n    if (Math.abs(cm.doc.scrollTop - val) < 2) return;\n    cm.doc.scrollTop = val;\n    if (!gecko) updateDisplay(cm, [], val);\n    if (cm.display.scroller.scrollTop != val) cm.display.scroller.scrollTop = val;\n    if (cm.display.scrollbarV.scrollTop != val) cm.display.scrollbarV.scrollTop = val;\n    if (gecko) updateDisplay(cm, []);\n    startWorker(cm, 100);\n  }\n  function setScrollLeft(cm, val, isScroller) {\n    if (isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) return;\n    val = Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth);\n    cm.doc.scrollLeft = val;\n    alignHorizontally(cm);\n    if (cm.display.scroller.scrollLeft != val) cm.display.scroller.scrollLeft = val;\n    if (cm.display.scrollbarH.scrollLeft != val) cm.display.scrollbarH.scrollLeft = val;\n  }\n\n  // Since the delta values reported on mouse wheel events are\n  // unstandardized between browsers and even browser versions, and\n  // generally horribly unpredictable, this code starts by measuring\n  // the scroll effect that the first few mouse wheel events have,\n  // and, from that, detects the way it can convert deltas to pixel\n  // offsets afterwards.\n  //\n  // The reason we want to know the amount a wheel event will scroll\n  // is that it gives us a chance to update the display before the\n  // actual scrolling happens, reducing flickering.\n\n  var wheelSamples = 0, wheelPixelsPerUnit = null;\n  // Fill in a browser-detected starting value on browsers where we\n  // know one. These don't have to be accurate -- the result of them\n  // being wrong would just be a slight flicker on the first wheel\n  // scroll (if it is large enough).\n  if (ie) wheelPixelsPerUnit = -.53;\n  else if (gecko) wheelPixelsPerUnit = 15;\n  else if (chrome) wheelPixelsPerUnit = -.7;\n  else if (safari) wheelPixelsPerUnit = -1/3;\n\n  function onScrollWheel(cm, e) {\n    var dx = e.wheelDeltaX, dy = e.wheelDeltaY;\n    if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) dx = e.detail;\n    if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) dy = e.detail;\n    else if (dy == null) dy = e.wheelDelta;\n\n    var display = cm.display, scroll = display.scroller;\n    // Quit if there's nothing to scroll here\n    if (!(dx && scroll.scrollWidth > scroll.clientWidth ||\n          dy && scroll.scrollHeight > scroll.clientHeight)) return;\n\n    // Webkit browsers on OS X abort momentum scrolls when the target\n    // of the scroll event is removed from the scrollable element.\n    // This hack (see related code in patchDisplay) makes sure the\n    // element is kept around.\n    if (dy && mac && webkit) {\n      for (var cur = e.target; cur != scroll; cur = cur.parentNode) {\n        if (cur.lineObj) {\n          cm.display.currentWheelTarget = cur;\n          break;\n        }\n      }\n    }\n\n    // On some browsers, horizontal scrolling will cause redraws to\n    // happen before the gutter has been realigned, causing it to\n    // wriggle around in a most unseemly way. When we have an\n    // estimated pixels/delta value, we just handle horizontal\n    // scrolling entirely here. It'll be slightly off from native, but\n    // better than glitching out.\n    if (dx && !gecko && !opera && wheelPixelsPerUnit != null) {\n      if (dy)\n        setScrollTop(cm, Math.max(0, Math.min(scroll.scrollTop + dy * wheelPixelsPerUnit, scroll.scrollHeight - scroll.clientHeight)));\n      setScrollLeft(cm, Math.max(0, Math.min(scroll.scrollLeft + dx * wheelPixelsPerUnit, scroll.scrollWidth - scroll.clientWidth)));\n      e_preventDefault(e);\n      display.wheelStartX = null; // Abort measurement, if in progress\n      return;\n    }\n\n    if (dy && wheelPixelsPerUnit != null) {\n      var pixels = dy * wheelPixelsPerUnit;\n      var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight;\n      if (pixels < 0) top = Math.max(0, top + pixels - 50);\n      else bot = Math.min(cm.doc.height, bot + pixels + 50);\n      updateDisplay(cm, [], {top: top, bottom: bot});\n    }\n\n    if (wheelSamples < 20) {\n      if (display.wheelStartX == null) {\n        display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop;\n        display.wheelDX = dx; display.wheelDY = dy;\n        setTimeout(function() {\n          if (display.wheelStartX == null) return;\n          var movedX = scroll.scrollLeft - display.wheelStartX;\n          var movedY = scroll.scrollTop - display.wheelStartY;\n          var sample = (movedY && display.wheelDY && movedY / display.wheelDY) ||\n            (movedX && display.wheelDX && movedX / display.wheelDX);\n          display.wheelStartX = display.wheelStartY = null;\n          if (!sample) return;\n          wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1);\n          ++wheelSamples;\n        }, 200);\n      } else {\n        display.wheelDX += dx; display.wheelDY += dy;\n      }\n    }\n  }\n\n  function doHandleBinding(cm, bound, dropShift) {\n    if (typeof bound == \"string\") {\n      bound = commands[bound];\n      if (!bound) return false;\n    }\n    // Ensure previous input has been read, so that the handler sees a\n    // consistent view of the document\n    if (cm.display.pollingFast && readInput(cm)) cm.display.pollingFast = false;\n    var doc = cm.doc, prevShift = doc.sel.shift, done = false;\n    try {\n      if (isReadOnly(cm)) cm.state.suppressEdits = true;\n      if (dropShift) doc.sel.shift = false;\n      done = bound(cm) != Pass;\n    } finally {\n      doc.sel.shift = prevShift;\n      cm.state.suppressEdits = false;\n    }\n    return done;\n  }\n\n  function allKeyMaps(cm) {\n    var maps = cm.state.keyMaps.slice(0);\n    if (cm.options.extraKeys) maps.push(cm.options.extraKeys);\n    maps.push(cm.options.keyMap);\n    return maps;\n  }\n\n  var maybeTransition;\n  function handleKeyBinding(cm, e) {\n    // Handle auto keymap transitions\n    var startMap = getKeyMap(cm.options.keyMap), next = startMap.auto;\n    clearTimeout(maybeTransition);\n    if (next && !isModifierKey(e)) maybeTransition = setTimeout(function() {\n      if (getKeyMap(cm.options.keyMap) == startMap) {\n        cm.options.keyMap = (next.call ? next.call(null, cm) : next);\n        keyMapChanged(cm);\n      }\n    }, 50);\n\n    var name = keyName(e, true), handled = false;\n    if (!name) return false;\n    var keymaps = allKeyMaps(cm);\n\n    if (e.shiftKey) {\n      // First try to resolve full name (including 'Shift-'). Failing\n      // that, see if there is a cursor-motion command (starting with\n      // 'go') bound to the keyname without 'Shift-'.\n      handled = lookupKey(\"Shift-\" + name, keymaps, function(b) {return doHandleBinding(cm, b, true);})\n             || lookupKey(name, keymaps, function(b) {\n                  if (typeof b == \"string\" ? /^go[A-Z]/.test(b) : b.motion)\n                    return doHandleBinding(cm, b);\n                });\n    } else {\n      handled = lookupKey(name, keymaps, function(b) { return doHandleBinding(cm, b); });\n    }\n\n    if (handled) {\n      e_preventDefault(e);\n      restartBlink(cm);\n      if (ie_lt9) { e.oldKeyCode = e.keyCode; e.keyCode = 0; }\n      signalLater(cm, \"keyHandled\", cm, name, e);\n    }\n    return handled;\n  }\n\n  function handleCharBinding(cm, e, ch) {\n    var handled = lookupKey(\"'\" + ch + \"'\", allKeyMaps(cm),\n                            function(b) { return doHandleBinding(cm, b, true); });\n    if (handled) {\n      e_preventDefault(e);\n      restartBlink(cm);\n      signalLater(cm, \"keyHandled\", cm, \"'\" + ch + \"'\", e);\n    }\n    return handled;\n  }\n\n  var lastStoppedKey = null;\n  function onKeyDown(e) {\n    var cm = this;\n    if (!cm.state.focused) onFocus(cm);\n    if (signalDOMEvent(cm, e) || cm.options.onKeyEvent && cm.options.onKeyEvent(cm, addStop(e))) return;\n    if (ie && e.keyCode == 27) e.returnValue = false;\n    var code = e.keyCode;\n    // IE does strange things with escape.\n    cm.doc.sel.shift = code == 16 || e.shiftKey;\n    // First give onKeyEvent option a chance to handle this.\n    var handled = handleKeyBinding(cm, e);\n    if (opera) {\n      lastStoppedKey = handled ? code : null;\n      // Opera has no cut event... we try to at least catch the key combo\n      if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey))\n        cm.replaceSelection(\"\");\n    }\n  }\n\n  function onKeyPress(e) {\n    var cm = this;\n    if (signalDOMEvent(cm, e) || cm.options.onKeyEvent && cm.options.onKeyEvent(cm, addStop(e))) return;\n    var keyCode = e.keyCode, charCode = e.charCode;\n    if (opera && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return;}\n    if (((opera && (!e.which || e.which < 10)) || khtml) && handleKeyBinding(cm, e)) return;\n    var ch = String.fromCharCode(charCode == null ? keyCode : charCode);\n    if (this.options.electricChars && this.doc.mode.electricChars &&\n        this.options.smartIndent && !isReadOnly(this) &&\n        this.doc.mode.electricChars.indexOf(ch) > -1)\n      setTimeout(operation(cm, function() {indentLine(cm, cm.doc.sel.to.line, \"smart\");}), 75);\n    if (handleCharBinding(cm, e, ch)) return;\n    if (ie && !ie_lt9) cm.display.inputHasSelection = null;\n    fastPoll(cm);\n  }\n\n  function onFocus(cm) {\n    if (cm.options.readOnly == \"nocursor\") return;\n    if (!cm.state.focused) {\n      signal(cm, \"focus\", cm);\n      cm.state.focused = true;\n      if (cm.display.wrapper.className.search(/\\bCodeMirror-focused\\b/) == -1)\n        cm.display.wrapper.className += \" CodeMirror-focused\";\n      if (!cm.curOp) {\n        resetInput(cm, true);\n        if (webkit) setTimeout(bind(resetInput, cm, true), 0); // Issue #1730\n      }\n    }\n    slowPoll(cm);\n    restartBlink(cm);\n  }\n  function onBlur(cm) {\n    if (cm.state.focused) {\n      signal(cm, \"blur\", cm);\n      cm.state.focused = false;\n      cm.display.wrapper.className = cm.display.wrapper.className.replace(\" CodeMirror-focused\", \"\");\n    }\n    clearInterval(cm.display.blinker);\n    setTimeout(function() {if (!cm.state.focused) cm.doc.sel.shift = false;}, 150);\n  }\n\n  var detectingSelectAll;\n  function onContextMenu(cm, e) {\n    if (signalDOMEvent(cm, e, \"contextmenu\")) return;\n    var display = cm.display, sel = cm.doc.sel;\n    if (eventInWidget(display, e) || contextMenuInGutter(cm, e)) return;\n\n    var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;\n    if (!pos || opera) return; // Opera is difficult.\n\n    // Reset the current text selection only if the click is done outside of the selection\n    // and 'resetSelectionOnContextMenu' option is true.\n    var reset = cm.options.resetSelectionOnContextMenu;\n    if (reset && (posEq(sel.from, sel.to) || posLess(pos, sel.from) || !posLess(pos, sel.to)))\n      operation(cm, setSelection)(cm.doc, pos, pos);\n\n    var oldCSS = display.input.style.cssText;\n    display.inputDiv.style.position = \"absolute\";\n    display.input.style.cssText = \"position: fixed; width: 30px; height: 30px; top: \" + (e.clientY - 5) +\n      \"px; left: \" + (e.clientX - 5) + \"px; z-index: 1000; background: white; outline: none;\" +\n      \"border-width: 0; outline: none; overflow: hidden; opacity: .05; -ms-opacity: .05; filter: alpha(opacity=5);\";\n    focusInput(cm);\n    resetInput(cm, true);\n    // Adds \"Select all\" to context menu in FF\n    if (posEq(sel.from, sel.to)) display.input.value = display.prevInput = \" \";\n\n    function prepareSelectAllHack() {\n      if (display.input.selectionStart != null) {\n        var extval = display.input.value = \"\\u200b\" + (posEq(sel.from, sel.to) ? \"\" : display.input.value);\n        display.prevInput = \"\\u200b\";\n        display.input.selectionStart = 1; display.input.selectionEnd = extval.length;\n      }\n    }\n    function rehide() {\n      display.inputDiv.style.position = \"relative\";\n      display.input.style.cssText = oldCSS;\n      if (ie_lt9) display.scrollbarV.scrollTop = display.scroller.scrollTop = scrollPos;\n      slowPoll(cm);\n\n      // Try to detect the user choosing select-all\n      if (display.input.selectionStart != null) {\n        if (!ie || ie_lt9) prepareSelectAllHack();\n        clearTimeout(detectingSelectAll);\n        var i = 0, poll = function(){\n          if (display.prevInput == \" \" && display.input.selectionStart == 0)\n            operation(cm, commands.selectAll)(cm);\n          else if (i++ < 10) detectingSelectAll = setTimeout(poll, 500);\n          else resetInput(cm);\n        };\n        detectingSelectAll = setTimeout(poll, 200);\n      }\n    }\n\n    if (ie && !ie_lt9) prepareSelectAllHack();\n    if (captureMiddleClick) {\n      e_stop(e);\n      var mouseup = function() {\n        off(window, \"mouseup\", mouseup);\n        setTimeout(rehide, 20);\n      };\n      on(window, \"mouseup\", mouseup);\n    } else {\n      setTimeout(rehide, 50);\n    }\n  }\n\n  // UPDATING\n\n  var changeEnd = CodeMirror.changeEnd = function(change) {\n    if (!change.text) return change.to;\n    return Pos(change.from.line + change.text.length - 1,\n               lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0));\n  };\n\n  // Make sure a position will be valid after the given change.\n  function clipPostChange(doc, change, pos) {\n    if (!posLess(change.from, pos)) return clipPos(doc, pos);\n    var diff = (change.text.length - 1) - (change.to.line - change.from.line);\n    if (pos.line > change.to.line + diff) {\n      var preLine = pos.line - diff, lastLine = doc.first + doc.size - 1;\n      if (preLine > lastLine) return Pos(lastLine, getLine(doc, lastLine).text.length);\n      return clipToLen(pos, getLine(doc, preLine).text.length);\n    }\n    if (pos.line == change.to.line + diff)\n      return clipToLen(pos, lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0) +\n                       getLine(doc, change.to.line).text.length - change.to.ch);\n    var inside = pos.line - change.from.line;\n    return clipToLen(pos, change.text[inside].length + (inside ? 0 : change.from.ch));\n  }\n\n  // Hint can be null|\"end\"|\"start\"|\"around\"|{anchor,head}\n  function computeSelAfterChange(doc, change, hint) {\n    if (hint && typeof hint == \"object\") // Assumed to be {anchor, head} object\n      return {anchor: clipPostChange(doc, change, hint.anchor),\n              head: clipPostChange(doc, change, hint.head)};\n\n    if (hint == \"start\") return {anchor: change.from, head: change.from};\n\n    var end = changeEnd(change);\n    if (hint == \"around\") return {anchor: change.from, head: end};\n    if (hint == \"end\") return {anchor: end, head: end};\n\n    // hint is null, leave the selection alone as much as possible\n    var adjustPos = function(pos) {\n      if (posLess(pos, change.from)) return pos;\n      if (!posLess(change.to, pos)) return end;\n\n      var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch;\n      if (pos.line == change.to.line) ch += end.ch - change.to.ch;\n      return Pos(line, ch);\n    };\n    return {anchor: adjustPos(doc.sel.anchor), head: adjustPos(doc.sel.head)};\n  }\n\n  function filterChange(doc, change, update) {\n    var obj = {\n      canceled: false,\n      from: change.from,\n      to: change.to,\n      text: change.text,\n      origin: change.origin,\n      cancel: function() { this.canceled = true; }\n    };\n    if (update) obj.update = function(from, to, text, origin) {\n      if (from) this.from = clipPos(doc, from);\n      if (to) this.to = clipPos(doc, to);\n      if (text) this.text = text;\n      if (origin !== undefined) this.origin = origin;\n    };\n    signal(doc, \"beforeChange\", doc, obj);\n    if (doc.cm) signal(doc.cm, \"beforeChange\", doc.cm, obj);\n\n    if (obj.canceled) return null;\n    return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin};\n  }\n\n  // Replace the range from from to to by the strings in replacement.\n  // change is a {from, to, text [, origin]} object\n  function makeChange(doc, change, selUpdate, ignoreReadOnly) {\n    if (doc.cm) {\n      if (!doc.cm.curOp) return operation(doc.cm, makeChange)(doc, change, selUpdate, ignoreReadOnly);\n      if (doc.cm.state.suppressEdits) return;\n    }\n\n    if (hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\")) {\n      change = filterChange(doc, change, true);\n      if (!change) return;\n    }\n\n    // Possibly split or suppress the update based on the presence\n    // of read-only spans in its range.\n    var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to);\n    if (split) {\n      for (var i = split.length - 1; i >= 1; --i)\n        makeChangeNoReadonly(doc, {from: split[i].from, to: split[i].to, text: [\"\"]});\n      if (split.length)\n        makeChangeNoReadonly(doc, {from: split[0].from, to: split[0].to, text: change.text}, selUpdate);\n    } else {\n      makeChangeNoReadonly(doc, change, selUpdate);\n    }\n  }\n\n  function makeChangeNoReadonly(doc, change, selUpdate) {\n    if (change.text.length == 1 && change.text[0] == \"\" && posEq(change.from, change.to)) return;\n    var selAfter = computeSelAfterChange(doc, change, selUpdate);\n    addToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN);\n\n    makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change));\n    var rebased = [];\n\n    linkedDocs(doc, function(doc, sharedHist) {\n      if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n        rebaseHist(doc.history, change);\n        rebased.push(doc.history);\n      }\n      makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change));\n    });\n  }\n\n  function makeChangeFromHistory(doc, type) {\n    if (doc.cm && doc.cm.state.suppressEdits) return;\n\n    var hist = doc.history;\n    var event = (type == \"undo\" ? hist.done : hist.undone).pop();\n    if (!event) return;\n\n    var anti = {changes: [], anchorBefore: event.anchorAfter, headBefore: event.headAfter,\n                anchorAfter: event.anchorBefore, headAfter: event.headBefore,\n                generation: hist.generation};\n    (type == \"undo\" ? hist.undone : hist.done).push(anti);\n    hist.generation = event.generation || ++hist.maxGeneration;\n\n    var filter = hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\");\n\n    for (var i = event.changes.length - 1; i >= 0; --i) {\n      var change = event.changes[i];\n      change.origin = type;\n      if (filter && !filterChange(doc, change, false)) {\n        (type == \"undo\" ? hist.done : hist.undone).length = 0;\n        return;\n      }\n\n      anti.changes.push(historyChangeFromChange(doc, change));\n\n      var after = i ? computeSelAfterChange(doc, change, null)\n                    : {anchor: event.anchorBefore, head: event.headBefore};\n      makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));\n      var rebased = [];\n\n      linkedDocs(doc, function(doc, sharedHist) {\n        if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n          rebaseHist(doc.history, change);\n          rebased.push(doc.history);\n        }\n        makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change));\n      });\n    }\n  }\n\n  function shiftDoc(doc, distance) {\n    function shiftPos(pos) {return Pos(pos.line + distance, pos.ch);}\n    doc.first += distance;\n    if (doc.cm) regChange(doc.cm, doc.first, doc.first, distance);\n    doc.sel.head = shiftPos(doc.sel.head); doc.sel.anchor = shiftPos(doc.sel.anchor);\n    doc.sel.from = shiftPos(doc.sel.from); doc.sel.to = shiftPos(doc.sel.to);\n  }\n\n  function makeChangeSingleDoc(doc, change, selAfter, spans) {\n    if (doc.cm && !doc.cm.curOp)\n      return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans);\n\n    if (change.to.line < doc.first) {\n      shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line));\n      return;\n    }\n    if (change.from.line > doc.lastLine()) return;\n\n    // Clip the change to the size of this doc\n    if (change.from.line < doc.first) {\n      var shift = change.text.length - 1 - (doc.first - change.from.line);\n      shiftDoc(doc, shift);\n      change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch),\n                text: [lst(change.text)], origin: change.origin};\n    }\n    var last = doc.lastLine();\n    if (change.to.line > last) {\n      change = {from: change.from, to: Pos(last, getLine(doc, last).text.length),\n                text: [change.text[0]], origin: change.origin};\n    }\n\n    change.removed = getBetween(doc, change.from, change.to);\n\n    if (!selAfter) selAfter = computeSelAfterChange(doc, change, null);\n    if (doc.cm) makeChangeSingleDocInEditor(doc.cm, change, spans, selAfter);\n    else updateDoc(doc, change, spans, selAfter);\n  }\n\n  function makeChangeSingleDocInEditor(cm, change, spans, selAfter) {\n    var doc = cm.doc, display = cm.display, from = change.from, to = change.to;\n\n    var recomputeMaxLength = false, checkWidthStart = from.line;\n    if (!cm.options.lineWrapping) {\n      checkWidthStart = lineNo(visualLine(doc, getLine(doc, from.line)));\n      doc.iter(checkWidthStart, to.line + 1, function(line) {\n        if (line == display.maxLine) {\n          recomputeMaxLength = true;\n          return true;\n        }\n      });\n    }\n\n    if (!posLess(doc.sel.head, change.from) && !posLess(change.to, doc.sel.head))\n      cm.curOp.cursorActivity = true;\n\n    updateDoc(doc, change, spans, selAfter, estimateHeight(cm));\n\n    if (!cm.options.lineWrapping) {\n      doc.iter(checkWidthStart, from.line + change.text.length, function(line) {\n        var len = lineLength(doc, line);\n        if (len > display.maxLineLength) {\n          display.maxLine = line;\n          display.maxLineLength = len;\n          display.maxLineChanged = true;\n          recomputeMaxLength = false;\n        }\n      });\n      if (recomputeMaxLength) cm.curOp.updateMaxLine = true;\n    }\n\n    // Adjust frontier, schedule worker\n    doc.frontier = Math.min(doc.frontier, from.line);\n    startWorker(cm, 400);\n\n    var lendiff = change.text.length - (to.line - from.line) - 1;\n    // Remember that these lines changed, for updating the display\n    regChange(cm, from.line, to.line + 1, lendiff);\n\n    if (hasHandler(cm, \"change\")) {\n      var changeObj = {from: from, to: to,\n                       text: change.text,\n                       removed: change.removed,\n                       origin: change.origin};\n      if (cm.curOp.textChanged) {\n        for (var cur = cm.curOp.textChanged; cur.next; cur = cur.next) {}\n        cur.next = changeObj;\n      } else cm.curOp.textChanged = changeObj;\n    }\n  }\n\n  function replaceRange(doc, code, from, to, origin) {\n    if (!to) to = from;\n    if (posLess(to, from)) { var tmp = to; to = from; from = tmp; }\n    if (typeof code == \"string\") code = splitLines(code);\n    makeChange(doc, {from: from, to: to, text: code, origin: origin}, null);\n  }\n\n  // POSITION OBJECT\n\n  function Pos(line, ch) {\n    if (!(this instanceof Pos)) return new Pos(line, ch);\n    this.line = line; this.ch = ch;\n  }\n  CodeMirror.Pos = Pos;\n\n  function posEq(a, b) {return a.line == b.line && a.ch == b.ch;}\n  function posLess(a, b) {return a.line < b.line || (a.line == b.line && a.ch < b.ch);}\n  function copyPos(x) {return Pos(x.line, x.ch);}\n\n  // SELECTION\n\n  function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1));}\n  function clipPos(doc, pos) {\n    if (pos.line < doc.first) return Pos(doc.first, 0);\n    var last = doc.first + doc.size - 1;\n    if (pos.line > last) return Pos(last, getLine(doc, last).text.length);\n    return clipToLen(pos, getLine(doc, pos.line).text.length);\n  }\n  function clipToLen(pos, linelen) {\n    var ch = pos.ch;\n    if (ch == null || ch > linelen) return Pos(pos.line, linelen);\n    else if (ch < 0) return Pos(pos.line, 0);\n    else return pos;\n  }\n  function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}\n\n  // If shift is held, this will move the selection anchor. Otherwise,\n  // it'll set the whole selection.\n  function extendSelection(doc, pos, other, bias) {\n    if (doc.sel.shift || doc.sel.extend) {\n      var anchor = doc.sel.anchor;\n      if (other) {\n        var posBefore = posLess(pos, anchor);\n        if (posBefore != posLess(other, anchor)) {\n          anchor = pos;\n          pos = other;\n        } else if (posBefore != posLess(pos, other)) {\n          pos = other;\n        }\n      }\n      setSelection(doc, anchor, pos, bias);\n    } else {\n      setSelection(doc, pos, other || pos, bias);\n    }\n    if (doc.cm) doc.cm.curOp.userSelChange = true;\n  }\n\n  function filterSelectionChange(doc, anchor, head) {\n    var obj = {anchor: anchor, head: head};\n    signal(doc, \"beforeSelectionChange\", doc, obj);\n    if (doc.cm) signal(doc.cm, \"beforeSelectionChange\", doc.cm, obj);\n    obj.anchor = clipPos(doc, obj.anchor); obj.head = clipPos(doc, obj.head);\n    return obj;\n  }\n\n  // Update the selection. Last two args are only used by\n  // updateDoc, since they have to be expressed in the line\n  // numbers before the update.\n  function setSelection(doc, anchor, head, bias, checkAtomic) {\n    if (!checkAtomic && hasHandler(doc, \"beforeSelectionChange\") || doc.cm && hasHandler(doc.cm, \"beforeSelectionChange\")) {\n      var filtered = filterSelectionChange(doc, anchor, head);\n      head = filtered.head;\n      anchor = filtered.anchor;\n    }\n\n    var sel = doc.sel;\n    sel.goalColumn = null;\n    if (bias == null) bias = posLess(head, sel.head) ? -1 : 1;\n    // Skip over atomic spans.\n    if (checkAtomic || !posEq(anchor, sel.anchor))\n      anchor = skipAtomic(doc, anchor, bias, checkAtomic != \"push\");\n    if (checkAtomic || !posEq(head, sel.head))\n      head = skipAtomic(doc, head, bias, checkAtomic != \"push\");\n\n    if (posEq(sel.anchor, anchor) && posEq(sel.head, head)) return;\n\n    sel.anchor = anchor; sel.head = head;\n    var inv = posLess(head, anchor);\n    sel.from = inv ? head : anchor;\n    sel.to = inv ? anchor : head;\n\n    if (doc.cm)\n      doc.cm.curOp.updateInput = doc.cm.curOp.selectionChanged =\n        doc.cm.curOp.cursorActivity = true;\n\n    signalLater(doc, \"cursorActivity\", doc);\n  }\n\n  function reCheckSelection(cm) {\n    setSelection(cm.doc, cm.doc.sel.from, cm.doc.sel.to, null, \"push\");\n  }\n\n  function skipAtomic(doc, pos, bias, mayClear) {\n    var flipped = false, curPos = pos;\n    var dir = bias || 1;\n    doc.cantEdit = false;\n    search: for (;;) {\n      var line = getLine(doc, curPos.line);\n      if (line.markedSpans) {\n        for (var i = 0; i < line.markedSpans.length; ++i) {\n          var sp = line.markedSpans[i], m = sp.marker;\n          if ((sp.from == null || (m.inclusiveLeft ? sp.from <= curPos.ch : sp.from < curPos.ch)) &&\n              (sp.to == null || (m.inclusiveRight ? sp.to >= curPos.ch : sp.to > curPos.ch))) {\n            if (mayClear) {\n              signal(m, \"beforeCursorEnter\");\n              if (m.explicitlyCleared) {\n                if (!line.markedSpans) break;\n                else {--i; continue;}\n              }\n            }\n            if (!m.atomic) continue;\n            var newPos = m.find()[dir < 0 ? \"from\" : \"to\"];\n            if (posEq(newPos, curPos)) {\n              newPos.ch += dir;\n              if (newPos.ch < 0) {\n                if (newPos.line > doc.first) newPos = clipPos(doc, Pos(newPos.line - 1));\n                else newPos = null;\n              } else if (newPos.ch > line.text.length) {\n                if (newPos.line < doc.first + doc.size - 1) newPos = Pos(newPos.line + 1, 0);\n                else newPos = null;\n              }\n              if (!newPos) {\n                if (flipped) {\n                  // Driven in a corner -- no valid cursor position found at all\n                  // -- try again *with* clearing, if we didn't already\n                  if (!mayClear) return skipAtomic(doc, pos, bias, true);\n                  // Otherwise, turn off editing until further notice, and return the start of the doc\n                  doc.cantEdit = true;\n                  return Pos(doc.first, 0);\n                }\n                flipped = true; newPos = pos; dir = -dir;\n              }\n            }\n            curPos = newPos;\n            continue search;\n          }\n        }\n      }\n      return curPos;\n    }\n  }\n\n  // SCROLLING\n\n  function scrollCursorIntoView(cm) {\n    var coords = scrollPosIntoView(cm, cm.doc.sel.head, null, cm.options.cursorScrollMargin);\n    if (!cm.state.focused) return;\n    var display = cm.display, box = getRect(display.sizer), doScroll = null;\n    if (coords.top + box.top < 0) doScroll = true;\n    else if (coords.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false;\n    if (doScroll != null && !phantom) {\n      var hidden = display.cursor.style.display == \"none\";\n      if (hidden) {\n        display.cursor.style.display = \"\";\n        display.cursor.style.left = coords.left + \"px\";\n        display.cursor.style.top = (coords.top - display.viewOffset) + \"px\";\n      }\n      display.cursor.scrollIntoView(doScroll);\n      if (hidden) display.cursor.style.display = \"none\";\n    }\n  }\n\n  function scrollPosIntoView(cm, pos, end, margin) {\n    if (margin == null) margin = 0;\n    for (;;) {\n      var changed = false, coords = cursorCoords(cm, pos);\n      var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);\n      var scrollPos = calculateScrollPos(cm, Math.min(coords.left, endCoords.left),\n                                         Math.min(coords.top, endCoords.top) - margin,\n                                         Math.max(coords.left, endCoords.left),\n                                         Math.max(coords.bottom, endCoords.bottom) + margin);\n      var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;\n      if (scrollPos.scrollTop != null) {\n        setScrollTop(cm, scrollPos.scrollTop);\n        if (Math.abs(cm.doc.scrollTop - startTop) > 1) changed = true;\n      }\n      if (scrollPos.scrollLeft != null) {\n        setScrollLeft(cm, scrollPos.scrollLeft);\n        if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) changed = true;\n      }\n      if (!changed) return coords;\n    }\n  }\n\n  function scrollIntoView(cm, x1, y1, x2, y2) {\n    var scrollPos = calculateScrollPos(cm, x1, y1, x2, y2);\n    if (scrollPos.scrollTop != null) setScrollTop(cm, scrollPos.scrollTop);\n    if (scrollPos.scrollLeft != null) setScrollLeft(cm, scrollPos.scrollLeft);\n  }\n\n  function calculateScrollPos(cm, x1, y1, x2, y2) {\n    var display = cm.display, snapMargin = textHeight(cm.display);\n    if (y1 < 0) y1 = 0;\n    var screen = display.scroller.clientHeight - scrollerCutOff, screentop = display.scroller.scrollTop, result = {};\n    var docBottom = cm.doc.height + paddingVert(display);\n    var atTop = y1 < snapMargin, atBottom = y2 > docBottom - snapMargin;\n    if (y1 < screentop) {\n      result.scrollTop = atTop ? 0 : y1;\n    } else if (y2 > screentop + screen) {\n      var newTop = Math.min(y1, (atBottom ? docBottom : y2) - screen);\n      if (newTop != screentop) result.scrollTop = newTop;\n    }\n\n    var screenw = display.scroller.clientWidth - scrollerCutOff, screenleft = display.scroller.scrollLeft;\n    x1 += display.gutters.offsetWidth; x2 += display.gutters.offsetWidth;\n    var gutterw = display.gutters.offsetWidth;\n    var atLeft = x1 < gutterw + 10;\n    if (x1 < screenleft + gutterw || atLeft) {\n      if (atLeft) x1 = 0;\n      result.scrollLeft = Math.max(0, x1 - 10 - gutterw);\n    } else if (x2 > screenw + screenleft - 3) {\n      result.scrollLeft = x2 + 10 - screenw;\n    }\n    return result;\n  }\n\n  function updateScrollPos(cm, left, top) {\n    cm.curOp.updateScrollPos = {scrollLeft: left == null ? cm.doc.scrollLeft : left,\n                                scrollTop: top == null ? cm.doc.scrollTop : top};\n  }\n\n  function addToScrollPos(cm, left, top) {\n    var pos = cm.curOp.updateScrollPos || (cm.curOp.updateScrollPos = {scrollLeft: cm.doc.scrollLeft, scrollTop: cm.doc.scrollTop});\n    var scroll = cm.display.scroller;\n    pos.scrollTop = Math.max(0, Math.min(scroll.scrollHeight - scroll.clientHeight, pos.scrollTop + top));\n    pos.scrollLeft = Math.max(0, Math.min(scroll.scrollWidth - scroll.clientWidth, pos.scrollLeft + left));\n  }\n\n  // API UTILITIES\n\n  function indentLine(cm, n, how, aggressive) {\n    var doc = cm.doc;\n    if (how == null) how = \"add\";\n    if (how == \"smart\") {\n      if (!cm.doc.mode.indent) how = \"prev\";\n      else var state = getStateBefore(cm, n);\n    }\n\n    var tabSize = cm.options.tabSize;\n    var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize);\n    var curSpaceString = line.text.match(/^\\s*/)[0], indentation;\n    if (how == \"smart\") {\n      indentation = cm.doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text);\n      if (indentation == Pass) {\n        if (!aggressive) return;\n        how = \"prev\";\n      }\n    }\n    if (how == \"prev\") {\n      if (n > doc.first) indentation = countColumn(getLine(doc, n-1).text, null, tabSize);\n      else indentation = 0;\n    } else if (how == \"add\") {\n      indentation = curSpace + cm.options.indentUnit;\n    } else if (how == \"subtract\") {\n      indentation = curSpace - cm.options.indentUnit;\n    } else if (typeof how == \"number\") {\n      indentation = curSpace + how;\n    }\n    indentation = Math.max(0, indentation);\n\n    var indentString = \"\", pos = 0;\n    if (cm.options.indentWithTabs)\n      for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += \"\\t\";}\n    if (pos < indentation) indentString += spaceStr(indentation - pos);\n\n    if (indentString != curSpaceString)\n      replaceRange(cm.doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), \"+input\");\n    else if (doc.sel.head.line == n && doc.sel.head.ch < curSpaceString.length)\n      setSelection(doc, Pos(n, curSpaceString.length), Pos(n, curSpaceString.length), 1);\n    line.stateAfter = null;\n  }\n\n  function changeLine(cm, handle, op) {\n    var no = handle, line = handle, doc = cm.doc;\n    if (typeof handle == \"number\") line = getLine(doc, clipLine(doc, handle));\n    else no = lineNo(handle);\n    if (no == null) return null;\n    if (op(line, no)) regChange(cm, no, no + 1);\n    else return null;\n    return line;\n  }\n\n  function findPosH(doc, pos, dir, unit, visually) {\n    var line = pos.line, ch = pos.ch, origDir = dir;\n    var lineObj = getLine(doc, line);\n    var possible = true;\n    function findNextLine() {\n      var l = line + dir;\n      if (l < doc.first || l >= doc.first + doc.size) return (possible = false);\n      line = l;\n      return lineObj = getLine(doc, l);\n    }\n    function moveOnce(boundToLine) {\n      var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);\n      if (next == null) {\n        if (!boundToLine && findNextLine()) {\n          if (visually) ch = (dir < 0 ? lineRight : lineLeft)(lineObj);\n          else ch = dir < 0 ? lineObj.text.length : 0;\n        } else return (possible = false);\n      } else ch = next;\n      return true;\n    }\n\n    if (unit == \"char\") moveOnce();\n    else if (unit == \"column\") moveOnce(true);\n    else if (unit == \"word\" || unit == \"group\") {\n      var sawType = null, group = unit == \"group\";\n      for (var first = true;; first = false) {\n        if (dir < 0 && !moveOnce(!first)) break;\n        var cur = lineObj.text.charAt(ch) || \"\\n\";\n        var type = isWordChar(cur) ? \"w\"\n          : !group ? null\n          : /\\s/.test(cur) ? null\n          : \"p\";\n        if (sawType && sawType != type) {\n          if (dir < 0) {dir = 1; moveOnce();}\n          break;\n        }\n        if (type) sawType = type;\n        if (dir > 0 && !moveOnce(!first)) break;\n      }\n    }\n    var result = skipAtomic(doc, Pos(line, ch), origDir, true);\n    if (!possible) result.hitSide = true;\n    return result;\n  }\n\n  function findPosV(cm, pos, dir, unit) {\n    var doc = cm.doc, x = pos.left, y;\n    if (unit == \"page\") {\n      var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight);\n      y = pos.top + dir * (pageSize - (dir < 0 ? 1.5 : .5) * textHeight(cm.display));\n    } else if (unit == \"line\") {\n      y = dir > 0 ? pos.bottom + 3 : pos.top - 3;\n    }\n    for (;;) {\n      var target = coordsChar(cm, x, y);\n      if (!target.outside) break;\n      if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break; }\n      y += dir * 5;\n    }\n    return target;\n  }\n\n  function findWordAt(line, pos) {\n    var start = pos.ch, end = pos.ch;\n    if (line) {\n      if ((pos.xRel < 0 || end == line.length) && start) --start; else ++end;\n      var startChar = line.charAt(start);\n      var check = isWordChar(startChar) ? isWordChar\n        : /\\s/.test(startChar) ? function(ch) {return /\\s/.test(ch);}\n        : function(ch) {return !/\\s/.test(ch) && !isWordChar(ch);};\n      while (start > 0 && check(line.charAt(start - 1))) --start;\n      while (end < line.length && check(line.charAt(end))) ++end;\n    }\n    return {from: Pos(pos.line, start), to: Pos(pos.line, end)};\n  }\n\n  function selectLine(cm, line) {\n    extendSelection(cm.doc, Pos(line, 0), clipPos(cm.doc, Pos(line + 1, 0)));\n  }\n\n  // PROTOTYPE\n\n  // The publicly visible API. Note that operation(null, f) means\n  // 'wrap f in an operation, performed on its `this` parameter'\n\n  CodeMirror.prototype = {\n    constructor: CodeMirror,\n    focus: function(){window.focus(); focusInput(this); fastPoll(this);},\n\n    setOption: function(option, value) {\n      var options = this.options, old = options[option];\n      if (options[option] == value && option != \"mode\") return;\n      options[option] = value;\n      if (optionHandlers.hasOwnProperty(option))\n        operation(this, optionHandlers[option])(this, value, old);\n    },\n\n    getOption: function(option) {return this.options[option];},\n    getDoc: function() {return this.doc;},\n\n    addKeyMap: function(map, bottom) {\n      this.state.keyMaps[bottom ? \"push\" : \"unshift\"](map);\n    },\n    removeKeyMap: function(map) {\n      var maps = this.state.keyMaps;\n      for (var i = 0; i < maps.length; ++i)\n        if (maps[i] == map || (typeof maps[i] != \"string\" && maps[i].name == map)) {\n          maps.splice(i, 1);\n          return true;\n        }\n    },\n\n    addOverlay: operation(null, function(spec, options) {\n      var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec);\n      if (mode.startState) throw new Error(\"Overlays may not be stateful.\");\n      this.state.overlays.push({mode: mode, modeSpec: spec, opaque: options && options.opaque});\n      this.state.modeGen++;\n      regChange(this);\n    }),\n    removeOverlay: operation(null, function(spec) {\n      var overlays = this.state.overlays;\n      for (var i = 0; i < overlays.length; ++i) {\n        var cur = overlays[i].modeSpec;\n        if (cur == spec || typeof spec == \"string\" && cur.name == spec) {\n          overlays.splice(i, 1);\n          this.state.modeGen++;\n          regChange(this);\n          return;\n        }\n      }\n    }),\n\n    indentLine: operation(null, function(n, dir, aggressive) {\n      if (typeof dir != \"string\" && typeof dir != \"number\") {\n        if (dir == null) dir = this.options.smartIndent ? \"smart\" : \"prev\";\n        else dir = dir ? \"add\" : \"subtract\";\n      }\n      if (isLine(this.doc, n)) indentLine(this, n, dir, aggressive);\n    }),\n    indentSelection: operation(null, function(how) {\n      var sel = this.doc.sel;\n      if (posEq(sel.from, sel.to)) return indentLine(this, sel.from.line, how);\n      var e = sel.to.line - (sel.to.ch ? 0 : 1);\n      for (var i = sel.from.line; i <= e; ++i) indentLine(this, i, how);\n    }),\n\n    // Fetch the parser token for a given character. Useful for hacks\n    // that want to inspect the mode state (say, for completion).\n    getTokenAt: function(pos, precise) {\n      var doc = this.doc;\n      pos = clipPos(doc, pos);\n      var state = getStateBefore(this, pos.line, precise), mode = this.doc.mode;\n      var line = getLine(doc, pos.line);\n      var stream = new StringStream(line.text, this.options.tabSize);\n      while (stream.pos < pos.ch && !stream.eol()) {\n        stream.start = stream.pos;\n        var style = mode.token(stream, state);\n      }\n      return {start: stream.start,\n              end: stream.pos,\n              string: stream.current(),\n              className: style || null, // Deprecated, use 'type' instead\n              type: style || null,\n              state: state};\n    },\n\n    getTokenTypeAt: function(pos) {\n      pos = clipPos(this.doc, pos);\n      var styles = getLineStyles(this, getLine(this.doc, pos.line));\n      var before = 0, after = (styles.length - 1) / 2, ch = pos.ch;\n      if (ch == 0) return styles[2];\n      for (;;) {\n        var mid = (before + after) >> 1;\n        if ((mid ? styles[mid * 2 - 1] : 0) >= ch) after = mid;\n        else if (styles[mid * 2 + 1] < ch) before = mid + 1;\n        else return styles[mid * 2 + 2];\n      }\n    },\n\n    getModeAt: function(pos) {\n      var mode = this.doc.mode;\n      if (!mode.innerMode) return mode;\n      return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode;\n    },\n\n    getHelper: function(pos, type) {\n      if (!helpers.hasOwnProperty(type)) return;\n      var help = helpers[type], mode = this.getModeAt(pos);\n      return mode[type] && help[mode[type]] ||\n        mode.helperType && help[mode.helperType] ||\n        help[mode.name];\n    },\n\n    getStateAfter: function(line, precise) {\n      var doc = this.doc;\n      line = clipLine(doc, line == null ? doc.first + doc.size - 1: line);\n      return getStateBefore(this, line + 1, precise);\n    },\n\n    cursorCoords: function(start, mode) {\n      var pos, sel = this.doc.sel;\n      if (start == null) pos = sel.head;\n      else if (typeof start == \"object\") pos = clipPos(this.doc, start);\n      else pos = start ? sel.from : sel.to;\n      return cursorCoords(this, pos, mode || \"page\");\n    },\n\n    charCoords: function(pos, mode) {\n      return charCoords(this, clipPos(this.doc, pos), mode || \"page\");\n    },\n\n    coordsChar: function(coords, mode) {\n      coords = fromCoordSystem(this, coords, mode || \"page\");\n      return coordsChar(this, coords.left, coords.top);\n    },\n\n    lineAtHeight: function(height, mode) {\n      height = fromCoordSystem(this, {top: height, left: 0}, mode || \"page\").top;\n      return lineAtHeight(this.doc, height + this.display.viewOffset);\n    },\n    heightAtLine: function(line, mode) {\n      var end = false, last = this.doc.first + this.doc.size - 1;\n      if (line < this.doc.first) line = this.doc.first;\n      else if (line > last) { line = last; end = true; }\n      var lineObj = getLine(this.doc, line);\n      return intoCoordSystem(this, getLine(this.doc, line), {top: 0, left: 0}, mode || \"page\").top +\n        (end ? lineObj.height : 0);\n    },\n\n    defaultTextHeight: function() { return textHeight(this.display); },\n    defaultCharWidth: function() { return charWidth(this.display); },\n\n    setGutterMarker: operation(null, function(line, gutterID, value) {\n      return changeLine(this, line, function(line) {\n        var markers = line.gutterMarkers || (line.gutterMarkers = {});\n        markers[gutterID] = value;\n        if (!value && isEmpty(markers)) line.gutterMarkers = null;\n        return true;\n      });\n    }),\n\n    clearGutter: operation(null, function(gutterID) {\n      var cm = this, doc = cm.doc, i = doc.first;\n      doc.iter(function(line) {\n        if (line.gutterMarkers && line.gutterMarkers[gutterID]) {\n          line.gutterMarkers[gutterID] = null;\n          regChange(cm, i, i + 1);\n          if (isEmpty(line.gutterMarkers)) line.gutterMarkers = null;\n        }\n        ++i;\n      });\n    }),\n\n    addLineClass: operation(null, function(handle, where, cls) {\n      return changeLine(this, handle, function(line) {\n        var prop = where == \"text\" ? \"textClass\" : where == \"background\" ? \"bgClass\" : \"wrapClass\";\n        if (!line[prop]) line[prop] = cls;\n        else if (new RegExp(\"(?:^|\\\\s)\" + cls + \"(?:$|\\\\s)\").test(line[prop])) return false;\n        else line[prop] += \" \" + cls;\n        return true;\n      });\n    }),\n\n    removeLineClass: operation(null, function(handle, where, cls) {\n      return changeLine(this, handle, function(line) {\n        var prop = where == \"text\" ? \"textClass\" : where == \"background\" ? \"bgClass\" : \"wrapClass\";\n        var cur = line[prop];\n        if (!cur) return false;\n        else if (cls == null) line[prop] = null;\n        else {\n          var found = cur.match(new RegExp(\"(?:^|\\\\s+)\" + cls + \"(?:$|\\\\s+)\"));\n          if (!found) return false;\n          var end = found.index + found[0].length;\n          line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? \"\" : \" \") + cur.slice(end) || null;\n        }\n        return true;\n      });\n    }),\n\n    addLineWidget: operation(null, function(handle, node, options) {\n      return addLineWidget(this, handle, node, options);\n    }),\n\n    removeLineWidget: function(widget) { widget.clear(); },\n\n    lineInfo: function(line) {\n      if (typeof line == \"number\") {\n        if (!isLine(this.doc, line)) return null;\n        var n = line;\n        line = getLine(this.doc, line);\n        if (!line) return null;\n      } else {\n        var n = lineNo(line);\n        if (n == null) return null;\n      }\n      return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers,\n              textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass,\n              widgets: line.widgets};\n    },\n\n    getViewport: function() { return {from: this.display.showingFrom, to: this.display.showingTo};},\n\n    addWidget: function(pos, node, scroll, vert, horiz) {\n      var display = this.display;\n      pos = cursorCoords(this, clipPos(this.doc, pos));\n      var top = pos.bottom, left = pos.left;\n      node.style.position = \"absolute\";\n      display.sizer.appendChild(node);\n      if (vert == \"over\") {\n        top = pos.top;\n      } else if (vert == \"above\" || vert == \"near\") {\n        var vspace = Math.max(display.wrapper.clientHeight, this.doc.height),\n        hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth);\n        // Default to positioning above (if specified and possible); otherwise default to positioning below\n        if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight)\n          top = pos.top - node.offsetHeight;\n        else if (pos.bottom + node.offsetHeight <= vspace)\n          top = pos.bottom;\n        if (left + node.offsetWidth > hspace)\n          left = hspace - node.offsetWidth;\n      }\n      node.style.top = top + \"px\";\n      node.style.left = node.style.right = \"\";\n      if (horiz == \"right\") {\n        left = display.sizer.clientWidth - node.offsetWidth;\n        node.style.right = \"0px\";\n      } else {\n        if (horiz == \"left\") left = 0;\n        else if (horiz == \"middle\") left = (display.sizer.clientWidth - node.offsetWidth) / 2;\n        node.style.left = left + \"px\";\n      }\n      if (scroll)\n        scrollIntoView(this, left, top, left + node.offsetWidth, top + node.offsetHeight);\n    },\n\n    triggerOnKeyDown: operation(null, onKeyDown),\n\n    execCommand: function(cmd) {return commands[cmd](this);},\n\n    findPosH: function(from, amount, unit, visually) {\n      var dir = 1;\n      if (amount < 0) { dir = -1; amount = -amount; }\n      for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {\n        cur = findPosH(this.doc, cur, dir, unit, visually);\n        if (cur.hitSide) break;\n      }\n      return cur;\n    },\n\n    moveH: operation(null, function(dir, unit) {\n      var sel = this.doc.sel, pos;\n      if (sel.shift || sel.extend || posEq(sel.from, sel.to))\n        pos = findPosH(this.doc, sel.head, dir, unit, this.options.rtlMoveVisually);\n      else\n        pos = dir < 0 ? sel.from : sel.to;\n      extendSelection(this.doc, pos, pos, dir);\n    }),\n\n    deleteH: operation(null, function(dir, unit) {\n      var sel = this.doc.sel;\n      if (!posEq(sel.from, sel.to)) replaceRange(this.doc, \"\", sel.from, sel.to, \"+delete\");\n      else replaceRange(this.doc, \"\", sel.from, findPosH(this.doc, sel.head, dir, unit, false), \"+delete\");\n      this.curOp.userSelChange = true;\n    }),\n\n    findPosV: function(from, amount, unit, goalColumn) {\n      var dir = 1, x = goalColumn;\n      if (amount < 0) { dir = -1; amount = -amount; }\n      for (var i = 0, cur = clipPos(this.doc, from); i < amount; ++i) {\n        var coords = cursorCoords(this, cur, \"div\");\n        if (x == null) x = coords.left;\n        else coords.left = x;\n        cur = findPosV(this, coords, dir, unit);\n        if (cur.hitSide) break;\n      }\n      return cur;\n    },\n\n    moveV: operation(null, function(dir, unit) {\n      var sel = this.doc.sel;\n      var pos = cursorCoords(this, sel.head, \"div\");\n      if (sel.goalColumn != null) pos.left = sel.goalColumn;\n      var target = findPosV(this, pos, dir, unit);\n\n      if (unit == \"page\") addToScrollPos(this, 0, charCoords(this, target, \"div\").top - pos.top);\n      extendSelection(this.doc, target, target, dir);\n      sel.goalColumn = pos.left;\n    }),\n\n    toggleOverwrite: function(value) {\n      if (value != null && value == this.state.overwrite) return;\n      if (this.state.overwrite = !this.state.overwrite)\n        this.display.cursor.className += \" CodeMirror-overwrite\";\n      else\n        this.display.cursor.className = this.display.cursor.className.replace(\" CodeMirror-overwrite\", \"\");\n    },\n    hasFocus: function() { return this.state.focused; },\n\n    scrollTo: operation(null, function(x, y) {\n      updateScrollPos(this, x, y);\n    }),\n    getScrollInfo: function() {\n      var scroller = this.display.scroller, co = scrollerCutOff;\n      return {left: scroller.scrollLeft, top: scroller.scrollTop,\n              height: scroller.scrollHeight - co, width: scroller.scrollWidth - co,\n              clientHeight: scroller.clientHeight - co, clientWidth: scroller.clientWidth - co};\n    },\n\n    scrollIntoView: operation(null, function(range, margin) {\n      if (range == null) range = {from: this.doc.sel.head, to: null};\n      else if (typeof range == \"number\") range = {from: Pos(range, 0), to: null};\n      else if (range.from == null) range = {from: range, to: null};\n      if (!range.to) range.to = range.from;\n      if (!margin) margin = 0;\n\n      var coords = range;\n      if (range.from.line != null) {\n        this.curOp.scrollToPos = {from: range.from, to: range.to, margin: margin};\n        coords = {from: cursorCoords(this, range.from),\n                  to: cursorCoords(this, range.to)};\n      }\n      var sPos = calculateScrollPos(this, Math.min(coords.from.left, coords.to.left),\n                                    Math.min(coords.from.top, coords.to.top) - margin,\n                                    Math.max(coords.from.right, coords.to.right),\n                                    Math.max(coords.from.bottom, coords.to.bottom) + margin);\n      updateScrollPos(this, sPos.scrollLeft, sPos.scrollTop);\n    }),\n\n    setSize: operation(null, function(width, height) {\n      function interpret(val) {\n        return typeof val == \"number\" || /^\\d+$/.test(String(val)) ? val + \"px\" : val;\n      }\n      if (width != null) this.display.wrapper.style.width = interpret(width);\n      if (height != null) this.display.wrapper.style.height = interpret(height);\n      if (this.options.lineWrapping)\n        this.display.measureLineCache.length = this.display.measureLineCachePos = 0;\n      this.curOp.forceUpdate = true;\n    }),\n\n    operation: function(f){return runInOp(this, f);},\n\n    refresh: operation(null, function() {\n      var badHeight = this.display.cachedTextHeight == null;\n      clearCaches(this);\n      updateScrollPos(this, this.doc.scrollLeft, this.doc.scrollTop);\n      regChange(this);\n      if (badHeight) estimateLineHeights(this);\n    }),\n\n    swapDoc: operation(null, function(doc) {\n      var old = this.doc;\n      old.cm = null;\n      attachDoc(this, doc);\n      clearCaches(this);\n      resetInput(this, true);\n      updateScrollPos(this, doc.scrollLeft, doc.scrollTop);\n      signalLater(this, \"swapDoc\", this, old);\n      return old;\n    }),\n\n    getInputField: function(){return this.display.input;},\n    getWrapperElement: function(){return this.display.wrapper;},\n    getScrollerElement: function(){return this.display.scroller;},\n    getGutterElement: function(){return this.display.gutters;}\n  };\n  eventMixin(CodeMirror);\n\n  // OPTION DEFAULTS\n\n  var optionHandlers = CodeMirror.optionHandlers = {};\n\n  // The default configuration options.\n  var defaults = CodeMirror.defaults = {};\n\n  function option(name, deflt, handle, notOnInit) {\n    CodeMirror.defaults[name] = deflt;\n    if (handle) optionHandlers[name] =\n      notOnInit ? function(cm, val, old) {if (old != Init) handle(cm, val, old);} : handle;\n  }\n\n  var Init = CodeMirror.Init = {toString: function(){return \"CodeMirror.Init\";}};\n\n  // These two are, on init, called from the constructor because they\n  // have to be initialized before the editor can start at all.\n  option(\"value\", \"\", function(cm, val) {\n    cm.setValue(val);\n  }, true);\n  option(\"mode\", null, function(cm, val) {\n    cm.doc.modeOption = val;\n    loadMode(cm);\n  }, true);\n\n  option(\"indentUnit\", 2, loadMode, true);\n  option(\"indentWithTabs\", false);\n  option(\"smartIndent\", true);\n  option(\"tabSize\", 4, function(cm) {\n    loadMode(cm);\n    clearCaches(cm);\n    regChange(cm);\n  }, true);\n  option(\"specialChars\", /[\\t\\u0000-\\u0019\\u00ad\\u200b\\u2028\\u2029\\ufeff]/g, function(cm, val) {\n    cm.options.specialChars = new RegExp(val.source + (val.test(\"\\t\") ? \"\" : \"|\\t\"), \"g\");\n    cm.refresh();\n  }, true);\n  option(\"specialCharPlaceholder\", defaultSpecialCharPlaceholder, function(cm) {cm.refresh();}, true);\n  option(\"electricChars\", true);\n  option(\"rtlMoveVisually\", !windows);\n  option(\"wholeLineUpdateBefore\", true);\n\n  option(\"theme\", \"default\", function(cm) {\n    themeChanged(cm);\n    guttersChanged(cm);\n  }, true);\n  option(\"keyMap\", \"default\", keyMapChanged);\n  option(\"extraKeys\", null);\n\n  option(\"onKeyEvent\", null);\n  option(\"onDragEvent\", null);\n\n  option(\"lineWrapping\", false, wrappingChanged, true);\n  option(\"gutters\", [], function(cm) {\n    setGuttersForLineNumbers(cm.options);\n    guttersChanged(cm);\n  }, true);\n  option(\"fixedGutter\", true, function(cm, val) {\n    cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + \"px\" : \"0\";\n    cm.refresh();\n  }, true);\n  option(\"coverGutterNextToScrollbar\", false, updateScrollbars, true);\n  option(\"lineNumbers\", false, function(cm) {\n    setGuttersForLineNumbers(cm.options);\n    guttersChanged(cm);\n  }, true);\n  option(\"firstLineNumber\", 1, guttersChanged, true);\n  option(\"lineNumberFormatter\", function(integer) {return integer;}, guttersChanged, true);\n  option(\"showCursorWhenSelecting\", false, updateSelection, true);\n\n  option(\"resetSelectionOnContextMenu\", true);\n\n  option(\"readOnly\", false, function(cm, val) {\n    if (val == \"nocursor\") {\n      onBlur(cm);\n      cm.display.input.blur();\n      cm.display.disabled = true;\n    } else {\n      cm.display.disabled = false;\n      if (!val) resetInput(cm, true);\n    }\n  });\n  option(\"dragDrop\", true);\n\n  option(\"cursorBlinkRate\", 530);\n  option(\"cursorScrollMargin\", 0);\n  option(\"cursorHeight\", 1);\n  option(\"workTime\", 100);\n  option(\"workDelay\", 100);\n  option(\"flattenSpans\", true);\n  option(\"pollInterval\", 100);\n  option(\"undoDepth\", 40, function(cm, val){cm.doc.history.undoDepth = val;});\n  option(\"historyEventDelay\", 500);\n  option(\"viewportMargin\", 10, function(cm){cm.refresh();}, true);\n  option(\"maxHighlightLength\", 10000, function(cm){loadMode(cm); cm.refresh();}, true);\n  option(\"crudeMeasuringFrom\", 10000);\n  option(\"moveInputWithCursor\", true, function(cm, val) {\n    if (!val) cm.display.inputDiv.style.top = cm.display.inputDiv.style.left = 0;\n  });\n\n  option(\"tabindex\", null, function(cm, val) {\n    cm.display.input.tabIndex = val || \"\";\n  });\n  option(\"autofocus\", null);\n\n  // MODE DEFINITION AND QUERYING\n\n  // Known modes, by name and by MIME\n  var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.mimeModes = {};\n\n  CodeMirror.defineMode = function(name, mode) {\n    if (!CodeMirror.defaults.mode && name != \"null\") CodeMirror.defaults.mode = name;\n    if (arguments.length > 2) {\n      mode.dependencies = [];\n      for (var i = 2; i < arguments.length; ++i) mode.dependencies.push(arguments[i]);\n    }\n    modes[name] = mode;\n  };\n\n  CodeMirror.defineMIME = function(mime, spec) {\n    mimeModes[mime] = spec;\n  };\n\n  CodeMirror.resolveMode = function(spec) {\n    if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec)) {\n      spec = mimeModes[spec];\n    } else if (spec && typeof spec.name == \"string\" && mimeModes.hasOwnProperty(spec.name)) {\n      var found = mimeModes[spec.name];\n      spec = createObj(found, spec);\n      spec.name = found.name;\n    } else if (typeof spec == \"string\" && /^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(spec)) {\n      return CodeMirror.resolveMode(\"application/xml\");\n    }\n    if (typeof spec == \"string\") return {name: spec};\n    else return spec || {name: \"null\"};\n  };\n\n  CodeMirror.getMode = function(options, spec) {\n    var spec = CodeMirror.resolveMode(spec);\n    var mfactory = modes[spec.name];\n    if (!mfactory) return CodeMirror.getMode(options, \"text/plain\");\n    var modeObj = mfactory(options, spec);\n    if (modeExtensions.hasOwnProperty(spec.name)) {\n      var exts = modeExtensions[spec.name];\n      for (var prop in exts) {\n        if (!exts.hasOwnProperty(prop)) continue;\n        if (modeObj.hasOwnProperty(prop)) modeObj[\"_\" + prop] = modeObj[prop];\n        modeObj[prop] = exts[prop];\n      }\n    }\n    modeObj.name = spec.name;\n\n    return modeObj;\n  };\n\n  CodeMirror.defineMode(\"null\", function() {\n    return {token: function(stream) {stream.skipToEnd();}};\n  });\n  CodeMirror.defineMIME(\"text/plain\", \"null\");\n\n  var modeExtensions = CodeMirror.modeExtensions = {};\n  CodeMirror.extendMode = function(mode, properties) {\n    var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});\n    copyObj(properties, exts);\n  };\n\n  // EXTENSIONS\n\n  CodeMirror.defineExtension = function(name, func) {\n    CodeMirror.prototype[name] = func;\n  };\n  CodeMirror.defineDocExtension = function(name, func) {\n    Doc.prototype[name] = func;\n  };\n  CodeMirror.defineOption = option;\n\n  var initHooks = [];\n  CodeMirror.defineInitHook = function(f) {initHooks.push(f);};\n\n  var helpers = CodeMirror.helpers = {};\n  CodeMirror.registerHelper = function(type, name, value) {\n    if (!helpers.hasOwnProperty(type)) helpers[type] = CodeMirror[type] = {};\n    helpers[type][name] = value;\n  };\n\n  // UTILITIES\n\n  CodeMirror.isWordChar = isWordChar;\n\n  // MODE STATE HANDLING\n\n  // Utility functions for working with state. Exported because modes\n  // sometimes need to do this.\n  function copyState(mode, state) {\n    if (state === true) return state;\n    if (mode.copyState) return mode.copyState(state);\n    var nstate = {};\n    for (var n in state) {\n      var val = state[n];\n      if (val instanceof Array) val = val.concat([]);\n      nstate[n] = val;\n    }\n    return nstate;\n  }\n  CodeMirror.copyState = copyState;\n\n  function startState(mode, a1, a2) {\n    return mode.startState ? mode.startState(a1, a2) : true;\n  }\n  CodeMirror.startState = startState;\n\n  CodeMirror.innerMode = function(mode, state) {\n    while (mode.innerMode) {\n      var info = mode.innerMode(state);\n      if (!info || info.mode == mode) break;\n      state = info.state;\n      mode = info.mode;\n    }\n    return info || {mode: mode, state: state};\n  };\n\n  // STANDARD COMMANDS\n\n  var commands = CodeMirror.commands = {\n    selectAll: function(cm) {cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()));},\n    killLine: function(cm) {\n      var from = cm.getCursor(true), to = cm.getCursor(false), sel = !posEq(from, to);\n      if (!sel && cm.getLine(from.line).length == from.ch)\n        cm.replaceRange(\"\", from, Pos(from.line + 1, 0), \"+delete\");\n      else cm.replaceRange(\"\", from, sel ? to : Pos(from.line), \"+delete\");\n    },\n    deleteLine: function(cm) {\n      var l = cm.getCursor().line;\n      cm.replaceRange(\"\", Pos(l, 0), Pos(l), \"+delete\");\n    },\n    delLineLeft: function(cm) {\n      var cur = cm.getCursor();\n      cm.replaceRange(\"\", Pos(cur.line, 0), cur, \"+delete\");\n    },\n    undo: function(cm) {cm.undo();},\n    redo: function(cm) {cm.redo();},\n    goDocStart: function(cm) {cm.extendSelection(Pos(cm.firstLine(), 0));},\n    goDocEnd: function(cm) {cm.extendSelection(Pos(cm.lastLine()));},\n    goLineStart: function(cm) {\n      cm.extendSelection(lineStart(cm, cm.getCursor().line));\n    },\n    goLineStartSmart: function(cm) {\n      var cur = cm.getCursor(), start = lineStart(cm, cur.line);\n      var line = cm.getLineHandle(start.line);\n      var order = getOrder(line);\n      if (!order || order[0].level == 0) {\n        var firstNonWS = Math.max(0, line.text.search(/\\S/));\n        var inWS = cur.line == start.line && cur.ch <= firstNonWS && cur.ch;\n        cm.extendSelection(Pos(start.line, inWS ? 0 : firstNonWS));\n      } else cm.extendSelection(start);\n    },\n    goLineEnd: function(cm) {\n      cm.extendSelection(lineEnd(cm, cm.getCursor().line));\n    },\n    goLineRight: function(cm) {\n      var top = cm.charCoords(cm.getCursor(), \"div\").top + 5;\n      cm.extendSelection(cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\"));\n    },\n    goLineLeft: function(cm) {\n      var top = cm.charCoords(cm.getCursor(), \"div\").top + 5;\n      cm.extendSelection(cm.coordsChar({left: 0, top: top}, \"div\"));\n    },\n    goLineUp: function(cm) {cm.moveV(-1, \"line\");},\n    goLineDown: function(cm) {cm.moveV(1, \"line\");},\n    goPageUp: function(cm) {cm.moveV(-1, \"page\");},\n    goPageDown: function(cm) {cm.moveV(1, \"page\");},\n    goCharLeft: function(cm) {cm.moveH(-1, \"char\");},\n    goCharRight: function(cm) {cm.moveH(1, \"char\");},\n    goColumnLeft: function(cm) {cm.moveH(-1, \"column\");},\n    goColumnRight: function(cm) {cm.moveH(1, \"column\");},\n    goWordLeft: function(cm) {cm.moveH(-1, \"word\");},\n    goGroupRight: function(cm) {cm.moveH(1, \"group\");},\n    goGroupLeft: function(cm) {cm.moveH(-1, \"group\");},\n    goWordRight: function(cm) {cm.moveH(1, \"word\");},\n    delCharBefore: function(cm) {cm.deleteH(-1, \"char\");},\n    delCharAfter: function(cm) {cm.deleteH(1, \"char\");},\n    delWordBefore: function(cm) {cm.deleteH(-1, \"word\");},\n    delWordAfter: function(cm) {cm.deleteH(1, \"word\");},\n    delGroupBefore: function(cm) {cm.deleteH(-1, \"group\");},\n    delGroupAfter: function(cm) {cm.deleteH(1, \"group\");},\n    indentAuto: function(cm) {cm.indentSelection(\"smart\");},\n    indentMore: function(cm) {cm.indentSelection(\"add\");},\n    indentLess: function(cm) {cm.indentSelection(\"subtract\");},\n    insertTab: function(cm) {cm.replaceSelection(\"\\t\", \"end\", \"+input\");},\n    defaultTab: function(cm) {\n      if (cm.somethingSelected()) cm.indentSelection(\"add\");\n      else cm.replaceSelection(\"\\t\", \"end\", \"+input\");\n    },\n    transposeChars: function(cm) {\n      var cur = cm.getCursor(), line = cm.getLine(cur.line);\n      if (cur.ch > 0 && cur.ch < line.length - 1)\n        cm.replaceRange(line.charAt(cur.ch) + line.charAt(cur.ch - 1),\n                        Pos(cur.line, cur.ch - 1), Pos(cur.line, cur.ch + 1));\n    },\n    newlineAndIndent: function(cm) {\n      operation(cm, function() {\n        cm.replaceSelection(\"\\n\", \"end\", \"+input\");\n        cm.indentLine(cm.getCursor().line, null, true);\n      })();\n    },\n    toggleOverwrite: function(cm) {cm.toggleOverwrite();}\n  };\n\n  // STANDARD KEYMAPS\n\n  var keyMap = CodeMirror.keyMap = {};\n  keyMap.basic = {\n    \"Left\": \"goCharLeft\", \"Right\": \"goCharRight\", \"Up\": \"goLineUp\", \"Down\": \"goLineDown\",\n    \"End\": \"goLineEnd\", \"Home\": \"goLineStartSmart\", \"PageUp\": \"goPageUp\", \"PageDown\": \"goPageDown\",\n    \"Delete\": \"delCharAfter\", \"Backspace\": \"delCharBefore\", \"Shift-Backspace\": \"delCharBefore\",\n    \"Tab\": \"defaultTab\", \"Shift-Tab\": \"indentAuto\",\n    \"Enter\": \"newlineAndIndent\", \"Insert\": \"toggleOverwrite\"\n  };\n  // Note that the save and find-related commands aren't defined by\n  // default. Unknown commands are simply ignored.\n  keyMap.pcDefault = {\n    \"Ctrl-A\": \"selectAll\", \"Ctrl-D\": \"deleteLine\", \"Ctrl-Z\": \"undo\", \"Shift-Ctrl-Z\": \"redo\", \"Ctrl-Y\": \"redo\",\n    \"Ctrl-Home\": \"goDocStart\", \"Alt-Up\": \"goDocStart\", \"Ctrl-End\": \"goDocEnd\", \"Ctrl-Down\": \"goDocEnd\",\n    \"Ctrl-Left\": \"goGroupLeft\", \"Ctrl-Right\": \"goGroupRight\", \"Alt-Left\": \"goLineStart\", \"Alt-Right\": \"goLineEnd\",\n    \"Ctrl-Backspace\": \"delGroupBefore\", \"Ctrl-Delete\": \"delGroupAfter\", \"Ctrl-S\": \"save\", \"Ctrl-F\": \"find\",\n    \"Ctrl-G\": \"findNext\", \"Shift-Ctrl-G\": \"findPrev\", \"Shift-Ctrl-F\": \"replace\", \"Shift-Ctrl-R\": \"replaceAll\",\n    \"Ctrl-[\": \"indentLess\", \"Ctrl-]\": \"indentMore\",\n    fallthrough: \"basic\"\n  };\n  keyMap.macDefault = {\n    \"Cmd-A\": \"selectAll\", \"Cmd-D\": \"deleteLine\", \"Cmd-Z\": \"undo\", \"Shift-Cmd-Z\": \"redo\", \"Cmd-Y\": \"redo\",\n    \"Cmd-Up\": \"goDocStart\", \"Cmd-End\": \"goDocEnd\", \"Cmd-Down\": \"goDocEnd\", \"Alt-Left\": \"goGroupLeft\",\n    \"Alt-Right\": \"goGroupRight\", \"Cmd-Left\": \"goLineStart\", \"Cmd-Right\": \"goLineEnd\", \"Alt-Backspace\": \"delGroupBefore\",\n    \"Ctrl-Alt-Backspace\": \"delGroupAfter\", \"Alt-Delete\": \"delGroupAfter\", \"Cmd-S\": \"save\", \"Cmd-F\": \"find\",\n    \"Cmd-G\": \"findNext\", \"Shift-Cmd-G\": \"findPrev\", \"Cmd-Alt-F\": \"replace\", \"Shift-Cmd-Alt-F\": \"replaceAll\",\n    \"Cmd-[\": \"indentLess\", \"Cmd-]\": \"indentMore\", \"Cmd-Backspace\": \"delLineLeft\",\n    fallthrough: [\"basic\", \"emacsy\"]\n  };\n  keyMap[\"default\"] = mac ? keyMap.macDefault : keyMap.pcDefault;\n  keyMap.emacsy = {\n    \"Ctrl-F\": \"goCharRight\", \"Ctrl-B\": \"goCharLeft\", \"Ctrl-P\": \"goLineUp\", \"Ctrl-N\": \"goLineDown\",\n    \"Alt-F\": \"goWordRight\", \"Alt-B\": \"goWordLeft\", \"Ctrl-A\": \"goLineStart\", \"Ctrl-E\": \"goLineEnd\",\n    \"Ctrl-V\": \"goPageDown\", \"Shift-Ctrl-V\": \"goPageUp\", \"Ctrl-D\": \"delCharAfter\", \"Ctrl-H\": \"delCharBefore\",\n    \"Alt-D\": \"delWordAfter\", \"Alt-Backspace\": \"delWordBefore\", \"Ctrl-K\": \"killLine\", \"Ctrl-T\": \"transposeChars\"\n  };\n\n  // KEYMAP DISPATCH\n\n  function getKeyMap(val) {\n    if (typeof val == \"string\") return keyMap[val];\n    else return val;\n  }\n\n  function lookupKey(name, maps, handle) {\n    function lookup(map) {\n      map = getKeyMap(map);\n      var found = map[name];\n      if (found === false) return \"stop\";\n      if (found != null && handle(found)) return true;\n      if (map.nofallthrough) return \"stop\";\n\n      var fallthrough = map.fallthrough;\n      if (fallthrough == null) return false;\n      if (Object.prototype.toString.call(fallthrough) != \"[object Array]\")\n        return lookup(fallthrough);\n      for (var i = 0, e = fallthrough.length; i < e; ++i) {\n        var done = lookup(fallthrough[i]);\n        if (done) return done;\n      }\n      return false;\n    }\n\n    for (var i = 0; i < maps.length; ++i) {\n      var done = lookup(maps[i]);\n      if (done) return done != \"stop\";\n    }\n  }\n  function isModifierKey(event) {\n    var name = keyNames[event.keyCode];\n    return name == \"Ctrl\" || name == \"Alt\" || name == \"Shift\" || name == \"Mod\";\n  }\n  function keyName(event, noShift) {\n    if (opera && event.keyCode == 34 && event[\"char\"]) return false;\n    var name = keyNames[event.keyCode];\n    if (name == null || event.altGraphKey) return false;\n    if (event.altKey) name = \"Alt-\" + name;\n    if (flipCtrlCmd ? event.metaKey : event.ctrlKey) name = \"Ctrl-\" + name;\n    if (flipCtrlCmd ? event.ctrlKey : event.metaKey) name = \"Cmd-\" + name;\n    if (!noShift && event.shiftKey) name = \"Shift-\" + name;\n    return name;\n  }\n  CodeMirror.lookupKey = lookupKey;\n  CodeMirror.isModifierKey = isModifierKey;\n  CodeMirror.keyName = keyName;\n\n  // FROMTEXTAREA\n\n  CodeMirror.fromTextArea = function(textarea, options) {\n    if (!options) options = {};\n    options.value = textarea.value;\n    if (!options.tabindex && textarea.tabindex)\n      options.tabindex = textarea.tabindex;\n    if (!options.placeholder && textarea.placeholder)\n      options.placeholder = textarea.placeholder;\n    // Set autofocus to true if this textarea is focused, or if it has\n    // autofocus and no other element is focused.\n    if (options.autofocus == null) {\n      var hasFocus = document.body;\n      // doc.activeElement occasionally throws on IE\n      try { hasFocus = document.activeElement; } catch(e) {}\n      options.autofocus = hasFocus == textarea ||\n        textarea.getAttribute(\"autofocus\") != null && hasFocus == document.body;\n    }\n\n    function save() {textarea.value = cm.getValue();}\n    if (textarea.form) {\n      on(textarea.form, \"submit\", save);\n      // Deplorable hack to make the submit method do the right thing.\n      if (!options.leaveSubmitMethodAlone) {\n        var form = textarea.form, realSubmit = form.submit;\n        try {\n          var wrappedSubmit = form.submit = function() {\n            save();\n            form.submit = realSubmit;\n            form.submit();\n            form.submit = wrappedSubmit;\n          };\n        } catch(e) {}\n      }\n    }\n\n    textarea.style.display = \"none\";\n    var cm = CodeMirror(function(node) {\n      textarea.parentNode.insertBefore(node, textarea.nextSibling);\n    }, options);\n    cm.save = save;\n    cm.getTextArea = function() { return textarea; };\n    cm.toTextArea = function() {\n      save();\n      textarea.parentNode.removeChild(cm.getWrapperElement());\n      textarea.style.display = \"\";\n      if (textarea.form) {\n        off(textarea.form, \"submit\", save);\n        if (typeof textarea.form.submit == \"function\")\n          textarea.form.submit = realSubmit;\n      }\n    };\n    return cm;\n  };\n\n  // STRING STREAM\n\n  // Fed to the mode parsers, provides helper functions to make\n  // parsers more succinct.\n\n  // The character stream used by a mode's parser.\n  function StringStream(string, tabSize) {\n    this.pos = this.start = 0;\n    this.string = string;\n    this.tabSize = tabSize || 8;\n    this.lastColumnPos = this.lastColumnValue = 0;\n  }\n\n  StringStream.prototype = {\n    eol: function() {return this.pos >= this.string.length;},\n    sol: function() {return this.pos == 0;},\n    peek: function() {return this.string.charAt(this.pos) || undefined;},\n    next: function() {\n      if (this.pos < this.string.length)\n        return this.string.charAt(this.pos++);\n    },\n    eat: function(match) {\n      var ch = this.string.charAt(this.pos);\n      if (typeof match == \"string\") var ok = ch == match;\n      else var ok = ch && (match.test ? match.test(ch) : match(ch));\n      if (ok) {++this.pos; return ch;}\n    },\n    eatWhile: function(match) {\n      var start = this.pos;\n      while (this.eat(match)){}\n      return this.pos > start;\n    },\n    eatSpace: function() {\n      var start = this.pos;\n      while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) ++this.pos;\n      return this.pos > start;\n    },\n    skipToEnd: function() {this.pos = this.string.length;},\n    skipTo: function(ch) {\n      var found = this.string.indexOf(ch, this.pos);\n      if (found > -1) {this.pos = found; return true;}\n    },\n    backUp: function(n) {this.pos -= n;},\n    column: function() {\n      if (this.lastColumnPos < this.start) {\n        this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);\n        this.lastColumnPos = this.start;\n      }\n      return this.lastColumnValue;\n    },\n    indentation: function() {return countColumn(this.string, null, this.tabSize);},\n    match: function(pattern, consume, caseInsensitive) {\n      if (typeof pattern == \"string\") {\n        var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};\n        var substr = this.string.substr(this.pos, pattern.length);\n        if (cased(substr) == cased(pattern)) {\n          if (consume !== false) this.pos += pattern.length;\n          return true;\n        }\n      } else {\n        var match = this.string.slice(this.pos).match(pattern);\n        if (match && match.index > 0) return null;\n        if (match && consume !== false) this.pos += match[0].length;\n        return match;\n      }\n    },\n    current: function(){return this.string.slice(this.start, this.pos);}\n  };\n  CodeMirror.StringStream = StringStream;\n\n  // TEXTMARKERS\n\n  function TextMarker(doc, type) {\n    this.lines = [];\n    this.type = type;\n    this.doc = doc;\n  }\n  CodeMirror.TextMarker = TextMarker;\n  eventMixin(TextMarker);\n\n  TextMarker.prototype.clear = function() {\n    if (this.explicitlyCleared) return;\n    var cm = this.doc.cm, withOp = cm && !cm.curOp;\n    if (withOp) startOperation(cm);\n    if (hasHandler(this, \"clear\")) {\n      var found = this.find();\n      if (found) signalLater(this, \"clear\", found.from, found.to);\n    }\n    var min = null, max = null;\n    for (var i = 0; i < this.lines.length; ++i) {\n      var line = this.lines[i];\n      var span = getMarkedSpanFor(line.markedSpans, this);\n      if (span.to != null) max = lineNo(line);\n      line.markedSpans = removeMarkedSpan(line.markedSpans, span);\n      if (span.from != null)\n        min = lineNo(line);\n      else if (this.collapsed && !lineIsHidden(this.doc, line) && cm)\n        updateLineHeight(line, textHeight(cm.display));\n    }\n    if (cm && this.collapsed && !cm.options.lineWrapping) for (var i = 0; i < this.lines.length; ++i) {\n      var visual = visualLine(cm.doc, this.lines[i]), len = lineLength(cm.doc, visual);\n      if (len > cm.display.maxLineLength) {\n        cm.display.maxLine = visual;\n        cm.display.maxLineLength = len;\n        cm.display.maxLineChanged = true;\n      }\n    }\n\n    if (min != null && cm) regChange(cm, min, max + 1);\n    this.lines.length = 0;\n    this.explicitlyCleared = true;\n    if (this.atomic && this.doc.cantEdit) {\n      this.doc.cantEdit = false;\n      if (cm) reCheckSelection(cm);\n    }\n    if (withOp) endOperation(cm);\n  };\n\n  TextMarker.prototype.find = function() {\n    var from, to;\n    for (var i = 0; i < this.lines.length; ++i) {\n      var line = this.lines[i];\n      var span = getMarkedSpanFor(line.markedSpans, this);\n      if (span.from != null || span.to != null) {\n        var found = lineNo(line);\n        if (span.from != null) from = Pos(found, span.from);\n        if (span.to != null) to = Pos(found, span.to);\n      }\n    }\n    if (this.type == \"bookmark\") return from;\n    return from && {from: from, to: to};\n  };\n\n  TextMarker.prototype.changed = function() {\n    var pos = this.find(), cm = this.doc.cm;\n    if (!pos || !cm) return;\n    if (this.type != \"bookmark\") pos = pos.from;\n    var line = getLine(this.doc, pos.line);\n    clearCachedMeasurement(cm, line);\n    if (pos.line >= cm.display.showingFrom && pos.line < cm.display.showingTo) {\n      for (var node = cm.display.lineDiv.firstChild; node; node = node.nextSibling) if (node.lineObj == line) {\n        if (node.offsetHeight != line.height) updateLineHeight(line, node.offsetHeight);\n        break;\n      }\n      runInOp(cm, function() {\n        cm.curOp.selectionChanged = cm.curOp.forceUpdate = cm.curOp.updateMaxLine = true;\n      });\n    }\n  };\n\n  TextMarker.prototype.attachLine = function(line) {\n    if (!this.lines.length && this.doc.cm) {\n      var op = this.doc.cm.curOp;\n      if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1)\n        (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this);\n    }\n    this.lines.push(line);\n  };\n  TextMarker.prototype.detachLine = function(line) {\n    this.lines.splice(indexOf(this.lines, line), 1);\n    if (!this.lines.length && this.doc.cm) {\n      var op = this.doc.cm.curOp;\n      (op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this);\n    }\n  };\n\n  function markText(doc, from, to, options, type) {\n    if (options && options.shared) return markTextShared(doc, from, to, options, type);\n    if (doc.cm && !doc.cm.curOp) return operation(doc.cm, markText)(doc, from, to, options, type);\n\n    var marker = new TextMarker(doc, type);\n    if (posLess(to, from) || posEq(from, to) && type == \"range\" &&\n        !(options.inclusiveLeft && options.inclusiveRight))\n      return marker;\n    if (options) copyObj(options, marker);\n    if (marker.replacedWith) {\n      marker.collapsed = true;\n      marker.replacedWith = elt(\"span\", [marker.replacedWith], \"CodeMirror-widget\");\n      if (!options.handleMouseEvents) marker.replacedWith.ignoreEvents = true;\n    }\n    if (marker.collapsed) sawCollapsedSpans = true;\n\n    if (marker.addToHistory)\n      addToHistory(doc, {from: from, to: to, origin: \"markText\"},\n                   {head: doc.sel.head, anchor: doc.sel.anchor}, NaN);\n\n    var curLine = from.line, size = 0, collapsedAtStart, collapsedAtEnd, cm = doc.cm, updateMaxLine;\n    doc.iter(curLine, to.line + 1, function(line) {\n      if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(doc, line) == cm.display.maxLine)\n        updateMaxLine = true;\n      var span = {from: null, to: null, marker: marker};\n      size += line.text.length;\n      if (curLine == from.line) {span.from = from.ch; size -= from.ch;}\n      if (curLine == to.line) {span.to = to.ch; size -= line.text.length - to.ch;}\n      if (marker.collapsed) {\n        if (curLine == to.line) collapsedAtEnd = collapsedSpanAt(line, to.ch);\n        if (curLine == from.line) collapsedAtStart = collapsedSpanAt(line, from.ch);\n        else updateLineHeight(line, 0);\n      }\n      addMarkedSpan(line, span);\n      ++curLine;\n    });\n    if (marker.collapsed) doc.iter(from.line, to.line + 1, function(line) {\n      if (lineIsHidden(doc, line)) updateLineHeight(line, 0);\n    });\n\n    if (marker.clearOnEnter) on(marker, \"beforeCursorEnter\", function() { marker.clear(); });\n\n    if (marker.readOnly) {\n      sawReadOnlySpans = true;\n      if (doc.history.done.length || doc.history.undone.length)\n        doc.clearHistory();\n    }\n    if (marker.collapsed) {\n      if (collapsedAtStart != collapsedAtEnd)\n        throw new Error(\"Inserting collapsed marker overlapping an existing one\");\n      marker.size = size;\n      marker.atomic = true;\n    }\n    if (cm) {\n      if (updateMaxLine) cm.curOp.updateMaxLine = true;\n      if (marker.className || marker.title || marker.startStyle || marker.endStyle || marker.collapsed)\n        regChange(cm, from.line, to.line + 1);\n      if (marker.atomic) reCheckSelection(cm);\n    }\n    return marker;\n  }\n\n  // SHARED TEXTMARKERS\n\n  function SharedTextMarker(markers, primary) {\n    this.markers = markers;\n    this.primary = primary;\n    for (var i = 0, me = this; i < markers.length; ++i) {\n      markers[i].parent = this;\n      on(markers[i], \"clear\", function(){me.clear();});\n    }\n  }\n  CodeMirror.SharedTextMarker = SharedTextMarker;\n  eventMixin(SharedTextMarker);\n\n  SharedTextMarker.prototype.clear = function() {\n    if (this.explicitlyCleared) return;\n    this.explicitlyCleared = true;\n    for (var i = 0; i < this.markers.length; ++i)\n      this.markers[i].clear();\n    signalLater(this, \"clear\");\n  };\n  SharedTextMarker.prototype.find = function() {\n    return this.primary.find();\n  };\n\n  function markTextShared(doc, from, to, options, type) {\n    options = copyObj(options);\n    options.shared = false;\n    var markers = [markText(doc, from, to, options, type)], primary = markers[0];\n    var widget = options.replacedWith;\n    linkedDocs(doc, function(doc) {\n      if (widget) options.replacedWith = widget.cloneNode(true);\n      markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type));\n      for (var i = 0; i < doc.linked.length; ++i)\n        if (doc.linked[i].isParent) return;\n      primary = lst(markers);\n    });\n    return new SharedTextMarker(markers, primary);\n  }\n\n  // TEXTMARKER SPANS\n\n  function getMarkedSpanFor(spans, marker) {\n    if (spans) for (var i = 0; i < spans.length; ++i) {\n      var span = spans[i];\n      if (span.marker == marker) return span;\n    }\n  }\n  function removeMarkedSpan(spans, span) {\n    for (var r, i = 0; i < spans.length; ++i)\n      if (spans[i] != span) (r || (r = [])).push(spans[i]);\n    return r;\n  }\n  function addMarkedSpan(line, span) {\n    line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];\n    span.marker.attachLine(line);\n  }\n\n  function markedSpansBefore(old, startCh, isInsert) {\n    if (old) for (var i = 0, nw; i < old.length; ++i) {\n      var span = old[i], marker = span.marker;\n      var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh);\n      if (startsBefore ||\n          (marker.inclusiveLeft && marker.inclusiveRight || marker.type == \"bookmark\") &&\n          span.from == startCh && (!isInsert || !span.marker.insertLeft)) {\n        var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh);\n        (nw || (nw = [])).push({from: span.from,\n                                to: endsAfter ? null : span.to,\n                                marker: marker});\n      }\n    }\n    return nw;\n  }\n\n  function markedSpansAfter(old, endCh, isInsert) {\n    if (old) for (var i = 0, nw; i < old.length; ++i) {\n      var span = old[i], marker = span.marker;\n      var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh);\n      if (endsAfter || marker.type == \"bookmark\" && span.from == endCh && (!isInsert || span.marker.insertLeft)) {\n        var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh);\n        (nw || (nw = [])).push({from: startsBefore ? null : span.from - endCh,\n                                to: span.to == null ? null : span.to - endCh,\n                                marker: marker});\n      }\n    }\n    return nw;\n  }\n\n  function stretchSpansOverChange(doc, change) {\n    var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;\n    var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;\n    if (!oldFirst && !oldLast) return null;\n\n    var startCh = change.from.ch, endCh = change.to.ch, isInsert = posEq(change.from, change.to);\n    // Get the spans that 'stick out' on both sides\n    var first = markedSpansBefore(oldFirst, startCh, isInsert);\n    var last = markedSpansAfter(oldLast, endCh, isInsert);\n\n    // Next, merge those two ends\n    var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);\n    if (first) {\n      // Fix up .to properties of first\n      for (var i = 0; i < first.length; ++i) {\n        var span = first[i];\n        if (span.to == null) {\n          var found = getMarkedSpanFor(last, span.marker);\n          if (!found) span.to = startCh;\n          else if (sameLine) span.to = found.to == null ? null : found.to + offset;\n        }\n      }\n    }\n    if (last) {\n      // Fix up .from in last (or move them into first in case of sameLine)\n      for (var i = 0; i < last.length; ++i) {\n        var span = last[i];\n        if (span.to != null) span.to += offset;\n        if (span.from == null) {\n          var found = getMarkedSpanFor(first, span.marker);\n          if (!found) {\n            span.from = offset;\n            if (sameLine) (first || (first = [])).push(span);\n          }\n        } else {\n          span.from += offset;\n          if (sameLine) (first || (first = [])).push(span);\n        }\n      }\n    }\n    if (sameLine && first) {\n      // Make sure we didn't create any zero-length spans\n      for (var i = 0; i < first.length; ++i)\n        if (first[i].from != null && first[i].from == first[i].to && first[i].marker.type != \"bookmark\")\n          first.splice(i--, 1);\n      if (!first.length) first = null;\n    }\n\n    var newMarkers = [first];\n    if (!sameLine) {\n      // Fill gap with whole-line-spans\n      var gap = change.text.length - 2, gapMarkers;\n      if (gap > 0 && first)\n        for (var i = 0; i < first.length; ++i)\n          if (first[i].to == null)\n            (gapMarkers || (gapMarkers = [])).push({from: null, to: null, marker: first[i].marker});\n      for (var i = 0; i < gap; ++i)\n        newMarkers.push(gapMarkers);\n      newMarkers.push(last);\n    }\n    return newMarkers;\n  }\n\n  function mergeOldSpans(doc, change) {\n    var old = getOldSpans(doc, change);\n    var stretched = stretchSpansOverChange(doc, change);\n    if (!old) return stretched;\n    if (!stretched) return old;\n\n    for (var i = 0; i < old.length; ++i) {\n      var oldCur = old[i], stretchCur = stretched[i];\n      if (oldCur && stretchCur) {\n        spans: for (var j = 0; j < stretchCur.length; ++j) {\n          var span = stretchCur[j];\n          for (var k = 0; k < oldCur.length; ++k)\n            if (oldCur[k].marker == span.marker) continue spans;\n          oldCur.push(span);\n        }\n      } else if (stretchCur) {\n        old[i] = stretchCur;\n      }\n    }\n    return old;\n  }\n\n  function removeReadOnlyRanges(doc, from, to) {\n    var markers = null;\n    doc.iter(from.line, to.line + 1, function(line) {\n      if (line.markedSpans) for (var i = 0; i < line.markedSpans.length; ++i) {\n        var mark = line.markedSpans[i].marker;\n        if (mark.readOnly && (!markers || indexOf(markers, mark) == -1))\n          (markers || (markers = [])).push(mark);\n      }\n    });\n    if (!markers) return null;\n    var parts = [{from: from, to: to}];\n    for (var i = 0; i < markers.length; ++i) {\n      var mk = markers[i], m = mk.find();\n      for (var j = 0; j < parts.length; ++j) {\n        var p = parts[j];\n        if (posLess(p.to, m.from) || posLess(m.to, p.from)) continue;\n        var newParts = [j, 1];\n        if (posLess(p.from, m.from) || !mk.inclusiveLeft && posEq(p.from, m.from))\n          newParts.push({from: p.from, to: m.from});\n        if (posLess(m.to, p.to) || !mk.inclusiveRight && posEq(p.to, m.to))\n          newParts.push({from: m.to, to: p.to});\n        parts.splice.apply(parts, newParts);\n        j += newParts.length - 1;\n      }\n    }\n    return parts;\n  }\n\n  function collapsedSpanAt(line, ch) {\n    var sps = sawCollapsedSpans && line.markedSpans, found;\n    if (sps) for (var sp, i = 0; i < sps.length; ++i) {\n      sp = sps[i];\n      if (!sp.marker.collapsed) continue;\n      if ((sp.from == null || sp.from < ch) &&\n          (sp.to == null || sp.to > ch) &&\n          (!found || found.width < sp.marker.width))\n        found = sp.marker;\n    }\n    return found;\n  }\n  function collapsedSpanAtStart(line) { return collapsedSpanAt(line, -1); }\n  function collapsedSpanAtEnd(line) { return collapsedSpanAt(line, line.text.length + 1); }\n\n  function visualLine(doc, line) {\n    var merged;\n    while (merged = collapsedSpanAtStart(line))\n      line = getLine(doc, merged.find().from.line);\n    return line;\n  }\n\n  function lineIsHidden(doc, line) {\n    var sps = sawCollapsedSpans && line.markedSpans;\n    if (sps) for (var sp, i = 0; i < sps.length; ++i) {\n      sp = sps[i];\n      if (!sp.marker.collapsed) continue;\n      if (sp.from == null) return true;\n      if (sp.marker.replacedWith) continue;\n      if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))\n        return true;\n    }\n  }\n  function lineIsHiddenInner(doc, line, span) {\n    if (span.to == null) {\n      var end = span.marker.find().to, endLine = getLine(doc, end.line);\n      return lineIsHiddenInner(doc, endLine, getMarkedSpanFor(endLine.markedSpans, span.marker));\n    }\n    if (span.marker.inclusiveRight && span.to == line.text.length)\n      return true;\n    for (var sp, i = 0; i < line.markedSpans.length; ++i) {\n      sp = line.markedSpans[i];\n      if (sp.marker.collapsed && !sp.marker.replacedWith && sp.from == span.to &&\n          (sp.marker.inclusiveLeft || span.marker.inclusiveRight) &&\n          lineIsHiddenInner(doc, line, sp)) return true;\n    }\n  }\n\n  function detachMarkedSpans(line) {\n    var spans = line.markedSpans;\n    if (!spans) return;\n    for (var i = 0; i < spans.length; ++i)\n      spans[i].marker.detachLine(line);\n    line.markedSpans = null;\n  }\n\n  function attachMarkedSpans(line, spans) {\n    if (!spans) return;\n    for (var i = 0; i < spans.length; ++i)\n      spans[i].marker.attachLine(line);\n    line.markedSpans = spans;\n  }\n\n  // LINE WIDGETS\n\n  var LineWidget = CodeMirror.LineWidget = function(cm, node, options) {\n    if (options) for (var opt in options) if (options.hasOwnProperty(opt))\n      this[opt] = options[opt];\n    this.cm = cm;\n    this.node = node;\n  };\n  eventMixin(LineWidget);\n  function widgetOperation(f) {\n    return function() {\n      var withOp = !this.cm.curOp;\n      if (withOp) startOperation(this.cm);\n      try {var result = f.apply(this, arguments);}\n      finally {if (withOp) endOperation(this.cm);}\n      return result;\n    };\n  }\n  LineWidget.prototype.clear = widgetOperation(function() {\n    var ws = this.line.widgets, no = lineNo(this.line);\n    if (no == null || !ws) return;\n    for (var i = 0; i < ws.length; ++i) if (ws[i] == this) ws.splice(i--, 1);\n    if (!ws.length) this.line.widgets = null;\n    var aboveVisible = heightAtLine(this.cm, this.line) < this.cm.doc.scrollTop;\n    updateLineHeight(this.line, Math.max(0, this.line.height - widgetHeight(this)));\n    if (aboveVisible) addToScrollPos(this.cm, 0, -this.height);\n    regChange(this.cm, no, no + 1);\n  });\n  LineWidget.prototype.changed = widgetOperation(function() {\n    var oldH = this.height;\n    this.height = null;\n    var diff = widgetHeight(this) - oldH;\n    if (!diff) return;\n    updateLineHeight(this.line, this.line.height + diff);\n    var no = lineNo(this.line);\n    regChange(this.cm, no, no + 1);\n  });\n\n  function widgetHeight(widget) {\n    if (widget.height != null) return widget.height;\n    if (!widget.node.parentNode || widget.node.parentNode.nodeType != 1)\n      removeChildrenAndAdd(widget.cm.display.measure, elt(\"div\", [widget.node], null, \"position: relative\"));\n    return widget.height = widget.node.offsetHeight;\n  }\n\n  function addLineWidget(cm, handle, node, options) {\n    var widget = new LineWidget(cm, node, options);\n    if (widget.noHScroll) cm.display.alignWidgets = true;\n    changeLine(cm, handle, function(line) {\n      var widgets = line.widgets || (line.widgets = []);\n      if (widget.insertAt == null) widgets.push(widget);\n      else widgets.splice(Math.min(widgets.length - 1, Math.max(0, widget.insertAt)), 0, widget);\n      widget.line = line;\n      if (!lineIsHidden(cm.doc, line) || widget.showIfHidden) {\n        var aboveVisible = heightAtLine(cm, line) < cm.doc.scrollTop;\n        updateLineHeight(line, line.height + widgetHeight(widget));\n        if (aboveVisible) addToScrollPos(cm, 0, widget.height);\n      }\n      return true;\n    });\n    return widget;\n  }\n\n  // LINE DATA STRUCTURE\n\n  // Line objects. These hold state related to a line, including\n  // highlighting info (the styles array).\n  var Line = CodeMirror.Line = function(text, markedSpans, estimateHeight) {\n    this.text = text;\n    attachMarkedSpans(this, markedSpans);\n    this.height = estimateHeight ? estimateHeight(this) : 1;\n  };\n  eventMixin(Line);\n  Line.prototype.lineNo = function() { return lineNo(this); };\n\n  function updateLine(line, text, markedSpans, estimateHeight) {\n    line.text = text;\n    if (line.stateAfter) line.stateAfter = null;\n    if (line.styles) line.styles = null;\n    if (line.order != null) line.order = null;\n    detachMarkedSpans(line);\n    attachMarkedSpans(line, markedSpans);\n    var estHeight = estimateHeight ? estimateHeight(line) : 1;\n    if (estHeight != line.height) updateLineHeight(line, estHeight);\n  }\n\n  function cleanUpLine(line) {\n    line.parent = null;\n    detachMarkedSpans(line);\n  }\n\n  // Run the given mode's parser over a line, update the styles\n  // array, which contains alternating fragments of text and CSS\n  // classes.\n  function runMode(cm, text, mode, state, f, forceToEnd) {\n    var flattenSpans = mode.flattenSpans;\n    if (flattenSpans == null) flattenSpans = cm.options.flattenSpans;\n    var curStart = 0, curStyle = null;\n    var stream = new StringStream(text, cm.options.tabSize), style;\n    if (text == \"\" && mode.blankLine) mode.blankLine(state);\n    while (!stream.eol()) {\n      if (stream.pos > cm.options.maxHighlightLength) {\n        flattenSpans = false;\n        if (forceToEnd) processLine(cm, text, state, stream.pos);\n        stream.pos = text.length;\n        style = null;\n      } else {\n        style = mode.token(stream, state);\n      }\n      if (!flattenSpans || curStyle != style) {\n        if (curStart < stream.start) f(stream.start, curStyle);\n        curStart = stream.start; curStyle = style;\n      }\n      stream.start = stream.pos;\n    }\n    while (curStart < stream.pos) {\n      // Webkit seems to refuse to render text nodes longer than 57444 characters\n      var pos = Math.min(stream.pos, curStart + 50000);\n      f(pos, curStyle);\n      curStart = pos;\n    }\n  }\n\n  function highlightLine(cm, line, state, forceToEnd) {\n    // A styles array always starts with a number identifying the\n    // mode/overlays that it is based on (for easy invalidation).\n    var st = [cm.state.modeGen];\n    // Compute the base array of styles\n    runMode(cm, line.text, cm.doc.mode, state, function(end, style) {\n      st.push(end, style);\n    }, forceToEnd);\n\n    // Run overlays, adjust style array.\n    for (var o = 0; o < cm.state.overlays.length; ++o) {\n      var overlay = cm.state.overlays[o], i = 1, at = 0;\n      runMode(cm, line.text, overlay.mode, true, function(end, style) {\n        var start = i;\n        // Ensure there's a token end at the current position, and that i points at it\n        while (at < end) {\n          var i_end = st[i];\n          if (i_end > end)\n            st.splice(i, 1, end, st[i+1], i_end);\n          i += 2;\n          at = Math.min(end, i_end);\n        }\n        if (!style) return;\n        if (overlay.opaque) {\n          st.splice(start, i - start, end, style);\n          i = start + 2;\n        } else {\n          for (; start < i; start += 2) {\n            var cur = st[start+1];\n            st[start+1] = cur ? cur + \" \" + style : style;\n          }\n        }\n      });\n    }\n\n    return st;\n  }\n\n  function getLineStyles(cm, line) {\n    if (!line.styles || line.styles[0] != cm.state.modeGen)\n      line.styles = highlightLine(cm, line, line.stateAfter = getStateBefore(cm, lineNo(line)));\n    return line.styles;\n  }\n\n  // Lightweight form of highlight -- proceed over this line and\n  // update state, but don't save a style array.\n  function processLine(cm, text, state, startAt) {\n    var mode = cm.doc.mode;\n    var stream = new StringStream(text, cm.options.tabSize);\n    stream.start = stream.pos = startAt || 0;\n    if (text == \"\" && mode.blankLine) mode.blankLine(state);\n    while (!stream.eol() && stream.pos <= cm.options.maxHighlightLength) {\n      mode.token(stream, state);\n      stream.start = stream.pos;\n    }\n  }\n\n  var styleToClassCache = {};\n  function interpretTokenStyle(style, builder) {\n    if (!style) return null;\n    for (;;) {\n      var lineClass = style.match(/(?:^|\\s)line-(background-)?(\\S+)/);\n      if (!lineClass) break;\n      style = style.slice(0, lineClass.index) + style.slice(lineClass.index + lineClass[0].length);\n      var prop = lineClass[1] ? \"bgClass\" : \"textClass\";\n      if (builder[prop] == null)\n        builder[prop] = lineClass[2];\n      else if (!(new RegExp(\"(?:^|\\s)\" + lineClass[2] + \"(?:$|\\s)\")).test(builder[prop]))\n        builder[prop] += \" \" + lineClass[2];\n    }\n    return styleToClassCache[style] ||\n      (styleToClassCache[style] = \"cm-\" + style.replace(/ +/g, \" cm-\"));\n  }\n\n  function buildLineContent(cm, realLine, measure, copyWidgets) {\n    var merged, line = realLine, empty = true;\n    while (merged = collapsedSpanAtStart(line))\n      line = getLine(cm.doc, merged.find().from.line);\n\n    var builder = {pre: elt(\"pre\"), col: 0, pos: 0,\n                   measure: null, measuredSomething: false, cm: cm,\n                   copyWidgets: copyWidgets};\n\n    do {\n      if (line.text) empty = false;\n      builder.measure = line == realLine && measure;\n      builder.pos = 0;\n      builder.addToken = builder.measure ? buildTokenMeasure : buildToken;\n      if ((ie || webkit) && cm.getOption(\"lineWrapping\"))\n        builder.addToken = buildTokenSplitSpaces(builder.addToken);\n      var next = insertLineContent(line, builder, getLineStyles(cm, line));\n      if (measure && line == realLine && !builder.measuredSomething) {\n        measure[0] = builder.pre.appendChild(zeroWidthElement(cm.display.measure));\n        builder.measuredSomething = true;\n      }\n      if (next) line = getLine(cm.doc, next.to.line);\n    } while (next);\n\n    if (measure && !builder.measuredSomething && !measure[0])\n      measure[0] = builder.pre.appendChild(empty ? elt(\"span\", \"\\u00a0\") : zeroWidthElement(cm.display.measure));\n    if (!builder.pre.firstChild && !lineIsHidden(cm.doc, realLine))\n      builder.pre.appendChild(document.createTextNode(\"\\u00a0\"));\n\n    var order;\n    // Work around problem with the reported dimensions of single-char\n    // direction spans on IE (issue #1129). See also the comment in\n    // cursorCoords.\n    if (measure && (ie || ie_gt10) && (order = getOrder(line))) {\n      var l = order.length - 1;\n      if (order[l].from == order[l].to) --l;\n      var last = order[l], prev = order[l - 1];\n      if (last.from + 1 == last.to && prev && last.level < prev.level) {\n        var span = measure[builder.pos - 1];\n        if (span) span.parentNode.insertBefore(span.measureRight = zeroWidthElement(cm.display.measure),\n                                               span.nextSibling);\n      }\n    }\n\n    var textClass = builder.textClass ? builder.textClass + \" \" + (realLine.textClass || \"\") : realLine.textClass;\n    if (textClass) builder.pre.className = textClass;\n\n    signal(cm, \"renderLine\", cm, realLine, builder.pre);\n    return builder;\n  }\n\n  function defaultSpecialCharPlaceholder(ch) {\n    var token = elt(\"span\", \"\\u2022\", \"cm-invalidchar\");\n    token.title = \"\\\\u\" + ch.charCodeAt(0).toString(16);\n    return token;\n  }\n\n  function buildToken(builder, text, style, startStyle, endStyle, title) {\n    if (!text) return;\n    var special = builder.cm.options.specialChars;\n    if (!special.test(text)) {\n      builder.col += text.length;\n      var content = document.createTextNode(text);\n    } else {\n      var content = document.createDocumentFragment(), pos = 0;\n      while (true) {\n        special.lastIndex = pos;\n        var m = special.exec(text);\n        var skipped = m ? m.index - pos : text.length - pos;\n        if (skipped) {\n          content.appendChild(document.createTextNode(text.slice(pos, pos + skipped)));\n          builder.col += skipped;\n        }\n        if (!m) break;\n        pos += skipped + 1;\n        if (m[0] == \"\\t\") {\n          var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;\n          content.appendChild(elt(\"span\", spaceStr(tabWidth), \"cm-tab\"));\n          builder.col += tabWidth;\n        } else {\n          var token = builder.cm.options.specialCharPlaceholder(m[0]);\n          content.appendChild(token);\n          builder.col += 1;\n        }\n      }\n    }\n    if (style || startStyle || endStyle || builder.measure) {\n      var fullStyle = style || \"\";\n      if (startStyle) fullStyle += startStyle;\n      if (endStyle) fullStyle += endStyle;\n      var token = elt(\"span\", [content], fullStyle);\n      if (title) token.title = title;\n      return builder.pre.appendChild(token);\n    }\n    builder.pre.appendChild(content);\n  }\n\n  function buildTokenMeasure(builder, text, style, startStyle, endStyle) {\n    var wrapping = builder.cm.options.lineWrapping;\n    for (var i = 0; i < text.length; ++i) {\n      var ch = text.charAt(i), start = i == 0;\n      if (ch >= \"\\ud800\" && ch < \"\\udbff\" && i < text.length - 1) {\n        ch = text.slice(i, i + 2);\n        ++i;\n      } else if (i && wrapping && spanAffectsWrapping(text, i)) {\n        builder.pre.appendChild(elt(\"wbr\"));\n      }\n      var old = builder.measure[builder.pos];\n      var span = builder.measure[builder.pos] =\n        buildToken(builder, ch, style,\n                   start && startStyle, i == text.length - 1 && endStyle);\n      if (old) span.leftSide = old.leftSide || old;\n      // In IE single-space nodes wrap differently than spaces\n      // embedded in larger text nodes, except when set to\n      // white-space: normal (issue #1268).\n      if (ie && wrapping && ch == \" \" && i && !/\\s/.test(text.charAt(i - 1)) &&\n          i < text.length - 1 && !/\\s/.test(text.charAt(i + 1)))\n        span.style.whiteSpace = \"normal\";\n      builder.pos += ch.length;\n    }\n    if (text.length) builder.measuredSomething = true;\n  }\n\n  function buildTokenSplitSpaces(inner) {\n    function split(old) {\n      var out = \" \";\n      for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? \" \" : \"\\u00a0\";\n      out += \" \";\n      return out;\n    }\n    return function(builder, text, style, startStyle, endStyle, title) {\n      return inner(builder, text.replace(/ {3,}/g, split), style, startStyle, endStyle, title);\n    };\n  }\n\n  function buildCollapsedSpan(builder, size, marker, ignoreWidget) {\n    var widget = !ignoreWidget && marker.replacedWith;\n    if (widget) {\n      if (builder.copyWidgets) widget = widget.cloneNode(true);\n      builder.pre.appendChild(widget);\n      if (builder.measure) {\n        if (size) {\n          builder.measure[builder.pos] = widget;\n        } else {\n          var elt = zeroWidthElement(builder.cm.display.measure);\n          if (marker.type == \"bookmark\" && !marker.insertLeft)\n            builder.measure[builder.pos] = builder.pre.appendChild(elt);\n          else if (builder.measure[builder.pos])\n            return;\n          else\n            builder.measure[builder.pos] = builder.pre.insertBefore(elt, widget);\n        }\n        builder.measuredSomething = true;\n      }\n    }\n    builder.pos += size;\n  }\n\n  // Outputs a number of spans to make up a line, taking highlighting\n  // and marked text into account.\n  function insertLineContent(line, builder, styles) {\n    var spans = line.markedSpans, allText = line.text, at = 0;\n    if (!spans) {\n      for (var i = 1; i < styles.length; i+=2)\n        builder.addToken(builder, allText.slice(at, at = styles[i]), interpretTokenStyle(styles[i+1], builder));\n      return;\n    }\n\n    var len = allText.length, pos = 0, i = 1, text = \"\", style;\n    var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, title, collapsed;\n    for (;;) {\n      if (nextChange == pos) { // Update current marker set\n        spanStyle = spanEndStyle = spanStartStyle = title = \"\";\n        collapsed = null; nextChange = Infinity;\n        var foundBookmarks = [];\n        for (var j = 0; j < spans.length; ++j) {\n          var sp = spans[j], m = sp.marker;\n          if (sp.from <= pos && (sp.to == null || sp.to > pos)) {\n            if (sp.to != null && nextChange > sp.to) { nextChange = sp.to; spanEndStyle = \"\"; }\n            if (m.className) spanStyle += \" \" + m.className;\n            if (m.startStyle && sp.from == pos) spanStartStyle += \" \" + m.startStyle;\n            if (m.endStyle && sp.to == nextChange) spanEndStyle += \" \" + m.endStyle;\n            if (m.title && !title) title = m.title;\n            if (m.collapsed && (!collapsed || collapsed.marker.size < m.size))\n              collapsed = sp;\n          } else if (sp.from > pos && nextChange > sp.from) {\n            nextChange = sp.from;\n          }\n          if (m.type == \"bookmark\" && sp.from == pos && m.replacedWith) foundBookmarks.push(m);\n        }\n        if (collapsed && (collapsed.from || 0) == pos) {\n          buildCollapsedSpan(builder, (collapsed.to == null ? len : collapsed.to) - pos,\n                             collapsed.marker, collapsed.from == null);\n          if (collapsed.to == null) return collapsed.marker.find();\n        }\n        if (!collapsed && foundBookmarks.length) for (var j = 0; j < foundBookmarks.length; ++j)\n          buildCollapsedSpan(builder, 0, foundBookmarks[j]);\n      }\n      if (pos >= len) break;\n\n      var upto = Math.min(len, nextChange);\n      while (true) {\n        if (text) {\n          var end = pos + text.length;\n          if (!collapsed) {\n            var tokenText = end > upto ? text.slice(0, upto - pos) : text;\n            builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle,\n                             spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : \"\", title);\n          }\n          if (end >= upto) {text = text.slice(upto - pos); pos = upto; break;}\n          pos = end;\n          spanStartStyle = \"\";\n        }\n        text = allText.slice(at, at = styles[i++]);\n        style = interpretTokenStyle(styles[i++], builder);\n      }\n    }\n  }\n\n  // DOCUMENT DATA STRUCTURE\n\n  function updateDoc(doc, change, markedSpans, selAfter, estimateHeight) {\n    function spansFor(n) {return markedSpans ? markedSpans[n] : null;}\n    function update(line, text, spans) {\n      updateLine(line, text, spans, estimateHeight);\n      signalLater(line, \"change\", line, change);\n    }\n\n    var from = change.from, to = change.to, text = change.text;\n    var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);\n    var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line;\n\n    // First adjust the line structure\n    if (from.ch == 0 && to.ch == 0 && lastText == \"\" &&\n        (!doc.cm || doc.cm.options.wholeLineUpdateBefore)) {\n      // This is a whole-line replace. Treated specially to make\n      // sure line objects move the way they are supposed to.\n      for (var i = 0, e = text.length - 1, added = []; i < e; ++i)\n        added.push(new Line(text[i], spansFor(i), estimateHeight));\n      update(lastLine, lastLine.text, lastSpans);\n      if (nlines) doc.remove(from.line, nlines);\n      if (added.length) doc.insert(from.line, added);\n    } else if (firstLine == lastLine) {\n      if (text.length == 1) {\n        update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans);\n      } else {\n        for (var added = [], i = 1, e = text.length - 1; i < e; ++i)\n          added.push(new Line(text[i], spansFor(i), estimateHeight));\n        added.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight));\n        update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n        doc.insert(from.line + 1, added);\n      }\n    } else if (text.length == 1) {\n      update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0));\n      doc.remove(from.line + 1, nlines);\n    } else {\n      update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n      update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans);\n      for (var i = 1, e = text.length - 1, added = []; i < e; ++i)\n        added.push(new Line(text[i], spansFor(i), estimateHeight));\n      if (nlines > 1) doc.remove(from.line + 1, nlines - 1);\n      doc.insert(from.line + 1, added);\n    }\n\n    signalLater(doc, \"change\", doc, change);\n    setSelection(doc, selAfter.anchor, selAfter.head, null, true);\n  }\n\n  function LeafChunk(lines) {\n    this.lines = lines;\n    this.parent = null;\n    for (var i = 0, e = lines.length, height = 0; i < e; ++i) {\n      lines[i].parent = this;\n      height += lines[i].height;\n    }\n    this.height = height;\n  }\n\n  LeafChunk.prototype = {\n    chunkSize: function() { return this.lines.length; },\n    removeInner: function(at, n) {\n      for (var i = at, e = at + n; i < e; ++i) {\n        var line = this.lines[i];\n        this.height -= line.height;\n        cleanUpLine(line);\n        signalLater(line, \"delete\");\n      }\n      this.lines.splice(at, n);\n    },\n    collapse: function(lines) {\n      lines.splice.apply(lines, [lines.length, 0].concat(this.lines));\n    },\n    insertInner: function(at, lines, height) {\n      this.height += height;\n      this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at));\n      for (var i = 0, e = lines.length; i < e; ++i) lines[i].parent = this;\n    },\n    iterN: function(at, n, op) {\n      for (var e = at + n; at < e; ++at)\n        if (op(this.lines[at])) return true;\n    }\n  };\n\n  function BranchChunk(children) {\n    this.children = children;\n    var size = 0, height = 0;\n    for (var i = 0, e = children.length; i < e; ++i) {\n      var ch = children[i];\n      size += ch.chunkSize(); height += ch.height;\n      ch.parent = this;\n    }\n    this.size = size;\n    this.height = height;\n    this.parent = null;\n  }\n\n  BranchChunk.prototype = {\n    chunkSize: function() { return this.size; },\n    removeInner: function(at, n) {\n      this.size -= n;\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at < sz) {\n          var rm = Math.min(n, sz - at), oldHeight = child.height;\n          child.removeInner(at, rm);\n          this.height -= oldHeight - child.height;\n          if (sz == rm) { this.children.splice(i--, 1); child.parent = null; }\n          if ((n -= rm) == 0) break;\n          at = 0;\n        } else at -= sz;\n      }\n      if (this.size - n < 25) {\n        var lines = [];\n        this.collapse(lines);\n        this.children = [new LeafChunk(lines)];\n        this.children[0].parent = this;\n      }\n    },\n    collapse: function(lines) {\n      for (var i = 0, e = this.children.length; i < e; ++i) this.children[i].collapse(lines);\n    },\n    insertInner: function(at, lines, height) {\n      this.size += lines.length;\n      this.height += height;\n      for (var i = 0, e = this.children.length; i < e; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at <= sz) {\n          child.insertInner(at, lines, height);\n          if (child.lines && child.lines.length > 50) {\n            while (child.lines.length > 50) {\n              var spilled = child.lines.splice(child.lines.length - 25, 25);\n              var newleaf = new LeafChunk(spilled);\n              child.height -= newleaf.height;\n              this.children.splice(i + 1, 0, newleaf);\n              newleaf.parent = this;\n            }\n            this.maybeSpill();\n          }\n          break;\n        }\n        at -= sz;\n      }\n    },\n    maybeSpill: function() {\n      if (this.children.length <= 10) return;\n      var me = this;\n      do {\n        var spilled = me.children.splice(me.children.length - 5, 5);\n        var sibling = new BranchChunk(spilled);\n        if (!me.parent) { // Become the parent node\n          var copy = new BranchChunk(me.children);\n          copy.parent = me;\n          me.children = [copy, sibling];\n          me = copy;\n        } else {\n          me.size -= sibling.size;\n          me.height -= sibling.height;\n          var myIndex = indexOf(me.parent.children, me);\n          me.parent.children.splice(myIndex + 1, 0, sibling);\n        }\n        sibling.parent = me.parent;\n      } while (me.children.length > 10);\n      me.parent.maybeSpill();\n    },\n    iterN: function(at, n, op) {\n      for (var i = 0, e = this.children.length; i < e; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at < sz) {\n          var used = Math.min(n, sz - at);\n          if (child.iterN(at, used, op)) return true;\n          if ((n -= used) == 0) break;\n          at = 0;\n        } else at -= sz;\n      }\n    }\n  };\n\n  var nextDocId = 0;\n  var Doc = CodeMirror.Doc = function(text, mode, firstLine) {\n    if (!(this instanceof Doc)) return new Doc(text, mode, firstLine);\n    if (firstLine == null) firstLine = 0;\n\n    BranchChunk.call(this, [new LeafChunk([new Line(\"\", null)])]);\n    this.first = firstLine;\n    this.scrollTop = this.scrollLeft = 0;\n    this.cantEdit = false;\n    this.history = makeHistory();\n    this.cleanGeneration = 1;\n    this.frontier = firstLine;\n    var start = Pos(firstLine, 0);\n    this.sel = {from: start, to: start, head: start, anchor: start, shift: false, extend: false, goalColumn: null};\n    this.id = ++nextDocId;\n    this.modeOption = mode;\n\n    if (typeof text == \"string\") text = splitLines(text);\n    updateDoc(this, {from: start, to: start, text: text}, null, {head: start, anchor: start});\n  };\n\n  Doc.prototype = createObj(BranchChunk.prototype, {\n    constructor: Doc,\n    iter: function(from, to, op) {\n      if (op) this.iterN(from - this.first, to - from, op);\n      else this.iterN(this.first, this.first + this.size, from);\n    },\n\n    insert: function(at, lines) {\n      var height = 0;\n      for (var i = 0, e = lines.length; i < e; ++i) height += lines[i].height;\n      this.insertInner(at - this.first, lines, height);\n    },\n    remove: function(at, n) { this.removeInner(at - this.first, n); },\n\n    getValue: function(lineSep) {\n      var lines = getLines(this, this.first, this.first + this.size);\n      if (lineSep === false) return lines;\n      return lines.join(lineSep || \"\\n\");\n    },\n    setValue: function(code) {\n      var top = Pos(this.first, 0), last = this.first + this.size - 1;\n      makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length),\n                        text: splitLines(code), origin: \"setValue\"},\n                 {head: top, anchor: top}, true);\n    },\n    replaceRange: function(code, from, to, origin) {\n      from = clipPos(this, from);\n      to = to ? clipPos(this, to) : from;\n      replaceRange(this, code, from, to, origin);\n    },\n    getRange: function(from, to, lineSep) {\n      var lines = getBetween(this, clipPos(this, from), clipPos(this, to));\n      if (lineSep === false) return lines;\n      return lines.join(lineSep || \"\\n\");\n    },\n\n    getLine: function(line) {var l = this.getLineHandle(line); return l && l.text;},\n    setLine: function(line, text) {\n      if (isLine(this, line))\n        replaceRange(this, text, Pos(line, 0), clipPos(this, Pos(line)));\n    },\n    removeLine: function(line) {\n      if (line) replaceRange(this, \"\", clipPos(this, Pos(line - 1)), clipPos(this, Pos(line)));\n      else replaceRange(this, \"\", Pos(0, 0), clipPos(this, Pos(1, 0)));\n    },\n\n    getLineHandle: function(line) {if (isLine(this, line)) return getLine(this, line);},\n    getLineNumber: function(line) {return lineNo(line);},\n\n    getLineHandleVisualStart: function(line) {\n      if (typeof line == \"number\") line = getLine(this, line);\n      return visualLine(this, line);\n    },\n\n    lineCount: function() {return this.size;},\n    firstLine: function() {return this.first;},\n    lastLine: function() {return this.first + this.size - 1;},\n\n    clipPos: function(pos) {return clipPos(this, pos);},\n\n    getCursor: function(start) {\n      var sel = this.sel, pos;\n      if (start == null || start == \"head\") pos = sel.head;\n      else if (start == \"anchor\") pos = sel.anchor;\n      else if (start == \"end\" || start === false) pos = sel.to;\n      else pos = sel.from;\n      return copyPos(pos);\n    },\n    somethingSelected: function() {return !posEq(this.sel.head, this.sel.anchor);},\n\n    setCursor: docOperation(function(line, ch, extend) {\n      var pos = clipPos(this, typeof line == \"number\" ? Pos(line, ch || 0) : line);\n      if (extend) extendSelection(this, pos);\n      else setSelection(this, pos, pos);\n    }),\n    setSelection: docOperation(function(anchor, head, bias) {\n      setSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), bias);\n    }),\n    extendSelection: docOperation(function(from, to, bias) {\n      extendSelection(this, clipPos(this, from), to && clipPos(this, to), bias);\n    }),\n\n    getSelection: function(lineSep) {return this.getRange(this.sel.from, this.sel.to, lineSep);},\n    replaceSelection: function(code, collapse, origin) {\n      makeChange(this, {from: this.sel.from, to: this.sel.to, text: splitLines(code), origin: origin}, collapse || \"around\");\n    },\n    undo: docOperation(function() {makeChangeFromHistory(this, \"undo\");}),\n    redo: docOperation(function() {makeChangeFromHistory(this, \"redo\");}),\n\n    setExtending: function(val) {this.sel.extend = val;},\n\n    historySize: function() {\n      var hist = this.history;\n      return {undo: hist.done.length, redo: hist.undone.length};\n    },\n    clearHistory: function() {this.history = makeHistory(this.history.maxGeneration);},\n\n    markClean: function() {\n      this.cleanGeneration = this.changeGeneration();\n    },\n    changeGeneration: function() {\n      this.history.lastOp = this.history.lastOrigin = null;\n      return this.history.generation;\n    },\n    isClean: function (gen) {\n      return this.history.generation == (gen || this.cleanGeneration);\n    },\n\n    getHistory: function() {\n      return {done: copyHistoryArray(this.history.done),\n              undone: copyHistoryArray(this.history.undone)};\n    },\n    setHistory: function(histData) {\n      var hist = this.history = makeHistory(this.history.maxGeneration);\n      hist.done = histData.done.slice(0);\n      hist.undone = histData.undone.slice(0);\n    },\n\n    markText: function(from, to, options) {\n      return markText(this, clipPos(this, from), clipPos(this, to), options, \"range\");\n    },\n    setBookmark: function(pos, options) {\n      var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options),\n                      insertLeft: options && options.insertLeft};\n      pos = clipPos(this, pos);\n      return markText(this, pos, pos, realOpts, \"bookmark\");\n    },\n    findMarksAt: function(pos) {\n      pos = clipPos(this, pos);\n      var markers = [], spans = getLine(this, pos.line).markedSpans;\n      if (spans) for (var i = 0; i < spans.length; ++i) {\n        var span = spans[i];\n        if ((span.from == null || span.from <= pos.ch) &&\n            (span.to == null || span.to >= pos.ch))\n          markers.push(span.marker.parent || span.marker);\n      }\n      return markers;\n    },\n    getAllMarks: function() {\n      var markers = [];\n      this.iter(function(line) {\n        var sps = line.markedSpans;\n        if (sps) for (var i = 0; i < sps.length; ++i)\n          if (sps[i].from != null) markers.push(sps[i].marker);\n      });\n      return markers;\n    },\n\n    posFromIndex: function(off) {\n      var ch, lineNo = this.first;\n      this.iter(function(line) {\n        var sz = line.text.length + 1;\n        if (sz > off) { ch = off; return true; }\n        off -= sz;\n        ++lineNo;\n      });\n      return clipPos(this, Pos(lineNo, ch));\n    },\n    indexFromPos: function (coords) {\n      coords = clipPos(this, coords);\n      var index = coords.ch;\n      if (coords.line < this.first || coords.ch < 0) return 0;\n      this.iter(this.first, coords.line, function (line) {\n        index += line.text.length + 1;\n      });\n      return index;\n    },\n\n    copy: function(copyHistory) {\n      var doc = new Doc(getLines(this, this.first, this.first + this.size), this.modeOption, this.first);\n      doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft;\n      doc.sel = {from: this.sel.from, to: this.sel.to, head: this.sel.head, anchor: this.sel.anchor,\n                 shift: this.sel.shift, extend: false, goalColumn: this.sel.goalColumn};\n      if (copyHistory) {\n        doc.history.undoDepth = this.history.undoDepth;\n        doc.setHistory(this.getHistory());\n      }\n      return doc;\n    },\n\n    linkedDoc: function(options) {\n      if (!options) options = {};\n      var from = this.first, to = this.first + this.size;\n      if (options.from != null && options.from > from) from = options.from;\n      if (options.to != null && options.to < to) to = options.to;\n      var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from);\n      if (options.sharedHist) copy.history = this.history;\n      (this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist});\n      copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}];\n      return copy;\n    },\n    unlinkDoc: function(other) {\n      if (other instanceof CodeMirror) other = other.doc;\n      if (this.linked) for (var i = 0; i < this.linked.length; ++i) {\n        var link = this.linked[i];\n        if (link.doc != other) continue;\n        this.linked.splice(i, 1);\n        other.unlinkDoc(this);\n        break;\n      }\n      // If the histories were shared, split them again\n      if (other.history == this.history) {\n        var splitIds = [other.id];\n        linkedDocs(other, function(doc) {splitIds.push(doc.id);}, true);\n        other.history = makeHistory();\n        other.history.done = copyHistoryArray(this.history.done, splitIds);\n        other.history.undone = copyHistoryArray(this.history.undone, splitIds);\n      }\n    },\n    iterLinkedDocs: function(f) {linkedDocs(this, f);},\n\n    getMode: function() {return this.mode;},\n    getEditor: function() {return this.cm;}\n  });\n\n  Doc.prototype.eachLine = Doc.prototype.iter;\n\n  // The Doc methods that should be available on CodeMirror instances\n  var dontDelegate = \"iter insert remove copy getEditor\".split(\" \");\n  for (var prop in Doc.prototype) if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)\n    CodeMirror.prototype[prop] = (function(method) {\n      return function() {return method.apply(this.doc, arguments);};\n    })(Doc.prototype[prop]);\n\n  eventMixin(Doc);\n\n  function linkedDocs(doc, f, sharedHistOnly) {\n    function propagate(doc, skip, sharedHist) {\n      if (doc.linked) for (var i = 0; i < doc.linked.length; ++i) {\n        var rel = doc.linked[i];\n        if (rel.doc == skip) continue;\n        var shared = sharedHist && rel.sharedHist;\n        if (sharedHistOnly && !shared) continue;\n        f(rel.doc, shared);\n        propagate(rel.doc, doc, shared);\n      }\n    }\n    propagate(doc, null, true);\n  }\n\n  function attachDoc(cm, doc) {\n    if (doc.cm) throw new Error(\"This document is already in use.\");\n    cm.doc = doc;\n    doc.cm = cm;\n    estimateLineHeights(cm);\n    loadMode(cm);\n    if (!cm.options.lineWrapping) computeMaxLength(cm);\n    cm.options.mode = doc.modeOption;\n    regChange(cm);\n  }\n\n  // LINE UTILITIES\n\n  function getLine(chunk, n) {\n    n -= chunk.first;\n    while (!chunk.lines) {\n      for (var i = 0;; ++i) {\n        var child = chunk.children[i], sz = child.chunkSize();\n        if (n < sz) { chunk = child; break; }\n        n -= sz;\n      }\n    }\n    return chunk.lines[n];\n  }\n\n  function getBetween(doc, start, end) {\n    var out = [], n = start.line;\n    doc.iter(start.line, end.line + 1, function(line) {\n      var text = line.text;\n      if (n == end.line) text = text.slice(0, end.ch);\n      if (n == start.line) text = text.slice(start.ch);\n      out.push(text);\n      ++n;\n    });\n    return out;\n  }\n  function getLines(doc, from, to) {\n    var out = [];\n    doc.iter(from, to, function(line) { out.push(line.text); });\n    return out;\n  }\n\n  function updateLineHeight(line, height) {\n    var diff = height - line.height;\n    for (var n = line; n; n = n.parent) n.height += diff;\n  }\n\n  function lineNo(line) {\n    if (line.parent == null) return null;\n    var cur = line.parent, no = indexOf(cur.lines, line);\n    for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {\n      for (var i = 0;; ++i) {\n        if (chunk.children[i] == cur) break;\n        no += chunk.children[i].chunkSize();\n      }\n    }\n    return no + cur.first;\n  }\n\n  function lineAtHeight(chunk, h) {\n    var n = chunk.first;\n    outer: do {\n      for (var i = 0, e = chunk.children.length; i < e; ++i) {\n        var child = chunk.children[i], ch = child.height;\n        if (h < ch) { chunk = child; continue outer; }\n        h -= ch;\n        n += child.chunkSize();\n      }\n      return n;\n    } while (!chunk.lines);\n    for (var i = 0, e = chunk.lines.length; i < e; ++i) {\n      var line = chunk.lines[i], lh = line.height;\n      if (h < lh) break;\n      h -= lh;\n    }\n    return n + i;\n  }\n\n  function heightAtLine(cm, lineObj) {\n    lineObj = visualLine(cm.doc, lineObj);\n\n    var h = 0, chunk = lineObj.parent;\n    for (var i = 0; i < chunk.lines.length; ++i) {\n      var line = chunk.lines[i];\n      if (line == lineObj) break;\n      else h += line.height;\n    }\n    for (var p = chunk.parent; p; chunk = p, p = chunk.parent) {\n      for (var i = 0; i < p.children.length; ++i) {\n        var cur = p.children[i];\n        if (cur == chunk) break;\n        else h += cur.height;\n      }\n    }\n    return h;\n  }\n\n  function getOrder(line) {\n    var order = line.order;\n    if (order == null) order = line.order = bidiOrdering(line.text);\n    return order;\n  }\n\n  // HISTORY\n\n  function makeHistory(startGen) {\n    return {\n      // Arrays of history events. Doing something adds an event to\n      // done and clears undo. Undoing moves events from done to\n      // undone, redoing moves them in the other direction.\n      done: [], undone: [], undoDepth: Infinity,\n      // Used to track when changes can be merged into a single undo\n      // event\n      lastTime: 0, lastOp: null, lastOrigin: null,\n      // Used by the isClean() method\n      generation: startGen || 1, maxGeneration: startGen || 1\n    };\n  }\n\n  function attachLocalSpans(doc, change, from, to) {\n    var existing = change[\"spans_\" + doc.id], n = 0;\n    doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function(line) {\n      if (line.markedSpans)\n        (existing || (existing = change[\"spans_\" + doc.id] = {}))[n] = line.markedSpans;\n      ++n;\n    });\n  }\n\n  function historyChangeFromChange(doc, change) {\n    var from = { line: change.from.line, ch: change.from.ch };\n    var histChange = {from: from, to: changeEnd(change), text: getBetween(doc, change.from, change.to)};\n    attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);\n    linkedDocs(doc, function(doc) {attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);}, true);\n    return histChange;\n  }\n\n  function addToHistory(doc, change, selAfter, opId) {\n    var hist = doc.history;\n    hist.undone.length = 0;\n    var time = +new Date, cur = lst(hist.done);\n\n    if (cur &&\n        (hist.lastOp == opId ||\n         hist.lastOrigin == change.origin && change.origin &&\n         ((change.origin.charAt(0) == \"+\" && doc.cm && hist.lastTime > time - doc.cm.options.historyEventDelay) ||\n          change.origin.charAt(0) == \"*\"))) {\n      // Merge this change into the last event\n      var last = lst(cur.changes);\n      if (posEq(change.from, change.to) && posEq(change.from, last.to)) {\n        // Optimized case for simple insertion -- don't want to add\n        // new changesets for every character typed\n        last.to = changeEnd(change);\n      } else {\n        // Add new sub-event\n        cur.changes.push(historyChangeFromChange(doc, change));\n      }\n      cur.anchorAfter = selAfter.anchor; cur.headAfter = selAfter.head;\n    } else {\n      // Can not be merged, start a new event.\n      cur = {changes: [historyChangeFromChange(doc, change)],\n             generation: hist.generation,\n             anchorBefore: doc.sel.anchor, headBefore: doc.sel.head,\n             anchorAfter: selAfter.anchor, headAfter: selAfter.head};\n      hist.done.push(cur);\n      hist.generation = ++hist.maxGeneration;\n      while (hist.done.length > hist.undoDepth)\n        hist.done.shift();\n    }\n    hist.lastTime = time;\n    hist.lastOp = opId;\n    hist.lastOrigin = change.origin;\n  }\n\n  function removeClearedSpans(spans) {\n    if (!spans) return null;\n    for (var i = 0, out; i < spans.length; ++i) {\n      if (spans[i].marker.explicitlyCleared) { if (!out) out = spans.slice(0, i); }\n      else if (out) out.push(spans[i]);\n    }\n    return !out ? spans : out.length ? out : null;\n  }\n\n  function getOldSpans(doc, change) {\n    var found = change[\"spans_\" + doc.id];\n    if (!found) return null;\n    for (var i = 0, nw = []; i < change.text.length; ++i)\n      nw.push(removeClearedSpans(found[i]));\n    return nw;\n  }\n\n  // Used both to provide a JSON-safe object in .getHistory, and, when\n  // detaching a document, to split the history in two\n  function copyHistoryArray(events, newGroup) {\n    for (var i = 0, copy = []; i < events.length; ++i) {\n      var event = events[i], changes = event.changes, newChanges = [];\n      copy.push({changes: newChanges, anchorBefore: event.anchorBefore, headBefore: event.headBefore,\n                 anchorAfter: event.anchorAfter, headAfter: event.headAfter});\n      for (var j = 0; j < changes.length; ++j) {\n        var change = changes[j], m;\n        newChanges.push({from: change.from, to: change.to, text: change.text});\n        if (newGroup) for (var prop in change) if (m = prop.match(/^spans_(\\d+)$/)) {\n          if (indexOf(newGroup, Number(m[1])) > -1) {\n            lst(newChanges)[prop] = change[prop];\n            delete change[prop];\n          }\n        }\n      }\n    }\n    return copy;\n  }\n\n  // Rebasing/resetting history to deal with externally-sourced changes\n\n  function rebaseHistSel(pos, from, to, diff) {\n    if (to < pos.line) {\n      pos.line += diff;\n    } else if (from < pos.line) {\n      pos.line = from;\n      pos.ch = 0;\n    }\n  }\n\n  // Tries to rebase an array of history events given a change in the\n  // document. If the change touches the same lines as the event, the\n  // event, and everything 'behind' it, is discarded. If the change is\n  // before the event, the event's positions are updated. Uses a\n  // copy-on-write scheme for the positions, to avoid having to\n  // reallocate them all on every rebase, but also avoid problems with\n  // shared position objects being unsafely updated.\n  function rebaseHistArray(array, from, to, diff) {\n    for (var i = 0; i < array.length; ++i) {\n      var sub = array[i], ok = true;\n      for (var j = 0; j < sub.changes.length; ++j) {\n        var cur = sub.changes[j];\n        if (!sub.copied) { cur.from = copyPos(cur.from); cur.to = copyPos(cur.to); }\n        if (to < cur.from.line) {\n          cur.from.line += diff;\n          cur.to.line += diff;\n        } else if (from <= cur.to.line) {\n          ok = false;\n          break;\n        }\n      }\n      if (!sub.copied) {\n        sub.anchorBefore = copyPos(sub.anchorBefore); sub.headBefore = copyPos(sub.headBefore);\n        sub.anchorAfter = copyPos(sub.anchorAfter); sub.readAfter = copyPos(sub.headAfter);\n        sub.copied = true;\n      }\n      if (!ok) {\n        array.splice(0, i + 1);\n        i = 0;\n      } else {\n        rebaseHistSel(sub.anchorBefore); rebaseHistSel(sub.headBefore);\n        rebaseHistSel(sub.anchorAfter); rebaseHistSel(sub.headAfter);\n      }\n    }\n  }\n\n  function rebaseHist(hist, change) {\n    var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1;\n    rebaseHistArray(hist.done, from, to, diff);\n    rebaseHistArray(hist.undone, from, to, diff);\n  }\n\n  // EVENT OPERATORS\n\n  function stopMethod() {e_stop(this);}\n  // Ensure an event has a stop method.\n  function addStop(event) {\n    if (!event.stop) event.stop = stopMethod;\n    return event;\n  }\n\n  function e_preventDefault(e) {\n    if (e.preventDefault) e.preventDefault();\n    else e.returnValue = false;\n  }\n  function e_stopPropagation(e) {\n    if (e.stopPropagation) e.stopPropagation();\n    else e.cancelBubble = true;\n  }\n  function e_defaultPrevented(e) {\n    return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false;\n  }\n  function e_stop(e) {e_preventDefault(e); e_stopPropagation(e);}\n  CodeMirror.e_stop = e_stop;\n  CodeMirror.e_preventDefault = e_preventDefault;\n  CodeMirror.e_stopPropagation = e_stopPropagation;\n\n  function e_target(e) {return e.target || e.srcElement;}\n  function e_button(e) {\n    var b = e.which;\n    if (b == null) {\n      if (e.button & 1) b = 1;\n      else if (e.button & 2) b = 3;\n      else if (e.button & 4) b = 2;\n    }\n    if (mac && e.ctrlKey && b == 1) b = 3;\n    return b;\n  }\n\n  // EVENT HANDLING\n\n  function on(emitter, type, f) {\n    if (emitter.addEventListener)\n      emitter.addEventListener(type, f, false);\n    else if (emitter.attachEvent)\n      emitter.attachEvent(\"on\" + type, f);\n    else {\n      var map = emitter._handlers || (emitter._handlers = {});\n      var arr = map[type] || (map[type] = []);\n      arr.push(f);\n    }\n  }\n\n  function off(emitter, type, f) {\n    if (emitter.removeEventListener)\n      emitter.removeEventListener(type, f, false);\n    else if (emitter.detachEvent)\n      emitter.detachEvent(\"on\" + type, f);\n    else {\n      var arr = emitter._handlers && emitter._handlers[type];\n      if (!arr) return;\n      for (var i = 0; i < arr.length; ++i)\n        if (arr[i] == f) { arr.splice(i, 1); break; }\n    }\n  }\n\n  function signal(emitter, type /*, values...*/) {\n    var arr = emitter._handlers && emitter._handlers[type];\n    if (!arr) return;\n    var args = Array.prototype.slice.call(arguments, 2);\n    for (var i = 0; i < arr.length; ++i) arr[i].apply(null, args);\n  }\n\n  var delayedCallbacks, delayedCallbackDepth = 0;\n  function signalLater(emitter, type /*, values...*/) {\n    var arr = emitter._handlers && emitter._handlers[type];\n    if (!arr) return;\n    var args = Array.prototype.slice.call(arguments, 2);\n    if (!delayedCallbacks) {\n      ++delayedCallbackDepth;\n      delayedCallbacks = [];\n      setTimeout(fireDelayed, 0);\n    }\n    function bnd(f) {return function(){f.apply(null, args);};};\n    for (var i = 0; i < arr.length; ++i)\n      delayedCallbacks.push(bnd(arr[i]));\n  }\n\n  function signalDOMEvent(cm, e, override) {\n    signal(cm, override || e.type, cm, e);\n    return e_defaultPrevented(e) || e.codemirrorIgnore;\n  }\n\n  function fireDelayed() {\n    --delayedCallbackDepth;\n    var delayed = delayedCallbacks;\n    delayedCallbacks = null;\n    for (var i = 0; i < delayed.length; ++i) delayed[i]();\n  }\n\n  function hasHandler(emitter, type) {\n    var arr = emitter._handlers && emitter._handlers[type];\n    return arr && arr.length > 0;\n  }\n\n  CodeMirror.on = on; CodeMirror.off = off; CodeMirror.signal = signal;\n\n  function eventMixin(ctor) {\n    ctor.prototype.on = function(type, f) {on(this, type, f);};\n    ctor.prototype.off = function(type, f) {off(this, type, f);};\n  }\n\n  // MISC UTILITIES\n\n  // Number of pixels added to scroller and sizer to hide scrollbar\n  var scrollerCutOff = 30;\n\n  // Returned or thrown by various protocols to signal 'I'm not\n  // handling this'.\n  var Pass = CodeMirror.Pass = {toString: function(){return \"CodeMirror.Pass\";}};\n\n  function Delayed() {this.id = null;}\n  Delayed.prototype = {set: function(ms, f) {clearTimeout(this.id); this.id = setTimeout(f, ms);}};\n\n  // Counts the column offset in a string, taking tabs into account.\n  // Used mostly to find indentation.\n  function countColumn(string, end, tabSize, startIndex, startValue) {\n    if (end == null) {\n      end = string.search(/[^\\s\\u00a0]/);\n      if (end == -1) end = string.length;\n    }\n    for (var i = startIndex || 0, n = startValue || 0; i < end; ++i) {\n      if (string.charAt(i) == \"\\t\") n += tabSize - (n % tabSize);\n      else ++n;\n    }\n    return n;\n  }\n  CodeMirror.countColumn = countColumn;\n\n  var spaceStrs = [\"\"];\n  function spaceStr(n) {\n    while (spaceStrs.length <= n)\n      spaceStrs.push(lst(spaceStrs) + \" \");\n    return spaceStrs[n];\n  }\n\n  function lst(arr) { return arr[arr.length-1]; }\n\n  function selectInput(node) {\n    if (ios) { // Mobile Safari apparently has a bug where select() is broken.\n      node.selectionStart = 0;\n      node.selectionEnd = node.value.length;\n    } else {\n      // Suppress mysterious IE10 errors\n      try { node.select(); }\n      catch(_e) {}\n    }\n  }\n\n  function indexOf(collection, elt) {\n    if (collection.indexOf) return collection.indexOf(elt);\n    for (var i = 0, e = collection.length; i < e; ++i)\n      if (collection[i] == elt) return i;\n    return -1;\n  }\n\n  function createObj(base, props) {\n    function Obj() {}\n    Obj.prototype = base;\n    var inst = new Obj();\n    if (props) copyObj(props, inst);\n    return inst;\n  }\n\n  function copyObj(obj, target) {\n    if (!target) target = {};\n    for (var prop in obj) if (obj.hasOwnProperty(prop)) target[prop] = obj[prop];\n    return target;\n  }\n\n  function emptyArray(size) {\n    for (var a = [], i = 0; i < size; ++i) a.push(undefined);\n    return a;\n  }\n\n  function bind(f) {\n    var args = Array.prototype.slice.call(arguments, 1);\n    return function(){return f.apply(null, args);};\n  }\n\n  var nonASCIISingleCaseWordChar = /[\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;\n  function isWordChar(ch) {\n    return /\\w/.test(ch) || ch > \"\\x80\" &&\n      (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch));\n  }\n\n  function isEmpty(obj) {\n    for (var n in obj) if (obj.hasOwnProperty(n) && obj[n]) return false;\n    return true;\n  }\n\n  var isExtendingChar = /[\\u0300-\\u036F\\u0483-\\u0487\\u0488-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1-\\u05C2\\u05C4-\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7-\\u06E8\\u06EA-\\u06ED\\uA66F\\u1DC0–\\u1DFF\\u20D0–\\u20FF\\uA670-\\uA672\\uA674-\\uA67D\\uA69F\\udc00-\\udfff\\uFE20–\\uFE2F]/;\n\n  // DOM UTILITIES\n\n  function elt(tag, content, className, style) {\n    var e = document.createElement(tag);\n    if (className) e.className = className;\n    if (style) e.style.cssText = style;\n    if (typeof content == \"string\") setTextContent(e, content);\n    else if (content) for (var i = 0; i < content.length; ++i) e.appendChild(content[i]);\n    return e;\n  }\n\n  function removeChildren(e) {\n    for (var count = e.childNodes.length; count > 0; --count)\n      e.removeChild(e.firstChild);\n    return e;\n  }\n\n  function removeChildrenAndAdd(parent, e) {\n    return removeChildren(parent).appendChild(e);\n  }\n\n  function setTextContent(e, str) {\n    if (ie_lt9) {\n      e.innerHTML = \"\";\n      e.appendChild(document.createTextNode(str));\n    } else e.textContent = str;\n  }\n\n  function getRect(node) {\n    return node.getBoundingClientRect();\n  }\n  CodeMirror.replaceGetRect = function(f) { getRect = f; };\n\n  // FEATURE DETECTION\n\n  // Detect drag-and-drop\n  var dragAndDrop = function() {\n    // There is *some* kind of drag-and-drop support in IE6-8, but I\n    // couldn't get it to work yet.\n    if (ie_lt9) return false;\n    var div = elt('div');\n    return \"draggable\" in div || \"dragDrop\" in div;\n  }();\n\n  // For a reason I have yet to figure out, some browsers disallow\n  // word wrapping between certain characters *only* if a new inline\n  // element is started between them. This makes it hard to reliably\n  // measure the position of things, since that requires inserting an\n  // extra span. This terribly fragile set of tests matches the\n  // character combinations that suffer from this phenomenon on the\n  // various browsers.\n  function spanAffectsWrapping() { return false; }\n  if (gecko) // Only for \"$'\"\n    spanAffectsWrapping = function(str, i) {\n      return str.charCodeAt(i - 1) == 36 && str.charCodeAt(i) == 39;\n    };\n  else if (safari && !/Version\\/([6-9]|\\d\\d)\\b/.test(navigator.userAgent))\n    spanAffectsWrapping = function(str, i) {\n      return /\\-[^ \\-?]|\\?[^ !\\'\\\"\\),.\\-\\/:;\\?\\]\\}]/.test(str.slice(i - 1, i + 1));\n    };\n  else if (webkit && /Chrome\\/(?:29|[3-9]\\d|\\d\\d\\d)\\./.test(navigator.userAgent))\n    spanAffectsWrapping = function(str, i) {\n      var code = str.charCodeAt(i - 1);\n      return code >= 8208 && code <= 8212;\n    };\n  else if (webkit)\n    spanAffectsWrapping = function(str, i) {\n      if (i > 1 && str.charCodeAt(i - 1) == 45) {\n        if (/\\w/.test(str.charAt(i - 2)) && /[^\\-?\\.]/.test(str.charAt(i))) return true;\n        if (i > 2 && /[\\d\\.,]/.test(str.charAt(i - 2)) && /[\\d\\.,]/.test(str.charAt(i))) return false;\n      }\n      return /[~!#%&*)=+}\\]\\\\|\\\"\\.>,:;][({[<]|-[^\\-?\\.\\u2010-\\u201f\\u2026]|\\?[\\w~`@#$%\\^&*(_=+{[|><]|…[\\w~`@#$%\\^&*(_=+{[><]/.test(str.slice(i - 1, i + 1));\n    };\n\n  var knownScrollbarWidth;\n  function scrollbarWidth(measure) {\n    if (knownScrollbarWidth != null) return knownScrollbarWidth;\n    var test = elt(\"div\", null, null, \"width: 50px; height: 50px; overflow-x: scroll\");\n    removeChildrenAndAdd(measure, test);\n    if (test.offsetWidth)\n      knownScrollbarWidth = test.offsetHeight - test.clientHeight;\n    return knownScrollbarWidth || 0;\n  }\n\n  var zwspSupported;\n  function zeroWidthElement(measure) {\n    if (zwspSupported == null) {\n      var test = elt(\"span\", \"\\u200b\");\n      removeChildrenAndAdd(measure, elt(\"span\", [test, document.createTextNode(\"x\")]));\n      if (measure.firstChild.offsetHeight != 0)\n        zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !ie_lt8;\n    }\n    if (zwspSupported) return elt(\"span\", \"\\u200b\");\n    else return elt(\"span\", \"\\u00a0\", null, \"display: inline-block; width: 1px; margin-right: -1px\");\n  }\n\n  // See if \"\".split is the broken IE version, if so, provide an\n  // alternative way to split lines.\n  var splitLines = \"\\n\\nb\".split(/\\n/).length != 3 ? function(string) {\n    var pos = 0, result = [], l = string.length;\n    while (pos <= l) {\n      var nl = string.indexOf(\"\\n\", pos);\n      if (nl == -1) nl = string.length;\n      var line = string.slice(pos, string.charAt(nl - 1) == \"\\r\" ? nl - 1 : nl);\n      var rt = line.indexOf(\"\\r\");\n      if (rt != -1) {\n        result.push(line.slice(0, rt));\n        pos += rt + 1;\n      } else {\n        result.push(line);\n        pos = nl + 1;\n      }\n    }\n    return result;\n  } : function(string){return string.split(/\\r\\n?|\\n/);};\n  CodeMirror.splitLines = splitLines;\n\n  var hasSelection = window.getSelection ? function(te) {\n    try { return te.selectionStart != te.selectionEnd; }\n    catch(e) { return false; }\n  } : function(te) {\n    try {var range = te.ownerDocument.selection.createRange();}\n    catch(e) {}\n    if (!range || range.parentElement() != te) return false;\n    return range.compareEndPoints(\"StartToEnd\", range) != 0;\n  };\n\n  var hasCopyEvent = (function() {\n    var e = elt(\"div\");\n    if (\"oncopy\" in e) return true;\n    e.setAttribute(\"oncopy\", \"return;\");\n    return typeof e.oncopy == 'function';\n  })();\n\n  // KEY NAMING\n\n  var keyNames = {3: \"Enter\", 8: \"Backspace\", 9: \"Tab\", 13: \"Enter\", 16: \"Shift\", 17: \"Ctrl\", 18: \"Alt\",\n                  19: \"Pause\", 20: \"CapsLock\", 27: \"Esc\", 32: \"Space\", 33: \"PageUp\", 34: \"PageDown\", 35: \"End\",\n                  36: \"Home\", 37: \"Left\", 38: \"Up\", 39: \"Right\", 40: \"Down\", 44: \"PrintScrn\", 45: \"Insert\",\n                  46: \"Delete\", 59: \";\", 91: \"Mod\", 92: \"Mod\", 93: \"Mod\", 109: \"-\", 107: \"=\", 127: \"Delete\",\n                  186: \";\", 187: \"=\", 188: \",\", 189: \"-\", 190: \".\", 191: \"/\", 192: \"`\", 219: \"[\", 220: \"\\\\\",\n                  221: \"]\", 222: \"'\", 63276: \"PageUp\", 63277: \"PageDown\", 63275: \"End\", 63273: \"Home\",\n                  63234: \"Left\", 63232: \"Up\", 63235: \"Right\", 63233: \"Down\", 63302: \"Insert\", 63272: \"Delete\"};\n  CodeMirror.keyNames = keyNames;\n  (function() {\n    // Number keys\n    for (var i = 0; i < 10; i++) keyNames[i + 48] = String(i);\n    // Alphabetic keys\n    for (var i = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i);\n    // Function keys\n    for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = \"F\" + i;\n  })();\n\n  // BIDI HELPERS\n\n  function iterateBidiSections(order, from, to, f) {\n    if (!order) return f(from, to, \"ltr\");\n    var found = false;\n    for (var i = 0; i < order.length; ++i) {\n      var part = order[i];\n      if (part.from < to && part.to > from || from == to && part.to == from) {\n        f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? \"rtl\" : \"ltr\");\n        found = true;\n      }\n    }\n    if (!found) f(from, to, \"ltr\");\n  }\n\n  function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }\n  function bidiRight(part) { return part.level % 2 ? part.from : part.to; }\n\n  function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }\n  function lineRight(line) {\n    var order = getOrder(line);\n    if (!order) return line.text.length;\n    return bidiRight(lst(order));\n  }\n\n  function lineStart(cm, lineN) {\n    var line = getLine(cm.doc, lineN);\n    var visual = visualLine(cm.doc, line);\n    if (visual != line) lineN = lineNo(visual);\n    var order = getOrder(visual);\n    var ch = !order ? 0 : order[0].level % 2 ? lineRight(visual) : lineLeft(visual);\n    return Pos(lineN, ch);\n  }\n  function lineEnd(cm, lineN) {\n    var merged, line;\n    while (merged = collapsedSpanAtEnd(line = getLine(cm.doc, lineN)))\n      lineN = merged.find().to.line;\n    var order = getOrder(line);\n    var ch = !order ? line.text.length : order[0].level % 2 ? lineLeft(line) : lineRight(line);\n    return Pos(lineN, ch);\n  }\n\n  function compareBidiLevel(order, a, b) {\n    var linedir = order[0].level;\n    if (a == linedir) return true;\n    if (b == linedir) return false;\n    return a < b;\n  }\n  var bidiOther;\n  function getBidiPartAt(order, pos) {\n    for (var i = 0, found; i < order.length; ++i) {\n      var cur = order[i];\n      if (cur.from < pos && cur.to > pos) { bidiOther = null; return i; }\n      if (cur.from == pos || cur.to == pos) {\n        if (found == null) {\n          found = i;\n        } else if (compareBidiLevel(order, cur.level, order[found].level)) {\n          bidiOther = found;\n          return i;\n        } else {\n          bidiOther = i;\n          return found;\n        }\n      }\n    }\n    bidiOther = null;\n    return found;\n  }\n\n  function moveInLine(line, pos, dir, byUnit) {\n    if (!byUnit) return pos + dir;\n    do pos += dir;\n    while (pos > 0 && isExtendingChar.test(line.text.charAt(pos)));\n    return pos;\n  }\n\n  // This is somewhat involved. It is needed in order to move\n  // 'visually' through bi-directional text -- i.e., pressing left\n  // should make the cursor go left, even when in RTL text. The\n  // tricky part is the 'jumps', where RTL and LTR text touch each\n  // other. This often requires the cursor offset to move more than\n  // one unit, in order to visually move one unit.\n  function moveVisually(line, start, dir, byUnit) {\n    var bidi = getOrder(line);\n    if (!bidi) return moveLogically(line, start, dir, byUnit);\n    var pos = getBidiPartAt(bidi, start), part = bidi[pos];\n    var target = moveInLine(line, start, part.level % 2 ? -dir : dir, byUnit);\n\n    for (;;) {\n      if (target > part.from && target < part.to) return target;\n      if (target == part.from || target == part.to) {\n        if (getBidiPartAt(bidi, target) == pos) return target;\n        part = bidi[pos += dir];\n        return (dir > 0) == part.level % 2 ? part.to : part.from;\n      } else {\n        part = bidi[pos += dir];\n        if (!part) return null;\n        if ((dir > 0) == part.level % 2)\n          target = moveInLine(line, part.to, -1, byUnit);\n        else\n          target = moveInLine(line, part.from, 1, byUnit);\n      }\n    }\n  }\n\n  function moveLogically(line, start, dir, byUnit) {\n    var target = start + dir;\n    if (byUnit) while (target > 0 && isExtendingChar.test(line.text.charAt(target))) target += dir;\n    return target < 0 || target > line.text.length ? null : target;\n  }\n\n  // Bidirectional ordering algorithm\n  // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm\n  // that this (partially) implements.\n\n  // One-char codes used for character types:\n  // L (L):   Left-to-Right\n  // R (R):   Right-to-Left\n  // r (AL):  Right-to-Left Arabic\n  // 1 (EN):  European Number\n  // + (ES):  European Number Separator\n  // % (ET):  European Number Terminator\n  // n (AN):  Arabic Number\n  // , (CS):  Common Number Separator\n  // m (NSM): Non-Spacing Mark\n  // b (BN):  Boundary Neutral\n  // s (B):   Paragraph Separator\n  // t (S):   Segment Separator\n  // w (WS):  Whitespace\n  // N (ON):  Other Neutrals\n\n  // Returns null if characters are ordered as they appear\n  // (left-to-right), or an array of sections ({from, to, level}\n  // objects) in the order in which they occur visually.\n  var bidiOrdering = (function() {\n    // Character types for codepoints 0 to 0xff\n    var lowTypes = \"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLL\";\n    // Character types for codepoints 0x600 to 0x6ff\n    var arabicTypes = \"rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmmrrrrrrrrrrrrrrrrrr\";\n    function charType(code) {\n      if (code <= 0xff) return lowTypes.charAt(code);\n      else if (0x590 <= code && code <= 0x5f4) return \"R\";\n      else if (0x600 <= code && code <= 0x6ff) return arabicTypes.charAt(code - 0x600);\n      else if (0x700 <= code && code <= 0x8ac) return \"r\";\n      else return \"L\";\n    }\n\n    var bidiRE = /[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/;\n    var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/;\n    // Browsers seem to always treat the boundaries of block elements as being L.\n    var outerType = \"L\";\n\n    return function(str) {\n      if (!bidiRE.test(str)) return false;\n      var len = str.length, types = [];\n      for (var i = 0, type; i < len; ++i)\n        types.push(type = charType(str.charCodeAt(i)));\n\n      // W1. Examine each non-spacing mark (NSM) in the level run, and\n      // change the type of the NSM to the type of the previous\n      // character. If the NSM is at the start of the level run, it will\n      // get the type of sor.\n      for (var i = 0, prev = outerType; i < len; ++i) {\n        var type = types[i];\n        if (type == \"m\") types[i] = prev;\n        else prev = type;\n      }\n\n      // W2. Search backwards from each instance of a European number\n      // until the first strong type (R, L, AL, or sor) is found. If an\n      // AL is found, change the type of the European number to Arabic\n      // number.\n      // W3. Change all ALs to R.\n      for (var i = 0, cur = outerType; i < len; ++i) {\n        var type = types[i];\n        if (type == \"1\" && cur == \"r\") types[i] = \"n\";\n        else if (isStrong.test(type)) { cur = type; if (type == \"r\") types[i] = \"R\"; }\n      }\n\n      // W4. A single European separator between two European numbers\n      // changes to a European number. A single common separator between\n      // two numbers of the same type changes to that type.\n      for (var i = 1, prev = types[0]; i < len - 1; ++i) {\n        var type = types[i];\n        if (type == \"+\" && prev == \"1\" && types[i+1] == \"1\") types[i] = \"1\";\n        else if (type == \",\" && prev == types[i+1] &&\n                 (prev == \"1\" || prev == \"n\")) types[i] = prev;\n        prev = type;\n      }\n\n      // W5. A sequence of European terminators adjacent to European\n      // numbers changes to all European numbers.\n      // W6. Otherwise, separators and terminators change to Other\n      // Neutral.\n      for (var i = 0; i < len; ++i) {\n        var type = types[i];\n        if (type == \",\") types[i] = \"N\";\n        else if (type == \"%\") {\n          for (var end = i + 1; end < len && types[end] == \"%\"; ++end) {}\n          var replace = (i && types[i-1] == \"!\") || (end < len - 1 && types[end] == \"1\") ? \"1\" : \"N\";\n          for (var j = i; j < end; ++j) types[j] = replace;\n          i = end - 1;\n        }\n      }\n\n      // W7. Search backwards from each instance of a European number\n      // until the first strong type (R, L, or sor) is found. If an L is\n      // found, then change the type of the European number to L.\n      for (var i = 0, cur = outerType; i < len; ++i) {\n        var type = types[i];\n        if (cur == \"L\" && type == \"1\") types[i] = \"L\";\n        else if (isStrong.test(type)) cur = type;\n      }\n\n      // N1. A sequence of neutrals takes the direction of the\n      // surrounding strong text if the text on both sides has the same\n      // direction. European and Arabic numbers act as if they were R in\n      // terms of their influence on neutrals. Start-of-level-run (sor)\n      // and end-of-level-run (eor) are used at level run boundaries.\n      // N2. Any remaining neutrals take the embedding direction.\n      for (var i = 0; i < len; ++i) {\n        if (isNeutral.test(types[i])) {\n          for (var end = i + 1; end < len && isNeutral.test(types[end]); ++end) {}\n          var before = (i ? types[i-1] : outerType) == \"L\";\n          var after = (end < len - 1 ? types[end] : outerType) == \"L\";\n          var replace = before || after ? \"L\" : \"R\";\n          for (var j = i; j < end; ++j) types[j] = replace;\n          i = end - 1;\n        }\n      }\n\n      // Here we depart from the documented algorithm, in order to avoid\n      // building up an actual levels array. Since there are only three\n      // levels (0, 1, 2) in an implementation that doesn't take\n      // explicit embedding into account, we can build up the order on\n      // the fly, without following the level-based algorithm.\n      var order = [], m;\n      for (var i = 0; i < len;) {\n        if (countsAsLeft.test(types[i])) {\n          var start = i;\n          for (++i; i < len && countsAsLeft.test(types[i]); ++i) {}\n          order.push({from: start, to: i, level: 0});\n        } else {\n          var pos = i, at = order.length;\n          for (++i; i < len && types[i] != \"L\"; ++i) {}\n          for (var j = pos; j < i;) {\n            if (countsAsNum.test(types[j])) {\n              if (pos < j) order.splice(at, 0, {from: pos, to: j, level: 1});\n              var nstart = j;\n              for (++j; j < i && countsAsNum.test(types[j]); ++j) {}\n              order.splice(at, 0, {from: nstart, to: j, level: 2});\n              pos = j;\n            } else ++j;\n          }\n          if (pos < i) order.splice(at, 0, {from: pos, to: i, level: 1});\n        }\n      }\n      if (order[0].level == 1 && (m = str.match(/^\\s+/))) {\n        order[0].from = m[0].length;\n        order.unshift({from: 0, to: m[0].length, level: 0});\n      }\n      if (lst(order).level == 1 && (m = str.match(/\\s+$/))) {\n        lst(order).to -= m[0].length;\n        order.push({from: len - m[0].length, to: len, level: 0});\n      }\n      if (order[0].level != lst(order).level)\n        order.push({from: len, to: len, level: order[0].level});\n\n      return order;\n    };\n  })();\n\n  // THE END\n\n  CodeMirror.version = \"3.20.0\";\n\n  return CodeMirror;\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/apl/apl.js",
    "content": "CodeMirror.defineMode(\"apl\", function() {\n  var builtInOps = {\n    \".\": \"innerProduct\",\n    \"\\\\\": \"scan\",\n    \"/\": \"reduce\",\n    \"⌿\": \"reduce1Axis\",\n    \"⍀\": \"scan1Axis\",\n    \"¨\": \"each\",\n    \"⍣\": \"power\"\n  };\n  var builtInFuncs = {\n    \"+\": [\"conjugate\", \"add\"],\n    \"−\": [\"negate\", \"subtract\"],\n    \"×\": [\"signOf\", \"multiply\"],\n    \"÷\": [\"reciprocal\", \"divide\"],\n    \"⌈\": [\"ceiling\", \"greaterOf\"],\n    \"⌊\": [\"floor\", \"lesserOf\"],\n    \"∣\": [\"absolute\", \"residue\"],\n    \"⍳\": [\"indexGenerate\", \"indexOf\"],\n    \"?\": [\"roll\", \"deal\"],\n    \"⋆\": [\"exponentiate\", \"toThePowerOf\"],\n    \"⍟\": [\"naturalLog\", \"logToTheBase\"],\n    \"○\": [\"piTimes\", \"circularFuncs\"],\n    \"!\": [\"factorial\", \"binomial\"],\n    \"⌹\": [\"matrixInverse\", \"matrixDivide\"],\n    \"<\": [null, \"lessThan\"],\n    \"≤\": [null, \"lessThanOrEqual\"],\n    \"=\": [null, \"equals\"],\n    \">\": [null, \"greaterThan\"],\n    \"≥\": [null, \"greaterThanOrEqual\"],\n    \"≠\": [null, \"notEqual\"],\n    \"≡\": [\"depth\", \"match\"],\n    \"≢\": [null, \"notMatch\"],\n    \"∈\": [\"enlist\", \"membership\"],\n    \"⍷\": [null, \"find\"],\n    \"∪\": [\"unique\", \"union\"],\n    \"∩\": [null, \"intersection\"],\n    \"∼\": [\"not\", \"without\"],\n    \"∨\": [null, \"or\"],\n    \"∧\": [null, \"and\"],\n    \"⍱\": [null, \"nor\"],\n    \"⍲\": [null, \"nand\"],\n    \"⍴\": [\"shapeOf\", \"reshape\"],\n    \",\": [\"ravel\", \"catenate\"],\n    \"⍪\": [null, \"firstAxisCatenate\"],\n    \"⌽\": [\"reverse\", \"rotate\"],\n    \"⊖\": [\"axis1Reverse\", \"axis1Rotate\"],\n    \"⍉\": [\"transpose\", null],\n    \"↑\": [\"first\", \"take\"],\n    \"↓\": [null, \"drop\"],\n    \"⊂\": [\"enclose\", \"partitionWithAxis\"],\n    \"⊃\": [\"diclose\", \"pick\"],\n    \"⌷\": [null, \"index\"],\n    \"⍋\": [\"gradeUp\", null],\n    \"⍒\": [\"gradeDown\", null],\n    \"⊤\": [\"encode\", null],\n    \"⊥\": [\"decode\", null],\n    \"⍕\": [\"format\", \"formatByExample\"],\n    \"⍎\": [\"execute\", null],\n    \"⊣\": [\"stop\", \"left\"],\n    \"⊢\": [\"pass\", \"right\"]\n  };\n\n  var isOperator = /[\\.\\/⌿⍀¨⍣]/;\n  var isNiladic = /⍬/;\n  var isFunction = /[\\+−×÷⌈⌊∣⍳\\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/;\n  var isArrow = /←/;\n  var isComment = /[⍝#].*$/;\n\n  var stringEater = function(type) {\n    var prev;\n    prev = false;\n    return function(c) {\n      prev = c;\n      if (c === type) {\n        return prev === \"\\\\\";\n      }\n      return true;\n    };\n  };\n  return {\n    startState: function() {\n      return {\n        prev: false,\n        func: false,\n        op: false,\n        string: false,\n        escape: false\n      };\n    },\n    token: function(stream, state) {\n      var ch, funcName, word;\n      if (stream.eatSpace()) {\n        return null;\n      }\n      ch = stream.next();\n      if (ch === '\"' || ch === \"'\") {\n        stream.eatWhile(stringEater(ch));\n        stream.next();\n        state.prev = true;\n        return \"string\";\n      }\n      if (/[\\[{\\(]/.test(ch)) {\n        state.prev = false;\n        return null;\n      }\n      if (/[\\]}\\)]/.test(ch)) {\n        state.prev = true;\n        return null;\n      }\n      if (isNiladic.test(ch)) {\n        state.prev = false;\n        return \"niladic\";\n      }\n      if (/[¯\\d]/.test(ch)) {\n        if (state.func) {\n          state.func = false;\n          state.prev = false;\n        } else {\n          state.prev = true;\n        }\n        stream.eatWhile(/[\\w\\.]/);\n        return \"number\";\n      }\n      if (isOperator.test(ch)) {\n        return \"operator apl-\" + builtInOps[ch];\n      }\n      if (isArrow.test(ch)) {\n        return \"apl-arrow\";\n      }\n      if (isFunction.test(ch)) {\n        funcName = \"apl-\";\n        if (builtInFuncs[ch] != null) {\n          if (state.prev) {\n            funcName += builtInFuncs[ch][1];\n          } else {\n            funcName += builtInFuncs[ch][0];\n          }\n        }\n        state.func = true;\n        state.prev = false;\n        return \"function \" + funcName;\n      }\n      if (isComment.test(ch)) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      if (ch === \"∘\" && stream.peek() === \".\") {\n        stream.next();\n        return \"function jot-dot\";\n      }\n      stream.eatWhile(/[\\w\\$_]/);\n      word = stream.current();\n      state.prev = true;\n      return \"keyword\";\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/apl\", \"apl\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/apl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: APL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"./apl.js\"></script>\n<style>\n\t.CodeMirror { border: 2px inset #dee; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">APL</a>\n  </ul>\n</div>\n\n<article>\n<h2>APL mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n⍝ Conway's game of life\n\n⍝ This example was inspired by the impressive demo at\n⍝ http://www.youtube.com/watch?v=a9xAKttWgP4\n\n⍝ Create a matrix:\n⍝     0 1 1\n⍝     1 1 0\n⍝     0 1 0\ncreature ← (3 3 ⍴ ⍳ 9) ∈ 1 2 3 4 7   ⍝ Original creature from demo\ncreature ← (3 3 ⍴ ⍳ 9) ∈ 1 3 6 7 8   ⍝ Glider\n\n⍝ Place the creature on a larger board, near the centre\nboard ← ¯1 ⊖ ¯2 ⌽ 5 7 ↑ creature\n\n⍝ A function to move from one generation to the next\nlife ← {∨/ 1 ⍵ ∧ 3 4 = ⊂+/ +⌿ 1 0 ¯1 ∘.⊖ 1 0 ¯1 ⌽¨ ⊂⍵}\n\n⍝ Compute n-th generation and format it as a\n⍝ character matrix\ngen ← {' #'[(life ⍣ ⍵) board]}\n\n⍝ Show first three generations\n(gen 1) (gen 2) (gen 3)\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/apl\"\n      });\n    </script>\n\n    <p>Simple mode that tries to handle APL as well as it can.</p>\n    <p>It attempts to label functions/operators based upon\n    monadic/dyadic usage (but this is far from fully fleshed out).\n    This means there are meaningful classnames so hover states can\n    have popups etc.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/apl</code> (APL code)</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/asterisk/asterisk.js",
    "content": "/*\n * =====================================================================================\n *\n *       Filename:  mode/asterisk/asterisk.js\n *\n *    Description:  CodeMirror mode for Asterisk dialplan\n *\n *        Created:  05/17/2012 09:20:25 PM\n *       Revision:  none\n *\n *         Author:  Stas Kobzar (stas@modulis.ca),\n *        Company:  Modulis.ca Inc.\n *\n * =====================================================================================\n */\n\nCodeMirror.defineMode(\"asterisk\", function() {\n  var atoms    = [\"exten\", \"same\", \"include\",\"ignorepat\",\"switch\"],\n      dpcmd    = [\"#include\",\"#exec\"],\n      apps     = [\n                  \"addqueuemember\",\"adsiprog\",\"aelsub\",\"agentlogin\",\"agentmonitoroutgoing\",\"agi\",\n                  \"alarmreceiver\",\"amd\",\"answer\",\"authenticate\",\"background\",\"backgrounddetect\",\n                  \"bridge\",\"busy\",\"callcompletioncancel\",\"callcompletionrequest\",\"celgenuserevent\",\n                  \"changemonitor\",\"chanisavail\",\"channelredirect\",\"chanspy\",\"clearhash\",\"confbridge\",\n                  \"congestion\",\"continuewhile\",\"controlplayback\",\"dahdiacceptr2call\",\"dahdibarge\",\n                  \"dahdiras\",\"dahdiscan\",\"dahdisendcallreroutingfacility\",\"dahdisendkeypadfacility\",\n                  \"datetime\",\"dbdel\",\"dbdeltree\",\"deadagi\",\"dial\",\"dictate\",\"directory\",\"disa\",\n                  \"dumpchan\",\"eagi\",\"echo\",\"endwhile\",\"exec\",\"execif\",\"execiftime\",\"exitwhile\",\"extenspy\",\n                  \"externalivr\",\"festival\",\"flash\",\"followme\",\"forkcdr\",\"getcpeid\",\"gosub\",\"gosubif\",\n                  \"goto\",\"gotoif\",\"gotoiftime\",\"hangup\",\"iax2provision\",\"ices\",\"importvar\",\"incomplete\",\n                  \"ivrdemo\",\"jabberjoin\",\"jabberleave\",\"jabbersend\",\"jabbersendgroup\",\"jabberstatus\",\n                  \"jack\",\"log\",\"macro\",\"macroexclusive\",\"macroexit\",\"macroif\",\"mailboxexists\",\"meetme\",\n                  \"meetmeadmin\",\"meetmechanneladmin\",\"meetmecount\",\"milliwatt\",\"minivmaccmess\",\"minivmdelete\",\n                  \"minivmgreet\",\"minivmmwi\",\"minivmnotify\",\"minivmrecord\",\"mixmonitor\",\"monitor\",\"morsecode\",\n                  \"mp3player\",\"mset\",\"musiconhold\",\"nbscat\",\"nocdr\",\"noop\",\"odbc\",\"odbc\",\"odbcfinish\",\n                  \"originate\",\"ospauth\",\"ospfinish\",\"osplookup\",\"ospnext\",\"page\",\"park\",\"parkandannounce\",\n                  \"parkedcall\",\"pausemonitor\",\"pausequeuemember\",\"pickup\",\"pickupchan\",\"playback\",\"playtones\",\n                  \"privacymanager\",\"proceeding\",\"progress\",\"queue\",\"queuelog\",\"raiseexception\",\"read\",\"readexten\",\n                  \"readfile\",\"receivefax\",\"receivefax\",\"receivefax\",\"record\",\"removequeuemember\",\n                  \"resetcdr\",\"retrydial\",\"return\",\"ringing\",\"sayalpha\",\"saycountedadj\",\"saycountednoun\",\n                  \"saycountpl\",\"saydigits\",\"saynumber\",\"sayphonetic\",\"sayunixtime\",\"senddtmf\",\"sendfax\",\n                  \"sendfax\",\"sendfax\",\"sendimage\",\"sendtext\",\"sendurl\",\"set\",\"setamaflags\",\n                  \"setcallerpres\",\"setmusiconhold\",\"sipaddheader\",\"sipdtmfmode\",\"sipremoveheader\",\"skel\",\n                  \"slastation\",\"slatrunk\",\"sms\",\"softhangup\",\"speechactivategrammar\",\"speechbackground\",\n                  \"speechcreate\",\"speechdeactivategrammar\",\"speechdestroy\",\"speechloadgrammar\",\"speechprocessingsound\",\n                  \"speechstart\",\"speechunloadgrammar\",\"stackpop\",\"startmusiconhold\",\"stopmixmonitor\",\"stopmonitor\",\n                  \"stopmusiconhold\",\"stopplaytones\",\"system\",\"testclient\",\"testserver\",\"transfer\",\"tryexec\",\n                  \"trysystem\",\"unpausemonitor\",\"unpausequeuemember\",\"userevent\",\"verbose\",\"vmauthenticate\",\n                  \"vmsayname\",\"voicemail\",\"voicemailmain\",\"wait\",\"waitexten\",\"waitfornoise\",\"waitforring\",\n                  \"waitforsilence\",\"waitmusiconhold\",\"waituntil\",\"while\",\"zapateller\"\n                 ];\n\n  function basicToken(stream,state){\n    var cur = '';\n    var ch  = '';\n    ch = stream.next();\n    // comment\n    if(ch == \";\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    // context\n    if(ch == '[') {\n      stream.skipTo(']');\n      stream.eat(']');\n      return \"header\";\n    }\n    // string\n    if(ch == '\"') {\n      stream.skipTo('\"');\n      return \"string\";\n    }\n    if(ch == \"'\") {\n      stream.skipTo(\"'\");\n      return \"string-2\";\n    }\n    // dialplan commands\n    if(ch == '#') {\n      stream.eatWhile(/\\w/);\n      cur = stream.current();\n      if(dpcmd.indexOf(cur) !== -1) {\n        stream.skipToEnd();\n        return \"strong\";\n      }\n    }\n    // application args\n    if(ch == '$'){\n      var ch1 = stream.peek();\n      if(ch1 == '{'){\n        stream.skipTo('}');\n        stream.eat('}');\n        return \"variable-3\";\n      }\n    }\n    // extension\n    stream.eatWhile(/\\w/);\n    cur = stream.current();\n    if(atoms.indexOf(cur) !== -1) {\n      state.extenStart = true;\n      switch(cur) {\n        case 'same': state.extenSame = true; break;\n        case 'include':\n        case 'switch':\n        case 'ignorepat':\n          state.extenInclude = true;break;\n        default:break;\n      }\n      return \"atom\";\n    }\n  }\n\n  return {\n    startState: function() {\n      return {\n        extenStart: false,\n        extenSame:  false,\n        extenInclude: false,\n        extenExten: false,\n        extenPriority: false,\n        extenApplication: false\n      };\n    },\n    token: function(stream, state) {\n\n      var cur = '';\n      var ch  = '';\n      if(stream.eatSpace()) return null;\n      // extension started\n      if(state.extenStart){\n        stream.eatWhile(/[^\\s]/);\n        cur = stream.current();\n        if(/^=>?$/.test(cur)){\n          state.extenExten = true;\n          state.extenStart = false;\n          return \"strong\";\n        } else {\n          state.extenStart = false;\n          stream.skipToEnd();\n          return \"error\";\n        }\n      } else if(state.extenExten) {\n        // set exten and priority\n        state.extenExten = false;\n        state.extenPriority = true;\n        stream.eatWhile(/[^,]/);\n        if(state.extenInclude) {\n          stream.skipToEnd();\n          state.extenPriority = false;\n          state.extenInclude = false;\n        }\n        if(state.extenSame) {\n          state.extenPriority = false;\n          state.extenSame = false;\n          state.extenApplication = true;\n        }\n        return \"tag\";\n      } else if(state.extenPriority) {\n        state.extenPriority = false;\n        state.extenApplication = true;\n        ch = stream.next(); // get comma\n        if(state.extenSame) return null;\n        stream.eatWhile(/[^,]/);\n        return \"number\";\n      } else if(state.extenApplication) {\n        stream.eatWhile(/,/);\n        cur = stream.current();\n        if(cur === ',') return null;\n        stream.eatWhile(/\\w/);\n        cur = stream.current().toLowerCase();\n        state.extenApplication = false;\n        if(apps.indexOf(cur) !== -1){\n          return \"def strong\";\n        }\n      } else{\n        return basicToken(stream,state);\n      }\n\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-asterisk\", \"asterisk\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/asterisk/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Asterisk dialplan mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"asterisk.js\"></script>\n<style>\n      .CodeMirror {border: 1px solid #999;}\n      .cm-s-default span.cm-arrow { color: red; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Asterisk dialplan</a>\n  </ul>\n</div>\n\n<article>\n<h2>Asterisk dialplan mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n; extensions.conf - the Asterisk dial plan\n;\n\n[general]\n;\n; If static is set to no, or omitted, then the pbx_config will rewrite\n; this file when extensions are modified.  Remember that all comments\n; made in the file will be lost when that happens.\nstatic=yes\n\n#include \"/etc/asterisk/additional_general.conf\n\n[iaxprovider]\nswitch => IAX2/user:[key]@myserver/mycontext\n\n[dynamic]\n#exec /usr/bin/dynamic-peers.pl\n\n[trunkint]\n;\n; International long distance through trunk\n;\nexten => _9011.,1,Macro(dundi-e164,${EXTEN:4})\nexten => _9011.,n,Dial(${GLOBAL(TRUNK)}/${FILTER(0-9,${EXTEN:${GLOBAL(TRUNKMSD)}})})\n\n[local]\n;\n; Master context for local, toll-free, and iaxtel calls only\n;\nignorepat => 9\ninclude => default\n\n[demo]\ninclude => stdexten\n;\n; We start with what to do when a call first comes in.\n;\nexten => s,1,Wait(1)\t\t\t; Wait a second, just for fun\nsame  => n,Answer\t\t\t; Answer the line\nsame  => n,Set(TIMEOUT(digit)=5)\t; Set Digit Timeout to 5 seconds\nsame  => n,Set(TIMEOUT(response)=10)\t; Set Response Timeout to 10 seconds\nsame  => n(restart),BackGround(demo-congrats)\t; Play a congratulatory message\nsame  => n(instruct),BackGround(demo-instruct)\t; Play some instructions\nsame  => n,WaitExten\t\t\t; Wait for an extension to be dialed.\n\nexten => 2,1,BackGround(demo-moreinfo)\t; Give some more information.\nexten => 2,n,Goto(s,instruct)\n\nexten => 3,1,Set(LANGUAGE()=fr)\t\t; Set language to french\nexten => 3,n,Goto(s,restart)\t\t; Start with the congratulations\n\nexten => 1000,1,Goto(default,s,1)\n;\n; We also create an example user, 1234, who is on the console and has\n; voicemail, etc.\n;\nexten => 1234,1,Playback(transfer,skip)\t\t; \"Please hold while...\"\n\t\t\t\t\t; (but skip if channel is not up)\nexten => 1234,n,Gosub(${EXTEN},stdexten(${GLOBAL(CONSOLE)}))\nexten => 1234,n,Goto(default,s,1)\t\t; exited Voicemail\n\nexten => 1235,1,Voicemail(1234,u)\t\t; Right to voicemail\n\nexten => 1236,1,Dial(Console/dsp)\t\t; Ring forever\nexten => 1236,n,Voicemail(1234,b)\t\t; Unless busy\n\n;\n; # for when they're done with the demo\n;\nexten => #,1,Playback(demo-thanks)\t; \"Thanks for trying the demo\"\nexten => #,n,Hangup\t\t\t; Hang them up.\n\n;\n; A timeout and \"invalid extension rule\"\n;\nexten => t,1,Goto(#,1)\t\t\t; If they take too long, give up\nexten => i,1,Playback(invalid)\t\t; \"That's not valid, try again\"\n\n;\n; Create an extension, 500, for dialing the\n; Asterisk demo.\n;\nexten => 500,1,Playback(demo-abouttotry); Let them know what's going on\nexten => 500,n,Dial(IAX2/guest@pbx.digium.com/s@default)\t; Call the Asterisk demo\nexten => 500,n,Playback(demo-nogo)\t; Couldn't connect to the demo site\nexten => 500,n,Goto(s,6)\t\t; Return to the start over message.\n\n;\n; Create an extension, 600, for evaluating echo latency.\n;\nexten => 600,1,Playback(demo-echotest)\t; Let them know what's going on\nexten => 600,n,Echo\t\t\t; Do the echo test\nexten => 600,n,Playback(demo-echodone)\t; Let them know it's over\nexten => 600,n,Goto(s,6)\t\t; Start over\n\n;\n;\tYou can use the Macro Page to intercom a individual user\nexten => 76245,1,Macro(page,SIP/Grandstream1)\n; or if your peernames are the same as extensions\nexten => _7XXX,1,Macro(page,SIP/${EXTEN})\n;\n;\n; System Wide Page at extension 7999\n;\nexten => 7999,1,Set(TIMEOUT(absolute)=60)\nexten => 7999,2,Page(Local/Grandstream1@page&Local/Xlite1@page&Local/1234@page/n,d)\n\n; Give voicemail at extension 8500\n;\nexten => 8500,1,VoicemailMain\nexten => 8500,n,Goto(s,6)\n\n    </textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/x-asterisk\",\n        matchBrackets: true,\n        lineNumber: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-asterisk</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/clike/clike.js",
    "content": "CodeMirror.defineMode(\"clike\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit,\n      statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,\n      dontAlignCalls = parserConfig.dontAlignCalls,\n      keywords = parserConfig.keywords || {},\n      builtin = parserConfig.builtin || {},\n      blockKeywords = parserConfig.blockKeywords || {},\n      atoms = parserConfig.atoms || {},\n      hooks = parserConfig.hooks || {},\n      multiLineStrings = parserConfig.multiLineStrings;\n  var isOperatorChar = /[+\\-*&%=<>!?|\\/]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    }\n    if (builtin.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"builtin\";\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = null;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    var indent = state.indented;\n    if (state.context && state.context.type == \"statement\")\n      indent = state.context.indented;\n    return state.context = new Context(indent, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\" || curPunc == \",\") && ctx.type == \"statement\") popContext(state);\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (((ctx.type == \"}\" || ctx.type == \"top\") && curPunc != ';') || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"statement\" && firstChar == \"}\") ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : statementIndentUnit);\n      else if (ctx.align && (!dontAlignCalls || ctx.type != \")\")) return ctx.column + (closing ? 0 : 1);\n      else if (ctx.type == \")\" && !closing) return ctx.indented + statementIndentUnit;\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\",\n    fold: \"brace\"\n  };\n});\n\n(function() {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var cKeywords = \"auto if break int case long char register continue return default short do sizeof \" +\n    \"double static else struct entry switch extern typedef float union for unsigned \" +\n    \"goto while enum void const signed volatile\";\n\n  function cppHook(stream, state) {\n    if (!state.startOfLine) return false;\n    for (;;) {\n      if (stream.skipTo(\"\\\\\")) {\n        stream.next();\n        if (stream.eol()) {\n          state.tokenize = cppHook;\n          break;\n        }\n      } else {\n        stream.skipToEnd();\n        state.tokenize = null;\n        break;\n      }\n    }\n    return \"meta\";\n  }\n\n  // C#-style strings where \"\" escapes a quote.\n  function tokenAtString(stream, state) {\n    var next;\n    while ((next = stream.next()) != null) {\n      if (next == '\"' && !stream.eat('\"')) {\n        state.tokenize = null;\n        break;\n      }\n    }\n    return \"string\";\n  }\n\n  function mimes(ms, mode) {\n    for (var i = 0; i < ms.length; ++i) CodeMirror.defineMIME(ms[i], mode);\n  }\n\n  mimes([\"text/x-csrc\", \"text/x-c\", \"text/x-chdr\"], {\n    name: \"clike\",\n    keywords: words(cKeywords),\n    blockKeywords: words(\"case do else for if switch while struct\"),\n    atoms: words(\"null\"),\n    hooks: {\"#\": cppHook}\n  });\n  mimes([\"text/x-c++src\", \"text/x-c++hdr\"], {\n    name: \"clike\",\n    keywords: words(cKeywords + \" asm dynamic_cast namespace reinterpret_cast try bool explicit new \" +\n                    \"static_cast typeid catch operator template typename class friend private \" +\n                    \"this using const_cast inline public throw virtual delete mutable protected \" +\n                    \"wchar_t\"),\n    blockKeywords: words(\"catch class do else finally for if struct switch try while\"),\n    atoms: words(\"true false null\"),\n    hooks: {\"#\": cppHook}\n  });\n  CodeMirror.defineMIME(\"text/x-java\", {\n    name: \"clike\",\n    keywords: words(\"abstract assert boolean break byte case catch char class const continue default \" +\n                    \"do double else enum extends final finally float for goto if implements import \" +\n                    \"instanceof int interface long native new package private protected public \" +\n                    \"return short static strictfp super switch synchronized this throw throws transient \" +\n                    \"try void volatile while\"),\n    blockKeywords: words(\"catch class do else finally for if switch try while\"),\n    atoms: words(\"true false null\"),\n    hooks: {\n      \"@\": function(stream) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      }\n    }\n  });\n  CodeMirror.defineMIME(\"text/x-csharp\", {\n    name: \"clike\",\n    keywords: words(\"abstract as base break case catch checked class const continue\" +\n                    \" default delegate do else enum event explicit extern finally fixed for\" +\n                    \" foreach goto if implicit in interface internal is lock namespace new\" +\n                    \" operator out override params private protected public readonly ref return sealed\" +\n                    \" sizeof stackalloc static struct switch this throw try typeof unchecked\" +\n                    \" unsafe using virtual void volatile while add alias ascending descending dynamic from get\" +\n                    \" global group into join let orderby partial remove select set value var yield\"),\n    blockKeywords: words(\"catch class do else finally for foreach if struct switch try while\"),\n    builtin: words(\"Boolean Byte Char DateTime DateTimeOffset Decimal Double\" +\n                    \" Guid Int16 Int32 Int64 Object SByte Single String TimeSpan UInt16 UInt32\" +\n                    \" UInt64 bool byte char decimal double short int long object\"  +\n                    \" sbyte float string ushort uint ulong\"),\n    atoms: words(\"true false null\"),\n    hooks: {\n      \"@\": function(stream, state) {\n        if (stream.eat('\"')) {\n          state.tokenize = tokenAtString;\n          return tokenAtString(stream, state);\n        }\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      }\n    }\n  });\n  CodeMirror.defineMIME(\"text/x-scala\", {\n    name: \"clike\",\n    keywords: words(\n\n      /* scala */\n      \"abstract case catch class def do else extends false final finally for forSome if \" +\n      \"implicit import lazy match new null object override package private protected return \" +\n      \"sealed super this throw trait try trye type val var while with yield _ : = => <- <: \" +\n      \"<% >: # @ \" +\n\n      /* package scala */\n      \"assert assume require print println printf readLine readBoolean readByte readShort \" +\n      \"readChar readInt readLong readFloat readDouble \" +\n\n      \"AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either \" +\n      \"Enumeration Equiv Error Exception Fractional Function IndexedSeq Integral Iterable \" +\n      \"Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering \" +\n      \"Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder \" +\n      \"StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector :: #:: \" +\n\n      /* package java.lang */\n      \"Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable \" +\n      \"Compiler Double Exception Float Integer Long Math Number Object Package Pair Process \" +\n      \"Runtime Runnable SecurityManager Short StackTraceElement StrictMath String \" +\n      \"StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void\"\n\n\n    ),\n    blockKeywords: words(\"catch class do else finally for forSome if match switch try while\"),\n    atoms: words(\"true false null\"),\n    hooks: {\n      \"@\": function(stream) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      }\n    }\n  });\n  mimes([\"x-shader/x-vertex\", \"x-shader/x-fragment\"], {\n    name: \"clike\",\n    keywords: words(\"float int bool void \" +\n                    \"vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 \" +\n                    \"mat2 mat3 mat4 \" +\n                    \"sampler1D sampler2D sampler3D samplerCube \" +\n                    \"sampler1DShadow sampler2DShadow\" +\n                    \"const attribute uniform varying \" +\n                    \"break continue discard return \" +\n                    \"for while do if else struct \" +\n                    \"in out inout\"),\n    blockKeywords: words(\"for while do if else struct\"),\n    builtin: words(\"radians degrees sin cos tan asin acos atan \" +\n                    \"pow exp log exp2 sqrt inversesqrt \" +\n                    \"abs sign floor ceil fract mod min max clamp mix step smootstep \" +\n                    \"length distance dot cross normalize ftransform faceforward \" +\n                    \"reflect refract matrixCompMult \" +\n                    \"lessThan lessThanEqual greaterThan greaterThanEqual \" +\n                    \"equal notEqual any all not \" +\n                    \"texture1D texture1DProj texture1DLod texture1DProjLod \" +\n                    \"texture2D texture2DProj texture2DLod texture2DProjLod \" +\n                    \"texture3D texture3DProj texture3DLod texture3DProjLod \" +\n                    \"textureCube textureCubeLod \" +\n                    \"shadow1D shadow2D shadow1DProj shadow2DProj \" +\n                    \"shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod \" +\n                    \"dFdx dFdy fwidth \" +\n                    \"noise1 noise2 noise3 noise4\"),\n    atoms: words(\"true false \" +\n                \"gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex \" +\n                \"gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 \" +\n                \"gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 \" +\n                \"gl_FogCoord \" +\n                \"gl_Position gl_PointSize gl_ClipVertex \" +\n                \"gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor \" +\n                \"gl_TexCoord gl_FogFragCoord \" +\n                \"gl_FragCoord gl_FrontFacing \" +\n                \"gl_FragColor gl_FragData gl_FragDepth \" +\n                \"gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix \" +\n                \"gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse \" +\n                \"gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse \" +\n                \"gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose \" +\n                \"gl_ProjectionMatrixInverseTranspose \" +\n                \"gl_ModelViewProjectionMatrixInverseTranspose \" +\n                \"gl_TextureMatrixInverseTranspose \" +\n                \"gl_NormalScale gl_DepthRange gl_ClipPlane \" +\n                \"gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel \" +\n                \"gl_FrontLightModelProduct gl_BackLightModelProduct \" +\n                \"gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ \" +\n                \"gl_FogParameters \" +\n                \"gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords \" +\n                \"gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats \" +\n                \"gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits \" +\n                \"gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits \" +\n                \"gl_MaxDrawBuffers\"),\n    hooks: {\"#\": cppHook}\n  });\n}());\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/clike/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: C-like mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"clike.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">C-like</a>\n  </ul>\n</div>\n\n<article>\n<h2>C-like mode</h2>\n\n<div><textarea id=\"c-code\">\n/* C demo code */\n\n#include <zmq.h>\n#include <pthread.h>\n#include <semaphore.h>\n#include <time.h>\n#include <stdio.h>\n#include <fcntl.h>\n#include <malloc.h>\n\ntypedef struct {\n  void* arg_socket;\n  zmq_msg_t* arg_msg;\n  char* arg_string;\n  unsigned long arg_len;\n  int arg_int, arg_command;\n\n  int signal_fd;\n  int pad;\n  void* context;\n  sem_t sem;\n} acl_zmq_context;\n\n#define p(X) (context->arg_##X)\n\nvoid* zmq_thread(void* context_pointer) {\n  acl_zmq_context* context = (acl_zmq_context*)context_pointer;\n  char ok = 'K', err = 'X';\n  int res;\n\n  while (1) {\n    while ((res = sem_wait(&amp;context->sem)) == EINTR);\n    if (res) {write(context->signal_fd, &amp;err, 1); goto cleanup;}\n    switch(p(command)) {\n    case 0: goto cleanup;\n    case 1: p(socket) = zmq_socket(context->context, p(int)); break;\n    case 2: p(int) = zmq_close(p(socket)); break;\n    case 3: p(int) = zmq_bind(p(socket), p(string)); break;\n    case 4: p(int) = zmq_connect(p(socket), p(string)); break;\n    case 5: p(int) = zmq_getsockopt(p(socket), p(int), (void*)p(string), &amp;p(len)); break;\n    case 6: p(int) = zmq_setsockopt(p(socket), p(int), (void*)p(string), p(len)); break;\n    case 7: p(int) = zmq_send(p(socket), p(msg), p(int)); break;\n    case 8: p(int) = zmq_recv(p(socket), p(msg), p(int)); break;\n    case 9: p(int) = zmq_poll(p(socket), p(int), p(len)); break;\n    }\n    p(command) = errno;\n    write(context->signal_fd, &amp;ok, 1);\n  }\n cleanup:\n  close(context->signal_fd);\n  free(context_pointer);\n  return 0;\n}\n\nvoid* zmq_thread_init(void* zmq_context, int signal_fd) {\n  acl_zmq_context* context = malloc(sizeof(acl_zmq_context));\n  pthread_t thread;\n\n  context->context = zmq_context;\n  context->signal_fd = signal_fd;\n  sem_init(&amp;context->sem, 1, 0);\n  pthread_create(&amp;thread, 0, &amp;zmq_thread, context);\n  pthread_detach(thread);\n  return context;\n}\n</textarea></div>\n\n<h2>C++ example</h2>\n\n<div><textarea id=\"cpp-code\">\n#include <iostream>\n#include \"mystuff/util.h\"\n\nnamespace {\nenum Enum {\n  VAL1, VAL2, VAL3\n};\n\nint Helper(const MyType& param) {\n  return 0;\n}\n} // namespace\n\nclass ForwardDec;\n\ntemplate <class T, class V>\nclass Class : public BaseClass {\n  const MyType<T, V> member_;\n\n public:\n  const MyType<T, V>& Method() const {\n    return member_;\n  }\n\n  void Method2(MyType<T, V>* value);\n}\n\ntemplate <class T, class V>\nvoid Class::Method2(MyType<T, V>* value) {\n  std::out << 1 >> method();\n  value->Method3(member_);\n  member_ = value;\n}\n</textarea></div>\n\n<h2>Java example</h2>\n\n<div><textarea id=\"java-code\">\nimport com.demo.util.MyType;\nimport com.demo.util.MyInterface;\n\npublic enum Enum {\n  VAL1, VAL2, VAL3\n}\n\npublic class Class<T, V> implements MyInterface {\n  public static final MyType<T, V> member;\n  \n  private class InnerClass {\n    public int zero() {\n      return 0;\n    }\n  }\n\n  @Override\n  public MyType method() {\n    return member;\n  }\n\n  public void method2(MyType<T, V> value) {\n    method();\n    value.method3();\n    member = value;\n  }\n}\n</textarea></div>\n\n    <script>\n      var cEditor = CodeMirror.fromTextArea(document.getElementById(\"c-code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-csrc\"\n      });\n      var cppEditor = CodeMirror.fromTextArea(document.getElementById(\"cpp-code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-c++src\"\n      });\n      var javaEditor = CodeMirror.fromTextArea(document.getElementById(\"java-code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-java\"\n      });\n    </script>\n\n    <p>Simple mode that tries to handle C-like languages as well as it\n    can. Takes two configuration parameters: <code>keywords</code>, an\n    object whose property names are the keywords in the language,\n    and <code>useCPP</code>, which determines whether C preprocessor\n    directives are recognized.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-csrc</code>\n    (C code), <code>text/x-c++src</code> (C++\n    code), <code>text/x-java</code> (Java\n    code), <code>text/x-csharp</code> (C#).</p>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/clike/scala.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Scala mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/ambiance.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"clike.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Scala</a>\n  </ul>\n</div>\n\n<article>\n<h2>Scala mode</h2>\n<form>\n<textarea id=\"code\" name=\"code\">\n\n  /*                     __                                               *\\\n  **     ________ ___   / /  ___     Scala API                            **\n  **    / __/ __// _ | / /  / _ |    (c) 2003-2011, LAMP/EPFL             **\n  **  __\\ \\/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **\n  ** /____/\\___/_/ |_/____/_/ | |                                         **\n  **                          |/                                          **\n  \\*                                                                      */\n\n  package scala.collection\n\n  import generic._\n  import mutable.{ Builder, ListBuffer }\n  import annotation.{tailrec, migration, bridge}\n  import annotation.unchecked.{ uncheckedVariance => uV }\n  import parallel.ParIterable\n\n  /** A template trait for traversable collections of type `Traversable[A]`.\n   *  \n   *  $traversableInfo\n   *  @define mutability\n   *  @define traversableInfo\n   *  This is a base trait of all kinds of $mutability Scala collections. It\n   *  implements the behavior common to all collections, in terms of a method\n   *  `foreach` with signature:\n   * {{{\n   *     def foreach[U](f: Elem => U): Unit\n   * }}}\n   *  Collection classes mixing in this trait provide a concrete \n   *  `foreach` method which traverses all the\n   *  elements contained in the collection, applying a given function to each.\n   *  They also need to provide a method `newBuilder`\n   *  which creates a builder for collections of the same kind.\n   *  \n   *  A traversable class might or might not have two properties: strictness\n   *  and orderedness. Neither is represented as a type.\n   *  \n   *  The instances of a strict collection class have all their elements\n   *  computed before they can be used as values. By contrast, instances of\n   *  a non-strict collection class may defer computation of some of their\n   *  elements until after the instance is available as a value.\n   *  A typical example of a non-strict collection class is a\n   *  <a href=\"../immutable/Stream.html\" target=\"ContentFrame\">\n   *  `scala.collection.immutable.Stream`</a>.\n   *  A more general class of examples are `TraversableViews`.\n   *  \n   *  If a collection is an instance of an ordered collection class, traversing\n   *  its elements with `foreach` will always visit elements in the\n   *  same order, even for different runs of the program. If the class is not\n   *  ordered, `foreach` can visit elements in different orders for\n   *  different runs (but it will keep the same order in the same run).'\n   * \n   *  A typical example of a collection class which is not ordered is a\n   *  `HashMap` of objects. The traversal order for hash maps will\n   *  depend on the hash codes of its elements, and these hash codes might\n   *  differ from one run to the next. By contrast, a `LinkedHashMap`\n   *  is ordered because it's `foreach` method visits elements in the\n   *  order they were inserted into the `HashMap`.\n   *\n   *  @author Martin Odersky\n   *  @version 2.8\n   *  @since   2.8\n   *  @tparam A    the element type of the collection\n   *  @tparam Repr the type of the actual collection containing the elements.\n   *\n   *  @define Coll Traversable\n   *  @define coll traversable collection\n   */\n  trait TraversableLike[+A, +Repr] extends HasNewBuilder[A, Repr] \n                                      with FilterMonadic[A, Repr]\n                                      with TraversableOnce[A]\n                                      with GenTraversableLike[A, Repr]\n                                      with Parallelizable[A, ParIterable[A]]\n  {\n    self =>\n\n    import Traversable.breaks._\n\n    /** The type implementing this traversable */\n    protected type Self = Repr\n\n    /** The collection of type $coll underlying this `TraversableLike` object.\n     *  By default this is implemented as the `TraversableLike` object itself,\n     *  but this can be overridden.\n     */\n    def repr: Repr = this.asInstanceOf[Repr]\n\n    /** The underlying collection seen as an instance of `$Coll`.\n     *  By default this is implemented as the current collection object itself,\n     *  but this can be overridden.\n     */\n    protected[this] def thisCollection: Traversable[A] = this.asInstanceOf[Traversable[A]]\n\n    /** A conversion from collections of type `Repr` to `$Coll` objects.\n     *  By default this is implemented as just a cast, but this can be overridden.\n     */\n    protected[this] def toCollection(repr: Repr): Traversable[A] = repr.asInstanceOf[Traversable[A]]\n\n    /** Creates a new builder for this collection type.\n     */\n    protected[this] def newBuilder: Builder[A, Repr]\n\n    protected[this] def parCombiner = ParIterable.newCombiner[A]\n\n    /** Applies a function `f` to all elements of this $coll.\n     *  \n     *    Note: this method underlies the implementation of most other bulk operations.\n     *    It's important to implement this method in an efficient way.\n     *  \n     *\n     *  @param  f   the function that is applied for its side-effect to every element.\n     *              The result of function `f` is discarded.\n     *              \n     *  @tparam  U  the type parameter describing the result of function `f`. \n     *              This result will always be ignored. Typically `U` is `Unit`,\n     *              but this is not necessary.\n     *\n     *  @usecase def foreach(f: A => Unit): Unit\n     */\n    def foreach[U](f: A => U): Unit\n\n    /** Tests whether this $coll is empty.\n     *\n     *  @return    `true` if the $coll contain no elements, `false` otherwise.\n     */\n    def isEmpty: Boolean = {\n      var result = true\n      breakable {\n        for (x <- this) {\n          result = false\n          break\n        }\n      }\n      result\n    }\n\n    /** Tests whether this $coll is known to have a finite size.\n     *  All strict collections are known to have finite size. For a non-strict collection\n     *  such as `Stream`, the predicate returns `true` if all elements have been computed.\n     *  It returns `false` if the stream is not yet evaluated to the end.\n     *\n     *  Note: many collection methods will not work on collections of infinite sizes. \n     *\n     *  @return  `true` if this collection is known to have finite size, `false` otherwise.\n     */\n    def hasDefiniteSize = true\n\n    def ++[B >: A, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      if (that.isInstanceOf[IndexedSeqLike[_, _]]) b.sizeHint(this, that.seq.size)\n      b ++= thisCollection\n      b ++= that.seq\n      b.result\n    }\n\n    @bridge\n    def ++[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That =\n      ++(that: GenTraversableOnce[B])(bf)\n\n    /** Concatenates this $coll with the elements of a traversable collection.\n     *  It differs from ++ in that the right operand determines the type of the\n     *  resulting collection rather than the left one.\n     * \n     *  @param that   the traversable to append.\n     *  @tparam B     the element type of the returned collection. \n     *  @tparam That  $thatinfo\n     *  @param bf     $bfinfo\n     *  @return       a new collection of type `That` which contains all elements\n     *                of this $coll followed by all elements of `that`.\n     * \n     *  @usecase def ++:[B](that: TraversableOnce[B]): $Coll[B]\n     *  \n     *  @return       a new $coll which contains all elements of this $coll\n     *                followed by all elements of `that`.\n     */\n    def ++:[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      if (that.isInstanceOf[IndexedSeqLike[_, _]]) b.sizeHint(this, that.size)\n      b ++= that\n      b ++= thisCollection\n      b.result\n    }\n\n    /** This overload exists because: for the implementation of ++: we should reuse\n     *  that of ++ because many collections override it with more efficient versions.\n     *  Since TraversableOnce has no '++' method, we have to implement that directly,\n     *  but Traversable and down can use the overload.\n     */\n    def ++:[B >: A, That](that: Traversable[B])(implicit bf: CanBuildFrom[Repr, B, That]): That =\n      (that ++ seq)(breakOut)\n\n    def map[B, That](f: A => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      b.sizeHint(this) \n      for (x <- this) b += f(x)\n      b.result\n    }\n\n    def flatMap[B, That](f: A => GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      for (x <- this) b ++= f(x).seq\n      b.result\n    }\n\n    /** Selects all elements of this $coll which satisfy a predicate.\n     *\n     *  @param p     the predicate used to test elements.\n     *  @return      a new $coll consisting of all elements of this $coll that satisfy the given\n     *               predicate `p`. The order of the elements is preserved.\n     */\n    def filter(p: A => Boolean): Repr = {\n      val b = newBuilder\n      for (x <- this) \n        if (p(x)) b += x\n      b.result\n    }\n\n    /** Selects all elements of this $coll which do not satisfy a predicate.\n     *\n     *  @param p     the predicate used to test elements.\n     *  @return      a new $coll consisting of all elements of this $coll that do not satisfy the given\n     *               predicate `p`. The order of the elements is preserved.\n     */\n    def filterNot(p: A => Boolean): Repr = filter(!p(_))\n\n    def collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      for (x <- this) if (pf.isDefinedAt(x)) b += pf(x)\n      b.result\n    }\n\n    /** Builds a new collection by applying an option-valued function to all\n     *  elements of this $coll on which the function is defined.\n     *\n     *  @param f      the option-valued function which filters and maps the $coll.\n     *  @tparam B     the element type of the returned collection.\n     *  @tparam That  $thatinfo\n     *  @param bf     $bfinfo\n     *  @return       a new collection of type `That` resulting from applying the option-valued function\n     *                `f` to each element and collecting all defined results.\n     *                The order of the elements is preserved.\n     *\n     *  @usecase def filterMap[B](f: A => Option[B]): $Coll[B]\n     *  \n     *  @param pf     the partial function which filters and maps the $coll.\n     *  @return       a new $coll resulting from applying the given option-valued function\n     *                `f` to each element and collecting all defined results.\n     *                The order of the elements is preserved.\n    def filterMap[B, That](f: A => Option[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      for (x <- this) \n        f(x) match {\n          case Some(y) => b += y\n          case _ =>\n        }\n      b.result\n    }\n     */\n\n    /** Partitions this $coll in two ${coll}s according to a predicate.\n     *\n     *  @param p the predicate on which to partition.\n     *  @return  a pair of ${coll}s: the first $coll consists of all elements that \n     *           satisfy the predicate `p` and the second $coll consists of all elements\n     *           that don't. The relative order of the elements in the resulting ${coll}s\n     *           is the same as in the original $coll.\n     */\n    def partition(p: A => Boolean): (Repr, Repr) = {\n      val l, r = newBuilder\n      for (x <- this) (if (p(x)) l else r) += x\n      (l.result, r.result)\n    }\n\n    def groupBy[K](f: A => K): immutable.Map[K, Repr] = {\n      val m = mutable.Map.empty[K, Builder[A, Repr]]\n      for (elem <- this) {\n        val key = f(elem)\n        val bldr = m.getOrElseUpdate(key, newBuilder)\n        bldr += elem\n      }\n      val b = immutable.Map.newBuilder[K, Repr]\n      for ((k, v) <- m)\n        b += ((k, v.result))\n\n      b.result\n    }\n\n    /** Tests whether a predicate holds for all elements of this $coll.\n     *\n     *  $mayNotTerminateInf\n     *\n     *  @param   p     the predicate used to test elements.\n     *  @return        `true` if the given predicate `p` holds for all elements\n     *                 of this $coll, otherwise `false`.\n     */\n    def forall(p: A => Boolean): Boolean = {\n      var result = true\n      breakable {\n        for (x <- this)\n          if (!p(x)) { result = false; break }\n      }\n      result\n    }\n\n    /** Tests whether a predicate holds for some of the elements of this $coll.\n     *\n     *  $mayNotTerminateInf\n     *\n     *  @param   p     the predicate used to test elements.\n     *  @return        `true` if the given predicate `p` holds for some of the\n     *                 elements of this $coll, otherwise `false`.\n     */\n    def exists(p: A => Boolean): Boolean = {\n      var result = false\n      breakable {\n        for (x <- this)\n          if (p(x)) { result = true; break }\n      }\n      result\n    }\n\n    /** Finds the first element of the $coll satisfying a predicate, if any.\n     * \n     *  $mayNotTerminateInf\n     *  $orderDependent\n     *\n     *  @param p    the predicate used to test elements.\n     *  @return     an option value containing the first element in the $coll\n     *              that satisfies `p`, or `None` if none exists.\n     */\n    def find(p: A => Boolean): Option[A] = {\n      var result: Option[A] = None\n      breakable {\n        for (x <- this)\n          if (p(x)) { result = Some(x); break }\n      }\n      result\n    }\n\n    def scan[B >: A, That](z: B)(op: (B, B) => B)(implicit cbf: CanBuildFrom[Repr, B, That]): That = scanLeft(z)(op)\n\n    def scanLeft[B, That](z: B)(op: (B, A) => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      val b = bf(repr)\n      b.sizeHint(this, 1)\n      var acc = z\n      b += acc\n      for (x <- this) { acc = op(acc, x); b += acc }\n      b.result\n    }\n\n    @migration(2, 9,\n      \"This scanRight definition has changed in 2.9.\\n\" +\n      \"The previous behavior can be reproduced with scanRight.reverse.\"\n    )\n    def scanRight[B, That](z: B)(op: (A, B) => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n      var scanned = List(z)\n      var acc = z\n      for (x <- reversed) {\n        acc = op(x, acc)\n        scanned ::= acc\n      }\n      val b = bf(repr)\n      for (elem <- scanned) b += elem\n      b.result\n    }\n\n    /** Selects the first element of this $coll.\n     *  $orderDependent\n     *  @return  the first element of this $coll.\n     *  @throws `NoSuchElementException` if the $coll is empty.\n     */\n    def head: A = {\n      var result: () => A = () => throw new NoSuchElementException\n      breakable {\n        for (x <- this) {\n          result = () => x\n          break\n        }\n      }\n      result()\n    }\n\n    /** Optionally selects the first element.\n     *  $orderDependent\n     *  @return  the first element of this $coll if it is nonempty, `None` if it is empty.\n     */\n    def headOption: Option[A] = if (isEmpty) None else Some(head)\n\n    /** Selects all elements except the first.\n     *  $orderDependent\n     *  @return  a $coll consisting of all elements of this $coll\n     *           except the first one.\n     *  @throws `UnsupportedOperationException` if the $coll is empty.\n     */ \n    override def tail: Repr = {\n      if (isEmpty) throw new UnsupportedOperationException(\"empty.tail\")\n      drop(1)\n    }\n\n    /** Selects the last element.\n      * $orderDependent\n      * @return The last element of this $coll.\n      * @throws NoSuchElementException If the $coll is empty.\n      */\n    def last: A = {\n      var lst = head\n      for (x <- this)\n        lst = x\n      lst\n    }\n\n    /** Optionally selects the last element.\n     *  $orderDependent\n     *  @return  the last element of this $coll$ if it is nonempty, `None` if it is empty.\n     */\n    def lastOption: Option[A] = if (isEmpty) None else Some(last)\n\n    /** Selects all elements except the last.\n     *  $orderDependent\n     *  @return  a $coll consisting of all elements of this $coll\n     *           except the last one.\n     *  @throws `UnsupportedOperationException` if the $coll is empty.\n     */\n    def init: Repr = {\n      if (isEmpty) throw new UnsupportedOperationException(\"empty.init\")\n      var lst = head\n      var follow = false\n      val b = newBuilder\n      b.sizeHint(this, -1)\n      for (x <- this.seq) {\n        if (follow) b += lst\n        else follow = true\n        lst = x\n      }\n      b.result\n    }\n\n    def take(n: Int): Repr = slice(0, n)\n\n    def drop(n: Int): Repr = \n      if (n <= 0) {\n        val b = newBuilder\n        b.sizeHint(this)\n        b ++= thisCollection result\n      }\n      else sliceWithKnownDelta(n, Int.MaxValue, -n)\n\n    def slice(from: Int, until: Int): Repr = sliceWithKnownBound(math.max(from, 0), until)\n\n    // Precondition: from >= 0, until > 0, builder already configured for building.\n    private[this] def sliceInternal(from: Int, until: Int, b: Builder[A, Repr]): Repr = {\n      var i = 0\n      breakable {\n        for (x <- this.seq) {\n          if (i >= from) b += x\n          i += 1\n          if (i >= until) break\n        }\n      }\n      b.result\n    }\n    // Precondition: from >= 0\n    private[scala] def sliceWithKnownDelta(from: Int, until: Int, delta: Int): Repr = {\n      val b = newBuilder\n      if (until <= from) b.result\n      else {\n        b.sizeHint(this, delta)\n        sliceInternal(from, until, b)\n      }\n    }\n    // Precondition: from >= 0\n    private[scala] def sliceWithKnownBound(from: Int, until: Int): Repr = {\n      val b = newBuilder\n      if (until <= from) b.result\n      else {\n        b.sizeHintBounded(until - from, this)      \n        sliceInternal(from, until, b)\n      }\n    }\n\n    def takeWhile(p: A => Boolean): Repr = {\n      val b = newBuilder\n      breakable {\n        for (x <- this) {\n          if (!p(x)) break\n          b += x\n        }\n      }\n      b.result\n    }\n\n    def dropWhile(p: A => Boolean): Repr = {\n      val b = newBuilder\n      var go = false\n      for (x <- this) {\n        if (!p(x)) go = true\n        if (go) b += x\n      }\n      b.result\n    }\n\n    def span(p: A => Boolean): (Repr, Repr) = {\n      val l, r = newBuilder\n      var toLeft = true\n      for (x <- this) {\n        toLeft = toLeft && p(x)\n        (if (toLeft) l else r) += x\n      }\n      (l.result, r.result)\n    }\n\n    def splitAt(n: Int): (Repr, Repr) = {\n      val l, r = newBuilder\n      l.sizeHintBounded(n, this)\n      if (n >= 0) r.sizeHint(this, -n)\n      var i = 0\n      for (x <- this) {\n        (if (i < n) l else r) += x\n        i += 1\n      }\n      (l.result, r.result)\n    }\n\n    /** Iterates over the tails of this $coll. The first value will be this\n     *  $coll and the final one will be an empty $coll, with the intervening\n     *  values the results of successive applications of `tail`.\n     *\n     *  @return   an iterator over all the tails of this $coll\n     *  @example  `List(1,2,3).tails = Iterator(List(1,2,3), List(2,3), List(3), Nil)`\n     */  \n    def tails: Iterator[Repr] = iterateUntilEmpty(_.tail)\n\n    /** Iterates over the inits of this $coll. The first value will be this\n     *  $coll and the final one will be an empty $coll, with the intervening\n     *  values the results of successive applications of `init`.\n     *\n     *  @return  an iterator over all the inits of this $coll\n     *  @example  `List(1,2,3).inits = Iterator(List(1,2,3), List(1,2), List(1), Nil)`\n     */\n    def inits: Iterator[Repr] = iterateUntilEmpty(_.init)\n\n    /** Copies elements of this $coll to an array.\n     *  Fills the given array `xs` with at most `len` elements of\n     *  this $coll, starting at position `start`.\n     *  Copying will stop once either the end of the current $coll is reached,\n     *  or the end of the array is reached, or `len` elements have been copied.\n     *\n     *  $willNotTerminateInf\n     * \n     *  @param  xs     the array to fill.\n     *  @param  start  the starting index.\n     *  @param  len    the maximal number of elements to copy.\n     *  @tparam B      the type of the elements of the array. \n     * \n     *\n     *  @usecase def copyToArray(xs: Array[A], start: Int, len: Int): Unit\n     */\n    def copyToArray[B >: A](xs: Array[B], start: Int, len: Int) {\n      var i = start\n      val end = (start + len) min xs.length\n      breakable {\n        for (x <- this) {\n          if (i >= end) break\n          xs(i) = x\n          i += 1\n        }\n      }\n    }\n\n    def toTraversable: Traversable[A] = thisCollection\n    def toIterator: Iterator[A] = toStream.iterator\n    def toStream: Stream[A] = toBuffer.toStream\n\n    /** Converts this $coll to a string.\n     *\n     *  @return   a string representation of this collection. By default this\n     *            string consists of the `stringPrefix` of this $coll,\n     *            followed by all elements separated by commas and enclosed in parentheses.\n     */\n    override def toString = mkString(stringPrefix + \"(\", \", \", \")\")\n\n    /** Defines the prefix of this object's `toString` representation.\n     *\n     *  @return  a string representation which starts the result of `toString`\n     *           applied to this $coll. By default the string prefix is the\n     *           simple name of the collection class $coll.\n     */\n    def stringPrefix : String = {\n      var string = repr.asInstanceOf[AnyRef].getClass.getName\n      val idx1 = string.lastIndexOf('.' : Int)\n      if (idx1 != -1) string = string.substring(idx1 + 1)\n      val idx2 = string.indexOf('$')\n      if (idx2 != -1) string = string.substring(0, idx2)\n      string\n    }\n\n    /** Creates a non-strict view of this $coll.\n     * \n     *  @return a non-strict view of this $coll.\n     */\n    def view = new TraversableView[A, Repr] {\n      protected lazy val underlying = self.repr\n      override def foreach[U](f: A => U) = self foreach f\n    }\n\n    /** Creates a non-strict view of a slice of this $coll.\n     *\n     *  Note: the difference between `view` and `slice` is that `view` produces\n     *        a view of the current $coll, whereas `slice` produces a new $coll.\n     * \n     *  Note: `view(from, to)` is equivalent to `view.slice(from, to)`\n     *  $orderDependent\n     * \n     *  @param from   the index of the first element of the view\n     *  @param until  the index of the element following the view\n     *  @return a non-strict view of a slice of this $coll, starting at index `from`\n     *  and extending up to (but not including) index `until`.\n     */\n    def view(from: Int, until: Int): TraversableView[A, Repr] = view.slice(from, until)\n\n    /** Creates a non-strict filter of this $coll.\n     *\n     *  Note: the difference between `c filter p` and `c withFilter p` is that\n     *        the former creates a new collection, whereas the latter only\n     *        restricts the domain of subsequent `map`, `flatMap`, `foreach`,\n     *        and `withFilter` operations.\n     *  $orderDependent\n     * \n     *  @param p   the predicate used to test elements.\n     *  @return    an object of class `WithFilter`, which supports\n     *             `map`, `flatMap`, `foreach`, and `withFilter` operations.\n     *             All these operations apply to those elements of this $coll which\n     *             satisfy the predicate `p`.\n     */\n    def withFilter(p: A => Boolean): FilterMonadic[A, Repr] = new WithFilter(p)\n\n    /** A class supporting filtered operations. Instances of this class are\n     *  returned by method `withFilter`.\n     */\n    class WithFilter(p: A => Boolean) extends FilterMonadic[A, Repr] {\n\n      /** Builds a new collection by applying a function to all elements of the\n       *  outer $coll containing this `WithFilter` instance that satisfy predicate `p`.\n       *\n       *  @param f      the function to apply to each element.\n       *  @tparam B     the element type of the returned collection.\n       *  @tparam That  $thatinfo\n       *  @param bf     $bfinfo\n       *  @return       a new collection of type `That` resulting from applying\n       *                the given function `f` to each element of the outer $coll\n       *                that satisfies predicate `p` and collecting the results.\n       *\n       *  @usecase def map[B](f: A => B): $Coll[B] \n       *  \n       *  @return       a new $coll resulting from applying the given function\n       *                `f` to each element of the outer $coll that satisfies\n       *                predicate `p` and collecting the results.\n       */\n      def map[B, That](f: A => B)(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n        val b = bf(repr)\n        for (x <- self) \n          if (p(x)) b += f(x)\n        b.result\n      }\n\n      /** Builds a new collection by applying a function to all elements of the\n       *  outer $coll containing this `WithFilter` instance that satisfy\n       *  predicate `p` and concatenating the results. \n       *\n       *  @param f      the function to apply to each element.\n       *  @tparam B     the element type of the returned collection.\n       *  @tparam That  $thatinfo\n       *  @param bf     $bfinfo\n       *  @return       a new collection of type `That` resulting from applying\n       *                the given collection-valued function `f` to each element\n       *                of the outer $coll that satisfies predicate `p` and\n       *                concatenating the results.\n       *\n       *  @usecase def flatMap[B](f: A => TraversableOnce[B]): $Coll[B]\n       * \n       *  @return       a new $coll resulting from applying the given collection-valued function\n       *                `f` to each element of the outer $coll that satisfies predicate `p` and concatenating the results.\n       */\n      def flatMap[B, That](f: A => GenTraversableOnce[B])(implicit bf: CanBuildFrom[Repr, B, That]): That = {\n        val b = bf(repr)\n        for (x <- self) \n          if (p(x)) b ++= f(x).seq\n        b.result\n      }\n\n      /** Applies a function `f` to all elements of the outer $coll containing\n       *  this `WithFilter` instance that satisfy predicate `p`.\n       *\n       *  @param  f   the function that is applied for its side-effect to every element.\n       *              The result of function `f` is discarded.\n       *              \n       *  @tparam  U  the type parameter describing the result of function `f`. \n       *              This result will always be ignored. Typically `U` is `Unit`,\n       *              but this is not necessary.\n       *\n       *  @usecase def foreach(f: A => Unit): Unit\n       */   \n      def foreach[U](f: A => U): Unit = \n        for (x <- self) \n          if (p(x)) f(x)\n\n      /** Further refines the filter for this $coll.\n       *\n       *  @param q   the predicate used to test elements.\n       *  @return    an object of class `WithFilter`, which supports\n       *             `map`, `flatMap`, `foreach`, and `withFilter` operations.\n       *             All these operations apply to those elements of this $coll which\n       *             satisfy the predicate `q` in addition to the predicate `p`.\n       */\n      def withFilter(q: A => Boolean): WithFilter = \n        new WithFilter(x => p(x) && q(x))\n    }\n\n    // A helper for tails and inits.\n    private def iterateUntilEmpty(f: Traversable[A @uV] => Traversable[A @uV]): Iterator[Repr] = {\n      val it = Iterator.iterate(thisCollection)(f) takeWhile (x => !x.isEmpty)\n      it ++ Iterator(Nil) map (newBuilder ++= _ result)\n    }\n  }\n\n\n</textarea>\n</form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        theme: \"ambiance\",\n        mode: \"text/x-scala\"\n      });\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/clojure/clojure.js",
    "content": "/**\n * Author: Hans Engel\n * Branched from CodeMirror's Scheme mode (by Koh Zi Han, based on implementation by Koh Zi Chun)\n */\nCodeMirror.defineMode(\"clojure\", function () {\n    var BUILTIN = \"builtin\", COMMENT = \"comment\", STRING = \"string\", CHARACTER = \"string-2\",\n        ATOM = \"atom\", NUMBER = \"number\", BRACKET = \"bracket\", KEYWORD = \"keyword\";\n    var INDENT_WORD_SKIP = 2;\n\n    function makeKeywords(str) {\n        var obj = {}, words = str.split(\" \");\n        for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n        return obj;\n    }\n\n    var atoms = makeKeywords(\"true false nil\");\n\n    var keywords = makeKeywords(\n      \"defn defn- def def- defonce defmulti defmethod defmacro defstruct deftype defprotocol defrecord defproject deftest slice defalias defhinted defmacro- defn-memo defnk defnk defonce- defunbound defunbound- defvar defvar- let letfn do case cond condp for loop recur when when-not when-let when-first if if-let if-not . .. -> ->> doto and or dosync doseq dotimes dorun doall load import unimport ns in-ns refer try catch finally throw with-open with-local-vars binding gen-class gen-and-load-class gen-and-save-class handler-case handle\");\n\n    var builtins = makeKeywords(\n        \"* *' *1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* *command-line-args* *compile-files* *compile-path* *compiler-options* *data-readers* *e *err* *file* *flush-on-newline* *fn-loader* *in* *math-context* *ns* *out* *print-dup* *print-length* *print-level* *print-meta* *print-readably* *read-eval* *source-path* *unchecked-math* *use-context-classloader* *verbose-defrecords* *warn-on-reflection* + +' - -' -> ->> ->ArrayChunk ->Vec ->VecNode ->VecSeq -cache-protocol-fn -reset-methods .. / < <= = == > >= EMPTY-NODE accessor aclone add-classpath add-watch agent agent-error agent-errors aget alength alias all-ns alter alter-meta! alter-var-root amap ancestors and apply areduce array-map aset aset-boolean aset-byte aset-char aset-double aset-float aset-int aset-long aset-short assert assoc assoc! assoc-in associative? atom await await-for await1 bases bean bigdec bigint biginteger binding bit-and bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left bit-shift-right bit-test bit-xor boolean boolean-array booleans bound-fn bound-fn* bound? butlast byte byte-array bytes case cast char char-array char-escape-string char-name-string char? chars chunk chunk-append chunk-buffer chunk-cons chunk-first chunk-next chunk-rest chunked-seq? class class? clear-agent-errors clojure-version coll? comment commute comp comparator compare compare-and-set! compile complement concat cond condp conj conj! cons constantly construct-proxy contains? count counted? create-ns create-struct cycle dec dec' decimal? declare default-data-readers definline definterface defmacro defmethod defmulti defn defn- defonce defprotocol defrecord defstruct deftype delay delay? deliver denominator deref derive descendants destructure disj disj! dissoc dissoc! distinct distinct? doall dorun doseq dosync dotimes doto double double-array doubles drop drop-last drop-while empty empty? ensure enumeration-seq error-handler error-mode eval even? every-pred every? ex-data ex-info extend extend-protocol extend-type extenders extends? false? ffirst file-seq filter filterv find find-keyword find-ns find-protocol-impl find-protocol-method find-var first flatten float float-array float? floats flush fn fn? fnext fnil for force format frequencies future future-call future-cancel future-cancelled? future-done? future? gen-class gen-interface gensym get get-in get-method get-proxy-class get-thread-bindings get-validator group-by hash hash-combine hash-map hash-set identical? identity if-let if-not ifn? import in-ns inc inc' init-proxy instance? int int-array integer? interleave intern interpose into into-array ints io! isa? iterate iterator-seq juxt keep keep-indexed key keys keyword keyword? last lazy-cat lazy-seq let letfn line-seq list list* list? load load-file load-reader load-string loaded-libs locking long long-array longs loop macroexpand macroexpand-1 make-array make-hierarchy map map-indexed map? mapcat mapv max max-key memfn memoize merge merge-with meta method-sig methods min min-key mod munge name namespace namespace-munge neg? newline next nfirst nil? nnext not not-any? not-empty not-every? not= ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ns-refers ns-resolve ns-unalias ns-unmap nth nthnext nthrest num number? numerator object-array odd? or parents partial partition partition-all partition-by pcalls peek persistent! pmap pop pop! pop-thread-bindings pos? pr pr-str prefer-method prefers primitives-classnames print print-ctor print-dup print-method print-simple print-str printf println println-str prn prn-str promise proxy proxy-call-with-super proxy-mappings proxy-name proxy-super push-thread-bindings pvalues quot rand rand-int rand-nth range ratio? rational? rationalize re-find re-groups re-matcher re-matches re-pattern re-seq read read-line read-string realized? reduce reduce-kv reductions ref ref-history-count ref-max-history ref-min-history ref-set refer refer-clojure reify release-pending-sends rem remove remove-all-methods remove-method remove-ns remove-watch repeat repeatedly replace replicate require reset! reset-meta! resolve rest restart-agent resultset-seq reverse reversible? rseq rsubseq satisfies? second select-keys send send-off seq seq? seque sequence sequential? set set-error-handler! set-error-mode! set-validator! set? short short-array shorts shuffle shutdown-agents slurp some some-fn sort sort-by sorted-map sorted-map-by sorted-set sorted-set-by sorted? special-symbol? spit split-at split-with str string? struct struct-map subs subseq subvec supers swap! symbol symbol? sync take take-last take-nth take-while test the-ns thread-bound? time to-array to-array-2d trampoline transient tree-seq true? type unchecked-add unchecked-add-int unchecked-byte unchecked-char unchecked-dec unchecked-dec-int unchecked-divide-int unchecked-double unchecked-float unchecked-inc unchecked-inc-int unchecked-int unchecked-long unchecked-multiply unchecked-multiply-int unchecked-negate unchecked-negate-int unchecked-remainder-int unchecked-short unchecked-subtract unchecked-subtract-int underive unquote unquote-splicing update-in update-proxy use val vals var-get var-set var? vary-meta vec vector vector-of vector? when when-first when-let when-not while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-redefs with-redefs-fn xml-seq zero? zipmap *default-data-reader-fn* as-> cond-> cond->> reduced reduced? send-via set-agent-send-executor! set-agent-send-off-executor! some-> some->>\");\n\n    var indentKeys = makeKeywords(\n        // Built-ins\n        \"ns fn def defn defmethod bound-fn if if-not case condp when while when-not when-first do future comment doto locking proxy with-open with-precision reify deftype defrecord defprotocol extend extend-protocol extend-type try catch \" +\n\n        // Binding forms\n        \"let letfn binding loop for doseq dotimes when-let if-let \" +\n\n        // Data structures\n        \"defstruct struct-map assoc \" +\n\n        // clojure.test\n        \"testing deftest \" +\n\n        // contrib\n        \"handler-case handle dotrace deftrace\");\n\n    var tests = {\n        digit: /\\d/,\n        digit_or_colon: /[\\d:]/,\n        hex: /[0-9a-f]/i,\n        sign: /[+-]/,\n        exponent: /e/i,\n        keyword_char: /[^\\s\\(\\[\\;\\)\\]]/,\n        symbol: /[\\w*+!\\-\\._?:\\/]/\n    };\n\n    function stateStack(indent, type, prev) { // represents a state stack object\n        this.indent = indent;\n        this.type = type;\n        this.prev = prev;\n    }\n\n    function pushStack(state, indent, type) {\n        state.indentStack = new stateStack(indent, type, state.indentStack);\n    }\n\n    function popStack(state) {\n        state.indentStack = state.indentStack.prev;\n    }\n\n    function isNumber(ch, stream){\n        // hex\n        if ( ch === '0' && stream.eat(/x/i) ) {\n            stream.eatWhile(tests.hex);\n            return true;\n        }\n\n        // leading sign\n        if ( ( ch == '+' || ch == '-' ) && ( tests.digit.test(stream.peek()) ) ) {\n          stream.eat(tests.sign);\n          ch = stream.next();\n        }\n\n        if ( tests.digit.test(ch) ) {\n            stream.eat(ch);\n            stream.eatWhile(tests.digit);\n\n            if ( '.' == stream.peek() ) {\n                stream.eat('.');\n                stream.eatWhile(tests.digit);\n            }\n\n            if ( stream.eat(tests.exponent) ) {\n                stream.eat(tests.sign);\n                stream.eatWhile(tests.digit);\n            }\n\n            return true;\n        }\n\n        return false;\n    }\n\n    // Eat character that starts after backslash \\\n    function eatCharacter(stream) {\n        var first = stream.next();\n        // Read special literals: backspace, newline, space, return.\n        // Just read all lowercase letters.\n        if (first.match(/[a-z]/) && stream.match(/[a-z]+/, true)) {\n            return;\n        }\n        // Read unicode character: \\u1000 \\uA0a1\n        if (first === \"u\") {\n            stream.match(/[0-9a-z]{4}/i, true);\n        }\n    }\n\n    return {\n        startState: function () {\n            return {\n                indentStack: null,\n                indentation: 0,\n                mode: false\n            };\n        },\n\n        token: function (stream, state) {\n            if (state.indentStack == null && stream.sol()) {\n                // update indentation, but only if indentStack is empty\n                state.indentation = stream.indentation();\n            }\n\n            // skip spaces\n            if (stream.eatSpace()) {\n                return null;\n            }\n            var returnType = null;\n\n            switch(state.mode){\n                case \"string\": // multi-line string parsing mode\n                    var next, escaped = false;\n                    while ((next = stream.next()) != null) {\n                        if (next == \"\\\"\" && !escaped) {\n\n                            state.mode = false;\n                            break;\n                        }\n                        escaped = !escaped && next == \"\\\\\";\n                    }\n                    returnType = STRING; // continue on in string mode\n                    break;\n                default: // default parsing mode\n                    var ch = stream.next();\n\n                    if (ch == \"\\\"\") {\n                        state.mode = \"string\";\n                        returnType = STRING;\n                    } else if (ch == \"\\\\\") {\n                        eatCharacter(stream);\n                        returnType = CHARACTER;\n                    } else if (ch == \"'\" && !( tests.digit_or_colon.test(stream.peek()) )) {\n                        returnType = ATOM;\n                    } else if (ch == \";\") { // comment\n                        stream.skipToEnd(); // rest of the line is a comment\n                        returnType = COMMENT;\n                    } else if (isNumber(ch,stream)){\n                        returnType = NUMBER;\n                    } else if (ch == \"(\" || ch == \"[\" || ch == \"{\" ) {\n                        var keyWord = '', indentTemp = stream.column(), letter;\n                        /**\n                        Either\n                        (indent-word ..\n                        (non-indent-word ..\n                        (;something else, bracket, etc.\n                        */\n\n                        if (ch == \"(\") while ((letter = stream.eat(tests.keyword_char)) != null) {\n                            keyWord += letter;\n                        }\n\n                        if (keyWord.length > 0 && (indentKeys.propertyIsEnumerable(keyWord) ||\n                                                   /^(?:def|with)/.test(keyWord))) { // indent-word\n                            pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);\n                        } else { // non-indent word\n                            // we continue eating the spaces\n                            stream.eatSpace();\n                            if (stream.eol() || stream.peek() == \";\") {\n                                // nothing significant after\n                                // we restart indentation 1 space after\n                                pushStack(state, indentTemp + 1, ch);\n                            } else {\n                                pushStack(state, indentTemp + stream.current().length, ch); // else we match\n                            }\n                        }\n                        stream.backUp(stream.current().length - 1); // undo all the eating\n\n                        returnType = BRACKET;\n                    } else if (ch == \")\" || ch == \"]\" || ch == \"}\") {\n                        returnType = BRACKET;\n                        if (state.indentStack != null && state.indentStack.type == (ch == \")\" ? \"(\" : (ch == \"]\" ? \"[\" :\"{\"))) {\n                            popStack(state);\n                        }\n                    } else if ( ch == \":\" ) {\n                        stream.eatWhile(tests.symbol);\n                        return ATOM;\n                    } else {\n                        stream.eatWhile(tests.symbol);\n\n                        if (keywords && keywords.propertyIsEnumerable(stream.current())) {\n                            returnType = KEYWORD;\n                        } else if (builtins && builtins.propertyIsEnumerable(stream.current())) {\n                            returnType = BUILTIN;\n                        } else if (atoms && atoms.propertyIsEnumerable(stream.current())) {\n                            returnType = ATOM;\n                        } else returnType = null;\n                    }\n            }\n\n            return returnType;\n        },\n\n        indent: function (state) {\n            if (state.indentStack == null) return state.indentation;\n            return state.indentStack.indent;\n        },\n\n        lineComment: \";;\"\n    };\n});\n\nCodeMirror.defineMIME(\"text/x-clojure\", \"clojure\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/clojure/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Clojure mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"clojure.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Clojure</a>\n  </ul>\n</div>\n\n<article>\n<h2>Clojure mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n; Conway's Game of Life, based on the work of:\n;; Laurent Petit https://gist.github.com/1200343\n;; Christophe Grand http://clj-me.cgrand.net/2011/08/19/conways-game-of-life\n\n(ns ^{:doc \"Conway's Game of Life.\"}\n game-of-life)\n\n;; Core game of life's algorithm functions\n\n(defn neighbours\n  \"Given a cell's coordinates, returns the coordinates of its neighbours.\"\n  [[x y]]\n  (for [dx [-1 0 1] dy (if (zero? dx) [-1 1] [-1 0 1])]\n    [(+ dx x) (+ dy y)]))\n\n(defn step\n  \"Given a set of living cells, computes the new set of living cells.\"\n  [cells]\n  (set (for [[cell n] (frequencies (mapcat neighbours cells))\n             :when (or (= n 3) (and (= n 2) (cells cell)))]\n         cell)))\n\n;; Utility methods for displaying game on a text terminal\n\n(defn print-board\n  \"Prints a board on *out*, representing a step in the game.\"\n  [board w h]\n  (doseq [x (range (inc w)) y (range (inc h))]\n    (if (= y 0) (print \"\\n\"))\n    (print (if (board [x y]) \"[X]\" \" . \"))))\n\n(defn display-grids\n  \"Prints a squence of boards on *out*, representing several steps.\"\n  [grids w h]\n  (doseq [board grids]\n    (print-board board w h)\n    (print \"\\n\")))\n\n;; Launches an example board\n\n(def\n  ^{:doc \"board represents the initial set of living cells\"}\n   board #{[2 1] [2 2] [2 3]})\n\n(display-grids (take 3 (iterate step board)) 5 5)\n\n;; Let's play with characters\n(println \\1 \\a \\# \\\\\n         \\\" \\( \\newline\n         \\} \\\" \\space\n         \\tab \\return \\backspace\n         \\u1000 \\uAaAa \\u9F9F)\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-clojure</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/cobol/cobol.js",
    "content": "/**\n * Author: Gautam Mehta\n * Branched from CodeMirror's Scheme mode\n */\nCodeMirror.defineMode(\"cobol\", function () {\n  var BUILTIN = \"builtin\", COMMENT = \"comment\", STRING = \"string\",\n      ATOM = \"atom\", NUMBER = \"number\", KEYWORD = \"keyword\", MODTAG = \"header\",\n      COBOLLINENUM = \"def\", PERIOD = \"link\";\n  function makeKeywords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var atoms = makeKeywords(\"TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES \");\n  var keywords = makeKeywords(\n      \"ACCEPT ACCESS ACQUIRE ADD ADDRESS \" +\n      \"ADVANCING AFTER ALIAS ALL ALPHABET \" +\n      \"ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED \" +\n      \"ALSO ALTER ALTERNATE AND ANY \" +\n      \"ARE AREA AREAS ARITHMETIC ASCENDING \" +\n      \"ASSIGN AT ATTRIBUTE AUTHOR AUTO \" +\n      \"AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS \" +\n      \"B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP \" +\n      \"BEFORE BELL BINARY BIT BITS \" +\n      \"BLANK BLINK BLOCK BOOLEAN BOTTOM \" +\n      \"BY CALL CANCEL CD CF \" +\n      \"CH CHARACTER CHARACTERS CLASS CLOCK-UNITS \" +\n      \"CLOSE COBOL CODE CODE-SET COL \" +\n      \"COLLATING COLUMN COMMA COMMIT COMMITMENT \" +\n      \"COMMON COMMUNICATION COMP COMP-0 COMP-1 \" +\n      \"COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 \" +\n      \"COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 \" +\n      \"COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 \" +\n      \"COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE \" +\n      \"CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS \" +\n      \"CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS \" +\n      \"CONVERTING COPY CORR CORRESPONDING COUNT \" +\n      \"CRT CRT-UNDER CURRENCY CURRENT CURSOR \" +\n      \"DATA DATE DATE-COMPILED DATE-WRITTEN DAY \" +\n      \"DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION \" +\n      \"DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS \" +\n      \"DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE \" +\n      \"DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING \" +\n      \"DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED \" +\n      \"DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION \" +\n      \"DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 \" +\n      \"DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 \" +\n      \"DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION \" +\n      \"DOWN DROP DUPLICATE DUPLICATES DYNAMIC \" +\n      \"EBCDIC EGI EJECT ELSE EMI \" +\n      \"EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. \" +\n      \"END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY \" +\n      \"END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY \" +\n      \"END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN \" +\n      \"END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT \" +\n      \"END-UNSTRING END-WRITE END-XML ENTER ENTRY \" +\n      \"ENVIRONMENT EOP EQUAL EQUALS ERASE \" +\n      \"ERROR ESI EVALUATE EVERY EXCEEDS \" +\n      \"EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL \" +\n      \"EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL \" +\n      \"FILE-STREAM FILES FILLER FINAL FIND \" +\n      \"FINISH FIRST FOOTING FOR FOREGROUND-COLOR \" +\n      \"FOREGROUND-COLOUR FORMAT FREE FROM FULL \" +\n      \"FUNCTION GENERATE GET GIVING GLOBAL \" +\n      \"GO GOBACK GREATER GROUP HEADING \" +\n      \"HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL \" +\n      \"ID IDENTIFICATION IF IN INDEX \" +\n      \"INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 \" +\n      \"INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED \" +\n      \"INDIC INDICATE INDICATOR INDICATORS INITIAL \" +\n      \"INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT \" +\n      \"INSTALLATION INTO INVALID INVOKE IS \" +\n      \"JUST JUSTIFIED KANJI KEEP KEY \" +\n      \"LABEL LAST LD LEADING LEFT \" +\n      \"LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY \" +\n      \"LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER \" +\n      \"LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE \" +\n      \"LOCALE LOCALLY LOCK \" +\n      \"MEMBER MEMORY MERGE MESSAGE METACLASS \" +\n      \"MODE MODIFIED MODIFY MODULES MOVE \" +\n      \"MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE \" +\n      \"NEXT NO NO-ECHO NONE NOT \" +\n      \"NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER \" +\n      \"NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS \" +\n      \"OF OFF OMITTED ON ONLY \" +\n      \"OPEN OPTIONAL OR ORDER ORGANIZATION \" +\n      \"OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL \" +\n      \"PADDING PAGE PAGE-COUNTER PARSE PERFORM \" +\n      \"PF PH PIC PICTURE PLUS \" +\n      \"POINTER POSITION POSITIVE PREFIX PRESENT \" +\n      \"PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES \" +\n      \"PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID \" +\n      \"PROMPT PROTECTED PURGE QUEUE QUOTE \" +\n      \"QUOTES RANDOM RD READ READY \" +\n      \"REALM RECEIVE RECONNECT RECORD RECORD-NAME \" +\n      \"RECORDS RECURSIVE REDEFINES REEL REFERENCE \" +\n      \"REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE \" +\n      \"REMAINDER REMOVAL RENAMES REPEATED REPLACE \" +\n      \"REPLACING REPORT REPORTING REPORTS REPOSITORY \" +\n      \"REQUIRED RERUN RESERVE RESET RETAINING \" +\n      \"RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO \" +\n      \"REVERSED REWIND REWRITE RF RH \" +\n      \"RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED \" +\n      \"RUN SAME SCREEN SD SEARCH \" +\n      \"SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT \" +\n      \"SELECT SEND SENTENCE SEPARATE SEQUENCE \" +\n      \"SEQUENTIAL SET SHARED SIGN SIZE \" +\n      \"SKIP1 SKIP2 SKIP3 SORT SORT-MERGE \" +\n      \"SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL \" +\n      \"SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 \" +\n      \"START STARTING STATUS STOP STORE \" +\n      \"STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA \" +\n      \"SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS \" +\n      \"SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT \" +\n      \"TABLE TALLYING TAPE TENANT TERMINAL \" +\n      \"TERMINATE TEST TEXT THAN THEN \" +\n      \"THROUGH THRU TIME TIMES TITLE \" +\n      \"TO TOP TRAILING TRAILING-SIGN TRANSACTION \" +\n      \"TYPE TYPEDEF UNDERLINE UNEQUAL UNIT \" +\n      \"UNSTRING UNTIL UP UPDATE UPON \" +\n      \"USAGE USAGE-MODE USE USING VALID \" +\n      \"VALIDATE VALUE VALUES VARYING VLR \" +\n      \"WAIT WHEN WHEN-COMPILED WITH WITHIN \" +\n      \"WORDS WORKING-STORAGE WRITE XML XML-CODE \" +\n      \"XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL \" );\n\n  var builtins = makeKeywords(\"- * ** / + < <= = > >= \");\n  var tests = {\n    digit: /\\d/,\n    digit_or_colon: /[\\d:]/,\n    hex: /[0-9a-f]/i,\n    sign: /[+-]/,\n    exponent: /e/i,\n    keyword_char: /[^\\s\\(\\[\\;\\)\\]]/,\n    symbol: /[\\w*+\\-]/\n  };\n  function isNumber(ch, stream){\n    // hex\n    if ( ch === '0' && stream.eat(/x/i) ) {\n      stream.eatWhile(tests.hex);\n      return true;\n    }\n    // leading sign\n    if ( ( ch == '+' || ch == '-' ) && ( tests.digit.test(stream.peek()) ) ) {\n      stream.eat(tests.sign);\n      ch = stream.next();\n    }\n    if ( tests.digit.test(ch) ) {\n      stream.eat(ch);\n      stream.eatWhile(tests.digit);\n      if ( '.' == stream.peek()) {\n        stream.eat('.');\n        stream.eatWhile(tests.digit);\n      }\n      if ( stream.eat(tests.exponent) ) {\n        stream.eat(tests.sign);\n        stream.eatWhile(tests.digit);\n      }\n      return true;\n    }\n    return false;\n  }\n  return {\n    startState: function () {\n      return {\n        indentStack: null,\n        indentation: 0,\n        mode: false\n      };\n    },\n    token: function (stream, state) {\n      if (state.indentStack == null && stream.sol()) {\n        // update indentation, but only if indentStack is empty\n        state.indentation = 6 ; //stream.indentation();\n      }\n      // skip spaces\n      if (stream.eatSpace()) {\n        return null;\n      }\n      var returnType = null;\n      switch(state.mode){\n      case \"string\": // multi-line string parsing mode\n        var next = false;\n        while ((next = stream.next()) != null) {\n          if (next == \"\\\"\" || next == \"\\'\") {\n            state.mode = false;\n            break;\n          }\n        }\n        returnType = STRING; // continue on in string mode\n        break;\n      default: // default parsing mode\n        var ch = stream.next();\n        var col = stream.column();\n        if (col >= 0 && col <= 5) {\n          returnType = COBOLLINENUM;\n        } else if (col >= 72 && col <= 79) {\n          stream.skipToEnd();\n          returnType = MODTAG;\n        } else if (ch == \"*\" && col == 6) { // comment\n          stream.skipToEnd(); // rest of the line is a comment\n          returnType = COMMENT;\n        } else if (ch == \"\\\"\" || ch == \"\\'\") {\n          state.mode = \"string\";\n          returnType = STRING;\n        } else if (ch == \"'\" && !( tests.digit_or_colon.test(stream.peek()) )) {\n          returnType = ATOM;\n        } else if (ch == \".\") {\n          returnType = PERIOD;\n        } else if (isNumber(ch,stream)){\n          returnType = NUMBER;\n        } else {\n          if (stream.current().match(tests.symbol)) {\n            while (col < 71) {\n              if (stream.eat(tests.symbol) === undefined) {\n                break;\n              } else {\n                col++;\n              }\n            }\n          }\n          if (keywords && keywords.propertyIsEnumerable(stream.current().toUpperCase())) {\n            returnType = KEYWORD;\n          } else if (builtins && builtins.propertyIsEnumerable(stream.current().toUpperCase())) {\n            returnType = BUILTIN;\n          } else if (atoms && atoms.propertyIsEnumerable(stream.current().toUpperCase())) {\n            returnType = ATOM;\n          } else returnType = null;\n        }\n      }\n      return returnType;\n    },\n    indent: function (state) {\n      if (state.indentStack == null) return state.indentation;\n      return state.indentStack.indent;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-cobol\", \"cobol\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/cobol/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: COBOL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/neat.css\">\n<link rel=\"stylesheet\" href=\"../../theme/elegant.css\">\n<link rel=\"stylesheet\" href=\"../../theme/erlang-dark.css\">\n<link rel=\"stylesheet\" href=\"../../theme/night.css\">\n<link rel=\"stylesheet\" href=\"../../theme/monokai.css\">\n<link rel=\"stylesheet\" href=\"../../theme/cobalt.css\">\n<link rel=\"stylesheet\" href=\"../../theme/eclipse.css\">\n<link rel=\"stylesheet\" href=\"../../theme/rubyblue.css\">\n<link rel=\"stylesheet\" href=\"../../theme/lesser-dark.css\">\n<link rel=\"stylesheet\" href=\"../../theme/xq-dark.css\">\n<link rel=\"stylesheet\" href=\"../../theme/xq-light.css\">\n<link rel=\"stylesheet\" href=\"../../theme/ambiance.css\">\n<link rel=\"stylesheet\" href=\"../../theme/blackboard.css\">\n<link rel=\"stylesheet\" href=\"../../theme/vibrant-ink.css\">\n<link rel=\"stylesheet\" href=\"../../theme/solarized.css\">\n<link rel=\"stylesheet\" href=\"../../theme/twilight.css\">\n<link rel=\"stylesheet\" href=\"../../theme/midnight.css\">\n<link rel=\"stylesheet\" href=\"../../addon/dialog/dialog.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"cobol.js\"></script>\n<script src=\"../../addon/selection/active-line.js\"></script>\n<script src=\"../../addon/search/search.js\"></script>\n<script src=\"../../addon/dialog/dialog.js\"></script>\n<script src=\"../../addon/search/searchcursor.js\"></script>\n<style>\n        .CodeMirror {\n          border: 1px solid #eee;\n          font-size : 20px;\n          height : auto !important;\n        }\n        .CodeMirror-activeline-background {background: #555555 !important;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">COBOL</a>\n  </ul>\n</div>\n\n<article>\n<h2>COBOL mode</h2>\n\n    <p> Select Theme <select onchange=\"selectTheme()\" id=\"selectTheme\">\n        <option>default</option>\n        <option>ambiance</option>\n        <option>blackboard</option>\n        <option>cobalt</option>\n        <option>eclipse</option>\n        <option>elegant</option>\n        <option>erlang-dark</option>\n        <option>lesser-dark</option>\n        <option>midnight</option>\n        <option>monokai</option>\n        <option>neat</option>\n        <option>night</option>\n        <option>rubyblue</option>\n        <option>solarized dark</option>\n        <option>solarized light</option>\n        <option selected>twilight</option>\n        <option>vibrant-ink</option>\n        <option>xq-dark</option>\n        <option>xq-light</option>\n    </select>    Select Font Size <select onchange=\"selectFontsize()\" id=\"selectFontSize\">\n          <option value=\"13px\">13px</option>\n          <option value=\"14px\">14px</option>\n          <option value=\"16px\">16px</option>\n          <option value=\"18px\">18px</option>\n          <option value=\"20px\" selected=\"selected\">20px</option>\n          <option value=\"24px\">24px</option>\n          <option value=\"26px\">26px</option>\n          <option value=\"28px\">28px</option>\n          <option value=\"30px\">30px</option>\n          <option value=\"32px\">32px</option>\n          <option value=\"34px\">34px</option>\n          <option value=\"36px\">36px</option>\n        </select>\n<label for=\"checkBoxReadOnly\">Read-only</label>\n<input type=\"checkbox\" id=\"checkBoxReadOnly\" onchange=\"selectReadOnly()\">\n<label for=\"id_tabToIndentSpace\">Insert Spaces on Tab</label>\n<input type=\"checkbox\" id=\"id_tabToIndentSpace\" onchange=\"tabToIndentSpace()\">\n</p>\n<textarea id=\"code\" name=\"code\">\n---------1---------2---------3---------4---------5---------6---------7---------8\n12345678911234567892123456789312345678941234567895123456789612345678971234567898\n000010 IDENTIFICATION DIVISION.                                        MODTGHERE\n000020 PROGRAM-ID.       SAMPLE.\n000030 AUTHOR.           TEST SAM. \n000040 DATE-WRITTEN.     5 February 2013\n000041\n000042* A sample program just to show the form.\n000043* The program copies its input to the output,\n000044* and counts the number of records.\n000045* At the end this number is printed.\n000046\n000050 ENVIRONMENT DIVISION.\n000060 INPUT-OUTPUT SECTION.\n000070 FILE-CONTROL.\n000080     SELECT STUDENT-FILE     ASSIGN TO SYSIN\n000090         ORGANIZATION IS LINE SEQUENTIAL.\n000100     SELECT PRINT-FILE       ASSIGN TO SYSOUT\n000110         ORGANIZATION IS LINE SEQUENTIAL.\n000120\n000130 DATA DIVISION.\n000140 FILE SECTION.\n000150 FD  STUDENT-FILE\n000160     RECORD CONTAINS 43 CHARACTERS\n000170     DATA RECORD IS STUDENT-IN.\n000180 01  STUDENT-IN              PIC X(43).\n000190\n000200 FD  PRINT-FILE\n000210     RECORD CONTAINS 80 CHARACTERS\n000220     DATA RECORD IS PRINT-LINE.\n000230 01  PRINT-LINE              PIC X(80).\n000240\n000250 WORKING-STORAGE SECTION.\n000260 01  DATA-REMAINS-SWITCH     PIC X(2)      VALUE SPACES.\n000261 01  RECORDS-WRITTEN         PIC 99.\n000270\n000280 01  DETAIL-LINE.\n000290     05  FILLER              PIC X(7)      VALUE SPACES.\n000300     05  RECORD-IMAGE        PIC X(43).\n000310     05  FILLER              PIC X(30)     VALUE SPACES.\n000311 \n000312 01  SUMMARY-LINE.\n000313     05  FILLER              PIC X(7)      VALUE SPACES.\n000314     05  TOTAL-READ          PIC 99.\n000315     05  FILLER              PIC X         VALUE SPACE.\n000316     05  FILLER              PIC X(17)     \n000317                 VALUE  'Records were read'.\n000318     05  FILLER              PIC X(53)     VALUE SPACES.\n000319\n000320 PROCEDURE DIVISION.\n000321\n000330 PREPARE-SENIOR-REPORT.\n000340     OPEN INPUT  STUDENT-FILE\n000350          OUTPUT PRINT-FILE.\n000351     MOVE ZERO TO RECORDS-WRITTEN.\n000360     READ STUDENT-FILE\n000370         AT END MOVE 'NO' TO DATA-REMAINS-SWITCH\n000380     END-READ.\n000390     PERFORM PROCESS-RECORDS\n000410         UNTIL DATA-REMAINS-SWITCH = 'NO'.\n000411     PERFORM PRINT-SUMMARY.\n000420     CLOSE STUDENT-FILE\n000430           PRINT-FILE.\n000440     STOP RUN.\n000450\n000460 PROCESS-RECORDS.\n000470     MOVE STUDENT-IN TO RECORD-IMAGE.\n000480     MOVE DETAIL-LINE TO PRINT-LINE.\n000490     WRITE PRINT-LINE.\n000500     ADD 1 TO RECORDS-WRITTEN.\n000510     READ STUDENT-FILE\n000520         AT END MOVE 'NO' TO DATA-REMAINS-SWITCH\n000530     END-READ. \n000540\n000550 PRINT-SUMMARY.\n000560     MOVE RECORDS-WRITTEN TO TOTAL-READ.\n000570     MOVE SUMMARY-LINE TO PRINT-LINE.\n000571     WRITE PRINT-LINE. \n000572\n000580\n</textarea>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-cobol\",\n        theme : \"twilight\",\n        styleActiveLine: true,\n        showCursorWhenSelecting : true,  \n      });\n      function selectTheme() {\n        var themeInput = document.getElementById(\"selectTheme\");\n        var theme = themeInput.options[themeInput.selectedIndex].innerHTML;\n        editor.setOption(\"theme\", theme);\n      }\n      function selectFontsize() {\n        var fontSizeInput = document.getElementById(\"selectFontSize\");\n        var fontSize = fontSizeInput.options[fontSizeInput.selectedIndex].innerHTML;\n        editor.getWrapperElement().style[\"font-size\"] = fontSize;\n        editor.refresh();\n      }\n      function selectReadOnly() {\n        editor.setOption(\"readOnly\", document.getElementById(\"checkBoxReadOnly\").checked);\n      }\n      function tabToIndentSpace() {\n        if (document.getElementById(\"id_tabToIndentSpace\").checked) {\n            editor.setOption(\"extraKeys\", {Tab: function(cm) { cm.replaceSelection(\"    \", \"end\"); }});\n        } else {\n            editor.setOption(\"extraKeys\", {Tab: function(cm) { cm.replaceSelection(\"    \", \"end\"); }});\n        }\n      }\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/coffeescript/coffeescript.js",
    "content": "/**\n * Link to the project's GitHub page:\n * https://github.com/pickhardt/coffeescript-codemirror-mode\n */\nCodeMirror.defineMode(\"coffeescript\", function(conf) {\n  var ERRORCLASS = \"error\";\n\n  function wordRegexp(words) {\n    return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n  }\n\n  var operators = /^(?:->|=>|\\+[+=]?|-[\\-=]?|\\*[\\*=]?|\\/[\\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\\|=?|\\^=?|\\~|!|\\?)/;\n  var delimiters = /^(?:[()\\[\\]{},:`=;]|\\.\\.?\\.?)/;\n  var identifiers = /^[_A-Za-z$][_A-Za-z$0-9]*/;\n  var properties = /^(@|this\\.)[_A-Za-z$][_A-Za-z$0-9]*/;\n\n  var wordOperators = wordRegexp([\"and\", \"or\", \"not\",\n                                  \"is\", \"isnt\", \"in\",\n                                  \"instanceof\", \"typeof\"]);\n  var indentKeywords = [\"for\", \"while\", \"loop\", \"if\", \"unless\", \"else\",\n                        \"switch\", \"try\", \"catch\", \"finally\", \"class\"];\n  var commonKeywords = [\"break\", \"by\", \"continue\", \"debugger\", \"delete\",\n                        \"do\", \"in\", \"of\", \"new\", \"return\", \"then\",\n                        \"this\", \"throw\", \"when\", \"until\"];\n\n  var keywords = wordRegexp(indentKeywords.concat(commonKeywords));\n\n  indentKeywords = wordRegexp(indentKeywords);\n\n\n  var stringPrefixes = /^('{3}|\\\"{3}|['\\\"])/;\n  var regexPrefixes = /^(\\/{3}|\\/)/;\n  var commonConstants = [\"Infinity\", \"NaN\", \"undefined\", \"null\", \"true\", \"false\", \"on\", \"off\", \"yes\", \"no\"];\n  var constants = wordRegexp(commonConstants);\n\n  // Tokenizers\n  function tokenBase(stream, state) {\n    // Handle scope changes\n    if (stream.sol()) {\n      if (state.scope.align === null) state.scope.align = false;\n      var scopeOffset = state.scope.offset;\n      if (stream.eatSpace()) {\n        var lineOffset = stream.indentation();\n        if (lineOffset > scopeOffset && state.scope.type == \"coffee\") {\n          return \"indent\";\n        } else if (lineOffset < scopeOffset) {\n          return \"dedent\";\n        }\n        return null;\n      } else {\n        if (scopeOffset > 0) {\n          dedent(stream, state);\n        }\n      }\n    }\n    if (stream.eatSpace()) {\n      return null;\n    }\n\n    var ch = stream.peek();\n\n    // Handle docco title comment (single line)\n    if (stream.match(\"####\")) {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n\n    // Handle multi line comments\n    if (stream.match(\"###\")) {\n      state.tokenize = longComment;\n      return state.tokenize(stream, state);\n    }\n\n    // Single line comment\n    if (ch === \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n\n    // Handle number literals\n    if (stream.match(/^-?[0-9\\.]/, false)) {\n      var floatLiteral = false;\n      // Floats\n      if (stream.match(/^-?\\d*\\.\\d+(e[\\+\\-]?\\d+)?/i)) {\n        floatLiteral = true;\n      }\n      if (stream.match(/^-?\\d+\\.\\d*/)) {\n        floatLiteral = true;\n      }\n      if (stream.match(/^-?\\.\\d+/)) {\n        floatLiteral = true;\n      }\n\n      if (floatLiteral) {\n        // prevent from getting extra . on 1..\n        if (stream.peek() == \".\"){\n          stream.backUp(1);\n        }\n        return \"number\";\n      }\n      // Integers\n      var intLiteral = false;\n      // Hex\n      if (stream.match(/^-?0x[0-9a-f]+/i)) {\n        intLiteral = true;\n      }\n      // Decimal\n      if (stream.match(/^-?[1-9]\\d*(e[\\+\\-]?\\d+)?/)) {\n        intLiteral = true;\n      }\n      // Zero by itself with no other piece of number.\n      if (stream.match(/^-?0(?![\\dx])/i)) {\n        intLiteral = true;\n      }\n      if (intLiteral) {\n        return \"number\";\n      }\n    }\n\n    // Handle strings\n    if (stream.match(stringPrefixes)) {\n      state.tokenize = tokenFactory(stream.current(), \"string\");\n      return state.tokenize(stream, state);\n    }\n    // Handle regex literals\n    if (stream.match(regexPrefixes)) {\n      if (stream.current() != \"/\" || stream.match(/^.*\\//, false)) { // prevent highlight of division\n        state.tokenize = tokenFactory(stream.current(), \"string-2\");\n        return state.tokenize(stream, state);\n      } else {\n        stream.backUp(1);\n      }\n    }\n\n    // Handle operators and delimiters\n    if (stream.match(operators) || stream.match(wordOperators)) {\n      return \"operator\";\n    }\n    if (stream.match(delimiters)) {\n      return \"punctuation\";\n    }\n\n    if (stream.match(constants)) {\n      return \"atom\";\n    }\n\n    if (stream.match(keywords)) {\n      return \"keyword\";\n    }\n\n    if (stream.match(identifiers)) {\n      return \"variable\";\n    }\n\n    if (stream.match(properties)) {\n      return \"property\";\n    }\n\n    // Handle non-detected items\n    stream.next();\n    return ERRORCLASS;\n  }\n\n  function tokenFactory(delimiter, outclass) {\n    var singleline = delimiter.length == 1;\n    return function(stream, state) {\n      while (!stream.eol()) {\n        stream.eatWhile(/[^'\"\\/\\\\]/);\n        if (stream.eat(\"\\\\\")) {\n          stream.next();\n          if (singleline && stream.eol()) {\n            return outclass;\n          }\n        } else if (stream.match(delimiter)) {\n          state.tokenize = tokenBase;\n          return outclass;\n        } else {\n          stream.eat(/['\"\\/]/);\n        }\n      }\n      if (singleline) {\n        if (conf.mode.singleLineStringErrors) {\n          outclass = ERRORCLASS;\n        } else {\n          state.tokenize = tokenBase;\n        }\n      }\n      return outclass;\n    };\n  }\n\n  function longComment(stream, state) {\n    while (!stream.eol()) {\n      stream.eatWhile(/[^#]/);\n      if (stream.match(\"###\")) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      stream.eatWhile(\"#\");\n    }\n    return \"comment\";\n  }\n\n  function indent(stream, state, type) {\n    type = type || \"coffee\";\n    var offset = 0, align = false, alignOffset = null;\n    for (var scope = state.scope; scope; scope = scope.prev) {\n      if (scope.type === \"coffee\") {\n        offset = scope.offset + conf.indentUnit;\n        break;\n      }\n    }\n    if (type !== \"coffee\") {\n      align = null;\n      alignOffset = stream.column() + stream.current().length;\n    } else if (state.scope.align) {\n      state.scope.align = false;\n    }\n    state.scope = {\n      offset: offset,\n      type: type,\n      prev: state.scope,\n      align: align,\n      alignOffset: alignOffset\n    };\n  }\n\n  function dedent(stream, state) {\n    if (!state.scope.prev) return;\n    if (state.scope.type === \"coffee\") {\n      var _indent = stream.indentation();\n      var matched = false;\n      for (var scope = state.scope; scope; scope = scope.prev) {\n        if (_indent === scope.offset) {\n          matched = true;\n          break;\n        }\n      }\n      if (!matched) {\n        return true;\n      }\n      while (state.scope.prev && state.scope.offset !== _indent) {\n        state.scope = state.scope.prev;\n      }\n      return false;\n    } else {\n      state.scope = state.scope.prev;\n      return false;\n    }\n  }\n\n  function tokenLexer(stream, state) {\n    var style = state.tokenize(stream, state);\n    var current = stream.current();\n\n    // Handle \".\" connected identifiers\n    if (current === \".\") {\n      style = state.tokenize(stream, state);\n      current = stream.current();\n      if (/^\\.[\\w$]+$/.test(current)) {\n        return \"variable\";\n      } else {\n        return ERRORCLASS;\n      }\n    }\n\n    // Handle scope changes.\n    if (current === \"return\") {\n      state.dedent += 1;\n    }\n    if (((current === \"->\" || current === \"=>\") &&\n         !state.lambda &&\n         !stream.peek())\n        || style === \"indent\") {\n      indent(stream, state);\n    }\n    var delimiter_index = \"[({\".indexOf(current);\n    if (delimiter_index !== -1) {\n      indent(stream, state, \"])}\".slice(delimiter_index, delimiter_index+1));\n    }\n    if (indentKeywords.exec(current)){\n      indent(stream, state);\n    }\n    if (current == \"then\"){\n      dedent(stream, state);\n    }\n\n\n    if (style === \"dedent\") {\n      if (dedent(stream, state)) {\n        return ERRORCLASS;\n      }\n    }\n    delimiter_index = \"])}\".indexOf(current);\n    if (delimiter_index !== -1) {\n      while (state.scope.type == \"coffee\" && state.scope.prev)\n        state.scope = state.scope.prev;\n      if (state.scope.type == current)\n        state.scope = state.scope.prev;\n    }\n    if (state.dedent > 0 && stream.eol() && state.scope.type == \"coffee\") {\n      if (state.scope.prev) state.scope = state.scope.prev;\n      state.dedent -= 1;\n    }\n\n    return style;\n  }\n\n  var external = {\n    startState: function(basecolumn) {\n      return {\n        tokenize: tokenBase,\n        scope: {offset:basecolumn || 0, type:\"coffee\", prev: null, align: false},\n        lastToken: null,\n        lambda: false,\n        dedent: 0\n      };\n    },\n\n    token: function(stream, state) {\n      var fillAlign = state.scope.align === null && state.scope;\n      if (fillAlign && stream.sol()) fillAlign.align = false;\n\n      var style = tokenLexer(stream, state);\n      if (fillAlign && style && style != \"comment\") fillAlign.align = true;\n\n      state.lastToken = {style:style, content: stream.current()};\n\n      if (stream.eol() && stream.lambda) {\n        state.lambda = false;\n      }\n\n      return style;\n    },\n\n    indent: function(state, text) {\n      if (state.tokenize != tokenBase) return 0;\n      var scope = state.scope;\n      var closer = text && \"])}\".indexOf(text.charAt(0)) > -1;\n      if (closer) while (scope.type == \"coffee\" && scope.prev) scope = scope.prev;\n      var closes = closer && scope.type === text.charAt(0);\n      if (scope.align)\n        return scope.alignOffset - (closes ? 1 : 0);\n      else\n        return (closes ? scope.prev : scope).offset;\n    },\n\n    lineComment: \"#\",\n    fold: \"indent\"\n  };\n  return external;\n});\n\nCodeMirror.defineMIME(\"text/x-coffeescript\", \"coffeescript\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/coffeescript/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: CoffeeScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"coffeescript.js\"></script>\n<style>.CodeMirror {border-top: 1px solid silver; border-bottom: 1px solid silver;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">CoffeeScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>CoffeeScript mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# CoffeeScript mode for CodeMirror\n# Copyright (c) 2011 Jeff Pickhardt, released under\n# the MIT License.\n#\n# Modified from the Python CodeMirror mode, which also is \n# under the MIT License Copyright (c) 2010 Timothy Farrell.\n#\n# The following script, Underscore.coffee, is used to \n# demonstrate CoffeeScript mode for CodeMirror.\n#\n# To download CoffeeScript mode for CodeMirror, go to:\n# https://github.com/pickhardt/coffeescript-codemirror-mode\n\n# **Underscore.coffee\n# (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.**\n# Underscore is freely distributable under the terms of the\n# [MIT license](http://en.wikipedia.org/wiki/MIT_License).\n# Portions of Underscore are inspired by or borrowed from\n# [Prototype.js](http://prototypejs.org/api), Oliver Steele's\n# [Functional](http://osteele.com), and John Resig's\n# [Micro-Templating](http://ejohn.org).\n# For all details and documentation:\n# http://documentcloud.github.com/underscore/\n\n\n# Baseline setup\n# --------------\n\n# Establish the root object, `window` in the browser, or `global` on the server.\nroot = this\n\n\n# Save the previous value of the `_` variable.\npreviousUnderscore = root._\n\n### Multiline\n    comment\n###\n\n# Establish the object that gets thrown to break out of a loop iteration.\n# `StopIteration` is SOP on Mozilla.\nbreaker = if typeof(StopIteration) is 'undefined' then '__break__' else StopIteration\n\n\n#### Docco style single line comment (title)\n\n\n# Helper function to escape **RegExp** contents, because JS doesn't have one.\nescapeRegExp = (string) -> string.replace(/([.*+?^${}()|[\\]\\/\\\\])/g, '\\\\$1')\n\n\n# Save bytes in the minified (but not gzipped) version:\nArrayProto = Array.prototype\nObjProto = Object.prototype\n\n\n# Create quick reference variables for speed access to core prototypes.\nslice = ArrayProto.slice\nunshift = ArrayProto.unshift\ntoString = ObjProto.toString\nhasOwnProperty = ObjProto.hasOwnProperty\npropertyIsEnumerable = ObjProto.propertyIsEnumerable\n\n\n# All **ECMA5** native implementations we hope to use are declared here.\nnativeForEach = ArrayProto.forEach\nnativeMap = ArrayProto.map\nnativeReduce = ArrayProto.reduce\nnativeReduceRight = ArrayProto.reduceRight\nnativeFilter = ArrayProto.filter\nnativeEvery = ArrayProto.every\nnativeSome = ArrayProto.some\nnativeIndexOf = ArrayProto.indexOf\nnativeLastIndexOf = ArrayProto.lastIndexOf\nnativeIsArray = Array.isArray\nnativeKeys = Object.keys\n\n\n# Create a safe reference to the Underscore object for use below.\n_ = (obj) -> new wrapper(obj)\n\n\n# Export the Underscore object for **CommonJS**.\nif typeof(exports) != 'undefined' then exports._ = _\n\n\n# Export Underscore to global scope.\nroot._ = _\n\n\n# Current version.\n_.VERSION = '1.1.0'\n\n\n# Collection Functions\n# --------------------\n\n# The cornerstone, an **each** implementation.\n# Handles objects implementing **forEach**, arrays, and raw objects.\n_.each = (obj, iterator, context) ->\n  try\n    if nativeForEach and obj.forEach is nativeForEach\n      obj.forEach iterator, context\n    else if _.isNumber obj.length\n      iterator.call context, obj[i], i, obj for i in [0...obj.length]\n    else\n      iterator.call context, val, key, obj for own key, val of obj\n  catch e\n    throw e if e isnt breaker\n  obj\n\n\n# Return the results of applying the iterator to each element. Use JavaScript\n# 1.6's version of **map**, if possible.\n_.map = (obj, iterator, context) ->\n  return obj.map(iterator, context) if nativeMap and obj.map is nativeMap\n  results = []\n  _.each obj, (value, index, list) ->\n    results.push iterator.call context, value, index, list\n  results\n\n\n# **Reduce** builds up a single result from a list of values. Also known as\n# **inject**, or **foldl**. Uses JavaScript 1.8's version of **reduce**, if possible.\n_.reduce = (obj, iterator, memo, context) ->\n  if nativeReduce and obj.reduce is nativeReduce\n    iterator = _.bind iterator, context if context\n    return obj.reduce iterator, memo\n  _.each obj, (value, index, list) ->\n    memo = iterator.call context, memo, value, index, list\n  memo\n\n\n# The right-associative version of **reduce**, also known as **foldr**. Uses\n# JavaScript 1.8's version of **reduceRight**, if available.\n_.reduceRight = (obj, iterator, memo, context) ->\n  if nativeReduceRight and obj.reduceRight is nativeReduceRight\n    iterator = _.bind iterator, context if context\n    return obj.reduceRight iterator, memo\n  reversed = _.clone(_.toArray(obj)).reverse()\n  _.reduce reversed, iterator, memo, context\n\n\n# Return the first value which passes a truth test.\n_.detect = (obj, iterator, context) ->\n  result = null\n  _.each obj, (value, index, list) ->\n    if iterator.call context, value, index, list\n      result = value\n      _.breakLoop()\n  result\n\n\n# Return all the elements that pass a truth test. Use JavaScript 1.6's\n# **filter**, if it exists.\n_.filter = (obj, iterator, context) ->\n  return obj.filter iterator, context if nativeFilter and obj.filter is nativeFilter\n  results = []\n  _.each obj, (value, index, list) ->\n    results.push value if iterator.call context, value, index, list\n  results\n\n\n# Return all the elements for which a truth test fails.\n_.reject = (obj, iterator, context) ->\n  results = []\n  _.each obj, (value, index, list) ->\n    results.push value if not iterator.call context, value, index, list\n  results\n\n\n# Determine whether all of the elements match a truth test. Delegate to\n# JavaScript 1.6's **every**, if it is present.\n_.every = (obj, iterator, context) ->\n  iterator ||= _.identity\n  return obj.every iterator, context if nativeEvery and obj.every is nativeEvery\n  result = true\n  _.each obj, (value, index, list) ->\n    _.breakLoop() unless (result = result and iterator.call(context, value, index, list))\n  result\n\n\n# Determine if at least one element in the object matches a truth test. Use\n# JavaScript 1.6's **some**, if it exists.\n_.some = (obj, iterator, context) ->\n  iterator ||= _.identity\n  return obj.some iterator, context if nativeSome and obj.some is nativeSome\n  result = false\n  _.each obj, (value, index, list) ->\n    _.breakLoop() if (result = iterator.call(context, value, index, list))\n  result\n\n\n# Determine if a given value is included in the array or object,\n# based on `===`.\n_.include = (obj, target) ->\n  return _.indexOf(obj, target) isnt -1 if nativeIndexOf and obj.indexOf is nativeIndexOf\n  return true for own key, val of obj when val is target\n  false\n\n\n# Invoke a method with arguments on every item in a collection.\n_.invoke = (obj, method) ->\n  args = _.rest arguments, 2\n  (if method then val[method] else val).apply(val, args) for val in obj\n\n\n# Convenience version of a common use case of **map**: fetching a property.\n_.pluck = (obj, key) ->\n  _.map(obj, (val) -> val[key])\n\n\n# Return the maximum item or (item-based computation).\n_.max = (obj, iterator, context) ->\n  return Math.max.apply(Math, obj) if not iterator and _.isArray(obj)\n  result = computed: -Infinity\n  _.each obj, (value, index, list) ->\n    computed = if iterator then iterator.call(context, value, index, list) else value\n    computed >= result.computed and (result = {value: value, computed: computed})\n  result.value\n\n\n# Return the minimum element (or element-based computation).\n_.min = (obj, iterator, context) ->\n  return Math.min.apply(Math, obj) if not iterator and _.isArray(obj)\n  result = computed: Infinity\n  _.each obj, (value, index, list) ->\n    computed = if iterator then iterator.call(context, value, index, list) else value\n    computed < result.computed and (result = {value: value, computed: computed})\n  result.value\n\n\n# Sort the object's values by a criterion produced by an iterator.\n_.sortBy = (obj, iterator, context) ->\n  _.pluck(((_.map obj, (value, index, list) ->\n    {value: value, criteria: iterator.call(context, value, index, list)}\n  ).sort((left, right) ->\n    a = left.criteria; b = right.criteria\n    if a < b then -1 else if a > b then 1 else 0\n  )), 'value')\n\n\n# Use a comparator function to figure out at what index an object should\n# be inserted so as to maintain order. Uses binary search.\n_.sortedIndex = (array, obj, iterator) ->\n  iterator ||= _.identity\n  low = 0\n  high = array.length\n  while low < high\n    mid = (low + high) >> 1\n    if iterator(array[mid]) < iterator(obj) then low = mid + 1 else high = mid\n  low\n\n\n# Convert anything iterable into a real, live array.\n_.toArray = (iterable) ->\n  return [] if (!iterable)\n  return iterable.toArray() if (iterable.toArray)\n  return iterable if (_.isArray(iterable))\n  return slice.call(iterable) if (_.isArguments(iterable))\n  _.values(iterable)\n\n\n# Return the number of elements in an object.\n_.size = (obj) -> _.toArray(obj).length\n\n\n# Array Functions\n# ---------------\n\n# Get the first element of an array. Passing `n` will return the first N\n# values in the array. Aliased as **head**. The `guard` check allows it to work\n# with **map**.\n_.first = (array, n, guard) ->\n  if n and not guard then slice.call(array, 0, n) else array[0]\n\n\n# Returns everything but the first entry of the array. Aliased as **tail**.\n# Especially useful on the arguments object. Passing an `index` will return\n# the rest of the values in the array from that index onward. The `guard`\n# check allows it to work with **map**.\n_.rest = (array, index, guard) ->\n  slice.call(array, if _.isUndefined(index) or guard then 1 else index)\n\n\n# Get the last element of an array.\n_.last = (array) -> array[array.length - 1]\n\n\n# Trim out all falsy values from an array.\n_.compact = (array) -> item for item in array when item\n\n\n# Return a completely flattened version of an array.\n_.flatten = (array) ->\n  _.reduce array, (memo, value) ->\n    return memo.concat(_.flatten(value)) if _.isArray value\n    memo.push value\n    memo\n  , []\n\n\n# Return a version of the array that does not contain the specified value(s).\n_.without = (array) ->\n  values = _.rest arguments\n  val for val in _.toArray(array) when not _.include values, val\n\n\n# Produce a duplicate-free version of the array. If the array has already\n# been sorted, you have the option of using a faster algorithm.\n_.uniq = (array, isSorted) ->\n  memo = []\n  for el, i in _.toArray array\n    memo.push el if i is 0 || (if isSorted is true then _.last(memo) isnt el else not _.include(memo, el))\n  memo\n\n\n# Produce an array that contains every item shared between all the\n# passed-in arrays.\n_.intersect = (array) ->\n  rest = _.rest arguments\n  _.select _.uniq(array), (item) ->\n    _.all rest, (other) ->\n      _.indexOf(other, item) >= 0\n\n\n# Zip together multiple lists into a single array -- elements that share\n# an index go together.\n_.zip = ->\n  length = _.max _.pluck arguments, 'length'\n  results = new Array length\n  for i in [0...length]\n    results[i] = _.pluck arguments, String i\n  results\n\n\n# If the browser doesn't supply us with **indexOf** (I'm looking at you, MSIE),\n# we need this function. Return the position of the first occurrence of an\n# item in an array, or -1 if the item is not included in the array.\n_.indexOf = (array, item) ->\n  return array.indexOf item if nativeIndexOf and array.indexOf is nativeIndexOf\n  i = 0; l = array.length\n  while l - i\n    if array[i] is item then return i else i++\n  -1\n\n\n# Provide JavaScript 1.6's **lastIndexOf**, delegating to the native function,\n# if possible.\n_.lastIndexOf = (array, item) ->\n  return array.lastIndexOf(item) if nativeLastIndexOf and array.lastIndexOf is nativeLastIndexOf\n  i = array.length\n  while i\n    if array[i] is item then return i else i--\n  -1\n\n\n# Generate an integer Array containing an arithmetic progression. A port of\n# [the native Python **range** function](http://docs.python.org/library/functions.html#range).\n_.range = (start, stop, step) ->\n  a = arguments\n  solo = a.length <= 1\n  i = start = if solo then 0 else a[0]\n  stop = if solo then a[0] else a[1]\n  step = a[2] or 1\n  len = Math.ceil((stop - start) / step)\n  return [] if len <= 0\n  range = new Array len\n  idx = 0\n  loop\n    return range if (if step > 0 then i - stop else stop - i) >= 0\n    range[idx] = i\n    idx++\n    i+= step\n\n\n# Function Functions\n# ------------------\n\n# Create a function bound to a given object (assigning `this`, and arguments,\n# optionally). Binding with arguments is also known as **curry**.\n_.bind = (func, obj) ->\n  args = _.rest arguments, 2\n  -> func.apply obj or root, args.concat arguments\n\n\n# Bind all of an object's methods to that object. Useful for ensuring that\n# all callbacks defined on an object belong to it.\n_.bindAll = (obj) ->\n  funcs = if arguments.length > 1 then _.rest(arguments) else _.functions(obj)\n  _.each funcs, (f) -> obj[f] = _.bind obj[f], obj\n  obj\n\n\n# Delays a function for the given number of milliseconds, and then calls\n# it with the arguments supplied.\n_.delay = (func, wait) ->\n  args = _.rest arguments, 2\n  setTimeout((-> func.apply(func, args)), wait)\n\n\n# Memoize an expensive function by storing its results.\n_.memoize = (func, hasher) ->\n  memo = {}\n  hasher or= _.identity\n  ->\n    key = hasher.apply this, arguments\n    return memo[key] if key of memo\n    memo[key] = func.apply this, arguments\n\n\n# Defers a function, scheduling it to run after the current call stack has\n# cleared.\n_.defer = (func) ->\n  _.delay.apply _, [func, 1].concat _.rest arguments\n\n\n# Returns the first function passed as an argument to the second,\n# allowing you to adjust arguments, run code before and after, and\n# conditionally execute the original function.\n_.wrap = (func, wrapper) ->\n  -> wrapper.apply wrapper, [func].concat arguments\n\n\n# Returns a function that is the composition of a list of functions, each\n# consuming the return value of the function that follows.\n_.compose = ->\n  funcs = arguments\n  ->\n    args = arguments\n    for i in [funcs.length - 1..0] by -1\n      args = [funcs[i].apply(this, args)]\n    args[0]\n\n\n# Object Functions\n# ----------------\n\n# Retrieve the names of an object's properties.\n_.keys = nativeKeys or (obj) ->\n  return _.range 0, obj.length if _.isArray(obj)\n  key for key, val of obj\n\n\n# Retrieve the values of an object's properties.\n_.values = (obj) ->\n  _.map obj, _.identity\n\n\n# Return a sorted list of the function names available in Underscore.\n_.functions = (obj) ->\n  _.filter(_.keys(obj), (key) -> _.isFunction(obj[key])).sort()\n\n\n# Extend a given object with all of the properties in a source object.\n_.extend = (obj) ->\n  for source in _.rest(arguments)\n    obj[key] = val for key, val of source\n  obj\n\n\n# Create a (shallow-cloned) duplicate of an object.\n_.clone = (obj) ->\n  return obj.slice 0 if _.isArray obj\n  _.extend {}, obj\n\n\n# Invokes interceptor with the obj, and then returns obj.\n# The primary purpose of this method is to \"tap into\" a method chain,\n# in order to perform operations on intermediate results within\n the chain.\n_.tap = (obj, interceptor) ->\n  interceptor obj\n  obj\n\n\n# Perform a deep comparison to check if two objects are equal.\n_.isEqual = (a, b) ->\n  # Check object identity.\n  return true if a is b\n  # Different types?\n  atype = typeof(a); btype = typeof(b)\n  return false if atype isnt btype\n  # Basic equality test (watch out for coercions).\n  return true if `a == b`\n  # One is falsy and the other truthy.\n  return false if (!a and b) or (a and !b)\n  # One of them implements an `isEqual()`?\n  return a.isEqual(b) if a.isEqual\n  # Check dates' integer values.\n  return a.getTime() is b.getTime() if _.isDate(a) and _.isDate(b)\n  # Both are NaN?\n  return false if _.isNaN(a) and _.isNaN(b)\n  # Compare regular expressions.\n  if _.isRegExp(a) and _.isRegExp(b)\n    return a.source is b.source and\n           a.global is b.global and\n           a.ignoreCase is b.ignoreCase and\n           a.multiline is b.multiline\n  # If a is not an object by this point, we can't handle it.\n  return false if atype isnt 'object'\n  # Check for different array lengths before comparing contents.\n  return false if a.length and (a.length isnt b.length)\n  # Nothing else worked, deep compare the contents.\n  aKeys = _.keys(a); bKeys = _.keys(b)\n  # Different object sizes?\n  return false if aKeys.length isnt bKeys.length\n  # Recursive comparison of contents.\n  return false for key, val of a when !(key of b) or !_.isEqual(val, b[key])\n  true\n\n\n# Is a given array or object empty?\n_.isEmpty = (obj) ->\n  return obj.length is 0 if _.isArray(obj) or _.isString(obj)\n  return false for own key of obj\n  true\n\n\n# Is a given value a DOM element?\n_.isElement = (obj) -> obj and obj.nodeType is 1\n\n\n# Is a given value an array?\n_.isArray = nativeIsArray or (obj) -> !!(obj and obj.concat and obj.unshift and not obj.callee)\n\n\n# Is a given variable an arguments object?\n_.isArguments = (obj) -> obj and obj.callee\n\n\n# Is the given value a function?\n_.isFunction = (obj) -> !!(obj and obj.constructor and obj.call and obj.apply)\n\n\n# Is the given value a string?\n_.isString = (obj) -> !!(obj is '' or (obj and obj.charCodeAt and obj.substr))\n\n\n# Is a given value a number?\n_.isNumber = (obj) -> (obj is +obj) or toString.call(obj) is '[object Number]'\n\n\n# Is a given value a boolean?\n_.isBoolean = (obj) -> obj is true or obj is false\n\n\n# Is a given value a Date?\n_.isDate = (obj) -> !!(obj and obj.getTimezoneOffset and obj.setUTCFullYear)\n\n\n# Is the given value a regular expression?\n_.isRegExp = (obj) -> !!(obj and obj.exec and (obj.ignoreCase or obj.ignoreCase is false))\n\n\n# Is the given value NaN -- this one is interesting. `NaN != NaN`, and\n# `isNaN(undefined) == true`, so we make sure it's a number first.\n_.isNaN = (obj) -> _.isNumber(obj) and window.isNaN(obj)\n\n\n# Is a given value equal to null?\n_.isNull = (obj) -> obj is null\n\n\n# Is a given variable undefined?\n_.isUndefined = (obj) -> typeof obj is 'undefined'\n\n\n# Utility Functions\n# -----------------\n\n# Run Underscore.js in noConflict mode, returning the `_` variable to its\n# previous owner. Returns a reference to the Underscore object.\n_.noConflict = ->\n  root._ = previousUnderscore\n  this\n\n\n# Keep the identity function around for default iterators.\n_.identity = (value) -> value\n\n\n# Run a function `n` times.\n_.times = (n, iterator, context) ->\n  iterator.call context, i for i in [0...n]\n\n\n# Break out of the middle of an iteration.\n_.breakLoop = -> throw breaker\n\n\n# Add your own custom functions to the Underscore object, ensuring that\n# they're correctly added to the OOP wrapper as well.\n_.mixin = (obj) ->\n  for name in _.functions(obj)\n    addToWrapper name, _[name] = obj[name]\n\n\n# Generate a unique integer id (unique within the entire client session).\n# Useful for temporary DOM ids.\nidCounter = 0\n_.uniqueId = (prefix) ->\n  (prefix or '') + idCounter++\n\n\n# By default, Underscore uses **ERB**-style template delimiters, change the\n# following template settings to use alternative delimiters.\n_.templateSettings = {\n  start: '<%'\n  end: '%>'\n  interpolate: /<%=(.+?)%>/g\n}\n\n\n# JavaScript templating a-la **ERB**, pilfered from John Resig's\n# *Secrets of the JavaScript Ninja*, page 83.\n# Single-quote fix from Rick Strahl.\n# With alterations for arbitrary delimiters, and to preserve whitespace.\n_.template = (str, data) ->\n  c = _.templateSettings\n  endMatch = new RegExp(\"'(?=[^\"+c.end.substr(0, 1)+\"]*\"+escapeRegExp(c.end)+\")\",\"g\")\n  fn = new Function 'obj',\n    'var p=[],print=function(){p.push.apply(p,arguments);};' +\n    'with(obj||{}){p.push(\\'' +\n    str.replace(/\\r/g, '\\\\r')\n       .replace(/\\n/g, '\\\\n')\n       .replace(/\\t/g, '\\\\t')\n       .replace(endMatch,\"���\")\n       .split(\"'\").join(\"\\\\'\")\n       .split(\"���\").join(\"'\")\n       .replace(c.interpolate, \"',$1,'\")\n       .split(c.start).join(\"');\")\n       .split(c.end).join(\"p.push('\") +\n       \"');}return p.join('');\"\n  if data then fn(data) else fn\n\n\n# Aliases\n# -------\n\n_.forEach = _.each\n_.foldl = _.inject = _.reduce\n_.foldr = _.reduceRight\n_.select = _.filter\n_.all = _.every\n_.any = _.some\n_.contains = _.include\n_.head = _.first\n_.tail = _.rest\n_.methods = _.functions\n\n\n# Setup the OOP Wrapper\n# ---------------------\n\n# If Underscore is called as a function, it returns a wrapped object that\n# can be used OO-style. This wrapper holds altered versions of all the\n# underscore functions. Wrapped objects may be chained.\nwrapper = (obj) ->\n  this._wrapped = obj\n  this\n\n\n# Helper function to continue chaining intermediate results.\nresult = (obj, chain) ->\n  if chain then _(obj).chain() else obj\n\n\n# A method to easily add functions to the OOP wrapper.\naddToWrapper = (name, func) ->\n  wrapper.prototype[name] = ->\n    args = _.toArray arguments\n    unshift.call args, this._wrapped\n    result func.apply(_, args), this._chain\n\n\n# Add all ofthe Underscore functions to the wrapper object.\n_.mixin _\n\n\n# Add all mutator Array functions to the wrapper.\n_.each ['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], (name) ->\n  method = Array.prototype[name]\n  wrapper.prototype[name] = ->\n    method.apply(this._wrapped, arguments)\n    result(this._wrapped, this._chain)\n\n\n# Add all accessor Array functions to the wrapper.\n_.each ['concat', 'join', 'slice'], (name) ->\n  method = Array.prototype[name]\n  wrapper.prototype[name] = ->\n    result(method.apply(this._wrapped, arguments), this._chain)\n\n\n# Start chaining a wrapped Underscore object.\nwrapper::chain = ->\n  this._chain = true\n  this\n\n\n# Extracts the result from a wrapped and chained object.\nwrapper::value = -> this._wrapped\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-coffeescript</code>.</p>\n\n    <p>The CoffeeScript mode was written by Jeff Pickhardt (<a href=\"LICENSE\">license</a>).</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/commonlisp/commonlisp.js",
    "content": "CodeMirror.defineMode(\"commonlisp\", function (config) {\n  var assumeBody = /^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/;\n  var numLiteral = /^(?:[+\\-]?(?:\\d+|\\d*\\.\\d+)(?:[efd][+\\-]?\\d+)?|[+\\-]?\\d+(?:\\/[+\\-]?\\d+)?|#b[+\\-]?[01]+|#o[+\\-]?[0-7]+|#x[+\\-]?[\\da-f]+)/;\n  var symbol = /[^\\s'`,@()\\[\\]\";]/;\n  var type;\n\n  function readSym(stream) {\n    var ch;\n    while (ch = stream.next()) {\n      if (ch == \"\\\\\") stream.next();\n      else if (!symbol.test(ch)) { stream.backUp(1); break; }\n    }\n    return stream.current();\n  }\n\n  function base(stream, state) {\n    if (stream.eatSpace()) {type = \"ws\"; return null;}\n    if (stream.match(numLiteral)) return \"number\";\n    var ch = stream.next();\n    if (ch == \"\\\\\") ch = stream.next();\n\n    if (ch == '\"') return (state.tokenize = inString)(stream, state);\n    else if (ch == \"(\") { type = \"open\"; return \"bracket\"; }\n    else if (ch == \")\" || ch == \"]\") { type = \"close\"; return \"bracket\"; }\n    else if (ch == \";\") { stream.skipToEnd(); type = \"ws\"; return \"comment\"; }\n    else if (/['`,@]/.test(ch)) return null;\n    else if (ch == \"|\") {\n      if (stream.skipTo(\"|\")) { stream.next(); return \"symbol\"; }\n      else { stream.skipToEnd(); return \"error\"; }\n    } else if (ch == \"#\") {\n      var ch = stream.next();\n      if (ch == \"[\") { type = \"open\"; return \"bracket\"; }\n      else if (/[+\\-=\\.']/.test(ch)) return null;\n      else if (/\\d/.test(ch) && stream.match(/^\\d*#/)) return null;\n      else if (ch == \"|\") return (state.tokenize = inComment)(stream, state);\n      else if (ch == \":\") { readSym(stream); return \"meta\"; }\n      else return \"error\";\n    } else {\n      var name = readSym(stream);\n      if (name == \".\") return null;\n      type = \"symbol\";\n      if (name == \"nil\" || name == \"t\") return \"atom\";\n      if (name.charAt(0) == \":\") return \"keyword\";\n      if (name.charAt(0) == \"&\") return \"variable-2\";\n      return \"variable\";\n    }\n  }\n\n  function inString(stream, state) {\n    var escaped = false, next;\n    while (next = stream.next()) {\n      if (next == '\"' && !escaped) { state.tokenize = base; break; }\n      escaped = !escaped && next == \"\\\\\";\n    }\n    return \"string\";\n  }\n\n  function inComment(stream, state) {\n    var next, last;\n    while (next = stream.next()) {\n      if (next == \"#\" && last == \"|\") { state.tokenize = base; break; }\n      last = next;\n    }\n    type = \"ws\";\n    return \"comment\";\n  }\n\n  return {\n    startState: function () {\n      return {ctx: {prev: null, start: 0, indentTo: 0}, tokenize: base};\n    },\n\n    token: function (stream, state) {\n      if (stream.sol() && typeof state.ctx.indentTo != \"number\")\n        state.ctx.indentTo = state.ctx.start + 1;\n\n      type = null;\n      var style = state.tokenize(stream, state);\n      if (type != \"ws\") {\n        if (state.ctx.indentTo == null) {\n          if (type == \"symbol\" && assumeBody.test(stream.current()))\n            state.ctx.indentTo = state.ctx.start + config.indentUnit;\n          else\n            state.ctx.indentTo = \"next\";\n        } else if (state.ctx.indentTo == \"next\") {\n          state.ctx.indentTo = stream.column();\n        }\n      }\n      if (type == \"open\") state.ctx = {prev: state.ctx, start: stream.column(), indentTo: null};\n      else if (type == \"close\") state.ctx = state.ctx.prev || state.ctx;\n      return style;\n    },\n\n    indent: function (state, _textAfter) {\n      var i = state.ctx.indentTo;\n      return typeof i == \"number\" ? i : state.ctx.start + 1;\n    },\n\n    lineComment: \";;\",\n    blockCommentStart: \"#|\",\n    blockCommentEnd: \"|#\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-common-lisp\", \"commonlisp\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/commonlisp/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Common Lisp mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"commonlisp.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Common Lisp</a>\n  </ul>\n</div>\n\n<article>\n<h2>Common Lisp mode</h2>\n<form><textarea id=\"code\" name=\"code\">(in-package :cl-postgres)\n\n;; These are used to synthesize reader and writer names for integer\n;; reading/writing functions when the amount of bytes and the\n;; signedness is known. Both the macro that creates the functions and\n;; some macros that use them create names this way.\n(eval-when (:compile-toplevel :load-toplevel :execute)\n  (defun integer-reader-name (bytes signed)\n    (intern (with-standard-io-syntax\n              (format nil \"~a~a~a~a\" '#:read- (if signed \"\" '#:u) '#:int bytes))))\n  (defun integer-writer-name (bytes signed)\n    (intern (with-standard-io-syntax\n              (format nil \"~a~a~a~a\" '#:write- (if signed \"\" '#:u) '#:int bytes)))))\n\n(defmacro integer-reader (bytes)\n  \"Create a function to read integers from a binary stream.\"\n  (let ((bits (* bytes 8)))\n    (labels ((return-form (signed)\n               (if signed\n                   `(if (logbitp ,(1- bits) result)\n                        (dpb result (byte ,(1- bits) 0) -1)\n                        result)\n                   `result))\n             (generate-reader (signed)\n               `(defun ,(integer-reader-name bytes signed) (socket)\n                  (declare (type stream socket)\n                           #.*optimize*)\n                  ,(if (= bytes 1)\n                       `(let ((result (the (unsigned-byte 8) (read-byte socket))))\n                          (declare (type (unsigned-byte 8) result))\n                          ,(return-form signed))\n                       `(let ((result 0))\n                          (declare (type (unsigned-byte ,bits) result))\n                          ,@(loop :for byte :from (1- bytes) :downto 0\n                                   :collect `(setf (ldb (byte 8 ,(* 8 byte)) result)\n                                                   (the (unsigned-byte 8) (read-byte socket))))\n                          ,(return-form signed))))))\n      `(progn\n;; This causes weird errors on SBCL in some circumstances. Disabled for now.\n;;         (declaim (inline ,(integer-reader-name bytes t)\n;;                          ,(integer-reader-name bytes nil)))\n         (declaim (ftype (function (t) (signed-byte ,bits))\n                         ,(integer-reader-name bytes t)))\n         ,(generate-reader t)\n         (declaim (ftype (function (t) (unsigned-byte ,bits))\n                         ,(integer-reader-name bytes nil)))\n         ,(generate-reader nil)))))\n\n(defmacro integer-writer (bytes)\n  \"Create a function to write integers to a binary stream.\"\n  (let ((bits (* 8 bytes)))\n    `(progn\n      (declaim (inline ,(integer-writer-name bytes t)\n                       ,(integer-writer-name bytes nil)))\n      (defun ,(integer-writer-name bytes nil) (socket value)\n        (declare (type stream socket)\n                 (type (unsigned-byte ,bits) value)\n                 #.*optimize*)\n        ,@(if (= bytes 1)\n              `((write-byte value socket))\n              (loop :for byte :from (1- bytes) :downto 0\n                    :collect `(write-byte (ldb (byte 8 ,(* byte 8)) value)\n                               socket)))\n        (values))\n      (defun ,(integer-writer-name bytes t) (socket value)\n        (declare (type stream socket)\n                 (type (signed-byte ,bits) value)\n                 #.*optimize*)\n        ,@(if (= bytes 1)\n              `((write-byte (ldb (byte 8 0) value) socket))\n              (loop :for byte :from (1- bytes) :downto 0\n                    :collect `(write-byte (ldb (byte 8 ,(* byte 8)) value)\n                               socket)))\n        (values)))))\n\n;; All the instances of the above that we need.\n\n(integer-reader 1)\n(integer-reader 2)\n(integer-reader 4)\n(integer-reader 8)\n\n(integer-writer 1)\n(integer-writer 2)\n(integer-writer 4)\n\n(defun write-bytes (socket bytes)\n  \"Write a byte-array to a stream.\"\n  (declare (type stream socket)\n           (type (simple-array (unsigned-byte 8)) bytes)\n           #.*optimize*)\n  (write-sequence bytes socket))\n\n(defun write-str (socket string)\n  \"Write a null-terminated string to a stream \\(encoding it when UTF-8\nsupport is enabled.).\"\n  (declare (type stream socket)\n           (type string string)\n           #.*optimize*)\n  (enc-write-string string socket)\n  (write-uint1 socket 0))\n\n(declaim (ftype (function (t unsigned-byte)\n                          (simple-array (unsigned-byte 8) (*)))\n                read-bytes))\n(defun read-bytes (socket length)\n  \"Read a byte array of the given length from a stream.\"\n  (declare (type stream socket)\n           (type fixnum length)\n           #.*optimize*)\n  (let ((result (make-array length :element-type '(unsigned-byte 8))))\n    (read-sequence result socket)\n    result))\n\n(declaim (ftype (function (t) string) read-str))\n(defun read-str (socket)\n  \"Read a null-terminated string from a stream. Takes care of encoding\nwhen UTF-8 support is enabled.\"\n  (declare (type stream socket)\n           #.*optimize*)\n  (enc-read-string socket :null-terminated t))\n\n(defun skip-bytes (socket length)\n  \"Skip a given number of bytes in a binary stream.\"\n  (declare (type stream socket)\n           (type (unsigned-byte 32) length)\n           #.*optimize*)\n  (dotimes (i length)\n    (read-byte socket)))\n\n(defun skip-str (socket)\n  \"Skip a null-terminated string.\"\n  (declare (type stream socket)\n           #.*optimize*)\n  (loop :for char :of-type fixnum = (read-byte socket)\n        :until (zerop char)))\n\n(defun ensure-socket-is-closed (socket &amp;key abort)\n  (when (open-stream-p socket)\n    (handler-case\n        (close socket :abort abort)\n      (error (error)\n        (warn \"Ignoring the error which happened while trying to close PostgreSQL socket: ~A\" error)))))\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {lineNumbers: true});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-common-lisp</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/css/css.js",
    "content": "CodeMirror.defineMode(\"css\", function(config, parserConfig) {\n  \"use strict\";\n\n  if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode(\"text/css\");\n\n  var indentUnit = config.indentUnit || config.tabSize || 2,\n      hooks = parserConfig.hooks || {},\n      atMediaTypes = parserConfig.atMediaTypes || {},\n      atMediaFeatures = parserConfig.atMediaFeatures || {},\n      propertyKeywords = parserConfig.propertyKeywords || {},\n      colorKeywords = parserConfig.colorKeywords || {},\n      valueKeywords = parserConfig.valueKeywords || {},\n      allowNested = !!parserConfig.allowNested,\n      type = null;\n\n  function ret(style, tp) { type = tp; return style; }\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (hooks[ch]) {\n      // result[0] is style and result[1] is type\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == \"@\") {stream.eatWhile(/[\\w\\\\\\-]/); return ret(\"def\", stream.current());}\n    else if (ch == \"=\") ret(null, \"compare\");\n    else if ((ch == \"~\" || ch == \"|\") && stream.eat(\"=\")) return ret(null, \"compare\");\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    else if (ch == \"#\") {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"atom\", \"hash\");\n    }\n    else if (ch == \"!\") {\n      stream.match(/^\\s*\\w*/);\n      return ret(\"keyword\", \"important\");\n    }\n    else if (/\\d/.test(ch) || ch == \".\" && stream.eat(/\\d/)) {\n      stream.eatWhile(/[\\w.%]/);\n      return ret(\"number\", \"unit\");\n    }\n    else if (ch === \"-\") {\n      if (/\\d/.test(stream.peek())) {\n        stream.eatWhile(/[\\w.%]/);\n        return ret(\"number\", \"unit\");\n      } else if (stream.match(/^[^-]+-/)) {\n        return ret(\"meta\", \"meta\");\n      }\n    }\n    else if (/[,+>*\\/]/.test(ch)) {\n      return ret(null, \"select-op\");\n    }\n    else if (ch == \".\" && stream.match(/^-?[_a-z][_a-z0-9-]*/i)) {\n      return ret(\"qualifier\", \"qualifier\");\n    }\n    else if (ch == \":\") {\n      return ret(\"operator\", ch);\n    }\n    else if (/[;{}\\[\\]\\(\\)]/.test(ch)) {\n      return ret(null, ch);\n    }\n    else if (ch == \"u\" && stream.match(\"rl(\")) {\n      stream.backUp(1);\n      state.tokenize = tokenParenthesized;\n      return ret(\"property\", \"variable\");\n    }\n    else {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"property\", \"variable\");\n    }\n  }\n\n  function tokenString(quote, nonInclusive) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped)\n          break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) {\n        if (nonInclusive) stream.backUp(1);\n        state.tokenize = tokenBase;\n      }\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  function tokenParenthesized(stream, state) {\n    stream.next(); // Must be '('\n    if (!stream.match(/\\s*[\\\"\\']/, false))\n      state.tokenize = tokenString(\")\", true);\n    else\n      state.tokenize = tokenBase;\n    return ret(null, \"(\");\n  }\n\n  return {\n    startState: function(base) {\n      return {tokenize: tokenBase,\n              baseIndent: base || 0,\n              stack: [],\n              lastToken: null};\n    },\n\n    token: function(stream, state) {\n\n      // Use these terms when applicable (see http://www.xanthir.com/blog/b4E50)\n      //\n      // rule** or **ruleset:\n      // A selector + braces combo, or an at-rule.\n      //\n      // declaration block:\n      // A sequence of declarations.\n      //\n      // declaration:\n      // A property + colon + value combo.\n      //\n      // property value:\n      // The entire value of a property.\n      //\n      // component value:\n      // A single piece of a property value. Like the 5px in\n      // text-shadow: 0 0 5px blue;. Can also refer to things that are\n      // multiple terms, like the 1-4 terms that make up the background-size\n      // portion of the background shorthand.\n      //\n      // term:\n      // The basic unit of author-facing CSS, like a single number (5),\n      // dimension (5px), string (\"foo\"), or function. Officially defined\n      //  by the CSS 2.1 grammar (look for the 'term' production)\n      //\n      //\n      // simple selector:\n      // A single atomic selector, like a type selector, an attr selector, a\n      // class selector, etc.\n      //\n      // compound selector:\n      // One or more simple selectors without a combinator. div.example is\n      // compound, div > .example is not.\n      //\n      // complex selector:\n      // One or more compound selectors chained with combinators.\n      //\n      // combinator:\n      // The parts of selectors that express relationships. There are four\n      // currently - the space (descendant combinator), the greater-than\n      // bracket (child combinator), the plus sign (next sibling combinator),\n      // and the tilda (following sibling combinator).\n      //\n      // sequence of selectors:\n      // One or more of the named type of selector chained with commas.\n\n      state.tokenize = state.tokenize || tokenBase;\n      if (state.tokenize == tokenBase && stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      if (style && typeof style != \"string\") style = ret(style[0], style[1]);\n\n      // Changing style returned based on context\n      var context = state.stack[state.stack.length-1];\n      if (style == \"variable\") {\n        if (type == \"variable-definition\") state.stack.push(\"propertyValue\");\n        return state.lastToken = \"variable-2\";\n      } else if (style == \"property\") {\n        var word = stream.current().toLowerCase();\n        if (context == \"propertyValue\") {\n          if (valueKeywords.hasOwnProperty(word)) {\n            style = \"string-2\";\n          } else if (colorKeywords.hasOwnProperty(word)) {\n            style = \"keyword\";\n          } else {\n            style = \"variable-2\";\n          }\n        } else if (context == \"rule\") {\n          if (!propertyKeywords.hasOwnProperty(word)) {\n            style += \" error\";\n          }\n        } else if (context == \"block\") {\n          // if a value is present in both property, value, or color, the order\n          // of preference is property -> color -> value\n          if (propertyKeywords.hasOwnProperty(word)) {\n            style = \"property\";\n          } else if (colorKeywords.hasOwnProperty(word)) {\n            style = \"keyword\";\n          } else if (valueKeywords.hasOwnProperty(word)) {\n            style = \"string-2\";\n          } else {\n            style = \"tag\";\n          }\n        } else if (!context || context == \"@media{\") {\n          style = \"tag\";\n        } else if (context == \"@media\") {\n          if (atMediaTypes[stream.current()]) {\n            style = \"attribute\"; // Known attribute\n          } else if (/^(only|not)$/.test(word)) {\n            style = \"keyword\";\n          } else if (word == \"and\") {\n            style = \"error\"; // \"and\" is only allowed in @mediaType\n          } else if (atMediaFeatures.hasOwnProperty(word)) {\n            style = \"error\"; // Known property, should be in @mediaType(\n          } else {\n            // Unknown, expecting keyword or attribute, assuming attribute\n            style = \"attribute error\";\n          }\n        } else if (context == \"@mediaType\") {\n          if (atMediaTypes.hasOwnProperty(word)) {\n            style = \"attribute\";\n          } else if (word == \"and\") {\n            style = \"operator\";\n          } else if (/^(only|not)$/.test(word)) {\n            style = \"error\"; // Only allowed in @media\n          } else {\n            // Unknown attribute or property, but expecting property (preceded\n            // by \"and\"). Should be in parentheses\n            style = \"error\";\n          }\n        } else if (context == \"@mediaType(\") {\n          if (propertyKeywords.hasOwnProperty(word)) {\n            // do nothing, remains \"property\"\n          } else if (atMediaTypes.hasOwnProperty(word)) {\n            style = \"error\"; // Known property, should be in parentheses\n          } else if (word == \"and\") {\n            style = \"operator\";\n          } else if (/^(only|not)$/.test(word)) {\n            style = \"error\"; // Only allowed in @media\n          } else {\n            style += \" error\";\n          }\n        } else if (context == \"@import\") {\n          style = \"tag\";\n        } else {\n          style = \"error\";\n        }\n      } else if (style == \"atom\") {\n        if(!context || context == \"@media{\" || context == \"block\") {\n          style = \"builtin\";\n        } else if (context == \"propertyValue\") {\n          if (!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(stream.current())) {\n            style += \" error\";\n          }\n        } else {\n          style = \"error\";\n        }\n      } else if (context == \"@media\" && type == \"{\") {\n        style = \"error\";\n      }\n\n      // Push/pop context stack\n      if (type == \"{\") {\n        if (context == \"@media\" || context == \"@mediaType\") {\n          state.stack[state.stack.length-1] = \"@media{\";\n        }\n        else {\n          var newContext = allowNested ? \"block\" : \"rule\";\n          state.stack.push(newContext);\n        }\n      }\n      else if (type == \"}\") {\n        if (context == \"interpolation\") style = \"operator\";\n        // Pop off end of array until { is reached\n        while(state.stack.length){\n          var removed = state.stack.pop();\n          if(removed.indexOf(\"{\") > -1 || removed == \"block\" || removed == \"rule\"){\n            break;\n          }\n        }\n      }\n      else if (type == \"interpolation\") state.stack.push(\"interpolation\");\n      else if (type == \"@media\") state.stack.push(\"@media\");\n      else if (type == \"@import\") state.stack.push(\"@import\");\n      else if (context == \"@media\" && /\\b(keyword|attribute)\\b/.test(style))\n        state.stack[state.stack.length-1] = \"@mediaType\";\n      else if (context == \"@mediaType\" && stream.current() == \",\")\n        state.stack[state.stack.length-1] = \"@media\";\n      else if (type == \"(\") {\n        if (context == \"@media\" || context == \"@mediaType\") {\n          // Make sure @mediaType is used to avoid error on {\n          state.stack[state.stack.length-1] = \"@mediaType\";\n          state.stack.push(\"@mediaType(\");\n        }\n        else state.stack.push(\"(\");\n      }\n      else if (type == \")\") {\n        // Pop off end of array until ( is reached\n        while(state.stack.length){\n          var removed = state.stack.pop();\n          if(removed.indexOf(\"(\") > -1){\n            break;\n          }\n        }\n      }\n      else if (type == \":\" && state.lastToken == \"property\") state.stack.push(\"propertyValue\");\n      else if (context == \"propertyValue\" && type == \";\") state.stack.pop();\n      else if (context == \"@import\" && type == \";\") state.stack.pop();\n\n      return state.lastToken = style;\n    },\n\n    indent: function(state, textAfter) {\n      var n = state.stack.length;\n      if (/^\\}/.test(textAfter))\n        n -= state.stack[n-1] == \"propertyValue\" ? 2 : 1;\n      return state.baseIndent + n * indentUnit;\n    },\n\n    electricChars: \"}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    fold: \"brace\"\n  };\n});\n\n(function() {\n  function keySet(array) {\n    var keys = {};\n    for (var i = 0; i < array.length; ++i) {\n      keys[array[i]] = true;\n    }\n    return keys;\n  }\n\n  var atMediaTypes = keySet([\n    \"all\", \"aural\", \"braille\", \"handheld\", \"print\", \"projection\", \"screen\",\n    \"tty\", \"tv\", \"embossed\"\n  ]);\n\n  var atMediaFeatures = keySet([\n    \"width\", \"min-width\", \"max-width\", \"height\", \"min-height\", \"max-height\",\n    \"device-width\", \"min-device-width\", \"max-device-width\", \"device-height\",\n    \"min-device-height\", \"max-device-height\", \"aspect-ratio\",\n    \"min-aspect-ratio\", \"max-aspect-ratio\", \"device-aspect-ratio\",\n    \"min-device-aspect-ratio\", \"max-device-aspect-ratio\", \"color\", \"min-color\",\n    \"max-color\", \"color-index\", \"min-color-index\", \"max-color-index\",\n    \"monochrome\", \"min-monochrome\", \"max-monochrome\", \"resolution\",\n    \"min-resolution\", \"max-resolution\", \"scan\", \"grid\"\n  ]);\n\n  var propertyKeywords = keySet([\n    \"align-content\", \"align-items\", \"align-self\", \"alignment-adjust\",\n    \"alignment-baseline\", \"anchor-point\", \"animation\", \"animation-delay\",\n    \"animation-direction\", \"animation-duration\", \"animation-iteration-count\",\n    \"animation-name\", \"animation-play-state\", \"animation-timing-function\",\n    \"appearance\", \"azimuth\", \"backface-visibility\", \"background\",\n    \"background-attachment\", \"background-clip\", \"background-color\",\n    \"background-image\", \"background-origin\", \"background-position\",\n    \"background-repeat\", \"background-size\", \"baseline-shift\", \"binding\",\n    \"bleed\", \"bookmark-label\", \"bookmark-level\", \"bookmark-state\",\n    \"bookmark-target\", \"border\", \"border-bottom\", \"border-bottom-color\",\n    \"border-bottom-left-radius\", \"border-bottom-right-radius\",\n    \"border-bottom-style\", \"border-bottom-width\", \"border-collapse\",\n    \"border-color\", \"border-image\", \"border-image-outset\",\n    \"border-image-repeat\", \"border-image-slice\", \"border-image-source\",\n    \"border-image-width\", \"border-left\", \"border-left-color\",\n    \"border-left-style\", \"border-left-width\", \"border-radius\", \"border-right\",\n    \"border-right-color\", \"border-right-style\", \"border-right-width\",\n    \"border-spacing\", \"border-style\", \"border-top\", \"border-top-color\",\n    \"border-top-left-radius\", \"border-top-right-radius\", \"border-top-style\",\n    \"border-top-width\", \"border-width\", \"bottom\", \"box-decoration-break\",\n    \"box-shadow\", \"box-sizing\", \"break-after\", \"break-before\", \"break-inside\",\n    \"caption-side\", \"clear\", \"clip\", \"color\", \"color-profile\", \"column-count\",\n    \"column-fill\", \"column-gap\", \"column-rule\", \"column-rule-color\",\n    \"column-rule-style\", \"column-rule-width\", \"column-span\", \"column-width\",\n    \"columns\", \"content\", \"counter-increment\", \"counter-reset\", \"crop\", \"cue\",\n    \"cue-after\", \"cue-before\", \"cursor\", \"direction\", \"display\",\n    \"dominant-baseline\", \"drop-initial-after-adjust\",\n    \"drop-initial-after-align\", \"drop-initial-before-adjust\",\n    \"drop-initial-before-align\", \"drop-initial-size\", \"drop-initial-value\",\n    \"elevation\", \"empty-cells\", \"fit\", \"fit-position\", \"flex\", \"flex-basis\",\n    \"flex-direction\", \"flex-flow\", \"flex-grow\", \"flex-shrink\", \"flex-wrap\",\n    \"float\", \"float-offset\", \"flow-from\", \"flow-into\", \"font\", \"font-feature-settings\",\n    \"font-family\", \"font-kerning\", \"font-language-override\", \"font-size\", \"font-size-adjust\",\n    \"font-stretch\", \"font-style\", \"font-synthesis\", \"font-variant\",\n    \"font-variant-alternates\", \"font-variant-caps\", \"font-variant-east-asian\",\n    \"font-variant-ligatures\", \"font-variant-numeric\", \"font-variant-position\",\n    \"font-weight\", \"grid-cell\", \"grid-column\", \"grid-column-align\",\n    \"grid-column-sizing\", \"grid-column-span\", \"grid-columns\", \"grid-flow\",\n    \"grid-row\", \"grid-row-align\", \"grid-row-sizing\", \"grid-row-span\",\n    \"grid-rows\", \"grid-template\", \"hanging-punctuation\", \"height\", \"hyphens\",\n    \"icon\", \"image-orientation\", \"image-rendering\", \"image-resolution\",\n    \"inline-box-align\", \"justify-content\", \"left\", \"letter-spacing\",\n    \"line-break\", \"line-height\", \"line-stacking\", \"line-stacking-ruby\",\n    \"line-stacking-shift\", \"line-stacking-strategy\", \"list-style\",\n    \"list-style-image\", \"list-style-position\", \"list-style-type\", \"margin\",\n    \"margin-bottom\", \"margin-left\", \"margin-right\", \"margin-top\",\n    \"marker-offset\", \"marks\", \"marquee-direction\", \"marquee-loop\",\n    \"marquee-play-count\", \"marquee-speed\", \"marquee-style\", \"max-height\",\n    \"max-width\", \"min-height\", \"min-width\", \"move-to\", \"nav-down\", \"nav-index\",\n    \"nav-left\", \"nav-right\", \"nav-up\", \"opacity\", \"order\", \"orphans\", \"outline\",\n    \"outline-color\", \"outline-offset\", \"outline-style\", \"outline-width\",\n    \"overflow\", \"overflow-style\", \"overflow-wrap\", \"overflow-x\", \"overflow-y\",\n    \"padding\", \"padding-bottom\", \"padding-left\", \"padding-right\", \"padding-top\",\n    \"page\", \"page-break-after\", \"page-break-before\", \"page-break-inside\",\n    \"page-policy\", \"pause\", \"pause-after\", \"pause-before\", \"perspective\",\n    \"perspective-origin\", \"pitch\", \"pitch-range\", \"play-during\", \"position\",\n    \"presentation-level\", \"punctuation-trim\", \"quotes\", \"region-break-after\",\n    \"region-break-before\", \"region-break-inside\", \"region-fragment\",\n    \"rendering-intent\", \"resize\", \"rest\", \"rest-after\", \"rest-before\", \"richness\",\n    \"right\", \"rotation\", \"rotation-point\", \"ruby-align\", \"ruby-overhang\",\n    \"ruby-position\", \"ruby-span\", \"shape-inside\", \"shape-outside\", \"size\",\n    \"speak\", \"speak-as\", \"speak-header\",\n    \"speak-numeral\", \"speak-punctuation\", \"speech-rate\", \"stress\", \"string-set\",\n    \"tab-size\", \"table-layout\", \"target\", \"target-name\", \"target-new\",\n    \"target-position\", \"text-align\", \"text-align-last\", \"text-decoration\",\n    \"text-decoration-color\", \"text-decoration-line\", \"text-decoration-skip\",\n    \"text-decoration-style\", \"text-emphasis\", \"text-emphasis-color\",\n    \"text-emphasis-position\", \"text-emphasis-style\", \"text-height\",\n    \"text-indent\", \"text-justify\", \"text-outline\", \"text-overflow\", \"text-shadow\",\n    \"text-size-adjust\", \"text-space-collapse\", \"text-transform\", \"text-underline-position\",\n    \"text-wrap\", \"top\", \"transform\", \"transform-origin\", \"transform-style\",\n    \"transition\", \"transition-delay\", \"transition-duration\",\n    \"transition-property\", \"transition-timing-function\", \"unicode-bidi\",\n    \"vertical-align\", \"visibility\", \"voice-balance\", \"voice-duration\",\n    \"voice-family\", \"voice-pitch\", \"voice-range\", \"voice-rate\", \"voice-stress\",\n    \"voice-volume\", \"volume\", \"white-space\", \"widows\", \"width\", \"word-break\",\n    \"word-spacing\", \"word-wrap\", \"z-index\", \"zoom\",\n    // SVG-specific\n    \"clip-path\", \"clip-rule\", \"mask\", \"enable-background\", \"filter\", \"flood-color\",\n    \"flood-opacity\", \"lighting-color\", \"stop-color\", \"stop-opacity\", \"pointer-events\",\n    \"color-interpolation\", \"color-interpolation-filters\", \"color-profile\",\n    \"color-rendering\", \"fill\", \"fill-opacity\", \"fill-rule\", \"image-rendering\",\n    \"marker\", \"marker-end\", \"marker-mid\", \"marker-start\", \"shape-rendering\", \"stroke\",\n    \"stroke-dasharray\", \"stroke-dashoffset\", \"stroke-linecap\", \"stroke-linejoin\",\n    \"stroke-miterlimit\", \"stroke-opacity\", \"stroke-width\", \"text-rendering\",\n    \"baseline-shift\", \"dominant-baseline\", \"glyph-orientation-horizontal\",\n    \"glyph-orientation-vertical\", \"kerning\", \"text-anchor\", \"writing-mode\"\n  ]);\n\n  var colorKeywords = keySet([\n    \"aliceblue\", \"antiquewhite\", \"aqua\", \"aquamarine\", \"azure\", \"beige\",\n    \"bisque\", \"black\", \"blanchedalmond\", \"blue\", \"blueviolet\", \"brown\",\n    \"burlywood\", \"cadetblue\", \"chartreuse\", \"chocolate\", \"coral\", \"cornflowerblue\",\n    \"cornsilk\", \"crimson\", \"cyan\", \"darkblue\", \"darkcyan\", \"darkgoldenrod\",\n    \"darkgray\", \"darkgreen\", \"darkkhaki\", \"darkmagenta\", \"darkolivegreen\",\n    \"darkorange\", \"darkorchid\", \"darkred\", \"darksalmon\", \"darkseagreen\",\n    \"darkslateblue\", \"darkslategray\", \"darkturquoise\", \"darkviolet\",\n    \"deeppink\", \"deepskyblue\", \"dimgray\", \"dodgerblue\", \"firebrick\",\n    \"floralwhite\", \"forestgreen\", \"fuchsia\", \"gainsboro\", \"ghostwhite\",\n    \"gold\", \"goldenrod\", \"gray\", \"grey\", \"green\", \"greenyellow\", \"honeydew\",\n    \"hotpink\", \"indianred\", \"indigo\", \"ivory\", \"khaki\", \"lavender\",\n    \"lavenderblush\", \"lawngreen\", \"lemonchiffon\", \"lightblue\", \"lightcoral\",\n    \"lightcyan\", \"lightgoldenrodyellow\", \"lightgray\", \"lightgreen\", \"lightpink\",\n    \"lightsalmon\", \"lightseagreen\", \"lightskyblue\", \"lightslategray\",\n    \"lightsteelblue\", \"lightyellow\", \"lime\", \"limegreen\", \"linen\", \"magenta\",\n    \"maroon\", \"mediumaquamarine\", \"mediumblue\", \"mediumorchid\", \"mediumpurple\",\n    \"mediumseagreen\", \"mediumslateblue\", \"mediumspringgreen\", \"mediumturquoise\",\n    \"mediumvioletred\", \"midnightblue\", \"mintcream\", \"mistyrose\", \"moccasin\",\n    \"navajowhite\", \"navy\", \"oldlace\", \"olive\", \"olivedrab\", \"orange\", \"orangered\",\n    \"orchid\", \"palegoldenrod\", \"palegreen\", \"paleturquoise\", \"palevioletred\",\n    \"papayawhip\", \"peachpuff\", \"peru\", \"pink\", \"plum\", \"powderblue\",\n    \"purple\", \"red\", \"rosybrown\", \"royalblue\", \"saddlebrown\", \"salmon\",\n    \"sandybrown\", \"seagreen\", \"seashell\", \"sienna\", \"silver\", \"skyblue\",\n    \"slateblue\", \"slategray\", \"snow\", \"springgreen\", \"steelblue\", \"tan\",\n    \"teal\", \"thistle\", \"tomato\", \"turquoise\", \"violet\", \"wheat\", \"white\",\n    \"whitesmoke\", \"yellow\", \"yellowgreen\"\n  ]);\n\n  var valueKeywords = keySet([\n    \"above\", \"absolute\", \"activeborder\", \"activecaption\", \"afar\",\n    \"after-white-space\", \"ahead\", \"alias\", \"all\", \"all-scroll\", \"alternate\",\n    \"always\", \"amharic\", \"amharic-abegede\", \"antialiased\", \"appworkspace\",\n    \"arabic-indic\", \"armenian\", \"asterisks\", \"auto\", \"avoid\", \"avoid-column\", \"avoid-page\",\n    \"avoid-region\", \"background\", \"backwards\", \"baseline\", \"below\", \"bidi-override\", \"binary\",\n    \"bengali\", \"blink\", \"block\", \"block-axis\", \"bold\", \"bolder\", \"border\", \"border-box\",\n    \"both\", \"bottom\", \"break\", \"break-all\", \"break-word\", \"button\", \"button-bevel\",\n    \"buttonface\", \"buttonhighlight\", \"buttonshadow\", \"buttontext\", \"cambodian\",\n    \"capitalize\", \"caps-lock-indicator\", \"caption\", \"captiontext\", \"caret\",\n    \"cell\", \"center\", \"checkbox\", \"circle\", \"cjk-earthly-branch\",\n    \"cjk-heavenly-stem\", \"cjk-ideographic\", \"clear\", \"clip\", \"close-quote\",\n    \"col-resize\", \"collapse\", \"column\", \"compact\", \"condensed\", \"contain\", \"content\",\n    \"content-box\", \"context-menu\", \"continuous\", \"copy\", \"cover\", \"crop\",\n    \"cross\", \"crosshair\", \"currentcolor\", \"cursive\", \"dashed\", \"decimal\",\n    \"decimal-leading-zero\", \"default\", \"default-button\", \"destination-atop\",\n    \"destination-in\", \"destination-out\", \"destination-over\", \"devanagari\",\n    \"disc\", \"discard\", \"document\", \"dot-dash\", \"dot-dot-dash\", \"dotted\",\n    \"double\", \"down\", \"e-resize\", \"ease\", \"ease-in\", \"ease-in-out\", \"ease-out\",\n    \"element\", \"ellipse\", \"ellipsis\", \"embed\", \"end\", \"ethiopic\", \"ethiopic-abegede\",\n    \"ethiopic-abegede-am-et\", \"ethiopic-abegede-gez\", \"ethiopic-abegede-ti-er\",\n    \"ethiopic-abegede-ti-et\", \"ethiopic-halehame-aa-er\",\n    \"ethiopic-halehame-aa-et\", \"ethiopic-halehame-am-et\",\n    \"ethiopic-halehame-gez\", \"ethiopic-halehame-om-et\",\n    \"ethiopic-halehame-sid-et\", \"ethiopic-halehame-so-et\",\n    \"ethiopic-halehame-ti-er\", \"ethiopic-halehame-ti-et\",\n    \"ethiopic-halehame-tig\", \"ew-resize\", \"expanded\", \"extra-condensed\",\n    \"extra-expanded\", \"fantasy\", \"fast\", \"fill\", \"fixed\", \"flat\", \"footnotes\",\n    \"forwards\", \"from\", \"geometricPrecision\", \"georgian\", \"graytext\", \"groove\",\n    \"gujarati\", \"gurmukhi\", \"hand\", \"hangul\", \"hangul-consonant\", \"hebrew\",\n    \"help\", \"hidden\", \"hide\", \"higher\", \"highlight\", \"highlighttext\",\n    \"hiragana\", \"hiragana-iroha\", \"horizontal\", \"hsl\", \"hsla\", \"icon\", \"ignore\",\n    \"inactiveborder\", \"inactivecaption\", \"inactivecaptiontext\", \"infinite\",\n    \"infobackground\", \"infotext\", \"inherit\", \"initial\", \"inline\", \"inline-axis\",\n    \"inline-block\", \"inline-table\", \"inset\", \"inside\", \"intrinsic\", \"invert\",\n    \"italic\", \"justify\", \"kannada\", \"katakana\", \"katakana-iroha\", \"keep-all\", \"khmer\",\n    \"landscape\", \"lao\", \"large\", \"larger\", \"left\", \"level\", \"lighter\",\n    \"line-through\", \"linear\", \"lines\", \"list-item\", \"listbox\", \"listitem\",\n    \"local\", \"logical\", \"loud\", \"lower\", \"lower-alpha\", \"lower-armenian\",\n    \"lower-greek\", \"lower-hexadecimal\", \"lower-latin\", \"lower-norwegian\",\n    \"lower-roman\", \"lowercase\", \"ltr\", \"malayalam\", \"match\",\n    \"media-controls-background\", \"media-current-time-display\",\n    \"media-fullscreen-button\", \"media-mute-button\", \"media-play-button\",\n    \"media-return-to-realtime-button\", \"media-rewind-button\",\n    \"media-seek-back-button\", \"media-seek-forward-button\", \"media-slider\",\n    \"media-sliderthumb\", \"media-time-remaining-display\", \"media-volume-slider\",\n    \"media-volume-slider-container\", \"media-volume-sliderthumb\", \"medium\",\n    \"menu\", \"menulist\", \"menulist-button\", \"menulist-text\",\n    \"menulist-textfield\", \"menutext\", \"message-box\", \"middle\", \"min-intrinsic\",\n    \"mix\", \"mongolian\", \"monospace\", \"move\", \"multiple\", \"myanmar\", \"n-resize\",\n    \"narrower\", \"ne-resize\", \"nesw-resize\", \"no-close-quote\", \"no-drop\",\n    \"no-open-quote\", \"no-repeat\", \"none\", \"normal\", \"not-allowed\", \"nowrap\",\n    \"ns-resize\", \"nw-resize\", \"nwse-resize\", \"oblique\", \"octal\", \"open-quote\",\n    \"optimizeLegibility\", \"optimizeSpeed\", \"oriya\", \"oromo\", \"outset\",\n    \"outside\", \"outside-shape\", \"overlay\", \"overline\", \"padding\", \"padding-box\",\n    \"painted\", \"page\", \"paused\", \"persian\", \"plus-darker\", \"plus-lighter\", \"pointer\",\n    \"polygon\", \"portrait\", \"pre\", \"pre-line\", \"pre-wrap\", \"preserve-3d\", \"progress\", \"push-button\",\n    \"radio\", \"read-only\", \"read-write\", \"read-write-plaintext-only\", \"rectangle\", \"region\",\n    \"relative\", \"repeat\", \"repeat-x\", \"repeat-y\", \"reset\", \"reverse\", \"rgb\", \"rgba\",\n    \"ridge\", \"right\", \"round\", \"row-resize\", \"rtl\", \"run-in\", \"running\",\n    \"s-resize\", \"sans-serif\", \"scroll\", \"scrollbar\", \"se-resize\", \"searchfield\",\n    \"searchfield-cancel-button\", \"searchfield-decoration\",\n    \"searchfield-results-button\", \"searchfield-results-decoration\",\n    \"semi-condensed\", \"semi-expanded\", \"separate\", \"serif\", \"show\", \"sidama\",\n    \"single\", \"skip-white-space\", \"slide\", \"slider-horizontal\",\n    \"slider-vertical\", \"sliderthumb-horizontal\", \"sliderthumb-vertical\", \"slow\",\n    \"small\", \"small-caps\", \"small-caption\", \"smaller\", \"solid\", \"somali\",\n    \"source-atop\", \"source-in\", \"source-out\", \"source-over\", \"space\", \"square\",\n    \"square-button\", \"start\", \"static\", \"status-bar\", \"stretch\", \"stroke\",\n    \"sub\", \"subpixel-antialiased\", \"super\", \"sw-resize\", \"table\",\n    \"table-caption\", \"table-cell\", \"table-column\", \"table-column-group\",\n    \"table-footer-group\", \"table-header-group\", \"table-row\", \"table-row-group\",\n    \"telugu\", \"text\", \"text-bottom\", \"text-top\", \"textarea\", \"textfield\", \"thai\",\n    \"thick\", \"thin\", \"threeddarkshadow\", \"threedface\", \"threedhighlight\",\n    \"threedlightshadow\", \"threedshadow\", \"tibetan\", \"tigre\", \"tigrinya-er\",\n    \"tigrinya-er-abegede\", \"tigrinya-et\", \"tigrinya-et-abegede\", \"to\", \"top\",\n    \"transparent\", \"ultra-condensed\", \"ultra-expanded\", \"underline\", \"up\",\n    \"upper-alpha\", \"upper-armenian\", \"upper-greek\", \"upper-hexadecimal\",\n    \"upper-latin\", \"upper-norwegian\", \"upper-roman\", \"uppercase\", \"urdu\", \"url\",\n    \"vertical\", \"vertical-text\", \"visible\", \"visibleFill\", \"visiblePainted\",\n    \"visibleStroke\", \"visual\", \"w-resize\", \"wait\", \"wave\", \"wider\",\n    \"window\", \"windowframe\", \"windowtext\", \"x-large\", \"x-small\", \"xor\",\n    \"xx-large\", \"xx-small\"\n  ]);\n\n  function tokenCComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (maybeEnd && ch == \"/\") {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return [\"comment\", \"comment\"];\n  }\n\n  CodeMirror.defineMIME(\"text/css\", {\n    atMediaTypes: atMediaTypes,\n    atMediaFeatures: atMediaFeatures,\n    propertyKeywords: propertyKeywords,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    hooks: {\n      \"<\": function(stream, state) {\n        function tokenSGMLComment(stream, state) {\n          var dashes = 0, ch;\n          while ((ch = stream.next()) != null) {\n            if (dashes >= 2 && ch == \">\") {\n              state.tokenize = null;\n              break;\n            }\n            dashes = (ch == \"-\") ? dashes + 1 : 0;\n          }\n          return [\"comment\", \"comment\"];\n        }\n        if (stream.eat(\"!\")) {\n          state.tokenize = tokenSGMLComment;\n          return tokenSGMLComment(stream, state);\n        }\n      },\n      \"/\": function(stream, state) {\n        if (stream.eat(\"*\")) {\n          state.tokenize = tokenCComment;\n          return tokenCComment(stream, state);\n        }\n        return false;\n      }\n    },\n    name: \"css\"\n  });\n\n  CodeMirror.defineMIME(\"text/x-scss\", {\n    atMediaTypes: atMediaTypes,\n    atMediaFeatures: atMediaFeatures,\n    propertyKeywords: propertyKeywords,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    allowNested: true,\n    hooks: {\n      \":\": function(stream) {\n        if (stream.match(/\\s*{/)) {\n          return [null, \"{\"];\n        }\n        return false;\n      },\n      \"$\": function(stream) {\n        stream.match(/^[\\w-]+/);\n        if (stream.peek() == \":\") {\n          return [\"variable\", \"variable-definition\"];\n        }\n        return [\"variable\", \"variable\"];\n      },\n      \",\": function(stream, state) {\n        if (state.stack[state.stack.length - 1] == \"propertyValue\" && stream.match(/^ *\\$/, false)) {\n          return [\"operator\", \";\"];\n        }\n      },\n      \"/\": function(stream, state) {\n        if (stream.eat(\"/\")) {\n          stream.skipToEnd();\n          return [\"comment\", \"comment\"];\n        } else if (stream.eat(\"*\")) {\n          state.tokenize = tokenCComment;\n          return tokenCComment(stream, state);\n        } else {\n          return [\"operator\", \"operator\"];\n        }\n      },\n      \"#\": function(stream) {\n        if (stream.eat(\"{\")) {\n          return [\"operator\", \"interpolation\"];\n        } else {\n          stream.eatWhile(/[\\w\\\\\\-]/);\n          return [\"atom\", \"hash\"];\n        }\n      }\n    },\n    name: \"css\"\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/css/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: CSS mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"css.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">CSS</a>\n  </ul>\n</div>\n\n<article>\n<h2>CSS mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/* Some example CSS */\n\n@import url(\"something.css\");\n\nbody {\n  margin: 0;\n  padding: 3em 6em;\n  font-family: tahoma, arial, sans-serif;\n  color: #000;\n}\n\n#navigation a {\n  font-weight: bold;\n  text-decoration: none !important;\n}\n\nh1 {\n  font-size: 2.5em;\n}\n\nh2 {\n  font-size: 1.7em;\n}\n\nh1:before, h2:before {\n  content: \"::\";\n}\n\ncode {\n  font-family: courier, monospace;\n  font-size: 80%;\n  color: #418A8A;\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/css</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#css_*\">normal</a>,  <a href=\"../../test/index.html#verbose,css_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/css/scss.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: SCSS mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"css.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">SCSS</a>\n  </ul>\n</div>\n\n<article>\n<h2>SCSS mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/* Some example SCSS */\n\n@import \"compass/css3\";\n$variable: #333;\n\n$blue: #3bbfce;\n$margin: 16px;\n\n.content-navigation {\n  #nested {\n    background-color: black;\n  }\n  border-color: $blue;\n  color:\n    darken($blue, 9%);\n}\n\n.border {\n  padding: $margin / 2;\n  margin: $margin / 2;\n  border-color: $blue;\n}\n\n@mixin table-base {\n  th {\n    text-align: center;\n    font-weight: bold;\n  }\n  td, th {padding: 2px}\n}\n\ntable.hl {\n  margin: 2em 0;\n  td.ln {\n    text-align: right;\n  }\n}\n\nli {\n  font: {\n    family: serif;\n    weight: bold;\n    size: 1.2em;\n  }\n}\n\n@mixin left($dist) {\n  float: left;\n  margin-left: $dist;\n}\n\n#data {\n  @include left(10px);\n  @include table-base;\n}\n\n.source {\n  @include flow-into(target);\n  border: 10px solid green;\n  margin: 20px;\n  width: 200px; }\n\n.new-container {\n  @include flow-from(target);\n  border: 10px solid red;\n  margin: 20px;\n  width: 200px; }\n\nbody {\n  margin: 0;\n  padding: 3em 6em;\n  font-family: tahoma, arial, sans-serif;\n  color: #000;\n}\n\n@mixin yellow() {\n  background: yellow;\n}\n\n.big {\n  font-size: 14px;\n}\n\n.nested {\n  @include border-radius(3px);\n  @extend .big;\n  p {\n    background: whitesmoke;\n    a {\n      color: red;\n    }\n  }\n}\n\n#navigation a {\n  font-weight: bold;\n  text-decoration: none !important;\n}\n\nh1 {\n  font-size: 2.5em;\n}\n\nh2 {\n  font-size: 1.7em;\n}\n\nh1:before, h2:before {\n  content: \"::\";\n}\n\ncode {\n  font-family: courier, monospace;\n  font-size: 80%;\n  color: #418A8A;\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-scss\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/scss</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#scss_*\">normal</a>,  <a href=\"../../test/index.html#verbose,scss_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/css/scss_test.js",
    "content": "(function() {\n  var mode = CodeMirror.getMode({tabSize: 1}, \"text/x-scss\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), \"scss\"); }\n  function IT(name) { test.indentation(name, mode, Array.prototype.slice.call(arguments, 1), \"scss\"); }\n\n  MT('url_with_quotation',\n    \"[tag foo] { [property background][operator :][string-2 url]([string test.jpg]) }\");\n\n  MT('url_with_double_quotes',\n    \"[tag foo] { [property background][operator :][string-2 url]([string \\\"test.jpg\\\"]) }\");\n\n  MT('url_with_single_quotes',\n    \"[tag foo] { [property background][operator :][string-2 url]([string \\'test.jpg\\']) }\");\n\n  MT('string',\n    \"[def @import] [string \\\"compass/css3\\\"]\");\n\n  MT('important_keyword',\n    \"[tag foo] { [property background][operator :][string-2 url]([string \\'test.jpg\\']) [keyword !important] }\");\n\n  MT('variable',\n    \"[variable-2 $blue][operator :][atom #333]\");\n\n  MT('variable_as_attribute',\n    \"[tag foo] { [property color][operator :][variable-2 $blue] }\");\n\n  MT('numbers',\n    \"[tag foo] { [property padding][operator :][number 10px] [number 10] [number 10em] [number 8in] }\");\n\n  MT('number_percentage',\n    \"[tag foo] { [property width][operator :][number 80%] }\");\n\n  MT('selector',\n    \"[builtin #hello][qualifier .world]{}\");\n\n  MT('singleline_comment',\n    \"[comment // this is a comment]\");\n\n  MT('multiline_comment',\n    \"[comment /*foobar*/]\");\n\n  MT('attribute_with_hyphen',\n    \"[tag foo] { [property font-size][operator :][number 10px] }\");\n\n  MT('string_after_attribute',\n    \"[tag foo] { [property content][operator :][string \\\"::\\\"] }\");\n\n  MT('directives',\n    \"[def @include] [qualifier .mixin]\");\n\n  MT('basic_structure',\n    \"[tag p] { [property background][operator :][keyword red]; }\");\n\n  MT('nested_structure',\n    \"[tag p] { [tag a] { [property color][operator :][keyword red]; } }\");\n\n  MT('mixin',\n    \"[def @mixin] [tag table-base] {}\");\n\n  MT('number_without_semicolon',\n    \"[tag p] {[property width][operator :][number 12]}\",\n    \"[tag a] {[property color][operator :][keyword red];}\");\n\n  MT('atom_in_nested_block',\n    \"[tag p] { [tag a] { [property color][operator :][atom #000]; } }\");\n\n  MT('interpolation_in_property',\n    \"[tag foo] { [operator #{][variable-2 $hello][operator }:][number 2]; }\");\n\n  MT('interpolation_in_selector',\n    \"[tag foo][operator #{][variable-2 $hello][operator }] { [property color][operator :][atom #000]; }\");\n\n  MT('interpolation_error',\n    \"[tag foo][operator #{][error foo][operator }] { [property color][operator :][atom #000]; }\");\n\n  MT(\"divide_operator\",\n    \"[tag foo] { [property width][operator :][number 4] [operator /] [number 2] }\");\n\n  MT('nested_structure_with_id_selector',\n    \"[tag p] { [builtin #hello] { [property color][operator :][keyword red]; } }\");\n\n  IT('mixin',\n    \"@mixin container[1 (][2 $a: 10][1 , ][2 $b: 10][1 , ][2 $c: 10]) [1 {]}\");\n\n  IT('nested',\n    \"foo [1 { bar ][2 { ][1 } ]}\");\n\n  IT('comma',\n    \"foo [1 { font-family][2 : verdana, sans-serif][1 ; ]}\");\n\n  IT('parentheses',\n    \"foo [1 { color][2 : darken][3 ($blue, 9%][2 )][1 ; ]}\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/css/test.js",
    "content": "(function() {\n  var mode = CodeMirror.getMode({tabSize: 1}, \"css\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n  function IT(name) { test.indentation(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  // Requires at least one media query\n  MT(\"atMediaEmpty\",\n     \"[def @media] [error {] }\");\n\n  MT(\"atMediaMultiple\",\n     \"[def @media] [keyword not] [attribute screen] [operator and] ([property color]), [keyword not] [attribute print] [operator and] ([property color]) { }\");\n\n  MT(\"atMediaCheckStack\",\n     \"[def @media] [attribute screen] { } [tag foo] { }\");\n\n  MT(\"atMediaCheckStack\",\n     \"[def @media] [attribute screen] ([property color]) { } [tag foo] { }\");\n\n  MT(\"atMediaPropertyOnly\",\n     \"[def @media] ([property color]) { } [tag foo] { }\");\n\n  MT(\"atMediaCheckStackInvalidAttribute\",\n     \"[def @media] [attribute&error foobarhello] { [tag foo] { } }\");\n\n  MT(\"atMediaCheckStackInvalidAttribute\",\n     \"[def @media] [attribute&error foobarhello] { } [tag foo] { }\");\n\n  // Error, because \"and\" is only allowed immediately preceding a media expression\n  MT(\"atMediaInvalidAttribute\",\n     \"[def @media] [attribute&error foobarhello] { }\");\n\n  // Error, because \"and\" is only allowed immediately preceding a media expression\n  MT(\"atMediaInvalidAnd\",\n     \"[def @media] [error and] [attribute screen] { }\");\n\n  // Error, because \"not\" is only allowed as the first item in each media query\n  MT(\"atMediaInvalidNot\",\n     \"[def @media] [attribute screen] [error not] ([error not]) { }\");\n\n  // Error, because \"only\" is only allowed as the first item in each media query\n  MT(\"atMediaInvalidOnly\",\n     \"[def @media] [attribute screen] [error only] ([error only]) { }\");\n\n  // Error, because \"foobarhello\" is neither a known type or property, but\n  // property was expected (after \"and\"), and it should be in parenthese.\n  MT(\"atMediaUnknownType\",\n     \"[def @media] [attribute screen] [operator and] [error foobarhello] { }\");\n\n  // Error, because \"color\" is not a known type, but is a known property, and\n  // should be in parentheses.\n  MT(\"atMediaInvalidType\",\n     \"[def @media] [attribute screen] [operator and] [error color] { }\");\n\n  // Error, because \"print\" is not a known property, but is a known type,\n  // and should not be in parenthese.\n  MT(\"atMediaInvalidProperty\",\n     \"[def @media] [attribute screen] [operator and] ([error print]) { }\");\n\n  // Soft error, because \"foobarhello\" is not a known property or type.\n  MT(\"atMediaUnknownProperty\",\n     \"[def @media] [attribute screen] [operator and] ([property&error foobarhello]) { }\");\n\n  // Make sure nesting works with media queries\n  MT(\"atMediaMaxWidthNested\",\n     \"[def @media] [attribute screen] [operator and] ([property max-width][operator :] [number 25px]) { [tag foo] { } }\");\n\n  MT(\"tagSelector\",\n     \"[tag foo] { }\");\n\n  MT(\"classSelector\",\n     \"[qualifier .foo-bar_hello] { }\");\n\n  MT(\"idSelector\",\n     \"[builtin #foo] { [error #foo] }\");\n\n  MT(\"tagSelectorUnclosed\",\n     \"[tag foo] { [property margin][operator :] [number 0] } [tag bar] { }\");\n\n  MT(\"tagStringNoQuotes\",\n     \"[tag foo] { [property font-family][operator :] [variable-2 hello] [variable-2 world]; }\");\n\n  MT(\"tagStringDouble\",\n     \"[tag foo] { [property font-family][operator :] [string \\\"hello world\\\"]; }\");\n\n  MT(\"tagStringSingle\",\n     \"[tag foo] { [property font-family][operator :] [string 'hello world']; }\");\n\n  MT(\"tagColorKeyword\",\n     \"[tag foo] {\" +\n       \"[property color][operator :] [keyword black];\" +\n       \"[property color][operator :] [keyword navy];\" +\n       \"[property color][operator :] [keyword yellow];\" +\n       \"}\");\n\n  MT(\"tagColorHex3\",\n     \"[tag foo] { [property background][operator :] [atom #fff]; }\");\n\n  MT(\"tagColorHex6\",\n     \"[tag foo] { [property background][operator :] [atom #ffffff]; }\");\n\n  MT(\"tagColorHex4\",\n     \"[tag foo] { [property background][operator :] [atom&error #ffff]; }\");\n\n  MT(\"tagColorHexInvalid\",\n     \"[tag foo] { [property background][operator :] [atom&error #ffg]; }\");\n\n  MT(\"tagNegativeNumber\",\n     \"[tag foo] { [property margin][operator :] [number -5px]; }\");\n\n  MT(\"tagPositiveNumber\",\n     \"[tag foo] { [property padding][operator :] [number 5px]; }\");\n\n  MT(\"tagVendor\",\n     \"[tag foo] { [meta -foo-][property box-sizing][operator :] [meta -foo-][string-2 border-box]; }\");\n\n  MT(\"tagBogusProperty\",\n     \"[tag foo] { [property&error barhelloworld][operator :] [number 0]; }\");\n\n  MT(\"tagTwoProperties\",\n     \"[tag foo] { [property margin][operator :] [number 0]; [property padding][operator :] [number 0]; }\");\n\n  MT(\"tagTwoPropertiesURL\",\n     \"[tag foo] { [property background][operator :] [string-2 url]([string //example.com/foo.png]); [property padding][operator :] [number 0]; }\");\n\n  MT(\"commentSGML\",\n     \"[comment <!--comment-->]\");\n\n  IT(\"tagSelector\",\n    \"strong, em [1 { background][2 : rgba][3 (255, 255, 0, .2][2 )][1 ;]}\");\n\n  IT(\"atMedia\",\n    \"[1 @media { foo ][2 { ][1 } ]}\");\n\n  IT(\"comma\",\n    \"foo [1 { font-family][2 : verdana, sans-serif][1 ; ]}\");\n\n  IT(\"parentheses\",\n    \"foo [1 { background][2 : url][3 (\\\"bar\\\"][2 )][1 ; ]}\");\n\n  IT(\"pseudo\",\n    \"foo:before [1 { ]}\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/d/d.js",
    "content": "CodeMirror.defineMode(\"d\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit,\n      statementIndentUnit = parserConfig.statementIndentUnit || indentUnit,\n      keywords = parserConfig.keywords || {},\n      builtin = parserConfig.builtin || {},\n      blockKeywords = parserConfig.blockKeywords || {},\n      atoms = parserConfig.atoms || {},\n      hooks = parserConfig.hooks || {},\n      multiLineStrings = parserConfig.multiLineStrings;\n  var isOperatorChar = /[+\\-*&%=<>!?|\\/]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == '\"' || ch == \"'\" || ch == \"`\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"+\")) {\n        state.tokenize = tokenComment;\n        return tokenNestedComment(stream, state);\n      }\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    }\n    if (builtin.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"builtin\";\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = null;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function tokenNestedComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"+\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    var indent = state.indented;\n    if (state.context && state.context.type == \"statement\")\n      indent = state.context.indented;\n    return state.context = new Context(indent, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\" || curPunc == \",\") && ctx.type == \"statement\") popContext(state);\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (((ctx.type == \"}\" || ctx.type == \"top\") && curPunc != ';') || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass;\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"statement\" && firstChar == \"}\") ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : statementIndentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\n(function() {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  var blockKeywords = \"body catch class do else enum for foreach foreach_reverse if in interface mixin \" +\n                      \"out scope struct switch try union unittest version while with\";\n\n  CodeMirror.defineMIME(\"text/x-d\", {\n    name: \"d\",\n    keywords: words(\"abstract alias align asm assert auto break case cast cdouble cent cfloat const continue \" +\n                    \"debug default delegate delete deprecated export extern final finally function goto immutable \" +\n                    \"import inout invariant is lazy macro module new nothrow override package pragma private \" +\n                    \"protected public pure ref return shared short static super synchronized template this \" +\n                    \"throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters \" +\n                    blockKeywords),\n    blockKeywords: words(blockKeywords),\n    builtin: words(\"bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte \" +\n                   \"ucent uint ulong ushort wchar wstring void size_t sizediff_t\"),\n    atoms: words(\"exit failure success true false null\"),\n    hooks: {\n      \"@\": function(stream, _state) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"meta\";\n      }\n    }\n  });\n}());\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/d/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: D mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"d.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">D</a>\n  </ul>\n</div>\n\n<article>\n<h2>D mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/* D demo code // copied from phobos/sd/metastrings.d */\n// Written in the D programming language.\n\n/**\nTemplates with which to do compile-time manipulation of strings.\n\nMacros:\n WIKI = Phobos/StdMetastrings\n\nCopyright: Copyright Digital Mars 2007 - 2009.\nLicense:   <a href=\"http://www.boost.org/LICENSE_1_0.txt\">Boost License 1.0</a>.\nAuthors:   $(WEB digitalmars.com, Walter Bright),\n           Don Clugston\nSource:    $(PHOBOSSRC std/_metastrings.d)\n*/\n/*\n         Copyright Digital Mars 2007 - 2009.\nDistributed under the Boost Software License, Version 1.0.\n   (See accompanying file LICENSE_1_0.txt or copy at\n         http://www.boost.org/LICENSE_1_0.txt)\n */\nmodule std.metastrings;\n\n/**\nFormats constants into a string at compile time.  Analogous to $(XREF\nstring,format).\n\nParameters:\n\nA = tuple of constants, which can be strings, characters, or integral\n    values.\n\nFormats:\n *    The formats supported are %s for strings, and %%\n *    for the % character.\nExample:\n---\nimport std.metastrings;\nimport std.stdio;\n\nvoid main()\n{\n  string s = Format!(\"Arg %s = %s\", \"foo\", 27);\n  writefln(s); // \"Arg foo = 27\"\n}\n * ---\n */\n\ntemplate Format(A...)\n{\n    static if (A.length == 0)\n        enum Format = \"\";\n    else static if (is(typeof(A[0]) : const(char)[]))\n        enum Format = FormatString!(A[0], A[1..$]);\n    else\n        enum Format = toStringNow!(A[0]) ~ Format!(A[1..$]);\n}\n\ntemplate FormatString(const(char)[] F, A...)\n{\n    static if (F.length == 0)\n        enum FormatString = Format!(A);\n    else static if (F.length == 1)\n        enum FormatString = F[0] ~ Format!(A);\n    else static if (F[0..2] == \"%s\")\n        enum FormatString\n            = toStringNow!(A[0]) ~ FormatString!(F[2..$],A[1..$]);\n    else static if (F[0..2] == \"%%\")\n        enum FormatString = \"%\" ~ FormatString!(F[2..$],A);\n    else\n    {\n        static assert(F[0] != '%', \"unrecognized format %\" ~ F[1]);\n        enum FormatString = F[0] ~ FormatString!(F[1..$],A);\n    }\n}\n\nunittest\n{\n    auto s = Format!(\"hel%slo\", \"world\", -138, 'c', true);\n    assert(s == \"helworldlo-138ctrue\", \"[\" ~ s ~ \"]\");\n}\n\n/**\n * Convert constant argument to a string.\n */\n\ntemplate toStringNow(ulong v)\n{\n    static if (v < 10)\n        enum toStringNow = \"\" ~ cast(char)(v + '0');\n    else\n        enum toStringNow = toStringNow!(v / 10) ~ toStringNow!(v % 10);\n}\n\nunittest\n{\n    static assert(toStringNow!(1uL << 62) == \"4611686018427387904\");\n}\n\n/// ditto\ntemplate toStringNow(long v)\n{\n    static if (v < 0)\n        enum toStringNow = \"-\" ~ toStringNow!(cast(ulong) -v);\n    else\n        enum toStringNow = toStringNow!(cast(ulong) v);\n}\n\nunittest\n{\n    static assert(toStringNow!(0x100000000) == \"4294967296\");\n    static assert(toStringNow!(-138L) == \"-138\");\n}\n\n/// ditto\ntemplate toStringNow(uint U)\n{\n    enum toStringNow = toStringNow!(cast(ulong)U);\n}\n\n/// ditto\ntemplate toStringNow(int I)\n{\n    enum toStringNow = toStringNow!(cast(long)I);\n}\n\n/// ditto\ntemplate toStringNow(bool B)\n{\n    enum toStringNow = B ? \"true\" : \"false\";\n}\n\n/// ditto\ntemplate toStringNow(string S)\n{\n    enum toStringNow = S;\n}\n\n/// ditto\ntemplate toStringNow(char C)\n{\n    enum toStringNow = \"\" ~ C;\n}\n\n\n/********\n * Parse unsigned integer literal from the start of string s.\n * returns:\n *    .value = the integer literal as a string,\n *    .rest = the string following the integer literal\n * Otherwise:\n *    .value = null,\n *    .rest = s\n */\n\ntemplate parseUinteger(const(char)[] s)\n{\n    static if (s.length == 0)\n    {\n        enum value = \"\";\n        enum rest = \"\";\n    }\n    else static if (s[0] >= '0' && s[0] <= '9')\n    {\n        enum value = s[0] ~ parseUinteger!(s[1..$]).value;\n        enum rest = parseUinteger!(s[1..$]).rest;\n    }\n    else\n    {\n        enum value = \"\";\n        enum rest = s;\n    }\n}\n\n/********\nParse integer literal optionally preceded by $(D '-') from the start\nof string $(D s).\n\nReturns:\n   .value = the integer literal as a string,\n   .rest = the string following the integer literal\n\nOtherwise:\n   .value = null,\n   .rest = s\n*/\n\ntemplate parseInteger(const(char)[] s)\n{\n    static if (s.length == 0)\n    {\n        enum value = \"\";\n        enum rest = \"\";\n    }\n    else static if (s[0] >= '0' && s[0] <= '9')\n    {\n        enum value = s[0] ~ parseUinteger!(s[1..$]).value;\n        enum rest = parseUinteger!(s[1..$]).rest;\n    }\n    else static if (s.length >= 2 &&\n            s[0] == '-' && s[1] >= '0' && s[1] <= '9')\n    {\n        enum value = s[0..2] ~ parseUinteger!(s[2..$]).value;\n        enum rest = parseUinteger!(s[2..$]).rest;\n    }\n    else\n    {\n        enum value = \"\";\n        enum rest = s;\n    }\n}\n\nunittest\n{\n    assert(parseUinteger!(\"1234abc\").value == \"1234\");\n    assert(parseUinteger!(\"1234abc\").rest == \"abc\");\n    assert(parseInteger!(\"-1234abc\").value == \"-1234\");\n    assert(parseInteger!(\"-1234abc\").rest == \"abc\");\n}\n\n/**\nDeprecated aliases held for backward compatibility.\n*/\ndeprecated alias toStringNow ToString;\n/// Ditto\ndeprecated alias parseUinteger ParseUinteger;\n/// Ditto\ndeprecated alias parseUinteger ParseInteger;\n\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        indentUnit: 4,\n        mode: \"text/x-d\"\n      });\n    </script>\n\n    <p>Simple mode that handle D-Syntax (<a href=\"http://www.dlang.org\">DLang Homepage</a>).</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-d</code>\n    .</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/diff/diff.js",
    "content": "CodeMirror.defineMode(\"diff\", function() {\n\n  var TOKEN_NAMES = {\n    '+': 'positive',\n    '-': 'negative',\n    '@': 'meta'\n  };\n\n  return {\n    token: function(stream) {\n      var tw_pos = stream.string.search(/[\\t ]+?$/);\n\n      if (!stream.sol() || tw_pos === 0) {\n        stream.skipToEnd();\n        return (\"error \" + (\n          TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, '');\n      }\n\n      var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd();\n\n      if (tw_pos === -1) {\n        stream.skipToEnd();\n      } else {\n        stream.pos = tw_pos;\n      }\n\n      return token_name;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-diff\", \"diff\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/diff/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Diff mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"diff.js\"></script>\n<style>\n      .CodeMirror {border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}\n      span.cm-meta {color: #a0b !important;}\n      span.cm-error { background-color: black; opacity: 0.4;}\n      span.cm-error.cm-string { background-color: red; }\n      span.cm-error.cm-tag { background-color: #2b2; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Diff</a>\n  </ul>\n</div>\n\n<article>\n<h2>Diff mode</h2>\n<form><textarea id=\"code\" name=\"code\">\ndiff --git a/index.html b/index.html\nindex c1d9156..7764744 100644\n--- a/index.html\n+++ b/index.html\n@@ -95,7 +95,8 @@ StringStream.prototype = {\n     <script>\n       var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n         lineNumbers: true,\n-        autoMatchBrackets: true\n+        autoMatchBrackets: true,\n+      onGutterClick: function(x){console.log(x);}\n       });\n     </script>\n   </body>\ndiff --git a/lib/codemirror.js b/lib/codemirror.js\nindex 04646a9..9a39cc7 100644\n--- a/lib/codemirror.js\n+++ b/lib/codemirror.js\n@@ -399,10 +399,16 @@ var CodeMirror = (function() {\n     }\n \n     function onMouseDown(e) {\n-      var start = posFromMouse(e), last = start;    \n+      var start = posFromMouse(e), last = start, target = e.target();\n       if (!start) return;\n       setCursor(start.line, start.ch, false);\n       if (e.button() != 1) return;\n+      if (target.parentNode == gutter) {    \n+        if (options.onGutterClick)\n+          options.onGutterClick(indexOf(gutter.childNodes, target) + showingFrom);\n+        return;\n+      }\n+\n       if (!focused) onFocus();\n \n       e.stop();\n@@ -808,7 +814,7 @@ var CodeMirror = (function() {\n       for (var i = showingFrom; i < showingTo; ++i) {\n         var marker = lines[i].gutterMarker;\n         if (marker) html.push('<div class=\"' + marker.style + '\">' + htmlEscape(marker.text) + '</div>');\n-        else html.push(\"<div>\" + (options.lineNumbers ? i + 1 : \"\\u00a0\") + \"</div>\");\n+        else html.push(\"<div>\" + (options.lineNumbers ? i + options.firstLineNumber : \"\\u00a0\") + \"</div>\");\n       }\n       gutter.style.display = \"none\"; // TODO test whether this actually helps\n       gutter.innerHTML = html.join(\"\");\n@@ -1371,10 +1377,8 @@ var CodeMirror = (function() {\n         if (option == \"parser\") setParser(value);\n         else if (option === \"lineNumbers\") setLineNumbers(value);\n         else if (option === \"gutter\") setGutter(value);\n-        else if (option === \"readOnly\") options.readOnly = value;\n-        else if (option === \"indentUnit\") {options.indentUnit = indentUnit = value; setParser(options.parser);}\n-        else if (/^(?:enterMode|tabMode|indentWithTabs|readOnly|autoMatchBrackets|undoDepth)$/.test(option)) options[option] = value;\n-        else throw new Error(\"Can't set option \" + option);\n+        else if (option === \"indentUnit\") {options.indentUnit = value; setParser(options.parser);}\n+        else options[option] = value;\n       },\n       cursorCoords: cursorCoords,\n       undo: operation(undo),\n@@ -1402,7 +1406,8 @@ var CodeMirror = (function() {\n       replaceRange: operation(replaceRange),\n \n       operation: function(f){return operation(f)();},\n-      refresh: function(){updateDisplay([{from: 0, to: lines.length}]);}\n+      refresh: function(){updateDisplay([{from: 0, to: lines.length}]);},\n+      getInputField: function(){return input;}\n     };\n     return instance;\n   }\n@@ -1420,6 +1425,7 @@ var CodeMirror = (function() {\n     readOnly: false,\n     onChange: null,\n     onCursorActivity: null,\n+    onGutterClick: null,\n     autoMatchBrackets: false,\n     workTime: 200,\n     workDelay: 300,\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-diff</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/dtd/dtd.js",
    "content": "/*\n  DTD mode\n  Ported to CodeMirror by Peter Kroon <plakroon@gmail.com>\n  Report bugs/issues here: https://github.com/marijnh/CodeMirror/issues\n  GitHub: @peterkroon\n*/\n\nCodeMirror.defineMode(\"dtd\", function(config) {\n  var indentUnit = config.indentUnit, type;\n  function ret(style, tp) {type = tp; return style;}\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    if (ch == \"<\" && stream.eat(\"!\") ) {\n      if (stream.eatWhile(/[\\-]/)) {\n        state.tokenize = tokenSGMLComment;\n        return tokenSGMLComment(stream, state);\n      } else if (stream.eatWhile(/[\\w]/)) return ret(\"keyword\", \"doindent\");\n    } else if (ch == \"<\" && stream.eat(\"?\")) { //xml declaration\n      state.tokenize = inBlock(\"meta\", \"?>\");\n      return ret(\"meta\", ch);\n    } else if (ch == \"#\" && stream.eatWhile(/[\\w]/)) return ret(\"atom\", \"tag\");\n    else if (ch == \"|\") return ret(\"keyword\", \"seperator\");\n    else if (ch.match(/[\\(\\)\\[\\]\\-\\.,\\+\\?>]/)) return ret(null, ch);//if(ch === \">\") return ret(null, \"endtag\"); else\n    else if (ch.match(/[\\[\\]]/)) return ret(\"rule\", ch);\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    } else if (stream.eatWhile(/[a-zA-Z\\?\\+\\d]/)) {\n      var sc = stream.current();\n      if( sc.substr(sc.length-1,sc.length).match(/\\?|\\+/) !== null )stream.backUp(1);\n      return ret(\"tag\", \"tag\");\n    } else if (ch == \"%\" || ch == \"*\" ) return ret(\"number\", \"number\");\n    else {\n      stream.eatWhile(/[\\w\\\\\\-_%.{,]/);\n      return ret(null, null);\n    }\n  }\n\n  function tokenSGMLComment(stream, state) {\n    var dashes = 0, ch;\n    while ((ch = stream.next()) != null) {\n      if (dashes >= 2 && ch == \">\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      dashes = (ch == \"-\") ? dashes + 1 : 0;\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return ret(\"string\", \"tag\");\n    };\n  }\n\n  function inBlock(style, terminator) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.match(terminator)) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        stream.next();\n      }\n      return style;\n    };\n  }\n\n  return {\n    startState: function(base) {\n      return {tokenize: tokenBase,\n              baseIndent: base || 0,\n              stack: []};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n\n      var context = state.stack[state.stack.length-1];\n      if (stream.current() == \"[\" || type === \"doindent\" || type == \"[\") state.stack.push(\"rule\");\n      else if (type === \"endtag\") state.stack[state.stack.length-1] = \"endtag\";\n      else if (stream.current() == \"]\" || type == \"]\" || (type == \">\" && context == \"rule\")) state.stack.pop();\n      else if (type == \"[\") state.stack.push(\"[\");\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var n = state.stack.length;\n\n      if( textAfter.match(/\\]\\s+|\\]/) )n=n-1;\n      else if(textAfter.substr(textAfter.length-1, textAfter.length) === \">\"){\n        if(textAfter.substr(0,1) === \"<\")n;\n        else if( type == \"doindent\" && textAfter.length > 1 )n;\n        else if( type == \"doindent\")n--;\n        else if( type == \">\" && textAfter.length > 1)n;\n        else if( type == \"tag\" && textAfter !== \">\")n;\n        else if( type == \"tag\" && state.stack[state.stack.length-1] == \"rule\")n--;\n        else if( type == \"tag\")n++;\n        else if( textAfter === \">\" && state.stack[state.stack.length-1] == \"rule\" && type === \">\")n--;\n        else if( textAfter === \">\" && state.stack[state.stack.length-1] == \"rule\")n;\n        else if( textAfter.substr(0,1) !== \"<\" && textAfter.substr(0,1) === \">\" )n=n-1;\n        else if( textAfter === \">\")n;\n        else n=n-1;\n        //over rule them all\n        if(type == null || type == \"]\")n--;\n      }\n\n      return state.baseIndent + n * indentUnit;\n    },\n\n    electricChars: \"]>\"\n  };\n});\n\nCodeMirror.defineMIME(\"application/xml-dtd\", \"dtd\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/dtd/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: DTD mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"dtd.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">DTD</a>\n  </ul>\n</div>\n\n<article>\n<h2>DTD mode</h2>\n<form><textarea id=\"code\" name=\"code\"><?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<!ATTLIST title\n  xmlns\tCDATA\t#FIXED\t\"http://docbook.org/ns/docbook\"\n  role\tCDATA\t#IMPLIED\n  %db.common.attributes;\n  %db.common.linking.attributes;\n>\n\n<!--\n  Try: http://docbook.org/xml/5.0/dtd/docbook.dtd\n-->\n\n<!DOCTYPE xsl:stylesheet\n  [\n    <!ENTITY nbsp   \"&amp;#160;\">\n    <!ENTITY copy   \"&amp;#169;\">\n    <!ENTITY reg    \"&amp;#174;\">\n    <!ENTITY trade  \"&amp;#8482;\">\n    <!ENTITY mdash  \"&amp;#8212;\">\n    <!ENTITY ldquo  \"&amp;#8220;\">\n    <!ENTITY rdquo  \"&amp;#8221;\">\n    <!ENTITY pound  \"&amp;#163;\">\n    <!ENTITY yen    \"&amp;#165;\">\n    <!ENTITY euro   \"&amp;#8364;\">\n    <!ENTITY mathml \"http://www.w3.org/1998/Math/MathML\">\n  ]\n>\n\n<!ELEMENT title (#PCDATA|inlinemediaobject|remark|superscript|subscript|xref|link|olink|anchor|biblioref|alt|annotation|indexterm|abbrev|acronym|date|emphasis|footnote|footnoteref|foreignphrase|phrase|quote|wordasword|firstterm|glossterm|coref|trademark|productnumber|productname|database|application|hardware|citation|citerefentry|citetitle|citebiblioid|author|person|personname|org|orgname|editor|jobtitle|replaceable|package|parameter|termdef|nonterminal|systemitem|option|optional|property|inlineequation|tag|markup|token|symbol|literal|code|constant|email|uri|guiicon|guibutton|guimenuitem|guimenu|guisubmenu|guilabel|menuchoice|mousebutton|keycombo|keycap|keycode|keysym|shortcut|accel|prompt|envar|filename|command|computeroutput|userinput|function|varname|returnvalue|type|classname|exceptionname|interfacename|methodname|modifier|initializer|ooclass|ooexception|oointerface|errorcode|errortext|errorname|errortype)*>\n\n<!ENTITY % db.common.attributes \"\n  xml:id\tID\t#IMPLIED\n  version\tCDATA\t#IMPLIED\n  xml:lang\tCDATA\t#IMPLIED\n  xml:base\tCDATA\t#IMPLIED\n  remap\tCDATA\t#IMPLIED\n  xreflabel\tCDATA\t#IMPLIED\n  revisionflag\t(changed|added|deleted|off)\t#IMPLIED\n  dir\t(ltr|rtl|lro|rlo)\t#IMPLIED\n  arch\tCDATA\t#IMPLIED\n  audience\tCDATA\t#IMPLIED\n  condition\tCDATA\t#IMPLIED\n  conformance\tCDATA\t#IMPLIED\n  os\tCDATA\t#IMPLIED\n  revision\tCDATA\t#IMPLIED\n  security\tCDATA\t#IMPLIED\n  userlevel\tCDATA\t#IMPLIED\n  vendor\tCDATA\t#IMPLIED\n  wordsize\tCDATA\t#IMPLIED\n  annotations\tCDATA\t#IMPLIED\n\n\"></textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"dtd\", alignCDATA: true},\n        lineNumbers: true,\n        lineWrapping: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>application/xml-dtd</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/ecl/ecl.js",
    "content": "CodeMirror.defineMode(\"ecl\", function(config) {\n\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  function metaHook(stream, state) {\n    if (!state.startOfLine) return false;\n    stream.skipToEnd();\n    return \"meta\";\n  }\n\n  var indentUnit = config.indentUnit;\n  var keyword = words(\"abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode\");\n  var variable = words(\"apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait\");\n  var variable_2 = words(\"__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath\");\n  var variable_3 = words(\"ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode\");\n  var builtin = words(\"checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when\");\n  var blockKeywords = words(\"catch class do else finally for if switch try while\");\n  var atoms = words(\"true false null\");\n  var hooks = {\"#\": metaHook};\n  var multiLineStrings;\n  var isOperatorChar = /[+\\-*&%=<>!?|\\/]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var cur = stream.current().toLowerCase();\n    if (keyword.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    } else if (variable.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"variable\";\n    } else if (variable_2.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"variable-2\";\n    } else if (variable_3.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"variable-3\";\n    } else if (builtin.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"builtin\";\n    } else { //Data types are of from KEYWORD##\n                var i = cur.length - 1;\n                while(i >= 0 && (!isNaN(cur[i]) || cur[i] == '_'))\n                        --i;\n\n                if (i > 0) {\n                        var cur2 = cur.substr(0, i + 1);\n                if (variable_3.propertyIsEnumerable(cur2)) {\n                        if (blockKeywords.propertyIsEnumerable(cur2)) curPunc = \"newstatement\";\n                        return \"variable-3\";\n                }\n            }\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return null;\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    return state.context = new Context(state.indented, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\") && ctx.type == \"statement\") popContext(state);\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (ctx.type == \"}\" || ctx.type == \"top\" || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return 0;\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"statement\" && firstChar == \"}\") ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : indentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-ecl\", \"ecl\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/ecl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: ECL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"ecl.js\"></script>\n<style>.CodeMirror {border: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">ECL</a>\n  </ul>\n</div>\n\n<article>\n<h2>ECL mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/*\nsample useless code to demonstrate ecl syntax highlighting\nthis is a multiline comment!\n*/\n\n//  this is a singleline comment!\n\nimport ut;\nr := \n  record\n   string22 s1 := '123';\n   integer4 i1 := 123;\n  end;\n#option('tmp', true);\nd := dataset('tmp::qb', r, thor);\noutput(d);\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p>Based on CodeMirror's clike mode.  For more information see <a href=\"http://hpccsystems.com\">HPCC Systems</a> web site.</p>\n    <p><strong>MIME types defined:</strong> <code>text/x-ecl</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/eiffel/eiffel.js",
    "content": "CodeMirror.defineMode(\"eiffel\", function() {\n  function wordObj(words) {\n    var o = {};\n    for (var i = 0, e = words.length; i < e; ++i) o[words[i]] = true;\n    return o;\n  }\n  var keywords = wordObj([\n    'note',\n    'across',\n    'when',\n    'variant',\n    'until',\n    'unique',\n    'undefine',\n    'then',\n    'strip',\n    'select',\n    'retry',\n    'rescue',\n    'require',\n    'rename',\n    'reference',\n    'redefine',\n    'prefix',\n    'once',\n    'old',\n    'obsolete',\n    'loop',\n    'local',\n    'like',\n    'is',\n    'inspect',\n    'infix',\n    'include',\n    'if',\n    'frozen',\n    'from',\n    'external',\n    'export',\n    'ensure',\n    'end',\n    'elseif',\n    'else',\n    'do',\n    'creation',\n    'create',\n    'check',\n    'alias',\n    'agent',\n    'separate',\n    'invariant',\n    'inherit',\n    'indexing',\n    'feature',\n    'expanded',\n    'deferred',\n    'class',\n    'Void',\n    'True',\n    'Result',\n    'Precursor',\n    'False',\n    'Current',\n    'create',\n    'attached',\n    'detachable',\n    'as',\n    'and',\n    'implies',\n    'not',\n    'or'\n  ]);\n  var operators = wordObj([\":=\", \"and then\",\"and\", \"or\",\"<<\",\">>\"]);\n  var curPunc;\n\n  function chain(newtok, stream, state) {\n    state.tokenize.push(newtok);\n    return newtok(stream, state);\n  }\n\n  function tokenBase(stream, state) {\n    curPunc = null;\n    if (stream.eatSpace()) return null;\n    var ch = stream.next();\n    if (ch == '\"'||ch == \"'\") {\n      return chain(readQuoted(ch, \"string\"), stream, state);\n    } else if (ch == \"-\"&&stream.eat(\"-\")) {\n      stream.skipToEnd();\n      return \"comment\";\n    } else if (ch == \":\"&&stream.eat(\"=\")) {\n      return \"operator\";\n    } else if (/[0-9]/.test(ch)) {\n      stream.eatWhile(/[xXbBCc0-9\\.]/);\n      stream.eat(/[\\?\\!]/);\n      return \"ident\";\n    } else if (/[a-zA-Z_0-9]/.test(ch)) {\n      stream.eatWhile(/[a-zA-Z_0-9]/);\n      stream.eat(/[\\?\\!]/);\n      return \"ident\";\n    } else if (/[=+\\-\\/*^%<>~]/.test(ch)) {\n      stream.eatWhile(/[=+\\-\\/*^%<>~]/);\n      return \"operator\";\n    } else {\n      return null;\n    }\n  }\n\n  function readQuoted(quote, style,  unescaped) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && (unescaped || !escaped)) {\n          state.tokenize.pop();\n          break;\n        }\n        escaped = !escaped && ch == \"%\";\n      }\n      return style;\n    };\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: [tokenBase]};\n    },\n\n    token: function(stream, state) {\n      var style = state.tokenize[state.tokenize.length-1](stream, state);\n      if (style == \"ident\") {\n        var word = stream.current();\n        style = keywords.propertyIsEnumerable(stream.current()) ? \"keyword\"\n          : operators.propertyIsEnumerable(stream.current()) ? \"operator\"\n          : /^[A-Z][A-Z_0-9]*$/g.test(word) ? \"tag\"\n          : /^0[bB][0-1]+$/g.test(word) ? \"number\"\n          : /^0[cC][0-7]+$/g.test(word) ? \"number\"\n          : /^0[xX][a-fA-F0-9]+$/g.test(word) ? \"number\"\n          : /^([0-9]+\\.[0-9]*)|([0-9]*\\.[0-9]+)$/g.test(word) ? \"number\"\n          : /^[0-9]+$/g.test(word) ? \"number\"\n          : \"variable\";\n      }\n      return style;\n    },\n    lineComment: \"--\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-eiffel\", \"eiffel\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/eiffel/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Eiffel mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/neat.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"eiffel.js\"></script>\n<style>\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .cm-s-default span.cm-arrow { color: red; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Eiffel</a>\n  </ul>\n</div>\n\n<article>\n<h2>Eiffel mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nnote\n    description: \"[\n        Project-wide universal properties.\n        This class is an ancestor to all developer-written classes.\n        ANY may be customized for individual projects or teams.\n        ]\"\n\n    library: \"Free implementation of ELKS library\"\n    status: \"See notice at end of class.\"\n    legal: \"See notice at end of class.\"\n    date: \"$Date: 2013-01-25 11:49:00 -0800 (Fri, 25 Jan 2013) $\"\n    revision: \"$Revision: 712 $\"\n\nclass\n    ANY\n\nfeature -- Customization\n\nfeature -- Access\n\n    generator: STRING\n            -- Name of current object's generating class\n            -- (base class of the type of which it is a direct instance)\n        external\n            \"built_in\"\n        ensure\n            generator_not_void: Result /= Void\n            generator_not_empty: not Result.is_empty\n        end\n\n    generating_type: TYPE [detachable like Current]\n            -- Type of current object\n            -- (type of which it is a direct instance)\n        do\n            Result := {detachable like Current}\n        ensure\n            generating_type_not_void: Result /= Void\n        end\n\nfeature -- Status report\n\n    conforms_to (other: ANY): BOOLEAN\n            -- Does type of current object conform to type\n            -- of `other' (as per Eiffel: The Language, chapter 13)?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        end\n\n    same_type (other: ANY): BOOLEAN\n            -- Is type of current object identical to type of `other'?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        ensure\n            definition: Result = (conforms_to (other) and\n                                        other.conforms_to (Current))\n        end\n\nfeature -- Comparison\n\n    is_equal (other: like Current): BOOLEAN\n            -- Is `other' attached to an object considered\n            -- equal to current object?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        ensure\n            symmetric: Result implies other ~ Current\n            consistent: standard_is_equal (other) implies Result\n        end\n\n    frozen standard_is_equal (other: like Current): BOOLEAN\n            -- Is `other' attached to an object of the same type\n            -- as current object, and field-by-field identical to it?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        ensure\n            same_type: Result implies same_type (other)\n            symmetric: Result implies other.standard_is_equal (Current)\n        end\n\n    frozen equal (a: detachable ANY; b: like a): BOOLEAN\n            -- Are `a' and `b' either both void or attached\n            -- to objects considered equal?\n        do\n            if a = Void then\n                Result := b = Void\n            else\n                Result := b /= Void and then\n                            a.is_equal (b)\n            end\n        ensure\n            definition: Result = (a = Void and b = Void) or else\n                        ((a /= Void and b /= Void) and then\n                        a.is_equal (b))\n        end\n\n    frozen standard_equal (a: detachable ANY; b: like a): BOOLEAN\n            -- Are `a' and `b' either both void or attached to\n            -- field-by-field identical objects of the same type?\n            -- Always uses default object comparison criterion.\n        do\n            if a = Void then\n                Result := b = Void\n            else\n                Result := b /= Void and then\n                            a.standard_is_equal (b)\n            end\n        ensure\n            definition: Result = (a = Void and b = Void) or else\n                        ((a /= Void and b /= Void) and then\n                        a.standard_is_equal (b))\n        end\n\n    frozen is_deep_equal (other: like Current): BOOLEAN\n            -- Are `Current' and `other' attached to isomorphic object structures?\n        require\n            other_not_void: other /= Void\n        external\n            \"built_in\"\n        ensure\n            shallow_implies_deep: standard_is_equal (other) implies Result\n            same_type: Result implies same_type (other)\n            symmetric: Result implies other.is_deep_equal (Current)\n        end\n\n    frozen deep_equal (a: detachable ANY; b: like a): BOOLEAN\n            -- Are `a' and `b' either both void\n            -- or attached to isomorphic object structures?\n        do\n            if a = Void then\n                Result := b = Void\n            else\n                Result := b /= Void and then a.is_deep_equal (b)\n            end\n        ensure\n            shallow_implies_deep: standard_equal (a, b) implies Result\n            both_or_none_void: (a = Void) implies (Result = (b = Void))\n            same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b))\n            symmetric: Result implies deep_equal (b, a)\n        end\n\nfeature -- Duplication\n\n    frozen twin: like Current\n            -- New object equal to `Current'\n            -- `twin' calls `copy'; to change copying/twinning semantics, redefine `copy'.\n        external\n            \"built_in\"\n        ensure\n            twin_not_void: Result /= Void\n            is_equal: Result ~ Current\n        end\n\n    copy (other: like Current)\n            -- Update current object using fields of object attached\n            -- to `other', so as to yield equal objects.\n        require\n            other_not_void: other /= Void\n            type_identity: same_type (other)\n        external\n            \"built_in\"\n        ensure\n            is_equal: Current ~ other\n        end\n\n    frozen standard_copy (other: like Current)\n            -- Copy every field of `other' onto corresponding field\n            -- of current object.\n        require\n            other_not_void: other /= Void\n            type_identity: same_type (other)\n        external\n            \"built_in\"\n        ensure\n            is_standard_equal: standard_is_equal (other)\n        end\n\n    frozen clone (other: detachable ANY): like other\n            -- Void if `other' is void; otherwise new object\n            -- equal to `other'\n            --\n            -- For non-void `other', `clone' calls `copy';\n            -- to change copying/cloning semantics, redefine `copy'.\n        obsolete\n            \"Use `twin' instead.\"\n        do\n            if other /= Void then\n                Result := other.twin\n            end\n        ensure\n            equal: Result ~ other\n        end\n\n    frozen standard_clone (other: detachable ANY): like other\n            -- Void if `other' is void; otherwise new object\n            -- field-by-field identical to `other'.\n            -- Always uses default copying semantics.\n        obsolete\n            \"Use `standard_twin' instead.\"\n        do\n            if other /= Void then\n                Result := other.standard_twin\n            end\n        ensure\n            equal: standard_equal (Result, other)\n        end\n\n    frozen standard_twin: like Current\n            -- New object field-by-field identical to `other'.\n            -- Always uses default copying semantics.\n        external\n            \"built_in\"\n        ensure\n            standard_twin_not_void: Result /= Void\n            equal: standard_equal (Result, Current)\n        end\n\n    frozen deep_twin: like Current\n            -- New object structure recursively duplicated from Current.\n        external\n            \"built_in\"\n        ensure\n            deep_twin_not_void: Result /= Void\n            deep_equal: deep_equal (Current, Result)\n        end\n\n    frozen deep_clone (other: detachable ANY): like other\n            -- Void if `other' is void: otherwise, new object structure\n            -- recursively duplicated from the one attached to `other'\n        obsolete\n            \"Use `deep_twin' instead.\"\n        do\n            if other /= Void then\n                Result := other.deep_twin\n            end\n        ensure\n            deep_equal: deep_equal (other, Result)\n        end\n\n    frozen deep_copy (other: like Current)\n            -- Effect equivalent to that of:\n            --      `copy' (`other' . `deep_twin')\n        require\n            other_not_void: other /= Void\n        do\n            copy (other.deep_twin)\n        ensure\n            deep_equal: deep_equal (Current, other)\n        end\n\nfeature {NONE} -- Retrieval\n\n    frozen internal_correct_mismatch\n            -- Called from runtime to perform a proper dynamic dispatch on `correct_mismatch'\n            -- from MISMATCH_CORRECTOR.\n        local\n            l_msg: STRING\n            l_exc: EXCEPTIONS\n        do\n            if attached {MISMATCH_CORRECTOR} Current as l_corrector then\n                l_corrector.correct_mismatch\n            else\n                create l_msg.make_from_string (\"Mismatch: \")\n                create l_exc\n                l_msg.append (generating_type.name)\n                l_exc.raise_retrieval_exception (l_msg)\n            end\n        end\n\nfeature -- Output\n\n    io: STD_FILES\n            -- Handle to standard file setup\n        once\n            create Result\n            Result.set_output_default\n        ensure\n            io_not_void: Result /= Void\n        end\n\n    out: STRING\n            -- New string containing terse printable representation\n            -- of current object\n        do\n            Result := tagged_out\n        ensure\n            out_not_void: Result /= Void\n        end\n\n    frozen tagged_out: STRING\n            -- New string containing terse printable representation\n            -- of current object\n        external\n            \"built_in\"\n        ensure\n            tagged_out_not_void: Result /= Void\n        end\n\n    print (o: detachable ANY)\n            -- Write terse external representation of `o'\n            -- on standard output.\n        do\n            if o /= Void then\n                io.put_string (o.out)\n            end\n        end\n\nfeature -- Platform\n\n    Operating_environment: OPERATING_ENVIRONMENT\n            -- Objects available from the operating system\n        once\n            create Result\n        ensure\n            operating_environment_not_void: Result /= Void\n        end\n\nfeature {NONE} -- Initialization\n\n    default_create\n            -- Process instances of classes with no creation clause.\n            -- (Default: do nothing.)\n        do\n        end\n\nfeature -- Basic operations\n\n    default_rescue\n            -- Process exception for routines with no Rescue clause.\n            -- (Default: do nothing.)\n        do\n        end\n\n    frozen do_nothing\n            -- Execute a null action.\n        do\n        end\n\n    frozen default: detachable like Current\n            -- Default value of object's type\n        do\n        end\n\n    frozen default_pointer: POINTER\n            -- Default value of type `POINTER'\n            -- (Avoid the need to write `p'.`default' for\n            -- some `p' of type `POINTER'.)\n        do\n        ensure\n            -- Result = Result.default\n        end\n\n    frozen as_attached: attached like Current\n            -- Attached version of Current\n            -- (Can be used during transitional period to convert\n            -- non-void-safe classes to void-safe ones.)\n        do\n            Result := Current\n        end\n\ninvariant\n    reflexive_equality: standard_is_equal (Current)\n    reflexive_conformance: conforms_to (Current)\n\nnote\n    copyright: \"Copyright (c) 1984-2012, Eiffel Software and others\"\n    license:   \"Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)\"\n    source: \"[\n            Eiffel Software\n            5949 Hollister Ave., Goleta, CA 93117 USA\n            Telephone 805-685-1006, Fax 805-685-6869\n            Website http://www.eiffel.com\n            Customer support http://support.eiffel.com\n        ]\"\n\nend\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/x-eiffel\",\n        tabMode: \"indent\",\n        indentUnit: 4,\n        lineNumbers: true,\n        theme: \"neat\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-eiffel</code>.</p>\n \n <p> Created by <a href=\"https://github.com/ynh\">YNH</a>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/erlang/erlang.js",
    "content": "// block; \"begin\", \"case\", \"fun\", \"if\", \"receive\", \"try\": closed by \"end\"\n// block internal; \"after\", \"catch\", \"of\"\n// guard; \"when\", closed by \"->\"\n// \"->\" opens a clause, closed by \";\" or \".\"\n// \"<<\" opens a binary, closed by \">>\"\n// \",\" appears in arglists, lists, tuples and terminates lines of code\n// \".\" resets indentation to 0\n// obsolete; \"cond\", \"let\", \"query\"\n\nCodeMirror.defineMIME(\"text/x-erlang\", \"erlang\");\n\nCodeMirror.defineMode(\"erlang\", function(cmCfg) {\n\n  function rval(state,_stream,type) {\n    // distinguish between \".\" as terminator and record field operator\n    state.in_record = (type == \"record\");\n\n    //     erlang             -> CodeMirror tag\n    switch (type) {\n      case \"atom\":        return \"atom\";\n      case \"attribute\":   return \"attribute\";\n      case \"boolean\":     return \"special\";\n      case \"builtin\":     return \"builtin\";\n      case \"comment\":     return \"comment\";\n      case \"fun\":         return \"meta\";\n      case \"function\":    return \"tag\";\n      case \"guard\":       return \"property\";\n      case \"keyword\":     return \"keyword\";\n      case \"macro\":       return \"variable-2\";\n      case \"number\":      return \"number\";\n      case \"operator\":    return \"operator\";\n      case \"record\":      return \"bracket\";\n      case \"string\":      return \"string\";\n      case \"type\":        return \"def\";\n      case \"variable\":    return \"variable\";\n      case \"error\":       return \"error\";\n      case \"separator\":   return null;\n      case \"open_paren\":  return null;\n      case \"close_paren\": return null;\n      default:            return null;\n    }\n  }\n\n  var typeWords = [\n    \"-type\", \"-spec\", \"-export_type\", \"-opaque\"];\n\n  var keywordWords = [\n    \"after\",\"begin\",\"catch\",\"case\",\"cond\",\"end\",\"fun\",\"if\",\n    \"let\",\"of\",\"query\",\"receive\",\"try\",\"when\"];\n\n  var separatorRE        = /[\\->\\.,:;]/;\n  var separatorWords = [\n    \"->\",\";\",\":\",\".\",\",\"];\n\n  var operatorWords = [\n    \"and\",\"andalso\",\"band\",\"bnot\",\"bor\",\"bsl\",\"bsr\",\"bxor\",\n    \"div\",\"not\",\"or\",\"orelse\",\"rem\",\"xor\"];\n\n  var symbolRE     = /[\\+\\-\\*\\/<>=\\|:!]/;\n  var symbolWords = [\n    \"+\",\"-\",\"*\",\"/\",\">\",\">=\",\"<\",\"=<\",\"=:=\",\"==\",\"=/=\",\"/=\",\"||\",\"<-\",\"!\"];\n\n  var openParenRE  = /[<\\(\\[\\{]/;\n  var openParenWords = [\n    \"<<\",\"(\",\"[\",\"{\"];\n\n  var closeParenRE = /[>\\)\\]\\}]/;\n  var closeParenWords = [\n    \"}\",\"]\",\")\",\">>\"];\n\n  var guardWords = [\n    \"is_atom\",\"is_binary\",\"is_bitstring\",\"is_boolean\",\"is_float\",\n    \"is_function\",\"is_integer\",\"is_list\",\"is_number\",\"is_pid\",\n    \"is_port\",\"is_record\",\"is_reference\",\"is_tuple\",\n    \"atom\",\"binary\",\"bitstring\",\"boolean\",\"function\",\"integer\",\"list\",\n    \"number\",\"pid\",\"port\",\"record\",\"reference\",\"tuple\"];\n\n  var bifWords = [\n    \"abs\",\"adler32\",\"adler32_combine\",\"alive\",\"apply\",\"atom_to_binary\",\n    \"atom_to_list\",\"binary_to_atom\",\"binary_to_existing_atom\",\n    \"binary_to_list\",\"binary_to_term\",\"bit_size\",\"bitstring_to_list\",\n    \"byte_size\",\"check_process_code\",\"contact_binary\",\"crc32\",\n    \"crc32_combine\",\"date\",\"decode_packet\",\"delete_module\",\n    \"disconnect_node\",\"element\",\"erase\",\"exit\",\"float\",\"float_to_list\",\n    \"garbage_collect\",\"get\",\"get_keys\",\"group_leader\",\"halt\",\"hd\",\n    \"integer_to_list\",\"internal_bif\",\"iolist_size\",\"iolist_to_binary\",\n    \"is_alive\",\"is_atom\",\"is_binary\",\"is_bitstring\",\"is_boolean\",\n    \"is_float\",\"is_function\",\"is_integer\",\"is_list\",\"is_number\",\"is_pid\",\n    \"is_port\",\"is_process_alive\",\"is_record\",\"is_reference\",\"is_tuple\",\n    \"length\",\"link\",\"list_to_atom\",\"list_to_binary\",\"list_to_bitstring\",\n    \"list_to_existing_atom\",\"list_to_float\",\"list_to_integer\",\n    \"list_to_pid\",\"list_to_tuple\",\"load_module\",\"make_ref\",\"module_loaded\",\n    \"monitor_node\",\"node\",\"node_link\",\"node_unlink\",\"nodes\",\"notalive\",\n    \"now\",\"open_port\",\"pid_to_list\",\"port_close\",\"port_command\",\n    \"port_connect\",\"port_control\",\"pre_loaded\",\"process_flag\",\n    \"process_info\",\"processes\",\"purge_module\",\"put\",\"register\",\n    \"registered\",\"round\",\"self\",\"setelement\",\"size\",\"spawn\",\"spawn_link\",\n    \"spawn_monitor\",\"spawn_opt\",\"split_binary\",\"statistics\",\n    \"term_to_binary\",\"time\",\"throw\",\"tl\",\"trunc\",\"tuple_size\",\n    \"tuple_to_list\",\"unlink\",\"unregister\",\"whereis\"];\n\n// [Ø-Þ] [À-Ö]\n// [ß-ö] [ø-ÿ]\n  var anumRE       = /[\\w@Ø-ÞÀ-Öß-öø-ÿ]/;\n  var escapesRE    =\n    /[0-7]{1,3}|[bdefnrstv\\\\\"']|\\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;\n\n  function tokenize(stream, state) {\n\n    // in multi-line string\n    if (state.in_string) {\n      state.in_string =  (!doubleQuote(stream));\n      return rval(state,stream,\"string\");\n    }\n\n    // in multi-line atom\n    if (state.in_atom) {\n      state.in_atom =  (!singleQuote(stream));\n      return rval(state,stream,\"atom\");\n    }\n\n    // whitespace\n    if (stream.eatSpace()) {\n      return rval(state,stream,\"whitespace\");\n    }\n\n    // attributes and type specs\n    if ((peekToken(state).token == \"\") &&\n        stream.match(/-\\s*[a-zß-öø-ÿ][\\wØ-ÞÀ-Öß-öø-ÿ]*/)) {\n      if (isMember(stream.current(),typeWords)) {\n        return rval(state,stream,\"type\");\n      }else{\n        return rval(state,stream,\"attribute\");\n      }\n    }\n\n    var ch = stream.next();\n\n    // comment\n    if (ch == '%') {\n      stream.skipToEnd();\n      return rval(state,stream,\"comment\");\n    }\n\n    // macro\n    if (ch == '?') {\n      stream.eatWhile(anumRE);\n      return rval(state,stream,\"macro\");\n    }\n\n    // record\n    if (ch == \"#\") {\n      stream.eatWhile(anumRE);\n      return rval(state,stream,\"record\");\n    }\n\n    // dollar escape\n    if ( ch == \"$\" ) {\n      if (stream.next() == \"\\\\\" && !stream.match(escapesRE)) {\n        return rval(state,stream,\"error\");\n      }\n      return rval(state,stream,\"number\");\n    }\n\n    // quoted atom\n    if (ch == '\\'') {\n      if (!(state.in_atom = (!singleQuote(stream)))) {\n        if (stream.match(/\\s*\\/\\s*[0-9]/,false)) {\n          stream.match(/\\s*\\/\\s*[0-9]/,true);\n          popToken(state);\n          return rval(state,stream,\"fun\");      // 'f'/0 style fun\n        }\n        if (stream.match(/\\s*\\(/,false) || stream.match(/\\s*:/,false)) {\n          return rval(state,stream,\"function\");\n        }\n      }\n      return rval(state,stream,\"atom\");\n    }\n\n    // string\n    if (ch == '\"') {\n      state.in_string = (!doubleQuote(stream));\n      return rval(state,stream,\"string\");\n    }\n\n    // variable\n    if (/[A-Z_Ø-ÞÀ-Ö]/.test(ch)) {\n      stream.eatWhile(anumRE);\n      return rval(state,stream,\"variable\");\n    }\n\n    // atom/keyword/BIF/function\n    if (/[a-z_ß-öø-ÿ]/.test(ch)) {\n      stream.eatWhile(anumRE);\n\n      if (stream.match(/\\s*\\/\\s*[0-9]/,false)) {\n        stream.match(/\\s*\\/\\s*[0-9]/,true);\n        popToken(state);\n        return rval(state,stream,\"fun\");      // f/0 style fun\n      }\n\n      var w = stream.current();\n\n      if (isMember(w,keywordWords)) {\n        pushToken(state,stream);\n        return rval(state,stream,\"keyword\");\n      }else if (stream.match(/\\s*\\(/,false)) {\n        // 'put' and 'erlang:put' are bifs, 'foo:put' is not\n        if (isMember(w,bifWords) &&\n            (!isPrev(stream,\":\") || isPrev(stream,\"erlang:\"))) {\n          return rval(state,stream,\"builtin\");\n        }else if (isMember(w,guardWords)) {\n          return rval(state,stream,\"guard\");\n        }else{\n          return rval(state,stream,\"function\");\n        }\n      }else if (isMember(w,operatorWords)) {\n        return rval(state,stream,\"operator\");\n      }else if (stream.match(/\\s*:/,false)) {\n        if (w == \"erlang\") {\n          return rval(state,stream,\"builtin\");\n        } else {\n          return rval(state,stream,\"function\");\n        }\n      }else if (isMember(w,[\"true\",\"false\"])) {\n        return rval(state,stream,\"boolean\");\n      }else{\n        return rval(state,stream,\"atom\");\n      }\n    }\n\n    // number\n    var digitRE      = /[0-9]/;\n    var radixRE      = /[0-9a-zA-Z]/;         // 36#zZ style int\n    if (digitRE.test(ch)) {\n      stream.eatWhile(digitRE);\n      if (stream.eat('#')) {\n        stream.eatWhile(radixRE);    // 36#aZ  style integer\n      } else {\n        if (stream.eat('.')) {       // float\n          stream.eatWhile(digitRE);\n        }\n        if (stream.eat(/[eE]/)) {\n          stream.eat(/[-+]/);        // float with exponent\n          stream.eatWhile(digitRE);\n        }\n      }\n      return rval(state,stream,\"number\");   // normal integer\n    }\n\n    // open parens\n    if (nongreedy(stream,openParenRE,openParenWords)) {\n      pushToken(state,stream);\n      return rval(state,stream,\"open_paren\");\n    }\n\n    // close parens\n    if (nongreedy(stream,closeParenRE,closeParenWords)) {\n      pushToken(state,stream);\n      return rval(state,stream,\"close_paren\");\n    }\n\n    // separators\n    if (greedy(stream,separatorRE,separatorWords)) {\n      // distinguish between \".\" as terminator and record field operator\n      if (!state.in_record) {\n        pushToken(state,stream);\n      }\n      return rval(state,stream,\"separator\");\n    }\n\n    // operators\n    if (greedy(stream,symbolRE,symbolWords)) {\n      return rval(state,stream,\"operator\");\n    }\n\n    return rval(state,stream,null);\n  }\n\n  function isPrev(stream,string) {\n    var start = stream.start;\n    var len = string.length;\n    if (len <= start) {\n      var word = stream.string.slice(start-len,start);\n      return word == string;\n    }else{\n      return false;\n    }\n  }\n\n  function nongreedy(stream,re,words) {\n    if (stream.current().length == 1 && re.test(stream.current())) {\n      stream.backUp(1);\n      while (re.test(stream.peek())) {\n        stream.next();\n        if (isMember(stream.current(),words)) {\n          return true;\n        }\n      }\n      stream.backUp(stream.current().length-1);\n    }\n    return false;\n  }\n\n  function greedy(stream,re,words) {\n    if (stream.current().length == 1 && re.test(stream.current())) {\n      while (re.test(stream.peek())) {\n        stream.next();\n      }\n      while (0 < stream.current().length) {\n        if (isMember(stream.current(),words)) {\n          return true;\n        }else{\n          stream.backUp(1);\n        }\n      }\n      stream.next();\n    }\n    return false;\n  }\n\n  function doubleQuote(stream) {\n    return quote(stream, '\"', '\\\\');\n  }\n\n  function singleQuote(stream) {\n    return quote(stream,'\\'','\\\\');\n  }\n\n  function quote(stream,quoteChar,escapeChar) {\n    while (!stream.eol()) {\n      var ch = stream.next();\n      if (ch == quoteChar) {\n        return true;\n      }else if (ch == escapeChar) {\n        stream.next();\n      }\n    }\n    return false;\n  }\n\n  function isMember(element,list) {\n    return (-1 < list.indexOf(element));\n  }\n\n/////////////////////////////////////////////////////////////////////////////\n  function myIndent(state,textAfter) {\n    var indent = cmCfg.indentUnit;\n    var token = (peekToken(state)).token;\n    var wordAfter = takewhile(textAfter,/[^a-z]/);\n\n    if (state.in_string || state.in_atom) {\n      return CodeMirror.Pass;\n    }else if (token == \"\") {\n      return 0;\n    }else if (isMember(token,openParenWords)) {\n      return (peekToken(state)).column+token.length;\n    }else if (token == \"when\") {\n      return (peekToken(state)).column+token.length+1;\n    }else if (token == \"fun\" && wordAfter == \"\") {\n      return (peekToken(state)).column+token.length;\n    }else if (token == \"->\") {\n      if (isMember(wordAfter,[\"end\",\"after\",\"catch\"])) {\n        return peekToken(state,2).column;\n      }else if (peekToken(state,2).token == \"fun\") {\n        return peekToken(state,2).column+indent;\n      }else if (peekToken(state,2).token == \"\") {\n        return indent;\n      }else{\n        return (peekToken(state)).indent+indent;\n      }\n    }else if (isMember(wordAfter,[\"after\",\"catch\",\"of\"])) {\n      return (peekToken(state)).indent;\n    }else{\n      return (peekToken(state)).column+indent;\n    }\n  }\n\n  function takewhile(str,re) {\n    var m = str.match(re);\n    return m ? str.slice(0,m.index) : str;\n  }\n\n  function Token(stream) {\n    this.token  = stream ? stream.current() : \"\";\n    this.column = stream ? stream.column() : 0;\n    this.indent = stream ? stream.indentation() : 0;\n  }\n\n  function popToken(state) {\n    return state.tokenStack.pop();\n  }\n\n  function peekToken(state,depth) {\n    var len = state.tokenStack.length;\n    var dep = (depth ? depth : 1);\n    if (len < dep) {\n      return new Token;\n    }else{\n      return state.tokenStack[len-dep];\n    }\n  }\n\n  function pushToken(state,stream) {\n    var token = stream.current();\n    var prev_token = peekToken(state).token;\n\n    if (token == \".\") {\n      state.tokenStack = [];\n      return false;\n    }else if(isMember(token,[\",\", \":\", \"of\", \"cond\", \"let\", \"query\"])) {\n      return false;\n    }else if (drop_last(prev_token,token)) {\n      return false;\n    }else if (drop_both(prev_token,token)) {\n      popToken(state);\n      return false;\n    }else if (drop_first(prev_token,token)) {\n      popToken(state);\n      return pushToken(state,stream);\n    }else if (isMember(token,[\"after\",\"catch\"])) {\n      return false;\n    }else{\n      state.tokenStack.push(new Token(stream));\n      return true;\n    }\n  }\n\n  function drop_last(open, close) {\n    switch(open+\" \"+close) {\n      case \"when ;\": return true;\n      default: return false;\n    }\n  }\n\n  function drop_first(open, close) {\n    switch (open+\" \"+close) {\n      case \"when ->\":       return true;\n      case \"-> end\":        return true;\n      default:              return false;\n    }\n  }\n\n  function drop_both(open, close) {\n    switch (open+\" \"+close) {\n      case \"( )\":         return true;\n      case \"[ ]\":         return true;\n      case \"{ }\":         return true;\n      case \"<< >>\":       return true;\n      case \"begin end\":   return true;\n      case \"case end\":    return true;\n      case \"fun end\":     return true;\n      case \"if end\":      return true;\n      case \"receive end\": return true;\n      case \"try end\":     return true;\n      case \"-> catch\":    return true;\n      case \"-> after\":    return true;\n      case \"-> ;\":        return true;\n      default:            return false;\n    }\n  }\n\n  return {\n    startState:\n      function() {\n        return {tokenStack: [],\n                in_record:  false,\n                in_string:  false,\n                in_atom:    false};\n      },\n\n    token:\n      function(stream, state) {\n        return tokenize(stream, state);\n      },\n\n    indent:\n      function(state, textAfter) {\n        return myIndent(state,textAfter);\n      },\n\n    lineComment: \"%\"\n  };\n});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/erlang/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Erlang mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/erlang-dark.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"erlang.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Erlang</a>\n  </ul>\n</div>\n\n<article>\n<h2>Erlang mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n%% -*- mode: erlang; erlang-indent-level: 2 -*-\n%%% Created :  7 May 2012 by mats cronqvist <masse@klarna.com>\n\n%% @doc\n%% Demonstrates how to print a record.\n%% @end\n\n-module('ex').\n-author('mats cronqvist').\n-export([demo/0,\n         rec_info/1]).\n\n-record(demo,{a=\"One\",b=\"Two\",c=\"Three\",d=\"Four\"}).\n\nrec_info(demo) -> record_info(fields,demo).\n\ndemo() -> expand_recs(?MODULE,#demo{a=\"A\",b=\"BB\"}).\n\nexpand_recs(M,List) when is_list(List) ->\n  [expand_recs(M,L)||L<-List];\nexpand_recs(M,Tup) when is_tuple(Tup) ->\n  case tuple_size(Tup) of\n    L when L < 1 -> Tup;\n    L ->\n      try Fields = M:rec_info(element(1,Tup)),\n          L = length(Fields)+1,\n          lists:zip(Fields,expand_recs(M,tl(tuple_to_list(Tup))))\n      catch _:_ ->\n          list_to_tuple(expand_recs(M,tuple_to_list(Tup)))\n      end\n  end;\nexpand_recs(_,Term) ->\n  Term.\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        extraKeys: {\"Tab\":  \"indentAuto\"},\n        theme: \"erlang-dark\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-erlang</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/fortran/fortran.js",
    "content": "CodeMirror.defineMode(\"fortran\", function() {\n  function words(array) {\n    var keys = {};\n    for (var i = 0; i < array.length; ++i) {\n      keys[array[i]] = true;\n    }\n    return keys;\n  }\n\n  var keywords = words([\n                  \"abstract\", \"accept\", \"allocatable\", \"allocate\",\n                  \"array\", \"assign\", \"asynchronous\", \"backspace\",\n                  \"bind\", \"block\", \"byte\", \"call\", \"case\",\n                  \"class\", \"close\", \"common\", \"contains\",\n                  \"continue\", \"cycle\", \"data\", \"deallocate\",\n                  \"decode\", \"deferred\", \"dimension\", \"do\",\n                  \"elemental\", \"else\", \"encode\", \"end\",\n                  \"endif\", \"entry\", \"enumerator\", \"equivalence\",\n                  \"exit\", \"external\", \"extrinsic\", \"final\",\n                  \"forall\", \"format\", \"function\", \"generic\",\n                  \"go\", \"goto\", \"if\", \"implicit\", \"import\", \"include\",\n                  \"inquire\", \"intent\", \"interface\", \"intrinsic\",\n                  \"module\", \"namelist\", \"non_intrinsic\",\n                  \"non_overridable\", \"none\", \"nopass\",\n                  \"nullify\", \"open\", \"optional\", \"options\",\n                  \"parameter\", \"pass\", \"pause\", \"pointer\",\n                  \"print\", \"private\", \"program\", \"protected\",\n                  \"public\", \"pure\", \"read\", \"recursive\", \"result\",\n                  \"return\", \"rewind\", \"save\", \"select\", \"sequence\",\n                  \"stop\", \"subroutine\", \"target\", \"then\", \"to\", \"type\",\n                  \"use\", \"value\", \"volatile\", \"where\", \"while\",\n                  \"write\"]);\n  var builtins = words([\"abort\", \"abs\", \"access\", \"achar\", \"acos\",\n                          \"adjustl\", \"adjustr\", \"aimag\", \"aint\", \"alarm\",\n                          \"all\", \"allocated\", \"alog\", \"amax\", \"amin\",\n                          \"amod\", \"and\", \"anint\", \"any\", \"asin\",\n                          \"associated\", \"atan\", \"besj\", \"besjn\", \"besy\",\n                          \"besyn\", \"bit_size\", \"btest\", \"cabs\", \"ccos\",\n                          \"ceiling\", \"cexp\", \"char\", \"chdir\", \"chmod\",\n                          \"clog\", \"cmplx\", \"command_argument_count\",\n                          \"complex\", \"conjg\", \"cos\", \"cosh\", \"count\",\n                          \"cpu_time\", \"cshift\", \"csin\", \"csqrt\", \"ctime\",\n                          \"c_funloc\", \"c_loc\", \"c_associated\", \"c_null_ptr\",\n                          \"c_null_funptr\", \"c_f_pointer\", \"c_null_char\",\n                          \"c_alert\", \"c_backspace\", \"c_form_feed\",\n                          \"c_new_line\", \"c_carriage_return\",\n                          \"c_horizontal_tab\", \"c_vertical_tab\", \"dabs\",\n                          \"dacos\", \"dasin\", \"datan\", \"date_and_time\",\n                          \"dbesj\", \"dbesj\", \"dbesjn\", \"dbesy\", \"dbesy\",\n                          \"dbesyn\", \"dble\", \"dcos\", \"dcosh\", \"ddim\", \"derf\",\n                          \"derfc\", \"dexp\", \"digits\", \"dim\", \"dint\", \"dlog\",\n                          \"dlog\", \"dmax\", \"dmin\", \"dmod\", \"dnint\",\n                          \"dot_product\", \"dprod\", \"dsign\", \"dsinh\",\n                          \"dsin\", \"dsqrt\", \"dtanh\", \"dtan\", \"dtime\",\n                          \"eoshift\", \"epsilon\", \"erf\", \"erfc\", \"etime\",\n                          \"exit\", \"exp\", \"exponent\", \"extends_type_of\",\n                          \"fdate\", \"fget\", \"fgetc\", \"float\", \"floor\",\n                          \"flush\", \"fnum\", \"fputc\", \"fput\", \"fraction\",\n                          \"fseek\", \"fstat\", \"ftell\", \"gerror\", \"getarg\",\n                          \"get_command\", \"get_command_argument\",\n                          \"get_environment_variable\", \"getcwd\",\n                          \"getenv\", \"getgid\", \"getlog\", \"getpid\",\n                          \"getuid\", \"gmtime\", \"hostnm\", \"huge\", \"iabs\",\n                          \"iachar\", \"iand\", \"iargc\", \"ibclr\", \"ibits\",\n                          \"ibset\", \"ichar\", \"idate\", \"idim\", \"idint\",\n                          \"idnint\", \"ieor\", \"ierrno\", \"ifix\", \"imag\",\n                          \"imagpart\", \"index\", \"int\", \"ior\", \"irand\",\n                          \"isatty\", \"ishft\", \"ishftc\", \"isign\",\n                          \"iso_c_binding\", \"is_iostat_end\", \"is_iostat_eor\",\n                          \"itime\", \"kill\", \"kind\", \"lbound\", \"len\", \"len_trim\",\n                          \"lge\", \"lgt\", \"link\", \"lle\", \"llt\", \"lnblnk\", \"loc\",\n                          \"log\", \"logical\", \"long\", \"lshift\", \"lstat\", \"ltime\",\n                          \"matmul\", \"max\", \"maxexponent\", \"maxloc\", \"maxval\",\n                          \"mclock\", \"merge\", \"move_alloc\", \"min\", \"minexponent\",\n                          \"minloc\", \"minval\", \"mod\", \"modulo\", \"mvbits\",\n                          \"nearest\", \"new_line\", \"nint\", \"not\", \"or\", \"pack\",\n                          \"perror\", \"precision\", \"present\", \"product\", \"radix\",\n                          \"rand\", \"random_number\", \"random_seed\", \"range\",\n                          \"real\", \"realpart\", \"rename\", \"repeat\", \"reshape\",\n                          \"rrspacing\", \"rshift\", \"same_type_as\", \"scale\",\n                          \"scan\", \"second\", \"selected_int_kind\",\n                          \"selected_real_kind\", \"set_exponent\", \"shape\",\n                          \"short\", \"sign\", \"signal\", \"sinh\", \"sin\", \"sleep\",\n                          \"sngl\", \"spacing\", \"spread\", \"sqrt\", \"srand\", \"stat\",\n                          \"sum\", \"symlnk\", \"system\", \"system_clock\", \"tan\",\n                          \"tanh\", \"time\", \"tiny\", \"transfer\", \"transpose\",\n                          \"trim\", \"ttynam\", \"ubound\", \"umask\", \"unlink\",\n                          \"unpack\", \"verify\", \"xor\", \"zabs\", \"zcos\", \"zexp\",\n                          \"zlog\", \"zsin\", \"zsqrt\"]);\n\n    var dataTypes =  words([\"c_bool\", \"c_char\", \"c_double\", \"c_double_complex\",\n                     \"c_float\", \"c_float_complex\", \"c_funptr\", \"c_int\",\n                     \"c_int16_t\", \"c_int32_t\", \"c_int64_t\", \"c_int8_t\",\n                     \"c_int_fast16_t\", \"c_int_fast32_t\", \"c_int_fast64_t\",\n                     \"c_int_fast8_t\", \"c_int_least16_t\", \"c_int_least32_t\",\n                     \"c_int_least64_t\", \"c_int_least8_t\", \"c_intmax_t\",\n                     \"c_intptr_t\", \"c_long\", \"c_long_double\",\n                     \"c_long_double_complex\", \"c_long_long\", \"c_ptr\",\n                     \"c_short\", \"c_signed_char\", \"c_size_t\", \"character\",\n                     \"complex\", \"double\", \"integer\", \"logical\", \"real\"]);\n  var isOperatorChar = /[+\\-*&=<>\\/\\:]/;\n  var litOperator = new RegExp(\"(\\.and\\.|\\.or\\.|\\.eq\\.|\\.lt\\.|\\.le\\.|\\.gt\\.|\\.ge\\.|\\.ne\\.|\\.not\\.|\\.eqv\\.|\\.neqv\\.)\", \"i\");\n\n  function tokenBase(stream, state) {\n\n    if (stream.match(litOperator)){\n        return 'operator';\n    }\n\n    var ch = stream.next();\n    if (ch == \"!\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]\\(\\),]/.test(ch)) {\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var word = stream.current().toLowerCase();\n\n    if (keywords.hasOwnProperty(word)){\n            return 'keyword';\n    }\n    if (builtins.hasOwnProperty(word) || dataTypes.hasOwnProperty(word)) {\n            return 'builtin';\n    }\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n            end = true;\n            break;\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !escaped) state.tokenize = null;\n      return \"string\";\n    };\n  }\n\n  // Interface\n\n  return {\n    startState: function() {\n      return {tokenize: null};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      return style;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-fortran\", \"fortran\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/fortran/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Fortran mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"fortran.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Fortran</a>\n  </ul>\n</div>\n\n<article>\n<h2>Fortran mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n! Example Fortran code\n  program average\n\n  ! Read in some numbers and take the average\n  ! As written, if there are no data points, an average of zero is returned\n  ! While this may not be desired behavior, it keeps this example simple\n\n  implicit none\n\n  real, dimension(:), allocatable :: points\n  integer                         :: number_of_points\n  real                            :: average_points=0., positive_average=0., negative_average=0.\n\n  write (*,*) \"Input number of points to average:\"\n  read  (*,*) number_of_points\n\n  allocate (points(number_of_points))\n\n  write (*,*) \"Enter the points to average:\"\n  read  (*,*) points\n\n  ! Take the average by summing points and dividing by number_of_points\n  if (number_of_points > 0) average_points = sum(points) / number_of_points\n\n  ! Now form average over positive and negative points only\n  if (count(points > 0.) > 0) then\n     positive_average = sum(points, points > 0.) / count(points > 0.)\n  end if\n\n  if (count(points < 0.) > 0) then\n     negative_average = sum(points, points < 0.) / count(points < 0.)\n  end if\n\n  deallocate (points)\n\n  ! Print result to terminal\n  write (*,'(a,g12.4)') 'Average = ', average_points\n  write (*,'(a,g12.4)') 'Average of positive points = ', positive_average\n  write (*,'(a,g12.4)') 'Average of negative points = ', negative_average\n\n  end program average\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-fortran\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-Fortran</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/gas/gas.js",
    "content": "CodeMirror.defineMode(\"gas\", function(_config, parserConfig) {\n  'use strict';\n\n  // If an architecture is specified, its initialization function may\n  // populate this array with custom parsing functions which will be\n  // tried in the event that the standard functions do not find a match.\n  var custom = [];\n\n  // The symbol used to start a line comment changes based on the target\n  // architecture.\n  // If no architecture is pased in \"parserConfig\" then only multiline\n  // comments will have syntax support.\n  var lineCommentStartSymbol = \"\";\n\n  // These directives are architecture independent.\n  // Machine specific directives should go in their respective\n  // architecture initialization function.\n  // Reference:\n  // http://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops\n  var directives = {\n    \".abort\" : \"builtin\",\n    \".align\" : \"builtin\",\n    \".altmacro\" : \"builtin\",\n    \".ascii\" : \"builtin\",\n    \".asciz\" : \"builtin\",\n    \".balign\" : \"builtin\",\n    \".balignw\" : \"builtin\",\n    \".balignl\" : \"builtin\",\n    \".bundle_align_mode\" : \"builtin\",\n    \".bundle_lock\" : \"builtin\",\n    \".bundle_unlock\" : \"builtin\",\n    \".byte\" : \"builtin\",\n    \".cfi_startproc\" : \"builtin\",\n    \".comm\" : \"builtin\",\n    \".data\" : \"builtin\",\n    \".def\" : \"builtin\",\n    \".desc\" : \"builtin\",\n    \".dim\" : \"builtin\",\n    \".double\" : \"builtin\",\n    \".eject\" : \"builtin\",\n    \".else\" : \"builtin\",\n    \".elseif\" : \"builtin\",\n    \".end\" : \"builtin\",\n    \".endef\" : \"builtin\",\n    \".endfunc\" : \"builtin\",\n    \".endif\" : \"builtin\",\n    \".equ\" : \"builtin\",\n    \".equiv\" : \"builtin\",\n    \".eqv\" : \"builtin\",\n    \".err\" : \"builtin\",\n    \".error\" : \"builtin\",\n    \".exitm\" : \"builtin\",\n    \".extern\" : \"builtin\",\n    \".fail\" : \"builtin\",\n    \".file\" : \"builtin\",\n    \".fill\" : \"builtin\",\n    \".float\" : \"builtin\",\n    \".func\" : \"builtin\",\n    \".global\" : \"builtin\",\n    \".gnu_attribute\" : \"builtin\",\n    \".hidden\" : \"builtin\",\n    \".hword\" : \"builtin\",\n    \".ident\" : \"builtin\",\n    \".if\" : \"builtin\",\n    \".incbin\" : \"builtin\",\n    \".include\" : \"builtin\",\n    \".int\" : \"builtin\",\n    \".internal\" : \"builtin\",\n    \".irp\" : \"builtin\",\n    \".irpc\" : \"builtin\",\n    \".lcomm\" : \"builtin\",\n    \".lflags\" : \"builtin\",\n    \".line\" : \"builtin\",\n    \".linkonce\" : \"builtin\",\n    \".list\" : \"builtin\",\n    \".ln\" : \"builtin\",\n    \".loc\" : \"builtin\",\n    \".loc_mark_labels\" : \"builtin\",\n    \".local\" : \"builtin\",\n    \".long\" : \"builtin\",\n    \".macro\" : \"builtin\",\n    \".mri\" : \"builtin\",\n    \".noaltmacro\" : \"builtin\",\n    \".nolist\" : \"builtin\",\n    \".octa\" : \"builtin\",\n    \".offset\" : \"builtin\",\n    \".org\" : \"builtin\",\n    \".p2align\" : \"builtin\",\n    \".popsection\" : \"builtin\",\n    \".previous\" : \"builtin\",\n    \".print\" : \"builtin\",\n    \".protected\" : \"builtin\",\n    \".psize\" : \"builtin\",\n    \".purgem\" : \"builtin\",\n    \".pushsection\" : \"builtin\",\n    \".quad\" : \"builtin\",\n    \".reloc\" : \"builtin\",\n    \".rept\" : \"builtin\",\n    \".sbttl\" : \"builtin\",\n    \".scl\" : \"builtin\",\n    \".section\" : \"builtin\",\n    \".set\" : \"builtin\",\n    \".short\" : \"builtin\",\n    \".single\" : \"builtin\",\n    \".size\" : \"builtin\",\n    \".skip\" : \"builtin\",\n    \".sleb128\" : \"builtin\",\n    \".space\" : \"builtin\",\n    \".stab\" : \"builtin\",\n    \".string\" : \"builtin\",\n    \".struct\" : \"builtin\",\n    \".subsection\" : \"builtin\",\n    \".symver\" : \"builtin\",\n    \".tag\" : \"builtin\",\n    \".text\" : \"builtin\",\n    \".title\" : \"builtin\",\n    \".type\" : \"builtin\",\n    \".uleb128\" : \"builtin\",\n    \".val\" : \"builtin\",\n    \".version\" : \"builtin\",\n    \".vtable_entry\" : \"builtin\",\n    \".vtable_inherit\" : \"builtin\",\n    \".warning\" : \"builtin\",\n    \".weak\" : \"builtin\",\n    \".weakref\" : \"builtin\",\n    \".word\" : \"builtin\"\n  };\n\n  var registers = {};\n\n  function x86(_parserConfig) {\n    lineCommentStartSymbol = \"#\";\n\n    registers.ax  = \"variable\";\n    registers.eax = \"variable-2\";\n    registers.rax = \"variable-3\";\n\n    registers.bx  = \"variable\";\n    registers.ebx = \"variable-2\";\n    registers.rbx = \"variable-3\";\n\n    registers.cx  = \"variable\";\n    registers.ecx = \"variable-2\";\n    registers.rcx = \"variable-3\";\n\n    registers.dx  = \"variable\";\n    registers.edx = \"variable-2\";\n    registers.rdx = \"variable-3\";\n\n    registers.si  = \"variable\";\n    registers.esi = \"variable-2\";\n    registers.rsi = \"variable-3\";\n\n    registers.di  = \"variable\";\n    registers.edi = \"variable-2\";\n    registers.rdi = \"variable-3\";\n\n    registers.sp  = \"variable\";\n    registers.esp = \"variable-2\";\n    registers.rsp = \"variable-3\";\n\n    registers.bp  = \"variable\";\n    registers.ebp = \"variable-2\";\n    registers.rbp = \"variable-3\";\n\n    registers.ip  = \"variable\";\n    registers.eip = \"variable-2\";\n    registers.rip = \"variable-3\";\n\n    registers.cs  = \"keyword\";\n    registers.ds  = \"keyword\";\n    registers.ss  = \"keyword\";\n    registers.es  = \"keyword\";\n    registers.fs  = \"keyword\";\n    registers.gs  = \"keyword\";\n  }\n\n  function armv6(_parserConfig) {\n    // Reference:\n    // http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf\n    // http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301h/DDI0301H_arm1176jzfs_r0p7_trm.pdf\n    lineCommentStartSymbol = \"@\";\n    directives.syntax = \"builtin\";\n\n    registers.r0  = \"variable\";\n    registers.r1  = \"variable\";\n    registers.r2  = \"variable\";\n    registers.r3  = \"variable\";\n    registers.r4  = \"variable\";\n    registers.r5  = \"variable\";\n    registers.r6  = \"variable\";\n    registers.r7  = \"variable\";\n    registers.r8  = \"variable\";\n    registers.r9  = \"variable\";\n    registers.r10 = \"variable\";\n    registers.r11 = \"variable\";\n    registers.r12 = \"variable\";\n\n    registers.sp  = \"variable-2\";\n    registers.lr  = \"variable-2\";\n    registers.pc  = \"variable-2\";\n    registers.r13 = registers.sp;\n    registers.r14 = registers.lr;\n    registers.r15 = registers.pc;\n\n    custom.push(function(ch, stream) {\n      if (ch === '#') {\n        stream.eatWhile(/\\w/);\n        return \"number\";\n      }\n    });\n  }\n\n  var arch = parserConfig.architecture.toLowerCase();\n  if (arch === \"x86\") {\n    x86(parserConfig);\n  } else if (arch === \"arm\" || arch === \"armv6\") {\n    armv6(parserConfig);\n  }\n\n  function nextUntilUnescaped(stream, end) {\n    var escaped = false, next;\n    while ((next = stream.next()) != null) {\n      if (next === end && !escaped) {\n        return false;\n      }\n      escaped = !escaped && next === \"\\\\\";\n    }\n    return escaped;\n  }\n\n  function clikeComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (ch === \"/\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch === \"*\");\n    }\n    return \"comment\";\n  }\n\n  return {\n    startState: function() {\n      return {\n        tokenize: null\n      };\n    },\n\n    token: function(stream, state) {\n      if (state.tokenize) {\n        return state.tokenize(stream, state);\n      }\n\n      if (stream.eatSpace()) {\n        return null;\n      }\n\n      var style, cur, ch = stream.next();\n\n      if (ch === \"/\") {\n        if (stream.eat(\"*\")) {\n          state.tokenize = clikeComment;\n          return clikeComment(stream, state);\n        }\n      }\n\n      if (ch === lineCommentStartSymbol) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n\n      if (ch === '\"') {\n        nextUntilUnescaped(stream, '\"');\n        return \"string\";\n      }\n\n      if (ch === '.') {\n        stream.eatWhile(/\\w/);\n        cur = stream.current().toLowerCase();\n        style = directives[cur];\n        return style || null;\n      }\n\n      if (ch === '=') {\n        stream.eatWhile(/\\w/);\n        return \"tag\";\n      }\n\n      if (ch === '{') {\n        return \"braket\";\n      }\n\n      if (ch === '}') {\n        return \"braket\";\n      }\n\n      if (/\\d/.test(ch)) {\n        if (ch === \"0\" && stream.eat(\"x\")) {\n          stream.eatWhile(/[0-9a-fA-F]/);\n          return \"number\";\n        }\n        stream.eatWhile(/\\d/);\n        return \"number\";\n      }\n\n      if (/\\w/.test(ch)) {\n        stream.eatWhile(/\\w/);\n        if (stream.eat(\":\")) {\n          return 'tag';\n        }\n        cur = stream.current().toLowerCase();\n        style = registers[cur];\n        return style || null;\n      }\n\n      for (var i = 0; i < custom.length; i++) {\n        style = custom[i](ch, stream, state);\n        if (style) {\n          return style;\n        }\n      }\n    },\n\n    lineComment: lineCommentStartSymbol,\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\"\n  };\n});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/gas/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Gas mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"gas.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Gas</a>\n  </ul>\n</div>\n\n<article>\n<h2>Gas mode</h2>\n<form>\n<textarea id=\"code\" name=\"code\">\n.syntax unified\n.global main\n\n/* \n *  A\n *  multi-line\n *  comment.\n */\n\n@ A single line comment.\n\nmain:\n        push    {sp, lr}\n        ldr     r0, =message\n        bl      puts\n        mov     r0, #0\n        pop     {sp, pc}\n\nmessage:\n        .asciz \"Hello world!<br />\"\n</textarea>\n        </form>\n\n        <script>\n            var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n                lineNumbers: true,\n                mode: {name: \"gas\", architecture: \"ARMv6\"},\n            });\n        </script>\n\n        <p>Handles AT&amp;T assembler syntax (more specifically this handles\n        the GNU Assembler (gas) syntax.)\n        It takes a single optional configuration parameter:\n        <code>architecture</code>, which can be one of <code>\"ARM\"</code>,\n        <code>\"ARMv6\"</code> or <code>\"x86\"</code>.\n        Including the parameter adds syntax for the registers and special\n        directives for the supplied architecture.\n\n        <p><strong>MIME types defined:</strong> <code>text/x-gas</code></p>\n    </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/gfm/gfm.js",
    "content": "CodeMirror.defineMode(\"gfm\", function(config) {\n  var codeDepth = 0;\n  function blankLine(state) {\n    state.code = false;\n    return null;\n  }\n  var gfmOverlay = {\n    startState: function() {\n      return {\n        code: false,\n        codeBlock: false,\n        ateSpace: false\n      };\n    },\n    copyState: function(s) {\n      return {\n        code: s.code,\n        codeBlock: s.codeBlock,\n        ateSpace: s.ateSpace\n      };\n    },\n    token: function(stream, state) {\n      // Hack to prevent formatting override inside code blocks (block and inline)\n      if (state.codeBlock) {\n        if (stream.match(/^```/)) {\n          state.codeBlock = false;\n          return null;\n        }\n        stream.skipToEnd();\n        return null;\n      }\n      if (stream.sol()) {\n        state.code = false;\n      }\n      if (stream.sol() && stream.match(/^```/)) {\n        stream.skipToEnd();\n        state.codeBlock = true;\n        return null;\n      }\n      // If this block is changed, it may need to be updated in Markdown mode\n      if (stream.peek() === '`') {\n        stream.next();\n        var before = stream.pos;\n        stream.eatWhile('`');\n        var difference = 1 + stream.pos - before;\n        if (!state.code) {\n          codeDepth = difference;\n          state.code = true;\n        } else {\n          if (difference === codeDepth) { // Must be exact\n            state.code = false;\n          }\n        }\n        return null;\n      } else if (state.code) {\n        stream.next();\n        return null;\n      }\n      // Check if space. If so, links can be formatted later on\n      if (stream.eatSpace()) {\n        state.ateSpace = true;\n        return null;\n      }\n      if (stream.sol() || state.ateSpace) {\n        state.ateSpace = false;\n        if(stream.match(/^(?:[a-zA-Z0-9\\-_]+\\/)?(?:[a-zA-Z0-9\\-_]+@)?(?:[a-f0-9]{7,40}\\b)/)) {\n          // User/Project@SHA\n          // User@SHA\n          // SHA\n          return \"link\";\n        } else if (stream.match(/^(?:[a-zA-Z0-9\\-_]+\\/)?(?:[a-zA-Z0-9\\-_]+)?#[0-9]+\\b/)) {\n          // User/Project#Num\n          // User#Num\n          // #Num\n          return \"link\";\n        }\n      }\n      if (stream.match(/^((?:[a-z][\\w-]+:(?:\\/{1,3}|[a-z0-9%])|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}\\/)(?:[^\\s()<>]+|\\([^\\s()<>]*\\))+(?:\\([^\\s()<>]*\\)|[^\\s`!()\\[\\]{};:'\".,<>?«»“”‘’]))/i) &&\n         stream.string.slice(stream.start - 2, stream.start) != \"](\") {\n        // URLs\n        // Taken from http://daringfireball.net/2010/07/improved_regex_for_matching_urls\n        // And then (issue #1160) simplified to make it not crash the Chrome Regexp engine\n        return \"link\";\n      }\n      stream.next();\n      return null;\n    },\n    blankLine: blankLine\n  };\n  CodeMirror.defineMIME(\"gfmBase\", {\n    name: \"markdown\",\n    underscoresBreakWords: false,\n    taskLists: true,\n    fencedCodeBlocks: true\n  });\n  return CodeMirror.overlayMode(CodeMirror.getMode(config, \"gfmBase\"), gfmOverlay);\n}, \"markdown\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/gfm/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: GFM mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/mode/overlay.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../markdown/markdown.js\"></script>\n<script src=\"gfm.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"../clike/clike.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">GFM</a>\n  </ul>\n</div>\n\n<article>\n<h2>GFM mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nGitHub Flavored Markdown\n========================\n\nEverything from markdown plus GFM features:\n\n## URL autolinking\n\nUnderscores_are_allowed_between_words.\n\n## Fenced code blocks (and syntax highlighting)\n\n```javascript\nfor (var i = 0; i &lt; items.length; i++) {\n    console.log(items[i], i); // log them\n}\n```\n\n## Task Lists\n\n- [ ] Incomplete task list item\n- [x] **Completed** task list item\n\n## A bit of GitHub spice\n\n* SHA: be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2\n* User@SHA ref: mojombo@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2\n* User/Project@SHA: mojombo/god@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2\n* \\#Num: #1\n* User/#Num: mojombo#1\n* User/Project#Num: mojombo/god#1\n\nSee http://github.github.com/github-flavored-markdown/.\n\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'gfm',\n        lineNumbers: true,\n        theme: \"default\"\n      });\n    </script>\n\n    <p>Optionally depends on other modes for properly highlighted code blocks.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#gfm_*\">normal</a>,  <a href=\"../../test/index.html#verbose,gfm_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/gfm/test.js",
    "content": "(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"gfm\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"emInWordAsterisk\",\n     \"foo[em *bar*]hello\");\n\n  MT(\"emInWordUnderscore\",\n     \"foo_bar_hello\");\n\n  MT(\"emStrongUnderscore\",\n     \"[strong __][em&strong _foo__][em _] bar\");\n\n  MT(\"fencedCodeBlocks\",\n     \"[comment ```]\",\n     \"[comment foo]\",\n     \"\",\n     \"[comment ```]\",\n     \"bar\");\n\n  MT(\"fencedCodeBlockModeSwitching\",\n     \"[comment ```javascript]\",\n     \"[variable foo]\",\n     \"\",\n     \"[comment ```]\",\n     \"bar\");\n\n  MT(\"taskListAsterisk\",\n     \"[variable-2 * []] foo]\", // Invalid; must have space or x between []\n     \"[variable-2 * [ ]]bar]\", // Invalid; must have space after ]\n     \"[variable-2 * [x]]hello]\", // Invalid; must have space after ]\n     \"[variable-2 * ][meta [ ]]][variable-2  [world]]]\", // Valid; tests reference style links\n     \"    [variable-3 * ][property [x]]][variable-3  foo]\"); // Valid; can be nested\n\n  MT(\"taskListPlus\",\n     \"[variable-2 + []] foo]\", // Invalid; must have space or x between []\n     \"[variable-2 + [ ]]bar]\", // Invalid; must have space after ]\n     \"[variable-2 + [x]]hello]\", // Invalid; must have space after ]\n     \"[variable-2 + ][meta [ ]]][variable-2  [world]]]\", // Valid; tests reference style links\n     \"    [variable-3 + ][property [x]]][variable-3  foo]\"); // Valid; can be nested\n\n  MT(\"taskListDash\",\n     \"[variable-2 - []] foo]\", // Invalid; must have space or x between []\n     \"[variable-2 - [ ]]bar]\", // Invalid; must have space after ]\n     \"[variable-2 - [x]]hello]\", // Invalid; must have space after ]\n     \"[variable-2 - ][meta [ ]]][variable-2  [world]]]\", // Valid; tests reference style links\n     \"    [variable-3 - ][property [x]]][variable-3  foo]\"); // Valid; can be nested\n\n  MT(\"taskListNumber\",\n     \"[variable-2 1. []] foo]\", // Invalid; must have space or x between []\n     \"[variable-2 2. [ ]]bar]\", // Invalid; must have space after ]\n     \"[variable-2 3. [x]]hello]\", // Invalid; must have space after ]\n     \"[variable-2 4. ][meta [ ]]][variable-2  [world]]]\", // Valid; tests reference style links\n     \"    [variable-3 1. ][property [x]]][variable-3  foo]\"); // Valid; can be nested\n\n  MT(\"SHA\",\n     \"foo [link be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] bar\");\n\n  MT(\"shortSHA\",\n     \"foo [link be6a8cc] bar\");\n\n  MT(\"tooShortSHA\",\n     \"foo be6a8c bar\");\n\n  MT(\"longSHA\",\n     \"foo be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd22 bar\");\n\n  MT(\"badSHA\",\n     \"foo be6a8cc1c1ecfe9489fb51e4869af15a13fc2cg2 bar\");\n\n  MT(\"userSHA\",\n     \"foo [link bar@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] hello\");\n\n  MT(\"userProjectSHA\",\n     \"foo [link bar/hello@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2] world\");\n\n  MT(\"num\",\n     \"foo [link #1] bar\");\n\n  MT(\"badNum\",\n     \"foo #1bar hello\");\n\n  MT(\"userNum\",\n     \"foo [link bar#1] hello\");\n\n  MT(\"userProjectNum\",\n     \"foo [link bar/hello#1] world\");\n\n  MT(\"vanillaLink\",\n     \"foo [link http://www.example.com/] bar\");\n\n  MT(\"vanillaLinkPunctuation\",\n     \"foo [link http://www.example.com/]. bar\");\n\n  MT(\"vanillaLinkExtension\",\n     \"foo [link http://www.example.com/index.html] bar\");\n\n  MT(\"notALink\",\n     \"[comment ```css]\",\n     \"[tag foo] {[property color][operator :][keyword black];}\",\n     \"[comment ```][link http://www.example.com/]\");\n\n  MT(\"notALink\",\n     \"[comment ``foo `bar` http://www.example.com/``] hello\");\n\n  MT(\"notALink\",\n     \"[comment `foo]\",\n     \"[link http://www.example.com/]\",\n     \"[comment `foo]\",\n     \"\",\n     \"[link http://www.example.com/]\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/gherkin/gherkin.js",
    "content": "/*\nGherkin mode - http://www.cukes.info/\nReport bugs/issues here: https://github.com/marijnh/CodeMirror/issues\n*/\n\n// Following Objs from Brackets implementation: https://github.com/tregusti/brackets-gherkin/blob/master/main.js\n//var Quotes = {\n//  SINGLE: 1,\n//  DOUBLE: 2\n//};\n\n//var regex = {\n//  keywords: /(Feature| {2}(Scenario|In order to|As|I)| {4}(Given|When|Then|And))/\n//};\n\nCodeMirror.defineMode(\"gherkin\", function () {\n  return {\n    startState: function () {\n      return {\n        lineNumber: 0,\n        tableHeaderLine: null,\n        allowFeature: true,\n        allowBackground: false,\n        allowScenario: false,\n        allowSteps: false,\n        allowPlaceholders: false,\n        inMultilineArgument: false,\n        inMultilineString: false,\n        inMultilineTable: false\n      };\n    },\n    token: function (stream, state) {\n      if (stream.sol()) {\n        state.lineNumber++;\n      }\n      stream.eatSpace();\n\n      // INSIDE OF MULTILINE ARGUMENTS\n      if (state.inMultilineArgument) {\n\n        // STRING\n        if (state.inMultilineString) {\n          if (stream.match('\"\"\"')) {\n            state.inMultilineString = false;\n            state.inMultilineArgument = false;\n          } else {\n            stream.match(/.*/);\n          }\n          return \"string\";\n        }\n\n        // TABLE\n        if (state.inMultilineTable) {\n          // New table, assume first row is headers\n          if (state.tableHeaderLine === null) {\n            state.tableHeaderLine = state.lineNumber;\n          }\n\n          if (stream.match(/\\|\\s*/)) {\n            if (stream.eol()) {\n              state.inMultilineTable = false;\n            }\n            return \"bracket\";\n          } else {\n            stream.match(/[^\\|]*/);\n            return state.tableHeaderLine === state.lineNumber ? \"property\" : \"string\";\n          }\n        }\n\n        // DETECT START\n        if (stream.match('\"\"\"')) {\n          // String\n          state.inMultilineString = true;\n          return \"string\";\n        } else if (stream.match(\"|\")) {\n          // Table\n          state.inMultilineTable = true;\n          return \"bracket\";\n        } else {\n          // Or abort\n          state.inMultilineArgument = false;\n          state.tableHeaderLine = null;\n        }\n\n\n        return null;\n      }\n\n      // LINE COMMENT\n      if (stream.match(/#.*/)) {\n        return \"comment\";\n\n      // TAG\n      } else if (stream.match(/@\\S+/)) {\n        return \"def\";\n\n      // FEATURE\n      } else if (state.allowFeature && stream.match(/Feature:/)) {\n        state.allowScenario = true;\n        state.allowBackground = true;\n        state.allowPlaceholders = false;\n        state.allowSteps = false;\n        return \"keyword\";\n\n      // BACKGROUND\n      } else if (state.allowBackground && stream.match(\"Background:\")) {\n        state.allowPlaceholders = false;\n        state.allowSteps = true;\n        state.allowBackground = false;\n        return \"keyword\";\n\n      // SCENARIO OUTLINE\n      } else if (state.allowScenario && stream.match(\"Scenario Outline:\")) {\n        state.allowPlaceholders = true;\n        state.allowSteps = true;\n        return \"keyword\";\n\n      // EXAMPLES\n      } else if (state.allowScenario && stream.match(\"Examples:\")) {\n        state.allowPlaceholders = false;\n        state.allowSteps = true;\n        state.allowBackground = false;\n        state.inMultilineArgument = true;\n        return \"keyword\";\n\n      // SCENARIO\n      } else if (state.allowScenario && stream.match(/Scenario:/)) {\n        state.allowPlaceholders = false;\n        state.allowSteps = true;\n        state.allowBackground = false;\n        return \"keyword\";\n\n      // STEPS\n      } else if (state.allowSteps && stream.match(/(Given|When|Then|And|But)/)) {\n        return \"keyword\";\n\n      // INLINE STRING\n      } else if (!state.inMultilineArgument && stream.match(/\"/)) {\n        stream.match(/.*?\"/);\n        return \"string\";\n\n      // MULTILINE ARGUMENTS\n      } else if (state.allowSteps && stream.eat(\":\")) {\n        if (stream.match(/\\s*$/)) {\n          state.inMultilineArgument = true;\n          return \"keyword\";\n        } else {\n          return null;\n        }\n\n      } else if (state.allowSteps && stream.match(\"<\")) {\n        if (stream.match(/.*?>/)) {\n          return \"property\";\n        } else {\n          return null;\n        }\n\n      // Fall through\n      } else {\n        stream.eatWhile(/[^\":<]/);\n      }\n\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-feature\", \"gherkin\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/gherkin/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Gherkin mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"gherkin.js\"></script>\n<style>.CodeMirror { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Gherkin</a>\n  </ul>\n</div>\n\n<article>\n<h2>Gherkin mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nFeature: Using Google\n  Background: \n    Something something\n    Something else\n  Scenario: Has a homepage\n    When I navigate to the google home page\n    Then the home page should contain the menu and the search form\n  Scenario: Searching for a term \n    When I navigate to the google home page\n    When I search for Tofu\n    Then the search results page is displayed\n    Then the search results page contains 10 individual search results\n    Then the search results contain a link to the wikipedia tofu page\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-feature</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/go/go.js",
    "content": "CodeMirror.defineMode(\"go\", function(config) {\n  var indentUnit = config.indentUnit;\n\n  var keywords = {\n    \"break\":true, \"case\":true, \"chan\":true, \"const\":true, \"continue\":true,\n    \"default\":true, \"defer\":true, \"else\":true, \"fallthrough\":true, \"for\":true,\n    \"func\":true, \"go\":true, \"goto\":true, \"if\":true, \"import\":true,\n    \"interface\":true, \"map\":true, \"package\":true, \"range\":true, \"return\":true,\n    \"select\":true, \"struct\":true, \"switch\":true, \"type\":true, \"var\":true,\n    \"bool\":true, \"byte\":true, \"complex64\":true, \"complex128\":true,\n    \"float32\":true, \"float64\":true, \"int8\":true, \"int16\":true, \"int32\":true,\n    \"int64\":true, \"string\":true, \"uint8\":true, \"uint16\":true, \"uint32\":true,\n    \"uint64\":true, \"int\":true, \"uint\":true, \"uintptr\":true\n  };\n\n  var atoms = {\n    \"true\":true, \"false\":true, \"iota\":true, \"nil\":true, \"append\":true,\n    \"cap\":true, \"close\":true, \"complex\":true, \"copy\":true, \"imag\":true,\n    \"len\":true, \"make\":true, \"new\":true, \"panic\":true, \"print\":true,\n    \"println\":true, \"real\":true, \"recover\":true\n  };\n\n  var isOperatorChar = /[+\\-*&^%:=<>!|\\/]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\" || ch == \"`\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\d\\.]/.test(ch)) {\n      if (ch == \".\") {\n        stream.match(/^[0-9]+([eE][\\-+]?[0-9]+)?/);\n      } else if (ch == \"0\") {\n        stream.match(/^[xX][0-9a-fA-F]+/) || stream.match(/^0[0-7]+/);\n      } else {\n        stream.match(/^[0-9]*\\.?[0-9]*([eE][\\-+]?[0-9]+)?/);\n      }\n      return \"number\";\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (cur == \"case\" || cur == \"default\") curPunc = \"case\";\n      return \"keyword\";\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || quote == \"`\"))\n        state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    return state.context = new Context(state.indented, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n        if (ctx.type == \"case\") ctx.type = \"}\";\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"case\") ctx.type = \"case\";\n      else if (curPunc == \"}\" && ctx.type == \"}\") ctx = popContext(state);\n      else if (curPunc == ctx.type) popContext(state);\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return 0;\n      var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);\n      if (ctx.type == \"case\" && /^(?:case|default)\\b/.test(textAfter)) {\n        state.context.type = \"}\";\n        return ctx.indented;\n      }\n      var closing = firstChar == ctx.type;\n      if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}):\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-go\", \"go\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/go/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Go mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/elegant.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"go.js\"></script>\n<style>.CodeMirror {border:1px solid #999; background:#ffc}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Go</a>\n  </ul>\n</div>\n\n<article>\n<h2>Go mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n// Prime Sieve in Go.\n// Taken from the Go specification.\n// Copyright © The Go Authors.\n\npackage main\n\nimport \"fmt\"\n\n// Send the sequence 2, 3, 4, ... to channel 'ch'.\nfunc generate(ch chan&lt;- int) {\n\tfor i := 2; ; i++ {\n\t\tch &lt;- i  // Send 'i' to channel 'ch'\n\t}\n}\n\n// Copy the values from channel 'src' to channel 'dst',\n// removing those divisible by 'prime'.\nfunc filter(src &lt;-chan int, dst chan&lt;- int, prime int) {\n\tfor i := range src {    // Loop over values received from 'src'.\n\t\tif i%prime != 0 {\n\t\t\tdst &lt;- i  // Send 'i' to channel 'dst'.\n\t\t}\n\t}\n}\n\n// The prime sieve: Daisy-chain filter processes together.\nfunc sieve() {\n\tch := make(chan int)  // Create a new channel.\n\tgo generate(ch)       // Start generate() as a subprocess.\n\tfor {\n\t\tprime := &lt;-ch\n\t\tfmt.Print(prime, \"\\n\")\n\t\tch1 := make(chan int)\n\t\tgo filter(ch, ch1, prime)\n\t\tch = ch1\n\t}\n}\n\nfunc main() {\n\tsieve()\n}\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        theme: \"elegant\",\n        matchBrackets: true,\n        indentUnit: 8,\n        tabSize: 8,\n        indentWithTabs: true,\n        mode: \"text/x-go\"\n      });\n    </script>\n\n    <p><strong>MIME type:</strong> <code>text/x-go</code></p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/groovy/groovy.js",
    "content": "CodeMirror.defineMode(\"groovy\", function(config) {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var keywords = words(\n    \"abstract as assert boolean break byte case catch char class const continue def default \" +\n    \"do double else enum extends final finally float for goto if implements import in \" +\n    \"instanceof int interface long native new package private protected public return \" +\n    \"short static strictfp super switch synchronized threadsafe throw throws transient \" +\n    \"try void volatile while\");\n  var blockKeywords = words(\"catch class do else finally for if switch try while enum interface def\");\n  var atoms = words(\"null true false this\");\n\n  var curPunc;\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\") {\n      return startString(ch, stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      if (stream.eat(/eE/)) { stream.eat(/\\+\\-/); stream.eatWhile(/\\d/); }\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize.push(tokenComment);\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      if (expectExpression(state.lastToken)) {\n        return startString(ch, stream, state);\n      }\n    }\n    if (ch == \"-\" && stream.eat(\">\")) {\n      curPunc = \"->\";\n      return null;\n    }\n    if (/[+\\-*&%=<>!?|\\/~]/.test(ch)) {\n      stream.eatWhile(/[+\\-*&%=<>|~]/);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    if (ch == \"@\") { stream.eatWhile(/[\\w\\$_\\.]/); return \"meta\"; }\n    if (state.lastToken == \".\") return \"property\";\n    if (stream.eat(\":\")) { curPunc = \"proplabel\"; return \"property\"; }\n    var cur = stream.current();\n    if (atoms.propertyIsEnumerable(cur)) { return \"atom\"; }\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    }\n    return \"variable\";\n  }\n  tokenBase.isBase = true;\n\n  function startString(quote, stream, state) {\n    var tripleQuoted = false;\n    if (quote != \"/\" && stream.eat(quote)) {\n      if (stream.eat(quote)) tripleQuoted = true;\n      else return \"string\";\n    }\n    function t(stream, state) {\n      var escaped = false, next, end = !tripleQuoted;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n          if (!tripleQuoted) { break; }\n          if (stream.match(quote + quote)) { end = true; break; }\n        }\n        if (quote == '\"' && next == \"$\" && !escaped && stream.eat(\"{\")) {\n          state.tokenize.push(tokenBaseUntilBrace());\n          return \"string\";\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end) state.tokenize.pop();\n      return \"string\";\n    }\n    state.tokenize.push(t);\n    return t(stream, state);\n  }\n\n  function tokenBaseUntilBrace() {\n    var depth = 1;\n    function t(stream, state) {\n      if (stream.peek() == \"}\") {\n        depth--;\n        if (depth == 0) {\n          state.tokenize.pop();\n          return state.tokenize[state.tokenize.length-1](stream, state);\n        }\n      } else if (stream.peek() == \"{\") {\n        depth++;\n      }\n      return tokenBase(stream, state);\n    }\n    t.isBase = true;\n    return t;\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize.pop();\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function expectExpression(last) {\n    return !last || last == \"operator\" || last == \"->\" || /[\\.\\[\\{\\(,;:]/.test(last) ||\n      last == \"newstatement\" || last == \"keyword\" || last == \"proplabel\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    return state.context = new Context(state.indented, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: [tokenBase],\n        context: new Context((basecolumn || 0) - config.indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true,\n        lastToken: null\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n        // Automatic semicolon insertion\n        if (ctx.type == \"statement\" && !expectExpression(state.lastToken)) {\n          popContext(state); ctx = state.context;\n        }\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = state.tokenize[state.tokenize.length-1](stream, state);\n      if (style == \"comment\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\") && ctx.type == \"statement\") popContext(state);\n      // Handle indentation for {x -> \\n ... }\n      else if (curPunc == \"->\" && ctx.type == \"statement\" && ctx.prev.type == \"}\") {\n        popContext(state);\n        state.context.align = false;\n      }\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (ctx.type == \"}\" || ctx.type == \"top\" || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      state.lastToken = curPunc || style;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (!state.tokenize[state.tokenize.length-1].isBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), ctx = state.context;\n      if (ctx.type == \"statement\" && !expectExpression(state.lastToken)) ctx = ctx.prev;\n      var closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : config.indentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : config.indentUnit);\n    },\n\n    electricChars: \"{}\",\n    fold: \"brace\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-groovy\", \"groovy\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/groovy/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Groovy mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"groovy.js\"></script>\n<style>.CodeMirror {border-top: 1px solid #500; border-bottom: 1px solid #500;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Groovy</a>\n  </ul>\n</div>\n\n<article>\n<h2>Groovy mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n//Pattern for groovy script\ndef p = ~/.*\\.groovy/\nnew File( 'd:\\\\scripts' ).eachFileMatch(p) {f ->\n  // imports list\n  def imports = []\n  f.eachLine {\n    // condition to detect an import instruction\n    ln -> if ( ln =~ '^import .*' ) {\n      imports << \"${ln - 'import '}\"\n    }\n  }\n  // print thmen\n  if ( ! imports.empty ) {\n    println f\n    imports.each{ println \"   $it\" }\n  }\n}\n\n/* Coin changer demo code from http://groovy.codehaus.org */\n\nenum UsCoin {\n  quarter(25), dime(10), nickel(5), penny(1)\n  UsCoin(v) { value = v }\n  final value\n}\n\nenum OzzieCoin {\n  fifty(50), twenty(20), ten(10), five(5)\n  OzzieCoin(v) { value = v }\n  final value\n}\n\ndef plural(word, count) {\n  if (count == 1) return word\n  word[-1] == 'y' ? word[0..-2] + \"ies\" : word + \"s\"\n}\n\ndef change(currency, amount) {\n  currency.values().inject([]){ list, coin ->\n     int count = amount / coin.value\n     amount = amount % coin.value\n     list += \"$count ${plural(coin.toString(), count)}\"\n  }\n}\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-groovy\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-groovy</code></p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/haml/haml.js",
    "content": "(function() {\n  \"use strict\";\n\n  // full haml mode. This handled embeded ruby and html fragments too\n  CodeMirror.defineMode(\"haml\", function(config) {\n    var htmlMode = CodeMirror.getMode(config, {name: \"htmlmixed\"});\n    var rubyMode = CodeMirror.getMode(config, \"ruby\");\n\n    function rubyInQuote(endQuote) {\n      return function(stream, state) {\n        var ch = stream.peek();\n        if (ch == endQuote && state.rubyState.tokenize.length == 1) {\n          // step out of ruby context as it seems to complete processing all the braces\n          stream.next();\n          state.tokenize = html;\n          return \"closeAttributeTag\";\n        } else {\n          return ruby(stream, state);\n        }\n      };\n    }\n\n    function ruby(stream, state) {\n      if (stream.match(\"-#\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      return rubyMode.token(stream, state.rubyState);\n    }\n\n    function html(stream, state) {\n      var ch = stream.peek();\n\n      // handle haml declarations. All declarations that cant be handled here\n      // will be passed to html mode\n      if (state.previousToken.style == \"comment\" ) {\n        if (state.indented > state.previousToken.indented) {\n          stream.skipToEnd();\n          return \"commentLine\";\n        }\n      }\n\n      if (state.startOfLine) {\n        if (ch == \"!\" && stream.match(\"!!\")) {\n          stream.skipToEnd();\n          return \"tag\";\n        } else if (stream.match(/^%[\\w:#\\.]+=/)) {\n          state.tokenize = ruby;\n          return \"hamlTag\";\n        } else if (stream.match(/^%[\\w:]+/)) {\n          return \"hamlTag\";\n        } else if (ch == \"/\" ) {\n          stream.skipToEnd();\n          return \"comment\";\n        }\n      }\n\n      if (state.startOfLine || state.previousToken.style == \"hamlTag\") {\n        if ( ch == \"#\" || ch == \".\") {\n          stream.match(/[\\w-#\\.]*/);\n          return \"hamlAttribute\";\n        }\n      }\n\n      // donot handle --> as valid ruby, make it HTML close comment instead\n      if (state.startOfLine && !stream.match(\"-->\", false) && (ch == \"=\" || ch == \"-\" )) {\n        state.tokenize = ruby;\n        return null;\n      }\n\n      if (state.previousToken.style == \"hamlTag\" ||\n          state.previousToken.style == \"closeAttributeTag\" ||\n          state.previousToken.style == \"hamlAttribute\") {\n        if (ch == \"(\") {\n          state.tokenize = rubyInQuote(\")\");\n          return null;\n        } else if (ch == \"{\") {\n          state.tokenize = rubyInQuote(\"}\");\n          return null;\n        }\n      }\n\n      return htmlMode.token(stream, state.htmlState);\n    }\n\n    return {\n      // default to html mode\n      startState: function() {\n        var htmlState = htmlMode.startState();\n        var rubyState = rubyMode.startState();\n        return {\n          htmlState: htmlState,\n          rubyState: rubyState,\n          indented: 0,\n          previousToken: { style: null, indented: 0},\n          tokenize: html\n        };\n      },\n\n      copyState: function(state) {\n        return {\n          htmlState : CodeMirror.copyState(htmlMode, state.htmlState),\n          rubyState: CodeMirror.copyState(rubyMode, state.rubyState),\n          indented: state.indented,\n          previousToken: state.previousToken,\n          tokenize: state.tokenize\n        };\n      },\n\n      token: function(stream, state) {\n        if (stream.sol()) {\n          state.indented = stream.indentation();\n          state.startOfLine = true;\n        }\n        if (stream.eatSpace()) return null;\n        var style = state.tokenize(stream, state);\n        state.startOfLine = false;\n        // dont record comment line as we only want to measure comment line with\n        // the opening comment block\n        if (style && style != \"commentLine\") {\n          state.previousToken = { style: style, indented: state.indented };\n        }\n        // if current state is ruby and the previous token is not `,` reset the\n        // tokenize to html\n        if (stream.eol() && state.tokenize == ruby) {\n          stream.backUp(1);\n          var ch = stream.peek();\n          stream.next();\n          if (ch && ch != \",\") {\n            state.tokenize = html;\n          }\n        }\n        // reprocess some of the specific style tag when finish setting previousToken\n        if (style == \"hamlTag\") {\n          style = \"tag\";\n        } else if (style == \"commentLine\") {\n          style = \"comment\";\n        } else if (style == \"hamlAttribute\") {\n          style = \"attribute\";\n        } else if (style == \"closeAttributeTag\") {\n          style = null;\n        }\n        return style;\n      },\n\n      indent: function(state) {\n        return state.indented;\n      }\n    };\n  }, \"htmlmixed\", \"ruby\");\n\n  CodeMirror.defineMIME(\"text/x-haml\", \"haml\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/haml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: HAML mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../ruby/ruby.js\"></script>\n<script src=\"haml.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">HAML</a>\n  </ul>\n</div>\n\n<article>\n<h2>HAML mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n!!!\n#content\n.left.column(title=\"title\"){:href => \"/hello\", :test => \"#{hello}_#{world}\"}\n    <!-- This is a comment -->\n    %h2 Welcome to our site!\n    %p= puts \"HAML MODE\"\n  .right.column\n    = render :partial => \"sidebar\"\n\n.container\n  .row\n    .span8\n      %h1.title= @page_title\n%p.title= @page_title\n%p\n  /\n    The same as HTML comment\n    Hello multiline comment\n\n  -# haml comment\n      This wont be displayed\n      nor will this\n  Date/Time:\n  - now = DateTime.now\n  %strong= now\n  - if now > DateTime.parse(\"December 31, 2006\")\n    = \"Happy new \" + \"year!\"\n\n%title\n  = @title\n  \\= @title\n  <h1>Title</h1>\n  <h1 title=\"HELLO\">\n    Title\n  </h1>\n    </textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-haml\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-haml</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#haml_*\">normal</a>,  <a href=\"../../test/index.html#verbose,haml_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/haml/test.js",
    "content": "(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"haml\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  // Requires at least one media query\n  MT(\"elementName\",\n     \"[tag %h1] Hey There\");\n\n  MT(\"oneElementPerLine\",\n     \"[tag %h1] Hey There %h2\");\n\n  MT(\"idSelector\",\n     \"[tag %h1][attribute #test] Hey There\");\n\n  MT(\"classSelector\",\n     \"[tag %h1][attribute .hello] Hey There\");\n\n  MT(\"docType\",\n     \"[tag !!! XML]\");\n\n  MT(\"comment\",\n     \"[comment / Hello WORLD]\");\n\n  MT(\"notComment\",\n     \"[tag %h1] This is not a / comment \");\n\n  MT(\"attributes\",\n     \"[tag %a]([variable title][operator =][string \\\"test\\\"]){[atom :title] [operator =>] [string \\\"test\\\"]}\");\n\n  MT(\"htmlCode\",\n     \"[tag <h1>]Title[tag </h1>]\");\n\n  MT(\"rubyBlock\",\n     \"[operator =][variable-2 @item]\");\n\n  MT(\"selectorRubyBlock\",\n     \"[tag %a.selector=] [variable-2 @item]\");\n\n  MT(\"nestedRubyBlock\",\n      \"[tag %a]\",\n      \"   [operator =][variable puts] [string \\\"test\\\"]\");\n\n  MT(\"multilinePlaintext\",\n      \"[tag %p]\",\n      \"  Hello,\",\n      \"  World\");\n\n  MT(\"multilineRuby\",\n      \"[tag %p]\",\n      \"  [comment -# this is a comment]\",\n      \"     [comment and this is a comment too]\",\n      \"  Date/Time\",\n      \"  [operator -] [variable now] [operator =] [tag DateTime][operator .][variable now]\",\n      \"  [tag %strong=] [variable now]\",\n      \"  [operator -] [keyword if] [variable now] [operator >] [tag DateTime][operator .][variable parse]([string \\\"December 31, 2006\\\"])\",\n      \"     [operator =][string \\\"Happy\\\"]\",\n      \"     [operator =][string \\\"Belated\\\"]\",\n      \"     [operator =][string \\\"Birthday\\\"]\");\n\n  MT(\"multilineComment\",\n      \"[comment /]\",\n      \"  [comment Multiline]\",\n      \"  [comment Comment]\");\n\n  MT(\"hamlComment\",\n     \"[comment -# this is a comment]\");\n\n  MT(\"multilineHamlComment\",\n     \"[comment -# this is a comment]\",\n     \"   [comment and this is a comment too]\");\n\n  MT(\"multilineHTMLComment\",\n    \"[comment <!--]\",\n    \"  [comment what a comment]\",\n    \"  [comment -->]\");\n\n  MT(\"hamlAfterRubyTag\",\n    \"[attribute .block]\",\n    \"  [tag %strong=] [variable now]\",\n    \"  [attribute .test]\",\n    \"     [operator =][variable now]\",\n    \"  [attribute .right]\");\n\n  MT(\"stretchedRuby\",\n     \"[operator =] [variable puts] [string \\\"Hello\\\"],\",\n     \"   [string \\\"World\\\"]\");\n\n  MT(\"interpolationInHashAttribute\",\n     //\"[tag %div]{[atom :id] [operator =>] [string \\\"#{][variable test][string }_#{][variable ting][string }\\\"]} test\");\n     \"[tag %div]{[atom :id] [operator =>] [string \\\"#{][variable test][string }_#{][variable ting][string }\\\"]} test\");\n\n  MT(\"interpolationInHTMLAttribute\",\n     \"[tag %div]([variable title][operator =][string \\\"#{][variable test][string }_#{][variable ting]()[string }\\\"]) Test\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/haskell/haskell.js",
    "content": "CodeMirror.defineMode(\"haskell\", function(_config, modeConfig) {\n\n  function switchState(source, setState, f) {\n    setState(f);\n    return f(source, setState);\n  }\n\n  // These should all be Unicode extended, as per the Haskell 2010 report\n  var smallRE = /[a-z_]/;\n  var largeRE = /[A-Z]/;\n  var digitRE = /[0-9]/;\n  var hexitRE = /[0-9A-Fa-f]/;\n  var octitRE = /[0-7]/;\n  var idRE = /[a-z_A-Z0-9']/;\n  var symbolRE = /[-!#$%&*+.\\/<=>?@\\\\^|~:]/;\n  var specialRE = /[(),;[\\]`{}]/;\n  var whiteCharRE = /[ \\t\\v\\f]/; // newlines are handled in tokenizer\n\n  function normal(source, setState) {\n    if (source.eatWhile(whiteCharRE)) {\n      return null;\n    }\n\n    var ch = source.next();\n    if (specialRE.test(ch)) {\n      if (ch == '{' && source.eat('-')) {\n        var t = \"comment\";\n        if (source.eat('#')) {\n          t = \"meta\";\n        }\n        return switchState(source, setState, ncomment(t, 1));\n      }\n      return null;\n    }\n\n    if (ch == '\\'') {\n      if (source.eat('\\\\')) {\n        source.next();  // should handle other escapes here\n      }\n      else {\n        source.next();\n      }\n      if (source.eat('\\'')) {\n        return \"string\";\n      }\n      return \"error\";\n    }\n\n    if (ch == '\"') {\n      return switchState(source, setState, stringLiteral);\n    }\n\n    if (largeRE.test(ch)) {\n      source.eatWhile(idRE);\n      if (source.eat('.')) {\n        return \"qualifier\";\n      }\n      return \"variable-2\";\n    }\n\n    if (smallRE.test(ch)) {\n      source.eatWhile(idRE);\n      return \"variable\";\n    }\n\n    if (digitRE.test(ch)) {\n      if (ch == '0') {\n        if (source.eat(/[xX]/)) {\n          source.eatWhile(hexitRE); // should require at least 1\n          return \"integer\";\n        }\n        if (source.eat(/[oO]/)) {\n          source.eatWhile(octitRE); // should require at least 1\n          return \"number\";\n        }\n      }\n      source.eatWhile(digitRE);\n      var t = \"number\";\n      if (source.eat('.')) {\n        t = \"number\";\n        source.eatWhile(digitRE); // should require at least 1\n      }\n      if (source.eat(/[eE]/)) {\n        t = \"number\";\n        source.eat(/[-+]/);\n        source.eatWhile(digitRE); // should require at least 1\n      }\n      return t;\n    }\n\n    if (symbolRE.test(ch)) {\n      if (ch == '-' && source.eat(/-/)) {\n        source.eatWhile(/-/);\n        if (!source.eat(symbolRE)) {\n          source.skipToEnd();\n          return \"comment\";\n        }\n      }\n      var t = \"variable\";\n      if (ch == ':') {\n        t = \"variable-2\";\n      }\n      source.eatWhile(symbolRE);\n      return t;\n    }\n\n    return \"error\";\n  }\n\n  function ncomment(type, nest) {\n    if (nest == 0) {\n      return normal;\n    }\n    return function(source, setState) {\n      var currNest = nest;\n      while (!source.eol()) {\n        var ch = source.next();\n        if (ch == '{' && source.eat('-')) {\n          ++currNest;\n        }\n        else if (ch == '-' && source.eat('}')) {\n          --currNest;\n          if (currNest == 0) {\n            setState(normal);\n            return type;\n          }\n        }\n      }\n      setState(ncomment(type, currNest));\n      return type;\n    };\n  }\n\n  function stringLiteral(source, setState) {\n    while (!source.eol()) {\n      var ch = source.next();\n      if (ch == '\"') {\n        setState(normal);\n        return \"string\";\n      }\n      if (ch == '\\\\') {\n        if (source.eol() || source.eat(whiteCharRE)) {\n          setState(stringGap);\n          return \"string\";\n        }\n        if (source.eat('&')) {\n        }\n        else {\n          source.next(); // should handle other escapes here\n        }\n      }\n    }\n    setState(normal);\n    return \"error\";\n  }\n\n  function stringGap(source, setState) {\n    if (source.eat('\\\\')) {\n      return switchState(source, setState, stringLiteral);\n    }\n    source.next();\n    setState(normal);\n    return \"error\";\n  }\n\n\n  var wellKnownWords = (function() {\n    var wkw = {};\n    function setType(t) {\n      return function () {\n        for (var i = 0; i < arguments.length; i++)\n          wkw[arguments[i]] = t;\n      };\n    }\n\n    setType(\"keyword\")(\n      \"case\", \"class\", \"data\", \"default\", \"deriving\", \"do\", \"else\", \"foreign\",\n      \"if\", \"import\", \"in\", \"infix\", \"infixl\", \"infixr\", \"instance\", \"let\",\n      \"module\", \"newtype\", \"of\", \"then\", \"type\", \"where\", \"_\");\n\n    setType(\"keyword\")(\n      \"\\.\\.\", \":\", \"::\", \"=\", \"\\\\\", \"\\\"\", \"<-\", \"->\", \"@\", \"~\", \"=>\");\n\n    setType(\"builtin\")(\n      \"!!\", \"$!\", \"$\", \"&&\", \"+\", \"++\", \"-\", \".\", \"/\", \"/=\", \"<\", \"<=\", \"=<<\",\n      \"==\", \">\", \">=\", \">>\", \">>=\", \"^\", \"^^\", \"||\", \"*\", \"**\");\n\n    setType(\"builtin\")(\n      \"Bool\", \"Bounded\", \"Char\", \"Double\", \"EQ\", \"Either\", \"Enum\", \"Eq\",\n      \"False\", \"FilePath\", \"Float\", \"Floating\", \"Fractional\", \"Functor\", \"GT\",\n      \"IO\", \"IOError\", \"Int\", \"Integer\", \"Integral\", \"Just\", \"LT\", \"Left\",\n      \"Maybe\", \"Monad\", \"Nothing\", \"Num\", \"Ord\", \"Ordering\", \"Rational\", \"Read\",\n      \"ReadS\", \"Real\", \"RealFloat\", \"RealFrac\", \"Right\", \"Show\", \"ShowS\",\n      \"String\", \"True\");\n\n    setType(\"builtin\")(\n      \"abs\", \"acos\", \"acosh\", \"all\", \"and\", \"any\", \"appendFile\", \"asTypeOf\",\n      \"asin\", \"asinh\", \"atan\", \"atan2\", \"atanh\", \"break\", \"catch\", \"ceiling\",\n      \"compare\", \"concat\", \"concatMap\", \"const\", \"cos\", \"cosh\", \"curry\",\n      \"cycle\", \"decodeFloat\", \"div\", \"divMod\", \"drop\", \"dropWhile\", \"either\",\n      \"elem\", \"encodeFloat\", \"enumFrom\", \"enumFromThen\", \"enumFromThenTo\",\n      \"enumFromTo\", \"error\", \"even\", \"exp\", \"exponent\", \"fail\", \"filter\",\n      \"flip\", \"floatDigits\", \"floatRadix\", \"floatRange\", \"floor\", \"fmap\",\n      \"foldl\", \"foldl1\", \"foldr\", \"foldr1\", \"fromEnum\", \"fromInteger\",\n      \"fromIntegral\", \"fromRational\", \"fst\", \"gcd\", \"getChar\", \"getContents\",\n      \"getLine\", \"head\", \"id\", \"init\", \"interact\", \"ioError\", \"isDenormalized\",\n      \"isIEEE\", \"isInfinite\", \"isNaN\", \"isNegativeZero\", \"iterate\", \"last\",\n      \"lcm\", \"length\", \"lex\", \"lines\", \"log\", \"logBase\", \"lookup\", \"map\",\n      \"mapM\", \"mapM_\", \"max\", \"maxBound\", \"maximum\", \"maybe\", \"min\", \"minBound\",\n      \"minimum\", \"mod\", \"negate\", \"not\", \"notElem\", \"null\", \"odd\", \"or\",\n      \"otherwise\", \"pi\", \"pred\", \"print\", \"product\", \"properFraction\",\n      \"putChar\", \"putStr\", \"putStrLn\", \"quot\", \"quotRem\", \"read\", \"readFile\",\n      \"readIO\", \"readList\", \"readLn\", \"readParen\", \"reads\", \"readsPrec\",\n      \"realToFrac\", \"recip\", \"rem\", \"repeat\", \"replicate\", \"return\", \"reverse\",\n      \"round\", \"scaleFloat\", \"scanl\", \"scanl1\", \"scanr\", \"scanr1\", \"seq\",\n      \"sequence\", \"sequence_\", \"show\", \"showChar\", \"showList\", \"showParen\",\n      \"showString\", \"shows\", \"showsPrec\", \"significand\", \"signum\", \"sin\",\n      \"sinh\", \"snd\", \"span\", \"splitAt\", \"sqrt\", \"subtract\", \"succ\", \"sum\",\n      \"tail\", \"take\", \"takeWhile\", \"tan\", \"tanh\", \"toEnum\", \"toInteger\",\n      \"toRational\", \"truncate\", \"uncurry\", \"undefined\", \"unlines\", \"until\",\n      \"unwords\", \"unzip\", \"unzip3\", \"userError\", \"words\", \"writeFile\", \"zip\",\n      \"zip3\", \"zipWith\", \"zipWith3\");\n\n    var override = modeConfig.overrideKeywords;\n    if (override) for (var word in override) if (override.hasOwnProperty(word))\n      wkw[word] = override[word];\n\n    return wkw;\n  })();\n\n\n\n  return {\n    startState: function ()  { return { f: normal }; },\n    copyState:  function (s) { return { f: s.f }; },\n\n    token: function(stream, state) {\n      var t = state.f(stream, function(s) { state.f = s; });\n      var w = stream.current();\n      return wellKnownWords.hasOwnProperty(w) ? wellKnownWords[w] : t;\n    },\n\n    blockCommentStart: \"{-\",\n    blockCommentEnd: \"-}\",\n    lineComment: \"--\"\n  };\n\n});\n\nCodeMirror.defineMIME(\"text/x-haskell\", \"haskell\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/haskell/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Haskell mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/elegant.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"haskell.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Haskell</a>\n  </ul>\n</div>\n\n<article>\n<h2>Haskell mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nmodule UniquePerms (\n    uniquePerms\n    )\nwhere\n\n-- | Find all unique permutations of a list where there might be duplicates.\nuniquePerms :: (Eq a) => [a] -> [[a]]\nuniquePerms = permBag . makeBag\n\n-- | An unordered collection where duplicate values are allowed,\n-- but represented with a single value and a count.\ntype Bag a = [(a, Int)]\n\nmakeBag :: (Eq a) => [a] -> Bag a\nmakeBag [] = []\nmakeBag (a:as) = mix a $ makeBag as\n  where\n    mix a []                        = [(a,1)]\n    mix a (bn@(b,n):bs) | a == b    = (b,n+1):bs\n                        | otherwise = bn : mix a bs\n\npermBag :: Bag a -> [[a]]\npermBag [] = [[]]\npermBag bs = concatMap (\\(f,cs) -> map (f:) $ permBag cs) . oneOfEach $ bs\n  where\n    oneOfEach [] = []\n    oneOfEach (an@(a,n):bs) =\n        let bs' = if n == 1 then bs else (a,n-1):bs\n        in (a,bs') : mapSnd (an:) (oneOfEach bs)\n    \n    apSnd f (a,b) = (a, f b)\n    mapSnd = map . apSnd\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        theme: \"elegant\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-haskell</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/haxe/haxe.js",
    "content": "CodeMirror.defineMode(\"haxe\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n\n  // Tokenizer\n\n  var keywords = function(){\n    function kw(type) {return {type: type, style: \"keyword\"};}\n    var A = kw(\"keyword a\"), B = kw(\"keyword b\"), C = kw(\"keyword c\");\n    var operator = kw(\"operator\"), atom = {type: \"atom\", style: \"atom\"}, attribute = {type:\"attribute\", style: \"attribute\"};\n  var type = kw(\"typedef\");\n    return {\n      \"if\": A, \"while\": A, \"else\": B, \"do\": B, \"try\": B,\n      \"return\": C, \"break\": C, \"continue\": C, \"new\": C, \"throw\": C,\n      \"var\": kw(\"var\"), \"inline\":attribute, \"static\": attribute, \"using\":kw(\"import\"),\n    \"public\": attribute, \"private\": attribute, \"cast\": kw(\"cast\"), \"import\": kw(\"import\"), \"macro\": kw(\"macro\"),\n      \"function\": kw(\"function\"), \"catch\": kw(\"catch\"), \"untyped\": kw(\"untyped\"), \"callback\": kw(\"cb\"),\n      \"for\": kw(\"for\"), \"switch\": kw(\"switch\"), \"case\": kw(\"case\"), \"default\": kw(\"default\"),\n      \"in\": operator, \"never\": kw(\"property_access\"), \"trace\":kw(\"trace\"),\n    \"class\": type, \"enum\":type, \"interface\":type, \"typedef\":type, \"extends\":type, \"implements\":type, \"dynamic\":type,\n      \"true\": atom, \"false\": atom, \"null\": atom\n    };\n  }();\n\n  var isOperatorChar = /[+\\-*&%=<>!?|]/;\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  function nextUntilUnescaped(stream, end) {\n    var escaped = false, next;\n    while ((next = stream.next()) != null) {\n      if (next == end && !escaped)\n        return false;\n      escaped = !escaped && next == \"\\\\\";\n    }\n    return escaped;\n  }\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n  function ret(tp, style, cont) {\n    type = tp; content = cont;\n    return style;\n  }\n\n  function haxeTokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\")\n      return chain(stream, state, haxeTokenString(ch));\n    else if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch))\n      return ret(ch);\n    else if (ch == \"0\" && stream.eat(/x/i)) {\n      stream.eatWhile(/[\\da-f]/i);\n      return ret(\"number\", \"number\");\n    }\n    else if (/\\d/.test(ch) || ch == \"-\" && stream.eat(/\\d/)) {\n      stream.match(/^\\d*(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/);\n      return ret(\"number\", \"number\");\n    }\n    else if (state.reAllowed && (ch == \"~\" && stream.eat(/\\//))) {\n      nextUntilUnescaped(stream, \"/\");\n      stream.eatWhile(/[gimsu]/);\n      return ret(\"regexp\", \"string-2\");\n    }\n    else if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        return chain(stream, state, haxeTokenComment);\n      }\n      else if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return ret(\"comment\", \"comment\");\n      }\n      else {\n        stream.eatWhile(isOperatorChar);\n        return ret(\"operator\", null, stream.current());\n      }\n    }\n    else if (ch == \"#\") {\n        stream.skipToEnd();\n        return ret(\"conditional\", \"meta\");\n    }\n    else if (ch == \"@\") {\n      stream.eat(/:/);\n      stream.eatWhile(/[\\w_]/);\n      return ret (\"metadata\", \"meta\");\n    }\n    else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return ret(\"operator\", null, stream.current());\n    }\n    else {\n    var word;\n    if(/[A-Z]/.test(ch))\n    {\n      stream.eatWhile(/[\\w_<>]/);\n      word = stream.current();\n      return ret(\"type\", \"variable-3\", word);\n    }\n    else\n    {\n        stream.eatWhile(/[\\w_]/);\n        var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word];\n        return (known && state.kwAllowed) ? ret(known.type, known.style, word) :\n                       ret(\"variable\", \"variable\", word);\n    }\n    }\n  }\n\n  function haxeTokenString(quote) {\n    return function(stream, state) {\n      if (!nextUntilUnescaped(stream, quote))\n        state.tokenize = haxeTokenBase;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  function haxeTokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = haxeTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  // Parser\n\n  var atomicTypes = {\"atom\": true, \"number\": true, \"variable\": true, \"string\": true, \"regexp\": true};\n\n  function HaxeLexical(indented, column, type, align, prev, info) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.prev = prev;\n    this.info = info;\n    if (align != null) this.align = align;\n  }\n\n  function inScope(state, varname) {\n    for (var v = state.localVars; v; v = v.next)\n      if (v.name == varname) return true;\n  }\n\n  function parseHaxe(state, style, type, content, stream) {\n    var cc = state.cc;\n    // Communicate our context to the combinators.\n    // (Less wasteful than consing up a hundred closures on every call.)\n    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc;\n\n    if (!state.lexical.hasOwnProperty(\"align\"))\n      state.lexical.align = true;\n\n    while(true) {\n      var combinator = cc.length ? cc.pop() : statement;\n      if (combinator(type, content)) {\n        while(cc.length && cc[cc.length - 1].lex)\n          cc.pop()();\n        if (cx.marked) return cx.marked;\n        if (type == \"variable\" && inScope(state, content)) return \"variable-2\";\n    if (type == \"variable\" && imported(state, content)) return \"variable-3\";\n        return style;\n      }\n    }\n  }\n\n  function imported(state, typename)\n  {\n  if (/[a-z]/.test(typename.charAt(0)))\n    return false;\n  var len = state.importedtypes.length;\n  for (var i = 0; i<len; i++)\n    if(state.importedtypes[i]==typename) return true;\n  }\n\n\n  function registerimport(importname) {\n  var state = cx.state;\n  for (var t = state.importedtypes; t; t = t.next)\n    if(t.name == importname) return;\n  state.importedtypes = { name: importname, next: state.importedtypes };\n  }\n  // Combinator utils\n\n  var cx = {state: null, column: null, marked: null, cc: null};\n  function pass() {\n    for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);\n  }\n  function cont() {\n    pass.apply(null, arguments);\n    return true;\n  }\n  function register(varname) {\n    var state = cx.state;\n    if (state.context) {\n      cx.marked = \"def\";\n      for (var v = state.localVars; v; v = v.next)\n        if (v.name == varname) return;\n      state.localVars = {name: varname, next: state.localVars};\n    }\n  }\n\n  // Combinators\n\n  var defaultVars = {name: \"this\", next: null};\n  function pushcontext() {\n    if (!cx.state.context) cx.state.localVars = defaultVars;\n    cx.state.context = {prev: cx.state.context, vars: cx.state.localVars};\n  }\n  function popcontext() {\n    cx.state.localVars = cx.state.context.vars;\n    cx.state.context = cx.state.context.prev;\n  }\n  function pushlex(type, info) {\n    var result = function() {\n      var state = cx.state;\n      state.lexical = new HaxeLexical(state.indented, cx.stream.column(), type, null, state.lexical, info);\n    };\n    result.lex = true;\n    return result;\n  }\n  function poplex() {\n    var state = cx.state;\n    if (state.lexical.prev) {\n      if (state.lexical.type == \")\")\n        state.indented = state.lexical.indented;\n      state.lexical = state.lexical.prev;\n    }\n  }\n  poplex.lex = true;\n\n  function expect(wanted) {\n    return function(type) {\n      if (type == wanted) return cont();\n      else if (wanted == \";\") return pass();\n      else return cont(arguments.callee);\n    };\n  }\n\n  function statement(type) {\n    if (type == \"@\") return cont(metadef);\n    if (type == \"var\") return cont(pushlex(\"vardef\"), vardef1, expect(\";\"), poplex);\n    if (type == \"keyword a\") return cont(pushlex(\"form\"), expression, statement, poplex);\n    if (type == \"keyword b\") return cont(pushlex(\"form\"), statement, poplex);\n    if (type == \"{\") return cont(pushlex(\"}\"), pushcontext, block, poplex, popcontext);\n    if (type == \";\") return cont();\n    if (type == \"attribute\") return cont(maybeattribute);\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"for\") return cont(pushlex(\"form\"), expect(\"(\"), pushlex(\")\"), forspec1, expect(\")\"),\n                                      poplex, statement, poplex);\n    if (type == \"variable\") return cont(pushlex(\"stat\"), maybelabel);\n    if (type == \"switch\") return cont(pushlex(\"form\"), expression, pushlex(\"}\", \"switch\"), expect(\"{\"),\n                                         block, poplex, poplex);\n    if (type == \"case\") return cont(expression, expect(\":\"));\n    if (type == \"default\") return cont(expect(\":\"));\n    if (type == \"catch\") return cont(pushlex(\"form\"), pushcontext, expect(\"(\"), funarg, expect(\")\"),\n                                        statement, poplex, popcontext);\n    if (type == \"import\") return cont(importdef, expect(\";\"));\n    if (type == \"typedef\") return cont(typedef);\n    return pass(pushlex(\"stat\"), expression, expect(\";\"), poplex);\n  }\n  function expression(type) {\n    if (atomicTypes.hasOwnProperty(type)) return cont(maybeoperator);\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"keyword c\") return cont(maybeexpression);\n    if (type == \"(\") return cont(pushlex(\")\"), maybeexpression, expect(\")\"), poplex, maybeoperator);\n    if (type == \"operator\") return cont(expression);\n    if (type == \"[\") return cont(pushlex(\"]\"), commasep(expression, \"]\"), poplex, maybeoperator);\n    if (type == \"{\") return cont(pushlex(\"}\"), commasep(objprop, \"}\"), poplex, maybeoperator);\n    return cont();\n  }\n  function maybeexpression(type) {\n    if (type.match(/[;\\}\\)\\],]/)) return pass();\n    return pass(expression);\n  }\n\n  function maybeoperator(type, value) {\n    if (type == \"operator\" && /\\+\\+|--/.test(value)) return cont(maybeoperator);\n    if (type == \"operator\" || type == \":\") return cont(expression);\n    if (type == \";\") return;\n    if (type == \"(\") return cont(pushlex(\")\"), commasep(expression, \")\"), poplex, maybeoperator);\n    if (type == \".\") return cont(property, maybeoperator);\n    if (type == \"[\") return cont(pushlex(\"]\"), expression, expect(\"]\"), poplex, maybeoperator);\n  }\n\n  function maybeattribute(type) {\n    if (type == \"attribute\") return cont(maybeattribute);\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"var\") return cont(vardef1);\n  }\n\n  function metadef(type) {\n    if(type == \":\") return cont(metadef);\n    if(type == \"variable\") return cont(metadef);\n    if(type == \"(\") return cont(pushlex(\")\"), commasep(metaargs, \")\"), poplex, statement);\n  }\n  function metaargs(type) {\n    if(type == \"variable\") return cont();\n  }\n\n  function importdef (type, value) {\n  if(type == \"variable\" && /[A-Z]/.test(value.charAt(0))) { registerimport(value); return cont(); }\n  else if(type == \"variable\" || type == \"property\" || type == \".\") return cont(importdef);\n  }\n\n  function typedef (type, value)\n  {\n  if(type == \"variable\" && /[A-Z]/.test(value.charAt(0))) { registerimport(value); return cont(); }\n  }\n\n  function maybelabel(type) {\n    if (type == \":\") return cont(poplex, statement);\n    return pass(maybeoperator, expect(\";\"), poplex);\n  }\n  function property(type) {\n    if (type == \"variable\") {cx.marked = \"property\"; return cont();}\n  }\n  function objprop(type) {\n    if (type == \"variable\") cx.marked = \"property\";\n    if (atomicTypes.hasOwnProperty(type)) return cont(expect(\":\"), expression);\n  }\n  function commasep(what, end) {\n    function proceed(type) {\n      if (type == \",\") return cont(what, proceed);\n      if (type == end) return cont();\n      return cont(expect(end));\n    }\n    return function(type) {\n      if (type == end) return cont();\n      else return pass(what, proceed);\n    };\n  }\n  function block(type) {\n    if (type == \"}\") return cont();\n    return pass(statement, block);\n  }\n  function vardef1(type, value) {\n    if (type == \"variable\"){register(value); return cont(typeuse, vardef2);}\n    return cont();\n  }\n  function vardef2(type, value) {\n    if (value == \"=\") return cont(expression, vardef2);\n    if (type == \",\") return cont(vardef1);\n  }\n  function forspec1(type, value) {\n  if (type == \"variable\") {\n    register(value);\n  }\n  return cont(pushlex(\")\"), pushcontext, forin, expression, poplex, statement, popcontext);\n  }\n  function forin(_type, value) {\n    if (value == \"in\") return cont();\n  }\n  function functiondef(type, value) {\n    if (type == \"variable\") {register(value); return cont(functiondef);}\n    if (value == \"new\") return cont(functiondef);\n    if (type == \"(\") return cont(pushlex(\")\"), pushcontext, commasep(funarg, \")\"), poplex, typeuse, statement, popcontext);\n  }\n  function typeuse(type) {\n    if(type == \":\") return cont(typestring);\n  }\n  function typestring(type) {\n    if(type == \"type\") return cont();\n    if(type == \"variable\") return cont();\n    if(type == \"{\") return cont(pushlex(\"}\"), commasep(typeprop, \"}\"), poplex);\n  }\n  function typeprop(type) {\n    if(type == \"variable\") return cont(typeuse);\n  }\n  function funarg(type, value) {\n    if (type == \"variable\") {register(value); return cont(typeuse);}\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n    var defaulttypes = [\"Int\", \"Float\", \"String\", \"Void\", \"Std\", \"Bool\", \"Dynamic\", \"Array\"];\n      return {\n        tokenize: haxeTokenBase,\n        reAllowed: true,\n        kwAllowed: true,\n        cc: [],\n        lexical: new HaxeLexical((basecolumn || 0) - indentUnit, 0, \"block\", false),\n        localVars: parserConfig.localVars,\n    importedtypes: defaulttypes,\n        context: parserConfig.localVars && {vars: parserConfig.localVars},\n        indented: 0\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (!state.lexical.hasOwnProperty(\"align\"))\n          state.lexical.align = false;\n        state.indented = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      if (type == \"comment\") return style;\n      state.reAllowed = !!(type == \"operator\" || type == \"keyword c\" || type.match(/^[\\[{}\\(,;:]$/));\n      state.kwAllowed = type != '.';\n      return parseHaxe(state, style, type, content, stream);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != haxeTokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical;\n      if (lexical.type == \"stat\" && firstChar == \"}\") lexical = lexical.prev;\n      var type = lexical.type, closing = firstChar == type;\n      if (type == \"vardef\") return lexical.indented + 4;\n      else if (type == \"form\" && firstChar == \"{\") return lexical.indented;\n      else if (type == \"stat\" || type == \"form\") return lexical.indented + indentUnit;\n      else if (lexical.info == \"switch\" && !closing)\n        return lexical.indented + (/^(?:case|default)\\b/.test(textAfter) ? indentUnit : 2 * indentUnit);\n      else if (lexical.align) return lexical.column + (closing ? 0 : 1);\n      else return lexical.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-haxe\", \"haxe\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/haxe/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Haxe mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"haxe.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Haxe</a>\n  </ul>\n</div>\n\n<article>\n<h2>Haxe mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\nimport one.two.Three;\n\n@attr(\"test\")\nclass Foo&lt;T&gt; extends Three\n{\n\tpublic function new()\n\t{\n\t\tnoFoo = 12;\n\t}\n\t\n\tpublic static inline function doFoo(obj:{k:Int, l:Float}):Int\n\t{\n\t\tfor(i in 0...10)\n\t\t{\n\t\t\tobj.k++;\n\t\t\ttrace(i);\n\t\t\tvar var1 = new Array();\n\t\t\tif(var1.length > 1)\n\t\t\t\tthrow \"Error\";\n\t\t}\n\t\t// The following line should not be colored, the variable is scoped out\n\t\tvar1;\n\t\t/* Multi line\n\t\t * Comment test\n\t\t */\n\t\treturn obj.k;\n\t}\n\tprivate function bar():Void\n\t{\n\t\t#if flash\n\t\tvar t1:String = \"1.21\";\n\t\t#end\n\t\ttry {\n\t\t\tdoFoo({k:3, l:1.2});\n\t\t}\n\t\tcatch (e : String) {\n\t\t\ttrace(e);\n\t\t}\n\t\tvar t2:Float = cast(3.2);\n\t\tvar t3:haxe.Timer = new haxe.Timer();\n\t\tvar t4 = {k:Std.int(t2), l:Std.parseFloat(t1)};\n\t\tvar t5 = ~/123+.*$/i;\n\t\tdoFoo(t4);\n\t\tuntyped t1 = 4;\n\t\tbob = new Foo&lt;Int&gt;\n\t}\n\tpublic var okFoo(default, never):Float;\n\tvar noFoo(getFoo, null):Int;\n\tfunction getFoo():Int {\n\t\treturn noFoo;\n\t}\n\t\n\tpublic var three:Int;\n}\nenum Color\n{\n\tred;\n\tgreen;\n\tblue;\n\tgrey( v : Int );\n\trgb (r:Int,g:Int,b:Int);\n}\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        indentUnit: 4,\n        indentWithTabs: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-haxe</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/htmlembedded/htmlembedded.js",
    "content": "CodeMirror.defineMode(\"htmlembedded\", function(config, parserConfig) {\n\n  //config settings\n  var scriptStartRegex = parserConfig.scriptStartRegex || /^<%/i,\n      scriptEndRegex = parserConfig.scriptEndRegex || /^%>/i;\n\n  //inner modes\n  var scriptingMode, htmlMixedMode;\n\n  //tokenizer when in html mode\n  function htmlDispatch(stream, state) {\n      if (stream.match(scriptStartRegex, false)) {\n          state.token=scriptingDispatch;\n          return scriptingMode.token(stream, state.scriptState);\n          }\n      else\n          return htmlMixedMode.token(stream, state.htmlState);\n    }\n\n  //tokenizer when in scripting mode\n  function scriptingDispatch(stream, state) {\n      if (stream.match(scriptEndRegex, false))  {\n          state.token=htmlDispatch;\n          return htmlMixedMode.token(stream, state.htmlState);\n         }\n      else\n          return scriptingMode.token(stream, state.scriptState);\n         }\n\n\n  return {\n    startState: function() {\n      scriptingMode = scriptingMode || CodeMirror.getMode(config, parserConfig.scriptingModeSpec);\n      htmlMixedMode = htmlMixedMode || CodeMirror.getMode(config, \"htmlmixed\");\n      return {\n          token :  parserConfig.startOpen ? scriptingDispatch : htmlDispatch,\n          htmlState : CodeMirror.startState(htmlMixedMode),\n          scriptState : CodeMirror.startState(scriptingMode)\n      };\n    },\n\n    token: function(stream, state) {\n      return state.token(stream, state);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.token == htmlDispatch)\n        return htmlMixedMode.indent(state.htmlState, textAfter);\n      else if (scriptingMode.indent)\n        return scriptingMode.indent(state.scriptState, textAfter);\n    },\n\n    copyState: function(state) {\n      return {\n       token : state.token,\n       htmlState : CodeMirror.copyState(htmlMixedMode, state.htmlState),\n       scriptState : CodeMirror.copyState(scriptingMode, state.scriptState)\n      };\n    },\n\n    electricChars: \"/{}:\",\n\n    innerMode: function(state) {\n      if (state.token == scriptingDispatch) return {state: state.scriptState, mode: scriptingMode};\n      else return {state: state.htmlState, mode: htmlMixedMode};\n    }\n  };\n}, \"htmlmixed\");\n\nCodeMirror.defineMIME(\"application/x-ejs\", { name: \"htmlembedded\", scriptingModeSpec:\"javascript\"});\nCodeMirror.defineMIME(\"application/x-aspx\", { name: \"htmlembedded\", scriptingModeSpec:\"text/x-csharp\"});\nCodeMirror.defineMIME(\"application/x-jsp\", { name: \"htmlembedded\", scriptingModeSpec:\"text/x-java\"});\nCodeMirror.defineMIME(\"application/x-erb\", { name: \"htmlembedded\", scriptingModeSpec:\"ruby\"});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/htmlembedded/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Html Embedded Scripts mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"htmlembedded.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Html Embedded Scripts</a>\n  </ul>\n</div>\n\n<article>\n<h2>Html Embedded Scripts mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n<%\nfunction hello(who) {\n\treturn \"Hello \" + who;\n}\n%>\nThis is an example of EJS (embedded javascript)\n<p>The program says <%= hello(\"world\") %>.</p>\n<script>\n\talert(\"And here is some normal JS code\"); // also colored\n</script>\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"application/x-ejs\",\n        indentUnit: 4,\n        indentWithTabs: true,\n        enterMode: \"keep\",\n        tabMode: \"shift\"\n      });\n    </script>\n\n    <p>Mode for html embedded scripts like JSP and ASP.NET. Depends on HtmlMixed which in turn depends on\n    JavaScript, CSS and XML.<br />Other dependancies include those of the scriping language chosen.</p>\n\n    <p><strong>MIME types defined:</strong> <code>application/x-aspx</code> (ASP.NET), \n    <code>application/x-ejs</code> (Embedded Javascript), <code>application/x-jsp</code> (JavaServer Pages)</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/htmlmixed/htmlmixed.js",
    "content": "CodeMirror.defineMode(\"htmlmixed\", function(config, parserConfig) {\n  var htmlMode = CodeMirror.getMode(config, {name: \"xml\", htmlMode: true});\n  var cssMode = CodeMirror.getMode(config, \"css\");\n\n  var scriptTypes = [], scriptTypesConf = parserConfig && parserConfig.scriptTypes;\n  scriptTypes.push({matches: /^(?:text|application)\\/(?:x-)?(?:java|ecma)script$|^$/i,\n                    mode: CodeMirror.getMode(config, \"javascript\")});\n  if (scriptTypesConf) for (var i = 0; i < scriptTypesConf.length; ++i) {\n    var conf = scriptTypesConf[i];\n    scriptTypes.push({matches: conf.matches, mode: conf.mode && CodeMirror.getMode(config, conf.mode)});\n  }\n  scriptTypes.push({matches: /./,\n                    mode: CodeMirror.getMode(config, \"text/plain\")});\n\n  function html(stream, state) {\n    var tagName = state.htmlState.tagName;\n    var style = htmlMode.token(stream, state.htmlState);\n    if (tagName == \"script\" && /\\btag\\b/.test(style) && stream.current() == \">\") {\n      // Script block: mode to change to depends on type attribute\n      var scriptType = stream.string.slice(Math.max(0, stream.pos - 100), stream.pos).match(/\\btype\\s*=\\s*(\"[^\"]+\"|'[^']+'|\\S+)[^<]*$/i);\n      scriptType = scriptType ? scriptType[1] : \"\";\n      if (scriptType && /[\\\"\\']/.test(scriptType.charAt(0))) scriptType = scriptType.slice(1, scriptType.length - 1);\n      for (var i = 0; i < scriptTypes.length; ++i) {\n        var tp = scriptTypes[i];\n        if (typeof tp.matches == \"string\" ? scriptType == tp.matches : tp.matches.test(scriptType)) {\n          if (tp.mode) {\n            state.token = script;\n            state.localMode = tp.mode;\n            state.localState = tp.mode.startState && tp.mode.startState(htmlMode.indent(state.htmlState, \"\"));\n          }\n          break;\n        }\n      }\n    } else if (tagName == \"style\" && /\\btag\\b/.test(style) && stream.current() == \">\") {\n      state.token = css;\n      state.localMode = cssMode;\n      state.localState = cssMode.startState(htmlMode.indent(state.htmlState, \"\"));\n    }\n    return style;\n  }\n  function maybeBackup(stream, pat, style) {\n    var cur = stream.current();\n    var close = cur.search(pat), m;\n    if (close > -1) stream.backUp(cur.length - close);\n    else if (m = cur.match(/<\\/?$/)) {\n      stream.backUp(cur.length);\n      if (!stream.match(pat, false)) stream.match(cur);\n    }\n    return style;\n  }\n  function script(stream, state) {\n    if (stream.match(/^<\\/\\s*script\\s*>/i, false)) {\n      state.token = html;\n      state.localState = state.localMode = null;\n      return html(stream, state);\n    }\n    return maybeBackup(stream, /<\\/\\s*script\\s*>/,\n                       state.localMode.token(stream, state.localState));\n  }\n  function css(stream, state) {\n    if (stream.match(/^<\\/\\s*style\\s*>/i, false)) {\n      state.token = html;\n      state.localState = state.localMode = null;\n      return html(stream, state);\n    }\n    return maybeBackup(stream, /<\\/\\s*style\\s*>/,\n                       cssMode.token(stream, state.localState));\n  }\n\n  return {\n    startState: function() {\n      var state = htmlMode.startState();\n      return {token: html, localMode: null, localState: null, htmlState: state};\n    },\n\n    copyState: function(state) {\n      if (state.localState)\n        var local = CodeMirror.copyState(state.localMode, state.localState);\n      return {token: state.token, localMode: state.localMode, localState: local,\n              htmlState: CodeMirror.copyState(htmlMode, state.htmlState)};\n    },\n\n    token: function(stream, state) {\n      return state.token(stream, state);\n    },\n\n    indent: function(state, textAfter) {\n      if (!state.localMode || /^\\s*<\\//.test(textAfter))\n        return htmlMode.indent(state.htmlState, textAfter);\n      else if (state.localMode.indent)\n        return state.localMode.indent(state.localState, textAfter);\n      else\n        return CodeMirror.Pass;\n    },\n\n    electricChars: \"/{}:\",\n\n    innerMode: function(state) {\n      return {state: state.localState || state.htmlState, mode: state.localMode || htmlMode};\n    }\n  };\n}, \"xml\", \"javascript\", \"css\");\n\nCodeMirror.defineMIME(\"text/html\", \"htmlmixed\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/htmlmixed/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: HTML mixed mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../vbscript/vbscript.js\"></script>\n<script src=\"htmlmixed.js\"></script>\n<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">HTML mixed</a>\n  </ul>\n</div>\n\n<article>\n<h2>HTML mixed mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n<html style=\"color: green\">\n  <!-- this is a comment -->\n  <head>\n    <title>Mixed HTML Example</title>\n    <style type=\"text/css\">\n      h1 {font-family: comic sans; color: #f0f;}\n      div {background: yellow !important;}\n      body {\n        max-width: 50em;\n        margin: 1em 2em 1em 5em;\n      }\n    </style>\n  </head>\n  <body>\n    <h1>Mixed HTML Example</h1>\n    <script>\n      function jsFunc(arg1, arg2) {\n        if (arg1 && arg2) document.body.innerHTML = \"achoo\";\n      }\n    </script>\n  </body>\n</html>\n</textarea></form>\n    <script>\n      // Define an extended mixed-mode that understands vbscript and\n      // leaves mustache/handlebars embedded templates in html mode\n      var mixedMode = {\n        name: \"htmlmixed\",\n        scriptTypes: [{matches: /\\/x-handlebars-template|\\/x-mustache/i,\n                       mode: null},\n                      {matches: /(text|application)\\/(x-)?vb(a|script)/i,\n                       mode: \"vbscript\"}]\n      };\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {mode: mixedMode, tabMode: \"indent\"});\n    </script>\n\n    <p>The HTML mixed mode depends on the XML, JavaScript, and CSS modes.</p>\n\n    <p>It takes an optional mode configuration\n    option, <code>scriptTypes</code>, which can be used to add custom\n    behavior for specific <code>&lt;script type=\"...\"></code> tags. If\n    given, it should hold an array of <code>{matches, mode}</code>\n    objects, where <code>matches</code> is a string or regexp that\n    matches the script type, and <code>mode</code> is\n    either <code>null</code>, for script types that should stay in\n    HTML mode, or a <a href=\"../../doc/manual.html#option_mode\">mode\n    spec</a> corresponding to the mode that should be used for the\n    script.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/html</code>\n    (redefined, only takes effect if you load this parser after the\n    XML parser).</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/http/http.js",
    "content": "CodeMirror.defineMode(\"http\", function() {\n  function failFirstLine(stream, state) {\n    stream.skipToEnd();\n    state.cur = header;\n    return \"error\";\n  }\n\n  function start(stream, state) {\n    if (stream.match(/^HTTP\\/\\d\\.\\d/)) {\n      state.cur = responseStatusCode;\n      return \"keyword\";\n    } else if (stream.match(/^[A-Z]+/) && /[ \\t]/.test(stream.peek())) {\n      state.cur = requestPath;\n      return \"keyword\";\n    } else {\n      return failFirstLine(stream, state);\n    }\n  }\n\n  function responseStatusCode(stream, state) {\n    var code = stream.match(/^\\d+/);\n    if (!code) return failFirstLine(stream, state);\n\n    state.cur = responseStatusText;\n    var status = Number(code[0]);\n    if (status >= 100 && status < 200) {\n      return \"positive informational\";\n    } else if (status >= 200 && status < 300) {\n      return \"positive success\";\n    } else if (status >= 300 && status < 400) {\n      return \"positive redirect\";\n    } else if (status >= 400 && status < 500) {\n      return \"negative client-error\";\n    } else if (status >= 500 && status < 600) {\n      return \"negative server-error\";\n    } else {\n      return \"error\";\n    }\n  }\n\n  function responseStatusText(stream, state) {\n    stream.skipToEnd();\n    state.cur = header;\n    return null;\n  }\n\n  function requestPath(stream, state) {\n    stream.eatWhile(/\\S/);\n    state.cur = requestProtocol;\n    return \"string-2\";\n  }\n\n  function requestProtocol(stream, state) {\n    if (stream.match(/^HTTP\\/\\d\\.\\d$/)) {\n      state.cur = header;\n      return \"keyword\";\n    } else {\n      return failFirstLine(stream, state);\n    }\n  }\n\n  function header(stream) {\n    if (stream.sol() && !stream.eat(/[ \\t]/)) {\n      if (stream.match(/^.*?:/)) {\n        return \"atom\";\n      } else {\n        stream.skipToEnd();\n        return \"error\";\n      }\n    } else {\n      stream.skipToEnd();\n      return \"string\";\n    }\n  }\n\n  function body(stream) {\n    stream.skipToEnd();\n    return null;\n  }\n\n  return {\n    token: function(stream, state) {\n      var cur = state.cur;\n      if (cur != header && cur != body && stream.eatSpace()) return null;\n      return cur(stream, state);\n    },\n\n    blankLine: function(state) {\n      state.cur = body;\n    },\n\n    startState: function() {\n      return {cur: start};\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"message/http\", \"http\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/http/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: HTTP mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"http.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">HTTP</a>\n  </ul>\n</div>\n\n<article>\n<h2>HTTP mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\nPOST /somewhere HTTP/1.1\nHost: example.com\nIf-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT\nContent-Type: application/x-www-form-urlencoded;\n\tcharset=utf-8\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11\n\nThis is the request body!\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>message/http</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Language Modes</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Language modes</a>\n  </ul>\n</div>\n\n<article>\n\n<h2>Language modes</h2>\n\n<p>This is a list of every mode in the distribution. Each mode lives\nin a subdirectory of the <code>mode/</code> directory, and typically\ndefines a single JavaScript file that implements the mode. Loading\nsuch file will make the language available to CodeMirror, through\nthe <a href=\"manual.html#option_mode\"><code>mode</code></a>\noption.</p>\n\n<div style=\"-webkit-columns: 100px 2; -moz-columns: 100px 2; columns: 100px 2;\">\n    <ul>\n      <li><a href=\"apl/index.html\">APL</a></li>\n      <li><a href=\"asterisk/index.html\">Asterisk dialplan</a></li>\n      <li><a href=\"clike/index.html\">C, C++, C#</a></li>\n      <li><a href=\"clojure/index.html\">Clojure</a></li>\n      <li><a href=\"cobol/index.html\">COBOL</a></li>\n      <li><a href=\"coffeescript/index.html\">CoffeeScript</a></li>\n      <li><a href=\"commonlisp/index.html\">Common Lisp</a></li>\n      <li><a href=\"css/index.html\">CSS</a></li>\n      <li><a href=\"python/index.html\">Cython</a></li>\n      <li><a href=\"d/index.html\">D</a></li>\n      <li><a href=\"diff/index.html\">diff</a></li>\n      <li><a href=\"dtd/index.html\">DTD</a></li>\n      <li><a href=\"ecl/index.html\">ECL</a></li>\n      <li><a href=\"eiffel/index.html\">Eiffel</a></li>\n      <li><a href=\"erlang/index.html\">Erlang</a></li>\n      <li><a href=\"fortran/index.html\">Fortran</a></li>\n      <li><a href=\"gas/index.html\">Gas</a> (AT&amp;T-style assembly)</li>\n      <li><a href=\"gherkin/index.html\">Gherkin</a></li>\n      <li><a href=\"go/index.html\">Go</a></li>\n      <li><a href=\"groovy/index.html\">Groovy</a></li>\n      <li><a href=\"haml/index.html\">HAML</a></li>\n      <li><a href=\"haskell/index.html\">Haskell</a></li>\n      <li><a href=\"haxe/index.html\">Haxe</a></li>\n      <li><a href=\"htmlembedded/index.html\">HTML embedded scripts</a></li>\n      <li><a href=\"htmlmixed/index.html\">HTML mixed-mode</a></li>\n      <li><a href=\"http/index.html\">HTTP</a></li>\n      <li><a href=\"clike/index.html\">Java</a></li>\n      <li><a href=\"jade/index.html\">Jade</a></li>\n      <li><a href=\"javascript/index.html\">JavaScript</a></li>\n      <li><a href=\"jinja2/index.html\">Jinja2</a></li>\n      <li><a href=\"julia/index.html\">Julia</a></li>\n      <li><a href=\"less/index.html\">LESS</a></li>\n      <li><a href=\"livescript/index.html\">LiveScript</a></li>\n      <li><a href=\"lua/index.html\">Lua</a></li>\n      <li><a href=\"markdown/index.html\">Markdown</a> (<a href=\"gfm/index.html\">GitHub-flavour</a>)</li>\n      <li><a href=\"mirc/index.html\">mIRC</a></li>\n      <li><a href=\"nginx/index.html\">Nginx</a></li>\n      <li><a href=\"ntriples/index.html\">NTriples</a></li>\n      <li><a href=\"ocaml/index.html\">OCaml</a></li>\n      <li><a href=\"octave/index.html\">Octave</a> (MATLAB)</li>\n      <li><a href=\"pascal/index.html\">Pascal</a></li>\n      <li><a href=\"pegjs/index.html\">PEG.js</a></li>\n      <li><a href=\"perl/index.html\">Perl</a></li>\n      <li><a href=\"php/index.html\">PHP</a></li>\n      <li><a href=\"pig/index.html\">Pig Latin</a></li>\n      <li><a href=\"properties/index.html\">Properties files</a></li>\n      <li><a href=\"python/index.html\">Python</a></li>\n      <li><a href=\"q/index.html\">Q</a></li>\n      <li><a href=\"r/index.html\">R</a></li>\n      <li>RPM <a href=\"rpm/spec/index.html\">spec</a> and <a href=\"rpm/changes/index.html\">changelog</a></li>\n      <li><a href=\"rst/index.html\">reStructuredText</a></li>\n      <li><a href=\"ruby/index.html\">Ruby</a></li>\n      <li><a href=\"rust/index.html\">Rust</a></li>\n      <li><a href=\"sass/index.html\">Sass</a></li>\n      <li><a href=\"clike/scala.html\">Scala</a></li>\n      <li><a href=\"scheme/index.html\">Scheme</a></li>\n      <li><a href=\"css/scss.html\">SCSS</a></li>\n      <li><a href=\"shell/index.html\">Shell</a></li>\n      <li><a href=\"sieve/index.html\">Sieve</a></li>\n      <li><a href=\"smalltalk/index.html\">Smalltalk</a></li>\n      <li><a href=\"smarty/index.html\">Smarty</a></li>\n      <li><a href=\"smartymixed/index.html\">Smarty/HTML mixed</a></li>\n      <li><a href=\"sql/index.html\">SQL</a> (several dialects)</li>\n      <li><a href=\"sparql/index.html\">SPARQL</a></li>\n      <li><a href=\"stex/index.html\">sTeX, LaTeX</a></li>\n      <li><a href=\"tcl/index.html\">Tcl</a></li>\n      <li><a href=\"tiddlywiki/index.html\">Tiddlywiki</a></li>\n      <li><a href=\"tiki/index.html\">Tiki wiki</a></li>\n      <li><a href=\"toml/index.html\">TOML</a></li>\n      <li><a href=\"turtle/index.html\">Turtle</a></li>\n      <li><a href=\"vb/index.html\">VB.NET</a></li>\n      <li><a href=\"vbscript/index.html\">VBScript</a></li>\n      <li><a href=\"velocity/index.html\">Velocity</a></li>\n      <li><a href=\"verilog/index.html\">Verilog</a></li>\n      <li><a href=\"xml/index.html\">XML/HTML</a></li>\n      <li><a href=\"xquery/index.html\">XQuery</a></li>\n      <li><a href=\"yaml/index.html\">YAML</a></li>\n      <li><a href=\"z80/index.html\">Z80</a></li>\n    </ul>\n  </div>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/jade/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Jade Templating Mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"jade.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Jade Templating Mode</a>\n  </ul>\n</div>\n\n<article>\n<h2>Jade Templating Mode</h2>\n<form><textarea id=\"code\" name=\"code\">\ndoctype 5\n  html\n    head\n      title= \"Jade Templating CodeMirror Mode Example\"\n      link(rel='stylesheet', href='/css/bootstrap.min.css')\n      link(rel='stylesheet', href='/css/index.css')\n      script(type='text/javascript', src='/js/jquery-1.9.1.min.js')\n      script(type='text/javascript', src='/js/bootstrap.min.js')\n    body\n      div.header\n        h1 Welcome to this Example\n      div.spots\n        if locals.spots\n          each spot in spots\n            div.spot.well\n         div\n           if spot.logo\n             img.img-rounded.logo(src=spot.logo)\n           else\n             img.img-rounded.logo(src=\"img/placeholder.png\")\n         h3\n           a(href=spot.hash) ##{spot.hash}\n           if spot.title\n             span.title #{spot.title}\n           if spot.desc\n             div #{spot.desc}\n        else\n          h3 There are no spots currently available.\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"jade\", alignCDATA: true},\n        lineNumbers: true\n      });\n    </script>\n    <h3>The Jade Templating Mode</h3>\n      <p> Created by Drew Bratcher. Managed as part of an Adobe Brackets extension at <a href=\"https://github.com/dbratcher/brackets-jade\">https://github.com/dbratcher/brackets-jade</a>.</p>\n    <p><strong>MIME type defined:</strong> <code>text/x-jade</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/jade/jade.js",
    "content": "CodeMirror.defineMode(\"jade\", function () {\n  var symbol_regex1 = /^(?:~|!|%|\\^|\\*|\\+|=|\\\\|:|;|,|\\/|\\?|&|<|>|\\|)/;\n  var open_paren_regex = /^(\\(|\\[)/;\n  var close_paren_regex = /^(\\)|\\])/;\n  var keyword_regex1 = /^(if|else|return|var|function|include|doctype|each)/;\n  var keyword_regex2 = /^(#|{|}|\\.)/;\n  var keyword_regex3 = /^(in)/;\n  var html_regex1 = /^(html|head|title|meta|link|script|body|br|div|input|span|a|img)/;\n  var html_regex2 = /^(h1|h2|h3|h4|h5|p|strong|em)/;\n  return {\n    startState: function () {\n      return {\n        inString: false,\n        stringType: \"\",\n        beforeTag: true,\n        justMatchedKeyword: false,\n        afterParen: false\n      };\n    },\n    token: function (stream, state) {\n      //check for state changes\n      if (!state.inString && ((stream.peek() == '\"') || (stream.peek() == \"'\"))) {\n        state.stringType = stream.peek();\n        stream.next(); // Skip quote\n        state.inString = true; // Update state\n      }\n\n      //return state\n      if (state.inString) {\n        if (stream.skipTo(state.stringType)) { // Quote found on this line\n          stream.next(); // Skip quote\n          state.inString = false; // Clear flag\n        } else {\n          stream.skipToEnd(); // Rest of line is string\n        }\n        state.justMatchedKeyword = false;\n        return \"string\"; // Token style\n      } else if (stream.sol() && stream.eatSpace()) {\n        if (stream.match(keyword_regex1)) {\n          state.justMatchedKeyword = true;\n          stream.eatSpace();\n          return \"keyword\";\n        }\n        if (stream.match(html_regex1) || stream.match(html_regex2)) {\n          state.justMatchedKeyword = true;\n          return \"variable\";\n        }\n      } else if (stream.sol() && stream.match(keyword_regex1)) {\n        state.justMatchedKeyword = true;\n        stream.eatSpace();\n        return \"keyword\";\n      } else if (stream.sol() && (stream.match(html_regex1) || stream.match(html_regex2))) {\n        state.justMatchedKeyword = true;\n        return \"variable\";\n      } else if (stream.eatSpace()) {\n        state.justMatchedKeyword = false;\n        if (stream.match(keyword_regex3) && stream.eatSpace()) {\n          state.justMatchedKeyword = true;\n          return \"keyword\";\n        }\n      } else if (stream.match(symbol_regex1)) {\n        state.justMatchedKeyword = false;\n        return \"atom\";\n      } else if (stream.match(open_paren_regex)) {\n        state.afterParen = true;\n        state.justMatchedKeyword = true;\n        return \"def\";\n      } else if (stream.match(close_paren_regex)) {\n        state.afterParen = false;\n        state.justMatchedKeyword = true;\n        return \"def\";\n      } else if (stream.match(keyword_regex2)) {\n        state.justMatchedKeyword = true;\n        return \"keyword\";\n      } else if (stream.eatSpace()) {\n        state.justMatchedKeyword = false;\n      } else {\n        stream.next();\n        if (state.justMatchedKeyword) {\n          return \"property\";\n        } else if (state.afterParen) {\n          return \"property\";\n        }\n      }\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME('text/x-jade', 'jade');\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/javascript/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: JavaScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../../addon/comment/continuecomment.js\"></script>\n<script src=\"../../addon/comment/comment.js\"></script>\n<script src=\"javascript.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">JavaScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>JavaScript mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n// Demo code (the actual new parser character stream implementation)\n\nfunction StringStream(string) {\n  this.pos = 0;\n  this.string = string;\n}\n\nStringStream.prototype = {\n  done: function() {return this.pos >= this.string.length;},\n  peek: function() {return this.string.charAt(this.pos);},\n  next: function() {\n    if (this.pos &lt; this.string.length)\n      return this.string.charAt(this.pos++);\n  },\n  eat: function(match) {\n    var ch = this.string.charAt(this.pos);\n    if (typeof match == \"string\") var ok = ch == match;\n    else var ok = ch &amp;&amp; match.test ? match.test(ch) : match(ch);\n    if (ok) {this.pos++; return ch;}\n  },\n  eatWhile: function(match) {\n    var start = this.pos;\n    while (this.eat(match));\n    if (this.pos > start) return this.string.slice(start, this.pos);\n  },\n  backUp: function(n) {this.pos -= n;},\n  column: function() {return this.pos;},\n  eatSpace: function() {\n    var start = this.pos;\n    while (/\\s/.test(this.string.charAt(this.pos))) this.pos++;\n    return this.pos - start;\n  },\n  match: function(pattern, consume, caseInsensitive) {\n    if (typeof pattern == \"string\") {\n      function cased(str) {return caseInsensitive ? str.toLowerCase() : str;}\n      if (cased(this.string).indexOf(cased(pattern), this.pos) == this.pos) {\n        if (consume !== false) this.pos += str.length;\n        return true;\n      }\n    }\n    else {\n      var match = this.string.slice(this.pos).match(pattern);\n      if (match &amp;&amp; consume !== false) this.pos += match[0].length;\n      return match;\n    }\n  }\n};\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        continueComments: \"Enter\",\n        extraKeys: {\"Ctrl-Q\": \"toggleComment\"}\n      });\n    </script>\n\n    <p>\n      JavaScript mode supports a two configuration\n      options:\n      <ul>\n        <li><code>json</code> which will set the mode to expect JSON\n        data rather than a JavaScript program.</li>\n        <li><code>typescript</code> which will activate additional\n        syntax highlighting and some other things for TypeScript code\n        (<a href=\"typescript.html\">demo</a>).</li>\n        <li><code>statementIndent</code> which (given a number) will\n        determine the amount of indentation to use for statements\n        continued on a new line.</li>\n      </ul>\n    </p>\n\n    <p><strong>MIME types defined:</strong> <code>text/javascript</code>, <code>application/json</code>, <code>text/typescript</code>, <code>application/typescript</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/javascript/javascript.js",
    "content": "// TODO actually recognize syntax of TypeScript constructs\n\nCodeMirror.defineMode(\"javascript\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n  var statementIndent = parserConfig.statementIndent;\n  var jsonMode = parserConfig.json;\n  var isTS = parserConfig.typescript;\n\n  // Tokenizer\n\n  var keywords = function(){\n    function kw(type) {return {type: type, style: \"keyword\"};}\n    var A = kw(\"keyword a\"), B = kw(\"keyword b\"), C = kw(\"keyword c\");\n    var operator = kw(\"operator\"), atom = {type: \"atom\", style: \"atom\"};\n\n    var jsKeywords = {\n      \"if\": kw(\"if\"), \"while\": A, \"with\": A, \"else\": B, \"do\": B, \"try\": B, \"finally\": B,\n      \"return\": C, \"break\": C, \"continue\": C, \"new\": C, \"delete\": C, \"throw\": C,\n      \"var\": kw(\"var\"), \"const\": kw(\"var\"), \"let\": kw(\"var\"),\n      \"function\": kw(\"function\"), \"catch\": kw(\"catch\"),\n      \"for\": kw(\"for\"), \"switch\": kw(\"switch\"), \"case\": kw(\"case\"), \"default\": kw(\"default\"),\n      \"in\": operator, \"typeof\": operator, \"instanceof\": operator,\n      \"true\": atom, \"false\": atom, \"null\": atom, \"undefined\": atom, \"NaN\": atom, \"Infinity\": atom,\n      \"this\": kw(\"this\"), \"module\": kw(\"module\"), \"class\": kw(\"class\"), \"super\": kw(\"atom\"),\n      \"yield\": C, \"export\": kw(\"export\"), \"import\": kw(\"import\"), \"extends\": C\n    };\n\n    // Extend the 'normal' keywords with the TypeScript language extensions\n    if (isTS) {\n      var type = {type: \"variable\", style: \"variable-3\"};\n      var tsKeywords = {\n        // object-like things\n        \"interface\": kw(\"interface\"),\n        \"extends\": kw(\"extends\"),\n        \"constructor\": kw(\"constructor\"),\n\n        // scope modifiers\n        \"public\": kw(\"public\"),\n        \"private\": kw(\"private\"),\n        \"protected\": kw(\"protected\"),\n        \"static\": kw(\"static\"),\n\n        // types\n        \"string\": type, \"number\": type, \"bool\": type, \"any\": type\n      };\n\n      for (var attr in tsKeywords) {\n        jsKeywords[attr] = tsKeywords[attr];\n      }\n    }\n\n    return jsKeywords;\n  }();\n\n  var isOperatorChar = /[+\\-*&%=<>!?|~^]/;\n\n  function nextUntilUnescaped(stream, end) {\n    var escaped = false, next;\n    while ((next = stream.next()) != null) {\n      if (next == end && !escaped)\n        return false;\n      escaped = !escaped && next == \"\\\\\";\n    }\n    return escaped;\n  }\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n  function ret(tp, style, cont) {\n    type = tp; content = cont;\n    return style;\n  }\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    } else if (ch == \".\" && stream.match(/^\\d+(?:[eE][+\\-]?\\d+)?/)) {\n      return ret(\"number\", \"number\");\n    } else if (ch == \".\" && stream.match(\"..\")) {\n      return ret(\"spread\", \"meta\");\n    } else if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      return ret(ch);\n    } else if (ch == \"=\" && stream.eat(\">\")) {\n      return ret(\"=>\");\n    } else if (ch == \"0\" && stream.eat(/x/i)) {\n      stream.eatWhile(/[\\da-f]/i);\n      return ret(\"number\", \"number\");\n    } else if (/\\d/.test(ch)) {\n      stream.match(/^\\d*(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/);\n      return ret(\"number\", \"number\");\n    } else if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      } else if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return ret(\"comment\", \"comment\");\n      } else if (state.lastType == \"operator\" || state.lastType == \"keyword c\" ||\n               state.lastType == \"sof\" || /^[\\[{}\\(,;:]$/.test(state.lastType)) {\n        nextUntilUnescaped(stream, \"/\");\n        stream.eatWhile(/[gimy]/); // 'y' is \"sticky\" option in Mozilla\n        return ret(\"regexp\", \"string-2\");\n      } else {\n        stream.eatWhile(isOperatorChar);\n        return ret(\"operator\", null, stream.current());\n      }\n    } else if (ch == \"`\") {\n      state.tokenize = tokenQuasi;\n      return tokenQuasi(stream, state);\n    } else if (ch == \"#\") {\n      stream.skipToEnd();\n      return ret(\"error\", \"error\");\n    } else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return ret(\"operator\", null, stream.current());\n    } else {\n      stream.eatWhile(/[\\w\\$_]/);\n      var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word];\n      return (known && state.lastType != \".\") ? ret(known.type, known.style, word) :\n                     ret(\"variable\", \"variable\", word);\n    }\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      if (!nextUntilUnescaped(stream, quote))\n        state.tokenize = tokenBase;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenQuasi(stream, state) {\n    var escaped = false, next;\n    while ((next = stream.next()) != null) {\n      if (!escaped && (next == \"`\" || next == \"$\" && stream.eat(\"{\"))) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      escaped = !escaped && next == \"\\\\\";\n    }\n    return ret(\"quasi\", \"string-2\", stream.current());\n  }\n\n  var brackets = \"([{}])\";\n  // This is a crude lookahead trick to try and notice that we're\n  // parsing the argument patterns for a fat-arrow function before we\n  // actually hit the arrow token. It only works if the arrow is on\n  // the same line as the arguments and there's no strange noise\n  // (comments) in between. Fallback is to only notice when we hit the\n  // arrow, and not declare the arguments as locals for the arrow\n  // body.\n  function findFatArrow(stream, state) {\n    if (state.fatArrowAt) state.fatArrowAt = null;\n    var arrow = stream.string.indexOf(\"=>\", stream.start);\n    if (arrow < 0) return;\n\n    var depth = 0, sawSomething = false;\n    for (var pos = arrow - 1; pos >= 0; --pos) {\n      var ch = stream.string.charAt(pos);\n      var bracket = brackets.indexOf(ch);\n      if (bracket >= 0 && bracket < 3) {\n        if (!depth) { ++pos; break; }\n        if (--depth == 0) break;\n      } else if (bracket >= 3 && bracket < 6) {\n        ++depth;\n      } else if (/[$\\w]/.test(ch)) {\n        sawSomething = true;\n      } else if (sawSomething && !depth) {\n        ++pos;\n        break;\n      }\n    }\n    if (sawSomething && !depth) state.fatArrowAt = pos;\n  }\n\n  // Parser\n\n  var atomicTypes = {\"atom\": true, \"number\": true, \"variable\": true, \"string\": true, \"regexp\": true, \"this\": true};\n\n  function JSLexical(indented, column, type, align, prev, info) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.prev = prev;\n    this.info = info;\n    if (align != null) this.align = align;\n  }\n\n  function inScope(state, varname) {\n    for (var v = state.localVars; v; v = v.next)\n      if (v.name == varname) return true;\n    for (var cx = state.context; cx; cx = cx.prev) {\n      for (var v = cx.vars; v; v = v.next)\n        if (v.name == varname) return true;\n    }\n  }\n\n  function parseJS(state, style, type, content, stream) {\n    var cc = state.cc;\n    // Communicate our context to the combinators.\n    // (Less wasteful than consing up a hundred closures on every call.)\n    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc;\n\n    if (!state.lexical.hasOwnProperty(\"align\"))\n      state.lexical.align = true;\n\n    while(true) {\n      var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement;\n      if (combinator(type, content)) {\n        while(cc.length && cc[cc.length - 1].lex)\n          cc.pop()();\n        if (cx.marked) return cx.marked;\n        if (type == \"variable\" && inScope(state, content)) return \"variable-2\";\n        return style;\n      }\n    }\n  }\n\n  // Combinator utils\n\n  var cx = {state: null, column: null, marked: null, cc: null};\n  function pass() {\n    for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);\n  }\n  function cont() {\n    pass.apply(null, arguments);\n    return true;\n  }\n  function register(varname) {\n    function inList(list) {\n      for (var v = list; v; v = v.next)\n        if (v.name == varname) return true;\n      return false;\n    }\n    var state = cx.state;\n    if (state.context) {\n      cx.marked = \"def\";\n      if (inList(state.localVars)) return;\n      state.localVars = {name: varname, next: state.localVars};\n    } else {\n      if (inList(state.globalVars)) return;\n      if (parserConfig.globalVars)\n        state.globalVars = {name: varname, next: state.globalVars};\n    }\n  }\n\n  // Combinators\n\n  var defaultVars = {name: \"this\", next: {name: \"arguments\"}};\n  function pushcontext() {\n    cx.state.context = {prev: cx.state.context, vars: cx.state.localVars};\n    cx.state.localVars = defaultVars;\n  }\n  function popcontext() {\n    cx.state.localVars = cx.state.context.vars;\n    cx.state.context = cx.state.context.prev;\n  }\n  function pushlex(type, info) {\n    var result = function() {\n      var state = cx.state, indent = state.indented;\n      if (state.lexical.type == \"stat\") indent = state.lexical.indented;\n      state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info);\n    };\n    result.lex = true;\n    return result;\n  }\n  function poplex() {\n    var state = cx.state;\n    if (state.lexical.prev) {\n      if (state.lexical.type == \")\")\n        state.indented = state.lexical.indented;\n      state.lexical = state.lexical.prev;\n    }\n  }\n  poplex.lex = true;\n\n  function expect(wanted) {\n    return function(type) {\n      if (type == wanted) return cont();\n      else if (wanted == \";\") return pass();\n      else return cont(arguments.callee);\n    };\n  }\n\n  function statement(type, value) {\n    if (type == \"var\") return cont(pushlex(\"vardef\", value.length), vardef, expect(\";\"), poplex);\n    if (type == \"keyword a\") return cont(pushlex(\"form\"), expression, statement, poplex);\n    if (type == \"keyword b\") return cont(pushlex(\"form\"), statement, poplex);\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n    if (type == \";\") return cont();\n    if (type == \"if\") return cont(pushlex(\"form\"), expression, statement, poplex, maybeelse);\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"for\") return cont(pushlex(\"form\"), forspec, poplex, statement, poplex);\n    if (type == \"variable\") return cont(pushlex(\"stat\"), maybelabel);\n    if (type == \"switch\") return cont(pushlex(\"form\"), expression, pushlex(\"}\", \"switch\"), expect(\"{\"),\n                                      block, poplex, poplex);\n    if (type == \"case\") return cont(expression, expect(\":\"));\n    if (type == \"default\") return cont(expect(\":\"));\n    if (type == \"catch\") return cont(pushlex(\"form\"), pushcontext, expect(\"(\"), funarg, expect(\")\"),\n                                     statement, poplex, popcontext);\n    if (type == \"module\") return cont(pushlex(\"form\"), pushcontext, afterModule, popcontext, poplex);\n    if (type == \"class\") return cont(pushlex(\"form\"), className, objlit, poplex);\n    if (type == \"export\") return cont(pushlex(\"form\"), afterExport, poplex);\n    if (type == \"import\") return cont(pushlex(\"form\"), afterImport, poplex);\n    return pass(pushlex(\"stat\"), expression, expect(\";\"), poplex);\n  }\n  function expression(type) {\n    return expressionInner(type, false);\n  }\n  function expressionNoComma(type) {\n    return expressionInner(type, true);\n  }\n  function expressionInner(type, noComma) {\n    if (cx.state.fatArrowAt == cx.stream.start) {\n      var body = noComma ? arrowBodyNoComma : arrowBody;\n      if (type == \"(\") return cont(pushcontext, commasep(pattern, \")\"), expect(\"=>\"), body, popcontext);\n      else if (type == \"variable\") return pass(pushcontext, pattern, expect(\"=>\"), body, popcontext);\n    }\n\n    var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma;\n    if (atomicTypes.hasOwnProperty(type)) return cont(maybeop);\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"keyword c\") return cont(noComma ? maybeexpressionNoComma : maybeexpression);\n    if (type == \"(\") return cont(pushlex(\")\"), maybeexpression, comprehension, expect(\")\"), poplex, maybeop);\n    if (type == \"operator\" || type == \"spread\") return cont(noComma ? expressionNoComma : expression);\n    if (type == \"[\") return cont(pushlex(\"]\"), expressionNoComma, maybeArrayComprehension, poplex, maybeop);\n    if (type == \"{\") return cont(commasep(objprop, \"}\"), maybeop);\n    return cont();\n  }\n  function maybeexpression(type) {\n    if (type.match(/[;\\}\\)\\],]/)) return pass();\n    return pass(expression);\n  }\n  function maybeexpressionNoComma(type) {\n    if (type.match(/[;\\}\\)\\],]/)) return pass();\n    return pass(expressionNoComma);\n  }\n\n  function maybeoperatorComma(type, value) {\n    if (type == \",\") return cont(expression);\n    return maybeoperatorNoComma(type, value, false);\n  }\n  function maybeoperatorNoComma(type, value, noComma) {\n    var me = noComma == false ? maybeoperatorComma : maybeoperatorNoComma;\n    var expr = noComma == false ? expression : expressionNoComma;\n    if (value == \"=>\") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext);\n    if (type == \"operator\") {\n      if (/\\+\\+|--/.test(value)) return cont(me);\n      if (value == \"?\") return cont(expression, expect(\":\"), expr);\n      return cont(expr);\n    }\n    if (type == \"quasi\") { cx.cc.push(me); return quasi(value); }\n    if (type == \";\") return;\n    if (type == \"(\") return cont(commasep(expressionNoComma, \")\", \"call\"), me);\n    if (type == \".\") return cont(property, me);\n    if (type == \"[\") return cont(pushlex(\"]\"), maybeexpression, expect(\"]\"), poplex, me);\n  }\n  function quasi(value) {\n    if (!value) debugger;\n    if (value.slice(value.length - 2) != \"${\") return cont();\n    return cont(expression, continueQuasi);\n  }\n  function continueQuasi(type) {\n    if (type == \"}\") {\n      cx.marked = \"string-2\";\n      cx.state.tokenize = tokenQuasi;\n      return cont();\n    }\n  }\n  function arrowBody(type) {\n    findFatArrow(cx.stream, cx.state);\n    if (type == \"{\") return pass(statement);\n    return pass(expression);\n  }\n  function arrowBodyNoComma(type) {\n    findFatArrow(cx.stream, cx.state);\n    if (type == \"{\") return pass(statement);\n    return pass(expressionNoComma);\n  }\n  function maybelabel(type) {\n    if (type == \":\") return cont(poplex, statement);\n    return pass(maybeoperatorComma, expect(\";\"), poplex);\n  }\n  function property(type) {\n    if (type == \"variable\") {cx.marked = \"property\"; return cont();}\n  }\n  function objprop(type, value) {\n    if (type == \"variable\") {\n      cx.marked = \"property\";\n      if (value == \"get\" || value == \"set\") return cont(getterSetter);\n    } else if (type == \"number\" || type == \"string\") {\n      cx.marked = type + \" property\";\n    } else if (type == \"[\") {\n      return cont(expression, expect(\"]\"), afterprop);\n    }\n    if (atomicTypes.hasOwnProperty(type)) return cont(afterprop);\n  }\n  function getterSetter(type) {\n    if (type != \"variable\") return pass(afterprop);\n    cx.marked = \"property\";\n    return cont(functiondef);\n  }\n  function afterprop(type) {\n    if (type == \":\") return cont(expressionNoComma);\n    if (type == \"(\") return pass(functiondef);\n  }\n  function commasep(what, end, info) {\n    function proceed(type) {\n      if (type == \",\") {\n        var lex = cx.state.lexical;\n        if (lex.info == \"call\") lex.pos = (lex.pos || 0) + 1;\n        return cont(what, proceed);\n      }\n      if (type == end) return cont();\n      return cont(expect(end));\n    }\n    return function(type) {\n      if (type == end) return cont();\n      if (info === false) return pass(what, proceed);\n      return pass(pushlex(end, info), what, proceed, poplex);\n    };\n  }\n  function block(type) {\n    if (type == \"}\") return cont();\n    return pass(statement, block);\n  }\n  function maybetype(type) {\n    if (isTS && type == \":\") return cont(typedef);\n  }\n  function typedef(type) {\n    if (type == \"variable\"){cx.marked = \"variable-3\"; return cont();}\n  }\n  function vardef() {\n    return pass(pattern, maybetype, maybeAssign, vardefCont);\n  }\n  function pattern(type, value) {\n    if (type == \"variable\") { register(value); return cont(); }\n    if (type == \"[\") return cont(commasep(pattern, \"]\"));\n    if (type == \"{\") return cont(commasep(proppattern, \"}\"));\n  }\n  function proppattern(type, value) {\n    if (type == \"variable\" && !cx.stream.match(/^\\s*:/, false)) {\n      register(value);\n      return cont(maybeAssign);\n    }\n    if (type == \"variable\") cx.marked = \"property\";\n    return cont(expect(\":\"), pattern, maybeAssign);\n  }\n  function maybeAssign(_type, value) {\n    if (value == \"=\") return cont(expressionNoComma);\n  }\n  function vardefCont(type) {\n    if (type == \",\") return cont(vardef);\n  }\n  function maybeelse(type, value) {\n    if (type == \"keyword b\" && value == \"else\") return cont(pushlex(\"form\"), statement, poplex);\n  }\n  function forspec(type) {\n    if (type == \"(\") return cont(pushlex(\")\"), forspec1, expect(\")\"));\n  }\n  function forspec1(type) {\n    if (type == \"var\") return cont(vardef, expect(\";\"), forspec2);\n    if (type == \";\") return cont(forspec2);\n    if (type == \"variable\") return cont(formaybeinof);\n    return pass(expression, expect(\";\"), forspec2);\n  }\n  function formaybeinof(_type, value) {\n    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression); }\n    return cont(maybeoperatorComma, forspec2);\n  }\n  function forspec2(type, value) {\n    if (type == \";\") return cont(forspec3);\n    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression); }\n    return pass(expression, expect(\";\"), forspec3);\n  }\n  function forspec3(type) {\n    if (type != \")\") cont(expression);\n  }\n  function functiondef(type, value) {\n    if (value == \"*\") {cx.marked = \"keyword\"; return cont(functiondef);}\n    if (type == \"variable\") {register(value); return cont(functiondef);}\n    if (type == \"(\") return cont(pushcontext, commasep(funarg, \")\"), statement, popcontext);\n  }\n  function funarg(type) {\n    if (type == \"spread\") return cont(funarg);\n    return pass(pattern, maybetype);\n  }\n  function className(type, value) {\n    if (type == \"variable\") {register(value); return cont(classNameAfter);}\n  }\n  function classNameAfter(_type, value) {\n    if (value == \"extends\") return cont(expression);\n  }\n  function objlit(type) {\n    if (type == \"{\") return cont(commasep(objprop, \"}\"));\n  }\n  function afterModule(type, value) {\n    if (type == \"string\") return cont(statement);\n    if (type == \"variable\") { register(value); return cont(maybeFrom); }\n  }\n  function afterExport(_type, value) {\n    if (value == \"*\") { cx.marked = \"keyword\"; return cont(maybeFrom, expect(\";\")); }\n    if (value == \"default\") { cx.marked = \"keyword\"; return cont(expression, expect(\";\")); }\n    return pass(statement);\n  }\n  function afterImport(type) {\n    if (type == \"string\") return cont();\n    return pass(importSpec, maybeFrom);\n  }\n  function importSpec(type, value) {\n    if (type == \"{\") return cont(commasep(importSpec, \"}\"));\n    if (type == \"variable\") register(value);\n    return cont();\n  }\n  function maybeFrom(_type, value) {\n    if (value == \"from\") { cx.marked = \"keyword\"; return cont(expression); }\n  }\n  function maybeArrayComprehension(type) {\n    if (type == \"for\") return pass(comprehension);\n    if (type == \",\") return cont(commasep(expressionNoComma, \"]\", false));\n    return pass(commasep(expressionNoComma, \"]\", false));\n  }\n  function comprehension(type) {\n    if (type == \"for\") return cont(forspec, comprehension);\n    if (type == \"if\") return cont(expression, comprehension);\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      var state = {\n        tokenize: tokenBase,\n        lastType: \"sof\",\n        cc: [],\n        lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, \"block\", false),\n        localVars: parserConfig.localVars,\n        context: parserConfig.localVars && {vars: parserConfig.localVars},\n        indented: 0\n      };\n      if (parserConfig.globalVars) state.globalVars = parserConfig.globalVars;\n      return state;\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (!state.lexical.hasOwnProperty(\"align\"))\n          state.lexical.align = false;\n        state.indented = stream.indentation();\n        findFatArrow(stream, state);\n      }\n      if (state.tokenize != tokenComment && stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      if (type == \"comment\") return style;\n      state.lastType = type == \"operator\" && (content == \"++\" || content == \"--\") ? \"incdec\" : type;\n      return parseJS(state, style, type, content, stream);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize == tokenComment) return CodeMirror.Pass;\n      if (state.tokenize != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical;\n      // Kludge to prevent 'maybelse' from blocking lexical scope pops\n      for (var i = state.cc.length - 1; i >= 0; --i) {\n        var c = state.cc[i];\n        if (c == poplex) lexical = lexical.prev;\n        else if (c != maybeelse) break;\n      }\n      if (lexical.type == \"stat\" && firstChar == \"}\") lexical = lexical.prev;\n      if (statementIndent && lexical.type == \")\" && lexical.prev.type == \"stat\")\n        lexical = lexical.prev;\n      var type = lexical.type, closing = firstChar == type;\n\n      if (type == \"vardef\") return lexical.indented + (state.lastType == \"operator\" || state.lastType == \",\" ? lexical.info + 1 : 0);\n      else if (type == \"form\" && firstChar == \"{\") return lexical.indented;\n      else if (type == \"form\") return lexical.indented + indentUnit;\n      else if (type == \"stat\")\n        return lexical.indented + (state.lastType == \"operator\" || state.lastType == \",\" ? statementIndent || indentUnit : 0);\n      else if (lexical.info == \"switch\" && !closing && parserConfig.doubleIndentSwitch != false)\n        return lexical.indented + (/^(?:case|default)\\b/.test(textAfter) ? indentUnit : 2 * indentUnit);\n      else if (lexical.align) return lexical.column + (closing ? 0 : 1);\n      else return lexical.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \":{}\",\n    blockCommentStart: jsonMode ? null : \"/*\",\n    blockCommentEnd: jsonMode ? null : \"*/\",\n    lineComment: jsonMode ? null : \"//\",\n    fold: \"brace\",\n\n    helperType: jsonMode ? \"json\" : \"javascript\",\n    jsonMode: jsonMode\n  };\n});\n\nCodeMirror.defineMIME(\"text/javascript\", \"javascript\");\nCodeMirror.defineMIME(\"text/ecmascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/javascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/ecmascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/json\", {name: \"javascript\", json: true});\nCodeMirror.defineMIME(\"application/x-json\", {name: \"javascript\", json: true});\nCodeMirror.defineMIME(\"text/typescript\", { name: \"javascript\", typescript: true });\nCodeMirror.defineMIME(\"application/typescript\", { name: \"javascript\", typescript: true });\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/javascript/test.js",
    "content": "(function() {\n  var mode = CodeMirror.getMode({indentUnit: 2}, \"javascript\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"locals\",\n     \"[keyword function] [variable foo]([def a], [def b]) { [keyword var] [def c] = [number 10]; [keyword return] [variable-2 a] + [variable-2 c] + [variable d]; }\");\n\n  MT(\"comma-and-binop\",\n     \"[keyword function](){ [keyword var] [def x] = [number 1] + [number 2], [def y]; }\");\n\n  MT(\"destructuring\",\n     \"([keyword function]([def a], [[[def b], [def c] ]]) {\",\n     \"  [keyword let] {[def d], [property foo]: [def c]=[number 10], [def x]} = [variable foo]([variable-2 a]);\",\n     \"  [[[variable-2 c], [variable y] ]] = [variable-2 c];\",\n     \"})();\");\n\n  MT(\"class\",\n     \"[keyword class] [variable Point] [keyword extends] [variable SuperThing] {\",\n     \"  [[ [string-2 /expr/] ]]: [number 24],\",\n     \"  [property constructor]([def x], [def y]) {\",\n     \"    [keyword super]([string 'something']);\",\n     \"    [keyword this].[property x] = [variable-2 x];\",\n     \"  }\",\n     \"}\");\n\n  MT(\"module\",\n     \"[keyword module] [string 'foo'] {\",\n     \"  [keyword export] [keyword let] [def x] = [number 42];\",\n     \"  [keyword export] [keyword *] [keyword from] [string 'somewhere'];\",\n     \"}\");\n\n  MT(\"import\",\n     \"[keyword function] [variable foo]() {\",\n     \"  [keyword import] [def $] [keyword from] [string 'jquery'];\",\n     \"  [keyword module] [def crypto] [keyword from] [string 'crypto'];\",\n     \"  [keyword import] { [def encrypt], [def decrypt] } [keyword from] [string 'crypto'];\",\n     \"}\");\n\n  MT(\"const\",\n     \"[keyword function] [variable f]() {\",\n     \"  [keyword const] [[ [def a], [def b] ]] = [[ [number 1], [number 2] ]];\",\n     \"}\");\n\n  MT(\"for/of\",\n     \"[keyword for]([keyword let] [variable of] [keyword of] [variable something]) {}\");\n\n  MT(\"generator\",\n     \"[keyword function*] [variable repeat]([def n]) {\",\n     \"  [keyword for]([keyword var] [def i] = [number 0]; [variable-2 i] < [variable-2 n]; ++[variable-2 i])\",\n     \"    [keyword yield] [variable-2 i];\",\n     \"}\");\n\n  MT(\"fatArrow\",\n     \"[variable array].[property filter]([def a] => [variable-2 a] + [number 1]);\",\n     \"[variable a];\", // No longer in scope\n     \"[keyword let] [variable f] = ([[ [def a], [def b] ]], [def c]) => [variable-2 a] + [variable-2 c];\",\n     \"[variable c];\");\n\n  MT(\"spread\",\n     \"[keyword function] [variable f]([def a], [meta ...][def b]) {\",\n     \"  [variable something]([variable-2 a], [meta ...][variable-2 b]);\",\n     \"}\");\n\n  MT(\"comprehension\",\n     \"[keyword function] [variable f]() {\",\n     \"  [[ [variable x] + [number 1] [keyword for] ([keyword var] [def x] [keyword in] [variable y]) [keyword if] [variable pred]([variable-2 x]) ]];\",\n     \"  ([variable u] [keyword for] ([keyword var] [def u] [keyword of] [variable generateValues]()) [keyword if] ([variable-2 u].[property color] === [string 'blue']));\",\n     \"}\");\n\n  MT(\"quasi\",\n     \"[variable re][string-2 `fofdlakj${][variable x] + ([variable re][string-2 `foo`]) + [number 1][string-2 }fdsa`] + [number 2]\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/javascript/typescript.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: TypeScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"javascript.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">TypeScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>TypeScript mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\nclass Greeter {\n\tgreeting: string;\n\tconstructor (message: string) {\n\t\tthis.greeting = message;\n\t}\n\tgreet() {\n\t\treturn \"Hello, \" + this.greeting;\n\t}\n}   \n\nvar greeter = new Greeter(\"world\");\n\nvar button = document.createElement('button')\nbutton.innerText = \"Say Hello\"\nbutton.onclick = function() {\n\talert(greeter.greet())\n}\n\ndocument.body.appendChild(button)\n\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/typescript\"\n      });\n    </script>\n\n    <p>This is a specialization of the <a href=\"index.html\">JavaScript mode</a>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/jinja2/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Jinja2 mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"jinja2.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Jinja2</a>\n  </ul>\n</div>\n\n<article>\n<h2>Jinja2 mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n&lt;html style=\"color: green\"&gt;\n  &lt;!-- this is a comment --&gt;\n  &lt;head&gt;\n    &lt;title&gt;Jinja2 Example&lt;/title&gt;\n  &lt;/head&gt;\n  &lt;body&gt;\n    &lt;ul&gt;\n    {# this is a comment #}\n    {%- for item in li -%}\n      &lt;li&gt;\n        {{ item.label }}\n      &lt;/li&gt;\n    {% endfor -%}\n    &lt;/ul&gt;\n  &lt;/body&gt;\n&lt;/html&gt;\n</textarea></form>\n    <script>\n      var editor =\n      CodeMirror.fromTextArea(document.getElementById(\"code\"), {mode:\n        {name: \"jinja2\", htmlMode: true}});\n    </script>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/jinja2/jinja2.js",
    "content": "CodeMirror.defineMode(\"jinja2\", function() {\n    var keywords = [\"block\", \"endblock\", \"for\", \"endfor\", \"in\", \"true\", \"false\",\n                    \"loop\", \"none\", \"self\", \"super\", \"if\", \"as\", \"not\", \"and\",\n                    \"else\", \"import\", \"with\", \"without\", \"context\"];\n    keywords = new RegExp(\"^((\" + keywords.join(\")|(\") + \"))\\\\b\");\n\n    function tokenBase (stream, state) {\n        var ch = stream.next();\n        if (ch == \"{\") {\n            if (ch = stream.eat(/\\{|%|#/)) {\n                stream.eat(\"-\");\n                state.tokenize = inTag(ch);\n                return \"tag\";\n            }\n        }\n    }\n    function inTag (close) {\n        if (close == \"{\") {\n            close = \"}\";\n        }\n        return function (stream, state) {\n            var ch = stream.next();\n            if ((ch == close || (ch == \"-\" && stream.eat(close)))\n                && stream.eat(\"}\")) {\n                state.tokenize = tokenBase;\n                return \"tag\";\n            }\n            if (stream.match(keywords)) {\n                return \"keyword\";\n            }\n            return close == \"#\" ? \"comment\" : \"string\";\n        };\n    }\n    return {\n        startState: function () {\n            return {tokenize: tokenBase};\n        },\n        token: function (stream, state) {\n            return state.tokenize(stream, state);\n        }\n    };\n});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/julia/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Julia mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"julia.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Julia</a>\n  </ul>\n</div>\n\n<article>\n<h2>Julia mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n#numbers\n1234\n1234im\n.234\n.234im\n2.23im\n2.3f3\n23e2\n0x234\n\n#strings\n'a'\n\"asdf\"\nr\"regex\"\nb\"bytestring\"\n\n\"\"\"\nmultiline string\n\"\"\"\n\n#identifiers\na\nas123\nfunction_name!\n\n#literal identifier multiples\n3x\n4[1, 2, 3]\n\n#dicts and indexing\nx=[1, 2, 3]\nx[end-1]\nx={\"julia\"=>\"language of technical computing\"}\n\n#exception handling\ntry\n  f()\ncatch\n  @printf \"Error\"\nfinally\n  g()\nend\n\n#types\nimmutable Color{T<:Number}\n  r::T\n  g::T\n  b::T\nend\n\n#functions\nfunction change!(x::Vector{Float64})\n  for i = 1:length(x)\n    x[i] *= 2\n  end\nend\n\n#function invocation\nf('b', (2, 3)...)\n\n#operators\n|=\n&=\n^=\n\\-\n%=\n*=\n+=\n-=\n<=\n>=\n!=\n==\n%\n*\n+\n-\n<\n>\n!\n=\n|\n&\n^\n\\\n?\n~\n:\n$\n<:\n.<\n.>\n<<\n<<=\n>>\n>>>>\n>>=\n>>>=\n<<=\n<<<=\n.<=\n.>=\n.==\n->\n//\nin\n...\n//\n:=\n.//=\n.*=\n./=\n.^=\n.%=\n.+=\n.-=\n\\=\n\\\\=\n||\n===\n&&\n|=\n.|=\n<:\n>:\n|>\n<|\n::\nx ? y : z\n\n#macros\n@spawnat 2 1+1\n@eval(:x)\n\n#keywords and operators\nif else elseif while for\n begin let end do\ntry catch finally return break continue\nglobal local const \nexport import importall using\nfunction macro module baremodule \ntype immutable quote\ntrue false enumerate\n\n\n    </textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"julia\",\n               },\n        lineNumbers: true,\n        indentUnit: 4,\n        tabMode: \"shift\",\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-julia</code>.</p>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/julia/julia.js",
    "content": "CodeMirror.defineMode(\"julia\", function(_conf, parserConf) {\n  var ERRORCLASS = 'error';\n\n  function wordRegexp(words) {\n    return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n  }\n\n  var operators = parserConf.operators || /^(?:\\.?[|&^\\\\%*+\\-<>!=\\/]=?|\\?|~|:|\\$|<:|\\.[<>]|<<=?|>>>?=?|\\.[<>=]=|->?|\\/\\/|\\bin\\b|\\.{3})/;\n  var delimiters = parserConf.delimiters || /^[;,()[\\]{}]/;\n  var identifiers = parserConf.identifiers|| /^[_A-Za-z][_A-Za-z0-9]*!*/;\n  var blockOpeners = [\"begin\", \"function\", \"type\", \"immutable\", \"let\", \"macro\", \"for\", \"while\", \"quote\", \"if\", \"else\", \"elseif\", \"try\", \"finally\", \"catch\"];\n  var blockClosers = [\"end\", \"else\", \"elseif\", \"catch\", \"finally\"];\n  var keywordList = ['if', 'else', 'elseif', 'while', 'for', 'begin', 'let', 'end', 'do', 'try', 'catch', 'finally', 'return', 'break', 'continue', 'global', 'local', 'const', 'export', 'import', 'importall', 'using', 'function', 'macro', 'module', 'baremodule', 'type', 'immutable', 'quote', 'typealias', 'abstract', 'bitstype', 'ccall'];\n  var builtinList = ['true', 'false', 'enumerate', 'open', 'close', 'nothing', 'NaN', 'Inf', 'print', 'println', 'Int8', 'Uint8', 'Int16', 'Uint16', 'Int32', 'Uint32', 'Int64', 'Uint64', 'Int128', 'Uint128', 'Bool', 'Char', 'Float16', 'Float32', 'Float64', 'Array', 'Vector', 'Matrix', 'String', 'UTF8String', 'ASCIIString', 'error', 'warn', 'info', '@printf'];\n\n  //var stringPrefixes = new RegExp(\"^[br]?('|\\\")\")\n  var stringPrefixes = /^[br]?('|\"{3}|\")/;\n  var keywords = wordRegexp(keywordList);\n  var builtins = wordRegexp(builtinList);\n  var openers = wordRegexp(blockOpeners);\n  var closers = wordRegexp(blockClosers);\n  var macro = /@[_A-Za-z][_A-Za-z0-9]*!*/;\n  var indentInfo = null;\n\n  function in_array(state) {\n    var ch = cur_scope(state);\n    if(ch==\"[\" || ch==\"{\") {\n      return true;\n    }\n    else {\n      return false;\n    }\n  }\n\n  function cur_scope(state) {\n    if(state.scopes.length==0) {\n      return null;\n    }\n    return state.scopes[state.scopes.length - 1];\n  }\n\n  // tokenizers\n  function tokenBase(stream, state) {\n    // Handle scope changes\n    var leaving_expr = state.leaving_expr;\n    state.leaving_expr = false;\n    if(leaving_expr) {\n      if(stream.match(/^'+/)) {\n        return 'operator';\n      }\n      if(stream.match(\"...\")) {\n        return 'operator';\n      }\n    }\n\n    if (stream.eatSpace()) {\n      return null;\n    }\n\n    var ch = stream.peek();\n    // Handle Comments\n    if (ch === '#') {\n        stream.skipToEnd();\n        return 'comment';\n    }\n    if(ch==='[') {\n      state.scopes.push(\"[\");\n    }\n\n    if(ch==='{') {\n      state.scopes.push(\"{\");\n    }\n\n    var scope=cur_scope(state);\n\n    if(scope==='[' && ch===']') {\n      state.scopes.pop();\n      state.leaving_expr=true;\n    }\n\n    if(scope==='{' && ch==='}') {\n      state.scopes.pop();\n      state.leaving_expr=true;\n    }\n\n    var match;\n    if(match=stream.match(openers, false)) {\n      state.scopes.push(match);\n    }\n\n    if(!in_array(state) && stream.match(closers, false)) {\n      state.scopes.pop();\n    }\n\n    if(in_array(state)) {\n      if(stream.match(\"end\")) {\n        return 'number';\n      }\n\n    }\n    if(stream.match(\"=>\")) {\n      return 'operator';\n    }\n    // Handle Number Literals\n    if (stream.match(/^[0-9\\.]/, false)) {\n      var imMatcher = RegExp(/^im\\b/);\n      var floatLiteral = false;\n      // Floats\n      if (stream.match(/^\\d*\\.\\d+([ef][\\+\\-]?\\d+)?/i)) { floatLiteral = true; }\n      if (stream.match(/^\\d+\\.\\d*/)) { floatLiteral = true; }\n      if (stream.match(/^\\.\\d+/)) { floatLiteral = true; }\n      if (floatLiteral) {\n          // Float literals may be \"imaginary\"\n          stream.match(imMatcher);\n          return 'number';\n      }\n      // Integers\n      var intLiteral = false;\n      // Hex\n      if (stream.match(/^0x[0-9a-f]+/i)) { intLiteral = true; }\n      // Binary\n      if (stream.match(/^0b[01]+/i)) { intLiteral = true; }\n      // Octal\n      if (stream.match(/^0o[0-7]+/i)) { intLiteral = true; }\n      // Decimal\n      if (stream.match(/^[1-9]\\d*(e[\\+\\-]?\\d+)?/)) {\n          // Decimal literals may be \"imaginary\"\n          stream.eat(/J/i);\n          // TODO - Can you have imaginary longs?\n          intLiteral = true;\n      }\n      // Zero by itself with no other piece of number.\n      if (stream.match(/^0(?![\\dx])/i)) { intLiteral = true; }\n      if (intLiteral) {\n          // Integer literals may be \"long\"\n          stream.match(imMatcher);\n          return 'number';\n      }\n    }\n\n    // Handle Strings\n    if (stream.match(stringPrefixes)) {\n      state.tokenize = tokenStringFactory(stream.current());\n      return state.tokenize(stream, state);\n    }\n\n    // Handle operators and Delimiters\n    if (stream.match(operators)) {\n      return 'operator';\n    }\n\n    if (stream.match(delimiters)) {\n      return null;\n    }\n\n    if (stream.match(keywords)) {\n      return 'keyword';\n    }\n\n    if (stream.match(builtins)) {\n      return 'builtin';\n    }\n\n    if (stream.match(macro)) {\n      return 'meta';\n    }\n\n    if (stream.match(identifiers)) {\n      state.leaving_expr=true;\n      return 'variable';\n    }\n    // Handle non-detected items\n    stream.next();\n    return ERRORCLASS;\n  }\n\n  function tokenStringFactory(delimiter) {\n    while ('rub'.indexOf(delimiter.charAt(0).toLowerCase()) >= 0) {\n      delimiter = delimiter.substr(1);\n    }\n    var singleline = delimiter.length == 1;\n    var OUTCLASS = 'string';\n\n    function tokenString(stream, state) {\n      while (!stream.eol()) {\n        stream.eatWhile(/[^'\"\\\\]/);\n        if (stream.eat('\\\\')) {\n            stream.next();\n            if (singleline && stream.eol()) {\n              return OUTCLASS;\n            }\n        } else if (stream.match(delimiter)) {\n            state.tokenize = tokenBase;\n            return OUTCLASS;\n        } else {\n            stream.eat(/['\"]/);\n        }\n      }\n      if (singleline) {\n        if (parserConf.singleLineStringErrors) {\n            return ERRORCLASS;\n        } else {\n            state.tokenize = tokenBase;\n        }\n      }\n      return OUTCLASS;\n    }\n    tokenString.isString = true;\n    return tokenString;\n  }\n\n  function tokenLexer(stream, state) {\n    indentInfo = null;\n    var style = state.tokenize(stream, state);\n    var current = stream.current();\n\n    // Handle '.' connected identifiers\n    if (current === '.') {\n      style = stream.match(identifiers, false) ? null : ERRORCLASS;\n      if (style === null && state.lastStyle === 'meta') {\n          // Apply 'meta' style to '.' connected identifiers when\n          // appropriate.\n        style = 'meta';\n      }\n      return style;\n    }\n\n    return style;\n  }\n\n  var external = {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        scopes: [],\n        leaving_expr: false\n      };\n    },\n\n    token: function(stream, state) {\n      var style = tokenLexer(stream, state);\n      state.lastStyle = style;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var delta = 0;\n      if(textAfter==\"end\" || textAfter==\"]\" || textAfter==\"}\" || textAfter==\"else\" || textAfter==\"elseif\" || textAfter==\"catch\" || textAfter==\"finally\") {\n        delta = -1;\n      }\n      return (state.scopes.length + delta) * 2;\n    },\n\n    lineComment: \"#\",\n    fold: \"indent\",\n    electricChars: \"edlsifyh]}\"\n  };\n  return external;\n});\n\n\nCodeMirror.defineMIME(\"text/x-julia\", \"julia\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/less/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: LESS mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/lesser-dark.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"less.js\"></script>\n<style>.CodeMirror {background: #f8f8f8; border: 1px solid #ddd; font-size:12px; height: 400px}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">LESS</a>\n  </ul>\n</div>\n\n<article>\n<h2>LESS mode</h2>\n<form><textarea id=\"code\" name=\"code\">@media screen and (device-aspect-ratio: 16/9) { … }\n@media screen and (device-aspect-ratio: 32/18) { … }\n@media screen and (device-aspect-ratio: 1280/720) { … }\n@media screen and (device-aspect-ratio: 2560/1440) { … }\n\nhtml:lang(fr-be)\nhtml:lang(de)\n:lang(fr-be) > q\n:lang(de) > q\n\ntr:nth-child(2n+1) /* represents every odd row of an HTML table */\ntr:nth-child(odd)  /* same */\ntr:nth-child(2n+0) /* represents every even row of an HTML table */\ntr:nth-child(even) /* same */\n\n/* Alternate paragraph colours in CSS */\np:nth-child(4n+1) { color: navy; }\np:nth-child(4n+2) { color: green; }\np:nth-child(4n+3) { color: maroon; }\np:nth-child(4n+4) { color: purple; }\n\n:nth-child(10n-1)  /* represents the 9th, 19th, 29th, etc, element */\n:nth-child(10n+9)  /* Same */\n:nth-child(10n+-1) /* Syntactically invalid, and would be ignored */\n\n:nth-child( 3n + 1 )\n:nth-child( +3n - 2 )\n:nth-child( -n+ 6)\n:nth-child( +6 )\n\nhtml|tr:nth-child(-n+6)  /* represents the 6 first rows of XHTML tables */\n\nimg:nth-of-type(2n+1) { float: right; }\nimg:nth-of-type(2n) { float: left; }\n\nbody > h2:nth-of-type(n+2):nth-last-of-type(n+2)\nbody > h2:not(:first-of-type):not(:last-of-type)\n\nhtml|*:not(:link):not(:visited)\n*|*:not(:hover)\np::first-line { text-transform: uppercase }\n\np { color: red; font-size: 12pt }\np::first-letter { color: green; font-size: 200% }\np::first-line { color: blue }\n\np { line-height: 1.1 }\np::first-letter { font-size: 3em; font-weight: normal }\nspan { font-weight: bold }\n\n*               /* a=0 b=0 c=0 -> specificity =   0 */\nLI              /* a=0 b=0 c=1 -> specificity =   1 */\nUL LI           /* a=0 b=0 c=2 -> specificity =   2 */\nUL OL+LI        /* a=0 b=0 c=3 -> specificity =   3 */\nH1 + *[REL=up]  /* a=0 b=1 c=1 -> specificity =  11 */\nUL OL LI.red    /* a=0 b=1 c=3 -> specificity =  13 */\nLI.red.level    /* a=0 b=2 c=1 -> specificity =  21 */\n#x34y           /* a=1 b=0 c=0 -> specificity = 100 */\n#s12:not(FOO)   /* a=1 b=0 c=1 -> specificity = 101 */\n\n@namespace foo url(http://www.example.com);\nfoo|h1 { color: blue }  /* first rule */\nfoo|* { color: yellow } /* second rule */\n|h1 { color: red }      /* ...*/\n*|h1 { color: green }\nh1 { color: green }\n\nspan[hello=\"Ocean\"][goodbye=\"Land\"]\n\na[rel~=\"copyright\"] { ... }\na[href=\"http://www.w3.org/\"] { ... }\n\nDIALOGUE[character=romeo]\nDIALOGUE[character=juliet]\n\n[att^=val]\n[att$=val]\n[att*=val]\n\n@namespace foo \"http://www.example.com\";\n[foo|att=val] { color: blue }\n[*|att] { color: yellow }\n[|att] { color: green }\n[att] { color: green }\n\n\n*:target { color : red }\n*:target::before { content : url(target.png) }\n\nE[foo]{\n  padding:65px;\n}\nE[foo] ~ F{\n  padding:65px;\n}\nE#myid{\n  padding:65px;\n}\ninput[type=\"search\"]::-webkit-search-decoration,\ninput[type=\"search\"]::-webkit-search-cancel-button {\n  -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5\n}\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner { // Inner padding and border oddities in FF3/4\n  padding: 0;\n  border: 0;\n}\n.btn {\n  // reset here as of 2.0.3 due to Recess property order\n  border-color: #ccc;\n  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);\n}\nfieldset span button, fieldset span input[type=\"file\"] {\n  font-size:12px;\n\tfont-family:Arial, Helvetica, sans-serif;\n}\n.el tr:nth-child(even):last-child td:first-child{\n\t-moz-border-radius-bottomleft:3px;\n\t-webkit-border-bottom-left-radius:3px;\n\tborder-bottom-left-radius:3px;\n}\n\n/* Some LESS code */\n\nbutton {\n    width:  32px;\n    height: 32px;\n    border: 0;\n    margin: 4px;\n    cursor: pointer;\n}\nbutton.icon-plus { background: url(http://dahlström.net/tmp/sharp-icons/svg-icon-target.svg#plus) no-repeat; }\nbutton.icon-chart { background: url(http://dahlström.net/tmp/sharp-icons/svg-icon-target.svg#chart) no-repeat; }\n\nbutton:hover { background-color: #999; }\nbutton:active { background-color: #666; }\n\n@test_a: #eeeQQQ;//this is not a valid hex value and thus parsed as an element id\n@test_b: #eeeFFF //this is a valid hex value but the declaration doesn't end with a semicolon and thus parsed as an element id\n\n#eee aaa .box\n{\n  #test bbb {\n    width: 500px;\n    height: 250px;\n    background-image: url(dir/output/sheep.png), url( betweengrassandsky.png );\n    background-position: center bottom, left top;\n    background-repeat: no-repeat;\n  }\n}\n\n@base: #f938ab;\n\n.box-shadow(@style, @c) when (iscolor(@c)) {\n  box-shadow:         @style @c;\n  -webkit-box-shadow: @style @c;\n  -moz-box-shadow:    @style @c;\n}\n.box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {\n  .box-shadow(@style, rgba(0, 0, 0, @alpha));\n}\n\n@color: #4D926F;\n\n#header {\n  color: @color;\n  color: #000000;\n}\nh2 {\n  color: @color;\n}\n\n.rounded-corners (@radius: 5px) {\n  border-radius: @radius;\n  -webkit-border-radius: @radius;\n  -moz-border-radius: @radius;\n}\n\n#header {\n  .rounded-corners;\n}\n#footer {\n  .rounded-corners(10px);\n}\n\n.box-shadow (@x: 0, @y: 0, @blur: 1px, @alpha) {\n  @val: @x @y @blur rgba(0, 0, 0, @alpha);\n\n  box-shadow:         @val;\n  -webkit-box-shadow: @val;\n  -moz-box-shadow:    @val;\n}\n.box { @base: #f938ab;\n  color:        saturate(@base, 5%);\n  border-color: lighten(@base, 30%);\n  div { .box-shadow(0, 0, 5px, 0.4) }\n}\n\n@import url(\"something.css\");\n\n@light-blue:   hsl(190, 50%, 65%);\n@light-yellow: desaturate(#fefec8, 10%);\n@dark-yellow:  desaturate(darken(@light-yellow, 10%), 40%);\n@darkest:      hsl(20, 0%, 15%);\n@dark:         hsl(190, 20%, 30%);\n@medium:       hsl(10, 60%, 30%);\n@light:        hsl(90, 40%, 20%);\n@lightest:     hsl(90, 20%, 90%);\n@highlight:    hsl(80, 50%, 90%);\n@blue:         hsl(210, 60%, 20%);\n@alpha-blue:   hsla(210, 60%, 40%, 0.5);\n\n.box-shadow (@x, @y, @blur, @alpha) {\n  @value: @x @y @blur rgba(0, 0, 0, @alpha);\n  box-shadow:         @value;\n  -moz-box-shadow:    @value;\n  -webkit-box-shadow: @value;\n}\n.border-radius (@radius) {\n  border-radius: @radius;\n  -moz-border-radius: @radius;\n  -webkit-border-radius: @radius;\n}\n\n.border-radius (@radius, bottom) {\n  border-top-right-radius: 0;\n  border-top-left-radius: 0;\n  -moz-border-top-right-radius: 0;\n  -moz-border-top-left-radius: 0;\n  -webkit-border-top-left-radius: 0;\n  -webkit-border-top-right-radius: 0;\n}\n.border-radius (@radius, right) {\n  border-bottom-left-radius: 0;\n  border-top-left-radius: 0;\n  -moz-border-bottom-left-radius: 0;\n  -moz-border-top-left-radius: 0;\n  -webkit-border-bottom-left-radius: 0;\n  -webkit-border-top-left-radius: 0;\n}\n.box-shadow-inset (@x, @y, @blur, @color) {\n  box-shadow: @x @y @blur @color inset;\n  -moz-box-shadow: @x @y @blur @color inset;\n  -webkit-box-shadow: @x @y @blur @color inset;\n}\n.code () {\n  font-family: 'Bitstream Vera Sans Mono',\n               'DejaVu Sans Mono',\n               'Monaco',\n               Courier,\n               monospace !important;\n}\n.wrap () {\n  text-wrap: wrap;\n  white-space: pre-wrap;       /* css-3 */\n  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */\n  white-space: -pre-wrap;      /* Opera 4-6 */\n  white-space: -o-pre-wrap;    /* Opera 7 */\n  word-wrap: break-word;       /* Internet Explorer 5.5+ */\n}\n\nhtml { margin: 0 }\nbody {\n  background-color: @darkest;\n  margin: 0 auto;\n  font-family: Arial, sans-serif;\n  font-size: 100%;\n  overflow-x: hidden;\n}\nnav, header, footer, section, article {\n  display: block;\n}\na {\n  color: #b83000;\n}\nh1 a {\n  color: black;\n  text-decoration: none;\n}\na:hover {\n  text-decoration: underline;\n}\nh1, h2, h3, h4 {\n  margin: 0;\n  font-weight: normal;\n}\nul, li {\n  list-style-type: none;\n}\ncode { .code; }\ncode {\n  .string, .regexp { color: @dark }\n  .keyword { font-weight: bold }\n  .comment { color: rgba(0, 0, 0, 0.5) }\n  .number { color: @blue }\n  .class, .special { color: rgba(0, 50, 100, 0.8) }\n}\npre {\n  padding: 0 30px;\n  .wrap;\n}\nblockquote {\n  font-style: italic;\n}\nbody > footer {\n  text-align: left;\n  margin-left: 10px;\n  font-style: italic;\n  font-size: 18px;\n  color: #888;\n}\n\n#logo {\n  margin-top: 30px;\n  margin-bottom: 30px;\n  display: block;\n  width: 199px;\n  height: 81px;\n  background: url(/images/logo.png) no-repeat;\n}\nnav {\n  margin-left: 15px;\n}\nnav a, #dropdown li {\n  display: inline-block;\n  color: white;\n  line-height: 42px;\n  margin: 0;\n  padding: 0px 15px;\n  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);\n  text-decoration: none;\n  border: 2px solid transparent;\n  border-width: 0 2px;\n  &:hover {\n    .dark-red; \n    text-decoration: none;\n  }\n}\n.dark-red {\n    @red: @medium;\n    border: 2px solid darken(@red, 25%);\n    border-left-color: darken(@red, 15%);\n    border-right-color: darken(@red, 15%);\n    border-bottom: 0;\n    border-top: 0;\n    background-color: darken(@red, 10%);\n}\n\n.content {\n  margin: 0 auto;\n  width: 980px;\n}\n\n#menu {\n  position: absolute;\n  width: 100%;\n  z-index: 3;\n  clear: both;\n  display: block;\n  background-color: @blue;\n  height: 42px;\n  border-top: 2px solid lighten(@alpha-blue, 20%);\n  border-bottom: 2px solid darken(@alpha-blue, 25%);\n  .box-shadow(0, 1px, 8px, 0.6);\n  -moz-box-shadow: 0 0 0 #000; // Because firefox sucks.\n\n  &.docked {\n    background-color: hsla(210, 60%, 40%, 0.4);\n  }\n  &:hover {\n    background-color: @blue;\n  }\n\n  #dropdown {\n    margin: 0 0 0 117px;\n    padding: 0;\n    padding-top: 5px;\n    display: none;\n    width: 190px;\n    border-top: 2px solid @medium;\n    color: @highlight;\n    border: 2px solid darken(@medium, 25%);\n    border-left-color: darken(@medium, 15%);\n    border-right-color: darken(@medium, 15%);\n    border-top-width: 0;\n    background-color: darken(@medium, 10%);\n    ul {\n      padding: 0px;  \n    }\n    li {\n      font-size: 14px;\n      display: block;\n      text-align: left;\n      padding: 0;\n      border: 0;\n      a {\n        display: block;\n        padding: 0px 15px;  \n        text-decoration: none;\n        color: white;  \n        &:hover {\n          background-color: darken(@medium, 15%);\n          text-decoration: none;\n        }\n      }\n    }\n    .border-radius(5px, bottom);\n    .box-shadow(0, 6px, 8px, 0.5);\n  }\n}\n\n#main {\n  margin: 0 auto;\n  width: 100%;\n  background-color: @light-blue;\n  border-top: 8px solid darken(@light-blue, 5%);\n\n  #intro {\n    background-color: lighten(@light-blue, 25%);\n    float: left;\n    margin-top: -8px;\n    margin-right: 5px;\n\n    height: 380px;\n    position: relative;\n    z-index: 2;\n    font-family: 'Droid Serif', 'Georgia';\n    width: 395px;\n    padding: 45px 20px 23px 30px;\n    border: 2px dashed darken(@light-blue, 10%);\n    .box-shadow(1px, 0px, 6px, 0.5);\n    border-bottom: 0;\n    border-top: 0;\n    #download { color: transparent; border: 0; float: left; display: inline-block; margin: 15px 0 15px -5px; }\n    #download img { display: inline-block}\n    #download-info {\n      code {\n        font-size: 13px;  \n      }\n      color: @blue + #333; display: inline; float: left; margin: 36px 0 0 15px }\n  }\n  h2 {\n    span {\n      color: @medium;  \n    }\n    color: @blue;\n    margin: 20px 0;\n    font-size: 24px;\n    line-height: 1.2em;\n  }\n  h3 {\n    color: @blue;\n    line-height: 1.4em;\n    margin: 30px 0 15px 0;\n    font-size: 1em;\n    text-shadow: 0px 0px 0px @lightest;\n    span { color: @medium }\n  }\n  #example {\n    p {\n      font-size: 18px;\n      color: @blue;\n      font-weight: bold;\n      text-shadow: 0px 1px 1px @lightest;\n    }\n    pre {\n      margin: 0;\n      text-shadow: 0 -1px 1px @darkest;\n      margin-top: 20px;\n      background-color: desaturate(@darkest, 8%);\n      border: 0;\n      width: 450px;\n      color: lighten(@lightest, 2%);\n      background-repeat: repeat;\n      padding: 15px;\n      border: 1px dashed @lightest;\n      line-height: 15px;\n      .box-shadow(0, 0px, 15px, 0.5);\n      .code;\n      .border-radius(2px);\n      code .attribute { color: hsl(40, 50%, 70%) }\n      code .variable  { color: hsl(120, 10%, 50%) }\n      code .element   { color: hsl(170, 20%, 50%) }\n\n      code .string, .regexp { color: hsl(75, 50%, 65%) }\n      code .class { color: hsl(40, 40%, 60%); font-weight: normal }\n      code .id { color: hsl(50, 40%, 60%); font-weight: normal }\n      code .comment { color: rgba(255, 255, 255, 0.2) }\n      code .number, .color { color: hsl(10, 40%, 50%) }\n      code .class, code .mixin, .special { color: hsl(190, 20%, 50%) }\n      #time { color: #aaa }\n    }\n    float: right;\n    font-size: 12px;\n    margin: 0;\n    margin-top: 15px;\n    padding: 0;\n    width: 500px;\n  }\n}\n\n\n.page {\n  .content {\n    width: 870px;\n    padding: 45px;\n  }\n  margin: 0 auto;\n  font-family: 'Georgia', serif;\n  font-size: 18px;\n  line-height: 26px;\n  padding: 0 60px;\n  code {\n    font-size: 16px;  \n  }\n  pre {\n    border-width: 1px;\n    border-style: dashed;\n    padding: 15px;\n    margin: 15px 0;\n  }\n  h1 {\n    text-align: left;\n    font-size: 40px;\n    margin-top: 15px;\n    margin-bottom: 35px;\n  }\n  p + h1 { margin-top: 60px }\n  h2, h3 {\n    margin: 30px 0 15px 0;\n  }\n  p + h2, pre + h2, code + h2 {\n    border-top: 6px solid rgba(255, 255, 255, 0.1);\n    padding-top: 30px;\n  }\n  h3 {\n    margin: 15px 0;\n  }\n}\n\n\n#docs {\n  @bg: lighten(@light-blue, 5%);\n  border-top: 2px solid lighten(@bg, 5%);\n  color: @blue;\n  background-color: @light-blue;\n  .box-shadow(0, -2px, 5px, 0.2);\n\n  h1 {\n    font-family: 'Droid Serif', 'Georgia', serif;\n    padding-top: 30px;\n    padding-left: 45px;\n    font-size: 44px;\n    text-align: left;\n    margin: 30px 0 !important;\n    text-shadow: 0px 1px 1px @lightest;\n    font-weight: bold;\n  }\n  .content {\n    clear: both;\n    border-color: transparent;\n    background-color: lighten(@light-blue, 25%);\n    .box-shadow(0, 5px, 5px, 0.4);\n  }\n  pre {\n    @background: lighten(@bg, 30%);\n    color: lighten(@blue, 10%);\n    background-color: @background;\n    border-color: lighten(@light-blue, 25%);\n    border-width: 2px;\n    code .attribute { color: hsl(40, 50%, 30%) }\n    code .variable  { color: hsl(120, 10%, 30%) }\n    code .element   { color: hsl(170, 20%, 30%) }\n\n    code .string, .regexp { color: hsl(75, 50%, 35%) }\n    code .class { color: hsl(40, 40%, 30%); font-weight: normal }\n    code .id { color: hsl(50, 40%, 30%); font-weight: normal }\n    code .comment { color: rgba(0, 0, 0, 0.4) }\n    code .number, .color { color: hsl(10, 40%, 30%) }\n    code .class, code .mixin, .special { color: hsl(190, 20%, 30%) }\n  }\n  pre code                    { font-size: 15px  }\n  p + h2, pre + h2, code + h2 { border-top-color: rgba(0, 0, 0, 0.1) }\n}\n\ntd {\n  padding-right: 30px;  \n}\n#synopsis {\n  .box-shadow(0, 5px, 5px, 0.2);\n}\n#synopsis, #about {\n  h2 {\n    font-size: 30px;  \n    padding: 10px 0;\n  }\n  h1 + h2 {\n      margin-top: 15px;  \n  }\n  h3 { font-size: 22px }\n\n  .code-example {\n    border-spacing: 0;\n    border-width: 1px;\n    border-style: dashed;\n    padding: 0;\n    pre { border: 0; margin: 0 }\n    td {\n      border: 0;\n      margin: 0;\n      background-color: desaturate(darken(@darkest, 5%), 20%);\n      vertical-align: top;\n      padding: 0;\n    }\n    tr { padding: 0 }\n  }\n  .css-output {\n    td {\n      border-left: 0;  \n    }\n  }\n  .less-example {\n    //border-right: 1px dotted rgba(255, 255, 255, 0.5) !important;\n  }\n  .css-output, .less-example {\n    width: 390px;\n  }\n  pre {\n    padding: 20px;\n    line-height: 20px;\n    font-size: 14px;\n  }\n}\n#about, #synopsis, #guide {\n  a {\n    text-decoration: none;\n    color: @light-yellow;\n    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);\n    &:hover {\n      text-decoration: none;\n      border-bottom: 1px dashed @light-yellow;\n    }\n  }\n  @bg: desaturate(darken(@darkest, 5%), 20%);\n  text-shadow: 0 -1px 1px lighten(@bg, 5%);\n  color: @highlight;\n  background-color: @bg;\n  .content {\n    background-color: desaturate(@darkest, 20%);\n    clear: both;\n    .box-shadow(0, 5px, 5px, 0.4);\n  }\n  h1, h2, h3 {\n    color: @dark-yellow;\n  }\n  pre {\n      code .attribute { color: hsl(40, 50%, 70%) }\n      code .variable  { color: hsl(120, 10%, 50%) }\n      code .element   { color: hsl(170, 20%, 50%) }\n\n      code .string, .regexp { color: hsl(75, 50%, 65%) }\n      code .class { color: hsl(40, 40%, 60%); font-weight: normal }\n      code .id { color: hsl(50, 40%, 60%); font-weight: normal }\n      code .comment { color: rgba(255, 255, 255, 0.2) }\n      code .number, .color { color: hsl(10, 40%, 50%) }\n      code .class, code .mixin, .special { color: hsl(190, 20%, 50%) }\n    background-color: @bg;\n    border-color: darken(@light-yellow, 5%);\n  }\n  code {\n    color: darken(@dark-yellow, 5%);\n    .string, .regexp { color: desaturate(@light-blue, 15%) }\n    .keyword { color: hsl(40, 40%, 60%); font-weight: normal }\n    .comment { color: rgba(255, 255, 255, 0.2) }\n    .number { color: lighten(@blue, 10%) }\n    .class, .special { color: hsl(190, 20%, 50%) }\n  }\n}\n#guide {\n  background-color: @darkest;\n  .content {\n    background-color: transparent;\n  }\n\n}\n\n#about {\n  background-color: @darkest !important;\n  .content {\n    background-color: desaturate(lighten(@darkest, 3%), 5%);\n  }\n}\n#synopsis {\n  background-color: desaturate(lighten(@darkest, 3%), 5%) !important;\n  .content {\n    background-color: desaturate(lighten(@darkest, 3%), 5%);\n  }\n  pre {}\n}\n#synopsis, #guide {\n  .content {\n    .box-shadow(0, 0px, 0px, 0.0);\n  }\n}\n#about footer {\n  margin-top: 30px;\n  padding-top: 30px;\n  border-top: 6px solid rgba(0, 0, 0, 0.1);\n  text-align: center;\n  font-size: 16px;\n  color: rgba(255, 255, 255, 0.35);\n  #copy { font-size: 12px }\n  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.02);\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        theme: \"lesser-dark\",\n        lineNumbers : true,\n        matchBrackets : true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-less</code>, <code>text/css</code> (if not previously defined).</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/less/less.js",
    "content": "/*\n  LESS mode - http://www.lesscss.org/\n  Ported to CodeMirror by Peter Kroon <plakroon@gmail.com>\n  Report bugs/issues here: https://github.com/marijnh/CodeMirror/issues\n  GitHub: @peterkroon\n*/\n\nCodeMirror.defineMode(\"less\", function(config) {\n  var indentUnit = config.indentUnit, type;\n  function ret(style, tp) {type = tp; return style;}\n\n  var selectors = /(^\\:root$|^\\:nth\\-child$|^\\:nth\\-last\\-child$|^\\:nth\\-of\\-type$|^\\:nth\\-last\\-of\\-type$|^\\:first\\-child$|^\\:last\\-child$|^\\:first\\-of\\-type$|^\\:last\\-of\\-type$|^\\:only\\-child$|^\\:only\\-of\\-type$|^\\:empty$|^\\:link|^\\:visited$|^\\:active$|^\\:hover$|^\\:focus$|^\\:target$|^\\:lang$|^\\:enabled^\\:disabled$|^\\:checked$|^\\:first\\-line$|^\\:first\\-letter$|^\\:before$|^\\:after$|^\\:not$|^\\:required$|^\\:invalid$)/;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    if (ch == \"@\") {stream.eatWhile(/[\\w\\-]/); return ret(\"meta\", stream.current());}\n    else if (ch == \"/\" && stream.eat(\"*\")) {\n      state.tokenize = tokenCComment;\n      return tokenCComment(stream, state);\n    } else if (ch == \"<\" && stream.eat(\"!\")) {\n      state.tokenize = tokenSGMLComment;\n      return tokenSGMLComment(stream, state);\n    } else if (ch == \"=\") ret(null, \"compare\");\n    else if (ch == \"|\" && stream.eat(\"=\")) return ret(null, \"compare\");\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    } else if (ch == \"/\") { // e.g.: .png will not be parsed as a class\n      if(stream.eat(\"/\")){\n        state.tokenize = tokenSComment;\n        return tokenSComment(stream, state);\n      } else {\n        if(type == \"string\" || type == \"(\") return ret(\"string\", \"string\");\n        if(state.stack[state.stack.length-1] !== undefined) return ret(null, ch);\n        stream.eatWhile(/[\\a-zA-Z0-9\\-_.\\s]/);\n        if( /\\/|\\)|#/.test(stream.peek() || (stream.eatSpace() && stream.peek() === \")\"))  || stream.eol() )return ret(\"string\", \"string\"); // let url(/images/logo.png) without quotes return as string\n      }\n    } else if (ch == \"!\") {\n      stream.match(/^\\s*\\w*/);\n      return ret(\"keyword\", \"important\");\n    } else if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w.%]/);\n      return ret(\"number\", \"unit\");\n    } else if (/[,+<>*\\/]/.test(ch)) {\n      if(stream.peek() == \"=\" || type == \"a\")return ret(\"string\", \"string\");\n      if(ch === \",\")return ret(null, ch);\n      return ret(null, \"select-op\");\n    } else if (/[;{}:\\[\\]()~\\|]/.test(ch)) {\n      if(ch == \":\"){\n        stream.eatWhile(/[a-z\\\\\\-]/);\n        if( selectors.test(stream.current()) ){\n          return ret(\"tag\", \"tag\");\n        } else if(stream.peek() == \":\"){//::-webkit-search-decoration\n          stream.next();\n          stream.eatWhile(/[a-z\\\\\\-]/);\n          if(stream.current().match(/\\:\\:\\-(o|ms|moz|webkit)\\-/))return ret(\"string\", \"string\");\n          if( selectors.test(stream.current().substring(1)) )return ret(\"tag\", \"tag\");\n          return ret(null, ch);\n        } else {\n          return ret(null, ch);\n        }\n      } else if(ch == \"~\"){\n        if(type == \"r\")return ret(\"string\", \"string\");\n      } else {\n        return ret(null, ch);\n      }\n    } else if (ch == \".\") {\n      if(type == \"(\")return ret(\"string\", \"string\"); // allow url(../image.png)\n      stream.eatWhile(/[\\a-zA-Z0-9\\-_]/);\n      if(stream.peek() === \" \")stream.eatSpace();\n      if(stream.peek() === \")\" || type === \":\")return ret(\"number\", \"unit\");//rgba(0,0,0,.25);\n      else if(stream.current().length >1){\n        if(state.stack[state.stack.length-1] === \"rule\" && stream.peek().match(/{|,|\\+|\\(/) === null)return ret(\"number\", \"unit\");\n      }\n      return ret(\"tag\", \"tag\");\n    } else if (ch == \"#\") {\n      //we don't eat white-space, we want the hex color and or id only\n      stream.eatWhile(/[A-Za-z0-9]/);\n      //check if there is a proper hex color length e.g. #eee || #eeeEEE\n      if(stream.current().length == 4 || stream.current().length == 7){\n        if(stream.current().match(/[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}/,false) != null){//is there a valid hex color value present in the current stream\n          //when not a valid hex value, parse as id\n          if(stream.current().substring(1) != stream.current().match(/[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}/,false))return ret(\"atom\", \"tag\");\n          //eat white-space\n          stream.eatSpace();\n          //when hex value declaration doesn't end with [;,] but is does with a slash/cc comment treat it as an id, just like the other hex values that don't end with[;,]\n          if( /[\\/<>.(){!$%^&*_\\-\\\\?=+\\|#'~`]/.test(stream.peek()) ){\n            if(type === \"select-op\")return ret(\"number\", \"unit\"); else return ret(\"atom\", \"tag\");\n          }\n          //#time { color: #aaa }\n          else if(stream.peek() == \"}\" )return ret(\"number\", \"unit\");\n          //we have a valid hex color value, parse as id whenever an element/class is defined after the hex(id) value e.g. #eee aaa || #eee .aaa\n          else if( /[a-zA-Z\\\\]/.test(stream.peek()) )return ret(\"atom\", \"tag\");\n          //when a hex value is on the end of a line, parse as id\n          else if(stream.eol())return ret(\"atom\", \"tag\");\n          //default\n          else return ret(\"number\", \"unit\");\n        } else {//when not a valid hexvalue in the current stream e.g. #footer\n          stream.eatWhile(/[\\w\\\\\\-]/);\n          return ret(\"atom\", stream.current());\n        }\n      } else {//when not a valid hexvalue length\n        stream.eatWhile(/[\\w\\\\\\-]/);\n        if(state.stack[state.stack.length-1] === \"rule\")return ret(\"atom\", stream.current());return ret(\"atom\", stream.current());\n        return ret(\"atom\", \"tag\");\n      }\n    } else if (ch == \"&\") {\n      stream.eatWhile(/[\\w\\-]/);\n      return ret(null, ch);\n    } else {\n      stream.eatWhile(/[\\w\\\\\\-_%.{]/);\n      if(stream.current().match(/\\\\/) !== null){\n        if(stream.current().charAt(stream.current().length-1) === \"\\\\\"){\n          stream.eat(/\\'|\\\"|\\)|\\(/);\n          while(stream.eatWhile(/[\\w\\\\\\-_%.{]/)){\n            stream.eat(/\\'|\\\"|\\)|\\(/);\n          }\n          return ret(\"string\", stream.current());\n        }\n      } //else if(type === \"tag\")return ret(\"tag\", \"tag\");\n        else if(type == \"string\"){\n        if(state.stack[state.stack.length-1] === \"{\" && stream.peek() === \":\")return ret(\"variable\", \"variable\");\n        if(stream.peek() === \"/\")stream.eatWhile(/[\\w\\\\\\-_%.{:\\/]/);\n        return ret(type, stream.current());\n      } else if(stream.current().match(/(^http$|^https$)/) != null){\n        stream.eatWhile(/[\\w\\\\\\-_%.{:\\/]/);\n        if(stream.peek() === \"/\")stream.eatWhile(/[\\w\\\\\\-_%.{:\\/]/);\n        return ret(\"string\", \"string\");\n      } else if(stream.peek() == \"<\" || stream.peek() == \">\" || stream.peek() == \"+\"){\n        if(type === \"(\" && (stream.current() === \"n\" || stream.current() === \"-n\"))return ret(\"string\", stream.current());\n        return ret(\"tag\", \"tag\");\n      } else if( /\\(/.test(stream.peek()) ){\n        if(stream.current() === \"when\")return ret(\"variable\",\"variable\");\n        else if(state.stack[state.stack.length-1] === \"@media\" && stream.current() === \"and\")return ret(\"variable\",stream.current());\n        return ret(null, ch);\n      } else if (stream.peek() == \"/\" && state.stack[state.stack.length-1] !== undefined){ // url(dir/center/image.png)\n        if(stream.peek() === \"/\")stream.eatWhile(/[\\w\\\\\\-_%.{:\\/]/);\n        return ret(\"string\", stream.current());\n      } else if( stream.current().match(/\\-\\d|\\-.\\d/) ){ // match e.g.: -5px -0.4 etc... only colorize the minus sign\n        //commment out these 2 comment if you want the minus sign to be parsed as null -500px\n        //stream.backUp(stream.current().length-1);\n        //return ret(null, ch);\n        return ret(\"number\", \"unit\");\n      } else if( /\\/|[\\s\\)]/.test(stream.peek() || stream.eol() || (stream.eatSpace() && stream.peek() == \"/\")) && stream.current().indexOf(\".\") !== -1){\n        if(stream.current().substring(stream.current().length-1,stream.current().length) == \"{\"){\n          stream.backUp(1);\n          return ret(\"tag\", \"tag\");\n        }//end if\n        stream.eatSpace();\n        if( /[{<>.a-zA-Z\\/]/.test(stream.peek())  || stream.eol() )return ret(\"tag\", \"tag\"); // e.g. button.icon-plus\n        return ret(\"string\", \"string\"); // let url(/images/logo.png) without quotes return as string\n      } else if( stream.eol() || stream.peek() == \"[\" || stream.peek() == \"#\" || type == \"tag\" ){\n\n        if(stream.current().substring(stream.current().length-1,stream.current().length) == \"{\")stream.backUp(1);\n        else if(state.stack[state.stack.length-1] === \"border-color\" || state.stack[state.stack.length-1] === \"background-position\" || state.stack[state.stack.length-1] === \"font-family\")return ret(null, stream.current());\n        else if(type === \"tag\")return ret(\"tag\", \"tag\");\n        else if((type === \":\" || type === \"unit\") && state.stack[state.stack.length-1] === \"rule\")return ret(null, stream.current());\n        else if(state.stack[state.stack.length-1] === \"rule\" && type === \"tag\")return ret(\"string\", stream.current());\n        else if(state.stack[state.stack.length-1] === \";\" && type === \":\")return ret(null, stream.current());\n        //else if(state.stack[state.stack.length-1] === \";\" || type === \"\")return ret(\"variable\", stream.current());\n        else if(stream.peek() === \"#\" && type !== undefined && type.match(/\\+|,|tag|select\\-op|}|{|;/g) === null)return ret(\"string\", stream.current());\n        else if(type === \"variable\")return ret(null, stream.current());\n        else if(state.stack[state.stack.length-1] === \"{\" && type === \"comment\")return ret(\"variable\", stream.current());\n        else if(state.stack.length === 0 && (type === \";\" || type === \"comment\"))return ret(\"tag\", stream.current());\n        else if((state.stack[state.stack.length-1] === \"{\" || type === \";\") && state.stack[state.stack.length-1] !== \"@media{\")return ret(\"variable\", stream.current());\n        else if(state.stack[state.stack.length-2] === \"{\" && state.stack[state.stack.length-1] === \";\")return ret(\"variable\", stream.current());\n\n        return ret(\"tag\", \"tag\");\n      } else if(type == \"compare\" || type == \"a\" || type == \"(\"){\n        return ret(\"string\", \"string\");\n      } else if(type == \"|\" || stream.current() == \"-\" || type == \"[\"){\n        if(type == \"|\" && stream.peek().match(/\\]|=|\\~/) !== null)return ret(\"number\", stream.current());\n        else if(type == \"|\" )return ret(\"tag\", \"tag\");\n        else if(type == \"[\"){\n          stream.eatWhile(/\\w\\-/);\n          return ret(\"number\", stream.current());\n        }\n        return ret(null, ch);\n      } else if((stream.peek() == \":\") || ( stream.eatSpace() && stream.peek() == \":\")) {\n        stream.next();\n        var t_v = stream.peek() == \":\" ? true : false;\n        if(!t_v){\n          var old_pos = stream.pos;\n          var sc = stream.current().length;\n          stream.eatWhile(/[a-z\\\\\\-]/);\n          var new_pos = stream.pos;\n          if(stream.current().substring(sc-1).match(selectors) != null){\n            stream.backUp(new_pos-(old_pos-1));\n            return ret(\"tag\", \"tag\");\n          } else stream.backUp(new_pos-(old_pos-1));\n        } else {\n          stream.backUp(1);\n        }\n        if(t_v)return ret(\"tag\", \"tag\"); else return ret(\"variable\", \"variable\");\n      } else if(state.stack[state.stack.length-1]  === \"font-family\" || state.stack[state.stack.length-1]  === \"background-position\" || state.stack[state.stack.length-1]  === \"border-color\"){\n        return ret(null, null);\n      } else {\n\n        if(state.stack[state.stack.length-1] === null && type === \":\")return ret(null, stream.current());\n\n        //else if((type === \")\" && state.stack[state.stack.length-1] === \"rule\") || (state.stack[state.stack.length-2] === \"{\" && state.stack[state.stack.length-1] === \"rule\" && type === \"variable\"))return ret(null, stream.current());\n\n        else if(/\\^|\\$/.test(stream.current()) && stream.peek().match(/\\~|=/) !== null)return ret(\"string\", \"string\");//att^=val\n\n        else if(type === \"unit\" && state.stack[state.stack.length-1] === \"rule\")return ret(null, \"unit\");\n        else if(type === \"unit\" && state.stack[state.stack.length-1] === \";\")return ret(null, \"unit\");\n        else if(type === \")\" && state.stack[state.stack.length-1] === \"rule\")return ret(null, \"unit\");\n        else if(type && type.match(\"@\") !== null  && state.stack[state.stack.length-1] === \"rule\")return ret(null, \"unit\");\n        //else if(type === \"unit\" && state.stack[state.stack.length-1] === \"rule\")return ret(null, stream.current());\n\n        else if((type === \";\" || type === \"}\" || type === \",\") && state.stack[state.stack.length-1] === \";\")return ret(\"tag\", stream.current());\n        else if((type === \";\" && stream.peek() !== undefined && stream.peek().match(/{|./) === null) || (type === \";\" && stream.eatSpace() && stream.peek().match(/{|./) === null))return ret(\"variable\", stream.current());\n        else if((type === \"@media\" && state.stack[state.stack.length-1] === \"@media\") || type === \"@namespace\")return ret(\"tag\", stream.current());\n\n        else if(type === \"{\"  && state.stack[state.stack.length-1] === \";\" && stream.peek() === \"{\")return ret(\"tag\", \"tag\");\n        else if((type === \"{\" || type === \":\") && state.stack[state.stack.length-1] === \";\")return ret(null, stream.current());\n        else if((state.stack[state.stack.length-1] === \"{\" && stream.eatSpace() && stream.peek().match(/.|#/) === null) || type === \"select-op\"  || (state.stack[state.stack.length-1] === \"rule\" && type === \",\") )return ret(\"tag\", \"tag\");\n        else if(type === \"variable\" && state.stack[state.stack.length-1] === \"rule\")return ret(\"tag\", \"tag\");\n        else if((stream.eatSpace() && stream.peek() === \"{\") || stream.eol() || stream.peek() === \"{\")return ret(\"tag\", \"tag\");\n        //this one messes up indentation\n        //else if((type === \"}\" && stream.peek() !== \":\") || (type === \"}\" && stream.eatSpace() && stream.peek() !== \":\"))return(type, \"tag\");\n\n        else if(type === \")\" && (stream.current() == \"and\" || stream.current() == \"and \"))return ret(\"variable\", \"variable\");\n        else if(type === \")\" && (stream.current() == \"when\" || stream.current() == \"when \"))return ret(\"variable\", \"variable\");\n        else if(type === \")\" || type === \"comment\" || type === \"{\")return ret(\"tag\", \"tag\");\n        else if(stream.sol())return ret(\"tag\", \"tag\");\n        else if((stream.eatSpace() && stream.peek() === \"#\") || stream.peek() === \"#\")return ret(\"tag\", \"tag\");\n        else if(state.stack.length === 0)return ret(\"tag\", \"tag\");\n        else if(type === \";\" && stream.peek() !== undefined && stream.peek().match(/^[.|\\#]/g) !== null)return ret(\"tag\", \"tag\");\n\n        else if(type === \":\"){stream.eatSpace();return ret(null, stream.current());}\n\n        else if(stream.current() === \"and \" || stream.current() === \"and\")return ret(\"variable\", stream.current());\n        else if(type === \";\" && state.stack[state.stack.length-1] === \"{\")return ret(\"variable\", stream.current());\n\n        else if(state.stack[state.stack.length-1] === \"rule\")return ret(null, stream.current());\n\n        return ret(\"tag\", stream.current());\n      }\n    }\n  }\n\n  function tokenSComment(stream, state) { // SComment = Slash comment\n    stream.skipToEnd();\n    state.tokenize = tokenBase;\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenCComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (maybeEnd && ch == \"/\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenSGMLComment(stream, state) {\n    var dashes = 0, ch;\n    while ((ch = stream.next()) != null) {\n      if (dashes >= 2 && ch == \">\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      dashes = (ch == \"-\") ? dashes + 1 : 0;\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped)\n          break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) state.tokenize = tokenBase;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  return {\n    startState: function(base) {\n      return {tokenize: tokenBase,\n              baseIndent: base || 0,\n              stack: []};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n\n      var context = state.stack[state.stack.length-1];\n      if (type == \"hash\" && context == \"rule\") style = \"atom\";\n      else if (style == \"variable\") {\n        if (context == \"rule\") style = null; //\"tag\"\n        else if (!context || context == \"@media{\") {\n          style = stream.current() == \"when\"  ? \"variable\" :\n          /[\\s,|\\s\\)|\\s]/.test(stream.peek()) ? \"tag\"      : type;\n        }\n      }\n\n      if (context == \"rule\" && /^[\\{\\};]$/.test(type))\n        state.stack.pop();\n      if (type == \"{\") {\n        if (context == \"@media\") state.stack[state.stack.length-1] = \"@media{\";\n        else state.stack.push(\"{\");\n      }\n      else if (type == \"}\") state.stack.pop();\n      else if (type == \"@media\") state.stack.push(\"@media\");\n      else if (stream.current() === \"font-family\") state.stack[state.stack.length-1] = \"font-family\";\n      else if (stream.current() === \"background-position\") state.stack[state.stack.length-1] = \"background-position\";\n      else if (stream.current() === \"border-color\") state.stack[state.stack.length-1] = \"border-color\";\n      else if (context == \"{\" && type != \"comment\" && type !== \"tag\") state.stack.push(\"rule\");\n      else if (stream.peek() === \":\" && stream.current().match(/@|#/) === null) style = type;\n      if(type === \";\" && (state.stack[state.stack.length-1] == \"font-family\" || state.stack[state.stack.length-1] == \"background-position\" || state.stack[state.stack.length-1] == \"border-color\"))state.stack[state.stack.length-1] = stream.current();\n      else if(type === \"tag\" && stream.peek() === \")\" && stream.current().match(/\\:/) === null){type = null; style = null;}\n      // ????\n      else if((type === \"variable\" && stream.peek() === \")\") || (type === \"variable\" && stream.eatSpace() && stream.peek() === \")\"))return ret(null,stream.current());\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var n = state.stack.length;\n      if (/^\\}/.test(textAfter))\n        n -= state.stack[state.stack.length-1] === \"rule\" ? 2 : 1;\n      else if (state.stack[state.stack.length-2] === \"{\")\n        n -= state.stack[state.stack.length-1] === \"rule\" ? 1 : 0;\n      return state.baseIndent + n * indentUnit;\n    },\n\n    electricChars: \"}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-less\", \"less\");\nif (!CodeMirror.mimeModes.hasOwnProperty(\"text/css\"))\n  CodeMirror.defineMIME(\"text/css\", \"less\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/livescript/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: LiveScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/solarized.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"livescript.js\"></script>\n<style>.CodeMirror {font-size: 80%;border-top: 1px solid silver; border-bottom: 1px solid silver;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">LiveScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>LiveScript mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# LiveScript mode for CodeMirror\n# The following script, prelude.ls, is used to\n# demonstrate LiveScript mode for CodeMirror.\n#   https://github.com/gkz/prelude-ls\n\nexport objToFunc = objToFunc = (obj) ->\n  (key) -> obj[key]\n\nexport each = (f, xs) -->\n  if typeof! xs is \\Object\n    for , x of xs then f x\n  else\n    for x in xs then f x\n  xs\n\nexport map = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  type = typeof! xs\n  if type is \\Object\n    {[key, f x] for key, x of xs}\n  else\n    result = [f x for x in xs]\n    if type is \\String then result * '' else result\n\nexport filter = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  type = typeof! xs\n  if type is \\Object\n    {[key, x] for key, x of xs when f x}\n  else\n    result = [x for x in xs when f x]\n    if type is \\String then result * '' else result\n\nexport reject = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  type = typeof! xs\n  if type is \\Object\n    {[key, x] for key, x of xs when not f x}\n  else\n    result = [x for x in xs when not f x]\n    if type is \\String then result * '' else result\n\nexport partition = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  type = typeof! xs\n  if type is \\Object\n    passed = {}\n    failed = {}\n    for key, x of xs\n      (if f x then passed else failed)[key] = x\n  else\n    passed = []\n    failed = []\n    for x in xs\n      (if f x then passed else failed)push x\n    if type is \\String\n      passed *= ''\n      failed *= ''\n  [passed, failed]\n\nexport find = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  if typeof! xs is \\Object\n    for , x of xs when f x then return x\n  else\n    for x in xs when f x then return x\n  void\n\nexport head = export first = (xs) ->\n  return void if not xs.length\n  xs.0\n\nexport tail = (xs) ->\n  return void if not xs.length\n  xs.slice 1\n\nexport last = (xs) ->\n  return void if not xs.length\n  xs[*-1]\n\nexport initial = (xs) ->\n  return void if not xs.length\n  xs.slice 0 xs.length - 1\n\nexport empty = (xs) ->\n  if typeof! xs is \\Object\n    for x of xs then return false\n    return yes\n  not xs.length\n\nexport values = (obj) ->\n  [x for , x of obj]\n\nexport keys = (obj) ->\n  [x for x of obj]\n\nexport len = (xs) ->\n  xs = values xs if typeof! xs is \\Object\n  xs.length\n\nexport cons = (x, xs) -->\n  if typeof! xs is \\String then x + xs else [x] ++ xs\n\nexport append = (xs, ys) -->\n  if typeof! ys is \\String then xs + ys else xs ++ ys\n\nexport join = (sep, xs) -->\n  xs = values xs if typeof! xs is \\Object\n  xs.join sep\n\nexport reverse = (xs) ->\n  if typeof! xs is \\String\n  then (xs / '')reverse! * ''\n  else xs.slice!reverse!\n\nexport fold = export foldl = (f, memo, xs) -->\n  if typeof! xs is \\Object\n    for , x of xs then memo = f memo, x\n  else\n    for x in xs then memo = f memo, x\n  memo\n\nexport fold1 = export foldl1 = (f, xs) --> fold f, xs.0, xs.slice 1\n\nexport foldr = (f, memo, xs) --> fold f, memo, xs.slice!reverse!\n\nexport foldr1 = (f, xs) -->\n  xs.=slice!reverse!\n  fold f, xs.0, xs.slice 1\n\nexport unfoldr = export unfold = (f, b) -->\n  if (f b)?\n    [that.0] ++ unfoldr f, that.1\n  else\n    []\n\nexport andList = (xs) ->\n  for x in xs when not x\n    return false\n  true\n\nexport orList = (xs) ->\n  for x in xs when x\n    return true\n  false\n\nexport any = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  for x in xs when f x\n    return yes\n  no\n\nexport all = (f, xs) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  for x in xs when not f x\n    return no\n  yes\n\nexport unique = (xs) ->\n  result = []\n  if typeof! xs is \\Object\n    for , x of xs when x not in result then result.push x\n  else\n    for x   in xs when x not in result then result.push x\n  if typeof! xs is \\String then result * '' else result\n\nexport sort = (xs) ->\n  xs.concat!sort (x, y) ->\n    | x > y =>  1\n    | x < y => -1\n    | _     =>  0\n\nexport sortBy = (f, xs) -->\n  return [] unless xs.length\n  xs.concat!sort f\n\nexport compare = (f, x, y) -->\n  | (f x) > (f y) =>  1\n  | (f x) < (f y) => -1\n  | otherwise     =>  0\n\nexport sum = (xs) ->\n  result = 0\n  if typeof! xs is \\Object\n    for , x of xs then result += x\n  else\n    for x   in xs then result += x\n  result\n\nexport product = (xs) ->\n  result = 1\n  if typeof! xs is \\Object\n    for , x of xs then result *= x\n  else\n    for x   in xs then result *= x\n  result\n\nexport mean = export average = (xs) -> (sum xs) / len xs\n\nexport concat = (xss) -> fold append, [], xss\n\nexport concatMap = (f, xs) --> fold ((memo, x) -> append memo, f x), [], xs\n\nexport listToObj = (xs) ->\n  {[x.0, x.1] for x in xs}\n\nexport maximum = (xs) -> fold1 (>?), xs\n\nexport minimum = (xs) -> fold1 (<?), xs\n\nexport scan = export scanl = (f, memo, xs) -->\n  last = memo\n  if typeof! xs is \\Object\n  then [memo] ++ [last = f last, x for , x of xs]\n  else [memo] ++ [last = f last, x for x in xs]\n\nexport scan1 = export scanl1 = (f, xs) --> scan f, xs.0, xs.slice 1\n\nexport scanr = (f, memo, xs) -->\n  xs.=slice!reverse!\n  scan f, memo, xs .reverse!\n\nexport scanr1 = (f, xs) -->\n  xs.=slice!reverse!\n  scan f, xs.0, xs.slice 1 .reverse!\n\nexport replicate = (n, x) -->\n  result = []\n  i = 0\n  while i < n, ++i then result.push x\n  result\n\nexport take = (n, xs) -->\n  | n <= 0\n    if typeof! xs is \\String then '' else []\n  | not xs.length => xs\n  | otherwise     => xs.slice 0, n\n\nexport drop = (n, xs) -->\n  | n <= 0        => xs\n  | not xs.length => xs\n  | otherwise     => xs.slice n\n\nexport splitAt = (n, xs) --> [(take n, xs), (drop n, xs)]\n\nexport takeWhile = (p, xs) -->\n  return xs if not xs.length\n  p = objToFunc p if typeof! p isnt \\Function\n  result = []\n  for x in xs\n    break if not p x\n    result.push x\n  if typeof! xs is \\String then result * '' else result\n\nexport dropWhile = (p, xs) -->\n  return xs if not xs.length\n  p = objToFunc p if typeof! p isnt \\Function\n  i = 0\n  for x in xs\n    break if not p x\n    ++i\n  drop i, xs\n\nexport span = (p, xs) --> [(takeWhile p, xs), (dropWhile p, xs)]\n\nexport breakIt = (p, xs) --> span (not) << p, xs\n\nexport zip = (xs, ys) -->\n  result = []\n  for zs, i in [xs, ys]\n    for z, j in zs\n      result.push [] if i is 0\n      result[j]?push z\n  result\n\nexport zipWith = (f,xs, ys) -->\n  f = objToFunc f if typeof! f isnt \\Function\n  if not xs.length or not ys.length\n    []\n  else\n    [f.apply this, zs for zs in zip.call this, xs, ys]\n\nexport zipAll = (...xss) ->\n  result = []\n  for xs, i in xss\n    for x, j in xs\n      result.push [] if i is 0\n      result[j]?push x\n  result\n\nexport zipAllWith = (f, ...xss) ->\n  f = objToFunc f if typeof! f isnt \\Function\n  if not xss.0.length or not xss.1.length\n    []\n  else\n    [f.apply this, xs for xs in zipAll.apply this, xss]\n\nexport compose = (...funcs) ->\n  ->\n    args = arguments\n    for f in funcs\n      args = [f.apply this, args]\n    args.0\n\nexport curry = (f) ->\n  curry$ f # using util method curry$ from livescript\n\nexport id = (x) -> x\n\nexport flip = (f, x, y) --> f y, x\n\nexport fix = (f) ->\n  ( (g, x) -> -> f(g g) ...arguments ) do\n    (g, x) -> -> f(g g) ...arguments\n\nexport lines = (str) ->\n  return [] if not str.length\n  str / \\\\n\n\nexport unlines = (strs) -> strs * \\\\n\n\nexport words = (str) ->\n  return [] if not str.length\n  str / /[ ]+/\n\nexport unwords = (strs) -> strs * ' '\n\nexport max = (>?)\n\nexport min = (<?)\n\nexport negate = (x) -> -x\n\nexport abs = Math.abs\n\nexport signum = (x) ->\n  | x < 0     => -1\n  | x > 0     =>  1\n  | otherwise =>  0\n\nexport quot = (x, y) --> ~~(x / y)\n\nexport rem = (%)\n\nexport div = (x, y) --> Math.floor x / y\n\nexport mod = (%%)\n\nexport recip = (1 /)\n\nexport pi = Math.PI\n\nexport tau = pi * 2\n\nexport exp = Math.exp\n\nexport sqrt = Math.sqrt\n\n# changed from log as log is a\n# common function for logging things\nexport ln = Math.log\n\nexport pow = (^)\n\nexport sin = Math.sin\n\nexport tan = Math.tan\n\nexport cos = Math.cos\n\nexport asin = Math.asin\n\nexport acos = Math.acos\n\nexport atan = Math.atan\n\nexport atan2 = (x, y) --> Math.atan2 x, y\n\n# sinh\n# tanh\n# cosh\n# asinh\n# atanh\n# acosh\n\nexport truncate = (x) -> ~~x\n\nexport round = Math.round\n\nexport ceiling = Math.ceil\n\nexport floor = Math.floor\n\nexport isItNaN = (x) -> x isnt x\n\nexport even = (x) -> x % 2 == 0\n\nexport odd = (x) -> x % 2 != 0\n\nexport gcd = (x, y) -->\n  x = Math.abs x\n  y = Math.abs y\n  until y is 0\n    z = x % y\n    x = y\n    y = z\n  x\n\nexport lcm = (x, y) -->\n  Math.abs Math.floor (x / (gcd x, y) * y)\n\n# meta\nexport installPrelude = !(target) ->\n  unless target.prelude?isInstalled\n    target <<< out$ # using out$ generated by livescript\n    target <<< target.prelude.isInstalled = true\n\nexport prelude = out$\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        theme: \"solarized light\",\n        lineNumbers: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-livescript</code>.</p>\n\n    <p>The LiveScript mode was written by Kenneth Bentley (<a href=\"LICENSE\">license</a>).</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/livescript/livescript.js",
    "content": "/**\n * Link to the project's GitHub page:\n * https://github.com/duralog/CodeMirror\n */\n(function() {\n  CodeMirror.defineMode('livescript', function(){\n    var tokenBase, external;\n    tokenBase = function(stream, state){\n      var next_rule, nr, i$, len$, r, m;\n      if (next_rule = state.next || 'start') {\n        state.next = state.next;\n        if (Array.isArray(nr = Rules[next_rule])) {\n          for (i$ = 0, len$ = nr.length; i$ < len$; ++i$) {\n            r = nr[i$];\n            if (r.regex && (m = stream.match(r.regex))) {\n              state.next = r.next;\n              return r.token;\n            }\n          }\n          stream.next();\n          return 'error';\n        }\n        if (stream.match(r = Rules[next_rule])) {\n          if (r.regex && stream.match(r.regex)) {\n            state.next = r.next;\n            return r.token;\n          } else {\n            stream.next();\n            return 'error';\n          }\n        }\n      }\n      stream.next();\n      return 'error';\n    };\n    external = {\n      startState: function(){\n        return {\n          next: 'start',\n          lastToken: null\n        };\n      },\n      token: function(stream, state){\n        var style;\n        style = tokenBase(stream, state);\n        state.lastToken = {\n          style: style,\n          indent: stream.indentation(),\n          content: stream.current()\n        };\n        return style.replace(/\\./g, ' ');\n      },\n      indent: function(state){\n        var indentation;\n        indentation = state.lastToken.indent;\n        if (state.lastToken.content.match(indenter)) {\n          indentation += 2;\n        }\n        return indentation;\n      }\n    };\n    return external;\n  });\n\n  var identifier = '(?![\\\\d\\\\s])[$\\\\w\\\\xAA-\\\\uFFDC](?:(?!\\\\s)[$\\\\w\\\\xAA-\\\\uFFDC]|-[A-Za-z])*';\n  var indenter = RegExp('(?:[({[=:]|[-~]>|\\\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\\\s*all)?|const|var|let|new|catch(?:\\\\s*' + identifier + ')?))\\\\s*$');\n  var keywordend = '(?![$\\\\w]|-[A-Za-z]|\\\\s*:(?![:=]))';\n  var stringfill = {\n    token: 'string',\n    regex: '.+'\n  };\n  var Rules = {\n    start: [\n      {\n        token: 'comment.doc',\n        regex: '/\\\\*',\n        next: 'comment'\n      }, {\n        token: 'comment',\n        regex: '#.*'\n      }, {\n        token: 'keyword',\n        regex: '(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)' + keywordend\n      }, {\n        token: 'constant.language',\n        regex: '(?:true|false|yes|no|on|off|null|void|undefined)' + keywordend\n      }, {\n        token: 'invalid.illegal',\n        regex: '(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)' + keywordend\n      }, {\n        token: 'language.support.class',\n        regex: '(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)' + keywordend\n      }, {\n        token: 'language.support.function',\n        regex: '(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)' + keywordend\n      }, {\n        token: 'variable.language',\n        regex: '(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)' + keywordend\n      }, {\n        token: 'identifier',\n        regex: identifier + '\\\\s*:(?![:=])'\n      }, {\n        token: 'variable',\n        regex: identifier\n      }, {\n        token: 'keyword.operator',\n        regex: '(?:\\\\.{3}|\\\\s+\\\\?)'\n      }, {\n        token: 'keyword.variable',\n        regex: '(?:@+|::|\\\\.\\\\.)',\n        next: 'key'\n      }, {\n        token: 'keyword.operator',\n        regex: '\\\\.\\\\s*',\n        next: 'key'\n      }, {\n        token: 'string',\n        regex: '\\\\\\\\\\\\S[^\\\\s,;)}\\\\]]*'\n      }, {\n        token: 'string.doc',\n        regex: '\\'\\'\\'',\n        next: 'qdoc'\n      }, {\n        token: 'string.doc',\n        regex: '\"\"\"',\n        next: 'qqdoc'\n      }, {\n        token: 'string',\n        regex: '\\'',\n        next: 'qstring'\n      }, {\n        token: 'string',\n        regex: '\"',\n        next: 'qqstring'\n      }, {\n        token: 'string',\n        regex: '`',\n        next: 'js'\n      }, {\n        token: 'string',\n        regex: '<\\\\[',\n        next: 'words'\n      }, {\n        token: 'string.regex',\n        regex: '//',\n        next: 'heregex'\n      }, {\n        token: 'string.regex',\n        regex: '\\\\/(?:[^[\\\\/\\\\n\\\\\\\\]*(?:(?:\\\\\\\\.|\\\\[[^\\\\]\\\\n\\\\\\\\]*(?:\\\\\\\\.[^\\\\]\\\\n\\\\\\\\]*)*\\\\])[^[\\\\/\\\\n\\\\\\\\]*)*)\\\\/[gimy$]{0,4}',\n        next: 'key'\n      }, {\n        token: 'constant.numeric',\n        regex: '(?:0x[\\\\da-fA-F][\\\\da-fA-F_]*|(?:[2-9]|[12]\\\\d|3[0-6])r[\\\\da-zA-Z][\\\\da-zA-Z_]*|(?:\\\\d[\\\\d_]*(?:\\\\.\\\\d[\\\\d_]*)?|\\\\.\\\\d[\\\\d_]*)(?:e[+-]?\\\\d[\\\\d_]*)?[\\\\w$]*)'\n      }, {\n        token: 'lparen',\n        regex: '[({[]'\n      }, {\n        token: 'rparen',\n        regex: '[)}\\\\]]',\n        next: 'key'\n      }, {\n        token: 'keyword.operator',\n        regex: '\\\\S+'\n      }, {\n        token: 'text',\n        regex: '\\\\s+'\n      }\n    ],\n    heregex: [\n      {\n        token: 'string.regex',\n        regex: '.*?//[gimy$?]{0,4}',\n        next: 'start'\n      }, {\n        token: 'string.regex',\n        regex: '\\\\s*#{'\n      }, {\n        token: 'comment.regex',\n        regex: '\\\\s+(?:#.*)?'\n      }, {\n        token: 'string.regex',\n        regex: '\\\\S+'\n      }\n    ],\n    key: [\n      {\n        token: 'keyword.operator',\n        regex: '[.?@!]+'\n      }, {\n        token: 'identifier',\n        regex: identifier,\n        next: 'start'\n      }, {\n        token: 'text',\n        regex: '.',\n        next: 'start'\n      }\n    ],\n    comment: [\n      {\n        token: 'comment.doc',\n        regex: '.*?\\\\*/',\n        next: 'start'\n      }, {\n        token: 'comment.doc',\n        regex: '.+'\n      }\n    ],\n    qdoc: [\n      {\n        token: 'string',\n        regex: \".*?'''\",\n        next: 'key'\n      }, stringfill\n    ],\n    qqdoc: [\n      {\n        token: 'string',\n        regex: '.*?\"\"\"',\n        next: 'key'\n      }, stringfill\n    ],\n    qstring: [\n      {\n        token: 'string',\n        regex: '[^\\\\\\\\\\']*(?:\\\\\\\\.[^\\\\\\\\\\']*)*\\'',\n        next: 'key'\n      }, stringfill\n    ],\n    qqstring: [\n      {\n        token: 'string',\n        regex: '[^\\\\\\\\\"]*(?:\\\\\\\\.[^\\\\\\\\\"]*)*\"',\n        next: 'key'\n      }, stringfill\n    ],\n    js: [\n      {\n        token: 'string',\n        regex: '[^\\\\\\\\`]*(?:\\\\\\\\.[^\\\\\\\\`]*)*`',\n        next: 'key'\n      }, stringfill\n    ],\n    words: [\n      {\n        token: 'string',\n        regex: '.*?\\\\]>',\n        next: 'key'\n      }, stringfill\n    ]\n  };\n  for (var idx in Rules) {\n    var r = Rules[idx];\n    if (Array.isArray(r)) {\n      for (var i = 0, len = r.length; i < len; ++i) {\n        var rr = r[i];\n        if (rr.regex) {\n          Rules[idx][i].regex = new RegExp('^' + rr.regex);\n        }\n      }\n    } else if (r.regex) {\n      Rules[idx].regex = new RegExp('^' + r.regex);\n    }\n  }\n})();\n\nCodeMirror.defineMIME('text/x-livescript', 'livescript');\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/livescript/livescript.ls",
    "content": "/**\n * Link to the project's GitHub page:\n * https://github.com/duralog/CodeMirror\n */\nCodeMirror.defineMode 'livescript', (conf) ->\n  tokenBase = (stream, state) ->\n    #indent =\n    if next_rule = state.next or \\start\n      state.next = state.next\n      if Array.isArray nr = Rules[next_rule]\n        for r in nr\n          if r.regex and m = stream.match r.regex\n            state.next = r.next\n            return r.token\n        stream.next!\n        return \\error\n      if stream.match r = Rules[next_rule]\n        if r.regex and stream.match r.regex\n          state.next = r.next\n          return r.token\n        else\n          stream.next!\n          return \\error\n    stream.next!\n    return 'error'\n  external = {\n    startState: (basecolumn) ->\n      {\n        next: \\start\n        lastToken: null\n      }\n    token: (stream, state) ->\n      style = tokenBase stream, state #tokenLexer stream, state\n      state.lastToken = {\n        style: style\n        indent: stream.indentation!\n        content: stream.current!\n      }\n      style.replace /\\./g, ' '\n    indent: (state, textAfter) ->\n      # XXX this won't work with backcalls\n      indentation = state.lastToken.indent\n      if state.lastToken.content.match indenter then indentation += 2\n      return indentation\n  }\n  external\n\n### Highlight Rules\n# taken from mode-ls.ls\n\nindenter = // (?\n    : [({[=:]\n    | [-~]>\n    | \\b (?: e(?:lse|xport) | d(?:o|efault) | t(?:ry|hen) | finally |\n             import (?:\\s* all)? | const | var |\n             let | new | catch (?:\\s* #identifier)? )\n  ) \\s* $ //\n\nidentifier = /(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*/$\nkeywordend = /(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))/$\nstringfill = token: \\string, regex: '.+'\n\nRules =\n  start:\n    * token: \\comment.doc\n      regex: '/\\\\*'\n      next : \\comment\n\n    * token: \\comment\n      regex: '#.*'\n\n    * token: \\keyword\n      regex: //(?\n        :t(?:h(?:is|row|en)|ry|ypeof!?)\n        |c(?:on(?:tinue|st)|a(?:se|tch)|lass)\n        |i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])\n        |d(?:e(?:fault|lete|bugger)|o)\n        |f(?:or(?:\\s+own)?|inally|unction)\n        |s(?:uper|witch)\n        |e(?:lse|x(?:tends|port)|val)\n        |a(?:nd|rguments)\n        |n(?:ew|ot)\n        |un(?:less|til)\n        |w(?:hile|ith)\n        |o[fr]|return|break|let|var|loop\n      )//$ + keywordend\n\n    * token: \\constant.language\n      regex: '(?:true|false|yes|no|on|off|null|void|undefined)' + keywordend\n\n    * token: \\invalid.illegal\n      regex: '(?\n        :p(?:ackage|r(?:ivate|otected)|ublic)\n        |i(?:mplements|nterface)\n        |enum|static|yield\n      )' + keywordend\n\n    * token: \\language.support.class\n      regex: '(?\n        :R(?:e(?:gExp|ferenceError)|angeError)\n        |S(?:tring|yntaxError)\n        |E(?:rror|valError)\n        |Array|Boolean|Date|Function|Number|Object|TypeError|URIError\n      )' + keywordend\n\n    * token: \\language.support.function\n      regex: '(?\n        :is(?:NaN|Finite)\n        |parse(?:Int|Float)\n        |Math|JSON\n        |(?:en|de)codeURI(?:Component)?\n      )' + keywordend\n\n    * token: \\variable.language\n      regex: '(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)' + keywordend\n\n    * token: \\identifier\n      regex: identifier + /\\s*:(?![:=])/$\n\n    * token: \\variable\n      regex: identifier\n\n    * token: \\keyword.operator\n      regex: /(?:\\.{3}|\\s+\\?)/$\n\n    * token: \\keyword.variable\n      regex: /(?:@+|::|\\.\\.)/$\n      next : \\key\n\n    * token: \\keyword.operator\n      regex: /\\.\\s*/$\n      next : \\key\n\n    * token: \\string\n      regex: /\\\\\\S[^\\s,;)}\\]]*/$\n\n    * token: \\string.doc\n      regex: \\'''\n      next : \\qdoc\n\n    * token: \\string.doc\n      regex: \\\"\"\"\n      next : \\qqdoc\n\n    * token: \\string\n      regex: \\'\n      next : \\qstring\n\n    * token: \\string\n      regex: \\\"\n      next : \\qqstring\n\n    * token: \\string\n      regex: \\`\n      next : \\js\n\n    * token: \\string\n      regex: '<\\\\['\n      next : \\words\n\n    * token: \\string.regex\n      regex: \\//\n      next : \\heregex\n\n    * token: \\string.regex\n      regex: //\n        /(?: [^ [ / \\n \\\\ ]*\n          (?: (?: \\\\.\n                | \\[ [^\\]\\n\\\\]* (?:\\\\.[^\\]\\n\\\\]*)* \\]\n              ) [^ [ / \\n \\\\ ]*\n          )*\n        )/ [gimy$]{0,4}\n      //$\n      next : \\key\n\n    * token: \\constant.numeric\n      regex: '(?:0x[\\\\da-fA-F][\\\\da-fA-F_]*\n                |(?:[2-9]|[12]\\\\d|3[0-6])r[\\\\da-zA-Z][\\\\da-zA-Z_]*\n                |(?:\\\\d[\\\\d_]*(?:\\\\.\\\\d[\\\\d_]*)?|\\\\.\\\\d[\\\\d_]*)\n                 (?:e[+-]?\\\\d[\\\\d_]*)?[\\\\w$]*)'\n\n    * token: \\lparen\n      regex: '[({[]'\n\n    * token: \\rparen\n      regex: '[)}\\\\]]'\n      next : \\key\n\n    * token: \\keyword.operator\n      regex: \\\\\\S+\n\n    * token: \\text\n      regex: \\\\\\s+\n\n  heregex:\n    * token: \\string.regex\n      regex: '.*?//[gimy$?]{0,4}'\n      next : \\start\n    * token: \\string.regex\n      regex: '\\\\s*#{'\n    * token: \\comment.regex\n      regex: '\\\\s+(?:#.*)?'\n    * token: \\string.regex\n      regex: '\\\\S+'\n\n  key:\n    * token: \\keyword.operator\n      regex: '[.?@!]+'\n    * token: \\identifier\n      regex: identifier\n      next : \\start\n    * token: \\text\n      regex: '.'\n      next : \\start\n\n  comment:\n    * token: \\comment.doc\n      regex: '.*?\\\\*/'\n      next : \\start\n    * token: \\comment.doc\n      regex: '.+'\n\n  qdoc:\n    token: \\string\n    regex: \".*?'''\"\n    next : \\key\n    stringfill\n\n  qqdoc:\n    token: \\string\n    regex: '.*?\"\"\"'\n    next : \\key\n    stringfill\n\n  qstring:\n    token: \\string\n    regex: /[^\\\\']*(?:\\\\.[^\\\\']*)*'/$\n    next : \\key\n    stringfill\n\n  qqstring:\n    token: \\string\n    regex: /[^\\\\\"]*(?:\\\\.[^\\\\\"]*)*\"/$\n    next : \\key\n    stringfill\n\n  js:\n    token: \\string\n    regex: /[^\\\\`]*(?:\\\\.[^\\\\`]*)*`/$\n    next : \\key\n    stringfill\n\n  words:\n    token: \\string\n    regex: '.*?\\\\]>'\n    next : \\key\n    stringfill\n\n# for optimization, precompile the regexps\nfor idx, r of Rules\n  if Array.isArray r\n    for rr, i in r\n      if rr.regex then Rules[idx][i].regex = new RegExp '^'+rr.regex\n  else if r.regex then Rules[idx].regex = new RegExp '^'+r.regex\n\nCodeMirror.defineMIME 'text/x-livescript', 'livescript'\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/lua/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Lua mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/neat.css\">\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"lua.js\"></script>\n<style>.CodeMirror {border: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Lua</a>\n  </ul>\n</div>\n\n<article>\n<h2>Lua mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n--[[\nexample useless code to show lua syntax highlighting\nthis is multiline comment\n]]\n\nfunction blahblahblah(x)\n\n  local table = {\n    \"asd\" = 123,\n    \"x\" = 0.34,  \n  }\n  if x ~= 3 then\n    print( x )\n  elseif x == \"string\"\n    my_custom_function( 0x34 )\n  else\n    unknown_function( \"some string\" )\n  end\n\n  --single line comment\n  \nend\n\nfunction blablabla3()\n\n  for k,v in ipairs( table ) do\n    --abcde..\n    y=[=[\n  x=[[\n      x is a multi line string\n   ]]\n  but its definition is iside a highest level string!\n  ]=]\n    print(\" \\\"\\\" \")\n\n    s = math.sin( x )\n  end\n\nend\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        tabMode: \"indent\",\n        matchBrackets: true,\n        theme: \"neat\"\n      });\n    </script>\n\n    <p>Loosely based on Franciszek\n    Wawrzak's <a href=\"http://codemirror.net/1/contrib/lua\">CodeMirror\n    1 mode</a>. One configuration parameter is\n    supported, <code>specials</code>, to which you can provide an\n    array of strings to have those identifiers highlighted with\n    the <code>lua-special</code> style.</p>\n    <p><strong>MIME types defined:</strong> <code>text/x-lua</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/lua/lua.js",
    "content": "// LUA mode. Ported to CodeMirror 2 from Franciszek Wawrzak's\n// CodeMirror 1 mode.\n// highlights keywords, strings, comments (no leveling supported! (\"[==[\")), tokens, basic indenting\n\nCodeMirror.defineMode(\"lua\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n\n  function prefixRE(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")\", \"i\");\n  }\n  function wordRE(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")$\", \"i\");\n  }\n  var specials = wordRE(parserConfig.specials || []);\n\n  // long list of standard functions from lua manual\n  var builtins = wordRE([\n    \"_G\",\"_VERSION\",\"assert\",\"collectgarbage\",\"dofile\",\"error\",\"getfenv\",\"getmetatable\",\"ipairs\",\"load\",\n    \"loadfile\",\"loadstring\",\"module\",\"next\",\"pairs\",\"pcall\",\"print\",\"rawequal\",\"rawget\",\"rawset\",\"require\",\n    \"select\",\"setfenv\",\"setmetatable\",\"tonumber\",\"tostring\",\"type\",\"unpack\",\"xpcall\",\n\n    \"coroutine.create\",\"coroutine.resume\",\"coroutine.running\",\"coroutine.status\",\"coroutine.wrap\",\"coroutine.yield\",\n\n    \"debug.debug\",\"debug.getfenv\",\"debug.gethook\",\"debug.getinfo\",\"debug.getlocal\",\"debug.getmetatable\",\n    \"debug.getregistry\",\"debug.getupvalue\",\"debug.setfenv\",\"debug.sethook\",\"debug.setlocal\",\"debug.setmetatable\",\n    \"debug.setupvalue\",\"debug.traceback\",\n\n    \"close\",\"flush\",\"lines\",\"read\",\"seek\",\"setvbuf\",\"write\",\n\n    \"io.close\",\"io.flush\",\"io.input\",\"io.lines\",\"io.open\",\"io.output\",\"io.popen\",\"io.read\",\"io.stderr\",\"io.stdin\",\n    \"io.stdout\",\"io.tmpfile\",\"io.type\",\"io.write\",\n\n    \"math.abs\",\"math.acos\",\"math.asin\",\"math.atan\",\"math.atan2\",\"math.ceil\",\"math.cos\",\"math.cosh\",\"math.deg\",\n    \"math.exp\",\"math.floor\",\"math.fmod\",\"math.frexp\",\"math.huge\",\"math.ldexp\",\"math.log\",\"math.log10\",\"math.max\",\n    \"math.min\",\"math.modf\",\"math.pi\",\"math.pow\",\"math.rad\",\"math.random\",\"math.randomseed\",\"math.sin\",\"math.sinh\",\n    \"math.sqrt\",\"math.tan\",\"math.tanh\",\n\n    \"os.clock\",\"os.date\",\"os.difftime\",\"os.execute\",\"os.exit\",\"os.getenv\",\"os.remove\",\"os.rename\",\"os.setlocale\",\n    \"os.time\",\"os.tmpname\",\n\n    \"package.cpath\",\"package.loaded\",\"package.loaders\",\"package.loadlib\",\"package.path\",\"package.preload\",\n    \"package.seeall\",\n\n    \"string.byte\",\"string.char\",\"string.dump\",\"string.find\",\"string.format\",\"string.gmatch\",\"string.gsub\",\n    \"string.len\",\"string.lower\",\"string.match\",\"string.rep\",\"string.reverse\",\"string.sub\",\"string.upper\",\n\n    \"table.concat\",\"table.insert\",\"table.maxn\",\"table.remove\",\"table.sort\"\n  ]);\n  var keywords = wordRE([\"and\",\"break\",\"elseif\",\"false\",\"nil\",\"not\",\"or\",\"return\",\n                         \"true\",\"function\", \"end\", \"if\", \"then\", \"else\", \"do\",\n                         \"while\", \"repeat\", \"until\", \"for\", \"in\", \"local\" ]);\n\n  var indentTokens = wordRE([\"function\", \"if\",\"repeat\",\"do\", \"\\\\(\", \"{\"]);\n  var dedentTokens = wordRE([\"end\", \"until\", \"\\\\)\", \"}\"]);\n  var dedentPartial = prefixRE([\"end\", \"until\", \"\\\\)\", \"}\", \"else\", \"elseif\"]);\n\n  function readBracket(stream) {\n    var level = 0;\n    while (stream.eat(\"=\")) ++level;\n    stream.eat(\"[\");\n    return level;\n  }\n\n  function normal(stream, state) {\n    var ch = stream.next();\n    if (ch == \"-\" && stream.eat(\"-\")) {\n      if (stream.eat(\"[\") && stream.eat(\"[\"))\n        return (state.cur = bracketed(readBracket(stream), \"comment\"))(stream, state);\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    if (ch == \"\\\"\" || ch == \"'\")\n      return (state.cur = string(ch))(stream, state);\n    if (ch == \"[\" && /[\\[=]/.test(stream.peek()))\n      return (state.cur = bracketed(readBracket(stream), \"string\"))(stream, state);\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w.%]/);\n      return \"number\";\n    }\n    if (/[\\w_]/.test(ch)) {\n      stream.eatWhile(/[\\w\\\\\\-_.]/);\n      return \"variable\";\n    }\n    return null;\n  }\n\n  function bracketed(level, style) {\n    return function(stream, state) {\n      var curlev = null, ch;\n      while ((ch = stream.next()) != null) {\n        if (curlev == null) {if (ch == \"]\") curlev = 0;}\n        else if (ch == \"=\") ++curlev;\n        else if (ch == \"]\" && curlev == level) { state.cur = normal; break; }\n        else curlev = null;\n      }\n      return style;\n    };\n  }\n\n  function string(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) state.cur = normal;\n      return \"string\";\n    };\n  }\n\n  return {\n    startState: function(basecol) {\n      return {basecol: basecol || 0, indentDepth: 0, cur: normal};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.cur(stream, state);\n      var word = stream.current();\n      if (style == \"variable\") {\n        if (keywords.test(word)) style = \"keyword\";\n        else if (builtins.test(word)) style = \"builtin\";\n        else if (specials.test(word)) style = \"variable-2\";\n      }\n      if ((style != \"comment\") && (style != \"string\")){\n        if (indentTokens.test(word)) ++state.indentDepth;\n        else if (dedentTokens.test(word)) --state.indentDepth;\n      }\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var closing = dedentPartial.test(textAfter);\n      return state.basecol + indentUnit * (state.indentDepth - (closing ? 1 : 0));\n    },\n\n    lineComment: \"--\",\n    blockCommentStart: \"--[[\",\n    blockCommentEnd: \"]]\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-lua\", \"lua\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/markdown/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Markdown mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/continuelist.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"markdown.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .cm-s-default .cm-trailing-space-a:before,\n      .cm-s-default .cm-trailing-space-b:before {position: absolute; content: \"\\00B7\"; color: #777;}\n      .cm-s-default .cm-trailing-space-new-line:before {position: absolute; content: \"\\21B5\"; color: #777;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Markdown</a>\n  </ul>\n</div>\n\n<article>\n<h2>Markdown mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nMarkdown: Basics\n================\n\n&lt;ul id=\"ProjectSubmenu\"&gt;\n    &lt;li&gt;&lt;a href=\"/projects/markdown/\" title=\"Markdown Project Page\"&gt;Main&lt;/a&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;a class=\"selected\" title=\"Markdown Basics\"&gt;Basics&lt;/a&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;a href=\"/projects/markdown/syntax\" title=\"Markdown Syntax Documentation\"&gt;Syntax&lt;/a&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;a href=\"/projects/markdown/license\" title=\"Pricing and License Information\"&gt;License&lt;/a&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;a href=\"/projects/markdown/dingus\" title=\"Online Markdown Web Form\"&gt;Dingus&lt;/a&gt;&lt;/li&gt;\n&lt;/ul&gt;\n\n\nGetting the Gist of Markdown's Formatting Syntax\n------------------------------------------------\n\nThis page offers a brief overview of what it's like to use Markdown.\nThe [syntax page] [s] provides complete, detailed documentation for\nevery feature, but Markdown should be very easy to pick up simply by\nlooking at a few examples of it in action. The examples on this page\nare written in a before/after style, showing example syntax and the\nHTML output produced by Markdown.\n\nIt's also helpful to simply try Markdown out; the [Dingus] [d] is a\nweb application that allows you type your own Markdown-formatted text\nand translate it to XHTML.\n\n**Note:** This document is itself written using Markdown; you\ncan [see the source for it by adding '.text' to the URL] [src].\n\n  [s]: /projects/markdown/syntax  \"Markdown Syntax\"\n  [d]: /projects/markdown/dingus  \"Markdown Dingus\"\n  [src]: /projects/markdown/basics.text\n\n\n## Paragraphs, Headers, Blockquotes ##\n\nA paragraph is simply one or more consecutive lines of text, separated\nby one or more blank lines. (A blank line is any line that looks like\na blank line -- a line containing nothing but spaces or tabs is\nconsidered blank.) Normal paragraphs should not be indented with\nspaces or tabs.\n\nMarkdown offers two styles of headers: *Setext* and *atx*.\nSetext-style headers for `&lt;h1&gt;` and `&lt;h2&gt;` are created by\n\"underlining\" with equal signs (`=`) and hyphens (`-`), respectively.\nTo create an atx-style header, you put 1-6 hash marks (`#`) at the\nbeginning of the line -- the number of hashes equals the resulting\nHTML header level.\n\nBlockquotes are indicated using email-style '`&gt;`' angle brackets.\n\nMarkdown:\n\n    A First Level Header\n    ====================\n    \n    A Second Level Header\n    ---------------------\n\n    Now is the time for all good men to come to\n    the aid of their country. This is just a\n    regular paragraph.\n\n    The quick brown fox jumped over the lazy\n    dog's back.\n    \n    ### Header 3\n\n    &gt; This is a blockquote.\n    &gt; \n    &gt; This is the second paragraph in the blockquote.\n    &gt;\n    &gt; ## This is an H2 in a blockquote\n\n\nOutput:\n\n    &lt;h1&gt;A First Level Header&lt;/h1&gt;\n    \n    &lt;h2&gt;A Second Level Header&lt;/h2&gt;\n    \n    &lt;p&gt;Now is the time for all good men to come to\n    the aid of their country. This is just a\n    regular paragraph.&lt;/p&gt;\n    \n    &lt;p&gt;The quick brown fox jumped over the lazy\n    dog's back.&lt;/p&gt;\n    \n    &lt;h3&gt;Header 3&lt;/h3&gt;\n    \n    &lt;blockquote&gt;\n        &lt;p&gt;This is a blockquote.&lt;/p&gt;\n        \n        &lt;p&gt;This is the second paragraph in the blockquote.&lt;/p&gt;\n        \n        &lt;h2&gt;This is an H2 in a blockquote&lt;/h2&gt;\n    &lt;/blockquote&gt;\n\n\n\n### Phrase Emphasis ###\n\nMarkdown uses asterisks and underscores to indicate spans of emphasis.\n\nMarkdown:\n\n    Some of these words *are emphasized*.\n    Some of these words _are emphasized also_.\n    \n    Use two asterisks for **strong emphasis**.\n    Or, if you prefer, __use two underscores instead__.\n\nOutput:\n\n    &lt;p&gt;Some of these words &lt;em&gt;are emphasized&lt;/em&gt;.\n    Some of these words &lt;em&gt;are emphasized also&lt;/em&gt;.&lt;/p&gt;\n    \n    &lt;p&gt;Use two asterisks for &lt;strong&gt;strong emphasis&lt;/strong&gt;.\n    Or, if you prefer, &lt;strong&gt;use two underscores instead&lt;/strong&gt;.&lt;/p&gt;\n   \n\n\n## Lists ##\n\nUnordered (bulleted) lists use asterisks, pluses, and hyphens (`*`,\n`+`, and `-`) as list markers. These three markers are\ninterchangable; this:\n\n    *   Candy.\n    *   Gum.\n    *   Booze.\n\nthis:\n\n    +   Candy.\n    +   Gum.\n    +   Booze.\n\nand this:\n\n    -   Candy.\n    -   Gum.\n    -   Booze.\n\nall produce the same output:\n\n    &lt;ul&gt;\n    &lt;li&gt;Candy.&lt;/li&gt;\n    &lt;li&gt;Gum.&lt;/li&gt;\n    &lt;li&gt;Booze.&lt;/li&gt;\n    &lt;/ul&gt;\n\nOrdered (numbered) lists use regular numbers, followed by periods, as\nlist markers:\n\n    1.  Red\n    2.  Green\n    3.  Blue\n\nOutput:\n\n    &lt;ol&gt;\n    &lt;li&gt;Red&lt;/li&gt;\n    &lt;li&gt;Green&lt;/li&gt;\n    &lt;li&gt;Blue&lt;/li&gt;\n    &lt;/ol&gt;\n\nIf you put blank lines between items, you'll get `&lt;p&gt;` tags for the\nlist item text. You can create multi-paragraph list items by indenting\nthe paragraphs by 4 spaces or 1 tab:\n\n    *   A list item.\n    \n        With multiple paragraphs.\n\n    *   Another item in the list.\n\nOutput:\n\n    &lt;ul&gt;\n    &lt;li&gt;&lt;p&gt;A list item.&lt;/p&gt;\n    &lt;p&gt;With multiple paragraphs.&lt;/p&gt;&lt;/li&gt;\n    &lt;li&gt;&lt;p&gt;Another item in the list.&lt;/p&gt;&lt;/li&gt;\n    &lt;/ul&gt;\n    \n\n\n### Links ###\n\nMarkdown supports two styles for creating links: *inline* and\n*reference*. With both styles, you use square brackets to delimit the\ntext you want to turn into a link.\n\nInline-style links use parentheses immediately after the link text.\nFor example:\n\n    This is an [example link](http://example.com/).\n\nOutput:\n\n    &lt;p&gt;This is an &lt;a href=\"http://example.com/\"&gt;\n    example link&lt;/a&gt;.&lt;/p&gt;\n\nOptionally, you may include a title attribute in the parentheses:\n\n    This is an [example link](http://example.com/ \"With a Title\").\n\nOutput:\n\n    &lt;p&gt;This is an &lt;a href=\"http://example.com/\" title=\"With a Title\"&gt;\n    example link&lt;/a&gt;.&lt;/p&gt;\n\nReference-style links allow you to refer to your links by names, which\nyou define elsewhere in your document:\n\n    I get 10 times more traffic from [Google][1] than from\n    [Yahoo][2] or [MSN][3].\n\n    [1]: http://google.com/        \"Google\"\n    [2]: http://search.yahoo.com/  \"Yahoo Search\"\n    [3]: http://search.msn.com/    \"MSN Search\"\n\nOutput:\n\n    &lt;p&gt;I get 10 times more traffic from &lt;a href=\"http://google.com/\"\n    title=\"Google\"&gt;Google&lt;/a&gt; than from &lt;a href=\"http://search.yahoo.com/\"\n    title=\"Yahoo Search\"&gt;Yahoo&lt;/a&gt; or &lt;a href=\"http://search.msn.com/\"\n    title=\"MSN Search\"&gt;MSN&lt;/a&gt;.&lt;/p&gt;\n\nThe title attribute is optional. Link names may contain letters,\nnumbers and spaces, but are *not* case sensitive:\n\n    I start my morning with a cup of coffee and\n    [The New York Times][NY Times].\n\n    [ny times]: http://www.nytimes.com/\n\nOutput:\n\n    &lt;p&gt;I start my morning with a cup of coffee and\n    &lt;a href=\"http://www.nytimes.com/\"&gt;The New York Times&lt;/a&gt;.&lt;/p&gt;\n\n\n### Images ###\n\nImage syntax is very much like link syntax.\n\nInline (titles are optional):\n\n    ![alt text](/path/to/img.jpg \"Title\")\n\nReference-style:\n\n    ![alt text][id]\n\n    [id]: /path/to/img.jpg \"Title\"\n\nBoth of the above examples produce the same output:\n\n    &lt;img src=\"/path/to/img.jpg\" alt=\"alt text\" title=\"Title\" /&gt;\n\n\n\n### Code ###\n\nIn a regular paragraph, you can create code span by wrapping text in\nbacktick quotes. Any ampersands (`&amp;`) and angle brackets (`&lt;` or\n`&gt;`) will automatically be translated into HTML entities. This makes\nit easy to use Markdown to write about HTML example code:\n\n    I strongly recommend against using any `&lt;blink&gt;` tags.\n\n    I wish SmartyPants used named entities like `&amp;mdash;`\n    instead of decimal-encoded entites like `&amp;#8212;`.\n\nOutput:\n\n    &lt;p&gt;I strongly recommend against using any\n    &lt;code&gt;&amp;lt;blink&amp;gt;&lt;/code&gt; tags.&lt;/p&gt;\n    \n    &lt;p&gt;I wish SmartyPants used named entities like\n    &lt;code&gt;&amp;amp;mdash;&lt;/code&gt; instead of decimal-encoded\n    entites like &lt;code&gt;&amp;amp;#8212;&lt;/code&gt;.&lt;/p&gt;\n\n\nTo specify an entire block of pre-formatted code, indent every line of\nthe block by 4 spaces or 1 tab. Just like with code spans, `&amp;`, `&lt;`,\nand `&gt;` characters will be escaped automatically.\n\nMarkdown:\n\n    If you want your page to validate under XHTML 1.0 Strict,\n    you've got to put paragraph tags in your blockquotes:\n\n        &lt;blockquote&gt;\n            &lt;p&gt;For example.&lt;/p&gt;\n        &lt;/blockquote&gt;\n\nOutput:\n\n    &lt;p&gt;If you want your page to validate under XHTML 1.0 Strict,\n    you've got to put paragraph tags in your blockquotes:&lt;/p&gt;\n    \n    &lt;pre&gt;&lt;code&gt;&amp;lt;blockquote&amp;gt;\n        &amp;lt;p&amp;gt;For example.&amp;lt;/p&amp;gt;\n    &amp;lt;/blockquote&amp;gt;\n    &lt;/code&gt;&lt;/pre&gt;\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'markdown',\n        lineNumbers: true,\n        theme: \"default\",\n        extraKeys: {\"Enter\": \"newlineAndIndentContinueMarkdownList\"}\n      });\n    </script>\n\n    <p>Optionally depends on the XML mode for properly highlighted inline XML blocks.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-markdown</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#markdown_*\">normal</a>,  <a href=\"../../test/index.html#verbose,markdown_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/markdown/markdown.js",
    "content": "CodeMirror.defineMode(\"markdown\", function(cmCfg, modeCfg) {\n\n  var htmlFound = CodeMirror.modes.hasOwnProperty(\"xml\");\n  var htmlMode = CodeMirror.getMode(cmCfg, htmlFound ? {name: \"xml\", htmlMode: true} : \"text/plain\");\n  var aliases = {\n    html: \"htmlmixed\",\n    js: \"javascript\",\n    json: \"application/json\",\n    c: \"text/x-csrc\",\n    \"c++\": \"text/x-c++src\",\n    java: \"text/x-java\",\n    csharp: \"text/x-csharp\",\n    \"c#\": \"text/x-csharp\",\n    scala: \"text/x-scala\"\n  };\n\n  var getMode = (function () {\n    var i, modes = {}, mimes = {}, mime;\n\n    var list = [];\n    for (var m in CodeMirror.modes)\n      if (CodeMirror.modes.propertyIsEnumerable(m)) list.push(m);\n    for (i = 0; i < list.length; i++) {\n      modes[list[i]] = list[i];\n    }\n    var mimesList = [];\n    for (var m in CodeMirror.mimeModes)\n      if (CodeMirror.mimeModes.propertyIsEnumerable(m))\n        mimesList.push({mime: m, mode: CodeMirror.mimeModes[m]});\n    for (i = 0; i < mimesList.length; i++) {\n      mime = mimesList[i].mime;\n      mimes[mime] = mimesList[i].mime;\n    }\n\n    for (var a in aliases) {\n      if (aliases[a] in modes || aliases[a] in mimes)\n        modes[a] = aliases[a];\n    }\n\n    return function (lang) {\n      return modes[lang] ? CodeMirror.getMode(cmCfg, modes[lang]) : null;\n    };\n  }());\n\n  // Should underscores in words open/close em/strong?\n  if (modeCfg.underscoresBreakWords === undefined)\n    modeCfg.underscoresBreakWords = true;\n\n  // Turn on fenced code blocks? (\"```\" to start/end)\n  if (modeCfg.fencedCodeBlocks === undefined) modeCfg.fencedCodeBlocks = false;\n\n  // Turn on task lists? (\"- [ ] \" and \"- [x] \")\n  if (modeCfg.taskLists === undefined) modeCfg.taskLists = false;\n\n  var codeDepth = 0;\n\n  var header   = 'header'\n  ,   code     = 'comment'\n  ,   quote1   = 'atom'\n  ,   quote2   = 'number'\n  ,   list1    = 'variable-2'\n  ,   list2    = 'variable-3'\n  ,   list3    = 'keyword'\n  ,   hr       = 'hr'\n  ,   image    = 'tag'\n  ,   linkinline = 'link'\n  ,   linkemail = 'link'\n  ,   linktext = 'link'\n  ,   linkhref = 'string'\n  ,   em       = 'em'\n  ,   strong   = 'strong';\n\n  var hrRE = /^([*\\-=_])(?:\\s*\\1){2,}\\s*$/\n  ,   ulRE = /^[*\\-+]\\s+/\n  ,   olRE = /^[0-9]+\\.\\s+/\n  ,   taskListRE = /^\\[(x| )\\](?=\\s)/ // Must follow ulRE or olRE\n  ,   atxHeaderRE = /^#+/\n  ,   setextHeaderRE = /^(?:\\={1,}|-{1,})$/\n  ,   textRE = /^[^!\\[\\]*_\\\\<>` \"'(]+/;\n\n  function switchInline(stream, state, f) {\n    state.f = state.inline = f;\n    return f(stream, state);\n  }\n\n  function switchBlock(stream, state, f) {\n    state.f = state.block = f;\n    return f(stream, state);\n  }\n\n\n  // Blocks\n\n  function blankLine(state) {\n    // Reset linkTitle state\n    state.linkTitle = false;\n    // Reset EM state\n    state.em = false;\n    // Reset STRONG state\n    state.strong = false;\n    // Reset state.quote\n    state.quote = 0;\n    if (!htmlFound && state.f == htmlBlock) {\n      state.f = inlineNormal;\n      state.block = blockNormal;\n    }\n    // Reset state.trailingSpace\n    state.trailingSpace = 0;\n    state.trailingSpaceNewLine = false;\n    // Mark this line as blank\n    state.thisLineHasContent = false;\n    return null;\n  }\n\n  function blockNormal(stream, state) {\n\n    var prevLineIsList = (state.list !== false);\n    if (state.list !== false && state.indentationDiff >= 0) { // Continued list\n      if (state.indentationDiff < 4) { // Only adjust indentation if *not* a code block\n        state.indentation -= state.indentationDiff;\n      }\n      state.list = null;\n    } else if (state.list !== false && state.indentation > 0) {\n      state.list = null;\n      state.listDepth = Math.floor(state.indentation / 4);\n    } else if (state.list !== false) { // No longer a list\n      state.list = false;\n      state.listDepth = 0;\n    }\n\n    var match = null;\n    if (state.indentationDiff >= 4) {\n      state.indentation -= 4;\n      stream.skipToEnd();\n      return code;\n    } else if (stream.eatSpace()) {\n      return null;\n    } else if (match = stream.match(atxHeaderRE)) {\n      state.header = match[0].length <= 6 ? match[0].length : 6;\n    } else if (state.prevLineHasContent && (match = stream.match(setextHeaderRE))) {\n      state.header = match[0].charAt(0) == '=' ? 1 : 2;\n    } else if (stream.eat('>')) {\n      state.indentation++;\n      state.quote = 1;\n      stream.eatSpace();\n      while (stream.eat('>')) {\n        stream.eatSpace();\n        state.quote++;\n      }\n    } else if (stream.peek() === '[') {\n      return switchInline(stream, state, footnoteLink);\n    } else if (stream.match(hrRE, true)) {\n      return hr;\n    } else if ((!state.prevLineHasContent || prevLineIsList) && (stream.match(ulRE, true) || stream.match(olRE, true))) {\n      state.indentation += 4;\n      state.list = true;\n      state.listDepth++;\n      if (modeCfg.taskLists && stream.match(taskListRE, false)) {\n        state.taskList = true;\n      }\n    } else if (modeCfg.fencedCodeBlocks && stream.match(/^```([\\w+#]*)/, true)) {\n      // try switching mode\n      state.localMode = getMode(RegExp.$1);\n      if (state.localMode) state.localState = state.localMode.startState();\n      switchBlock(stream, state, local);\n      return code;\n    }\n\n    return switchInline(stream, state, state.inline);\n  }\n\n  function htmlBlock(stream, state) {\n    var style = htmlMode.token(stream, state.htmlState);\n    if (htmlFound && style === 'tag' && state.htmlState.type !== 'openTag' && !state.htmlState.context) {\n      state.f = inlineNormal;\n      state.block = blockNormal;\n    }\n    if (state.md_inside && stream.current().indexOf(\">\")!=-1) {\n      state.f = inlineNormal;\n      state.block = blockNormal;\n      state.htmlState.context = undefined;\n    }\n    return style;\n  }\n\n  function local(stream, state) {\n    if (stream.sol() && stream.match(/^```/, true)) {\n      state.localMode = state.localState = null;\n      state.f = inlineNormal;\n      state.block = blockNormal;\n      return code;\n    } else if (state.localMode) {\n      return state.localMode.token(stream, state.localState);\n    } else {\n      stream.skipToEnd();\n      return code;\n    }\n  }\n\n  // Inline\n  function getType(state) {\n    var styles = [];\n\n    if (state.taskOpen) { return \"meta\"; }\n    if (state.taskClosed) { return \"property\"; }\n\n    if (state.strong) { styles.push(strong); }\n    if (state.em) { styles.push(em); }\n\n    if (state.linkText) { styles.push(linktext); }\n\n    if (state.code) { styles.push(code); }\n\n    if (state.header) { styles.push(header); styles.push(header + state.header); }\n    if (state.quote) { styles.push(state.quote % 2 ? quote1 : quote2); }\n    if (state.list !== false) {\n      var listMod = (state.listDepth - 1) % 3;\n      if (!listMod) {\n        styles.push(list1);\n      } else if (listMod === 1) {\n        styles.push(list2);\n      } else {\n        styles.push(list3);\n      }\n    }\n\n    if (state.trailingSpaceNewLine) {\n      styles.push(\"trailing-space-new-line\");\n    } else if (state.trailingSpace) {\n      styles.push(\"trailing-space-\" + (state.trailingSpace % 2 ? \"a\" : \"b\"));\n    }\n\n    return styles.length ? styles.join(' ') : null;\n  }\n\n  function handleText(stream, state) {\n    if (stream.match(textRE, true)) {\n      return getType(state);\n    }\n    return undefined;\n  }\n\n  function inlineNormal(stream, state) {\n    var style = state.text(stream, state);\n    if (typeof style !== 'undefined')\n      return style;\n\n    if (state.list) { // List marker (*, +, -, 1., etc)\n      state.list = null;\n      return getType(state);\n    }\n\n    if (state.taskList) {\n      var taskOpen = stream.match(taskListRE, true)[1] !== \"x\";\n      if (taskOpen) state.taskOpen = true;\n      else state.taskClosed = true;\n      state.taskList = false;\n      return getType(state);\n    }\n\n    state.taskOpen = false;\n    state.taskClosed = false;\n\n    // Get sol() value now, before character is consumed\n    var sol = stream.sol();\n\n    var ch = stream.next();\n\n    if (ch === '\\\\') {\n      stream.next();\n      return getType(state);\n    }\n\n    // Matches link titles present on next line\n    if (state.linkTitle) {\n      state.linkTitle = false;\n      var matchCh = ch;\n      if (ch === '(') {\n        matchCh = ')';\n      }\n      matchCh = (matchCh+'').replace(/([.?*+^$[\\]\\\\(){}|-])/g, \"\\\\$1\");\n      var regex = '^\\\\s*(?:[^' + matchCh + '\\\\\\\\]+|\\\\\\\\\\\\\\\\|\\\\\\\\.)' + matchCh;\n      if (stream.match(new RegExp(regex), true)) {\n        return linkhref;\n      }\n    }\n\n    // If this block is changed, it may need to be updated in GFM mode\n    if (ch === '`') {\n      var t = getType(state);\n      var before = stream.pos;\n      stream.eatWhile('`');\n      var difference = 1 + stream.pos - before;\n      if (!state.code) {\n        codeDepth = difference;\n        state.code = true;\n        return getType(state);\n      } else {\n        if (difference === codeDepth) { // Must be exact\n          state.code = false;\n          return t;\n        }\n        return getType(state);\n      }\n    } else if (state.code) {\n      return getType(state);\n    }\n\n    if (ch === '!' && stream.match(/\\[[^\\]]*\\] ?(?:\\(|\\[)/, false)) {\n      stream.match(/\\[[^\\]]*\\]/);\n      state.inline = state.f = linkHref;\n      return image;\n    }\n\n    if (ch === '[' && stream.match(/.*\\](\\(| ?\\[)/, false)) {\n      state.linkText = true;\n      return getType(state);\n    }\n\n    if (ch === ']' && state.linkText) {\n      var type = getType(state);\n      state.linkText = false;\n      state.inline = state.f = linkHref;\n      return type;\n    }\n\n    if (ch === '<' && stream.match(/^(https?|ftps?):\\/\\/(?:[^\\\\>]|\\\\.)+>/, false)) {\n      return switchInline(stream, state, inlineElement(linkinline, '>'));\n    }\n\n    if (ch === '<' && stream.match(/^[^> \\\\]+@(?:[^\\\\>]|\\\\.)+>/, false)) {\n      return switchInline(stream, state, inlineElement(linkemail, '>'));\n    }\n\n    if (ch === '<' && stream.match(/^\\w/, false)) {\n      if (stream.string.indexOf(\">\")!=-1) {\n        var atts = stream.string.substring(1,stream.string.indexOf(\">\"));\n        if (/markdown\\s*=\\s*('|\"){0,1}1('|\"){0,1}/.test(atts)) {\n          state.md_inside = true;\n        }\n      }\n      stream.backUp(1);\n      return switchBlock(stream, state, htmlBlock);\n    }\n\n    if (ch === '<' && stream.match(/^\\/\\w*?>/)) {\n      state.md_inside = false;\n      return \"tag\";\n    }\n\n    var ignoreUnderscore = false;\n    if (!modeCfg.underscoresBreakWords) {\n      if (ch === '_' && stream.peek() !== '_' && stream.match(/(\\w)/, false)) {\n        var prevPos = stream.pos - 2;\n        if (prevPos >= 0) {\n          var prevCh = stream.string.charAt(prevPos);\n          if (prevCh !== '_' && prevCh.match(/(\\w)/, false)) {\n            ignoreUnderscore = true;\n          }\n        }\n      }\n    }\n    var t = getType(state);\n    if (ch === '*' || (ch === '_' && !ignoreUnderscore)) {\n      if (sol && stream.peek() === ' ') {\n        // Do nothing, surrounded by newline and space\n      } else if (state.strong === ch && stream.eat(ch)) { // Remove STRONG\n        state.strong = false;\n        return t;\n      } else if (!state.strong && stream.eat(ch)) { // Add STRONG\n        state.strong = ch;\n        return getType(state);\n      } else if (state.em === ch) { // Remove EM\n        state.em = false;\n        return t;\n      } else if (!state.em) { // Add EM\n        state.em = ch;\n        return getType(state);\n      }\n    } else if (ch === ' ') {\n      if (stream.eat('*') || stream.eat('_')) { // Probably surrounded by spaces\n        if (stream.peek() === ' ') { // Surrounded by spaces, ignore\n          return getType(state);\n        } else { // Not surrounded by spaces, back up pointer\n          stream.backUp(1);\n        }\n      }\n    }\n\n    if (ch === ' ') {\n      if (stream.match(/ +$/, false)) {\n        state.trailingSpace++;\n      } else if (state.trailingSpace) {\n        state.trailingSpaceNewLine = true;\n      }\n    }\n\n    return getType(state);\n  }\n\n  function linkHref(stream, state) {\n    // Check if space, and return NULL if so (to avoid marking the space)\n    if(stream.eatSpace()){\n      return null;\n    }\n    var ch = stream.next();\n    if (ch === '(' || ch === '[') {\n      return switchInline(stream, state, inlineElement(linkhref, ch === '(' ? ')' : ']'));\n    }\n    return 'error';\n  }\n\n  function footnoteLink(stream, state) {\n    if (stream.match(/^[^\\]]*\\]:/, true)) {\n      state.f = footnoteUrl;\n      return linktext;\n    }\n    return switchInline(stream, state, inlineNormal);\n  }\n\n  function footnoteUrl(stream, state) {\n    // Check if space, and return NULL if so (to avoid marking the space)\n    if(stream.eatSpace()){\n      return null;\n    }\n    // Match URL\n    stream.match(/^[^\\s]+/, true);\n    // Check for link title\n    if (stream.peek() === undefined) { // End of line, set flag to check next line\n      state.linkTitle = true;\n    } else { // More content on line, check if link title\n      stream.match(/^(?:\\s+(?:\"(?:[^\"\\\\]|\\\\\\\\|\\\\.)+\"|'(?:[^'\\\\]|\\\\\\\\|\\\\.)+'|\\((?:[^)\\\\]|\\\\\\\\|\\\\.)+\\)))?/, true);\n    }\n    state.f = state.inline = inlineNormal;\n    return linkhref;\n  }\n\n  var savedInlineRE = [];\n  function inlineRE(endChar) {\n    if (!savedInlineRE[endChar]) {\n      // Escape endChar for RegExp (taken from http://stackoverflow.com/a/494122/526741)\n      endChar = (endChar+'').replace(/([.?*+^$[\\]\\\\(){}|-])/g, \"\\\\$1\");\n      // Match any non-endChar, escaped character, as well as the closing\n      // endChar.\n      savedInlineRE[endChar] = new RegExp('^(?:[^\\\\\\\\]|\\\\\\\\.)*?(' + endChar + ')');\n    }\n    return savedInlineRE[endChar];\n  }\n\n  function inlineElement(type, endChar, next) {\n    next = next || inlineNormal;\n    return function(stream, state) {\n      stream.match(inlineRE(endChar));\n      state.inline = state.f = next;\n      return type;\n    };\n  }\n\n  return {\n    startState: function() {\n      return {\n        f: blockNormal,\n\n        prevLineHasContent: false,\n        thisLineHasContent: false,\n\n        block: blockNormal,\n        htmlState: CodeMirror.startState(htmlMode),\n        indentation: 0,\n\n        inline: inlineNormal,\n        text: handleText,\n\n        linkText: false,\n        linkTitle: false,\n        em: false,\n        strong: false,\n        header: 0,\n        taskList: false,\n        list: false,\n        listDepth: 0,\n        quote: 0,\n        trailingSpace: 0,\n        trailingSpaceNewLine: false\n      };\n    },\n\n    copyState: function(s) {\n      return {\n        f: s.f,\n\n        prevLineHasContent: s.prevLineHasContent,\n        thisLineHasContent: s.thisLineHasContent,\n\n        block: s.block,\n        htmlState: CodeMirror.copyState(htmlMode, s.htmlState),\n        indentation: s.indentation,\n\n        localMode: s.localMode,\n        localState: s.localMode ? CodeMirror.copyState(s.localMode, s.localState) : null,\n\n        inline: s.inline,\n        text: s.text,\n        linkTitle: s.linkTitle,\n        em: s.em,\n        strong: s.strong,\n        header: s.header,\n        taskList: s.taskList,\n        list: s.list,\n        listDepth: s.listDepth,\n        quote: s.quote,\n        trailingSpace: s.trailingSpace,\n        trailingSpaceNewLine: s.trailingSpaceNewLine,\n        md_inside: s.md_inside\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (stream.match(/^\\s*$/, true)) {\n          state.prevLineHasContent = false;\n          return blankLine(state);\n        } else {\n          state.prevLineHasContent = state.thisLineHasContent;\n          state.thisLineHasContent = true;\n        }\n\n        // Reset state.header\n        state.header = 0;\n\n        // Reset state.taskList\n        state.taskList = false;\n\n        // Reset state.code\n        state.code = false;\n\n        // Reset state.trailingSpace\n        state.trailingSpace = 0;\n        state.trailingSpaceNewLine = false;\n\n        state.f = state.block;\n        var indentation = stream.match(/^\\s*/, true)[0].replace(/\\t/g, '    ').length;\n        var difference = Math.floor((indentation - state.indentation) / 4) * 4;\n        if (difference > 4) difference = 4;\n        var adjustedIndentation = state.indentation + difference;\n        state.indentationDiff = adjustedIndentation - state.indentation;\n        state.indentation = adjustedIndentation;\n        if (indentation > 0) return null;\n      }\n      return state.f(stream, state);\n    },\n\n    blankLine: blankLine,\n\n    getType: getType\n  };\n\n}, \"xml\");\n\nCodeMirror.defineMIME(\"text/x-markdown\", \"markdown\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/markdown/test.js",
    "content": "(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"markdown\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"plainText\",\n     \"foo\");\n\n  // Don't style single trailing space\n  MT(\"trailingSpace1\",\n     \"foo \");\n\n  // Two or more trailing spaces should be styled with line break character\n  MT(\"trailingSpace2\",\n     \"foo[trailing-space-a  ][trailing-space-new-line  ]\");\n\n  MT(\"trailingSpace3\",\n     \"foo[trailing-space-a  ][trailing-space-b  ][trailing-space-new-line  ]\");\n\n  MT(\"trailingSpace4\",\n     \"foo[trailing-space-a  ][trailing-space-b  ][trailing-space-a  ][trailing-space-new-line  ]\");\n\n  // Code blocks using 4 spaces (regardless of CodeMirror.tabSize value)\n  MT(\"codeBlocksUsing4Spaces\",\n     \"    [comment foo]\");\n\n  // Code blocks using 4 spaces with internal indentation\n  MT(\"codeBlocksUsing4SpacesIndentation\",\n     \"    [comment bar]\",\n     \"        [comment hello]\",\n     \"            [comment world]\",\n     \"    [comment foo]\",\n     \"bar\");\n\n  // Code blocks using 4 spaces with internal indentation\n  MT(\"codeBlocksUsing4SpacesIndentation\",\n     \" foo\",\n     \"    [comment bar]\",\n     \"        [comment hello]\",\n     \"    [comment world]\");\n\n  // Code blocks using 1 tab (regardless of CodeMirror.indentWithTabs value)\n  MT(\"codeBlocksUsing1Tab\",\n     \"\\t[comment foo]\");\n\n  // Inline code using backticks\n  MT(\"inlineCodeUsingBackticks\",\n     \"foo [comment `bar`]\");\n\n  // Block code using single backtick (shouldn't work)\n  MT(\"blockCodeSingleBacktick\",\n     \"[comment `]\",\n     \"foo\",\n     \"[comment `]\");\n\n  // Unclosed backticks\n  // Instead of simply marking as CODE, it would be nice to have an\n  // incomplete flag for CODE, that is styled slightly different.\n  MT(\"unclosedBackticks\",\n     \"foo [comment `bar]\");\n\n  // Per documentation: \"To include a literal backtick character within a\n  // code span, you can use multiple backticks as the opening and closing\n  // delimiters\"\n  MT(\"doubleBackticks\",\n     \"[comment ``foo ` bar``]\");\n\n  // Tests based on Dingus\n  // http://daringfireball.net/projects/markdown/dingus\n  //\n  // Multiple backticks within an inline code block\n  MT(\"consecutiveBackticks\",\n     \"[comment `foo```bar`]\");\n\n  // Multiple backticks within an inline code block with a second code block\n  MT(\"consecutiveBackticks\",\n     \"[comment `foo```bar`] hello [comment `world`]\");\n\n  // Unclosed with several different groups of backticks\n  MT(\"unclosedBackticks\",\n     \"[comment ``foo ``` bar` hello]\");\n\n  // Closed with several different groups of backticks\n  MT(\"closedBackticks\",\n     \"[comment ``foo ``` bar` hello``] world\");\n\n  // atx headers\n  // http://daringfireball.net/projects/markdown/syntax#header\n\n  MT(\"atxH1\",\n     \"[header&header1 # foo]\");\n\n  MT(\"atxH2\",\n     \"[header&header2 ## foo]\");\n\n  MT(\"atxH3\",\n     \"[header&header3 ### foo]\");\n\n  MT(\"atxH4\",\n     \"[header&header4 #### foo]\");\n\n  MT(\"atxH5\",\n     \"[header&header5 ##### foo]\");\n\n  MT(\"atxH6\",\n     \"[header&header6 ###### foo]\");\n\n  // H6 - 7x '#' should still be H6, per Dingus\n  // http://daringfireball.net/projects/markdown/dingus\n  MT(\"atxH6NotH7\",\n     \"[header&header6 ####### foo]\");\n\n  // Inline styles should be parsed inside headers\n  MT(\"atxH1inline\",\n     \"[header&header1 # foo ][header&header1&em *bar*]\");\n\n  // Setext headers - H1, H2\n  // Per documentation, \"Any number of underlining =’s or -’s will work.\"\n  // http://daringfireball.net/projects/markdown/syntax#header\n  // Ideally, the text would be marked as `header` as well, but this is\n  // not really feasible at the moment. So, instead, we're testing against\n  // what works today, to avoid any regressions.\n  //\n  // Check if single underlining = works\n  MT(\"setextH1\",\n     \"foo\",\n     \"[header&header1 =]\");\n\n  // Check if 3+ ='s work\n  MT(\"setextH1\",\n     \"foo\",\n     \"[header&header1 ===]\");\n\n  // Check if single underlining - works\n  MT(\"setextH2\",\n     \"foo\",\n     \"[header&header2 -]\");\n\n  // Check if 3+ -'s work\n  MT(\"setextH2\",\n     \"foo\",\n     \"[header&header2 ---]\");\n\n  // Single-line blockquote with trailing space\n  MT(\"blockquoteSpace\",\n     \"[atom > foo]\");\n\n  // Single-line blockquote\n  MT(\"blockquoteNoSpace\",\n     \"[atom >foo]\");\n\n  // No blank line before blockquote\n  MT(\"blockquoteNoBlankLine\",\n     \"foo\",\n     \"[atom > bar]\");\n\n  // Nested blockquote\n  MT(\"blockquoteSpace\",\n     \"[atom > foo]\",\n     \"[number > > foo]\",\n     \"[atom > > > foo]\");\n\n  // Single-line blockquote followed by normal paragraph\n  MT(\"blockquoteThenParagraph\",\n     \"[atom >foo]\",\n     \"\",\n     \"bar\");\n\n  // Multi-line blockquote (lazy mode)\n  MT(\"multiBlockquoteLazy\",\n     \"[atom >foo]\",\n     \"[atom bar]\");\n\n  // Multi-line blockquote followed by normal paragraph (lazy mode)\n  MT(\"multiBlockquoteLazyThenParagraph\",\n     \"[atom >foo]\",\n     \"[atom bar]\",\n     \"\",\n     \"hello\");\n\n  // Multi-line blockquote (non-lazy mode)\n  MT(\"multiBlockquote\",\n     \"[atom >foo]\",\n     \"[atom >bar]\");\n\n  // Multi-line blockquote followed by normal paragraph (non-lazy mode)\n  MT(\"multiBlockquoteThenParagraph\",\n     \"[atom >foo]\",\n     \"[atom >bar]\",\n     \"\",\n     \"hello\");\n\n  // Check list types\n\n  MT(\"listAsterisk\",\n     \"foo\",\n     \"bar\",\n     \"\",\n     \"[variable-2 * foo]\",\n     \"[variable-2 * bar]\");\n\n  MT(\"listPlus\",\n     \"foo\",\n     \"bar\",\n     \"\",\n     \"[variable-2 + foo]\",\n     \"[variable-2 + bar]\");\n\n  MT(\"listDash\",\n     \"foo\",\n     \"bar\",\n     \"\",\n     \"[variable-2 - foo]\",\n     \"[variable-2 - bar]\");\n\n  MT(\"listNumber\",\n     \"foo\",\n     \"bar\",\n     \"\",\n     \"[variable-2 1. foo]\",\n     \"[variable-2 2. bar]\");\n\n  // Lists require a preceding blank line (per Dingus)\n  MT(\"listBogus\",\n     \"foo\",\n     \"1. bar\",\n     \"2. hello\");\n\n  // Formatting in lists (*)\n  MT(\"listAsteriskFormatting\",\n     \"[variable-2 * ][variable-2&em *foo*][variable-2  bar]\",\n     \"[variable-2 * ][variable-2&strong **foo**][variable-2  bar]\",\n     \"[variable-2 * ][variable-2&strong **][variable-2&em&strong *foo**][variable-2&em *][variable-2  bar]\",\n     \"[variable-2 * ][variable-2&comment `foo`][variable-2  bar]\");\n\n  // Formatting in lists (+)\n  MT(\"listPlusFormatting\",\n     \"[variable-2 + ][variable-2&em *foo*][variable-2  bar]\",\n     \"[variable-2 + ][variable-2&strong **foo**][variable-2  bar]\",\n     \"[variable-2 + ][variable-2&strong **][variable-2&em&strong *foo**][variable-2&em *][variable-2  bar]\",\n     \"[variable-2 + ][variable-2&comment `foo`][variable-2  bar]\");\n\n  // Formatting in lists (-)\n  MT(\"listDashFormatting\",\n     \"[variable-2 - ][variable-2&em *foo*][variable-2  bar]\",\n     \"[variable-2 - ][variable-2&strong **foo**][variable-2  bar]\",\n     \"[variable-2 - ][variable-2&strong **][variable-2&em&strong *foo**][variable-2&em *][variable-2  bar]\",\n     \"[variable-2 - ][variable-2&comment `foo`][variable-2  bar]\");\n\n  // Formatting in lists (1.)\n  MT(\"listNumberFormatting\",\n     \"[variable-2 1. ][variable-2&em *foo*][variable-2  bar]\",\n     \"[variable-2 2. ][variable-2&strong **foo**][variable-2  bar]\",\n     \"[variable-2 3. ][variable-2&strong **][variable-2&em&strong *foo**][variable-2&em *][variable-2  bar]\",\n     \"[variable-2 4. ][variable-2&comment `foo`][variable-2  bar]\");\n\n  // Paragraph lists\n  MT(\"listParagraph\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\");\n\n  // Multi-paragraph lists\n  //\n  // 4 spaces\n  MT(\"listMultiParagraph\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"    [variable-2 hello]\");\n\n  // 4 spaces, extra blank lines (should still be list, per Dingus)\n  MT(\"listMultiParagraphExtra\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"\",\n     \"    [variable-2 hello]\");\n\n  // 4 spaces, plus 1 space (should still be list, per Dingus)\n  MT(\"listMultiParagraphExtraSpace\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"     [variable-2 hello]\",\n     \"\",\n     \"    [variable-2 world]\");\n\n  // 1 tab\n  MT(\"listTab\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"\\t[variable-2 hello]\");\n\n  // No indent\n  MT(\"listNoIndent\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"hello\");\n\n  // Blockquote\n  MT(\"blockquote\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"    [variable-2&atom > hello]\");\n\n  // Code block\n  MT(\"blockquoteCode\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"[variable-2 * bar]\",\n     \"\",\n     \"        [comment > hello]\",\n     \"\",\n     \"    [variable-2 world]\");\n\n  // Code block followed by text\n  MT(\"blockquoteCodeText\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-2 bar]\",\n     \"\",\n     \"        [comment hello]\",\n     \"\",\n     \"    [variable-2 world]\");\n\n  // Nested list\n\n  MT(\"listAsteriskNested\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-3 * bar]\");\n\n  MT(\"listPlusNested\",\n     \"[variable-2 + foo]\",\n     \"\",\n     \"    [variable-3 + bar]\");\n\n  MT(\"listDashNested\",\n     \"[variable-2 - foo]\",\n     \"\",\n     \"    [variable-3 - bar]\");\n\n  MT(\"listNumberNested\",\n     \"[variable-2 1. foo]\",\n     \"\",\n     \"    [variable-3 2. bar]\");\n\n  MT(\"listMixed\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-3 + bar]\",\n     \"\",\n     \"        [keyword - hello]\",\n     \"\",\n     \"            [variable-2 1. world]\");\n\n  MT(\"listBlockquote\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-3 + bar]\",\n     \"\",\n     \"        [atom&variable-3 > hello]\");\n\n  MT(\"listCode\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"    [variable-3 + bar]\",\n     \"\",\n     \"            [comment hello]\");\n\n  // Code with internal indentation\n  MT(\"listCodeIndentation\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"        [comment bar]\",\n     \"            [comment hello]\",\n     \"                [comment world]\",\n     \"        [comment foo]\",\n     \"    [variable-2 bar]\");\n\n  // List nesting edge cases\n  MT(\"listNested\",\n    \"[variable-2 * foo]\",\n    \"\",\n    \"    [variable-3 * bar]\",\n    \"\",\n    \"       [variable-2 hello]\"\n  );\n  MT(\"listNested\",\n    \"[variable-2 * foo]\",\n    \"\",\n    \"    [variable-3 * bar]\",\n    \"\",\n    \"      [variable-3 * foo]\"\n  );\n\n  // Code followed by text\n  MT(\"listCodeText\",\n     \"[variable-2 * foo]\",\n     \"\",\n     \"        [comment bar]\",\n     \"\",\n     \"hello\");\n\n  // Following tests directly from official Markdown documentation\n  // http://daringfireball.net/projects/markdown/syntax#hr\n\n  MT(\"hrSpace\",\n     \"[hr * * *]\");\n\n  MT(\"hr\",\n     \"[hr ***]\");\n\n  MT(\"hrLong\",\n     \"[hr *****]\");\n\n  MT(\"hrSpaceDash\",\n     \"[hr - - -]\");\n\n  MT(\"hrDashLong\",\n     \"[hr ---------------------------------------]\");\n\n  // Inline link with title\n  MT(\"linkTitle\",\n     \"[link [[foo]]][string (http://example.com/ \\\"bar\\\")] hello\");\n\n  // Inline link without title\n  MT(\"linkNoTitle\",\n     \"[link [[foo]]][string (http://example.com/)] bar\");\n\n  // Inline link with image\n  MT(\"linkImage\",\n     \"[link [[][tag ![[foo]]][string (http://example.com/)][link ]]][string (http://example.com/)] bar\");\n\n  // Inline link with Em\n  MT(\"linkEm\",\n     \"[link [[][link&em *foo*][link ]]][string (http://example.com/)] bar\");\n\n  // Inline link with Strong\n  MT(\"linkStrong\",\n     \"[link [[][link&strong **foo**][link ]]][string (http://example.com/)] bar\");\n\n  // Inline link with EmStrong\n  MT(\"linkEmStrong\",\n     \"[link [[][link&strong **][link&em&strong *foo**][link&em *][link ]]][string (http://example.com/)] bar\");\n\n  // Image with title\n  MT(\"imageTitle\",\n     \"[tag ![[foo]]][string (http://example.com/ \\\"bar\\\")] hello\");\n\n  // Image without title\n  MT(\"imageNoTitle\",\n     \"[tag ![[foo]]][string (http://example.com/)] bar\");\n\n  // Image with asterisks\n  MT(\"imageAsterisks\",\n     \"[tag ![[*foo*]]][string (http://example.com/)] bar\");\n\n  // Not a link. Should be normal text due to square brackets being used\n  // regularly in text, especially in quoted material, and no space is allowed\n  // between square brackets and parentheses (per Dingus).\n  MT(\"notALink\",\n     \"[[foo]] (bar)\");\n\n  // Reference-style links\n  MT(\"linkReference\",\n     \"[link [[foo]]][string [[bar]]] hello\");\n\n  // Reference-style links with Em\n  MT(\"linkReferenceEm\",\n     \"[link [[][link&em *foo*][link ]]][string [[bar]]] hello\");\n\n  // Reference-style links with Strong\n  MT(\"linkReferenceStrong\",\n     \"[link [[][link&strong **foo**][link ]]][string [[bar]]] hello\");\n\n  // Reference-style links with EmStrong\n  MT(\"linkReferenceEmStrong\",\n     \"[link [[][link&strong **][link&em&strong *foo**][link&em *][link ]]][string [[bar]]] hello\");\n\n  // Reference-style links with optional space separator (per docuentation)\n  // \"You can optionally use a space to separate the sets of brackets\"\n  MT(\"linkReferenceSpace\",\n     \"[link [[foo]]] [string [[bar]]] hello\");\n\n  // Should only allow a single space (\"...use *a* space...\")\n  MT(\"linkReferenceDoubleSpace\",\n     \"[[foo]]  [[bar]] hello\");\n\n  // Reference-style links with implicit link name\n  MT(\"linkImplicit\",\n     \"[link [[foo]]][string [[]]] hello\");\n\n  // @todo It would be nice if, at some point, the document was actually\n  // checked to see if the referenced link exists\n\n  // Link label, for reference-style links (taken from documentation)\n\n  MT(\"labelNoTitle\",\n     \"[link [[foo]]:] [string http://example.com/]\");\n\n  MT(\"labelIndented\",\n     \"   [link [[foo]]:] [string http://example.com/]\");\n\n  MT(\"labelSpaceTitle\",\n     \"[link [[foo bar]]:] [string http://example.com/ \\\"hello\\\"]\");\n\n  MT(\"labelDoubleTitle\",\n     \"[link [[foo bar]]:] [string http://example.com/ \\\"hello\\\"] \\\"world\\\"\");\n\n  MT(\"labelTitleDoubleQuotes\",\n     \"[link [[foo]]:] [string http://example.com/  \\\"bar\\\"]\");\n\n  MT(\"labelTitleSingleQuotes\",\n     \"[link [[foo]]:] [string http://example.com/  'bar']\");\n\n  MT(\"labelTitleParenthese\",\n     \"[link [[foo]]:] [string http://example.com/  (bar)]\");\n\n  MT(\"labelTitleInvalid\",\n     \"[link [[foo]]:] [string http://example.com/] bar\");\n\n  MT(\"labelLinkAngleBrackets\",\n     \"[link [[foo]]:] [string <http://example.com/>  \\\"bar\\\"]\");\n\n  MT(\"labelTitleNextDoubleQuotes\",\n     \"[link [[foo]]:] [string http://example.com/]\",\n     \"[string \\\"bar\\\"] hello\");\n\n  MT(\"labelTitleNextSingleQuotes\",\n     \"[link [[foo]]:] [string http://example.com/]\",\n     \"[string 'bar'] hello\");\n\n  MT(\"labelTitleNextParenthese\",\n     \"[link [[foo]]:] [string http://example.com/]\",\n     \"[string (bar)] hello\");\n\n  MT(\"labelTitleNextMixed\",\n     \"[link [[foo]]:] [string http://example.com/]\",\n     \"(bar\\\" hello\");\n\n  MT(\"linkWeb\",\n     \"[link <http://example.com/>] foo\");\n\n  MT(\"linkWebDouble\",\n     \"[link <http://example.com/>] foo [link <http://example.com/>]\");\n\n  MT(\"linkEmail\",\n     \"[link <user@example.com>] foo\");\n\n  MT(\"linkEmailDouble\",\n     \"[link <user@example.com>] foo [link <user@example.com>]\");\n\n  MT(\"emAsterisk\",\n     \"[em *foo*] bar\");\n\n  MT(\"emUnderscore\",\n     \"[em _foo_] bar\");\n\n  MT(\"emInWordAsterisk\",\n     \"foo[em *bar*]hello\");\n\n  MT(\"emInWordUnderscore\",\n     \"foo[em _bar_]hello\");\n\n  // Per documentation: \"...surround an * or _ with spaces, it’ll be\n  // treated as a literal asterisk or underscore.\"\n\n  MT(\"emEscapedBySpaceIn\",\n     \"foo [em _bar _ hello_] world\");\n\n  MT(\"emEscapedBySpaceOut\",\n     \"foo _ bar[em _hello_]world\");\n\n  MT(\"emEscapedByNewline\",\n     \"foo\",\n     \"_ bar[em _hello_]world\");\n\n  // Unclosed emphasis characters\n  // Instead of simply marking as EM / STRONG, it would be nice to have an\n  // incomplete flag for EM and STRONG, that is styled slightly different.\n  MT(\"emIncompleteAsterisk\",\n     \"foo [em *bar]\");\n\n  MT(\"emIncompleteUnderscore\",\n     \"foo [em _bar]\");\n\n  MT(\"strongAsterisk\",\n     \"[strong **foo**] bar\");\n\n  MT(\"strongUnderscore\",\n     \"[strong __foo__] bar\");\n\n  MT(\"emStrongAsterisk\",\n     \"[em *foo][em&strong **bar*][strong hello**] world\");\n\n  MT(\"emStrongUnderscore\",\n     \"[em _foo][em&strong __bar_][strong hello__] world\");\n\n  // \"...same character must be used to open and close an emphasis span.\"\"\n  MT(\"emStrongMixed\",\n     \"[em _foo][em&strong **bar*hello__ world]\");\n\n  MT(\"emStrongMixed\",\n     \"[em *foo][em&strong __bar_hello** world]\");\n\n  // These characters should be escaped:\n  // \\   backslash\n  // `   backtick\n  // *   asterisk\n  // _   underscore\n  // {}  curly braces\n  // []  square brackets\n  // ()  parentheses\n  // #   hash mark\n  // +   plus sign\n  // -   minus sign (hyphen)\n  // .   dot\n  // !   exclamation mark\n\n  MT(\"escapeBacktick\",\n     \"foo \\\\`bar\\\\`\");\n\n  MT(\"doubleEscapeBacktick\",\n     \"foo \\\\\\\\[comment `bar\\\\\\\\`]\");\n\n  MT(\"escapeAsterisk\",\n     \"foo \\\\*bar\\\\*\");\n\n  MT(\"doubleEscapeAsterisk\",\n     \"foo \\\\\\\\[em *bar\\\\\\\\*]\");\n\n  MT(\"escapeUnderscore\",\n     \"foo \\\\_bar\\\\_\");\n\n  MT(\"doubleEscapeUnderscore\",\n     \"foo \\\\\\\\[em _bar\\\\\\\\_]\");\n\n  MT(\"escapeHash\",\n     \"\\\\# foo\");\n\n  MT(\"doubleEscapeHash\",\n     \"\\\\\\\\# foo\");\n\n\n  // Tests to make sure GFM-specific things aren't getting through\n\n  MT(\"taskList\",\n     \"[variable-2 * [ ]] bar]\");\n\n  MT(\"fencedCodeBlocks\",\n     \"[comment ```]\",\n     \"foo\",\n     \"[comment ```]\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/meta.js",
    "content": "CodeMirror.modeInfo = [\n  {name: 'APL', mime: 'text/apl', mode: 'apl'},\n  {name: 'Asterisk', mime: 'text/x-asterisk', mode: 'asterisk'},\n  {name: 'C', mime: 'text/x-csrc', mode: 'clike'},\n  {name: 'C++', mime: 'text/x-c++src', mode: 'clike'},\n  {name: 'Cobol', mime: 'text/x-cobol', mode: 'cobol'},\n  {name: 'Java', mime: 'text/x-java', mode: 'clike'},\n  {name: 'C#', mime: 'text/x-csharp', mode: 'clike'},\n  {name: 'Scala', mime: 'text/x-scala', mode: 'clike'},\n  {name: 'Clojure', mime: 'text/x-clojure', mode: 'clojure'},\n  {name: 'CoffeeScript', mime: 'text/x-coffeescript', mode: 'coffeescript'},\n  {name: 'Common Lisp', mime: 'text/x-common-lisp', mode: 'commonlisp'},\n  {name: 'CSS', mime: 'text/css', mode: 'css'},\n  {name: 'D', mime: 'text/x-d', mode: 'd'},\n  {name: 'diff', mime: 'text/x-diff', mode: 'diff'},\n  {name: 'DTD', mime: 'application/xml-dtd', mode: 'dtd'},\n  {name: 'ECL', mime: 'text/x-ecl', mode: 'ecl'},\n  {name: 'Eiffel', mime: 'text/x-eiffel', mode: 'eiffel'},\n  {name: 'Erlang', mime: 'text/x-erlang', mode: 'erlang'},\n  {name: 'Fortran', mime: 'text/x-fortran', mode: 'fortran'},\n  {name: 'Gas', mime: 'text/x-gas', mode: 'gas'},\n  {name: 'Gherkin', mime: 'text/x-feature', mode: 'gherkin'},\n  {name: 'GitHub Flavored Markdown', mime: 'text/x-gfm', mode: 'gfm'},\n  {name: 'Go', mime: 'text/x-go', mode: 'go'},\n  {name: 'Groovy', mime: 'text/x-groovy', mode: 'groovy'},\n  {name: 'HAML', mime: 'text/x-haml', mode: 'haml'},\n  {name: 'Haskell', mime: 'text/x-haskell', mode: 'haskell'},\n  {name: 'Haxe', mime: 'text/x-haxe', mode: 'haxe'},\n  {name: 'ASP.NET', mime: 'application/x-aspx', mode: 'htmlembedded'},\n  {name: 'Embedded Javascript', mime: 'application/x-ejs', mode: 'htmlembedded'},\n  {name: 'JavaServer Pages', mime: 'application/x-jsp', mode: 'htmlembedded'},\n  {name: 'HTML', mime: 'text/html', mode: 'htmlmixed'},\n  {name: 'HTTP', mime: 'message/http', mode: 'http'},\n  {name: 'Jade', mime: 'text/x-jade', mode: 'jade'},\n  {name: 'JavaScript', mime: 'text/javascript', mode: 'javascript'},\n  {name: 'JSON', mime: 'application/x-json', mode: 'javascript'},\n  {name: 'JSON', mime: 'application/json', mode: 'javascript'},\n  {name: 'TypeScript', mime: 'application/typescript', mode: 'javascript'},\n  {name: 'Jinja2', mime: null, mode: 'jinja2'},\n  {name: 'Julia', mime: 'text/x-julia', mode: 'julia'},\n  {name: 'LESS', mime: 'text/x-less', mode: 'less'},\n  {name: 'LiveScript', mime: 'text/x-livescript', mode: 'livescript'},\n  {name: 'Lua', mime: 'text/x-lua', mode: 'lua'},\n  {name: 'Markdown (GitHub-flavour)', mime: 'text/x-markdown', mode: 'markdown'},\n  {name: 'mIRC', mime: 'text/mirc', mode: 'mirc'},\n  {name: 'Nginx', mime: 'text/x-nginx-conf', mode: 'nginx'},\n  {name: 'NTriples', mime: 'text/n-triples', mode: 'ntriples'},\n  {name: 'OCaml', mime: 'text/x-ocaml', mode: 'ocaml'},\n  {name: 'Octave', mime: 'text/x-octave', mode: 'octave'},\n  {name: 'Pascal', mime: 'text/x-pascal', mode: 'pascal'},\n  {name: 'PEG.js', mime: null, mode: 'pegjs'},\n  {name: 'Perl', mime: 'text/x-perl', mode: 'perl'},\n  {name: 'PHP', mime: 'text/x-php', mode: 'php'},\n  {name: 'PHP(HTML)', mime: 'application/x-httpd-php', mode: 'php'},\n  {name: 'Pig', mime: 'text/x-pig', mode: 'pig'},\n  {name: 'Plain Text', mime: 'text/plain', mode: 'null'},\n  {name: 'Properties files', mime: 'text/x-properties', mode: 'properties'},\n  {name: 'Python', mime: 'text/x-python', mode: 'python'},\n  {name: 'Cython', mime: 'text/x-cython', mode: 'python'},\n  {name: 'R', mime: 'text/x-rsrc', mode: 'r'},\n  {name: 'reStructuredText', mime: 'text/x-rst', mode: 'rst'},\n  {name: 'Ruby', mime: 'text/x-ruby', mode: 'ruby'},\n  {name: 'Rust', mime: 'text/x-rustsrc', mode: 'rust'},\n  {name: 'Sass', mime: 'text/x-sass', mode: 'sass'},\n  {name: 'Scheme', mime: 'text/x-scheme', mode: 'scheme'},\n  {name: 'SCSS', mime: 'text/x-scss', mode: 'css'},\n  {name: 'Shell', mime: 'text/x-sh', mode: 'shell'},\n  {name: 'Sieve', mime: 'application/sieve', mode: 'sieve'},\n  {name: 'Smalltalk', mime: 'text/x-stsrc', mode: 'smalltalk'},\n  {name: 'Smarty', mime: 'text/x-smarty', mode: 'smarty'},\n  {name: 'SmartyMixed', mime: 'text/x-smarty', mode: 'smartymixed'},\n  {name: 'SPARQL', mime: 'application/x-sparql-query', mode: 'sparql'},\n  {name: 'SQL', mime: 'text/x-sql', mode: 'sql'},\n  {name: 'MariaDB', mime: 'text/x-mariadb', mode: 'sql'},\n  {name: 'sTeX', mime: 'text/x-stex', mode: 'stex'},\n  {name: 'LaTeX', mime: 'text/x-latex', mode: 'stex'},\n  {name: 'Tcl', mime: 'text/x-tcl', mode: 'tcl'},\n  {name: 'TiddlyWiki ', mime: 'text/x-tiddlywiki', mode: 'tiddlywiki'},\n  {name: 'Tiki wiki', mime: 'text/tiki', mode: 'tiki'},\n  {name: 'TOML', mime: 'text/x-toml', mode: 'toml'},\n  {name: 'Turtle', mime: 'text/turtle', mode: 'turtle'},\n  {name: 'VB.NET', mime: 'text/x-vb', mode: 'vb'},\n  {name: 'VBScript', mime: 'text/vbscript', mode: 'vbscript'},\n  {name: 'Velocity', mime: 'text/velocity', mode: 'velocity'},\n  {name: 'Verilog', mime: 'text/x-verilog', mode: 'verilog'},\n  {name: 'XML', mime: 'application/xml', mode: 'xml'},\n  {name: 'HTML', mime: 'text/html', mode: 'xml'},\n  {name: 'XQuery', mime: 'application/xquery', mode: 'xquery'},\n  {name: 'YAML', mime: 'text/x-yaml', mode: 'yaml'},\n  {name: 'Z80', mime: 'text/x-z80', mode: 'z80'}\n];\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/mirc/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: mIRC mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/twilight.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"mirc.js\"></script>\n<style>.CodeMirror {border: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">mIRC</a>\n  </ul>\n</div>\n\n<article>\n<h2>mIRC mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n;AKA Nick Tracker by Ford_Lawnmower irc.GeekShed.net #Script-Help\n;*****************************************************************************;\n;**Start Setup\n;Change JoinDisplay, below, for On Join AKA Display. On = 1 - Off = 0\nalias -l JoinDisplay { return 1 }\n;Change MaxNicks, below, to the number of nicknames you want to store for each hostmask. I wouldn't go over 400 with this ;/\nalias -l MaxNicks { return 20 }\n;Change AKALogo, below, To the text you want displayed before each AKA result.\nalias -l AKALogo { return \u000306\u0007 \u000305A\u000306K\u000307A \u000306\u0007 }\n;**End Setup\n;*****************************************************************************;\nOn *:Join:#: {\n  if ($nick == $me) { .timer 1 1 ialupdateCheck $chan }\n  NickNamesAdd $nick $+($network,$wildsite)\n  if ($JoinDisplay) { .timerNickNames $+ $nick 1 2 NickNames.display $nick $chan $network $wildsite }\n}\non *:Nick: { NickNamesAdd $newnick $+($network,$wildsite) $nick }\nalias -l NickNames.display {\n  if ($gettok($hget(NickNames,$+($3,$4)),0,126) > 1) {\n    echo -g $2 $AKALogo $+(\u000309,$1) $AKALogo \u000307 $mid($replace($hget(NickNames,$+($3,$4)),$chr(126),$chr(44)),2,-1)\n  }\n}\nalias -l NickNamesAdd {\n  if ($hget(NickNames,$2)) {\n    if (!$regex($hget(NickNames,$2),/~\\Q $+ $replacecs($1,\\E,\\E\\\\E\\Q) $+ \\E~/i)) {\n      if ($gettok($hget(NickNames,$2),0,126) <= $MaxNicks) {\n        hadd NickNames $2 $+($hget(NickNames,$2),$1,~)\n      }\n      else {\n        hadd NickNames $2 $+($mid($hget(NickNames,$2),$pos($hget(NickNames,$2),~,2)),$1,~)\n      }\n    }\n  }\n  else {\n    hadd -m NickNames $2 $+(~,$1,~,$iif($3,$+($3,~)))\n  }\n}\nalias -l Fix.All.MindUser {\n  var %Fix.Count = $hfind(NickNames,/[^~]+[0-9]{4}~/,0,r).data\n  while (%Fix.Count) {\n    if ($Fix.MindUser($hget(NickNames,$hfind(NickNames,/[^~]+[0-9]{4}~/,%Fix.Count,r).data))) {\n      echo -ag Record %Fix.Count - $v1 - Was Cleaned\n      hadd NickNames $hfind(NickNames,/[^~]+[0-9]{4}~/,%Fix.Count,r).data $v1\n    }\n    dec %Fix.Count\n  }\n}\nalias -l Fix.MindUser { return $regsubex($1,/[^~]+[0-9]{4}~/g,$null) }\nmenu nicklist,query {\n  -\n  .AKA\n  ..Check $$1: {\n    if ($gettok($hget(NickNames,$+($network,$address($1,2))),0,126) > 1) {\n      NickNames.display $1 $active $network $address($1,2)\n    }\n    else { echo -ag $AKALogo $+(\u000309,$1) \u000307has not been known by any other nicknames while I have been watching. }\n  }\n  ..Cleanup $$1:hadd NickNames $+($network,$address($1,2)) $fix.minduser($hget(NickNames,$+($network,$address($1,2))))\n  ..Clear $$1:hadd NickNames $+($network,$address($1,2)) $+(~,$1,~)\n  ..AKA Search Dialog:dialog $iif($dialog(AKA_Search),-v,-m) AKA_Search AKA_Search\n  -\n}\nmenu status,channel {\n  -\n  .AKA\n  ..AKA Search Dialog:dialog $iif($dialog(AKA_Search),-v,-m) AKA_Search AKA_Search\n  ..Clean All Records:Fix.All.Minduser\n  -\n}\ndialog AKA_Search {\n  title \"AKA Search Engine\"\n  size -1 -1 206 221\n  option dbu\n  edit \"\", 1, 8 5 149 10, autohs\n  button \"Search\", 2, 163 4 32 12\n  radio \"Search HostMask\", 4, 61 22 55 10\n  radio \"Search Nicknames\", 5, 123 22 56 10\n  list 6, 8 38 190 169, sort extsel vsbar\n  button \"Check Selected\", 7, 67 206 40 12\n  button \"Close\", 8, 160 206 38 12, cancel\n  box \"Search Type\", 3, 11 17 183 18\n  button \"Copy to Clipboard\", 9, 111 206 46 12\n}\nOn *:Dialog:Aka_Search:init:*: { did -c $dname 5 }\nOn *:Dialog:Aka_Search:Sclick:2,7,9: {\n  if ($did == 2) && ($did($dname,1)) {\n    did -r $dname 6\n    var %search $+(*,$v1,*), %type $iif($did($dname,5).state,data,item), %matches = $hfind(NickNames,%search,0,w). [ $+ [ %type ] ]\n    while (%matches) {\n      did -a $dname 6 $hfind(NickNames,%search,%matches,w). [ $+ [ %type ] ]\n      dec %matches\n    }\n    did -c $dname 6 1\n  }\n  elseif ($did == 7) && ($did($dname,6).seltext) { echo -ga $AKALogo \u000307 $mid($replace($hget(NickNames,$v1),$chr(126),$chr(44)),2,-1) }\n  elseif ($did == 9) && ($did($dname,6).seltext) { clipboard $mid($v1,$pos($v1,*,1)) }\n}\nOn *:Start:{\n  if (!$hget(NickNames)) { hmake NickNames 10 }\n  if ($isfile(NickNames.hsh)) { hload  NickNames NickNames.hsh }\n}\nOn *:Exit: { if ($hget(NickNames)) { hsave NickNames NickNames.hsh } }\nOn *:Disconnect: { if ($hget(NickNames)) { hsave NickNames NickNames.hsh } }\nOn *:Unload: { hfree NickNames }\nalias -l ialupdateCheck {\n  inc -z $+(%,ialupdateCheck,$network) $calc($nick($1,0) / 4)\n  ;If your ial is already being updated on join .who $1 out.\n  ;If you are using /names to update ial you will still need this line.\n  .who $1\n}\nRaw 352:*: {\n  if ($($+(%,ialupdateCheck,$network),2)) haltdef\n  NickNamesAdd $6 $+($network,$address($6,2))\n}\nRaw 315:*: {\n  if ($($+(%,ialupdateCheck,$network),2)) haltdef\n}\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        tabMode: \"indent\",\n\t\ttheme: \"twilight\",\n        lineNumbers: true,\n\t\tmatchBrackets: true,\n        indentUnit: 4,\n        mode: \"text/mirc\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/mirc</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/mirc/mirc.js",
    "content": "//mIRC mode by Ford_Lawnmower :: Based on Velocity mode by Steve O'Hara\nCodeMirror.defineMIME(\"text/mirc\", \"mirc\");\nCodeMirror.defineMode(\"mirc\", function() {\n  function parseWords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var specials = parseWords(\"$! $$ $& $? $+ $abook $abs $active $activecid \" +\n                            \"$activewid $address $addtok $agent $agentname $agentstat $agentver \" +\n                            \"$alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime \" +\n                            \"$asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind \" +\n                            \"$binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes \" +\n                            \"$chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color \" +\n                            \"$com $comcall $comchan $comerr $compact $compress $comval $cos $count \" +\n                            \"$cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight \" +\n                            \"$dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress \" +\n                            \"$deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll \" +\n                            \"$dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error \" +\n                            \"$eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir \" +\n                            \"$finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve \" +\n                            \"$fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt \" +\n                            \"$group $halted $hash $height $hfind $hget $highlight $hnick $hotline \" +\n                            \"$hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil \" +\n                            \"$inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect \" +\n                            \"$insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile \" +\n                            \"$isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive \" +\n                            \"$lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock \" +\n                            \"$lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer \" +\n                            \"$maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext \" +\n                            \"$menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode \" +\n                            \"$modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile \" +\n                            \"$nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly \" +\n                            \"$opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree \" +\n                            \"$pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo \" +\n                            \"$readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex \" +\n                            \"$reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline \" +\n                            \"$sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin \" +\n                            \"$site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname \" +\n                            \"$sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped \" +\n                            \"$syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp \" +\n                            \"$timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel \" +\n                            \"$ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver \" +\n                            \"$version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor\");\n  var keywords = parseWords(\"abook ajinvite alias aline ame amsg anick aop auser autojoin avoice \" +\n                            \"away background ban bcopy beep bread break breplace bset btrunc bunset bwrite \" +\n                            \"channel clear clearall cline clipboard close cnick color comclose comopen \" +\n                            \"comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver \" +\n                            \"debug dec describe dialog did didtok disable disconnect dlevel dline dll \" +\n                            \"dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace \" +\n                            \"drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable \" +\n                            \"events exit fclose filter findtext finger firewall flash flist flood flush \" +\n                            \"flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove \" +\n                            \"gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd \" +\n                            \"halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear \" +\n                            \"ialmark identd if ignore iline inc invite iuser join kick linesep links list \" +\n                            \"load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice \" +\n                            \"notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice \" +\n                            \"qme qmsg query queryn quit raw reload remini remote remove rename renwin \" +\n                            \"reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini \" +\n                            \"say scid scon server set showmirc signam sline sockaccept sockclose socklist \" +\n                            \"socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite \" +\n                            \"sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize \" +\n                            \"toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho \" +\n                            \"var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum \" +\n                            \"isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower \" +\n                            \"isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs \" +\n                            \"elseif else goto menu nicklist status title icon size option text edit \" +\n                            \"button check radio box scroll list combo link tab item\");\n  var functions = parseWords(\"if elseif else and not or eq ne in ni for foreach while switch\");\n  var isOperatorChar = /[+\\-*&%=<>!?^\\/\\|]/;\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n  function tokenBase(stream, state) {\n    var beforeParams = state.beforeParams;\n    state.beforeParams = false;\n    var ch = stream.next();\n    if (/[\\[\\]{}\\(\\),\\.]/.test(ch)) {\n      if (ch == \"(\" && beforeParams) state.inParams = true;\n      else if (ch == \")\") state.inParams = false;\n      return null;\n    }\n    else if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    else if (ch == \"\\\\\") {\n      stream.eat(\"\\\\\");\n      stream.eat(/./);\n      return \"number\";\n    }\n    else if (ch == \"/\" && stream.eat(\"*\")) {\n      return chain(stream, state, tokenComment);\n    }\n    else if (ch == \";\" && stream.match(/ *\\( *\\(/)) {\n      return chain(stream, state, tokenUnparsed);\n    }\n    else if (ch == \";\" && !state.inParams) {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    else if (ch == '\"') {\n      stream.eat(/\"/);\n      return \"keyword\";\n    }\n    else if (ch == \"$\") {\n      stream.eatWhile(/[$_a-z0-9A-Z\\.:]/);\n      if (specials && specials.propertyIsEnumerable(stream.current().toLowerCase())) {\n        return \"keyword\";\n      }\n      else {\n        state.beforeParams = true;\n        return \"builtin\";\n      }\n    }\n    else if (ch == \"%\") {\n      stream.eatWhile(/[^,^\\s^\\(^\\)]/);\n      state.beforeParams = true;\n      return \"string\";\n    }\n    else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    else {\n      stream.eatWhile(/[\\w\\$_{}]/);\n      var word = stream.current().toLowerCase();\n      if (keywords && keywords.propertyIsEnumerable(word))\n        return \"keyword\";\n      if (functions && functions.propertyIsEnumerable(word)) {\n        state.beforeParams = true;\n        return \"keyword\";\n      }\n      return null;\n    }\n  }\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n  function tokenUnparsed(stream, state) {\n    var maybeEnd = 0, ch;\n    while (ch = stream.next()) {\n      if (ch == \";\" && maybeEnd == 2) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      if (ch == \")\")\n        maybeEnd++;\n      else if (ch != \" \")\n        maybeEnd = 0;\n    }\n    return \"meta\";\n  }\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        beforeParams: false,\n        inParams: false\n      };\n    },\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      return state.tokenize(stream, state);\n    }\n  };\n});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/nginx/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: NGINX mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"nginx.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n    <link rel=\"stylesheet\" href=\"../../doc/docs.css\">\n  </head>\n\n  <style>\n    body {\n      margin: 0em auto;\n    }\n\n    .CodeMirror, .CodeMirror-scroll {\n      height: 600px;\n    }\n  </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">NGINX</a>\n  </ul>\n</div>\n\n<article>\n<h2>NGINX mode</h2>\n<form><textarea id=\"code\" name=\"code\" style=\"height: 800px;\">\nserver {\n  listen 173.255.219.235:80;\n  server_name website.com.au;\n  rewrite / $scheme://www.$host$request_uri permanent; ## Forcibly prepend a www\n}\n\nserver {\n  listen 173.255.219.235:443;\n  server_name website.com.au;\n  rewrite / $scheme://www.$host$request_uri permanent; ## Forcibly prepend a www\n}\n\nserver {\n\n  listen      173.255.219.235:80;\n  server_name www.website.com.au;\n\n\n\n  root        /data/www;\n  index       index.html index.php;\n\n  location / {\n    index index.html index.php;     ## Allow a static html file to be shown first\n    try_files $uri $uri/ @handler;  ## If missing pass the URI to Magento's front handler\n    expires 30d;                    ## Assume all files are cachable\n  }\n\n  ## These locations would be hidden by .htaccess normally\n  location /app/                { deny all; }\n  location /includes/           { deny all; }\n  location /lib/                { deny all; }\n  location /media/downloadable/ { deny all; }\n  location /pkginfo/            { deny all; }\n  location /report/config.xml   { deny all; }\n  location /var/                { deny all; }\n\n  location /var/export/ { ## Allow admins only to view export folder\n    auth_basic           \"Restricted\"; ## Message shown in login window\n    auth_basic_user_file /rs/passwords/testfile; ## See /etc/nginx/htpassword\n    autoindex            on;\n  }\n\n  location  /. { ## Disable .htaccess and other hidden files\n    return 404;\n  }\n\n  location @handler { ## Magento uses a common front handler\n    rewrite / /index.php;\n  }\n\n  location ~ .php/ { ## Forward paths like /js/index.php/x.js to relevant handler\n    rewrite ^/(.*.php)/ /$1 last;\n  }\n\n  location ~ \\.php$ {\n    if (!-e $request_filename) { rewrite / /index.php last; } ## Catch 404s that try_files miss\n\n    fastcgi_pass   127.0.0.1:9000;\n    fastcgi_index  index.php;\n    fastcgi_param PATH_INFO $fastcgi_script_name;\n    fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;\n    include        /rs/confs/nginx/fastcgi_params;\n  }\n\n}\n\n\nserver {\n\n  listen              173.255.219.235:443;\n  server_name         website.com.au www.website.com.au;\n\n  root   /data/www;\n  index index.html index.php;\n\n  ssl                 on;\n  ssl_certificate     /rs/ssl/ssl.crt;\n  ssl_certificate_key /rs/ssl/ssl.key;\n\n  ssl_session_timeout  5m;\n\n  ssl_protocols  SSLv2 SSLv3 TLSv1;\n  ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;\n  ssl_prefer_server_ciphers   on;\n\n\n\n  location / {\n    index index.html index.php; ## Allow a static html file to be shown first\n    try_files $uri $uri/ @handler; ## If missing pass the URI to Magento's front handler\n    expires 30d; ## Assume all files are cachable\n  }\n\n  ## These locations would be hidden by .htaccess normally\n  location /app/                { deny all; }\n  location /includes/           { deny all; }\n  location /lib/                { deny all; }\n  location /media/downloadable/ { deny all; }\n  location /pkginfo/            { deny all; }\n  location /report/config.xml   { deny all; }\n  location /var/                { deny all; }\n\n  location /var/export/ { ## Allow admins only to view export folder\n    auth_basic           \"Restricted\"; ## Message shown in login window\n    auth_basic_user_file htpasswd; ## See /etc/nginx/htpassword\n    autoindex            on;\n  }\n\n  location  /. { ## Disable .htaccess and other hidden files\n    return 404;\n  }\n\n  location @handler { ## Magento uses a common front handler\n    rewrite / /index.php;\n  }\n\n  location ~ .php/ { ## Forward paths like /js/index.php/x.js to relevant handler\n    rewrite ^/(.*.php)/ /$1 last;\n  }\n\n  location ~ .php$ { ## Execute PHP scripts\n    if (!-e $request_filename) { rewrite  /index.php last; } ## Catch 404s that try_files miss\n\n    fastcgi_pass 127.0.0.1:9000;\n    fastcgi_index  index.php;\n    fastcgi_param PATH_INFO $fastcgi_script_name;\n    fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;\n    include        /rs/confs/nginx/fastcgi_params;\n\n    fastcgi_param HTTPS on;\n  }\n\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/nginx</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/nginx/nginx.js",
    "content": "CodeMirror.defineMode(\"nginx\", function(config) {\n\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  var keywords = words(\n    /* ngxDirectiveControl */ \"break return rewrite set\" +\n    /* ngxDirective */ \" accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23\"\n    );\n\n  var keywords_block = words(\n    /* ngxDirectiveBlock */ \"http mail events server types location upstream charset_map limit_except if geo map\"\n    );\n\n  var keywords_important = words(\n    /* ngxDirectiveImportant */ \"include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files\"\n    );\n\n  var indentUnit = config.indentUnit, type;\n  function ret(style, tp) {type = tp; return style;}\n\n  function tokenBase(stream, state) {\n\n\n    stream.eatWhile(/[\\w\\$_]/);\n\n    var cur = stream.current();\n\n\n    if (keywords.propertyIsEnumerable(cur)) {\n      return \"keyword\";\n    }\n    else if (keywords_block.propertyIsEnumerable(cur)) {\n      return \"variable-2\";\n    }\n    else if (keywords_important.propertyIsEnumerable(cur)) {\n      return \"string-2\";\n    }\n    /**/\n\n    var ch = stream.next();\n    if (ch == \"@\") {stream.eatWhile(/[\\w\\\\\\-]/); return ret(\"meta\", stream.current());}\n    else if (ch == \"/\" && stream.eat(\"*\")) {\n      state.tokenize = tokenCComment;\n      return tokenCComment(stream, state);\n    }\n    else if (ch == \"<\" && stream.eat(\"!\")) {\n      state.tokenize = tokenSGMLComment;\n      return tokenSGMLComment(stream, state);\n    }\n    else if (ch == \"=\") ret(null, \"compare\");\n    else if ((ch == \"~\" || ch == \"|\") && stream.eat(\"=\")) return ret(null, \"compare\");\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    else if (ch == \"#\") {\n      stream.skipToEnd();\n      return ret(\"comment\", \"comment\");\n    }\n    else if (ch == \"!\") {\n      stream.match(/^\\s*\\w*/);\n      return ret(\"keyword\", \"important\");\n    }\n    else if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w.%]/);\n      return ret(\"number\", \"unit\");\n    }\n    else if (/[,.+>*\\/]/.test(ch)) {\n      return ret(null, \"select-op\");\n    }\n    else if (/[;{}:\\[\\]]/.test(ch)) {\n      return ret(null, ch);\n    }\n    else {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"variable\", \"variable\");\n    }\n  }\n\n  function tokenCComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (maybeEnd && ch == \"/\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenSGMLComment(stream, state) {\n    var dashes = 0, ch;\n    while ((ch = stream.next()) != null) {\n      if (dashes >= 2 && ch == \">\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      dashes = (ch == \"-\") ? dashes + 1 : 0;\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped)\n          break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) state.tokenize = tokenBase;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  return {\n    startState: function(base) {\n      return {tokenize: tokenBase,\n              baseIndent: base || 0,\n              stack: []};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      type = null;\n      var style = state.tokenize(stream, state);\n\n      var context = state.stack[state.stack.length-1];\n      if (type == \"hash\" && context == \"rule\") style = \"atom\";\n      else if (style == \"variable\") {\n        if (context == \"rule\") style = \"number\";\n        else if (!context || context == \"@media{\") style = \"tag\";\n      }\n\n      if (context == \"rule\" && /^[\\{\\};]$/.test(type))\n        state.stack.pop();\n      if (type == \"{\") {\n        if (context == \"@media\") state.stack[state.stack.length-1] = \"@media{\";\n        else state.stack.push(\"{\");\n      }\n      else if (type == \"}\") state.stack.pop();\n      else if (type == \"@media\") state.stack.push(\"@media\");\n      else if (context == \"{\" && type != \"comment\") state.stack.push(\"rule\");\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var n = state.stack.length;\n      if (/^\\}/.test(textAfter))\n        n -= state.stack[state.stack.length-1] == \"rule\" ? 2 : 1;\n      return state.baseIndent + n * indentUnit;\n    },\n\n    electricChars: \"}\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/nginx\", \"text/x-nginx-conf\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/ntriples/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: NTriples mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"ntriples.js\"></script>\n<style type=\"text/css\">\n      .CodeMirror {\n        border: 1px solid #eee;\n      }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">NTriples</a>\n  </ul>\n</div>\n\n<article>\n<h2>NTriples mode</h2>\n<form>\n<textarea id=\"ntriples\" name=\"ntriples\">    \n<http://Sub1>     <http://pred1>     <http://obj> .\n<http://Sub2>     <http://pred2#an2> \"literal 1\" .\n<http://Sub3#an3> <http://pred3>     _:bnode3 .\n_:bnode4          <http://pred4>     \"literal 2\"@lang .\n_:bnode5          <http://pred5>     \"literal 3\"^^<http://type> .\n</textarea>\n</form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"ntriples\"), {});\n    </script>\n    <p><strong>MIME types defined:</strong> <code>text/n-triples</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/ntriples/ntriples.js",
    "content": "/**********************************************************\n* This script provides syntax highlighting support for\n* the Ntriples format.\n* Ntriples format specification:\n*     http://www.w3.org/TR/rdf-testcases/#ntriples\n***********************************************************/\n\n/*\n    The following expression defines the defined ASF grammar transitions.\n\n    pre_subject ->\n        {\n        ( writing_subject_uri | writing_bnode_uri )\n            -> pre_predicate\n                -> writing_predicate_uri\n                    -> pre_object\n                        -> writing_object_uri | writing_object_bnode |\n                          (\n                            writing_object_literal\n                                -> writing_literal_lang | writing_literal_type\n                          )\n                            -> post_object\n                                -> BEGIN\n         } otherwise {\n             -> ERROR\n         }\n*/\nCodeMirror.defineMode(\"ntriples\", function() {\n\n  var Location = {\n    PRE_SUBJECT         : 0,\n    WRITING_SUB_URI     : 1,\n    WRITING_BNODE_URI   : 2,\n    PRE_PRED            : 3,\n    WRITING_PRED_URI    : 4,\n    PRE_OBJ             : 5,\n    WRITING_OBJ_URI     : 6,\n    WRITING_OBJ_BNODE   : 7,\n    WRITING_OBJ_LITERAL : 8,\n    WRITING_LIT_LANG    : 9,\n    WRITING_LIT_TYPE    : 10,\n    POST_OBJ            : 11,\n    ERROR               : 12\n  };\n  function transitState(currState, c) {\n    var currLocation = currState.location;\n    var ret;\n\n    // Opening.\n    if     (currLocation == Location.PRE_SUBJECT && c == '<') ret = Location.WRITING_SUB_URI;\n    else if(currLocation == Location.PRE_SUBJECT && c == '_') ret = Location.WRITING_BNODE_URI;\n    else if(currLocation == Location.PRE_PRED    && c == '<') ret = Location.WRITING_PRED_URI;\n    else if(currLocation == Location.PRE_OBJ     && c == '<') ret = Location.WRITING_OBJ_URI;\n    else if(currLocation == Location.PRE_OBJ     && c == '_') ret = Location.WRITING_OBJ_BNODE;\n    else if(currLocation == Location.PRE_OBJ     && c == '\"') ret = Location.WRITING_OBJ_LITERAL;\n\n    // Closing.\n    else if(currLocation == Location.WRITING_SUB_URI     && c == '>') ret = Location.PRE_PRED;\n    else if(currLocation == Location.WRITING_BNODE_URI   && c == ' ') ret = Location.PRE_PRED;\n    else if(currLocation == Location.WRITING_PRED_URI    && c == '>') ret = Location.PRE_OBJ;\n    else if(currLocation == Location.WRITING_OBJ_URI     && c == '>') ret = Location.POST_OBJ;\n    else if(currLocation == Location.WRITING_OBJ_BNODE   && c == ' ') ret = Location.POST_OBJ;\n    else if(currLocation == Location.WRITING_OBJ_LITERAL && c == '\"') ret = Location.POST_OBJ;\n    else if(currLocation == Location.WRITING_LIT_LANG && c == ' ') ret = Location.POST_OBJ;\n    else if(currLocation == Location.WRITING_LIT_TYPE && c == '>') ret = Location.POST_OBJ;\n\n    // Closing typed and language literal.\n    else if(currLocation == Location.WRITING_OBJ_LITERAL && c == '@') ret = Location.WRITING_LIT_LANG;\n    else if(currLocation == Location.WRITING_OBJ_LITERAL && c == '^') ret = Location.WRITING_LIT_TYPE;\n\n    // Spaces.\n    else if( c == ' ' &&\n             (\n               currLocation == Location.PRE_SUBJECT ||\n               currLocation == Location.PRE_PRED    ||\n               currLocation == Location.PRE_OBJ     ||\n               currLocation == Location.POST_OBJ\n             )\n           ) ret = currLocation;\n\n    // Reset.\n    else if(currLocation == Location.POST_OBJ && c == '.') ret = Location.PRE_SUBJECT;\n\n    // Error\n    else ret = Location.ERROR;\n\n    currState.location=ret;\n  }\n\n  return {\n    startState: function() {\n       return {\n           location : Location.PRE_SUBJECT,\n           uris     : [],\n           anchors  : [],\n           bnodes   : [],\n           langs    : [],\n           types    : []\n       };\n    },\n    token: function(stream, state) {\n      var ch = stream.next();\n      if(ch == '<') {\n         transitState(state, ch);\n         var parsedURI = '';\n         stream.eatWhile( function(c) { if( c != '#' && c != '>' ) { parsedURI += c; return true; } return false;} );\n         state.uris.push(parsedURI);\n         if( stream.match('#', false) ) return 'variable';\n         stream.next();\n         transitState(state, '>');\n         return 'variable';\n      }\n      if(ch == '#') {\n        var parsedAnchor = '';\n        stream.eatWhile(function(c) { if(c != '>' && c != ' ') { parsedAnchor+= c; return true; } return false;});\n        state.anchors.push(parsedAnchor);\n        return 'variable-2';\n      }\n      if(ch == '>') {\n          transitState(state, '>');\n          return 'variable';\n      }\n      if(ch == '_') {\n          transitState(state, ch);\n          var parsedBNode = '';\n          stream.eatWhile(function(c) { if( c != ' ' ) { parsedBNode += c; return true; } return false;});\n          state.bnodes.push(parsedBNode);\n          stream.next();\n          transitState(state, ' ');\n          return 'builtin';\n      }\n      if(ch == '\"') {\n          transitState(state, ch);\n          stream.eatWhile( function(c) { return c != '\"'; } );\n          stream.next();\n          if( stream.peek() != '@' && stream.peek() != '^' ) {\n              transitState(state, '\"');\n          }\n          return 'string';\n      }\n      if( ch == '@' ) {\n          transitState(state, '@');\n          var parsedLang = '';\n          stream.eatWhile(function(c) { if( c != ' ' ) { parsedLang += c; return true; } return false;});\n          state.langs.push(parsedLang);\n          stream.next();\n          transitState(state, ' ');\n          return 'string-2';\n      }\n      if( ch == '^' ) {\n          stream.next();\n          transitState(state, '^');\n          var parsedType = '';\n          stream.eatWhile(function(c) { if( c != '>' ) { parsedType += c; return true; } return false;} );\n          state.types.push(parsedType);\n          stream.next();\n          transitState(state, '>');\n          return 'variable';\n      }\n      if( ch == ' ' ) {\n          transitState(state, ch);\n      }\n      if( ch == '.' ) {\n          transitState(state, ch);\n      }\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/n-triples\", \"ntriples\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/ocaml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: OCaml mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=stylesheet href=../../lib/codemirror.css>\n<script src=../../lib/codemirror.js></script>\n<script src=../../addon/edit/matchbrackets.js></script>\n<script src=ocaml.js></script>\n<style type=text/css>\n  .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">OCaml</a>\n  </ul>\n</div>\n\n<article>\n<h2>OCaml mode</h2>\n\n\n<textarea id=code>\n(* Summing a list of integers *)\nlet rec sum xs =\n  match xs with\n    | []       -&gt; 0\n    | x :: xs' -&gt; x + sum xs'\n\n(* Quicksort *)\nlet rec qsort = function\n   | [] -&gt; []\n   | pivot :: rest -&gt;\n       let is_less x = x &lt; pivot in\n       let left, right = List.partition is_less rest in\n       qsort left @ [pivot] @ qsort right\n\n(* Fibonacci Sequence *)\nlet rec fib_aux n a b =\n  match n with\n  | 0 -&gt; a\n  | _ -&gt; fib_aux (n - 1) (a + b) a\nlet fib n = fib_aux n 0 1\n\n(* Birthday paradox *)\nlet year_size = 365.\n\nlet rec birthday_paradox prob people =\n    let prob' = (year_size -. float people) /. year_size *. prob  in\n    if prob' &lt; 0.5 then\n        Printf.printf \"answer = %d\\n\" (people+1)\n    else\n        birthday_paradox prob' (people+1) ;;\n\nbirthday_paradox 1.0 1\n\n(* Church numerals *)\nlet zero f x = x\nlet succ n f x = f (n f x)\nlet one = succ zero\nlet two = succ (succ zero)\nlet add n1 n2 f x = n1 f (n2 f x)\nlet to_string n = n (fun k -&gt; \"S\" ^ k) \"0\"\nlet _ = to_string (add (succ two) two)\n\n(* Elementary functions *)\nlet square x = x * x;;\nlet rec fact x =\n  if x &lt;= 1 then 1 else x * fact (x - 1);;\n\n(* Automatic memory management *)\nlet l = 1 :: 2 :: 3 :: [];;\n[1; 2; 3];;\n5 :: l;;\n\n(* Polymorphism: sorting lists *)\nlet rec sort = function\n  | [] -&gt; []\n  | x :: l -&gt; insert x (sort l)\n\nand insert elem = function\n  | [] -&gt; [elem]\n  | x :: l -&gt; \n      if elem &lt; x then elem :: x :: l else x :: insert elem l;;\n\n(* Imperative features *)\nlet add_polynom p1 p2 =\n  let n1 = Array.length p1\n  and n2 = Array.length p2 in\n  let result = Array.create (max n1 n2) 0 in\n  for i = 0 to n1 - 1 do result.(i) &lt;- p1.(i) done;\n  for i = 0 to n2 - 1 do result.(i) &lt;- result.(i) + p2.(i) done;\n  result;;\nadd_polynom [| 1; 2 |] [| 1; 2; 3 |];;\n\n(* We may redefine fact using a reference cell and a for loop *)\nlet fact n =\n  let result = ref 1 in\n  for i = 2 to n do\n    result := i * !result\n   done;\n   !result;;\nfact 5;;\n\n(* Triangle (graphics) *)\nlet () =\n  ignore( Glut.init Sys.argv );\n  Glut.initDisplayMode ~double_buffer:true ();\n  ignore (Glut.createWindow ~title:\"OpenGL Demo\");\n  let angle t = 10. *. t *. t in\n  let render () =\n    GlClear.clear [ `color ];\n    GlMat.load_identity ();\n    GlMat.rotate ~angle: (angle (Sys.time ())) ~z:1. ();\n    GlDraw.begins `triangles;\n    List.iter GlDraw.vertex2 [-1., -1.; 0., 1.; 1., -1.];\n    GlDraw.ends ();\n    Glut.swapBuffers () in\n  GlMat.mode `modelview;\n  Glut.displayFunc ~cb:render;\n  Glut.idleFunc ~cb:(Some Glut.postRedisplay);\n  Glut.mainLoop ()\n\n(* A Hundred Lines of Caml - http://caml.inria.fr/about/taste.en.html *)\n(* OCaml page on Wikipedia - http://en.wikipedia.org/wiki/OCaml *)\n</textarea>\n\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById('code'), {\n    mode: 'ocaml',\n    lineNumbers: true,\n    matchBrackets: true\n  });\n</script>\n\n<p><strong>MIME types defined:</strong> <code>text/x-ocaml</code>.</p>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/ocaml/ocaml.js",
    "content": "CodeMirror.defineMode('ocaml', function() {\n\n  var words = {\n    'true': 'atom',\n    'false': 'atom',\n    'let': 'keyword',\n    'rec': 'keyword',\n    'in': 'keyword',\n    'of': 'keyword',\n    'and': 'keyword',\n    'succ': 'keyword',\n    'if': 'keyword',\n    'then': 'keyword',\n    'else': 'keyword',\n    'for': 'keyword',\n    'to': 'keyword',\n    'while': 'keyword',\n    'do': 'keyword',\n    'done': 'keyword',\n    'fun': 'keyword',\n    'function': 'keyword',\n    'val': 'keyword',\n    'type': 'keyword',\n    'mutable': 'keyword',\n    'match': 'keyword',\n    'with': 'keyword',\n    'try': 'keyword',\n    'raise': 'keyword',\n    'begin': 'keyword',\n    'end': 'keyword',\n    'open': 'builtin',\n    'trace': 'builtin',\n    'ignore': 'builtin',\n    'exit': 'builtin',\n    'print_string': 'builtin',\n    'print_endline': 'builtin'\n  };\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    if (ch === '\"') {\n      state.tokenize = tokenString;\n      return state.tokenize(stream, state);\n    }\n    if (ch === '(') {\n      if (stream.eat('*')) {\n        state.commentLevel++;\n        state.tokenize = tokenComment;\n        return state.tokenize(stream, state);\n      }\n    }\n    if (ch === '~') {\n      stream.eatWhile(/\\w/);\n      return 'variable-2';\n    }\n    if (ch === '`') {\n      stream.eatWhile(/\\w/);\n      return 'quote';\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\d]/);\n      if (stream.eat('.')) {\n        stream.eatWhile(/[\\d]/);\n      }\n      return 'number';\n    }\n    if ( /[+\\-*&%=<>!?|]/.test(ch)) {\n      return 'operator';\n    }\n    stream.eatWhile(/\\w/);\n    var cur = stream.current();\n    return words[cur] || 'variable';\n  }\n\n  function tokenString(stream, state) {\n    var next, end = false, escaped = false;\n    while ((next = stream.next()) != null) {\n      if (next === '\"' && !escaped) {\n        end = true;\n        break;\n      }\n      escaped = !escaped && next === '\\\\';\n    }\n    if (end && !escaped) {\n      state.tokenize = tokenBase;\n    }\n    return 'string';\n  };\n\n  function tokenComment(stream, state) {\n    var prev, next;\n    while(state.commentLevel > 0 && (next = stream.next()) != null) {\n      if (prev === '(' && next === '*') state.commentLevel++;\n      if (prev === '*' && next === ')') state.commentLevel--;\n      prev = next;\n    }\n    if (state.commentLevel <= 0) {\n      state.tokenize = tokenBase;\n    }\n    return 'comment';\n  }\n\n  return {\n    startState: function() {return {tokenize: tokenBase, commentLevel: 0};},\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      return state.tokenize(stream, state);\n    },\n\n    blockCommentStart: \"(*\",\n    blockCommentEnd: \"*)\"\n  };\n});\n\nCodeMirror.defineMIME('text/x-ocaml', 'ocaml');\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/octave/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Octave mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"octave.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Octave</a>\n  </ul>\n</div>\n\n<article>\n<h2>Octave mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n%numbers\n1234\n1234i\n1234j\n.234\n.234j\n2.23i\n23e2\n12E1j\n123D-4\n0x234\n\n%strings\n'asda''a'\n\"asda\"\"a\"\n\n%identifiers\na\nas123\n__asd__\n\n%operators\n-\n+\n=\n==\n>\n<\n>=\n<=\n&\n~\n...\nbreak zeros default margin round ones rand\nceil floor size clear zeros eye mean std cov\nerror eval function\nabs acos atan asin cos cosh exp log prod sum\nlog10 max min sign sin sinh sqrt tan reshape\nreturn\ncase switch\nelse elseif end if otherwise\ndo for while\ntry catch\nclassdef properties events methods\nglobal persistent\n\n%one line comment\n...one line comment\n%{ multi \nline commment %}\n1\n\n    </textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"octave\",\n               version: 2,\n               singleLineStringErrors: false},\n        lineNumbers: true,\n        indentUnit: 4,\n        tabMode: \"shift\",\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-octave</code>.</p>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/octave/octave.js",
    "content": "CodeMirror.defineMode(\"octave\", function() {\n  function wordRegexp(words) {\n    return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n  }\n\n  var singleOperators = new RegExp(\"^[\\\\+\\\\-\\\\*/&|\\\\^~<>!@'\\\\\\\\]\");\n  var singleDelimiters = new RegExp('^[\\\\(\\\\[\\\\{\\\\},:=;]');\n  var doubleOperators = new RegExp(\"^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\\\.[\\\\+\\\\-\\\\*/\\\\^\\\\\\\\]))\");\n  var doubleDelimiters = new RegExp(\"^((!=)|(\\\\+=)|(\\\\-=)|(\\\\*=)|(/=)|(&=)|(\\\\|=)|(\\\\^=))\");\n  var tripleDelimiters = new RegExp(\"^((>>=)|(<<=))\");\n  var expressionEnd = new RegExp(\"^[\\\\]\\\\)]\");\n  var identifiers = new RegExp(\"^[_A-Za-z][_A-Za-z0-9]*\");\n\n  var builtins = wordRegexp([\n    'error', 'eval', 'function', 'abs', 'acos', 'atan', 'asin', 'cos',\n    'cosh', 'exp', 'log', 'prod', 'log10', 'max', 'min', 'sign', 'sin', 'sinh',\n    'sqrt', 'tan', 'reshape', 'break', 'zeros', 'default', 'margin', 'round', 'ones',\n    'rand', 'syn', 'ceil', 'floor', 'size', 'clear', 'zeros', 'eye', 'mean', 'std', 'cov',\n    'det', 'eig', 'inv', 'norm', 'rank', 'trace', 'expm', 'logm', 'sqrtm', 'linspace', 'plot',\n    'title', 'xlabel', 'ylabel', 'legend', 'text', 'meshgrid', 'mesh', 'num2str'\n  ]);\n\n  var keywords = wordRegexp([\n    'return', 'case', 'switch', 'else', 'elseif', 'end', 'endif', 'endfunction',\n    'if', 'otherwise', 'do', 'for', 'while', 'try', 'catch', 'classdef', 'properties', 'events',\n    'methods', 'global', 'persistent', 'endfor', 'endwhile', 'printf', 'disp', 'until', 'continue'\n  ]);\n\n\n  // tokenizers\n  function tokenTranspose(stream, state) {\n    if (!stream.sol() && stream.peek() === '\\'') {\n      stream.next();\n      state.tokenize = tokenBase;\n      return 'operator';\n    }\n    state.tokenize = tokenBase;\n    return tokenBase(stream, state);\n  }\n\n\n  function tokenComment(stream, state) {\n    if (stream.match(/^.*%}/)) {\n      state.tokenize = tokenBase;\n      return 'comment';\n    };\n    stream.skipToEnd();\n    return 'comment';\n  }\n\n  function tokenBase(stream, state) {\n    // whitespaces\n    if (stream.eatSpace()) return null;\n\n    // Handle one line Comments\n    if (stream.match('%{')){\n      state.tokenize = tokenComment;\n      stream.skipToEnd();\n      return 'comment';\n    }\n\n    if (stream.match(/^(%)|(\\.\\.\\.)/)){\n      stream.skipToEnd();\n      return 'comment';\n    }\n\n    // Handle Number Literals\n    if (stream.match(/^[0-9\\.+-]/, false)) {\n      if (stream.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/)) {\n        stream.tokenize = tokenBase;\n        return 'number'; };\n      if (stream.match(/^[+-]?\\d*\\.\\d+([EeDd][+-]?\\d+)?[ij]?/)) { return 'number'; };\n      if (stream.match(/^[+-]?\\d+([EeDd][+-]?\\d+)?[ij]?/)) { return 'number'; };\n    }\n    if (stream.match(wordRegexp(['nan','NaN','inf','Inf']))) { return 'number'; };\n\n    // Handle Strings\n    if (stream.match(/^\"([^\"]|(\"\"))*\"/)) { return 'string'; } ;\n    if (stream.match(/^'([^']|(''))*'/)) { return 'string'; } ;\n\n    // Handle words\n    if (stream.match(keywords)) { return 'keyword'; } ;\n    if (stream.match(builtins)) { return 'builtin'; } ;\n    if (stream.match(identifiers)) { return 'variable'; } ;\n\n    if (stream.match(singleOperators) || stream.match(doubleOperators)) { return 'operator'; };\n    if (stream.match(singleDelimiters) || stream.match(doubleDelimiters) || stream.match(tripleDelimiters)) { return null; };\n\n    if (stream.match(expressionEnd)) {\n      state.tokenize = tokenTranspose;\n      return null;\n    };\n\n\n    // Handle non-detected items\n    stream.next();\n    return 'error';\n  };\n\n\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase\n      };\n    },\n\n    token: function(stream, state) {\n      var style = state.tokenize(stream, state);\n      if (style === 'number' || style === 'variable'){\n        state.tokenize = tokenTranspose;\n      }\n      return style;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-octave\", \"octave\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/pascal/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Pascal mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"pascal.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Pascal</a>\n  </ul>\n</div>\n\n<article>\n<h2>Pascal mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n(* Example Pascal code *)\n\nwhile a <> b do writeln('Waiting');\n \nif a > b then \n  writeln('Condition met')\nelse \n  writeln('Condition not met');\n \nfor i := 1 to 10 do \n  writeln('Iteration: ', i:1);\n \nrepeat\n  a := a + 1\nuntil a = 10;\n \ncase i of\n  0: write('zero');\n  1: write('one');\n  2: write('two')\nend;\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-pascal\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-pascal</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/pascal/pascal.js",
    "content": "CodeMirror.defineMode(\"pascal\", function() {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var keywords = words(\"and array begin case const div do downto else end file for forward integer \" +\n                       \"boolean char function goto if in label mod nil not of or packed procedure \" +\n                       \"program record repeat set string then to type until var while with\");\n  var atoms = {\"null\": true};\n\n  var isOperatorChar = /[+\\-*&%=<>!?|\\/]/;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == \"#\" && state.startOfLine) {\n      stream.skipToEnd();\n      return \"meta\";\n    }\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (ch == \"(\" && stream.eat(\"*\")) {\n      state.tokenize = tokenComment;\n      return tokenComment(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      return null;\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) return \"keyword\";\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !escaped) state.tokenize = null;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \")\" && maybeEnd) {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  // Interface\n\n  return {\n    startState: function() {\n      return {tokenize: null};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      return style;\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-pascal\", \"pascal\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/pegjs/index.html",
    "content": "<!doctype html>\n<html>\n  <head>\n    <title>CodeMirror: PEG.js Mode</title>\n    <meta charset=\"utf-8\"/>\n    <link rel=stylesheet href=\"../../doc/docs.css\">\n\n    <link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n    <script src=\"../../lib/codemirror.js\"></script>\n    <script src=\"../javascript/javascript.js\"></script>\n    <script src=\"pegjs.js\"></script>\n    <style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n  </head>\n  <body>\n    <div id=nav>\n      <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n      <ul>\n        <li><a href=\"../../index.html\">Home</a>\n        <li><a href=\"../../doc/manual.html\">Manual</a>\n        <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n      </ul>\n      <ul>\n        <li><a href=\"../index.html\">Language modes</a>\n        <li><a class=active href=\"#\">PEG.js Mode</a>\n      </ul>\n    </div>\n\n    <article>\n      <h2>PEG.js Mode</h2>\n      <form><textarea id=\"code\" name=\"code\">\n/*\n * Classic example grammar, which recognizes simple arithmetic expressions like\n * \"2*(3+4)\". The parser generated from this grammar then computes their value.\n */\n\nstart\n  = additive\n\nadditive\n  = left:multiplicative \"+\" right:additive { return left + right; }\n  / multiplicative\n\nmultiplicative\n  = left:primary \"*\" right:multiplicative { return left * right; }\n  / primary\n\nprimary\n  = integer\n  / \"(\" additive:additive \")\" { return additive; }\n\ninteger \"integer\"\n  = digits:[0-9]+ { return parseInt(digits.join(\"\"), 10); }\n\nletter = [a-z]+</textarea></form>\n      <script>\n        var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n          mode: {name: \"pegjs\"},\n          lineNumbers: true\n        });\n      </script>\n      <h3>The PEG.js Mode</h3>\n      <p> Created by Forbes Lindesay.</p>\n    </article>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/pegjs/pegjs.js",
    "content": "CodeMirror.defineMode(\"pegjs\", function (config) {\n  var jsMode = CodeMirror.getMode(config, \"javascript\");\n\n  function identifier(stream) {\n    return stream.match(/^[a-zA-Z_][a-zA-Z0-9_]*/);\n  }\n\n  return {\n    startState: function () {\n      return {\n        inString: false,\n        stringType: null,\n        inComment: false,\n        inChracterClass: false,\n        braced: 0,\n        lhs: true,\n        localState: null\n      };\n    },\n    token: function (stream, state) {\n      if (stream)\n\n      //check for state changes\n      if (!state.inString && !state.inComment && ((stream.peek() == '\"') || (stream.peek() == \"'\"))) {\n        state.stringType = stream.peek();\n        stream.next(); // Skip quote\n        state.inString = true; // Update state\n      }\n      if (!state.inString && !state.inComment && stream.match(/^\\/\\*/)) {\n        state.inComment = true;\n      }\n\n      //return state\n      if (state.inString) {\n        while (state.inString && !stream.eol()) {\n          if (stream.peek() === state.stringType) {\n            stream.next(); // Skip quote\n            state.inString = false; // Clear flag\n          } else if (stream.peek() === '\\\\') {\n            stream.next();\n            stream.next();\n          } else {\n            stream.match(/^.[^\\\\\\\"\\']*/);\n          }\n        }\n        return state.lhs ? \"property string\" : \"string\"; // Token style\n      } else if (state.inComment) {\n        while (state.inComment && !stream.eol()) {\n          if (stream.match(/\\*\\//)) {\n            state.inComment = false; // Clear flag\n          } else {\n            stream.match(/^.[^\\*]*/);\n          }\n        }\n        return \"comment\";\n      } else if (state.inChracterClass) {\n        if (stream.match(/^[^\\]\\\\]+/)) {\n          return;\n        } else if (stream.match(/^\\\\./)) {\n          return;\n        } else {\n          stream.next();\n          state.inChracterClass = false;\n          return 'bracket';\n        }\n      } else if (stream.peek() === '[') {\n        stream.next();\n        state.inChracterClass = true;\n        return 'bracket';\n      } else if (stream.match(/^\\/\\//)) {\n        stream.skipToEnd();\n        return \"comment\";\n      } else if (state.braced || stream.peek() === '{') {\n        if (state.localState === null) {\n          state.localState = jsMode.startState();\n        }\n        var token = jsMode.token(stream, state.localState);\n        var text = stream.current();\n        if (!token) {\n          for (var i = 0; i < text.length; i++) {\n            if (text[i] === '{') {\n              state.braced++;\n            } else if (text[i] === '}') {\n              state.braced--;\n            }\n          };\n        }\n        return token;\n      } else if (identifier(stream)) {\n        if (stream.peek() === ':') {\n          return 'variable';\n        }\n        return 'variable-2';\n      } else if (['[', ']', '(', ')'].indexOf(stream.peek()) != -1) {\n        stream.next();\n        return 'bracket';\n      } else if (!stream.eatSpace()) {\n        stream.next();\n      }\n      return null;\n    }\n  };\n}, \"javascript\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/perl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Perl mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"perl.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Perl</a>\n  </ul>\n</div>\n\n<article>\n<h2>Perl mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n#!/usr/bin/perl\n\nuse Something qw(func1 func2);\n\n# strings\nmy $s1 = qq'single line';\nour $s2 = q(multi-\n              line);\n\n=item Something\n\tExample.\n=cut\n\nmy $html=<<'HTML'\n<html>\n<title>hi!</title>\n</html>\nHTML\n\nprint \"first,\".join(',', 'second', qq~third~);\n\nif($s1 =~ m[(?<!\\s)(l.ne)\\z]o) {\n\t$h->{$1}=$$.' predefined variables';\n\t$s2 =~ s/\\-line//ox;\n\t$s1 =~ s[\n\t\t  line ]\n\t\t[\n\t\t  block\n\t\t]ox;\n}\n\n1; # numbers and comments\n\n__END__\nsomething...\n\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-perl</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/perl/perl.js",
    "content": "// CodeMirror2 mode/perl/perl.js (text/x-perl) beta 0.10 (2011-11-08)\n// This is a part of CodeMirror from https://github.com/sabaca/CodeMirror_mode_perl (mail@sabaca.com)\nCodeMirror.defineMode(\"perl\",function(){\n        // http://perldoc.perl.org\n        var PERL={                                      //   null - magic touch\n                                                        //   1 - keyword\n                                                        //   2 - def\n                                                        //   3 - atom\n                                                        //   4 - operator\n                                                        //   5 - variable-2 (predefined)\n                                                        //   [x,y] - x=1,2,3; y=must be defined if x{...}\n                                                //      PERL operators\n                '->'                            :   4,\n                '++'                            :   4,\n                '--'                            :   4,\n                '**'                            :   4,\n                                                        //   ! ~ \\ and unary + and -\n                '=~'                            :   4,\n                '!~'                            :   4,\n                '*'                             :   4,\n                '/'                             :   4,\n                '%'                             :   4,\n                'x'                             :   4,\n                '+'                             :   4,\n                '-'                             :   4,\n                '.'                             :   4,\n                '<<'                            :   4,\n                '>>'                            :   4,\n                                                        //   named unary operators\n                '<'                             :   4,\n                '>'                             :   4,\n                '<='                            :   4,\n                '>='                            :   4,\n                'lt'                            :   4,\n                'gt'                            :   4,\n                'le'                            :   4,\n                'ge'                            :   4,\n                '=='                            :   4,\n                '!='                            :   4,\n                '<=>'                           :   4,\n                'eq'                            :   4,\n                'ne'                            :   4,\n                'cmp'                           :   4,\n                '~~'                            :   4,\n                '&'                             :   4,\n                '|'                             :   4,\n                '^'                             :   4,\n                '&&'                            :   4,\n                '||'                            :   4,\n                '//'                            :   4,\n                '..'                            :   4,\n                '...'                           :   4,\n                '?'                             :   4,\n                ':'                             :   4,\n                '='                             :   4,\n                '+='                            :   4,\n                '-='                            :   4,\n                '*='                            :   4,  //   etc. ???\n                ','                             :   4,\n                '=>'                            :   4,\n                '::'                            :   4,\n                                                        //   list operators (rightward)\n                'not'                           :   4,\n                'and'                           :   4,\n                'or'                            :   4,\n                'xor'                           :   4,\n                                                //      PERL predefined variables (I know, what this is a paranoid idea, but may be needed for people, who learn PERL, and for me as well, ...and may be for you?;)\n                'BEGIN'                         :   [5,1],\n                'END'                           :   [5,1],\n                'PRINT'                         :   [5,1],\n                'PRINTF'                        :   [5,1],\n                'GETC'                          :   [5,1],\n                'READ'                          :   [5,1],\n                'READLINE'                      :   [5,1],\n                'DESTROY'                       :   [5,1],\n                'TIE'                           :   [5,1],\n                'TIEHANDLE'                     :   [5,1],\n                'UNTIE'                         :   [5,1],\n                'STDIN'                         :    5,\n                'STDIN_TOP'                     :    5,\n                'STDOUT'                        :    5,\n                'STDOUT_TOP'                    :    5,\n                'STDERR'                        :    5,\n                'STDERR_TOP'                    :    5,\n                '$ARG'                          :    5,\n                '$_'                            :    5,\n                '@ARG'                          :    5,\n                '@_'                            :    5,\n                '$LIST_SEPARATOR'               :    5,\n                '$\"'                            :    5,\n                '$PROCESS_ID'                   :    5,\n                '$PID'                          :    5,\n                '$$'                            :    5,\n                '$REAL_GROUP_ID'                :    5,\n                '$GID'                          :    5,\n                '$('                            :    5,\n                '$EFFECTIVE_GROUP_ID'           :    5,\n                '$EGID'                         :    5,\n                '$)'                            :    5,\n                '$PROGRAM_NAME'                 :    5,\n                '$0'                            :    5,\n                '$SUBSCRIPT_SEPARATOR'          :    5,\n                '$SUBSEP'                       :    5,\n                '$;'                            :    5,\n                '$REAL_USER_ID'                 :    5,\n                '$UID'                          :    5,\n                '$<'                            :    5,\n                '$EFFECTIVE_USER_ID'            :    5,\n                '$EUID'                         :    5,\n                '$>'                            :    5,\n                '$a'                            :    5,\n                '$b'                            :    5,\n                '$COMPILING'                    :    5,\n                '$^C'                           :    5,\n                '$DEBUGGING'                    :    5,\n                '$^D'                           :    5,\n                '${^ENCODING}'                  :    5,\n                '$ENV'                          :    5,\n                '%ENV'                          :    5,\n                '$SYSTEM_FD_MAX'                :    5,\n                '$^F'                           :    5,\n                '@F'                            :    5,\n                '${^GLOBAL_PHASE}'              :    5,\n                '$^H'                           :    5,\n                '%^H'                           :    5,\n                '@INC'                          :    5,\n                '%INC'                          :    5,\n                '$INPLACE_EDIT'                 :    5,\n                '$^I'                           :    5,\n                '$^M'                           :    5,\n                '$OSNAME'                       :    5,\n                '$^O'                           :    5,\n                '${^OPEN}'                      :    5,\n                '$PERLDB'                       :    5,\n                '$^P'                           :    5,\n                '$SIG'                          :    5,\n                '%SIG'                          :    5,\n                '$BASETIME'                     :    5,\n                '$^T'                           :    5,\n                '${^TAINT}'                     :    5,\n                '${^UNICODE}'                   :    5,\n                '${^UTF8CACHE}'                 :    5,\n                '${^UTF8LOCALE}'                :    5,\n                '$PERL_VERSION'                 :    5,\n                '$^V'                           :    5,\n                '${^WIN32_SLOPPY_STAT}'         :    5,\n                '$EXECUTABLE_NAME'              :    5,\n                '$^X'                           :    5,\n                '$1'                            :    5, // - regexp $1, $2...\n                '$MATCH'                        :    5,\n                '$&'                            :    5,\n                '${^MATCH}'                     :    5,\n                '$PREMATCH'                     :    5,\n                '$`'                            :    5,\n                '${^PREMATCH}'                  :    5,\n                '$POSTMATCH'                    :    5,\n                \"$'\"                            :    5,\n                '${^POSTMATCH}'                 :    5,\n                '$LAST_PAREN_MATCH'             :    5,\n                '$+'                            :    5,\n                '$LAST_SUBMATCH_RESULT'         :    5,\n                '$^N'                           :    5,\n                '@LAST_MATCH_END'               :    5,\n                '@+'                            :    5,\n                '%LAST_PAREN_MATCH'             :    5,\n                '%+'                            :    5,\n                '@LAST_MATCH_START'             :    5,\n                '@-'                            :    5,\n                '%LAST_MATCH_START'             :    5,\n                '%-'                            :    5,\n                '$LAST_REGEXP_CODE_RESULT'      :    5,\n                '$^R'                           :    5,\n                '${^RE_DEBUG_FLAGS}'            :    5,\n                '${^RE_TRIE_MAXBUF}'            :    5,\n                '$ARGV'                         :    5,\n                '@ARGV'                         :    5,\n                'ARGV'                          :    5,\n                'ARGVOUT'                       :    5,\n                '$OUTPUT_FIELD_SEPARATOR'       :    5,\n                '$OFS'                          :    5,\n                '$,'                            :    5,\n                '$INPUT_LINE_NUMBER'            :    5,\n                '$NR'                           :    5,\n                '$.'                            :    5,\n                '$INPUT_RECORD_SEPARATOR'       :    5,\n                '$RS'                           :    5,\n                '$/'                            :    5,\n                '$OUTPUT_RECORD_SEPARATOR'      :    5,\n                '$ORS'                          :    5,\n                '$\\\\'                           :    5,\n                '$OUTPUT_AUTOFLUSH'             :    5,\n                '$|'                            :    5,\n                '$ACCUMULATOR'                  :    5,\n                '$^A'                           :    5,\n                '$FORMAT_FORMFEED'              :    5,\n                '$^L'                           :    5,\n                '$FORMAT_PAGE_NUMBER'           :    5,\n                '$%'                            :    5,\n                '$FORMAT_LINES_LEFT'            :    5,\n                '$-'                            :    5,\n                '$FORMAT_LINE_BREAK_CHARACTERS' :    5,\n                '$:'                            :    5,\n                '$FORMAT_LINES_PER_PAGE'        :    5,\n                '$='                            :    5,\n                '$FORMAT_TOP_NAME'              :    5,\n                '$^'                            :    5,\n                '$FORMAT_NAME'                  :    5,\n                '$~'                            :    5,\n                '${^CHILD_ERROR_NATIVE}'        :    5,\n                '$EXTENDED_OS_ERROR'            :    5,\n                '$^E'                           :    5,\n                '$EXCEPTIONS_BEING_CAUGHT'      :    5,\n                '$^S'                           :    5,\n                '$WARNING'                      :    5,\n                '$^W'                           :    5,\n                '${^WARNING_BITS}'              :    5,\n                '$OS_ERROR'                     :    5,\n                '$ERRNO'                        :    5,\n                '$!'                            :    5,\n                '%OS_ERROR'                     :    5,\n                '%ERRNO'                        :    5,\n                '%!'                            :    5,\n                '$CHILD_ERROR'                  :    5,\n                '$?'                            :    5,\n                '$EVAL_ERROR'                   :    5,\n                '$@'                            :    5,\n                '$OFMT'                         :    5,\n                '$#'                            :    5,\n                '$*'                            :    5,\n                '$ARRAY_BASE'                   :    5,\n                '$['                            :    5,\n                '$OLD_PERL_VERSION'             :    5,\n                '$]'                            :    5,\n                                                //      PERL blocks\n                'if'                            :[1,1],\n                elsif                           :[1,1],\n                'else'                          :[1,1],\n                'while'                         :[1,1],\n                unless                          :[1,1],\n                'for'                           :[1,1],\n                foreach                         :[1,1],\n                                                //      PERL functions\n                'abs'                           :1,     // - absolute value function\n                accept                          :1,     // - accept an incoming socket connect\n                alarm                           :1,     // - schedule a SIGALRM\n                'atan2'                         :1,     // - arctangent of Y/X in the range -PI to PI\n                bind                            :1,     // - binds an address to a socket\n                binmode                         :1,     // - prepare binary files for I/O\n                bless                           :1,     // - create an object\n                bootstrap                       :1,     //\n                'break'                         :1,     // - break out of a \"given\" block\n                caller                          :1,     // - get context of the current subroutine call\n                chdir                           :1,     // - change your current working directory\n                chmod                           :1,     // - changes the permissions on a list of files\n                chomp                           :1,     // - remove a trailing record separator from a string\n                chop                            :1,     // - remove the last character from a string\n                chown                           :1,     // - change the owership on a list of files\n                chr                             :1,     // - get character this number represents\n                chroot                          :1,     // - make directory new root for path lookups\n                close                           :1,     // - close file (or pipe or socket) handle\n                closedir                        :1,     // - close directory handle\n                connect                         :1,     // - connect to a remote socket\n                'continue'                      :[1,1], // - optional trailing block in a while or foreach\n                'cos'                           :1,     // - cosine function\n                crypt                           :1,     // - one-way passwd-style encryption\n                dbmclose                        :1,     // - breaks binding on a tied dbm file\n                dbmopen                         :1,     // - create binding on a tied dbm file\n                'default'                       :1,     //\n                defined                         :1,     // - test whether a value, variable, or function is defined\n                'delete'                        :1,     // - deletes a value from a hash\n                die                             :1,     // - raise an exception or bail out\n                'do'                            :1,     // - turn a BLOCK into a TERM\n                dump                            :1,     // - create an immediate core dump\n                each                            :1,     // - retrieve the next key/value pair from a hash\n                endgrent                        :1,     // - be done using group file\n                endhostent                      :1,     // - be done using hosts file\n                endnetent                       :1,     // - be done using networks file\n                endprotoent                     :1,     // - be done using protocols file\n                endpwent                        :1,     // - be done using passwd file\n                endservent                      :1,     // - be done using services file\n                eof                             :1,     // - test a filehandle for its end\n                'eval'                          :1,     // - catch exceptions or compile and run code\n                'exec'                          :1,     // - abandon this program to run another\n                exists                          :1,     // - test whether a hash key is present\n                exit                            :1,     // - terminate this program\n                'exp'                           :1,     // - raise I to a power\n                fcntl                           :1,     // - file control system call\n                fileno                          :1,     // - return file descriptor from filehandle\n                flock                           :1,     // - lock an entire file with an advisory lock\n                fork                            :1,     // - create a new process just like this one\n                format                          :1,     // - declare a picture format with use by the write() function\n                formline                        :1,     // - internal function used for formats\n                getc                            :1,     // - get the next character from the filehandle\n                getgrent                        :1,     // - get next group record\n                getgrgid                        :1,     // - get group record given group user ID\n                getgrnam                        :1,     // - get group record given group name\n                gethostbyaddr                   :1,     // - get host record given its address\n                gethostbyname                   :1,     // - get host record given name\n                gethostent                      :1,     // - get next hosts record\n                getlogin                        :1,     // - return who logged in at this tty\n                getnetbyaddr                    :1,     // - get network record given its address\n                getnetbyname                    :1,     // - get networks record given name\n                getnetent                       :1,     // - get next networks record\n                getpeername                     :1,     // - find the other end of a socket connection\n                getpgrp                         :1,     // - get process group\n                getppid                         :1,     // - get parent process ID\n                getpriority                     :1,     // - get current nice value\n                getprotobyname                  :1,     // - get protocol record given name\n                getprotobynumber                :1,     // - get protocol record numeric protocol\n                getprotoent                     :1,     // - get next protocols record\n                getpwent                        :1,     // - get next passwd record\n                getpwnam                        :1,     // - get passwd record given user login name\n                getpwuid                        :1,     // - get passwd record given user ID\n                getservbyname                   :1,     // - get services record given its name\n                getservbyport                   :1,     // - get services record given numeric port\n                getservent                      :1,     // - get next services record\n                getsockname                     :1,     // - retrieve the sockaddr for a given socket\n                getsockopt                      :1,     // - get socket options on a given socket\n                given                           :1,     //\n                glob                            :1,     // - expand filenames using wildcards\n                gmtime                          :1,     // - convert UNIX time into record or string using Greenwich time\n                'goto'                          :1,     // - create spaghetti code\n                grep                            :1,     // - locate elements in a list test true against a given criterion\n                hex                             :1,     // - convert a string to a hexadecimal number\n                'import'                        :1,     // - patch a module's namespace into your own\n                index                           :1,     // - find a substring within a string\n                'int'                           :1,     // - get the integer portion of a number\n                ioctl                           :1,     // - system-dependent device control system call\n                'join'                          :1,     // - join a list into a string using a separator\n                keys                            :1,     // - retrieve list of indices from a hash\n                kill                            :1,     // - send a signal to a process or process group\n                last                            :1,     // - exit a block prematurely\n                lc                              :1,     // - return lower-case version of a string\n                lcfirst                         :1,     // - return a string with just the next letter in lower case\n                length                          :1,     // - return the number of bytes in a string\n                'link'                          :1,     // - create a hard link in the filesytem\n                listen                          :1,     // - register your socket as a server\n                local                           : 2,    // - create a temporary value for a global variable (dynamic scoping)\n                localtime                       :1,     // - convert UNIX time into record or string using local time\n                lock                            :1,     // - get a thread lock on a variable, subroutine, or method\n                'log'                           :1,     // - retrieve the natural logarithm for a number\n                lstat                           :1,     // - stat a symbolic link\n                m                               :null,  // - match a string with a regular expression pattern\n                map                             :1,     // - apply a change to a list to get back a new list with the changes\n                mkdir                           :1,     // - create a directory\n                msgctl                          :1,     // - SysV IPC message control operations\n                msgget                          :1,     // - get SysV IPC message queue\n                msgrcv                          :1,     // - receive a SysV IPC message from a message queue\n                msgsnd                          :1,     // - send a SysV IPC message to a message queue\n                my                              : 2,    // - declare and assign a local variable (lexical scoping)\n                'new'                           :1,     //\n                next                            :1,     // - iterate a block prematurely\n                no                              :1,     // - unimport some module symbols or semantics at compile time\n                oct                             :1,     // - convert a string to an octal number\n                open                            :1,     // - open a file, pipe, or descriptor\n                opendir                         :1,     // - open a directory\n                ord                             :1,     // - find a character's numeric representation\n                our                             : 2,    // - declare and assign a package variable (lexical scoping)\n                pack                            :1,     // - convert a list into a binary representation\n                'package'                       :1,     // - declare a separate global namespace\n                pipe                            :1,     // - open a pair of connected filehandles\n                pop                             :1,     // - remove the last element from an array and return it\n                pos                             :1,     // - find or set the offset for the last/next m//g search\n                print                           :1,     // - output a list to a filehandle\n                printf                          :1,     // - output a formatted list to a filehandle\n                prototype                       :1,     // - get the prototype (if any) of a subroutine\n                push                            :1,     // - append one or more elements to an array\n                q                               :null,  // - singly quote a string\n                qq                              :null,  // - doubly quote a string\n                qr                              :null,  // - Compile pattern\n                quotemeta                       :null,  // - quote regular expression magic characters\n                qw                              :null,  // - quote a list of words\n                qx                              :null,  // - backquote quote a string\n                rand                            :1,     // - retrieve the next pseudorandom number\n                read                            :1,     // - fixed-length buffered input from a filehandle\n                readdir                         :1,     // - get a directory from a directory handle\n                readline                        :1,     // - fetch a record from a file\n                readlink                        :1,     // - determine where a symbolic link is pointing\n                readpipe                        :1,     // - execute a system command and collect standard output\n                recv                            :1,     // - receive a message over a Socket\n                redo                            :1,     // - start this loop iteration over again\n                ref                             :1,     // - find out the type of thing being referenced\n                rename                          :1,     // - change a filename\n                require                         :1,     // - load in external functions from a library at runtime\n                reset                           :1,     // - clear all variables of a given name\n                'return'                        :1,     // - get out of a function early\n                reverse                         :1,     // - flip a string or a list\n                rewinddir                       :1,     // - reset directory handle\n                rindex                          :1,     // - right-to-left substring search\n                rmdir                           :1,     // - remove a directory\n                s                               :null,  // - replace a pattern with a string\n                say                             :1,     // - print with newline\n                scalar                          :1,     // - force a scalar context\n                seek                            :1,     // - reposition file pointer for random-access I/O\n                seekdir                         :1,     // - reposition directory pointer\n                select                          :1,     // - reset default output or do I/O multiplexing\n                semctl                          :1,     // - SysV semaphore control operations\n                semget                          :1,     // - get set of SysV semaphores\n                semop                           :1,     // - SysV semaphore operations\n                send                            :1,     // - send a message over a socket\n                setgrent                        :1,     // - prepare group file for use\n                sethostent                      :1,     // - prepare hosts file for use\n                setnetent                       :1,     // - prepare networks file for use\n                setpgrp                         :1,     // - set the process group of a process\n                setpriority                     :1,     // - set a process's nice value\n                setprotoent                     :1,     // - prepare protocols file for use\n                setpwent                        :1,     // - prepare passwd file for use\n                setservent                      :1,     // - prepare services file for use\n                setsockopt                      :1,     // - set some socket options\n                shift                           :1,     // - remove the first element of an array, and return it\n                shmctl                          :1,     // - SysV shared memory operations\n                shmget                          :1,     // - get SysV shared memory segment identifier\n                shmread                         :1,     // - read SysV shared memory\n                shmwrite                        :1,     // - write SysV shared memory\n                shutdown                        :1,     // - close down just half of a socket connection\n                'sin'                           :1,     // - return the sine of a number\n                sleep                           :1,     // - block for some number of seconds\n                socket                          :1,     // - create a socket\n                socketpair                      :1,     // - create a pair of sockets\n                'sort'                          :1,     // - sort a list of values\n                splice                          :1,     // - add or remove elements anywhere in an array\n                'split'                         :1,     // - split up a string using a regexp delimiter\n                sprintf                         :1,     // - formatted print into a string\n                'sqrt'                          :1,     // - square root function\n                srand                           :1,     // - seed the random number generator\n                stat                            :1,     // - get a file's status information\n                state                           :1,     // - declare and assign a state variable (persistent lexical scoping)\n                study                           :1,     // - optimize input data for repeated searches\n                'sub'                           :1,     // - declare a subroutine, possibly anonymously\n                'substr'                        :1,     // - get or alter a portion of a stirng\n                symlink                         :1,     // - create a symbolic link to a file\n                syscall                         :1,     // - execute an arbitrary system call\n                sysopen                         :1,     // - open a file, pipe, or descriptor\n                sysread                         :1,     // - fixed-length unbuffered input from a filehandle\n                sysseek                         :1,     // - position I/O pointer on handle used with sysread and syswrite\n                system                          :1,     // - run a separate program\n                syswrite                        :1,     // - fixed-length unbuffered output to a filehandle\n                tell                            :1,     // - get current seekpointer on a filehandle\n                telldir                         :1,     // - get current seekpointer on a directory handle\n                tie                             :1,     // - bind a variable to an object class\n                tied                            :1,     // - get a reference to the object underlying a tied variable\n                time                            :1,     // - return number of seconds since 1970\n                times                           :1,     // - return elapsed time for self and child processes\n                tr                              :null,  // - transliterate a string\n                truncate                        :1,     // - shorten a file\n                uc                              :1,     // - return upper-case version of a string\n                ucfirst                         :1,     // - return a string with just the next letter in upper case\n                umask                           :1,     // - set file creation mode mask\n                undef                           :1,     // - remove a variable or function definition\n                unlink                          :1,     // - remove one link to a file\n                unpack                          :1,     // - convert binary structure into normal perl variables\n                unshift                         :1,     // - prepend more elements to the beginning of a list\n                untie                           :1,     // - break a tie binding to a variable\n                use                             :1,     // - load in a module at compile time\n                utime                           :1,     // - set a file's last access and modify times\n                values                          :1,     // - return a list of the values in a hash\n                vec                             :1,     // - test or set particular bits in a string\n                wait                            :1,     // - wait for any child process to die\n                waitpid                         :1,     // - wait for a particular child process to die\n                wantarray                       :1,     // - get void vs scalar vs list context of current subroutine call\n                warn                            :1,     // - print debugging info\n                when                            :1,     //\n                write                           :1,     // - print a picture record\n                y                               :null}; // - transliterate a string\n\n        var RXstyle=\"string-2\";\n        var RXmodifiers=/[goseximacplud]/;              // NOTE: \"m\", \"s\", \"y\" and \"tr\" need to correct real modifiers for each regexp type\n\n        function tokenChain(stream,state,chain,style,tail){     // NOTE: chain.length > 2 is not working now (it's for s[...][...]geos;)\n                state.chain=null;                               //                                                          12   3tail\n                state.style=null;\n                state.tail=null;\n                state.tokenize=function(stream,state){\n                        var e=false,c,i=0;\n                        while(c=stream.next()){\n                                if(c===chain[i]&&!e){\n                                        if(chain[++i]!==undefined){\n                                                state.chain=chain[i];\n                                                state.style=style;\n                                                state.tail=tail;}\n                                        else if(tail)\n                                                stream.eatWhile(tail);\n                                        state.tokenize=tokenPerl;\n                                        return style;}\n                                e=!e&&c==\"\\\\\";}\n                        return style;};\n                return state.tokenize(stream,state);}\n\n        function tokenSOMETHING(stream,state,string){\n                state.tokenize=function(stream,state){\n                        if(stream.string==string)\n                                state.tokenize=tokenPerl;\n                        stream.skipToEnd();\n                        return \"string\";};\n                return state.tokenize(stream,state);}\n\n        function tokenPerl(stream,state){\n                if(stream.eatSpace())\n                        return null;\n                if(state.chain)\n                        return tokenChain(stream,state,state.chain,state.style,state.tail);\n                if(stream.match(/^\\-?[\\d\\.]/,false))\n                        if(stream.match(/^(\\-?(\\d*\\.\\d+(e[+-]?\\d+)?|\\d+\\.\\d*)|0x[\\da-fA-F]+|0b[01]+|\\d+(e[+-]?\\d+)?)/))\n                                return 'number';\n                if(stream.match(/^<<(?=\\w)/)){                  // NOTE: <<SOMETHING\\n...\\nSOMETHING\\n\n                        stream.eatWhile(/\\w/);\n                        return tokenSOMETHING(stream,state,stream.current().substr(2));}\n                if(stream.sol()&&stream.match(/^\\=item(?!\\w)/)){// NOTE: \\n=item...\\n=cut\\n\n                        return tokenSOMETHING(stream,state,'=cut');}\n                var ch=stream.next();\n                if(ch=='\"'||ch==\"'\"){                           // NOTE: ' or \" or <<'SOMETHING'\\n...\\nSOMETHING\\n or <<\"SOMETHING\"\\n...\\nSOMETHING\\n\n                        if(stream.prefix(3)==\"<<\"+ch){\n                                var p=stream.pos;\n                                stream.eatWhile(/\\w/);\n                                var n=stream.current().substr(1);\n                                if(n&&stream.eat(ch))\n                                        return tokenSOMETHING(stream,state,n);\n                                stream.pos=p;}\n                        return tokenChain(stream,state,[ch],\"string\");}\n                if(ch==\"q\"){\n                        var c=stream.look(-2);\n                        if(!(c&&/\\w/.test(c))){\n                                c=stream.look(0);\n                                if(c==\"x\"){\n                                        c=stream.look(1);\n                                        if(c==\"(\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\")\"],RXstyle,RXmodifiers);}\n                                        if(c==\"[\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\"]\"],RXstyle,RXmodifiers);}\n                                        if(c==\"{\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\"}\"],RXstyle,RXmodifiers);}\n                                        if(c==\"<\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\">\"],RXstyle,RXmodifiers);}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                stream.eatSuffix(1);\n                                                return tokenChain(stream,state,[stream.eat(c)],RXstyle,RXmodifiers);}}\n                                else if(c==\"q\"){\n                                        c=stream.look(1);\n                                        if(c==\"(\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\")\"],\"string\");}\n                                        if(c==\"[\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\"]\"],\"string\");}\n                                        if(c==\"{\"){\nstream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\"}\"],\"string\");}\n                                        if(c==\"<\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\">\"],\"string\");}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                stream.eatSuffix(1);\n                                                return tokenChain(stream,state,[stream.eat(c)],\"string\");}}\n                                else if(c==\"w\"){\n                                        c=stream.look(1);\n                                        if(c==\"(\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\")\"],\"bracket\");}\n                                        if(c==\"[\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\"]\"],\"bracket\");}\n                                        if(c==\"{\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\"}\"],\"bracket\");}\n                                        if(c==\"<\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\">\"],\"bracket\");}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                stream.eatSuffix(1);\n                                                return tokenChain(stream,state,[stream.eat(c)],\"bracket\");}}\n                                else if(c==\"r\"){\n                                        c=stream.look(1);\n                                        if(c==\"(\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\")\"],RXstyle,RXmodifiers);}\n                                        if(c==\"[\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\"]\"],RXstyle,RXmodifiers);}\n                                        if(c==\"{\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\"}\"],RXstyle,RXmodifiers);}\n                                        if(c==\"<\"){\n                                                stream.eatSuffix(2);\n                                                return tokenChain(stream,state,[\">\"],RXstyle,RXmodifiers);}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                stream.eatSuffix(1);\n                                                return tokenChain(stream,state,[stream.eat(c)],RXstyle,RXmodifiers);}}\n                                else if(/[\\^'\"!~\\/(\\[{<]/.test(c)){\n                                        if(c==\"(\"){\n                                                stream.eatSuffix(1);\n                                                return tokenChain(stream,state,[\")\"],\"string\");}\n                                        if(c==\"[\"){\n                                                stream.eatSuffix(1);\n                                                return tokenChain(stream,state,[\"]\"],\"string\");}\n                                        if(c==\"{\"){\n                                                stream.eatSuffix(1);\n                                                return tokenChain(stream,state,[\"}\"],\"string\");}\n                                        if(c==\"<\"){\n                                                stream.eatSuffix(1);\n                                                return tokenChain(stream,state,[\">\"],\"string\");}\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                return tokenChain(stream,state,[stream.eat(c)],\"string\");}}}}\n                if(ch==\"m\"){\n                        var c=stream.look(-2);\n                        if(!(c&&/\\w/.test(c))){\n                                c=stream.eat(/[(\\[{<\\^'\"!~\\/]/);\n                                if(c){\n                                        if(/[\\^'\"!~\\/]/.test(c)){\n                                                return tokenChain(stream,state,[c],RXstyle,RXmodifiers);}\n                                        if(c==\"(\"){\n                                                return tokenChain(stream,state,[\")\"],RXstyle,RXmodifiers);}\n                                        if(c==\"[\"){\n                                                return tokenChain(stream,state,[\"]\"],RXstyle,RXmodifiers);}\n                                        if(c==\"{\"){\n                                                return tokenChain(stream,state,[\"}\"],RXstyle,RXmodifiers);}\n                                        if(c==\"<\"){\n                                                return tokenChain(stream,state,[\">\"],RXstyle,RXmodifiers);}}}}\n                if(ch==\"s\"){\n                        var c=/[\\/>\\]})\\w]/.test(stream.look(-2));\n                        if(!c){\n                                c=stream.eat(/[(\\[{<\\^'\"!~\\/]/);\n                                if(c){\n                                        if(c==\"[\")\n                                                return tokenChain(stream,state,[\"]\",\"]\"],RXstyle,RXmodifiers);\n                                        if(c==\"{\")\n                                                return tokenChain(stream,state,[\"}\",\"}\"],RXstyle,RXmodifiers);\n                                        if(c==\"<\")\n                                                return tokenChain(stream,state,[\">\",\">\"],RXstyle,RXmodifiers);\n                                        if(c==\"(\")\n                                                return tokenChain(stream,state,[\")\",\")\"],RXstyle,RXmodifiers);\n                                        return tokenChain(stream,state,[c,c],RXstyle,RXmodifiers);}}}\n                if(ch==\"y\"){\n                        var c=/[\\/>\\]})\\w]/.test(stream.look(-2));\n                        if(!c){\n                                c=stream.eat(/[(\\[{<\\^'\"!~\\/]/);\n                                if(c){\n                                        if(c==\"[\")\n                                                return tokenChain(stream,state,[\"]\",\"]\"],RXstyle,RXmodifiers);\n                                        if(c==\"{\")\n                                                return tokenChain(stream,state,[\"}\",\"}\"],RXstyle,RXmodifiers);\n                                        if(c==\"<\")\n                                                return tokenChain(stream,state,[\">\",\">\"],RXstyle,RXmodifiers);\n                                        if(c==\"(\")\n                                                return tokenChain(stream,state,[\")\",\")\"],RXstyle,RXmodifiers);\n                                        return tokenChain(stream,state,[c,c],RXstyle,RXmodifiers);}}}\n                if(ch==\"t\"){\n                        var c=/[\\/>\\]})\\w]/.test(stream.look(-2));\n                        if(!c){\n                                c=stream.eat(\"r\");if(c){\n                                c=stream.eat(/[(\\[{<\\^'\"!~\\/]/);\n                                if(c){\n                                        if(c==\"[\")\n                                                return tokenChain(stream,state,[\"]\",\"]\"],RXstyle,RXmodifiers);\n                                        if(c==\"{\")\n                                                return tokenChain(stream,state,[\"}\",\"}\"],RXstyle,RXmodifiers);\n                                        if(c==\"<\")\n                                                return tokenChain(stream,state,[\">\",\">\"],RXstyle,RXmodifiers);\n                                        if(c==\"(\")\n                                                return tokenChain(stream,state,[\")\",\")\"],RXstyle,RXmodifiers);\n                                        return tokenChain(stream,state,[c,c],RXstyle,RXmodifiers);}}}}\n                if(ch==\"`\"){\n                        return tokenChain(stream,state,[ch],\"variable-2\");}\n                if(ch==\"/\"){\n                        if(!/~\\s*$/.test(stream.prefix()))\n                                return \"operator\";\n                        else\n                                return tokenChain(stream,state,[ch],RXstyle,RXmodifiers);}\n                if(ch==\"$\"){\n                        var p=stream.pos;\n                        if(stream.eatWhile(/\\d/)||stream.eat(\"{\")&&stream.eatWhile(/\\d/)&&stream.eat(\"}\"))\n                                return \"variable-2\";\n                        else\n                                stream.pos=p;}\n                if(/[$@%]/.test(ch)){\n                        var p=stream.pos;\n                        if(stream.eat(\"^\")&&stream.eat(/[A-Z]/)||!/[@$%&]/.test(stream.look(-2))&&stream.eat(/[=|\\\\\\-#?@;:&`~\\^!\\[\\]*'\"$+.,\\/<>()]/)){\n                                var c=stream.current();\n                                if(PERL[c])\n                                        return \"variable-2\";}\n                        stream.pos=p;}\n                if(/[$@%&]/.test(ch)){\n                        if(stream.eatWhile(/[\\w$\\[\\]]/)||stream.eat(\"{\")&&stream.eatWhile(/[\\w$\\[\\]]/)&&stream.eat(\"}\")){\n                                var c=stream.current();\n                                if(PERL[c])\n                                        return \"variable-2\";\n                                else\n                                        return \"variable\";}}\n                if(ch==\"#\"){\n                        if(stream.look(-2)!=\"$\"){\n                                stream.skipToEnd();\n                                return \"comment\";}}\n                if(/[:+\\-\\^*$&%@=<>!?|\\/~\\.]/.test(ch)){\n                        var p=stream.pos;\n                        stream.eatWhile(/[:+\\-\\^*$&%@=<>!?|\\/~\\.]/);\n                        if(PERL[stream.current()])\n                                return \"operator\";\n                        else\n                                stream.pos=p;}\n                if(ch==\"_\"){\n                        if(stream.pos==1){\n                                if(stream.suffix(6)==\"_END__\"){\n                                        return tokenChain(stream,state,['\\0'],\"comment\");}\n                                else if(stream.suffix(7)==\"_DATA__\"){\n                                        return tokenChain(stream,state,['\\0'],\"variable-2\");}\n                                else if(stream.suffix(7)==\"_C__\"){\n                                        return tokenChain(stream,state,['\\0'],\"string\");}}}\n                if(/\\w/.test(ch)){\n                        var p=stream.pos;\n                        if(stream.look(-2)==\"{\"&&(stream.look(0)==\"}\"||stream.eatWhile(/\\w/)&&stream.look(0)==\"}\"))\n                                return \"string\";\n                        else\n                                stream.pos=p;}\n                if(/[A-Z]/.test(ch)){\n                        var l=stream.look(-2);\n                        var p=stream.pos;\n                        stream.eatWhile(/[A-Z_]/);\n                        if(/[\\da-z]/.test(stream.look(0))){\n                                stream.pos=p;}\n                        else{\n                                var c=PERL[stream.current()];\n                                if(!c)\n                                        return \"meta\";\n                                if(c[1])\n                                        c=c[0];\n                                if(l!=\":\"){\n                                        if(c==1)\n                                                return \"keyword\";\n                                        else if(c==2)\n                                                return \"def\";\n                                        else if(c==3)\n                                                return \"atom\";\n                                        else if(c==4)\n                                                return \"operator\";\n                                        else if(c==5)\n                                                return \"variable-2\";\n                                        else\n                                                return \"meta\";}\n                                else\n                                        return \"meta\";}}\n                if(/[a-zA-Z_]/.test(ch)){\n                        var l=stream.look(-2);\n                        stream.eatWhile(/\\w/);\n                        var c=PERL[stream.current()];\n                        if(!c)\n                                return \"meta\";\n                        if(c[1])\n                                c=c[0];\n                        if(l!=\":\"){\n                                if(c==1)\n                                        return \"keyword\";\n                                else if(c==2)\n                                        return \"def\";\n                                else if(c==3)\n                                        return \"atom\";\n                                else if(c==4)\n                                        return \"operator\";\n                                else if(c==5)\n                                        return \"variable-2\";\n                                else\n                                        return \"meta\";}\n                        else\n                                return \"meta\";}\n                return null;}\n\n        return{\n                startState:function(){\n                        return{\n                                tokenize:tokenPerl,\n                                chain:null,\n                                style:null,\n                                tail:null};},\n                token:function(stream,state){\n                        return (state.tokenize||tokenPerl)(stream,state);},\n                electricChars:\"{}\"};});\n\nCodeMirror.defineMIME(\"text/x-perl\", \"perl\");\n\n// it's like \"peek\", but need for look-ahead or look-behind if index < 0\nCodeMirror.StringStream.prototype.look=function(c){\n        return this.string.charAt(this.pos+(c||0));};\n\n// return a part of prefix of current stream from current position\nCodeMirror.StringStream.prototype.prefix=function(c){\n        if(c){\n                var x=this.pos-c;\n                return this.string.substr((x>=0?x:0),c);}\n        else{\n                return this.string.substr(0,this.pos-1);}};\n\n// return a part of suffix of current stream from current position\nCodeMirror.StringStream.prototype.suffix=function(c){\n        var y=this.string.length;\n        var x=y-this.pos+1;\n        return this.string.substr(this.pos,(c&&c<y?c:x));};\n\n// return a part of suffix of current stream from current position and change current position\nCodeMirror.StringStream.prototype.nsuffix=function(c){\n        var p=this.pos;\n        var l=c||(this.string.length-this.pos+1);\n        this.pos+=l;\n        return this.string.substr(p,l);};\n\n// eating and vomiting a part of stream from current position\nCodeMirror.StringStream.prototype.eatSuffix=function(c){\n        var x=this.pos+c;\n        var y;\n        if(x<=0)\n                this.pos=0;\n        else if(x>=(y=this.string.length-1))\n                this.pos=y;\n        else\n                this.pos=x;};\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/php/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: PHP mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"../htmlmixed/htmlmixed.js\"></script>\n<script src=\"../xml/xml.js\"></script>\n<script src=\"../javascript/javascript.js\"></script>\n<script src=\"../css/css.js\"></script>\n<script src=\"../clike/clike.js\"></script>\n<script src=\"php.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">PHP</a>\n  </ul>\n</div>\n\n<article>\n<h2>PHP mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n<?php\nfunction hello($who) {\n\treturn \"Hello \" . $who;\n}\n?>\n<p>The program says <?= hello(\"World\") ?>.</p>\n<script>\n\talert(\"And here is some JS code\"); // also colored\n</script>\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"application/x-httpd-php\",\n        indentUnit: 4,\n        indentWithTabs: true,\n        enterMode: \"keep\",\n        tabMode: \"shift\"\n      });\n    </script>\n\n    <p>Simple HTML/PHP mode based on\n    the <a href=\"../clike/\">C-like</a> mode. Depends on XML,\n    JavaScript, CSS, HTMLMixed, and C-like modes.</p>\n\n    <p><strong>MIME types defined:</strong> <code>application/x-httpd-php</code> (HTML with PHP code), <code>text/x-php</code> (plain, non-wrapped PHP code).</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/php/php.js",
    "content": "(function() {\n  function keywords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  function heredoc(delim) {\n    return function(stream, state) {\n      if (stream.match(delim)) state.tokenize = null;\n      else stream.skipToEnd();\n      return \"string\";\n    };\n  }\n  var phpConfig = {\n    name: \"clike\",\n    keywords: keywords(\"abstract and array as break case catch class clone const continue declare default \" +\n                       \"do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final \" +\n                       \"for foreach function global goto if implements interface instanceof namespace \" +\n                       \"new or private protected public static switch throw trait try use var while xor \" +\n                       \"die echo empty exit eval include include_once isset list require require_once return \" +\n                       \"print unset __halt_compiler self static parent yield insteadof finally\"),\n    blockKeywords: keywords(\"catch do else elseif for foreach if switch try while finally\"),\n    atoms: keywords(\"true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__\"),\n    builtin: keywords(\"func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once\"),\n    multiLineStrings: true,\n    hooks: {\n      \"$\": function(stream) {\n        stream.eatWhile(/[\\w\\$_]/);\n        return \"variable-2\";\n      },\n      \"<\": function(stream, state) {\n        if (stream.match(/<</)) {\n          stream.eatWhile(/[\\w\\.]/);\n          state.tokenize = heredoc(stream.current().slice(3));\n          return state.tokenize(stream, state);\n        }\n        return false;\n      },\n      \"#\": function(stream) {\n        while (!stream.eol() && !stream.match(\"?>\", false)) stream.next();\n        return \"comment\";\n      },\n      \"/\": function(stream) {\n        if (stream.eat(\"/\")) {\n          while (!stream.eol() && !stream.match(\"?>\", false)) stream.next();\n          return \"comment\";\n        }\n        return false;\n      }\n    }\n  };\n\n  CodeMirror.defineMode(\"php\", function(config, parserConfig) {\n    var htmlMode = CodeMirror.getMode(config, \"text/html\");\n    var phpMode = CodeMirror.getMode(config, phpConfig);\n\n    function dispatch(stream, state) {\n      var isPHP = state.curMode == phpMode;\n      if (stream.sol() && state.pending != '\"') state.pending = null;\n      if (!isPHP) {\n        if (stream.match(/^<\\?\\w*/)) {\n          state.curMode = phpMode;\n          state.curState = state.php;\n          return \"meta\";\n        }\n        if (state.pending == '\"') {\n          while (!stream.eol() && stream.next() != '\"') {}\n          var style = \"string\";\n        } else if (state.pending && stream.pos < state.pending.end) {\n          stream.pos = state.pending.end;\n          var style = state.pending.style;\n        } else {\n          var style = htmlMode.token(stream, state.curState);\n        }\n        state.pending = null;\n        var cur = stream.current(), openPHP = cur.search(/<\\?/);\n        if (openPHP != -1) {\n          if (style == \"string\" && /\\\"$/.test(cur) && !/\\?>/.test(cur)) state.pending = '\"';\n          else state.pending = {end: stream.pos, style: style};\n          stream.backUp(cur.length - openPHP);\n        }\n        return style;\n      } else if (isPHP && state.php.tokenize == null && stream.match(\"?>\")) {\n        state.curMode = htmlMode;\n        state.curState = state.html;\n        return \"meta\";\n      } else {\n        return phpMode.token(stream, state.curState);\n      }\n    }\n\n    return {\n      startState: function() {\n        var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode);\n        return {html: html,\n                php: php,\n                curMode: parserConfig.startOpen ? phpMode : htmlMode,\n                curState: parserConfig.startOpen ? php : html,\n                pending: null};\n      },\n\n      copyState: function(state) {\n        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),\n            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;\n        if (state.curMode == htmlMode) cur = htmlNew;\n        else cur = phpNew;\n        return {html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur,\n                pending: state.pending};\n      },\n\n      token: dispatch,\n\n      indent: function(state, textAfter) {\n        if ((state.curMode != phpMode && /^\\s*<\\//.test(textAfter)) ||\n            (state.curMode == phpMode && /^\\?>/.test(textAfter)))\n          return htmlMode.indent(state.html, textAfter);\n        return state.curMode.indent(state.curState, textAfter);\n      },\n\n      electricChars: \"/{}:\",\n      blockCommentStart: \"/*\",\n      blockCommentEnd: \"*/\",\n      lineComment: \"//\",\n\n      innerMode: function(state) { return {state: state.curState, mode: state.curMode}; }\n    };\n  }, \"htmlmixed\", \"clike\");\n\n  CodeMirror.defineMIME(\"application/x-httpd-php\", \"php\");\n  CodeMirror.defineMIME(\"application/x-httpd-php-open\", {name: \"php\", startOpen: true});\n  CodeMirror.defineMIME(\"text/x-php\", phpConfig);\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/pig/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Pig Latin mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"pig.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Pig Latin</a>\n  </ul>\n</div>\n\n<article>\n<h2>Pig Latin mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n-- Apache Pig (Pig Latin Language) Demo\n/* \nThis is a multiline comment.\n*/\na = LOAD \"\\path\\to\\input\" USING PigStorage('\\t') AS (x:long, y:chararray, z:bytearray);\nb = GROUP a BY (x,y,3+4);\nc = FOREACH b GENERATE flatten(group) as (x,y), SUM(group.$2) as z;\nSTORE c INTO \"\\path\\to\\output\";\n\n--\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        indentUnit: 4,\n        mode: \"text/x-pig\"\n      });\n    </script>\n\n    <p>\n        Simple mode that handles Pig Latin language.\n    </p>\n\n    <p><strong>MIME type defined:</strong> <code>text/x-pig</code>\n    (PIG code)\n</html>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/pig/pig.js",
    "content": "/*\n *      Pig Latin Mode for CodeMirror 2\n *      @author Prasanth Jayachandran\n *      @link   https://github.com/prasanthj/pig-codemirror-2\n *  This implementation is adapted from PL/SQL mode in CodeMirror 2.\n */\nCodeMirror.defineMode(\"pig\", function(_config, parserConfig) {\n  var keywords = parserConfig.keywords,\n  builtins = parserConfig.builtins,\n  types = parserConfig.types,\n  multiLineStrings = parserConfig.multiLineStrings;\n\n  var isOperatorChar = /[*+\\-%<>=&?:\\/!|]/;\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  var type;\n  function ret(tp, style) {\n    type = tp;\n    return style;\n  }\n\n  function tokenComment(stream, state) {\n    var isEnd = false;\n    var ch;\n    while(ch = stream.next()) {\n      if(ch == \"/\" && isEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      isEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n          end = true; break;\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = tokenBase;\n      return ret(\"string\", \"error\");\n    };\n  }\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    // is a start of string?\n    if (ch == '\"' || ch == \"'\")\n      return chain(stream, state, tokenString(ch));\n    // is it one of the special chars\n    else if(/[\\[\\]{}\\(\\),;\\.]/.test(ch))\n      return ret(ch);\n    // is it a number?\n    else if(/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w\\.]/);\n      return ret(\"number\", \"number\");\n    }\n    // multi line comment or operator\n    else if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        return chain(stream, state, tokenComment);\n      }\n      else {\n        stream.eatWhile(isOperatorChar);\n        return ret(\"operator\", \"operator\");\n      }\n    }\n    // single line comment or operator\n    else if (ch==\"-\") {\n      if(stream.eat(\"-\")){\n        stream.skipToEnd();\n        return ret(\"comment\", \"comment\");\n      }\n      else {\n        stream.eatWhile(isOperatorChar);\n        return ret(\"operator\", \"operator\");\n      }\n    }\n    // is it an operator\n    else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return ret(\"operator\", \"operator\");\n    }\n    else {\n      // get the while word\n      stream.eatWhile(/[\\w\\$_]/);\n      // is it one of the listed keywords?\n      if (keywords && keywords.propertyIsEnumerable(stream.current().toUpperCase())) {\n        if (stream.eat(\")\") || stream.eat(\".\")) {\n          //keywords can be used as variables like flatten(group), group.$0 etc..\n        }\n        else {\n          return (\"keyword\", \"keyword\");\n        }\n      }\n      // is it one of the builtin functions?\n      if (builtins && builtins.propertyIsEnumerable(stream.current().toUpperCase()))\n      {\n        return (\"keyword\", \"variable-2\");\n      }\n      // is it one of the listed types?\n      if (types && types.propertyIsEnumerable(stream.current().toUpperCase()))\n        return (\"keyword\", \"variable-3\");\n      // default is a 'variable'\n      return ret(\"variable\", \"pig-word\");\n    }\n  }\n\n  // Interface\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      if(stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      return style;\n    }\n  };\n});\n\n(function() {\n  function keywords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  // builtin funcs taken from trunk revision 1303237\n  var pBuiltins = \"ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL \"\n    + \"CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS \"\n    + \"DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG \"\n    + \"FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN \"\n    + \"INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER \"\n    + \"ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS \"\n    + \"LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA  \"\n    + \"PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE \"\n    + \"SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG \"\n    + \"TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER \";\n\n  // taken from QueryLexer.g\n  var pKeywords = \"VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP \"\n    + \"JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL \"\n    + \"PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE \"\n    + \"SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE \"\n    + \"NEQ MATCHES TRUE FALSE DUMP\";\n\n  // data types\n  var pTypes = \"BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP \";\n\n  CodeMirror.defineMIME(\"text/x-pig\", {\n    name: \"pig\",\n    builtins: keywords(pBuiltins),\n    keywords: keywords(pKeywords),\n    types: keywords(pTypes)\n  });\n}());\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/properties/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Properties files mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"properties.js\"></script>\n<style>.CodeMirror {border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Properties files</a>\n  </ul>\n</div>\n\n<article>\n<h2>Properties files mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# This is a properties file\na.key = A value\nanother.key = http://example.com\n! Exclamation mark as comment\nbut.not=Within ! A value # indeed\n   # Spaces at the beginning of a line\n   spaces.before.key=value\nbackslash=Used for multi\\\n          line entries,\\\n          that's convenient.\n# Unicode sequences\nunicode.key=This is \\u0020 Unicode\nno.multiline=here\n# Colons\ncolons : can be used too\n# Spaces\nspaces\\ in\\ keys=Not very common...\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-properties</code>,\n    <code>text/x-ini</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/properties/properties.js",
    "content": "CodeMirror.defineMode(\"properties\", function() {\n  return {\n    token: function(stream, state) {\n      var sol = stream.sol() || state.afterSection;\n      var eol = stream.eol();\n\n      state.afterSection = false;\n\n      if (sol) {\n        if (state.nextMultiline) {\n          state.inMultiline = true;\n          state.nextMultiline = false;\n        } else {\n          state.position = \"def\";\n        }\n      }\n\n      if (eol && ! state.nextMultiline) {\n        state.inMultiline = false;\n        state.position = \"def\";\n      }\n\n      if (sol) {\n        while(stream.eatSpace());\n      }\n\n      var ch = stream.next();\n\n      if (sol && (ch === \"#\" || ch === \"!\" || ch === \";\")) {\n        state.position = \"comment\";\n        stream.skipToEnd();\n        return \"comment\";\n      } else if (sol && ch === \"[\") {\n        state.afterSection = true;\n        stream.skipTo(\"]\"); stream.eat(\"]\");\n        return \"header\";\n      } else if (ch === \"=\" || ch === \":\") {\n        state.position = \"quote\";\n        return null;\n      } else if (ch === \"\\\\\" && state.position === \"quote\") {\n        if (stream.next() !== \"u\") {    // u = Unicode sequence \\u1234\n          // Multiline value\n          state.nextMultiline = true;\n        }\n      }\n\n      return state.position;\n    },\n\n    startState: function() {\n      return {\n        position : \"def\",       // Current position, \"def\", \"quote\" or \"comment\"\n        nextMultiline : false,  // Is the next line multiline value\n        inMultiline : false,    // Is the current line a multiline value\n        afterSection : false    // Did we just open a section\n      };\n    }\n\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-properties\", \"properties\");\nCodeMirror.defineMIME(\"text/x-ini\", \"properties\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/python/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Python mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"python.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Python</a>\n  </ul>\n</div>\n\n<article>\n<h2>Python mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n# Literals\n1234\n0.0e101\n.123\n0b01010011100\n0o01234567\n0x0987654321abcdef\n7\n2147483647\n3L\n79228162514264337593543950336L\n0x100000000L\n79228162514264337593543950336\n0xdeadbeef\n3.14j\n10.j\n10j\n.001j\n1e100j\n3.14e-10j\n\n\n# String Literals\n'For\\''\n\"God\\\"\"\n\"\"\"so loved\nthe world\"\"\"\n'''that he gave\nhis only begotten\\' '''\n'that whosoever believeth \\\nin him'\n''\n\n# Identifiers\n__a__\na.b\na.b.c\n\n# Operators\n+ - * / % & | ^ ~ < >\n== != <= >= <> << >> // **\nand or not in is\n\n# Delimiters\n() [] {} , : ` = ; @ .  # Note that @ and . require the proper context.\n+= -= *= /= %= &= |= ^=\n//= >>= <<= **=\n\n# Keywords\nas assert break class continue def del elif else except\nfinally for from global if import lambda pass raise\nreturn try while with yield\n\n# Python 2 Keywords (otherwise Identifiers)\nexec print\n\n# Python 3 Keywords (otherwise Identifiers)\nnonlocal\n\n# Types\nbool classmethod complex dict enumerate float frozenset int list object\nproperty reversed set slice staticmethod str super tuple type\n\n# Python 2 Types (otherwise Identifiers)\nbasestring buffer file long unicode xrange\n\n# Python 3 Types (otherwise Identifiers)\nbytearray bytes filter map memoryview open range zip\n\n# Some Example code\nimport os\nfrom package import ParentClass\n\n@nonsenseDecorator\ndef doesNothing():\n    pass\n\nclass ExampleClass(ParentClass):\n    @staticmethod\n    def example(inputStr):\n        a = list(inputStr)\n        a.reverse()\n        return ''.join(a)\n\n    def __init__(self, mixin = 'Hello'):\n        self.mixin = mixin\n\n</textarea></div>\n\n\n<h2>Cython mode</h2>\n\n<div><textarea id=\"code-cython\" name=\"code-cython\">\n\nimport numpy as np\ncimport cython\nfrom libc.math cimport sqrt\n\n@cython.boundscheck(False)\n@cython.wraparound(False)\ndef pairwise_cython(double[:, ::1] X):\n    cdef int M = X.shape[0]\n    cdef int N = X.shape[1]\n    cdef double tmp, d\n    cdef double[:, ::1] D = np.empty((M, M), dtype=np.float64)\n    for i in range(M):\n        for j in range(M):\n            d = 0.0\n            for k in range(N):\n                tmp = X[i, k] - X[j, k]\n                d += tmp * tmp\n            D[i, j] = sqrt(d)\n    return np.asarray(D)\n\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"python\",\n               version: 2,\n               singleLineStringErrors: false},\n        lineNumbers: true,\n        indentUnit: 4,\n        tabMode: \"shift\",\n        matchBrackets: true\n    });\n\n    CodeMirror.fromTextArea(document.getElementById(\"code-cython\"), {\n        mode: {name: \"text/x-cython\",\n               version: 2,\n               singleLineStringErrors: false},\n        lineNumbers: true,\n        indentUnit: 4,\n        tabMode: \"shift\",\n        matchBrackets: true\n      });\n    </script>\n    <h2>Configuration Options for Python mode:</h2>\n    <ul>\n      <li>version - 2/3 - The version of Python to recognize.  Default is 2.</li>\n      <li>singleLineStringErrors - true/false - If you have a single-line string that is not terminated at the end of the line, this will show subsequent lines as errors if true, otherwise it will consider the newline as the end of the string. Default is false.</li>\n    </ul>\n    <h2>Advanced Configuration Options:</h2>\n    <p>Usefull for superset of python syntax like Enthought enaml, IPython magics and  questionmark help</p>\n    <ul>\n      <li>singleOperators - RegEx - Regular Expression for single operator matching,  default : <pre>^[\\\\+\\\\-\\\\*/%&amp;|\\\\^~&lt;&gt;!]</pre></li>\n      <li>singleDelimiters - RegEx - Regular Expression for single delimiter matching, default :  <pre>^[\\\\(\\\\)\\\\[\\\\]\\\\{\\\\}@,:`=;\\\\.]</pre></li>\n      <li>doubleOperators - RegEx - Regular Expression for double operators matching, default : <pre>^((==)|(!=)|(&lt;=)|(&gt;=)|(&lt;&gt;)|(&lt;&lt;)|(&gt;&gt;)|(//)|(\\\\*\\\\*))</pre></li>\n      <li>doubleDelimiters - RegEx - Regular Expressoin for double delimiters matching, default : <pre>^((\\\\+=)|(\\\\-=)|(\\\\*=)|(%=)|(/=)|(&amp;=)|(\\\\|=)|(\\\\^=))</pre></li>\n      <li>tripleDelimiters - RegEx - Regular Expression for triple delimiters matching, default : <pre>^((//=)|(&gt;&gt;=)|(&lt;&lt;=)|(\\\\*\\\\*=))</pre></li>\n      <li>identifiers - RegEx - Regular Expression for identifier, default : <pre>^[_A-Za-z][_A-Za-z0-9]*</pre></li>\n      <li>extra_keywords - list of string - List of extra words ton consider as keywords</li>\n      <li>extra_builtins - list of string - List of extra words ton consider as builtins</li>\n    </ul>\n\n\n    <p><strong>MIME types defined:</strong> <code>text/x-python</code> and <code>text/x-cython</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/python/python.js",
    "content": "CodeMirror.defineMode(\"python\", function(conf, parserConf) {\n    var ERRORCLASS = 'error';\n\n    function wordRegexp(words) {\n        return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\");\n    }\n\n    var singleOperators = parserConf.singleOperators || new RegExp(\"^[\\\\+\\\\-\\\\*/%&|\\\\^~<>!]\");\n    var singleDelimiters = parserConf.singleDelimiters || new RegExp('^[\\\\(\\\\)\\\\[\\\\]\\\\{\\\\}@,:`=;\\\\.]');\n    var doubleOperators = parserConf.doubleOperators || new RegExp(\"^((==)|(!=)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\\\*\\\\*))\");\n    var doubleDelimiters = parserConf.doubleDelimiters || new RegExp(\"^((\\\\+=)|(\\\\-=)|(\\\\*=)|(%=)|(/=)|(&=)|(\\\\|=)|(\\\\^=))\");\n    var tripleDelimiters = parserConf.tripleDelimiters || new RegExp(\"^((//=)|(>>=)|(<<=)|(\\\\*\\\\*=))\");\n    var identifiers = parserConf.identifiers|| new RegExp(\"^[_A-Za-z][_A-Za-z0-9]*\");\n\n    var wordOperators = wordRegexp(['and', 'or', 'not', 'is', 'in']);\n    var commonkeywords = ['as', 'assert', 'break', 'class', 'continue',\n                          'def', 'del', 'elif', 'else', 'except', 'finally',\n                          'for', 'from', 'global', 'if', 'import',\n                          'lambda', 'pass', 'raise', 'return',\n                          'try', 'while', 'with', 'yield'];\n    var commonBuiltins = ['abs', 'all', 'any', 'bin', 'bool', 'bytearray', 'callable', 'chr',\n                          'classmethod', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod',\n                          'enumerate', 'eval', 'filter', 'float', 'format', 'frozenset',\n                          'getattr', 'globals', 'hasattr', 'hash', 'help', 'hex', 'id',\n                          'input', 'int', 'isinstance', 'issubclass', 'iter', 'len',\n                          'list', 'locals', 'map', 'max', 'memoryview', 'min', 'next',\n                          'object', 'oct', 'open', 'ord', 'pow', 'property', 'range',\n                          'repr', 'reversed', 'round', 'set', 'setattr', 'slice',\n                          'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple',\n                          'type', 'vars', 'zip', '__import__', 'NotImplemented',\n                          'Ellipsis', '__debug__'];\n    var py2 = {'builtins': ['apply', 'basestring', 'buffer', 'cmp', 'coerce', 'execfile',\n                            'file', 'intern', 'long', 'raw_input', 'reduce', 'reload',\n                            'unichr', 'unicode', 'xrange', 'False', 'True', 'None'],\n               'keywords': ['exec', 'print']};\n    var py3 = {'builtins': ['ascii', 'bytes', 'exec', 'print'],\n               'keywords': ['nonlocal', 'False', 'True', 'None']};\n\n    if(parserConf.extra_keywords != undefined){\n        commonkeywords = commonkeywords.concat(parserConf.extra_keywords);\n    }\n    if(parserConf.extra_builtins != undefined){\n        commonBuiltins = commonBuiltins.concat(parserConf.extra_builtins);\n    }\n    if (!!parserConf.version && parseInt(parserConf.version, 10) === 3) {\n        commonkeywords = commonkeywords.concat(py3.keywords);\n        commonBuiltins = commonBuiltins.concat(py3.builtins);\n        var stringPrefixes = new RegExp(\"^(([rb]|(br))?('{3}|\\\"{3}|['\\\"]))\", \"i\");\n    } else {\n        commonkeywords = commonkeywords.concat(py2.keywords);\n        commonBuiltins = commonBuiltins.concat(py2.builtins);\n        var stringPrefixes = new RegExp(\"^(([rub]|(ur)|(br))?('{3}|\\\"{3}|['\\\"]))\", \"i\");\n    }\n    var keywords = wordRegexp(commonkeywords);\n    var builtins = wordRegexp(commonBuiltins);\n\n    var indentInfo = null;\n\n    // tokenizers\n    function tokenBase(stream, state) {\n        // Handle scope changes\n        if (stream.sol()) {\n            var scopeOffset = state.scopes[0].offset;\n            if (stream.eatSpace()) {\n                var lineOffset = stream.indentation();\n                if (lineOffset > scopeOffset) {\n                    indentInfo = 'indent';\n                } else if (lineOffset < scopeOffset) {\n                    indentInfo = 'dedent';\n                }\n                return null;\n            } else {\n                if (scopeOffset > 0) {\n                    dedent(stream, state);\n                }\n            }\n        }\n        if (stream.eatSpace()) {\n            return null;\n        }\n\n        var ch = stream.peek();\n\n        // Handle Comments\n        if (ch === '#') {\n            stream.skipToEnd();\n            return 'comment';\n        }\n\n        // Handle Number Literals\n        if (stream.match(/^[0-9\\.]/, false)) {\n            var floatLiteral = false;\n            // Floats\n            if (stream.match(/^\\d*\\.\\d+(e[\\+\\-]?\\d+)?/i)) { floatLiteral = true; }\n            if (stream.match(/^\\d+\\.\\d*/)) { floatLiteral = true; }\n            if (stream.match(/^\\.\\d+/)) { floatLiteral = true; }\n            if (floatLiteral) {\n                // Float literals may be \"imaginary\"\n                stream.eat(/J/i);\n                return 'number';\n            }\n            // Integers\n            var intLiteral = false;\n            // Hex\n            if (stream.match(/^0x[0-9a-f]+/i)) { intLiteral = true; }\n            // Binary\n            if (stream.match(/^0b[01]+/i)) { intLiteral = true; }\n            // Octal\n            if (stream.match(/^0o[0-7]+/i)) { intLiteral = true; }\n            // Decimal\n            if (stream.match(/^[1-9]\\d*(e[\\+\\-]?\\d+)?/)) {\n                // Decimal literals may be \"imaginary\"\n                stream.eat(/J/i);\n                // TODO - Can you have imaginary longs?\n                intLiteral = true;\n            }\n            // Zero by itself with no other piece of number.\n            if (stream.match(/^0(?![\\dx])/i)) { intLiteral = true; }\n            if (intLiteral) {\n                // Integer literals may be \"long\"\n                stream.eat(/L/i);\n                return 'number';\n            }\n        }\n\n        // Handle Strings\n        if (stream.match(stringPrefixes)) {\n            state.tokenize = tokenStringFactory(stream.current());\n            return state.tokenize(stream, state);\n        }\n\n        // Handle operators and Delimiters\n        if (stream.match(tripleDelimiters) || stream.match(doubleDelimiters)) {\n            return null;\n        }\n        if (stream.match(doubleOperators)\n            || stream.match(singleOperators)\n            || stream.match(wordOperators)) {\n            return 'operator';\n        }\n        if (stream.match(singleDelimiters)) {\n            return null;\n        }\n\n        if (stream.match(keywords)) {\n            return 'keyword';\n        }\n\n        if (stream.match(builtins)) {\n            return 'builtin';\n        }\n\n        if (stream.match(identifiers)) {\n            if (state.lastToken == 'def' || state.lastToken == 'class') {\n                return 'def';\n            }\n            return 'variable';\n        }\n\n        // Handle non-detected items\n        stream.next();\n        return ERRORCLASS;\n    }\n\n    function tokenStringFactory(delimiter) {\n        while ('rub'.indexOf(delimiter.charAt(0).toLowerCase()) >= 0) {\n            delimiter = delimiter.substr(1);\n        }\n        var singleline = delimiter.length == 1;\n        var OUTCLASS = 'string';\n\n        function tokenString(stream, state) {\n            while (!stream.eol()) {\n                stream.eatWhile(/[^'\"\\\\]/);\n                if (stream.eat('\\\\')) {\n                    stream.next();\n                    if (singleline && stream.eol()) {\n                        return OUTCLASS;\n                    }\n                } else if (stream.match(delimiter)) {\n                    state.tokenize = tokenBase;\n                    return OUTCLASS;\n                } else {\n                    stream.eat(/['\"]/);\n                }\n            }\n            if (singleline) {\n                if (parserConf.singleLineStringErrors) {\n                    return ERRORCLASS;\n                } else {\n                    state.tokenize = tokenBase;\n                }\n            }\n            return OUTCLASS;\n        }\n        tokenString.isString = true;\n        return tokenString;\n    }\n\n    function indent(stream, state, type) {\n        type = type || 'py';\n        var indentUnit = 0;\n        if (type === 'py') {\n            if (state.scopes[0].type !== 'py') {\n                state.scopes[0].offset = stream.indentation();\n                return;\n            }\n            for (var i = 0; i < state.scopes.length; ++i) {\n                if (state.scopes[i].type === 'py') {\n                    indentUnit = state.scopes[i].offset + conf.indentUnit;\n                    break;\n                }\n            }\n        } else {\n            indentUnit = stream.column() + stream.current().length;\n        }\n        state.scopes.unshift({\n            offset: indentUnit,\n            type: type\n        });\n    }\n\n    function dedent(stream, state, type) {\n        type = type || 'py';\n        if (state.scopes.length == 1) return;\n        if (state.scopes[0].type === 'py') {\n            var _indent = stream.indentation();\n            var _indent_index = -1;\n            for (var i = 0; i < state.scopes.length; ++i) {\n                if (_indent === state.scopes[i].offset) {\n                    _indent_index = i;\n                    break;\n                }\n            }\n            if (_indent_index === -1) {\n                return true;\n            }\n            while (state.scopes[0].offset !== _indent) {\n                state.scopes.shift();\n            }\n            return false;\n        } else {\n            if (type === 'py') {\n                state.scopes[0].offset = stream.indentation();\n                return false;\n            } else {\n                if (state.scopes[0].type != type) {\n                    return true;\n                }\n                state.scopes.shift();\n                return false;\n            }\n        }\n    }\n\n    function tokenLexer(stream, state) {\n        indentInfo = null;\n        var style = state.tokenize(stream, state);\n        var current = stream.current();\n\n        // Handle '.' connected identifiers\n        if (current === '.') {\n            style = stream.match(identifiers, false) ? null : ERRORCLASS;\n            if (style === null && state.lastStyle === 'meta') {\n                // Apply 'meta' style to '.' connected identifiers when\n                // appropriate.\n                style = 'meta';\n            }\n            return style;\n        }\n\n        // Handle decorators\n        if (current === '@') {\n            return stream.match(identifiers, false) ? 'meta' : ERRORCLASS;\n        }\n\n        if ((style === 'variable' || style === 'builtin')\n            && state.lastStyle === 'meta') {\n            style = 'meta';\n        }\n\n        // Handle scope changes.\n        if (current === 'pass' || current === 'return') {\n            state.dedent += 1;\n        }\n        if (current === 'lambda') state.lambda = true;\n        if ((current === ':' && !state.lambda && state.scopes[0].type == 'py')\n            || indentInfo === 'indent') {\n            indent(stream, state);\n        }\n        var delimiter_index = '[({'.indexOf(current);\n        if (delimiter_index !== -1) {\n            indent(stream, state, '])}'.slice(delimiter_index, delimiter_index+1));\n        }\n        if (indentInfo === 'dedent') {\n            if (dedent(stream, state)) {\n                return ERRORCLASS;\n            }\n        }\n        delimiter_index = '])}'.indexOf(current);\n        if (delimiter_index !== -1) {\n            if (dedent(stream, state, current)) {\n                return ERRORCLASS;\n            }\n        }\n        if (state.dedent > 0 && stream.eol() && state.scopes[0].type == 'py') {\n            if (state.scopes.length > 1) state.scopes.shift();\n            state.dedent -= 1;\n        }\n\n        return style;\n    }\n\n    var external = {\n        startState: function(basecolumn) {\n            return {\n              tokenize: tokenBase,\n              scopes: [{offset:basecolumn || 0, type:'py'}],\n              lastStyle: null,\n              lastToken: null,\n              lambda: false,\n              dedent: 0\n          };\n        },\n\n        token: function(stream, state) {\n            var style = tokenLexer(stream, state);\n\n            state.lastStyle = style;\n\n            var current = stream.current();\n            if (current && style) {\n                state.lastToken = current;\n            }\n\n            if (stream.eol() && state.lambda) {\n                state.lambda = false;\n            }\n            return style;\n        },\n\n        indent: function(state) {\n            if (state.tokenize != tokenBase) {\n                return state.tokenize.isString ? CodeMirror.Pass : 0;\n            }\n\n            return state.scopes[0].offset;\n        },\n\n        lineComment: \"#\",\n        fold: \"indent\"\n    };\n    return external;\n});\n\nCodeMirror.defineMIME(\"text/x-python\", \"python\");\n\n(function() {\n  \"use strict\";\n  var words = function(str){return str.split(' ');};\n\n  CodeMirror.defineMIME(\"text/x-cython\", {\n    name: \"python\",\n    extra_keywords: words(\"by cdef cimport cpdef ctypedef enum except\"+\n                          \"extern gil include nogil property public\"+\n                          \"readonly struct union DEF IF ELIF ELSE\")\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/q/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Q mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"q.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Q</a>\n  </ul>\n</div>\n\n<article>\n<h2>Q mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n/ utilities to quickly load a csv file - for more exhaustive analysis of the csv contents see csvguess.q\n/ 2009.09.20 - updated to match latest csvguess.q \n\n/ .csv.colhdrs[file] - return a list of colhdrs from file\n/ info:.csv.info[file] - return a table of information about the file\n/ columns are: \n/\tc - column name; ci - column index; t - load type; mw - max width; \n/\tdchar - distinct characters in values; rule - rule that caught the type\n/\tmaybe - needs checking, _could_ be say a date, but perhaps just a float?\n/ .csv.info0[file;onlycols] - like .csv.info except that it only analyses <onlycols>\n/ example:\n/\tinfo:.csv.info0[file;(.csv.colhdrs file)like\"*price\"]\n/\tinfo:.csv.infolike[file;\"*price\"]\n/\tshow delete from info where t=\" \"\n/ .csv.data[file;info] - use the info from .csv.info to read the data\n/ .csv.data10[file;info] - like .csv.data but only returns the first 10 rows\n/ bulkload[file;info] - bulk loads file into table DATA (which must be already defined :: DATA:() )\n/ .csv.read[file]/read10[file] - for when you don't care about checking/tweaking the <info> before reading \n\n\\d .csv\nDELIM:\",\"\nZAPHDRS:0b / lowercase and remove _ from colhdrs (junk characters are always removed)\nWIDTHHDR:25000 / number of characters read to get the header\nREADLINES:222 / number of lines read and used to guess the types\nSYMMAXWIDTH:11 / character columns narrower than this are stored as symbols\nSYMMAXGR:10 / max symbol granularity% before we give up and keep as a * string\nFORCECHARWIDTH:30 / every field (of any type) with values this wide or more is forced to character \"*\"\nDISCARDEMPTY:0b / completely ignore empty columns if true else set them to \"C\"\nCHUNKSIZE:50000000 / used in fs2 (modified .Q.fs)\n\nk)nameltrim:{$[~@x;.z.s'x;~(*x)in aA:.Q.a,.Q.A;(+/&\\~x in aA)_x;x]}\nk)fs2:{[f;s]((-7!s)>){[f;s;x]i:1+last@&0xa=r:1:(s;x;CHUNKSIZE);f@`\\:i#r;x+i}[f;s]/0j}\ncleanhdrs:{{$[ZAPHDRS;lower x except\"_\";x]}x where x in DELIM,.Q.an}\ncancast:{nw:x$\"\";if[not x in\"BXCS\";nw:(min 0#;max 0#;::)@\\:nw];$[not any nw in x$(11&count y)#y;$[11<count y;not any nw in x$y;1b];0b]}\n\nread:{[file]data[file;info[file]]}  \nread10:{[file]data10[file;info[file]]}  \n\ncolhdrs:{[file]\n\t`$nameltrim DELIM vs cleanhdrs first read0(file;0;1+first where 0xa=read1(file;0;WIDTHHDR))}\ndata:{[file;info]\n\t(exec c from info where not t=\" \")xcol(exec t from info;enlist DELIM)0:file}\ndata10:{[file;info]\n\tdata[;info](file;0;1+last 11#where 0xa=read1(file;0;15*WIDTHHDR))}\ninfo0:{[file;onlycols]\n\tcolhdrs:`$nameltrim DELIM vs cleanhdrs first head:read0(file;0;1+last where 0xa=read1(file;0;WIDTHHDR));\n\tloadfmts:(count colhdrs)#\"S\";if[count onlycols;loadfmts[where not colhdrs in onlycols]:\"C\"];\n\tbreaks:where 0xa=read1(file;0;floor(10+READLINES)*WIDTHHDR%count head);\n\tnas:count as:colhdrs xcol(loadfmts;enlist DELIM)0:(file;0;1+last((1+READLINES)&count breaks)#breaks);\n\tinfo:([]c:key flip as;v:value flip as);as:();\n\treserved:key`.q;reserved,:.Q.res;reserved,:`i;\n\tinfo:update res:c in reserved from info;\n\tinfo:update ci:i,t:\"?\",ipa:0b,mdot:0,mw:0,rule:0,gr:0,ndv:0,maybe:0b,empty:0b,j10:0b,j12:0b from info;\n\tinfo:update ci:`s#ci from info;\n\tif[count onlycols;info:update t:\" \",rule:10 from info where not c in onlycols];\n\tinfo:update sdv:{string(distinct x)except`}peach v from info; \n\tinfo:update ndv:count each sdv from info;\n\tinfo:update gr:floor 0.5+100*ndv%nas,mw:{max count each x}peach sdv from info where 0<ndv;\n\tinfo:update t:\"*\",rule:20 from info where mw>.csv.FORCECHARWIDTH; / long values\n\tinfo:update t:\"C \"[.csv.DISCARDEMPTY],rule:30,empty:1b from info where t=\"?\",mw=0; / empty columns\n\tinfo:update dchar:{asc distinct raze x}peach sdv from info where t=\"?\";\n\tinfo:update mdot:{max sum each\".\"=x}peach sdv from info where t=\"?\",{\".\"in x}each dchar;\n\tinfo:update t:\"n\",rule:40 from info where t=\"?\",{any x in\"0123456789\"}each dchar; / vaguely numeric..\n\tinfo:update t:\"I\",rule:50,ipa:1b from info where t=\"n\",mw within 7 15,mdot=3,{all x in\".0123456789\"}each dchar,.csv.cancast[\"I\"]peach sdv; / ip-address\n\tinfo:update t:\"J\",rule:60 from info where t=\"n\",mdot=0,{all x in\"+-0123456789\"}each dchar,.csv.cancast[\"J\"]peach sdv;\n\tinfo:update t:\"I\",rule:70 from info where t=\"J\",mw<12,.csv.cancast[\"I\"]peach sdv;\n\tinfo:update t:\"H\",rule:80 from info where t=\"I\",mw<7,.csv.cancast[\"H\"]peach sdv;\n\tinfo:update t:\"F\",rule:90 from info where t=\"n\",mdot<2,mw>1,.csv.cancast[\"F\"]peach sdv;\n\tinfo:update t:\"E\",rule:100,maybe:1b from info where t=\"F\",mw<9;\n\tinfo:update t:\"M\",rule:110,maybe:1b from info where t in\"nIHEF\",mdot<2,mw within 4 7,.csv.cancast[\"M\"]peach sdv; \n\tinfo:update t:\"D\",rule:120,maybe:1b from info where t in\"nI\",mdot in 0 2,mw within 6 11,.csv.cancast[\"D\"]peach sdv; \n\tinfo:update t:\"V\",rule:130,maybe:1b from info where t=\"I\",mw in 5 6,7<count each dchar,{all x like\"*[0-9][0-5][0-9][0-5][0-9]\"}peach sdv,.csv.cancast[\"V\"]peach sdv; / 235959 12345        \n\tinfo:update t:\"U\",rule:140,maybe:1b from info where t=\"H\",mw in 3 4,7<count each dchar,{all x like\"*[0-9][0-5][0-9]\"}peach sdv,.csv.cancast[\"U\"]peach sdv; /2359\n\tinfo:update t:\"U\",rule:150,maybe:0b from info where t=\"n\",mw in 4 5,mdot=0,{all x like\"*[0-9]:[0-5][0-9]\"}peach sdv,.csv.cancast[\"U\"]peach sdv;\n\tinfo:update t:\"T\",rule:160,maybe:0b from info where t=\"n\",mw within 7 12,mdot<2,{all x like\"*[0-9]:[0-5][0-9]:[0-5][0-9]*\"}peach sdv,.csv.cancast[\"T\"]peach sdv;\n\tinfo:update t:\"V\",rule:170,maybe:0b from info where t=\"T\",mw in 7 8,mdot=0,.csv.cancast[\"V\"]peach sdv;\n\tinfo:update t:\"T\",rule:180,maybe:1b from info where t in\"EF\",mw within 7 10,mdot=1,{all x like\"*[0-9][0-5][0-9][0-5][0-9].*\"}peach sdv,.csv.cancast[\"T\"]peach sdv;\n\tinfo:update t:\"Z\",rule:190,maybe:0b from info where t=\"n\",mw within 11 24,mdot<4,.csv.cancast[\"Z\"]peach sdv;\n\tinfo:update t:\"P\",rule:200,maybe:1b from info where t=\"n\",mw within 12 29,mdot<4,{all x like\"[12]*\"}peach sdv,.csv.cancast[\"P\"]peach sdv;\n\tinfo:update t:\"N\",rule:210,maybe:1b from info where t=\"n\",mw within 3 28,mdot=1,.csv.cancast[\"N\"]peach sdv;\n\tinfo:update t:\"?\",rule:220,maybe:0b from info where t=\"n\"; / reset remaining maybe numeric\n\tinfo:update t:\"C\",rule:230,maybe:0b from info where t=\"?\",mw=1; / char\n\tinfo:update t:\"B\",rule:240,maybe:0b from info where t in\"HC\",mw=1,mdot=0,{$[all x in\"01tTfFyYnN\";(any\"0fFnN\"in x)and any\"1tTyY\"in x;0b]}each dchar; / boolean\n\tinfo:update t:\"B\",rule:250,maybe:1b from info where t in\"HC\",mw=1,mdot=0,{all x in\"01tTfFyYnN\"}each dchar; / boolean\n\tinfo:update t:\"X\",rule:260,maybe:0b from info where t=\"?\",mw=2,{$[all x in\"0123456789abcdefABCDEF\";(any .Q.n in x)and any\"abcdefABCDEF\"in x;0b]}each dchar; /hex\n\tinfo:update t:\"S\",rule:270,maybe:1b from info where t=\"?\",mw<.csv.SYMMAXWIDTH,mw>1,gr<.csv.SYMMAXGR; / symbols (max width permitting)\n\tinfo:update t:\"*\",rule:280,maybe:0b from info where t=\"?\"; / the rest as strings\n\t/ flag those S/* columns which could be encoded to integers (.Q.j10/x10/j12/x12) to avoid symbols\n\tinfo:update j12:1b from info where t in\"S*\",mw<13,{all x in .Q.nA}each dchar;\n\tinfo:update j10:1b from info where t in\"S*\",mw<11,{all x in .Q.b6}each dchar; \n\tselect c,ci,t,maybe,empty,res,j10,j12,ipa,mw,mdot,rule,gr,ndv,dchar from info}\ninfo:info0[;()] / by default don't restrict columns\ninfolike:{[file;pattern] info0[file;{x where x like y}[lower colhdrs[file];pattern]]} / .csv.infolike[file;\"*time\"]\n\n\\d .\n/ DATA:()\nbulkload:{[file;info]\n\tif[not`DATA in system\"v\";'`DATA.not.defined];\n\tif[count DATA;'`DATA.not.empty];\n\tloadhdrs:exec c from info where not t=\" \";loadfmts:exec t from info;\n\t.csv.fs2[{[file;loadhdrs;loadfmts] `DATA insert $[count DATA;flip loadhdrs!(loadfmts;.csv.DELIM)0:file;loadhdrs xcol(loadfmts;enlist .csv.DELIM)0:file]}[file;loadhdrs;loadfmts]];\n\tcount DATA}\n@[.:;\"\\\\l csvutil.custom.q\";::]; / save your custom settings in csvutil.custom.q to override those set at the beginning of the file \n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME type defined:</strong> <code>text/x-q</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/q/q.js",
    "content": "CodeMirror.defineMode(\"q\",function(config){\n  var indentUnit=config.indentUnit,\n      curPunc,\n      keywords=buildRE([\"abs\",\"acos\",\"aj\",\"aj0\",\"all\",\"and\",\"any\",\"asc\",\"asin\",\"asof\",\"atan\",\"attr\",\"avg\",\"avgs\",\"bin\",\"by\",\"ceiling\",\"cols\",\"cor\",\"cos\",\"count\",\"cov\",\"cross\",\"csv\",\"cut\",\"delete\",\"deltas\",\"desc\",\"dev\",\"differ\",\"distinct\",\"div\",\"do\",\"each\",\"ej\",\"enlist\",\"eval\",\"except\",\"exec\",\"exit\",\"exp\",\"fby\",\"fills\",\"first\",\"fkeys\",\"flip\",\"floor\",\"from\",\"get\",\"getenv\",\"group\",\"gtime\",\"hclose\",\"hcount\",\"hdel\",\"hopen\",\"hsym\",\"iasc\",\"idesc\",\"if\",\"ij\",\"in\",\"insert\",\"inter\",\"inv\",\"key\",\"keys\",\"last\",\"like\",\"list\",\"lj\",\"load\",\"log\",\"lower\",\"lsq\",\"ltime\",\"ltrim\",\"mavg\",\"max\",\"maxs\",\"mcount\",\"md5\",\"mdev\",\"med\",\"meta\",\"min\",\"mins\",\"mmax\",\"mmin\",\"mmu\",\"mod\",\"msum\",\"neg\",\"next\",\"not\",\"null\",\"or\",\"over\",\"parse\",\"peach\",\"pj\",\"plist\",\"prd\",\"prds\",\"prev\",\"prior\",\"rand\",\"rank\",\"ratios\",\"raze\",\"read0\",\"read1\",\"reciprocal\",\"reverse\",\"rload\",\"rotate\",\"rsave\",\"rtrim\",\"save\",\"scan\",\"select\",\"set\",\"setenv\",\"show\",\"signum\",\"sin\",\"sqrt\",\"ss\",\"ssr\",\"string\",\"sublist\",\"sum\",\"sums\",\"sv\",\"system\",\"tables\",\"tan\",\"til\",\"trim\",\"txf\",\"type\",\"uj\",\"ungroup\",\"union\",\"update\",\"upper\",\"upsert\",\"value\",\"var\",\"view\",\"views\",\"vs\",\"wavg\",\"where\",\"where\",\"while\",\"within\",\"wj\",\"wj1\",\"wsum\",\"xasc\",\"xbar\",\"xcol\",\"xcols\",\"xdesc\",\"xexp\",\"xgroup\",\"xkey\",\"xlog\",\"xprev\",\"xrank\"]),\n      E=/[|/&^!+:\\\\\\-*%$=~#;@><,?_\\'\\\"\\[\\(\\]\\)\\s{}]/;\n  function buildRE(w){return new RegExp(\"^(\"+w.join(\"|\")+\")$\");}\n  function tokenBase(stream,state){\n    var sol=stream.sol(),c=stream.next();\n    curPunc=null;\n    if(sol)\n      if(c==\"/\")\n        return(state.tokenize=tokenLineComment)(stream,state);\n      else if(c==\"\\\\\"){\n        if(stream.eol()||/\\s/.test(stream.peek()))\n          return stream.skipToEnd(),/^\\\\\\s*$/.test(stream.current())?(state.tokenize=tokenCommentToEOF)(stream, state):state.tokenize=tokenBase,\"comment\";\n        else\n          return state.tokenize=tokenBase,\"builtin\";\n      }\n    if(/\\s/.test(c))\n      return stream.peek()==\"/\"?(stream.skipToEnd(),\"comment\"):\"whitespace\";\n    if(c=='\"')\n      return(state.tokenize=tokenString)(stream,state);\n    if(c=='`')\n      return stream.eatWhile(/[A-Z|a-z|\\d|_|:|\\/|\\.]/),\"symbol\";\n    if((\".\"==c&&/\\d/.test(stream.peek()))||/\\d/.test(c)){\n      var t=null;\n      stream.backUp(1);\n      if(stream.match(/^\\d{4}\\.\\d{2}(m|\\.\\d{2}([D|T](\\d{2}(:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?)?)?)?)/)\n      || stream.match(/^\\d+D(\\d{2}(:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?)?)/)\n      || stream.match(/^\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?/)\n      || stream.match(/^\\d+[ptuv]{1}/))\n        t=\"temporal\";\n      else if(stream.match(/^0[NwW]{1}/)\n      || stream.match(/^0x[\\d|a-f|A-F]*/)\n      || stream.match(/^[0|1]+[b]{1}/)\n      || stream.match(/^\\d+[chijn]{1}/)\n      || stream.match(/-?\\d*(\\.\\d*)?(e[+\\-]?\\d+)?(e|f)?/))\n        t=\"number\";\n      return(t&&(!(c=stream.peek())||E.test(c)))?t:(stream.next(),\"error\");\n    }\n    if(/[A-Z|a-z]|\\./.test(c))\n      return stream.eatWhile(/[A-Z|a-z|\\.|_|\\d]/),keywords.test(stream.current())?\"keyword\":\"variable\";\n    if(/[|/&^!+:\\\\\\-*%$=~#;@><\\.,?_\\']/.test(c))\n      return null;\n    if(/[{}\\(\\[\\]\\)]/.test(c))\n      return null;\n    return\"error\";\n  }\n  function tokenLineComment(stream,state){\n    return stream.skipToEnd(),/\\/\\s*$/.test(stream.current())?(state.tokenize=tokenBlockComment)(stream,state):(state.tokenize=tokenBase),\"comment\";\n  }\n  function tokenBlockComment(stream,state){\n    var f=stream.sol()&&stream.peek()==\"\\\\\";\n    stream.skipToEnd();\n    if(f&&/^\\\\\\s*$/.test(stream.current()))\n      state.tokenize=tokenBase;\n    return\"comment\";\n  }\n  function tokenCommentToEOF(stream){return stream.skipToEnd(),\"comment\";}\n  function tokenString(stream,state){\n    var escaped=false,next,end=false;\n    while((next=stream.next())){\n      if(next==\"\\\"\"&&!escaped){end=true;break;}\n      escaped=!escaped&&next==\"\\\\\";\n    }\n    if(end)state.tokenize=tokenBase;\n    return\"string\";\n  }\n  function pushContext(state,type,col){state.context={prev:state.context,indent:state.indent,col:col,type:type};}\n  function popContext(state){state.indent=state.context.indent;state.context=state.context.prev;}\n  return{\n    startState:function(){\n      return{tokenize:tokenBase,\n             context:null,\n             indent:0,\n             col:0};\n    },\n    token:function(stream,state){\n      if(stream.sol()){\n        if(state.context&&state.context.align==null)\n          state.context.align=false;\n        state.indent=stream.indentation();\n      }\n      //if (stream.eatSpace()) return null;\n      var style=state.tokenize(stream,state);\n      if(style!=\"comment\"&&state.context&&state.context.align==null&&state.context.type!=\"pattern\"){\n        state.context.align=true;\n      }\n      if(curPunc==\"(\")pushContext(state,\")\",stream.column());\n      else if(curPunc==\"[\")pushContext(state,\"]\",stream.column());\n      else if(curPunc==\"{\")pushContext(state,\"}\",stream.column());\n      else if(/[\\]\\}\\)]/.test(curPunc)){\n        while(state.context&&state.context.type==\"pattern\")popContext(state);\n        if(state.context&&curPunc==state.context.type)popContext(state);\n      }\n      else if(curPunc==\".\"&&state.context&&state.context.type==\"pattern\")popContext(state);\n      else if(/atom|string|variable/.test(style)&&state.context){\n        if(/[\\}\\]]/.test(state.context.type))\n          pushContext(state,\"pattern\",stream.column());\n        else if(state.context.type==\"pattern\"&&!state.context.align){\n          state.context.align=true;\n          state.context.col=stream.column();\n        }\n      }\n      return style;\n    },\n    indent:function(state,textAfter){\n      var firstChar=textAfter&&textAfter.charAt(0);\n      var context=state.context;\n      if(/[\\]\\}]/.test(firstChar))\n        while (context&&context.type==\"pattern\")context=context.prev;\n      var closing=context&&firstChar==context.type;\n      if(!context)\n        return 0;\n      else if(context.type==\"pattern\")\n        return context.col;\n      else if(context.align)\n        return context.col+(closing?0:1);\n      else\n        return context.indent+(closing?0:indentUnit);\n    }\n  };\n});\nCodeMirror.defineMIME(\"text/x-q\",\"q\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/r/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: R mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"r.js\"></script>\n<style>\n      .CodeMirror { border-top: 1px solid silver; border-bottom: 1px solid silver; }\n      .cm-s-default span.cm-semi { color: blue; font-weight: bold; }\n      .cm-s-default span.cm-dollar { color: orange; font-weight: bold; }\n      .cm-s-default span.cm-arrow { color: brown; }\n      .cm-s-default span.cm-arg-is { color: brown; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">R</a>\n  </ul>\n</div>\n\n<article>\n<h2>R mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# Code from http://www.mayin.org/ajayshah/KB/R/\n\n# FIRST LEARN ABOUT LISTS --\nX = list(height=5.4, weight=54)\nprint(\"Use default printing --\")\nprint(X)\nprint(\"Accessing individual elements --\")\ncat(\"Your height is \", X$height, \" and your weight is \", X$weight, \"\\n\")\n\n# FUNCTIONS --\nsquare <- function(x) {\n  return(x*x)\n}\ncat(\"The square of 3 is \", square(3), \"\\n\")\n\n                 # default value of the arg is set to 5.\ncube <- function(x=5) {\n  return(x*x*x);\n}\ncat(\"Calling cube with 2 : \", cube(2), \"\\n\")    # will give 2^3\ncat(\"Calling cube        : \", cube(), \"\\n\")     # will default to 5^3.\n\n# LEARN ABOUT FUNCTIONS THAT RETURN MULTIPLE OBJECTS --\npowers <- function(x) {\n  parcel = list(x2=x*x, x3=x*x*x, x4=x*x*x*x);\n  return(parcel);\n}\n\nX = powers(3);\nprint(\"Showing powers of 3 --\"); print(X);\n\n# WRITING THIS COMPACTLY (4 lines instead of 7)\n\npowerful <- function(x) {\n  return(list(x2=x*x, x3=x*x*x, x4=x*x*x*x));\n}\nprint(\"Showing powers of 3 --\"); print(powerful(3));\n\n# In R, the last expression in a function is, by default, what is\n# returned. So you could equally just say:\npowerful <- function(x) {list(x2=x*x, x3=x*x*x, x4=x*x*x*x)}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rsrc</code>.</p>\n\n    <p>Development of the CodeMirror R mode was kindly sponsored\n    by <a href=\"http://ubalo.com/\">Ubalo</a>, who hold\n    the <a href=\"LICENSE\">license</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/r/r.js",
    "content": "CodeMirror.defineMode(\"r\", function(config) {\n  function wordObj(str) {\n    var words = str.split(\" \"), res = {};\n    for (var i = 0; i < words.length; ++i) res[words[i]] = true;\n    return res;\n  }\n  var atoms = wordObj(\"NULL NA Inf NaN NA_integer_ NA_real_ NA_complex_ NA_character_\");\n  var builtins = wordObj(\"list quote bquote eval return call parse deparse\");\n  var keywords = wordObj(\"if else repeat while function for in next break\");\n  var blockkeywords = wordObj(\"if else repeat while function for\");\n  var opChars = /[+\\-*\\/^<>=!&|~$:]/;\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    curPunc = null;\n    var ch = stream.next();\n    if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    } else if (ch == \"0\" && stream.eat(\"x\")) {\n      stream.eatWhile(/[\\da-f]/i);\n      return \"number\";\n    } else if (ch == \".\" && stream.eat(/\\d/)) {\n      stream.match(/\\d*(?:e[+\\-]?\\d+)?/);\n      return \"number\";\n    } else if (/\\d/.test(ch)) {\n      stream.match(/\\d*(?:\\.\\d+)?(?:e[+\\-]\\d+)?L?/);\n      return \"number\";\n    } else if (ch == \"'\" || ch == '\"') {\n      state.tokenize = tokenString(ch);\n      return \"string\";\n    } else if (ch == \".\" && stream.match(/.[.\\d]+/)) {\n      return \"keyword\";\n    } else if (/[\\w\\.]/.test(ch) && ch != \"_\") {\n      stream.eatWhile(/[\\w\\.]/);\n      var word = stream.current();\n      if (atoms.propertyIsEnumerable(word)) return \"atom\";\n      if (keywords.propertyIsEnumerable(word)) {\n        if (blockkeywords.propertyIsEnumerable(word)) curPunc = \"block\";\n        return \"keyword\";\n      }\n      if (builtins.propertyIsEnumerable(word)) return \"builtin\";\n      return \"variable\";\n    } else if (ch == \"%\") {\n      if (stream.skipTo(\"%\")) stream.next();\n      return \"variable-2\";\n    } else if (ch == \"<\" && stream.eat(\"-\")) {\n      return \"arrow\";\n    } else if (ch == \"=\" && state.ctx.argList) {\n      return \"arg-is\";\n    } else if (opChars.test(ch)) {\n      if (ch == \"$\") return \"dollar\";\n      stream.eatWhile(opChars);\n      return \"operator\";\n    } else if (/[\\(\\){}\\[\\];]/.test(ch)) {\n      curPunc = ch;\n      if (ch == \";\") return \"semi\";\n      return null;\n    } else {\n      return null;\n    }\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      if (stream.eat(\"\\\\\")) {\n        var ch = stream.next();\n        if (ch == \"x\") stream.match(/^[a-f0-9]{2}/i);\n        else if ((ch == \"u\" || ch == \"U\") && stream.eat(\"{\") && stream.skipTo(\"}\")) stream.next();\n        else if (ch == \"u\") stream.match(/^[a-f0-9]{4}/i);\n        else if (ch == \"U\") stream.match(/^[a-f0-9]{8}/i);\n        else if (/[0-7]/.test(ch)) stream.match(/^[0-7]{1,2}/);\n        return \"string-2\";\n      } else {\n        var next;\n        while ((next = stream.next()) != null) {\n          if (next == quote) { state.tokenize = tokenBase; break; }\n          if (next == \"\\\\\") { stream.backUp(1); break; }\n        }\n        return \"string\";\n      }\n    };\n  }\n\n  function push(state, type, stream) {\n    state.ctx = {type: type,\n                 indent: state.indent,\n                 align: null,\n                 column: stream.column(),\n                 prev: state.ctx};\n  }\n  function pop(state) {\n    state.indent = state.ctx.indent;\n    state.ctx = state.ctx.prev;\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: tokenBase,\n              ctx: {type: \"top\",\n                    indent: -config.indentUnit,\n                    align: false},\n              indent: 0,\n              afterIdent: false};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (state.ctx.align == null) state.ctx.align = false;\n        state.indent = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      if (style != \"comment\" && state.ctx.align == null) state.ctx.align = true;\n\n      var ctype = state.ctx.type;\n      if ((curPunc == \";\" || curPunc == \"{\" || curPunc == \"}\") && ctype == \"block\") pop(state);\n      if (curPunc == \"{\") push(state, \"}\", stream);\n      else if (curPunc == \"(\") {\n        push(state, \")\", stream);\n        if (state.afterIdent) state.ctx.argList = true;\n      }\n      else if (curPunc == \"[\") push(state, \"]\", stream);\n      else if (curPunc == \"block\") push(state, \"block\", stream);\n      else if (curPunc == ctype) pop(state);\n      state.afterIdent = style == \"variable\" || style == \"keyword\";\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), ctx = state.ctx,\n          closing = firstChar == ctx.type;\n      if (ctx.type == \"block\") return ctx.indent + (firstChar == \"{\" ? 0 : config.indentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indent + (closing ? 0 : config.indentUnit);\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-rsrc\", \"r\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rpm/changes/changes.js",
    "content": "CodeMirror.defineMode(\"changes\", function() {\n  var headerSeperator = /^-+$/;\n  var headerLine = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)  ?\\d{1,2} \\d{2}:\\d{2}(:\\d{2})? [A-Z]{3,4} \\d{4} - /;\n  var simpleEmail = /^[\\w+.-]+@[\\w.-]+/;\n\n  return {\n    token: function(stream) {\n      if (stream.sol()) {\n        if (stream.match(headerSeperator)) { return 'tag'; }\n        if (stream.match(headerLine)) { return 'tag'; }\n      }\n      if (stream.match(simpleEmail)) { return 'string'; }\n      stream.next();\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-rpm-changes\", \"changes\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rpm/changes/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: RPM changes mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n    <link rel=\"stylesheet\" href=\"../../../lib/codemirror.css\">\n    <script src=\"../../../lib/codemirror.js\"></script>\n    <script src=\"changes.js\"></script>\n    <link rel=\"stylesheet\" href=\"../../../doc/docs.css\">\n    <style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../../index.html\">Home</a>\n    <li><a href=\"../../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">RPM changes</a>\n  </ul>\n</div>\n\n<article>\n<h2>RPM changes mode</h2>\n\n    <div><textarea id=\"code\" name=\"code\">\n-------------------------------------------------------------------\nTue Oct 18 13:58:40 UTC 2011 - misterx@example.com\n\n- Update to r60.3\n- Fixes bug in the reflect package\n  * disallow Interface method on Value obtained via unexported name\n\n-------------------------------------------------------------------\nThu Oct  6 08:14:24 UTC 2011 - misterx@example.com\n\n- Update to r60.2\n- Fixes memory leak in certain map types\n\n-------------------------------------------------------------------\nWed Oct  5 14:34:10 UTC 2011 - misterx@example.com\n\n- Tweaks for gdb debugging\n- go.spec changes:\n  - move %go_arch definition to %prep section\n  - pass correct location of go specific gdb pretty printer and\n    functions to cpp as HOST_EXTRA_CFLAGS macro\n  - install go gdb functions & printer\n- gdb-printer.patch\n  - patch linker (src/cmd/ld/dwarf.c) to emit correct location of go\n    gdb functions and pretty printer\n</textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"changes\"},\n        lineNumbers: true,\n        indentUnit: 4,\n        tabMode: \"shift\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rpm-changes</code>.</p>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rpm/spec/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: RPM spec mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n    <link rel=\"stylesheet\" href=\"../../../lib/codemirror.css\">\n    <script src=\"../../../lib/codemirror.js\"></script>\n    <script src=\"spec.js\"></script>\n    <link rel=\"stylesheet\" href=\"spec.css\">\n    <link rel=\"stylesheet\" href=\"../../../doc/docs.css\">\n    <style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../../index.html\">Home</a>\n    <li><a href=\"../../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">RPM spec</a>\n  </ul>\n</div>\n\n<article>\n<h2>RPM spec mode</h2>\n    \n    <div><textarea id=\"code\" name=\"code\">\n#\n# spec file for package minidlna\n#\n# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>\n#\n# All modifications and additions to the file contributed by third parties\n# remain the property of their copyright owners, unless otherwise agreed\n# upon. The license for this file, and modifications and additions to the\n# file, is the same license as for the pristine package itself (unless the\n# license for the pristine package is not an Open Source License, in which\n# case the license is the MIT License). An \"Open Source License\" is a\n# license that conforms to the Open Source Definition (Version 1.9)\n# published by the Open Source Initiative.\n\n\nName:           libupnp6\nVersion:        1.6.13\nRelease:        0\nSummary:        Portable Universal Plug and Play (UPnP) SDK\nGroup:          System/Libraries\nLicense:        BSD-3-Clause\nUrl:            http://sourceforge.net/projects/pupnp/\nSource0:        http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2\nBuildRoot:      %{_tmppath}/%{name}-%{version}-build\n\n%description\nThe portable Universal Plug and Play (UPnP) SDK provides support for building\nUPnP-compliant control points, devices, and bridges on several operating\nsystems.\n\n%package -n libupnp-devel\nSummary:        Portable Universal Plug and Play (UPnP) SDK\nGroup:          Development/Libraries/C and C++\nProvides:       pkgconfig(libupnp)\nRequires:       %{name} = %{version}\n\n%description -n libupnp-devel\nThe portable Universal Plug and Play (UPnP) SDK provides support for building\nUPnP-compliant control points, devices, and bridges on several operating\nsystems.\n\n%prep\n%setup -n libupnp-%{version}\n\n%build\n%configure --disable-static\nmake %{?_smp_mflags}\n\n%install\n%makeinstall\nfind %{buildroot} -type f -name '*.la' -exec rm -f {} ';'\n\n%post -p /sbin/ldconfig\n\n%postun -p /sbin/ldconfig\n\n%files\n%defattr(-,root,root,-)\n%doc ChangeLog NEWS README TODO\n%{_libdir}/libixml.so.*\n%{_libdir}/libthreadutil.so.*\n%{_libdir}/libupnp.so.*\n\n%files -n libupnp-devel\n%defattr(-,root,root,-)\n%{_libdir}/pkgconfig/libupnp.pc\n%{_libdir}/libixml.so\n%{_libdir}/libthreadutil.so\n%{_libdir}/libupnp.so\n%{_includedir}/upnp/\n\n%changelog</textarea></div>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"spec\"},\n        lineNumbers: true,\n        indentUnit: 4\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rpm-spec</code>.</p>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rpm/spec/spec.css",
    "content": ".cm-s-default span.cm-preamble {color: #b26818; font-weight: bold;}\n.cm-s-default span.cm-macro {color: #b218b2;}\n.cm-s-default span.cm-section {color: green; font-weight: bold;}\n.cm-s-default span.cm-script {color: red;}\n.cm-s-default span.cm-issue {color: yellow;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rpm/spec/spec.js",
    "content": "// Quick and dirty spec file highlighting\n\nCodeMirror.defineMode(\"spec\", function() {\n  var arch = /^(i386|i586|i686|x86_64|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/;\n\n  var preamble = /^(Name|Version|Release|License|Summary|Url|Group|Source|BuildArch|BuildRequires|BuildRoot|AutoReqProv|Provides|Requires(\\(\\w+\\))?|Obsoletes|Conflicts|Recommends|Source\\d*|Patch\\d*|ExclusiveArch|NoSource|Supplements):/;\n  var section = /^%(debug_package|package|description|prep|build|install|files|clean|changelog|preun|postun|pre|post|triggerin|triggerun|pretrans|posttrans|verifyscript|check|triggerpostun|triggerprein|trigger)/;\n  var control_flow_complex = /^%(ifnarch|ifarch|if)/; // rpm control flow macros\n  var control_flow_simple = /^%(else|endif)/; // rpm control flow macros\n  var operators = /^(\\!|\\?|\\<\\=|\\<|\\>\\=|\\>|\\=\\=|\\&\\&|\\|\\|)/; // operators in control flow macros\n\n  return {\n    startState: function () {\n        return {\n          controlFlow: false,\n          macroParameters: false,\n          section: false\n        };\n    },\n    token: function (stream, state) {\n      var ch = stream.peek();\n      if (ch == \"#\") { stream.skipToEnd(); return \"comment\"; }\n\n      if (stream.sol()) {\n        if (stream.match(preamble)) { return \"preamble\"; }\n        if (stream.match(section)) { return \"section\"; }\n      }\n\n      if (stream.match(/^\\$\\w+/)) { return \"def\"; } // Variables like '$RPM_BUILD_ROOT'\n      if (stream.match(/^\\$\\{\\w+\\}/)) { return \"def\"; } // Variables like '${RPM_BUILD_ROOT}'\n\n      if (stream.match(control_flow_simple)) { return \"keyword\"; }\n      if (stream.match(control_flow_complex)) {\n        state.controlFlow = true;\n        return \"keyword\";\n      }\n      if (state.controlFlow) {\n        if (stream.match(operators)) { return \"operator\"; }\n        if (stream.match(/^(\\d+)/)) { return \"number\"; }\n        if (stream.eol()) { state.controlFlow = false; }\n      }\n\n      if (stream.match(arch)) { return \"number\"; }\n\n      // Macros like '%make_install' or '%attr(0775,root,root)'\n      if (stream.match(/^%[\\w]+/)) {\n        if (stream.match(/^\\(/)) { state.macroParameters = true; }\n        return \"macro\";\n      }\n      if (state.macroParameters) {\n        if (stream.match(/^\\d+/)) { return \"number\";}\n        if (stream.match(/^\\)/)) {\n          state.macroParameters = false;\n          return \"macro\";\n        }\n      }\n      if (stream.match(/^%\\{\\??[\\w \\-]+\\}/)) { return \"macro\"; } // Macros like '%{defined fedora}'\n\n      //TODO: Include bash script sub-parser (CodeMirror supports that)\n      stream.next();\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-rpm-spec\", \"spec\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rst/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: reStructuredText mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"rst.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">reStructuredText</a>\n  </ul>\n</div>\n\n<article>\n<h2>reStructuredText mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n.. This is an excerpt from Sphinx documentation: http://sphinx.pocoo.org/_sources/rest.txt\n\n.. highlightlang:: rest\n\n.. _rst-primer:\n\nreStructuredText Primer\n=======================\n\nThis section is a brief introduction to reStructuredText (reST) concepts and\nsyntax, intended to provide authors with enough information to author documents\nproductively.  Since reST was designed to be a simple, unobtrusive markup\nlanguage, this will not take too long.\n\n.. seealso::\n\n   The authoritative `reStructuredText User Documentation\n   &lt;http://docutils.sourceforge.net/rst.html&gt;`_.  The \"ref\" links in this\n   document link to the description of the individual constructs in the reST\n   reference.\n\n\nParagraphs\n----------\n\nThe paragraph (:duref:`ref &lt;paragraphs&gt;`) is the most basic block in a reST\ndocument.  Paragraphs are simply chunks of text separated by one or more blank\nlines.  As in Python, indentation is significant in reST, so all lines of the\nsame paragraph must be left-aligned to the same level of indentation.\n\n\n.. _inlinemarkup:\n\nInline markup\n-------------\n\nThe standard reST inline markup is quite simple: use\n\n* one asterisk: ``*text*`` for emphasis (italics),\n* two asterisks: ``**text**`` for strong emphasis (boldface), and\n* backquotes: ````text```` for code samples.\n\nIf asterisks or backquotes appear in running text and could be confused with\ninline markup delimiters, they have to be escaped with a backslash.\n\nBe aware of some restrictions of this markup:\n\n* it may not be nested,\n* content may not start or end with whitespace: ``* text*`` is wrong,\n* it must be separated from surrounding text by non-word characters.  Use a\n  backslash escaped space to work around that: ``thisis\\ *one*\\ word``.\n\nThese restrictions may be lifted in future versions of the docutils.\n\nreST also allows for custom \"interpreted text roles\"', which signify that the\nenclosed text should be interpreted in a specific way.  Sphinx uses this to\nprovide semantic markup and cross-referencing of identifiers, as described in\nthe appropriate section.  The general syntax is ``:rolename:`content```.\n\nStandard reST provides the following roles:\n\n* :durole:`emphasis` -- alternate spelling for ``*emphasis*``\n* :durole:`strong` -- alternate spelling for ``**strong**``\n* :durole:`literal` -- alternate spelling for ````literal````\n* :durole:`subscript` -- subscript text\n* :durole:`superscript` -- superscript text\n* :durole:`title-reference` -- for titles of books, periodicals, and other\n  materials\n\nSee :ref:`inline-markup` for roles added by Sphinx.\n\n\nLists and Quote-like blocks\n---------------------------\n\nList markup (:duref:`ref &lt;bullet-lists&gt;`) is natural: just place an asterisk at\nthe start of a paragraph and indent properly.  The same goes for numbered lists;\nthey can also be autonumbered using a ``#`` sign::\n\n   * This is a bulleted list.\n   * It has two items, the second\n     item uses two lines.\n\n   1. This is a numbered list.\n   2. It has two items too.\n\n   #. This is a numbered list.\n   #. It has two items too.\n\n\nNested lists are possible, but be aware that they must be separated from the\nparent list items by blank lines::\n\n   * this is\n   * a list\n\n     * with a nested list\n     * and some subitems\n\n   * and here the parent list continues\n\nDefinition lists (:duref:`ref &lt;definition-lists&gt;`) are created as follows::\n\n   term (up to a line of text)\n      Definition of the term, which must be indented\n\n      and can even consist of multiple paragraphs\n\n   next term\n      Description.\n\nNote that the term cannot have more than one line of text.\n\nQuoted paragraphs (:duref:`ref &lt;block-quotes&gt;`) are created by just indenting\nthem more than the surrounding paragraphs.\n\nLine blocks (:duref:`ref &lt;line-blocks&gt;`) are a way of preserving line breaks::\n\n   | These lines are\n   | broken exactly like in\n   | the source file.\n\nThere are also several more special blocks available:\n\n* field lists (:duref:`ref &lt;field-lists&gt;`)\n* option lists (:duref:`ref &lt;option-lists&gt;`)\n* quoted literal blocks (:duref:`ref &lt;quoted-literal-blocks&gt;`)\n* doctest blocks (:duref:`ref &lt;doctest-blocks&gt;`)\n\n\nSource Code\n-----------\n\nLiteral code blocks (:duref:`ref &lt;literal-blocks&gt;`) are introduced by ending a\nparagraph with the special marker ``::``.  The literal block must be indented\n(and, like all paragraphs, separated from the surrounding ones by blank lines)::\n\n   This is a normal text paragraph. The next paragraph is a code sample::\n\n      It is not processed in any way, except\n      that the indentation is removed.\n\n      It can span multiple lines.\n\n   This is a normal text paragraph again.\n\nThe handling of the ``::`` marker is smart:\n\n* If it occurs as a paragraph of its own, that paragraph is completely left\n  out of the document.\n* If it is preceded by whitespace, the marker is removed.\n* If it is preceded by non-whitespace, the marker is replaced by a single\n  colon.\n\nThat way, the second sentence in the above example's first paragraph would be\nrendered as \"The next paragraph is a code sample:\".\n\n\n.. _rst-tables:\n\nTables\n------\n\nTwo forms of tables are supported.  For *grid tables* (:duref:`ref\n&lt;grid-tables&gt;`), you have to \"paint\" the cell grid yourself.  They look like\nthis::\n\n   +------------------------+------------+----------+----------+\n   | Header row, column 1   | Header 2   | Header 3 | Header 4 |\n   | (header rows optional) |            |          |          |\n   +========================+============+==========+==========+\n   | body row 1, column 1   | column 2   | column 3 | column 4 |\n   +------------------------+------------+----------+----------+\n   | body row 2             | ...        | ...      |          |\n   +------------------------+------------+----------+----------+\n\n*Simple tables* (:duref:`ref &lt;simple-tables&gt;`) are easier to write, but\nlimited: they must contain more than one row, and the first column cannot\ncontain multiple lines.  They look like this::\n\n   =====  =====  =======\n   A      B      A and B\n   =====  =====  =======\n   False  False  False\n   True   False  False\n   False  True   False\n   True   True   True\n   =====  =====  =======\n\n\nHyperlinks\n----------\n\nExternal links\n^^^^^^^^^^^^^^\n\nUse ```Link text &lt;http://example.com/&gt;`_`` for inline web links.  If the link\ntext should be the web address, you don't need special markup at all, the parser\nfinds links and mail addresses in ordinary text.\n\nYou can also separate the link and the target definition (:duref:`ref\n&lt;hyperlink-targets&gt;`), like this::\n\n   This is a paragraph that contains `a link`_.\n\n   .. _a link: http://example.com/\n\n\nInternal links\n^^^^^^^^^^^^^^\n\nInternal linking is done via a special reST role provided by Sphinx, see the\nsection on specific markup, :ref:`ref-role`.\n\n\nSections\n--------\n\nSection headers (:duref:`ref &lt;sections&gt;`) are created by underlining (and\noptionally overlining) the section title with a punctuation character, at least\nas long as the text::\n\n   =================\n   This is a heading\n   =================\n\nNormally, there are no heading levels assigned to certain characters as the\nstructure is determined from the succession of headings.  However, for the\nPython documentation, this convention is used which you may follow:\n\n* ``#`` with overline, for parts\n* ``*`` with overline, for chapters\n* ``=``, for sections\n* ``-``, for subsections\n* ``^``, for subsubsections\n* ``\"``, for paragraphs\n\nOf course, you are free to use your own marker characters (see the reST\ndocumentation), and use a deeper nesting level, but keep in mind that most\ntarget formats (HTML, LaTeX) have a limited supported nesting depth.\n\n\nExplicit Markup\n---------------\n\n\"Explicit markup\" (:duref:`ref &lt;explicit-markup-blocks&gt;`) is used in reST for\nmost constructs that need special handling, such as footnotes,\nspecially-highlighted paragraphs, comments, and generic directives.\n\nAn explicit markup block begins with a line starting with ``..`` followed by\nwhitespace and is terminated by the next paragraph at the same level of\nindentation.  (There needs to be a blank line between explicit markup and normal\nparagraphs.  This may all sound a bit complicated, but it is intuitive enough\nwhen you write it.)\n\n\n.. _directives:\n\nDirectives\n----------\n\nA directive (:duref:`ref &lt;directives&gt;`) is a generic block of explicit markup.\nBesides roles, it is one of the extension mechanisms of reST, and Sphinx makes\nheavy use of it.\n\nDocutils supports the following directives:\n\n* Admonitions: :dudir:`attention`, :dudir:`caution`, :dudir:`danger`,\n  :dudir:`error`, :dudir:`hint`, :dudir:`important`, :dudir:`note`,\n  :dudir:`tip`, :dudir:`warning` and the generic :dudir:`admonition`.\n  (Most themes style only \"note\" and \"warning\" specially.)\n\n* Images:\n\n  - :dudir:`image` (see also Images_ below)\n  - :dudir:`figure` (an image with caption and optional legend)\n\n* Additional body elements:\n\n  - :dudir:`contents` (a local, i.e. for the current file only, table of\n    contents)\n  - :dudir:`container` (a container with a custom class, useful to generate an\n    outer ``&lt;div&gt;`` in HTML)\n  - :dudir:`rubric` (a heading without relation to the document sectioning)\n  - :dudir:`topic`, :dudir:`sidebar` (special highlighted body elements)\n  - :dudir:`parsed-literal` (literal block that supports inline markup)\n  - :dudir:`epigraph` (a block quote with optional attribution line)\n  - :dudir:`highlights`, :dudir:`pull-quote` (block quotes with their own\n    class attribute)\n  - :dudir:`compound` (a compound paragraph)\n\n* Special tables:\n\n  - :dudir:`table` (a table with title)\n  - :dudir:`csv-table` (a table generated from comma-separated values)\n  - :dudir:`list-table` (a table generated from a list of lists)\n\n* Special directives:\n\n  - :dudir:`raw` (include raw target-format markup)\n  - :dudir:`include` (include reStructuredText from another file)\n    -- in Sphinx, when given an absolute include file path, this directive takes\n    it as relative to the source directory\n  - :dudir:`class` (assign a class attribute to the next element) [1]_\n\n* HTML specifics:\n\n  - :dudir:`meta` (generation of HTML ``&lt;meta&gt;`` tags)\n  - :dudir:`title` (override document title)\n\n* Influencing markup:\n\n  - :dudir:`default-role` (set a new default role)\n  - :dudir:`role` (create a new role)\n\n  Since these are only per-file, better use Sphinx' facilities for setting the\n  :confval:`default_role`.\n\nDo *not* use the directives :dudir:`sectnum`, :dudir:`header` and\n:dudir:`footer`.\n\nDirectives added by Sphinx are described in :ref:`sphinxmarkup`.\n\nBasically, a directive consists of a name, arguments, options and content. (Keep\nthis terminology in mind, it is used in the next chapter describing custom\ndirectives.)  Looking at this example, ::\n\n   .. function:: foo(x)\n                 foo(y, z)\n      :module: some.module.name\n\n      Return a line of text input from the user.\n\n``function`` is the directive name.  It is given two arguments here, the\nremainder of the first line and the second line, as well as one option\n``module`` (as you can see, options are given in the lines immediately following\nthe arguments and indicated by the colons).  Options must be indented to the\nsame level as the directive content.\n\nThe directive content follows after a blank line and is indented relative to the\ndirective start.\n\n\nImages\n------\n\nreST supports an image directive (:dudir:`ref &lt;image&gt;`), used like so::\n\n   .. image:: gnu.png\n      (options)\n\nWhen used within Sphinx, the file name given (here ``gnu.png``) must either be\nrelative to the source file, or absolute which means that they are relative to\nthe top source directory.  For example, the file ``sketch/spam.rst`` could refer\nto the image ``images/spam.png`` as ``../images/spam.png`` or\n``/images/spam.png``.\n\nSphinx will automatically copy image files over to a subdirectory of the output\ndirectory on building (e.g. the ``_static`` directory for HTML output.)\n\nInterpretation of image size options (``width`` and ``height``) is as follows:\nif the size has no unit or the unit is pixels, the given size will only be\nrespected for output channels that support pixels (i.e. not in LaTeX output).\nOther units (like ``pt`` for points) will be used for HTML and LaTeX output.\n\nSphinx extends the standard docutils behavior by allowing an asterisk for the\nextension::\n\n   .. image:: gnu.*\n\nSphinx then searches for all images matching the provided pattern and determines\ntheir type.  Each builder then chooses the best image out of these candidates.\nFor instance, if the file name ``gnu.*`` was given and two files :file:`gnu.pdf`\nand :file:`gnu.png` existed in the source tree, the LaTeX builder would choose\nthe former, while the HTML builder would prefer the latter.\n\n.. versionchanged:: 0.4\n   Added the support for file names ending in an asterisk.\n\n.. versionchanged:: 0.6\n   Image paths can now be absolute.\n\n\nFootnotes\n---------\n\nFor footnotes (:duref:`ref &lt;footnotes&gt;`), use ``[#name]_`` to mark the footnote\nlocation, and add the footnote body at the bottom of the document after a\n\"Footnotes\" rubric heading, like so::\n\n   Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_\n\n   .. rubric:: Footnotes\n\n   .. [#f1] Text of the first footnote.\n   .. [#f2] Text of the second footnote.\n\nYou can also explicitly number the footnotes (``[1]_``) or use auto-numbered\nfootnotes without names (``[#]_``).\n\n\nCitations\n---------\n\nStandard reST citations (:duref:`ref &lt;citations&gt;`) are supported, with the\nadditional feature that they are \"global\", i.e. all citations can be referenced\nfrom all files.  Use them like so::\n\n   Lorem ipsum [Ref]_ dolor sit amet.\n\n   .. [Ref] Book or article reference, URL or whatever.\n\nCitation usage is similar to footnote usage, but with a label that is not\nnumeric or begins with ``#``.\n\n\nSubstitutions\n-------------\n\nreST supports \"substitutions\" (:duref:`ref &lt;substitution-definitions&gt;`), which\nare pieces of text and/or markup referred to in the text by ``|name|``.  They\nare defined like footnotes with explicit markup blocks, like this::\n\n   .. |name| replace:: replacement *text*\n\nor this::\n\n   .. |caution| image:: warning.png\n                :alt: Warning!\n\nSee the :duref:`reST reference for substitutions &lt;substitution-definitions&gt;`\nfor details.\n\nIf you want to use some substitutions for all documents, put them into\n:confval:`rst_prolog` or put them into a separate file and include it into all\ndocuments you want to use them in, using the :rst:dir:`include` directive.  (Be\nsure to give the include file a file name extension differing from that of other\nsource files, to avoid Sphinx finding it as a standalone document.)\n\nSphinx defines some default substitutions, see :ref:`default-substitutions`.\n\n\nComments\n--------\n\nEvery explicit markup block which isn't a valid markup construct (like the\nfootnotes above) is regarded as a comment (:duref:`ref &lt;comments&gt;`).  For\nexample::\n\n   .. This is a comment.\n\nYou can indent text after a comment start to form multiline comments::\n\n   ..\n      This whole indented block\n      is a comment.\n\n      Still in the comment.\n\n\nSource encoding\n---------------\n\nSince the easiest way to include special characters like em dashes or copyright\nsigns in reST is to directly write them as Unicode characters, one has to\nspecify an encoding.  Sphinx assumes source files to be encoded in UTF-8 by\ndefault; you can change this with the :confval:`source_encoding` config value.\n\n\nGotchas\n-------\n\nThere are some problems one commonly runs into while authoring reST documents:\n\n* **Separation of inline markup:** As said above, inline markup spans must be\n  separated from the surrounding text by non-word characters, you have to use a\n  backslash-escaped space to get around that.  See `the reference\n  &lt;http://docutils.sf.net/docs/ref/rst/restructuredtext.html#inline-markup&gt;`_\n  for the details.\n\n* **No nested inline markup:** Something like ``*see :func:`foo`*`` is not\n  possible.\n\n\n.. rubric:: Footnotes\n\n.. [1] When the default domain contains a :rst:dir:`class` directive, this directive\n       will be shadowed.  Therefore, Sphinx re-exports it as :rst:dir:`rst-class`.\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n      });\n    </script>\n    <p>\n        The <code>python</code> mode will be used for highlighting blocks\n        containing Python/IPython terminal sessions: blocks starting with\n        <code>&gt;&gt;&gt;</code> (for Python) or <code>In [num]:</code> (for\n        IPython).\n\n        Further, the <code>stex</code> mode will be used for highlighting\n        blocks containing LaTex code.\n    </p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rst</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rst/rst.js",
    "content": "CodeMirror.defineMode('rst-base', function (config) {\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    function format(string) {\n        var args = Array.prototype.slice.call(arguments, 1);\n        return string.replace(/{(\\d+)}/g, function (match, n) {\n            return typeof args[n] != 'undefined' ? args[n] : match;\n        });\n    }\n\n    function AssertException(message) {\n        this.message = message;\n    }\n\n    AssertException.prototype.toString = function () {\n        return 'AssertException: ' + this.message;\n    };\n\n    function assert(expression, message) {\n        if (!expression) throw new AssertException(message);\n        return expression;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    var mode_python = CodeMirror.getMode(config, 'python');\n    var mode_stex = CodeMirror.getMode(config, 'stex');\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    var SEPA = \"\\\\s+\";\n    var TAIL = \"(?:\\\\s*|\\\\W|$)\",\n        rx_TAIL = new RegExp(format('^{0}', TAIL));\n\n    var NAME =\n        \"(?:[^\\\\W\\\\d_](?:[\\\\w!\\\"#$%&'()\\\\*\\\\+,\\\\-\\\\.\\/:;<=>\\\\?]*[^\\\\W_])?)\",\n        rx_NAME = new RegExp(format('^{0}', NAME));\n    var NAME_WWS =\n        \"(?:[^\\\\W\\\\d_](?:[\\\\w\\\\s!\\\"#$%&'()\\\\*\\\\+,\\\\-\\\\.\\/:;<=>\\\\?]*[^\\\\W_])?)\";\n    var REF_NAME = format('(?:{0}|`{1}`)', NAME, NAME_WWS);\n\n    var TEXT1 = \"(?:[^\\\\s\\\\|](?:[^\\\\|]*[^\\\\s\\\\|])?)\";\n    var TEXT2 = \"(?:[^\\\\`]+)\",\n        rx_TEXT2 = new RegExp(format('^{0}', TEXT2));\n\n    var rx_section = new RegExp(\n        \"^([!'#$%&\\\"()*+,-./:;<=>?@\\\\[\\\\\\\\\\\\]^_`{|}~])\\\\1{3,}\\\\s*$\");\n    var rx_explicit = new RegExp(\n        format('^\\\\.\\\\.{0}', SEPA));\n    var rx_link = new RegExp(\n        format('^_{0}:{1}|^__:{1}', REF_NAME, TAIL));\n    var rx_directive = new RegExp(\n        format('^{0}::{1}', REF_NAME, TAIL));\n    var rx_substitution = new RegExp(\n        format('^\\\\|{0}\\\\|{1}{2}::{3}', TEXT1, SEPA, REF_NAME, TAIL));\n    var rx_footnote = new RegExp(\n        format('^\\\\[(?:\\\\d+|#{0}?|\\\\*)]{1}', REF_NAME, TAIL));\n    var rx_citation = new RegExp(\n        format('^\\\\[{0}\\\\]{1}', REF_NAME, TAIL));\n\n    var rx_substitution_ref = new RegExp(\n        format('^\\\\|{0}\\\\|', TEXT1));\n    var rx_footnote_ref = new RegExp(\n        format('^\\\\[(?:\\\\d+|#{0}?|\\\\*)]_', REF_NAME));\n    var rx_citation_ref = new RegExp(\n        format('^\\\\[{0}\\\\]_', REF_NAME));\n    var rx_link_ref1 = new RegExp(\n        format('^{0}__?', REF_NAME));\n    var rx_link_ref2 = new RegExp(\n        format('^`{0}`_', TEXT2));\n\n    var rx_role_pre = new RegExp(\n        format('^:{0}:`{1}`{2}', NAME, TEXT2, TAIL));\n    var rx_role_suf = new RegExp(\n        format('^`{1}`:{0}:{2}', NAME, TEXT2, TAIL));\n    var rx_role = new RegExp(\n        format('^:{0}:{1}', NAME, TAIL));\n\n    var rx_directive_name = new RegExp(format('^{0}', REF_NAME));\n    var rx_directive_tail = new RegExp(format('^::{0}', TAIL));\n    var rx_substitution_text = new RegExp(format('^\\\\|{0}\\\\|', TEXT1));\n    var rx_substitution_sepa = new RegExp(format('^{0}', SEPA));\n    var rx_substitution_name = new RegExp(format('^{0}', REF_NAME));\n    var rx_substitution_tail = new RegExp(format('^::{0}', TAIL));\n    var rx_link_head = new RegExp(\"^_\");\n    var rx_link_name = new RegExp(format('^{0}|_', REF_NAME));\n    var rx_link_tail = new RegExp(format('^:{0}', TAIL));\n\n    var rx_verbatim = new RegExp('^::\\\\s*$');\n    var rx_examples = new RegExp('^\\\\s+(?:>>>|In \\\\[\\\\d+\\\\]:)\\\\s');\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    function to_normal(stream, state) {\n        var token = null;\n\n        if (stream.sol() && stream.match(rx_examples, false)) {\n            change(state, to_mode, {\n                mode: mode_python, local: mode_python.startState()\n            });\n        } else if (stream.sol() && stream.match(rx_explicit)) {\n            change(state, to_explicit);\n            token = 'meta';\n        } else if (stream.sol() && stream.match(rx_section)) {\n            change(state, to_normal);\n            token = 'header';\n        } else if (phase(state) == rx_role_pre ||\n            stream.match(rx_role_pre, false)) {\n\n            switch (stage(state)) {\n                case 0:\n                    change(state, to_normal, context(rx_role_pre, 1));\n                    assert(stream.match(/^:/));\n                    token = 'meta';\n                    break;\n                case 1:\n                    change(state, to_normal, context(rx_role_pre, 2));\n                    assert(stream.match(rx_NAME));\n                    token = 'keyword';\n\n                    if (stream.current().match(/^(?:math|latex)/)) {\n                        state.tmp_stex = true;\n                    }\n                    break;\n                case 2:\n                    change(state, to_normal, context(rx_role_pre, 3));\n                    assert(stream.match(/^:`/));\n                    token = 'meta';\n                    break;\n                case 3:\n                    if (state.tmp_stex) {\n                        state.tmp_stex = undefined; state.tmp = {\n                            mode: mode_stex, local: mode_stex.startState()\n                        };\n                    }\n\n                    if (state.tmp) {\n                        if (stream.peek() == '`') {\n                            change(state, to_normal, context(rx_role_pre, 4));\n                            state.tmp = undefined;\n                            break;\n                        }\n\n                        token = state.tmp.mode.token(stream, state.tmp.local);\n                        break;\n                    }\n\n                    change(state, to_normal, context(rx_role_pre, 4));\n                    assert(stream.match(rx_TEXT2));\n                    token = 'string';\n                    break;\n                case 4:\n                    change(state, to_normal, context(rx_role_pre, 5));\n                    assert(stream.match(/^`/));\n                    token = 'meta';\n                    break;\n                case 5:\n                    change(state, to_normal, context(rx_role_pre, 6));\n                    assert(stream.match(rx_TAIL));\n                    break;\n                default:\n                    change(state, to_normal);\n                    assert(stream.current() == '');\n            }\n        } else if (phase(state) == rx_role_suf ||\n            stream.match(rx_role_suf, false)) {\n\n            switch (stage(state)) {\n                case 0:\n                    change(state, to_normal, context(rx_role_suf, 1));\n                    assert(stream.match(/^`/));\n                    token = 'meta';\n                    break;\n                case 1:\n                    change(state, to_normal, context(rx_role_suf, 2));\n                    assert(stream.match(rx_TEXT2));\n                    token = 'string';\n                    break;\n                case 2:\n                    change(state, to_normal, context(rx_role_suf, 3));\n                    assert(stream.match(/^`:/));\n                    token = 'meta';\n                    break;\n                case 3:\n                    change(state, to_normal, context(rx_role_suf, 4));\n                    assert(stream.match(rx_NAME));\n                    token = 'keyword';\n                    break;\n                case 4:\n                    change(state, to_normal, context(rx_role_suf, 5));\n                    assert(stream.match(/^:/));\n                    token = 'meta';\n                    break;\n                case 5:\n                    change(state, to_normal, context(rx_role_suf, 6));\n                    assert(stream.match(rx_TAIL));\n                    break;\n                default:\n                    change(state, to_normal);\n                    assert(stream.current() == '');\n            }\n        } else if (phase(state) == rx_role || stream.match(rx_role, false)) {\n\n            switch (stage(state)) {\n                case 0:\n                    change(state, to_normal, context(rx_role, 1));\n                    assert(stream.match(/^:/));\n                    token = 'meta';\n                    break;\n                case 1:\n                    change(state, to_normal, context(rx_role, 2));\n                    assert(stream.match(rx_NAME));\n                    token = 'keyword';\n                    break;\n                case 2:\n                    change(state, to_normal, context(rx_role, 3));\n                    assert(stream.match(/^:/));\n                    token = 'meta';\n                    break;\n                case 3:\n                    change(state, to_normal, context(rx_role, 4));\n                    assert(stream.match(rx_TAIL));\n                    break;\n                default:\n                    change(state, to_normal);\n                    assert(stream.current() == '');\n            }\n        } else if (phase(state) == rx_substitution_ref ||\n            stream.match(rx_substitution_ref, false)) {\n\n            switch (stage(state)) {\n                case 0:\n                    change(state, to_normal, context(rx_substitution_ref, 1));\n                    assert(stream.match(rx_substitution_text));\n                    token = 'variable-2';\n                    break;\n                case 1:\n                    change(state, to_normal, context(rx_substitution_ref, 2));\n                    if (stream.match(/^_?_?/)) token = 'link';\n                    break;\n                default:\n                    change(state, to_normal);\n                    assert(stream.current() == '');\n            }\n        } else if (stream.match(rx_footnote_ref)) {\n            change(state, to_normal);\n            token = 'quote';\n        } else if (stream.match(rx_citation_ref)) {\n            change(state, to_normal);\n            token = 'quote';\n        } else if (stream.match(rx_link_ref1)) {\n            change(state, to_normal);\n            if (!stream.peek() || stream.peek().match(/^\\W$/)) {\n                token = 'link';\n            }\n        } else if (phase(state) == rx_link_ref2 ||\n            stream.match(rx_link_ref2, false)) {\n\n            switch (stage(state)) {\n                case 0:\n                    if (!stream.peek() || stream.peek().match(/^\\W$/)) {\n                        change(state, to_normal, context(rx_link_ref2, 1));\n                    } else {\n                        stream.match(rx_link_ref2);\n                    }\n                    break;\n                case 1:\n                    change(state, to_normal, context(rx_link_ref2, 2));\n                    assert(stream.match(/^`/));\n                    token = 'link';\n                    break;\n                case 2:\n                    change(state, to_normal, context(rx_link_ref2, 3));\n                    assert(stream.match(rx_TEXT2));\n                    break;\n                case 3:\n                    change(state, to_normal, context(rx_link_ref2, 4));\n                    assert(stream.match(/^`_/));\n                    token = 'link';\n                    break;\n                default:\n                    change(state, to_normal);\n                    assert(stream.current() == '');\n            }\n        } else if (stream.match(rx_verbatim)) {\n            change(state, to_verbatim);\n        }\n\n        else {\n            if (stream.next()) change(state, to_normal);\n        }\n\n        return token;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    function to_explicit(stream, state) {\n        var token = null;\n\n        if (phase(state) == rx_substitution ||\n            stream.match(rx_substitution, false)) {\n\n            switch (stage(state)) {\n                case 0:\n                    change(state, to_explicit, context(rx_substitution, 1));\n                    assert(stream.match(rx_substitution_text));\n                    token = 'variable-2';\n                    break;\n                case 1:\n                    change(state, to_explicit, context(rx_substitution, 2));\n                    assert(stream.match(rx_substitution_sepa));\n                    break;\n                case 2:\n                    change(state, to_explicit, context(rx_substitution, 3));\n                    assert(stream.match(rx_substitution_name));\n                    token = 'keyword';\n                    break;\n                case 3:\n                    change(state, to_explicit, context(rx_substitution, 4));\n                    assert(stream.match(rx_substitution_tail));\n                    token = 'meta';\n                    break;\n                default:\n                    change(state, to_normal);\n                    assert(stream.current() == '');\n            }\n        } else if (phase(state) == rx_directive ||\n            stream.match(rx_directive, false)) {\n\n            switch (stage(state)) {\n                case 0:\n                    change(state, to_explicit, context(rx_directive, 1));\n                    assert(stream.match(rx_directive_name));\n                    token = 'keyword';\n\n                    if (stream.current().match(/^(?:math|latex)/))\n                        state.tmp_stex = true;\n                    else if (stream.current().match(/^python/))\n                        state.tmp_py = true;\n                    break;\n                case 1:\n                    change(state, to_explicit, context(rx_directive, 2));\n                    assert(stream.match(rx_directive_tail));\n                    token = 'meta';\n\n                    if (stream.match(/^latex\\s*$/) || state.tmp_stex) {\n                        state.tmp_stex = undefined; change(state, to_mode, {\n                            mode: mode_stex, local: mode_stex.startState()\n                        });\n                    }\n                    break;\n                case 2:\n                    change(state, to_explicit, context(rx_directive, 3));\n                    if (stream.match(/^python\\s*$/) || state.tmp_py) {\n                        state.tmp_py = undefined; change(state, to_mode, {\n                            mode: mode_python, local: mode_python.startState()\n                        });\n                    }\n                    break;\n                default:\n                    change(state, to_normal);\n                    assert(stream.current() == '');\n            }\n        } else if (phase(state) == rx_link || stream.match(rx_link, false)) {\n\n            switch (stage(state)) {\n                case 0:\n                    change(state, to_explicit, context(rx_link, 1));\n                    assert(stream.match(rx_link_head));\n                    assert(stream.match(rx_link_name));\n                    token = 'link';\n                    break;\n                case 1:\n                    change(state, to_explicit, context(rx_link, 2));\n                    assert(stream.match(rx_link_tail));\n                    token = 'meta';\n                    break;\n                default:\n                    change(state, to_normal);\n                    assert(stream.current() == '');\n            }\n        } else if (stream.match(rx_footnote)) {\n            change(state, to_normal);\n            token = 'quote';\n        } else if (stream.match(rx_citation)) {\n            change(state, to_normal);\n            token = 'quote';\n        }\n\n        else {\n            stream.eatSpace();\n            if (stream.eol()) {\n                change(state, to_normal);\n            } else {\n                stream.skipToEnd();\n                change(state, to_comment);\n                token = 'comment';\n            }\n        }\n\n        return token;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    function to_comment(stream, state) {\n        return as_block(stream, state, 'comment');\n    }\n\n    function to_verbatim(stream, state) {\n        return as_block(stream, state, 'meta');\n    }\n\n    function as_block(stream, state, token) {\n        if (stream.eol() || stream.eatSpace()) {\n            stream.skipToEnd();\n            return token;\n        } else {\n            change(state, to_normal);\n            return null;\n        }\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    function to_mode(stream, state) {\n\n        if (state.ctx.mode && state.ctx.local) {\n\n            if (stream.sol()) {\n                if (!stream.eatSpace()) change(state, to_normal);\n                return null;\n            }\n\n            return state.ctx.mode.token(stream, state.ctx.local);\n        }\n\n        change(state, to_normal);\n        return null;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    function context(phase, stage, mode, local) {\n        return {phase: phase, stage: stage, mode: mode, local: local};\n    }\n\n    function change(state, tok, ctx) {\n        state.tok = tok;\n        state.ctx = ctx || {};\n    }\n\n    function stage(state) {\n        return state.ctx.stage || 0;\n    }\n\n    function phase(state) {\n        return state.ctx.phase;\n    }\n\n    ///////////////////////////////////////////////////////////////////////////\n    ///////////////////////////////////////////////////////////////////////////\n\n    return {\n        startState: function () {\n            return {tok: to_normal, ctx: context(undefined, 0)};\n        },\n\n        copyState: function (state) {\n            return {tok: state.tok, ctx: state.ctx};\n        },\n\n        innerMode: function (state) {\n            return state.tmp ? {state: state.tmp.local, mode: state.tmp.mode}\n                 : state.ctx ? {state: state.ctx.local, mode: state.ctx.mode}\n                             : null;\n        },\n\n        token: function (stream, state) {\n            return state.tok(stream, state);\n        }\n    };\n}, 'python', 'stex');\n\n///////////////////////////////////////////////////////////////////////////////\n///////////////////////////////////////////////////////////////////////////////\n\nCodeMirror.defineMode('rst', function (config, options) {\n\n    var rx_strong = /^\\*\\*[^\\*\\s](?:[^\\*]*[^\\*\\s])?\\*\\*/;\n    var rx_emphasis = /^\\*[^\\*\\s](?:[^\\*]*[^\\*\\s])?\\*/;\n    var rx_literal = /^``[^`\\s](?:[^`]*[^`\\s])``/;\n\n    var rx_number = /^(?:[\\d]+(?:[\\.,]\\d+)*)/;\n    var rx_positive = /^(?:\\s\\+[\\d]+(?:[\\.,]\\d+)*)/;\n    var rx_negative = /^(?:\\s\\-[\\d]+(?:[\\.,]\\d+)*)/;\n\n    var rx_uri_protocol = \"[Hh][Tt][Tt][Pp][Ss]?://\";\n    var rx_uri_domain = \"(?:[\\\\d\\\\w.-]+)\\\\.(?:\\\\w{2,6})\";\n    var rx_uri_path = \"(?:/[\\\\d\\\\w\\\\#\\\\%\\\\&\\\\-\\\\.\\\\,\\\\/\\\\:\\\\=\\\\?\\\\~]+)*\";\n    var rx_uri = new RegExp(\"^\" +\n        rx_uri_protocol + rx_uri_domain + rx_uri_path\n    );\n\n    var overlay = {\n        token: function (stream) {\n\n            if (stream.match(rx_strong) && stream.match (/\\W+|$/, false))\n                return 'strong';\n            if (stream.match(rx_emphasis) && stream.match (/\\W+|$/, false))\n                return 'em';\n            if (stream.match(rx_literal) && stream.match (/\\W+|$/, false))\n                return 'string-2';\n            if (stream.match(rx_number))\n                return 'number';\n            if (stream.match(rx_positive))\n                return 'positive';\n            if (stream.match(rx_negative))\n                return 'negative';\n            if (stream.match(rx_uri))\n                return 'link';\n\n            while (stream.next() != null) {\n                if (stream.match(rx_strong, false)) break;\n                if (stream.match(rx_emphasis, false)) break;\n                if (stream.match(rx_literal, false)) break;\n                if (stream.match(rx_number, false)) break;\n                if (stream.match(rx_positive, false)) break;\n                if (stream.match(rx_negative, false)) break;\n                if (stream.match(rx_uri, false)) break;\n            }\n\n            return null;\n        }\n    };\n\n    var mode = CodeMirror.getMode(\n        config, options.backdrop || 'rst-base'\n    );\n\n    return CodeMirror.overlayMode(mode, overlay, true); // combine\n}, 'python', 'stex');\n\n///////////////////////////////////////////////////////////////////////////////\n///////////////////////////////////////////////////////////////////////////////\n\nCodeMirror.defineMIME('text/x-rst', 'rst');\n\n///////////////////////////////////////////////////////////////////////////////\n///////////////////////////////////////////////////////////////////////////////\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/ruby/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Ruby mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"ruby.js\"></script>\n<style>\n      .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n      .cm-s-default span.cm-arrow { color: red; }\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Ruby</a>\n  </ul>\n</div>\n\n<article>\n<h2>Ruby mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# Code from http://sandbox.mc.edu/~bennet/ruby/code/poly_rb.html\n#\n# This program evaluates polynomials.  It first asks for the coefficients\n# of a polynomial, which must be entered on one line, highest-order first.\n# It then requests values of x and will compute the value of the poly for\n# each x.  It will repeatly ask for x values, unless you the user enters\n# a blank line.  It that case, it will ask for another polynomial.  If the\n# user types quit for either input, the program immediately exits.\n#\n\n#\n# Function to evaluate a polynomial at x.  The polynomial is given\n# as a list of coefficients, from the greatest to the least.\ndef polyval(x, coef)\n    sum = 0\n    coef = coef.clone           # Don't want to destroy the original\n    while true\n        sum += coef.shift       # Add and remove the next coef\n        break if coef.empty?    # If no more, done entirely.\n        sum *= x                # This happens the right number of times.\n    end\n    return sum\nend\n\n#\n# Function to read a line containing a list of integers and return\n# them as an array of integers.  If the string conversion fails, it\n# throws TypeError.  If the input line is the word 'quit', then it\n# converts it to an end-of-file exception\ndef readints(prompt)\n    # Read a line\n    print prompt\n    line = readline.chomp\n    raise EOFError.new if line == 'quit' # You can also use a real EOF.\n            \n    # Go through each item on the line, converting each one and adding it\n    # to retval.\n    retval = [ ]\n    for str in line.split(/\\s+/)\n        if str =~ /^\\-?\\d+$/\n            retval.push(str.to_i)\n        else\n            raise TypeError.new\n        end\n    end\n\n    return retval\nend\n\n#\n# Take a coeff and an exponent and return the string representation, ignoring\n# the sign of the coefficient.\ndef term_to_str(coef, exp)\n    ret = \"\"\n\n    # Show coeff, unless it's 1 or at the right\n    coef = coef.abs\n    ret = coef.to_s     unless coef == 1 && exp > 0\n    ret += \"x\" if exp > 0                               # x if exponent not 0\n    ret += \"^\" + exp.to_s if exp > 1                    # ^exponent, if > 1.\n\n    return ret\nend\n\n#\n# Create a string of the polynomial in sort-of-readable form.\ndef polystr(p)\n    # Get the exponent of first coefficient, plus 1.\n    exp = p.length\n\n    # Assign exponents to each term, making pairs of coeff and exponent,\n    # Then get rid of the zero terms.\n    p = (p.map { |c| exp -= 1; [ c, exp ] }).select { |p| p[0] != 0 }\n\n    # If there's nothing left, it's a zero\n    return \"0\" if p.empty?\n\n    # *** Now p is a non-empty list of [ coef, exponent ] pairs. ***\n\n    # Convert the first term, preceded by a \"-\" if it's negative.\n    result = (if p[0][0] < 0 then \"-\" else \"\" end) + term_to_str(*p[0])\n\n    # Convert the rest of the terms, in each case adding the appropriate\n    # + or - separating them.  \n    for term in p[1...p.length]\n        # Add the separator then the rep. of the term.\n        result += (if term[0] < 0 then \" - \" else \" + \" end) + \n                term_to_str(*term)\n    end\n\n    return result\nend\n        \n#\n# Run until some kind of endfile.\nbegin\n    # Repeat until an exception or quit gets us out.\n    while true\n        # Read a poly until it works.  An EOF will except out of the\n        # program.\n        print \"\\n\"\n        begin\n            poly = readints(\"Enter a polynomial coefficients: \")\n        rescue TypeError\n            print \"Try again.\\n\"\n            retry\n        end\n        break if poly.empty?\n\n        # Read and evaluate x values until the user types a blank line.\n        # Again, an EOF will except out of the pgm.\n        while true\n            # Request an integer.\n            print \"Enter x value or blank line: \"\n            x = readline.chomp\n            break if x == ''\n            raise EOFError.new if x == 'quit'\n\n            # If it looks bad, let's try again.\n            if x !~ /^\\-?\\d+$/\n                print \"That doesn't look like an integer.  Please try again.\\n\"\n                next\n            end\n\n            # Convert to an integer and print the result.\n            x = x.to_i\n            print \"p(x) = \", polystr(poly), \"\\n\"\n            print \"p(\", x, \") = \", polyval(x, poly), \"\\n\"\n        end\n    end\nrescue EOFError\n    print \"\\n=== EOF ===\\n\"\nrescue Interrupt, SignalException\n    print \"\\n=== Interrupted ===\\n\"\nelse\n    print \"--- Bye ---\\n\"\nend\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/x-ruby\",\n        tabMode: \"indent\",\n        matchBrackets: true,\n        indentUnit: 4\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-ruby</code>.</p>\n\n    <p>Development of the CodeMirror Ruby mode was kindly sponsored\n    by <a href=\"http://ubalo.com/\">Ubalo</a>, who hold\n    the <a href=\"LICENSE\">license</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/ruby/ruby.js",
    "content": "CodeMirror.defineMode(\"ruby\", function(config) {\n  function wordObj(words) {\n    var o = {};\n    for (var i = 0, e = words.length; i < e; ++i) o[words[i]] = true;\n    return o;\n  }\n  var keywords = wordObj([\n    \"alias\", \"and\", \"BEGIN\", \"begin\", \"break\", \"case\", \"class\", \"def\", \"defined?\", \"do\", \"else\",\n    \"elsif\", \"END\", \"end\", \"ensure\", \"false\", \"for\", \"if\", \"in\", \"module\", \"next\", \"not\", \"or\",\n    \"redo\", \"rescue\", \"retry\", \"return\", \"self\", \"super\", \"then\", \"true\", \"undef\", \"unless\",\n    \"until\", \"when\", \"while\", \"yield\", \"nil\", \"raise\", \"throw\", \"catch\", \"fail\", \"loop\", \"callcc\",\n    \"caller\", \"lambda\", \"proc\", \"public\", \"protected\", \"private\", \"require\", \"load\",\n    \"require_relative\", \"extend\", \"autoload\", \"__END__\", \"__FILE__\", \"__LINE__\", \"__dir__\"\n  ]);\n  var indentWords = wordObj([\"def\", \"class\", \"case\", \"for\", \"while\", \"do\", \"module\", \"then\",\n                             \"catch\", \"loop\", \"proc\", \"begin\"]);\n  var dedentWords = wordObj([\"end\", \"until\"]);\n  var matching = {\"[\": \"]\", \"{\": \"}\", \"(\": \")\"};\n  var curPunc;\n\n  function chain(newtok, stream, state) {\n    state.tokenize.push(newtok);\n    return newtok(stream, state);\n  }\n\n  function tokenBase(stream, state) {\n    curPunc = null;\n    if (stream.sol() && stream.match(\"=begin\") && stream.eol()) {\n      state.tokenize.push(readBlockComment);\n      return \"comment\";\n    }\n    if (stream.eatSpace()) return null;\n    var ch = stream.next(), m;\n    if (ch == \"`\" || ch == \"'\" || ch == '\"') {\n      return chain(readQuoted(ch, \"string\", ch == '\"' || ch == \"`\"), stream, state);\n    } else if (ch == \"/\" && !stream.eol() && stream.peek() != \" \") {\n      return chain(readQuoted(ch, \"string-2\", true), stream, state);\n    } else if (ch == \"%\") {\n      var style = \"string\", embed = true;\n      if (stream.eat(\"s\")) style = \"atom\";\n      else if (stream.eat(/[WQ]/)) style = \"string\";\n      else if (stream.eat(/[r]/)) style = \"string-2\";\n      else if (stream.eat(/[wxq]/)) { style = \"string\"; embed = false; }\n      var delim = stream.eat(/[^\\w\\s]/);\n      if (!delim) return \"operator\";\n      if (matching.propertyIsEnumerable(delim)) delim = matching[delim];\n      return chain(readQuoted(delim, style, embed, true), stream, state);\n    } else if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    } else if (ch == \"<\" && (m = stream.match(/^<-?[\\`\\\"\\']?([a-zA-Z_?]\\w*)[\\`\\\"\\']?(?:;|$)/))) {\n      return chain(readHereDoc(m[1]), stream, state);\n    } else if (ch == \"0\") {\n      if (stream.eat(\"x\")) stream.eatWhile(/[\\da-fA-F]/);\n      else if (stream.eat(\"b\")) stream.eatWhile(/[01]/);\n      else stream.eatWhile(/[0-7]/);\n      return \"number\";\n    } else if (/\\d/.test(ch)) {\n      stream.match(/^[\\d_]*(?:\\.[\\d_]+)?(?:[eE][+\\-]?[\\d_]+)?/);\n      return \"number\";\n    } else if (ch == \"?\") {\n      while (stream.match(/^\\\\[CM]-/)) {}\n      if (stream.eat(\"\\\\\")) stream.eatWhile(/\\w/);\n      else stream.next();\n      return \"string\";\n    } else if (ch == \":\") {\n      if (stream.eat(\"'\")) return chain(readQuoted(\"'\", \"atom\", false), stream, state);\n      if (stream.eat('\"')) return chain(readQuoted('\"', \"atom\", true), stream, state);\n\n      // :> :>> :< :<< are valid symbols\n      if (stream.eat(/[\\<\\>]/)) {\n        stream.eat(/[\\<\\>]/);\n        return \"atom\";\n      }\n\n      // :+ :- :/ :* :| :& :! are valid symbols\n      if (stream.eat(/[\\+\\-\\*\\/\\&\\|\\:\\!]/)) {\n        return \"atom\";\n      }\n\n      // Symbols can't start by a digit\n      if (stream.eat(/[a-zA-Z$@_]/)) {\n        stream.eatWhile(/[\\w]/);\n        // Only one ? ! = is allowed and only as the last character\n        stream.eat(/[\\?\\!\\=]/);\n        return \"atom\";\n      }\n      return \"operator\";\n    } else if (ch == \"@\" && stream.match(/^@?[a-zA-Z_]/)) {\n      stream.eat(\"@\");\n      stream.eatWhile(/[\\w]/);\n      return \"variable-2\";\n    } else if (ch == \"$\") {\n      if (stream.eat(/[a-zA-Z_]/)) {\n        stream.eatWhile(/[\\w]/);\n      } else if (stream.eat(/\\d/)) {\n        stream.eat(/\\d/);\n      } else {\n        stream.next(); // Must be a special global like $: or $!\n      }\n      return \"variable-3\";\n    } else if (/[a-zA-Z_]/.test(ch)) {\n      stream.eatWhile(/[\\w]/);\n      stream.eat(/[\\?\\!]/);\n      if (stream.eat(\":\")) return \"atom\";\n      return \"ident\";\n    } else if (ch == \"|\" && (state.varList || state.lastTok == \"{\" || state.lastTok == \"do\")) {\n      curPunc = \"|\";\n      return null;\n    } else if (/[\\(\\)\\[\\]{}\\\\;]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    } else if (ch == \"-\" && stream.eat(\">\")) {\n      return \"arrow\";\n    } else if (/[=+\\-\\/*:\\.^%<>~|]/.test(ch)) {\n      stream.eatWhile(/[=+\\-\\/*:\\.^%<>~|]/);\n      return \"operator\";\n    } else {\n      return null;\n    }\n  }\n\n  function tokenBaseUntilBrace() {\n    var depth = 1;\n    return function(stream, state) {\n      if (stream.peek() == \"}\") {\n        depth--;\n        if (depth == 0) {\n          state.tokenize.pop();\n          return state.tokenize[state.tokenize.length-1](stream, state);\n        }\n      } else if (stream.peek() == \"{\") {\n        depth++;\n      }\n      return tokenBase(stream, state);\n    };\n  }\n  function tokenBaseOnce() {\n    var alreadyCalled = false;\n    return function(stream, state) {\n      if (alreadyCalled) {\n        state.tokenize.pop();\n        return state.tokenize[state.tokenize.length-1](stream, state);\n      }\n      alreadyCalled = true;\n      return tokenBase(stream, state);\n    };\n  }\n  function readQuoted(quote, style, embed, unescaped) {\n    return function(stream, state) {\n      var escaped = false, ch;\n\n      if (state.context.type === 'read-quoted-paused') {\n        state.context = state.context.prev;\n        stream.eat(\"}\");\n      }\n\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && (unescaped || !escaped)) {\n          state.tokenize.pop();\n          break;\n        }\n        if (embed && ch == \"#\" && !escaped) {\n          if (stream.eat(\"{\")) {\n            if (quote == \"}\") {\n              state.context = {prev: state.context, type: 'read-quoted-paused'};\n            }\n            state.tokenize.push(tokenBaseUntilBrace());\n            break;\n          } else if (/[@\\$]/.test(stream.peek())) {\n            state.tokenize.push(tokenBaseOnce());\n            break;\n          }\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return style;\n    };\n  }\n  function readHereDoc(phrase) {\n    return function(stream, state) {\n      if (stream.match(phrase)) state.tokenize.pop();\n      else stream.skipToEnd();\n      return \"string\";\n    };\n  }\n  function readBlockComment(stream, state) {\n    if (stream.sol() && stream.match(\"=end\") && stream.eol())\n      state.tokenize.pop();\n    stream.skipToEnd();\n    return \"comment\";\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: [tokenBase],\n              indented: 0,\n              context: {type: \"top\", indented: -config.indentUnit},\n              continuedLine: false,\n              lastTok: null,\n              varList: false};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) state.indented = stream.indentation();\n      var style = state.tokenize[state.tokenize.length-1](stream, state), kwtype;\n      if (style == \"ident\") {\n        var word = stream.current();\n        style = keywords.propertyIsEnumerable(stream.current()) ? \"keyword\"\n          : /^[A-Z]/.test(word) ? \"tag\"\n          : (state.lastTok == \"def\" || state.lastTok == \"class\" || state.varList) ? \"def\"\n          : \"variable\";\n        if (indentWords.propertyIsEnumerable(word)) kwtype = \"indent\";\n        else if (dedentWords.propertyIsEnumerable(word)) kwtype = \"dedent\";\n        else if ((word == \"if\" || word == \"unless\") && stream.column() == stream.indentation())\n          kwtype = \"indent\";\n      }\n      if (curPunc || (style && style != \"comment\")) state.lastTok = word || curPunc || style;\n      if (curPunc == \"|\") state.varList = !state.varList;\n\n      if (kwtype == \"indent\" || /[\\(\\[\\{]/.test(curPunc))\n        state.context = {prev: state.context, type: curPunc || style, indented: state.indented};\n      else if ((kwtype == \"dedent\" || /[\\)\\]\\}]/.test(curPunc)) && state.context.prev)\n        state.context = state.context.prev;\n\n      if (stream.eol())\n        state.continuedLine = (curPunc == \"\\\\\" || style == \"operator\");\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize[state.tokenize.length-1] != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0);\n      var ct = state.context;\n      var closing = ct.type == matching[firstChar] ||\n        ct.type == \"keyword\" && /^(?:end|until|else|elsif|when|rescue)\\b/.test(textAfter);\n      return ct.indented + (closing ? 0 : config.indentUnit) +\n        (state.continuedLine ? config.indentUnit : 0);\n    },\n\n    electricChars: \"}de\", // enD and rescuE\n    lineComment: \"#\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-ruby\", \"ruby\");\n\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rust/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Rust mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"rust.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Rust</a>\n  </ul>\n</div>\n\n<article>\n<h2>Rust mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n// Demo code.\n\ntype foo<T> = int;\nenum bar {\n    some(int, foo<float>),\n    none\n}\n\nfn check_crate(x: int) {\n    let v = 10;\n    alt foo {\n      1 to 3 {\n        print_foo();\n        if x {\n            blah() + 10;\n        }\n      }\n      (x, y) { \"bye\" }\n      _ { \"hi\" }\n    }\n}\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        tabMode: \"indent\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-rustsrc</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/rust/rust.js",
    "content": "CodeMirror.defineMode(\"rust\", function() {\n  var indentUnit = 4, altIndentUnit = 2;\n  var valKeywords = {\n    \"if\": \"if-style\", \"while\": \"if-style\", \"else\": \"else-style\",\n    \"do\": \"else-style\", \"ret\": \"else-style\", \"fail\": \"else-style\",\n    \"break\": \"atom\", \"cont\": \"atom\", \"const\": \"let\", \"resource\": \"fn\",\n    \"let\": \"let\", \"fn\": \"fn\", \"for\": \"for\", \"alt\": \"alt\", \"iface\": \"iface\",\n    \"impl\": \"impl\", \"type\": \"type\", \"enum\": \"enum\", \"mod\": \"mod\",\n    \"as\": \"op\", \"true\": \"atom\", \"false\": \"atom\", \"assert\": \"op\", \"check\": \"op\",\n    \"claim\": \"op\", \"native\": \"ignore\", \"unsafe\": \"ignore\", \"import\": \"else-style\",\n    \"export\": \"else-style\", \"copy\": \"op\", \"log\": \"op\", \"log_err\": \"op\",\n    \"use\": \"op\", \"bind\": \"op\", \"self\": \"atom\"\n  };\n  var typeKeywords = function() {\n    var keywords = {\"fn\": \"fn\", \"block\": \"fn\", \"obj\": \"obj\"};\n    var atoms = \"bool uint int i8 i16 i32 i64 u8 u16 u32 u64 float f32 f64 str char\".split(\" \");\n    for (var i = 0, e = atoms.length; i < e; ++i) keywords[atoms[i]] = \"atom\";\n    return keywords;\n  }();\n  var operatorChar = /[+\\-*&%=<>!?|\\.@]/;\n\n  // Tokenizer\n\n  // Used as scratch variable to communicate multiple values without\n  // consing up tons of objects.\n  var tcat, content;\n  function r(tc, style) {\n    tcat = tc;\n    return style;\n  }\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"') {\n      state.tokenize = tokenString;\n      return state.tokenize(stream, state);\n    }\n    if (ch == \"'\") {\n      tcat = \"atom\";\n      if (stream.eat(\"\\\\\")) {\n        if (stream.skipTo(\"'\")) { stream.next(); return \"string\"; }\n        else { return \"error\"; }\n      } else {\n        stream.next();\n        return stream.eat(\"'\") ? \"string\" : \"error\";\n      }\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"/\")) { stream.skipToEnd(); return \"comment\"; }\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment(1);\n        return state.tokenize(stream, state);\n      }\n    }\n    if (ch == \"#\") {\n      if (stream.eat(\"[\")) { tcat = \"open-attr\"; return null; }\n      stream.eatWhile(/\\w/);\n      return r(\"macro\", \"meta\");\n    }\n    if (ch == \":\" && stream.match(\":<\")) {\n      return r(\"op\", null);\n    }\n    if (ch.match(/\\d/) || (ch == \".\" && stream.eat(/\\d/))) {\n      var flp = false;\n      if (!stream.match(/^x[\\da-f]+/i) && !stream.match(/^b[01]+/)) {\n        stream.eatWhile(/\\d/);\n        if (stream.eat(\".\")) { flp = true; stream.eatWhile(/\\d/); }\n        if (stream.match(/^e[+\\-]?\\d+/i)) { flp = true; }\n      }\n      if (flp) stream.match(/^f(?:32|64)/);\n      else stream.match(/^[ui](?:8|16|32|64)/);\n      return r(\"atom\", \"number\");\n    }\n    if (ch.match(/[()\\[\\]{}:;,]/)) return r(ch, null);\n    if (ch == \"-\" && stream.eat(\">\")) return r(\"->\", null);\n    if (ch.match(operatorChar)) {\n      stream.eatWhile(operatorChar);\n      return r(\"op\", null);\n    }\n    stream.eatWhile(/\\w/);\n    content = stream.current();\n    if (stream.match(/^::\\w/)) {\n      stream.backUp(1);\n      return r(\"prefix\", \"variable-2\");\n    }\n    if (state.keywords.propertyIsEnumerable(content))\n      return r(state.keywords[content], content.match(/true|false/) ? \"atom\" : \"keyword\");\n    return r(\"name\", \"variable\");\n  }\n\n  function tokenString(stream, state) {\n    var ch, escaped = false;\n    while (ch = stream.next()) {\n      if (ch == '\"' && !escaped) {\n        state.tokenize = tokenBase;\n        return r(\"atom\", \"string\");\n      }\n      escaped = !escaped && ch == \"\\\\\";\n    }\n    // Hack to not confuse the parser when a string is split in\n    // pieces.\n    return r(\"op\", \"string\");\n  }\n\n  function tokenComment(depth) {\n    return function(stream, state) {\n      var lastCh = null, ch;\n      while (ch = stream.next()) {\n        if (ch == \"/\" && lastCh == \"*\") {\n          if (depth == 1) {\n            state.tokenize = tokenBase;\n            break;\n          } else {\n            state.tokenize = tokenComment(depth - 1);\n            return state.tokenize(stream, state);\n          }\n        }\n        if (ch == \"*\" && lastCh == \"/\") {\n          state.tokenize = tokenComment(depth + 1);\n          return state.tokenize(stream, state);\n        }\n        lastCh = ch;\n      }\n      return \"comment\";\n    };\n  }\n\n  // Parser\n\n  var cx = {state: null, stream: null, marked: null, cc: null};\n  function pass() {\n    for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);\n  }\n  function cont() {\n    pass.apply(null, arguments);\n    return true;\n  }\n\n  function pushlex(type, info) {\n    var result = function() {\n      var state = cx.state;\n      state.lexical = {indented: state.indented, column: cx.stream.column(),\n                       type: type, prev: state.lexical, info: info};\n    };\n    result.lex = true;\n    return result;\n  }\n  function poplex() {\n    var state = cx.state;\n    if (state.lexical.prev) {\n      if (state.lexical.type == \")\")\n        state.indented = state.lexical.indented;\n      state.lexical = state.lexical.prev;\n    }\n  }\n  function typecx() { cx.state.keywords = typeKeywords; }\n  function valcx() { cx.state.keywords = valKeywords; }\n  poplex.lex = typecx.lex = valcx.lex = true;\n\n  function commasep(comb, end) {\n    function more(type) {\n      if (type == \",\") return cont(comb, more);\n      if (type == end) return cont();\n      return cont(more);\n    }\n    return function(type) {\n      if (type == end) return cont();\n      return pass(comb, more);\n    };\n  }\n\n  function stat_of(comb, tag) {\n    return cont(pushlex(\"stat\", tag), comb, poplex, block);\n  }\n  function block(type) {\n    if (type == \"}\") return cont();\n    if (type == \"let\") return stat_of(letdef1, \"let\");\n    if (type == \"fn\") return stat_of(fndef);\n    if (type == \"type\") return cont(pushlex(\"stat\"), tydef, endstatement, poplex, block);\n    if (type == \"enum\") return stat_of(enumdef);\n    if (type == \"mod\") return stat_of(mod);\n    if (type == \"iface\") return stat_of(iface);\n    if (type == \"impl\") return stat_of(impl);\n    if (type == \"open-attr\") return cont(pushlex(\"]\"), commasep(expression, \"]\"), poplex);\n    if (type == \"ignore\" || type.match(/[\\]\\);,]/)) return cont(block);\n    return pass(pushlex(\"stat\"), expression, poplex, endstatement, block);\n  }\n  function endstatement(type) {\n    if (type == \";\") return cont();\n    return pass();\n  }\n  function expression(type) {\n    if (type == \"atom\" || type == \"name\") return cont(maybeop);\n    if (type == \"{\") return cont(pushlex(\"}\"), exprbrace, poplex);\n    if (type.match(/[\\[\\(]/)) return matchBrackets(type, expression);\n    if (type.match(/[\\]\\)\\};,]/)) return pass();\n    if (type == \"if-style\") return cont(expression, expression);\n    if (type == \"else-style\" || type == \"op\") return cont(expression);\n    if (type == \"for\") return cont(pattern, maybetype, inop, expression, expression);\n    if (type == \"alt\") return cont(expression, altbody);\n    if (type == \"fn\") return cont(fndef);\n    if (type == \"macro\") return cont(macro);\n    return cont();\n  }\n  function maybeop(type) {\n    if (content == \".\") return cont(maybeprop);\n    if (content == \"::<\"){return cont(typarams, maybeop);}\n    if (type == \"op\" || content == \":\") return cont(expression);\n    if (type == \"(\" || type == \"[\") return matchBrackets(type, expression);\n    return pass();\n  }\n  function maybeprop() {\n    if (content.match(/^\\w+$/)) {cx.marked = \"variable\"; return cont(maybeop);}\n    return pass(expression);\n  }\n  function exprbrace(type) {\n    if (type == \"op\") {\n      if (content == \"|\") return cont(blockvars, poplex, pushlex(\"}\", \"block\"), block);\n      if (content == \"||\") return cont(poplex, pushlex(\"}\", \"block\"), block);\n    }\n    if (content == \"mutable\" || (content.match(/^\\w+$/) && cx.stream.peek() == \":\"\n                                 && !cx.stream.match(\"::\", false)))\n      return pass(record_of(expression));\n    return pass(block);\n  }\n  function record_of(comb) {\n    function ro(type) {\n      if (content == \"mutable\" || content == \"with\") {cx.marked = \"keyword\"; return cont(ro);}\n      if (content.match(/^\\w*$/)) {cx.marked = \"variable\"; return cont(ro);}\n      if (type == \":\") return cont(comb, ro);\n      if (type == \"}\") return cont();\n      return cont(ro);\n    }\n    return ro;\n  }\n  function blockvars(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(blockvars);}\n    if (type == \"op\" && content == \"|\") return cont();\n    return cont(blockvars);\n  }\n\n  function letdef1(type) {\n    if (type.match(/[\\]\\)\\};]/)) return cont();\n    if (content == \"=\") return cont(expression, letdef2);\n    if (type == \",\") return cont(letdef1);\n    return pass(pattern, maybetype, letdef1);\n  }\n  function letdef2(type) {\n    if (type.match(/[\\]\\)\\};,]/)) return pass(letdef1);\n    else return pass(expression, letdef2);\n  }\n  function maybetype(type) {\n    if (type == \":\") return cont(typecx, rtype, valcx);\n    return pass();\n  }\n  function inop(type) {\n    if (type == \"name\" && content == \"in\") {cx.marked = \"keyword\"; return cont();}\n    return pass();\n  }\n  function fndef(type) {\n    if (content == \"@\" || content == \"~\") {cx.marked = \"keyword\"; return cont(fndef);}\n    if (type == \"name\") {cx.marked = \"def\"; return cont(fndef);}\n    if (content == \"<\") return cont(typarams, fndef);\n    if (type == \"{\") return pass(expression);\n    if (type == \"(\") return cont(pushlex(\")\"), commasep(argdef, \")\"), poplex, fndef);\n    if (type == \"->\") return cont(typecx, rtype, valcx, fndef);\n    if (type == \";\") return cont();\n    return cont(fndef);\n  }\n  function tydef(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(tydef);}\n    if (content == \"<\") return cont(typarams, tydef);\n    if (content == \"=\") return cont(typecx, rtype, valcx);\n    return cont(tydef);\n  }\n  function enumdef(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(enumdef);}\n    if (content == \"<\") return cont(typarams, enumdef);\n    if (content == \"=\") return cont(typecx, rtype, valcx, endstatement);\n    if (type == \"{\") return cont(pushlex(\"}\"), typecx, enumblock, valcx, poplex);\n    return cont(enumdef);\n  }\n  function enumblock(type) {\n    if (type == \"}\") return cont();\n    if (type == \"(\") return cont(pushlex(\")\"), commasep(rtype, \")\"), poplex, enumblock);\n    if (content.match(/^\\w+$/)) cx.marked = \"def\";\n    return cont(enumblock);\n  }\n  function mod(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(mod);}\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n    return pass();\n  }\n  function iface(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(iface);}\n    if (content == \"<\") return cont(typarams, iface);\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n    return pass();\n  }\n  function impl(type) {\n    if (content == \"<\") return cont(typarams, impl);\n    if (content == \"of\" || content == \"for\") {cx.marked = \"keyword\"; return cont(rtype, impl);}\n    if (type == \"name\") {cx.marked = \"def\"; return cont(impl);}\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\n    return pass();\n  }\n  function typarams() {\n    if (content == \">\") return cont();\n    if (content == \",\") return cont(typarams);\n    if (content == \":\") return cont(rtype, typarams);\n    return pass(rtype, typarams);\n  }\n  function argdef(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(argdef);}\n    if (type == \":\") return cont(typecx, rtype, valcx);\n    return pass();\n  }\n  function rtype(type) {\n    if (type == \"name\") {cx.marked = \"variable-3\"; return cont(rtypemaybeparam); }\n    if (content == \"mutable\") {cx.marked = \"keyword\"; return cont(rtype);}\n    if (type == \"atom\") return cont(rtypemaybeparam);\n    if (type == \"op\" || type == \"obj\") return cont(rtype);\n    if (type == \"fn\") return cont(fntype);\n    if (type == \"{\") return cont(pushlex(\"{\"), record_of(rtype), poplex);\n    return matchBrackets(type, rtype);\n  }\n  function rtypemaybeparam() {\n    if (content == \"<\") return cont(typarams);\n    return pass();\n  }\n  function fntype(type) {\n    if (type == \"(\") return cont(pushlex(\"(\"), commasep(rtype, \")\"), poplex, fntype);\n    if (type == \"->\") return cont(rtype);\n    return pass();\n  }\n  function pattern(type) {\n    if (type == \"name\") {cx.marked = \"def\"; return cont(patternmaybeop);}\n    if (type == \"atom\") return cont(patternmaybeop);\n    if (type == \"op\") return cont(pattern);\n    if (type.match(/[\\]\\)\\};,]/)) return pass();\n    return matchBrackets(type, pattern);\n  }\n  function patternmaybeop(type) {\n    if (type == \"op\" && content == \".\") return cont();\n    if (content == \"to\") {cx.marked = \"keyword\"; return cont(pattern);}\n    else return pass();\n  }\n  function altbody(type) {\n    if (type == \"{\") return cont(pushlex(\"}\", \"alt\"), altblock1, poplex);\n    return pass();\n  }\n  function altblock1(type) {\n    if (type == \"}\") return cont();\n    if (type == \"|\") return cont(altblock1);\n    if (content == \"when\") {cx.marked = \"keyword\"; return cont(expression, altblock2);}\n    if (type.match(/[\\]\\);,]/)) return cont(altblock1);\n    return pass(pattern, altblock2);\n  }\n  function altblock2(type) {\n    if (type == \"{\") return cont(pushlex(\"}\", \"alt\"), block, poplex, altblock1);\n    else return pass(altblock1);\n  }\n\n  function macro(type) {\n    if (type.match(/[\\[\\(\\{]/)) return matchBrackets(type, expression);\n    return pass();\n  }\n  function matchBrackets(type, comb) {\n    if (type == \"[\") return cont(pushlex(\"]\"), commasep(comb, \"]\"), poplex);\n    if (type == \"(\") return cont(pushlex(\")\"), commasep(comb, \")\"), poplex);\n    if (type == \"{\") return cont(pushlex(\"}\"), commasep(comb, \"}\"), poplex);\n    return cont();\n  }\n\n  function parse(state, stream, style) {\n    var cc = state.cc;\n    // Communicate our context to the combinators.\n    // (Less wasteful than consing up a hundred closures on every call.)\n    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc;\n\n    while (true) {\n      var combinator = cc.length ? cc.pop() : block;\n      if (combinator(tcat)) {\n        while(cc.length && cc[cc.length - 1].lex)\n          cc.pop()();\n        return cx.marked || style;\n      }\n    }\n  }\n\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        cc: [],\n        lexical: {indented: -indentUnit, column: 0, type: \"top\", align: false},\n        keywords: valKeywords,\n        indented: 0\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (!state.lexical.hasOwnProperty(\"align\"))\n          state.lexical.align = false;\n        state.indented = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      tcat = content = null;\n      var style = state.tokenize(stream, state);\n      if (style == \"comment\") return style;\n      if (!state.lexical.hasOwnProperty(\"align\"))\n        state.lexical.align = true;\n      if (tcat == \"prefix\") return style;\n      if (!content) content = stream.current();\n      return parse(state, stream, style);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical,\n          type = lexical.type, closing = firstChar == type;\n      if (type == \"stat\") return lexical.indented + indentUnit;\n      if (lexical.align) return lexical.column + (closing ? 0 : 1);\n      return lexical.indented + (closing ? 0 : (lexical.info == \"alt\" ? altIndentUnit : indentUnit));\n    },\n\n    electricChars: \"{}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: \"//\",\n    fold: \"brace\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-rustsrc\", \"rust\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/sass/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Sass mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"sass.js\"></script>\n<style>.CodeMirror {border: 1px solid #ddd; font-size:12px; height: 400px}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Sass</a>\n  </ul>\n</div>\n\n<article>\n<h2>Sass mode</h2>\n<form><textarea id=\"code\" name=\"code\">// Variable Definitions\n\n$page-width:    800px\n$sidebar-width: 200px\n$primary-color: #eeeeee\n\n// Global Attributes\n\nbody\n  font:\n    family: sans-serif\n    size: 30em\n    weight: bold\n\n// Scoped Styles\n\n#contents\n  width: $page-width\n  #sidebar\n    float: right\n    width: $sidebar-width\n  #main\n    width: $page-width - $sidebar-width\n    background: $primary-color\n    h2\n      color: blue\n\n#footer\n  height: 200px\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers : true,\n        matchBrackets : true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-sass</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/sass/sass.js",
    "content": "CodeMirror.defineMode(\"sass\", function(config) {\n  var tokenRegexp = function(words){\n    return new RegExp(\"^\" + words.join(\"|\"));\n  };\n\n  var keywords = [\"true\", \"false\", \"null\", \"auto\"];\n  var keywordsRegexp = new RegExp(\"^\" + keywords.join(\"|\"));\n\n  var operators = [\"\\\\(\", \"\\\\)\", \"=\", \">\", \"<\", \"==\", \">=\", \"<=\", \"\\\\+\", \"-\", \"\\\\!=\", \"/\", \"\\\\*\", \"%\", \"and\", \"or\", \"not\"];\n  var opRegexp = tokenRegexp(operators);\n\n  var pseudoElementsRegexp = /^::?[\\w\\-]+/;\n\n  var urlTokens = function(stream, state){\n    var ch = stream.peek();\n\n    if (ch === \")\"){\n      stream.next();\n      state.tokenizer = tokenBase;\n      return \"operator\";\n    }else if (ch === \"(\"){\n      stream.next();\n      stream.eatSpace();\n\n      return \"operator\";\n    }else if (ch === \"'\" || ch === '\"'){\n      state.tokenizer = buildStringTokenizer(stream.next());\n      return \"string\";\n    }else{\n      state.tokenizer = buildStringTokenizer(\")\", false);\n      return \"string\";\n    }\n  };\n  var multilineComment = function(stream, state) {\n    if (stream.skipTo(\"*/\")){\n      stream.next();\n      stream.next();\n      state.tokenizer = tokenBase;\n    }else {\n      stream.next();\n    }\n\n    return \"comment\";\n  };\n\n  var buildStringTokenizer = function(quote, greedy){\n    if(greedy == null){ greedy = true; }\n\n    function stringTokenizer(stream, state){\n      var nextChar = stream.next();\n      var peekChar = stream.peek();\n      var previousChar = stream.string.charAt(stream.pos-2);\n\n      var endingString = ((nextChar !== \"\\\\\" && peekChar === quote) || (nextChar === quote && previousChar !== \"\\\\\"));\n\n      /*\n      console.log(\"previousChar: \" + previousChar);\n      console.log(\"nextChar: \" + nextChar);\n      console.log(\"peekChar: \" + peekChar);\n      console.log(\"ending: \" + endingString);\n      */\n\n      if (endingString){\n        if (nextChar !== quote && greedy) { stream.next(); }\n        state.tokenizer = tokenBase;\n        return \"string\";\n      }else if (nextChar === \"#\" && peekChar === \"{\"){\n        state.tokenizer = buildInterpolationTokenizer(stringTokenizer);\n        stream.next();\n        return \"operator\";\n      }else {\n        return \"string\";\n      }\n    }\n\n    return stringTokenizer;\n  };\n\n  var buildInterpolationTokenizer = function(currentTokenizer){\n    return function(stream, state){\n      if (stream.peek() === \"}\"){\n        stream.next();\n        state.tokenizer = currentTokenizer;\n        return \"operator\";\n      }else{\n        return tokenBase(stream, state);\n      }\n    };\n  };\n\n  var indent = function(state){\n    if (state.indentCount == 0){\n      state.indentCount++;\n      var lastScopeOffset = state.scopes[0].offset;\n      var currentOffset = lastScopeOffset + config.indentUnit;\n      state.scopes.unshift({ offset:currentOffset });\n    }\n  };\n\n  var dedent = function(state){\n    if (state.scopes.length == 1) { return; }\n\n    state.scopes.shift();\n  };\n\n  var tokenBase = function(stream, state) {\n    var ch = stream.peek();\n\n    // Single line Comment\n    if (stream.match('//')) {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n\n    // Multiline Comment\n    if (stream.match('/*')){\n      state.tokenizer = multilineComment;\n      return state.tokenizer(stream, state);\n    }\n\n    // Interpolation\n    if (stream.match('#{')){\n    state.tokenizer = buildInterpolationTokenizer(tokenBase);\n      return \"operator\";\n    }\n\n    if (ch === \".\"){\n      stream.next();\n\n      // Match class selectors\n      if (stream.match(/^[\\w-]+/)){\n        indent(state);\n        return \"atom\";\n      }else if (stream.peek() === \"#\"){\n        indent(state);\n        return \"atom\";\n      }else{\n        return \"operator\";\n      }\n    }\n\n    if (ch === \"#\"){\n      stream.next();\n\n      // Hex numbers\n      if (stream.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)){\n        return \"number\";\n      }\n\n      // ID selectors\n      if (stream.match(/^[\\w-]+/)){\n        indent(state);\n        return \"atom\";\n      }\n\n      if (stream.peek() === \"#\"){\n        indent(state);\n        return \"atom\";\n      }\n    }\n\n    // Numbers\n    if (stream.match(/^-?[0-9\\.]+/)){\n      return \"number\";\n    }\n\n    // Units\n    if (stream.match(/^(px|em|in)\\b/)){\n      return \"unit\";\n    }\n\n    if (stream.match(keywordsRegexp)){\n      return \"keyword\";\n    }\n\n    if (stream.match(/^url/) && stream.peek() === \"(\"){\n      state.tokenizer = urlTokens;\n      return \"atom\";\n    }\n\n    // Variables\n    if (ch === \"$\"){\n      stream.next();\n      stream.eatWhile(/[\\w-]/);\n\n      if (stream.peek() === \":\"){\n        stream.next();\n        return \"variable-2\";\n      }else{\n        return \"variable-3\";\n      }\n    }\n\n    if (ch === \"!\"){\n      stream.next();\n\n      if (stream.match(/^[\\w]+/)){\n        return \"keyword\";\n      }\n\n      return \"operator\";\n    }\n\n    if (ch === \"=\"){\n      stream.next();\n\n      // Match shortcut mixin definition\n      if (stream.match(/^[\\w-]+/)){\n        indent(state);\n        return \"meta\";\n      }else {\n        return \"operator\";\n      }\n    }\n\n    if (ch === \"+\"){\n      stream.next();\n\n      // Match shortcut mixin definition\n      if (stream.match(/^[\\w-]+/)){\n        return \"variable-3\";\n      }else {\n        return \"operator\";\n      }\n    }\n\n    // Indent Directives\n    if (stream.match(/^@(else if|if|media|else|for|each|while|mixin|function)/)){\n      indent(state);\n      return \"meta\";\n    }\n\n    // Other Directives\n    if (ch === \"@\"){\n      stream.next();\n      stream.eatWhile(/[\\w-]/);\n      return \"meta\";\n    }\n\n    // Strings\n    if (ch === '\"' || ch === \"'\"){\n      stream.next();\n      state.tokenizer = buildStringTokenizer(ch);\n      return \"string\";\n    }\n\n    // Pseudo element selectors\n    if (ch == ':' && stream.match(pseudoElementsRegexp)){\n      return \"keyword\";\n    }\n\n    // atoms\n    if (stream.eatWhile(/[\\w-&]/)){\n      // matches a property definition\n      if (stream.peek() === \":\" && !stream.match(pseudoElementsRegexp, false))\n        return \"property\";\n      else\n        return \"atom\";\n    }\n\n    if (stream.match(opRegexp)){\n      return \"operator\";\n    }\n\n    // If we haven't returned by now, we move 1 character\n    // and return an error\n    stream.next();\n    return null;\n  };\n\n  var tokenLexer = function(stream, state) {\n    if (stream.sol()){\n      state.indentCount = 0;\n    }\n    var style = state.tokenizer(stream, state);\n    var current = stream.current();\n\n    if (current === \"@return\"){\n      dedent(state);\n    }\n\n    if (style === \"atom\"){\n      indent(state);\n    }\n\n    if (style !== null){\n      var startOfToken = stream.pos - current.length;\n      var withCurrentIndent = startOfToken + (config.indentUnit * state.indentCount);\n\n      var newScopes = [];\n\n      for (var i = 0; i < state.scopes.length; i++){\n        var scope = state.scopes[i];\n\n        if (scope.offset <= withCurrentIndent){\n          newScopes.push(scope);\n        }\n      }\n\n      state.scopes = newScopes;\n    }\n\n\n    return style;\n  };\n\n  return {\n    startState: function() {\n      return {\n        tokenizer: tokenBase,\n        scopes: [{offset: 0, type: 'sass'}],\n        definedVars: [],\n        definedMixins: []\n      };\n    },\n    token: function(stream, state) {\n      var style = tokenLexer(stream, state);\n\n      state.lastToken = { style: style, content: stream.current() };\n\n      return style;\n    },\n\n    indent: function(state) {\n      return state.scopes[0].offset;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-sass\", \"sass\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/scheme/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Scheme mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"scheme.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Scheme</a>\n  </ul>\n</div>\n\n<article>\n<h2>Scheme mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n; See if the input starts with a given symbol.\n(define (match-symbol input pattern)\n  (cond ((null? (remain input)) #f)\n\t((eqv? (car (remain input)) pattern) (r-cdr input))\n\t(else #f)))\n\n; Allow the input to start with one of a list of patterns.\n(define (match-or input pattern)\n  (cond ((null? pattern) #f)\n\t((match-pattern input (car pattern)))\n\t(else (match-or input (cdr pattern)))))\n\n; Allow a sequence of patterns.\n(define (match-seq input pattern)\n  (if (null? pattern)\n      input\n      (let ((match (match-pattern input (car pattern))))\n\t(if match (match-seq match (cdr pattern)) #f))))\n\n; Match with the pattern but no problem if it does not match.\n(define (match-opt input pattern)\n  (let ((match (match-pattern input (car pattern))))\n    (if match match input)))\n\n; Match anything (other than '()), until pattern is found. The rather\n; clumsy form of requiring an ending pattern is needed to decide where\n; the end of the match is. If none is given, this will match the rest\n; of the sentence.\n(define (match-any input pattern)\n  (cond ((null? (remain input)) #f)\n\t((null? pattern) (f-cons (remain input) (clear-remain input)))\n\t(else\n\t (let ((accum-any (collector)))\n\t   (define (match-pattern-any input pattern)\n\t     (cond ((null? (remain input)) #f)\n\t\t   (else (accum-any (car (remain input)))\n\t\t\t (cond ((match-pattern (r-cdr input) pattern))\n\t\t\t       (else (match-pattern-any (r-cdr input) pattern))))))\n\t   (let ((retval (match-pattern-any input (car pattern))))\n\t     (if retval\n\t\t (f-cons (accum-any) retval)\n\t\t #f))))))\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-scheme</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/scheme/scheme.js",
    "content": "/**\n * Author: Koh Zi Han, based on implementation by Koh Zi Chun\n */\nCodeMirror.defineMode(\"scheme\", function () {\n    var BUILTIN = \"builtin\", COMMENT = \"comment\", STRING = \"string\",\n        ATOM = \"atom\", NUMBER = \"number\", BRACKET = \"bracket\";\n    var INDENT_WORD_SKIP = 2;\n\n    function makeKeywords(str) {\n        var obj = {}, words = str.split(\" \");\n        for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n        return obj;\n    }\n\n    var keywords = makeKeywords(\"λ case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?\");\n    var indentKeys = makeKeywords(\"define let letrec let* lambda\");\n\n    function stateStack(indent, type, prev) { // represents a state stack object\n        this.indent = indent;\n        this.type = type;\n        this.prev = prev;\n    }\n\n    function pushStack(state, indent, type) {\n        state.indentStack = new stateStack(indent, type, state.indentStack);\n    }\n\n    function popStack(state) {\n        state.indentStack = state.indentStack.prev;\n    }\n\n    var binaryMatcher = new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\\/[01]+#*)?i|[-+]?[01]+#*(?:\\/[01]+#*)?@[-+]?[01]+#*(?:\\/[01]+#*)?|[-+]?[01]+#*(?:\\/[01]+#*)?[-+](?:[01]+#*(?:\\/[01]+#*)?)?i|[-+]?[01]+#*(?:\\/[01]+#*)?)(?=[()\\s;\"]|$)/i);\n    var octalMatcher = new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\\/[0-7]+#*)?)(?=[()\\s;\"]|$)/i);\n    var hexMatcher = new RegExp(/^(?:[-+]i|[-+][\\da-f]+#*(?:\\/[\\da-f]+#*)?i|[-+]?[\\da-f]+#*(?:\\/[\\da-f]+#*)?@[-+]?[\\da-f]+#*(?:\\/[\\da-f]+#*)?|[-+]?[\\da-f]+#*(?:\\/[\\da-f]+#*)?[-+](?:[\\da-f]+#*(?:\\/[\\da-f]+#*)?)?i|[-+]?[\\da-f]+#*(?:\\/[\\da-f]+#*)?)(?=[()\\s;\"]|$)/i);\n    var decimalMatcher = new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)i|[-+]?(?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)@[-+]?(?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)|[-+]?(?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)[-+](?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*)?i|(?:(?:(?:\\d+#+\\.?#*|\\d+\\.\\d*#*|\\.\\d+#*|\\d+)(?:[esfdl][-+]?\\d+)?)|\\d+#*\\/\\d+#*))(?=[()\\s;\"]|$)/i);\n\n    function isBinaryNumber (stream) {\n        return stream.match(binaryMatcher);\n    }\n\n    function isOctalNumber (stream) {\n        return stream.match(octalMatcher);\n    }\n\n    function isDecimalNumber (stream, backup) {\n        if (backup === true) {\n            stream.backUp(1);\n        }\n        return stream.match(decimalMatcher);\n    }\n\n    function isHexNumber (stream) {\n        return stream.match(hexMatcher);\n    }\n\n    return {\n        startState: function () {\n            return {\n                indentStack: null,\n                indentation: 0,\n                mode: false,\n                sExprComment: false\n            };\n        },\n\n        token: function (stream, state) {\n            if (state.indentStack == null && stream.sol()) {\n                // update indentation, but only if indentStack is empty\n                state.indentation = stream.indentation();\n            }\n\n            // skip spaces\n            if (stream.eatSpace()) {\n                return null;\n            }\n            var returnType = null;\n\n            switch(state.mode){\n                case \"string\": // multi-line string parsing mode\n                    var next, escaped = false;\n                    while ((next = stream.next()) != null) {\n                        if (next == \"\\\"\" && !escaped) {\n\n                            state.mode = false;\n                            break;\n                        }\n                        escaped = !escaped && next == \"\\\\\";\n                    }\n                    returnType = STRING; // continue on in scheme-string mode\n                    break;\n                case \"comment\": // comment parsing mode\n                    var next, maybeEnd = false;\n                    while ((next = stream.next()) != null) {\n                        if (next == \"#\" && maybeEnd) {\n\n                            state.mode = false;\n                            break;\n                        }\n                        maybeEnd = (next == \"|\");\n                    }\n                    returnType = COMMENT;\n                    break;\n                case \"s-expr-comment\": // s-expr commenting mode\n                    state.mode = false;\n                    if(stream.peek() == \"(\" || stream.peek() == \"[\"){\n                        // actually start scheme s-expr commenting mode\n                        state.sExprComment = 0;\n                    }else{\n                        // if not we just comment the entire of the next token\n                        stream.eatWhile(/[^/s]/); // eat non spaces\n                        returnType = COMMENT;\n                        break;\n                    }\n                default: // default parsing mode\n                    var ch = stream.next();\n\n                    if (ch == \"\\\"\") {\n                        state.mode = \"string\";\n                        returnType = STRING;\n\n                    } else if (ch == \"'\") {\n                        returnType = ATOM;\n                    } else if (ch == '#') {\n                        if (stream.eat(\"|\")) {                    // Multi-line comment\n                            state.mode = \"comment\"; // toggle to comment mode\n                            returnType = COMMENT;\n                        } else if (stream.eat(/[tf]/i)) {            // #t/#f (atom)\n                            returnType = ATOM;\n                        } else if (stream.eat(';')) {                // S-Expr comment\n                            state.mode = \"s-expr-comment\";\n                            returnType = COMMENT;\n                        } else {\n                            var numTest = null, hasExactness = false, hasRadix = true;\n                            if (stream.eat(/[ei]/i)) {\n                                hasExactness = true;\n                            } else {\n                                stream.backUp(1);       // must be radix specifier\n                            }\n                            if (stream.match(/^#b/i)) {\n                                numTest = isBinaryNumber;\n                            } else if (stream.match(/^#o/i)) {\n                                numTest = isOctalNumber;\n                            } else if (stream.match(/^#x/i)) {\n                                numTest = isHexNumber;\n                            } else if (stream.match(/^#d/i)) {\n                                numTest = isDecimalNumber;\n                            } else if (stream.match(/^[-+0-9.]/, false)) {\n                                hasRadix = false;\n                                numTest = isDecimalNumber;\n                            // re-consume the intial # if all matches failed\n                            } else if (!hasExactness) {\n                                stream.eat('#');\n                            }\n                            if (numTest != null) {\n                                if (hasRadix && !hasExactness) {\n                                    // consume optional exactness after radix\n                                    stream.match(/^#[ei]/i);\n                                }\n                                if (numTest(stream))\n                                    returnType = NUMBER;\n                            }\n                        }\n                    } else if (/^[-+0-9.]/.test(ch) && isDecimalNumber(stream, true)) { // match non-prefixed number, must be decimal\n                        returnType = NUMBER;\n                    } else if (ch == \";\") { // comment\n                        stream.skipToEnd(); // rest of the line is a comment\n                        returnType = COMMENT;\n                    } else if (ch == \"(\" || ch == \"[\") {\n                      var keyWord = ''; var indentTemp = stream.column(), letter;\n                        /**\n                        Either\n                        (indent-word ..\n                        (non-indent-word ..\n                        (;something else, bracket, etc.\n                        */\n\n                        while ((letter = stream.eat(/[^\\s\\(\\[\\;\\)\\]]/)) != null) {\n                            keyWord += letter;\n                        }\n\n                        if (keyWord.length > 0 && indentKeys.propertyIsEnumerable(keyWord)) { // indent-word\n\n                            pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);\n                        } else { // non-indent word\n                            // we continue eating the spaces\n                            stream.eatSpace();\n                            if (stream.eol() || stream.peek() == \";\") {\n                                // nothing significant after\n                                // we restart indentation 1 space after\n                                pushStack(state, indentTemp + 1, ch);\n                            } else {\n                                pushStack(state, indentTemp + stream.current().length, ch); // else we match\n                            }\n                        }\n                        stream.backUp(stream.current().length - 1); // undo all the eating\n\n                        if(typeof state.sExprComment == \"number\") state.sExprComment++;\n\n                        returnType = BRACKET;\n                    } else if (ch == \")\" || ch == \"]\") {\n                        returnType = BRACKET;\n                        if (state.indentStack != null && state.indentStack.type == (ch == \")\" ? \"(\" : \"[\")) {\n                            popStack(state);\n\n                            if(typeof state.sExprComment == \"number\"){\n                                if(--state.sExprComment == 0){\n                                    returnType = COMMENT; // final closing bracket\n                                    state.sExprComment = false; // turn off s-expr commenting mode\n                                }\n                            }\n                        }\n                    } else {\n                        stream.eatWhile(/[\\w\\$_\\-!$%&*+\\.\\/:<=>?@\\^~]/);\n\n                        if (keywords && keywords.propertyIsEnumerable(stream.current())) {\n                            returnType = BUILTIN;\n                        } else returnType = \"variable\";\n                    }\n            }\n            return (typeof state.sExprComment == \"number\") ? COMMENT : returnType;\n        },\n\n        indent: function (state) {\n            if (state.indentStack == null) return state.indentation;\n            return state.indentStack.indent;\n        },\n\n        lineComment: \";;\"\n    };\n});\n\nCodeMirror.defineMIME(\"text/x-scheme\", \"scheme\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/shell/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Shell mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=stylesheet href=../../lib/codemirror.css>\n<script src=../../lib/codemirror.js></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=shell.js></script>\n<style type=text/css>\n  .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Shell</a>\n  </ul>\n</div>\n\n<article>\n<h2>Shell mode</h2>\n\n\n<textarea id=code>\n#!/bin/bash\n\n# clone the repository\ngit clone http://github.com/garden/tree\n\n# generate HTTPS credentials\ncd tree\nopenssl genrsa -aes256 -out https.key 1024\nopenssl req -new -nodes -key https.key -out https.csr\nopenssl x509 -req -days 365 -in https.csr -signkey https.key -out https.crt\ncp https.key{,.orig}\nopenssl rsa -in https.key.orig -out https.key\n\n# start the server in HTTPS mode\ncd web\nsudo node ../server.js 443 'yes' &gt;&gt; ../node.log &amp;\n\n# here is how to stop the server\nfor pid in `ps aux | grep 'node ../server.js' | awk '{print $2}'` ; do\n  sudo kill -9 $pid 2&gt; /dev/null\ndone\n\nexit 0</textarea>\n\n<script>\n  var editor = CodeMirror.fromTextArea(document.getElementById('code'), {\n    mode: 'shell',\n    lineNumbers: true,\n    matchBrackets: true\n  });\n</script>\n\n<p><strong>MIME types defined:</strong> <code>text/x-sh</code>.</p>\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/shell/shell.js",
    "content": "CodeMirror.defineMode('shell', function() {\n\n  var words = {};\n  function define(style, string) {\n    var split = string.split(' ');\n    for(var i = 0; i < split.length; i++) {\n      words[split[i]] = style;\n    }\n  };\n\n  // Atoms\n  define('atom', 'true false');\n\n  // Keywords\n  define('keyword', 'if then do else elif while until for in esac fi fin ' +\n    'fil done exit set unset export function');\n\n  // Commands\n  define('builtin', 'ab awk bash beep cat cc cd chown chmod chroot clear cp ' +\n    'curl cut diff echo find gawk gcc get git grep kill killall ln ls make ' +\n    'mkdir openssl mv nc node npm ping ps restart rm rmdir sed service sh ' +\n    'shopt shred source sort sleep ssh start stop su sudo tee telnet top ' +\n    'touch vi vim wall wc wget who write yes zsh');\n\n  function tokenBase(stream, state) {\n\n    var sol = stream.sol();\n    var ch = stream.next();\n\n    if (ch === '\\'' || ch === '\"' || ch === '`') {\n      state.tokens.unshift(tokenString(ch));\n      return tokenize(stream, state);\n    }\n    if (ch === '#') {\n      if (sol && stream.eat('!')) {\n        stream.skipToEnd();\n        return 'meta'; // 'comment'?\n      }\n      stream.skipToEnd();\n      return 'comment';\n    }\n    if (ch === '$') {\n      state.tokens.unshift(tokenDollar);\n      return tokenize(stream, state);\n    }\n    if (ch === '+' || ch === '=') {\n      return 'operator';\n    }\n    if (ch === '-') {\n      stream.eat('-');\n      stream.eatWhile(/\\w/);\n      return 'attribute';\n    }\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/\\d/);\n      if(!/\\w/.test(stream.peek())) {\n        return 'number';\n      }\n    }\n    stream.eatWhile(/[\\w-]/);\n    var cur = stream.current();\n    if (stream.peek() === '=' && /\\w+/.test(cur)) return 'def';\n    return words.hasOwnProperty(cur) ? words[cur] : null;\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var next, end = false, escaped = false;\n      while ((next = stream.next()) != null) {\n        if (next === quote && !escaped) {\n          end = true;\n          break;\n        }\n        if (next === '$' && !escaped && quote !== '\\'') {\n          escaped = true;\n          stream.backUp(1);\n          state.tokens.unshift(tokenDollar);\n          break;\n        }\n        escaped = !escaped && next === '\\\\';\n      }\n      if (end || !escaped) {\n        state.tokens.shift();\n      }\n      return (quote === '`' || quote === ')' ? 'quote' : 'string');\n    };\n  };\n\n  var tokenDollar = function(stream, state) {\n    if (state.tokens.length > 1) stream.eat('$');\n    var ch = stream.next(), hungry = /\\w/;\n    if (ch === '{') hungry = /[^}]/;\n    if (ch === '(') {\n      state.tokens[0] = tokenString(')');\n      return tokenize(stream, state);\n    }\n    if (!/\\d/.test(ch)) {\n      stream.eatWhile(hungry);\n      stream.eat('}');\n    }\n    state.tokens.shift();\n    return 'def';\n  };\n\n  function tokenize(stream, state) {\n    return (state.tokens[0] || tokenBase) (stream, state);\n  };\n\n  return {\n    startState: function() {return {tokens:[]};},\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      return tokenize(stream, state);\n    }\n  };\n});\n\nCodeMirror.defineMIME('text/x-sh', 'shell');\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/sieve/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Sieve (RFC5228) mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"sieve.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Sieve (RFC5228)</a>\n  </ul>\n</div>\n\n<article>\n<h2>Sieve (RFC5228) mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n#\n# Example Sieve Filter\n# Declare any optional features or extension used by the script\n#\n\nrequire [\"fileinto\", \"reject\"];\n\n#\n# Reject any large messages (note that the four leading dots get\n# \"stuffed\" to three)\n#\nif size :over 1M\n{\n  reject text:\nPlease do not send me large attachments.\nPut your file on a server and send me the URL.\nThank you.\n.... Fred\n.\n;\n  stop;\n}\n\n#\n# Handle messages from known mailing lists\n# Move messages from IETF filter discussion list to filter folder\n#\nif header :is \"Sender\" \"owner-ietf-mta-filters@imc.org\"\n{\n  fileinto \"filter\";  # move to \"filter\" folder\n}\n#\n# Keep all messages to or from people in my company\n#\nelsif address :domain :is [\"From\", \"To\"] \"example.com\"\n{\n  keep;               # keep in \"In\" folder\n}\n\n#\n# Try and catch unsolicited email.  If a message is not to me,\n# or it contains a subject known to be spam, file it away.\n#\nelsif anyof (not address :all :contains\n               [\"To\", \"Cc\", \"Bcc\"] \"me@example.com\",\n             header :matches \"subject\"\n               [\"*make*money*fast*\", \"*university*dipl*mas*\"])\n{\n  # If message header does not contain my address,\n  # it's from a list.\n  fileinto \"spam\";   # move to \"spam\" folder\n}\nelse\n{\n  # Move all other (non-company) mail to \"personal\"\n  # folder.\n  fileinto \"personal\";\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>application/sieve</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/sieve/sieve.js",
    "content": "/*\n * See LICENSE in this directory for the license under which this code\n * is released.\n */\n\nCodeMirror.defineMode(\"sieve\", function(config) {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  var keywords = words(\"if elsif else stop require\");\n  var atoms = words(\"true false not\");\n  var indentUnit = config.indentUnit;\n\n  function tokenBase(stream, state) {\n\n    var ch = stream.next();\n    if (ch == \"/\" && stream.eat(\"*\")) {\n      state.tokenize = tokenCComment;\n      return tokenCComment(stream, state);\n    }\n\n    if (ch === '#') {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n\n    if (ch == \"\\\"\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n\n    if (ch == \"(\") {\n      state._indent.push(\"(\");\n      // add virtual angel wings so that editor behaves...\n      // ...more sane incase of broken brackets\n      state._indent.push(\"{\");\n      return null;\n    }\n\n    if (ch === \"{\") {\n      state._indent.push(\"{\");\n      return null;\n    }\n\n    if (ch == \")\")  {\n      state._indent.pop();\n      state._indent.pop();\n    }\n\n    if (ch === \"}\") {\n      state._indent.pop();\n      return null;\n    }\n\n    if (ch == \",\")\n      return null;\n\n    if (ch == \";\")\n      return null;\n\n\n    if (/[{}\\(\\),;]/.test(ch))\n      return null;\n\n    // 1*DIGIT \"K\" / \"M\" / \"G\"\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\d]/);\n      stream.eat(/[KkMmGg]/);\n      return \"number\";\n    }\n\n    // \":\" (ALPHA / \"_\") *(ALPHA / DIGIT / \"_\")\n    if (ch == \":\") {\n      stream.eatWhile(/[a-zA-Z_]/);\n      stream.eatWhile(/[a-zA-Z0-9_]/);\n\n      return \"operator\";\n    }\n\n    stream.eatWhile(/\\w/);\n    var cur = stream.current();\n\n    // \"text:\" *(SP / HTAB) (hash-comment / CRLF)\n    // *(multiline-literal / multiline-dotstart)\n    // \".\" CRLF\n    if ((cur == \"text\") && stream.eat(\":\"))\n    {\n      state.tokenize = tokenMultiLineString;\n      return \"string\";\n    }\n\n    if (keywords.propertyIsEnumerable(cur))\n      return \"keyword\";\n\n    if (atoms.propertyIsEnumerable(cur))\n      return \"atom\";\n\n    return null;\n  }\n\n  function tokenMultiLineString(stream, state)\n  {\n    state._multiLineString = true;\n    // the first line is special it may contain a comment\n    if (!stream.sol()) {\n      stream.eatSpace();\n\n      if (stream.peek() == \"#\") {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n\n      stream.skipToEnd();\n      return \"string\";\n    }\n\n    if ((stream.next() == \".\")  && (stream.eol()))\n    {\n      state._multiLineString = false;\n      state.tokenize = tokenBase;\n    }\n\n    return \"string\";\n  }\n\n  function tokenCComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (maybeEnd && ch == \"/\") {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped)\n          break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  return {\n    startState: function(base) {\n      return {tokenize: tokenBase,\n              baseIndent: base || 0,\n              _indent: []};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace())\n        return null;\n\n      return (state.tokenize || tokenBase)(stream, state);;\n    },\n\n    indent: function(state, _textAfter) {\n      var length = state._indent.length;\n      if (_textAfter && (_textAfter[0] == \"}\"))\n        length--;\n\n      if (length <0)\n        length = 0;\n\n      return length * indentUnit;\n    },\n\n    electricChars: \"}\"\n  };\n});\n\nCodeMirror.defineMIME(\"application/sieve\", \"sieve\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/smalltalk/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Smalltalk mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"smalltalk.js\"></script>\n<style>\n      .CodeMirror {border: 2px solid #dee; border-right-width: 10px;}\n      .CodeMirror-gutter {border: none; background: #dee;}\n      .CodeMirror-gutter pre {color: white; font-weight: bold;}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Smalltalk</a>\n  </ul>\n</div>\n\n<article>\n<h2>Smalltalk mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n\" \n    This is a test of the Smalltalk code\n\"\nSeaside.WAComponent subclass: #MyCounter [\n    | count |\n    MyCounter class &gt;&gt; canBeRoot [ ^true ]\n\n    initialize [\n        super initialize.\n        count := 0.\n    ]\n    states [ ^{ self } ]\n    renderContentOn: html [\n        html heading: count.\n        html anchor callback: [ count := count + 1 ]; with: '++'.\n        html space.\n        html anchor callback: [ count := count - 1 ]; with: '--'.\n    ]\n]\n\nMyCounter registerAsApplication: 'mycounter'\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        mode: \"text/x-stsrc\",\n        indentUnit: 4\n      });\n    </script>\n\n    <p>Simple Smalltalk mode.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-stsrc</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/smalltalk/smalltalk.js",
    "content": "CodeMirror.defineMode('smalltalk', function(config) {\n\n  var specialChars = /[+\\-\\/\\\\*~<>=@%|&?!.,:;^]/;\n  var keywords = /true|false|nil|self|super|thisContext/;\n\n  var Context = function(tokenizer, parent) {\n    this.next = tokenizer;\n    this.parent = parent;\n  };\n\n  var Token = function(name, context, eos) {\n    this.name = name;\n    this.context = context;\n    this.eos = eos;\n  };\n\n  var State = function() {\n    this.context = new Context(next, null);\n    this.expectVariable = true;\n    this.indentation = 0;\n    this.userIndentationDelta = 0;\n  };\n\n  State.prototype.userIndent = function(indentation) {\n    this.userIndentationDelta = indentation > 0 ? (indentation / config.indentUnit - this.indentation) : 0;\n  };\n\n  var next = function(stream, context, state) {\n    var token = new Token(null, context, false);\n    var aChar = stream.next();\n\n    if (aChar === '\"') {\n      token = nextComment(stream, new Context(nextComment, context));\n\n    } else if (aChar === '\\'') {\n      token = nextString(stream, new Context(nextString, context));\n\n    } else if (aChar === '#') {\n      if (stream.peek() === '\\'') {\n        stream.next();\n        token = nextSymbol(stream, new Context(nextSymbol, context));\n      } else {\n        stream.eatWhile(/[^ .\\[\\]()]/);\n        token.name = 'string-2';\n      }\n\n    } else if (aChar === '$') {\n      if (stream.next() === '<') {\n        stream.eatWhile(/[^ >]/);\n        stream.next();\n      }\n      token.name = 'string-2';\n\n    } else if (aChar === '|' && state.expectVariable) {\n      token.context = new Context(nextTemporaries, context);\n\n    } else if (/[\\[\\]{}()]/.test(aChar)) {\n      token.name = 'bracket';\n      token.eos = /[\\[{(]/.test(aChar);\n\n      if (aChar === '[') {\n        state.indentation++;\n      } else if (aChar === ']') {\n        state.indentation = Math.max(0, state.indentation - 1);\n      }\n\n    } else if (specialChars.test(aChar)) {\n      stream.eatWhile(specialChars);\n      token.name = 'operator';\n      token.eos = aChar !== ';'; // ; cascaded message expression\n\n    } else if (/\\d/.test(aChar)) {\n      stream.eatWhile(/[\\w\\d]/);\n      token.name = 'number';\n\n    } else if (/[\\w_]/.test(aChar)) {\n      stream.eatWhile(/[\\w\\d_]/);\n      token.name = state.expectVariable ? (keywords.test(stream.current()) ? 'keyword' : 'variable') : null;\n\n    } else {\n      token.eos = state.expectVariable;\n    }\n\n    return token;\n  };\n\n  var nextComment = function(stream, context) {\n    stream.eatWhile(/[^\"]/);\n    return new Token('comment', stream.eat('\"') ? context.parent : context, true);\n  };\n\n  var nextString = function(stream, context) {\n    stream.eatWhile(/[^']/);\n    return new Token('string', stream.eat('\\'') ? context.parent : context, false);\n  };\n\n  var nextSymbol = function(stream, context) {\n    stream.eatWhile(/[^']/);\n    return new Token('string-2', stream.eat('\\'') ? context.parent : context, false);\n  };\n\n  var nextTemporaries = function(stream, context) {\n    var token = new Token(null, context, false);\n    var aChar = stream.next();\n\n    if (aChar === '|') {\n      token.context = context.parent;\n      token.eos = true;\n\n    } else {\n      stream.eatWhile(/[^|]/);\n      token.name = 'variable';\n    }\n\n    return token;\n  };\n\n  return {\n    startState: function() {\n      return new State;\n    },\n\n    token: function(stream, state) {\n      state.userIndent(stream.indentation());\n\n      if (stream.eatSpace()) {\n        return null;\n      }\n\n      var token = state.context.next(stream, state.context, state);\n      state.context = token.context;\n      state.expectVariable = token.eos;\n\n      return token.name;\n    },\n\n    blankLine: function(state) {\n      state.userIndent(0);\n    },\n\n    indent: function(state, textAfter) {\n      var i = state.context.next === next && textAfter && textAfter.charAt(0) === ']' ? -1 : state.userIndentationDelta;\n      return (state.indentation + i) * config.indentUnit;\n    },\n\n    electricChars: ']'\n  };\n\n});\n\nCodeMirror.defineMIME('text/x-stsrc', {name: 'smalltalk'});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/smarty/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Smarty mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"smarty.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Smarty</a>\n  </ul>\n</div>\n\n<article>\n<h2>Smarty mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n{extends file=\"parent.tpl\"}\n{include file=\"template.tpl\"}\n\n{* some example Smarty content *}\n{if isset($name) && $name == 'Blog'}\n  This is a {$var}.\n  {$integer = 451}, {$array[] = \"a\"}, {$stringvar = \"string\"}\n  {assign var='bob' value=$var.prop}\n{elseif $name == $foo}\n  {function name=menu level=0}\n    {foreach $data as $entry}\n      {if is_array($entry)}\n        - {$entry@key}\n        {menu data=$entry level=$level+1}\n      {else}\n        {$entry}\n      {/if}\n    {/foreach}\n  {/function}\n{/if}</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"smarty\"\n      });\n    </script>\n\n    <br />\n\n\t<h3>Smarty 2, custom delimiters</h3>\n    <form><textarea id=\"code2\" name=\"code2\">\n{--extends file=\"parent.tpl\"--}\n{--include file=\"template.tpl\"--}\n\n{--* some example Smarty content *--}\n{--if isset($name) && $name == 'Blog'--}\n  This is a {--$var--}.\n  {--$integer = 451--}, {--$array[] = \"a\"--}, {--$stringvar = \"string\"--}\n  {--assign var='bob' value=$var.prop--}\n{--elseif $name == $foo--}\n  {--function name=menu level=0--}\n    {--foreach $data as $entry--}\n      {--if is_array($entry)--}\n        - {--$entry@key--}\n        {--menu data=$entry level=$level+1--}\n      {--else--}\n        {--$entry--}\n      {--/if--}\n    {--/foreach--}\n  {--/function--}\n{--/if--}</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code2\"), {\n        lineNumbers: true,\n        mode: {\n          name: \"smarty\",\n          leftDelimiter: \"{--\",\n          rightDelimiter: \"--}\"\n        }\n      });\n    </script>\n\n\t<br />\n\n\t<h3>Smarty 3</h3>\n\n\t<textarea id=\"code3\" name=\"code3\">\nNested tags {$foo={counter one=1 two={inception}}+3} are now valid in Smarty 3.\n\n<script>\nfunction test() {\n\tconsole.log(\"Smarty 3 permits single curly braces followed by whitespace to NOT slip into Smarty mode.\");\n}\n</script>\n\n{assign var=foo value=[1,2,3]}\n{assign var=foo value=['y'=>'yellow','b'=>'blue']}\n{assign var=foo value=[1,[9,8],3]}\n\n{$foo=$bar+2} {* a comment *}\n{$foo.bar=1}  {* another comment *}\n{$foo = myfunct(($x+$y)*3)}\n{$foo = strlen($bar)}\n{$foo.bar.baz=1}, {$foo[]=1}\n\nSmarty \"dot\" syntax (note: embedded {} are used to address ambiguities):\n\n{$foo.a.b.c}      => $foo['a']['b']['c']\n{$foo.a.$b.c}     => $foo['a'][$b]['c']\n{$foo.a.{$b+4}.c} => $foo['a'][$b+4]['c']\n{$foo.a.{$b.c}}   => $foo['a'][$b['c']]\n\n{$object->method1($x)->method2($y)}</textarea>\n\n\t<script>\n\t\tvar editor = CodeMirror.fromTextArea(document.getElementById(\"code3\"), {\n\t\t\tlineNumbers: true,\n\t\t\tmode: \"smarty\",\n\t\t\tsmartyVersion: 3\n\t\t});\n\t</script>\n\n\n    <p>A plain text/Smarty version 2 or 3 mode, which allows for custom delimiter tags.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-smarty</code></p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/smarty/smarty.js",
    "content": "/**\n * Smarty 2 and 3 mode.\n */\nCodeMirror.defineMode(\"smarty\", function(config) {\n  \"use strict\";\n\n  // our default settings; check to see if they're overridden\n  var settings = {\n    rightDelimiter: '}',\n    leftDelimiter: '{',\n    smartyVersion: 2 // for backward compatibility\n  };\n  if (config.hasOwnProperty(\"leftDelimiter\")) {\n    settings.leftDelimiter = config.leftDelimiter;\n  }\n  if (config.hasOwnProperty(\"rightDelimiter\")) {\n    settings.rightDelimiter = config.rightDelimiter;\n  }\n  if (config.hasOwnProperty(\"smartyVersion\") && config.smartyVersion === 3) {\n    settings.smartyVersion = 3;\n  }\n\n  var keyFunctions = [\"debug\", \"extends\", \"function\", \"include\", \"literal\"];\n  var last;\n  var regs = {\n    operatorChars: /[+\\-*&%=<>!?]/,\n    validIdentifier: /[a-zA-Z0-9_]/,\n    stringChar: /['\"]/\n  };\n\n  var helpers = {\n    cont: function(style, lastType) {\n      last = lastType;\n      return style;\n    },\n    chain: function(stream, state, parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    }\n  };\n\n\n  // our various parsers\n  var parsers = {\n\n    // the main tokenizer\n    tokenizer: function(stream, state) {\n      if (stream.match(settings.leftDelimiter, true)) {\n        if (stream.eat(\"*\")) {\n          return helpers.chain(stream, state, parsers.inBlock(\"comment\", \"*\" + settings.rightDelimiter));\n        } else {\n          // Smarty 3 allows { and } surrounded by whitespace to NOT slip into Smarty mode\n          state.depth++;\n          var isEol = stream.eol();\n          var isFollowedByWhitespace = /\\s/.test(stream.peek());\n          if (settings.smartyVersion === 3 && settings.leftDelimiter === \"{\" && (isEol || isFollowedByWhitespace)) {\n            state.depth--;\n            return null;\n          } else {\n            state.tokenize = parsers.smarty;\n            last = \"startTag\";\n            return \"tag\";\n          }\n        }\n      } else {\n        stream.next();\n        return null;\n      }\n    },\n\n    // parsing Smarty content\n    smarty: function(stream, state) {\n      if (stream.match(settings.rightDelimiter, true)) {\n        if (settings.smartyVersion === 3) {\n          state.depth--;\n          if (state.depth <= 0) {\n            state.tokenize = parsers.tokenizer;\n          }\n        } else {\n          state.tokenize = parsers.tokenizer;\n        }\n        return helpers.cont(\"tag\", null);\n      }\n\n      if (stream.match(settings.leftDelimiter, true)) {\n        state.depth++;\n        return helpers.cont(\"tag\", \"startTag\");\n      }\n\n      var ch = stream.next();\n      if (ch == \"$\") {\n        stream.eatWhile(regs.validIdentifier);\n        return helpers.cont(\"variable-2\", \"variable\");\n      } else if (ch == \"|\") {\n        return helpers.cont(\"operator\", \"pipe\");\n      } else if (ch == \".\") {\n        return helpers.cont(\"operator\", \"property\");\n      } else if (regs.stringChar.test(ch)) {\n        state.tokenize = parsers.inAttribute(ch);\n        return helpers.cont(\"string\", \"string\");\n      } else if (regs.operatorChars.test(ch)) {\n        stream.eatWhile(regs.operatorChars);\n        return helpers.cont(\"operator\", \"operator\");\n      } else if (ch == \"[\" || ch == \"]\") {\n        return helpers.cont(\"bracket\", \"bracket\");\n      } else if (ch == \"(\" || ch == \")\") {\n        return helpers.cont(\"bracket\", \"operator\");\n      } else if (/\\d/.test(ch)) {\n        stream.eatWhile(/\\d/);\n        return helpers.cont(\"number\", \"number\");\n      } else {\n\n        if (state.last == \"variable\") {\n          if (ch == \"@\") {\n            stream.eatWhile(regs.validIdentifier);\n            return helpers.cont(\"property\", \"property\");\n          } else if (ch == \"|\") {\n            stream.eatWhile(regs.validIdentifier);\n            return helpers.cont(\"qualifier\", \"modifier\");\n          }\n        } else if (state.last == \"pipe\") {\n          stream.eatWhile(regs.validIdentifier);\n          return helpers.cont(\"qualifier\", \"modifier\");\n        } else if (state.last == \"whitespace\") {\n          stream.eatWhile(regs.validIdentifier);\n          return helpers.cont(\"attribute\", \"modifier\");\n        } if (state.last == \"property\") {\n          stream.eatWhile(regs.validIdentifier);\n          return helpers.cont(\"property\", null);\n        } else if (/\\s/.test(ch)) {\n          last = \"whitespace\";\n          return null;\n        }\n\n        var str = \"\";\n        if (ch != \"/\") {\n          str += ch;\n        }\n        var c = null;\n        while (c = stream.eat(regs.validIdentifier)) {\n          str += c;\n        }\n        for (var i=0, j=keyFunctions.length; i<j; i++) {\n          if (keyFunctions[i] == str) {\n            return helpers.cont(\"keyword\", \"keyword\");\n          }\n        }\n        if (/\\s/.test(ch)) {\n          return null;\n        }\n        return helpers.cont(\"tag\", \"tag\");\n      }\n    },\n\n    inAttribute: function(quote) {\n      return function(stream, state) {\n        var prevChar = null;\n        var currChar = null;\n        while (!stream.eol()) {\n          currChar = stream.peek();\n          if (stream.next() == quote && prevChar !== '\\\\') {\n            state.tokenize = parsers.smarty;\n            break;\n          }\n          prevChar = currChar;\n        }\n        return \"string\";\n      };\n    },\n\n    inBlock: function(style, terminator) {\n      return function(stream, state) {\n        while (!stream.eol()) {\n          if (stream.match(terminator)) {\n            state.tokenize = parsers.tokenizer;\n            break;\n          }\n          stream.next();\n        }\n        return style;\n      };\n    }\n  };\n\n\n  // the public API for CodeMirror\n  return {\n    startState: function() {\n      return {\n        tokenize: parsers.tokenizer,\n        mode: \"smarty\",\n        last: null,\n        depth: 0\n      };\n    },\n    token: function(stream, state) {\n      var style = state.tokenize(stream, state);\n      state.last = last;\n      return style;\n    },\n    electricChars: \"\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-smarty\", \"smarty\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/smartymixed/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Smarty mixed mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../mode/xml/xml.js\"></script>\n<script src=\"../../mode/javascript/javascript.js\"></script>\n<script src=\"../../mode/css/css.js\"></script>\n<script src=\"../../mode/htmlmixed/htmlmixed.js\"></script>\n<script src=\"../../mode/smarty/smarty.js\"></script>\n<script src=\"../../mode/smartymixed/smartymixed.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Smarty mixed</a>\n  </ul>\n</div>\n\n<article>\n<h2>Smarty mixed mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n{**\n* @brief Smarty mixed mode\n* @author Ruslan Osmanov\n* @date 29.06.2013\n*}\n<html>\n<head>\n  <title>{$title|htmlspecialchars|truncate:30}</title>\n</head>\n<body class=\"{$bodyclass}\">\n  {* Multiline smarty\n  * comment, no {$variables} here\n  *}\n  {literal}\n  {literal} is just an HTML text.\n  <script type=\"text/javascript\">//<![CDATA[\n    var a = {$just_a_normal_js_object : \"value\"};\n    var myCodeMirror = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n      mode           : \"smartymixed\",\n      tabSize        : 2,\n      indentUnit     : 2,\n      indentWithTabs : false,\n      lineNumbers    : true,\n      smartyVersion  : 3\n    });\n    // ]]>\n  </script>\n  <style>\n    /* CSS content \n    {$no_smarty} */\n    .some-class { font-weight: bolder; color: \"orange\"; }\n  </style>\n  {/literal}\n\n  {extends file=\"parent.tpl\"}\n  {include file=\"template.tpl\"}\n\n  {* some example Smarty content *}\n  {if isset($name) && $name == 'Blog'}\n    This is a {$var}.\n    {$integer = 4511}, {$array[] = \"a\"}, {$stringvar = \"string\"}\n    {$integer = 4512} {$array[] = \"a\"} {$stringvar = \"string\"}\n    {assign var='bob' value=$var.prop}\n  {elseif $name == $foo}\n    {function name=menu level=0}\n    {foreach $data as $entry}\n      {if is_array($entry)}\n      - {$entry@key}\n      {menu data=$entry level=$level+1}\n      {else}\n      {$entry}\n      {* One\n      * Two\n      * Three\n      *}\n      {/if}\n    {/foreach}\n    {/function}\n  {/if}\n  </body>\n  <!-- R.O. -->\n</html>\n</textarea></form>\n\n    <script type=\"text/javascript\">\n      var myCodeMirror = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode           : \"smartymixed\",\n        tabSize        : 2,\n        indentUnit     : 2,\n        indentWithTabs : false,\n        lineNumbers    : true,\n        smartyVersion  : 3,\n        matchBrackets  : true,\n      });\n    </script>\n\n    <p>The Smarty mixed mode depends on the Smarty and HTML mixed modes. HTML\n    mixed mode itself depends on XML, JavaScript, and CSS modes.</p>\n\n    <p>It takes the same options, as Smarty and HTML mixed modes.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-smarty</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/smartymixed/smartymixed.js",
    "content": "/**\n* @file smartymixed.js\n* @brief Smarty Mixed Codemirror mode (Smarty + Mixed HTML)\n* @author Ruslan Osmanov <rrosmanov at gmail dot com>\n* @version 3.0\n* @date 05.07.2013\n*/\nCodeMirror.defineMode(\"smartymixed\", function(config) {\n  var settings, regs, helpers, parsers,\n  htmlMixedMode = CodeMirror.getMode(config, \"htmlmixed\"),\n  smartyMode = CodeMirror.getMode(config, \"smarty\"),\n\n  settings = {\n    rightDelimiter: '}',\n    leftDelimiter: '{'\n  };\n\n  if (config.hasOwnProperty(\"leftDelimiter\")) {\n    settings.leftDelimiter = config.leftDelimiter;\n  }\n  if (config.hasOwnProperty(\"rightDelimiter\")) {\n    settings.rightDelimiter = config.rightDelimiter;\n  }\n\n  regs = {\n    smartyComment: new RegExp(\"^\" + settings.leftDelimiter + \"\\\\*\"),\n    literalOpen: new RegExp(settings.leftDelimiter + \"literal\" + settings.rightDelimiter),\n    literalClose: new RegExp(settings.leftDelimiter + \"\\/literal\" + settings.rightDelimiter),\n    hasLeftDelimeter: new RegExp(\".*\" + settings.leftDelimiter),\n    htmlHasLeftDelimeter: new RegExp(\"[^<>]*\" + settings.leftDelimiter)\n  };\n\n  helpers = {\n    chain: function(stream, state, parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    },\n\n    cleanChain: function(stream, state, parser) {\n      state.tokenize = null;\n      state.localState = null;\n      state.localMode = null;\n      return (typeof parser == \"string\") ? (parser ? parser : null) : parser(stream, state);\n    },\n\n    maybeBackup: function(stream, pat, style) {\n      var cur = stream.current();\n      var close = cur.search(pat),\n      m;\n      if (close > - 1) stream.backUp(cur.length - close);\n      else if (m = cur.match(/<\\/?$/)) {\n        stream.backUp(cur.length);\n        if (!stream.match(pat, false)) stream.match(cur[0]);\n      }\n      return style;\n    }\n  };\n\n  parsers = {\n    html: function(stream, state) {\n      if (!state.inLiteral && stream.match(regs.htmlHasLeftDelimeter, false) && state.htmlMixedState.htmlState.tagName === null) {\n        state.tokenize = parsers.smarty;\n        state.localMode = smartyMode;\n        state.localState = smartyMode.startState(htmlMixedMode.indent(state.htmlMixedState, \"\"));\n        return helpers.maybeBackup(stream, settings.leftDelimiter, smartyMode.token(stream, state.localState));\n      } else if (!state.inLiteral && stream.match(settings.leftDelimiter, false)) {\n        state.tokenize = parsers.smarty;\n        state.localMode = smartyMode;\n        state.localState = smartyMode.startState(htmlMixedMode.indent(state.htmlMixedState, \"\"));\n        return helpers.maybeBackup(stream, settings.leftDelimiter, smartyMode.token(stream, state.localState));\n      }\n      return htmlMixedMode.token(stream, state.htmlMixedState);\n    },\n\n    smarty: function(stream, state) {\n      if (stream.match(settings.leftDelimiter, false)) {\n        if (stream.match(regs.smartyComment, false)) {\n          return helpers.chain(stream, state, parsers.inBlock(\"comment\", \"*\" + settings.rightDelimiter));\n        }\n      } else if (stream.match(settings.rightDelimiter, false)) {\n        stream.eat(settings.rightDelimiter);\n        state.tokenize = parsers.html;\n        state.localMode = htmlMixedMode;\n        state.localState = state.htmlMixedState;\n        return \"tag\";\n      }\n\n      return helpers.maybeBackup(stream, settings.rightDelimiter, smartyMode.token(stream, state.localState));\n    },\n\n    inBlock: function(style, terminator) {\n      return function(stream, state) {\n        while (!stream.eol()) {\n          if (stream.match(terminator)) {\n            helpers.cleanChain(stream, state, \"\");\n            break;\n          }\n          stream.next();\n        }\n        return style;\n      };\n    }\n  };\n\n  return {\n    startState: function() {\n      var state = htmlMixedMode.startState();\n      return {\n        token: parsers.html,\n        localMode: null,\n        localState: null,\n        htmlMixedState: state,\n        tokenize: null,\n        inLiteral: false\n      };\n    },\n\n    copyState: function(state) {\n      var local = null, tok = (state.tokenize || state.token);\n      if (state.localState) {\n        local = CodeMirror.copyState((tok != parsers.html ? smartyMode : htmlMixedMode), state.localState);\n      }\n      return {\n        token: state.token,\n        tokenize: state.tokenize,\n        localMode: state.localMode,\n        localState: local,\n        htmlMixedState: CodeMirror.copyState(htmlMixedMode, state.htmlMixedState),\n        inLiteral: state.inLiteral\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.match(settings.leftDelimiter, false)) {\n        if (!state.inLiteral && stream.match(regs.literalOpen, true)) {\n          state.inLiteral = true;\n          return \"keyword\";\n        } else if (state.inLiteral && stream.match(regs.literalClose, true)) {\n          state.inLiteral = false;\n          return \"keyword\";\n        }\n      }\n      if (state.inLiteral && state.localState != state.htmlMixedState) {\n        state.tokenize = parsers.html;\n        state.localMode = htmlMixedMode;\n        state.localState = state.htmlMixedState;\n      }\n\n      var style = (state.tokenize || state.token)(stream, state);\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.localMode == smartyMode\n          || (state.inLiteral && !state.localMode)\n         || regs.hasLeftDelimeter.test(textAfter)) {\n        return CodeMirror.Pass;\n      }\n      return htmlMixedMode.indent(state.htmlMixedState, textAfter);\n    },\n\n    electricChars: \"/{}:\",\n\n    innerMode: function(state) {\n      return {\n        state: state.localState || state.htmlMixedState,\n        mode: state.localMode || htmlMixedMode\n      };\n    }\n  };\n},\n\"htmlmixed\");\n\nCodeMirror.defineMIME(\"text/x-smarty\", \"smartymixed\");\n// vim: et ts=2 sts=2 sw=2\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/sparql/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: SPARQL mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"sparql.js\"></script>\n<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">SPARQL</a>\n  </ul>\n</div>\n\n<article>\n<h2>SPARQL mode</h2>\n<form><textarea id=\"code\" name=\"code\">\nPREFIX a: &lt;http://www.w3.org/2000/10/annotation-ns#>\nPREFIX dc: &lt;http://purl.org/dc/elements/1.1/>\nPREFIX foaf: &lt;http://xmlns.com/foaf/0.1/>\n\n# Comment!\n\nSELECT ?given ?family\nWHERE {\n  ?annot a:annotates &lt;http://www.w3.org/TR/rdf-sparql-query/> .\n  ?annot dc:creator ?c .\n  OPTIONAL {?c foaf:given ?given ;\n               foaf:family ?family } .\n  FILTER isBlank(?c)\n}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"application/x-sparql-query\",\n        tabMode: \"indent\",\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>application/x-sparql-query</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/sparql/sparql.js",
    "content": "CodeMirror.defineMode(\"sparql\", function(config) {\n  var indentUnit = config.indentUnit;\n  var curPunc;\n\n  function wordRegexp(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")$\", \"i\");\n  }\n  var ops = wordRegexp([\"str\", \"lang\", \"langmatches\", \"datatype\", \"bound\", \"sameterm\", \"isiri\", \"isuri\",\n                        \"isblank\", \"isliteral\", \"a\"]);\n  var keywords = wordRegexp([\"base\", \"prefix\", \"select\", \"distinct\", \"reduced\", \"construct\", \"describe\",\n                             \"ask\", \"from\", \"named\", \"where\", \"order\", \"limit\", \"offset\", \"filter\", \"optional\",\n                             \"graph\", \"by\", \"asc\", \"desc\", \"as\", \"having\", \"undef\", \"values\", \"group\",\n                             \"minus\", \"in\", \"not\", \"service\", \"silent\", \"using\", \"insert\", \"delete\", \"union\",\n                             \"data\", \"copy\", \"to\", \"move\", \"add\", \"create\", \"drop\", \"clear\", \"load\"]);\n  var operatorChars = /[*+\\-<>=&|]/;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    curPunc = null;\n    if (ch == \"$\" || ch == \"?\") {\n      stream.match(/^[\\w\\d]*/);\n      return \"variable-2\";\n    }\n    else if (ch == \"<\" && !stream.match(/^[\\s\\u00a0=]/, false)) {\n      stream.match(/^[^\\s\\u00a0>]*>?/);\n      return \"atom\";\n    }\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenLiteral(ch);\n      return state.tokenize(stream, state);\n    }\n    else if (/[{}\\(\\),\\.;\\[\\]]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    else if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    else if (operatorChars.test(ch)) {\n      stream.eatWhile(operatorChars);\n      return null;\n    }\n    else if (ch == \":\") {\n      stream.eatWhile(/[\\w\\d\\._\\-]/);\n      return \"atom\";\n    }\n    else {\n      stream.eatWhile(/[_\\w\\d]/);\n      if (stream.eat(\":\")) {\n        stream.eatWhile(/[\\w\\d_\\-]/);\n        return \"atom\";\n      }\n      var word = stream.current();\n      if (ops.test(word))\n        return null;\n      else if (keywords.test(word))\n        return \"keyword\";\n      else\n        return \"variable\";\n    }\n  }\n\n  function tokenLiteral(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return \"string\";\n    };\n  }\n\n  function pushContext(state, type, col) {\n    state.context = {prev: state.context, indent: state.indent, col: col, type: type};\n  }\n  function popContext(state) {\n    state.indent = state.context.indent;\n    state.context = state.context.prev;\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: tokenBase,\n              context: null,\n              indent: 0,\n              col: 0};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (state.context && state.context.align == null) state.context.align = false;\n        state.indent = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n\n      if (style != \"comment\" && state.context && state.context.align == null && state.context.type != \"pattern\") {\n        state.context.align = true;\n      }\n\n      if (curPunc == \"(\") pushContext(state, \")\", stream.column());\n      else if (curPunc == \"[\") pushContext(state, \"]\", stream.column());\n      else if (curPunc == \"{\") pushContext(state, \"}\", stream.column());\n      else if (/[\\]\\}\\)]/.test(curPunc)) {\n        while (state.context && state.context.type == \"pattern\") popContext(state);\n        if (state.context && curPunc == state.context.type) popContext(state);\n      }\n      else if (curPunc == \".\" && state.context && state.context.type == \"pattern\") popContext(state);\n      else if (/atom|string|variable/.test(style) && state.context) {\n        if (/[\\}\\]]/.test(state.context.type))\n          pushContext(state, \"pattern\", stream.column());\n        else if (state.context.type == \"pattern\" && !state.context.align) {\n          state.context.align = true;\n          state.context.col = stream.column();\n        }\n      }\n\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var firstChar = textAfter && textAfter.charAt(0);\n      var context = state.context;\n      if (/[\\]\\}]/.test(firstChar))\n        while (context && context.type == \"pattern\") context = context.prev;\n\n      var closing = context && firstChar == context.type;\n      if (!context)\n        return 0;\n      else if (context.type == \"pattern\")\n        return context.col;\n      else if (context.align)\n        return context.col + (closing ? 0 : 1);\n      else\n        return context.indent + (closing ? 0 : indentUnit);\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"application/x-sparql-query\", \"sparql\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/sql/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: SQL Mode for CodeMirror</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\" />\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"sql.js\"></script>\n<style>\n.CodeMirror {\n    border-top: 1px solid black;\n    border-bottom: 1px solid black;\n}\n        </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">SQL Mode for CodeMirror</a>\n  </ul>\n</div>\n\n<article>\n<h2>SQL Mode for CodeMirror</h2>\n<form>\n            <textarea id=\"code\" name=\"code\">-- SQL Mode for CodeMirror\nSELECT SQL_NO_CACHE DISTINCT\n\t\t@var1 AS `val1`, @'val2', @global.'sql_mode',\n\t\t1.1 AS `float_val`, .14 AS `another_float`, 0.09e3 AS `int_with_esp`,\n\t\t0xFA5 AS `hex`, x'fa5' AS `hex2`, 0b101 AS `bin`, b'101' AS `bin2`,\n\t\tDATE '1994-01-01' AS `sql_date`, { T \"1994-01-01\" } AS `odbc_date`,\n\t\t'my string', _utf8'your string', N'her string',\n        TRUE, FALSE, UNKNOWN\n\tFROM DUAL\n\t-- space needed after '--'\n\t# 1 line comment\n\t/* multiline\n\tcomment! */\n\tLIMIT 1 OFFSET 0;\n</textarea>\n            </form>\n            <p><strong>MIME types defined:</strong> \n            <code><a href=\"?mime=text/x-sql\">text/x-sql</a></code>,\n            <code><a href=\"?mime=text/x-mysql\">text/x-mysql</a></code>,\n            <code><a href=\"?mime=text/x-mariadb\">text/x-mariadb</a></code>,\n            <code><a href=\"?mime=text/x-cassandra\">text/x-cassandra</a></code>,\n            <code><a href=\"?mime=text/x-plsql\">text/x-plsql</a></code>,\n            <code><a href=\"?mime=text/x-mssql\">text/x-mssql</a></code>.\n        </p>\n<script>\nwindow.onload = function() {\n  var mime = 'text/x-mariadb';\n  // get mime type\n  if (window.location.href.indexOf('mime=') > -1) {\n    mime = window.location.href.substr(window.location.href.indexOf('mime=') + 5);\n  }\n  window.editor = CodeMirror.fromTextArea(document.getElementById('code'), {\n    mode: mime,\n    indentWithTabs: true,\n    smartIndent: true,\n    lineNumbers: true,\n    matchBrackets : true,\n    autofocus: true\n  });\n};\n</script>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/sql/sql.js",
    "content": "CodeMirror.defineMode(\"sql\", function(config, parserConfig) {\n  \"use strict\";\n\n  var client         = parserConfig.client || {},\n      atoms          = parserConfig.atoms || {\"false\": true, \"true\": true, \"null\": true},\n      builtin        = parserConfig.builtin || {},\n      keywords       = parserConfig.keywords || {},\n      operatorChars  = parserConfig.operatorChars || /^[*+\\-%<>!=&|~^]/,\n      support        = parserConfig.support || {},\n      hooks          = parserConfig.hooks || {},\n      dateSQL        = parserConfig.dateSQL || {\"date\" : true, \"time\" : true, \"timestamp\" : true};\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n\n    // call hooks from the mime type\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n\n    if (support.hexNumber == true &&\n      ((ch == \"0\" && stream.match(/^[xX][0-9a-fA-F]+/))\n      || (ch == \"x\" || ch == \"X\") && stream.match(/^'[0-9a-fA-F]+'/))) {\n      // hex\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/hexadecimal-literals.html\n      return \"number\";\n    } else if (support.binaryNumber == true &&\n      (((ch == \"b\" || ch == \"B\") && stream.match(/^'[01]+'/))\n      || (ch == \"0\" && stream.match(/^b[01]+/)))) {\n      // bitstring\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/bit-field-literals.html\n      return \"number\";\n    } else if (ch.charCodeAt(0) > 47 && ch.charCodeAt(0) < 58) {\n      // numbers\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/number-literals.html\n          stream.match(/^[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?/);\n      support.decimallessFloat == true && stream.eat('.');\n      return \"number\";\n    } else if (ch == \"?\" && (stream.eatSpace() || stream.eol() || stream.eat(\";\"))) {\n      // placeholders\n      return \"variable-3\";\n    } else if (ch == \"'\" || (ch == '\"' && support.doubleQuote)) {\n      // strings\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/string-literals.html\n      state.tokenize = tokenLiteral(ch);\n      return state.tokenize(stream, state);\n    } else if ((((support.nCharCast == true && (ch == \"n\" || ch == \"N\"))\n        || (support.charsetCast == true && ch == \"_\" && stream.match(/[a-z][a-z0-9]*/i)))\n        && (stream.peek() == \"'\" || stream.peek() == '\"'))) {\n      // charset casting: _utf8'str', N'str', n'str'\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/string-literals.html\n      return \"keyword\";\n    } else if (/^[\\(\\),\\;\\[\\]]/.test(ch)) {\n      // no highlightning\n      return null;\n    } else if (support.commentSlashSlash && ch == \"/\" && stream.eat(\"/\")) {\n      // 1-line comment\n      stream.skipToEnd();\n      return \"comment\";\n    } else if ((support.commentHash && ch == \"#\")\n        || (ch == \"-\" && stream.eat(\"-\") && (!support.commentSpaceRequired || stream.eat(\" \")))) {\n      // 1-line comments\n      // ref: https://kb.askmonty.org/en/comment-syntax/\n      stream.skipToEnd();\n      return \"comment\";\n    } else if (ch == \"/\" && stream.eat(\"*\")) {\n      // multi-line comments\n      // ref: https://kb.askmonty.org/en/comment-syntax/\n      state.tokenize = tokenComment;\n      return state.tokenize(stream, state);\n    } else if (ch == \".\") {\n      // .1 for 0.1\n      if (support.zerolessFloat == true && stream.match(/^(?:\\d+(?:e[+-]?\\d+)?)/i)) {\n        return \"number\";\n      }\n      // .table_name (ODBC)\n      // // ref: http://dev.mysql.com/doc/refman/5.6/en/identifier-qualifiers.html\n      if (support.ODBCdotTable == true && stream.match(/^[a-zA-Z_]+/)) {\n        return \"variable-2\";\n      }\n    } else if (operatorChars.test(ch)) {\n      // operators\n      stream.eatWhile(operatorChars);\n      return null;\n    } else if (ch == '{' &&\n        (stream.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/) || stream.match(/^( )*(d|D|t|T|ts|TS)( )*\"[^\"]*\"( )*}/))) {\n      // dates (weird ODBC syntax)\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/date-and-time-literals.html\n      return \"number\";\n    } else {\n      stream.eatWhile(/^[_\\w\\d]/);\n      var word = stream.current().toLowerCase();\n      // dates (standard SQL syntax)\n      // ref: http://dev.mysql.com/doc/refman/5.5/en/date-and-time-literals.html\n      if (dateSQL.hasOwnProperty(word) && (stream.match(/^( )+'[^']*'/) || stream.match(/^( )+\"[^\"]*\"/)))\n        return \"number\";\n      if (atoms.hasOwnProperty(word)) return \"atom\";\n      if (builtin.hasOwnProperty(word)) return \"builtin\";\n      if (keywords.hasOwnProperty(word)) return \"keyword\";\n      if (client.hasOwnProperty(word)) return \"string-2\";\n      return null;\n    }\n  }\n\n  // 'string', with char specified in quote escaped by '\\'\n  function tokenLiteral(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return \"string\";\n    };\n  }\n  function tokenComment(stream, state) {\n    while (true) {\n      if (stream.skipTo(\"*\")) {\n        stream.next();\n        if (stream.eat(\"/\")) {\n          state.tokenize = tokenBase;\n          break;\n        }\n      } else {\n        stream.skipToEnd();\n        break;\n      }\n    }\n    return \"comment\";\n  }\n\n  function pushContext(stream, state, type) {\n    state.context = {\n      prev: state.context,\n      indent: stream.indentation(),\n      col: stream.column(),\n      type: type\n    };\n  }\n\n  function popContext(state) {\n    state.indent = state.context.indent;\n    state.context = state.context.prev;\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: tokenBase, context: null};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (state.context && state.context.align == null)\n          state.context.align = false;\n      }\n      if (stream.eatSpace()) return null;\n\n      var style = state.tokenize(stream, state);\n      if (style == \"comment\") return style;\n\n      if (state.context && state.context.align == null)\n        state.context.align = true;\n\n      var tok = stream.current();\n      if (tok == \"(\")\n        pushContext(stream, state, \")\");\n      else if (tok == \"[\")\n        pushContext(stream, state, \"]\");\n      else if (state.context && state.context.type == tok)\n        popContext(state);\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var cx = state.context;\n      if (!cx) return CodeMirror.Pass;\n      if (cx.align) return cx.col + (textAfter.charAt(0) == cx.type ? 0 : 1);\n      else return cx.indent + config.indentUnit;\n    },\n\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    lineComment: support.commentSlashSlash ? \"//\" : support.commentHash ? \"#\" : null\n  };\n});\n\n(function() {\n  \"use strict\";\n\n  // `identifier`\n  function hookIdentifier(stream) {\n    // MySQL/MariaDB identifiers\n    // ref: http://dev.mysql.com/doc/refman/5.6/en/identifier-qualifiers.html\n    var ch;\n    while ((ch = stream.next()) != null) {\n      if (ch == \"`\" && !stream.eat(\"`\")) return \"variable-2\";\n    }\n    return null;\n  }\n\n  // variable token\n  function hookVar(stream) {\n    // variables\n    // @@prefix.varName @varName\n    // varName can be quoted with ` or ' or \"\n    // ref: http://dev.mysql.com/doc/refman/5.5/en/user-variables.html\n    if (stream.eat(\"@\")) {\n      stream.match(/^session\\./);\n      stream.match(/^local\\./);\n      stream.match(/^global\\./);\n    }\n\n    if (stream.eat(\"'\")) {\n      stream.match(/^.*'/);\n      return \"variable-2\";\n    } else if (stream.eat('\"')) {\n      stream.match(/^.*\"/);\n      return \"variable-2\";\n    } else if (stream.eat(\"`\")) {\n      stream.match(/^.*`/);\n      return \"variable-2\";\n    } else if (stream.match(/^[0-9a-zA-Z$\\.\\_]+/)) {\n      return \"variable-2\";\n    }\n    return null;\n  };\n\n  // short client keyword token\n  function hookClient(stream) {\n    // \\N means NULL\n    // ref: http://dev.mysql.com/doc/refman/5.5/en/null-values.html\n    if (stream.eat(\"N\")) {\n        return \"atom\";\n    }\n    // \\g, etc\n    // ref: http://dev.mysql.com/doc/refman/5.5/en/mysql-commands.html\n    return stream.match(/^[a-zA-Z.#!?]/) ? \"variable-2\" : null;\n  }\n\n  // these keywords are used by all SQL dialects (however, a mode can still overwrite it)\n  var sqlKeywords = \"alter and as asc between by count create delete desc distinct drop from having in insert into is join like not on or order select set table union update values where \";\n\n  // turn a space-separated list into an array\n  function set(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  // A generic SQL Mode. It's not a standard, it just try to support what is generally supported\n  CodeMirror.defineMIME(\"text/x-sql\", {\n    name: \"sql\",\n    keywords: set(sqlKeywords + \"begin\"),\n    builtin: set(\"bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric\"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=]/,\n    dateSQL: set(\"date time timestamp\"),\n    support: set(\"ODBCdotTable doubleQuote binaryNumber hexNumber\")\n  });\n\n  CodeMirror.defineMIME(\"text/x-mssql\", {\n    name: \"sql\",\n    client: set(\"charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee\"),\n    keywords: set(sqlKeywords + \"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered\"),\n    builtin: set(\"bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table \"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=]/,\n    dateSQL: set(\"date datetimeoffset datetime2 smalldatetime datetime time\"),\n    hooks: {\n      \"@\":   hookVar\n    }\n  });\n\n  CodeMirror.defineMIME(\"text/x-mysql\", {\n    name: \"sql\",\n    client: set(\"charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee\"),\n    keywords: set(sqlKeywords + \"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group groupby_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat\"),\n    builtin: set(\"bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric\"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=&|^]/,\n    dateSQL: set(\"date time timestamp\"),\n    support: set(\"ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired\"),\n    hooks: {\n      \"@\":   hookVar,\n      \"`\":   hookIdentifier,\n      \"\\\\\":  hookClient\n    }\n  });\n\n  CodeMirror.defineMIME(\"text/x-mariadb\", {\n    name: \"sql\",\n    client: set(\"charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee\"),\n    keywords: set(sqlKeywords + \"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat\"),\n    builtin: set(\"bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric\"),\n    atoms: set(\"false true null unknown\"),\n    operatorChars: /^[*+\\-%<>!=&|^]/,\n    dateSQL: set(\"date time timestamp\"),\n    support: set(\"ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired\"),\n    hooks: {\n      \"@\":   hookVar,\n      \"`\":   hookIdentifier,\n      \"\\\\\":  hookClient\n    }\n  });\n\n  // the query language used by Apache Cassandra is called CQL, but this mime type\n  // is called Cassandra to avoid confusion with Contextual Query Language\n  CodeMirror.defineMIME(\"text/x-cassandra\", {\n    name: \"sql\",\n    client: { },\n    keywords: set(\"use select from using consistency where limit first reversed first and in insert into values using consistency ttl update set delete truncate begin batch apply create keyspace with columnfamily primary key index on drop alter type add any one quorum all local_quorum each_quorum\"),\n    builtin: set(\"ascii bigint blob boolean counter decimal double float int text timestamp uuid varchar varint\"),\n    atoms: set(\"false true\"),\n    operatorChars: /^[<>=]/,\n    dateSQL: { },\n    support: set(\"commentSlashSlash decimallessFloat\"),\n    hooks: { }\n  });\n\n  // this is based on Peter Raganitsch's 'plsql' mode\n  CodeMirror.defineMIME(\"text/x-plsql\", {\n    name:       \"sql\",\n    client:     set(\"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap\"),\n    keywords:   set(\"abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work\"),\n    builtin:    set(\"bfile blob character clob dec float int integer mlslabel natural naturaln nchar nclob number numeric nvarchar2 real rowtype signtype smallint string varchar varchar2 abs acos add_months ascii asin atan atan2 average bfilename ceil chartorowid chr concat convert cos cosh count decode deref dual dump dup_val_on_index empty error exp false floor found glb greatest hextoraw initcap instr instrb isopen last_day least lenght lenghtb ln lower lpad ltrim lub make_ref max min mod months_between new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null nvl others power rawtohex reftohex round rowcount rowidtochar rpad rtrim sign sin sinh soundex sqlcode sqlerrm sqrt stddev substr substrb sum sysdate tan tanh to_char to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid upper user userenv variance vsize\"),\n    operatorChars: /^[*+\\-%<>!=~]/,\n    dateSQL:    set(\"date time timestamp\"),\n    support:    set(\"doubleQuote nCharCast zerolessFloat binaryNumber hexNumber\")\n  });\n}());\n\n/*\n  How Properties of Mime Types are used by SQL Mode\n  =================================================\n\n  keywords:\n    A list of keywords you want to be highlighted.\n  functions:\n    A list of function names you want to be highlighted.\n  builtin:\n    A list of builtin types you want to be highlighted (if you want types to be of class \"builtin\" instead of \"keyword\").\n  operatorChars:\n    All characters that must be handled as operators.\n  client:\n    Commands parsed and executed by the client (not the server).\n  support:\n    A list of supported syntaxes which are not common, but are supported by more than 1 DBMS.\n    * ODBCdotTable: .tableName\n    * zerolessFloat: .1\n    * doubleQuote\n    * nCharCast: N'string'\n    * charsetCast: _utf8'string'\n    * commentHash: use # char for comments\n    * commentSlashSlash: use // for comments\n    * commentSpaceRequired: require a space after -- for comments\n  atoms:\n    Keywords that must be highlighted as atoms,. Some DBMS's support more atoms than others:\n    UNKNOWN, INFINITY, UNDERFLOW, NaN...\n  dateSQL:\n    Used for date/time SQL standard syntax, because not all DBMS's support same temporal types.\n*/\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/stex/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: sTeX mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"stex.js\"></script>\n<style>.CodeMirror {background: #f8f8f8;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">sTeX</a>\n  </ul>\n</div>\n\n<article>\n<h2>sTeX mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n\\begin{module}[id=bbt-size]\n\\importmodule[balanced-binary-trees]{balanced-binary-trees}\n\\importmodule[\\KWARCslides{dmath/en/cardinality}]{cardinality}\n\n\\begin{frame}\n  \\frametitle{Size Lemma for Balanced Trees}\n  \\begin{itemize}\n  \\item\n    \\begin{assertion}[id=size-lemma,type=lemma] \n    Let $G=\\tup{V,E}$ be a \\termref[cd=binary-trees]{balanced binary tree} \n    of \\termref[cd=graph-depth,name=vertex-depth]{depth}$n>i$, then the set\n     $\\defeq{\\livar{V}i}{\\setst{\\inset{v}{V}}{\\gdepth{v} = i}}$ of\n    \\termref[cd=graphs-intro,name=node]{nodes} at \n    \\termref[cd=graph-depth,name=vertex-depth]{depth} $i$ has\n    \\termref[cd=cardinality,name=cardinality]{cardinality} $\\power2i$.\n   \\end{assertion}\n  \\item\n    \\begin{sproof}[id=size-lemma-pf,proofend=,for=size-lemma]{via induction over the depth $i$.}\n      \\begin{spfcases}{We have to consider two cases}\n        \\begin{spfcase}{$i=0$}\n          \\begin{spfstep}[display=flow]\n            then $\\livar{V}i=\\set{\\livar{v}r}$, where $\\livar{v}r$ is the root, so\n            $\\eq{\\card{\\livar{V}0},\\card{\\set{\\livar{v}r}},1,\\power20}$.\n          \\end{spfstep}\n        \\end{spfcase}\n        \\begin{spfcase}{$i>0$}\n          \\begin{spfstep}[display=flow]\n           then $\\livar{V}{i-1}$ contains $\\power2{i-1}$ vertexes \n           \\begin{justification}[method=byIH](IH)\\end{justification}\n          \\end{spfstep}\n          \\begin{spfstep}\n           By the \\begin{justification}[method=byDef]definition of a binary\n              tree\\end{justification}, each $\\inset{v}{\\livar{V}{i-1}}$ is a leaf or has\n            two children that are at depth $i$.\n          \\end{spfstep}\n          \\begin{spfstep}\n           As $G$ is \\termref[cd=balanced-binary-trees,name=balanced-binary-tree]{balanced} and $\\gdepth{G}=n>i$, $\\livar{V}{i-1}$ cannot contain\n            leaves.\n          \\end{spfstep}\n          \\begin{spfstep}[type=conclusion]\n           Thus $\\eq{\\card{\\livar{V}i},{\\atimes[cdot]{2,\\card{\\livar{V}{i-1}}}},{\\atimes[cdot]{2,\\power2{i-1}}},\\power2i}$.\n          \\end{spfstep}\n        \\end{spfcase}\n      \\end{spfcases}\n    \\end{sproof}\n  \\item \n    \\begin{assertion}[id=fbbt,type=corollary]\t\n      A fully balanced tree of depth $d$ has $\\power2{d+1}-1$ nodes.\n    \\end{assertion}\n  \\item\n      \\begin{sproof}[for=fbbt,id=fbbt-pf]{}\n        \\begin{spfstep}\n          Let $\\defeq{G}{\\tup{V,E}}$ be a fully balanced tree\n        \\end{spfstep}\n        \\begin{spfstep}\n          Then $\\card{V}=\\Sumfromto{i}1d{\\power2i}= \\power2{d+1}-1$.\n        \\end{spfstep}\n      \\end{sproof}\n    \\end{itemize}\n  \\end{frame}\n\\begin{note}\n  \\begin{omtext}[type=conclusion,for=binary-tree]\n    This shows that balanced binary trees grow in breadth very quickly, a consequence of\n    this is that they are very shallow (and this compute very fast), which is the essence of\n    the next result.\n  \\end{omtext}\n\\end{note}\n\\end{module}\n\n%%% Local Variables: \n%%% mode: LaTeX\n%%% TeX-master: \"all\"\n%%% End: \\end{document}\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-stex</code>.</p>\n\n    <p><strong>Parsing/Highlighting Tests:</strong> <a href=\"../../test/index.html#stex_*\">normal</a>,  <a href=\"../../test/index.html#verbose,stex_*\">verbose</a>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/stex/stex.js",
    "content": "/*\n * Author: Constantin Jucovschi (c.jucovschi@jacobs-university.de)\n * Licence: MIT\n */\n\nCodeMirror.defineMode(\"stex\", function() {\n    \"use strict\";\n\n    function pushCommand(state, command) {\n        state.cmdState.push(command);\n    }\n\n    function peekCommand(state) {\n        if (state.cmdState.length > 0) {\n            return state.cmdState[state.cmdState.length - 1];\n        } else {\n            return null;\n        }\n    }\n\n    function popCommand(state) {\n        var plug = state.cmdState.pop();\n        if (plug) {\n            plug.closeBracket();\n        }\n    }\n\n    // returns the non-default plugin closest to the end of the list\n    function getMostPowerful(state) {\n        var context = state.cmdState;\n        for (var i = context.length - 1; i >= 0; i--) {\n            var plug = context[i];\n            if (plug.name == \"DEFAULT\") {\n                continue;\n            }\n            return plug;\n        }\n        return { styleIdentifier: function() { return null; } };\n    }\n\n    function addPluginPattern(pluginName, cmdStyle, styles) {\n        return function () {\n            this.name = pluginName;\n            this.bracketNo = 0;\n            this.style = cmdStyle;\n            this.styles = styles;\n            this.argument = null;   // \\begin and \\end have arguments that follow. These are stored in the plugin\n\n            this.styleIdentifier = function() {\n                return this.styles[this.bracketNo - 1] || null;\n            };\n            this.openBracket = function() {\n                this.bracketNo++;\n                return \"bracket\";\n            };\n            this.closeBracket = function() {};\n        };\n    }\n\n    var plugins = {};\n\n    plugins[\"importmodule\"] = addPluginPattern(\"importmodule\", \"tag\", [\"string\", \"builtin\"]);\n    plugins[\"documentclass\"] = addPluginPattern(\"documentclass\", \"tag\", [\"\", \"atom\"]);\n    plugins[\"usepackage\"] = addPluginPattern(\"usepackage\", \"tag\", [\"atom\"]);\n    plugins[\"begin\"] = addPluginPattern(\"begin\", \"tag\", [\"atom\"]);\n    plugins[\"end\"] = addPluginPattern(\"end\", \"tag\", [\"atom\"]);\n\n    plugins[\"DEFAULT\"] = function () {\n        this.name = \"DEFAULT\";\n        this.style = \"tag\";\n\n        this.styleIdentifier = this.openBracket = this.closeBracket = function() {};\n    };\n\n    function setState(state, f) {\n        state.f = f;\n    }\n\n    // called when in a normal (no environment) context\n    function normal(source, state) {\n        var plug;\n        // Do we look like '\\command' ?  If so, attempt to apply the plugin 'command'\n        if (source.match(/^\\\\[a-zA-Z@]+/)) {\n            var cmdName = source.current().slice(1);\n            plug = plugins[cmdName] || plugins[\"DEFAULT\"];\n            plug = new plug();\n            pushCommand(state, plug);\n            setState(state, beginParams);\n            return plug.style;\n        }\n\n        // escape characters\n        if (source.match(/^\\\\[$&%#{}_]/)) {\n          return \"tag\";\n        }\n\n        // white space control characters\n        if (source.match(/^\\\\[,;!\\/\\\\]/)) {\n          return \"tag\";\n        }\n\n        // find if we're starting various math modes\n        if (source.match(\"\\\\[\")) {\n            setState(state, function(source, state){ return inMathMode(source, state, \"\\\\]\"); });\n            return \"keyword\";\n        }\n        if (source.match(\"$$\")) {\n            setState(state, function(source, state){ return inMathMode(source, state, \"$$\"); });\n            return \"keyword\";\n        }\n        if (source.match(\"$\")) {\n            setState(state, function(source, state){ return inMathMode(source, state, \"$\"); });\n            return \"keyword\";\n        }\n\n        var ch = source.next();\n        if (ch == \"%\") {\n            // special case: % at end of its own line; stay in same state\n            if (!source.eol()) {\n              setState(state, inCComment);\n            }\n            return \"comment\";\n        }\n        else if (ch == '}' || ch == ']') {\n            plug = peekCommand(state);\n            if (plug) {\n                plug.closeBracket(ch);\n                setState(state, beginParams);\n            } else {\n                return \"error\";\n            }\n            return \"bracket\";\n        } else if (ch == '{' || ch == '[') {\n            plug = plugins[\"DEFAULT\"];\n            plug = new plug();\n            pushCommand(state, plug);\n            return \"bracket\";\n        }\n        else if (/\\d/.test(ch)) {\n            source.eatWhile(/[\\w.%]/);\n            return \"atom\";\n        }\n        else {\n            source.eatWhile(/[\\w\\-_]/);\n            plug = getMostPowerful(state);\n            if (plug.name == 'begin') {\n                plug.argument = source.current();\n            }\n            return plug.styleIdentifier();\n        }\n    }\n\n    function inCComment(source, state) {\n        source.skipToEnd();\n        setState(state, normal);\n        return \"comment\";\n    }\n\n    function inMathMode(source, state, endModeSeq) {\n        if (source.eatSpace()) {\n            return null;\n        }\n        if (source.match(endModeSeq)) {\n            setState(state, normal);\n            return \"keyword\";\n        }\n        if (source.match(/^\\\\[a-zA-Z@]+/)) {\n            return \"tag\";\n        }\n        if (source.match(/^[a-zA-Z]+/)) {\n            return \"variable-2\";\n        }\n        // escape characters\n        if (source.match(/^\\\\[$&%#{}_]/)) {\n          return \"tag\";\n        }\n        // white space control characters\n        if (source.match(/^\\\\[,;!\\/]/)) {\n          return \"tag\";\n        }\n        // special math-mode characters\n        if (source.match(/^[\\^_&]/)) {\n          return \"tag\";\n        }\n        // non-special characters\n        if (source.match(/^[+\\-<>|=,\\/@!*:;'\"`~#?]/)) {\n            return null;\n        }\n        if (source.match(/^(\\d+\\.\\d*|\\d*\\.\\d+|\\d+)/)) {\n          return \"number\";\n        }\n        var ch = source.next();\n        if (ch == \"{\" || ch == \"}\" || ch == \"[\" || ch == \"]\" || ch == \"(\" || ch == \")\") {\n            return \"bracket\";\n        }\n\n        // eat comments here, because inCComment returns us to normal state!\n        if (ch == \"%\") {\n            if (!source.eol()) {\n                source.skipToEnd();\n            }\n            return \"comment\";\n        }\n        return \"error\";\n    }\n\n    function beginParams(source, state) {\n        var ch = source.peek(), lastPlug;\n        if (ch == '{' || ch == '[') {\n            lastPlug = peekCommand(state);\n            lastPlug.openBracket(ch);\n            source.eat(ch);\n            setState(state, normal);\n            return \"bracket\";\n        }\n        if (/[ \\t\\r]/.test(ch)) {\n            source.eat(ch);\n            return null;\n        }\n        setState(state, normal);\n        popCommand(state);\n\n        return normal(source, state);\n    }\n\n    return {\n        startState: function() {\n            return {\n                cmdState: [],\n                f: normal\n            };\n        },\n        copyState: function(s) {\n            return {\n                cmdState: s.cmdState.slice(),\n                f: s.f\n            };\n        },\n        token: function(stream, state) {\n            return state.f(stream, state);\n        }\n    };\n});\n\nCodeMirror.defineMIME(\"text/x-stex\", \"stex\");\nCodeMirror.defineMIME(\"text/x-latex\", \"stex\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/stex/test.js",
    "content": "(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"stex\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"word\",\n     \"foo\");\n\n  MT(\"twoWords\",\n     \"foo bar\");\n\n  MT(\"beginEndDocument\",\n     \"[tag \\\\begin][bracket {][atom document][bracket }]\",\n     \"[tag \\\\end][bracket {][atom document][bracket }]\");\n\n  MT(\"beginEndEquation\",\n     \"[tag \\\\begin][bracket {][atom equation][bracket }]\",\n     \"  E=mc^2\",\n     \"[tag \\\\end][bracket {][atom equation][bracket }]\");\n\n  MT(\"beginModule\",\n     \"[tag \\\\begin][bracket {][atom module][bracket }[[]]]\");\n\n  MT(\"beginModuleId\",\n     \"[tag \\\\begin][bracket {][atom module][bracket }[[]id=bbt-size[bracket ]]]\");\n\n  MT(\"importModule\",\n     \"[tag \\\\importmodule][bracket [[][string b-b-t][bracket ]]{][builtin b-b-t][bracket }]\");\n\n  MT(\"importModulePath\",\n     \"[tag \\\\importmodule][bracket [[][tag \\\\KWARCslides][bracket {][string dmath/en/cardinality][bracket }]]{][builtin card][bracket }]\");\n\n  MT(\"psForPDF\",\n     \"[tag \\\\PSforPDF][bracket [[][atom 1][bracket ]]{]#1[bracket }]\");\n\n  MT(\"comment\",\n     \"[comment % foo]\");\n\n  MT(\"tagComment\",\n     \"[tag \\\\item][comment % bar]\");\n\n  MT(\"commentTag\",\n     \" [comment % \\\\item]\");\n\n  MT(\"commentLineBreak\",\n     \"[comment %]\",\n     \"foo\");\n\n  MT(\"tagErrorCurly\",\n     \"[tag \\\\begin][error }][bracket {]\");\n\n  MT(\"tagErrorSquare\",\n     \"[tag \\\\item][error ]]][bracket {]\");\n\n  MT(\"commentCurly\",\n     \"[comment % }]\");\n\n  MT(\"tagHash\",\n     \"the [tag \\\\#] key\");\n\n  MT(\"tagNumber\",\n     \"a [tag \\\\$][atom 5] stetson\");\n\n  MT(\"tagPercent\",\n     \"[atom 100][tag \\\\%] beef\");\n\n  MT(\"tagAmpersand\",\n     \"L [tag \\\\&] N\");\n\n  MT(\"tagUnderscore\",\n     \"foo[tag \\\\_]bar\");\n\n  MT(\"tagBracketOpen\",\n     \"[tag \\\\emph][bracket {][tag \\\\{][bracket }]\");\n\n  MT(\"tagBracketClose\",\n     \"[tag \\\\emph][bracket {][tag \\\\}][bracket }]\");\n\n  MT(\"tagLetterNumber\",\n     \"section [tag \\\\S][atom 1]\");\n\n  MT(\"textTagNumber\",\n     \"para [tag \\\\P][atom 2]\");\n\n  MT(\"thinspace\",\n     \"x[tag \\\\,]y\");\n\n  MT(\"thickspace\",\n     \"x[tag \\\\;]y\");\n\n  MT(\"negativeThinspace\",\n     \"x[tag \\\\!]y\");\n\n  MT(\"periodNotSentence\",\n     \"J.\\\\ L.\\\\ is\");\n\n  MT(\"periodSentence\",\n     \"X[tag \\\\@]. The\");\n\n  MT(\"italicCorrection\",\n     \"[bracket {][tag \\\\em] If[tag \\\\/][bracket }] I\");\n\n  MT(\"tagBracket\",\n     \"[tag \\\\newcommand][bracket {][tag \\\\pop][bracket }]\");\n\n  MT(\"inlineMathTagFollowedByNumber\",\n     \"[keyword $][tag \\\\pi][number 2][keyword $]\");\n\n  MT(\"inlineMath\",\n     \"[keyword $][number 3][variable-2 x][tag ^][number 2.45]-[tag \\\\sqrt][bracket {][tag \\\\$\\\\alpha][bracket }] = [number 2][keyword $] other text\");\n\n  MT(\"displayMath\",\n     \"More [keyword $$]\\t[variable-2 S][tag ^][variable-2 n][tag \\\\sum] [variable-2 i][keyword $$] other text\");\n\n  MT(\"mathWithComment\",\n     \"[keyword $][variable-2 x] [comment % $]\",\n     \"[variable-2 y][keyword $] other text\");\n\n  MT(\"lineBreakArgument\",\n    \"[tag \\\\\\\\][bracket [[][atom 1cm][bracket ]]]\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/tcl/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Tcl mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/night.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"tcl.js\"></script>\n<script src=\"../../addon/scroll/scrollpastend.js\"></script>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Tcl</a>\n  </ul>\n</div>\n\n<article>\n<h2>Tcl mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n##############################################################################################\n##  ##     whois.tcl for eggdrop by Ford_Lawnmower irc.geekshed.net #Script-Help        ##  ##\n##############################################################################################\n## To use this script you must set channel flag +whois (ie .chanset #chan +whois)           ##\n##############################################################################################\n##      ____                __                 ###########################################  ##\n##     / __/___ _ ___ _ ___/ /____ ___   ___   ###########################################  ##\n##    / _/ / _ `// _ `// _  // __// _ \\ / _ \\  ###########################################  ##\n##   /___/ \\_, / \\_, / \\_,_//_/   \\___// .__/  ###########################################  ##\n##        /___/ /___/                 /_/      ###########################################  ##\n##                                             ###########################################  ##\n##############################################################################################\n##  ##                             Start Setup.                                         ##  ##\n##############################################################################################\nnamespace eval whois {\n## change cmdchar to the trigger you want to use                                        ##  ##\n  variable cmdchar \"!\"\n## change command to the word trigger you would like to use.                            ##  ##\n## Keep in mind, This will also change the .chanset +/-command                          ##  ##\n  variable command \"whois\"\n## change textf to the colors you want for the text.                                    ##  ##\n  variable textf \"\\017\\00304\"\n## change tagf to the colors you want for tags:                                         ##  ##\n  variable tagf \"\\017\\002\"\n## Change logo to the logo you want at the start of the line.                           ##  ##\n  variable logo \"\\017\\00304\\002\\[\\00306W\\003hois\\00304\\]\\017\"\n## Change lineout to the results you want. Valid results are channel users modes topic  ##  ##\n  variable lineout \"channel users modes topic\"\n##############################################################################################\n##  ##                           End Setup.                                              ## ##\n##############################################################################################\n  variable channel \"\"\n  setudef flag $whois::command\n  bind pub -|- [string trimleft $whois::cmdchar]${whois::command} whois::list\n  bind raw -|- \"311\" whois::311\n  bind raw -|- \"312\" whois::312\n  bind raw -|- \"319\" whois::319\n  bind raw -|- \"317\" whois::317\n  bind raw -|- \"313\" whois::multi\n  bind raw -|- \"310\" whois::multi\n  bind raw -|- \"335\" whois::multi\n  bind raw -|- \"301\" whois::301\n  bind raw -|- \"671\" whois::multi\n  bind raw -|- \"320\" whois::multi\n  bind raw -|- \"401\" whois::multi\n  bind raw -|- \"318\" whois::318\n  bind raw -|- \"307\" whois::307\n}\nproc whois::311 {from key text} {\n  if {[regexp -- {^[^\\s]+\\s(.+?)\\s(.+?)\\s(.+?)\\s\\*\\s\\:(.+)$} $text wholematch nick ident host realname]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Host:${whois::textf} \\\n\t$nick \\(${ident}@${host}\\) ${whois::tagf}Realname:${whois::textf} $realname\"\n  }\n}\nproc whois::multi {from key text} {\n  if {[regexp {\\:(.*)$} $text match $key]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Note:${whois::textf} [subst $$key]\"\n\treturn 1\n  }\n}\nproc whois::312 {from key text} {\n  regexp {([^\\s]+)\\s\\:} $text match server\n  putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Server:${whois::textf} $server\"\n}\nproc whois::319 {from key text} {\n  if {[regexp {.+\\:(.+)$} $text match channels]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Channels:${whois::textf} $channels\"\n  }\n}\nproc whois::317 {from key text} {\n  if {[regexp -- {.*\\s(\\d+)\\s(\\d+)\\s\\:} $text wholematch idle signon]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Connected:${whois::textf} \\\n\t[ctime $signon] ${whois::tagf}Idle:${whois::textf} [duration $idle]\"\n  }\n}\nproc whois::301 {from key text} {\n  if {[regexp {^.+\\s[^\\s]+\\s\\:(.*)$} $text match awaymsg]} {\n    putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Away:${whois::textf} $awaymsg\"\n  }\n}\nproc whois::318 {from key text} {\n  namespace eval whois {\n\tvariable channel \"\"\n  }\n  variable whois::channel \"\"\n}\nproc whois::307 {from key text} {\n  putserv \"PRIVMSG $whois::channel :${whois::logo} ${whois::tagf}Services:${whois::textf} Registered Nick\"\n}\nproc whois::list {nick host hand chan text} {\n  if {[lsearch -exact [channel info $chan] \"+${whois::command}\"] != -1} {\n    namespace eval whois {\n\t  variable channel \"\"\n\t}\n    variable whois::channel $chan\n    putserv \"WHOIS $text\"\n  }\n}\nputlog \"\\002*Loaded* \\017\\00304\\002\\[\\00306W\\003hois\\00304\\]\\017 \\002by \\\nFord_Lawnmower irc.GeekShed.net #Script-Help\"\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        tabMode: \"indent\",\n\t\ttheme: \"night\",\n        lineNumbers: true,\n        indentUnit: 2,\n        scrollPastEnd: true,\n        mode: \"text/x-tcl\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-tcl</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/tcl/tcl.js",
    "content": "//tcl mode by Ford_Lawnmower :: Based on Velocity mode by Steve O'Hara\nCodeMirror.defineMode(\"tcl\", function() {\n  function parseWords(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n  var keywords = parseWords(\"Tcl safe after append array auto_execok auto_import auto_load \" +\n        \"auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror \" +\n        \"binary break catch cd close concat continue dde eof encoding error \" +\n        \"eval exec exit expr fblocked fconfigure fcopy file fileevent filename \" +\n        \"filename flush for foreach format gets glob global history http if \" +\n        \"incr info interp join lappend lindex linsert list llength load lrange \" +\n        \"lreplace lsearch lset lsort memory msgcat namespace open package parray \" +\n        \"pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp \" +\n        \"registry regsub rename resource return scan seek set socket source split \" +\n        \"string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord \" +\n        \"tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest \" +\n        \"tclvars tell time trace unknown unset update uplevel upvar variable \" +\n    \"vwait\");\n    var functions = parseWords(\"if elseif else and not or eq ne in ni for foreach while switch\");\n    var isOperatorChar = /[+\\-*&%=<>!?^\\/\\|]/;\n    function chain(stream, state, f) {\n      state.tokenize = f;\n      return f(stream, state);\n    }\n    function tokenBase(stream, state) {\n      var beforeParams = state.beforeParams;\n      state.beforeParams = false;\n      var ch = stream.next();\n      if ((ch == '\"' || ch == \"'\") && state.inParams)\n        return chain(stream, state, tokenString(ch));\n      else if (/[\\[\\]{}\\(\\),;\\.]/.test(ch)) {\n        if (ch == \"(\" && beforeParams) state.inParams = true;\n        else if (ch == \")\") state.inParams = false;\n          return null;\n      }\n      else if (/\\d/.test(ch)) {\n        stream.eatWhile(/[\\w\\.]/);\n        return \"number\";\n      }\n      else if (ch == \"#\" && stream.eat(\"*\")) {\n        return chain(stream, state, tokenComment);\n      }\n      else if (ch == \"#\" && stream.match(/ *\\[ *\\[/)) {\n        return chain(stream, state, tokenUnparsed);\n      }\n      else if (ch == \"#\" && stream.eat(\"#\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n      else if (ch == '\"') {\n        stream.skipTo(/\"/);\n        return \"comment\";\n      }\n      else if (ch == \"$\") {\n        stream.eatWhile(/[$_a-z0-9A-Z\\.{:]/);\n        stream.eatWhile(/}/);\n        state.beforeParams = true;\n        return \"builtin\";\n      }\n      else if (isOperatorChar.test(ch)) {\n        stream.eatWhile(isOperatorChar);\n        return \"comment\";\n      }\n      else {\n        stream.eatWhile(/[\\w\\$_{}]/);\n        var word = stream.current().toLowerCase();\n        if (keywords && keywords.propertyIsEnumerable(word))\n          return \"keyword\";\n        if (functions && functions.propertyIsEnumerable(word)) {\n          state.beforeParams = true;\n          return \"keyword\";\n        }\n        return null;\n      }\n    }\n    function tokenString(quote) {\n      return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {\n          end = true;\n          break;\n        }\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end) state.tokenize = tokenBase;\n        return \"string\";\n      };\n    }\n    function tokenComment(stream, state) {\n      var maybeEnd = false, ch;\n      while (ch = stream.next()) {\n        if (ch == \"#\" && maybeEnd) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        maybeEnd = (ch == \"*\");\n      }\n      return \"comment\";\n    }\n    function tokenUnparsed(stream, state) {\n      var maybeEnd = 0, ch;\n      while (ch = stream.next()) {\n        if (ch == \"#\" && maybeEnd == 2) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        if (ch == \"]\")\n          maybeEnd++;\n        else if (ch != \" \")\n          maybeEnd = 0;\n      }\n      return \"meta\";\n    }\n    return {\n      startState: function() {\n        return {\n          tokenize: tokenBase,\n          beforeParams: false,\n          inParams: false\n        };\n      },\n      token: function(stream, state) {\n        if (stream.eatSpace()) return null;\n        return state.tokenize(stream, state);\n      }\n    };\n});\nCodeMirror.defineMIME(\"text/x-tcl\", \"tcl\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/tiddlywiki/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: TiddlyWiki mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"tiddlywiki.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"../../addon/edit/matchbrackets.js\"></script>\n<script src=\"tiddlywiki.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">TiddlyWiki</a>\n  </ul>\n</div>\n\n<article>\n<h2>TiddlyWiki mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n!TiddlyWiki Formatting\n* Rendered versions can be found at: http://www.tiddlywiki.com/#Reference\n\n|!Option            | !Syntax            |\n|bold font          | ''bold''           |\n|italic type        | //italic//         |\n|underlined text    | __underlined__     |\n|strikethrough text | --strikethrough--  |\n|superscript text   | super^^script^^    |\n|subscript text     | sub~~script~~      |\n|highlighted text   | @@highlighted@@    |\n|preformatted text  | {{{preformatted}}} |\n\n!Block Elements\n<<<\n!Heading 1\n\n!!Heading 2\n\n!!!Heading 3\n\n!!!!Heading 4\n\n!!!!!Heading 5\n<<<\n\n!!Lists\n<<<\n* unordered list, level 1\n** unordered list, level 2\n*** unordered list, level 3\n\n# ordered list, level 1\n## ordered list, level 2\n### unordered list, level 3\n\n; definition list, term\n: definition list, description\n<<<\n\n!!Blockquotes\n<<<\n> blockquote, level 1\n>> blockquote, level 2\n>>> blockquote, level 3\n\n> blockquote\n<<<\n\n!!Preformatted Text\n<<<\n{{{\npreformatted (e.g. code)\n}}}\n<<<\n\n!!Code Sections\n<<<\n{{{\nText style code\n}}}\n\n//{{{\nJS styled code. TiddlyWiki mixed mode should support highlighter switching in the future.\n//}}}\n\n<!--{{{-->\nXML styled code. TiddlyWiki mixed mode should support highlighter switching in the future.\n<!--}}}-->\n<<<\n\n!!Tables\n<<<\n|CssClass|k\n|!heading column 1|!heading column 2|\n|row 1, column 1|row 1, column 2|\n|row 2, column 1|row 2, column 2|\n|>|COLSPAN|\n|ROWSPAN| ... |\n|~| ... |\n|CssProperty:value;...| ... |\n|caption|c\n\n''Annotation:''\n* The {{{>}}} marker creates a \"colspan\", causing the current cell to merge with the one to the right.\n* The {{{~}}} marker creates a \"rowspan\", causing the current cell to merge with the one above.\n<<<\n!!Images /% TODO %/\ncf. [[TiddlyWiki.com|http://www.tiddlywiki.com/#EmbeddedImages]]\n\n!Hyperlinks\n* [[WikiWords|WikiWord]] are automatically transformed to hyperlinks to the respective tiddler\n** the automatic transformation can be suppressed by preceding the respective WikiWord with a tilde ({{{~}}}): {{{~WikiWord}}}\n* [[PrettyLinks]] are enclosed in square brackets and contain the desired tiddler name: {{{[[tiddler name]]}}}\n** optionally, a custom title or description can be added, separated by a pipe character ({{{|}}}): {{{[[title|target]]}}}<br>'''N.B.:''' In this case, the target can also be any website (i.e. URL).\n\n!Custom Styling\n* {{{@@CssProperty:value;CssProperty:value;...@@}}}<br>''N.B.:'' CSS color definitions should use lowercase letters to prevent the inadvertent creation of WikiWords.\n* <html><code>{{customCssClass{...}}}</code></html>\n* raw HTML can be inserted by enclosing the respective code in HTML tags: {{{<html> ... </html>}}}\n\n!Special Markers\n* {{{<br>}}} forces a manual line break\n* {{{----}}} creates a horizontal ruler\n* [[HTML entities|http://www.tiddlywiki.com/#HtmlEntities]]\n* [[HTML entities local|HtmlEntities]]\n* {{{<<macroName>>}}} calls the respective [[macro|Macros]]\n* To hide text within a tiddler so that it is not displayed, it can be wrapped in {{{/%}}} and {{{%/}}}.<br/>This can be a useful trick for hiding drafts or annotating complex markup.\n* To prevent wiki markup from taking effect for a particular section, that section can be enclosed in three double quotes: e.g. {{{\"\"\"WikiWord\"\"\"}}}.\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'tiddlywiki',      \n        lineNumbers: true,\n        enterMode: 'keep',\n        matchBrackets: true\n      });\n    </script>\n\n    <p>TiddlyWiki mode supports a single configuration.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-tiddlywiki</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/tiddlywiki/tiddlywiki.css",
    "content": "span.cm-underlined {\n  text-decoration: underline;\n}\nspan.cm-strikethrough {\n  text-decoration: line-through;\n}\nspan.cm-brace {\n  color: #170;\n  font-weight: bold;\n}\nspan.cm-table {\n  color: blue;\n  font-weight: bold;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/tiddlywiki/tiddlywiki.js",
    "content": "/***\n    |''Name''|tiddlywiki.js|\n    |''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror|\n    |''Author''|PMario|\n    |''Version''|0.1.7|\n    |''Status''|''stable''|\n    |''Source''|[[GitHub|https://github.com/pmario/CodeMirror2/blob/tw-syntax/mode/tiddlywiki]]|\n    |''Documentation''|http://codemirror.tiddlyspace.com/|\n    |''License''|[[MIT License|http://www.opensource.org/licenses/mit-license.php]]|\n    |''CoreVersion''|2.5.0|\n    |''Requires''|codemirror.js|\n    |''Keywords''|syntax highlighting color code mirror codemirror|\n    ! Info\n    CoreVersion parameter is needed for TiddlyWiki only!\n***/\n//{{{\nCodeMirror.defineMode(\"tiddlywiki\", function () {\n  // Tokenizer\n  var textwords = {};\n\n  var keywords = function () {\n    function kw(type) {\n      return { type: type, style: \"macro\"};\n    }\n    return {\n      \"allTags\": kw('allTags'), \"closeAll\": kw('closeAll'), \"list\": kw('list'),\n      \"newJournal\": kw('newJournal'), \"newTiddler\": kw('newTiddler'),\n      \"permaview\": kw('permaview'), \"saveChanges\": kw('saveChanges'),\n      \"search\": kw('search'), \"slider\": kw('slider'),   \"tabs\": kw('tabs'),\n      \"tag\": kw('tag'), \"tagging\": kw('tagging'),       \"tags\": kw('tags'),\n      \"tiddler\": kw('tiddler'), \"timeline\": kw('timeline'),\n      \"today\": kw('today'), \"version\": kw('version'),   \"option\": kw('option'),\n\n      \"with\": kw('with'),\n      \"filter\": kw('filter')\n    };\n  }();\n\n  var isSpaceName = /[\\w_\\-]/i,\n  reHR = /^\\-\\-\\-\\-+$/,                                 // <hr>\n  reWikiCommentStart = /^\\/\\*\\*\\*$/,            // /***\n  reWikiCommentStop = /^\\*\\*\\*\\/$/,             // ***/\n  reBlockQuote = /^<<<$/,\n\n  reJsCodeStart = /^\\/\\/\\{\\{\\{$/,                       // //{{{ js block start\n  reJsCodeStop = /^\\/\\/\\}\\}\\}$/,                        // //}}} js stop\n  reXmlCodeStart = /^<!--\\{\\{\\{-->$/,           // xml block start\n  reXmlCodeStop = /^<!--\\}\\}\\}-->$/,            // xml stop\n\n  reCodeBlockStart = /^\\{\\{\\{$/,                        // {{{ TW text div block start\n  reCodeBlockStop = /^\\}\\}\\}$/,                 // }}} TW text stop\n\n  reUntilCodeStop = /.*?\\}\\}\\}/;\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n\n  function ret(tp, style, cont) {\n    type = tp;\n    content = cont;\n    return style;\n  }\n\n  function jsTokenBase(stream, state) {\n    var sol = stream.sol(), ch;\n\n    state.block = false;        // indicates the start of a code block.\n\n    ch = stream.peek();         // don't eat, to make matching simpler\n\n    // check start of  blocks\n    if (sol && /[<\\/\\*{}\\-]/.test(ch)) {\n      if (stream.match(reCodeBlockStart)) {\n        state.block = true;\n        return chain(stream, state, twTokenCode);\n      }\n      if (stream.match(reBlockQuote)) {\n        return ret('quote', 'quote');\n      }\n      if (stream.match(reWikiCommentStart) || stream.match(reWikiCommentStop)) {\n        return ret('code', 'comment');\n      }\n      if (stream.match(reJsCodeStart) || stream.match(reJsCodeStop) || stream.match(reXmlCodeStart) || stream.match(reXmlCodeStop)) {\n        return ret('code', 'comment');\n      }\n      if (stream.match(reHR)) {\n        return ret('hr', 'hr');\n      }\n    } // sol\n    ch = stream.next();\n\n    if (sol && /[\\/\\*!#;:>|]/.test(ch)) {\n      if (ch == \"!\") { // tw header\n        stream.skipToEnd();\n        return ret(\"header\", \"header\");\n      }\n      if (ch == \"*\") { // tw list\n        stream.eatWhile('*');\n        return ret(\"list\", \"comment\");\n      }\n      if (ch == \"#\") { // tw numbered list\n        stream.eatWhile('#');\n        return ret(\"list\", \"comment\");\n      }\n      if (ch == \";\") { // definition list, term\n        stream.eatWhile(';');\n        return ret(\"list\", \"comment\");\n      }\n      if (ch == \":\") { // definition list, description\n        stream.eatWhile(':');\n        return ret(\"list\", \"comment\");\n      }\n      if (ch == \">\") { // single line quote\n        stream.eatWhile(\">\");\n        return ret(\"quote\", \"quote\");\n      }\n      if (ch == '|') {\n        return ret('table', 'header');\n      }\n    }\n\n    if (ch == '{' && stream.match(/\\{\\{/)) {\n      return chain(stream, state, twTokenCode);\n    }\n\n    // rudimentary html:// file:// link matching. TW knows much more ...\n    if (/[hf]/i.test(ch)) {\n      if (/[ti]/i.test(stream.peek()) && stream.match(/\\b(ttps?|tp|ile):\\/\\/[\\-A-Z0-9+&@#\\/%?=~_|$!:,.;]*[A-Z0-9+&@#\\/%=~_|$]/i)) {\n        return ret(\"link\", \"link\");\n      }\n    }\n    // just a little string indicator, don't want to have the whole string covered\n    if (ch == '\"') {\n      return ret('string', 'string');\n    }\n    if (ch == '~') {    // _no_ CamelCase indicator should be bold\n      return ret('text', 'brace');\n    }\n    if (/[\\[\\]]/.test(ch)) { // check for [[..]]\n      if (stream.peek() == ch) {\n        stream.next();\n        return ret('brace', 'brace');\n      }\n    }\n    if (ch == \"@\") {    // check for space link. TODO fix @@...@@ highlighting\n      stream.eatWhile(isSpaceName);\n      return ret(\"link\", \"link\");\n    }\n    if (/\\d/.test(ch)) {        // numbers\n      stream.eatWhile(/\\d/);\n      return ret(\"number\", \"number\");\n    }\n    if (ch == \"/\") { // tw invisible comment\n      if (stream.eat(\"%\")) {\n        return chain(stream, state, twTokenComment);\n      }\n      else if (stream.eat(\"/\")) { //\n        return chain(stream, state, twTokenEm);\n      }\n    }\n    if (ch == \"_\") { // tw underline\n      if (stream.eat(\"_\")) {\n        return chain(stream, state, twTokenUnderline);\n      }\n    }\n    // strikethrough and mdash handling\n    if (ch == \"-\") {\n      if (stream.eat(\"-\")) {\n        // if strikethrough looks ugly, change CSS.\n        if (stream.peek() != ' ')\n          return chain(stream, state, twTokenStrike);\n        // mdash\n        if (stream.peek() == ' ')\n          return ret('text', 'brace');\n      }\n    }\n    if (ch == \"'\") { // tw bold\n      if (stream.eat(\"'\")) {\n        return chain(stream, state, twTokenStrong);\n      }\n    }\n    if (ch == \"<\") { // tw macro\n      if (stream.eat(\"<\")) {\n        return chain(stream, state, twTokenMacro);\n      }\n    }\n    else {\n      return ret(ch);\n    }\n\n    // core macro handling\n    stream.eatWhile(/[\\w\\$_]/);\n    var word = stream.current(),\n    known = textwords.propertyIsEnumerable(word) && textwords[word];\n\n    return known ? ret(known.type, known.style, word) : ret(\"text\", null, word);\n\n  } // jsTokenBase()\n\n  // tw invisible comment\n  function twTokenComment(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"%\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  // tw strong / bold\n  function twTokenStrong(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while (ch = stream.next()) {\n      if (ch == \"'\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"'\");\n    }\n    return ret(\"text\", \"strong\");\n  }\n\n  // tw code\n  function twTokenCode(stream, state) {\n    var ch, sb = state.block;\n\n    if (sb && stream.current()) {\n      return ret(\"code\", \"comment\");\n    }\n\n    if (!sb && stream.match(reUntilCodeStop)) {\n      state.tokenize = jsTokenBase;\n      return ret(\"code\", \"comment\");\n    }\n\n    if (sb && stream.sol() && stream.match(reCodeBlockStop)) {\n      state.tokenize = jsTokenBase;\n      return ret(\"code\", \"comment\");\n    }\n\n    ch = stream.next();\n    return (sb) ? ret(\"code\", \"comment\") : ret(\"code\", \"comment\");\n  }\n\n  // tw em / italic\n  function twTokenEm(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"/\");\n    }\n    return ret(\"text\", \"em\");\n  }\n\n  // tw underlined text\n  function twTokenUnderline(stream, state) {\n    var maybeEnd = false,\n    ch;\n    while (ch = stream.next()) {\n      if (ch == \"_\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"_\");\n    }\n    return ret(\"text\", \"underlined\");\n  }\n\n  // tw strike through text looks ugly\n  // change CSS if needed\n  function twTokenStrike(stream, state) {\n    var maybeEnd = false, ch;\n\n    while (ch = stream.next()) {\n      if (ch == \"-\" && maybeEnd) {\n        state.tokenize = jsTokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"-\");\n    }\n    return ret(\"text\", \"strikethrough\");\n  }\n\n  // macro\n  function twTokenMacro(stream, state) {\n    var ch, word, known;\n\n    if (stream.current() == '<<') {\n      return ret('brace', 'macro');\n    }\n\n    ch = stream.next();\n    if (!ch) {\n      state.tokenize = jsTokenBase;\n      return ret(ch);\n    }\n    if (ch == \">\") {\n      if (stream.peek() == '>') {\n        stream.next();\n        state.tokenize = jsTokenBase;\n        return ret(\"brace\", \"macro\");\n      }\n    }\n\n    stream.eatWhile(/[\\w\\$_]/);\n    word = stream.current();\n    known = keywords.propertyIsEnumerable(word) && keywords[word];\n\n    if (known) {\n      return ret(known.type, known.style, word);\n    }\n    else {\n      return ret(\"macro\", null, word);\n    }\n  }\n\n  // Interface\n  return {\n    startState: function () {\n      return {\n        tokenize: jsTokenBase,\n        indented: 0,\n        level: 0\n      };\n    },\n\n    token: function (stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      return style;\n    },\n\n    electricChars: \"\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-tiddlywiki\", \"tiddlywiki\");\n//}}}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/tiki/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Tiki wiki mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"tiki.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"tiki.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Tiki wiki</a>\n  </ul>\n</div>\n\n<article>\n<h2>Tiki wiki mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\nHeadings\n!Header 1\n!!Header 2\n!!!Header 3\n!!!!Header 4\n!!!!!Header 5\n!!!!!!Header 6\n\nStyling\n-=titlebar=-\n^^ Box on multi\nlines\nof content^^\n__bold__\n''italic''\n===underline===\n::center::\n--Line Through--\n\nOperators\n~np~No parse~/np~\n\nLink\n[link|desc|nocache]\n\nWiki\n((Wiki))\n((Wiki|desc))\n((Wiki|desc|timeout))\n\nTable\n||row1 col1|row1 col2|row1 col3\nrow2 col1|row2 col2|row2 col3\nrow3 col1|row3 col2|row3 col3||\n\nLists:\n*bla\n**bla-1\n++continue-bla-1\n***bla-2\n++continue-bla-1\n*bla\n+continue-bla\n#bla\n** tra-la-la\n+continue-bla\n#bla\n\nPlugin (standard):\n{PLUGIN(attr=\"my attr\")}\nPlugin Body\n{PLUGIN}\n\nPlugin (inline):\n{plugin attr=\"my attr\"}\n</textarea></div>\n\n<script type=\"text/javascript\">\n\tvar editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: 'tiki',      \n        lineNumbers: true\n    });\n</script>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/tiki/tiki.css",
    "content": ".cm-tw-syntaxerror {\n\tcolor: #FFF;\n\tbackground-color: #900;\n}\n\n.cm-tw-deleted {\n\ttext-decoration: line-through;\n}\n\n.cm-tw-header5 {\n\tfont-weight: bold;\n}\n.cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/\n\tpadding-left: 10px;\n}\n\n.cm-tw-box {\n\tborder-top-width: 0px ! important;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tborder-color: inherit;\n}\n\n.cm-tw-underline {\n\ttext-decoration: underline;\n}"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/tiki/tiki.js",
    "content": "CodeMirror.defineMode('tiki', function(config) {\n  function inBlock(style, terminator, returnTokenizer) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.match(terminator)) {\n          state.tokenize = inText;\n          break;\n        }\n        stream.next();\n      }\n\n      if (returnTokenizer) state.tokenize = returnTokenizer;\n\n      return style;\n    };\n  }\n\n  function inLine(style) {\n    return function(stream, state) {\n      while(!stream.eol()) {\n        stream.next();\n      }\n      state.tokenize = inText;\n      return style;\n    };\n  }\n\n  function inText(stream, state) {\n    function chain(parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    }\n\n    var sol = stream.sol();\n    var ch = stream.next();\n\n    //non start of line\n    switch (ch) { //switch is generally much faster than if, so it is used here\n    case \"{\": //plugin\n      stream.eat(\"/\");\n      stream.eatSpace();\n      var tagName = \"\";\n      var c;\n      while ((c = stream.eat(/[^\\s\\u00a0=\\\"\\'\\/?(}]/))) tagName += c;\n      state.tokenize = inPlugin;\n      return \"tag\";\n      break;\n    case \"_\": //bold\n      if (stream.eat(\"_\")) {\n        return chain(inBlock(\"strong\", \"__\", inText));\n      }\n      break;\n    case \"'\": //italics\n      if (stream.eat(\"'\")) {\n        // Italic text\n        return chain(inBlock(\"em\", \"''\", inText));\n      }\n      break;\n    case \"(\":// Wiki Link\n      if (stream.eat(\"(\")) {\n        return chain(inBlock(\"variable-2\", \"))\", inText));\n      }\n      break;\n    case \"[\":// Weblink\n      return chain(inBlock(\"variable-3\", \"]\", inText));\n      break;\n    case \"|\": //table\n      if (stream.eat(\"|\")) {\n        return chain(inBlock(\"comment\", \"||\"));\n      }\n      break;\n    case \"-\":\n      if (stream.eat(\"=\")) {//titleBar\n        return chain(inBlock(\"header string\", \"=-\", inText));\n      } else if (stream.eat(\"-\")) {//deleted\n        return chain(inBlock(\"error tw-deleted\", \"--\", inText));\n      }\n      break;\n    case \"=\": //underline\n      if (stream.match(\"==\")) {\n        return chain(inBlock(\"tw-underline\", \"===\", inText));\n      }\n      break;\n    case \":\":\n      if (stream.eat(\":\")) {\n        return chain(inBlock(\"comment\", \"::\"));\n      }\n      break;\n    case \"^\": //box\n      return chain(inBlock(\"tw-box\", \"^\"));\n      break;\n    case \"~\": //np\n      if (stream.match(\"np~\")) {\n        return chain(inBlock(\"meta\", \"~/np~\"));\n      }\n      break;\n    }\n\n    //start of line types\n    if (sol) {\n      switch (ch) {\n      case \"!\": //header at start of line\n        if (stream.match('!!!!!')) {\n          return chain(inLine(\"header string\"));\n        } else if (stream.match('!!!!')) {\n          return chain(inLine(\"header string\"));\n        } else if (stream.match('!!!')) {\n          return chain(inLine(\"header string\"));\n        } else if (stream.match('!!')) {\n          return chain(inLine(\"header string\"));\n        } else {\n          return chain(inLine(\"header string\"));\n        }\n        break;\n      case \"*\": //unordered list line item, or <li /> at start of line\n      case \"#\": //ordered list line item, or <li /> at start of line\n      case \"+\": //ordered list line item, or <li /> at start of line\n        return chain(inLine(\"tw-listitem bracket\"));\n        break;\n      }\n    }\n\n    //stream.eatWhile(/[&{]/); was eating up plugins, turned off to act less like html and more like tiki\n    return null;\n  }\n\n  var indentUnit = config.indentUnit;\n\n  // Return variables for tokenizers\n  var pluginName, type;\n  function inPlugin(stream, state) {\n    var ch = stream.next();\n    var peek = stream.peek();\n\n    if (ch == \"}\") {\n      state.tokenize = inText;\n      //type = ch == \")\" ? \"endPlugin\" : \"selfclosePlugin\"; inPlugin\n      return \"tag\";\n    } else if (ch == \"(\" || ch == \")\") {\n      return \"bracket\";\n    } else if (ch == \"=\") {\n      type = \"equals\";\n\n      if (peek == \">\") {\n        ch = stream.next();\n        peek = stream.peek();\n      }\n\n      //here we detect values directly after equal character with no quotes\n      if (!/[\\'\\\"]/.test(peek)) {\n        state.tokenize = inAttributeNoQuote();\n      }\n      //end detect values\n\n      return \"operator\";\n    } else if (/[\\'\\\"]/.test(ch)) {\n      state.tokenize = inAttribute(ch);\n      return state.tokenize(stream, state);\n    } else {\n      stream.eatWhile(/[^\\s\\u00a0=\\\"\\'\\/?]/);\n      return \"keyword\";\n    }\n  }\n\n  function inAttribute(quote) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.next() == quote) {\n          state.tokenize = inPlugin;\n          break;\n        }\n      }\n      return \"string\";\n    };\n  }\n\n  function inAttributeNoQuote() {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        var ch = stream.next();\n        var peek = stream.peek();\n        if (ch == \" \" || ch == \",\" || /[ )}]/.test(peek)) {\n      state.tokenize = inPlugin;\n      break;\n    }\n  }\n  return \"string\";\n};\n                     }\n\nvar curState, setStyle;\nfunction pass() {\n  for (var i = arguments.length - 1; i >= 0; i--) curState.cc.push(arguments[i]);\n}\n\nfunction cont() {\n  pass.apply(null, arguments);\n  return true;\n}\n\nfunction pushContext(pluginName, startOfLine) {\n  var noIndent = curState.context && curState.context.noIndent;\n  curState.context = {\n    prev: curState.context,\n    pluginName: pluginName,\n    indent: curState.indented,\n    startOfLine: startOfLine,\n    noIndent: noIndent\n  };\n}\n\nfunction popContext() {\n  if (curState.context) curState.context = curState.context.prev;\n}\n\nfunction element(type) {\n  if (type == \"openPlugin\") {curState.pluginName = pluginName; return cont(attributes, endplugin(curState.startOfLine));}\n  else if (type == \"closePlugin\") {\n    var err = false;\n    if (curState.context) {\n      err = curState.context.pluginName != pluginName;\n      popContext();\n    } else {\n      err = true;\n    }\n    if (err) setStyle = \"error\";\n    return cont(endcloseplugin(err));\n  }\n  else if (type == \"string\") {\n    if (!curState.context || curState.context.name != \"!cdata\") pushContext(\"!cdata\");\n    if (curState.tokenize == inText) popContext();\n    return cont();\n  }\n  else return cont();\n}\n\nfunction endplugin(startOfLine) {\n  return function(type) {\n    if (\n      type == \"selfclosePlugin\" ||\n        type == \"endPlugin\"\n    )\n      return cont();\n    if (type == \"endPlugin\") {pushContext(curState.pluginName, startOfLine); return cont();}\n    return cont();\n  };\n}\n\nfunction endcloseplugin(err) {\n  return function(type) {\n    if (err) setStyle = \"error\";\n    if (type == \"endPlugin\") return cont();\n    return pass();\n  };\n}\n\nfunction attributes(type) {\n  if (type == \"keyword\") {setStyle = \"attribute\"; return cont(attributes);}\n  if (type == \"equals\") return cont(attvalue, attributes);\n  return pass();\n}\nfunction attvalue(type) {\n  if (type == \"keyword\") {setStyle = \"string\"; return cont();}\n  if (type == \"string\") return cont(attvaluemaybe);\n  return pass();\n}\nfunction attvaluemaybe(type) {\n  if (type == \"string\") return cont(attvaluemaybe);\n  else return pass();\n}\nreturn {\n  startState: function() {\n    return {tokenize: inText, cc: [], indented: 0, startOfLine: true, pluginName: null, context: null};\n  },\n  token: function(stream, state) {\n    if (stream.sol()) {\n      state.startOfLine = true;\n      state.indented = stream.indentation();\n    }\n    if (stream.eatSpace()) return null;\n\n    setStyle = type = pluginName = null;\n    var style = state.tokenize(stream, state);\n    if ((style || type) && style != \"comment\") {\n      curState = state;\n      while (true) {\n        var comb = state.cc.pop() || element;\n        if (comb(type || style)) break;\n      }\n    }\n    state.startOfLine = false;\n    return setStyle || style;\n  },\n  indent: function(state, textAfter) {\n    var context = state.context;\n    if (context && context.noIndent) return 0;\n    if (context && /^{\\//.test(textAfter))\n        context = context.prev;\n        while (context && !context.startOfLine)\n          context = context.prev;\n        if (context) return context.indent + indentUnit;\n        else return 0;\n       },\n    electricChars: \"/\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/tiki\", \"tiki\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/toml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: TOML Mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"toml.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">TOML Mode</a>\n  </ul>\n</div>\n\n<article>\n<h2>TOML Mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n# This is a TOML document. Boom.\n\ntitle = \"TOML Example\"\n\n[owner]\nname = \"Tom Preston-Werner\"\norganization = \"GitHub\"\nbio = \"GitHub Cofounder &amp; CEO\\nLikes tater tots and beer.\"\ndob = 1979-05-27T07:32:00Z # First class dates? Why not?\n\n[database]\nserver = \"192.168.1.1\"\nports = [ 8001, 8001, 8002 ]\nconnection_max = 5000\nenabled = true\n\n[servers]\n\n  # You can indent as you please. Tabs or spaces. TOML don't care.\n  [servers.alpha]\n  ip = \"10.0.0.1\"\n  dc = \"eqdc10\"\n  \n  [servers.beta]\n  ip = \"10.0.0.2\"\n  dc = \"eqdc10\"\n  \n[clients]\ndata = [ [\"gamma\", \"delta\"], [1, 2] ]\n\n# Line breaks are OK when inside arrays\nhosts = [\n  \"alpha\",\n  \"omega\"\n]\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"toml\"},\n        lineNumbers: true\n      });\n    </script>\n    <h3>The TOML Mode</h3>\n      <p> Created by Forbes Lindesay.</p>\n    <p><strong>MIME type defined:</strong> <code>text/x-toml</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/toml/toml.js",
    "content": "CodeMirror.defineMode(\"toml\", function () {\n  return {\n    startState: function () {\n      return {\n        inString: false,\n        stringType: \"\",\n        lhs: true,\n        inArray: 0\n      };\n    },\n    token: function (stream, state) {\n      //check for state changes\n      if (!state.inString && ((stream.peek() == '\"') || (stream.peek() == \"'\"))) {\n        state.stringType = stream.peek();\n        stream.next(); // Skip quote\n        state.inString = true; // Update state\n      }\n      if (stream.sol() && state.inArray === 0) {\n        state.lhs = true;\n      }\n      //return state\n      if (state.inString) {\n        while (state.inString && !stream.eol()) {\n          if (stream.peek() === state.stringType) {\n            stream.next(); // Skip quote\n            state.inString = false; // Clear flag\n          } else if (stream.peek() === '\\\\') {\n            stream.next();\n            stream.next();\n          } else {\n            stream.match(/^.[^\\\\\\\"\\']*/);\n          }\n        }\n        return state.lhs ? \"property string\" : \"string\"; // Token style\n      } else if (state.inArray && stream.peek() === ']') {\n        stream.next();\n        state.inArray--;\n        return 'bracket';\n      } else if (state.lhs && stream.peek() === '[' && stream.skipTo(']')) {\n        stream.next();//skip closing ]\n        return \"atom\";\n      } else if (stream.peek() === \"#\") {\n        stream.skipToEnd();\n        return \"comment\";\n      } else if (stream.eatSpace()) {\n        return null;\n      } else if (state.lhs && stream.eatWhile(function (c) { return c != '=' && c != ' '; })) {\n        return \"property\";\n      } else if (state.lhs && stream.peek() === \"=\") {\n        stream.next();\n        state.lhs = false;\n        return null;\n      } else if (!state.lhs && stream.match(/^\\d\\d\\d\\d[\\d\\-\\:\\.T]*Z/)) {\n        return 'atom'; //date\n      } else if (!state.lhs && (stream.match('true') || stream.match('false'))) {\n        return 'atom';\n      } else if (!state.lhs && stream.peek() === '[') {\n        state.inArray++;\n        stream.next();\n        return 'bracket';\n      } else if (!state.lhs && stream.match(/^\\-?\\d+(?:\\.\\d+)?/)) {\n        return 'number';\n      } else if (!stream.eatSpace()) {\n        stream.next();\n      }\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME('text/x-toml', 'toml');\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/turtle/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Turtle mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"turtle.js\"></script>\n<style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Turtle</a>\n  </ul>\n</div>\n\n<article>\n<h2>Turtle mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n\n<http://purl.org/net/bsletten> \n    a foaf:Person;\n    foaf:interest <http://www.w3.org/2000/01/sw/>;\n    foaf:based_near [\n        geo:lat \"34.0736111\" ;\n        geo:lon \"-118.3994444\"\n   ]\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: \"text/turtle\",\n        tabMode: \"indent\",\n        matchBrackets: true\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/turtle</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/turtle/turtle.js",
    "content": "CodeMirror.defineMode(\"turtle\", function(config) {\n  var indentUnit = config.indentUnit;\n  var curPunc;\n\n  function wordRegexp(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")$\", \"i\");\n  }\n  var ops = wordRegexp([]);\n  var keywords = wordRegexp([\"@prefix\", \"@base\", \"a\"]);\n  var operatorChars = /[*+\\-<>=&|]/;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    curPunc = null;\n    if (ch == \"<\" && !stream.match(/^[\\s\\u00a0=]/, false)) {\n      stream.match(/^[^\\s\\u00a0>]*>?/);\n      return \"atom\";\n    }\n    else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenLiteral(ch);\n      return state.tokenize(stream, state);\n    }\n    else if (/[{}\\(\\),\\.;\\[\\]]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    else if (ch == \"#\") {\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    else if (operatorChars.test(ch)) {\n      stream.eatWhile(operatorChars);\n      return null;\n    }\n    else if (ch == \":\") {\n          return \"operator\";\n        } else {\n      stream.eatWhile(/[_\\w\\d]/);\n      if(stream.peek() == \":\") {\n        return \"variable-3\";\n      } else {\n             var word = stream.current();\n\n             if(keywords.test(word)) {\n                        return \"meta\";\n             }\n\n             if(ch >= \"A\" && ch <= \"Z\") {\n                    return \"comment\";\n                 } else {\n                        return \"keyword\";\n                 }\n      }\n      var word = stream.current();\n      if (ops.test(word))\n        return null;\n      else if (keywords.test(word))\n        return \"meta\";\n      else\n        return \"variable\";\n    }\n  }\n\n  function tokenLiteral(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          state.tokenize = tokenBase;\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      return \"string\";\n    };\n  }\n\n  function pushContext(state, type, col) {\n    state.context = {prev: state.context, indent: state.indent, col: col, type: type};\n  }\n  function popContext(state) {\n    state.indent = state.context.indent;\n    state.context = state.context.prev;\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: tokenBase,\n              context: null,\n              indent: 0,\n              col: 0};\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (state.context && state.context.align == null) state.context.align = false;\n        state.indent = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n\n      if (style != \"comment\" && state.context && state.context.align == null && state.context.type != \"pattern\") {\n        state.context.align = true;\n      }\n\n      if (curPunc == \"(\") pushContext(state, \")\", stream.column());\n      else if (curPunc == \"[\") pushContext(state, \"]\", stream.column());\n      else if (curPunc == \"{\") pushContext(state, \"}\", stream.column());\n      else if (/[\\]\\}\\)]/.test(curPunc)) {\n        while (state.context && state.context.type == \"pattern\") popContext(state);\n        if (state.context && curPunc == state.context.type) popContext(state);\n      }\n      else if (curPunc == \".\" && state.context && state.context.type == \"pattern\") popContext(state);\n      else if (/atom|string|variable/.test(style) && state.context) {\n        if (/[\\}\\]]/.test(state.context.type))\n          pushContext(state, \"pattern\", stream.column());\n        else if (state.context.type == \"pattern\" && !state.context.align) {\n          state.context.align = true;\n          state.context.col = stream.column();\n        }\n      }\n\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var firstChar = textAfter && textAfter.charAt(0);\n      var context = state.context;\n      if (/[\\]\\}]/.test(firstChar))\n        while (context && context.type == \"pattern\") context = context.prev;\n\n      var closing = context && firstChar == context.type;\n      if (!context)\n        return 0;\n      else if (context.type == \"pattern\")\n        return context.col;\n      else if (context.align)\n        return context.col + (closing ? 0 : 1);\n      else\n        return context.indent + (closing ? 0 : indentUnit);\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/turtle\", \"turtle\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/vb/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: VB.NET mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link href=\"http://fonts.googleapis.com/css?family=Inconsolata\" rel=\"stylesheet\" type=\"text/css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"vb.js\"></script>\n<script type=\"text/javascript\" src=\"../../addon/runmode/runmode.js\"></script>\n<style>\n      .CodeMirror {border: 1px solid #aaa; height:210px; height: auto;}\n      .CodeMirror-scroll { overflow-x: auto; overflow-y: hidden;}\n      .CodeMirror pre { font-family: Inconsolata; font-size: 14px}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">VB.NET</a>\n  </ul>\n</div>\n\n<article>\n<h2>VB.NET mode</h2>\n\n<script type=\"text/javascript\">\nfunction test(golden, text) {\n  var ok = true;\n  var i = 0;\n  function callback(token, style, lineNo, pos){\n\t\t//console.log(String(token) + \" \" + String(style) + \" \" + String(lineNo) + \" \" + String(pos));\n    var result = [String(token), String(style)];\n    if (golden[i][0] != result[0] || golden[i][1] != result[1]){\n      return \"Error, expected: \" + String(golden[i]) + \", got: \" + String(result);\n      ok = false;\n    }\n    i++;\n  }\n  CodeMirror.runMode(text, \"text/x-vb\",callback); \n\n  if (ok) return \"Tests OK\";\n}\nfunction testTypes() {\n  var golden = [['Integer','keyword'],[' ','null'],['Float','keyword']]\n  var text =  \"Integer Float\";\n  return test(golden,text);\n}\nfunction testIf(){\n  var golden = [['If','keyword'],[' ','null'],['True','keyword'],[' ','null'],['End','keyword'],[' ','null'],['If','keyword']];\n  var text = 'If True End If';\n  return test(golden, text);\n}\nfunction testDecl(){\n   var golden = [['Dim','keyword'],[' ','null'],['x','variable'],[' ','null'],['as','keyword'],[' ','null'],['Integer','keyword']];\n   var text = 'Dim x as Integer';\n   return test(golden, text);\n}\nfunction testAll(){\n  var result = \"\";\n\n  result += testTypes() + \"\\n\";\n  result += testIf() + \"\\n\";\n  result += testDecl() + \"\\n\";\n  return result;\n\n}\nfunction initText(editor) {\n  var content = 'Class rocket\\nPrivate quality as Double\\nPublic Sub launch() as String\\nif quality > 0.8\\nlaunch = \"Successful\"\\nElse\\nlaunch = \"Failed\"\\nEnd If\\nEnd sub\\nEnd class\\n';\n  editor.setValue(content);\n  for (var i =0; i< editor.lineCount(); i++) editor.indentLine(i);\n}\nfunction init() {\n    editor = CodeMirror.fromTextArea(document.getElementById(\"solution\"), {\n        lineNumbers: true,\n        mode: \"text/x-vb\",\n        readOnly: false,\n        tabMode: \"shift\"\n    });\n    runTest();\n}\nfunction runTest() {\n\tdocument.getElementById('testresult').innerHTML = testAll();\n  initText(editor);\n\t\n}\ndocument.body.onload = init;\n</script>\n\n  <div id=\"edit\">\n  <textarea style=\"width:95%;height:200px;padding:5px;\" name=\"solution\" id=\"solution\" ></textarea>\n  </div>\n  <pre id=\"testresult\"></pre>\n  <p>MIME type defined: <code>text/x-vb</code>.</p>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/vb/vb.js",
    "content": "CodeMirror.defineMode(\"vb\", function(conf, parserConf) {\n    var ERRORCLASS = 'error';\n\n    function wordRegexp(words) {\n        return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\", \"i\");\n    }\n\n    var singleOperators = new RegExp(\"^[\\\\+\\\\-\\\\*/%&\\\\\\\\|\\\\^~<>!]\");\n    var singleDelimiters = new RegExp('^[\\\\(\\\\)\\\\[\\\\]\\\\{\\\\}@,:`=;\\\\.]');\n    var doubleOperators = new RegExp(\"^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\\\*\\\\*))\");\n    var doubleDelimiters = new RegExp(\"^((\\\\+=)|(\\\\-=)|(\\\\*=)|(%=)|(/=)|(&=)|(\\\\|=)|(\\\\^=))\");\n    var tripleDelimiters = new RegExp(\"^((//=)|(>>=)|(<<=)|(\\\\*\\\\*=))\");\n    var identifiers = new RegExp(\"^[_A-Za-z][_A-Za-z0-9]*\");\n\n    var openingKeywords = ['class','module', 'sub','enum','select','while','if','function',  'get','set','property', 'try'];\n    var middleKeywords = ['else','elseif','case', 'catch'];\n    var endKeywords = ['next','loop'];\n\n    var wordOperators = wordRegexp(['and', 'or', 'not', 'xor', 'in']);\n    var commonkeywords = ['as', 'dim', 'break',  'continue','optional', 'then',  'until',\n                          'goto', 'byval','byref','new','handles','property', 'return',\n                          'const','private', 'protected', 'friend', 'public', 'shared', 'static', 'true','false'];\n    var commontypes = ['integer','string','double','decimal','boolean','short','char', 'float','single'];\n\n    var keywords = wordRegexp(commonkeywords);\n    var types = wordRegexp(commontypes);\n    var stringPrefixes = '\"';\n\n    var opening = wordRegexp(openingKeywords);\n    var middle = wordRegexp(middleKeywords);\n    var closing = wordRegexp(endKeywords);\n    var doubleClosing = wordRegexp(['end']);\n    var doOpening = wordRegexp(['do']);\n\n    var indentInfo = null;\n\n\n\n\n    function indent(_stream, state) {\n      state.currentIndent++;\n    }\n\n    function dedent(_stream, state) {\n      state.currentIndent--;\n    }\n    // tokenizers\n    function tokenBase(stream, state) {\n        if (stream.eatSpace()) {\n            return null;\n        }\n\n        var ch = stream.peek();\n\n        // Handle Comments\n        if (ch === \"'\") {\n            stream.skipToEnd();\n            return 'comment';\n        }\n\n\n        // Handle Number Literals\n        if (stream.match(/^((&H)|(&O))?[0-9\\.a-f]/i, false)) {\n            var floatLiteral = false;\n            // Floats\n            if (stream.match(/^\\d*\\.\\d+F?/i)) { floatLiteral = true; }\n            else if (stream.match(/^\\d+\\.\\d*F?/)) { floatLiteral = true; }\n            else if (stream.match(/^\\.\\d+F?/)) { floatLiteral = true; }\n\n            if (floatLiteral) {\n                // Float literals may be \"imaginary\"\n                stream.eat(/J/i);\n                return 'number';\n            }\n            // Integers\n            var intLiteral = false;\n            // Hex\n            if (stream.match(/^&H[0-9a-f]+/i)) { intLiteral = true; }\n            // Octal\n            else if (stream.match(/^&O[0-7]+/i)) { intLiteral = true; }\n            // Decimal\n            else if (stream.match(/^[1-9]\\d*F?/)) {\n                // Decimal literals may be \"imaginary\"\n                stream.eat(/J/i);\n                // TODO - Can you have imaginary longs?\n                intLiteral = true;\n            }\n            // Zero by itself with no other piece of number.\n            else if (stream.match(/^0(?![\\dx])/i)) { intLiteral = true; }\n            if (intLiteral) {\n                // Integer literals may be \"long\"\n                stream.eat(/L/i);\n                return 'number';\n            }\n        }\n\n        // Handle Strings\n        if (stream.match(stringPrefixes)) {\n            state.tokenize = tokenStringFactory(stream.current());\n            return state.tokenize(stream, state);\n        }\n\n        // Handle operators and Delimiters\n        if (stream.match(tripleDelimiters) || stream.match(doubleDelimiters)) {\n            return null;\n        }\n        if (stream.match(doubleOperators)\n            || stream.match(singleOperators)\n            || stream.match(wordOperators)) {\n            return 'operator';\n        }\n        if (stream.match(singleDelimiters)) {\n            return null;\n        }\n        if (stream.match(doOpening)) {\n            indent(stream,state);\n            state.doInCurrentLine = true;\n            return 'keyword';\n        }\n        if (stream.match(opening)) {\n            if (! state.doInCurrentLine)\n              indent(stream,state);\n            else\n              state.doInCurrentLine = false;\n            return 'keyword';\n        }\n        if (stream.match(middle)) {\n            return 'keyword';\n        }\n\n        if (stream.match(doubleClosing)) {\n            dedent(stream,state);\n            dedent(stream,state);\n            return 'keyword';\n        }\n        if (stream.match(closing)) {\n            dedent(stream,state);\n            return 'keyword';\n        }\n\n        if (stream.match(types)) {\n            return 'keyword';\n        }\n\n        if (stream.match(keywords)) {\n            return 'keyword';\n        }\n\n        if (stream.match(identifiers)) {\n            return 'variable';\n        }\n\n        // Handle non-detected items\n        stream.next();\n        return ERRORCLASS;\n    }\n\n    function tokenStringFactory(delimiter) {\n        var singleline = delimiter.length == 1;\n        var OUTCLASS = 'string';\n\n        return function(stream, state) {\n            while (!stream.eol()) {\n                stream.eatWhile(/[^'\"]/);\n                if (stream.match(delimiter)) {\n                    state.tokenize = tokenBase;\n                    return OUTCLASS;\n                } else {\n                    stream.eat(/['\"]/);\n                }\n            }\n            if (singleline) {\n                if (parserConf.singleLineStringErrors) {\n                    return ERRORCLASS;\n                } else {\n                    state.tokenize = tokenBase;\n                }\n            }\n            return OUTCLASS;\n        };\n    }\n\n\n    function tokenLexer(stream, state) {\n        var style = state.tokenize(stream, state);\n        var current = stream.current();\n\n        // Handle '.' connected identifiers\n        if (current === '.') {\n            style = state.tokenize(stream, state);\n            current = stream.current();\n            if (style === 'variable') {\n                return 'variable';\n            } else {\n                return ERRORCLASS;\n            }\n        }\n\n\n        var delimiter_index = '[({'.indexOf(current);\n        if (delimiter_index !== -1) {\n            indent(stream, state );\n        }\n        if (indentInfo === 'dedent') {\n            if (dedent(stream, state)) {\n                return ERRORCLASS;\n            }\n        }\n        delimiter_index = '])}'.indexOf(current);\n        if (delimiter_index !== -1) {\n            if (dedent(stream, state)) {\n                return ERRORCLASS;\n            }\n        }\n\n        return style;\n    }\n\n    var external = {\n        electricChars:\"dDpPtTfFeE \",\n        startState: function() {\n            return {\n              tokenize: tokenBase,\n              lastToken: null,\n              currentIndent: 0,\n              nextLineIndent: 0,\n              doInCurrentLine: false\n\n\n          };\n        },\n\n        token: function(stream, state) {\n            if (stream.sol()) {\n              state.currentIndent += state.nextLineIndent;\n              state.nextLineIndent = 0;\n              state.doInCurrentLine = 0;\n            }\n            var style = tokenLexer(stream, state);\n\n            state.lastToken = {style:style, content: stream.current()};\n\n\n\n            return style;\n        },\n\n        indent: function(state, textAfter) {\n            var trueText = textAfter.replace(/^\\s+|\\s+$/g, '') ;\n            if (trueText.match(closing) || trueText.match(doubleClosing) || trueText.match(middle)) return conf.indentUnit*(state.currentIndent-1);\n            if(state.currentIndent < 0) return 0;\n            return state.currentIndent * conf.indentUnit;\n        }\n\n    };\n    return external;\n});\n\nCodeMirror.defineMIME(\"text/x-vb\", \"vb\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/vbscript/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: VBScript mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"vbscript.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">VBScript</a>\n  </ul>\n</div>\n\n<article>\n<h2>VBScript mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n' Pete Guhl\n' 03-04-2012\n'\n' Basic VBScript support for codemirror2\n\nConst ForReading = 1, ForWriting = 2, ForAppending = 8\n\nCall Sub020_PostBroadcastToUrbanAirship(strUserName, strPassword, intTransmitID, strResponse)\n\nIf Not IsNull(strResponse) AND Len(strResponse) = 0 Then\n\tboolTransmitOkYN = False\nElse\n\t' WScript.Echo \"Oh Happy Day! Oh Happy DAY!\"\n\tboolTransmitOkYN = True\nEnd If\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        indentUnit: 4\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/vbscript</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/vbscript/vbscript.js",
    "content": "/*\nFor extra ASP classic objects, initialize CodeMirror instance with this option:\n    isASP: true\n\nE.G.:\n    var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        isASP: true\n      });\n*/\nCodeMirror.defineMode(\"vbscript\", function(conf, parserConf) {\n    var ERRORCLASS = 'error';\n\n    function wordRegexp(words) {\n        return new RegExp(\"^((\" + words.join(\")|(\") + \"))\\\\b\", \"i\");\n    }\n\n    var singleOperators = new RegExp(\"^[\\\\+\\\\-\\\\*/&\\\\\\\\\\\\^<>=]\");\n    var doubleOperators = new RegExp(\"^((<>)|(<=)|(>=))\");\n    var singleDelimiters = new RegExp('^[\\\\.,]');\n    var brakets = new RegExp('^[\\\\(\\\\)]');\n    var identifiers = new RegExp(\"^[A-Za-z][_A-Za-z0-9]*\");\n\n    var openingKeywords = ['class','sub','select','while','if','function', 'property', 'with', 'for'];\n    var middleKeywords = ['else','elseif','case'];\n    var endKeywords = ['next','loop','wend'];\n\n    var wordOperators = wordRegexp(['and', 'or', 'not', 'xor', 'is', 'mod', 'eqv', 'imp']);\n    var commonkeywords = ['dim', 'redim', 'then',  'until', 'randomize',\n                          'byval','byref','new','property', 'exit', 'in',\n                          'const','private', 'public',\n                          'get','set','let', 'stop', 'on error resume next', 'on error goto 0', 'option explicit', 'call', 'me'];\n\n    //This list was from: http://msdn.microsoft.com/en-us/library/f8tbc79x(v=vs.84).aspx\n    var atomWords = ['true', 'false', 'nothing', 'empty', 'null'];\n    //This list was from: http://msdn.microsoft.com/en-us/library/3ca8tfek(v=vs.84).aspx\n    var builtinFuncsWords = ['abs', 'array', 'asc', 'atn', 'cbool', 'cbyte', 'ccur', 'cdate', 'cdbl', 'chr', 'cint', 'clng', 'cos', 'csng', 'cstr', 'date', 'dateadd', 'datediff', 'datepart',\n                        'dateserial', 'datevalue', 'day', 'escape', 'eval', 'execute', 'exp', 'filter', 'formatcurrency', 'formatdatetime', 'formatnumber', 'formatpercent', 'getlocale', 'getobject',\n                        'getref', 'hex', 'hour', 'inputbox', 'instr', 'instrrev', 'int', 'fix', 'isarray', 'isdate', 'isempty', 'isnull', 'isnumeric', 'isobject', 'join', 'lbound', 'lcase', 'left',\n                        'len', 'loadpicture', 'log', 'ltrim', 'rtrim', 'trim', 'maths', 'mid', 'minute', 'month', 'monthname', 'msgbox', 'now', 'oct', 'replace', 'rgb', 'right', 'rnd', 'round',\n                        'scriptengine', 'scriptenginebuildversion', 'scriptenginemajorversion', 'scriptengineminorversion', 'second', 'setlocale', 'sgn', 'sin', 'space', 'split', 'sqr', 'strcomp',\n                        'string', 'strreverse', 'tan', 'time', 'timer', 'timeserial', 'timevalue', 'typename', 'ubound', 'ucase', 'unescape', 'vartype', 'weekday', 'weekdayname', 'year'];\n\n    //This list was from: http://msdn.microsoft.com/en-us/library/ydz4cfk3(v=vs.84).aspx\n    var builtinConsts = ['vbBlack', 'vbRed', 'vbGreen', 'vbYellow', 'vbBlue', 'vbMagenta', 'vbCyan', 'vbWhite', 'vbBinaryCompare', 'vbTextCompare',\n                         'vbSunday', 'vbMonday', 'vbTuesday', 'vbWednesday', 'vbThursday', 'vbFriday', 'vbSaturday', 'vbUseSystemDayOfWeek', 'vbFirstJan1', 'vbFirstFourDays', 'vbFirstFullWeek',\n                         'vbGeneralDate', 'vbLongDate', 'vbShortDate', 'vbLongTime', 'vbShortTime', 'vbObjectError',\n                         'vbOKOnly', 'vbOKCancel', 'vbAbortRetryIgnore', 'vbYesNoCancel', 'vbYesNo', 'vbRetryCancel', 'vbCritical', 'vbQuestion', 'vbExclamation', 'vbInformation', 'vbDefaultButton1', 'vbDefaultButton2',\n                         'vbDefaultButton3', 'vbDefaultButton4', 'vbApplicationModal', 'vbSystemModal', 'vbOK', 'vbCancel', 'vbAbort', 'vbRetry', 'vbIgnore', 'vbYes', 'vbNo',\n                         'vbCr', 'VbCrLf', 'vbFormFeed', 'vbLf', 'vbNewLine', 'vbNullChar', 'vbNullString', 'vbTab', 'vbVerticalTab', 'vbUseDefault', 'vbTrue', 'vbFalse',\n                         'vbEmpty', 'vbNull', 'vbInteger', 'vbLong', 'vbSingle', 'vbDouble', 'vbCurrency', 'vbDate', 'vbString', 'vbObject', 'vbError', 'vbBoolean', 'vbVariant', 'vbDataObject', 'vbDecimal', 'vbByte', 'vbArray'];\n    //This list was from: http://msdn.microsoft.com/en-us/library/hkc375ea(v=vs.84).aspx\n    var builtinObjsWords = ['WScript', 'err', 'debug', 'RegExp'];\n    var knownProperties = ['description', 'firstindex', 'global', 'helpcontext', 'helpfile', 'ignorecase', 'length', 'number', 'pattern', 'source', 'value', 'count'];\n    var knownMethods = ['clear', 'execute', 'raise', 'replace', 'test', 'write', 'writeline', 'close', 'open', 'state', 'eof', 'update', 'addnew', 'end', 'createobject', 'quit'];\n\n    var aspBuiltinObjsWords = ['server', 'response', 'request', 'session', 'application'];\n    var aspKnownProperties = ['buffer', 'cachecontrol', 'charset', 'contenttype', 'expires', 'expiresabsolute', 'isclientconnected', 'pics', 'status', //response\n                              'clientcertificate', 'cookies', 'form', 'querystring', 'servervariables', 'totalbytes', //request\n                              'contents', 'staticobjects', //application\n                              'codepage', 'lcid', 'sessionid', 'timeout', //session\n                              'scripttimeout']; //server\n    var aspKnownMethods = ['addheader', 'appendtolog', 'binarywrite', 'end', 'flush', 'redirect', //response\n                           'binaryread', //request\n                           'remove', 'removeall', 'lock', 'unlock', //application\n                           'abandon', //session\n                           'getlasterror', 'htmlencode', 'mappath', 'transfer', 'urlencode']; //server\n\n    var knownWords = knownMethods.concat(knownProperties);\n\n    builtinObjsWords = builtinObjsWords.concat(builtinConsts);\n\n    if (conf.isASP){\n        builtinObjsWords = builtinObjsWords.concat(aspBuiltinObjsWords);\n        knownWords = knownWords.concat(aspKnownMethods, aspKnownProperties);\n    };\n\n    var keywords = wordRegexp(commonkeywords);\n    var atoms = wordRegexp(atomWords);\n    var builtinFuncs = wordRegexp(builtinFuncsWords);\n    var builtinObjs = wordRegexp(builtinObjsWords);\n    var known = wordRegexp(knownWords);\n    var stringPrefixes = '\"';\n\n    var opening = wordRegexp(openingKeywords);\n    var middle = wordRegexp(middleKeywords);\n    var closing = wordRegexp(endKeywords);\n    var doubleClosing = wordRegexp(['end']);\n    var doOpening = wordRegexp(['do']);\n    var noIndentWords = wordRegexp(['on error resume next', 'exit']);\n    var comment = wordRegexp(['rem']);\n\n\n    function indent(_stream, state) {\n      state.currentIndent++;\n    }\n\n    function dedent(_stream, state) {\n      state.currentIndent--;\n    }\n    // tokenizers\n    function tokenBase(stream, state) {\n        if (stream.eatSpace()) {\n            return 'space';\n            //return null;\n        }\n\n        var ch = stream.peek();\n\n        // Handle Comments\n        if (ch === \"'\") {\n            stream.skipToEnd();\n            return 'comment';\n        }\n        if (stream.match(comment)){\n            stream.skipToEnd();\n            return 'comment';\n        }\n\n\n        // Handle Number Literals\n        if (stream.match(/^((&H)|(&O))?[0-9\\.]/i, false) && !stream.match(/^((&H)|(&O))?[0-9\\.]+[a-z_]/i, false)) {\n            var floatLiteral = false;\n            // Floats\n            if (stream.match(/^\\d*\\.\\d+/i)) { floatLiteral = true; }\n            else if (stream.match(/^\\d+\\.\\d*/)) { floatLiteral = true; }\n            else if (stream.match(/^\\.\\d+/)) { floatLiteral = true; }\n\n            if (floatLiteral) {\n                // Float literals may be \"imaginary\"\n                stream.eat(/J/i);\n                return 'number';\n            }\n            // Integers\n            var intLiteral = false;\n            // Hex\n            if (stream.match(/^&H[0-9a-f]+/i)) { intLiteral = true; }\n            // Octal\n            else if (stream.match(/^&O[0-7]+/i)) { intLiteral = true; }\n            // Decimal\n            else if (stream.match(/^[1-9]\\d*F?/)) {\n                // Decimal literals may be \"imaginary\"\n                stream.eat(/J/i);\n                // TODO - Can you have imaginary longs?\n                intLiteral = true;\n            }\n            // Zero by itself with no other piece of number.\n            else if (stream.match(/^0(?![\\dx])/i)) { intLiteral = true; }\n            if (intLiteral) {\n                // Integer literals may be \"long\"\n                stream.eat(/L/i);\n                return 'number';\n            }\n        }\n\n        // Handle Strings\n        if (stream.match(stringPrefixes)) {\n            state.tokenize = tokenStringFactory(stream.current());\n            return state.tokenize(stream, state);\n        }\n\n        // Handle operators and Delimiters\n        if (stream.match(doubleOperators)\n            || stream.match(singleOperators)\n            || stream.match(wordOperators)) {\n            return 'operator';\n        }\n        if (stream.match(singleDelimiters)) {\n            return null;\n        }\n\n        if (stream.match(brakets)) {\n            return \"bracket\";\n        }\n\n        if (stream.match(noIndentWords)) {\n            state.doInCurrentLine = true;\n\n            return 'keyword';\n        }\n\n        if (stream.match(doOpening)) {\n            indent(stream,state);\n            state.doInCurrentLine = true;\n\n            return 'keyword';\n        }\n        if (stream.match(opening)) {\n            if (! state.doInCurrentLine)\n              indent(stream,state);\n            else\n              state.doInCurrentLine = false;\n\n            return 'keyword';\n        }\n        if (stream.match(middle)) {\n            return 'keyword';\n        }\n\n\n        if (stream.match(doubleClosing)) {\n            dedent(stream,state);\n            dedent(stream,state);\n\n            return 'keyword';\n        }\n        if (stream.match(closing)) {\n            if (! state.doInCurrentLine)\n              dedent(stream,state);\n            else\n              state.doInCurrentLine = false;\n\n            return 'keyword';\n        }\n\n        if (stream.match(keywords)) {\n            return 'keyword';\n        }\n\n        if (stream.match(atoms)) {\n            return 'atom';\n        }\n\n        if (stream.match(known)) {\n            return 'variable-2';\n        }\n\n        if (stream.match(builtinFuncs)) {\n            return 'builtin';\n        }\n\n        if (stream.match(builtinObjs)){\n            return 'variable-2';\n        }\n\n        if (stream.match(identifiers)) {\n            return 'variable';\n        }\n\n        // Handle non-detected items\n        stream.next();\n        return ERRORCLASS;\n    }\n\n    function tokenStringFactory(delimiter) {\n        var singleline = delimiter.length == 1;\n        var OUTCLASS = 'string';\n\n        return function(stream, state) {\n            while (!stream.eol()) {\n                stream.eatWhile(/[^'\"]/);\n                if (stream.match(delimiter)) {\n                    state.tokenize = tokenBase;\n                    return OUTCLASS;\n                } else {\n                    stream.eat(/['\"]/);\n                }\n            }\n            if (singleline) {\n                if (parserConf.singleLineStringErrors) {\n                    return ERRORCLASS;\n                } else {\n                    state.tokenize = tokenBase;\n                }\n            }\n            return OUTCLASS;\n        };\n    }\n\n\n    function tokenLexer(stream, state) {\n        var style = state.tokenize(stream, state);\n        var current = stream.current();\n\n        // Handle '.' connected identifiers\n        if (current === '.') {\n            style = state.tokenize(stream, state);\n\n            current = stream.current();\n            if (style.substr(0, 8) === 'variable' || style==='builtin' || style==='keyword'){//|| knownWords.indexOf(current.substring(1)) > -1) {\n                if (style === 'builtin' || style === 'keyword') style='variable';\n                if (knownWords.indexOf(current.substr(1)) > -1) style='variable-2';\n\n                return style;\n            } else {\n                return ERRORCLASS;\n            }\n        }\n\n        return style;\n    }\n\n    var external = {\n        electricChars:\"dDpPtTfFeE \",\n        startState: function() {\n            return {\n              tokenize: tokenBase,\n              lastToken: null,\n              currentIndent: 0,\n              nextLineIndent: 0,\n              doInCurrentLine: false,\n              ignoreKeyword: false\n\n\n          };\n        },\n\n        token: function(stream, state) {\n            if (stream.sol()) {\n              state.currentIndent += state.nextLineIndent;\n              state.nextLineIndent = 0;\n              state.doInCurrentLine = 0;\n            }\n            var style = tokenLexer(stream, state);\n\n            state.lastToken = {style:style, content: stream.current()};\n\n            if (style==='space') style=null;\n\n            return style;\n        },\n\n        indent: function(state, textAfter) {\n            var trueText = textAfter.replace(/^\\s+|\\s+$/g, '') ;\n            if (trueText.match(closing) || trueText.match(doubleClosing) || trueText.match(middle)) return conf.indentUnit*(state.currentIndent-1);\n            if(state.currentIndent < 0) return 0;\n            return state.currentIndent * conf.indentUnit;\n        }\n\n    };\n    return external;\n});\n\nCodeMirror.defineMIME(\"text/vbscript\", \"vbscript\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/velocity/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Velocity mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/night.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"velocity.js\"></script>\n<style>.CodeMirror {border: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Velocity</a>\n  </ul>\n</div>\n\n<article>\n<h2>Velocity mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n## Velocity Code Demo\n#*\n   based on PL/SQL mode by Peter Raganitsch, adapted to Velocity by Steve O'Hara ( http://www.pivotal-solutions.co.uk )\n   August 2011\n*#\n\n#*\n   This is a multiline comment.\n   This is the second line\n*#\n\n#[[ hello steve\n   This has invalid syntax that would normally need \"poor man's escaping\" like:\n\n   #define()\n\n   ${blah\n]]#\n\n#include( \"disclaimer.txt\" \"opinion.txt\" )\n#include( $foo $bar )\n\n#parse( \"lecorbusier.vm\" )\n#parse( $foo )\n\n#evaluate( 'string with VTL #if(true)will be displayed#end' )\n\n#define( $hello ) Hello $who #end #set( $who = \"World!\") $hello ## displays Hello World!\n\n#foreach( $customer in $customerList )\n\n    $foreach.count $customer.Name\n\n    #if( $foo == ${bar})\n        it's true!\n        #break\n    #{else}\n        it's not!\n        #stop\n    #end\n\n    #if ($foreach.parent.hasNext)\n        $velocityCount\n    #end\n#end\n\n$someObject.getValues(\"this is a string split\n        across lines\")\n\n$someObject(\"This plus $something in the middle\").method(7567).property\n\n#macro( tablerows $color $somelist )\n    #foreach( $something in $somelist )\n        <tr><td bgcolor=$color>$something</td></tr>\n        <tr><td bgcolor=$color>$bodyContent</td></tr>\n    #end\n#end\n\n#tablerows(\"red\" [\"dadsdf\",\"dsa\"])\n#@tablerows(\"red\" [\"dadsdf\",\"dsa\"]) some body content #end\n\n   Variable reference: #set( $monkey = $bill )\n   String literal: #set( $monkey.Friend = 'monica' )\n   Property reference: #set( $monkey.Blame = $whitehouse.Leak )\n   Method reference: #set( $monkey.Plan = $spindoctor.weave($web) )\n   Number literal: #set( $monkey.Number = 123 )\n   Range operator: #set( $monkey.Numbers = [1..3] )\n   Object list: #set( $monkey.Say = [\"Not\", $my, \"fault\"] )\n   Object map: #set( $monkey.Map = {\"banana\" : \"good\", \"roast beef\" : \"bad\"})\n\nThe RHS can also be a simple arithmetic expression, such as:\nAddition: #set( $value = $foo + 1 )\n   Subtraction: #set( $value = $bar - 1 )\n   Multiplication: #set( $value = $foo * $bar )\n   Division: #set( $value = $foo / $bar )\n   Remainder: #set( $value = $foo % $bar )\n\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        tabMode: \"indent\",\n        theme: \"night\",\n        lineNumbers: true,\n        indentUnit: 4,\n        mode: \"text/velocity\"\n      });\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/velocity</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/velocity/velocity.js",
    "content": "CodeMirror.defineMode(\"velocity\", function() {\n    function parseWords(str) {\n        var obj = {}, words = str.split(\" \");\n        for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n        return obj;\n    }\n\n    var keywords = parseWords(\"#end #else #break #stop #[[ #]] \" +\n                              \"#{end} #{else} #{break} #{stop}\");\n    var functions = parseWords(\"#if #elseif #foreach #set #include #parse #macro #define #evaluate \" +\n                               \"#{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}\");\n    var specials = parseWords(\"$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent\");\n    var isOperatorChar = /[+\\-*&%=<>!?:\\/|]/;\n\n    function chain(stream, state, f) {\n        state.tokenize = f;\n        return f(stream, state);\n    }\n    function tokenBase(stream, state) {\n        var beforeParams = state.beforeParams;\n        state.beforeParams = false;\n        var ch = stream.next();\n        // start of unparsed string?\n        if ((ch == \"'\") && state.inParams) {\n            state.lastTokenWasBuiltin = false;\n            return chain(stream, state, tokenString(ch));\n        }\n        // start of parsed string?\n        else if ((ch == '\"')) {\n            state.lastTokenWasBuiltin = false;\n            if (state.inString) {\n                state.inString = false;\n                return \"string\";\n            }\n            else if (state.inParams)\n                return chain(stream, state, tokenString(ch));\n        }\n        // is it one of the special signs []{}().,;? Seperator?\n        else if (/[\\[\\]{}\\(\\),;\\.]/.test(ch)) {\n            if (ch == \"(\" && beforeParams)\n                state.inParams = true;\n            else if (ch == \")\") {\n                state.inParams = false;\n                state.lastTokenWasBuiltin = true;\n            }\n            return null;\n        }\n        // start of a number value?\n        else if (/\\d/.test(ch)) {\n            state.lastTokenWasBuiltin = false;\n            stream.eatWhile(/[\\w\\.]/);\n            return \"number\";\n        }\n        // multi line comment?\n        else if (ch == \"#\" && stream.eat(\"*\")) {\n            state.lastTokenWasBuiltin = false;\n            return chain(stream, state, tokenComment);\n        }\n        // unparsed content?\n        else if (ch == \"#\" && stream.match(/ *\\[ *\\[/)) {\n            state.lastTokenWasBuiltin = false;\n            return chain(stream, state, tokenUnparsed);\n        }\n        // single line comment?\n        else if (ch == \"#\" && stream.eat(\"#\")) {\n            state.lastTokenWasBuiltin = false;\n            stream.skipToEnd();\n            return \"comment\";\n        }\n        // variable?\n        else if (ch == \"$\") {\n            stream.eatWhile(/[\\w\\d\\$_\\.{}]/);\n            // is it one of the specials?\n            if (specials && specials.propertyIsEnumerable(stream.current())) {\n                return \"keyword\";\n            }\n            else {\n                state.lastTokenWasBuiltin = true;\n                state.beforeParams = true;\n                return \"builtin\";\n            }\n        }\n        // is it a operator?\n        else if (isOperatorChar.test(ch)) {\n            state.lastTokenWasBuiltin = false;\n            stream.eatWhile(isOperatorChar);\n            return \"operator\";\n        }\n        else {\n            // get the whole word\n            stream.eatWhile(/[\\w\\$_{}@]/);\n            var word = stream.current();\n            // is it one of the listed keywords?\n            if (keywords && keywords.propertyIsEnumerable(word))\n                return \"keyword\";\n            // is it one of the listed functions?\n            if (functions && functions.propertyIsEnumerable(word) ||\n                    (stream.current().match(/^#@?[a-z0-9_]+ *$/i) && stream.peek()==\"(\") &&\n                     !(functions && functions.propertyIsEnumerable(word.toLowerCase()))) {\n                state.beforeParams = true;\n                state.lastTokenWasBuiltin = false;\n                return \"keyword\";\n            }\n            if (state.inString) {\n                state.lastTokenWasBuiltin = false;\n                return \"string\";\n            }\n            if (stream.pos > word.length && stream.string.charAt(stream.pos-word.length-1)==\".\" && state.lastTokenWasBuiltin)\n                return \"builtin\";\n            // default: just a \"word\"\n            state.lastTokenWasBuiltin = false;\n            return null;\n        }\n    }\n\n    function tokenString(quote) {\n        return function(stream, state) {\n            var escaped = false, next, end = false;\n            while ((next = stream.next()) != null) {\n                if ((next == quote) && !escaped) {\n                    end = true;\n                    break;\n                }\n                if (quote=='\"' && stream.peek() == '$' && !escaped) {\n                    state.inString = true;\n                    end = true;\n                    break;\n                }\n                escaped = !escaped && next == \"\\\\\";\n            }\n            if (end) state.tokenize = tokenBase;\n            return \"string\";\n        };\n    }\n\n    function tokenComment(stream, state) {\n        var maybeEnd = false, ch;\n        while (ch = stream.next()) {\n            if (ch == \"#\" && maybeEnd) {\n                state.tokenize = tokenBase;\n                break;\n            }\n            maybeEnd = (ch == \"*\");\n        }\n        return \"comment\";\n    }\n\n    function tokenUnparsed(stream, state) {\n        var maybeEnd = 0, ch;\n        while (ch = stream.next()) {\n            if (ch == \"#\" && maybeEnd == 2) {\n                state.tokenize = tokenBase;\n                break;\n            }\n            if (ch == \"]\")\n                maybeEnd++;\n            else if (ch != \" \")\n                maybeEnd = 0;\n        }\n        return \"meta\";\n    }\n    // Interface\n\n    return {\n        startState: function() {\n            return {\n                tokenize: tokenBase,\n                beforeParams: false,\n                inParams: false,\n                inString: false,\n                lastTokenWasBuiltin: false\n            };\n        },\n\n        token: function(stream, state) {\n            if (stream.eatSpace()) return null;\n            return state.tokenize(stream, state);\n        },\n        blockCommentStart: \"#*\",\n        blockCommentEnd: \"*#\",\n        lineComment: \"##\",\n        fold: \"velocity\"\n    };\n});\n\nCodeMirror.defineMIME(\"text/velocity\", \"velocity\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/verilog/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Verilog mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"verilog.js\"></script>\n<style>.CodeMirror {border: 2px inset #dee;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Verilog</a>\n  </ul>\n</div>\n\n<article>\n<h2>Verilog mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n/* Verilog demo code */\n\nmodule butterfly\n  #(\n    parameter WIDTH = 32,\n    parameter MWIDTH = 1\n    )\n   (\n    input wire                     clk,\n    input wire                     rst_n,\n    // m_in contains data that passes through this block with no change.\n    input wire [MWIDTH-1:0]        m_in,\n    // The twiddle factor.\n    input wire signed [WIDTH-1:0]  w,\n    // XA\n    input wire signed [WIDTH-1:0]  xa,\n    // XB\n    input wire signed [WIDTH-1:0]  xb,\n    // Set to 1 when new data is present on inputs.\n    input wire                     x_nd,\n    // delayed version of m_in.\n    output reg [MWIDTH-1:0]        m_out,\n    // YA = XA + W*XB\n    // YB = XA - W*XB\n    output wire signed [WIDTH-1:0] ya,\n    output wire signed [WIDTH-1:0] yb,\n    output reg                     y_nd,\n    output reg                     error\n    );\n\n   // Set wire to the real and imag parts for convenience.\n   wire signed [WIDTH/2-1:0]        xa_re;\n   wire signed [WIDTH/2-1:0]        xa_im;\n   assign xa_re = xa[WIDTH-1:WIDTH/2];\n   assign xa_im = xa[WIDTH/2-1:0];\n   wire signed [WIDTH/2-1: 0]       ya_re;\n   wire signed [WIDTH/2-1: 0]       ya_im;\n   assign ya = {ya_re, ya_im};\n   wire signed [WIDTH/2-1: 0]       yb_re;\n   wire signed [WIDTH/2-1: 0]       yb_im;\n   assign yb = {yb_re, yb_im};\n\n   // Delayed stuff.\n   reg signed [WIDTH/2-1:0]         xa_re_z;\n   reg signed [WIDTH/2-1:0]         xa_im_z;\n   // Output of multiplier\n   wire signed [WIDTH-1:0]          xbw;\n   wire signed [WIDTH/2-1:0]        xbw_re;\n   wire signed [WIDTH/2-1:0]        xbw_im;\n   assign xbw_re = xbw[WIDTH-1:WIDTH/2];\n   assign xbw_im = xbw[WIDTH/2-1:0];\n   // Do summing\n   // I don't think we should get overflow here because of the\n   // size of the twiddle factors.\n   // If we do testing should catch it.\n   assign ya_re = xa_re_z + xbw_re;\n   assign ya_im = xa_im_z + xbw_im;\n   assign yb_re = xa_re_z - xbw_re;\n   assign yb_im = xa_im_z - xbw_im;\n   \n   // Create the multiply module.\n   multiply_complex #(WIDTH) multiply_complex_0\n     (.clk(clk),\n      .rst_n(rst_n),\n      .x(xb),\n      .y(w),\n      .z(xbw)\n      );\n\n  always @ (posedge clk)\n    begin\n       if (!rst_n)\n         begin\n            y_nd <= 1'b0;\n            error <= 1'b0;\n         end\n       else\n         begin\n            // Set delay for x_nd_old and m.\n            y_nd <= x_nd;\n            m_out <= m_in;\n            if (x_nd)\n              begin\n                 xa_re_z <= xa_re/2;\n                 xa_im_z <= xa_im/2;\n              end\n         end\n    end\n   \nendmodule\n</textarea></form>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        mode: \"text/x-verilog\"\n      });\n    </script>\n\n    <p>Simple mode that tries to handle Verilog-like languages as well as it\n    can. Takes one configuration parameters: <code>keywords</code>, an\n    object whose property names are the keywords in the language.</p>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-verilog</code> (Verilog code).</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/verilog/verilog.js",
    "content": "CodeMirror.defineMode(\"verilog\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit,\n      keywords = parserConfig.keywords || {},\n      blockKeywords = parserConfig.blockKeywords || {},\n      atoms = parserConfig.atoms || {},\n      hooks = parserConfig.hooks || {},\n      multiLineStrings = parserConfig.multiLineStrings;\n  var isOperatorChar = /[&|~><!\\)\\(*#%@+\\/=?\\:;}{,\\.\\^\\-\\[\\]]/;\n\n  var curPunc;\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (hooks[ch]) {\n      var result = hooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == '\"') {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    }\n    if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      curPunc = ch;\n      return null;\n    }\n    if (/[\\d']/.test(ch)) {\n      stream.eatWhile(/[\\w\\.']/);\n      return \"number\";\n    }\n    if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      }\n      if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return \"comment\";\n      }\n    }\n    if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return \"operator\";\n    }\n    stream.eatWhile(/[\\w\\$_]/);\n    var cur = stream.current();\n    if (keywords.propertyIsEnumerable(cur)) {\n      if (blockKeywords.propertyIsEnumerable(cur)) curPunc = \"newstatement\";\n      return \"keyword\";\n    }\n    if (atoms.propertyIsEnumerable(cur)) return \"atom\";\n    return \"variable\";\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next, end = false;\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) {end = true; break;}\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (end || !(escaped || multiLineStrings))\n        state.tokenize = tokenBase;\n      return \"string\";\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return \"comment\";\n  }\n\n  function Context(indented, column, type, align, prev) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.align = align;\n    this.prev = prev;\n  }\n  function pushContext(state, col, type) {\n    return state.context = new Context(state.indented, col, type, null, state.context);\n  }\n  function popContext(state) {\n    var t = state.context.type;\n    if (t == \")\" || t == \"]\" || t == \"}\")\n      state.indented = state.context.indented;\n    return state.context = state.context.prev;\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      return {\n        tokenize: null,\n        context: new Context((basecolumn || 0) - indentUnit, 0, \"top\", false),\n        indented: 0,\n        startOfLine: true\n      };\n    },\n\n    token: function(stream, state) {\n      var ctx = state.context;\n      if (stream.sol()) {\n        if (ctx.align == null) ctx.align = false;\n        state.indented = stream.indentation();\n        state.startOfLine = true;\n      }\n      if (stream.eatSpace()) return null;\n      curPunc = null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style == \"comment\" || style == \"meta\") return style;\n      if (ctx.align == null) ctx.align = true;\n\n      if ((curPunc == \";\" || curPunc == \":\") && ctx.type == \"statement\") popContext(state);\n      else if (curPunc == \"{\") pushContext(state, stream.column(), \"}\");\n      else if (curPunc == \"[\") pushContext(state, stream.column(), \"]\");\n      else if (curPunc == \"(\") pushContext(state, stream.column(), \")\");\n      else if (curPunc == \"}\") {\n        while (ctx.type == \"statement\") ctx = popContext(state);\n        if (ctx.type == \"}\") ctx = popContext(state);\n        while (ctx.type == \"statement\") ctx = popContext(state);\n      }\n      else if (curPunc == ctx.type) popContext(state);\n      else if (ctx.type == \"}\" || ctx.type == \"top\" || (ctx.type == \"statement\" && curPunc == \"newstatement\"))\n        pushContext(state, stream.column(), \"statement\");\n      state.startOfLine = false;\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize != tokenBase && state.tokenize != null) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), ctx = state.context, closing = firstChar == ctx.type;\n      if (ctx.type == \"statement\") return ctx.indented + (firstChar == \"{\" ? 0 : indentUnit);\n      else if (ctx.align) return ctx.column + (closing ? 0 : 1);\n      else return ctx.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricChars: \"{}\"\n  };\n});\n\n(function() {\n  function words(str) {\n    var obj = {}, words = str.split(\" \");\n    for (var i = 0; i < words.length; ++i) obj[words[i]] = true;\n    return obj;\n  }\n\n  var verilogKeywords = \"always and assign automatic begin buf bufif0 bufif1 case casex casez cell cmos config \" +\n    \"deassign default defparam design disable edge else end endcase endconfig endfunction endgenerate endmodule \" +\n    \"endprimitive endspecify endtable endtask event for force forever fork function generate genvar highz0 \" +\n    \"highz1 if ifnone incdir include initial inout input instance integer join large liblist library localparam \" +\n    \"macromodule medium module nand negedge nmos nor noshowcancelled not notif0 notif1 or output parameter pmos \" +\n    \"posedge primitive pull0 pull1 pulldown pullup pulsestyle_onevent pulsestyle_ondetect rcmos real realtime \" +\n    \"reg release repeat rnmos rpmos rtran rtranif0 rtranif1 scalared showcancelled signed small specify specparam \" +\n    \"strong0 strong1 supply0 supply1 table task time tran tranif0 tranif1 tri tri0 tri1 triand trior trireg \" +\n    \"unsigned use vectored wait wand weak0 weak1 while wire wor xnor xor\";\n\n  var verilogBlockKeywords = \"begin bufif0 bufif1 case casex casez config else end endcase endconfig endfunction \" +\n    \"endgenerate endmodule endprimitive endspecify endtable endtask for forever function generate if ifnone \" +\n    \"macromodule module primitive repeat specify table task while\";\n\n  function metaHook(stream) {\n    stream.eatWhile(/[\\w\\$_]/);\n    return \"meta\";\n  }\n\n  CodeMirror.defineMIME(\"text/x-verilog\", {\n    name: \"verilog\",\n    keywords: words(verilogKeywords),\n    blockKeywords: words(verilogBlockKeywords),\n    atoms: words(\"null\"),\n    hooks: {\"`\": metaHook, \"$\": metaHook}\n  });\n}());\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/xml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: XML mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"xml.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">XML</a>\n  </ul>\n</div>\n\n<article>\n<h2>XML mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n&lt;html style=\"color: green\"&gt;\n  &lt;!-- this is a comment --&gt;\n  &lt;head&gt;\n    &lt;title&gt;HTML Example&lt;/title&gt;\n  &lt;/head&gt;\n  &lt;body&gt;\n    The indentation tries to be &lt;em&gt;somewhat &amp;quot;do what\n    I mean&amp;quot;&lt;/em&gt;... but might not match your style.\n  &lt;/body&gt;\n&lt;/html&gt;\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        mode: {name: \"xml\", alignCDATA: true},\n        lineNumbers: true\n      });\n    </script>\n    <p>The XML mode supports two configuration parameters:</p>\n    <dl>\n      <dt><code>htmlMode (boolean)</code></dt>\n      <dd>This switches the mode to parse HTML instead of XML. This\n      means attributes do not have to be quoted, and some elements\n      (such as <code>br</code>) do not require a closing tag.</dd>\n      <dt><code>alignCDATA (boolean)</code></dt>\n      <dd>Setting this to true will force the opening tag of CDATA\n      blocks to not be indented.</dd>\n    </dl>\n\n    <p><strong>MIME types defined:</strong> <code>application/xml</code>, <code>text/html</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/xml/xml.js",
    "content": "CodeMirror.defineMode(\"xml\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n  var multilineTagIndentFactor = parserConfig.multilineTagIndentFactor || 1;\n  var multilineTagIndentPastTag = parserConfig.multilineTagIndentPastTag || true;\n\n  var Kludges = parserConfig.htmlMode ? {\n    autoSelfClosers: {'area': true, 'base': true, 'br': true, 'col': true, 'command': true,\n                      'embed': true, 'frame': true, 'hr': true, 'img': true, 'input': true,\n                      'keygen': true, 'link': true, 'meta': true, 'param': true, 'source': true,\n                      'track': true, 'wbr': true},\n    implicitlyClosed: {'dd': true, 'li': true, 'optgroup': true, 'option': true, 'p': true,\n                       'rp': true, 'rt': true, 'tbody': true, 'td': true, 'tfoot': true,\n                       'th': true, 'tr': true},\n    contextGrabbers: {\n      'dd': {'dd': true, 'dt': true},\n      'dt': {'dd': true, 'dt': true},\n      'li': {'li': true},\n      'option': {'option': true, 'optgroup': true},\n      'optgroup': {'optgroup': true},\n      'p': {'address': true, 'article': true, 'aside': true, 'blockquote': true, 'dir': true,\n            'div': true, 'dl': true, 'fieldset': true, 'footer': true, 'form': true,\n            'h1': true, 'h2': true, 'h3': true, 'h4': true, 'h5': true, 'h6': true,\n            'header': true, 'hgroup': true, 'hr': true, 'menu': true, 'nav': true, 'ol': true,\n            'p': true, 'pre': true, 'section': true, 'table': true, 'ul': true},\n      'rp': {'rp': true, 'rt': true},\n      'rt': {'rp': true, 'rt': true},\n      'tbody': {'tbody': true, 'tfoot': true},\n      'td': {'td': true, 'th': true},\n      'tfoot': {'tbody': true},\n      'th': {'td': true, 'th': true},\n      'thead': {'tbody': true, 'tfoot': true},\n      'tr': {'tr': true}\n    },\n    doNotIndent: {\"pre\": true},\n    allowUnquoted: true,\n    allowMissing: true\n  } : {\n    autoSelfClosers: {},\n    implicitlyClosed: {},\n    contextGrabbers: {},\n    doNotIndent: {},\n    allowUnquoted: false,\n    allowMissing: false\n  };\n  var alignCDATA = parserConfig.alignCDATA;\n\n  // Return variables for tokenizers\n  var tagName, type;\n\n  function inText(stream, state) {\n    function chain(parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    }\n\n    var ch = stream.next();\n    if (ch == \"<\") {\n      if (stream.eat(\"!\")) {\n        if (stream.eat(\"[\")) {\n          if (stream.match(\"CDATA[\")) return chain(inBlock(\"atom\", \"]]>\"));\n          else return null;\n        } else if (stream.match(\"--\")) {\n          return chain(inBlock(\"comment\", \"-->\"));\n        } else if (stream.match(\"DOCTYPE\", true, true)) {\n          stream.eatWhile(/[\\w\\._\\-]/);\n          return chain(doctype(1));\n        } else {\n          return null;\n        }\n      } else if (stream.eat(\"?\")) {\n        stream.eatWhile(/[\\w\\._\\-]/);\n        state.tokenize = inBlock(\"meta\", \"?>\");\n        return \"meta\";\n      } else {\n        var isClose = stream.eat(\"/\");\n        tagName = \"\";\n        var c;\n        while ((c = stream.eat(/[^\\s\\u00a0=<>\\\"\\'\\/?]/))) tagName += c;\n        if (!tagName) return \"tag error\";\n        type = isClose ? \"closeTag\" : \"openTag\";\n        state.tokenize = inTag;\n        return \"tag\";\n      }\n    } else if (ch == \"&\") {\n      var ok;\n      if (stream.eat(\"#\")) {\n        if (stream.eat(\"x\")) {\n          ok = stream.eatWhile(/[a-fA-F\\d]/) && stream.eat(\";\");\n        } else {\n          ok = stream.eatWhile(/[\\d]/) && stream.eat(\";\");\n        }\n      } else {\n        ok = stream.eatWhile(/[\\w\\.\\-:]/) && stream.eat(\";\");\n      }\n      return ok ? \"atom\" : \"error\";\n    } else {\n      stream.eatWhile(/[^&<]/);\n      return null;\n    }\n  }\n\n  function inTag(stream, state) {\n    var ch = stream.next();\n    if (ch == \">\" || (ch == \"/\" && stream.eat(\">\"))) {\n      state.tokenize = inText;\n      type = ch == \">\" ? \"endTag\" : \"selfcloseTag\";\n      return \"tag\";\n    } else if (ch == \"=\") {\n      type = \"equals\";\n      return null;\n    } else if (ch == \"<\") {\n      state.tokenize = inText;\n      var next = state.tokenize(stream, state);\n      return next ? next + \" error\" : \"error\";\n    } else if (/[\\'\\\"]/.test(ch)) {\n      state.tokenize = inAttribute(ch);\n      state.stringStartCol = stream.column();\n      return state.tokenize(stream, state);\n    } else {\n      stream.eatWhile(/[^\\s\\u00a0=<>\\\"\\']/);\n      return \"word\";\n    }\n  }\n\n  function inAttribute(quote) {\n    var closure = function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.next() == quote) {\n          state.tokenize = inTag;\n          break;\n        }\n      }\n      return \"string\";\n    };\n    closure.isInAttribute = true;\n    return closure;\n  }\n\n  function inBlock(style, terminator) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.match(terminator)) {\n          state.tokenize = inText;\n          break;\n        }\n        stream.next();\n      }\n      return style;\n    };\n  }\n  function doctype(depth) {\n    return function(stream, state) {\n      var ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == \"<\") {\n          state.tokenize = doctype(depth + 1);\n          return state.tokenize(stream, state);\n        } else if (ch == \">\") {\n          if (depth == 1) {\n            state.tokenize = inText;\n            break;\n          } else {\n            state.tokenize = doctype(depth - 1);\n            return state.tokenize(stream, state);\n          }\n        }\n      }\n      return \"meta\";\n    };\n  }\n\n  var curState, curStream, setStyle;\n  function pass() {\n    for (var i = arguments.length - 1; i >= 0; i--) curState.cc.push(arguments[i]);\n  }\n  function cont() {\n    pass.apply(null, arguments);\n    return true;\n  }\n\n  function pushContext(tagName, startOfLine) {\n    var noIndent = Kludges.doNotIndent.hasOwnProperty(tagName) || (curState.context && curState.context.noIndent);\n    curState.context = {\n      prev: curState.context,\n      tagName: tagName,\n      indent: curState.indented,\n      startOfLine: startOfLine,\n      noIndent: noIndent\n    };\n  }\n  function popContext() {\n    if (curState.context) curState.context = curState.context.prev;\n  }\n\n  function element(type) {\n    if (type == \"openTag\") {\n      curState.tagName = tagName;\n      curState.tagStart = curStream.column();\n      return cont(attributes, endtag(curState.startOfLine));\n    } else if (type == \"closeTag\") {\n      var err = false;\n      if (curState.context) {\n        if (curState.context.tagName != tagName) {\n          if (Kludges.implicitlyClosed.hasOwnProperty(curState.context.tagName.toLowerCase())) {\n            popContext();\n          }\n          err = !curState.context || curState.context.tagName != tagName;\n        }\n      } else {\n        err = true;\n      }\n      if (err) setStyle = \"error\";\n      return cont(endclosetag(err));\n    }\n    return cont();\n  }\n  function endtag(startOfLine) {\n    return function(type) {\n      var tagName = curState.tagName;\n      curState.tagName = curState.tagStart = null;\n      if (type == \"selfcloseTag\" ||\n          (type == \"endTag\" && Kludges.autoSelfClosers.hasOwnProperty(tagName.toLowerCase()))) {\n        maybePopContext(tagName.toLowerCase());\n        return cont();\n      }\n      if (type == \"endTag\") {\n        maybePopContext(tagName.toLowerCase());\n        pushContext(tagName, startOfLine);\n        return cont();\n      }\n      return cont();\n    };\n  }\n  function endclosetag(err) {\n    return function(type) {\n      if (err) setStyle = \"error\";\n      if (type == \"endTag\") { popContext(); return cont(); }\n      setStyle = \"error\";\n      return cont(arguments.callee);\n    };\n  }\n  function maybePopContext(nextTagName) {\n    var parentTagName;\n    while (true) {\n      if (!curState.context) {\n        return;\n      }\n      parentTagName = curState.context.tagName.toLowerCase();\n      if (!Kludges.contextGrabbers.hasOwnProperty(parentTagName) ||\n          !Kludges.contextGrabbers[parentTagName].hasOwnProperty(nextTagName)) {\n        return;\n      }\n      popContext();\n    }\n  }\n\n  function attributes(type) {\n    if (type == \"word\") {setStyle = \"attribute\"; return cont(attribute, attributes);}\n    if (type == \"endTag\" || type == \"selfcloseTag\") return pass();\n    setStyle = \"error\";\n    return cont(attributes);\n  }\n  function attribute(type) {\n    if (type == \"equals\") return cont(attvalue, attributes);\n    if (!Kludges.allowMissing) setStyle = \"error\";\n    else if (type == \"word\") {setStyle = \"attribute\"; return cont(attribute, attributes);}\n    return (type == \"endTag\" || type == \"selfcloseTag\") ? pass() : cont();\n  }\n  function attvalue(type) {\n    if (type == \"string\") return cont(attvaluemaybe);\n    if (type == \"word\" && Kludges.allowUnquoted) {setStyle = \"string\"; return cont();}\n    setStyle = \"error\";\n    return (type == \"endTag\" || type == \"selfCloseTag\") ? pass() : cont();\n  }\n  function attvaluemaybe(type) {\n    if (type == \"string\") return cont(attvaluemaybe);\n    else return pass();\n  }\n\n  return {\n    startState: function() {\n      return {tokenize: inText, cc: [], indented: 0, startOfLine: true, tagName: null, tagStart: null, context: null};\n    },\n\n    token: function(stream, state) {\n      if (!state.tagName && stream.sol()) {\n        state.startOfLine = true;\n        state.indented = stream.indentation();\n      }\n      if (stream.eatSpace()) return null;\n\n      setStyle = type = tagName = null;\n      var style = state.tokenize(stream, state);\n      state.type = type;\n      if ((style || type) && style != \"comment\") {\n        curState = state; curStream = stream;\n        while (true) {\n          var comb = state.cc.pop() || element;\n          if (comb(type || style)) break;\n        }\n      }\n      state.startOfLine = false;\n      if (setStyle)\n        style = setStyle == \"error\" ? style + \" error\" : setStyle;\n      return style;\n    },\n\n    indent: function(state, textAfter, fullLine) {\n      var context = state.context;\n      // Indent multi-line strings (e.g. css).\n      if (state.tokenize.isInAttribute) {\n        return state.stringStartCol + 1;\n      }\n      if ((state.tokenize != inTag && state.tokenize != inText) ||\n          context && context.noIndent)\n        return fullLine ? fullLine.match(/^(\\s*)/)[0].length : 0;\n      // Indent the starts of attribute names.\n      if (state.tagName) {\n        if (multilineTagIndentPastTag)\n          return state.tagStart + state.tagName.length + 2;\n        else\n          return state.tagStart + indentUnit * multilineTagIndentFactor;\n      }\n      if (alignCDATA && /<!\\[CDATA\\[/.test(textAfter)) return 0;\n      if (context && /^<\\//.test(textAfter))\n        context = context.prev;\n      while (context && !context.startOfLine)\n        context = context.prev;\n      if (context) return context.indent + indentUnit;\n      else return 0;\n    },\n\n    electricChars: \"/\",\n    blockCommentStart: \"<!--\",\n    blockCommentEnd: \"-->\",\n\n    configuration: parserConfig.htmlMode ? \"html\" : \"xml\",\n    helperType: parserConfig.htmlMode ? \"html\" : \"xml\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/xml\", \"xml\");\nCodeMirror.defineMIME(\"application/xml\", \"xml\");\nif (!CodeMirror.mimeModes.hasOwnProperty(\"text/html\"))\n  CodeMirror.defineMIME(\"text/html\", {name: \"xml\", htmlMode: true});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/xquery/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: XQuery mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"../../theme/xq-dark.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"xquery.js\"></script>\n<style type=\"text/css\">\n\t.CodeMirror {\n\t  border-top: 1px solid black; border-bottom: 1px solid black;\n\t  height:400px;\n\t}\n    </style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">XQuery</a>\n  </ul>\n</div>\n\n<article>\n<h2>XQuery mode</h2>\n \n \n<div class=\"cm-s-default\"> \n\t<textarea id=\"code\" name=\"code\"> \nxquery version &quot;1.0-ml&quot;;\n(: this is\n : a \n   \"comment\" :)\nlet $let := &lt;x attr=&quot;value&quot;&gt;&quot;test&quot;&lt;func&gt;function() $var {function()} {$var}&lt;/func&gt;&lt;/x&gt;\nlet $joe:=1\nreturn element element {\n\tattribute attribute { 1 },\n\telement test { &#39;a&#39; }, \n\tattribute foo { &quot;bar&quot; },\n\tfn:doc()[ foo/@bar eq $let ],\n\t//x }    \n \n(: a more 'evil' test :)\n(: Modified Blakeley example (: with nested comment :) ... :)\ndeclare private function local:declare() {()};\ndeclare private function local:private() {()};\ndeclare private function local:function() {()};\ndeclare private function local:local() {()};\nlet $let := &lt;let&gt;let $let := &quot;let&quot;&lt;/let&gt;\nreturn element element {\n\tattribute attribute { try { xdmp:version() } catch($e) { xdmp:log($e) } },\n\tattribute fn:doc { &quot;bar&quot; castable as xs:string },\n\telement text { text { &quot;text&quot; } },\n\tfn:doc()[ child::eq/(@bar | attribute::attribute) eq $let ],\n\t//fn:doc\n}\n\n\n\nxquery version &quot;1.0-ml&quot;;\n\n(: Copyright 2006-2010 Mark Logic Corporation. :)\n\n(:\n : Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);\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 &quot;AS IS&quot; 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\nmodule namespace json = &quot;http://marklogic.com/json&quot;;\ndeclare default function namespace &quot;http://www.w3.org/2005/xpath-functions&quot;;\n\n(: Need to backslash escape any double quotes, backslashes, and newlines :)\ndeclare function json:escape($s as xs:string) as xs:string {\n  let $s := replace($s, &quot;\\\\&quot;, &quot;\\\\\\\\&quot;)\n  let $s := replace($s, &quot;&quot;&quot;&quot;, &quot;\\\\&quot;&quot;&quot;)\n  let $s := replace($s, codepoints-to-string((13, 10)), &quot;\\\\n&quot;)\n  let $s := replace($s, codepoints-to-string(13), &quot;\\\\n&quot;)\n  let $s := replace($s, codepoints-to-string(10), &quot;\\\\n&quot;)\n  return $s\n};\n\ndeclare function json:atomize($x as element()) as xs:string {\n  if (count($x/node()) = 0) then 'null'\n  else if ($x/@type = &quot;number&quot;) then\n    let $castable := $x castable as xs:float or\n                     $x castable as xs:double or\n                     $x castable as xs:decimal\n    return\n    if ($castable) then xs:string($x)\n    else error(concat(&quot;Not a number: &quot;, xdmp:describe($x)))\n  else if ($x/@type = &quot;boolean&quot;) then\n    let $castable := $x castable as xs:boolean\n    return\n    if ($castable) then xs:string(xs:boolean($x))\n    else error(concat(&quot;Not a boolean: &quot;, xdmp:describe($x)))\n  else concat('&quot;', json:escape($x), '&quot;')\n};\n\n(: Print the thing that comes after the colon :)\ndeclare function json:print-value($x as element()) as xs:string {\n  if (count($x/*) = 0) then\n    json:atomize($x)\n  else if ($x/@quote = &quot;true&quot;) then\n    concat('&quot;', json:escape(xdmp:quote($x/node())), '&quot;')\n  else\n    string-join(('{',\n      string-join(for $i in $x/* return json:print-name-value($i), &quot;,&quot;),\n    '}'), &quot;&quot;)\n};\n\n(: Print the name and value both :)\ndeclare function json:print-name-value($x as element()) as xs:string? {\n  let $name := name($x)\n  let $first-in-array :=\n    count($x/preceding-sibling::*[name(.) = $name]) = 0 and\n    (count($x/following-sibling::*[name(.) = $name]) &gt; 0 or $x/@array = &quot;true&quot;)\n  let $later-in-array := count($x/preceding-sibling::*[name(.) = $name]) &gt; 0\n  return\n\n  if ($later-in-array) then\n    ()  (: I was handled previously :)\n  else if ($first-in-array) then\n    string-join(('&quot;', json:escape($name), '&quot;:[',\n      string-join((for $i in ($x, $x/following-sibling::*[name(.) = $name]) return json:print-value($i)), &quot;,&quot;),\n    ']'), &quot;&quot;)\n   else\n     string-join(('&quot;', json:escape($name), '&quot;:', json:print-value($x)), &quot;&quot;)\n};\n\n(:~\n  Transforms an XML element into a JSON string representation.  See http://json.org.\n  &lt;p/&gt;\n  Sample usage:\n  &lt;pre&gt;\n    xquery version &quot;1.0-ml&quot;;\n    import module namespace json=&quot;http://marklogic.com/json&quot; at &quot;json.xqy&quot;;\n    json:serialize(&amp;lt;foo&amp;gt;&amp;lt;bar&amp;gt;kid&amp;lt;/bar&amp;gt;&amp;lt;/foo&amp;gt;)\n  &lt;/pre&gt;\n  Sample transformations:\n  &lt;pre&gt;\n  &amp;lt;e/&amp;gt; becomes {&quot;e&quot;:null}\n  &amp;lt;e&amp;gt;text&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:&quot;text&quot;}\n  &amp;lt;e&amp;gt;quote &quot; escaping&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:&quot;quote \\&quot; escaping&quot;}\n  &amp;lt;e&amp;gt;backslash \\ escaping&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:&quot;backslash \\\\ escaping&quot;}\n  &amp;lt;e&amp;gt;&amp;lt;a&amp;gt;text1&amp;lt;/a&amp;gt;&amp;lt;b&amp;gt;text2&amp;lt;/b&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:&quot;text1&quot;,&quot;b&quot;:&quot;text2&quot;}}\n  &amp;lt;e&amp;gt;&amp;lt;a&amp;gt;text1&amp;lt;/a&amp;gt;&amp;lt;a&amp;gt;text2&amp;lt;/a&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:[&quot;text1&quot;,&quot;text2&quot;]}}\n  &amp;lt;e&amp;gt;&amp;lt;a array=&quot;true&quot;&amp;gt;text1&amp;lt;/a&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:[&quot;text1&quot;]}}\n  &amp;lt;e&amp;gt;&amp;lt;a type=&quot;boolean&quot;&amp;gt;false&amp;lt;/a&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:false}}\n  &amp;lt;e&amp;gt;&amp;lt;a type=&quot;number&quot;&amp;gt;123.5&amp;lt;/a&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:{&quot;a&quot;:123.5}}\n  &amp;lt;e quote=&quot;true&quot;&amp;gt;&amp;lt;div attrib=&quot;value&quot;/&amp;gt;&amp;lt;/e&amp;gt; becomes {&quot;e&quot;:&quot;&amp;lt;div attrib=\\&quot;value\\&quot;/&amp;gt;&quot;}\n  &lt;/pre&gt;\n  &lt;p/&gt;\n  Namespace URIs are ignored.  Namespace prefixes are included in the JSON name.\n  &lt;p/&gt;\n  Attributes are ignored, except for the special attribute @array=&quot;true&quot; that\n  indicates the JSON serialization should write the node, even if single, as an\n  array, and the attribute @type that can be set to &quot;boolean&quot; or &quot;number&quot; to\n  dictate the value should be written as that type (unquoted).  There's also\n  an @quote attribute that when set to true writes the inner content as text\n  rather than as structured JSON, useful for sending some XHTML over the\n  wire.\n  &lt;p/&gt;\n  Text nodes within mixed content are ignored.\n\n  @param $x Element node to convert\n  @return String holding JSON serialized representation of $x\n\n  @author Jason Hunter\n  @version 1.0.1\n  \n  Ported to xquery 1.0-ml; double escaped backslashes in json:escape\n:)\ndeclare function json:serialize($x as element())  as xs:string {\n  string-join(('{', json:print-name-value($x), '}'), &quot;&quot;)\n};\n  </textarea> \n</div> \n \n    <script> \n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true,\n        matchBrackets: true,\n        theme: \"xq-dark\"\n      });\n    </script> \n \n    <p><strong>MIME types defined:</strong> <code>application/xquery</code>.</p> \n \n    <p>Development of the CodeMirror XQuery mode was sponsored by \n      <a href=\"http://marklogic.com\">MarkLogic</a> and developed by \n      <a href=\"https://twitter.com/mbrevoort\">Mike Brevoort</a>.\n    </p>\n \n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/xquery/test.js",
    "content": "// Don't take these too seriously -- the expected results appear to be\n// based on the results of actual runs without any serious manual\n// verification. If a change you made causes them to fail, the test is\n// as likely to wrong as the code.\n\n(function() {\n  var mode = CodeMirror.getMode({tabSize: 4}, \"xquery\");\n  function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }\n\n  MT(\"eviltest\",\n     \"[keyword xquery] [keyword version] [variable &quot;1][keyword .][atom 0][keyword -][variable ml&quot;][def&variable ;]      [comment (: this is       : a          \\\"comment\\\" :)]\",\n     \"      [keyword let] [variable $let] [keyword :=] [variable &lt;x] [variable attr][keyword =][variable &quot;value&quot;&gt;&quot;test&quot;&lt;func&gt][def&variable ;function]() [variable $var] {[keyword function]()} {[variable $var]}[variable &lt;][keyword /][variable func&gt;&lt;][keyword /][variable x&gt;]\",\n     \"      [keyword let] [variable $joe][keyword :=][atom 1]\",\n     \"      [keyword return] [keyword element] [variable element] {\",\n     \"          [keyword attribute] [variable attribute] { [atom 1] },\",\n     \"          [keyword element] [variable test] { [variable &#39;a&#39;] },           [keyword attribute] [variable foo] { [variable &quot;bar&quot;] },\",\n     \"          [def&variable fn:doc]()[[ [variable foo][keyword /][variable @bar] [keyword eq] [variable $let] ]],\",\n     \"          [keyword //][variable x] }                 [comment (: a more 'evil' test :)]\",\n     \"      [comment (: Modified Blakeley example (: with nested comment :) ... :)]\",\n     \"      [keyword declare] [keyword private] [keyword function] [def&variable local:declare]() {()}[variable ;]\",\n     \"      [keyword declare] [keyword private] [keyword function] [def&variable local:private]() {()}[variable ;]\",\n     \"      [keyword declare] [keyword private] [keyword function] [def&variable local:function]() {()}[variable ;]\",\n     \"      [keyword declare] [keyword private] [keyword function] [def&variable local:local]() {()}[variable ;]\",\n     \"      [keyword let] [variable $let] [keyword :=] [variable &lt;let&gt;let] [variable $let] [keyword :=] [variable &quot;let&quot;&lt;][keyword /let][variable &gt;]\",\n     \"      [keyword return] [keyword element] [variable element] {\",\n     \"          [keyword attribute] [variable attribute] { [keyword try] { [def&variable xdmp:version]() } [keyword catch]([variable $e]) { [def&variable xdmp:log]([variable $e]) } },\",\n     \"          [keyword attribute] [variable fn:doc] { [variable &quot;bar&quot;] [variable castable] [keyword as] [atom xs:string] },\",\n     \"          [keyword element] [variable text] { [keyword text] { [variable &quot;text&quot;] } },\",\n     \"          [def&variable fn:doc]()[[ [qualifier child::][variable eq][keyword /]([variable @bar] [keyword |] [qualifier attribute::][variable attribute]) [keyword eq] [variable $let] ]],\",\n     \"          [keyword //][variable fn:doc]\",\n     \"      }\");\n\n  MT(\"testEmptySequenceKeyword\",\n     \"[string \\\"foo\\\"] [keyword instance] [keyword of] [keyword empty-sequence]()\");\n\n  MT(\"testMultiAttr\",\n     \"[tag <p ][attribute a1]=[string \\\"foo\\\"] [attribute a2]=[string \\\"bar\\\"][tag >][variable hello] [variable world][tag </p>]\");\n\n  MT(\"test namespaced variable\",\n     \"[keyword declare] [keyword namespace] [variable e] [keyword =] [string \\\"http://example.com/ANamespace\\\"][variable ;declare] [keyword variable] [variable $e:exampleComThisVarIsNotRecognized] [keyword as] [keyword element]([keyword *]) [variable external;]\");\n\n  MT(\"test EQName variable\",\n     \"[keyword declare] [keyword variable] [variable $\\\"http://www.example.com/ns/my\\\":var] [keyword :=] [atom 12][variable ;]\",\n     \"[tag <out>]{[variable $\\\"http://www.example.com/ns/my\\\":var]}[tag </out>]\");\n\n  MT(\"test EQName function\",\n     \"[keyword declare] [keyword function] [def&variable \\\"http://www.example.com/ns/my\\\":fn] ([variable $a] [keyword as] [atom xs:integer]) [keyword as] [atom xs:integer] {\",\n     \"   [variable $a] [keyword +] [atom 2]\",\n     \"}[variable ;]\",\n     \"[tag <out>]{[def&variable \\\"http://www.example.com/ns/my\\\":fn]([atom 12])}[tag </out>]\");\n\n  MT(\"test EQName function with single quotes\",\n     \"[keyword declare] [keyword function] [def&variable 'http://www.example.com/ns/my':fn] ([variable $a] [keyword as] [atom xs:integer]) [keyword as] [atom xs:integer] {\",\n     \"   [variable $a] [keyword +] [atom 2]\",\n     \"}[variable ;]\",\n     \"[tag <out>]{[def&variable 'http://www.example.com/ns/my':fn]([atom 12])}[tag </out>]\");\n\n  MT(\"testProcessingInstructions\",\n     \"[def&variable data]([comment&meta <?target content?>]) [keyword instance] [keyword of] [atom xs:string]\");\n\n  MT(\"testQuoteEscapeDouble\",\n     \"[keyword let] [variable $rootfolder] [keyword :=] [string \\\"c:\\\\builds\\\\winnt\\\\HEAD\\\\qa\\\\scripts\\\\\\\"]\",\n     \"[keyword let] [variable $keysfolder] [keyword :=] [def&variable concat]([variable $rootfolder], [string \\\"keys\\\\\\\"])\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/xquery/xquery.js",
    "content": "CodeMirror.defineMode(\"xquery\", function() {\n\n  // The keywords object is set to the result of this self executing\n  // function. Each keyword is a property of the keywords object whose\n  // value is {type: atype, style: astyle}\n  var keywords = function(){\n    // conveinence functions used to build keywords object\n    function kw(type) {return {type: type, style: \"keyword\"};}\n    var A = kw(\"keyword a\")\n      , B = kw(\"keyword b\")\n      , C = kw(\"keyword c\")\n      , operator = kw(\"operator\")\n      , atom = {type: \"atom\", style: \"atom\"}\n      , punctuation = {type: \"punctuation\", style: null}\n      , qualifier = {type: \"axis_specifier\", style: \"qualifier\"};\n\n    // kwObj is what is return from this function at the end\n    var kwObj = {\n      'if': A, 'switch': A, 'while': A, 'for': A,\n      'else': B, 'then': B, 'try': B, 'finally': B, 'catch': B,\n      'element': C, 'attribute': C, 'let': C, 'implements': C, 'import': C, 'module': C, 'namespace': C,\n      'return': C, 'super': C, 'this': C, 'throws': C, 'where': C, 'private': C,\n      ',': punctuation,\n      'null': atom, 'fn:false()': atom, 'fn:true()': atom\n    };\n\n    // a list of 'basic' keywords. For each add a property to kwObj with the value of\n    // {type: basic[i], style: \"keyword\"} e.g. 'after' --> {type: \"after\", style: \"keyword\"}\n    var basic = ['after','ancestor','ancestor-or-self','and','as','ascending','assert','attribute','before',\n    'by','case','cast','child','comment','declare','default','define','descendant','descendant-or-self',\n    'descending','document','document-node','element','else','eq','every','except','external','following',\n    'following-sibling','follows','for','function','if','import','in','instance','intersect','item',\n    'let','module','namespace','node','node','of','only','or','order','parent','precedes','preceding',\n    'preceding-sibling','processing-instruction','ref','return','returns','satisfies','schema','schema-element',\n    'self','some','sortby','stable','text','then','to','treat','typeswitch','union','variable','version','where',\n    'xquery', 'empty-sequence'];\n    for(var i=0, l=basic.length; i < l; i++) { kwObj[basic[i]] = kw(basic[i]);};\n\n    // a list of types. For each add a property to kwObj with the value of\n    // {type: \"atom\", style: \"atom\"}\n    var types = ['xs:string', 'xs:float', 'xs:decimal', 'xs:double', 'xs:integer', 'xs:boolean', 'xs:date', 'xs:dateTime',\n    'xs:time', 'xs:duration', 'xs:dayTimeDuration', 'xs:time', 'xs:yearMonthDuration', 'numeric', 'xs:hexBinary',\n    'xs:base64Binary', 'xs:anyURI', 'xs:QName', 'xs:byte','xs:boolean','xs:anyURI','xf:yearMonthDuration'];\n    for(var i=0, l=types.length; i < l; i++) { kwObj[types[i]] = atom;};\n\n    // each operator will add a property to kwObj with value of {type: \"operator\", style: \"keyword\"}\n    var operators = ['eq', 'ne', 'lt', 'le', 'gt', 'ge', ':=', '=', '>', '>=', '<', '<=', '.', '|', '?', 'and', 'or', 'div', 'idiv', 'mod', '*', '/', '+', '-'];\n    for(var i=0, l=operators.length; i < l; i++) { kwObj[operators[i]] = operator;};\n\n    // each axis_specifiers will add a property to kwObj with value of {type: \"axis_specifier\", style: \"qualifier\"}\n    var axis_specifiers = [\"self::\", \"attribute::\", \"child::\", \"descendant::\", \"descendant-or-self::\", \"parent::\",\n    \"ancestor::\", \"ancestor-or-self::\", \"following::\", \"preceding::\", \"following-sibling::\", \"preceding-sibling::\"];\n    for(var i=0, l=axis_specifiers.length; i < l; i++) { kwObj[axis_specifiers[i]] = qualifier; };\n\n    return kwObj;\n  }();\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n\n  function ret(tp, style, cont) {\n    type = tp; content = cont;\n    return style;\n  }\n\n  function chain(stream, state, f) {\n    state.tokenize = f;\n    return f(stream, state);\n  }\n\n  // the primary mode tokenizer\n  function tokenBase(stream, state) {\n    var ch = stream.next(),\n        mightBeFunction = false,\n        isEQName = isEQNameAhead(stream);\n\n    // an XML tag (if not in some sub, chained tokenizer)\n    if (ch == \"<\") {\n      if(stream.match(\"!--\", true))\n        return chain(stream, state, tokenXMLComment);\n\n      if(stream.match(\"![CDATA\", false)) {\n        state.tokenize = tokenCDATA;\n        return ret(\"tag\", \"tag\");\n      }\n\n      if(stream.match(\"?\", false)) {\n        return chain(stream, state, tokenPreProcessing);\n      }\n\n      var isclose = stream.eat(\"/\");\n      stream.eatSpace();\n      var tagName = \"\", c;\n      while ((c = stream.eat(/[^\\s\\u00a0=<>\\\"\\'\\/?]/))) tagName += c;\n\n      return chain(stream, state, tokenTag(tagName, isclose));\n    }\n    // start code block\n    else if(ch == \"{\") {\n      pushStateStack(state,{ type: \"codeblock\"});\n      return ret(\"\", null);\n    }\n    // end code block\n    else if(ch == \"}\") {\n      popStateStack(state);\n      return ret(\"\", null);\n    }\n    // if we're in an XML block\n    else if(isInXmlBlock(state)) {\n      if(ch == \">\")\n        return ret(\"tag\", \"tag\");\n      else if(ch == \"/\" && stream.eat(\">\")) {\n        popStateStack(state);\n        return ret(\"tag\", \"tag\");\n      }\n      else\n        return ret(\"word\", \"variable\");\n    }\n    // if a number\n    else if (/\\d/.test(ch)) {\n      stream.match(/^\\d*(?:\\.\\d*)?(?:E[+\\-]?\\d+)?/);\n      return ret(\"number\", \"atom\");\n    }\n    // comment start\n    else if (ch === \"(\" && stream.eat(\":\")) {\n      pushStateStack(state, { type: \"comment\"});\n      return chain(stream, state, tokenComment);\n    }\n    // quoted string\n    else if (  !isEQName && (ch === '\"' || ch === \"'\"))\n      return chain(stream, state, tokenString(ch));\n    // variable\n    else if(ch === \"$\") {\n      return chain(stream, state, tokenVariable);\n    }\n    // assignment\n    else if(ch ===\":\" && stream.eat(\"=\")) {\n      return ret(\"operator\", \"keyword\");\n    }\n    // open paren\n    else if(ch === \"(\") {\n      pushStateStack(state, { type: \"paren\"});\n      return ret(\"\", null);\n    }\n    // close paren\n    else if(ch === \")\") {\n      popStateStack(state);\n      return ret(\"\", null);\n    }\n    // open paren\n    else if(ch === \"[\") {\n      pushStateStack(state, { type: \"bracket\"});\n      return ret(\"\", null);\n    }\n    // close paren\n    else if(ch === \"]\") {\n      popStateStack(state);\n      return ret(\"\", null);\n    }\n    else {\n      var known = keywords.propertyIsEnumerable(ch) && keywords[ch];\n\n      // if there's a EQName ahead, consume the rest of the string portion, it's likely a function\n      if(isEQName && ch === '\\\"') while(stream.next() !== '\"'){}\n      if(isEQName && ch === '\\'') while(stream.next() !== '\\''){}\n\n      // gobble up a word if the character is not known\n      if(!known) stream.eatWhile(/[\\w\\$_-]/);\n\n      // gobble a colon in the case that is a lib func type call fn:doc\n      var foundColon = stream.eat(\":\");\n\n      // if there's not a second colon, gobble another word. Otherwise, it's probably an axis specifier\n      // which should get matched as a keyword\n      if(!stream.eat(\":\") && foundColon) {\n        stream.eatWhile(/[\\w\\$_-]/);\n      }\n      // if the next non whitespace character is an open paren, this is probably a function (if not a keyword of other sort)\n      if(stream.match(/^[ \\t]*\\(/, false)) {\n        mightBeFunction = true;\n      }\n      // is the word a keyword?\n      var word = stream.current();\n      known = keywords.propertyIsEnumerable(word) && keywords[word];\n\n      // if we think it's a function call but not yet known,\n      // set style to variable for now for lack of something better\n      if(mightBeFunction && !known) known = {type: \"function_call\", style: \"variable def\"};\n\n      // if the previous word was element, attribute, axis specifier, this word should be the name of that\n      if(isInXmlConstructor(state)) {\n        popStateStack(state);\n        return ret(\"word\", \"variable\", word);\n      }\n      // as previously checked, if the word is element,attribute, axis specifier, call it an \"xmlconstructor\" and\n      // push the stack so we know to look for it on the next word\n      if(word == \"element\" || word == \"attribute\" || known.type == \"axis_specifier\") pushStateStack(state, {type: \"xmlconstructor\"});\n\n      // if the word is known, return the details of that else just call this a generic 'word'\n      return known ? ret(known.type, known.style, word) :\n                     ret(\"word\", \"variable\", word);\n    }\n  }\n\n  // handle comments, including nested\n  function tokenComment(stream, state) {\n    var maybeEnd = false, maybeNested = false, nestedCount = 0, ch;\n    while (ch = stream.next()) {\n      if (ch == \")\" && maybeEnd) {\n        if(nestedCount > 0)\n          nestedCount--;\n        else {\n          popStateStack(state);\n          break;\n        }\n      }\n      else if(ch == \":\" && maybeNested) {\n        nestedCount++;\n      }\n      maybeEnd = (ch == \":\");\n      maybeNested = (ch == \"(\");\n    }\n\n    return ret(\"comment\", \"comment\");\n  }\n\n  // tokenizer for string literals\n  // optionally pass a tokenizer function to set state.tokenize back to when finished\n  function tokenString(quote, f) {\n    return function(stream, state) {\n      var ch;\n\n      if(isInString(state) && stream.current() == quote) {\n        popStateStack(state);\n        if(f) state.tokenize = f;\n        return ret(\"string\", \"string\");\n      }\n\n      pushStateStack(state, { type: \"string\", name: quote, tokenize: tokenString(quote, f) });\n\n      // if we're in a string and in an XML block, allow an embedded code block\n      if(stream.match(\"{\", false) && isInXmlAttributeBlock(state)) {\n        state.tokenize = tokenBase;\n        return ret(\"string\", \"string\");\n      }\n\n\n      while (ch = stream.next()) {\n        if (ch ==  quote) {\n          popStateStack(state);\n          if(f) state.tokenize = f;\n          break;\n        }\n        else {\n          // if we're in a string and in an XML block, allow an embedded code block in an attribute\n          if(stream.match(\"{\", false) && isInXmlAttributeBlock(state)) {\n            state.tokenize = tokenBase;\n            return ret(\"string\", \"string\");\n          }\n\n        }\n      }\n\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  // tokenizer for variables\n  function tokenVariable(stream, state) {\n    var isVariableChar = /[\\w\\$_-]/;\n\n    // a variable may start with a quoted EQName so if the next character is quote, consume to the next quote\n    if(stream.eat(\"\\\"\")) {\n      while(stream.next() !== '\\\"'){};\n      stream.eat(\":\");\n    } else {\n      stream.eatWhile(isVariableChar);\n      if(!stream.match(\":=\", false)) stream.eat(\":\");\n    }\n    stream.eatWhile(isVariableChar);\n    state.tokenize = tokenBase;\n    return ret(\"variable\", \"variable\");\n  }\n\n  // tokenizer for XML tags\n  function tokenTag(name, isclose) {\n    return function(stream, state) {\n      stream.eatSpace();\n      if(isclose && stream.eat(\">\")) {\n        popStateStack(state);\n        state.tokenize = tokenBase;\n        return ret(\"tag\", \"tag\");\n      }\n      // self closing tag without attributes?\n      if(!stream.eat(\"/\"))\n        pushStateStack(state, { type: \"tag\", name: name, tokenize: tokenBase});\n      if(!stream.eat(\">\")) {\n        state.tokenize = tokenAttribute;\n        return ret(\"tag\", \"tag\");\n      }\n      else {\n        state.tokenize = tokenBase;\n      }\n      return ret(\"tag\", \"tag\");\n    };\n  }\n\n  // tokenizer for XML attributes\n  function tokenAttribute(stream, state) {\n    var ch = stream.next();\n\n    if(ch == \"/\" && stream.eat(\">\")) {\n      if(isInXmlAttributeBlock(state)) popStateStack(state);\n      if(isInXmlBlock(state)) popStateStack(state);\n      return ret(\"tag\", \"tag\");\n    }\n    if(ch == \">\") {\n      if(isInXmlAttributeBlock(state)) popStateStack(state);\n      return ret(\"tag\", \"tag\");\n    }\n    if(ch == \"=\")\n      return ret(\"\", null);\n    // quoted string\n    if (ch == '\"' || ch == \"'\")\n      return chain(stream, state, tokenString(ch, tokenAttribute));\n\n    if(!isInXmlAttributeBlock(state))\n      pushStateStack(state, { type: \"attribute\", tokenize: tokenAttribute});\n\n    stream.eat(/[a-zA-Z_:]/);\n    stream.eatWhile(/[-a-zA-Z0-9_:.]/);\n    stream.eatSpace();\n\n    // the case where the attribute has not value and the tag was closed\n    if(stream.match(\">\", false) || stream.match(\"/\", false)) {\n      popStateStack(state);\n      state.tokenize = tokenBase;\n    }\n\n    return ret(\"attribute\", \"attribute\");\n  }\n\n  // handle comments, including nested\n  function tokenXMLComment(stream, state) {\n    var ch;\n    while (ch = stream.next()) {\n      if (ch == \"-\" && stream.match(\"->\", true)) {\n        state.tokenize = tokenBase;\n        return ret(\"comment\", \"comment\");\n      }\n    }\n  }\n\n\n  // handle CDATA\n  function tokenCDATA(stream, state) {\n    var ch;\n    while (ch = stream.next()) {\n      if (ch == \"]\" && stream.match(\"]\", true)) {\n        state.tokenize = tokenBase;\n        return ret(\"comment\", \"comment\");\n      }\n    }\n  }\n\n  // handle preprocessing instructions\n  function tokenPreProcessing(stream, state) {\n    var ch;\n    while (ch = stream.next()) {\n      if (ch == \"?\" && stream.match(\">\", true)) {\n        state.tokenize = tokenBase;\n        return ret(\"comment\", \"comment meta\");\n      }\n    }\n  }\n\n\n  // functions to test the current context of the state\n  function isInXmlBlock(state) { return isIn(state, \"tag\"); }\n  function isInXmlAttributeBlock(state) { return isIn(state, \"attribute\"); }\n  function isInXmlConstructor(state) { return isIn(state, \"xmlconstructor\"); }\n  function isInString(state) { return isIn(state, \"string\"); }\n\n  function isEQNameAhead(stream) {\n    // assume we've already eaten a quote (\")\n    if(stream.current() === '\"')\n      return stream.match(/^[^\\\"]+\\\"\\:/, false);\n    else if(stream.current() === '\\'')\n      return stream.match(/^[^\\\"]+\\'\\:/, false);\n    else\n      return false;\n  }\n\n  function isIn(state, type) {\n    return (state.stack.length && state.stack[state.stack.length - 1].type == type);\n  }\n\n  function pushStateStack(state, newState) {\n    state.stack.push(newState);\n  }\n\n  function popStateStack(state) {\n    state.stack.pop();\n    var reinstateTokenize = state.stack.length && state.stack[state.stack.length-1].tokenize;\n    state.tokenize = reinstateTokenize || tokenBase;\n  }\n\n  // the interface for the mode API\n  return {\n    startState: function() {\n      return {\n        tokenize: tokenBase,\n        cc: [],\n        stack: []\n      };\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      return style;\n    },\n\n    blockCommentStart: \"(:\",\n    blockCommentEnd: \":)\"\n\n  };\n\n});\n\nCodeMirror.defineMIME(\"application/xquery\", \"xquery\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/yaml/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: YAML mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"yaml.js\"></script>\n<style>.CodeMirror { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">YAML</a>\n  </ul>\n</div>\n\n<article>\n<h2>YAML mode</h2>\n<form><textarea id=\"code\" name=\"code\">\n--- # Favorite movies\n- Casablanca\n- North by Northwest\n- The Man Who Wasn't There\n--- # Shopping list\n[milk, pumpkin pie, eggs, juice]\n--- # Indented Blocks, common in YAML data files, use indentation and new lines to separate the key: value pairs\n  name: John Smith\n  age: 33\n--- # Inline Blocks, common in YAML data streams, use commas to separate the key: value pairs between braces\n{name: John Smith, age: 33}\n---\nreceipt:     Oz-Ware Purchase Invoice\ndate:        2007-08-06\ncustomer:\n    given:   Dorothy\n    family:  Gale\n\nitems:\n    - part_no:   A4786\n      descrip:   Water Bucket (Filled)\n      price:     1.47\n      quantity:  4\n\n    - part_no:   E1628\n      descrip:   High Heeled \"Ruby\" Slippers\n      size:       8\n      price:     100.27\n      quantity:  1\n\nbill-to:  &id001\n    street: |\n            123 Tornado Alley\n            Suite 16\n    city:   East Centerville\n    state:  KS\n\nship-to:  *id001\n\nspecialDelivery:  >\n    Follow the Yellow Brick\n    Road to the Emerald City.\n    Pay no attention to the\n    man behind the curtain.\n...\n</textarea></form>\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {});\n    </script>\n\n    <p><strong>MIME types defined:</strong> <code>text/x-yaml</code>.</p>\n\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/yaml/yaml.js",
    "content": "CodeMirror.defineMode(\"yaml\", function() {\n\n  var cons = ['true', 'false', 'on', 'off', 'yes', 'no'];\n  var keywordRegex = new RegExp(\"\\\\b((\"+cons.join(\")|(\")+\"))$\", 'i');\n\n  return {\n    token: function(stream, state) {\n      var ch = stream.peek();\n      var esc = state.escaped;\n      state.escaped = false;\n      /* comments */\n      if (ch == \"#\" && (stream.pos == 0 || /\\s/.test(stream.string.charAt(stream.pos - 1)))) {\n        stream.skipToEnd(); return \"comment\";\n      }\n      if (state.literal && stream.indentation() > state.keyCol) {\n        stream.skipToEnd(); return \"string\";\n      } else if (state.literal) { state.literal = false; }\n      if (stream.sol()) {\n        state.keyCol = 0;\n        state.pair = false;\n        state.pairStart = false;\n        /* document start */\n        if(stream.match(/---/)) { return \"def\"; }\n        /* document end */\n        if (stream.match(/\\.\\.\\./)) { return \"def\"; }\n        /* array list item */\n        if (stream.match(/\\s*-\\s+/)) { return 'meta'; }\n      }\n      /* inline pairs/lists */\n      if (stream.match(/^(\\{|\\}|\\[|\\])/)) {\n        if (ch == '{')\n          state.inlinePairs++;\n        else if (ch == '}')\n          state.inlinePairs--;\n        else if (ch == '[')\n          state.inlineList++;\n        else\n          state.inlineList--;\n        return 'meta';\n      }\n\n      /* list seperator */\n      if (state.inlineList > 0 && !esc && ch == ',') {\n        stream.next();\n        return 'meta';\n      }\n      /* pairs seperator */\n      if (state.inlinePairs > 0 && !esc && ch == ',') {\n        state.keyCol = 0;\n        state.pair = false;\n        state.pairStart = false;\n        stream.next();\n        return 'meta';\n      }\n\n      /* start of value of a pair */\n      if (state.pairStart) {\n        /* block literals */\n        if (stream.match(/^\\s*(\\||\\>)\\s*/)) { state.literal = true; return 'meta'; };\n        /* references */\n        if (stream.match(/^\\s*(\\&|\\*)[a-z0-9\\._-]+\\b/i)) { return 'variable-2'; }\n        /* numbers */\n        if (state.inlinePairs == 0 && stream.match(/^\\s*-?[0-9\\.\\,]+\\s?$/)) { return 'number'; }\n        if (state.inlinePairs > 0 && stream.match(/^\\s*-?[0-9\\.\\,]+\\s?(?=(,|}))/)) { return 'number'; }\n        /* keywords */\n        if (stream.match(keywordRegex)) { return 'keyword'; }\n      }\n\n      /* pairs (associative arrays) -> key */\n      if (!state.pair && stream.match(/^\\s*\\S+(?=\\s*:($|\\s))/i)) {\n        state.pair = true;\n        state.keyCol = stream.indentation();\n        return \"atom\";\n      }\n      if (state.pair && stream.match(/^:\\s*/)) { state.pairStart = true; return 'meta'; }\n\n      /* nothing found, continue */\n      state.pairStart = false;\n      state.escaped = (ch == '\\\\');\n      stream.next();\n      return null;\n    },\n    startState: function() {\n      return {\n        pair: false,\n        pairStart: false,\n        keyCol: 0,\n        inlinePairs: 0,\n        inlineList: 0,\n        literal: false,\n        escaped: false\n      };\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-yaml\", \"yaml\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/z80/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Z80 assembly mode</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../../lib/codemirror.css\">\n<script src=\"../../lib/codemirror.js\"></script>\n<script src=\"z80.js\"></script>\n<style type=\"text/css\">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../../index.html\">Home</a>\n    <li><a href=\"../../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a href=\"../index.html\">Language modes</a>\n    <li><a class=active href=\"#\">Z80 assembly</a>\n  </ul>\n</div>\n\n<article>\n<h2>Z80 assembly mode</h2>\n\n\n<div><textarea id=\"code\" name=\"code\">\n#include    \"ti83plus.inc\"\n#define     progStart   $9D95\n.org        progStart-2\n.db         $BB,$6D\n    bcall(_ClrLCDFull)\n    ld  HL, 0\n    ld  (PenCol),   HL\n    ld  HL, Message\n    bcall(_PutS) ; Displays the string\n    bcall(_NewLine)\n    ret\nMessage:\n.db         \"Hello world!\",0\n</textarea></div>\n\n    <script>\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers: true\n      });\n    </script>\n\n    <p><strong>MIME type defined:</strong> <code>text/x-z80</code>.</p>\n  </article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/mode/z80/z80.js",
    "content": "CodeMirror.defineMode('z80', function() {\n  var keywords1 = /^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\\b/i;\n  var keywords2 = /^(call|j[pr]|ret[in]?)\\b/i;\n  var keywords3 = /^b_?(call|jump)\\b/i;\n  var variables1 = /^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\\b/i;\n  var variables2 = /^(n?[zc]|p[oe]?|m)\\b/i;\n  var errors = /^([hl][xy]|i[xy][hl]|slia|sll)\\b/i;\n  var numbers = /^([\\da-f]+h|[0-7]+o|[01]+b|\\d+)\\b/i;\n\n  return {\n    startState: function() {\n      return {context: 0};\n    },\n    token: function(stream, state) {\n      if (!stream.column())\n        state.context = 0;\n\n      if (stream.eatSpace())\n        return null;\n\n      var w;\n\n      if (stream.eatWhile(/\\w/)) {\n        w = stream.current();\n\n        if (stream.indentation()) {\n          if (state.context == 1 && variables1.test(w))\n            return 'variable-2';\n\n          if (state.context == 2 && variables2.test(w))\n            return 'variable-3';\n\n          if (keywords1.test(w)) {\n            state.context = 1;\n            return 'keyword';\n          } else if (keywords2.test(w)) {\n            state.context = 2;\n            return 'keyword';\n          } else if (keywords3.test(w)) {\n            state.context = 3;\n            return 'keyword';\n          }\n\n          if (errors.test(w))\n            return 'error';\n        } else if (numbers.test(w)) {\n          return 'number';\n        } else {\n          return null;\n        }\n      } else if (stream.eat(';')) {\n        stream.skipToEnd();\n        return 'comment';\n      } else if (stream.eat('\"')) {\n        while (w = stream.next()) {\n          if (w == '\"')\n            break;\n\n          if (w == '\\\\')\n            stream.next();\n        }\n        return 'string';\n      } else if (stream.eat('\\'')) {\n        if (stream.match(/\\\\?.'/))\n          return 'number';\n      } else if (stream.eat('.') || stream.sol() && stream.eat('#')) {\n        state.context = 4;\n\n        if (stream.eatWhile(/\\w/))\n          return 'def';\n      } else if (stream.eat('$')) {\n        if (stream.eatWhile(/[\\da-f]/i))\n          return 'number';\n      } else if (stream.eat('%')) {\n        if (stream.eatWhile(/[01]/))\n          return 'number';\n      } else {\n        stream.next();\n      }\n      return null;\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-z80\", \"z80\");\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/package.json",
    "content": "{\n    \"name\": \"codemirror\",\n    \"version\":\"3.20.0\",\n    \"main\": \"lib/codemirror.js\",\n    \"description\": \"In-browser code editing made bearable\",\n    \"licenses\": [{\"type\": \"MIT\",\n                  \"url\": \"http://codemirror.net/LICENSE\"}],\n    \"directories\": {\"lib\": \"./lib\"},\n    \"scripts\": {\"test\": \"node ./test/run.js\"},\n    \"devDependencies\": {\"node-static\": \"0.6.0\"},\n    \"bugs\": \"http://github.com/marijnh/CodeMirror/issues\",\n    \"keywords\": [\"JavaScript\", \"CodeMirror\", \"Editor\"],\n    \"homepage\": \"http://codemirror.net\",\n    \"maintainers\":[{\"name\": \"Marijn Haverbeke\",\n                    \"email\": \"marijnh@gmail.com\",\n                    \"web\": \"http://marijnhaverbeke.nl\"}],\n    \"repository\": {\"type\": \"git\",\n                   \"url\": \"http://marijnhaverbeke.nl/git/codemirror\"}\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/comment_test.js",
    "content": "namespace = \"comment_\";\n\n(function() {\n  function test(name, mode, run, before, after) {\n    return testCM(name, function(cm) {\n      run(cm);\n      eq(cm.getValue(), after);\n    }, {value: before, mode: mode});\n  }\n\n  var simpleProg = \"function foo() {\\n  return bar;\\n}\";\n\n  test(\"block\", \"javascript\", function(cm) {\n    cm.blockComment(Pos(0, 3), Pos(3, 0), {blockCommentLead: \" *\"});\n  }, simpleProg + \"\\n\", \"/* function foo() {\\n *   return bar;\\n * }\\n */\");\n\n  test(\"blockToggle\", \"javascript\", function(cm) {\n    cm.blockComment(Pos(0, 3), Pos(2, 0), {blockCommentLead: \" *\"});\n    cm.uncomment(Pos(0, 3), Pos(2, 0), {blockCommentLead: \" *\"});\n  }, simpleProg, simpleProg);\n\n  test(\"line\", \"javascript\", function(cm) {\n    cm.lineComment(Pos(1, 1), Pos(1, 1));\n  }, simpleProg, \"function foo() {\\n//   return bar;\\n}\");\n\n  test(\"lineToggle\", \"javascript\", function(cm) {\n    cm.lineComment(Pos(0, 0), Pos(2, 1));\n    cm.uncomment(Pos(0, 0), Pos(2, 1));\n  }, simpleProg, simpleProg);\n\n  test(\"fallbackToBlock\", \"css\", function(cm) {\n    cm.lineComment(Pos(0, 0), Pos(2, 1));\n  }, \"html {\\n  border: none;\\n}\", \"/* html {\\n  border: none;\\n} */\");\n\n  test(\"fallbackToLine\", \"ruby\", function(cm) {\n    cm.blockComment(Pos(0, 0), Pos(1));\n  }, \"def blah()\\n  return hah\\n\", \"# def blah()\\n#   return hah\\n\");\n\n  test(\"commentRange\", \"javascript\", function(cm) {\n    cm.blockComment(Pos(1, 2), Pos(1, 13), {fullLines: false});\n  }, simpleProg, \"function foo() {\\n  /*return bar;*/\\n}\");\n\n  test(\"indented\", \"javascript\", function(cm) {\n    cm.lineComment(Pos(1, 0), Pos(2), {indent: true});\n  }, simpleProg, \"function foo() {\\n  // return bar;\\n  // }\");\n\n  test(\"singleEmptyLine\", \"javascript\", function(cm) {\n    cm.setCursor(1);\n    cm.execCommand(\"toggleComment\");\n  }, \"a;\\n\\nb;\", \"a;\\n// \\nb;\");\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/doc_test.js",
    "content": "(function() {\n  // A minilanguage for instantiating linked CodeMirror instances and Docs\n  function instantiateSpec(spec, place, opts) {\n    var names = {}, pos = 0, l = spec.length, editors = [];\n    while (spec) {\n      var m = spec.match(/^(\\w+)(\\*?)(?:='([^\\']*)'|<(~?)(\\w+)(?:\\/(\\d+)-(\\d+))?)\\s*/);\n      var name = m[1], isDoc = m[2], cur;\n      if (m[3]) {\n        cur = isDoc ? CodeMirror.Doc(m[3]) : CodeMirror(place, clone(opts, {value: m[3]}));\n      } else {\n        var other = m[5];\n        if (!names.hasOwnProperty(other)) {\n          names[other] = editors.length;\n          editors.push(CodeMirror(place, opts));\n        }\n        var doc = editors[names[other]].linkedDoc({\n          sharedHist: !m[4],\n          from: m[6] ? Number(m[6]) : null,\n          to: m[7] ? Number(m[7]) : null\n        });\n        cur = isDoc ? doc : CodeMirror(place, clone(opts, {value: doc}));\n      }\n      names[name] = editors.length;\n      editors.push(cur);\n      spec = spec.slice(m[0].length);\n    }\n    return editors;\n  }\n\n  function clone(obj, props) {\n    if (!obj) return;\n    clone.prototype = obj;\n    var inst = new clone();\n    if (props) for (var n in props) if (props.hasOwnProperty(n))\n      inst[n] = props[n];\n    return inst;\n  }\n\n  function eqAll(val) {\n    var end = arguments.length, msg = null;\n    if (typeof arguments[end-1] == \"string\")\n      msg = arguments[--end];\n    if (i == end) throw new Error(\"No editors provided to eqAll\");\n    for (var i = 1; i < end; ++i)\n      eq(arguments[i].getValue(), val, msg)\n  }\n\n  function testDoc(name, spec, run, opts, expectFail) {\n    if (!opts) opts = {};\n\n    return test(\"doc_\" + name, function() {\n      var place = document.getElementById(\"testground\");\n      var editors = instantiateSpec(spec, place, opts);\n      var successful = false;\n\n      try {\n        run.apply(null, editors);\n        successful = true;\n      } finally {\n        if ((debug && !successful) || verbose) {\n          place.style.visibility = \"visible\";\n        } else {\n          for (var i = 0; i < editors.length; ++i)\n            if (editors[i] instanceof CodeMirror)\n              place.removeChild(editors[i].getWrapperElement());\n        }\n      }\n    }, expectFail);\n  }\n\n  var ie_lt8 = /MSIE [1-7]\\b/.test(navigator.userAgent);\n\n  function testBasic(a, b) {\n    eqAll(\"x\", a, b);\n    a.setValue(\"hey\");\n    eqAll(\"hey\", a, b);\n    b.setValue(\"wow\");\n    eqAll(\"wow\", a, b);\n    a.replaceRange(\"u\\nv\\nw\", Pos(0, 3));\n    b.replaceRange(\"i\", Pos(0, 4));\n    b.replaceRange(\"j\", Pos(2, 1));\n    eqAll(\"wowui\\nv\\nwj\", a, b);\n  }\n\n  testDoc(\"basic\", \"A='x' B<A\", testBasic);\n  testDoc(\"basicSeparate\", \"A='x' B<~A\", testBasic);\n\n  testDoc(\"sharedHist\", \"A='ab\\ncd\\nef' B<A\", function(a, b) {\n    a.replaceRange(\"x\", Pos(0));\n    b.replaceRange(\"y\", Pos(1));\n    a.replaceRange(\"z\", Pos(2));\n    eqAll(\"abx\\ncdy\\nefz\", a, b);\n    a.undo();\n    a.undo();\n    eqAll(\"abx\\ncd\\nef\", a, b);\n    a.redo();\n    eqAll(\"abx\\ncdy\\nef\", a, b);\n    b.redo();\n    eqAll(\"abx\\ncdy\\nefz\", a, b);\n    a.undo(); b.undo(); a.undo(); a.undo();\n    eqAll(\"ab\\ncd\\nef\", a, b);\n  }, null, ie_lt8);\n\n  testDoc(\"undoIntact\", \"A='ab\\ncd\\nef' B<~A\", function(a, b) {\n    a.replaceRange(\"x\", Pos(0));\n    b.replaceRange(\"y\", Pos(1));\n    a.replaceRange(\"z\", Pos(2));\n    a.replaceRange(\"q\", Pos(0));\n    eqAll(\"abxq\\ncdy\\nefz\", a, b);\n    a.undo();\n    a.undo();\n    eqAll(\"abx\\ncdy\\nef\", a, b);\n    b.undo();\n    eqAll(\"abx\\ncd\\nef\", a, b);\n    a.redo();\n    eqAll(\"abx\\ncd\\nefz\", a, b);\n    a.redo();\n    eqAll(\"abxq\\ncd\\nefz\", a, b);\n    a.undo(); a.undo(); a.undo(); a.undo();\n    eqAll(\"ab\\ncd\\nef\", a, b);\n    b.redo();\n    eqAll(\"ab\\ncdy\\nef\", a, b);\n  });\n\n  testDoc(\"undoConflict\", \"A='ab\\ncd\\nef' B<~A\", function(a, b) {\n    a.replaceRange(\"x\", Pos(0));\n    a.replaceRange(\"z\", Pos(2));\n    // This should clear the first undo event in a, but not the second\n    b.replaceRange(\"y\", Pos(0));\n    a.undo(); a.undo();\n    eqAll(\"abxy\\ncd\\nef\", a, b);\n    a.replaceRange(\"u\", Pos(2));\n    a.replaceRange(\"v\", Pos(0));\n    // This should clear both events in a\n    b.replaceRange(\"w\", Pos(0));\n    a.undo(); a.undo();\n    eqAll(\"abxyvw\\ncd\\nefu\", a, b);\n  });\n\n  testDoc(\"doubleRebase\", \"A='ab\\ncd\\nef\\ng' B<~A C<B\", function(a, b, c) {\n    c.replaceRange(\"u\", Pos(3));\n    a.replaceRange(\"\", Pos(0, 0), Pos(1, 0));\n    c.undo();\n    eqAll(\"cd\\nef\\ng\", a, b, c);\n  });\n\n  testDoc(\"undoUpdate\", \"A='ab\\ncd\\nef' B<~A\", function(a, b) {\n    a.replaceRange(\"x\", Pos(2));\n    b.replaceRange(\"u\\nv\\nw\\n\", Pos(0, 0));\n    a.undo();\n    eqAll(\"u\\nv\\nw\\nab\\ncd\\nef\", a, b);\n    a.redo();\n    eqAll(\"u\\nv\\nw\\nab\\ncd\\nefx\", a, b);\n    a.undo();\n    eqAll(\"u\\nv\\nw\\nab\\ncd\\nef\", a, b);\n    b.undo();\n    a.redo();\n    eqAll(\"ab\\ncd\\nefx\", a, b);\n    a.undo();\n    eqAll(\"ab\\ncd\\nef\", a, b);\n  });\n\n  testDoc(\"undoKeepRanges\", \"A='abcdefg' B<A\", function(a, b) {\n    var m = a.markText(Pos(0, 1), Pos(0, 3), {className: \"foo\"});\n    b.replaceRange(\"x\", Pos(0, 0));\n    eqPos(m.find().from, Pos(0, 2));\n    b.replaceRange(\"yzzy\", Pos(0, 1), Pos(0));\n    eq(m.find(), null);\n    b.undo();\n    eqPos(m.find().from, Pos(0, 2));\n    b.undo();\n    eqPos(m.find().from, Pos(0, 1));\n  });\n\n  testDoc(\"longChain\", \"A='uv' B<A C<B D<C\", function(a, b, c, d) {\n    a.replaceSelection(\"X\");\n    eqAll(\"Xuv\", a, b, c, d);\n    d.replaceRange(\"Y\", Pos(0));\n    eqAll(\"XuvY\", a, b, c, d);\n  });\n\n  testDoc(\"broadCast\", \"B<A C<A D<A E<A\", function(a, b, c, d, e) {\n    b.setValue(\"uu\");\n    eqAll(\"uu\", a, b, c, d, e);\n    a.replaceRange(\"v\", Pos(0, 1));\n    eqAll(\"uvu\", a, b, c, d, e);\n  });\n\n  // A and B share a history, C and D share a separate one\n  testDoc(\"islands\", \"A='x\\ny\\nz' B<A C<~A D<C\", function(a, b, c, d) {\n    a.replaceRange(\"u\", Pos(0));\n    d.replaceRange(\"v\", Pos(2));\n    b.undo();\n    eqAll(\"x\\ny\\nzv\", a, b, c, d);\n    c.undo();\n    eqAll(\"x\\ny\\nz\", a, b, c, d);\n    a.redo();\n    eqAll(\"xu\\ny\\nz\", a, b, c, d);\n    d.redo();\n    eqAll(\"xu\\ny\\nzv\", a, b, c, d);\n  });\n\n  testDoc(\"unlink\", \"B<A C<A D<B\", function(a, b, c, d) {\n    a.setValue(\"hi\");\n    b.unlinkDoc(a);\n    d.setValue(\"aye\");\n    eqAll(\"hi\", a, c);\n    eqAll(\"aye\", b, d);\n    a.setValue(\"oo\");\n    eqAll(\"oo\", a, c);\n    eqAll(\"aye\", b, d);\n  });\n\n  testDoc(\"bareDoc\", \"A*='foo' B*<A C<B\", function(a, b, c) {\n    is(a instanceof CodeMirror.Doc);\n    is(b instanceof CodeMirror.Doc);\n    is(c instanceof CodeMirror);\n    eqAll(\"foo\", a, b, c);\n    a.replaceRange(\"hey\", Pos(0, 0), Pos(0));\n    c.replaceRange(\"!\", Pos(0));\n    eqAll(\"hey!\", a, b, c);\n    b.unlinkDoc(a);\n    b.setValue(\"x\");\n    eqAll(\"x\", b, c);\n    eqAll(\"hey!\", a);\n  });\n\n  testDoc(\"swapDoc\", \"A='a' B*='b' C<A\", function(a, b, c) {\n    var d = a.swapDoc(b);\n    d.setValue(\"x\");\n    eqAll(\"x\", c, d);\n    eqAll(\"b\", a, b);\n  });\n\n  testDoc(\"docKeepsScroll\", \"A='x' B*='y'\", function(a, b) {\n    addDoc(a, 200, 200);\n    a.scrollIntoView(Pos(199, 200));\n    var c = a.swapDoc(b);\n    a.swapDoc(c);\n    var pos = a.getScrollInfo();\n    is(pos.left > 0, \"not at left\");\n    is(pos.top > 0, \"not at top\");\n  });\n\n  testDoc(\"copyDoc\", \"A='u'\", function(a) {\n    var copy = a.getDoc().copy(true);\n    a.setValue(\"foo\");\n    copy.setValue(\"bar\");\n    var old = a.swapDoc(copy);\n    eq(a.getValue(), \"bar\");\n    a.undo();\n    eq(a.getValue(), \"u\");\n    a.swapDoc(old);\n    eq(a.getValue(), \"foo\");\n    eq(old.historySize().undo, 1);\n    eq(old.copy(false).historySize().undo, 0);\n  });\n\n  testDoc(\"docKeepsMode\", \"A='1+1'\", function(a) {\n    var other = CodeMirror.Doc(\"hi\", \"text/x-markdown\");\n    a.setOption(\"mode\", \"text/javascript\");\n    var old = a.swapDoc(other);\n    eq(a.getOption(\"mode\"), \"text/x-markdown\");\n    eq(a.getMode().name, \"markdown\");\n    a.swapDoc(old);\n    eq(a.getOption(\"mode\"), \"text/javascript\");\n    eq(a.getMode().name, \"javascript\");\n  });\n\n  testDoc(\"subview\", \"A='1\\n2\\n3\\n4\\n5' B<~A/1-3\", function(a, b) {\n    eq(b.getValue(), \"2\\n3\");\n    eq(b.firstLine(), 1);\n    b.setCursor(Pos(4));\n    eqPos(b.getCursor(), Pos(2, 1));\n    a.replaceRange(\"-1\\n0\\n\", Pos(0, 0));\n    eq(b.firstLine(), 3);\n    eqPos(b.getCursor(), Pos(4, 1));\n    a.undo();\n    eqPos(b.getCursor(), Pos(2, 1));\n    b.replaceRange(\"oyoy\\n\", Pos(2, 0));\n    eq(a.getValue(), \"1\\n2\\noyoy\\n3\\n4\\n5\");\n    b.undo();\n    eq(a.getValue(), \"1\\n2\\n3\\n4\\n5\");\n  });\n\n  testDoc(\"subviewEditOnBoundary\", \"A='11\\n22\\n33\\n44\\n55' B<~A/1-4\", function(a, b) {\n    a.replaceRange(\"x\\nyy\\nz\", Pos(0, 1), Pos(2, 1));\n    eq(b.firstLine(), 2);\n    eq(b.lineCount(), 2);\n    eq(b.getValue(), \"z3\\n44\");\n    a.replaceRange(\"q\\nrr\\ns\", Pos(3, 1), Pos(4, 1));\n    eq(b.firstLine(), 2);\n    eq(b.getValue(), \"z3\\n4q\");\n    eq(a.getValue(), \"1x\\nyy\\nz3\\n4q\\nrr\\ns5\");\n    a.execCommand(\"selectAll\");\n    a.replaceSelection(\"!\");\n    eqAll(\"!\", a, b);\n  });\n\n\n  testDoc(\"sharedMarker\", \"A='ab\\ncd\\nef\\ngh' B<A C<~A/1-2\", function(a, b, c) {\n    var mark = b.markText(Pos(0, 1), Pos(3, 1),\n                          {className: \"cm-searching\", shared: true});\n    var found = a.findMarksAt(Pos(0, 2));\n    eq(found.length, 1);\n    eq(found[0], mark);\n    eq(c.findMarksAt(Pos(1, 1)).length, 1);\n    eqPos(mark.find().from, Pos(0, 1));\n    eqPos(mark.find().to, Pos(3, 1));\n    b.replaceRange(\"x\\ny\\n\", Pos(0, 0));\n    eqPos(mark.find().from, Pos(2, 1));\n    eqPos(mark.find().to, Pos(5, 1));\n    var cleared = 0;\n    CodeMirror.on(mark, \"clear\", function() {++cleared;});\n    b.operation(function(){mark.clear();});\n    eq(a.findMarksAt(Pos(3, 1)).length, 0);\n    eq(b.findMarksAt(Pos(3, 1)).length, 0);\n    eq(c.findMarksAt(Pos(3, 1)).length, 0);\n    eq(mark.find(), null);\n    eq(cleared, 1);\n  });\n\n  testDoc(\"undoInSubview\", \"A='line 0\\nline 1\\nline 2\\nline 3\\nline 4' B<A/1-4\", function(a, b) {\n    b.replaceRange(\"x\", Pos(2, 0));\n    a.undo();\n    eq(a.getValue(), \"line 0\\nline 1\\nline 2\\nline 3\\nline 4\");\n    eq(b.getValue(), \"line 1\\nline 2\\nline 3\");\n  });\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/driver.js",
    "content": "var tests = [], debug = null, debugUsed = new Array(), allNames = [];\n\nfunction Failure(why) {this.message = why;}\nFailure.prototype.toString = function() { return this.message; };\n\nfunction indexOf(collection, elt) {\n  if (collection.indexOf) return collection.indexOf(elt);\n  for (var i = 0, e = collection.length; i < e; ++i)\n    if (collection[i] == elt) return i;\n  return -1;\n}\n\nfunction test(name, run, expectedFail) {\n  // Force unique names\n  var originalName = name;\n  var i = 2; // Second function would be NAME_2\n  while (indexOf(allNames, name) !== -1){\n    name = originalName + \"_\" + i;\n    i++;\n  }\n  allNames.push(name);\n  // Add test\n  tests.push({name: name, func: run, expectedFail: expectedFail});\n  return name;\n}\nvar namespace = \"\";\nfunction testCM(name, run, opts, expectedFail) {\n  return test(namespace + name, function() {\n    var place = document.getElementById(\"testground\"), cm = window.cm = CodeMirror(place, opts);\n    var successful = false;\n    try {\n      run(cm);\n      successful = true;\n    } finally {\n      if ((debug && !successful) || verbose) {\n        place.style.visibility = \"visible\";\n      } else {\n        place.removeChild(cm.getWrapperElement());\n      }\n    }\n  }, expectedFail);\n}\n\nfunction runTests(callback) {\n  if (debug) {\n    if (indexOf(debug, \"verbose\") === 0) {\n      verbose = true;\n      debug.splice(0, 1);\n    }\n    if (debug.length < 1) {\n      debug = null;\n    }\n  }\n  var totalTime = 0;\n  function step(i) {\n    if (i === tests.length){\n      running = false;\n      return callback(\"done\");\n    }\n    var test = tests[i], expFail = test.expectedFail, startTime = +new Date;\n    if (debug !== null) {\n      var debugIndex = indexOf(debug, test.name);\n      if (debugIndex !== -1) {\n        // Remove from array for reporting incorrect tests later\n        debug.splice(debugIndex, 1);\n      } else {\n        var wildcardName = test.name.split(\"_\")[0] + \"_*\";\n        debugIndex = indexOf(debug, wildcardName);\n        if (debugIndex !== -1) {\n          // Remove from array for reporting incorrect tests later\n          debug.splice(debugIndex, 1);\n          debugUsed.push(wildcardName);\n        } else {\n          debugIndex = indexOf(debugUsed, wildcardName);\n          if (debugIndex == -1) return step(i + 1);\n        }\n      }\n    }\n    var threw = false;\n    try {\n      var message = test.func();\n    } catch(e) {\n      threw = true;\n      if (expFail) callback(\"expected\", test.name);\n      else if (e instanceof Failure) callback(\"fail\", test.name, e.message);\n      else {\n        var pos = /(?:\\bat |@).*?([^\\/:]+):(\\d+)/.exec(e.stack);\n        callback(\"error\", test.name, e.toString() + (pos ? \" (\" + pos[1] + \":\" + pos[2] + \")\" : \"\"));\n      }\n    }\n    if (!threw) {\n      if (expFail) callback(\"fail\", test.name, message || \"expected failure, but succeeded\");\n      else callback(\"ok\", test.name, message);\n    }\n    if (!quit) { // Run next test\n      var delay = 0;\n      totalTime += (+new Date) - startTime;\n      if (totalTime > 500){\n        totalTime = 0;\n        delay = 50;\n      }\n      setTimeout(function(){step(i + 1);}, delay);\n    } else { // Quit tests\n      running = false;\n      return null;\n    }\n  }\n  step(0);\n}\n\nfunction label(str, msg) {\n  if (msg) return str + \" (\" + msg + \")\";\n  return str;\n}\nfunction eq(a, b, msg) {\n  if (a != b) throw new Failure(label(a + \" != \" + b, msg));\n}\nfunction eqPos(a, b, msg) {\n  function str(p) { return \"{line:\" + p.line + \",ch:\" + p.ch + \"}\"; }\n  if (a == b) return;\n  if (a == null) throw new Failure(label(\"comparing null to \" + str(b), msg));\n  if (b == null) throw new Failure(label(\"comparing \" + str(a) + \" to null\", msg));\n  if (a.line != b.line || a.ch != b.ch) throw new Failure(label(str(a) + \" != \" + str(b), msg));\n}\nfunction is(a, msg) {\n  if (!a) throw new Failure(label(\"assertion failed\", msg));\n}\n\nfunction countTests() {\n  if (!debug) return tests.length;\n  var sum = 0;\n  for (var i = 0; i < tests.length; ++i) {\n    var name = tests[i].name;\n    if (indexOf(debug, name) != -1 ||\n        indexOf(debug, name.split(\"_\")[0] + \"_*\") != -1)\n      ++sum;\n  }\n  return sum;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/emacs_test.js",
    "content": "(function() {\n  \"use strict\";\n\n  var Pos = CodeMirror.Pos;\n  namespace = \"emacs_\";\n\n  var eventCache = {};\n  function fakeEvent(keyName) {\n    var event = eventCache[key];\n    if (event) return event;\n\n    var ctrl, shift, alt;\n    var key = keyName.replace(/\\w+-/g, function(type) {\n      if (type == \"Ctrl-\") ctrl = true;\n      else if (type == \"Alt-\") alt = true;\n      else if (type == \"Shift-\") shift = true;\n      return \"\";\n    });\n    var code;\n    for (var c in CodeMirror.keyNames)\n      if (CodeMirror.keyNames[c] == key) { code = c; break; }\n    if (c == null) throw new Error(\"Unknown key: \" + key);\n\n    return eventCache[keyName] = {\n      type: \"keydown\", keyCode: code, ctrlKey: ctrl, shiftKey: shift, altKey: alt,\n      preventDefault: function(){}, stopPropagation: function(){}\n    };\n  }\n\n  function sim(name, start /*, actions... */) {\n    var keys = Array.prototype.slice.call(arguments, 2);\n    testCM(name, function(cm) {\n      for (var i = 0; i < keys.length; ++i) {\n        var cur = keys[i];\n        if (cur instanceof Pos) cm.setCursor(cur);\n        else if (cur.call) cur(cm);\n        else cm.triggerOnKeyDown(fakeEvent(cur));\n      }\n    }, {keyMap: \"emacs\", value: start, mode: \"javascript\"});\n  }\n\n  function at(line, ch) { return function(cm) { eqPos(cm.getCursor(), Pos(line, ch)); }; }\n  function txt(str) { return function(cm) { eq(cm.getValue(), str); }; }\n\n  sim(\"motionHSimple\", \"abc\", \"Ctrl-F\", \"Ctrl-F\", \"Ctrl-B\", at(0, 1));\n  sim(\"motionHMulti\", \"abcde\",\n      \"Ctrl-4\", \"Ctrl-F\", at(0, 4), \"Ctrl--\", \"Ctrl-2\", \"Ctrl-F\", at(0, 2),\n      \"Ctrl-5\", \"Ctrl-B\", at(0, 0));\n\n  sim(\"motionHWord\", \"abc. def ghi\",\n      \"Alt-F\", at(0, 3), \"Alt-F\", at(0, 8),\n      \"Ctrl-B\", \"Alt-B\", at(0, 5), \"Alt-B\", at(0, 0));\n  sim(\"motionHWordMulti\", \"abc. def ghi \",\n      \"Ctrl-3\", \"Alt-F\", at(0, 12), \"Ctrl-2\", \"Alt-B\", at(0, 5),\n      \"Ctrl--\", \"Alt-B\", at(0, 8));\n\n  sim(\"motionVSimple\", \"a\\nb\\nc\\n\", \"Ctrl-N\", \"Ctrl-N\", \"Ctrl-P\", at(1, 0));\n  sim(\"motionVMulti\", \"a\\nb\\nc\\nd\\ne\\n\",\n      \"Ctrl-2\", \"Ctrl-N\", at(2, 0), \"Ctrl-F\", \"Ctrl--\", \"Ctrl-N\", at(1, 1),\n      \"Ctrl--\", \"Ctrl-3\", \"Ctrl-P\", at(4, 1));\n\n  sim(\"killYank\", \"abc\\ndef\\nghi\",\n      \"Ctrl-F\", \"Ctrl-Space\", \"Ctrl-N\", \"Ctrl-N\", \"Ctrl-W\", \"Ctrl-E\", \"Ctrl-Y\",\n      txt(\"ahibc\\ndef\\ng\"));\n  sim(\"killRing\", \"abcdef\",\n      \"Ctrl-Space\", \"Ctrl-F\", \"Ctrl-W\", \"Ctrl-Space\", \"Ctrl-F\", \"Ctrl-W\",\n      \"Ctrl-Y\", \"Alt-Y\",\n      txt(\"acdef\"));\n  sim(\"copyYank\", \"abcd\",\n      \"Ctrl-Space\", \"Ctrl-E\", \"Alt-W\", \"Ctrl-Y\",\n      txt(\"abcdabcd\"));\n\n  sim(\"killLineSimple\", \"foo\\nbar\", \"Ctrl-F\", \"Ctrl-K\", txt(\"f\\nbar\"));\n  sim(\"killLineEmptyLine\", \"foo\\n  \\nbar\", \"Ctrl-N\", \"Ctrl-K\", txt(\"foo\\nbar\"));\n  sim(\"killLineMulti\", \"foo\\nbar\\nbaz\",\n      \"Ctrl-F\", \"Ctrl-F\", \"Ctrl-K\", \"Ctrl-K\", \"Ctrl-K\", \"Ctrl-A\", \"Ctrl-Y\",\n      txt(\"o\\nbarfo\\nbaz\"));\n\n  sim(\"moveByParagraph\", \"abc\\ndef\\n\\n\\nhij\\nklm\\n\\n\",\n      \"Ctrl-F\", \"Ctrl-Down\", at(2, 0), \"Ctrl-Down\", at(6, 0),\n      \"Ctrl-N\", \"Ctrl-Up\", at(3, 0), \"Ctrl-Up\", at(0, 0),\n      Pos(1, 2), \"Ctrl-Down\", at(2, 0), Pos(4, 2), \"Ctrl-Up\", at(3, 0));\n  sim(\"moveByParagraphMulti\", \"abc\\n\\ndef\\n\\nhij\\n\\nklm\",\n      \"Ctrl-U\", \"2\", \"Ctrl-Down\", at(3, 0),\n      \"Shift-Alt-.\", \"Ctrl-3\", \"Ctrl-Up\", at(1, 0));\n\n  sim(\"moveBySentence\", \"sentence one! sentence\\ntwo\\n\\nparagraph two\",\n      \"Alt-E\", at(0, 13), \"Alt-E\", at(1, 3), \"Ctrl-F\", \"Alt-A\", at(0, 13));\n\n  sim(\"moveByExpr\", \"function foo(a, b) {}\",\n      \"Ctrl-Alt-F\", at(0, 8), \"Ctrl-Alt-F\", at(0, 12), \"Ctrl-Alt-F\", at(0, 18),\n      \"Ctrl-Alt-B\", at(0, 12), \"Ctrl-Alt-B\", at(0, 9));\n  sim(\"moveByExprMulti\", \"foo bar baz bug\",\n      \"Ctrl-2\", \"Ctrl-Alt-F\", at(0, 7),\n      \"Ctrl--\", \"Ctrl-Alt-F\", at(0, 4),\n      \"Ctrl--\", \"Ctrl-2\", \"Ctrl-Alt-B\", at(0, 11));\n  sim(\"delExpr\", \"var x = [\\n  a,\\n  b\\n  c\\n];\",\n      Pos(0, 8), \"Ctrl-Alt-K\", txt(\"var x = ;\"), \"Ctrl-/\",\n      Pos(4, 1), \"Ctrl-Alt-Backspace\", txt(\"var x = ;\"));\n  sim(\"delExprMulti\", \"foo bar baz\",\n      \"Ctrl-2\", \"Ctrl-Alt-K\", txt(\" baz\"),\n      \"Ctrl-/\", \"Ctrl-E\", \"Ctrl-2\", \"Ctrl-Alt-Backspace\", txt(\"foo \"));\n\n  sim(\"justOneSpace\", \"hi      bye  \",\n      Pos(0, 4), \"Alt-Space\", txt(\"hi bye  \"),\n      Pos(0, 4), \"Alt-Space\", txt(\"hi b ye  \"),\n      \"Ctrl-A\", \"Alt-Space\", \"Ctrl-E\", \"Alt-Space\", txt(\" hi b ye \"));\n\n  sim(\"openLine\", \"foo bar\", \"Alt-F\", \"Ctrl-O\", txt(\"foo\\n bar\"))\n\n  sim(\"transposeChar\", \"abcd\\n\\ne\",\n      \"Ctrl-F\", \"Ctrl-T\", \"Ctrl-T\", txt(\"bcad\\n\\ne\"), at(0, 3),\n      \"Ctrl-F\", \"Ctrl-T\", \"Ctrl-T\", \"Ctrl-T\", txt(\"bcda\\n\\ne\"), at(0, 4),\n      \"Ctrl-F\", \"Ctrl-T\", txt(\"bcd\\na\\ne\"), at(1, 1));\n\n  sim(\"manipWordCase\", \"foo BAR bAZ\",\n      \"Alt-C\", \"Alt-L\", \"Alt-U\", txt(\"Foo bar BAZ\"),\n      \"Ctrl-A\", \"Alt-U\", \"Alt-L\", \"Alt-C\", txt(\"FOO bar Baz\"));\n  sim(\"manipWordCaseMulti\", \"foo Bar bAz\",\n      \"Ctrl-2\", \"Alt-U\", txt(\"FOO BAR bAz\"),\n      \"Ctrl-A\", \"Ctrl-3\", \"Alt-C\", txt(\"Foo Bar Baz\"));\n\n  sim(\"upExpr\", \"foo {\\n  bar[];\\n  baz(blah);\\n}\",\n      Pos(2, 7), \"Ctrl-Alt-U\", at(2, 5), \"Ctrl-Alt-U\", at(0, 4));\n  sim(\"transposeExpr\", \"do foo[bar] dah\",\n      Pos(0, 6), \"Ctrl-Alt-T\", txt(\"do [bar]foo dah\"));\n\n  testCM(\"save\", function(cm) {\n    var saved = false;\n    CodeMirror.commands.save = function(cm) { saved = cm.getValue(); };\n    cm.triggerOnKeyDown(fakeEvent(\"Ctrl-X\"));\n    cm.triggerOnKeyDown(fakeEvent(\"Ctrl-S\"));\n    is(saved, \"hi\");\n  }, {value: \"hi\", keyMap: \"emacs\"});\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/index.html",
    "content": "<!doctype html>\n\n<title>CodeMirror: Test Suite</title>\n<meta charset=\"utf-8\"/>\n<link rel=stylesheet href=\"../doc/docs.css\">\n\n<link rel=\"stylesheet\" href=\"../lib/codemirror.css\">\n<link rel=\"stylesheet\" href=\"mode_test.css\">\n<script src=\"../lib/codemirror.js\"></script>\n<script src=\"../addon/mode/overlay.js\"></script>\n<script src=\"../addon/mode/multiplex.js\"></script>\n<script src=\"../addon/search/searchcursor.js\"></script>\n<script src=\"../addon/dialog/dialog.js\"></script>\n<script src=\"../addon/edit/matchbrackets.js\"></script>\n<script src=\"../addon/comment/comment.js\"></script>\n<script src=\"../mode/javascript/javascript.js\"></script>\n<script src=\"../mode/xml/xml.js\"></script>\n<script src=\"../keymap/vim.js\"></script>\n<script src=\"../keymap/emacs.js\"></script>\n\n<style type=\"text/css\">\n  .ok {color: #090;}\n  .fail {color: #e00;}\n  .error {color: #c90;}\n  .done {font-weight: bold;}\n  #progress {\n  background: #45d;\n  color: white;\n  text-shadow: 0 0 1px #45d, 0 0 2px #45d, 0 0 3px #45d;\n  font-weight: bold;\n  white-space: pre;\n  }\n  #testground {\n  visibility: hidden;\n  }\n  #testground.offscreen {\n  visibility: visible;\n  position: absolute;\n  left: -10000px;\n  top: -10000px;\n  }\n  .CodeMirror { border: 1px solid black; }\n</style>\n\n<div id=nav>\n  <a href=\"http://codemirror.net\"><img id=logo src=\"../doc/logo.png\"></a>\n\n  <ul>\n    <li><a href=\"../index.html\">Home</a>\n    <li><a href=\"../doc/manual.html\">Manual</a>\n    <li><a href=\"https://github.com/marijnh/codemirror\">Code</a>\n  </ul>\n  <ul>\n    <li><a class=active href=\"#\">Test suite</a>\n  </ul>\n</div>\n\n<article>\n  <h2>Test Suite</h2>\n\n    <p>A limited set of programmatic sanity tests for CodeMirror.</p>\n\n    <div style=\"border: 1px solid black; padding: 1px; max-width: 700px;\">\n      <div style=\"width: 0px;\" id=progress><div style=\"padding: 3px;\">Ran <span id=\"progress_ran\">0</span><span id=\"progress_total\"> of 0</span> tests</div></div>\n    </div>\n    <p id=status>Please enable JavaScript...</p>\n    <div id=output></div>\n\n    <div id=testground></div>\n\n    <script src=\"driver.js\"></script>\n    <script src=\"test.js\"></script>\n    <script src=\"doc_test.js\"></script>\n    <script src=\"comment_test.js\"></script>\n    <script src=\"mode_test.js\"></script>\n    <script src=\"../mode/javascript/test.js\"></script>\n    <script src=\"../mode/css/css.js\"></script>\n    <script src=\"../mode/css/test.js\"></script>\n    <script src=\"../mode/css/scss_test.js\"></script>\n    <script src=\"../mode/xml/xml.js\"></script>\n    <script src=\"../mode/htmlmixed/htmlmixed.js\"></script>\n    <script src=\"../mode/ruby/ruby.js\"></script>\n    <script src=\"../mode/haml/haml.js\"></script>\n    <script src=\"../mode/haml/test.js\"></script>\n    <script src=\"../mode/markdown/markdown.js\"></script>\n    <script src=\"../mode/markdown/test.js\"></script>\n    <script src=\"../mode/gfm/gfm.js\"></script>\n    <script src=\"../mode/gfm/test.js\"></script>\n    <script src=\"../mode/stex/stex.js\"></script>\n    <script src=\"../mode/stex/test.js\"></script>\n    <script src=\"../mode/xquery/xquery.js\"></script>\n    <script src=\"../mode/xquery/test.js\"></script>\n    <script src=\"../addon/mode/multiplex_test.js\"></script>\n    <script src=\"vim_test.js\"></script>\n    <script src=\"emacs_test.js\"></script>\n    <script>\n      window.onload = runHarness;\n      CodeMirror.on(window, 'hashchange', runHarness);\n\n      function esc(str) {\n        return str.replace(/[<&]/, function(ch) { return ch == \"<\" ? \"&lt;\" : \"&amp;\"; });\n      }\n\n      var output = document.getElementById(\"output\"),\n          progress = document.getElementById(\"progress\"),\n          progressRan = document.getElementById(\"progress_ran\").childNodes[0],\n          progressTotal = document.getElementById(\"progress_total\").childNodes[0];\n      var count = 0,\n          failed = 0,\n          bad = \"\",\n          running = false, // Flag that states tests are running\n         quit = false, // Flag to quit tests ASAP\n         verbose = false; // Adds message for *every* test to output\n\n      function runHarness(){\n        if (running) {\n          quit = true;\n          setStatus(\"Restarting tests...\", '', true);\n          setTimeout(function(){runHarness();}, 500);\n          return;\n        }\n        if (window.location.hash.substr(1)){\n          debug = window.location.hash.substr(1).split(\",\");\n        } else {\n          debug = null;\n        }\n        quit = false;\n        running = true;\n        setStatus(\"Loading tests...\");\n        count = 0;\n        failed = 0;\n        bad = \"\";\n        verbose = false;\n        debugUsed = Array();\n        totalTests = countTests();\n        progressTotal.nodeValue = \" of \" + totalTests;\n        progressRan.nodeValue = count;\n        output.innerHTML = '';\n        document.getElementById(\"testground\").innerHTML = \"<form>\" +\n          \"<textarea id=\\\"code\\\" name=\\\"code\\\"></textarea>\" +\n          \"<input type=submit value=ok name=submit>\" +\n          \"</form>\";\n        runTests(displayTest);\n      }\n\n      function setStatus(message, className, force){\n        if (quit && !force) return;\n        if (!message) throw(\"must provide message\");\n        var status = document.getElementById(\"status\").childNodes[0];\n        status.nodeValue = message;\n        status.parentNode.className = className;\n      }\n      function addOutput(name, className, code){\n        var newOutput = document.createElement(\"dl\");\n        var newTitle = document.createElement(\"dt\");\n        newTitle.className = className;\n        newTitle.appendChild(document.createTextNode(name));\n        newOutput.appendChild(newTitle);\n        var newMessage = document.createElement(\"dd\");\n        newMessage.innerHTML = code;\n        newOutput.appendChild(newTitle);\n        newOutput.appendChild(newMessage);\n        output.appendChild(newOutput);\n      }\n      function displayTest(type, name, customMessage) {\n        var message = \"???\";\n        if (type != \"done\") ++count;\n        progress.style.width = (count * (progress.parentNode.clientWidth - 2) / totalTests) + \"px\";\n        progressRan.nodeValue = count;\n        if (type == \"ok\") {\n          message = \"Test '\" + name + \"' succeeded\";\n          if (!verbose) customMessage = false;\n        } else if (type == \"expected\") {\n          message = \"Test '\" + name + \"' failed as expected\";\n          if (!verbose) customMessage = false;\n        } else if (type == \"error\" || type == \"fail\") {\n          ++failed;\n          message = \"Test '\" + name + \"' failed\";\n        } else if (type == \"done\") {\n          if (failed) {\n            type += \" fail\";\n            message = failed + \" failure\" + (failed > 1 ? \"s\" : \"\");\n          } else if (count < totalTests) {\n            failed = totalTests - count;\n            type += \" fail\";\n            message = failed + \" failure\" + (failed > 1 ? \"s\" : \"\");\n          } else {\n            type += \" ok\";\n            message = \"All passed\";\n          }\n          if (debug && debug.length) {\n            var bogusTests = totalTests - count;\n            message += \" — \" + bogusTests + \" nonexistent test\" +\n              (bogusTests > 1 ? \"s\" : \"\") + \" requested by location.hash: \" +\n              \"`\" + debug.join(\"`, `\") + \"`\";\n          } else {\n            progressTotal.nodeValue = '';\n          }\n          customMessage = true; // Hack to avoid adding to output\n        }\n        if (verbose && !customMessage)  customMessage = message;\n        setStatus(message, type);\n        if (customMessage && customMessage.length > 0) {\n          addOutput(name, type, customMessage);\n        }\n      }\n    </script>\n\n</article>\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/lint/acorn.js",
    "content": "// Acorn is a tiny, fast JavaScript parser written in JavaScript.\n//\n// Acorn was written by Marijn Haverbeke and released under an MIT\n// license. The Unicode regexps (for identifiers and whitespace) were\n// taken from [Esprima](http://esprima.org) by Ariya Hidayat.\n//\n// Git repositories for Acorn are available at\n//\n//     http://marijnhaverbeke.nl/git/acorn\n//     https://github.com/marijnh/acorn.git\n//\n// Please use the [github bug tracker][ghbt] to report issues.\n//\n// [ghbt]: https://github.com/marijnh/acorn/issues\n\n(function(exports) {\n  \"use strict\";\n\n  exports.version = \"0.0.1\";\n\n  // The main exported interface (under `window.acorn` when in the\n  // browser) is a `parse` function that takes a code string and\n  // returns an abstract syntax tree as specified by [Mozilla parser\n  // API][api], with the caveat that the SpiderMonkey-specific syntax\n  // (`let`, `yield`, inline XML, etc) is not recognized.\n  //\n  // [api]: https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API\n\n  var options, input, inputLen, sourceFile;\n\n  exports.parse = function(inpt, opts) {\n    input = String(inpt); inputLen = input.length;\n    options = opts || {};\n    for (var opt in defaultOptions) if (!options.hasOwnProperty(opt))\n      options[opt] = defaultOptions[opt];\n    sourceFile = options.sourceFile || null;\n    return parseTopLevel(options.program);\n  };\n\n  // A second optional argument can be given to further configure\n  // the parser process. These options are recognized:\n\n  var defaultOptions = exports.defaultOptions = {\n    // `ecmaVersion` indicates the ECMAScript version to parse. Must\n    // be either 3 or 5. This\n    // influences support for strict mode, the set of reserved words, and\n    // support for getters and setter.\n    ecmaVersion: 5,\n    // Turn on `strictSemicolons` to prevent the parser from doing\n    // automatic semicolon insertion.\n    strictSemicolons: false,\n    // When `allowTrailingCommas` is false, the parser will not allow\n    // trailing commas in array and object literals.\n    allowTrailingCommas: true,\n    // By default, reserved words are not enforced. Enable\n    // `forbidReserved` to enforce them.\n    forbidReserved: false,\n    // When `trackComments` is turned on, the parser will attach\n    // `commentsBefore` and `commentsAfter` properties to AST nodes\n    // holding arrays of strings. A single comment may appear in both\n    // a `commentsBefore` and `commentsAfter` array (of the nodes\n    // after and before it), but never twice in the before (or after)\n    // array of different nodes.\n    trackComments: false,\n    // When `locations` is on, `loc` properties holding objects with\n    // `start` and `end` properties in `{line, column}` form (with\n    // line being 1-based and column 0-based) will be attached to the\n    // nodes.\n    locations: false,\n    // Nodes have their start and end characters offsets recorded in\n    // `start` and `end` properties (directly on the node, rather than\n    // the `loc` object, which holds line/column data. To also add a\n    // [semi-standardized][range] `range` property holding a `[start,\n    // end]` array with the same numbers, set the `ranges` option to\n    // `true`.\n    //\n    // [range]: https://bugzilla.mozilla.org/show_bug.cgi?id=745678\n    ranges: false,\n    // It is possible to parse multiple files into a single AST by\n    // passing the tree produced by parsing the first file as\n    // `program` option in subsequent parses. This will add the\n    // toplevel forms of the parsed file to the `Program` (top) node\n    // of an existing parse tree.\n    program: null,\n    // When `location` is on, you can pass this to record the source\n    // file in every node's `loc` object.\n    sourceFile: null\n  };\n\n  // The `getLineInfo` function is mostly useful when the\n  // `locations` option is off (for performance reasons) and you\n  // want to find the line/column position for a given character\n  // offset. `input` should be the code string that the offset refers\n  // into.\n\n  var getLineInfo = exports.getLineInfo = function(input, offset) {\n    for (var line = 1, cur = 0;;) {\n      lineBreak.lastIndex = cur;\n      var match = lineBreak.exec(input);\n      if (match && match.index < offset) {\n        ++line;\n        cur = match.index + match[0].length;\n      } else break;\n    }\n    return {line: line, column: offset - cur};\n  };\n\n  // Acorn is organized as a tokenizer and a recursive-descent parser.\n  // Both use (closure-)global variables to keep their state and\n  // communicate. We already saw the `options`, `input`, and\n  // `inputLen` variables above (set in `parse`).\n\n  // The current position of the tokenizer in the input.\n\n  var tokPos;\n\n  // The start and end offsets of the current token.\n\n  var tokStart, tokEnd;\n\n  // When `options.locations` is true, these hold objects\n  // containing the tokens start and end line/column pairs.\n\n  var tokStartLoc, tokEndLoc;\n\n  // The type and value of the current token. Token types are objects,\n  // named by variables against which they can be compared, and\n  // holding properties that describe them (indicating, for example,\n  // the precedence of an infix operator, and the original name of a\n  // keyword token). The kind of value that's held in `tokVal` depends\n  // on the type of the token. For literals, it is the literal value,\n  // for operators, the operator name, and so on.\n\n  var tokType, tokVal;\n\n  // These are used to hold arrays of comments when\n  // `options.trackComments` is true.\n\n  var tokCommentsBefore, tokCommentsAfter;\n\n  // Interal state for the tokenizer. To distinguish between division\n  // operators and regular expressions, it remembers whether the last\n  // token was one that is allowed to be followed by an expression.\n  // (If it is, a slash is probably a regexp, if it isn't it's a\n  // division operator. See the `parseStatement` function for a\n  // caveat.)\n\n  var tokRegexpAllowed, tokComments;\n\n  // When `options.locations` is true, these are used to keep\n  // track of the current line, and know when a new line has been\n  // entered. See the `curLineLoc` function.\n\n  var tokCurLine, tokLineStart, tokLineStartNext;\n\n  // These store the position of the previous token, which is useful\n  // when finishing a node and assigning its `end` position.\n\n  var lastStart, lastEnd, lastEndLoc;\n\n  // This is the parser's state. `inFunction` is used to reject\n  // `return` statements outside of functions, `labels` to verify that\n  // `break` and `continue` have somewhere to jump to, and `strict`\n  // indicates whether strict mode is on.\n\n  var inFunction, labels, strict;\n\n  // This function is used to raise exceptions on parse errors. It\n  // takes either a `{line, column}` object or an offset integer (into\n  // the current `input`) as `pos` argument. It attaches the position\n  // to the end of the error message, and then raises a `SyntaxError`\n  // with that message.\n\n  function raise(pos, message) {\n    if (typeof pos == \"number\") pos = getLineInfo(input, pos);\n    message += \" (\" + pos.line + \":\" + pos.column + \")\";\n    throw new SyntaxError(message);\n  }\n\n  // ## Token types\n\n  // The assignment of fine-grained, information-carrying type objects\n  // allows the tokenizer to store the information it has about a\n  // token in a way that is very cheap for the parser to look up.\n\n  // All token type variables start with an underscore, to make them\n  // easy to recognize.\n\n  // These are the general types. The `type` property is only used to\n  // make them recognizeable when debugging.\n\n  var _num = {type: \"num\"}, _regexp = {type: \"regexp\"}, _string = {type: \"string\"};\n  var _name = {type: \"name\"}, _eof = {type: \"eof\"};\n\n  // Keyword tokens. The `keyword` property (also used in keyword-like\n  // operators) indicates that the token originated from an\n  // identifier-like word, which is used when parsing property names.\n  //\n  // The `beforeExpr` property is used to disambiguate between regular\n  // expressions and divisions. It is set on all token types that can\n  // be followed by an expression (thus, a slash after them would be a\n  // regular expression).\n  //\n  // `isLoop` marks a keyword as starting a loop, which is important\n  // to know when parsing a label, in order to allow or disallow\n  // continue jumps to that label.\n\n  var _break = {keyword: \"break\"}, _case = {keyword: \"case\", beforeExpr: true}, _catch = {keyword: \"catch\"};\n  var _continue = {keyword: \"continue\"}, _debugger = {keyword: \"debugger\"}, _default = {keyword: \"default\"};\n  var _do = {keyword: \"do\", isLoop: true}, _else = {keyword: \"else\", beforeExpr: true};\n  var _finally = {keyword: \"finally\"}, _for = {keyword: \"for\", isLoop: true}, _function = {keyword: \"function\"};\n  var _if = {keyword: \"if\"}, _return = {keyword: \"return\", beforeExpr: true}, _switch = {keyword: \"switch\"};\n  var _throw = {keyword: \"throw\", beforeExpr: true}, _try = {keyword: \"try\"}, _var = {keyword: \"var\"};\n  var _while = {keyword: \"while\", isLoop: true}, _with = {keyword: \"with\"}, _new = {keyword: \"new\", beforeExpr: true};\n  var _this = {keyword: \"this\"};\n\n  // The keywords that denote values.\n\n  var _null = {keyword: \"null\", atomValue: null}, _true = {keyword: \"true\", atomValue: true};\n  var _false = {keyword: \"false\", atomValue: false};\n\n  // Some keywords are treated as regular operators. `in` sometimes\n  // (when parsing `for`) needs to be tested against specifically, so\n  // we assign a variable name to it for quick comparing.\n\n  var _in = {keyword: \"in\", binop: 7, beforeExpr: true};\n\n  // Map keyword names to token types.\n\n  var keywordTypes = {\"break\": _break, \"case\": _case, \"catch\": _catch,\n                      \"continue\": _continue, \"debugger\": _debugger, \"default\": _default,\n                      \"do\": _do, \"else\": _else, \"finally\": _finally, \"for\": _for,\n                      \"function\": _function, \"if\": _if, \"return\": _return, \"switch\": _switch,\n                      \"throw\": _throw, \"try\": _try, \"var\": _var, \"while\": _while, \"with\": _with,\n                      \"null\": _null, \"true\": _true, \"false\": _false, \"new\": _new, \"in\": _in,\n                      \"instanceof\": {keyword: \"instanceof\", binop: 7}, \"this\": _this,\n                      \"typeof\": {keyword: \"typeof\", prefix: true},\n                      \"void\": {keyword: \"void\", prefix: true},\n                      \"delete\": {keyword: \"delete\", prefix: true}};\n\n  // Punctuation token types. Again, the `type` property is purely for debugging.\n\n  var _bracketL = {type: \"[\", beforeExpr: true}, _bracketR = {type: \"]\"}, _braceL = {type: \"{\", beforeExpr: true};\n  var _braceR = {type: \"}\"}, _parenL = {type: \"(\", beforeExpr: true}, _parenR = {type: \")\"};\n  var _comma = {type: \",\", beforeExpr: true}, _semi = {type: \";\", beforeExpr: true};\n  var _colon = {type: \":\", beforeExpr: true}, _dot = {type: \".\"}, _question = {type: \"?\", beforeExpr: true};\n\n  // Operators. These carry several kinds of properties to help the\n  // parser use them properly (the presence of these properties is\n  // what categorizes them as operators).\n  //\n  // `binop`, when present, specifies that this operator is a binary\n  // operator, and will refer to its precedence.\n  //\n  // `prefix` and `postfix` mark the operator as a prefix or postfix\n  // unary operator. `isUpdate` specifies that the node produced by\n  // the operator should be of type UpdateExpression rather than\n  // simply UnaryExpression (`++` and `--`).\n  //\n  // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as\n  // binary operators with a very low precedence, that should result\n  // in AssignmentExpression nodes.\n\n  var _slash = {binop: 10, beforeExpr: true}, _eq = {isAssign: true, beforeExpr: true};\n  var _assign = {isAssign: true, beforeExpr: true}, _plusmin = {binop: 9, prefix: true, beforeExpr: true};\n  var _incdec = {postfix: true, prefix: true, isUpdate: true}, _prefix = {prefix: true, beforeExpr: true};\n  var _bin1 = {binop: 1, beforeExpr: true}, _bin2 = {binop: 2, beforeExpr: true};\n  var _bin3 = {binop: 3, beforeExpr: true}, _bin4 = {binop: 4, beforeExpr: true};\n  var _bin5 = {binop: 5, beforeExpr: true}, _bin6 = {binop: 6, beforeExpr: true};\n  var _bin7 = {binop: 7, beforeExpr: true}, _bin8 = {binop: 8, beforeExpr: true};\n  var _bin10 = {binop: 10, beforeExpr: true};\n\n  // This is a trick taken from Esprima. It turns out that, on\n  // non-Chrome browsers, to check whether a string is in a set, a\n  // predicate containing a big ugly `switch` statement is faster than\n  // a regular expression, and on Chrome the two are about on par.\n  // This function uses `eval` (non-lexical) to produce such a\n  // predicate from a space-separated string of words.\n  //\n  // It starts by sorting the words by length.\n\n  function makePredicate(words) {\n    words = words.split(\" \");\n    var f = \"\", cats = [];\n    out: for (var i = 0; i < words.length; ++i) {\n      for (var j = 0; j < cats.length; ++j)\n        if (cats[j][0].length == words[i].length) {\n          cats[j].push(words[i]);\n          continue out;\n        }\n      cats.push([words[i]]);\n    }\n    function compareTo(arr) {\n      if (arr.length == 1) return f += \"return str === \" + JSON.stringify(arr[0]) + \";\";\n      f += \"switch(str){\";\n      for (var i = 0; i < arr.length; ++i) f += \"case \" + JSON.stringify(arr[i]) + \":\";\n      f += \"return true}return false;\";\n    }\n\n    // When there are more than three length categories, an outer\n    // switch first dispatches on the lengths, to save on comparisons.\n\n    if (cats.length > 3) {\n      cats.sort(function(a, b) {return b.length - a.length;});\n      f += \"switch(str.length){\";\n      for (var i = 0; i < cats.length; ++i) {\n        var cat = cats[i];\n        f += \"case \" + cat[0].length + \":\";\n        compareTo(cat);\n      }\n      f += \"}\";\n\n    // Otherwise, simply generate a flat `switch` statement.\n\n    } else {\n      compareTo(words);\n    }\n    return new Function(\"str\", f);\n  }\n\n  // The ECMAScript 3 reserved word list.\n\n  var isReservedWord3 = makePredicate(\"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile\");\n\n  // ECMAScript 5 reserved words.\n\n  var isReservedWord5 = makePredicate(\"class enum extends super const export import\");\n\n  // The additional reserved words in strict mode.\n\n  var isStrictReservedWord = makePredicate(\"implements interface let package private protected public static yield\");\n\n  // The forbidden variable names in strict mode.\n\n  var isStrictBadIdWord = makePredicate(\"eval arguments\");\n\n  // And the keywords.\n\n  var isKeyword = makePredicate(\"break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this\");\n\n  // ## Character categories\n\n  // Big ugly regular expressions that match characters in the\n  // whitespace, identifier, and identifier-start categories. These\n  // are only applied when a character is found to actually have a\n  // code point above 128.\n\n  var nonASCIIwhitespace = /[\\u1680\\u180e\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]/;\n  var nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\";\n  var nonASCIIidentifierChars = \"\\u0371-\\u0374\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\";\n  var nonASCIIidentifierStart = new RegExp(\"[\" + nonASCIIidentifierStartChars + \"]\");\n  var nonASCIIidentifier = new RegExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\n  // Whether a single character denotes a newline.\n\n  var newline = /[\\n\\r\\u2028\\u2029]/;\n\n  // Matches a whole line break (where CRLF is considered a single\n  // line break). Used to count lines.\n\n  var lineBreak = /\\r\\n|[\\n\\r\\u2028\\u2029]/g;\n\n  // Test whether a given character code starts an identifier.\n\n  function isIdentifierStart(code) {\n    if (code < 65) return code === 36;\n    if (code < 91) return true;\n    if (code < 97) return code === 95;\n    if (code < 123)return true;\n    return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));\n  }\n\n  // Test whether a given character is part of an identifier.\n\n  function isIdentifierChar(code) {\n    if (code < 48) return code === 36;\n    if (code < 58) return true;\n    if (code < 65) return false;\n    if (code < 91) return true;\n    if (code < 97) return code === 95;\n    if (code < 123)return true;\n    return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n  }\n\n  // ## Tokenizer\n\n  // These are used when `options.locations` is on, in order to track\n  // the current line number and start of line offset, in order to set\n  // `tokStartLoc` and `tokEndLoc`.\n\n  function nextLineStart() {\n    lineBreak.lastIndex = tokLineStart;\n    var match = lineBreak.exec(input);\n    return match ? match.index + match[0].length : input.length + 1;\n  }\n\n  function curLineLoc() {\n    while (tokLineStartNext <= tokPos) {\n      ++tokCurLine;\n      tokLineStart = tokLineStartNext;\n      tokLineStartNext = nextLineStart();\n    }\n    return {line: tokCurLine, column: tokPos - tokLineStart};\n  }\n\n  // Reset the token state. Used at the start of a parse.\n\n  function initTokenState() {\n    tokCurLine = 1;\n    tokPos = tokLineStart = 0;\n    tokLineStartNext = nextLineStart();\n    tokRegexpAllowed = true;\n    tokComments = null;\n    skipSpace();\n  }\n\n  // Called at the end of every token. Sets `tokEnd`, `tokVal`,\n  // `tokCommentsAfter`, and `tokRegexpAllowed`, and skips the space\n  // after the token, so that the next one's `tokStart` will point at\n  // the right position.\n\n  function finishToken(type, val) {\n    tokEnd = tokPos;\n    if (options.locations) tokEndLoc = curLineLoc();\n    tokType = type;\n    skipSpace();\n    tokVal = val;\n    tokCommentsAfter = tokComments;\n    tokRegexpAllowed = type.beforeExpr;\n  }\n\n  function skipBlockComment() {\n    var end = input.indexOf(\"*/\", tokPos += 2);\n    if (end === -1) raise(tokPos - 2, \"Unterminated comment\");\n    if (options.trackComments)\n      (tokComments || (tokComments = [])).push(input.slice(tokPos, end));\n    tokPos = end + 2;\n  }\n\n  function skipLineComment() {\n    var start = tokPos;\n    var ch = input.charCodeAt(tokPos+=2);\n    while (tokPos < inputLen && ch !== 10 && ch !== 13 && ch !== 8232 && ch !== 8329) {\n      ++tokPos;\n      ch = input.charCodeAt(tokPos);\n    }\n    (tokComments || (tokComments = [])).push(input.slice(start, tokPos));\n  }\n\n  // Called at the start of the parse and after every token. Skips\n  // whitespace and comments, and, if `options.trackComments` is on,\n  // will store all skipped comments in `tokComments`.\n\n  function skipSpace() {\n    tokComments = null;\n    while (tokPos < inputLen) {\n      var ch = input.charCodeAt(tokPos);\n      if (ch === 47) { // '/'\n        var next = input.charCodeAt(tokPos+1);\n        if (next === 42) { // '*'\n          skipBlockComment();\n        } else if (next === 47) { // '/'\n          skipLineComment();\n        } else break;\n      } else if (ch < 14 && ch > 8) {\n        ++tokPos;\n      } else if (ch === 32 || ch === 160) { // ' ', '\\xa0'\n        ++tokPos;\n      } else if (ch >= 5760 && nonASCIIwhitespace.test(String.fromCharCode(ch))) {\n        ++tokPos;\n      } else {\n        break;\n      }\n    }\n  }\n\n  // ### Token reading\n\n  // This is the function that is called to fetch the next token. It\n  // is somewhat obscure, because it works in character codes rather\n  // than characters, and because operator parsing has been inlined\n  // into it.\n  //\n  // All in the name of speed.\n  //\n  // The `forceRegexp` parameter is used in the one case where the\n  // `tokRegexpAllowed` trick does not work. See `parseStatement`.\n\n  function readToken(forceRegexp) {\n    tokStart = tokPos;\n    if (options.locations) tokStartLoc = curLineLoc();\n    tokCommentsBefore = tokComments;\n    if (forceRegexp) return readRegexp();\n    if (tokPos >= inputLen) return finishToken(_eof);\n\n    var code = input.charCodeAt(tokPos);\n    // Identifier or keyword. '\\uXXXX' sequences are allowed in\n    // identifiers, so '\\' also dispatches to that.\n    if (isIdentifierStart(code) || code === 92 /* '\\' */) return readWord();\n    var next = input.charCodeAt(tokPos+1);\n\n    switch(code) {\n      // The interpretation of a dot depends on whether it is followed\n      // by a digit.\n    case 46: // '.'\n      if (next >= 48 && next <= 57) return readNumber(String.fromCharCode(code));\n      ++tokPos;\n      return finishToken(_dot);\n\n      // Punctuation tokens.\n    case 40: ++tokPos; return finishToken(_parenL);\n    case 41: ++tokPos; return finishToken(_parenR);\n    case 59: ++tokPos; return finishToken(_semi);\n    case 44: ++tokPos; return finishToken(_comma);\n    case 91: ++tokPos; return finishToken(_bracketL);\n    case 93: ++tokPos; return finishToken(_bracketR);\n    case 123: ++tokPos; return finishToken(_braceL);\n    case 125: ++tokPos; return finishToken(_braceR);\n    case 58: ++tokPos; return finishToken(_colon);\n    case 63: ++tokPos; return finishToken(_question);\n\n      // '0x' is a hexadecimal number.\n    case 48: // '0'\n      if (next === 120 || next === 88) return readHexNumber();\n      // Anything else beginning with a digit is an integer, octal\n      // number, or float.\n    case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: // 1-9\n      return readNumber(String.fromCharCode(code));\n\n      // Quotes produce strings.\n    case 34: case 39: // '\"', \"'\"\n      return readString(code);\n\n    // Operators are parsed inline in tiny state machines. '=' (61) is\n    // often referred to. `finishOp` simply skips the amount of\n    // characters it is given as second argument, and returns a token\n    // of the type given by its first argument.\n\n    case 47: // '/'\n      if (tokRegexpAllowed) {++tokPos; return readRegexp();}\n      if (next === 61) return finishOp(_assign, 2);\n      return finishOp(_slash, 1);\n\n    case 37: case 42: // '%*'\n      if (next === 61) return finishOp(_assign, 2);\n      return finishOp(_bin10, 1);\n\n    case 124: case 38: // '|&'\n      if (next === code) return finishOp(code === 124 ? _bin1 : _bin2, 2);\n      if (next === 61) return finishOp(_assign, 2);\n      return finishOp(code === 124 ? _bin3 : _bin5, 1);\n\n    case 94: // '^'\n      if (next === 61) return finishOp(_assign, 2);\n      return finishOp(_bin4, 1);\n\n    case 43: case 45: // '+-'\n      if (next === code) return finishOp(_incdec, 2);\n      if (next === 61) return finishOp(_assign, 2);\n      return finishOp(_plusmin, 1);\n\n    case 60: case 62: // '<>'\n      var size = 1;\n      if (next === code) {\n        size = code === 62 && input.charCodeAt(tokPos+2) === 62 ? 3 : 2;\n        if (input.charCodeAt(tokPos + size) === 61) return finishOp(_assign, size + 1);\n        return finishOp(_bin8, size);\n      }\n      if (next === 61)\n        size = input.charCodeAt(tokPos+2) === 61 ? 3 : 2;\n      return finishOp(_bin7, size);\n\n    case 61: case 33: // '=!'\n      if (next === 61) return finishOp(_bin6, input.charCodeAt(tokPos+2) === 61 ? 3 : 2);\n      return finishOp(code === 61 ? _eq : _prefix, 1);\n\n    case 126: // '~'\n      return finishOp(_prefix, 1);\n    }\n\n    // If we are here, we either found a non-ASCII identifier\n    // character, or something that's entirely disallowed.\n    var ch = String.fromCharCode(code);\n    if (ch === \"\\\\\" || nonASCIIidentifierStart.test(ch)) return readWord();\n    raise(tokPos, \"Unexpected character '\" + ch + \"'\");\n  }\n\n  function finishOp(type, size) {\n    var str = input.slice(tokPos, tokPos + size);\n    tokPos += size;\n    finishToken(type, str);\n  }\n\n  // Parse a regular expression. Some context-awareness is necessary,\n  // since a '/' inside a '[]' set does not end the expression.\n\n  function readRegexp() {\n    var content = \"\", escaped, inClass, start = tokPos;\n    for (;;) {\n      if (tokPos >= inputLen) raise(start, \"Unterminated regular expression\");\n      var ch = input.charAt(tokPos);\n      if (newline.test(ch)) raise(start, \"Unterminated regular expression\");\n      if (!escaped) {\n        if (ch === \"[\") inClass = true;\n        else if (ch === \"]\" && inClass) inClass = false;\n        else if (ch === \"/\" && !inClass) break;\n        escaped = ch === \"\\\\\";\n      } else escaped = false;\n      ++tokPos;\n    }\n    var content = input.slice(start, tokPos);\n    ++tokPos;\n    // Need to use `readWord1` because '\\uXXXX' sequences are allowed\n    // here (don't ask).\n    var mods = readWord1();\n    if (mods && !/^[gmsiy]*$/.test(mods)) raise(start, \"Invalid regexp flag\");\n    return finishToken(_regexp, new RegExp(content, mods));\n  }\n\n  // Read an integer in the given radix. Return null if zero digits\n  // were read, the integer value otherwise. When `len` is given, this\n  // will return `null` unless the integer has exactly `len` digits.\n\n  function readInt(radix, len) {\n    var start = tokPos, total = 0;\n    for (;;) {\n      var code = input.charCodeAt(tokPos), val;\n      if (code >= 97) val = code - 97 + 10; // a\n      else if (code >= 65) val = code - 65 + 10; // A\n      else if (code >= 48 && code <= 57) val = code - 48; // 0-9\n      else val = Infinity;\n      if (val >= radix) break;\n      ++tokPos;\n      total = total * radix + val;\n    }\n    if (tokPos === start || len != null && tokPos - start !== len) return null;\n\n    return total;\n  }\n\n  function readHexNumber() {\n    tokPos += 2; // 0x\n    var val = readInt(16);\n    if (val == null) raise(tokStart + 2, \"Expected hexadecimal number\");\n    if (isIdentifierStart(input.charCodeAt(tokPos))) raise(tokPos, \"Identifier directly after number\");\n    return finishToken(_num, val);\n  }\n\n  // Read an integer, octal integer, or floating-point number.\n  \n  function readNumber(ch) {\n    var start = tokPos, isFloat = ch === \".\";\n    if (!isFloat && readInt(10) == null) raise(start, \"Invalid number\");\n    if (isFloat || input.charAt(tokPos) === \".\") {\n      var next = input.charAt(++tokPos);\n      if (next === \"-\" || next === \"+\") ++tokPos;\n      if (readInt(10) === null && ch === \".\") raise(start, \"Invalid number\");\n      isFloat = true;\n    }\n    if (/e/i.test(input.charAt(tokPos))) {\n      var next = input.charAt(++tokPos);\n      if (next === \"-\" || next === \"+\") ++tokPos;\n      if (readInt(10) === null) raise(start, \"Invalid number\")\n      isFloat = true;\n    }\n    if (isIdentifierStart(input.charCodeAt(tokPos))) raise(tokPos, \"Identifier directly after number\");\n\n    var str = input.slice(start, tokPos), val;\n    if (isFloat) val = parseFloat(str);\n    else if (ch !== \"0\" || str.length === 1) val = parseInt(str, 10);\n    else if (/[89]/.test(str) || strict) raise(start, \"Invalid number\");\n    else val = parseInt(str, 8);\n    return finishToken(_num, val);\n  }\n\n  // Read a string value, interpreting backslash-escapes.\n\n  function readString(quote) {\n    tokPos++;\n    var str = [];\n    for (;;) {\n      if (tokPos >= inputLen) raise(tokStart, \"Unterminated string constant\");\n      var ch = input.charCodeAt(tokPos);\n      if (ch === quote) {\n        ++tokPos;\n        return finishToken(_string, String.fromCharCode.apply(null, str));\n      }\n      if (ch === 92) { // '\\'\n        ch = input.charCodeAt(++tokPos);\n        var octal = /^[0-7]+/.exec(input.slice(tokPos, tokPos + 3));\n        if (octal) octal = octal[0];\n        while (octal && parseInt(octal, 8) > 255) octal = octal.slice(0, octal.length - 1);\n        if (octal === \"0\") octal = null;\n        ++tokPos;\n        if (octal) {\n          if (strict) raise(tokPos - 2, \"Octal literal in strict mode\");\n          str.push(parseInt(octal, 8));\n          tokPos += octal.length - 1;\n        } else {\n          switch (ch) {\n          case 110: str.push(10); break; // 'n' -> '\\n'\n          case 114: str.push(13); break; // 'r' -> '\\r'\n          case 120: str.push(readHexChar(2)); break; // 'x'\n          case 117: str.push(readHexChar(4)); break; // 'u'\n          case 85: str.push(readHexChar(8)); break; // 'U'\n          case 116: str.push(9); break; // 't' -> '\\t'\n          case 98: str.push(8); break; // 'b' -> '\\b'\n          case 118: str.push(11); break; // 'v' -> '\\u000b'\n          case 102: str.push(12); break; // 'f' -> '\\f'\n          case 48: str.push(0); break; // 0 -> '\\0'\n          case 13: if (input.charCodeAt(tokPos) === 10) ++tokPos; // '\\r\\n'\n          case 10: break; // ' \\n'\n          default: str.push(ch); break;\n          }\n        }\n      } else {\n        if (ch === 13 || ch === 10 || ch === 8232 || ch === 8329) raise(tokStart, \"Unterminated string constant\");\n        if (ch !== 92) str.push(ch); // '\\'\n        ++tokPos;\n      }\n    }\n  }\n\n  // Used to read character escape sequences ('\\x', '\\u', '\\U').\n\n  function readHexChar(len) {\n    var n = readInt(16, len);\n    if (n === null) raise(tokStart, \"Bad character escape sequence\");\n    return n;\n  }\n\n  // Used to signal to callers of `readWord1` whether the word\n  // contained any escape sequences. This is needed because words with\n  // escape sequences must not be interpreted as keywords.\n\n  var containsEsc;\n\n  // Read an identifier, and return it as a string. Sets `containsEsc`\n  // to whether the word contained a '\\u' escape.\n  //\n  // Only builds up the word character-by-character when it actually\n  // containeds an escape, as a micro-optimization.\n\n  function readWord1() {\n    containsEsc = false;\n    var word, first = true, start = tokPos;\n    for (;;) {\n      var ch = input.charCodeAt(tokPos);\n      if (isIdentifierChar(ch)) {\n        if (containsEsc) word += input.charAt(tokPos);\n        ++tokPos;\n      } else if (ch === 92) { // \"\\\"\n        if (!containsEsc) word = input.slice(start, tokPos);\n        containsEsc = true;\n        if (input.charCodeAt(++tokPos) != 117) // \"u\"\n          raise(tokPos, \"Expecting Unicode escape sequence \\\\uXXXX\");\n        ++tokPos;\n        var esc = readHexChar(4);\n        var escStr = String.fromCharCode(esc);\n        if (!escStr) raise(tokPos - 1, \"Invalid Unicode escape\");\n        if (!(first ? isIdentifierStart(esc) : isIdentifierChar(esc)))\n          raise(tokPos - 4, \"Invalid Unicode escape\");\n        word += escStr;\n      } else {\n        break;\n      }\n      first = false;\n    }\n    return containsEsc ? word : input.slice(start, tokPos);\n  }\n\n  // Read an identifier or keyword token. Will check for reserved\n  // words when necessary.\n\n  function readWord() {\n    var word = readWord1();\n    var type = _name;\n    if (!containsEsc) {\n      if (isKeyword(word)) type = keywordTypes[word];\n      else if (options.forbidReserved &&\n               (options.ecmaVersion === 3 ? isReservedWord3 : isReservedWord5)(word) ||\n               strict && isStrictReservedWord(word))\n        raise(tokStart, \"The keyword '\" + word + \"' is reserved\");\n    }\n    return finishToken(type, word);\n  }\n\n  // ## Parser\n\n  // A recursive descent parser operates by defining functions for all\n  // syntactic elements, and recursively calling those, each function\n  // advancing the input stream and returning an AST node. Precedence\n  // of constructs (for example, the fact that `!x[1]` means `!(x[1])`\n  // instead of `(!x)[1]` is handled by the fact that the parser\n  // function that parses unary prefix operators is called first, and\n  // in turn calls the function that parses `[]` subscripts — that\n  // way, it'll receive the node for `x[1]` already parsed, and wraps\n  // *that* in the unary operator node.\n  //\n  // Acorn uses an [operator precedence parser][opp] to handle binary\n  // operator precedence, because it is much more compact than using\n  // the technique outlined above, which uses different, nesting\n  // functions to specify precedence, for all of the ten binary\n  // precedence levels that JavaScript defines.\n  //\n  // [opp]: http://en.wikipedia.org/wiki/Operator-precedence_parser\n\n  // ### Parser utilities\n\n  // Continue to the next token.\n  \n  function next() {\n    lastStart = tokStart;\n    lastEnd = tokEnd;\n    lastEndLoc = tokEndLoc;\n    readToken();\n  }\n\n  // Enter strict mode. Re-reads the next token to please pedantic\n  // tests (\"use strict\"; 010; -- should fail).\n\n  function setStrict(strct) {\n    strict = strct;\n    tokPos = lastEnd;\n    skipSpace();\n    readToken();\n  }\n\n  // Start an AST node, attaching a start offset and optionally a\n  // `commentsBefore` property to it.\n\n  function startNode() {\n    var node = {type: null, start: tokStart, end: null};\n    if (options.trackComments && tokCommentsBefore) {\n      node.commentsBefore = tokCommentsBefore;\n      tokCommentsBefore = null;\n    }\n    if (options.locations)\n      node.loc = {start: tokStartLoc, end: null, source: sourceFile};\n    if (options.ranges)\n      node.range = [tokStart, 0];\n    return node;\n  }\n\n  // Start a node whose start offset/comments information should be\n  // based on the start of another node. For example, a binary\n  // operator node is only started after its left-hand side has\n  // already been parsed.\n\n  function startNodeFrom(other) {\n    var node = {type: null, start: other.start};\n    if (other.commentsBefore) {\n      node.commentsBefore = other.commentsBefore;\n      other.commentsBefore = null;\n    }\n    if (options.locations)\n      node.loc = {start: other.loc.start, end: null, source: other.loc.source};\n    if (options.ranges)\n      node.range = [other.range[0], 0];\n\n    return node;\n  }\n\n  // Finish an AST node, adding `type`, `end`, and `commentsAfter`\n  // properties.\n  //\n  // We keep track of the last node that we finished, in order\n  // 'bubble' `commentsAfter` properties up to the biggest node. I.e.\n  // in '`1 + 1 // foo', the comment should be attached to the binary\n  // operator node, not the second literal node.\n\n  var lastFinishedNode;\n\n  function finishNode(node, type) {\n    node.type = type;\n    node.end = lastEnd;\n    if (options.trackComments) {\n      if (tokCommentsAfter) {\n        node.commentsAfter = tokCommentsAfter;\n        tokCommentsAfter = null;\n      } else if (lastFinishedNode && lastFinishedNode.end === lastEnd) {\n        node.commentsAfter = lastFinishedNode.commentsAfter;\n        lastFinishedNode.commentsAfter = null;\n      }\n      lastFinishedNode = node;\n    }\n    if (options.locations)\n      node.loc.end = lastEndLoc;\n    if (options.ranges)\n      node.range[1] = lastEnd;\n    return node;\n  }\n\n  // Test whether a statement node is the string literal `\"use strict\"`.\n\n  function isUseStrict(stmt) {\n    return options.ecmaVersion >= 5 && stmt.type === \"ExpressionStatement\" &&\n      stmt.expression.type === \"Literal\" && stmt.expression.value === \"use strict\";\n  }\n\n  // Predicate that tests whether the next token is of the given\n  // type, and if yes, consumes it as a side effect.\n\n  function eat(type) {\n    if (tokType === type) {\n      next();\n      return true;\n    }\n  }\n\n  // Test whether a semicolon can be inserted at the current position.\n\n  function canInsertSemicolon() {\n    return !options.strictSemicolons &&\n      (tokType === _eof || tokType === _braceR || newline.test(input.slice(lastEnd, tokStart)));\n  }\n\n  // Consume a semicolon, or, failing that, see if we are allowed to\n  // pretend that there is a semicolon at this position.\n\n  function semicolon() {\n    if (!eat(_semi) && !canInsertSemicolon()) unexpected();\n  }\n\n  // Expect a token of a given type. If found, consume it, otherwise,\n  // raise an unexpected token error.\n\n  function expect(type) {\n    if (tokType === type) next();\n    else unexpected();\n  }\n\n  // Raise an unexpected token error.\n\n  function unexpected() {\n    raise(tokStart, \"Unexpected token\");\n  }\n\n  // Verify that a node is an lval — something that can be assigned\n  // to.\n\n  function checkLVal(expr) {\n    if (expr.type !== \"Identifier\" && expr.type !== \"MemberExpression\")\n      raise(expr.start, \"Assigning to rvalue\");\n    if (strict && expr.type === \"Identifier\" && isStrictBadIdWord(expr.name))\n      raise(expr.start, \"Assigning to \" + expr.name + \" in strict mode\");\n  }\n\n  // ### Statement parsing\n\n  // Parse a program. Initializes the parser, reads any number of\n  // statements, and wraps them in a Program node.  Optionally takes a\n  // `program` argument.  If present, the statements will be appended\n  // to its body instead of creating a new node.\n\n  function parseTopLevel(program) {\n    initTokenState();\n    lastStart = lastEnd = tokPos;\n    if (options.locations) lastEndLoc = curLineLoc();\n    inFunction = strict = null;\n    labels = [];\n    readToken();\n\n    var node = program || startNode(), first = true;\n    if (!program) node.body = [];\n    while (tokType !== _eof) {\n      var stmt = parseStatement();\n      node.body.push(stmt);\n      if (first && isUseStrict(stmt)) setStrict(true);\n      first = false;\n    }\n    return finishNode(node, \"Program\");\n  };\n\n  var loopLabel = {kind: \"loop\"}, switchLabel = {kind: \"switch\"};\n\n  // Parse a single statement.\n  //\n  // If expecting a statement and finding a slash operator, parse a\n  // regular expression literal. This is to handle cases like\n  // `if (foo) /blah/.exec(foo);`, where looking at the previous token\n  // does not help.\n\n  function parseStatement() {\n    if (tokType === _slash)\n      readToken(true);\n\n    var starttype = tokType, node = startNode();\n\n    // Most types of statements are recognized by the keyword they\n    // start with. Many are trivial to parse, some require a bit of\n    // complexity.\n\n    switch (starttype) {\n    case _break: case _continue:\n      next();\n      var isBreak = starttype === _break;\n      if (eat(_semi) || canInsertSemicolon()) node.label = null;\n      else if (tokType !== _name) unexpected();\n      else {\n        node.label = parseIdent();\n        semicolon();\n      }\n\n      // Verify that there is an actual destination to break or\n      // continue to.\n      for (var i = 0; i < labels.length; ++i) {\n        var lab = labels[i];\n        if (node.label == null || lab.name === node.label.name) {\n          if (lab.kind != null && (isBreak || lab.kind === \"loop\")) break;\n          if (node.label && isBreak) break;\n        }\n      }\n      if (i === labels.length) raise(node.start, \"Unsyntactic \" + starttype.keyword);\n      return finishNode(node, isBreak ? \"BreakStatement\" : \"ContinueStatement\");\n\n    case _debugger:\n      next();\n      return finishNode(node, \"DebuggerStatement\");\n\n    case _do:\n      next();\n      labels.push(loopLabel);\n      node.body = parseStatement();\n      labels.pop();\n      expect(_while);\n      node.test = parseParenExpression();\n      semicolon();\n      return finishNode(node, \"DoWhileStatement\");\n\n      // Disambiguating between a `for` and a `for`/`in` loop is\n      // non-trivial. Basically, we have to parse the init `var`\n      // statement or expression, disallowing the `in` operator (see\n      // the second parameter to `parseExpression`), and then check\n      // whether the next token is `in`. When there is no init part\n      // (semicolon immediately after the opening parenthesis), it is\n      // a regular `for` loop.\n\n    case _for:\n      next();\n      labels.push(loopLabel);\n      expect(_parenL);\n      if (tokType === _semi) return parseFor(node, null);\n      if (tokType === _var) {\n        var init = startNode();\n        next();\n        parseVar(init, true);\n        if (init.declarations.length === 1 && eat(_in))\n          return parseForIn(node, init);\n        return parseFor(node, init);\n      }\n      var init = parseExpression(false, true);\n      if (eat(_in)) {checkLVal(init); return parseForIn(node, init);}\n      return parseFor(node, init);\n\n    case _function:\n      next();\n      return parseFunction(node, true);\n\n    case _if:\n      next();\n      node.test = parseParenExpression();\n      node.consequent = parseStatement();\n      node.alternate = eat(_else) ? parseStatement() : null;\n      return finishNode(node, \"IfStatement\");\n\n    case _return:\n      if (!inFunction) raise(tokStart, \"'return' outside of function\");\n      next();\n\n      // In `return` (and `break`/`continue`), the keywords with\n      // optional arguments, we eagerly look for a semicolon or the\n      // possibility to insert one.\n      \n      if (eat(_semi) || canInsertSemicolon()) node.argument = null;\n      else { node.argument = parseExpression(); semicolon(); }\n      return finishNode(node, \"ReturnStatement\");\n\n    case _switch:\n      next();\n      node.discriminant = parseParenExpression();\n      node.cases = [];\n      expect(_braceL);\n      labels.push(switchLabel);\n\n      // Statements under must be grouped (by label) in SwitchCase\n      // nodes. `cur` is used to keep the node that we are currently\n      // adding statements to.\n      \n      for (var cur, sawDefault; tokType != _braceR;) {\n        if (tokType === _case || tokType === _default) {\n          var isCase = tokType === _case;\n          if (cur) finishNode(cur, \"SwitchCase\");\n          node.cases.push(cur = startNode());\n          cur.consequent = [];\n          next();\n          if (isCase) cur.test = parseExpression();\n          else {\n            if (sawDefault) raise(lastStart, \"Multiple default clauses\"); sawDefault = true;\n            cur.test = null;\n          }\n          expect(_colon);\n        } else {\n          if (!cur) unexpected();\n          cur.consequent.push(parseStatement());\n        }\n      }\n      if (cur) finishNode(cur, \"SwitchCase\");\n      next(); // Closing brace\n      labels.pop();\n      return finishNode(node, \"SwitchStatement\");\n\n    case _throw:\n      next();\n      if (newline.test(input.slice(lastEnd, tokStart)))\n        raise(lastEnd, \"Illegal newline after throw\");\n      node.argument = parseExpression();\n      return finishNode(node, \"ThrowStatement\");\n\n    case _try:\n      next();\n      node.block = parseBlock();\n      node.handlers = [];\n      while (tokType === _catch) {\n        var clause = startNode();\n        next();\n        expect(_parenL);\n        clause.param = parseIdent();\n        if (strict && isStrictBadIdWord(clause.param.name))\n          raise(clause.param.start, \"Binding \" + clause.param.name + \" in strict mode\");\n        expect(_parenR);\n        clause.guard = null;\n        clause.body = parseBlock();\n        node.handlers.push(finishNode(clause, \"CatchClause\"));\n      }\n      node.finalizer = eat(_finally) ? parseBlock() : null;\n      if (!node.handlers.length && !node.finalizer)\n        raise(node.start, \"Missing catch or finally clause\");\n      return finishNode(node, \"TryStatement\");\n\n    case _var:\n      next();\n      node = parseVar(node);\n      semicolon();\n      return node;\n\n    case _while:\n      next();\n      node.test = parseParenExpression();\n      labels.push(loopLabel);\n      node.body = parseStatement();\n      labels.pop();\n      return finishNode(node, \"WhileStatement\");\n\n    case _with:\n      if (strict) raise(tokStart, \"'with' in strict mode\");\n      next();\n      node.object = parseParenExpression();\n      node.body = parseStatement();\n      return finishNode(node, \"WithStatement\");\n\n    case _braceL:\n      return parseBlock();\n\n    case _semi:\n      next();\n      return finishNode(node, \"EmptyStatement\");\n\n      // If the statement does not start with a statement keyword or a\n      // brace, it's an ExpressionStatement or LabeledStatement. We\n      // simply start parsing an expression, and afterwards, if the\n      // next token is a colon and the expression was a simple\n      // Identifier node, we switch to interpreting it as a label.\n\n    default:\n      var maybeName = tokVal, expr = parseExpression();\n      if (starttype === _name && expr.type === \"Identifier\" && eat(_colon)) {\n        for (var i = 0; i < labels.length; ++i)\n          if (labels[i].name === maybeName) raise(expr.start, \"Label '\" + maybeName + \"' is already declared\");\n        var kind = tokType.isLoop ? \"loop\" : tokType === _switch ? \"switch\" : null;\n        labels.push({name: maybeName, kind: kind});\n        node.body = parseStatement();\n        node.label = expr;\n        return finishNode(node, \"LabeledStatement\");\n      } else {\n        node.expression = expr;\n        semicolon();\n        return finishNode(node, \"ExpressionStatement\");\n      }\n    }\n  }\n\n  // Used for constructs like `switch` and `if` that insist on\n  // parentheses around their expression.\n\n  function parseParenExpression() {\n    expect(_parenL);\n    var val = parseExpression();\n    expect(_parenR);\n    return val;\n  }\n\n  // Parse a semicolon-enclosed block of statements, handling `\"use\n  // strict\"` declarations when `allowStrict` is true (used for\n  // function bodies).\n\n  function parseBlock(allowStrict) {\n    var node = startNode(), first = true, strict = false, oldStrict;\n    node.body = [];\n    expect(_braceL);\n    while (!eat(_braceR)) {\n      var stmt = parseStatement();\n      node.body.push(stmt);\n      if (first && isUseStrict(stmt)) {\n        oldStrict = strict;\n        setStrict(strict = true);\n      }\n      first = false\n    }\n    if (strict && !oldStrict) setStrict(false);\n    return finishNode(node, \"BlockStatement\");\n  }\n\n  // Parse a regular `for` loop. The disambiguation code in\n  // `parseStatement` will already have parsed the init statement or\n  // expression.\n\n  function parseFor(node, init) {\n    node.init = init;\n    expect(_semi);\n    node.test = tokType === _semi ? null : parseExpression();\n    expect(_semi);\n    node.update = tokType === _parenR ? null : parseExpression();\n    expect(_parenR);\n    node.body = parseStatement();\n    labels.pop();\n    return finishNode(node, \"ForStatement\");\n  }\n\n  // Parse a `for`/`in` loop.\n\n  function parseForIn(node, init) {\n    node.left = init;\n    node.right = parseExpression();\n    expect(_parenR);\n    node.body = parseStatement();\n    labels.pop();\n    return finishNode(node, \"ForInStatement\");\n  }\n\n  // Parse a list of variable declarations.\n\n  function parseVar(node, noIn) {\n    node.declarations = [];\n    node.kind = \"var\";\n    for (;;) {\n      var decl = startNode();\n      decl.id = parseIdent();\n      if (strict && isStrictBadIdWord(decl.id.name))\n        raise(decl.id.start, \"Binding \" + decl.id.name + \" in strict mode\");\n      decl.init = eat(_eq) ? parseExpression(true, noIn) : null;\n      node.declarations.push(finishNode(decl, \"VariableDeclarator\"));\n      if (!eat(_comma)) break;\n    }\n    return finishNode(node, \"VariableDeclaration\");\n  }\n\n  // ### Expression parsing\n\n  // These nest, from the most general expression type at the top to\n  // 'atomic', nondivisible expression types at the bottom. Most of\n  // the functions will simply let the function(s) below them parse,\n  // and, *if* the syntactic construct they handle is present, wrap\n  // the AST node that the inner parser gave them in another node.\n\n  // Parse a full expression. The arguments are used to forbid comma\n  // sequences (in argument lists, array literals, or object literals)\n  // or the `in` operator (in for loops initalization expressions).\n\n  function parseExpression(noComma, noIn) {\n    var expr = parseMaybeAssign(noIn);\n    if (!noComma && tokType === _comma) {\n      var node = startNodeFrom(expr);\n      node.expressions = [expr];\n      while (eat(_comma)) node.expressions.push(parseMaybeAssign(noIn));\n      return finishNode(node, \"SequenceExpression\");\n    }\n    return expr;\n  }\n\n  // Parse an assignment expression. This includes applications of\n  // operators like `+=`.\n\n  function parseMaybeAssign(noIn) {\n    var left = parseMaybeConditional(noIn);\n    if (tokType.isAssign) {\n      var node = startNodeFrom(left);\n      node.operator = tokVal;\n      node.left = left;\n      next();\n      node.right = parseMaybeAssign(noIn);\n      checkLVal(left);\n      return finishNode(node, \"AssignmentExpression\");\n    }\n    return left;\n  }\n\n  // Parse a ternary conditional (`?:`) operator.\n\n  function parseMaybeConditional(noIn) {\n    var expr = parseExprOps(noIn);\n    if (eat(_question)) {\n      var node = startNodeFrom(expr);\n      node.test = expr;\n      node.consequent = parseExpression(true);\n      expect(_colon);\n      node.alternate = parseExpression(true, noIn);\n      return finishNode(node, \"ConditionalExpression\");\n    }\n    return expr;\n  }\n\n  // Start the precedence parser.\n\n  function parseExprOps(noIn) {\n    return parseExprOp(parseMaybeUnary(noIn), -1, noIn);\n  }\n\n  // Parse binary operators with the operator precedence parsing\n  // algorithm. `left` is the left-hand side of the operator.\n  // `minPrec` provides context that allows the function to stop and\n  // defer further parser to one of its callers when it encounters an\n  // operator that has a lower precedence than the set it is parsing.\n\n  function parseExprOp(left, minPrec, noIn) {\n    var prec = tokType.binop;\n    if (prec != null && (!noIn || tokType !== _in)) {\n      if (prec > minPrec) {\n        var node = startNodeFrom(left);\n        node.left = left;\n        node.operator = tokVal;\n        next();\n        node.right = parseExprOp(parseMaybeUnary(noIn), prec, noIn);\n        var node = finishNode(node, /&&|\\|\\|/.test(node.operator) ? \"LogicalExpression\" : \"BinaryExpression\");\n        return parseExprOp(node, minPrec, noIn);\n      }\n    }\n    return left;\n  }\n\n  // Parse unary operators, both prefix and postfix.\n\n  function parseMaybeUnary(noIn) {\n    if (tokType.prefix) {\n      var node = startNode(), update = tokType.isUpdate;\n      node.operator = tokVal;\n      node.prefix = true;\n      next();\n      node.argument = parseMaybeUnary(noIn);\n      if (update) checkLVal(node.argument);\n      else if (strict && node.operator === \"delete\" &&\n               node.argument.type === \"Identifier\")\n        raise(node.start, \"Deleting local variable in strict mode\");\n      return finishNode(node, update ? \"UpdateExpression\" : \"UnaryExpression\");\n    }\n    var expr = parseExprSubscripts();\n    while (tokType.postfix && !canInsertSemicolon()) {\n      var node = startNodeFrom(expr);\n      node.operator = tokVal;\n      node.prefix = false;\n      node.argument = expr;\n      checkLVal(expr);\n      next();\n      expr = finishNode(node, \"UpdateExpression\");\n    }\n    return expr;\n  }\n\n  // Parse call, dot, and `[]`-subscript expressions.\n\n  function parseExprSubscripts() {\n    return parseSubscripts(parseExprAtom());\n  }\n\n  function parseSubscripts(base, noCalls) {\n    if (eat(_dot)) {\n      var node = startNodeFrom(base);\n      node.object = base;\n      node.property = parseIdent(true);\n      node.computed = false;\n      return parseSubscripts(finishNode(node, \"MemberExpression\"), noCalls);\n    } else if (eat(_bracketL)) {\n      var node = startNodeFrom(base);\n      node.object = base;\n      node.property = parseExpression();\n      node.computed = true;\n      expect(_bracketR);\n      return parseSubscripts(finishNode(node, \"MemberExpression\"), noCalls);\n    } else if (!noCalls && eat(_parenL)) {\n      var node = startNodeFrom(base);\n      node.callee = base;\n      node.arguments = parseExprList(_parenR, false);\n      return parseSubscripts(finishNode(node, \"CallExpression\"), noCalls);\n    } else return base;\n  }\n\n  // Parse an atomic expression — either a single token that is an\n  // expression, an expression started by a keyword like `function` or\n  // `new`, or an expression wrapped in punctuation like `()`, `[]`,\n  // or `{}`.\n\n  function parseExprAtom() {\n    switch (tokType) {\n    case _this:\n      var node = startNode();\n      next();\n      return finishNode(node, \"ThisExpression\");\n    case _name:\n      return parseIdent();\n    case _num: case _string: case _regexp:\n      var node = startNode();\n      node.value = tokVal;\n      node.raw = input.slice(tokStart, tokEnd);\n      next();\n      return finishNode(node, \"Literal\");\n\n    case _null: case _true: case _false:\n      var node = startNode();\n      node.value = tokType.atomValue;\n      next();\n      return finishNode(node, \"Literal\");\n\n    case _parenL:\n      next();\n      var val = parseExpression();\n      expect(_parenR);\n      return val;\n\n    case _bracketL:\n      var node = startNode();\n      next();\n      node.elements = parseExprList(_bracketR, true, true);\n      return finishNode(node, \"ArrayExpression\");\n\n    case _braceL:\n      return parseObj();\n\n    case _function:\n      var node = startNode();\n      next();\n      return parseFunction(node, false);\n\n    case _new:\n      return parseNew();\n\n    default:\n      unexpected();\n    }\n  }\n\n  // New's precedence is slightly tricky. It must allow its argument\n  // to be a `[]` or dot subscript expression, but not a call — at\n  // least, not without wrapping it in parentheses. Thus, it uses the \n\n  function parseNew() {\n    var node = startNode();\n    next();\n    node.callee = parseSubscripts(parseExprAtom(false), true);\n    if (eat(_parenL)) node.arguments = parseExprList(_parenR, false);\n    else node.arguments = [];\n    return finishNode(node, \"NewExpression\");\n  }\n\n  // Parse an object literal.\n\n  function parseObj() {\n    var node = startNode(), first = true, sawGetSet = false;\n    node.properties = [];\n    next();\n    while (!eat(_braceR)) {\n      if (!first) {\n        expect(_comma);\n        if (options.allowTrailingCommas && eat(_braceR)) break;\n      } else first = false;\n\n      var prop = {key: parsePropertyName()}, isGetSet = false, kind;\n      if (eat(_colon)) {\n        prop.value = parseExpression(true);\n        kind = prop.kind = \"init\";\n      } else if (options.ecmaVersion >= 5 && prop.key.type === \"Identifier\" &&\n                 (prop.key.name === \"get\" || prop.key.name === \"set\")) {\n        isGetSet = sawGetSet = true;\n        kind = prop.kind = prop.key.name;\n        prop.key = parsePropertyName();\n        if (!tokType === _parenL) unexpected();\n        prop.value = parseFunction(startNode(), false);\n      } else unexpected();\n\n      // getters and setters are not allowed to clash — either with\n      // each other or with an init property — and in strict mode,\n      // init properties are also not allowed to be repeated.\n\n      if (prop.key.type === \"Identifier\" && (strict || sawGetSet)) {\n        for (var i = 0; i < node.properties.length; ++i) {\n          var other = node.properties[i];\n          if (other.key.name === prop.key.name) {\n            var conflict = kind == other.kind || isGetSet && other.kind === \"init\" ||\n              kind === \"init\" && (other.kind === \"get\" || other.kind === \"set\");\n            if (conflict && !strict && kind === \"init\" && other.kind === \"init\") conflict = false;\n            if (conflict) raise(prop.key.start, \"Redefinition of property\");\n          }\n        }\n      }\n      node.properties.push(prop);\n    }\n    return finishNode(node, \"ObjectExpression\");\n  }\n\n  function parsePropertyName() {\n    if (tokType === _num || tokType === _string) return parseExprAtom();\n    return parseIdent(true);\n  }\n\n  // Parse a function declaration or literal (depending on the\n  // `isStatement` parameter).\n\n  function parseFunction(node, isStatement) {\n    if (tokType === _name) node.id = parseIdent();\n    else if (isStatement) unexpected();\n    else node.id = null;\n    node.params = [];\n    var first = true;\n    expect(_parenL);\n    while (!eat(_parenR)) {\n      if (!first) expect(_comma); else first = false;\n      node.params.push(parseIdent());\n    }\n\n    // Start a new scope with regard to labels and the `inFunction`\n    // flag (restore them to their old value afterwards).\n    var oldInFunc = inFunction, oldLabels = labels;\n    inFunction = true; labels = [];\n    node.body = parseBlock(true);\n    inFunction = oldInFunc; labels = oldLabels;\n\n    // If this is a strict mode function, verify that argument names\n    // are not repeated, and it does not try to bind the words `eval`\n    // or `arguments`.\n    if (strict || node.body.body.length && isUseStrict(node.body.body[0])) {\n      for (var i = node.id ? -1 : 0; i < node.params.length; ++i) {\n        var id = i < 0 ? node.id : node.params[i];\n        if (isStrictReservedWord(id.name) || isStrictBadIdWord(id.name))\n          raise(id.start, \"Defining '\" + id.name + \"' in strict mode\");\n        if (i >= 0) for (var j = 0; j < i; ++j) if (id.name === node.params[j].name)\n          raise(id.start, \"Argument name clash in strict mode\");\n      }\n    }\n\n    return finishNode(node, isStatement ? \"FunctionDeclaration\" : \"FunctionExpression\");\n  }\n\n  // Parses a comma-separated list of expressions, and returns them as\n  // an array. `close` is the token type that ends the list, and\n  // `allowEmpty` can be turned on to allow subsequent commas with\n  // nothing in between them to be parsed as `null` (which is needed\n  // for array literals).\n\n  function parseExprList(close, allowTrailingComma, allowEmpty) {\n    var elts = [], first = true;\n    while (!eat(close)) {\n      if (!first) {\n        expect(_comma);\n        if (allowTrailingComma && options.allowTrailingCommas && eat(close)) break;\n      } else first = false;\n\n      if (allowEmpty && tokType === _comma) elts.push(null);\n      else elts.push(parseExpression(true));\n    }\n    return elts;\n  }\n\n  // Parse the next token as an identifier. If `liberal` is true (used\n  // when parsing properties), it will also convert keywords into\n  // identifiers.\n\n  function parseIdent(liberal) {\n    var node = startNode();\n    node.name = tokType === _name ? tokVal : (liberal && !options.forbidReserved && tokType.keyword) || unexpected();\n    next();\n    return finishNode(node, \"Identifier\");\n  }\n\n})(typeof exports === \"undefined\" ? (window.acorn = {}) : exports);\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/lint/lint.js",
    "content": "/*\n Simple linter, based on the Acorn [1] parser module\n\n All of the existing linters either cramp my style or have huge\n dependencies (Closure). So here's a very simple, non-invasive one\n that only spots\n\n  - missing semicolons and trailing commas\n  - variables or properties that are reserved words\n  - assigning to a variable you didn't declare\n  - access to non-whitelisted globals\n    (use a '// declare global: foo, bar' comment to declare extra\n    globals in a file)\n\n [1]: https://github.com/marijnh/acorn/\n*/\n\nvar topAllowedGlobals = Object.create(null);\n(\"Error RegExp Number String Array Function Object Math Date undefined \" +\n \"parseInt parseFloat Infinity NaN isNaN \" +\n \"window document navigator prompt alert confirm console \" +\n \"FileReader Worker postMessage importScripts \" +\n \"setInterval clearInterval setTimeout clearTimeout \" +\n \"CodeMirror test\")\n  .split(\" \").forEach(function(n) { topAllowedGlobals[n] = true; });\n\nvar fs = require(\"fs\"), acorn = require(\"./acorn.js\"), walk = require(\"./walk.js\");\n\nvar scopePasser = walk.make({\n  ScopeBody: function(node, prev, c) { c(node, node.scope); }\n});\n\nfunction checkFile(fileName) {\n  var file = fs.readFileSync(fileName, \"utf8\"), notAllowed;\n  if (notAllowed = file.match(/[\\x00-\\x08\\x0b\\x0c\\x0e-\\x19\\uFEFF\\t]|[ \\t]\\n/)) {\n    var msg;\n    if (notAllowed[0] == \"\\t\") msg = \"Found tab character\";\n    else if (notAllowed[0].indexOf(\"\\n\") > -1) msg = \"Trailing whitespace\";\n    else msg = \"Undesirable character \" + notAllowed[0].charCodeAt(0);\n    var info = acorn.getLineInfo(file, notAllowed.index);\n    fail(msg + \" at line \" + info.line + \", column \" + info.column, {source: fileName});\n  }\n  \n  var globalsSeen = Object.create(null);\n\n  try {\n    var parsed = acorn.parse(file, {\n      locations: true,\n      ecmaVersion: 3,\n      strictSemicolons: true,\n      allowTrailingCommas: false,\n      forbidReserved: true,\n      sourceFile: fileName\n    });\n  } catch (e) {\n    fail(e.message, {source: fileName});\n    return;\n  }\n\n  var scopes = [];\n\n  walk.simple(parsed, {\n    ScopeBody: function(node, scope) {\n      node.scope = scope;\n      scopes.push(scope);\n    }\n  }, walk.scopeVisitor, {vars: Object.create(null)});\n\n  var ignoredGlobals = Object.create(null);\n\n  function inScope(name, scope) {\n    for (var cur = scope; cur; cur = cur.prev)\n      if (name in cur.vars) return true;\n  }\n  function checkLHS(node, scope) {\n    if (node.type == \"Identifier\" && !(node.name in ignoredGlobals) &&\n        !inScope(node.name, scope)) {\n      ignoredGlobals[node.name] = true;\n      fail(\"Assignment to global variable\", node.loc);\n    }\n  }\n\n  walk.simple(parsed, {\n    UpdateExpression: function(node, scope) {checkLHS(node.argument, scope);},\n    AssignmentExpression: function(node, scope) {checkLHS(node.left, scope);},\n    Identifier: function(node, scope) {\n      if (node.name == \"arguments\") return;\n      // Mark used identifiers\n      for (var cur = scope; cur; cur = cur.prev)\n        if (node.name in cur.vars) {\n          cur.vars[node.name].used = true;\n          return;\n        }\n      globalsSeen[node.name] = node.loc;\n    },\n    FunctionExpression: function(node) {\n      if (node.id) fail(\"Named function expression\", node.loc);\n    }\n  }, scopePasser);\n\n  if (!globalsSeen.exports) {\n    var allowedGlobals = Object.create(topAllowedGlobals), m;\n    if (m = file.match(/\\/\\/ declare global:\\s+(.*)/))\n      m[1].split(/,\\s*/g).forEach(function(n) { allowedGlobals[n] = true; });\n    for (var glob in globalsSeen)\n      if (!(glob in allowedGlobals))\n        fail(\"Access to global variable \" + glob + \". Add a '// declare global: \" + glob +\n             \"' comment or add this variable in test/lint/lint.js.\", globalsSeen[glob]);\n  }\n\n\n  for (var i = 0; i < scopes.length; ++i) {\n    var scope = scopes[i];\n    for (var name in scope.vars) {\n      var info = scope.vars[name];\n      if (!info.used && info.type != \"catch clause\" && info.type != \"function name\" && name.charAt(0) != \"_\")\n        fail(\"Unused \" + info.type + \" \" + name, info.node.loc);\n    }\n  }\n}\n\nvar failed = false;\nfunction fail(msg, pos) {\n  if (pos.start) msg += \" (\" + pos.start.line + \":\" + pos.start.column + \")\";\n  console.log(pos.source + \": \" + msg);\n  failed = true;\n}\n\nfunction checkDir(dir) {\n  fs.readdirSync(dir).forEach(function(file) {\n    var fname = dir + \"/\" + file;\n    if (/\\.js$/.test(file)) checkFile(fname);\n    else if (file != \"dep\" && fs.lstatSync(fname).isDirectory()) checkDir(fname);\n  });\n}\n\nexports.checkDir = checkDir;\nexports.checkFile = checkFile;\nexports.success = function() { return !failed; };\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/lint/walk.js",
    "content": "// AST walker module for Mozilla Parser API compatible trees\n\n(function(exports) {\n  \"use strict\";\n\n  // A simple walk is one where you simply specify callbacks to be\n  // called on specific nodes. The last two arguments are optional. A\n  // simple use would be\n  //\n  //     walk.simple(myTree, {\n  //         Expression: function(node) { ... }\n  //     });\n  //\n  // to do something with all expressions. All Parser API node types\n  // can be used to identify node types, as well as Expression,\n  // Statement, and ScopeBody, which denote categories of nodes.\n  //\n  // The base argument can be used to pass a custom (recursive)\n  // walker, and state can be used to give this walked an initial\n  // state.\n  exports.simple = function(node, visitors, base, state) {\n    if (!base) base = exports;\n    function c(node, st, override) {\n      var type = override || node.type, found = visitors[type];\n      if (found) found(node, st);\n      base[type](node, st, c);\n    }\n    c(node, state);\n  };\n\n  // A recursive walk is one where your functions override the default\n  // walkers. They can modify and replace the state parameter that's\n  // threaded through the walk, and can opt how and whether to walk\n  // their child nodes (by calling their third argument on these\n  // nodes).\n  exports.recursive = function(node, state, funcs, base) {\n    var visitor = exports.make(funcs, base);\n    function c(node, st, override) {\n      visitor[override || node.type](node, st, c);\n    }\n    c(node, state);\n  };\n\n  // Used to create a custom walker. Will fill in all missing node\n  // type properties with the defaults.\n  exports.make = function(funcs, base) {\n    if (!base) base = exports;\n    var visitor = {};\n    for (var type in base)\n      visitor[type] = funcs.hasOwnProperty(type) ? funcs[type] : base[type];\n    return visitor;\n  };\n\n  function skipThrough(node, st, c) { c(node, st); }\n  function ignore(node, st, c) {}\n\n  // Node walkers.\n\n  exports.Program = exports.BlockStatement = function(node, st, c) {\n    for (var i = 0; i < node.body.length; ++i)\n      c(node.body[i], st, \"Statement\");\n  };\n  exports.Statement = skipThrough;\n  exports.EmptyStatement = ignore;\n  exports.ExpressionStatement = function(node, st, c) {\n    c(node.expression, st, \"Expression\");\n  };\n  exports.IfStatement = function(node, st, c) {\n    c(node.test, st, \"Expression\");\n    c(node.consequent, st, \"Statement\");\n    if (node.alternate) c(node.alternate, st, \"Statement\");\n  };\n  exports.LabeledStatement = function(node, st, c) {\n    c(node.body, st, \"Statement\");\n  };\n  exports.BreakStatement = exports.ContinueStatement = ignore;\n  exports.WithStatement = function(node, st, c) {\n    c(node.object, st, \"Expression\");\n    c(node.body, st, \"Statement\");\n  };\n  exports.SwitchStatement = function(node, st, c) {\n    c(node.discriminant, st, \"Expression\");\n    for (var i = 0; i < node.cases.length; ++i) {\n      var cs = node.cases[i];\n      if (cs.test) c(cs.test, st, \"Expression\");\n      for (var j = 0; j < cs.consequent.length; ++j)\n        c(cs.consequent[j], st, \"Statement\");\n    }\n  };\n  exports.ReturnStatement = function(node, st, c) {\n    if (node.argument) c(node.argument, st, \"Expression\");\n  };\n  exports.ThrowStatement = function(node, st, c) {\n    c(node.argument, st, \"Expression\");\n  };\n  exports.TryStatement = function(node, st, c) {\n    c(node.block, st, \"Statement\");\n    for (var i = 0; i < node.handlers.length; ++i)\n      c(node.handlers[i].body, st, \"ScopeBody\");\n    if (node.finalizer) c(node.finalizer, st, \"Statement\");\n  };\n  exports.WhileStatement = function(node, st, c) {\n    c(node.test, st, \"Expression\");\n    c(node.body, st, \"Statement\");\n  };\n  exports.DoWhileStatement = exports.WhileStatement;\n  exports.ForStatement = function(node, st, c) {\n    if (node.init) c(node.init, st, \"ForInit\");\n    if (node.test) c(node.test, st, \"Expression\");\n    if (node.update) c(node.update, st, \"Expression\");\n    c(node.body, st, \"Statement\");\n  };\n  exports.ForInStatement = function(node, st, c) {\n    c(node.left, st, \"ForInit\");\n    c(node.right, st, \"Expression\");\n    c(node.body, st, \"Statement\");\n  };\n  exports.ForInit = function(node, st, c) {\n    if (node.type == \"VariableDeclaration\") c(node, st);\n    else c(node, st, \"Expression\");\n  };\n  exports.DebuggerStatement = ignore;\n\n  exports.FunctionDeclaration = function(node, st, c) {\n    c(node, st, \"Function\");\n  };\n  exports.VariableDeclaration = function(node, st, c) {\n    for (var i = 0; i < node.declarations.length; ++i) {\n      var decl = node.declarations[i];\n      if (decl.init) c(decl.init, st, \"Expression\");\n    }\n  };\n\n  exports.Function = function(node, st, c) {\n    c(node.body, st, \"ScopeBody\");\n  };\n  exports.ScopeBody = function(node, st, c) {\n    c(node, st, \"Statement\");\n  };\n\n  exports.Expression = skipThrough;\n  exports.ThisExpression = ignore;\n  exports.ArrayExpression = function(node, st, c) {\n    for (var i = 0; i < node.elements.length; ++i) {\n      var elt = node.elements[i];\n      if (elt) c(elt, st, \"Expression\");\n    }\n  };\n  exports.ObjectExpression = function(node, st, c) {\n    for (var i = 0; i < node.properties.length; ++i)\n      c(node.properties[i].value, st, \"Expression\");\n  };\n  exports.FunctionExpression = exports.FunctionDeclaration;\n  exports.SequenceExpression = function(node, st, c) {\n    for (var i = 0; i < node.expressions.length; ++i)\n      c(node.expressions[i], st, \"Expression\");\n  };\n  exports.UnaryExpression = exports.UpdateExpression = function(node, st, c) {\n    c(node.argument, st, \"Expression\");\n  };\n  exports.BinaryExpression = exports.AssignmentExpression = exports.LogicalExpression = function(node, st, c) {\n    c(node.left, st, \"Expression\");\n    c(node.right, st, \"Expression\");\n  };\n  exports.ConditionalExpression = function(node, st, c) {\n    c(node.test, st, \"Expression\");\n    c(node.consequent, st, \"Expression\");\n    c(node.alternate, st, \"Expression\");\n  };\n  exports.NewExpression = exports.CallExpression = function(node, st, c) {\n    c(node.callee, st, \"Expression\");\n    if (node.arguments) for (var i = 0; i < node.arguments.length; ++i)\n      c(node.arguments[i], st, \"Expression\");\n  };\n  exports.MemberExpression = function(node, st, c) {\n    c(node.object, st, \"Expression\");\n    if (node.computed) c(node.property, st, \"Expression\");\n  };\n  exports.Identifier = exports.Literal = ignore;\n\n  // A custom walker that keeps track of the scope chain and the\n  // variables defined in it.\n  function makeScope(prev) {\n    return {vars: Object.create(null), prev: prev};\n  }\n  exports.scopeVisitor = exports.make({\n    Function: function(node, scope, c) {\n      var inner = makeScope(scope);\n      for (var i = 0; i < node.params.length; ++i)\n        inner.vars[node.params[i].name] = {type: \"argument\", node: node.params[i]};\n      if (node.id) {\n        var decl = node.type == \"FunctionDeclaration\";\n        (decl ? scope : inner).vars[node.id.name] =\n          {type: decl ? \"function\" : \"function name\", node: node.id};\n      }\n      c(node.body, inner, \"ScopeBody\");\n    },\n    TryStatement: function(node, scope, c) {\n      c(node.block, scope, \"Statement\");\n      for (var i = 0; i < node.handlers.length; ++i) {\n        var handler = node.handlers[i], inner = makeScope(scope);\n        inner.vars[handler.param.name] = {type: \"catch clause\", node: handler.param};\n        c(handler.body, inner, \"ScopeBody\");\n      }\n      if (node.finalizer) c(node.finalizer, scope, \"Statement\");\n    },\n    VariableDeclaration: function(node, scope, c) {\n      for (var i = 0; i < node.declarations.length; ++i) {\n        var decl = node.declarations[i];\n        scope.vars[decl.id.name] = {type: \"var\", node: decl.id};\n        if (decl.init) c(decl.init, scope, \"Expression\");\n      }\n    }\n  });\n\n})(typeof exports == \"undefined\" ? acorn.walk = {} : exports);\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/mode_test.css",
    "content": ".mt-output .mt-token {\n  border: 1px solid #ddd;\n  white-space: pre;\n  font-family: \"Consolas\", monospace;\n  text-align: center;\n}\n\n.mt-output .mt-style {\n  font-size: x-small;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/mode_test.js",
    "content": "/**\n * Helper to test CodeMirror highlighting modes. It pretty prints output of the\n * highlighter and can check against expected styles.\n *\n * Mode tests are registered by calling test.mode(testName, mode,\n * tokens), where mode is a mode object as returned by\n * CodeMirror.getMode, and tokens is an array of lines that make up\n * the test.\n *\n * These lines are strings, in which styled stretches of code are\n * enclosed in brackets `[]`, and prefixed by their style. For\n * example, `[keyword if]`. Brackets in the code itself must be\n * duplicated to prevent them from being interpreted as token\n * boundaries. For example `a[[i]]` for `a[i]`. If a token has\n * multiple styles, the styles must be separated by ampersands, for\n * example `[tag&error </hmtl>]`.\n *\n * See the test.js files in the css, markdown, gfm, and stex mode\n * directories for examples.\n */\n(function() {\n  function findSingle(str, pos, ch) {\n    for (;;) {\n      var found = str.indexOf(ch, pos);\n      if (found == -1) return null;\n      if (str.charAt(found + 1) != ch) return found;\n      pos = found + 2;\n    }\n  }\n\n  var styleName = /[\\w&-_]+/g;\n  function parseTokens(strs) {\n    var tokens = [], plain = \"\";\n    for (var i = 0; i < strs.length; ++i) {\n      if (i) plain += \"\\n\";\n      var str = strs[i], pos = 0;\n      while (pos < str.length) {\n        var style = null, text;\n        if (str.charAt(pos) == \"[\" && str.charAt(pos+1) != \"[\") {\n          styleName.lastIndex = pos + 1;\n          var m = styleName.exec(str);\n          style = m[0].replace(/&/g, \" \");\n          var textStart = pos + style.length + 2;\n          var end = findSingle(str, textStart, \"]\");\n          if (end == null) throw new Error(\"Unterminated token at \" + pos + \" in '\" + str + \"'\" + style);\n          text = str.slice(textStart, end);\n          pos = end + 1;\n        } else {\n          var end = findSingle(str, pos, \"[\");\n          if (end == null) end = str.length;\n          text = str.slice(pos, end);\n          pos = end;\n        }\n        text = text.replace(/\\[\\[|\\]\\]/g, function(s) {return s.charAt(0);});\n        tokens.push(style, text);\n        plain += text;\n      }\n    }\n    return {tokens: tokens, plain: plain};\n  }\n\n  test.indentation = function(name, mode, tokens, modeName) {\n    var data = parseTokens(tokens);\n    return test((modeName || mode.name) + \"_indent_\" + name, function() {\n      return compare(data.plain, data.tokens, mode, true);\n    });\n  };\n\n  test.mode = function(name, mode, tokens, modeName) {\n    var data = parseTokens(tokens);\n    return test((modeName || mode.name) + \"_\" + name, function() {\n      return compare(data.plain, data.tokens, mode);\n    });\n  };\n\n  function compare(text, expected, mode, compareIndentation) {\n\n    var expectedOutput = [];\n    for (var i = 0; i < expected.length; i += 2) {\n      var sty = expected[i];\n      if (sty && sty.indexOf(\" \")) sty = sty.split(' ').sort().join(' ');\n      expectedOutput.push(sty, expected[i + 1]);\n    }\n\n    var observedOutput = highlight(text, mode, compareIndentation);\n\n    var pass, passStyle = \"\";\n    pass = highlightOutputsEqual(expectedOutput, observedOutput);\n    passStyle = pass ? 'mt-pass' : 'mt-fail';\n\n    var s = '';\n    if (pass) {\n      s += '<div class=\"mt-test ' + passStyle + '\">';\n      s +=   '<pre>' + text.replace('&', '&amp;').replace('<', '&lt;') + '</pre>';\n      s +=   '<div class=\"cm-s-default\">';\n      s +=   prettyPrintOutputTable(observedOutput);\n      s +=   '</div>';\n      s += '</div>';\n      return s;\n    } else {\n      s += '<div class=\"mt-test ' + passStyle + '\">';\n      s +=   '<pre>' + text.replace('&', '&amp;').replace('<', '&lt;') + '</pre>';\n      s +=   '<div class=\"cm-s-default\">';\n      s += 'expected:';\n      s +=   prettyPrintOutputTable(expectedOutput);\n      s += 'observed:';\n      s +=   prettyPrintOutputTable(observedOutput);\n      s +=   '</div>';\n      s += '</div>';\n      throw s;\n    }\n  }\n\n  /**\n   * Emulation of CodeMirror's internal highlight routine for testing. Multi-line\n   * input is supported.\n   *\n   * @param string to highlight\n   *\n   * @param mode the mode that will do the actual highlighting\n   *\n   * @return array of [style, token] pairs\n   */\n  function highlight(string, mode, compareIndentation) {\n    var state = mode.startState()\n\n    var lines = string.replace(/\\r\\n/g,'\\n').split('\\n');\n    var st = [], pos = 0;\n    for (var i = 0; i < lines.length; ++i) {\n      var line = lines[i], newLine = true;\n      var stream = new CodeMirror.StringStream(line);\n      if (line == \"\" && mode.blankLine) mode.blankLine(state);\n      /* Start copied code from CodeMirror.highlight */\n      while (!stream.eol()) {\n\t\t\t\tvar compare = mode.token(stream, state), substr = stream.current();\n\t\t\t\tif(compareIndentation) compare = mode.indent(state) || null;\n        else if (compare && compare.indexOf(\" \") > -1) compare = compare.split(' ').sort().join(' ');\n\n\t\t\t\tstream.start = stream.pos;\n        if (pos && st[pos-2] == compare && !newLine) {\n          st[pos-1] += substr;\n        } else if (substr) {\n          st[pos++] = compare; st[pos++] = substr;\n        }\n        // Give up when line is ridiculously long\n        if (stream.pos > 5000) {\n          st[pos++] = null; st[pos++] = this.text.slice(stream.pos);\n          break;\n        }\n        newLine = false;\n      }\n    }\n\n    return st;\n  }\n\n  /**\n   * Compare two arrays of output from highlight.\n   *\n   * @param o1 array of [style, token] pairs\n   *\n   * @param o2 array of [style, token] pairs\n   *\n   * @return boolean; true iff outputs equal\n   */\n  function highlightOutputsEqual(o1, o2) {\n    if (o1.length != o2.length) return false;\n    for (var i = 0; i < o1.length; ++i)\n      if (o1[i] != o2[i]) return false;\n    return true;\n  }\n\n  /**\n   * Print tokens and corresponding styles in a table. Spaces in the token are\n   * replaced with 'interpunct' dots (&middot;).\n   *\n   * @param output array of [style, token] pairs\n   *\n   * @return html string\n   */\n  function prettyPrintOutputTable(output) {\n    var s = '<table class=\"mt-output\">';\n    s += '<tr>';\n    for (var i = 0; i < output.length; i += 2) {\n      var style = output[i], val = output[i+1];\n      s +=\n      '<td class=\"mt-token\">' +\n        '<span class=\"cm-' + String(style).replace(/ +/g, \" cm-\") + '\">' +\n        val.replace(/ /g,'\\xb7').replace('&', '&amp;').replace('<', '&lt;') +\n        '</span>' +\n        '</td>';\n    }\n    s += '</tr><tr>';\n    for (var i = 0; i < output.length; i += 2) {\n      s += '<td class=\"mt-style\"><span>' + (output[i] || null) + '</span></td>';\n    }\n    s += '</table>';\n    return s;\n  }\n})();\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/phantom_driver.js",
    "content": "var page = require('webpage').create();\n\npage.open(\"http://localhost:3000/test/index.html\", function (status) {\n  if (status != \"success\") {\n    console.log(\"page couldn't be loaded successfully\");\n    phantom.exit(1);\n  }\n  waitFor(function () {\n    return page.evaluate(function () {\n      var output = document.getElementById('status');\n      if (!output) { return false; }\n      return (/^(\\d+ failures?|all passed)/i).test(output.innerText);\n    });\n  }, function () {\n    var failed = page.evaluate(function () { return window.failed; });\n    var output = page.evaluate(function () {\n      return document.getElementById('output').innerText + \"\\n\" +\n        document.getElementById('status').innerText;\n    });\n    console.log(output);\n    phantom.exit(failed > 0 ? 1 : 0);\n  });\n});\n\nfunction waitFor (test, cb) {\n  if (test()) {\n    cb();\n  } else {\n    setTimeout(function () { waitFor(test, cb); }, 250);\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/run.js",
    "content": "#!/usr/bin/env node\n\nvar lint = require(\"./lint/lint\");\n\nlint.checkDir(\"mode\");\nlint.checkDir(\"lib\");\nlint.checkDir(\"addon\");\nlint.checkDir(\"keymap\");\n\nvar ok = lint.success();\n\nvar files = new (require('node-static').Server)('.');\n\nvar server = require('http').createServer(function (req, res) {\n  req.addListener('end', function () {\n    files.serve(req, res);\n  });\n}).addListener('error', function (err) {\n  throw err;\n}).listen(3000, function () {\n  var child_process = require('child_process');\n  child_process.exec(\"which phantomjs\", function (err) {\n    if (err) {\n      console.error(\"PhantomJS is not installed. Download from http://phantomjs.org\");\n      process.exit(1);\n    }\n    var cmd = 'phantomjs test/phantom_driver.js';\n    child_process.exec(cmd, function (err, stdout) {\n      server.close();\n      console.log(stdout);\n      process.exit(err || !ok ? 1 : 0);\n    });\n  });\n});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/test.js",
    "content": "var Pos = CodeMirror.Pos;\n\nCodeMirror.defaults.rtlMoveVisually = true;\n\nfunction forEach(arr, f) {\n  for (var i = 0, e = arr.length; i < e; ++i) f(arr[i]);\n}\n\nfunction addDoc(cm, width, height) {\n  var content = [], line = \"\";\n  for (var i = 0; i < width; ++i) line += \"x\";\n  for (var i = 0; i < height; ++i) content.push(line);\n  cm.setValue(content.join(\"\\n\"));\n}\n\nfunction byClassName(elt, cls) {\n  if (elt.getElementsByClassName) return elt.getElementsByClassName(cls);\n  var found = [], re = new RegExp(\"\\\\b\" + cls + \"\\\\b\");\n  function search(elt) {\n    if (elt.nodeType == 3) return;\n    if (re.test(elt.className)) found.push(elt);\n    for (var i = 0, e = elt.childNodes.length; i < e; ++i)\n      search(elt.childNodes[i]);\n  }\n  search(elt);\n  return found;\n}\n\nvar ie_lt8 = /MSIE [1-7]\\b/.test(navigator.userAgent);\nvar mac = /Mac/.test(navigator.platform);\nvar phantom = /PhantomJS/.test(navigator.userAgent);\nvar opera = /Opera\\/\\./.test(navigator.userAgent);\nvar opera_version = opera && navigator.userAgent.match(/Version\\/(\\d+\\.\\d+)/);\nif (opera_version) opera_version = Number(opera_version);\nvar opera_lt10 = opera && (!opera_version || opera_version < 10);\n\nnamespace = \"core_\";\n\ntest(\"core_fromTextArea\", function() {\n  var te = document.getElementById(\"code\");\n  te.value = \"CONTENT\";\n  var cm = CodeMirror.fromTextArea(te);\n  is(!te.offsetHeight);\n  eq(cm.getValue(), \"CONTENT\");\n  cm.setValue(\"foo\\nbar\");\n  eq(cm.getValue(), \"foo\\nbar\");\n  cm.save();\n  is(/^foo\\r?\\nbar$/.test(te.value));\n  cm.setValue(\"xxx\");\n  cm.toTextArea();\n  is(te.offsetHeight);\n  eq(te.value, \"xxx\");\n});\n\ntestCM(\"getRange\", function(cm) {\n  eq(cm.getLine(0), \"1234\");\n  eq(cm.getLine(1), \"5678\");\n  eq(cm.getLine(2), null);\n  eq(cm.getLine(-1), null);\n  eq(cm.getRange(Pos(0, 0), Pos(0, 3)), \"123\");\n  eq(cm.getRange(Pos(0, -1), Pos(0, 200)), \"1234\");\n  eq(cm.getRange(Pos(0, 2), Pos(1, 2)), \"34\\n56\");\n  eq(cm.getRange(Pos(1, 2), Pos(100, 0)), \"78\");\n}, {value: \"1234\\n5678\"});\n\ntestCM(\"replaceRange\", function(cm) {\n  eq(cm.getValue(), \"\");\n  cm.replaceRange(\"foo\\n\", Pos(0, 0));\n  eq(cm.getValue(), \"foo\\n\");\n  cm.replaceRange(\"a\\nb\", Pos(0, 1));\n  eq(cm.getValue(), \"fa\\nboo\\n\");\n  eq(cm.lineCount(), 3);\n  cm.replaceRange(\"xyzzy\", Pos(0, 0), Pos(1, 1));\n  eq(cm.getValue(), \"xyzzyoo\\n\");\n  cm.replaceRange(\"abc\", Pos(0, 0), Pos(10, 0));\n  eq(cm.getValue(), \"abc\");\n  eq(cm.lineCount(), 1);\n});\n\ntestCM(\"selection\", function(cm) {\n  cm.setSelection(Pos(0, 4), Pos(2, 2));\n  is(cm.somethingSelected());\n  eq(cm.getSelection(), \"11\\n222222\\n33\");\n  eqPos(cm.getCursor(false), Pos(2, 2));\n  eqPos(cm.getCursor(true), Pos(0, 4));\n  cm.setSelection(Pos(1, 0));\n  is(!cm.somethingSelected());\n  eq(cm.getSelection(), \"\");\n  eqPos(cm.getCursor(true), Pos(1, 0));\n  cm.replaceSelection(\"abc\");\n  eq(cm.getSelection(), \"abc\");\n  eq(cm.getValue(), \"111111\\nabc222222\\n333333\");\n  cm.replaceSelection(\"def\", \"end\");\n  eq(cm.getSelection(), \"\");\n  eqPos(cm.getCursor(true), Pos(1, 3));\n  cm.setCursor(Pos(2, 1));\n  eqPos(cm.getCursor(true), Pos(2, 1));\n  cm.setCursor(1, 2);\n  eqPos(cm.getCursor(true), Pos(1, 2));\n}, {value: \"111111\\n222222\\n333333\"});\n\ntestCM(\"extendSelection\", function(cm) {\n  cm.setExtending(true);\n  addDoc(cm, 10, 10);\n  cm.setSelection(Pos(3, 5));\n  eqPos(cm.getCursor(\"head\"), Pos(3, 5));\n  eqPos(cm.getCursor(\"anchor\"), Pos(3, 5));\n  cm.setSelection(Pos(2, 5), Pos(5, 5));\n  eqPos(cm.getCursor(\"head\"), Pos(5, 5));\n  eqPos(cm.getCursor(\"anchor\"), Pos(2, 5));\n  eqPos(cm.getCursor(\"start\"), Pos(2, 5));\n  eqPos(cm.getCursor(\"end\"), Pos(5, 5));\n  cm.setSelection(Pos(5, 5), Pos(2, 5));\n  eqPos(cm.getCursor(\"head\"), Pos(2, 5));\n  eqPos(cm.getCursor(\"anchor\"), Pos(5, 5));\n  eqPos(cm.getCursor(\"start\"), Pos(2, 5));\n  eqPos(cm.getCursor(\"end\"), Pos(5, 5));\n  cm.extendSelection(Pos(3, 2));\n  eqPos(cm.getCursor(\"head\"), Pos(3, 2));\n  eqPos(cm.getCursor(\"anchor\"), Pos(5, 5));\n  cm.extendSelection(Pos(6, 2));\n  eqPos(cm.getCursor(\"head\"), Pos(6, 2));\n  eqPos(cm.getCursor(\"anchor\"), Pos(5, 5));\n  cm.extendSelection(Pos(6, 3), Pos(6, 4));\n  eqPos(cm.getCursor(\"head\"), Pos(6, 4));\n  eqPos(cm.getCursor(\"anchor\"), Pos(5, 5));\n  cm.extendSelection(Pos(0, 3), Pos(0, 4));\n  eqPos(cm.getCursor(\"head\"), Pos(0, 3));\n  eqPos(cm.getCursor(\"anchor\"), Pos(5, 5));\n  cm.extendSelection(Pos(4, 5), Pos(6, 5));\n  eqPos(cm.getCursor(\"head\"), Pos(6, 5));\n  eqPos(cm.getCursor(\"anchor\"), Pos(4, 5));\n  cm.setExtending(false);\n  cm.extendSelection(Pos(0, 3), Pos(0, 4));\n  eqPos(cm.getCursor(\"head\"), Pos(0, 4));\n  eqPos(cm.getCursor(\"anchor\"), Pos(0, 3));\n});\n\ntestCM(\"lines\", function(cm) {\n  eq(cm.getLine(0), \"111111\");\n  eq(cm.getLine(1), \"222222\");\n  eq(cm.getLine(-1), null);\n  cm.removeLine(1);\n  cm.setLine(1, \"abc\");\n  eq(cm.getValue(), \"111111\\nabc\");\n}, {value: \"111111\\n222222\\n333333\"});\n\ntestCM(\"indent\", function(cm) {\n  cm.indentLine(1);\n  eq(cm.getLine(1), \"   blah();\");\n  cm.setOption(\"indentUnit\", 8);\n  cm.indentLine(1);\n  eq(cm.getLine(1), \"\\tblah();\");\n  cm.setOption(\"indentUnit\", 10);\n  cm.setOption(\"tabSize\", 4);\n  cm.indentLine(1);\n  eq(cm.getLine(1), \"\\t\\t  blah();\");\n}, {value: \"if (x) {\\nblah();\\n}\", indentUnit: 3, indentWithTabs: true, tabSize: 8});\n\ntestCM(\"indentByNumber\", function(cm) {\n  cm.indentLine(0, 2);\n  eq(cm.getLine(0), \"  foo\");\n  cm.indentLine(0, -200);\n  eq(cm.getLine(0), \"foo\");\n  cm.setSelection(Pos(0, 0), Pos(1, 2));\n  cm.indentSelection(3);\n  eq(cm.getValue(), \"   foo\\n   bar\\nbaz\");\n}, {value: \"foo\\nbar\\nbaz\"});\n\ntest(\"core_defaults\", function() {\n  var defsCopy = {}, defs = CodeMirror.defaults;\n  for (var opt in defs) defsCopy[opt] = defs[opt];\n  defs.indentUnit = 5;\n  defs.value = \"uu\";\n  defs.enterMode = \"keep\";\n  defs.tabindex = 55;\n  var place = document.getElementById(\"testground\"), cm = CodeMirror(place);\n  try {\n    eq(cm.getOption(\"indentUnit\"), 5);\n    cm.setOption(\"indentUnit\", 10);\n    eq(defs.indentUnit, 5);\n    eq(cm.getValue(), \"uu\");\n    eq(cm.getOption(\"enterMode\"), \"keep\");\n    eq(cm.getInputField().tabIndex, 55);\n  }\n  finally {\n    for (var opt in defsCopy) defs[opt] = defsCopy[opt];\n    place.removeChild(cm.getWrapperElement());\n  }\n});\n\ntestCM(\"lineInfo\", function(cm) {\n  eq(cm.lineInfo(-1), null);\n  var mark = document.createElement(\"span\");\n  var lh = cm.setGutterMarker(1, \"FOO\", mark);\n  var info = cm.lineInfo(1);\n  eq(info.text, \"222222\");\n  eq(info.gutterMarkers.FOO, mark);\n  eq(info.line, 1);\n  eq(cm.lineInfo(2).gutterMarkers, null);\n  cm.setGutterMarker(lh, \"FOO\", null);\n  eq(cm.lineInfo(1).gutterMarkers, null);\n  cm.setGutterMarker(1, \"FOO\", mark);\n  cm.setGutterMarker(0, \"FOO\", mark);\n  cm.clearGutter(\"FOO\");\n  eq(cm.lineInfo(0).gutterMarkers, null);\n  eq(cm.lineInfo(1).gutterMarkers, null);\n}, {value: \"111111\\n222222\\n333333\"});\n\ntestCM(\"coords\", function(cm) {\n  cm.setSize(null, 100);\n  addDoc(cm, 32, 200);\n  var top = cm.charCoords(Pos(0, 0));\n  var bot = cm.charCoords(Pos(200, 30));\n  is(top.left < bot.left);\n  is(top.top < bot.top);\n  is(top.top < top.bottom);\n  cm.scrollTo(null, 100);\n  var top2 = cm.charCoords(Pos(0, 0));\n  is(top.top > top2.top);\n  eq(top.left, top2.left);\n});\n\ntestCM(\"coordsChar\", function(cm) {\n  addDoc(cm, 35, 70);\n  for (var i = 0; i < 2; ++i) {\n    var sys = i ? \"local\" : \"page\";\n    for (var ch = 0; ch <= 35; ch += 5) {\n      for (var line = 0; line < 70; line += 5) {\n        cm.setCursor(line, ch);\n        var coords = cm.charCoords(Pos(line, ch), sys);\n        var pos = cm.coordsChar({left: coords.left + 1, top: coords.top + 1}, sys);\n        eqPos(pos, Pos(line, ch));\n      }\n    }\n  }\n}, {lineNumbers: true});\n\ntestCM(\"posFromIndex\", function(cm) {\n  cm.setValue(\n    \"This function should\\n\" +\n    \"convert a zero based index\\n\" +\n    \"to line and ch.\"\n  );\n\n  var examples = [\n    { index: -1, line: 0, ch: 0  }, // <- Tests clipping\n    { index: 0,  line: 0, ch: 0  },\n    { index: 10, line: 0, ch: 10 },\n    { index: 39, line: 1, ch: 18 },\n    { index: 55, line: 2, ch: 7  },\n    { index: 63, line: 2, ch: 15 },\n    { index: 64, line: 2, ch: 15 }  // <- Tests clipping\n  ];\n\n  for (var i = 0; i < examples.length; i++) {\n    var example = examples[i];\n    var pos = cm.posFromIndex(example.index);\n    eq(pos.line, example.line);\n    eq(pos.ch, example.ch);\n    if (example.index >= 0 && example.index < 64)\n      eq(cm.indexFromPos(pos), example.index);\n  }\n});\n\ntestCM(\"undo\", function(cm) {\n  cm.setLine(0, \"def\");\n  eq(cm.historySize().undo, 1);\n  cm.undo();\n  eq(cm.getValue(), \"abc\");\n  eq(cm.historySize().undo, 0);\n  eq(cm.historySize().redo, 1);\n  cm.redo();\n  eq(cm.getValue(), \"def\");\n  eq(cm.historySize().undo, 1);\n  eq(cm.historySize().redo, 0);\n  cm.setValue(\"1\\n\\n\\n2\");\n  cm.clearHistory();\n  eq(cm.historySize().undo, 0);\n  for (var i = 0; i < 20; ++i) {\n    cm.replaceRange(\"a\", Pos(0, 0));\n    cm.replaceRange(\"b\", Pos(3, 0));\n  }\n  eq(cm.historySize().undo, 40);\n  for (var i = 0; i < 40; ++i)\n    cm.undo();\n  eq(cm.historySize().redo, 40);\n  eq(cm.getValue(), \"1\\n\\n\\n2\");\n}, {value: \"abc\"});\n\ntestCM(\"undoDepth\", function(cm) {\n  cm.replaceRange(\"d\", Pos(0));\n  cm.replaceRange(\"e\", Pos(0));\n  cm.replaceRange(\"f\", Pos(0));\n  cm.undo(); cm.undo(); cm.undo();\n  eq(cm.getValue(), \"abcd\");\n}, {value: \"abc\", undoDepth: 2});\n\ntestCM(\"undoDoesntClearValue\", function(cm) {\n  cm.undo();\n  eq(cm.getValue(), \"x\");\n}, {value: \"x\"});\n\ntestCM(\"undoMultiLine\", function(cm) {\n  cm.operation(function() {\n    cm.replaceRange(\"x\", Pos(0, 0));\n    cm.replaceRange(\"y\", Pos(1, 0));\n  });\n  cm.undo();\n  eq(cm.getValue(), \"abc\\ndef\\nghi\");\n  cm.operation(function() {\n    cm.replaceRange(\"y\", Pos(1, 0));\n    cm.replaceRange(\"x\", Pos(0, 0));\n  });\n  cm.undo();\n  eq(cm.getValue(), \"abc\\ndef\\nghi\");\n  cm.operation(function() {\n    cm.replaceRange(\"y\", Pos(2, 0));\n    cm.replaceRange(\"x\", Pos(1, 0));\n    cm.replaceRange(\"z\", Pos(2, 0));\n  });\n  cm.undo();\n  eq(cm.getValue(), \"abc\\ndef\\nghi\", 3);\n}, {value: \"abc\\ndef\\nghi\"});\n\ntestCM(\"undoComposite\", function(cm) {\n  cm.replaceRange(\"y\", Pos(1));\n  cm.operation(function() {\n    cm.replaceRange(\"x\", Pos(0));\n    cm.replaceRange(\"z\", Pos(2));\n  });\n  eq(cm.getValue(), \"ax\\nby\\ncz\\n\");\n  cm.undo();\n  eq(cm.getValue(), \"a\\nby\\nc\\n\");\n  cm.undo();\n  eq(cm.getValue(), \"a\\nb\\nc\\n\");\n  cm.redo(); cm.redo();\n  eq(cm.getValue(), \"ax\\nby\\ncz\\n\");\n}, {value: \"a\\nb\\nc\\n\"});\n\ntestCM(\"undoSelection\", function(cm) {\n  cm.setSelection(Pos(0, 2), Pos(0, 4));\n  cm.replaceSelection(\"\");\n  cm.setCursor(Pos(1, 0));\n  cm.undo();\n  eqPos(cm.getCursor(true), Pos(0, 2));\n  eqPos(cm.getCursor(false), Pos(0, 4));\n  cm.setCursor(Pos(1, 0));\n  cm.redo();\n  eqPos(cm.getCursor(true), Pos(0, 2));\n  eqPos(cm.getCursor(false), Pos(0, 2));\n}, {value: \"abcdefgh\\n\"});\n\ntestCM(\"markTextSingleLine\", function(cm) {\n  forEach([{a: 0, b: 1, c: \"\", f: 2, t: 5},\n           {a: 0, b: 4, c: \"\", f: 0, t: 2},\n           {a: 1, b: 2, c: \"x\", f: 3, t: 6},\n           {a: 4, b: 5, c: \"\", f: 3, t: 5},\n           {a: 4, b: 5, c: \"xx\", f: 3, t: 7},\n           {a: 2, b: 5, c: \"\", f: 2, t: 3},\n           {a: 2, b: 5, c: \"abcd\", f: 6, t: 7},\n           {a: 2, b: 6, c: \"x\", f: null, t: null},\n           {a: 3, b: 6, c: \"\", f: null, t: null},\n           {a: 0, b: 9, c: \"hallo\", f: null, t: null},\n           {a: 4, b: 6, c: \"x\", f: 3, t: 4},\n           {a: 4, b: 8, c: \"\", f: 3, t: 4},\n           {a: 6, b: 6, c: \"a\", f: 3, t: 6},\n           {a: 8, b: 9, c: \"\", f: 3, t: 6}], function(test) {\n    cm.setValue(\"1234567890\");\n    var r = cm.markText(Pos(0, 3), Pos(0, 6), {className: \"foo\"});\n    cm.replaceRange(test.c, Pos(0, test.a), Pos(0, test.b));\n    var f = r.find();\n    eq(f && f.from.ch, test.f); eq(f && f.to.ch, test.t);\n  });\n});\n\ntestCM(\"markTextMultiLine\", function(cm) {\n  function p(v) { return v && Pos(v[0], v[1]); }\n  forEach([{a: [0, 0], b: [0, 5], c: \"\", f: [0, 0], t: [2, 5]},\n           {a: [0, 0], b: [0, 5], c: \"foo\\n\", f: [1, 0], t: [3, 5]},\n           {a: [0, 1], b: [0, 10], c: \"\", f: [0, 1], t: [2, 5]},\n           {a: [0, 5], b: [0, 6], c: \"x\", f: [0, 6], t: [2, 5]},\n           {a: [0, 0], b: [1, 0], c: \"\", f: [0, 0], t: [1, 5]},\n           {a: [0, 6], b: [2, 4], c: \"\", f: [0, 5], t: [0, 7]},\n           {a: [0, 6], b: [2, 4], c: \"aa\", f: [0, 5], t: [0, 9]},\n           {a: [1, 2], b: [1, 8], c: \"\", f: [0, 5], t: [2, 5]},\n           {a: [0, 5], b: [2, 5], c: \"xx\", f: null, t: null},\n           {a: [0, 0], b: [2, 10], c: \"x\", f: null, t: null},\n           {a: [1, 5], b: [2, 5], c: \"\", f: [0, 5], t: [1, 5]},\n           {a: [2, 0], b: [2, 3], c: \"\", f: [0, 5], t: [2, 2]},\n           {a: [2, 5], b: [3, 0], c: \"a\\nb\", f: [0, 5], t: [2, 5]},\n           {a: [2, 3], b: [3, 0], c: \"x\", f: [0, 5], t: [2, 3]},\n           {a: [1, 1], b: [1, 9], c: \"1\\n2\\n3\", f: [0, 5], t: [4, 5]}], function(test) {\n    cm.setValue(\"aaaaaaaaaa\\nbbbbbbbbbb\\ncccccccccc\\ndddddddd\\n\");\n    var r = cm.markText(Pos(0, 5), Pos(2, 5),\n                        {className: \"CodeMirror-matchingbracket\"});\n    cm.replaceRange(test.c, p(test.a), p(test.b));\n    var f = r.find();\n    eqPos(f && f.from, p(test.f)); eqPos(f && f.to, p(test.t));\n  });\n});\n\ntestCM(\"markTextUndo\", function(cm) {\n  var marker1, marker2, bookmark;\n  marker1 = cm.markText(Pos(0, 1), Pos(0, 3),\n                        {className: \"CodeMirror-matchingbracket\"});\n  marker2 = cm.markText(Pos(0, 0), Pos(2, 1),\n                        {className: \"CodeMirror-matchingbracket\"});\n  bookmark = cm.setBookmark(Pos(1, 5));\n  cm.operation(function(){\n    cm.replaceRange(\"foo\", Pos(0, 2));\n    cm.replaceRange(\"bar\\nbaz\\nbug\\n\", Pos(2, 0), Pos(3, 0));\n  });\n  var v1 = cm.getValue();\n  cm.setValue(\"\");\n  eq(marker1.find(), null); eq(marker2.find(), null); eq(bookmark.find(), null);\n  cm.undo();\n  eqPos(bookmark.find(), Pos(1, 5), \"still there\");\n  cm.undo();\n  var m1Pos = marker1.find(), m2Pos = marker2.find();\n  eqPos(m1Pos.from, Pos(0, 1)); eqPos(m1Pos.to, Pos(0, 3));\n  eqPos(m2Pos.from, Pos(0, 0)); eqPos(m2Pos.to, Pos(2, 1));\n  eqPos(bookmark.find(), Pos(1, 5));\n  cm.redo(); cm.redo();\n  eq(bookmark.find(), null);\n  cm.undo();\n  eqPos(bookmark.find(), Pos(1, 5));\n  eq(cm.getValue(), v1);\n}, {value: \"1234\\n56789\\n00\\n\"});\n\ntestCM(\"markTextStayGone\", function(cm) {\n  var m1 = cm.markText(Pos(0, 0), Pos(0, 1));\n  cm.replaceRange(\"hi\", Pos(0, 2));\n  m1.clear();\n  cm.undo();\n  eq(m1.find(), null);\n}, {value: \"hello\"});\n\ntestCM(\"undoPreservesNewMarks\", function(cm) {\n  cm.markText(Pos(0, 3), Pos(0, 4));\n  cm.markText(Pos(1, 1), Pos(1, 3));\n  cm.replaceRange(\"\", Pos(0, 3), Pos(3, 1));\n  var mBefore = cm.markText(Pos(0, 0), Pos(0, 1));\n  var mAfter = cm.markText(Pos(0, 5), Pos(0, 6));\n  var mAround = cm.markText(Pos(0, 2), Pos(0, 4));\n  cm.undo();\n  eqPos(mBefore.find().from, Pos(0, 0));\n  eqPos(mBefore.find().to, Pos(0, 1));\n  eqPos(mAfter.find().from, Pos(3, 3));\n  eqPos(mAfter.find().to, Pos(3, 4));\n  eqPos(mAround.find().from, Pos(0, 2));\n  eqPos(mAround.find().to, Pos(3, 2));\n  var found = cm.findMarksAt(Pos(2, 2));\n  eq(found.length, 1);\n  eq(found[0], mAround);\n}, {value: \"aaaa\\nbbbb\\ncccc\\ndddd\"});\n\ntestCM(\"markClearBetween\", function(cm) {\n  cm.setValue(\"aaa\\nbbb\\nccc\\nddd\\n\");\n  cm.markText(Pos(0, 0), Pos(2));\n  cm.replaceRange(\"aaa\\nbbb\\nccc\", Pos(0, 0), Pos(2));\n  eq(cm.findMarksAt(Pos(1, 1)).length, 0);\n});\n\ntestCM(\"deleteSpanCollapsedInclusiveLeft\", function(cm) {\n  var from = Pos(1, 0), to = Pos(1, 1);\n  var m = cm.markText(from, to, {collapsed: true, inclusiveLeft: true});\n  // Delete collapsed span.\n  cm.replaceRange(\"\", from, to);\n}, {value: \"abc\\nX\\ndef\"});\n\ntestCM(\"bookmark\", function(cm) {\n  function p(v) { return v && Pos(v[0], v[1]); }\n  forEach([{a: [1, 0], b: [1, 1], c: \"\", d: [1, 4]},\n           {a: [1, 1], b: [1, 1], c: \"xx\", d: [1, 7]},\n           {a: [1, 4], b: [1, 5], c: \"ab\", d: [1, 6]},\n           {a: [1, 4], b: [1, 6], c: \"\", d: null},\n           {a: [1, 5], b: [1, 6], c: \"abc\", d: [1, 5]},\n           {a: [1, 6], b: [1, 8], c: \"\", d: [1, 5]},\n           {a: [1, 4], b: [1, 4], c: \"\\n\\n\", d: [3, 1]},\n           {bm: [1, 9], a: [1, 1], b: [1, 1], c: \"\\n\", d: [2, 8]}], function(test) {\n    cm.setValue(\"1234567890\\n1234567890\\n1234567890\");\n    var b = cm.setBookmark(p(test.bm) || Pos(1, 5));\n    cm.replaceRange(test.c, p(test.a), p(test.b));\n    eqPos(b.find(), p(test.d));\n  });\n});\n\ntestCM(\"bookmarkInsertLeft\", function(cm) {\n  var br = cm.setBookmark(Pos(0, 2), {insertLeft: false});\n  var bl = cm.setBookmark(Pos(0, 2), {insertLeft: true});\n  cm.setCursor(Pos(0, 2));\n  cm.replaceSelection(\"hi\");\n  eqPos(br.find(), Pos(0, 2));\n  eqPos(bl.find(), Pos(0, 4));\n  cm.replaceRange(\"\", Pos(0, 4), Pos(0, 5));\n  cm.replaceRange(\"\", Pos(0, 2), Pos(0, 4));\n  cm.replaceRange(\"\", Pos(0, 1), Pos(0, 2));\n  // Verify that deleting next to bookmarks doesn't kill them\n  eqPos(br.find(), Pos(0, 1));\n  eqPos(bl.find(), Pos(0, 1));\n}, {value: \"abcdef\"});\n\ntestCM(\"bookmarkCursor\", function(cm) {\n  var pos01 = cm.cursorCoords(Pos(0, 1)), pos11 = cm.cursorCoords(Pos(1, 1)),\n      pos20 = cm.cursorCoords(Pos(2, 0)), pos30 = cm.cursorCoords(Pos(3, 0)),\n      pos41 = cm.cursorCoords(Pos(4, 1));\n  cm.setBookmark(Pos(0, 1), {widget: document.createTextNode(\"←\"), insertLeft: true});\n  cm.setBookmark(Pos(2, 0), {widget: document.createTextNode(\"←\"), insertLeft: true});\n  cm.setBookmark(Pos(1, 1), {widget: document.createTextNode(\"→\")});\n  cm.setBookmark(Pos(3, 0), {widget: document.createTextNode(\"→\")});\n  var new01 = cm.cursorCoords(Pos(0, 1)), new11 = cm.cursorCoords(Pos(1, 1)),\n      new20 = cm.cursorCoords(Pos(2, 0)), new30 = cm.cursorCoords(Pos(3, 0));\n  is(new01.left == pos01.left && new01.top == pos01.top, \"at left, middle of line\");\n  is(new11.left > pos11.left && new11.top == pos11.top, \"at right, middle of line\");\n  is(new20.left == pos20.left && new20.top == pos20.top, \"at left, empty line\");\n  is(new30.left > pos30.left && new30.top == pos30.top, \"at right, empty line\");\n  cm.setBookmark(Pos(4, 0), {widget: document.createTextNode(\"→\")});\n  is(cm.cursorCoords(Pos(4, 1)).left > pos41.left, \"single-char bug\");\n}, {value: \"foo\\nbar\\n\\n\\nx\\ny\"});\n\ntestCM(\"multiBookmarkCursor\", function(cm) {\n  if (phantom) return;\n  var ms = [], m;\n  function add(insertLeft) {\n    for (var i = 0; i < 3; ++i) {\n      var node = document.createElement(\"span\");\n      node.innerHTML = \"X\";\n      ms.push(cm.setBookmark(Pos(0, 1), {widget: node, insertLeft: insertLeft}));\n    }\n  }\n  var base1 = cm.cursorCoords(Pos(0, 1)).left, base4 = cm.cursorCoords(Pos(0, 4)).left;\n  add(true);\n  is(Math.abs(base1 - cm.cursorCoords(Pos(0, 1)).left) < .1);\n  while (m = ms.pop()) m.clear();\n  add(false);\n  is(Math.abs(base4 - cm.cursorCoords(Pos(0, 1)).left) < .1);\n}, {value: \"abcdefg\"});\n\ntestCM(\"getAllMarks\", function(cm) {\n  addDoc(cm, 10, 10);\n  var m1 = cm.setBookmark(Pos(0, 2));\n  var m2 = cm.markText(Pos(0, 2), Pos(3, 2));\n  var m3 = cm.markText(Pos(1, 2), Pos(1, 8));\n  var m4 = cm.markText(Pos(8, 0), Pos(9, 0));\n  eq(cm.getAllMarks().length, 4);\n  m1.clear();\n  m3.clear();\n  eq(cm.getAllMarks().length, 2);\n});\n\ntestCM(\"bug577\", function(cm) {\n  cm.setValue(\"a\\nb\");\n  cm.clearHistory();\n  cm.setValue(\"fooooo\");\n  cm.undo();\n});\n\ntestCM(\"scrollSnap\", function(cm) {\n  cm.setSize(100, 100);\n  addDoc(cm, 200, 200);\n  cm.setCursor(Pos(100, 180));\n  var info = cm.getScrollInfo();\n  is(info.left > 0 && info.top > 0);\n  cm.setCursor(Pos(0, 0));\n  info = cm.getScrollInfo();\n  is(info.left == 0 && info.top == 0, \"scrolled clean to top\");\n  cm.setCursor(Pos(100, 180));\n  cm.setCursor(Pos(199, 0));\n  info = cm.getScrollInfo();\n  is(info.left == 0 && info.top + 2 > info.height - cm.getScrollerElement().clientHeight, \"scrolled clean to bottom\");\n});\n\ntestCM(\"scrollIntoView\", function(cm) {\n  if (phantom) return;\n  var outer = cm.getWrapperElement().getBoundingClientRect();\n  function test(line, ch) {\n    var pos = Pos(line, ch);\n    cm.scrollIntoView(pos);\n    var box = cm.charCoords(pos, \"window\");\n    is(box.left >= outer.left && box.right <= outer.right &&\n       box.top >= outer.top && box.bottom <= outer.bottom);\n  }\n  addDoc(cm, 200, 200);\n  test(199, 199);\n  test(0, 0);\n  test(100, 100);\n  test(199, 0);\n  test(0, 199);\n  test(100, 100);\n});\n\ntestCM(\"selectionPos\", function(cm) {\n  if (phantom) return;\n  cm.setSize(100, 100);\n  addDoc(cm, 200, 100);\n  cm.setSelection(Pos(1, 100), Pos(98, 100));\n  var lineWidth = cm.charCoords(Pos(0, 200), \"local\").left;\n  var lineHeight = (cm.charCoords(Pos(99)).top - cm.charCoords(Pos(0)).top) / 100;\n  cm.scrollTo(0, 0);\n  var selElt = byClassName(cm.getWrapperElement(), \"CodeMirror-selected\");\n  var outer = cm.getWrapperElement().getBoundingClientRect();\n  var sawMiddle, sawTop, sawBottom;\n  for (var i = 0, e = selElt.length; i < e; ++i) {\n    var box = selElt[i].getBoundingClientRect();\n    var atLeft = box.left - outer.left < 30;\n    var width = box.right - box.left;\n    var atRight = box.right - outer.left > .8 * lineWidth;\n    if (atLeft && atRight) {\n      sawMiddle = true;\n      is(box.bottom - box.top > 90 * lineHeight, \"middle high\");\n      is(width > .9 * lineWidth, \"middle wide\");\n    } else {\n      is(width > .4 * lineWidth, \"top/bot wide enough\");\n      is(width < .6 * lineWidth, \"top/bot slim enough\");\n      if (atLeft) {\n        sawBottom = true;\n        is(box.top - outer.top > 96 * lineHeight, \"bot below\");\n      } else if (atRight) {\n        sawTop = true;\n        is(box.top - outer.top < 2.1 * lineHeight, \"top above\");\n      }\n    }\n  }\n  is(sawTop && sawBottom && sawMiddle, \"all parts\");\n}, null);\n\ntestCM(\"restoreHistory\", function(cm) {\n  cm.setValue(\"abc\\ndef\");\n  cm.setLine(1, \"hello\");\n  cm.setLine(0, \"goop\");\n  cm.undo();\n  var storedVal = cm.getValue(), storedHist = cm.getHistory();\n  if (window.JSON) storedHist = JSON.parse(JSON.stringify(storedHist));\n  eq(storedVal, \"abc\\nhello\");\n  cm.setValue(\"\");\n  cm.clearHistory();\n  eq(cm.historySize().undo, 0);\n  cm.setValue(storedVal);\n  cm.setHistory(storedHist);\n  cm.redo();\n  eq(cm.getValue(), \"goop\\nhello\");\n  cm.undo(); cm.undo();\n  eq(cm.getValue(), \"abc\\ndef\");\n});\n\ntestCM(\"doubleScrollbar\", function(cm) {\n  var dummy = document.body.appendChild(document.createElement(\"p\"));\n  dummy.style.cssText = \"height: 50px; overflow: scroll; width: 50px\";\n  var scrollbarWidth = dummy.offsetWidth + 1 - dummy.clientWidth;\n  document.body.removeChild(dummy);\n  if (scrollbarWidth < 2) return;\n  cm.setSize(null, 100);\n  addDoc(cm, 1, 300);\n  var wrap = cm.getWrapperElement();\n  is(wrap.offsetWidth - byClassName(wrap, \"CodeMirror-lines\")[0].offsetWidth <= scrollbarWidth * 1.5);\n});\n\ntestCM(\"weirdLinebreaks\", function(cm) {\n  cm.setValue(\"foo\\nbar\\rbaz\\r\\nquux\\n\\rplop\");\n  is(cm.getValue(), \"foo\\nbar\\nbaz\\nquux\\n\\nplop\");\n  is(cm.lineCount(), 6);\n  cm.setValue(\"\\n\\n\");\n  is(cm.lineCount(), 3);\n});\n\ntestCM(\"setSize\", function(cm) {\n  cm.setSize(100, 100);\n  var wrap = cm.getWrapperElement();\n  is(wrap.offsetWidth, 100);\n  is(wrap.offsetHeight, 100);\n  cm.setSize(\"100%\", \"3em\");\n  is(wrap.style.width, \"100%\");\n  is(wrap.style.height, \"3em\");\n  cm.setSize(null, 40);\n  is(wrap.style.width, \"100%\");\n  is(wrap.style.height, \"40px\");\n});\n\nfunction foldLines(cm, start, end, autoClear) {\n  return cm.markText(Pos(start, 0), Pos(end - 1), {\n    inclusiveLeft: true,\n    inclusiveRight: true,\n    collapsed: true,\n    clearOnEnter: autoClear\n  });\n}\n\ntestCM(\"collapsedLines\", function(cm) {\n  addDoc(cm, 4, 10);\n  var range = foldLines(cm, 4, 5), cleared = 0;\n  CodeMirror.on(range, \"clear\", function() {cleared++;});\n  cm.setCursor(Pos(3, 0));\n  CodeMirror.commands.goLineDown(cm);\n  eqPos(cm.getCursor(), Pos(5, 0));\n  cm.setLine(3, \"abcdefg\");\n  cm.setCursor(Pos(3, 6));\n  CodeMirror.commands.goLineDown(cm);\n  eqPos(cm.getCursor(), Pos(5, 4));\n  cm.setLine(3, \"ab\");\n  cm.setCursor(Pos(3, 2));\n  CodeMirror.commands.goLineDown(cm);\n  eqPos(cm.getCursor(), Pos(5, 2));\n  cm.operation(function() {range.clear(); range.clear();});\n  eq(cleared, 1);\n});\n\ntestCM(\"collapsedRangeCoordsChar\", function(cm) {\n  var pos_1_3 = cm.charCoords(Pos(1, 3));\n  pos_1_3.left += 2; pos_1_3.top += 2;\n  var opts = {collapsed: true, inclusiveLeft: true, inclusiveRight: true};\n  var m1 = cm.markText(Pos(0, 0), Pos(2, 0), opts);\n  eqPos(cm.coordsChar(pos_1_3), Pos(3, 3));\n  m1.clear();\n  var m1 = cm.markText(Pos(0, 0), Pos(1, 1), opts);\n  var m2 = cm.markText(Pos(1, 1), Pos(2, 0), opts);\n  eqPos(cm.coordsChar(pos_1_3), Pos(3, 3));\n  m1.clear(); m2.clear();\n  var m1 = cm.markText(Pos(0, 0), Pos(1, 6), opts);\n  eqPos(cm.coordsChar(pos_1_3), Pos(3, 3));\n}, {value: \"123456\\nabcdef\\nghijkl\\nmnopqr\\n\"});\n\ntestCM(\"hiddenLinesAutoUnfold\", function(cm) {\n  var range = foldLines(cm, 1, 3, true), cleared = 0;\n  CodeMirror.on(range, \"clear\", function() {cleared++;});\n  cm.setCursor(Pos(3, 0));\n  eq(cleared, 0);\n  cm.execCommand(\"goCharLeft\");\n  eq(cleared, 1);\n  range = foldLines(cm, 1, 3, true);\n  CodeMirror.on(range, \"clear\", function() {cleared++;});\n  eqPos(cm.getCursor(), Pos(3, 0));\n  cm.setCursor(Pos(0, 3));\n  cm.execCommand(\"goCharRight\");\n  eq(cleared, 2);\n}, {value: \"abc\\ndef\\nghi\\njkl\"});\n\ntestCM(\"hiddenLinesSelectAll\", function(cm) {  // Issue #484\n  addDoc(cm, 4, 20);\n  foldLines(cm, 0, 10);\n  foldLines(cm, 11, 20);\n  CodeMirror.commands.selectAll(cm);\n  eqPos(cm.getCursor(true), Pos(10, 0));\n  eqPos(cm.getCursor(false), Pos(10, 4));\n});\n\n\ntestCM(\"everythingFolded\", function(cm) {\n  addDoc(cm, 2, 2);\n  function enterPress() {\n    cm.triggerOnKeyDown({type: \"keydown\", keyCode: 13, preventDefault: function(){}, stopPropagation: function(){}});\n  }\n  var fold = foldLines(cm, 0, 2);\n  enterPress();\n  eq(cm.getValue(), \"xx\\nxx\");\n  fold.clear();\n  fold = foldLines(cm, 0, 2, true);\n  eq(fold.find(), null);\n  enterPress();\n  eq(cm.getValue(), \"\\nxx\\nxx\");\n});\n\ntestCM(\"structuredFold\", function(cm) {\n  if (phantom) return;\n  addDoc(cm, 4, 8);\n  var range = cm.markText(Pos(1, 2), Pos(6, 2), {\n    replacedWith: document.createTextNode(\"Q\")\n  });\n  cm.setCursor(0, 3);\n  CodeMirror.commands.goLineDown(cm);\n  eqPos(cm.getCursor(), Pos(6, 2));\n  CodeMirror.commands.goCharLeft(cm);\n  eqPos(cm.getCursor(), Pos(1, 2));\n  CodeMirror.commands.delCharAfter(cm);\n  eq(cm.getValue(), \"xxxx\\nxxxx\\nxxxx\");\n  addDoc(cm, 4, 8);\n  range = cm.markText(Pos(1, 2), Pos(6, 2), {\n    replacedWith: document.createTextNode(\"M\"),\n    clearOnEnter: true\n  });\n  var cleared = 0;\n  CodeMirror.on(range, \"clear\", function(){++cleared;});\n  cm.setCursor(0, 3);\n  CodeMirror.commands.goLineDown(cm);\n  eqPos(cm.getCursor(), Pos(6, 2));\n  CodeMirror.commands.goCharLeft(cm);\n  eqPos(cm.getCursor(), Pos(6, 1));\n  eq(cleared, 1);\n  range.clear();\n  eq(cleared, 1);\n  range = cm.markText(Pos(1, 2), Pos(6, 2), {\n    replacedWith: document.createTextNode(\"Q\"),\n    clearOnEnter: true\n  });\n  range.clear();\n  cm.setCursor(1, 2);\n  CodeMirror.commands.goCharRight(cm);\n  eqPos(cm.getCursor(), Pos(1, 3));\n  range = cm.markText(Pos(2, 0), Pos(4, 4), {\n    replacedWith: document.createTextNode(\"M\")\n  });\n  cm.setCursor(1, 0);\n  CodeMirror.commands.goLineDown(cm);\n  eqPos(cm.getCursor(), Pos(2, 0));\n}, null);\n\ntestCM(\"nestedFold\", function(cm) {\n  addDoc(cm, 10, 3);\n  function fold(ll, cl, lr, cr) {\n    return cm.markText(Pos(ll, cl), Pos(lr, cr), {collapsed: true});\n  }\n  var inner1 = fold(0, 6, 1, 3), inner2 = fold(0, 2, 1, 8), outer = fold(0, 1, 2, 3), inner0 = fold(0, 5, 0, 6);\n  cm.setCursor(0, 1);\n  CodeMirror.commands.goCharRight(cm);\n  eqPos(cm.getCursor(), Pos(2, 3));\n  inner0.clear();\n  CodeMirror.commands.goCharLeft(cm);\n  eqPos(cm.getCursor(), Pos(0, 1));\n  outer.clear();\n  CodeMirror.commands.goCharRight(cm);\n  eqPos(cm.getCursor(), Pos(0, 2));\n  CodeMirror.commands.goCharRight(cm);\n  eqPos(cm.getCursor(), Pos(1, 8));\n  inner2.clear();\n  CodeMirror.commands.goCharLeft(cm);\n  eqPos(cm.getCursor(), Pos(1, 7));\n  cm.setCursor(0, 5);\n  CodeMirror.commands.goCharRight(cm);\n  eqPos(cm.getCursor(), Pos(0, 6));\n  CodeMirror.commands.goCharRight(cm);\n  eqPos(cm.getCursor(), Pos(1, 3));\n});\n\ntestCM(\"badNestedFold\", function(cm) {\n  addDoc(cm, 4, 4);\n  cm.markText(Pos(0, 2), Pos(3, 2), {collapsed: true});\n  var caught;\n  try {cm.markText(Pos(0, 1), Pos(0, 3), {collapsed: true});}\n  catch(e) {caught = e;}\n  is(caught instanceof Error, \"no error\");\n  is(/overlap/i.test(caught.message), \"wrong error\");\n});\n\ntestCM(\"wrappingInlineWidget\", function(cm) {\n  cm.setSize(\"11em\");\n  var w = document.createElement(\"span\");\n  w.style.color = \"red\";\n  w.innerHTML = \"one two three four\";\n  cm.markText(Pos(0, 6), Pos(0, 9), {replacedWith: w});\n  var cur0 = cm.cursorCoords(Pos(0, 0)), cur1 = cm.cursorCoords(Pos(0, 10));\n  is(cur0.top < cur1.top);\n  is(cur0.bottom < cur1.bottom);\n  var curL = cm.cursorCoords(Pos(0, 6)), curR = cm.cursorCoords(Pos(0, 9));\n  eq(curL.top, cur0.top);\n  eq(curL.bottom, cur0.bottom);\n  eq(curR.top, cur1.top);\n  eq(curR.bottom, cur1.bottom);\n  cm.replaceRange(\"\", Pos(0, 9), Pos(0));\n  curR = cm.cursorCoords(Pos(0, 9));\n  eq(curR.top, cur1.top);\n  eq(curR.bottom, cur1.bottom);\n}, {value: \"1 2 3 xxx 4\", lineWrapping: true});\n\ntestCM(\"changedInlineWidget\", function(cm) {\n  cm.setSize(\"10em\");\n  var w = document.createElement(\"span\");\n  w.innerHTML = \"x\";\n  var m = cm.markText(Pos(0, 4), Pos(0, 5), {replacedWith: w});\n  w.innerHTML = \"and now the widget is really really long all of a sudden and a scrollbar is needed\";\n  m.changed();\n  var hScroll = byClassName(cm.getWrapperElement(), \"CodeMirror-hscrollbar\")[0];\n  is(hScroll.scrollWidth > hScroll.clientWidth);\n}, {value: \"hello there\"});\n\ntestCM(\"changedBookmark\", function(cm) {\n  cm.setSize(\"10em\");\n  var w = document.createElement(\"span\");\n  w.innerHTML = \"x\";\n  var m = cm.setBookmark(Pos(0, 4), {widget: w});\n  w.innerHTML = \"and now the widget is really really long all of a sudden and a scrollbar is needed\";\n  m.changed();\n  var hScroll = byClassName(cm.getWrapperElement(), \"CodeMirror-hscrollbar\")[0];\n  is(hScroll.scrollWidth > hScroll.clientWidth);\n}, {value: \"abcdefg\"});\n\ntestCM(\"inlineWidget\", function(cm) {\n  var w = cm.setBookmark(Pos(0, 2), {widget: document.createTextNode(\"uu\")});\n  cm.setCursor(0, 2);\n  CodeMirror.commands.goLineDown(cm);\n  eqPos(cm.getCursor(), Pos(1, 4));\n  cm.setCursor(0, 2);\n  cm.replaceSelection(\"hi\");\n  eqPos(w.find(), Pos(0, 2));\n  cm.setCursor(0, 1);\n  cm.replaceSelection(\"ay\");\n  eqPos(w.find(), Pos(0, 4));\n  eq(cm.getLine(0), \"uayuhiuu\");\n}, {value: \"uuuu\\nuuuuuu\"});\n\ntestCM(\"wrappingAndResizing\", function(cm) {\n  cm.setSize(null, \"auto\");\n  cm.setOption(\"lineWrapping\", true);\n  var wrap = cm.getWrapperElement(), h0 = wrap.offsetHeight;\n  var doc = \"xxx xxx xxx xxx xxx\";\n  cm.setValue(doc);\n  for (var step = 10, w = cm.charCoords(Pos(0, 18), \"div\").right;; w += step) {\n    cm.setSize(w);\n    if (wrap.offsetHeight <= h0 * (opera_lt10 ? 1.2 : 1.5)) {\n      if (step == 10) { w -= 10; step = 1; }\n      else break;\n    }\n  }\n  // Ensure that putting the cursor at the end of the maximally long\n  // line doesn't cause wrapping to happen.\n  cm.setCursor(Pos(0, doc.length));\n  eq(wrap.offsetHeight, h0);\n  cm.replaceSelection(\"x\");\n  is(wrap.offsetHeight > h0, \"wrapping happens\");\n  // Now add a max-height and, in a document consisting of\n  // almost-wrapped lines, go over it so that a scrollbar appears.\n  cm.setValue(doc + \"\\n\" + doc + \"\\n\");\n  cm.getScrollerElement().style.maxHeight = \"100px\";\n  cm.replaceRange(\"\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n!\\n\", Pos(2, 0));\n  forEach([Pos(0, doc.length), Pos(0, doc.length - 1),\n           Pos(0, 0), Pos(1, doc.length), Pos(1, doc.length - 1)],\n          function(pos) {\n    var coords = cm.charCoords(pos);\n    eqPos(pos, cm.coordsChar({left: coords.left + 2, top: coords.top + 5}));\n  });\n}, null, ie_lt8);\n\ntestCM(\"measureEndOfLine\", function(cm) {\n  cm.setSize(null, \"auto\");\n  var inner = byClassName(cm.getWrapperElement(), \"CodeMirror-lines\")[0].firstChild;\n  var lh = inner.offsetHeight;\n  for (var step = 10, w = cm.charCoords(Pos(0, 7), \"div\").right;; w += step) {\n    cm.setSize(w);\n    if (inner.offsetHeight < 2.5 * lh) {\n      if (step == 10) { w -= 10; step = 1; }\n      else break;\n    }\n  }\n  cm.setValue(cm.getValue() + \"\\n\\n\");\n  var endPos = cm.charCoords(Pos(0, 18), \"local\");\n  is(endPos.top > lh * .8, \"not at top\");\n  is(endPos.left > w - 20, \"not at right\");\n  endPos = cm.charCoords(Pos(0, 18));\n  eqPos(cm.coordsChar({left: endPos.left, top: endPos.top + 5}), Pos(0, 18));\n}, {mode: \"text/html\", value: \"<!-- foo barrr -->\", lineWrapping: true}, ie_lt8 || opera_lt10);\n\ntestCM(\"scrollVerticallyAndHorizontally\", function(cm) {\n  cm.setSize(100, 100);\n  addDoc(cm, 40, 40);\n  cm.setCursor(39);\n  var wrap = cm.getWrapperElement(), bar = byClassName(wrap, \"CodeMirror-vscrollbar\")[0];\n  is(bar.offsetHeight < wrap.offsetHeight, \"vertical scrollbar limited by horizontal one\");\n  var cursorBox = byClassName(wrap, \"CodeMirror-cursor\")[0].getBoundingClientRect();\n  var editorBox = wrap.getBoundingClientRect();\n  is(cursorBox.bottom < editorBox.top + cm.getScrollerElement().clientHeight,\n     \"bottom line visible\");\n}, {lineNumbers: true});\n\ntestCM(\"moveVstuck\", function(cm) {\n  var lines = byClassName(cm.getWrapperElement(), \"CodeMirror-lines\")[0].firstChild, h0 = lines.offsetHeight;\n  var val = \"fooooooooooooooooooooooooo baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar\\n\";\n  cm.setValue(val);\n  for (var w = cm.charCoords(Pos(0, 26), \"div\").right * 2.8;; w += 5) {\n    cm.setSize(w);\n    if (lines.offsetHeight <= 3.5 * h0) break;\n  }\n  cm.setCursor(Pos(0, val.length - 1));\n  cm.moveV(-1, \"line\");\n  eqPos(cm.getCursor(), Pos(0, 26));\n}, {lineWrapping: true}, ie_lt8 || opera_lt10);\n\ntestCM(\"clickTab\", function(cm) {\n  var p0 = cm.charCoords(Pos(0, 0));\n  eqPos(cm.coordsChar({left: p0.left + 5, top: p0.top + 5}), Pos(0, 0));\n  eqPos(cm.coordsChar({left: p0.right - 5, top: p0.top + 5}), Pos(0, 1));\n}, {value: \"\\t\\n\\n\", lineWrapping: true, tabSize: 8});\n\ntestCM(\"verticalScroll\", function(cm) {\n  cm.setSize(100, 200);\n  cm.setValue(\"foo\\nbar\\nbaz\\n\");\n  var sc = cm.getScrollerElement(), baseWidth = sc.scrollWidth;\n  cm.setLine(0, \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah\");\n  is(sc.scrollWidth > baseWidth, \"scrollbar present\");\n  cm.setLine(0, \"foo\");\n  if (!phantom) eq(sc.scrollWidth, baseWidth, \"scrollbar gone\");\n  cm.setLine(0, \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah\");\n  cm.setLine(1, \"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbh\");\n  is(sc.scrollWidth > baseWidth, \"present again\");\n  var curWidth = sc.scrollWidth;\n  cm.setLine(0, \"foo\");\n  is(sc.scrollWidth < curWidth, \"scrollbar smaller\");\n  is(sc.scrollWidth > baseWidth, \"but still present\");\n});\n\ntestCM(\"extraKeys\", function(cm) {\n  var outcome;\n  function fakeKey(expected, code, props) {\n    if (typeof code == \"string\") code = code.charCodeAt(0);\n    var e = {type: \"keydown\", keyCode: code, preventDefault: function(){}, stopPropagation: function(){}};\n    if (props) for (var n in props) e[n] = props[n];\n    outcome = null;\n    cm.triggerOnKeyDown(e);\n    eq(outcome, expected);\n  }\n  CodeMirror.commands.testCommand = function() {outcome = \"tc\";};\n  CodeMirror.commands.goTestCommand = function() {outcome = \"gtc\";};\n  cm.setOption(\"extraKeys\", {\"Shift-X\": function() {outcome = \"sx\";},\n                             \"X\": function() {outcome = \"x\";},\n                             \"Ctrl-Alt-U\": function() {outcome = \"cau\";},\n                             \"End\": \"testCommand\",\n                             \"Home\": \"goTestCommand\",\n                             \"Tab\": false});\n  fakeKey(null, \"U\");\n  fakeKey(\"cau\", \"U\", {ctrlKey: true, altKey: true});\n  fakeKey(null, \"U\", {shiftKey: true, ctrlKey: true, altKey: true});\n  fakeKey(\"x\", \"X\");\n  fakeKey(\"sx\", \"X\", {shiftKey: true});\n  fakeKey(\"tc\", 35);\n  fakeKey(null, 35, {shiftKey: true});\n  fakeKey(\"gtc\", 36);\n  fakeKey(\"gtc\", 36, {shiftKey: true});\n  fakeKey(null, 9);\n}, null, window.opera && mac);\n\ntestCM(\"wordMovementCommands\", function(cm) {\n  cm.execCommand(\"goWordLeft\");\n  eqPos(cm.getCursor(), Pos(0, 0));\n  cm.execCommand(\"goWordRight\"); cm.execCommand(\"goWordRight\");\n  eqPos(cm.getCursor(), Pos(0, 7));\n  cm.execCommand(\"goWordLeft\");\n  eqPos(cm.getCursor(), Pos(0, 5));\n  cm.execCommand(\"goWordRight\"); cm.execCommand(\"goWordRight\");\n  eqPos(cm.getCursor(), Pos(0, 12));\n  cm.execCommand(\"goWordLeft\");\n  eqPos(cm.getCursor(), Pos(0, 9));\n  cm.execCommand(\"goWordRight\"); cm.execCommand(\"goWordRight\"); cm.execCommand(\"goWordRight\");\n  eqPos(cm.getCursor(), Pos(0, 24));\n  cm.execCommand(\"goWordRight\"); cm.execCommand(\"goWordRight\");\n  eqPos(cm.getCursor(), Pos(1, 9));\n  cm.execCommand(\"goWordRight\");\n  eqPos(cm.getCursor(), Pos(1, 13));\n  cm.execCommand(\"goWordRight\"); cm.execCommand(\"goWordRight\");\n  eqPos(cm.getCursor(), Pos(2, 0));\n}, {value: \"this is (the) firstline.\\na foo12\\u00e9\\u00f8\\u00d7bar\\n\"});\n\ntestCM(\"groupMovementCommands\", function(cm) {\n  cm.execCommand(\"goGroupLeft\");\n  eqPos(cm.getCursor(), Pos(0, 0));\n  cm.execCommand(\"goGroupRight\");\n  eqPos(cm.getCursor(), Pos(0, 4));\n  cm.execCommand(\"goGroupRight\");\n  eqPos(cm.getCursor(), Pos(0, 7));\n  cm.execCommand(\"goGroupRight\");\n  eqPos(cm.getCursor(), Pos(0, 10));\n  cm.execCommand(\"goGroupLeft\");\n  eqPos(cm.getCursor(), Pos(0, 7));\n  cm.execCommand(\"goGroupRight\"); cm.execCommand(\"goGroupRight\"); cm.execCommand(\"goGroupRight\");\n  eqPos(cm.getCursor(), Pos(0, 15));\n  cm.setCursor(Pos(0, 17));\n  cm.execCommand(\"goGroupLeft\");\n  eqPos(cm.getCursor(), Pos(0, 16));\n  cm.execCommand(\"goGroupLeft\");\n  eqPos(cm.getCursor(), Pos(0, 14));\n  cm.execCommand(\"goGroupRight\"); cm.execCommand(\"goGroupRight\");\n  eqPos(cm.getCursor(), Pos(0, 20));\n  cm.execCommand(\"goGroupRight\");\n  eqPos(cm.getCursor(), Pos(1, 5));\n  cm.execCommand(\"goGroupLeft\"); cm.execCommand(\"goGroupLeft\");\n  eqPos(cm.getCursor(), Pos(1, 0));\n  cm.execCommand(\"goGroupLeft\");\n  eqPos(cm.getCursor(), Pos(0, 16));\n}, {value: \"booo ba---quux. ffff\\n  abc d\"});\n\ntestCM(\"charMovementCommands\", function(cm) {\n  cm.execCommand(\"goCharLeft\"); cm.execCommand(\"goColumnLeft\");\n  eqPos(cm.getCursor(), Pos(0, 0));\n  cm.execCommand(\"goCharRight\"); cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(0, 2));\n  cm.setCursor(Pos(1, 0));\n  cm.execCommand(\"goColumnLeft\");\n  eqPos(cm.getCursor(), Pos(1, 0));\n  cm.execCommand(\"goCharLeft\");\n  eqPos(cm.getCursor(), Pos(0, 5));\n  cm.execCommand(\"goColumnRight\");\n  eqPos(cm.getCursor(), Pos(0, 5));\n  cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(1, 0));\n  cm.execCommand(\"goLineEnd\");\n  eqPos(cm.getCursor(), Pos(1, 5));\n  cm.execCommand(\"goLineStartSmart\");\n  eqPos(cm.getCursor(), Pos(1, 1));\n  cm.execCommand(\"goLineStartSmart\");\n  eqPos(cm.getCursor(), Pos(1, 0));\n  cm.setCursor(Pos(2, 0));\n  cm.execCommand(\"goCharRight\"); cm.execCommand(\"goColumnRight\");\n  eqPos(cm.getCursor(), Pos(2, 0));\n}, {value: \"line1\\n ine2\\n\"});\n\ntestCM(\"verticalMovementCommands\", function(cm) {\n  cm.execCommand(\"goLineUp\");\n  eqPos(cm.getCursor(), Pos(0, 0));\n  cm.execCommand(\"goLineDown\");\n  if (!phantom) // This fails in PhantomJS, though not in a real Webkit\n    eqPos(cm.getCursor(), Pos(1, 0));\n  cm.setCursor(Pos(1, 12));\n  cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(2, 5));\n  cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(3, 0));\n  cm.execCommand(\"goLineUp\");\n  eqPos(cm.getCursor(), Pos(2, 5));\n  cm.execCommand(\"goLineUp\");\n  eqPos(cm.getCursor(), Pos(1, 12));\n  cm.execCommand(\"goPageDown\");\n  eqPos(cm.getCursor(), Pos(5, 0));\n  cm.execCommand(\"goPageDown\"); cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(5, 0));\n  cm.execCommand(\"goPageUp\");\n  eqPos(cm.getCursor(), Pos(0, 0));\n}, {value: \"line1\\nlong long line2\\nline3\\n\\nline5\\n\"});\n\ntestCM(\"verticalMovementCommandsWrapping\", function(cm) {\n  cm.setSize(120);\n  cm.setCursor(Pos(0, 5));\n  cm.execCommand(\"goLineDown\");\n  eq(cm.getCursor().line, 0);\n  is(cm.getCursor().ch > 5, \"moved beyond wrap\");\n  for (var i = 0; ; ++i) {\n    is(i < 20, \"no endless loop\");\n    cm.execCommand(\"goLineDown\");\n    var cur = cm.getCursor();\n    if (cur.line == 1) eq(cur.ch, 5);\n    if (cur.line == 2) { eq(cur.ch, 1); break; }\n  }\n}, {value: \"a very long line that wraps around somehow so that we can test cursor movement\\nshortone\\nk\",\n    lineWrapping: true});\n\ntestCM(\"rtlMovement\", function(cm) {\n  forEach([\"خحج\", \"خحabcخحج\", \"abخحخحجcd\", \"abخde\", \"abخح2342خ1حج\", \"خ1ح2خح3حxج\",\n           \"خحcd\", \"1خحcd\", \"abcdeح1ج\", \"خمرحبها مها!\", \"foobarر\",\n           \"<img src=\\\"/בדיקה3.jpg\\\">\"], function(line) {\n    var inv = line.charAt(0) == \"خ\";\n    cm.setValue(line + \"\\n\"); cm.execCommand(inv ? \"goLineEnd\" : \"goLineStart\");\n    var cursor = byClassName(cm.getWrapperElement(), \"CodeMirror-cursor\")[0];\n    var prevX = cursor.offsetLeft, prevY = cursor.offsetTop;\n    for (var i = 0; i <= line.length; ++i) {\n      cm.execCommand(\"goCharRight\");\n      if (i == line.length) is(cursor.offsetTop > prevY, \"next line\");\n      else is(cursor.offsetLeft > prevX, \"moved right\");\n      prevX = cursor.offsetLeft; prevY = cursor.offsetTop;\n    }\n    cm.setCursor(0, 0); cm.execCommand(inv ? \"goLineStart\" : \"goLineEnd\");\n    prevX = cursor.offsetLeft;\n    for (var i = 0; i < line.length; ++i) {\n      cm.execCommand(\"goCharLeft\");\n      is(cursor.offsetLeft < prevX, \"moved left\");\n      prevX = cursor.offsetLeft;\n    }\n  });\n});\n\n// Verify that updating a line clears its bidi ordering\ntestCM(\"bidiUpdate\", function(cm) {\n  cm.setCursor(Pos(0, 2));\n  cm.replaceSelection(\"خحج\", \"start\");\n  cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(0, 4));\n}, {value: \"abcd\\n\"});\n\ntestCM(\"movebyTextUnit\", function(cm) {\n  cm.setValue(\"בְּרֵאשִ\\ńéée\\n\");\n  cm.execCommand(\"goLineEnd\");\n  for (var i = 0; i < 4; ++i) cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(0, 0));\n  cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(1, 0));\n  cm.execCommand(\"goCharRight\");\n  cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(1, 3));\n  cm.execCommand(\"goCharRight\");\n  cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(1, 6));\n});\n\ntestCM(\"lineChangeEvents\", function(cm) {\n  addDoc(cm, 3, 5);\n  var log = [], want = [\"ch 0\", \"ch 1\", \"del 2\", \"ch 0\", \"ch 0\", \"del 1\", \"del 3\", \"del 4\"];\n  for (var i = 0; i < 5; ++i) {\n    CodeMirror.on(cm.getLineHandle(i), \"delete\", function(i) {\n      return function() {log.push(\"del \" + i);};\n    }(i));\n    CodeMirror.on(cm.getLineHandle(i), \"change\", function(i) {\n      return function() {log.push(\"ch \" + i);};\n    }(i));\n  }\n  cm.replaceRange(\"x\", Pos(0, 1));\n  cm.replaceRange(\"xy\", Pos(1, 1), Pos(2));\n  cm.replaceRange(\"foo\\nbar\", Pos(0, 1));\n  cm.replaceRange(\"\", Pos(0, 0), Pos(cm.lineCount()));\n  eq(log.length, want.length, \"same length\");\n  for (var i = 0; i < log.length; ++i)\n    eq(log[i], want[i]);\n});\n\ntestCM(\"scrollEntirelyToRight\", function(cm) {\n  if (phantom) return;\n  addDoc(cm, 500, 2);\n  cm.setCursor(Pos(0, 500));\n  var wrap = cm.getWrapperElement(), cur = byClassName(wrap, \"CodeMirror-cursor\")[0];\n  is(wrap.getBoundingClientRect().right > cur.getBoundingClientRect().left);\n});\n\ntestCM(\"lineWidgets\", function(cm) {\n  addDoc(cm, 500, 3);\n  var last = cm.charCoords(Pos(2, 0));\n  var node = document.createElement(\"div\");\n  node.innerHTML = \"hi\";\n  var widget = cm.addLineWidget(1, node);\n  is(last.top < cm.charCoords(Pos(2, 0)).top, \"took up space\");\n  cm.setCursor(Pos(1, 1));\n  cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(2, 1));\n  cm.execCommand(\"goLineUp\");\n  eqPos(cm.getCursor(), Pos(1, 1));\n});\n\ntestCM(\"lineWidgetFocus\", function(cm) {\n  var place = document.getElementById(\"testground\");\n  place.className = \"offscreen\";\n  try {\n    addDoc(cm, 500, 10);\n    var node = document.createElement(\"input\");\n    var widget = cm.addLineWidget(1, node);\n    node.focus();\n    eq(document.activeElement, node);\n    cm.replaceRange(\"new stuff\", Pos(1, 0));\n    eq(document.activeElement, node);\n  } finally {\n    place.className = \"\";\n  }\n});\n\ntestCM(\"getLineNumber\", function(cm) {\n  addDoc(cm, 2, 20);\n  var h1 = cm.getLineHandle(1);\n  eq(cm.getLineNumber(h1), 1);\n  cm.replaceRange(\"hi\\nbye\\n\", Pos(0, 0));\n  eq(cm.getLineNumber(h1), 3);\n  cm.setValue(\"\");\n  eq(cm.getLineNumber(h1), null);\n});\n\ntestCM(\"jumpTheGap\", function(cm) {\n  var longLine = \"abcdef ghiklmnop qrstuvw xyz \";\n  longLine += longLine; longLine += longLine; longLine += longLine;\n  cm.setLine(2, longLine);\n  cm.setSize(\"200px\", null);\n  cm.getWrapperElement().style.lineHeight = 2;\n  cm.refresh();\n  cm.setCursor(Pos(0, 1));\n  cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(1, 1));\n  cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(2, 1));\n  cm.execCommand(\"goLineDown\");\n  eq(cm.getCursor().line, 2);\n  is(cm.getCursor().ch > 1);\n  cm.execCommand(\"goLineUp\");\n  eqPos(cm.getCursor(), Pos(2, 1));\n  cm.execCommand(\"goLineUp\");\n  eqPos(cm.getCursor(), Pos(1, 1));\n  var node = document.createElement(\"div\");\n  node.innerHTML = \"hi\"; node.style.height = \"30px\";\n  cm.addLineWidget(0, node);\n  cm.addLineWidget(1, node.cloneNode(true), {above: true});\n  cm.setCursor(Pos(0, 2));\n  cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(1, 2));\n  cm.execCommand(\"goLineUp\");\n  eqPos(cm.getCursor(), Pos(0, 2));\n}, {lineWrapping: true, value: \"abc\\ndef\\nghi\\njkl\\n\"});\n\ntestCM(\"addLineClass\", function(cm) {\n  function cls(line, text, bg, wrap) {\n    var i = cm.lineInfo(line);\n    eq(i.textClass, text);\n    eq(i.bgClass, bg);\n    eq(i.wrapClass, wrap);\n  }\n  cm.addLineClass(0, \"text\", \"foo\");\n  cm.addLineClass(0, \"text\", \"bar\");\n  cm.addLineClass(1, \"background\", \"baz\");\n  cm.addLineClass(1, \"wrap\", \"foo\");\n  cls(0, \"foo bar\", null, null);\n  cls(1, null, \"baz\", \"foo\");\n  var lines = cm.display.lineDiv;\n  eq(byClassName(lines, \"foo\").length, 2);\n  eq(byClassName(lines, \"bar\").length, 1);\n  eq(byClassName(lines, \"baz\").length, 1);\n  cm.removeLineClass(0, \"text\", \"foo\");\n  cls(0, \"bar\", null, null);\n  cm.removeLineClass(0, \"text\", \"foo\");\n  cls(0, \"bar\", null, null);\n  cm.removeLineClass(0, \"text\", \"bar\");\n  cls(0, null, null, null);\n  cm.addLineClass(1, \"wrap\", \"quux\");\n  cls(1, null, \"baz\", \"foo quux\");\n  cm.removeLineClass(1, \"wrap\");\n  cls(1, null, \"baz\", null);\n}, {value: \"hohoho\\n\"});\n\ntestCM(\"atomicMarker\", function(cm) {\n  addDoc(cm, 10, 10);\n  function atom(ll, cl, lr, cr, li, ri) {\n    return cm.markText(Pos(ll, cl), Pos(lr, cr),\n                       {atomic: true, inclusiveLeft: li, inclusiveRight: ri});\n  }\n  var m = atom(0, 1, 0, 5);\n  cm.setCursor(Pos(0, 1));\n  cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(0, 5));\n  cm.execCommand(\"goCharLeft\");\n  eqPos(cm.getCursor(), Pos(0, 1));\n  m.clear();\n  m = atom(0, 0, 0, 5, true);\n  eqPos(cm.getCursor(), Pos(0, 5), \"pushed out\");\n  cm.execCommand(\"goCharLeft\");\n  eqPos(cm.getCursor(), Pos(0, 5));\n  m.clear();\n  m = atom(8, 4, 9, 10, false, true);\n  cm.setCursor(Pos(9, 8));\n  eqPos(cm.getCursor(), Pos(8, 4), \"set\");\n  cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(8, 4), \"char right\");\n  cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(8, 4), \"line down\");\n  cm.execCommand(\"goCharLeft\");\n  eqPos(cm.getCursor(), Pos(8, 3));\n  m.clear();\n  m = atom(1, 1, 3, 8);\n  cm.setCursor(Pos(0, 0));\n  cm.setCursor(Pos(2, 0));\n  eqPos(cm.getCursor(), Pos(3, 8));\n  cm.execCommand(\"goCharLeft\");\n  eqPos(cm.getCursor(), Pos(1, 1));\n  cm.execCommand(\"goCharRight\");\n  eqPos(cm.getCursor(), Pos(3, 8));\n  cm.execCommand(\"goLineUp\");\n  eqPos(cm.getCursor(), Pos(1, 1));\n  cm.execCommand(\"goLineDown\");\n  eqPos(cm.getCursor(), Pos(3, 8));\n  cm.execCommand(\"delCharBefore\");\n  eq(cm.getValue().length, 80, \"del chunk\");\n  m = atom(3, 0, 5, 5);\n  cm.setCursor(Pos(3, 0));\n  cm.execCommand(\"delWordAfter\");\n  eq(cm.getValue().length, 53, \"del chunk\");\n});\n\ntestCM(\"readOnlyMarker\", function(cm) {\n  function mark(ll, cl, lr, cr, at) {\n    return cm.markText(Pos(ll, cl), Pos(lr, cr),\n                       {readOnly: true, atomic: at});\n  }\n  var m = mark(0, 1, 0, 4);\n  cm.setCursor(Pos(0, 2));\n  cm.replaceSelection(\"hi\", \"end\");\n  eqPos(cm.getCursor(), Pos(0, 2));\n  eq(cm.getLine(0), \"abcde\");\n  cm.execCommand(\"selectAll\");\n  cm.replaceSelection(\"oops\");\n  eq(cm.getValue(), \"oopsbcd\");\n  cm.undo();\n  eqPos(m.find().from, Pos(0, 1));\n  eqPos(m.find().to, Pos(0, 4));\n  m.clear();\n  cm.setCursor(Pos(0, 2));\n  cm.replaceSelection(\"hi\");\n  eq(cm.getLine(0), \"abhicde\");\n  eqPos(cm.getCursor(), Pos(0, 4));\n  m = mark(0, 2, 2, 2, true);\n  cm.setSelection(Pos(1, 1), Pos(2, 4));\n  cm.replaceSelection(\"t\", \"end\");\n  eqPos(cm.getCursor(), Pos(2, 3));\n  eq(cm.getLine(2), \"klto\");\n  cm.execCommand(\"goCharLeft\");\n  cm.execCommand(\"goCharLeft\");\n  eqPos(cm.getCursor(), Pos(0, 2));\n  cm.setSelection(Pos(0, 1), Pos(0, 3));\n  cm.replaceSelection(\"xx\");\n  eqPos(cm.getCursor(), Pos(0, 3));\n  eq(cm.getLine(0), \"axxhicde\");\n}, {value: \"abcde\\nfghij\\nklmno\\n\"});\n\ntestCM(\"dirtyBit\", function(cm) {\n  eq(cm.isClean(), true);\n  cm.replaceSelection(\"boo\");\n  eq(cm.isClean(), false);\n  cm.undo();\n  eq(cm.isClean(), true);\n  cm.replaceSelection(\"boo\");\n  cm.replaceSelection(\"baz\");\n  cm.undo();\n  eq(cm.isClean(), false);\n  cm.markClean();\n  eq(cm.isClean(), true);\n  cm.undo();\n  eq(cm.isClean(), false);\n  cm.redo();\n  eq(cm.isClean(), true);\n});\n\ntestCM(\"addKeyMap\", function(cm) {\n  function sendKey(code) {\n    cm.triggerOnKeyDown({type: \"keydown\", keyCode: code,\n                         preventDefault: function(){}, stopPropagation: function(){}});\n  }\n\n  sendKey(39);\n  eqPos(cm.getCursor(), Pos(0, 1));\n  var test = 0;\n  var map1 = {Right: function() { ++test; }}, map2 = {Right: function() { test += 10; }}\n  cm.addKeyMap(map1);\n  sendKey(39);\n  eqPos(cm.getCursor(), Pos(0, 1));\n  eq(test, 1);\n  cm.addKeyMap(map2, true);\n  sendKey(39);\n  eq(test, 2);\n  cm.removeKeyMap(map1);\n  sendKey(39);\n  eq(test, 12);\n  cm.removeKeyMap(map2);\n  sendKey(39);\n  eq(test, 12);\n  eqPos(cm.getCursor(), Pos(0, 2));\n  cm.addKeyMap({Right: function() { test = 55; }, name: \"mymap\"});\n  sendKey(39);\n  eq(test, 55);\n  cm.removeKeyMap(\"mymap\");\n  sendKey(39);\n  eqPos(cm.getCursor(), Pos(0, 3));\n}, {value: \"abc\"});\n\ntestCM(\"findPosH\", function(cm) {\n  forEach([{from: Pos(0, 0), to: Pos(0, 1), by: 1},\n           {from: Pos(0, 0), to: Pos(0, 0), by: -1, hitSide: true},\n           {from: Pos(0, 0), to: Pos(0, 4), by: 1, unit: \"word\"},\n           {from: Pos(0, 0), to: Pos(0, 8), by: 2, unit: \"word\"},\n           {from: Pos(0, 0), to: Pos(2, 0), by: 20, unit: \"word\", hitSide: true},\n           {from: Pos(0, 7), to: Pos(0, 5), by: -1, unit: \"word\"},\n           {from: Pos(0, 4), to: Pos(0, 8), by: 1, unit: \"word\"},\n           {from: Pos(1, 0), to: Pos(1, 18), by: 3, unit: \"word\"},\n           {from: Pos(1, 22), to: Pos(1, 5), by: -3, unit: \"word\"},\n           {from: Pos(1, 15), to: Pos(1, 10), by: -5},\n           {from: Pos(1, 15), to: Pos(1, 10), by: -5, unit: \"column\"},\n           {from: Pos(1, 15), to: Pos(1, 0), by: -50, unit: \"column\", hitSide: true},\n           {from: Pos(1, 15), to: Pos(1, 24), by: 50, unit: \"column\", hitSide: true},\n           {from: Pos(1, 15), to: Pos(2, 0), by: 50, hitSide: true}], function(t) {\n    var r = cm.findPosH(t.from, t.by, t.unit || \"char\");\n    eqPos(r, t.to);\n    eq(!!r.hitSide, !!t.hitSide);\n  });\n}, {value: \"line one\\nline two.something.other\\n\"});\n\ntestCM(\"beforeChange\", function(cm) {\n  cm.on(\"beforeChange\", function(cm, change) {\n    var text = [];\n    for (var i = 0; i < change.text.length; ++i)\n      text.push(change.text[i].replace(/\\s/g, \"_\"));\n    change.update(null, null, text);\n  });\n  cm.setValue(\"hello, i am a\\nnew document\\n\");\n  eq(cm.getValue(), \"hello,_i_am_a\\nnew_document\\n\");\n  CodeMirror.on(cm.getDoc(), \"beforeChange\", function(doc, change) {\n    if (change.from.line == 0) change.cancel();\n  });\n  cm.setValue(\"oops\"); // Canceled\n  eq(cm.getValue(), \"hello,_i_am_a\\nnew_document\\n\");\n  cm.replaceRange(\"hey hey hey\", Pos(1, 0), Pos(2, 0));\n  eq(cm.getValue(), \"hello,_i_am_a\\nhey_hey_hey\");\n}, {value: \"abcdefghijk\"});\n\ntestCM(\"beforeChangeUndo\", function(cm) {\n  cm.setLine(0, \"hi\");\n  cm.setLine(0, \"bye\");\n  eq(cm.historySize().undo, 2);\n  cm.on(\"beforeChange\", function(cm, change) {\n    is(!change.update);\n    change.cancel();\n  });\n  cm.undo();\n  eq(cm.historySize().undo, 0);\n  eq(cm.getValue(), \"bye\\ntwo\");\n}, {value: \"one\\ntwo\"});\n\ntestCM(\"beforeSelectionChange\", function(cm) {\n  function notAtEnd(cm, pos) {\n    var len = cm.getLine(pos.line).length;\n    if (!len || pos.ch == len) return Pos(pos.line, pos.ch - 1);\n    return pos;\n  }\n  cm.on(\"beforeSelectionChange\", function(cm, sel) {\n    sel.head = notAtEnd(cm, sel.head);\n    sel.anchor = notAtEnd(cm, sel.anchor);\n  });\n\n  addDoc(cm, 10, 10);\n  cm.execCommand(\"goLineEnd\");\n  eqPos(cm.getCursor(), Pos(0, 9));\n  cm.execCommand(\"selectAll\");\n  eqPos(cm.getCursor(\"start\"), Pos(0, 0));\n  eqPos(cm.getCursor(\"end\"), Pos(9, 9));\n});\n\ntestCM(\"change_removedText\", function(cm) {\n  cm.setValue(\"abc\\ndef\");\n\n  var removedText;\n  cm.on(\"change\", function(cm, change) {\n    removedText = [change.removed, change.next && change.next.removed];\n  });\n\n  cm.operation(function() {\n    cm.replaceRange(\"xyz\", Pos(0, 0), Pos(1,1));\n    cm.replaceRange(\"123\", Pos(0,0));\n  });\n\n  eq(removedText[0].join(\"\\n\"), \"abc\\nd\");\n  eq(removedText[1].join(\"\\n\"), \"\");\n\n  cm.undo();\n  eq(removedText[0].join(\"\\n\"), \"123\");\n  eq(removedText[1].join(\"\\n\"), \"xyz\");\n\n  cm.redo();\n  eq(removedText[0].join(\"\\n\"), \"abc\\nd\");\n  eq(removedText[1].join(\"\\n\"), \"\");\n});\n\ntestCM(\"lineStyleFromMode\", function(cm) {\n  CodeMirror.defineMode(\"test_mode\", function() {\n    return {token: function(stream) {\n      if (stream.match(/^\\[[^\\]]*\\]/)) return \"line-brackets\";\n      if (stream.match(/^\\([^\\]]*\\)/)) return \"line-background-parens\";\n      stream.match(/^\\s+|^\\S+/);\n    }};\n  });\n  cm.setOption(\"mode\", \"test_mode\");\n  var bracketElts = byClassName(cm.getWrapperElement(), \"brackets\");\n  eq(bracketElts.length, 1);\n  eq(bracketElts[0].nodeName, \"PRE\");\n  is(!/brackets.*brackets/.test(bracketElts[0].className));\n  var parenElts = byClassName(cm.getWrapperElement(), \"parens\");\n  eq(parenElts.length, 1);\n  eq(parenElts[0].nodeName, \"DIV\");\n  is(!/parens.*parens/.test(parenElts[0].className));\n}, {value: \"line1: [br] [br]\\nline2: (par) (par)\\nline3: nothing\"});\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/test/vim_test.js",
    "content": "var code = '' +\n' wOrd1 (#%\\n' +\n' word3] \\n' +\n'aopop pop 0 1 2 3 4\\n' +\n' (a) [b] {c} \\n' +\n'int getchar(void) {\\n' +\n'  static char buf[BUFSIZ];\\n' +\n'  static char *bufp = buf;\\n' +\n'  if (n == 0) {  /* buffer is empty */\\n' +\n'    n = read(0, buf, sizeof buf);\\n' +\n'    bufp = buf;\\n' +\n'  }\\n' +\n'\\n' +\n'  return (--n >= 0) ? (unsigned char) *bufp++ : EOF;\\n' +\n' \\n' +\n'}\\n';\n\nvar lines = (function() {\n  lineText = code.split('\\n');\n  var ret = [];\n  for (var i = 0; i < lineText.length; i++) {\n    ret[i] = {\n      line: i,\n      length: lineText[i].length,\n      lineText: lineText[i],\n      textStart: /^\\s*/.exec(lineText[i])[0].length\n    };\n  }\n  return ret;\n})();\nvar endOfDocument = makeCursor(lines.length - 1,\n    lines[lines.length - 1].length);\nvar wordLine = lines[0];\nvar bigWordLine = lines[1];\nvar charLine = lines[2];\nvar bracesLine = lines[3];\nvar seekBraceLine = lines[4];\n\nvar word1 = {\n  start: { line: wordLine.line, ch: 1 },\n  end: { line: wordLine.line, ch: 5 }\n};\nvar word2 = {\n  start: { line: wordLine.line, ch: word1.end.ch + 2 },\n  end: { line: wordLine.line, ch: word1.end.ch + 4 }\n};\nvar word3 = {\n  start: { line: bigWordLine.line, ch: 1 },\n  end: { line: bigWordLine.line, ch: 5 }\n};\nvar bigWord1 = word1;\nvar bigWord2 = word2;\nvar bigWord3 = {\n  start: { line: bigWordLine.line, ch: 1 },\n  end: { line: bigWordLine.line, ch: 7 }\n};\nvar bigWord4 = {\n  start: { line: bigWordLine.line, ch: bigWord1.end.ch + 3 },\n  end: { line: bigWordLine.line, ch: bigWord1.end.ch + 7 }\n};\n\nvar oChars = [ { line: charLine.line, ch: 1 },\n    { line: charLine.line, ch: 3 },\n    { line: charLine.line, ch: 7 } ];\nvar pChars = [ { line: charLine.line, ch: 2 },\n    { line: charLine.line, ch: 4 },\n    { line: charLine.line, ch: 6 },\n    { line: charLine.line, ch: 8 } ];\nvar numChars = [ { line: charLine.line, ch: 10 },\n    { line: charLine.line, ch: 12 },\n    { line: charLine.line, ch: 14 },\n    { line: charLine.line, ch: 16 },\n    { line: charLine.line, ch: 18 }];\nvar parens1 = {\n  start: { line: bracesLine.line, ch: 1 },\n  end: { line: bracesLine.line, ch: 3 }\n};\nvar squares1 = {\n  start: { line: bracesLine.line, ch: 5 },\n  end: { line: bracesLine.line, ch: 7 }\n};\nvar curlys1 = {\n  start: { line: bracesLine.line, ch: 9 },\n  end: { line: bracesLine.line, ch: 11 }\n};\nvar seekOutside = {\n  start: { line: seekBraceLine.line, ch: 1 },\n  end: { line: seekBraceLine.line, ch: 16 }\n};\nvar seekInside = {\n  start: { line: seekBraceLine.line, ch: 14 },\n  end: { line: seekBraceLine.line, ch: 11 }\n};\n\nfunction copyCursor(cur) {\n  return { ch: cur.ch, line: cur.line };\n}\n\nfunction testVim(name, run, opts, expectedFail) {\n  var vimOpts = {\n    lineNumbers: true,\n    vimMode: true,\n    showCursorWhenSelecting: true,\n    value: code\n  };\n  for (var prop in opts) {\n    if (opts.hasOwnProperty(prop)) {\n      vimOpts[prop] = opts[prop];\n    }\n  }\n  return test('vim_' + name, function() {\n    var place = document.getElementById(\"testground\");\n    var cm = CodeMirror(place, vimOpts);\n    var vim = CodeMirror.Vim.maybeInitVimState_(cm);\n\n    function doKeysFn(cm) {\n      return function(args) {\n        if (args instanceof Array) {\n          arguments = args;\n        }\n        for (var i = 0; i < arguments.length; i++) {\n          CodeMirror.Vim.handleKey(cm, arguments[i]);\n        }\n      }\n    }\n    function doInsertModeKeysFn(cm) {\n      return function(args) {\n        if (args instanceof Array) { arguments = args; }\n        function executeHandler(handler) {\n          if (typeof handler == 'string') {\n            CodeMirror.commands[handler](cm);\n          } else {\n            handler(cm);\n          }\n          return true;\n        }\n        for (var i = 0; i < arguments.length; i++) {\n          var key = arguments[i];\n          // Find key in keymap and handle.\n          var handled = CodeMirror.lookupKey(key, ['vim-insert'], executeHandler);\n          // Record for insert mode.\n          if (handled === true && cm.state.vim.insertMode && arguments[i] != 'Esc') {\n            var lastChange = CodeMirror.Vim.getVimGlobalState_().macroModeState.lastInsertModeChanges;\n            if (lastChange) {\n              lastChange.changes.push(new CodeMirror.Vim.InsertModeKey(key));\n            }\n          }\n        }\n      }\n    }\n    function doExFn(cm) {\n      return function(command) {\n        cm.openDialog = helpers.fakeOpenDialog(command);\n        helpers.doKeys(':');\n      }\n    }\n    function assertCursorAtFn(cm) {\n      return function(line, ch) {\n        var pos;\n        if (ch == null && typeof line.line == 'number') {\n          pos = line;\n        } else {\n          pos = makeCursor(line, ch);\n        }\n        eqPos(pos, cm.getCursor());\n      }\n    }\n    function fakeOpenDialog(result) {\n      return function(text, callback) {\n        return callback(result);\n      }\n    }\n    var helpers = {\n      doKeys: doKeysFn(cm),\n      // Warning: Only emulates keymap events, not character insertions. Use\n      // replaceRange to simulate character insertions.\n      // Keys are in CodeMirror format, NOT vim format.\n      doInsertModeKeys: doInsertModeKeysFn(cm),\n      doEx: doExFn(cm),\n      assertCursorAt: assertCursorAtFn(cm),\n      fakeOpenDialog: fakeOpenDialog,\n      getRegisterController: function() {\n        return CodeMirror.Vim.getRegisterController();\n      }\n    }\n    CodeMirror.Vim.resetVimGlobalState_();\n    var successful = false;\n    try {\n      run(cm, vim, helpers);\n      successful = true;\n    } finally {\n      if ((debug && !successful) || verbose) {\n        place.style.visibility = \"visible\";\n      } else {\n        place.removeChild(cm.getWrapperElement());\n      }\n    }\n  }, expectedFail);\n};\ntestVim('qq@q', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('q', 'q', 'l', 'l', 'q');\n  helpers.assertCursorAt(0,2);\n  helpers.doKeys('@', 'q');\n  helpers.assertCursorAt(0,4);\n}, { value: '            '});\ntestVim('@@', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('q', 'q', 'l', 'l', 'q');\n  helpers.assertCursorAt(0,2);\n  helpers.doKeys('@', 'q');\n  helpers.assertCursorAt(0,4);\n  helpers.doKeys('@', '@');\n  helpers.assertCursorAt(0,6);\n}, { value: '            '});\nvar jumplistScene = ''+\n  'word\\n'+\n  '(word)\\n'+\n  '{word\\n'+\n  'word.\\n'+\n  '\\n'+\n  'word search\\n'+\n  '}word\\n'+\n  'word\\n'+\n  'word\\n';\nfunction testJumplist(name, keys, endPos, startPos, dialog) {\n  endPos = makeCursor(endPos[0], endPos[1]);\n  startPos = makeCursor(startPos[0], startPos[1]);\n  testVim(name, function(cm, vim, helpers) {\n    CodeMirror.Vim.resetVimGlobalState_();\n    if(dialog)cm.openDialog = helpers.fakeOpenDialog('word');\n    cm.setCursor(startPos);\n    helpers.doKeys.apply(null, keys);\n    helpers.assertCursorAt(endPos);\n  }, {value: jumplistScene});\n};\ntestJumplist('jumplist_H', ['H', '<C-o>'], [5,2], [5,2]);\ntestJumplist('jumplist_M', ['M', '<C-o>'], [2,2], [2,2]);\ntestJumplist('jumplist_L', ['L', '<C-o>'], [2,2], [2,2]);\ntestJumplist('jumplist_[[', ['[', '[', '<C-o>'], [5,2], [5,2]);\ntestJumplist('jumplist_]]', [']', ']', '<C-o>'], [2,2], [2,2]);\ntestJumplist('jumplist_G', ['G', '<C-o>'], [5,2], [5,2]);\ntestJumplist('jumplist_gg', ['g', 'g', '<C-o>'], [5,2], [5,2]);\ntestJumplist('jumplist_%', ['%', '<C-o>'], [1,5], [1,5]);\ntestJumplist('jumplist_{', ['{', '<C-o>'], [1,5], [1,5]);\ntestJumplist('jumplist_}', ['}', '<C-o>'], [1,5], [1,5]);\ntestJumplist('jumplist_\\'', ['m', 'a', 'h', '\\'', 'a', 'h', '<C-i>'], [1,5], [1,5]);\ntestJumplist('jumplist_`', ['m', 'a', 'h', '`', 'a', 'h', '<C-i>'], [1,5], [1,5]);\ntestJumplist('jumplist_*_cachedCursor', ['*', '<C-o>'], [1,3], [1,3]);\ntestJumplist('jumplist_#_cachedCursor', ['#', '<C-o>'], [1,3], [1,3]);\ntestJumplist('jumplist_n', ['#', 'n', '<C-o>'], [1,1], [2,3]);\ntestJumplist('jumplist_N', ['#', 'N', '<C-o>'], [1,1], [2,3]);\ntestJumplist('jumplist_repeat_<c-o>', ['*', '*', '*', '3', '<C-o>'], [2,3], [2,3]);\ntestJumplist('jumplist_repeat_<c-i>', ['*', '*', '*', '3', '<C-o>', '2', '<C-i>'], [5,0], [2,3]);\ntestJumplist('jumplist_repeated_motion', ['3', '*', '<C-o>'], [2,3], [2,3]);\ntestJumplist('jumplist_/', ['/', '<C-o>'], [2,3], [2,3], 'dialog');\ntestJumplist('jumplist_?', ['?', '<C-o>'], [2,3], [2,3], 'dialog');\ntestJumplist('jumplist_skip_delted_mark<c-o>',\n             ['*', 'n', 'n', 'k', 'd', 'k', '<C-o>', '<C-o>', '<C-o>'],\n             [0,2], [0,2]);\ntestJumplist('jumplist_skip_delted_mark<c-i>',\n             ['*', 'n', 'n', 'k', 'd', 'k', '<C-o>', '<C-i>', '<C-i>'],\n             [1,0], [0,2]);\n/**\n * @param name Name of the test\n * @param keys An array of keys or a string with a single key to simulate.\n * @param endPos The expected end position of the cursor.\n * @param startPos The position the cursor should start at, defaults to 0, 0.\n */\nfunction testMotion(name, keys, endPos, startPos) {\n  testVim(name, function(cm, vim, helpers) {\n    if (!startPos) {\n      startPos = { line: 0, ch: 0 };\n    }\n    cm.setCursor(startPos);\n    helpers.doKeys(keys);\n    helpers.assertCursorAt(endPos);\n  });\n};\n\nfunction makeCursor(line, ch) {\n  return { line: line, ch: ch };\n};\n\nfunction offsetCursor(cur, offsetLine, offsetCh) {\n  return { line: cur.line + offsetLine, ch: cur.ch + offsetCh };\n};\n\n// Motion tests\ntestMotion('|', '|', makeCursor(0, 0), makeCursor(0,4));\ntestMotion('|_repeat', ['3', '|'], makeCursor(0, 2), makeCursor(0,4));\ntestMotion('h', 'h', makeCursor(0, 0), word1.start);\ntestMotion('h_repeat', ['3', 'h'], offsetCursor(word1.end, 0, -3), word1.end);\ntestMotion('l', 'l', makeCursor(0, 1));\ntestMotion('l_repeat', ['2', 'l'], makeCursor(0, 2));\ntestMotion('j', 'j', offsetCursor(word1.end, 1, 0), word1.end);\ntestMotion('j_repeat', ['2', 'j'], offsetCursor(word1.end, 2, 0), word1.end);\ntestMotion('j_repeat_clip', ['1000', 'j'], endOfDocument);\ntestMotion('k', 'k', offsetCursor(word3.end, -1, 0), word3.end);\ntestMotion('k_repeat', ['2', 'k'], makeCursor(0, 4), makeCursor(2, 4));\ntestMotion('k_repeat_clip', ['1000', 'k'], makeCursor(0, 4), makeCursor(2, 4));\ntestMotion('w', 'w', word1.start);\ntestMotion('w_multiple_newlines_no_space', 'w', makeCursor(12, 2), makeCursor(11, 2));\ntestMotion('w_multiple_newlines_with_space', 'w', makeCursor(14, 0), makeCursor(12, 51));\ntestMotion('w_repeat', ['2', 'w'], word2.start);\ntestMotion('w_wrap', ['w'], word3.start, word2.start);\ntestMotion('w_endOfDocument', 'w', endOfDocument, endOfDocument);\ntestMotion('w_start_to_end', ['1000', 'w'], endOfDocument, makeCursor(0, 0));\ntestMotion('W', 'W', bigWord1.start);\ntestMotion('W_repeat', ['2', 'W'], bigWord3.start, bigWord1.start);\ntestMotion('e', 'e', word1.end);\ntestMotion('e_repeat', ['2', 'e'], word2.end);\ntestMotion('e_wrap', 'e', word3.end, word2.end);\ntestMotion('e_endOfDocument', 'e', endOfDocument, endOfDocument);\ntestMotion('e_start_to_end', ['1000', 'e'], endOfDocument, makeCursor(0, 0));\ntestMotion('b', 'b', word3.start, word3.end);\ntestMotion('b_repeat', ['2', 'b'], word2.start, word3.end);\ntestMotion('b_wrap', 'b', word2.start, word3.start);\ntestMotion('b_startOfDocument', 'b', makeCursor(0, 0), makeCursor(0, 0));\ntestMotion('b_end_to_start', ['1000', 'b'], makeCursor(0, 0), endOfDocument);\ntestMotion('ge', ['g', 'e'], word2.end, word3.end);\ntestMotion('ge_repeat', ['2', 'g', 'e'], word1.end, word3.start);\ntestMotion('ge_wrap', ['g', 'e'], word2.end, word3.start);\ntestMotion('ge_startOfDocument', ['g', 'e'], makeCursor(0, 0),\n    makeCursor(0, 0));\ntestMotion('ge_end_to_start', ['1000', 'g', 'e'], makeCursor(0, 0), endOfDocument);\ntestMotion('gg', ['g', 'g'], makeCursor(lines[0].line, lines[0].textStart),\n    makeCursor(3, 1));\ntestMotion('gg_repeat', ['3', 'g', 'g'],\n    makeCursor(lines[2].line, lines[2].textStart));\ntestMotion('G', 'G',\n    makeCursor(lines[lines.length - 1].line, lines[lines.length - 1].textStart),\n    makeCursor(3, 1));\ntestMotion('G_repeat', ['3', 'G'], makeCursor(lines[2].line,\n    lines[2].textStart));\n// TODO: Make the test code long enough to test Ctrl-F and Ctrl-B.\ntestMotion('0', '0', makeCursor(0, 0), makeCursor(0, 8));\ntestMotion('^', '^', makeCursor(0, lines[0].textStart), makeCursor(0, 8));\ntestMotion('+', '+', makeCursor(1, lines[1].textStart), makeCursor(0, 8));\ntestMotion('-', '-', makeCursor(0, lines[0].textStart), makeCursor(1, 4));\ntestMotion('_', ['6','_'], makeCursor(5, lines[5].textStart), makeCursor(0, 8));\ntestMotion('$', '$', makeCursor(0, lines[0].length - 1), makeCursor(0, 1));\ntestMotion('$_repeat', ['2', '$'], makeCursor(1, lines[1].length - 1),\n    makeCursor(0, 3));\ntestMotion('f', ['f', 'p'], pChars[0], makeCursor(charLine.line, 0));\ntestMotion('f_repeat', ['2', 'f', 'p'], pChars[2], pChars[0]);\ntestMotion('f_num', ['f', '2'], numChars[2], makeCursor(charLine.line, 0));\ntestMotion('t', ['t','p'], offsetCursor(pChars[0], 0, -1),\n    makeCursor(charLine.line, 0));\ntestMotion('t_repeat', ['2', 't', 'p'], offsetCursor(pChars[2], 0, -1),\n    pChars[0]);\ntestMotion('F', ['F', 'p'], pChars[0], pChars[1]);\ntestMotion('F_repeat', ['2', 'F', 'p'], pChars[0], pChars[2]);\ntestMotion('T', ['T', 'p'], offsetCursor(pChars[0], 0, 1), pChars[1]);\ntestMotion('T_repeat', ['2', 'T', 'p'], offsetCursor(pChars[0], 0, 1), pChars[2]);\ntestMotion('%_parens', ['%'], parens1.end, parens1.start);\ntestMotion('%_squares', ['%'], squares1.end, squares1.start);\ntestMotion('%_braces', ['%'], curlys1.end, curlys1.start);\ntestMotion('%_seek_outside', ['%'], seekOutside.end, seekOutside.start);\ntestMotion('%_seek_inside', ['%'], seekInside.end, seekInside.start);\ntestVim('%_seek_skip', function(cm, vim, helpers) {\n  cm.setCursor(0,0);\n  helpers.doKeys(['%']);\n  helpers.assertCursorAt(0,9);\n}, {value:'01234\"(\"()'});\ntestVim('%_skip_string', function(cm, vim, helpers) {\n  cm.setCursor(0,0);\n  helpers.doKeys(['%']);\n  helpers.assertCursorAt(0,4);\n  cm.setCursor(0,2);\n  helpers.doKeys(['%']);\n  helpers.assertCursorAt(0,0);\n}, {value:'(\")\")'});\n(')')\ntestVim('%_skip_comment', function(cm, vim, helpers) {\n  cm.setCursor(0,0);\n  helpers.doKeys(['%']);\n  helpers.assertCursorAt(0,6);\n  cm.setCursor(0,3);\n  helpers.doKeys(['%']);\n  helpers.assertCursorAt(0,0);\n}, {value:'(/*)*/)'});\n// Make sure that moving down after going to the end of a line always leaves you\n// at the end of a line, but preserves the offset in other cases\ntestVim('Changing lines after Eol operation', function(cm, vim, helpers) {\n  cm.setCursor(0,0);\n  helpers.doKeys(['$']);\n  helpers.doKeys(['j']);\n  // After moving to Eol and then down, we should be at Eol of line 2\n  helpers.assertCursorAt({ line: 1, ch: lines[1].length - 1 });\n  helpers.doKeys(['j']);\n  // After moving down, we should be at Eol of line 3\n  helpers.assertCursorAt({ line: 2, ch: lines[2].length - 1 });\n  helpers.doKeys(['h']);\n  helpers.doKeys(['j']);\n  // After moving back one space and then down, since line 4 is shorter than line 2, we should\n  // be at Eol of line 2 - 1\n  helpers.assertCursorAt({ line: 3, ch: lines[3].length - 1 });\n  helpers.doKeys(['j']);\n  helpers.doKeys(['j']);\n  // After moving down again, since line 3 has enough characters, we should be back to the\n  // same place we were at on line 1\n  helpers.assertCursorAt({ line: 5, ch: lines[2].length - 2 });\n});\n//making sure gj and gk recover from clipping\ntestVim('gj_gk_clipping', function(cm,vim,helpers){\n  cm.setCursor(0, 1);\n  helpers.doKeys('g','j','g','j');\n  helpers.assertCursorAt(2, 1);\n  helpers.doKeys('g','k','g','k');\n  helpers.assertCursorAt(0, 1);\n},{value: 'line 1\\n\\nline 2'});\n//testing a mix of j/k and gj/gk\ntestVim('j_k_and_gj_gk', function(cm,vim,helpers){\n  cm.setSize(120);\n  cm.setCursor(0, 0);\n  //go to the last character on the first line\n  helpers.doKeys('$');\n  //move up/down on the column within the wrapped line\n  //side-effect: cursor is not locked to eol anymore\n  helpers.doKeys('g','k');\n  var cur=cm.getCursor();\n  eq(cur.line,0);\n  is((cur.ch<176),'gk didn\\'t move cursor back (1)');\n  helpers.doKeys('g','j');\n  helpers.assertCursorAt(0, 176);\n  //should move to character 177 on line 2 (j/k preserve character index within line)\n  helpers.doKeys('j');\n  //due to different line wrapping, the cursor can be on a different screen-x now\n  //gj and gk preserve screen-x on movement, much like moveV\n  helpers.doKeys('3','g','k');\n  cur=cm.getCursor();\n  eq(cur.line,1);\n  is((cur.ch<176),'gk didn\\'t move cursor back (2)');\n  helpers.doKeys('g','j','2','g','j');\n  //should return to the same character-index\n  helpers.doKeys('k');\n  helpers.assertCursorAt(0, 176);\n},{ lineWrapping:true, value: 'This line is intentially long to test movement of gj and gk over wrapped lines. I will start on the end of this line, then make a step up and back to set the origin for j and k.\\nThis line is supposed to be even longer than the previous. I will jump here and make another wiggle with gj and gk, before I jump back to the line above. Both wiggles should not change my cursor\\'s target character but both j/k and gj/gk change each other\\'s reference position.'});\ntestVim('gj_gk', function(cm, vim, helpers) {\n  if (phantom) return;\n  cm.setSize(120);\n  // Test top of document edge case.\n  cm.setCursor(0, 4);\n  helpers.doKeys('g', 'j');\n  helpers.doKeys('10', 'g', 'k');\n  helpers.assertCursorAt(0, 4);\n\n  // Test moving down preserves column position.\n  helpers.doKeys('g', 'j');\n  var pos1 = cm.getCursor();\n  var expectedPos2 = { line: 0, ch: (pos1.ch - 4) * 2 + 4};\n  helpers.doKeys('g', 'j');\n  helpers.assertCursorAt(expectedPos2);\n\n  // Move to the last character\n  cm.setCursor(0, 0);\n  // Move left to reset HSPos\n  helpers.doKeys('h');\n  // Test bottom of document edge case.\n  helpers.doKeys('100', 'g', 'j');\n  var endingPos = cm.getCursor();\n  is(endingPos != 0, 'gj should not be on wrapped line 0');\n  var topLeftCharCoords = cm.charCoords(makeCursor(0, 0));\n  var endingCharCoords = cm.charCoords(endingPos);\n  is(topLeftCharCoords.left == endingCharCoords.left, 'gj should end up on column 0');\n},{ lineNumbers: false, lineWrapping:true, value: 'Thislineisintentiallylongtotestmovementofgjandgkoverwrappedlines.' });\ntestVim('}', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('}');\n  helpers.assertCursorAt(1, 0);\n  cm.setCursor(0, 0);\n  helpers.doKeys('2', '}');\n  helpers.assertCursorAt(4, 0);\n  cm.setCursor(0, 0);\n  helpers.doKeys('6', '}');\n  helpers.assertCursorAt(5, 0);\n}, { value: 'a\\n\\nb\\nc\\n\\nd' });\ntestVim('{', function(cm, vim, helpers) {\n  cm.setCursor(5, 0);\n  helpers.doKeys('{');\n  helpers.assertCursorAt(4, 0);\n  cm.setCursor(5, 0);\n  helpers.doKeys('2', '{');\n  helpers.assertCursorAt(1, 0);\n  cm.setCursor(5, 0);\n  helpers.doKeys('6', '{');\n  helpers.assertCursorAt(0, 0);\n}, { value: 'a\\n\\nb\\nc\\n\\nd' });\n\n// Operator tests\ntestVim('dl', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 0);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'l');\n  eq('word1 ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq(' ', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n}, { value: ' word1 ' });\ntestVim('dl_eol', function(cm, vim, helpers) {\n  cm.setCursor(0, 6);\n  helpers.doKeys('d', 'l');\n  eq(' word1', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq(' ', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 5);\n}, { value: ' word1 ' });\ntestVim('dl_repeat', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 0);\n  cm.setCursor(curStart);\n  helpers.doKeys('2', 'd', 'l');\n  eq('ord1 ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq(' w', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n}, { value: ' word1 ' });\ntestVim('dh', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 3);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'h');\n  eq(' wrd1 ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('o', register.text);\n  is(!register.linewise);\n  eqPos(offsetCursor(curStart, 0 , -1), cm.getCursor());\n}, { value: ' word1 ' });\ntestVim('dj', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 3);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'j');\n  eq(' word3', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq(' word1\\nword2\\n', register.text);\n  is(register.linewise);\n  helpers.assertCursorAt(0, 1);\n}, { value: ' word1\\nword2\\n word3' });\ntestVim('dj_end_of_document', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 3);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'j');\n  eq(' word1 ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 3);\n}, { value: ' word1 ' });\ntestVim('dk', function(cm, vim, helpers) {\n  var curStart = makeCursor(1, 3);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'k');\n  eq(' word3', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq(' word1\\nword2\\n', register.text);\n  is(register.linewise);\n  helpers.assertCursorAt(0, 1);\n}, { value: ' word1\\nword2\\n word3' });\ntestVim('dk_start_of_document', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 3);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'k');\n  eq(' word1 ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 3);\n}, { value: ' word1 ' });\ntestVim('dw_space', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 0);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'w');\n  eq('word1 ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq(' ', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n}, { value: ' word1 ' });\ntestVim('dw_word', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 1);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'w');\n  eq(' word2', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1 ', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n}, { value: ' word1 word2' });\ntestVim('dw_only_word', function(cm, vim, helpers) {\n  // Test that if there is only 1 word left, dw deletes till the end of the\n  // line.\n  cm.setCursor(0, 1);\n  helpers.doKeys('d', 'w');\n  eq(' ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1 ', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 0);\n}, { value: ' word1 ' });\ntestVim('dw_eol', function(cm, vim, helpers) {\n  // Assert that dw does not delete the newline if last word to delete is at end\n  // of line.\n  cm.setCursor(0, 1);\n  helpers.doKeys('d', 'w');\n  eq(' \\nword2', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 0);\n}, { value: ' word1\\nword2' });\ntestVim('dw_eol_with_multiple_newlines', function(cm, vim, helpers) {\n  // Assert that dw does not delete the newline if last word to delete is at end\n  // of line and it is followed by multiple newlines.\n  cm.setCursor(0, 1);\n  helpers.doKeys('d', 'w');\n  eq(' \\n\\nword2', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 0);\n}, { value: ' word1\\n\\nword2' });\ntestVim('dw_empty_line_followed_by_whitespace', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'w');\n  eq('  \\nword', cm.getValue());\n}, { value: '\\n  \\nword' });\ntestVim('dw_empty_line_followed_by_word', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'w');\n  eq('word', cm.getValue());\n}, { value: '\\nword' });\ntestVim('dw_empty_line_followed_by_empty_line', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'w');\n  eq('\\n', cm.getValue());\n}, { value: '\\n\\n' });\ntestVim('dw_whitespace_followed_by_whitespace', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'w');\n  eq('\\n   \\n', cm.getValue());\n}, { value: '  \\n   \\n' });\ntestVim('dw_whitespace_followed_by_empty_line', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'w');\n  eq('\\n\\n', cm.getValue());\n}, { value: '  \\n\\n' });\ntestVim('dw_word_whitespace_word', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'w');\n  eq('\\n   \\nword2', cm.getValue());\n}, { value: 'word1\\n   \\nword2'})\ntestVim('dw_end_of_document', function(cm, vim, helpers) {\n  cm.setCursor(1, 2);\n  helpers.doKeys('d', 'w');\n  eq('\\nab', cm.getValue());\n}, { value: '\\nabc' });\ntestVim('dw_repeat', function(cm, vim, helpers) {\n  // Assert that dw does delete newline if it should go to the next line, and\n  // that repeat works properly.\n  cm.setCursor(0, 1);\n  helpers.doKeys('d', '2', 'w');\n  eq(' ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1\\nword2', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 0);\n}, { value: ' word1\\nword2' });\ntestVim('de_word_start_and_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'e');\n  eq('\\n\\n', cm.getValue());\n}, { value: 'word\\n\\n' });\ntestVim('de_word_end_and_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  helpers.doKeys('d', 'e');\n  eq('wor', cm.getValue());\n}, { value: 'word\\n\\n\\n' });\ntestVim('de_whitespace_and_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'e');\n  eq('', cm.getValue());\n}, { value: '   \\n\\n\\n' });\ntestVim('de_end_of_document', function(cm, vim, helpers) {\n  cm.setCursor(1, 2);\n  helpers.doKeys('d', 'e');\n  eq('\\nab', cm.getValue());\n}, { value: '\\nabc' });\ntestVim('db_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(2, 0);\n  helpers.doKeys('d', 'b');\n  eq('\\n\\n', cm.getValue());\n}, { value: '\\n\\n\\n' });\ntestVim('db_word_start_and_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(2, 0);\n  helpers.doKeys('d', 'b');\n  eq('\\nword', cm.getValue());\n}, { value: '\\n\\nword' });\ntestVim('db_word_end_and_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(2, 3);\n  helpers.doKeys('d', 'b');\n  eq('\\n\\nd', cm.getValue());\n}, { value: '\\n\\nword' });\ntestVim('db_whitespace_and_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(2, 0);\n  helpers.doKeys('d', 'b');\n  eq('', cm.getValue());\n}, { value: '\\n   \\n' });\ntestVim('db_start_of_document', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'b');\n  eq('abc\\n', cm.getValue());\n}, { value: 'abc\\n' });\ntestVim('dge_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  helpers.doKeys('d', 'g', 'e');\n  // Note: In real VIM the result should be '', but it's not quite consistent,\n  // since 2 newlines are deleted. But in the similar case of word\\n\\n, only\n  // 1 newline is deleted. We'll diverge from VIM's behavior since it's much\n  // easier this way.\n  eq('\\n', cm.getValue());\n}, { value: '\\n\\n' });\ntestVim('dge_word_and_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  helpers.doKeys('d', 'g', 'e');\n  eq('wor\\n', cm.getValue());\n}, { value: 'word\\n\\n'});\ntestVim('dge_whitespace_and_empty_lines', function(cm, vim, helpers) {\n  cm.setCursor(2, 0);\n  helpers.doKeys('d', 'g', 'e');\n  eq('', cm.getValue());\n}, { value: '\\n  \\n' });\ntestVim('dge_start_of_document', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', 'g', 'e');\n  eq('bc\\n', cm.getValue());\n}, { value: 'abc\\n' });\ntestVim('d_inclusive', function(cm, vim, helpers) {\n  // Assert that when inclusive is set, the character the cursor is on gets\n  // deleted too.\n  var curStart = makeCursor(0, 1);\n  cm.setCursor(curStart);\n  helpers.doKeys('d', 'e');\n  eq('  ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n}, { value: ' word1 ' });\ntestVim('d_reverse', function(cm, vim, helpers) {\n  // Test that deleting in reverse works.\n  cm.setCursor(1, 0);\n  helpers.doKeys('d', 'b');\n  eq(' word2 ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1\\n', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 1);\n}, { value: ' word1\\nword2 ' });\ntestVim('dd', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  var expectedBuffer = cm.getRange({ line: 0, ch: 0 },\n    { line: 1, ch: 0 });\n  var expectedLineCount = cm.lineCount() - 1;\n  helpers.doKeys('d', 'd');\n  eq(expectedLineCount, cm.lineCount());\n  var register = helpers.getRegisterController().getRegister();\n  eq(expectedBuffer, register.text);\n  is(register.linewise);\n  helpers.assertCursorAt(0, lines[1].textStart);\n});\ntestVim('dd_prefix_repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  var expectedBuffer = cm.getRange({ line: 0, ch: 0 },\n    { line: 2, ch: 0 });\n  var expectedLineCount = cm.lineCount() - 2;\n  helpers.doKeys('2', 'd', 'd');\n  eq(expectedLineCount, cm.lineCount());\n  var register = helpers.getRegisterController().getRegister();\n  eq(expectedBuffer, register.text);\n  is(register.linewise);\n  helpers.assertCursorAt(0, lines[2].textStart);\n});\ntestVim('dd_motion_repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  var expectedBuffer = cm.getRange({ line: 0, ch: 0 },\n    { line: 2, ch: 0 });\n  var expectedLineCount = cm.lineCount() - 2;\n  helpers.doKeys('d', '2', 'd');\n  eq(expectedLineCount, cm.lineCount());\n  var register = helpers.getRegisterController().getRegister();\n  eq(expectedBuffer, register.text);\n  is(register.linewise);\n  helpers.assertCursorAt(0, lines[2].textStart);\n});\ntestVim('dd_multiply_repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  var expectedBuffer = cm.getRange({ line: 0, ch: 0 },\n    { line: 6, ch: 0 });\n  var expectedLineCount = cm.lineCount() - 6;\n  helpers.doKeys('2', 'd', '3', 'd');\n  eq(expectedLineCount, cm.lineCount());\n  var register = helpers.getRegisterController().getRegister();\n  eq(expectedBuffer, register.text);\n  is(register.linewise);\n  helpers.assertCursorAt(0, lines[6].textStart);\n});\ntestVim('dd_lastline', function(cm, vim, helpers) {\n  cm.setCursor(cm.lineCount(), 0);\n  var expectedLineCount = cm.lineCount() - 1;\n  helpers.doKeys('d', 'd');\n  eq(expectedLineCount, cm.lineCount());\n  helpers.assertCursorAt(cm.lineCount() - 1, 0);\n});\n// Yank commands should behave the exact same as d commands, expect that nothing\n// gets deleted.\ntestVim('yw_repeat', function(cm, vim, helpers) {\n  // Assert that yw does yank newline if it should go to the next line, and\n  // that repeat works properly.\n  var curStart = makeCursor(0, 1);\n  cm.setCursor(curStart);\n  helpers.doKeys('y', '2', 'w');\n  eq(' word1\\nword2', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1\\nword2', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n}, { value: ' word1\\nword2' });\ntestVim('yy_multiply_repeat', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 3);\n  cm.setCursor(curStart);\n  var expectedBuffer = cm.getRange({ line: 0, ch: 0 },\n    { line: 6, ch: 0 });\n  var expectedLineCount = cm.lineCount();\n  helpers.doKeys('2', 'y', '3', 'y');\n  eq(expectedLineCount, cm.lineCount());\n  var register = helpers.getRegisterController().getRegister();\n  eq(expectedBuffer, register.text);\n  is(register.linewise);\n  eqPos(curStart, cm.getCursor());\n});\n// Change commands behave like d commands except that it also enters insert\n// mode. In addition, when the change is linewise, an additional newline is\n// inserted so that insert mode starts on that line.\ntestVim('cw', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('c', '2', 'w');\n  eq(' word3', cm.getValue());\n  helpers.assertCursorAt(0, 0);\n}, { value: 'word1 word2 word3'});\ntestVim('cw_repeat', function(cm, vim, helpers) {\n  // Assert that cw does delete newline if it should go to the next line, and\n  // that repeat works properly.\n  var curStart = makeCursor(0, 1);\n  cm.setCursor(curStart);\n  helpers.doKeys('c', '2', 'w');\n  eq(' ', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('word1\\nword2', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n  eq('vim-insert', cm.getOption('keyMap'));\n}, { value: ' word1\\nword2' });\ntestVim('cc_multiply_repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  var expectedBuffer = cm.getRange({ line: 0, ch: 0 },\n    { line: 6, ch: 0 });\n  var expectedLineCount = cm.lineCount() - 5;\n  helpers.doKeys('2', 'c', '3', 'c');\n  eq(expectedLineCount, cm.lineCount());\n  var register = helpers.getRegisterController().getRegister();\n  eq(expectedBuffer, register.text);\n  is(register.linewise);\n  eq('vim-insert', cm.getOption('keyMap'));\n});\ntestVim('cc_append', function(cm, vim, helpers) {\n  var expectedLineCount = cm.lineCount();\n  cm.setCursor(cm.lastLine(), 0);\n  helpers.doKeys('c', 'c');\n  eq(expectedLineCount, cm.lineCount());\n});\n// Swapcase commands edit in place and do not modify registers.\ntestVim('g~w_repeat', function(cm, vim, helpers) {\n  // Assert that dw does delete newline if it should go to the next line, and\n  // that repeat works properly.\n  var curStart = makeCursor(0, 1);\n  cm.setCursor(curStart);\n  helpers.doKeys('g', '~', '2', 'w');\n  eq(' WORD1\\nWORD2', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n}, { value: ' word1\\nword2' });\ntestVim('g~g~', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 3);\n  cm.setCursor(curStart);\n  var expectedLineCount = cm.lineCount();\n  var expectedValue = cm.getValue().toUpperCase();\n  helpers.doKeys('2', 'g', '~', '3', 'g', '~');\n  eq(expectedValue, cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n}, { value: ' word1\\nword2\\nword3\\nword4\\nword5\\nword6' });\ntestVim('>{motion}', function(cm, vim, helpers) {\n  cm.setCursor(1, 3);\n  var expectedLineCount = cm.lineCount();\n  var expectedValue = '   word1\\n  word2\\nword3 ';\n  helpers.doKeys('>', 'k');\n  eq(expectedValue, cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 3);\n}, { value: ' word1\\nword2\\nword3 ', indentUnit: 2 });\ntestVim('>>', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  var expectedLineCount = cm.lineCount();\n  var expectedValue = '   word1\\n  word2\\nword3 ';\n  helpers.doKeys('2', '>', '>');\n  eq(expectedValue, cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 3);\n}, { value: ' word1\\nword2\\nword3 ', indentUnit: 2 });\ntestVim('<{motion}', function(cm, vim, helpers) {\n  cm.setCursor(1, 3);\n  var expectedLineCount = cm.lineCount();\n  var expectedValue = ' word1\\nword2\\nword3 ';\n  helpers.doKeys('<', 'k');\n  eq(expectedValue, cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 1);\n}, { value: '   word1\\n  word2\\nword3 ', indentUnit: 2 });\ntestVim('<<', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  var expectedLineCount = cm.lineCount();\n  var expectedValue = ' word1\\nword2\\nword3 ';\n  helpers.doKeys('2', '<', '<');\n  eq(expectedValue, cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 1);\n}, { value: '   word1\\n  word2\\nword3 ', indentUnit: 2 });\n\n// Edit tests\nfunction testEdit(name, before, pos, edit, after) {\n  return testVim(name, function(cm, vim, helpers) {\n             cm.setCursor(0, before.search(pos));\n             helpers.doKeys.apply(this, edit.split(''));\n             eq(after, cm.getValue());\n           }, {value: before});\n}\n\n// These Delete tests effectively cover word-wise Change, Visual & Yank.\n// Tabs are used as differentiated whitespace to catch edge cases.\n// Normal word:\ntestEdit('diw_mid_spc', 'foo \\tbAr\\t baz', /A/, 'diw', 'foo \\t\\t baz');\ntestEdit('daw_mid_spc', 'foo \\tbAr\\t baz', /A/, 'daw', 'foo \\tbaz');\ntestEdit('diw_mid_punct', 'foo \\tbAr.\\t baz', /A/, 'diw', 'foo \\t.\\t baz');\ntestEdit('daw_mid_punct', 'foo \\tbAr.\\t baz', /A/, 'daw', 'foo.\\t baz');\ntestEdit('diw_mid_punct2', 'foo \\t,bAr.\\t baz', /A/, 'diw', 'foo \\t,.\\t baz');\ntestEdit('daw_mid_punct2', 'foo \\t,bAr.\\t baz', /A/, 'daw', 'foo \\t,.\\t baz');\ntestEdit('diw_start_spc', 'bAr \\tbaz', /A/, 'diw', ' \\tbaz');\ntestEdit('daw_start_spc', 'bAr \\tbaz', /A/, 'daw', 'baz');\ntestEdit('diw_start_punct', 'bAr. \\tbaz', /A/, 'diw', '. \\tbaz');\ntestEdit('daw_start_punct', 'bAr. \\tbaz', /A/, 'daw', '. \\tbaz');\ntestEdit('diw_end_spc', 'foo \\tbAr', /A/, 'diw', 'foo \\t');\ntestEdit('daw_end_spc', 'foo \\tbAr', /A/, 'daw', 'foo');\ntestEdit('diw_end_punct', 'foo \\tbAr.', /A/, 'diw', 'foo \\t.');\ntestEdit('daw_end_punct', 'foo \\tbAr.', /A/, 'daw', 'foo.');\n// Big word:\ntestEdit('diW_mid_spc', 'foo \\tbAr\\t baz', /A/, 'diW', 'foo \\t\\t baz');\ntestEdit('daW_mid_spc', 'foo \\tbAr\\t baz', /A/, 'daW', 'foo \\tbaz');\ntestEdit('diW_mid_punct', 'foo \\tbAr.\\t baz', /A/, 'diW', 'foo \\t\\t baz');\ntestEdit('daW_mid_punct', 'foo \\tbAr.\\t baz', /A/, 'daW', 'foo \\tbaz');\ntestEdit('diW_mid_punct2', 'foo \\t,bAr.\\t baz', /A/, 'diW', 'foo \\t\\t baz');\ntestEdit('daW_mid_punct2', 'foo \\t,bAr.\\t baz', /A/, 'daW', 'foo \\tbaz');\ntestEdit('diW_start_spc', 'bAr\\t baz', /A/, 'diW', '\\t baz');\ntestEdit('daW_start_spc', 'bAr\\t baz', /A/, 'daW', 'baz');\ntestEdit('diW_start_punct', 'bAr.\\t baz', /A/, 'diW', '\\t baz');\ntestEdit('daW_start_punct', 'bAr.\\t baz', /A/, 'daW', 'baz');\ntestEdit('diW_end_spc', 'foo \\tbAr', /A/, 'diW', 'foo \\t');\ntestEdit('daW_end_spc', 'foo \\tbAr', /A/, 'daW', 'foo');\ntestEdit('diW_end_punct', 'foo \\tbAr.', /A/, 'diW', 'foo \\t');\ntestEdit('daW_end_punct', 'foo \\tbAr.', /A/, 'daW', 'foo');\n\n// Operator-motion tests\ntestVim('D', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  helpers.doKeys('D');\n  eq(' wo\\nword2\\n word3', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('rd1', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 2);\n}, { value: ' word1\\nword2\\n word3' });\ntestVim('C', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 3);\n  cm.setCursor(curStart);\n  helpers.doKeys('C');\n  eq(' wo\\nword2\\n word3', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('rd1', register.text);\n  is(!register.linewise);\n  eqPos(curStart, cm.getCursor());\n  eq('vim-insert', cm.getOption('keyMap'));\n}, { value: ' word1\\nword2\\n word3' });\ntestVim('Y', function(cm, vim, helpers) {\n  var curStart = makeCursor(0, 3);\n  cm.setCursor(curStart);\n  helpers.doKeys('Y');\n  eq(' word1\\nword2\\n word3', cm.getValue());\n  var register = helpers.getRegisterController().getRegister();\n  eq('rd1', register.text);\n  is(!register.linewise);\n  helpers.assertCursorAt(0, 3);\n}, { value: ' word1\\nword2\\n word3' });\ntestVim('~', function(cm, vim, helpers) {\n  helpers.doKeys('3', '~');\n  eq('ABCdefg', cm.getValue());\n  helpers.assertCursorAt(0, 3);\n}, { value: 'abcdefg' });\n\n// Action tests\ntestVim('ctrl-a', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('<C-a>');\n  eq('-9', cm.getValue());\n  helpers.assertCursorAt(0, 1);\n  helpers.doKeys('2','<C-a>');\n  eq('-7', cm.getValue());\n}, {value: '-10'});\ntestVim('ctrl-x', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('<C-x>');\n  eq('-1', cm.getValue());\n  helpers.assertCursorAt(0, 1);\n  helpers.doKeys('2','<C-x>');\n  eq('-3', cm.getValue());\n}, {value: '0'});\ntestVim('<C-x>/<C-a> search forward', function(cm, vim, helpers) {\n  ['<C-x>', '<C-a>'].forEach(function(key) {\n    cm.setCursor(0, 0);\n    helpers.doKeys(key);\n    helpers.assertCursorAt(0, 5);\n    helpers.doKeys('l');\n    helpers.doKeys(key);\n    helpers.assertCursorAt(0, 10);\n    cm.setCursor(0, 11);\n    helpers.doKeys(key);\n    helpers.assertCursorAt(0, 11);\n  });\n}, {value: '__jmp1 jmp2 jmp'});\ntestVim('a', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('a');\n  helpers.assertCursorAt(0, 2);\n  eq('vim-insert', cm.getOption('keyMap'));\n});\ntestVim('a_eol', function(cm, vim, helpers) {\n  cm.setCursor(0, lines[0].length - 1);\n  helpers.doKeys('a');\n  helpers.assertCursorAt(0, lines[0].length);\n  eq('vim-insert', cm.getOption('keyMap'));\n});\ntestVim('i', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('i');\n  helpers.assertCursorAt(0, 1);\n  eq('vim-insert', cm.getOption('keyMap'));\n});\ntestVim('i_repeat', function(cm, vim, helpers) {\n  helpers.doKeys('3', 'i');\n  cm.replaceRange('test', cm.getCursor());\n  helpers.doInsertModeKeys('Esc');\n  eq('testtesttest', cm.getValue());\n  helpers.assertCursorAt(0, 11);\n}, { value: '' });\ntestVim('i_repeat_delete', function(cm, vim, helpers) {\n  cm.setCursor(0, 4);\n  helpers.doKeys('2', 'i');\n  cm.replaceRange('z', cm.getCursor());\n  helpers.doInsertModeKeys('Backspace', 'Backspace', 'Esc');\n  eq('abe', cm.getValue());\n  helpers.assertCursorAt(0, 1);\n}, { value: 'abcde' });\ntestVim('A', function(cm, vim, helpers) {\n  helpers.doKeys('A');\n  helpers.assertCursorAt(0, lines[0].length);\n  eq('vim-insert', cm.getOption('keyMap'));\n});\ntestVim('I', function(cm, vim, helpers) {\n  cm.setCursor(0, 4);\n  helpers.doKeys('I');\n  helpers.assertCursorAt(0, lines[0].textStart);\n  eq('vim-insert', cm.getOption('keyMap'));\n});\ntestVim('I_repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('3', 'I');\n  cm.replaceRange('test', cm.getCursor());\n  helpers.doInsertModeKeys('Esc');\n  eq('testtesttestblah', cm.getValue());\n  helpers.assertCursorAt(0, 11);\n}, { value: 'blah' });\ntestVim('o', function(cm, vim, helpers) {\n  cm.setCursor(0, 4);\n  helpers.doKeys('o');\n  eq('word1\\n\\nword2', cm.getValue());\n  helpers.assertCursorAt(1, 0);\n  eq('vim-insert', cm.getOption('keyMap'));\n}, { value: 'word1\\nword2' });\ntestVim('o_repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('3', 'o');\n  cm.replaceRange('test', cm.getCursor());\n  helpers.doInsertModeKeys('Esc');\n  eq('\\ntest\\ntest\\ntest', cm.getValue());\n  helpers.assertCursorAt(3, 3);\n}, { value: '' });\ntestVim('O', function(cm, vim, helpers) {\n  cm.setCursor(0, 4);\n  helpers.doKeys('O');\n  eq('\\nword1\\nword2', cm.getValue());\n  helpers.assertCursorAt(0, 0);\n  eq('vim-insert', cm.getOption('keyMap'));\n}, { value: 'word1\\nword2' });\ntestVim('J', function(cm, vim, helpers) {\n  cm.setCursor(0, 4);\n  helpers.doKeys('J');\n  var expectedValue = 'word1  word2\\nword3\\n word4';\n  eq(expectedValue, cm.getValue());\n  helpers.assertCursorAt(0, expectedValue.indexOf('word2') - 1);\n}, { value: 'word1 \\n    word2\\nword3\\n word4' });\ntestVim('J_repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 4);\n  helpers.doKeys('3', 'J');\n  var expectedValue = 'word1  word2 word3\\n word4';\n  eq(expectedValue, cm.getValue());\n  helpers.assertCursorAt(0, expectedValue.indexOf('word3') - 1);\n}, { value: 'word1 \\n    word2\\nword3\\n word4' });\ntestVim('p', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.getRegisterController().pushText('\"', 'yank', 'abc\\ndef', false);\n  helpers.doKeys('p');\n  eq('__abc\\ndef_', cm.getValue());\n  helpers.assertCursorAt(1, 2);\n}, { value: '___' });\ntestVim('p_register', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.getRegisterController().getRegister('a').set('abc\\ndef', false);\n  helpers.doKeys('\"', 'a', 'p');\n  eq('__abc\\ndef_', cm.getValue());\n  helpers.assertCursorAt(1, 2);\n}, { value: '___' });\ntestVim('p_wrong_register', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.getRegisterController().getRegister('a').set('abc\\ndef', false);\n  helpers.doKeys('p');\n  eq('___', cm.getValue());\n  helpers.assertCursorAt(0, 1);\n}, { value: '___' });\ntestVim('p_line', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.getRegisterController().pushText('\"', 'yank', '  a\\nd\\n', true);\n  helpers.doKeys('2', 'p');\n  eq('___\\n  a\\nd\\n  a\\nd', cm.getValue());\n  helpers.assertCursorAt(1, 2);\n}, { value: '___' });\ntestVim('p_lastline', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.getRegisterController().pushText('\"', 'yank', '  a\\nd', true);\n  helpers.doKeys('2', 'p');\n  eq('___\\n  a\\nd\\n  a\\nd', cm.getValue());\n  helpers.assertCursorAt(1, 2);\n}, { value: '___' });\ntestVim('P', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.getRegisterController().pushText('\"', 'yank', 'abc\\ndef', false);\n  helpers.doKeys('P');\n  eq('_abc\\ndef__', cm.getValue());\n  helpers.assertCursorAt(1, 3);\n}, { value: '___' });\ntestVim('P_line', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.getRegisterController().pushText('\"', 'yank', '  a\\nd\\n', true);\n  helpers.doKeys('2', 'P');\n  eq('  a\\nd\\n  a\\nd\\n___', cm.getValue());\n  helpers.assertCursorAt(0, 2);\n}, { value: '___' });\ntestVim('r', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('3', 'r', 'u');\n  eq('wuuuet\\nanother', cm.getValue(),'3r failed');\n  helpers.assertCursorAt(0, 3);\n  cm.setCursor(0, 4);\n  helpers.doKeys('v', 'j', 'h', 'r', '<Space>');\n  eq('wuuu  \\n    her', cm.getValue(),'Replacing selection by space-characters failed');\n}, { value: 'wordet\\nanother' });\ntestVim('R', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('R');\n  helpers.assertCursorAt(0, 1);\n  eq('vim-replace', cm.getOption('keyMap'));\n  is(cm.state.overwrite, 'Setting overwrite state failed');\n});\ntestVim('mark', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 't');\n  cm.setCursor(0, 0);\n  helpers.doKeys('\\'', 't');\n  helpers.assertCursorAt(2, 2);\n  cm.setCursor(0, 0);\n  helpers.doKeys('`', 't');\n  helpers.assertCursorAt(2, 2);\n});\ntestVim('jumpToMark_next', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 't');\n  cm.setCursor(0, 0);\n  helpers.doKeys(']', '`');\n  helpers.assertCursorAt(2, 2);\n  cm.setCursor(0, 0);\n  helpers.doKeys(']', '\\'');\n  helpers.assertCursorAt(2, 0);\n});\ntestVim('jumpToMark_next_repeat', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(3, 2);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(4, 2);\n  helpers.doKeys('m', 'c');\n  cm.setCursor(0, 0);\n  helpers.doKeys('2', ']', '`');\n  helpers.assertCursorAt(3, 2);\n  cm.setCursor(0, 0);\n  helpers.doKeys('2', ']', '\\'');\n  helpers.assertCursorAt(3, 1);\n});\ntestVim('jumpToMark_next_sameline', function(cm, vim, helpers) {\n  cm.setCursor(2, 0);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(2, 4);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(2, 2);\n  helpers.doKeys(']', '`');\n  helpers.assertCursorAt(2, 4);\n});\ntestVim('jumpToMark_next_onlyprev', function(cm, vim, helpers) {\n  cm.setCursor(2, 0);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(4, 0);\n  helpers.doKeys(']', '`');\n  helpers.assertCursorAt(4, 0);\n});\ntestVim('jumpToMark_next_nomark', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys(']', '`');\n  helpers.assertCursorAt(2, 2);\n  helpers.doKeys(']', '\\'');\n  helpers.assertCursorAt(2, 0);\n});\ntestVim('jumpToMark_next_linewise_over', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(3, 4);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(2, 1);\n  helpers.doKeys(']', '\\'');\n  helpers.assertCursorAt(3, 1);\n});\ntestVim('jumpToMark_next_action', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 't');\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', ']', '`');\n  helpers.assertCursorAt(0, 0);\n  var actual = cm.getLine(0);\n  var expected = 'pop pop 0 1 2 3 4';\n  eq(actual, expected, \"Deleting while jumping to the next mark failed.\");\n});\ntestVim('jumpToMark_next_line_action', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 't');\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', ']', '\\'');\n  helpers.assertCursorAt(0, 1);\n  var actual = cm.getLine(0);\n  var expected = ' (a) [b] {c} '\n  eq(actual, expected, \"Deleting while jumping to the next mark line failed.\");\n});\ntestVim('jumpToMark_prev', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 't');\n  cm.setCursor(4, 0);\n  helpers.doKeys('[', '`');\n  helpers.assertCursorAt(2, 2);\n  cm.setCursor(4, 0);\n  helpers.doKeys('[', '\\'');\n  helpers.assertCursorAt(2, 0);\n});\ntestVim('jumpToMark_prev_repeat', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(3, 2);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(4, 2);\n  helpers.doKeys('m', 'c');\n  cm.setCursor(5, 0);\n  helpers.doKeys('2', '[', '`');\n  helpers.assertCursorAt(3, 2);\n  cm.setCursor(5, 0);\n  helpers.doKeys('2', '[', '\\'');\n  helpers.assertCursorAt(3, 1);\n});\ntestVim('jumpToMark_prev_sameline', function(cm, vim, helpers) {\n  cm.setCursor(2, 0);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(2, 4);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(2, 2);\n  helpers.doKeys('[', '`');\n  helpers.assertCursorAt(2, 0);\n});\ntestVim('jumpToMark_prev_onlynext', function(cm, vim, helpers) {\n  cm.setCursor(4, 4);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(2, 0);\n  helpers.doKeys('[', '`');\n  helpers.assertCursorAt(2, 0);\n});\ntestVim('jumpToMark_prev_nomark', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('[', '`');\n  helpers.assertCursorAt(2, 2);\n  helpers.doKeys('[', '\\'');\n  helpers.assertCursorAt(2, 0);\n});\ntestVim('jumpToMark_prev_linewise_over', function(cm, vim, helpers) {\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(3, 4);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(3, 6);\n  helpers.doKeys('[', '\\'');\n  helpers.assertCursorAt(2, 0);\n});\ntestVim('delmark_single', function(cm, vim, helpers) {\n  cm.setCursor(1, 2);\n  helpers.doKeys('m', 't');\n  helpers.doEx('delmarks t');\n  cm.setCursor(0, 0);\n  helpers.doKeys('`', 't');\n  helpers.assertCursorAt(0, 0);\n});\ntestVim('delmark_range', function(cm, vim, helpers) {\n  cm.setCursor(1, 2);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(3, 2);\n  helpers.doKeys('m', 'c');\n  cm.setCursor(4, 2);\n  helpers.doKeys('m', 'd');\n  cm.setCursor(5, 2);\n  helpers.doKeys('m', 'e');\n  helpers.doEx('delmarks b-d');\n  cm.setCursor(0, 0);\n  helpers.doKeys('`', 'a');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'b');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'c');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'd');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'e');\n  helpers.assertCursorAt(5, 2);\n});\ntestVim('delmark_multi', function(cm, vim, helpers) {\n  cm.setCursor(1, 2);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(3, 2);\n  helpers.doKeys('m', 'c');\n  cm.setCursor(4, 2);\n  helpers.doKeys('m', 'd');\n  cm.setCursor(5, 2);\n  helpers.doKeys('m', 'e');\n  helpers.doEx('delmarks bcd');\n  cm.setCursor(0, 0);\n  helpers.doKeys('`', 'a');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'b');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'c');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'd');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'e');\n  helpers.assertCursorAt(5, 2);\n});\ntestVim('delmark_multi_space', function(cm, vim, helpers) {\n  cm.setCursor(1, 2);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(3, 2);\n  helpers.doKeys('m', 'c');\n  cm.setCursor(4, 2);\n  helpers.doKeys('m', 'd');\n  cm.setCursor(5, 2);\n  helpers.doKeys('m', 'e');\n  helpers.doEx('delmarks b c d');\n  cm.setCursor(0, 0);\n  helpers.doKeys('`', 'a');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'b');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'c');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'd');\n  helpers.assertCursorAt(1, 2);\n  helpers.doKeys('`', 'e');\n  helpers.assertCursorAt(5, 2);\n});\ntestVim('delmark_all', function(cm, vim, helpers) {\n  cm.setCursor(1, 2);\n  helpers.doKeys('m', 'a');\n  cm.setCursor(2, 2);\n  helpers.doKeys('m', 'b');\n  cm.setCursor(3, 2);\n  helpers.doKeys('m', 'c');\n  cm.setCursor(4, 2);\n  helpers.doKeys('m', 'd');\n  cm.setCursor(5, 2);\n  helpers.doKeys('m', 'e');\n  helpers.doEx('delmarks a b-de');\n  cm.setCursor(0, 0);\n  helpers.doKeys('`', 'a');\n  helpers.assertCursorAt(0, 0);\n  helpers.doKeys('`', 'b');\n  helpers.assertCursorAt(0, 0);\n  helpers.doKeys('`', 'c');\n  helpers.assertCursorAt(0, 0);\n  helpers.doKeys('`', 'd');\n  helpers.assertCursorAt(0, 0);\n  helpers.doKeys('`', 'e');\n  helpers.assertCursorAt(0, 0);\n});\ntestVim('visual', function(cm, vim, helpers) {\n  helpers.doKeys('l', 'v', 'l', 'l');\n  helpers.assertCursorAt(0, 3);\n  eqPos(makeCursor(0, 1), cm.getCursor('anchor'));\n  helpers.doKeys('d');\n  eq('15', cm.getValue());\n}, { value: '12345' });\ntestVim('visual_line', function(cm, vim, helpers) {\n  helpers.doKeys('l', 'V', 'l', 'j', 'j', 'd');\n  eq(' 4\\n 5', cm.getValue());\n}, { value: ' 1\\n 2\\n 3\\n 4\\n 5' });\ntestVim('visual_marks', function(cm, vim, helpers) {\n  helpers.doKeys('l', 'v', 'l', 'l', 'v');\n  // Test visual mode marks\n  cm.setCursor(0, 0);\n  helpers.doKeys('\\'', '<');\n  helpers.assertCursorAt(0, 1);\n  helpers.doKeys('\\'', '>');\n  helpers.assertCursorAt(0, 3);\n});\ntestVim('visual_join', function(cm, vim, helpers) {\n  helpers.doKeys('l', 'V', 'l', 'j', 'j', 'J');\n  eq(' 1 2 3\\n 4\\n 5', cm.getValue());\n}, { value: ' 1\\n 2\\n 3\\n 4\\n 5' });\ntestVim('visual_blank', function(cm, vim, helpers) {\n  helpers.doKeys('v', 'k');\n  eq(vim.visualMode, true);\n}, { value: '\\n' });\ntestVim('s_normal', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('s');\n  helpers.doInsertModeKeys('Esc');\n  helpers.assertCursorAt(0, 0);\n  eq('ac', cm.getValue());\n}, { value: 'abc'});\ntestVim('s_visual', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('v', 's');\n  helpers.doInsertModeKeys('Esc');\n  helpers.assertCursorAt(0, 0);\n  eq('ac', cm.getValue());\n}, { value: 'abc'});\ntestVim('S_normal', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('j', 'S');\n  helpers.doInsertModeKeys('Esc');\n  helpers.assertCursorAt(1, 0);\n  eq('aa\\n\\ncc', cm.getValue());\n}, { value: 'aa\\nbb\\ncc'});\ntestVim('S_visual', function(cm, vim, helpers) {\n  cm.setCursor(0, 1);\n  helpers.doKeys('v', 'j', 'S');\n  helpers.doInsertModeKeys('Esc');\n  helpers.assertCursorAt(0, 0);\n  eq('\\ncc', cm.getValue());\n}, { value: 'aa\\nbb\\ncc'});\ntestVim('/ and n/N', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('match');\n  helpers.doKeys('/');\n  helpers.assertCursorAt(0, 11);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(1, 6);\n  helpers.doKeys('N');\n  helpers.assertCursorAt(0, 11);\n\n  cm.setCursor(0, 0);\n  helpers.doKeys('2', '/');\n  helpers.assertCursorAt(1, 6);\n}, { value: 'match nope match \\n nope Match' });\ntestVim('/_case', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('Match');\n  helpers.doKeys('/');\n  helpers.assertCursorAt(1, 6);\n}, { value: 'match nope match \\n nope Match' });\ntestVim('/_nongreedy', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('aa');\n  helpers.doKeys('/');\n  helpers.assertCursorAt(0, 4);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(1, 3);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 0);\n}, { value: 'aaa aa \\n a aa'});\ntestVim('?_nongreedy', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('aa');\n  helpers.doKeys('?');\n  helpers.assertCursorAt(1, 3);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 4);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 0);\n}, { value: 'aaa aa \\n a aa'});\ntestVim('/_greedy', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('a+');\n  helpers.doKeys('/');\n  helpers.assertCursorAt(0, 4);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(1, 1);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(1, 3);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 0);\n}, { value: 'aaa aa \\n a aa'});\ntestVim('?_greedy', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('a+');\n  helpers.doKeys('?');\n  helpers.assertCursorAt(1, 3);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(1, 1);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 4);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 0);\n}, { value: 'aaa aa \\n a aa'});\ntestVim('/_greedy_0_or_more', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('a*');\n  helpers.doKeys('/');\n  helpers.assertCursorAt(0, 3);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 4);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 5);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(1, 0);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(1, 1);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 0);\n}, { value: 'aaa  aa\\n aa'});\ntestVim('?_greedy_0_or_more', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('a*');\n  helpers.doKeys('?');\n  helpers.assertCursorAt(1, 1);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(1, 0);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 5);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 4);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 3);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 0);\n}, { value: 'aaa  aa\\n aa'});\ntestVim('? and n/N', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('match');\n  helpers.doKeys('?');\n  helpers.assertCursorAt(1, 6);\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 11);\n  helpers.doKeys('N');\n  helpers.assertCursorAt(1, 6);\n\n  cm.setCursor(0, 0);\n  helpers.doKeys('2', '?');\n  helpers.assertCursorAt(0, 11);\n}, { value: 'match nope match \\n nope Match' });\ntestVim('*', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('*');\n  helpers.assertCursorAt(0, 22);\n\n  cm.setCursor(0, 9);\n  helpers.doKeys('2', '*');\n  helpers.assertCursorAt(1, 8);\n}, { value: 'nomatch match nomatch match \\nnomatch Match' });\ntestVim('*_no_word', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('*');\n  helpers.assertCursorAt(0, 0);\n}, { value: ' \\n match \\n' });\ntestVim('*_symbol', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('*');\n  helpers.assertCursorAt(1, 0);\n}, { value: ' /}\\n/} match \\n' });\ntestVim('#', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('#');\n  helpers.assertCursorAt(1, 8);\n\n  cm.setCursor(0, 9);\n  helpers.doKeys('2', '#');\n  helpers.assertCursorAt(0, 22);\n}, { value: 'nomatch match nomatch match \\nnomatch Match' });\ntestVim('*_seek', function(cm, vim, helpers) {\n  // Should skip over space and symbols.\n  cm.setCursor(0, 3);\n  helpers.doKeys('*');\n  helpers.assertCursorAt(0, 22);\n}, { value: '    :=  match nomatch match \\nnomatch Match' });\ntestVim('#', function(cm, vim, helpers) {\n  // Should skip over space and symbols.\n  cm.setCursor(0, 3);\n  helpers.doKeys('#');\n  helpers.assertCursorAt(1, 8);\n}, { value: '    :=  match nomatch match \\nnomatch Match' });\ntestVim('.', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('2', 'd', 'w');\n  helpers.doKeys('.');\n  eq('5 6', cm.getValue());\n}, { value: '1 2 3 4 5 6'});\ntestVim('._repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('2', 'd', 'w');\n  helpers.doKeys('3', '.');\n  eq('6', cm.getValue());\n}, { value: '1 2 3 4 5 6'});\ntestVim('._insert', function(cm, vim, helpers) {\n  helpers.doKeys('i');\n  cm.replaceRange('test', cm.getCursor());\n  helpers.doInsertModeKeys('Esc');\n  helpers.doKeys('.');\n  eq('testestt', cm.getValue());\n  helpers.assertCursorAt(0, 6);\n}, { value: ''});\ntestVim('._insert_repeat', function(cm, vim, helpers) {\n  helpers.doKeys('i');\n  cm.replaceRange('test', cm.getCursor());\n  cm.setCursor(0, 4);\n  helpers.doInsertModeKeys('Esc');\n  helpers.doKeys('2', '.');\n  eq('testesttestt', cm.getValue());\n  helpers.assertCursorAt(0, 10);\n}, { value: ''});\ntestVim('._repeat_insert', function(cm, vim, helpers) {\n  helpers.doKeys('3', 'i');\n  cm.replaceRange('te', cm.getCursor());\n  cm.setCursor(0, 2);\n  helpers.doInsertModeKeys('Esc');\n  helpers.doKeys('.');\n  eq('tetettetetee', cm.getValue());\n  helpers.assertCursorAt(0, 10);\n}, { value: ''});\ntestVim('._insert_o', function(cm, vim, helpers) {\n  helpers.doKeys('o');\n  cm.replaceRange('z', cm.getCursor());\n  cm.setCursor(1, 1);\n  helpers.doInsertModeKeys('Esc');\n  helpers.doKeys('.');\n  eq('\\nz\\nz', cm.getValue());\n  helpers.assertCursorAt(2, 0);\n}, { value: ''});\ntestVim('._insert_o_repeat', function(cm, vim, helpers) {\n  helpers.doKeys('o');\n  cm.replaceRange('z', cm.getCursor());\n  helpers.doInsertModeKeys('Esc');\n  cm.setCursor(1, 0);\n  helpers.doKeys('2', '.');\n  eq('\\nz\\nz\\nz', cm.getValue());\n  helpers.assertCursorAt(3, 0);\n}, { value: ''});\ntestVim('._insert_o_indent', function(cm, vim, helpers) {\n  helpers.doKeys('o');\n  cm.replaceRange('z', cm.getCursor());\n  helpers.doInsertModeKeys('Esc');\n  cm.setCursor(1, 2);\n  helpers.doKeys('.');\n  eq('{\\n  z\\n  z', cm.getValue());\n  helpers.assertCursorAt(2, 2);\n}, { value: '{'});\ntestVim('._insert_cw', function(cm, vim, helpers) {\n  helpers.doKeys('c', 'w');\n  cm.replaceRange('test', cm.getCursor());\n  helpers.doInsertModeKeys('Esc');\n  cm.setCursor(0, 3);\n  helpers.doKeys('2', 'l');\n  helpers.doKeys('.');\n  eq('test test word3', cm.getValue());\n  helpers.assertCursorAt(0, 8);\n}, { value: 'word1 word2 word3' });\ntestVim('._insert_cw_repeat', function(cm, vim, helpers) {\n  // For some reason, repeat cw in desktop VIM will does not repeat insert mode\n  // changes. Will conform to that behavior.\n  helpers.doKeys('c', 'w');\n  cm.replaceRange('test', cm.getCursor());\n  helpers.doInsertModeKeys('Esc');\n  cm.setCursor(0, 4);\n  helpers.doKeys('l');\n  helpers.doKeys('2', '.');\n  eq('test test', cm.getValue());\n  helpers.assertCursorAt(0, 8);\n}, { value: 'word1 word2 word3' });\ntestVim('._delete', function(cm, vim, helpers) {\n  cm.setCursor(0, 5);\n  helpers.doKeys('i');\n  helpers.doInsertModeKeys('Backspace', 'Esc');\n  helpers.doKeys('.');\n  eq('zace', cm.getValue());\n  helpers.assertCursorAt(0, 1);\n}, { value: 'zabcde'});\ntestVim('._delete_repeat', function(cm, vim, helpers) {\n  cm.setCursor(0, 6);\n  helpers.doKeys('i');\n  helpers.doInsertModeKeys('Backspace', 'Esc');\n  helpers.doKeys('2', '.');\n  eq('zzce', cm.getValue());\n  helpers.assertCursorAt(0, 1);\n}, { value: 'zzabcde'});\ntestVim('f;', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('f', 'x');\n  helpers.doKeys(';');\n  helpers.doKeys('2', ';');\n  eq(9, cm.getCursor().ch);\n}, { value: '01x3xx678x'});\ntestVim('F;', function(cm, vim, helpers) {\n  cm.setCursor(0, 8);\n  helpers.doKeys('F', 'x');\n  helpers.doKeys(';');\n  helpers.doKeys('2', ';');\n  eq(2, cm.getCursor().ch);\n}, { value: '01x3xx6x8x'});\ntestVim('t;', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('t', 'x');\n  helpers.doKeys(';');\n  helpers.doKeys('2', ';');\n  eq(8, cm.getCursor().ch);\n}, { value: '01x3xx678x'});\ntestVim('T;', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('T', 'x');\n  helpers.doKeys(';');\n  helpers.doKeys('2', ';');\n  eq(2, cm.getCursor().ch);\n}, { value: '0xx3xx678x'});\ntestVim('f,', function(cm, vim, helpers) {\n  cm.setCursor(0, 6);\n  helpers.doKeys('f', 'x');\n  helpers.doKeys(',');\n  helpers.doKeys('2', ',');\n  eq(2, cm.getCursor().ch);\n}, { value: '01x3xx678x'});\ntestVim('F,', function(cm, vim, helpers) {\n  cm.setCursor(0, 3);\n  helpers.doKeys('F', 'x');\n  helpers.doKeys(',');\n  helpers.doKeys('2', ',');\n  eq(9, cm.getCursor().ch);\n}, { value: '01x3xx678x'});\ntestVim('t,', function(cm, vim, helpers) {\n  cm.setCursor(0, 6);\n  helpers.doKeys('t', 'x');\n  helpers.doKeys(',');\n  helpers.doKeys('2', ',');\n  eq(3, cm.getCursor().ch);\n}, { value: '01x3xx678x'});\ntestVim('T,', function(cm, vim, helpers) {\n  cm.setCursor(0, 4);\n  helpers.doKeys('T', 'x');\n  helpers.doKeys(',');\n  helpers.doKeys('2', ',');\n  eq(8, cm.getCursor().ch);\n}, { value: '01x3xx67xx'});\ntestVim('fd,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('f', '4');\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', ';');\n  eq('56789', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 9);\n  helpers.doKeys('d', ',');\n  eq('01239', cm.getValue());\n}, { value: '0123456789'});\ntestVim('Fd,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('F', '4');\n  cm.setCursor(0, 9);\n  helpers.doKeys('d', ';');\n  eq('01239', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', ',');\n  eq('56789', cm.getValue());\n}, { value: '0123456789'});\ntestVim('td,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('t', '4');\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', ';');\n  eq('456789', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 9);\n  helpers.doKeys('d', ',');\n  eq('012349', cm.getValue());\n}, { value: '0123456789'});\ntestVim('Td,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('T', '4');\n  cm.setCursor(0, 9);\n  helpers.doKeys('d', ';');\n  eq('012349', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 0);\n  helpers.doKeys('d', ',');\n  eq('456789', cm.getValue());\n}, { value: '0123456789'});\ntestVim('fc,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('f', '4');\n  cm.setCursor(0, 0);\n  helpers.doKeys('c', ';', 'Esc');\n  eq('56789', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 9);\n  helpers.doKeys('c', ',');\n  eq('01239', cm.getValue());\n}, { value: '0123456789'});\ntestVim('Fc,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('F', '4');\n  cm.setCursor(0, 9);\n  helpers.doKeys('c', ';', 'Esc');\n  eq('01239', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 0);\n  helpers.doKeys('c', ',');\n  eq('56789', cm.getValue());\n}, { value: '0123456789'});\ntestVim('tc,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('t', '4');\n  cm.setCursor(0, 0);\n  helpers.doKeys('c', ';', 'Esc');\n  eq('456789', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 9);\n  helpers.doKeys('c', ',');\n  eq('012349', cm.getValue());\n}, { value: '0123456789'});\ntestVim('Tc,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('T', '4');\n  cm.setCursor(0, 9);\n  helpers.doKeys('c', ';', 'Esc');\n  eq('012349', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 0);\n  helpers.doKeys('c', ',');\n  eq('456789', cm.getValue());\n}, { value: '0123456789'});\ntestVim('fy,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('f', '4');\n  cm.setCursor(0, 0);\n  helpers.doKeys('y', ';', 'P');\n  eq('012340123456789', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 9);\n  helpers.doKeys('y', ',', 'P');\n  eq('012345678456789', cm.getValue());\n}, { value: '0123456789'});\ntestVim('Fy,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('F', '4');\n  cm.setCursor(0, 9);\n  helpers.doKeys('y', ';', 'p');\n  eq('012345678945678', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 0);\n  helpers.doKeys('y', ',', 'P');\n  eq('012340123456789', cm.getValue());\n}, { value: '0123456789'});\ntestVim('ty,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys('t', '4');\n  cm.setCursor(0, 0);\n  helpers.doKeys('y', ';', 'P');\n  eq('01230123456789', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 9);\n  helpers.doKeys('y', ',', 'p');\n  eq('01234567895678', cm.getValue());\n}, { value: '0123456789'});\ntestVim('Ty,;', function(cm, vim, helpers) {\n  cm.setCursor(0, 9);\n  helpers.doKeys('T', '4');\n  cm.setCursor(0, 9);\n  helpers.doKeys('y', ';', 'p');\n  eq('01234567895678', cm.getValue());\n  helpers.doKeys('u');\n  cm.setCursor(0, 0);\n  helpers.doKeys('y', ',', 'P');\n  eq('01230123456789', cm.getValue());\n}, { value: '0123456789'});\ntestVim('HML', function(cm, vim, helpers) {\n  var lines = 35;\n  var textHeight = cm.defaultTextHeight();\n  cm.setSize(600, lines*textHeight);\n  cm.setCursor(120, 0);\n  helpers.doKeys('H');\n  helpers.assertCursorAt(86, 2);\n  helpers.doKeys('L');\n  helpers.assertCursorAt(120, 4);\n  helpers.doKeys('M');\n  helpers.assertCursorAt(103,4);\n}, { value: (function(){\n  var lines = new Array(100);\n  var upper = '  xx\\n';\n  var lower = '    xx\\n';\n  upper = lines.join(upper);\n  lower = lines.join(lower);\n  return upper + lower;\n})()});\n\nvar zVals = ['zb','zz','zt','z-','z.','z<CR>'].map(function(e, idx){\n  var lineNum = 250;\n  var lines = 35;\n  testVim(e, function(cm, vim, helpers) {\n    var k1 = e[0];\n    var k2 = e.substring(1);\n    var textHeight = cm.defaultTextHeight();\n    cm.setSize(600, lines*textHeight);\n    cm.setCursor(lineNum, 0);\n    helpers.doKeys(k1, k2);\n    zVals[idx] = cm.getScrollInfo().top;\n  }, { value: (function(){\n    return new Array(500).join('\\n');\n  })()});\n});\ntestVim('zb<zz', function(cm, vim, helpers){\n  eq(zVals[0]<zVals[1], true);\n});\ntestVim('zz<zt', function(cm, vim, helpers){\n  eq(zVals[1]<zVals[2], true);\n});\ntestVim('zb==z-', function(cm, vim, helpers){\n  eq(zVals[0], zVals[3]);\n});\ntestVim('zz==z.', function(cm, vim, helpers){\n  eq(zVals[1], zVals[4]);\n});\ntestVim('zt==z<CR>', function(cm, vim, helpers){\n  eq(zVals[2], zVals[5]);\n});\n\nvar squareBracketMotionSandbox = ''+\n  '({\\n'+//0\n  '  ({\\n'+//11\n  '  /*comment {\\n'+//2\n  '            */(\\n'+//3\n  '#else                \\n'+//4\n  '  /*       )\\n'+//5\n  '#if        }\\n'+//6\n  '  )}*/\\n'+//7\n  ')}\\n'+//8\n  '{}\\n'+//9\n  '#else {{\\n'+//10\n  '{}\\n'+//11\n  '}\\n'+//12\n  '{\\n'+//13\n  '#endif\\n'+//14\n  '}\\n'+//15\n  '}\\n'+//16\n  '#else';//17\ntestVim('[[, ]]', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys(']', ']');\n  helpers.assertCursorAt(9,0);\n  helpers.doKeys('2', ']', ']');\n  helpers.assertCursorAt(13,0);\n  helpers.doKeys(']', ']');\n  helpers.assertCursorAt(17,0);\n  helpers.doKeys('[', '[');\n  helpers.assertCursorAt(13,0);\n  helpers.doKeys('2', '[', '[');\n  helpers.assertCursorAt(9,0);\n  helpers.doKeys('[', '[');\n  helpers.assertCursorAt(0,0);\n}, { value: squareBracketMotionSandbox});\ntestVim('[], ][', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doKeys(']', '[');\n  helpers.assertCursorAt(12,0);\n  helpers.doKeys('2', ']', '[');\n  helpers.assertCursorAt(16,0);\n  helpers.doKeys(']', '[');\n  helpers.assertCursorAt(17,0);\n  helpers.doKeys('[', ']');\n  helpers.assertCursorAt(16,0);\n  helpers.doKeys('2', '[', ']');\n  helpers.assertCursorAt(12,0);\n  helpers.doKeys('[', ']');\n  helpers.assertCursorAt(0,0);\n}, { value: squareBracketMotionSandbox});\ntestVim('[{, ]}', function(cm, vim, helpers) {\n  cm.setCursor(4, 10);\n  helpers.doKeys('[', '{');\n  helpers.assertCursorAt(2,12);\n  helpers.doKeys('2', '[', '{');\n  helpers.assertCursorAt(0,1);\n  cm.setCursor(4, 10);\n  helpers.doKeys(']', '}');\n  helpers.assertCursorAt(6,11);\n  helpers.doKeys('2', ']', '}');\n  helpers.assertCursorAt(8,1);\n  cm.setCursor(0,1);\n  helpers.doKeys(']', '}');\n  helpers.assertCursorAt(8,1);\n  helpers.doKeys('[', '{');\n  helpers.assertCursorAt(0,1);\n}, { value: squareBracketMotionSandbox});\ntestVim('[(, ])', function(cm, vim, helpers) {\n  cm.setCursor(4, 10);\n  helpers.doKeys('[', '(');\n  helpers.assertCursorAt(3,14);\n  helpers.doKeys('2', '[', '(');\n  helpers.assertCursorAt(0,0);\n  cm.setCursor(4, 10);\n  helpers.doKeys(']', ')');\n  helpers.assertCursorAt(5,11);\n  helpers.doKeys('2', ']', ')');\n  helpers.assertCursorAt(8,0);\n  helpers.doKeys('[', '(');\n  helpers.assertCursorAt(0,0);\n  helpers.doKeys(']', ')');\n  helpers.assertCursorAt(8,0);\n}, { value: squareBracketMotionSandbox});\ntestVim('[*, ]*, [/, ]/', function(cm, vim, helpers) {\n  ['*', '/'].forEach(function(key){\n    cm.setCursor(7, 0);\n    helpers.doKeys('2', '[', key);\n    helpers.assertCursorAt(2,2);\n    helpers.doKeys('2', ']', key);\n    helpers.assertCursorAt(7,5);\n  });\n}, { value: squareBracketMotionSandbox});\ntestVim('[#, ]#', function(cm, vim, helpers) {\n  cm.setCursor(10, 3);\n  helpers.doKeys('2', '[', '#');\n  helpers.assertCursorAt(4,0);\n  helpers.doKeys('5', ']', '#');\n  helpers.assertCursorAt(17,0);\n  cm.setCursor(10, 3);\n  helpers.doKeys(']', '#');\n  helpers.assertCursorAt(14,0);\n}, { value: squareBracketMotionSandbox});\ntestVim('[m, ]m, [M, ]M', function(cm, vim, helpers) {\n  cm.setCursor(11, 0);\n  helpers.doKeys('[', 'm');\n  helpers.assertCursorAt(10,7);\n  helpers.doKeys('4', '[', 'm');\n  helpers.assertCursorAt(1,3);\n  helpers.doKeys('5', ']', 'm');\n  helpers.assertCursorAt(11,0);\n  helpers.doKeys('[', 'M');\n  helpers.assertCursorAt(9,1);\n  helpers.doKeys('3', ']', 'M');\n  helpers.assertCursorAt(15,0);\n  helpers.doKeys('5', '[', 'M');\n  helpers.assertCursorAt(7,3);\n}, { value: squareBracketMotionSandbox});\n\n// Ex mode tests\ntestVim('ex_go_to_line', function(cm, vim, helpers) {\n  cm.setCursor(0, 0);\n  helpers.doEx('4');\n  helpers.assertCursorAt(3, 0);\n}, { value: 'a\\nb\\nc\\nd\\ne\\n'});\ntestVim('ex_write', function(cm, vim, helpers) {\n  var tmp = CodeMirror.commands.save;\n  var written;\n  var actualCm;\n  CodeMirror.commands.save = function(cm) {\n    written = true;\n    actualCm = cm;\n  };\n  // Test that w, wr, wri ... write all trigger :write.\n  var command = 'write';\n  for (var i = 1; i < command.length; i++) {\n    written = false;\n    actualCm = null;\n    helpers.doEx(command.substring(0, i));\n    eq(written, true);\n    eq(actualCm, cm);\n  }\n  CodeMirror.commands.save = tmp;\n});\ntestVim('ex_sort', function(cm, vim, helpers) {\n  helpers.doEx('sort');\n  eq('Z\\na\\nb\\nc\\nd', cm.getValue());\n}, { value: 'b\\nZ\\nd\\nc\\na'});\ntestVim('ex_sort_reverse', function(cm, vim, helpers) {\n  helpers.doEx('sort!');\n  eq('d\\nc\\nb\\na', cm.getValue());\n}, { value: 'b\\nd\\nc\\na'});\ntestVim('ex_sort_range', function(cm, vim, helpers) {\n  helpers.doEx('2,3sort');\n  eq('b\\nc\\nd\\na', cm.getValue());\n}, { value: 'b\\nd\\nc\\na'});\ntestVim('ex_sort_oneline', function(cm, vim, helpers) {\n  helpers.doEx('2sort');\n  // Expect no change.\n  eq('b\\nd\\nc\\na', cm.getValue());\n}, { value: 'b\\nd\\nc\\na'});\ntestVim('ex_sort_ignoreCase', function(cm, vim, helpers) {\n  helpers.doEx('sort i');\n  eq('a\\nb\\nc\\nd\\nZ', cm.getValue());\n}, { value: 'b\\nZ\\nd\\nc\\na'});\ntestVim('ex_sort_unique', function(cm, vim, helpers) {\n  helpers.doEx('sort u');\n  eq('Z\\na\\nb\\nc\\nd', cm.getValue());\n}, { value: 'b\\nZ\\na\\na\\nd\\na\\nc\\na'});\ntestVim('ex_sort_decimal', function(cm, vim, helpers) {\n  helpers.doEx('sort d');\n  eq('d3\\n s5\\n6\\n.9', cm.getValue());\n}, { value: '6\\nd3\\n s5\\n.9'});\ntestVim('ex_sort_decimal_negative', function(cm, vim, helpers) {\n  helpers.doEx('sort d');\n  eq('z-9\\nd3\\n s5\\n6\\n.9', cm.getValue());\n}, { value: '6\\nd3\\n s5\\n.9\\nz-9'});\ntestVim('ex_sort_decimal_reverse', function(cm, vim, helpers) {\n  helpers.doEx('sort! d');\n  eq('.9\\n6\\n s5\\nd3', cm.getValue());\n}, { value: '6\\nd3\\n s5\\n.9'});\ntestVim('ex_sort_hex', function(cm, vim, helpers) {\n  helpers.doEx('sort x');\n  eq(' s5\\n6\\n.9\\n&0xB\\nd3', cm.getValue());\n}, { value: '6\\nd3\\n s5\\n&0xB\\n.9'});\ntestVim('ex_sort_octal', function(cm, vim, helpers) {\n  helpers.doEx('sort o');\n  eq('.8\\n.9\\nd3\\n s5\\n6', cm.getValue());\n}, { value: '6\\nd3\\n s5\\n.9\\n.8'});\ntestVim('ex_sort_decimal_mixed', function(cm, vim, helpers) {\n  helpers.doEx('sort d');\n  eq('y\\nz\\nc1\\nb2\\na3', cm.getValue());\n}, { value: 'a3\\nz\\nc1\\ny\\nb2'});\ntestVim('ex_sort_decimal_mixed_reverse', function(cm, vim, helpers) {\n  helpers.doEx('sort! d');\n  eq('a3\\nb2\\nc1\\nz\\ny', cm.getValue());\n}, { value: 'a3\\nz\\nc1\\ny\\nb2'});\ntestVim('ex_substitute_same_line', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  helpers.doEx('s/one/two');\n  eq('one one\\n two two', cm.getValue());\n}, { value: 'one one\\n one one'});\ntestVim('ex_substitute_global', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  helpers.doEx('%s/one/two');\n  eq('two two\\n two two', cm.getValue());\n}, { value: 'one one\\n one one'});\ntestVim('ex_substitute_input_range', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  helpers.doEx('1,3s/\\\\d/0');\n  eq('0\\n0\\n0\\n4', cm.getValue());\n}, { value: '1\\n2\\n3\\n4' });\ntestVim('ex_substitute_visual_range', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  // Set last visual mode selection marks '< and '> at lines 2 and 4\n  helpers.doKeys('V', '2', 'j', 'v');\n  helpers.doEx('\\'<,\\'>s/\\\\d/0');\n  eq('1\\n0\\n0\\n0\\n5', cm.getValue());\n}, { value: '1\\n2\\n3\\n4\\n5' });\ntestVim('ex_substitute_capture', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  helpers.doEx('s/(\\\\d+)/$1$1/')\n  eq('a1111 a1212 a1313', cm.getValue());\n}, { value: 'a11 a12 a13' });\ntestVim('ex_substitute_empty_query', function(cm, vim, helpers) {\n  // If the query is empty, use last query.\n  cm.setCursor(1, 0);\n  cm.openDialog = helpers.fakeOpenDialog('1');\n  helpers.doKeys('/');\n  helpers.doEx('s//b');\n  eq('abb ab2 ab3', cm.getValue());\n}, { value: 'a11 a12 a13' });\ntestVim('ex_substitute_count', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  helpers.doEx('s/\\\\d/0/i 2');\n  eq('1\\n0\\n0\\n4', cm.getValue());\n}, { value: '1\\n2\\n3\\n4' });\ntestVim('ex_substitute_count_with_range', function(cm, vim, helpers) {\n  cm.setCursor(1, 0);\n  helpers.doEx('1,3s/\\\\d/0/ 3');\n  eq('1\\n2\\n0\\n0', cm.getValue());\n}, { value: '1\\n2\\n3\\n4' });\nfunction testSubstituteConfirm(name, command, initialValue, expectedValue, keys, finalPos) {\n  testVim(name, function(cm, vim, helpers) {\n    var savedOpenDialog = cm.openDialog;\n    var savedKeyName = CodeMirror.keyName;\n    var onKeyDown;\n    var recordedCallback;\n    var closed = true; // Start out closed, set false on second openDialog.\n    function close() {\n      closed = true;\n    }\n    // First openDialog should save callback.\n    cm.openDialog = function(template, callback, options) {\n      recordedCallback = callback;\n    }\n    // Do first openDialog.\n    helpers.doKeys(':');\n    // Second openDialog should save keyDown handler.\n    cm.openDialog = function(template, callback, options) {\n      onKeyDown = options.onKeyDown;\n      closed = false;\n    };\n    // Return the command to Vim and trigger second openDialog.\n    recordedCallback(command);\n    // The event should really use keyCode, but here just mock it out and use\n    // key and replace keyName to just return key.\n    CodeMirror.keyName = function (e) { return e.key; }\n    keys = keys.toUpperCase();\n    for (var i = 0; i < keys.length; i++) {\n      is(!closed);\n      onKeyDown({ key: keys.charAt(i) }, '', close);\n    }\n    try {\n      eq(expectedValue, cm.getValue());\n      helpers.assertCursorAt(finalPos);\n      is(closed);\n    } catch(e) {\n      throw e\n    } finally {\n      // Restore overriden functions.\n      CodeMirror.keyName = savedKeyName;\n      cm.openDialog = savedOpenDialog;\n    }\n  }, { value: initialValue });\n};\ntestSubstituteConfirm('ex_substitute_confirm_emptydoc',\n    '%s/x/b/c', '', '', '', makeCursor(0, 0));\ntestSubstituteConfirm('ex_substitute_confirm_nomatch',\n    '%s/x/b/c', 'ba a\\nbab', 'ba a\\nbab', '', makeCursor(0, 0));\ntestSubstituteConfirm('ex_substitute_confirm_accept',\n    '%s/a/b/c', 'ba a\\nbab', 'bb b\\nbbb', 'yyy', makeCursor(1, 1));\ntestSubstituteConfirm('ex_substitute_confirm_random_keys',\n    '%s/a/b/c', 'ba a\\nbab', 'bb b\\nbbb', 'ysdkywerty', makeCursor(1, 1));\ntestSubstituteConfirm('ex_substitute_confirm_some',\n    '%s/a/b/c', 'ba a\\nbab', 'bb a\\nbbb', 'yny', makeCursor(1, 1));\ntestSubstituteConfirm('ex_substitute_confirm_all',\n    '%s/a/b/c', 'ba a\\nbab', 'bb b\\nbbb', 'a', makeCursor(1, 1));\ntestSubstituteConfirm('ex_substitute_confirm_accept_then_all',\n    '%s/a/b/c', 'ba a\\nbab', 'bb b\\nbbb', 'ya', makeCursor(1, 1));\ntestSubstituteConfirm('ex_substitute_confirm_quit',\n    '%s/a/b/c', 'ba a\\nbab', 'bb a\\nbab', 'yq', makeCursor(0, 3));\ntestSubstituteConfirm('ex_substitute_confirm_last',\n    '%s/a/b/c', 'ba a\\nbab', 'bb b\\nbab', 'yl', makeCursor(0, 3));\ntestSubstituteConfirm('ex_substitute_confirm_oneline',\n    '1s/a/b/c', 'ba a\\nbab', 'bb b\\nbab', 'yl', makeCursor(0, 3));\ntestSubstituteConfirm('ex_substitute_confirm_range_accept',\n    '1,2s/a/b/c', 'aa\\na \\na\\na', 'bb\\nb \\na\\na', 'yyy', makeCursor(1, 0));\ntestSubstituteConfirm('ex_substitute_confirm_range_some',\n    '1,3s/a/b/c', 'aa\\na \\na\\na', 'ba\\nb \\nb\\na', 'ynyy', makeCursor(2, 0));\ntestSubstituteConfirm('ex_substitute_confirm_range_all',\n    '1,3s/a/b/c', 'aa\\na \\na\\na', 'bb\\nb \\nb\\na', 'a', makeCursor(2, 0));\ntestSubstituteConfirm('ex_substitute_confirm_range_last',\n    '1,3s/a/b/c', 'aa\\na \\na\\na', 'bb\\nb \\na\\na', 'yyl', makeCursor(1, 0));\n//:noh should clear highlighting of search-results but allow to resume search through n\ntestVim('ex_noh_clearSearchHighlight', function(cm, vim, helpers) {\n  cm.openDialog = helpers.fakeOpenDialog('match');\n  helpers.doKeys('?');\n  helpers.doEx('noh');\n  eq(vim.searchState_.getOverlay(),null,'match-highlighting wasn\\'t cleared');\n  helpers.doKeys('n');\n  helpers.assertCursorAt(0, 11,'can\\'t resume search after clearing highlighting');\n}, { value: 'match nope match \\n nope Match' });\n// TODO: Reset key maps after each test.\ntestVim('ex_map_key2key', function(cm, vim, helpers) {\n  helpers.doEx('map a x');\n  helpers.doKeys('a');\n  helpers.assertCursorAt(0, 0);\n  eq('bc', cm.getValue());\n}, { value: 'abc' });\ntestVim('ex_map_key2key_to_colon', function(cm, vim, helpers) {\n  helpers.doEx('map ; :');\n  var dialogOpened = false;\n  cm.openDialog = function() {\n    dialogOpened = true;\n  }\n  helpers.doKeys(';');\n  eq(dialogOpened, true);\n});\ntestVim('ex_map_ex2key:', function(cm, vim, helpers) {\n  helpers.doEx('map :del x');\n  helpers.doEx('del');\n  helpers.assertCursorAt(0, 0);\n  eq('bc', cm.getValue());\n}, { value: 'abc' });\ntestVim('ex_map_ex2ex', function(cm, vim, helpers) {\n  helpers.doEx('map :del :w');\n  var tmp = CodeMirror.commands.save;\n  var written = false;\n  var actualCm;\n  CodeMirror.commands.save = function(cm) {\n    written = true;\n    actualCm = cm;\n  };\n  helpers.doEx('del');\n  CodeMirror.commands.save = tmp;\n  eq(written, true);\n  eq(actualCm, cm);\n});\ntestVim('ex_map_key2ex', function(cm, vim, helpers) {\n  helpers.doEx('map a :w');\n  var tmp = CodeMirror.commands.save;\n  var written = false;\n  var actualCm;\n  CodeMirror.commands.save = function(cm) {\n    written = true;\n    actualCm = cm;\n  };\n  helpers.doKeys('a');\n  CodeMirror.commands.save = tmp;\n  eq(written, true);\n  eq(actualCm, cm);\n});\n// Testing registration of functions as ex-commands and mapping to <Key>-keys\ntestVim('ex_api_test', function(cm, vim, helpers) {\n  var res=false;\n  var val='from';\n  CodeMirror.Vim.defineEx('extest','ext',function(cm,params){\n    if(params.args)val=params.args[0];\n    else res=true;\n  });\n  helpers.doEx(':ext to');\n  eq(val,'to','Defining ex-command failed');\n  CodeMirror.Vim.map('<C-CR><Space>',':ext');\n  helpers.doKeys('<C-CR>','<Space>');\n  is(res,'Mapping to key failed');\n});\n// For now, this test needs to be last because it messes up : for future tests.\ntestVim('ex_map_key2key_from_colon', function(cm, vim, helpers) {\n  helpers.doEx('map : x');\n  helpers.doKeys(':');\n  helpers.assertCursorAt(0, 0);\n  eq('bc', cm.getValue());\n}, { value: 'abc' });\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/3024-day.css",
    "content": "/*\n\n    Name:       3024 day\n    Author:     Jan T. Sott (http://github.com/idleberg)\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;}\n.cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;}\n.cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;}\n.cm-s-3024-day .CodeMirror-linenumber {color: #807d7c;}\n.cm-s-3024-day .CodeMirror-cursor {border-left: 1px solid #5c5855 !important;}\n\n.cm-s-3024-day span.cm-comment {color: #cdab53;}\n.cm-s-3024-day span.cm-atom {color: #a16a94;}\n.cm-s-3024-day span.cm-number {color: #a16a94;}\n\n.cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute {color: #01a252;}\n.cm-s-3024-day span.cm-keyword {color: #db2d20;}\n.cm-s-3024-day span.cm-string {color: #fded02;}\n\n.cm-s-3024-day span.cm-variable {color: #01a252;}\n.cm-s-3024-day span.cm-variable-2 {color: #01a0e4;}\n.cm-s-3024-day span.cm-def {color: #e8bbd0;}\n.cm-s-3024-day span.cm-bracket {color: #3a3432;}\n.cm-s-3024-day span.cm-tag {color: #db2d20;}\n.cm-s-3024-day span.cm-link {color: #a16a94;}\n.cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;}\n\n.cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/3024-night.css",
    "content": "/*\n\n    Name:       3024 night\n    Author:     Jan T. Sott (http://github.com/idleberg)\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;}\n.cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;}\n.cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;}\n.cm-s-3024-night .CodeMirror-linenumber {color: #5c5855;}\n.cm-s-3024-night .CodeMirror-cursor {border-left: 1px solid #807d7c !important;}\n\n.cm-s-3024-night span.cm-comment {color: #cdab53;}\n.cm-s-3024-night span.cm-atom {color: #a16a94;}\n.cm-s-3024-night span.cm-number {color: #a16a94;}\n\n.cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute {color: #01a252;}\n.cm-s-3024-night span.cm-keyword {color: #db2d20;}\n.cm-s-3024-night span.cm-string {color: #fded02;}\n\n.cm-s-3024-night span.cm-variable {color: #01a252;}\n.cm-s-3024-night span.cm-variable-2 {color: #01a0e4;}\n.cm-s-3024-night span.cm-def {color: #e8bbd0;}\n.cm-s-3024-night span.cm-bracket {color: #d6d5d4;}\n.cm-s-3024-night span.cm-tag {color: #db2d20;}\n.cm-s-3024-night span.cm-link {color: #a16a94;}\n.cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;}\n\n.cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;}\n.cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/ambiance-mobile.css",
    "content": ".cm-s-ambiance.CodeMirror {\n  -webkit-box-shadow: none;\n  -moz-box-shadow: none;\n  box-shadow: none;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/ambiance.css",
    "content": "/* ambiance theme for codemirror */\n\n/* Color scheme */\n\n.cm-s-ambiance .cm-keyword { color: #cda869; }\n.cm-s-ambiance .cm-atom { color: #CF7EA9; }\n.cm-s-ambiance .cm-number { color: #78CF8A; }\n.cm-s-ambiance .cm-def { color: #aac6e3; }\n.cm-s-ambiance .cm-variable { color: #ffb795; }\n.cm-s-ambiance .cm-variable-2 { color: #eed1b3; }\n.cm-s-ambiance .cm-variable-3 { color: #faded3; }\n.cm-s-ambiance .cm-property { color: #eed1b3; }\n.cm-s-ambiance .cm-operator {color: #fa8d6a;}\n.cm-s-ambiance .cm-comment { color: #555; font-style:italic; }\n.cm-s-ambiance .cm-string { color: #8f9d6a; }\n.cm-s-ambiance .cm-string-2 { color: #9d937c; }\n.cm-s-ambiance .cm-meta { color: #D2A8A1; }\n.cm-s-ambiance .cm-qualifier { color: yellow; }\n.cm-s-ambiance .cm-builtin { color: #9999cc; }\n.cm-s-ambiance .cm-bracket { color: #24C2C7; }\n.cm-s-ambiance .cm-tag { color: #fee4ff }\n.cm-s-ambiance .cm-attribute {  color: #9B859D; }\n.cm-s-ambiance .cm-header {color: blue;}\n.cm-s-ambiance .cm-quote { color: #24C2C7; }\n.cm-s-ambiance .cm-hr { color: pink; }\n.cm-s-ambiance .cm-link { color: #F4C20B; }\n.cm-s-ambiance .cm-special { color: #FF9D00; }\n.cm-s-ambiance .cm-error { color: #AF2018; }\n\n.cm-s-ambiance .CodeMirror-matchingbracket { color: #0f0; }\n.cm-s-ambiance .CodeMirror-nonmatchingbracket { color: #f22; }\n\n.cm-s-ambiance .CodeMirror-selected {\n  background: rgba(255, 255, 255, 0.15);\n}\n.cm-s-ambiance.CodeMirror-focused .CodeMirror-selected {\n  background: rgba(255, 255, 255, 0.10);\n}\n\n/* Editor styling */\n\n.cm-s-ambiance.CodeMirror {\n  line-height: 1.40em;\n  font-family: Monaco, Menlo,\"Andale Mono\",\"lucida console\",\"Courier New\",monospace !important;\n  color: #E6E1DC;\n  background-color: #202020;\n  -webkit-box-shadow: inset 0 0 10px black;\n  -moz-box-shadow: inset 0 0 10px black;\n  box-shadow: inset 0 0 10px black;\n}\n\n.cm-s-ambiance .CodeMirror-gutters {\n  background: #3D3D3D;\n  border-right: 1px solid #4D4D4D;\n  box-shadow: 0 10px 20px black;\n}\n\n.cm-s-ambiance .CodeMirror-linenumber {\n  text-shadow: 0px 1px 1px #4d4d4d;\n  color: #222;\n  padding: 0 5px;\n}\n\n.cm-s-ambiance .CodeMirror-lines .CodeMirror-cursor {\n  border-left: 1px solid #7991E8;\n}\n\n.cm-s-ambiance .CodeMirror-activeline-background {\n  background: none repeat scroll 0% 0% rgba(255, 255, 255, 0.031);\n}\n\n.cm-s-ambiance.CodeMirror,\n.cm-s-ambiance .CodeMirror-gutters {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC\");\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/base16-dark.css",
    "content": "/*\n\n    Name:       Base16 Default Dark\n    Author:     Chris Kempson (http://chriskempson.com)\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-base16-dark.CodeMirror {background: #151515; color: #e0e0e0;}\n.cm-s-base16-dark div.CodeMirror-selected {background: #202020 !important;}\n.cm-s-base16-dark .CodeMirror-gutters {background: #151515; border-right: 0px;}\n.cm-s-base16-dark .CodeMirror-linenumber {color: #505050;}\n.cm-s-base16-dark .CodeMirror-cursor {border-left: 1px solid #b0b0b0 !important;}\n\n.cm-s-base16-dark span.cm-comment {color: #8f5536;}\n.cm-s-base16-dark span.cm-atom {color: #aa759f;}\n.cm-s-base16-dark span.cm-number {color: #aa759f;}\n\n.cm-s-base16-dark span.cm-property, .cm-s-base16-dark span.cm-attribute {color: #90a959;}\n.cm-s-base16-dark span.cm-keyword {color: #ac4142;}\n.cm-s-base16-dark span.cm-string {color: #f4bf75;}\n\n.cm-s-base16-dark span.cm-variable {color: #90a959;}\n.cm-s-base16-dark span.cm-variable-2 {color: #6a9fb5;}\n.cm-s-base16-dark span.cm-def {color: #d28445;}\n.cm-s-base16-dark span.cm-bracket {color: #e0e0e0;}\n.cm-s-base16-dark span.cm-tag {color: #ac4142;}\n.cm-s-base16-dark span.cm-link {color: #aa759f;}\n.cm-s-base16-dark span.cm-error {background: #ac4142; color: #b0b0b0;}\n\n.cm-s-base16-dark .CodeMirror-activeline-background {background: #2F2F2F !important;}\n.cm-s-base16-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/base16-light.css",
    "content": "/*\n\n    Name:       Base16 Default Light\n    Author:     Chris Kempson (http://chriskempson.com)\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-base16-light.CodeMirror {background: #f5f5f5; color: #202020;}\n.cm-s-base16-light div.CodeMirror-selected {background: #e0e0e0 !important;}\n.cm-s-base16-light .CodeMirror-gutters {background: #f5f5f5; border-right: 0px;}\n.cm-s-base16-light .CodeMirror-linenumber {color: #b0b0b0;}\n.cm-s-base16-light .CodeMirror-cursor {border-left: 1px solid #505050 !important;}\n\n.cm-s-base16-light span.cm-comment {color: #8f5536;}\n.cm-s-base16-light span.cm-atom {color: #aa759f;}\n.cm-s-base16-light span.cm-number {color: #aa759f;}\n\n.cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute {color: #90a959;}\n.cm-s-base16-light span.cm-keyword {color: #ac4142;}\n.cm-s-base16-light span.cm-string {color: #f4bf75;}\n\n.cm-s-base16-light span.cm-variable {color: #90a959;}\n.cm-s-base16-light span.cm-variable-2 {color: #6a9fb5;}\n.cm-s-base16-light span.cm-def {color: #d28445;}\n.cm-s-base16-light span.cm-bracket {color: #202020;}\n.cm-s-base16-light span.cm-tag {color: #ac4142;}\n.cm-s-base16-light span.cm-link {color: #aa759f;}\n.cm-s-base16-light span.cm-error {background: #ac4142; color: #505050;}\n\n.cm-s-base16-light .CodeMirror-activeline-background {background: #DDDCDC !important;}\n.cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/blackboard.css",
    "content": "/* Port of TextMate's Blackboard theme */\n\n.cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }\n.cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; }\n.cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }\n.cm-s-blackboard .CodeMirror-linenumber { color: #888; }\n.cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; }\n\n.cm-s-blackboard .cm-keyword { color: #FBDE2D; }\n.cm-s-blackboard .cm-atom { color: #D8FA3C; }\n.cm-s-blackboard .cm-number { color: #D8FA3C; }\n.cm-s-blackboard .cm-def { color: #8DA6CE; }\n.cm-s-blackboard .cm-variable { color: #FF6400; }\n.cm-s-blackboard .cm-operator { color: #FBDE2D;}\n.cm-s-blackboard .cm-comment { color: #AEAEAE; }\n.cm-s-blackboard .cm-string { color: #61CE3C; }\n.cm-s-blackboard .cm-string-2 { color: #61CE3C; }\n.cm-s-blackboard .cm-meta { color: #D8FA3C; }\n.cm-s-blackboard .cm-builtin { color: #8DA6CE; }\n.cm-s-blackboard .cm-tag { color: #8DA6CE; }\n.cm-s-blackboard .cm-attribute { color: #8DA6CE; }\n.cm-s-blackboard .cm-header { color: #FF6400; }\n.cm-s-blackboard .cm-hr { color: #AEAEAE; }\n.cm-s-blackboard .cm-link { color: #8DA6CE; }\n.cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }\n\n.cm-s-blackboard .CodeMirror-activeline-background {background: #3C3636 !important;}\n.cm-s-blackboard .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important}"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/cobalt.css",
    "content": ".cm-s-cobalt.CodeMirror { background: #002240; color: white; }\n.cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; }\n.cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }\n.cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; }\n.cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-cobalt span.cm-comment { color: #08f; }\n.cm-s-cobalt span.cm-atom { color: #845dc4; }\n.cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; }\n.cm-s-cobalt span.cm-keyword { color: #ffee80; }\n.cm-s-cobalt span.cm-string { color: #3ad900; }\n.cm-s-cobalt span.cm-meta { color: #ff9d00; }\n.cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; }\n.cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; }\n.cm-s-cobalt span.cm-bracket { color: #d8d8d8; }\n.cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; }\n.cm-s-cobalt span.cm-link { color: #845dc4; }\n.cm-s-cobalt span.cm-error { color: #9d1e15; }\n\n.cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;}\n.cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/eclipse.css",
    "content": ".cm-s-eclipse span.cm-meta {color: #FF1717;}\n.cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; }\n.cm-s-eclipse span.cm-atom {color: #219;}\n.cm-s-eclipse span.cm-number {color: #164;}\n.cm-s-eclipse span.cm-def {color: #00f;}\n.cm-s-eclipse span.cm-variable {color: black;}\n.cm-s-eclipse span.cm-variable-2 {color: #0000C0;}\n.cm-s-eclipse span.cm-variable-3 {color: #0000C0;}\n.cm-s-eclipse span.cm-property {color: black;}\n.cm-s-eclipse span.cm-operator {color: black;}\n.cm-s-eclipse span.cm-comment {color: #3F7F5F;}\n.cm-s-eclipse span.cm-string {color: #2A00FF;}\n.cm-s-eclipse span.cm-string-2 {color: #f50;}\n.cm-s-eclipse span.cm-qualifier {color: #555;}\n.cm-s-eclipse span.cm-builtin {color: #30a;}\n.cm-s-eclipse span.cm-bracket {color: #cc7;}\n.cm-s-eclipse span.cm-tag {color: #170;}\n.cm-s-eclipse span.cm-attribute {color: #00c;}\n.cm-s-eclipse span.cm-link {color: #219;}\n.cm-s-eclipse span.cm-error {color: #f00;}\n\n.cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/elegant.css",
    "content": ".cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;}\n.cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;}\n.cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;}\n.cm-s-elegant span.cm-variable {color: black;}\n.cm-s-elegant span.cm-variable-2 {color: #b11;}\n.cm-s-elegant span.cm-qualifier {color: #555;}\n.cm-s-elegant span.cm-keyword {color: #730;}\n.cm-s-elegant span.cm-builtin {color: #30a;}\n.cm-s-elegant span.cm-link {color: #762;}\n.cm-s-elegant span.cm-error {background-color: #fdd;}\n\n.cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/erlang-dark.css",
    "content": ".cm-s-erlang-dark.CodeMirror { background: #002240; color: white; }\n.cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; }\n.cm-s-erlang-dark .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }\n.cm-s-erlang-dark .CodeMirror-linenumber { color: #d0d0d0; }\n.cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-erlang-dark span.cm-atom       { color: #f133f1; }\n.cm-s-erlang-dark span.cm-attribute  { color: #ff80e1; }\n.cm-s-erlang-dark span.cm-bracket    { color: #ff9d00; }\n.cm-s-erlang-dark span.cm-builtin    { color: #eaa; }\n.cm-s-erlang-dark span.cm-comment    { color: #77f; }\n.cm-s-erlang-dark span.cm-def        { color: #e7a; }\n.cm-s-erlang-dark span.cm-keyword    { color: #ffee80; }\n.cm-s-erlang-dark span.cm-meta       { color: #50fefe; }\n.cm-s-erlang-dark span.cm-number     { color: #ffd0d0; }\n.cm-s-erlang-dark span.cm-operator   { color: #d55; }\n.cm-s-erlang-dark span.cm-property   { color: #ccc; }\n.cm-s-erlang-dark span.cm-qualifier  { color: #ccc; }\n.cm-s-erlang-dark span.cm-quote      { color: #ccc; }\n.cm-s-erlang-dark span.cm-special    { color: #ffbbbb; }\n.cm-s-erlang-dark span.cm-string     { color: #3ad900; }\n.cm-s-erlang-dark span.cm-string-2   { color: #ccc; }\n.cm-s-erlang-dark span.cm-tag        { color: #9effff; }\n.cm-s-erlang-dark span.cm-variable   { color: #50fe50; }\n.cm-s-erlang-dark span.cm-variable-2 { color: #e0e; }\n.cm-s-erlang-dark span.cm-variable-3 { color: #ccc; }\n.cm-s-erlang-dark span.cm-error      { color: #9d1e15; }\n\n.cm-s-erlang-dark .CodeMirror-activeline-background {background: #013461 !important;}\n.cm-s-erlang-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/lesser-dark.css",
    "content": "/*\nhttp://lesscss.org/ dark theme\nPorted to CodeMirror by Peter Kroon\n*/\n.cm-s-lesser-dark {\n  line-height: 1.3em;\n}\n.cm-s-lesser-dark {\n  font-family: 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', 'Monaco', Courier, monospace !important;\n}\n\n.cm-s-lesser-dark.CodeMirror { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; }\n.cm-s-lesser-dark div.CodeMirror-selected {background: #45443B !important;} /* 33322B*/\n.cm-s-lesser-dark .CodeMirror-cursor { border-left: 1px solid white !important; }\n.cm-s-lesser-dark pre { padding: 0 8px; }/*editable code holder*/\n\n.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }/*65FC65*/\n\n.cm-s-lesser-dark .CodeMirror-gutters { background: #262626; border-right:1px solid #aaa; }\n.cm-s-lesser-dark .CodeMirror-linenumber { color: #777; }\n\n.cm-s-lesser-dark span.cm-keyword { color: #599eff; }\n.cm-s-lesser-dark span.cm-atom { color: #C2B470; }\n.cm-s-lesser-dark span.cm-number { color: #B35E4D; }\n.cm-s-lesser-dark span.cm-def {color: white;}\n.cm-s-lesser-dark span.cm-variable { color:#D9BF8C; }\n.cm-s-lesser-dark span.cm-variable-2 { color: #669199; }\n.cm-s-lesser-dark span.cm-variable-3 { color: white; }\n.cm-s-lesser-dark span.cm-property {color: #92A75C;}\n.cm-s-lesser-dark span.cm-operator {color: #92A75C;}\n.cm-s-lesser-dark span.cm-comment { color: #666; }\n.cm-s-lesser-dark span.cm-string { color: #BCD279; }\n.cm-s-lesser-dark span.cm-string-2 {color: #f50;}\n.cm-s-lesser-dark span.cm-meta { color: #738C73; }\n.cm-s-lesser-dark span.cm-qualifier {color: #555;}\n.cm-s-lesser-dark span.cm-builtin { color: #ff9e59; }\n.cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; }\n.cm-s-lesser-dark span.cm-tag { color: #669199; }\n.cm-s-lesser-dark span.cm-attribute {color: #00c;}\n.cm-s-lesser-dark span.cm-header {color: #a0a;}\n.cm-s-lesser-dark span.cm-quote {color: #090;}\n.cm-s-lesser-dark span.cm-hr {color: #999;}\n.cm-s-lesser-dark span.cm-link {color: #00c;}\n.cm-s-lesser-dark span.cm-error { color: #9d1e15; }\n\n.cm-s-lesser-dark .CodeMirror-activeline-background {background: #3C3A3A !important;}\n.cm-s-lesser-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/mbo.css",
    "content": "/* Based on mbonaci's Brackets mbo theme */\n\n.cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffe9;}\n.cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;}\n.cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;}\n.cm-s-mbo .CodeMirror-linenumber {color: #dadada;}\n.cm-s-mbo .CodeMirror-cursor {border-left: 1px solid #ffffec !important;}\n\n.cm-s-mbo span.cm-comment {color: #95958a;}\n.cm-s-mbo span.cm-atom {color: #00a8c6;}\n.cm-s-mbo span.cm-number {color: #00a8c6;}\n\n.cm-s-mbo span.cm-property, .cm-s-mbo span.cm-attribute {color: #9ddfe9;}\n.cm-s-mbo span.cm-keyword {color: #ffb928;}\n.cm-s-mbo span.cm-string {color: #ffcf6c;}\n\n.cm-s-mbo span.cm-variable {color: #ffffec;}\n.cm-s-mbo span.cm-variable-2 {color: #00a8c6;}\n.cm-s-mbo span.cm-def {color: #ffffec;}\n.cm-s-mbo span.cm-bracket {color: #fffffc; font-weight: bold;}\n.cm-s-mbo span.cm-tag {color: #9ddfe9;}\n.cm-s-mbo span.cm-link {color: #f54b07;}\n.cm-s-mbo span.cm-error {background: #636363; color: #ffffec;}\n\n.cm-s-mbo .CodeMirror-activeline-background {background: #494b41 !important;}\n.cm-s-mbo .CodeMirror-matchingbracket {\n  text-decoration: underline;\n  color: #f5e107 !important;\n }\n \n.cm-s-mbo .CodeMirror-matchingtag {background: #4e4e4e;}\n\ndiv.CodeMirror span.CodeMirror-searching {\n  background-color: none;\n  background: none;\n  box-shadow: 0 0 0 1px #ffffec;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/midnight.css",
    "content": "/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */\n\n/*<!--match-->*/\n.cm-s-midnight span.CodeMirror-matchhighlight { background: #494949 }\n.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; }\n\n/*<!--activeline-->*/\n.cm-s-midnight .CodeMirror-activeline-background {background: #253540 !important;}\n\n.cm-s-midnight.CodeMirror {\n    background: #0F192A;\n    color: #D1EDFF;\n}\n\n.cm-s-midnight.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}\n\n.cm-s-midnight div.CodeMirror-selected {background: #314D67 !important;}\n.cm-s-midnight .CodeMirror-gutters {background: #0F192A; border-right: 1px solid;}\n.cm-s-midnight .CodeMirror-linenumber {color: #D0D0D0;}\n.cm-s-midnight .CodeMirror-cursor {\n    border-left: 1px solid #F8F8F0 !important;\n}\n\n.cm-s-midnight span.cm-comment {color: #428BDD;}\n.cm-s-midnight span.cm-atom {color: #AE81FF;}\n.cm-s-midnight span.cm-number {color: #D1EDFF;}\n\n.cm-s-midnight span.cm-property, .cm-s-midnight span.cm-attribute {color: #A6E22E;}\n.cm-s-midnight span.cm-keyword {color: #E83737;}\n.cm-s-midnight span.cm-string {color: #1DC116;}\n\n.cm-s-midnight span.cm-variable {color: #FFAA3E;}\n.cm-s-midnight span.cm-variable-2 {color: #FFAA3E;}\n.cm-s-midnight span.cm-def {color: #4DD;}\n.cm-s-midnight span.cm-bracket {color: #D1EDFF;}\n.cm-s-midnight span.cm-tag {color: #449;}\n.cm-s-midnight span.cm-link {color: #AE81FF;}\n.cm-s-midnight span.cm-error {background: #F92672; color: #F8F8F0;}\n\n.cm-s-midnight .CodeMirror-matchingbracket {\n  text-decoration: underline;\n  color: white !important;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/monokai.css",
    "content": "/* Based on Sublime Text's Monokai theme */\n\n.cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;}\n.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}\n.cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;}\n.cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;}\n.cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}\n\n.cm-s-monokai span.cm-comment {color: #75715e;}\n.cm-s-monokai span.cm-atom {color: #ae81ff;}\n.cm-s-monokai span.cm-number {color: #ae81ff;}\n\n.cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;}\n.cm-s-monokai span.cm-keyword {color: #f92672;}\n.cm-s-monokai span.cm-string {color: #e6db74;}\n\n.cm-s-monokai span.cm-variable {color: #a6e22e;}\n.cm-s-monokai span.cm-variable-2 {color: #9effff;}\n.cm-s-monokai span.cm-def {color: #fd971f;}\n.cm-s-monokai span.cm-bracket {color: #f8f8f2;}\n.cm-s-monokai span.cm-tag {color: #f92672;}\n.cm-s-monokai span.cm-link {color: #ae81ff;}\n.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}\n\n.cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;}\n.cm-s-monokai .CodeMirror-matchingbracket {\n  text-decoration: underline;\n  color: white !important;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/neat.css",
    "content": ".cm-s-neat span.cm-comment { color: #a86; }\n.cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; }\n.cm-s-neat span.cm-string { color: #a22; }\n.cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; }\n.cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; }\n.cm-s-neat span.cm-variable { color: black; }\n.cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; }\n.cm-s-neat span.cm-meta {color: #555;}\n.cm-s-neat span.cm-link { color: #3a3; }\n\n.cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/night.css",
    "content": "/* Loosely based on the Midnight Textmate theme */\n\n.cm-s-night.CodeMirror { background: #0a001f; color: #f8f8f8; }\n.cm-s-night div.CodeMirror-selected { background: #447 !important; }\n.cm-s-night .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }\n.cm-s-night .CodeMirror-linenumber { color: #f8f8f8; }\n.cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-night span.cm-comment { color: #6900a1; }\n.cm-s-night span.cm-atom { color: #845dc4; }\n.cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; }\n.cm-s-night span.cm-keyword { color: #599eff; }\n.cm-s-night span.cm-string { color: #37f14a; }\n.cm-s-night span.cm-meta { color: #7678e2; }\n.cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; }\n.cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; }\n.cm-s-night span.cm-bracket { color: #8da6ce; }\n.cm-s-night span.cm-comment { color: #6900a1; }\n.cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; }\n.cm-s-night span.cm-link { color: #845dc4; }\n.cm-s-night span.cm-error { color: #9d1e15; }\n\n.cm-s-night .CodeMirror-activeline-background {background: #1C005A !important;}\n.cm-s-night .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/paraiso-dark.css",
    "content": "/*\n\n    Name:       Paraíso (Dark)\n    Author:     Jan T. Sott\n\n    Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror)\n    Inspired by the art of Rubens LP (http://www.rubenslp.com.br)\n\n*/\n\n.cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;}\n.cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;}\n.cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;}\n.cm-s-paraiso-dark .CodeMirror-linenumber {color: #776e71;}\n.cm-s-paraiso-dark .CodeMirror-cursor {border-left: 1px solid #8d8687 !important;}\n\n.cm-s-paraiso-dark span.cm-comment {color: #e96ba8;}\n.cm-s-paraiso-dark span.cm-atom {color: #815ba4;}\n.cm-s-paraiso-dark span.cm-number {color: #815ba4;}\n\n.cm-s-paraiso-dark span.cm-property, .cm-s-paraiso-dark span.cm-attribute {color: #48b685;}\n.cm-s-paraiso-dark span.cm-keyword {color: #ef6155;}\n.cm-s-paraiso-dark span.cm-string {color: #fec418;}\n\n.cm-s-paraiso-dark span.cm-variable {color: #48b685;}\n.cm-s-paraiso-dark span.cm-variable-2 {color: #06b6ef;}\n.cm-s-paraiso-dark span.cm-def {color: #f99b15;}\n.cm-s-paraiso-dark span.cm-bracket {color: #b9b6b0;}\n.cm-s-paraiso-dark span.cm-tag {color: #ef6155;}\n.cm-s-paraiso-dark span.cm-link {color: #815ba4;}\n.cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;}\n\n.cm-s-paraiso-dark .CodeMirror-activeline-background {background: #4D344A !important;}\n.cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/paraiso-light.css",
    "content": "/*\n\n    Name:       Paraíso (Light)\n    Author:     Jan T. Sott\n\n    Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror)\n    Inspired by the art of Rubens LP (http://www.rubenslp.com.br)\n\n*/\n\n.cm-s-paraiso-light.CodeMirror {background: #e7e9db; color: #41323f;}\n.cm-s-paraiso-light div.CodeMirror-selected {background: #b9b6b0 !important;}\n.cm-s-paraiso-light .CodeMirror-gutters {background: #e7e9db; border-right: 0px;}\n.cm-s-paraiso-light .CodeMirror-linenumber {color: #8d8687;}\n.cm-s-paraiso-light .CodeMirror-cursor {border-left: 1px solid #776e71 !important;}\n\n.cm-s-paraiso-light span.cm-comment {color: #e96ba8;}\n.cm-s-paraiso-light span.cm-atom {color: #815ba4;}\n.cm-s-paraiso-light span.cm-number {color: #815ba4;}\n\n.cm-s-paraiso-light span.cm-property, .cm-s-paraiso-light span.cm-attribute {color: #48b685;}\n.cm-s-paraiso-light span.cm-keyword {color: #ef6155;}\n.cm-s-paraiso-light span.cm-string {color: #fec418;}\n\n.cm-s-paraiso-light span.cm-variable {color: #48b685;}\n.cm-s-paraiso-light span.cm-variable-2 {color: #06b6ef;}\n.cm-s-paraiso-light span.cm-def {color: #f99b15;}\n.cm-s-paraiso-light span.cm-bracket {color: #41323f;}\n.cm-s-paraiso-light span.cm-tag {color: #ef6155;}\n.cm-s-paraiso-light span.cm-link {color: #815ba4;}\n.cm-s-paraiso-light span.cm-error {background: #ef6155; color: #776e71;}\n\n.cm-s-paraiso-light .CodeMirror-activeline-background {background: #CFD1C4 !important;}\n.cm-s-paraiso-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/rubyblue.css",
    "content": ".cm-s-rubyblue { font-family: Trebuchet, Verdana, sans-serif; }\t/* - customized editor font - */\n\n.cm-s-rubyblue.CodeMirror { background: #112435; color: white; }\n.cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; }\n.cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; }\n.cm-s-rubyblue .CodeMirror-linenumber { color: white; }\n.cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; }\n.cm-s-rubyblue span.cm-atom { color: #F4C20B; }\n.cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; }\n.cm-s-rubyblue span.cm-keyword { color: #F0F; }\n.cm-s-rubyblue span.cm-string { color: #F08047; }\n.cm-s-rubyblue span.cm-meta { color: #F0F; }\n.cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; }\n.cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; }\n.cm-s-rubyblue span.cm-bracket { color: #F0F; }\n.cm-s-rubyblue span.cm-link { color: #F4C20B; }\n.cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; }\n.cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; }\n.cm-s-rubyblue span.cm-error { color: #AF2018; }\n\n.cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/solarized.css",
    "content": "/*\nSolarized theme for code-mirror\nhttp://ethanschoonover.com/solarized\n*/\n\n/*\nSolarized color pallet\nhttp://ethanschoonover.com/solarized/img/solarized-palette.png\n*/\n\n.solarized.base03 { color: #002b36; }\n.solarized.base02 { color: #073642; }\n.solarized.base01 { color: #586e75; }\n.solarized.base00 { color: #657b83; }\n.solarized.base0 { color: #839496; }\n.solarized.base1 { color: #93a1a1; }\n.solarized.base2 { color: #eee8d5; }\n.solarized.base3  { color: #fdf6e3; }\n.solarized.solar-yellow  { color: #b58900; }\n.solarized.solar-orange  { color: #cb4b16; }\n.solarized.solar-red { color: #dc322f; }\n.solarized.solar-magenta { color: #d33682; }\n.solarized.solar-violet  { color: #6c71c4; }\n.solarized.solar-blue { color: #268bd2; }\n.solarized.solar-cyan { color: #2aa198; }\n.solarized.solar-green { color: #859900; }\n\n/* Color scheme for code-mirror */\n\n.cm-s-solarized {\n  line-height: 1.45em;\n  font-family: Menlo,Monaco,\"Andale Mono\",\"lucida console\",\"Courier New\",monospace !important;\n  color-profile: sRGB;\n  rendering-intent: auto;\n}\n.cm-s-solarized.cm-s-dark {\n  color: #839496;\n  background-color:  #002b36;\n  text-shadow: #002b36 0 1px;\n}\n.cm-s-solarized.cm-s-light {\n  background-color: #fdf6e3;\n  color: #657b83;\n  text-shadow: #eee8d5 0 1px;\n}\n\n.cm-s-solarized .CodeMirror-widget {\n  text-shadow: none;\n}\n\n\n.cm-s-solarized .cm-keyword { color: #cb4b16 }\n.cm-s-solarized .cm-atom { color: #d33682; }\n.cm-s-solarized .cm-number { color: #d33682; }\n.cm-s-solarized .cm-def { color: #2aa198; }\n\n.cm-s-solarized .cm-variable { color: #268bd2; }\n.cm-s-solarized .cm-variable-2 { color: #b58900; }\n.cm-s-solarized .cm-variable-3 { color: #6c71c4; }\n\n.cm-s-solarized .cm-property { color: #2aa198; }\n.cm-s-solarized .cm-operator {color: #6c71c4;}\n\n.cm-s-solarized .cm-comment { color: #586e75; font-style:italic; }\n\n.cm-s-solarized .cm-string { color: #859900; }\n.cm-s-solarized .cm-string-2 { color: #b58900; }\n\n.cm-s-solarized .cm-meta { color: #859900; }\n.cm-s-solarized .cm-qualifier { color: #b58900; }\n.cm-s-solarized .cm-builtin { color: #d33682; }\n.cm-s-solarized .cm-bracket { color: #cb4b16; }\n.cm-s-solarized .CodeMirror-matchingbracket { color: #859900; }\n.cm-s-solarized .CodeMirror-nonmatchingbracket { color: #dc322f; }\n.cm-s-solarized .cm-tag { color: #93a1a1 }\n.cm-s-solarized .cm-attribute {  color: #2aa198; }\n.cm-s-solarized .cm-header { color: #586e75; }\n.cm-s-solarized .cm-quote { color: #93a1a1; }\n.cm-s-solarized .cm-hr {\n  color: transparent;\n  border-top: 1px solid #586e75;\n  display: block;\n}\n.cm-s-solarized .cm-link { color: #93a1a1; cursor: pointer; }\n.cm-s-solarized .cm-special { color: #6c71c4; }\n.cm-s-solarized .cm-em {\n  color: #999;\n  text-decoration: underline;\n  text-decoration-style: dotted;\n}\n.cm-s-solarized .cm-strong { color: #eee; }\n.cm-s-solarized .cm-tab:before {\n  content: \"➤\";   /*visualize tab character*/\n  color: #586e75;\n}\n.cm-s-solarized .cm-error,\n.cm-s-solarized .cm-invalidchar {\n  color: #586e75;\n  border-bottom: 1px dotted #dc322f;\n}\n\n.cm-s-solarized.cm-s-dark .CodeMirror-selected {\n  background: #073642;\n}\n\n.cm-s-solarized.cm-s-light .CodeMirror-selected {\n  background: #eee8d5;\n}\n\n/* Editor styling */\n\n\n\n/* Little shadow on the view-port of the buffer view */\n.cm-s-solarized.CodeMirror {\n  -moz-box-shadow: inset 7px 0 12px -6px #000;\n  -webkit-box-shadow: inset 7px 0 12px -6px #000;\n  box-shadow: inset 7px 0 12px -6px #000;\n}\n\n/* Gutter border and some shadow from it  */\n.cm-s-solarized .CodeMirror-gutters {\n  padding: 0 15px 0 10px;\n  box-shadow: 0 10px 20px black;\n  border-right: 1px solid;\n}\n\n/* Gutter colors and line number styling based of color scheme (dark / light) */\n\n/* Dark */\n.cm-s-solarized.cm-s-dark .CodeMirror-gutters {\n  background-color: #073642;\n  border-color: #00232c;\n}\n\n.cm-s-solarized.cm-s-dark .CodeMirror-linenumber {\n  text-shadow: #021014 0 -1px;\n}\n\n/* Light */\n.cm-s-solarized.cm-s-light .CodeMirror-gutters {\n  background-color: #eee8d5;\n  border-color: #eee8d5;\n}\n\n/* Common */\n.cm-s-solarized .CodeMirror-linenumber {\n  color: #586e75;\n}\n\n.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text {\n  color: #586e75;\n}\n\n.cm-s-solarized .CodeMirror-lines {\n  padding-left: 5px;\n}\n\n.cm-s-solarized .CodeMirror-lines .CodeMirror-cursor {\n  border-left: 1px solid #819090;\n}\n\n/*\nActive line. Negative margin compensates left padding of the text in the\nview-port\n*/\n.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background {\n  background: rgba(255, 255, 255, 0.10);\n}\n.cm-s-solarized.cm-s-light .CodeMirror-activeline-background {\n  background: rgba(0, 0, 0, 0.10);\n}\n\n/*\nView-port and gutter both get little noise background to give it a real feel.\n*/\n.cm-s-solarized.CodeMirror,\n.cm-s-solarized .CodeMirror-gutters {\n  background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC\");\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/the-matrix.css",
    "content": ".cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; }\n.cm-s-the-matrix span.CodeMirror-selected { background: #a8f !important; }\n.cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; }\n.cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; }\n.cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; }\n\n.cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;}\n.cm-s-the-matrix span.cm-atom {color: #3FF;}\n.cm-s-the-matrix span.cm-number {color: #FFB94F;}\n.cm-s-the-matrix span.cm-def {color: #99C;}\n.cm-s-the-matrix span.cm-variable {color: #F6C;}\n.cm-s-the-matrix span.cm-variable-2 {color: #C6F;}\n.cm-s-the-matrix span.cm-variable-3 {color: #96F;}\n.cm-s-the-matrix span.cm-property {color: #62FFA0;}\n.cm-s-the-matrix span.cm-operator {color: #999}\n.cm-s-the-matrix span.cm-comment {color: #CCCCCC;}\n.cm-s-the-matrix span.cm-string {color: #39C;}\n.cm-s-the-matrix span.cm-meta {color: #C9F;}\n.cm-s-the-matrix span.cm-qualifier {color: #FFF700;}\n.cm-s-the-matrix span.cm-builtin {color: #30a;}\n.cm-s-the-matrix span.cm-bracket {color: #cc7;}\n.cm-s-the-matrix span.cm-tag {color: #FFBD40;}\n.cm-s-the-matrix span.cm-attribute {color: #FFF700;}\n.cm-s-the-matrix span.cm-error {color: #FF0000;}\n\n.cm-s-the-matrix .CodeMirror-activeline-background {background: #040;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/tomorrow-night-eighties.css",
    "content": "/*\n\n    Name:       Tomorrow Night - Eighties\n    Author:     Chris Kempson\n\n    CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n    Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-tomorrow-night-eighties.CodeMirror {background: #000000; color: #CCCCCC;}\n.cm-s-tomorrow-night-eighties div.CodeMirror-selected {background: #2D2D2D !important;}\n.cm-s-tomorrow-night-eighties .CodeMirror-gutters {background: #000000; border-right: 0px;}\n.cm-s-tomorrow-night-eighties .CodeMirror-linenumber {color: #515151;}\n.cm-s-tomorrow-night-eighties .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;}\n\n.cm-s-tomorrow-night-eighties span.cm-comment {color: #d27b53;}\n.cm-s-tomorrow-night-eighties span.cm-atom {color: #a16a94;}\n.cm-s-tomorrow-night-eighties span.cm-number {color: #a16a94;}\n\n.cm-s-tomorrow-night-eighties span.cm-property, .cm-s-tomorrow-night-eighties span.cm-attribute {color: #99cc99;}\n.cm-s-tomorrow-night-eighties span.cm-keyword {color: #f2777a;}\n.cm-s-tomorrow-night-eighties span.cm-string {color: #ffcc66;}\n\n.cm-s-tomorrow-night-eighties span.cm-variable {color: #99cc99;}\n.cm-s-tomorrow-night-eighties span.cm-variable-2 {color: #6699cc;}\n.cm-s-tomorrow-night-eighties span.cm-def {color: #f99157;}\n.cm-s-tomorrow-night-eighties span.cm-bracket {color: #CCCCCC;}\n.cm-s-tomorrow-night-eighties span.cm-tag {color: #f2777a;}\n.cm-s-tomorrow-night-eighties span.cm-link {color: #a16a94;}\n.cm-s-tomorrow-night-eighties span.cm-error {background: #f2777a; color: #6A6A6A;}\n\n.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background {background: #343600 !important;}\n.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/twilight.css",
    "content": ".cm-s-twilight.CodeMirror { background: #141414; color: #f7f7f7; } /**/\n.cm-s-twilight .CodeMirror-selected { background: #323232 !important; } /**/\n\n.cm-s-twilight .CodeMirror-gutters { background: #222; border-right: 1px solid #aaa; }\n.cm-s-twilight .CodeMirror-linenumber { color: #aaa; }\n.cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-twilight .cm-keyword {  color: #f9ee98; } /**/\n.cm-s-twilight .cm-atom { color: #FC0; }\n.cm-s-twilight .cm-number { color:  #ca7841; } /**/\n.cm-s-twilight .cm-def { color: #8DA6CE; }\n.cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/\n.cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/\n.cm-s-twilight .cm-operator { color: #cda869; } /**/\n.cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/\n.cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/\n.cm-s-twilight .cm-string-2 { color:#bd6b18 } /*?*/\n.cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/\n.cm-s-twilight .cm-builtin { color: #cda869; } /*?*/\n.cm-s-twilight .cm-tag { color: #997643; } /**/\n.cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/\n.cm-s-twilight .cm-header { color: #FF6400; }\n.cm-s-twilight .cm-hr { color: #AEAEAE; }\n.cm-s-twilight .cm-link {   color:#ad9361; font-style:italic; text-decoration:none; } /**/\n.cm-s-twilight .cm-error { border-bottom: 1px solid red; }\n\n.cm-s-twilight .CodeMirror-activeline-background {background: #27282E !important;}\n.cm-s-twilight .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/vibrant-ink.css",
    "content": "/* Taken from the popular Visual Studio Vibrant Ink Schema */\n\n.cm-s-vibrant-ink.CodeMirror { background: black; color: white; }\n.cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; }\n\n.cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; }\n.cm-s-vibrant-ink .CodeMirror-linenumber { color: #d0d0d0; }\n.cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-vibrant-ink .cm-keyword {  color: #CC7832; }\n.cm-s-vibrant-ink .cm-atom { color: #FC0; }\n.cm-s-vibrant-ink .cm-number { color:  #FFEE98; }\n.cm-s-vibrant-ink .cm-def { color: #8DA6CE; }\n.cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D }\n.cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D }\n.cm-s-vibrant-ink .cm-operator { color: #888; }\n.cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; }\n.cm-s-vibrant-ink .cm-string { color:  #A5C25C }\n.cm-s-vibrant-ink .cm-string-2 { color: red }\n.cm-s-vibrant-ink .cm-meta { color: #D8FA3C; }\n.cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; }\n.cm-s-vibrant-ink .cm-tag { color: #8DA6CE; }\n.cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; }\n.cm-s-vibrant-ink .cm-header { color: #FF6400; }\n.cm-s-vibrant-ink .cm-hr { color: #AEAEAE; }\n.cm-s-vibrant-ink .cm-link { color: blue; }\n.cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }\n\n.cm-s-vibrant-ink .CodeMirror-activeline-background {background: #27282E !important;}\n.cm-s-vibrant-ink .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}\n"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/xq-dark.css",
    "content": "/*\nCopyright (C) 2011 by MarkLogic Corporation\nAuthor: Mike Brevoort <mike@brevoort.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n.cm-s-xq-dark.CodeMirror { background: #0a001f; color: #f8f8f8; }\n.cm-s-xq-dark .CodeMirror-selected { background: #27007A !important; }\n.cm-s-xq-dark .CodeMirror-gutters { background: #0a001f; border-right: 1px solid #aaa; }\n.cm-s-xq-dark .CodeMirror-linenumber { color: #f8f8f8; }\n.cm-s-xq-dark .CodeMirror-cursor { border-left: 1px solid white !important; }\n\n.cm-s-xq-dark span.cm-keyword {color: #FFBD40;}\n.cm-s-xq-dark span.cm-atom {color: #6C8CD5;}\n.cm-s-xq-dark span.cm-number {color: #164;}\n.cm-s-xq-dark span.cm-def {color: #FFF; text-decoration:underline;}\n.cm-s-xq-dark span.cm-variable {color: #FFF;}\n.cm-s-xq-dark span.cm-variable-2 {color: #EEE;}\n.cm-s-xq-dark span.cm-variable-3 {color: #DDD;}\n.cm-s-xq-dark span.cm-property {}\n.cm-s-xq-dark span.cm-operator {}\n.cm-s-xq-dark span.cm-comment {color: gray;}\n.cm-s-xq-dark span.cm-string {color: #9FEE00;}\n.cm-s-xq-dark span.cm-meta {color: yellow;}\n.cm-s-xq-dark span.cm-qualifier {color: #FFF700;}\n.cm-s-xq-dark span.cm-builtin {color: #30a;}\n.cm-s-xq-dark span.cm-bracket {color: #cc7;}\n.cm-s-xq-dark span.cm-tag {color: #FFBD40;}\n.cm-s-xq-dark span.cm-attribute {color: #FFF700;}\n.cm-s-xq-dark span.cm-error {color: #f00;}\n\n.cm-s-xq-dark .CodeMirror-activeline-background {background: #27282E !important;}\n.cm-s-xq-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}"
  },
  {
    "path": "debuggers/browser/static/lib/codemirror-3.20/theme/xq-light.css",
    "content": "/*\nCopyright (C) 2011 by MarkLogic Corporation\nAuthor: Mike Brevoort <mike@brevoort.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n.cm-s-xq-light span.cm-keyword {line-height: 1em; font-weight: bold; color: #5A5CAD; }\n.cm-s-xq-light span.cm-atom {color: #6C8CD5;}\n.cm-s-xq-light span.cm-number {color: #164;}\n.cm-s-xq-light span.cm-def {text-decoration:underline;}\n.cm-s-xq-light span.cm-variable {color: black; }\n.cm-s-xq-light span.cm-variable-2 {color:black;}\n.cm-s-xq-light span.cm-variable-3 {color: black; }\n.cm-s-xq-light span.cm-property {}\n.cm-s-xq-light span.cm-operator {}\n.cm-s-xq-light span.cm-comment {color: #0080FF; font-style: italic;}\n.cm-s-xq-light span.cm-string {color: red;}\n.cm-s-xq-light span.cm-meta {color: yellow;}\n.cm-s-xq-light span.cm-qualifier {color: grey}\n.cm-s-xq-light span.cm-builtin {color: #7EA656;}\n.cm-s-xq-light span.cm-bracket {color: #cc7;}\n.cm-s-xq-light span.cm-tag {color: #3F7F7F;}\n.cm-s-xq-light span.cm-attribute {color: #7F007F;}\n.cm-s-xq-light span.cm-error {color: #f00;}\n\n.cm-s-xq-light .CodeMirror-activeline-background {background: #e8f2ff !important;}\n.cm-s-xq-light .CodeMirror-matchingbracket {outline:1px solid grey;color:black !important;background:yellow;}"
  },
  {
    "path": "debuggers/browser/static/lib/esprima.js",
    "content": "/*\n  Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>\n  Copyright (C) 2013 Mathias Bynens <mathias@qiwi.be>\n  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>\n  Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>\n  Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>\n  Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n  Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>\n  Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n  Redistribution and use in source and binary forms, with or without\n  modification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright\n      notice, this list of conditions and the following disclaimer in the\n      documentation and/or other materials provided with the distribution.\n\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n/*jslint bitwise:true plusplus:true */\n/*global esprima:true, define:true, exports:true, window: true,\ncreateLocationMarker: true,\nthrowError: true, generateStatement: true, peek: true,\nparseAssignmentExpression: true, parseBlock: true, parseExpression: true,\nparseFunctionDeclaration: true, parseFunctionExpression: true,\nparseFunctionSourceElements: true, parseVariableIdentifier: true,\nparseLeftHandSideExpression: true,\nparseUnaryExpression: true,\nparseStatement: true, parseSourceElement: true */\n\n(function (root, factory) {\n    'use strict';\n\n    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n    // Rhino, and plain browser loading.\n    if (typeof define === 'function' && define.amd) {\n        define(['exports'], factory);\n    } else if (typeof exports !== 'undefined') {\n        factory(exports);\n    } else {\n        factory((root.esprima = {}));\n    }\n}(this, function (exports) {\n    'use strict';\n\n    var Token,\n        TokenName,\n        FnExprTokens,\n        Syntax,\n        PropertyKind,\n        Messages,\n        Regex,\n        SyntaxTreeDelegate,\n        source,\n        strict,\n        index,\n        lineNumber,\n        lineStart,\n        length,\n        delegate,\n        lookahead,\n        state,\n        extra;\n\n    Token = {\n        BooleanLiteral: 1,\n        EOF: 2,\n        Identifier: 3,\n        Keyword: 4,\n        NullLiteral: 5,\n        NumericLiteral: 6,\n        Punctuator: 7,\n        StringLiteral: 8,\n        RegularExpression: 9\n    };\n\n    TokenName = {};\n    TokenName[Token.BooleanLiteral] = 'Boolean';\n    TokenName[Token.EOF] = '<end>';\n    TokenName[Token.Identifier] = 'Identifier';\n    TokenName[Token.Keyword] = 'Keyword';\n    TokenName[Token.NullLiteral] = 'Null';\n    TokenName[Token.NumericLiteral] = 'Numeric';\n    TokenName[Token.Punctuator] = 'Punctuator';\n    TokenName[Token.StringLiteral] = 'String';\n    TokenName[Token.RegularExpression] = 'RegularExpression';\n\n    // A function following one of those tokens is an expression.\n    FnExprTokens = ['(', '{', '[', 'in', 'typeof', 'instanceof', 'new',\n                    'return', 'case', 'delete', 'throw', 'void',\n                    // assignment operators\n                    '=', '+=', '-=', '*=', '/=', '%=', '<<=', '>>=', '>>>=',\n                    '&=', '|=', '^=', ',',\n                    // binary/unary operators\n                    '+', '-', '*', '/', '%', '++', '--', '<<', '>>', '>>>', '&',\n                    '|', '^', '!', '~', '&&', '||', '?', ':', '===', '==', '>=',\n                    '<=', '<', '>', '!=', '!=='];\n\n    Syntax = {\n        AssignmentExpression: 'AssignmentExpression',\n        ArrayExpression: 'ArrayExpression',\n        BlockStatement: 'BlockStatement',\n        BinaryExpression: 'BinaryExpression',\n        BreakStatement: 'BreakStatement',\n        CallExpression: 'CallExpression',\n        CatchClause: 'CatchClause',\n        ConditionalExpression: 'ConditionalExpression',\n        ContinueStatement: 'ContinueStatement',\n        DoWhileStatement: 'DoWhileStatement',\n        DebuggerStatement: 'DebuggerStatement',\n        EmptyStatement: 'EmptyStatement',\n        ExpressionStatement: 'ExpressionStatement',\n        ForStatement: 'ForStatement',\n        ForInStatement: 'ForInStatement',\n        FunctionDeclaration: 'FunctionDeclaration',\n        FunctionExpression: 'FunctionExpression',\n        Identifier: 'Identifier',\n        IfStatement: 'IfStatement',\n        Literal: 'Literal',\n        LabeledStatement: 'LabeledStatement',\n        LogicalExpression: 'LogicalExpression',\n        MemberExpression: 'MemberExpression',\n        NewExpression: 'NewExpression',\n        ObjectExpression: 'ObjectExpression',\n        Program: 'Program',\n        Property: 'Property',\n        ReturnStatement: 'ReturnStatement',\n        SequenceExpression: 'SequenceExpression',\n        SwitchStatement: 'SwitchStatement',\n        SwitchCase: 'SwitchCase',\n        ThisExpression: 'ThisExpression',\n        ThrowStatement: 'ThrowStatement',\n        TryStatement: 'TryStatement',\n        UnaryExpression: 'UnaryExpression',\n        UpdateExpression: 'UpdateExpression',\n        VariableDeclaration: 'VariableDeclaration',\n        VariableDeclarator: 'VariableDeclarator',\n        WhileStatement: 'WhileStatement',\n        WithStatement: 'WithStatement'\n    };\n\n    PropertyKind = {\n        Data: 1,\n        Get: 2,\n        Set: 4\n    };\n\n    // Error messages should be identical to V8.\n    Messages = {\n        UnexpectedToken:  'Unexpected token %0',\n        UnexpectedNumber:  'Unexpected number',\n        UnexpectedString:  'Unexpected string',\n        UnexpectedIdentifier:  'Unexpected identifier',\n        UnexpectedReserved:  'Unexpected reserved word',\n        UnexpectedEOS:  'Unexpected end of input',\n        NewlineAfterThrow:  'Illegal newline after throw',\n        InvalidRegExp: 'Invalid regular expression',\n        UnterminatedRegExp:  'Invalid regular expression: missing /',\n        InvalidLHSInAssignment:  'Invalid left-hand side in assignment',\n        InvalidLHSInForIn:  'Invalid left-hand side in for-in',\n        MultipleDefaultsInSwitch: 'More than one default clause in switch statement',\n        NoCatchOrFinally:  'Missing catch or finally after try',\n        UnknownLabel: 'Undefined label \\'%0\\'',\n        Redeclaration: '%0 \\'%1\\' has already been declared',\n        IllegalContinue: 'Illegal continue statement',\n        IllegalBreak: 'Illegal break statement',\n        IllegalReturn: 'Illegal return statement',\n        StrictModeWith:  'Strict mode code may not include a with statement',\n        StrictCatchVariable:  'Catch variable may not be eval or arguments in strict mode',\n        StrictVarName:  'Variable name may not be eval or arguments in strict mode',\n        StrictParamName:  'Parameter name eval or arguments is not allowed in strict mode',\n        StrictParamDupe: 'Strict mode function may not have duplicate parameter names',\n        StrictFunctionName:  'Function name may not be eval or arguments in strict mode',\n        StrictOctalLiteral:  'Octal literals are not allowed in strict mode.',\n        StrictDelete:  'Delete of an unqualified identifier in strict mode.',\n        StrictDuplicateProperty:  'Duplicate data property in object literal not allowed in strict mode',\n        AccessorDataProperty:  'Object literal may not have data and accessor property with the same name',\n        AccessorGetSet:  'Object literal may not have multiple get/set accessors with the same name',\n        StrictLHSAssignment:  'Assignment to eval or arguments is not allowed in strict mode',\n        StrictLHSPostfix:  'Postfix increment/decrement may not have eval or arguments operand in strict mode',\n        StrictLHSPrefix:  'Prefix increment/decrement may not have eval or arguments operand in strict mode',\n        StrictReservedWord:  'Use of future reserved word in strict mode'\n    };\n\n    // See also tools/generate-unicode-regex.py.\n    Regex = {\n        NonAsciiIdentifierStart: new RegExp('[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F0\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]'),\n        NonAsciiIdentifierPart: new RegExp('[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0\\u08A2-\\u08AC\\u08E4-\\u08FE\\u0900-\\u0963\\u0966-\\u096F\\u0971-\\u0977\\u0979-\\u097F\\u0981-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C01-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C82\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D02\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F0\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1D00-\\u1DE6\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA697\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A\\uAA7B\\uAA80-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE26\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]')\n    };\n\n    // Ensure the condition is true, otherwise throw an error.\n    // This is only to have a better contract semantic, i.e. another safety net\n    // to catch a logic error. The condition shall be fulfilled in normal case.\n    // Do NOT use this to enforce a certain condition on any user input.\n\n    function assert(condition, message) {\n        if (!condition) {\n            throw new Error('ASSERT: ' + message);\n        }\n    }\n\n    function isDecimalDigit(ch) {\n        return (ch >= 48 && ch <= 57);   // 0..9\n    }\n\n    function isHexDigit(ch) {\n        return '0123456789abcdefABCDEF'.indexOf(ch) >= 0;\n    }\n\n    function isOctalDigit(ch) {\n        return '01234567'.indexOf(ch) >= 0;\n    }\n\n\n    // 7.2 White Space\n\n    function isWhiteSpace(ch) {\n        return (ch === 0x20) || (ch === 0x09) || (ch === 0x0B) || (ch === 0x0C) || (ch === 0xA0) ||\n            (ch >= 0x1680 && [0x1680, 0x180E, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, 0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x202F, 0x205F, 0x3000, 0xFEFF].indexOf(ch) >= 0);\n    }\n\n    // 7.3 Line Terminators\n\n    function isLineTerminator(ch) {\n        return (ch === 0x0A) || (ch === 0x0D) || (ch === 0x2028) || (ch === 0x2029);\n    }\n\n    // 7.6 Identifier Names and Identifiers\n\n    function isIdentifierStart(ch) {\n        return (ch === 0x24) || (ch === 0x5F) ||  // $ (dollar) and _ (underscore)\n            (ch >= 0x41 && ch <= 0x5A) ||         // A..Z\n            (ch >= 0x61 && ch <= 0x7A) ||         // a..z\n            (ch === 0x5C) ||                      // \\ (backslash)\n            ((ch >= 0x80) && Regex.NonAsciiIdentifierStart.test(String.fromCharCode(ch)));\n    }\n\n    function isIdentifierPart(ch) {\n        return (ch === 0x24) || (ch === 0x5F) ||  // $ (dollar) and _ (underscore)\n            (ch >= 0x41 && ch <= 0x5A) ||         // A..Z\n            (ch >= 0x61 && ch <= 0x7A) ||         // a..z\n            (ch >= 0x30 && ch <= 0x39) ||         // 0..9\n            (ch === 0x5C) ||                      // \\ (backslash)\n            ((ch >= 0x80) && Regex.NonAsciiIdentifierPart.test(String.fromCharCode(ch)));\n    }\n\n    // 7.6.1.2 Future Reserved Words\n\n    function isFutureReservedWord(id) {\n        switch (id) {\n        case 'class':\n        case 'enum':\n        case 'export':\n        case 'extends':\n        case 'import':\n        case 'super':\n            return true;\n        default:\n            return false;\n        }\n    }\n\n    function isStrictModeReservedWord(id) {\n        switch (id) {\n        case 'implements':\n        case 'interface':\n        case 'package':\n        case 'private':\n        case 'protected':\n        case 'public':\n        case 'static':\n        case 'yield':\n        case 'let':\n            return true;\n        default:\n            return false;\n        }\n    }\n\n    function isRestrictedWord(id) {\n        return id === 'eval' || id === 'arguments';\n    }\n\n    // 7.6.1.1 Keywords\n\n    function isKeyword(id) {\n        if (strict && isStrictModeReservedWord(id)) {\n            return true;\n        }\n\n        // 'const' is specialized as Keyword in V8.\n        // 'yield' and 'let' are for compatiblity with SpiderMonkey and ES.next.\n        // Some others are from future reserved words.\n\n        switch (id.length) {\n        case 2:\n            return (id === 'if') || (id === 'in') || (id === 'do');\n        case 3:\n            return (id === 'var') || (id === 'for') || (id === 'new') ||\n                (id === 'try') || (id === 'let');\n        case 4:\n            return (id === 'this') || (id === 'else') || (id === 'case') ||\n                (id === 'void') || (id === 'with') || (id === 'enum');\n        case 5:\n            return (id === 'while') || (id === 'break') || (id === 'catch') ||\n                (id === 'throw') || (id === 'const') || (id === 'yield') ||\n                (id === 'class') || (id === 'super');\n        case 6:\n            return (id === 'return') || (id === 'typeof') || (id === 'delete') ||\n                (id === 'switch') || (id === 'export') || (id === 'import');\n        case 7:\n            return (id === 'default') || (id === 'finally') || (id === 'extends');\n        case 8:\n            return (id === 'function') || (id === 'continue') || (id === 'debugger');\n        case 10:\n            return (id === 'instanceof');\n        default:\n            return false;\n        }\n    }\n\n    // 7.4 Comments\n\n    function addComment(type, value, start, end, loc) {\n        var comment, attacher;\n\n        assert(typeof start === 'number', 'Comment must have valid position');\n\n        // Because the way the actual token is scanned, often the comments\n        // (if any) are skipped twice during the lexical analysis.\n        // Thus, we need to skip adding a comment if the comment array already\n        // handled it.\n        if (state.lastCommentStart >= start) {\n            return;\n        }\n        state.lastCommentStart = start;\n\n        comment = {\n            type: type,\n            value: value\n        };\n        if (extra.range) {\n            comment.range = [start, end];\n        }\n        if (extra.loc) {\n            comment.loc = loc;\n        }\n        extra.comments.push(comment);\n\n        if (extra.attachComment) {\n            attacher = {\n                comment: comment,\n                leading: null,\n                trailing: null,\n                range: [start, end]\n            };\n            extra.pendingComments.push(attacher);\n        }\n    }\n\n    function skipSingleLineComment() {\n        var start, loc, ch, comment;\n\n        start = index - 2;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart - 2\n            }\n        };\n\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            ++index;\n            if (isLineTerminator(ch)) {\n                if (extra.comments) {\n                    comment = source.slice(start + 2, index - 1);\n                    loc.end = {\n                        line: lineNumber,\n                        column: index - lineStart - 1\n                    };\n                    addComment('Line', comment, start, index - 1, loc);\n                }\n                if (ch === 13 && source.charCodeAt(index) === 10) {\n                    ++index;\n                }\n                ++lineNumber;\n                lineStart = index;\n                return;\n            }\n        }\n\n        if (extra.comments) {\n            comment = source.slice(start + 2, index);\n            loc.end = {\n                line: lineNumber,\n                column: index - lineStart\n            };\n            addComment('Line', comment, start, index, loc);\n        }\n    }\n\n    function skipMultiLineComment() {\n        var start, loc, ch, comment;\n\n        if (extra.comments) {\n            start = index - 2;\n            loc = {\n                start: {\n                    line: lineNumber,\n                    column: index - lineStart - 2\n                }\n            };\n        }\n\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            if (isLineTerminator(ch)) {\n                if (ch === 0x0D && source.charCodeAt(index + 1) === 0x0A) {\n                    ++index;\n                }\n                ++lineNumber;\n                ++index;\n                lineStart = index;\n                if (index >= length) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n            } else if (ch === 0x2A) {\n                // Block comment ends with '*/'.\n                if (source.charCodeAt(index + 1) === 0x2F) {\n                    ++index;\n                    ++index;\n                    if (extra.comments) {\n                        comment = source.slice(start + 2, index - 2);\n                        loc.end = {\n                            line: lineNumber,\n                            column: index - lineStart\n                        };\n                        addComment('Block', comment, start, index, loc);\n                    }\n                    return;\n                }\n                ++index;\n            } else {\n                ++index;\n            }\n        }\n\n        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n    }\n\n    function skipComment() {\n        var ch, start;\n\n        start = (index === 0);\n        while (index < length) {\n            ch = source.charCodeAt(index);\n\n            if (isWhiteSpace(ch)) {\n                ++index;\n            } else if (isLineTerminator(ch)) {\n                ++index;\n                if (ch === 0x0D && source.charCodeAt(index) === 0x0A) {\n                    ++index;\n                }\n                ++lineNumber;\n                lineStart = index;\n                start = true;\n            } else if (ch === 0x2F) { // U+002F is '/'\n                ch = source.charCodeAt(index + 1);\n                if (ch === 0x2F) {\n                    ++index;\n                    ++index;\n                    skipSingleLineComment();\n                    start = true;\n                } else if (ch === 0x2A) {  // U+002A is '*'\n                    ++index;\n                    ++index;\n                    skipMultiLineComment();\n                } else {\n                    break;\n                }\n            } else if (start && ch === 0x2D) { // U+002D is '-'\n                // U+003E is '>'\n                if ((source.charCodeAt(index + 1) === 0x2D) && (source.charCodeAt(index + 2) === 0x3E)) {\n                    // '-->' is a single-line comment\n                    index += 3;\n                    skipSingleLineComment();\n                } else {\n                    break;\n                }\n            } else if (ch === 0x3C) { // U+003C is '<'\n                if (source.slice(index + 1, index + 4) === '!--') {\n                    ++index; // `<`\n                    ++index; // `!`\n                    ++index; // `-`\n                    ++index; // `-`\n                    skipSingleLineComment();\n                } else {\n                    break;\n                }\n            } else {\n                break;\n            }\n        }\n    }\n\n    function scanHexEscape(prefix) {\n        var i, len, ch, code = 0;\n\n        len = (prefix === 'u') ? 4 : 2;\n        for (i = 0; i < len; ++i) {\n            if (index < length && isHexDigit(source[index])) {\n                ch = source[index++];\n                code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n            } else {\n                return '';\n            }\n        }\n        return String.fromCharCode(code);\n    }\n\n    function getEscapedIdentifier() {\n        var ch, id;\n\n        ch = source.charCodeAt(index++);\n        id = String.fromCharCode(ch);\n\n        // '\\u' (U+005C, U+0075) denotes an escaped character.\n        if (ch === 0x5C) {\n            if (source.charCodeAt(index) !== 0x75) {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n            ++index;\n            ch = scanHexEscape('u');\n            if (!ch || ch === '\\\\' || !isIdentifierStart(ch.charCodeAt(0))) {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n            id = ch;\n        }\n\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            if (!isIdentifierPart(ch)) {\n                break;\n            }\n            ++index;\n            id += String.fromCharCode(ch);\n\n            // '\\u' (U+005C, U+0075) denotes an escaped character.\n            if (ch === 0x5C) {\n                id = id.substr(0, id.length - 1);\n                if (source.charCodeAt(index) !== 0x75) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n                ++index;\n                ch = scanHexEscape('u');\n                if (!ch || ch === '\\\\' || !isIdentifierPart(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n                id += ch;\n            }\n        }\n\n        return id;\n    }\n\n    function getIdentifier() {\n        var start, ch;\n\n        start = index++;\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            if (ch === 0x5C) {\n                // Blackslash (U+005C) marks Unicode escape sequence.\n                index = start;\n                return getEscapedIdentifier();\n            }\n            if (isIdentifierPart(ch)) {\n                ++index;\n            } else {\n                break;\n            }\n        }\n\n        return source.slice(start, index);\n    }\n\n    function scanIdentifier() {\n        var start, id, type;\n\n        start = index;\n\n        // Backslash (U+005C) starts an escaped character.\n        id = (source.charCodeAt(index) === 0x5C) ? getEscapedIdentifier() : getIdentifier();\n\n        // There is no keyword or literal with only one character.\n        // Thus, it must be an identifier.\n        if (id.length === 1) {\n            type = Token.Identifier;\n        } else if (isKeyword(id)) {\n            type = Token.Keyword;\n        } else if (id === 'null') {\n            type = Token.NullLiteral;\n        } else if (id === 'true' || id === 'false') {\n            type = Token.BooleanLiteral;\n        } else {\n            type = Token.Identifier;\n        }\n\n        return {\n            type: type,\n            value: id,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n\n    // 7.7 Punctuators\n\n    function scanPunctuator() {\n        var start = index,\n            code = source.charCodeAt(index),\n            code2,\n            ch1 = source[index],\n            ch2,\n            ch3,\n            ch4;\n\n        switch (code) {\n\n        // Check for most common single-character punctuators.\n        case 0x2E:  // . dot\n        case 0x28:  // ( open bracket\n        case 0x29:  // ) close bracket\n        case 0x3B:  // ; semicolon\n        case 0x2C:  // , comma\n        case 0x7B:  // { open curly brace\n        case 0x7D:  // } close curly brace\n        case 0x5B:  // [\n        case 0x5D:  // ]\n        case 0x3A:  // :\n        case 0x3F:  // ?\n        case 0x7E:  // ~\n            ++index;\n            if (extra.tokenize) {\n                if (code === 0x28) {\n                    extra.openParenToken = extra.tokens.length;\n                } else if (code === 0x7B) {\n                    extra.openCurlyToken = extra.tokens.length;\n                }\n            }\n            return {\n                type: Token.Punctuator,\n                value: String.fromCharCode(code),\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n\n        default:\n            code2 = source.charCodeAt(index + 1);\n\n            // '=' (U+003D) marks an assignment or comparison operator.\n            if (code2 === 0x3D) {\n                switch (code) {\n                case 0x25:  // %\n                case 0x26:  // &\n                case 0x2A:  // *:\n                case 0x2B:  // +\n                case 0x2D:  // -\n                case 0x2F:  // /\n                case 0x3C:  // <\n                case 0x3E:  // >\n                case 0x5E:  // ^\n                case 0x7C:  // |\n                    index += 2;\n                    return {\n                        type: Token.Punctuator,\n                        value: String.fromCharCode(code) + String.fromCharCode(code2),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n\n                case 0x21: // !\n                case 0x3D: // =\n                    index += 2;\n\n                    // !== and ===\n                    if (source.charCodeAt(index) === 0x3D) {\n                        ++index;\n                    }\n                    return {\n                        type: Token.Punctuator,\n                        value: source.slice(start, index),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n                default:\n                    break;\n                }\n            }\n            break;\n        }\n\n        // Peek more characters.\n\n        ch2 = source[index + 1];\n        ch3 = source[index + 2];\n        ch4 = source[index + 3];\n\n        // 4-character punctuator: >>>=\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n            if (ch4 === '=') {\n                index += 4;\n                return {\n                    type: Token.Punctuator,\n                    value: '>>>=',\n                    lineNumber: lineNumber,\n                    lineStart: lineStart,\n                    range: [start, index]\n                };\n            }\n        }\n\n        // 3-character punctuators: === !== >>> <<= >>=\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '>>>',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '<' && ch2 === '<' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '<<=',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '>>=',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        // Other 2-character punctuators: ++ -- << >> && ||\n\n        if (ch1 === ch2 && ('+-<>&|'.indexOf(ch1) >= 0)) {\n            index += 2;\n            return {\n                type: Token.Punctuator,\n                value: ch1 + ch2,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if ('<>=!+-*%&|^/'.indexOf(ch1) >= 0) {\n            ++index;\n            return {\n                type: Token.Punctuator,\n                value: ch1,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n    }\n\n    // 7.8.3 Numeric Literals\n\n    function scanHexLiteral(start) {\n        var number = '';\n\n        while (index < length) {\n            if (!isHexDigit(source[index])) {\n                break;\n            }\n            number += source[index++];\n        }\n\n        if (number.length === 0) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseInt('0x' + number, 16),\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanOctalLiteral(start) {\n        var number = '0' + source[index++];\n        while (index < length) {\n            if (!isOctalDigit(source[index])) {\n                break;\n            }\n            number += source[index++];\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index)) || isDecimalDigit(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseInt(number, 8),\n            octal: true,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanNumericLiteral() {\n        var number, start, ch;\n\n        ch = source[index];\n        assert(isDecimalDigit(ch.charCodeAt(0)) || (ch === '.'),\n            'Numeric literal must start with a decimal digit or a decimal point');\n\n        start = index;\n        number = '';\n        if (ch !== '.') {\n            number = source[index++];\n            ch = source[index];\n\n            // Hex number starts with '0x'.\n            // Octal number starts with '0'.\n            if (number === '0') {\n                if (ch === 'x' || ch === 'X') {\n                    ++index;\n                    return scanHexLiteral(start);\n                }\n                if (isOctalDigit(ch)) {\n                    return scanOctalLiteral(start);\n                }\n\n                // decimal number starts with '0' such as '09' is illegal.\n                if (ch && isDecimalDigit(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n            }\n\n            while (isDecimalDigit(source.charCodeAt(index))) {\n                number += source[index++];\n            }\n            ch = source[index];\n        }\n\n        if (ch === '.') {\n            number += source[index++];\n            while (isDecimalDigit(source.charCodeAt(index))) {\n                number += source[index++];\n            }\n            ch = source[index];\n        }\n\n        if (ch === 'e' || ch === 'E') {\n            number += source[index++];\n\n            ch = source[index];\n            if (ch === '+' || ch === '-') {\n                number += source[index++];\n            }\n            if (isDecimalDigit(source.charCodeAt(index))) {\n                while (isDecimalDigit(source.charCodeAt(index))) {\n                    number += source[index++];\n                }\n            } else {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseFloat(number),\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    // 7.8.4 String Literals\n\n    function scanStringLiteral() {\n        var str = '', quote, start, ch, code, unescaped, restore, octal = false;\n\n        quote = source[index];\n        assert((quote === '\\'' || quote === '\"'),\n            'String literal must starts with a quote');\n\n        start = index;\n        ++index;\n\n        while (index < length) {\n            ch = source[index++];\n\n            if (ch === quote) {\n                quote = '';\n                break;\n            } else if (ch === '\\\\') {\n                ch = source[index++];\n                if (!ch || !isLineTerminator(ch.charCodeAt(0))) {\n                    switch (ch) {\n                    case 'n':\n                        str += '\\n';\n                        break;\n                    case 'r':\n                        str += '\\r';\n                        break;\n                    case 't':\n                        str += '\\t';\n                        break;\n                    case 'u':\n                    case 'x':\n                        restore = index;\n                        unescaped = scanHexEscape(ch);\n                        if (unescaped) {\n                            str += unescaped;\n                        } else {\n                            index = restore;\n                            str += ch;\n                        }\n                        break;\n                    case 'b':\n                        str += '\\b';\n                        break;\n                    case 'f':\n                        str += '\\f';\n                        break;\n                    case 'v':\n                        str += '\\x0B';\n                        break;\n\n                    default:\n                        if (isOctalDigit(ch)) {\n                            code = '01234567'.indexOf(ch);\n\n                            // \\0 is not octal escape sequence\n                            if (code !== 0) {\n                                octal = true;\n                            }\n\n                            if (index < length && isOctalDigit(source[index])) {\n                                octal = true;\n                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n                                // 3 digits are only allowed when string starts\n                                // with 0, 1, 2, 3\n                                if ('0123'.indexOf(ch) >= 0 &&\n                                        index < length &&\n                                        isOctalDigit(source[index])) {\n                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n                                }\n                            }\n                            str += String.fromCharCode(code);\n                        } else {\n                            str += ch;\n                        }\n                        break;\n                    }\n                } else {\n                    ++lineNumber;\n                    if (ch ===  '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                }\n            } else if (isLineTerminator(ch.charCodeAt(0))) {\n                break;\n            } else {\n                str += ch;\n            }\n        }\n\n        if (quote !== '') {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.StringLiteral,\n            value: str,\n            octal: octal,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanRegExp() {\n        var str, ch, start, pattern, flags, value, classMarker = false, restore, terminated = false;\n\n        lookahead = null;\n        skipComment();\n\n        start = index;\n        ch = source[index];\n        assert(ch === '/', 'Regular expression literal must start with a slash');\n        str = source[index++];\n\n        while (index < length) {\n            ch = source[index++];\n            str += ch;\n            if (ch === '\\\\') {\n                ch = source[index++];\n                // ECMA-262 7.8.5\n                if (isLineTerminator(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnterminatedRegExp);\n                }\n                str += ch;\n            } else if (isLineTerminator(ch.charCodeAt(0))) {\n                throwError({}, Messages.UnterminatedRegExp);\n            } else if (classMarker) {\n                if (ch === ']') {\n                    classMarker = false;\n                }\n            } else {\n                if (ch === '/') {\n                    terminated = true;\n                    break;\n                } else if (ch === '[') {\n                    classMarker = true;\n                }\n            }\n        }\n\n        if (!terminated) {\n            throwError({}, Messages.UnterminatedRegExp);\n        }\n\n        // Exclude leading and trailing slash.\n        pattern = str.substr(1, str.length - 2);\n\n        flags = '';\n        while (index < length) {\n            ch = source[index];\n            if (!isIdentifierPart(ch.charCodeAt(0))) {\n                break;\n            }\n\n            ++index;\n            if (ch === '\\\\' && index < length) {\n                ch = source[index];\n                if (ch === 'u') {\n                    ++index;\n                    restore = index;\n                    ch = scanHexEscape('u');\n                    if (ch) {\n                        flags += ch;\n                        for (str += '\\\\u'; restore < index; ++restore) {\n                            str += source[restore];\n                        }\n                    } else {\n                        index = restore;\n                        flags += 'u';\n                        str += '\\\\u';\n                    }\n                } else {\n                    str += '\\\\';\n                }\n            } else {\n                flags += ch;\n                str += ch;\n            }\n        }\n\n        try {\n            value = new RegExp(pattern, flags);\n        } catch (e) {\n            throwError({}, Messages.InvalidRegExp);\n        }\n\n\n\n        if (extra.tokenize) {\n            return {\n                type: Token.RegularExpression,\n                value: value,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n        return {\n            literal: str,\n            value: value,\n            range: [start, index]\n        };\n    }\n\n    function collectRegex() {\n        var pos, loc, regex, token;\n\n        skipComment();\n\n        pos = index;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        regex = scanRegExp();\n        loc.end = {\n            line: lineNumber,\n            column: index - lineStart\n        };\n\n        if (!extra.tokenize) {\n            // Pop the previous token, which is likely '/' or '/='\n            if (extra.tokens.length > 0) {\n                token = extra.tokens[extra.tokens.length - 1];\n                if (token.range[0] === pos && token.type === 'Punctuator') {\n                    if (token.value === '/' || token.value === '/=') {\n                        extra.tokens.pop();\n                    }\n                }\n            }\n\n            extra.tokens.push({\n                type: 'RegularExpression',\n                value: regex.literal,\n                range: [pos, index],\n                loc: loc\n            });\n        }\n\n        return regex;\n    }\n\n    function isIdentifierName(token) {\n        return token.type === Token.Identifier ||\n            token.type === Token.Keyword ||\n            token.type === Token.BooleanLiteral ||\n            token.type === Token.NullLiteral;\n    }\n\n    function advanceSlash() {\n        var prevToken,\n            checkToken;\n        // Using the following algorithm:\n        // https://github.com/mozilla/sweet.js/wiki/design\n        prevToken = extra.tokens[extra.tokens.length - 1];\n        if (!prevToken) {\n            // Nothing before that: it cannot be a division.\n            return collectRegex();\n        }\n        if (prevToken.type === 'Punctuator') {\n            if (prevToken.value === ')') {\n                checkToken = extra.tokens[extra.openParenToken - 1];\n                if (checkToken &&\n                        checkToken.type === 'Keyword' &&\n                        (checkToken.value === 'if' ||\n                         checkToken.value === 'while' ||\n                         checkToken.value === 'for' ||\n                         checkToken.value === 'with')) {\n                    return collectRegex();\n                }\n                return scanPunctuator();\n            }\n            if (prevToken.value === '}') {\n                // Dividing a function by anything makes little sense,\n                // but we have to check for that.\n                if (extra.tokens[extra.openCurlyToken - 3] &&\n                        extra.tokens[extra.openCurlyToken - 3].type === 'Keyword') {\n                    // Anonymous function.\n                    checkToken = extra.tokens[extra.openCurlyToken - 4];\n                    if (!checkToken) {\n                        return scanPunctuator();\n                    }\n                } else if (extra.tokens[extra.openCurlyToken - 4] &&\n                        extra.tokens[extra.openCurlyToken - 4].type === 'Keyword') {\n                    // Named function.\n                    checkToken = extra.tokens[extra.openCurlyToken - 5];\n                    if (!checkToken) {\n                        return collectRegex();\n                    }\n                } else {\n                    return scanPunctuator();\n                }\n                // checkToken determines whether the function is\n                // a declaration or an expression.\n                if (FnExprTokens.indexOf(checkToken.value) >= 0) {\n                    // It is an expression.\n                    return scanPunctuator();\n                }\n                // It is a declaration.\n                return collectRegex();\n            }\n            return collectRegex();\n        }\n        if (prevToken.type === 'Keyword') {\n            return collectRegex();\n        }\n        return scanPunctuator();\n    }\n\n    function advance() {\n        var ch;\n\n        skipComment();\n\n        if (index >= length) {\n            return {\n                type: Token.EOF,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [index, index]\n            };\n        }\n\n        ch = source.charCodeAt(index);\n\n        // Very common: ( and ) and ;\n        if (ch === 0x28 || ch === 0x29 || ch === 0x3A) {\n            return scanPunctuator();\n        }\n\n        // String literal starts with single quote (U+0027) or double quote (U+0022).\n        if (ch === 0x27 || ch === 0x22) {\n            return scanStringLiteral();\n        }\n\n        if (isIdentifierStart(ch)) {\n            return scanIdentifier();\n        }\n\n        // Dot (.) U+002E can also start a floating-point number, hence the need\n        // to check the next character.\n        if (ch === 0x2E) {\n            if (isDecimalDigit(source.charCodeAt(index + 1))) {\n                return scanNumericLiteral();\n            }\n            return scanPunctuator();\n        }\n\n        if (isDecimalDigit(ch)) {\n            return scanNumericLiteral();\n        }\n\n        // Slash (/) U+002F can also start a regex.\n        if (extra.tokenize && ch === 0x2F) {\n            return advanceSlash();\n        }\n\n        return scanPunctuator();\n    }\n\n    function collectToken() {\n        var start, loc, token, range, value;\n\n        skipComment();\n        start = index;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        token = advance();\n        loc.end = {\n            line: lineNumber,\n            column: index - lineStart\n        };\n\n        if (token.type !== Token.EOF) {\n            range = [token.range[0], token.range[1]];\n            value = source.slice(token.range[0], token.range[1]);\n            extra.tokens.push({\n                type: TokenName[token.type],\n                value: value,\n                range: range,\n                loc: loc\n            });\n        }\n\n        return token;\n    }\n\n    function lex() {\n        var token;\n\n        token = lookahead;\n        index = token.range[1];\n        lineNumber = token.lineNumber;\n        lineStart = token.lineStart;\n\n        lookahead = (typeof extra.tokens !== 'undefined') ? collectToken() : advance();\n\n        index = token.range[1];\n        lineNumber = token.lineNumber;\n        lineStart = token.lineStart;\n\n        return token;\n    }\n\n    function peek() {\n        var pos, line, start;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n        lookahead = (typeof extra.tokens !== 'undefined') ? collectToken() : advance();\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n    }\n\n    SyntaxTreeDelegate = {\n\n        name: 'SyntaxTree',\n\n        markStart: function () {\n            if (extra.loc) {\n                state.markerStack.push(index - lineStart);\n                state.markerStack.push(lineNumber);\n            }\n            if (extra.range) {\n                state.markerStack.push(index);\n            }\n        },\n\n        processComment: function (node) {\n            var i, attacher, pos, len, candidate;\n\n            if (typeof node.type === 'undefined' || node.type === Syntax.Program) {\n                return;\n            }\n\n            // Check for possible additional trailing comments.\n            peek();\n\n            for (i = 0; i < extra.pendingComments.length; ++i) {\n                attacher = extra.pendingComments[i];\n                if (node.range[0] >= attacher.comment.range[1]) {\n                    candidate = attacher.leading;\n                    if (candidate) {\n                        pos = candidate.range[0];\n                        len = candidate.range[1] - pos;\n                        if (node.range[0] <= pos && (node.range[1] - node.range[0] >= len)) {\n                            attacher.leading = node;\n                        }\n                    } else {\n                        attacher.leading = node;\n                    }\n                }\n                if (node.range[1] <= attacher.comment.range[0]) {\n                    candidate = attacher.trailing;\n                    if (candidate) {\n                        pos = candidate.range[0];\n                        len = candidate.range[1] - pos;\n                        if (node.range[0] <= pos && (node.range[1] - node.range[0] >= len)) {\n                            attacher.trailing = node;\n                        }\n                    } else {\n                        attacher.trailing = node;\n                    }\n                }\n            }\n        },\n\n        markEnd: function (node) {\n            if (extra.range) {\n                node.range = [state.markerStack.pop(), index];\n            }\n            if (extra.loc) {\n                node.loc = {\n                    start: {\n                        line: state.markerStack.pop(),\n                        column: state.markerStack.pop()\n                    },\n                    end: {\n                        line: lineNumber,\n                        column: index - lineStart\n                    }\n                };\n                this.postProcess(node);\n            }\n            if (extra.attachComment) {\n                this.processComment(node);\n            }\n            return node;\n        },\n\n        markEndIf: function (node) {\n            if (node.range || node.loc) {\n                if (extra.loc) {\n                    state.markerStack.pop();\n                    state.markerStack.pop();\n                }\n                if (extra.range) {\n                    state.markerStack.pop();\n                }\n            } else {\n                this.markEnd(node);\n            }\n            return node;\n        },\n\n        postProcess: function (node) {\n            if (extra.source) {\n                node.loc.source = extra.source;\n            }\n            return node;\n        },\n\n        createArrayExpression: function (elements) {\n            return {\n                type: Syntax.ArrayExpression,\n                elements: elements\n            };\n        },\n\n        createAssignmentExpression: function (operator, left, right) {\n            return {\n                type: Syntax.AssignmentExpression,\n                operator: operator,\n                left: left,\n                right: right\n            };\n        },\n\n        createBinaryExpression: function (operator, left, right) {\n            var type = (operator === '||' || operator === '&&') ? Syntax.LogicalExpression :\n                        Syntax.BinaryExpression;\n            return {\n                type: type,\n                operator: operator,\n                left: left,\n                right: right\n            };\n        },\n\n        createBlockStatement: function (body) {\n            return {\n                type: Syntax.BlockStatement,\n                body: body\n            };\n        },\n\n        createBreakStatement: function (label) {\n            return {\n                type: Syntax.BreakStatement,\n                label: label\n            };\n        },\n\n        createCallExpression: function (callee, args) {\n            return {\n                type: Syntax.CallExpression,\n                callee: callee,\n                'arguments': args\n            };\n        },\n\n        createCatchClause: function (param, body) {\n            return {\n                type: Syntax.CatchClause,\n                param: param,\n                body: body\n            };\n        },\n\n        createConditionalExpression: function (test, consequent, alternate) {\n            return {\n                type: Syntax.ConditionalExpression,\n                test: test,\n                consequent: consequent,\n                alternate: alternate\n            };\n        },\n\n        createContinueStatement: function (label) {\n            return {\n                type: Syntax.ContinueStatement,\n                label: label\n            };\n        },\n\n        createDebuggerStatement: function () {\n            return {\n                type: Syntax.DebuggerStatement\n            };\n        },\n\n        createDoWhileStatement: function (body, test) {\n            return {\n                type: Syntax.DoWhileStatement,\n                body: body,\n                test: test\n            };\n        },\n\n        createEmptyStatement: function () {\n            return {\n                type: Syntax.EmptyStatement\n            };\n        },\n\n        createExpressionStatement: function (expression) {\n            return {\n                type: Syntax.ExpressionStatement,\n                expression: expression\n            };\n        },\n\n        createForStatement: function (init, test, update, body) {\n            return {\n                type: Syntax.ForStatement,\n                init: init,\n                test: test,\n                update: update,\n                body: body\n            };\n        },\n\n        createForInStatement: function (left, right, body) {\n            return {\n                type: Syntax.ForInStatement,\n                left: left,\n                right: right,\n                body: body,\n                each: false\n            };\n        },\n\n        createFunctionDeclaration: function (id, params, defaults, body) {\n            return {\n                type: Syntax.FunctionDeclaration,\n                id: id,\n                params: params,\n                defaults: defaults,\n                body: body,\n                rest: null,\n                generator: false,\n                expression: false\n            };\n        },\n\n        createFunctionExpression: function (id, params, defaults, body) {\n            return {\n                type: Syntax.FunctionExpression,\n                id: id,\n                params: params,\n                defaults: defaults,\n                body: body,\n                rest: null,\n                generator: false,\n                expression: false\n            };\n        },\n\n        createIdentifier: function (name) {\n            return {\n                type: Syntax.Identifier,\n                name: name\n            };\n        },\n\n        createIfStatement: function (test, consequent, alternate) {\n            return {\n                type: Syntax.IfStatement,\n                test: test,\n                consequent: consequent,\n                alternate: alternate\n            };\n        },\n\n        createLabeledStatement: function (label, body) {\n            return {\n                type: Syntax.LabeledStatement,\n                label: label,\n                body: body\n            };\n        },\n\n        createLiteral: function (token) {\n            return {\n                type: Syntax.Literal,\n                value: token.value,\n                raw: source.slice(token.range[0], token.range[1])\n            };\n        },\n\n        createMemberExpression: function (accessor, object, property) {\n            return {\n                type: Syntax.MemberExpression,\n                computed: accessor === '[',\n                object: object,\n                property: property\n            };\n        },\n\n        createNewExpression: function (callee, args) {\n            return {\n                type: Syntax.NewExpression,\n                callee: callee,\n                'arguments': args\n            };\n        },\n\n        createObjectExpression: function (properties) {\n            return {\n                type: Syntax.ObjectExpression,\n                properties: properties\n            };\n        },\n\n        createPostfixExpression: function (operator, argument) {\n            return {\n                type: Syntax.UpdateExpression,\n                operator: operator,\n                argument: argument,\n                prefix: false\n            };\n        },\n\n        createProgram: function (body) {\n            return {\n                type: Syntax.Program,\n                body: body\n            };\n        },\n\n        createProperty: function (kind, key, value) {\n            return {\n                type: Syntax.Property,\n                key: key,\n                value: value,\n                kind: kind\n            };\n        },\n\n        createReturnStatement: function (argument) {\n            return {\n                type: Syntax.ReturnStatement,\n                argument: argument\n            };\n        },\n\n        createSequenceExpression: function (expressions) {\n            return {\n                type: Syntax.SequenceExpression,\n                expressions: expressions\n            };\n        },\n\n        createSwitchCase: function (test, consequent) {\n            return {\n                type: Syntax.SwitchCase,\n                test: test,\n                consequent: consequent\n            };\n        },\n\n        createSwitchStatement: function (discriminant, cases) {\n            return {\n                type: Syntax.SwitchStatement,\n                discriminant: discriminant,\n                cases: cases\n            };\n        },\n\n        createThisExpression: function () {\n            return {\n                type: Syntax.ThisExpression\n            };\n        },\n\n        createThrowStatement: function (argument) {\n            return {\n                type: Syntax.ThrowStatement,\n                argument: argument\n            };\n        },\n\n        createTryStatement: function (block, guardedHandlers, handlers, finalizer) {\n            return {\n                type: Syntax.TryStatement,\n                block: block,\n                guardedHandlers: guardedHandlers,\n                handlers: handlers,\n                finalizer: finalizer\n            };\n        },\n\n        createUnaryExpression: function (operator, argument) {\n            if (operator === '++' || operator === '--') {\n                return {\n                    type: Syntax.UpdateExpression,\n                    operator: operator,\n                    argument: argument,\n                    prefix: true\n                };\n            }\n            return {\n                type: Syntax.UnaryExpression,\n                operator: operator,\n                argument: argument,\n                prefix: true\n            };\n        },\n\n        createVariableDeclaration: function (declarations, kind) {\n            return {\n                type: Syntax.VariableDeclaration,\n                declarations: declarations,\n                kind: kind\n            };\n        },\n\n        createVariableDeclarator: function (id, init) {\n            return {\n                type: Syntax.VariableDeclarator,\n                id: id,\n                init: init\n            };\n        },\n\n        createWhileStatement: function (test, body) {\n            return {\n                type: Syntax.WhileStatement,\n                test: test,\n                body: body\n            };\n        },\n\n        createWithStatement: function (object, body) {\n            return {\n                type: Syntax.WithStatement,\n                object: object,\n                body: body\n            };\n        }\n    };\n\n    // Return true if there is a line terminator before the next token.\n\n    function peekLineTerminator() {\n        var pos, line, start, found;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n        skipComment();\n        found = lineNumber !== line;\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n\n        return found;\n    }\n\n    // Throw an exception\n\n    function throwError(token, messageFormat) {\n        var error,\n            args = Array.prototype.slice.call(arguments, 2),\n            msg = messageFormat.replace(\n                /%(\\d)/g,\n                function (whole, index) {\n                    assert(index < args.length, 'Message reference must be in range');\n                    return args[index];\n                }\n            );\n\n        if (typeof token.lineNumber === 'number') {\n            error = new Error('Line ' + token.lineNumber + ': ' + msg);\n            error.index = token.range[0];\n            error.lineNumber = token.lineNumber;\n            error.column = token.range[0] - lineStart + 1;\n        } else {\n            error = new Error('Line ' + lineNumber + ': ' + msg);\n            error.index = index;\n            error.lineNumber = lineNumber;\n            error.column = index - lineStart + 1;\n        }\n\n        error.description = msg;\n        throw error;\n    }\n\n    function throwErrorTolerant() {\n        try {\n            throwError.apply(null, arguments);\n        } catch (e) {\n            if (extra.errors) {\n                extra.errors.push(e);\n            } else {\n                throw e;\n            }\n        }\n    }\n\n\n    // Throw an exception because of the token.\n\n    function throwUnexpected(token) {\n        if (token.type === Token.EOF) {\n            throwError(token, Messages.UnexpectedEOS);\n        }\n\n        if (token.type === Token.NumericLiteral) {\n            throwError(token, Messages.UnexpectedNumber);\n        }\n\n        if (token.type === Token.StringLiteral) {\n            throwError(token, Messages.UnexpectedString);\n        }\n\n        if (token.type === Token.Identifier) {\n            throwError(token, Messages.UnexpectedIdentifier);\n        }\n\n        if (token.type === Token.Keyword) {\n            if (isFutureReservedWord(token.value)) {\n                throwError(token, Messages.UnexpectedReserved);\n            } else if (strict && isStrictModeReservedWord(token.value)) {\n                throwErrorTolerant(token, Messages.StrictReservedWord);\n                return;\n            }\n            throwError(token, Messages.UnexpectedToken, token.value);\n        }\n\n        // BooleanLiteral, NullLiteral, or Punctuator.\n        throwError(token, Messages.UnexpectedToken, token.value);\n    }\n\n    // Expect the next token to match the specified punctuator.\n    // If not, an exception will be thrown.\n\n    function expect(value) {\n        var token = lex();\n        if (token.type !== Token.Punctuator || token.value !== value) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Expect the next token to match the specified keyword.\n    // If not, an exception will be thrown.\n\n    function expectKeyword(keyword) {\n        var token = lex();\n        if (token.type !== Token.Keyword || token.value !== keyword) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Return true if the next token matches the specified punctuator.\n\n    function match(value) {\n        return lookahead.type === Token.Punctuator && lookahead.value === value;\n    }\n\n    // Return true if the next token matches the specified keyword\n\n    function matchKeyword(keyword) {\n        return lookahead.type === Token.Keyword && lookahead.value === keyword;\n    }\n\n    // Return true if the next token is an assignment operator\n\n    function matchAssign() {\n        var op;\n\n        if (lookahead.type !== Token.Punctuator) {\n            return false;\n        }\n        op = lookahead.value;\n        return op === '=' ||\n            op === '*=' ||\n            op === '/=' ||\n            op === '%=' ||\n            op === '+=' ||\n            op === '-=' ||\n            op === '<<=' ||\n            op === '>>=' ||\n            op === '>>>=' ||\n            op === '&=' ||\n            op === '^=' ||\n            op === '|=';\n    }\n\n    function consumeSemicolon() {\n        var line;\n\n        // Catch the very common case first: immediately a semicolon (U+003B).\n        if (source.charCodeAt(index) === 0x3B) {\n            lex();\n            return;\n        }\n\n        line = lineNumber;\n        skipComment();\n        if (lineNumber !== line) {\n            return;\n        }\n\n        if (match(';')) {\n            lex();\n            return;\n        }\n\n        if (lookahead.type !== Token.EOF && !match('}')) {\n            throwUnexpected(lookahead);\n        }\n    }\n\n    // Return true if provided expression is LeftHandSideExpression\n\n    function isLeftHandSide(expr) {\n        return expr.type === Syntax.Identifier || expr.type === Syntax.MemberExpression;\n    }\n\n    // 11.1.4 Array Initialiser\n\n    function parseArrayInitialiser() {\n        var elements = [];\n\n        expect('[');\n\n        while (!match(']')) {\n            if (match(',')) {\n                lex();\n                elements.push(null);\n            } else {\n                elements.push(parseAssignmentExpression());\n\n                if (!match(']')) {\n                    expect(',');\n                }\n            }\n        }\n\n        expect(']');\n\n        return delegate.createArrayExpression(elements);\n    }\n\n    // 11.1.5 Object Initialiser\n\n    function parsePropertyFunction(param, first) {\n        var previousStrict, body;\n\n        previousStrict = strict;\n        skipComment();\n        delegate.markStart();\n        body = parseFunctionSourceElements();\n        if (first && strict && isRestrictedWord(param[0].name)) {\n            throwErrorTolerant(first, Messages.StrictParamName);\n        }\n        strict = previousStrict;\n        return delegate.markEnd(delegate.createFunctionExpression(null, param, [], body));\n    }\n\n    function parseObjectPropertyKey() {\n        var token;\n\n        skipComment();\n        delegate.markStart();\n        token = lex();\n\n        // Note: This function is called only from parseObjectProperty(), where\n        // EOF and Punctuator tokens are already filtered out.\n\n        if (token.type === Token.StringLiteral || token.type === Token.NumericLiteral) {\n            if (strict && token.octal) {\n                throwErrorTolerant(token, Messages.StrictOctalLiteral);\n            }\n            return delegate.markEnd(delegate.createLiteral(token));\n        }\n\n        return delegate.markEnd(delegate.createIdentifier(token.value));\n    }\n\n    function parseObjectProperty() {\n        var token, key, id, value, param;\n\n        token = lookahead;\n        skipComment();\n        delegate.markStart();\n\n        if (token.type === Token.Identifier) {\n\n            id = parseObjectPropertyKey();\n\n            // Property Assignment: Getter and Setter.\n\n            if (token.value === 'get' && !match(':')) {\n                key = parseObjectPropertyKey();\n                expect('(');\n                expect(')');\n                value = parsePropertyFunction([]);\n                return delegate.markEnd(delegate.createProperty('get', key, value));\n            }\n            if (token.value === 'set' && !match(':')) {\n                key = parseObjectPropertyKey();\n                expect('(');\n                token = lookahead;\n                if (token.type !== Token.Identifier) {\n                    expect(')');\n                    throwErrorTolerant(token, Messages.UnexpectedToken, token.value);\n                    value = parsePropertyFunction([]);\n                } else {\n                    param = [ parseVariableIdentifier() ];\n                    expect(')');\n                    value = parsePropertyFunction(param, token);\n                }\n                return delegate.markEnd(delegate.createProperty('set', key, value));\n            }\n            expect(':');\n            value = parseAssignmentExpression();\n            return delegate.markEnd(delegate.createProperty('init', id, value));\n        }\n        if (token.type === Token.EOF || token.type === Token.Punctuator) {\n            throwUnexpected(token);\n        } else {\n            key = parseObjectPropertyKey();\n            expect(':');\n            value = parseAssignmentExpression();\n            return delegate.markEnd(delegate.createProperty('init', key, value));\n        }\n    }\n\n    function parseObjectInitialiser() {\n        var properties = [], property, name, key, kind, map = {}, toString = String;\n\n        expect('{');\n\n        while (!match('}')) {\n            property = parseObjectProperty();\n\n            if (property.key.type === Syntax.Identifier) {\n                name = property.key.name;\n            } else {\n                name = toString(property.key.value);\n            }\n            kind = (property.kind === 'init') ? PropertyKind.Data : (property.kind === 'get') ? PropertyKind.Get : PropertyKind.Set;\n\n            key = '$' + name;\n            if (Object.prototype.hasOwnProperty.call(map, key)) {\n                if (map[key] === PropertyKind.Data) {\n                    if (strict && kind === PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.StrictDuplicateProperty);\n                    } else if (kind !== PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n                    }\n                } else {\n                    if (kind === PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n                    } else if (map[key] & kind) {\n                        throwErrorTolerant({}, Messages.AccessorGetSet);\n                    }\n                }\n                map[key] |= kind;\n            } else {\n                map[key] = kind;\n            }\n\n            properties.push(property);\n\n            if (!match('}')) {\n                expect(',');\n            }\n        }\n\n        expect('}');\n\n        return delegate.createObjectExpression(properties);\n    }\n\n    // 11.1.6 The Grouping Operator\n\n    function parseGroupExpression() {\n        var expr;\n\n        expect('(');\n\n        expr = parseExpression();\n\n        expect(')');\n\n        return expr;\n    }\n\n\n    // 11.1 Primary Expressions\n\n    function parsePrimaryExpression() {\n        var type, token, expr;\n\n        if (match('(')) {\n            return parseGroupExpression();\n        }\n\n        type = lookahead.type;\n        delegate.markStart();\n\n        if (type === Token.Identifier) {\n            expr =  delegate.createIdentifier(lex().value);\n        } else if (type === Token.StringLiteral || type === Token.NumericLiteral) {\n            if (strict && lookahead.octal) {\n                throwErrorTolerant(lookahead, Messages.StrictOctalLiteral);\n            }\n            expr = delegate.createLiteral(lex());\n        } else if (type === Token.Keyword) {\n            if (matchKeyword('this')) {\n                lex();\n                expr = delegate.createThisExpression();\n            } else if (matchKeyword('function')) {\n                expr = parseFunctionExpression();\n            }\n        } else if (type === Token.BooleanLiteral) {\n            token = lex();\n            token.value = (token.value === 'true');\n            expr = delegate.createLiteral(token);\n        } else if (type === Token.NullLiteral) {\n            token = lex();\n            token.value = null;\n            expr = delegate.createLiteral(token);\n        } else if (match('[')) {\n            expr = parseArrayInitialiser();\n        } else if (match('{')) {\n            expr = parseObjectInitialiser();\n        } else if (match('/') || match('/=')) {\n            if (typeof extra.tokens !== 'undefined') {\n                expr = delegate.createLiteral(collectRegex());\n            } else {\n                expr = delegate.createLiteral(scanRegExp());\n            }\n            peek();\n        }\n\n        if (expr) {\n            return delegate.markEnd(expr);\n        }\n\n        throwUnexpected(lex());\n    }\n\n    // 11.2 Left-Hand-Side Expressions\n\n    function parseArguments() {\n        var args = [];\n\n        expect('(');\n\n        if (!match(')')) {\n            while (index < length) {\n                args.push(parseAssignmentExpression());\n                if (match(')')) {\n                    break;\n                }\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        return args;\n    }\n\n    function parseNonComputedProperty() {\n        var token;\n\n        delegate.markStart();\n        token = lex();\n\n        if (!isIdentifierName(token)) {\n            throwUnexpected(token);\n        }\n\n        return delegate.markEnd(delegate.createIdentifier(token.value));\n    }\n\n    function parseNonComputedMember() {\n        expect('.');\n\n        return parseNonComputedProperty();\n    }\n\n    function parseComputedMember() {\n        var expr;\n\n        expect('[');\n\n        expr = parseExpression();\n\n        expect(']');\n\n        return expr;\n    }\n\n    function parseNewExpression() {\n        var callee, args;\n\n        delegate.markStart();\n        expectKeyword('new');\n        callee = parseLeftHandSideExpression();\n        args = match('(') ? parseArguments() : [];\n\n        return delegate.markEnd(delegate.createNewExpression(callee, args));\n    }\n\n    function parseLeftHandSideExpressionAllowCall() {\n        var marker, previousAllowIn, expr, args, property;\n\n        marker = createLocationMarker();\n\n        previousAllowIn = state.allowIn;\n        state.allowIn = true;\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n        state.allowIn = previousAllowIn;\n\n        while (match('.') || match('[') || match('(')) {\n            if (match('(')) {\n                args = parseArguments();\n                expr = delegate.createCallExpression(expr, args);\n            } else if (match('[')) {\n                property = parseComputedMember();\n                expr = delegate.createMemberExpression('[', expr, property);\n            } else {\n                property = parseNonComputedMember();\n                expr = delegate.createMemberExpression('.', expr, property);\n            }\n            if (marker) {\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n    function parseLeftHandSideExpression() {\n        var marker, previousAllowIn, expr, property;\n\n        marker = createLocationMarker();\n\n        previousAllowIn = state.allowIn;\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n        state.allowIn = previousAllowIn;\n\n        while (match('.') || match('[')) {\n            if (match('[')) {\n                property = parseComputedMember();\n                expr = delegate.createMemberExpression('[', expr, property);\n            } else {\n                property = parseNonComputedMember();\n                expr = delegate.createMemberExpression('.', expr, property);\n            }\n            if (marker) {\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n    // 11.3 Postfix Expressions\n\n    function parsePostfixExpression() {\n        var expr, token;\n\n        delegate.markStart();\n        expr = parseLeftHandSideExpressionAllowCall();\n\n        if (lookahead.type === Token.Punctuator) {\n            if ((match('++') || match('--')) && !peekLineTerminator()) {\n                // 11.3.1, 11.3.2\n                if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                    throwErrorTolerant({}, Messages.StrictLHSPostfix);\n                }\n\n                if (!isLeftHandSide(expr)) {\n                    throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n                }\n\n                token = lex();\n                expr = delegate.createPostfixExpression(token.value, expr);\n            }\n        }\n\n        return delegate.markEndIf(expr);\n    }\n\n    // 11.4 Unary Operators\n\n    function parseUnaryExpression() {\n        var token, expr;\n\n        delegate.markStart();\n\n        if (lookahead.type !== Token.Punctuator && lookahead.type !== Token.Keyword) {\n            expr = parsePostfixExpression();\n        } else if (match('++') || match('--')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            // 11.4.4, 11.4.5\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant({}, Messages.StrictLHSPrefix);\n            }\n\n            if (!isLeftHandSide(expr)) {\n                throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n            }\n\n            expr = delegate.createUnaryExpression(token.value, expr);\n        } else if (match('+') || match('-') || match('~') || match('!')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            expr = delegate.createUnaryExpression(token.value, expr);\n        } else if (matchKeyword('delete') || matchKeyword('void') || matchKeyword('typeof')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            expr = delegate.createUnaryExpression(token.value, expr);\n            if (strict && expr.operator === 'delete' && expr.argument.type === Syntax.Identifier) {\n                throwErrorTolerant({}, Messages.StrictDelete);\n            }\n        } else {\n            expr = parsePostfixExpression();\n        }\n\n        return delegate.markEndIf(expr);\n    }\n\n    function binaryPrecedence(token, allowIn) {\n        var prec = 0;\n\n        if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {\n            return 0;\n        }\n\n        switch (token.value) {\n        case '||':\n            prec = 1;\n            break;\n\n        case '&&':\n            prec = 2;\n            break;\n\n        case '|':\n            prec = 3;\n            break;\n\n        case '^':\n            prec = 4;\n            break;\n\n        case '&':\n            prec = 5;\n            break;\n\n        case '==':\n        case '!=':\n        case '===':\n        case '!==':\n            prec = 6;\n            break;\n\n        case '<':\n        case '>':\n        case '<=':\n        case '>=':\n        case 'instanceof':\n            prec = 7;\n            break;\n\n        case 'in':\n            prec = allowIn ? 7 : 0;\n            break;\n\n        case '<<':\n        case '>>':\n        case '>>>':\n            prec = 8;\n            break;\n\n        case '+':\n        case '-':\n            prec = 9;\n            break;\n\n        case '*':\n        case '/':\n        case '%':\n            prec = 11;\n            break;\n\n        default:\n            break;\n        }\n\n        return prec;\n    }\n\n    // 11.5 Multiplicative Operators\n    // 11.6 Additive Operators\n    // 11.7 Bitwise Shift Operators\n    // 11.8 Relational Operators\n    // 11.9 Equality Operators\n    // 11.10 Binary Bitwise Operators\n    // 11.11 Binary Logical Operators\n\n    function parseBinaryExpression() {\n        var marker, markers, expr, token, prec, stack, right, operator, left, i;\n\n        marker = createLocationMarker();\n        left = parseUnaryExpression();\n\n        token = lookahead;\n        prec = binaryPrecedence(token, state.allowIn);\n        if (prec === 0) {\n            return left;\n        }\n        token.prec = prec;\n        lex();\n\n        markers = [marker, createLocationMarker()];\n        right = parseUnaryExpression();\n\n        stack = [left, token, right];\n\n        while ((prec = binaryPrecedence(lookahead, state.allowIn)) > 0) {\n\n            // Reduce: make a binary expression from the three topmost entries.\n            while ((stack.length > 2) && (prec <= stack[stack.length - 2].prec)) {\n                right = stack.pop();\n                operator = stack.pop().value;\n                left = stack.pop();\n                expr = delegate.createBinaryExpression(operator, left, right);\n                markers.pop();\n                marker = markers.pop();\n                if (marker) {\n                    marker.end();\n                    marker.apply(expr);\n                }\n                stack.push(expr);\n                markers.push(marker);\n            }\n\n            // Shift.\n            token = lex();\n            token.prec = prec;\n            stack.push(token);\n            markers.push(createLocationMarker());\n            expr = parseUnaryExpression();\n            stack.push(expr);\n        }\n\n        // Final reduce to clean-up the stack.\n        i = stack.length - 1;\n        expr = stack[i];\n        markers.pop();\n        while (i > 1) {\n            expr = delegate.createBinaryExpression(stack[i - 1].value, stack[i - 2], expr);\n            i -= 2;\n            marker = markers.pop();\n            if (marker) {\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n\n    // 11.12 Conditional Operator\n\n    function parseConditionalExpression() {\n        var expr, previousAllowIn, consequent, alternate;\n\n        delegate.markStart();\n        expr = parseBinaryExpression();\n\n        if (match('?')) {\n            lex();\n            previousAllowIn = state.allowIn;\n            state.allowIn = true;\n            consequent = parseAssignmentExpression();\n            state.allowIn = previousAllowIn;\n            expect(':');\n            alternate = parseAssignmentExpression();\n\n            expr = delegate.markEnd(delegate.createConditionalExpression(expr, consequent, alternate));\n        } else {\n            delegate.markEnd({});\n        }\n\n        return expr;\n    }\n\n    // 11.13 Assignment Operators\n\n    function parseAssignmentExpression() {\n        var token, left, right, node;\n\n        token = lookahead;\n        delegate.markStart();\n        node = left = parseConditionalExpression();\n\n        if (matchAssign()) {\n            // LeftHandSideExpression\n            if (!isLeftHandSide(left)) {\n                throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n            }\n\n            // 11.13.1\n            if (strict && left.type === Syntax.Identifier && isRestrictedWord(left.name)) {\n                throwErrorTolerant(token, Messages.StrictLHSAssignment);\n            }\n\n            token = lex();\n            right = parseAssignmentExpression();\n            node = delegate.createAssignmentExpression(token.value, left, right);\n        }\n\n        return delegate.markEndIf(node);\n    }\n\n    // 11.14 Comma Operator\n\n    function parseExpression() {\n        var expr;\n\n        delegate.markStart();\n        expr = parseAssignmentExpression();\n\n        if (match(',')) {\n            expr = delegate.createSequenceExpression([ expr ]);\n\n            while (index < length) {\n                if (!match(',')) {\n                    break;\n                }\n                lex();\n                expr.expressions.push(parseAssignmentExpression());\n            }\n        }\n\n        return delegate.markEndIf(expr);\n    }\n\n    // 12.1 Block\n\n    function parseStatementList() {\n        var list = [],\n            statement;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            statement = parseSourceElement();\n            if (typeof statement === 'undefined') {\n                break;\n            }\n            list.push(statement);\n        }\n\n        return list;\n    }\n\n    function parseBlock() {\n        var block;\n\n        skipComment();\n        delegate.markStart();\n        expect('{');\n\n        block = parseStatementList();\n\n        expect('}');\n\n        return delegate.markEnd(delegate.createBlockStatement(block));\n    }\n\n    // 12.2 Variable Statement\n\n    function parseVariableIdentifier() {\n        var token;\n\n        skipComment();\n        delegate.markStart();\n        token = lex();\n\n        if (token.type !== Token.Identifier) {\n            throwUnexpected(token);\n        }\n\n        return delegate.markEnd(delegate.createIdentifier(token.value));\n    }\n\n    function parseVariableDeclaration(kind) {\n        var init = null, id;\n\n        skipComment();\n        delegate.markStart();\n        id = parseVariableIdentifier();\n\n        // 12.2.1\n        if (strict && isRestrictedWord(id.name)) {\n            throwErrorTolerant({}, Messages.StrictVarName);\n        }\n\n        if (kind === 'const') {\n            expect('=');\n            init = parseAssignmentExpression();\n        } else if (match('=')) {\n            lex();\n            init = parseAssignmentExpression();\n        }\n\n        return delegate.markEnd(delegate.createVariableDeclarator(id, init));\n    }\n\n    function parseVariableDeclarationList(kind) {\n        var list = [];\n\n        do {\n            list.push(parseVariableDeclaration(kind));\n            if (!match(',')) {\n                break;\n            }\n            lex();\n        } while (index < length);\n\n        return list;\n    }\n\n    function parseVariableStatement() {\n        var declarations;\n\n        expectKeyword('var');\n\n        declarations = parseVariableDeclarationList();\n\n        consumeSemicolon();\n\n        return delegate.createVariableDeclaration(declarations, 'var');\n    }\n\n    // kind may be `const` or `let`\n    // Both are experimental and not in the specification yet.\n    // see http://wiki.ecmascript.org/doku.php?id=harmony:const\n    // and http://wiki.ecmascript.org/doku.php?id=harmony:let\n    function parseConstLetDeclaration(kind) {\n        var declarations;\n\n        skipComment();\n        delegate.markStart();\n\n        expectKeyword(kind);\n\n        declarations = parseVariableDeclarationList(kind);\n\n        consumeSemicolon();\n\n        return delegate.markEnd(delegate.createVariableDeclaration(declarations, kind));\n    }\n\n    // 12.3 Empty Statement\n\n    function parseEmptyStatement() {\n        expect(';');\n        return delegate.createEmptyStatement();\n    }\n\n    // 12.4 Expression Statement\n\n    function parseExpressionStatement() {\n        var expr = parseExpression();\n        consumeSemicolon();\n        return delegate.createExpressionStatement(expr);\n    }\n\n    // 12.5 If statement\n\n    function parseIfStatement() {\n        var test, consequent, alternate;\n\n        expectKeyword('if');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        consequent = parseStatement();\n\n        if (matchKeyword('else')) {\n            lex();\n            alternate = parseStatement();\n        } else {\n            alternate = null;\n        }\n\n        return delegate.createIfStatement(test, consequent, alternate);\n    }\n\n    // 12.6 Iteration Statements\n\n    function parseDoWhileStatement() {\n        var body, test, oldInIteration;\n\n        expectKeyword('do');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        expectKeyword('while');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        if (match(';')) {\n            lex();\n        }\n\n        return delegate.createDoWhileStatement(body, test);\n    }\n\n    function parseWhileStatement() {\n        var test, body, oldInIteration;\n\n        expectKeyword('while');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        return delegate.createWhileStatement(test, body);\n    }\n\n    function parseForVariableDeclaration() {\n        var token, declarations;\n\n        delegate.markStart();\n        token = lex();\n        declarations = parseVariableDeclarationList();\n\n        return delegate.markEnd(delegate.createVariableDeclaration(declarations, token.value));\n    }\n\n    function parseForStatement() {\n        var init, test, update, left, right, body, oldInIteration;\n\n        init = test = update = null;\n\n        expectKeyword('for');\n\n        expect('(');\n\n        if (match(';')) {\n            lex();\n        } else {\n            if (matchKeyword('var') || matchKeyword('let')) {\n                state.allowIn = false;\n                init = parseForVariableDeclaration();\n                state.allowIn = true;\n\n                if (init.declarations.length === 1 && matchKeyword('in')) {\n                    lex();\n                    left = init;\n                    right = parseExpression();\n                    init = null;\n                }\n            } else {\n                state.allowIn = false;\n                init = parseExpression();\n                state.allowIn = true;\n\n                if (matchKeyword('in')) {\n                    // LeftHandSideExpression\n                    if (!isLeftHandSide(init)) {\n                        throwErrorTolerant({}, Messages.InvalidLHSInForIn);\n                    }\n\n                    lex();\n                    left = init;\n                    right = parseExpression();\n                    init = null;\n                }\n            }\n\n            if (typeof left === 'undefined') {\n                expect(';');\n            }\n        }\n\n        if (typeof left === 'undefined') {\n\n            if (!match(';')) {\n                test = parseExpression();\n            }\n            expect(';');\n\n            if (!match(')')) {\n                update = parseExpression();\n            }\n        }\n\n        expect(')');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        return (typeof left === 'undefined') ?\n                delegate.createForStatement(init, test, update, body) :\n                delegate.createForInStatement(left, right, body);\n    }\n\n    // 12.7 The continue statement\n\n    function parseContinueStatement() {\n        var label = null, key;\n\n        expectKeyword('continue');\n\n        // Optimize the most common form: 'continue;'.\n        if (source.charCodeAt(index) === 0x3B) {\n            lex();\n\n            if (!state.inIteration) {\n                throwError({}, Messages.IllegalContinue);\n            }\n\n            return delegate.createContinueStatement(null);\n        }\n\n        if (peekLineTerminator()) {\n            if (!state.inIteration) {\n                throwError({}, Messages.IllegalContinue);\n            }\n\n            return delegate.createContinueStatement(null);\n        }\n\n        if (lookahead.type === Token.Identifier) {\n            label = parseVariableIdentifier();\n\n            key = '$' + label.name;\n            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.UnknownLabel, label.name);\n            }\n        }\n\n        consumeSemicolon();\n\n        if (label === null && !state.inIteration) {\n            throwError({}, Messages.IllegalContinue);\n        }\n\n        return delegate.createContinueStatement(label);\n    }\n\n    // 12.8 The break statement\n\n    function parseBreakStatement() {\n        var label = null, key;\n\n        expectKeyword('break');\n\n        // Catch the very common case first: immediately a semicolon (U+003B).\n        if (source.charCodeAt(index) === 0x3B) {\n            lex();\n\n            if (!(state.inIteration || state.inSwitch)) {\n                throwError({}, Messages.IllegalBreak);\n            }\n\n            return delegate.createBreakStatement(null);\n        }\n\n        if (peekLineTerminator()) {\n            if (!(state.inIteration || state.inSwitch)) {\n                throwError({}, Messages.IllegalBreak);\n            }\n\n            return delegate.createBreakStatement(null);\n        }\n\n        if (lookahead.type === Token.Identifier) {\n            label = parseVariableIdentifier();\n\n            key = '$' + label.name;\n            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.UnknownLabel, label.name);\n            }\n        }\n\n        consumeSemicolon();\n\n        if (label === null && !(state.inIteration || state.inSwitch)) {\n            throwError({}, Messages.IllegalBreak);\n        }\n\n        return delegate.createBreakStatement(label);\n    }\n\n    // 12.9 The return statement\n\n    function parseReturnStatement() {\n        var argument = null;\n\n        expectKeyword('return');\n\n        if (!state.inFunctionBody) {\n            throwErrorTolerant({}, Messages.IllegalReturn);\n        }\n\n        // 'return' followed by a space and an identifier is very common.\n        if (source.charCodeAt(index) === 0x20) {\n            if (isIdentifierStart(source.charCodeAt(index + 1))) {\n                argument = parseExpression();\n                consumeSemicolon();\n                return delegate.createReturnStatement(argument);\n            }\n        }\n\n        if (peekLineTerminator()) {\n            return delegate.createReturnStatement(null);\n        }\n\n        if (!match(';')) {\n            if (!match('}') && lookahead.type !== Token.EOF) {\n                argument = parseExpression();\n            }\n        }\n\n        consumeSemicolon();\n\n        return delegate.createReturnStatement(argument);\n    }\n\n    // 12.10 The with statement\n\n    function parseWithStatement() {\n        var object, body;\n\n        if (strict) {\n            throwErrorTolerant({}, Messages.StrictModeWith);\n        }\n\n        expectKeyword('with');\n\n        expect('(');\n\n        object = parseExpression();\n\n        expect(')');\n\n        body = parseStatement();\n\n        return delegate.createWithStatement(object, body);\n    }\n\n    // 12.10 The swith statement\n\n    function parseSwitchCase() {\n        var test,\n            consequent = [],\n            statement;\n\n        skipComment();\n        delegate.markStart();\n        if (matchKeyword('default')) {\n            lex();\n            test = null;\n        } else {\n            expectKeyword('case');\n            test = parseExpression();\n        }\n        expect(':');\n\n        while (index < length) {\n            if (match('}') || matchKeyword('default') || matchKeyword('case')) {\n                break;\n            }\n            statement = parseStatement();\n            consequent.push(statement);\n        }\n\n        return delegate.markEnd(delegate.createSwitchCase(test, consequent));\n    }\n\n    function parseSwitchStatement() {\n        var discriminant, cases, clause, oldInSwitch, defaultFound;\n\n        expectKeyword('switch');\n\n        expect('(');\n\n        discriminant = parseExpression();\n\n        expect(')');\n\n        expect('{');\n\n        cases = [];\n\n        if (match('}')) {\n            lex();\n            return delegate.createSwitchStatement(discriminant, cases);\n        }\n\n        oldInSwitch = state.inSwitch;\n        state.inSwitch = true;\n        defaultFound = false;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            clause = parseSwitchCase();\n            if (clause.test === null) {\n                if (defaultFound) {\n                    throwError({}, Messages.MultipleDefaultsInSwitch);\n                }\n                defaultFound = true;\n            }\n            cases.push(clause);\n        }\n\n        state.inSwitch = oldInSwitch;\n\n        expect('}');\n\n        return delegate.createSwitchStatement(discriminant, cases);\n    }\n\n    // 12.13 The throw statement\n\n    function parseThrowStatement() {\n        var argument;\n\n        expectKeyword('throw');\n\n        if (peekLineTerminator()) {\n            throwError({}, Messages.NewlineAfterThrow);\n        }\n\n        argument = parseExpression();\n\n        consumeSemicolon();\n\n        return delegate.createThrowStatement(argument);\n    }\n\n    // 12.14 The try statement\n\n    function parseCatchClause() {\n        var param, body;\n\n        skipComment();\n        delegate.markStart();\n        expectKeyword('catch');\n\n        expect('(');\n        if (match(')')) {\n            throwUnexpected(lookahead);\n        }\n\n        param = parseVariableIdentifier();\n        // 12.14.1\n        if (strict && isRestrictedWord(param.name)) {\n            throwErrorTolerant({}, Messages.StrictCatchVariable);\n        }\n\n        expect(')');\n        body = parseBlock();\n        return delegate.markEnd(delegate.createCatchClause(param, body));\n    }\n\n    function parseTryStatement() {\n        var block, handlers = [], finalizer = null;\n\n        expectKeyword('try');\n\n        block = parseBlock();\n\n        if (matchKeyword('catch')) {\n            handlers.push(parseCatchClause());\n        }\n\n        if (matchKeyword('finally')) {\n            lex();\n            finalizer = parseBlock();\n        }\n\n        if (handlers.length === 0 && !finalizer) {\n            throwError({}, Messages.NoCatchOrFinally);\n        }\n\n        return delegate.createTryStatement(block, [], handlers, finalizer);\n    }\n\n    // 12.15 The debugger statement\n\n    function parseDebuggerStatement() {\n        expectKeyword('debugger');\n\n        consumeSemicolon();\n\n        return delegate.createDebuggerStatement();\n    }\n\n    // 12 Statements\n\n    function parseStatement() {\n        var type = lookahead.type,\n            expr,\n            labeledBody,\n            key;\n\n        if (type === Token.EOF) {\n            throwUnexpected(lookahead);\n        }\n\n        skipComment();\n        delegate.markStart();\n\n        if (type === Token.Punctuator) {\n            switch (lookahead.value) {\n            case ';':\n                return delegate.markEnd(parseEmptyStatement());\n            case '{':\n                return delegate.markEnd(parseBlock());\n            case '(':\n                return delegate.markEnd(parseExpressionStatement());\n            default:\n                break;\n            }\n        }\n\n        if (type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'break':\n                return delegate.markEnd(parseBreakStatement());\n            case 'continue':\n                return delegate.markEnd(parseContinueStatement());\n            case 'debugger':\n                return delegate.markEnd(parseDebuggerStatement());\n            case 'do':\n                return delegate.markEnd(parseDoWhileStatement());\n            case 'for':\n                return delegate.markEnd(parseForStatement());\n            case 'function':\n                return delegate.markEnd(parseFunctionDeclaration());\n            case 'if':\n                return delegate.markEnd(parseIfStatement());\n            case 'return':\n                return delegate.markEnd(parseReturnStatement());\n            case 'switch':\n                return delegate.markEnd(parseSwitchStatement());\n            case 'throw':\n                return delegate.markEnd(parseThrowStatement());\n            case 'try':\n                return delegate.markEnd(parseTryStatement());\n            case 'var':\n                return delegate.markEnd(parseVariableStatement());\n            case 'while':\n                return delegate.markEnd(parseWhileStatement());\n            case 'with':\n                return delegate.markEnd(parseWithStatement());\n            default:\n                break;\n            }\n        }\n\n        expr = parseExpression();\n\n        // 12.12 Labelled Statements\n        if ((expr.type === Syntax.Identifier) && match(':')) {\n            lex();\n\n            key = '$' + expr.name;\n            if (Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.Redeclaration, 'Label', expr.name);\n            }\n\n            state.labelSet[key] = true;\n            labeledBody = parseStatement();\n            delete state.labelSet[key];\n            return delegate.markEnd(delegate.createLabeledStatement(expr, labeledBody));\n        }\n\n        consumeSemicolon();\n\n        return delegate.markEnd(delegate.createExpressionStatement(expr));\n    }\n\n    // 13 Function Definition\n\n    function parseFunctionSourceElements() {\n        var sourceElement, sourceElements = [], token, directive, firstRestricted,\n            oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody;\n\n        skipComment();\n        delegate.markStart();\n        expect('{');\n\n        while (index < length) {\n            if (lookahead.type !== Token.StringLiteral) {\n                break;\n            }\n            token = lookahead;\n\n            sourceElement = parseSourceElement();\n            sourceElements.push(sourceElement);\n            if (sourceElement.expression.type !== Syntax.Literal) {\n                // this is not directive\n                break;\n            }\n            directive = source.slice(token.range[0] + 1, token.range[1] - 1);\n            if (directive === 'use strict') {\n                strict = true;\n                if (firstRestricted) {\n                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n                }\n            } else {\n                if (!firstRestricted && token.octal) {\n                    firstRestricted = token;\n                }\n            }\n        }\n\n        oldLabelSet = state.labelSet;\n        oldInIteration = state.inIteration;\n        oldInSwitch = state.inSwitch;\n        oldInFunctionBody = state.inFunctionBody;\n\n        state.labelSet = {};\n        state.inIteration = false;\n        state.inSwitch = false;\n        state.inFunctionBody = true;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            sourceElement = parseSourceElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            sourceElements.push(sourceElement);\n        }\n\n        expect('}');\n\n        state.labelSet = oldLabelSet;\n        state.inIteration = oldInIteration;\n        state.inSwitch = oldInSwitch;\n        state.inFunctionBody = oldInFunctionBody;\n\n        return delegate.markEnd(delegate.createBlockStatement(sourceElements));\n    }\n\n    function parseParams(firstRestricted) {\n        var param, params = [], token, stricted, paramSet, key, message;\n        expect('(');\n\n        if (!match(')')) {\n            paramSet = {};\n            while (index < length) {\n                token = lookahead;\n                param = parseVariableIdentifier();\n                key = '$' + token.value;\n                if (strict) {\n                    if (isRestrictedWord(token.value)) {\n                        stricted = token;\n                        message = Messages.StrictParamName;\n                    }\n                    if (Object.prototype.hasOwnProperty.call(paramSet, key)) {\n                        stricted = token;\n                        message = Messages.StrictParamDupe;\n                    }\n                } else if (!firstRestricted) {\n                    if (isRestrictedWord(token.value)) {\n                        firstRestricted = token;\n                        message = Messages.StrictParamName;\n                    } else if (isStrictModeReservedWord(token.value)) {\n                        firstRestricted = token;\n                        message = Messages.StrictReservedWord;\n                    } else if (Object.prototype.hasOwnProperty.call(paramSet, key)) {\n                        firstRestricted = token;\n                        message = Messages.StrictParamDupe;\n                    }\n                }\n                params.push(param);\n                paramSet[key] = true;\n                if (match(')')) {\n                    break;\n                }\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        return {\n            params: params,\n            stricted: stricted,\n            firstRestricted: firstRestricted,\n            message: message\n        };\n    }\n\n    function parseFunctionDeclaration() {\n        var id, params = [], body, token, stricted, tmp, firstRestricted, message, previousStrict;\n\n        skipComment();\n        delegate.markStart();\n\n        expectKeyword('function');\n        token = lookahead;\n        id = parseVariableIdentifier();\n        if (strict) {\n            if (isRestrictedWord(token.value)) {\n                throwErrorTolerant(token, Messages.StrictFunctionName);\n            }\n        } else {\n            if (isRestrictedWord(token.value)) {\n                firstRestricted = token;\n                message = Messages.StrictFunctionName;\n            } else if (isStrictModeReservedWord(token.value)) {\n                firstRestricted = token;\n                message = Messages.StrictReservedWord;\n            }\n        }\n\n        tmp = parseParams(firstRestricted);\n        params = tmp.params;\n        stricted = tmp.stricted;\n        firstRestricted = tmp.firstRestricted;\n        if (tmp.message) {\n            message = tmp.message;\n        }\n\n        previousStrict = strict;\n        body = parseFunctionSourceElements();\n        if (strict && firstRestricted) {\n            throwError(firstRestricted, message);\n        }\n        if (strict && stricted) {\n            throwErrorTolerant(stricted, message);\n        }\n        strict = previousStrict;\n\n        return delegate.markEnd(delegate.createFunctionDeclaration(id, params, [], body));\n    }\n\n    function parseFunctionExpression() {\n        var token, id = null, stricted, firstRestricted, message, tmp, params = [], body, previousStrict;\n\n        delegate.markStart();\n        expectKeyword('function');\n\n        if (!match('(')) {\n            token = lookahead;\n            id = parseVariableIdentifier();\n            if (strict) {\n                if (isRestrictedWord(token.value)) {\n                    throwErrorTolerant(token, Messages.StrictFunctionName);\n                }\n            } else {\n                if (isRestrictedWord(token.value)) {\n                    firstRestricted = token;\n                    message = Messages.StrictFunctionName;\n                } else if (isStrictModeReservedWord(token.value)) {\n                    firstRestricted = token;\n                    message = Messages.StrictReservedWord;\n                }\n            }\n        }\n\n        tmp = parseParams(firstRestricted);\n        params = tmp.params;\n        stricted = tmp.stricted;\n        firstRestricted = tmp.firstRestricted;\n        if (tmp.message) {\n            message = tmp.message;\n        }\n\n        previousStrict = strict;\n        body = parseFunctionSourceElements();\n        if (strict && firstRestricted) {\n            throwError(firstRestricted, message);\n        }\n        if (strict && stricted) {\n            throwErrorTolerant(stricted, message);\n        }\n        strict = previousStrict;\n\n        return delegate.markEnd(delegate.createFunctionExpression(id, params, [], body));\n    }\n\n    // 14 Program\n\n    function parseSourceElement() {\n        if (lookahead.type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'const':\n            case 'let':\n                return parseConstLetDeclaration(lookahead.value);\n            case 'function':\n                return parseFunctionDeclaration();\n            default:\n                return parseStatement();\n            }\n        }\n\n        if (lookahead.type !== Token.EOF) {\n            return parseStatement();\n        }\n    }\n\n    function parseSourceElements() {\n        var sourceElement, sourceElements = [], token, directive, firstRestricted;\n\n        while (index < length) {\n            token = lookahead;\n            if (token.type !== Token.StringLiteral) {\n                break;\n            }\n\n            sourceElement = parseSourceElement();\n            sourceElements.push(sourceElement);\n            if (sourceElement.expression.type !== Syntax.Literal) {\n                // this is not directive\n                break;\n            }\n            directive = source.slice(token.range[0] + 1, token.range[1] - 1);\n            if (directive === 'use strict') {\n                strict = true;\n                if (firstRestricted) {\n                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n                }\n            } else {\n                if (!firstRestricted && token.octal) {\n                    firstRestricted = token;\n                }\n            }\n        }\n\n        while (index < length) {\n            sourceElement = parseSourceElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            sourceElements.push(sourceElement);\n        }\n        return sourceElements;\n    }\n\n    function parseProgram() {\n        var body;\n\n        skipComment();\n        delegate.markStart();\n        strict = false;\n        peek();\n        body = parseSourceElements();\n        return delegate.markEnd(delegate.createProgram(body));\n    }\n\n    function attachComments() {\n        var i, attacher, comment, leading, trailing;\n\n        for (i = 0; i < extra.pendingComments.length; ++i) {\n            attacher = extra.pendingComments[i];\n            comment = attacher.comment;\n            leading = attacher.leading;\n            if (leading) {\n                if (typeof leading.leadingComments === 'undefined') {\n                    leading.leadingComments = [];\n                }\n                leading.leadingComments.push(attacher.comment);\n            }\n            trailing = attacher.trailing;\n            if (trailing) {\n                if (typeof trailing.trailingComments === 'undefined') {\n                    trailing.trailingComments = [];\n                }\n                trailing.trailingComments.push(attacher.comment);\n            }\n        }\n        extra.pendingComments = [];\n    }\n\n    function filterTokenLocation() {\n        var i, entry, token, tokens = [];\n\n        for (i = 0; i < extra.tokens.length; ++i) {\n            entry = extra.tokens[i];\n            token = {\n                type: entry.type,\n                value: entry.value\n            };\n            if (extra.range) {\n                token.range = entry.range;\n            }\n            if (extra.loc) {\n                token.loc = entry.loc;\n            }\n            tokens.push(token);\n        }\n\n        extra.tokens = tokens;\n    }\n\n    function LocationMarker() {\n        this.marker = [index, lineNumber, index - lineStart, 0, 0, 0];\n    }\n\n    LocationMarker.prototype = {\n        constructor: LocationMarker,\n\n        end: function () {\n            this.marker[3] = index;\n            this.marker[4] = lineNumber;\n            this.marker[5] = index - lineStart;\n        },\n\n        apply: function (node) {\n            if (extra.range) {\n                node.range = [this.marker[0], this.marker[3]];\n            }\n            if (extra.loc) {\n                node.loc = {\n                    start: {\n                        line: this.marker[1],\n                        column: this.marker[2]\n                    },\n                    end: {\n                        line: this.marker[4],\n                        column: this.marker[5]\n                    }\n                };\n                node = delegate.postProcess(node);\n            }\n            if (extra.attachComment) {\n                delegate.processComment(node);\n            }\n        }\n    };\n\n    function createLocationMarker() {\n        if (!extra.loc && !extra.range) {\n            return null;\n        }\n\n        skipComment();\n\n        return new LocationMarker();\n    }\n\n    function tokenize(code, options) {\n        var toString,\n            token,\n            tokens;\n\n        toString = String;\n        if (typeof code !== 'string' && !(code instanceof String)) {\n            code = toString(code);\n        }\n\n        delegate = SyntaxTreeDelegate;\n        source = code;\n        index = 0;\n        lineNumber = (source.length > 0) ? 1 : 0;\n        lineStart = 0;\n        length = source.length;\n        lookahead = null;\n        state = {\n            allowIn: true,\n            labelSet: {},\n            inFunctionBody: false,\n            inIteration: false,\n            inSwitch: false,\n            lastCommentStart: -1\n        };\n\n        extra = {};\n\n        // Options matching.\n        options = options || {};\n\n        // Of course we collect tokens here.\n        options.tokens = true;\n        extra.tokens = [];\n        extra.tokenize = true;\n        // The following two fields are necessary to compute the Regex tokens.\n        extra.openParenToken = -1;\n        extra.openCurlyToken = -1;\n\n        extra.range = (typeof options.range === 'boolean') && options.range;\n        extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\n        if (typeof options.comment === 'boolean' && options.comment) {\n            extra.comments = [];\n        }\n        if (typeof options.tolerant === 'boolean' && options.tolerant) {\n            extra.errors = [];\n        }\n\n        if (length > 0) {\n            if (typeof source[0] === 'undefined') {\n                // Try first to convert to a string. This is good as fast path\n                // for old IE which understands string indexing for string\n                // literals only and not for string object.\n                if (code instanceof String) {\n                    source = code.valueOf();\n                }\n            }\n        }\n\n        try {\n            peek();\n            if (lookahead.type === Token.EOF) {\n                return extra.tokens;\n            }\n\n            token = lex();\n            while (lookahead.type !== Token.EOF) {\n                try {\n                    token = lex();\n                } catch (lexError) {\n                    token = lookahead;\n                    if (extra.errors) {\n                        extra.errors.push(lexError);\n                        // We have to break on the first error\n                        // to avoid infinite loops.\n                        break;\n                    } else {\n                        throw lexError;\n                    }\n                }\n            }\n\n            filterTokenLocation();\n            tokens = extra.tokens;\n            if (typeof extra.comments !== 'undefined') {\n                tokens.comments = extra.comments;\n            }\n            if (typeof extra.errors !== 'undefined') {\n                tokens.errors = extra.errors;\n            }\n        } catch (e) {\n            throw e;\n        } finally {\n            extra = {};\n        }\n        return tokens;\n    }\n\n    function parse(code, options) {\n        var program, toString;\n\n        toString = String;\n        if (typeof code !== 'string' && !(code instanceof String)) {\n            code = toString(code);\n        }\n\n        delegate = SyntaxTreeDelegate;\n        source = code;\n        index = 0;\n        lineNumber = (source.length > 0) ? 1 : 0;\n        lineStart = 0;\n        length = source.length;\n        lookahead = null;\n        state = {\n            allowIn: true,\n            labelSet: {},\n            inFunctionBody: false,\n            inIteration: false,\n            inSwitch: false,\n            lastCommentStart: -1,\n            markerStack: []\n        };\n\n        extra = {};\n        if (typeof options !== 'undefined') {\n            extra.range = (typeof options.range === 'boolean') && options.range;\n            extra.loc = (typeof options.loc === 'boolean') && options.loc;\n            extra.attachComment = (typeof options.attachComment === 'boolean') && options.attachComment;\n\n            if (extra.loc && options.source !== null && options.source !== undefined) {\n                extra.source = toString(options.source);\n            }\n\n            if (typeof options.tokens === 'boolean' && options.tokens) {\n                extra.tokens = [];\n            }\n            if (typeof options.comment === 'boolean' && options.comment) {\n                extra.comments = [];\n            }\n            if (typeof options.tolerant === 'boolean' && options.tolerant) {\n                extra.errors = [];\n            }\n            if (extra.attachComment) {\n                extra.range = true;\n                extra.pendingComments = [];\n                extra.comments = [];\n            }\n        }\n\n        if (length > 0) {\n            if (typeof source[0] === 'undefined') {\n                // Try first to convert to a string. This is good as fast path\n                // for old IE which understands string indexing for string\n                // literals only and not for string object.\n                if (code instanceof String) {\n                    source = code.valueOf();\n                }\n            }\n        }\n\n        try {\n            program = parseProgram();\n            if (typeof extra.comments !== 'undefined') {\n                program.comments = extra.comments;\n            }\n            if (typeof extra.tokens !== 'undefined') {\n                filterTokenLocation();\n                program.tokens = extra.tokens;\n            }\n            if (typeof extra.errors !== 'undefined') {\n                program.errors = extra.errors;\n            }\n            if (extra.attachComment) {\n                attachComments();\n            }\n        } catch (e) {\n            throw e;\n        } finally {\n            extra = {};\n        }\n\n        return program;\n    }\n\n    // Sync with *.json manifests.\n    exports.version = '1.1.0-dev';\n\n    exports.tokenize = tokenize;\n\n    exports.parse = parse;\n\n    // Deep copy.\n    exports.Syntax = (function () {\n        var name, types = {};\n\n        if (typeof Object.create === 'function') {\n            types = Object.create(null);\n        }\n\n        for (name in Syntax) {\n            if (Syntax.hasOwnProperty(name)) {\n                types[name] = Syntax[name];\n            }\n        }\n\n        if (typeof Object.freeze === 'function') {\n            Object.freeze(types);\n        }\n\n        return types;\n    }());\n\n}));\n/* vim: set sw=4 ts=4 et tw=80 : */\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/README.md",
    "content": "# [React](http://facebook.github.io/react) [![Build Status](https://travis-ci.org/facebook/react.png?branch=master)](https://travis-ci.org/facebook/react)\n\nReact is a JavaScript library for building user interfaces.\n\n* **Just the UI:** Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.\n* **Virtual DOM:** React uses a *virtual DOM* diff implementation for ultra-high performance. It can also render on the server using Node.js — no heavy browser DOM required.\n* **Data flow:** React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding.\n\n[Learn how to use React in your own project.](http://facebook.github.io/react/docs/getting-started.html)\n\n## The `react` npm package has recently changed!\n\nIf you're looking for jeffbski's [React.js](https://github.com/jeffbski/react) project, it's now in `npm` as `reactjs` rather than `react`.\n\n## Examples\n\nWe have several examples [on the website](http://facebook.github.io/react/). Here is the first one to get you started:\n\n```js\n/** @jsx React.DOM */\nvar HelloMessage = React.createClass({\n  render: function() {\n    return <div>Hello {this.props.name}</div>;\n  }\n});\n\nReact.renderComponent(\n  <HelloMessage name=\"John\" />,\n  document.getElementById('container')\n);\n```\n\nThis example will render \"Hello John\" into a container on the page.\n\nYou'll notice that we used an XML-like syntax; [we call it JSX](http://facebook.github.io/react/docs/jsx-in-depth.html). JSX is not required to use React, but it makes code more readable, and writing it feels like writing HTML. A simple transform is included with React that allows converting JSX into native JavaScript for browsers to digest.\n\n## Installation\n\nThe fastest way to get started is to serve JavaScript from the CDN (also available on [CDNJS](http://cdnjs.com/#react)):\n\n```html\n<!-- The core React library -->\n<script src=\"http://fb.me/react-0.8.0.js\"></script>\n<!-- In-browser JSX transformer, remove when pre-compiling JSX. -->\n<script src=\"http://fb.me/JSXTransformer-0.8.0.js\"></script>\n```\n\nWe've also built a [starter kit](http://facebook.github.io/react/downloads/react-0.8.0.zip) which might be useful if this is your first time using React. It includes a webpage with an example of using React with live code.\n\nIf you'd like to use [bower](http://bower.io), it's as easy as:\n\n```sh\nbower install --save react\n```\n\n## Contribute\n\nThe main purpose of this repository is to continue to evolve React core, making it faster and easier to use. If you're interested in helping with that, then keep reading. If you're not interested in helping right now that's ok too. :) Any feedback you have about using React would be greatly appreciated.\n\n### Building Your Copy of React\n\nThe process to build `react.js` is built entirely on top of node.js, using many libraries you may already be familiar with.\n\n#### Prerequisites\n\n* You have `node` installed at v0.10.0+ (it might work at lower versions, we just haven't tested).\n* You are familiar with `npm` and know whether or not you need to use `sudo` when installing packages globally.\n* You are familiar with `git`.\n\n#### Build\n\nOnce you have the repository cloned, building a copy of `react.js` is really easy.\n\n```sh\n# grunt-cli is needed by grunt; you might have this installed already\nnpm install -g grunt-cli\nnpm install\ngrunt build\n```\n\nAt this point, you should now have a `build/` directory populated with everything you need to use React. The examples should all work.\n\n### Grunt\n\nWe use grunt to automate many tasks. Run `grunt -h` to see a mostly complete listing. The important ones to know:\n\n```sh\n# Build and run tests with PhantomJS\ngrunt test\n# Lint the code with JSHint\ngrunt lint\n# Wipe out build directory\ngrunt clean\n```\n\n### More…\n\nThere's only so much we can cram in here. To read more about the community and guidelines for submitting pull requests, please read the [Contributing document](CONTRIBUTING.md).\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/build/JSXTransformer.js",
    "content": "/**\n * JSXTransformer v0.8.0\n */\n!function(e){\"object\"==typeof exports?module.exports=e():\"function\"==typeof define&&define.amd?define(e):\"undefined\"!=typeof window?window.JSXTransformer=e():\"undefined\"!=typeof global?global.JSXTransformer=e():\"undefined\"!=typeof self&&(self.JSXTransformer=e())}(function(){var define,module,exports;return (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);throw new Error(\"Cannot find module '\"+o+\"'\")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.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(require,module,exports){\n\n\n//\n// The shims in this file are not fully implemented shims for the ES5\n// features, but do work for the particular usecases there is in\n// the other modules.\n//\n\nvar toString = Object.prototype.toString;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n// Array.isArray is supported in IE9\nfunction isArray(xs) {\n  return toString.call(xs) === '[object Array]';\n}\nexports.isArray = typeof Array.isArray === 'function' ? Array.isArray : isArray;\n\n// Array.prototype.indexOf is supported in IE9\nexports.indexOf = function indexOf(xs, x) {\n  if (xs.indexOf) return xs.indexOf(x);\n  for (var i = 0; i < xs.length; i++) {\n    if (x === xs[i]) return i;\n  }\n  return -1;\n};\n\n// Array.prototype.filter is supported in IE9\nexports.filter = function filter(xs, fn) {\n  if (xs.filter) return xs.filter(fn);\n  var res = [];\n  for (var i = 0; i < xs.length; i++) {\n    if (fn(xs[i], i, xs)) res.push(xs[i]);\n  }\n  return res;\n};\n\n// Array.prototype.forEach is supported in IE9\nexports.forEach = function forEach(xs, fn, self) {\n  if (xs.forEach) return xs.forEach(fn, self);\n  for (var i = 0; i < xs.length; i++) {\n    fn.call(self, xs[i], i, xs);\n  }\n};\n\n// Array.prototype.map is supported in IE9\nexports.map = function map(xs, fn) {\n  if (xs.map) return xs.map(fn);\n  var out = new Array(xs.length);\n  for (var i = 0; i < xs.length; i++) {\n    out[i] = fn(xs[i], i, xs);\n  }\n  return out;\n};\n\n// Array.prototype.reduce is supported in IE9\nexports.reduce = function reduce(array, callback, opt_initialValue) {\n  if (array.reduce) return array.reduce(callback, opt_initialValue);\n  var value, isValueSet = false;\n\n  if (2 < arguments.length) {\n    value = opt_initialValue;\n    isValueSet = true;\n  }\n  for (var i = 0, l = array.length; l > i; ++i) {\n    if (array.hasOwnProperty(i)) {\n      if (isValueSet) {\n        value = callback(value, array[i], i, array);\n      }\n      else {\n        value = array[i];\n        isValueSet = true;\n      }\n    }\n  }\n\n  return value;\n};\n\n// String.prototype.substr - negative index don't work in IE8\nif ('ab'.substr(-1) !== 'b') {\n  exports.substr = function (str, start, length) {\n    // did we get a negative start, calculate how much it is from the beginning of the string\n    if (start < 0) start = str.length + start;\n\n    // call the original function\n    return str.substr(start, length);\n  };\n} else {\n  exports.substr = function (str, start, length) {\n    return str.substr(start, length);\n  };\n}\n\n// String.prototype.trim is supported in IE9\nexports.trim = function (str) {\n  if (str.trim) return str.trim();\n  return str.replace(/^\\s+|\\s+$/g, '');\n};\n\n// Function.prototype.bind is supported in IE9\nexports.bind = function () {\n  var args = Array.prototype.slice.call(arguments);\n  var fn = args.shift();\n  if (fn.bind) return fn.bind.apply(fn, args);\n  var self = args.shift();\n  return function () {\n    fn.apply(self, args.concat([Array.prototype.slice.call(arguments)]));\n  };\n};\n\n// Object.create is supported in IE9\nfunction create(prototype, properties) {\n  var object;\n  if (prototype === null) {\n    object = { '__proto__' : null };\n  }\n  else {\n    if (typeof prototype !== 'object') {\n      throw new TypeError(\n        'typeof prototype[' + (typeof prototype) + '] != \\'object\\''\n      );\n    }\n    var Type = function () {};\n    Type.prototype = prototype;\n    object = new Type();\n    object.__proto__ = prototype;\n  }\n  if (typeof properties !== 'undefined' && Object.defineProperties) {\n    Object.defineProperties(object, properties);\n  }\n  return object;\n}\nexports.create = typeof Object.create === 'function' ? Object.create : create;\n\n// Object.keys and Object.getOwnPropertyNames is supported in IE9 however\n// they do show a description and number property on Error objects\nfunction notObject(object) {\n  return ((typeof object != \"object\" && typeof object != \"function\") || object === null);\n}\n\nfunction keysShim(object) {\n  if (notObject(object)) {\n    throw new TypeError(\"Object.keys called on a non-object\");\n  }\n\n  var result = [];\n  for (var name in object) {\n    if (hasOwnProperty.call(object, name)) {\n      result.push(name);\n    }\n  }\n  return result;\n}\n\n// getOwnPropertyNames is almost the same as Object.keys one key feature\n//  is that it returns hidden properties, since that can't be implemented,\n//  this feature gets reduced so it just shows the length property on arrays\nfunction propertyShim(object) {\n  if (notObject(object)) {\n    throw new TypeError(\"Object.getOwnPropertyNames called on a non-object\");\n  }\n\n  var result = keysShim(object);\n  if (exports.isArray(object) && exports.indexOf(object, 'length') === -1) {\n    result.push('length');\n  }\n  return result;\n}\n\nvar keys = typeof Object.keys === 'function' ? Object.keys : keysShim;\nvar getOwnPropertyNames = typeof Object.getOwnPropertyNames === 'function' ?\n  Object.getOwnPropertyNames : propertyShim;\n\nif (new Error().hasOwnProperty('description')) {\n  var ERROR_PROPERTY_FILTER = function (obj, array) {\n    if (toString.call(obj) === '[object Error]') {\n      array = exports.filter(array, function (name) {\n        return name !== 'description' && name !== 'number' && name !== 'message';\n      });\n    }\n    return array;\n  };\n\n  exports.keys = function (object) {\n    return ERROR_PROPERTY_FILTER(object, keys(object));\n  };\n  exports.getOwnPropertyNames = function (object) {\n    return ERROR_PROPERTY_FILTER(object, getOwnPropertyNames(object));\n  };\n} else {\n  exports.keys = keys;\n  exports.getOwnPropertyNames = getOwnPropertyNames;\n}\n\n// Object.getOwnPropertyDescriptor - supported in IE8 but only on dom elements\nfunction valueObject(value, key) {\n  return { value: value[key] };\n}\n\nif (typeof Object.getOwnPropertyDescriptor === 'function') {\n  try {\n    Object.getOwnPropertyDescriptor({'a': 1}, 'a');\n    exports.getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n  } catch (e) {\n    // IE8 dom element issue - use a try catch and default to valueObject\n    exports.getOwnPropertyDescriptor = function (value, key) {\n      try {\n        return Object.getOwnPropertyDescriptor(value, key);\n      } catch (e) {\n        return valueObject(value, key);\n      }\n    };\n  }\n} else {\n  exports.getOwnPropertyDescriptor = valueObject;\n}\n\n},{}],2:[function(require,module,exports){\nvar process=require(\"__browserify_process\");// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar util = require('util');\nvar shims = require('_shims');\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n  // if the path tries to go above the root, `up` ends up > 0\n  var up = 0;\n  for (var i = parts.length - 1; i >= 0; i--) {\n    var last = parts[i];\n    if (last === '.') {\n      parts.splice(i, 1);\n    } else if (last === '..') {\n      parts.splice(i, 1);\n      up++;\n    } else if (up) {\n      parts.splice(i, 1);\n      up--;\n    }\n  }\n\n  // if the path is allowed to go above the root, restore leading ..s\n  if (allowAboveRoot) {\n    for (; up--; up) {\n      parts.unshift('..');\n    }\n  }\n\n  return parts;\n}\n\n// Split a filename into [root, dir, basename, ext], unix version\n// 'root' is just a slash, or nothing.\nvar splitPathRe =\n    /^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/;\nvar splitPath = function(filename) {\n  return splitPathRe.exec(filename).slice(1);\n};\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n  var resolvedPath = '',\n      resolvedAbsolute = false;\n\n  for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n    var path = (i >= 0) ? arguments[i] : process.cwd();\n\n    // Skip empty and invalid entries\n    if (!util.isString(path)) {\n      throw new TypeError('Arguments to path.resolve must be strings');\n    } else if (!path) {\n      continue;\n    }\n\n    resolvedPath = path + '/' + resolvedPath;\n    resolvedAbsolute = path.charAt(0) === '/';\n  }\n\n  // At this point the path should be resolved to a full absolute path, but\n  // handle relative paths to be safe (might happen when process.cwd() fails)\n\n  // Normalize the path\n  resolvedPath = normalizeArray(shims.filter(resolvedPath.split('/'), function(p) {\n    return !!p;\n  }), !resolvedAbsolute).join('/');\n\n  return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n  var isAbsolute = exports.isAbsolute(path),\n      trailingSlash = shims.substr(path, -1) === '/';\n\n  // Normalize the path\n  path = normalizeArray(shims.filter(path.split('/'), function(p) {\n    return !!p;\n  }), !isAbsolute).join('/');\n\n  if (!path && !isAbsolute) {\n    path = '.';\n  }\n  if (path && trailingSlash) {\n    path += '/';\n  }\n\n  return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n  return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n  var paths = Array.prototype.slice.call(arguments, 0);\n  return exports.normalize(shims.filter(paths, function(p, index) {\n    if (!util.isString(p)) {\n      throw new TypeError('Arguments to path.join must be strings');\n    }\n    return p;\n  }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n  from = exports.resolve(from).substr(1);\n  to = exports.resolve(to).substr(1);\n\n  function trim(arr) {\n    var start = 0;\n    for (; start < arr.length; start++) {\n      if (arr[start] !== '') break;\n    }\n\n    var end = arr.length - 1;\n    for (; end >= 0; end--) {\n      if (arr[end] !== '') break;\n    }\n\n    if (start > end) return [];\n    return arr.slice(start, end - start + 1);\n  }\n\n  var fromParts = trim(from.split('/'));\n  var toParts = trim(to.split('/'));\n\n  var length = Math.min(fromParts.length, toParts.length);\n  var samePartsLength = length;\n  for (var i = 0; i < length; i++) {\n    if (fromParts[i] !== toParts[i]) {\n      samePartsLength = i;\n      break;\n    }\n  }\n\n  var outputParts = [];\n  for (var i = samePartsLength; i < fromParts.length; i++) {\n    outputParts.push('..');\n  }\n\n  outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n  return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function(path) {\n  var result = splitPath(path),\n      root = result[0],\n      dir = result[1];\n\n  if (!root && !dir) {\n    // No dirname whatsoever\n    return '.';\n  }\n\n  if (dir) {\n    // It has a dirname, strip trailing slash\n    dir = dir.substr(0, dir.length - 1);\n  }\n\n  return root + dir;\n};\n\n\nexports.basename = function(path, ext) {\n  var f = splitPath(path)[2];\n  // TODO: make this comparison case-insensitive on windows?\n  if (ext && f.substr(-1 * ext.length) === ext) {\n    f = f.substr(0, f.length - ext.length);\n  }\n  return f;\n};\n\n\nexports.extname = function(path) {\n  return splitPath(path)[3];\n};\n\n},{\"__browserify_process\":4,\"_shims\":1,\"util\":3}],3:[function(require,module,exports){\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar shims = require('_shims');\n\nvar formatRegExp = /%[sdj%]/g;\nexports.format = function(f) {\n  if (!isString(f)) {\n    var objects = [];\n    for (var i = 0; i < arguments.length; i++) {\n      objects.push(inspect(arguments[i]));\n    }\n    return objects.join(' ');\n  }\n\n  var i = 1;\n  var args = arguments;\n  var len = args.length;\n  var str = String(f).replace(formatRegExp, function(x) {\n    if (x === '%%') return '%';\n    if (i >= len) return x;\n    switch (x) {\n      case '%s': return String(args[i++]);\n      case '%d': return Number(args[i++]);\n      case '%j':\n        try {\n          return JSON.stringify(args[i++]);\n        } catch (_) {\n          return '[Circular]';\n        }\n      default:\n        return x;\n    }\n  });\n  for (var x = args[i]; i < len; x = args[++i]) {\n    if (isNull(x) || !isObject(x)) {\n      str += ' ' + x;\n    } else {\n      str += ' ' + inspect(x);\n    }\n  }\n  return str;\n};\n\n/**\n * Echos the value of a value. Trys to print the value out\n * in the best way possible given the different types.\n *\n * @param {Object} obj The object to print out.\n * @param {Object} opts Optional options object that alters the output.\n */\n/* legacy: obj, showHidden, depth, colors*/\nfunction inspect(obj, opts) {\n  // default options\n  var ctx = {\n    seen: [],\n    stylize: stylizeNoColor\n  };\n  // legacy...\n  if (arguments.length >= 3) ctx.depth = arguments[2];\n  if (arguments.length >= 4) ctx.colors = arguments[3];\n  if (isBoolean(opts)) {\n    // legacy...\n    ctx.showHidden = opts;\n  } else if (opts) {\n    // got an \"options\" object\n    exports._extend(ctx, opts);\n  }\n  // set default options\n  if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n  if (isUndefined(ctx.depth)) ctx.depth = 2;\n  if (isUndefined(ctx.colors)) ctx.colors = false;\n  if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n  if (ctx.colors) ctx.stylize = stylizeWithColor;\n  return formatValue(ctx, obj, ctx.depth);\n}\nexports.inspect = inspect;\n\n\n// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect.colors = {\n  'bold' : [1, 22],\n  'italic' : [3, 23],\n  'underline' : [4, 24],\n  'inverse' : [7, 27],\n  'white' : [37, 39],\n  'grey' : [90, 39],\n  'black' : [30, 39],\n  'blue' : [34, 39],\n  'cyan' : [36, 39],\n  'green' : [32, 39],\n  'magenta' : [35, 39],\n  'red' : [31, 39],\n  'yellow' : [33, 39]\n};\n\n// Don't use 'blue' not visible on cmd.exe\ninspect.styles = {\n  'special': 'cyan',\n  'number': 'yellow',\n  'boolean': 'yellow',\n  'undefined': 'grey',\n  'null': 'bold',\n  'string': 'green',\n  'date': 'magenta',\n  // \"name\": intentionally not styling\n  'regexp': 'red'\n};\n\n\nfunction stylizeWithColor(str, styleType) {\n  var style = inspect.styles[styleType];\n\n  if (style) {\n    return '\\u001b[' + inspect.colors[style][0] + 'm' + str +\n           '\\u001b[' + inspect.colors[style][1] + 'm';\n  } else {\n    return str;\n  }\n}\n\n\nfunction stylizeNoColor(str, styleType) {\n  return str;\n}\n\n\nfunction arrayToHash(array) {\n  var hash = {};\n\n  shims.forEach(array, function(val, idx) {\n    hash[val] = true;\n  });\n\n  return hash;\n}\n\n\nfunction formatValue(ctx, value, recurseTimes) {\n  // Provide a hook for user-specified inspect functions.\n  // Check that value is an object with an inspect function on it\n  if (ctx.customInspect &&\n      value &&\n      isFunction(value.inspect) &&\n      // Filter out the util module, it's inspect function is special\n      value.inspect !== exports.inspect &&\n      // Also filter out any prototype objects using the circular check.\n      !(value.constructor && value.constructor.prototype === value)) {\n    var ret = value.inspect(recurseTimes);\n    if (!isString(ret)) {\n      ret = formatValue(ctx, ret, recurseTimes);\n    }\n    return ret;\n  }\n\n  // Primitive types cannot have properties\n  var primitive = formatPrimitive(ctx, value);\n  if (primitive) {\n    return primitive;\n  }\n\n  // Look up the keys of the object.\n  var keys = shims.keys(value);\n  var visibleKeys = arrayToHash(keys);\n\n  if (ctx.showHidden) {\n    keys = shims.getOwnPropertyNames(value);\n  }\n\n  // Some type of object without properties can be shortcutted.\n  if (keys.length === 0) {\n    if (isFunction(value)) {\n      var name = value.name ? ': ' + value.name : '';\n      return ctx.stylize('[Function' + name + ']', 'special');\n    }\n    if (isRegExp(value)) {\n      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n    }\n    if (isDate(value)) {\n      return ctx.stylize(Date.prototype.toString.call(value), 'date');\n    }\n    if (isError(value)) {\n      return formatError(value);\n    }\n  }\n\n  var base = '', array = false, braces = ['{', '}'];\n\n  // Make Array say that they are Array\n  if (isArray(value)) {\n    array = true;\n    braces = ['[', ']'];\n  }\n\n  // Make functions say that they are functions\n  if (isFunction(value)) {\n    var n = value.name ? ': ' + value.name : '';\n    base = ' [Function' + n + ']';\n  }\n\n  // Make RegExps say that they are RegExps\n  if (isRegExp(value)) {\n    base = ' ' + RegExp.prototype.toString.call(value);\n  }\n\n  // Make dates with properties first say the date\n  if (isDate(value)) {\n    base = ' ' + Date.prototype.toUTCString.call(value);\n  }\n\n  // Make error with message first say the error\n  if (isError(value)) {\n    base = ' ' + formatError(value);\n  }\n\n  if (keys.length === 0 && (!array || value.length == 0)) {\n    return braces[0] + base + braces[1];\n  }\n\n  if (recurseTimes < 0) {\n    if (isRegExp(value)) {\n      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n    } else {\n      return ctx.stylize('[Object]', 'special');\n    }\n  }\n\n  ctx.seen.push(value);\n\n  var output;\n  if (array) {\n    output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n  } else {\n    output = keys.map(function(key) {\n      return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n    });\n  }\n\n  ctx.seen.pop();\n\n  return reduceToSingleString(output, base, braces);\n}\n\n\nfunction formatPrimitive(ctx, value) {\n  if (isUndefined(value))\n    return ctx.stylize('undefined', 'undefined');\n  if (isString(value)) {\n    var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n                                             .replace(/'/g, \"\\\\'\")\n                                             .replace(/\\\\\"/g, '\"') + '\\'';\n    return ctx.stylize(simple, 'string');\n  }\n  if (isNumber(value))\n    return ctx.stylize('' + value, 'number');\n  if (isBoolean(value))\n    return ctx.stylize('' + value, 'boolean');\n  // For some reason typeof null is \"object\", so special case here.\n  if (isNull(value))\n    return ctx.stylize('null', 'null');\n}\n\n\nfunction formatError(value) {\n  return '[' + Error.prototype.toString.call(value) + ']';\n}\n\n\nfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n  var output = [];\n  for (var i = 0, l = value.length; i < l; ++i) {\n    if (hasOwnProperty(value, String(i))) {\n      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n          String(i), true));\n    } else {\n      output.push('');\n    }\n  }\n\n  shims.forEach(keys, function(key) {\n    if (!key.match(/^\\d+$/)) {\n      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n          key, true));\n    }\n  });\n  return output;\n}\n\n\nfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n  var name, str, desc;\n  desc = shims.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n  if (desc.get) {\n    if (desc.set) {\n      str = ctx.stylize('[Getter/Setter]', 'special');\n    } else {\n      str = ctx.stylize('[Getter]', 'special');\n    }\n  } else {\n    if (desc.set) {\n      str = ctx.stylize('[Setter]', 'special');\n    }\n  }\n\n  if (!hasOwnProperty(visibleKeys, key)) {\n    name = '[' + key + ']';\n  }\n  if (!str) {\n    if (shims.indexOf(ctx.seen, desc.value) < 0) {\n      if (isNull(recurseTimes)) {\n        str = formatValue(ctx, desc.value, null);\n      } else {\n        str = formatValue(ctx, desc.value, recurseTimes - 1);\n      }\n      if (str.indexOf('\\n') > -1) {\n        if (array) {\n          str = str.split('\\n').map(function(line) {\n            return '  ' + line;\n          }).join('\\n').substr(2);\n        } else {\n          str = '\\n' + str.split('\\n').map(function(line) {\n            return '   ' + line;\n          }).join('\\n');\n        }\n      }\n    } else {\n      str = ctx.stylize('[Circular]', 'special');\n    }\n  }\n  if (isUndefined(name)) {\n    if (array && key.match(/^\\d+$/)) {\n      return str;\n    }\n    name = JSON.stringify('' + key);\n    if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n      name = name.substr(1, name.length - 2);\n      name = ctx.stylize(name, 'name');\n    } else {\n      name = name.replace(/'/g, \"\\\\'\")\n                 .replace(/\\\\\"/g, '\"')\n                 .replace(/(^\"|\"$)/g, \"'\");\n      name = ctx.stylize(name, 'string');\n    }\n  }\n\n  return name + ': ' + str;\n}\n\n\nfunction reduceToSingleString(output, base, braces) {\n  var numLinesEst = 0;\n  var length = shims.reduce(output, function(prev, cur) {\n    numLinesEst++;\n    if (cur.indexOf('\\n') >= 0) numLinesEst++;\n    return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n  }, 0);\n\n  if (length > 60) {\n    return braces[0] +\n           (base === '' ? '' : base + '\\n ') +\n           ' ' +\n           output.join(',\\n  ') +\n           ' ' +\n           braces[1];\n  }\n\n  return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n}\n\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nfunction isArray(ar) {\n  return shims.isArray(ar);\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n  return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n  return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n  return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n  return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n  return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n  return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n  return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n  return isObject(re) && objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n  return typeof arg === 'object' && arg;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n  return isObject(d) && objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n  return isObject(e) && objectToString(e) === '[object Error]';\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n  return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n  return arg === null ||\n         typeof arg === 'boolean' ||\n         typeof arg === 'number' ||\n         typeof arg === 'string' ||\n         typeof arg === 'symbol' ||  // ES6 symbol\n         typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nfunction isBuffer(arg) {\n  return arg && typeof arg === 'object'\n    && typeof arg.copy === 'function'\n    && typeof arg.fill === 'function'\n    && typeof arg.binarySlice === 'function'\n  ;\n}\nexports.isBuffer = isBuffer;\n\nfunction objectToString(o) {\n  return Object.prototype.toString.call(o);\n}\n\n\nfunction pad(n) {\n  return n < 10 ? '0' + n.toString(10) : n.toString(10);\n}\n\n\nvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n              'Oct', 'Nov', 'Dec'];\n\n// 26 Feb 16:19:34\nfunction timestamp() {\n  var d = new Date();\n  var time = [pad(d.getHours()),\n              pad(d.getMinutes()),\n              pad(d.getSeconds())].join(':');\n  return [d.getDate(), months[d.getMonth()], time].join(' ');\n}\n\n\n// log is just a thin wrapper to console.log that prepends a timestamp\nexports.log = function() {\n  console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n};\n\n\n/**\n * Inherit the prototype methods from one constructor into another.\n *\n * The Function.prototype.inherits from lang.js rewritten as a standalone\n * function (not on Function.prototype). NOTE: If this file is to be loaded\n * during bootstrapping this function needs to be rewritten using some native\n * functions as prototype setup using normal JavaScript does not work as\n * expected during bootstrapping (see mirror.js in r114903).\n *\n * @param {function} ctor Constructor function which needs to inherit the\n *     prototype.\n * @param {function} superCtor Constructor function to inherit prototype from.\n */\nexports.inherits = function(ctor, superCtor) {\n  ctor.super_ = superCtor;\n  ctor.prototype = shims.create(superCtor.prototype, {\n    constructor: {\n      value: ctor,\n      enumerable: false,\n      writable: true,\n      configurable: true\n    }\n  });\n};\n\nexports._extend = function(origin, add) {\n  // Don't do anything if add isn't an object\n  if (!add || !isObject(add)) return origin;\n\n  var keys = shims.keys(add);\n  var i = keys.length;\n  while (i--) {\n    origin[keys[i]] = add[keys[i]];\n  }\n  return origin;\n};\n\nfunction hasOwnProperty(obj, prop) {\n  return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\n},{\"_shims\":1}],4:[function(require,module,exports){\n// shim for using process in browser\n\nvar process = module.exports = {};\n\nprocess.nextTick = (function () {\n    var canSetImmediate = typeof window !== 'undefined'\n    && window.setImmediate;\n    var canPost = typeof window !== 'undefined'\n    && window.postMessage && window.addEventListener\n    ;\n\n    if (canSetImmediate) {\n        return function (f) { return window.setImmediate(f) };\n    }\n\n    if (canPost) {\n        var queue = [];\n        window.addEventListener('message', function (ev) {\n            if (ev.source === window && ev.data === 'process-tick') {\n                ev.stopPropagation();\n                if (queue.length > 0) {\n                    var fn = queue.shift();\n                    fn();\n                }\n            }\n        }, true);\n\n        return function nextTick(fn) {\n            queue.push(fn);\n            window.postMessage('process-tick', '*');\n        };\n    }\n\n    return function nextTick(fn) {\n        setTimeout(fn, 0);\n    };\n})();\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\n\nprocess.binding = function (name) {\n    throw new Error('process.binding is not supported');\n}\n\n// TODO(shtylman)\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n    throw new Error('process.chdir is not supported');\n};\n\n},{}],5:[function(require,module,exports){\n/*\n  Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>\n  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>\n  Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>\n  Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>\n  Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n  Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>\n  Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n  Redistribution and use in source and binary forms, with or without\n  modification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright\n      notice, this list of conditions and the following disclaimer in the\n      documentation and/or other materials provided with the distribution.\n\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n/*jslint bitwise:true plusplus:true */\n/*global esprima:true, define:true, exports:true, window: true,\nthrowError: true, generateStatement: true, peek: true,\nparseAssignmentExpression: true, parseBlock: true,\nparseClassExpression: true, parseClassDeclaration: true, parseExpression: true,\nparseForStatement: true,\nparseFunctionDeclaration: true, parseFunctionExpression: true,\nparseFunctionSourceElements: true, parseVariableIdentifier: true,\nparseImportSpecifier: true,\nparseLeftHandSideExpression: true, parseParams: true, validateParam: true,\nparseSpreadOrAssignmentExpression: true,\nparseStatement: true, parseSourceElement: true, parseModuleBlock: true, parseConciseBody: true,\nadvanceXJSChild: true, isXJSIdentifierStart: true, isXJSIdentifierPart: true,\nscanXJSStringLiteral: true, scanXJSIdentifier: true,\nparseXJSAttributeValue: true, parseXJSChild: true, parseXJSElement: true, parseXJSExpressionContainer: true, parseXJSEmptyExpression: true,\nparseTypeAnnotation: true, parseTypeAnnotatableIdentifier: true,\nparseYieldExpression: true\n*/\n\n(function (root, factory) {\n    'use strict';\n\n    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n    // Rhino, and plain browser loading.\n    if (typeof define === 'function' && define.amd) {\n        define(['exports'], factory);\n    } else if (typeof exports !== 'undefined') {\n        factory(exports);\n    } else {\n        factory((root.esprima = {}));\n    }\n}(this, function (exports) {\n    'use strict';\n\n    var Token,\n        TokenName,\n        FnExprTokens,\n        Syntax,\n        PropertyKind,\n        Messages,\n        Regex,\n        SyntaxTreeDelegate,\n        XHTMLEntities,\n        ClassPropertyType,\n        source,\n        strict,\n        index,\n        lineNumber,\n        lineStart,\n        length,\n        delegate,\n        lookahead,\n        state,\n        extra;\n\n    Token = {\n        BooleanLiteral: 1,\n        EOF: 2,\n        Identifier: 3,\n        Keyword: 4,\n        NullLiteral: 5,\n        NumericLiteral: 6,\n        Punctuator: 7,\n        StringLiteral: 8,\n        RegularExpression: 9,\n        Template: 10,\n        XJSIdentifier: 11,\n        XJSText: 12\n    };\n\n    TokenName = {};\n    TokenName[Token.BooleanLiteral] = 'Boolean';\n    TokenName[Token.EOF] = '<end>';\n    TokenName[Token.Identifier] = 'Identifier';\n    TokenName[Token.Keyword] = 'Keyword';\n    TokenName[Token.NullLiteral] = 'Null';\n    TokenName[Token.NumericLiteral] = 'Numeric';\n    TokenName[Token.Punctuator] = 'Punctuator';\n    TokenName[Token.StringLiteral] = 'String';\n    TokenName[Token.XJSIdentifier] = 'XJSIdentifier';\n    TokenName[Token.XJSText] = 'XJSText';\n    TokenName[Token.RegularExpression] = 'RegularExpression';\n\n    // A function following one of those tokens is an expression.\n    FnExprTokens = [\"(\", \"{\", \"[\", \"in\", \"typeof\", \"instanceof\", \"new\",\n                    \"return\", \"case\", \"delete\", \"throw\", \"void\",\n                    // assignment operators\n                    \"=\", \"+=\", \"-=\", \"*=\", \"/=\", \"%=\", \"<<=\", \">>=\", \">>>=\",\n                    \"&=\", \"|=\", \"^=\", \",\",\n                    // binary/unary operators\n                    \"+\", \"-\", \"*\", \"/\", \"%\", \"++\", \"--\", \"<<\", \">>\", \">>>\", \"&\",\n                    \"|\", \"^\", \"!\", \"~\", \"&&\", \"||\", \"?\", \":\", \"===\", \"==\", \">=\",\n                    \"<=\", \"<\", \">\", \"!=\", \"!==\"];\n\n    Syntax = {\n        ArrayExpression: 'ArrayExpression',\n        ArrayPattern: 'ArrayPattern',\n        ArrowFunctionExpression: 'ArrowFunctionExpression',\n        AssignmentExpression: 'AssignmentExpression',\n        BinaryExpression: 'BinaryExpression',\n        BlockStatement: 'BlockStatement',\n        BreakStatement: 'BreakStatement',\n        CallExpression: 'CallExpression',\n        CatchClause: 'CatchClause',\n        ClassBody: 'ClassBody',\n        ClassDeclaration: 'ClassDeclaration',\n        ClassExpression: 'ClassExpression',\n        ClassHeritage: 'ClassHeritage',\n        ComprehensionBlock: 'ComprehensionBlock',\n        ComprehensionExpression: 'ComprehensionExpression',\n        ConditionalExpression: 'ConditionalExpression',\n        ContinueStatement: 'ContinueStatement',\n        DebuggerStatement: 'DebuggerStatement',\n        DoWhileStatement: 'DoWhileStatement',\n        EmptyStatement: 'EmptyStatement',\n        ExportDeclaration: 'ExportDeclaration',\n        ExportBatchSpecifier: 'ExportBatchSpecifier',\n        ExportSpecifier: 'ExportSpecifier',\n        ExpressionStatement: 'ExpressionStatement',\n        ForInStatement: 'ForInStatement',\n        ForOfStatement: 'ForOfStatement',\n        ForStatement: 'ForStatement',\n        FunctionDeclaration: 'FunctionDeclaration',\n        FunctionExpression: 'FunctionExpression',\n        Identifier: 'Identifier',\n        IfStatement: 'IfStatement',\n        ImportDeclaration: 'ImportDeclaration',\n        ImportSpecifier: 'ImportSpecifier',\n        LabeledStatement: 'LabeledStatement',\n        Literal: 'Literal',\n        LogicalExpression: 'LogicalExpression',\n        MemberExpression: 'MemberExpression',\n        MethodDefinition: 'MethodDefinition',\n        ModuleDeclaration: 'ModuleDeclaration',\n        NewExpression: 'NewExpression',\n        ObjectExpression: 'ObjectExpression',\n        ObjectPattern: 'ObjectPattern',\n        Program: 'Program',\n        Property: 'Property',\n        ReturnStatement: 'ReturnStatement',\n        SequenceExpression: 'SequenceExpression',\n        SpreadElement: 'SpreadElement',\n        SwitchCase: 'SwitchCase',\n        SwitchStatement: 'SwitchStatement',\n        TaggedTemplateExpression: 'TaggedTemplateExpression',\n        TemplateElement: 'TemplateElement',\n        TemplateLiteral: 'TemplateLiteral',\n        ThisExpression: 'ThisExpression',\n        ThrowStatement: 'ThrowStatement',\n        TryStatement: 'TryStatement',\n        TypeAnnotatedIdentifier: 'TypeAnnotatedIdentifier',\n        TypeAnnotation: 'TypeAnnotation',\n        UnaryExpression: 'UnaryExpression',\n        UpdateExpression: 'UpdateExpression',\n        VariableDeclaration: 'VariableDeclaration',\n        VariableDeclarator: 'VariableDeclarator',\n        WhileStatement: 'WhileStatement',\n        WithStatement: 'WithStatement',\n        XJSIdentifier: 'XJSIdentifier',\n        XJSEmptyExpression: 'XJSEmptyExpression',\n        XJSExpressionContainer: 'XJSExpressionContainer',\n        XJSElement: 'XJSElement',\n        XJSClosingElement: 'XJSClosingElement',\n        XJSOpeningElement: 'XJSOpeningElement',\n        XJSAttribute: 'XJSAttribute',\n        XJSText: 'XJSText',\n        YieldExpression: 'YieldExpression'\n    };\n\n    PropertyKind = {\n        Data: 1,\n        Get: 2,\n        Set: 4\n    };\n\n    ClassPropertyType = {\n        static: 'static',\n        prototype: 'prototype'\n    };\n\n    // Error messages should be identical to V8.\n    Messages = {\n        UnexpectedToken:  'Unexpected token %0',\n        UnexpectedNumber:  'Unexpected number',\n        UnexpectedString:  'Unexpected string',\n        UnexpectedIdentifier:  'Unexpected identifier',\n        UnexpectedReserved:  'Unexpected reserved word',\n        UnexpectedTemplate:  'Unexpected quasi %0',\n        UnexpectedEOS:  'Unexpected end of input',\n        NewlineAfterThrow:  'Illegal newline after throw',\n        InvalidRegExp: 'Invalid regular expression',\n        UnterminatedRegExp:  'Invalid regular expression: missing /',\n        InvalidLHSInAssignment:  'Invalid left-hand side in assignment',\n        InvalidLHSInFormalsList:  'Invalid left-hand side in formals list',\n        InvalidLHSInForIn:  'Invalid left-hand side in for-in',\n        MultipleDefaultsInSwitch: 'More than one default clause in switch statement',\n        NoCatchOrFinally:  'Missing catch or finally after try',\n        UnknownLabel: 'Undefined label \\'%0\\'',\n        Redeclaration: '%0 \\'%1\\' has already been declared',\n        IllegalContinue: 'Illegal continue statement',\n        IllegalBreak: 'Illegal break statement',\n        IllegalDuplicateClassProperty: 'Illegal duplicate property in class definition',\n        IllegalReturn: 'Illegal return statement',\n        IllegalYield: 'Illegal yield expression',\n        IllegalSpread: 'Illegal spread element',\n        StrictModeWith:  'Strict mode code may not include a with statement',\n        StrictCatchVariable:  'Catch variable may not be eval or arguments in strict mode',\n        StrictVarName:  'Variable name may not be eval or arguments in strict mode',\n        StrictParamName:  'Parameter name eval or arguments is not allowed in strict mode',\n        StrictParamDupe: 'Strict mode function may not have duplicate parameter names',\n        ParameterAfterRestParameter: 'Rest parameter must be final parameter of an argument list',\n        DefaultRestParameter: 'Rest parameter can not have a default value',\n        ElementAfterSpreadElement: 'Spread must be the final element of an element list',\n        ObjectPatternAsRestParameter: 'Invalid rest parameter',\n        ObjectPatternAsSpread: 'Invalid spread argument',\n        StrictFunctionName:  'Function name may not be eval or arguments in strict mode',\n        StrictOctalLiteral:  'Octal literals are not allowed in strict mode.',\n        StrictDelete:  'Delete of an unqualified identifier in strict mode.',\n        StrictDuplicateProperty:  'Duplicate data property in object literal not allowed in strict mode',\n        AccessorDataProperty:  'Object literal may not have data and accessor property with the same name',\n        AccessorGetSet:  'Object literal may not have multiple get/set accessors with the same name',\n        StrictLHSAssignment:  'Assignment to eval or arguments is not allowed in strict mode',\n        StrictLHSPostfix:  'Postfix increment/decrement may not have eval or arguments operand in strict mode',\n        StrictLHSPrefix:  'Prefix increment/decrement may not have eval or arguments operand in strict mode',\n        StrictReservedWord:  'Use of future reserved word in strict mode',\n        NewlineAfterModule:  'Illegal newline after module',\n        NoFromAfterImport: 'Missing from after import',\n        InvalidModuleSpecifier: 'Invalid module specifier',\n        NestedModule: 'Module declaration can not be nested',\n        NoYieldInGenerator: 'Missing yield in generator',\n        NoUnintializedConst: 'Const must be initialized',\n        ComprehensionRequiresBlock: 'Comprehension must have at least one block',\n        ComprehensionError:  'Comprehension Error',\n        EachNotAllowed:  'Each is not supported',\n        InvalidXJSTagName: 'XJS tag name can not be empty',\n        InvalidXJSAttributeValue: 'XJS value should be either an expression or a quoted XJS text',\n        ExpectedXJSClosingTag: 'Expected corresponding XJS closing tag for %0'\n    };\n\n    // See also tools/generate-unicode-regex.py.\n    Regex = {\n        NonAsciiIdentifierStart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]'),\n        NonAsciiIdentifierPart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0300-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u0483-\\u0487\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0610-\\u061a\\u0620-\\u0669\\u066e-\\u06d3\\u06d5-\\u06dc\\u06df-\\u06e8\\u06ea-\\u06fc\\u06ff\\u0710-\\u074a\\u074d-\\u07b1\\u07c0-\\u07f5\\u07fa\\u0800-\\u082d\\u0840-\\u085b\\u08a0\\u08a2-\\u08ac\\u08e4-\\u08fe\\u0900-\\u0963\\u0966-\\u096f\\u0971-\\u0977\\u0979-\\u097f\\u0981-\\u0983\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bc-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09ce\\u09d7\\u09dc\\u09dd\\u09df-\\u09e3\\u09e6-\\u09f1\\u0a01-\\u0a03\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a59-\\u0a5c\\u0a5e\\u0a66-\\u0a75\\u0a81-\\u0a83\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abc-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ad0\\u0ae0-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3c-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5c\\u0b5d\\u0b5f-\\u0b63\\u0b66-\\u0b6f\\u0b71\\u0b82\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd0\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c58\\u0c59\\u0c60-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbc-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0cde\\u0ce0-\\u0ce3\\u0ce6-\\u0cef\\u0cf1\\u0cf2\\u0d02\\u0d03\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4e\\u0d57\\u0d60-\\u0d63\\u0d66-\\u0d6f\\u0d7a-\\u0d7f\\u0d82\\u0d83\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e01-\\u0e3a\\u0e40-\\u0e4e\\u0e50-\\u0e59\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb9\\u0ebb-\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0edc-\\u0edf\\u0f00\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e-\\u0f47\\u0f49-\\u0f6c\\u0f71-\\u0f84\\u0f86-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1049\\u1050-\\u109d\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u135d-\\u135f\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176c\\u176e-\\u1770\\u1772\\u1773\\u1780-\\u17d3\\u17d7\\u17dc\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a1b\\u1a20-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1aa7\\u1b00-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1bf3\\u1c00-\\u1c37\\u1c40-\\u1c49\\u1c4d-\\u1c7d\\u1cd0-\\u1cd2\\u1cd4-\\u1cf6\\u1d00-\\u1de6\\u1dfc-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u200c\\u200d\\u203f\\u2040\\u2054\\u2071\\u207f\\u2090-\\u209c\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d7f-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2de0-\\u2dff\\u2e2f\\u3005-\\u3007\\u3021-\\u302f\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u3099\\u309a\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua62b\\ua640-\\ua66f\\ua674-\\ua67d\\ua67f-\\ua697\\ua69f-\\ua6f1\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua827\\ua840-\\ua873\\ua880-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f7\\ua8fb\\ua900-\\ua92d\\ua930-\\ua953\\ua960-\\ua97c\\ua980-\\ua9c0\\ua9cf-\\ua9d9\\uaa00-\\uaa36\\uaa40-\\uaa4d\\uaa50-\\uaa59\\uaa60-\\uaa76\\uaa7a\\uaa7b\\uaa80-\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaef\\uaaf2-\\uaaf6\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff10-\\uff19\\uff21-\\uff3a\\uff3f\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]')\n    };\n\n    // Ensure the condition is true, otherwise throw an error.\n    // This is only to have a better contract semantic, i.e. another safety net\n    // to catch a logic error. The condition shall be fulfilled in normal case.\n    // Do NOT use this to enforce a certain condition on any user input.\n\n    function assert(condition, message) {\n        if (!condition) {\n            throw new Error('ASSERT: ' + message);\n        }\n    }\n\n    function isDecimalDigit(ch) {\n        return (ch >= 48 && ch <= 57);   // 0..9\n    }\n\n    function isHexDigit(ch) {\n        return '0123456789abcdefABCDEF'.indexOf(ch) >= 0;\n    }\n\n    function isOctalDigit(ch) {\n        return '01234567'.indexOf(ch) >= 0;\n    }\n\n\n    // 7.2 White Space\n\n    function isWhiteSpace(ch) {\n        return (ch === 32) ||  // space\n            (ch === 9) ||      // tab\n            (ch === 0xB) ||\n            (ch === 0xC) ||\n            (ch === 0xA0) ||\n            (ch >= 0x1680 && '\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\uFEFF'.indexOf(String.fromCharCode(ch)) > 0);\n    }\n\n    // 7.3 Line Terminators\n\n    function isLineTerminator(ch) {\n        return (ch === 10) || (ch === 13) || (ch === 0x2028) || (ch === 0x2029);\n    }\n\n    // 7.6 Identifier Names and Identifiers\n\n    function isIdentifierStart(ch) {\n        return (ch === 36) || (ch === 95) ||  // $ (dollar) and _ (underscore)\n            (ch >= 65 && ch <= 90) ||         // A..Z\n            (ch >= 97 && ch <= 122) ||        // a..z\n            (ch === 92) ||                    // \\ (backslash)\n            ((ch >= 0x80) && Regex.NonAsciiIdentifierStart.test(String.fromCharCode(ch)));\n    }\n\n    function isIdentifierPart(ch) {\n        return (ch === 36) || (ch === 95) ||  // $ (dollar) and _ (underscore)\n            (ch >= 65 && ch <= 90) ||         // A..Z\n            (ch >= 97 && ch <= 122) ||        // a..z\n            (ch >= 48 && ch <= 57) ||         // 0..9\n            (ch === 92) ||                    // \\ (backslash)\n            ((ch >= 0x80) && Regex.NonAsciiIdentifierPart.test(String.fromCharCode(ch)));\n    }\n\n    // 7.6.1.2 Future Reserved Words\n\n    function isFutureReservedWord(id) {\n        switch (id) {\n        case 'class':\n        case 'enum':\n        case 'export':\n        case 'extends':\n        case 'import':\n        case 'super':\n            return true;\n        default:\n            return false;\n        }\n    }\n\n    function isStrictModeReservedWord(id) {\n        switch (id) {\n        case 'implements':\n        case 'interface':\n        case 'package':\n        case 'private':\n        case 'protected':\n        case 'public':\n        case 'static':\n        case 'yield':\n        case 'let':\n            return true;\n        default:\n            return false;\n        }\n    }\n\n    function isRestrictedWord(id) {\n        return id === 'eval' || id === 'arguments';\n    }\n\n    // 7.6.1.1 Keywords\n\n    function isKeyword(id) {\n        if (strict && isStrictModeReservedWord(id)) {\n            return true;\n        }\n\n        // 'const' is specialized as Keyword in V8.\n        // 'yield' and 'let' are for compatiblity with SpiderMonkey and ES.next.\n        // Some others are from future reserved words.\n\n        switch (id.length) {\n        case 2:\n            return (id === 'if') || (id === 'in') || (id === 'do');\n        case 3:\n            return (id === 'var') || (id === 'for') || (id === 'new') ||\n                (id === 'try') || (id === 'let');\n        case 4:\n            return (id === 'this') || (id === 'else') || (id === 'case') ||\n                (id === 'void') || (id === 'with') || (id === 'enum');\n        case 5:\n            return (id === 'while') || (id === 'break') || (id === 'catch') ||\n                (id === 'throw') || (id === 'const') || (id === 'yield') ||\n                (id === 'class') || (id === 'super');\n        case 6:\n            return (id === 'return') || (id === 'typeof') || (id === 'delete') ||\n                (id === 'switch') || (id === 'export') || (id === 'import');\n        case 7:\n            return (id === 'default') || (id === 'finally') || (id === 'extends');\n        case 8:\n            return (id === 'function') || (id === 'continue') || (id === 'debugger');\n        case 10:\n            return (id === 'instanceof');\n        default:\n            return false;\n        }\n    }\n\n    // 7.4 Comments\n\n    function skipComment() {\n        var ch, blockComment, lineComment;\n\n        blockComment = false;\n        lineComment = false;\n\n        while (index < length) {\n            ch = source.charCodeAt(index);\n\n            if (lineComment) {\n                ++index;\n                if (isLineTerminator(ch)) {\n                    lineComment = false;\n                    if (ch === 13 && source.charCodeAt(index) === 10) {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    lineStart = index;\n                }\n            } else if (blockComment) {\n                if (isLineTerminator(ch)) {\n                    if (ch === 13 && source.charCodeAt(index + 1) === 10) {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    ++index;\n                    lineStart = index;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    ch = source.charCodeAt(index++);\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                    // Block comment ends with '*/' (char #42, char #47).\n                    if (ch === 42) {\n                        ch = source.charCodeAt(index);\n                        if (ch === 47) {\n                            ++index;\n                            blockComment = false;\n                        }\n                    }\n                }\n            } else if (ch === 47) {\n                ch = source.charCodeAt(index + 1);\n                // Line comment starts with '//' (char #47, char #47).\n                if (ch === 47) {\n                    index += 2;\n                    lineComment = true;\n                } else if (ch === 42) {\n                    // Block comment starts with '/*' (char #47, char #42).\n                    index += 2;\n                    blockComment = true;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    break;\n                }\n            } else if (isWhiteSpace(ch)) {\n                ++index;\n            } else if (isLineTerminator(ch)) {\n                ++index;\n                if (ch === 13 && source.charCodeAt(index) === 10) {\n                    ++index;\n                }\n                ++lineNumber;\n                lineStart = index;\n            } else {\n                break;\n            }\n        }\n    }\n\n    function scanHexEscape(prefix) {\n        var i, len, ch, code = 0;\n\n        len = (prefix === 'u') ? 4 : 2;\n        for (i = 0; i < len; ++i) {\n            if (index < length && isHexDigit(source[index])) {\n                ch = source[index++];\n                code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n            } else {\n                return '';\n            }\n        }\n        return String.fromCharCode(code);\n    }\n\n    function scanUnicodeCodePointEscape() {\n        var ch, code, cu1, cu2;\n\n        ch = source[index];\n        code = 0;\n\n        // At least, one hex digit is required.\n        if (ch === '}') {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        while (index < length) {\n            ch = source[index++];\n            if (!isHexDigit(ch)) {\n                break;\n            }\n            code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n        }\n\n        if (code > 0x10FFFF || ch !== '}') {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        // UTF-16 Encoding\n        if (code <= 0xFFFF) {\n            return String.fromCharCode(code);\n        }\n        cu1 = ((code - 0x10000) >> 10) + 0xD800;\n        cu2 = ((code - 0x10000) & 1023) + 0xDC00;\n        return String.fromCharCode(cu1, cu2);\n    }\n\n    function getEscapedIdentifier() {\n        var ch, id;\n\n        ch = source.charCodeAt(index++);\n        id = String.fromCharCode(ch);\n\n        // '\\u' (char #92, char #117) denotes an escaped character.\n        if (ch === 92) {\n            if (source.charCodeAt(index) !== 117) {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n            ++index;\n            ch = scanHexEscape('u');\n            if (!ch || ch === '\\\\' || !isIdentifierStart(ch.charCodeAt(0))) {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n            id = ch;\n        }\n\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            if (!isIdentifierPart(ch)) {\n                break;\n            }\n            ++index;\n            id += String.fromCharCode(ch);\n\n            // '\\u' (char #92, char #117) denotes an escaped character.\n            if (ch === 92) {\n                id = id.substr(0, id.length - 1);\n                if (source.charCodeAt(index) !== 117) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n                ++index;\n                ch = scanHexEscape('u');\n                if (!ch || ch === '\\\\' || !isIdentifierPart(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n                id += ch;\n            }\n        }\n\n        return id;\n    }\n\n    function getIdentifier() {\n        var start, ch;\n\n        start = index++;\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            if (ch === 92) {\n                // Blackslash (char #92) marks Unicode escape sequence.\n                index = start;\n                return getEscapedIdentifier();\n            }\n            if (isIdentifierPart(ch)) {\n                ++index;\n            } else {\n                break;\n            }\n        }\n\n        return source.slice(start, index);\n    }\n\n    function scanIdentifier() {\n        var start, id, type;\n\n        start = index;\n\n        // Backslash (char #92) starts an escaped character.\n        id = (source.charCodeAt(index) === 92) ? getEscapedIdentifier() : getIdentifier();\n\n        // There is no keyword or literal with only one character.\n        // Thus, it must be an identifier.\n        if (id.length === 1) {\n            type = Token.Identifier;\n        } else if (isKeyword(id)) {\n            type = Token.Keyword;\n        } else if (id === 'null') {\n            type = Token.NullLiteral;\n        } else if (id === 'true' || id === 'false') {\n            type = Token.BooleanLiteral;\n        } else {\n            type = Token.Identifier;\n        }\n\n        return {\n            type: type,\n            value: id,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n\n    // 7.7 Punctuators\n\n    function scanPunctuator() {\n        var start = index,\n            code = source.charCodeAt(index),\n            code2,\n            ch1 = source[index],\n            ch2,\n            ch3,\n            ch4;\n\n        switch (code) {\n        // Check for most common single-character punctuators.\n        case 40:   // ( open bracket\n        case 41:   // ) close bracket\n        case 59:   // ; semicolon\n        case 44:   // , comma\n        case 123:  // { open curly brace\n        case 125:  // } close curly brace\n        case 91:   // [\n        case 93:   // ]\n        case 58:   // :\n        case 63:   // ?\n        case 126:  // ~\n            ++index;\n            if (extra.tokenize) {\n                if (code === 40) {\n                    extra.openParenToken = extra.tokens.length;\n                } else if (code === 123) {\n                    extra.openCurlyToken = extra.tokens.length;\n                }\n            }\n            return {\n                type: Token.Punctuator,\n                value: String.fromCharCode(code),\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n\n        default:\n            code2 = source.charCodeAt(index + 1);\n\n            // '=' (char #61) marks an assignment or comparison operator.\n            if (code2 === 61) {\n                switch (code) {\n                case 37:  // %\n                case 38:  // &\n                case 42:  // *:\n                case 43:  // +\n                case 45:  // -\n                case 47:  // /\n                case 60:  // <\n                case 62:  // >\n                case 94:  // ^\n                case 124: // |\n                    index += 2;\n                    return {\n                        type: Token.Punctuator,\n                        value: String.fromCharCode(code) + String.fromCharCode(code2),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n\n                case 33: // !\n                case 61: // =\n                    index += 2;\n\n                    // !== and ===\n                    if (source.charCodeAt(index) === 61) {\n                        ++index;\n                    }\n                    return {\n                        type: Token.Punctuator,\n                        value: source.slice(start, index),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n                default:\n                    break;\n                }\n            }\n            break;\n        }\n\n        // Peek more characters.\n\n        ch2 = source[index + 1];\n        ch3 = source[index + 2];\n        ch4 = source[index + 3];\n\n        // 4-character punctuator: >>>=\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n            if (ch4 === '=') {\n                index += 4;\n                return {\n                    type: Token.Punctuator,\n                    value: '>>>=',\n                    lineNumber: lineNumber,\n                    lineStart: lineStart,\n                    range: [start, index]\n                };\n            }\n        }\n\n        // 3-character punctuators: === !== >>> <<= >>=\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '>>>',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '<' && ch2 === '<' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '<<=',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '>>=',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '.' && ch2 === '.' && ch3 === '.') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '...',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        // Other 2-character punctuators: ++ -- << >> && ||\n\n        if (ch1 === ch2 && ('+-<>&|'.indexOf(ch1) >= 0)) {\n            index += 2;\n            return {\n                type: Token.Punctuator,\n                value: ch1 + ch2,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '=' && ch2 === '>') {\n            index += 2;\n            return {\n                type: Token.Punctuator,\n                value: '=>',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if ('<>=!+-*%&|^/'.indexOf(ch1) >= 0) {\n            ++index;\n            return {\n                type: Token.Punctuator,\n                value: ch1,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '.') {\n            ++index;\n            return {\n                type: Token.Punctuator,\n                value: ch1,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n    }\n\n    // 7.8.3 Numeric Literals\n\n    function scanHexLiteral(start) {\n        var number = '';\n\n        while (index < length) {\n            if (!isHexDigit(source[index])) {\n                break;\n            }\n            number += source[index++];\n        }\n\n        if (number.length === 0) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseInt('0x' + number, 16),\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanOctalLiteral(prefix, start) {\n        var number, octal;\n\n        if (isOctalDigit(prefix)) {\n            octal = true;\n            number = '0' + source[index++];\n        } else {\n            octal = false;\n            ++index;\n            number = '';\n        }\n\n        while (index < length) {\n            if (!isOctalDigit(source[index])) {\n                break;\n            }\n            number += source[index++];\n        }\n\n        if (!octal && number.length === 0) {\n            // only 0o or 0O\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index)) || isDecimalDigit(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseInt(number, 8),\n            octal: octal,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanNumericLiteral() {\n        var number, start, ch, octal;\n\n        ch = source[index];\n        assert(isDecimalDigit(ch.charCodeAt(0)) || (ch === '.'),\n            'Numeric literal must start with a decimal digit or a decimal point');\n\n        start = index;\n        number = '';\n        if (ch !== '.') {\n            number = source[index++];\n            ch = source[index];\n\n            // Hex number starts with '0x'.\n            // Octal number starts with '0'.\n            // Octal number in ES6 starts with '0o'.\n            // Binary number in ES6 starts with '0b'.\n            if (number === '0') {\n                if (ch === 'x' || ch === 'X') {\n                    ++index;\n                    return scanHexLiteral(start);\n                }\n                if (ch === 'b' || ch === 'B') {\n                    ++index;\n                    number = '';\n\n                    while (index < length) {\n                        ch = source[index];\n                        if (ch !== '0' && ch !== '1') {\n                            break;\n                        }\n                        number += source[index++];\n                    }\n\n                    if (number.length === 0) {\n                        // only 0b or 0B\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n\n                    if (index < length) {\n                        ch = source.charCodeAt(index);\n                        if (isIdentifierStart(ch) || isDecimalDigit(ch)) {\n                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                        }\n                    }\n                    return {\n                        type: Token.NumericLiteral,\n                        value: parseInt(number, 2),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n                }\n                if (ch === 'o' || ch === 'O' || isOctalDigit(ch)) {\n                    return scanOctalLiteral(ch, start);\n                }\n                // decimal number starts with '0' such as '09' is illegal.\n                if (ch && isDecimalDigit(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n            }\n\n            while (isDecimalDigit(source.charCodeAt(index))) {\n                number += source[index++];\n            }\n            ch = source[index];\n        }\n\n        if (ch === '.') {\n            number += source[index++];\n            while (isDecimalDigit(source.charCodeAt(index))) {\n                number += source[index++];\n            }\n            ch = source[index];\n        }\n\n        if (ch === 'e' || ch === 'E') {\n            number += source[index++];\n\n            ch = source[index];\n            if (ch === '+' || ch === '-') {\n                number += source[index++];\n            }\n            if (isDecimalDigit(source.charCodeAt(index))) {\n                while (isDecimalDigit(source.charCodeAt(index))) {\n                    number += source[index++];\n                }\n            } else {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseFloat(number),\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    // 7.8.4 String Literals\n\n    function scanStringLiteral() {\n        var str = '', quote, start, ch, code, unescaped, restore, octal = false;\n\n        quote = source[index];\n        assert((quote === '\\'' || quote === '\"'),\n            'String literal must starts with a quote');\n\n        start = index;\n        ++index;\n\n        while (index < length) {\n            ch = source[index++];\n\n            if (ch === quote) {\n                quote = '';\n                break;\n            } else if (ch === '\\\\') {\n                ch = source[index++];\n                if (!ch || !isLineTerminator(ch.charCodeAt(0))) {\n                    switch (ch) {\n                    case 'n':\n                        str += '\\n';\n                        break;\n                    case 'r':\n                        str += '\\r';\n                        break;\n                    case 't':\n                        str += '\\t';\n                        break;\n                    case 'u':\n                    case 'x':\n                        if (source[index] === '{') {\n                            ++index;\n                            str += scanUnicodeCodePointEscape();\n                        } else {\n                            restore = index;\n                            unescaped = scanHexEscape(ch);\n                            if (unescaped) {\n                                str += unescaped;\n                            } else {\n                                index = restore;\n                                str += ch;\n                            }\n                        }\n                        break;\n                    case 'b':\n                        str += '\\b';\n                        break;\n                    case 'f':\n                        str += '\\f';\n                        break;\n                    case 'v':\n                        str += '\\x0B';\n                        break;\n\n                    default:\n                        if (isOctalDigit(ch)) {\n                            code = '01234567'.indexOf(ch);\n\n                            // \\0 is not octal escape sequence\n                            if (code !== 0) {\n                                octal = true;\n                            }\n\n                            if (index < length && isOctalDigit(source[index])) {\n                                octal = true;\n                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n                                // 3 digits are only allowed when string starts\n                                // with 0, 1, 2, 3\n                                if ('0123'.indexOf(ch) >= 0 &&\n                                        index < length &&\n                                        isOctalDigit(source[index])) {\n                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n                                }\n                            }\n                            str += String.fromCharCode(code);\n                        } else {\n                            str += ch;\n                        }\n                        break;\n                    }\n                } else {\n                    ++lineNumber;\n                    if (ch ===  '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                }\n            } else if (isLineTerminator(ch.charCodeAt(0))) {\n                break;\n            } else {\n                str += ch;\n            }\n        }\n\n        if (quote !== '') {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.StringLiteral,\n            value: str,\n            octal: octal,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanTemplate() {\n        var cooked = '', ch, start, terminated, tail, restore, unescaped, code, octal;\n\n        terminated = false;\n        tail = false;\n        start = index;\n\n        ++index;\n\n        while (index < length) {\n            ch = source[index++];\n            if (ch === '`') {\n                tail = true;\n                terminated = true;\n                break;\n            } else if (ch === '$') {\n                if (source[index] === '{') {\n                    ++index;\n                    terminated = true;\n                    break;\n                }\n                cooked += ch;\n            } else if (ch === '\\\\') {\n                ch = source[index++];\n                if (!isLineTerminator(ch.charCodeAt(0))) {\n                    switch (ch) {\n                    case 'n':\n                        cooked += '\\n';\n                        break;\n                    case 'r':\n                        cooked += '\\r';\n                        break;\n                    case 't':\n                        cooked += '\\t';\n                        break;\n                    case 'u':\n                    case 'x':\n                        if (source[index] === '{') {\n                            ++index;\n                            cooked += scanUnicodeCodePointEscape();\n                        } else {\n                            restore = index;\n                            unescaped = scanHexEscape(ch);\n                            if (unescaped) {\n                                cooked += unescaped;\n                            } else {\n                                index = restore;\n                                cooked += ch;\n                            }\n                        }\n                        break;\n                    case 'b':\n                        cooked += '\\b';\n                        break;\n                    case 'f':\n                        cooked += '\\f';\n                        break;\n                    case 'v':\n                        cooked += '\\v';\n                        break;\n\n                    default:\n                        if (isOctalDigit(ch)) {\n                            code = '01234567'.indexOf(ch);\n\n                            // \\0 is not octal escape sequence\n                            if (code !== 0) {\n                                octal = true;\n                            }\n\n                            if (index < length && isOctalDigit(source[index])) {\n                                octal = true;\n                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n                                // 3 digits are only allowed when string starts\n                                // with 0, 1, 2, 3\n                                if ('0123'.indexOf(ch) >= 0 &&\n                                        index < length &&\n                                        isOctalDigit(source[index])) {\n                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n                                }\n                            }\n                            cooked += String.fromCharCode(code);\n                        } else {\n                            cooked += ch;\n                        }\n                        break;\n                    }\n                } else {\n                    ++lineNumber;\n                    if (ch ===  '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                }\n            } else if (isLineTerminator(ch.charCodeAt(0))) {\n                ++lineNumber;\n                if (ch ===  '\\r' && source[index] === '\\n') {\n                    ++index;\n                }\n                cooked += '\\n';\n            } else {\n                cooked += ch;\n            }\n        }\n\n        if (!terminated) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.Template,\n            value: {\n                cooked: cooked,\n                raw: source.slice(start + 1, index - ((tail) ? 1 : 2))\n            },\n            tail: tail,\n            octal: octal,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanTemplateElement(option) {\n        var startsWith, template;\n\n        lookahead = null;\n        skipComment();\n\n        startsWith = (option.head) ? '`' : '}';\n\n        if (source[index] !== startsWith) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        template = scanTemplate();\n\n        peek();\n\n        return template;\n    }\n\n    function scanRegExp() {\n        var str, ch, start, pattern, flags, value, classMarker = false, restore, terminated = false;\n\n        lookahead = null;\n        skipComment();\n\n        start = index;\n        ch = source[index];\n        assert(ch === '/', 'Regular expression literal must start with a slash');\n        str = source[index++];\n\n        while (index < length) {\n            ch = source[index++];\n            str += ch;\n            if (classMarker) {\n                if (ch === ']') {\n                    classMarker = false;\n                }\n            } else {\n                if (ch === '\\\\') {\n                    ch = source[index++];\n                    // ECMA-262 7.8.5\n                    if (isLineTerminator(ch.charCodeAt(0))) {\n                        throwError({}, Messages.UnterminatedRegExp);\n                    }\n                    str += ch;\n                } else if (ch === '/') {\n                    terminated = true;\n                    break;\n                } else if (ch === '[') {\n                    classMarker = true;\n                } else if (isLineTerminator(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnterminatedRegExp);\n                }\n            }\n        }\n\n        if (!terminated) {\n            throwError({}, Messages.UnterminatedRegExp);\n        }\n\n        // Exclude leading and trailing slash.\n        pattern = str.substr(1, str.length - 2);\n\n        flags = '';\n        while (index < length) {\n            ch = source[index];\n            if (!isIdentifierPart(ch.charCodeAt(0))) {\n                break;\n            }\n\n            ++index;\n            if (ch === '\\\\' && index < length) {\n                ch = source[index];\n                if (ch === 'u') {\n                    ++index;\n                    restore = index;\n                    ch = scanHexEscape('u');\n                    if (ch) {\n                        flags += ch;\n                        for (str += '\\\\u'; restore < index; ++restore) {\n                            str += source[restore];\n                        }\n                    } else {\n                        index = restore;\n                        flags += 'u';\n                        str += '\\\\u';\n                    }\n                } else {\n                    str += '\\\\';\n                }\n            } else {\n                flags += ch;\n                str += ch;\n            }\n        }\n\n        try {\n            value = new RegExp(pattern, flags);\n        } catch (e) {\n            throwError({}, Messages.InvalidRegExp);\n        }\n\n        peek();\n\n\n        if (extra.tokenize) {\n            return {\n                type: Token.RegularExpression,\n                value: value,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n        return {\n            literal: str,\n            value: value,\n            range: [start, index]\n        };\n    }\n\n    function isIdentifierName(token) {\n        return token.type === Token.Identifier ||\n            token.type === Token.Keyword ||\n            token.type === Token.BooleanLiteral ||\n            token.type === Token.NullLiteral;\n    }\n\n    function advanceSlash() {\n        var prevToken,\n            checkToken;\n        // Using the following algorithm:\n        // https://github.com/mozilla/sweet.js/wiki/design\n        prevToken = extra.tokens[extra.tokens.length - 1];\n        if (!prevToken) {\n            // Nothing before that: it cannot be a division.\n            return scanRegExp();\n        }\n        if (prevToken.type === \"Punctuator\") {\n            if (prevToken.value === \")\") {\n                checkToken = extra.tokens[extra.openParenToken - 1];\n                if (checkToken &&\n                        checkToken.type === \"Keyword\" &&\n                        (checkToken.value === \"if\" ||\n                         checkToken.value === \"while\" ||\n                         checkToken.value === \"for\" ||\n                         checkToken.value === \"with\")) {\n                    return scanRegExp();\n                }\n                return scanPunctuator();\n            }\n            if (prevToken.value === \"}\") {\n                // Dividing a function by anything makes little sense,\n                // but we have to check for that.\n                if (extra.tokens[extra.openCurlyToken - 3] &&\n                        extra.tokens[extra.openCurlyToken - 3].type === \"Keyword\") {\n                    // Anonymous function.\n                    checkToken = extra.tokens[extra.openCurlyToken - 4];\n                    if (!checkToken) {\n                        return scanPunctuator();\n                    }\n                } else if (extra.tokens[extra.openCurlyToken - 4] &&\n                        extra.tokens[extra.openCurlyToken - 4].type === \"Keyword\") {\n                    // Named function.\n                    checkToken = extra.tokens[extra.openCurlyToken - 5];\n                    if (!checkToken) {\n                        return scanRegExp();\n                    }\n                } else {\n                    return scanPunctuator();\n                }\n                // checkToken determines whether the function is\n                // a declaration or an expression.\n                if (FnExprTokens.indexOf(checkToken.value) >= 0) {\n                    // It is an expression.\n                    return scanPunctuator();\n                }\n                // It is a declaration.\n                return scanRegExp();\n            }\n            return scanRegExp();\n        }\n        if (prevToken.type === \"Keyword\") {\n            return scanRegExp();\n        }\n        return scanPunctuator();\n    }\n\n    function advance() {\n        var ch;\n\n        if (state.inXJSChild) {\n            return advanceXJSChild();\n        }\n\n        skipComment();\n\n        if (index >= length) {\n            return {\n                type: Token.EOF,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [index, index]\n            };\n        }\n\n        ch = source.charCodeAt(index);\n\n        // Very common: ( and ) and ;\n        if (ch === 40 || ch === 41 || ch === 58) {\n            return scanPunctuator();\n        }\n\n        // String literal starts with single quote (#39) or double quote (#34).\n        if (ch === 39 || ch === 34) {\n            if (state.inXJSTag) {\n                return scanXJSStringLiteral();\n            }\n            return scanStringLiteral();\n        }\n\n        if (state.inXJSTag && isXJSIdentifierStart(ch)) {\n            return scanXJSIdentifier();\n        }\n\n        if (ch === 96) {\n            return scanTemplate();\n        }\n        if (isIdentifierStart(ch)) {\n            return scanIdentifier();\n        }\n\n        // Dot (.) char #46 can also start a floating-point number, hence the need\n        // to check the next character.\n        if (ch === 46) {\n            if (isDecimalDigit(source.charCodeAt(index + 1))) {\n                return scanNumericLiteral();\n            }\n            return scanPunctuator();\n        }\n\n        if (isDecimalDigit(ch)) {\n            return scanNumericLiteral();\n        }\n\n        // Slash (/) char #47 can also start a regex.\n        if (extra.tokenize && ch === 47) {\n            return advanceSlash();\n        }\n\n        return scanPunctuator();\n    }\n\n    function lex() {\n        var token;\n\n        token = lookahead;\n        index = token.range[1];\n        lineNumber = token.lineNumber;\n        lineStart = token.lineStart;\n\n        lookahead = advance();\n\n        index = token.range[1];\n        lineNumber = token.lineNumber;\n        lineStart = token.lineStart;\n\n        return token;\n    }\n\n    function peek() {\n        var pos, line, start;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n        lookahead = advance();\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n    }\n\n    function lookahead2() {\n        var adv, pos, line, start, result;\n\n        // If we are collecting the tokens, don't grab the next one yet.\n        adv = (typeof extra.advance === 'function') ? extra.advance : advance;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n\n        // Scan for the next immediate token.\n        if (lookahead === null) {\n            lookahead = adv();\n        }\n        index = lookahead.range[1];\n        lineNumber = lookahead.lineNumber;\n        lineStart = lookahead.lineStart;\n\n        // Grab the token right after.\n        result = adv();\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n\n        return result;\n    }\n\n    SyntaxTreeDelegate = {\n\n        name: 'SyntaxTree',\n\n        postProcess: function (node) {\n            return node;\n        },\n\n        createArrayExpression: function (elements) {\n            return {\n                type: Syntax.ArrayExpression,\n                elements: elements\n            };\n        },\n\n        createAssignmentExpression: function (operator, left, right) {\n            return {\n                type: Syntax.AssignmentExpression,\n                operator: operator,\n                left: left,\n                right: right\n            };\n        },\n\n        createBinaryExpression: function (operator, left, right) {\n            var type = (operator === '||' || operator === '&&') ? Syntax.LogicalExpression :\n                        Syntax.BinaryExpression;\n            return {\n                type: type,\n                operator: operator,\n                left: left,\n                right: right\n            };\n        },\n\n        createBlockStatement: function (body) {\n            return {\n                type: Syntax.BlockStatement,\n                body: body\n            };\n        },\n\n        createBreakStatement: function (label) {\n            return {\n                type: Syntax.BreakStatement,\n                label: label\n            };\n        },\n\n        createCallExpression: function (callee, args) {\n            return {\n                type: Syntax.CallExpression,\n                callee: callee,\n                'arguments': args\n            };\n        },\n\n        createCatchClause: function (param, body) {\n            return {\n                type: Syntax.CatchClause,\n                param: param,\n                body: body\n            };\n        },\n\n        createConditionalExpression: function (test, consequent, alternate) {\n            return {\n                type: Syntax.ConditionalExpression,\n                test: test,\n                consequent: consequent,\n                alternate: alternate\n            };\n        },\n\n        createContinueStatement: function (label) {\n            return {\n                type: Syntax.ContinueStatement,\n                label: label\n            };\n        },\n\n        createDebuggerStatement: function () {\n            return {\n                type: Syntax.DebuggerStatement\n            };\n        },\n\n        createDoWhileStatement: function (body, test) {\n            return {\n                type: Syntax.DoWhileStatement,\n                body: body,\n                test: test\n            };\n        },\n\n        createEmptyStatement: function () {\n            return {\n                type: Syntax.EmptyStatement\n            };\n        },\n\n        createExpressionStatement: function (expression) {\n            return {\n                type: Syntax.ExpressionStatement,\n                expression: expression\n            };\n        },\n\n        createForStatement: function (init, test, update, body) {\n            return {\n                type: Syntax.ForStatement,\n                init: init,\n                test: test,\n                update: update,\n                body: body\n            };\n        },\n\n        createForInStatement: function (left, right, body) {\n            return {\n                type: Syntax.ForInStatement,\n                left: left,\n                right: right,\n                body: body,\n                each: false\n            };\n        },\n\n        createForOfStatement: function (left, right, body) {\n            return {\n                type: Syntax.ForOfStatement,\n                left: left,\n                right: right,\n                body: body,\n            };\n        },\n\n        createFunctionDeclaration: function (id, params, defaults, body, rest, generator, expression,\n                                             returnType) {\n            return {\n                type: Syntax.FunctionDeclaration,\n                id: id,\n                params: params,\n                defaults: defaults,\n                body: body,\n                rest: rest,\n                generator: generator,\n                expression: expression,\n                returnType: returnType\n            };\n        },\n\n        createFunctionExpression: function (id, params, defaults, body, rest, generator, expression,\n                                            returnType) {\n            return {\n                type: Syntax.FunctionExpression,\n                id: id,\n                params: params,\n                defaults: defaults,\n                body: body,\n                rest: rest,\n                generator: generator,\n                expression: expression,\n                returnType: returnType\n            };\n        },\n\n        createIdentifier: function (name) {\n            return {\n                type: Syntax.Identifier,\n                name: name,\n                // Only here to initialize the shape of the object to ensure\n                // that the 'typeAnnotation' key is ordered before others that\n                // are added later (like 'loc' and 'range'). This just helps\n                // keep the shape of Identifier nodes consistent with everything\n                // else.\n                typeAnnotation: undefined\n            };\n        },\n\n        createTypeAnnotation: function (typeIdentifier, paramTypes, returnType, isNullable) {\n            return {\n                type: Syntax.TypeAnnotation,\n                id: typeIdentifier,\n                paramTypes: paramTypes,\n                returnType: returnType,\n                isNullable: isNullable\n            };\n        },\n\n        createTypeAnnotatedIdentifier: function (identifier, annotation) {\n            return {\n                type: Syntax.TypeAnnotatedIdentifier,\n                id: identifier,\n                annotation: annotation\n            };\n        },\n\n        createXJSAttribute: function (name, value) {\n            return {\n                type: Syntax.XJSAttribute,\n                name: name,\n                value: value\n            };\n        },\n\n        createXJSIdentifier: function (name, namespace) {\n            return {\n                type: Syntax.XJSIdentifier,\n                name: name,\n                namespace: namespace\n            };\n        },\n\n        createXJSElement: function (openingElement, closingElement, children) {\n            return {\n                type: Syntax.XJSElement,\n                name: openingElement.name,\n                selfClosing: openingElement.selfClosing,\n                openingElement: openingElement,\n                closingElement: closingElement,\n                attributes: openingElement.attributes,\n                children: children\n            };\n        },\n\n        createXJSEmptyExpression: function () {\n            return {\n                type: Syntax.XJSEmptyExpression\n            };\n        },\n\n        createXJSExpressionContainer: function (expression) {\n            return {\n                type: Syntax.XJSExpressionContainer,\n                expression: expression\n            };\n        },\n\n        createXJSOpeningElement: function (name, attributes, selfClosing) {\n            return {\n                type: Syntax.XJSOpeningElement,\n                name: name,\n                selfClosing: selfClosing,\n                attributes: attributes\n            };\n        },\n\n        createXJSClosingElement: function (name) {\n            return {\n                type: Syntax.XJSClosingElement,\n                name: name\n            };\n        },\n\n        createIfStatement: function (test, consequent, alternate) {\n            return {\n                type: Syntax.IfStatement,\n                test: test,\n                consequent: consequent,\n                alternate: alternate\n            };\n        },\n\n        createLabeledStatement: function (label, body) {\n            return {\n                type: Syntax.LabeledStatement,\n                label: label,\n                body: body\n            };\n        },\n\n        createLiteral: function (token) {\n            return {\n                type: Syntax.Literal,\n                value: token.value,\n                raw: source.slice(token.range[0], token.range[1])\n            };\n        },\n\n        createMemberExpression: function (accessor, object, property) {\n            return {\n                type: Syntax.MemberExpression,\n                computed: accessor === '[',\n                object: object,\n                property: property\n            };\n        },\n\n        createNewExpression: function (callee, args) {\n            return {\n                type: Syntax.NewExpression,\n                callee: callee,\n                'arguments': args\n            };\n        },\n\n        createObjectExpression: function (properties) {\n            return {\n                type: Syntax.ObjectExpression,\n                properties: properties\n            };\n        },\n\n        createPostfixExpression: function (operator, argument) {\n            return {\n                type: Syntax.UpdateExpression,\n                operator: operator,\n                argument: argument,\n                prefix: false\n            };\n        },\n\n        createProgram: function (body) {\n            return {\n                type: Syntax.Program,\n                body: body\n            };\n        },\n\n        createProperty: function (kind, key, value, method, shorthand) {\n            return {\n                type: Syntax.Property,\n                key: key,\n                value: value,\n                kind: kind,\n                method: method,\n                shorthand: shorthand\n            };\n        },\n\n        createReturnStatement: function (argument) {\n            return {\n                type: Syntax.ReturnStatement,\n                argument: argument\n            };\n        },\n\n        createSequenceExpression: function (expressions) {\n            return {\n                type: Syntax.SequenceExpression,\n                expressions: expressions\n            };\n        },\n\n        createSwitchCase: function (test, consequent) {\n            return {\n                type: Syntax.SwitchCase,\n                test: test,\n                consequent: consequent\n            };\n        },\n\n        createSwitchStatement: function (discriminant, cases) {\n            return {\n                type: Syntax.SwitchStatement,\n                discriminant: discriminant,\n                cases: cases\n            };\n        },\n\n        createThisExpression: function () {\n            return {\n                type: Syntax.ThisExpression\n            };\n        },\n\n        createThrowStatement: function (argument) {\n            return {\n                type: Syntax.ThrowStatement,\n                argument: argument\n            };\n        },\n\n        createTryStatement: function (block, guardedHandlers, handlers, finalizer) {\n            return {\n                type: Syntax.TryStatement,\n                block: block,\n                guardedHandlers: guardedHandlers,\n                handlers: handlers,\n                finalizer: finalizer\n            };\n        },\n\n        createUnaryExpression: function (operator, argument) {\n            if (operator === '++' || operator === '--') {\n                return {\n                    type: Syntax.UpdateExpression,\n                    operator: operator,\n                    argument: argument,\n                    prefix: true\n                };\n            }\n            return {\n                type: Syntax.UnaryExpression,\n                operator: operator,\n                argument: argument\n            };\n        },\n\n        createVariableDeclaration: function (declarations, kind) {\n            return {\n                type: Syntax.VariableDeclaration,\n                declarations: declarations,\n                kind: kind\n            };\n        },\n\n        createVariableDeclarator: function (id, init) {\n            return {\n                type: Syntax.VariableDeclarator,\n                id: id,\n                init: init\n            };\n        },\n\n        createWhileStatement: function (test, body) {\n            return {\n                type: Syntax.WhileStatement,\n                test: test,\n                body: body\n            };\n        },\n\n        createWithStatement: function (object, body) {\n            return {\n                type: Syntax.WithStatement,\n                object: object,\n                body: body\n            };\n        },\n\n        createTemplateElement: function (value, tail) {\n            return {\n                type: Syntax.TemplateElement,\n                value: value,\n                tail: tail\n            };\n        },\n\n        createTemplateLiteral: function (quasis, expressions) {\n            return {\n                type: Syntax.TemplateLiteral,\n                quasis: quasis,\n                expressions: expressions\n            };\n        },\n\n        createSpreadElement: function (argument) {\n            return {\n                type: Syntax.SpreadElement,\n                argument: argument\n            };\n        },\n\n        createTaggedTemplateExpression: function (tag, quasi) {\n            return {\n                type: Syntax.TaggedTemplateExpression,\n                tag: tag,\n                quasi: quasi\n            };\n        },\n\n        createArrowFunctionExpression: function (params, defaults, body, rest, expression) {\n            return {\n                type: Syntax.ArrowFunctionExpression,\n                id: null,\n                params: params,\n                defaults: defaults,\n                body: body,\n                rest: rest,\n                generator: false,\n                expression: expression\n            };\n        },\n\n        createMethodDefinition: function (propertyType, kind, key, value) {\n            return {\n                type: Syntax.MethodDefinition,\n                key: key,\n                value: value,\n                kind: kind,\n                'static': propertyType === ClassPropertyType.static\n            };\n        },\n\n        createClassBody: function (body) {\n            return {\n                type: Syntax.ClassBody,\n                body: body\n            };\n        },\n\n        createClassExpression: function (id, superClass, body) {\n            return {\n                type: Syntax.ClassExpression,\n                id: id,\n                superClass: superClass,\n                body: body\n            };\n        },\n\n        createClassDeclaration: function (id, superClass, body) {\n            return {\n                type: Syntax.ClassDeclaration,\n                id: id,\n                superClass: superClass,\n                body: body\n            };\n        },\n\n        createExportSpecifier: function (id, name) {\n            return {\n                type: Syntax.ExportSpecifier,\n                id: id,\n                name: name\n            };\n        },\n\n        createExportBatchSpecifier: function () {\n            return {\n                type: Syntax.ExportBatchSpecifier\n            };\n        },\n\n        createExportDeclaration: function (declaration, specifiers, source) {\n            return {\n                type: Syntax.ExportDeclaration,\n                declaration: declaration,\n                specifiers: specifiers,\n                source: source\n            };\n        },\n\n        createImportSpecifier: function (id, name) {\n            return {\n                type: Syntax.ImportSpecifier,\n                id: id,\n                name: name\n            };\n        },\n\n        createImportDeclaration: function (specifiers, kind, source) {\n            return {\n                type: Syntax.ImportDeclaration,\n                specifiers: specifiers,\n                kind: kind,\n                source: source\n            };\n        },\n\n        createYieldExpression: function (argument, delegate) {\n            return {\n                type: Syntax.YieldExpression,\n                argument: argument,\n                delegate: delegate\n            };\n        },\n\n        createModuleDeclaration: function (id, source, body) {\n            return {\n                type: Syntax.ModuleDeclaration,\n                id: id,\n                source: source,\n                body: body\n            };\n        }\n\n\n    };\n\n    // Return true if there is a line terminator before the next token.\n\n    function peekLineTerminator() {\n        var pos, line, start, found;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n        skipComment();\n        found = lineNumber !== line;\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n\n        return found;\n    }\n\n    // Throw an exception\n\n    function throwError(token, messageFormat) {\n        var error,\n            args = Array.prototype.slice.call(arguments, 2),\n            msg = messageFormat.replace(\n                /%(\\d)/g,\n                function (whole, index) {\n                    assert(index < args.length, 'Message reference must be in range');\n                    return args[index];\n                }\n            );\n\n        if (typeof token.lineNumber === 'number') {\n            error = new Error('Line ' + token.lineNumber + ': ' + msg);\n            error.index = token.range[0];\n            error.lineNumber = token.lineNumber;\n            error.column = token.range[0] - lineStart + 1;\n        } else {\n            error = new Error('Line ' + lineNumber + ': ' + msg);\n            error.index = index;\n            error.lineNumber = lineNumber;\n            error.column = index - lineStart + 1;\n        }\n\n        error.description = msg;\n        throw error;\n    }\n\n    function throwErrorTolerant() {\n        try {\n            throwError.apply(null, arguments);\n        } catch (e) {\n            if (extra.errors) {\n                extra.errors.push(e);\n            } else {\n                throw e;\n            }\n        }\n    }\n\n\n    // Throw an exception because of the token.\n\n    function throwUnexpected(token) {\n        if (token.type === Token.EOF) {\n            throwError(token, Messages.UnexpectedEOS);\n        }\n\n        if (token.type === Token.NumericLiteral) {\n            throwError(token, Messages.UnexpectedNumber);\n        }\n\n        if (token.type === Token.StringLiteral) {\n            throwError(token, Messages.UnexpectedString);\n        }\n\n        if (token.type === Token.Identifier) {\n            throwError(token, Messages.UnexpectedIdentifier);\n        }\n\n        if (token.type === Token.Keyword) {\n            if (isFutureReservedWord(token.value)) {\n                throwError(token, Messages.UnexpectedReserved);\n            } else if (strict && isStrictModeReservedWord(token.value)) {\n                throwErrorTolerant(token, Messages.StrictReservedWord);\n                return;\n            }\n            throwError(token, Messages.UnexpectedToken, token.value);\n        }\n\n        if (token.type === Token.Template) {\n            throwError(token, Messages.UnexpectedTemplate, token.value.raw);\n        }\n\n        // BooleanLiteral, NullLiteral, or Punctuator.\n        throwError(token, Messages.UnexpectedToken, token.value);\n    }\n\n    // Expect the next token to match the specified punctuator.\n    // If not, an exception will be thrown.\n\n    function expect(value) {\n        var token = lex();\n        if (token.type !== Token.Punctuator || token.value !== value) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Expect the next token to match the specified keyword.\n    // If not, an exception will be thrown.\n\n    function expectKeyword(keyword) {\n        var token = lex();\n        if (token.type !== Token.Keyword || token.value !== keyword) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Return true if the next token matches the specified punctuator.\n\n    function match(value) {\n        return lookahead.type === Token.Punctuator && lookahead.value === value;\n    }\n\n    // Return true if the next token matches the specified keyword\n\n    function matchKeyword(keyword) {\n        return lookahead.type === Token.Keyword && lookahead.value === keyword;\n    }\n\n\n    // Return true if the next token matches the specified contextual keyword\n\n    function matchContextualKeyword(keyword) {\n        return lookahead.type === Token.Identifier && lookahead.value === keyword;\n    }\n\n    // Return true if the next token is an assignment operator\n\n    function matchAssign() {\n        var op;\n\n        if (lookahead.type !== Token.Punctuator) {\n            return false;\n        }\n        op = lookahead.value;\n        return op === '=' ||\n            op === '*=' ||\n            op === '/=' ||\n            op === '%=' ||\n            op === '+=' ||\n            op === '-=' ||\n            op === '<<=' ||\n            op === '>>=' ||\n            op === '>>>=' ||\n            op === '&=' ||\n            op === '^=' ||\n            op === '|=';\n    }\n\n    function consumeSemicolon() {\n        var line;\n\n        // Catch the very common case first: immediately a semicolon (char #59).\n        if (source.charCodeAt(index) === 59) {\n            lex();\n            return;\n        }\n\n        line = lineNumber;\n        skipComment();\n        if (lineNumber !== line) {\n            return;\n        }\n\n        if (match(';')) {\n            lex();\n            return;\n        }\n\n        if (lookahead.type !== Token.EOF && !match('}')) {\n            throwUnexpected(lookahead);\n        }\n    }\n\n    // Return true if provided expression is LeftHandSideExpression\n\n    function isLeftHandSide(expr) {\n        return expr.type === Syntax.Identifier || expr.type === Syntax.MemberExpression;\n    }\n\n    function isAssignableLeftHandSide(expr) {\n        return isLeftHandSide(expr) || expr.type === Syntax.ObjectPattern || expr.type === Syntax.ArrayPattern;\n    }\n\n    // 11.1.4 Array Initialiser\n\n    function parseArrayInitialiser() {\n        var elements = [], blocks = [], filter = null, tmp, possiblecomprehension = true, body;\n\n        expect('[');\n        while (!match(']')) {\n            if (lookahead.value === 'for' &&\n                    lookahead.type === Token.Keyword) {\n                if (!possiblecomprehension) {\n                    throwError({}, Messages.ComprehensionError);\n                }\n                matchKeyword('for');\n                tmp = parseForStatement({ignore_body: true});\n                tmp.of = tmp.type === Syntax.ForOfStatement;\n                tmp.type = Syntax.ComprehensionBlock;\n                if (tmp.left.kind) { // can't be let or const\n                    throwError({}, Messages.ComprehensionError);\n                }\n                blocks.push(tmp);\n            } else if (lookahead.value === 'if' &&\n                           lookahead.type === Token.Keyword) {\n                if (!possiblecomprehension) {\n                    throwError({}, Messages.ComprehensionError);\n                }\n                expectKeyword('if');\n                expect('(');\n                filter = parseExpression();\n                expect(')');\n            } else if (lookahead.value === ',' &&\n                           lookahead.type === Token.Punctuator) {\n                possiblecomprehension = false; // no longer allowed.\n                lex();\n                elements.push(null);\n            } else {\n                tmp = parseSpreadOrAssignmentExpression();\n                elements.push(tmp);\n                if (tmp && tmp.type === Syntax.SpreadElement) {\n                    if (!match(']')) {\n                        throwError({}, Messages.ElementAfterSpreadElement);\n                    }\n                } else if (!(match(']') || matchKeyword('for') || matchKeyword('if'))) {\n                    expect(','); // this lexes.\n                    possiblecomprehension = false;\n                }\n            }\n        }\n\n        expect(']');\n\n        if (filter && !blocks.length) {\n            throwError({}, Messages.ComprehensionRequiresBlock);\n        }\n\n        if (blocks.length) {\n            if (elements.length !== 1) {\n                throwError({}, Messages.ComprehensionError);\n            }\n            return {\n                type:  Syntax.ComprehensionExpression,\n                filter: filter,\n                blocks: blocks,\n                body: elements[0]\n            };\n        }\n        return delegate.createArrayExpression(elements);\n    }\n\n    // 11.1.5 Object Initialiser\n\n    function parsePropertyFunction(options) {\n        var previousStrict, previousYieldAllowed, params, defaults, body;\n\n        previousStrict = strict;\n        previousYieldAllowed = state.yieldAllowed;\n        state.yieldAllowed = options.generator;\n        params = options.params || [];\n        defaults = options.defaults || [];\n\n        body = parseConciseBody();\n        if (options.name && strict && isRestrictedWord(params[0].name)) {\n            throwErrorTolerant(options.name, Messages.StrictParamName);\n        }\n        if (state.yieldAllowed && !state.yieldFound) {\n            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n        }\n        strict = previousStrict;\n        state.yieldAllowed = previousYieldAllowed;\n\n        return delegate.createFunctionExpression(null, params, defaults, body, options.rest || null, options.generator, body.type !== Syntax.BlockStatement,\n                options.returnTypeAnnotation);\n    }\n\n\n    function parsePropertyMethodFunction(options) {\n        var previousStrict, tmp, method;\n\n        previousStrict = strict;\n        strict = true;\n\n        tmp = parseParams();\n\n        if (tmp.stricted) {\n            throwErrorTolerant(tmp.stricted, tmp.message);\n        }\n\n\n        method = parsePropertyFunction({\n            params: tmp.params,\n            defaults: tmp.defaults,\n            rest: tmp.rest,\n            generator: options.generator,\n            returnTypeAnnotation: tmp.returnTypeAnnotation\n        });\n\n        strict = previousStrict;\n\n        return method;\n    }\n\n\n    function parseObjectPropertyKey() {\n        var token = lex();\n\n        // Note: This function is called only from parseObjectProperty(), where\n        // EOF and Punctuator tokens are already filtered out.\n\n        if (token.type === Token.StringLiteral || token.type === Token.NumericLiteral) {\n            if (strict && token.octal) {\n                throwErrorTolerant(token, Messages.StrictOctalLiteral);\n            }\n            return delegate.createLiteral(token);\n        }\n\n        return delegate.createIdentifier(token.value);\n    }\n\n    function parseObjectProperty() {\n        var token, key, id, value, param;\n\n        token = lookahead;\n\n        if (token.type === Token.Identifier) {\n\n            id = parseObjectPropertyKey();\n\n            // Property Assignment: Getter and Setter.\n\n            if (token.value === 'get' && !(match(':') || match('('))) {\n                key = parseObjectPropertyKey();\n                expect('(');\n                expect(')');\n                return delegate.createProperty('get', key, parsePropertyFunction({ generator: false }), false, false);\n            }\n            if (token.value === 'set' && !(match(':') || match('('))) {\n                key = parseObjectPropertyKey();\n                expect('(');\n                token = lookahead;\n                param = [ parseTypeAnnotatableIdentifier() ];\n                expect(')');\n                return delegate.createProperty('set', key, parsePropertyFunction({ params: param, generator: false, name: token }), false, false);\n            }\n            if (match(':')) {\n                lex();\n                return delegate.createProperty('init', id, parseAssignmentExpression(), false, false);\n            }\n            if (match('(')) {\n                return delegate.createProperty('init', id, parsePropertyMethodFunction({ generator: false }), true, false);\n            }\n            return delegate.createProperty('init', id, id, false, true);\n        }\n        if (token.type === Token.EOF || token.type === Token.Punctuator) {\n            if (!match('*')) {\n                throwUnexpected(token);\n            }\n            lex();\n\n            id = parseObjectPropertyKey();\n\n            if (!match('(')) {\n                throwUnexpected(lex());\n            }\n\n            return delegate.createProperty('init', id, parsePropertyMethodFunction({ generator: true }), true, false);\n        }\n        key = parseObjectPropertyKey();\n        if (match(':')) {\n            lex();\n            return delegate.createProperty('init', key, parseAssignmentExpression(), false, false);\n        }\n        if (match('(')) {\n            return delegate.createProperty('init', key, parsePropertyMethodFunction({ generator: false }), true, false);\n        }\n        throwUnexpected(lex());\n    }\n\n    function parseObjectInitialiser() {\n        var properties = [], property, name, key, kind, map = {}, toString = String;\n\n        expect('{');\n\n        while (!match('}')) {\n            property = parseObjectProperty();\n\n            if (property.key.type === Syntax.Identifier) {\n                name = property.key.name;\n            } else {\n                name = toString(property.key.value);\n            }\n            kind = (property.kind === 'init') ? PropertyKind.Data : (property.kind === 'get') ? PropertyKind.Get : PropertyKind.Set;\n\n            key = '$' + name;\n            if (Object.prototype.hasOwnProperty.call(map, key)) {\n                if (map[key] === PropertyKind.Data) {\n                    if (strict && kind === PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.StrictDuplicateProperty);\n                    } else if (kind !== PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n                    }\n                } else {\n                    if (kind === PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n                    } else if (map[key] & kind) {\n                        throwErrorTolerant({}, Messages.AccessorGetSet);\n                    }\n                }\n                map[key] |= kind;\n            } else {\n                map[key] = kind;\n            }\n\n            properties.push(property);\n\n            if (!match('}')) {\n                expect(',');\n            }\n        }\n\n        expect('}');\n\n        return delegate.createObjectExpression(properties);\n    }\n\n    function parseTemplateElement(option) {\n        var token = scanTemplateElement(option);\n        if (strict && token.octal) {\n            throwError(token, Messages.StrictOctalLiteral);\n        }\n        return delegate.createTemplateElement({ raw: token.value.raw, cooked: token.value.cooked }, token.tail);\n    }\n\n    function parseTemplateLiteral() {\n        var quasi, quasis, expressions;\n\n        quasi = parseTemplateElement({ head: true });\n        quasis = [ quasi ];\n        expressions = [];\n\n        while (!quasi.tail) {\n            expressions.push(parseExpression());\n            quasi = parseTemplateElement({ head: false });\n            quasis.push(quasi);\n        }\n\n        return delegate.createTemplateLiteral(quasis, expressions);\n    }\n\n    // 11.1.6 The Grouping Operator\n\n    function parseGroupExpression() {\n        var expr;\n\n        expect('(');\n\n        ++state.parenthesizedCount;\n\n        state.allowArrowFunction = !state.allowArrowFunction;\n        expr = parseExpression();\n        state.allowArrowFunction = false;\n\n        if (expr.type !== Syntax.ArrowFunctionExpression) {\n            expect(')');\n        }\n\n        return expr;\n    }\n\n\n    // 11.1 Primary Expressions\n\n    function parsePrimaryExpression() {\n        var type, token;\n\n        token = lookahead;\n        type = lookahead.type;\n\n        if (type === Token.Identifier) {\n            lex();\n            return delegate.createIdentifier(token.value);\n        }\n\n        if (type === Token.StringLiteral || type === Token.NumericLiteral) {\n            if (strict && lookahead.octal) {\n                throwErrorTolerant(lookahead, Messages.StrictOctalLiteral);\n            }\n            return delegate.createLiteral(lex());\n        }\n\n        if (type === Token.Keyword) {\n            if (matchKeyword('this')) {\n                lex();\n                return delegate.createThisExpression();\n            }\n\n            if (matchKeyword('function')) {\n                return parseFunctionExpression();\n            }\n\n            if (matchKeyword('class')) {\n                return parseClassExpression();\n            }\n\n            if (matchKeyword('super')) {\n                lex();\n                return delegate.createIdentifier('super');\n            }\n        }\n\n        if (type === Token.BooleanLiteral) {\n            token = lex();\n            token.value = (token.value === 'true');\n            return delegate.createLiteral(token);\n        }\n\n        if (type === Token.NullLiteral) {\n            token = lex();\n            token.value = null;\n            return delegate.createLiteral(token);\n        }\n\n        if (match('[')) {\n            return parseArrayInitialiser();\n        }\n\n        if (match('{')) {\n            return parseObjectInitialiser();\n        }\n\n        if (match('(')) {\n            return parseGroupExpression();\n        }\n\n        if (match('/') || match('/=')) {\n            return delegate.createLiteral(scanRegExp());\n        }\n\n        if (type === Token.Template) {\n            return parseTemplateLiteral();\n        }\n\n        if (match('<')) {\n            return parseXJSElement();\n        }\n\n        return throwUnexpected(lex());\n    }\n\n    // 11.2 Left-Hand-Side Expressions\n\n    function parseArguments() {\n        var args = [], arg;\n\n        expect('(');\n\n        if (!match(')')) {\n            while (index < length) {\n                arg = parseSpreadOrAssignmentExpression();\n                args.push(arg);\n\n                if (match(')')) {\n                    break;\n                } else if (arg.type === Syntax.SpreadElement) {\n                    throwError({}, Messages.ElementAfterSpreadElement);\n                }\n\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        return args;\n    }\n\n    function parseSpreadOrAssignmentExpression() {\n        if (match('...')) {\n            lex();\n            return delegate.createSpreadElement(parseAssignmentExpression());\n        }\n        return parseAssignmentExpression();\n    }\n\n    function parseNonComputedProperty() {\n        var token = lex();\n\n        if (!isIdentifierName(token)) {\n            throwUnexpected(token);\n        }\n\n        return delegate.createIdentifier(token.value);\n    }\n\n    function parseNonComputedMember() {\n        expect('.');\n\n        return parseNonComputedProperty();\n    }\n\n    function parseComputedMember() {\n        var expr;\n\n        expect('[');\n\n        expr = parseExpression();\n\n        expect(']');\n\n        return expr;\n    }\n\n    function parseNewExpression() {\n        var callee, args;\n\n        expectKeyword('new');\n        callee = parseLeftHandSideExpression();\n        args = match('(') ? parseArguments() : [];\n\n        return delegate.createNewExpression(callee, args);\n    }\n\n    function parseLeftHandSideExpressionAllowCall() {\n        var expr, args, property;\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || match('(') || lookahead.type === Token.Template) {\n            if (match('(')) {\n                args = parseArguments();\n                expr = delegate.createCallExpression(expr, args);\n            } else if (match('[')) {\n                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n            } else if (match('.')) {\n                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n            } else {\n                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n            }\n        }\n\n        return expr;\n    }\n\n\n    function parseLeftHandSideExpression() {\n        var expr, property;\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || lookahead.type === Token.Template) {\n            if (match('[')) {\n                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n            } else if (match('.')) {\n                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n            } else {\n                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n            }\n        }\n\n        return expr;\n    }\n\n    // 11.3 Postfix Expressions\n\n    function parsePostfixExpression() {\n        var expr = parseLeftHandSideExpressionAllowCall(),\n            token = lookahead;\n\n        if (lookahead.type !== Token.Punctuator) {\n            return expr;\n        }\n\n        if ((match('++') || match('--')) && !peekLineTerminator()) {\n            // 11.3.1, 11.3.2\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant({}, Messages.StrictLHSPostfix);\n            }\n\n            if (!isLeftHandSide(expr)) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n\n            token = lex();\n            expr = delegate.createPostfixExpression(token.value, expr);\n        }\n\n        return expr;\n    }\n\n    // 11.4 Unary Operators\n\n    function parseUnaryExpression() {\n        var token, expr;\n\n        if (lookahead.type !== Token.Punctuator && lookahead.type !== Token.Keyword) {\n            return parsePostfixExpression();\n        }\n\n        if (match('++') || match('--')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            // 11.4.4, 11.4.5\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant({}, Messages.StrictLHSPrefix);\n            }\n\n            if (!isLeftHandSide(expr)) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n\n            return delegate.createUnaryExpression(token.value, expr);\n        }\n\n        if (match('+') || match('-') || match('~') || match('!')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            return delegate.createUnaryExpression(token.value, expr);\n        }\n\n        if (matchKeyword('delete') || matchKeyword('void') || matchKeyword('typeof')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            expr = delegate.createUnaryExpression(token.value, expr);\n            if (strict && expr.operator === 'delete' && expr.argument.type === Syntax.Identifier) {\n                throwErrorTolerant({}, Messages.StrictDelete);\n            }\n            return expr;\n        }\n\n        return parsePostfixExpression();\n    }\n\n    function binaryPrecedence(token, allowIn) {\n        var prec = 0;\n\n        if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {\n            return 0;\n        }\n\n        switch (token.value) {\n        case '||':\n            prec = 1;\n            break;\n\n        case '&&':\n            prec = 2;\n            break;\n\n        case '|':\n            prec = 3;\n            break;\n\n        case '^':\n            prec = 4;\n            break;\n\n        case '&':\n            prec = 5;\n            break;\n\n        case '==':\n        case '!=':\n        case '===':\n        case '!==':\n            prec = 6;\n            break;\n\n        case '<':\n        case '>':\n        case '<=':\n        case '>=':\n        case 'instanceof':\n            prec = 7;\n            break;\n\n        case 'in':\n            prec = allowIn ? 7 : 0;\n            break;\n\n        case '<<':\n        case '>>':\n        case '>>>':\n            prec = 8;\n            break;\n\n        case '+':\n        case '-':\n            prec = 9;\n            break;\n\n        case '*':\n        case '/':\n        case '%':\n            prec = 11;\n            break;\n\n        default:\n            break;\n        }\n\n        return prec;\n    }\n\n    // 11.5 Multiplicative Operators\n    // 11.6 Additive Operators\n    // 11.7 Bitwise Shift Operators\n    // 11.8 Relational Operators\n    // 11.9 Equality Operators\n    // 11.10 Binary Bitwise Operators\n    // 11.11 Binary Logical Operators\n\n    function parseBinaryExpression() {\n        var expr, token, prec, previousAllowIn, stack, right, operator, left, i;\n\n        previousAllowIn = state.allowIn;\n        state.allowIn = true;\n\n        expr = parseUnaryExpression();\n\n        token = lookahead;\n        prec = binaryPrecedence(token, previousAllowIn);\n        if (prec === 0) {\n            return expr;\n        }\n        token.prec = prec;\n        lex();\n\n        stack = [expr, token, parseUnaryExpression()];\n\n        while ((prec = binaryPrecedence(lookahead, previousAllowIn)) > 0) {\n\n            // Reduce: make a binary expression from the three topmost entries.\n            while ((stack.length > 2) && (prec <= stack[stack.length - 2].prec)) {\n                right = stack.pop();\n                operator = stack.pop().value;\n                left = stack.pop();\n                stack.push(delegate.createBinaryExpression(operator, left, right));\n            }\n\n            // Shift.\n            token = lex();\n            token.prec = prec;\n            stack.push(token);\n            stack.push(parseUnaryExpression());\n        }\n\n        state.allowIn = previousAllowIn;\n\n        // Final reduce to clean-up the stack.\n        i = stack.length - 1;\n        expr = stack[i];\n        while (i > 1) {\n            expr = delegate.createBinaryExpression(stack[i - 1].value, stack[i - 2], expr);\n            i -= 2;\n        }\n        return expr;\n    }\n\n\n    // 11.12 Conditional Operator\n\n    function parseConditionalExpression() {\n        var expr, previousAllowIn, consequent, alternate;\n\n        expr = parseBinaryExpression();\n\n        if (match('?')) {\n            lex();\n            previousAllowIn = state.allowIn;\n            state.allowIn = true;\n            consequent = parseAssignmentExpression();\n            state.allowIn = previousAllowIn;\n            expect(':');\n            alternate = parseAssignmentExpression();\n\n            expr = delegate.createConditionalExpression(expr, consequent, alternate);\n        }\n\n        return expr;\n    }\n\n    // 11.13 Assignment Operators\n\n    function reinterpretAsAssignmentBindingPattern(expr) {\n        var i, len, property, element;\n\n        if (expr.type === Syntax.ObjectExpression) {\n            expr.type = Syntax.ObjectPattern;\n            for (i = 0, len = expr.properties.length; i < len; i += 1) {\n                property = expr.properties[i];\n                if (property.kind !== 'init') {\n                    throwError({}, Messages.InvalidLHSInAssignment);\n                }\n                reinterpretAsAssignmentBindingPattern(property.value);\n            }\n        } else if (expr.type === Syntax.ArrayExpression) {\n            expr.type = Syntax.ArrayPattern;\n            for (i = 0, len = expr.elements.length; i < len; i += 1) {\n                element = expr.elements[i];\n                if (element) {\n                    reinterpretAsAssignmentBindingPattern(element);\n                }\n            }\n        } else if (expr.type === Syntax.Identifier) {\n            if (isRestrictedWord(expr.name)) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n        } else if (expr.type === Syntax.SpreadElement) {\n            reinterpretAsAssignmentBindingPattern(expr.argument);\n            if (expr.argument.type === Syntax.ObjectPattern) {\n                throwError({}, Messages.ObjectPatternAsSpread);\n            }\n        } else {\n            if (expr.type !== Syntax.MemberExpression && expr.type !== Syntax.CallExpression && expr.type !== Syntax.NewExpression) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n        }\n    }\n\n\n    function reinterpretAsDestructuredParameter(options, expr) {\n        var i, len, property, element;\n\n        if (expr.type === Syntax.ObjectExpression) {\n            expr.type = Syntax.ObjectPattern;\n            for (i = 0, len = expr.properties.length; i < len; i += 1) {\n                property = expr.properties[i];\n                if (property.kind !== 'init') {\n                    throwError({}, Messages.InvalidLHSInFormalsList);\n                }\n                reinterpretAsDestructuredParameter(options, property.value);\n            }\n        } else if (expr.type === Syntax.ArrayExpression) {\n            expr.type = Syntax.ArrayPattern;\n            for (i = 0, len = expr.elements.length; i < len; i += 1) {\n                element = expr.elements[i];\n                if (element) {\n                    reinterpretAsDestructuredParameter(options, element);\n                }\n            }\n        } else if (expr.type === Syntax.Identifier) {\n            validateParam(options, expr, expr.name);\n        } else {\n            if (expr.type !== Syntax.MemberExpression) {\n                throwError({}, Messages.InvalidLHSInFormalsList);\n            }\n        }\n    }\n\n    function reinterpretAsCoverFormalsList(expressions) {\n        var i, len, param, params, defaults, defaultCount, options, rest;\n\n        params = [];\n        defaults = [];\n        defaultCount = 0;\n        rest = null;\n        options = {\n            paramSet: {}\n        };\n\n        for (i = 0, len = expressions.length; i < len; i += 1) {\n            param = expressions[i];\n            if (param.type === Syntax.Identifier) {\n                params.push(param);\n                defaults.push(null);\n                validateParam(options, param, param.name);\n            } else if (param.type === Syntax.ObjectExpression || param.type === Syntax.ArrayExpression) {\n                reinterpretAsDestructuredParameter(options, param);\n                params.push(param);\n                defaults.push(null);\n            } else if (param.type === Syntax.SpreadElement) {\n                assert(i === len - 1, \"It is guaranteed that SpreadElement is last element by parseExpression\");\n                reinterpretAsDestructuredParameter(options, param.argument);\n                rest = param.argument;\n            } else if (param.type === Syntax.AssignmentExpression) {\n                params.push(param.left);\n                defaults.push(param.right);\n                ++defaultCount;\n            } else {\n                return null;\n            }\n        }\n\n        if (options.firstRestricted) {\n            throwError(options.firstRestricted, options.message);\n        }\n        if (options.stricted) {\n            throwErrorTolerant(options.stricted, options.message);\n        }\n\n        if (defaultCount === 0) {\n            defaults = [];\n        }\n\n        return { params: params, defaults: defaults, rest: rest };\n    }\n\n    function parseArrowFunctionExpression(options) {\n        var previousStrict, previousYieldAllowed, body;\n\n        expect('=>');\n\n        previousStrict = strict;\n        previousYieldAllowed = state.yieldAllowed;\n        strict = true;\n        state.yieldAllowed = false;\n        body = parseConciseBody();\n        strict = previousStrict;\n        state.yieldAllowed = previousYieldAllowed;\n\n        return delegate.createArrowFunctionExpression(options.params, options.defaults, body, options.rest, body.type !== Syntax.BlockStatement);\n    }\n\n    function parseAssignmentExpression() {\n        var expr, token, params, oldParenthesizedCount;\n\n        if (matchKeyword('yield')) {\n            return parseYieldExpression();\n        }\n\n        oldParenthesizedCount = state.parenthesizedCount;\n\n        if (match('(')) {\n            token = lookahead2();\n            if ((token.type === Token.Punctuator && token.value === ')') || token.value === '...') {\n                params = parseParams();\n                if (!match('=>')) {\n                    throwUnexpected(lex());\n                }\n                return parseArrowFunctionExpression(params);\n            }\n        }\n\n        token = lookahead;\n        expr = parseConditionalExpression();\n\n        if (match('=>') && expr.type === Syntax.Identifier) {\n            if (state.parenthesizedCount === oldParenthesizedCount || state.parenthesizedCount === (oldParenthesizedCount + 1)) {\n                if (isRestrictedWord(expr.name)) {\n                    throwError({}, Messages.StrictParamName);\n                }\n                return parseArrowFunctionExpression({ params: [ expr ], defaults: [], rest: null });\n            }\n        }\n\n        if (matchAssign()) {\n            // 11.13.1\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant(token, Messages.StrictLHSAssignment);\n            }\n\n            // ES.next draf 11.13 Runtime Semantics step 1\n            if (match('=') && (expr.type === Syntax.ObjectExpression || expr.type === Syntax.ArrayExpression)) {\n                reinterpretAsAssignmentBindingPattern(expr);\n            } else if (!isLeftHandSide(expr)) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n\n            expr = delegate.createAssignmentExpression(lex().value, expr, parseAssignmentExpression());\n        }\n\n        return expr;\n    }\n\n    // 11.14 Comma Operator\n\n    function parseExpression() {\n        var expr, expressions, sequence, coverFormalsList, spreadFound, token;\n\n        expr = parseAssignmentExpression();\n        expressions = [ expr ];\n\n        if (match(',')) {\n            while (index < length) {\n                if (!match(',')) {\n                    break;\n                }\n\n                lex();\n                expr = parseSpreadOrAssignmentExpression();\n                expressions.push(expr);\n\n                if (expr.type === Syntax.SpreadElement) {\n                    spreadFound = true;\n                    if (!match(')')) {\n                        throwError({}, Messages.ElementAfterSpreadElement);\n                    }\n                    break;\n                }\n            }\n\n            sequence = delegate.createSequenceExpression(expressions);\n        }\n\n        if (state.allowArrowFunction && match(')')) {\n            token = lookahead2();\n            if (token.value === '=>') {\n                lex();\n\n                state.allowArrowFunction = false;\n                expr = expressions;\n                coverFormalsList = reinterpretAsCoverFormalsList(expr);\n                if (coverFormalsList) {\n                    return parseArrowFunctionExpression(coverFormalsList);\n                }\n\n                throwUnexpected(token);\n            }\n        }\n\n        if (spreadFound) {\n            throwError({}, Messages.IllegalSpread);\n        }\n\n        return sequence || expr;\n    }\n\n    // 12.1 Block\n\n    function parseStatementList() {\n        var list = [],\n            statement;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            statement = parseSourceElement();\n            if (typeof statement === 'undefined') {\n                break;\n            }\n            list.push(statement);\n        }\n\n        return list;\n    }\n\n    function parseBlock() {\n        var block;\n\n        expect('{');\n\n        block = parseStatementList();\n\n        expect('}');\n\n        return delegate.createBlockStatement(block);\n    }\n\n    // 12.2 Variable Statement\n\n    function parseTypeAnnotation(dontExpectColon) {\n        var typeIdentifier = null, paramTypes = null, returnType = null,\n            isNullable = false;\n\n        if (!dontExpectColon) {\n            expect(':');\n        }\n\n        if (match('?')) {\n            lex();\n            isNullable = true;\n        }\n\n        if (lookahead.type === Token.Identifier) {\n            typeIdentifier = parseVariableIdentifier();\n        }\n\n        if (match('(')) {\n            lex();\n            paramTypes = [];\n            while (lookahead.type === Token.Identifier || match('?')) {\n                paramTypes.push(parseTypeAnnotation(true));\n                if (!match(')')) {\n                    expect(',');\n                }\n            }\n            expect(')');\n            expect('=>');\n\n            if (matchKeyword('void')) {\n                lex();\n            } else {\n                returnType = parseTypeAnnotation(true);\n            }\n        }\n\n        return delegate.createTypeAnnotation(\n            typeIdentifier,\n            paramTypes,\n            returnType,\n            isNullable\n        );\n    }\n\n    function parseVariableIdentifier() {\n        var token = lex();\n\n        if (token.type !== Token.Identifier) {\n            throwUnexpected(token);\n        }\n\n        return delegate.createIdentifier(token.value);\n    }\n\n    function parseTypeAnnotatableIdentifier() {\n        var ident = parseVariableIdentifier();\n\n        if (match(':')) {\n            return delegate.createTypeAnnotatedIdentifier(ident, parseTypeAnnotation());\n        }\n\n        return ident;\n    }\n\n    function parseVariableDeclaration(kind) {\n        var id,\n            init = null;\n        if (match('{')) {\n            id = parseObjectInitialiser();\n            reinterpretAsAssignmentBindingPattern(id);\n        } else if (match('[')) {\n            id = parseArrayInitialiser();\n            reinterpretAsAssignmentBindingPattern(id);\n        } else {\n            id = state.allowKeyword ? parseNonComputedProperty() : parseTypeAnnotatableIdentifier();\n            // 12.2.1\n            if (strict && isRestrictedWord(id.name)) {\n                throwErrorTolerant({}, Messages.StrictVarName);\n            }\n        }\n\n        if (kind === 'const') {\n            if (!match('=')) {\n                throwError({}, Messages.NoUnintializedConst);\n            }\n            expect('=');\n            init = parseAssignmentExpression();\n        } else if (match('=')) {\n            lex();\n            init = parseAssignmentExpression();\n        }\n\n        return delegate.createVariableDeclarator(id, init);\n    }\n\n    function parseVariableDeclarationList(kind) {\n        var list = [];\n\n        do {\n            list.push(parseVariableDeclaration(kind));\n            if (!match(',')) {\n                break;\n            }\n            lex();\n        } while (index < length);\n\n        return list;\n    }\n\n    function parseVariableStatement() {\n        var declarations;\n\n        expectKeyword('var');\n\n        declarations = parseVariableDeclarationList();\n\n        consumeSemicolon();\n\n        return delegate.createVariableDeclaration(declarations, 'var');\n    }\n\n    // kind may be `const` or `let`\n    // Both are experimental and not in the specification yet.\n    // see http://wiki.ecmascript.org/doku.php?id=harmony:const\n    // and http://wiki.ecmascript.org/doku.php?id=harmony:let\n    function parseConstLetDeclaration(kind) {\n        var declarations;\n\n        expectKeyword(kind);\n\n        declarations = parseVariableDeclarationList(kind);\n\n        consumeSemicolon();\n\n        return delegate.createVariableDeclaration(declarations, kind);\n    }\n\n    // http://wiki.ecmascript.org/doku.php?id=harmony:modules\n\n    function parseModuleDeclaration() {\n        var id, src, body;\n\n        lex();   // 'module'\n\n        if (peekLineTerminator()) {\n            throwError({}, Messages.NewlineAfterModule);\n        }\n\n        switch (lookahead.type) {\n\n        case Token.StringLiteral:\n            id = parsePrimaryExpression();\n            body = parseModuleBlock();\n            src = null;\n            break;\n\n        case Token.Identifier:\n            id = parseVariableIdentifier();\n            body = null;\n            if (!matchContextualKeyword('from')) {\n                throwUnexpected(lex());\n            }\n            lex();\n            src = parsePrimaryExpression();\n            if (src.type !== Syntax.Literal) {\n                throwError({}, Messages.InvalidModuleSpecifier);\n            }\n            break;\n        }\n\n        consumeSemicolon();\n        return delegate.createModuleDeclaration(id, src, body);\n    }\n\n    function parseExportBatchSpecifier() {\n        expect('*');\n        return delegate.createExportBatchSpecifier();\n    }\n\n    function parseExportSpecifier() {\n        var id, name = null;\n\n        id = parseVariableIdentifier();\n        if (matchContextualKeyword('as')) {\n            lex();\n            name = parseNonComputedProperty();\n        }\n\n        return delegate.createExportSpecifier(id, name);\n    }\n\n    function parseExportDeclaration() {\n        var previousAllowKeyword, decl, def, src, specifiers;\n\n        expectKeyword('export');\n\n        if (lookahead.type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'let':\n            case 'const':\n            case 'var':\n            case 'class':\n            case 'function':\n                return delegate.createExportDeclaration(parseSourceElement(), null, null);\n            }\n        }\n\n        if (isIdentifierName(lookahead)) {\n            previousAllowKeyword = state.allowKeyword;\n            state.allowKeyword = true;\n            decl = parseVariableDeclarationList('let');\n            state.allowKeyword = previousAllowKeyword;\n            return delegate.createExportDeclaration(decl, null, null);\n        }\n\n        specifiers = [];\n        src = null;\n\n        if (match('*')) {\n            specifiers.push(parseExportBatchSpecifier());\n        } else {\n            expect('{');\n            do {\n                specifiers.push(parseExportSpecifier());\n            } while (match(',') && lex());\n            expect('}');\n        }\n\n        if (matchContextualKeyword('from')) {\n            lex();\n            src = parsePrimaryExpression();\n            if (src.type !== Syntax.Literal) {\n                throwError({}, Messages.InvalidModuleSpecifier);\n            }\n        }\n\n        consumeSemicolon();\n\n        return delegate.createExportDeclaration(null, specifiers, src);\n    }\n\n    function parseImportDeclaration() {\n        var specifiers, kind, src;\n\n        expectKeyword('import');\n        specifiers = [];\n\n        if (isIdentifierName(lookahead)) {\n            kind = 'default';\n            specifiers.push(parseImportSpecifier());\n\n            if (!matchContextualKeyword('from')) {\n                throwError({}, Messages.NoFromAfterImport);\n            }\n            lex();\n        } else if (match('{')) {\n            kind = 'named';\n            lex();\n            do {\n                specifiers.push(parseImportSpecifier());\n            } while (match(',') && lex());\n            expect('}');\n\n            if (!matchContextualKeyword('from')) {\n                throwError({}, Messages.NoFromAfterImport);\n            }\n            lex();\n        }\n\n        src = parsePrimaryExpression();\n        if (src.type !== Syntax.Literal) {\n            throwError({}, Messages.InvalidModuleSpecifier);\n        }\n\n        consumeSemicolon();\n\n        return delegate.createImportDeclaration(specifiers, kind, src);\n    }\n\n    function parseImportSpecifier() {\n        var id, name = null;\n\n        id = parseNonComputedProperty();\n        if (matchContextualKeyword('as')) {\n            lex();\n            name = parseVariableIdentifier();\n        }\n\n        return delegate.createImportSpecifier(id, name);\n    }\n\n    // 12.3 Empty Statement\n\n    function parseEmptyStatement() {\n        expect(';');\n        return delegate.createEmptyStatement();\n    }\n\n    // 12.4 Expression Statement\n\n    function parseExpressionStatement() {\n        var expr = parseExpression();\n        consumeSemicolon();\n        return delegate.createExpressionStatement(expr);\n    }\n\n    // 12.5 If statement\n\n    function parseIfStatement() {\n        var test, consequent, alternate;\n\n        expectKeyword('if');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        consequent = parseStatement();\n\n        if (matchKeyword('else')) {\n            lex();\n            alternate = parseStatement();\n        } else {\n            alternate = null;\n        }\n\n        return delegate.createIfStatement(test, consequent, alternate);\n    }\n\n    // 12.6 Iteration Statements\n\n    function parseDoWhileStatement() {\n        var body, test, oldInIteration;\n\n        expectKeyword('do');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        expectKeyword('while');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        if (match(';')) {\n            lex();\n        }\n\n        return delegate.createDoWhileStatement(body, test);\n    }\n\n    function parseWhileStatement() {\n        var test, body, oldInIteration;\n\n        expectKeyword('while');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        return delegate.createWhileStatement(test, body);\n    }\n\n    function parseForVariableDeclaration() {\n        var token = lex(),\n            declarations = parseVariableDeclarationList();\n\n        return delegate.createVariableDeclaration(declarations, token.value);\n    }\n\n    function parseForStatement(opts) {\n        var init, test, update, left, right, body, operator, oldInIteration;\n        init = test = update = null;\n        expectKeyword('for');\n\n        // http://wiki.ecmascript.org/doku.php?id=proposals:iterators_and_generators&s=each\n        if (matchContextualKeyword(\"each\")) {\n            throwError({}, Messages.EachNotAllowed);\n        }\n\n        expect('(');\n\n        if (match(';')) {\n            lex();\n        } else {\n            if (matchKeyword('var') || matchKeyword('let') || matchKeyword('const')) {\n                state.allowIn = false;\n                init = parseForVariableDeclaration();\n                state.allowIn = true;\n\n                if (init.declarations.length === 1) {\n                    if (matchKeyword('in') || matchContextualKeyword('of')) {\n                        operator = lookahead;\n                        if (!((operator.value === 'in' || init.kind !== 'var') && init.declarations[0].init)) {\n                            lex();\n                            left = init;\n                            right = parseExpression();\n                            init = null;\n                        }\n                    }\n                }\n            } else {\n                state.allowIn = false;\n                init = parseExpression();\n                state.allowIn = true;\n\n                if (matchContextualKeyword('of')) {\n                    operator = lex();\n                    left = init;\n                    right = parseExpression();\n                    init = null;\n                } else if (matchKeyword('in')) {\n                    // LeftHandSideExpression\n                    if (!isAssignableLeftHandSide(init)) {\n                        throwError({}, Messages.InvalidLHSInForIn);\n                    }\n                    operator = lex();\n                    left = init;\n                    right = parseExpression();\n                    init = null;\n                }\n            }\n\n            if (typeof left === 'undefined') {\n                expect(';');\n            }\n        }\n\n        if (typeof left === 'undefined') {\n\n            if (!match(';')) {\n                test = parseExpression();\n            }\n            expect(';');\n\n            if (!match(')')) {\n                update = parseExpression();\n            }\n        }\n\n        expect(')');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        if (!(opts !== undefined && opts.ignore_body)) {\n            body = parseStatement();\n        }\n\n        state.inIteration = oldInIteration;\n\n        if (typeof left === 'undefined') {\n            return delegate.createForStatement(init, test, update, body);\n        }\n\n        if (operator.value === 'in') {\n            return delegate.createForInStatement(left, right, body);\n        }\n        return delegate.createForOfStatement(left, right, body);\n    }\n\n    // 12.7 The continue statement\n\n    function parseContinueStatement() {\n        var label = null, key;\n\n        expectKeyword('continue');\n\n        // Optimize the most common form: 'continue;'.\n        if (source.charCodeAt(index) === 59) {\n            lex();\n\n            if (!state.inIteration) {\n                throwError({}, Messages.IllegalContinue);\n            }\n\n            return delegate.createContinueStatement(null);\n        }\n\n        if (peekLineTerminator()) {\n            if (!state.inIteration) {\n                throwError({}, Messages.IllegalContinue);\n            }\n\n            return delegate.createContinueStatement(null);\n        }\n\n        if (lookahead.type === Token.Identifier) {\n            label = parseVariableIdentifier();\n\n            key = '$' + label.name;\n            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.UnknownLabel, label.name);\n            }\n        }\n\n        consumeSemicolon();\n\n        if (label === null && !state.inIteration) {\n            throwError({}, Messages.IllegalContinue);\n        }\n\n        return delegate.createContinueStatement(label);\n    }\n\n    // 12.8 The break statement\n\n    function parseBreakStatement() {\n        var label = null, key;\n\n        expectKeyword('break');\n\n        // Catch the very common case first: immediately a semicolon (char #59).\n        if (source.charCodeAt(index) === 59) {\n            lex();\n\n            if (!(state.inIteration || state.inSwitch)) {\n                throwError({}, Messages.IllegalBreak);\n            }\n\n            return delegate.createBreakStatement(null);\n        }\n\n        if (peekLineTerminator()) {\n            if (!(state.inIteration || state.inSwitch)) {\n                throwError({}, Messages.IllegalBreak);\n            }\n\n            return delegate.createBreakStatement(null);\n        }\n\n        if (lookahead.type === Token.Identifier) {\n            label = parseVariableIdentifier();\n\n            key = '$' + label.name;\n            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.UnknownLabel, label.name);\n            }\n        }\n\n        consumeSemicolon();\n\n        if (label === null && !(state.inIteration || state.inSwitch)) {\n            throwError({}, Messages.IllegalBreak);\n        }\n\n        return delegate.createBreakStatement(label);\n    }\n\n    // 12.9 The return statement\n\n    function parseReturnStatement() {\n        var argument = null;\n\n        expectKeyword('return');\n\n        if (!state.inFunctionBody) {\n            throwErrorTolerant({}, Messages.IllegalReturn);\n        }\n\n        // 'return' followed by a space and an identifier is very common.\n        if (source.charCodeAt(index) === 32) {\n            if (isIdentifierStart(source.charCodeAt(index + 1))) {\n                argument = parseExpression();\n                consumeSemicolon();\n                return delegate.createReturnStatement(argument);\n            }\n        }\n\n        if (peekLineTerminator()) {\n            return delegate.createReturnStatement(null);\n        }\n\n        if (!match(';')) {\n            if (!match('}') && lookahead.type !== Token.EOF) {\n                argument = parseExpression();\n            }\n        }\n\n        consumeSemicolon();\n\n        return delegate.createReturnStatement(argument);\n    }\n\n    // 12.10 The with statement\n\n    function parseWithStatement() {\n        var object, body;\n\n        if (strict) {\n            throwErrorTolerant({}, Messages.StrictModeWith);\n        }\n\n        expectKeyword('with');\n\n        expect('(');\n\n        object = parseExpression();\n\n        expect(')');\n\n        body = parseStatement();\n\n        return delegate.createWithStatement(object, body);\n    }\n\n    // 12.10 The swith statement\n\n    function parseSwitchCase() {\n        var test,\n            consequent = [],\n            sourceElement;\n\n        if (matchKeyword('default')) {\n            lex();\n            test = null;\n        } else {\n            expectKeyword('case');\n            test = parseExpression();\n        }\n        expect(':');\n\n        while (index < length) {\n            if (match('}') || matchKeyword('default') || matchKeyword('case')) {\n                break;\n            }\n            sourceElement = parseSourceElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            consequent.push(sourceElement);\n        }\n\n        return delegate.createSwitchCase(test, consequent);\n    }\n\n    function parseSwitchStatement() {\n        var discriminant, cases, clause, oldInSwitch, defaultFound;\n\n        expectKeyword('switch');\n\n        expect('(');\n\n        discriminant = parseExpression();\n\n        expect(')');\n\n        expect('{');\n\n        cases = [];\n\n        if (match('}')) {\n            lex();\n            return delegate.createSwitchStatement(discriminant, cases);\n        }\n\n        oldInSwitch = state.inSwitch;\n        state.inSwitch = true;\n        defaultFound = false;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            clause = parseSwitchCase();\n            if (clause.test === null) {\n                if (defaultFound) {\n                    throwError({}, Messages.MultipleDefaultsInSwitch);\n                }\n                defaultFound = true;\n            }\n            cases.push(clause);\n        }\n\n        state.inSwitch = oldInSwitch;\n\n        expect('}');\n\n        return delegate.createSwitchStatement(discriminant, cases);\n    }\n\n    // 12.13 The throw statement\n\n    function parseThrowStatement() {\n        var argument;\n\n        expectKeyword('throw');\n\n        if (peekLineTerminator()) {\n            throwError({}, Messages.NewlineAfterThrow);\n        }\n\n        argument = parseExpression();\n\n        consumeSemicolon();\n\n        return delegate.createThrowStatement(argument);\n    }\n\n    // 12.14 The try statement\n\n    function parseCatchClause() {\n        var param, body;\n\n        expectKeyword('catch');\n\n        expect('(');\n        if (match(')')) {\n            throwUnexpected(lookahead);\n        }\n\n        param = parseExpression();\n        // 12.14.1\n        if (strict && param.type === Syntax.Identifier && isRestrictedWord(param.name)) {\n            throwErrorTolerant({}, Messages.StrictCatchVariable);\n        }\n\n        expect(')');\n        body = parseBlock();\n        return delegate.createCatchClause(param, body);\n    }\n\n    function parseTryStatement() {\n        var block, handlers = [], finalizer = null;\n\n        expectKeyword('try');\n\n        block = parseBlock();\n\n        if (matchKeyword('catch')) {\n            handlers.push(parseCatchClause());\n        }\n\n        if (matchKeyword('finally')) {\n            lex();\n            finalizer = parseBlock();\n        }\n\n        if (handlers.length === 0 && !finalizer) {\n            throwError({}, Messages.NoCatchOrFinally);\n        }\n\n        return delegate.createTryStatement(block, [], handlers, finalizer);\n    }\n\n    // 12.15 The debugger statement\n\n    function parseDebuggerStatement() {\n        expectKeyword('debugger');\n\n        consumeSemicolon();\n\n        return delegate.createDebuggerStatement();\n    }\n\n    // 12 Statements\n\n    function parseStatement() {\n        var type = lookahead.type,\n            expr,\n            labeledBody,\n            key;\n\n        if (type === Token.EOF) {\n            throwUnexpected(lookahead);\n        }\n\n        if (type === Token.Punctuator) {\n            switch (lookahead.value) {\n            case ';':\n                return parseEmptyStatement();\n            case '{':\n                return parseBlock();\n            case '(':\n                return parseExpressionStatement();\n            default:\n                break;\n            }\n        }\n\n        if (type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'break':\n                return parseBreakStatement();\n            case 'continue':\n                return parseContinueStatement();\n            case 'debugger':\n                return parseDebuggerStatement();\n            case 'do':\n                return parseDoWhileStatement();\n            case 'for':\n                return parseForStatement();\n            case 'function':\n                return parseFunctionDeclaration();\n            case 'class':\n                return parseClassDeclaration();\n            case 'if':\n                return parseIfStatement();\n            case 'return':\n                return parseReturnStatement();\n            case 'switch':\n                return parseSwitchStatement();\n            case 'throw':\n                return parseThrowStatement();\n            case 'try':\n                return parseTryStatement();\n            case 'var':\n                return parseVariableStatement();\n            case 'while':\n                return parseWhileStatement();\n            case 'with':\n                return parseWithStatement();\n            default:\n                break;\n            }\n        }\n\n        expr = parseExpression();\n\n        // 12.12 Labelled Statements\n        if ((expr.type === Syntax.Identifier) && match(':')) {\n            lex();\n\n            key = '$' + expr.name;\n            if (Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.Redeclaration, 'Label', expr.name);\n            }\n\n            state.labelSet[key] = true;\n            labeledBody = parseStatement();\n            delete state.labelSet[key];\n            return delegate.createLabeledStatement(expr, labeledBody);\n        }\n\n        consumeSemicolon();\n\n        return delegate.createExpressionStatement(expr);\n    }\n\n    // 13 Function Definition\n\n    function parseConciseBody() {\n        if (match('{')) {\n            return parseFunctionSourceElements();\n        }\n        return parseAssignmentExpression();\n    }\n\n    function parseFunctionSourceElements() {\n        var sourceElement, sourceElements = [], token, directive, firstRestricted,\n            oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody, oldParenthesizedCount;\n\n        expect('{');\n\n        while (index < length) {\n            if (lookahead.type !== Token.StringLiteral) {\n                break;\n            }\n            token = lookahead;\n\n            sourceElement = parseSourceElement();\n            sourceElements.push(sourceElement);\n            if (sourceElement.expression.type !== Syntax.Literal) {\n                // this is not directive\n                break;\n            }\n            directive = source.slice(token.range[0] + 1, token.range[1] - 1);\n            if (directive === 'use strict') {\n                strict = true;\n                if (firstRestricted) {\n                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n                }\n            } else {\n                if (!firstRestricted && token.octal) {\n                    firstRestricted = token;\n                }\n            }\n        }\n\n        oldLabelSet = state.labelSet;\n        oldInIteration = state.inIteration;\n        oldInSwitch = state.inSwitch;\n        oldInFunctionBody = state.inFunctionBody;\n        oldParenthesizedCount = state.parenthesizedCount;\n\n        state.labelSet = {};\n        state.inIteration = false;\n        state.inSwitch = false;\n        state.inFunctionBody = true;\n        state.parenthesizedCount = 0;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            sourceElement = parseSourceElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            sourceElements.push(sourceElement);\n        }\n\n        expect('}');\n\n        state.labelSet = oldLabelSet;\n        state.inIteration = oldInIteration;\n        state.inSwitch = oldInSwitch;\n        state.inFunctionBody = oldInFunctionBody;\n        state.parenthesizedCount = oldParenthesizedCount;\n\n        return delegate.createBlockStatement(sourceElements);\n    }\n\n    function validateParam(options, param, name) {\n        var key = '$' + name;\n        if (strict) {\n            if (isRestrictedWord(name)) {\n                options.stricted = param;\n                options.message = Messages.StrictParamName;\n            }\n            if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {\n                options.stricted = param;\n                options.message = Messages.StrictParamDupe;\n            }\n        } else if (!options.firstRestricted) {\n            if (isRestrictedWord(name)) {\n                options.firstRestricted = param;\n                options.message = Messages.StrictParamName;\n            } else if (isStrictModeReservedWord(name)) {\n                options.firstRestricted = param;\n                options.message = Messages.StrictReservedWord;\n            } else if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {\n                options.firstRestricted = param;\n                options.message = Messages.StrictParamDupe;\n            }\n        }\n        options.paramSet[key] = true;\n    }\n\n    function parseParam(options) {\n        var token, rest, param, def;\n\n        token = lookahead;\n        if (token.value === '...') {\n            token = lex();\n            rest = true;\n        }\n\n        if (match('[')) {\n            param = parseArrayInitialiser();\n            reinterpretAsDestructuredParameter(options, param);\n        } else if (match('{')) {\n            if (rest) {\n                throwError({}, Messages.ObjectPatternAsRestParameter);\n            }\n            param = parseObjectInitialiser();\n            reinterpretAsDestructuredParameter(options, param);\n        } else {\n            // Typing rest params is awkward, so punting on that for now\n            param = rest\n                ? parseVariableIdentifier()\n                : parseTypeAnnotatableIdentifier();\n            validateParam(options, token, token.value);\n            if (match('=')) {\n                if (rest) {\n                    throwErrorTolerant(lookahead, Messages.DefaultRestParameter);\n                }\n                lex();\n                def = parseAssignmentExpression();\n                ++options.defaultCount;\n            }\n        }\n\n        if (rest) {\n            if (!match(')')) {\n                throwError({}, Messages.ParameterAfterRestParameter);\n            }\n            options.rest = param;\n            return false;\n        }\n\n        options.params.push(param);\n        options.defaults.push(def);\n        return !match(')');\n    }\n\n    function parseParams(firstRestricted) {\n        var options;\n\n        options = {\n            params: [],\n            defaultCount: 0,\n            defaults: [],\n            rest: null,\n            firstRestricted: firstRestricted\n        };\n\n        expect('(');\n\n        if (!match(')')) {\n            options.paramSet = {};\n            while (index < length) {\n                if (!parseParam(options)) {\n                    break;\n                }\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        if (options.defaultCount === 0) {\n            options.defaults = [];\n        }\n\n        if (match(':')) {\n            options.returnTypeAnnotation = parseTypeAnnotation();\n        }\n\n        return options;\n    }\n\n    function parseFunctionDeclaration() {\n        var id, body, token, tmp, firstRestricted, message, previousStrict, previousYieldAllowed, generator, expression;\n\n        expectKeyword('function');\n\n        generator = false;\n        if (match('*')) {\n            lex();\n            generator = true;\n        }\n\n        token = lookahead;\n\n        id = parseVariableIdentifier();\n\n        if (strict) {\n            if (isRestrictedWord(token.value)) {\n                throwErrorTolerant(token, Messages.StrictFunctionName);\n            }\n        } else {\n            if (isRestrictedWord(token.value)) {\n                firstRestricted = token;\n                message = Messages.StrictFunctionName;\n            } else if (isStrictModeReservedWord(token.value)) {\n                firstRestricted = token;\n                message = Messages.StrictReservedWord;\n            }\n        }\n\n        tmp = parseParams(firstRestricted);\n        firstRestricted = tmp.firstRestricted;\n        if (tmp.message) {\n            message = tmp.message;\n        }\n\n        previousStrict = strict;\n        previousYieldAllowed = state.yieldAllowed;\n        state.yieldAllowed = generator;\n\n        // here we redo some work in order to set 'expression'\n        expression = !match('{');\n        body = parseConciseBody();\n\n        if (strict && firstRestricted) {\n            throwError(firstRestricted, message);\n        }\n        if (strict && tmp.stricted) {\n            throwErrorTolerant(tmp.stricted, message);\n        }\n        if (state.yieldAllowed && !state.yieldFound) {\n            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n        }\n        strict = previousStrict;\n        state.yieldAllowed = previousYieldAllowed;\n\n        return delegate.createFunctionDeclaration(id, tmp.params, tmp.defaults, body, tmp.rest, generator, expression,\n                tmp.returnTypeAnnotation);\n    }\n\n    function parseFunctionExpression() {\n        var token, id = null, firstRestricted, message, tmp, body, previousStrict, previousYieldAllowed, generator, expression;\n\n        expectKeyword('function');\n\n        generator = false;\n\n        if (match('*')) {\n            lex();\n            generator = true;\n        }\n\n        if (!match('(')) {\n            token = lookahead;\n            id = parseVariableIdentifier();\n            if (strict) {\n                if (isRestrictedWord(token.value)) {\n                    throwErrorTolerant(token, Messages.StrictFunctionName);\n                }\n            } else {\n                if (isRestrictedWord(token.value)) {\n                    firstRestricted = token;\n                    message = Messages.StrictFunctionName;\n                } else if (isStrictModeReservedWord(token.value)) {\n                    firstRestricted = token;\n                    message = Messages.StrictReservedWord;\n                }\n            }\n        }\n\n        tmp = parseParams(firstRestricted);\n        firstRestricted = tmp.firstRestricted;\n        if (tmp.message) {\n            message = tmp.message;\n        }\n\n        previousStrict = strict;\n        previousYieldAllowed = state.yieldAllowed;\n        state.yieldAllowed = generator;\n\n        // here we redo some work in order to set 'expression'\n        expression = !match('{');\n        body = parseConciseBody();\n\n        if (strict && firstRestricted) {\n            throwError(firstRestricted, message);\n        }\n        if (strict && tmp.stricted) {\n            throwErrorTolerant(tmp.stricted, message);\n        }\n        if (state.yieldAllowed && !state.yieldFound) {\n            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n        }\n        strict = previousStrict;\n        state.yieldAllowed = previousYieldAllowed;\n\n        return delegate.createFunctionExpression(id, tmp.params, tmp.defaults, body, tmp.rest, generator, expression,\n                tmp.returnTypeAnnotation);\n    }\n\n    function parseYieldExpression() {\n        var delegateFlag, expr, previousYieldAllowed;\n\n        expectKeyword('yield');\n\n        if (!state.yieldAllowed) {\n            throwErrorTolerant({}, Messages.IllegalYield);\n        }\n\n        delegateFlag = false;\n        if (match('*')) {\n            lex();\n            delegateFlag = true;\n        }\n\n        // It is a Syntax Error if any AssignmentExpression Contains YieldExpression.\n        previousYieldAllowed = state.yieldAllowed;\n        state.yieldAllowed = false;\n        expr = parseAssignmentExpression();\n        state.yieldAllowed = previousYieldAllowed;\n        state.yieldFound = true;\n\n        return delegate.createYieldExpression(expr, delegateFlag);\n    }\n\n    // 14 Classes\n\n    function parseMethodDefinition(existingPropNames) {\n        var token, key, param, propType, isValidDuplicateProp = false;\n\n        if (lookahead.value === 'static') {\n            propType = ClassPropertyType.static;\n            lex();\n        } else {\n            propType = ClassPropertyType.prototype;\n        }\n\n        if (match('*')) {\n            lex();\n            return delegate.createMethodDefinition(\n                propType,\n                '',\n                parseObjectPropertyKey(),\n                parsePropertyMethodFunction({ generator: true })\n            );\n        }\n\n        token = lookahead;\n        key = parseObjectPropertyKey();\n\n        if (token.value === 'get' && !match('(')) {\n            key = parseObjectPropertyKey();\n\n            // It is a syntax error if any other properties have a name\n            // duplicating this one unless they are a setter\n            if (existingPropNames[propType].hasOwnProperty(key.name)) {\n                isValidDuplicateProp =\n                    // There isn't already a getter for this prop\n                    existingPropNames[propType][key.name].get === undefined\n                    // There isn't already a data prop by this name\n                    && existingPropNames[propType][key.name].data === undefined\n                    // The only existing prop by this name is a setter\n                    && existingPropNames[propType][key.name].set !== undefined;\n                if (!isValidDuplicateProp) {\n                    throwError(key, Messages.IllegalDuplicateClassProperty);\n                }\n            } else {\n                existingPropNames[propType][key.name] = {};\n            }\n            existingPropNames[propType][key.name].get = true;\n\n            expect('(');\n            expect(')');\n            return delegate.createMethodDefinition(\n                propType,\n                'get',\n                key,\n                parsePropertyFunction({ generator: false })\n            );\n        }\n        if (token.value === 'set' && !match('(')) {\n            key = parseObjectPropertyKey();\n\n            // It is a syntax error if any other properties have a name\n            // duplicating this one unless they are a getter\n            if (existingPropNames[propType].hasOwnProperty(key.name)) {\n                isValidDuplicateProp =\n                    // There isn't already a setter for this prop\n                    existingPropNames[propType][key.name].set === undefined\n                    // There isn't already a data prop by this name\n                    && existingPropNames[propType][key.name].data === undefined\n                    // The only existing prop by this name is a getter\n                    && existingPropNames[propType][key.name].get !== undefined;\n                if (!isValidDuplicateProp) {\n                    throwError(key, Messages.IllegalDuplicateClassProperty);\n                }\n            } else {\n                existingPropNames[propType][key.name] = {};\n            }\n            existingPropNames[propType][key.name].set = true;\n\n            expect('(');\n            token = lookahead;\n            param = [ parseTypeAnnotatableIdentifier() ];\n            expect(')');\n            return delegate.createMethodDefinition(\n                propType,\n                'set',\n                key,\n                parsePropertyFunction({ params: param, generator: false, name: token })\n            );\n        }\n\n        // It is a syntax error if any other properties have the same name as a\n        // non-getter, non-setter method\n        if (existingPropNames[propType].hasOwnProperty(key.name)) {\n            throwError(key, Messages.IllegalDuplicateClassProperty);\n        } else {\n            existingPropNames[propType][key.name] = {};\n        }\n        existingPropNames[propType][key.name].data = true;\n\n        return delegate.createMethodDefinition(\n            propType,\n            '',\n            key,\n            parsePropertyMethodFunction({ generator: false })\n        );\n    }\n\n    function parseClassElement(existingProps) {\n        if (match(';')) {\n            lex();\n            return;\n        }\n        return parseMethodDefinition(existingProps);\n    }\n\n    function parseClassBody() {\n        var classElement, classElements = [], existingProps = {};\n\n        existingProps[ClassPropertyType.static] = {};\n        existingProps[ClassPropertyType.prototype] = {};\n\n        expect('{');\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            classElement = parseClassElement(existingProps);\n\n            if (typeof classElement !== 'undefined') {\n                classElements.push(classElement);\n            }\n        }\n\n        expect('}');\n\n        return delegate.createClassBody(classElements);\n    }\n\n    function parseClassExpression() {\n        var id, previousYieldAllowed, superClass = null;\n\n        expectKeyword('class');\n\n        if (!matchKeyword('extends') && !match('{')) {\n            id = parseVariableIdentifier();\n        }\n\n        if (matchKeyword('extends')) {\n            expectKeyword('extends');\n            previousYieldAllowed = state.yieldAllowed;\n            state.yieldAllowed = false;\n            superClass = parseAssignmentExpression();\n            state.yieldAllowed = previousYieldAllowed;\n        }\n\n        return delegate.createClassExpression(id, superClass, parseClassBody());\n    }\n\n    function parseClassDeclaration() {\n        var id, previousYieldAllowed, superClass = null;\n\n        expectKeyword('class');\n\n        id = parseVariableIdentifier();\n\n        if (matchKeyword('extends')) {\n            expectKeyword('extends');\n            previousYieldAllowed = state.yieldAllowed;\n            state.yieldAllowed = false;\n            superClass = parseAssignmentExpression();\n            state.yieldAllowed = previousYieldAllowed;\n        }\n\n        return delegate.createClassDeclaration(id, superClass, parseClassBody());\n    }\n\n    // 15 Program\n\n    function matchModuleDeclaration() {\n        var id;\n        if (matchContextualKeyword('module')) {\n            id = lookahead2();\n            return id.type === Token.StringLiteral || id.type === Token.Identifier;\n        }\n        return false;\n    }\n\n    function parseSourceElement() {\n        if (lookahead.type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'const':\n            case 'let':\n                return parseConstLetDeclaration(lookahead.value);\n            case 'function':\n                return parseFunctionDeclaration();\n            case 'export':\n                return parseExportDeclaration();\n            case 'import':\n                return parseImportDeclaration();\n            default:\n                return parseStatement();\n            }\n        }\n\n        if (matchModuleDeclaration()) {\n            throwError({}, Messages.NestedModule);\n        }\n\n        if (lookahead.type !== Token.EOF) {\n            return parseStatement();\n        }\n    }\n\n    function parseProgramElement() {\n        if (lookahead.type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'export':\n                return parseExportDeclaration();\n            case 'import':\n                return parseImportDeclaration();\n            }\n        }\n\n        if (matchModuleDeclaration()) {\n            return parseModuleDeclaration();\n        }\n\n        return parseSourceElement();\n    }\n\n    function parseProgramElements() {\n        var sourceElement, sourceElements = [], token, directive, firstRestricted;\n\n        while (index < length) {\n            token = lookahead;\n            if (token.type !== Token.StringLiteral) {\n                break;\n            }\n\n            sourceElement = parseProgramElement();\n            sourceElements.push(sourceElement);\n            if (sourceElement.expression.type !== Syntax.Literal) {\n                // this is not directive\n                break;\n            }\n            directive = source.slice(token.range[0] + 1, token.range[1] - 1);\n            if (directive === 'use strict') {\n                strict = true;\n                if (firstRestricted) {\n                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n                }\n            } else {\n                if (!firstRestricted && token.octal) {\n                    firstRestricted = token;\n                }\n            }\n        }\n\n        while (index < length) {\n            sourceElement = parseProgramElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            sourceElements.push(sourceElement);\n        }\n        return sourceElements;\n    }\n\n    function parseModuleElement() {\n        return parseSourceElement();\n    }\n\n    function parseModuleElements() {\n        var list = [],\n            statement;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            statement = parseModuleElement();\n            if (typeof statement === 'undefined') {\n                break;\n            }\n            list.push(statement);\n        }\n\n        return list;\n    }\n\n    function parseModuleBlock() {\n        var block;\n\n        expect('{');\n\n        block = parseModuleElements();\n\n        expect('}');\n\n        return delegate.createBlockStatement(block);\n    }\n\n    function parseProgram() {\n        var body;\n        strict = false;\n        peek();\n        body = parseProgramElements();\n        return delegate.createProgram(body);\n    }\n\n    // The following functions are needed only when the option to preserve\n    // the comments is active.\n\n    function addComment(type, value, start, end, loc) {\n        assert(typeof start === 'number', 'Comment must have valid position');\n\n        // Because the way the actual token is scanned, often the comments\n        // (if any) are skipped twice during the lexical analysis.\n        // Thus, we need to skip adding a comment if the comment array already\n        // handled it.\n        if (extra.comments.length > 0) {\n            if (extra.comments[extra.comments.length - 1].range[1] > start) {\n                return;\n            }\n        }\n\n        extra.comments.push({\n            type: type,\n            value: value,\n            range: [start, end],\n            loc: loc\n        });\n    }\n\n    function scanComment() {\n        var comment, ch, loc, start, blockComment, lineComment;\n\n        comment = '';\n        blockComment = false;\n        lineComment = false;\n\n        while (index < length) {\n            ch = source[index];\n\n            if (lineComment) {\n                ch = source[index++];\n                if (isLineTerminator(ch.charCodeAt(0))) {\n                    loc.end = {\n                        line: lineNumber,\n                        column: index - lineStart - 1\n                    };\n                    lineComment = false;\n                    addComment('Line', comment, start, index - 1, loc);\n                    if (ch === '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    lineStart = index;\n                    comment = '';\n                } else if (index >= length) {\n                    lineComment = false;\n                    comment += ch;\n                    loc.end = {\n                        line: lineNumber,\n                        column: length - lineStart\n                    };\n                    addComment('Line', comment, start, length, loc);\n                } else {\n                    comment += ch;\n                }\n            } else if (blockComment) {\n                if (isLineTerminator(ch.charCodeAt(0))) {\n                    if (ch === '\\r' && source[index + 1] === '\\n') {\n                        ++index;\n                        comment += '\\r\\n';\n                    } else {\n                        comment += ch;\n                    }\n                    ++lineNumber;\n                    ++index;\n                    lineStart = index;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    ch = source[index++];\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                    comment += ch;\n                    if (ch === '*') {\n                        ch = source[index];\n                        if (ch === '/') {\n                            comment = comment.substr(0, comment.length - 1);\n                            blockComment = false;\n                            ++index;\n                            loc.end = {\n                                line: lineNumber,\n                                column: index - lineStart\n                            };\n                            addComment('Block', comment, start, index, loc);\n                            comment = '';\n                        }\n                    }\n                }\n            } else if (ch === '/') {\n                ch = source[index + 1];\n                if (ch === '/') {\n                    loc = {\n                        start: {\n                            line: lineNumber,\n                            column: index - lineStart\n                        }\n                    };\n                    start = index;\n                    index += 2;\n                    lineComment = true;\n                    if (index >= length) {\n                        loc.end = {\n                            line: lineNumber,\n                            column: index - lineStart\n                        };\n                        lineComment = false;\n                        addComment('Line', comment, start, index, loc);\n                    }\n                } else if (ch === '*') {\n                    start = index;\n                    index += 2;\n                    blockComment = true;\n                    loc = {\n                        start: {\n                            line: lineNumber,\n                            column: index - lineStart - 2\n                        }\n                    };\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    break;\n                }\n            } else if (isWhiteSpace(ch.charCodeAt(0))) {\n                ++index;\n            } else if (isLineTerminator(ch.charCodeAt(0))) {\n                ++index;\n                if (ch ===  '\\r' && source[index] === '\\n') {\n                    ++index;\n                }\n                ++lineNumber;\n                lineStart = index;\n            } else {\n                break;\n            }\n        }\n    }\n\n    function filterCommentLocation() {\n        var i, entry, comment, comments = [];\n\n        for (i = 0; i < extra.comments.length; ++i) {\n            entry = extra.comments[i];\n            comment = {\n                type: entry.type,\n                value: entry.value\n            };\n            if (extra.range) {\n                comment.range = entry.range;\n            }\n            if (extra.loc) {\n                comment.loc = entry.loc;\n            }\n            comments.push(comment);\n        }\n\n        extra.comments = comments;\n    }\n\n    // 16 XJS\n\n    XHTMLEntities = {\n        quot: '\\u0022',\n        amp: '&',\n        apos: \"\\u0027\",\n        lt: \"<\",\n        gt: \">\",\n        nbsp: \"\\u00A0\",\n        iexcl: \"\\u00A1\",\n        cent: \"\\u00A2\",\n        pound: \"\\u00A3\",\n        curren: \"\\u00A4\",\n        yen: \"\\u00A5\",\n        brvbar: \"\\u00A6\",\n        sect: \"\\u00A7\",\n        uml: \"\\u00A8\",\n        copy: \"\\u00A9\",\n        ordf: \"\\u00AA\",\n        laquo: \"\\u00AB\",\n        not: \"\\u00AC\",\n        shy: \"\\u00AD\",\n        reg: \"\\u00AE\",\n        macr: \"\\u00AF\",\n        deg: \"\\u00B0\",\n        plusmn: \"\\u00B1\",\n        sup2: \"\\u00B2\",\n        sup3: \"\\u00B3\",\n        acute: \"\\u00B4\",\n        micro: \"\\u00B5\",\n        para: \"\\u00B6\",\n        middot: \"\\u00B7\",\n        cedil: \"\\u00B8\",\n        sup1: \"\\u00B9\",\n        ordm: \"\\u00BA\",\n        raquo: \"\\u00BB\",\n        frac14: \"\\u00BC\",\n        frac12: \"\\u00BD\",\n        frac34: \"\\u00BE\",\n        iquest: \"\\u00BF\",\n        Agrave: \"\\u00C0\",\n        Aacute: \"\\u00C1\",\n        Acirc: \"\\u00C2\",\n        Atilde: \"\\u00C3\",\n        Auml: \"\\u00C4\",\n        Aring: \"\\u00C5\",\n        AElig: \"\\u00C6\",\n        Ccedil: \"\\u00C7\",\n        Egrave: \"\\u00C8\",\n        Eacute: \"\\u00C9\",\n        Ecirc: \"\\u00CA\",\n        Euml: \"\\u00CB\",\n        Igrave: \"\\u00CC\",\n        Iacute: \"\\u00CD\",\n        Icirc: \"\\u00CE\",\n        Iuml: \"\\u00CF\",\n        ETH: \"\\u00D0\",\n        Ntilde: \"\\u00D1\",\n        Ograve: \"\\u00D2\",\n        Oacute: \"\\u00D3\",\n        Ocirc: \"\\u00D4\",\n        Otilde: \"\\u00D5\",\n        Ouml: \"\\u00D6\",\n        times: \"\\u00D7\",\n        Oslash: \"\\u00D8\",\n        Ugrave: \"\\u00D9\",\n        Uacute: \"\\u00DA\",\n        Ucirc: \"\\u00DB\",\n        Uuml: \"\\u00DC\",\n        Yacute: \"\\u00DD\",\n        THORN: \"\\u00DE\",\n        szlig: \"\\u00DF\",\n        agrave: \"\\u00E0\",\n        aacute: \"\\u00E1\",\n        acirc: \"\\u00E2\",\n        atilde: \"\\u00E3\",\n        auml: \"\\u00E4\",\n        aring: \"\\u00E5\",\n        aelig: \"\\u00E6\",\n        ccedil: \"\\u00E7\",\n        egrave: \"\\u00E8\",\n        eacute: \"\\u00E9\",\n        ecirc: \"\\u00EA\",\n        euml: \"\\u00EB\",\n        igrave: \"\\u00EC\",\n        iacute: \"\\u00ED\",\n        icirc: \"\\u00EE\",\n        iuml: \"\\u00EF\",\n        eth: \"\\u00F0\",\n        ntilde: \"\\u00F1\",\n        ograve: \"\\u00F2\",\n        oacute: \"\\u00F3\",\n        ocirc: \"\\u00F4\",\n        otilde: \"\\u00F5\",\n        ouml: \"\\u00F6\",\n        divide: \"\\u00F7\",\n        oslash: \"\\u00F8\",\n        ugrave: \"\\u00F9\",\n        uacute: \"\\u00FA\",\n        ucirc: \"\\u00FB\",\n        uuml: \"\\u00FC\",\n        yacute: \"\\u00FD\",\n        thorn: \"\\u00FE\",\n        yuml: \"\\u00FF\",\n        OElig: \"\\u0152\",\n        oelig: \"\\u0153\",\n        Scaron: \"\\u0160\",\n        scaron: \"\\u0161\",\n        Yuml: \"\\u0178\",\n        fnof: \"\\u0192\",\n        circ: \"\\u02C6\",\n        tilde: \"\\u02DC\",\n        Alpha: \"\\u0391\",\n        Beta: \"\\u0392\",\n        Gamma: \"\\u0393\",\n        Delta: \"\\u0394\",\n        Epsilon: \"\\u0395\",\n        Zeta: \"\\u0396\",\n        Eta: \"\\u0397\",\n        Theta: \"\\u0398\",\n        Iota: \"\\u0399\",\n        Kappa: \"\\u039A\",\n        Lambda: \"\\u039B\",\n        Mu: \"\\u039C\",\n        Nu: \"\\u039D\",\n        Xi: \"\\u039E\",\n        Omicron: \"\\u039F\",\n        Pi: \"\\u03A0\",\n        Rho: \"\\u03A1\",\n        Sigma: \"\\u03A3\",\n        Tau: \"\\u03A4\",\n        Upsilon: \"\\u03A5\",\n        Phi: \"\\u03A6\",\n        Chi: \"\\u03A7\",\n        Psi: \"\\u03A8\",\n        Omega: \"\\u03A9\",\n        alpha: \"\\u03B1\",\n        beta: \"\\u03B2\",\n        gamma: \"\\u03B3\",\n        delta: \"\\u03B4\",\n        epsilon: \"\\u03B5\",\n        zeta: \"\\u03B6\",\n        eta: \"\\u03B7\",\n        theta: \"\\u03B8\",\n        iota: \"\\u03B9\",\n        kappa: \"\\u03BA\",\n        lambda: \"\\u03BB\",\n        mu: \"\\u03BC\",\n        nu: \"\\u03BD\",\n        xi: \"\\u03BE\",\n        omicron: \"\\u03BF\",\n        pi: \"\\u03C0\",\n        rho: \"\\u03C1\",\n        sigmaf: \"\\u03C2\",\n        sigma: \"\\u03C3\",\n        tau: \"\\u03C4\",\n        upsilon: \"\\u03C5\",\n        phi: \"\\u03C6\",\n        chi: \"\\u03C7\",\n        psi: \"\\u03C8\",\n        omega: \"\\u03C9\",\n        thetasym: \"\\u03D1\",\n        upsih: \"\\u03D2\",\n        piv: \"\\u03D6\",\n        ensp: \"\\u2002\",\n        emsp: \"\\u2003\",\n        thinsp: \"\\u2009\",\n        zwnj: \"\\u200C\",\n        zwj: \"\\u200D\",\n        lrm: \"\\u200E\",\n        rlm: \"\\u200F\",\n        ndash: \"\\u2013\",\n        mdash: \"\\u2014\",\n        lsquo: \"\\u2018\",\n        rsquo: \"\\u2019\",\n        sbquo: \"\\u201A\",\n        ldquo: \"\\u201C\",\n        rdquo: \"\\u201D\",\n        bdquo: \"\\u201E\",\n        dagger: \"\\u2020\",\n        Dagger: \"\\u2021\",\n        bull: \"\\u2022\",\n        hellip: \"\\u2026\",\n        permil: \"\\u2030\",\n        prime: \"\\u2032\",\n        Prime: \"\\u2033\",\n        lsaquo: \"\\u2039\",\n        rsaquo: \"\\u203A\",\n        oline: \"\\u203E\",\n        frasl: \"\\u2044\",\n        euro: \"\\u20AC\",\n        image: \"\\u2111\",\n        weierp: \"\\u2118\",\n        real: \"\\u211C\",\n        trade: \"\\u2122\",\n        alefsym: \"\\u2135\",\n        larr: \"\\u2190\",\n        uarr: \"\\u2191\",\n        rarr: \"\\u2192\",\n        darr: \"\\u2193\",\n        harr: \"\\u2194\",\n        crarr: \"\\u21B5\",\n        lArr: \"\\u21D0\",\n        uArr: \"\\u21D1\",\n        rArr: \"\\u21D2\",\n        dArr: \"\\u21D3\",\n        hArr: \"\\u21D4\",\n        forall: \"\\u2200\",\n        part: \"\\u2202\",\n        exist: \"\\u2203\",\n        empty: \"\\u2205\",\n        nabla: \"\\u2207\",\n        isin: \"\\u2208\",\n        notin: \"\\u2209\",\n        ni: \"\\u220B\",\n        prod: \"\\u220F\",\n        sum: \"\\u2211\",\n        minus: \"\\u2212\",\n        lowast: \"\\u2217\",\n        radic: \"\\u221A\",\n        prop: \"\\u221D\",\n        infin: \"\\u221E\",\n        ang: \"\\u2220\",\n        and: \"\\u2227\",\n        or: \"\\u2228\",\n        cap: \"\\u2229\",\n        cup: \"\\u222A\",\n        \"int\": \"\\u222B\",\n        there4: \"\\u2234\",\n        sim: \"\\u223C\",\n        cong: \"\\u2245\",\n        asymp: \"\\u2248\",\n        ne: \"\\u2260\",\n        equiv: \"\\u2261\",\n        le: \"\\u2264\",\n        ge: \"\\u2265\",\n        sub: \"\\u2282\",\n        sup: \"\\u2283\",\n        nsub: \"\\u2284\",\n        sube: \"\\u2286\",\n        supe: \"\\u2287\",\n        oplus: \"\\u2295\",\n        otimes: \"\\u2297\",\n        perp: \"\\u22A5\",\n        sdot: \"\\u22C5\",\n        lceil: \"\\u2308\",\n        rceil: \"\\u2309\",\n        lfloor: \"\\u230A\",\n        rfloor: \"\\u230B\",\n        lang: \"\\u2329\",\n        rang: \"\\u232A\",\n        loz: \"\\u25CA\",\n        spades: \"\\u2660\",\n        clubs: \"\\u2663\",\n        hearts: \"\\u2665\",\n        diams: \"\\u2666\"\n    };\n\n    function isXJSIdentifierStart(ch) {\n        // exclude backslash (\\)\n        return (ch !== 92) && isIdentifierStart(ch);\n    }\n\n    function isXJSIdentifierPart(ch) {\n        // exclude backslash (\\) and add hyphen (-)\n        return (ch !== 92) && (ch === 45 || isIdentifierPart(ch));\n    }\n\n    function scanXJSIdentifier() {\n        var ch, start, id = '', namespace;\n\n        start = index;\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            if (!isXJSIdentifierPart(ch)) {\n                break;\n            }\n            id += source[index++];\n        }\n\n        if (ch === 58) { // :\n            ++index;\n            namespace = id;\n            id = '';\n\n            while (index < length) {\n                ch = source.charCodeAt(index);\n                if (!isXJSIdentifierPart(ch)) {\n                    break;\n                }\n                id += source[index++];\n            }\n        }\n\n        if (!id) {\n            throwError({}, Messages.InvalidXJSTagName);\n        }\n\n        return {\n            type: Token.XJSIdentifier,\n            value: id,\n            namespace: namespace,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanXJSEntity() {\n        var ch, str = '', count = 0, entity;\n        ch = source[index];\n        assert(ch === '&', 'Entity must start with an ampersand');\n        index++;\n        while (index < length && count++ < 10) {\n            ch = source[index++];\n            if (ch === ';') {\n                break;\n            }\n            str += ch;\n        }\n\n        if (str[0] === '#' && str[1] === 'x') {\n            entity = String.fromCharCode(parseInt(str.substr(2), 16));\n        } else if (str[0] === '#') {\n            entity = String.fromCharCode(parseInt(str.substr(1), 10));\n        } else {\n            entity = XHTMLEntities[str];\n        }\n        return entity;\n    }\n\n    function scanXJSText(stopChars) {\n        var ch, str = '', start;\n        start = index;\n        while (index < length) {\n            ch = source[index];\n            if (stopChars.indexOf(ch) !== -1) {\n                break;\n            }\n            if (ch === '&') {\n                str += scanXJSEntity();\n            } else {\n                ch = source[index++];\n                if (isLineTerminator(ch.charCodeAt(0))) {\n                    ++lineNumber;\n                    lineStart = index;\n                }\n                str += ch;\n            }\n        }\n        return {\n            type: Token.XJSText,\n            value: str,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanXJSStringLiteral() {\n        var innerToken, quote, start;\n\n        quote = source[index];\n        assert((quote === '\\'' || quote === '\"'),\n            'String literal must starts with a quote');\n\n        start = index;\n        ++index;\n\n        innerToken = scanXJSText([quote]);\n\n        if (quote !== source[index]) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        ++index;\n\n        innerToken.range = [start, index];\n\n        return innerToken;\n    }\n\n    /**\n     * Between XJS opening and closing tags (e.g. <foo>HERE</foo>), anything that\n     * is not another XJS tag and is not an expression wrapped by {} is text.\n     */\n    function advanceXJSChild() {\n        var ch = source.charCodeAt(index);\n\n        // { (123) and < (60)\n        if (ch !== 123 && ch !== 60) {\n            return scanXJSText(['<', '{']);\n        }\n\n        return scanPunctuator();\n    }\n\n    function parseXJSIdentifier() {\n        var token;\n\n        if (lookahead.type !== Token.XJSIdentifier) {\n            throwUnexpected(lookahead);\n        }\n\n        token = lex();\n        return delegate.createXJSIdentifier(token.value, token.namespace);\n    }\n\n    function parseXJSAttributeValue() {\n        var value;\n        if (match('{')) {\n            value = parseXJSExpressionContainer();\n            if (value.expression.type === Syntax.XJSEmptyExpression) {\n                throwError(\n                    value,\n                    'XJS attributes must only be assigned a non-empty ' +\n                        'expression'\n                );\n            }\n        } else if (lookahead.type === Token.XJSText) {\n            value = delegate.createLiteral(lex());\n        } else {\n            throwError({}, Messages.InvalidXJSAttributeValue);\n        }\n        return value;\n    }\n\n    function parseXJSEmptyExpression() {\n        while (source.charAt(index) !== '}') {\n            index++;\n        }\n        return delegate.createXJSEmptyExpression();\n    }\n\n    function parseXJSExpressionContainer() {\n        var expression, origInXJSChild, origInXJSTag;\n\n        origInXJSChild = state.inXJSChild;\n        origInXJSTag = state.inXJSTag;\n        state.inXJSChild = false;\n        state.inXJSTag = false;\n\n        expect('{');\n\n        if (match('}')) {\n            expression = parseXJSEmptyExpression();\n        } else {\n            expression = parseExpression();\n        }\n\n        state.inXJSChild = origInXJSChild;\n        state.inXJSTag = origInXJSTag;\n\n        expect('}');\n\n        return delegate.createXJSExpressionContainer(expression);\n    }\n\n    function parseXJSAttribute() {\n        var token, name, value;\n\n        name = parseXJSIdentifier();\n\n        // HTML empty attribute\n        if (match('=')) {\n            lex();\n            return delegate.createXJSAttribute(name, parseXJSAttributeValue());\n        }\n\n        return delegate.createXJSAttribute(name);\n    }\n\n    function parseXJSChild() {\n        var token;\n        if (match('{')) {\n            token = parseXJSExpressionContainer();\n        } else if (lookahead.type === Token.XJSText) {\n            token = delegate.createLiteral(lex());\n        } else {\n            state.inXJSChild = false;\n            token = parseXJSElement();\n            state.inXJSChild = true;\n        }\n        return token;\n    }\n\n    function parseXJSClosingElement() {\n        var name, origInXJSTag;\n        origInXJSTag = state.inXJSTag;\n        state.inXJSTag = true;\n        state.inXJSChild = false;\n        expect('<');\n        expect('/');\n        name = parseXJSIdentifier();\n        state.inXJSTag = origInXJSTag;\n        expect('>');\n        return delegate.createXJSClosingElement(name);\n    }\n\n    function parseXJSOpeningElement() {\n        var name, attribute, attributes = [], selfClosing = false, origInXJSTag;\n\n        origInXJSTag = state.inXJSTag;\n        state.inXJSTag = true;\n\n        expect('<');\n\n        name = parseXJSIdentifier();\n\n        while (index < length &&\n                lookahead.value !== '/' &&\n                lookahead.value !== '>') {\n            attributes.push(parseXJSAttribute());\n        }\n\n        state.inXJSTag = origInXJSTag;\n\n        if (lookahead.value === '/') {\n            expect('/');\n            expect('>');\n            selfClosing = true;\n        } else {\n            state.inXJSChild = true;\n            expect('>');\n        }\n        return delegate.createXJSOpeningElement(name, attributes, selfClosing);\n    }\n\n    function parseXJSElement() {\n        var openingElement, closingElement, children = [], origInXJSChild;\n\n        openingElement = parseXJSOpeningElement();\n\n        if (!openingElement.selfClosing) {\n            origInXJSChild = state.inXJSChild;\n            while (index < length) {\n                state.inXJSChild = false; // </ should not be considered in the child\n                if (lookahead.value === '<' && lookahead2().value === '/') {\n                    break;\n                }\n                state.inXJSChild = true;\n                peek(); // reset lookahead token\n                children.push(parseXJSChild());\n            }\n            state.inXJSChild = origInXJSChild;\n            closingElement = parseXJSClosingElement();\n            if (closingElement.name.namespace !== openingElement.name.namespace || closingElement.name.name !== openingElement.name.name) {\n                throwError({}, Messages.ExpectedXJSClosingTag, openingElement.name.namespace ? openingElement.name.namespace + ':' + openingElement.name.name : openingElement.name.name);\n            }\n        }\n\n        return delegate.createXJSElement(openingElement, closingElement, children);\n    }\n\n    function collectToken() {\n        var start, loc, token, range, value;\n\n        skipComment();\n        start = index;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        token = extra.advance();\n        loc.end = {\n            line: lineNumber,\n            column: index - lineStart\n        };\n\n        if (token.type !== Token.EOF) {\n            range = [token.range[0], token.range[1]];\n            value = source.slice(token.range[0], token.range[1]);\n            extra.tokens.push({\n                type: TokenName[token.type],\n                value: value,\n                range: range,\n                loc: loc\n            });\n        }\n\n        return token;\n    }\n\n    function collectRegex() {\n        var pos, loc, regex, token;\n\n        skipComment();\n\n        pos = index;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        regex = extra.scanRegExp();\n        loc.end = {\n            line: lineNumber,\n            column: index - lineStart\n        };\n\n        if (!extra.tokenize) {\n            // Pop the previous token, which is likely '/' or '/='\n            if (extra.tokens.length > 0) {\n                token = extra.tokens[extra.tokens.length - 1];\n                if (token.range[0] === pos && token.type === 'Punctuator') {\n                    if (token.value === '/' || token.value === '/=') {\n                        extra.tokens.pop();\n                    }\n                }\n            }\n\n            extra.tokens.push({\n                type: 'RegularExpression',\n                value: regex.literal,\n                range: [pos, index],\n                loc: loc\n            });\n        }\n\n        return regex;\n    }\n\n    function filterTokenLocation() {\n        var i, entry, token, tokens = [];\n\n        for (i = 0; i < extra.tokens.length; ++i) {\n            entry = extra.tokens[i];\n            token = {\n                type: entry.type,\n                value: entry.value\n            };\n            if (extra.range) {\n                token.range = entry.range;\n            }\n            if (extra.loc) {\n                token.loc = entry.loc;\n            }\n            tokens.push(token);\n        }\n\n        extra.tokens = tokens;\n    }\n\n    function LocationMarker() {\n        this.range = [index, index];\n        this.loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            },\n            end: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n    }\n\n    LocationMarker.prototype = {\n        constructor: LocationMarker,\n\n        end: function () {\n            this.range[1] = index;\n            this.loc.end.line = lineNumber;\n            this.loc.end.column = index - lineStart;\n        },\n\n        applyGroup: function (node) {\n            if (extra.range) {\n                node.groupRange = [this.range[0], this.range[1]];\n            }\n            if (extra.loc) {\n                node.groupLoc = {\n                    start: {\n                        line: this.loc.start.line,\n                        column: this.loc.start.column\n                    },\n                    end: {\n                        line: this.loc.end.line,\n                        column: this.loc.end.column\n                    }\n                };\n                node = delegate.postProcess(node);\n            }\n        },\n\n        apply: function (node) {\n            var nodeType = typeof node;\n            assert(nodeType === \"object\",\n                \"Applying location marker to an unexpected node type: \" +\n                    nodeType);\n\n            if (extra.range) {\n                node.range = [this.range[0], this.range[1]];\n            }\n            if (extra.loc) {\n                node.loc = {\n                    start: {\n                        line: this.loc.start.line,\n                        column: this.loc.start.column\n                    },\n                    end: {\n                        line: this.loc.end.line,\n                        column: this.loc.end.column\n                    }\n                };\n                node = delegate.postProcess(node);\n            }\n        }\n    };\n\n    function createLocationMarker() {\n        return new LocationMarker();\n    }\n\n    function trackGroupExpression() {\n        var marker, expr;\n\n        skipComment();\n        marker = createLocationMarker();\n        expect('(');\n\n        ++state.parenthesizedCount;\n\n        state.allowArrowFunction = !state.allowArrowFunction;\n        expr = parseExpression();\n        state.allowArrowFunction = false;\n\n        if (expr.type === 'ArrowFunctionExpression') {\n            marker.end();\n            marker.apply(expr);\n        } else {\n            expect(')');\n            marker.end();\n            marker.applyGroup(expr);\n        }\n\n        return expr;\n    }\n\n    function trackLeftHandSideExpression() {\n        var marker, expr;\n\n        skipComment();\n        marker = createLocationMarker();\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || lookahead.type === Token.Template) {\n            if (match('[')) {\n                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n                marker.end();\n                marker.apply(expr);\n            } else if (match('.')) {\n                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n                marker.end();\n                marker.apply(expr);\n            } else {\n                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n    function trackLeftHandSideExpressionAllowCall() {\n        var marker, expr, args;\n\n        skipComment();\n        marker = createLocationMarker();\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || match('(') || lookahead.type === Token.Template) {\n            if (match('(')) {\n                args = parseArguments();\n                expr = delegate.createCallExpression(expr, args);\n                marker.end();\n                marker.apply(expr);\n            } else if (match('[')) {\n                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n                marker.end();\n                marker.apply(expr);\n            } else if (match('.')) {\n                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n                marker.end();\n                marker.apply(expr);\n            } else {\n                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n    function filterGroup(node) {\n        var n, i, entry;\n\n        n = (Object.prototype.toString.apply(node) === '[object Array]') ? [] : {};\n        for (i in node) {\n            if (node.hasOwnProperty(i) && i !== 'groupRange' && i !== 'groupLoc') {\n                entry = node[i];\n                if (entry === null || typeof entry !== 'object' || entry instanceof RegExp) {\n                    n[i] = entry;\n                } else {\n                    n[i] = filterGroup(entry);\n                }\n            }\n        }\n        return n;\n    }\n\n    function wrapTrackingFunction(range, loc, preserveWhitespace) {\n\n        return function (parseFunction) {\n\n            function isBinary(node) {\n                return node.type === Syntax.LogicalExpression ||\n                    node.type === Syntax.BinaryExpression;\n            }\n\n            function visit(node) {\n                var start, end;\n\n                if (isBinary(node.left)) {\n                    visit(node.left);\n                }\n                if (isBinary(node.right)) {\n                    visit(node.right);\n                }\n\n                if (range) {\n                    if (node.left.groupRange || node.right.groupRange) {\n                        start = node.left.groupRange ? node.left.groupRange[0] : node.left.range[0];\n                        end = node.right.groupRange ? node.right.groupRange[1] : node.right.range[1];\n                        node.range = [start, end];\n                    } else if (typeof node.range === 'undefined') {\n                        start = node.left.range[0];\n                        end = node.right.range[1];\n                        node.range = [start, end];\n                    }\n                }\n                if (loc) {\n                    if (node.left.groupLoc || node.right.groupLoc) {\n                        start = node.left.groupLoc ? node.left.groupLoc.start : node.left.loc.start;\n                        end = node.right.groupLoc ? node.right.groupLoc.end : node.right.loc.end;\n                        node.loc = {\n                            start: start,\n                            end: end\n                        };\n                        node = delegate.postProcess(node);\n                    } else if (typeof node.loc === 'undefined') {\n                        node.loc = {\n                            start: node.left.loc.start,\n                            end: node.right.loc.end\n                        };\n                        node = delegate.postProcess(node);\n                    }\n                }\n            }\n\n            return function () {\n                var marker, node;\n\n                if (!preserveWhitespace) {\n                    skipComment();\n                }\n\n                marker = createLocationMarker();\n                node = parseFunction.apply(null, arguments);\n                marker.end();\n\n                if (range && typeof node.range === 'undefined') {\n                    marker.apply(node);\n                }\n\n                if (loc && typeof node.loc === 'undefined') {\n                    marker.apply(node);\n                }\n\n                if (isBinary(node)) {\n                    visit(node);\n                }\n\n                return node;\n            };\n        };\n    }\n\n    function patch() {\n\n        var wrapTracking, wrapTrackingPreserveWhitespace;\n\n        if (extra.comments) {\n            extra.skipComment = skipComment;\n            skipComment = scanComment;\n        }\n\n        if (extra.range || extra.loc) {\n\n            extra.parseGroupExpression = parseGroupExpression;\n            extra.parseLeftHandSideExpression = parseLeftHandSideExpression;\n            extra.parseLeftHandSideExpressionAllowCall = parseLeftHandSideExpressionAllowCall;\n            parseGroupExpression = trackGroupExpression;\n            parseLeftHandSideExpression = trackLeftHandSideExpression;\n            parseLeftHandSideExpressionAllowCall = trackLeftHandSideExpressionAllowCall;\n\n            wrapTracking = wrapTrackingFunction(extra.range, extra.loc);\n            wrapTrackingPreserveWhitespace =\n                wrapTrackingFunction(extra.range, extra.loc, true);\n\n            extra.parseAssignmentExpression = parseAssignmentExpression;\n            extra.parseBinaryExpression = parseBinaryExpression;\n            extra.parseBlock = parseBlock;\n            extra.parseFunctionSourceElements = parseFunctionSourceElements;\n            extra.parseCatchClause = parseCatchClause;\n            extra.parseComputedMember = parseComputedMember;\n            extra.parseConditionalExpression = parseConditionalExpression;\n            extra.parseConstLetDeclaration = parseConstLetDeclaration;\n            extra.parseExportBatchSpecifier = parseExportBatchSpecifier;\n            extra.parseExportDeclaration = parseExportDeclaration;\n            extra.parseExportSpecifier = parseExportSpecifier;\n            extra.parseExpression = parseExpression;\n            extra.parseForVariableDeclaration = parseForVariableDeclaration;\n            extra.parseFunctionDeclaration = parseFunctionDeclaration;\n            extra.parseFunctionExpression = parseFunctionExpression;\n            extra.parseParams = parseParams;\n            extra.parseImportDeclaration = parseImportDeclaration;\n            extra.parseImportSpecifier = parseImportSpecifier;\n            extra.parseModuleDeclaration = parseModuleDeclaration;\n            extra.parseModuleBlock = parseModuleBlock;\n            extra.parseNewExpression = parseNewExpression;\n            extra.parseNonComputedProperty = parseNonComputedProperty;\n            extra.parseObjectProperty = parseObjectProperty;\n            extra.parseObjectPropertyKey = parseObjectPropertyKey;\n            extra.parsePostfixExpression = parsePostfixExpression;\n            extra.parsePrimaryExpression = parsePrimaryExpression;\n            extra.parseProgram = parseProgram;\n            extra.parsePropertyFunction = parsePropertyFunction;\n            extra.parseSpreadOrAssignmentExpression = parseSpreadOrAssignmentExpression;\n            extra.parseTemplateElement = parseTemplateElement;\n            extra.parseTemplateLiteral = parseTemplateLiteral;\n            extra.parseTypeAnnotatableIdentifier = parseTypeAnnotatableIdentifier;\n            extra.parseTypeAnnotation = parseTypeAnnotation;\n            extra.parseStatement = parseStatement;\n            extra.parseSwitchCase = parseSwitchCase;\n            extra.parseUnaryExpression = parseUnaryExpression;\n            extra.parseVariableDeclaration = parseVariableDeclaration;\n            extra.parseVariableIdentifier = parseVariableIdentifier;\n            extra.parseMethodDefinition = parseMethodDefinition;\n            extra.parseClassDeclaration = parseClassDeclaration;\n            extra.parseClassExpression = parseClassExpression;\n            extra.parseClassBody = parseClassBody;\n            extra.parseXJSIdentifier = parseXJSIdentifier;\n            extra.parseXJSChild = parseXJSChild;\n            extra.parseXJSAttribute = parseXJSAttribute;\n            extra.parseXJSAttributeValue = parseXJSAttributeValue;\n            extra.parseXJSExpressionContainer = parseXJSExpressionContainer;\n            extra.parseXJSEmptyExpression = parseXJSEmptyExpression;\n            extra.parseXJSElement = parseXJSElement;\n            extra.parseXJSClosingElement = parseXJSClosingElement;\n            extra.parseXJSOpeningElement = parseXJSOpeningElement;\n\n            parseAssignmentExpression = wrapTracking(extra.parseAssignmentExpression);\n            parseBinaryExpression = wrapTracking(extra.parseBinaryExpression);\n            parseBlock = wrapTracking(extra.parseBlock);\n            parseFunctionSourceElements = wrapTracking(extra.parseFunctionSourceElements);\n            parseCatchClause = wrapTracking(extra.parseCatchClause);\n            parseComputedMember = wrapTracking(extra.parseComputedMember);\n            parseConditionalExpression = wrapTracking(extra.parseConditionalExpression);\n            parseConstLetDeclaration = wrapTracking(extra.parseConstLetDeclaration);\n            parseExportBatchSpecifier = wrapTracking(parseExportBatchSpecifier);\n            parseExportDeclaration = wrapTracking(parseExportDeclaration);\n            parseExportSpecifier = wrapTracking(parseExportSpecifier);\n            parseExpression = wrapTracking(extra.parseExpression);\n            parseForVariableDeclaration = wrapTracking(extra.parseForVariableDeclaration);\n            parseFunctionDeclaration = wrapTracking(extra.parseFunctionDeclaration);\n            parseFunctionExpression = wrapTracking(extra.parseFunctionExpression);\n            parseParams = wrapTracking(extra.parseParams);\n            parseImportDeclaration = wrapTracking(extra.parseImportDeclaration);\n            parseImportSpecifier = wrapTracking(extra.parseImportSpecifier);\n            parseModuleDeclaration = wrapTracking(extra.parseModuleDeclaration);\n            parseModuleBlock = wrapTracking(extra.parseModuleBlock);\n            parseLeftHandSideExpression = wrapTracking(parseLeftHandSideExpression);\n            parseNewExpression = wrapTracking(extra.parseNewExpression);\n            parseNonComputedProperty = wrapTracking(extra.parseNonComputedProperty);\n            parseObjectProperty = wrapTracking(extra.parseObjectProperty);\n            parseObjectPropertyKey = wrapTracking(extra.parseObjectPropertyKey);\n            parsePostfixExpression = wrapTracking(extra.parsePostfixExpression);\n            parsePrimaryExpression = wrapTracking(extra.parsePrimaryExpression);\n            parseProgram = wrapTracking(extra.parseProgram);\n            parsePropertyFunction = wrapTracking(extra.parsePropertyFunction);\n            parseTemplateElement = wrapTracking(extra.parseTemplateElement);\n            parseTemplateLiteral = wrapTracking(extra.parseTemplateLiteral);\n            parseTypeAnnotatableIdentifier = wrapTracking(extra.parseTypeAnnotatableIdentifier);\n            parseTypeAnnotation = wrapTracking(extra.parseTypeAnnotation);\n            parseSpreadOrAssignmentExpression = wrapTracking(extra.parseSpreadOrAssignmentExpression);\n            parseStatement = wrapTracking(extra.parseStatement);\n            parseSwitchCase = wrapTracking(extra.parseSwitchCase);\n            parseUnaryExpression = wrapTracking(extra.parseUnaryExpression);\n            parseVariableDeclaration = wrapTracking(extra.parseVariableDeclaration);\n            parseVariableIdentifier = wrapTracking(extra.parseVariableIdentifier);\n            parseMethodDefinition = wrapTracking(extra.parseMethodDefinition);\n            parseClassDeclaration = wrapTracking(extra.parseClassDeclaration);\n            parseClassExpression = wrapTracking(extra.parseClassExpression);\n            parseClassBody = wrapTracking(extra.parseClassBody);\n            parseXJSIdentifier = wrapTracking(extra.parseXJSIdentifier);\n            parseXJSChild = wrapTrackingPreserveWhitespace(extra.parseXJSChild);\n            parseXJSAttribute = wrapTracking(extra.parseXJSAttribute);\n            parseXJSAttributeValue = wrapTracking(extra.parseXJSAttributeValue);\n            parseXJSExpressionContainer = wrapTracking(extra.parseXJSExpressionContainer);\n            parseXJSEmptyExpression = wrapTrackingPreserveWhitespace(extra.parseXJSEmptyExpression);\n            parseXJSElement = wrapTracking(extra.parseXJSElement);\n            parseXJSClosingElement = wrapTracking(extra.parseXJSClosingElement);\n            parseXJSOpeningElement = wrapTracking(extra.parseXJSOpeningElement);\n        }\n\n        if (typeof extra.tokens !== 'undefined') {\n            extra.advance = advance;\n            extra.scanRegExp = scanRegExp;\n\n            advance = collectToken;\n            scanRegExp = collectRegex;\n        }\n    }\n\n    function unpatch() {\n        if (typeof extra.skipComment === 'function') {\n            skipComment = extra.skipComment;\n        }\n\n        if (extra.range || extra.loc) {\n            parseAssignmentExpression = extra.parseAssignmentExpression;\n            parseBinaryExpression = extra.parseBinaryExpression;\n            parseBlock = extra.parseBlock;\n            parseFunctionSourceElements = extra.parseFunctionSourceElements;\n            parseCatchClause = extra.parseCatchClause;\n            parseComputedMember = extra.parseComputedMember;\n            parseConditionalExpression = extra.parseConditionalExpression;\n            parseConstLetDeclaration = extra.parseConstLetDeclaration;\n            parseExportBatchSpecifier = extra.parseExportBatchSpecifier;\n            parseExportDeclaration = extra.parseExportDeclaration;\n            parseExportSpecifier = extra.parseExportSpecifier;\n            parseExpression = extra.parseExpression;\n            parseForVariableDeclaration = extra.parseForVariableDeclaration;\n            parseFunctionDeclaration = extra.parseFunctionDeclaration;\n            parseFunctionExpression = extra.parseFunctionExpression;\n            parseImportDeclaration = extra.parseImportDeclaration;\n            parseImportSpecifier = extra.parseImportSpecifier;\n            parseGroupExpression = extra.parseGroupExpression;\n            parseLeftHandSideExpression = extra.parseLeftHandSideExpression;\n            parseLeftHandSideExpressionAllowCall = extra.parseLeftHandSideExpressionAllowCall;\n            parseModuleDeclaration = extra.parseModuleDeclaration;\n            parseModuleBlock = extra.parseModuleBlock;\n            parseNewExpression = extra.parseNewExpression;\n            parseNonComputedProperty = extra.parseNonComputedProperty;\n            parseObjectProperty = extra.parseObjectProperty;\n            parseObjectPropertyKey = extra.parseObjectPropertyKey;\n            parsePostfixExpression = extra.parsePostfixExpression;\n            parsePrimaryExpression = extra.parsePrimaryExpression;\n            parseProgram = extra.parseProgram;\n            parsePropertyFunction = extra.parsePropertyFunction;\n            parseTemplateElement = extra.parseTemplateElement;\n            parseTemplateLiteral = extra.parseTemplateLiteral;\n            parseTypeAnnotatableIdentifier = extra.parseTypeAnnotatableIdentifier;\n            parseTypeAnnotation = extra.parseTypeAnnotation;\n            parseSpreadOrAssignmentExpression = extra.parseSpreadOrAssignmentExpression;\n            parseStatement = extra.parseStatement;\n            parseSwitchCase = extra.parseSwitchCase;\n            parseUnaryExpression = extra.parseUnaryExpression;\n            parseVariableDeclaration = extra.parseVariableDeclaration;\n            parseVariableIdentifier = extra.parseVariableIdentifier;\n            parseMethodDefinition = extra.parseMethodDefinition;\n            parseClassDeclaration = extra.parseClassDeclaration;\n            parseClassExpression = extra.parseClassExpression;\n            parseClassBody = extra.parseClassBody;\n            parseXJSIdentifier = extra.parseXJSIdentifier;\n            parseXJSChild = extra.parseXJSChild;\n            parseXJSAttribute = extra.parseXJSAttribute;\n            parseXJSAttributeValue = extra.parseXJSAttributeValue;\n            parseXJSExpressionContainer = extra.parseXJSExpressionContainer;\n            parseXJSEmptyExpression = extra.parseXJSEmptyExpression;\n            parseXJSElement = extra.parseXJSElement;\n            parseXJSClosingElement = extra.parseXJSClosingElement;\n            parseXJSOpeningElement = extra.parseXJSOpeningElement;\n        }\n\n        if (typeof extra.scanRegExp === 'function') {\n            advance = extra.advance;\n            scanRegExp = extra.scanRegExp;\n        }\n    }\n\n    // This is used to modify the delegate.\n\n    function extend(object, properties) {\n        var entry, result = {};\n\n        for (entry in object) {\n            if (object.hasOwnProperty(entry)) {\n                result[entry] = object[entry];\n            }\n        }\n\n        for (entry in properties) {\n            if (properties.hasOwnProperty(entry)) {\n                result[entry] = properties[entry];\n            }\n        }\n\n        return result;\n    }\n\n    function tokenize(code, options) {\n        var toString,\n            token,\n            tokens;\n\n        toString = String;\n        if (typeof code !== 'string' && !(code instanceof String)) {\n            code = toString(code);\n        }\n\n        delegate = SyntaxTreeDelegate;\n        source = code;\n        index = 0;\n        lineNumber = (source.length > 0) ? 1 : 0;\n        lineStart = 0;\n        length = source.length;\n        lookahead = null;\n        state = {\n            allowKeyword: true,\n            allowIn: true,\n            labelSet: {},\n            inFunctionBody: false,\n            inIteration: false,\n            inSwitch: false\n        };\n\n        extra = {};\n\n        // Options matching.\n        options = options || {};\n\n        // Of course we collect tokens here.\n        options.tokens = true;\n        extra.tokens = [];\n        extra.tokenize = true;\n        // The following two fields are necessary to compute the Regex tokens.\n        extra.openParenToken = -1;\n        extra.openCurlyToken = -1;\n\n        extra.range = (typeof options.range === 'boolean') && options.range;\n        extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\n        if (typeof options.comment === 'boolean' && options.comment) {\n            extra.comments = [];\n        }\n        if (typeof options.tolerant === 'boolean' && options.tolerant) {\n            extra.errors = [];\n        }\n\n        if (length > 0) {\n            if (typeof source[0] === 'undefined') {\n                // Try first to convert to a string. This is good as fast path\n                // for old IE which understands string indexing for string\n                // literals only and not for string object.\n                if (code instanceof String) {\n                    source = code.valueOf();\n                }\n            }\n        }\n\n        patch();\n\n        try {\n            peek();\n            if (lookahead.type === Token.EOF) {\n                return extra.tokens;\n            }\n\n            token = lex();\n            while (lookahead.type !== Token.EOF) {\n                try {\n                    token = lex();\n                } catch (lexError) {\n                    token = lookahead;\n                    if (extra.errors) {\n                        extra.errors.push(lexError);\n                        // We have to break on the first error\n                        // to avoid infinite loops.\n                        break;\n                    } else {\n                        throw lexError;\n                    }\n                }\n            }\n\n            filterTokenLocation();\n            tokens = extra.tokens;\n            if (typeof extra.comments !== 'undefined') {\n                filterCommentLocation();\n                tokens.comments = extra.comments;\n            }\n            if (typeof extra.errors !== 'undefined') {\n                tokens.errors = extra.errors;\n            }\n        } catch (e) {\n            throw e;\n        } finally {\n            unpatch();\n            extra = {};\n        }\n        return tokens;\n    }\n\n    function parse(code, options) {\n        var program, toString;\n\n        toString = String;\n        if (typeof code !== 'string' && !(code instanceof String)) {\n            code = toString(code);\n        }\n\n        delegate = SyntaxTreeDelegate;\n        source = code;\n        index = 0;\n        lineNumber = (source.length > 0) ? 1 : 0;\n        lineStart = 0;\n        length = source.length;\n        lookahead = null;\n        state = {\n            allowKeyword: false,\n            allowIn: true,\n            labelSet: {},\n            parenthesizedCount: 0,\n            inFunctionBody: false,\n            inIteration: false,\n            inSwitch: false,\n            yieldAllowed: false,\n            yieldFound: false\n        };\n\n        extra = {};\n        if (typeof options !== 'undefined') {\n            extra.range = (typeof options.range === 'boolean') && options.range;\n            extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\n            if (extra.loc && options.source !== null && options.source !== undefined) {\n                delegate = extend(delegate, {\n                    'postProcess': function (node) {\n                        node.loc.source = toString(options.source);\n                        return node;\n                    }\n                });\n            }\n\n            if (typeof options.tokens === 'boolean' && options.tokens) {\n                extra.tokens = [];\n            }\n            if (typeof options.comment === 'boolean' && options.comment) {\n                extra.comments = [];\n            }\n            if (typeof options.tolerant === 'boolean' && options.tolerant) {\n                extra.errors = [];\n            }\n        }\n\n        if (length > 0) {\n            if (typeof source[0] === 'undefined') {\n                // Try first to convert to a string. This is good as fast path\n                // for old IE which understands string indexing for string\n                // literals only and not for string object.\n                if (code instanceof String) {\n                    source = code.valueOf();\n                }\n            }\n        }\n\n        patch();\n        try {\n            program = parseProgram();\n            if (typeof extra.comments !== 'undefined') {\n                filterCommentLocation();\n                program.comments = extra.comments;\n            }\n            if (typeof extra.tokens !== 'undefined') {\n                filterTokenLocation();\n                program.tokens = extra.tokens;\n            }\n            if (typeof extra.errors !== 'undefined') {\n                program.errors = extra.errors;\n            }\n            if (extra.range || extra.loc) {\n                program.body = filterGroup(program.body);\n            }\n        } catch (e) {\n            throw e;\n        } finally {\n            unpatch();\n            extra = {};\n        }\n\n        return program;\n    }\n\n    // Sync with package.json and component.json.\n    exports.version = '1.1.0-dev-harmony';\n\n    exports.tokenize = tokenize;\n\n    exports.parse = parse;\n\n    // Deep copy.\n    exports.Syntax = (function () {\n        var name, types = {};\n\n        if (typeof Object.create === 'function') {\n            types = Object.create(null);\n        }\n\n        for (name in Syntax) {\n            if (Syntax.hasOwnProperty(name)) {\n                types[name] = Syntax[name];\n            }\n        }\n\n        if (typeof Object.freeze === 'function') {\n            Object.freeze(types);\n        }\n\n        return types;\n    }());\n\n}));\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n},{}],6:[function(require,module,exports){\nvar Base62 = (function (my) {\n  my.chars = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\", \"A\", \"B\", \"C\", \"D\", \"E\", \"F\", \"G\", \"H\", \"I\", \"J\", \"K\", \"L\", \"M\", \"N\", \"O\", \"P\", \"Q\", \"R\", \"S\", \"T\", \"U\", \"V\", \"W\", \"X\", \"Y\", \"Z\"]\n\n  my.encode = function(i){\n    if (i === 0) {return '0'}\n    var s = ''\n    while (i > 0) {\n      s = this.chars[i % 62] + s\n      i = Math.floor(i/62)\n    }\n    return s\n  };\n  my.decode = function(a,b,c,d){\n    for (\n      b = c = (\n        a === (/\\W|_|^$/.test(a += \"\") || a)\n      ) - 1;\n      d = a.charCodeAt(c++);\n    )\n    b = b * 62 + d - [, 48, 29, 87][d >> 5];\n    return b\n  };\n\n  return my;\n}({}));\n\nmodule.exports = Base62\n},{}],7:[function(require,module,exports){\n/*\n * Copyright 2009-2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE.txt or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nexports.SourceMapGenerator = require('./source-map/source-map-generator').SourceMapGenerator;\nexports.SourceMapConsumer = require('./source-map/source-map-consumer').SourceMapConsumer;\nexports.SourceNode = require('./source-map/source-node').SourceNode;\n\n},{\"./source-map/source-map-consumer\":12,\"./source-map/source-map-generator\":13,\"./source-map/source-node\":14}],8:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module);\n}\ndefine(function (require, exports, module) {\n\n  /**\n   * A data structure which is a combination of an array and a set. Adding a new\n   * member is O(1), testing for membership is O(1), and finding the index of an\n   * element is O(1). Removing elements from the set is not supported. Only\n   * strings are supported for membership.\n   */\n  function ArraySet() {\n    this._array = [];\n    this._set = {};\n  }\n\n  /**\n   * Static method for creating ArraySet instances from an existing array.\n   */\n  ArraySet.fromArray = function ArraySet_fromArray(aArray) {\n    var set = new ArraySet();\n    for (var i = 0, len = aArray.length; i < len; i++) {\n      set.add(aArray[i]);\n    }\n    return set;\n  };\n\n  /**\n   * Because behavior goes wacky when you set `__proto__` on `this._set`, we\n   * have to prefix all the strings in our set with an arbitrary character.\n   *\n   * See https://github.com/mozilla/source-map/pull/31 and\n   * https://github.com/mozilla/source-map/issues/30\n   *\n   * @param String aStr\n   */\n  ArraySet.prototype._toSetString = function ArraySet__toSetString (aStr) {\n    return \"$\" + aStr;\n  };\n\n  /**\n   * Add the given string to this set.\n   *\n   * @param String aStr\n   */\n  ArraySet.prototype.add = function ArraySet_add(aStr) {\n    if (this.has(aStr)) {\n      // Already a member; nothing to do.\n      return;\n    }\n    var idx = this._array.length;\n    this._array.push(aStr);\n    this._set[this._toSetString(aStr)] = idx;\n  };\n\n  /**\n   * Is the given string a member of this set?\n   *\n   * @param String aStr\n   */\n  ArraySet.prototype.has = function ArraySet_has(aStr) {\n    return Object.prototype.hasOwnProperty.call(this._set,\n                                                this._toSetString(aStr));\n  };\n\n  /**\n   * What is the index of the given string in the array?\n   *\n   * @param String aStr\n   */\n  ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n    if (this.has(aStr)) {\n      return this._set[this._toSetString(aStr)];\n    }\n    throw new Error('\"' + aStr + '\" is not in the set.');\n  };\n\n  /**\n   * What is the element at the given index?\n   *\n   * @param Number aIdx\n   */\n  ArraySet.prototype.at = function ArraySet_at(aIdx) {\n    if (aIdx >= 0 && aIdx < this._array.length) {\n      return this._array[aIdx];\n    }\n    throw new Error('No element indexed by ' + aIdx);\n  };\n\n  /**\n   * Returns the array representation of this set (which has the proper indices\n   * indicated by indexOf). Note that this is a copy of the internal array used\n   * for storing the members so that no one can mess with internal state.\n   */\n  ArraySet.prototype.toArray = function ArraySet_toArray() {\n    return this._array.slice();\n  };\n\n  exports.ArraySet = ArraySet;\n\n});\n\n},{\"amdefine\":16}],9:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * Based on the Base 64 VLQ implementation in Closure Compiler:\n * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n *\n * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *  * Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n *  * Redistributions in binary form must reproduce the above\n *    copyright notice, this list of conditions and the following\n *    disclaimer in the documentation and/or other materials provided\n *    with the distribution.\n *  * Neither the name of Google Inc. nor the names of its\n *    contributors may be used to endorse or promote products derived\n *    from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module);\n}\ndefine(function (require, exports, module) {\n\n  var base64 = require('./base64');\n\n  // A single base 64 digit can contain 6 bits of data. For the base 64 variable\n  // length quantities we use in the source map spec, the first bit is the sign,\n  // the next four bits are the actual value, and the 6th bit is the\n  // continuation bit. The continuation bit tells us whether there are more\n  // digits in this value following this digit.\n  //\n  //   Continuation\n  //   |    Sign\n  //   |    |\n  //   V    V\n  //   101011\n\n  var VLQ_BASE_SHIFT = 5;\n\n  // binary: 100000\n  var VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n  // binary: 011111\n  var VLQ_BASE_MASK = VLQ_BASE - 1;\n\n  // binary: 100000\n  var VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n  /**\n   * Converts from a two-complement value to a value where the sign bit is\n   * is placed in the least significant bit.  For example, as decimals:\n   *   1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n   *   2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n   */\n  function toVLQSigned(aValue) {\n    return aValue < 0\n      ? ((-aValue) << 1) + 1\n      : (aValue << 1) + 0;\n  }\n\n  /**\n   * Converts to a two-complement value from a value where the sign bit is\n   * is placed in the least significant bit.  For example, as decimals:\n   *   2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n   *   4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n   */\n  function fromVLQSigned(aValue) {\n    var isNegative = (aValue & 1) === 1;\n    var shifted = aValue >> 1;\n    return isNegative\n      ? -shifted\n      : shifted;\n  }\n\n  /**\n   * Returns the base 64 VLQ encoded value.\n   */\n  exports.encode = function base64VLQ_encode(aValue) {\n    var encoded = \"\";\n    var digit;\n\n    var vlq = toVLQSigned(aValue);\n\n    do {\n      digit = vlq & VLQ_BASE_MASK;\n      vlq >>>= VLQ_BASE_SHIFT;\n      if (vlq > 0) {\n        // There are still more digits in this value, so we must make sure the\n        // continuation bit is marked.\n        digit |= VLQ_CONTINUATION_BIT;\n      }\n      encoded += base64.encode(digit);\n    } while (vlq > 0);\n\n    return encoded;\n  };\n\n  /**\n   * Decodes the next base 64 VLQ value from the given string and returns the\n   * value and the rest of the string.\n   */\n  exports.decode = function base64VLQ_decode(aStr) {\n    var i = 0;\n    var strLen = aStr.length;\n    var result = 0;\n    var shift = 0;\n    var continuation, digit;\n\n    do {\n      if (i >= strLen) {\n        throw new Error(\"Expected more digits in base 64 VLQ value.\");\n      }\n      digit = base64.decode(aStr.charAt(i++));\n      continuation = !!(digit & VLQ_CONTINUATION_BIT);\n      digit &= VLQ_BASE_MASK;\n      result = result + (digit << shift);\n      shift += VLQ_BASE_SHIFT;\n    } while (continuation);\n\n    return {\n      value: fromVLQSigned(result),\n      rest: aStr.slice(i)\n    };\n  };\n\n});\n\n},{\"./base64\":10,\"amdefine\":16}],10:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module);\n}\ndefine(function (require, exports, module) {\n\n  var charToIntMap = {};\n  var intToCharMap = {};\n\n  'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\n    .split('')\n    .forEach(function (ch, index) {\n      charToIntMap[ch] = index;\n      intToCharMap[index] = ch;\n    });\n\n  /**\n   * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n   */\n  exports.encode = function base64_encode(aNumber) {\n    if (aNumber in intToCharMap) {\n      return intToCharMap[aNumber];\n    }\n    throw new TypeError(\"Must be between 0 and 63: \" + aNumber);\n  };\n\n  /**\n   * Decode a single base 64 digit to an integer.\n   */\n  exports.decode = function base64_decode(aChar) {\n    if (aChar in charToIntMap) {\n      return charToIntMap[aChar];\n    }\n    throw new TypeError(\"Not a valid base 64 digit: \" + aChar);\n  };\n\n});\n\n},{\"amdefine\":16}],11:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module);\n}\ndefine(function (require, exports, module) {\n\n  /**\n   * Recursive implementation of binary search.\n   *\n   * @param aLow Indices here and lower do not contain the needle.\n   * @param aHigh Indices here and higher do not contain the needle.\n   * @param aNeedle The element being searched for.\n   * @param aHaystack The non-empty array being searched.\n   * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n   */\n  function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare) {\n    // This function terminates when one of the following is true:\n    //\n    //   1. We find the exact element we are looking for.\n    //\n    //   2. We did not find the exact element, but we can return the next\n    //      closest element that is less than that element.\n    //\n    //   3. We did not find the exact element, and there is no next-closest\n    //      element which is less than the one we are searching for, so we\n    //      return null.\n    var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n    var cmp = aCompare(aNeedle, aHaystack[mid]);\n    if (cmp === 0) {\n      // Found the element we are looking for.\n      return aHaystack[mid];\n    }\n    else if (cmp > 0) {\n      // aHaystack[mid] is greater than our needle.\n      if (aHigh - mid > 1) {\n        // The element is in the upper half.\n        return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare);\n      }\n      // We did not find an exact match, return the next closest one\n      // (termination case 2).\n      return aHaystack[mid];\n    }\n    else {\n      // aHaystack[mid] is less than our needle.\n      if (mid - aLow > 1) {\n        // The element is in the lower half.\n        return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare);\n      }\n      // The exact needle element was not found in this haystack. Determine if\n      // we are in termination case (2) or (3) and return the appropriate thing.\n      return aLow < 0\n        ? null\n        : aHaystack[aLow];\n    }\n  }\n\n  /**\n   * This is an implementation of binary search which will always try and return\n   * the next lowest value checked if there is no exact hit. This is because\n   * mappings between original and generated line/col pairs are single points,\n   * and there is an implicit region between each of them, so a miss just means\n   * that you aren't on the very start of a region.\n   *\n   * @param aNeedle The element you are looking for.\n   * @param aHaystack The array that is being searched.\n   * @param aCompare A function which takes the needle and an element in the\n   *     array and returns -1, 0, or 1 depending on whether the needle is less\n   *     than, equal to, or greater than the element, respectively.\n   */\n  exports.search = function search(aNeedle, aHaystack, aCompare) {\n    return aHaystack.length > 0\n      ? recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, aCompare)\n      : null;\n  };\n\n});\n\n},{\"amdefine\":16}],12:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module);\n}\ndefine(function (require, exports, module) {\n\n  var util = require('./util');\n  var binarySearch = require('./binary-search');\n  var ArraySet = require('./array-set').ArraySet;\n  var base64VLQ = require('./base64-vlq');\n\n  /**\n   * A SourceMapConsumer instance represents a parsed source map which we can\n   * query for information about the original file positions by giving it a file\n   * position in the generated source.\n   *\n   * The only parameter is the raw source map (either as a JSON string, or\n   * already parsed to an object). According to the spec, source maps have the\n   * following attributes:\n   *\n   *   - version: Which version of the source map spec this map is following.\n   *   - sources: An array of URLs to the original source files.\n   *   - names: An array of identifiers which can be referrenced by individual mappings.\n   *   - sourceRoot: Optional. The URL root from which all sources are relative.\n   *   - mappings: A string of base64 VLQs which contain the actual mappings.\n   *   - file: The generated file this source map is associated with.\n   *\n   * Here is an example source map, taken from the source map spec[0]:\n   *\n   *     {\n   *       version : 3,\n   *       file: \"out.js\",\n   *       sourceRoot : \"\",\n   *       sources: [\"foo.js\", \"bar.js\"],\n   *       names: [\"src\", \"maps\", \"are\", \"fun\"],\n   *       mappings: \"AA,AB;;ABCDE;\"\n   *     }\n   *\n   * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n   */\n  function SourceMapConsumer(aSourceMap) {\n    var sourceMap = aSourceMap;\n    if (typeof aSourceMap === 'string') {\n      sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n    }\n\n    var version = util.getArg(sourceMap, 'version');\n    var sources = util.getArg(sourceMap, 'sources');\n    var names = util.getArg(sourceMap, 'names');\n    var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n    var mappings = util.getArg(sourceMap, 'mappings');\n    var file = util.getArg(sourceMap, 'file');\n\n    if (version !== this._version) {\n      throw new Error('Unsupported version: ' + version);\n    }\n\n    this._names = ArraySet.fromArray(names);\n    this._sources = ArraySet.fromArray(sources);\n    this._sourceRoot = sourceRoot;\n    this.file = file;\n\n    // `this._generatedMappings` and `this._originalMappings` hold the parsed\n    // mapping coordinates from the source map's \"mappings\" attribute. Each\n    // object in the array is of the form\n    //\n    //     {\n    //       generatedLine: The line number in the generated code,\n    //       generatedColumn: The column number in the generated code,\n    //       source: The path to the original source file that generated this\n    //               chunk of code,\n    //       originalLine: The line number in the original source that\n    //                     corresponds to this chunk of generated code,\n    //       originalColumn: The column number in the original source that\n    //                       corresponds to this chunk of generated code,\n    //       name: The name of the original symbol which generated this chunk of\n    //             code.\n    //     }\n    //\n    // All properties except for `generatedLine` and `generatedColumn` can be\n    // `null`.\n    //\n    // `this._generatedMappings` is ordered by the generated positions.\n    //\n    // `this._originalMappings` is ordered by the original positions.\n    this._generatedMappings = [];\n    this._originalMappings = [];\n    this._parseMappings(mappings, sourceRoot);\n  }\n\n  /**\n   * The version of the source mapping spec that we are consuming.\n   */\n  SourceMapConsumer.prototype._version = 3;\n\n  /**\n   * The list of original sources.\n   */\n  Object.defineProperty(SourceMapConsumer.prototype, 'sources', {\n    get: function () {\n      return this._sources.toArray().map(function (s) {\n        return this._sourceRoot ? util.join(this._sourceRoot, s) : s;\n      }, this);\n    }\n  });\n\n  /**\n   * Parse the mappings in a string in to a data structure which we can easily\n   * query (an ordered list in this._generatedMappings).\n   */\n  SourceMapConsumer.prototype._parseMappings =\n    function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n      var generatedLine = 1;\n      var previousGeneratedColumn = 0;\n      var previousOriginalLine = 0;\n      var previousOriginalColumn = 0;\n      var previousSource = 0;\n      var previousName = 0;\n      var mappingSeparator = /^[,;]/;\n      var str = aStr;\n      var mapping;\n      var temp;\n\n      while (str.length > 0) {\n        if (str.charAt(0) === ';') {\n          generatedLine++;\n          str = str.slice(1);\n          previousGeneratedColumn = 0;\n        }\n        else if (str.charAt(0) === ',') {\n          str = str.slice(1);\n        }\n        else {\n          mapping = {};\n          mapping.generatedLine = generatedLine;\n\n          // Generated column.\n          temp = base64VLQ.decode(str);\n          mapping.generatedColumn = previousGeneratedColumn + temp.value;\n          previousGeneratedColumn = mapping.generatedColumn;\n          str = temp.rest;\n\n          if (str.length > 0 && !mappingSeparator.test(str.charAt(0))) {\n            // Original source.\n            temp = base64VLQ.decode(str);\n            if (aSourceRoot) {\n              mapping.source = util.join(aSourceRoot, this._sources.at(previousSource + temp.value));\n            }\n            else {\n              mapping.source = this._sources.at(previousSource + temp.value);\n            }\n            previousSource += temp.value;\n            str = temp.rest;\n            if (str.length === 0 || mappingSeparator.test(str.charAt(0))) {\n              throw new Error('Found a source, but no line and column');\n            }\n\n            // Original line.\n            temp = base64VLQ.decode(str);\n            mapping.originalLine = previousOriginalLine + temp.value;\n            previousOriginalLine = mapping.originalLine;\n            // Lines are stored 0-based\n            mapping.originalLine += 1;\n            str = temp.rest;\n            if (str.length === 0 || mappingSeparator.test(str.charAt(0))) {\n              throw new Error('Found a source and line, but no column');\n            }\n\n            // Original column.\n            temp = base64VLQ.decode(str);\n            mapping.originalColumn = previousOriginalColumn + temp.value;\n            previousOriginalColumn = mapping.originalColumn;\n            str = temp.rest;\n\n            if (str.length > 0 && !mappingSeparator.test(str.charAt(0))) {\n              // Original name.\n              temp = base64VLQ.decode(str);\n              mapping.name = this._names.at(previousName + temp.value);\n              previousName += temp.value;\n              str = temp.rest;\n            }\n          }\n\n          this._generatedMappings.push(mapping);\n          this._originalMappings.push(mapping);\n        }\n      }\n\n      this._originalMappings.sort(this._compareOriginalPositions);\n    };\n\n  /**\n   * Comparator between two mappings where the original positions are compared.\n   */\n  SourceMapConsumer.prototype._compareOriginalPositions =\n    function SourceMapConsumer_compareOriginalPositions(mappingA, mappingB) {\n      if (mappingA.source > mappingB.source) {\n        return 1;\n      }\n      else if (mappingA.source < mappingB.source) {\n        return -1;\n      }\n      else {\n        var cmp = mappingA.originalLine - mappingB.originalLine;\n        return cmp === 0\n          ? mappingA.originalColumn - mappingB.originalColumn\n          : cmp;\n      }\n    };\n\n  /**\n   * Comparator between two mappings where the generated positions are compared.\n   */\n  SourceMapConsumer.prototype._compareGeneratedPositions =\n    function SourceMapConsumer_compareGeneratedPositions(mappingA, mappingB) {\n      var cmp = mappingA.generatedLine - mappingB.generatedLine;\n      return cmp === 0\n        ? mappingA.generatedColumn - mappingB.generatedColumn\n        : cmp;\n    };\n\n  /**\n   * Find the mapping that best matches the hypothetical \"needle\" mapping that\n   * we are searching for in the given \"haystack\" of mappings.\n   */\n  SourceMapConsumer.prototype._findMapping =\n    function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n                                           aColumnName, aComparator) {\n      // To return the position we are searching for, we must first find the\n      // mapping for the given position and then return the opposite position it\n      // points to. Because the mappings are sorted, we can use binary search to\n      // find the best mapping.\n\n      if (aNeedle[aLineName] <= 0) {\n        throw new TypeError('Line must be greater than or equal to 1, got '\n                            + aNeedle[aLineName]);\n      }\n      if (aNeedle[aColumnName] < 0) {\n        throw new TypeError('Column must be greater than or equal to 0, got '\n                            + aNeedle[aColumnName]);\n      }\n\n      return binarySearch.search(aNeedle, aMappings, aComparator);\n    };\n\n  /**\n   * Returns the original source, line, and column information for the generated\n   * source's line and column positions provided. The only argument is an object\n   * with the following properties:\n   *\n   *   - line: The line number in the generated source.\n   *   - column: The column number in the generated source.\n   *\n   * and an object is returned with the following properties:\n   *\n   *   - source: The original source file, or null.\n   *   - line: The line number in the original source, or null.\n   *   - column: The column number in the original source, or null.\n   *   - name: The original identifier, or null.\n   */\n  SourceMapConsumer.prototype.originalPositionFor =\n    function SourceMapConsumer_originalPositionFor(aArgs) {\n      var needle = {\n        generatedLine: util.getArg(aArgs, 'line'),\n        generatedColumn: util.getArg(aArgs, 'column')\n      };\n\n      var mapping = this._findMapping(needle,\n                                      this._generatedMappings,\n                                      \"generatedLine\",\n                                      \"generatedColumn\",\n                                      this._compareGeneratedPositions)\n\n      if (mapping) {\n        return {\n          source: util.getArg(mapping, 'source', null),\n          line: util.getArg(mapping, 'originalLine', null),\n          column: util.getArg(mapping, 'originalColumn', null),\n          name: util.getArg(mapping, 'name', null)\n        };\n      }\n\n      return {\n        source: null,\n        line: null,\n        column: null,\n        name: null\n      };\n    };\n\n  /**\n   * Returns the generated line and column information for the original source,\n   * line, and column positions provided. The only argument is an object with\n   * the following properties:\n   *\n   *   - source: The filename of the original source.\n   *   - line: The line number in the original source.\n   *   - column: The column number in the original source.\n   *\n   * and an object is returned with the following properties:\n   *\n   *   - line: The line number in the generated source, or null.\n   *   - column: The column number in the generated source, or null.\n   */\n  SourceMapConsumer.prototype.generatedPositionFor =\n    function SourceMapConsumer_generatedPositionFor(aArgs) {\n      var needle = {\n        source: util.getArg(aArgs, 'source'),\n        originalLine: util.getArg(aArgs, 'line'),\n        originalColumn: util.getArg(aArgs, 'column')\n      };\n\n      var mapping = this._findMapping(needle,\n                                      this._originalMappings,\n                                      \"originalLine\",\n                                      \"originalColumn\",\n                                      this._compareOriginalPositions)\n\n      if (mapping) {\n        return {\n          line: util.getArg(mapping, 'generatedLine', null),\n          column: util.getArg(mapping, 'generatedColumn', null)\n        };\n      }\n\n      return {\n        line: null,\n        column: null\n      };\n    };\n\n  SourceMapConsumer.GENERATED_ORDER = 1;\n  SourceMapConsumer.ORIGINAL_ORDER = 2;\n\n  /**\n   * Iterate over each mapping between an original source/line/column and a\n   * generated line/column in this source map.\n   *\n   * @param Function aCallback\n   *        The function that is called with each mapping. This function should\n   *        not mutate the mapping.\n   * @param Object aContext\n   *        Optional. If specified, this object will be the value of `this` every\n   *        time that `aCallback` is called.\n   * @param aOrder\n   *        Either `SourceMapConsumer.GENERATED_ORDER` or\n   *        `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n   *        iterate over the mappings sorted by the generated file's line/column\n   *        order or the original's source/line/column order, respectively. Defaults to\n   *        `SourceMapConsumer.GENERATED_ORDER`.\n   */\n  SourceMapConsumer.prototype.eachMapping =\n    function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n      var context = aContext || null;\n      var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n      var mappings;\n      switch (order) {\n      case SourceMapConsumer.GENERATED_ORDER:\n        mappings = this._generatedMappings;\n        break;\n      case SourceMapConsumer.ORIGINAL_ORDER:\n        mappings = this._originalMappings;\n        break;\n      default:\n        throw new Error(\"Unknown order of iteration.\");\n      }\n\n      mappings.forEach(aCallback, context);\n    };\n\n  exports.SourceMapConsumer = SourceMapConsumer;\n\n});\n\n},{\"./array-set\":8,\"./base64-vlq\":9,\"./binary-search\":11,\"./util\":15,\"amdefine\":16}],13:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module);\n}\ndefine(function (require, exports, module) {\n\n  var base64VLQ = require('./base64-vlq');\n  var util = require('./util');\n  var ArraySet = require('./array-set').ArraySet;\n\n  /**\n   * An instance of the SourceMapGenerator represents a source map which is\n   * being built incrementally. To create a new one, you must pass an object\n   * with the following properties:\n   *\n   *   - file: The filename of the generated source.\n   *   - sourceRoot: An optional root for all URLs in this source map.\n   */\n  function SourceMapGenerator(aArgs) {\n    this._file = util.getArg(aArgs, 'file');\n    this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);\n    this._sources = new ArraySet();\n    this._names = new ArraySet();\n    this._mappings = [];\n  }\n\n  SourceMapGenerator.prototype._version = 3;\n\n  /**\n   * Add a single mapping from original source line and column to the generated\n   * source's line and column for this source map being created. The mapping\n   * object should have the following properties:\n   *\n   *   - generated: An object with the generated line and column positions.\n   *   - original: An object with the original line and column positions.\n   *   - source: The original source file (relative to the sourceRoot).\n   *   - name: An optional original token name for this mapping.\n   */\n  SourceMapGenerator.prototype.addMapping =\n    function SourceMapGenerator_addMapping(aArgs) {\n      var generated = util.getArg(aArgs, 'generated');\n      var original = util.getArg(aArgs, 'original', null);\n      var source = util.getArg(aArgs, 'source', null);\n      var name = util.getArg(aArgs, 'name', null);\n\n      this._validateMapping(generated, original, source, name);\n\n      if (source && !this._sources.has(source)) {\n        this._sources.add(source);\n      }\n\n      if (name && !this._names.has(name)) {\n        this._names.add(name);\n      }\n\n      this._mappings.push({\n        generated: generated,\n        original: original,\n        source: source,\n        name: name\n      });\n    };\n\n  /**\n   * A mapping can have one of the three levels of data:\n   *\n   *   1. Just the generated position.\n   *   2. The Generated position, original position, and original source.\n   *   3. Generated and original position, original source, as well as a name\n   *      token.\n   *\n   * To maintain consistency, we validate that any new mapping being added falls\n   * in to one of these categories.\n   */\n  SourceMapGenerator.prototype._validateMapping =\n    function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,\n                                                aName) {\n      if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n          && aGenerated.line > 0 && aGenerated.column >= 0\n          && !aOriginal && !aSource && !aName) {\n        // Case 1.\n        return;\n      }\n      else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n               && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n               && aGenerated.line > 0 && aGenerated.column >= 0\n               && aOriginal.line > 0 && aOriginal.column >= 0\n               && aSource) {\n        // Cases 2 and 3.\n        return;\n      }\n      else {\n        throw new Error('Invalid mapping.');\n      }\n    };\n\n  /**\n   * Serialize the accumulated mappings in to the stream of base 64 VLQs\n   * specified by the source map format.\n   */\n  SourceMapGenerator.prototype._serializeMappings =\n    function SourceMapGenerator_serializeMappings() {\n      var previousGeneratedColumn = 0;\n      var previousGeneratedLine = 1;\n      var previousOriginalColumn = 0;\n      var previousOriginalLine = 0;\n      var previousName = 0;\n      var previousSource = 0;\n      var result = '';\n      var mapping;\n\n      // The mappings must be guarenteed to be in sorted order before we start\n      // serializing them or else the generated line numbers (which are defined\n      // via the ';' separators) will be all messed up. Note: it might be more\n      // performant to maintain the sorting as we insert them, rather than as we\n      // serialize them, but the big O is the same either way.\n      this._mappings.sort(function (mappingA, mappingB) {\n        var cmp = mappingA.generated.line - mappingB.generated.line;\n        return cmp === 0\n          ? mappingA.generated.column - mappingB.generated.column\n          : cmp;\n      });\n\n      for (var i = 0, len = this._mappings.length; i < len; i++) {\n        mapping = this._mappings[i];\n\n        if (mapping.generated.line !== previousGeneratedLine) {\n          previousGeneratedColumn = 0;\n          while (mapping.generated.line !== previousGeneratedLine) {\n            result += ';';\n            previousGeneratedLine++;\n          }\n        }\n        else {\n          if (i > 0) {\n            result += ',';\n          }\n        }\n\n        result += base64VLQ.encode(mapping.generated.column\n                                   - previousGeneratedColumn);\n        previousGeneratedColumn = mapping.generated.column;\n\n        if (mapping.source && mapping.original) {\n          result += base64VLQ.encode(this._sources.indexOf(mapping.source)\n                                     - previousSource);\n          previousSource = this._sources.indexOf(mapping.source);\n\n          // lines are stored 0-based in SourceMap spec version 3\n          result += base64VLQ.encode(mapping.original.line - 1\n                                     - previousOriginalLine);\n          previousOriginalLine = mapping.original.line - 1;\n\n          result += base64VLQ.encode(mapping.original.column\n                                     - previousOriginalColumn);\n          previousOriginalColumn = mapping.original.column;\n\n          if (mapping.name) {\n            result += base64VLQ.encode(this._names.indexOf(mapping.name)\n                                       - previousName);\n            previousName = this._names.indexOf(mapping.name);\n          }\n        }\n      }\n\n      return result;\n    };\n\n  /**\n   * Externalize the source map.\n   */\n  SourceMapGenerator.prototype.toJSON =\n    function SourceMapGenerator_toJSON() {\n      var map = {\n        version: this._version,\n        file: this._file,\n        sources: this._sources.toArray(),\n        names: this._names.toArray(),\n        mappings: this._serializeMappings()\n      };\n      if (this._sourceRoot) {\n        map.sourceRoot = this._sourceRoot;\n      }\n      return map;\n    };\n\n  /**\n   * Render the source map being generated to a string.\n   */\n  SourceMapGenerator.prototype.toString =\n    function SourceMapGenerator_toString() {\n      return JSON.stringify(this);\n    };\n\n  exports.SourceMapGenerator = SourceMapGenerator;\n\n});\n\n},{\"./array-set\":8,\"./base64-vlq\":9,\"./util\":15,\"amdefine\":16}],14:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module);\n}\ndefine(function (require, exports, module) {\n\n  var SourceMapGenerator = require('./source-map-generator').SourceMapGenerator;\n\n  /**\n   * SourceNodes provide a way to abstract over interpolating/concatenating\n   * snippets of generated JavaScript source code while maintaining the line and\n   * column information associated with the original source code.\n   *\n   * @param aLine The original line number.\n   * @param aColumn The original column number.\n   * @param aSource The original source's filename.\n   * @param aChunks Optional. An array of strings which are snippets of\n   *        generated JS, or other SourceNodes.\n   */\n  function SourceNode(aLine, aColumn, aSource, aChunks) {\n    this.children = [];\n    this.line = aLine;\n    this.column = aColumn;\n    this.source = aSource;\n    if (aChunks != null) this.add(aChunks);\n  }\n\n  /**\n   * Add a chunk of generated JS to this source node.\n   *\n   * @param aChunk A string snippet of generated JS code, another instance of\n   *        SourceNode, or an array where each member is one of those things.\n   */\n  SourceNode.prototype.add = function SourceNode_add(aChunk) {\n    if (Array.isArray(aChunk)) {\n      aChunk.forEach(function (chunk) {\n        this.add(chunk);\n      }, this);\n    }\n    else if (aChunk instanceof SourceNode || typeof aChunk === \"string\") {\n      if (aChunk) {\n        this.children.push(aChunk);\n      }\n    }\n    else {\n      throw new TypeError(\n        \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n      );\n    }\n    return this;\n  };\n\n  /**\n   * Add a chunk of generated JS to the beginning of this source node.\n   *\n   * @param aChunk A string snippet of generated JS code, another instance of\n   *        SourceNode, or an array where each member is one of those things.\n   */\n  SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n    if (Array.isArray(aChunk)) {\n      for (var i = aChunk.length-1; i >= 0; i--) {\n        this.prepend(aChunk[i]);\n      }\n    }\n    else if (aChunk instanceof SourceNode || typeof aChunk === \"string\") {\n      this.children.unshift(aChunk);\n    }\n    else {\n      throw new TypeError(\n        \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n      );\n    }\n    return this;\n  };\n\n  /**\n   * Walk over the tree of JS snippets in this node and its children. The\n   * walking function is called once for each snippet of JS and is passed that\n   * snippet and the its original associated source's line/column location.\n   *\n   * @param aFn The traversal function.\n   */\n  SourceNode.prototype.walk = function SourceNode_walk(aFn) {\n    this.children.forEach(function (chunk) {\n      if (chunk instanceof SourceNode) {\n        chunk.walk(aFn);\n      }\n      else {\n        if (chunk !== '') {\n          aFn(chunk, { source: this.source, line: this.line, column: this.column });\n        }\n      }\n    }, this);\n  };\n\n  /**\n   * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n   * each of `this.children`.\n   *\n   * @param aSep The separator.\n   */\n  SourceNode.prototype.join = function SourceNode_join(aSep) {\n    var newChildren;\n    var i;\n    var len = this.children.length\n    if (len > 0) {\n      newChildren = [];\n      for (i = 0; i < len-1; i++) {\n        newChildren.push(this.children[i]);\n        newChildren.push(aSep);\n      }\n      newChildren.push(this.children[i]);\n      this.children = newChildren;\n    }\n    return this;\n  };\n\n  /**\n   * Call String.prototype.replace on the very right-most source snippet. Useful\n   * for trimming whitespace from the end of a source node, etc.\n   *\n   * @param aPattern The pattern to replace.\n   * @param aReplacement The thing to replace the pattern with.\n   */\n  SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n    var lastChild = this.children[this.children.length - 1];\n    if (lastChild instanceof SourceNode) {\n      lastChild.replaceRight(aPattern, aReplacement);\n    }\n    else if (typeof lastChild === 'string') {\n      this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n    }\n    else {\n      this.children.push(''.replace(aPattern, aReplacement));\n    }\n    return this;\n  };\n\n  /**\n   * Return the string representation of this source node. Walks over the tree\n   * and concatenates all the various snippets together to one string.\n   */\n  SourceNode.prototype.toString = function SourceNode_toString() {\n    var str = \"\";\n    this.walk(function (chunk) {\n      str += chunk;\n    });\n    return str;\n  };\n\n  /**\n   * Returns the string representation of this source node along with a source\n   * map.\n   */\n  SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n    var generated = {\n      code: \"\",\n      line: 1,\n      column: 0\n    };\n    var map = new SourceMapGenerator(aArgs);\n    this.walk(function (chunk, original) {\n      generated.code += chunk;\n      if (original.source != null\n          && original.line != null\n          && original.column != null) {\n        map.addMapping({\n          source: original.source,\n          original: {\n            line: original.line,\n            column: original.column\n          },\n          generated: {\n            line: generated.line,\n            column: generated.column\n          }\n        });\n      }\n      chunk.split('').forEach(function (char) {\n        if (char === '\\n') {\n          generated.line++;\n          generated.column = 0;\n        } else {\n          generated.column++;\n        }\n      });\n    });\n\n    return { code: generated.code, map: map };\n  };\n\n  exports.SourceNode = SourceNode;\n\n});\n\n},{\"./source-map-generator\":13,\"amdefine\":16}],15:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module);\n}\ndefine(function (require, exports, module) {\n\n  /**\n   * This is a helper function for getting values from parameter/options\n   * objects.\n   *\n   * @param args The object we are extracting values from\n   * @param name The name of the property we are getting.\n   * @param defaultValue An optional value to return if the property is missing\n   * from the object. If this is not specified and the property is missing, an\n   * error will be thrown.\n   */\n  function getArg(aArgs, aName, aDefaultValue) {\n    if (aName in aArgs) {\n      return aArgs[aName];\n    } else if (arguments.length === 3) {\n      return aDefaultValue;\n    } else {\n      throw new Error('\"' + aName + '\" is a required argument.');\n    }\n  }\n  exports.getArg = getArg;\n\n  function join(aRoot, aPath) {\n    return aPath.charAt(0) === '/'\n      ? aPath\n      : aRoot.replace(/\\/*$/, '') + '/' + aPath;\n  }\n  exports.join = join;\n\n});\n\n},{\"amdefine\":16}],16:[function(require,module,exports){\nvar process=require(\"__browserify_process\"),__filename=\"/../node_modules/jstransform/node_modules/source-map/node_modules/amdefine/amdefine.js\";/** vim: et:ts=4:sw=4:sts=4\n * @license amdefine 0.1.0 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.\n * Available via the MIT or new BSD license.\n * see: http://github.com/jrburke/amdefine for details\n */\n\n/*jslint node: true */\n/*global module, process */\n'use strict';\n\n/**\n * Creates a define for node.\n * @param {Object} module the \"module\" object that is defined by Node for the\n * current module.\n * @param {Function} [requireFn]. Node's require function for the current module.\n * It only needs to be passed in Node versions before 0.5, when module.require\n * did not exist.\n * @returns {Function} a define function that is usable for the current node\n * module.\n */\nfunction amdefine(module, requireFn) {\n    'use strict';\n    var defineCache = {},\n        loaderCache = {},\n        alreadyCalled = false,\n        path = require('path'),\n        makeRequire, stringRequire;\n\n    /**\n     * Trims the . and .. from an array of path segments.\n     * It will keep a leading path segment if a .. will become\n     * the first path segment, to help with module name lookups,\n     * which act like paths, but can be remapped. But the end result,\n     * all paths that use this function should look normalized.\n     * NOTE: this method MODIFIES the input array.\n     * @param {Array} ary the array of path segments.\n     */\n    function trimDots(ary) {\n        var i, part;\n        for (i = 0; ary[i]; i+= 1) {\n            part = ary[i];\n            if (part === '.') {\n                ary.splice(i, 1);\n                i -= 1;\n            } else if (part === '..') {\n                if (i === 1 && (ary[2] === '..' || ary[0] === '..')) {\n                    //End of the line. Keep at least one non-dot\n                    //path segment at the front so it can be mapped\n                    //correctly to disk. Otherwise, there is likely\n                    //no path mapping for a path starting with '..'.\n                    //This can still fail, but catches the most reasonable\n                    //uses of ..\n                    break;\n                } else if (i > 0) {\n                    ary.splice(i - 1, 2);\n                    i -= 2;\n                }\n            }\n        }\n    }\n\n    function normalize(name, baseName) {\n        var baseParts;\n\n        //Adjust any relative paths.\n        if (name && name.charAt(0) === '.') {\n            //If have a base name, try to normalize against it,\n            //otherwise, assume it is a top-level require that will\n            //be relative to baseUrl in the end.\n            if (baseName) {\n                baseParts = baseName.split('/');\n                baseParts = baseParts.slice(0, baseParts.length - 1);\n                baseParts = baseParts.concat(name.split('/'));\n                trimDots(baseParts);\n                name = baseParts.join('/');\n            }\n        }\n\n        return name;\n    }\n\n    /**\n     * Create the normalize() function passed to a loader plugin's\n     * normalize method.\n     */\n    function makeNormalize(relName) {\n        return function (name) {\n            return normalize(name, relName);\n        };\n    }\n\n    function makeLoad(id) {\n        function load(value) {\n            loaderCache[id] = value;\n        }\n\n        load.fromText = function (id, text) {\n            //This one is difficult because the text can/probably uses\n            //define, and any relative paths and requires should be relative\n            //to that id was it would be found on disk. But this would require\n            //bootstrapping a module/require fairly deeply from node core.\n            //Not sure how best to go about that yet.\n            throw new Error('amdefine does not implement load.fromText');\n        };\n\n        return load;\n    }\n\n    makeRequire = function (systemRequire, exports, module, relId) {\n        function amdRequire(deps, callback) {\n            if (typeof deps === 'string') {\n                //Synchronous, single module require('')\n                return stringRequire(systemRequire, exports, module, deps, relId);\n            } else {\n                //Array of dependencies with a callback.\n\n                //Convert the dependencies to modules.\n                deps = deps.map(function (depName) {\n                    return stringRequire(systemRequire, exports, module, depName, relId);\n                });\n\n                //Wait for next tick to call back the require call.\n                process.nextTick(function () {\n                    callback.apply(null, deps);\n                });\n            }\n        }\n\n        amdRequire.toUrl = function (filePath) {\n            if (filePath.indexOf('.') === 0) {\n                return normalize(filePath, path.dirname(module.filename));\n            } else {\n                return filePath;\n            }\n        };\n\n        return amdRequire;\n    };\n\n    //Favor explicit value, passed in if the module wants to support Node 0.4.\n    requireFn = requireFn || function req() {\n        return module.require.apply(module, arguments);\n    };\n\n    function runFactory(id, deps, factory) {\n        var r, e, m, result;\n\n        if (id) {\n            e = loaderCache[id] = {};\n            m = {\n                id: id,\n                uri: __filename,\n                exports: e\n            };\n            r = makeRequire(requireFn, e, m, id);\n        } else {\n            //Only support one define call per file\n            if (alreadyCalled) {\n                throw new Error('amdefine with no module ID cannot be called more than once per file.');\n            }\n            alreadyCalled = true;\n\n            //Use the real variables from node\n            //Use module.exports for exports, since\n            //the exports in here is amdefine exports.\n            e = module.exports;\n            m = module;\n            r = makeRequire(requireFn, e, m, module.id);\n        }\n\n        //If there are dependencies, they are strings, so need\n        //to convert them to dependency values.\n        if (deps) {\n            deps = deps.map(function (depName) {\n                return r(depName);\n            });\n        }\n\n        //Call the factory with the right dependencies.\n        if (typeof factory === 'function') {\n            result = factory.apply(m.exports, deps);\n        } else {\n            result = factory;\n        }\n\n        if (result !== undefined) {\n            m.exports = result;\n            if (id) {\n                loaderCache[id] = m.exports;\n            }\n        }\n    }\n\n    stringRequire = function (systemRequire, exports, module, id, relId) {\n        //Split the ID by a ! so that\n        var index = id.indexOf('!'),\n            originalId = id,\n            prefix, plugin;\n\n        if (index === -1) {\n            id = normalize(id, relId);\n\n            //Straight module lookup. If it is one of the special dependencies,\n            //deal with it, otherwise, delegate to node.\n            if (id === 'require') {\n                return makeRequire(systemRequire, exports, module, relId);\n            } else if (id === 'exports') {\n                return exports;\n            } else if (id === 'module') {\n                return module;\n            } else if (loaderCache.hasOwnProperty(id)) {\n                return loaderCache[id];\n            } else if (defineCache[id]) {\n                runFactory.apply(null, defineCache[id]);\n                return loaderCache[id];\n            } else {\n                if(systemRequire) {\n                    return systemRequire(originalId);\n                } else {\n                    throw new Error('No module with ID: ' + id);\n                }\n            }\n        } else {\n            //There is a plugin in play.\n            prefix = id.substring(0, index);\n            id = id.substring(index + 1, id.length);\n\n            plugin = stringRequire(systemRequire, exports, module, prefix, relId);\n\n            if (plugin.normalize) {\n                id = plugin.normalize(id, makeNormalize(relId));\n            } else {\n                //Normalize the ID normally.\n                id = normalize(id, relId);\n            }\n\n            if (loaderCache[id]) {\n                return loaderCache[id];\n            } else {\n                plugin.load(id, makeRequire(systemRequire, exports, module, relId), makeLoad(id), {});\n\n                return loaderCache[id];\n            }\n        }\n    };\n\n    //Create a define function specific to the module asking for amdefine.\n    function define(id, deps, factory) {\n        if (Array.isArray(id)) {\n            factory = deps;\n            deps = id;\n            id = undefined;\n        } else if (typeof id !== 'string') {\n            factory = id;\n            id = deps = undefined;\n        }\n\n        if (deps && !Array.isArray(deps)) {\n            factory = deps;\n            deps = undefined;\n        }\n\n        if (!deps) {\n            deps = ['require', 'exports', 'module'];\n        }\n\n        //Set up properties for this module. If an ID, then use\n        //internal cache. If no ID, then use the external variables\n        //for this node module.\n        if (id) {\n            //Put the module in deep freeze until there is a\n            //require call for it.\n            defineCache[id] = [id, deps, factory];\n        } else {\n            runFactory(id, deps, factory);\n        }\n    }\n\n    //define.require, which has access to all the values in the\n    //cache. Useful for AMD modules that all have IDs in the file,\n    //but need to finally export a value to node based on one of those\n    //IDs.\n    define.require = function (id) {\n        if (loaderCache[id]) {\n            return loaderCache[id];\n        }\n\n        if (defineCache[id]) {\n            runFactory.apply(null, defineCache[id]);\n            return loaderCache[id];\n        }\n    };\n\n    define.amd = {};\n\n    return define;\n}\n\nmodule.exports = amdefine;\n\n},{\"__browserify_process\":4,\"path\":2}],17:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 docblockRe = /^\\s*(\\/\\*\\*(.|\\r?\\n)*?\\*\\/)/;\nvar ltrimRe = /^\\s*/;\n/**\n * @param {String} contents\n * @return {String}\n */\nfunction extract(contents) {\n  var match = contents.match(docblockRe);\n  if (match) {\n    return match[0].replace(ltrimRe, '') || '';\n  }\n  return '';\n}\n\n\nvar commentStartRe = /^\\/\\*\\*?/;\nvar commentEndRe = /\\*\\/$/;\nvar wsRe = /[\\t ]+/g;\nvar stringStartRe = /(\\r?\\n|^) *\\*/g;\nvar multilineRe = /(?:^|\\r?\\n) *(@[^\\r\\n]*?) *\\r?\\n *([^@\\r\\n\\s][^@\\r\\n]+?) *\\r?\\n/g;\nvar propertyRe = /(?:^|\\r?\\n) *@(\\S+) *([^\\r\\n]*)/g;\n\n/**\n * @param {String} contents\n * @return {Array}\n */\nfunction parse(docblock) {\n  docblock = docblock\n    .replace(commentStartRe, '')\n    .replace(commentEndRe, '')\n    .replace(wsRe, ' ')\n    .replace(stringStartRe, '$1');\n\n  // Normalize multi-line directives\n  var prev = '';\n  while (prev != docblock) {\n    prev = docblock;\n    docblock = docblock.replace(multilineRe, \"\\n$1 $2\\n\");\n  }\n  docblock = docblock.trim();\n\n  var result = [];\n  var match;\n  while (match = propertyRe.exec(docblock)) {\n    result.push([match[1], match[2]]);\n  }\n\n  return result;\n}\n\n/**\n * Same as parse but returns an object of prop: value instead of array of paris\n * If a property appers more than once the last one will be returned\n *\n * @param {String} contents\n * @return {Object}\n */\nfunction parseAsObject(docblock) {\n  var pairs = parse(docblock);\n  var result = {};\n  for (var i = 0; i < pairs.length; i++) {\n    result[pairs[i][0]] = pairs[i][1];\n  }\n  return result;\n}\n\n\nexports.extract = extract;\nexports.parse = parse;\nexports.parseAsObject = parseAsObject;\n\n},{}],18:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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/*jslint node: true*/\n\"use strict\";\n\n/**\n * Syntax transfomer for javascript. Takes the source in, spits the source\n * out.\n *\n * Parses input source with esprima, applies the given list of visitors to the\n * AST tree, and returns the resulting output.\n */\nvar esprima = require('esprima-fb');\n\nvar createState = require('./utils').createState;\nvar catchup = require('./utils').catchup;\nvar updateState = require('./utils').updateState;\nvar analyzeAndTraverse = require('./utils').analyzeAndTraverse;\n\nvar Syntax = esprima.Syntax;\n\n/**\n * @param {object} node\n * @param {object} parentNode\n * @return {boolean}\n */\nfunction _nodeIsClosureScopeBoundary(node, parentNode) {\n  if (node.type === Syntax.Program) {\n    return true;\n  }\n\n  var parentIsFunction =\n    parentNode.type === Syntax.FunctionDeclaration\n    || parentNode.type === Syntax.FunctionExpression;\n\n  return node.type === Syntax.BlockStatement && parentIsFunction;\n}\n\nfunction _nodeIsBlockScopeBoundary(node, parentNode) {\n  if (node.type === Syntax.Program) {\n    return false;\n  }\n\n  return node.type === Syntax.BlockStatement\n         && parentNode.type === Syntax.CatchClause;\n}\n\n/**\n * @param {object} node\n * @param {function} visitor\n * @param {array} path\n * @param {object} state\n */\nfunction traverse(node, path, state) {\n  // Create a scope stack entry if this is the first node we've encountered in\n  // its local scope\n  var parentNode = path[0];\n  if (!Array.isArray(node) && state.localScope.parentNode !== parentNode) {\n    if (_nodeIsClosureScopeBoundary(node, parentNode)) {\n      var scopeIsStrict =\n        state.scopeIsStrict\n        || node.body.length > 0\n           && node.body[0].type === Syntax.ExpressionStatement\n           && node.body[0].expression.type === Syntax.Literal\n           && node.body[0].expression.value === 'use strict';\n\n      if (node.type === Syntax.Program) {\n        state = updateState(state, {\n          scopeIsStrict: scopeIsStrict\n        });\n      } else {\n        state = updateState(state, {\n          localScope: {\n            parentNode: parentNode,\n            parentScope: state.localScope,\n            identifiers: {}\n          },\n          scopeIsStrict: scopeIsStrict\n        });\n\n        // All functions have an implicit 'arguments' object in scope\n        state.localScope.identifiers['arguments'] = true;\n\n        // Include function arg identifiers in the scope boundaries of the\n        // function\n        if (parentNode.params.length > 0) {\n          var param;\n          for (var i = 0; i < parentNode.params.length; i++) {\n            param = parentNode.params[i];\n            if (param.type === Syntax.Identifier) {\n              state.localScope.identifiers[param.name] = true;\n            }\n          }\n        }\n\n        // Named FunctionExpressions scope their name within the body block of\n        // themselves only\n        if (parentNode.type === Syntax.FunctionExpression && parentNode.id) {\n          state.localScope.identifiers[parentNode.id.name] = true;\n        }\n      }\n\n      // Traverse and find all local identifiers in this closure first to\n      // account for function/variable declaration hoisting\n      collectClosureIdentsAndTraverse(node, path, state);\n    }\n\n    if (_nodeIsBlockScopeBoundary(node, parentNode)) {\n      state = updateState(state, {\n        localScope: {\n          parentNode: parentNode,\n          parentScope: state.localScope,\n          identifiers: {}\n        }\n      });\n\n      if (parentNode.type === Syntax.CatchClause) {\n        state.localScope.identifiers[parentNode.param.name] = true;\n      }\n      collectBlockIdentsAndTraverse(node, path, state);\n    }\n  }\n\n  // Only catchup() before and after traversing a child node\n  function traverser(node, path, state) {\n    node.range && catchup(node.range[0], state);\n    traverse(node, path, state);\n    node.range && catchup(node.range[1], state);\n  }\n\n  analyzeAndTraverse(walker, traverser, node, path, state);\n}\n\nfunction collectClosureIdentsAndTraverse(node, path, state) {\n  analyzeAndTraverse(\n    visitLocalClosureIdentifiers,\n    collectClosureIdentsAndTraverse,\n    node,\n    path,\n    state\n  );\n}\n\nfunction collectBlockIdentsAndTraverse(node, path, state) {\n  analyzeAndTraverse(\n    visitLocalBlockIdentifiers,\n    collectBlockIdentsAndTraverse,\n    node,\n    path,\n    state\n  );\n}\n\nfunction visitLocalClosureIdentifiers(node, path, state) {\n  var identifiers = state.localScope.identifiers;\n  switch (node.type) {\n    case Syntax.FunctionExpression:\n      // Function expressions don't get their names (if there is one) added to\n      // the closure scope they're defined in\n      return false;\n    case Syntax.ClassDeclaration:\n    case Syntax.ClassExpression:\n    case Syntax.FunctionDeclaration:\n      if (node.id) {\n        identifiers[node.id.name] = true;\n      }\n      return false;\n    case Syntax.VariableDeclarator:\n      if (path[0].kind === 'var') {\n        identifiers[node.id.name] = true;\n      }\n      break;\n  }\n}\n\nfunction visitLocalBlockIdentifiers(node, path, state) {\n  // TODO: Support 'let' here...maybe...one day...or something...\n  if (node.type === Syntax.CatchClause) {\n    return false;\n  }\n}\n\nfunction walker(node, path, state) {\n  var visitors = state.g.visitors;\n  for (var i = 0; i < visitors.length; i++) {\n    if (visitors[i].test(node, path, state)) {\n      return visitors[i](traverse, node, path, state);\n    }\n  }\n}\n\n/**\n * Applies all available transformations to the source\n * @param {array} visitors\n * @param {string} source\n * @param {?object} options\n * @return {object}\n */\nfunction transform(visitors, source, options) {\n  options = options || {};\n\n  var ast;\n  try {\n    ast = esprima.parse(source, {\n      comment: true,\n      loc: true,\n      range: true\n    });\n  } catch (e) {\n    e.message = 'Parse Error: ' + e.message;\n    throw e;\n  }\n  var state = createState(source, ast, options);\n  state.g.visitors = visitors;\n\n  if (options.sourceMap) {\n    var SourceMapGenerator = require('source-map').SourceMapGenerator;\n    state.g.sourceMap = new SourceMapGenerator({file: 'transformed.js'});\n  }\n\n  traverse(ast, [], state);\n  catchup(source.length, state);\n\n  var ret = {code: state.g.buffer};\n  if (options.sourceMap) {\n    ret.sourceMap = state.g.sourceMap;\n    ret.sourceMapFilename =  options.filename || 'source.js';\n  }\n  return ret;\n}\n\nexports.transform = transform;\n\n},{\"./utils\":19,\"esprima-fb\":5,\"source-map\":7}],19:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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/*jslint node: true*/\n\n/**\n * A `state` object represents the state of the parser. It has \"local\" and\n * \"global\" parts. Global contains parser position, source, etc. Local contains\n * scope based properties like current class name. State should contain all the\n * info required for transformation. It's the only mandatory object that is\n * being passed to every function in transform chain.\n *\n * @param  {string} source\n * @param  {object} transformOptions\n * @return {object}\n */\nfunction createState(source, rootNode, transformOptions) {\n  return {\n    /**\n     * A tree representing the current local scope (and its lexical scope chain)\n     * Useful for tracking identifiers from parent scopes, etc.\n     * @type {Object}\n     */\n    localScope: {\n      parentNode: rootNode,\n      parentScope: null,\n      identifiers: {}\n    },\n    /**\n     * The name (and, if applicable, expression) of the super class\n     * @type {Object}\n     */\n    superClass: null,\n    /**\n     * The namespace to use when munging identifiers\n     * @type {String}\n     */\n    mungeNamespace: '',\n    /**\n     * Ref to the node for the FunctionExpression of the enclosing\n     * MethodDefinition\n     * @type {Object}\n     */\n    methodFuncNode: null,\n    /**\n     * Name of the enclosing class\n     * @type {String}\n     */\n    className: null,\n    /**\n     * Whether we're currently within a `strict` scope\n     * @type {Bool}\n     */\n    scopeIsStrict: null,\n    /**\n     * Global state (not affected by updateState)\n     * @type {Object}\n     */\n    g: {\n      /**\n       * A set of general options that transformations can consider while doing\n       * a transformation:\n       *\n       * - minify\n       *   Specifies that transformation steps should do their best to minify\n       *   the output source when possible. This is useful for places where\n       *   minification optimizations are possible with higher-level context\n       *   info than what jsxmin can provide.\n       *\n       *   For example, the ES6 class transform will minify munged private\n       *   variables if this flag is set.\n       */\n      opts: transformOptions,\n      /**\n       * Current position in the source code\n       * @type {Number}\n       */\n      position: 0,\n      /**\n       * Buffer containing the result\n       * @type {String}\n       */\n      buffer: '',\n      /**\n       * Indentation offset (only negative offset is supported now)\n       * @type {Number}\n       */\n      indentBy: 0,\n      /**\n       * Source that is being transformed\n       * @type {String}\n       */\n      source: source,\n\n      /**\n       * Cached parsed docblock (see getDocblock)\n       * @type {object}\n       */\n      docblock: null,\n\n      /**\n       * Whether the thing was used\n       * @type {Boolean}\n       */\n      tagNamespaceUsed: false,\n\n      /**\n       * If using bolt xjs transformation\n       * @type {Boolean}\n       */\n      isBolt: undefined,\n\n      /**\n       * Whether to record source map (expensive) or not\n       * @type {SourceMapGenerator|null}\n       */\n      sourceMap: null,\n\n      /**\n       * Filename of the file being processed. Will be returned as a source\n       * attribute in the source map\n       */\n      sourceMapFilename: 'source.js',\n\n      /**\n       * Only when source map is used: last line in the source for which\n       * source map was generated\n       * @type {Number}\n       */\n      sourceLine: 1,\n\n      /**\n       * Only when source map is used: last line in the buffer for which\n       * source map was generated\n       * @type {Number}\n       */\n      bufferLine: 1,\n\n      /**\n       * The top-level Program AST for the original file.\n       */\n      originalProgramAST: null,\n\n      sourceColumn: 0,\n      bufferColumn: 0\n    }\n  };\n}\n\n/**\n * Updates a copy of a given state with \"update\" and returns an updated state.\n *\n * @param  {object} state\n * @param  {object} update\n * @return {object}\n */\nfunction updateState(state, update) {\n  var ret = Object.create(state);\n  Object.keys(update).forEach(function(updatedKey) {\n    ret[updatedKey] = update[updatedKey];\n  });\n  return ret;\n}\n\n/**\n * Given a state fill the resulting buffer from the original source up to\n * the end\n *\n * @param {number} end\n * @param {object} state\n * @param {?function} contentTransformer Optional callback to transform newly\n *                                       added content.\n */\nfunction catchup(end, state, contentTransformer) {\n  if (end < state.g.position) {\n    // cannot move backwards\n    return;\n  }\n  var source = state.g.source.substring(state.g.position, end);\n  var transformed = updateIndent(source, state);\n  if (state.g.sourceMap && transformed) {\n    // record where we are\n    state.g.sourceMap.addMapping({\n      generated: { line: state.g.bufferLine, column: state.g.bufferColumn },\n      original: { line: state.g.sourceLine, column: state.g.sourceColumn },\n      source: state.g.sourceMapFilename\n    });\n\n    // record line breaks in transformed source\n    var sourceLines = source.split('\\n');\n    var transformedLines = transformed.split('\\n');\n    // Add line break mappings between last known mapping and the end of the\n    // added piece. So for the code piece\n    //  (foo, bar);\n    // > var x = 2;\n    // > var b = 3;\n    //   var c =\n    // only add lines marked with \">\": 2, 3.\n    for (var i = 1; i < sourceLines.length - 1; i++) {\n      state.g.sourceMap.addMapping({\n        generated: { line: state.g.bufferLine, column: 0 },\n        original: { line: state.g.sourceLine, column: 0 },\n        source: state.g.sourceMapFilename\n      });\n      state.g.sourceLine++;\n      state.g.bufferLine++;\n    }\n    // offset for the last piece\n    if (sourceLines.length > 1) {\n      state.g.sourceLine++;\n      state.g.bufferLine++;\n      state.g.sourceColumn = 0;\n      state.g.bufferColumn = 0;\n    }\n    state.g.sourceColumn += sourceLines[sourceLines.length - 1].length;\n    state.g.bufferColumn +=\n      transformedLines[transformedLines.length - 1].length;\n  }\n  state.g.buffer +=\n    contentTransformer ? contentTransformer(transformed) : transformed;\n  state.g.position = end;\n}\n\n/**\n * Removes all non-whitespace characters\n */\nvar reNonWhite = /(\\S)/g;\nfunction stripNonWhite(value) {\n  return value.replace(reNonWhite, function() {\n    return '';\n  });\n}\n\n/**\n * Catches up as `catchup` but removes all non-whitespace characters.\n */\nfunction catchupWhiteSpace(end, state) {\n  catchup(end, state, stripNonWhite);\n}\n\n/**\n * Removes all non-newline characters\n */\nvar reNonNewline = /[^\\n]/g;\nfunction stripNonNewline(value) {\n  return value.replace(reNonNewline, function() {\n    return '';\n  });\n}\n\n/**\n * Catches up as `catchup` but removes all non-newline characters.\n *\n * Equivalent to appending as many newlines as there are in the original source\n * between the current position and `end`.\n */\nfunction catchupNewlines(end, state) {\n  catchup(end, state, stripNonNewline);\n}\n\n\n/**\n * Same as catchup but does not touch the buffer\n *\n * @param  {number} end\n * @param  {object} state\n */\nfunction move(end, state) {\n  // move the internal cursors\n  if (state.g.sourceMap) {\n    if (end < state.g.position) {\n      state.g.position = 0;\n      state.g.sourceLine = 1;\n      state.g.sourceColumn = 0;\n    }\n\n    var source = state.g.source.substring(state.g.position, end);\n    var sourceLines = source.split('\\n');\n    if (sourceLines.length > 1) {\n      state.g.sourceLine += sourceLines.length - 1;\n      state.g.sourceColumn = 0;\n    }\n    state.g.sourceColumn += sourceLines[sourceLines.length - 1].length;\n  }\n  state.g.position = end;\n}\n\n/**\n * Appends a string of text to the buffer\n *\n * @param {string} str\n * @param {object} state\n */\nfunction append(str, state) {\n  if (state.g.sourceMap && str) {\n    state.g.sourceMap.addMapping({\n      generated: { line: state.g.bufferLine, column: state.g.bufferColumn },\n      original: { line: state.g.sourceLine, column: state.g.sourceColumn },\n      source: state.g.sourceMapFilename\n    });\n    var transformedLines = str.split('\\n');\n    if (transformedLines.length > 1) {\n      state.g.bufferLine += transformedLines.length - 1;\n      state.g.bufferColumn = 0;\n    }\n    state.g.bufferColumn +=\n      transformedLines[transformedLines.length - 1].length;\n  }\n  state.g.buffer += str;\n}\n\n/**\n * Update indent using state.indentBy property. Indent is measured in\n * double spaces. Updates a single line only.\n *\n * @param {string} str\n * @param {object} state\n * @return {string}\n */\nfunction updateIndent(str, state) {\n  for (var i = 0; i < -state.g.indentBy; i++) {\n    str = str.replace(/(^|\\n)( {2}|\\t)/g, '$1');\n  }\n  return str;\n}\n\n/**\n * Calculates indent from the beginning of the line until \"start\" or the first\n * character before start.\n * @example\n *   \"  foo.bar()\"\n *         ^\n *       start\n *   indent will be 2\n *\n * @param  {number} start\n * @param  {object} state\n * @return {number}\n */\nfunction indentBefore(start, state) {\n  var end = start;\n  start = start - 1;\n\n  while (start > 0 && state.g.source[start] != '\\n') {\n    if (!state.g.source[start].match(/[ \\t]/)) {\n      end = start;\n    }\n    start--;\n  }\n  return state.g.source.substring(start + 1, end);\n}\n\nfunction getDocblock(state) {\n  if (!state.g.docblock) {\n    var docblock = require('./docblock');\n    state.g.docblock =\n      docblock.parseAsObject(docblock.extract(state.g.source));\n  }\n  return state.g.docblock;\n}\n\nfunction identWithinLexicalScope(identName, state, stopBeforeNode) {\n  var currScope = state.localScope;\n  while (currScope) {\n    if (currScope.identifiers[identName] !== undefined) {\n      return true;\n    }\n\n    if (stopBeforeNode && currScope.parentNode === stopBeforeNode) {\n      break;\n    }\n\n    currScope = currScope.parentScope;\n  }\n  return false;\n}\n\nfunction identInLocalScope(identName, state) {\n  return state.localScope.identifiers[identName] !== undefined;\n}\n\nfunction declareIdentInLocalScope(identName, state) {\n  state.localScope.identifiers[identName] = true;\n}\n\n/**\n * Apply the given analyzer function to the current node. If the analyzer\n * doesn't return false, traverse each child of the current node using the given\n * traverser function.\n *\n * @param {function} analyzer\n * @param {function} traverser\n * @param {object} node\n * @param {function} visitor\n * @param {array} path\n * @param {object} state\n */\nfunction analyzeAndTraverse(analyzer, traverser, node, path, state) {\n  var key, child;\n\n  if (node.type) {\n    if (analyzer(node, path, state) === false) {\n      return;\n    }\n    path.unshift(node);\n  }\n\n  for (key in node) {\n    // skip obviously wrong attributes\n    if (key === 'range' || key === 'loc') {\n      continue;\n    }\n    if (node.hasOwnProperty(key)) {\n      child = node[key];\n      if (typeof child === 'object' && child !== null) {\n        traverser(child, path, state);\n      }\n    }\n  }\n  node.type && path.shift();\n}\n\n/**\n * Checks whether a node or any of its sub-nodes contains\n * a syntactic construct of the passed type.\n * @param {object} node - AST node to test.\n * @param {string} type - node type to lookup.\n */\nfunction containsChildOfType(node, type) {\n  var foundMatchingChild = false;\n  function nodeTypeAnalyzer(node) {\n    if (node.type === type) {\n      foundMatchingChild = true;\n      return false;\n    }\n  }\n  function nodeTypeTraverser(child, path, state) {\n    if (!foundMatchingChild) {\n      foundMatchingChild = containsChildOfType(child, type);\n    }\n  }\n  analyzeAndTraverse(\n    nodeTypeAnalyzer,\n    nodeTypeTraverser,\n    node,\n    []\n  );\n  return foundMatchingChild;\n}\n\nexports.append = append;\nexports.catchup = catchup;\nexports.catchupWhiteSpace = catchupWhiteSpace;\nexports.catchupNewlines = catchupNewlines;\nexports.containsChildOfType = containsChildOfType;\nexports.createState = createState;\nexports.declareIdentInLocalScope = declareIdentInLocalScope;\nexports.getDocblock = getDocblock;\nexports.identWithinLexicalScope = identWithinLexicalScope;\nexports.identInLocalScope = identInLocalScope;\nexports.indentBefore = indentBefore;\nexports.move = move;\nexports.updateIndent = updateIndent;\nexports.updateState = updateState;\nexports.analyzeAndTraverse = analyzeAndTraverse;\n\n},{\"./docblock\":17}],20:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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/*jslint node:true*/\n\n/**\n * @typechecks\n */\n'use strict';\n\nvar base62 = require('base62');\nvar Syntax = require('esprima-fb').Syntax;\nvar utils = require('../src/utils');\n\nvar SUPER_PROTO_IDENT_PREFIX = '____SuperProtoOf';\n\nvar _anonClassUUIDCounter = 0;\nvar _mungedSymbolMaps = {};\n\n/**\n * Used to generate a unique class for use with code-gens for anonymous class\n * expressions.\n *\n * @param {object} state\n * @return {string}\n */\nfunction _generateAnonymousClassName(state) {\n  var mungeNamespace = state.mungeNamespace || '';\n  return '____Class' + mungeNamespace + base62.encode(_anonClassUUIDCounter++);\n}\n\n/**\n * Given an identifier name, munge it using the current state's mungeNamespace.\n *\n * @param {string} identName\n * @param {object} state\n * @return {string}\n */\nfunction _getMungedName(identName, state) {\n  var mungeNamespace = state.mungeNamespace;\n  var shouldMinify = state.g.opts.minify;\n\n  if (shouldMinify) {\n    if (!_mungedSymbolMaps[mungeNamespace]) {\n      _mungedSymbolMaps[mungeNamespace] = {\n        symbolMap: {},\n        identUUIDCounter: 0\n      };\n    }\n\n    var symbolMap = _mungedSymbolMaps[mungeNamespace].symbolMap;\n    if (!symbolMap[identName]) {\n      symbolMap[identName] =\n        base62.encode(_mungedSymbolMaps[mungeNamespace].identUUIDCounter++);\n    }\n    identName = symbolMap[identName];\n  }\n  return '$' + mungeNamespace + identName;\n}\n\n/**\n * Extracts super class information from a class node.\n *\n * Information includes name of the super class and/or the expression string\n * (if extending from an expression)\n *\n * @param {object} node\n * @param {object} state\n * @return {object}\n */\nfunction _getSuperClassInfo(node, state) {\n  var ret = {\n    name: null,\n    expression: null\n  };\n  if (node.superClass) {\n    if (node.superClass.type === Syntax.Identifier) {\n      ret.name = node.superClass.name;\n    } else {\n      // Extension from an expression\n      ret.name = _generateAnonymousClassName(state);\n      ret.expression = state.g.source.substring(\n        node.superClass.range[0],\n        node.superClass.range[1]\n      );\n    }\n  }\n  return ret;\n}\n\n/**\n * Used with .filter() to find the constructor method in a list of\n * MethodDefinition nodes.\n *\n * @param {object} classElement\n * @return {boolean}\n */\nfunction _isConstructorMethod(classElement) {\n  return classElement.type === Syntax.MethodDefinition &&\n         classElement.key.type === Syntax.Identifier &&\n         classElement.key.name === 'constructor';\n}\n\n/**\n * @param {object} node\n * @param {object} state\n * @return {boolean}\n */\nfunction _shouldMungeIdentifier(node, state) {\n  return (\n    !!state.methodFuncNode &&\n    !utils.getDocblock(state).hasOwnProperty('preventMunge') &&\n    /^_(?!_)/.test(node.name)\n  );\n}\n\n/**\n * @param {function} traverse\n * @param {object} node\n * @param {array} path\n * @param {object} state\n */\nfunction visitClassMethod(traverse, node, path, state) {\n  utils.catchup(node.range[0], state);\n  path.unshift(node);\n  traverse(node.value, path, state);\n  path.shift();\n  return false;\n}\nvisitClassMethod.test = function(node, path, state) {\n  return node.type === Syntax.MethodDefinition;\n};\n\n/**\n * @param {function} traverse\n * @param {object} node\n * @param {array} path\n * @param {object} state\n */\nfunction visitClassFunctionExpression(traverse, node, path, state) {\n  var methodNode = path[0];\n\n  state = utils.updateState(state, {\n    methodFuncNode: node\n  });\n\n  if (methodNode.key.name === 'constructor') {\n    utils.append('function ' + state.className, state);\n  } else {\n    var methodName = methodNode.key.name;\n    if (_shouldMungeIdentifier(methodNode.key, state)) {\n      methodName = _getMungedName(methodName, state);\n    }\n\n    var prototypeOrStatic = methodNode.static ? '' : 'prototype.';\n    utils.append(\n      state.className + '.' + prototypeOrStatic + methodName + '=function',\n      state\n    );\n  }\n  utils.move(methodNode.key.range[1], state);\n\n  var params = node.params;\n  var paramName;\n  if (params.length > 0) {\n    for (var i = 0; i < params.length; i++) {\n      utils.catchup(node.params[i].range[0], state);\n      paramName = params[i].name;\n      if (_shouldMungeIdentifier(params[i], state)) {\n        paramName = _getMungedName(params[i].name, state);\n      }\n      utils.append(paramName, state);\n      utils.move(params[i].range[1], state);\n    }\n  } else {\n    utils.append('(', state);\n  }\n  utils.append(')', state);\n  utils.catchupWhiteSpace(node.body.range[0], state);\n  utils.append('{', state);\n  if (!state.scopeIsStrict) {\n    utils.append('\"use strict\";', state);\n  }\n  utils.move(node.body.range[0] + '{'.length, state);\n\n  path.unshift(node);\n  traverse(node.body, path, state);\n  path.shift();\n  utils.catchup(node.body.range[1], state);\n\n  if (methodNode.key.name !== 'constructor') {\n    utils.append(';', state);\n  }\n  return false;\n}\nvisitClassFunctionExpression.test = function(node, path, state) {\n  return node.type === Syntax.FunctionExpression\n         && path[0].type === Syntax.MethodDefinition;\n};\n\n/**\n * @param {function} traverse\n * @param {object} node\n * @param {array} path\n * @param {object} state\n */\nfunction _renderClassBody(traverse, node, path, state) {\n  var className = state.className;\n  var superClass = state.superClass;\n\n  // Set up prototype of constructor on same line as `extends` for line-number\n  // preservation. This relies on function-hoisting if a constructor function is\n  // defined in the class body.\n  if (superClass.name) {\n    // If the super class is an expression, we need to memoize the output of the\n    // expression into the generated class name variable and use that to refer\n    // to the super class going forward. Example:\n    //\n    //   class Foo extends mixin(Bar, Baz) {}\n    //     --transforms to--\n    //   function Foo() {} var ____Class0Blah = mixin(Bar, Baz);\n    if (superClass.expression !== null) {\n      utils.append(\n        'var ' + superClass.name + '=' + superClass.expression + ';',\n        state\n      );\n    }\n\n    var keyName = superClass.name + '____Key';\n    var keyNameDeclarator = '';\n    if (!utils.identWithinLexicalScope(keyName, state)) {\n      keyNameDeclarator = 'var ';\n      utils.declareIdentInLocalScope(keyName, state);\n    }\n    utils.append(\n      'for(' + keyNameDeclarator + keyName + ' in ' + superClass.name + '){' +\n        'if(' + superClass.name + '.hasOwnProperty(' + keyName + ')){' +\n          className + '[' + keyName + ']=' +\n            superClass.name + '[' + keyName + '];' +\n        '}' +\n      '}',\n      state\n    );\n\n    var superProtoIdentStr = SUPER_PROTO_IDENT_PREFIX + superClass.name;\n    if (!utils.identWithinLexicalScope(superProtoIdentStr, state)) {\n      utils.append(\n        'var ' + superProtoIdentStr + '=' + superClass.name + '===null?' +\n        'null:' + superClass.name + '.prototype;',\n        state\n      );\n      utils.declareIdentInLocalScope(superProtoIdentStr, state);\n    }\n\n    utils.append(\n      className + '.prototype=Object.create(' + superProtoIdentStr + ');',\n      state\n    );\n    utils.append(\n      className + '.prototype.constructor=' + className + ';',\n      state\n    );\n    utils.append(\n      className + '.__superConstructor__=' + superClass.name + ';',\n      state\n    );\n  }\n\n  // If there's no constructor method specified in the class body, create an\n  // empty constructor function at the top (same line as the class keyword)\n  if (!node.body.body.filter(_isConstructorMethod).pop()) {\n    utils.append('function ' + className + '(){', state);\n    if (!state.scopeIsStrict) {\n      utils.append('\"use strict\";', state);\n    }\n    if (superClass.name) {\n      utils.append(\n        'if(' + superClass.name + '!==null){' +\n        superClass.name + '.apply(this,arguments);}',\n        state\n      );\n    }\n    utils.append('}', state);\n  }\n\n  utils.move(node.body.range[0] + '{'.length, state);\n  traverse(node.body, path, state);\n  utils.catchupWhiteSpace(node.range[1], state);\n}\n\n/**\n * @param {function} traverse\n * @param {object} node\n * @param {array} path\n * @param {object} state\n */\nfunction visitClassDeclaration(traverse, node, path, state) {\n  var className = node.id.name;\n  var superClass = _getSuperClassInfo(node, state);\n\n  state = utils.updateState(state, {\n    mungeNamespace: className,\n    className: className,\n    superClass: superClass\n  });\n\n  _renderClassBody(traverse, node, path, state);\n\n  return false;\n}\nvisitClassDeclaration.test = function(node, path, state) {\n  return node.type === Syntax.ClassDeclaration;\n};\n\n/**\n * @param {function} traverse\n * @param {object} node\n * @param {array} path\n * @param {object} state\n */\nfunction visitClassExpression(traverse, node, path, state) {\n  var className = node.id && node.id.name || _generateAnonymousClassName(state);\n  var superClass = _getSuperClassInfo(node, state);\n\n  utils.append('(function(){', state);\n\n  state = utils.updateState(state, {\n    mungeNamespace: className,\n    className: className,\n    superClass: superClass\n  });\n\n  _renderClassBody(traverse, node, path, state);\n\n  utils.append('return ' + className + ';})()', state);\n  return false;\n}\nvisitClassExpression.test = function(node, path, state) {\n  return node.type === Syntax.ClassExpression;\n};\n\n/**\n * @param {function} traverse\n * @param {object} node\n * @param {array} path\n * @param {object} state\n */\nfunction visitPrivateIdentifier(traverse, node, path, state) {\n  utils.append(_getMungedName(node.name, state), state);\n  utils.move(node.range[1], state);\n}\nvisitPrivateIdentifier.test = function(node, path, state) {\n  if (node.type === Syntax.Identifier && _shouldMungeIdentifier(node, state)) {\n    // Always munge non-computed properties of MemberExpressions\n    // (a la preventing access of properties of unowned objects)\n    if (path[0].type === Syntax.MemberExpression && path[0].object !== node\n        && path[0].computed === false) {\n      return true;\n    }\n\n    // Always munge identifiers that were declared within the method function\n    // scope\n    if (utils.identWithinLexicalScope(node.name, state, state.methodFuncNode)) {\n      return true;\n    }\n\n    // Always munge private keys on object literals defined within a method's\n    // scope.\n    if (path[0].type === Syntax.Property\n        && path[1].type === Syntax.ObjectExpression) {\n      return true;\n    }\n\n    // Always munge function parameters\n    if (path[0].type === Syntax.FunctionExpression\n        || path[0].type === Syntax.FunctionDeclaration) {\n      for (var i = 0; i < path[0].params.length; i++) {\n        if (path[0].params[i] === node) {\n          return true;\n        }\n      }\n    }\n  }\n  return false;\n};\n\n/**\n * @param {function} traverse\n * @param {object} node\n * @param {array} path\n * @param {object} state\n */\nfunction visitSuperCallExpression(traverse, node, path, state) {\n  var superClassName = state.superClass.name;\n\n  if (node.callee.type === Syntax.Identifier) {\n    utils.append(superClassName + '.call(', state);\n    utils.move(node.callee.range[1], state);\n  } else if (node.callee.type === Syntax.MemberExpression) {\n    utils.append(SUPER_PROTO_IDENT_PREFIX + superClassName, state);\n    utils.move(node.callee.object.range[1], state);\n\n    if (node.callee.computed) {\n      // [\"a\" + \"b\"]\n      utils.catchup(node.callee.property.range[1] + ']'.length, state);\n    } else {\n      // .ab\n      utils.append('.' + node.callee.property.name, state);\n    }\n\n    utils.append('.call(', state);\n    utils.move(node.callee.range[1], state);\n  }\n\n  utils.append('this', state);\n  if (node.arguments.length > 0) {\n    utils.append(',', state);\n    utils.catchupWhiteSpace(node.arguments[0].range[0], state);\n    traverse(node.arguments, path, state);\n  }\n\n  utils.catchupWhiteSpace(node.range[1], state);\n  utils.append(')', state);\n  return false;\n}\nvisitSuperCallExpression.test = function(node, path, state) {\n  if (state.superClass && node.type === Syntax.CallExpression) {\n    var callee = node.callee;\n    if (callee.type === Syntax.Identifier && callee.name === 'super'\n        || callee.type == Syntax.MemberExpression\n           && callee.object.name === 'super') {\n      return true;\n    }\n  }\n  return false;\n};\n\n/**\n * @param {function} traverse\n * @param {object} node\n * @param {array} path\n * @param {object} state\n */\nfunction visitSuperMemberExpression(traverse, node, path, state) {\n  var superClassName = state.superClass.name;\n\n  utils.append(SUPER_PROTO_IDENT_PREFIX + superClassName, state);\n  utils.move(node.object.range[1], state);\n}\nvisitSuperMemberExpression.test = function(node, path, state) {\n  return state.superClass\n         && node.type === Syntax.MemberExpression\n         && node.object.type === Syntax.Identifier\n         && node.object.name === 'super';\n};\n\nexports.visitorList = [\n  visitClassDeclaration,\n  visitClassExpression,\n  visitClassFunctionExpression,\n  visitClassMethod,\n  visitPrivateIdentifier,\n  visitSuperCallExpression,\n  visitSuperMemberExpression\n];\n\n},{\"../src/utils\":19,\"base62\":6,\"esprima-fb\":5}],21:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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/* jshint browser: true */\n/* jslint evil: true */\n\n'use strict';\nvar runScripts;\nvar headEl;\n\nvar transform = require('jstransform').transform;\nvar visitors = require('./fbtransform/visitors').transformVisitors;\nvar transform = transform.bind(null, visitors.react);\nvar docblock = require('jstransform/src/docblock');\n\n\nexports.transform = transform;\n\nexports.exec = function(code) {\n  return eval(transform(code).code);\n};\n\nif (typeof window === \"undefined\" || window === null) {\n  return;\n}\nheadEl = document.getElementsByTagName('head')[0];\n\nvar run = exports.run = function(code) {\n  var jsx = docblock.parseAsObject(docblock.extract(code)).jsx;\n\n  var functionBody = jsx ? transform(code).code : code;\n  var scriptEl = document.createElement('script');\n\n  scriptEl.text = functionBody;\n  headEl.appendChild(scriptEl);\n};\n\nvar load = exports.load = function(url, callback) {\n  var xhr;\n  xhr = window.ActiveXObject ? new window.ActiveXObject('Microsoft.XMLHTTP')\n                             : new XMLHttpRequest();\n\n  // Disable async since we need to execute scripts in the order they are in the\n  // DOM to mirror normal script loading.\n  xhr.open('GET', url, false);\n  if ('overrideMimeType' in xhr) {\n    xhr.overrideMimeType('text/plain');\n  }\n  xhr.onreadystatechange = function() {\n    if (xhr.readyState === 4) {\n      if (xhr.status === 0 || xhr.status === 200) {\n        run(xhr.responseText);\n      } else {\n        throw new Error(\"Could not load \" + url);\n      }\n      if (callback) {\n        return callback();\n      }\n    }\n  };\n  return xhr.send(null);\n};\n\nrunScripts = function() {\n  var scripts = document.getElementsByTagName('script');\n  \n  // Array.prototype.slice cannot be used on NodeList on IE8\n  var jsxScripts = [];\n  for (var i = 0; i < scripts.length; i++) {\n    if (scripts.item(i).type === 'text/jsx') {\n      jsxScripts.push(scripts.item(i));\n    }\n  }\n  \n  console.warn(\"You are using the in-browser JSX transformer. Be sure to precompile your JSX for production - http://facebook.github.io/react/docs/tooling-integration.html#jsx\");\n\n  jsxScripts.forEach(function(script) {\n    if (script.src) {\n      load(script.src);\n    } else {\n      run(script.innerHTML);\n    }\n  });\n};\n\nif (window.addEventListener) {\n  window.addEventListener('DOMContentLoaded', runScripts, false);\n} else {\n  window.attachEvent('onload', runScripts);\n}\n\n},{\"./fbtransform/visitors\":25,\"jstransform\":18,\"jstransform/src/docblock\":17}],22:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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/*global exports:true*/\n\"use strict\";\n\nvar Syntax = require('esprima-fb').Syntax;\nvar utils = require('jstransform/src/utils');\n\nvar FALLBACK_TAGS = require('./xjs').knownTags;\nvar renderXJSExpressionContainer =\n  require('./xjs').renderXJSExpressionContainer;\nvar renderXJSLiteral = require('./xjs').renderXJSLiteral;\nvar quoteAttrName = require('./xjs').quoteAttrName;\n\n/**\n * Customized desugar processor.\n *\n * Currently: (Somewhat tailored to React)\n * <X> </X> => X(null, null)\n * <X prop=\"1\" /> => X({prop: '1'}, null)\n * <X prop=\"2\"><Y /></X> => X({prop:'2'}, Y(null, null))\n * <X prop=\"2\"><Y /><Z /></X> => X({prop:'2'}, [Y(null, null), Z(null, null)])\n *\n * Exceptions to the simple rules above:\n * if a property is named \"class\" it will be changed to \"className\" in the\n * javascript since \"class\" is not a valid object key in javascript.\n */\n\nvar JSX_ATTRIBUTE_TRANSFORMS = {\n  cxName: function(attr) {\n    if (attr.value.type !== Syntax.Literal) {\n      throw new Error(\"cx only accepts a string literal\");\n    } else {\n      var classNames = attr.value.value.split(/\\s+/g);\n      return 'cx(' + classNames.map(JSON.stringify).join(',') + ')';\n    }\n  }\n};\n\nfunction visitReactTag(traverse, object, path, state) {\n  var jsxObjIdent = utils.getDocblock(state).jsx;\n\n  utils.catchup(object.openingElement.range[0], state);\n\n  if (object.name.namespace) {\n    throw new Error(\n       'Namespace tags are not supported. ReactJSX is not XML.');\n  }\n\n  var isFallbackTag = FALLBACK_TAGS[object.name.name];\n  utils.append(\n    (isFallbackTag ? jsxObjIdent + '.' : '') + (object.name.name) + '(',\n    state\n  );\n\n  utils.move(object.name.range[1], state);\n\n  var childrenToRender = object.children.filter(function(child) {\n    return !(child.type === Syntax.Literal && !child.value.match(/\\S/));\n  });\n\n  // if we don't have any attributes, pass in null\n  if (object.attributes.length === 0) {\n    utils.append('null', state);\n  }\n\n  // write attributes\n  object.attributes.forEach(function(attr, index) {\n    utils.catchup(attr.range[0], state);\n    if (attr.name.namespace) {\n      throw new Error(\n         'Namespace attributes are not supported. ReactJSX is not XML.');\n    }\n    var name = attr.name.name;\n    var isFirst = index === 0;\n    var isLast = index === object.attributes.length - 1;\n\n    if (isFirst) {\n      utils.append('{', state);\n    }\n\n    utils.append(quoteAttrName(name), state);\n    utils.append(':', state);\n\n    if (!attr.value) {\n      state.g.buffer += 'true';\n      state.g.position = attr.name.range[1];\n      if (!isLast) {\n        utils.append(',', state);\n      }\n    } else {\n      utils.move(attr.name.range[1], state);\n      // Use catchupWhiteSpace to skip over the '=' in the attribute\n      utils.catchupWhiteSpace(attr.value.range[0], state);\n      if (JSX_ATTRIBUTE_TRANSFORMS[attr.name.name]) {\n        utils.append(JSX_ATTRIBUTE_TRANSFORMS[attr.name.name](attr), state);\n        utils.move(attr.value.range[1], state);\n        if (!isLast) {\n          utils.append(',', state);\n        }\n      } else if (attr.value.type === Syntax.Literal) {\n        renderXJSLiteral(attr.value, isLast, state);\n      } else {\n        renderXJSExpressionContainer(traverse, attr.value, isLast, path, state);\n      }\n    }\n\n    if (isLast) {\n      utils.append('}', state);\n    }\n\n    utils.catchup(attr.range[1], state);\n  });\n\n  if (!object.selfClosing) {\n    utils.catchup(object.openingElement.range[1] - 1, state);\n    utils.move(object.openingElement.range[1], state);\n  }\n\n  // filter out whitespace\n  if (childrenToRender.length > 0) {\n    utils.append(', ', state);\n\n    object.children.forEach(function(child) {\n      if (child.type === Syntax.Literal && !child.value.match(/\\S/)) {\n        return;\n      }\n      utils.catchup(child.range[0], state);\n\n      var isLast = child === childrenToRender[childrenToRender.length - 1];\n\n      if (child.type === Syntax.Literal) {\n        renderXJSLiteral(child, isLast, state);\n      } else if (child.type === Syntax.XJSExpressionContainer) {\n        renderXJSExpressionContainer(traverse, child, isLast, path, state);\n      } else {\n        traverse(child, path, state);\n        if (!isLast) {\n          utils.append(',', state);\n          state.g.buffer = state.g.buffer.replace(/(\\s*),$/, ',$1');\n        }\n      }\n\n      utils.catchup(child.range[1], state);\n    });\n  }\n\n  if (object.selfClosing) {\n    // everything up to />\n    utils.catchup(object.openingElement.range[1] - 2, state);\n    utils.move(object.openingElement.range[1], state);\n  } else {\n    // everything up to </ sdflksjfd>\n    utils.catchup(object.closingElement.range[0], state);\n    utils.move(object.closingElement.range[1], state);\n  }\n\n  utils.append(')', state);\n  return false;\n}\n\nvisitReactTag.test = function(object, path, state) {\n  // only run react when react @jsx namespace is specified in docblock\n  var jsx = utils.getDocblock(state).jsx;\n  return object.type === Syntax.XJSElement && jsx && jsx.length;\n};\n\nexports.visitReactTag = visitReactTag;\n\n},{\"./xjs\":24,\"esprima-fb\":5,\"jstransform/src/utils\":19}],23:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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/*global exports:true*/\n\"use strict\";\n\nvar Syntax = require('esprima-fb').Syntax;\nvar utils = require('jstransform/src/utils');\n\n/**\n * Transforms the following:\n *\n * var MyComponent = React.createClass({\n *    render: ...\n * });\n *\n * into:\n *\n * var MyComponent = React.createClass({\n *    displayName: 'MyComponent',\n *    render: ...\n * });\n */\nfunction visitReactDisplayName(traverse, object, path, state) {\n  if (object.id.type === Syntax.Identifier &&\n      object.init &&\n      object.init.type === Syntax.CallExpression &&\n      object.init.callee.type === Syntax.MemberExpression &&\n      object.init.callee.object.type === Syntax.Identifier &&\n      object.init.callee.object.name === 'React' &&\n      object.init.callee.property.type === Syntax.Identifier &&\n      object.init.callee.property.name === 'createClass' &&\n      object.init['arguments'].length === 1 &&\n      object.init['arguments'][0].type === Syntax.ObjectExpression) {\n\n    var displayName = object.id.name;\n    utils.catchup(object.init['arguments'][0].range[0] + 1, state);\n    utils.append(\"displayName: '\" + displayName + \"',\", state);\n  }\n}\n\n/**\n * Will only run on @jsx files for now.\n */\nvisitReactDisplayName.test = function(object, path, state) {\n  return object.type === Syntax.VariableDeclarator && !!utils.getDocblock(state).jsx;\n};\n\nexports.visitReactDisplayName = visitReactDisplayName;\n\n},{\"esprima-fb\":5,\"jstransform/src/utils\":19}],24:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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/*global exports:true*/\n\"use strict\";\nvar append = require('jstransform/src/utils').append;\nvar catchup = require('jstransform/src/utils').catchup;\nvar move = require('jstransform/src/utils').move;\nvar Syntax = require('esprima-fb').Syntax;\n\nvar knownTags = {\n  a: true,\n  abbr: true,\n  address: true,\n  applet: true,\n  area: true,\n  article: true,\n  aside: true,\n  audio: true,\n  b: true,\n  base: true,\n  bdi: true,\n  bdo: true,\n  big: true,\n  blockquote: true,\n  body: true,\n  br: true,\n  button: true,\n  canvas: true,\n  caption: true,\n  circle: true,\n  cite: true,\n  code: true,\n  col: true,\n  colgroup: true,\n  command: true,\n  data: true,\n  datalist: true,\n  dd: true,\n  del: true,\n  details: true,\n  dfn: true,\n  dialog: true,\n  div: true,\n  dl: true,\n  dt: true,\n  ellipse: true,\n  em: true,\n  embed: true,\n  fieldset: true,\n  figcaption: true,\n  figure: true,\n  footer: true,\n  form: true,\n  g: true,\n  h1: true,\n  h2: true,\n  h3: true,\n  h4: true,\n  h5: true,\n  h6: true,\n  head: true,\n  header: true,\n  hgroup: true,\n  hr: true,\n  html: true,\n  i: true,\n  iframe: true,\n  img: true,\n  input: true,\n  ins: true,\n  kbd: true,\n  keygen: true,\n  label: true,\n  legend: true,\n  li: true,\n  line: true,\n  link: true,\n  main: true,\n  map: true,\n  mark: true,\n  marquee: true,\n  menu: true,\n  menuitem: true,\n  meta: true,\n  meter: true,\n  nav: true,\n  noscript: true,\n  object: true,\n  ol: true,\n  optgroup: true,\n  option: true,\n  output: true,\n  p: true,\n  param: true,\n  path: true,\n  polyline: true,\n  pre: true,\n  progress: true,\n  q: true,\n  rect: true,\n  rp: true,\n  rt: true,\n  ruby: true,\n  s: true,\n  samp: true,\n  script: true,\n  section: true,\n  select: true,\n  small: true,\n  source: true,\n  span: true,\n  strong: true,\n  style: true,\n  sub: true,\n  summary: true,\n  sup: true,\n  svg: true,\n  table: true,\n  tbody: true,\n  td: true,\n  text: true,\n  textarea: true,\n  tfoot: true,\n  th: true,\n  thead: true,\n  time: true,\n  title: true,\n  tr: true,\n  track: true,\n  u: true,\n  ul: true,\n  'var': true,\n  video: true,\n  wbr: true\n};\n\nfunction safeTrim(string) {\n  return string.replace(/^[ \\t]+/, '').replace(/[ \\t]+$/, '');\n}\n\n// Replace all trailing whitespace characters with a single space character\nfunction trimWithSingleSpace(string) {\n  return string.replace(/^[ \\t\\xA0]{2,}/, ' ').\n    replace(/[ \\t\\xA0]{2,}$/, ' ').replace(/^\\s+$/, '');\n}\n\n/**\n * Special handling for multiline string literals\n * print lines:\n *\n *   line\n *   line\n *\n * as:\n *\n *   \"line \"+\n *   \"line\"\n */\nfunction renderXJSLiteral(object, isLast, state, start, end) {\n  /** Added blank check filtering and triming*/\n  var trimmedChildValue = safeTrim(object.value);\n  var hasFinalNewLine = false;\n\n  if (trimmedChildValue) {\n    // head whitespace\n    append(object.value.match(/^[\\t ]*/)[0], state);\n    if (start) {\n      append(start, state);\n    }\n\n    var trimmedChildValueWithSpace = trimWithSingleSpace(object.value);\n\n    /**\n     */\n    var initialLines = trimmedChildValue.split(/\\r\\n|\\n|\\r/);\n\n    var lines = initialLines.filter(function(line) {\n      return safeTrim(line).length > 0;\n    });\n\n    var hasInitialNewLine = initialLines[0] !== lines[0];\n    hasFinalNewLine =\n      initialLines[initialLines.length - 1] !== lines[lines.length - 1];\n\n    var numLines = lines.length;\n    lines.forEach(function (line, ii) {\n      var lastLine = ii === numLines - 1;\n      var trimmedLine = safeTrim(line);\n      if (trimmedLine === '' && !lastLine) {\n        append(line, state);\n      } else {\n        var preString = '';\n        var postString = '';\n        var leading = line.match(/^[ \\t]*/)[0];\n\n        if (ii === 0) {\n          if (hasInitialNewLine) {\n            preString = ' ';\n            leading = '\\n' + leading;\n          }\n          if (trimmedChildValueWithSpace.substring(0, 1) === ' ') {\n            // If this is the first line, and the original content starts with\n            // whitespace, place a single space at the beginning.\n            preString = ' ';\n          }\n        }\n        if (!lastLine || trimmedChildValueWithSpace.substr(\n             trimmedChildValueWithSpace.length - 1, 1) === ' ' ||\n             hasFinalNewLine\n             ) {\n          // If either not on the last line, or the original content ends with\n          // whitespace, place a single character at the end.\n          postString = ' ';\n        }\n\n        append(\n          leading +\n          JSON.stringify(\n            preString + trimmedLine + postString\n          ) +\n          (lastLine ? '' : '+') +\n          line.match(/[ \\t]*$/)[0],\n          state);\n      }\n      if (!lastLine) {\n        append('\\n', state);\n      }\n    });\n  } else {\n    if (start) {\n      append(start, state);\n    }\n    append('\"\"', state);\n  }\n  if (end) {\n    append(end, state);\n  }\n\n  // add comma before trailing whitespace\n  if (!isLast) {\n    append(',', state);\n  }\n\n  // tail whitespace\n  if (hasFinalNewLine) {\n    append('\\n', state);\n  }\n  append(object.value.match(/[ \\t]*$/)[0], state);\n  move(object.range[1], state);\n}\n\nfunction renderXJSExpressionContainer(traverse, object, isLast, path, state) {\n  // Plus 1 to skip `{`.\n  move(object.range[0] + 1, state);\n  traverse(object.expression, path, state);\n  if (!isLast && object.expression.type !== Syntax.XJSEmptyExpression) {\n    // If we need to append a comma, make sure to do so after the expression.\n    catchup(object.expression.range[1], state);\n    append(',', state);\n  }\n\n  // Minus 1 to skip `}`.\n  catchup(object.range[1] - 1, state);\n  move(object.range[1], state);\n  return false;\n}\n\nfunction quoteAttrName(attr) {\n  // Quote invalid JS identifiers.\n  if (!/^[a-z_$][a-z\\d_$]*$/i.test(attr)) {\n    return \"'\" + attr + \"'\";\n  }\n  return attr;\n}\n\nexports.knownTags = knownTags;\nexports.renderXJSExpressionContainer = renderXJSExpressionContainer;\nexports.renderXJSLiteral = renderXJSLiteral;\nexports.quoteAttrName = quoteAttrName;\n\n},{\"esprima-fb\":5,\"jstransform/src/utils\":19}],25:[function(require,module,exports){\n/*global exports:true*/\nvar es6Classes = require('jstransform/visitors/es6-class-visitors').visitorList;\nvar react = require('./transforms/react');\nvar reactDisplayName = require('./transforms/reactDisplayName');\n\n/**\n * Map from transformName => orderedListOfVisitors.\n */\nvar transformVisitors = {\n  'es6-classes': es6Classes,\n  'react': [\n    react.visitReactTag,\n    reactDisplayName.visitReactDisplayName\n  ]\n};\n\n/**\n * Specifies the order in which each transform should run.\n */\nvar transformRunOrder = [\n  'es6-classes',\n  'react'\n];\n\n/**\n * Given a list of transform names, return the ordered list of visitors to be\n * passed to the transform() function.\n *\n * @param {array?} excludes\n * @return {array}\n */\nfunction getVisitorsList(excludes) {\n  var ret = [];\n  for (var i = 0, il = transformRunOrder.length; i < il; i++) {\n    if (!excludes || excludes.indexOf(transformRunOrder[i]) === -1) {\n      ret = ret.concat(transformVisitors[transformRunOrder[i]]);\n    }\n  }\n  return ret;\n}\n\nexports.getVisitorsList = getVisitorsList;\nexports.transformVisitors = transformVisitors;\n\n},{\"./transforms/react\":22,\"./transforms/reactDisplayName\":23,\"jstransform/visitors/es6-class-visitors\":20}]},{},[21])\n(21)\n});\n;"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/build/react-with-addons.js",
    "content": "/**\n * React (with addons) v0.8.0\n */\n!function(e){\"object\"==typeof exports?module.exports=e():\"function\"==typeof define&&define.amd?define(e):\"undefined\"!=typeof window?window.React=e():\"undefined\"!=typeof global?global.React=e():\"undefined\"!=typeof self&&(self.React=e())}(function(){var define,module,exports;return (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);throw new Error(\"Cannot find module '\"+o+\"'\")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.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(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule $\n * @typechecks\n */\n\nvar ge = require(\"./ge\");\nvar ex = require(\"./ex\");\n\n/**\n * Find a node by ID.\n *\n * If your application code depends on the existence of the element, use $,\n * which will throw if the element doesn't exist.\n *\n * If you're not sure whether or not the element exists, use ge instead, and\n * manually check for the element's existence in your application code.\n *\n * @param {string|DOMDocument|DOMElement|DOMTextNode|Comment} id\n * @return {DOMDocument|DOMElement|DOMTextNode|Comment}\n */\nfunction $(id) {\n  var element = ge(id);\n  if (!element) {\n    throw new Error(ex(\n      'Tried to get element with id of \"%s\" but it is not present on the page.',\n      id\n    ));\n  }\n  return element;\n}\n\nmodule.exports = $;\n\n},{\"./ex\":96,\"./ge\":100}],2:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CSSCore\n * @typechecks\n */\n\nvar invariant = require(\"./invariant\");\n\n/**\n * The CSSCore module specifies the API (and implements most of the methods)\n * that should be used when dealing with the display of elements (via their\n * CSS classes and visibility on screeni. It is an API focused on mutating the\n * display and not reading it as no logical state should be encoded in the\n * display of elements.\n */\n\n/**\n * Tests whether the element has the class specified.\n *\n * Note: This function is not exported in CSSCore because CSS classNames should\n * not store any logical information about the element. Use DataStore to store\n * information on an element.\n *\n * @param {DOMElement} element the element to set the class on\n * @param {string} className the CSS className\n * @returns {boolean} true if the element has the class, false if not\n */\nfunction hasClass(element, className) {\n  if (element.classList) {\n    return !!className && element.classList.contains(className);\n  }\n  return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1;\n}\n\nvar CSSCore = {\n\n  /**\n   * Adds the class passed in to the element if it doesn't already have it.\n   *\n   * @param {DOMElement} element the element to set the class on\n   * @param {string} className the CSS className\n   * @return {DOMElement} the element passed in\n   */\n  addClass: function(element, className) {\n    (\"production\" !== \"development\" ? invariant(\n      !/\\s/.test(className),\n      'CSSCore.addClass takes only a single class name. \"%s\" contains ' +\n      'multiple classes.', className\n    ) : invariant(!/\\s/.test(className)));\n\n    if (className) {\n      if (element.classList) {\n        element.classList.add(className);\n      } else if (!hasClass(element, className)) {\n        element.className = element.className + ' ' + className;\n      }\n    }\n    return element;\n  },\n\n  /**\n   * Removes the class passed in from the element\n   *\n   * @param {DOMElement} element the element to set the class on\n   * @param {string} className the CSS className\n   * @return {DOMElement} the element passed in\n   */\n  removeClass: function(element, className) {\n    (\"production\" !== \"development\" ? invariant(\n      !/\\s/.test(className),\n      'CSSCore.removeClass takes only a single class name. \"%s\" contains ' +\n      'multiple classes.', className\n    ) : invariant(!/\\s/.test(className)));\n\n    if (className) {\n      if (element.classList) {\n        element.classList.remove(className);\n      } else if (hasClass(element, className)) {\n        element.className = element.className\n          .replace(new RegExp('(^|\\\\s)' + className + '(?:\\\\s|$)', 'g'), '$1')\n          .replace(/\\s+/g, ' ') // multiple spaces to one\n          .replace(/^\\s*|\\s*$/g, ''); // trim the ends\n      }\n    }\n    return element;\n  },\n\n  /**\n   * Helper to add or remove a class from an element based on a condition.\n   *\n   * @param {DOMElement} element the element to set the class on\n   * @param {string} className the CSS className\n   * @param {*} bool condition to whether to add or remove the class\n   * @return {DOMElement} the element passed in\n   */\n  conditionClass: function(element, className, bool) {\n    return (bool ? CSSCore.addClass : CSSCore.removeClass)(element, className);\n  }\n};\n\nmodule.exports = CSSCore;\n\n},{\"./invariant\":109}],3:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CSSProperty\n */\n\n\"use strict\";\n\n/**\n * CSS properties which accept numbers but are not in units of \"px\".\n */\nvar isUnitlessNumber = {\n  fillOpacity: true,\n  fontWeight: true,\n  lineHeight: true,\n  opacity: true,\n  orphans: true,\n  zIndex: true,\n  zoom: true\n};\n\n/**\n * Most style properties can be unset by doing .style[prop] = '' but IE8\n * doesn't like doing that with shorthand properties so for the properties that\n * IE8 breaks on, which are listed here, we instead unset each of the\n * individual properties. See http://bugs.jquery.com/ticket/12385.\n * The 4-value 'clock' properties like margin, padding, border-width seem to\n * behave without any problems. Curiously, list-style works too without any\n * special prodding.\n */\nvar shorthandPropertyExpansions = {\n  background: {\n    backgroundImage: true,\n    backgroundPosition: true,\n    backgroundRepeat: true,\n    backgroundColor: true\n  },\n  border: {\n    borderWidth: true,\n    borderStyle: true,\n    borderColor: true\n  },\n  borderBottom: {\n    borderBottomWidth: true,\n    borderBottomStyle: true,\n    borderBottomColor: true\n  },\n  borderLeft: {\n    borderLeftWidth: true,\n    borderLeftStyle: true,\n    borderLeftColor: true\n  },\n  borderRight: {\n    borderRightWidth: true,\n    borderRightStyle: true,\n    borderRightColor: true\n  },\n  borderTop: {\n    borderTopWidth: true,\n    borderTopStyle: true,\n    borderTopColor: true\n  },\n  font: {\n    fontStyle: true,\n    fontVariant: true,\n    fontWeight: true,\n    fontSize: true,\n    lineHeight: true,\n    fontFamily: true\n  }\n};\n\nvar CSSProperty = {\n  isUnitlessNumber: isUnitlessNumber,\n  shorthandPropertyExpansions: shorthandPropertyExpansions\n};\n\nmodule.exports = CSSProperty;\n\n},{}],4:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CSSPropertyOperations\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar CSSProperty = require(\"./CSSProperty\");\n\nvar dangerousStyleValue = require(\"./dangerousStyleValue\");\nvar escapeTextForBrowser = require(\"./escapeTextForBrowser\");\nvar hyphenate = require(\"./hyphenate\");\nvar memoizeStringOnly = require(\"./memoizeStringOnly\");\n\nvar processStyleName = memoizeStringOnly(function(styleName) {\n  return escapeTextForBrowser(hyphenate(styleName));\n});\n\n/**\n * Operations for dealing with CSS properties.\n */\nvar CSSPropertyOperations = {\n\n  /**\n   * Serializes a mapping of style properties for use as inline styles:\n   *\n   *   > createMarkupForStyles({width: '200px', height: 0})\n   *   \"width:200px;height:0;\"\n   *\n   * Undefined values are ignored so that declarative programming is easier.\n   *\n   * @param {object} styles\n   * @return {?string}\n   */\n  createMarkupForStyles: function(styles) {\n    var serialized = '';\n    for (var styleName in styles) {\n      if (!styles.hasOwnProperty(styleName)) {\n        continue;\n      }\n      var styleValue = styles[styleName];\n      if (styleValue != null) {\n        serialized += processStyleName(styleName) + ':';\n        serialized += dangerousStyleValue(styleName, styleValue) + ';';\n      }\n    }\n    return serialized || null;\n  },\n\n  /**\n   * Sets the value for multiple styles on a node.  If a value is specified as\n   * '' (empty string), the corresponding style property will be unset.\n   *\n   * @param {DOMElement} node\n   * @param {object} styles\n   */\n  setValueForStyles: function(node, styles) {\n    var style = node.style;\n    for (var styleName in styles) {\n      if (!styles.hasOwnProperty(styleName)) {\n        continue;\n      }\n      var styleValue = dangerousStyleValue(styleName, styles[styleName]);\n      if (styleValue) {\n        style[styleName] = styleValue;\n      } else {\n        var expansion = CSSProperty.shorthandPropertyExpansions[styleName];\n        if (expansion) {\n          // Shorthand property that IE8 won't like unsetting, so unset each\n          // component to placate it\n          for (var individualStyleName in expansion) {\n            style[individualStyleName] = '';\n          }\n        } else {\n          style[styleName] = '';\n        }\n      }\n    }\n  }\n\n};\n\nmodule.exports = CSSPropertyOperations;\n\n},{\"./CSSProperty\":3,\"./dangerousStyleValue\":93,\"./escapeTextForBrowser\":95,\"./hyphenate\":108,\"./memoizeStringOnly\":117}],5:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CallbackRegistry\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar listenerBank = {};\n\n/**\n * Stores \"listeners\" by `registrationName`/`id`. There should be at most one\n * \"listener\" per `registrationName`/`id` in the `listenerBank`.\n *\n * Access listeners via `listenerBank[registrationName][id]`.\n *\n * @class CallbackRegistry\n * @internal\n */\nvar CallbackRegistry = {\n\n  /**\n   * Stores `listener` at `listenerBank[registrationName][id]`. Is idempotent.\n   *\n   * @param {string} id ID of the DOM element.\n   * @param {string} registrationName Name of listener (e.g. `onClick`).\n   * @param {?function} listener The callback to store.\n   */\n  putListener: function(id, registrationName, listener) {\n    var bankForRegistrationName =\n      listenerBank[registrationName] || (listenerBank[registrationName] = {});\n    bankForRegistrationName[id] = listener;\n  },\n\n  /**\n   * @param {string} id ID of the DOM element.\n   * @param {string} registrationName Name of listener (e.g. `onClick`).\n   * @return {?function} The stored callback.\n   */\n  getListener: function(id, registrationName) {\n    var bankForRegistrationName = listenerBank[registrationName];\n    return bankForRegistrationName && bankForRegistrationName[id];\n  },\n\n  /**\n   * Deletes a listener from the registration bank.\n   *\n   * @param {string} id ID of the DOM element.\n   * @param {string} registrationName Name of listener (e.g. `onClick`).\n   */\n  deleteListener: function(id, registrationName) {\n    var bankForRegistrationName = listenerBank[registrationName];\n    if (bankForRegistrationName) {\n      delete bankForRegistrationName[id];\n    }\n  },\n\n  /**\n   * Deletes all listeners for the DOM element with the supplied ID.\n   *\n   * @param {string} id ID of the DOM element.\n   */\n  deleteAllListeners: function(id) {\n    for (var registrationName in listenerBank) {\n      delete listenerBank[registrationName][id];\n    }\n  },\n\n  /**\n   * This is needed for tests only. Do not use!\n   */\n  __purge: function() {\n    listenerBank = {};\n  }\n\n};\n\nmodule.exports = CallbackRegistry;\n\n},{}],6:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ChangeEventPlugin\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\nvar isEventSupported = require(\"./isEventSupported\");\nvar isTextInputElement = require(\"./isTextInputElement\");\nvar keyOf = require(\"./keyOf\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n  change: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onChange: null}),\n      captured: keyOf({onChangeCapture: null})\n    }\n  }\n};\n\n/**\n * For IE shims\n */\nvar activeElement = null;\nvar activeElementID = null;\nvar activeElementValue = null;\nvar activeElementValueProp = null;\n\n/**\n * SECTION: handle `change` event\n */\nfunction shouldUseChangeEvent(elem) {\n  return (\n    elem.nodeName === 'SELECT' ||\n    (elem.nodeName === 'INPUT' && elem.type === 'file')\n  );\n}\n\nvar doesChangeEventBubble = false;\nif (ExecutionEnvironment.canUseDOM) {\n  // See `handleChange` comment below\n  doesChangeEventBubble = isEventSupported('change') && (\n    !('documentMode' in document) || document.documentMode > 8\n  );\n}\n\nfunction manualDispatchChangeEvent(nativeEvent) {\n  var event = SyntheticEvent.getPooled(\n    eventTypes.change,\n    activeElementID,\n    nativeEvent\n  );\n  EventPropagators.accumulateTwoPhaseDispatches(event);\n\n  // If change bubbled, we'd just bind to it like all the other events\n  // and have it go through ReactEventTopLevelCallback. Since it doesn't, we\n  // manually listen for the change event and so we have to enqueue and\n  // process the abstract event manually.\n  EventPluginHub.enqueueEvents(event);\n  EventPluginHub.processEventQueue();\n}\n\nfunction startWatchingForChangeEventIE8(target, targetID) {\n  activeElement = target;\n  activeElementID = targetID;\n  activeElement.attachEvent('onchange', manualDispatchChangeEvent);\n}\n\nfunction stopWatchingForChangeEventIE8() {\n  if (!activeElement) {\n    return;\n  }\n  activeElement.detachEvent('onchange', manualDispatchChangeEvent);\n  activeElement = null;\n  activeElementID = null;\n}\n\nfunction getTargetIDForChangeEvent(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topChange) {\n    return topLevelTargetID;\n  }\n}\nfunction handleEventsForChangeEventIE8(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topFocus) {\n    // stopWatching() should be a noop here but we call it just in case we\n    // missed a blur event somehow.\n    stopWatchingForChangeEventIE8();\n    startWatchingForChangeEventIE8(topLevelTarget, topLevelTargetID);\n  } else if (topLevelType === topLevelTypes.topBlur) {\n    stopWatchingForChangeEventIE8();\n  }\n}\n\n\n/**\n * SECTION: handle `input` event\n */\nvar isInputEventSupported = false;\nif (ExecutionEnvironment.canUseDOM) {\n  // IE9 claims to support the input event but fails to trigger it when\n  // deleting text, so we ignore its input events\n  isInputEventSupported = isEventSupported('input') && (\n    !('documentMode' in document) || document.documentMode > 9\n  );\n}\n\n/**\n * (For old IE.) Replacement getter/setter for the `value` property that gets\n * set on the active element.\n */\nvar newValueProp =  {\n  get: function() {\n    return activeElementValueProp.get.call(this);\n  },\n  set: function(val) {\n    // Cast to a string so we can do equality checks.\n    activeElementValue = '' + val;\n    activeElementValueProp.set.call(this, val);\n  }\n};\n\n/**\n * (For old IE.) Starts tracking propertychange events on the passed-in element\n * and override the value property so that we can distinguish user events from\n * value changes in JS.\n */\nfunction startWatchingForValueChange(target, targetID) {\n  activeElement = target;\n  activeElementID = targetID;\n  activeElementValue = target.value;\n  activeElementValueProp = Object.getOwnPropertyDescriptor(\n    target.constructor.prototype,\n    'value'\n  );\n\n  Object.defineProperty(activeElement, 'value', newValueProp);\n  activeElement.attachEvent('onpropertychange', handlePropertyChange);\n}\n\n/**\n * (For old IE.) Removes the event listeners from the currently-tracked element,\n * if any exists.\n */\nfunction stopWatchingForValueChange() {\n  if (!activeElement) {\n    return;\n  }\n\n  // delete restores the original property definition\n  delete activeElement.value;\n  activeElement.detachEvent('onpropertychange', handlePropertyChange);\n\n  activeElement = null;\n  activeElementID = null;\n  activeElementValue = null;\n  activeElementValueProp = null;\n}\n\n/**\n * (For old IE.) Handles a propertychange event, sending a `change` event if\n * the value of the active element has changed.\n */\nfunction handlePropertyChange(nativeEvent) {\n  if (nativeEvent.propertyName !== 'value') {\n    return;\n  }\n  var value = nativeEvent.srcElement.value;\n  if (value === activeElementValue) {\n    return;\n  }\n  activeElementValue = value;\n\n  manualDispatchChangeEvent(nativeEvent);\n}\n\n/**\n * If a `change` event should be fired, returns the target's ID.\n */\nfunction getTargetIDForInputEvent(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topInput) {\n    // In modern browsers (i.e., not IE8 or IE9), the input event is exactly\n    // what we want so fall through here and trigger an abstract event\n    return topLevelTargetID;\n  }\n}\n\n// For IE8 and IE9.\nfunction handleEventsForInputEventIE(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topFocus) {\n    // In IE8, we can capture almost all .value changes by adding a\n    // propertychange handler and looking for events with propertyName\n    // equal to 'value'\n    // In IE9, propertychange fires for most input events but is buggy and\n    // doesn't fire when text is deleted, but conveniently, selectionchange\n    // appears to fire in all of the remaining cases so we catch those and\n    // forward the event if the value has changed\n    // In either case, we don't want to call the event handler if the value\n    // is changed from JS so we redefine a setter for `.value` that updates\n    // our activeElementValue variable, allowing us to ignore those changes\n    //\n    // stopWatching() should be a noop here but we call it just in case we\n    // missed a blur event somehow.\n    stopWatchingForValueChange();\n    startWatchingForValueChange(topLevelTarget, topLevelTargetID);\n  } else if (topLevelType === topLevelTypes.topBlur) {\n    stopWatchingForValueChange();\n  }\n}\n\n// For IE8 and IE9.\nfunction getTargetIDForInputEventIE(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topSelectionChange ||\n      topLevelType === topLevelTypes.topKeyUp ||\n      topLevelType === topLevelTypes.topKeyDown) {\n    // On the selectionchange event, the target is just document which isn't\n    // helpful for us so just check activeElement instead.\n    //\n    // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire\n    // propertychange on the first input event after setting `value` from a\n    // script and fires only keydown, keypress, keyup. Catching keyup usually\n    // gets it and catching keydown lets us fire an event for the first\n    // keystroke if user does a key repeat (it'll be a little delayed: right\n    // before the second keystroke). Other input methods (e.g., paste) seem to\n    // fire selectionchange normally.\n    if (activeElement && activeElement.value !== activeElementValue) {\n      activeElementValue = activeElement.value;\n      return activeElementID;\n    }\n  }\n}\n\n\n/**\n * SECTION: handle `click` event\n */\nfunction shouldUseClickEvent(elem) {\n  // Use the `click` event to detect changes to checkbox and radio inputs.\n  // This approach works across all browsers, whereas `change` does not fire\n  // until `blur` in IE8.\n  return (\n    elem.nodeName === 'INPUT' &&\n    (elem.type === 'checkbox' || elem.type === 'radio')\n  );\n}\n\nfunction getTargetIDForClickEvent(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topClick) {\n    return topLevelTargetID;\n  }\n}\n\n/**\n * This plugin creates an `onChange` event that normalizes change events\n * across form elements. This event fires at a time when it's possible to\n * change the element's value without seeing a flicker.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - select\n */\nvar ChangeEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n\n    var getTargetIDFunc, handleEventFunc;\n    if (shouldUseChangeEvent(topLevelTarget)) {\n      if (doesChangeEventBubble) {\n        getTargetIDFunc = getTargetIDForChangeEvent;\n      } else {\n        handleEventFunc = handleEventsForChangeEventIE8;\n      }\n    } else if (isTextInputElement(topLevelTarget)) {\n      if (isInputEventSupported) {\n        getTargetIDFunc = getTargetIDForInputEvent;\n      } else {\n        getTargetIDFunc = getTargetIDForInputEventIE;\n        handleEventFunc = handleEventsForInputEventIE;\n      }\n    } else if (shouldUseClickEvent(topLevelTarget)) {\n      getTargetIDFunc = getTargetIDForClickEvent;\n    }\n\n    if (getTargetIDFunc) {\n      var targetID = getTargetIDFunc(\n        topLevelType,\n        topLevelTarget,\n        topLevelTargetID\n      );\n      if (targetID) {\n        var event = SyntheticEvent.getPooled(\n          eventTypes.change,\n          targetID,\n          nativeEvent\n        );\n        EventPropagators.accumulateTwoPhaseDispatches(event);\n        return event;\n      }\n    }\n\n    if (handleEventFunc) {\n      handleEventFunc(\n        topLevelType,\n        topLevelTarget,\n        topLevelTargetID\n      );\n    }\n  }\n\n};\n\nmodule.exports = ChangeEventPlugin;\n\n},{\"./EventConstants\":15,\"./EventPluginHub\":17,\"./EventPropagators\":20,\"./ExecutionEnvironment\":21,\"./SyntheticEvent\":76,\"./isEventSupported\":110,\"./isTextInputElement\":112,\"./keyOf\":116}],7:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CompositionEventPlugin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar ReactInputSelection = require(\"./ReactInputSelection\");\nvar SyntheticCompositionEvent = require(\"./SyntheticCompositionEvent\");\n\nvar getTextContentAccessor = require(\"./getTextContentAccessor\");\nvar keyOf = require(\"./keyOf\");\n\nvar END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space\nvar START_KEYCODE = 229;\n\nvar useCompositionEvent = ExecutionEnvironment.canUseDOM &&\n  'CompositionEvent' in window;\nvar topLevelTypes = EventConstants.topLevelTypes;\nvar currentComposition = null;\n\n// Events and their corresponding property names.\nvar eventTypes = {\n  compositionEnd: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCompositionEnd: null}),\n      captured: keyOf({onCompositionEndCapture: null})\n    }\n  },\n  compositionStart: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCompositionStart: null}),\n      captured: keyOf({onCompositionStartCapture: null})\n    }\n  },\n  compositionUpdate: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCompositionUpdate: null}),\n      captured: keyOf({onCompositionUpdateCapture: null})\n    }\n  }\n};\n\n/**\n * Translate native top level events into event types.\n *\n * @param {string} topLevelType\n * @return {object}\n */\nfunction getCompositionEventType(topLevelType) {\n  switch (topLevelType) {\n    case topLevelTypes.topCompositionStart:\n      return eventTypes.compositionStart;\n    case topLevelTypes.topCompositionEnd:\n      return eventTypes.compositionEnd;\n    case topLevelTypes.topCompositionUpdate:\n      return eventTypes.compositionUpdate;\n  }\n}\n\n/**\n * Does our fallback best-guess model think this event signifies that\n * composition has begun?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackStart(topLevelType, nativeEvent) {\n  return (\n    topLevelType === topLevelTypes.topKeyDown &&\n    nativeEvent.keyCode === START_KEYCODE\n  );\n}\n\n/**\n * Does our fallback mode think that this event is the end of composition?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackEnd(topLevelType, nativeEvent) {\n  switch (topLevelType) {\n    case topLevelTypes.topKeyUp:\n      // Command keys insert or clear IME input.\n      return (END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1);\n    case topLevelTypes.topKeyDown:\n      // Expect IME keyCode on each keydown. If we get any other\n      // code we must have exited earlier.\n      return (nativeEvent.keyCode !== START_KEYCODE);\n    case topLevelTypes.topKeyPress:\n    case topLevelTypes.topMouseDown:\n    case topLevelTypes.topBlur:\n      // Events are not possible without cancelling IME.\n      return true;\n    default:\n      return false;\n  }\n}\n\n/**\n * Helper class stores information about selection and document state\n * so we can figure out what changed at a later date.\n *\n * @param {DOMEventTarget} root\n */\nfunction FallbackCompositionState(root) {\n  this.root = root;\n  this.startSelection = ReactInputSelection.getSelection(root);\n  this.startValue = this.getText();\n}\n\n/**\n * Get current text of input.\n *\n * @return {string}\n */\nFallbackCompositionState.prototype.getText = function() {\n  return this.root.value || this.root[getTextContentAccessor()];\n};\n\n/**\n * Text that has changed since the start of composition.\n *\n * @return {string}\n */\nFallbackCompositionState.prototype.getData = function() {\n  var endValue = this.getText();\n  var prefixLength = this.startSelection.start;\n  var suffixLength = this.startValue.length - this.startSelection.end;\n\n  return endValue.substr(\n    prefixLength,\n    endValue.length - suffixLength - prefixLength\n  );\n};\n\n/**\n * This plugin creates `onCompositionStart`, `onCompositionUpdate` and\n * `onCompositionEnd` events on inputs, textareas and contentEditable\n * nodes.\n */\nvar CompositionEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n\n    var eventType;\n    var data;\n\n    if (useCompositionEvent) {\n      eventType = getCompositionEventType(topLevelType);\n    } else if (!currentComposition) {\n      if (isFallbackStart(topLevelType, nativeEvent)) {\n        eventType = eventTypes.start;\n        currentComposition = new FallbackCompositionState(topLevelTarget);\n      }\n    } else if (isFallbackEnd(topLevelType, nativeEvent)) {\n      eventType = eventTypes.compositionEnd;\n      data = currentComposition.getData();\n      currentComposition = null;\n    }\n\n    if (eventType) {\n      var event = SyntheticCompositionEvent.getPooled(\n        eventType,\n        topLevelTargetID,\n        nativeEvent\n      );\n      if (data) {\n        // Inject data generated from fallback path into the synthetic event.\n        // This matches the property of native CompositionEventInterface.\n        event.data = data;\n      }\n      EventPropagators.accumulateTwoPhaseDispatches(event);\n      return event;\n    }\n  }\n};\n\nmodule.exports = CompositionEventPlugin;\n\n},{\"./EventConstants\":15,\"./EventPropagators\":20,\"./ExecutionEnvironment\":21,\"./ReactInputSelection\":50,\"./SyntheticCompositionEvent\":75,\"./getTextContentAccessor\":106,\"./keyOf\":116}],8:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DOMChildrenOperations\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar Danger = require(\"./Danger\");\nvar ReactMultiChildUpdateTypes = require(\"./ReactMultiChildUpdateTypes\");\n\nvar getTextContentAccessor = require(\"./getTextContentAccessor\");\n\n/**\n * The DOM property to use when setting text content.\n *\n * @type {string}\n * @private\n */\nvar textContentAccessor = getTextContentAccessor() || 'NA';\n\n/**\n * Inserts `childNode` as a child of `parentNode` at the `index`.\n *\n * @param {DOMElement} parentNode Parent node in which to insert.\n * @param {DOMElement} childNode Child node to insert.\n * @param {number} index Index at which to insert the child.\n * @internal\n */\nfunction insertChildAt(parentNode, childNode, index) {\n  var childNodes = parentNode.childNodes;\n  if (childNodes[index] === childNode) {\n    return;\n  }\n  // If `childNode` is already a child of `parentNode`, remove it so that\n  // computing `childNodes[index]` takes into account the removal.\n  if (childNode.parentNode === parentNode) {\n    parentNode.removeChild(childNode);\n  }\n  if (index >= childNodes.length) {\n    parentNode.appendChild(childNode);\n  } else {\n    parentNode.insertBefore(childNode, childNodes[index]);\n  }\n}\n\n/**\n * Operations for updating with DOM children.\n */\nvar DOMChildrenOperations = {\n\n  dangerouslyReplaceNodeWithMarkup: Danger.dangerouslyReplaceNodeWithMarkup,\n\n  /**\n   * Updates a component's children by processing a series of updates. The\n   * update configurations are each expected to have a `parentNode` property.\n   *\n   * @param {array<object>} updates List of update configurations.\n   * @param {array<string>} markupList List of markup strings.\n   * @internal\n   */\n  processUpdates: function(updates, markupList) {\n    var update;\n    // Mapping from parent IDs to initial child orderings.\n    var initialChildren = null;\n    // List of children that will be moved or removed.\n    var updatedChildren = null;\n\n    for (var i = 0; update = updates[i]; i++) {\n      if (update.type === ReactMultiChildUpdateTypes.MOVE_EXISTING ||\n          update.type === ReactMultiChildUpdateTypes.REMOVE_NODE) {\n        var updatedIndex = update.fromIndex;\n        var updatedChild = update.parentNode.childNodes[updatedIndex];\n        var parentID = update.parentID;\n\n        initialChildren = initialChildren || {};\n        initialChildren[parentID] = initialChildren[parentID] || [];\n        initialChildren[parentID][updatedIndex] = updatedChild;\n\n        updatedChildren = updatedChildren || [];\n        updatedChildren.push(updatedChild);\n      }\n    }\n\n    var renderedMarkup = Danger.dangerouslyRenderMarkup(markupList);\n\n    // Remove updated children first so that `toIndex` is consistent.\n    if (updatedChildren) {\n      for (var j = 0; j < updatedChildren.length; j++) {\n        updatedChildren[j].parentNode.removeChild(updatedChildren[j]);\n      }\n    }\n\n    for (var k = 0; update = updates[k]; k++) {\n      switch (update.type) {\n        case ReactMultiChildUpdateTypes.INSERT_MARKUP:\n          insertChildAt(\n            update.parentNode,\n            renderedMarkup[update.markupIndex],\n            update.toIndex\n          );\n          break;\n        case ReactMultiChildUpdateTypes.MOVE_EXISTING:\n          insertChildAt(\n            update.parentNode,\n            initialChildren[update.parentID][update.fromIndex],\n            update.toIndex\n          );\n          break;\n        case ReactMultiChildUpdateTypes.TEXT_CONTENT:\n          update.parentNode[textContentAccessor] = update.textContent;\n          break;\n        case ReactMultiChildUpdateTypes.REMOVE_NODE:\n          // Already removed by the for-loop above.\n          break;\n      }\n    }\n  }\n\n};\n\nmodule.exports = DOMChildrenOperations;\n\n},{\"./Danger\":11,\"./ReactMultiChildUpdateTypes\":57,\"./getTextContentAccessor\":106}],9:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DOMProperty\n * @typechecks static-only\n */\n\n/*jslint bitwise: true */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\nvar DOMPropertyInjection = {\n  /**\n   * Mapping from normalized, camelcased property names to a configuration that\n   * specifies how the associated DOM property should be accessed or rendered.\n   */\n  MUST_USE_ATTRIBUTE: 0x1,\n  MUST_USE_PROPERTY: 0x2,\n  HAS_SIDE_EFFECTS: 0x4,\n  HAS_BOOLEAN_VALUE: 0x8,\n  HAS_POSITIVE_NUMERIC_VALUE: 0x10,\n\n  /**\n   * Inject some specialized knowledge about the DOM. This takes a config object\n   * with the following properties:\n   *\n   * isCustomAttribute: function that given an attribute name will return true\n   * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n   * attributes where it's impossible to enumerate all of the possible\n   * attribute names,\n   *\n   * Properties: object mapping DOM property name to one of the\n   * DOMPropertyInjection constants or null. If your attribute isn't in here,\n   * it won't get written to the DOM.\n   *\n   * DOMAttributeNames: object mapping React attribute name to the DOM\n   * attribute name. Attribute names not specified use the **lowercase**\n   * normalized name.\n   *\n   * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n   * Property names not specified use the normalized name.\n   *\n   * DOMMutationMethods: Properties that require special mutation methods. If\n   * `value` is undefined, the mutation method should unset the property.\n   *\n   * @param {object} domPropertyConfig the config as described above.\n   */\n  injectDOMPropertyConfig: function(domPropertyConfig) {\n    var Properties = domPropertyConfig.Properties || {};\n    var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n    var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n    var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\n    if (domPropertyConfig.isCustomAttribute) {\n      DOMProperty._isCustomAttributeFunctions.push(\n        domPropertyConfig.isCustomAttribute\n      );\n    }\n\n    for (var propName in Properties) {\n      (\"production\" !== \"development\" ? invariant(\n        !DOMProperty.isStandardName[propName],\n        'injectDOMPropertyConfig(...): You\\'re trying to inject DOM property ' +\n        '\\'%s\\' which has already been injected. You may be accidentally ' +\n        'injecting the same DOM property config twice, or you may be ' +\n        'injecting two configs that have conflicting property names.',\n        propName\n      ) : invariant(!DOMProperty.isStandardName[propName]));\n\n      DOMProperty.isStandardName[propName] = true;\n\n      var lowerCased = propName.toLowerCase();\n      DOMProperty.getPossibleStandardName[lowerCased] = propName;\n\n      var attributeName = DOMAttributeNames[propName];\n      if (attributeName) {\n        DOMProperty.getPossibleStandardName[attributeName] = propName;\n      }\n\n      DOMProperty.getAttributeName[propName] = attributeName || lowerCased;\n\n      DOMProperty.getPropertyName[propName] =\n        DOMPropertyNames[propName] || propName;\n\n      var mutationMethod = DOMMutationMethods[propName];\n      if (mutationMethod) {\n        DOMProperty.getMutationMethod[propName] = mutationMethod;\n      }\n\n      var propConfig = Properties[propName];\n      DOMProperty.mustUseAttribute[propName] =\n        propConfig & DOMPropertyInjection.MUST_USE_ATTRIBUTE;\n      DOMProperty.mustUseProperty[propName] =\n        propConfig & DOMPropertyInjection.MUST_USE_PROPERTY;\n      DOMProperty.hasSideEffects[propName] =\n        propConfig & DOMPropertyInjection.HAS_SIDE_EFFECTS;\n      DOMProperty.hasBooleanValue[propName] =\n        propConfig & DOMPropertyInjection.HAS_BOOLEAN_VALUE;\n      DOMProperty.hasPositiveNumericValue[propName] =\n        propConfig & DOMPropertyInjection.HAS_POSITIVE_NUMERIC_VALUE;\n\n      (\"production\" !== \"development\" ? invariant(\n        !DOMProperty.mustUseAttribute[propName] ||\n          !DOMProperty.mustUseProperty[propName],\n        'DOMProperty: Cannot require using both attribute and property: %s',\n        propName\n      ) : invariant(!DOMProperty.mustUseAttribute[propName] ||\n        !DOMProperty.mustUseProperty[propName]));\n      (\"production\" !== \"development\" ? invariant(\n        DOMProperty.mustUseProperty[propName] ||\n          !DOMProperty.hasSideEffects[propName],\n        'DOMProperty: Properties that have side effects must use property: %s',\n        propName\n      ) : invariant(DOMProperty.mustUseProperty[propName] ||\n        !DOMProperty.hasSideEffects[propName]));\n      (\"production\" !== \"development\" ? invariant(\n        !DOMProperty.hasBooleanValue[propName] ||\n          !DOMProperty.hasPositiveNumericValue[propName],\n        'DOMProperty: Cannot have both boolean and positive numeric value: %s',\n        propName\n      ) : invariant(!DOMProperty.hasBooleanValue[propName] ||\n        !DOMProperty.hasPositiveNumericValue[propName]));\n    }\n  }\n};\nvar defaultValueCache = {};\n\n/**\n * DOMProperty exports lookup objects that can be used like functions:\n *\n *   > DOMProperty.isValid['id']\n *   true\n *   > DOMProperty.isValid['foobar']\n *   undefined\n *\n * Although this may be confusing, it performs better in general.\n *\n * @see http://jsperf.com/key-exists\n * @see http://jsperf.com/key-missing\n */\nvar DOMProperty = {\n\n  /**\n   * Checks whether a property name is a standard property.\n   * @type {Object}\n   */\n  isStandardName: {},\n\n  /**\n   * Mapping from lowercase property names to the properly cased version, used\n   * to warn in the case of missing properties.\n   * @type {Object}\n   */\n  getPossibleStandardName: {},\n\n  /**\n   * Mapping from normalized names to attribute names that differ. Attribute\n   * names are used when rendering markup or with `*Attribute()`.\n   * @type {Object}\n   */\n  getAttributeName: {},\n\n  /**\n   * Mapping from normalized names to properties on DOM node instances.\n   * (This includes properties that mutate due to external factors.)\n   * @type {Object}\n   */\n  getPropertyName: {},\n\n  /**\n   * Mapping from normalized names to mutation methods. This will only exist if\n   * mutation cannot be set simply by the property or `setAttribute()`.\n   * @type {Object}\n   */\n  getMutationMethod: {},\n\n  /**\n   * Whether the property must be accessed and mutated as an object property.\n   * @type {Object}\n   */\n  mustUseAttribute: {},\n\n  /**\n   * Whether the property must be accessed and mutated using `*Attribute()`.\n   * (This includes anything that fails `<propName> in <element>`.)\n   * @type {Object}\n   */\n  mustUseProperty: {},\n\n  /**\n   * Whether or not setting a value causes side effects such as triggering\n   * resources to be loaded or text selection changes. We must ensure that\n   * the value is only set if it has changed.\n   * @type {Object}\n   */\n  hasSideEffects: {},\n\n  /**\n   * Whether the property should be removed when set to a falsey value.\n   * @type {Object}\n   */\n  hasBooleanValue: {},\n\n  /**\n   * Whether the property must be positive numeric or parse as a positive\n   * numeric and should be removed when set to a falsey value.\n   * @type {Object}\n   */\n  hasPositiveNumericValue: {},\n\n  /**\n   * All of the isCustomAttribute() functions that have been injected.\n   */\n  _isCustomAttributeFunctions: [],\n\n  /**\n   * Checks whether a property name is a custom attribute.\n   * @method\n   */\n  isCustomAttribute: function(attributeName) {\n    return DOMProperty._isCustomAttributeFunctions.some(\n      function(isCustomAttributeFn) {\n        return isCustomAttributeFn.call(null, attributeName);\n      }\n    );\n  },\n\n  /**\n   * Returns the default property value for a DOM property (i.e., not an\n   * attribute). Most default values are '' or false, but not all. Worse yet,\n   * some (in particular, `type`) vary depending on the type of element.\n   *\n   * TODO: Is it better to grab all the possible properties when creating an\n   * element to avoid having to create the same element twice?\n   */\n  getDefaultValueForProperty: function(nodeName, prop) {\n    var nodeDefaults = defaultValueCache[nodeName];\n    var testElement;\n    if (!nodeDefaults) {\n      defaultValueCache[nodeName] = nodeDefaults = {};\n    }\n    if (!(prop in nodeDefaults)) {\n      testElement = document.createElement(nodeName);\n      nodeDefaults[prop] = testElement[prop];\n    }\n    return nodeDefaults[prop];\n  },\n\n  injection: DOMPropertyInjection\n};\n\nmodule.exports = DOMProperty;\n\n},{\"./invariant\":109}],10:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DOMPropertyOperations\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar DOMProperty = require(\"./DOMProperty\");\n\nvar escapeTextForBrowser = require(\"./escapeTextForBrowser\");\nvar memoizeStringOnly = require(\"./memoizeStringOnly\");\n\nfunction shouldIgnoreValue(name, value) {\n  return value == null ||\n    DOMProperty.hasBooleanValue[name] && !value ||\n    DOMProperty.hasPositiveNumericValue[name] && (isNaN(value) || value < 1);\n}\n\nvar processAttributeNameAndPrefix = memoizeStringOnly(function(name) {\n  return escapeTextForBrowser(name) + '=\"';\n});\n\nif (\"production\" !== \"development\") {\n  var reactProps = {\n    __owner__: true,\n    children: true,\n    dangerouslySetInnerHTML: true,\n    key: true,\n    ref: true\n  };\n  var warnedProperties = {};\n\n  var warnUnknownProperty = function(name) {\n    if (reactProps[name] || warnedProperties[name]) {\n      return;\n    }\n\n    warnedProperties[name] = true;\n    var lowerCasedName = name.toLowerCase();\n\n    // data-* attributes should be lowercase; suggest the lowercase version\n    var standardName = DOMProperty.isCustomAttribute(lowerCasedName) ?\n      lowerCasedName : DOMProperty.getPossibleStandardName[lowerCasedName];\n\n    // For now, only warn when we have a suggested correction. This prevents\n    // logging too much when using transferPropsTo.\n    if (standardName != null) {\n      console.warn(\n        'Unknown DOM property ' + name + '. Did you mean ' + standardName + '?'\n      );\n    }\n\n  };\n}\n\n/**\n * Operations for dealing with DOM properties.\n */\nvar DOMPropertyOperations = {\n\n  /**\n   * Creates markup for a property.\n   *\n   * @param {string} name\n   * @param {*} value\n   * @return {?string} Markup string, or null if the property was invalid.\n   */\n  createMarkupForProperty: function(name, value) {\n    if (DOMProperty.isStandardName[name]) {\n      if (shouldIgnoreValue(name, value)) {\n        return '';\n      }\n      var attributeName = DOMProperty.getAttributeName[name];\n      return processAttributeNameAndPrefix(attributeName) +\n        escapeTextForBrowser(value) + '\"';\n    } else if (DOMProperty.isCustomAttribute(name)) {\n      if (value == null) {\n        return '';\n      }\n      return processAttributeNameAndPrefix(name) +\n        escapeTextForBrowser(value) + '\"';\n    } else if (\"production\" !== \"development\") {\n      warnUnknownProperty(name);\n    }\n    return null;\n  },\n\n  /**\n   * Sets the value for a property on a node.\n   *\n   * @param {DOMElement} node\n   * @param {string} name\n   * @param {*} value\n   */\n  setValueForProperty: function(node, name, value) {\n    if (DOMProperty.isStandardName[name]) {\n      var mutationMethod = DOMProperty.getMutationMethod[name];\n      if (mutationMethod) {\n        mutationMethod(node, value);\n      } else if (shouldIgnoreValue(name, value)) {\n        this.deleteValueForProperty(node, name);\n      } else if (DOMProperty.mustUseAttribute[name]) {\n        node.setAttribute(DOMProperty.getAttributeName[name], '' + value);\n      } else {\n        var propName = DOMProperty.getPropertyName[name];\n        if (!DOMProperty.hasSideEffects[name] || node[propName] !== value) {\n          node[propName] = value;\n        }\n      }\n    } else if (DOMProperty.isCustomAttribute(name)) {\n      if (value == null) {\n        node.removeAttribute(DOMProperty.getAttributeName[name]);\n      } else {\n        node.setAttribute(name, '' + value);\n      }\n    } else if (\"production\" !== \"development\") {\n      warnUnknownProperty(name);\n    }\n  },\n\n  /**\n   * Deletes the value for a property on a node.\n   *\n   * @param {DOMElement} node\n   * @param {string} name\n   */\n  deleteValueForProperty: function(node, name) {\n    if (DOMProperty.isStandardName[name]) {\n      var mutationMethod = DOMProperty.getMutationMethod[name];\n      if (mutationMethod) {\n        mutationMethod(node, undefined);\n      } else if (DOMProperty.mustUseAttribute[name]) {\n        node.removeAttribute(DOMProperty.getAttributeName[name]);\n      } else {\n        var propName = DOMProperty.getPropertyName[name];\n        var defaultValue = DOMProperty.getDefaultValueForProperty(\n          node.nodeName,\n          name\n        );\n        if (!DOMProperty.hasSideEffects[name] ||\n            node[propName] !== defaultValue) {\n          node[propName] = defaultValue;\n        }\n      }\n    } else if (DOMProperty.isCustomAttribute(name)) {\n      node.removeAttribute(name);\n    } else if (\"production\" !== \"development\") {\n      warnUnknownProperty(name);\n    }\n  }\n\n};\n\nmodule.exports = DOMPropertyOperations;\n\n},{\"./DOMProperty\":9,\"./escapeTextForBrowser\":95,\"./memoizeStringOnly\":117}],11:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule Danger\n * @typechecks static-only\n */\n\n/*jslint evil: true, sub: true */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar createNodesFromMarkup = require(\"./createNodesFromMarkup\");\nvar emptyFunction = require(\"./emptyFunction\");\nvar getMarkupWrap = require(\"./getMarkupWrap\");\nvar invariant = require(\"./invariant\");\nvar mutateHTMLNodeWithMarkup = require(\"./mutateHTMLNodeWithMarkup\");\n\nvar OPEN_TAG_NAME_EXP = /^(<[^ \\/>]+)/;\nvar RESULT_INDEX_ATTR = 'data-danger-index';\n\n/**\n * Extracts the `nodeName` from a string of markup.\n *\n * NOTE: Extracting the `nodeName` does not require a regular expression match\n * because we make assumptions about React-generated markup (i.e. there are no\n * spaces surrounding the opening tag and there is at least one attribute).\n *\n * @param {string} markup String of markup.\n * @return {string} Node name of the supplied markup.\n * @see http://jsperf.com/extract-nodename\n */\nfunction getNodeName(markup) {\n  return markup.substring(1, markup.indexOf(' '));\n}\n\nvar Danger = {\n\n  /**\n   * Renders markup into an array of nodes. The markup is expected to render\n   * into a list of root nodes. Also, the length of `resultList` and\n   * `markupList` should be the same.\n   *\n   * @param {array<string>} markupList List of markup strings to render.\n   * @return {array<DOMElement>} List of rendered nodes.\n   * @internal\n   */\n  dangerouslyRenderMarkup: function(markupList) {\n    (\"production\" !== \"development\" ? invariant(\n      ExecutionEnvironment.canUseDOM,\n      'dangerouslyRenderMarkup(...): Cannot render markup in a Worker ' +\n      'thread. This is likely a bug in the framework. Please report ' +\n      'immediately.'\n    ) : invariant(ExecutionEnvironment.canUseDOM));\n    var nodeName;\n    var markupByNodeName = {};\n    // Group markup by `nodeName` if a wrap is necessary, else by '*'.\n    for (var i = 0; i < markupList.length; i++) {\n      (\"production\" !== \"development\" ? invariant(\n        markupList[i],\n        'dangerouslyRenderMarkup(...): Missing markup.'\n      ) : invariant(markupList[i]));\n      nodeName = getNodeName(markupList[i]);\n      nodeName = getMarkupWrap(nodeName) ? nodeName : '*';\n      markupByNodeName[nodeName] = markupByNodeName[nodeName] || [];\n      markupByNodeName[nodeName][i] = markupList[i];\n    }\n    var resultList = [];\n    var resultListAssignmentCount = 0;\n    for (nodeName in markupByNodeName) {\n      if (!markupByNodeName.hasOwnProperty(nodeName)) {\n        continue;\n      }\n      var markupListByNodeName = markupByNodeName[nodeName];\n\n      // This for-in loop skips the holes of the sparse array. The order of\n      // iteration should follow the order of assignment, which happens to match\n      // numerical index order, but we don't rely on that.\n      for (var resultIndex in markupListByNodeName) {\n        if (markupListByNodeName.hasOwnProperty(resultIndex)) {\n          var markup = markupListByNodeName[resultIndex];\n\n          // Push the requested markup with an additional RESULT_INDEX_ATTR\n          // attribute.  If the markup does not start with a < character, it\n          // will be discarded below (with an appropriate console.error).\n          markupListByNodeName[resultIndex] = markup.replace(\n            OPEN_TAG_NAME_EXP,\n            // This index will be parsed back out below.\n            '$1 ' + RESULT_INDEX_ATTR + '=\"' + resultIndex + '\" '\n          );\n        }\n      }\n\n      // Render each group of markup with similar wrapping `nodeName`.\n      var renderNodes = createNodesFromMarkup(\n        markupListByNodeName.join(''),\n        emptyFunction // Do nothing special with <script> tags.\n      );\n\n      for (i = 0; i < renderNodes.length; ++i) {\n        var renderNode = renderNodes[i];\n        if (renderNode.hasAttribute &&\n            renderNode.hasAttribute(RESULT_INDEX_ATTR)) {\n\n          resultIndex = +renderNode.getAttribute(RESULT_INDEX_ATTR);\n          renderNode.removeAttribute(RESULT_INDEX_ATTR);\n\n          (\"production\" !== \"development\" ? invariant(\n            !resultList.hasOwnProperty(resultIndex),\n            'Danger: Assigning to an already-occupied result index.'\n          ) : invariant(!resultList.hasOwnProperty(resultIndex)));\n\n          resultList[resultIndex] = renderNode;\n\n          // This should match resultList.length and markupList.length when\n          // we're done.\n          resultListAssignmentCount += 1;\n\n        } else if (\"production\" !== \"development\") {\n          console.error(\n            \"Danger: Discarding unexpected node:\",\n            renderNode\n          );\n        }\n      }\n    }\n\n    // Although resultList was populated out of order, it should now be a dense\n    // array.\n    (\"production\" !== \"development\" ? invariant(\n      resultListAssignmentCount === resultList.length,\n      'Danger: Did not assign to every index of resultList.'\n    ) : invariant(resultListAssignmentCount === resultList.length));\n\n    (\"production\" !== \"development\" ? invariant(\n      resultList.length === markupList.length,\n      'Danger: Expected markup to render %s nodes, but rendered %s.',\n      markupList.length,\n      resultList.length\n    ) : invariant(resultList.length === markupList.length));\n\n    return resultList;\n  },\n\n  /**\n   * Replaces a node with a string of markup at its current position within its\n   * parent. The markup must render into a single root node.\n   *\n   * @param {DOMElement} oldChild Child node to replace.\n   * @param {string} markup Markup to render in place of the child node.\n   * @internal\n   */\n  dangerouslyReplaceNodeWithMarkup: function(oldChild, markup) {\n    (\"production\" !== \"development\" ? invariant(\n      ExecutionEnvironment.canUseDOM,\n      'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a ' +\n      'worker thread. This is likely a bug in the framework. Please report ' +\n      'immediately.'\n    ) : invariant(ExecutionEnvironment.canUseDOM));\n    (\"production\" !== \"development\" ? invariant(markup, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : invariant(markup));\n    // createNodesFromMarkup() won't work if the markup is rooted by <html>\n    // since it has special semantic meaning. So we use an alternatie strategy.\n    if (oldChild.tagName.toLowerCase() === 'html') {\n      mutateHTMLNodeWithMarkup(oldChild, markup);\n      return;\n    }\n    var newChild = createNodesFromMarkup(markup, emptyFunction)[0];\n    oldChild.parentNode.replaceChild(newChild, oldChild);\n  }\n\n};\n\nmodule.exports = Danger;\n\n},{\"./ExecutionEnvironment\":21,\"./createNodesFromMarkup\":90,\"./emptyFunction\":94,\"./getMarkupWrap\":103,\"./invariant\":109,\"./mutateHTMLNodeWithMarkup\":122}],12:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DefaultDOMPropertyConfig\n */\n\n/*jslint bitwise: true*/\n\n\"use strict\";\n\nvar DOMProperty = require(\"./DOMProperty\");\n\nvar MUST_USE_ATTRIBUTE = DOMProperty.injection.MUST_USE_ATTRIBUTE;\nvar MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY;\nvar HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE;\nvar HAS_SIDE_EFFECTS = DOMProperty.injection.HAS_SIDE_EFFECTS;\nvar HAS_POSITIVE_NUMERIC_VALUE =\n  DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE;\n\nvar DefaultDOMPropertyConfig = {\n  isCustomAttribute: RegExp.prototype.test.bind(\n    /^(data|aria)-[a-z_][a-z\\d_.\\-]*$/\n  ),\n  Properties: {\n    /**\n     * Standard Properties\n     */\n    accept: null,\n    accessKey: null,\n    action: null,\n    allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n    allowTransparency: MUST_USE_ATTRIBUTE,\n    alt: null,\n    async: HAS_BOOLEAN_VALUE,\n    autoComplete: null,\n    autoFocus: HAS_BOOLEAN_VALUE,\n    autoPlay: HAS_BOOLEAN_VALUE,\n    cellPadding: null,\n    cellSpacing: null,\n    charSet: MUST_USE_ATTRIBUTE,\n    checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    className: MUST_USE_PROPERTY,\n    cols: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n    colSpan: null,\n    content: null,\n    contentEditable: null,\n    contextMenu: MUST_USE_ATTRIBUTE,\n    controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    data: null, // For `<object />` acts as `src`.\n    dateTime: MUST_USE_ATTRIBUTE,\n    defer: HAS_BOOLEAN_VALUE,\n    dir: null,\n    disabled: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n    draggable: null,\n    encType: null,\n    form: MUST_USE_ATTRIBUTE,\n    frameBorder: MUST_USE_ATTRIBUTE,\n    height: MUST_USE_ATTRIBUTE,\n    hidden: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n    href: null,\n    htmlFor: null,\n    httpEquiv: null,\n    icon: null,\n    id: MUST_USE_PROPERTY,\n    label: null,\n    lang: null,\n    list: null,\n    loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    max: null,\n    maxLength: MUST_USE_ATTRIBUTE,\n    method: null,\n    min: null,\n    multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    name: null,\n    pattern: null,\n    placeholder: null,\n    poster: null,\n    preload: null,\n    radioGroup: null,\n    readOnly: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    rel: null,\n    required: HAS_BOOLEAN_VALUE,\n    role: MUST_USE_ATTRIBUTE,\n    rows: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n    rowSpan: null,\n    scrollLeft: MUST_USE_PROPERTY,\n    scrollTop: MUST_USE_PROPERTY,\n    selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n    spellCheck: null,\n    src: null,\n    step: null,\n    style: null,\n    tabIndex: null,\n    target: null,\n    title: null,\n    type: null,\n    value: MUST_USE_PROPERTY | HAS_SIDE_EFFECTS,\n    width: MUST_USE_ATTRIBUTE,\n    wmode: MUST_USE_ATTRIBUTE,\n\n    /**\n     * Non-standard Properties\n     */\n    autoCapitalize: null, // Supported in Mobile Safari for keyboard hints\n    autoCorrect: null, // Supported in Mobile Safari for keyboard hints\n\n    /**\n     * SVG Properties\n     */\n    cx: MUST_USE_ATTRIBUTE,\n    cy: MUST_USE_ATTRIBUTE,\n    d: MUST_USE_ATTRIBUTE,\n    fill: MUST_USE_ATTRIBUTE,\n    fx: MUST_USE_ATTRIBUTE,\n    fy: MUST_USE_ATTRIBUTE,\n    gradientTransform: MUST_USE_ATTRIBUTE,\n    gradientUnits: MUST_USE_ATTRIBUTE,\n    offset: MUST_USE_ATTRIBUTE,\n    points: MUST_USE_ATTRIBUTE,\n    r: MUST_USE_ATTRIBUTE,\n    rx: MUST_USE_ATTRIBUTE,\n    ry: MUST_USE_ATTRIBUTE,\n    spreadMethod: MUST_USE_ATTRIBUTE,\n    stopColor: MUST_USE_ATTRIBUTE,\n    stopOpacity: MUST_USE_ATTRIBUTE,\n    stroke: MUST_USE_ATTRIBUTE,\n    strokeLinecap: MUST_USE_ATTRIBUTE,\n    strokeWidth: MUST_USE_ATTRIBUTE,\n    transform: MUST_USE_ATTRIBUTE,\n    version: MUST_USE_ATTRIBUTE,\n    viewBox: MUST_USE_ATTRIBUTE,\n    x1: MUST_USE_ATTRIBUTE,\n    x2: MUST_USE_ATTRIBUTE,\n    x: MUST_USE_ATTRIBUTE,\n    y1: MUST_USE_ATTRIBUTE,\n    y2: MUST_USE_ATTRIBUTE,\n    y: MUST_USE_ATTRIBUTE\n  },\n  DOMAttributeNames: {\n    className: 'class',\n    gradientTransform: 'gradientTransform',\n    gradientUnits: 'gradientUnits',\n    htmlFor: 'for',\n    spreadMethod: 'spreadMethod',\n    stopColor: 'stop-color',\n    stopOpacity: 'stop-opacity',\n    strokeLinecap: 'stroke-linecap',\n    strokeWidth: 'stroke-width',\n    viewBox: 'viewBox'\n  },\n  DOMPropertyNames: {\n    autoCapitalize: 'autocapitalize',\n    autoComplete: 'autocomplete',\n    autoCorrect: 'autocorrect',\n    autoFocus: 'autofocus',\n    autoPlay: 'autoplay',\n    encType: 'enctype',\n    radioGroup: 'radiogroup',\n    spellCheck: 'spellcheck'\n  },\n  DOMMutationMethods: {\n    /**\n     * Setting `className` to null may cause it to be set to the string \"null\".\n     *\n     * @param {DOMElement} node\n     * @param {*} value\n     */\n    className: function(node, value) {\n      node.className = value || '';\n    }\n  }\n};\n\nmodule.exports = DefaultDOMPropertyConfig;\n\n},{\"./DOMProperty\":9}],13:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DefaultEventPluginOrder\n */\n\n\"use strict\";\n\n var keyOf = require(\"./keyOf\");\n\n/**\n * Module that is injectable into `EventPluginHub`, that specifies a\n * deterministic ordering of `EventPlugin`s. A convenient way to reason about\n * plugins, without having to package every one of them. This is better than\n * having plugins be ordered in the same order that they are injected because\n * that ordering would be influenced by the packaging order.\n * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that\n * preventing default on events is convenient in `SimpleEventPlugin` handlers.\n */\nvar DefaultEventPluginOrder = [\n  keyOf({ResponderEventPlugin: null}),\n  keyOf({SimpleEventPlugin: null}),\n  keyOf({TapEventPlugin: null}),\n  keyOf({EnterLeaveEventPlugin: null}),\n  keyOf({ChangeEventPlugin: null}),\n  keyOf({SelectEventPlugin: null}),\n  keyOf({CompositionEventPlugin: null}),\n  keyOf({AnalyticsEventPlugin: null}),\n  keyOf({MobileSafariClickEventPlugin: null})\n];\n\nmodule.exports = DefaultEventPluginOrder;\n\n},{\"./keyOf\":116}],14:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EnterLeaveEventPlugin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar SyntheticMouseEvent = require(\"./SyntheticMouseEvent\");\n\nvar ReactMount = require(\"./ReactMount\");\nvar keyOf = require(\"./keyOf\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\nvar getFirstReactDOM = ReactMount.getFirstReactDOM;\n\nvar eventTypes = {\n  mouseEnter: {registrationName: keyOf({onMouseEnter: null})},\n  mouseLeave: {registrationName: keyOf({onMouseLeave: null})}\n};\n\nvar extractedEvents = [null, null];\n\nvar EnterLeaveEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * For almost every interaction we care about, there will be both a top-level\n   * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that\n   * we do not extract duplicate events. However, moving the mouse into the\n   * browser from outside will not fire a `mouseout` event. In this case, we use\n   * the `mouseover` top-level event.\n   *\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    if (topLevelType === topLevelTypes.topMouseOver &&\n        (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n      return null;\n    }\n    if (topLevelType !== topLevelTypes.topMouseOut &&\n        topLevelType !== topLevelTypes.topMouseOver) {\n      // Must not be a mouse in or mouse out - ignoring.\n      return null;\n    }\n\n    var from, to;\n    if (topLevelType === topLevelTypes.topMouseOut) {\n      from = topLevelTarget;\n      to =\n        getFirstReactDOM(nativeEvent.relatedTarget || nativeEvent.toElement) ||\n        window;\n    } else {\n      from = window;\n      to = topLevelTarget;\n    }\n\n    if (from === to) {\n      // Nothing pertains to our managed components.\n      return null;\n    }\n\n    var fromID = from ? ReactMount.getID(from) : '';\n    var toID = to ? ReactMount.getID(to) : '';\n\n    var leave = SyntheticMouseEvent.getPooled(\n      eventTypes.mouseLeave,\n      fromID,\n      nativeEvent\n    );\n    var enter = SyntheticMouseEvent.getPooled(\n      eventTypes.mouseEnter,\n      toID,\n      nativeEvent\n    );\n\n    EventPropagators.accumulateEnterLeaveDispatches(leave, enter, fromID, toID);\n\n    extractedEvents[0] = leave;\n    extractedEvents[1] = enter;\n\n    return extractedEvents;\n  }\n\n};\n\nmodule.exports = EnterLeaveEventPlugin;\n\n},{\"./EventConstants\":15,\"./EventPropagators\":20,\"./ReactMount\":54,\"./SyntheticMouseEvent\":79,\"./keyOf\":116}],15:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventConstants\n */\n\n\"use strict\";\n\nvar keyMirror = require(\"./keyMirror\");\n\nvar PropagationPhases = keyMirror({bubbled: null, captured: null});\n\n/**\n * Types of raw signals from the browser caught at the top level.\n */\nvar topLevelTypes = keyMirror({\n  topBlur: null,\n  topChange: null,\n  topClick: null,\n  topCompositionEnd: null,\n  topCompositionStart: null,\n  topCompositionUpdate: null,\n  topContextMenu: null,\n  topCopy: null,\n  topCut: null,\n  topDoubleClick: null,\n  topDrag: null,\n  topDragEnd: null,\n  topDragEnter: null,\n  topDragExit: null,\n  topDragLeave: null,\n  topDragOver: null,\n  topDragStart: null,\n  topDrop: null,\n  topFocus: null,\n  topInput: null,\n  topKeyDown: null,\n  topKeyPress: null,\n  topKeyUp: null,\n  topMouseDown: null,\n  topMouseMove: null,\n  topMouseOut: null,\n  topMouseOver: null,\n  topMouseUp: null,\n  topPaste: null,\n  topScroll: null,\n  topSelectionChange: null,\n  topSubmit: null,\n  topTouchCancel: null,\n  topTouchEnd: null,\n  topTouchMove: null,\n  topTouchStart: null,\n  topWheel: null\n});\n\nvar EventConstants = {\n  topLevelTypes: topLevelTypes,\n  PropagationPhases: PropagationPhases\n};\n\nmodule.exports = EventConstants;\n\n},{\"./keyMirror\":115}],16:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventListener\n */\n\n/**\n * Upstream version of event listener. Does not take into account specific\n * nature of platform.\n */\nvar EventListener = {\n  /**\n   * Listens to bubbled events on a DOM node.\n   *\n   * @param {Element} el DOM element to register listener on.\n   * @param {string} handlerBaseName 'click'/'mouseover'\n   * @param {Function!} cb Callback function\n   */\n  listen: function(el, handlerBaseName, cb) {\n    if (el.addEventListener) {\n      el.addEventListener(handlerBaseName, cb, false);\n    } else if (el.attachEvent) {\n      el.attachEvent('on' + handlerBaseName, cb);\n    }\n  },\n\n  /**\n   * Listens to captured events on a DOM node.\n   *\n   * @see `EventListener.listen` for params.\n   * @throws Exception if addEventListener is not supported.\n   */\n  capture: function(el, handlerBaseName, cb) {\n    if (!el.addEventListener) {\n      if (\"production\" !== \"development\") {\n        console.error(\n          'You are attempting to use addEventListener ' +\n          'in a browser that does not support it.' +\n          'This likely means that you will not receive events that ' +\n          'your application relies on (such as scroll).');\n      }\n      return;\n    } else {\n      el.addEventListener(handlerBaseName, cb, true);\n    }\n  }\n};\n\nmodule.exports = EventListener;\n\n},{}],17:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventPluginHub\n */\n\n\"use strict\";\n\nvar CallbackRegistry = require(\"./CallbackRegistry\");\nvar EventPluginRegistry = require(\"./EventPluginRegistry\");\nvar EventPluginUtils = require(\"./EventPluginUtils\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar accumulate = require(\"./accumulate\");\nvar forEachAccumulated = require(\"./forEachAccumulated\");\nvar invariant = require(\"./invariant\");\n\n/**\n * Internal queue of events that have accumulated their dispatches and are\n * waiting to have their dispatches executed.\n */\nvar eventQueue = null;\n\n/**\n * Dispatches an event and releases it back into the pool, unless persistent.\n *\n * @param {?object} event Synthetic event to be dispatched.\n * @private\n */\nvar executeDispatchesAndRelease = function(event) {\n  if (event) {\n    var executeDispatch = EventPluginUtils.executeDispatch;\n    // Plugins can provide custom behavior when dispatching events.\n    var PluginModule = EventPluginRegistry.getPluginModuleForEvent(event);\n    if (PluginModule && PluginModule.executeDispatch) {\n      executeDispatch = PluginModule.executeDispatch;\n    }\n    EventPluginUtils.executeDispatchesInOrder(event, executeDispatch);\n\n    if (!event.isPersistent()) {\n      event.constructor.release(event);\n    }\n  }\n};\n\n/**\n * This is a unified interface for event plugins to be installed and configured.\n *\n * Event plugins can implement the following properties:\n *\n *   `extractEvents` {function(string, DOMEventTarget, string, object): *}\n *     Required. When a top-level event is fired, this method is expected to\n *     extract synthetic events that will in turn be queued and dispatched.\n *\n *   `eventTypes` {object}\n *     Optional, plugins that fire events must publish a mapping of registration\n *     names that are used to register listeners. Values of this mapping must\n *     be objects that contain `registrationName` or `phasedRegistrationNames`.\n *\n *   `executeDispatch` {function(object, function, string)}\n *     Optional, allows plugins to override how an event gets dispatched. By\n *     default, the listener is simply invoked.\n *\n * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n *\n * @public\n */\nvar EventPluginHub = {\n\n  /**\n   * Methods for injecting dependencies.\n   */\n  injection: {\n\n    /**\n     * @param {object} InjectedInstanceHandle\n     * @public\n     */\n    injectInstanceHandle: EventPropagators.injection.injectInstanceHandle,\n\n    /**\n     * @param {array} InjectedEventPluginOrder\n     * @public\n     */\n    injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\n    /**\n     * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n     */\n    injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n\n  },\n\n  registrationNames: EventPluginRegistry.registrationNames,\n\n  putListener: CallbackRegistry.putListener,\n\n  getListener: CallbackRegistry.getListener,\n\n  deleteListener: CallbackRegistry.deleteListener,\n\n  deleteAllListeners: CallbackRegistry.deleteAllListeners,\n\n  /**\n   * Allows registered plugins an opportunity to extract events from top-level\n   * native browser events.\n   *\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @internal\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    var events;\n    var plugins = EventPluginRegistry.plugins;\n    for (var i = 0, l = plugins.length; i < l; i++) {\n      // Not every plugin in the ordering may be loaded at runtime.\n      var possiblePlugin = plugins[i];\n      if (possiblePlugin) {\n        var extractedEvents = possiblePlugin.extractEvents(\n          topLevelType,\n          topLevelTarget,\n          topLevelTargetID,\n          nativeEvent\n        );\n        if (extractedEvents) {\n          events = accumulate(events, extractedEvents);\n        }\n      }\n    }\n    return events;\n  },\n\n  /**\n   * Enqueues a synthetic event that should be dispatched when\n   * `processEventQueue` is invoked.\n   *\n   * @param {*} events An accumulation of synthetic events.\n   * @internal\n   */\n  enqueueEvents: function(events) {\n    if (events) {\n      eventQueue = accumulate(eventQueue, events);\n    }\n  },\n\n  /**\n   * Dispatches all synthetic events on the event queue.\n   *\n   * @internal\n   */\n  processEventQueue: function() {\n    // Set `eventQueue` to null before processing it so that we can tell if more\n    // events get enqueued while processing.\n    var processingEventQueue = eventQueue;\n    eventQueue = null;\n    forEachAccumulated(processingEventQueue, executeDispatchesAndRelease);\n    (\"production\" !== \"development\" ? invariant(\n      !eventQueue,\n      'processEventQueue(): Additional events were enqueued while processing ' +\n      'an event queue. Support for this has not yet been implemented.'\n    ) : invariant(!eventQueue));\n  }\n\n};\n\nif (ExecutionEnvironment.canUseDOM) {\n  window.EventPluginHub = EventPluginHub;\n}\n\nmodule.exports = EventPluginHub;\n\n},{\"./CallbackRegistry\":5,\"./EventPluginRegistry\":18,\"./EventPluginUtils\":19,\"./EventPropagators\":20,\"./ExecutionEnvironment\":21,\"./accumulate\":85,\"./forEachAccumulated\":99,\"./invariant\":109}],18:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventPluginRegistry\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Injectable ordering of event plugins.\n */\nvar EventPluginOrder = null;\n\n/**\n * Injectable mapping from names to event plugin modules.\n */\nvar namesToPlugins = {};\n\n/**\n * Recomputes the plugin list using the injected plugins and plugin ordering.\n *\n * @private\n */\nfunction recomputePluginOrdering() {\n  if (!EventPluginOrder) {\n    // Wait until an `EventPluginOrder` is injected.\n    return;\n  }\n  for (var pluginName in namesToPlugins) {\n    var PluginModule = namesToPlugins[pluginName];\n    var pluginIndex = EventPluginOrder.indexOf(pluginName);\n    (\"production\" !== \"development\" ? invariant(\n      pluginIndex > -1,\n      'EventPluginRegistry: Cannot inject event plugins that do not exist in ' +\n      'the plugin ordering, `%s`.',\n      pluginName\n    ) : invariant(pluginIndex > -1));\n    if (EventPluginRegistry.plugins[pluginIndex]) {\n      continue;\n    }\n    (\"production\" !== \"development\" ? invariant(\n      PluginModule.extractEvents,\n      'EventPluginRegistry: Event plugins must implement an `extractEvents` ' +\n      'method, but `%s` does not.',\n      pluginName\n    ) : invariant(PluginModule.extractEvents));\n    EventPluginRegistry.plugins[pluginIndex] = PluginModule;\n    var publishedEvents = PluginModule.eventTypes;\n    for (var eventName in publishedEvents) {\n      (\"production\" !== \"development\" ? invariant(\n        publishEventForPlugin(publishedEvents[eventName], PluginModule),\n        'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.',\n        eventName,\n        pluginName\n      ) : invariant(publishEventForPlugin(publishedEvents[eventName], PluginModule)));\n    }\n  }\n}\n\n/**\n * Publishes an event so that it can be dispatched by the supplied plugin.\n *\n * @param {object} dispatchConfig Dispatch configuration for the event.\n * @param {object} PluginModule Plugin publishing the event.\n * @return {boolean} True if the event was successfully published.\n * @private\n */\nfunction publishEventForPlugin(dispatchConfig, PluginModule) {\n  var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n  if (phasedRegistrationNames) {\n    for (var phaseName in phasedRegistrationNames) {\n      if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n        var phasedRegistrationName = phasedRegistrationNames[phaseName];\n        publishRegistrationName(phasedRegistrationName, PluginModule);\n      }\n    }\n    return true;\n  } else if (dispatchConfig.registrationName) {\n    publishRegistrationName(dispatchConfig.registrationName, PluginModule);\n    return true;\n  }\n  return false;\n}\n\n/**\n * Publishes a registration name that is used to identify dispatched events and\n * can be used with `EventPluginHub.putListener` to register listeners.\n *\n * @param {string} registrationName Registration name to add.\n * @param {object} PluginModule Plugin publishing the event.\n * @private\n */\nfunction publishRegistrationName(registrationName, PluginModule) {\n  (\"production\" !== \"development\" ? invariant(\n    !EventPluginRegistry.registrationNames[registrationName],\n    'EventPluginHub: More than one plugin attempted to publish the same ' +\n    'registration name, `%s`.',\n    registrationName\n  ) : invariant(!EventPluginRegistry.registrationNames[registrationName]));\n  EventPluginRegistry.registrationNames[registrationName] = PluginModule;\n}\n\n/**\n * Registers plugins so that they can extract and dispatch events.\n *\n * @see {EventPluginHub}\n */\nvar EventPluginRegistry = {\n\n  /**\n   * Ordered list of injected plugins.\n   */\n  plugins: [],\n\n  /**\n   * Mapping from registration names to plugin modules.\n   */\n  registrationNames: {},\n\n  /**\n   * Injects an ordering of plugins (by plugin name). This allows the ordering\n   * to be decoupled from injection of the actual plugins so that ordering is\n   * always deterministic regardless of packaging, on-the-fly injection, etc.\n   *\n   * @param {array} InjectedEventPluginOrder\n   * @internal\n   * @see {EventPluginHub.injection.injectEventPluginOrder}\n   */\n  injectEventPluginOrder: function(InjectedEventPluginOrder) {\n    (\"production\" !== \"development\" ? invariant(\n      !EventPluginOrder,\n      'EventPluginRegistry: Cannot inject event plugin ordering more than once.'\n    ) : invariant(!EventPluginOrder));\n    // Clone the ordering so it cannot be dynamically mutated.\n    EventPluginOrder = Array.prototype.slice.call(InjectedEventPluginOrder);\n    recomputePluginOrdering();\n  },\n\n  /**\n   * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n   * in the ordering injected by `injectEventPluginOrder`.\n   *\n   * Plugins can be injected as part of page initialization or on-the-fly.\n   *\n   * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n   * @internal\n   * @see {EventPluginHub.injection.injectEventPluginsByName}\n   */\n  injectEventPluginsByName: function(injectedNamesToPlugins) {\n    var isOrderingDirty = false;\n    for (var pluginName in injectedNamesToPlugins) {\n      if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n        continue;\n      }\n      var PluginModule = injectedNamesToPlugins[pluginName];\n      if (namesToPlugins[pluginName] !== PluginModule) {\n        (\"production\" !== \"development\" ? invariant(\n          !namesToPlugins[pluginName],\n          'EventPluginRegistry: Cannot inject two different event plugins ' +\n          'using the same name, `%s`.',\n          pluginName\n        ) : invariant(!namesToPlugins[pluginName]));\n        namesToPlugins[pluginName] = PluginModule;\n        isOrderingDirty = true;\n      }\n    }\n    if (isOrderingDirty) {\n      recomputePluginOrdering();\n    }\n  },\n\n  /**\n   * Looks up the plugin for the supplied event.\n   *\n   * @param {object} event A synthetic event.\n   * @return {?object} The plugin that created the supplied event.\n   * @internal\n   */\n  getPluginModuleForEvent: function(event) {\n    var dispatchConfig = event.dispatchConfig;\n    if (dispatchConfig.registrationName) {\n      return EventPluginRegistry.registrationNames[\n        dispatchConfig.registrationName\n      ] || null;\n    }\n    for (var phase in dispatchConfig.phasedRegistrationNames) {\n      if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) {\n        continue;\n      }\n      var PluginModule = EventPluginRegistry.registrationNames[\n        dispatchConfig.phasedRegistrationNames[phase]\n      ];\n      if (PluginModule) {\n        return PluginModule;\n      }\n    }\n    return null;\n  },\n\n  /**\n   * Exposed for unit testing.\n   * @private\n   */\n  _resetEventPlugins: function() {\n    EventPluginOrder = null;\n    for (var pluginName in namesToPlugins) {\n      if (namesToPlugins.hasOwnProperty(pluginName)) {\n        delete namesToPlugins[pluginName];\n      }\n    }\n    EventPluginRegistry.plugins.length = 0;\n    var registrationNames = EventPluginRegistry.registrationNames;\n    for (var registrationName in registrationNames) {\n      if (registrationNames.hasOwnProperty(registrationName)) {\n        delete registrationNames[registrationName];\n      }\n    }\n  }\n\n};\n\nmodule.exports = EventPluginRegistry;\n\n},{\"./invariant\":109}],19:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventPluginUtils\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\n\nvar invariant = require(\"./invariant\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nfunction isEndish(topLevelType) {\n  return topLevelType === topLevelTypes.topMouseUp ||\n         topLevelType === topLevelTypes.topTouchEnd ||\n         topLevelType === topLevelTypes.topTouchCancel;\n}\n\nfunction isMoveish(topLevelType) {\n  return topLevelType === topLevelTypes.topMouseMove ||\n         topLevelType === topLevelTypes.topTouchMove;\n}\nfunction isStartish(topLevelType) {\n  return topLevelType === topLevelTypes.topMouseDown ||\n         topLevelType === topLevelTypes.topTouchStart;\n}\n\nvar validateEventDispatches;\nif (\"production\" !== \"development\") {\n  validateEventDispatches = function(event) {\n    var dispatchListeners = event._dispatchListeners;\n    var dispatchIDs = event._dispatchIDs;\n\n    var listenersIsArr = Array.isArray(dispatchListeners);\n    var idsIsArr = Array.isArray(dispatchIDs);\n    var IDsLen = idsIsArr ? dispatchIDs.length : dispatchIDs ? 1 : 0;\n    var listenersLen = listenersIsArr ?\n      dispatchListeners.length :\n      dispatchListeners ? 1 : 0;\n\n    (\"production\" !== \"development\" ? invariant(\n      idsIsArr === listenersIsArr && IDsLen === listenersLen,\n      'EventPluginUtils: Invalid `event`.'\n    ) : invariant(idsIsArr === listenersIsArr && IDsLen === listenersLen));\n  };\n}\n\n/**\n * Invokes `cb(event, listener, id)`. Avoids using call if no scope is\n * provided. The `(listener,id)` pair effectively forms the \"dispatch\" but are\n * kept separate to conserve memory.\n */\nfunction forEachEventDispatch(event, cb) {\n  var dispatchListeners = event._dispatchListeners;\n  var dispatchIDs = event._dispatchIDs;\n  if (\"production\" !== \"development\") {\n    validateEventDispatches(event);\n  }\n  if (Array.isArray(dispatchListeners)) {\n    for (var i = 0; i < dispatchListeners.length; i++) {\n      if (event.isPropagationStopped()) {\n        break;\n      }\n      // Listeners and IDs are two parallel arrays that are always in sync.\n      cb(event, dispatchListeners[i], dispatchIDs[i]);\n    }\n  } else if (dispatchListeners) {\n    cb(event, dispatchListeners, dispatchIDs);\n  }\n}\n\n/**\n * Default implementation of PluginModule.executeDispatch().\n * @param {SyntheticEvent} SyntheticEvent to handle\n * @param {function} Application-level callback\n * @param {string} domID DOM id to pass to the callback.\n */\nfunction executeDispatch(event, listener, domID) {\n  listener(event, domID);\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches.\n */\nfunction executeDispatchesInOrder(event, executeDispatch) {\n  forEachEventDispatch(event, executeDispatch);\n  event._dispatchListeners = null;\n  event._dispatchIDs = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches, but stops\n * at the first dispatch execution returning true, and returns that id.\n *\n * @return id of the first dispatch execution who's listener returns true, or\n * null if no listener returned true.\n */\nfunction executeDispatchesInOrderStopAtTrue(event) {\n  var dispatchListeners = event._dispatchListeners;\n  var dispatchIDs = event._dispatchIDs;\n  if (\"production\" !== \"development\") {\n    validateEventDispatches(event);\n  }\n  if (Array.isArray(dispatchListeners)) {\n    for (var i = 0; i < dispatchListeners.length; i++) {\n      if (event.isPropagationStopped()) {\n        break;\n      }\n      // Listeners and IDs are two parallel arrays that are always in sync.\n      if (dispatchListeners[i](event, dispatchIDs[i])) {\n        return dispatchIDs[i];\n      }\n    }\n  } else if (dispatchListeners) {\n    if (dispatchListeners(event, dispatchIDs)) {\n      return dispatchIDs;\n    }\n  }\n  return null;\n}\n\n/**\n * Execution of a \"direct\" dispatch - there must be at most one dispatch\n * accumulated on the event or it is considered an error. It doesn't really make\n * sense for an event with multiple dispatches (bubbled) to keep track of the\n * return values at each dispatch execution, but it does tend to make sense when\n * dealing with \"direct\" dispatches.\n *\n * @return The return value of executing the single dispatch.\n */\nfunction executeDirectDispatch(event) {\n  if (\"production\" !== \"development\") {\n    validateEventDispatches(event);\n  }\n  var dispatchListener = event._dispatchListeners;\n  var dispatchID = event._dispatchIDs;\n  (\"production\" !== \"development\" ? invariant(\n    !Array.isArray(dispatchListener),\n    'executeDirectDispatch(...): Invalid `event`.'\n  ) : invariant(!Array.isArray(dispatchListener)));\n  var res = dispatchListener ?\n    dispatchListener(event, dispatchID) :\n    null;\n  event._dispatchListeners = null;\n  event._dispatchIDs = null;\n  return res;\n}\n\n/**\n * @param {SyntheticEvent} event\n * @return {bool} True iff number of dispatches accumulated is greater than 0.\n */\nfunction hasDispatches(event) {\n  return !!event._dispatchListeners;\n}\n\n/**\n * General utilities that are useful in creating custom Event Plugins.\n */\nvar EventPluginUtils = {\n  isEndish: isEndish,\n  isMoveish: isMoveish,\n  isStartish: isStartish,\n  executeDispatchesInOrder: executeDispatchesInOrder,\n  executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n  executeDirectDispatch: executeDirectDispatch,\n  hasDispatches: hasDispatches,\n  executeDispatch: executeDispatch\n};\n\nmodule.exports = EventPluginUtils;\n\n},{\"./EventConstants\":15,\"./invariant\":109}],20:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventPropagators\n */\n\n\"use strict\";\n\nvar CallbackRegistry = require(\"./CallbackRegistry\");\nvar EventConstants = require(\"./EventConstants\");\n\nvar accumulate = require(\"./accumulate\");\nvar forEachAccumulated = require(\"./forEachAccumulated\");\nvar getListener = CallbackRegistry.getListener;\nvar PropagationPhases = EventConstants.PropagationPhases;\n\n/**\n * Injected dependencies:\n */\n\n/**\n * - `InstanceHandle`: [required] Module that performs logical traversals of DOM\n *   hierarchy given ids of the logical DOM elements involved.\n */\nvar injection = {\n  InstanceHandle: null,\n  injectInstanceHandle: function(InjectedInstanceHandle) {\n    injection.InstanceHandle = InjectedInstanceHandle;\n    if (\"production\" !== \"development\") {\n      injection.validate();\n    }\n  },\n  validate: function() {\n    var invalid = !injection.InstanceHandle||\n      !injection.InstanceHandle.traverseTwoPhase ||\n      !injection.InstanceHandle.traverseEnterLeave;\n    if (invalid) {\n      throw new Error('InstanceHandle not injected before use!');\n    }\n  }\n};\n\n/**\n * Some event types have a notion of different registration names for different\n * \"phases\" of propagation. This finds listeners by a given phase.\n */\nfunction listenerAtPhase(id, event, propagationPhase) {\n  var registrationName =\n    event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n  return getListener(id, registrationName);\n}\n\n/**\n * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n * here, allows us to not have to bind or create functions for each event.\n * Mutating the event's members allows us to not have to create a wrapping\n * \"dispatch\" object that pairs the event with the listener.\n */\nfunction accumulateDirectionalDispatches(domID, upwards, event) {\n  if (\"production\" !== \"development\") {\n    if (!domID) {\n      throw new Error('Dispatching id must not be null');\n    }\n    injection.validate();\n  }\n  var phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured;\n  var listener = listenerAtPhase(domID, event, phase);\n  if (listener) {\n    event._dispatchListeners = accumulate(event._dispatchListeners, listener);\n    event._dispatchIDs = accumulate(event._dispatchIDs, domID);\n  }\n}\n\n/**\n * Collect dispatches (must be entirely collected before dispatching - see unit\n * tests). Lazily allocate the array to conserve memory.  We must loop through\n * each event and perform the traversal for each one. We can not perform a\n * single traversal for the entire collection of events because each event may\n * have a different target.\n */\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n  if (event && event.dispatchConfig.phasedRegistrationNames) {\n    injection.InstanceHandle.traverseTwoPhase(\n      event.dispatchMarker,\n      accumulateDirectionalDispatches,\n      event\n    );\n  }\n}\n\n\n/**\n * Accumulates without regard to direction, does not look for phased\n * registration names. Same as `accumulateDirectDispatchesSingle` but without\n * requiring that the `dispatchMarker` be the same as the dispatched ID.\n */\nfunction accumulateDispatches(id, ignoredDirection, event) {\n  if (event && event.dispatchConfig.registrationName) {\n    var registrationName = event.dispatchConfig.registrationName;\n    var listener = getListener(id, registrationName);\n    if (listener) {\n      event._dispatchListeners = accumulate(event._dispatchListeners, listener);\n      event._dispatchIDs = accumulate(event._dispatchIDs, id);\n    }\n  }\n}\n\n/**\n * Accumulates dispatches on an `SyntheticEvent`, but only for the\n * `dispatchMarker`.\n * @param {SyntheticEvent} event\n */\nfunction accumulateDirectDispatchesSingle(event) {\n  if (event && event.dispatchConfig.registrationName) {\n    accumulateDispatches(event.dispatchMarker, null, event);\n  }\n}\n\nfunction accumulateTwoPhaseDispatches(events) {\n  if (\"production\" !== \"development\") {\n    injection.validate();\n  }\n  forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n}\n\nfunction accumulateEnterLeaveDispatches(leave, enter, fromID, toID) {\n  if (\"production\" !== \"development\") {\n    injection.validate();\n  }\n  injection.InstanceHandle.traverseEnterLeave(\n    fromID,\n    toID,\n    accumulateDispatches,\n    leave,\n    enter\n  );\n}\n\n\nfunction accumulateDirectDispatches(events) {\n  if (\"production\" !== \"development\") {\n    injection.validate();\n  }\n  forEachAccumulated(events, accumulateDirectDispatchesSingle);\n}\n\n\n\n/**\n * A small set of propagation patterns, each of which will accept a small amount\n * of information, and generate a set of \"dispatch ready event objects\" - which\n * are sets of events that have already been annotated with a set of dispatched\n * listener functions/ids. The API is designed this way to discourage these\n * propagation strategies from actually executing the dispatches, since we\n * always want to collect the entire set of dispatches before executing event a\n * single one.\n *\n * @constructor EventPropagators\n */\nvar EventPropagators = {\n  accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n  accumulateDirectDispatches: accumulateDirectDispatches,\n  accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches,\n  injection: injection\n};\n\nmodule.exports = EventPropagators;\n\n},{\"./CallbackRegistry\":5,\"./EventConstants\":15,\"./accumulate\":85,\"./forEachAccumulated\":99}],21:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ExecutionEnvironment\n */\n\n/*jslint evil: true */\n\n\"use strict\";\n\nvar canUseDOM = typeof window !== 'undefined';\n\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\nvar ExecutionEnvironment = {\n\n  canUseDOM: canUseDOM,\n\n  canUseWorkers: typeof Worker !== 'undefined',\n\n  isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\n\nmodule.exports = ExecutionEnvironment;\n\n},{}],22:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule LinkedStateMixin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactLink = require(\"./ReactLink\");\nvar ReactStateSetters = require(\"./ReactStateSetters\");\n\n/**\n * A simple mixin around ReactLink.forState().\n */\nvar LinkedStateMixin = {\n  /**\n   * Create a ReactLink that's linked to part of this component's state. The\n   * ReactLink will have the current value of this.state[key] and will call\n   * setState() when a change is requested.\n   *\n   * @param {string} key state key to update. Note: you may want to use keyOf()\n   * if you're using Google Closure Compiler advanced mode.\n   * @return {ReactLink} ReactLink instance linking to the state.\n   */\n  linkState: function(key) {\n    return new ReactLink(\n      this.state[key],\n      ReactStateSetters.createStateKeySetter(this, key)\n    );\n  }\n};\n\nmodule.exports = LinkedStateMixin;\n\n},{\"./ReactLink\":52,\"./ReactStateSetters\":64}],23:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule LinkedValueMixin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Provide a linked `value` attribute for controlled forms. You should not use\n * this outside of the ReactDOM controlled form components.\n */\nvar LinkedValueMixin = {\n  _assertLink: function() {\n    (\"production\" !== \"development\" ? invariant(\n      this.props.value == null && this.props.onChange == null,\n      'Cannot provide a valueLink and a value or onChange event. If you ' +\n        'want to use value or onChange, you probably don\\'t want to use ' +\n        'valueLink'\n    ) : invariant(this.props.value == null && this.props.onChange == null));\n  },\n\n  /**\n   * @return {*} current value of the input either from value prop or link.\n   */\n  getValue: function() {\n    if (this.props.valueLink) {\n      this._assertLink();\n      return this.props.valueLink.value;\n    }\n    return this.props.value;\n  },\n\n  /**\n   * @return {function} change callback either from onChange prop or link.\n   */\n  getOnChange: function() {\n    if (this.props.valueLink) {\n      this._assertLink();\n      return this._handleLinkedValueChange;\n    }\n    return this.props.onChange;\n  },\n\n  /**\n   * @param {SyntheticEvent} e change event to handle\n   */\n  _handleLinkedValueChange: function(e) {\n    this.props.valueLink.requestChange(e.target.value);\n  }\n};\n\nmodule.exports = LinkedValueMixin;\n\n},{\"./invariant\":109}],24:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule MobileSafariClickEventPlugin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\n\nvar emptyFunction = require(\"./emptyFunction\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\n/**\n * Mobile Safari does not fire properly bubble click events on non-interactive\n * elements, which means delegated click listeners do not fire. The workaround\n * for this bug involves attaching an empty click listener on the target node.\n *\n * This particular plugin works around the bug by attaching an empty click\n * listener on `touchstart` (which does fire on every element).\n */\nvar MobileSafariClickEventPlugin = {\n\n  eventTypes: null,\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    if (topLevelType === topLevelTypes.topTouchStart) {\n      var target = nativeEvent.target;\n      if (target && !target.onclick) {\n        target.onclick = emptyFunction;\n      }\n    }\n  }\n\n};\n\nmodule.exports = MobileSafariClickEventPlugin;\n\n},{\"./EventConstants\":15,\"./emptyFunction\":94}],25:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule PooledClass\n */\n\n\"use strict\";\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nvar oneArgumentPooler = function(copyFieldsFrom) {\n  var Klass = this;\n  if (Klass.instancePool.length) {\n    var instance = Klass.instancePool.pop();\n    Klass.call(instance, copyFieldsFrom);\n    return instance;\n  } else {\n    return new Klass(copyFieldsFrom);\n  }\n};\n\nvar twoArgumentPooler = function(a1, a2) {\n  var Klass = this;\n  if (Klass.instancePool.length) {\n    var instance = Klass.instancePool.pop();\n    Klass.call(instance, a1, a2);\n    return instance;\n  } else {\n    return new Klass(a1, a2);\n  }\n};\n\nvar threeArgumentPooler = function(a1, a2, a3) {\n  var Klass = this;\n  if (Klass.instancePool.length) {\n    var instance = Klass.instancePool.pop();\n    Klass.call(instance, a1, a2, a3);\n    return instance;\n  } else {\n    return new Klass(a1, a2, a3);\n  }\n};\n\nvar fiveArgumentPooler = function(a1, a2, a3, a4, a5) {\n  var Klass = this;\n  if (Klass.instancePool.length) {\n    var instance = Klass.instancePool.pop();\n    Klass.call(instance, a1, a2, a3, a4, a5);\n    return instance;\n  } else {\n    return new Klass(a1, a2, a3, a4, a5);\n  }\n};\n\nvar standardReleaser = function(instance) {\n  var Klass = this;\n  if (instance.destructor) {\n    instance.destructor();\n  }\n  if (Klass.instancePool.length < Klass.poolSize) {\n    Klass.instancePool.push(instance);\n  }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = oneArgumentPooler;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances (optional).\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nvar addPoolingTo = function(CopyConstructor, pooler) {\n  var NewKlass = CopyConstructor;\n  NewKlass.instancePool = [];\n  NewKlass.getPooled = pooler || DEFAULT_POOLER;\n  if (!NewKlass.poolSize) {\n    NewKlass.poolSize = DEFAULT_POOL_SIZE;\n  }\n  NewKlass.release = standardReleaser;\n  return NewKlass;\n};\n\nvar PooledClass = {\n  addPoolingTo: addPoolingTo,\n  oneArgumentPooler: oneArgumentPooler,\n  twoArgumentPooler: twoArgumentPooler,\n  threeArgumentPooler: threeArgumentPooler,\n  fiveArgumentPooler: fiveArgumentPooler\n};\n\nmodule.exports = PooledClass;\n\n},{}],26:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule React\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactCurrentOwner = require(\"./ReactCurrentOwner\");\nvar ReactDOM = require(\"./ReactDOM\");\nvar ReactDOMComponent = require(\"./ReactDOMComponent\");\nvar ReactDefaultInjection = require(\"./ReactDefaultInjection\");\nvar ReactInstanceHandles = require(\"./ReactInstanceHandles\");\nvar ReactMount = require(\"./ReactMount\");\nvar ReactMultiChild = require(\"./ReactMultiChild\");\nvar ReactPerf = require(\"./ReactPerf\");\nvar ReactPropTypes = require(\"./ReactPropTypes\");\nvar ReactServerRendering = require(\"./ReactServerRendering\");\nvar ReactTextComponent = require(\"./ReactTextComponent\");\n\nReactDefaultInjection.inject();\n\nvar React = {\n  DOM: ReactDOM,\n  PropTypes: ReactPropTypes,\n  initializeTouchEvents: function(shouldUseTouch) {\n    ReactMount.useTouchEvents = shouldUseTouch;\n  },\n  createClass: ReactCompositeComponent.createClass,\n  constructAndRenderComponent: ReactMount.constructAndRenderComponent,\n  constructAndRenderComponentByID: ReactMount.constructAndRenderComponentByID,\n  renderComponent: ReactPerf.measure(\n    'React',\n    'renderComponent',\n    ReactMount.renderComponent\n  ),\n  renderComponentToString: ReactServerRendering.renderComponentToString,\n  unmountComponentAtNode: ReactMount.unmountComponentAtNode,\n  unmountAndReleaseReactRootNode: ReactMount.unmountAndReleaseReactRootNode,\n  isValidClass: ReactCompositeComponent.isValidClass,\n  isValidComponent: ReactComponent.isValidComponent,\n  __internals: {\n    Component: ReactComponent,\n    CurrentOwner: ReactCurrentOwner,\n    DOMComponent: ReactDOMComponent,\n    InstanceHandles: ReactInstanceHandles,\n    Mount: ReactMount,\n    MultiChild: ReactMultiChild,\n    TextComponent: ReactTextComponent\n  }\n};\n\n// Version exists only in the open-source version of React, not in Facebook's\n// internal version.\nReact.version = '0.8.0';\n\nmodule.exports = React;\n\n},{\"./ReactComponent\":28,\"./ReactCompositeComponent\":31,\"./ReactCurrentOwner\":32,\"./ReactDOM\":33,\"./ReactDOMComponent\":35,\"./ReactDefaultInjection\":44,\"./ReactInstanceHandles\":51,\"./ReactMount\":54,\"./ReactMultiChild\":56,\"./ReactPerf\":59,\"./ReactPropTypes\":61,\"./ReactServerRendering\":63,\"./ReactTextComponent\":65}],27:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactChildren\n */\n\n\"use strict\";\n\nvar PooledClass = require(\"./PooledClass\");\n\nvar invariant = require(\"./invariant\");\nvar traverseAllChildren = require(\"./traverseAllChildren\");\n\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\nvar threeArgumentPooler = PooledClass.threeArgumentPooler;\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * traversal. Allows avoiding binding callbacks.\n *\n * @constructor ForEachBookKeeping\n * @param {!function} forEachFunction Function to perform traversal with.\n * @param {?*} forEachContext Context to perform context with.\n */\nfunction ForEachBookKeeping(forEachFunction, forEachContext) {\n  this.forEachFunction = forEachFunction;\n  this.forEachContext = forEachContext;\n}\nPooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler);\n\nfunction forEachSingleChild(traverseContext, child, name, i) {\n  var forEachBookKeeping = traverseContext;\n  forEachBookKeeping.forEachFunction.call(\n    forEachBookKeeping.forEachContext, child, i);\n}\n\n/**\n * Iterates through children that are typically specified as `props.children`.\n *\n * The provided forEachFunc(child, index) will be called for each\n * leaf child.\n *\n * @param {array} children\n * @param {function(*, int)} forEachFunc.\n * @param {*} forEachContext Context for forEachContext.\n */\nfunction forEachChildren(children, forEachFunc, forEachContext) {\n  if (children == null) {\n    return children;\n  }\n\n  var traverseContext =\n    ForEachBookKeeping.getPooled(forEachFunc, forEachContext);\n  traverseAllChildren(children, forEachSingleChild, traverseContext);\n  ForEachBookKeeping.release(traverseContext);\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * mapping. Allows avoiding binding callbacks.\n *\n * @constructor MapBookKeeping\n * @param {!*} mapResult Object containing the ordered map of results.\n * @param {!function} mapFunction Function to perform mapping with.\n * @param {?*} mapContext Context to perform mapping with.\n */\nfunction MapBookKeeping(mapResult, mapFunction, mapContext) {\n  this.mapResult = mapResult;\n  this.mapFunction = mapFunction;\n  this.mapContext = mapContext;\n}\nPooledClass.addPoolingTo(MapBookKeeping, threeArgumentPooler);\n\nfunction mapSingleChildIntoContext(traverseContext, child, name, i) {\n  var mapBookKeeping = traverseContext;\n  var mapResult = mapBookKeeping.mapResult;\n  var mappedChild =\n    mapBookKeeping.mapFunction.call(mapBookKeeping.mapContext, child, i);\n  // We found a component instance\n  (\"production\" !== \"development\" ? invariant(\n    !mapResult.hasOwnProperty(name),\n    'ReactChildren.map(...): Encountered two children with the same key, ' +\n    '`%s`. Children keys must be unique.',\n    name\n  ) : invariant(!mapResult.hasOwnProperty(name)));\n  mapResult[name] = mappedChild;\n}\n\n/**\n * Maps children that are typically specified as `props.children`.\n *\n * The provided mapFunction(child, key, index) will be called for each\n * leaf child.\n *\n * TODO: This may likely break any calls to `ReactChildren.map` that were\n * previously relying on the fact that we guarded against null children.\n *\n * @param {array} children\n * @param {function(*, int)} mapFunction.\n * @param {*} mapContext Context for mapFunction.\n * @return {array} mirrored array with mapped children.\n */\nfunction mapChildren(children, func, context) {\n  if (children == null) {\n    return children;\n  }\n\n  var mapResult = {};\n  var traverseContext = MapBookKeeping.getPooled(mapResult, func, context);\n  traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);\n  MapBookKeeping.release(traverseContext);\n  return mapResult;\n}\n\nvar ReactChildren = {\n  forEach: forEachChildren,\n  map: mapChildren\n};\n\nmodule.exports = ReactChildren;\n\n},{\"./PooledClass\":25,\"./invariant\":109,\"./traverseAllChildren\":127}],28:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactComponent\n */\n\n\"use strict\";\n\nvar ReactComponentEnvironment = require(\"./ReactComponentEnvironment\");\nvar ReactCurrentOwner = require(\"./ReactCurrentOwner\");\nvar ReactOwner = require(\"./ReactOwner\");\nvar ReactUpdates = require(\"./ReactUpdates\");\n\nvar invariant = require(\"./invariant\");\nvar keyMirror = require(\"./keyMirror\");\nvar merge = require(\"./merge\");\n\n/**\n * Every React component is in one of these life cycles.\n */\nvar ComponentLifeCycle = keyMirror({\n  /**\n   * Mounted components have a DOM node representation and are capable of\n   * receiving new props.\n   */\n  MOUNTED: null,\n  /**\n   * Unmounted components are inactive and cannot receive new props.\n   */\n  UNMOUNTED: null\n});\n\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children.\n * This allows us to keep track of children between updates.\n */\n\nvar ownerHasWarned = {};\n\n/**\n * Warn if the component doesn't have an explicit key assigned to it.\n * This component is in an array. The array could grow and shrink or be\n * reordered. All children, that hasn't already been validated, are required to\n * have a \"key\" property assigned to it.\n *\n * @internal\n * @param {ReactComponent} component Component that requires a key.\n */\nfunction validateExplicitKey(component) {\n  if (component.__keyValidated__ || component.props.key != null) {\n    return;\n  }\n  component.__keyValidated__ = true;\n\n  // We can't provide friendly warnings for top level components.\n  if (!ReactCurrentOwner.current) {\n    return;\n  }\n\n  // Name of the component whose render method tried to pass children.\n  var currentName = ReactCurrentOwner.current.constructor.displayName;\n  if (ownerHasWarned.hasOwnProperty(currentName)) {\n    return;\n  }\n  ownerHasWarned[currentName] = true;\n\n  var message = 'Each child in an array should have a unique \"key\" prop. ' +\n                'Check the render method of ' + currentName + '.';\n  if (!component.isOwnedBy(ReactCurrentOwner.current)) {\n    // Name of the component that originally created this child.\n    var childOwnerName =\n      component.props.__owner__ &&\n      component.props.__owner__.constructor.displayName;\n\n    // Usually the current owner is the offender, but if it accepts\n    // children as a property, it may be the creator of the child that's\n    // responsible for assigning it a key.\n    message += ' It was passed a child from ' + childOwnerName + '.';\n  }\n\n  console.warn(message);\n}\n\n/**\n * Ensure that every component either is passed in a static location or, if\n * if it's passed in an array, has an explicit key property defined.\n *\n * @internal\n * @param {*} component Statically passed child of any type.\n * @return {boolean}\n */\nfunction validateChildKeys(component) {\n  if (Array.isArray(component)) {\n    for (var i = 0; i < component.length; i++) {\n      var child = component[i];\n      if (ReactComponent.isValidComponent(child)) {\n        validateExplicitKey(child);\n      }\n    }\n  } else if (ReactComponent.isValidComponent(component)) {\n    // This component was passed in a valid location.\n    component.__keyValidated__ = true;\n  }\n}\n\n/**\n * Components are the basic units of composition in React.\n *\n * Every component accepts a set of keyed input parameters known as \"props\" that\n * are initialized by the constructor. Once a component is mounted, the props\n * can be mutated using `setProps` or `replaceProps`.\n *\n * Every component is capable of the following operations:\n *\n *   `mountComponent`\n *     Initializes the component, renders markup, and registers event listeners.\n *\n *   `receiveComponent`\n *     Updates the rendered DOM nodes to match the given component.\n *\n *   `unmountComponent`\n *     Releases any resources allocated by this component.\n *\n * Components can also be \"owned\" by other components. Being owned by another\n * component means being constructed by that component. This is different from\n * being the child of a component, which means having a DOM representation that\n * is a child of the DOM representation of that component.\n *\n * @class ReactComponent\n */\nvar ReactComponent = {\n\n  /**\n   * @param {?object} object\n   * @return {boolean} True if `object` is a valid component.\n   * @final\n   */\n  isValidComponent: function(object) {\n    return !!(\n      object &&\n      typeof object.mountComponentIntoNode === 'function' &&\n      typeof object.receiveComponent === 'function'\n    );\n  },\n\n  /**\n   * Generate a key string that identifies a component within a set.\n   *\n   * @param {*} component A component that could contain a manual key.\n   * @param {number} index Index that is used if a manual key is not provided.\n   * @return {string}\n   * @internal\n   */\n  getKey: function(component, index) {\n    if (component && component.props && component.props.key != null) {\n      // Explicit key\n      return '{' + component.props.key + '}';\n    }\n    // Implicit key determined by the index in the set\n    return '[' + index + ']';\n  },\n\n  /**\n   * @internal\n   */\n  LifeCycle: ComponentLifeCycle,\n\n  /**\n   * Injected module that provides ability to mutate individual properties.\n   * Injected into the base class because many different subclasses need access\n   * to this.\n   *\n   * @internal\n   */\n  DOMIDOperations: ReactComponentEnvironment.DOMIDOperations,\n\n  /**\n   * Optionally injectable environment dependent cleanup hook. (server vs.\n   * browser etc). Example: A browser system caches DOM nodes based on component\n   * ID and must remove that cache entry when this instance is unmounted.\n   *\n   * @private\n   */\n  unmountIDFromEnvironment: ReactComponentEnvironment.unmountIDFromEnvironment,\n\n  /**\n   * The \"image\" of a component tree, is the platform specific (typically\n   * serialized) data that represents a tree of lower level UI building blocks.\n   * On the web, this \"image\" is HTML markup which describes a construction of\n   * low level `div` and `span` nodes. Other platforms may have different\n   * encoding of this \"image\". This must be injected.\n   *\n   * @private\n   */\n  mountImageIntoNode: ReactComponentEnvironment.mountImageIntoNode,\n\n  /**\n   * React references `ReactReconcileTransaction` using this property in order\n   * to allow dependency injection.\n   *\n   * @internal\n   */\n  ReactReconcileTransaction:\n    ReactComponentEnvironment.ReactReconcileTransaction,\n\n  /**\n   * Base functionality for every ReactComponent constructor. Mixed into the\n   * `ReactComponent` prototype, but exposed statically for easy access.\n   *\n   * @lends {ReactComponent.prototype}\n   */\n  Mixin: merge(ReactComponentEnvironment.Mixin, {\n\n    /**\n     * Checks whether or not this component is mounted.\n     *\n     * @return {boolean} True if mounted, false otherwise.\n     * @final\n     * @protected\n     */\n    isMounted: function() {\n      return this._lifeCycleState === ComponentLifeCycle.MOUNTED;\n    },\n\n    /**\n     * Sets a subset of the props.\n     *\n     * @param {object} partialProps Subset of the next props.\n     * @param {?function} callback Called after props are updated.\n     * @final\n     * @public\n     */\n    setProps: function(partialProps, callback) {\n      // Merge with `_pendingProps` if it exists, otherwise with existing props.\n      this.replaceProps(\n        merge(this._pendingProps || this.props, partialProps),\n        callback\n      );\n    },\n\n    /**\n     * Replaces all of the props.\n     *\n     * @param {object} props New props.\n     * @param {?function} callback Called after props are updated.\n     * @final\n     * @public\n     */\n    replaceProps: function(props, callback) {\n      (\"production\" !== \"development\" ? invariant(\n        !this.props.__owner__,\n        'replaceProps(...): You called `setProps` or `replaceProps` on a ' +\n        'component with an owner. This is an anti-pattern since props will ' +\n        'get reactively updated when rendered. Instead, change the owner\\'s ' +\n        '`render` method to pass the correct value as props to the component ' +\n        'where it is created.'\n      ) : invariant(!this.props.__owner__));\n      (\"production\" !== \"development\" ? invariant(\n        this.isMounted(),\n        'replaceProps(...): Can only update a mounted component.'\n      ) : invariant(this.isMounted()));\n      this._pendingProps = props;\n      ReactUpdates.enqueueUpdate(this, callback);\n    },\n\n    /**\n     * Base constructor for all React component.\n     *\n     * Subclasses that override this method should make sure to invoke\n     * `ReactComponent.Mixin.construct.call(this, ...)`.\n     *\n     * @param {?object} initialProps\n     * @param {*} children\n     * @internal\n     */\n    construct: function(initialProps, children) {\n      this.props = initialProps || {};\n      // Record the component responsible for creating this component.\n      this.props.__owner__ = ReactCurrentOwner.current;\n      // All components start unmounted.\n      this._lifeCycleState = ComponentLifeCycle.UNMOUNTED;\n\n      this._pendingProps = null;\n      this._pendingCallbacks = null;\n\n      // Children can be more than one argument\n      var childrenLength = arguments.length - 1;\n      if (childrenLength === 1) {\n        if (\"production\" !== \"development\") {\n          validateChildKeys(children);\n        }\n        this.props.children = children;\n      } else if (childrenLength > 1) {\n        var childArray = Array(childrenLength);\n        for (var i = 0; i < childrenLength; i++) {\n          if (\"production\" !== \"development\") {\n            validateChildKeys(arguments[i + 1]);\n          }\n          childArray[i] = arguments[i + 1];\n        }\n        this.props.children = childArray;\n      }\n    },\n\n    /**\n     * Initializes the component, renders markup, and registers event listeners.\n     *\n     * NOTE: This does not insert any nodes into the DOM.\n     *\n     * Subclasses that override this method should make sure to invoke\n     * `ReactComponent.Mixin.mountComponent.call(this, ...)`.\n     *\n     * @param {string} rootID DOM ID of the root node.\n     * @param {ReactReconcileTransaction} transaction\n     * @param {number} mountDepth number of components in the owner hierarchy.\n     * @return {?string} Rendered markup to be inserted into the DOM.\n     * @internal\n     */\n    mountComponent: function(rootID, transaction, mountDepth) {\n      (\"production\" !== \"development\" ? invariant(\n        !this.isMounted(),\n        'mountComponent(%s, ...): Can only mount an unmounted component.',\n        rootID\n      ) : invariant(!this.isMounted()));\n      var props = this.props;\n      if (props.ref != null) {\n        ReactOwner.addComponentAsRefTo(this, props.ref, props.__owner__);\n      }\n      this._rootNodeID = rootID;\n      this._lifeCycleState = ComponentLifeCycle.MOUNTED;\n      this._mountDepth = mountDepth;\n      // Effectively: return '';\n    },\n\n    /**\n     * Releases any resources allocated by `mountComponent`.\n     *\n     * NOTE: This does not remove any nodes from the DOM.\n     *\n     * Subclasses that override this method should make sure to invoke\n     * `ReactComponent.Mixin.unmountComponent.call(this)`.\n     *\n     * @internal\n     */\n    unmountComponent: function() {\n      (\"production\" !== \"development\" ? invariant(\n        this.isMounted(),\n        'unmountComponent(): Can only unmount a mounted component.'\n      ) : invariant(this.isMounted()));\n      var props = this.props;\n      if (props.ref != null) {\n        ReactOwner.removeComponentAsRefFrom(this, props.ref, props.__owner__);\n      }\n      ReactComponent.unmountIDFromEnvironment(this._rootNodeID);\n      this._rootNodeID = null;\n      this._lifeCycleState = ComponentLifeCycle.UNMOUNTED;\n    },\n\n    /**\n     * Given a new instance of this component, updates the rendered DOM nodes\n     * as if that instance was rendered instead.\n     *\n     * Subclasses that override this method should make sure to invoke\n     * `ReactComponent.Mixin.receiveComponent.call(this, ...)`.\n     *\n     * @param {object} nextComponent Next set of properties.\n     * @param {ReactReconcileTransaction} transaction\n     * @internal\n     */\n    receiveComponent: function(nextComponent, transaction) {\n      (\"production\" !== \"development\" ? invariant(\n        this.isMounted(),\n        'receiveComponent(...): Can only update a mounted component.'\n      ) : invariant(this.isMounted()));\n      this._pendingProps = nextComponent.props;\n      this._performUpdateIfNecessary(transaction);\n    },\n\n    /**\n     * Call `_performUpdateIfNecessary` within a new transaction.\n     *\n     * @param {ReactReconcileTransaction} transaction\n     * @internal\n     */\n    performUpdateIfNecessary: function() {\n      var transaction = ReactComponent.ReactReconcileTransaction.getPooled();\n      transaction.perform(this._performUpdateIfNecessary, this, transaction);\n      ReactComponent.ReactReconcileTransaction.release(transaction);\n    },\n\n    /**\n     * If `_pendingProps` is set, update the component.\n     *\n     * @param {ReactReconcileTransaction} transaction\n     * @internal\n     */\n    _performUpdateIfNecessary: function(transaction) {\n      if (this._pendingProps == null) {\n        return;\n      }\n      var prevProps = this.props;\n      this.props = this._pendingProps;\n      this._pendingProps = null;\n      this.updateComponent(transaction, prevProps);\n    },\n\n    /**\n     * Updates the component's currently mounted representation.\n     *\n     * @param {ReactReconcileTransaction} transaction\n     * @param {object} prevProps\n     * @internal\n     */\n    updateComponent: function(transaction, prevProps) {\n      var props = this.props;\n      // If either the owner or a `ref` has changed, make sure the newest owner\n      // has stored a reference to `this`, and the previous owner (if different)\n      // has forgotten the reference to `this`.\n      if (props.__owner__ !== prevProps.__owner__ ||\n          props.ref !== prevProps.ref) {\n        if (prevProps.ref != null) {\n          ReactOwner.removeComponentAsRefFrom(\n            this, prevProps.ref, prevProps.__owner__\n          );\n        }\n        // Correct, even if the owner is the same, and only the ref has changed.\n        if (props.ref != null) {\n          ReactOwner.addComponentAsRefTo(this, props.ref, props.__owner__);\n        }\n      }\n    },\n\n    /**\n     * Mounts this component and inserts it into the DOM.\n     *\n     * @param {string} rootID DOM ID of the root node.\n     * @param {DOMElement} container DOM element to mount into.\n     * @param {boolean} shouldReuseMarkup If true, do not insert markup\n     * @final\n     * @internal\n     * @see {ReactMount.renderComponent}\n     */\n    mountComponentIntoNode: function(rootID, container, shouldReuseMarkup) {\n      var transaction = ReactComponent.ReactReconcileTransaction.getPooled();\n      transaction.perform(\n        this._mountComponentIntoNode,\n        this,\n        rootID,\n        container,\n        transaction,\n        shouldReuseMarkup\n      );\n      ReactComponent.ReactReconcileTransaction.release(transaction);\n    },\n\n    /**\n     * @param {string} rootID DOM ID of the root node.\n     * @param {DOMElement} container DOM element to mount into.\n     * @param {ReactReconcileTransaction} transaction\n     * @param {boolean} shouldReuseMarkup If true, do not insert markup\n     * @final\n     * @private\n     */\n    _mountComponentIntoNode: function(\n        rootID,\n        container,\n        transaction,\n        shouldReuseMarkup) {\n      var markup = this.mountComponent(rootID, transaction, 0);\n      ReactComponent.mountImageIntoNode(markup, container, shouldReuseMarkup);\n    },\n\n    /**\n     * Checks if this component is owned by the supplied `owner` component.\n     *\n     * @param {ReactComponent} owner Component to check.\n     * @return {boolean} True if `owners` owns this component.\n     * @final\n     * @internal\n     */\n    isOwnedBy: function(owner) {\n      return this.props.__owner__ === owner;\n    },\n\n    /**\n     * Gets another component, that shares the same owner as this one, by ref.\n     *\n     * @param {string} ref of a sibling Component.\n     * @return {?ReactComponent} the actual sibling Component.\n     * @final\n     * @internal\n     */\n    getSiblingByRef: function(ref) {\n      var owner = this.props.__owner__;\n      if (!owner || !owner.refs) {\n        return null;\n      }\n      return owner.refs[ref];\n    }\n  })\n};\n\nmodule.exports = ReactComponent;\n\n},{\"./ReactComponentEnvironment\":30,\"./ReactCurrentOwner\":32,\"./ReactOwner\":58,\"./ReactUpdates\":70,\"./invariant\":109,\"./keyMirror\":115,\"./merge\":118}],29:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactComponentBrowserEnvironment\n */\n\n/*jslint evil: true */\n\n\"use strict\";\n\nvar ReactDOMIDOperations = require(\"./ReactDOMIDOperations\");\nvar ReactMarkupChecksum = require(\"./ReactMarkupChecksum\");\nvar ReactMount = require(\"./ReactMount\");\nvar ReactReconcileTransaction = require(\"./ReactReconcileTransaction\");\n\nvar getReactRootElementInContainer = require(\"./getReactRootElementInContainer\");\nvar invariant = require(\"./invariant\");\nvar mutateHTMLNodeWithMarkup = require(\"./mutateHTMLNodeWithMarkup\");\n\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOC_NODE_TYPE = 9;\n\n\n/**\n * Abstracts away all functionality of `ReactComponent` requires knowledge of\n * the browser context.\n */\nvar ReactComponentBrowserEnvironment = {\n  /**\n   * Mixed into every component instance.\n   */\n  Mixin: {\n    /**\n     * Returns the DOM node rendered by this component.\n     *\n     * @return {DOMElement} The root node of this component.\n     * @final\n     * @protected\n     */\n    getDOMNode: function() {\n      (\"production\" !== \"development\" ? invariant(\n        this.isMounted(),\n        'getDOMNode(): A component must be mounted to have a DOM node.'\n      ) : invariant(this.isMounted()));\n      return ReactMount.getNode(this._rootNodeID);\n    }\n  },\n\n  ReactReconcileTransaction: ReactReconcileTransaction,\n\n  DOMIDOperations: ReactDOMIDOperations,\n\n  /**\n   * If a particular environment requires that some resources be cleaned up,\n   * specify this in the injected Mixin. In the DOM, we would likely want to\n   * purge any cached node ID lookups.\n   *\n   * @private\n   */\n  unmountIDFromEnvironment: function(rootNodeID) {\n    ReactMount.purgeID(rootNodeID);\n  },\n\n  /**\n   * @param {string} markup Markup string to place into the DOM Element.\n   * @param {DOMElement} container DOM Element to insert markup into.\n   * @param {boolean} shouldReuseMarkup Should reuse the existing markup in the\n   * container if possible.\n   */\n  mountImageIntoNode: function(markup, container, shouldReuseMarkup) {\n    (\"production\" !== \"development\" ? invariant(\n      container && (\n        container.nodeType === ELEMENT_NODE_TYPE ||\n        container.nodeType === DOC_NODE_TYPE && ReactMount.allowFullPageRender\n      ),\n      'mountComponentIntoNode(...): Target container is not valid.'\n    ) : invariant(container && (\n      container.nodeType === ELEMENT_NODE_TYPE ||\n      container.nodeType === DOC_NODE_TYPE && ReactMount.allowFullPageRender\n    )));\n    if (shouldReuseMarkup) {\n      if (ReactMarkupChecksum.canReuseMarkup(\n            markup,\n            getReactRootElementInContainer(container))) {\n        return;\n      } else {\n        if (\"production\" !== \"development\") {\n          console.warn(\n            'React attempted to use reuse markup in a container but the ' +\n            'checksum was invalid. This generally means that you are using ' +\n            'server rendering and the markup generated on the server was ' +\n            'not what the client was expecting. React injected new markup ' +\n            'to compensate which works but you have lost many of the ' +\n            'benefits of server rendering. Instead, figure out why the ' +\n            'markup being generated is different on the client or server.'\n          );\n        }\n      }\n    }\n\n    // You can't naively set the innerHTML of the entire document. You need\n    // to mutate documentElement which requires doing some crazy tricks. See\n    // mutateHTMLNodeWithMarkup()\n    if (container.nodeType === DOC_NODE_TYPE) {\n      mutateHTMLNodeWithMarkup(container.documentElement, markup);\n      return;\n    }\n\n    // Asynchronously inject markup by ensuring that the container is not in\n    // the document when settings its `innerHTML`.\n    var parent = container.parentNode;\n    if (parent) {\n      var next = container.nextSibling;\n      parent.removeChild(container);\n      container.innerHTML = markup;\n      if (next) {\n        parent.insertBefore(container, next);\n      } else {\n        parent.appendChild(container);\n      }\n    } else {\n      container.innerHTML = markup;\n    }\n  }\n};\n\nmodule.exports = ReactComponentBrowserEnvironment;\n\n},{\"./ReactDOMIDOperations\":37,\"./ReactMarkupChecksum\":53,\"./ReactMount\":54,\"./ReactReconcileTransaction\":62,\"./getReactRootElementInContainer\":105,\"./invariant\":109,\"./mutateHTMLNodeWithMarkup\":122}],30:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactComponentEnvironment\n */\n\nvar ReactComponentBrowserEnvironment =\n  require(\"./ReactComponentBrowserEnvironment\");\n\nvar ReactComponentEnvironment = ReactComponentBrowserEnvironment;\n\nmodule.exports = ReactComponentEnvironment;\n\n},{\"./ReactComponentBrowserEnvironment\":29}],31:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactCompositeComponent\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactCurrentOwner = require(\"./ReactCurrentOwner\");\nvar ReactErrorUtils = require(\"./ReactErrorUtils\");\nvar ReactOwner = require(\"./ReactOwner\");\nvar ReactPerf = require(\"./ReactPerf\");\nvar ReactPropTransferer = require(\"./ReactPropTransferer\");\nvar ReactUpdates = require(\"./ReactUpdates\");\n\nvar invariant = require(\"./invariant\");\nvar keyMirror = require(\"./keyMirror\");\nvar merge = require(\"./merge\");\nvar mixInto = require(\"./mixInto\");\nvar objMap = require(\"./objMap\");\n\n/**\n * Policies that describe methods in `ReactCompositeComponentInterface`.\n */\nvar SpecPolicy = keyMirror({\n  /**\n   * These methods may be defined only once by the class specification or mixin.\n   */\n  DEFINE_ONCE: null,\n  /**\n   * These methods may be defined by both the class specification and mixins.\n   * Subsequent definitions will be chained. These methods must return void.\n   */\n  DEFINE_MANY: null,\n  /**\n   * These methods are overriding the base ReactCompositeComponent class.\n   */\n  OVERRIDE_BASE: null,\n  /**\n   * These methods are similar to DEFINE_MANY, except we assume they return\n   * objects. We try to merge the keys of the return values of all the mixed in\n   * functions. If there is a key conflict we throw.\n   */\n  DEFINE_MANY_MERGED: null\n});\n\n/**\n * Composite components are higher-level components that compose other composite\n * or native components.\n *\n * To create a new type of `ReactCompositeComponent`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n *   var MyComponent = React.createClass({\n *     render: function() {\n *       return <div>Hello World</div>;\n *     }\n *   });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactCompositeComponentInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will available on the prototype.\n *\n * @interface ReactCompositeComponentInterface\n * @internal\n */\nvar ReactCompositeComponentInterface = {\n\n  /**\n   * An array of Mixin objects to include when defining your component.\n   *\n   * @type {array}\n   * @optional\n   */\n  mixins: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Definition of prop types for this component.\n   *\n   * @type {object}\n   * @optional\n   */\n  propTypes: SpecPolicy.DEFINE_ONCE,\n\n\n\n  // ==== Definition methods ====\n\n  /**\n   * Invoked when the component is mounted. Values in the mapping will be set on\n   * `this.props` if that prop is not specified (i.e. using an `in` check).\n   *\n   * This method is invoked before `getInitialState` and therefore cannot rely\n   * on `this.state` or use `this.setState`.\n   *\n   * @return {object}\n   * @optional\n   */\n  getDefaultProps: SpecPolicy.DEFINE_MANY_MERGED,\n\n  /**\n   * Invoked once before the component is mounted. The return value will be used\n   * as the initial value of `this.state`.\n   *\n   *   getInitialState: function() {\n   *     return {\n   *       isOn: false,\n   *       fooBaz: new BazFoo()\n   *     }\n   *   }\n   *\n   * @return {object}\n   * @optional\n   */\n  getInitialState: SpecPolicy.DEFINE_MANY_MERGED,\n\n  /**\n   * Uses props from `this.props` and state from `this.state` to render the\n   * structure of the component.\n   *\n   * No guarantees are made about when or how often this method is invoked, so\n   * it must not have side effects.\n   *\n   *   render: function() {\n   *     var name = this.props.name;\n   *     return <div>Hello, {name}!</div>;\n   *   }\n   *\n   * @return {ReactComponent}\n   * @nosideeffects\n   * @required\n   */\n  render: SpecPolicy.DEFINE_ONCE,\n\n\n\n  // ==== Delegate methods ====\n\n  /**\n   * Invoked when the component is initially created and about to be mounted.\n   * This may have side effects, but any external subscriptions or data created\n   * by this method must be cleaned up in `componentWillUnmount`.\n   *\n   * @optional\n   */\n  componentWillMount: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked when the component has been mounted and has a DOM representation.\n   * However, there is no guarantee that the DOM node is in the document.\n   *\n   * Use this as an opportunity to operate on the DOM when the component has\n   * been mounted (initialized and rendered) for the first time.\n   *\n   * @param {DOMElement} rootNode DOM element representing the component.\n   * @optional\n   */\n  componentDidMount: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked before the component receives new props.\n   *\n   * Use this as an opportunity to react to a prop transition by updating the\n   * state using `this.setState`. Current props are accessed via `this.props`.\n   *\n   *   componentWillReceiveProps: function(nextProps) {\n   *     this.setState({\n   *       likesIncreasing: nextProps.likeCount > this.props.likeCount\n   *     });\n   *   }\n   *\n   * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n   * transition may cause a state change, but the opposite is not true. If you\n   * need it, you are probably looking for `componentWillUpdate`.\n   *\n   * @param {object} nextProps\n   * @optional\n   */\n  componentWillReceiveProps: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked while deciding if the component should be updated as a result of\n   * receiving new props and state.\n   *\n   * Use this as an opportunity to `return false` when you're certain that the\n   * transition to the new props and state will not require a component update.\n   *\n   *   shouldComponentUpdate: function(nextProps, nextState) {\n   *     return !equal(nextProps, this.props) || !equal(nextState, this.state);\n   *   }\n   *\n   * @param {object} nextProps\n   * @param {?object} nextState\n   * @return {boolean} True if the component should update.\n   * @optional\n   */\n  shouldComponentUpdate: SpecPolicy.DEFINE_ONCE,\n\n  /**\n   * Invoked when the component is about to update due to a transition from\n   * `this.props` and `this.state` to `nextProps` and `nextState`.\n   *\n   * Use this as an opportunity to perform preparation before an update occurs.\n   *\n   * NOTE: You **cannot** use `this.setState()` in this method.\n   *\n   * @param {object} nextProps\n   * @param {?object} nextState\n   * @param {ReactReconcileTransaction} transaction\n   * @optional\n   */\n  componentWillUpdate: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked when the component's DOM representation has been updated.\n   *\n   * Use this as an opportunity to operate on the DOM when the component has\n   * been updated.\n   *\n   * @param {object} prevProps\n   * @param {?object} prevState\n   * @param {DOMElement} rootNode DOM element representing the component.\n   * @optional\n   */\n  componentDidUpdate: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked when the component is about to be removed from its parent and have\n   * its DOM representation destroyed.\n   *\n   * Use this as an opportunity to deallocate any external resources.\n   *\n   * NOTE: There is no `componentDidUnmount` since your component will have been\n   * destroyed by that point.\n   *\n   * @optional\n   */\n  componentWillUnmount: SpecPolicy.DEFINE_MANY,\n\n\n\n  // ==== Advanced methods ====\n\n  /**\n   * Updates the component's currently mounted DOM representation.\n   *\n   * By default, this implements React's rendering and reconciliation algorithm.\n   * Sophisticated clients may wish to override this.\n   *\n   * @param {ReactReconcileTransaction} transaction\n   * @internal\n   * @overridable\n   */\n  updateComponent: SpecPolicy.OVERRIDE_BASE\n\n};\n\n/**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared in the specification when defining classes\n * using `React.createClass`, they will not be on the component's prototype.\n */\nvar RESERVED_SPEC_KEYS = {\n  displayName: function(Constructor, displayName) {\n    Constructor.displayName = displayName;\n  },\n  mixins: function(Constructor, mixins) {\n    if (mixins) {\n      for (var i = 0; i < mixins.length; i++) {\n        mixSpecIntoComponent(Constructor, mixins[i]);\n      }\n    }\n  },\n  propTypes: function(Constructor, propTypes) {\n    Constructor.propTypes = propTypes;\n  }\n};\n\nfunction validateMethodOverride(proto, name) {\n  var specPolicy = ReactCompositeComponentInterface[name];\n\n  // Disallow overriding of base class methods unless explicitly allowed.\n  if (ReactCompositeComponentMixin.hasOwnProperty(name)) {\n    (\"production\" !== \"development\" ? invariant(\n      specPolicy === SpecPolicy.OVERRIDE_BASE,\n      'ReactCompositeComponentInterface: You are attempting to override ' +\n      '`%s` from your class specification. Ensure that your method names ' +\n      'do not overlap with React methods.',\n      name\n    ) : invariant(specPolicy === SpecPolicy.OVERRIDE_BASE));\n  }\n\n  // Disallow defining methods more than once unless explicitly allowed.\n  if (proto.hasOwnProperty(name)) {\n    (\"production\" !== \"development\" ? invariant(\n      specPolicy === SpecPolicy.DEFINE_MANY ||\n      specPolicy === SpecPolicy.DEFINE_MANY_MERGED,\n      'ReactCompositeComponentInterface: You are attempting to define ' +\n      '`%s` on your component more than once. This conflict may be due ' +\n      'to a mixin.',\n      name\n    ) : invariant(specPolicy === SpecPolicy.DEFINE_MANY ||\n    specPolicy === SpecPolicy.DEFINE_MANY_MERGED));\n  }\n}\n\n\nfunction validateLifeCycleOnReplaceState(instance) {\n  var compositeLifeCycleState = instance._compositeLifeCycleState;\n  (\"production\" !== \"development\" ? invariant(\n    instance.isMounted() ||\n      compositeLifeCycleState === CompositeLifeCycle.MOUNTING,\n    'replaceState(...): Can only update a mounted or mounting component.'\n  ) : invariant(instance.isMounted() ||\n    compositeLifeCycleState === CompositeLifeCycle.MOUNTING));\n  (\"production\" !== \"development\" ? invariant(compositeLifeCycleState !== CompositeLifeCycle.RECEIVING_STATE,\n    'replaceState(...): Cannot update during an existing state transition ' +\n    '(such as within `render`). This could potentially cause an infinite ' +\n    'loop so it is forbidden.'\n  ) : invariant(compositeLifeCycleState !== CompositeLifeCycle.RECEIVING_STATE));\n  (\"production\" !== \"development\" ? invariant(compositeLifeCycleState !== CompositeLifeCycle.UNMOUNTING,\n    'replaceState(...): Cannot update while unmounting component. This ' +\n    'usually means you called setState() on an unmounted component.'\n  ) : invariant(compositeLifeCycleState !== CompositeLifeCycle.UNMOUNTING));\n}\n\n/**\n * Custom version of `mixInto` which handles policy validation and reserved\n * specification keys when building `ReactCompositeComponent` classses.\n */\nfunction mixSpecIntoComponent(Constructor, spec) {\n  var proto = Constructor.prototype;\n  for (var name in spec) {\n    var property = spec[name];\n    if (!spec.hasOwnProperty(name) || !property) {\n      continue;\n    }\n    validateMethodOverride(proto, name);\n\n    if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n      RESERVED_SPEC_KEYS[name](Constructor, property);\n    } else {\n      // Setup methods on prototype:\n      // The following member methods should not be automatically bound:\n      // 1. Expected ReactCompositeComponent methods (in the \"interface\").\n      // 2. Overridden methods (that were mixed in).\n      var isCompositeComponentMethod = name in ReactCompositeComponentInterface;\n      var isInherited = name in proto;\n      var markedDontBind = property.__reactDontBind;\n      var isFunction = typeof property === 'function';\n      var shouldAutoBind =\n        isFunction &&\n        !isCompositeComponentMethod &&\n        !isInherited &&\n        !markedDontBind;\n\n      if (shouldAutoBind) {\n        if (!proto.__reactAutoBindMap) {\n          proto.__reactAutoBindMap = {};\n        }\n        proto.__reactAutoBindMap[name] = property;\n        proto[name] = property;\n      } else {\n        if (isInherited) {\n          // For methods which are defined more than once, call the existing\n          // methods before calling the new property.\n          if (ReactCompositeComponentInterface[name] ===\n              SpecPolicy.DEFINE_MANY_MERGED) {\n            proto[name] = createMergedResultFunction(proto[name], property);\n          } else {\n            proto[name] = createChainedFunction(proto[name], property);\n          }\n        } else {\n          proto[name] = property;\n        }\n      }\n    }\n  }\n}\n\n/**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\nfunction mergeObjectsWithNoDuplicateKeys(one, two) {\n  (\"production\" !== \"development\" ? invariant(\n    one && two && typeof one === 'object' && typeof two === 'object',\n    'mergeObjectsWithNoDuplicateKeys(): Cannot merge non-objects'\n  ) : invariant(one && two && typeof one === 'object' && typeof two === 'object'));\n\n  objMap(two, function(value, key) {\n    (\"production\" !== \"development\" ? invariant(\n      one[key] === undefined,\n      'mergeObjectsWithNoDuplicateKeys(): ' +\n      'Tried to merge two objects with the same key: %s',\n      key\n    ) : invariant(one[key] === undefined));\n    one[key] = value;\n  });\n  return one;\n}\n\n/**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createMergedResultFunction(one, two) {\n  return function mergedResult() {\n    return mergeObjectsWithNoDuplicateKeys(\n      one.apply(this, arguments),\n      two.apply(this, arguments)\n    );\n  };\n}\n\n/**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createChainedFunction(one, two) {\n  return function chainedFunction() {\n    one.apply(this, arguments);\n    two.apply(this, arguments);\n  };\n}\n\n/**\n * `ReactCompositeComponent` maintains an auxiliary life cycle state in\n * `this._compositeLifeCycleState` (which can be null).\n *\n * This is different from the life cycle state maintained by `ReactComponent` in\n * `this._lifeCycleState`. The following diagram shows how the states overlap in\n * time. There are times when the CompositeLifeCycle is null - at those times it\n * is only meaningful to look at ComponentLifeCycle alone.\n *\n * Top Row: ReactComponent.ComponentLifeCycle\n * Low Row: ReactComponent.CompositeLifeCycle\n *\n * +-------+------------------------------------------------------+--------+\n * |  UN   |                    MOUNTED                           |   UN   |\n * |MOUNTED|                                                      | MOUNTED|\n * +-------+------------------------------------------------------+--------+\n * |       ^--------+   +------+   +------+   +------+   +--------^        |\n * |       |        |   |      |   |      |   |      |   |        |        |\n * |    0--|MOUNTING|-0-|RECEIV|-0-|RECEIV|-0-|RECEIV|-0-|   UN   |--->0   |\n * |       |        |   |PROPS |   | PROPS|   | STATE|   |MOUNTING|        |\n * |       |        |   |      |   |      |   |      |   |        |        |\n * |       |        |   |      |   |      |   |      |   |        |        |\n * |       +--------+   +------+   +------+   +------+   +--------+        |\n * |       |                                                      |        |\n * +-------+------------------------------------------------------+--------+\n */\nvar CompositeLifeCycle = keyMirror({\n  /**\n   * Components in the process of being mounted respond to state changes\n   * differently.\n   */\n  MOUNTING: null,\n  /**\n   * Components in the process of being unmounted are guarded against state\n   * changes.\n   */\n  UNMOUNTING: null,\n  /**\n   * Components that are mounted and receiving new props respond to state\n   * changes differently.\n   */\n  RECEIVING_PROPS: null,\n  /**\n   * Components that are mounted and receiving new state are guarded against\n   * additional state changes.\n   */\n  RECEIVING_STATE: null\n});\n\n/**\n * @lends {ReactCompositeComponent.prototype}\n */\nvar ReactCompositeComponentMixin = {\n\n  /**\n   * Base constructor for all composite component.\n   *\n   * @param {?object} initialProps\n   * @param {*} children\n   * @final\n   * @internal\n   */\n  construct: function(initialProps, children) {\n    // Children can be either an array or more than one argument\n    ReactComponent.Mixin.construct.apply(this, arguments);\n    this.state = null;\n    this._pendingState = null;\n    this._compositeLifeCycleState = null;\n  },\n\n  /**\n   * Checks whether or not this composite component is mounted.\n   * @return {boolean} True if mounted, false otherwise.\n   * @protected\n   * @final\n   */\n  isMounted: function() {\n    return ReactComponent.Mixin.isMounted.call(this) &&\n      this._compositeLifeCycleState !== CompositeLifeCycle.MOUNTING;\n  },\n\n  /**\n   * Initializes the component, renders markup, and registers event listeners.\n   *\n   * @param {string} rootID DOM ID of the root node.\n   * @param {ReactReconcileTransaction} transaction\n   * @param {number} mountDepth number of components in the owner hierarchy\n   * @return {?string} Rendered markup to be inserted into the DOM.\n   * @final\n   * @internal\n   */\n  mountComponent: ReactPerf.measure(\n    'ReactCompositeComponent',\n    'mountComponent',\n    function(rootID, transaction, mountDepth) {\n      ReactComponent.Mixin.mountComponent.call(\n        this,\n        rootID,\n        transaction,\n        mountDepth\n      );\n      this._compositeLifeCycleState = CompositeLifeCycle.MOUNTING;\n\n      this._defaultProps = this.getDefaultProps ? this.getDefaultProps() : null;\n      this._processProps(this.props);\n\n      if (this.__reactAutoBindMap) {\n        this._bindAutoBindMethods();\n      }\n\n      this.state = this.getInitialState ? this.getInitialState() : null;\n      this._pendingState = null;\n      this._pendingForceUpdate = false;\n\n      if (this.componentWillMount) {\n        this.componentWillMount();\n        // When mounting, calls to `setState` by `componentWillMount` will set\n        // `this._pendingState` without triggering a re-render.\n        if (this._pendingState) {\n          this.state = this._pendingState;\n          this._pendingState = null;\n        }\n      }\n\n      this._renderedComponent = this._renderValidatedComponent();\n\n      // Done with mounting, `setState` will now trigger UI changes.\n      this._compositeLifeCycleState = null;\n      var markup = this._renderedComponent.mountComponent(\n        rootID,\n        transaction,\n        mountDepth + 1\n      );\n      if (this.componentDidMount) {\n        transaction.getReactMountReady().enqueue(this, this.componentDidMount);\n      }\n      return markup;\n    }\n  ),\n\n  /**\n   * Releases any resources allocated by `mountComponent`.\n   *\n   * @final\n   * @internal\n   */\n  unmountComponent: function() {\n    this._compositeLifeCycleState = CompositeLifeCycle.UNMOUNTING;\n    if (this.componentWillUnmount) {\n      this.componentWillUnmount();\n    }\n    this._compositeLifeCycleState = null;\n\n    this._defaultProps = null;\n\n    ReactComponent.Mixin.unmountComponent.call(this);\n    this._renderedComponent.unmountComponent();\n    this._renderedComponent = null;\n\n    if (this.refs) {\n      this.refs = null;\n    }\n\n    // Some existing components rely on this.props even after they've been\n    // destroyed (in event handlers).\n    // TODO: this.props = null;\n    // TODO: this.state = null;\n  },\n\n  /**\n   * Sets a subset of the state. Always use this or `replaceState` to mutate\n   * state. You should treat `this.state` as immutable.\n   *\n   * There is no guarantee that `this.state` will be immediately updated, so\n   * accessing `this.state` after calling this method may return the old value.\n   *\n   * There is no guarantee that calls to `setState` will run synchronously,\n   * as they may eventually be batched together.  You can provide an optional\n   * callback that will be executed when the call to setState is actually\n   * completed.\n   *\n   * @param {object} partialState Next partial state to be merged with state.\n   * @param {?function} callback Called after state is updated.\n   * @final\n   * @protected\n   */\n  setState: function(partialState, callback) {\n    // Merge with `_pendingState` if it exists, otherwise with existing state.\n    this.replaceState(\n      merge(this._pendingState || this.state, partialState),\n      callback\n    );\n  },\n\n  /**\n   * Replaces all of the state. Always use this or `setState` to mutate state.\n   * You should treat `this.state` as immutable.\n   *\n   * There is no guarantee that `this.state` will be immediately updated, so\n   * accessing `this.state` after calling this method may return the old value.\n   *\n   * @param {object} completeState Next state.\n   * @param {?function} callback Called after state is updated.\n   * @final\n   * @protected\n   */\n  replaceState: function(completeState, callback) {\n    validateLifeCycleOnReplaceState(this);\n    this._pendingState = completeState;\n    ReactUpdates.enqueueUpdate(this, callback);\n  },\n\n  /**\n   * Processes props by setting default values for unspecified props and\n   * asserting that the props are valid.\n   *\n   * @param {object} props\n   * @private\n   */\n  _processProps: function(props) {\n    var propName;\n    var defaultProps = this._defaultProps;\n    for (propName in defaultProps) {\n      if (!(propName in props)) {\n        props[propName] = defaultProps[propName];\n      }\n    }\n    var propTypes = this.constructor.propTypes;\n    if (propTypes) {\n      var componentName = this.constructor.displayName;\n      for (propName in propTypes) {\n        var checkProp = propTypes[propName];\n        if (checkProp) {\n          checkProp(props, propName, componentName);\n        }\n      }\n    }\n  },\n\n  performUpdateIfNecessary: function() {\n    var compositeLifeCycleState = this._compositeLifeCycleState;\n    // Do not trigger a state transition if we are in the middle of mounting or\n    // receiving props because both of those will already be doing this.\n    if (compositeLifeCycleState === CompositeLifeCycle.MOUNTING ||\n        compositeLifeCycleState === CompositeLifeCycle.RECEIVING_PROPS) {\n      return;\n    }\n    ReactComponent.Mixin.performUpdateIfNecessary.call(this);\n  },\n\n  /**\n   * If any of `_pendingProps`, `_pendingState`, or `_pendingForceUpdate` is\n   * set, update the component.\n   *\n   * @param {ReactReconcileTransaction} transaction\n   * @internal\n   */\n  _performUpdateIfNecessary: function(transaction) {\n    if (this._pendingProps == null &&\n        this._pendingState == null &&\n        !this._pendingForceUpdate) {\n      return;\n    }\n\n    var nextProps = this.props;\n    if (this._pendingProps != null) {\n      nextProps = this._pendingProps;\n      this._processProps(nextProps);\n      this._pendingProps = null;\n\n      this._compositeLifeCycleState = CompositeLifeCycle.RECEIVING_PROPS;\n      if (this.componentWillReceiveProps) {\n        this.componentWillReceiveProps(nextProps, transaction);\n      }\n    }\n\n    this._compositeLifeCycleState = CompositeLifeCycle.RECEIVING_STATE;\n\n    var nextState = this._pendingState || this.state;\n    this._pendingState = null;\n\n    if (this._pendingForceUpdate ||\n        !this.shouldComponentUpdate ||\n        this.shouldComponentUpdate(nextProps, nextState)) {\n      this._pendingForceUpdate = false;\n      // Will set `this.props` and `this.state`.\n      this._performComponentUpdate(nextProps, nextState, transaction);\n    } else {\n      // If it's determined that a component should not update, we still want\n      // to set props and state.\n      this.props = nextProps;\n      this.state = nextState;\n    }\n\n    this._compositeLifeCycleState = null;\n  },\n\n  /**\n   * Merges new props and state, notifies delegate methods of update and\n   * performs update.\n   *\n   * @param {object} nextProps Next object to set as properties.\n   * @param {?object} nextState Next object to set as state.\n   * @param {ReactReconcileTransaction} transaction\n   * @private\n   */\n  _performComponentUpdate: function(nextProps, nextState, transaction) {\n    var prevProps = this.props;\n    var prevState = this.state;\n\n    if (this.componentWillUpdate) {\n      this.componentWillUpdate(nextProps, nextState, transaction);\n    }\n\n    this.props = nextProps;\n    this.state = nextState;\n\n    this.updateComponent(transaction, prevProps, prevState);\n\n    if (this.componentDidUpdate) {\n      transaction.getReactMountReady().enqueue(\n        this,\n        this.componentDidUpdate.bind(this, prevProps, prevState)\n      );\n    }\n  },\n\n  /**\n   * Updates the component's currently mounted DOM representation.\n   *\n   * By default, this implements React's rendering and reconciliation algorithm.\n   * Sophisticated clients may wish to override this.\n   *\n   * @param {ReactReconcileTransaction} transaction\n   * @param {object} prevProps\n   * @param {?object} prevState\n   * @internal\n   * @overridable\n   */\n  updateComponent: ReactPerf.measure(\n    'ReactCompositeComponent',\n    'updateComponent',\n    function(transaction, prevProps, prevState) {\n      ReactComponent.Mixin.updateComponent.call(this, transaction, prevProps);\n      var currentComponent = this._renderedComponent;\n      var nextComponent = this._renderValidatedComponent();\n      if (currentComponent.constructor === nextComponent.constructor) {\n        currentComponent.receiveComponent(nextComponent, transaction);\n      } else {\n        // These two IDs are actually the same! But nothing should rely on that.\n        var thisID = this._rootNodeID;\n        var currentComponentID = currentComponent._rootNodeID;\n        currentComponent.unmountComponent();\n        this._renderedComponent = nextComponent;\n        var nextMarkup = nextComponent.mountComponent(\n          thisID,\n          transaction,\n          this._mountDepth + 1\n        );\n        ReactComponent.DOMIDOperations.dangerouslyReplaceNodeWithMarkupByID(\n          currentComponentID,\n          nextMarkup\n        );\n      }\n    }\n  ),\n\n  /**\n   * Forces an update. This should only be invoked when it is known with\n   * certainty that we are **not** in a DOM transaction.\n   *\n   * You may want to call this when you know that some deeper aspect of the\n   * component's state has changed but `setState` was not called.\n   *\n   * This will not invoke `shouldUpdateComponent`, but it will invoke\n   * `componentWillUpdate` and `componentDidUpdate`.\n   *\n   * @param {?function} callback Called after update is complete.\n   * @final\n   * @protected\n   */\n  forceUpdate: function(callback) {\n    var compositeLifeCycleState = this._compositeLifeCycleState;\n    (\"production\" !== \"development\" ? invariant(\n      this.isMounted() ||\n        compositeLifeCycleState === CompositeLifeCycle.MOUNTING,\n      'forceUpdate(...): Can only force an update on mounted or mounting ' +\n        'components.'\n    ) : invariant(this.isMounted() ||\n      compositeLifeCycleState === CompositeLifeCycle.MOUNTING));\n    (\"production\" !== \"development\" ? invariant(\n      compositeLifeCycleState !== CompositeLifeCycle.RECEIVING_STATE &&\n      compositeLifeCycleState !== CompositeLifeCycle.UNMOUNTING,\n      'forceUpdate(...): Cannot force an update while unmounting component ' +\n      'or during an existing state transition (such as within `render`).'\n    ) : invariant(compositeLifeCycleState !== CompositeLifeCycle.RECEIVING_STATE &&\n    compositeLifeCycleState !== CompositeLifeCycle.UNMOUNTING));\n    this._pendingForceUpdate = true;\n    ReactUpdates.enqueueUpdate(this, callback);\n  },\n\n  /**\n   * @private\n   */\n  _renderValidatedComponent: function() {\n    var renderedComponent;\n    ReactCurrentOwner.current = this;\n    try {\n      renderedComponent = this.render();\n    } catch (error) {\n      // IE8 requires `catch` in order to use `finally`.\n      throw error;\n    } finally {\n      ReactCurrentOwner.current = null;\n    }\n    (\"production\" !== \"development\" ? invariant(\n      ReactComponent.isValidComponent(renderedComponent),\n      '%s.render(): A valid ReactComponent must be returned. You may have ' +\n      'returned null, undefined, an array, or some other invalid object.',\n      this.constructor.displayName || 'ReactCompositeComponent'\n    ) : invariant(ReactComponent.isValidComponent(renderedComponent)));\n    return renderedComponent;\n  },\n\n  /**\n   * @private\n   */\n  _bindAutoBindMethods: function() {\n    for (var autoBindKey in this.__reactAutoBindMap) {\n      if (!this.__reactAutoBindMap.hasOwnProperty(autoBindKey)) {\n        continue;\n      }\n      var method = this.__reactAutoBindMap[autoBindKey];\n      this[autoBindKey] = this._bindAutoBindMethod(ReactErrorUtils.guard(\n        method,\n        this.constructor.displayName + '.' + autoBindKey\n      ));\n    }\n  },\n\n  /**\n   * Binds a method to the component.\n   *\n   * @param {function} method Method to be bound.\n   * @private\n   */\n  _bindAutoBindMethod: function(method) {\n    var component = this;\n    var boundMethod = function() {\n      return method.apply(component, arguments);\n    };\n    if (\"production\" !== \"development\") {\n      boundMethod.__reactBoundContext = component;\n      boundMethod.__reactBoundMethod = method;\n      boundMethod.__reactBoundArguments = null;\n      var componentName = component.constructor.displayName;\n      var _bind = boundMethod.bind;\n      boundMethod.bind = function(newThis) {\n        // User is trying to bind() an autobound method; we effectively will\n        // ignore the value of \"this\" that the user is trying to use, so\n        // let's warn.\n        if (newThis !== component && newThis !== null) {\n          console.warn(\n            'bind(): React component methods may only be bound to the ' +\n            'component instance. See ' + componentName\n          );\n        } else if (arguments.length === 1) {\n          console.warn(\n            'bind(): You are binding a component method to the component. ' +\n            'React does this for you automatically in a high-performance ' +\n            'way, so you can safely remove this call. See ' + componentName\n          );\n          return boundMethod;\n        }\n        var reboundMethod = _bind.apply(boundMethod, arguments);\n        reboundMethod.__reactBoundContext = component;\n        reboundMethod.__reactBoundMethod = method;\n        reboundMethod.__reactBoundArguments =\n          Array.prototype.slice.call(arguments, 1);\n        return reboundMethod;\n      };\n    }\n    return boundMethod;\n  }\n};\n\nvar ReactCompositeComponentBase = function() {};\nmixInto(ReactCompositeComponentBase, ReactComponent.Mixin);\nmixInto(ReactCompositeComponentBase, ReactOwner.Mixin);\nmixInto(ReactCompositeComponentBase, ReactPropTransferer.Mixin);\nmixInto(ReactCompositeComponentBase, ReactCompositeComponentMixin);\n\n/**\n * Module for creating composite components.\n *\n * @class ReactCompositeComponent\n * @extends ReactComponent\n * @extends ReactOwner\n * @extends ReactPropTransferer\n */\nvar ReactCompositeComponent = {\n\n  LifeCycle: CompositeLifeCycle,\n\n  Base: ReactCompositeComponentBase,\n\n  /**\n   * Creates a composite component class given a class specification.\n   *\n   * @param {object} spec Class specification (which must define `render`).\n   * @return {function} Component constructor function.\n   * @public\n   */\n  createClass: function(spec) {\n    var Constructor = function() {};\n    Constructor.prototype = new ReactCompositeComponentBase();\n    Constructor.prototype.constructor = Constructor;\n    mixSpecIntoComponent(Constructor, spec);\n\n    (\"production\" !== \"development\" ? invariant(\n      Constructor.prototype.render,\n      'createClass(...): Class specification must implement a `render` method.'\n    ) : invariant(Constructor.prototype.render));\n\n    if (\"production\" !== \"development\") {\n      if (Constructor.prototype.componentShouldUpdate) {\n        console.warn(\n          (spec.displayName || 'A component') + ' has a method called ' +\n          'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +\n          'The name is phrased as a question because the function is ' +\n          'expected to return a value.'\n         );\n      }\n    }\n\n    // Reduce time spent doing lookups by setting these on the prototype.\n    for (var methodName in ReactCompositeComponentInterface) {\n      if (!Constructor.prototype[methodName]) {\n        Constructor.prototype[methodName] = null;\n      }\n    }\n\n    var ConvenienceConstructor = function(props, children) {\n      var instance = new Constructor();\n      instance.construct.apply(instance, arguments);\n      return instance;\n    };\n    ConvenienceConstructor.componentConstructor = Constructor;\n    ConvenienceConstructor.originalSpec = spec;\n    return ConvenienceConstructor;\n  },\n\n  /**\n   * Checks if a value is a valid component constructor.\n   *\n   * @param {*}\n   * @return {boolean}\n   * @public\n   */\n  isValidClass: function(componentClass) {\n    return componentClass instanceof Function &&\n           'componentConstructor' in componentClass &&\n           componentClass.componentConstructor instanceof Function;\n  }\n};\n\nmodule.exports = ReactCompositeComponent;\n\n},{\"./ReactComponent\":28,\"./ReactCurrentOwner\":32,\"./ReactErrorUtils\":46,\"./ReactOwner\":58,\"./ReactPerf\":59,\"./ReactPropTransferer\":60,\"./ReactUpdates\":70,\"./invariant\":109,\"./keyMirror\":115,\"./merge\":118,\"./mixInto\":121,\"./objMap\":123}],32:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactCurrentOwner\n */\n\n\"use strict\";\n\n/**\n * Keeps track of the current owner.\n *\n * The current owner is the component who should own any components that are\n * currently being constructed.\n *\n * The depth indicate how many composite components are above this render level.\n */\nvar ReactCurrentOwner = {\n\n  /**\n   * @internal\n   * @type {ReactComponent}\n   */\n  current: null\n\n};\n\nmodule.exports = ReactCurrentOwner;\n\n},{}],33:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOM\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactDOMComponent = require(\"./ReactDOMComponent\");\n\nvar mergeInto = require(\"./mergeInto\");\nvar objMapKeyVal = require(\"./objMapKeyVal\");\n\n/**\n * Creates a new React class that is idempotent and capable of containing other\n * React components. It accepts event listeners and DOM properties that are\n * valid according to `DOMProperty`.\n *\n *  - Event listeners: `onClick`, `onMouseDown`, etc.\n *  - DOM properties: `className`, `name`, `title`, etc.\n *\n * The `style` property functions differently from the DOM API. It accepts an\n * object mapping of style properties to values.\n *\n * @param {string} tag Tag name (e.g. `div`).\n * @param {boolean} omitClose True if the close tag should be omitted.\n * @private\n */\nfunction createDOMComponentClass(tag, omitClose) {\n  var Constructor = function() {};\n  Constructor.prototype = new ReactDOMComponent(tag, omitClose);\n  Constructor.prototype.constructor = Constructor;\n  Constructor.displayName = tag;\n\n  var ConvenienceConstructor = function(props, children) {\n    var instance = new Constructor();\n    instance.construct.apply(instance, arguments);\n    return instance;\n  };\n  ConvenienceConstructor.componentConstructor = Constructor;\n  return ConvenienceConstructor;\n}\n\n/**\n * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes.\n * This is also accessible via `React.DOM`.\n *\n * @public\n */\nvar ReactDOM = objMapKeyVal({\n  a: false,\n  abbr: false,\n  address: false,\n  area: false,\n  article: false,\n  aside: false,\n  audio: false,\n  b: false,\n  base: false,\n  bdi: false,\n  bdo: false,\n  big: false,\n  blockquote: false,\n  body: false,\n  br: true,\n  button: false,\n  canvas: false,\n  caption: false,\n  cite: false,\n  code: false,\n  col: true,\n  colgroup: false,\n  data: false,\n  datalist: false,\n  dd: false,\n  del: false,\n  details: false,\n  dfn: false,\n  div: false,\n  dl: false,\n  dt: false,\n  em: false,\n  embed: true,\n  fieldset: false,\n  figcaption: false,\n  figure: false,\n  footer: false,\n  form: false, // NOTE: Injected, see `ReactDOMForm`.\n  h1: false,\n  h2: false,\n  h3: false,\n  h4: false,\n  h5: false,\n  h6: false,\n  head: false,\n  header: false,\n  hr: true,\n  html: false,\n  i: false,\n  iframe: false,\n  img: true,\n  input: true,\n  ins: false,\n  kbd: false,\n  keygen: true,\n  label: false,\n  legend: false,\n  li: false,\n  link: false,\n  main: false,\n  map: false,\n  mark: false,\n  menu: false,\n  menuitem: false, // NOTE: Close tag should be omitted, but causes problems.\n  meta: true,\n  meter: false,\n  nav: false,\n  noscript: false,\n  object: false,\n  ol: false,\n  optgroup: false,\n  option: false,\n  output: false,\n  p: false,\n  param: true,\n  pre: false,\n  progress: false,\n  q: false,\n  rp: false,\n  rt: false,\n  ruby: false,\n  s: false,\n  samp: false,\n  script: false,\n  section: false,\n  select: false,\n  small: false,\n  source: false,\n  span: false,\n  strong: false,\n  style: false,\n  sub: false,\n  summary: false,\n  sup: false,\n  table: false,\n  tbody: false,\n  td: false,\n  textarea: false, // NOTE: Injected, see `ReactDOMTextarea`.\n  tfoot: false,\n  th: false,\n  thead: false,\n  time: false,\n  title: false,\n  tr: false,\n  track: true,\n  u: false,\n  ul: false,\n  'var': false,\n  video: false,\n  wbr: false,\n\n  // SVG\n  circle: false,\n  g: false,\n  line: false,\n  path: false,\n  polyline: false,\n  rect: false,\n  svg: false,\n  text: false\n}, createDOMComponentClass);\n\nvar injection = {\n  injectComponentClasses: function(componentClasses) {\n    mergeInto(ReactDOM, componentClasses);\n  }\n};\n\nReactDOM.injection = injection;\n\nmodule.exports = ReactDOM;\n\n},{\"./ReactDOMComponent\":35,\"./mergeInto\":120,\"./objMapKeyVal\":124}],34:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMButton\n */\n\n\"use strict\";\n\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\n\nvar keyMirror = require(\"./keyMirror\");\n\n// Store a reference to the <button> `ReactDOMComponent`.\nvar button = ReactDOM.button;\n\nvar mouseListenerNames = keyMirror({\n  onClick: true,\n  onDoubleClick: true,\n  onMouseDown: true,\n  onMouseMove: true,\n  onMouseUp: true,\n  onClickCapture: true,\n  onDoubleClickCapture: true,\n  onMouseDownCapture: true,\n  onMouseMoveCapture: true,\n  onMouseUpCapture: true\n});\n\n/**\n * Implements a <button> native component that does not receive mouse events\n * when `disabled` is set.\n */\nvar ReactDOMButton = ReactCompositeComponent.createClass({\n\n  render: function() {\n    var props = {};\n\n    // Copy the props; except the mouse listeners if we're disabled\n    for (var key in this.props) {\n      if (this.props.hasOwnProperty(key) &&\n          (!this.props.disabled || !mouseListenerNames[key])) {\n        props[key] = this.props[key];\n      }\n    }\n\n    return button(props, this.props.children);\n  }\n\n});\n\nmodule.exports = ReactDOMButton;\n\n},{\"./ReactCompositeComponent\":31,\"./ReactDOM\":33,\"./keyMirror\":115}],35:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMComponent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar CSSPropertyOperations = require(\"./CSSPropertyOperations\");\nvar DOMProperty = require(\"./DOMProperty\");\nvar DOMPropertyOperations = require(\"./DOMPropertyOperations\");\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactMultiChild = require(\"./ReactMultiChild\");\nvar ReactMount = require(\"./ReactMount\");\nvar ReactPerf = require(\"./ReactPerf\");\n\nvar escapeTextForBrowser = require(\"./escapeTextForBrowser\");\nvar invariant = require(\"./invariant\");\nvar keyOf = require(\"./keyOf\");\nvar merge = require(\"./merge\");\nvar mixInto = require(\"./mixInto\");\n\nvar putListener = ReactEventEmitter.putListener;\nvar deleteListener = ReactEventEmitter.deleteListener;\nvar registrationNames = ReactEventEmitter.registrationNames;\n\n// For quickly matching children type, to test if can be treated as content.\nvar CONTENT_TYPES = {'string': true, 'number': true};\n\nvar STYLE = keyOf({style: null});\n\n/**\n * @param {?object} props\n */\nfunction assertValidProps(props) {\n  if (!props) {\n    return;\n  }\n  // Note the use of `==` which checks for null or undefined.\n  (\"production\" !== \"development\" ? invariant(\n    props.children == null || props.dangerouslySetInnerHTML == null,\n    'Can only set one of `children` or `props.dangerouslySetInnerHTML`.'\n  ) : invariant(props.children == null || props.dangerouslySetInnerHTML == null));\n  (\"production\" !== \"development\" ? invariant(\n    props.style == null || typeof props.style === 'object',\n    'The `style` prop expects a mapping from style properties to values, ' +\n    'not a string.'\n  ) : invariant(props.style == null || typeof props.style === 'object'));\n}\n\n/**\n * @constructor ReactDOMComponent\n * @extends ReactComponent\n * @extends ReactMultiChild\n */\nfunction ReactDOMComponent(tag, omitClose) {\n  this._tagOpen = '<' + tag;\n  this._tagClose = omitClose ? '' : '</' + tag + '>';\n  this.tagName = tag.toUpperCase();\n}\n\nReactDOMComponent.Mixin = {\n\n  /**\n   * Generates root tag markup then recurses. This method has side effects and\n   * is not idempotent.\n   *\n   * @internal\n   * @param {string} rootID The root DOM ID for this node.\n   * @param {ReactReconcileTransaction} transaction\n   * @param {number} mountDepth number of components in the owner hierarchy\n   * @return {string} The computed markup.\n   */\n  mountComponent: ReactPerf.measure(\n    'ReactDOMComponent',\n    'mountComponent',\n    function(rootID, transaction, mountDepth) {\n      ReactComponent.Mixin.mountComponent.call(\n        this,\n        rootID,\n        transaction,\n        mountDepth\n      );\n      assertValidProps(this.props);\n      return (\n        this._createOpenTagMarkup() +\n        this._createContentMarkup(transaction) +\n        this._tagClose\n      );\n    }\n  ),\n\n  /**\n   * Creates markup for the open tag and all attributes.\n   *\n   * This method has side effects because events get registered.\n   *\n   * Iterating over object properties is faster than iterating over arrays.\n   * @see http://jsperf.com/obj-vs-arr-iteration\n   *\n   * @private\n   * @return {string} Markup of opening tag.\n   */\n  _createOpenTagMarkup: function() {\n    var props = this.props;\n    var ret = this._tagOpen;\n\n    for (var propKey in props) {\n      if (!props.hasOwnProperty(propKey)) {\n        continue;\n      }\n      var propValue = props[propKey];\n      if (propValue == null) {\n        continue;\n      }\n      if (registrationNames[propKey]) {\n        putListener(this._rootNodeID, propKey, propValue);\n      } else {\n        if (propKey === STYLE) {\n          if (propValue) {\n            propValue = props.style = merge(props.style);\n          }\n          propValue = CSSPropertyOperations.createMarkupForStyles(propValue);\n        }\n        var markup =\n          DOMPropertyOperations.createMarkupForProperty(propKey, propValue);\n        if (markup) {\n          ret += ' ' + markup;\n        }\n      }\n    }\n\n    var escapedID = escapeTextForBrowser(this._rootNodeID);\n    return ret + ' ' + ReactMount.ATTR_NAME + '=\"' + escapedID + '\">';\n  },\n\n  /**\n   * Creates markup for the content between the tags.\n   *\n   * @private\n   * @param {ReactReconcileTransaction} transaction\n   * @return {string} Content markup.\n   */\n  _createContentMarkup: function(transaction) {\n    // Intentional use of != to avoid catching zero/false.\n    var innerHTML = this.props.dangerouslySetInnerHTML;\n    if (innerHTML != null) {\n      if (innerHTML.__html != null) {\n        return innerHTML.__html;\n      }\n    } else {\n      var contentToUse =\n        CONTENT_TYPES[typeof this.props.children] ? this.props.children : null;\n      var childrenToUse = contentToUse != null ? null : this.props.children;\n      if (contentToUse != null) {\n        return escapeTextForBrowser(contentToUse);\n      } else if (childrenToUse != null) {\n        var mountImages = this.mountChildren(\n          childrenToUse,\n          transaction\n        );\n        return mountImages.join('');\n      }\n    }\n    return '';\n  },\n\n  receiveComponent: function(nextComponent, transaction) {\n    assertValidProps(nextComponent.props);\n    ReactComponent.Mixin.receiveComponent.call(\n      this,\n      nextComponent,\n      transaction\n    );\n  },\n\n  /**\n   * Updates a native DOM component after it has already been allocated and\n   * attached to the DOM. Reconciles the root DOM node, then recurses.\n   *\n   * @param {ReactReconcileTransaction} transaction\n   * @param {object} prevProps\n   * @internal\n   * @overridable\n   */\n  updateComponent: ReactPerf.measure(\n    'ReactDOMComponent',\n    'updateComponent',\n    function(transaction, prevProps) {\n      ReactComponent.Mixin.updateComponent.call(this, transaction, prevProps);\n      this._updateDOMProperties(prevProps);\n      this._updateDOMChildren(prevProps, transaction);\n    }\n  ),\n\n  /**\n   * Reconciles the properties by detecting differences in property values and\n   * updating the DOM as necessary. This function is probably the single most\n   * critical path for performance optimization.\n   *\n   * TODO: Benchmark whether checking for changed values in memory actually\n   *       improves performance (especially statically positioned elements).\n   * TODO: Benchmark the effects of putting this at the top since 99% of props\n   *       do not change for a given reconciliation.\n   * TODO: Benchmark areas that can be improved with caching.\n   *\n   * @private\n   * @param {object} lastProps\n   */\n  _updateDOMProperties: function(lastProps) {\n    var nextProps = this.props;\n    var propKey;\n    var styleName;\n    var styleUpdates;\n    for (propKey in lastProps) {\n      if (nextProps.hasOwnProperty(propKey) ||\n         !lastProps.hasOwnProperty(propKey)) {\n        continue;\n      }\n      if (propKey === STYLE) {\n        var lastStyle = lastProps[propKey];\n        for (styleName in lastStyle) {\n          if (lastStyle.hasOwnProperty(styleName)) {\n            styleUpdates = styleUpdates || {};\n            styleUpdates[styleName] = '';\n          }\n        }\n      } else if (registrationNames[propKey]) {\n        deleteListener(this._rootNodeID, propKey);\n      } else if (\n          DOMProperty.isStandardName[propKey] ||\n          DOMProperty.isCustomAttribute(propKey)) {\n        ReactComponent.DOMIDOperations.deletePropertyByID(\n          this._rootNodeID,\n          propKey\n        );\n      }\n    }\n    for (propKey in nextProps) {\n      var nextProp = nextProps[propKey];\n      var lastProp = lastProps[propKey];\n      if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp) {\n        continue;\n      }\n      if (propKey === STYLE) {\n        if (nextProp) {\n          nextProp = nextProps.style = merge(nextProp);\n        }\n        if (lastProp) {\n          // Unset styles on `lastProp` but not on `nextProp`.\n          for (styleName in lastProp) {\n            if (lastProp.hasOwnProperty(styleName) &&\n                !nextProp.hasOwnProperty(styleName)) {\n              styleUpdates = styleUpdates || {};\n              styleUpdates[styleName] = '';\n            }\n          }\n          // Update styles that changed since `lastProp`.\n          for (styleName in nextProp) {\n            if (nextProp.hasOwnProperty(styleName) &&\n                lastProp[styleName] !== nextProp[styleName]) {\n              styleUpdates = styleUpdates || {};\n              styleUpdates[styleName] = nextProp[styleName];\n            }\n          }\n        } else {\n          // Relies on `updateStylesByID` not mutating `styleUpdates`.\n          styleUpdates = nextProp;\n        }\n      } else if (registrationNames[propKey]) {\n        putListener(this._rootNodeID, propKey, nextProp);\n      } else if (\n          DOMProperty.isStandardName[propKey] ||\n          DOMProperty.isCustomAttribute(propKey)) {\n        ReactComponent.DOMIDOperations.updatePropertyByID(\n          this._rootNodeID,\n          propKey,\n          nextProp\n        );\n      }\n    }\n    if (styleUpdates) {\n      ReactComponent.DOMIDOperations.updateStylesByID(\n        this._rootNodeID,\n        styleUpdates\n      );\n    }\n  },\n\n  /**\n   * Reconciles the children with the various properties that affect the\n   * children content.\n   *\n   * @param {object} lastProps\n   * @param {ReactReconcileTransaction} transaction\n   */\n  _updateDOMChildren: function(lastProps, transaction) {\n    var nextProps = this.props;\n\n    var lastContent =\n      CONTENT_TYPES[typeof lastProps.children] ? lastProps.children : null;\n    var nextContent =\n      CONTENT_TYPES[typeof nextProps.children] ? nextProps.children : null;\n\n    var lastHtml =\n      lastProps.dangerouslySetInnerHTML &&\n      lastProps.dangerouslySetInnerHTML.__html;\n    var nextHtml =\n      nextProps.dangerouslySetInnerHTML &&\n      nextProps.dangerouslySetInnerHTML.__html;\n\n    // Note the use of `!=` which checks for null or undefined.\n    var lastChildren = lastContent != null ? null : lastProps.children;\n    var nextChildren = nextContent != null ? null : nextProps.children;\n\n    // If we're switching from children to content/html or vice versa, remove\n    // the old content\n    var lastHasContentOrHtml = lastContent != null || lastHtml != null;\n    var nextHasContentOrHtml = nextContent != null || nextHtml != null;\n    if (lastChildren != null && nextChildren == null) {\n      this.updateChildren(null, transaction);\n    } else if (lastHasContentOrHtml && !nextHasContentOrHtml) {\n      this.updateTextContent('');\n    }\n\n    if (nextContent != null) {\n      if (lastContent !== nextContent) {\n        this.updateTextContent('' + nextContent);\n      }\n    } else if (nextHtml != null) {\n      if (lastHtml !== nextHtml) {\n        ReactComponent.DOMIDOperations.updateInnerHTMLByID(\n          this._rootNodeID,\n          nextHtml\n        );\n      }\n    } else if (nextChildren != null) {\n      this.updateChildren(nextChildren, transaction);\n    }\n  },\n\n  /**\n   * Destroys all event registrations for this instance. Does not remove from\n   * the DOM. That must be done by the parent.\n   *\n   * @internal\n   */\n  unmountComponent: function() {\n    ReactEventEmitter.deleteAllListeners(this._rootNodeID);\n    ReactComponent.Mixin.unmountComponent.call(this);\n    this.unmountChildren();\n  }\n\n};\n\nmixInto(ReactDOMComponent, ReactComponent.Mixin);\nmixInto(ReactDOMComponent, ReactDOMComponent.Mixin);\nmixInto(ReactDOMComponent, ReactMultiChild.Mixin);\n\nmodule.exports = ReactDOMComponent;\n\n},{\"./CSSPropertyOperations\":4,\"./DOMProperty\":9,\"./DOMPropertyOperations\":10,\"./ReactComponent\":28,\"./ReactEventEmitter\":47,\"./ReactMount\":54,\"./ReactMultiChild\":56,\"./ReactPerf\":59,\"./escapeTextForBrowser\":95,\"./invariant\":109,\"./keyOf\":116,\"./merge\":118,\"./mixInto\":121}],36:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMForm\n */\n\n\"use strict\";\n\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar EventConstants = require(\"./EventConstants\");\n\n// Store a reference to the <form> `ReactDOMComponent`.\nvar form = ReactDOM.form;\n\n/**\n * Since onSubmit doesn't bubble OR capture on the top level in IE8, we need\n * to capture it on the <form> element itself. There are lots of hacks we could\n * do to accomplish this, but the most reliable is to make <form> a\n * composite component and use `componentDidMount` to attach the event handlers.\n */\nvar ReactDOMForm = ReactCompositeComponent.createClass({\n  render: function() {\n    // TODO: Instead of using `ReactDOM` directly, we should use JSX. However,\n    // `jshint` fails to parse JSX so in order for linting to work in the open\n    // source repo, we need to just use `ReactDOM.form`.\n    return this.transferPropsTo(form(null, this.props.children));\n  },\n\n  componentDidMount: function(node) {\n    ReactEventEmitter.trapBubbledEvent(\n      EventConstants.topLevelTypes.topSubmit,\n      'submit',\n      node\n    );\n  }\n});\n\nmodule.exports = ReactDOMForm;\n\n},{\"./EventConstants\":15,\"./ReactCompositeComponent\":31,\"./ReactDOM\":33,\"./ReactEventEmitter\":47}],37:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMIDOperations\n * @typechecks static-only\n */\n\n/*jslint evil: true */\n\n\"use strict\";\n\nvar CSSPropertyOperations = require(\"./CSSPropertyOperations\");\nvar DOMChildrenOperations = require(\"./DOMChildrenOperations\");\nvar DOMPropertyOperations = require(\"./DOMPropertyOperations\");\nvar ReactMount = require(\"./ReactMount\");\n\nvar getTextContentAccessor = require(\"./getTextContentAccessor\");\nvar invariant = require(\"./invariant\");\n\n/**\n * Errors for properties that should not be updated with `updatePropertyById()`.\n *\n * @type {object}\n * @private\n */\nvar INVALID_PROPERTY_ERRORS = {\n  dangerouslySetInnerHTML:\n    '`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.',\n  style: '`style` must be set using `updateStylesByID()`.'\n};\n\n/**\n * The DOM property to use when setting text content.\n *\n * @type {string}\n * @private\n */\nvar textContentAccessor = getTextContentAccessor() || 'NA';\n\nvar LEADING_SPACE = /^ /;\n\n/**\n * Operations used to process updates to DOM nodes. This is made injectable via\n * `ReactComponent.DOMIDOperations`.\n */\nvar ReactDOMIDOperations = {\n\n  /**\n   * Updates a DOM node with new property values. This should only be used to\n   * update DOM properties in `DOMProperty`.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {string} name A valid property name, see `DOMProperty`.\n   * @param {*} value New value of the property.\n   * @internal\n   */\n  updatePropertyByID: function(id, name, value) {\n    var node = ReactMount.getNode(id);\n    (\"production\" !== \"development\" ? invariant(\n      !INVALID_PROPERTY_ERRORS.hasOwnProperty(name),\n      'updatePropertyByID(...): %s',\n      INVALID_PROPERTY_ERRORS[name]\n    ) : invariant(!INVALID_PROPERTY_ERRORS.hasOwnProperty(name)));\n\n    // If we're updating to null or undefined, we should remove the property\n    // from the DOM node instead of inadvertantly setting to a string. This\n    // brings us in line with the same behavior we have on initial render.\n    if (value != null) {\n      DOMPropertyOperations.setValueForProperty(node, name, value);\n    } else {\n      DOMPropertyOperations.deleteValueForProperty(node, name);\n    }\n  },\n\n  /**\n   * Updates a DOM node to remove a property. This should only be used to remove\n   * DOM properties in `DOMProperty`.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {string} name A property name to remove, see `DOMProperty`.\n   * @internal\n   */\n  deletePropertyByID: function(id, name, value) {\n    var node = ReactMount.getNode(id);\n    (\"production\" !== \"development\" ? invariant(\n      !INVALID_PROPERTY_ERRORS.hasOwnProperty(name),\n      'updatePropertyByID(...): %s',\n      INVALID_PROPERTY_ERRORS[name]\n    ) : invariant(!INVALID_PROPERTY_ERRORS.hasOwnProperty(name)));\n    DOMPropertyOperations.deleteValueForProperty(node, name, value);\n  },\n\n  /**\n   * Updates a DOM node with new style values. If a value is specified as '',\n   * the corresponding style property will be unset.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {object} styles Mapping from styles to values.\n   * @internal\n   */\n  updateStylesByID: function(id, styles) {\n    var node = ReactMount.getNode(id);\n    CSSPropertyOperations.setValueForStyles(node, styles);\n  },\n\n  /**\n   * Updates a DOM node's innerHTML.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {string} html An HTML string.\n   * @internal\n   */\n  updateInnerHTMLByID: function(id, html) {\n    var node = ReactMount.getNode(id);\n    // HACK: IE8- normalize whitespace in innerHTML, removing leading spaces.\n    // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n    node.innerHTML = html.replace(LEADING_SPACE, '&nbsp;');\n  },\n\n  /**\n   * Updates a DOM node's text content set by `props.content`.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {string} content Text content.\n   * @internal\n   */\n  updateTextContentByID: function(id, content) {\n    var node = ReactMount.getNode(id);\n    node[textContentAccessor] = content;\n  },\n\n  /**\n   * Replaces a DOM node that exists in the document with markup.\n   *\n   * @param {string} id ID of child to be replaced.\n   * @param {string} markup Dangerous markup to inject in place of child.\n   * @internal\n   * @see {Danger.dangerouslyReplaceNodeWithMarkup}\n   */\n  dangerouslyReplaceNodeWithMarkupByID: function(id, markup) {\n    var node = ReactMount.getNode(id);\n    DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup(node, markup);\n  },\n\n  /**\n   * Updates a component's children by processing a series of updates.\n   *\n   * @param {array<object>} updates List of update configurations.\n   * @param {array<string>} markup List of markup strings.\n   * @internal\n   */\n  dangerouslyProcessChildrenUpdates: function(updates, markup) {\n    for (var i = 0; i < updates.length; i++) {\n      updates[i].parentNode = ReactMount.getNode(updates[i].parentID);\n    }\n    DOMChildrenOperations.processUpdates(updates, markup);\n  }\n\n};\n\nmodule.exports = ReactDOMIDOperations;\n\n},{\"./CSSPropertyOperations\":4,\"./DOMChildrenOperations\":8,\"./DOMPropertyOperations\":10,\"./ReactMount\":54,\"./getTextContentAccessor\":106,\"./invariant\":109}],38:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMInput\n */\n\n\"use strict\";\n\nvar DOMPropertyOperations = require(\"./DOMPropertyOperations\");\nvar LinkedValueMixin = require(\"./LinkedValueMixin\");\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\nvar ReactMount = require(\"./ReactMount\");\n\nvar invariant = require(\"./invariant\");\nvar merge = require(\"./merge\");\n\n// Store a reference to the <input> `ReactDOMComponent`.\nvar input = ReactDOM.input;\n\nvar instancesByReactID = {};\n\n/**\n * Implements an <input> native component that allows setting these optional\n * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.\n *\n * If `checked` or `value` are not supplied (or null/undefined), user actions\n * that affect the checked state or value will trigger updates to the element.\n *\n * If they are supplied (and not null/undefined), the rendered element will not\n * trigger updates to the element. Instead, the props must change in order for\n * the rendered element to be updated.\n *\n * The rendered element will be initialized as unchecked (or `defaultChecked`)\n * with an empty value (or `defaultValue`).\n *\n * @see http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html\n */\nvar ReactDOMInput = ReactCompositeComponent.createClass({\n  mixins: [LinkedValueMixin],\n\n  getInitialState: function() {\n    var defaultValue = this.props.defaultValue;\n    return {\n      checked: this.props.defaultChecked || false,\n      value: defaultValue != null ? defaultValue : null\n    };\n  },\n\n  shouldComponentUpdate: function() {\n    // Defer any updates to this component during the `onChange` handler.\n    return !this._isChanging;\n  },\n\n  render: function() {\n    // Clone `this.props` so we don't mutate the input.\n    var props = merge(this.props);\n\n    props.defaultChecked = null;\n    props.defaultValue = null;\n    props.checked =\n      this.props.checked != null ? this.props.checked : this.state.checked;\n\n    var value = this.getValue();\n    props.value = value != null ? value : this.state.value;\n\n    props.onChange = this._handleChange;\n\n    return input(props, this.props.children);\n  },\n\n  componentDidMount: function(rootNode) {\n    var id = ReactMount.getID(rootNode);\n    instancesByReactID[id] = this;\n  },\n\n  componentWillUnmount: function() {\n    var rootNode = this.getDOMNode();\n    var id = ReactMount.getID(rootNode);\n    delete instancesByReactID[id];\n  },\n\n  componentDidUpdate: function(prevProps, prevState, rootNode) {\n    if (this.props.checked != null) {\n      DOMPropertyOperations.setValueForProperty(\n        rootNode,\n        'checked',\n        this.props.checked || false\n      );\n    }\n\n    var value = this.getValue();\n    if (value != null) {\n      // Cast `value` to a string to ensure the value is set correctly. While\n      // browsers typically do this as necessary, jsdom doesn't.\n      DOMPropertyOperations.setValueForProperty(rootNode, 'value', '' + value);\n    }\n  },\n\n  _handleChange: function(event) {\n    var returnValue;\n    var onChange = this.getOnChange();\n    if (onChange) {\n      this._isChanging = true;\n      returnValue = onChange(event);\n      this._isChanging = false;\n    }\n    this.setState({\n      checked: event.target.checked,\n      value: event.target.value\n    });\n\n    var name = this.props.name;\n    if (this.props.type === 'radio' && name != null) {\n      var rootNode = this.getDOMNode();\n      // If `rootNode.form` was non-null, then we could try `form.elements`,\n      // but that sometimes behaves strangely in IE8. We could also try using\n      // `form.getElementsByName`, but that will only return direct children\n      // and won't include inputs that use the HTML5 `form=` attribute. Since\n      // the input might not even be in a form, let's just use the global\n      // `getElementsByName` to ensure we don't miss anything.\n      var group = document.getElementsByName(name);\n      for (var i = 0, groupLen = group.length; i < groupLen; i++) {\n        var otherNode = group[i];\n        if (otherNode === rootNode ||\n            otherNode.nodeName !== 'INPUT' || otherNode.type !== 'radio' ||\n            otherNode.form !== rootNode.form) {\n          continue;\n        }\n        var otherID = ReactMount.getID(otherNode);\n        (\"production\" !== \"development\" ? invariant(\n          otherID,\n          'ReactDOMInput: Mixing React and non-React radio inputs with the ' +\n          'same `name` is not supported.'\n        ) : invariant(otherID));\n        var otherInstance = instancesByReactID[otherID];\n        (\"production\" !== \"development\" ? invariant(\n          otherInstance,\n          'ReactDOMInput: Unknown radio button ID %s.',\n          otherID\n        ) : invariant(otherInstance));\n        // In some cases, this will actually change the `checked` state value.\n        // In other cases, there's no change but this forces a reconcile upon\n        // which componentDidUpdate will reset the DOM property to whatever it\n        // should be.\n        otherInstance.setState({\n          checked: false\n        });\n      }\n    }\n\n    return returnValue;\n  }\n\n});\n\nmodule.exports = ReactDOMInput;\n\n},{\"./DOMPropertyOperations\":10,\"./LinkedValueMixin\":23,\"./ReactCompositeComponent\":31,\"./ReactDOM\":33,\"./ReactMount\":54,\"./invariant\":109,\"./merge\":118}],39:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMOption\n */\n\n\"use strict\";\n\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\n\n// Store a reference to the <option> `ReactDOMComponent`.\nvar option = ReactDOM.option;\n\n/**\n * Implements an <option> native component that warns when `selected` is set.\n */\nvar ReactDOMOption = ReactCompositeComponent.createClass({\n\n  componentWillMount: function() {\n    // TODO (yungsters): Remove support for `selected` in <option>.\n    if (this.props.selected != null) {\n      if (\"production\" !== \"development\") {\n        console.warn(\n          'Use the `defaultValue` or `value` props on <select> instead of ' +\n          'setting `selected` on <option>.'\n        );\n      }\n    }\n  },\n\n  render: function() {\n    return option(this.props, this.props.children);\n  }\n\n});\n\nmodule.exports = ReactDOMOption;\n\n},{\"./ReactCompositeComponent\":31,\"./ReactDOM\":33}],40:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMSelect\n */\n\n\"use strict\";\n\nvar LinkedValueMixin = require(\"./LinkedValueMixin\");\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\n\nvar invariant = require(\"./invariant\");\nvar merge = require(\"./merge\");\n\n// Store a reference to the <select> `ReactDOMComponent`.\nvar select = ReactDOM.select;\n\n/**\n * Validation function for `value` and `defaultValue`.\n * @private\n */\nfunction selectValueType(props, propName, componentName) {\n  if (props[propName] == null) {\n    return;\n  }\n  if (props.multiple) {\n    (\"production\" !== \"development\" ? invariant(\n      Array.isArray(props[propName]),\n      'The `%s` prop supplied to <select> must be an array if `multiple` is ' +\n      'true.',\n      propName\n    ) : invariant(Array.isArray(props[propName])));\n  } else {\n    (\"production\" !== \"development\" ? invariant(\n      !Array.isArray(props[propName]),\n      'The `%s` prop supplied to <select> must be a scalar value if ' +\n      '`multiple` is false.',\n      propName\n    ) : invariant(!Array.isArray(props[propName])));\n  }\n}\n\n/**\n * If `value` is supplied, updates <option> elements on mount and update.\n * @private\n */\nfunction updateOptions() {\n  /*jshint validthis:true */\n  var propValue = this.getValue();\n  var value = propValue != null ? propValue : this.state.value;\n  var options = this.getDOMNode().options;\n  var selectedValue = '' + value;\n\n  for (var i = 0, l = options.length; i < l; i++) {\n    var selected = this.props.multiple ?\n      selectedValue.indexOf(options[i].value) >= 0 :\n      selected = options[i].value === selectedValue;\n\n    if (selected !== options[i].selected) {\n      options[i].selected = selected;\n    }\n  }\n}\n\n/**\n * Implements a <select> native component that allows optionally setting the\n * props `value` and `defaultValue`. If `multiple` is false, the prop must be a\n * string. If `multiple` is true, the prop must be an array of strings.\n *\n * If `value` is not supplied (or null/undefined), user actions that change the\n * selected option will trigger updates to the rendered options.\n *\n * If it is supplied (and not null/undefined), the rendered options will not\n * update in response to user actions. Instead, the `value` prop must change in\n * order for the rendered options to update.\n *\n * If `defaultValue` is provided, any options with the supplied values will be\n * selected.\n */\nvar ReactDOMSelect = ReactCompositeComponent.createClass({\n  mixins: [LinkedValueMixin],\n\n  propTypes: {\n    defaultValue: selectValueType,\n    value: selectValueType\n  },\n\n  getInitialState: function() {\n    return {value: this.props.defaultValue || (this.props.multiple ? [] : '')};\n  },\n\n  componentWillReceiveProps: function(nextProps) {\n    if (!this.props.multiple && nextProps.multiple) {\n      this.setState({value: [this.state.value]});\n    } else if (this.props.multiple && !nextProps.multiple) {\n      this.setState({value: this.state.value[0]});\n    }\n  },\n\n  shouldComponentUpdate: function() {\n    // Defer any updates to this component during the `onChange` handler.\n    return !this._isChanging;\n  },\n\n  render: function() {\n    // Clone `this.props` so we don't mutate the input.\n    var props = merge(this.props);\n\n    props.onChange = this._handleChange;\n    props.value = null;\n\n    return select(props, this.props.children);\n  },\n\n  componentDidMount: updateOptions,\n\n  componentDidUpdate: updateOptions,\n\n  _handleChange: function(event) {\n    var returnValue;\n    var onChange = this.getOnChange();\n    if (onChange) {\n      this._isChanging = true;\n      returnValue = onChange(event);\n      this._isChanging = false;\n    }\n\n    var selectedValue;\n    if (this.props.multiple) {\n      selectedValue = [];\n      var options = event.target.options;\n      for (var i = 0, l = options.length; i < l; i++) {\n        if (options[i].selected) {\n          selectedValue.push(options[i].value);\n        }\n      }\n    } else {\n      selectedValue = event.target.value;\n    }\n\n    this.setState({value: selectedValue});\n    return returnValue;\n  }\n\n});\n\nmodule.exports = ReactDOMSelect;\n\n},{\"./LinkedValueMixin\":23,\"./ReactCompositeComponent\":31,\"./ReactDOM\":33,\"./invariant\":109,\"./merge\":118}],41:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMSelection\n */\n\n\"use strict\";\n\nvar getNodeForCharacterOffset = require(\"./getNodeForCharacterOffset\");\nvar getTextContentAccessor = require(\"./getTextContentAccessor\");\n\n/**\n * Get the appropriate anchor and focus node/offset pairs for IE.\n *\n * The catch here is that IE's selection API doesn't provide information\n * about whether the selection is forward or backward, so we have to\n * behave as though it's always forward.\n *\n * IE text differs from modern selection in that it behaves as though\n * block elements end with a new line. This means character offsets will\n * differ between the two APIs.\n *\n * @param {DOMElement} node\n * @return {object}\n */\nfunction getIEOffsets(node) {\n  var selection = document.selection;\n  var selectedRange = selection.createRange();\n  var selectedLength = selectedRange.text.length;\n\n  // Duplicate selection so we can move range without breaking user selection.\n  var fromStart = selectedRange.duplicate();\n  fromStart.moveToElementText(node);\n  fromStart.setEndPoint('EndToStart', selectedRange);\n\n  var startOffset = fromStart.text.length;\n  var endOffset = startOffset + selectedLength;\n\n  return {\n    start: startOffset,\n    end: endOffset\n  };\n}\n\n/**\n * @param {DOMElement} node\n * @return {?object}\n */\nfunction getModernOffsets(node) {\n  var selection = window.getSelection();\n\n  if (selection.rangeCount === 0) {\n    return null;\n  }\n\n  var anchorNode = selection.anchorNode;\n  var anchorOffset = selection.anchorOffset;\n  var focusNode = selection.focusNode;\n  var focusOffset = selection.focusOffset;\n\n  var currentRange = selection.getRangeAt(0);\n  var rangeLength = currentRange.toString().length;\n\n  var tempRange = currentRange.cloneRange();\n  tempRange.selectNodeContents(node);\n  tempRange.setEnd(currentRange.startContainer, currentRange.startOffset);\n\n  var start = tempRange.toString().length;\n  var end = start + rangeLength;\n\n  // Detect whether the selection is backward.\n  var detectionRange = document.createRange();\n  detectionRange.setStart(anchorNode, anchorOffset);\n  detectionRange.setEnd(focusNode, focusOffset);\n  var isBackward = detectionRange.collapsed;\n  detectionRange.detach();\n\n  return {\n    start: isBackward ? end : start,\n    end: isBackward ? start : end\n  };\n}\n\n/**\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setIEOffsets(node, offsets) {\n  var range = document.selection.createRange().duplicate();\n  var start, end;\n\n  if (typeof offsets.end === 'undefined') {\n    start = offsets.start;\n    end = start;\n  } else if (offsets.start > offsets.end) {\n    start = offsets.end;\n    end = offsets.start;\n  } else {\n    start = offsets.start;\n    end = offsets.end;\n  }\n\n  range.moveToElementText(node);\n  range.moveStart('character', start);\n  range.setEndPoint('EndToStart', range);\n  range.moveEnd('character', end - start);\n  range.select();\n}\n\n/**\n * In modern non-IE browsers, we can support both forward and backward\n * selections.\n *\n * Note: IE10+ supports the Selection object, but it does not support\n * the `extend` method, which means that even in modern IE, it's not possible\n * to programatically create a backward selection. Thus, for all IE\n * versions, we use the old IE API to create our selections.\n *\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setModernOffsets(node, offsets) {\n  var selection = window.getSelection();\n\n  var length = node[getTextContentAccessor()].length;\n  var start = Math.min(offsets.start, length);\n  var end = typeof offsets.end === 'undefined' ?\n            start : Math.min(offsets.end, length);\n\n  // IE 11 uses modern selection, but doesn't support the extend method.\n  // Flip backward selections, so we can set with a single range.\n  if (!selection.extend && start > end) {\n    var temp = end;\n    end = start;\n    start = temp;\n  }\n\n  var startMarker = getNodeForCharacterOffset(node, start);\n  var endMarker = getNodeForCharacterOffset(node, end);\n\n  if (startMarker && endMarker) {\n    var range = document.createRange();\n    range.setStart(startMarker.node, startMarker.offset);\n    selection.removeAllRanges();\n\n    if (start > end) {\n      selection.addRange(range);\n      selection.extend(endMarker.node, endMarker.offset);\n    } else {\n      range.setEnd(endMarker.node, endMarker.offset);\n      selection.addRange(range);\n    }\n\n    range.detach();\n  }\n}\n\nvar ReactDOMSelection = {\n  /**\n   * @param {DOMElement} node\n   */\n  getOffsets: function(node) {\n    var getOffsets = document.selection ? getIEOffsets : getModernOffsets;\n    return getOffsets(node);\n  },\n\n  /**\n   * @param {DOMElement|DOMTextNode} node\n   * @param {object} offsets\n   */\n  setOffsets: function(node, offsets) {\n    var setOffsets = document.selection ? setIEOffsets : setModernOffsets;\n    setOffsets(node, offsets);\n  }\n};\n\nmodule.exports = ReactDOMSelection;\n\n},{\"./getNodeForCharacterOffset\":104,\"./getTextContentAccessor\":106}],42:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMTextarea\n */\n\n\"use strict\";\n\nvar DOMPropertyOperations = require(\"./DOMPropertyOperations\");\nvar LinkedValueMixin = require(\"./LinkedValueMixin\");\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\n\nvar invariant = require(\"./invariant\");\nvar merge = require(\"./merge\");\n\n// Store a reference to the <textarea> `ReactDOMComponent`.\nvar textarea = ReactDOM.textarea;\n\n/**\n * Implements a <textarea> native component that allows setting `value`, and\n * `defaultValue`. This differs from the traditional DOM API because value is\n * usually set as PCDATA children.\n *\n * If `value` is not supplied (or null/undefined), user actions that affect the\n * value will trigger updates to the element.\n *\n * If `value` is supplied (and not null/undefined), the rendered element will\n * not trigger updates to the element. Instead, the `value` prop must change in\n * order for the rendered element to be updated.\n *\n * The rendered element will be initialized with an empty value, the prop\n * `defaultValue` if specified, or the children content (deprecated).\n */\nvar ReactDOMTextarea = ReactCompositeComponent.createClass({\n  mixins: [LinkedValueMixin],\n\n  getInitialState: function() {\n    var defaultValue = this.props.defaultValue;\n    // TODO (yungsters): Remove support for children content in <textarea>.\n    var children = this.props.children;\n    if (children != null) {\n      if (\"production\" !== \"development\") {\n        console.warn(\n          'Use the `defaultValue` or `value` props instead of setting ' +\n          'children on <textarea>.'\n        );\n      }\n      (\"production\" !== \"development\" ? invariant(\n        defaultValue == null,\n        'If you supply `defaultValue` on a <textarea>, do not pass children.'\n      ) : invariant(defaultValue == null));\n      if (Array.isArray(children)) {\n        (\"production\" !== \"development\" ? invariant(\n          children.length <= 1,\n          '<textarea> can only have at most one child.'\n        ) : invariant(children.length <= 1));\n        children = children[0];\n      }\n\n      defaultValue = '' + children;\n    }\n    if (defaultValue == null) {\n      defaultValue = '';\n    }\n    var value = this.getValue();\n    return {\n      // We save the initial value so that `ReactDOMComponent` doesn't update\n      // `textContent` (unnecessary since we update value).\n      // The initial value can be a boolean or object so that's why it's\n      // forced to be a string.\n      initialValue: '' + (value != null ? value : defaultValue),\n      value: defaultValue\n    };\n  },\n\n  shouldComponentUpdate: function() {\n    // Defer any updates to this component during the `onChange` handler.\n    return !this._isChanging;\n  },\n\n  render: function() {\n    // Clone `this.props` so we don't mutate the input.\n    var props = merge(this.props);\n    var value = this.getValue();\n\n    (\"production\" !== \"development\" ? invariant(\n      props.dangerouslySetInnerHTML == null,\n      '`dangerouslySetInnerHTML` does not make sense on <textarea>.'\n    ) : invariant(props.dangerouslySetInnerHTML == null));\n\n    props.defaultValue = null;\n    props.value = value != null ? value : this.state.value;\n    props.onChange = this._handleChange;\n\n    // Always set children to the same thing. In IE9, the selection range will\n    // get reset if `textContent` is mutated.\n    return textarea(props, this.state.initialValue);\n  },\n\n  componentDidUpdate: function(prevProps, prevState, rootNode) {\n    var value = this.getValue();\n    if (value != null) {\n      // Cast `value` to a string to ensure the value is set correctly. While\n      // browsers typically do this as necessary, jsdom doesn't.\n      DOMPropertyOperations.setValueForProperty(rootNode, 'value', '' + value);\n    }\n  },\n\n  _handleChange: function(event) {\n    var returnValue;\n    var onChange = this.getOnChange();\n    if (onChange) {\n      this._isChanging = true;\n      returnValue = onChange(event);\n      this._isChanging = false;\n    }\n    this.setState({value: event.target.value});\n    return returnValue;\n  }\n\n});\n\nmodule.exports = ReactDOMTextarea;\n\n},{\"./DOMPropertyOperations\":10,\"./LinkedValueMixin\":23,\"./ReactCompositeComponent\":31,\"./ReactDOM\":33,\"./invariant\":109,\"./merge\":118}],43:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDefaultBatchingStrategy\n */\n\n\"use strict\";\n\nvar ReactUpdates = require(\"./ReactUpdates\");\nvar Transaction = require(\"./Transaction\");\n\nvar emptyFunction = require(\"./emptyFunction\");\nvar mixInto = require(\"./mixInto\");\n\nvar RESET_BATCHED_UPDATES = {\n  initialize: emptyFunction,\n  close: function() {\n    ReactDefaultBatchingStrategy.isBatchingUpdates = false;\n  }\n};\n\nvar FLUSH_BATCHED_UPDATES = {\n  initialize: emptyFunction,\n  close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates)\n};\n\nvar TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES];\n\nfunction ReactDefaultBatchingStrategyTransaction() {\n  this.reinitializeTransaction();\n}\n\nmixInto(ReactDefaultBatchingStrategyTransaction, Transaction.Mixin);\nmixInto(ReactDefaultBatchingStrategyTransaction, {\n  getTransactionWrappers: function() {\n    return TRANSACTION_WRAPPERS;\n  }\n});\n\nvar transaction = new ReactDefaultBatchingStrategyTransaction();\n\nvar ReactDefaultBatchingStrategy = {\n  isBatchingUpdates: false,\n\n  /**\n   * Call the provided function in a context within which calls to `setState`\n   * and friends are batched such that components aren't updated unnecessarily.\n   */\n  batchedUpdates: function(callback, param) {\n    var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates;\n\n    ReactDefaultBatchingStrategy.isBatchingUpdates = true;\n\n    // The code is written this way to avoid extra allocations\n    if (alreadyBatchingUpdates) {\n      callback(param);\n    } else {\n      transaction.perform(callback, null, param);\n    }\n  }\n};\n\nmodule.exports = ReactDefaultBatchingStrategy;\n\n},{\"./ReactUpdates\":70,\"./Transaction\":83,\"./emptyFunction\":94,\"./mixInto\":121}],44:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDefaultInjection\n */\n\n\"use strict\";\n\nvar ReactDOM = require(\"./ReactDOM\");\nvar ReactDOMButton = require(\"./ReactDOMButton\");\nvar ReactDOMForm = require(\"./ReactDOMForm\");\nvar ReactDOMInput = require(\"./ReactDOMInput\");\nvar ReactDOMOption = require(\"./ReactDOMOption\");\nvar ReactDOMSelect = require(\"./ReactDOMSelect\");\nvar ReactDOMTextarea = require(\"./ReactDOMTextarea\");\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactEventTopLevelCallback = require(\"./ReactEventTopLevelCallback\");\nvar ReactPerf = require(\"./ReactPerf\");\n\nvar DefaultDOMPropertyConfig = require(\"./DefaultDOMPropertyConfig\");\nvar DOMProperty = require(\"./DOMProperty\");\n\nvar ChangeEventPlugin = require(\"./ChangeEventPlugin\");\nvar CompositionEventPlugin = require(\"./CompositionEventPlugin\");\nvar DefaultEventPluginOrder = require(\"./DefaultEventPluginOrder\");\nvar EnterLeaveEventPlugin = require(\"./EnterLeaveEventPlugin\");\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar MobileSafariClickEventPlugin = require(\"./MobileSafariClickEventPlugin\");\nvar ReactInstanceHandles = require(\"./ReactInstanceHandles\");\nvar SelectEventPlugin = require(\"./SelectEventPlugin\");\nvar SimpleEventPlugin = require(\"./SimpleEventPlugin\");\n\nvar ReactDefaultBatchingStrategy = require(\"./ReactDefaultBatchingStrategy\");\nvar ReactUpdates = require(\"./ReactUpdates\");\n\nfunction inject() {\n  ReactEventEmitter.TopLevelCallbackCreator = ReactEventTopLevelCallback;\n  /**\n   * Inject module for resolving DOM hierarchy and plugin ordering.\n   */\n  EventPluginHub.injection.injectEventPluginOrder(DefaultEventPluginOrder);\n  EventPluginHub.injection.injectInstanceHandle(ReactInstanceHandles);\n\n  /**\n   * Some important event plugins included by default (without having to require\n   * them).\n   */\n  EventPluginHub.injection.injectEventPluginsByName({\n    SimpleEventPlugin: SimpleEventPlugin,\n    EnterLeaveEventPlugin: EnterLeaveEventPlugin,\n    ChangeEventPlugin: ChangeEventPlugin,\n    CompositionEventPlugin: CompositionEventPlugin,\n    MobileSafariClickEventPlugin: MobileSafariClickEventPlugin,\n    SelectEventPlugin: SelectEventPlugin\n  });\n\n  ReactDOM.injection.injectComponentClasses({\n    button: ReactDOMButton,\n    form: ReactDOMForm,\n    input: ReactDOMInput,\n    option: ReactDOMOption,\n    select: ReactDOMSelect,\n    textarea: ReactDOMTextarea\n  });\n\n  DOMProperty.injection.injectDOMPropertyConfig(DefaultDOMPropertyConfig);\n\n  if (\"production\" !== \"development\") {\n    ReactPerf.injection.injectMeasure(require(\"./ReactDefaultPerf\").measure);\n  }\n\n  ReactUpdates.injection.injectBatchingStrategy(\n    ReactDefaultBatchingStrategy\n  );\n}\n\nmodule.exports = {\n  inject: inject\n};\n\n},{\"./ChangeEventPlugin\":6,\"./CompositionEventPlugin\":7,\"./DOMProperty\":9,\"./DefaultDOMPropertyConfig\":12,\"./DefaultEventPluginOrder\":13,\"./EnterLeaveEventPlugin\":14,\"./EventPluginHub\":17,\"./MobileSafariClickEventPlugin\":24,\"./ReactDOM\":33,\"./ReactDOMButton\":34,\"./ReactDOMForm\":36,\"./ReactDOMInput\":38,\"./ReactDOMOption\":39,\"./ReactDOMSelect\":40,\"./ReactDOMTextarea\":42,\"./ReactDefaultBatchingStrategy\":43,\"./ReactDefaultPerf\":45,\"./ReactEventEmitter\":47,\"./ReactEventTopLevelCallback\":49,\"./ReactInstanceHandles\":51,\"./ReactPerf\":59,\"./ReactUpdates\":70,\"./SelectEventPlugin\":72,\"./SimpleEventPlugin\":73}],45:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDefaultPerf\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar performanceNow = require(\"./performanceNow\");\n\nvar ReactDefaultPerf = {};\n\nif (\"production\" !== \"development\") {\n  ReactDefaultPerf = {\n    /**\n     * Gets the stored information for a given object's function.\n     *\n     * @param {string} objName\n     * @param {string} fnName\n     * @return {?object}\n     */\n    getInfo: function(objName, fnName) {\n      if (!this.info[objName] || !this.info[objName][fnName]) {\n        return null;\n      }\n      return this.info[objName][fnName];\n    },\n\n    /**\n     * Gets the logs pertaining to a given object's function.\n     *\n     * @param {string} objName\n     * @param {string} fnName\n     * @return {?array<object>}\n     */\n    getLogs: function(objName, fnName) {\n      if (!this.getInfo(objName, fnName)) {\n        return null;\n      }\n      return this.logs.filter(function(log) {\n        return log.objName === objName && log.fnName === fnName;\n      });\n    },\n\n    /**\n     * Runs through the logs and builds an array of arrays, where each array\n     * walks through the mounting/updating of each component underneath.\n     *\n     * @param {string} rootID The reactID of the root node, e.g. '.r[2cpyq]'\n     * @return {array<array>}\n     */\n    getRawRenderHistory: function(rootID) {\n      var history = [];\n      /**\n       * Since logs are added after the method returns, the logs are in a sense\n       * upside-down: the inner-most elements from mounting/updating are logged\n       * first, and the last addition to the log is the top renderComponent.\n       * Therefore, we flip the logs upside down for ease of processing, and\n       * reverse the history array at the end so the earliest event has index 0.\n       */\n      var logs = this.logs.filter(function(log) {\n        return log.reactID.indexOf(rootID) === 0;\n      }).reverse();\n\n      var subHistory = [];\n      logs.forEach(function(log, i) {\n        if (i && log.reactID === rootID && logs[i - 1].reactID !== rootID) {\n          subHistory.length && history.push(subHistory);\n          subHistory = [];\n        }\n        subHistory.push(log);\n      });\n      if (subHistory.length) {\n        history.push(subHistory);\n      }\n      return history.reverse();\n    },\n\n    /**\n     * Runs through the logs and builds an array of strings, where each string\n     * is a multiline formatted way of walking through the mounting/updating\n     * underneath.\n     *\n     * @param {string} rootID The reactID of the root node, e.g. '.r[2cpyq]'\n     * @return {array<string>}\n     */\n    getRenderHistory: function(rootID) {\n      var history = this.getRawRenderHistory(rootID);\n\n      return history.map(function(subHistory) {\n        var headerString = (\n          'log# Component (execution time) [bloat from logging]\\n' +\n          '================================================================\\n'\n        );\n        return headerString + subHistory.map(function(log) {\n          // Add two spaces for every layer in the reactID.\n          var indents = '\\t' + Array(log.reactID.split('.[').length).join('  ');\n          var delta = _microTime(log.timing.delta);\n          var bloat = _microTime(log.timing.timeToLog);\n\n          return log.index + indents + log.name + ' (' + delta + 'ms)' +\n            ' [' + bloat + 'ms]';\n        }).join('\\n');\n      });\n    },\n\n    /**\n     * Print the render history from `getRenderHistory` using console.log.\n     * This is currently the best way to display perf data from\n     * any React component; working on that.\n     *\n     * @param {string} rootID The reactID of the root node, e.g. '.r[2cpyq]'\n     * @param {number} index\n     */\n    printRenderHistory: function(rootID, index) {\n      var history = this.getRenderHistory(rootID);\n      if (!history[index]) {\n        console.warn(\n          'Index', index, 'isn\\'t available! ' +\n          'The render history is', history.length, 'long.'\n        );\n        return;\n      }\n      console.log(\n        'Loading render history #' + (index + 1) +\n        ' of ' + history.length + ':\\n' + history[index]\n      );\n    },\n\n    /**\n     * Prints the heatmap legend to console, showing how the colors correspond\n     * with render times. This relies on console.log styles.\n     */\n    printHeatmapLegend: function() {\n      if (!this.options.heatmap.enabled) {\n        return;\n      }\n      var max = this.info.React\n        && this.info.React.renderComponent\n        && this.info.React.renderComponent.max;\n      if (max) {\n        var logStr = 'Heatmap: ';\n        for (var ii = 0; ii <= 10 * max; ii += max) {\n          logStr += '%c ' + (Math.round(ii) / 10) + 'ms ';\n        }\n        console.log(\n          logStr,\n          'background-color: hsla(100, 100%, 50%, 0.6);',\n          'background-color: hsla( 90, 100%, 50%, 0.6);',\n          'background-color: hsla( 80, 100%, 50%, 0.6);',\n          'background-color: hsla( 70, 100%, 50%, 0.6);',\n          'background-color: hsla( 60, 100%, 50%, 0.6);',\n          'background-color: hsla( 50, 100%, 50%, 0.6);',\n          'background-color: hsla( 40, 100%, 50%, 0.6);',\n          'background-color: hsla( 30, 100%, 50%, 0.6);',\n          'background-color: hsla( 20, 100%, 50%, 0.6);',\n          'background-color: hsla( 10, 100%, 50%, 0.6);',\n          'background-color: hsla(  0, 100%, 50%, 0.6);'\n        );\n      }\n    },\n\n    /**\n     * Measure a given function with logging information, and calls a callback\n     * if there is one.\n     *\n     * @param {string} objName\n     * @param {string} fnName\n     * @param {function} func\n     * @return {function}\n     */\n    measure: function(objName, fnName, func) {\n      var info = _getNewInfo(objName, fnName);\n\n      var fnArgs = _getFnArguments(func);\n\n      return function() {\n        var timeBeforeFn = performanceNow();\n        var fnReturn = func.apply(this, arguments);\n        var timeAfterFn = performanceNow();\n\n        /**\n         * Hold onto arguments in a readable way: args[1] -> args.component.\n         * args is also passed to the callback, so if you want to save an\n         * argument in the log, do so in the callback.\n         */\n        var args = {};\n        for (var i = 0; i < arguments.length; i++) {\n          args[fnArgs[i]] = arguments[i];\n        }\n\n        var log = {\n          index: ReactDefaultPerf.logs.length,\n          fnName: fnName,\n          objName: objName,\n          timing: {\n            before: timeBeforeFn,\n            after: timeAfterFn,\n            delta: timeAfterFn - timeBeforeFn\n          }\n        };\n\n        ReactDefaultPerf.logs.push(log);\n\n        /**\n         * The callback gets:\n         * - this (the component)\n         * - the original method's arguments\n         * - what the method returned\n         * - the log object, and\n         * - the wrapped method's info object.\n         */\n        var callback = _getCallback(objName, fnName);\n        callback && callback(this, args, fnReturn, log, info);\n\n        log.timing.timeToLog = performanceNow() - timeAfterFn;\n\n        return fnReturn;\n      };\n    },\n\n    /**\n     * Holds information on wrapped objects/methods.\n     * For instance, ReactDefaultPerf.info.React.renderComponent\n     */\n    info: {},\n\n    /**\n     * Holds all of the logs. Filter this to pull desired information.\n     */\n    logs: [],\n\n    /**\n     * Toggle settings for ReactDefaultPerf\n     */\n    options: {\n      /**\n       * The heatmap sets the background color of the React containers\n       * according to how much total time has been spent rendering them.\n       * The most temporally expensive component is set as pure red,\n       * and the others are colored from green to red as a fraction\n       * of that max component time.\n       */\n      heatmap: {\n        enabled: true\n      }\n    }\n  };\n\n  /**\n   * Gets a info area for a given object's function, adding a new one if\n   * necessary.\n   *\n   * @param {string} objName\n   * @param {string} fnName\n   * @return {object}\n   */\n  var _getNewInfo = function(objName, fnName) {\n    var info = ReactDefaultPerf.getInfo(objName, fnName);\n    if (info) {\n      return info;\n    }\n    ReactDefaultPerf.info[objName] = ReactDefaultPerf.info[objName] || {};\n\n    return ReactDefaultPerf.info[objName][fnName] = {\n      getLogs: function() {\n        return ReactDefaultPerf.getLogs(objName, fnName);\n      }\n    };\n  };\n\n  /**\n   * Gets a list of the argument names from a function's definition.\n   * This is useful for storing arguments by their names within wrapFn().\n   *\n   * @param {function} fn\n   * @return {array<string>}\n   */\n  var _getFnArguments = function(fn) {\n    var STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/mg;\n    var fnStr = fn.toString().replace(STRIP_COMMENTS, '');\n    fnStr = fnStr.slice(fnStr.indexOf('(') + 1, fnStr.indexOf(')'));\n    return fnStr.match(/([^\\s,]+)/g);\n  };\n\n  /**\n   * Store common callbacks within ReactDefaultPerf.\n   *\n   * @param {string} objName\n   * @param {string} fnName\n   * @return {?function}\n   */\n  var _getCallback = function(objName, fnName) {\n    switch (objName + '.' + fnName) {\n      case 'React.renderComponent':\n        return _renderComponentCallback;\n      case 'ReactDOMComponent.mountComponent':\n      case 'ReactDOMComponent.updateComponent':\n        return _nativeComponentCallback;\n      case 'ReactCompositeComponent.mountComponent':\n      case 'ReactCompositeComponent.updateComponent':\n        return _compositeComponentCallback;\n      default:\n        return null;\n    }\n  };\n\n  /**\n   * Callback function for React.renderComponent\n   *\n   * @param {object} component\n   * @param {object} args\n   * @param {?object} fnReturn\n   * @param {object} log\n   * @param {object} info\n   */\n  var _renderComponentCallback =\n    function(component, args, fnReturn, log, info) {\n    log.name = args.nextComponent.constructor.displayName || '[unknown]';\n    log.reactID = fnReturn._rootNodeID || null;\n\n    if (ReactDefaultPerf.options.heatmap.enabled) {\n      var container = args.container;\n      if (!container.loggedByReactDefaultPerf) {\n        container.loggedByReactDefaultPerf = true;\n        info.components = info.components || [];\n        info.components.push(container);\n      }\n\n      container.count = container.count || 0;\n      container.count += log.timing.delta;\n      info.max = info.max || 0;\n      if (container.count > info.max) {\n        info.max = container.count;\n        info.components.forEach(function(component) {\n          _setHue(component, 100 - 100 * component.count / info.max);\n        });\n      } else {\n        _setHue(container, 100 - 100 * container.count / info.max);\n      }\n    }\n  };\n\n  /**\n   * Callback function for ReactDOMComponent\n   *\n   * @param {object} component\n   * @param {object} args\n   * @param {?object} fnReturn\n   * @param {object} log\n   * @param {object} info\n   */\n  var _nativeComponentCallback =\n    function(component, args, fnReturn, log, info) {\n    log.name = component.tagName || '[unknown]';\n    log.reactID = component._rootNodeID;\n  };\n\n  /**\n   * Callback function for ReactCompositeComponent\n   *\n   * @param {object} component\n   * @param {object} args\n   * @param {?object} fnReturn\n   * @param {object} log\n   * @param {object} info\n   */\n  var _compositeComponentCallback =\n    function(component, args, fnReturn, log, info) {\n    log.name = component.constructor.displayName || '[unknown]';\n    log.reactID = component._rootNodeID;\n  };\n\n  /**\n   * Using the hsl() background-color attribute, colors an element.\n   *\n   * @param {DOMElement} el\n   * @param {number} hue [0 for red, 120 for green, 240 for blue]\n   */\n  var _setHue = function(el, hue) {\n    el.style.backgroundColor = 'hsla(' + hue + ', 100%, 50%, 0.6)';\n  };\n\n  /**\n   * Round to the thousandth place.\n   * @param {number} time\n   * @return {number}\n   */\n  var _microTime = function(time) {\n    return Math.round(time * 1000) / 1000;\n  };\n}\n\nmodule.exports = ReactDefaultPerf;\n\n},{\"./performanceNow\":125}],46:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactErrorUtils\n * @typechecks\n */\n\nvar ReactErrorUtils = {\n  /**\n   * Creates a guarded version of a function. This is supposed to make debugging\n   * of event handlers easier. This implementation provides only basic error\n   * logging and re-throws the error.\n   *\n   * @param {function} func Function to be executed\n   * @param {string} name The name of the guard\n   * @return {function}\n   */\n  guard: function(func, name) {\n    if (\"production\" !== \"development\") {\n      return function guarded() {\n        try {\n          return func.apply(this, arguments);\n        } catch(ex) {\n          console.error(name + ': ' + ex.message);\n          throw ex;\n        }\n      };\n    } else {\n      return func;\n    }\n  }\n};\n\nmodule.exports = ReactErrorUtils;\n\n},{}],47:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactEventEmitter\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventListener = require(\"./EventListener\");\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar ReactEventEmitterMixin = require(\"./ReactEventEmitterMixin\");\nvar ViewportMetrics = require(\"./ViewportMetrics\");\n\nvar invariant = require(\"./invariant\");\nvar isEventSupported = require(\"./isEventSupported\");\nvar merge = require(\"./merge\");\n\n/**\n * Summary of `ReactEventEmitter` event handling:\n *\n *  - Top-level delegation is used to trap native browser events. We normalize\n *    and de-duplicate events to account for browser quirks.\n *\n *  - Forward these native events (with the associated top-level type used to\n *    trap it) to `EventPluginHub`, which in turn will ask plugins if they want\n *    to extract any synthetic events.\n *\n *  - The `EventPluginHub` will then process each event by annotating them with\n *    \"dispatches\", a sequence of listeners and IDs that care about that event.\n *\n *  - The `EventPluginHub` then dispatches the events.\n *\n * Overview of React and the event system:\n *\n *                   .\n * +------------+    .\n * |    DOM     |    .\n * +------------+    .                         +-----------+\n *       +           .               +--------+|SimpleEvent|\n *       |           .               |         |Plugin     |\n * +-----|------+    .               v         +-----------+\n * |     |      |    .    +--------------+                    +------------+\n * |     +-----------.--->|EventPluginHub|                    |    Event   |\n * |            |    .    |              |     +-----------+  | Propagators|\n * | ReactEvent |    .    |              |     |TapEvent   |  |------------|\n * |  Emitter   |    .    |              |<---+|Plugin     |  |other plugin|\n * |            |    .    |              |     +-----------+  |  utilities |\n * |     +-----------.---------+         |                    +------------+\n * |     |      |    .    +----|---------+\n * +-----|------+    .         |      ^        +-----------+\n *       |           .         |      |        |Enter/Leave|\n *       +           .         |      +-------+|Plugin     |\n * +-------------+   .         v               +-----------+\n * | application |   .    +----------+\n * |-------------|   .    | callback |\n * |             |   .    | registry |\n * |             |   .    +----------+\n * +-------------+   .\n *                   .\n *    React Core     .  General Purpose Event Plugin System\n */\n\n/**\n * Traps top-level events by using event bubbling.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {DOMEventTarget} element Element on which to attach listener.\n * @internal\n */\nfunction trapBubbledEvent(topLevelType, handlerBaseName, element) {\n  EventListener.listen(\n    element,\n    handlerBaseName,\n    ReactEventEmitter.TopLevelCallbackCreator.createTopLevelCallback(\n      topLevelType\n    )\n  );\n}\n\n/**\n * Traps a top-level event by using event capturing.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {DOMEventTarget} element Element on which to attach listener.\n * @internal\n */\nfunction trapCapturedEvent(topLevelType, handlerBaseName, element) {\n  EventListener.capture(\n    element,\n    handlerBaseName,\n    ReactEventEmitter.TopLevelCallbackCreator.createTopLevelCallback(\n      topLevelType\n    )\n  );\n}\n\n/**\n * Listens to window scroll and resize events. We cache scroll values so that\n * application code can access them without triggering reflows.\n *\n * NOTE: Scroll events do not bubble.\n *\n * @private\n * @see http://www.quirksmode.org/dom/events/scroll.html\n */\nfunction registerScrollValueMonitoring() {\n  var refresh = ViewportMetrics.refreshScrollValues;\n  EventListener.listen(window, 'scroll', refresh);\n  EventListener.listen(window, 'resize', refresh);\n}\n\n/**\n * `ReactEventEmitter` is used to attach top-level event listeners. For example:\n *\n *   ReactEventEmitter.putListener('myID', 'onClick', myFunction);\n *\n * This would allocate a \"registration\" of `('onClick', myFunction)` on 'myID'.\n *\n * @internal\n */\nvar ReactEventEmitter = merge(ReactEventEmitterMixin, {\n\n  /**\n   * React references `ReactEventTopLevelCallback` using this property in order\n   * to allow dependency injection.\n   */\n  TopLevelCallbackCreator: null,\n\n  /**\n   * Ensures that top-level event delegation listeners are installed.\n   *\n   * There are issues with listening to both touch events and mouse events on\n   * the top-level, so we make the caller choose which one to listen to. (If\n   * there's a touch top-level listeners, anchors don't receive clicks for some\n   * reason, and only in some cases).\n   *\n   * @param {boolean} touchNotMouse Listen to touch events instead of mouse.\n   * @param {DOMDocument} contentDocument DOM document to listen on\n   */\n  ensureListening: function(touchNotMouse, contentDocument) {\n    (\"production\" !== \"development\" ? invariant(\n      ExecutionEnvironment.canUseDOM,\n      'ensureListening(...): Cannot toggle event listening in a Worker ' +\n      'thread. This is likely a bug in the framework. Please report ' +\n      'immediately.'\n    ) : invariant(ExecutionEnvironment.canUseDOM));\n    (\"production\" !== \"development\" ? invariant(\n      ReactEventEmitter.TopLevelCallbackCreator,\n      'ensureListening(...): Cannot be called without a top level callback ' +\n      'creator being injected.'\n    ) : invariant(ReactEventEmitter.TopLevelCallbackCreator));\n    // Call out to base implementation.\n    ReactEventEmitterMixin.ensureListening.call(\n      ReactEventEmitter,\n      {\n        touchNotMouse: touchNotMouse,\n        contentDocument: contentDocument\n      }\n    );\n  },\n\n  /**\n   * Sets whether or not any created callbacks should be enabled.\n   *\n   * @param {boolean} enabled True if callbacks should be enabled.\n   */\n  setEnabled: function(enabled) {\n    (\"production\" !== \"development\" ? invariant(\n      ExecutionEnvironment.canUseDOM,\n      'setEnabled(...): Cannot toggle event listening in a Worker thread. ' +\n      'This is likely a bug in the framework. Please report immediately.'\n    ) : invariant(ExecutionEnvironment.canUseDOM));\n    if (ReactEventEmitter.TopLevelCallbackCreator) {\n      ReactEventEmitter.TopLevelCallbackCreator.setEnabled(enabled);\n    }\n  },\n\n  /**\n   * @return {boolean} True if callbacks are enabled.\n   */\n  isEnabled: function() {\n    return !!(\n      ReactEventEmitter.TopLevelCallbackCreator &&\n      ReactEventEmitter.TopLevelCallbackCreator.isEnabled()\n    );\n  },\n\n  /**\n   * We listen for bubbled touch events on the document object.\n   *\n   * Firefox v8.01 (and possibly others) exhibited strange behavior when\n   * mounting `onmousemove` events at some node that was not the document\n   * element. The symptoms were that if your mouse is not moving over something\n   * contained within that mount point (for example on the background) the\n   * top-level listeners for `onmousemove` won't be called. However, if you\n   * register the `mousemove` on the document object, then it will of course\n   * catch all `mousemove`s. This along with iOS quirks, justifies restricting\n   * top-level listeners to the document object only, at least for these\n   * movement types of events and possibly all events.\n   *\n   * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n   *\n   * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but\n   * they bubble to document.\n   *\n   * @param {boolean} touchNotMouse Listen to touch events instead of mouse.\n   * @param {DOMDocument} contentDocument Document which owns the container\n   * @private\n   * @see http://www.quirksmode.org/dom/events/keys.html.\n   */\n  listenAtTopLevel: function(touchNotMouse, contentDocument) {\n    (\"production\" !== \"development\" ? invariant(\n      !contentDocument._isListening,\n      'listenAtTopLevel(...): Cannot setup top-level listener more than once.'\n    ) : invariant(!contentDocument._isListening));\n    var topLevelTypes = EventConstants.topLevelTypes;\n    var mountAt = contentDocument;\n\n    registerScrollValueMonitoring();\n    trapBubbledEvent(topLevelTypes.topMouseOver, 'mouseover', mountAt);\n    trapBubbledEvent(topLevelTypes.topMouseDown, 'mousedown', mountAt);\n    trapBubbledEvent(topLevelTypes.topMouseUp, 'mouseup', mountAt);\n    trapBubbledEvent(topLevelTypes.topMouseMove, 'mousemove', mountAt);\n    trapBubbledEvent(topLevelTypes.topMouseOut, 'mouseout', mountAt);\n    trapBubbledEvent(topLevelTypes.topClick, 'click', mountAt);\n    trapBubbledEvent(topLevelTypes.topDoubleClick, 'dblclick', mountAt);\n    trapBubbledEvent(topLevelTypes.topContextMenu, 'contextmenu', mountAt);\n    if (touchNotMouse) {\n      trapBubbledEvent(topLevelTypes.topTouchStart, 'touchstart', mountAt);\n      trapBubbledEvent(topLevelTypes.topTouchEnd, 'touchend', mountAt);\n      trapBubbledEvent(topLevelTypes.topTouchMove, 'touchmove', mountAt);\n      trapBubbledEvent(topLevelTypes.topTouchCancel, 'touchcancel', mountAt);\n    }\n    trapBubbledEvent(topLevelTypes.topKeyUp, 'keyup', mountAt);\n    trapBubbledEvent(topLevelTypes.topKeyPress, 'keypress', mountAt);\n    trapBubbledEvent(topLevelTypes.topKeyDown, 'keydown', mountAt);\n    trapBubbledEvent(topLevelTypes.topInput, 'input', mountAt);\n    trapBubbledEvent(topLevelTypes.topChange, 'change', mountAt);\n    trapBubbledEvent(\n      topLevelTypes.topSelectionChange,\n      'selectionchange',\n      mountAt\n    );\n\n    trapBubbledEvent(\n      topLevelTypes.topCompositionEnd,\n      'compositionend',\n      mountAt\n    );\n    trapBubbledEvent(\n      topLevelTypes.topCompositionStart,\n      'compositionstart',\n      mountAt\n    );\n    trapBubbledEvent(\n      topLevelTypes.topCompositionUpdate,\n      'compositionupdate',\n      mountAt\n    );\n\n    if (isEventSupported('drag')) {\n      trapBubbledEvent(topLevelTypes.topDrag, 'drag', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragEnd, 'dragend', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragEnter, 'dragenter', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragExit, 'dragexit', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragLeave, 'dragleave', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragOver, 'dragover', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragStart, 'dragstart', mountAt);\n      trapBubbledEvent(topLevelTypes.topDrop, 'drop', mountAt);\n    }\n\n    if (isEventSupported('wheel')) {\n      trapBubbledEvent(topLevelTypes.topWheel, 'wheel', mountAt);\n    } else if (isEventSupported('mousewheel')) {\n      trapBubbledEvent(topLevelTypes.topWheel, 'mousewheel', mountAt);\n    } else {\n      // Firefox needs to capture a different mouse scroll event.\n      // @see http://www.quirksmode.org/dom/events/tests/scroll.html\n      trapBubbledEvent(topLevelTypes.topWheel, 'DOMMouseScroll', mountAt);\n    }\n\n    // IE<9 does not support capturing so just trap the bubbled event there.\n    if (isEventSupported('scroll', true)) {\n      trapCapturedEvent(topLevelTypes.topScroll, 'scroll', mountAt);\n    } else {\n      trapBubbledEvent(topLevelTypes.topScroll, 'scroll', window);\n    }\n\n    if (isEventSupported('focus', true)) {\n      trapCapturedEvent(topLevelTypes.topFocus, 'focus', mountAt);\n      trapCapturedEvent(topLevelTypes.topBlur, 'blur', mountAt);\n    } else if (isEventSupported('focusin')) {\n      // IE has `focusin` and `focusout` events which bubble.\n      // @see\n      // http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html\n      trapBubbledEvent(topLevelTypes.topFocus, 'focusin', mountAt);\n      trapBubbledEvent(topLevelTypes.topBlur, 'focusout', mountAt);\n    }\n\n    if (isEventSupported('copy')) {\n      trapBubbledEvent(topLevelTypes.topCopy, 'copy', mountAt);\n      trapBubbledEvent(topLevelTypes.topCut, 'cut', mountAt);\n      trapBubbledEvent(topLevelTypes.topPaste, 'paste', mountAt);\n    }\n  },\n\n  registrationNames: EventPluginHub.registrationNames,\n\n  putListener: EventPluginHub.putListener,\n\n  getListener: EventPluginHub.getListener,\n\n  deleteListener: EventPluginHub.deleteListener,\n\n  deleteAllListeners: EventPluginHub.deleteAllListeners,\n\n  trapBubbledEvent: trapBubbledEvent,\n\n  trapCapturedEvent: trapCapturedEvent\n\n});\n\n\nmodule.exports = ReactEventEmitter;\n\n},{\"./EventConstants\":15,\"./EventListener\":16,\"./EventPluginHub\":17,\"./ExecutionEnvironment\":21,\"./ReactEventEmitterMixin\":48,\"./ViewportMetrics\":84,\"./invariant\":109,\"./isEventSupported\":110,\"./merge\":118}],48:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactEventEmitterMixin\n */\n\n\"use strict\";\n\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar ReactUpdates = require(\"./ReactUpdates\");\n\nfunction runEventQueueInBatch(events) {\n  EventPluginHub.enqueueEvents(events);\n  EventPluginHub.processEventQueue();\n}\n\nvar ReactEventEmitterMixin = {\n  /**\n   * Whether or not `ensureListening` has been invoked.\n   * @type {boolean}\n   * @private\n   */\n  _isListening: false,\n\n  /**\n   * Function, must be implemented. Listens to events on the top level of the\n   * application.\n   *\n   * @abstract\n   *\n   * listenAtTopLevel: null,\n   */\n\n  /**\n   * Ensures that top-level event delegation listeners are installed.\n   *\n   * There are issues with listening to both touch events and mouse events on\n   * the top-level, so we make the caller choose which one to listen to. (If\n   * there's a touch top-level listeners, anchors don't receive clicks for some\n   * reason, and only in some cases).\n   *\n   * @param {*} config Configuration passed through to `listenAtTopLevel`.\n   */\n  ensureListening: function(config) {\n    if (!config.contentDocument._reactIsListening) {\n      this.listenAtTopLevel(config.touchNotMouse, config.contentDocument);\n      config.contentDocument._reactIsListening = true;\n    }\n  },\n\n  /**\n   * Streams a fired top-level event to `EventPluginHub` where plugins have the\n   * opportunity to create `ReactEvent`s to be dispatched.\n   *\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {object} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native environment event.\n   */\n  handleTopLevel: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    var events = EventPluginHub.extractEvents(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent\n    );\n\n    // Event queue being processed in the same cycle allows `preventDefault`.\n    ReactUpdates.batchedUpdates(runEventQueueInBatch, events);\n  }\n};\n\nmodule.exports = ReactEventEmitterMixin;\n\n},{\"./EventPluginHub\":17,\"./ReactUpdates\":70}],49:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactEventTopLevelCallback\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactMount = require(\"./ReactMount\");\n\nvar getEventTarget = require(\"./getEventTarget\");\n\n/**\n * @type {boolean}\n * @private\n */\nvar _topLevelListenersEnabled = true;\n\n/**\n * Top-level callback creator used to implement event handling using delegation.\n * This is used via dependency injection.\n */\nvar ReactEventTopLevelCallback = {\n\n  /**\n   * Sets whether or not any created callbacks should be enabled.\n   *\n   * @param {boolean} enabled True if callbacks should be enabled.\n   */\n  setEnabled: function(enabled) {\n    _topLevelListenersEnabled = !!enabled;\n  },\n\n  /**\n   * @return {boolean} True if callbacks are enabled.\n   */\n  isEnabled: function() {\n    return _topLevelListenersEnabled;\n  },\n\n  /**\n   * Creates a callback for the supplied `topLevelType` that could be added as\n   * a listener to the document. The callback computes a `topLevelTarget` which\n   * should be the root node of a mounted React component where the listener\n   * is attached.\n   *\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @return {function} Callback for handling top-level events.\n   */\n  createTopLevelCallback: function(topLevelType) {\n    return function(nativeEvent) {\n      if (!_topLevelListenersEnabled) {\n        return;\n      }\n      // TODO: Remove when synthetic events are ready, this is for IE<9.\n      if (nativeEvent.srcElement &&\n          nativeEvent.srcElement !== nativeEvent.target) {\n        nativeEvent.target = nativeEvent.srcElement;\n      }\n      var topLevelTarget = ReactMount.getFirstReactDOM(\n        getEventTarget(nativeEvent)\n      ) || window;\n      var topLevelTargetID = ReactMount.getID(topLevelTarget) || '';\n      ReactEventEmitter.handleTopLevel(\n        topLevelType,\n        topLevelTarget,\n        topLevelTargetID,\n        nativeEvent\n      );\n    };\n  }\n\n};\n\nmodule.exports = ReactEventTopLevelCallback;\n\n},{\"./ReactEventEmitter\":47,\"./ReactMount\":54,\"./getEventTarget\":102}],50:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactInputSelection\n */\n\n\"use strict\";\n\nvar ReactDOMSelection = require(\"./ReactDOMSelection\");\n\nvar containsNode = require(\"./containsNode\");\nvar getActiveElement = require(\"./getActiveElement\");\n\nfunction isInDocument(node) {\n  return containsNode(document.documentElement, node);\n}\n\n/**\n * @ReactInputSelection: React input selection module. Based on Selection.js,\n * but modified to be suitable for react and has a couple of bug fixes (doesn't\n * assume buttons have range selections allowed).\n * Input selection module for React.\n */\nvar ReactInputSelection = {\n\n  hasSelectionCapabilities: function(elem) {\n    return elem && (\n      (elem.nodeName === 'INPUT' && elem.type === 'text') ||\n      elem.nodeName === 'TEXTAREA' ||\n      elem.contentEditable === 'true'\n    );\n  },\n\n  getSelectionInformation: function() {\n    var focusedElem = getActiveElement();\n    return {\n      focusedElem: focusedElem,\n      selectionRange:\n          ReactInputSelection.hasSelectionCapabilities(focusedElem) ?\n          ReactInputSelection.getSelection(focusedElem) :\n          null\n    };\n  },\n\n  /**\n   * @restoreSelection: If any selection information was potentially lost,\n   * restore it. This is useful when performing operations that could remove dom\n   * nodes and place them back in, resulting in focus being lost.\n   */\n  restoreSelection: function(priorSelectionInformation) {\n    var curFocusedElem = getActiveElement();\n    var priorFocusedElem = priorSelectionInformation.focusedElem;\n    var priorSelectionRange = priorSelectionInformation.selectionRange;\n    if (curFocusedElem !== priorFocusedElem &&\n        isInDocument(priorFocusedElem)) {\n      if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) {\n        ReactInputSelection.setSelection(\n          priorFocusedElem,\n          priorSelectionRange\n        );\n      }\n      priorFocusedElem.focus();\n    }\n  },\n\n  /**\n   * @getSelection: Gets the selection bounds of a focused textarea, input or\n   * contentEditable node.\n   * -@input: Look up selection bounds of this input\n   * -@return {start: selectionStart, end: selectionEnd}\n   */\n  getSelection: function(input) {\n    var selection;\n\n    if ('selectionStart' in input) {\n      // Modern browser with input or textarea.\n      selection = {\n        start: input.selectionStart,\n        end: input.selectionEnd\n      };\n    } else if (document.selection && input.nodeName === 'INPUT') {\n      // IE8 input.\n      var range = document.selection.createRange();\n      // There can only be one selection per document in IE, so it must\n      // be in our element.\n      if (range.parentElement() === input) {\n        selection = {\n          start: -range.moveStart('character', -input.value.length),\n          end: -range.moveEnd('character', -input.value.length)\n        };\n      }\n    } else {\n      // Content editable or old IE textarea.\n      selection = ReactDOMSelection.getOffsets(input);\n    }\n\n    return selection || {start: 0, end: 0};\n  },\n\n  /**\n   * @setSelection: Sets the selection bounds of a textarea or input and focuses\n   * the input.\n   * -@input     Set selection bounds of this input or textarea\n   * -@offsets   Object of same form that is returned from get*\n   */\n  setSelection: function(input, offsets) {\n    var start = offsets.start;\n    var end = offsets.end;\n    if (typeof end === 'undefined') {\n      end = start;\n    }\n\n    if ('selectionStart' in input) {\n      input.selectionStart = start;\n      input.selectionEnd = Math.min(end, input.value.length);\n    } else if (document.selection && input.nodeName === 'INPUT') {\n      var range = input.createTextRange();\n      range.collapse(true);\n      range.moveStart('character', start);\n      range.moveEnd('character', end - start);\n      range.select();\n    } else {\n      ReactDOMSelection.setOffsets(input, offsets);\n    }\n  }\n};\n\nmodule.exports = ReactInputSelection;\n\n},{\"./ReactDOMSelection\":41,\"./containsNode\":87,\"./getActiveElement\":101}],51:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactInstanceHandles\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\nvar SEPARATOR = '.';\nvar SEPARATOR_LENGTH = SEPARATOR.length;\n\n/**\n * Maximum depth of traversals before we consider the possibility of a bad ID.\n */\nvar MAX_TREE_DEPTH = 100;\n\n/**\n * Size of the reactRoot ID space. We generate random numbers for React root\n * IDs and if there's a collision the events and DOM update system will\n * get confused. If we assume 100 React components per page, and a user\n * loads 1 page per minute 24/7 for 50 years, with a mount point space of\n * 9,999,999 the likelihood of never having a collision is 99.997%.\n */\nvar GLOBAL_MOUNT_POINT_MAX = 9999999;\n\n/**\n * Creates a DOM ID prefix to use when mounting React components.\n *\n * @param {number} index A unique integer\n * @return {string} React root ID.\n * @internal\n */\nfunction getReactRootIDString(index) {\n  return SEPARATOR + 'r[' + index.toString(36) + ']';\n}\n\n/**\n * Checks if a character in the supplied ID is a separator or the end.\n *\n * @param {string} id A React DOM ID.\n * @param {number} index Index of the character to check.\n * @return {boolean} True if the character is a separator or end of the ID.\n * @private\n */\nfunction isBoundary(id, index) {\n  return id.charAt(index) === SEPARATOR || index === id.length;\n}\n\n/**\n * Checks if the supplied string is a valid React DOM ID.\n *\n * @param {string} id A React DOM ID, maybe.\n * @return {boolean} True if the string is a valid React DOM ID.\n * @private\n */\nfunction isValidID(id) {\n  return id === '' || (\n    id.charAt(0) === SEPARATOR && id.charAt(id.length - 1) !== SEPARATOR\n  );\n}\n\n/**\n * Checks if the first ID is an ancestor of or equal to the second ID.\n *\n * @param {string} ancestorID\n * @param {string} descendantID\n * @return {boolean} True if `ancestorID` is an ancestor of `descendantID`.\n * @internal\n */\nfunction isAncestorIDOf(ancestorID, descendantID) {\n  return (\n    descendantID.indexOf(ancestorID) === 0 &&\n    isBoundary(descendantID, ancestorID.length)\n  );\n}\n\n/**\n * Gets the parent ID of the supplied React DOM ID, `id`.\n *\n * @param {string} id ID of a component.\n * @return {string} ID of the parent, or an empty string.\n * @private\n */\nfunction getParentID(id) {\n  return id ? id.substr(0, id.lastIndexOf(SEPARATOR)) : '';\n}\n\n/**\n * Gets the next DOM ID on the tree path from the supplied `ancestorID` to the\n * supplied `destinationID`. If they are equal, the ID is returned.\n *\n * @param {string} ancestorID ID of an ancestor node of `destinationID`.\n * @param {string} destinationID ID of the destination node.\n * @return {string} Next ID on the path from `ancestorID` to `destinationID`.\n * @private\n */\nfunction getNextDescendantID(ancestorID, destinationID) {\n  (\"production\" !== \"development\" ? invariant(\n    isValidID(ancestorID) && isValidID(destinationID),\n    'getNextDescendantID(%s, %s): Received an invalid React DOM ID.',\n    ancestorID,\n    destinationID\n  ) : invariant(isValidID(ancestorID) && isValidID(destinationID)));\n  (\"production\" !== \"development\" ? invariant(\n    isAncestorIDOf(ancestorID, destinationID),\n    'getNextDescendantID(...): React has made an invalid assumption about ' +\n    'the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.',\n    ancestorID,\n    destinationID\n  ) : invariant(isAncestorIDOf(ancestorID, destinationID)));\n  if (ancestorID === destinationID) {\n    return ancestorID;\n  }\n  // Skip over the ancestor and the immediate separator. Traverse until we hit\n  // another separator or we reach the end of `destinationID`.\n  var start = ancestorID.length + SEPARATOR_LENGTH;\n  for (var i = start; i < destinationID.length; i++) {\n    if (isBoundary(destinationID, i)) {\n      break;\n    }\n  }\n  return destinationID.substr(0, i);\n}\n\n/**\n * Gets the nearest common ancestor ID of two IDs.\n *\n * Using this ID scheme, the nearest common ancestor ID is the longest common\n * prefix of the two IDs that immediately preceded a \"marker\" in both strings.\n *\n * @param {string} oneID\n * @param {string} twoID\n * @return {string} Nearest common ancestor ID, or the empty string if none.\n * @private\n */\nfunction getFirstCommonAncestorID(oneID, twoID) {\n  var minLength = Math.min(oneID.length, twoID.length);\n  if (minLength === 0) {\n    return '';\n  }\n  var lastCommonMarkerIndex = 0;\n  // Use `<=` to traverse until the \"EOL\" of the shorter string.\n  for (var i = 0; i <= minLength; i++) {\n    if (isBoundary(oneID, i) && isBoundary(twoID, i)) {\n      lastCommonMarkerIndex = i;\n    } else if (oneID.charAt(i) !== twoID.charAt(i)) {\n      break;\n    }\n  }\n  var longestCommonID = oneID.substr(0, lastCommonMarkerIndex);\n  (\"production\" !== \"development\" ? invariant(\n    isValidID(longestCommonID),\n    'getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s',\n    oneID,\n    twoID,\n    longestCommonID\n  ) : invariant(isValidID(longestCommonID)));\n  return longestCommonID;\n}\n\n/**\n * Traverses the parent path between two IDs (either up or down). The IDs must\n * not be the same, and there must exist a parent path between them.\n *\n * @param {?string} start ID at which to start traversal.\n * @param {?string} stop ID at which to end traversal.\n * @param {function} cb Callback to invoke each ID with.\n * @param {?boolean} skipFirst Whether or not to skip the first node.\n * @param {?boolean} skipLast Whether or not to skip the last node.\n * @private\n */\nfunction traverseParentPath(start, stop, cb, arg, skipFirst, skipLast) {\n  start = start || '';\n  stop = stop || '';\n  (\"production\" !== \"development\" ? invariant(\n    start !== stop,\n    'traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.',\n    start\n  ) : invariant(start !== stop));\n  var traverseUp = isAncestorIDOf(stop, start);\n  (\"production\" !== \"development\" ? invariant(\n    traverseUp || isAncestorIDOf(start, stop),\n    'traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do ' +\n    'not have a parent path.',\n    start,\n    stop\n  ) : invariant(traverseUp || isAncestorIDOf(start, stop)));\n  // Traverse from `start` to `stop` one depth at a time.\n  var depth = 0;\n  var traverse = traverseUp ? getParentID : getNextDescendantID;\n  for (var id = start; /* until break */; id = traverse(id, stop)) {\n    if ((!skipFirst || id !== start) && (!skipLast || id !== stop)) {\n      cb(id, traverseUp, arg);\n    }\n    if (id === stop) {\n      // Only break //after// visiting `stop`.\n      break;\n    }\n    (\"production\" !== \"development\" ? invariant(\n      depth++ < MAX_TREE_DEPTH,\n      'traverseParentPath(%s, %s, ...): Detected an infinite loop while ' +\n      'traversing the React DOM ID tree. This may be due to malformed IDs: %s',\n      start, stop\n    ) : invariant(depth++ < MAX_TREE_DEPTH));\n  }\n}\n\n/**\n * Manages the IDs assigned to DOM representations of React components. This\n * uses a specific scheme in order to traverse the DOM efficiently (e.g. in\n * order to simulate events).\n *\n * @internal\n */\nvar ReactInstanceHandles = {\n\n  createReactRootID: function() {\n    return getReactRootIDString(\n      Math.ceil(Math.random() * GLOBAL_MOUNT_POINT_MAX)\n    );\n  },\n\n  /**\n   * Constructs a React ID by joining a root ID with a name.\n   *\n   * @param {string} rootID Root ID of a parent component.\n   * @param {string} name A component's name (as flattened children).\n   * @return {string} A React ID.\n   * @internal\n   */\n  createReactID: function(rootID, name) {\n    return rootID + SEPARATOR + name;\n  },\n\n  /**\n   * Gets the DOM ID of the React component that is the root of the tree that\n   * contains the React component with the supplied DOM ID.\n   *\n   * @param {string} id DOM ID of a React component.\n   * @return {?string} DOM ID of the React component that is the root.\n   * @internal\n   */\n  getReactRootIDFromNodeID: function(id) {\n    var regexResult = /\\.r\\[[^\\]]+\\]/.exec(id);\n    return regexResult && regexResult[0];\n  },\n\n  /**\n   * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that\n   * should would receive a `mouseEnter` or `mouseLeave` event.\n   *\n   * NOTE: Does not invoke the callback on the nearest common ancestor because\n   * nothing \"entered\" or \"left\" that element.\n   *\n   * @param {string} leaveID ID being left.\n   * @param {string} enterID ID being entered.\n   * @param {function} cb Callback to invoke on each entered/left ID.\n   * @param {*} upArg Argument to invoke the callback with on left IDs.\n   * @param {*} downArg Argument to invoke the callback with on entered IDs.\n   * @internal\n   */\n  traverseEnterLeave: function(leaveID, enterID, cb, upArg, downArg) {\n    var ancestorID = getFirstCommonAncestorID(leaveID, enterID);\n    if (ancestorID !== leaveID) {\n      traverseParentPath(leaveID, ancestorID, cb, upArg, false, true);\n    }\n    if (ancestorID !== enterID) {\n      traverseParentPath(ancestorID, enterID, cb, downArg, true, false);\n    }\n  },\n\n  /**\n   * Simulates the traversal of a two-phase, capture/bubble event dispatch.\n   *\n   * NOTE: This traversal happens on IDs without touching the DOM.\n   *\n   * @param {string} targetID ID of the target node.\n   * @param {function} cb Callback to invoke.\n   * @param {*} arg Argument to invoke the callback with.\n   * @internal\n   */\n  traverseTwoPhase: function(targetID, cb, arg) {\n    if (targetID) {\n      traverseParentPath('', targetID, cb, arg, true, false);\n      traverseParentPath(targetID, '', cb, arg, false, true);\n    }\n  },\n\n  /**\n   * Exposed for unit testing.\n   * @private\n   */\n  _getFirstCommonAncestorID: getFirstCommonAncestorID,\n\n  /**\n   * Exposed for unit testing.\n   * @private\n   */\n  _getNextDescendantID: getNextDescendantID,\n\n  isAncestorIDOf: isAncestorIDOf,\n\n  SEPARATOR: SEPARATOR\n\n};\n\nmodule.exports = ReactInstanceHandles;\n\n},{\"./invariant\":109}],52:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactLink\n * @typechecks static-only\n */\n\n\"use strict\";\n\n/**\n * ReactLink encapsulates a common pattern in which a component wants to modify\n * a prop received from its parent. ReactLink allows the parent to pass down a\n * value coupled with a callback that, when invoked, expresses an intent to\n * modify that value. For example:\n *\n * React.createClass({\n *   getInitialState: function() {\n *     return {value: ''};\n *   },\n *   render: function() {\n *     var valueLink = new ReactLink(this.state.value, this._handleValueChange);\n *     return <input valueLink={valueLink} />;\n *   },\n *   this._handleValueChange: function(newValue) {\n *     this.setState({value: newValue});\n *   }\n * });\n *\n * We have provided some sugary mixins to make the creation and\n * consumption of ReactLink easier; see LinkedValueMixin and LinkedStateMixin.\n */\n\n/**\n * @param {*} value current value of the link\n * @param {function} requestChange callback to request a change\n */\nfunction ReactLink(value, requestChange) {\n  this.value = value;\n  this.requestChange = requestChange;\n}\n\nmodule.exports = ReactLink;\n\n},{}],53:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMarkupChecksum\n */\n\n\"use strict\";\n\nvar adler32 = require(\"./adler32\");\n\nvar ReactMarkupChecksum = {\n  CHECKSUM_ATTR_NAME: 'data-react-checksum',\n\n  /**\n   * @param {string} markup Markup string\n   * @return {string} Markup string with checksum attribute attached\n   */\n  addChecksumToMarkup: function(markup) {\n    var checksum = adler32(markup);\n    return markup.replace(\n      '>',\n      ' ' + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + '=\"' + checksum + '\">'\n    );\n  },\n\n  /**\n   * @param {string} markup to use\n   * @param {DOMElement} element root React element\n   * @returns {boolean} whether or not the markup is the same\n   */\n  canReuseMarkup: function(markup, element) {\n    var existingChecksum = element.getAttribute(\n      ReactMarkupChecksum.CHECKSUM_ATTR_NAME\n    );\n    existingChecksum = existingChecksum && parseInt(existingChecksum, 10);\n    var markupChecksum = adler32(markup);\n    return markupChecksum === existingChecksum;\n  }\n};\n\nmodule.exports = ReactMarkupChecksum;\n\n},{\"./adler32\":86}],54:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMount\n */\n\n\"use strict\";\n\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactInstanceHandles = require(\"./ReactInstanceHandles\");\n\nvar $ = require(\"./$\");\nvar containsNode = require(\"./containsNode\");\nvar getReactRootElementInContainer = require(\"./getReactRootElementInContainer\");\nvar invariant = require(\"./invariant\");\n\nvar SEPARATOR = ReactInstanceHandles.SEPARATOR;\n\nvar ATTR_NAME = 'data-reactid';\nvar nodeCache = {};\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOC_NODE_TYPE = 9;\n\n/** Mapping from reactRootID to React component instance. */\nvar instancesByReactRootID = {};\n\n/** Mapping from reactRootID to `container` nodes. */\nvar containersByReactRootID = {};\n\nif (\"production\" !== \"development\") {\n  /** __DEV__-only mapping from reactRootID to root elements. */\n  var rootElementsByReactRootID = {};\n}\n\n/**\n * @param {DOMElement} container DOM element that may contain a React component.\n * @return {?string} A \"reactRoot\" ID, if a React component is rendered.\n */\nfunction getReactRootID(container) {\n  var rootElement = getReactRootElementInContainer(container);\n  return rootElement && ReactMount.getID(rootElement);\n}\n\n/**\n * Accessing node[ATTR_NAME] or calling getAttribute(ATTR_NAME) on a form\n * element can return its control whose name or ID equals ATTR_NAME. All\n * DOM nodes support `getAttributeNode` but this can also get called on\n * other objects so just return '' if we're given something other than a\n * DOM node (such as window).\n *\n * @param {?DOMElement|DOMWindow|DOMDocument|DOMTextNode} node DOM node.\n * @return {string} ID of the supplied `domNode`.\n */\nfunction getID(node) {\n  var id = internalGetID(node);\n  if (id) {\n    if (nodeCache.hasOwnProperty(id)) {\n      var cached = nodeCache[id];\n      if (cached !== node) {\n        (\"production\" !== \"development\" ? invariant(\n          !isValid(cached, id),\n          'ReactMount: Two valid but unequal nodes with the same `%s`: %s',\n          ATTR_NAME, id\n        ) : invariant(!isValid(cached, id)));\n\n        nodeCache[id] = node;\n      }\n    } else {\n      nodeCache[id] = node;\n    }\n  }\n\n  return id;\n}\n\nfunction internalGetID(node) {\n  // If node is something like a window, document, or text node, none of\n  // which support attributes or a .getAttribute method, gracefully return\n  // the empty string, as if the attribute were missing.\n  return node && node.getAttribute && node.getAttribute(ATTR_NAME) || '';\n}\n\n/**\n * Sets the React-specific ID of the given node.\n *\n * @param {DOMElement} node The DOM node whose ID will be set.\n * @param {string} id The value of the ID attribute.\n */\nfunction setID(node, id) {\n  var oldID = internalGetID(node);\n  if (oldID !== id) {\n    delete nodeCache[oldID];\n  }\n  node.setAttribute(ATTR_NAME, id);\n  nodeCache[id] = node;\n}\n\n/**\n * Finds the node with the supplied React-generated DOM ID.\n *\n * @param {string} id A React-generated DOM ID.\n * @return {DOMElement} DOM node with the suppled `id`.\n * @internal\n */\nfunction getNode(id) {\n  if (!nodeCache.hasOwnProperty(id) || !isValid(nodeCache[id], id)) {\n    nodeCache[id] = ReactMount.findReactNodeByID(id);\n  }\n  return nodeCache[id];\n}\n\n/**\n * A node is \"valid\" if it is contained by a currently mounted container.\n *\n * This means that the node does not have to be contained by a document in\n * order to be considered valid.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @param {string} id The expected ID of the node.\n * @return {boolean} Whether the node is contained by a mounted container.\n */\nfunction isValid(node, id) {\n  if (node) {\n    (\"production\" !== \"development\" ? invariant(\n      internalGetID(node) === id,\n      'ReactMount: Unexpected modification of `%s`',\n      ATTR_NAME\n    ) : invariant(internalGetID(node) === id));\n\n    var container = ReactMount.findReactContainerForID(id);\n    if (container && containsNode(container, node)) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\n/**\n * Causes the cache to forget about one React-specific ID.\n *\n * @param {string} id The ID to forget.\n */\nfunction purgeID(id) {\n  delete nodeCache[id];\n}\n\n/**\n * Mounting is the process of initializing a React component by creatings its\n * representative DOM elements and inserting them into a supplied `container`.\n * Any prior content inside `container` is destroyed in the process.\n *\n *   ReactMount.renderComponent(component, $('container'));\n *\n *   <div id=\"container\">                   <-- Supplied `container`.\n *     <div data-reactid=\".r[3]\">           <-- Rendered reactRoot of React\n *       // ...                                 component.\n *     </div>\n *   </div>\n *\n * Inside of `container`, the first element rendered is the \"reactRoot\".\n */\nvar ReactMount = {\n  /**\n   * Safety guard to prevent accidentally rendering over the entire HTML tree.\n   */\n  allowFullPageRender: false,\n\n  /** Time spent generating markup. */\n  totalInstantiationTime: 0,\n\n  /** Time spent inserting markup into the DOM. */\n  totalInjectionTime: 0,\n\n  /** Whether support for touch events should be initialized. */\n  useTouchEvents: false,\n\n  /** Exposed for debugging purposes **/\n  _instancesByReactRootID: instancesByReactRootID,\n\n  /**\n   * This is a hook provided to support rendering React components while\n   * ensuring that the apparent scroll position of its `container` does not\n   * change.\n   *\n   * @param {DOMElement} container The `container` being rendered into.\n   * @param {function} renderCallback This must be called once to do the render.\n   */\n  scrollMonitor: function(container, renderCallback) {\n    renderCallback();\n  },\n\n  /**\n   * Ensures that the top-level event delegation listener is set up. This will\n   * be invoked some time before the first time any React component is rendered.\n   * @param {DOMElement} container container we're rendering into\n   *\n   * @private\n   */\n  prepareEnvironmentForDOM: function(container) {\n    (\"production\" !== \"development\" ? invariant(\n      container && (\n        container.nodeType === ELEMENT_NODE_TYPE ||\n        container.nodeType === DOC_NODE_TYPE\n      ),\n      'prepareEnvironmentForDOM(...): Target container is not a DOM element.'\n    ) : invariant(container && (\n      container.nodeType === ELEMENT_NODE_TYPE ||\n      container.nodeType === DOC_NODE_TYPE\n    )));\n    var doc = container.nodeType === ELEMENT_NODE_TYPE ?\n      container.ownerDocument :\n      container;\n    ReactEventEmitter.ensureListening(ReactMount.useTouchEvents, doc);\n  },\n\n  /**\n   * Take a component that's already mounted into the DOM and replace its props\n   * @param {ReactComponent} prevComponent component instance already in the DOM\n   * @param {ReactComponent} nextComponent component instance to render\n   * @param {DOMElement} container container to render into\n   * @param {?function} callback function triggered on completion\n   */\n  _updateRootComponent: function(\n      prevComponent,\n      nextComponent,\n      container,\n      callback) {\n    var nextProps = nextComponent.props;\n    ReactMount.scrollMonitor(container, function() {\n      prevComponent.replaceProps(nextProps, callback);\n    });\n\n    if (\"production\" !== \"development\") {\n      // Record the root element in case it later gets transplanted.\n      rootElementsByReactRootID[getReactRootID(container)] =\n        getReactRootElementInContainer(container);\n    }\n\n    return prevComponent;\n  },\n\n  /**\n   * Register a component into the instance map and start the events system.\n   * @param {ReactComponent} nextComponent component instance to render\n   * @param {DOMElement} container container to render into\n   * @return {string} reactRoot ID prefix\n   */\n  _registerComponent: function(nextComponent, container) {\n    ReactMount.prepareEnvironmentForDOM(container);\n\n    var reactRootID = ReactMount.registerContainer(container);\n    instancesByReactRootID[reactRootID] = nextComponent;\n    return reactRootID;\n  },\n\n  /**\n   * Render a new component into the DOM.\n   * @param {ReactComponent} nextComponent component instance to render\n   * @param {DOMElement} container container to render into\n   * @param {boolean} shouldReuseMarkup if we should skip the markup insertion\n   * @return {ReactComponent} nextComponent\n   */\n  _renderNewRootComponent: function(\n      nextComponent,\n      container,\n      shouldReuseMarkup) {\n    var reactRootID = ReactMount._registerComponent(nextComponent, container);\n    nextComponent.mountComponentIntoNode(\n      reactRootID,\n      container,\n      shouldReuseMarkup\n    );\n\n    if (\"production\" !== \"development\") {\n      // Record the root element in case it later gets transplanted.\n      rootElementsByReactRootID[reactRootID] =\n        getReactRootElementInContainer(container);\n    }\n\n    return nextComponent;\n  },\n\n  /**\n   * Renders a React component into the DOM in the supplied `container`.\n   *\n   * If the React component was previously rendered into `container`, this will\n   * perform an update on it and only mutate the DOM as necessary to reflect the\n   * latest React component.\n   *\n   * @param {ReactComponent} nextComponent Component instance to render.\n   * @param {DOMElement} container DOM element to render into.\n   * @param {?function} callback function triggered on completion\n   * @return {ReactComponent} Component instance rendered in `container`.\n   */\n  renderComponent: function(nextComponent, container, callback) {\n    var registeredComponent = instancesByReactRootID[getReactRootID(container)];\n\n    if (registeredComponent) {\n      if (registeredComponent.constructor === nextComponent.constructor) {\n        return ReactMount._updateRootComponent(\n          registeredComponent,\n          nextComponent,\n          container,\n          callback\n        );\n      } else {\n        ReactMount.unmountComponentAtNode(container);\n      }\n    }\n\n    var reactRootElement = getReactRootElementInContainer(container);\n    var containerHasReactMarkup =\n      reactRootElement && ReactMount.isRenderedByReact(reactRootElement);\n\n    var shouldReuseMarkup = containerHasReactMarkup && !registeredComponent;\n\n    var component = ReactMount._renderNewRootComponent(\n      nextComponent,\n      container,\n      shouldReuseMarkup\n    );\n    callback && callback();\n    return component;\n  },\n\n  /**\n   * Constructs a component instance of `constructor` with `initialProps` and\n   * renders it into the supplied `container`.\n   *\n   * @param {function} constructor React component constructor.\n   * @param {?object} props Initial props of the component instance.\n   * @param {DOMElement} container DOM element to render into.\n   * @return {ReactComponent} Component instance rendered in `container`.\n   */\n  constructAndRenderComponent: function(constructor, props, container) {\n    return ReactMount.renderComponent(constructor(props), container);\n  },\n\n  /**\n   * Constructs a component instance of `constructor` with `initialProps` and\n   * renders it into a container node identified by supplied `id`.\n   *\n   * @param {function} componentConstructor React component constructor\n   * @param {?object} props Initial props of the component instance.\n   * @param {string} id ID of the DOM element to render into.\n   * @return {ReactComponent} Component instance rendered in the container node.\n   */\n  constructAndRenderComponentByID: function(constructor, props, id) {\n    return ReactMount.constructAndRenderComponent(constructor, props, $(id));\n  },\n\n  /**\n   * Registers a container node into which React components will be rendered.\n   * This also creates the \"reatRoot\" ID that will be assigned to the element\n   * rendered within.\n   *\n   * @param {DOMElement} container DOM element to register as a container.\n   * @return {string} The \"reactRoot\" ID of elements rendered within.\n   */\n  registerContainer: function(container) {\n    var reactRootID = getReactRootID(container);\n    if (reactRootID) {\n      // If one exists, make sure it is a valid \"reactRoot\" ID.\n      reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(reactRootID);\n    }\n    if (!reactRootID) {\n      // No valid \"reactRoot\" ID found, create one.\n      reactRootID = ReactInstanceHandles.createReactRootID();\n    }\n    containersByReactRootID[reactRootID] = container;\n    return reactRootID;\n  },\n\n  /**\n   * Unmounts and destroys the React component rendered in the `container`.\n   *\n   * @param {DOMElement} container DOM element containing a React component.\n   * @return {boolean} True if a component was found in and unmounted from\n   *                   `container`\n   */\n  unmountComponentAtNode: function(container) {\n    var reactRootID = getReactRootID(container);\n    var component = instancesByReactRootID[reactRootID];\n    if (!component) {\n      return false;\n    }\n    ReactMount.unmountComponentFromNode(component, container);\n    delete instancesByReactRootID[reactRootID];\n    delete containersByReactRootID[reactRootID];\n    if (\"production\" !== \"development\") {\n      delete rootElementsByReactRootID[reactRootID];\n    }\n    return true;\n  },\n\n  /**\n   * @deprecated\n   */\n  unmountAndReleaseReactRootNode: function() {\n    if (\"production\" !== \"development\") {\n      console.warn(\n        'unmountAndReleaseReactRootNode() has been renamed to ' +\n        'unmountComponentAtNode() and will be removed in the next ' +\n        'version of React.'\n      );\n    }\n    return ReactMount.unmountComponentAtNode.apply(this, arguments);\n  },\n\n  /**\n   * Unmounts a component and removes it from the DOM.\n   *\n   * @param {ReactComponent} instance React component instance.\n   * @param {DOMElement} container DOM element to unmount from.\n   * @final\n   * @internal\n   * @see {ReactMount.unmountComponentAtNode}\n   */\n  unmountComponentFromNode: function(instance, container) {\n    instance.unmountComponent();\n\n    if (container.nodeType === DOC_NODE_TYPE) {\n      container = container.documentElement;\n    }\n\n    // http://jsperf.com/emptying-a-node\n    while (container.lastChild) {\n      container.removeChild(container.lastChild);\n    }\n  },\n\n  /**\n   * Finds the container DOM element that contains React component to which the\n   * supplied DOM `id` belongs.\n   *\n   * @param {string} id The ID of an element rendered by a React component.\n   * @return {?DOMElement} DOM element that contains the `id`.\n   */\n  findReactContainerForID: function(id) {\n    var reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(id);\n    var container = containersByReactRootID[reactRootID];\n\n    if (\"production\" !== \"development\") {\n      var rootElement = rootElementsByReactRootID[reactRootID];\n      if (rootElement && rootElement.parentNode !== container) {\n        (\"production\" !== \"development\" ? invariant(\n          // Call internalGetID here because getID calls isValid which calls\n          // findReactContainerForID (this function).\n          internalGetID(rootElement) === reactRootID,\n          'ReactMount: Root element ID differed from reactRootID.'\n        ) : invariant(// Call internalGetID here because getID calls isValid which calls\n        // findReactContainerForID (this function).\n        internalGetID(rootElement) === reactRootID));\n\n        var containerChild = container.firstChild;\n        if (containerChild &&\n            reactRootID === internalGetID(containerChild)) {\n          // If the container has a new child with the same ID as the old\n          // root element, then rootElementsByReactRootID[reactRootID] is\n          // just stale and needs to be updated. The case that deserves a\n          // warning is when the container is empty.\n          rootElementsByReactRootID[reactRootID] = containerChild;\n        } else {\n          console.warn(\n            'ReactMount: Root element has been removed from its original ' +\n            'container. New container:', rootElement.parentNode\n          );\n        }\n      }\n    }\n\n    return container;\n  },\n\n  /**\n   * Finds an element rendered by React with the supplied ID.\n   *\n   * @param {string} id ID of a DOM node in the React component.\n   * @return {DOMElement} Root DOM node of the React component.\n   */\n  findReactNodeByID: function(id) {\n    var reactRoot = ReactMount.findReactContainerForID(id);\n    return ReactMount.findComponentRoot(reactRoot, id);\n  },\n\n  /**\n   * True if the supplied `node` is rendered by React.\n   *\n   * @param {*} node DOM Element to check.\n   * @return {boolean} True if the DOM Element appears to be rendered by React.\n   * @internal\n   */\n  isRenderedByReact: function(node) {\n    if (node.nodeType !== 1) {\n      // Not a DOMElement, therefore not a React component\n      return false;\n    }\n    var id = ReactMount.getID(node);\n    return id ? id.charAt(0) === SEPARATOR : false;\n  },\n\n  /**\n   * Traverses up the ancestors of the supplied node to find a node that is a\n   * DOM representation of a React component.\n   *\n   * @param {*} node\n   * @return {?DOMEventTarget}\n   * @internal\n   */\n  getFirstReactDOM: function(node) {\n    var current = node;\n    while (current && current.parentNode !== current) {\n      if (ReactMount.isRenderedByReact(current)) {\n        return current;\n      }\n      current = current.parentNode;\n    }\n    return null;\n  },\n\n  /**\n   * Finds a node with the supplied `id` inside of the supplied `ancestorNode`.\n   * Exploits the ID naming scheme to perform the search quickly.\n   *\n   * @param {DOMEventTarget} ancestorNode Search from this root.\n   * @pararm {string} id ID of the DOM representation of the component.\n   * @return {DOMEventTarget} DOM node with the supplied `id`.\n   * @internal\n   */\n  findComponentRoot: function(ancestorNode, id) {\n    var firstChildren = [ancestorNode.firstChild];\n    var childIndex = 0;\n\n    while (childIndex < firstChildren.length) {\n      var child = firstChildren[childIndex++];\n      while (child) {\n        var childID = ReactMount.getID(child);\n        if (childID) {\n          if (id === childID) {\n            return child;\n          } else if (ReactInstanceHandles.isAncestorIDOf(childID, id)) {\n            // If we find a child whose ID is an ancestor of the given ID,\n            // then we can be sure that we only want to search the subtree\n            // rooted at this child, so we can throw out the rest of the\n            // search state.\n            firstChildren.length = childIndex = 0;\n            firstChildren.push(child.firstChild);\n            break;\n          } else {\n            // TODO This should not be necessary if the ID hierarchy is\n            // correct, but is occasionally necessary if the DOM has been\n            // modified in unexpected ways.\n            firstChildren.push(child.firstChild);\n          }\n        } else {\n          // If this child had no ID, then there's a chance that it was\n          // injected automatically by the browser, as when a `<table>`\n          // element sprouts an extra `<tbody>` child as a side effect of\n          // `.innerHTML` parsing. Optimistically continue down this\n          // branch, but not before examining the other siblings.\n          firstChildren.push(child.firstChild);\n        }\n        child = child.nextSibling;\n      }\n    }\n\n    if (\"production\" !== \"development\") {\n      console.error(\n        'Error while invoking `findComponentRoot` with the following ' +\n        'ancestor node:',\n        ancestorNode\n      );\n    }\n    (\"production\" !== \"development\" ? invariant(\n      false,\n      'findComponentRoot(..., %s): Unable to find element. This probably ' +\n      'means the DOM was unexpectedly mutated (e.g. by the browser).',\n      id,\n      ReactMount.getID(ancestorNode)\n    ) : invariant(false));\n  },\n\n\n  /**\n   * React ID utilities.\n   */\n\n  ATTR_NAME: ATTR_NAME,\n\n  getReactRootID: getReactRootID,\n\n  getID: getID,\n\n  setID: setID,\n\n  getNode: getNode,\n\n  purgeID: purgeID,\n\n  injection: {}\n};\n\nmodule.exports = ReactMount;\n\n},{\"./$\":1,\"./ReactEventEmitter\":47,\"./ReactInstanceHandles\":51,\"./containsNode\":87,\"./getReactRootElementInContainer\":105,\"./invariant\":109}],55:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMountReady\n */\n\n\"use strict\";\n\nvar PooledClass = require(\"./PooledClass\");\n\nvar mixInto = require(\"./mixInto\");\n\n/**\n * A specialized pseudo-event module to help keep track of components waiting to\n * be notified when their DOM representations are available for use.\n *\n * This implements `PooledClass`, so you should never need to instantiate this.\n * Instead, use `ReactMountReady.getPooled()`.\n *\n * @param {?array<function>} initialCollection\n * @class ReactMountReady\n * @implements PooledClass\n * @internal\n */\nfunction ReactMountReady(initialCollection) {\n  this._queue = initialCollection || null;\n}\n\nmixInto(ReactMountReady, {\n\n  /**\n   * Enqueues a callback to be invoked when `notifyAll` is invoked. This is used\n   * to enqueue calls to `componentDidMount` and `componentDidUpdate`.\n   *\n   * @param {ReactComponent} component Component being rendered.\n   * @param {function(DOMElement)} callback Invoked when `notifyAll` is invoked.\n   * @internal\n   */\n  enqueue: function(component, callback) {\n    this._queue = this._queue || [];\n    this._queue.push({component: component, callback: callback});\n  },\n\n  /**\n   * Invokes all enqueued callbacks and clears the queue. This is invoked after\n   * the DOM representation of a component has been created or updated.\n   *\n   * @internal\n   */\n  notifyAll: function() {\n    var queue = this._queue;\n    if (queue) {\n      this._queue = null;\n      for (var i = 0, l = queue.length; i < l; i++) {\n        var component = queue[i].component;\n        var callback = queue[i].callback;\n        callback.call(component, component.getDOMNode());\n      }\n      queue.length = 0;\n    }\n  },\n\n  /**\n   * Resets the internal queue.\n   *\n   * @internal\n   */\n  reset: function() {\n    this._queue = null;\n  },\n\n  /**\n   * `PooledClass` looks for this.\n   */\n  destructor: function() {\n    this.reset();\n  }\n\n});\n\nPooledClass.addPoolingTo(ReactMountReady);\n\nmodule.exports = ReactMountReady;\n\n},{\"./PooledClass\":25,\"./mixInto\":121}],56:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMultiChild\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactMultiChildUpdateTypes = require(\"./ReactMultiChildUpdateTypes\");\n\nvar flattenChildren = require(\"./flattenChildren\");\n\n/**\n * Given a `curChild` and `newChild`, determines if `curChild` should be\n * updated as opposed to being destroyed or replaced.\n *\n * @param {?ReactComponent} curChild\n * @param {?ReactComponent} newChild\n * @return {boolean} True if `curChild` should be updated with `newChild`.\n * @protected\n */\nfunction shouldUpdateChild(curChild, newChild) {\n  return curChild && newChild && curChild.constructor === newChild.constructor;\n}\n\n/**\n * Updating children of a component may trigger recursive updates. The depth is\n * used to batch recursive updates to render markup more efficiently.\n *\n * @type {number}\n * @private\n */\nvar updateDepth = 0;\n\n/**\n * Queue of update configuration objects.\n *\n * Each object has a `type` property that is in `ReactMultiChildUpdateTypes`.\n *\n * @type {array<object>}\n * @private\n */\nvar updateQueue = [];\n\n/**\n * Queue of markup to be rendered.\n *\n * @type {array<string>}\n * @private\n */\nvar markupQueue = [];\n\n/**\n * Enqueues markup to be rendered and inserted at a supplied index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {string} markup Markup that renders into an element.\n * @param {number} toIndex Destination index.\n * @private\n */\nfunction enqueueMarkup(parentID, markup, toIndex) {\n  // NOTE: Null values reduce hidden classes.\n  updateQueue.push({\n    parentID: parentID,\n    parentNode: null,\n    type: ReactMultiChildUpdateTypes.INSERT_MARKUP,\n    markupIndex: markupQueue.push(markup) - 1,\n    textContent: null,\n    fromIndex: null,\n    toIndex: toIndex\n  });\n}\n\n/**\n * Enqueues moving an existing element to another index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {number} fromIndex Source index of the existing element.\n * @param {number} toIndex Destination index of the element.\n * @private\n */\nfunction enqueueMove(parentID, fromIndex, toIndex) {\n  // NOTE: Null values reduce hidden classes.\n  updateQueue.push({\n    parentID: parentID,\n    parentNode: null,\n    type: ReactMultiChildUpdateTypes.MOVE_EXISTING,\n    markupIndex: null,\n    textContent: null,\n    fromIndex: fromIndex,\n    toIndex: toIndex\n  });\n}\n\n/**\n * Enqueues removing an element at an index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {number} fromIndex Index of the element to remove.\n * @private\n */\nfunction enqueueRemove(parentID, fromIndex) {\n  // NOTE: Null values reduce hidden classes.\n  updateQueue.push({\n    parentID: parentID,\n    parentNode: null,\n    type: ReactMultiChildUpdateTypes.REMOVE_NODE,\n    markupIndex: null,\n    textContent: null,\n    fromIndex: fromIndex,\n    toIndex: null\n  });\n}\n\n/**\n * Enqueues setting the text content.\n *\n * @param {string} parentID ID of the parent component.\n * @param {string} textContent Text content to set.\n * @private\n */\nfunction enqueueTextContent(parentID, textContent) {\n  // NOTE: Null values reduce hidden classes.\n  updateQueue.push({\n    parentID: parentID,\n    parentNode: null,\n    type: ReactMultiChildUpdateTypes.TEXT_CONTENT,\n    markupIndex: null,\n    textContent: textContent,\n    fromIndex: null,\n    toIndex: null\n  });\n}\n\n/**\n * Processes any enqueued updates.\n *\n * @private\n */\nfunction processQueue() {\n  if (updateQueue.length) {\n    ReactComponent.DOMIDOperations.dangerouslyProcessChildrenUpdates(\n      updateQueue,\n      markupQueue\n    );\n    clearQueue();\n  }\n}\n\n/**\n * Clears any enqueued updates.\n *\n * @private\n */\nfunction clearQueue() {\n  updateQueue.length = 0;\n  markupQueue.length = 0;\n}\n\n/**\n * ReactMultiChild are capable of reconciling multiple children.\n *\n * @class ReactMultiChild\n * @internal\n */\nvar ReactMultiChild = {\n\n  /**\n   * Provides common functionality for components that must reconcile multiple\n   * children. This is used by `ReactDOMComponent` to mount, update, and\n   * unmount child components.\n   *\n   * @lends {ReactMultiChild.prototype}\n   */\n  Mixin: {\n\n    /**\n     * Generates a \"mount image\" for each of the supplied children. In the case\n     * of `ReactDOMComponent`, a mount image is a string of markup.\n     *\n     * @param {?object} nestedChildren Nested child maps.\n     * @return {array} An array of mounted representations.\n     * @internal\n     */\n    mountChildren: function(nestedChildren, transaction) {\n      var children = flattenChildren(nestedChildren);\n      var mountImages = [];\n      var index = 0;\n      this._renderedChildren = children;\n      for (var name in children) {\n        var child = children[name];\n        if (children.hasOwnProperty(name) && child) {\n          // Inlined for performance, see `ReactInstanceHandles.createReactID`.\n          var rootID = this._rootNodeID + '.' + name;\n          var mountImage = child.mountComponent(\n            rootID,\n            transaction,\n            this._mountDepth + 1\n          );\n          child._mountImage = mountImage;\n          child._mountIndex = index;\n          mountImages.push(mountImage);\n          index++;\n        }\n      }\n      return mountImages;\n    },\n\n    /**\n     * Replaces any rendered children with a text content string.\n     *\n     * @param {string} nextContent String of content.\n     * @internal\n     */\n    updateTextContent: function(nextContent) {\n      updateDepth++;\n      try {\n        var prevChildren = this._renderedChildren;\n        // Remove any rendered children.\n        for (var name in prevChildren) {\n          if (prevChildren.hasOwnProperty(name) &&\n              prevChildren[name]) {\n            this._unmountChildByName(prevChildren[name], name);\n          }\n        }\n        // Set new text content.\n        this.setTextContent(nextContent);\n      } catch (error) {\n        updateDepth--;\n        updateDepth || clearQueue();\n        throw error;\n      }\n      updateDepth--;\n      updateDepth || processQueue();\n    },\n\n    /**\n     * Updates the rendered children with new children.\n     *\n     * @param {?object} nextNestedChildren Nested child maps.\n     * @param {ReactReconcileTransaction} transaction\n     * @internal\n     */\n    updateChildren: function(nextNestedChildren, transaction) {\n      updateDepth++;\n      try {\n        this._updateChildren(nextNestedChildren, transaction);\n      } catch (error) {\n        updateDepth--;\n        updateDepth || clearQueue();\n        throw error;\n      }\n      updateDepth--;\n      updateDepth || processQueue();\n    },\n\n    /**\n     * Improve performance by isolating this hot code path from the try/catch\n     * block in `updateChildren`.\n     *\n     * @param {?object} nextNestedChildren Nested child maps.\n     * @param {ReactReconcileTransaction} transaction\n     * @final\n     * @protected\n     */\n    _updateChildren: function(nextNestedChildren, transaction) {\n      var nextChildren = flattenChildren(nextNestedChildren);\n      var prevChildren = this._renderedChildren;\n      if (!nextChildren && !prevChildren) {\n        return;\n      }\n      var name;\n      // `nextIndex` will increment for each child in `nextChildren`, but\n      // `lastIndex` will be the last index visited in `prevChildren`.\n      var lastIndex = 0;\n      var nextIndex = 0;\n      for (name in nextChildren) {\n        if (!nextChildren.hasOwnProperty(name)) {\n          continue;\n        }\n        var prevChild = prevChildren && prevChildren[name];\n        var nextChild = nextChildren[name];\n        if (shouldUpdateChild(prevChild, nextChild)) {\n          this.moveChild(prevChild, nextIndex, lastIndex);\n          lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n          prevChild.receiveComponent(nextChild, transaction);\n          prevChild._mountIndex = nextIndex;\n        } else {\n          if (prevChild) {\n            // Update `lastIndex` before `_mountIndex` gets unset by unmounting.\n            lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n            this._unmountChildByName(prevChild, name);\n          }\n          if (nextChild) {\n            this._mountChildByNameAtIndex(\n              nextChild, name, nextIndex, transaction\n            );\n          }\n        }\n        if (nextChild) {\n          nextIndex++;\n        }\n      }\n      // Remove children that are no longer present.\n      for (name in prevChildren) {\n        if (prevChildren.hasOwnProperty(name) &&\n            prevChildren[name] &&\n            !(nextChildren && nextChildren[name])) {\n          this._unmountChildByName(prevChildren[name], name);\n        }\n      }\n    },\n\n    /**\n     * Unmounts all rendered children. This should be used to clean up children\n     * when this component is unmounted.\n     *\n     * @internal\n     */\n    unmountChildren: function() {\n      var renderedChildren = this._renderedChildren;\n      for (var name in renderedChildren) {\n        var renderedChild = renderedChildren[name];\n        if (renderedChild && renderedChild.unmountComponent) {\n          renderedChild.unmountComponent();\n        }\n      }\n      this._renderedChildren = null;\n    },\n\n    /**\n     * Moves a child component to the supplied index.\n     *\n     * @param {ReactComponent} child Component to move.\n     * @param {number} toIndex Destination index of the element.\n     * @param {number} lastIndex Last index visited of the siblings of `child`.\n     * @protected\n     */\n    moveChild: function(child, toIndex, lastIndex) {\n      // If the index of `child` is less than `lastIndex`, then it needs to\n      // be moved. Otherwise, we do not need to move it because a child will be\n      // inserted or moved before `child`.\n      if (child._mountIndex < lastIndex) {\n        enqueueMove(this._rootNodeID, child._mountIndex, toIndex);\n      }\n    },\n\n    /**\n     * Creates a child component.\n     *\n     * @param {ReactComponent} child Component to create.\n     * @protected\n     */\n    createChild: function(child) {\n      enqueueMarkup(this._rootNodeID, child._mountImage, child._mountIndex);\n    },\n\n    /**\n     * Removes a child component.\n     *\n     * @param {ReactComponent} child Child to remove.\n     * @protected\n     */\n    removeChild: function(child) {\n      enqueueRemove(this._rootNodeID, child._mountIndex);\n    },\n\n    /**\n     * Sets this text content string.\n     *\n     * @param {string} textContent Text content to set.\n     * @protected\n     */\n    setTextContent: function(textContent) {\n      enqueueTextContent(this._rootNodeID, textContent);\n    },\n\n    /**\n     * Mounts a child with the supplied name.\n     *\n     * NOTE: This is part of `updateChildren` and is here for readability.\n     *\n     * @param {ReactComponent} child Component to mount.\n     * @param {string} name Name of the child.\n     * @param {number} index Index at which to insert the child.\n     * @param {ReactReconcileTransaction} transaction\n     * @private\n     */\n    _mountChildByNameAtIndex: function(child, name, index, transaction) {\n      // Inlined for performance, see `ReactInstanceHandles.createReactID`.\n      var rootID = this._rootNodeID + '.' + name;\n      var mountImage = child.mountComponent(\n        rootID,\n        transaction,\n        this._mountDepth + 1\n      );\n      child._mountImage = mountImage;\n      child._mountIndex = index;\n      this.createChild(child);\n      this._renderedChildren = this._renderedChildren || {};\n      this._renderedChildren[name] = child;\n    },\n\n    /**\n     * Unmounts a rendered child by name.\n     *\n     * NOTE: This is part of `updateChildren` and is here for readability.\n     *\n     * @param {ReactComponent} child Component to unmount.\n     * @param {string} name Name of the child in `this._renderedChildren`.\n     * @private\n     */\n    _unmountChildByName: function(child, name) {\n      if (ReactComponent.isValidComponent(child)) {\n        this.removeChild(child);\n        child._mountImage = null;\n        child._mountIndex = null;\n        child.unmountComponent();\n        delete this._renderedChildren[name];\n      }\n    }\n\n  }\n\n};\n\nmodule.exports = ReactMultiChild;\n\n},{\"./ReactComponent\":28,\"./ReactMultiChildUpdateTypes\":57,\"./flattenChildren\":98}],57:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMultiChildUpdateTypes\n */\n\nvar keyMirror = require(\"./keyMirror\");\n\n/**\n * When a component's children are updated, a series of update configuration\n * objects are created in order to batch and serialize the required changes.\n *\n * Enumerates all the possible types of update configurations.\n *\n * @internal\n */\nvar ReactMultiChildUpdateTypes = keyMirror({\n  INSERT_MARKUP: null,\n  MOVE_EXISTING: null,\n  REMOVE_NODE: null,\n  TEXT_CONTENT: null\n});\n\nmodule.exports = ReactMultiChildUpdateTypes;\n\n},{\"./keyMirror\":115}],58:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactOwner\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * ReactOwners are capable of storing references to owned components.\n *\n * All components are capable of //being// referenced by owner components, but\n * only ReactOwner components are capable of //referencing// owned components.\n * The named reference is known as a \"ref\".\n *\n * Refs are available when mounted and updated during reconciliation.\n *\n *   var MyComponent = React.createClass({\n *     render: function() {\n *       return (\n *         <div onClick={this.handleClick}>\n *           <CustomComponent ref=\"custom\" />\n *         </div>\n *       );\n *     },\n *     handleClick: function() {\n *       this.refs.custom.handleClick();\n *     },\n *     componentDidMount: function() {\n *       this.refs.custom.initialize();\n *     }\n *   });\n *\n * Refs should rarely be used. When refs are used, they should only be done to\n * control data that is not handled by React's data flow.\n *\n * @class ReactOwner\n */\nvar ReactOwner = {\n\n  /**\n   * @param {?object} object\n   * @return {boolean} True if `object` is a valid owner.\n   * @final\n   */\n  isValidOwner: function(object) {\n    return !!(\n      object &&\n      typeof object.attachRef === 'function' &&\n      typeof object.detachRef === 'function'\n    );\n  },\n\n  /**\n   * Adds a component by ref to an owner component.\n   *\n   * @param {ReactComponent} component Component to reference.\n   * @param {string} ref Name by which to refer to the component.\n   * @param {ReactOwner} owner Component on which to record the ref.\n   * @final\n   * @internal\n   */\n  addComponentAsRefTo: function(component, ref, owner) {\n    (\"production\" !== \"development\" ? invariant(\n      ReactOwner.isValidOwner(owner),\n      'addComponentAsRefTo(...): Only a ReactOwner can have refs.'\n    ) : invariant(ReactOwner.isValidOwner(owner)));\n    owner.attachRef(ref, component);\n  },\n\n  /**\n   * Removes a component by ref from an owner component.\n   *\n   * @param {ReactComponent} component Component to dereference.\n   * @param {string} ref Name of the ref to remove.\n   * @param {ReactOwner} owner Component on which the ref is recorded.\n   * @final\n   * @internal\n   */\n  removeComponentAsRefFrom: function(component, ref, owner) {\n    (\"production\" !== \"development\" ? invariant(\n      ReactOwner.isValidOwner(owner),\n      'removeComponentAsRefFrom(...): Only a ReactOwner can have refs.'\n    ) : invariant(ReactOwner.isValidOwner(owner)));\n    // Check that `component` is still the current ref because we do not want to\n    // detach the ref if another component stole it.\n    if (owner.refs[ref] === component) {\n      owner.detachRef(ref);\n    }\n  },\n\n  /**\n   * A ReactComponent must mix this in to have refs.\n   *\n   * @lends {ReactOwner.prototype}\n   */\n  Mixin: {\n\n    /**\n     * Lazily allocates the refs object and stores `component` as `ref`.\n     *\n     * @param {string} ref Reference name.\n     * @param {component} component Component to store as `ref`.\n     * @final\n     * @private\n     */\n    attachRef: function(ref, component) {\n      (\"production\" !== \"development\" ? invariant(\n        component.isOwnedBy(this),\n        'attachRef(%s, ...): Only a component\\'s owner can store a ref to it.',\n        ref\n      ) : invariant(component.isOwnedBy(this)));\n      var refs = this.refs || (this.refs = {});\n      refs[ref] = component;\n    },\n\n    /**\n     * Detaches a reference name.\n     *\n     * @param {string} ref Name to dereference.\n     * @final\n     * @private\n     */\n    detachRef: function(ref) {\n      delete this.refs[ref];\n    }\n\n  }\n\n};\n\nmodule.exports = ReactOwner;\n\n},{\"./invariant\":109}],59:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactPerf\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactPerf = {\n  /**\n   * Boolean to enable/disable measurement. Set to false by default to prevent\n   * accidental logging and perf loss.\n   */\n  enableMeasure: false,\n\n  /**\n   * Holds onto the measure function in use. By default, don't measure\n   * anything, but we'll override this if we inject a measure function.\n   */\n  storedMeasure: _noMeasure,\n\n  /**\n   * Use this to wrap methods you want to measure.\n   *\n   * @param {string} objName\n   * @param {string} fnName\n   * @param {function} func\n   * @return {function}\n   */\n  measure: function(objName, fnName, func) {\n    if (\"production\" !== \"development\") {\n      var measuredFunc = null;\n      return function() {\n        if (ReactPerf.enableMeasure) {\n          if (!measuredFunc) {\n            measuredFunc = ReactPerf.storedMeasure(objName, fnName, func);\n          }\n          return measuredFunc.apply(this, arguments);\n        }\n        return func.apply(this, arguments);\n      };\n    }\n    return func;\n  },\n\n  injection: {\n    /**\n     * @param {function} measure\n     */\n    injectMeasure: function(measure) {\n      ReactPerf.storedMeasure = measure;\n    }\n  }\n};\n\nif (\"production\" !== \"development\") {\n  var ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n  var url = (ExecutionEnvironment.canUseDOM && window.location.href) || '';\n  ReactPerf.enableMeasure = ReactPerf.enableMeasure ||\n    (/[?&]react_perf\\b/).test(url);\n}\n\n/**\n * Simply passes through the measured function, without measuring it.\n *\n * @param {string} objName\n * @param {string} fnName\n * @param {function} func\n * @return {function}\n */\nfunction _noMeasure(objName, fnName, func) {\n  return func;\n}\n\nmodule.exports = ReactPerf;\n\n},{\"./ExecutionEnvironment\":21}],60:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactPropTransferer\n */\n\n\"use strict\";\n\nvar emptyFunction = require(\"./emptyFunction\");\nvar invariant = require(\"./invariant\");\nvar joinClasses = require(\"./joinClasses\");\nvar merge = require(\"./merge\");\n\n/**\n * Creates a transfer strategy that will merge prop values using the supplied\n * `mergeStrategy`. If a prop was previously unset, this just sets it.\n *\n * @param {function} mergeStrategy\n * @return {function}\n */\nfunction createTransferStrategy(mergeStrategy) {\n  return function(props, key, value) {\n    if (!props.hasOwnProperty(key)) {\n      props[key] = value;\n    } else {\n      props[key] = mergeStrategy(props[key], value);\n    }\n  };\n}\n\n/**\n * Transfer strategies dictate how props are transferred by `transferPropsTo`.\n */\nvar TransferStrategies = {\n  /**\n   * Never transfer `children`.\n   */\n  children: emptyFunction,\n  /**\n   * Transfer the `className` prop by merging them.\n   */\n  className: createTransferStrategy(joinClasses),\n  /**\n   * Never transfer the `ref` prop.\n   */\n  ref: emptyFunction,\n  /**\n   * Transfer the `style` prop (which is an object) by merging them.\n   */\n  style: createTransferStrategy(merge)\n};\n\n/**\n * ReactPropTransferer are capable of transferring props to another component\n * using a `transferPropsTo` method.\n *\n * @class ReactPropTransferer\n */\nvar ReactPropTransferer = {\n\n  TransferStrategies: TransferStrategies,\n\n  /**\n   * @lends {ReactPropTransferer.prototype}\n   */\n  Mixin: {\n\n    /**\n     * Transfer props from this component to a target component.\n     *\n     * Props that do not have an explicit transfer strategy will be transferred\n     * only if the target component does not already have the prop set.\n     *\n     * This is usually used to pass down props to a returned root component.\n     *\n     * @param {ReactComponent} component Component receiving the properties.\n     * @return {ReactComponent} The supplied `component`.\n     * @final\n     * @protected\n     */\n    transferPropsTo: function(component) {\n      (\"production\" !== \"development\" ? invariant(\n        component.props.__owner__ === this,\n        '%s: You can\\'t call transferPropsTo() on a component that you ' +\n        'don\\'t own, %s. This usually means you are calling ' +\n        'transferPropsTo() on a component passed in as props or children.',\n        this.constructor.displayName,\n        component.constructor.displayName\n      ) : invariant(component.props.__owner__ === this));\n\n      var props = {};\n      for (var thatKey in component.props) {\n        if (component.props.hasOwnProperty(thatKey)) {\n          props[thatKey] = component.props[thatKey];\n        }\n      }\n      for (var thisKey in this.props) {\n        if (!this.props.hasOwnProperty(thisKey)) {\n          continue;\n        }\n        var transferStrategy = TransferStrategies[thisKey];\n        if (transferStrategy) {\n          transferStrategy(props, thisKey, this.props[thisKey]);\n        } else if (!props.hasOwnProperty(thisKey)) {\n          props[thisKey] = this.props[thisKey];\n        }\n      }\n      component.props = props;\n      return component;\n    }\n\n  }\n\n};\n\nmodule.exports = ReactPropTransferer;\n\n},{\"./emptyFunction\":94,\"./invariant\":109,\"./joinClasses\":114,\"./merge\":118}],61:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactPropTypes\n */\n\n\"use strict\";\n\nvar createObjectFrom = require(\"./createObjectFrom\");\nvar invariant = require(\"./invariant\");\n\n/**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n *   var Props = require('ReactPropTypes');\n *   var MyArticle = React.createClass({\n *     propTypes: {\n *       // An optional string prop named \"description\".\n *       description: Props.string,\n *\n *       // A required enum prop named \"category\".\n *       category: Props.oneOf(['News','Photos']).isRequired,\n *\n *       // A prop named \"dialog\" that requires an instance of Dialog.\n *       dialog: Props.instanceOf(Dialog).isRequired\n *     },\n *     render: function() { ... }\n *   });\n *\n * A more formal specification of how these methods are used:\n *\n *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n *   decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n *   var Props = require('ReactPropTypes');\n *   var MyLink = React.createClass({\n *     propTypes: {\n *       // An optional string or URI prop named \"href\".\n *       href: function(props, propName, componentName) {\n *         var propValue = props[propName];\n *         invariant(\n *           propValue == null ||\n *           typeof propValue === 'string' ||\n *           propValue instanceof URI,\n *           'Invalid `%s` supplied to `%s`, expected string or URI.',\n *           propName,\n *           componentName\n *         );\n *       }\n *     },\n *     render: function() { ... }\n *   });\n *\n * @internal\n */\nvar Props = {\n\n  array: createPrimitiveTypeChecker('array'),\n  bool: createPrimitiveTypeChecker('boolean'),\n  func: createPrimitiveTypeChecker('function'),\n  number: createPrimitiveTypeChecker('number'),\n  object: createPrimitiveTypeChecker('object'),\n  string: createPrimitiveTypeChecker('string'),\n\n  oneOf: createEnumTypeChecker,\n\n  instanceOf: createInstanceTypeChecker\n\n};\n\nvar ANONYMOUS = '<<anonymous>>';\n\nfunction createPrimitiveTypeChecker(expectedType) {\n  function validatePrimitiveType(propValue, propName, componentName) {\n    var propType = typeof propValue;\n    if (propType === 'object' && Array.isArray(propValue)) {\n      propType = 'array';\n    }\n    (\"production\" !== \"development\" ? invariant(\n      propType === expectedType,\n      'Invalid prop `%s` of type `%s` supplied to `%s`, expected `%s`.',\n      propName,\n      propType,\n      componentName,\n      expectedType\n    ) : invariant(propType === expectedType));\n  }\n  return createChainableTypeChecker(validatePrimitiveType);\n}\n\nfunction createEnumTypeChecker(expectedValues) {\n  var expectedEnum = createObjectFrom(expectedValues);\n  function validateEnumType(propValue, propName, componentName) {\n    (\"production\" !== \"development\" ? invariant(\n      expectedEnum[propValue],\n      'Invalid prop `%s` supplied to `%s`, expected one of %s.',\n      propName,\n      componentName,\n      JSON.stringify(Object.keys(expectedEnum))\n    ) : invariant(expectedEnum[propValue]));\n  }\n  return createChainableTypeChecker(validateEnumType);\n}\n\nfunction createInstanceTypeChecker(expectedClass) {\n  function validateInstanceType(propValue, propName, componentName) {\n    (\"production\" !== \"development\" ? invariant(\n      propValue instanceof expectedClass,\n      'Invalid prop `%s` supplied to `%s`, expected instance of `%s`.',\n      propName,\n      componentName,\n      expectedClass.name || ANONYMOUS\n    ) : invariant(propValue instanceof expectedClass));\n  }\n  return createChainableTypeChecker(validateInstanceType);\n}\n\nfunction createChainableTypeChecker(validate) {\n  function createTypeChecker(isRequired) {\n    function checkType(props, propName, componentName) {\n      var propValue = props[propName];\n      if (propValue != null) {\n        // Only validate if there is a value to check.\n        validate(propValue, propName, componentName || ANONYMOUS);\n      } else {\n        (\"production\" !== \"development\" ? invariant(\n          !isRequired,\n          'Required prop `%s` was not specified in `%s`.',\n          propName,\n          componentName || ANONYMOUS\n        ) : invariant(!isRequired));\n      }\n    }\n    if (!isRequired) {\n      checkType.isRequired = createTypeChecker(true);\n    }\n    return checkType;\n  }\n  return createTypeChecker(false);\n}\n\nmodule.exports = Props;\n\n},{\"./createObjectFrom\":91,\"./invariant\":109}],62:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactReconcileTransaction\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar PooledClass = require(\"./PooledClass\");\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactInputSelection = require(\"./ReactInputSelection\");\nvar ReactMountReady = require(\"./ReactMountReady\");\nvar Transaction = require(\"./Transaction\");\n\nvar mixInto = require(\"./mixInto\");\n\n/**\n * Ensures that, when possible, the selection range (currently selected text\n * input) is not disturbed by performing the transaction.\n */\nvar SELECTION_RESTORATION = {\n  /**\n   * @return {Selection} Selection information.\n   */\n  initialize: ReactInputSelection.getSelectionInformation,\n  /**\n   * @param {Selection} sel Selection information returned from `initialize`.\n   */\n  close: ReactInputSelection.restoreSelection\n};\n\n/**\n * Suppresses events (blur/focus) that could be inadvertently dispatched due to\n * high level DOM manipulations (like temporarily removing a text input from the\n * DOM).\n */\nvar EVENT_SUPPRESSION = {\n  /**\n   * @return {boolean} The enabled status of `ReactEventEmitter` before the\n   * reconciliation.\n   */\n  initialize: function() {\n    var currentlyEnabled = ReactEventEmitter.isEnabled();\n    ReactEventEmitter.setEnabled(false);\n    return currentlyEnabled;\n  },\n\n  /**\n   * @param {boolean} previouslyEnabled Enabled status of `ReactEventEmitter`\n   *   before the reconciliation occured. `close` restores the previous value.\n   */\n  close: function(previouslyEnabled) {\n    ReactEventEmitter.setEnabled(previouslyEnabled);\n  }\n};\n\n/**\n * Provides a `ReactMountReady` queue for collecting `onDOMReady` callbacks\n * during the performing of the transaction.\n */\nvar ON_DOM_READY_QUEUEING = {\n  /**\n   * Initializes the internal `onDOMReady` queue.\n   */\n  initialize: function() {\n    this.reactMountReady.reset();\n  },\n\n  /**\n   * After DOM is flushed, invoke all registered `onDOMReady` callbacks.\n   */\n  close: function() {\n    this.reactMountReady.notifyAll();\n  }\n};\n\n/**\n * Executed within the scope of the `Transaction` instance. Consider these as\n * being member methods, but with an implied ordering while being isolated from\n * each other.\n */\nvar TRANSACTION_WRAPPERS = [\n  SELECTION_RESTORATION,\n  EVENT_SUPPRESSION,\n  ON_DOM_READY_QUEUEING\n];\n\n/**\n * Currently:\n * - The order that these are listed in the transaction is critical:\n * - Suppresses events.\n * - Restores selection range.\n *\n * Future:\n * - Restore document/overflow scroll positions that were unintentionally\n *   modified via DOM insertions above the top viewport boundary.\n * - Implement/integrate with customized constraint based layout system and keep\n *   track of which dimensions must be remeasured.\n *\n * @class ReactReconcileTransaction\n */\nfunction ReactReconcileTransaction() {\n  this.reinitializeTransaction();\n  this.reactMountReady = ReactMountReady.getPooled(null);\n}\n\nvar Mixin = {\n  /**\n   * @see Transaction\n   * @abstract\n   * @final\n   * @return {array<object>} List of operation wrap proceedures.\n   *   TODO: convert to array<TransactionWrapper>\n   */\n  getTransactionWrappers: function() {\n    if (ExecutionEnvironment.canUseDOM) {\n      return TRANSACTION_WRAPPERS;\n    } else {\n      return [];\n    }\n  },\n\n  /**\n   * @return {object} The queue to collect `onDOMReady` callbacks with.\n   *   TODO: convert to ReactMountReady\n   */\n  getReactMountReady: function() {\n    return this.reactMountReady;\n  },\n\n  /**\n   * `PooledClass` looks for this, and will invoke this before allowing this\n   * instance to be resused.\n   */\n  destructor: function() {\n    ReactMountReady.release(this.reactMountReady);\n    this.reactMountReady = null;\n  }\n};\n\n\nmixInto(ReactReconcileTransaction, Transaction.Mixin);\nmixInto(ReactReconcileTransaction, Mixin);\n\nPooledClass.addPoolingTo(ReactReconcileTransaction);\n\nmodule.exports = ReactReconcileTransaction;\n\n},{\"./ExecutionEnvironment\":21,\"./PooledClass\":25,\"./ReactEventEmitter\":47,\"./ReactInputSelection\":50,\"./ReactMountReady\":55,\"./Transaction\":83,\"./mixInto\":121}],63:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @typechecks static-only\n * @providesModule ReactServerRendering\n */\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactInstanceHandles = require(\"./ReactInstanceHandles\");\nvar ReactMarkupChecksum = require(\"./ReactMarkupChecksum\");\nvar ReactReconcileTransaction = require(\"./ReactReconcileTransaction\");\n\nvar invariant = require(\"./invariant\");\n\n/**\n * @param {ReactComponent} component\n * @param {function} callback\n */\nfunction renderComponentToString(component, callback) {\n  // We use a callback API to keep the API async in case in the future we ever\n  // need it, but in reality this is a synchronous operation.\n\n  (\"production\" !== \"development\" ? invariant(\n    ReactComponent.isValidComponent(component),\n    'renderComponentToString(): You must pass a valid ReactComponent.'\n  ) : invariant(ReactComponent.isValidComponent(component)));\n\n  (\"production\" !== \"development\" ? invariant(\n    typeof callback === 'function',\n    'renderComponentToString(): You must pass a function as a callback.'\n  ) : invariant(typeof callback === 'function'));\n\n  var id = ReactInstanceHandles.createReactRootID();\n  var transaction = ReactReconcileTransaction.getPooled();\n  transaction.reinitializeTransaction();\n  try {\n    transaction.perform(function() {\n      var markup = component.mountComponent(id, transaction, 0);\n      markup = ReactMarkupChecksum.addChecksumToMarkup(markup);\n      callback(markup);\n    }, null);\n  } finally {\n    ReactReconcileTransaction.release(transaction);\n  }\n}\n\nmodule.exports = {\n  renderComponentToString: renderComponentToString\n};\n\n},{\"./ReactComponent\":28,\"./ReactInstanceHandles\":51,\"./ReactMarkupChecksum\":53,\"./ReactReconcileTransaction\":62,\"./invariant\":109}],64:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactStateSetters\n */\n\n\"use strict\";\n\nvar ReactStateSetters = {\n  /**\n   * Returns a function that calls the provided function, and uses the result\n   * of that to set the component's state.\n   *\n   * @param {ReactCompositeComponent} component\n   * @param {function} funcReturningState Returned callback uses this to\n   *                                      determine how to update state.\n   * @return {function} callback that when invoked uses funcReturningState to\n   *                    determined the object literal to setState.\n   */\n  createStateSetter: function(component, funcReturningState) {\n    return function(a, b, c, d, e, f) {\n      var partialState = funcReturningState.call(component, a, b, c, d, e, f);\n      if (partialState) {\n        component.setState(partialState);\n      }\n    };\n  },\n\n  /**\n   * Returns a single-argument callback that can be used to update a single\n   * key in the component's state.\n   *\n   * Note: this is memoized function, which makes it inexpensive to call.\n   *\n   * @param {ReactCompositeComponent} component\n   * @param {string} key The key in the state that you should update.\n   * @return {function} callback of 1 argument which calls setState() with\n   *                    the provided keyName and callback argument.\n   */\n  createStateKeySetter: function(component, key) {\n    // Memoize the setters.\n    var cache = component.__keySetters || (component.__keySetters = {});\n    return cache[key] || (cache[key] = createStateKeySetter(component, key));\n  }\n};\n\nfunction createStateKeySetter(component, key) {\n  // Partial state is allocated outside of the function closure so it can be\n  // reused with every call, avoiding memory allocation when this function\n  // is called.\n  var partialState = {};\n  return function stateKeySetter(value) {\n    partialState[key] = value;\n    component.setState(partialState);\n  };\n}\n\nReactStateSetters.Mixin = {\n  /**\n   * Returns a function that calls the provided function, and uses the result\n   * of that to set the component's state.\n   *\n   * For example, these statements are equivalent:\n   *\n   *   this.setState({x: 1});\n   *   this.createStateSetter(function(xValue) {\n   *     return {x: xValue};\n   *   })(1);\n   *\n   * @param {function} funcReturningState Returned callback uses this to\n   *                                      determine how to update state.\n   * @return {function} callback that when invoked uses funcReturningState to\n   *                    determined the object literal to setState.\n   */\n  createStateSetter: function(funcReturningState) {\n    return ReactStateSetters.createStateSetter(this, funcReturningState);\n  },\n\n  /**\n   * Returns a single-argument callback that can be used to update a single\n   * key in the component's state.\n   *\n   * For example, these statements are equivalent:\n   *\n   *   this.setState({x: 1});\n   *   this.createStateKeySetter('x')(1);\n   *\n   * Note: this is memoized function, which makes it inexpensive to call.\n   *\n   * @param {string} key The key in the state that you should update.\n   * @return {function} callback of 1 argument which calls setState() with\n   *                    the provided keyName and callback argument.\n   */\n  createStateKeySetter: function(key) {\n    return ReactStateSetters.createStateKeySetter(this, key);\n  }\n};\n\nmodule.exports = ReactStateSetters;\n\n},{}],65:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactTextComponent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactMount = require(\"./ReactMount\");\n\nvar escapeTextForBrowser = require(\"./escapeTextForBrowser\");\nvar mixInto = require(\"./mixInto\");\n\n/**\n * Text nodes violate a couple assumptions that React makes about components:\n *\n *  - When mounting text into the DOM, adjacent text nodes are merged.\n *  - Text nodes cannot be assigned a React root ID.\n *\n * This component is used to wrap strings in elements so that they can undergo\n * the same reconciliation that is applied to elements.\n *\n * TODO: Investigate representing React components in the DOM with text nodes.\n *\n * @class ReactTextComponent\n * @extends ReactComponent\n * @internal\n */\nvar ReactTextComponent = function(initialText) {\n  this.construct({text: initialText});\n};\n\nmixInto(ReactTextComponent, ReactComponent.Mixin);\nmixInto(ReactTextComponent, {\n\n  /**\n   * Creates the markup for this text node. This node is not intended to have\n   * any features besides containing text content.\n   *\n   * @param {string} rootID DOM ID of the root node.\n   * @param {ReactReconcileTransaction} transaction\n   * @param {number} mountDepth number of components in the owner hierarchy\n   * @return {string} Markup for this text node.\n   * @internal\n   */\n  mountComponent: function(rootID, transaction, mountDepth) {\n    ReactComponent.Mixin.mountComponent.call(\n      this,\n      rootID,\n      transaction,\n      mountDepth\n    );\n    return (\n      '<span ' + ReactMount.ATTR_NAME + '=\"' + escapeTextForBrowser(rootID) + '\">' +\n        escapeTextForBrowser(this.props.text) +\n      '</span>'\n    );\n  },\n\n  /**\n   * Updates this component by updating the text content.\n   *\n   * @param {object} nextComponent Contains the next text content.\n   * @param {ReactReconcileTransaction} transaction\n   * @internal\n   */\n  receiveComponent: function(nextComponent, transaction) {\n    var nextProps = nextComponent.props;\n    if (nextProps.text !== this.props.text) {\n      this.props.text = nextProps.text;\n      ReactComponent.DOMIDOperations.updateTextContentByID(\n        this._rootNodeID,\n        nextProps.text\n      );\n    }\n  }\n\n});\n\nmodule.exports = ReactTextComponent;\n\n},{\"./ReactComponent\":28,\"./ReactMount\":54,\"./escapeTextForBrowser\":95,\"./mixInto\":121}],66:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactTransitionEvents\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar EVENT_NAME_MAP = {\n  transitionend: {\n    'transition': 'transitionend',\n    'WebkitTransition': 'webkitTransitionEnd',\n    'MozTransition': 'mozTransitionEnd',\n    'OTransition': 'oTransitionEnd',\n    'msTransition': 'MSTransitionEnd'\n  },\n\n  animationend: {\n    'animation': 'animationend',\n    'WebkitAnimation': 'webkitAnimationEnd',\n    'MozAnimation': 'mozAnimationEnd',\n    'OAnimation': 'oAnimationEnd',\n    'msAnimation': 'MSAnimationEnd'\n  }\n};\n\nvar endEvents = [];\n\nfunction detectEvents() {\n  var testEl = document.createElement('div');\n  var style = testEl.style;\n  for (var baseEventName in EVENT_NAME_MAP) {\n    var baseEvents = EVENT_NAME_MAP[baseEventName];\n    for (var styleName in baseEvents) {\n      if (styleName in style) {\n        endEvents.push(baseEvents[styleName]);\n        break;\n      }\n    }\n  }\n}\n\nif (ExecutionEnvironment.canUseDOM) {\n  detectEvents();\n}\n\n// We use the raw {add|remove}EventListener() call because EventListener\n// does not know how to remove event listeners and we really should\n// clean up. Also, these events are not triggered in older browsers\n// so we should be A-OK here.\n\nfunction addEventListener(node, eventName, eventListener) {\n  node.addEventListener(eventName, eventListener, false);\n}\n\nfunction removeEventListener(node, eventName, eventListener) {\n  node.removeEventListener(eventName, eventListener, false);\n}\n\nvar ReactTransitionEvents = {\n  addEndEventListener: function(node, eventListener) {\n    if (endEvents.length === 0) {\n      // If CSS transitions are not supported, trigger an \"end animation\"\n      // event immediately.\n      window.setTimeout(eventListener, 0);\n      return;\n    }\n    endEvents.forEach(function(endEvent) {\n      addEventListener(node, endEvent, eventListener);\n    });\n  },\n\n  removeEndEventListener: function(node, eventListener) {\n    if (endEvents.length === 0) {\n      return;\n    }\n    endEvents.forEach(function(endEvent) {\n      removeEventListener(node, endEvent, eventListener);\n    });\n  }\n};\n\nmodule.exports = ReactTransitionEvents;\n\n},{\"./ExecutionEnvironment\":21}],67:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactTransitionGroup\n */\n\n\"use strict\";\n\nvar React = require(\"./React\");\nvar ReactTransitionableChild = require(\"./ReactTransitionableChild\");\nvar ReactTransitionKeySet = require(\"./ReactTransitionKeySet\");\n\nvar ReactTransitionGroup = React.createClass({\n\n  propTypes: {\n    transitionName: React.PropTypes.string.isRequired,\n    transitionEnter: React.PropTypes.bool,\n    transitionLeave: React.PropTypes.bool,\n    onTransition: React.PropTypes.func,\n    component: React.PropTypes.func\n  },\n\n  getDefaultProps: function() {\n    return {\n      transitionEnter: true,\n      transitionLeave: true,\n      component: React.DOM.span\n    };\n  },\n\n  componentWillMount: function() {\n    // _transitionGroupCurrentKeys stores the union of previous *and* next keys.\n    // If this were a component we'd store it as state, however, since this must\n    // be a mixin, we need to keep the result of the union of keys in each\n    // call to animateChildren() which happens in render(), so we can't\n    // call setState() in there.\n    this._transitionGroupCurrentKeys = {};\n  },\n\n  componentDidUpdate: function() {\n    if (this.props.onTransition) {\n      this.props.onTransition();\n    }\n  },\n\n  /**\n   * Render some children in a transitionable way.\n   */\n  renderTransitionableChildren: function(sourceChildren) {\n    var children = {};\n    var childMapping = ReactTransitionKeySet.getChildMapping(sourceChildren);\n\n    var currentKeys = ReactTransitionKeySet.mergeKeySets(\n      this._transitionGroupCurrentKeys,\n      ReactTransitionKeySet.getKeySet(sourceChildren)\n    );\n\n    for (var key in currentKeys) {\n      // Here is how we keep the nodes in the DOM. ReactTransitionableChild\n      // knows how to hold onto its child if it changes to undefined. Here, we\n      // may look up an old key in the new children, and it may switch to\n      // undefined. React's reconciler will keep the ReactTransitionableChild\n      // instance alive such that we can animate it.\n      if (childMapping[key] || this.props.transitionLeave) {\n        children[key] = ReactTransitionableChild({\n          name: this.props.transitionName,\n          enter: this.props.transitionEnter,\n          onDoneLeaving: this._handleDoneLeaving.bind(this, key)\n        }, childMapping[key]);\n      }\n    }\n\n    this._transitionGroupCurrentKeys = currentKeys;\n\n    return children;\n  },\n\n  _handleDoneLeaving: function(key) {\n    // When the leave animation finishes, we should blow away the actual DOM\n    // node.\n    delete this._transitionGroupCurrentKeys[key];\n    this.forceUpdate();\n  },\n\n  render: function() {\n    return this.transferPropsTo(\n      this.props.component(\n        {\n          transitionName: null,\n          transitionEnter: null,\n          transitionLeave: null,\n          component: null\n        },\n        this.renderTransitionableChildren(this.props.children)\n      )\n    );\n  }\n});\n\nmodule.exports = ReactTransitionGroup;\n\n},{\"./React\":26,\"./ReactTransitionKeySet\":68,\"./ReactTransitionableChild\":69}],68:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @typechecks static-only\n * @providesModule ReactTransitionKeySet\n */\n\n\"use strict\";\n\nvar ReactChildren = require(\"./ReactChildren\");\n\nvar MERGE_KEY_SETS_TAIL_SENTINEL = {};\n\nvar ReactTransitionKeySet = {\n  /**\n   * Given `this.props.children`, return an object mapping key to child. Just\n   * simple syntactic sugar around ReactChildren.map().\n   *\n   * @param {*} children `this.props.children`\n   * @return {object} Mapping of key to child\n   */\n  getChildMapping: function(children) {\n    return ReactChildren.map(children, function(child) {\n      return child;\n    });\n  },\n\n  /**\n   * Simple syntactic sugar to get an object with keys of all of `children`.\n   * Does not have references to the children themselves.\n   *\n   * @param {*} children `this.props.children`\n   * @return {object} Mapping of key to the value \"true\"\n   */\n  getKeySet: function(children) {\n    return ReactChildren.map(children, function() {\n      return true;\n    });\n  },\n\n  /**\n   * When you're adding or removing children some may be added or removed in the\n   * same render pass. We want ot show *both* since we want to simultaneously\n   * animate elements in and out. This function takes a previous set of keys\n   * and a new set of keys and merges them with its best guess of the correct\n   * ordering. In the future we may expose some of the utilities in\n   * ReactMultiChild to make this easy, but for now React itself does not\n   * directly have this concept of the union of prevChildren and nextChildren\n   * so we implement it here.\n   *\n   * @param {object} prev prev child keys as returned from\n   * `ReactTransitionKeySet.getKeySet()`.\n   * @param {object} next next child keys as returned from\n   * `ReactTransitionKeySet.getKeySet()`.\n   * @return {object} a key set that contains all keys in `prev` and all keys\n   * in `next` in a reasonable order.\n   */\n  mergeKeySets: function(prev, next) {\n    prev = prev || {};\n    next = next || {};\n\n    var keySet = {};\n    var prevKeys = Object.keys(prev).concat([MERGE_KEY_SETS_TAIL_SENTINEL]);\n    var nextKeys = Object.keys(next).concat([MERGE_KEY_SETS_TAIL_SENTINEL]);\n    var i;\n    for (i = 0; i < prevKeys.length - 1; i++) {\n      var prevKey = prevKeys[i];\n      if (next[prevKey]) {\n        continue;\n      }\n\n      // This key is not in the new set. Place it in our\n      // best guess where it should go. We do this by searching\n      // for a key after the current one in prevKeys that is\n      // still in nextKeys, and inserting right before it.\n      // I know this is O(n^2), but this is not a particularly\n      // hot code path.\n      var insertPos = -1;\n\n      for (var j = i + 1; j < prevKeys.length; j++) {\n        insertPos = nextKeys.indexOf(prevKeys[j]);\n        if (insertPos >= 0) {\n          break;\n        }\n      }\n\n      // Insert before insertPos\n      nextKeys.splice(insertPos, 0, prevKey);\n    }\n\n    for (i = 0; i < nextKeys.length - 1; i++) {\n      keySet[nextKeys[i]] = true;\n    }\n\n    return keySet;\n  }\n};\n\nmodule.exports = ReactTransitionKeySet;\n\n},{\"./ReactChildren\":27}],69:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactTransitionableChild\n */\n\n\"use strict\";\n\nvar React = require(\"./React\");\nvar CSSCore = require(\"./CSSCore\");\nvar ReactTransitionEvents = require(\"./ReactTransitionEvents\");\n\n// We don't remove the element from the DOM until we receive an animationend or\n// transitionend event. If the user screws up and forgets to add an animation\n// their node will be stuck in the DOM forever, so we detect if an animation\n// does not start and if it doesn't, we just call the end listener immediately.\nvar TICK = 17;\nvar NO_EVENT_TIMEOUT = 5000;\n\nvar noEventListener = null;\n\nif (\"production\" !== \"development\") {\n  noEventListener = function() {\n    console.warn(\n      'transition(): tried to perform an animation without ' +\n      'an animationend or transitionend event after timeout (' +\n      NO_EVENT_TIMEOUT + 'ms). You should either disable this ' +\n      'transition in JS or add a CSS animation/transition.'\n    );\n  };\n}\n\n/**\n * This component is simply responsible for watching when its single child\n * changes to undefined and animating the old child out. It does this by\n * recording its old child in savedChildren when it detects this event is about\n * to occur.\n */\nvar ReactTransitionableChild = React.createClass({\n  /**\n   * Perform an actual DOM transition. This takes care of a few things:\n   * - Adding the second CSS class to trigger the transition\n   * - Listening for the finish event\n   * - Cleaning up the css (unless noReset is true)\n   */\n  transition: function(animationType, noReset, finishCallback) {\n    var node = this.getDOMNode();\n    var className = this.props.name + '-' + animationType;\n    var activeClassName = className + '-active';\n    var noEventTimeout = null;\n\n    var endListener = function() {\n      if (\"production\" !== \"development\") {\n        clearTimeout(noEventTimeout);\n      }\n\n      // If this gets invoked after the component is unmounted it's OK.\n      if (!noReset) {\n        // Usually this means you're about to remove the node if you want to\n        // leave it in its animated state.\n        CSSCore.removeClass(node, className);\n        CSSCore.removeClass(node, activeClassName);\n      }\n\n      ReactTransitionEvents.removeEndEventListener(node, endListener);\n\n      // Usually this optional callback is used for informing an owner of\n      // a leave animation and telling it to remove the child.\n      finishCallback && finishCallback();\n    };\n\n    ReactTransitionEvents.addEndEventListener(node, endListener);\n\n    CSSCore.addClass(node, className);\n\n    // Need to do this to actually trigger a transition.\n    this.queueClass(activeClassName);\n\n    if (\"production\" !== \"development\") {\n      noEventTimeout = setTimeout(noEventListener, NO_EVENT_TIMEOUT);\n    }\n  },\n\n  queueClass: function(className) {\n    this.classNameQueue.push(className);\n\n    if (this.props.runNextTick) {\n      this.props.runNextTick(this.flushClassNameQueue);\n      return;\n    }\n\n    if (!this.timeout) {\n      this.timeout = setTimeout(this.flushClassNameQueue, TICK);\n    }\n  },\n\n  flushClassNameQueue: function() {\n    if (this.isMounted()) {\n      this.classNameQueue.forEach(\n        CSSCore.addClass.bind(CSSCore, this.getDOMNode())\n      );\n    }\n    this.classNameQueue.length = 0;\n    this.timeout = null;\n  },\n\n  componentWillMount: function() {\n    this.classNameQueue = [];\n  },\n\n  componentWillUnmount: function() {\n    if (this.timeout) {\n      clearTimeout(this.timeout);\n    }\n  },\n\n  componentWillReceiveProps: function(nextProps) {\n    if (!nextProps.children && this.props.children) {\n      this.savedChildren = this.props.children;\n    }\n  },\n\n  componentDidMount: function(node) {\n    if (this.props.enter) {\n      this.transition('enter');\n    }\n  },\n\n  componentDidUpdate: function(prevProps, prevState, node) {\n    if (prevProps.children && !this.props.children) {\n      this.transition('leave', true, this.props.onDoneLeaving);\n    }\n  },\n\n  render: function() {\n    return this.props.children || this.savedChildren;\n  }\n});\n\nmodule.exports = ReactTransitionableChild;\n\n},{\"./CSSCore\":2,\"./React\":26,\"./ReactTransitionEvents\":66}],70:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactUpdates\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\nvar dirtyComponents = [];\n\nvar batchingStrategy = null;\n\nfunction ensureBatchingStrategy() {\n  (\"production\" !== \"development\" ? invariant(batchingStrategy, 'ReactUpdates: must inject a batching strategy') : invariant(batchingStrategy));\n}\n\nfunction batchedUpdates(callback, param) {\n  ensureBatchingStrategy();\n  batchingStrategy.batchedUpdates(callback, param);\n}\n\n/**\n * Array comparator for ReactComponents by owner depth\n *\n * @param {ReactComponent} c1 first component you're comparing\n * @param {ReactComponent} c2 second component you're comparing\n * @return {number} Return value usable by Array.prototype.sort().\n */\nfunction mountDepthComparator(c1, c2) {\n  return c1._mountDepth - c2._mountDepth;\n}\n\nfunction runBatchedUpdates() {\n  // Since reconciling a component higher in the owner hierarchy usually (not\n  // always -- see shouldComponentUpdate()) will reconcile children, reconcile\n  // them before their children by sorting the array.\n\n  dirtyComponents.sort(mountDepthComparator);\n\n  for (var i = 0; i < dirtyComponents.length; i++) {\n    // If a component is unmounted before pending changes apply, ignore them\n    // TODO: Queue unmounts in the same list to avoid this happening at all\n    var component = dirtyComponents[i];\n    if (component.isMounted()) {\n      // If performUpdateIfNecessary happens to enqueue any new updates, we\n      // shouldn't execute the callbacks until the next render happens, so\n      // stash the callbacks first\n      var callbacks = component._pendingCallbacks;\n      component._pendingCallbacks = null;\n      component.performUpdateIfNecessary();\n      if (callbacks) {\n        for (var j = 0; j < callbacks.length; j++) {\n          callbacks[j].call(component);\n        }\n      }\n    }\n  }\n}\n\nfunction clearDirtyComponents() {\n  dirtyComponents.length = 0;\n}\n\nfunction flushBatchedUpdates() {\n  // Run these in separate functions so the JIT can optimize\n  try {\n    runBatchedUpdates();\n  } catch (e) {\n    // IE 8 requires catch to use finally.\n    throw e;\n  } finally {\n    clearDirtyComponents();\n  }\n}\n\n/**\n * Mark a component as needing a rerender, adding an optional callback to a\n * list of functions which will be executed once the rerender occurs.\n */\nfunction enqueueUpdate(component, callback) {\n  (\"production\" !== \"development\" ? invariant(\n    !callback || typeof callback === \"function\",\n    'enqueueUpdate(...): You called `setProps`, `replaceProps`, ' +\n    '`setState`, `replaceState`, or `forceUpdate` with a callback that ' +\n    'isn\\'t callable.'\n  ) : invariant(!callback || typeof callback === \"function\"));\n  ensureBatchingStrategy();\n\n  if (!batchingStrategy.isBatchingUpdates) {\n    component.performUpdateIfNecessary();\n    callback && callback();\n    return;\n  }\n\n  dirtyComponents.push(component);\n\n  if (callback) {\n    if (component._pendingCallbacks) {\n      component._pendingCallbacks.push(callback);\n    } else {\n      component._pendingCallbacks = [callback];\n    }\n  }\n}\n\nvar ReactUpdatesInjection = {\n  injectBatchingStrategy: function(_batchingStrategy) {\n    (\"production\" !== \"development\" ? invariant(\n      _batchingStrategy,\n      'ReactUpdates: must provide a batching strategy'\n    ) : invariant(_batchingStrategy));\n    (\"production\" !== \"development\" ? invariant(\n      typeof _batchingStrategy.batchedUpdates === 'function',\n      'ReactUpdates: must provide a batchedUpdates() function'\n    ) : invariant(typeof _batchingStrategy.batchedUpdates === 'function'));\n    (\"production\" !== \"development\" ? invariant(\n      typeof _batchingStrategy.isBatchingUpdates === 'boolean',\n      'ReactUpdates: must provide an isBatchingUpdates boolean attribute'\n    ) : invariant(typeof _batchingStrategy.isBatchingUpdates === 'boolean'));\n    batchingStrategy = _batchingStrategy;\n  }\n};\n\nvar ReactUpdates = {\n  batchedUpdates: batchedUpdates,\n  enqueueUpdate: enqueueUpdate,\n  flushBatchedUpdates: flushBatchedUpdates,\n  injection: ReactUpdatesInjection\n};\n\nmodule.exports = ReactUpdates;\n\n},{\"./invariant\":109}],71:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactWithAddons\n */\n\n/**\n * This module exists purely in the open source project, and is meant as a way\n * to create a separate standalone build of React. This build has \"addons\", or\n * functionality we've built and think might be useful but doesn't have a good\n * place to live inside React core.\n */\n\n\"use strict\";\n\nvar LinkedStateMixin = require(\"./LinkedStateMixin\");\nvar React = require(\"./React\");\nvar ReactTransitionGroup = require(\"./ReactTransitionGroup\");\n\nvar cx = require(\"./cx\");\n\nReact.addons = {\n  classSet: cx,\n  LinkedStateMixin: LinkedStateMixin,\n  TransitionGroup: ReactTransitionGroup\n};\n\nmodule.exports = React;\n\n\n},{\"./LinkedStateMixin\":22,\"./React\":26,\"./ReactTransitionGroup\":67,\"./cx\":92}],72:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SelectEventPlugin\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar ReactInputSelection = require(\"./ReactInputSelection\");\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\nvar getActiveElement = require(\"./getActiveElement\");\nvar isTextInputElement = require(\"./isTextInputElement\");\nvar keyOf = require(\"./keyOf\");\nvar shallowEqual = require(\"./shallowEqual\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n  select: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onSelect: null}),\n      captured: keyOf({onSelectCapture: null})\n    }\n  }\n};\n\nvar useSelectionChange = false;\n\nif (ExecutionEnvironment.canUseDOM) {\n  useSelectionChange = 'onselectionchange' in document;\n}\n\nvar activeElement = null;\nvar activeElementID = null;\nvar activeNativeEvent = null;\nvar lastSelection = null;\nvar mouseDown = false;\n\n/**\n * Get an object which is a unique representation of the current selection.\n *\n * The return value will not be consistent across nodes or browsers, but\n * two identical selections on the same node will return identical objects.\n *\n * @param {DOMElement} node\n * @param {object}\n */\nfunction getSelection(node) {\n  if ('selectionStart' in node &&\n      ReactInputSelection.hasSelectionCapabilities(node)) {\n    return {\n      start: node.selectionStart,\n      end: node.selectionEnd\n    };\n  } else if (document.selection) {\n    var range = document.selection.createRange();\n    return {\n      parentElement: range.parentElement(),\n      text: range.text,\n      top: range.boundingTop,\n      left: range.boundingLeft\n    };\n  } else {\n    var selection = window.getSelection();\n    return {\n      anchorNode: selection.anchorNode,\n      anchorOffset: selection.anchorOffset,\n      focusNode: selection.focusNode,\n      focusOffset: selection.focusOffset\n    };\n  }\n}\n\n/**\n * Poll selection to see whether it's changed.\n *\n * @param {object} nativeEvent\n * @return {?SyntheticEvent}\n */\nfunction constructSelectEvent(nativeEvent) {\n  // Ensure we have the right element, and that the user is not dragging a\n  // selection (this matches native `select` event behavior).\n  if (mouseDown || activeElement != getActiveElement()) {\n    return;\n  }\n\n  // Only fire when selection has actually changed.\n  var currentSelection = getSelection(activeElement);\n  if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {\n    lastSelection = currentSelection;\n\n    var syntheticEvent = SyntheticEvent.getPooled(\n      eventTypes.select,\n      activeElementID,\n      nativeEvent\n    );\n\n    syntheticEvent.type = 'select';\n    syntheticEvent.target = activeElement;\n\n    EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent);\n\n    return syntheticEvent;\n  }\n}\n\n/**\n * Handle deferred event. And manually dispatch synthetic events.\n */\nfunction dispatchDeferredSelectEvent() {\n  if (!activeNativeEvent) {\n    return;\n  }\n\n  var syntheticEvent = constructSelectEvent(activeNativeEvent);\n  activeNativeEvent = null;\n\n  // Enqueue and process the abstract event manually.\n  if (syntheticEvent) {\n    EventPluginHub.enqueueEvents(syntheticEvent);\n    EventPluginHub.processEventQueue();\n  }\n}\n\n/**\n * This plugin creates an `onSelect` event that normalizes select events\n * across form elements.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - contentEditable\n *\n * This differs from native browser implementations in the following ways:\n * - Fires on contentEditable fields as well as inputs.\n * - Fires for collapsed selection.\n * - Fires after user input.\n */\nvar SelectEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n\n    switch (topLevelType) {\n      // Track the input node that has focus.\n      case topLevelTypes.topFocus:\n        if (isTextInputElement(topLevelTarget) ||\n            topLevelTarget.contentEditable === 'true') {\n          activeElement = topLevelTarget;\n          activeElementID = topLevelTargetID;\n          lastSelection = null;\n        }\n        break;\n      case topLevelTypes.topBlur:\n        activeElement = null;\n        activeElementID = null;\n        lastSelection = null;\n        break;\n\n      // Don't fire the event while the user is dragging. This matches the\n      // semantics of the native select event.\n      case topLevelTypes.topMouseDown:\n        mouseDown = true;\n        break;\n      case topLevelTypes.topContextMenu:\n      case topLevelTypes.topMouseUp:\n        mouseDown = false;\n        return constructSelectEvent(nativeEvent);\n\n      // Chrome and IE fire non-standard event when selection is changed (and\n      // sometimes when it hasn't).\n      case topLevelTypes.topSelectionChange:\n        return constructSelectEvent(nativeEvent);\n\n      // Firefox doesn't support selectionchange, so check selection status\n      // after each key entry.\n      case topLevelTypes.topKeyDown:\n        if (!useSelectionChange) {\n          activeNativeEvent = nativeEvent;\n          setTimeout(dispatchDeferredSelectEvent, 0);\n        }\n        break;\n    }\n  }\n};\n\nmodule.exports = SelectEventPlugin;\n\n},{\"./EventConstants\":15,\"./EventPluginHub\":17,\"./EventPropagators\":20,\"./ExecutionEnvironment\":21,\"./ReactInputSelection\":50,\"./SyntheticEvent\":76,\"./getActiveElement\":101,\"./isTextInputElement\":112,\"./keyOf\":116,\"./shallowEqual\":126}],73:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SimpleEventPlugin\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar SyntheticClipboardEvent = require(\"./SyntheticClipboardEvent\");\nvar SyntheticEvent = require(\"./SyntheticEvent\");\nvar SyntheticFocusEvent = require(\"./SyntheticFocusEvent\");\nvar SyntheticKeyboardEvent = require(\"./SyntheticKeyboardEvent\");\nvar SyntheticMouseEvent = require(\"./SyntheticMouseEvent\");\nvar SyntheticTouchEvent = require(\"./SyntheticTouchEvent\");\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\nvar SyntheticWheelEvent = require(\"./SyntheticWheelEvent\");\n\nvar invariant = require(\"./invariant\");\nvar keyOf = require(\"./keyOf\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n  blur: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onBlur: true}),\n      captured: keyOf({onBlurCapture: true})\n    }\n  },\n  click: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onClick: true}),\n      captured: keyOf({onClickCapture: true})\n    }\n  },\n  contextMenu: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onContextMenu: true}),\n      captured: keyOf({onContextMenuCapture: true})\n    }\n  },\n  copy: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCopy: true}),\n      captured: keyOf({onCopyCapture: true})\n    }\n  },\n  cut: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCut: true}),\n      captured: keyOf({onCutCapture: true})\n    }\n  },\n  doubleClick: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDoubleClick: true}),\n      captured: keyOf({onDoubleClickCapture: true})\n    }\n  },\n  drag: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDrag: true}),\n      captured: keyOf({onDragCapture: true})\n    }\n  },\n  dragEnd: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragEnd: true}),\n      captured: keyOf({onDragEndCapture: true})\n    }\n  },\n  dragEnter: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragEnter: true}),\n      captured: keyOf({onDragEnterCapture: true})\n    }\n  },\n  dragExit: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragExit: true}),\n      captured: keyOf({onDragExitCapture: true})\n    }\n  },\n  dragLeave: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragLeave: true}),\n      captured: keyOf({onDragLeaveCapture: true})\n    }\n  },\n  dragOver: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragOver: true}),\n      captured: keyOf({onDragOverCapture: true})\n    }\n  },\n  dragStart: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragStart: true}),\n      captured: keyOf({onDragStartCapture: true})\n    }\n  },\n  drop: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDrop: true}),\n      captured: keyOf({onDropCapture: true})\n    }\n  },\n  focus: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onFocus: true}),\n      captured: keyOf({onFocusCapture: true})\n    }\n  },\n  input: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onInput: true}),\n      captured: keyOf({onInputCapture: true})\n    }\n  },\n  keyDown: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onKeyDown: true}),\n      captured: keyOf({onKeyDownCapture: true})\n    }\n  },\n  keyPress: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onKeyPress: true}),\n      captured: keyOf({onKeyPressCapture: true})\n    }\n  },\n  keyUp: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onKeyUp: true}),\n      captured: keyOf({onKeyUpCapture: true})\n    }\n  },\n  // Note: We do not allow listening to mouseOver events. Instead, use the\n  // onMouseEnter/onMouseLeave created by `EnterLeaveEventPlugin`.\n  mouseDown: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onMouseDown: true}),\n      captured: keyOf({onMouseDownCapture: true})\n    }\n  },\n  mouseMove: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onMouseMove: true}),\n      captured: keyOf({onMouseMoveCapture: true})\n    }\n  },\n  mouseUp: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onMouseUp: true}),\n      captured: keyOf({onMouseUpCapture: true})\n    }\n  },\n  paste: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onPaste: true}),\n      captured: keyOf({onPasteCapture: true})\n    }\n  },\n  scroll: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onScroll: true}),\n      captured: keyOf({onScrollCapture: true})\n    }\n  },\n  submit: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onSubmit: true}),\n      captured: keyOf({onSubmitCapture: true})\n    }\n  },\n  touchCancel: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onTouchCancel: true}),\n      captured: keyOf({onTouchCancelCapture: true})\n    }\n  },\n  touchEnd: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onTouchEnd: true}),\n      captured: keyOf({onTouchEndCapture: true})\n    }\n  },\n  touchMove: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onTouchMove: true}),\n      captured: keyOf({onTouchMoveCapture: true})\n    }\n  },\n  touchStart: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onTouchStart: true}),\n      captured: keyOf({onTouchStartCapture: true})\n    }\n  },\n  wheel: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onWheel: true}),\n      captured: keyOf({onWheelCapture: true})\n    }\n  }\n};\n\nvar topLevelEventsToDispatchConfig = {\n  topBlur:        eventTypes.blur,\n  topClick:       eventTypes.click,\n  topContextMenu: eventTypes.contextMenu,\n  topCopy:        eventTypes.copy,\n  topCut:         eventTypes.cut,\n  topDoubleClick: eventTypes.doubleClick,\n  topDrag:        eventTypes.drag,\n  topDragEnd:     eventTypes.dragEnd,\n  topDragEnter:   eventTypes.dragEnter,\n  topDragExit:    eventTypes.dragExit,\n  topDragLeave:   eventTypes.dragLeave,\n  topDragOver:    eventTypes.dragOver,\n  topDragStart:   eventTypes.dragStart,\n  topDrop:        eventTypes.drop,\n  topFocus:       eventTypes.focus,\n  topInput:       eventTypes.input,\n  topKeyDown:     eventTypes.keyDown,\n  topKeyPress:    eventTypes.keyPress,\n  topKeyUp:       eventTypes.keyUp,\n  topMouseDown:   eventTypes.mouseDown,\n  topMouseMove:   eventTypes.mouseMove,\n  topMouseUp:     eventTypes.mouseUp,\n  topPaste:       eventTypes.paste,\n  topScroll:      eventTypes.scroll,\n  topSubmit:      eventTypes.submit,\n  topTouchCancel: eventTypes.touchCancel,\n  topTouchEnd:    eventTypes.touchEnd,\n  topTouchMove:   eventTypes.touchMove,\n  topTouchStart:  eventTypes.touchStart,\n  topWheel:       eventTypes.wheel\n};\n\nvar SimpleEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * Same as the default implementation, except cancels the event when return\n   * value is false.\n   *\n   * @param {object} Event to be dispatched.\n   * @param {function} Application-level callback.\n   * @param {string} domID DOM ID to pass to the callback.\n   */\n  executeDispatch: function(event, listener, domID) {\n    var returnValue = listener(event, domID);\n    if (returnValue === false) {\n      event.stopPropagation();\n      event.preventDefault();\n    }\n  },\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType];\n    if (!dispatchConfig) {\n      return null;\n    }\n    var EventConstructor;\n    switch(topLevelType) {\n      case topLevelTypes.topInput:\n      case topLevelTypes.topSubmit:\n        // HTML Events\n        // @see http://www.w3.org/TR/html5/index.html#events-0\n        EventConstructor = SyntheticEvent;\n        break;\n      case topLevelTypes.topKeyDown:\n      case topLevelTypes.topKeyPress:\n      case topLevelTypes.topKeyUp:\n        EventConstructor = SyntheticKeyboardEvent;\n        break;\n      case topLevelTypes.topBlur:\n      case topLevelTypes.topFocus:\n        EventConstructor = SyntheticFocusEvent;\n        break;\n      case topLevelTypes.topClick:\n        // Firefox creates a click event on right mouse clicks. This removes the\n        // unwanted click events.\n        if (nativeEvent.button === 2) {\n          return null;\n        }\n        /* falls through */\n      case topLevelTypes.topContextMenu:\n      case topLevelTypes.topDoubleClick:\n      case topLevelTypes.topDrag:\n      case topLevelTypes.topDragEnd:\n      case topLevelTypes.topDragEnter:\n      case topLevelTypes.topDragExit:\n      case topLevelTypes.topDragLeave:\n      case topLevelTypes.topDragOver:\n      case topLevelTypes.topDragStart:\n      case topLevelTypes.topDrop:\n      case topLevelTypes.topMouseDown:\n      case topLevelTypes.topMouseMove:\n      case topLevelTypes.topMouseUp:\n        EventConstructor = SyntheticMouseEvent;\n        break;\n      case topLevelTypes.topTouchCancel:\n      case topLevelTypes.topTouchEnd:\n      case topLevelTypes.topTouchMove:\n      case topLevelTypes.topTouchStart:\n        EventConstructor = SyntheticTouchEvent;\n        break;\n      case topLevelTypes.topScroll:\n        EventConstructor = SyntheticUIEvent;\n        break;\n      case topLevelTypes.topWheel:\n        EventConstructor = SyntheticWheelEvent;\n        break;\n      case topLevelTypes.topCopy:\n      case topLevelTypes.topCut:\n      case topLevelTypes.topPaste:\n        EventConstructor = SyntheticClipboardEvent;\n        break;\n    }\n    (\"production\" !== \"development\" ? invariant(\n      EventConstructor,\n      'SimpleEventPlugin: Unhandled event type, `%s`.',\n      topLevelType\n    ) : invariant(EventConstructor));\n    var event = EventConstructor.getPooled(\n      dispatchConfig,\n      topLevelTargetID,\n      nativeEvent\n    );\n    EventPropagators.accumulateTwoPhaseDispatches(event);\n    return event;\n  }\n\n};\n\nmodule.exports = SimpleEventPlugin;\n\n},{\"./EventConstants\":15,\"./EventPropagators\":20,\"./SyntheticClipboardEvent\":74,\"./SyntheticEvent\":76,\"./SyntheticFocusEvent\":77,\"./SyntheticKeyboardEvent\":78,\"./SyntheticMouseEvent\":79,\"./SyntheticTouchEvent\":80,\"./SyntheticUIEvent\":81,\"./SyntheticWheelEvent\":82,\"./invariant\":109,\"./keyOf\":116}],74:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticClipboardEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/clipboard-apis/\n */\nvar ClipboardEventInterface = {\n  clipboardData: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);\n\nmodule.exports = SyntheticClipboardEvent;\n\n\n},{\"./SyntheticEvent\":76}],75:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticCompositionEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents\n */\nvar CompositionEventInterface = {\n  data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticCompositionEvent(\n  dispatchConfig,\n  dispatchMarker,\n  nativeEvent) {\n  SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticEvent.augmentClass(\n  SyntheticCompositionEvent,\n  CompositionEventInterface\n);\n\nmodule.exports = SyntheticCompositionEvent;\n\n\n},{\"./SyntheticEvent\":76}],76:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar PooledClass = require(\"./PooledClass\");\n\nvar emptyFunction = require(\"./emptyFunction\");\nvar getEventTarget = require(\"./getEventTarget\");\nvar merge = require(\"./merge\");\nvar mergeInto = require(\"./mergeInto\");\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar EventInterface = {\n  type: null,\n  target: getEventTarget,\n  currentTarget: null,\n  eventPhase: null,\n  bubbles: null,\n  cancelable: null,\n  timeStamp: function(event) {\n    return event.timeStamp || Date.now();\n  },\n  defaultPrevented: null,\n  isTrusted: null\n};\n\n/**\n * Synthetic events are dispatched by event plugins, typically in response to a\n * top-level event delegation handler.\n *\n * These systems should generally use pooling to reduce the frequency of garbage\n * collection. The system should check `isPersistent` to determine whether the\n * event should be released into the pool after being dispatched. Users that\n * need a persisted event should invoke `persist`.\n *\n * Synthetic events (and subclasses) implement the DOM Level 3 Events API by\n * normalizing browser quirks. Subclasses do not necessarily have to implement a\n * DOM interface; custom application-specific events can also subclass this.\n *\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n */\nfunction SyntheticEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  this.dispatchConfig = dispatchConfig;\n  this.dispatchMarker = dispatchMarker;\n  this.nativeEvent = nativeEvent;\n\n  var Interface = this.constructor.Interface;\n  for (var propName in Interface) {\n    if (!Interface.hasOwnProperty(propName)) {\n      continue;\n    }\n    var normalize = Interface[propName];\n    if (normalize) {\n      this[propName] = normalize(nativeEvent);\n    } else {\n      this[propName] = nativeEvent[propName];\n    }\n  }\n\n  var defaultPrevented = nativeEvent.defaultPrevented != null ?\n    nativeEvent.defaultPrevented :\n    nativeEvent.returnValue === false;\n  if (defaultPrevented) {\n    this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n  } else {\n    this.isDefaultPrevented = emptyFunction.thatReturnsFalse;\n  }\n  this.isPropagationStopped = emptyFunction.thatReturnsFalse;\n}\n\nmergeInto(SyntheticEvent.prototype, {\n\n  preventDefault: function() {\n    this.defaultPrevented = true;\n    var event = this.nativeEvent;\n    event.preventDefault ? event.preventDefault() : event.returnValue = false;\n    this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n  },\n\n  stopPropagation: function() {\n    var event = this.nativeEvent;\n    event.stopPropagation ? event.stopPropagation() : event.cancelBubble = true;\n    this.isPropagationStopped = emptyFunction.thatReturnsTrue;\n  },\n\n  /**\n   * We release all dispatched `SyntheticEvent`s after each event loop, adding\n   * them back into the pool. This allows a way to hold onto a reference that\n   * won't be added back into the pool.\n   */\n  persist: function() {\n    this.isPersistent = emptyFunction.thatReturnsTrue;\n  },\n\n  /**\n   * Checks if this event should be released back into the pool.\n   *\n   * @return {boolean} True if this should not be released, false otherwise.\n   */\n  isPersistent: emptyFunction.thatReturnsFalse,\n\n  /**\n   * `PooledClass` looks for `destructor` on each instance it releases.\n   */\n  destructor: function() {\n    var Interface = this.constructor.Interface;\n    for (var propName in Interface) {\n      this[propName] = null;\n    }\n    this.dispatchConfig = null;\n    this.dispatchMarker = null;\n    this.nativeEvent = null;\n  }\n\n});\n\nSyntheticEvent.Interface = EventInterface;\n\n/**\n * Helper to reduce boilerplate when creating subclasses.\n *\n * @param {function} Class\n * @param {?object} Interface\n */\nSyntheticEvent.augmentClass = function(Class, Interface) {\n  var Super = this;\n\n  var prototype = Object.create(Super.prototype);\n  mergeInto(prototype, Class.prototype);\n  Class.prototype = prototype;\n  Class.prototype.constructor = Class;\n\n  Class.Interface = merge(Super.Interface, Interface);\n  Class.augmentClass = Super.augmentClass;\n\n  PooledClass.addPoolingTo(Class, PooledClass.threeArgumentPooler);\n};\n\nPooledClass.addPoolingTo(SyntheticEvent, PooledClass.threeArgumentPooler);\n\nmodule.exports = SyntheticEvent;\n\n},{\"./PooledClass\":25,\"./emptyFunction\":94,\"./getEventTarget\":102,\"./merge\":118,\"./mergeInto\":120}],77:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticFocusEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\n\n/**\n * @interface FocusEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar FocusEventInterface = {\n  relatedTarget: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);\n\nmodule.exports = SyntheticFocusEvent;\n\n},{\"./SyntheticUIEvent\":81}],78:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticKeyboardEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\n\n/**\n * @interface KeyboardEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar KeyboardEventInterface = {\n  'char': null,\n  key: null,\n  location: null,\n  ctrlKey: null,\n  shiftKey: null,\n  altKey: null,\n  metaKey: null,\n  repeat: null,\n  locale: null,\n  // Legacy Interface\n  charCode: null,\n  keyCode: null,\n  which: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);\n\nmodule.exports = SyntheticKeyboardEvent;\n\n},{\"./SyntheticUIEvent\":81}],79:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticMouseEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\nvar ViewportMetrics = require(\"./ViewportMetrics\");\n\n/**\n * @interface MouseEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar MouseEventInterface = {\n  screenX: null,\n  screenY: null,\n  clientX: null,\n  clientY: null,\n  ctrlKey: null,\n  shiftKey: null,\n  altKey: null,\n  metaKey: null,\n  button: function(event) {\n    // Webkit, Firefox, IE9+\n    // which:  1 2 3\n    // button: 0 1 2 (standard)\n    var button = event.button;\n    if ('which' in event) {\n      return button;\n    }\n    // IE<9\n    // which:  undefined\n    // button: 0 0 0\n    // button: 1 4 2 (onmouseup)\n    return button === 2 ? 2 : button === 4 ? 1 : 0;\n  },\n  buttons: null,\n  relatedTarget: function(event) {\n    return event.relatedTarget || (\n      event.fromElement === event.srcElement ?\n        event.toElement :\n        event.fromElement\n    );\n  },\n  // \"Proprietary\" Interface.\n  pageX: function(event) {\n    return 'pageX' in event ?\n      event.pageX :\n      event.clientX + ViewportMetrics.currentScrollLeft;\n  },\n  pageY: function(event) {\n    return 'pageY' in event ?\n      event.pageY :\n      event.clientY + ViewportMetrics.currentScrollTop;\n  }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\nmodule.exports = SyntheticMouseEvent;\n\n},{\"./SyntheticUIEvent\":81,\"./ViewportMetrics\":84}],80:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticTouchEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\n\n/**\n * @interface TouchEvent\n * @see http://www.w3.org/TR/touch-events/\n */\nvar TouchEventInterface = {\n  touches: null,\n  targetTouches: null,\n  changedTouches: null,\n  altKey: null,\n  metaKey: null,\n  ctrlKey: null,\n  shiftKey: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);\n\nmodule.exports = SyntheticTouchEvent;\n\n},{\"./SyntheticUIEvent\":81}],81:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticUIEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\n/**\n * @interface UIEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar UIEventInterface = {\n  view: null,\n  detail: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\nmodule.exports = SyntheticUIEvent;\n\n},{\"./SyntheticEvent\":76}],82:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticWheelEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticMouseEvent = require(\"./SyntheticMouseEvent\");\n\n/**\n * @interface WheelEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar WheelEventInterface = {\n  deltaX: function(event) {\n    // NOTE: IE<9 does not support x-axis delta.\n    return (\n      'deltaX' in event ? event.deltaX :\n      // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).\n      'wheelDeltaX' in event ? -event.wheelDeltaX : 0\n    );\n  },\n  deltaY: function(event) {\n    return (\n      // Normalize (up is positive).\n      'deltaY' in event ? -event.deltaY :\n      // Fallback to `wheelDeltaY` for Webkit.\n      'wheelDeltaY' in event ? event.wheelDeltaY :\n      // Fallback to `wheelDelta` for IE<9.\n      'wheelDelta' in event ? event.wheelDelta : 0\n    );\n  },\n  deltaZ: null,\n  deltaMode: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticMouseEvent}\n */\nfunction SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);\n\nmodule.exports = SyntheticWheelEvent;\n\n},{\"./SyntheticMouseEvent\":79}],83:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule Transaction\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * `Transaction` creates a black box that is able to wrap any method such that\n * certain invariants are maintained before and after the method is invoked\n * (Even if an exception is thrown while invoking the wrapped method). Whoever\n * instantiates a transaction can provide enforcers of the invariants at\n * creation time. The `Transaction` class itself will supply one additional\n * automatic invariant for you - the invariant that any transaction instance\n * should not be ran while it is already being ran. You would typically create a\n * single instance of a `Transaction` for reuse multiple times, that potentially\n * is used to wrap several different methods. Wrappers are extremely simple -\n * they only require implementing two methods.\n *\n * <pre>\n *                       wrappers (injected at creation time)\n *                                      +        +\n *                                      |        |\n *                    +-----------------|--------|--------------+\n *                    |                 v        |              |\n *                    |      +---------------+   |              |\n *                    |   +--|    wrapper1   |---|----+         |\n *                    |   |  +---------------+   v    |         |\n *                    |   |          +-------------+  |         |\n *                    |   |     +----|   wrapper2  |--------+   |\n *                    |   |     |    +-------------+  |     |   |\n *                    |   |     |                     |     |   |\n *                    |   v     v                     v     v   | wrapper\n *                    | +---+ +---+   +---------+   +---+ +---+ | invariants\n * perform(anyMethod) | |   | |   |   |         |   |   | |   | | maintained\n * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | +---+ +---+   +---------+   +---+ +---+ |\n *                    |  initialize                    close    |\n *                    +-----------------------------------------+\n * </pre>\n *\n * Bonus:\n * - Reports timing metrics by method name and wrapper index.\n *\n * Use cases:\n * - Preserving the input selection ranges before/after reconciliation.\n *   Restoring selection even in the event of an unexpected error.\n * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n *   while guaranteeing that afterwards, the event system is reactivated.\n * - Flushing a queue of collected DOM mutations to the main UI thread after a\n *   reconciliation takes place in a worker thread.\n * - Invoking any collected `componentDidRender` callbacks after rendering new\n *   content.\n * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n *   to preserve the `scrollTop` (an automatic scroll aware DOM).\n * - (Future use case): Layout calculations before and after DOM upates.\n *\n * Transactional plugin API:\n * - A module that has an `initialize` method that returns any precomputation.\n * - and a `close` method that accepts the precomputation. `close` is invoked\n *   when the wrapped process is completed, or has failed.\n *\n * @param {Array<TransactionalWrapper>} transactionWrapper Wrapper modules\n * that implement `initialize` and `close`.\n * @return {Transaction} Single transaction for reuse in thread.\n *\n * @class Transaction\n */\nvar Mixin = {\n  /**\n   * Sets up this instance so that it is prepared for collecting metrics. Does\n   * so such that this setup method may be used on an instance that is already\n   * initialized, in a way that does not consume additional memory upon reuse.\n   * That can be useful if you decide to make your subclass of this mixin a\n   * \"PooledClass\".\n   */\n  reinitializeTransaction: function() {\n    this.transactionWrappers = this.getTransactionWrappers();\n    if (!this.wrapperInitData) {\n      this.wrapperInitData = [];\n    } else {\n      this.wrapperInitData.length = 0;\n    }\n    if (!this.timingMetrics) {\n      this.timingMetrics = {};\n    }\n    this.timingMetrics.methodInvocationTime = 0;\n    if (!this.timingMetrics.wrapperInitTimes) {\n      this.timingMetrics.wrapperInitTimes = [];\n    } else {\n      this.timingMetrics.wrapperInitTimes.length = 0;\n    }\n    if (!this.timingMetrics.wrapperCloseTimes) {\n      this.timingMetrics.wrapperCloseTimes = [];\n    } else {\n      this.timingMetrics.wrapperCloseTimes.length = 0;\n    }\n    this._isInTransaction = false;\n  },\n\n  _isInTransaction: false,\n\n  /**\n   * @abstract\n   * @return {Array<TransactionWrapper>} Array of transaction wrappers.\n   */\n  getTransactionWrappers: null,\n\n  isInTransaction: function() {\n    return !!this._isInTransaction;\n  },\n\n  /**\n   * Executes the function within a safety window. Use this for the top level\n   * methods that result in large amounts of computation/mutations that would\n   * need to be safety checked.\n   *\n   * @param {function} method Member of scope to call.\n   * @param {Object} scope Scope to invoke from.\n   * @param {Object?=} args... Arguments to pass to the method (optional).\n   *                           Helps prevent need to bind in many cases.\n   * @return Return value from `method`.\n   */\n  perform: function(method, scope, a, b, c, d, e, f) {\n    (\"production\" !== \"development\" ? invariant(\n      !this.isInTransaction(),\n      'Transaction.perform(...): Cannot initialize a transaction when there ' +\n      'is already an outstanding transaction.'\n    ) : invariant(!this.isInTransaction()));\n    var memberStart = Date.now();\n    var errorToThrow = null;\n    var ret;\n    try {\n      this.initializeAll();\n      ret = method.call(scope, a, b, c, d, e, f);\n    } catch (error) {\n      // IE8 requires `catch` in order to use `finally`.\n      errorToThrow = error;\n    } finally {\n      var memberEnd = Date.now();\n      this.methodInvocationTime += (memberEnd - memberStart);\n      try {\n        this.closeAll();\n      } catch (closeError) {\n        // If `method` throws, prefer to show that stack trace over any thrown\n        // by invoking `closeAll`.\n        errorToThrow = errorToThrow || closeError;\n      }\n    }\n    if (errorToThrow) {\n      throw errorToThrow;\n    }\n    return ret;\n  },\n\n  initializeAll: function() {\n    this._isInTransaction = true;\n    var transactionWrappers = this.transactionWrappers;\n    var wrapperInitTimes = this.timingMetrics.wrapperInitTimes;\n    var errorToThrow = null;\n    for (var i = 0; i < transactionWrappers.length; i++) {\n      var initStart = Date.now();\n      var wrapper = transactionWrappers[i];\n      try {\n        this.wrapperInitData[i] = wrapper.initialize ?\n          wrapper.initialize.call(this) :\n          null;\n      } catch (initError) {\n        // Prefer to show the stack trace of the first error.\n        errorToThrow = errorToThrow || initError;\n        this.wrapperInitData[i] = Transaction.OBSERVED_ERROR;\n      } finally {\n        var curInitTime = wrapperInitTimes[i];\n        var initEnd = Date.now();\n        wrapperInitTimes[i] = (curInitTime || 0) + (initEnd - initStart);\n      }\n    }\n    if (errorToThrow) {\n      throw errorToThrow;\n    }\n  },\n\n  /**\n   * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n   * them the respective return values of `this.transactionWrappers.init[i]`\n   * (`close`rs that correspond to initializers that failed will not be\n   * invoked).\n   */\n  closeAll: function() {\n    (\"production\" !== \"development\" ? invariant(\n      this.isInTransaction(),\n      'Transaction.closeAll(): Cannot close transaction when none are open.'\n    ) : invariant(this.isInTransaction()));\n    var transactionWrappers = this.transactionWrappers;\n    var wrapperCloseTimes = this.timingMetrics.wrapperCloseTimes;\n    var errorToThrow = null;\n    for (var i = 0; i < transactionWrappers.length; i++) {\n      var wrapper = transactionWrappers[i];\n      var closeStart = Date.now();\n      var initData = this.wrapperInitData[i];\n      try {\n        if (initData !== Transaction.OBSERVED_ERROR) {\n          wrapper.close && wrapper.close.call(this, initData);\n        }\n      } catch (closeError) {\n        // Prefer to show the stack trace of the first error.\n        errorToThrow = errorToThrow || closeError;\n      } finally {\n        var closeEnd = Date.now();\n        var curCloseTime = wrapperCloseTimes[i];\n        wrapperCloseTimes[i] = (curCloseTime || 0) + (closeEnd - closeStart);\n      }\n    }\n    this.wrapperInitData.length = 0;\n    this._isInTransaction = false;\n    if (errorToThrow) {\n      throw errorToThrow;\n    }\n  }\n};\n\nvar Transaction = {\n\n  Mixin: Mixin,\n\n  /**\n   * Token to look for to determine if an error occured.\n   */\n  OBSERVED_ERROR: {}\n\n};\n\nmodule.exports = Transaction;\n\n},{\"./invariant\":109}],84:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ViewportMetrics\n */\n\n\"use strict\";\n\nvar getUnboundedScrollPosition = require(\"./getUnboundedScrollPosition\");\n\nvar ViewportMetrics = {\n\n  currentScrollLeft: 0,\n\n  currentScrollTop: 0,\n\n  refreshScrollValues: function() {\n    var scrollPosition = getUnboundedScrollPosition(window);\n    ViewportMetrics.currentScrollLeft = scrollPosition.x;\n    ViewportMetrics.currentScrollTop = scrollPosition.y;\n  }\n\n};\n\nmodule.exports = ViewportMetrics;\n\n},{\"./getUnboundedScrollPosition\":107}],85:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule accumulate\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Accumulates items that must not be null or undefined.\n *\n * This is used to conserve memory by avoiding array allocations.\n *\n * @return {*|array<*>} An accumulation of items.\n */\nfunction accumulate(current, next) {\n  (\"production\" !== \"development\" ? invariant(\n    next != null,\n    'accumulate(...): Accumulated items must be not be null or undefined.'\n  ) : invariant(next != null));\n  if (current == null) {\n    return next;\n  } else {\n    // Both are not empty. Warning: Never call x.concat(y) when you are not\n    // certain that x is an Array (x could be a string with concat method).\n    var currentIsArray = Array.isArray(current);\n    var nextIsArray = Array.isArray(next);\n    if (currentIsArray) {\n      return current.concat(next);\n    } else {\n      if (nextIsArray) {\n        return [current].concat(next);\n      } else {\n        return [current, next];\n      }\n    }\n  }\n}\n\nmodule.exports = accumulate;\n\n},{\"./invariant\":109}],86:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule adler32\n */\n\n/* jslint bitwise:true */\n\n\"use strict\";\n\nvar MOD = 65521;\n\n// This is a clean-room implementation of adler32 designed for detecting\n// if markup is not what we expect it to be. It does not need to be\n// cryptographically strong, only reasonable good at detecting if markup\n// generated on the server is different than that on the client.\nfunction adler32(data) {\n  var a = 1;\n  var b = 0;\n  for (var i = 0; i < data.length; i++) {\n    a = (a + data.charCodeAt(i)) % MOD;\n    b = (b + a) % MOD;\n  }\n  return a | (b << 16);\n}\n\nmodule.exports = adler32;\n\n},{}],87:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule containsNode\n * @typechecks\n */\n\nvar isTextNode = require(\"./isTextNode\");\n\n/*jslint bitwise:true */\n\n/**\n * Checks if a given DOM node contains or is another DOM node.\n *\n * @param {?DOMNode} outerNode Outer DOM node.\n * @param {?DOMNode} innerNode Inner DOM node.\n * @return {boolean} True if `outerNode` contains or is `innerNode`.\n */\nfunction containsNode(outerNode, innerNode) {\n  if (!outerNode || !innerNode) {\n    return false;\n  } else if (outerNode === innerNode) {\n    return true;\n  } else if (isTextNode(outerNode)) {\n    return false;\n  } else if (isTextNode(innerNode)) {\n    return containsNode(outerNode, innerNode.parentNode);\n  } else if (outerNode.contains) {\n    return outerNode.contains(innerNode);\n  } else if (outerNode.compareDocumentPosition) {\n    return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n  } else {\n    return false;\n  }\n}\n\nmodule.exports = containsNode;\n\n},{\"./isTextNode\":113}],88:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule copyProperties\n */\n\n/**\n * Copy properties from one or more objects (up to 5) into the first object.\n * This is a shallow copy. It mutates the first object and also returns it.\n *\n * NOTE: `arguments` has a very significant performance penalty, which is why\n * we don't support unlimited arguments.\n */\nfunction copyProperties(obj, a, b, c, d, e, f) {\n  obj = obj || {};\n\n  if (\"production\" !== \"development\") {\n    if (f) {\n      throw new Error('Too many arguments passed to copyProperties');\n    }\n  }\n\n  var args = [a, b, c, d, e];\n  var ii = 0, v;\n  while (args[ii]) {\n    v = args[ii++];\n    for (var k in v) {\n      obj[k] = v[k];\n    }\n\n    // IE ignores toString in object iteration.. See:\n    // webreflection.blogspot.com/2007/07/quick-fix-internet-explorer-and.html\n    if (v.hasOwnProperty && v.hasOwnProperty('toString') &&\n        (typeof v.toString != 'undefined') && (obj.toString !== v.toString)) {\n      obj.toString = v.toString;\n    }\n  }\n\n  return obj;\n}\n\nmodule.exports = copyProperties;\n\n},{}],89:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule createArrayFrom\n * @typechecks\n */\n\n/**\n * NOTE: if you are a previous user of this function, it has been considered\n * unsafe because it's inconsistent across browsers for some inputs.\n * Instead use `Array.isArray()`.\n *\n * Perform a heuristic test to determine if an object is \"array-like\".\n *\n *   A monk asked Joshu, a Zen master, \"Has a dog Buddha nature?\"\n *   Joshu replied: \"Mu.\"\n *\n * This function determines if its argument has \"array nature\": it returns\n * true if the argument is an actual array, an `arguments' object, or an\n * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).\n *\n * @param {*} obj\n * @return {boolean}\n */\nfunction hasArrayNature(obj) {\n  return (\n    // not null/false\n    !!obj &&\n    // arrays are objects, NodeLists are functions in Safari\n    (typeof obj == 'object' || typeof obj == 'function') &&\n    // quacks like an array\n    ('length' in obj) &&\n    // not window\n    !('setInterval' in obj) &&\n    // no DOM node should be considered an array-like\n    // a 'select' element has 'length' and 'item' properties on IE8\n    (typeof obj.nodeType != 'number') &&\n    (\n      // a real array\n      (// HTMLCollection/NodeList\n      (Array.isArray(obj) ||\n      // arguments\n      ('callee' in obj) || 'item' in obj))\n    )\n  );\n}\n\n/**\n * Ensure that the argument is an array by wrapping it in an array if it is not.\n * Creates a copy of the argument if it is already an array.\n *\n * This is mostly useful idiomatically:\n *\n *   var createArrayFrom = require('createArrayFrom');\n *\n *   function takesOneOrMoreThings(things) {\n *     things = createArrayFrom(things);\n *     ...\n *   }\n *\n * This allows you to treat `things' as an array, but accept scalars in the API.\n *\n * This is also good for converting certain pseudo-arrays, like `arguments` or\n * HTMLCollections, into arrays.\n *\n * @param {*} obj\n * @return {array}\n */\nfunction createArrayFrom(obj) {\n  if (!hasArrayNature(obj)) {\n    return [obj];\n  }\n  if (obj.item) {\n    // IE does not support Array#slice on HTMLCollections\n    var l = obj.length, ret = new Array(l);\n    while (l--) { ret[l] = obj[l]; }\n    return ret;\n  }\n  return Array.prototype.slice.call(obj);\n}\n\nmodule.exports = createArrayFrom;\n\n},{}],90:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule createNodesFromMarkup\n * @typechecks\n */\n\n/*jslint evil: true, sub: true */\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar createArrayFrom = require(\"./createArrayFrom\");\nvar getMarkupWrap = require(\"./getMarkupWrap\");\nvar invariant = require(\"./invariant\");\n\n/**\n * Dummy container used to render all markup.\n */\nvar dummyNode =\n  ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Pattern used by `getNodeName`.\n */\nvar nodeNamePattern = /^\\s*<(\\w+)/;\n\n/**\n * Extracts the `nodeName` of the first element in a string of markup.\n *\n * @param {string} markup String of markup.\n * @return {?string} Node name of the supplied markup.\n */\nfunction getNodeName(markup) {\n  var nodeNameMatch = markup.match(nodeNamePattern);\n  return nodeNameMatch && nodeNameMatch[1].toLowerCase();\n}\n\n/**\n * Creates an array containing the nodes rendered from the supplied markup. The\n * optionally supplied `handleScript` function will be invoked once for each\n * <script> element that is rendered. If no `handleScript` function is supplied,\n * an exception is thrown if any <script> elements are rendered.\n *\n * @param {string} markup A string of valid HTML markup.\n * @param {?function} handleScript Invoked once for each rendered <script>.\n * @return {array<DOMElement|DOMTextNode>} An array of rendered nodes.\n */\nfunction createNodesFromMarkup(markup, handleScript) {\n  var node = dummyNode;\n  (\"production\" !== \"development\" ? invariant(!!dummyNode, 'createNodesFromMarkup dummy not initialized') : invariant(!!dummyNode));\n  var nodeName = getNodeName(markup);\n\n  var wrap = nodeName && getMarkupWrap(nodeName);\n  if (wrap) {\n    node.innerHTML = wrap[1] + markup + wrap[2];\n\n    var wrapDepth = wrap[0];\n    while (wrapDepth--) {\n      node = node.lastChild;\n    }\n  } else {\n    node.innerHTML = markup;\n  }\n\n  var scripts = node.getElementsByTagName('script');\n  if (scripts.length) {\n    (\"production\" !== \"development\" ? invariant(\n      handleScript,\n      'createNodesFromMarkup(...): Unexpected <script> element rendered.'\n    ) : invariant(handleScript));\n    createArrayFrom(scripts).forEach(handleScript);\n  }\n\n  var nodes = createArrayFrom(node.childNodes);\n  while (node.lastChild) {\n    node.removeChild(node.lastChild);\n  }\n  return nodes;\n}\n\nmodule.exports = createNodesFromMarkup;\n\n},{\"./ExecutionEnvironment\":21,\"./createArrayFrom\":89,\"./getMarkupWrap\":103,\"./invariant\":109}],91:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule createObjectFrom\n */\n\n/**\n * Construct an object from an array of keys\n * and optionally specified value or list of values.\n *\n *  >>> createObjectFrom(['a','b','c']);\n *  {a: true, b: true, c: true}\n *\n *  >>> createObjectFrom(['a','b','c'], false);\n *  {a: false, b: false, c: false}\n *\n *  >>> createObjectFrom(['a','b','c'], 'monkey');\n *  {c:'monkey', b:'monkey' c:'monkey'}\n *\n *  >>> createObjectFrom(['a','b','c'], [1,2,3]);\n *  {a: 1, b: 2, c: 3}\n *\n *  >>> createObjectFrom(['women', 'men'], [true, false]);\n *  {women: true, men: false}\n *\n * @param   Array   list of keys\n * @param   mixed   optional value or value array.  defaults true.\n * @returns object\n */\nfunction createObjectFrom(keys, values /* = true */) {\n  if (\"production\" !== \"development\") {\n    if (!Array.isArray(keys)) {\n      throw new TypeError('Must pass an array of keys.');\n    }\n  }\n\n  var object = {};\n  var isArray = Array.isArray(values);\n  if (typeof values == 'undefined') {\n    values = true;\n  }\n\n  for (var ii = keys.length; ii--;) {\n    object[keys[ii]] = isArray ? values[ii] : values;\n  }\n  return object;\n}\n\nmodule.exports = createObjectFrom;\n\n},{}],92:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule cx\n */\n\n/**\n * This function is used to mark string literals representing CSS class names\n * so that they can be transformed statically. This allows for modularization\n * and minification of CSS class names.\n *\n * In static_upstream, this function is actually implemented, but it should\n * eventually be replaced with something more descriptive, and the transform\n * that is used in the main stack should be ported for use elsewhere.\n *\n * @param string|object className to modularize, or an object of key/values.\n *                      In the object case, the values are conditions that\n *                      determine if the className keys should be included.\n * @param [string ...]  Variable list of classNames in the string case.\n * @return string       Renderable space-separated CSS className.\n */\nfunction cx(classNames) {\n  if (typeof classNames == 'object') {\n    return Object.keys(classNames).map(function(className) {\n      return classNames[className] ? className : '';\n    }).join(' ');\n  } else {\n    return Array.prototype.join.call(arguments, ' ');\n  }\n}\n\nmodule.exports = cx;\n\n},{}],93:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule dangerousStyleValue\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar CSSProperty = require(\"./CSSProperty\");\n\n/**\n * Convert a value into the proper css writable value. The `styleName` name\n * name should be logical (no hyphens), as specified\n * in `CSSProperty.isUnitlessNumber`.\n *\n * @param {string} styleName CSS property name such as `topMargin`.\n * @param {*} value CSS property value such as `10px`.\n * @return {string} Normalized style value with dimensions applied.\n */\nfunction dangerousStyleValue(styleName, value) {\n  // Note that we've removed escapeTextForBrowser() calls here since the\n  // whole string will be escaped when the attribute is injected into\n  // the markup. If you provide unsafe user data here they can inject\n  // arbitrary CSS which may be problematic (I couldn't repro this):\n  // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet\n  // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/\n  // This is not an XSS hole but instead a potential CSS injection issue\n  // which has lead to a greater discussion about how we're going to\n  // trust URLs moving forward. See #2115901\n\n  var isEmpty = value == null || typeof value === 'boolean' || value === '';\n  if (isEmpty) {\n    return '';\n  }\n\n  var isNonNumeric = isNaN(value);\n  if (isNonNumeric || value === 0 || CSSProperty.isUnitlessNumber[styleName]) {\n    return '' + value; // cast to string\n  }\n\n  return value + 'px';\n}\n\nmodule.exports = dangerousStyleValue;\n\n},{\"./CSSProperty\":3}],94:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule emptyFunction\n */\n\nvar copyProperties = require(\"./copyProperties\");\n\nfunction makeEmptyFunction(arg) {\n  return function() {\n    return arg;\n  };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nfunction emptyFunction() {}\n\ncopyProperties(emptyFunction, {\n  thatReturns: makeEmptyFunction,\n  thatReturnsFalse: makeEmptyFunction(false),\n  thatReturnsTrue: makeEmptyFunction(true),\n  thatReturnsNull: makeEmptyFunction(null),\n  thatReturnsThis: function() { return this; },\n  thatReturnsArgument: function(arg) { return arg; }\n});\n\nmodule.exports = emptyFunction;\n\n},{\"./copyProperties\":88}],95:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule escapeTextForBrowser\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ESCAPE_LOOKUP = {\n  \"&\": \"&amp;\",\n  \">\": \"&gt;\",\n  \"<\": \"&lt;\",\n  \"\\\"\": \"&quot;\",\n  \"'\": \"&#x27;\",\n  \"/\": \"&#x2f;\"\n};\n\nvar ESCAPE_REGEX = /[&><\"'\\/]/g;\n\nfunction escaper(match) {\n  return ESCAPE_LOOKUP[match];\n}\n\n/**\n * Escapes text to prevent scripting attacks.\n *\n * @param {*} text Text value to escape.\n * @return {string} An escaped string.\n */\nfunction escapeTextForBrowser(text) {\n  return ('' + text).replace(ESCAPE_REGEX, escaper);\n}\n\nmodule.exports = escapeTextForBrowser;\n\n},{}],96:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ex\n * @typechecks\n * @nostacktrace\n */\n\n/**\n * This function transforms error message with arguments into plain text error\n * message, so that it can be passed to window.onerror without losing anything.\n * It can then be transformed back by `erx()` function.\n *\n * Usage:\n *   throw new Error(ex('Error %s from %s', errorCode, userID));\n *\n * @param {string} errorMessage\n */\n\nvar ex = function(errorMessage/*, arg1, arg2, ...*/) {\n  var args = Array.prototype.slice.call(arguments).map(function(arg) {\n    return String(arg);\n  });\n  var expectedLength = errorMessage.split('%s').length - 1;\n\n  if (expectedLength !== args.length - 1) {\n    // something wrong with the formatting string\n    return ex('ex args number mismatch: %s', JSON.stringify(args));\n  }\n\n  return ex._prefix + JSON.stringify(args) + ex._suffix;\n};\n\nex._prefix = '<![EX[';\nex._suffix = ']]>';\n\nmodule.exports = ex;\n\n},{}],97:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule filterAttributes\n * @typechecks static-only\n */\n\n/*jslint evil: true */\n\n'use strict';\n\n/**\n * Like filter(), but for a DOM nodes attributes. Returns an array of\n * the filter DOMAttribute objects. Does some perf related this like\n * caching attributes.length.\n *\n * @param {DOMElement} node Node whose attributes you want to filter\n * @return {array} array of DOM attribute objects.\n */\nfunction filterAttributes(node, func, context) {\n  var attributes = node.attributes;\n  var numAttributes = attributes.length;\n  var accumulator = [];\n  for (var i = 0; i < numAttributes; i++) {\n    var attr = attributes.item(i);\n    if (func.call(context, attr)) {\n      accumulator.push(attr);\n    }\n  }\n  return accumulator;\n}\n\nmodule.exports = filterAttributes;\n\n},{}],98:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule flattenChildren\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\nvar traverseAllChildren = require(\"./traverseAllChildren\");\n\n/**\n * @param {function} traverseContext Context passed through traversal.\n * @param {?ReactComponent} child React child component.\n * @param {!string} name String name of key path to child.\n */\nfunction flattenSingleChildIntoContext(traverseContext, child, name) {\n  // We found a component instance.\n  var result = traverseContext;\n  (\"production\" !== \"development\" ? invariant(\n    !result.hasOwnProperty(name),\n    'flattenChildren(...): Encountered two children with the same key, `%s`. ' +\n    'Children keys must be unique.',\n    name\n  ) : invariant(!result.hasOwnProperty(name)));\n  result[name] = child;\n}\n\n/**\n * Flattens children that are typically specified as `props.children`.\n * @return {!object} flattened children keyed by name.\n */\nfunction flattenChildren(children) {\n  if (children == null) {\n    return children;\n  }\n  var result = {};\n  traverseAllChildren(children, flattenSingleChildIntoContext, result);\n  return result;\n}\n\nmodule.exports = flattenChildren;\n\n},{\"./invariant\":109,\"./traverseAllChildren\":127}],99:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule forEachAccumulated\n */\n\n\"use strict\";\n\n/**\n * @param {array} an \"accumulation\" of items which is either an Array or\n * a single item. Useful when paired with the `accumulate` module. This is a\n * simple utility that allows us to reason about a collection of items, but\n * handling the case when there is exactly one item (and we do not need to\n * allocate an array).\n */\nvar forEachAccumulated = function(arr, cb, scope) {\n  if (Array.isArray(arr)) {\n    arr.forEach(cb, scope);\n  } else if (arr) {\n    cb.call(scope, arr);\n  }\n};\n\nmodule.exports = forEachAccumulated;\n\n},{}],100:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ge\n */\n\n/**\n * Find a node by ID.  Optionally search a sub-tree outside of the document\n *\n * Use ge if you're not sure whether or not the element exists. You can test\n * for existence yourself in your application code.\n *\n * If your application code depends on the existence of the element, use $\n * instead, which will throw in DEV if the element doesn't exist.\n */\nfunction ge(arg, root, tag) {\n  return typeof arg != 'string' ? arg :\n    !root ? document.getElementById(arg) :\n    _geFromSubtree(arg, root, tag);\n}\n\nfunction _geFromSubtree(id, root, tag) {\n  var elem, children, ii;\n\n  if (_getNodeID(root) == id) {\n    return root;\n  } else if (root.getElementsByTagName) {\n    // All Elements implement this, which does an iterative DFS, which is\n    // faster than recursion and doesn't run into stack depth issues.\n    children = root.getElementsByTagName(tag || '*');\n    for (ii = 0; ii < children.length; ii++) {\n      if (_getNodeID(children[ii]) == id) {\n        return children[ii];\n      }\n    }\n  } else {\n    // DocumentFragment does not implement getElementsByTagName, so\n    // recurse over its children. Its children must be Elements, so\n    // each child will use the getElementsByTagName case instead.\n    children = root.childNodes;\n    for (ii = 0; ii < children.length; ii++) {\n      elem = _geFromSubtree(id, children[ii]);\n      if (elem) {\n        return elem;\n      }\n    }\n  }\n\n  return null;\n}\n\n/**\n * Return the ID value for a given node. This allows us to avoid issues\n * with forms that contain inputs with name=\"id\".\n *\n * @return string (null if attribute not set)\n */\nfunction _getNodeID(node) {\n  // #document and #document-fragment do not have getAttributeNode.\n  var id = node.getAttributeNode && node.getAttributeNode('id');\n  return id ? id.value : null;\n}\n\nmodule.exports = ge;\n\n},{}],101:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getActiveElement\n * @typechecks\n */\n\n/**\n * Same as document.activeElement but wraps in a try-catch block. In IE it is\n * not safe to call document.activeElement if there is nothing focused.\n */\nfunction getActiveElement() /*?DOMElement*/ {\n  try {\n    return document.activeElement;\n  } catch (e) {\n    return null;\n  }\n}\n\nmodule.exports = getActiveElement;\n\n\n},{}],102:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getEventTarget\n * @typechecks static-only\n */\n\n\"use strict\";\n\n/**\n * Gets the target node from a native browser event by accounting for\n * inconsistencies in browser DOM APIs.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {DOMEventTarget} Target node.\n */\nfunction getEventTarget(nativeEvent) {\n  var target = nativeEvent.target || nativeEvent.srcElement || window;\n  // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n  // @see http://www.quirksmode.org/js/events_properties.html\n  return target.nodeType === 3 ? target.parentNode : target;\n}\n\nmodule.exports = getEventTarget;\n\n},{}],103:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getMarkupWrap\n */\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Dummy container used to detect which wraps are necessary.\n */\nvar dummyNode =\n  ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Some browsers cannot use `innerHTML` to render certain elements standalone,\n * so we wrap them, render the wrapped nodes, then extract the desired node.\n *\n * In IE8, certain elements cannot render alone, so wrap all elements ('*').\n */\nvar shouldWrap = {\n  // Force wrapping for SVG elements because if they get created inside a <div>,\n  // they will be initialized in the wrong namespace (and will not display).\n  'circle': true,\n  'g': true,\n  'line': true,\n  'path': true,\n  'polyline': true,\n  'rect': true,\n  'text': true\n};\n\nvar selectWrap = [1, '<select multiple=\"true\">', '</select>'];\nvar tableWrap = [1, '<table>', '</table>'];\nvar trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>'];\n\nvar svgWrap = [1, '<svg>', '</svg>'];\n\nvar markupWrap = {\n  '*': [1, '?<div>', '</div>'],\n\n  'area': [1, '<map>', '</map>'],\n  'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],\n  'legend': [1, '<fieldset>', '</fieldset>'],\n  'param': [1, '<object>', '</object>'],\n  'tr': [2, '<table><tbody>', '</tbody></table>'],\n\n  'optgroup': selectWrap,\n  'option': selectWrap,\n\n  'caption': tableWrap,\n  'colgroup': tableWrap,\n  'tbody': tableWrap,\n  'tfoot': tableWrap,\n  'thead': tableWrap,\n\n  'td': trWrap,\n  'th': trWrap,\n\n  'circle': svgWrap,\n  'g': svgWrap,\n  'line': svgWrap,\n  'path': svgWrap,\n  'polyline': svgWrap,\n  'rect': svgWrap,\n  'text': svgWrap\n};\n\n/**\n * Gets the markup wrap configuration for the supplied `nodeName`.\n *\n * NOTE: This lazily detects which wraps are necessary for the current browser.\n *\n * @param {string} nodeName Lowercase `nodeName`.\n * @return {?array} Markup wrap configuration, if applicable.\n */\nfunction getMarkupWrap(nodeName) {\n  (\"production\" !== \"development\" ? invariant(!!dummyNode, 'Markup wrapping node not initialized') : invariant(!!dummyNode));\n  if (!markupWrap.hasOwnProperty(nodeName)) {\n    nodeName = '*';\n  }\n  if (!shouldWrap.hasOwnProperty(nodeName)) {\n    if (nodeName === '*') {\n      dummyNode.innerHTML = '<link />';\n    } else {\n      dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>';\n    }\n    shouldWrap[nodeName] = !dummyNode.firstChild;\n  }\n  return shouldWrap[nodeName] ? markupWrap[nodeName] : null;\n}\n\n\nmodule.exports = getMarkupWrap;\n\n},{\"./ExecutionEnvironment\":21,\"./invariant\":109}],104:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getNodeForCharacterOffset\n */\n\n\"use strict\";\n\n/**\n * Given any node return the first leaf node without children.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {DOMElement|DOMTextNode}\n */\nfunction getLeafNode(node) {\n  while (node && node.firstChild) {\n    node = node.firstChild;\n  }\n  return node;\n}\n\n/**\n * Get the next sibling within a container. This will walk up the\n * DOM if a node's siblings have been exhausted.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {?DOMElement|DOMTextNode}\n */\nfunction getSiblingNode(node) {\n  while (node) {\n    if (node.nextSibling) {\n      return node.nextSibling;\n    }\n    node = node.parentNode;\n  }\n}\n\n/**\n * Get object describing the nodes which contain characters at offset.\n *\n * @param {DOMElement|DOMTextNode} root\n * @param {number} offset\n * @return {?object}\n */\nfunction getNodeForCharacterOffset(root, offset) {\n  var node = getLeafNode(root);\n  var nodeStart = 0;\n  var nodeEnd = 0;\n\n  while (node) {\n    if (node.nodeType == 3) {\n      nodeEnd = nodeStart + node.textContent.length;\n\n      if (nodeStart <= offset && nodeEnd >= offset) {\n        return {\n          node: node,\n          offset: offset - nodeStart\n        };\n      }\n\n      nodeStart = nodeEnd;\n    }\n\n    node = getLeafNode(getSiblingNode(node));\n  }\n}\n\nmodule.exports = getNodeForCharacterOffset;\n\n},{}],105:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getReactRootElementInContainer\n */\n\n\"use strict\";\n\nvar DOC_NODE_TYPE = 9;\n\n/**\n * @param {DOMElement|DOMDocument} container DOM element that may contain\n *                                           a React component\n * @return {?*} DOM element that may have the reactRoot ID, or null.\n */\nfunction getReactRootElementInContainer(container) {\n  if (!container) {\n    return null;\n  }\n\n  if (container.nodeType === DOC_NODE_TYPE) {\n    return container.documentElement;\n  } else {\n    return container.firstChild;\n  }\n}\n\nmodule.exports = getReactRootElementInContainer;\n\n},{}],106:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getTextContentAccessor\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar contentKey = null;\n\n/**\n * Gets the key used to access text content on a DOM node.\n *\n * @return {?string} Key used to access text content.\n * @internal\n */\nfunction getTextContentAccessor() {\n  if (!contentKey && ExecutionEnvironment.canUseDOM) {\n    contentKey = 'innerText' in document.createElement('div') ?\n      'innerText' :\n      'textContent';\n  }\n  return contentKey;\n}\n\nmodule.exports = getTextContentAccessor;\n\n},{\"./ExecutionEnvironment\":21}],107:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getUnboundedScrollPosition\n * @typechecks\n */\n\n\"use strict\";\n\n/**\n * Gets the scroll position of the supplied element or window.\n *\n * The return values are unbounded, unlike `getScrollPosition`. This means they\n * may be negative or exceed the element boundaries (which is possible using\n * inertial scrolling).\n *\n * @param {DOMWindow|DOMElement} scrollable\n * @return {object} Map with `x` and `y` keys.\n */\nfunction getUnboundedScrollPosition(scrollable) {\n  if (scrollable === window) {\n    return {\n      x: document.documentElement.scrollLeft || document.body.scrollLeft,\n      y: document.documentElement.scrollTop  || document.body.scrollTop\n    };\n  }\n  return {\n    x: scrollable.scrollLeft,\n    y: scrollable.scrollTop\n  };\n}\n\nmodule.exports = getUnboundedScrollPosition;\n\n},{}],108:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule hyphenate\n * @typechecks\n */\n\nvar _uppercasePattern = /([A-Z])/g;\n\n/**\n * Hyphenates a camelcased string, for example:\n *\n *   > hyphenate('backgroundColor')\n *   < \"background-color\"\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenate(string) {\n  return string.replace(_uppercasePattern, '-$1').toLowerCase();\n}\n\nmodule.exports = hyphenate;\n\n},{}],109:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule invariant\n */\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf style format and arguments to provide information about\n * what broke and what you were expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nfunction invariant(condition) {\n  if (!condition) {\n    throw new Error('Invariant Violation');\n  }\n}\n\nmodule.exports = invariant;\n\nif (\"production\" !== \"development\") {\n  var invariantDev = function(condition, format, a, b, c, d, e, f) {\n    if (format === undefined) {\n      throw new Error('invariant requires an error message argument');\n    }\n\n    if (!condition) {\n      var args = [a, b, c, d, e, f];\n      var argIndex = 0;\n      throw new Error(\n        'Invariant Violation: ' +\n        format.replace(/%s/g, function() { return args[argIndex++]; })\n      );\n    }\n  };\n\n  module.exports = invariantDev;\n}\n\n},{}],110:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule isEventSupported\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar testNode, useHasFeature;\nif (ExecutionEnvironment.canUseDOM) {\n  testNode = document.createElement('div');\n  useHasFeature =\n    document.implementation &&\n    document.implementation.hasFeature &&\n    // `hasFeature` always returns true in Firefox 19+.\n    document.implementation.hasFeature('', '') !== true;\n}\n\n/**\n * Checks if an event is supported in the current execution environment.\n *\n * NOTE: This will not work correctly for non-generic events such as `change`,\n * `reset`, `load`, `error`, and `select`.\n *\n * Borrows from Modernizr.\n *\n * @param {string} eventNameSuffix Event name, e.g. \"click\".\n * @param {?boolean} capture Check if the capture phase is supported.\n * @return {boolean} True if the event is supported.\n * @internal\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nfunction isEventSupported(eventNameSuffix, capture) {\n  if (!testNode || (capture && !testNode.addEventListener)) {\n    return false;\n  }\n  var element = document.createElement('div');\n\n  var eventName = 'on' + eventNameSuffix;\n  var isSupported = eventName in element;\n\n  if (!isSupported) {\n    element.setAttribute(eventName, 'return;');\n    isSupported = typeof element[eventName] === 'function';\n    if (typeof element[eventName] !== 'undefined') {\n      element[eventName] = undefined;\n    }\n    element.removeAttribute(eventName);\n  }\n\n  if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n    // This is the only way to test support for the `wheel` event in IE9+.\n    isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n  }\n\n  element = null;\n  return isSupported;\n}\n\nmodule.exports = isEventSupported;\n\n},{\"./ExecutionEnvironment\":21}],111:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule isNode\n * @typechecks\n */\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM node.\n */\nfunction isNode(object) {\n  return !!(object && (\n    typeof Node !== 'undefined' ? object instanceof Node :\n      typeof object === 'object' &&\n      typeof object.nodeType === 'number' &&\n      typeof object.nodeName === 'string'\n  ));\n}\n\nmodule.exports = isNode;\n\n},{}],112:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule isTextInputElement\n */\n\n\"use strict\";\n\n/**\n * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n */\nvar supportedInputTypes = {\n  'color': true,\n  'date': true,\n  'datetime': true,\n  'datetime-local': true,\n  'email': true,\n  'month': true,\n  'number': true,\n  'password': true,\n  'range': true,\n  'search': true,\n  'tel': true,\n  'text': true,\n  'time': true,\n  'url': true,\n  'week': true\n};\n\nfunction isTextInputElement(elem) {\n  return elem && (\n    (elem.nodeName === 'INPUT' && supportedInputTypes[elem.type]) ||\n    elem.nodeName === 'TEXTAREA'\n  );\n}\n\nmodule.exports = isTextInputElement;\n\n},{}],113:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule isTextNode\n * @typechecks\n */\n\nvar isNode = require(\"./isNode\");\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM text node.\n */\nfunction isTextNode(object) {\n  return isNode(object) && object.nodeType == 3;\n}\n\nmodule.exports = isTextNode;\n\n},{\"./isNode\":111}],114:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule joinClasses\n * @typechecks static-only\n */\n\n\"use strict\";\n\n/**\n * Combines multiple className strings into one.\n * http://jsperf.com/joinclasses-args-vs-array\n *\n * @param {...?string} classes\n * @return {string}\n */\nfunction joinClasses(className/*, ... */) {\n  if (!className) {\n    className = '';\n  }\n  var nextClass;\n  var argLength = arguments.length;\n  if (argLength > 1) {\n    for (var ii = 1; ii < argLength; ii++) {\n      nextClass = arguments[ii];\n      nextClass && (className += ' ' + nextClass);\n    }\n  }\n  return className;\n}\n\nmodule.exports = joinClasses;\n\n},{}],115:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule keyMirror\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Constructs an enumeration with keys equal to their value.\n *\n * For example:\n *\n *   var COLORS = keyMirror({blue: null, red: null});\n *   var myColor = COLORS.blue;\n *   var isColorValid = !!COLORS[myColor];\n *\n * The last line could not be performed if the values of the generated enum were\n * not equal to their keys.\n *\n *   Input:  {key1: val1, key2: val2}\n *   Output: {key1: key1, key2: key2}\n *\n * @param {object} obj\n * @return {object}\n */\nvar keyMirror = function(obj) {\n  var ret = {};\n  var key;\n  (\"production\" !== \"development\" ? invariant(\n    obj instanceof Object && !Array.isArray(obj),\n    'keyMirror(...): Argument must be an object.'\n  ) : invariant(obj instanceof Object && !Array.isArray(obj)));\n  for (key in obj) {\n    if (!obj.hasOwnProperty(key)) {\n      continue;\n    }\n    ret[key] = key;\n  }\n  return ret;\n};\n\nmodule.exports = keyMirror;\n\n},{\"./invariant\":109}],116:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule keyOf\n */\n\n/**\n * Allows extraction of a minified key. Let's the build system minify keys\n * without loosing the ability to dynamically use key strings as values\n * themselves. Pass in an object with a single key/val pair and it will return\n * you the string key of that single record. Suppose you want to grab the\n * value for a key 'className' inside of an object. Key/val minification may\n * have aliased that key to be 'xa12'. keyOf({className: null}) will return\n * 'xa12' in that case. Resolve keys you want to use once at startup time, then\n * reuse those resolutions.\n */\nvar keyOf = function(oneKeyObj) {\n  var key;\n  for (key in oneKeyObj) {\n    if (!oneKeyObj.hasOwnProperty(key)) {\n      continue;\n    }\n    return key;\n  }\n  return null;\n};\n\n\nmodule.exports = keyOf;\n\n},{}],117:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule memoizeStringOnly\n * @typechecks static-only\n */\n\n\"use strict\";\n\n/**\n * Memoizes the return value of a function that accepts one string argument.\n *\n * @param {function} callback\n * @return {function}\n */\nfunction memoizeStringOnly(callback) {\n  var cache = {};\n  return function(string) {\n    if (cache.hasOwnProperty(string)) {\n      return cache[string];\n    } else {\n      return cache[string] = callback.call(this, string);\n    }\n  };\n}\n\nmodule.exports = memoizeStringOnly;\n\n},{}],118:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule merge\n */\n\n\"use strict\";\n\nvar mergeInto = require(\"./mergeInto\");\n\n/**\n * Shallow merges two structures into a return value, without mutating either.\n *\n * @param {?object} one Optional object with properties to merge from.\n * @param {?object} two Optional object with properties to merge from.\n * @return {object} The shallow extension of one by two.\n */\nvar merge = function(one, two) {\n  var result = {};\n  mergeInto(result, one);\n  mergeInto(result, two);\n  return result;\n};\n\nmodule.exports = merge;\n\n},{\"./mergeInto\":120}],119:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule mergeHelpers\n *\n * requiresPolyfills: Array.isArray\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\nvar keyMirror = require(\"./keyMirror\");\n\n/**\n * Maximum number of levels to traverse. Will catch circular structures.\n * @const\n */\nvar MAX_MERGE_DEPTH = 36;\n\n/**\n * We won't worry about edge cases like new String('x') or new Boolean(true).\n * Functions are considered terminals, and arrays are not.\n * @param {*} o The item/object/value to test.\n * @return {boolean} true iff the argument is a terminal.\n */\nvar isTerminal = function(o) {\n  return typeof o !== 'object' || o === null;\n};\n\nvar mergeHelpers = {\n\n  MAX_MERGE_DEPTH: MAX_MERGE_DEPTH,\n\n  isTerminal: isTerminal,\n\n  /**\n   * Converts null/undefined values into empty object.\n   *\n   * @param {?Object=} arg Argument to be normalized (nullable optional)\n   * @return {!Object}\n   */\n  normalizeMergeArg: function(arg) {\n    return arg === undefined || arg === null ? {} : arg;\n  },\n\n  /**\n   * If merging Arrays, a merge strategy *must* be supplied. If not, it is\n   * likely the caller's fault. If this function is ever called with anything\n   * but `one` and `two` being `Array`s, it is the fault of the merge utilities.\n   *\n   * @param {*} one Array to merge into.\n   * @param {*} two Array to merge from.\n   */\n  checkMergeArrayArgs: function(one, two) {\n    (\"production\" !== \"development\" ? invariant(\n      Array.isArray(one) && Array.isArray(two),\n      'Critical assumptions about the merge functions have been violated. ' +\n      'This is the fault of the merge functions themselves, not necessarily ' +\n      'the callers.'\n    ) : invariant(Array.isArray(one) && Array.isArray(two)));\n  },\n\n  /**\n   * @param {*} one Object to merge into.\n   * @param {*} two Object to merge from.\n   */\n  checkMergeObjectArgs: function(one, two) {\n    mergeHelpers.checkMergeObjectArg(one);\n    mergeHelpers.checkMergeObjectArg(two);\n  },\n\n  /**\n   * @param {*} arg\n   */\n  checkMergeObjectArg: function(arg) {\n    (\"production\" !== \"development\" ? invariant(\n      !isTerminal(arg) && !Array.isArray(arg),\n      'Critical assumptions about the merge functions have been violated. ' +\n      'This is the fault of the merge functions themselves, not necessarily ' +\n      'the callers.'\n    ) : invariant(!isTerminal(arg) && !Array.isArray(arg)));\n  },\n\n  /**\n   * Checks that a merge was not given a circular object or an object that had\n   * too great of depth.\n   *\n   * @param {number} Level of recursion to validate against maximum.\n   */\n  checkMergeLevel: function(level) {\n    (\"production\" !== \"development\" ? invariant(\n      level < MAX_MERGE_DEPTH,\n      'Maximum deep merge depth exceeded. You may be attempting to merge ' +\n      'circular structures in an unsupported way.'\n    ) : invariant(level < MAX_MERGE_DEPTH));\n  },\n\n  /**\n   * Checks that the supplied merge strategy is valid.\n   *\n   * @param {string} Array merge strategy.\n   */\n  checkArrayStrategy: function(strategy) {\n    (\"production\" !== \"development\" ? invariant(\n      strategy === undefined || strategy in mergeHelpers.ArrayStrategies,\n      'You must provide an array strategy to deep merge functions to ' +\n      'instruct the deep merge how to resolve merging two arrays.'\n    ) : invariant(strategy === undefined || strategy in mergeHelpers.ArrayStrategies));\n  },\n\n  /**\n   * Set of possible behaviors of merge algorithms when encountering two Arrays\n   * that must be merged together.\n   * - `clobber`: The left `Array` is ignored.\n   * - `indexByIndex`: The result is achieved by recursively deep merging at\n   *   each index. (not yet supported.)\n   */\n  ArrayStrategies: keyMirror({\n    Clobber: true,\n    IndexByIndex: true\n  })\n\n};\n\nmodule.exports = mergeHelpers;\n\n},{\"./invariant\":109,\"./keyMirror\":115}],120:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule mergeInto\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar mergeHelpers = require(\"./mergeHelpers\");\n\nvar checkMergeObjectArg = mergeHelpers.checkMergeObjectArg;\n\n/**\n * Shallow merges two structures by mutating the first parameter.\n *\n * @param {object} one Object to be merged into.\n * @param {?object} two Optional object with properties to merge from.\n */\nfunction mergeInto(one, two) {\n  checkMergeObjectArg(one);\n  if (two != null) {\n    checkMergeObjectArg(two);\n    for (var key in two) {\n      if (!two.hasOwnProperty(key)) {\n        continue;\n      }\n      one[key] = two[key];\n    }\n  }\n}\n\nmodule.exports = mergeInto;\n\n},{\"./mergeHelpers\":119}],121:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule mixInto\n */\n\n\"use strict\";\n\n/**\n * Simply copies properties to the prototype.\n */\nvar mixInto = function(constructor, methodBag) {\n  var methodName;\n  for (methodName in methodBag) {\n    if (!methodBag.hasOwnProperty(methodName)) {\n      continue;\n    }\n    constructor.prototype[methodName] = methodBag[methodName];\n  }\n};\n\nmodule.exports = mixInto;\n\n},{}],122:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule mutateHTMLNodeWithMarkup\n * @typechecks static-only\n */\n\n/*jslint evil: true */\n\n'use strict';\n\nvar createNodesFromMarkup = require(\"./createNodesFromMarkup\");\nvar filterAttributes = require(\"./filterAttributes\");\nvar invariant = require(\"./invariant\");\n\n/**\n * You can't set the innerHTML of a document. Unless you have\n * this function.\n *\n * @param {DOMElement} node with tagName == 'html'\n * @param {string} markup markup string including <html>.\n */\nfunction mutateHTMLNodeWithMarkup(node, markup) {\n  (\"production\" !== \"development\" ? invariant(\n    node.tagName.toLowerCase() === 'html',\n    'mutateHTMLNodeWithMarkup(): node must have tagName of \"html\", got %s',\n    node.tagName\n  ) : invariant(node.tagName.toLowerCase() === 'html'));\n\n  markup = markup.trim();\n  (\"production\" !== \"development\" ? invariant(\n    markup.toLowerCase().indexOf('<html') === 0,\n    'mutateHTMLNodeWithMarkup(): markup must start with <html'\n  ) : invariant(markup.toLowerCase().indexOf('<html') === 0));\n\n  // First let's extract the various pieces of markup.\n  var htmlOpenTagEnd = markup.indexOf('>') + 1;\n  var htmlCloseTagStart = markup.lastIndexOf('<');\n  var htmlOpenTag = markup.substring(0, htmlOpenTagEnd);\n  var innerHTML = markup.substring(htmlOpenTagEnd, htmlCloseTagStart);\n\n  // Now for the fun stuff. Pass through both sets of attributes and\n  // bring them up-to-date. We get the new set by creating a markup\n  // fragment.\n  var shouldExtractAttributes = htmlOpenTag.indexOf(' ') > -1;\n  var attributeHolder = null;\n\n  if (shouldExtractAttributes) {\n    // We extract the attributes by creating a <span> and evaluating\n    // the node.\n    attributeHolder = createNodesFromMarkup(\n      htmlOpenTag.replace('html ', 'span ') + '</span>'\n    )[0];\n\n    // Add all attributes present in attributeHolder\n    var attributesToSet = filterAttributes(\n      attributeHolder,\n      function(attr) {\n        return node.getAttributeNS(attr.namespaceURI, attr.name) !== attr.value;\n      }\n    );\n    attributesToSet.forEach(function(attr) {\n      node.setAttributeNS(attr.namespaceURI, attr.name, attr.value);\n    });\n  }\n\n  // Remove all attributes not present in attributeHolder\n  var attributesToRemove = filterAttributes(\n    node,\n    function(attr) {\n      // Remove all attributes if attributeHolder is null or if it does not have\n      // the desired attribute.\n      return !(\n        attributeHolder &&\n          attributeHolder.hasAttributeNS(attr.namespaceURI, attr.name)\n      );\n    }\n  );\n  attributesToRemove.forEach(function(attr) {\n    node.removeAttributeNS(attr.namespaceURI, attr.name);\n  });\n\n  // Finally, set the inner HTML. No tricks needed. Do this last to\n  // minimize likelihood of triggering reflows.\n  node.innerHTML = innerHTML;\n}\n\nmodule.exports = mutateHTMLNodeWithMarkup;\n\n},{\"./createNodesFromMarkup\":90,\"./filterAttributes\":97,\"./invariant\":109}],123:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule objMap\n */\n\n\"use strict\";\n\n/**\n * For each key/value pair, invokes callback func and constructs a resulting\n * object which contains, for every key in obj, values that are the result of\n * of invoking the function:\n *\n *   func(value, key, iteration)\n *\n * @param {?object} obj Object to map keys over\n * @param {function} func Invoked for each key/val pair.\n * @param {?*} context\n * @return {?object} Result of mapping or null if obj is falsey\n */\nfunction objMap(obj, func, context) {\n  if (!obj) {\n    return null;\n  }\n  var i = 0;\n  var ret = {};\n  for (var key in obj) {\n    if (obj.hasOwnProperty(key)) {\n      ret[key] = func.call(context, obj[key], key, i++);\n    }\n  }\n  return ret;\n}\n\nmodule.exports = objMap;\n\n},{}],124:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule objMapKeyVal\n */\n\n\"use strict\";\n\n/**\n * Behaves the same as `objMap` but invokes func with the key first, and value\n * second. Use `objMap` unless you need this special case.\n * Invokes func as:\n *\n *   func(key, value, iteration)\n *\n * @param {?object} obj Object to map keys over\n * @param {!function} func Invoked for each key/val pair.\n * @param {?*} context\n * @return {?object} Result of mapping or null if obj is falsey\n */\nfunction objMapKeyVal(obj, func, context) {\n  if (!obj) {\n    return null;\n  }\n  var i = 0;\n  var ret = {};\n  for (var key in obj) {\n    if (obj.hasOwnProperty(key)) {\n      ret[key] = func.call(context, key, obj[key], i++);\n    }\n  }\n  return ret;\n}\n\nmodule.exports = objMapKeyVal;\n\n},{}],125:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule performanceNow\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\n/**\n * Detect if we can use window.performance.now() and gracefully\n * fallback to Date.now() if it doesn't exist.\n * We need to support Firefox < 15 for now due to Facebook's webdriver\n * infrastructure.\n */\nvar performance = null;\n\nif (ExecutionEnvironment.canUseDOM) {\n  performance = window.performance || window.webkitPerformance;\n}\n\nif (!performance || !performance.now) {\n  performance = Date;\n}\n\nvar performanceNow = performance.now.bind(performance);\n\nmodule.exports = performanceNow;\n\n},{\"./ExecutionEnvironment\":21}],126:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule shallowEqual\n */\n\n\"use strict\";\n\n/**\n * Performs equality by iterating through keys on an object and returning\n * false when any key has values which are not strictly equal between\n * objA and objB. Returns true when the values of all keys are strictly equal.\n *\n * @return {boolean}\n */\nfunction shallowEqual(objA, objB) {\n  if (objA === objB) {\n    return true;\n  }\n  var key;\n  // Test for A's keys different from B.\n  for (key in objA) {\n    if (objA.hasOwnProperty(key) &&\n        (!objB.hasOwnProperty(key) || objA[key] !== objB[key])) {\n      return false;\n    }\n  }\n  // Test for B'a keys missing from A.\n  for (key in objB) {\n    if (objB.hasOwnProperty(key) && !objA.hasOwnProperty(key)) {\n      return false;\n    }\n  }\n  return true;\n}\n\nmodule.exports = shallowEqual;\n\n},{}],127:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule traverseAllChildren\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactTextComponent = require(\"./ReactTextComponent\");\n\nvar invariant = require(\"./invariant\");\n\n/**\n * TODO: Test that:\n * 1. `mapChildren` transforms strings and numbers into `ReactTextComponent`.\n * 2. it('should fail when supplied duplicate key', function() {\n * 3. That a single child and an array with one item have the same key pattern.\n * });\n */\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!number} indexSoFar Number of children encountered until this point.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nvar traverseAllChildrenImpl =\n  function(children, nameSoFar, indexSoFar, callback, traverseContext) {\n    var subtreeCount = 0;  // Count of children found in the current subtree.\n    if (Array.isArray(children)) {\n      for (var i = 0; i < children.length; i++) {\n        var child = children[i];\n        var nextName = nameSoFar + ReactComponent.getKey(child, i);\n        var nextIndex = indexSoFar + subtreeCount;\n        subtreeCount += traverseAllChildrenImpl(\n          child,\n          nextName,\n          nextIndex,\n          callback,\n          traverseContext\n        );\n      }\n    } else {\n      var type = typeof children;\n      var isOnlyChild = nameSoFar === '';\n      // If it's the only child, treat the name as if it was wrapped in an array\n      // so that it's consistent if the number of children grows\n      var storageName = isOnlyChild ?\n        ReactComponent.getKey(children, 0):\n        nameSoFar;\n      if (children === null || children === undefined || type === 'boolean') {\n        // All of the above are perceived as null.\n        callback(traverseContext, null, storageName, indexSoFar);\n        subtreeCount = 1;\n      } else if (children.mountComponentIntoNode) {\n        callback(traverseContext, children, storageName, indexSoFar);\n        subtreeCount = 1;\n      } else {\n        if (type === 'object') {\n          (\"production\" !== \"development\" ? invariant(\n            !children || children.nodeType !== 1,\n            'traverseAllChildren(...): Encountered an invalid child; DOM ' +\n            'elements are not valid children of React components.'\n          ) : invariant(!children || children.nodeType !== 1));\n          for (var key in children) {\n            if (children.hasOwnProperty(key)) {\n              subtreeCount += traverseAllChildrenImpl(\n                children[key],\n                nameSoFar + '{' + key + '}',\n                indexSoFar + subtreeCount,\n                callback,\n                traverseContext\n              );\n            }\n          }\n        } else if (type === 'string') {\n          var normalizedText = new ReactTextComponent(children);\n          callback(traverseContext, normalizedText, storageName, indexSoFar);\n          subtreeCount += 1;\n        } else if (type === 'number') {\n          var normalizedNumber = new ReactTextComponent('' + children);\n          callback(traverseContext, normalizedNumber, storageName, indexSoFar);\n          subtreeCount += 1;\n        }\n      }\n    }\n    return subtreeCount;\n  };\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n  if (children !== null && children !== undefined) {\n    traverseAllChildrenImpl(children, '', 0, callback, traverseContext);\n  }\n}\n\nmodule.exports = traverseAllChildren;\n\n},{\"./ReactComponent\":28,\"./ReactTextComponent\":65,\"./invariant\":109}]},{},[71])\n(71)\n});\n;"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/build/react.js",
    "content": "/**\n * React v0.8.0\n */\n!function(e){\"object\"==typeof exports?module.exports=e():\"function\"==typeof define&&define.amd?define(e):\"undefined\"!=typeof window?window.React=e():\"undefined\"!=typeof global?global.React=e():\"undefined\"!=typeof self&&(self.React=e())}(function(){var define,module,exports;return (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);throw new Error(\"Cannot find module '\"+o+\"'\")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.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(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule $\n * @typechecks\n */\n\nvar ge = require(\"./ge\");\nvar ex = require(\"./ex\");\n\n/**\n * Find a node by ID.\n *\n * If your application code depends on the existence of the element, use $,\n * which will throw if the element doesn't exist.\n *\n * If you're not sure whether or not the element exists, use ge instead, and\n * manually check for the element's existence in your application code.\n *\n * @param {string|DOMDocument|DOMElement|DOMTextNode|Comment} id\n * @return {DOMDocument|DOMElement|DOMTextNode|Comment}\n */\nfunction $(id) {\n  var element = ge(id);\n  if (!element) {\n    throw new Error(ex(\n      'Tried to get element with id of \"%s\" but it is not present on the page.',\n      id\n    ));\n  }\n  return element;\n}\n\nmodule.exports = $;\n\n},{\"./ex\":85,\"./ge\":89}],2:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CSSProperty\n */\n\n\"use strict\";\n\n/**\n * CSS properties which accept numbers but are not in units of \"px\".\n */\nvar isUnitlessNumber = {\n  fillOpacity: true,\n  fontWeight: true,\n  lineHeight: true,\n  opacity: true,\n  orphans: true,\n  zIndex: true,\n  zoom: true\n};\n\n/**\n * Most style properties can be unset by doing .style[prop] = '' but IE8\n * doesn't like doing that with shorthand properties so for the properties that\n * IE8 breaks on, which are listed here, we instead unset each of the\n * individual properties. See http://bugs.jquery.com/ticket/12385.\n * The 4-value 'clock' properties like margin, padding, border-width seem to\n * behave without any problems. Curiously, list-style works too without any\n * special prodding.\n */\nvar shorthandPropertyExpansions = {\n  background: {\n    backgroundImage: true,\n    backgroundPosition: true,\n    backgroundRepeat: true,\n    backgroundColor: true\n  },\n  border: {\n    borderWidth: true,\n    borderStyle: true,\n    borderColor: true\n  },\n  borderBottom: {\n    borderBottomWidth: true,\n    borderBottomStyle: true,\n    borderBottomColor: true\n  },\n  borderLeft: {\n    borderLeftWidth: true,\n    borderLeftStyle: true,\n    borderLeftColor: true\n  },\n  borderRight: {\n    borderRightWidth: true,\n    borderRightStyle: true,\n    borderRightColor: true\n  },\n  borderTop: {\n    borderTopWidth: true,\n    borderTopStyle: true,\n    borderTopColor: true\n  },\n  font: {\n    fontStyle: true,\n    fontVariant: true,\n    fontWeight: true,\n    fontSize: true,\n    lineHeight: true,\n    fontFamily: true\n  }\n};\n\nvar CSSProperty = {\n  isUnitlessNumber: isUnitlessNumber,\n  shorthandPropertyExpansions: shorthandPropertyExpansions\n};\n\nmodule.exports = CSSProperty;\n\n},{}],3:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CSSPropertyOperations\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar CSSProperty = require(\"./CSSProperty\");\n\nvar dangerousStyleValue = require(\"./dangerousStyleValue\");\nvar escapeTextForBrowser = require(\"./escapeTextForBrowser\");\nvar hyphenate = require(\"./hyphenate\");\nvar memoizeStringOnly = require(\"./memoizeStringOnly\");\n\nvar processStyleName = memoizeStringOnly(function(styleName) {\n  return escapeTextForBrowser(hyphenate(styleName));\n});\n\n/**\n * Operations for dealing with CSS properties.\n */\nvar CSSPropertyOperations = {\n\n  /**\n   * Serializes a mapping of style properties for use as inline styles:\n   *\n   *   > createMarkupForStyles({width: '200px', height: 0})\n   *   \"width:200px;height:0;\"\n   *\n   * Undefined values are ignored so that declarative programming is easier.\n   *\n   * @param {object} styles\n   * @return {?string}\n   */\n  createMarkupForStyles: function(styles) {\n    var serialized = '';\n    for (var styleName in styles) {\n      if (!styles.hasOwnProperty(styleName)) {\n        continue;\n      }\n      var styleValue = styles[styleName];\n      if (styleValue != null) {\n        serialized += processStyleName(styleName) + ':';\n        serialized += dangerousStyleValue(styleName, styleValue) + ';';\n      }\n    }\n    return serialized || null;\n  },\n\n  /**\n   * Sets the value for multiple styles on a node.  If a value is specified as\n   * '' (empty string), the corresponding style property will be unset.\n   *\n   * @param {DOMElement} node\n   * @param {object} styles\n   */\n  setValueForStyles: function(node, styles) {\n    var style = node.style;\n    for (var styleName in styles) {\n      if (!styles.hasOwnProperty(styleName)) {\n        continue;\n      }\n      var styleValue = dangerousStyleValue(styleName, styles[styleName]);\n      if (styleValue) {\n        style[styleName] = styleValue;\n      } else {\n        var expansion = CSSProperty.shorthandPropertyExpansions[styleName];\n        if (expansion) {\n          // Shorthand property that IE8 won't like unsetting, so unset each\n          // component to placate it\n          for (var individualStyleName in expansion) {\n            style[individualStyleName] = '';\n          }\n        } else {\n          style[styleName] = '';\n        }\n      }\n    }\n  }\n\n};\n\nmodule.exports = CSSPropertyOperations;\n\n},{\"./CSSProperty\":2,\"./dangerousStyleValue\":82,\"./escapeTextForBrowser\":84,\"./hyphenate\":97,\"./memoizeStringOnly\":106}],4:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CallbackRegistry\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar listenerBank = {};\n\n/**\n * Stores \"listeners\" by `registrationName`/`id`. There should be at most one\n * \"listener\" per `registrationName`/`id` in the `listenerBank`.\n *\n * Access listeners via `listenerBank[registrationName][id]`.\n *\n * @class CallbackRegistry\n * @internal\n */\nvar CallbackRegistry = {\n\n  /**\n   * Stores `listener` at `listenerBank[registrationName][id]`. Is idempotent.\n   *\n   * @param {string} id ID of the DOM element.\n   * @param {string} registrationName Name of listener (e.g. `onClick`).\n   * @param {?function} listener The callback to store.\n   */\n  putListener: function(id, registrationName, listener) {\n    var bankForRegistrationName =\n      listenerBank[registrationName] || (listenerBank[registrationName] = {});\n    bankForRegistrationName[id] = listener;\n  },\n\n  /**\n   * @param {string} id ID of the DOM element.\n   * @param {string} registrationName Name of listener (e.g. `onClick`).\n   * @return {?function} The stored callback.\n   */\n  getListener: function(id, registrationName) {\n    var bankForRegistrationName = listenerBank[registrationName];\n    return bankForRegistrationName && bankForRegistrationName[id];\n  },\n\n  /**\n   * Deletes a listener from the registration bank.\n   *\n   * @param {string} id ID of the DOM element.\n   * @param {string} registrationName Name of listener (e.g. `onClick`).\n   */\n  deleteListener: function(id, registrationName) {\n    var bankForRegistrationName = listenerBank[registrationName];\n    if (bankForRegistrationName) {\n      delete bankForRegistrationName[id];\n    }\n  },\n\n  /**\n   * Deletes all listeners for the DOM element with the supplied ID.\n   *\n   * @param {string} id ID of the DOM element.\n   */\n  deleteAllListeners: function(id) {\n    for (var registrationName in listenerBank) {\n      delete listenerBank[registrationName][id];\n    }\n  },\n\n  /**\n   * This is needed for tests only. Do not use!\n   */\n  __purge: function() {\n    listenerBank = {};\n  }\n\n};\n\nmodule.exports = CallbackRegistry;\n\n},{}],5:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ChangeEventPlugin\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\nvar isEventSupported = require(\"./isEventSupported\");\nvar isTextInputElement = require(\"./isTextInputElement\");\nvar keyOf = require(\"./keyOf\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n  change: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onChange: null}),\n      captured: keyOf({onChangeCapture: null})\n    }\n  }\n};\n\n/**\n * For IE shims\n */\nvar activeElement = null;\nvar activeElementID = null;\nvar activeElementValue = null;\nvar activeElementValueProp = null;\n\n/**\n * SECTION: handle `change` event\n */\nfunction shouldUseChangeEvent(elem) {\n  return (\n    elem.nodeName === 'SELECT' ||\n    (elem.nodeName === 'INPUT' && elem.type === 'file')\n  );\n}\n\nvar doesChangeEventBubble = false;\nif (ExecutionEnvironment.canUseDOM) {\n  // See `handleChange` comment below\n  doesChangeEventBubble = isEventSupported('change') && (\n    !('documentMode' in document) || document.documentMode > 8\n  );\n}\n\nfunction manualDispatchChangeEvent(nativeEvent) {\n  var event = SyntheticEvent.getPooled(\n    eventTypes.change,\n    activeElementID,\n    nativeEvent\n  );\n  EventPropagators.accumulateTwoPhaseDispatches(event);\n\n  // If change bubbled, we'd just bind to it like all the other events\n  // and have it go through ReactEventTopLevelCallback. Since it doesn't, we\n  // manually listen for the change event and so we have to enqueue and\n  // process the abstract event manually.\n  EventPluginHub.enqueueEvents(event);\n  EventPluginHub.processEventQueue();\n}\n\nfunction startWatchingForChangeEventIE8(target, targetID) {\n  activeElement = target;\n  activeElementID = targetID;\n  activeElement.attachEvent('onchange', manualDispatchChangeEvent);\n}\n\nfunction stopWatchingForChangeEventIE8() {\n  if (!activeElement) {\n    return;\n  }\n  activeElement.detachEvent('onchange', manualDispatchChangeEvent);\n  activeElement = null;\n  activeElementID = null;\n}\n\nfunction getTargetIDForChangeEvent(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topChange) {\n    return topLevelTargetID;\n  }\n}\nfunction handleEventsForChangeEventIE8(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topFocus) {\n    // stopWatching() should be a noop here but we call it just in case we\n    // missed a blur event somehow.\n    stopWatchingForChangeEventIE8();\n    startWatchingForChangeEventIE8(topLevelTarget, topLevelTargetID);\n  } else if (topLevelType === topLevelTypes.topBlur) {\n    stopWatchingForChangeEventIE8();\n  }\n}\n\n\n/**\n * SECTION: handle `input` event\n */\nvar isInputEventSupported = false;\nif (ExecutionEnvironment.canUseDOM) {\n  // IE9 claims to support the input event but fails to trigger it when\n  // deleting text, so we ignore its input events\n  isInputEventSupported = isEventSupported('input') && (\n    !('documentMode' in document) || document.documentMode > 9\n  );\n}\n\n/**\n * (For old IE.) Replacement getter/setter for the `value` property that gets\n * set on the active element.\n */\nvar newValueProp =  {\n  get: function() {\n    return activeElementValueProp.get.call(this);\n  },\n  set: function(val) {\n    // Cast to a string so we can do equality checks.\n    activeElementValue = '' + val;\n    activeElementValueProp.set.call(this, val);\n  }\n};\n\n/**\n * (For old IE.) Starts tracking propertychange events on the passed-in element\n * and override the value property so that we can distinguish user events from\n * value changes in JS.\n */\nfunction startWatchingForValueChange(target, targetID) {\n  activeElement = target;\n  activeElementID = targetID;\n  activeElementValue = target.value;\n  activeElementValueProp = Object.getOwnPropertyDescriptor(\n    target.constructor.prototype,\n    'value'\n  );\n\n  Object.defineProperty(activeElement, 'value', newValueProp);\n  activeElement.attachEvent('onpropertychange', handlePropertyChange);\n}\n\n/**\n * (For old IE.) Removes the event listeners from the currently-tracked element,\n * if any exists.\n */\nfunction stopWatchingForValueChange() {\n  if (!activeElement) {\n    return;\n  }\n\n  // delete restores the original property definition\n  delete activeElement.value;\n  activeElement.detachEvent('onpropertychange', handlePropertyChange);\n\n  activeElement = null;\n  activeElementID = null;\n  activeElementValue = null;\n  activeElementValueProp = null;\n}\n\n/**\n * (For old IE.) Handles a propertychange event, sending a `change` event if\n * the value of the active element has changed.\n */\nfunction handlePropertyChange(nativeEvent) {\n  if (nativeEvent.propertyName !== 'value') {\n    return;\n  }\n  var value = nativeEvent.srcElement.value;\n  if (value === activeElementValue) {\n    return;\n  }\n  activeElementValue = value;\n\n  manualDispatchChangeEvent(nativeEvent);\n}\n\n/**\n * If a `change` event should be fired, returns the target's ID.\n */\nfunction getTargetIDForInputEvent(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topInput) {\n    // In modern browsers (i.e., not IE8 or IE9), the input event is exactly\n    // what we want so fall through here and trigger an abstract event\n    return topLevelTargetID;\n  }\n}\n\n// For IE8 and IE9.\nfunction handleEventsForInputEventIE(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topFocus) {\n    // In IE8, we can capture almost all .value changes by adding a\n    // propertychange handler and looking for events with propertyName\n    // equal to 'value'\n    // In IE9, propertychange fires for most input events but is buggy and\n    // doesn't fire when text is deleted, but conveniently, selectionchange\n    // appears to fire in all of the remaining cases so we catch those and\n    // forward the event if the value has changed\n    // In either case, we don't want to call the event handler if the value\n    // is changed from JS so we redefine a setter for `.value` that updates\n    // our activeElementValue variable, allowing us to ignore those changes\n    //\n    // stopWatching() should be a noop here but we call it just in case we\n    // missed a blur event somehow.\n    stopWatchingForValueChange();\n    startWatchingForValueChange(topLevelTarget, topLevelTargetID);\n  } else if (topLevelType === topLevelTypes.topBlur) {\n    stopWatchingForValueChange();\n  }\n}\n\n// For IE8 and IE9.\nfunction getTargetIDForInputEventIE(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topSelectionChange ||\n      topLevelType === topLevelTypes.topKeyUp ||\n      topLevelType === topLevelTypes.topKeyDown) {\n    // On the selectionchange event, the target is just document which isn't\n    // helpful for us so just check activeElement instead.\n    //\n    // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire\n    // propertychange on the first input event after setting `value` from a\n    // script and fires only keydown, keypress, keyup. Catching keyup usually\n    // gets it and catching keydown lets us fire an event for the first\n    // keystroke if user does a key repeat (it'll be a little delayed: right\n    // before the second keystroke). Other input methods (e.g., paste) seem to\n    // fire selectionchange normally.\n    if (activeElement && activeElement.value !== activeElementValue) {\n      activeElementValue = activeElement.value;\n      return activeElementID;\n    }\n  }\n}\n\n\n/**\n * SECTION: handle `click` event\n */\nfunction shouldUseClickEvent(elem) {\n  // Use the `click` event to detect changes to checkbox and radio inputs.\n  // This approach works across all browsers, whereas `change` does not fire\n  // until `blur` in IE8.\n  return (\n    elem.nodeName === 'INPUT' &&\n    (elem.type === 'checkbox' || elem.type === 'radio')\n  );\n}\n\nfunction getTargetIDForClickEvent(\n    topLevelType,\n    topLevelTarget,\n    topLevelTargetID) {\n  if (topLevelType === topLevelTypes.topClick) {\n    return topLevelTargetID;\n  }\n}\n\n/**\n * This plugin creates an `onChange` event that normalizes change events\n * across form elements. This event fires at a time when it's possible to\n * change the element's value without seeing a flicker.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - select\n */\nvar ChangeEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n\n    var getTargetIDFunc, handleEventFunc;\n    if (shouldUseChangeEvent(topLevelTarget)) {\n      if (doesChangeEventBubble) {\n        getTargetIDFunc = getTargetIDForChangeEvent;\n      } else {\n        handleEventFunc = handleEventsForChangeEventIE8;\n      }\n    } else if (isTextInputElement(topLevelTarget)) {\n      if (isInputEventSupported) {\n        getTargetIDFunc = getTargetIDForInputEvent;\n      } else {\n        getTargetIDFunc = getTargetIDForInputEventIE;\n        handleEventFunc = handleEventsForInputEventIE;\n      }\n    } else if (shouldUseClickEvent(topLevelTarget)) {\n      getTargetIDFunc = getTargetIDForClickEvent;\n    }\n\n    if (getTargetIDFunc) {\n      var targetID = getTargetIDFunc(\n        topLevelType,\n        topLevelTarget,\n        topLevelTargetID\n      );\n      if (targetID) {\n        var event = SyntheticEvent.getPooled(\n          eventTypes.change,\n          targetID,\n          nativeEvent\n        );\n        EventPropagators.accumulateTwoPhaseDispatches(event);\n        return event;\n      }\n    }\n\n    if (handleEventFunc) {\n      handleEventFunc(\n        topLevelType,\n        topLevelTarget,\n        topLevelTargetID\n      );\n    }\n  }\n\n};\n\nmodule.exports = ChangeEventPlugin;\n\n},{\"./EventConstants\":14,\"./EventPluginHub\":16,\"./EventPropagators\":19,\"./ExecutionEnvironment\":20,\"./SyntheticEvent\":66,\"./isEventSupported\":99,\"./isTextInputElement\":101,\"./keyOf\":105}],6:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule CompositionEventPlugin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar ReactInputSelection = require(\"./ReactInputSelection\");\nvar SyntheticCompositionEvent = require(\"./SyntheticCompositionEvent\");\n\nvar getTextContentAccessor = require(\"./getTextContentAccessor\");\nvar keyOf = require(\"./keyOf\");\n\nvar END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space\nvar START_KEYCODE = 229;\n\nvar useCompositionEvent = ExecutionEnvironment.canUseDOM &&\n  'CompositionEvent' in window;\nvar topLevelTypes = EventConstants.topLevelTypes;\nvar currentComposition = null;\n\n// Events and their corresponding property names.\nvar eventTypes = {\n  compositionEnd: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCompositionEnd: null}),\n      captured: keyOf({onCompositionEndCapture: null})\n    }\n  },\n  compositionStart: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCompositionStart: null}),\n      captured: keyOf({onCompositionStartCapture: null})\n    }\n  },\n  compositionUpdate: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCompositionUpdate: null}),\n      captured: keyOf({onCompositionUpdateCapture: null})\n    }\n  }\n};\n\n/**\n * Translate native top level events into event types.\n *\n * @param {string} topLevelType\n * @return {object}\n */\nfunction getCompositionEventType(topLevelType) {\n  switch (topLevelType) {\n    case topLevelTypes.topCompositionStart:\n      return eventTypes.compositionStart;\n    case topLevelTypes.topCompositionEnd:\n      return eventTypes.compositionEnd;\n    case topLevelTypes.topCompositionUpdate:\n      return eventTypes.compositionUpdate;\n  }\n}\n\n/**\n * Does our fallback best-guess model think this event signifies that\n * composition has begun?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackStart(topLevelType, nativeEvent) {\n  return (\n    topLevelType === topLevelTypes.topKeyDown &&\n    nativeEvent.keyCode === START_KEYCODE\n  );\n}\n\n/**\n * Does our fallback mode think that this event is the end of composition?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackEnd(topLevelType, nativeEvent) {\n  switch (topLevelType) {\n    case topLevelTypes.topKeyUp:\n      // Command keys insert or clear IME input.\n      return (END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1);\n    case topLevelTypes.topKeyDown:\n      // Expect IME keyCode on each keydown. If we get any other\n      // code we must have exited earlier.\n      return (nativeEvent.keyCode !== START_KEYCODE);\n    case topLevelTypes.topKeyPress:\n    case topLevelTypes.topMouseDown:\n    case topLevelTypes.topBlur:\n      // Events are not possible without cancelling IME.\n      return true;\n    default:\n      return false;\n  }\n}\n\n/**\n * Helper class stores information about selection and document state\n * so we can figure out what changed at a later date.\n *\n * @param {DOMEventTarget} root\n */\nfunction FallbackCompositionState(root) {\n  this.root = root;\n  this.startSelection = ReactInputSelection.getSelection(root);\n  this.startValue = this.getText();\n}\n\n/**\n * Get current text of input.\n *\n * @return {string}\n */\nFallbackCompositionState.prototype.getText = function() {\n  return this.root.value || this.root[getTextContentAccessor()];\n};\n\n/**\n * Text that has changed since the start of composition.\n *\n * @return {string}\n */\nFallbackCompositionState.prototype.getData = function() {\n  var endValue = this.getText();\n  var prefixLength = this.startSelection.start;\n  var suffixLength = this.startValue.length - this.startSelection.end;\n\n  return endValue.substr(\n    prefixLength,\n    endValue.length - suffixLength - prefixLength\n  );\n};\n\n/**\n * This plugin creates `onCompositionStart`, `onCompositionUpdate` and\n * `onCompositionEnd` events on inputs, textareas and contentEditable\n * nodes.\n */\nvar CompositionEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n\n    var eventType;\n    var data;\n\n    if (useCompositionEvent) {\n      eventType = getCompositionEventType(topLevelType);\n    } else if (!currentComposition) {\n      if (isFallbackStart(topLevelType, nativeEvent)) {\n        eventType = eventTypes.start;\n        currentComposition = new FallbackCompositionState(topLevelTarget);\n      }\n    } else if (isFallbackEnd(topLevelType, nativeEvent)) {\n      eventType = eventTypes.compositionEnd;\n      data = currentComposition.getData();\n      currentComposition = null;\n    }\n\n    if (eventType) {\n      var event = SyntheticCompositionEvent.getPooled(\n        eventType,\n        topLevelTargetID,\n        nativeEvent\n      );\n      if (data) {\n        // Inject data generated from fallback path into the synthetic event.\n        // This matches the property of native CompositionEventInterface.\n        event.data = data;\n      }\n      EventPropagators.accumulateTwoPhaseDispatches(event);\n      return event;\n    }\n  }\n};\n\nmodule.exports = CompositionEventPlugin;\n\n},{\"./EventConstants\":14,\"./EventPropagators\":19,\"./ExecutionEnvironment\":20,\"./ReactInputSelection\":47,\"./SyntheticCompositionEvent\":65,\"./getTextContentAccessor\":95,\"./keyOf\":105}],7:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DOMChildrenOperations\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar Danger = require(\"./Danger\");\nvar ReactMultiChildUpdateTypes = require(\"./ReactMultiChildUpdateTypes\");\n\nvar getTextContentAccessor = require(\"./getTextContentAccessor\");\n\n/**\n * The DOM property to use when setting text content.\n *\n * @type {string}\n * @private\n */\nvar textContentAccessor = getTextContentAccessor() || 'NA';\n\n/**\n * Inserts `childNode` as a child of `parentNode` at the `index`.\n *\n * @param {DOMElement} parentNode Parent node in which to insert.\n * @param {DOMElement} childNode Child node to insert.\n * @param {number} index Index at which to insert the child.\n * @internal\n */\nfunction insertChildAt(parentNode, childNode, index) {\n  var childNodes = parentNode.childNodes;\n  if (childNodes[index] === childNode) {\n    return;\n  }\n  // If `childNode` is already a child of `parentNode`, remove it so that\n  // computing `childNodes[index]` takes into account the removal.\n  if (childNode.parentNode === parentNode) {\n    parentNode.removeChild(childNode);\n  }\n  if (index >= childNodes.length) {\n    parentNode.appendChild(childNode);\n  } else {\n    parentNode.insertBefore(childNode, childNodes[index]);\n  }\n}\n\n/**\n * Operations for updating with DOM children.\n */\nvar DOMChildrenOperations = {\n\n  dangerouslyReplaceNodeWithMarkup: Danger.dangerouslyReplaceNodeWithMarkup,\n\n  /**\n   * Updates a component's children by processing a series of updates. The\n   * update configurations are each expected to have a `parentNode` property.\n   *\n   * @param {array<object>} updates List of update configurations.\n   * @param {array<string>} markupList List of markup strings.\n   * @internal\n   */\n  processUpdates: function(updates, markupList) {\n    var update;\n    // Mapping from parent IDs to initial child orderings.\n    var initialChildren = null;\n    // List of children that will be moved or removed.\n    var updatedChildren = null;\n\n    for (var i = 0; update = updates[i]; i++) {\n      if (update.type === ReactMultiChildUpdateTypes.MOVE_EXISTING ||\n          update.type === ReactMultiChildUpdateTypes.REMOVE_NODE) {\n        var updatedIndex = update.fromIndex;\n        var updatedChild = update.parentNode.childNodes[updatedIndex];\n        var parentID = update.parentID;\n\n        initialChildren = initialChildren || {};\n        initialChildren[parentID] = initialChildren[parentID] || [];\n        initialChildren[parentID][updatedIndex] = updatedChild;\n\n        updatedChildren = updatedChildren || [];\n        updatedChildren.push(updatedChild);\n      }\n    }\n\n    var renderedMarkup = Danger.dangerouslyRenderMarkup(markupList);\n\n    // Remove updated children first so that `toIndex` is consistent.\n    if (updatedChildren) {\n      for (var j = 0; j < updatedChildren.length; j++) {\n        updatedChildren[j].parentNode.removeChild(updatedChildren[j]);\n      }\n    }\n\n    for (var k = 0; update = updates[k]; k++) {\n      switch (update.type) {\n        case ReactMultiChildUpdateTypes.INSERT_MARKUP:\n          insertChildAt(\n            update.parentNode,\n            renderedMarkup[update.markupIndex],\n            update.toIndex\n          );\n          break;\n        case ReactMultiChildUpdateTypes.MOVE_EXISTING:\n          insertChildAt(\n            update.parentNode,\n            initialChildren[update.parentID][update.fromIndex],\n            update.toIndex\n          );\n          break;\n        case ReactMultiChildUpdateTypes.TEXT_CONTENT:\n          update.parentNode[textContentAccessor] = update.textContent;\n          break;\n        case ReactMultiChildUpdateTypes.REMOVE_NODE:\n          // Already removed by the for-loop above.\n          break;\n      }\n    }\n  }\n\n};\n\nmodule.exports = DOMChildrenOperations;\n\n},{\"./Danger\":10,\"./ReactMultiChildUpdateTypes\":53,\"./getTextContentAccessor\":95}],8:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DOMProperty\n * @typechecks static-only\n */\n\n/*jslint bitwise: true */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\nvar DOMPropertyInjection = {\n  /**\n   * Mapping from normalized, camelcased property names to a configuration that\n   * specifies how the associated DOM property should be accessed or rendered.\n   */\n  MUST_USE_ATTRIBUTE: 0x1,\n  MUST_USE_PROPERTY: 0x2,\n  HAS_SIDE_EFFECTS: 0x4,\n  HAS_BOOLEAN_VALUE: 0x8,\n  HAS_POSITIVE_NUMERIC_VALUE: 0x10,\n\n  /**\n   * Inject some specialized knowledge about the DOM. This takes a config object\n   * with the following properties:\n   *\n   * isCustomAttribute: function that given an attribute name will return true\n   * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n   * attributes where it's impossible to enumerate all of the possible\n   * attribute names,\n   *\n   * Properties: object mapping DOM property name to one of the\n   * DOMPropertyInjection constants or null. If your attribute isn't in here,\n   * it won't get written to the DOM.\n   *\n   * DOMAttributeNames: object mapping React attribute name to the DOM\n   * attribute name. Attribute names not specified use the **lowercase**\n   * normalized name.\n   *\n   * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n   * Property names not specified use the normalized name.\n   *\n   * DOMMutationMethods: Properties that require special mutation methods. If\n   * `value` is undefined, the mutation method should unset the property.\n   *\n   * @param {object} domPropertyConfig the config as described above.\n   */\n  injectDOMPropertyConfig: function(domPropertyConfig) {\n    var Properties = domPropertyConfig.Properties || {};\n    var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n    var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n    var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\n    if (domPropertyConfig.isCustomAttribute) {\n      DOMProperty._isCustomAttributeFunctions.push(\n        domPropertyConfig.isCustomAttribute\n      );\n    }\n\n    for (var propName in Properties) {\n      (\"production\" !== \"development\" ? invariant(\n        !DOMProperty.isStandardName[propName],\n        'injectDOMPropertyConfig(...): You\\'re trying to inject DOM property ' +\n        '\\'%s\\' which has already been injected. You may be accidentally ' +\n        'injecting the same DOM property config twice, or you may be ' +\n        'injecting two configs that have conflicting property names.',\n        propName\n      ) : invariant(!DOMProperty.isStandardName[propName]));\n\n      DOMProperty.isStandardName[propName] = true;\n\n      var lowerCased = propName.toLowerCase();\n      DOMProperty.getPossibleStandardName[lowerCased] = propName;\n\n      var attributeName = DOMAttributeNames[propName];\n      if (attributeName) {\n        DOMProperty.getPossibleStandardName[attributeName] = propName;\n      }\n\n      DOMProperty.getAttributeName[propName] = attributeName || lowerCased;\n\n      DOMProperty.getPropertyName[propName] =\n        DOMPropertyNames[propName] || propName;\n\n      var mutationMethod = DOMMutationMethods[propName];\n      if (mutationMethod) {\n        DOMProperty.getMutationMethod[propName] = mutationMethod;\n      }\n\n      var propConfig = Properties[propName];\n      DOMProperty.mustUseAttribute[propName] =\n        propConfig & DOMPropertyInjection.MUST_USE_ATTRIBUTE;\n      DOMProperty.mustUseProperty[propName] =\n        propConfig & DOMPropertyInjection.MUST_USE_PROPERTY;\n      DOMProperty.hasSideEffects[propName] =\n        propConfig & DOMPropertyInjection.HAS_SIDE_EFFECTS;\n      DOMProperty.hasBooleanValue[propName] =\n        propConfig & DOMPropertyInjection.HAS_BOOLEAN_VALUE;\n      DOMProperty.hasPositiveNumericValue[propName] =\n        propConfig & DOMPropertyInjection.HAS_POSITIVE_NUMERIC_VALUE;\n\n      (\"production\" !== \"development\" ? invariant(\n        !DOMProperty.mustUseAttribute[propName] ||\n          !DOMProperty.mustUseProperty[propName],\n        'DOMProperty: Cannot require using both attribute and property: %s',\n        propName\n      ) : invariant(!DOMProperty.mustUseAttribute[propName] ||\n        !DOMProperty.mustUseProperty[propName]));\n      (\"production\" !== \"development\" ? invariant(\n        DOMProperty.mustUseProperty[propName] ||\n          !DOMProperty.hasSideEffects[propName],\n        'DOMProperty: Properties that have side effects must use property: %s',\n        propName\n      ) : invariant(DOMProperty.mustUseProperty[propName] ||\n        !DOMProperty.hasSideEffects[propName]));\n      (\"production\" !== \"development\" ? invariant(\n        !DOMProperty.hasBooleanValue[propName] ||\n          !DOMProperty.hasPositiveNumericValue[propName],\n        'DOMProperty: Cannot have both boolean and positive numeric value: %s',\n        propName\n      ) : invariant(!DOMProperty.hasBooleanValue[propName] ||\n        !DOMProperty.hasPositiveNumericValue[propName]));\n    }\n  }\n};\nvar defaultValueCache = {};\n\n/**\n * DOMProperty exports lookup objects that can be used like functions:\n *\n *   > DOMProperty.isValid['id']\n *   true\n *   > DOMProperty.isValid['foobar']\n *   undefined\n *\n * Although this may be confusing, it performs better in general.\n *\n * @see http://jsperf.com/key-exists\n * @see http://jsperf.com/key-missing\n */\nvar DOMProperty = {\n\n  /**\n   * Checks whether a property name is a standard property.\n   * @type {Object}\n   */\n  isStandardName: {},\n\n  /**\n   * Mapping from lowercase property names to the properly cased version, used\n   * to warn in the case of missing properties.\n   * @type {Object}\n   */\n  getPossibleStandardName: {},\n\n  /**\n   * Mapping from normalized names to attribute names that differ. Attribute\n   * names are used when rendering markup or with `*Attribute()`.\n   * @type {Object}\n   */\n  getAttributeName: {},\n\n  /**\n   * Mapping from normalized names to properties on DOM node instances.\n   * (This includes properties that mutate due to external factors.)\n   * @type {Object}\n   */\n  getPropertyName: {},\n\n  /**\n   * Mapping from normalized names to mutation methods. This will only exist if\n   * mutation cannot be set simply by the property or `setAttribute()`.\n   * @type {Object}\n   */\n  getMutationMethod: {},\n\n  /**\n   * Whether the property must be accessed and mutated as an object property.\n   * @type {Object}\n   */\n  mustUseAttribute: {},\n\n  /**\n   * Whether the property must be accessed and mutated using `*Attribute()`.\n   * (This includes anything that fails `<propName> in <element>`.)\n   * @type {Object}\n   */\n  mustUseProperty: {},\n\n  /**\n   * Whether or not setting a value causes side effects such as triggering\n   * resources to be loaded or text selection changes. We must ensure that\n   * the value is only set if it has changed.\n   * @type {Object}\n   */\n  hasSideEffects: {},\n\n  /**\n   * Whether the property should be removed when set to a falsey value.\n   * @type {Object}\n   */\n  hasBooleanValue: {},\n\n  /**\n   * Whether the property must be positive numeric or parse as a positive\n   * numeric and should be removed when set to a falsey value.\n   * @type {Object}\n   */\n  hasPositiveNumericValue: {},\n\n  /**\n   * All of the isCustomAttribute() functions that have been injected.\n   */\n  _isCustomAttributeFunctions: [],\n\n  /**\n   * Checks whether a property name is a custom attribute.\n   * @method\n   */\n  isCustomAttribute: function(attributeName) {\n    return DOMProperty._isCustomAttributeFunctions.some(\n      function(isCustomAttributeFn) {\n        return isCustomAttributeFn.call(null, attributeName);\n      }\n    );\n  },\n\n  /**\n   * Returns the default property value for a DOM property (i.e., not an\n   * attribute). Most default values are '' or false, but not all. Worse yet,\n   * some (in particular, `type`) vary depending on the type of element.\n   *\n   * TODO: Is it better to grab all the possible properties when creating an\n   * element to avoid having to create the same element twice?\n   */\n  getDefaultValueForProperty: function(nodeName, prop) {\n    var nodeDefaults = defaultValueCache[nodeName];\n    var testElement;\n    if (!nodeDefaults) {\n      defaultValueCache[nodeName] = nodeDefaults = {};\n    }\n    if (!(prop in nodeDefaults)) {\n      testElement = document.createElement(nodeName);\n      nodeDefaults[prop] = testElement[prop];\n    }\n    return nodeDefaults[prop];\n  },\n\n  injection: DOMPropertyInjection\n};\n\nmodule.exports = DOMProperty;\n\n},{\"./invariant\":98}],9:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DOMPropertyOperations\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar DOMProperty = require(\"./DOMProperty\");\n\nvar escapeTextForBrowser = require(\"./escapeTextForBrowser\");\nvar memoizeStringOnly = require(\"./memoizeStringOnly\");\n\nfunction shouldIgnoreValue(name, value) {\n  return value == null ||\n    DOMProperty.hasBooleanValue[name] && !value ||\n    DOMProperty.hasPositiveNumericValue[name] && (isNaN(value) || value < 1);\n}\n\nvar processAttributeNameAndPrefix = memoizeStringOnly(function(name) {\n  return escapeTextForBrowser(name) + '=\"';\n});\n\nif (\"production\" !== \"development\") {\n  var reactProps = {\n    __owner__: true,\n    children: true,\n    dangerouslySetInnerHTML: true,\n    key: true,\n    ref: true\n  };\n  var warnedProperties = {};\n\n  var warnUnknownProperty = function(name) {\n    if (reactProps[name] || warnedProperties[name]) {\n      return;\n    }\n\n    warnedProperties[name] = true;\n    var lowerCasedName = name.toLowerCase();\n\n    // data-* attributes should be lowercase; suggest the lowercase version\n    var standardName = DOMProperty.isCustomAttribute(lowerCasedName) ?\n      lowerCasedName : DOMProperty.getPossibleStandardName[lowerCasedName];\n\n    // For now, only warn when we have a suggested correction. This prevents\n    // logging too much when using transferPropsTo.\n    if (standardName != null) {\n      console.warn(\n        'Unknown DOM property ' + name + '. Did you mean ' + standardName + '?'\n      );\n    }\n\n  };\n}\n\n/**\n * Operations for dealing with DOM properties.\n */\nvar DOMPropertyOperations = {\n\n  /**\n   * Creates markup for a property.\n   *\n   * @param {string} name\n   * @param {*} value\n   * @return {?string} Markup string, or null if the property was invalid.\n   */\n  createMarkupForProperty: function(name, value) {\n    if (DOMProperty.isStandardName[name]) {\n      if (shouldIgnoreValue(name, value)) {\n        return '';\n      }\n      var attributeName = DOMProperty.getAttributeName[name];\n      return processAttributeNameAndPrefix(attributeName) +\n        escapeTextForBrowser(value) + '\"';\n    } else if (DOMProperty.isCustomAttribute(name)) {\n      if (value == null) {\n        return '';\n      }\n      return processAttributeNameAndPrefix(name) +\n        escapeTextForBrowser(value) + '\"';\n    } else if (\"production\" !== \"development\") {\n      warnUnknownProperty(name);\n    }\n    return null;\n  },\n\n  /**\n   * Sets the value for a property on a node.\n   *\n   * @param {DOMElement} node\n   * @param {string} name\n   * @param {*} value\n   */\n  setValueForProperty: function(node, name, value) {\n    if (DOMProperty.isStandardName[name]) {\n      var mutationMethod = DOMProperty.getMutationMethod[name];\n      if (mutationMethod) {\n        mutationMethod(node, value);\n      } else if (shouldIgnoreValue(name, value)) {\n        this.deleteValueForProperty(node, name);\n      } else if (DOMProperty.mustUseAttribute[name]) {\n        node.setAttribute(DOMProperty.getAttributeName[name], '' + value);\n      } else {\n        var propName = DOMProperty.getPropertyName[name];\n        if (!DOMProperty.hasSideEffects[name] || node[propName] !== value) {\n          node[propName] = value;\n        }\n      }\n    } else if (DOMProperty.isCustomAttribute(name)) {\n      if (value == null) {\n        node.removeAttribute(DOMProperty.getAttributeName[name]);\n      } else {\n        node.setAttribute(name, '' + value);\n      }\n    } else if (\"production\" !== \"development\") {\n      warnUnknownProperty(name);\n    }\n  },\n\n  /**\n   * Deletes the value for a property on a node.\n   *\n   * @param {DOMElement} node\n   * @param {string} name\n   */\n  deleteValueForProperty: function(node, name) {\n    if (DOMProperty.isStandardName[name]) {\n      var mutationMethod = DOMProperty.getMutationMethod[name];\n      if (mutationMethod) {\n        mutationMethod(node, undefined);\n      } else if (DOMProperty.mustUseAttribute[name]) {\n        node.removeAttribute(DOMProperty.getAttributeName[name]);\n      } else {\n        var propName = DOMProperty.getPropertyName[name];\n        var defaultValue = DOMProperty.getDefaultValueForProperty(\n          node.nodeName,\n          name\n        );\n        if (!DOMProperty.hasSideEffects[name] ||\n            node[propName] !== defaultValue) {\n          node[propName] = defaultValue;\n        }\n      }\n    } else if (DOMProperty.isCustomAttribute(name)) {\n      node.removeAttribute(name);\n    } else if (\"production\" !== \"development\") {\n      warnUnknownProperty(name);\n    }\n  }\n\n};\n\nmodule.exports = DOMPropertyOperations;\n\n},{\"./DOMProperty\":8,\"./escapeTextForBrowser\":84,\"./memoizeStringOnly\":106}],10:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule Danger\n * @typechecks static-only\n */\n\n/*jslint evil: true, sub: true */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar createNodesFromMarkup = require(\"./createNodesFromMarkup\");\nvar emptyFunction = require(\"./emptyFunction\");\nvar getMarkupWrap = require(\"./getMarkupWrap\");\nvar invariant = require(\"./invariant\");\nvar mutateHTMLNodeWithMarkup = require(\"./mutateHTMLNodeWithMarkup\");\n\nvar OPEN_TAG_NAME_EXP = /^(<[^ \\/>]+)/;\nvar RESULT_INDEX_ATTR = 'data-danger-index';\n\n/**\n * Extracts the `nodeName` from a string of markup.\n *\n * NOTE: Extracting the `nodeName` does not require a regular expression match\n * because we make assumptions about React-generated markup (i.e. there are no\n * spaces surrounding the opening tag and there is at least one attribute).\n *\n * @param {string} markup String of markup.\n * @return {string} Node name of the supplied markup.\n * @see http://jsperf.com/extract-nodename\n */\nfunction getNodeName(markup) {\n  return markup.substring(1, markup.indexOf(' '));\n}\n\nvar Danger = {\n\n  /**\n   * Renders markup into an array of nodes. The markup is expected to render\n   * into a list of root nodes. Also, the length of `resultList` and\n   * `markupList` should be the same.\n   *\n   * @param {array<string>} markupList List of markup strings to render.\n   * @return {array<DOMElement>} List of rendered nodes.\n   * @internal\n   */\n  dangerouslyRenderMarkup: function(markupList) {\n    (\"production\" !== \"development\" ? invariant(\n      ExecutionEnvironment.canUseDOM,\n      'dangerouslyRenderMarkup(...): Cannot render markup in a Worker ' +\n      'thread. This is likely a bug in the framework. Please report ' +\n      'immediately.'\n    ) : invariant(ExecutionEnvironment.canUseDOM));\n    var nodeName;\n    var markupByNodeName = {};\n    // Group markup by `nodeName` if a wrap is necessary, else by '*'.\n    for (var i = 0; i < markupList.length; i++) {\n      (\"production\" !== \"development\" ? invariant(\n        markupList[i],\n        'dangerouslyRenderMarkup(...): Missing markup.'\n      ) : invariant(markupList[i]));\n      nodeName = getNodeName(markupList[i]);\n      nodeName = getMarkupWrap(nodeName) ? nodeName : '*';\n      markupByNodeName[nodeName] = markupByNodeName[nodeName] || [];\n      markupByNodeName[nodeName][i] = markupList[i];\n    }\n    var resultList = [];\n    var resultListAssignmentCount = 0;\n    for (nodeName in markupByNodeName) {\n      if (!markupByNodeName.hasOwnProperty(nodeName)) {\n        continue;\n      }\n      var markupListByNodeName = markupByNodeName[nodeName];\n\n      // This for-in loop skips the holes of the sparse array. The order of\n      // iteration should follow the order of assignment, which happens to match\n      // numerical index order, but we don't rely on that.\n      for (var resultIndex in markupListByNodeName) {\n        if (markupListByNodeName.hasOwnProperty(resultIndex)) {\n          var markup = markupListByNodeName[resultIndex];\n\n          // Push the requested markup with an additional RESULT_INDEX_ATTR\n          // attribute.  If the markup does not start with a < character, it\n          // will be discarded below (with an appropriate console.error).\n          markupListByNodeName[resultIndex] = markup.replace(\n            OPEN_TAG_NAME_EXP,\n            // This index will be parsed back out below.\n            '$1 ' + RESULT_INDEX_ATTR + '=\"' + resultIndex + '\" '\n          );\n        }\n      }\n\n      // Render each group of markup with similar wrapping `nodeName`.\n      var renderNodes = createNodesFromMarkup(\n        markupListByNodeName.join(''),\n        emptyFunction // Do nothing special with <script> tags.\n      );\n\n      for (i = 0; i < renderNodes.length; ++i) {\n        var renderNode = renderNodes[i];\n        if (renderNode.hasAttribute &&\n            renderNode.hasAttribute(RESULT_INDEX_ATTR)) {\n\n          resultIndex = +renderNode.getAttribute(RESULT_INDEX_ATTR);\n          renderNode.removeAttribute(RESULT_INDEX_ATTR);\n\n          (\"production\" !== \"development\" ? invariant(\n            !resultList.hasOwnProperty(resultIndex),\n            'Danger: Assigning to an already-occupied result index.'\n          ) : invariant(!resultList.hasOwnProperty(resultIndex)));\n\n          resultList[resultIndex] = renderNode;\n\n          // This should match resultList.length and markupList.length when\n          // we're done.\n          resultListAssignmentCount += 1;\n\n        } else if (\"production\" !== \"development\") {\n          console.error(\n            \"Danger: Discarding unexpected node:\",\n            renderNode\n          );\n        }\n      }\n    }\n\n    // Although resultList was populated out of order, it should now be a dense\n    // array.\n    (\"production\" !== \"development\" ? invariant(\n      resultListAssignmentCount === resultList.length,\n      'Danger: Did not assign to every index of resultList.'\n    ) : invariant(resultListAssignmentCount === resultList.length));\n\n    (\"production\" !== \"development\" ? invariant(\n      resultList.length === markupList.length,\n      'Danger: Expected markup to render %s nodes, but rendered %s.',\n      markupList.length,\n      resultList.length\n    ) : invariant(resultList.length === markupList.length));\n\n    return resultList;\n  },\n\n  /**\n   * Replaces a node with a string of markup at its current position within its\n   * parent. The markup must render into a single root node.\n   *\n   * @param {DOMElement} oldChild Child node to replace.\n   * @param {string} markup Markup to render in place of the child node.\n   * @internal\n   */\n  dangerouslyReplaceNodeWithMarkup: function(oldChild, markup) {\n    (\"production\" !== \"development\" ? invariant(\n      ExecutionEnvironment.canUseDOM,\n      'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a ' +\n      'worker thread. This is likely a bug in the framework. Please report ' +\n      'immediately.'\n    ) : invariant(ExecutionEnvironment.canUseDOM));\n    (\"production\" !== \"development\" ? invariant(markup, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : invariant(markup));\n    // createNodesFromMarkup() won't work if the markup is rooted by <html>\n    // since it has special semantic meaning. So we use an alternatie strategy.\n    if (oldChild.tagName.toLowerCase() === 'html') {\n      mutateHTMLNodeWithMarkup(oldChild, markup);\n      return;\n    }\n    var newChild = createNodesFromMarkup(markup, emptyFunction)[0];\n    oldChild.parentNode.replaceChild(newChild, oldChild);\n  }\n\n};\n\nmodule.exports = Danger;\n\n},{\"./ExecutionEnvironment\":20,\"./createNodesFromMarkup\":80,\"./emptyFunction\":83,\"./getMarkupWrap\":92,\"./invariant\":98,\"./mutateHTMLNodeWithMarkup\":111}],11:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DefaultDOMPropertyConfig\n */\n\n/*jslint bitwise: true*/\n\n\"use strict\";\n\nvar DOMProperty = require(\"./DOMProperty\");\n\nvar MUST_USE_ATTRIBUTE = DOMProperty.injection.MUST_USE_ATTRIBUTE;\nvar MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY;\nvar HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE;\nvar HAS_SIDE_EFFECTS = DOMProperty.injection.HAS_SIDE_EFFECTS;\nvar HAS_POSITIVE_NUMERIC_VALUE =\n  DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE;\n\nvar DefaultDOMPropertyConfig = {\n  isCustomAttribute: RegExp.prototype.test.bind(\n    /^(data|aria)-[a-z_][a-z\\d_.\\-]*$/\n  ),\n  Properties: {\n    /**\n     * Standard Properties\n     */\n    accept: null,\n    accessKey: null,\n    action: null,\n    allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n    allowTransparency: MUST_USE_ATTRIBUTE,\n    alt: null,\n    async: HAS_BOOLEAN_VALUE,\n    autoComplete: null,\n    autoFocus: HAS_BOOLEAN_VALUE,\n    autoPlay: HAS_BOOLEAN_VALUE,\n    cellPadding: null,\n    cellSpacing: null,\n    charSet: MUST_USE_ATTRIBUTE,\n    checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    className: MUST_USE_PROPERTY,\n    cols: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n    colSpan: null,\n    content: null,\n    contentEditable: null,\n    contextMenu: MUST_USE_ATTRIBUTE,\n    controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    data: null, // For `<object />` acts as `src`.\n    dateTime: MUST_USE_ATTRIBUTE,\n    defer: HAS_BOOLEAN_VALUE,\n    dir: null,\n    disabled: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n    draggable: null,\n    encType: null,\n    form: MUST_USE_ATTRIBUTE,\n    frameBorder: MUST_USE_ATTRIBUTE,\n    height: MUST_USE_ATTRIBUTE,\n    hidden: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,\n    href: null,\n    htmlFor: null,\n    httpEquiv: null,\n    icon: null,\n    id: MUST_USE_PROPERTY,\n    label: null,\n    lang: null,\n    list: null,\n    loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    max: null,\n    maxLength: MUST_USE_ATTRIBUTE,\n    method: null,\n    min: null,\n    multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    name: null,\n    pattern: null,\n    placeholder: null,\n    poster: null,\n    preload: null,\n    radioGroup: null,\n    readOnly: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    rel: null,\n    required: HAS_BOOLEAN_VALUE,\n    role: MUST_USE_ATTRIBUTE,\n    rows: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n    rowSpan: null,\n    scrollLeft: MUST_USE_PROPERTY,\n    scrollTop: MUST_USE_PROPERTY,\n    selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n    size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,\n    spellCheck: null,\n    src: null,\n    step: null,\n    style: null,\n    tabIndex: null,\n    target: null,\n    title: null,\n    type: null,\n    value: MUST_USE_PROPERTY | HAS_SIDE_EFFECTS,\n    width: MUST_USE_ATTRIBUTE,\n    wmode: MUST_USE_ATTRIBUTE,\n\n    /**\n     * Non-standard Properties\n     */\n    autoCapitalize: null, // Supported in Mobile Safari for keyboard hints\n    autoCorrect: null, // Supported in Mobile Safari for keyboard hints\n\n    /**\n     * SVG Properties\n     */\n    cx: MUST_USE_ATTRIBUTE,\n    cy: MUST_USE_ATTRIBUTE,\n    d: MUST_USE_ATTRIBUTE,\n    fill: MUST_USE_ATTRIBUTE,\n    fx: MUST_USE_ATTRIBUTE,\n    fy: MUST_USE_ATTRIBUTE,\n    gradientTransform: MUST_USE_ATTRIBUTE,\n    gradientUnits: MUST_USE_ATTRIBUTE,\n    offset: MUST_USE_ATTRIBUTE,\n    points: MUST_USE_ATTRIBUTE,\n    r: MUST_USE_ATTRIBUTE,\n    rx: MUST_USE_ATTRIBUTE,\n    ry: MUST_USE_ATTRIBUTE,\n    spreadMethod: MUST_USE_ATTRIBUTE,\n    stopColor: MUST_USE_ATTRIBUTE,\n    stopOpacity: MUST_USE_ATTRIBUTE,\n    stroke: MUST_USE_ATTRIBUTE,\n    strokeLinecap: MUST_USE_ATTRIBUTE,\n    strokeWidth: MUST_USE_ATTRIBUTE,\n    transform: MUST_USE_ATTRIBUTE,\n    version: MUST_USE_ATTRIBUTE,\n    viewBox: MUST_USE_ATTRIBUTE,\n    x1: MUST_USE_ATTRIBUTE,\n    x2: MUST_USE_ATTRIBUTE,\n    x: MUST_USE_ATTRIBUTE,\n    y1: MUST_USE_ATTRIBUTE,\n    y2: MUST_USE_ATTRIBUTE,\n    y: MUST_USE_ATTRIBUTE\n  },\n  DOMAttributeNames: {\n    className: 'class',\n    gradientTransform: 'gradientTransform',\n    gradientUnits: 'gradientUnits',\n    htmlFor: 'for',\n    spreadMethod: 'spreadMethod',\n    stopColor: 'stop-color',\n    stopOpacity: 'stop-opacity',\n    strokeLinecap: 'stroke-linecap',\n    strokeWidth: 'stroke-width',\n    viewBox: 'viewBox'\n  },\n  DOMPropertyNames: {\n    autoCapitalize: 'autocapitalize',\n    autoComplete: 'autocomplete',\n    autoCorrect: 'autocorrect',\n    autoFocus: 'autofocus',\n    autoPlay: 'autoplay',\n    encType: 'enctype',\n    radioGroup: 'radiogroup',\n    spellCheck: 'spellcheck'\n  },\n  DOMMutationMethods: {\n    /**\n     * Setting `className` to null may cause it to be set to the string \"null\".\n     *\n     * @param {DOMElement} node\n     * @param {*} value\n     */\n    className: function(node, value) {\n      node.className = value || '';\n    }\n  }\n};\n\nmodule.exports = DefaultDOMPropertyConfig;\n\n},{\"./DOMProperty\":8}],12:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule DefaultEventPluginOrder\n */\n\n\"use strict\";\n\n var keyOf = require(\"./keyOf\");\n\n/**\n * Module that is injectable into `EventPluginHub`, that specifies a\n * deterministic ordering of `EventPlugin`s. A convenient way to reason about\n * plugins, without having to package every one of them. This is better than\n * having plugins be ordered in the same order that they are injected because\n * that ordering would be influenced by the packaging order.\n * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that\n * preventing default on events is convenient in `SimpleEventPlugin` handlers.\n */\nvar DefaultEventPluginOrder = [\n  keyOf({ResponderEventPlugin: null}),\n  keyOf({SimpleEventPlugin: null}),\n  keyOf({TapEventPlugin: null}),\n  keyOf({EnterLeaveEventPlugin: null}),\n  keyOf({ChangeEventPlugin: null}),\n  keyOf({SelectEventPlugin: null}),\n  keyOf({CompositionEventPlugin: null}),\n  keyOf({AnalyticsEventPlugin: null}),\n  keyOf({MobileSafariClickEventPlugin: null})\n];\n\nmodule.exports = DefaultEventPluginOrder;\n\n},{\"./keyOf\":105}],13:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EnterLeaveEventPlugin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar SyntheticMouseEvent = require(\"./SyntheticMouseEvent\");\n\nvar ReactMount = require(\"./ReactMount\");\nvar keyOf = require(\"./keyOf\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\nvar getFirstReactDOM = ReactMount.getFirstReactDOM;\n\nvar eventTypes = {\n  mouseEnter: {registrationName: keyOf({onMouseEnter: null})},\n  mouseLeave: {registrationName: keyOf({onMouseLeave: null})}\n};\n\nvar extractedEvents = [null, null];\n\nvar EnterLeaveEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * For almost every interaction we care about, there will be both a top-level\n   * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that\n   * we do not extract duplicate events. However, moving the mouse into the\n   * browser from outside will not fire a `mouseout` event. In this case, we use\n   * the `mouseover` top-level event.\n   *\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    if (topLevelType === topLevelTypes.topMouseOver &&\n        (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n      return null;\n    }\n    if (topLevelType !== topLevelTypes.topMouseOut &&\n        topLevelType !== topLevelTypes.topMouseOver) {\n      // Must not be a mouse in or mouse out - ignoring.\n      return null;\n    }\n\n    var from, to;\n    if (topLevelType === topLevelTypes.topMouseOut) {\n      from = topLevelTarget;\n      to =\n        getFirstReactDOM(nativeEvent.relatedTarget || nativeEvent.toElement) ||\n        window;\n    } else {\n      from = window;\n      to = topLevelTarget;\n    }\n\n    if (from === to) {\n      // Nothing pertains to our managed components.\n      return null;\n    }\n\n    var fromID = from ? ReactMount.getID(from) : '';\n    var toID = to ? ReactMount.getID(to) : '';\n\n    var leave = SyntheticMouseEvent.getPooled(\n      eventTypes.mouseLeave,\n      fromID,\n      nativeEvent\n    );\n    var enter = SyntheticMouseEvent.getPooled(\n      eventTypes.mouseEnter,\n      toID,\n      nativeEvent\n    );\n\n    EventPropagators.accumulateEnterLeaveDispatches(leave, enter, fromID, toID);\n\n    extractedEvents[0] = leave;\n    extractedEvents[1] = enter;\n\n    return extractedEvents;\n  }\n\n};\n\nmodule.exports = EnterLeaveEventPlugin;\n\n},{\"./EventConstants\":14,\"./EventPropagators\":19,\"./ReactMount\":50,\"./SyntheticMouseEvent\":69,\"./keyOf\":105}],14:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventConstants\n */\n\n\"use strict\";\n\nvar keyMirror = require(\"./keyMirror\");\n\nvar PropagationPhases = keyMirror({bubbled: null, captured: null});\n\n/**\n * Types of raw signals from the browser caught at the top level.\n */\nvar topLevelTypes = keyMirror({\n  topBlur: null,\n  topChange: null,\n  topClick: null,\n  topCompositionEnd: null,\n  topCompositionStart: null,\n  topCompositionUpdate: null,\n  topContextMenu: null,\n  topCopy: null,\n  topCut: null,\n  topDoubleClick: null,\n  topDrag: null,\n  topDragEnd: null,\n  topDragEnter: null,\n  topDragExit: null,\n  topDragLeave: null,\n  topDragOver: null,\n  topDragStart: null,\n  topDrop: null,\n  topFocus: null,\n  topInput: null,\n  topKeyDown: null,\n  topKeyPress: null,\n  topKeyUp: null,\n  topMouseDown: null,\n  topMouseMove: null,\n  topMouseOut: null,\n  topMouseOver: null,\n  topMouseUp: null,\n  topPaste: null,\n  topScroll: null,\n  topSelectionChange: null,\n  topSubmit: null,\n  topTouchCancel: null,\n  topTouchEnd: null,\n  topTouchMove: null,\n  topTouchStart: null,\n  topWheel: null\n});\n\nvar EventConstants = {\n  topLevelTypes: topLevelTypes,\n  PropagationPhases: PropagationPhases\n};\n\nmodule.exports = EventConstants;\n\n},{\"./keyMirror\":104}],15:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventListener\n */\n\n/**\n * Upstream version of event listener. Does not take into account specific\n * nature of platform.\n */\nvar EventListener = {\n  /**\n   * Listens to bubbled events on a DOM node.\n   *\n   * @param {Element} el DOM element to register listener on.\n   * @param {string} handlerBaseName 'click'/'mouseover'\n   * @param {Function!} cb Callback function\n   */\n  listen: function(el, handlerBaseName, cb) {\n    if (el.addEventListener) {\n      el.addEventListener(handlerBaseName, cb, false);\n    } else if (el.attachEvent) {\n      el.attachEvent('on' + handlerBaseName, cb);\n    }\n  },\n\n  /**\n   * Listens to captured events on a DOM node.\n   *\n   * @see `EventListener.listen` for params.\n   * @throws Exception if addEventListener is not supported.\n   */\n  capture: function(el, handlerBaseName, cb) {\n    if (!el.addEventListener) {\n      if (\"production\" !== \"development\") {\n        console.error(\n          'You are attempting to use addEventListener ' +\n          'in a browser that does not support it.' +\n          'This likely means that you will not receive events that ' +\n          'your application relies on (such as scroll).');\n      }\n      return;\n    } else {\n      el.addEventListener(handlerBaseName, cb, true);\n    }\n  }\n};\n\nmodule.exports = EventListener;\n\n},{}],16:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventPluginHub\n */\n\n\"use strict\";\n\nvar CallbackRegistry = require(\"./CallbackRegistry\");\nvar EventPluginRegistry = require(\"./EventPluginRegistry\");\nvar EventPluginUtils = require(\"./EventPluginUtils\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar accumulate = require(\"./accumulate\");\nvar forEachAccumulated = require(\"./forEachAccumulated\");\nvar invariant = require(\"./invariant\");\n\n/**\n * Internal queue of events that have accumulated their dispatches and are\n * waiting to have their dispatches executed.\n */\nvar eventQueue = null;\n\n/**\n * Dispatches an event and releases it back into the pool, unless persistent.\n *\n * @param {?object} event Synthetic event to be dispatched.\n * @private\n */\nvar executeDispatchesAndRelease = function(event) {\n  if (event) {\n    var executeDispatch = EventPluginUtils.executeDispatch;\n    // Plugins can provide custom behavior when dispatching events.\n    var PluginModule = EventPluginRegistry.getPluginModuleForEvent(event);\n    if (PluginModule && PluginModule.executeDispatch) {\n      executeDispatch = PluginModule.executeDispatch;\n    }\n    EventPluginUtils.executeDispatchesInOrder(event, executeDispatch);\n\n    if (!event.isPersistent()) {\n      event.constructor.release(event);\n    }\n  }\n};\n\n/**\n * This is a unified interface for event plugins to be installed and configured.\n *\n * Event plugins can implement the following properties:\n *\n *   `extractEvents` {function(string, DOMEventTarget, string, object): *}\n *     Required. When a top-level event is fired, this method is expected to\n *     extract synthetic events that will in turn be queued and dispatched.\n *\n *   `eventTypes` {object}\n *     Optional, plugins that fire events must publish a mapping of registration\n *     names that are used to register listeners. Values of this mapping must\n *     be objects that contain `registrationName` or `phasedRegistrationNames`.\n *\n *   `executeDispatch` {function(object, function, string)}\n *     Optional, allows plugins to override how an event gets dispatched. By\n *     default, the listener is simply invoked.\n *\n * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n *\n * @public\n */\nvar EventPluginHub = {\n\n  /**\n   * Methods for injecting dependencies.\n   */\n  injection: {\n\n    /**\n     * @param {object} InjectedInstanceHandle\n     * @public\n     */\n    injectInstanceHandle: EventPropagators.injection.injectInstanceHandle,\n\n    /**\n     * @param {array} InjectedEventPluginOrder\n     * @public\n     */\n    injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\n    /**\n     * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n     */\n    injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n\n  },\n\n  registrationNames: EventPluginRegistry.registrationNames,\n\n  putListener: CallbackRegistry.putListener,\n\n  getListener: CallbackRegistry.getListener,\n\n  deleteListener: CallbackRegistry.deleteListener,\n\n  deleteAllListeners: CallbackRegistry.deleteAllListeners,\n\n  /**\n   * Allows registered plugins an opportunity to extract events from top-level\n   * native browser events.\n   *\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @internal\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    var events;\n    var plugins = EventPluginRegistry.plugins;\n    for (var i = 0, l = plugins.length; i < l; i++) {\n      // Not every plugin in the ordering may be loaded at runtime.\n      var possiblePlugin = plugins[i];\n      if (possiblePlugin) {\n        var extractedEvents = possiblePlugin.extractEvents(\n          topLevelType,\n          topLevelTarget,\n          topLevelTargetID,\n          nativeEvent\n        );\n        if (extractedEvents) {\n          events = accumulate(events, extractedEvents);\n        }\n      }\n    }\n    return events;\n  },\n\n  /**\n   * Enqueues a synthetic event that should be dispatched when\n   * `processEventQueue` is invoked.\n   *\n   * @param {*} events An accumulation of synthetic events.\n   * @internal\n   */\n  enqueueEvents: function(events) {\n    if (events) {\n      eventQueue = accumulate(eventQueue, events);\n    }\n  },\n\n  /**\n   * Dispatches all synthetic events on the event queue.\n   *\n   * @internal\n   */\n  processEventQueue: function() {\n    // Set `eventQueue` to null before processing it so that we can tell if more\n    // events get enqueued while processing.\n    var processingEventQueue = eventQueue;\n    eventQueue = null;\n    forEachAccumulated(processingEventQueue, executeDispatchesAndRelease);\n    (\"production\" !== \"development\" ? invariant(\n      !eventQueue,\n      'processEventQueue(): Additional events were enqueued while processing ' +\n      'an event queue. Support for this has not yet been implemented.'\n    ) : invariant(!eventQueue));\n  }\n\n};\n\nif (ExecutionEnvironment.canUseDOM) {\n  window.EventPluginHub = EventPluginHub;\n}\n\nmodule.exports = EventPluginHub;\n\n},{\"./CallbackRegistry\":4,\"./EventPluginRegistry\":17,\"./EventPluginUtils\":18,\"./EventPropagators\":19,\"./ExecutionEnvironment\":20,\"./accumulate\":75,\"./forEachAccumulated\":88,\"./invariant\":98}],17:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventPluginRegistry\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Injectable ordering of event plugins.\n */\nvar EventPluginOrder = null;\n\n/**\n * Injectable mapping from names to event plugin modules.\n */\nvar namesToPlugins = {};\n\n/**\n * Recomputes the plugin list using the injected plugins and plugin ordering.\n *\n * @private\n */\nfunction recomputePluginOrdering() {\n  if (!EventPluginOrder) {\n    // Wait until an `EventPluginOrder` is injected.\n    return;\n  }\n  for (var pluginName in namesToPlugins) {\n    var PluginModule = namesToPlugins[pluginName];\n    var pluginIndex = EventPluginOrder.indexOf(pluginName);\n    (\"production\" !== \"development\" ? invariant(\n      pluginIndex > -1,\n      'EventPluginRegistry: Cannot inject event plugins that do not exist in ' +\n      'the plugin ordering, `%s`.',\n      pluginName\n    ) : invariant(pluginIndex > -1));\n    if (EventPluginRegistry.plugins[pluginIndex]) {\n      continue;\n    }\n    (\"production\" !== \"development\" ? invariant(\n      PluginModule.extractEvents,\n      'EventPluginRegistry: Event plugins must implement an `extractEvents` ' +\n      'method, but `%s` does not.',\n      pluginName\n    ) : invariant(PluginModule.extractEvents));\n    EventPluginRegistry.plugins[pluginIndex] = PluginModule;\n    var publishedEvents = PluginModule.eventTypes;\n    for (var eventName in publishedEvents) {\n      (\"production\" !== \"development\" ? invariant(\n        publishEventForPlugin(publishedEvents[eventName], PluginModule),\n        'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.',\n        eventName,\n        pluginName\n      ) : invariant(publishEventForPlugin(publishedEvents[eventName], PluginModule)));\n    }\n  }\n}\n\n/**\n * Publishes an event so that it can be dispatched by the supplied plugin.\n *\n * @param {object} dispatchConfig Dispatch configuration for the event.\n * @param {object} PluginModule Plugin publishing the event.\n * @return {boolean} True if the event was successfully published.\n * @private\n */\nfunction publishEventForPlugin(dispatchConfig, PluginModule) {\n  var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n  if (phasedRegistrationNames) {\n    for (var phaseName in phasedRegistrationNames) {\n      if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n        var phasedRegistrationName = phasedRegistrationNames[phaseName];\n        publishRegistrationName(phasedRegistrationName, PluginModule);\n      }\n    }\n    return true;\n  } else if (dispatchConfig.registrationName) {\n    publishRegistrationName(dispatchConfig.registrationName, PluginModule);\n    return true;\n  }\n  return false;\n}\n\n/**\n * Publishes a registration name that is used to identify dispatched events and\n * can be used with `EventPluginHub.putListener` to register listeners.\n *\n * @param {string} registrationName Registration name to add.\n * @param {object} PluginModule Plugin publishing the event.\n * @private\n */\nfunction publishRegistrationName(registrationName, PluginModule) {\n  (\"production\" !== \"development\" ? invariant(\n    !EventPluginRegistry.registrationNames[registrationName],\n    'EventPluginHub: More than one plugin attempted to publish the same ' +\n    'registration name, `%s`.',\n    registrationName\n  ) : invariant(!EventPluginRegistry.registrationNames[registrationName]));\n  EventPluginRegistry.registrationNames[registrationName] = PluginModule;\n}\n\n/**\n * Registers plugins so that they can extract and dispatch events.\n *\n * @see {EventPluginHub}\n */\nvar EventPluginRegistry = {\n\n  /**\n   * Ordered list of injected plugins.\n   */\n  plugins: [],\n\n  /**\n   * Mapping from registration names to plugin modules.\n   */\n  registrationNames: {},\n\n  /**\n   * Injects an ordering of plugins (by plugin name). This allows the ordering\n   * to be decoupled from injection of the actual plugins so that ordering is\n   * always deterministic regardless of packaging, on-the-fly injection, etc.\n   *\n   * @param {array} InjectedEventPluginOrder\n   * @internal\n   * @see {EventPluginHub.injection.injectEventPluginOrder}\n   */\n  injectEventPluginOrder: function(InjectedEventPluginOrder) {\n    (\"production\" !== \"development\" ? invariant(\n      !EventPluginOrder,\n      'EventPluginRegistry: Cannot inject event plugin ordering more than once.'\n    ) : invariant(!EventPluginOrder));\n    // Clone the ordering so it cannot be dynamically mutated.\n    EventPluginOrder = Array.prototype.slice.call(InjectedEventPluginOrder);\n    recomputePluginOrdering();\n  },\n\n  /**\n   * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n   * in the ordering injected by `injectEventPluginOrder`.\n   *\n   * Plugins can be injected as part of page initialization or on-the-fly.\n   *\n   * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n   * @internal\n   * @see {EventPluginHub.injection.injectEventPluginsByName}\n   */\n  injectEventPluginsByName: function(injectedNamesToPlugins) {\n    var isOrderingDirty = false;\n    for (var pluginName in injectedNamesToPlugins) {\n      if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n        continue;\n      }\n      var PluginModule = injectedNamesToPlugins[pluginName];\n      if (namesToPlugins[pluginName] !== PluginModule) {\n        (\"production\" !== \"development\" ? invariant(\n          !namesToPlugins[pluginName],\n          'EventPluginRegistry: Cannot inject two different event plugins ' +\n          'using the same name, `%s`.',\n          pluginName\n        ) : invariant(!namesToPlugins[pluginName]));\n        namesToPlugins[pluginName] = PluginModule;\n        isOrderingDirty = true;\n      }\n    }\n    if (isOrderingDirty) {\n      recomputePluginOrdering();\n    }\n  },\n\n  /**\n   * Looks up the plugin for the supplied event.\n   *\n   * @param {object} event A synthetic event.\n   * @return {?object} The plugin that created the supplied event.\n   * @internal\n   */\n  getPluginModuleForEvent: function(event) {\n    var dispatchConfig = event.dispatchConfig;\n    if (dispatchConfig.registrationName) {\n      return EventPluginRegistry.registrationNames[\n        dispatchConfig.registrationName\n      ] || null;\n    }\n    for (var phase in dispatchConfig.phasedRegistrationNames) {\n      if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) {\n        continue;\n      }\n      var PluginModule = EventPluginRegistry.registrationNames[\n        dispatchConfig.phasedRegistrationNames[phase]\n      ];\n      if (PluginModule) {\n        return PluginModule;\n      }\n    }\n    return null;\n  },\n\n  /**\n   * Exposed for unit testing.\n   * @private\n   */\n  _resetEventPlugins: function() {\n    EventPluginOrder = null;\n    for (var pluginName in namesToPlugins) {\n      if (namesToPlugins.hasOwnProperty(pluginName)) {\n        delete namesToPlugins[pluginName];\n      }\n    }\n    EventPluginRegistry.plugins.length = 0;\n    var registrationNames = EventPluginRegistry.registrationNames;\n    for (var registrationName in registrationNames) {\n      if (registrationNames.hasOwnProperty(registrationName)) {\n        delete registrationNames[registrationName];\n      }\n    }\n  }\n\n};\n\nmodule.exports = EventPluginRegistry;\n\n},{\"./invariant\":98}],18:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventPluginUtils\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\n\nvar invariant = require(\"./invariant\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nfunction isEndish(topLevelType) {\n  return topLevelType === topLevelTypes.topMouseUp ||\n         topLevelType === topLevelTypes.topTouchEnd ||\n         topLevelType === topLevelTypes.topTouchCancel;\n}\n\nfunction isMoveish(topLevelType) {\n  return topLevelType === topLevelTypes.topMouseMove ||\n         topLevelType === topLevelTypes.topTouchMove;\n}\nfunction isStartish(topLevelType) {\n  return topLevelType === topLevelTypes.topMouseDown ||\n         topLevelType === topLevelTypes.topTouchStart;\n}\n\nvar validateEventDispatches;\nif (\"production\" !== \"development\") {\n  validateEventDispatches = function(event) {\n    var dispatchListeners = event._dispatchListeners;\n    var dispatchIDs = event._dispatchIDs;\n\n    var listenersIsArr = Array.isArray(dispatchListeners);\n    var idsIsArr = Array.isArray(dispatchIDs);\n    var IDsLen = idsIsArr ? dispatchIDs.length : dispatchIDs ? 1 : 0;\n    var listenersLen = listenersIsArr ?\n      dispatchListeners.length :\n      dispatchListeners ? 1 : 0;\n\n    (\"production\" !== \"development\" ? invariant(\n      idsIsArr === listenersIsArr && IDsLen === listenersLen,\n      'EventPluginUtils: Invalid `event`.'\n    ) : invariant(idsIsArr === listenersIsArr && IDsLen === listenersLen));\n  };\n}\n\n/**\n * Invokes `cb(event, listener, id)`. Avoids using call if no scope is\n * provided. The `(listener,id)` pair effectively forms the \"dispatch\" but are\n * kept separate to conserve memory.\n */\nfunction forEachEventDispatch(event, cb) {\n  var dispatchListeners = event._dispatchListeners;\n  var dispatchIDs = event._dispatchIDs;\n  if (\"production\" !== \"development\") {\n    validateEventDispatches(event);\n  }\n  if (Array.isArray(dispatchListeners)) {\n    for (var i = 0; i < dispatchListeners.length; i++) {\n      if (event.isPropagationStopped()) {\n        break;\n      }\n      // Listeners and IDs are two parallel arrays that are always in sync.\n      cb(event, dispatchListeners[i], dispatchIDs[i]);\n    }\n  } else if (dispatchListeners) {\n    cb(event, dispatchListeners, dispatchIDs);\n  }\n}\n\n/**\n * Default implementation of PluginModule.executeDispatch().\n * @param {SyntheticEvent} SyntheticEvent to handle\n * @param {function} Application-level callback\n * @param {string} domID DOM id to pass to the callback.\n */\nfunction executeDispatch(event, listener, domID) {\n  listener(event, domID);\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches.\n */\nfunction executeDispatchesInOrder(event, executeDispatch) {\n  forEachEventDispatch(event, executeDispatch);\n  event._dispatchListeners = null;\n  event._dispatchIDs = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches, but stops\n * at the first dispatch execution returning true, and returns that id.\n *\n * @return id of the first dispatch execution who's listener returns true, or\n * null if no listener returned true.\n */\nfunction executeDispatchesInOrderStopAtTrue(event) {\n  var dispatchListeners = event._dispatchListeners;\n  var dispatchIDs = event._dispatchIDs;\n  if (\"production\" !== \"development\") {\n    validateEventDispatches(event);\n  }\n  if (Array.isArray(dispatchListeners)) {\n    for (var i = 0; i < dispatchListeners.length; i++) {\n      if (event.isPropagationStopped()) {\n        break;\n      }\n      // Listeners and IDs are two parallel arrays that are always in sync.\n      if (dispatchListeners[i](event, dispatchIDs[i])) {\n        return dispatchIDs[i];\n      }\n    }\n  } else if (dispatchListeners) {\n    if (dispatchListeners(event, dispatchIDs)) {\n      return dispatchIDs;\n    }\n  }\n  return null;\n}\n\n/**\n * Execution of a \"direct\" dispatch - there must be at most one dispatch\n * accumulated on the event or it is considered an error. It doesn't really make\n * sense for an event with multiple dispatches (bubbled) to keep track of the\n * return values at each dispatch execution, but it does tend to make sense when\n * dealing with \"direct\" dispatches.\n *\n * @return The return value of executing the single dispatch.\n */\nfunction executeDirectDispatch(event) {\n  if (\"production\" !== \"development\") {\n    validateEventDispatches(event);\n  }\n  var dispatchListener = event._dispatchListeners;\n  var dispatchID = event._dispatchIDs;\n  (\"production\" !== \"development\" ? invariant(\n    !Array.isArray(dispatchListener),\n    'executeDirectDispatch(...): Invalid `event`.'\n  ) : invariant(!Array.isArray(dispatchListener)));\n  var res = dispatchListener ?\n    dispatchListener(event, dispatchID) :\n    null;\n  event._dispatchListeners = null;\n  event._dispatchIDs = null;\n  return res;\n}\n\n/**\n * @param {SyntheticEvent} event\n * @return {bool} True iff number of dispatches accumulated is greater than 0.\n */\nfunction hasDispatches(event) {\n  return !!event._dispatchListeners;\n}\n\n/**\n * General utilities that are useful in creating custom Event Plugins.\n */\nvar EventPluginUtils = {\n  isEndish: isEndish,\n  isMoveish: isMoveish,\n  isStartish: isStartish,\n  executeDispatchesInOrder: executeDispatchesInOrder,\n  executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n  executeDirectDispatch: executeDirectDispatch,\n  hasDispatches: hasDispatches,\n  executeDispatch: executeDispatch\n};\n\nmodule.exports = EventPluginUtils;\n\n},{\"./EventConstants\":14,\"./invariant\":98}],19:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule EventPropagators\n */\n\n\"use strict\";\n\nvar CallbackRegistry = require(\"./CallbackRegistry\");\nvar EventConstants = require(\"./EventConstants\");\n\nvar accumulate = require(\"./accumulate\");\nvar forEachAccumulated = require(\"./forEachAccumulated\");\nvar getListener = CallbackRegistry.getListener;\nvar PropagationPhases = EventConstants.PropagationPhases;\n\n/**\n * Injected dependencies:\n */\n\n/**\n * - `InstanceHandle`: [required] Module that performs logical traversals of DOM\n *   hierarchy given ids of the logical DOM elements involved.\n */\nvar injection = {\n  InstanceHandle: null,\n  injectInstanceHandle: function(InjectedInstanceHandle) {\n    injection.InstanceHandle = InjectedInstanceHandle;\n    if (\"production\" !== \"development\") {\n      injection.validate();\n    }\n  },\n  validate: function() {\n    var invalid = !injection.InstanceHandle||\n      !injection.InstanceHandle.traverseTwoPhase ||\n      !injection.InstanceHandle.traverseEnterLeave;\n    if (invalid) {\n      throw new Error('InstanceHandle not injected before use!');\n    }\n  }\n};\n\n/**\n * Some event types have a notion of different registration names for different\n * \"phases\" of propagation. This finds listeners by a given phase.\n */\nfunction listenerAtPhase(id, event, propagationPhase) {\n  var registrationName =\n    event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n  return getListener(id, registrationName);\n}\n\n/**\n * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n * here, allows us to not have to bind or create functions for each event.\n * Mutating the event's members allows us to not have to create a wrapping\n * \"dispatch\" object that pairs the event with the listener.\n */\nfunction accumulateDirectionalDispatches(domID, upwards, event) {\n  if (\"production\" !== \"development\") {\n    if (!domID) {\n      throw new Error('Dispatching id must not be null');\n    }\n    injection.validate();\n  }\n  var phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured;\n  var listener = listenerAtPhase(domID, event, phase);\n  if (listener) {\n    event._dispatchListeners = accumulate(event._dispatchListeners, listener);\n    event._dispatchIDs = accumulate(event._dispatchIDs, domID);\n  }\n}\n\n/**\n * Collect dispatches (must be entirely collected before dispatching - see unit\n * tests). Lazily allocate the array to conserve memory.  We must loop through\n * each event and perform the traversal for each one. We can not perform a\n * single traversal for the entire collection of events because each event may\n * have a different target.\n */\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n  if (event && event.dispatchConfig.phasedRegistrationNames) {\n    injection.InstanceHandle.traverseTwoPhase(\n      event.dispatchMarker,\n      accumulateDirectionalDispatches,\n      event\n    );\n  }\n}\n\n\n/**\n * Accumulates without regard to direction, does not look for phased\n * registration names. Same as `accumulateDirectDispatchesSingle` but without\n * requiring that the `dispatchMarker` be the same as the dispatched ID.\n */\nfunction accumulateDispatches(id, ignoredDirection, event) {\n  if (event && event.dispatchConfig.registrationName) {\n    var registrationName = event.dispatchConfig.registrationName;\n    var listener = getListener(id, registrationName);\n    if (listener) {\n      event._dispatchListeners = accumulate(event._dispatchListeners, listener);\n      event._dispatchIDs = accumulate(event._dispatchIDs, id);\n    }\n  }\n}\n\n/**\n * Accumulates dispatches on an `SyntheticEvent`, but only for the\n * `dispatchMarker`.\n * @param {SyntheticEvent} event\n */\nfunction accumulateDirectDispatchesSingle(event) {\n  if (event && event.dispatchConfig.registrationName) {\n    accumulateDispatches(event.dispatchMarker, null, event);\n  }\n}\n\nfunction accumulateTwoPhaseDispatches(events) {\n  if (\"production\" !== \"development\") {\n    injection.validate();\n  }\n  forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n}\n\nfunction accumulateEnterLeaveDispatches(leave, enter, fromID, toID) {\n  if (\"production\" !== \"development\") {\n    injection.validate();\n  }\n  injection.InstanceHandle.traverseEnterLeave(\n    fromID,\n    toID,\n    accumulateDispatches,\n    leave,\n    enter\n  );\n}\n\n\nfunction accumulateDirectDispatches(events) {\n  if (\"production\" !== \"development\") {\n    injection.validate();\n  }\n  forEachAccumulated(events, accumulateDirectDispatchesSingle);\n}\n\n\n\n/**\n * A small set of propagation patterns, each of which will accept a small amount\n * of information, and generate a set of \"dispatch ready event objects\" - which\n * are sets of events that have already been annotated with a set of dispatched\n * listener functions/ids. The API is designed this way to discourage these\n * propagation strategies from actually executing the dispatches, since we\n * always want to collect the entire set of dispatches before executing event a\n * single one.\n *\n * @constructor EventPropagators\n */\nvar EventPropagators = {\n  accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n  accumulateDirectDispatches: accumulateDirectDispatches,\n  accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches,\n  injection: injection\n};\n\nmodule.exports = EventPropagators;\n\n},{\"./CallbackRegistry\":4,\"./EventConstants\":14,\"./accumulate\":75,\"./forEachAccumulated\":88}],20:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ExecutionEnvironment\n */\n\n/*jslint evil: true */\n\n\"use strict\";\n\nvar canUseDOM = typeof window !== 'undefined';\n\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\nvar ExecutionEnvironment = {\n\n  canUseDOM: canUseDOM,\n\n  canUseWorkers: typeof Worker !== 'undefined',\n\n  isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\n\nmodule.exports = ExecutionEnvironment;\n\n},{}],21:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule LinkedValueMixin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Provide a linked `value` attribute for controlled forms. You should not use\n * this outside of the ReactDOM controlled form components.\n */\nvar LinkedValueMixin = {\n  _assertLink: function() {\n    (\"production\" !== \"development\" ? invariant(\n      this.props.value == null && this.props.onChange == null,\n      'Cannot provide a valueLink and a value or onChange event. If you ' +\n        'want to use value or onChange, you probably don\\'t want to use ' +\n        'valueLink'\n    ) : invariant(this.props.value == null && this.props.onChange == null));\n  },\n\n  /**\n   * @return {*} current value of the input either from value prop or link.\n   */\n  getValue: function() {\n    if (this.props.valueLink) {\n      this._assertLink();\n      return this.props.valueLink.value;\n    }\n    return this.props.value;\n  },\n\n  /**\n   * @return {function} change callback either from onChange prop or link.\n   */\n  getOnChange: function() {\n    if (this.props.valueLink) {\n      this._assertLink();\n      return this._handleLinkedValueChange;\n    }\n    return this.props.onChange;\n  },\n\n  /**\n   * @param {SyntheticEvent} e change event to handle\n   */\n  _handleLinkedValueChange: function(e) {\n    this.props.valueLink.requestChange(e.target.value);\n  }\n};\n\nmodule.exports = LinkedValueMixin;\n\n},{\"./invariant\":98}],22:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule MobileSafariClickEventPlugin\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\n\nvar emptyFunction = require(\"./emptyFunction\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\n/**\n * Mobile Safari does not fire properly bubble click events on non-interactive\n * elements, which means delegated click listeners do not fire. The workaround\n * for this bug involves attaching an empty click listener on the target node.\n *\n * This particular plugin works around the bug by attaching an empty click\n * listener on `touchstart` (which does fire on every element).\n */\nvar MobileSafariClickEventPlugin = {\n\n  eventTypes: null,\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    if (topLevelType === topLevelTypes.topTouchStart) {\n      var target = nativeEvent.target;\n      if (target && !target.onclick) {\n        target.onclick = emptyFunction;\n      }\n    }\n  }\n\n};\n\nmodule.exports = MobileSafariClickEventPlugin;\n\n},{\"./EventConstants\":14,\"./emptyFunction\":83}],23:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule PooledClass\n */\n\n\"use strict\";\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nvar oneArgumentPooler = function(copyFieldsFrom) {\n  var Klass = this;\n  if (Klass.instancePool.length) {\n    var instance = Klass.instancePool.pop();\n    Klass.call(instance, copyFieldsFrom);\n    return instance;\n  } else {\n    return new Klass(copyFieldsFrom);\n  }\n};\n\nvar twoArgumentPooler = function(a1, a2) {\n  var Klass = this;\n  if (Klass.instancePool.length) {\n    var instance = Klass.instancePool.pop();\n    Klass.call(instance, a1, a2);\n    return instance;\n  } else {\n    return new Klass(a1, a2);\n  }\n};\n\nvar threeArgumentPooler = function(a1, a2, a3) {\n  var Klass = this;\n  if (Klass.instancePool.length) {\n    var instance = Klass.instancePool.pop();\n    Klass.call(instance, a1, a2, a3);\n    return instance;\n  } else {\n    return new Klass(a1, a2, a3);\n  }\n};\n\nvar fiveArgumentPooler = function(a1, a2, a3, a4, a5) {\n  var Klass = this;\n  if (Klass.instancePool.length) {\n    var instance = Klass.instancePool.pop();\n    Klass.call(instance, a1, a2, a3, a4, a5);\n    return instance;\n  } else {\n    return new Klass(a1, a2, a3, a4, a5);\n  }\n};\n\nvar standardReleaser = function(instance) {\n  var Klass = this;\n  if (instance.destructor) {\n    instance.destructor();\n  }\n  if (Klass.instancePool.length < Klass.poolSize) {\n    Klass.instancePool.push(instance);\n  }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = oneArgumentPooler;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances (optional).\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nvar addPoolingTo = function(CopyConstructor, pooler) {\n  var NewKlass = CopyConstructor;\n  NewKlass.instancePool = [];\n  NewKlass.getPooled = pooler || DEFAULT_POOLER;\n  if (!NewKlass.poolSize) {\n    NewKlass.poolSize = DEFAULT_POOL_SIZE;\n  }\n  NewKlass.release = standardReleaser;\n  return NewKlass;\n};\n\nvar PooledClass = {\n  addPoolingTo: addPoolingTo,\n  oneArgumentPooler: oneArgumentPooler,\n  twoArgumentPooler: twoArgumentPooler,\n  threeArgumentPooler: threeArgumentPooler,\n  fiveArgumentPooler: fiveArgumentPooler\n};\n\nmodule.exports = PooledClass;\n\n},{}],24:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule React\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactCurrentOwner = require(\"./ReactCurrentOwner\");\nvar ReactDOM = require(\"./ReactDOM\");\nvar ReactDOMComponent = require(\"./ReactDOMComponent\");\nvar ReactDefaultInjection = require(\"./ReactDefaultInjection\");\nvar ReactInstanceHandles = require(\"./ReactInstanceHandles\");\nvar ReactMount = require(\"./ReactMount\");\nvar ReactMultiChild = require(\"./ReactMultiChild\");\nvar ReactPerf = require(\"./ReactPerf\");\nvar ReactPropTypes = require(\"./ReactPropTypes\");\nvar ReactServerRendering = require(\"./ReactServerRendering\");\nvar ReactTextComponent = require(\"./ReactTextComponent\");\n\nReactDefaultInjection.inject();\n\nvar React = {\n  DOM: ReactDOM,\n  PropTypes: ReactPropTypes,\n  initializeTouchEvents: function(shouldUseTouch) {\n    ReactMount.useTouchEvents = shouldUseTouch;\n  },\n  createClass: ReactCompositeComponent.createClass,\n  constructAndRenderComponent: ReactMount.constructAndRenderComponent,\n  constructAndRenderComponentByID: ReactMount.constructAndRenderComponentByID,\n  renderComponent: ReactPerf.measure(\n    'React',\n    'renderComponent',\n    ReactMount.renderComponent\n  ),\n  renderComponentToString: ReactServerRendering.renderComponentToString,\n  unmountComponentAtNode: ReactMount.unmountComponentAtNode,\n  unmountAndReleaseReactRootNode: ReactMount.unmountAndReleaseReactRootNode,\n  isValidClass: ReactCompositeComponent.isValidClass,\n  isValidComponent: ReactComponent.isValidComponent,\n  __internals: {\n    Component: ReactComponent,\n    CurrentOwner: ReactCurrentOwner,\n    DOMComponent: ReactDOMComponent,\n    InstanceHandles: ReactInstanceHandles,\n    Mount: ReactMount,\n    MultiChild: ReactMultiChild,\n    TextComponent: ReactTextComponent\n  }\n};\n\n// Version exists only in the open-source version of React, not in Facebook's\n// internal version.\nReact.version = '0.8.0';\n\nmodule.exports = React;\n\n},{\"./ReactComponent\":25,\"./ReactCompositeComponent\":28,\"./ReactCurrentOwner\":29,\"./ReactDOM\":30,\"./ReactDOMComponent\":32,\"./ReactDefaultInjection\":41,\"./ReactInstanceHandles\":48,\"./ReactMount\":50,\"./ReactMultiChild\":52,\"./ReactPerf\":55,\"./ReactPropTypes\":57,\"./ReactServerRendering\":59,\"./ReactTextComponent\":60}],25:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactComponent\n */\n\n\"use strict\";\n\nvar ReactComponentEnvironment = require(\"./ReactComponentEnvironment\");\nvar ReactCurrentOwner = require(\"./ReactCurrentOwner\");\nvar ReactOwner = require(\"./ReactOwner\");\nvar ReactUpdates = require(\"./ReactUpdates\");\n\nvar invariant = require(\"./invariant\");\nvar keyMirror = require(\"./keyMirror\");\nvar merge = require(\"./merge\");\n\n/**\n * Every React component is in one of these life cycles.\n */\nvar ComponentLifeCycle = keyMirror({\n  /**\n   * Mounted components have a DOM node representation and are capable of\n   * receiving new props.\n   */\n  MOUNTED: null,\n  /**\n   * Unmounted components are inactive and cannot receive new props.\n   */\n  UNMOUNTED: null\n});\n\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children.\n * This allows us to keep track of children between updates.\n */\n\nvar ownerHasWarned = {};\n\n/**\n * Warn if the component doesn't have an explicit key assigned to it.\n * This component is in an array. The array could grow and shrink or be\n * reordered. All children, that hasn't already been validated, are required to\n * have a \"key\" property assigned to it.\n *\n * @internal\n * @param {ReactComponent} component Component that requires a key.\n */\nfunction validateExplicitKey(component) {\n  if (component.__keyValidated__ || component.props.key != null) {\n    return;\n  }\n  component.__keyValidated__ = true;\n\n  // We can't provide friendly warnings for top level components.\n  if (!ReactCurrentOwner.current) {\n    return;\n  }\n\n  // Name of the component whose render method tried to pass children.\n  var currentName = ReactCurrentOwner.current.constructor.displayName;\n  if (ownerHasWarned.hasOwnProperty(currentName)) {\n    return;\n  }\n  ownerHasWarned[currentName] = true;\n\n  var message = 'Each child in an array should have a unique \"key\" prop. ' +\n                'Check the render method of ' + currentName + '.';\n  if (!component.isOwnedBy(ReactCurrentOwner.current)) {\n    // Name of the component that originally created this child.\n    var childOwnerName =\n      component.props.__owner__ &&\n      component.props.__owner__.constructor.displayName;\n\n    // Usually the current owner is the offender, but if it accepts\n    // children as a property, it may be the creator of the child that's\n    // responsible for assigning it a key.\n    message += ' It was passed a child from ' + childOwnerName + '.';\n  }\n\n  console.warn(message);\n}\n\n/**\n * Ensure that every component either is passed in a static location or, if\n * if it's passed in an array, has an explicit key property defined.\n *\n * @internal\n * @param {*} component Statically passed child of any type.\n * @return {boolean}\n */\nfunction validateChildKeys(component) {\n  if (Array.isArray(component)) {\n    for (var i = 0; i < component.length; i++) {\n      var child = component[i];\n      if (ReactComponent.isValidComponent(child)) {\n        validateExplicitKey(child);\n      }\n    }\n  } else if (ReactComponent.isValidComponent(component)) {\n    // This component was passed in a valid location.\n    component.__keyValidated__ = true;\n  }\n}\n\n/**\n * Components are the basic units of composition in React.\n *\n * Every component accepts a set of keyed input parameters known as \"props\" that\n * are initialized by the constructor. Once a component is mounted, the props\n * can be mutated using `setProps` or `replaceProps`.\n *\n * Every component is capable of the following operations:\n *\n *   `mountComponent`\n *     Initializes the component, renders markup, and registers event listeners.\n *\n *   `receiveComponent`\n *     Updates the rendered DOM nodes to match the given component.\n *\n *   `unmountComponent`\n *     Releases any resources allocated by this component.\n *\n * Components can also be \"owned\" by other components. Being owned by another\n * component means being constructed by that component. This is different from\n * being the child of a component, which means having a DOM representation that\n * is a child of the DOM representation of that component.\n *\n * @class ReactComponent\n */\nvar ReactComponent = {\n\n  /**\n   * @param {?object} object\n   * @return {boolean} True if `object` is a valid component.\n   * @final\n   */\n  isValidComponent: function(object) {\n    return !!(\n      object &&\n      typeof object.mountComponentIntoNode === 'function' &&\n      typeof object.receiveComponent === 'function'\n    );\n  },\n\n  /**\n   * Generate a key string that identifies a component within a set.\n   *\n   * @param {*} component A component that could contain a manual key.\n   * @param {number} index Index that is used if a manual key is not provided.\n   * @return {string}\n   * @internal\n   */\n  getKey: function(component, index) {\n    if (component && component.props && component.props.key != null) {\n      // Explicit key\n      return '{' + component.props.key + '}';\n    }\n    // Implicit key determined by the index in the set\n    return '[' + index + ']';\n  },\n\n  /**\n   * @internal\n   */\n  LifeCycle: ComponentLifeCycle,\n\n  /**\n   * Injected module that provides ability to mutate individual properties.\n   * Injected into the base class because many different subclasses need access\n   * to this.\n   *\n   * @internal\n   */\n  DOMIDOperations: ReactComponentEnvironment.DOMIDOperations,\n\n  /**\n   * Optionally injectable environment dependent cleanup hook. (server vs.\n   * browser etc). Example: A browser system caches DOM nodes based on component\n   * ID and must remove that cache entry when this instance is unmounted.\n   *\n   * @private\n   */\n  unmountIDFromEnvironment: ReactComponentEnvironment.unmountIDFromEnvironment,\n\n  /**\n   * The \"image\" of a component tree, is the platform specific (typically\n   * serialized) data that represents a tree of lower level UI building blocks.\n   * On the web, this \"image\" is HTML markup which describes a construction of\n   * low level `div` and `span` nodes. Other platforms may have different\n   * encoding of this \"image\". This must be injected.\n   *\n   * @private\n   */\n  mountImageIntoNode: ReactComponentEnvironment.mountImageIntoNode,\n\n  /**\n   * React references `ReactReconcileTransaction` using this property in order\n   * to allow dependency injection.\n   *\n   * @internal\n   */\n  ReactReconcileTransaction:\n    ReactComponentEnvironment.ReactReconcileTransaction,\n\n  /**\n   * Base functionality for every ReactComponent constructor. Mixed into the\n   * `ReactComponent` prototype, but exposed statically for easy access.\n   *\n   * @lends {ReactComponent.prototype}\n   */\n  Mixin: merge(ReactComponentEnvironment.Mixin, {\n\n    /**\n     * Checks whether or not this component is mounted.\n     *\n     * @return {boolean} True if mounted, false otherwise.\n     * @final\n     * @protected\n     */\n    isMounted: function() {\n      return this._lifeCycleState === ComponentLifeCycle.MOUNTED;\n    },\n\n    /**\n     * Sets a subset of the props.\n     *\n     * @param {object} partialProps Subset of the next props.\n     * @param {?function} callback Called after props are updated.\n     * @final\n     * @public\n     */\n    setProps: function(partialProps, callback) {\n      // Merge with `_pendingProps` if it exists, otherwise with existing props.\n      this.replaceProps(\n        merge(this._pendingProps || this.props, partialProps),\n        callback\n      );\n    },\n\n    /**\n     * Replaces all of the props.\n     *\n     * @param {object} props New props.\n     * @param {?function} callback Called after props are updated.\n     * @final\n     * @public\n     */\n    replaceProps: function(props, callback) {\n      (\"production\" !== \"development\" ? invariant(\n        !this.props.__owner__,\n        'replaceProps(...): You called `setProps` or `replaceProps` on a ' +\n        'component with an owner. This is an anti-pattern since props will ' +\n        'get reactively updated when rendered. Instead, change the owner\\'s ' +\n        '`render` method to pass the correct value as props to the component ' +\n        'where it is created.'\n      ) : invariant(!this.props.__owner__));\n      (\"production\" !== \"development\" ? invariant(\n        this.isMounted(),\n        'replaceProps(...): Can only update a mounted component.'\n      ) : invariant(this.isMounted()));\n      this._pendingProps = props;\n      ReactUpdates.enqueueUpdate(this, callback);\n    },\n\n    /**\n     * Base constructor for all React component.\n     *\n     * Subclasses that override this method should make sure to invoke\n     * `ReactComponent.Mixin.construct.call(this, ...)`.\n     *\n     * @param {?object} initialProps\n     * @param {*} children\n     * @internal\n     */\n    construct: function(initialProps, children) {\n      this.props = initialProps || {};\n      // Record the component responsible for creating this component.\n      this.props.__owner__ = ReactCurrentOwner.current;\n      // All components start unmounted.\n      this._lifeCycleState = ComponentLifeCycle.UNMOUNTED;\n\n      this._pendingProps = null;\n      this._pendingCallbacks = null;\n\n      // Children can be more than one argument\n      var childrenLength = arguments.length - 1;\n      if (childrenLength === 1) {\n        if (\"production\" !== \"development\") {\n          validateChildKeys(children);\n        }\n        this.props.children = children;\n      } else if (childrenLength > 1) {\n        var childArray = Array(childrenLength);\n        for (var i = 0; i < childrenLength; i++) {\n          if (\"production\" !== \"development\") {\n            validateChildKeys(arguments[i + 1]);\n          }\n          childArray[i] = arguments[i + 1];\n        }\n        this.props.children = childArray;\n      }\n    },\n\n    /**\n     * Initializes the component, renders markup, and registers event listeners.\n     *\n     * NOTE: This does not insert any nodes into the DOM.\n     *\n     * Subclasses that override this method should make sure to invoke\n     * `ReactComponent.Mixin.mountComponent.call(this, ...)`.\n     *\n     * @param {string} rootID DOM ID of the root node.\n     * @param {ReactReconcileTransaction} transaction\n     * @param {number} mountDepth number of components in the owner hierarchy.\n     * @return {?string} Rendered markup to be inserted into the DOM.\n     * @internal\n     */\n    mountComponent: function(rootID, transaction, mountDepth) {\n      (\"production\" !== \"development\" ? invariant(\n        !this.isMounted(),\n        'mountComponent(%s, ...): Can only mount an unmounted component.',\n        rootID\n      ) : invariant(!this.isMounted()));\n      var props = this.props;\n      if (props.ref != null) {\n        ReactOwner.addComponentAsRefTo(this, props.ref, props.__owner__);\n      }\n      this._rootNodeID = rootID;\n      this._lifeCycleState = ComponentLifeCycle.MOUNTED;\n      this._mountDepth = mountDepth;\n      // Effectively: return '';\n    },\n\n    /**\n     * Releases any resources allocated by `mountComponent`.\n     *\n     * NOTE: This does not remove any nodes from the DOM.\n     *\n     * Subclasses that override this method should make sure to invoke\n     * `ReactComponent.Mixin.unmountComponent.call(this)`.\n     *\n     * @internal\n     */\n    unmountComponent: function() {\n      (\"production\" !== \"development\" ? invariant(\n        this.isMounted(),\n        'unmountComponent(): Can only unmount a mounted component.'\n      ) : invariant(this.isMounted()));\n      var props = this.props;\n      if (props.ref != null) {\n        ReactOwner.removeComponentAsRefFrom(this, props.ref, props.__owner__);\n      }\n      ReactComponent.unmountIDFromEnvironment(this._rootNodeID);\n      this._rootNodeID = null;\n      this._lifeCycleState = ComponentLifeCycle.UNMOUNTED;\n    },\n\n    /**\n     * Given a new instance of this component, updates the rendered DOM nodes\n     * as if that instance was rendered instead.\n     *\n     * Subclasses that override this method should make sure to invoke\n     * `ReactComponent.Mixin.receiveComponent.call(this, ...)`.\n     *\n     * @param {object} nextComponent Next set of properties.\n     * @param {ReactReconcileTransaction} transaction\n     * @internal\n     */\n    receiveComponent: function(nextComponent, transaction) {\n      (\"production\" !== \"development\" ? invariant(\n        this.isMounted(),\n        'receiveComponent(...): Can only update a mounted component.'\n      ) : invariant(this.isMounted()));\n      this._pendingProps = nextComponent.props;\n      this._performUpdateIfNecessary(transaction);\n    },\n\n    /**\n     * Call `_performUpdateIfNecessary` within a new transaction.\n     *\n     * @param {ReactReconcileTransaction} transaction\n     * @internal\n     */\n    performUpdateIfNecessary: function() {\n      var transaction = ReactComponent.ReactReconcileTransaction.getPooled();\n      transaction.perform(this._performUpdateIfNecessary, this, transaction);\n      ReactComponent.ReactReconcileTransaction.release(transaction);\n    },\n\n    /**\n     * If `_pendingProps` is set, update the component.\n     *\n     * @param {ReactReconcileTransaction} transaction\n     * @internal\n     */\n    _performUpdateIfNecessary: function(transaction) {\n      if (this._pendingProps == null) {\n        return;\n      }\n      var prevProps = this.props;\n      this.props = this._pendingProps;\n      this._pendingProps = null;\n      this.updateComponent(transaction, prevProps);\n    },\n\n    /**\n     * Updates the component's currently mounted representation.\n     *\n     * @param {ReactReconcileTransaction} transaction\n     * @param {object} prevProps\n     * @internal\n     */\n    updateComponent: function(transaction, prevProps) {\n      var props = this.props;\n      // If either the owner or a `ref` has changed, make sure the newest owner\n      // has stored a reference to `this`, and the previous owner (if different)\n      // has forgotten the reference to `this`.\n      if (props.__owner__ !== prevProps.__owner__ ||\n          props.ref !== prevProps.ref) {\n        if (prevProps.ref != null) {\n          ReactOwner.removeComponentAsRefFrom(\n            this, prevProps.ref, prevProps.__owner__\n          );\n        }\n        // Correct, even if the owner is the same, and only the ref has changed.\n        if (props.ref != null) {\n          ReactOwner.addComponentAsRefTo(this, props.ref, props.__owner__);\n        }\n      }\n    },\n\n    /**\n     * Mounts this component and inserts it into the DOM.\n     *\n     * @param {string} rootID DOM ID of the root node.\n     * @param {DOMElement} container DOM element to mount into.\n     * @param {boolean} shouldReuseMarkup If true, do not insert markup\n     * @final\n     * @internal\n     * @see {ReactMount.renderComponent}\n     */\n    mountComponentIntoNode: function(rootID, container, shouldReuseMarkup) {\n      var transaction = ReactComponent.ReactReconcileTransaction.getPooled();\n      transaction.perform(\n        this._mountComponentIntoNode,\n        this,\n        rootID,\n        container,\n        transaction,\n        shouldReuseMarkup\n      );\n      ReactComponent.ReactReconcileTransaction.release(transaction);\n    },\n\n    /**\n     * @param {string} rootID DOM ID of the root node.\n     * @param {DOMElement} container DOM element to mount into.\n     * @param {ReactReconcileTransaction} transaction\n     * @param {boolean} shouldReuseMarkup If true, do not insert markup\n     * @final\n     * @private\n     */\n    _mountComponentIntoNode: function(\n        rootID,\n        container,\n        transaction,\n        shouldReuseMarkup) {\n      var markup = this.mountComponent(rootID, transaction, 0);\n      ReactComponent.mountImageIntoNode(markup, container, shouldReuseMarkup);\n    },\n\n    /**\n     * Checks if this component is owned by the supplied `owner` component.\n     *\n     * @param {ReactComponent} owner Component to check.\n     * @return {boolean} True if `owners` owns this component.\n     * @final\n     * @internal\n     */\n    isOwnedBy: function(owner) {\n      return this.props.__owner__ === owner;\n    },\n\n    /**\n     * Gets another component, that shares the same owner as this one, by ref.\n     *\n     * @param {string} ref of a sibling Component.\n     * @return {?ReactComponent} the actual sibling Component.\n     * @final\n     * @internal\n     */\n    getSiblingByRef: function(ref) {\n      var owner = this.props.__owner__;\n      if (!owner || !owner.refs) {\n        return null;\n      }\n      return owner.refs[ref];\n    }\n  })\n};\n\nmodule.exports = ReactComponent;\n\n},{\"./ReactComponentEnvironment\":27,\"./ReactCurrentOwner\":29,\"./ReactOwner\":54,\"./ReactUpdates\":61,\"./invariant\":98,\"./keyMirror\":104,\"./merge\":107}],26:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactComponentBrowserEnvironment\n */\n\n/*jslint evil: true */\n\n\"use strict\";\n\nvar ReactDOMIDOperations = require(\"./ReactDOMIDOperations\");\nvar ReactMarkupChecksum = require(\"./ReactMarkupChecksum\");\nvar ReactMount = require(\"./ReactMount\");\nvar ReactReconcileTransaction = require(\"./ReactReconcileTransaction\");\n\nvar getReactRootElementInContainer = require(\"./getReactRootElementInContainer\");\nvar invariant = require(\"./invariant\");\nvar mutateHTMLNodeWithMarkup = require(\"./mutateHTMLNodeWithMarkup\");\n\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOC_NODE_TYPE = 9;\n\n\n/**\n * Abstracts away all functionality of `ReactComponent` requires knowledge of\n * the browser context.\n */\nvar ReactComponentBrowserEnvironment = {\n  /**\n   * Mixed into every component instance.\n   */\n  Mixin: {\n    /**\n     * Returns the DOM node rendered by this component.\n     *\n     * @return {DOMElement} The root node of this component.\n     * @final\n     * @protected\n     */\n    getDOMNode: function() {\n      (\"production\" !== \"development\" ? invariant(\n        this.isMounted(),\n        'getDOMNode(): A component must be mounted to have a DOM node.'\n      ) : invariant(this.isMounted()));\n      return ReactMount.getNode(this._rootNodeID);\n    }\n  },\n\n  ReactReconcileTransaction: ReactReconcileTransaction,\n\n  DOMIDOperations: ReactDOMIDOperations,\n\n  /**\n   * If a particular environment requires that some resources be cleaned up,\n   * specify this in the injected Mixin. In the DOM, we would likely want to\n   * purge any cached node ID lookups.\n   *\n   * @private\n   */\n  unmountIDFromEnvironment: function(rootNodeID) {\n    ReactMount.purgeID(rootNodeID);\n  },\n\n  /**\n   * @param {string} markup Markup string to place into the DOM Element.\n   * @param {DOMElement} container DOM Element to insert markup into.\n   * @param {boolean} shouldReuseMarkup Should reuse the existing markup in the\n   * container if possible.\n   */\n  mountImageIntoNode: function(markup, container, shouldReuseMarkup) {\n    (\"production\" !== \"development\" ? invariant(\n      container && (\n        container.nodeType === ELEMENT_NODE_TYPE ||\n        container.nodeType === DOC_NODE_TYPE && ReactMount.allowFullPageRender\n      ),\n      'mountComponentIntoNode(...): Target container is not valid.'\n    ) : invariant(container && (\n      container.nodeType === ELEMENT_NODE_TYPE ||\n      container.nodeType === DOC_NODE_TYPE && ReactMount.allowFullPageRender\n    )));\n    if (shouldReuseMarkup) {\n      if (ReactMarkupChecksum.canReuseMarkup(\n            markup,\n            getReactRootElementInContainer(container))) {\n        return;\n      } else {\n        if (\"production\" !== \"development\") {\n          console.warn(\n            'React attempted to use reuse markup in a container but the ' +\n            'checksum was invalid. This generally means that you are using ' +\n            'server rendering and the markup generated on the server was ' +\n            'not what the client was expecting. React injected new markup ' +\n            'to compensate which works but you have lost many of the ' +\n            'benefits of server rendering. Instead, figure out why the ' +\n            'markup being generated is different on the client or server.'\n          );\n        }\n      }\n    }\n\n    // You can't naively set the innerHTML of the entire document. You need\n    // to mutate documentElement which requires doing some crazy tricks. See\n    // mutateHTMLNodeWithMarkup()\n    if (container.nodeType === DOC_NODE_TYPE) {\n      mutateHTMLNodeWithMarkup(container.documentElement, markup);\n      return;\n    }\n\n    // Asynchronously inject markup by ensuring that the container is not in\n    // the document when settings its `innerHTML`.\n    var parent = container.parentNode;\n    if (parent) {\n      var next = container.nextSibling;\n      parent.removeChild(container);\n      container.innerHTML = markup;\n      if (next) {\n        parent.insertBefore(container, next);\n      } else {\n        parent.appendChild(container);\n      }\n    } else {\n      container.innerHTML = markup;\n    }\n  }\n};\n\nmodule.exports = ReactComponentBrowserEnvironment;\n\n},{\"./ReactDOMIDOperations\":34,\"./ReactMarkupChecksum\":49,\"./ReactMount\":50,\"./ReactReconcileTransaction\":58,\"./getReactRootElementInContainer\":94,\"./invariant\":98,\"./mutateHTMLNodeWithMarkup\":111}],27:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactComponentEnvironment\n */\n\nvar ReactComponentBrowserEnvironment =\n  require(\"./ReactComponentBrowserEnvironment\");\n\nvar ReactComponentEnvironment = ReactComponentBrowserEnvironment;\n\nmodule.exports = ReactComponentEnvironment;\n\n},{\"./ReactComponentBrowserEnvironment\":26}],28:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactCompositeComponent\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactCurrentOwner = require(\"./ReactCurrentOwner\");\nvar ReactErrorUtils = require(\"./ReactErrorUtils\");\nvar ReactOwner = require(\"./ReactOwner\");\nvar ReactPerf = require(\"./ReactPerf\");\nvar ReactPropTransferer = require(\"./ReactPropTransferer\");\nvar ReactUpdates = require(\"./ReactUpdates\");\n\nvar invariant = require(\"./invariant\");\nvar keyMirror = require(\"./keyMirror\");\nvar merge = require(\"./merge\");\nvar mixInto = require(\"./mixInto\");\nvar objMap = require(\"./objMap\");\n\n/**\n * Policies that describe methods in `ReactCompositeComponentInterface`.\n */\nvar SpecPolicy = keyMirror({\n  /**\n   * These methods may be defined only once by the class specification or mixin.\n   */\n  DEFINE_ONCE: null,\n  /**\n   * These methods may be defined by both the class specification and mixins.\n   * Subsequent definitions will be chained. These methods must return void.\n   */\n  DEFINE_MANY: null,\n  /**\n   * These methods are overriding the base ReactCompositeComponent class.\n   */\n  OVERRIDE_BASE: null,\n  /**\n   * These methods are similar to DEFINE_MANY, except we assume they return\n   * objects. We try to merge the keys of the return values of all the mixed in\n   * functions. If there is a key conflict we throw.\n   */\n  DEFINE_MANY_MERGED: null\n});\n\n/**\n * Composite components are higher-level components that compose other composite\n * or native components.\n *\n * To create a new type of `ReactCompositeComponent`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n *   var MyComponent = React.createClass({\n *     render: function() {\n *       return <div>Hello World</div>;\n *     }\n *   });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactCompositeComponentInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will available on the prototype.\n *\n * @interface ReactCompositeComponentInterface\n * @internal\n */\nvar ReactCompositeComponentInterface = {\n\n  /**\n   * An array of Mixin objects to include when defining your component.\n   *\n   * @type {array}\n   * @optional\n   */\n  mixins: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Definition of prop types for this component.\n   *\n   * @type {object}\n   * @optional\n   */\n  propTypes: SpecPolicy.DEFINE_ONCE,\n\n\n\n  // ==== Definition methods ====\n\n  /**\n   * Invoked when the component is mounted. Values in the mapping will be set on\n   * `this.props` if that prop is not specified (i.e. using an `in` check).\n   *\n   * This method is invoked before `getInitialState` and therefore cannot rely\n   * on `this.state` or use `this.setState`.\n   *\n   * @return {object}\n   * @optional\n   */\n  getDefaultProps: SpecPolicy.DEFINE_MANY_MERGED,\n\n  /**\n   * Invoked once before the component is mounted. The return value will be used\n   * as the initial value of `this.state`.\n   *\n   *   getInitialState: function() {\n   *     return {\n   *       isOn: false,\n   *       fooBaz: new BazFoo()\n   *     }\n   *   }\n   *\n   * @return {object}\n   * @optional\n   */\n  getInitialState: SpecPolicy.DEFINE_MANY_MERGED,\n\n  /**\n   * Uses props from `this.props` and state from `this.state` to render the\n   * structure of the component.\n   *\n   * No guarantees are made about when or how often this method is invoked, so\n   * it must not have side effects.\n   *\n   *   render: function() {\n   *     var name = this.props.name;\n   *     return <div>Hello, {name}!</div>;\n   *   }\n   *\n   * @return {ReactComponent}\n   * @nosideeffects\n   * @required\n   */\n  render: SpecPolicy.DEFINE_ONCE,\n\n\n\n  // ==== Delegate methods ====\n\n  /**\n   * Invoked when the component is initially created and about to be mounted.\n   * This may have side effects, but any external subscriptions or data created\n   * by this method must be cleaned up in `componentWillUnmount`.\n   *\n   * @optional\n   */\n  componentWillMount: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked when the component has been mounted and has a DOM representation.\n   * However, there is no guarantee that the DOM node is in the document.\n   *\n   * Use this as an opportunity to operate on the DOM when the component has\n   * been mounted (initialized and rendered) for the first time.\n   *\n   * @param {DOMElement} rootNode DOM element representing the component.\n   * @optional\n   */\n  componentDidMount: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked before the component receives new props.\n   *\n   * Use this as an opportunity to react to a prop transition by updating the\n   * state using `this.setState`. Current props are accessed via `this.props`.\n   *\n   *   componentWillReceiveProps: function(nextProps) {\n   *     this.setState({\n   *       likesIncreasing: nextProps.likeCount > this.props.likeCount\n   *     });\n   *   }\n   *\n   * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n   * transition may cause a state change, but the opposite is not true. If you\n   * need it, you are probably looking for `componentWillUpdate`.\n   *\n   * @param {object} nextProps\n   * @optional\n   */\n  componentWillReceiveProps: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked while deciding if the component should be updated as a result of\n   * receiving new props and state.\n   *\n   * Use this as an opportunity to `return false` when you're certain that the\n   * transition to the new props and state will not require a component update.\n   *\n   *   shouldComponentUpdate: function(nextProps, nextState) {\n   *     return !equal(nextProps, this.props) || !equal(nextState, this.state);\n   *   }\n   *\n   * @param {object} nextProps\n   * @param {?object} nextState\n   * @return {boolean} True if the component should update.\n   * @optional\n   */\n  shouldComponentUpdate: SpecPolicy.DEFINE_ONCE,\n\n  /**\n   * Invoked when the component is about to update due to a transition from\n   * `this.props` and `this.state` to `nextProps` and `nextState`.\n   *\n   * Use this as an opportunity to perform preparation before an update occurs.\n   *\n   * NOTE: You **cannot** use `this.setState()` in this method.\n   *\n   * @param {object} nextProps\n   * @param {?object} nextState\n   * @param {ReactReconcileTransaction} transaction\n   * @optional\n   */\n  componentWillUpdate: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked when the component's DOM representation has been updated.\n   *\n   * Use this as an opportunity to operate on the DOM when the component has\n   * been updated.\n   *\n   * @param {object} prevProps\n   * @param {?object} prevState\n   * @param {DOMElement} rootNode DOM element representing the component.\n   * @optional\n   */\n  componentDidUpdate: SpecPolicy.DEFINE_MANY,\n\n  /**\n   * Invoked when the component is about to be removed from its parent and have\n   * its DOM representation destroyed.\n   *\n   * Use this as an opportunity to deallocate any external resources.\n   *\n   * NOTE: There is no `componentDidUnmount` since your component will have been\n   * destroyed by that point.\n   *\n   * @optional\n   */\n  componentWillUnmount: SpecPolicy.DEFINE_MANY,\n\n\n\n  // ==== Advanced methods ====\n\n  /**\n   * Updates the component's currently mounted DOM representation.\n   *\n   * By default, this implements React's rendering and reconciliation algorithm.\n   * Sophisticated clients may wish to override this.\n   *\n   * @param {ReactReconcileTransaction} transaction\n   * @internal\n   * @overridable\n   */\n  updateComponent: SpecPolicy.OVERRIDE_BASE\n\n};\n\n/**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared in the specification when defining classes\n * using `React.createClass`, they will not be on the component's prototype.\n */\nvar RESERVED_SPEC_KEYS = {\n  displayName: function(Constructor, displayName) {\n    Constructor.displayName = displayName;\n  },\n  mixins: function(Constructor, mixins) {\n    if (mixins) {\n      for (var i = 0; i < mixins.length; i++) {\n        mixSpecIntoComponent(Constructor, mixins[i]);\n      }\n    }\n  },\n  propTypes: function(Constructor, propTypes) {\n    Constructor.propTypes = propTypes;\n  }\n};\n\nfunction validateMethodOverride(proto, name) {\n  var specPolicy = ReactCompositeComponentInterface[name];\n\n  // Disallow overriding of base class methods unless explicitly allowed.\n  if (ReactCompositeComponentMixin.hasOwnProperty(name)) {\n    (\"production\" !== \"development\" ? invariant(\n      specPolicy === SpecPolicy.OVERRIDE_BASE,\n      'ReactCompositeComponentInterface: You are attempting to override ' +\n      '`%s` from your class specification. Ensure that your method names ' +\n      'do not overlap with React methods.',\n      name\n    ) : invariant(specPolicy === SpecPolicy.OVERRIDE_BASE));\n  }\n\n  // Disallow defining methods more than once unless explicitly allowed.\n  if (proto.hasOwnProperty(name)) {\n    (\"production\" !== \"development\" ? invariant(\n      specPolicy === SpecPolicy.DEFINE_MANY ||\n      specPolicy === SpecPolicy.DEFINE_MANY_MERGED,\n      'ReactCompositeComponentInterface: You are attempting to define ' +\n      '`%s` on your component more than once. This conflict may be due ' +\n      'to a mixin.',\n      name\n    ) : invariant(specPolicy === SpecPolicy.DEFINE_MANY ||\n    specPolicy === SpecPolicy.DEFINE_MANY_MERGED));\n  }\n}\n\n\nfunction validateLifeCycleOnReplaceState(instance) {\n  var compositeLifeCycleState = instance._compositeLifeCycleState;\n  (\"production\" !== \"development\" ? invariant(\n    instance.isMounted() ||\n      compositeLifeCycleState === CompositeLifeCycle.MOUNTING,\n    'replaceState(...): Can only update a mounted or mounting component.'\n  ) : invariant(instance.isMounted() ||\n    compositeLifeCycleState === CompositeLifeCycle.MOUNTING));\n  (\"production\" !== \"development\" ? invariant(compositeLifeCycleState !== CompositeLifeCycle.RECEIVING_STATE,\n    'replaceState(...): Cannot update during an existing state transition ' +\n    '(such as within `render`). This could potentially cause an infinite ' +\n    'loop so it is forbidden.'\n  ) : invariant(compositeLifeCycleState !== CompositeLifeCycle.RECEIVING_STATE));\n  (\"production\" !== \"development\" ? invariant(compositeLifeCycleState !== CompositeLifeCycle.UNMOUNTING,\n    'replaceState(...): Cannot update while unmounting component. This ' +\n    'usually means you called setState() on an unmounted component.'\n  ) : invariant(compositeLifeCycleState !== CompositeLifeCycle.UNMOUNTING));\n}\n\n/**\n * Custom version of `mixInto` which handles policy validation and reserved\n * specification keys when building `ReactCompositeComponent` classses.\n */\nfunction mixSpecIntoComponent(Constructor, spec) {\n  var proto = Constructor.prototype;\n  for (var name in spec) {\n    var property = spec[name];\n    if (!spec.hasOwnProperty(name) || !property) {\n      continue;\n    }\n    validateMethodOverride(proto, name);\n\n    if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n      RESERVED_SPEC_KEYS[name](Constructor, property);\n    } else {\n      // Setup methods on prototype:\n      // The following member methods should not be automatically bound:\n      // 1. Expected ReactCompositeComponent methods (in the \"interface\").\n      // 2. Overridden methods (that were mixed in).\n      var isCompositeComponentMethod = name in ReactCompositeComponentInterface;\n      var isInherited = name in proto;\n      var markedDontBind = property.__reactDontBind;\n      var isFunction = typeof property === 'function';\n      var shouldAutoBind =\n        isFunction &&\n        !isCompositeComponentMethod &&\n        !isInherited &&\n        !markedDontBind;\n\n      if (shouldAutoBind) {\n        if (!proto.__reactAutoBindMap) {\n          proto.__reactAutoBindMap = {};\n        }\n        proto.__reactAutoBindMap[name] = property;\n        proto[name] = property;\n      } else {\n        if (isInherited) {\n          // For methods which are defined more than once, call the existing\n          // methods before calling the new property.\n          if (ReactCompositeComponentInterface[name] ===\n              SpecPolicy.DEFINE_MANY_MERGED) {\n            proto[name] = createMergedResultFunction(proto[name], property);\n          } else {\n            proto[name] = createChainedFunction(proto[name], property);\n          }\n        } else {\n          proto[name] = property;\n        }\n      }\n    }\n  }\n}\n\n/**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\nfunction mergeObjectsWithNoDuplicateKeys(one, two) {\n  (\"production\" !== \"development\" ? invariant(\n    one && two && typeof one === 'object' && typeof two === 'object',\n    'mergeObjectsWithNoDuplicateKeys(): Cannot merge non-objects'\n  ) : invariant(one && two && typeof one === 'object' && typeof two === 'object'));\n\n  objMap(two, function(value, key) {\n    (\"production\" !== \"development\" ? invariant(\n      one[key] === undefined,\n      'mergeObjectsWithNoDuplicateKeys(): ' +\n      'Tried to merge two objects with the same key: %s',\n      key\n    ) : invariant(one[key] === undefined));\n    one[key] = value;\n  });\n  return one;\n}\n\n/**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createMergedResultFunction(one, two) {\n  return function mergedResult() {\n    return mergeObjectsWithNoDuplicateKeys(\n      one.apply(this, arguments),\n      two.apply(this, arguments)\n    );\n  };\n}\n\n/**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createChainedFunction(one, two) {\n  return function chainedFunction() {\n    one.apply(this, arguments);\n    two.apply(this, arguments);\n  };\n}\n\n/**\n * `ReactCompositeComponent` maintains an auxiliary life cycle state in\n * `this._compositeLifeCycleState` (which can be null).\n *\n * This is different from the life cycle state maintained by `ReactComponent` in\n * `this._lifeCycleState`. The following diagram shows how the states overlap in\n * time. There are times when the CompositeLifeCycle is null - at those times it\n * is only meaningful to look at ComponentLifeCycle alone.\n *\n * Top Row: ReactComponent.ComponentLifeCycle\n * Low Row: ReactComponent.CompositeLifeCycle\n *\n * +-------+------------------------------------------------------+--------+\n * |  UN   |                    MOUNTED                           |   UN   |\n * |MOUNTED|                                                      | MOUNTED|\n * +-------+------------------------------------------------------+--------+\n * |       ^--------+   +------+   +------+   +------+   +--------^        |\n * |       |        |   |      |   |      |   |      |   |        |        |\n * |    0--|MOUNTING|-0-|RECEIV|-0-|RECEIV|-0-|RECEIV|-0-|   UN   |--->0   |\n * |       |        |   |PROPS |   | PROPS|   | STATE|   |MOUNTING|        |\n * |       |        |   |      |   |      |   |      |   |        |        |\n * |       |        |   |      |   |      |   |      |   |        |        |\n * |       +--------+   +------+   +------+   +------+   +--------+        |\n * |       |                                                      |        |\n * +-------+------------------------------------------------------+--------+\n */\nvar CompositeLifeCycle = keyMirror({\n  /**\n   * Components in the process of being mounted respond to state changes\n   * differently.\n   */\n  MOUNTING: null,\n  /**\n   * Components in the process of being unmounted are guarded against state\n   * changes.\n   */\n  UNMOUNTING: null,\n  /**\n   * Components that are mounted and receiving new props respond to state\n   * changes differently.\n   */\n  RECEIVING_PROPS: null,\n  /**\n   * Components that are mounted and receiving new state are guarded against\n   * additional state changes.\n   */\n  RECEIVING_STATE: null\n});\n\n/**\n * @lends {ReactCompositeComponent.prototype}\n */\nvar ReactCompositeComponentMixin = {\n\n  /**\n   * Base constructor for all composite component.\n   *\n   * @param {?object} initialProps\n   * @param {*} children\n   * @final\n   * @internal\n   */\n  construct: function(initialProps, children) {\n    // Children can be either an array or more than one argument\n    ReactComponent.Mixin.construct.apply(this, arguments);\n    this.state = null;\n    this._pendingState = null;\n    this._compositeLifeCycleState = null;\n  },\n\n  /**\n   * Checks whether or not this composite component is mounted.\n   * @return {boolean} True if mounted, false otherwise.\n   * @protected\n   * @final\n   */\n  isMounted: function() {\n    return ReactComponent.Mixin.isMounted.call(this) &&\n      this._compositeLifeCycleState !== CompositeLifeCycle.MOUNTING;\n  },\n\n  /**\n   * Initializes the component, renders markup, and registers event listeners.\n   *\n   * @param {string} rootID DOM ID of the root node.\n   * @param {ReactReconcileTransaction} transaction\n   * @param {number} mountDepth number of components in the owner hierarchy\n   * @return {?string} Rendered markup to be inserted into the DOM.\n   * @final\n   * @internal\n   */\n  mountComponent: ReactPerf.measure(\n    'ReactCompositeComponent',\n    'mountComponent',\n    function(rootID, transaction, mountDepth) {\n      ReactComponent.Mixin.mountComponent.call(\n        this,\n        rootID,\n        transaction,\n        mountDepth\n      );\n      this._compositeLifeCycleState = CompositeLifeCycle.MOUNTING;\n\n      this._defaultProps = this.getDefaultProps ? this.getDefaultProps() : null;\n      this._processProps(this.props);\n\n      if (this.__reactAutoBindMap) {\n        this._bindAutoBindMethods();\n      }\n\n      this.state = this.getInitialState ? this.getInitialState() : null;\n      this._pendingState = null;\n      this._pendingForceUpdate = false;\n\n      if (this.componentWillMount) {\n        this.componentWillMount();\n        // When mounting, calls to `setState` by `componentWillMount` will set\n        // `this._pendingState` without triggering a re-render.\n        if (this._pendingState) {\n          this.state = this._pendingState;\n          this._pendingState = null;\n        }\n      }\n\n      this._renderedComponent = this._renderValidatedComponent();\n\n      // Done with mounting, `setState` will now trigger UI changes.\n      this._compositeLifeCycleState = null;\n      var markup = this._renderedComponent.mountComponent(\n        rootID,\n        transaction,\n        mountDepth + 1\n      );\n      if (this.componentDidMount) {\n        transaction.getReactMountReady().enqueue(this, this.componentDidMount);\n      }\n      return markup;\n    }\n  ),\n\n  /**\n   * Releases any resources allocated by `mountComponent`.\n   *\n   * @final\n   * @internal\n   */\n  unmountComponent: function() {\n    this._compositeLifeCycleState = CompositeLifeCycle.UNMOUNTING;\n    if (this.componentWillUnmount) {\n      this.componentWillUnmount();\n    }\n    this._compositeLifeCycleState = null;\n\n    this._defaultProps = null;\n\n    ReactComponent.Mixin.unmountComponent.call(this);\n    this._renderedComponent.unmountComponent();\n    this._renderedComponent = null;\n\n    if (this.refs) {\n      this.refs = null;\n    }\n\n    // Some existing components rely on this.props even after they've been\n    // destroyed (in event handlers).\n    // TODO: this.props = null;\n    // TODO: this.state = null;\n  },\n\n  /**\n   * Sets a subset of the state. Always use this or `replaceState` to mutate\n   * state. You should treat `this.state` as immutable.\n   *\n   * There is no guarantee that `this.state` will be immediately updated, so\n   * accessing `this.state` after calling this method may return the old value.\n   *\n   * There is no guarantee that calls to `setState` will run synchronously,\n   * as they may eventually be batched together.  You can provide an optional\n   * callback that will be executed when the call to setState is actually\n   * completed.\n   *\n   * @param {object} partialState Next partial state to be merged with state.\n   * @param {?function} callback Called after state is updated.\n   * @final\n   * @protected\n   */\n  setState: function(partialState, callback) {\n    // Merge with `_pendingState` if it exists, otherwise with existing state.\n    this.replaceState(\n      merge(this._pendingState || this.state, partialState),\n      callback\n    );\n  },\n\n  /**\n   * Replaces all of the state. Always use this or `setState` to mutate state.\n   * You should treat `this.state` as immutable.\n   *\n   * There is no guarantee that `this.state` will be immediately updated, so\n   * accessing `this.state` after calling this method may return the old value.\n   *\n   * @param {object} completeState Next state.\n   * @param {?function} callback Called after state is updated.\n   * @final\n   * @protected\n   */\n  replaceState: function(completeState, callback) {\n    validateLifeCycleOnReplaceState(this);\n    this._pendingState = completeState;\n    ReactUpdates.enqueueUpdate(this, callback);\n  },\n\n  /**\n   * Processes props by setting default values for unspecified props and\n   * asserting that the props are valid.\n   *\n   * @param {object} props\n   * @private\n   */\n  _processProps: function(props) {\n    var propName;\n    var defaultProps = this._defaultProps;\n    for (propName in defaultProps) {\n      if (!(propName in props)) {\n        props[propName] = defaultProps[propName];\n      }\n    }\n    var propTypes = this.constructor.propTypes;\n    if (propTypes) {\n      var componentName = this.constructor.displayName;\n      for (propName in propTypes) {\n        var checkProp = propTypes[propName];\n        if (checkProp) {\n          checkProp(props, propName, componentName);\n        }\n      }\n    }\n  },\n\n  performUpdateIfNecessary: function() {\n    var compositeLifeCycleState = this._compositeLifeCycleState;\n    // Do not trigger a state transition if we are in the middle of mounting or\n    // receiving props because both of those will already be doing this.\n    if (compositeLifeCycleState === CompositeLifeCycle.MOUNTING ||\n        compositeLifeCycleState === CompositeLifeCycle.RECEIVING_PROPS) {\n      return;\n    }\n    ReactComponent.Mixin.performUpdateIfNecessary.call(this);\n  },\n\n  /**\n   * If any of `_pendingProps`, `_pendingState`, or `_pendingForceUpdate` is\n   * set, update the component.\n   *\n   * @param {ReactReconcileTransaction} transaction\n   * @internal\n   */\n  _performUpdateIfNecessary: function(transaction) {\n    if (this._pendingProps == null &&\n        this._pendingState == null &&\n        !this._pendingForceUpdate) {\n      return;\n    }\n\n    var nextProps = this.props;\n    if (this._pendingProps != null) {\n      nextProps = this._pendingProps;\n      this._processProps(nextProps);\n      this._pendingProps = null;\n\n      this._compositeLifeCycleState = CompositeLifeCycle.RECEIVING_PROPS;\n      if (this.componentWillReceiveProps) {\n        this.componentWillReceiveProps(nextProps, transaction);\n      }\n    }\n\n    this._compositeLifeCycleState = CompositeLifeCycle.RECEIVING_STATE;\n\n    var nextState = this._pendingState || this.state;\n    this._pendingState = null;\n\n    if (this._pendingForceUpdate ||\n        !this.shouldComponentUpdate ||\n        this.shouldComponentUpdate(nextProps, nextState)) {\n      this._pendingForceUpdate = false;\n      // Will set `this.props` and `this.state`.\n      this._performComponentUpdate(nextProps, nextState, transaction);\n    } else {\n      // If it's determined that a component should not update, we still want\n      // to set props and state.\n      this.props = nextProps;\n      this.state = nextState;\n    }\n\n    this._compositeLifeCycleState = null;\n  },\n\n  /**\n   * Merges new props and state, notifies delegate methods of update and\n   * performs update.\n   *\n   * @param {object} nextProps Next object to set as properties.\n   * @param {?object} nextState Next object to set as state.\n   * @param {ReactReconcileTransaction} transaction\n   * @private\n   */\n  _performComponentUpdate: function(nextProps, nextState, transaction) {\n    var prevProps = this.props;\n    var prevState = this.state;\n\n    if (this.componentWillUpdate) {\n      this.componentWillUpdate(nextProps, nextState, transaction);\n    }\n\n    this.props = nextProps;\n    this.state = nextState;\n\n    this.updateComponent(transaction, prevProps, prevState);\n\n    if (this.componentDidUpdate) {\n      transaction.getReactMountReady().enqueue(\n        this,\n        this.componentDidUpdate.bind(this, prevProps, prevState)\n      );\n    }\n  },\n\n  /**\n   * Updates the component's currently mounted DOM representation.\n   *\n   * By default, this implements React's rendering and reconciliation algorithm.\n   * Sophisticated clients may wish to override this.\n   *\n   * @param {ReactReconcileTransaction} transaction\n   * @param {object} prevProps\n   * @param {?object} prevState\n   * @internal\n   * @overridable\n   */\n  updateComponent: ReactPerf.measure(\n    'ReactCompositeComponent',\n    'updateComponent',\n    function(transaction, prevProps, prevState) {\n      ReactComponent.Mixin.updateComponent.call(this, transaction, prevProps);\n      var currentComponent = this._renderedComponent;\n      var nextComponent = this._renderValidatedComponent();\n      if (currentComponent.constructor === nextComponent.constructor) {\n        currentComponent.receiveComponent(nextComponent, transaction);\n      } else {\n        // These two IDs are actually the same! But nothing should rely on that.\n        var thisID = this._rootNodeID;\n        var currentComponentID = currentComponent._rootNodeID;\n        currentComponent.unmountComponent();\n        this._renderedComponent = nextComponent;\n        var nextMarkup = nextComponent.mountComponent(\n          thisID,\n          transaction,\n          this._mountDepth + 1\n        );\n        ReactComponent.DOMIDOperations.dangerouslyReplaceNodeWithMarkupByID(\n          currentComponentID,\n          nextMarkup\n        );\n      }\n    }\n  ),\n\n  /**\n   * Forces an update. This should only be invoked when it is known with\n   * certainty that we are **not** in a DOM transaction.\n   *\n   * You may want to call this when you know that some deeper aspect of the\n   * component's state has changed but `setState` was not called.\n   *\n   * This will not invoke `shouldUpdateComponent`, but it will invoke\n   * `componentWillUpdate` and `componentDidUpdate`.\n   *\n   * @param {?function} callback Called after update is complete.\n   * @final\n   * @protected\n   */\n  forceUpdate: function(callback) {\n    var compositeLifeCycleState = this._compositeLifeCycleState;\n    (\"production\" !== \"development\" ? invariant(\n      this.isMounted() ||\n        compositeLifeCycleState === CompositeLifeCycle.MOUNTING,\n      'forceUpdate(...): Can only force an update on mounted or mounting ' +\n        'components.'\n    ) : invariant(this.isMounted() ||\n      compositeLifeCycleState === CompositeLifeCycle.MOUNTING));\n    (\"production\" !== \"development\" ? invariant(\n      compositeLifeCycleState !== CompositeLifeCycle.RECEIVING_STATE &&\n      compositeLifeCycleState !== CompositeLifeCycle.UNMOUNTING,\n      'forceUpdate(...): Cannot force an update while unmounting component ' +\n      'or during an existing state transition (such as within `render`).'\n    ) : invariant(compositeLifeCycleState !== CompositeLifeCycle.RECEIVING_STATE &&\n    compositeLifeCycleState !== CompositeLifeCycle.UNMOUNTING));\n    this._pendingForceUpdate = true;\n    ReactUpdates.enqueueUpdate(this, callback);\n  },\n\n  /**\n   * @private\n   */\n  _renderValidatedComponent: function() {\n    var renderedComponent;\n    ReactCurrentOwner.current = this;\n    try {\n      renderedComponent = this.render();\n    } catch (error) {\n      // IE8 requires `catch` in order to use `finally`.\n      throw error;\n    } finally {\n      ReactCurrentOwner.current = null;\n    }\n    (\"production\" !== \"development\" ? invariant(\n      ReactComponent.isValidComponent(renderedComponent),\n      '%s.render(): A valid ReactComponent must be returned. You may have ' +\n      'returned null, undefined, an array, or some other invalid object.',\n      this.constructor.displayName || 'ReactCompositeComponent'\n    ) : invariant(ReactComponent.isValidComponent(renderedComponent)));\n    return renderedComponent;\n  },\n\n  /**\n   * @private\n   */\n  _bindAutoBindMethods: function() {\n    for (var autoBindKey in this.__reactAutoBindMap) {\n      if (!this.__reactAutoBindMap.hasOwnProperty(autoBindKey)) {\n        continue;\n      }\n      var method = this.__reactAutoBindMap[autoBindKey];\n      this[autoBindKey] = this._bindAutoBindMethod(ReactErrorUtils.guard(\n        method,\n        this.constructor.displayName + '.' + autoBindKey\n      ));\n    }\n  },\n\n  /**\n   * Binds a method to the component.\n   *\n   * @param {function} method Method to be bound.\n   * @private\n   */\n  _bindAutoBindMethod: function(method) {\n    var component = this;\n    var boundMethod = function() {\n      return method.apply(component, arguments);\n    };\n    if (\"production\" !== \"development\") {\n      boundMethod.__reactBoundContext = component;\n      boundMethod.__reactBoundMethod = method;\n      boundMethod.__reactBoundArguments = null;\n      var componentName = component.constructor.displayName;\n      var _bind = boundMethod.bind;\n      boundMethod.bind = function(newThis) {\n        // User is trying to bind() an autobound method; we effectively will\n        // ignore the value of \"this\" that the user is trying to use, so\n        // let's warn.\n        if (newThis !== component && newThis !== null) {\n          console.warn(\n            'bind(): React component methods may only be bound to the ' +\n            'component instance. See ' + componentName\n          );\n        } else if (arguments.length === 1) {\n          console.warn(\n            'bind(): You are binding a component method to the component. ' +\n            'React does this for you automatically in a high-performance ' +\n            'way, so you can safely remove this call. See ' + componentName\n          );\n          return boundMethod;\n        }\n        var reboundMethod = _bind.apply(boundMethod, arguments);\n        reboundMethod.__reactBoundContext = component;\n        reboundMethod.__reactBoundMethod = method;\n        reboundMethod.__reactBoundArguments =\n          Array.prototype.slice.call(arguments, 1);\n        return reboundMethod;\n      };\n    }\n    return boundMethod;\n  }\n};\n\nvar ReactCompositeComponentBase = function() {};\nmixInto(ReactCompositeComponentBase, ReactComponent.Mixin);\nmixInto(ReactCompositeComponentBase, ReactOwner.Mixin);\nmixInto(ReactCompositeComponentBase, ReactPropTransferer.Mixin);\nmixInto(ReactCompositeComponentBase, ReactCompositeComponentMixin);\n\n/**\n * Module for creating composite components.\n *\n * @class ReactCompositeComponent\n * @extends ReactComponent\n * @extends ReactOwner\n * @extends ReactPropTransferer\n */\nvar ReactCompositeComponent = {\n\n  LifeCycle: CompositeLifeCycle,\n\n  Base: ReactCompositeComponentBase,\n\n  /**\n   * Creates a composite component class given a class specification.\n   *\n   * @param {object} spec Class specification (which must define `render`).\n   * @return {function} Component constructor function.\n   * @public\n   */\n  createClass: function(spec) {\n    var Constructor = function() {};\n    Constructor.prototype = new ReactCompositeComponentBase();\n    Constructor.prototype.constructor = Constructor;\n    mixSpecIntoComponent(Constructor, spec);\n\n    (\"production\" !== \"development\" ? invariant(\n      Constructor.prototype.render,\n      'createClass(...): Class specification must implement a `render` method.'\n    ) : invariant(Constructor.prototype.render));\n\n    if (\"production\" !== \"development\") {\n      if (Constructor.prototype.componentShouldUpdate) {\n        console.warn(\n          (spec.displayName || 'A component') + ' has a method called ' +\n          'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +\n          'The name is phrased as a question because the function is ' +\n          'expected to return a value.'\n         );\n      }\n    }\n\n    // Reduce time spent doing lookups by setting these on the prototype.\n    for (var methodName in ReactCompositeComponentInterface) {\n      if (!Constructor.prototype[methodName]) {\n        Constructor.prototype[methodName] = null;\n      }\n    }\n\n    var ConvenienceConstructor = function(props, children) {\n      var instance = new Constructor();\n      instance.construct.apply(instance, arguments);\n      return instance;\n    };\n    ConvenienceConstructor.componentConstructor = Constructor;\n    ConvenienceConstructor.originalSpec = spec;\n    return ConvenienceConstructor;\n  },\n\n  /**\n   * Checks if a value is a valid component constructor.\n   *\n   * @param {*}\n   * @return {boolean}\n   * @public\n   */\n  isValidClass: function(componentClass) {\n    return componentClass instanceof Function &&\n           'componentConstructor' in componentClass &&\n           componentClass.componentConstructor instanceof Function;\n  }\n};\n\nmodule.exports = ReactCompositeComponent;\n\n},{\"./ReactComponent\":25,\"./ReactCurrentOwner\":29,\"./ReactErrorUtils\":43,\"./ReactOwner\":54,\"./ReactPerf\":55,\"./ReactPropTransferer\":56,\"./ReactUpdates\":61,\"./invariant\":98,\"./keyMirror\":104,\"./merge\":107,\"./mixInto\":110,\"./objMap\":112}],29:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactCurrentOwner\n */\n\n\"use strict\";\n\n/**\n * Keeps track of the current owner.\n *\n * The current owner is the component who should own any components that are\n * currently being constructed.\n *\n * The depth indicate how many composite components are above this render level.\n */\nvar ReactCurrentOwner = {\n\n  /**\n   * @internal\n   * @type {ReactComponent}\n   */\n  current: null\n\n};\n\nmodule.exports = ReactCurrentOwner;\n\n},{}],30:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOM\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactDOMComponent = require(\"./ReactDOMComponent\");\n\nvar mergeInto = require(\"./mergeInto\");\nvar objMapKeyVal = require(\"./objMapKeyVal\");\n\n/**\n * Creates a new React class that is idempotent and capable of containing other\n * React components. It accepts event listeners and DOM properties that are\n * valid according to `DOMProperty`.\n *\n *  - Event listeners: `onClick`, `onMouseDown`, etc.\n *  - DOM properties: `className`, `name`, `title`, etc.\n *\n * The `style` property functions differently from the DOM API. It accepts an\n * object mapping of style properties to values.\n *\n * @param {string} tag Tag name (e.g. `div`).\n * @param {boolean} omitClose True if the close tag should be omitted.\n * @private\n */\nfunction createDOMComponentClass(tag, omitClose) {\n  var Constructor = function() {};\n  Constructor.prototype = new ReactDOMComponent(tag, omitClose);\n  Constructor.prototype.constructor = Constructor;\n  Constructor.displayName = tag;\n\n  var ConvenienceConstructor = function(props, children) {\n    var instance = new Constructor();\n    instance.construct.apply(instance, arguments);\n    return instance;\n  };\n  ConvenienceConstructor.componentConstructor = Constructor;\n  return ConvenienceConstructor;\n}\n\n/**\n * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes.\n * This is also accessible via `React.DOM`.\n *\n * @public\n */\nvar ReactDOM = objMapKeyVal({\n  a: false,\n  abbr: false,\n  address: false,\n  area: false,\n  article: false,\n  aside: false,\n  audio: false,\n  b: false,\n  base: false,\n  bdi: false,\n  bdo: false,\n  big: false,\n  blockquote: false,\n  body: false,\n  br: true,\n  button: false,\n  canvas: false,\n  caption: false,\n  cite: false,\n  code: false,\n  col: true,\n  colgroup: false,\n  data: false,\n  datalist: false,\n  dd: false,\n  del: false,\n  details: false,\n  dfn: false,\n  div: false,\n  dl: false,\n  dt: false,\n  em: false,\n  embed: true,\n  fieldset: false,\n  figcaption: false,\n  figure: false,\n  footer: false,\n  form: false, // NOTE: Injected, see `ReactDOMForm`.\n  h1: false,\n  h2: false,\n  h3: false,\n  h4: false,\n  h5: false,\n  h6: false,\n  head: false,\n  header: false,\n  hr: true,\n  html: false,\n  i: false,\n  iframe: false,\n  img: true,\n  input: true,\n  ins: false,\n  kbd: false,\n  keygen: true,\n  label: false,\n  legend: false,\n  li: false,\n  link: false,\n  main: false,\n  map: false,\n  mark: false,\n  menu: false,\n  menuitem: false, // NOTE: Close tag should be omitted, but causes problems.\n  meta: true,\n  meter: false,\n  nav: false,\n  noscript: false,\n  object: false,\n  ol: false,\n  optgroup: false,\n  option: false,\n  output: false,\n  p: false,\n  param: true,\n  pre: false,\n  progress: false,\n  q: false,\n  rp: false,\n  rt: false,\n  ruby: false,\n  s: false,\n  samp: false,\n  script: false,\n  section: false,\n  select: false,\n  small: false,\n  source: false,\n  span: false,\n  strong: false,\n  style: false,\n  sub: false,\n  summary: false,\n  sup: false,\n  table: false,\n  tbody: false,\n  td: false,\n  textarea: false, // NOTE: Injected, see `ReactDOMTextarea`.\n  tfoot: false,\n  th: false,\n  thead: false,\n  time: false,\n  title: false,\n  tr: false,\n  track: true,\n  u: false,\n  ul: false,\n  'var': false,\n  video: false,\n  wbr: false,\n\n  // SVG\n  circle: false,\n  g: false,\n  line: false,\n  path: false,\n  polyline: false,\n  rect: false,\n  svg: false,\n  text: false\n}, createDOMComponentClass);\n\nvar injection = {\n  injectComponentClasses: function(componentClasses) {\n    mergeInto(ReactDOM, componentClasses);\n  }\n};\n\nReactDOM.injection = injection;\n\nmodule.exports = ReactDOM;\n\n},{\"./ReactDOMComponent\":32,\"./mergeInto\":109,\"./objMapKeyVal\":113}],31:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMButton\n */\n\n\"use strict\";\n\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\n\nvar keyMirror = require(\"./keyMirror\");\n\n// Store a reference to the <button> `ReactDOMComponent`.\nvar button = ReactDOM.button;\n\nvar mouseListenerNames = keyMirror({\n  onClick: true,\n  onDoubleClick: true,\n  onMouseDown: true,\n  onMouseMove: true,\n  onMouseUp: true,\n  onClickCapture: true,\n  onDoubleClickCapture: true,\n  onMouseDownCapture: true,\n  onMouseMoveCapture: true,\n  onMouseUpCapture: true\n});\n\n/**\n * Implements a <button> native component that does not receive mouse events\n * when `disabled` is set.\n */\nvar ReactDOMButton = ReactCompositeComponent.createClass({\n\n  render: function() {\n    var props = {};\n\n    // Copy the props; except the mouse listeners if we're disabled\n    for (var key in this.props) {\n      if (this.props.hasOwnProperty(key) &&\n          (!this.props.disabled || !mouseListenerNames[key])) {\n        props[key] = this.props[key];\n      }\n    }\n\n    return button(props, this.props.children);\n  }\n\n});\n\nmodule.exports = ReactDOMButton;\n\n},{\"./ReactCompositeComponent\":28,\"./ReactDOM\":30,\"./keyMirror\":104}],32:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMComponent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar CSSPropertyOperations = require(\"./CSSPropertyOperations\");\nvar DOMProperty = require(\"./DOMProperty\");\nvar DOMPropertyOperations = require(\"./DOMPropertyOperations\");\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactMultiChild = require(\"./ReactMultiChild\");\nvar ReactMount = require(\"./ReactMount\");\nvar ReactPerf = require(\"./ReactPerf\");\n\nvar escapeTextForBrowser = require(\"./escapeTextForBrowser\");\nvar invariant = require(\"./invariant\");\nvar keyOf = require(\"./keyOf\");\nvar merge = require(\"./merge\");\nvar mixInto = require(\"./mixInto\");\n\nvar putListener = ReactEventEmitter.putListener;\nvar deleteListener = ReactEventEmitter.deleteListener;\nvar registrationNames = ReactEventEmitter.registrationNames;\n\n// For quickly matching children type, to test if can be treated as content.\nvar CONTENT_TYPES = {'string': true, 'number': true};\n\nvar STYLE = keyOf({style: null});\n\n/**\n * @param {?object} props\n */\nfunction assertValidProps(props) {\n  if (!props) {\n    return;\n  }\n  // Note the use of `==` which checks for null or undefined.\n  (\"production\" !== \"development\" ? invariant(\n    props.children == null || props.dangerouslySetInnerHTML == null,\n    'Can only set one of `children` or `props.dangerouslySetInnerHTML`.'\n  ) : invariant(props.children == null || props.dangerouslySetInnerHTML == null));\n  (\"production\" !== \"development\" ? invariant(\n    props.style == null || typeof props.style === 'object',\n    'The `style` prop expects a mapping from style properties to values, ' +\n    'not a string.'\n  ) : invariant(props.style == null || typeof props.style === 'object'));\n}\n\n/**\n * @constructor ReactDOMComponent\n * @extends ReactComponent\n * @extends ReactMultiChild\n */\nfunction ReactDOMComponent(tag, omitClose) {\n  this._tagOpen = '<' + tag;\n  this._tagClose = omitClose ? '' : '</' + tag + '>';\n  this.tagName = tag.toUpperCase();\n}\n\nReactDOMComponent.Mixin = {\n\n  /**\n   * Generates root tag markup then recurses. This method has side effects and\n   * is not idempotent.\n   *\n   * @internal\n   * @param {string} rootID The root DOM ID for this node.\n   * @param {ReactReconcileTransaction} transaction\n   * @param {number} mountDepth number of components in the owner hierarchy\n   * @return {string} The computed markup.\n   */\n  mountComponent: ReactPerf.measure(\n    'ReactDOMComponent',\n    'mountComponent',\n    function(rootID, transaction, mountDepth) {\n      ReactComponent.Mixin.mountComponent.call(\n        this,\n        rootID,\n        transaction,\n        mountDepth\n      );\n      assertValidProps(this.props);\n      return (\n        this._createOpenTagMarkup() +\n        this._createContentMarkup(transaction) +\n        this._tagClose\n      );\n    }\n  ),\n\n  /**\n   * Creates markup for the open tag and all attributes.\n   *\n   * This method has side effects because events get registered.\n   *\n   * Iterating over object properties is faster than iterating over arrays.\n   * @see http://jsperf.com/obj-vs-arr-iteration\n   *\n   * @private\n   * @return {string} Markup of opening tag.\n   */\n  _createOpenTagMarkup: function() {\n    var props = this.props;\n    var ret = this._tagOpen;\n\n    for (var propKey in props) {\n      if (!props.hasOwnProperty(propKey)) {\n        continue;\n      }\n      var propValue = props[propKey];\n      if (propValue == null) {\n        continue;\n      }\n      if (registrationNames[propKey]) {\n        putListener(this._rootNodeID, propKey, propValue);\n      } else {\n        if (propKey === STYLE) {\n          if (propValue) {\n            propValue = props.style = merge(props.style);\n          }\n          propValue = CSSPropertyOperations.createMarkupForStyles(propValue);\n        }\n        var markup =\n          DOMPropertyOperations.createMarkupForProperty(propKey, propValue);\n        if (markup) {\n          ret += ' ' + markup;\n        }\n      }\n    }\n\n    var escapedID = escapeTextForBrowser(this._rootNodeID);\n    return ret + ' ' + ReactMount.ATTR_NAME + '=\"' + escapedID + '\">';\n  },\n\n  /**\n   * Creates markup for the content between the tags.\n   *\n   * @private\n   * @param {ReactReconcileTransaction} transaction\n   * @return {string} Content markup.\n   */\n  _createContentMarkup: function(transaction) {\n    // Intentional use of != to avoid catching zero/false.\n    var innerHTML = this.props.dangerouslySetInnerHTML;\n    if (innerHTML != null) {\n      if (innerHTML.__html != null) {\n        return innerHTML.__html;\n      }\n    } else {\n      var contentToUse =\n        CONTENT_TYPES[typeof this.props.children] ? this.props.children : null;\n      var childrenToUse = contentToUse != null ? null : this.props.children;\n      if (contentToUse != null) {\n        return escapeTextForBrowser(contentToUse);\n      } else if (childrenToUse != null) {\n        var mountImages = this.mountChildren(\n          childrenToUse,\n          transaction\n        );\n        return mountImages.join('');\n      }\n    }\n    return '';\n  },\n\n  receiveComponent: function(nextComponent, transaction) {\n    assertValidProps(nextComponent.props);\n    ReactComponent.Mixin.receiveComponent.call(\n      this,\n      nextComponent,\n      transaction\n    );\n  },\n\n  /**\n   * Updates a native DOM component after it has already been allocated and\n   * attached to the DOM. Reconciles the root DOM node, then recurses.\n   *\n   * @param {ReactReconcileTransaction} transaction\n   * @param {object} prevProps\n   * @internal\n   * @overridable\n   */\n  updateComponent: ReactPerf.measure(\n    'ReactDOMComponent',\n    'updateComponent',\n    function(transaction, prevProps) {\n      ReactComponent.Mixin.updateComponent.call(this, transaction, prevProps);\n      this._updateDOMProperties(prevProps);\n      this._updateDOMChildren(prevProps, transaction);\n    }\n  ),\n\n  /**\n   * Reconciles the properties by detecting differences in property values and\n   * updating the DOM as necessary. This function is probably the single most\n   * critical path for performance optimization.\n   *\n   * TODO: Benchmark whether checking for changed values in memory actually\n   *       improves performance (especially statically positioned elements).\n   * TODO: Benchmark the effects of putting this at the top since 99% of props\n   *       do not change for a given reconciliation.\n   * TODO: Benchmark areas that can be improved with caching.\n   *\n   * @private\n   * @param {object} lastProps\n   */\n  _updateDOMProperties: function(lastProps) {\n    var nextProps = this.props;\n    var propKey;\n    var styleName;\n    var styleUpdates;\n    for (propKey in lastProps) {\n      if (nextProps.hasOwnProperty(propKey) ||\n         !lastProps.hasOwnProperty(propKey)) {\n        continue;\n      }\n      if (propKey === STYLE) {\n        var lastStyle = lastProps[propKey];\n        for (styleName in lastStyle) {\n          if (lastStyle.hasOwnProperty(styleName)) {\n            styleUpdates = styleUpdates || {};\n            styleUpdates[styleName] = '';\n          }\n        }\n      } else if (registrationNames[propKey]) {\n        deleteListener(this._rootNodeID, propKey);\n      } else if (\n          DOMProperty.isStandardName[propKey] ||\n          DOMProperty.isCustomAttribute(propKey)) {\n        ReactComponent.DOMIDOperations.deletePropertyByID(\n          this._rootNodeID,\n          propKey\n        );\n      }\n    }\n    for (propKey in nextProps) {\n      var nextProp = nextProps[propKey];\n      var lastProp = lastProps[propKey];\n      if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp) {\n        continue;\n      }\n      if (propKey === STYLE) {\n        if (nextProp) {\n          nextProp = nextProps.style = merge(nextProp);\n        }\n        if (lastProp) {\n          // Unset styles on `lastProp` but not on `nextProp`.\n          for (styleName in lastProp) {\n            if (lastProp.hasOwnProperty(styleName) &&\n                !nextProp.hasOwnProperty(styleName)) {\n              styleUpdates = styleUpdates || {};\n              styleUpdates[styleName] = '';\n            }\n          }\n          // Update styles that changed since `lastProp`.\n          for (styleName in nextProp) {\n            if (nextProp.hasOwnProperty(styleName) &&\n                lastProp[styleName] !== nextProp[styleName]) {\n              styleUpdates = styleUpdates || {};\n              styleUpdates[styleName] = nextProp[styleName];\n            }\n          }\n        } else {\n          // Relies on `updateStylesByID` not mutating `styleUpdates`.\n          styleUpdates = nextProp;\n        }\n      } else if (registrationNames[propKey]) {\n        putListener(this._rootNodeID, propKey, nextProp);\n      } else if (\n          DOMProperty.isStandardName[propKey] ||\n          DOMProperty.isCustomAttribute(propKey)) {\n        ReactComponent.DOMIDOperations.updatePropertyByID(\n          this._rootNodeID,\n          propKey,\n          nextProp\n        );\n      }\n    }\n    if (styleUpdates) {\n      ReactComponent.DOMIDOperations.updateStylesByID(\n        this._rootNodeID,\n        styleUpdates\n      );\n    }\n  },\n\n  /**\n   * Reconciles the children with the various properties that affect the\n   * children content.\n   *\n   * @param {object} lastProps\n   * @param {ReactReconcileTransaction} transaction\n   */\n  _updateDOMChildren: function(lastProps, transaction) {\n    var nextProps = this.props;\n\n    var lastContent =\n      CONTENT_TYPES[typeof lastProps.children] ? lastProps.children : null;\n    var nextContent =\n      CONTENT_TYPES[typeof nextProps.children] ? nextProps.children : null;\n\n    var lastHtml =\n      lastProps.dangerouslySetInnerHTML &&\n      lastProps.dangerouslySetInnerHTML.__html;\n    var nextHtml =\n      nextProps.dangerouslySetInnerHTML &&\n      nextProps.dangerouslySetInnerHTML.__html;\n\n    // Note the use of `!=` which checks for null or undefined.\n    var lastChildren = lastContent != null ? null : lastProps.children;\n    var nextChildren = nextContent != null ? null : nextProps.children;\n\n    // If we're switching from children to content/html or vice versa, remove\n    // the old content\n    var lastHasContentOrHtml = lastContent != null || lastHtml != null;\n    var nextHasContentOrHtml = nextContent != null || nextHtml != null;\n    if (lastChildren != null && nextChildren == null) {\n      this.updateChildren(null, transaction);\n    } else if (lastHasContentOrHtml && !nextHasContentOrHtml) {\n      this.updateTextContent('');\n    }\n\n    if (nextContent != null) {\n      if (lastContent !== nextContent) {\n        this.updateTextContent('' + nextContent);\n      }\n    } else if (nextHtml != null) {\n      if (lastHtml !== nextHtml) {\n        ReactComponent.DOMIDOperations.updateInnerHTMLByID(\n          this._rootNodeID,\n          nextHtml\n        );\n      }\n    } else if (nextChildren != null) {\n      this.updateChildren(nextChildren, transaction);\n    }\n  },\n\n  /**\n   * Destroys all event registrations for this instance. Does not remove from\n   * the DOM. That must be done by the parent.\n   *\n   * @internal\n   */\n  unmountComponent: function() {\n    ReactEventEmitter.deleteAllListeners(this._rootNodeID);\n    ReactComponent.Mixin.unmountComponent.call(this);\n    this.unmountChildren();\n  }\n\n};\n\nmixInto(ReactDOMComponent, ReactComponent.Mixin);\nmixInto(ReactDOMComponent, ReactDOMComponent.Mixin);\nmixInto(ReactDOMComponent, ReactMultiChild.Mixin);\n\nmodule.exports = ReactDOMComponent;\n\n},{\"./CSSPropertyOperations\":3,\"./DOMProperty\":8,\"./DOMPropertyOperations\":9,\"./ReactComponent\":25,\"./ReactEventEmitter\":44,\"./ReactMount\":50,\"./ReactMultiChild\":52,\"./ReactPerf\":55,\"./escapeTextForBrowser\":84,\"./invariant\":98,\"./keyOf\":105,\"./merge\":107,\"./mixInto\":110}],33:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMForm\n */\n\n\"use strict\";\n\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar EventConstants = require(\"./EventConstants\");\n\n// Store a reference to the <form> `ReactDOMComponent`.\nvar form = ReactDOM.form;\n\n/**\n * Since onSubmit doesn't bubble OR capture on the top level in IE8, we need\n * to capture it on the <form> element itself. There are lots of hacks we could\n * do to accomplish this, but the most reliable is to make <form> a\n * composite component and use `componentDidMount` to attach the event handlers.\n */\nvar ReactDOMForm = ReactCompositeComponent.createClass({\n  render: function() {\n    // TODO: Instead of using `ReactDOM` directly, we should use JSX. However,\n    // `jshint` fails to parse JSX so in order for linting to work in the open\n    // source repo, we need to just use `ReactDOM.form`.\n    return this.transferPropsTo(form(null, this.props.children));\n  },\n\n  componentDidMount: function(node) {\n    ReactEventEmitter.trapBubbledEvent(\n      EventConstants.topLevelTypes.topSubmit,\n      'submit',\n      node\n    );\n  }\n});\n\nmodule.exports = ReactDOMForm;\n\n},{\"./EventConstants\":14,\"./ReactCompositeComponent\":28,\"./ReactDOM\":30,\"./ReactEventEmitter\":44}],34:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMIDOperations\n * @typechecks static-only\n */\n\n/*jslint evil: true */\n\n\"use strict\";\n\nvar CSSPropertyOperations = require(\"./CSSPropertyOperations\");\nvar DOMChildrenOperations = require(\"./DOMChildrenOperations\");\nvar DOMPropertyOperations = require(\"./DOMPropertyOperations\");\nvar ReactMount = require(\"./ReactMount\");\n\nvar getTextContentAccessor = require(\"./getTextContentAccessor\");\nvar invariant = require(\"./invariant\");\n\n/**\n * Errors for properties that should not be updated with `updatePropertyById()`.\n *\n * @type {object}\n * @private\n */\nvar INVALID_PROPERTY_ERRORS = {\n  dangerouslySetInnerHTML:\n    '`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.',\n  style: '`style` must be set using `updateStylesByID()`.'\n};\n\n/**\n * The DOM property to use when setting text content.\n *\n * @type {string}\n * @private\n */\nvar textContentAccessor = getTextContentAccessor() || 'NA';\n\nvar LEADING_SPACE = /^ /;\n\n/**\n * Operations used to process updates to DOM nodes. This is made injectable via\n * `ReactComponent.DOMIDOperations`.\n */\nvar ReactDOMIDOperations = {\n\n  /**\n   * Updates a DOM node with new property values. This should only be used to\n   * update DOM properties in `DOMProperty`.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {string} name A valid property name, see `DOMProperty`.\n   * @param {*} value New value of the property.\n   * @internal\n   */\n  updatePropertyByID: function(id, name, value) {\n    var node = ReactMount.getNode(id);\n    (\"production\" !== \"development\" ? invariant(\n      !INVALID_PROPERTY_ERRORS.hasOwnProperty(name),\n      'updatePropertyByID(...): %s',\n      INVALID_PROPERTY_ERRORS[name]\n    ) : invariant(!INVALID_PROPERTY_ERRORS.hasOwnProperty(name)));\n\n    // If we're updating to null or undefined, we should remove the property\n    // from the DOM node instead of inadvertantly setting to a string. This\n    // brings us in line with the same behavior we have on initial render.\n    if (value != null) {\n      DOMPropertyOperations.setValueForProperty(node, name, value);\n    } else {\n      DOMPropertyOperations.deleteValueForProperty(node, name);\n    }\n  },\n\n  /**\n   * Updates a DOM node to remove a property. This should only be used to remove\n   * DOM properties in `DOMProperty`.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {string} name A property name to remove, see `DOMProperty`.\n   * @internal\n   */\n  deletePropertyByID: function(id, name, value) {\n    var node = ReactMount.getNode(id);\n    (\"production\" !== \"development\" ? invariant(\n      !INVALID_PROPERTY_ERRORS.hasOwnProperty(name),\n      'updatePropertyByID(...): %s',\n      INVALID_PROPERTY_ERRORS[name]\n    ) : invariant(!INVALID_PROPERTY_ERRORS.hasOwnProperty(name)));\n    DOMPropertyOperations.deleteValueForProperty(node, name, value);\n  },\n\n  /**\n   * Updates a DOM node with new style values. If a value is specified as '',\n   * the corresponding style property will be unset.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {object} styles Mapping from styles to values.\n   * @internal\n   */\n  updateStylesByID: function(id, styles) {\n    var node = ReactMount.getNode(id);\n    CSSPropertyOperations.setValueForStyles(node, styles);\n  },\n\n  /**\n   * Updates a DOM node's innerHTML.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {string} html An HTML string.\n   * @internal\n   */\n  updateInnerHTMLByID: function(id, html) {\n    var node = ReactMount.getNode(id);\n    // HACK: IE8- normalize whitespace in innerHTML, removing leading spaces.\n    // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n    node.innerHTML = html.replace(LEADING_SPACE, '&nbsp;');\n  },\n\n  /**\n   * Updates a DOM node's text content set by `props.content`.\n   *\n   * @param {string} id ID of the node to update.\n   * @param {string} content Text content.\n   * @internal\n   */\n  updateTextContentByID: function(id, content) {\n    var node = ReactMount.getNode(id);\n    node[textContentAccessor] = content;\n  },\n\n  /**\n   * Replaces a DOM node that exists in the document with markup.\n   *\n   * @param {string} id ID of child to be replaced.\n   * @param {string} markup Dangerous markup to inject in place of child.\n   * @internal\n   * @see {Danger.dangerouslyReplaceNodeWithMarkup}\n   */\n  dangerouslyReplaceNodeWithMarkupByID: function(id, markup) {\n    var node = ReactMount.getNode(id);\n    DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup(node, markup);\n  },\n\n  /**\n   * Updates a component's children by processing a series of updates.\n   *\n   * @param {array<object>} updates List of update configurations.\n   * @param {array<string>} markup List of markup strings.\n   * @internal\n   */\n  dangerouslyProcessChildrenUpdates: function(updates, markup) {\n    for (var i = 0; i < updates.length; i++) {\n      updates[i].parentNode = ReactMount.getNode(updates[i].parentID);\n    }\n    DOMChildrenOperations.processUpdates(updates, markup);\n  }\n\n};\n\nmodule.exports = ReactDOMIDOperations;\n\n},{\"./CSSPropertyOperations\":3,\"./DOMChildrenOperations\":7,\"./DOMPropertyOperations\":9,\"./ReactMount\":50,\"./getTextContentAccessor\":95,\"./invariant\":98}],35:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMInput\n */\n\n\"use strict\";\n\nvar DOMPropertyOperations = require(\"./DOMPropertyOperations\");\nvar LinkedValueMixin = require(\"./LinkedValueMixin\");\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\nvar ReactMount = require(\"./ReactMount\");\n\nvar invariant = require(\"./invariant\");\nvar merge = require(\"./merge\");\n\n// Store a reference to the <input> `ReactDOMComponent`.\nvar input = ReactDOM.input;\n\nvar instancesByReactID = {};\n\n/**\n * Implements an <input> native component that allows setting these optional\n * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.\n *\n * If `checked` or `value` are not supplied (or null/undefined), user actions\n * that affect the checked state or value will trigger updates to the element.\n *\n * If they are supplied (and not null/undefined), the rendered element will not\n * trigger updates to the element. Instead, the props must change in order for\n * the rendered element to be updated.\n *\n * The rendered element will be initialized as unchecked (or `defaultChecked`)\n * with an empty value (or `defaultValue`).\n *\n * @see http://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html\n */\nvar ReactDOMInput = ReactCompositeComponent.createClass({\n  mixins: [LinkedValueMixin],\n\n  getInitialState: function() {\n    var defaultValue = this.props.defaultValue;\n    return {\n      checked: this.props.defaultChecked || false,\n      value: defaultValue != null ? defaultValue : null\n    };\n  },\n\n  shouldComponentUpdate: function() {\n    // Defer any updates to this component during the `onChange` handler.\n    return !this._isChanging;\n  },\n\n  render: function() {\n    // Clone `this.props` so we don't mutate the input.\n    var props = merge(this.props);\n\n    props.defaultChecked = null;\n    props.defaultValue = null;\n    props.checked =\n      this.props.checked != null ? this.props.checked : this.state.checked;\n\n    var value = this.getValue();\n    props.value = value != null ? value : this.state.value;\n\n    props.onChange = this._handleChange;\n\n    return input(props, this.props.children);\n  },\n\n  componentDidMount: function(rootNode) {\n    var id = ReactMount.getID(rootNode);\n    instancesByReactID[id] = this;\n  },\n\n  componentWillUnmount: function() {\n    var rootNode = this.getDOMNode();\n    var id = ReactMount.getID(rootNode);\n    delete instancesByReactID[id];\n  },\n\n  componentDidUpdate: function(prevProps, prevState, rootNode) {\n    if (this.props.checked != null) {\n      DOMPropertyOperations.setValueForProperty(\n        rootNode,\n        'checked',\n        this.props.checked || false\n      );\n    }\n\n    var value = this.getValue();\n    if (value != null) {\n      // Cast `value` to a string to ensure the value is set correctly. While\n      // browsers typically do this as necessary, jsdom doesn't.\n      DOMPropertyOperations.setValueForProperty(rootNode, 'value', '' + value);\n    }\n  },\n\n  _handleChange: function(event) {\n    var returnValue;\n    var onChange = this.getOnChange();\n    if (onChange) {\n      this._isChanging = true;\n      returnValue = onChange(event);\n      this._isChanging = false;\n    }\n    this.setState({\n      checked: event.target.checked,\n      value: event.target.value\n    });\n\n    var name = this.props.name;\n    if (this.props.type === 'radio' && name != null) {\n      var rootNode = this.getDOMNode();\n      // If `rootNode.form` was non-null, then we could try `form.elements`,\n      // but that sometimes behaves strangely in IE8. We could also try using\n      // `form.getElementsByName`, but that will only return direct children\n      // and won't include inputs that use the HTML5 `form=` attribute. Since\n      // the input might not even be in a form, let's just use the global\n      // `getElementsByName` to ensure we don't miss anything.\n      var group = document.getElementsByName(name);\n      for (var i = 0, groupLen = group.length; i < groupLen; i++) {\n        var otherNode = group[i];\n        if (otherNode === rootNode ||\n            otherNode.nodeName !== 'INPUT' || otherNode.type !== 'radio' ||\n            otherNode.form !== rootNode.form) {\n          continue;\n        }\n        var otherID = ReactMount.getID(otherNode);\n        (\"production\" !== \"development\" ? invariant(\n          otherID,\n          'ReactDOMInput: Mixing React and non-React radio inputs with the ' +\n          'same `name` is not supported.'\n        ) : invariant(otherID));\n        var otherInstance = instancesByReactID[otherID];\n        (\"production\" !== \"development\" ? invariant(\n          otherInstance,\n          'ReactDOMInput: Unknown radio button ID %s.',\n          otherID\n        ) : invariant(otherInstance));\n        // In some cases, this will actually change the `checked` state value.\n        // In other cases, there's no change but this forces a reconcile upon\n        // which componentDidUpdate will reset the DOM property to whatever it\n        // should be.\n        otherInstance.setState({\n          checked: false\n        });\n      }\n    }\n\n    return returnValue;\n  }\n\n});\n\nmodule.exports = ReactDOMInput;\n\n},{\"./DOMPropertyOperations\":9,\"./LinkedValueMixin\":21,\"./ReactCompositeComponent\":28,\"./ReactDOM\":30,\"./ReactMount\":50,\"./invariant\":98,\"./merge\":107}],36:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMOption\n */\n\n\"use strict\";\n\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\n\n// Store a reference to the <option> `ReactDOMComponent`.\nvar option = ReactDOM.option;\n\n/**\n * Implements an <option> native component that warns when `selected` is set.\n */\nvar ReactDOMOption = ReactCompositeComponent.createClass({\n\n  componentWillMount: function() {\n    // TODO (yungsters): Remove support for `selected` in <option>.\n    if (this.props.selected != null) {\n      if (\"production\" !== \"development\") {\n        console.warn(\n          'Use the `defaultValue` or `value` props on <select> instead of ' +\n          'setting `selected` on <option>.'\n        );\n      }\n    }\n  },\n\n  render: function() {\n    return option(this.props, this.props.children);\n  }\n\n});\n\nmodule.exports = ReactDOMOption;\n\n},{\"./ReactCompositeComponent\":28,\"./ReactDOM\":30}],37:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMSelect\n */\n\n\"use strict\";\n\nvar LinkedValueMixin = require(\"./LinkedValueMixin\");\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\n\nvar invariant = require(\"./invariant\");\nvar merge = require(\"./merge\");\n\n// Store a reference to the <select> `ReactDOMComponent`.\nvar select = ReactDOM.select;\n\n/**\n * Validation function for `value` and `defaultValue`.\n * @private\n */\nfunction selectValueType(props, propName, componentName) {\n  if (props[propName] == null) {\n    return;\n  }\n  if (props.multiple) {\n    (\"production\" !== \"development\" ? invariant(\n      Array.isArray(props[propName]),\n      'The `%s` prop supplied to <select> must be an array if `multiple` is ' +\n      'true.',\n      propName\n    ) : invariant(Array.isArray(props[propName])));\n  } else {\n    (\"production\" !== \"development\" ? invariant(\n      !Array.isArray(props[propName]),\n      'The `%s` prop supplied to <select> must be a scalar value if ' +\n      '`multiple` is false.',\n      propName\n    ) : invariant(!Array.isArray(props[propName])));\n  }\n}\n\n/**\n * If `value` is supplied, updates <option> elements on mount and update.\n * @private\n */\nfunction updateOptions() {\n  /*jshint validthis:true */\n  var propValue = this.getValue();\n  var value = propValue != null ? propValue : this.state.value;\n  var options = this.getDOMNode().options;\n  var selectedValue = '' + value;\n\n  for (var i = 0, l = options.length; i < l; i++) {\n    var selected = this.props.multiple ?\n      selectedValue.indexOf(options[i].value) >= 0 :\n      selected = options[i].value === selectedValue;\n\n    if (selected !== options[i].selected) {\n      options[i].selected = selected;\n    }\n  }\n}\n\n/**\n * Implements a <select> native component that allows optionally setting the\n * props `value` and `defaultValue`. If `multiple` is false, the prop must be a\n * string. If `multiple` is true, the prop must be an array of strings.\n *\n * If `value` is not supplied (or null/undefined), user actions that change the\n * selected option will trigger updates to the rendered options.\n *\n * If it is supplied (and not null/undefined), the rendered options will not\n * update in response to user actions. Instead, the `value` prop must change in\n * order for the rendered options to update.\n *\n * If `defaultValue` is provided, any options with the supplied values will be\n * selected.\n */\nvar ReactDOMSelect = ReactCompositeComponent.createClass({\n  mixins: [LinkedValueMixin],\n\n  propTypes: {\n    defaultValue: selectValueType,\n    value: selectValueType\n  },\n\n  getInitialState: function() {\n    return {value: this.props.defaultValue || (this.props.multiple ? [] : '')};\n  },\n\n  componentWillReceiveProps: function(nextProps) {\n    if (!this.props.multiple && nextProps.multiple) {\n      this.setState({value: [this.state.value]});\n    } else if (this.props.multiple && !nextProps.multiple) {\n      this.setState({value: this.state.value[0]});\n    }\n  },\n\n  shouldComponentUpdate: function() {\n    // Defer any updates to this component during the `onChange` handler.\n    return !this._isChanging;\n  },\n\n  render: function() {\n    // Clone `this.props` so we don't mutate the input.\n    var props = merge(this.props);\n\n    props.onChange = this._handleChange;\n    props.value = null;\n\n    return select(props, this.props.children);\n  },\n\n  componentDidMount: updateOptions,\n\n  componentDidUpdate: updateOptions,\n\n  _handleChange: function(event) {\n    var returnValue;\n    var onChange = this.getOnChange();\n    if (onChange) {\n      this._isChanging = true;\n      returnValue = onChange(event);\n      this._isChanging = false;\n    }\n\n    var selectedValue;\n    if (this.props.multiple) {\n      selectedValue = [];\n      var options = event.target.options;\n      for (var i = 0, l = options.length; i < l; i++) {\n        if (options[i].selected) {\n          selectedValue.push(options[i].value);\n        }\n      }\n    } else {\n      selectedValue = event.target.value;\n    }\n\n    this.setState({value: selectedValue});\n    return returnValue;\n  }\n\n});\n\nmodule.exports = ReactDOMSelect;\n\n},{\"./LinkedValueMixin\":21,\"./ReactCompositeComponent\":28,\"./ReactDOM\":30,\"./invariant\":98,\"./merge\":107}],38:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMSelection\n */\n\n\"use strict\";\n\nvar getNodeForCharacterOffset = require(\"./getNodeForCharacterOffset\");\nvar getTextContentAccessor = require(\"./getTextContentAccessor\");\n\n/**\n * Get the appropriate anchor and focus node/offset pairs for IE.\n *\n * The catch here is that IE's selection API doesn't provide information\n * about whether the selection is forward or backward, so we have to\n * behave as though it's always forward.\n *\n * IE text differs from modern selection in that it behaves as though\n * block elements end with a new line. This means character offsets will\n * differ between the two APIs.\n *\n * @param {DOMElement} node\n * @return {object}\n */\nfunction getIEOffsets(node) {\n  var selection = document.selection;\n  var selectedRange = selection.createRange();\n  var selectedLength = selectedRange.text.length;\n\n  // Duplicate selection so we can move range without breaking user selection.\n  var fromStart = selectedRange.duplicate();\n  fromStart.moveToElementText(node);\n  fromStart.setEndPoint('EndToStart', selectedRange);\n\n  var startOffset = fromStart.text.length;\n  var endOffset = startOffset + selectedLength;\n\n  return {\n    start: startOffset,\n    end: endOffset\n  };\n}\n\n/**\n * @param {DOMElement} node\n * @return {?object}\n */\nfunction getModernOffsets(node) {\n  var selection = window.getSelection();\n\n  if (selection.rangeCount === 0) {\n    return null;\n  }\n\n  var anchorNode = selection.anchorNode;\n  var anchorOffset = selection.anchorOffset;\n  var focusNode = selection.focusNode;\n  var focusOffset = selection.focusOffset;\n\n  var currentRange = selection.getRangeAt(0);\n  var rangeLength = currentRange.toString().length;\n\n  var tempRange = currentRange.cloneRange();\n  tempRange.selectNodeContents(node);\n  tempRange.setEnd(currentRange.startContainer, currentRange.startOffset);\n\n  var start = tempRange.toString().length;\n  var end = start + rangeLength;\n\n  // Detect whether the selection is backward.\n  var detectionRange = document.createRange();\n  detectionRange.setStart(anchorNode, anchorOffset);\n  detectionRange.setEnd(focusNode, focusOffset);\n  var isBackward = detectionRange.collapsed;\n  detectionRange.detach();\n\n  return {\n    start: isBackward ? end : start,\n    end: isBackward ? start : end\n  };\n}\n\n/**\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setIEOffsets(node, offsets) {\n  var range = document.selection.createRange().duplicate();\n  var start, end;\n\n  if (typeof offsets.end === 'undefined') {\n    start = offsets.start;\n    end = start;\n  } else if (offsets.start > offsets.end) {\n    start = offsets.end;\n    end = offsets.start;\n  } else {\n    start = offsets.start;\n    end = offsets.end;\n  }\n\n  range.moveToElementText(node);\n  range.moveStart('character', start);\n  range.setEndPoint('EndToStart', range);\n  range.moveEnd('character', end - start);\n  range.select();\n}\n\n/**\n * In modern non-IE browsers, we can support both forward and backward\n * selections.\n *\n * Note: IE10+ supports the Selection object, but it does not support\n * the `extend` method, which means that even in modern IE, it's not possible\n * to programatically create a backward selection. Thus, for all IE\n * versions, we use the old IE API to create our selections.\n *\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setModernOffsets(node, offsets) {\n  var selection = window.getSelection();\n\n  var length = node[getTextContentAccessor()].length;\n  var start = Math.min(offsets.start, length);\n  var end = typeof offsets.end === 'undefined' ?\n            start : Math.min(offsets.end, length);\n\n  // IE 11 uses modern selection, but doesn't support the extend method.\n  // Flip backward selections, so we can set with a single range.\n  if (!selection.extend && start > end) {\n    var temp = end;\n    end = start;\n    start = temp;\n  }\n\n  var startMarker = getNodeForCharacterOffset(node, start);\n  var endMarker = getNodeForCharacterOffset(node, end);\n\n  if (startMarker && endMarker) {\n    var range = document.createRange();\n    range.setStart(startMarker.node, startMarker.offset);\n    selection.removeAllRanges();\n\n    if (start > end) {\n      selection.addRange(range);\n      selection.extend(endMarker.node, endMarker.offset);\n    } else {\n      range.setEnd(endMarker.node, endMarker.offset);\n      selection.addRange(range);\n    }\n\n    range.detach();\n  }\n}\n\nvar ReactDOMSelection = {\n  /**\n   * @param {DOMElement} node\n   */\n  getOffsets: function(node) {\n    var getOffsets = document.selection ? getIEOffsets : getModernOffsets;\n    return getOffsets(node);\n  },\n\n  /**\n   * @param {DOMElement|DOMTextNode} node\n   * @param {object} offsets\n   */\n  setOffsets: function(node, offsets) {\n    var setOffsets = document.selection ? setIEOffsets : setModernOffsets;\n    setOffsets(node, offsets);\n  }\n};\n\nmodule.exports = ReactDOMSelection;\n\n},{\"./getNodeForCharacterOffset\":93,\"./getTextContentAccessor\":95}],39:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDOMTextarea\n */\n\n\"use strict\";\n\nvar DOMPropertyOperations = require(\"./DOMPropertyOperations\");\nvar LinkedValueMixin = require(\"./LinkedValueMixin\");\nvar ReactCompositeComponent = require(\"./ReactCompositeComponent\");\nvar ReactDOM = require(\"./ReactDOM\");\n\nvar invariant = require(\"./invariant\");\nvar merge = require(\"./merge\");\n\n// Store a reference to the <textarea> `ReactDOMComponent`.\nvar textarea = ReactDOM.textarea;\n\n/**\n * Implements a <textarea> native component that allows setting `value`, and\n * `defaultValue`. This differs from the traditional DOM API because value is\n * usually set as PCDATA children.\n *\n * If `value` is not supplied (or null/undefined), user actions that affect the\n * value will trigger updates to the element.\n *\n * If `value` is supplied (and not null/undefined), the rendered element will\n * not trigger updates to the element. Instead, the `value` prop must change in\n * order for the rendered element to be updated.\n *\n * The rendered element will be initialized with an empty value, the prop\n * `defaultValue` if specified, or the children content (deprecated).\n */\nvar ReactDOMTextarea = ReactCompositeComponent.createClass({\n  mixins: [LinkedValueMixin],\n\n  getInitialState: function() {\n    var defaultValue = this.props.defaultValue;\n    // TODO (yungsters): Remove support for children content in <textarea>.\n    var children = this.props.children;\n    if (children != null) {\n      if (\"production\" !== \"development\") {\n        console.warn(\n          'Use the `defaultValue` or `value` props instead of setting ' +\n          'children on <textarea>.'\n        );\n      }\n      (\"production\" !== \"development\" ? invariant(\n        defaultValue == null,\n        'If you supply `defaultValue` on a <textarea>, do not pass children.'\n      ) : invariant(defaultValue == null));\n      if (Array.isArray(children)) {\n        (\"production\" !== \"development\" ? invariant(\n          children.length <= 1,\n          '<textarea> can only have at most one child.'\n        ) : invariant(children.length <= 1));\n        children = children[0];\n      }\n\n      defaultValue = '' + children;\n    }\n    if (defaultValue == null) {\n      defaultValue = '';\n    }\n    var value = this.getValue();\n    return {\n      // We save the initial value so that `ReactDOMComponent` doesn't update\n      // `textContent` (unnecessary since we update value).\n      // The initial value can be a boolean or object so that's why it's\n      // forced to be a string.\n      initialValue: '' + (value != null ? value : defaultValue),\n      value: defaultValue\n    };\n  },\n\n  shouldComponentUpdate: function() {\n    // Defer any updates to this component during the `onChange` handler.\n    return !this._isChanging;\n  },\n\n  render: function() {\n    // Clone `this.props` so we don't mutate the input.\n    var props = merge(this.props);\n    var value = this.getValue();\n\n    (\"production\" !== \"development\" ? invariant(\n      props.dangerouslySetInnerHTML == null,\n      '`dangerouslySetInnerHTML` does not make sense on <textarea>.'\n    ) : invariant(props.dangerouslySetInnerHTML == null));\n\n    props.defaultValue = null;\n    props.value = value != null ? value : this.state.value;\n    props.onChange = this._handleChange;\n\n    // Always set children to the same thing. In IE9, the selection range will\n    // get reset if `textContent` is mutated.\n    return textarea(props, this.state.initialValue);\n  },\n\n  componentDidUpdate: function(prevProps, prevState, rootNode) {\n    var value = this.getValue();\n    if (value != null) {\n      // Cast `value` to a string to ensure the value is set correctly. While\n      // browsers typically do this as necessary, jsdom doesn't.\n      DOMPropertyOperations.setValueForProperty(rootNode, 'value', '' + value);\n    }\n  },\n\n  _handleChange: function(event) {\n    var returnValue;\n    var onChange = this.getOnChange();\n    if (onChange) {\n      this._isChanging = true;\n      returnValue = onChange(event);\n      this._isChanging = false;\n    }\n    this.setState({value: event.target.value});\n    return returnValue;\n  }\n\n});\n\nmodule.exports = ReactDOMTextarea;\n\n},{\"./DOMPropertyOperations\":9,\"./LinkedValueMixin\":21,\"./ReactCompositeComponent\":28,\"./ReactDOM\":30,\"./invariant\":98,\"./merge\":107}],40:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDefaultBatchingStrategy\n */\n\n\"use strict\";\n\nvar ReactUpdates = require(\"./ReactUpdates\");\nvar Transaction = require(\"./Transaction\");\n\nvar emptyFunction = require(\"./emptyFunction\");\nvar mixInto = require(\"./mixInto\");\n\nvar RESET_BATCHED_UPDATES = {\n  initialize: emptyFunction,\n  close: function() {\n    ReactDefaultBatchingStrategy.isBatchingUpdates = false;\n  }\n};\n\nvar FLUSH_BATCHED_UPDATES = {\n  initialize: emptyFunction,\n  close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates)\n};\n\nvar TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES];\n\nfunction ReactDefaultBatchingStrategyTransaction() {\n  this.reinitializeTransaction();\n}\n\nmixInto(ReactDefaultBatchingStrategyTransaction, Transaction.Mixin);\nmixInto(ReactDefaultBatchingStrategyTransaction, {\n  getTransactionWrappers: function() {\n    return TRANSACTION_WRAPPERS;\n  }\n});\n\nvar transaction = new ReactDefaultBatchingStrategyTransaction();\n\nvar ReactDefaultBatchingStrategy = {\n  isBatchingUpdates: false,\n\n  /**\n   * Call the provided function in a context within which calls to `setState`\n   * and friends are batched such that components aren't updated unnecessarily.\n   */\n  batchedUpdates: function(callback, param) {\n    var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates;\n\n    ReactDefaultBatchingStrategy.isBatchingUpdates = true;\n\n    // The code is written this way to avoid extra allocations\n    if (alreadyBatchingUpdates) {\n      callback(param);\n    } else {\n      transaction.perform(callback, null, param);\n    }\n  }\n};\n\nmodule.exports = ReactDefaultBatchingStrategy;\n\n},{\"./ReactUpdates\":61,\"./Transaction\":73,\"./emptyFunction\":83,\"./mixInto\":110}],41:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDefaultInjection\n */\n\n\"use strict\";\n\nvar ReactDOM = require(\"./ReactDOM\");\nvar ReactDOMButton = require(\"./ReactDOMButton\");\nvar ReactDOMForm = require(\"./ReactDOMForm\");\nvar ReactDOMInput = require(\"./ReactDOMInput\");\nvar ReactDOMOption = require(\"./ReactDOMOption\");\nvar ReactDOMSelect = require(\"./ReactDOMSelect\");\nvar ReactDOMTextarea = require(\"./ReactDOMTextarea\");\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactEventTopLevelCallback = require(\"./ReactEventTopLevelCallback\");\nvar ReactPerf = require(\"./ReactPerf\");\n\nvar DefaultDOMPropertyConfig = require(\"./DefaultDOMPropertyConfig\");\nvar DOMProperty = require(\"./DOMProperty\");\n\nvar ChangeEventPlugin = require(\"./ChangeEventPlugin\");\nvar CompositionEventPlugin = require(\"./CompositionEventPlugin\");\nvar DefaultEventPluginOrder = require(\"./DefaultEventPluginOrder\");\nvar EnterLeaveEventPlugin = require(\"./EnterLeaveEventPlugin\");\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar MobileSafariClickEventPlugin = require(\"./MobileSafariClickEventPlugin\");\nvar ReactInstanceHandles = require(\"./ReactInstanceHandles\");\nvar SelectEventPlugin = require(\"./SelectEventPlugin\");\nvar SimpleEventPlugin = require(\"./SimpleEventPlugin\");\n\nvar ReactDefaultBatchingStrategy = require(\"./ReactDefaultBatchingStrategy\");\nvar ReactUpdates = require(\"./ReactUpdates\");\n\nfunction inject() {\n  ReactEventEmitter.TopLevelCallbackCreator = ReactEventTopLevelCallback;\n  /**\n   * Inject module for resolving DOM hierarchy and plugin ordering.\n   */\n  EventPluginHub.injection.injectEventPluginOrder(DefaultEventPluginOrder);\n  EventPluginHub.injection.injectInstanceHandle(ReactInstanceHandles);\n\n  /**\n   * Some important event plugins included by default (without having to require\n   * them).\n   */\n  EventPluginHub.injection.injectEventPluginsByName({\n    SimpleEventPlugin: SimpleEventPlugin,\n    EnterLeaveEventPlugin: EnterLeaveEventPlugin,\n    ChangeEventPlugin: ChangeEventPlugin,\n    CompositionEventPlugin: CompositionEventPlugin,\n    MobileSafariClickEventPlugin: MobileSafariClickEventPlugin,\n    SelectEventPlugin: SelectEventPlugin\n  });\n\n  ReactDOM.injection.injectComponentClasses({\n    button: ReactDOMButton,\n    form: ReactDOMForm,\n    input: ReactDOMInput,\n    option: ReactDOMOption,\n    select: ReactDOMSelect,\n    textarea: ReactDOMTextarea\n  });\n\n  DOMProperty.injection.injectDOMPropertyConfig(DefaultDOMPropertyConfig);\n\n  if (\"production\" !== \"development\") {\n    ReactPerf.injection.injectMeasure(require(\"./ReactDefaultPerf\").measure);\n  }\n\n  ReactUpdates.injection.injectBatchingStrategy(\n    ReactDefaultBatchingStrategy\n  );\n}\n\nmodule.exports = {\n  inject: inject\n};\n\n},{\"./ChangeEventPlugin\":5,\"./CompositionEventPlugin\":6,\"./DOMProperty\":8,\"./DefaultDOMPropertyConfig\":11,\"./DefaultEventPluginOrder\":12,\"./EnterLeaveEventPlugin\":13,\"./EventPluginHub\":16,\"./MobileSafariClickEventPlugin\":22,\"./ReactDOM\":30,\"./ReactDOMButton\":31,\"./ReactDOMForm\":33,\"./ReactDOMInput\":35,\"./ReactDOMOption\":36,\"./ReactDOMSelect\":37,\"./ReactDOMTextarea\":39,\"./ReactDefaultBatchingStrategy\":40,\"./ReactDefaultPerf\":42,\"./ReactEventEmitter\":44,\"./ReactEventTopLevelCallback\":46,\"./ReactInstanceHandles\":48,\"./ReactPerf\":55,\"./ReactUpdates\":61,\"./SelectEventPlugin\":62,\"./SimpleEventPlugin\":63}],42:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactDefaultPerf\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar performanceNow = require(\"./performanceNow\");\n\nvar ReactDefaultPerf = {};\n\nif (\"production\" !== \"development\") {\n  ReactDefaultPerf = {\n    /**\n     * Gets the stored information for a given object's function.\n     *\n     * @param {string} objName\n     * @param {string} fnName\n     * @return {?object}\n     */\n    getInfo: function(objName, fnName) {\n      if (!this.info[objName] || !this.info[objName][fnName]) {\n        return null;\n      }\n      return this.info[objName][fnName];\n    },\n\n    /**\n     * Gets the logs pertaining to a given object's function.\n     *\n     * @param {string} objName\n     * @param {string} fnName\n     * @return {?array<object>}\n     */\n    getLogs: function(objName, fnName) {\n      if (!this.getInfo(objName, fnName)) {\n        return null;\n      }\n      return this.logs.filter(function(log) {\n        return log.objName === objName && log.fnName === fnName;\n      });\n    },\n\n    /**\n     * Runs through the logs and builds an array of arrays, where each array\n     * walks through the mounting/updating of each component underneath.\n     *\n     * @param {string} rootID The reactID of the root node, e.g. '.r[2cpyq]'\n     * @return {array<array>}\n     */\n    getRawRenderHistory: function(rootID) {\n      var history = [];\n      /**\n       * Since logs are added after the method returns, the logs are in a sense\n       * upside-down: the inner-most elements from mounting/updating are logged\n       * first, and the last addition to the log is the top renderComponent.\n       * Therefore, we flip the logs upside down for ease of processing, and\n       * reverse the history array at the end so the earliest event has index 0.\n       */\n      var logs = this.logs.filter(function(log) {\n        return log.reactID.indexOf(rootID) === 0;\n      }).reverse();\n\n      var subHistory = [];\n      logs.forEach(function(log, i) {\n        if (i && log.reactID === rootID && logs[i - 1].reactID !== rootID) {\n          subHistory.length && history.push(subHistory);\n          subHistory = [];\n        }\n        subHistory.push(log);\n      });\n      if (subHistory.length) {\n        history.push(subHistory);\n      }\n      return history.reverse();\n    },\n\n    /**\n     * Runs through the logs and builds an array of strings, where each string\n     * is a multiline formatted way of walking through the mounting/updating\n     * underneath.\n     *\n     * @param {string} rootID The reactID of the root node, e.g. '.r[2cpyq]'\n     * @return {array<string>}\n     */\n    getRenderHistory: function(rootID) {\n      var history = this.getRawRenderHistory(rootID);\n\n      return history.map(function(subHistory) {\n        var headerString = (\n          'log# Component (execution time) [bloat from logging]\\n' +\n          '================================================================\\n'\n        );\n        return headerString + subHistory.map(function(log) {\n          // Add two spaces for every layer in the reactID.\n          var indents = '\\t' + Array(log.reactID.split('.[').length).join('  ');\n          var delta = _microTime(log.timing.delta);\n          var bloat = _microTime(log.timing.timeToLog);\n\n          return log.index + indents + log.name + ' (' + delta + 'ms)' +\n            ' [' + bloat + 'ms]';\n        }).join('\\n');\n      });\n    },\n\n    /**\n     * Print the render history from `getRenderHistory` using console.log.\n     * This is currently the best way to display perf data from\n     * any React component; working on that.\n     *\n     * @param {string} rootID The reactID of the root node, e.g. '.r[2cpyq]'\n     * @param {number} index\n     */\n    printRenderHistory: function(rootID, index) {\n      var history = this.getRenderHistory(rootID);\n      if (!history[index]) {\n        console.warn(\n          'Index', index, 'isn\\'t available! ' +\n          'The render history is', history.length, 'long.'\n        );\n        return;\n      }\n      console.log(\n        'Loading render history #' + (index + 1) +\n        ' of ' + history.length + ':\\n' + history[index]\n      );\n    },\n\n    /**\n     * Prints the heatmap legend to console, showing how the colors correspond\n     * with render times. This relies on console.log styles.\n     */\n    printHeatmapLegend: function() {\n      if (!this.options.heatmap.enabled) {\n        return;\n      }\n      var max = this.info.React\n        && this.info.React.renderComponent\n        && this.info.React.renderComponent.max;\n      if (max) {\n        var logStr = 'Heatmap: ';\n        for (var ii = 0; ii <= 10 * max; ii += max) {\n          logStr += '%c ' + (Math.round(ii) / 10) + 'ms ';\n        }\n        console.log(\n          logStr,\n          'background-color: hsla(100, 100%, 50%, 0.6);',\n          'background-color: hsla( 90, 100%, 50%, 0.6);',\n          'background-color: hsla( 80, 100%, 50%, 0.6);',\n          'background-color: hsla( 70, 100%, 50%, 0.6);',\n          'background-color: hsla( 60, 100%, 50%, 0.6);',\n          'background-color: hsla( 50, 100%, 50%, 0.6);',\n          'background-color: hsla( 40, 100%, 50%, 0.6);',\n          'background-color: hsla( 30, 100%, 50%, 0.6);',\n          'background-color: hsla( 20, 100%, 50%, 0.6);',\n          'background-color: hsla( 10, 100%, 50%, 0.6);',\n          'background-color: hsla(  0, 100%, 50%, 0.6);'\n        );\n      }\n    },\n\n    /**\n     * Measure a given function with logging information, and calls a callback\n     * if there is one.\n     *\n     * @param {string} objName\n     * @param {string} fnName\n     * @param {function} func\n     * @return {function}\n     */\n    measure: function(objName, fnName, func) {\n      var info = _getNewInfo(objName, fnName);\n\n      var fnArgs = _getFnArguments(func);\n\n      return function() {\n        var timeBeforeFn = performanceNow();\n        var fnReturn = func.apply(this, arguments);\n        var timeAfterFn = performanceNow();\n\n        /**\n         * Hold onto arguments in a readable way: args[1] -> args.component.\n         * args is also passed to the callback, so if you want to save an\n         * argument in the log, do so in the callback.\n         */\n        var args = {};\n        for (var i = 0; i < arguments.length; i++) {\n          args[fnArgs[i]] = arguments[i];\n        }\n\n        var log = {\n          index: ReactDefaultPerf.logs.length,\n          fnName: fnName,\n          objName: objName,\n          timing: {\n            before: timeBeforeFn,\n            after: timeAfterFn,\n            delta: timeAfterFn - timeBeforeFn\n          }\n        };\n\n        ReactDefaultPerf.logs.push(log);\n\n        /**\n         * The callback gets:\n         * - this (the component)\n         * - the original method's arguments\n         * - what the method returned\n         * - the log object, and\n         * - the wrapped method's info object.\n         */\n        var callback = _getCallback(objName, fnName);\n        callback && callback(this, args, fnReturn, log, info);\n\n        log.timing.timeToLog = performanceNow() - timeAfterFn;\n\n        return fnReturn;\n      };\n    },\n\n    /**\n     * Holds information on wrapped objects/methods.\n     * For instance, ReactDefaultPerf.info.React.renderComponent\n     */\n    info: {},\n\n    /**\n     * Holds all of the logs. Filter this to pull desired information.\n     */\n    logs: [],\n\n    /**\n     * Toggle settings for ReactDefaultPerf\n     */\n    options: {\n      /**\n       * The heatmap sets the background color of the React containers\n       * according to how much total time has been spent rendering them.\n       * The most temporally expensive component is set as pure red,\n       * and the others are colored from green to red as a fraction\n       * of that max component time.\n       */\n      heatmap: {\n        enabled: true\n      }\n    }\n  };\n\n  /**\n   * Gets a info area for a given object's function, adding a new one if\n   * necessary.\n   *\n   * @param {string} objName\n   * @param {string} fnName\n   * @return {object}\n   */\n  var _getNewInfo = function(objName, fnName) {\n    var info = ReactDefaultPerf.getInfo(objName, fnName);\n    if (info) {\n      return info;\n    }\n    ReactDefaultPerf.info[objName] = ReactDefaultPerf.info[objName] || {};\n\n    return ReactDefaultPerf.info[objName][fnName] = {\n      getLogs: function() {\n        return ReactDefaultPerf.getLogs(objName, fnName);\n      }\n    };\n  };\n\n  /**\n   * Gets a list of the argument names from a function's definition.\n   * This is useful for storing arguments by their names within wrapFn().\n   *\n   * @param {function} fn\n   * @return {array<string>}\n   */\n  var _getFnArguments = function(fn) {\n    var STRIP_COMMENTS = /((\\/\\/.*$)|(\\/\\*[\\s\\S]*?\\*\\/))/mg;\n    var fnStr = fn.toString().replace(STRIP_COMMENTS, '');\n    fnStr = fnStr.slice(fnStr.indexOf('(') + 1, fnStr.indexOf(')'));\n    return fnStr.match(/([^\\s,]+)/g);\n  };\n\n  /**\n   * Store common callbacks within ReactDefaultPerf.\n   *\n   * @param {string} objName\n   * @param {string} fnName\n   * @return {?function}\n   */\n  var _getCallback = function(objName, fnName) {\n    switch (objName + '.' + fnName) {\n      case 'React.renderComponent':\n        return _renderComponentCallback;\n      case 'ReactDOMComponent.mountComponent':\n      case 'ReactDOMComponent.updateComponent':\n        return _nativeComponentCallback;\n      case 'ReactCompositeComponent.mountComponent':\n      case 'ReactCompositeComponent.updateComponent':\n        return _compositeComponentCallback;\n      default:\n        return null;\n    }\n  };\n\n  /**\n   * Callback function for React.renderComponent\n   *\n   * @param {object} component\n   * @param {object} args\n   * @param {?object} fnReturn\n   * @param {object} log\n   * @param {object} info\n   */\n  var _renderComponentCallback =\n    function(component, args, fnReturn, log, info) {\n    log.name = args.nextComponent.constructor.displayName || '[unknown]';\n    log.reactID = fnReturn._rootNodeID || null;\n\n    if (ReactDefaultPerf.options.heatmap.enabled) {\n      var container = args.container;\n      if (!container.loggedByReactDefaultPerf) {\n        container.loggedByReactDefaultPerf = true;\n        info.components = info.components || [];\n        info.components.push(container);\n      }\n\n      container.count = container.count || 0;\n      container.count += log.timing.delta;\n      info.max = info.max || 0;\n      if (container.count > info.max) {\n        info.max = container.count;\n        info.components.forEach(function(component) {\n          _setHue(component, 100 - 100 * component.count / info.max);\n        });\n      } else {\n        _setHue(container, 100 - 100 * container.count / info.max);\n      }\n    }\n  };\n\n  /**\n   * Callback function for ReactDOMComponent\n   *\n   * @param {object} component\n   * @param {object} args\n   * @param {?object} fnReturn\n   * @param {object} log\n   * @param {object} info\n   */\n  var _nativeComponentCallback =\n    function(component, args, fnReturn, log, info) {\n    log.name = component.tagName || '[unknown]';\n    log.reactID = component._rootNodeID;\n  };\n\n  /**\n   * Callback function for ReactCompositeComponent\n   *\n   * @param {object} component\n   * @param {object} args\n   * @param {?object} fnReturn\n   * @param {object} log\n   * @param {object} info\n   */\n  var _compositeComponentCallback =\n    function(component, args, fnReturn, log, info) {\n    log.name = component.constructor.displayName || '[unknown]';\n    log.reactID = component._rootNodeID;\n  };\n\n  /**\n   * Using the hsl() background-color attribute, colors an element.\n   *\n   * @param {DOMElement} el\n   * @param {number} hue [0 for red, 120 for green, 240 for blue]\n   */\n  var _setHue = function(el, hue) {\n    el.style.backgroundColor = 'hsla(' + hue + ', 100%, 50%, 0.6)';\n  };\n\n  /**\n   * Round to the thousandth place.\n   * @param {number} time\n   * @return {number}\n   */\n  var _microTime = function(time) {\n    return Math.round(time * 1000) / 1000;\n  };\n}\n\nmodule.exports = ReactDefaultPerf;\n\n},{\"./performanceNow\":114}],43:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactErrorUtils\n * @typechecks\n */\n\nvar ReactErrorUtils = {\n  /**\n   * Creates a guarded version of a function. This is supposed to make debugging\n   * of event handlers easier. This implementation provides only basic error\n   * logging and re-throws the error.\n   *\n   * @param {function} func Function to be executed\n   * @param {string} name The name of the guard\n   * @return {function}\n   */\n  guard: function(func, name) {\n    if (\"production\" !== \"development\") {\n      return function guarded() {\n        try {\n          return func.apply(this, arguments);\n        } catch(ex) {\n          console.error(name + ': ' + ex.message);\n          throw ex;\n        }\n      };\n    } else {\n      return func;\n    }\n  }\n};\n\nmodule.exports = ReactErrorUtils;\n\n},{}],44:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactEventEmitter\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventListener = require(\"./EventListener\");\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar ReactEventEmitterMixin = require(\"./ReactEventEmitterMixin\");\nvar ViewportMetrics = require(\"./ViewportMetrics\");\n\nvar invariant = require(\"./invariant\");\nvar isEventSupported = require(\"./isEventSupported\");\nvar merge = require(\"./merge\");\n\n/**\n * Summary of `ReactEventEmitter` event handling:\n *\n *  - Top-level delegation is used to trap native browser events. We normalize\n *    and de-duplicate events to account for browser quirks.\n *\n *  - Forward these native events (with the associated top-level type used to\n *    trap it) to `EventPluginHub`, which in turn will ask plugins if they want\n *    to extract any synthetic events.\n *\n *  - The `EventPluginHub` will then process each event by annotating them with\n *    \"dispatches\", a sequence of listeners and IDs that care about that event.\n *\n *  - The `EventPluginHub` then dispatches the events.\n *\n * Overview of React and the event system:\n *\n *                   .\n * +------------+    .\n * |    DOM     |    .\n * +------------+    .                         +-----------+\n *       +           .               +--------+|SimpleEvent|\n *       |           .               |         |Plugin     |\n * +-----|------+    .               v         +-----------+\n * |     |      |    .    +--------------+                    +------------+\n * |     +-----------.--->|EventPluginHub|                    |    Event   |\n * |            |    .    |              |     +-----------+  | Propagators|\n * | ReactEvent |    .    |              |     |TapEvent   |  |------------|\n * |  Emitter   |    .    |              |<---+|Plugin     |  |other plugin|\n * |            |    .    |              |     +-----------+  |  utilities |\n * |     +-----------.---------+         |                    +------------+\n * |     |      |    .    +----|---------+\n * +-----|------+    .         |      ^        +-----------+\n *       |           .         |      |        |Enter/Leave|\n *       +           .         |      +-------+|Plugin     |\n * +-------------+   .         v               +-----------+\n * | application |   .    +----------+\n * |-------------|   .    | callback |\n * |             |   .    | registry |\n * |             |   .    +----------+\n * +-------------+   .\n *                   .\n *    React Core     .  General Purpose Event Plugin System\n */\n\n/**\n * Traps top-level events by using event bubbling.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {DOMEventTarget} element Element on which to attach listener.\n * @internal\n */\nfunction trapBubbledEvent(topLevelType, handlerBaseName, element) {\n  EventListener.listen(\n    element,\n    handlerBaseName,\n    ReactEventEmitter.TopLevelCallbackCreator.createTopLevelCallback(\n      topLevelType\n    )\n  );\n}\n\n/**\n * Traps a top-level event by using event capturing.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {DOMEventTarget} element Element on which to attach listener.\n * @internal\n */\nfunction trapCapturedEvent(topLevelType, handlerBaseName, element) {\n  EventListener.capture(\n    element,\n    handlerBaseName,\n    ReactEventEmitter.TopLevelCallbackCreator.createTopLevelCallback(\n      topLevelType\n    )\n  );\n}\n\n/**\n * Listens to window scroll and resize events. We cache scroll values so that\n * application code can access them without triggering reflows.\n *\n * NOTE: Scroll events do not bubble.\n *\n * @private\n * @see http://www.quirksmode.org/dom/events/scroll.html\n */\nfunction registerScrollValueMonitoring() {\n  var refresh = ViewportMetrics.refreshScrollValues;\n  EventListener.listen(window, 'scroll', refresh);\n  EventListener.listen(window, 'resize', refresh);\n}\n\n/**\n * `ReactEventEmitter` is used to attach top-level event listeners. For example:\n *\n *   ReactEventEmitter.putListener('myID', 'onClick', myFunction);\n *\n * This would allocate a \"registration\" of `('onClick', myFunction)` on 'myID'.\n *\n * @internal\n */\nvar ReactEventEmitter = merge(ReactEventEmitterMixin, {\n\n  /**\n   * React references `ReactEventTopLevelCallback` using this property in order\n   * to allow dependency injection.\n   */\n  TopLevelCallbackCreator: null,\n\n  /**\n   * Ensures that top-level event delegation listeners are installed.\n   *\n   * There are issues with listening to both touch events and mouse events on\n   * the top-level, so we make the caller choose which one to listen to. (If\n   * there's a touch top-level listeners, anchors don't receive clicks for some\n   * reason, and only in some cases).\n   *\n   * @param {boolean} touchNotMouse Listen to touch events instead of mouse.\n   * @param {DOMDocument} contentDocument DOM document to listen on\n   */\n  ensureListening: function(touchNotMouse, contentDocument) {\n    (\"production\" !== \"development\" ? invariant(\n      ExecutionEnvironment.canUseDOM,\n      'ensureListening(...): Cannot toggle event listening in a Worker ' +\n      'thread. This is likely a bug in the framework. Please report ' +\n      'immediately.'\n    ) : invariant(ExecutionEnvironment.canUseDOM));\n    (\"production\" !== \"development\" ? invariant(\n      ReactEventEmitter.TopLevelCallbackCreator,\n      'ensureListening(...): Cannot be called without a top level callback ' +\n      'creator being injected.'\n    ) : invariant(ReactEventEmitter.TopLevelCallbackCreator));\n    // Call out to base implementation.\n    ReactEventEmitterMixin.ensureListening.call(\n      ReactEventEmitter,\n      {\n        touchNotMouse: touchNotMouse,\n        contentDocument: contentDocument\n      }\n    );\n  },\n\n  /**\n   * Sets whether or not any created callbacks should be enabled.\n   *\n   * @param {boolean} enabled True if callbacks should be enabled.\n   */\n  setEnabled: function(enabled) {\n    (\"production\" !== \"development\" ? invariant(\n      ExecutionEnvironment.canUseDOM,\n      'setEnabled(...): Cannot toggle event listening in a Worker thread. ' +\n      'This is likely a bug in the framework. Please report immediately.'\n    ) : invariant(ExecutionEnvironment.canUseDOM));\n    if (ReactEventEmitter.TopLevelCallbackCreator) {\n      ReactEventEmitter.TopLevelCallbackCreator.setEnabled(enabled);\n    }\n  },\n\n  /**\n   * @return {boolean} True if callbacks are enabled.\n   */\n  isEnabled: function() {\n    return !!(\n      ReactEventEmitter.TopLevelCallbackCreator &&\n      ReactEventEmitter.TopLevelCallbackCreator.isEnabled()\n    );\n  },\n\n  /**\n   * We listen for bubbled touch events on the document object.\n   *\n   * Firefox v8.01 (and possibly others) exhibited strange behavior when\n   * mounting `onmousemove` events at some node that was not the document\n   * element. The symptoms were that if your mouse is not moving over something\n   * contained within that mount point (for example on the background) the\n   * top-level listeners for `onmousemove` won't be called. However, if you\n   * register the `mousemove` on the document object, then it will of course\n   * catch all `mousemove`s. This along with iOS quirks, justifies restricting\n   * top-level listeners to the document object only, at least for these\n   * movement types of events and possibly all events.\n   *\n   * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n   *\n   * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but\n   * they bubble to document.\n   *\n   * @param {boolean} touchNotMouse Listen to touch events instead of mouse.\n   * @param {DOMDocument} contentDocument Document which owns the container\n   * @private\n   * @see http://www.quirksmode.org/dom/events/keys.html.\n   */\n  listenAtTopLevel: function(touchNotMouse, contentDocument) {\n    (\"production\" !== \"development\" ? invariant(\n      !contentDocument._isListening,\n      'listenAtTopLevel(...): Cannot setup top-level listener more than once.'\n    ) : invariant(!contentDocument._isListening));\n    var topLevelTypes = EventConstants.topLevelTypes;\n    var mountAt = contentDocument;\n\n    registerScrollValueMonitoring();\n    trapBubbledEvent(topLevelTypes.topMouseOver, 'mouseover', mountAt);\n    trapBubbledEvent(topLevelTypes.topMouseDown, 'mousedown', mountAt);\n    trapBubbledEvent(topLevelTypes.topMouseUp, 'mouseup', mountAt);\n    trapBubbledEvent(topLevelTypes.topMouseMove, 'mousemove', mountAt);\n    trapBubbledEvent(topLevelTypes.topMouseOut, 'mouseout', mountAt);\n    trapBubbledEvent(topLevelTypes.topClick, 'click', mountAt);\n    trapBubbledEvent(topLevelTypes.topDoubleClick, 'dblclick', mountAt);\n    trapBubbledEvent(topLevelTypes.topContextMenu, 'contextmenu', mountAt);\n    if (touchNotMouse) {\n      trapBubbledEvent(topLevelTypes.topTouchStart, 'touchstart', mountAt);\n      trapBubbledEvent(topLevelTypes.topTouchEnd, 'touchend', mountAt);\n      trapBubbledEvent(topLevelTypes.topTouchMove, 'touchmove', mountAt);\n      trapBubbledEvent(topLevelTypes.topTouchCancel, 'touchcancel', mountAt);\n    }\n    trapBubbledEvent(topLevelTypes.topKeyUp, 'keyup', mountAt);\n    trapBubbledEvent(topLevelTypes.topKeyPress, 'keypress', mountAt);\n    trapBubbledEvent(topLevelTypes.topKeyDown, 'keydown', mountAt);\n    trapBubbledEvent(topLevelTypes.topInput, 'input', mountAt);\n    trapBubbledEvent(topLevelTypes.topChange, 'change', mountAt);\n    trapBubbledEvent(\n      topLevelTypes.topSelectionChange,\n      'selectionchange',\n      mountAt\n    );\n\n    trapBubbledEvent(\n      topLevelTypes.topCompositionEnd,\n      'compositionend',\n      mountAt\n    );\n    trapBubbledEvent(\n      topLevelTypes.topCompositionStart,\n      'compositionstart',\n      mountAt\n    );\n    trapBubbledEvent(\n      topLevelTypes.topCompositionUpdate,\n      'compositionupdate',\n      mountAt\n    );\n\n    if (isEventSupported('drag')) {\n      trapBubbledEvent(topLevelTypes.topDrag, 'drag', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragEnd, 'dragend', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragEnter, 'dragenter', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragExit, 'dragexit', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragLeave, 'dragleave', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragOver, 'dragover', mountAt);\n      trapBubbledEvent(topLevelTypes.topDragStart, 'dragstart', mountAt);\n      trapBubbledEvent(topLevelTypes.topDrop, 'drop', mountAt);\n    }\n\n    if (isEventSupported('wheel')) {\n      trapBubbledEvent(topLevelTypes.topWheel, 'wheel', mountAt);\n    } else if (isEventSupported('mousewheel')) {\n      trapBubbledEvent(topLevelTypes.topWheel, 'mousewheel', mountAt);\n    } else {\n      // Firefox needs to capture a different mouse scroll event.\n      // @see http://www.quirksmode.org/dom/events/tests/scroll.html\n      trapBubbledEvent(topLevelTypes.topWheel, 'DOMMouseScroll', mountAt);\n    }\n\n    // IE<9 does not support capturing so just trap the bubbled event there.\n    if (isEventSupported('scroll', true)) {\n      trapCapturedEvent(topLevelTypes.topScroll, 'scroll', mountAt);\n    } else {\n      trapBubbledEvent(topLevelTypes.topScroll, 'scroll', window);\n    }\n\n    if (isEventSupported('focus', true)) {\n      trapCapturedEvent(topLevelTypes.topFocus, 'focus', mountAt);\n      trapCapturedEvent(topLevelTypes.topBlur, 'blur', mountAt);\n    } else if (isEventSupported('focusin')) {\n      // IE has `focusin` and `focusout` events which bubble.\n      // @see\n      // http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html\n      trapBubbledEvent(topLevelTypes.topFocus, 'focusin', mountAt);\n      trapBubbledEvent(topLevelTypes.topBlur, 'focusout', mountAt);\n    }\n\n    if (isEventSupported('copy')) {\n      trapBubbledEvent(topLevelTypes.topCopy, 'copy', mountAt);\n      trapBubbledEvent(topLevelTypes.topCut, 'cut', mountAt);\n      trapBubbledEvent(topLevelTypes.topPaste, 'paste', mountAt);\n    }\n  },\n\n  registrationNames: EventPluginHub.registrationNames,\n\n  putListener: EventPluginHub.putListener,\n\n  getListener: EventPluginHub.getListener,\n\n  deleteListener: EventPluginHub.deleteListener,\n\n  deleteAllListeners: EventPluginHub.deleteAllListeners,\n\n  trapBubbledEvent: trapBubbledEvent,\n\n  trapCapturedEvent: trapCapturedEvent\n\n});\n\n\nmodule.exports = ReactEventEmitter;\n\n},{\"./EventConstants\":14,\"./EventListener\":15,\"./EventPluginHub\":16,\"./ExecutionEnvironment\":20,\"./ReactEventEmitterMixin\":45,\"./ViewportMetrics\":74,\"./invariant\":98,\"./isEventSupported\":99,\"./merge\":107}],45:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactEventEmitterMixin\n */\n\n\"use strict\";\n\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar ReactUpdates = require(\"./ReactUpdates\");\n\nfunction runEventQueueInBatch(events) {\n  EventPluginHub.enqueueEvents(events);\n  EventPluginHub.processEventQueue();\n}\n\nvar ReactEventEmitterMixin = {\n  /**\n   * Whether or not `ensureListening` has been invoked.\n   * @type {boolean}\n   * @private\n   */\n  _isListening: false,\n\n  /**\n   * Function, must be implemented. Listens to events on the top level of the\n   * application.\n   *\n   * @abstract\n   *\n   * listenAtTopLevel: null,\n   */\n\n  /**\n   * Ensures that top-level event delegation listeners are installed.\n   *\n   * There are issues with listening to both touch events and mouse events on\n   * the top-level, so we make the caller choose which one to listen to. (If\n   * there's a touch top-level listeners, anchors don't receive clicks for some\n   * reason, and only in some cases).\n   *\n   * @param {*} config Configuration passed through to `listenAtTopLevel`.\n   */\n  ensureListening: function(config) {\n    if (!config.contentDocument._reactIsListening) {\n      this.listenAtTopLevel(config.touchNotMouse, config.contentDocument);\n      config.contentDocument._reactIsListening = true;\n    }\n  },\n\n  /**\n   * Streams a fired top-level event to `EventPluginHub` where plugins have the\n   * opportunity to create `ReactEvent`s to be dispatched.\n   *\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {object} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native environment event.\n   */\n  handleTopLevel: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    var events = EventPluginHub.extractEvents(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent\n    );\n\n    // Event queue being processed in the same cycle allows `preventDefault`.\n    ReactUpdates.batchedUpdates(runEventQueueInBatch, events);\n  }\n};\n\nmodule.exports = ReactEventEmitterMixin;\n\n},{\"./EventPluginHub\":16,\"./ReactUpdates\":61}],46:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactEventTopLevelCallback\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactMount = require(\"./ReactMount\");\n\nvar getEventTarget = require(\"./getEventTarget\");\n\n/**\n * @type {boolean}\n * @private\n */\nvar _topLevelListenersEnabled = true;\n\n/**\n * Top-level callback creator used to implement event handling using delegation.\n * This is used via dependency injection.\n */\nvar ReactEventTopLevelCallback = {\n\n  /**\n   * Sets whether or not any created callbacks should be enabled.\n   *\n   * @param {boolean} enabled True if callbacks should be enabled.\n   */\n  setEnabled: function(enabled) {\n    _topLevelListenersEnabled = !!enabled;\n  },\n\n  /**\n   * @return {boolean} True if callbacks are enabled.\n   */\n  isEnabled: function() {\n    return _topLevelListenersEnabled;\n  },\n\n  /**\n   * Creates a callback for the supplied `topLevelType` that could be added as\n   * a listener to the document. The callback computes a `topLevelTarget` which\n   * should be the root node of a mounted React component where the listener\n   * is attached.\n   *\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @return {function} Callback for handling top-level events.\n   */\n  createTopLevelCallback: function(topLevelType) {\n    return function(nativeEvent) {\n      if (!_topLevelListenersEnabled) {\n        return;\n      }\n      // TODO: Remove when synthetic events are ready, this is for IE<9.\n      if (nativeEvent.srcElement &&\n          nativeEvent.srcElement !== nativeEvent.target) {\n        nativeEvent.target = nativeEvent.srcElement;\n      }\n      var topLevelTarget = ReactMount.getFirstReactDOM(\n        getEventTarget(nativeEvent)\n      ) || window;\n      var topLevelTargetID = ReactMount.getID(topLevelTarget) || '';\n      ReactEventEmitter.handleTopLevel(\n        topLevelType,\n        topLevelTarget,\n        topLevelTargetID,\n        nativeEvent\n      );\n    };\n  }\n\n};\n\nmodule.exports = ReactEventTopLevelCallback;\n\n},{\"./ReactEventEmitter\":44,\"./ReactMount\":50,\"./getEventTarget\":91}],47:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactInputSelection\n */\n\n\"use strict\";\n\nvar ReactDOMSelection = require(\"./ReactDOMSelection\");\n\nvar containsNode = require(\"./containsNode\");\nvar getActiveElement = require(\"./getActiveElement\");\n\nfunction isInDocument(node) {\n  return containsNode(document.documentElement, node);\n}\n\n/**\n * @ReactInputSelection: React input selection module. Based on Selection.js,\n * but modified to be suitable for react and has a couple of bug fixes (doesn't\n * assume buttons have range selections allowed).\n * Input selection module for React.\n */\nvar ReactInputSelection = {\n\n  hasSelectionCapabilities: function(elem) {\n    return elem && (\n      (elem.nodeName === 'INPUT' && elem.type === 'text') ||\n      elem.nodeName === 'TEXTAREA' ||\n      elem.contentEditable === 'true'\n    );\n  },\n\n  getSelectionInformation: function() {\n    var focusedElem = getActiveElement();\n    return {\n      focusedElem: focusedElem,\n      selectionRange:\n          ReactInputSelection.hasSelectionCapabilities(focusedElem) ?\n          ReactInputSelection.getSelection(focusedElem) :\n          null\n    };\n  },\n\n  /**\n   * @restoreSelection: If any selection information was potentially lost,\n   * restore it. This is useful when performing operations that could remove dom\n   * nodes and place them back in, resulting in focus being lost.\n   */\n  restoreSelection: function(priorSelectionInformation) {\n    var curFocusedElem = getActiveElement();\n    var priorFocusedElem = priorSelectionInformation.focusedElem;\n    var priorSelectionRange = priorSelectionInformation.selectionRange;\n    if (curFocusedElem !== priorFocusedElem &&\n        isInDocument(priorFocusedElem)) {\n      if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) {\n        ReactInputSelection.setSelection(\n          priorFocusedElem,\n          priorSelectionRange\n        );\n      }\n      priorFocusedElem.focus();\n    }\n  },\n\n  /**\n   * @getSelection: Gets the selection bounds of a focused textarea, input or\n   * contentEditable node.\n   * -@input: Look up selection bounds of this input\n   * -@return {start: selectionStart, end: selectionEnd}\n   */\n  getSelection: function(input) {\n    var selection;\n\n    if ('selectionStart' in input) {\n      // Modern browser with input or textarea.\n      selection = {\n        start: input.selectionStart,\n        end: input.selectionEnd\n      };\n    } else if (document.selection && input.nodeName === 'INPUT') {\n      // IE8 input.\n      var range = document.selection.createRange();\n      // There can only be one selection per document in IE, so it must\n      // be in our element.\n      if (range.parentElement() === input) {\n        selection = {\n          start: -range.moveStart('character', -input.value.length),\n          end: -range.moveEnd('character', -input.value.length)\n        };\n      }\n    } else {\n      // Content editable or old IE textarea.\n      selection = ReactDOMSelection.getOffsets(input);\n    }\n\n    return selection || {start: 0, end: 0};\n  },\n\n  /**\n   * @setSelection: Sets the selection bounds of a textarea or input and focuses\n   * the input.\n   * -@input     Set selection bounds of this input or textarea\n   * -@offsets   Object of same form that is returned from get*\n   */\n  setSelection: function(input, offsets) {\n    var start = offsets.start;\n    var end = offsets.end;\n    if (typeof end === 'undefined') {\n      end = start;\n    }\n\n    if ('selectionStart' in input) {\n      input.selectionStart = start;\n      input.selectionEnd = Math.min(end, input.value.length);\n    } else if (document.selection && input.nodeName === 'INPUT') {\n      var range = input.createTextRange();\n      range.collapse(true);\n      range.moveStart('character', start);\n      range.moveEnd('character', end - start);\n      range.select();\n    } else {\n      ReactDOMSelection.setOffsets(input, offsets);\n    }\n  }\n};\n\nmodule.exports = ReactInputSelection;\n\n},{\"./ReactDOMSelection\":38,\"./containsNode\":77,\"./getActiveElement\":90}],48:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactInstanceHandles\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\nvar SEPARATOR = '.';\nvar SEPARATOR_LENGTH = SEPARATOR.length;\n\n/**\n * Maximum depth of traversals before we consider the possibility of a bad ID.\n */\nvar MAX_TREE_DEPTH = 100;\n\n/**\n * Size of the reactRoot ID space. We generate random numbers for React root\n * IDs and if there's a collision the events and DOM update system will\n * get confused. If we assume 100 React components per page, and a user\n * loads 1 page per minute 24/7 for 50 years, with a mount point space of\n * 9,999,999 the likelihood of never having a collision is 99.997%.\n */\nvar GLOBAL_MOUNT_POINT_MAX = 9999999;\n\n/**\n * Creates a DOM ID prefix to use when mounting React components.\n *\n * @param {number} index A unique integer\n * @return {string} React root ID.\n * @internal\n */\nfunction getReactRootIDString(index) {\n  return SEPARATOR + 'r[' + index.toString(36) + ']';\n}\n\n/**\n * Checks if a character in the supplied ID is a separator or the end.\n *\n * @param {string} id A React DOM ID.\n * @param {number} index Index of the character to check.\n * @return {boolean} True if the character is a separator or end of the ID.\n * @private\n */\nfunction isBoundary(id, index) {\n  return id.charAt(index) === SEPARATOR || index === id.length;\n}\n\n/**\n * Checks if the supplied string is a valid React DOM ID.\n *\n * @param {string} id A React DOM ID, maybe.\n * @return {boolean} True if the string is a valid React DOM ID.\n * @private\n */\nfunction isValidID(id) {\n  return id === '' || (\n    id.charAt(0) === SEPARATOR && id.charAt(id.length - 1) !== SEPARATOR\n  );\n}\n\n/**\n * Checks if the first ID is an ancestor of or equal to the second ID.\n *\n * @param {string} ancestorID\n * @param {string} descendantID\n * @return {boolean} True if `ancestorID` is an ancestor of `descendantID`.\n * @internal\n */\nfunction isAncestorIDOf(ancestorID, descendantID) {\n  return (\n    descendantID.indexOf(ancestorID) === 0 &&\n    isBoundary(descendantID, ancestorID.length)\n  );\n}\n\n/**\n * Gets the parent ID of the supplied React DOM ID, `id`.\n *\n * @param {string} id ID of a component.\n * @return {string} ID of the parent, or an empty string.\n * @private\n */\nfunction getParentID(id) {\n  return id ? id.substr(0, id.lastIndexOf(SEPARATOR)) : '';\n}\n\n/**\n * Gets the next DOM ID on the tree path from the supplied `ancestorID` to the\n * supplied `destinationID`. If they are equal, the ID is returned.\n *\n * @param {string} ancestorID ID of an ancestor node of `destinationID`.\n * @param {string} destinationID ID of the destination node.\n * @return {string} Next ID on the path from `ancestorID` to `destinationID`.\n * @private\n */\nfunction getNextDescendantID(ancestorID, destinationID) {\n  (\"production\" !== \"development\" ? invariant(\n    isValidID(ancestorID) && isValidID(destinationID),\n    'getNextDescendantID(%s, %s): Received an invalid React DOM ID.',\n    ancestorID,\n    destinationID\n  ) : invariant(isValidID(ancestorID) && isValidID(destinationID)));\n  (\"production\" !== \"development\" ? invariant(\n    isAncestorIDOf(ancestorID, destinationID),\n    'getNextDescendantID(...): React has made an invalid assumption about ' +\n    'the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.',\n    ancestorID,\n    destinationID\n  ) : invariant(isAncestorIDOf(ancestorID, destinationID)));\n  if (ancestorID === destinationID) {\n    return ancestorID;\n  }\n  // Skip over the ancestor and the immediate separator. Traverse until we hit\n  // another separator or we reach the end of `destinationID`.\n  var start = ancestorID.length + SEPARATOR_LENGTH;\n  for (var i = start; i < destinationID.length; i++) {\n    if (isBoundary(destinationID, i)) {\n      break;\n    }\n  }\n  return destinationID.substr(0, i);\n}\n\n/**\n * Gets the nearest common ancestor ID of two IDs.\n *\n * Using this ID scheme, the nearest common ancestor ID is the longest common\n * prefix of the two IDs that immediately preceded a \"marker\" in both strings.\n *\n * @param {string} oneID\n * @param {string} twoID\n * @return {string} Nearest common ancestor ID, or the empty string if none.\n * @private\n */\nfunction getFirstCommonAncestorID(oneID, twoID) {\n  var minLength = Math.min(oneID.length, twoID.length);\n  if (minLength === 0) {\n    return '';\n  }\n  var lastCommonMarkerIndex = 0;\n  // Use `<=` to traverse until the \"EOL\" of the shorter string.\n  for (var i = 0; i <= minLength; i++) {\n    if (isBoundary(oneID, i) && isBoundary(twoID, i)) {\n      lastCommonMarkerIndex = i;\n    } else if (oneID.charAt(i) !== twoID.charAt(i)) {\n      break;\n    }\n  }\n  var longestCommonID = oneID.substr(0, lastCommonMarkerIndex);\n  (\"production\" !== \"development\" ? invariant(\n    isValidID(longestCommonID),\n    'getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s',\n    oneID,\n    twoID,\n    longestCommonID\n  ) : invariant(isValidID(longestCommonID)));\n  return longestCommonID;\n}\n\n/**\n * Traverses the parent path between two IDs (either up or down). The IDs must\n * not be the same, and there must exist a parent path between them.\n *\n * @param {?string} start ID at which to start traversal.\n * @param {?string} stop ID at which to end traversal.\n * @param {function} cb Callback to invoke each ID with.\n * @param {?boolean} skipFirst Whether or not to skip the first node.\n * @param {?boolean} skipLast Whether or not to skip the last node.\n * @private\n */\nfunction traverseParentPath(start, stop, cb, arg, skipFirst, skipLast) {\n  start = start || '';\n  stop = stop || '';\n  (\"production\" !== \"development\" ? invariant(\n    start !== stop,\n    'traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.',\n    start\n  ) : invariant(start !== stop));\n  var traverseUp = isAncestorIDOf(stop, start);\n  (\"production\" !== \"development\" ? invariant(\n    traverseUp || isAncestorIDOf(start, stop),\n    'traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do ' +\n    'not have a parent path.',\n    start,\n    stop\n  ) : invariant(traverseUp || isAncestorIDOf(start, stop)));\n  // Traverse from `start` to `stop` one depth at a time.\n  var depth = 0;\n  var traverse = traverseUp ? getParentID : getNextDescendantID;\n  for (var id = start; /* until break */; id = traverse(id, stop)) {\n    if ((!skipFirst || id !== start) && (!skipLast || id !== stop)) {\n      cb(id, traverseUp, arg);\n    }\n    if (id === stop) {\n      // Only break //after// visiting `stop`.\n      break;\n    }\n    (\"production\" !== \"development\" ? invariant(\n      depth++ < MAX_TREE_DEPTH,\n      'traverseParentPath(%s, %s, ...): Detected an infinite loop while ' +\n      'traversing the React DOM ID tree. This may be due to malformed IDs: %s',\n      start, stop\n    ) : invariant(depth++ < MAX_TREE_DEPTH));\n  }\n}\n\n/**\n * Manages the IDs assigned to DOM representations of React components. This\n * uses a specific scheme in order to traverse the DOM efficiently (e.g. in\n * order to simulate events).\n *\n * @internal\n */\nvar ReactInstanceHandles = {\n\n  createReactRootID: function() {\n    return getReactRootIDString(\n      Math.ceil(Math.random() * GLOBAL_MOUNT_POINT_MAX)\n    );\n  },\n\n  /**\n   * Constructs a React ID by joining a root ID with a name.\n   *\n   * @param {string} rootID Root ID of a parent component.\n   * @param {string} name A component's name (as flattened children).\n   * @return {string} A React ID.\n   * @internal\n   */\n  createReactID: function(rootID, name) {\n    return rootID + SEPARATOR + name;\n  },\n\n  /**\n   * Gets the DOM ID of the React component that is the root of the tree that\n   * contains the React component with the supplied DOM ID.\n   *\n   * @param {string} id DOM ID of a React component.\n   * @return {?string} DOM ID of the React component that is the root.\n   * @internal\n   */\n  getReactRootIDFromNodeID: function(id) {\n    var regexResult = /\\.r\\[[^\\]]+\\]/.exec(id);\n    return regexResult && regexResult[0];\n  },\n\n  /**\n   * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that\n   * should would receive a `mouseEnter` or `mouseLeave` event.\n   *\n   * NOTE: Does not invoke the callback on the nearest common ancestor because\n   * nothing \"entered\" or \"left\" that element.\n   *\n   * @param {string} leaveID ID being left.\n   * @param {string} enterID ID being entered.\n   * @param {function} cb Callback to invoke on each entered/left ID.\n   * @param {*} upArg Argument to invoke the callback with on left IDs.\n   * @param {*} downArg Argument to invoke the callback with on entered IDs.\n   * @internal\n   */\n  traverseEnterLeave: function(leaveID, enterID, cb, upArg, downArg) {\n    var ancestorID = getFirstCommonAncestorID(leaveID, enterID);\n    if (ancestorID !== leaveID) {\n      traverseParentPath(leaveID, ancestorID, cb, upArg, false, true);\n    }\n    if (ancestorID !== enterID) {\n      traverseParentPath(ancestorID, enterID, cb, downArg, true, false);\n    }\n  },\n\n  /**\n   * Simulates the traversal of a two-phase, capture/bubble event dispatch.\n   *\n   * NOTE: This traversal happens on IDs without touching the DOM.\n   *\n   * @param {string} targetID ID of the target node.\n   * @param {function} cb Callback to invoke.\n   * @param {*} arg Argument to invoke the callback with.\n   * @internal\n   */\n  traverseTwoPhase: function(targetID, cb, arg) {\n    if (targetID) {\n      traverseParentPath('', targetID, cb, arg, true, false);\n      traverseParentPath(targetID, '', cb, arg, false, true);\n    }\n  },\n\n  /**\n   * Exposed for unit testing.\n   * @private\n   */\n  _getFirstCommonAncestorID: getFirstCommonAncestorID,\n\n  /**\n   * Exposed for unit testing.\n   * @private\n   */\n  _getNextDescendantID: getNextDescendantID,\n\n  isAncestorIDOf: isAncestorIDOf,\n\n  SEPARATOR: SEPARATOR\n\n};\n\nmodule.exports = ReactInstanceHandles;\n\n},{\"./invariant\":98}],49:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMarkupChecksum\n */\n\n\"use strict\";\n\nvar adler32 = require(\"./adler32\");\n\nvar ReactMarkupChecksum = {\n  CHECKSUM_ATTR_NAME: 'data-react-checksum',\n\n  /**\n   * @param {string} markup Markup string\n   * @return {string} Markup string with checksum attribute attached\n   */\n  addChecksumToMarkup: function(markup) {\n    var checksum = adler32(markup);\n    return markup.replace(\n      '>',\n      ' ' + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + '=\"' + checksum + '\">'\n    );\n  },\n\n  /**\n   * @param {string} markup to use\n   * @param {DOMElement} element root React element\n   * @returns {boolean} whether or not the markup is the same\n   */\n  canReuseMarkup: function(markup, element) {\n    var existingChecksum = element.getAttribute(\n      ReactMarkupChecksum.CHECKSUM_ATTR_NAME\n    );\n    existingChecksum = existingChecksum && parseInt(existingChecksum, 10);\n    var markupChecksum = adler32(markup);\n    return markupChecksum === existingChecksum;\n  }\n};\n\nmodule.exports = ReactMarkupChecksum;\n\n},{\"./adler32\":76}],50:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMount\n */\n\n\"use strict\";\n\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactInstanceHandles = require(\"./ReactInstanceHandles\");\n\nvar $ = require(\"./$\");\nvar containsNode = require(\"./containsNode\");\nvar getReactRootElementInContainer = require(\"./getReactRootElementInContainer\");\nvar invariant = require(\"./invariant\");\n\nvar SEPARATOR = ReactInstanceHandles.SEPARATOR;\n\nvar ATTR_NAME = 'data-reactid';\nvar nodeCache = {};\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOC_NODE_TYPE = 9;\n\n/** Mapping from reactRootID to React component instance. */\nvar instancesByReactRootID = {};\n\n/** Mapping from reactRootID to `container` nodes. */\nvar containersByReactRootID = {};\n\nif (\"production\" !== \"development\") {\n  /** __DEV__-only mapping from reactRootID to root elements. */\n  var rootElementsByReactRootID = {};\n}\n\n/**\n * @param {DOMElement} container DOM element that may contain a React component.\n * @return {?string} A \"reactRoot\" ID, if a React component is rendered.\n */\nfunction getReactRootID(container) {\n  var rootElement = getReactRootElementInContainer(container);\n  return rootElement && ReactMount.getID(rootElement);\n}\n\n/**\n * Accessing node[ATTR_NAME] or calling getAttribute(ATTR_NAME) on a form\n * element can return its control whose name or ID equals ATTR_NAME. All\n * DOM nodes support `getAttributeNode` but this can also get called on\n * other objects so just return '' if we're given something other than a\n * DOM node (such as window).\n *\n * @param {?DOMElement|DOMWindow|DOMDocument|DOMTextNode} node DOM node.\n * @return {string} ID of the supplied `domNode`.\n */\nfunction getID(node) {\n  var id = internalGetID(node);\n  if (id) {\n    if (nodeCache.hasOwnProperty(id)) {\n      var cached = nodeCache[id];\n      if (cached !== node) {\n        (\"production\" !== \"development\" ? invariant(\n          !isValid(cached, id),\n          'ReactMount: Two valid but unequal nodes with the same `%s`: %s',\n          ATTR_NAME, id\n        ) : invariant(!isValid(cached, id)));\n\n        nodeCache[id] = node;\n      }\n    } else {\n      nodeCache[id] = node;\n    }\n  }\n\n  return id;\n}\n\nfunction internalGetID(node) {\n  // If node is something like a window, document, or text node, none of\n  // which support attributes or a .getAttribute method, gracefully return\n  // the empty string, as if the attribute were missing.\n  return node && node.getAttribute && node.getAttribute(ATTR_NAME) || '';\n}\n\n/**\n * Sets the React-specific ID of the given node.\n *\n * @param {DOMElement} node The DOM node whose ID will be set.\n * @param {string} id The value of the ID attribute.\n */\nfunction setID(node, id) {\n  var oldID = internalGetID(node);\n  if (oldID !== id) {\n    delete nodeCache[oldID];\n  }\n  node.setAttribute(ATTR_NAME, id);\n  nodeCache[id] = node;\n}\n\n/**\n * Finds the node with the supplied React-generated DOM ID.\n *\n * @param {string} id A React-generated DOM ID.\n * @return {DOMElement} DOM node with the suppled `id`.\n * @internal\n */\nfunction getNode(id) {\n  if (!nodeCache.hasOwnProperty(id) || !isValid(nodeCache[id], id)) {\n    nodeCache[id] = ReactMount.findReactNodeByID(id);\n  }\n  return nodeCache[id];\n}\n\n/**\n * A node is \"valid\" if it is contained by a currently mounted container.\n *\n * This means that the node does not have to be contained by a document in\n * order to be considered valid.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @param {string} id The expected ID of the node.\n * @return {boolean} Whether the node is contained by a mounted container.\n */\nfunction isValid(node, id) {\n  if (node) {\n    (\"production\" !== \"development\" ? invariant(\n      internalGetID(node) === id,\n      'ReactMount: Unexpected modification of `%s`',\n      ATTR_NAME\n    ) : invariant(internalGetID(node) === id));\n\n    var container = ReactMount.findReactContainerForID(id);\n    if (container && containsNode(container, node)) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\n/**\n * Causes the cache to forget about one React-specific ID.\n *\n * @param {string} id The ID to forget.\n */\nfunction purgeID(id) {\n  delete nodeCache[id];\n}\n\n/**\n * Mounting is the process of initializing a React component by creatings its\n * representative DOM elements and inserting them into a supplied `container`.\n * Any prior content inside `container` is destroyed in the process.\n *\n *   ReactMount.renderComponent(component, $('container'));\n *\n *   <div id=\"container\">                   <-- Supplied `container`.\n *     <div data-reactid=\".r[3]\">           <-- Rendered reactRoot of React\n *       // ...                                 component.\n *     </div>\n *   </div>\n *\n * Inside of `container`, the first element rendered is the \"reactRoot\".\n */\nvar ReactMount = {\n  /**\n   * Safety guard to prevent accidentally rendering over the entire HTML tree.\n   */\n  allowFullPageRender: false,\n\n  /** Time spent generating markup. */\n  totalInstantiationTime: 0,\n\n  /** Time spent inserting markup into the DOM. */\n  totalInjectionTime: 0,\n\n  /** Whether support for touch events should be initialized. */\n  useTouchEvents: false,\n\n  /** Exposed for debugging purposes **/\n  _instancesByReactRootID: instancesByReactRootID,\n\n  /**\n   * This is a hook provided to support rendering React components while\n   * ensuring that the apparent scroll position of its `container` does not\n   * change.\n   *\n   * @param {DOMElement} container The `container` being rendered into.\n   * @param {function} renderCallback This must be called once to do the render.\n   */\n  scrollMonitor: function(container, renderCallback) {\n    renderCallback();\n  },\n\n  /**\n   * Ensures that the top-level event delegation listener is set up. This will\n   * be invoked some time before the first time any React component is rendered.\n   * @param {DOMElement} container container we're rendering into\n   *\n   * @private\n   */\n  prepareEnvironmentForDOM: function(container) {\n    (\"production\" !== \"development\" ? invariant(\n      container && (\n        container.nodeType === ELEMENT_NODE_TYPE ||\n        container.nodeType === DOC_NODE_TYPE\n      ),\n      'prepareEnvironmentForDOM(...): Target container is not a DOM element.'\n    ) : invariant(container && (\n      container.nodeType === ELEMENT_NODE_TYPE ||\n      container.nodeType === DOC_NODE_TYPE\n    )));\n    var doc = container.nodeType === ELEMENT_NODE_TYPE ?\n      container.ownerDocument :\n      container;\n    ReactEventEmitter.ensureListening(ReactMount.useTouchEvents, doc);\n  },\n\n  /**\n   * Take a component that's already mounted into the DOM and replace its props\n   * @param {ReactComponent} prevComponent component instance already in the DOM\n   * @param {ReactComponent} nextComponent component instance to render\n   * @param {DOMElement} container container to render into\n   * @param {?function} callback function triggered on completion\n   */\n  _updateRootComponent: function(\n      prevComponent,\n      nextComponent,\n      container,\n      callback) {\n    var nextProps = nextComponent.props;\n    ReactMount.scrollMonitor(container, function() {\n      prevComponent.replaceProps(nextProps, callback);\n    });\n\n    if (\"production\" !== \"development\") {\n      // Record the root element in case it later gets transplanted.\n      rootElementsByReactRootID[getReactRootID(container)] =\n        getReactRootElementInContainer(container);\n    }\n\n    return prevComponent;\n  },\n\n  /**\n   * Register a component into the instance map and start the events system.\n   * @param {ReactComponent} nextComponent component instance to render\n   * @param {DOMElement} container container to render into\n   * @return {string} reactRoot ID prefix\n   */\n  _registerComponent: function(nextComponent, container) {\n    ReactMount.prepareEnvironmentForDOM(container);\n\n    var reactRootID = ReactMount.registerContainer(container);\n    instancesByReactRootID[reactRootID] = nextComponent;\n    return reactRootID;\n  },\n\n  /**\n   * Render a new component into the DOM.\n   * @param {ReactComponent} nextComponent component instance to render\n   * @param {DOMElement} container container to render into\n   * @param {boolean} shouldReuseMarkup if we should skip the markup insertion\n   * @return {ReactComponent} nextComponent\n   */\n  _renderNewRootComponent: function(\n      nextComponent,\n      container,\n      shouldReuseMarkup) {\n    var reactRootID = ReactMount._registerComponent(nextComponent, container);\n    nextComponent.mountComponentIntoNode(\n      reactRootID,\n      container,\n      shouldReuseMarkup\n    );\n\n    if (\"production\" !== \"development\") {\n      // Record the root element in case it later gets transplanted.\n      rootElementsByReactRootID[reactRootID] =\n        getReactRootElementInContainer(container);\n    }\n\n    return nextComponent;\n  },\n\n  /**\n   * Renders a React component into the DOM in the supplied `container`.\n   *\n   * If the React component was previously rendered into `container`, this will\n   * perform an update on it and only mutate the DOM as necessary to reflect the\n   * latest React component.\n   *\n   * @param {ReactComponent} nextComponent Component instance to render.\n   * @param {DOMElement} container DOM element to render into.\n   * @param {?function} callback function triggered on completion\n   * @return {ReactComponent} Component instance rendered in `container`.\n   */\n  renderComponent: function(nextComponent, container, callback) {\n    var registeredComponent = instancesByReactRootID[getReactRootID(container)];\n\n    if (registeredComponent) {\n      if (registeredComponent.constructor === nextComponent.constructor) {\n        return ReactMount._updateRootComponent(\n          registeredComponent,\n          nextComponent,\n          container,\n          callback\n        );\n      } else {\n        ReactMount.unmountComponentAtNode(container);\n      }\n    }\n\n    var reactRootElement = getReactRootElementInContainer(container);\n    var containerHasReactMarkup =\n      reactRootElement && ReactMount.isRenderedByReact(reactRootElement);\n\n    var shouldReuseMarkup = containerHasReactMarkup && !registeredComponent;\n\n    var component = ReactMount._renderNewRootComponent(\n      nextComponent,\n      container,\n      shouldReuseMarkup\n    );\n    callback && callback();\n    return component;\n  },\n\n  /**\n   * Constructs a component instance of `constructor` with `initialProps` and\n   * renders it into the supplied `container`.\n   *\n   * @param {function} constructor React component constructor.\n   * @param {?object} props Initial props of the component instance.\n   * @param {DOMElement} container DOM element to render into.\n   * @return {ReactComponent} Component instance rendered in `container`.\n   */\n  constructAndRenderComponent: function(constructor, props, container) {\n    return ReactMount.renderComponent(constructor(props), container);\n  },\n\n  /**\n   * Constructs a component instance of `constructor` with `initialProps` and\n   * renders it into a container node identified by supplied `id`.\n   *\n   * @param {function} componentConstructor React component constructor\n   * @param {?object} props Initial props of the component instance.\n   * @param {string} id ID of the DOM element to render into.\n   * @return {ReactComponent} Component instance rendered in the container node.\n   */\n  constructAndRenderComponentByID: function(constructor, props, id) {\n    return ReactMount.constructAndRenderComponent(constructor, props, $(id));\n  },\n\n  /**\n   * Registers a container node into which React components will be rendered.\n   * This also creates the \"reatRoot\" ID that will be assigned to the element\n   * rendered within.\n   *\n   * @param {DOMElement} container DOM element to register as a container.\n   * @return {string} The \"reactRoot\" ID of elements rendered within.\n   */\n  registerContainer: function(container) {\n    var reactRootID = getReactRootID(container);\n    if (reactRootID) {\n      // If one exists, make sure it is a valid \"reactRoot\" ID.\n      reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(reactRootID);\n    }\n    if (!reactRootID) {\n      // No valid \"reactRoot\" ID found, create one.\n      reactRootID = ReactInstanceHandles.createReactRootID();\n    }\n    containersByReactRootID[reactRootID] = container;\n    return reactRootID;\n  },\n\n  /**\n   * Unmounts and destroys the React component rendered in the `container`.\n   *\n   * @param {DOMElement} container DOM element containing a React component.\n   * @return {boolean} True if a component was found in and unmounted from\n   *                   `container`\n   */\n  unmountComponentAtNode: function(container) {\n    var reactRootID = getReactRootID(container);\n    var component = instancesByReactRootID[reactRootID];\n    if (!component) {\n      return false;\n    }\n    ReactMount.unmountComponentFromNode(component, container);\n    delete instancesByReactRootID[reactRootID];\n    delete containersByReactRootID[reactRootID];\n    if (\"production\" !== \"development\") {\n      delete rootElementsByReactRootID[reactRootID];\n    }\n    return true;\n  },\n\n  /**\n   * @deprecated\n   */\n  unmountAndReleaseReactRootNode: function() {\n    if (\"production\" !== \"development\") {\n      console.warn(\n        'unmountAndReleaseReactRootNode() has been renamed to ' +\n        'unmountComponentAtNode() and will be removed in the next ' +\n        'version of React.'\n      );\n    }\n    return ReactMount.unmountComponentAtNode.apply(this, arguments);\n  },\n\n  /**\n   * Unmounts a component and removes it from the DOM.\n   *\n   * @param {ReactComponent} instance React component instance.\n   * @param {DOMElement} container DOM element to unmount from.\n   * @final\n   * @internal\n   * @see {ReactMount.unmountComponentAtNode}\n   */\n  unmountComponentFromNode: function(instance, container) {\n    instance.unmountComponent();\n\n    if (container.nodeType === DOC_NODE_TYPE) {\n      container = container.documentElement;\n    }\n\n    // http://jsperf.com/emptying-a-node\n    while (container.lastChild) {\n      container.removeChild(container.lastChild);\n    }\n  },\n\n  /**\n   * Finds the container DOM element that contains React component to which the\n   * supplied DOM `id` belongs.\n   *\n   * @param {string} id The ID of an element rendered by a React component.\n   * @return {?DOMElement} DOM element that contains the `id`.\n   */\n  findReactContainerForID: function(id) {\n    var reactRootID = ReactInstanceHandles.getReactRootIDFromNodeID(id);\n    var container = containersByReactRootID[reactRootID];\n\n    if (\"production\" !== \"development\") {\n      var rootElement = rootElementsByReactRootID[reactRootID];\n      if (rootElement && rootElement.parentNode !== container) {\n        (\"production\" !== \"development\" ? invariant(\n          // Call internalGetID here because getID calls isValid which calls\n          // findReactContainerForID (this function).\n          internalGetID(rootElement) === reactRootID,\n          'ReactMount: Root element ID differed from reactRootID.'\n        ) : invariant(// Call internalGetID here because getID calls isValid which calls\n        // findReactContainerForID (this function).\n        internalGetID(rootElement) === reactRootID));\n\n        var containerChild = container.firstChild;\n        if (containerChild &&\n            reactRootID === internalGetID(containerChild)) {\n          // If the container has a new child with the same ID as the old\n          // root element, then rootElementsByReactRootID[reactRootID] is\n          // just stale and needs to be updated. The case that deserves a\n          // warning is when the container is empty.\n          rootElementsByReactRootID[reactRootID] = containerChild;\n        } else {\n          console.warn(\n            'ReactMount: Root element has been removed from its original ' +\n            'container. New container:', rootElement.parentNode\n          );\n        }\n      }\n    }\n\n    return container;\n  },\n\n  /**\n   * Finds an element rendered by React with the supplied ID.\n   *\n   * @param {string} id ID of a DOM node in the React component.\n   * @return {DOMElement} Root DOM node of the React component.\n   */\n  findReactNodeByID: function(id) {\n    var reactRoot = ReactMount.findReactContainerForID(id);\n    return ReactMount.findComponentRoot(reactRoot, id);\n  },\n\n  /**\n   * True if the supplied `node` is rendered by React.\n   *\n   * @param {*} node DOM Element to check.\n   * @return {boolean} True if the DOM Element appears to be rendered by React.\n   * @internal\n   */\n  isRenderedByReact: function(node) {\n    if (node.nodeType !== 1) {\n      // Not a DOMElement, therefore not a React component\n      return false;\n    }\n    var id = ReactMount.getID(node);\n    return id ? id.charAt(0) === SEPARATOR : false;\n  },\n\n  /**\n   * Traverses up the ancestors of the supplied node to find a node that is a\n   * DOM representation of a React component.\n   *\n   * @param {*} node\n   * @return {?DOMEventTarget}\n   * @internal\n   */\n  getFirstReactDOM: function(node) {\n    var current = node;\n    while (current && current.parentNode !== current) {\n      if (ReactMount.isRenderedByReact(current)) {\n        return current;\n      }\n      current = current.parentNode;\n    }\n    return null;\n  },\n\n  /**\n   * Finds a node with the supplied `id` inside of the supplied `ancestorNode`.\n   * Exploits the ID naming scheme to perform the search quickly.\n   *\n   * @param {DOMEventTarget} ancestorNode Search from this root.\n   * @pararm {string} id ID of the DOM representation of the component.\n   * @return {DOMEventTarget} DOM node with the supplied `id`.\n   * @internal\n   */\n  findComponentRoot: function(ancestorNode, id) {\n    var firstChildren = [ancestorNode.firstChild];\n    var childIndex = 0;\n\n    while (childIndex < firstChildren.length) {\n      var child = firstChildren[childIndex++];\n      while (child) {\n        var childID = ReactMount.getID(child);\n        if (childID) {\n          if (id === childID) {\n            return child;\n          } else if (ReactInstanceHandles.isAncestorIDOf(childID, id)) {\n            // If we find a child whose ID is an ancestor of the given ID,\n            // then we can be sure that we only want to search the subtree\n            // rooted at this child, so we can throw out the rest of the\n            // search state.\n            firstChildren.length = childIndex = 0;\n            firstChildren.push(child.firstChild);\n            break;\n          } else {\n            // TODO This should not be necessary if the ID hierarchy is\n            // correct, but is occasionally necessary if the DOM has been\n            // modified in unexpected ways.\n            firstChildren.push(child.firstChild);\n          }\n        } else {\n          // If this child had no ID, then there's a chance that it was\n          // injected automatically by the browser, as when a `<table>`\n          // element sprouts an extra `<tbody>` child as a side effect of\n          // `.innerHTML` parsing. Optimistically continue down this\n          // branch, but not before examining the other siblings.\n          firstChildren.push(child.firstChild);\n        }\n        child = child.nextSibling;\n      }\n    }\n\n    if (\"production\" !== \"development\") {\n      console.error(\n        'Error while invoking `findComponentRoot` with the following ' +\n        'ancestor node:',\n        ancestorNode\n      );\n    }\n    (\"production\" !== \"development\" ? invariant(\n      false,\n      'findComponentRoot(..., %s): Unable to find element. This probably ' +\n      'means the DOM was unexpectedly mutated (e.g. by the browser).',\n      id,\n      ReactMount.getID(ancestorNode)\n    ) : invariant(false));\n  },\n\n\n  /**\n   * React ID utilities.\n   */\n\n  ATTR_NAME: ATTR_NAME,\n\n  getReactRootID: getReactRootID,\n\n  getID: getID,\n\n  setID: setID,\n\n  getNode: getNode,\n\n  purgeID: purgeID,\n\n  injection: {}\n};\n\nmodule.exports = ReactMount;\n\n},{\"./$\":1,\"./ReactEventEmitter\":44,\"./ReactInstanceHandles\":48,\"./containsNode\":77,\"./getReactRootElementInContainer\":94,\"./invariant\":98}],51:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMountReady\n */\n\n\"use strict\";\n\nvar PooledClass = require(\"./PooledClass\");\n\nvar mixInto = require(\"./mixInto\");\n\n/**\n * A specialized pseudo-event module to help keep track of components waiting to\n * be notified when their DOM representations are available for use.\n *\n * This implements `PooledClass`, so you should never need to instantiate this.\n * Instead, use `ReactMountReady.getPooled()`.\n *\n * @param {?array<function>} initialCollection\n * @class ReactMountReady\n * @implements PooledClass\n * @internal\n */\nfunction ReactMountReady(initialCollection) {\n  this._queue = initialCollection || null;\n}\n\nmixInto(ReactMountReady, {\n\n  /**\n   * Enqueues a callback to be invoked when `notifyAll` is invoked. This is used\n   * to enqueue calls to `componentDidMount` and `componentDidUpdate`.\n   *\n   * @param {ReactComponent} component Component being rendered.\n   * @param {function(DOMElement)} callback Invoked when `notifyAll` is invoked.\n   * @internal\n   */\n  enqueue: function(component, callback) {\n    this._queue = this._queue || [];\n    this._queue.push({component: component, callback: callback});\n  },\n\n  /**\n   * Invokes all enqueued callbacks and clears the queue. This is invoked after\n   * the DOM representation of a component has been created or updated.\n   *\n   * @internal\n   */\n  notifyAll: function() {\n    var queue = this._queue;\n    if (queue) {\n      this._queue = null;\n      for (var i = 0, l = queue.length; i < l; i++) {\n        var component = queue[i].component;\n        var callback = queue[i].callback;\n        callback.call(component, component.getDOMNode());\n      }\n      queue.length = 0;\n    }\n  },\n\n  /**\n   * Resets the internal queue.\n   *\n   * @internal\n   */\n  reset: function() {\n    this._queue = null;\n  },\n\n  /**\n   * `PooledClass` looks for this.\n   */\n  destructor: function() {\n    this.reset();\n  }\n\n});\n\nPooledClass.addPoolingTo(ReactMountReady);\n\nmodule.exports = ReactMountReady;\n\n},{\"./PooledClass\":23,\"./mixInto\":110}],52:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMultiChild\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactMultiChildUpdateTypes = require(\"./ReactMultiChildUpdateTypes\");\n\nvar flattenChildren = require(\"./flattenChildren\");\n\n/**\n * Given a `curChild` and `newChild`, determines if `curChild` should be\n * updated as opposed to being destroyed or replaced.\n *\n * @param {?ReactComponent} curChild\n * @param {?ReactComponent} newChild\n * @return {boolean} True if `curChild` should be updated with `newChild`.\n * @protected\n */\nfunction shouldUpdateChild(curChild, newChild) {\n  return curChild && newChild && curChild.constructor === newChild.constructor;\n}\n\n/**\n * Updating children of a component may trigger recursive updates. The depth is\n * used to batch recursive updates to render markup more efficiently.\n *\n * @type {number}\n * @private\n */\nvar updateDepth = 0;\n\n/**\n * Queue of update configuration objects.\n *\n * Each object has a `type` property that is in `ReactMultiChildUpdateTypes`.\n *\n * @type {array<object>}\n * @private\n */\nvar updateQueue = [];\n\n/**\n * Queue of markup to be rendered.\n *\n * @type {array<string>}\n * @private\n */\nvar markupQueue = [];\n\n/**\n * Enqueues markup to be rendered and inserted at a supplied index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {string} markup Markup that renders into an element.\n * @param {number} toIndex Destination index.\n * @private\n */\nfunction enqueueMarkup(parentID, markup, toIndex) {\n  // NOTE: Null values reduce hidden classes.\n  updateQueue.push({\n    parentID: parentID,\n    parentNode: null,\n    type: ReactMultiChildUpdateTypes.INSERT_MARKUP,\n    markupIndex: markupQueue.push(markup) - 1,\n    textContent: null,\n    fromIndex: null,\n    toIndex: toIndex\n  });\n}\n\n/**\n * Enqueues moving an existing element to another index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {number} fromIndex Source index of the existing element.\n * @param {number} toIndex Destination index of the element.\n * @private\n */\nfunction enqueueMove(parentID, fromIndex, toIndex) {\n  // NOTE: Null values reduce hidden classes.\n  updateQueue.push({\n    parentID: parentID,\n    parentNode: null,\n    type: ReactMultiChildUpdateTypes.MOVE_EXISTING,\n    markupIndex: null,\n    textContent: null,\n    fromIndex: fromIndex,\n    toIndex: toIndex\n  });\n}\n\n/**\n * Enqueues removing an element at an index.\n *\n * @param {string} parentID ID of the parent component.\n * @param {number} fromIndex Index of the element to remove.\n * @private\n */\nfunction enqueueRemove(parentID, fromIndex) {\n  // NOTE: Null values reduce hidden classes.\n  updateQueue.push({\n    parentID: parentID,\n    parentNode: null,\n    type: ReactMultiChildUpdateTypes.REMOVE_NODE,\n    markupIndex: null,\n    textContent: null,\n    fromIndex: fromIndex,\n    toIndex: null\n  });\n}\n\n/**\n * Enqueues setting the text content.\n *\n * @param {string} parentID ID of the parent component.\n * @param {string} textContent Text content to set.\n * @private\n */\nfunction enqueueTextContent(parentID, textContent) {\n  // NOTE: Null values reduce hidden classes.\n  updateQueue.push({\n    parentID: parentID,\n    parentNode: null,\n    type: ReactMultiChildUpdateTypes.TEXT_CONTENT,\n    markupIndex: null,\n    textContent: textContent,\n    fromIndex: null,\n    toIndex: null\n  });\n}\n\n/**\n * Processes any enqueued updates.\n *\n * @private\n */\nfunction processQueue() {\n  if (updateQueue.length) {\n    ReactComponent.DOMIDOperations.dangerouslyProcessChildrenUpdates(\n      updateQueue,\n      markupQueue\n    );\n    clearQueue();\n  }\n}\n\n/**\n * Clears any enqueued updates.\n *\n * @private\n */\nfunction clearQueue() {\n  updateQueue.length = 0;\n  markupQueue.length = 0;\n}\n\n/**\n * ReactMultiChild are capable of reconciling multiple children.\n *\n * @class ReactMultiChild\n * @internal\n */\nvar ReactMultiChild = {\n\n  /**\n   * Provides common functionality for components that must reconcile multiple\n   * children. This is used by `ReactDOMComponent` to mount, update, and\n   * unmount child components.\n   *\n   * @lends {ReactMultiChild.prototype}\n   */\n  Mixin: {\n\n    /**\n     * Generates a \"mount image\" for each of the supplied children. In the case\n     * of `ReactDOMComponent`, a mount image is a string of markup.\n     *\n     * @param {?object} nestedChildren Nested child maps.\n     * @return {array} An array of mounted representations.\n     * @internal\n     */\n    mountChildren: function(nestedChildren, transaction) {\n      var children = flattenChildren(nestedChildren);\n      var mountImages = [];\n      var index = 0;\n      this._renderedChildren = children;\n      for (var name in children) {\n        var child = children[name];\n        if (children.hasOwnProperty(name) && child) {\n          // Inlined for performance, see `ReactInstanceHandles.createReactID`.\n          var rootID = this._rootNodeID + '.' + name;\n          var mountImage = child.mountComponent(\n            rootID,\n            transaction,\n            this._mountDepth + 1\n          );\n          child._mountImage = mountImage;\n          child._mountIndex = index;\n          mountImages.push(mountImage);\n          index++;\n        }\n      }\n      return mountImages;\n    },\n\n    /**\n     * Replaces any rendered children with a text content string.\n     *\n     * @param {string} nextContent String of content.\n     * @internal\n     */\n    updateTextContent: function(nextContent) {\n      updateDepth++;\n      try {\n        var prevChildren = this._renderedChildren;\n        // Remove any rendered children.\n        for (var name in prevChildren) {\n          if (prevChildren.hasOwnProperty(name) &&\n              prevChildren[name]) {\n            this._unmountChildByName(prevChildren[name], name);\n          }\n        }\n        // Set new text content.\n        this.setTextContent(nextContent);\n      } catch (error) {\n        updateDepth--;\n        updateDepth || clearQueue();\n        throw error;\n      }\n      updateDepth--;\n      updateDepth || processQueue();\n    },\n\n    /**\n     * Updates the rendered children with new children.\n     *\n     * @param {?object} nextNestedChildren Nested child maps.\n     * @param {ReactReconcileTransaction} transaction\n     * @internal\n     */\n    updateChildren: function(nextNestedChildren, transaction) {\n      updateDepth++;\n      try {\n        this._updateChildren(nextNestedChildren, transaction);\n      } catch (error) {\n        updateDepth--;\n        updateDepth || clearQueue();\n        throw error;\n      }\n      updateDepth--;\n      updateDepth || processQueue();\n    },\n\n    /**\n     * Improve performance by isolating this hot code path from the try/catch\n     * block in `updateChildren`.\n     *\n     * @param {?object} nextNestedChildren Nested child maps.\n     * @param {ReactReconcileTransaction} transaction\n     * @final\n     * @protected\n     */\n    _updateChildren: function(nextNestedChildren, transaction) {\n      var nextChildren = flattenChildren(nextNestedChildren);\n      var prevChildren = this._renderedChildren;\n      if (!nextChildren && !prevChildren) {\n        return;\n      }\n      var name;\n      // `nextIndex` will increment for each child in `nextChildren`, but\n      // `lastIndex` will be the last index visited in `prevChildren`.\n      var lastIndex = 0;\n      var nextIndex = 0;\n      for (name in nextChildren) {\n        if (!nextChildren.hasOwnProperty(name)) {\n          continue;\n        }\n        var prevChild = prevChildren && prevChildren[name];\n        var nextChild = nextChildren[name];\n        if (shouldUpdateChild(prevChild, nextChild)) {\n          this.moveChild(prevChild, nextIndex, lastIndex);\n          lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n          prevChild.receiveComponent(nextChild, transaction);\n          prevChild._mountIndex = nextIndex;\n        } else {\n          if (prevChild) {\n            // Update `lastIndex` before `_mountIndex` gets unset by unmounting.\n            lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n            this._unmountChildByName(prevChild, name);\n          }\n          if (nextChild) {\n            this._mountChildByNameAtIndex(\n              nextChild, name, nextIndex, transaction\n            );\n          }\n        }\n        if (nextChild) {\n          nextIndex++;\n        }\n      }\n      // Remove children that are no longer present.\n      for (name in prevChildren) {\n        if (prevChildren.hasOwnProperty(name) &&\n            prevChildren[name] &&\n            !(nextChildren && nextChildren[name])) {\n          this._unmountChildByName(prevChildren[name], name);\n        }\n      }\n    },\n\n    /**\n     * Unmounts all rendered children. This should be used to clean up children\n     * when this component is unmounted.\n     *\n     * @internal\n     */\n    unmountChildren: function() {\n      var renderedChildren = this._renderedChildren;\n      for (var name in renderedChildren) {\n        var renderedChild = renderedChildren[name];\n        if (renderedChild && renderedChild.unmountComponent) {\n          renderedChild.unmountComponent();\n        }\n      }\n      this._renderedChildren = null;\n    },\n\n    /**\n     * Moves a child component to the supplied index.\n     *\n     * @param {ReactComponent} child Component to move.\n     * @param {number} toIndex Destination index of the element.\n     * @param {number} lastIndex Last index visited of the siblings of `child`.\n     * @protected\n     */\n    moveChild: function(child, toIndex, lastIndex) {\n      // If the index of `child` is less than `lastIndex`, then it needs to\n      // be moved. Otherwise, we do not need to move it because a child will be\n      // inserted or moved before `child`.\n      if (child._mountIndex < lastIndex) {\n        enqueueMove(this._rootNodeID, child._mountIndex, toIndex);\n      }\n    },\n\n    /**\n     * Creates a child component.\n     *\n     * @param {ReactComponent} child Component to create.\n     * @protected\n     */\n    createChild: function(child) {\n      enqueueMarkup(this._rootNodeID, child._mountImage, child._mountIndex);\n    },\n\n    /**\n     * Removes a child component.\n     *\n     * @param {ReactComponent} child Child to remove.\n     * @protected\n     */\n    removeChild: function(child) {\n      enqueueRemove(this._rootNodeID, child._mountIndex);\n    },\n\n    /**\n     * Sets this text content string.\n     *\n     * @param {string} textContent Text content to set.\n     * @protected\n     */\n    setTextContent: function(textContent) {\n      enqueueTextContent(this._rootNodeID, textContent);\n    },\n\n    /**\n     * Mounts a child with the supplied name.\n     *\n     * NOTE: This is part of `updateChildren` and is here for readability.\n     *\n     * @param {ReactComponent} child Component to mount.\n     * @param {string} name Name of the child.\n     * @param {number} index Index at which to insert the child.\n     * @param {ReactReconcileTransaction} transaction\n     * @private\n     */\n    _mountChildByNameAtIndex: function(child, name, index, transaction) {\n      // Inlined for performance, see `ReactInstanceHandles.createReactID`.\n      var rootID = this._rootNodeID + '.' + name;\n      var mountImage = child.mountComponent(\n        rootID,\n        transaction,\n        this._mountDepth + 1\n      );\n      child._mountImage = mountImage;\n      child._mountIndex = index;\n      this.createChild(child);\n      this._renderedChildren = this._renderedChildren || {};\n      this._renderedChildren[name] = child;\n    },\n\n    /**\n     * Unmounts a rendered child by name.\n     *\n     * NOTE: This is part of `updateChildren` and is here for readability.\n     *\n     * @param {ReactComponent} child Component to unmount.\n     * @param {string} name Name of the child in `this._renderedChildren`.\n     * @private\n     */\n    _unmountChildByName: function(child, name) {\n      if (ReactComponent.isValidComponent(child)) {\n        this.removeChild(child);\n        child._mountImage = null;\n        child._mountIndex = null;\n        child.unmountComponent();\n        delete this._renderedChildren[name];\n      }\n    }\n\n  }\n\n};\n\nmodule.exports = ReactMultiChild;\n\n},{\"./ReactComponent\":25,\"./ReactMultiChildUpdateTypes\":53,\"./flattenChildren\":87}],53:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactMultiChildUpdateTypes\n */\n\nvar keyMirror = require(\"./keyMirror\");\n\n/**\n * When a component's children are updated, a series of update configuration\n * objects are created in order to batch and serialize the required changes.\n *\n * Enumerates all the possible types of update configurations.\n *\n * @internal\n */\nvar ReactMultiChildUpdateTypes = keyMirror({\n  INSERT_MARKUP: null,\n  MOVE_EXISTING: null,\n  REMOVE_NODE: null,\n  TEXT_CONTENT: null\n});\n\nmodule.exports = ReactMultiChildUpdateTypes;\n\n},{\"./keyMirror\":104}],54:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactOwner\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * ReactOwners are capable of storing references to owned components.\n *\n * All components are capable of //being// referenced by owner components, but\n * only ReactOwner components are capable of //referencing// owned components.\n * The named reference is known as a \"ref\".\n *\n * Refs are available when mounted and updated during reconciliation.\n *\n *   var MyComponent = React.createClass({\n *     render: function() {\n *       return (\n *         <div onClick={this.handleClick}>\n *           <CustomComponent ref=\"custom\" />\n *         </div>\n *       );\n *     },\n *     handleClick: function() {\n *       this.refs.custom.handleClick();\n *     },\n *     componentDidMount: function() {\n *       this.refs.custom.initialize();\n *     }\n *   });\n *\n * Refs should rarely be used. When refs are used, they should only be done to\n * control data that is not handled by React's data flow.\n *\n * @class ReactOwner\n */\nvar ReactOwner = {\n\n  /**\n   * @param {?object} object\n   * @return {boolean} True if `object` is a valid owner.\n   * @final\n   */\n  isValidOwner: function(object) {\n    return !!(\n      object &&\n      typeof object.attachRef === 'function' &&\n      typeof object.detachRef === 'function'\n    );\n  },\n\n  /**\n   * Adds a component by ref to an owner component.\n   *\n   * @param {ReactComponent} component Component to reference.\n   * @param {string} ref Name by which to refer to the component.\n   * @param {ReactOwner} owner Component on which to record the ref.\n   * @final\n   * @internal\n   */\n  addComponentAsRefTo: function(component, ref, owner) {\n    (\"production\" !== \"development\" ? invariant(\n      ReactOwner.isValidOwner(owner),\n      'addComponentAsRefTo(...): Only a ReactOwner can have refs.'\n    ) : invariant(ReactOwner.isValidOwner(owner)));\n    owner.attachRef(ref, component);\n  },\n\n  /**\n   * Removes a component by ref from an owner component.\n   *\n   * @param {ReactComponent} component Component to dereference.\n   * @param {string} ref Name of the ref to remove.\n   * @param {ReactOwner} owner Component on which the ref is recorded.\n   * @final\n   * @internal\n   */\n  removeComponentAsRefFrom: function(component, ref, owner) {\n    (\"production\" !== \"development\" ? invariant(\n      ReactOwner.isValidOwner(owner),\n      'removeComponentAsRefFrom(...): Only a ReactOwner can have refs.'\n    ) : invariant(ReactOwner.isValidOwner(owner)));\n    // Check that `component` is still the current ref because we do not want to\n    // detach the ref if another component stole it.\n    if (owner.refs[ref] === component) {\n      owner.detachRef(ref);\n    }\n  },\n\n  /**\n   * A ReactComponent must mix this in to have refs.\n   *\n   * @lends {ReactOwner.prototype}\n   */\n  Mixin: {\n\n    /**\n     * Lazily allocates the refs object and stores `component` as `ref`.\n     *\n     * @param {string} ref Reference name.\n     * @param {component} component Component to store as `ref`.\n     * @final\n     * @private\n     */\n    attachRef: function(ref, component) {\n      (\"production\" !== \"development\" ? invariant(\n        component.isOwnedBy(this),\n        'attachRef(%s, ...): Only a component\\'s owner can store a ref to it.',\n        ref\n      ) : invariant(component.isOwnedBy(this)));\n      var refs = this.refs || (this.refs = {});\n      refs[ref] = component;\n    },\n\n    /**\n     * Detaches a reference name.\n     *\n     * @param {string} ref Name to dereference.\n     * @final\n     * @private\n     */\n    detachRef: function(ref) {\n      delete this.refs[ref];\n    }\n\n  }\n\n};\n\nmodule.exports = ReactOwner;\n\n},{\"./invariant\":98}],55:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactPerf\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactPerf = {\n  /**\n   * Boolean to enable/disable measurement. Set to false by default to prevent\n   * accidental logging and perf loss.\n   */\n  enableMeasure: false,\n\n  /**\n   * Holds onto the measure function in use. By default, don't measure\n   * anything, but we'll override this if we inject a measure function.\n   */\n  storedMeasure: _noMeasure,\n\n  /**\n   * Use this to wrap methods you want to measure.\n   *\n   * @param {string} objName\n   * @param {string} fnName\n   * @param {function} func\n   * @return {function}\n   */\n  measure: function(objName, fnName, func) {\n    if (\"production\" !== \"development\") {\n      var measuredFunc = null;\n      return function() {\n        if (ReactPerf.enableMeasure) {\n          if (!measuredFunc) {\n            measuredFunc = ReactPerf.storedMeasure(objName, fnName, func);\n          }\n          return measuredFunc.apply(this, arguments);\n        }\n        return func.apply(this, arguments);\n      };\n    }\n    return func;\n  },\n\n  injection: {\n    /**\n     * @param {function} measure\n     */\n    injectMeasure: function(measure) {\n      ReactPerf.storedMeasure = measure;\n    }\n  }\n};\n\nif (\"production\" !== \"development\") {\n  var ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n  var url = (ExecutionEnvironment.canUseDOM && window.location.href) || '';\n  ReactPerf.enableMeasure = ReactPerf.enableMeasure ||\n    (/[?&]react_perf\\b/).test(url);\n}\n\n/**\n * Simply passes through the measured function, without measuring it.\n *\n * @param {string} objName\n * @param {string} fnName\n * @param {function} func\n * @return {function}\n */\nfunction _noMeasure(objName, fnName, func) {\n  return func;\n}\n\nmodule.exports = ReactPerf;\n\n},{\"./ExecutionEnvironment\":20}],56:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactPropTransferer\n */\n\n\"use strict\";\n\nvar emptyFunction = require(\"./emptyFunction\");\nvar invariant = require(\"./invariant\");\nvar joinClasses = require(\"./joinClasses\");\nvar merge = require(\"./merge\");\n\n/**\n * Creates a transfer strategy that will merge prop values using the supplied\n * `mergeStrategy`. If a prop was previously unset, this just sets it.\n *\n * @param {function} mergeStrategy\n * @return {function}\n */\nfunction createTransferStrategy(mergeStrategy) {\n  return function(props, key, value) {\n    if (!props.hasOwnProperty(key)) {\n      props[key] = value;\n    } else {\n      props[key] = mergeStrategy(props[key], value);\n    }\n  };\n}\n\n/**\n * Transfer strategies dictate how props are transferred by `transferPropsTo`.\n */\nvar TransferStrategies = {\n  /**\n   * Never transfer `children`.\n   */\n  children: emptyFunction,\n  /**\n   * Transfer the `className` prop by merging them.\n   */\n  className: createTransferStrategy(joinClasses),\n  /**\n   * Never transfer the `ref` prop.\n   */\n  ref: emptyFunction,\n  /**\n   * Transfer the `style` prop (which is an object) by merging them.\n   */\n  style: createTransferStrategy(merge)\n};\n\n/**\n * ReactPropTransferer are capable of transferring props to another component\n * using a `transferPropsTo` method.\n *\n * @class ReactPropTransferer\n */\nvar ReactPropTransferer = {\n\n  TransferStrategies: TransferStrategies,\n\n  /**\n   * @lends {ReactPropTransferer.prototype}\n   */\n  Mixin: {\n\n    /**\n     * Transfer props from this component to a target component.\n     *\n     * Props that do not have an explicit transfer strategy will be transferred\n     * only if the target component does not already have the prop set.\n     *\n     * This is usually used to pass down props to a returned root component.\n     *\n     * @param {ReactComponent} component Component receiving the properties.\n     * @return {ReactComponent} The supplied `component`.\n     * @final\n     * @protected\n     */\n    transferPropsTo: function(component) {\n      (\"production\" !== \"development\" ? invariant(\n        component.props.__owner__ === this,\n        '%s: You can\\'t call transferPropsTo() on a component that you ' +\n        'don\\'t own, %s. This usually means you are calling ' +\n        'transferPropsTo() on a component passed in as props or children.',\n        this.constructor.displayName,\n        component.constructor.displayName\n      ) : invariant(component.props.__owner__ === this));\n\n      var props = {};\n      for (var thatKey in component.props) {\n        if (component.props.hasOwnProperty(thatKey)) {\n          props[thatKey] = component.props[thatKey];\n        }\n      }\n      for (var thisKey in this.props) {\n        if (!this.props.hasOwnProperty(thisKey)) {\n          continue;\n        }\n        var transferStrategy = TransferStrategies[thisKey];\n        if (transferStrategy) {\n          transferStrategy(props, thisKey, this.props[thisKey]);\n        } else if (!props.hasOwnProperty(thisKey)) {\n          props[thisKey] = this.props[thisKey];\n        }\n      }\n      component.props = props;\n      return component;\n    }\n\n  }\n\n};\n\nmodule.exports = ReactPropTransferer;\n\n},{\"./emptyFunction\":83,\"./invariant\":98,\"./joinClasses\":103,\"./merge\":107}],57:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactPropTypes\n */\n\n\"use strict\";\n\nvar createObjectFrom = require(\"./createObjectFrom\");\nvar invariant = require(\"./invariant\");\n\n/**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n *   var Props = require('ReactPropTypes');\n *   var MyArticle = React.createClass({\n *     propTypes: {\n *       // An optional string prop named \"description\".\n *       description: Props.string,\n *\n *       // A required enum prop named \"category\".\n *       category: Props.oneOf(['News','Photos']).isRequired,\n *\n *       // A prop named \"dialog\" that requires an instance of Dialog.\n *       dialog: Props.instanceOf(Dialog).isRequired\n *     },\n *     render: function() { ... }\n *   });\n *\n * A more formal specification of how these methods are used:\n *\n *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n *   decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n *   var Props = require('ReactPropTypes');\n *   var MyLink = React.createClass({\n *     propTypes: {\n *       // An optional string or URI prop named \"href\".\n *       href: function(props, propName, componentName) {\n *         var propValue = props[propName];\n *         invariant(\n *           propValue == null ||\n *           typeof propValue === 'string' ||\n *           propValue instanceof URI,\n *           'Invalid `%s` supplied to `%s`, expected string or URI.',\n *           propName,\n *           componentName\n *         );\n *       }\n *     },\n *     render: function() { ... }\n *   });\n *\n * @internal\n */\nvar Props = {\n\n  array: createPrimitiveTypeChecker('array'),\n  bool: createPrimitiveTypeChecker('boolean'),\n  func: createPrimitiveTypeChecker('function'),\n  number: createPrimitiveTypeChecker('number'),\n  object: createPrimitiveTypeChecker('object'),\n  string: createPrimitiveTypeChecker('string'),\n\n  oneOf: createEnumTypeChecker,\n\n  instanceOf: createInstanceTypeChecker\n\n};\n\nvar ANONYMOUS = '<<anonymous>>';\n\nfunction createPrimitiveTypeChecker(expectedType) {\n  function validatePrimitiveType(propValue, propName, componentName) {\n    var propType = typeof propValue;\n    if (propType === 'object' && Array.isArray(propValue)) {\n      propType = 'array';\n    }\n    (\"production\" !== \"development\" ? invariant(\n      propType === expectedType,\n      'Invalid prop `%s` of type `%s` supplied to `%s`, expected `%s`.',\n      propName,\n      propType,\n      componentName,\n      expectedType\n    ) : invariant(propType === expectedType));\n  }\n  return createChainableTypeChecker(validatePrimitiveType);\n}\n\nfunction createEnumTypeChecker(expectedValues) {\n  var expectedEnum = createObjectFrom(expectedValues);\n  function validateEnumType(propValue, propName, componentName) {\n    (\"production\" !== \"development\" ? invariant(\n      expectedEnum[propValue],\n      'Invalid prop `%s` supplied to `%s`, expected one of %s.',\n      propName,\n      componentName,\n      JSON.stringify(Object.keys(expectedEnum))\n    ) : invariant(expectedEnum[propValue]));\n  }\n  return createChainableTypeChecker(validateEnumType);\n}\n\nfunction createInstanceTypeChecker(expectedClass) {\n  function validateInstanceType(propValue, propName, componentName) {\n    (\"production\" !== \"development\" ? invariant(\n      propValue instanceof expectedClass,\n      'Invalid prop `%s` supplied to `%s`, expected instance of `%s`.',\n      propName,\n      componentName,\n      expectedClass.name || ANONYMOUS\n    ) : invariant(propValue instanceof expectedClass));\n  }\n  return createChainableTypeChecker(validateInstanceType);\n}\n\nfunction createChainableTypeChecker(validate) {\n  function createTypeChecker(isRequired) {\n    function checkType(props, propName, componentName) {\n      var propValue = props[propName];\n      if (propValue != null) {\n        // Only validate if there is a value to check.\n        validate(propValue, propName, componentName || ANONYMOUS);\n      } else {\n        (\"production\" !== \"development\" ? invariant(\n          !isRequired,\n          'Required prop `%s` was not specified in `%s`.',\n          propName,\n          componentName || ANONYMOUS\n        ) : invariant(!isRequired));\n      }\n    }\n    if (!isRequired) {\n      checkType.isRequired = createTypeChecker(true);\n    }\n    return checkType;\n  }\n  return createTypeChecker(false);\n}\n\nmodule.exports = Props;\n\n},{\"./createObjectFrom\":81,\"./invariant\":98}],58:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactReconcileTransaction\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar PooledClass = require(\"./PooledClass\");\nvar ReactEventEmitter = require(\"./ReactEventEmitter\");\nvar ReactInputSelection = require(\"./ReactInputSelection\");\nvar ReactMountReady = require(\"./ReactMountReady\");\nvar Transaction = require(\"./Transaction\");\n\nvar mixInto = require(\"./mixInto\");\n\n/**\n * Ensures that, when possible, the selection range (currently selected text\n * input) is not disturbed by performing the transaction.\n */\nvar SELECTION_RESTORATION = {\n  /**\n   * @return {Selection} Selection information.\n   */\n  initialize: ReactInputSelection.getSelectionInformation,\n  /**\n   * @param {Selection} sel Selection information returned from `initialize`.\n   */\n  close: ReactInputSelection.restoreSelection\n};\n\n/**\n * Suppresses events (blur/focus) that could be inadvertently dispatched due to\n * high level DOM manipulations (like temporarily removing a text input from the\n * DOM).\n */\nvar EVENT_SUPPRESSION = {\n  /**\n   * @return {boolean} The enabled status of `ReactEventEmitter` before the\n   * reconciliation.\n   */\n  initialize: function() {\n    var currentlyEnabled = ReactEventEmitter.isEnabled();\n    ReactEventEmitter.setEnabled(false);\n    return currentlyEnabled;\n  },\n\n  /**\n   * @param {boolean} previouslyEnabled Enabled status of `ReactEventEmitter`\n   *   before the reconciliation occured. `close` restores the previous value.\n   */\n  close: function(previouslyEnabled) {\n    ReactEventEmitter.setEnabled(previouslyEnabled);\n  }\n};\n\n/**\n * Provides a `ReactMountReady` queue for collecting `onDOMReady` callbacks\n * during the performing of the transaction.\n */\nvar ON_DOM_READY_QUEUEING = {\n  /**\n   * Initializes the internal `onDOMReady` queue.\n   */\n  initialize: function() {\n    this.reactMountReady.reset();\n  },\n\n  /**\n   * After DOM is flushed, invoke all registered `onDOMReady` callbacks.\n   */\n  close: function() {\n    this.reactMountReady.notifyAll();\n  }\n};\n\n/**\n * Executed within the scope of the `Transaction` instance. Consider these as\n * being member methods, but with an implied ordering while being isolated from\n * each other.\n */\nvar TRANSACTION_WRAPPERS = [\n  SELECTION_RESTORATION,\n  EVENT_SUPPRESSION,\n  ON_DOM_READY_QUEUEING\n];\n\n/**\n * Currently:\n * - The order that these are listed in the transaction is critical:\n * - Suppresses events.\n * - Restores selection range.\n *\n * Future:\n * - Restore document/overflow scroll positions that were unintentionally\n *   modified via DOM insertions above the top viewport boundary.\n * - Implement/integrate with customized constraint based layout system and keep\n *   track of which dimensions must be remeasured.\n *\n * @class ReactReconcileTransaction\n */\nfunction ReactReconcileTransaction() {\n  this.reinitializeTransaction();\n  this.reactMountReady = ReactMountReady.getPooled(null);\n}\n\nvar Mixin = {\n  /**\n   * @see Transaction\n   * @abstract\n   * @final\n   * @return {array<object>} List of operation wrap proceedures.\n   *   TODO: convert to array<TransactionWrapper>\n   */\n  getTransactionWrappers: function() {\n    if (ExecutionEnvironment.canUseDOM) {\n      return TRANSACTION_WRAPPERS;\n    } else {\n      return [];\n    }\n  },\n\n  /**\n   * @return {object} The queue to collect `onDOMReady` callbacks with.\n   *   TODO: convert to ReactMountReady\n   */\n  getReactMountReady: function() {\n    return this.reactMountReady;\n  },\n\n  /**\n   * `PooledClass` looks for this, and will invoke this before allowing this\n   * instance to be resused.\n   */\n  destructor: function() {\n    ReactMountReady.release(this.reactMountReady);\n    this.reactMountReady = null;\n  }\n};\n\n\nmixInto(ReactReconcileTransaction, Transaction.Mixin);\nmixInto(ReactReconcileTransaction, Mixin);\n\nPooledClass.addPoolingTo(ReactReconcileTransaction);\n\nmodule.exports = ReactReconcileTransaction;\n\n},{\"./ExecutionEnvironment\":20,\"./PooledClass\":23,\"./ReactEventEmitter\":44,\"./ReactInputSelection\":47,\"./ReactMountReady\":51,\"./Transaction\":73,\"./mixInto\":110}],59:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @typechecks static-only\n * @providesModule ReactServerRendering\n */\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactInstanceHandles = require(\"./ReactInstanceHandles\");\nvar ReactMarkupChecksum = require(\"./ReactMarkupChecksum\");\nvar ReactReconcileTransaction = require(\"./ReactReconcileTransaction\");\n\nvar invariant = require(\"./invariant\");\n\n/**\n * @param {ReactComponent} component\n * @param {function} callback\n */\nfunction renderComponentToString(component, callback) {\n  // We use a callback API to keep the API async in case in the future we ever\n  // need it, but in reality this is a synchronous operation.\n\n  (\"production\" !== \"development\" ? invariant(\n    ReactComponent.isValidComponent(component),\n    'renderComponentToString(): You must pass a valid ReactComponent.'\n  ) : invariant(ReactComponent.isValidComponent(component)));\n\n  (\"production\" !== \"development\" ? invariant(\n    typeof callback === 'function',\n    'renderComponentToString(): You must pass a function as a callback.'\n  ) : invariant(typeof callback === 'function'));\n\n  var id = ReactInstanceHandles.createReactRootID();\n  var transaction = ReactReconcileTransaction.getPooled();\n  transaction.reinitializeTransaction();\n  try {\n    transaction.perform(function() {\n      var markup = component.mountComponent(id, transaction, 0);\n      markup = ReactMarkupChecksum.addChecksumToMarkup(markup);\n      callback(markup);\n    }, null);\n  } finally {\n    ReactReconcileTransaction.release(transaction);\n  }\n}\n\nmodule.exports = {\n  renderComponentToString: renderComponentToString\n};\n\n},{\"./ReactComponent\":25,\"./ReactInstanceHandles\":48,\"./ReactMarkupChecksum\":49,\"./ReactReconcileTransaction\":58,\"./invariant\":98}],60:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactTextComponent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactMount = require(\"./ReactMount\");\n\nvar escapeTextForBrowser = require(\"./escapeTextForBrowser\");\nvar mixInto = require(\"./mixInto\");\n\n/**\n * Text nodes violate a couple assumptions that React makes about components:\n *\n *  - When mounting text into the DOM, adjacent text nodes are merged.\n *  - Text nodes cannot be assigned a React root ID.\n *\n * This component is used to wrap strings in elements so that they can undergo\n * the same reconciliation that is applied to elements.\n *\n * TODO: Investigate representing React components in the DOM with text nodes.\n *\n * @class ReactTextComponent\n * @extends ReactComponent\n * @internal\n */\nvar ReactTextComponent = function(initialText) {\n  this.construct({text: initialText});\n};\n\nmixInto(ReactTextComponent, ReactComponent.Mixin);\nmixInto(ReactTextComponent, {\n\n  /**\n   * Creates the markup for this text node. This node is not intended to have\n   * any features besides containing text content.\n   *\n   * @param {string} rootID DOM ID of the root node.\n   * @param {ReactReconcileTransaction} transaction\n   * @param {number} mountDepth number of components in the owner hierarchy\n   * @return {string} Markup for this text node.\n   * @internal\n   */\n  mountComponent: function(rootID, transaction, mountDepth) {\n    ReactComponent.Mixin.mountComponent.call(\n      this,\n      rootID,\n      transaction,\n      mountDepth\n    );\n    return (\n      '<span ' + ReactMount.ATTR_NAME + '=\"' + escapeTextForBrowser(rootID) + '\">' +\n        escapeTextForBrowser(this.props.text) +\n      '</span>'\n    );\n  },\n\n  /**\n   * Updates this component by updating the text content.\n   *\n   * @param {object} nextComponent Contains the next text content.\n   * @param {ReactReconcileTransaction} transaction\n   * @internal\n   */\n  receiveComponent: function(nextComponent, transaction) {\n    var nextProps = nextComponent.props;\n    if (nextProps.text !== this.props.text) {\n      this.props.text = nextProps.text;\n      ReactComponent.DOMIDOperations.updateTextContentByID(\n        this._rootNodeID,\n        nextProps.text\n      );\n    }\n  }\n\n});\n\nmodule.exports = ReactTextComponent;\n\n},{\"./ReactComponent\":25,\"./ReactMount\":50,\"./escapeTextForBrowser\":84,\"./mixInto\":110}],61:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ReactUpdates\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\nvar dirtyComponents = [];\n\nvar batchingStrategy = null;\n\nfunction ensureBatchingStrategy() {\n  (\"production\" !== \"development\" ? invariant(batchingStrategy, 'ReactUpdates: must inject a batching strategy') : invariant(batchingStrategy));\n}\n\nfunction batchedUpdates(callback, param) {\n  ensureBatchingStrategy();\n  batchingStrategy.batchedUpdates(callback, param);\n}\n\n/**\n * Array comparator for ReactComponents by owner depth\n *\n * @param {ReactComponent} c1 first component you're comparing\n * @param {ReactComponent} c2 second component you're comparing\n * @return {number} Return value usable by Array.prototype.sort().\n */\nfunction mountDepthComparator(c1, c2) {\n  return c1._mountDepth - c2._mountDepth;\n}\n\nfunction runBatchedUpdates() {\n  // Since reconciling a component higher in the owner hierarchy usually (not\n  // always -- see shouldComponentUpdate()) will reconcile children, reconcile\n  // them before their children by sorting the array.\n\n  dirtyComponents.sort(mountDepthComparator);\n\n  for (var i = 0; i < dirtyComponents.length; i++) {\n    // If a component is unmounted before pending changes apply, ignore them\n    // TODO: Queue unmounts in the same list to avoid this happening at all\n    var component = dirtyComponents[i];\n    if (component.isMounted()) {\n      // If performUpdateIfNecessary happens to enqueue any new updates, we\n      // shouldn't execute the callbacks until the next render happens, so\n      // stash the callbacks first\n      var callbacks = component._pendingCallbacks;\n      component._pendingCallbacks = null;\n      component.performUpdateIfNecessary();\n      if (callbacks) {\n        for (var j = 0; j < callbacks.length; j++) {\n          callbacks[j].call(component);\n        }\n      }\n    }\n  }\n}\n\nfunction clearDirtyComponents() {\n  dirtyComponents.length = 0;\n}\n\nfunction flushBatchedUpdates() {\n  // Run these in separate functions so the JIT can optimize\n  try {\n    runBatchedUpdates();\n  } catch (e) {\n    // IE 8 requires catch to use finally.\n    throw e;\n  } finally {\n    clearDirtyComponents();\n  }\n}\n\n/**\n * Mark a component as needing a rerender, adding an optional callback to a\n * list of functions which will be executed once the rerender occurs.\n */\nfunction enqueueUpdate(component, callback) {\n  (\"production\" !== \"development\" ? invariant(\n    !callback || typeof callback === \"function\",\n    'enqueueUpdate(...): You called `setProps`, `replaceProps`, ' +\n    '`setState`, `replaceState`, or `forceUpdate` with a callback that ' +\n    'isn\\'t callable.'\n  ) : invariant(!callback || typeof callback === \"function\"));\n  ensureBatchingStrategy();\n\n  if (!batchingStrategy.isBatchingUpdates) {\n    component.performUpdateIfNecessary();\n    callback && callback();\n    return;\n  }\n\n  dirtyComponents.push(component);\n\n  if (callback) {\n    if (component._pendingCallbacks) {\n      component._pendingCallbacks.push(callback);\n    } else {\n      component._pendingCallbacks = [callback];\n    }\n  }\n}\n\nvar ReactUpdatesInjection = {\n  injectBatchingStrategy: function(_batchingStrategy) {\n    (\"production\" !== \"development\" ? invariant(\n      _batchingStrategy,\n      'ReactUpdates: must provide a batching strategy'\n    ) : invariant(_batchingStrategy));\n    (\"production\" !== \"development\" ? invariant(\n      typeof _batchingStrategy.batchedUpdates === 'function',\n      'ReactUpdates: must provide a batchedUpdates() function'\n    ) : invariant(typeof _batchingStrategy.batchedUpdates === 'function'));\n    (\"production\" !== \"development\" ? invariant(\n      typeof _batchingStrategy.isBatchingUpdates === 'boolean',\n      'ReactUpdates: must provide an isBatchingUpdates boolean attribute'\n    ) : invariant(typeof _batchingStrategy.isBatchingUpdates === 'boolean'));\n    batchingStrategy = _batchingStrategy;\n  }\n};\n\nvar ReactUpdates = {\n  batchedUpdates: batchedUpdates,\n  enqueueUpdate: enqueueUpdate,\n  flushBatchedUpdates: flushBatchedUpdates,\n  injection: ReactUpdatesInjection\n};\n\nmodule.exports = ReactUpdates;\n\n},{\"./invariant\":98}],62:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SelectEventPlugin\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPluginHub = require(\"./EventPluginHub\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\nvar ReactInputSelection = require(\"./ReactInputSelection\");\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\nvar getActiveElement = require(\"./getActiveElement\");\nvar isTextInputElement = require(\"./isTextInputElement\");\nvar keyOf = require(\"./keyOf\");\nvar shallowEqual = require(\"./shallowEqual\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n  select: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onSelect: null}),\n      captured: keyOf({onSelectCapture: null})\n    }\n  }\n};\n\nvar useSelectionChange = false;\n\nif (ExecutionEnvironment.canUseDOM) {\n  useSelectionChange = 'onselectionchange' in document;\n}\n\nvar activeElement = null;\nvar activeElementID = null;\nvar activeNativeEvent = null;\nvar lastSelection = null;\nvar mouseDown = false;\n\n/**\n * Get an object which is a unique representation of the current selection.\n *\n * The return value will not be consistent across nodes or browsers, but\n * two identical selections on the same node will return identical objects.\n *\n * @param {DOMElement} node\n * @param {object}\n */\nfunction getSelection(node) {\n  if ('selectionStart' in node &&\n      ReactInputSelection.hasSelectionCapabilities(node)) {\n    return {\n      start: node.selectionStart,\n      end: node.selectionEnd\n    };\n  } else if (document.selection) {\n    var range = document.selection.createRange();\n    return {\n      parentElement: range.parentElement(),\n      text: range.text,\n      top: range.boundingTop,\n      left: range.boundingLeft\n    };\n  } else {\n    var selection = window.getSelection();\n    return {\n      anchorNode: selection.anchorNode,\n      anchorOffset: selection.anchorOffset,\n      focusNode: selection.focusNode,\n      focusOffset: selection.focusOffset\n    };\n  }\n}\n\n/**\n * Poll selection to see whether it's changed.\n *\n * @param {object} nativeEvent\n * @return {?SyntheticEvent}\n */\nfunction constructSelectEvent(nativeEvent) {\n  // Ensure we have the right element, and that the user is not dragging a\n  // selection (this matches native `select` event behavior).\n  if (mouseDown || activeElement != getActiveElement()) {\n    return;\n  }\n\n  // Only fire when selection has actually changed.\n  var currentSelection = getSelection(activeElement);\n  if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {\n    lastSelection = currentSelection;\n\n    var syntheticEvent = SyntheticEvent.getPooled(\n      eventTypes.select,\n      activeElementID,\n      nativeEvent\n    );\n\n    syntheticEvent.type = 'select';\n    syntheticEvent.target = activeElement;\n\n    EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent);\n\n    return syntheticEvent;\n  }\n}\n\n/**\n * Handle deferred event. And manually dispatch synthetic events.\n */\nfunction dispatchDeferredSelectEvent() {\n  if (!activeNativeEvent) {\n    return;\n  }\n\n  var syntheticEvent = constructSelectEvent(activeNativeEvent);\n  activeNativeEvent = null;\n\n  // Enqueue and process the abstract event manually.\n  if (syntheticEvent) {\n    EventPluginHub.enqueueEvents(syntheticEvent);\n    EventPluginHub.processEventQueue();\n  }\n}\n\n/**\n * This plugin creates an `onSelect` event that normalizes select events\n * across form elements.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - contentEditable\n *\n * This differs from native browser implementations in the following ways:\n * - Fires on contentEditable fields as well as inputs.\n * - Fires for collapsed selection.\n * - Fires after user input.\n */\nvar SelectEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n\n    switch (topLevelType) {\n      // Track the input node that has focus.\n      case topLevelTypes.topFocus:\n        if (isTextInputElement(topLevelTarget) ||\n            topLevelTarget.contentEditable === 'true') {\n          activeElement = topLevelTarget;\n          activeElementID = topLevelTargetID;\n          lastSelection = null;\n        }\n        break;\n      case topLevelTypes.topBlur:\n        activeElement = null;\n        activeElementID = null;\n        lastSelection = null;\n        break;\n\n      // Don't fire the event while the user is dragging. This matches the\n      // semantics of the native select event.\n      case topLevelTypes.topMouseDown:\n        mouseDown = true;\n        break;\n      case topLevelTypes.topContextMenu:\n      case topLevelTypes.topMouseUp:\n        mouseDown = false;\n        return constructSelectEvent(nativeEvent);\n\n      // Chrome and IE fire non-standard event when selection is changed (and\n      // sometimes when it hasn't).\n      case topLevelTypes.topSelectionChange:\n        return constructSelectEvent(nativeEvent);\n\n      // Firefox doesn't support selectionchange, so check selection status\n      // after each key entry.\n      case topLevelTypes.topKeyDown:\n        if (!useSelectionChange) {\n          activeNativeEvent = nativeEvent;\n          setTimeout(dispatchDeferredSelectEvent, 0);\n        }\n        break;\n    }\n  }\n};\n\nmodule.exports = SelectEventPlugin;\n\n},{\"./EventConstants\":14,\"./EventPluginHub\":16,\"./EventPropagators\":19,\"./ExecutionEnvironment\":20,\"./ReactInputSelection\":47,\"./SyntheticEvent\":66,\"./getActiveElement\":90,\"./isTextInputElement\":101,\"./keyOf\":105,\"./shallowEqual\":115}],63:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SimpleEventPlugin\n */\n\n\"use strict\";\n\nvar EventConstants = require(\"./EventConstants\");\nvar EventPropagators = require(\"./EventPropagators\");\nvar SyntheticClipboardEvent = require(\"./SyntheticClipboardEvent\");\nvar SyntheticEvent = require(\"./SyntheticEvent\");\nvar SyntheticFocusEvent = require(\"./SyntheticFocusEvent\");\nvar SyntheticKeyboardEvent = require(\"./SyntheticKeyboardEvent\");\nvar SyntheticMouseEvent = require(\"./SyntheticMouseEvent\");\nvar SyntheticTouchEvent = require(\"./SyntheticTouchEvent\");\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\nvar SyntheticWheelEvent = require(\"./SyntheticWheelEvent\");\n\nvar invariant = require(\"./invariant\");\nvar keyOf = require(\"./keyOf\");\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n  blur: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onBlur: true}),\n      captured: keyOf({onBlurCapture: true})\n    }\n  },\n  click: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onClick: true}),\n      captured: keyOf({onClickCapture: true})\n    }\n  },\n  contextMenu: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onContextMenu: true}),\n      captured: keyOf({onContextMenuCapture: true})\n    }\n  },\n  copy: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCopy: true}),\n      captured: keyOf({onCopyCapture: true})\n    }\n  },\n  cut: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onCut: true}),\n      captured: keyOf({onCutCapture: true})\n    }\n  },\n  doubleClick: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDoubleClick: true}),\n      captured: keyOf({onDoubleClickCapture: true})\n    }\n  },\n  drag: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDrag: true}),\n      captured: keyOf({onDragCapture: true})\n    }\n  },\n  dragEnd: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragEnd: true}),\n      captured: keyOf({onDragEndCapture: true})\n    }\n  },\n  dragEnter: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragEnter: true}),\n      captured: keyOf({onDragEnterCapture: true})\n    }\n  },\n  dragExit: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragExit: true}),\n      captured: keyOf({onDragExitCapture: true})\n    }\n  },\n  dragLeave: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragLeave: true}),\n      captured: keyOf({onDragLeaveCapture: true})\n    }\n  },\n  dragOver: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragOver: true}),\n      captured: keyOf({onDragOverCapture: true})\n    }\n  },\n  dragStart: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDragStart: true}),\n      captured: keyOf({onDragStartCapture: true})\n    }\n  },\n  drop: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onDrop: true}),\n      captured: keyOf({onDropCapture: true})\n    }\n  },\n  focus: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onFocus: true}),\n      captured: keyOf({onFocusCapture: true})\n    }\n  },\n  input: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onInput: true}),\n      captured: keyOf({onInputCapture: true})\n    }\n  },\n  keyDown: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onKeyDown: true}),\n      captured: keyOf({onKeyDownCapture: true})\n    }\n  },\n  keyPress: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onKeyPress: true}),\n      captured: keyOf({onKeyPressCapture: true})\n    }\n  },\n  keyUp: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onKeyUp: true}),\n      captured: keyOf({onKeyUpCapture: true})\n    }\n  },\n  // Note: We do not allow listening to mouseOver events. Instead, use the\n  // onMouseEnter/onMouseLeave created by `EnterLeaveEventPlugin`.\n  mouseDown: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onMouseDown: true}),\n      captured: keyOf({onMouseDownCapture: true})\n    }\n  },\n  mouseMove: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onMouseMove: true}),\n      captured: keyOf({onMouseMoveCapture: true})\n    }\n  },\n  mouseUp: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onMouseUp: true}),\n      captured: keyOf({onMouseUpCapture: true})\n    }\n  },\n  paste: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onPaste: true}),\n      captured: keyOf({onPasteCapture: true})\n    }\n  },\n  scroll: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onScroll: true}),\n      captured: keyOf({onScrollCapture: true})\n    }\n  },\n  submit: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onSubmit: true}),\n      captured: keyOf({onSubmitCapture: true})\n    }\n  },\n  touchCancel: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onTouchCancel: true}),\n      captured: keyOf({onTouchCancelCapture: true})\n    }\n  },\n  touchEnd: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onTouchEnd: true}),\n      captured: keyOf({onTouchEndCapture: true})\n    }\n  },\n  touchMove: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onTouchMove: true}),\n      captured: keyOf({onTouchMoveCapture: true})\n    }\n  },\n  touchStart: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onTouchStart: true}),\n      captured: keyOf({onTouchStartCapture: true})\n    }\n  },\n  wheel: {\n    phasedRegistrationNames: {\n      bubbled: keyOf({onWheel: true}),\n      captured: keyOf({onWheelCapture: true})\n    }\n  }\n};\n\nvar topLevelEventsToDispatchConfig = {\n  topBlur:        eventTypes.blur,\n  topClick:       eventTypes.click,\n  topContextMenu: eventTypes.contextMenu,\n  topCopy:        eventTypes.copy,\n  topCut:         eventTypes.cut,\n  topDoubleClick: eventTypes.doubleClick,\n  topDrag:        eventTypes.drag,\n  topDragEnd:     eventTypes.dragEnd,\n  topDragEnter:   eventTypes.dragEnter,\n  topDragExit:    eventTypes.dragExit,\n  topDragLeave:   eventTypes.dragLeave,\n  topDragOver:    eventTypes.dragOver,\n  topDragStart:   eventTypes.dragStart,\n  topDrop:        eventTypes.drop,\n  topFocus:       eventTypes.focus,\n  topInput:       eventTypes.input,\n  topKeyDown:     eventTypes.keyDown,\n  topKeyPress:    eventTypes.keyPress,\n  topKeyUp:       eventTypes.keyUp,\n  topMouseDown:   eventTypes.mouseDown,\n  topMouseMove:   eventTypes.mouseMove,\n  topMouseUp:     eventTypes.mouseUp,\n  topPaste:       eventTypes.paste,\n  topScroll:      eventTypes.scroll,\n  topSubmit:      eventTypes.submit,\n  topTouchCancel: eventTypes.touchCancel,\n  topTouchEnd:    eventTypes.touchEnd,\n  topTouchMove:   eventTypes.touchMove,\n  topTouchStart:  eventTypes.touchStart,\n  topWheel:       eventTypes.wheel\n};\n\nvar SimpleEventPlugin = {\n\n  eventTypes: eventTypes,\n\n  /**\n   * Same as the default implementation, except cancels the event when return\n   * value is false.\n   *\n   * @param {object} Event to be dispatched.\n   * @param {function} Application-level callback.\n   * @param {string} domID DOM ID to pass to the callback.\n   */\n  executeDispatch: function(event, listener, domID) {\n    var returnValue = listener(event, domID);\n    if (returnValue === false) {\n      event.stopPropagation();\n      event.preventDefault();\n    }\n  },\n\n  /**\n   * @param {string} topLevelType Record from `EventConstants`.\n   * @param {DOMEventTarget} topLevelTarget The listening component root node.\n   * @param {string} topLevelTargetID ID of `topLevelTarget`.\n   * @param {object} nativeEvent Native browser event.\n   * @return {*} An accumulation of synthetic events.\n   * @see {EventPluginHub.extractEvents}\n   */\n  extractEvents: function(\n      topLevelType,\n      topLevelTarget,\n      topLevelTargetID,\n      nativeEvent) {\n    var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType];\n    if (!dispatchConfig) {\n      return null;\n    }\n    var EventConstructor;\n    switch(topLevelType) {\n      case topLevelTypes.topInput:\n      case topLevelTypes.topSubmit:\n        // HTML Events\n        // @see http://www.w3.org/TR/html5/index.html#events-0\n        EventConstructor = SyntheticEvent;\n        break;\n      case topLevelTypes.topKeyDown:\n      case topLevelTypes.topKeyPress:\n      case topLevelTypes.topKeyUp:\n        EventConstructor = SyntheticKeyboardEvent;\n        break;\n      case topLevelTypes.topBlur:\n      case topLevelTypes.topFocus:\n        EventConstructor = SyntheticFocusEvent;\n        break;\n      case topLevelTypes.topClick:\n        // Firefox creates a click event on right mouse clicks. This removes the\n        // unwanted click events.\n        if (nativeEvent.button === 2) {\n          return null;\n        }\n        /* falls through */\n      case topLevelTypes.topContextMenu:\n      case topLevelTypes.topDoubleClick:\n      case topLevelTypes.topDrag:\n      case topLevelTypes.topDragEnd:\n      case topLevelTypes.topDragEnter:\n      case topLevelTypes.topDragExit:\n      case topLevelTypes.topDragLeave:\n      case topLevelTypes.topDragOver:\n      case topLevelTypes.topDragStart:\n      case topLevelTypes.topDrop:\n      case topLevelTypes.topMouseDown:\n      case topLevelTypes.topMouseMove:\n      case topLevelTypes.topMouseUp:\n        EventConstructor = SyntheticMouseEvent;\n        break;\n      case topLevelTypes.topTouchCancel:\n      case topLevelTypes.topTouchEnd:\n      case topLevelTypes.topTouchMove:\n      case topLevelTypes.topTouchStart:\n        EventConstructor = SyntheticTouchEvent;\n        break;\n      case topLevelTypes.topScroll:\n        EventConstructor = SyntheticUIEvent;\n        break;\n      case topLevelTypes.topWheel:\n        EventConstructor = SyntheticWheelEvent;\n        break;\n      case topLevelTypes.topCopy:\n      case topLevelTypes.topCut:\n      case topLevelTypes.topPaste:\n        EventConstructor = SyntheticClipboardEvent;\n        break;\n    }\n    (\"production\" !== \"development\" ? invariant(\n      EventConstructor,\n      'SimpleEventPlugin: Unhandled event type, `%s`.',\n      topLevelType\n    ) : invariant(EventConstructor));\n    var event = EventConstructor.getPooled(\n      dispatchConfig,\n      topLevelTargetID,\n      nativeEvent\n    );\n    EventPropagators.accumulateTwoPhaseDispatches(event);\n    return event;\n  }\n\n};\n\nmodule.exports = SimpleEventPlugin;\n\n},{\"./EventConstants\":14,\"./EventPropagators\":19,\"./SyntheticClipboardEvent\":64,\"./SyntheticEvent\":66,\"./SyntheticFocusEvent\":67,\"./SyntheticKeyboardEvent\":68,\"./SyntheticMouseEvent\":69,\"./SyntheticTouchEvent\":70,\"./SyntheticUIEvent\":71,\"./SyntheticWheelEvent\":72,\"./invariant\":98,\"./keyOf\":105}],64:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticClipboardEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/clipboard-apis/\n */\nvar ClipboardEventInterface = {\n  clipboardData: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);\n\nmodule.exports = SyntheticClipboardEvent;\n\n\n},{\"./SyntheticEvent\":66}],65:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticCompositionEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents\n */\nvar CompositionEventInterface = {\n  data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticCompositionEvent(\n  dispatchConfig,\n  dispatchMarker,\n  nativeEvent) {\n  SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticEvent.augmentClass(\n  SyntheticCompositionEvent,\n  CompositionEventInterface\n);\n\nmodule.exports = SyntheticCompositionEvent;\n\n\n},{\"./SyntheticEvent\":66}],66:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar PooledClass = require(\"./PooledClass\");\n\nvar emptyFunction = require(\"./emptyFunction\");\nvar getEventTarget = require(\"./getEventTarget\");\nvar merge = require(\"./merge\");\nvar mergeInto = require(\"./mergeInto\");\n\n/**\n * @interface Event\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar EventInterface = {\n  type: null,\n  target: getEventTarget,\n  currentTarget: null,\n  eventPhase: null,\n  bubbles: null,\n  cancelable: null,\n  timeStamp: function(event) {\n    return event.timeStamp || Date.now();\n  },\n  defaultPrevented: null,\n  isTrusted: null\n};\n\n/**\n * Synthetic events are dispatched by event plugins, typically in response to a\n * top-level event delegation handler.\n *\n * These systems should generally use pooling to reduce the frequency of garbage\n * collection. The system should check `isPersistent` to determine whether the\n * event should be released into the pool after being dispatched. Users that\n * need a persisted event should invoke `persist`.\n *\n * Synthetic events (and subclasses) implement the DOM Level 3 Events API by\n * normalizing browser quirks. Subclasses do not necessarily have to implement a\n * DOM interface; custom application-specific events can also subclass this.\n *\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n */\nfunction SyntheticEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  this.dispatchConfig = dispatchConfig;\n  this.dispatchMarker = dispatchMarker;\n  this.nativeEvent = nativeEvent;\n\n  var Interface = this.constructor.Interface;\n  for (var propName in Interface) {\n    if (!Interface.hasOwnProperty(propName)) {\n      continue;\n    }\n    var normalize = Interface[propName];\n    if (normalize) {\n      this[propName] = normalize(nativeEvent);\n    } else {\n      this[propName] = nativeEvent[propName];\n    }\n  }\n\n  var defaultPrevented = nativeEvent.defaultPrevented != null ?\n    nativeEvent.defaultPrevented :\n    nativeEvent.returnValue === false;\n  if (defaultPrevented) {\n    this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n  } else {\n    this.isDefaultPrevented = emptyFunction.thatReturnsFalse;\n  }\n  this.isPropagationStopped = emptyFunction.thatReturnsFalse;\n}\n\nmergeInto(SyntheticEvent.prototype, {\n\n  preventDefault: function() {\n    this.defaultPrevented = true;\n    var event = this.nativeEvent;\n    event.preventDefault ? event.preventDefault() : event.returnValue = false;\n    this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n  },\n\n  stopPropagation: function() {\n    var event = this.nativeEvent;\n    event.stopPropagation ? event.stopPropagation() : event.cancelBubble = true;\n    this.isPropagationStopped = emptyFunction.thatReturnsTrue;\n  },\n\n  /**\n   * We release all dispatched `SyntheticEvent`s after each event loop, adding\n   * them back into the pool. This allows a way to hold onto a reference that\n   * won't be added back into the pool.\n   */\n  persist: function() {\n    this.isPersistent = emptyFunction.thatReturnsTrue;\n  },\n\n  /**\n   * Checks if this event should be released back into the pool.\n   *\n   * @return {boolean} True if this should not be released, false otherwise.\n   */\n  isPersistent: emptyFunction.thatReturnsFalse,\n\n  /**\n   * `PooledClass` looks for `destructor` on each instance it releases.\n   */\n  destructor: function() {\n    var Interface = this.constructor.Interface;\n    for (var propName in Interface) {\n      this[propName] = null;\n    }\n    this.dispatchConfig = null;\n    this.dispatchMarker = null;\n    this.nativeEvent = null;\n  }\n\n});\n\nSyntheticEvent.Interface = EventInterface;\n\n/**\n * Helper to reduce boilerplate when creating subclasses.\n *\n * @param {function} Class\n * @param {?object} Interface\n */\nSyntheticEvent.augmentClass = function(Class, Interface) {\n  var Super = this;\n\n  var prototype = Object.create(Super.prototype);\n  mergeInto(prototype, Class.prototype);\n  Class.prototype = prototype;\n  Class.prototype.constructor = Class;\n\n  Class.Interface = merge(Super.Interface, Interface);\n  Class.augmentClass = Super.augmentClass;\n\n  PooledClass.addPoolingTo(Class, PooledClass.threeArgumentPooler);\n};\n\nPooledClass.addPoolingTo(SyntheticEvent, PooledClass.threeArgumentPooler);\n\nmodule.exports = SyntheticEvent;\n\n},{\"./PooledClass\":23,\"./emptyFunction\":83,\"./getEventTarget\":91,\"./merge\":107,\"./mergeInto\":109}],67:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticFocusEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\n\n/**\n * @interface FocusEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar FocusEventInterface = {\n  relatedTarget: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);\n\nmodule.exports = SyntheticFocusEvent;\n\n},{\"./SyntheticUIEvent\":71}],68:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticKeyboardEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\n\n/**\n * @interface KeyboardEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar KeyboardEventInterface = {\n  'char': null,\n  key: null,\n  location: null,\n  ctrlKey: null,\n  shiftKey: null,\n  altKey: null,\n  metaKey: null,\n  repeat: null,\n  locale: null,\n  // Legacy Interface\n  charCode: null,\n  keyCode: null,\n  which: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);\n\nmodule.exports = SyntheticKeyboardEvent;\n\n},{\"./SyntheticUIEvent\":71}],69:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticMouseEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\nvar ViewportMetrics = require(\"./ViewportMetrics\");\n\n/**\n * @interface MouseEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar MouseEventInterface = {\n  screenX: null,\n  screenY: null,\n  clientX: null,\n  clientY: null,\n  ctrlKey: null,\n  shiftKey: null,\n  altKey: null,\n  metaKey: null,\n  button: function(event) {\n    // Webkit, Firefox, IE9+\n    // which:  1 2 3\n    // button: 0 1 2 (standard)\n    var button = event.button;\n    if ('which' in event) {\n      return button;\n    }\n    // IE<9\n    // which:  undefined\n    // button: 0 0 0\n    // button: 1 4 2 (onmouseup)\n    return button === 2 ? 2 : button === 4 ? 1 : 0;\n  },\n  buttons: null,\n  relatedTarget: function(event) {\n    return event.relatedTarget || (\n      event.fromElement === event.srcElement ?\n        event.toElement :\n        event.fromElement\n    );\n  },\n  // \"Proprietary\" Interface.\n  pageX: function(event) {\n    return 'pageX' in event ?\n      event.pageX :\n      event.clientX + ViewportMetrics.currentScrollLeft;\n  },\n  pageY: function(event) {\n    return 'pageY' in event ?\n      event.pageY :\n      event.clientY + ViewportMetrics.currentScrollTop;\n  }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\nmodule.exports = SyntheticMouseEvent;\n\n},{\"./SyntheticUIEvent\":71,\"./ViewportMetrics\":74}],70:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticTouchEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticUIEvent = require(\"./SyntheticUIEvent\");\n\n/**\n * @interface TouchEvent\n * @see http://www.w3.org/TR/touch-events/\n */\nvar TouchEventInterface = {\n  touches: null,\n  targetTouches: null,\n  changedTouches: null,\n  altKey: null,\n  metaKey: null,\n  ctrlKey: null,\n  shiftKey: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);\n\nmodule.exports = SyntheticTouchEvent;\n\n},{\"./SyntheticUIEvent\":71}],71:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticUIEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticEvent = require(\"./SyntheticEvent\");\n\n/**\n * @interface UIEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar UIEventInterface = {\n  view: null,\n  detail: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\nmodule.exports = SyntheticUIEvent;\n\n},{\"./SyntheticEvent\":66}],72:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule SyntheticWheelEvent\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar SyntheticMouseEvent = require(\"./SyntheticMouseEvent\");\n\n/**\n * @interface WheelEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar WheelEventInterface = {\n  deltaX: function(event) {\n    // NOTE: IE<9 does not support x-axis delta.\n    return (\n      'deltaX' in event ? event.deltaX :\n      // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).\n      'wheelDeltaX' in event ? -event.wheelDeltaX : 0\n    );\n  },\n  deltaY: function(event) {\n    return (\n      // Normalize (up is positive).\n      'deltaY' in event ? -event.deltaY :\n      // Fallback to `wheelDeltaY` for Webkit.\n      'wheelDeltaY' in event ? event.wheelDeltaY :\n      // Fallback to `wheelDelta` for IE<9.\n      'wheelDelta' in event ? event.wheelDelta : 0\n    );\n  },\n  deltaZ: null,\n  deltaMode: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticMouseEvent}\n */\nfunction SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent) {\n  SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent);\n}\n\nSyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);\n\nmodule.exports = SyntheticWheelEvent;\n\n},{\"./SyntheticMouseEvent\":69}],73:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule Transaction\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * `Transaction` creates a black box that is able to wrap any method such that\n * certain invariants are maintained before and after the method is invoked\n * (Even if an exception is thrown while invoking the wrapped method). Whoever\n * instantiates a transaction can provide enforcers of the invariants at\n * creation time. The `Transaction` class itself will supply one additional\n * automatic invariant for you - the invariant that any transaction instance\n * should not be ran while it is already being ran. You would typically create a\n * single instance of a `Transaction` for reuse multiple times, that potentially\n * is used to wrap several different methods. Wrappers are extremely simple -\n * they only require implementing two methods.\n *\n * <pre>\n *                       wrappers (injected at creation time)\n *                                      +        +\n *                                      |        |\n *                    +-----------------|--------|--------------+\n *                    |                 v        |              |\n *                    |      +---------------+   |              |\n *                    |   +--|    wrapper1   |---|----+         |\n *                    |   |  +---------------+   v    |         |\n *                    |   |          +-------------+  |         |\n *                    |   |     +----|   wrapper2  |--------+   |\n *                    |   |     |    +-------------+  |     |   |\n *                    |   |     |                     |     |   |\n *                    |   v     v                     v     v   | wrapper\n *                    | +---+ +---+   +---------+   +---+ +---+ | invariants\n * perform(anyMethod) | |   | |   |   |         |   |   | |   | | maintained\n * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | +---+ +---+   +---------+   +---+ +---+ |\n *                    |  initialize                    close    |\n *                    +-----------------------------------------+\n * </pre>\n *\n * Bonus:\n * - Reports timing metrics by method name and wrapper index.\n *\n * Use cases:\n * - Preserving the input selection ranges before/after reconciliation.\n *   Restoring selection even in the event of an unexpected error.\n * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n *   while guaranteeing that afterwards, the event system is reactivated.\n * - Flushing a queue of collected DOM mutations to the main UI thread after a\n *   reconciliation takes place in a worker thread.\n * - Invoking any collected `componentDidRender` callbacks after rendering new\n *   content.\n * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n *   to preserve the `scrollTop` (an automatic scroll aware DOM).\n * - (Future use case): Layout calculations before and after DOM upates.\n *\n * Transactional plugin API:\n * - A module that has an `initialize` method that returns any precomputation.\n * - and a `close` method that accepts the precomputation. `close` is invoked\n *   when the wrapped process is completed, or has failed.\n *\n * @param {Array<TransactionalWrapper>} transactionWrapper Wrapper modules\n * that implement `initialize` and `close`.\n * @return {Transaction} Single transaction for reuse in thread.\n *\n * @class Transaction\n */\nvar Mixin = {\n  /**\n   * Sets up this instance so that it is prepared for collecting metrics. Does\n   * so such that this setup method may be used on an instance that is already\n   * initialized, in a way that does not consume additional memory upon reuse.\n   * That can be useful if you decide to make your subclass of this mixin a\n   * \"PooledClass\".\n   */\n  reinitializeTransaction: function() {\n    this.transactionWrappers = this.getTransactionWrappers();\n    if (!this.wrapperInitData) {\n      this.wrapperInitData = [];\n    } else {\n      this.wrapperInitData.length = 0;\n    }\n    if (!this.timingMetrics) {\n      this.timingMetrics = {};\n    }\n    this.timingMetrics.methodInvocationTime = 0;\n    if (!this.timingMetrics.wrapperInitTimes) {\n      this.timingMetrics.wrapperInitTimes = [];\n    } else {\n      this.timingMetrics.wrapperInitTimes.length = 0;\n    }\n    if (!this.timingMetrics.wrapperCloseTimes) {\n      this.timingMetrics.wrapperCloseTimes = [];\n    } else {\n      this.timingMetrics.wrapperCloseTimes.length = 0;\n    }\n    this._isInTransaction = false;\n  },\n\n  _isInTransaction: false,\n\n  /**\n   * @abstract\n   * @return {Array<TransactionWrapper>} Array of transaction wrappers.\n   */\n  getTransactionWrappers: null,\n\n  isInTransaction: function() {\n    return !!this._isInTransaction;\n  },\n\n  /**\n   * Executes the function within a safety window. Use this for the top level\n   * methods that result in large amounts of computation/mutations that would\n   * need to be safety checked.\n   *\n   * @param {function} method Member of scope to call.\n   * @param {Object} scope Scope to invoke from.\n   * @param {Object?=} args... Arguments to pass to the method (optional).\n   *                           Helps prevent need to bind in many cases.\n   * @return Return value from `method`.\n   */\n  perform: function(method, scope, a, b, c, d, e, f) {\n    (\"production\" !== \"development\" ? invariant(\n      !this.isInTransaction(),\n      'Transaction.perform(...): Cannot initialize a transaction when there ' +\n      'is already an outstanding transaction.'\n    ) : invariant(!this.isInTransaction()));\n    var memberStart = Date.now();\n    var errorToThrow = null;\n    var ret;\n    try {\n      this.initializeAll();\n      ret = method.call(scope, a, b, c, d, e, f);\n    } catch (error) {\n      // IE8 requires `catch` in order to use `finally`.\n      errorToThrow = error;\n    } finally {\n      var memberEnd = Date.now();\n      this.methodInvocationTime += (memberEnd - memberStart);\n      try {\n        this.closeAll();\n      } catch (closeError) {\n        // If `method` throws, prefer to show that stack trace over any thrown\n        // by invoking `closeAll`.\n        errorToThrow = errorToThrow || closeError;\n      }\n    }\n    if (errorToThrow) {\n      throw errorToThrow;\n    }\n    return ret;\n  },\n\n  initializeAll: function() {\n    this._isInTransaction = true;\n    var transactionWrappers = this.transactionWrappers;\n    var wrapperInitTimes = this.timingMetrics.wrapperInitTimes;\n    var errorToThrow = null;\n    for (var i = 0; i < transactionWrappers.length; i++) {\n      var initStart = Date.now();\n      var wrapper = transactionWrappers[i];\n      try {\n        this.wrapperInitData[i] = wrapper.initialize ?\n          wrapper.initialize.call(this) :\n          null;\n      } catch (initError) {\n        // Prefer to show the stack trace of the first error.\n        errorToThrow = errorToThrow || initError;\n        this.wrapperInitData[i] = Transaction.OBSERVED_ERROR;\n      } finally {\n        var curInitTime = wrapperInitTimes[i];\n        var initEnd = Date.now();\n        wrapperInitTimes[i] = (curInitTime || 0) + (initEnd - initStart);\n      }\n    }\n    if (errorToThrow) {\n      throw errorToThrow;\n    }\n  },\n\n  /**\n   * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n   * them the respective return values of `this.transactionWrappers.init[i]`\n   * (`close`rs that correspond to initializers that failed will not be\n   * invoked).\n   */\n  closeAll: function() {\n    (\"production\" !== \"development\" ? invariant(\n      this.isInTransaction(),\n      'Transaction.closeAll(): Cannot close transaction when none are open.'\n    ) : invariant(this.isInTransaction()));\n    var transactionWrappers = this.transactionWrappers;\n    var wrapperCloseTimes = this.timingMetrics.wrapperCloseTimes;\n    var errorToThrow = null;\n    for (var i = 0; i < transactionWrappers.length; i++) {\n      var wrapper = transactionWrappers[i];\n      var closeStart = Date.now();\n      var initData = this.wrapperInitData[i];\n      try {\n        if (initData !== Transaction.OBSERVED_ERROR) {\n          wrapper.close && wrapper.close.call(this, initData);\n        }\n      } catch (closeError) {\n        // Prefer to show the stack trace of the first error.\n        errorToThrow = errorToThrow || closeError;\n      } finally {\n        var closeEnd = Date.now();\n        var curCloseTime = wrapperCloseTimes[i];\n        wrapperCloseTimes[i] = (curCloseTime || 0) + (closeEnd - closeStart);\n      }\n    }\n    this.wrapperInitData.length = 0;\n    this._isInTransaction = false;\n    if (errorToThrow) {\n      throw errorToThrow;\n    }\n  }\n};\n\nvar Transaction = {\n\n  Mixin: Mixin,\n\n  /**\n   * Token to look for to determine if an error occured.\n   */\n  OBSERVED_ERROR: {}\n\n};\n\nmodule.exports = Transaction;\n\n},{\"./invariant\":98}],74:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ViewportMetrics\n */\n\n\"use strict\";\n\nvar getUnboundedScrollPosition = require(\"./getUnboundedScrollPosition\");\n\nvar ViewportMetrics = {\n\n  currentScrollLeft: 0,\n\n  currentScrollTop: 0,\n\n  refreshScrollValues: function() {\n    var scrollPosition = getUnboundedScrollPosition(window);\n    ViewportMetrics.currentScrollLeft = scrollPosition.x;\n    ViewportMetrics.currentScrollTop = scrollPosition.y;\n  }\n\n};\n\nmodule.exports = ViewportMetrics;\n\n},{\"./getUnboundedScrollPosition\":96}],75:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule accumulate\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Accumulates items that must not be null or undefined.\n *\n * This is used to conserve memory by avoiding array allocations.\n *\n * @return {*|array<*>} An accumulation of items.\n */\nfunction accumulate(current, next) {\n  (\"production\" !== \"development\" ? invariant(\n    next != null,\n    'accumulate(...): Accumulated items must be not be null or undefined.'\n  ) : invariant(next != null));\n  if (current == null) {\n    return next;\n  } else {\n    // Both are not empty. Warning: Never call x.concat(y) when you are not\n    // certain that x is an Array (x could be a string with concat method).\n    var currentIsArray = Array.isArray(current);\n    var nextIsArray = Array.isArray(next);\n    if (currentIsArray) {\n      return current.concat(next);\n    } else {\n      if (nextIsArray) {\n        return [current].concat(next);\n      } else {\n        return [current, next];\n      }\n    }\n  }\n}\n\nmodule.exports = accumulate;\n\n},{\"./invariant\":98}],76:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule adler32\n */\n\n/* jslint bitwise:true */\n\n\"use strict\";\n\nvar MOD = 65521;\n\n// This is a clean-room implementation of adler32 designed for detecting\n// if markup is not what we expect it to be. It does not need to be\n// cryptographically strong, only reasonable good at detecting if markup\n// generated on the server is different than that on the client.\nfunction adler32(data) {\n  var a = 1;\n  var b = 0;\n  for (var i = 0; i < data.length; i++) {\n    a = (a + data.charCodeAt(i)) % MOD;\n    b = (b + a) % MOD;\n  }\n  return a | (b << 16);\n}\n\nmodule.exports = adler32;\n\n},{}],77:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule containsNode\n * @typechecks\n */\n\nvar isTextNode = require(\"./isTextNode\");\n\n/*jslint bitwise:true */\n\n/**\n * Checks if a given DOM node contains or is another DOM node.\n *\n * @param {?DOMNode} outerNode Outer DOM node.\n * @param {?DOMNode} innerNode Inner DOM node.\n * @return {boolean} True if `outerNode` contains or is `innerNode`.\n */\nfunction containsNode(outerNode, innerNode) {\n  if (!outerNode || !innerNode) {\n    return false;\n  } else if (outerNode === innerNode) {\n    return true;\n  } else if (isTextNode(outerNode)) {\n    return false;\n  } else if (isTextNode(innerNode)) {\n    return containsNode(outerNode, innerNode.parentNode);\n  } else if (outerNode.contains) {\n    return outerNode.contains(innerNode);\n  } else if (outerNode.compareDocumentPosition) {\n    return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n  } else {\n    return false;\n  }\n}\n\nmodule.exports = containsNode;\n\n},{\"./isTextNode\":102}],78:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule copyProperties\n */\n\n/**\n * Copy properties from one or more objects (up to 5) into the first object.\n * This is a shallow copy. It mutates the first object and also returns it.\n *\n * NOTE: `arguments` has a very significant performance penalty, which is why\n * we don't support unlimited arguments.\n */\nfunction copyProperties(obj, a, b, c, d, e, f) {\n  obj = obj || {};\n\n  if (\"production\" !== \"development\") {\n    if (f) {\n      throw new Error('Too many arguments passed to copyProperties');\n    }\n  }\n\n  var args = [a, b, c, d, e];\n  var ii = 0, v;\n  while (args[ii]) {\n    v = args[ii++];\n    for (var k in v) {\n      obj[k] = v[k];\n    }\n\n    // IE ignores toString in object iteration.. See:\n    // webreflection.blogspot.com/2007/07/quick-fix-internet-explorer-and.html\n    if (v.hasOwnProperty && v.hasOwnProperty('toString') &&\n        (typeof v.toString != 'undefined') && (obj.toString !== v.toString)) {\n      obj.toString = v.toString;\n    }\n  }\n\n  return obj;\n}\n\nmodule.exports = copyProperties;\n\n},{}],79:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule createArrayFrom\n * @typechecks\n */\n\n/**\n * NOTE: if you are a previous user of this function, it has been considered\n * unsafe because it's inconsistent across browsers for some inputs.\n * Instead use `Array.isArray()`.\n *\n * Perform a heuristic test to determine if an object is \"array-like\".\n *\n *   A monk asked Joshu, a Zen master, \"Has a dog Buddha nature?\"\n *   Joshu replied: \"Mu.\"\n *\n * This function determines if its argument has \"array nature\": it returns\n * true if the argument is an actual array, an `arguments' object, or an\n * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).\n *\n * @param {*} obj\n * @return {boolean}\n */\nfunction hasArrayNature(obj) {\n  return (\n    // not null/false\n    !!obj &&\n    // arrays are objects, NodeLists are functions in Safari\n    (typeof obj == 'object' || typeof obj == 'function') &&\n    // quacks like an array\n    ('length' in obj) &&\n    // not window\n    !('setInterval' in obj) &&\n    // no DOM node should be considered an array-like\n    // a 'select' element has 'length' and 'item' properties on IE8\n    (typeof obj.nodeType != 'number') &&\n    (\n      // a real array\n      (// HTMLCollection/NodeList\n      (Array.isArray(obj) ||\n      // arguments\n      ('callee' in obj) || 'item' in obj))\n    )\n  );\n}\n\n/**\n * Ensure that the argument is an array by wrapping it in an array if it is not.\n * Creates a copy of the argument if it is already an array.\n *\n * This is mostly useful idiomatically:\n *\n *   var createArrayFrom = require('createArrayFrom');\n *\n *   function takesOneOrMoreThings(things) {\n *     things = createArrayFrom(things);\n *     ...\n *   }\n *\n * This allows you to treat `things' as an array, but accept scalars in the API.\n *\n * This is also good for converting certain pseudo-arrays, like `arguments` or\n * HTMLCollections, into arrays.\n *\n * @param {*} obj\n * @return {array}\n */\nfunction createArrayFrom(obj) {\n  if (!hasArrayNature(obj)) {\n    return [obj];\n  }\n  if (obj.item) {\n    // IE does not support Array#slice on HTMLCollections\n    var l = obj.length, ret = new Array(l);\n    while (l--) { ret[l] = obj[l]; }\n    return ret;\n  }\n  return Array.prototype.slice.call(obj);\n}\n\nmodule.exports = createArrayFrom;\n\n},{}],80:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule createNodesFromMarkup\n * @typechecks\n */\n\n/*jslint evil: true, sub: true */\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar createArrayFrom = require(\"./createArrayFrom\");\nvar getMarkupWrap = require(\"./getMarkupWrap\");\nvar invariant = require(\"./invariant\");\n\n/**\n * Dummy container used to render all markup.\n */\nvar dummyNode =\n  ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Pattern used by `getNodeName`.\n */\nvar nodeNamePattern = /^\\s*<(\\w+)/;\n\n/**\n * Extracts the `nodeName` of the first element in a string of markup.\n *\n * @param {string} markup String of markup.\n * @return {?string} Node name of the supplied markup.\n */\nfunction getNodeName(markup) {\n  var nodeNameMatch = markup.match(nodeNamePattern);\n  return nodeNameMatch && nodeNameMatch[1].toLowerCase();\n}\n\n/**\n * Creates an array containing the nodes rendered from the supplied markup. The\n * optionally supplied `handleScript` function will be invoked once for each\n * <script> element that is rendered. If no `handleScript` function is supplied,\n * an exception is thrown if any <script> elements are rendered.\n *\n * @param {string} markup A string of valid HTML markup.\n * @param {?function} handleScript Invoked once for each rendered <script>.\n * @return {array<DOMElement|DOMTextNode>} An array of rendered nodes.\n */\nfunction createNodesFromMarkup(markup, handleScript) {\n  var node = dummyNode;\n  (\"production\" !== \"development\" ? invariant(!!dummyNode, 'createNodesFromMarkup dummy not initialized') : invariant(!!dummyNode));\n  var nodeName = getNodeName(markup);\n\n  var wrap = nodeName && getMarkupWrap(nodeName);\n  if (wrap) {\n    node.innerHTML = wrap[1] + markup + wrap[2];\n\n    var wrapDepth = wrap[0];\n    while (wrapDepth--) {\n      node = node.lastChild;\n    }\n  } else {\n    node.innerHTML = markup;\n  }\n\n  var scripts = node.getElementsByTagName('script');\n  if (scripts.length) {\n    (\"production\" !== \"development\" ? invariant(\n      handleScript,\n      'createNodesFromMarkup(...): Unexpected <script> element rendered.'\n    ) : invariant(handleScript));\n    createArrayFrom(scripts).forEach(handleScript);\n  }\n\n  var nodes = createArrayFrom(node.childNodes);\n  while (node.lastChild) {\n    node.removeChild(node.lastChild);\n  }\n  return nodes;\n}\n\nmodule.exports = createNodesFromMarkup;\n\n},{\"./ExecutionEnvironment\":20,\"./createArrayFrom\":79,\"./getMarkupWrap\":92,\"./invariant\":98}],81:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule createObjectFrom\n */\n\n/**\n * Construct an object from an array of keys\n * and optionally specified value or list of values.\n *\n *  >>> createObjectFrom(['a','b','c']);\n *  {a: true, b: true, c: true}\n *\n *  >>> createObjectFrom(['a','b','c'], false);\n *  {a: false, b: false, c: false}\n *\n *  >>> createObjectFrom(['a','b','c'], 'monkey');\n *  {c:'monkey', b:'monkey' c:'monkey'}\n *\n *  >>> createObjectFrom(['a','b','c'], [1,2,3]);\n *  {a: 1, b: 2, c: 3}\n *\n *  >>> createObjectFrom(['women', 'men'], [true, false]);\n *  {women: true, men: false}\n *\n * @param   Array   list of keys\n * @param   mixed   optional value or value array.  defaults true.\n * @returns object\n */\nfunction createObjectFrom(keys, values /* = true */) {\n  if (\"production\" !== \"development\") {\n    if (!Array.isArray(keys)) {\n      throw new TypeError('Must pass an array of keys.');\n    }\n  }\n\n  var object = {};\n  var isArray = Array.isArray(values);\n  if (typeof values == 'undefined') {\n    values = true;\n  }\n\n  for (var ii = keys.length; ii--;) {\n    object[keys[ii]] = isArray ? values[ii] : values;\n  }\n  return object;\n}\n\nmodule.exports = createObjectFrom;\n\n},{}],82:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule dangerousStyleValue\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar CSSProperty = require(\"./CSSProperty\");\n\n/**\n * Convert a value into the proper css writable value. The `styleName` name\n * name should be logical (no hyphens), as specified\n * in `CSSProperty.isUnitlessNumber`.\n *\n * @param {string} styleName CSS property name such as `topMargin`.\n * @param {*} value CSS property value such as `10px`.\n * @return {string} Normalized style value with dimensions applied.\n */\nfunction dangerousStyleValue(styleName, value) {\n  // Note that we've removed escapeTextForBrowser() calls here since the\n  // whole string will be escaped when the attribute is injected into\n  // the markup. If you provide unsafe user data here they can inject\n  // arbitrary CSS which may be problematic (I couldn't repro this):\n  // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet\n  // http://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/\n  // This is not an XSS hole but instead a potential CSS injection issue\n  // which has lead to a greater discussion about how we're going to\n  // trust URLs moving forward. See #2115901\n\n  var isEmpty = value == null || typeof value === 'boolean' || value === '';\n  if (isEmpty) {\n    return '';\n  }\n\n  var isNonNumeric = isNaN(value);\n  if (isNonNumeric || value === 0 || CSSProperty.isUnitlessNumber[styleName]) {\n    return '' + value; // cast to string\n  }\n\n  return value + 'px';\n}\n\nmodule.exports = dangerousStyleValue;\n\n},{\"./CSSProperty\":2}],83:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule emptyFunction\n */\n\nvar copyProperties = require(\"./copyProperties\");\n\nfunction makeEmptyFunction(arg) {\n  return function() {\n    return arg;\n  };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nfunction emptyFunction() {}\n\ncopyProperties(emptyFunction, {\n  thatReturns: makeEmptyFunction,\n  thatReturnsFalse: makeEmptyFunction(false),\n  thatReturnsTrue: makeEmptyFunction(true),\n  thatReturnsNull: makeEmptyFunction(null),\n  thatReturnsThis: function() { return this; },\n  thatReturnsArgument: function(arg) { return arg; }\n});\n\nmodule.exports = emptyFunction;\n\n},{\"./copyProperties\":78}],84:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule escapeTextForBrowser\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ESCAPE_LOOKUP = {\n  \"&\": \"&amp;\",\n  \">\": \"&gt;\",\n  \"<\": \"&lt;\",\n  \"\\\"\": \"&quot;\",\n  \"'\": \"&#x27;\",\n  \"/\": \"&#x2f;\"\n};\n\nvar ESCAPE_REGEX = /[&><\"'\\/]/g;\n\nfunction escaper(match) {\n  return ESCAPE_LOOKUP[match];\n}\n\n/**\n * Escapes text to prevent scripting attacks.\n *\n * @param {*} text Text value to escape.\n * @return {string} An escaped string.\n */\nfunction escapeTextForBrowser(text) {\n  return ('' + text).replace(ESCAPE_REGEX, escaper);\n}\n\nmodule.exports = escapeTextForBrowser;\n\n},{}],85:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ex\n * @typechecks\n * @nostacktrace\n */\n\n/**\n * This function transforms error message with arguments into plain text error\n * message, so that it can be passed to window.onerror without losing anything.\n * It can then be transformed back by `erx()` function.\n *\n * Usage:\n *   throw new Error(ex('Error %s from %s', errorCode, userID));\n *\n * @param {string} errorMessage\n */\n\nvar ex = function(errorMessage/*, arg1, arg2, ...*/) {\n  var args = Array.prototype.slice.call(arguments).map(function(arg) {\n    return String(arg);\n  });\n  var expectedLength = errorMessage.split('%s').length - 1;\n\n  if (expectedLength !== args.length - 1) {\n    // something wrong with the formatting string\n    return ex('ex args number mismatch: %s', JSON.stringify(args));\n  }\n\n  return ex._prefix + JSON.stringify(args) + ex._suffix;\n};\n\nex._prefix = '<![EX[';\nex._suffix = ']]>';\n\nmodule.exports = ex;\n\n},{}],86:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule filterAttributes\n * @typechecks static-only\n */\n\n/*jslint evil: true */\n\n'use strict';\n\n/**\n * Like filter(), but for a DOM nodes attributes. Returns an array of\n * the filter DOMAttribute objects. Does some perf related this like\n * caching attributes.length.\n *\n * @param {DOMElement} node Node whose attributes you want to filter\n * @return {array} array of DOM attribute objects.\n */\nfunction filterAttributes(node, func, context) {\n  var attributes = node.attributes;\n  var numAttributes = attributes.length;\n  var accumulator = [];\n  for (var i = 0; i < numAttributes; i++) {\n    var attr = attributes.item(i);\n    if (func.call(context, attr)) {\n      accumulator.push(attr);\n    }\n  }\n  return accumulator;\n}\n\nmodule.exports = filterAttributes;\n\n},{}],87:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule flattenChildren\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\nvar traverseAllChildren = require(\"./traverseAllChildren\");\n\n/**\n * @param {function} traverseContext Context passed through traversal.\n * @param {?ReactComponent} child React child component.\n * @param {!string} name String name of key path to child.\n */\nfunction flattenSingleChildIntoContext(traverseContext, child, name) {\n  // We found a component instance.\n  var result = traverseContext;\n  (\"production\" !== \"development\" ? invariant(\n    !result.hasOwnProperty(name),\n    'flattenChildren(...): Encountered two children with the same key, `%s`. ' +\n    'Children keys must be unique.',\n    name\n  ) : invariant(!result.hasOwnProperty(name)));\n  result[name] = child;\n}\n\n/**\n * Flattens children that are typically specified as `props.children`.\n * @return {!object} flattened children keyed by name.\n */\nfunction flattenChildren(children) {\n  if (children == null) {\n    return children;\n  }\n  var result = {};\n  traverseAllChildren(children, flattenSingleChildIntoContext, result);\n  return result;\n}\n\nmodule.exports = flattenChildren;\n\n},{\"./invariant\":98,\"./traverseAllChildren\":116}],88:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule forEachAccumulated\n */\n\n\"use strict\";\n\n/**\n * @param {array} an \"accumulation\" of items which is either an Array or\n * a single item. Useful when paired with the `accumulate` module. This is a\n * simple utility that allows us to reason about a collection of items, but\n * handling the case when there is exactly one item (and we do not need to\n * allocate an array).\n */\nvar forEachAccumulated = function(arr, cb, scope) {\n  if (Array.isArray(arr)) {\n    arr.forEach(cb, scope);\n  } else if (arr) {\n    cb.call(scope, arr);\n  }\n};\n\nmodule.exports = forEachAccumulated;\n\n},{}],89:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule ge\n */\n\n/**\n * Find a node by ID.  Optionally search a sub-tree outside of the document\n *\n * Use ge if you're not sure whether or not the element exists. You can test\n * for existence yourself in your application code.\n *\n * If your application code depends on the existence of the element, use $\n * instead, which will throw in DEV if the element doesn't exist.\n */\nfunction ge(arg, root, tag) {\n  return typeof arg != 'string' ? arg :\n    !root ? document.getElementById(arg) :\n    _geFromSubtree(arg, root, tag);\n}\n\nfunction _geFromSubtree(id, root, tag) {\n  var elem, children, ii;\n\n  if (_getNodeID(root) == id) {\n    return root;\n  } else if (root.getElementsByTagName) {\n    // All Elements implement this, which does an iterative DFS, which is\n    // faster than recursion and doesn't run into stack depth issues.\n    children = root.getElementsByTagName(tag || '*');\n    for (ii = 0; ii < children.length; ii++) {\n      if (_getNodeID(children[ii]) == id) {\n        return children[ii];\n      }\n    }\n  } else {\n    // DocumentFragment does not implement getElementsByTagName, so\n    // recurse over its children. Its children must be Elements, so\n    // each child will use the getElementsByTagName case instead.\n    children = root.childNodes;\n    for (ii = 0; ii < children.length; ii++) {\n      elem = _geFromSubtree(id, children[ii]);\n      if (elem) {\n        return elem;\n      }\n    }\n  }\n\n  return null;\n}\n\n/**\n * Return the ID value for a given node. This allows us to avoid issues\n * with forms that contain inputs with name=\"id\".\n *\n * @return string (null if attribute not set)\n */\nfunction _getNodeID(node) {\n  // #document and #document-fragment do not have getAttributeNode.\n  var id = node.getAttributeNode && node.getAttributeNode('id');\n  return id ? id.value : null;\n}\n\nmodule.exports = ge;\n\n},{}],90:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getActiveElement\n * @typechecks\n */\n\n/**\n * Same as document.activeElement but wraps in a try-catch block. In IE it is\n * not safe to call document.activeElement if there is nothing focused.\n */\nfunction getActiveElement() /*?DOMElement*/ {\n  try {\n    return document.activeElement;\n  } catch (e) {\n    return null;\n  }\n}\n\nmodule.exports = getActiveElement;\n\n\n},{}],91:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getEventTarget\n * @typechecks static-only\n */\n\n\"use strict\";\n\n/**\n * Gets the target node from a native browser event by accounting for\n * inconsistencies in browser DOM APIs.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {DOMEventTarget} Target node.\n */\nfunction getEventTarget(nativeEvent) {\n  var target = nativeEvent.target || nativeEvent.srcElement || window;\n  // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n  // @see http://www.quirksmode.org/js/events_properties.html\n  return target.nodeType === 3 ? target.parentNode : target;\n}\n\nmodule.exports = getEventTarget;\n\n},{}],92:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getMarkupWrap\n */\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Dummy container used to detect which wraps are necessary.\n */\nvar dummyNode =\n  ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Some browsers cannot use `innerHTML` to render certain elements standalone,\n * so we wrap them, render the wrapped nodes, then extract the desired node.\n *\n * In IE8, certain elements cannot render alone, so wrap all elements ('*').\n */\nvar shouldWrap = {\n  // Force wrapping for SVG elements because if they get created inside a <div>,\n  // they will be initialized in the wrong namespace (and will not display).\n  'circle': true,\n  'g': true,\n  'line': true,\n  'path': true,\n  'polyline': true,\n  'rect': true,\n  'text': true\n};\n\nvar selectWrap = [1, '<select multiple=\"true\">', '</select>'];\nvar tableWrap = [1, '<table>', '</table>'];\nvar trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>'];\n\nvar svgWrap = [1, '<svg>', '</svg>'];\n\nvar markupWrap = {\n  '*': [1, '?<div>', '</div>'],\n\n  'area': [1, '<map>', '</map>'],\n  'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],\n  'legend': [1, '<fieldset>', '</fieldset>'],\n  'param': [1, '<object>', '</object>'],\n  'tr': [2, '<table><tbody>', '</tbody></table>'],\n\n  'optgroup': selectWrap,\n  'option': selectWrap,\n\n  'caption': tableWrap,\n  'colgroup': tableWrap,\n  'tbody': tableWrap,\n  'tfoot': tableWrap,\n  'thead': tableWrap,\n\n  'td': trWrap,\n  'th': trWrap,\n\n  'circle': svgWrap,\n  'g': svgWrap,\n  'line': svgWrap,\n  'path': svgWrap,\n  'polyline': svgWrap,\n  'rect': svgWrap,\n  'text': svgWrap\n};\n\n/**\n * Gets the markup wrap configuration for the supplied `nodeName`.\n *\n * NOTE: This lazily detects which wraps are necessary for the current browser.\n *\n * @param {string} nodeName Lowercase `nodeName`.\n * @return {?array} Markup wrap configuration, if applicable.\n */\nfunction getMarkupWrap(nodeName) {\n  (\"production\" !== \"development\" ? invariant(!!dummyNode, 'Markup wrapping node not initialized') : invariant(!!dummyNode));\n  if (!markupWrap.hasOwnProperty(nodeName)) {\n    nodeName = '*';\n  }\n  if (!shouldWrap.hasOwnProperty(nodeName)) {\n    if (nodeName === '*') {\n      dummyNode.innerHTML = '<link />';\n    } else {\n      dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>';\n    }\n    shouldWrap[nodeName] = !dummyNode.firstChild;\n  }\n  return shouldWrap[nodeName] ? markupWrap[nodeName] : null;\n}\n\n\nmodule.exports = getMarkupWrap;\n\n},{\"./ExecutionEnvironment\":20,\"./invariant\":98}],93:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getNodeForCharacterOffset\n */\n\n\"use strict\";\n\n/**\n * Given any node return the first leaf node without children.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {DOMElement|DOMTextNode}\n */\nfunction getLeafNode(node) {\n  while (node && node.firstChild) {\n    node = node.firstChild;\n  }\n  return node;\n}\n\n/**\n * Get the next sibling within a container. This will walk up the\n * DOM if a node's siblings have been exhausted.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {?DOMElement|DOMTextNode}\n */\nfunction getSiblingNode(node) {\n  while (node) {\n    if (node.nextSibling) {\n      return node.nextSibling;\n    }\n    node = node.parentNode;\n  }\n}\n\n/**\n * Get object describing the nodes which contain characters at offset.\n *\n * @param {DOMElement|DOMTextNode} root\n * @param {number} offset\n * @return {?object}\n */\nfunction getNodeForCharacterOffset(root, offset) {\n  var node = getLeafNode(root);\n  var nodeStart = 0;\n  var nodeEnd = 0;\n\n  while (node) {\n    if (node.nodeType == 3) {\n      nodeEnd = nodeStart + node.textContent.length;\n\n      if (nodeStart <= offset && nodeEnd >= offset) {\n        return {\n          node: node,\n          offset: offset - nodeStart\n        };\n      }\n\n      nodeStart = nodeEnd;\n    }\n\n    node = getLeafNode(getSiblingNode(node));\n  }\n}\n\nmodule.exports = getNodeForCharacterOffset;\n\n},{}],94:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getReactRootElementInContainer\n */\n\n\"use strict\";\n\nvar DOC_NODE_TYPE = 9;\n\n/**\n * @param {DOMElement|DOMDocument} container DOM element that may contain\n *                                           a React component\n * @return {?*} DOM element that may have the reactRoot ID, or null.\n */\nfunction getReactRootElementInContainer(container) {\n  if (!container) {\n    return null;\n  }\n\n  if (container.nodeType === DOC_NODE_TYPE) {\n    return container.documentElement;\n  } else {\n    return container.firstChild;\n  }\n}\n\nmodule.exports = getReactRootElementInContainer;\n\n},{}],95:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getTextContentAccessor\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar contentKey = null;\n\n/**\n * Gets the key used to access text content on a DOM node.\n *\n * @return {?string} Key used to access text content.\n * @internal\n */\nfunction getTextContentAccessor() {\n  if (!contentKey && ExecutionEnvironment.canUseDOM) {\n    contentKey = 'innerText' in document.createElement('div') ?\n      'innerText' :\n      'textContent';\n  }\n  return contentKey;\n}\n\nmodule.exports = getTextContentAccessor;\n\n},{\"./ExecutionEnvironment\":20}],96:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule getUnboundedScrollPosition\n * @typechecks\n */\n\n\"use strict\";\n\n/**\n * Gets the scroll position of the supplied element or window.\n *\n * The return values are unbounded, unlike `getScrollPosition`. This means they\n * may be negative or exceed the element boundaries (which is possible using\n * inertial scrolling).\n *\n * @param {DOMWindow|DOMElement} scrollable\n * @return {object} Map with `x` and `y` keys.\n */\nfunction getUnboundedScrollPosition(scrollable) {\n  if (scrollable === window) {\n    return {\n      x: document.documentElement.scrollLeft || document.body.scrollLeft,\n      y: document.documentElement.scrollTop  || document.body.scrollTop\n    };\n  }\n  return {\n    x: scrollable.scrollLeft,\n    y: scrollable.scrollTop\n  };\n}\n\nmodule.exports = getUnboundedScrollPosition;\n\n},{}],97:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule hyphenate\n * @typechecks\n */\n\nvar _uppercasePattern = /([A-Z])/g;\n\n/**\n * Hyphenates a camelcased string, for example:\n *\n *   > hyphenate('backgroundColor')\n *   < \"background-color\"\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenate(string) {\n  return string.replace(_uppercasePattern, '-$1').toLowerCase();\n}\n\nmodule.exports = hyphenate;\n\n},{}],98:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule invariant\n */\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf style format and arguments to provide information about\n * what broke and what you were expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nfunction invariant(condition) {\n  if (!condition) {\n    throw new Error('Invariant Violation');\n  }\n}\n\nmodule.exports = invariant;\n\nif (\"production\" !== \"development\") {\n  var invariantDev = function(condition, format, a, b, c, d, e, f) {\n    if (format === undefined) {\n      throw new Error('invariant requires an error message argument');\n    }\n\n    if (!condition) {\n      var args = [a, b, c, d, e, f];\n      var argIndex = 0;\n      throw new Error(\n        'Invariant Violation: ' +\n        format.replace(/%s/g, function() { return args[argIndex++]; })\n      );\n    }\n  };\n\n  module.exports = invariantDev;\n}\n\n},{}],99:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule isEventSupported\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\nvar testNode, useHasFeature;\nif (ExecutionEnvironment.canUseDOM) {\n  testNode = document.createElement('div');\n  useHasFeature =\n    document.implementation &&\n    document.implementation.hasFeature &&\n    // `hasFeature` always returns true in Firefox 19+.\n    document.implementation.hasFeature('', '') !== true;\n}\n\n/**\n * Checks if an event is supported in the current execution environment.\n *\n * NOTE: This will not work correctly for non-generic events such as `change`,\n * `reset`, `load`, `error`, and `select`.\n *\n * Borrows from Modernizr.\n *\n * @param {string} eventNameSuffix Event name, e.g. \"click\".\n * @param {?boolean} capture Check if the capture phase is supported.\n * @return {boolean} True if the event is supported.\n * @internal\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nfunction isEventSupported(eventNameSuffix, capture) {\n  if (!testNode || (capture && !testNode.addEventListener)) {\n    return false;\n  }\n  var element = document.createElement('div');\n\n  var eventName = 'on' + eventNameSuffix;\n  var isSupported = eventName in element;\n\n  if (!isSupported) {\n    element.setAttribute(eventName, 'return;');\n    isSupported = typeof element[eventName] === 'function';\n    if (typeof element[eventName] !== 'undefined') {\n      element[eventName] = undefined;\n    }\n    element.removeAttribute(eventName);\n  }\n\n  if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n    // This is the only way to test support for the `wheel` event in IE9+.\n    isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n  }\n\n  element = null;\n  return isSupported;\n}\n\nmodule.exports = isEventSupported;\n\n},{\"./ExecutionEnvironment\":20}],100:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule isNode\n * @typechecks\n */\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM node.\n */\nfunction isNode(object) {\n  return !!(object && (\n    typeof Node !== 'undefined' ? object instanceof Node :\n      typeof object === 'object' &&\n      typeof object.nodeType === 'number' &&\n      typeof object.nodeName === 'string'\n  ));\n}\n\nmodule.exports = isNode;\n\n},{}],101:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule isTextInputElement\n */\n\n\"use strict\";\n\n/**\n * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n */\nvar supportedInputTypes = {\n  'color': true,\n  'date': true,\n  'datetime': true,\n  'datetime-local': true,\n  'email': true,\n  'month': true,\n  'number': true,\n  'password': true,\n  'range': true,\n  'search': true,\n  'tel': true,\n  'text': true,\n  'time': true,\n  'url': true,\n  'week': true\n};\n\nfunction isTextInputElement(elem) {\n  return elem && (\n    (elem.nodeName === 'INPUT' && supportedInputTypes[elem.type]) ||\n    elem.nodeName === 'TEXTAREA'\n  );\n}\n\nmodule.exports = isTextInputElement;\n\n},{}],102:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule isTextNode\n * @typechecks\n */\n\nvar isNode = require(\"./isNode\");\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM text node.\n */\nfunction isTextNode(object) {\n  return isNode(object) && object.nodeType == 3;\n}\n\nmodule.exports = isTextNode;\n\n},{\"./isNode\":100}],103:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule joinClasses\n * @typechecks static-only\n */\n\n\"use strict\";\n\n/**\n * Combines multiple className strings into one.\n * http://jsperf.com/joinclasses-args-vs-array\n *\n * @param {...?string} classes\n * @return {string}\n */\nfunction joinClasses(className/*, ... */) {\n  if (!className) {\n    className = '';\n  }\n  var nextClass;\n  var argLength = arguments.length;\n  if (argLength > 1) {\n    for (var ii = 1; ii < argLength; ii++) {\n      nextClass = arguments[ii];\n      nextClass && (className += ' ' + nextClass);\n    }\n  }\n  return className;\n}\n\nmodule.exports = joinClasses;\n\n},{}],104:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule keyMirror\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\n\n/**\n * Constructs an enumeration with keys equal to their value.\n *\n * For example:\n *\n *   var COLORS = keyMirror({blue: null, red: null});\n *   var myColor = COLORS.blue;\n *   var isColorValid = !!COLORS[myColor];\n *\n * The last line could not be performed if the values of the generated enum were\n * not equal to their keys.\n *\n *   Input:  {key1: val1, key2: val2}\n *   Output: {key1: key1, key2: key2}\n *\n * @param {object} obj\n * @return {object}\n */\nvar keyMirror = function(obj) {\n  var ret = {};\n  var key;\n  (\"production\" !== \"development\" ? invariant(\n    obj instanceof Object && !Array.isArray(obj),\n    'keyMirror(...): Argument must be an object.'\n  ) : invariant(obj instanceof Object && !Array.isArray(obj)));\n  for (key in obj) {\n    if (!obj.hasOwnProperty(key)) {\n      continue;\n    }\n    ret[key] = key;\n  }\n  return ret;\n};\n\nmodule.exports = keyMirror;\n\n},{\"./invariant\":98}],105:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule keyOf\n */\n\n/**\n * Allows extraction of a minified key. Let's the build system minify keys\n * without loosing the ability to dynamically use key strings as values\n * themselves. Pass in an object with a single key/val pair and it will return\n * you the string key of that single record. Suppose you want to grab the\n * value for a key 'className' inside of an object. Key/val minification may\n * have aliased that key to be 'xa12'. keyOf({className: null}) will return\n * 'xa12' in that case. Resolve keys you want to use once at startup time, then\n * reuse those resolutions.\n */\nvar keyOf = function(oneKeyObj) {\n  var key;\n  for (key in oneKeyObj) {\n    if (!oneKeyObj.hasOwnProperty(key)) {\n      continue;\n    }\n    return key;\n  }\n  return null;\n};\n\n\nmodule.exports = keyOf;\n\n},{}],106:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule memoizeStringOnly\n * @typechecks static-only\n */\n\n\"use strict\";\n\n/**\n * Memoizes the return value of a function that accepts one string argument.\n *\n * @param {function} callback\n * @return {function}\n */\nfunction memoizeStringOnly(callback) {\n  var cache = {};\n  return function(string) {\n    if (cache.hasOwnProperty(string)) {\n      return cache[string];\n    } else {\n      return cache[string] = callback.call(this, string);\n    }\n  };\n}\n\nmodule.exports = memoizeStringOnly;\n\n},{}],107:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule merge\n */\n\n\"use strict\";\n\nvar mergeInto = require(\"./mergeInto\");\n\n/**\n * Shallow merges two structures into a return value, without mutating either.\n *\n * @param {?object} one Optional object with properties to merge from.\n * @param {?object} two Optional object with properties to merge from.\n * @return {object} The shallow extension of one by two.\n */\nvar merge = function(one, two) {\n  var result = {};\n  mergeInto(result, one);\n  mergeInto(result, two);\n  return result;\n};\n\nmodule.exports = merge;\n\n},{\"./mergeInto\":109}],108:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule mergeHelpers\n *\n * requiresPolyfills: Array.isArray\n */\n\n\"use strict\";\n\nvar invariant = require(\"./invariant\");\nvar keyMirror = require(\"./keyMirror\");\n\n/**\n * Maximum number of levels to traverse. Will catch circular structures.\n * @const\n */\nvar MAX_MERGE_DEPTH = 36;\n\n/**\n * We won't worry about edge cases like new String('x') or new Boolean(true).\n * Functions are considered terminals, and arrays are not.\n * @param {*} o The item/object/value to test.\n * @return {boolean} true iff the argument is a terminal.\n */\nvar isTerminal = function(o) {\n  return typeof o !== 'object' || o === null;\n};\n\nvar mergeHelpers = {\n\n  MAX_MERGE_DEPTH: MAX_MERGE_DEPTH,\n\n  isTerminal: isTerminal,\n\n  /**\n   * Converts null/undefined values into empty object.\n   *\n   * @param {?Object=} arg Argument to be normalized (nullable optional)\n   * @return {!Object}\n   */\n  normalizeMergeArg: function(arg) {\n    return arg === undefined || arg === null ? {} : arg;\n  },\n\n  /**\n   * If merging Arrays, a merge strategy *must* be supplied. If not, it is\n   * likely the caller's fault. If this function is ever called with anything\n   * but `one` and `two` being `Array`s, it is the fault of the merge utilities.\n   *\n   * @param {*} one Array to merge into.\n   * @param {*} two Array to merge from.\n   */\n  checkMergeArrayArgs: function(one, two) {\n    (\"production\" !== \"development\" ? invariant(\n      Array.isArray(one) && Array.isArray(two),\n      'Critical assumptions about the merge functions have been violated. ' +\n      'This is the fault of the merge functions themselves, not necessarily ' +\n      'the callers.'\n    ) : invariant(Array.isArray(one) && Array.isArray(two)));\n  },\n\n  /**\n   * @param {*} one Object to merge into.\n   * @param {*} two Object to merge from.\n   */\n  checkMergeObjectArgs: function(one, two) {\n    mergeHelpers.checkMergeObjectArg(one);\n    mergeHelpers.checkMergeObjectArg(two);\n  },\n\n  /**\n   * @param {*} arg\n   */\n  checkMergeObjectArg: function(arg) {\n    (\"production\" !== \"development\" ? invariant(\n      !isTerminal(arg) && !Array.isArray(arg),\n      'Critical assumptions about the merge functions have been violated. ' +\n      'This is the fault of the merge functions themselves, not necessarily ' +\n      'the callers.'\n    ) : invariant(!isTerminal(arg) && !Array.isArray(arg)));\n  },\n\n  /**\n   * Checks that a merge was not given a circular object or an object that had\n   * too great of depth.\n   *\n   * @param {number} Level of recursion to validate against maximum.\n   */\n  checkMergeLevel: function(level) {\n    (\"production\" !== \"development\" ? invariant(\n      level < MAX_MERGE_DEPTH,\n      'Maximum deep merge depth exceeded. You may be attempting to merge ' +\n      'circular structures in an unsupported way.'\n    ) : invariant(level < MAX_MERGE_DEPTH));\n  },\n\n  /**\n   * Checks that the supplied merge strategy is valid.\n   *\n   * @param {string} Array merge strategy.\n   */\n  checkArrayStrategy: function(strategy) {\n    (\"production\" !== \"development\" ? invariant(\n      strategy === undefined || strategy in mergeHelpers.ArrayStrategies,\n      'You must provide an array strategy to deep merge functions to ' +\n      'instruct the deep merge how to resolve merging two arrays.'\n    ) : invariant(strategy === undefined || strategy in mergeHelpers.ArrayStrategies));\n  },\n\n  /**\n   * Set of possible behaviors of merge algorithms when encountering two Arrays\n   * that must be merged together.\n   * - `clobber`: The left `Array` is ignored.\n   * - `indexByIndex`: The result is achieved by recursively deep merging at\n   *   each index. (not yet supported.)\n   */\n  ArrayStrategies: keyMirror({\n    Clobber: true,\n    IndexByIndex: true\n  })\n\n};\n\nmodule.exports = mergeHelpers;\n\n},{\"./invariant\":98,\"./keyMirror\":104}],109:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule mergeInto\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar mergeHelpers = require(\"./mergeHelpers\");\n\nvar checkMergeObjectArg = mergeHelpers.checkMergeObjectArg;\n\n/**\n * Shallow merges two structures by mutating the first parameter.\n *\n * @param {object} one Object to be merged into.\n * @param {?object} two Optional object with properties to merge from.\n */\nfunction mergeInto(one, two) {\n  checkMergeObjectArg(one);\n  if (two != null) {\n    checkMergeObjectArg(two);\n    for (var key in two) {\n      if (!two.hasOwnProperty(key)) {\n        continue;\n      }\n      one[key] = two[key];\n    }\n  }\n}\n\nmodule.exports = mergeInto;\n\n},{\"./mergeHelpers\":108}],110:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule mixInto\n */\n\n\"use strict\";\n\n/**\n * Simply copies properties to the prototype.\n */\nvar mixInto = function(constructor, methodBag) {\n  var methodName;\n  for (methodName in methodBag) {\n    if (!methodBag.hasOwnProperty(methodName)) {\n      continue;\n    }\n    constructor.prototype[methodName] = methodBag[methodName];\n  }\n};\n\nmodule.exports = mixInto;\n\n},{}],111:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule mutateHTMLNodeWithMarkup\n * @typechecks static-only\n */\n\n/*jslint evil: true */\n\n'use strict';\n\nvar createNodesFromMarkup = require(\"./createNodesFromMarkup\");\nvar filterAttributes = require(\"./filterAttributes\");\nvar invariant = require(\"./invariant\");\n\n/**\n * You can't set the innerHTML of a document. Unless you have\n * this function.\n *\n * @param {DOMElement} node with tagName == 'html'\n * @param {string} markup markup string including <html>.\n */\nfunction mutateHTMLNodeWithMarkup(node, markup) {\n  (\"production\" !== \"development\" ? invariant(\n    node.tagName.toLowerCase() === 'html',\n    'mutateHTMLNodeWithMarkup(): node must have tagName of \"html\", got %s',\n    node.tagName\n  ) : invariant(node.tagName.toLowerCase() === 'html'));\n\n  markup = markup.trim();\n  (\"production\" !== \"development\" ? invariant(\n    markup.toLowerCase().indexOf('<html') === 0,\n    'mutateHTMLNodeWithMarkup(): markup must start with <html'\n  ) : invariant(markup.toLowerCase().indexOf('<html') === 0));\n\n  // First let's extract the various pieces of markup.\n  var htmlOpenTagEnd = markup.indexOf('>') + 1;\n  var htmlCloseTagStart = markup.lastIndexOf('<');\n  var htmlOpenTag = markup.substring(0, htmlOpenTagEnd);\n  var innerHTML = markup.substring(htmlOpenTagEnd, htmlCloseTagStart);\n\n  // Now for the fun stuff. Pass through both sets of attributes and\n  // bring them up-to-date. We get the new set by creating a markup\n  // fragment.\n  var shouldExtractAttributes = htmlOpenTag.indexOf(' ') > -1;\n  var attributeHolder = null;\n\n  if (shouldExtractAttributes) {\n    // We extract the attributes by creating a <span> and evaluating\n    // the node.\n    attributeHolder = createNodesFromMarkup(\n      htmlOpenTag.replace('html ', 'span ') + '</span>'\n    )[0];\n\n    // Add all attributes present in attributeHolder\n    var attributesToSet = filterAttributes(\n      attributeHolder,\n      function(attr) {\n        return node.getAttributeNS(attr.namespaceURI, attr.name) !== attr.value;\n      }\n    );\n    attributesToSet.forEach(function(attr) {\n      node.setAttributeNS(attr.namespaceURI, attr.name, attr.value);\n    });\n  }\n\n  // Remove all attributes not present in attributeHolder\n  var attributesToRemove = filterAttributes(\n    node,\n    function(attr) {\n      // Remove all attributes if attributeHolder is null or if it does not have\n      // the desired attribute.\n      return !(\n        attributeHolder &&\n          attributeHolder.hasAttributeNS(attr.namespaceURI, attr.name)\n      );\n    }\n  );\n  attributesToRemove.forEach(function(attr) {\n    node.removeAttributeNS(attr.namespaceURI, attr.name);\n  });\n\n  // Finally, set the inner HTML. No tricks needed. Do this last to\n  // minimize likelihood of triggering reflows.\n  node.innerHTML = innerHTML;\n}\n\nmodule.exports = mutateHTMLNodeWithMarkup;\n\n},{\"./createNodesFromMarkup\":80,\"./filterAttributes\":86,\"./invariant\":98}],112:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule objMap\n */\n\n\"use strict\";\n\n/**\n * For each key/value pair, invokes callback func and constructs a resulting\n * object which contains, for every key in obj, values that are the result of\n * of invoking the function:\n *\n *   func(value, key, iteration)\n *\n * @param {?object} obj Object to map keys over\n * @param {function} func Invoked for each key/val pair.\n * @param {?*} context\n * @return {?object} Result of mapping or null if obj is falsey\n */\nfunction objMap(obj, func, context) {\n  if (!obj) {\n    return null;\n  }\n  var i = 0;\n  var ret = {};\n  for (var key in obj) {\n    if (obj.hasOwnProperty(key)) {\n      ret[key] = func.call(context, obj[key], key, i++);\n    }\n  }\n  return ret;\n}\n\nmodule.exports = objMap;\n\n},{}],113:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule objMapKeyVal\n */\n\n\"use strict\";\n\n/**\n * Behaves the same as `objMap` but invokes func with the key first, and value\n * second. Use `objMap` unless you need this special case.\n * Invokes func as:\n *\n *   func(key, value, iteration)\n *\n * @param {?object} obj Object to map keys over\n * @param {!function} func Invoked for each key/val pair.\n * @param {?*} context\n * @return {?object} Result of mapping or null if obj is falsey\n */\nfunction objMapKeyVal(obj, func, context) {\n  if (!obj) {\n    return null;\n  }\n  var i = 0;\n  var ret = {};\n  for (var key in obj) {\n    if (obj.hasOwnProperty(key)) {\n      ret[key] = func.call(context, key, obj[key], i++);\n    }\n  }\n  return ret;\n}\n\nmodule.exports = objMapKeyVal;\n\n},{}],114:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule performanceNow\n * @typechecks static-only\n */\n\n\"use strict\";\n\nvar ExecutionEnvironment = require(\"./ExecutionEnvironment\");\n\n/**\n * Detect if we can use window.performance.now() and gracefully\n * fallback to Date.now() if it doesn't exist.\n * We need to support Firefox < 15 for now due to Facebook's webdriver\n * infrastructure.\n */\nvar performance = null;\n\nif (ExecutionEnvironment.canUseDOM) {\n  performance = window.performance || window.webkitPerformance;\n}\n\nif (!performance || !performance.now) {\n  performance = Date;\n}\n\nvar performanceNow = performance.now.bind(performance);\n\nmodule.exports = performanceNow;\n\n},{\"./ExecutionEnvironment\":20}],115:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule shallowEqual\n */\n\n\"use strict\";\n\n/**\n * Performs equality by iterating through keys on an object and returning\n * false when any key has values which are not strictly equal between\n * objA and objB. Returns true when the values of all keys are strictly equal.\n *\n * @return {boolean}\n */\nfunction shallowEqual(objA, objB) {\n  if (objA === objB) {\n    return true;\n  }\n  var key;\n  // Test for A's keys different from B.\n  for (key in objA) {\n    if (objA.hasOwnProperty(key) &&\n        (!objB.hasOwnProperty(key) || objA[key] !== objB[key])) {\n      return false;\n    }\n  }\n  // Test for B'a keys missing from A.\n  for (key in objB) {\n    if (objB.hasOwnProperty(key) && !objA.hasOwnProperty(key)) {\n      return false;\n    }\n  }\n  return true;\n}\n\nmodule.exports = shallowEqual;\n\n},{}],116:[function(require,module,exports){\n/**\n * Copyright 2013 Facebook, Inc.\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 * @providesModule traverseAllChildren\n */\n\n\"use strict\";\n\nvar ReactComponent = require(\"./ReactComponent\");\nvar ReactTextComponent = require(\"./ReactTextComponent\");\n\nvar invariant = require(\"./invariant\");\n\n/**\n * TODO: Test that:\n * 1. `mapChildren` transforms strings and numbers into `ReactTextComponent`.\n * 2. it('should fail when supplied duplicate key', function() {\n * 3. That a single child and an array with one item have the same key pattern.\n * });\n */\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!number} indexSoFar Number of children encountered until this point.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nvar traverseAllChildrenImpl =\n  function(children, nameSoFar, indexSoFar, callback, traverseContext) {\n    var subtreeCount = 0;  // Count of children found in the current subtree.\n    if (Array.isArray(children)) {\n      for (var i = 0; i < children.length; i++) {\n        var child = children[i];\n        var nextName = nameSoFar + ReactComponent.getKey(child, i);\n        var nextIndex = indexSoFar + subtreeCount;\n        subtreeCount += traverseAllChildrenImpl(\n          child,\n          nextName,\n          nextIndex,\n          callback,\n          traverseContext\n        );\n      }\n    } else {\n      var type = typeof children;\n      var isOnlyChild = nameSoFar === '';\n      // If it's the only child, treat the name as if it was wrapped in an array\n      // so that it's consistent if the number of children grows\n      var storageName = isOnlyChild ?\n        ReactComponent.getKey(children, 0):\n        nameSoFar;\n      if (children === null || children === undefined || type === 'boolean') {\n        // All of the above are perceived as null.\n        callback(traverseContext, null, storageName, indexSoFar);\n        subtreeCount = 1;\n      } else if (children.mountComponentIntoNode) {\n        callback(traverseContext, children, storageName, indexSoFar);\n        subtreeCount = 1;\n      } else {\n        if (type === 'object') {\n          (\"production\" !== \"development\" ? invariant(\n            !children || children.nodeType !== 1,\n            'traverseAllChildren(...): Encountered an invalid child; DOM ' +\n            'elements are not valid children of React components.'\n          ) : invariant(!children || children.nodeType !== 1));\n          for (var key in children) {\n            if (children.hasOwnProperty(key)) {\n              subtreeCount += traverseAllChildrenImpl(\n                children[key],\n                nameSoFar + '{' + key + '}',\n                indexSoFar + subtreeCount,\n                callback,\n                traverseContext\n              );\n            }\n          }\n        } else if (type === 'string') {\n          var normalizedText = new ReactTextComponent(children);\n          callback(traverseContext, normalizedText, storageName, indexSoFar);\n          subtreeCount += 1;\n        } else if (type === 'number') {\n          var normalizedNumber = new ReactTextComponent('' + children);\n          callback(traverseContext, normalizedNumber, storageName, indexSoFar);\n          subtreeCount += 1;\n        }\n      }\n    }\n    return subtreeCount;\n  };\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n  if (children !== null && children !== undefined) {\n    traverseAllChildrenImpl(children, '', 0, callback, traverseContext);\n  }\n}\n\nmodule.exports = traverseAllChildren;\n\n},{\"./ReactComponent\":25,\"./ReactTextComponent\":60,\"./invariant\":98}]},{},[24])\n(24)\n});\n;"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/ballmer-peak/example.js",
    "content": "/**\n * @jsx React.DOM\n */\n\nfunction computeBallmerPeak(x) {\n  // see: http://ask.metafilter.com/76859/Make-a-function-of-this-graph-Thats-like-an-antigraph\n  x = x * 100;\n  return (\n    1-1/(1+Math.exp(-(x-6)))*.5 + Math.exp(-Math.pow(Math.abs(x-10), 2)*10)\n  ) / 1.6;\n}\n\nvar BallmerPeakCalculator = React.createClass({\n  getInitialState: function() {\n    return {bac: 0};\n  },\n  handleChange: function(event) {\n    this.setState({bac: event.target.value});\n  },\n  render: function() {\n    var bac;\n    var pct;\n    pct = computeBallmerPeak(this.state.bac);\n    if (isNaN(pct)) {\n      pct = 'N/A';\n    } else {\n      pct = (100 - Math.round(pct * 100)) + '%';\n    }\n    return (\n      <div>\n        <img src=\"./ballmer_peak.png\" />\n        <p>Credit due to <a href=\"http://xkcd.com/323/\">xkcd</a>.</p>\n        <h4>Compute your Ballmer Peak:</h4>\n        <p>\n          If your BAC is{' '}\n          <input type=\"text\" onChange={this.handleChange} value={this.state.bac} />\n          {', '}then <b>{pct}</b> of your lines of code will have bugs.\n        </p>\n      </div>\n    );\n  }\n});\n\nReact.renderComponent(\n  <BallmerPeakCalculator />,\n  document.getElementById('container')\n);\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/ballmer-peak/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv='Content-type' content='text/html; charset=utf-8'>\n    <title>Ballmer Peak calculator</title>\n    <link rel=\"stylesheet\" href=\"../shared/css/base.css\" />\n  </head>\n  <body>\n    <h1>Ballmer Peak calculator</h1>\n    <div id=\"container\">\n      <p>\n        If you can see this, React is not working right. This is probably because you&apos;re viewing\n        this on your file system instead of a web server. Try running\n        <pre>\n          python -m SimpleHTTPServer\n        </pre>\n        and going to <a href=\"http://localhost:8000/\">http://localhost:8000/</a>.\n      </p>\n    </div>\n    <h4>Example Details</h4>\n    <ul>\n      <li>\n        This is built with\n        <a href=\"https://github.com/substack/node-browserify\">browserify</a>.\n      </li>\n      <li>\n        This is written with JSX in a separate file and transformed in the browser.\n      </li>\n    </ul>\n    <p>\n    </p>\n    <p>\n      Learn more at\n      <a href=\"http://facebook.github.io/react\" target=\"_blank\">facebook.github.io/react</a>.\n    </p>\n    <script src=\"../../build/react.js\"></script>\n    <script src=\"../../build/JSXTransformer.js\"></script>\n    <script type=\"text/jsx\" src=\"example.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/basic/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv='Content-type' content='text/html; charset=utf-8'>\n    <title>Basic Example</title>\n    <link rel=\"stylesheet\" href=\"../shared/css/base.css\" />\n  </head>\n  <body>\n    <h1>Basic Example</h1>\n    <div id=\"container\">\n      <p>\n        To install React, follow the instructions on\n        <a href=\"http://www.github.com/facebook/react/\">GitHub</a>.\n      </p>\n      <p>\n        If you can see this, React is not working right.\n        If you checked out the source from GitHub make sure to run <code>grunt</code>.\n      </p>\n    </div>\n    <h4>Example Details</h4>\n    <ul>\n      <li>\n        This is built with\n        <a href=\"https://github.com/substack/node-browserify\">browserify</a>.\n      </li>\n    </ul>\n    <p>\n    </p>\n    <p>\n      Learn more at\n      <a href=\"http://facebook.github.io/react\" target=\"_blank\">facebook.github.io/react</a>.\n    </p>\n    <script src=\"../../build/react.js\"></script>\n    <script>\n      var ExampleApplication = React.createClass({\n        render: function() {\n          var elapsed = Math.round(this.props.elapsed  / 100);\n          var seconds = elapsed / 10 + (elapsed % 10 ? '' : '.0' );\n          var message =\n            'React has been successfully running for ' + seconds + ' seconds.';\n\n          return React.DOM.p(null, message);\n        }\n      });\n      var start = new Date().getTime();\n      setInterval(function() {\n        React.renderComponent(\n          ExampleApplication({elapsed: new Date().getTime() - start}),\n          document.getElementById('container')\n        );\n      }, 50);\n    </script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/basic-jsx/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv='Content-type' content='text/html; charset=utf-8'>\n    <title>Basic Example with JSX</title>\n    <link rel=\"stylesheet\" href=\"../shared/css/base.css\" />\n  </head>\n  <body>\n    <h1>Basic Example with JSX</h1>\n    <div id=\"container\">\n      <p>\n        To install React, follow the instructions on\n        <a href=\"http://www.github.com/facebook/react/\">GitHub</a>.\n      </p>\n      <p>\n        If you can see this, React is not working right.\n        If you checked out the source from GitHub make sure to run <code>grunt</code>.\n      </p>\n    </div>\n    <h4>Example Details</h4>\n    <ul>\n      <li>\n        This is built with\n        <a href=\"https://github.com/substack/node-browserify\">browserify</a>.\n      </li>\n      <li>\n        This is written with JSX and transformed in the browser.\n      </li>\n    </ul>\n    <p>\n    </p>\n    <p>\n      Learn more at\n      <a href=\"http://facebook.github.io/react\" target=\"_blank\">facebook.github.io/react</a>.\n    </p>\n    <script src=\"../../build/react.js\"></script>\n    <script src=\"../../build/JSXTransformer.js\"></script>\n    <script type=\"text/jsx\">\n      /**\n       * @jsx React.DOM\n       */\n      var ExampleApplication = React.createClass({\n        render: function() {\n          var elapsed = Math.round(this.props.elapsed  / 100);\n          var seconds = elapsed / 10 + (elapsed % 10 ? '' : '.0' );\n          var message =\n            'React has been successfully running for ' + seconds + ' seconds.';\n\n          return <p>{message}</p>;\n        }\n      });\n      var start = new Date().getTime();\n      setInterval(function() {\n        React.renderComponent(\n          <ExampleApplication elapsed={new Date().getTime() - start} />,\n          document.getElementById('container')\n        );\n      }, 50);\n    </script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/basic-jsx-external/example.js",
    "content": "/**\n * @jsx React.DOM\n */\nvar ExampleApplication = React.createClass({\n  render: function() {\n    var elapsed = Math.round(this.props.elapsed  / 100);\n    var seconds = elapsed / 10 + (elapsed % 10 ? '' : '.0' );\n    var message =\n      'React has been successfully running for ' + seconds + ' seconds.';\n\n    return <p>{message}</p>;\n  }\n});\n\nvar start = new Date().getTime();\n\nsetInterval(function() {\n  React.renderComponent(\n    <ExampleApplication elapsed={new Date().getTime() - start} />,\n    document.getElementById('container')\n  );\n}, 50);\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/basic-jsx-external/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv='Content-type' content='text/html; charset=utf-8'>\n    <title>Basic Example with external JSX</title>\n    <link rel=\"stylesheet\" href=\"../shared/css/base.css\" />\n    <style type=\"text/css\" media=\"screen\">\n      .codeBox {\n        padding: 7px;\n        overflow:scroll;\n        background-color: #eee;\n        font-weight:normal;\n      }\n    </style>\n    <script type=\"text/javascript\" charset=\"utf-8\">\n      window.setTimeout(function() {\n        var chromeClientCLI = window.chromeClientCLI;\n        var errorBox = window.errorBox;\n        var chromeErrorFooter = window.chromeErrorFooter;\n        var chromeInstructions = window.chromeInstructions;\n        var isChrome = !!window.chrome;\n        chromeClientCLI.innerText =\n          'open -a \"Google Chrome\" --new \\\\\\n' +\n          '   ' + window.location.href + ' \\\\\\n' +\n          '   --args --allow-file-access-from-files --user-data-dir=/tmp';\n\n        errorBox.innerText =\n          isChrome ? 'To run in Chrome, do one of the following:' :\n          'Errors loading page: Check the console.'\n        chromeErrorFooter.innerText =\n          isChrome ? 'If page still does not load, check console.' : '';\n\n        if (!isChrome) {\n          chromeInstructions.innerText = \"\";\n        }\n      }, 0);\n\n    </script>\n  </head>\n\n  <body>\n    <h1>Basic Example with external JSX</h1>\n    <div id=\"container\">\n      <p>\n        <h4 id=\"errorBox\" style=\"color: #733\"></h4>\n        <ol id=\"chromeInstructions\">\n          <li>\n            Open this page on a Mac via the terminal command:\n            <pre id=\"chromeClientCLI\" class=\"codeBox\">\n          </li>\n          <h4><i>OR</i></h4>\n          <li>\n            Serve this page from a web server\n            <pre id=\"chromeServerCLI\" class=\"codeBox\">\ncd /Path/To/This/File\npython -m SimpleHTTPServer\nopen -a \"Google Chrome\"  <a href=\"http://localhost:8000/\">http://localhost:8000/</a>.  </pre>\n          </li>\n        </ol>\n        <h4 id=\"chromeErrorFooter\" style=\"color: #733\"></h4>\n      </p>\n    </div>\n    <p>\n    Example Details: This is built with\n        <a href=\"https://github.com/substack/node-browserify\">browserify</a>.\n        A separate JSX file is transformed in the browser.\n    </p>\n    <script src=\"../../build/react.js\"></script>\n    <script src=\"../../build/JSXTransformer.js\"></script>\n    <script type=\"text/jsx\" src=\"example.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/basic-jsx-precompile/example.js",
    "content": "/**\n * @jsx React.DOM\n */\nvar ExampleApplication = React.createClass({\n  render: function() {\n    var elapsed = Math.round(this.props.elapsed  / 100);\n    var seconds = elapsed / 10 + (elapsed % 10 ? '' : '.0' );\n    var message =\n      'React has been successfully running for ' + seconds + ' seconds.';\n\n    return <p>{message}</p>;\n  }\n});\n\nvar start = new Date().getTime();\n\nsetInterval(function() {\n  React.renderComponent(\n    <ExampleApplication elapsed={new Date().getTime() - start} />,\n    document.getElementById('container')\n  );\n}, 50);\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/basic-jsx-precompile/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv='Content-type' content='text/html; charset=utf-8'>\n    <title>Basic Example with precompiled JSX</title>\n    <link rel=\"stylesheet\" href=\"../shared/css/base.css\" />\n  </head>\n  <body>\n    <h1>Basic Example with precompiled JSX</h1>\n    <div id=\"container\">\n      <p>\n        To install React, follow the instructions on\n        <a href=\"http://www.github.com/facebook/react/\">GitHub</a>.\n      </p>\n      <p>\n        If you can see this, React is not running. You probably didn't run:\n        <pre>\n          npm install -g react-tools\n          jsx . build/\n        </pre>\n      </p>\n    </div>\n    <h4>Example Details</h4>\n    <ul>\n      <li>\n        This is built with\n        <a href=\"https://github.com/substack/node-browserify\">browserify</a>.\n      </li>\n      <li>\n        This is written with JSX and precompiled to vanilla JS by doing:\n        <pre>\n          npm install -g react-tools\n          jsx . build/\n        </pre>\n      </li>\n    </ul>\n    <p>\n    </p>\n    <p>\n      Learn more at\n      <a href=\"http://facebook.github.io/react\" target=\"_blank\">facebook.github.io/react</a>.\n    </p>\n    <script src=\"../../build/react.js\"></script>\n    <script src=\"build/example.js\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/jquery-bootstrap/css/example.css",
    "content": ".example {\n  margin: 20px;\n}"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/jquery-bootstrap/index.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n\t<title>jQuery Integration</title>\n  <link rel=\"stylesheet\" href=\"thirdparty/bootstrap.min.css\" type=\"text/css\" />\n  <link rel=\"stylesheet\" href=\"css/example.css\" type=\"text/css\" />\n</head>\n<body>\n    <div id=\"jqueryexample\"></div>\n    <script src=\"../../build/react.js\"></script>\n    <script src=\"../../build/JSXTransformer.js\"></script>\n    <script type=\"text/javascript\" src=\"../shared/thirdparty/jquery.min.js\" charset=\"utf-8\"></script>\n    <script type=\"text/javascript\" src=\"thirdparty/bootstrap.min.js\" charset=\"utf-8\"></script>\n    <script type=\"text/jsx\" src=\"js/app.js\"></script>\n</body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/jquery-bootstrap/js/app.js",
    "content": "/** @jsx React.DOM */\n\n// Simple pure-React component so we don't have to remember\n// Bootstrap's classes\nvar BootstrapButton = React.createClass({\n  render: function() {\n    // transferPropsTo() is smart enough to merge classes provided\n    // to this component.\n    return this.transferPropsTo(\n      <a href=\"javascript:;\" role=\"button\" className=\"btn\">\n        {this.props.children}\n      </a>\n    );\n  }\n});\n\nvar BootstrapModal = React.createClass({\n  // The following two methods are the only places we need to\n  // integrate with Bootstrap or jQuery!\n  componentDidMount: function() {\n    // When the component is added, turn it into a modal\n    $(this.getDOMNode())\n      .modal({backdrop: 'static', keyboard: false, show: false})\n  },\n  componentWillUnmount: function() {\n    $(this.getDOMNode()).off('hidden', this.handleHidden);\n  },\n  close: function() {\n    $(this.getDOMNode()).modal('hide');\n  },\n  open: function() {\n    $(this.getDOMNode()).modal('show');\n  },\n  render: function() {\n    var confirmButton = null;\n    var cancelButton = null;\n\n    if (this.props.confirm) {\n      confirmButton = (\n        <BootstrapButton\n          onClick={this.handleConfirm}\n          className=\"btn-primary\">\n          {this.props.confirm}\n        </BootstrapButton>\n      );\n    }\n    if (this.props.cancel) {\n      cancelButton = (\n        <BootstrapButton onClick={this.handleCancel}>\n          {this.props.cancel}\n        </BootstrapButton>\n      );\n    }\n\n    return (\n      <div className=\"modal hide fade\">\n        <div className=\"modal-header\">\n          <button\n            type=\"button\"\n            className=\"close\"\n            onClick={this.handleCancel}\n            dangerouslySetInnerHTML={{__html: '&times'}}\n          />\n          <h3>{this.props.title}</h3>\n        </div>\n        <div className=\"modal-body\">\n          {this.props.children}\n        </div>\n        <div className=\"modal-footer\">\n          {cancelButton}\n          {confirmButton}\n        </div>\n      </div>\n    );\n  },\n  handleCancel: function() {\n    if (this.props.onCancel) {\n      this.props.onCancel();\n    }\n  },\n  handleConfirm: function() {\n    if (this.props.onConfirm) {\n      this.props.onConfirm();\n    }\n  }\n});\n\nvar Example = React.createClass({\n  handleCancel: function() {\n    if (confirm('Are you sure you want to cancel?')) {\n      this.refs.modal.close();\n    }\n  },\n  render: function() {\n    var modal = null;\n    modal = (\n      <BootstrapModal\n        ref=\"modal\"\n        confirm=\"OK\"\n        cancel=\"Cancel\"\n        onCancel={this.handleCancel}\n        onConfirm={this.closeModal}\n        title=\"Hello, Bootstrap!\">\n          This is a React component powered by jQuery and Bootstrap!\n      </BootstrapModal>\n    );\n    return (\n      <div className=\"example\">\n        {modal}\n        <BootstrapButton onClick={this.openModal}>Open modal</BootstrapButton>\n      </div>\n    );\n  },\n  openModal: function() {\n    this.refs.modal.open();\n  },\n  closeModal: function() {\n    this.refs.modal.close();\n  }\n});\n\nReact.renderComponent(<Example />, document.getElementById('jqueryexample'));\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/requirejs/build/app.js",
    "content": "/**\n * @jsx React.DOM\n */\nrequire(['build/example-component'], function(ExampleComponent){\n  \"use strict\";\n\n  React.renderComponent(ExampleComponent(null ), document.getElementById('container'));\n});"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/requirejs/build/example-component.js",
    "content": "/**\n * @jsx React.DOM\n */\ndefine([], function () {\n  \"use strict\";\n\n  var ExampleComponent = React.createClass({displayName: 'ExampleComponent',\n\n    render:function(){\n      return React.DOM.div(null, \"Simple RequireJS Example\");\n    }\n\n  });\n\n  return ExampleComponent;\n});"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/shared/css/base.css",
    "content": "body {\n  background: #fff;\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;;\n  font-size: 15px;\n  line-height: 1.7;\n  margin: 0;\n  padding: 30px;\n}\n\na {\n  color: #4183c4;\n  text-decoration: none;\n}\n\na:hover {\n  text-decoration: underline;\n}\n\ncode {\n  background-color: #f8f8f8;\n  border: 1px solid #ddd;\n  border-radius: 3px;\n  font-family: \"Bitstream Vera Sans Mono\", Consolas, Courier, monospace;\n  font-size: 12px;\n  margin: 0 2px;\n  padding: 0px 5px;\n}\n\nh1, h2, h3, h4 {\n  font-weight: bold;\n  margin: 0 0 15px;\n  padding: 0;\n}\n\nh1 {\n  border-bottom: 1px solid #ddd;\n  font-size: 2.5em;\n  font-weight: bold;\n  margin: 0 0 15px;\n  padding: 0;\n}\n\nh2 {\n  border-bottom: 1px solid #eee;\n  font-size: 2em;\n}\n\nh3 {\n  font-size: 1.5em;\n}\n\nh4 {\n  font-size: 1.2em;\n}\n\np, ul {\n  margin: 15px 0;\n}\n\nul {\n  padding-left: 30px;\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-backbone/README.md",
    "content": "# TodoMVC-Backbone\n\nThis is a lightweight version of TodoMVC. Its primary purpose is to demo the Backbone integration rather than being feature-complete (refer to `todomvc-director` for a full TodoMVC-compilant app).\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-backbone/css/base.css",
    "content": "html,\nbody {\n\tmargin: 0;\n\tpadding: 0;\n}\n\nbutton {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: none;\n\tfont-size: 100%;\n\tvertical-align: baseline;\n\tfont-family: inherit;\n\tcolor: inherit;\n\t-webkit-appearance: none;\n\t/*-moz-appearance: none;*/\n\t-ms-appearance: none;\n\t-o-appearance: none;\n\tappearance: none;\n}\n\nbody {\n\tfont: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;\n\tline-height: 1.4em;\n\tbackground: #eaeaea url('bg.png');\n\tcolor: #4d4d4d;\n\twidth: 550px;\n\tmargin: 0 auto;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-font-smoothing: antialiased;\n\t-ms-font-smoothing: antialiased;\n\t-o-font-smoothing: antialiased;\n\tfont-smoothing: antialiased;\n}\n\n#todoapp {\n\tbackground: #fff;\n\tbackground: rgba(255, 255, 255, 0.9);\n\tmargin: 130px 0 40px 0;\n\tborder: 1px solid #ccc;\n\tposition: relative;\n\tborder-top-left-radius: 2px;\n\tborder-top-right-radius: 2px;\n\tbox-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2),\n\t\t\t\t0 25px 50px 0 rgba(0, 0, 0, 0.15);\n}\n\n#todoapp:before {\n\tcontent: '';\n\tborder-left: 1px solid #f5d6d6;\n\tborder-right: 1px solid #f5d6d6;\n\twidth: 2px;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 40px;\n\theight: 100%;\n}\n\n#todoapp input::-webkit-input-placeholder {\n\tfont-style: italic;\n}\n\n#todoapp input::-moz-placeholder {\n\tfont-style: italic;\n\tcolor: #a9a9a9;\n}\n\n#todoapp h1 {\n\tposition: absolute;\n\ttop: -120px;\n\twidth: 100%;\n\tfont-size: 70px;\n\tfont-weight: bold;\n\ttext-align: center;\n\tcolor: #b3b3b3;\n\tcolor: rgba(255, 255, 255, 0.3);\n\ttext-shadow: -1px -1px rgba(0, 0, 0, 0.2);\n\t-webkit-text-rendering: optimizeLegibility;\n\t-moz-text-rendering: optimizeLegibility;\n\t-ms-text-rendering: optimizeLegibility;\n\t-o-text-rendering: optimizeLegibility;\n\ttext-rendering: optimizeLegibility;\n}\n\n#header {\n\tpadding-top: 15px;\n\tborder-radius: inherit;\n}\n\n#header:before {\n\tcontent: '';\n\tposition: absolute;\n\ttop: 0;\n\tright: 0;\n\tleft: 0;\n\theight: 15px;\n\tz-index: 2;\n\tborder-bottom: 1px solid #6c615c;\n\tbackground: #8d7d77;\n\tbackground: -webkit-gradient(linear, left top, left bottom, from(rgba(132, 110, 100, 0.8)),to(rgba(101, 84, 76, 0.8)));\n\tbackground: -webkit-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));\n\tbackground: -moz-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));\n\tbackground: -o-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));\n\tbackground: -ms-linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));\n\tbackground: linear-gradient(top, rgba(132, 110, 100, 0.8), rgba(101, 84, 76, 0.8));\n\tfilter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#9d8b83', EndColorStr='#847670');\n\tborder-top-left-radius: 1px;\n\tborder-top-right-radius: 1px;\n}\n\n#new-todo,\n.edit {\n\tposition: relative;\n\tmargin: 0;\n\twidth: 100%;\n\tfont-size: 24px;\n\tfont-family: inherit;\n\tline-height: 1.4em;\n\tborder: 0;\n\toutline: none;\n\tcolor: inherit;\n\tpadding: 6px;\n\tborder: 1px solid #999;\n\tbox-shadow: inset 0 -1px 5px 0 rgba(0, 0, 0, 0.2);\n\t-webkit-box-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\t-ms-box-sizing: border-box;\n\t-o-box-sizing: border-box;\n\tbox-sizing: border-box;\n\t-webkit-font-smoothing: antialiased;\n\t-moz-font-smoothing: antialiased;\n\t-ms-font-smoothing: antialiased;\n\t-o-font-smoothing: antialiased;\n\tfont-smoothing: antialiased;\n}\n\n#new-todo {\n\tpadding: 16px 16px 16px 60px;\n\tborder: none;\n\tbackground: rgba(0, 0, 0, 0.02);\n\tz-index: 2;\n\tbox-shadow: none;\n}\n\n#main {\n\tposition: relative;\n\tz-index: 2;\n\tborder-top: 1px dotted #adadad;\n}\n\nlabel[for='toggle-all'] {\n\tdisplay: none;\n}\n\n#toggle-all {\n\tposition: absolute;\n\ttop: -42px;\n\tleft: -4px;\n\twidth: 40px;\n\ttext-align: center;\n\tborder: none; /* Mobile Safari */\n}\n\n#toggle-all:before {\n\tcontent: '»';\n\tfont-size: 28px;\n\tcolor: #d9d9d9;\n\tpadding: 0 25px 7px;\n}\n\n#toggle-all:checked:before {\n\tcolor: #737373;\n}\n\n#todo-list {\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n}\n\n#todo-list li {\n\tposition: relative;\n\tfont-size: 24px;\n\tborder-bottom: 1px dotted #ccc;\n}\n\n#todo-list li:last-child {\n\tborder-bottom: none;\n}\n\n#todo-list li.editing {\n\tborder-bottom: none;\n\tpadding: 0;\n}\n\n#todo-list li.editing .edit {\n\tdisplay: block;\n\twidth: 506px;\n\tpadding: 13px 17px 12px 17px;\n\tmargin: 0 0 0 43px;\n}\n\n#todo-list li.editing .view {\n\tdisplay: none;\n}\n\n#todo-list li .toggle {\n\ttext-align: center;\n\twidth: 40px;\n\t/* auto, since non-WebKit browsers doesn't support input styling */\n\theight: auto;\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tmargin: auto 0;\n\tborder: none; /* Mobile Safari */\n\t-webkit-appearance: none;\n\t/*-moz-appearance: none;*/\n\t-ms-appearance: none;\n\t-o-appearance: none;\n\tappearance: none;\n}\n\n#todo-list li .toggle:after {\n\tcontent: '✔';\n\tline-height: 43px; /* 40 + a couple of pixels visual adjustment */\n\tfont-size: 20px;\n\tcolor: #d9d9d9;\n\ttext-shadow: 0 -1px 0 #bfbfbf;\n}\n\n#todo-list li .toggle:checked:after {\n\tcolor: #85ada7;\n\ttext-shadow: 0 1px 0 #669991;\n\tbottom: 1px;\n\tposition: relative;\n}\n\n#todo-list li label {\n\twhite-space: pre;\n\tword-break: break-word;\n\tpadding: 15px 60px 15px 15px;\n\tmargin-left: 45px;\n\tdisplay: block;\n\tline-height: 1.2;\n\t-webkit-transition: color 0.4s;\n\t-moz-transition: color 0.4s;\n\t-ms-transition: color 0.4s;\n\t-o-transition: color 0.4s;\n\ttransition: color 0.4s;\n}\n\n#todo-list li.completed label {\n\tcolor: #a9a9a9;\n\ttext-decoration: line-through;\n}\n\n#todo-list li .destroy {\n\tdisplay: none;\n\tposition: absolute;\n\ttop: 0;\n\tright: 10px;\n\tbottom: 0;\n\twidth: 40px;\n\theight: 40px;\n\tmargin: auto 0;\n\tfont-size: 22px;\n\tcolor: #a88a8a;\n\t-webkit-transition: all 0.2s;\n\t-moz-transition: all 0.2s;\n\t-ms-transition: all 0.2s;\n\t-o-transition: all 0.2s;\n\ttransition: all 0.2s;\n}\n\n#todo-list li .destroy:hover {\n\ttext-shadow: 0 0 1px #000,\n\t\t\t\t 0 0 10px rgba(199, 107, 107, 0.8);\n\t-webkit-transform: scale(1.3);\n\t-moz-transform: scale(1.3);\n\t-ms-transform: scale(1.3);\n\t-o-transform: scale(1.3);\n\ttransform: scale(1.3);\n}\n\n#todo-list li .destroy:after {\n\tcontent: '✖';\n}\n\n#todo-list li:hover .destroy {\n\tdisplay: block;\n}\n\n#todo-list li .edit {\n\tdisplay: none;\n}\n\n#todo-list li.editing:last-child {\n\tmargin-bottom: -1px;\n}\n\n#footer {\n\tcolor: #777;\n\tpadding: 0 15px;\n\tposition: absolute;\n\tright: 0;\n\tbottom: -31px;\n\tleft: 0;\n\theight: 20px;\n\tz-index: 1;\n\ttext-align: center;\n}\n\n#footer:before {\n\tcontent: '';\n\tposition: absolute;\n\tright: 0;\n\tbottom: 31px;\n\tleft: 0;\n\theight: 50px;\n\tz-index: -1;\n\tbox-shadow: 0 1px 1px rgba(0, 0, 0, 0.3),\n\t\t\t\t0 6px 0 -3px rgba(255, 255, 255, 0.8),\n\t\t\t\t0 7px 1px -3px rgba(0, 0, 0, 0.3),\n\t\t\t\t0 43px 0 -6px rgba(255, 255, 255, 0.8),\n\t\t\t\t0 44px 2px -6px rgba(0, 0, 0, 0.2);\n}\n\n#todo-count {\n\tfloat: left;\n\ttext-align: left;\n}\n\n#filters {\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tposition: absolute;\n\tright: 0;\n\tleft: 0;\n}\n\n#filters li {\n\tdisplay: inline;\n}\n\n#filters li a {\n\tcolor: #83756f;\n\tmargin: 2px;\n\ttext-decoration: none;\n}\n\n#filters li a.selected {\n\tfont-weight: bold;\n}\n\n#clear-completed {\n\tfloat: right;\n\tposition: relative;\n\tline-height: 20px;\n\ttext-decoration: none;\n\tbackground: rgba(0, 0, 0, 0.1);\n\tfont-size: 11px;\n\tpadding: 0 10px;\n\tborder-radius: 3px;\n\tbox-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.2);\n}\n\n#clear-completed:hover {\n\tbackground: rgba(0, 0, 0, 0.15);\n\tbox-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.3);\n}\n\n#info {\n\tmargin: 65px auto 0;\n\tcolor: #a6a6a6;\n\tfont-size: 12px;\n\ttext-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);\n\ttext-align: center;\n}\n\n#info a {\n\tcolor: inherit;\n}\n\n/*\n\tHack to remove background from Mobile Safari.\n\tCan't use it globally since it destroys checkboxes in Firefox and Opera\n*/\n@media screen and (-webkit-min-device-pixel-ratio:0) {\n\t#toggle-all,\n\t#todo-list li .toggle {\n\t\tbackground: none;\n\t}\n\n\t#todo-list li .toggle {\n\t\theight: 40px;\n\t}\n\n\t#toggle-all {\n\t\ttop: -56px;\n\t\tleft: -15px;\n\t\twidth: 65px;\n\t\theight: 41px;\n\t\t-webkit-transform: rotate(90deg);\n\t\ttransform: rotate(90deg);\n\t\t-webkit-appearance: none;\n\t\tappearance: none;\n\t}\n}\n\n.hidden {\n\tdisplay: none;\n}\n\nhr {\n\tmargin: 20px 0;\n\tborder: 0;\n\tborder-top: 1px dashed #C5C5C5;\n\tborder-bottom: 1px dashed #F7F7F7;\n}\n\n.learn a {\n\tfont-weight: normal;\n\ttext-decoration: none;\n\tcolor: #b83f45;\n}\n\n.learn a:hover {\n\ttext-decoration: underline;\n\tcolor: #787e7e;\n}\n\n.learn h3,\n.learn h4,\n.learn h5 {\n\tmargin: 10px 0;\n\tfont-weight: 500;\n\tline-height: 1.2;\n\tcolor: #000;\n}\n\n.learn h3 {\n\tfont-size: 24px;\n}\n\n.learn h4 {\n\tfont-size: 18px;\n}\n\n.learn h5 {\n\tmargin-bottom: 0;\n\tfont-size: 14px;\n}\n\n.learn ul {\n\tpadding: 0;\n\tmargin: 0 0 30px 25px;\n}\n\n.learn li {\n\tline-height: 20px;\n}\n\n.learn p {\n\tfont-size: 15px;\n\tfont-weight: 300;\n\tline-height: 1.3;\n\tmargin-top: 0;\n\tmargin-bottom: 0;\n}\n\n.quote {\n\tborder: none;\n\tmargin: 20px 0 60px 0;\n}\n\n.quote p {\n\tfont-style: italic;\n}\n\n.quote p:before {\n\tcontent: '“';\n\tfont-size: 50px;\n\topacity: .15;\n\tposition: absolute;\n\ttop: -20px;\n\tleft: 3px;\n}\n\n.quote p:after {\n\tcontent: '”';\n\tfont-size: 50px;\n\topacity: .15;\n\tposition: absolute;\n\tbottom: -42px;\n\tright: 3px;\n}\n\n.quote footer {\n\tposition: absolute;\n\tbottom: -40px;\n\tright: 0;\n}\n\n.quote footer img {\n\tborder-radius: 3px;\n}\n\n.quote footer a {\n\tmargin-left: 5px;\n\tvertical-align: middle;\n}\n\n.speech-bubble {\n\tposition: relative;\n\tpadding: 10px;\n\tbackground: rgba(0, 0, 0, .04);\n\tborder-radius: 5px;\n}\n\n.speech-bubble:after {\n\tcontent: '';\n\tposition: absolute;\n\ttop: 100%;\n\tright: 30px;\n\tborder: 13px solid transparent;\n\tborder-top-color: rgba(0, 0, 0, .04);\n}\n\n/**body*/.learn-bar > .learn {\n\tposition: absolute;\n\twidth: 272px;\n\ttop: 8px;\n\tleft: -300px;\n\tpadding: 10px;\n\tborder-radius: 5px;\n\tbackground-color: rgba(255, 255, 255, .6);\n\ttransition-property: left;\n\ttransition-duration: 500ms;\n}\n\n@media (min-width: 899px) {\n\t/**body*/.learn-bar {\n\t\twidth: auto;\n\t\tmargin: 0 0 0 300px;\n\t}\n\t/**body*/.learn-bar > .learn {\n\t\tleft: 8px;\n\t}\n\t/**body*/.learn-bar #todoapp {\n\t\twidth: 550px;\n\t\tmargin: 130px auto 40px auto;\n\t}\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-backbone/index.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n<head>\n\t<meta charset=\"utf-8\">\n\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n\t<title>React • TodoMVC</title>\n\t<link rel=\"stylesheet\" href=\"css/base.css\">\n\t<!--[if IE]>\n\t<script src=\"js/ie.js\"></script>\n\t<![endif]-->\n</head>\n<body>\n    <div id=\"container\"></div>\n    <script src=\"../../build/react.js\"></script>\n    <script src=\"../../build/JSXTransformer.js\"></script>\n    <script type=\"text/javascript\" src=\"../shared/thirdparty/jquery.min.js\" charset=\"utf-8\"></script>\n    <script type=\"text/javascript\" src=\"thirdparty/lodash.min.js\" charset=\"utf-8\"></script>\n    <script type=\"text/javascript\" src=\"thirdparty/backbone-min.js\" charset=\"utf-8\"></script>\n    <script type=\"text/javascript\" src=\"thirdparty/backbone.localStorage-min.js\" charset=\"utf-8\"></script>\n    <script type=\"text/jsx\" src=\"js/app.js\"></script>\n</body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-backbone/js/app.js",
    "content": "/** @jsx React.DOM */\n\nvar Todo = Backbone.Model.extend({\n  // Default attributes for the todo\n  // and ensure that each todo created has `title` and `completed` keys.\n  defaults: {\n    title: '',\n    completed: false\n  },\n\n  // Toggle the `completed` state of this todo item.\n  toggle: function() {\n    this.save({\n      completed: !this.get('completed')\n    });\n  }\n});\n\nvar TodoList = Backbone.Collection.extend({\n\n  // Reference to this collection's model.\n  model: Todo,\n\n  // Save all of the todo items under the `\"todos\"` namespace.\n  localStorage: new Store('todos-react-backbone'),\n\n  // Filter down the list of all todo items that are finished.\n  completed: function() {\n    return this.filter(function( todo ) {\n      return todo.get('completed');\n    });\n  },\n\n  remaining: function() {\n    return this.without.apply(this, this.completed());\n  },\n\n  // We keep the Todos in sequential order, despite being saved by unordered\n  // GUID in the database. This generates the next order number for new items.\n  nextOrder: function () {\n    if (!this.length) {\n      return 1;\n    }\n    return this.last().get('order') + 1;\n  },\n\n  // Todos are sorted by their original insertion order.\n  comparator: function (todo) {\n    return todo.get('order');\n  }\n});\n\nvar Utils = {\n  pluralize: function( count, word ) {\n    return count === 1 ? word : word + 's';\n  },\n\n  stringifyObjKeys: function(obj) {\n    var s = '';\n    for (var key in obj) {\n      if (!obj.hasOwnProperty(key)) {\n        continue;\n      }\n      if (obj[key]) {\n        s += key + ' ';\n      }\n    }\n    return s;\n  }\n};\n\n// Begin React stuff\n\nvar TodoItem = React.createClass({\n  handleSubmit: function(event) {\n    var val = this.refs.editField.getDOMNode().value.trim();\n    if (val) {\n      this.props.onSave(val);\n    } else {\n      this.props.onDestroy();\n    }\n    return false;\n  },\n\n  onEdit: function() {\n    this.props.onEdit();\n    this.refs.editField.getDOMNode().focus();\n  },\n\n  render: function() {\n    var classes = Utils.stringifyObjKeys({\n      completed: this.props.todo.get('completed'), editing: this.props.editing\n    });\n    return (\n      <li className={classes}>\n        <div className=\"view\">\n          <input\n            className=\"toggle\"\n            type=\"checkbox\"\n            checked={this.props.todo.get('completed')}\n            onChange={this.props.onToggle}\n            key={this.props.key}\n          />\n          <label onDoubleClick={this.onEdit}>\n            {this.props.todo.get('title')}\n          </label>\n          <button className=\"destroy\" onClick={this.props.onDestroy} />\n        </div>\n        <form onSubmit={this.handleSubmit}>\n          <input\n            ref=\"editField\"\n            className=\"edit\"\n            defaultValue={this.props.todo.get('title')}\n            onBlur={this.handleSubmit}\n            autoFocus=\"autofocus\"\n          />\n        </form>\n      </li>\n    );\n  }\n});\n\nvar TodoFooter = React.createClass({\n  render: function() {\n    var activeTodoWord = Utils.pluralize(this.props.count, 'todo');\n    var clearButton = null;\n\n    if (this.props.completedCount > 0) {\n      clearButton = (\n        <button id=\"clear-completed\" onClick={this.props.onClearCompleted}>\n          Clear completed ({this.props.completedCount})\n        </button>\n      );\n    }\n\n    return (\n      <footer id=\"footer\">\n        <span id=\"todo-count\">\n          <strong>{this.props.count}</strong>{' '}\n          {activeTodoWord}{' '}left\n        </span>\n        {clearButton}\n      </footer>\n    );\n  }\n});\n\n// An example generic Mixin that you can add to any component that should react\n// to changes in a Backbone component. The use cases we've identified thus far\n// are for Collections -- since they trigger a change event whenever any of\n// their constituent items are changed there's no need to reconcile for regular\n// models. One caveat: this relies on getBackboneModels() to always return the\n// same model instances throughout the lifecycle of the component. If you're\n// using this mixin correctly (it should be near the top of your component\n// hierarchy) this should not be an issue.\nvar BackboneMixin = {\n  componentDidMount: function() {\n    // Whenever there may be a change in the Backbone data, trigger a reconcile.\n    this.getBackboneModels().forEach(function(model) {\n      model.on('add change remove', this.forceUpdate.bind(this, null), this);\n    }, this);\n  },\n\n  componentWillUnmount: function() {\n    // Ensure that we clean up any dangling references when the component is\n    // destroyed.\n    this.getBackboneModels().forEach(function(model) {\n      model.off(null, null, this);\n    }, this);\n  }\n};\n\nvar TodoApp = React.createClass({\n  mixins: [BackboneMixin],\n  getInitialState: function() {\n    return {editing: null};\n  },\n\n  componentDidMount: function() {\n    // Additional functionality for todomvc: fetch() the collection on init\n    this.props.todos.fetch();\n    this.refs.newField.getDOMNode().focus();\n  },\n\n  componentDidUpdate: function() {\n    // If saving were expensive we'd listen for mutation events on Backbone and\n    // do this manually. however, since saving isn't expensive this is an\n    // elegant way to keep it reactively up-to-date.\n    this.props.todos.forEach(function(todo) {\n      todo.save();\n    });\n  },\n\n  getBackboneModels: function() {\n    return [this.props.todos];\n  },\n\n  handleSubmit: function(event) {\n    event.preventDefault();\n    var val = this.refs.newField.getDOMNode().value.trim();\n    if (val) {\n      this.props.todos.create({\n        title: val,\n        completed: false,\n        order: this.props.todos.nextOrder()\n      });\n      this.refs.newField.getDOMNode().value = '';\n    }\n  },\n\n  toggleAll: function(event) {\n    var checked = event.nativeEvent.target.checked;\n    this.props.todos.forEach(function(todo) {\n      todo.set('completed', checked);\n    });\n  },\n\n  edit: function(todo) {\n    this.setState({editing: todo.get('id')});\n  },\n\n  save: function(todo, text) {\n    todo.set('title', text);\n    this.setState({editing: null});\n  },\n\n  clearCompleted: function() {\n    this.props.todos.completed().forEach(function(todo) {\n      todo.destroy();\n    });\n  },\n\n  render: function() {\n    var footer = null;\n    var main = null;\n    var todoItems = this.props.todos.map(function(todo) {\n      return (\n        <TodoItem\n          key={Math.random()}\n          todo={todo}\n          onToggle={todo.toggle.bind(todo)}\n          onDestroy={todo.destroy.bind(todo)}\n          onEdit={this.edit.bind(this, todo)}\n          editing={this.state.editing === todo.get('id')}\n          onSave={this.save.bind(this, todo)}\n        />\n      );\n    }, this);\n\n    var activeTodoCount = this.props.todos.remaining().length;\n    var completedCount = todoItems.length - activeTodoCount;\n    if (activeTodoCount || completedCount) {\n      footer =\n        <TodoFooter\n          count={activeTodoCount}\n          completedCount={completedCount}\n          onClearCompleted={this.clearCompleted}\n        />;\n    }\n\n    if (todoItems.length) {\n      main = (\n        <section id=\"main\">\n          <input id=\"toggle-all\" type=\"checkbox\" onChange={this.toggleAll} />\n          <ul id=\"todo-list\">\n            {todoItems}\n          </ul>\n        </section>\n      );\n    }\n\n    return (\n      <div>\n        <section id=\"todoapp\">\n          <header id=\"header\">\n            <h1>todos</h1>\n            <form onSubmit={this.handleSubmit}>\n              <input\n                ref=\"newField\"\n                id=\"new-todo\"\n                placeholder=\"What needs to be done?\"\n              />\n            </form>\n          </header>\n          {main}\n          {footer}\n        </section>\n        <footer id=\"info\">\n          <p>Double-click to edit a todo</p>\n          <p>\n            Created by{' '}\n            <a href=\"http://github.com/petehunt/\">petehunt</a>\n          </p>\n          <p>Part of{' '}<a href=\"http://todomvc.com\">TodoMVC</a></p>\n        </footer>\n      </div>\n    );\n  }\n});\n\nReact.renderComponent(\n  <TodoApp todos={new TodoList()} />, document.getElementById('container')\n);\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-backbone/js/ie.js",
    "content": "/*! HTML5 Shiv pre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed\n  Uncompressed source: https://github.com/aFarkas/html5shiv  */\n  (function(l,f){function m(){var a=e.elements;return\"string\"==typeof a?a.split(\" \"):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();\n  a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function(\"h,f\",\"return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(\"+m().join().replace(/\\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c(\"'+a+'\")'})+\");return n}\")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement(\"p\");d=d.getElementsByTagName(\"head\")[0]||d.documentElement;c.innerHTML=\"x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>\";\n  c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o=\"_html5shiv\",h=0,n={},g;(function(){try{var a=f.createElement(\"a\");a.innerHTML=\"<xyz></xyz>\";j=\"hidden\"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement(\"a\");var c=f.createDocumentFragment();b=\"undefined\"==typeof c.cloneNode||\n  \"undefined\"==typeof c.createDocumentFragment||\"undefined\"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||\"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video\",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:\"default\",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();\n  for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);\n\n/* ES5-shim\nhttps://github.com/kriskowal/es5-shim\nCopyright 2009-2012 by contributors, MIT License */\n(function(definition){if(typeof define==\"function\")define(definition);else if(typeof YUI==\"function\")YUI.add(\"es5\",definition);else definition()})(function(){if(!Function.prototype.bind)Function.prototype.bind=function bind(that){var target=this;if(typeof target!=\"function\")throw new TypeError(\"Function.prototype.bind called on incompatible \"+target);var args=slice.call(arguments,1);var bound=function(){if(this instanceof bound){var result=target.apply(this,args.concat(slice.call(arguments)));if(Object(result)===\nresult)return result;return this}else return target.apply(that,args.concat(slice.call(arguments)))};if(target.prototype)bound.prototype=Object.create(target.prototype);return bound};var call=Function.prototype.call;var prototypeOfArray=Array.prototype;var prototypeOfObject=Object.prototype;var slice=prototypeOfArray.slice;var _toString=call.bind(prototypeOfObject.toString);var owns=call.bind(prototypeOfObject.hasOwnProperty);var defineGetter;var defineSetter;var lookupGetter;var lookupSetter;var supportsAccessors;\nif(supportsAccessors=owns(prototypeOfObject,\"__defineGetter__\")){defineGetter=call.bind(prototypeOfObject.__defineGetter__);defineSetter=call.bind(prototypeOfObject.__defineSetter__);lookupGetter=call.bind(prototypeOfObject.__lookupGetter__);lookupSetter=call.bind(prototypeOfObject.__lookupSetter__)}if([1,2].splice(0).length!=2){var array_splice=Array.prototype.splice;Array.prototype.splice=function(start,deleteCount){if(!arguments.length)return[];else return array_splice.apply(this,[start===void 0?\n0:start,deleteCount===void 0?this.length-start:deleteCount].concat(slice.call(arguments,2)))}}if(!Array.isArray)Array.isArray=function isArray(obj){return _toString(obj)==\"[object Array]\"};var boxedString=Object(\"a\"),splitString=boxedString[0]!=\"a\"||!(0 in boxedString);if(!Array.prototype.forEach)Array.prototype.forEach=function forEach(fun){var object=toObject(this),self=splitString&&_toString(this)==\"[object String]\"?this.split(\"\"):object,thisp=arguments[1],i=-1,length=self.length>>>0;if(_toString(fun)!=\n\"[object Function]\")throw new TypeError;while(++i<length)if(i in self)fun.call(thisp,self[i],i,object)};if(!Array.prototype.map)Array.prototype.map=function map(fun){var object=toObject(this),self=splitString&&_toString(this)==\"[object String]\"?this.split(\"\"):object,length=self.length>>>0,result=Array(length),thisp=arguments[1];if(_toString(fun)!=\"[object Function]\")throw new TypeError(fun+\" is not a function\");for(var i=0;i<length;i++)if(i in self)result[i]=fun.call(thisp,self[i],i,object);return result};\nif(!Array.prototype.filter)Array.prototype.filter=function filter(fun){var object=toObject(this),self=splitString&&_toString(this)==\"[object String]\"?this.split(\"\"):object,length=self.length>>>0,result=[],value,thisp=arguments[1];if(_toString(fun)!=\"[object Function]\")throw new TypeError(fun+\" is not a function\");for(var i=0;i<length;i++)if(i in self){value=self[i];if(fun.call(thisp,value,i,object))result.push(value)}return result};if(!Array.prototype.every)Array.prototype.every=function every(fun){var object=\ntoObject(this),self=splitString&&_toString(this)==\"[object String]\"?this.split(\"\"):object,length=self.length>>>0,thisp=arguments[1];if(_toString(fun)!=\"[object Function]\")throw new TypeError(fun+\" is not a function\");for(var i=0;i<length;i++)if(i in self&&!fun.call(thisp,self[i],i,object))return false;return true};if(!Array.prototype.some)Array.prototype.some=function some(fun){var object=toObject(this),self=splitString&&_toString(this)==\"[object String]\"?this.split(\"\"):object,length=self.length>>>\n0,thisp=arguments[1];if(_toString(fun)!=\"[object Function]\")throw new TypeError(fun+\" is not a function\");for(var i=0;i<length;i++)if(i in self&&fun.call(thisp,self[i],i,object))return true;return false};if(!Array.prototype.reduce)Array.prototype.reduce=function reduce(fun){var object=toObject(this),self=splitString&&_toString(this)==\"[object String]\"?this.split(\"\"):object,length=self.length>>>0;if(_toString(fun)!=\"[object Function]\")throw new TypeError(fun+\" is not a function\");if(!length&&arguments.length==\n1)throw new TypeError(\"reduce of empty array with no initial value\");var i=0;var result;if(arguments.length>=2)result=arguments[1];else{do{if(i in self){result=self[i++];break}if(++i>=length)throw new TypeError(\"reduce of empty array with no initial value\");}while(true)}for(;i<length;i++)if(i in self)result=fun.call(void 0,result,self[i],i,object);return result};if(!Array.prototype.reduceRight)Array.prototype.reduceRight=function reduceRight(fun){var object=toObject(this),self=splitString&&_toString(this)==\n\"[object String]\"?this.split(\"\"):object,length=self.length>>>0;if(_toString(fun)!=\"[object Function]\")throw new TypeError(fun+\" is not a function\");if(!length&&arguments.length==1)throw new TypeError(\"reduceRight of empty array with no initial value\");var result,i=length-1;if(arguments.length>=2)result=arguments[1];else{do{if(i in self){result=self[i--];break}if(--i<0)throw new TypeError(\"reduceRight of empty array with no initial value\");}while(true)}do if(i in this)result=fun.call(void 0,result,\nself[i],i,object);while(i--);return result};if(!Array.prototype.indexOf||[0,1].indexOf(1,2)!=-1)Array.prototype.indexOf=function indexOf(sought){var self=splitString&&_toString(this)==\"[object String]\"?this.split(\"\"):toObject(this),length=self.length>>>0;if(!length)return-1;var i=0;if(arguments.length>1)i=toInteger(arguments[1]);i=i>=0?i:Math.max(0,length+i);for(;i<length;i++)if(i in self&&self[i]===sought)return i;return-1};if(!Array.prototype.lastIndexOf||[0,1].lastIndexOf(0,-3)!=-1)Array.prototype.lastIndexOf=\nfunction lastIndexOf(sought){var self=splitString&&_toString(this)==\"[object String]\"?this.split(\"\"):toObject(this),length=self.length>>>0;if(!length)return-1;var i=length-1;if(arguments.length>1)i=Math.min(i,toInteger(arguments[1]));i=i>=0?i:length-Math.abs(i);for(;i>=0;i--)if(i in self&&sought===self[i])return i;return-1};if(!Object.keys){var hasDontEnumBug=true,dontEnums=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],dontEnumsLength=\ndontEnums.length;for(var key in{\"toString\":null})hasDontEnumBug=false;Object.keys=function keys(object){if(typeof object!=\"object\"&&typeof object!=\"function\"||object===null)throw new TypeError(\"Object.keys called on a non-object\");var keys=[];for(var name in object)if(owns(object,name))keys.push(name);if(hasDontEnumBug)for(var i=0,ii=dontEnumsLength;i<ii;i++){var dontEnum=dontEnums[i];if(owns(object,dontEnum))keys.push(dontEnum)}return keys}}var negativeDate=-621987552E5,negativeYearString=\"-000001\";\nif(!Date.prototype.toISOString||(new Date(negativeDate)).toISOString().indexOf(negativeYearString)===-1)Date.prototype.toISOString=function toISOString(){var result,length,value,year,month;if(!isFinite(this))throw new RangeError(\"Date.prototype.toISOString called on non-finite value.\");year=this.getUTCFullYear();month=this.getUTCMonth();year+=Math.floor(month/12);month=(month%12+12)%12;result=[month+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()];year=(year<0?\"-\":\nyear>9999?\"+\":\"\")+(\"00000\"+Math.abs(year)).slice(0<=year&&year<=9999?-4:-6);length=result.length;while(length--){value=result[length];if(value<10)result[length]=\"0\"+value}return year+\"-\"+result.slice(0,2).join(\"-\")+\"T\"+result.slice(2).join(\":\")+\".\"+(\"000\"+this.getUTCMilliseconds()).slice(-3)+\"Z\"};var dateToJSONIsSupported=false;try{dateToJSONIsSupported=Date.prototype.toJSON&&(new Date(NaN)).toJSON()===null&&(new Date(negativeDate)).toJSON().indexOf(negativeYearString)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return true}})}catch(e){}if(!dateToJSONIsSupported)Date.prototype.toJSON=\nfunction toJSON(key){var o=Object(this),tv=toPrimitive(o),toISO;if(typeof tv===\"number\"&&!isFinite(tv))return null;toISO=o.toISOString;if(typeof toISO!=\"function\")throw new TypeError(\"toISOString property is not callable\");return toISO.call(o)};if(!Date.parse||\"Date.parse is buggy\")Date=function(NativeDate){function Date(Y,M,D,h,m,s,ms){var length=arguments.length;if(this instanceof NativeDate){var date=length==1&&String(Y)===Y?new NativeDate(Date.parse(Y)):length>=7?new NativeDate(Y,M,D,h,m,s,ms):\nlength>=6?new NativeDate(Y,M,D,h,m,s):length>=5?new NativeDate(Y,M,D,h,m):length>=4?new NativeDate(Y,M,D,h):length>=3?new NativeDate(Y,M,D):length>=2?new NativeDate(Y,M):length>=1?new NativeDate(Y):new NativeDate;date.constructor=Date;return date}return NativeDate.apply(this,arguments)}var isoDateExpression=new RegExp(\"^\"+\"(\\\\d{4}|[+-]\\\\d{6})\"+\"(?:-(\\\\d{2})\"+\"(?:-(\\\\d{2})\"+\"(?:\"+\"T(\\\\d{2})\"+\":(\\\\d{2})\"+\"(?:\"+\":(\\\\d{2})\"+\"(?:\\\\.(\\\\d{3}))?\"+\")?\"+\"(\"+\"Z|\"+\"(?:\"+\"([-+])\"+\"(\\\\d{2})\"+\":(\\\\d{2})\"+\")\"+\")?)?)?)?\"+\n\"$\");var months=[0,31,59,90,120,151,181,212,243,273,304,334,365];function dayFromMonth(year,month){var t=month>1?1:0;return months[month]+Math.floor((year-1969+t)/4)-Math.floor((year-1901+t)/100)+Math.floor((year-1601+t)/400)+365*(year-1970)}for(var key in NativeDate)Date[key]=NativeDate[key];Date.now=NativeDate.now;Date.UTC=NativeDate.UTC;Date.prototype=NativeDate.prototype;Date.prototype.constructor=Date;Date.parse=function parse(string){var match=isoDateExpression.exec(string);if(match){var year=\nNumber(match[1]),month=Number(match[2]||1)-1,day=Number(match[3]||1)-1,hour=Number(match[4]||0),minute=Number(match[5]||0),second=Number(match[6]||0),millisecond=Number(match[7]||0),offset=!match[4]||match[8]?0:Number(new NativeDate(1970,0)),signOffset=match[9]===\"-\"?1:-1,hourOffset=Number(match[10]||0),minuteOffset=Number(match[11]||0),result;if(hour<(minute>0||second>0||millisecond>0?24:25)&&minute<60&&second<60&&millisecond<1E3&&month>-1&&month<12&&hourOffset<24&&minuteOffset<60&&day>-1&&day<dayFromMonth(year,\nmonth+1)-dayFromMonth(year,month)){result=((dayFromMonth(year,month)+day)*24+hour+hourOffset*signOffset)*60;result=((result+minute+minuteOffset*signOffset)*60+second)*1E3+millisecond+offset;if(-864E13<=result&&result<=864E13)return result}return NaN}return NativeDate.parse.apply(this,arguments)};return Date}(Date);if(!Date.now)Date.now=function now(){return(new Date).getTime()};if(\"0\".split(void 0,0).length){var string_split=String.prototype.split;String.prototype.split=function(separator,limit){if(separator===\nvoid 0&&limit===0)return[];return string_split.apply(this,arguments)}}if(\"\".substr&&\"0b\".substr(-1)!==\"b\"){var string_substr=String.prototype.substr;String.prototype.substr=function(start,length){return string_substr.call(this,start<0?(start=this.length+start)<0?0:start:start,length)}}var ws=\"\\t\\n\\x0B\\f\\r \\u00a0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\"+\"\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\"+\"\\u2029\\ufeff\";if(!String.prototype.trim||ws.trim()){ws=\"[\"+ws+\"]\";var trimBeginRegexp=\nnew RegExp(\"^\"+ws+ws+\"*\"),trimEndRegexp=new RegExp(ws+ws+\"*$\");String.prototype.trim=function trim(){if(this===undefined||this===null)throw new TypeError(\"can't convert \"+this+\" to object\");return String(this).replace(trimBeginRegexp,\"\").replace(trimEndRegexp,\"\")}}function toInteger(n){n=+n;if(n!==n)n=0;else if(n!==0&&n!==1/0&&n!==-(1/0))n=(n>0||-1)*Math.floor(Math.abs(n));return n}function isPrimitive(input){var type=typeof input;return input===null||type===\"undefined\"||type===\"boolean\"||type===\n\"number\"||type===\"string\"}function toPrimitive(input){var val,valueOf,toString;if(isPrimitive(input))return input;valueOf=input.valueOf;if(typeof valueOf===\"function\"){val=valueOf.call(input);if(isPrimitive(val))return val}toString=input.toString;if(typeof toString===\"function\"){val=toString.call(input);if(isPrimitive(val))return val}throw new TypeError;}var toObject=function(o){if(o==null)throw new TypeError(\"can't convert \"+o+\" to object\");return Object(o)}});\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-backbone/thirdparty/backbone-min.js",
    "content": "(function(){var t=this;var e=t.Backbone;var i=[];var r=i.push;var s=i.slice;var n=i.splice;var a;if(typeof exports!==\"undefined\"){a=exports}else{a=t.Backbone={}}a.VERSION=\"1.0.0\";var h=t._;if(!h&&typeof require!==\"undefined\")h=require(\"underscore\");a.$=t.jQuery||t.Zepto||t.ender||t.$;a.noConflict=function(){t.Backbone=e;return this};a.emulateHTTP=false;a.emulateJSON=false;var o=a.Events={on:function(t,e,i){if(!l(this,\"on\",t,[e,i])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);r.push({callback:e,context:i,ctx:i||this});return this},once:function(t,e,i){if(!l(this,\"once\",t,[e,i])||!e)return this;var r=this;var s=h.once(function(){r.off(t,s);e.apply(this,arguments)});s._callback=e;return this.on(t,s,i)},off:function(t,e,i){var r,s,n,a,o,u,c,f;if(!this._events||!l(this,\"off\",t,[e,i]))return this;if(!t&&!e&&!i){this._events={};return this}a=t?[t]:h.keys(this._events);for(o=0,u=a.length;o<u;o++){t=a[o];if(n=this._events[t]){this._events[t]=r=[];if(e||i){for(c=0,f=n.length;c<f;c++){s=n[c];if(e&&e!==s.callback&&e!==s.callback._callback||i&&i!==s.context){r.push(s)}}}if(!r.length)delete this._events[t]}}return this},trigger:function(t){if(!this._events)return this;var e=s.call(arguments,1);if(!l(this,\"trigger\",t,e))return this;var i=this._events[t];var r=this._events.all;if(i)c(i,e);if(r)c(r,arguments);return this},stopListening:function(t,e,i){var r=this._listeners;if(!r)return this;var s=!e&&!i;if(typeof e===\"object\")i=this;if(t)(r={})[t._listenerId]=t;for(var n in r){r[n].off(e,i,this);if(s)delete this._listeners[n]}return this}};var u=/\\s+/;var l=function(t,e,i,r){if(!i)return true;if(typeof i===\"object\"){for(var s in i){t[e].apply(t,[s,i[s]].concat(r))}return false}if(u.test(i)){var n=i.split(u);for(var a=0,h=n.length;a<h;a++){t[e].apply(t,[n[a]].concat(r))}return false}return true};var c=function(t,e){var i,r=-1,s=t.length,n=e[0],a=e[1],h=e[2];switch(e.length){case 0:while(++r<s)(i=t[r]).callback.call(i.ctx);return;case 1:while(++r<s)(i=t[r]).callback.call(i.ctx,n);return;case 2:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a);return;case 3:while(++r<s)(i=t[r]).callback.call(i.ctx,n,a,h);return;default:while(++r<s)(i=t[r]).callback.apply(i.ctx,e)}};var f={listenTo:\"on\",listenToOnce:\"once\"};h.each(f,function(t,e){o[e]=function(e,i,r){var s=this._listeners||(this._listeners={});var n=e._listenerId||(e._listenerId=h.uniqueId(\"l\"));s[n]=e;if(typeof i===\"object\")r=this;e[t](i,r,this);return this}});o.bind=o.on;o.unbind=o.off;h.extend(a,o);var d=a.Model=function(t,e){var i;var r=t||{};e||(e={});this.cid=h.uniqueId(\"c\");this.attributes={};h.extend(this,h.pick(e,p));if(e.parse)r=this.parse(r,e)||{};if(i=h.result(this,\"defaults\")){r=h.defaults({},r,i)}this.set(r,e);this.changed={};this.initialize.apply(this,arguments)};var p=[\"url\",\"urlRoot\",\"collection\"];h.extend(d.prototype,o,{changed:null,validationError:null,idAttribute:\"id\",initialize:function(){},toJSON:function(t){return h.clone(this.attributes)},sync:function(){return a.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return h.escape(this.get(t))},has:function(t){return this.get(t)!=null},set:function(t,e,i){var r,s,n,a,o,u,l,c;if(t==null)return this;if(typeof t===\"object\"){s=t;i=e}else{(s={})[t]=e}i||(i={});if(!this._validate(s,i))return false;n=i.unset;o=i.silent;a=[];u=this._changing;this._changing=true;if(!u){this._previousAttributes=h.clone(this.attributes);this.changed={}}c=this.attributes,l=this._previousAttributes;if(this.idAttribute in s)this.id=s[this.idAttribute];for(r in s){e=s[r];if(!h.isEqual(c[r],e))a.push(r);if(!h.isEqual(l[r],e)){this.changed[r]=e}else{delete this.changed[r]}n?delete c[r]:c[r]=e}if(!o){if(a.length)this._pending=true;for(var f=0,d=a.length;f<d;f++){this.trigger(\"change:\"+a[f],this,c[a[f]],i)}}if(u)return this;if(!o){while(this._pending){this._pending=false;this.trigger(\"change\",this,i)}}this._pending=false;this._changing=false;return this},unset:function(t,e){return this.set(t,void 0,h.extend({},e,{unset:true}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,h.extend({},t,{unset:true}))},hasChanged:function(t){if(t==null)return!h.isEmpty(this.changed);return h.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?h.clone(this.changed):false;var e,i=false;var r=this._changing?this._previousAttributes:this.attributes;for(var s in t){if(h.isEqual(r[s],e=t[s]))continue;(i||(i={}))[s]=e}return i},previous:function(t){if(t==null||!this._previousAttributes)return null;return this._previousAttributes[t]},previousAttributes:function(){return h.clone(this._previousAttributes)},fetch:function(t){t=t?h.clone(t):{};if(t.parse===void 0)t.parse=true;var e=this;var i=t.success;t.success=function(r){if(!e.set(e.parse(r,t),t))return false;if(i)i(e,r,t);e.trigger(\"sync\",e,r,t)};R(this,t);return this.sync(\"read\",this,t)},save:function(t,e,i){var r,s,n,a=this.attributes;if(t==null||typeof t===\"object\"){r=t;i=e}else{(r={})[t]=e}if(r&&(!i||!i.wait)&&!this.set(r,i))return false;i=h.extend({validate:true},i);if(!this._validate(r,i))return false;if(r&&i.wait){this.attributes=h.extend({},a,r)}if(i.parse===void 0)i.parse=true;var o=this;var u=i.success;i.success=function(t){o.attributes=a;var e=o.parse(t,i);if(i.wait)e=h.extend(r||{},e);if(h.isObject(e)&&!o.set(e,i)){return false}if(u)u(o,t,i);o.trigger(\"sync\",o,t,i)};R(this,i);s=this.isNew()?\"create\":i.patch?\"patch\":\"update\";if(s===\"patch\")i.attrs=r;n=this.sync(s,this,i);if(r&&i.wait)this.attributes=a;return n},destroy:function(t){t=t?h.clone(t):{};var e=this;var i=t.success;var r=function(){e.trigger(\"destroy\",e,e.collection,t)};t.success=function(s){if(t.wait||e.isNew())r();if(i)i(e,s,t);if(!e.isNew())e.trigger(\"sync\",e,s,t)};if(this.isNew()){t.success();return false}R(this,t);var s=this.sync(\"delete\",this,t);if(!t.wait)r();return s},url:function(){var t=h.result(this,\"urlRoot\")||h.result(this.collection,\"url\")||U();if(this.isNew())return t;return t+(t.charAt(t.length-1)===\"/\"?\"\":\"/\")+encodeURIComponent(this.id)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return this.id==null},isValid:function(t){return this._validate({},h.extend(t||{},{validate:true}))},_validate:function(t,e){if(!e.validate||!this.validate)return true;t=h.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;if(!i)return true;this.trigger(\"invalid\",this,i,h.extend(e||{},{validationError:i}));return false}});var v=[\"keys\",\"values\",\"pairs\",\"invert\",\"pick\",\"omit\"];h.each(v,function(t){d.prototype[t]=function(){var e=s.call(arguments);e.unshift(this.attributes);return h[t].apply(h,e)}});var g=a.Collection=function(t,e){e||(e={});if(e.url)this.url=e.url;if(e.model)this.model=e.model;if(e.comparator!==void 0)this.comparator=e.comparator;this._reset();this.initialize.apply(this,arguments);if(t)this.reset(t,h.extend({silent:true},e))};var m={add:true,remove:true,merge:true};var y={add:true,merge:false,remove:false};h.extend(g.prototype,o,{model:d,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return a.sync.apply(this,arguments)},add:function(t,e){return this.set(t,h.defaults(e||{},y))},remove:function(t,e){t=h.isArray(t)?t.slice():[t];e||(e={});var i,r,s,n;for(i=0,r=t.length;i<r;i++){n=this.get(t[i]);if(!n)continue;delete this._byId[n.id];delete this._byId[n.cid];s=this.indexOf(n);this.models.splice(s,1);this.length--;if(!e.silent){e.index=s;n.trigger(\"remove\",n,this,e)}this._removeReference(n)}return this},set:function(t,e){e=h.defaults(e||{},m);if(e.parse)t=this.parse(t,e);if(!h.isArray(t))t=t?[t]:[];var i,s,a,o,u,l;var c=e.at;var f=this.comparator&&c==null&&e.sort!==false;var d=h.isString(this.comparator)?this.comparator:null;var p=[],v=[],g={};for(i=0,s=t.length;i<s;i++){if(!(a=this._prepareModel(t[i],e)))continue;if(u=this.get(a)){if(e.remove)g[u.cid]=true;if(e.merge){u.set(a.attributes,e);if(f&&!l&&u.hasChanged(d))l=true}}else if(e.add){p.push(a);a.on(\"all\",this._onModelEvent,this);this._byId[a.cid]=a;if(a.id!=null)this._byId[a.id]=a}}if(e.remove){for(i=0,s=this.length;i<s;++i){if(!g[(a=this.models[i]).cid])v.push(a)}if(v.length)this.remove(v,e)}if(p.length){if(f)l=true;this.length+=p.length;if(c!=null){n.apply(this.models,[c,0].concat(p))}else{r.apply(this.models,p)}}if(l)this.sort({silent:true});if(e.silent)return this;for(i=0,s=p.length;i<s;i++){(a=p[i]).trigger(\"add\",a,this,e)}if(l)this.trigger(\"sort\",this,e);return this},reset:function(t,e){e||(e={});for(var i=0,r=this.models.length;i<r;i++){this._removeReference(this.models[i])}e.previousModels=this.models;this._reset();this.add(t,h.extend({silent:true},e));if(!e.silent)this.trigger(\"reset\",this,e);return this},push:function(t,e){t=this._prepareModel(t,e);this.add(t,h.extend({at:this.length},e));return t},pop:function(t){var e=this.at(this.length-1);this.remove(e,t);return e},unshift:function(t,e){t=this._prepareModel(t,e);this.add(t,h.extend({at:0},e));return t},shift:function(t){var e=this.at(0);this.remove(e,t);return e},slice:function(t,e){return this.models.slice(t,e)},get:function(t){if(t==null)return void 0;return this._byId[t.id!=null?t.id:t.cid||t]},at:function(t){return this.models[t]},where:function(t,e){if(h.isEmpty(t))return e?void 0:[];return this[e?\"find\":\"filter\"](function(e){for(var i in t){if(t[i]!==e.get(i))return false}return true})},findWhere:function(t){return this.where(t,true)},sort:function(t){if(!this.comparator)throw new Error(\"Cannot sort a set without a comparator\");t||(t={});if(h.isString(this.comparator)||this.comparator.length===1){this.models=this.sortBy(this.comparator,this)}else{this.models.sort(h.bind(this.comparator,this))}if(!t.silent)this.trigger(\"sort\",this,t);return this},sortedIndex:function(t,e,i){e||(e=this.comparator);var r=h.isFunction(e)?e:function(t){return t.get(e)};return h.sortedIndex(this.models,t,r,i)},pluck:function(t){return h.invoke(this.models,\"get\",t)},fetch:function(t){t=t?h.clone(t):{};if(t.parse===void 0)t.parse=true;var e=t.success;var i=this;t.success=function(r){var s=t.reset?\"reset\":\"set\";i[s](r,t);if(e)e(i,r,t);i.trigger(\"sync\",i,r,t)};R(this,t);return this.sync(\"read\",this,t)},create:function(t,e){e=e?h.clone(e):{};if(!(t=this._prepareModel(t,e)))return false;if(!e.wait)this.add(t,e);var i=this;var r=e.success;e.success=function(s){if(e.wait)i.add(t,e);if(r)r(t,s,e)};t.save(null,e);return t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models)},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(t,e){if(t instanceof d){if(!t.collection)t.collection=this;return t}e||(e={});e.collection=this;var i=new this.model(t,e);if(!i._validate(t,e)){this.trigger(\"invalid\",this,t,e);return false}return i},_removeReference:function(t){if(this===t.collection)delete t.collection;t.off(\"all\",this._onModelEvent,this)},_onModelEvent:function(t,e,i,r){if((t===\"add\"||t===\"remove\")&&i!==this)return;if(t===\"destroy\")this.remove(e,r);if(e&&t===\"change:\"+e.idAttribute){delete this._byId[e.previous(e.idAttribute)];if(e.id!=null)this._byId[e.id]=e}this.trigger.apply(this,arguments)}});var _=[\"forEach\",\"each\",\"map\",\"collect\",\"reduce\",\"foldl\",\"inject\",\"reduceRight\",\"foldr\",\"find\",\"detect\",\"filter\",\"select\",\"reject\",\"every\",\"all\",\"some\",\"any\",\"include\",\"contains\",\"invoke\",\"max\",\"min\",\"toArray\",\"size\",\"first\",\"head\",\"take\",\"initial\",\"rest\",\"tail\",\"drop\",\"last\",\"without\",\"indexOf\",\"shuffle\",\"lastIndexOf\",\"isEmpty\",\"chain\"];h.each(_,function(t){g.prototype[t]=function(){var e=s.call(arguments);e.unshift(this.models);return h[t].apply(h,e)}});var w=[\"groupBy\",\"countBy\",\"sortBy\"];h.each(w,function(t){g.prototype[t]=function(e,i){var r=h.isFunction(e)?e:function(t){return t.get(e)};return h[t](this.models,r,i)}});var b=a.View=function(t){this.cid=h.uniqueId(\"view\");this._configure(t||{});this._ensureElement();this.initialize.apply(this,arguments);this.delegateEvents()};var x=/^(\\S+)\\s*(.*)$/;var E=[\"model\",\"collection\",\"el\",\"id\",\"attributes\",\"className\",\"tagName\",\"events\"];h.extend(b.prototype,o,{tagName:\"div\",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){this.$el.remove();this.stopListening();return this},setElement:function(t,e){if(this.$el)this.undelegateEvents();this.$el=t instanceof a.$?t:a.$(t);this.el=this.$el[0];if(e!==false)this.delegateEvents();return this},delegateEvents:function(t){if(!(t||(t=h.result(this,\"events\"))))return this;this.undelegateEvents();for(var e in t){var i=t[e];if(!h.isFunction(i))i=this[t[e]];if(!i)continue;var r=e.match(x);var s=r[1],n=r[2];i=h.bind(i,this);s+=\".delegateEvents\"+this.cid;if(n===\"\"){this.$el.on(s,i)}else{this.$el.on(s,n,i)}}return this},undelegateEvents:function(){this.$el.off(\".delegateEvents\"+this.cid);return this},_configure:function(t){if(this.options)t=h.extend({},h.result(this,\"options\"),t);h.extend(this,h.pick(t,E));this.options=t},_ensureElement:function(){if(!this.el){var t=h.extend({},h.result(this,\"attributes\"));if(this.id)t.id=h.result(this,\"id\");if(this.className)t[\"class\"]=h.result(this,\"className\");var e=a.$(\"<\"+h.result(this,\"tagName\")+\">\").attr(t);this.setElement(e,false)}else{this.setElement(h.result(this,\"el\"),false)}}});a.sync=function(t,e,i){var r=k[t];h.defaults(i||(i={}),{emulateHTTP:a.emulateHTTP,emulateJSON:a.emulateJSON});var s={type:r,dataType:\"json\"};if(!i.url){s.url=h.result(e,\"url\")||U()}if(i.data==null&&e&&(t===\"create\"||t===\"update\"||t===\"patch\")){s.contentType=\"application/json\";s.data=JSON.stringify(i.attrs||e.toJSON(i))}if(i.emulateJSON){s.contentType=\"application/x-www-form-urlencoded\";s.data=s.data?{model:s.data}:{}}if(i.emulateHTTP&&(r===\"PUT\"||r===\"DELETE\"||r===\"PATCH\")){s.type=\"POST\";if(i.emulateJSON)s.data._method=r;var n=i.beforeSend;i.beforeSend=function(t){t.setRequestHeader(\"X-HTTP-Method-Override\",r);if(n)return n.apply(this,arguments)}}if(s.type!==\"GET\"&&!i.emulateJSON){s.processData=false}if(s.type===\"PATCH\"&&window.ActiveXObject&&!(window.external&&window.external.msActiveXFilteringEnabled)){s.xhr=function(){return new ActiveXObject(\"Microsoft.XMLHTTP\")}}var o=i.xhr=a.ajax(h.extend(s,i));e.trigger(\"request\",e,o,i);return o};var k={create:\"POST\",update:\"PUT\",patch:\"PATCH\",\"delete\":\"DELETE\",read:\"GET\"};a.ajax=function(){return a.$.ajax.apply(a.$,arguments)};var S=a.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var $=/\\((.*?)\\)/g;var T=/(\\(\\?)?:\\w+/g;var H=/\\*\\w+/g;var A=/[\\-{}\\[\\]+?.,\\\\\\^$|#\\s]/g;h.extend(S.prototype,o,{initialize:function(){},route:function(t,e,i){if(!h.isRegExp(t))t=this._routeToRegExp(t);if(h.isFunction(e)){i=e;e=\"\"}if(!i)i=this[e];var r=this;a.history.route(t,function(s){var n=r._extractParameters(t,s);i&&i.apply(r,n);r.trigger.apply(r,[\"route:\"+e].concat(n));r.trigger(\"route\",e,n);a.history.trigger(\"route\",r,e,n)});return this},navigate:function(t,e){a.history.navigate(t,e);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=h.result(this,\"routes\");var t,e=h.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(A,\"\\\\$&\").replace($,\"(?:$1)?\").replace(T,function(t,e){return e?t:\"([^/]+)\"}).replace(H,\"(.*?)\");return new RegExp(\"^\"+t+\"$\")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return h.map(i,function(t){return t?decodeURIComponent(t):null})}});var I=a.History=function(){this.handlers=[];h.bindAll(this,\"checkUrl\");if(typeof window!==\"undefined\"){this.location=window.location;this.history=window.history}};var N=/^[#\\/]|\\s+$/g;var P=/^\\/+|\\/+$/g;var O=/msie [\\w.]+/;var C=/\\/$/;I.started=false;h.extend(I.prototype,o,{interval:50,getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:\"\"},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=this.location.pathname;var i=this.root.replace(C,\"\");if(!t.indexOf(i))t=t.substr(i.length)}else{t=this.getHash()}}return t.replace(N,\"\")},start:function(t){if(I.started)throw new Error(\"Backbone.history has already been started\");I.started=true;this.options=h.extend({},{root:\"/\"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var e=this.getFragment();var i=document.documentMode;var r=O.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=(\"/\"+this.root+\"/\").replace(P,\"/\");if(r&&this._wantsHashChange){this.iframe=a.$('<iframe src=\"javascript:0\" tabindex=\"-1\" />').hide().appendTo(\"body\")[0].contentWindow;this.navigate(e)}if(this._hasPushState){a.$(window).on(\"popstate\",this.checkUrl)}else if(this._wantsHashChange&&\"onhashchange\"in window&&!r){a.$(window).on(\"hashchange\",this.checkUrl)}else if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}this.fragment=e;var s=this.location;var n=s.pathname.replace(/[^\\/]$/,\"$&/\")===this.root;if(this._wantsHashChange&&this._wantsPushState&&!this._hasPushState&&!n){this.fragment=this.getFragment(null,true);this.location.replace(this.root+this.location.search+\"#\"+this.fragment);return true}else if(this._wantsPushState&&this._hasPushState&&n&&s.hash){this.fragment=this.getHash().replace(N,\"\");this.history.replaceState({},document.title,this.root+this.fragment+s.search)}if(!this.options.silent)return this.loadUrl()},stop:function(){a.$(window).off(\"popstate\",this.checkUrl).off(\"hashchange\",this.checkUrl);clearInterval(this._checkUrlInterval);I.started=false},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe){e=this.getFragment(this.getHash(this.iframe))}if(e===this.fragment)return false;if(this.iframe)this.navigate(e);this.loadUrl()||this.loadUrl(this.getHash())},loadUrl:function(t){var e=this.fragment=this.getFragment(t);var i=h.any(this.handlers,function(t){if(t.route.test(e)){t.callback(e);return true}});return i},navigate:function(t,e){if(!I.started)return false;if(!e||e===true)e={trigger:e};t=this.getFragment(t||\"\");if(this.fragment===t)return;this.fragment=t;var i=this.root+t;if(this._hasPushState){this.history[e.replace?\"replaceState\":\"pushState\"]({},document.title,i)}else if(this._wantsHashChange){this._updateHash(this.location,t,e.replace);if(this.iframe&&t!==this.getFragment(this.getHash(this.iframe))){if(!e.replace)this.iframe.document.open().close();this._updateHash(this.iframe.location,t,e.replace)}}else{return this.location.assign(i)}if(e.trigger)this.loadUrl(t)},_updateHash:function(t,e,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,\"\");t.replace(r+\"#\"+e)}else{t.hash=\"#\"+e}}});a.history=new I;var j=function(t,e){var i=this;var r;if(t&&h.has(t,\"constructor\")){r=t.constructor}else{r=function(){return i.apply(this,arguments)}}h.extend(r,i,e);var s=function(){this.constructor=r};s.prototype=i.prototype;r.prototype=new s;if(t)h.extend(r.prototype,t);r.__super__=i.prototype;return r};d.extend=g.extend=S.extend=b.extend=I.extend=j;var U=function(){throw new Error('A \"url\" property or function must be specified')};var R=function(t,e){var i=e.error;e.error=function(r){if(i)i(t,r,e);t.trigger(\"error\",t,r,e)}}}).call(this);\n/*\n//@ sourceMappingURL=backbone-min.map\n*/"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-backbone/thirdparty/backbone.localStorage-min.js",
    "content": "/**\n * Backbone localStorage Adapter\n * Version 1.1.4\n *\n * https://github.com/jeromegn/Backbone.localStorage\n */(function(a,b){typeof exports==\"object\"?module.exports=b(require(\"underscore\"),require(\"backbone\")):typeof define==\"function\"&&define.amd?define([\"underscore\",\"backbone\"],function(c,d){return b(c||a._,d||a.Backbone)}):b(_,Backbone)})(this,function(a,b){function c(){return((1+Math.random())*65536|0).toString(16).substring(1)}function d(){return c()+c()+\"-\"+c()+\"-\"+c()+\"-\"+c()+\"-\"+c()+c()+c()}return b.LocalStorage=window.Store=function(a){if(!this.localStorage)throw\"Backbone.localStorage: Environment does not support localStorage.\";this.name=a;var b=this.localStorage().getItem(this.name);this.records=b&&b.split(\",\")||[]},a.extend(b.LocalStorage.prototype,{save:function(){this.localStorage().setItem(this.name,this.records.join(\",\"))},create:function(a){return a.id||(a.id=d(),a.set(a.idAttribute,a.id)),this.localStorage().setItem(this.name+\"-\"+a.id,JSON.stringify(a)),this.records.push(a.id.toString()),this.save(),this.find(a)},update:function(b){return this.localStorage().setItem(this.name+\"-\"+b.id,JSON.stringify(b)),a.include(this.records,b.id.toString())||this.records.push(b.id.toString()),this.save(),this.find(b)},find:function(a){return this.jsonData(this.localStorage().getItem(this.name+\"-\"+a.id))},findAll:function(){return(a.chain||a)(this.records).map(function(a){return this.jsonData(this.localStorage().getItem(this.name+\"-\"+a))},this).compact().value()},destroy:function(b){return b.isNew()?!1:(this.localStorage().removeItem(this.name+\"-\"+b.id),this.records=a.reject(this.records,function(a){return a===b.id.toString()}),this.save(),b)},localStorage:function(){return localStorage},jsonData:function(a){return a&&JSON.parse(a)},_clear:function(){var b=this.localStorage(),c=new RegExp(\"^\"+this.name+\"-\");b.removeItem(this.name),(a.chain||a)(b).keys().filter(function(a){return c.test(a)}).each(function(a){b.removeItem(a)})},_storageSize:function(){return this.localStorage().length}}),b.LocalStorage.sync=window.Store.sync=b.localSync=function(a,c,d){var e=c.localStorage||c.collection.localStorage,f,g,h=b.$.Deferred&&b.$.Deferred();try{switch(a){case\"read\":f=c.id!=undefined?e.find(c):e.findAll();break;case\"create\":f=e.create(c);break;case\"update\":f=e.update(c);break;case\"delete\":f=e.destroy(c)}}catch(i){i.code===DOMException.QUOTA_EXCEEDED_ERR&&e._storageSize()===0?g=\"Private browsing is unsupported\":g=i.message}return f?(d&&d.success&&(b.VERSION===\"0.9.10\"?d.success(c,f,d):d.success(f)),h&&h.resolve(f)):(g=g?g:\"Record Not Found\",d&&d.error&&(b.VERSION===\"0.9.10\"?d.error(c,g,d):d.error(g)),h&&h.reject(g)),d&&d.complete&&d.complete(f),h&&h.promise()},b.ajaxSync=b.sync,b.getSyncMethod=function(a){return a.localStorage||a.collection&&a.collection.localStorage?b.localSync:b.ajaxSync},b.sync=function(a,c,d){return b.getSyncMethod(c).apply(this,[a,c,d])},b.LocalStorage});"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-director/README.md",
    "content": "# TodoMVC-director\n\nThis is the exact copy of the React-powered [TodoMVC](http://todomvc.com/labs/architecture-examples/react/). To test it, use [bower](http://bower.io) to fetch the dependencies:\n\n`bower install`\n\nThen fire up a server here:\n\n`python -m SimpleHTTPServer`\n\nAnd go visit `localhost:8000`.\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-director/bower.json",
    "content": "{\n  \"name\": \"todomvc-react\",\n  \"version\": \"0.0.0\",\n  \"dependencies\": {\n    \"todomvc-common\": \"~0.1.7\",\n    \"react\": \"~0.4.0\",\n    \"director\": \"~1.2.0\"\n  }\n}\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-director/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"react\">\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n\t\t<title>React • TodoMVC</title>\n\t\t<link rel=\"stylesheet\" href=\"bower_components/todomvc-common/base.css\">\n\t</head>\n\t<body>\n\t\t<section id=\"todoapp\"></section>\n\t\t<footer id=\"info\"></footer>\n\t\t<div id=\"benchmark\"></div>\n\n\t\t<script src=\"bower_components/todomvc-common/base.js\"></script>\n\t\t<script src=\"bower_components/react/react.js\"></script>\n\t\t<script src=\"bower_components/react/JSXTransformer.js\"></script>\n\t\t<script src=\"bower_components/director/build/director.min.js\"></script>\n\n\t\t<script type=\"text/jsx\" src=\"js/utils.jsx\"></script>\n\t\t<script type=\"text/jsx\" src=\"js/todoItem.jsx\"></script>\n\t\t<script type=\"text/jsx\" src=\"js/footer.jsx\"></script>\n\t\t<script type=\"text/jsx\" src=\"js/app.jsx\"></script>\n\t</body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-director/js/app.jsx",
    "content": "/**\n * @jsx React.DOM\n */\n/*jshint quotmark:false */\n/*jshint white:false */\n/*jshint trailing:false */\n/*jshint newcap:false */\n/*global Utils, ALL_TODOS, ACTIVE_TODOS, COMPLETED_TODOS,\n\tTodoItem, TodoFooter, React, Router*/\n\n(function (window, React) {\n\t'use strict';\n\n\twindow.ALL_TODOS = 'all';\n\twindow.ACTIVE_TODOS = 'active';\n\twindow.COMPLETED_TODOS = 'completed';\n\n\tvar ENTER_KEY = 13;\n\n\tvar TodoApp = React.createClass({\n\t\tgetInitialState: function () {\n\t\t\tvar todos = Utils.store('react-todos');\n\t\t\treturn {\n\t\t\t\ttodos: todos,\n\t\t\t\tnowShowing: ALL_TODOS,\n\t\t\t\tediting: null\n\t\t\t};\n\t\t},\n\n\t\tcomponentDidMount: function () {\n\t\t\tvar router = Router({\n\t\t\t\t'/': this.setState.bind(this, {nowShowing: ALL_TODOS}),\n\t\t\t\t'/active': this.setState.bind(this, {nowShowing: ACTIVE_TODOS}),\n\t\t\t\t'/completed': this.setState.bind(this, {nowShowing: COMPLETED_TODOS})\n\t\t\t});\n\t\t\trouter.init();\n\t\t\tthis.refs.newField.getDOMNode().focus();\n\t\t},\n\n\t\thandleNewTodoKeyDown: function (event) {\n\t\t\tif (event.which !== ENTER_KEY) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar val = this.refs.newField.getDOMNode().value.trim();\n\t\t\tvar todos;\n\t\t\tvar newTodo;\n\n\t\t\tif (val) {\n\t\t\t\ttodos = this.state.todos;\n\t\t\t\tnewTodo = {\n\t\t\t\t\tid: Utils.uuid(),\n\t\t\t\t\ttitle: val,\n\t\t\t\t\tcompleted: false\n\t\t\t\t};\n\t\t\t\tthis.setState({todos: todos.concat([newTodo])});\n\t\t\t\tthis.refs.newField.getDOMNode().value = '';\n\t\t\t}\n\n\t\t\treturn false;\n\t\t},\n\n\t\ttoggleAll: function (event) {\n\t\t\tvar checked = event.target.checked;\n\n\t\t\tthis.state.todos.forEach(function (todo) {\n\t\t\t\ttodo.completed = checked;\n\t\t\t});\n\n\t\t\tthis.setState({todos: this.state.todos});\n\t\t},\n\n\t\ttoggle: function (todo) {\n\t\t\ttodo.completed = !todo.completed;\n\t\t\tthis.setState({todos: this.state.todos});\n\t\t},\n\n\t\tdestroy: function (todo) {\n\t\t\tvar newTodos = this.state.todos.filter(function (candidate) {\n\t\t\t\treturn candidate.id !== todo.id;\n\t\t\t});\n\n\t\t\tthis.setState({todos: newTodos});\n\t\t},\n\n\t\tedit: function (todo, callback) {\n\t\t\t// refer to todoItem.js `handleEdit` for the reasoning behind the\n\t\t\t// callback\n\t\t\tthis.setState({editing: todo.id}, function () {\n\t\t\t\tcallback();\n\t\t\t});\n\t\t},\n\n\t\tsave: function (todo, text) {\n\t\t\ttodo.title = text;\n\t\t\tthis.setState({todos: this.state.todos, editing: null});\n\t\t},\n\n\t\tcancel: function () {\n\t\t\tthis.setState({editing: null});\n\t\t},\n\n\t\tclearCompleted: function () {\n\t\t\tvar newTodos = this.state.todos.filter(function (todo) {\n\t\t\t\treturn !todo.completed;\n\t\t\t});\n\n\t\t\tthis.setState({todos: newTodos});\n\t\t},\n\n\t\tcomponentDidUpdate: function () {\n\t\t\tUtils.store('react-todos', this.state.todos);\n\t\t},\n\n\t\trender: function () {\n\t\t\tvar footer = null;\n\t\t\tvar main = null;\n\t\t\tvar todoItems = {};\n\t\t\tvar activeTodoCount;\n\t\t\tvar completedCount;\n\n\t\t\tvar shownTodos = this.state.todos.filter(function (todo) {\n\t\t\t\tswitch (this.state.nowShowing) {\n\t\t\t\tcase ACTIVE_TODOS:\n\t\t\t\t\treturn !todo.completed;\n\t\t\t\tcase COMPLETED_TODOS:\n\t\t\t\t\treturn todo.completed;\n\t\t\t\tdefault:\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}.bind(this));\n\n\t\t\tshownTodos.forEach(function (todo) {\n\t\t\t\ttodoItems[todo.id] = (\n\t\t\t\t\t<TodoItem\n\t\t\t\t\t\ttodo={todo}\n\t\t\t\t\t\tonToggle={this.toggle.bind(this, todo)}\n\t\t\t\t\t\tonDestroy={this.destroy.bind(this, todo)}\n\t\t\t\t\t\tonEdit={this.edit.bind(this, todo)}\n\t\t\t\t\t\tediting={this.state.editing === todo.id}\n\t\t\t\t\t\tonSave={this.save.bind(this, todo)}\n\t\t\t\t\t\tonCancel={this.cancel}\n\t\t\t\t\t/>\n\t\t\t\t);\n\t\t\t}.bind(this));\n\n\t\t\tactiveTodoCount = this.state.todos.filter(function (todo) {\n\t\t\t\treturn !todo.completed;\n\t\t\t}).length;\n\n\t\t\tcompletedCount = this.state.todos.length - activeTodoCount;\n\n\t\t\tif (activeTodoCount || completedCount) {\n\t\t\t\tfooter =\n\t\t\t\t\t<TodoFooter\n\t\t\t\t\t\tcount={activeTodoCount}\n\t\t\t\t\t\tcompletedCount={completedCount}\n\t\t\t\t\t\tnowShowing={this.state.nowShowing}\n\t\t\t\t\t\tonClearCompleted={this.clearCompleted}\n\t\t\t\t\t/>;\n\t\t\t}\n\n\t\t\tif (this.state.todos.length) {\n\t\t\t\tmain = (\n\t\t\t\t\t<section id=\"main\">\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tid=\"toggle-all\"\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tonChange={this.toggleAll}\n\t\t\t\t\t\t\tchecked={activeTodoCount === 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<ul id=\"todo-list\">\n\t\t\t\t\t\t\t{todoItems}\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t</section>\n\t\t\t\t);\n\t\t\t}\n\n\t\t\treturn (\n\t\t\t\t<div>\n\t\t\t\t\t<header id=\"header\">\n\t\t\t\t\t\t<h1>todos</h1>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tref=\"newField\"\n\t\t\t\t\t\t\tid=\"new-todo\"\n\t\t\t\t\t\t\tplaceholder=\"What needs to be done?\"\n\t\t\t\t\t\t\tonKeyDown={this.handleNewTodoKeyDown}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</header>\n\t\t\t\t\t{main}\n\t\t\t\t\t{footer}\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\t});\n\n\tReact.renderComponent(<TodoApp />, document.getElementById('todoapp'));\n\tReact.renderComponent(\n\t\t<div>\n\t\t\t<p>Double-click to edit a todo</p>\n\t\t\t<p>Created by{' '}\n\t\t\t\t<a href=\"http://github.com/petehunt/\">petehunt</a>\n\t\t\t</p>\n\t\t\t<p>Part of{' '}<a href=\"http://todomvc.com\">TodoMVC</a></p>\n\t\t</div>,\n\t\tdocument.getElementById('info'));\n})(window, React);\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-director/js/footer.jsx",
    "content": "/**\n * @jsx React.DOM\n */\n/*jshint quotmark:false */\n/*jshint white:false */\n/*jshint trailing:false */\n/*jshint newcap:false */\n/*global React, ALL_TODOS, ACTIVE_TODOS, Utils, COMPLETED_TODOS */\n(function (window) {\n\t'use strict';\n\n\twindow.TodoFooter = React.createClass({\n\t\trender: function () {\n\t\t\tvar activeTodoWord = Utils.pluralize(this.props.count, 'item');\n\t\t\tvar clearButton = null;\n\n\t\t\tif (this.props.completedCount > 0) {\n\t\t\t\tclearButton = (\n\t\t\t\t\t<button\n\t\t\t\t\t\tid=\"clear-completed\"\n\t\t\t\t\t\tonClick={this.props.onClearCompleted}>\n\t\t\t\t\t\t{''}Clear completed ({this.props.completedCount}){''}\n\t\t\t\t\t</button>\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tvar show = {\n\t\t\t\tALL_TODOS: '',\n\t\t\t\tACTIVE_TODOS: '',\n\t\t\t\tCOMPLETED_TODOS: ''\n\t\t\t};\n\t\t\tshow[this.props.nowShowing] = 'selected';\n\n\t\t\treturn (\n\t\t\t\t<footer id=\"footer\">\n\t\t\t\t\t<span id=\"todo-count\">\n\t\t\t\t\t\t<strong>{this.props.count}</strong>\n\t\t\t\t\t\t{' '}{activeTodoWord}{' '}left{''}\n\t\t\t\t\t</span>\n\t\t\t\t\t<ul id=\"filters\">\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a href=\"#/\" className={show[ALL_TODOS]}>All</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a href=\"#/active\" className={show[ACTIVE_TODOS]}>Active</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a href=\"#/completed\" className={show[COMPLETED_TODOS]}>Completed</a>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t\t{clearButton}\n\t\t\t\t</footer>\n\t\t\t);\n\t\t}\n\t});\n})(window);\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-director/js/todoItem.jsx",
    "content": "/**\n * @jsx React.DOM\n */\n/*jshint quotmark: false */\n/*jshint white: false */\n/*jshint trailing: false */\n/*jshint newcap: false */\n/*global React, Utils */\n(function (window) {\n\t'use strict';\n\n\tvar ESCAPE_KEY = 27;\n\tvar ENTER_KEY = 13;\n\n\twindow.TodoItem = React.createClass({\n\t\thandleSubmit: function () {\n\t\t\tvar val = this.state.editText.trim();\n\t\t\tif (val) {\n\t\t\t\tthis.props.onSave(val);\n\t\t\t\tthis.setState({editText: val});\n\t\t\t} else {\n\t\t\t\tthis.props.onDestroy();\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\thandleEdit: function () {\n\t\t\t// react optimizes renders by batching them. This means you can't call\n\t\t\t// parent's `onEdit` (which in this case triggeres a re-render), and\n\t\t\t// immediately manipulate the DOM as if the rendering's over. Put it as a\n\t\t\t// callback. Refer to app.js' `edit` method\n\t\t\tthis.props.onEdit(function () {\n\t\t\t\tvar node = this.refs.editField.getDOMNode();\n\t\t\t\tnode.focus();\n\t\t\t\tnode.setSelectionRange(node.value.length, node.value.length);\n\t\t\t}.bind(this));\n\t\t},\n\n\t\thandleKeyDown: function (event) {\n\t\t\tif (event.keyCode === ESCAPE_KEY) {\n\t\t\t\tthis.setState({editText: this.props.todo.title});\n\t\t\t\tthis.props.onCancel();\n\t\t\t} else if (event.keyCode === ENTER_KEY) {\n\t\t\t\tthis.handleSubmit();\n\t\t\t} else {\n\t\t\t\tthis.setState({editText: event.target.value});\n\t\t\t}\n\t\t},\n\n\t\thandleChange: function (event) {\n\t\t\tthis.setState({editText: event.target.value});\n\t\t},\n\n\t\tgetInitialState: function () {\n\t\t\treturn {editText: this.props.todo.title};\n\t\t},\n\n\t\tcomponentWillReceiveProps: function (nextProps) {\n\t\t\tif (nextProps.todo.title !== this.props.todo.title) {\n\t\t\t\tthis.setState(this.getInitialState());\n\t\t\t}\n\t\t},\n\n\t\trender: function () {\n\t\t\treturn (\n\t\t\t\t<li className={Utils.stringifyObjKeys({\n\t\t\t\t\tcompleted: this.props.todo.completed,\n\t\t\t\t\tediting: this.props.editing\n\t\t\t\t})}>\n\t\t\t\t\t<div className=\"view\">\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclassName=\"toggle\"\n\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\tchecked={this.props.todo.completed ? 'checked' : null}\n\t\t\t\t\t\t\tonChange={this.props.onToggle}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<label onDoubleClick={this.handleEdit}>\n\t\t\t\t\t\t\t{this.props.todo.title}\n\t\t\t\t\t\t</label>\n\t\t\t\t\t\t<button className='destroy' onClick={this.props.onDestroy} />\n\t\t\t\t\t</div>\n\t\t\t\t\t<input\n\t\t\t\t\t\tref=\"editField\"\n\t\t\t\t\t\tclassName=\"edit\"\n\t\t\t\t\t\tvalue={this.state.editText}\n\t\t\t\t\t\tonBlur={this.handleSubmit}\n\t\t\t\t\t\tonChange={this.handleChange}\n\t\t\t\t\t\tonKeyDown={this.handleKeyDown}\n\t\t\t\t\t/>\n\t\t\t\t</li>\n\t\t\t);\n\t\t}\n\t});\n})(window);\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/todomvc-director/js/utils.jsx",
    "content": "(function (window) {\n\t'use strict';\n\n\twindow.Utils = {\n\t\tuuid: function () {\n\t\t\t/*jshint bitwise:false */\n\t\t\tvar i, random;\n\t\t\tvar uuid = '';\n\n\t\t\tfor (i = 0; i < 32; i++) {\n\t\t\t\trandom = Math.random() * 16 | 0;\n\t\t\t\tif (i === 8 || i === 12 || i === 16 || i === 20) {\n\t\t\t\t\tuuid += '-';\n\t\t\t\t}\n\t\t\t\tuuid += (i === 12 ? 4 : (i === 16 ? (random & 3 | 8) : random))\n\t\t\t\t\t.toString(16);\n\t\t\t}\n\n\t\t\treturn uuid;\n\t\t},\n\n\t\tpluralize: function (count, word) {\n\t\t\treturn count === 1 ? word : word + 's';\n\t\t},\n\n\t\tstore: function (namespace, data) {\n\t\t\tif (data) {\n\t\t\t\treturn localStorage.setItem(namespace, JSON.stringify(data));\n\t\t\t}\n\n\t\t\tvar store = localStorage.getItem(namespace);\n\t\t\treturn (store && JSON.parse(store)) || [];\n\t\t},\n\n\t\tstringifyObjKeys: function (obj) {\n\t\t\tvar s = '';\n\t\t\tvar key;\n\n\t\t\tfor (key in obj) {\n\t\t\t\tif (obj.hasOwnProperty(key) && obj[key]) {\n\t\t\t\t\ts += key + ' ';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn s.trim();\n\t\t}\n\t};\n\n})(window);\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/transitions/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv='Content-type' content='text/html; charset=utf-8'>\n    <title>Basic Example with JSX</title>\n    <link rel=\"stylesheet\" href=\"../shared/css/base.css\" />\n    <link rel=\"stylesheet\" href=\"transition.css\" />\n  </head>\n  <body>\n    <h1>Example with Transitions</h1>\n    <div id=\"container\">\n      <p>\n        To install React, follow the instructions on\n        <a href=\"http://www.github.com/facebook/react/\">GitHub</a>.\n      </p>\n      <p>\n        If you can see this, React is not working right.\n        If you checked out the source from GitHub make sure to run <code>grunt</code>.\n      </p>\n    </div>\n    <h4>Example Details</h4>\n    <ul>\n      <li>\n        This is built with\n        <a href=\"https://github.com/substack/node-browserify\">browserify</a>.\n      </li>\n      <li>\n        This is written with JSX and transformed in the browser.\n      </li>\n    </ul>\n    <p>\n    </p>\n    <p>\n      Learn more at\n      <a href=\"http://facebook.github.io/react\" target=\"_blank\">facebook.github.io/react</a>.\n    </p>\n    <script src=\"../../build/react-with-addons.js\"></script>\n    <script src=\"../../build/JSXTransformer.js\"></script>\n    <script type=\"text/jsx\">\n      /**\n       * @jsx React.DOM\n       */\n      var TransitionGroup = React.addons.TransitionGroup;\n      var INTERVAL = 2000;\n\n      var AnimateDemo = React.createClass({\n        getInitialState: function() {\n          return {start: 0};\n        },\n\n        componentDidMount: function() {\n          this.interval = setInterval(this.tick, INTERVAL);\n        },\n\n        componentWillUnmount: function() {\n          clearInterval(this.interval);\n        },\n\n        tick: function() {\n          this.setState({start: this.state.start + 1});\n        },\n\n        render: function() {\n          var children = [];\n          var pos = 0;\n          var colors = ['red', 'gray', 'blue'];\n          for (var i = this.state.start; i < this.state.start + 3; i++) {\n            var style = {\n              left: pos * 128,\n              background: colors[i % 3]\n            };\n            pos++;\n            children.push(<div key={i} className=\"animateItem\" style={style}>{i}</div>);\n          }\n          return (\n            <TransitionGroup\n              className=\"animateExample\"\n              transitionName=\"example\">\n              {children}\n            </TransitionGroup>\n          );\n        }\n      });\n\n      React.renderComponent(\n        <AnimateDemo />,\n        document.getElementById('container')\n      );\n    </script>\n  </body>\n</html>\n"
  },
  {
    "path": "debuggers/browser/static/lib/react-0.8.0/examples/transitions/transition.css",
    "content": ".example-enter,\n.example-leave {\n  -webkit-transition: all .25s;\n  transition: all .25s;\n}\n\n.example-enter,\n.example-leave.example-leave-active {\n  opacity: 0.01;\n}\n\n.example-leave.example-leave-active {\n  margin-left: -128px;\n}\n\n.example-enter {\n  margin-left: 128px;\n}\n\n.example-enter.example-enter-active,\n.example-leave {\n  margin-left: 0;\n  opacity: 1;\n}\n\n.animateExample {\n  display: block;\n  height: 128px;\n  position: relative;\n  width: 384px;\n}\n\n.animateItem {\n  color: white;\n  font-size: 36px;\n  font-weight: bold;\n  height: 128px;\n  line-height: 128px;\n  position: absolute;\n  text-align: center;\n  -webkit-transition: all .25s; /* TODO: make this a move animation */\n  transition: all .25s; /* TODO: make this a move animation */\n  width: 128px;\n}\n"
  },
  {
    "path": "debuggers/browser/static/mouse.js",
    "content": "var prevMouse = null;\n\nwindow.onmousemove = function(e) {\n  e.preventDefault();\n\n  var mouse = [e.pageX / renderer.scale,\n               e.pageY / renderer.scale];\n\n  if(prevMouse) {\n    var diff = [mouse[0] - prevMouse[0], mouse[1] - prevMouse[1]];\n    var d = Math.sqrt(diff[0] * diff[0] + diff[1] * diff[1]);\n\n    for(var i=0; i<d; i+=1) {\n      mousemove(prevMouse[0] + diff[0] * (i / d),\n                prevMouse[1] + diff[1] * (i / d));\n    }\n  }\n\n  mousemove(mouse[0], mouse[1]);\n  prevMouse = mouse;\n};\n\n\nvar mouseInfluenceSize = 10;\nvar mouseInfluenceScalar = 8;\nvar lastMouse = [0, 0];\nfunction mousemove(x, y) {\n  for(var i=0; i<entities.length; i++) {\n    if(entities[i].pinned) {\n      continue;\n    }\n\n    var pos = entities[i].pos;\n    var line = [pos[0] - x, pos[1] - y];\n    var dist = Math.sqrt(line[0]*line[0] + line[1]*line[1]);\n\n    if(dist < mouseInfluenceSize) {\n      renderer.fadeIn();\n\n      entities[i].lastPos[0] =\n        (entities[i].pos[0] -\n         (x - lastMouse[0]) * mouseInfluenceScalar);\n\n      entities[i].lastPos[1] =\n        (entities[i].pos[1] -\n         (y - lastMouse[1]) * mouseInfluenceScalar);\n    }\n  }\n\n  lastMouse = [x, y];\n}\n"
  },
  {
    "path": "debuggers/browser/static/probe.js",
    "content": "!function(e){if(\"object\"==typeof exports)module.exports=e();else if(\"function\"==typeof define&&define.amd)define(e);else{var n;\"undefined\"!=typeof window?n=window:\"undefined\"!=typeof global?n=global:\"undefined\"!=typeof self&&(n=self),(n.main||(n.main={})).js=e()}}(function(){var define,module,exports;return (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);throw new Error(\"Cannot find module '\"+o+\"'\")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.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(require,module,exports){\nvar types = require(\"ast-types\");\nvar b = types.builders;\n\nfunction locToSyntax(loc) {\n  return b.objectExpression([\n    b.property(\n      'init',\n      b.literal('start'),\n      b.objectExpression([\n        b.property(\n          'init',\n          b.literal('line'),\n          b.literal(loc.start.line)\n        ),\n        b.property(\n          'init',\n          b.literal('column'),\n          b.literal(loc.start.column)\n        )\n      ])\n    ),\n\n    b.property(\n      'init',\n      b.literal('end'),\n      b.objectExpression([\n        b.property(\n          'init',\n          b.literal('line'),\n          b.literal(loc.end.line)\n        ),\n        b.property(\n          'init',\n          b.literal('column'),\n          b.literal(loc.end.column)\n        )\n      ])\n    )\n  ]);\n}\n\nfunction DebugInfo() {\n  this.baseId = 0;\n  this.baseIndex = 1;\n  this.machines = [];\n  this.stmts = [];\n}\n\nDebugInfo.prototype.makeId = function() {\n  var id = this.baseId++;\n  this.machines[id] = {\n    locs: {},\n    finalLoc: null\n  };\n  return id;\n};\n\nDebugInfo.prototype.addSourceLocation = function(machineId, loc, index) {\n  this.machines[machineId].locs[index] = loc;\n  return index;\n};\n\nDebugInfo.prototype.getSourceLocation = function(machineId, index) {\n  return this.machines[machineId].locs[index];\n};\n\nDebugInfo.prototype.addFinalLocation = function(machineId, loc) {\n  this.machines[machineId].finalLoc = loc;\n};\n\nDebugInfo.prototype.getDebugAST = function() {\n  return b.variableDeclaration(\n    'var',\n    [b.variableDeclarator(\n      b.identifier('__debugInfo'),\n      b.arrayExpression(this.machines.map(function(machine, i) {\n        return b.objectExpression([\n          b.property(\n            'init',\n            b.literal('finalLoc'),\n            b.literal(machine.finalLoc)\n          ),\n          b.property(\n            'init',\n            b.literal('locs'),\n            b.objectExpression(Object.keys(machine.locs).map(function(k) {\n              return b.property(\n                'init',\n                b.literal(k),\n                locToSyntax(machine.locs[k])\n              );\n            }))\n          )\n        ]);\n      }.bind(this))))]\n  );\n};\n\nDebugInfo.prototype.getDebugInfo = function() {\n  return this.machines;\n};\n\nexports.DebugInfo = DebugInfo;\n\n},{\"ast-types\":19}],2:[function(require,module,exports){\n/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar types = require(\"ast-types\");\nvar isArray = types.builtInTypes.array;\nvar b = types.builders;\nvar n = types.namedTypes;\nvar leap = require(\"./leap\");\nvar meta = require(\"./meta\");\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar withLoc = require(\"./util\").withLoc;\n\nfunction Emitter(debugId, debugInfo) {\n  assert.ok(this instanceof Emitter);\n\n  this.tmpId = 0;\n  this.maxTmpId = 0;\n\n  Object.defineProperties(this, {\n    // An append-only list of Statements that grows each time this.emit is\n    // called.\n    listing: { value: [] },\n\n    // A sparse array whose keys correspond to locations in this.listing\n    // that have been marked as branch/jump targets.\n    marked: { value: [true] },\n\n    // Every location has a source location mapping\n    sourceLocations: { value: [true] },\n\n    // The last location will be marked when this.getDispatchLoop is\n    // called.\n    finalLoc: { value: loc() },\n\n    debugId: { value: debugId },\n    debugInfo: { value: debugInfo }\n  });\n\n  // The .leapManager property needs to be defined by a separate\n  // defineProperties call so that .finalLoc will be visible to the\n  // leap.LeapManager constructor.\n  Object.defineProperties(this, {\n    // Each time we evaluate the body of a loop, we tell this.leapManager\n    // to enter a nested loop context that determines the meaning of break\n    // and continue statements therein.\n    leapManager: { value: new leap.LeapManager(this) }\n  });\n}\n\nvar Ep = Emitter.prototype;\nexports.Emitter = Emitter;\n\n// Offsets into this.listing that could be used as targets for branches or\n// jumps are represented as numeric Literal nodes. This representation has\n// the amazingly convenient benefit of allowing the exact value of the\n// location to be determined at any time, even after generating code that\n// refers to the location.\nfunction loc() {\n  var lit = b.literal(-1);\n  // A little hacky, but mark is as a location object so we can do\n  // some quick checking later (see resolveEmptyJumps)\n  lit._location = true;\n  return lit;\n}\n\n// Sets the exact value of the given location to the offset of the next\n// Statement emitted.\nEp.mark = function(loc) {\n  n.Literal.assert(loc);\n  var index = this.listing.length;\n  loc.value = index;\n  this.marked[index] = true;\n  return loc;\n};\n\nEp.getLastMark = function() {\n  var index = this.listing.length;\n  while(index > 0 && !this.marked[index]) {\n    index--;\n  }\n  return index;\n};\n\nEp.markAndBreak = function() {\n  var next = loc();\n  this.emitAssign(b.identifier('$__next'), next);\n  this.emit(b.breakStatement(null), true);\n  this.mark(next);\n};\n\nEp.emit = function(node, internal) {\n  if (n.Expression.check(node)) {\n    node = withLoc(b.expressionStatement(node), node.loc);\n  }\n\n  n.Statement.assert(node);\n  this.listing.push(node);\n\n  if(!internal) {\n    if(!node.loc) {\n      throw new Error(\"source location missing\");\n    }\n    else {\n      this.debugInfo.addSourceLocation(this.debugId,\n                                       node.loc,\n                                       this.listing.length - 1);\n    }\n  }\n};\n\n// Shorthand for emitting assignment statements. This will come in handy\n// for assignments to temporary variables.\nEp.emitAssign = function(lhs, rhs, loc) {\n  this.emit(this.assign(lhs, rhs, loc), !loc);\n  return lhs;\n};\n\n// Shorthand for an assignment statement.\nEp.assign = function(lhs, rhs, loc) {\n  var node = b.expressionStatement(\n    b.assignmentExpression(\"=\", lhs, rhs));\n  node.loc = loc;\n  return node;\n};\n\nEp.declareVar = function(name, init, loc) {\n  return withLoc(b.variableDeclaration(\n    'var',\n    [b.variableDeclarator(b.identifier(name), init)]\n  ), loc);\n};\n\nEp.getProperty = function(obj, prop, computed, loc) {\n  return withLoc(b.memberExpression(\n    typeof obj === 'string' ? b.identifier(obj) : obj,\n    typeof prop === 'string' ? b.identifier(prop) : prop,\n    !!computed\n  ), loc);\n};\n\nEp.vmProperty = function(name, loc) {\n  var node = b.memberExpression(\n    b.identifier('VM'),\n    b.identifier(name),\n    false\n  );\n  node.loc = loc;\n  return node;\n};\n\nEp.clearPendingException = function(assignee, loc) {\n  var cp = this.vmProperty(\"error\");\n\n  if(assignee) {\n    this.emitAssign(assignee, cp, loc);\n  }\n\n  this.emitAssign(cp, b.literal(null));\n};\n\n// Emits code for an unconditional jump to the given location, even if the\n// exact value of the location is not yet known.\nEp.jump = function(toLoc) {\n  this.emitAssign(b.identifier('$__next'), toLoc);\n  this.emit(b.breakStatement(), true);\n};\n\n// Conditional jump.\nEp.jumpIf = function(test, toLoc, srcLoc) {\n  n.Expression.assert(test);\n  n.Literal.assert(toLoc);\n\n  this.emit(withLoc(b.ifStatement(\n    test,\n    b.blockStatement([\n      this.assign(b.identifier('$__next'), toLoc),\n      b.breakStatement()\n    ])\n  ), srcLoc));\n};\n\n// Conditional jump, with the condition negated.\nEp.jumpIfNot = function(test, toLoc, srcLoc) {\n  n.Expression.assert(test);\n  n.Literal.assert(toLoc);\n\n  this.emit(withLoc(b.ifStatement(\n    b.unaryExpression(\"!\", test),\n    b.blockStatement([\n      this.assign(b.identifier('$__next'), toLoc),\n      b.breakStatement()\n    ])\n  ), srcLoc));\n};\n\n// Make temporary ids. They should be released when not needed anymore\n// so that we can generate as few of them as possible.\nEp.getTempVar = function() {\n  this.tmpId++;\n  if(this.tmpId > this.maxTmpId) {\n    this.maxTmpId = this.tmpId;\n  }\n  return b.identifier(\"$__t\" + this.tmpId);\n};\n\nEp.currentTempId = function() {\n  return this.tmpId;\n};\n\nEp.releaseTempVar = function() {\n  this.tmpId--;\n};\n\nEp.numTempVars = function() {\n  return this.maxTmpId;\n};\n\nEp.withTempVars = function(cb) {\n  var prevId = this.tmpId;\n  var res = cb();\n  this.tmpId = prevId;\n  return res;\n};\n\nEp.getMachine = function(funcName, varNames) {\n  return this.getDispatchLoop(funcName, varNames);\n};\n\nEp.resolveEmptyJumps = function() {\n  var self = this;\n  var forwards = {};\n\n  self.listing.forEach(function(stmt, i) {\n    if(self.marked.hasOwnProperty(i) &&\n       self.marked.hasOwnProperty(i + 2) &&\n       (n.ReturnStatement.check(self.listing[i + 1]) ||\n        n.BreakStatement.check(self.listing[i + 1])) &&\n       n.ExpressionStatement.check(stmt) &&\n       n.AssignmentExpression.check(stmt.expression) &&\n       n.MemberExpression.check(stmt.expression.left) &&\n       stmt.expression.left.object.name == '$ctx' &&\n       stmt.expression.left.property.name == '$__next') {\n\n      forwards[i] = stmt.expression.right;\n      // TODO: actually remove these cases from the output\n    }\n  });\n\n  types.traverse(self.listing, function(node) {\n    if(n.Literal.check(node) &&\n       node._location &&\n       forwards.hasOwnProperty(node.value)) {\n      this.replace(forwards[node.value]);\n    }\n  });\n};\n\n// Turns this.listing into a loop of the form\n//\n//   while (1) switch (context.next) {\n//   case 0:\n//   ...\n//   case n:\n//     return context.stop();\n//   }\n//\n// Each marked location in this.listing will correspond to one generated\n// case statement.\nEp.getDispatchLoop = function(funcName, varNames) {\n  var self = this;\n\n  // If we encounter a break, continue, or return statement in a switch\n  // case, we can skip the rest of the statements until the next case.\n  var alreadyEnded = false, current, cases = [];\n\n  // If a case statement will just forward to another location, make\n  // the original loc jump straight to it\n  self.resolveEmptyJumps();\n\n  self.listing.forEach(function(stmt, i) {\n    if (self.marked.hasOwnProperty(i)) {\n      cases.push(b.switchCase(\n        b.literal(i),\n        current = []));\n      alreadyEnded = false;\n    }\n\n    if (!alreadyEnded) {\n      current.push(stmt);\n      if (isSwitchCaseEnder(stmt))\n        alreadyEnded = true;\n    }\n  });\n\n  // Now that we know how many statements there will be in this.listing,\n  // we can finally resolve this.finalLoc.value.\n  this.finalLoc.value = this.listing.length;\n  this.debugInfo.addFinalLocation(this.debugId, this.finalLoc.value);\n\n  cases.push.apply(cases, [\n    b.switchCase(null, []),\n    b.switchCase(this.finalLoc, [\n      b.returnStatement(null)\n    ])\n  ]);\n\n  // add an \"eval\" location\n  cases.push(\n    b.switchCase(b.literal(-1), [\n      self.assign(\n        self.vmProperty('evalResult'),\n        b.callExpression(\n          b.identifier('eval'),\n          [self.vmProperty('evalArg')]\n        )\n      ),\n      b.throwStatement(\n        b.newExpression(b.identifier('$ContinuationExc'), [])\n      )\n    ])\n  );\n\n  return [\n    // the state machine\n    b.whileStatement(\n      b.literal(1),\n      b.blockStatement([\n        b.ifStatement(\n          b.logicalExpression(\n            '&&',\n            self.vmProperty('hasBreakpoints'),\n            b.binaryExpression(\n              '!==',\n              self.getProperty(\n                self.getProperty(self.vmProperty('machineBreaks'),\n                                 b.literal(this.debugId),\n                                 true),\n                b.identifier('$__next'),\n                true\n              ),\n              // is identifier right here? it doesn't seem right\n              b.identifier('undefined')\n            )\n          ),\n          b.throwStatement(\n            b.newExpression(b.identifier('$ContinuationExc'), [])\n          )\n        ),\n\n        b.switchStatement(b.identifier('$__next'), cases),\n\n        b.ifStatement(\n          self.vmProperty('stepping'),\n          b.throwStatement(\n            b.newExpression(b.identifier('$ContinuationExc'), [])\n          )\n        )\n      ])\n    )\n  ];\n};\n\n// See comment above re: alreadyEnded.\nfunction isSwitchCaseEnder(stmt) {\n  return n.BreakStatement.check(stmt)\n    || n.ContinueStatement.check(stmt)\n    || n.ReturnStatement.check(stmt)\n    || n.ThrowStatement.check(stmt);\n}\n\n// All side effects must be realized in order.\n\n// If any subexpression harbors a leap, all subexpressions must be\n// neutered of side effects.\n\n// No destructive modification of AST nodes.\n\nEp.explode = function(path, ignoreResult) {\n  assert.ok(path instanceof types.NodePath);\n\n  var node = path.value;\n  var self = this;\n\n  n.Node.assert(node);\n\n  if (n.Statement.check(node))\n    return self.explodeStatement(path);\n\n  if (n.Expression.check(node))\n    return self.explodeExpression(path, ignoreResult);\n\n  if (n.Declaration.check(node))\n    throw getDeclError(node);\n\n  switch (node.type) {\n  case \"Program\":\n    return path.get(\"body\").map(\n      self.explodeStatement,\n      self\n    );\n\n  case \"VariableDeclarator\":\n    throw getDeclError(node);\n\n    // These node types should be handled by their parent nodes\n    // (ObjectExpression, SwitchStatement, and TryStatement, respectively).\n  case \"Property\":\n  case \"SwitchCase\":\n  case \"CatchClause\":\n    throw new Error(\n      node.type + \" nodes should be handled by their parents\");\n\n  default:\n    throw new Error(\n      \"unknown Node of type \" +\n        JSON.stringify(node.type));\n  }\n};\n\nfunction getDeclError(node) {\n  return new Error(\n    \"all declarations should have been transformed into \" +\n      \"assignments before the Exploder began its work: \" +\n      JSON.stringify(node));\n}\n\nEp.explodeStatement = function(path, labelId) {\n  assert.ok(path instanceof types.NodePath);\n\n  var stmt = path.value;\n  var self = this;\n\n  n.Statement.assert(stmt);\n\n  if (labelId) {\n    n.Identifier.assert(labelId);\n  } else {\n    labelId = null;\n  }\n\n  // Explode BlockStatement nodes even if they do not contain a yield,\n  // because we don't want or need the curly braces.\n  if (n.BlockStatement.check(stmt)) {\n    return path.get(\"body\").each(\n      self.explodeStatement,\n      self\n    );\n  }\n\n  // if (!meta.containsLeap(stmt)) {\n  //   // Technically we should be able to avoid emitting the statement\n  //   // altogether if !meta.hasSideEffects(stmt), but that leads to\n  //   // confusing generated code (for instance, `while (true) {}` just\n  //   // disappears) and is probably a more appropriate job for a dedicated\n  //   // dead code elimination pass.\n  //   self.emit(stmt);\n  //   return;\n  // }\n\n  switch (stmt.type) {\n  case \"ExpressionStatement\":\n    self.explodeExpression(path.get(\"expression\"), true);\n    break;\n\n  case \"LabeledStatement\":\n    self.explodeStatement(path.get(\"body\"), stmt.label);\n    break;\n\n  case \"WhileStatement\":\n    var before = loc();\n    var after = loc();\n\n    self.mark(before);\n    self.jumpIfNot(self.explodeExpression(path.get(\"test\")),\n                   after,\n                   path.get(\"test\").node.loc);\n\n    self.markAndBreak();\n\n    self.leapManager.withEntry(\n      new leap.LoopEntry(after, before, labelId),\n      function() { self.explodeStatement(path.get(\"body\")); }\n    );\n    self.jump(before);\n    self.mark(after);\n\n    break;\n\n  case \"DoWhileStatement\":\n    var first = loc();\n    var test = loc();\n    var after = loc();\n\n    self.mark(first);\n    self.leapManager.withEntry(\n      new leap.LoopEntry(after, test, labelId),\n      function() { self.explode(path.get(\"body\")); }\n    );\n    self.mark(test);\n    self.jumpIf(self.explodeExpression(path.get(\"test\")),\n                first,\n                path.get(\"test\").node.loc);\n    self.emitAssign(b.identifier('$__next'), after);\n    self.emit(b.breakStatement(), true);\n    self.mark(after);\n\n    break;\n\n  case \"ForStatement\":\n    var head = loc();\n    var update = loc();\n    var after = loc();\n\n    if (stmt.init) {\n      // We pass true here to indicate that if stmt.init is an expression\n      // then we do not care about its result.\n      self.explode(path.get(\"init\"), true);\n    }\n\n    self.mark(head);\n\n    if (stmt.test) {\n      self.jumpIfNot(self.explodeExpression(path.get(\"test\")),\n                     after,\n                     path.get(\"test\").node.loc);\n    } else {\n      // No test means continue unconditionally.\n    }\n\n    this.markAndBreak();\n\n    self.leapManager.withEntry(\n      new leap.LoopEntry(after, update, labelId),\n      function() { self.explodeStatement(path.get(\"body\")); }\n    );\n\n    self.mark(update);\n\n    if (stmt.update) {\n      // We pass true here to indicate that if stmt.update is an\n      // expression then we do not care about its result.\n      self.explode(path.get(\"update\"), true);\n    }\n\n    self.jump(head);\n\n    self.mark(after);\n\n    break;\n\n  case \"ForInStatement\":\n    n.Identifier.assert(stmt.left);\n\n    var head = loc();\n    var after = loc();\n\n    var keys = self.emitAssign(\n      self.getTempVar(),\n      b.callExpression(\n        self.vmProperty(\"keys\"),\n        [self.explodeExpression(path.get(\"right\"))]\n      ),\n      path.get(\"right\").node.loc\n    );\n\n    var tmpLoc = loc();\n    self.mark(tmpLoc);\n\n    self.mark(head);\n\n    self.jumpIfNot(\n      b.memberExpression(\n        keys,\n        b.identifier(\"length\"),\n        false\n      ),\n      after,\n      stmt.right.loc\n    );\n\n    self.emitAssign(\n      stmt.left,\n      b.callExpression(\n        b.memberExpression(\n          keys,\n          b.identifier(\"pop\"),\n          false\n        ),\n        []\n      ),\n      stmt.left.loc\n    );\n\n    self.markAndBreak();\n\n    self.leapManager.withEntry(\n      new leap.LoopEntry(after, head, labelId),\n      function() { self.explodeStatement(path.get(\"body\")); }\n    );\n\n    self.jump(head);\n\n    self.mark(after);\n    self.releaseTempVar();\n\n    break;\n\n  case \"BreakStatement\":\n    self.leapManager.emitBreak(stmt.label);\n    break;\n\n  case \"ContinueStatement\":\n    self.leapManager.emitContinue(stmt.label);\n    break;\n\n  case \"SwitchStatement\":\n    // Always save the discriminant into a temporary variable in case the\n    // test expressions overwrite values like context.sent.\n    var disc = self.emitAssign(\n      self.getTempVar(),\n      self.explodeExpression(path.get(\"discriminant\"))\n    );\n\n    var after = loc();\n    var defaultLoc = loc();\n    var condition = defaultLoc;\n    var caseLocs = [];\n\n    // If there are no cases, .cases might be undefined.\n    var cases = stmt.cases || [];\n\n    for (var i = cases.length - 1; i >= 0; --i) {\n      var c = cases[i];\n      n.SwitchCase.assert(c);\n\n      if (c.test) {\n        condition = b.conditionalExpression(\n          b.binaryExpression(\"===\", disc, c.test),\n          caseLocs[i] = loc(),\n          condition\n        );\n      } else {\n        caseLocs[i] = defaultLoc;\n      }\n    }\n\n    self.jump(self.explodeExpression(\n      new types.NodePath(condition, path, \"discriminant\")\n    ));\n\n    self.leapManager.withEntry(\n      new leap.SwitchEntry(after),\n      function() {\n        path.get(\"cases\").each(function(casePath) {\n          var c = casePath.value;\n          var i = casePath.name;\n\n          self.mark(caseLocs[i]);\n\n          casePath.get(\"consequent\").each(\n            self.explodeStatement,\n            self\n          );\n        });\n      }\n    );\n\n    self.releaseTempVar();\n    self.mark(after);\n    if (defaultLoc.value === -1) {\n      self.mark(defaultLoc);\n      assert.strictEqual(after.value, defaultLoc.value);\n    }\n\n    break;\n\n  case \"IfStatement\":\n    var elseLoc = stmt.alternate && loc();\n    var after = loc();\n\n    self.jumpIfNot(\n      self.explodeExpression(path.get(\"test\")),\n      elseLoc || after,\n      path.get(\"test\").node.loc\n    );\n\n    self.markAndBreak();\n\n    self.explodeStatement(path.get(\"consequent\"));\n\n    if (elseLoc) {\n      self.jump(after);\n      self.mark(elseLoc);\n      self.explodeStatement(path.get(\"alternate\"));\n    }\n\n    self.mark(after);\n\n    break;\n\n  case \"ReturnStatement\":\n    var rval = this.explodeExpression(path.get(\"argument\"));\n    self.emit(withLoc(b.returnStatement(rval), path.node.loc));\n    break;\n\n  case \"WithStatement\":\n    throw new Error(\n      node.type + \" not supported in generator functions.\");\n\n  case \"TryStatement\":\n    var after = loc();\n\n    var handler = stmt.handler;\n    if (!handler && stmt.handlers) {\n      handler = stmt.handlers[0] || null;\n    }\n\n    var catchLoc = handler && loc();\n    var catchEntry = catchLoc && new leap.CatchEntry(\n      catchLoc,\n      handler.param\n    );\n\n    var finallyLoc = stmt.finalizer && loc();\n    var finallyEntry = finallyLoc && new leap.FinallyEntry(\n      finallyLoc,\n      self.getTempVar()\n    );\n\n    if (finallyEntry) {\n      // Finally blocks examine their .nextLocTempVar property to figure\n      // out where to jump next, so we must set that property to the\n      // fall-through location, by default.\n      self.emitAssign(finallyEntry.nextLocTempVar, after, path.node.loc);\n    }\n\n    var tryEntry = new leap.TryEntry(catchEntry, finallyEntry);\n\n    // Push information about this try statement so that the runtime can\n    // figure out what to do if it gets an uncaught exception.\n    self.pushTry(tryEntry, path.node.loc);\n    self.markAndBreak();\n\n    self.leapManager.withEntry(tryEntry, function() {\n      self.explodeStatement(path.get(\"block\"));\n\n      if (catchLoc) {\n        // If execution leaves the try block normally, the associated\n        // catch block no longer applies.\n        self.popCatch(catchEntry, handler.loc);\n\n        if (finallyLoc) {\n          // If we have both a catch block and a finally block, then\n          // because we emit the catch block first, we need to jump over\n          // it to the finally block.\n          self.jump(finallyLoc);\n        } else {\n          // If there is no finally block, then we need to jump over the\n          // catch block to the fall-through location.\n          self.jump(after);\n        }\n\n        self.mark(catchLoc);\n\n        // On entering a catch block, we must not have exited the\n        // associated try block normally, so we won't have called\n        // context.popCatch yet.  Call it here instead.\n        self.popCatch(catchEntry, handler.loc);\n        self.markAndBreak();\n\n        var bodyPath = path.get(\"handler\", \"body\");\n        var safeParam = self.getTempVar();\n        self.clearPendingException(safeParam, handler.loc);\n        self.markAndBreak();\n\n        var catchScope = bodyPath.scope;\n        var catchParamName = handler.param.name;\n        n.CatchClause.assert(catchScope.node);\n        assert.strictEqual(catchScope.lookup(catchParamName), catchScope);\n\n        types.traverse(bodyPath, function(node) {\n          if (n.Identifier.check(node) &&\n              node.name === catchParamName &&\n              this.scope.lookup(catchParamName) === catchScope) {\n            this.replace(safeParam);\n            return false;\n          }\n        });\n\n        self.leapManager.withEntry(catchEntry, function() {\n          self.explodeStatement(bodyPath);\n        });\n\n        self.releaseTempVar();\n      }\n\n      if (finallyLoc) {\n        self.mark(finallyLoc);\n\n        self.popFinally(finallyEntry, stmt.finalizer.loc);\n        self.markAndBreak();\n\n        self.leapManager.withEntry(finallyEntry, function() {\n          self.explodeStatement(path.get(\"finalizer\"));\n        });\n\n        self.jump(finallyEntry.nextLocTempVar);\n        self.releaseTempVar();\n      }\n    });\n\n    self.mark(after);\n\n    break;\n\n  case \"ThrowStatement\":\n    self.emit(b.throwStatement(\n      self.explodeExpression(path.get(\"argument\"))\n    ), path.node.loc);\n\n    break;\n\n  case \"DebuggerStatement\":\n    var after = loc();\n    self.emitAssign(b.identifier('$__next'), after);\n    self.emit(\n      b.throwStatement(\n        b.newExpression(b.identifier('$ContinuationExc'), [])\n      ),\n      true\n    );\n\n    self.mark(after);\n\n    break;\n\n  default:\n    throw new Error(\n      \"unknown Statement of type \" +\n        JSON.stringify(stmt.type));\n  }\n};\n\n// Emit a runtime call to context.pushTry(catchLoc, finallyLoc) so that\n// the runtime wrapper can dispatch uncaught exceptions appropriately.\nEp.pushTry = function(tryEntry, loc) {\n  assert.ok(tryEntry instanceof leap.TryEntry);\n\n  var nil = b.literal(null);\n  var catchEntry = tryEntry.catchEntry;\n  var finallyEntry = tryEntry.finallyEntry;\n  var method = this.vmProperty(\"pushTry\");\n  var args = [\n    b.identifier('tryStack'),\n    catchEntry && catchEntry.firstLoc || nil,\n    finallyEntry && finallyEntry.firstLoc || nil,\n    finallyEntry && b.literal(\n      parseInt(finallyEntry.nextLocTempVar.name.replace('$__t', ''))\n    ) || nil\n  ];\n\n  this.emit(withLoc(b.callExpression(method, args), loc));\n};\n\n// Emit a runtime call to context.popCatch(catchLoc) so that the runtime\n// wrapper knows when a catch block reported to pushTry no longer applies.\nEp.popCatch = function(catchEntry, loc) {\n  var catchLoc;\n\n  if (catchEntry) {\n    assert.ok(catchEntry instanceof leap.CatchEntry);\n    catchLoc = catchEntry.firstLoc;\n  } else {\n    assert.strictEqual(catchEntry, null);\n    catchLoc = b.literal(null);\n  }\n\n  // TODO Think about not emitting anything when catchEntry === null.  For\n  // now, emitting context.popCatch(null) is good for sanity checking.\n\n  this.emit(withLoc(b.callExpression(\n    this.vmProperty(\"popCatch\"),\n    [b.identifier('tryStack'), catchLoc]\n  ), loc));\n};\n\n// Emit a runtime call to context.popFinally(finallyLoc) so that the\n// runtime wrapper knows when a finally block reported to pushTry no\n// longer applies.\nEp.popFinally = function(finallyEntry, loc) {\n  var finallyLoc;\n\n  if (finallyEntry) {\n    assert.ok(finallyEntry instanceof leap.FinallyEntry);\n    finallyLoc = finallyEntry.firstLoc;\n  } else {\n    assert.strictEqual(finallyEntry, null);\n    finallyLoc = b.literal(null);\n  }\n\n  // TODO Think about not emitting anything when finallyEntry === null.\n  // For now, emitting context.popFinally(null) is good for sanity\n  // checking.\n\n  this.emit(withLoc(b.callExpression(\n    this.vmProperty(\"popFinally\"),\n    [b.identifier('tryStack'), finallyLoc]\n  ), loc));\n};\n\nEp.explodeExpression = function(path, ignoreResult) {\n  assert.ok(path instanceof types.NodePath);\n\n  var expr = path.value;\n  if (expr) {\n    n.Expression.assert(expr);\n  } else {\n    return expr;\n  }\n\n  var self = this;\n  var result; // Used optionally by several cases below.\n\n  function finish(expr) {\n    n.Expression.assert(expr);\n    if (ignoreResult) {\n      var after = loc();\n      self.emit(expr);\n      self.emitAssign(b.identifier('$__next'), after);\n      self.emit(b.breakStatement(), true);\n      self.mark(after);\n    } else {\n      return expr;\n    }\n  }\n\n  // If the expression does not contain a leap, then we either emit the\n  // expression as a standalone statement or return it whole.\n  // if (!meta.containsLeap(expr)) {\n  //   return finish(expr);\n  // }\n\n  // If any child contains a leap (such as a yield or labeled continue or\n  // break statement), then any sibling subexpressions will almost\n  // certainly have to be exploded in order to maintain the order of their\n  // side effects relative to the leaping child(ren).\n  var hasLeapingChildren = meta.containsLeap.onlyChildren(expr);\n\n  // an \"atomic\" expression is one that should execute within one step\n  // of the VM\n  function isAtomic(expr) {\n    return n.Literal.check(expr) ||\n      n.Identifier.check(expr) ||\n      n.ThisExpression.check(expr) ||\n      (n.MemberExpression.check(expr) &&\n       !expr.computed);\n  }\n\n  // In order to save the rest of explodeExpression from a combinatorial\n  // trainwreck of special cases, explodeViaTempVar is responsible for\n  // deciding when a subexpression needs to be \"exploded,\" which is my\n  // very technical term for emitting the subexpression as an assignment\n  // to a temporary variable and the substituting the temporary variable\n  // for the original subexpression. Think of exploded view diagrams, not\n  // Michael Bay movies. The point of exploding subexpressions is to\n  // control the precise order in which the generated code realizes the\n  // side effects of those subexpressions.\n  function explodeViaTempVar(tempVar, childPath, ignoreChildResult, keepTempVar) {\n    assert.ok(childPath instanceof types.NodePath);\n    assert.ok(\n      !ignoreChildResult || !tempVar,\n      \"Ignoring the result of a child expression but forcing it to \" +\n        \"be assigned to a temporary variable?\"\n    );\n    \n    if(isAtomic(childPath.node)) {\n      // we still explode it because only the top-level expression is\n      // atomic, sub-expressions may not be\n      return self.explodeExpression(childPath, ignoreChildResult);\n    }\n    else if (!ignoreChildResult) {\n      var shouldRelease = !tempVar && !keepTempVar;\n      tempVar = tempVar || self.getTempVar();\n      var result = self.explodeExpression(childPath, ignoreChildResult);\n\n      // always mark!\n      result = self.emitAssign(\n        tempVar,\n        result,\n        childPath.node.loc\n      );\n\n      self.markAndBreak();\n\n      if(shouldRelease) {\n        self.releaseTempVar();\n      }\n    }\n    return result;\n  }\n\n  // If ignoreResult is true, then we must take full responsibility for\n  // emitting the expression with all its side effects, and we should not\n  // return a result.\n\n  switch (expr.type) {\n  case \"MemberExpression\":\n    return finish(withLoc(b.memberExpression(\n      self.explodeExpression(path.get(\"object\")),\n      expr.computed\n        ? explodeViaTempVar(null, path.get(\"property\"))\n        : expr.property,\n      expr.computed\n    ), path.node.loc));\n\n  case \"CallExpression\":\n    var oldCalleePath = path.get(\"callee\");\n    var newCallee = self.explodeExpression(oldCalleePath);\n\n    var r = self.withTempVars(function() {\n      var after = loc();\n      var args = path.get(\"arguments\").map(function(argPath) {\n        return explodeViaTempVar(null, argPath, false, true);\n      });\n      var tmp = self.getTempVar();\n      var callee = newCallee;\n\n      self.emitAssign(b.identifier('$__next'), after, path.node.loc);\n      self.emitAssign(b.identifier('$__tmpid'), b.literal(self.currentTempId()));\n      self.emitAssign(tmp, b.callExpression(callee, args));\n\n      self.emit(b.breakStatement(), true);\n      self.mark(after);\n\n      return tmp;\n    });\n\n    return r;\n\n  case \"NewExpression\":\n    // TODO: this should be the last major expression type I need to\n    // fix up to be able to trace/step through. can't call native new\n    return self.withTempVars(function() {\n      return finish(b.newExpression(\n        explodeViaTempVar(null, path.get(\"callee\"), false, true),\n        path.get(\"arguments\").map(function(argPath) {\n          return explodeViaTempVar(null, argPath, false, true);\n        })\n      ));\n    });\n\n  case \"ObjectExpression\":\n    return self.withTempVars(function() {\n      return finish(b.objectExpression(\n        path.get(\"properties\").map(function(propPath) {\n          return b.property(\n            propPath.value.kind,\n            propPath.value.key,\n            explodeViaTempVar(null, propPath.get(\"value\"), false, true)\n          );\n        })\n      ));\n    });\n\n  case \"ArrayExpression\":\n    return self.withTempVars(function() {\n      return finish(b.arrayExpression(\n        path.get(\"elements\").map(function(elemPath) {\n          return explodeViaTempVar(null, elemPath, false, true);\n        })\n      ));\n    });\n\n  case \"SequenceExpression\":\n    var lastIndex = expr.expressions.length - 1;\n\n    path.get(\"expressions\").each(function(exprPath) {\n      if (exprPath.name === lastIndex) {\n        result = self.explodeExpression(exprPath, ignoreResult);\n      } else {\n        self.explodeExpression(exprPath, true);\n      }\n    });\n\n    return result;\n\n  case \"LogicalExpression\":\n    var after = loc();\n\n    self.withTempVars(function() {\n      if (!ignoreResult) {\n        result = self.getTempVar();\n      }\n\n      var left = explodeViaTempVar(result, path.get(\"left\"), false, true);\n\n      if (expr.operator === \"&&\") {\n        self.jumpIfNot(left, after, path.get(\"left\").node.loc);\n      } else if (expr.operator === \"||\") {\n        self.jumpIf(left, after, path.get(\"left\").node.loc);\n      }\n\n      explodeViaTempVar(result, path.get(\"right\"), ignoreResult, true);\n\n      self.mark(after);\n    });\n    \n    return result;\n\n  case \"ConditionalExpression\":\n    var elseLoc = loc();\n    var after = loc();\n    var test = self.explodeExpression(path.get(\"test\"));\n\n    self.jumpIfNot(test, elseLoc, path.get(\"test\").node.loc);\n\n    if (!ignoreResult) {\n      result = self.getTempVar();\n    }\n\n    explodeViaTempVar(result, path.get(\"consequent\"), ignoreResult);\n    self.jump(after);\n\n    self.mark(elseLoc);\n    explodeViaTempVar(result, path.get(\"alternate\"), ignoreResult);\n\n    self.mark(after);\n\n    if(!ignoreResult) {\n      self.releaseTempVar();\n    }\n\n    return result;\n\n  case \"UnaryExpression\":\n    return finish(withLoc(b.unaryExpression(\n      expr.operator,\n      // Can't (and don't need to) break up the syntax of the argument.\n      // Think about delete a[b].\n      self.explodeExpression(path.get(\"argument\")),\n      !!expr.prefix\n    ), path.node.loc));\n\n  case \"BinaryExpression\":\n    return self.withTempVars(function() {\n      return finish(withLoc(b.binaryExpression(\n        expr.operator,\n        explodeViaTempVar(null, path.get(\"left\"), false, true),\n        explodeViaTempVar(null, path.get(\"right\"), false, true)\n      ), path.node.loc));\n    });\n\n  case \"AssignmentExpression\":\n    return finish(withLoc(b.assignmentExpression(\n      expr.operator,\n      self.explodeExpression(path.get(\"left\")),\n      self.explodeExpression(path.get(\"right\"))\n    ), path.node.loc));\n\n  case \"UpdateExpression\":\n    return finish(withLoc(b.updateExpression(\n      expr.operator,\n      self.explodeExpression(path.get(\"argument\")),\n      expr.prefix\n    ), path.node.loc));\n\n  // case \"YieldExpression\":\n  //   var after = loc();\n  //   var arg = expr.argument && self.explodeExpression(path.get(\"argument\"));\n\n  //   if (arg && expr.delegate) {\n  //     var result = self.getTempVar();\n\n  //     self.emit(b.returnStatement(b.callExpression(\n  //       self.contextProperty(\"delegateYield\"), [\n  //         arg,\n  //         b.literal(result.property.name),\n  //         after\n  //       ]\n  //     )));\n\n  //     self.mark(after);\n\n  //     return result;\n  //   }\n\n    // self.emitAssign(b.identifier('$__next'), after);\n    // self.emit(b.returnStatement(arg || null));\n    // self.mark(after);\n\n    // return self.contextProperty(\"sent\");\n\n  case \"FunctionExpression\":\n  case \"ThisExpression\":\n  case \"Identifier\":\n  case \"Literal\":\n    return finish(expr);\n    break;\n\n  default:\n    throw new Error(\n      \"unknown Expression of type \" +\n        JSON.stringify(expr.type));\n  }\n};\n\n},{\"./leap\":4,\"./meta\":5,\"./util\":6,\"assert\":65,\"ast-types\":19}],3:[function(require,module,exports){\n/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar types = require(\"ast-types\");\nvar n = types.namedTypes;\nvar b = types.builders;\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar withLoc = require(\"./util\").withLoc;\n\n// The hoist function takes a FunctionExpression or FunctionDeclaration\n// and replaces any Declaration nodes in its body with assignments, then\n// returns a VariableDeclaration containing just the names of the removed\n// declarations.\nexports.hoist = function(fun) {\n  n.Function.assert(fun);\n  var vars = {};\n  var funDeclsToRaise = [];\n\n  function varDeclToExpr(vdec, includeIdentifiers) {\n    n.VariableDeclaration.assert(vdec);\n    var exprs = [];\n\n    vdec.declarations.forEach(function(dec) {\n      vars[dec.id.name] = dec.id;\n\n      if (dec.init) {\n        var assn = b.assignmentExpression('=', dec.id, dec.init);\n\n        exprs.push(withLoc(assn, dec.loc));\n      } else if (includeIdentifiers) {\n        exprs.push(dec.id);\n      }\n    });\n\n    if (exprs.length === 0)\n      return null;\n\n    if (exprs.length === 1)\n      return exprs[0];\n\n    return b.sequenceExpression(exprs);\n  }\n\n  types.traverse(fun.body, function(node) {\n    if (n.VariableDeclaration.check(node)) {\n      var expr = varDeclToExpr(node, false);\n      if (expr === null) {\n        this.replace();\n      } else {\n        // We don't need to traverse this expression any further because\n        // there can't be any new declarations inside an expression.\n        this.replace(withLoc(b.expressionStatement(expr), node.loc));\n      }\n\n      // Since the original node has been either removed or replaced,\n      // avoid traversing it any further.\n      return false;\n\n    } else if (n.ForStatement.check(node)) {\n      if (n.VariableDeclaration.check(node.init)) {\n        var expr = varDeclToExpr(node.init, false);\n        this.get(\"init\").replace(expr);\n      }\n\n    } else if (n.ForInStatement.check(node)) {\n      if (n.VariableDeclaration.check(node.left)) {\n        var expr = varDeclToExpr(node.left, true);\n        this.get(\"left\").replace(expr);\n      }\n\n    } else if (n.FunctionDeclaration.check(node)) {\n      vars[node.id.name] = node.id;\n\n      var parentNode = this.parent.node;\n      // Prefix the name with '$' as it introduces a new scoping rule\n      // and we want the original id to be referenced within the body\n      var funcExpr = b.functionExpression(\n        b.identifier('$' + node.id.name),\n        node.params,\n        node.body,\n        node.generator,\n        node.expression\n      );\n      funcExpr.loc = node.loc;\n\n      var assignment = withLoc(b.expressionStatement(\n        withLoc(b.assignmentExpression(\n          \"=\",\n          node.id,\n          funcExpr\n        ), node.loc)\n      ), node.loc);\n\n      if (n.BlockStatement.check(this.parent.node)) {\n        // unshift because later it will be added in reverse, so this\n        // will keep the original order\n        funDeclsToRaise.unshift({\n          block: this.parent.node,\n          assignment: assignment\n        });\n\n        // Remove the function declaration for now, but reinsert the assignment\n        // form later, at the top of the enclosing BlockStatement.\n        this.replace();\n\n      } else {\n        this.replace(assignment);\n      }\n\n      // Don't hoist variables out of inner functions.\n      return false;\n\n    } else if (n.FunctionExpression.check(node)) {\n      // Don't descend into nested function expressions.\n      return false;\n    }\n  });\n\n  funDeclsToRaise.forEach(function(entry) {\n    entry.block.body.unshift(entry.assignment);\n  });\n\n  var declarations = [];\n  var paramNames = {};\n\n  fun.params.forEach(function(param) {\n    if (n.Identifier.check(param)) {\n      paramNames[param.name] = param;\n    }\n    else {\n      // Variables declared by destructuring parameter patterns will be\n      // harmlessly re-declared.\n    }\n  });\n\n  Object.keys(vars).forEach(function(name) {\n    if(!hasOwn.call(paramNames, name)) {\n      var id = vars[name];\n      declarations.push(b.variableDeclarator(\n        id, id.boxed ? b.arrayExpression([b.identifier('undefined')]) : null\n      ));\n    }\n  });\n\n  if (declarations.length === 0) {\n    return null; // Be sure to handle this case!\n  }\n\n  return b.variableDeclaration(\"var\", declarations);\n};\n\n},{\"./util\":6,\"assert\":65,\"ast-types\":19}],4:[function(require,module,exports){\n/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar types = require(\"ast-types\");\nvar n = types.namedTypes;\nvar b = types.builders;\nvar inherits = require(\"util\").inherits;\n\nfunction Entry() {\n  assert.ok(this instanceof Entry);\n}\n\nfunction FunctionEntry(returnLoc) {\n  Entry.call(this);\n\n  n.Literal.assert(returnLoc);\n\n  Object.defineProperties(this, {\n    returnLoc: { value: returnLoc }\n  });\n}\n\ninherits(FunctionEntry, Entry);\nexports.FunctionEntry = FunctionEntry;\n\nfunction LoopEntry(breakLoc, continueLoc, label) {\n  Entry.call(this);\n\n  n.Literal.assert(breakLoc);\n  n.Literal.assert(continueLoc);\n\n  if (label) {\n    n.Identifier.assert(label);\n  } else {\n    label = null;\n  }\n\n  Object.defineProperties(this, {\n    breakLoc: { value: breakLoc },\n    continueLoc: { value: continueLoc },\n    label: { value: label }\n  });\n}\n\ninherits(LoopEntry, Entry);\nexports.LoopEntry = LoopEntry;\n\nfunction SwitchEntry(breakLoc) {\n  Entry.call(this);\n\n  n.Literal.assert(breakLoc);\n\n  Object.defineProperties(this, {\n    breakLoc: { value: breakLoc }\n  });\n}\n\ninherits(SwitchEntry, Entry);\nexports.SwitchEntry = SwitchEntry;\n\nfunction TryEntry(catchEntry, finallyEntry) {\n  Entry.call(this);\n\n  if (catchEntry) {\n    assert.ok(catchEntry instanceof CatchEntry);\n  } else {\n    catchEntry = null;\n  }\n\n  if (finallyEntry) {\n    assert.ok(finallyEntry instanceof FinallyEntry);\n  } else {\n    finallyEntry = null;\n  }\n\n  Object.defineProperties(this, {\n    catchEntry: { value: catchEntry },\n    finallyEntry: { value: finallyEntry }\n  });\n}\n\ninherits(TryEntry, Entry);\nexports.TryEntry = TryEntry;\n\nfunction CatchEntry(firstLoc, paramId) {\n  Entry.call(this);\n\n  n.Literal.assert(firstLoc);\n  n.Identifier.assert(paramId);\n\n  Object.defineProperties(this, {\n    firstLoc: { value: firstLoc },\n    paramId: { value: paramId }\n  });\n}\n\ninherits(CatchEntry, Entry);\nexports.CatchEntry = CatchEntry;\n\nfunction FinallyEntry(firstLoc, nextLocTempVar) {\n  Entry.call(this);\n\n  n.Literal.assert(firstLoc);\n  n.Identifier.assert(nextLocTempVar);\n\n  Object.defineProperties(this, {\n    firstLoc: { value: firstLoc },\n    nextLocTempVar: { value: nextLocTempVar }\n  });\n}\n\ninherits(FinallyEntry, Entry);\nexports.FinallyEntry = FinallyEntry;\n\nfunction LeapManager(emitter) {\n  assert.ok(this instanceof LeapManager);\n\n  var Emitter = require(\"./emit\").Emitter;\n  assert.ok(emitter instanceof Emitter);\n\n  Object.defineProperties(this, {\n    emitter: { value: emitter },\n    entryStack: {\n      value: [new FunctionEntry(emitter.finalLoc)]\n    }\n  });\n}\n\nvar LMp = LeapManager.prototype;\nexports.LeapManager = LeapManager;\n\nLMp.withEntry = function(entry, callback) {\n  assert.ok(entry instanceof Entry);\n  this.entryStack.push(entry);\n  try {\n    callback.call(this.emitter);\n  } finally {\n    var popped = this.entryStack.pop();\n    assert.strictEqual(popped, entry);\n  }\n};\n\nLMp._leapToEntry = function(predicate, defaultLoc) {\n  var entry, loc;\n  var finallyEntries = [];\n  var skipNextTryEntry = null;\n\n  for (var i = this.entryStack.length - 1; i >= 0; --i) {\n    entry = this.entryStack[i];\n\n    if (entry instanceof CatchEntry ||\n        entry instanceof FinallyEntry) {\n\n      // If we are inside of a catch or finally block, then we must\n      // have exited the try block already, so we shouldn't consider\n      // the next TryStatement as a handler for this throw.\n      skipNextTryEntry = entry;\n\n    } else if (entry instanceof TryEntry) {\n      if (skipNextTryEntry) {\n        // If an exception was thrown from inside a catch block and this\n        // try statement has a finally block, make sure we execute that\n        // finally block.\n        if (skipNextTryEntry instanceof CatchEntry &&\n            entry.finallyEntry) {\n          finallyEntries.push(entry.finallyEntry);\n        }\n\n        skipNextTryEntry = null;\n\n      } else if ((loc = predicate.call(this, entry))) {\n        break;\n\n      } else if (entry.finallyEntry) {\n        finallyEntries.push(entry.finallyEntry);\n      }\n\n    } else if ((loc = predicate.call(this, entry))) {\n      break;\n    }\n  }\n\n  if (loc) {\n    // fall through\n  } else if (defaultLoc) {\n    loc = defaultLoc;\n  } else {\n    return null;\n  }\n\n  n.Literal.assert(loc);\n\n  var finallyEntry;\n  while ((finallyEntry = finallyEntries.pop())) {\n    this.emitter.emitAssign(finallyEntry.nextLocTempVar, loc);\n    loc = finallyEntry.firstLoc;\n  }\n\n  return loc;\n};\n\nfunction getLeapLocation(entry, property, label) {\n  var loc = entry[property];\n  if (loc) {\n    if (label) {\n      if (entry.label &&\n          entry.label.name === label.name) {\n        return loc;\n      }\n    } else {\n      return loc;\n    }\n  }\n  return null;\n}\n\nLMp.emitBreak = function(label) {\n  var loc = this._leapToEntry(function(entry) {\n    return getLeapLocation(entry, \"breakLoc\", label);\n  });\n\n  if (loc === null) {\n    throw new Error(\"illegal break statement\");\n  }\n\n  this.emitter.clearPendingException();\n  this.emitter.jump(loc);\n};\n\nLMp.emitContinue = function(label) {\n  var loc = this._leapToEntry(function(entry) {\n    return getLeapLocation(entry, \"continueLoc\", label);\n  });\n\n  if (loc === null) {\n    throw new Error(\"illegal continue statement\");\n  }\n\n  this.emitter.clearPendingException();\n  this.emitter.jump(loc);\n};\n\n},{\"./emit\":2,\"assert\":65,\"ast-types\":19,\"util\":70}],5:[function(require,module,exports){\n/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar m = require(\"private\").makeAccessor();\nvar types = require(\"ast-types\");\nvar isArray = types.builtInTypes.array;\nvar n = types.namedTypes;\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nfunction makePredicate(propertyName, knownTypes) {\n  function onlyChildren(node) {\n    n.Node.assert(node);\n\n    // Assume no side effects until we find out otherwise.\n    var result = false;\n\n    function check(child) {\n      if (result) {\n        // Do nothing.\n      } else if (isArray.check(child)) {\n        child.some(check);\n      } else if (n.Node.check(child)) {\n        assert.strictEqual(result, false);\n        result = predicate(child);\n      }\n      return result;\n    }\n\n    types.eachField(node, function(name, child) {\n      check(child);\n    });\n\n    return result;\n  }\n\n  function predicate(node) {\n    n.Node.assert(node);\n\n    var meta = m(node);\n    if (hasOwn.call(meta, propertyName))\n      return meta[propertyName];\n\n    // Certain types are \"opaque,\" which means they have no side\n    // effects or leaps and we don't care about their subexpressions.\n    if (hasOwn.call(opaqueTypes, node.type))\n      return meta[propertyName] = false;\n\n    if (hasOwn.call(knownTypes, node.type))\n      return meta[propertyName] = true;\n\n    return meta[propertyName] = onlyChildren(node);\n  }\n\n  predicate.onlyChildren = onlyChildren;\n\n  return predicate;\n}\n\nvar opaqueTypes = {\n  FunctionExpression: true\n};\n\n// These types potentially have side effects regardless of what side\n// effects their subexpressions have.\nvar sideEffectTypes = {\n  CallExpression: true, // Anything could happen!\n  ForInStatement: true, // Modifies the key variable.\n  UnaryExpression: true, // Think delete.\n  BinaryExpression: true, // Might invoke .toString() or .valueOf().\n  AssignmentExpression: true, // Side-effecting by definition.\n  UpdateExpression: true, // Updates are essentially assignments.\n  NewExpression: true // Similar to CallExpression.\n};\n\n// These types are the direct cause of all leaps in control flow.\nvar leapTypes = {\n  YieldExpression: true,\n  BreakStatement: true,\n  ContinueStatement: true,\n  ReturnStatement: true,\n  ThrowStatement: true,\n  CallExpression: true,\n  DebuggerStatement: true\n};\n\n// All leap types are also side effect types.\nfor (var type in leapTypes) {\n  if (hasOwn.call(leapTypes, type)) {\n    sideEffectTypes[type] = leapTypes[type];\n  }\n}\n\nexports.hasSideEffects = makePredicate(\"hasSideEffects\", sideEffectTypes);\nexports.containsLeap = makePredicate(\"containsLeap\", leapTypes);\n\n},{\"assert\":65,\"ast-types\":19,\"private\":41}],6:[function(require,module,exports){\n/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nexports.guessTabWidth = function(source) {\n  var counts = []; // Sparse array.\n  var lastIndent = 0;\n\n  source.split(\"\\n\").forEach(function(line) {\n    var indent = /^\\s*/.exec(line)[0].length;\n    var diff = Math.abs(indent - lastIndent);\n    counts[diff] = ~~counts[diff] + 1;\n    lastIndent = indent;\n  });\n\n  var maxCount = -1;\n  var result = 2;\n\n  for (var tabWidth = 1;\n       tabWidth < counts.length;\n       tabWidth += 1) {\n    if (tabWidth in counts &&\n        counts[tabWidth] > maxCount) {\n      maxCount = counts[tabWidth];\n      result = tabWidth;\n    }\n  }\n\n  return result;\n};\n\nexports.defaults = function(obj) {\n  var len = arguments.length;\n  var extension;\n\n  for (var i = 1; i < len; ++i) {\n    if ((extension = arguments[i])) {\n      for (var key in extension) {\n        if (hasOwn.call(extension, key) && !hasOwn.call(obj, key)) {\n          obj[key] = extension[key];\n        }\n      }\n    }\n  }\n\n  return obj;\n};\n\n// tag nodes with source code locations\n\nexports.withLoc = function(node, loc) {\n    node.loc = loc;\n    return node;\n};\n\n},{}],7:[function(require,module,exports){\n/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar types = require(\"ast-types\");\nvar n = types.namedTypes;\nvar b = types.builders;\nvar hoist = require(\"./hoist\").hoist;\nvar Emitter = require(\"./emit\").Emitter;\nvar DebugInfo = require(\"./debug\").DebugInfo;\nvar escope = require('escope');\nvar withLoc = require(\"./util\").withLoc;\n\nexports.transform = function(ast, opts) {\n  n.Program.assert(ast);\n  var debugInfo = new DebugInfo();\n  var nodes = ast.body;\n  var asExpr = opts.asExpr;\n  var originalExpr = nodes[0];\n  var boxedVars = (opts.scope || []).reduce(function(acc, v) {\n    if(v.boxed) {\n      acc.push(v.name);\n    }\n    return acc;\n  }, []);\n\n  var scopes = escope.analyze(ast).scopes;\n\n  // Scan the scopes bottom-up by simply reversing the array. We need\n  // this because we need to detect if an identifier is boxed before\n  // the scope which it is declared in is scanned.\n\n  scopes.reverse();\n  scopes.forEach(function(scope) {\n    if(scope.type !== 'global' || asExpr) {\n\n      if(asExpr) {\n        // We need to also scan the variables to catch top-level\n        // definitions that aren't referenced but might be boxed\n        // (think function re-definitions)\n        scope.variables.forEach(function(v) {\n          if(boxedVars.indexOf(v.name) !== -1) {\n            v.defs.forEach(function(def) { def.name.boxed = true; });\n          }\n        });\n      }\n\n      scope.references.forEach(function(r) {\n        var defBoxed = r.resolved && r.resolved.defs.reduce(function(acc, def) {\n          return acc || def.name.boxed || boxedVars.indexOf(def.name) !== -1;\n        }, false);\n\n        // Ignore catch scopes\n        var from = r.from;\n        while(from.type == 'catch' && from.upper) {\n          from = from.upper;\n        }\n\n        if(defBoxed ||\n           (!r.resolved &&\n            boxedVars.indexOf(r.identifier.name) !== -1) ||\n           (r.resolved &&\n            r.resolved.scope.type !== 'catch' &&\n            r.resolved.scope !== from &&\n\n            // completely ignore references to a named function\n            // expression, as that binding is immutabled (super weird)\n            !(r.resolved.defs[0].type === 'FunctionName' &&\n              r.resolved.defs[0].node.type === 'FunctionExpression'))) {\n\n          r.identifier.boxed = true;\n\n          if(r.resolved) {\n            r.resolved.defs.forEach(function(def) {\n              def.name.boxed = true;\n            });\n          }\n        }\n      });\n    }\n  });\n\n  if(asExpr) {\n    // If evaluating as an expression, return the last value if it's\n    // an expression\n    var last = nodes.length - 1;\n\n    if(n.ExpressionStatement.check(nodes[last])) {\n      nodes[last] = withLoc(\n        b.returnStatement(nodes[last].expression),\n        nodes[last].loc\n      );\n    }\n  }\n\n  nodes = b.functionExpression(\n    b.identifier(asExpr ? '$__eval' : '$__global'),\n    [],\n    b.blockStatement(nodes)\n  );\n\n  var rootFn = types.traverse(\n    nodes,\n    function(node) {\n      return visitNode.call(this, node, [], debugInfo);\n    }\n  );\n\n  if(asExpr) {\n    rootFn = rootFn.body.body;\n\n    if(opts.scope) {\n      var vars = opts.scope.map(function(v) { return v.name; });\n      var decl = rootFn[0];\n      if(n.VariableDeclaration.check(decl)) {\n        decl.declarations = decl.declarations.reduce(function(acc, v) {\n          if(vars.indexOf(v.id.name) === -1) {\n            acc.push(v);\n          }\n          return acc;\n        }, []);\n\n        if(!decl.declarations.length) {\n          rootFn[0] = b.expressionStatement(b.literal(null));\n        }\n      }\n    }\n    else {\n      rootFn[0] = b.expressionStatement(b.literal(null));\n    }\n\n    rootFn.unshift(b.expressionStatement(\n      b.callExpression(\n        b.memberExpression(\n          b.identifier('VM'),\n          b.identifier('pushState'),\n          false\n        ),\n        []\n      )\n    ));\n\n    rootFn.push(b.variableDeclaration(\n      'var',\n      [b.variableDeclarator(\n        b.identifier('$__rval'),\n        b.callExpression(b.identifier('$__eval'), [])\n      )]\n    ));\n\n    rootFn.push(b.expressionStatement(\n      b.callExpression(\n        b.memberExpression(\n          b.identifier('VM'),\n          b.identifier('popState'),\n          false\n        ),\n        []\n      )\n    ));\n\n    rootFn.push(b.expressionStatement(b.identifier('$__rval')));\n  }\n  else {\n    rootFn = rootFn.body.body;\n  }\n\n  ast.body = rootFn;\n\n  return {\n    ast: ast,\n    debugAST: opts.includeDebug ? [debugInfo.getDebugAST()] : [],\n    debugInfo: debugInfo.getDebugInfo()\n  };\n};\n\nvar id = 1;\nfunction newFunctionName() {\n  return b.identifier('$anon' + id++);\n}\n\nfunction visitNode(node, scope, debugInfo) {\n  if(n.Identifier.check(node) &&\n     (!n.VariableDeclarator.check(this.parent.node) ||\n      this.parent.node.id !== node) &&\n     node.boxed) {\n\n    this.replace(withLoc(b.memberExpression(node, b.literal(0), true),\n                         node.loc));\n    return;\n  }\n\n  if(!n.Function.check(node)) {\n    // Note that because we are not returning false here the traversal\n    // will continue into the subtree rooted at this node, as desired.\n    return;\n  }\n\n  node.generator = false;\n\n  if (node.expression) {\n    // Transform expression lambdas into normal functions.\n    node.expression = false;\n    node.body = b.blockStatement([\n      b.returnStatement(node.body)\n    ]);\n  }\n\n  // All functions are converted with assignments (foo = function\n  // foo() {}) but with the function name. Rename the function though\n  // so that if it is referenced inside itself, it will close over the\n  // \"outside\" variable (that should be boxed)\n  node.id = node.id || newFunctionName();\n  var isGlobal = node.id.name === '$__global';\n  var isExpr = node.id.name === '$__eval';\n  var nameId = node.id;\n  var funcName = node.id.name;\n  var vars = hoist(node);\n  var localScope = !vars ? node.params : node.params.concat(\n    vars.declarations.map(function(v) {\n      return v.id;\n    })\n  );\n\n  // It sucks to traverse the whole function again, but we need to see\n  // if we need to manage a try stack\n  var hasTry = false;\n  types.traverse(node.body, function(child) {\n    if(n.Function.check(child)) {\n      return false;\n    }\n\n    if(n.TryStatement.check(child)) {\n      hasTry = true;\n    }\n\n    return;\n  });\n\n  // Traverse and compile child functions first\n  node.body = types.traverse(node.body, function(child) {\n    return visitNode.call(this,\n                          child,\n                          scope.concat(localScope),\n                          debugInfo);\n  });\n\n  // Now compile me\n  var debugId = debugInfo.makeId();\n  var em = new Emitter(debugId, debugInfo);\n  var path = new types.NodePath(node);\n\n  em.explode(path.get(\"body\"));\n\n  var finalBody = em.getMachine(node.id.name, localScope);\n\n  // construct the thing\n  var inner = [];\n\n  if(!isGlobal && !isExpr) {\n    node.params.forEach(function(arg) {\n      if(arg.boxed) {\n        inner.push(b.expressionStatement(\n          b.assignmentExpression(\n            '=',\n            arg,\n            b.arrayExpression([arg])\n          )\n        ));\n      }\n    });\n\n    if(vars) {\n      inner = inner.concat(vars);\n    }\n  }\n\n  if(!isGlobal && !isExpr) {\n    inner.push.apply(inner, [\n      b.ifStatement(\n        b.unaryExpression('!', em.vmProperty('running')),\n        b.returnStatement(\n          b.callExpression(\n            b.memberExpression(b.identifier('VM'),\n                               b.identifier('execute'),\n                               false),\n            [node.id, b.literal(null), b.thisExpression(), b.identifier('arguments')]\n          )\n        )\n      )\n    ]);\n  }\n\n  // internal harnesses to run the function\n  inner.push(em.declareVar('$__next', b.literal(0)));\n  inner.push(em.declareVar('$__tmpid', b.literal(0)));\n  for(var i=1, l=em.numTempVars(); i<=l; i++) {\n    inner.push(em.declareVar('$__t' + i, null));\n  }\n\n  if(hasTry) {\n    inner.push(em.declareVar('tryStack', b.arrayExpression([])));\n  }\n\n  var tmpSave = [];\n  for(var i=1, l=em.numTempVars(); i<=l; i++) {\n    tmpSave.push(b.property(\n      'init',\n      b.identifier('$__t' + i),\n      b.identifier('$__t' + i)\n    ));\n  }\n\n  inner = inner.concat([\n    b.tryStatement(\n      b.blockStatement(getRestoration(em, isGlobal, localScope, hasTry)\n                       .concat(finalBody)),\n      b.catchClause(b.identifier('e'), null, b.blockStatement([\n        b.ifStatement(\n          b.unaryExpression(\n            '!',\n            b.binaryExpression('instanceof',\n                               b.identifier('e'),\n                               b.identifier('$ContinuationExc'))\n          ),\n          b.expressionStatement(\n            b.assignmentExpression(\n              '=',\n              b.identifier('e'),\n              b.newExpression(\n                b.identifier('$ContinuationExc'),\n                [b.identifier('e')]\n              )\n            )\n          )\n        ),\n        \n        b.ifStatement(\n          b.unaryExpression('!', em.getProperty('e', 'reuse')),\n          b.expressionStatement(\n            b.callExpression(em.getProperty('e', 'pushFrame'), [\n              b.newExpression(\n                b.identifier('$Frame'),\n                [b.literal(debugId),\n                 b.literal(funcName.slice(1)),\n                 b.identifier(funcName),\n                 b.identifier('$__next'),\n                 b.objectExpression(\n                   localScope.map(function(id) {\n                     return b.property('init', id, id);\n                   }).concat(tmpSave)\n                 ),\n                 // b.literal(null),\n                 b.arrayExpression(localScope.concat(scope).map(function(id) {\n                   return b.objectExpression([\n                     b.property('init', b.literal('name'), b.literal(id.name)),\n                     b.property('init', b.literal('boxed'), b.literal(!!id.boxed))\n                   ]);\n                 })),\n                 b.thisExpression(),\n                 hasTry ? b.identifier('tryStack') : b.literal(null),\n                 b.identifier('$__tmpid')]\n              )\n            ])\n          )\n        ),\n\n        em.assign(em.getProperty('e', 'reuse'), b.literal(false)),\n        b.throwStatement(b.identifier('e'))\n      ]))\n    )\n  ]);\n\n  if(isGlobal || isExpr) {\n    node.body = b.blockStatement([\n      vars ? vars : b.expressionStatement(b.literal(null)),\n      b.functionDeclaration(\n          nameId, [],\n          b.blockStatement(inner)\n      )\n    ]);\n  }\n  else {\n    node.body = b.blockStatement(inner);\n  }\n\n  return false;\n}\n\nfunction getRestoration(self, isGlobal, localScope, hasTry) {\n  // restoring a frame\n  var restoration = [];\n\n  restoration.push(\n    self.declareVar(\n      '$__frame',\n      b.callExpression(self.vmProperty('popFrame'), [])\n    )\n  );\n\n  if(!isGlobal) {\n    restoration = restoration.concat(localScope.map(function(id) {\n      return b.expressionStatement(\n        b.assignmentExpression(\n          '=',\n          b.identifier(id.name),\n          self.getProperty(\n            self.getProperty(b.identifier('$__frame'), 'state'),\n            id\n          )\n        )\n      );\n    }));\n  }\n\n  restoration.push(\n    self.assign(b.identifier('$__next'),\n                self.getProperty(b.identifier('$__frame'), 'next'))\n  );\n  if(hasTry) {\n    restoration.push(\n      self.assign(b.identifier('tryStack'),\n                  self.getProperty(b.identifier('$__frame'), 'tryStack'))\n    );\n  }\n\n  restoration = restoration.concat([\n    self.declareVar(\n      '$__child',\n      b.callExpression(self.vmProperty('nextFrame'), [])\n    ),\n    b.ifStatement(\n      b.identifier('$__child'),\n      b.blockStatement([\n        self.assign(\n          self.getProperty(\n            self.getProperty(\n              '$__frame',\n              b.identifier('state')\n            ),\n            b.binaryExpression(\n              '+',\n              b.literal('$__t'),\n              self.getProperty('$__frame', 'tmpid')\n            ),\n            true\n          ),\n          b.callExpression(\n            self.getProperty(self.getProperty('$__child', 'fn'), 'call'),\n            [self.getProperty('$__child', 'thisPtr')]\n          )\n        ),\n\n        // if we are stepping, stop executing here so that it\n        // pauses on the \"return\" instruction\n        b.ifStatement(\n          self.vmProperty('stepping'),\n          b.throwStatement(\n            b.newExpression(b.identifier('$ContinuationExc'), \n                            [b.literal(null),\n                             b.identifier('$__frame')])\n          )\n        )\n      ])\n    )\n  ]);\n\n  for(var i=1, l=self.numTempVars(); i<=l; i++) {\n    restoration.push(b.expressionStatement(\n      b.assignmentExpression(\n        '=',\n        b.identifier('$__t' + i),\n        self.getProperty(\n          self.getProperty(b.identifier('$__frame'), 'state'),\n          '$__t' + i\n        )\n      )\n    ));\n  }\n\n  return [\n    b.ifStatement(\n      self.vmProperty('doRestore'),\n      b.blockStatement(restoration),\n      b.ifStatement(\n        // if we are stepping, stop executing so it is stopped at\n        // the first instruction of the new frame\n        self.vmProperty('stepping'),\n        b.throwStatement(\n          b.newExpression(b.identifier('$ContinuationExc'), [])\n        )\n      )\n    )\n  ];\n}\n\n},{\"./debug\":1,\"./emit\":2,\"./hoist\":3,\"./util\":6,\"assert\":65,\"ast-types\":19,\"escope\":38}],8:[function(require,module,exports){\nvar __dirname=\"/\";/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar path = require(\"path\");\nvar fs = require(\"fs\");\nvar types = require(\"ast-types\");\nvar b = types.builders;\nvar transform = require(\"./lib/visit\").transform;\nvar utils = require(\"./lib/util\");\nvar recast = require(\"recast\");\nvar esprimaHarmony = require(\"esprima\");\nvar genFunExp = /\\bfunction\\s*\\*/;\nvar blockBindingExp = /\\b(let|const)\\s+/;\n\nassert.ok(\n  /harmony/.test(esprimaHarmony.version),\n  \"Bad esprima version: \" + esprimaHarmony.version\n);\n\nfunction regenerator(source, options) {\n  options = utils.defaults(options || {}, {\n    includeRuntime: false,\n    supportBlockBinding: true\n  });\n\n  var runtime = options.includeRuntime ? fs.readFileSync(\n    regenerator.runtime.dev, \"utf-8\"\n  ) + \"\\n\" : \"\";\n\n  var runtimeBody = recast.parse(runtime, {\n    sourceFileName: regenerator.runtime.dev\n  }).program.body;\n\n  var supportBlockBinding = !!options.supportBlockBinding;\n  if (supportBlockBinding) {\n    if (!blockBindingExp.test(source)) {\n      supportBlockBinding = false;\n    }\n  }\n\n  var recastOptions = {\n    tabWidth: utils.guessTabWidth(source),\n    // Use the harmony branch of Esprima that installs with regenerator\n    // instead of the master branch that recast provides.\n    esprima: esprimaHarmony,\n    range: supportBlockBinding,\n      loc: true\n  };\n\n  var recastAst = recast.parse(source, recastOptions);\n  var ast = recastAst.program;\n\n  // Transpile let/const into var declarations.\n  if (supportBlockBinding) {\n    var defsResult = require(\"defs\")(ast, {\n      ast: true,\n      disallowUnknownReferences: false,\n      disallowDuplicated: false,\n      disallowVars: false,\n      loopClosures: \"iife\"\n    });\n\n    if (defsResult.errors) {\n      throw new Error(defsResult.errors.join(\"\\n\"))\n    }\n  }\n\n  var transformed = transform(ast, options);\n  recastAst.program = transformed.ast;\n  var appendix = '';\n\n  // Include the runtime by modifying the AST rather than by concatenating\n  // strings. This technique will allow for more accurate source mapping.\n  if (options.includeRuntime) {\n    // recastAst.program.body = [b.variableDeclaration(\n    //   'var',\n    //   [b.variableDeclarator(\n    //     b.identifier('$__global'),\n    //     b.callExpression(\n    //       b.functionExpression(\n    //         null, [],\n    //         b.blockStatement(recastAst.program.body)\n    //       ),\n    //       []\n    //     )\n    //   )]\n    // )];\n\n    var body = recastAst.program.body;\n    body.unshift.apply(body, runtimeBody);\n\n    appendix += 'var VM = new $Machine();\\n' +\n      'VM.on(\"error\", function(e) { throw e; });\\n' +\n      'VM.run($__global, __debugInfo);';\n  }\n\n  if(options.includeDebug) {\n    var body = recastAst.program.body;\n    body.unshift.apply(body, transformed.debugAST);\n  }\n\n  return {\n    code: recast.print(recastAst, recastOptions).code + '\\n' + appendix,\n    debugInfo: transformed.debugInfo\n  };\n}\n\n// To modify an AST directly, call require(\"regenerator\").transform(ast).\nregenerator.transform = transform;\n\nregenerator.runtime = {\n  dev: path.join(__dirname, \"runtime\", \"vm.js\"),\n  min: path.join(__dirname, \"runtime\", \"min.js\")\n};\n\n// To transform a string of ES6 code, call require(\"regenerator\")(source);\nmodule.exports = regenerator;\n\n},{\"./lib/util\":6,\"./lib/visit\":7,\"assert\":65,\"ast-types\":19,\"defs\":23,\"esprima\":39,\"fs\":64,\"path\":68,\"recast\":52}],9:[function(require,module,exports){\nvar types = require(\"../lib/types\");\nvar Type = types.Type;\nvar def = Type.def;\nvar or = Type.or;\nvar builtin = types.builtInTypes;\nvar isString = builtin.string;\nvar isNumber = builtin.number;\nvar isBoolean = builtin.boolean;\nvar isRegExp = builtin.RegExp;\nvar shared = require(\"../lib/shared\");\nvar defaults = shared.defaults;\nvar geq = shared.geq;\n\ndef(\"Node\")\n    .field(\"type\", isString)\n    .field(\"loc\", or(\n        def(\"SourceLocation\"),\n        null\n    ), defaults[\"null\"]);\n\ndef(\"SourceLocation\")\n    .build(\"start\", \"end\", \"source\")\n    .field(\"start\", def(\"Position\"))\n    .field(\"end\", def(\"Position\"))\n    .field(\"source\", or(isString, null), defaults[\"null\"]);\n\ndef(\"Position\")\n    .build(\"line\", \"column\")\n    .field(\"line\", geq(1))\n    .field(\"column\", geq(0));\n\ndef(\"Program\")\n    .bases(\"Node\")\n    .build(\"body\")\n    .field(\"body\", [def(\"Statement\")]);\n\ndef(\"Function\")\n    .bases(\"Node\")\n    .field(\"id\", or(def(\"Identifier\"), null), defaults[\"null\"])\n    .field(\"params\", [def(\"Pattern\")])\n    .field(\"body\", or(def(\"BlockStatement\"), def(\"Expression\")))\n    .field(\"generator\", isBoolean, defaults[\"false\"])\n    .field(\"expression\", isBoolean, defaults[\"false\"])\n    .field(\"defaults\", [def(\"Expression\")], defaults.emptyArray)\n    .field(\"rest\", or(def(\"Identifier\"), null), defaults[\"null\"]);\n\ndef(\"Statement\").bases(\"Node\");\n\n// The empty .build() here means that an EmptyStatement can be constructed\n// (i.e. it's not abstract) but that it needs no arguments.\ndef(\"EmptyStatement\").bases(\"Statement\").build();\n\ndef(\"BlockStatement\")\n    .bases(\"Statement\")\n    .build(\"body\")\n    .field(\"body\", [def(\"Statement\")]);\n\n// TODO Figure out how to silently coerce Expressions to\n// ExpressionStatements where a Statement was expected.\ndef(\"ExpressionStatement\")\n    .bases(\"Statement\")\n    .build(\"expression\")\n    .field(\"expression\", def(\"Expression\"));\n\ndef(\"IfStatement\")\n    .bases(\"Statement\")\n    .build(\"test\", \"consequent\", \"alternate\")\n    .field(\"test\", def(\"Expression\"))\n    .field(\"consequent\", def(\"Statement\"))\n    .field(\"alternate\", or(def(\"Statement\"), null), defaults[\"null\"]);\n\ndef(\"LabeledStatement\")\n    .bases(\"Statement\")\n    .build(\"label\", \"body\")\n    .field(\"label\", def(\"Identifier\"))\n    .field(\"body\", def(\"Statement\"));\n\ndef(\"BreakStatement\")\n    .bases(\"Statement\")\n    .build(\"label\")\n    .field(\"label\", or(def(\"Identifier\"), null), defaults[\"null\"]);\n\ndef(\"ContinueStatement\")\n    .bases(\"Statement\")\n    .build(\"label\")\n    .field(\"label\", or(def(\"Identifier\"), null), defaults[\"null\"]);\n\ndef(\"WithStatement\")\n    .bases(\"Statement\")\n    .build(\"object\", \"body\")\n    .field(\"object\", def(\"Expression\"))\n    .field(\"body\", def(\"Statement\"));\n\ndef(\"SwitchStatement\")\n    .bases(\"Statement\")\n    .build(\"discriminant\", \"cases\", \"lexical\")\n    .field(\"discriminant\", def(\"Expression\"))\n    .field(\"cases\", [def(\"SwitchCase\")])\n    .field(\"lexical\", isBoolean, defaults[\"false\"]);\n\ndef(\"ReturnStatement\")\n    .bases(\"Statement\")\n    .build(\"argument\")\n    .field(\"argument\", or(def(\"Expression\"), null));\n\ndef(\"ThrowStatement\")\n    .bases(\"Statement\")\n    .build(\"argument\")\n    .field(\"argument\", def(\"Expression\"));\n\ndef(\"TryStatement\")\n    .bases(\"Statement\")\n    .build(\"block\", \"handler\", \"finalizer\")\n    .field(\"block\", def(\"BlockStatement\"))\n    .field(\"handler\", or(def(\"CatchClause\"), null), function() {\n        return this.handlers && this.handlers[0] || null;\n    })\n    .field(\"handlers\", [def(\"CatchClause\")], function() {\n        return this.handler ? [this.handler] : [];\n    }, true) // Indicates this field is hidden from eachField iteration.\n    .field(\"guardedHandlers\", [def(\"CatchClause\")], defaults.emptyArray)\n    .field(\"finalizer\", or(def(\"BlockStatement\"), null), defaults[\"null\"]);\n\ndef(\"CatchClause\")\n    .bases(\"Node\")\n    .build(\"param\", \"guard\", \"body\")\n    .field(\"param\", def(\"Pattern\"))\n    .field(\"guard\", or(def(\"Expression\"), null), defaults[\"null\"])\n    .field(\"body\", def(\"BlockStatement\"));\n\ndef(\"WhileStatement\")\n    .bases(\"Statement\")\n    .build(\"test\", \"body\")\n    .field(\"test\", def(\"Expression\"))\n    .field(\"body\", def(\"Statement\"));\n\ndef(\"DoWhileStatement\")\n    .bases(\"Statement\")\n    .build(\"body\", \"test\")\n    .field(\"body\", def(\"Statement\"))\n    .field(\"test\", def(\"Expression\"));\n\ndef(\"ForStatement\")\n    .bases(\"Statement\")\n    .build(\"init\", \"test\", \"update\", \"body\")\n    .field(\"init\", or(\n        def(\"VariableDeclaration\"),\n        def(\"Expression\"),\n        null))\n    .field(\"test\", or(def(\"Expression\"), null))\n    .field(\"update\", or(def(\"Expression\"), null))\n    .field(\"body\", def(\"Statement\"));\n\ndef(\"ForInStatement\")\n    .bases(\"Statement\")\n    .build(\"left\", \"right\", \"body\", \"each\")\n    .field(\"left\", or(\n        def(\"VariableDeclaration\"),\n        def(\"Expression\")))\n    .field(\"right\", def(\"Expression\"))\n    .field(\"body\", def(\"Statement\"))\n    .field(\"each\", isBoolean);\n\ndef(\"DebuggerStatement\").bases(\"Statement\").build();\n\ndef(\"Declaration\").bases(\"Statement\");\n\ndef(\"FunctionDeclaration\")\n    .bases(\"Function\", \"Declaration\")\n    .build(\"id\", \"params\", \"body\", \"generator\", \"expression\")\n    .field(\"id\", def(\"Identifier\"));\n\ndef(\"FunctionExpression\")\n    .bases(\"Function\", \"Expression\")\n    .build(\"id\", \"params\", \"body\", \"generator\", \"expression\");\n\ndef(\"VariableDeclaration\")\n    .bases(\"Declaration\")\n    .build(\"kind\", \"declarations\")\n    .field(\"kind\", or(\"var\", \"let\", \"const\"))\n    .field(\"declarations\", [or(\n        def(\"VariableDeclarator\"),\n        def(\"Identifier\") // TODO Esprima deviation.\n    )]);\n\ndef(\"VariableDeclarator\")\n    .bases(\"Node\")\n    .build(\"id\", \"init\")\n    .field(\"id\", def(\"Pattern\"))\n    .field(\"init\", or(def(\"Expression\"), null));\n\n// TODO Are all Expressions really Patterns?\ndef(\"Expression\").bases(\"Node\", \"Pattern\");\n\ndef(\"ThisExpression\").bases(\"Expression\").build();\n\ndef(\"ArrayExpression\")\n    .bases(\"Expression\")\n    .build(\"elements\")\n    .field(\"elements\", [or(def(\"Expression\"), null)]);\n\ndef(\"ObjectExpression\")\n    .bases(\"Expression\")\n    .build(\"properties\")\n    .field(\"properties\", [def(\"Property\")]);\n\n// TODO Not in the Mozilla Parser API, but used by Esprima.\ndef(\"Property\")\n    .bases(\"Node\") // Want to be able to visit Property Nodes.\n    .build(\"kind\", \"key\", \"value\")\n    .field(\"kind\", or(\"init\", \"get\", \"set\"))\n    .field(\"key\", or(def(\"Literal\"), def(\"Identifier\")))\n    .field(\"value\", def(\"Expression\"))\n    // Esprima extensions not mentioned in the Mozilla Parser API:\n    .field(\"method\", isBoolean, defaults[\"false\"])\n    .field(\"shorthand\", isBoolean, defaults[\"false\"]);\n\ndef(\"SequenceExpression\")\n    .bases(\"Expression\")\n    .build(\"expressions\")\n    .field(\"expressions\", [def(\"Expression\")]);\n\nvar UnaryOperator = or(\n    \"-\", \"+\", \"!\", \"~\",\n    \"typeof\", \"void\", \"delete\");\n\ndef(\"UnaryExpression\")\n    .bases(\"Expression\")\n    .build(\"operator\", \"argument\", \"prefix\")\n    .field(\"operator\", UnaryOperator)\n    .field(\"argument\", def(\"Expression\"))\n    // TODO Esprima doesn't bother with this field, presumably because\n    // it's always true for unary operators.\n    .field(\"prefix\", isBoolean, defaults[\"true\"]);\n\nvar BinaryOperator = or(\n    \"==\", \"!=\", \"===\", \"!==\",\n    \"<\", \"<=\", \">\", \">=\",\n    \"<<\", \">>\", \">>>\",\n    \"+\", \"-\", \"*\", \"/\", \"%\",\n    \"&\", // TODO Missing from the Parser API.\n    \"|\", \"^\", \"in\",\n    \"instanceof\", \"..\");\n\ndef(\"BinaryExpression\")\n    .bases(\"Expression\")\n    .build(\"operator\", \"left\", \"right\")\n    .field(\"operator\", BinaryOperator)\n    .field(\"left\", def(\"Expression\"))\n    .field(\"right\", def(\"Expression\"));\n\nvar AssignmentOperator = or(\n    \"=\", \"+=\", \"-=\", \"*=\", \"/=\", \"%=\",\n    \"<<=\", \">>=\", \">>>=\",\n    \"|=\", \"^=\", \"&=\");\n\ndef(\"AssignmentExpression\")\n    .bases(\"Expression\")\n    .build(\"operator\", \"left\", \"right\")\n    .field(\"operator\", AssignmentOperator)\n    // TODO Shouldn't this be def(\"Pattern\")?\n    .field(\"left\", def(\"Expression\"))\n    .field(\"right\", def(\"Expression\"));\n\nvar UpdateOperator = or(\"++\", \"--\");\n\ndef(\"UpdateExpression\")\n    .bases(\"Expression\")\n    .build(\"operator\", \"argument\", \"prefix\")\n    .field(\"operator\", UpdateOperator)\n    .field(\"argument\", def(\"Expression\"))\n    .field(\"prefix\", isBoolean);\n\nvar LogicalOperator = or(\"||\", \"&&\");\n\ndef(\"LogicalExpression\")\n    .bases(\"Expression\")\n    .build(\"operator\", \"left\", \"right\")\n    .field(\"operator\", LogicalOperator)\n    .field(\"left\", def(\"Expression\"))\n    .field(\"right\", def(\"Expression\"));\n\ndef(\"ConditionalExpression\")\n    .bases(\"Expression\")\n    .build(\"test\", \"consequent\", \"alternate\")\n    .field(\"test\", def(\"Expression\"))\n    .field(\"consequent\", def(\"Expression\"))\n    .field(\"alternate\", def(\"Expression\"));\n\ndef(\"NewExpression\")\n    .bases(\"Expression\")\n    .build(\"callee\", \"arguments\")\n    .field(\"callee\", def(\"Expression\"))\n    // The Mozilla Parser API gives this type as [or(def(\"Expression\"),\n    // null)], but null values don't really make sense at the call site.\n    // TODO Report this nonsense.\n    .field(\"arguments\", [def(\"Expression\")]);\n\ndef(\"CallExpression\")\n    .bases(\"Expression\")\n    .build(\"callee\", \"arguments\")\n    .field(\"callee\", def(\"Expression\"))\n    // See comment for NewExpression above.\n    .field(\"arguments\", [def(\"Expression\")]);\n\ndef(\"MemberExpression\")\n    .bases(\"Expression\")\n    .build(\"object\", \"property\", \"computed\")\n    .field(\"object\", def(\"Expression\"))\n    .field(\"property\", or(def(\"Identifier\"), def(\"Expression\")))\n    .field(\"computed\", isBoolean);\n\ndef(\"Pattern\").bases(\"Node\");\n\ndef(\"ObjectPattern\")\n    .bases(\"Pattern\")\n    .build(\"properties\")\n    // TODO File a bug to get PropertyPattern added to the interfaces API.\n    .field(\"properties\", [def(\"PropertyPattern\")]);\n\ndef(\"PropertyPattern\")\n    .bases(\"Pattern\")\n    .build(\"key\", \"pattern\")\n    .field(\"key\", or(def(\"Literal\"), def(\"Identifier\")))\n    .field(\"pattern\", def(\"Pattern\"));\n\ndef(\"ArrayPattern\")\n    .bases(\"Pattern\")\n    .build(\"elements\")\n    .field(\"elements\", [or(def(\"Pattern\"), null)]);\n\ndef(\"SwitchCase\")\n    .bases(\"Node\")\n    .build(\"test\", \"consequent\")\n    .field(\"test\", or(def(\"Expression\"), null))\n    .field(\"consequent\", [def(\"Statement\")]);\n\ndef(\"Identifier\")\n    // But aren't Expressions and Patterns already Nodes? TODO Report this.\n    .bases(\"Node\", \"Expression\", \"Pattern\")\n    .build(\"name\")\n    .field(\"name\", isString);\n\ndef(\"Literal\")\n    // But aren't Expressions already Nodes? TODO Report this.\n    .bases(\"Node\", \"Expression\")\n    .build(\"value\")\n    .field(\"value\", or(\n        isString,\n        isBoolean,\n        null, // isNull would also work here.\n        isNumber,\n        isRegExp\n    ));\n\ntypes.finalize();\n\n},{\"../lib/shared\":16,\"../lib/types\":18}],10:[function(require,module,exports){\nrequire(\"./core\");\nvar types = require(\"../lib/types\");\nvar def = types.Type.def;\nvar or = types.Type.or;\nvar builtin = types.builtInTypes;\nvar isString = builtin.string;\nvar isBoolean = builtin.boolean;\n\n// Note that none of these types are buildable because the Mozilla Parser\n// API doesn't specify any builder functions, and nobody uses E4X anymore.\n\ndef(\"XMLDefaultDeclaration\")\n    .bases(\"Declaration\")\n    .field(\"namespace\", def(\"Expression\"));\n\ndef(\"XMLAnyName\").bases(\"Expression\");\n\ndef(\"XMLQualifiedIdentifier\")\n    .bases(\"Expression\")\n    .field(\"left\", or(def(\"Identifier\"), def(\"XMLAnyName\")))\n    .field(\"right\", or(def(\"Identifier\"), def(\"Expression\")))\n    .field(\"computed\", isBoolean);\n\ndef(\"XMLFunctionQualifiedIdentifier\")\n    .bases(\"Expression\")\n    .field(\"right\", or(def(\"Identifier\"), def(\"Expression\")))\n    .field(\"computed\", isBoolean);\n\ndef(\"XMLAttributeSelector\")\n    .bases(\"Expression\")\n    .field(\"attribute\", def(\"Expression\"));\n\ndef(\"XMLFilterExpression\")\n    .bases(\"Expression\")\n    .field(\"left\", def(\"Expression\"))\n    .field(\"right\", def(\"Expression\"));\n\ndef(\"XMLElement\")\n    .bases(\"XML\", \"Expression\")\n    .field(\"contents\", [def(\"XML\")]);\n\ndef(\"XMLList\")\n    .bases(\"XML\", \"Expression\")\n    .field(\"contents\", [def(\"XML\")]);\n\ndef(\"XML\").bases(\"Node\");\n\ndef(\"XMLEscape\")\n    .bases(\"XML\")\n    .field(\"expression\", def(\"Expression\"));\n\ndef(\"XMLText\")\n    .bases(\"XML\")\n    .field(\"text\", isString);\n\ndef(\"XMLStartTag\")\n    .bases(\"XML\")\n    .field(\"contents\", [def(\"XML\")]);\n\ndef(\"XMLEndTag\")\n    .bases(\"XML\")\n    .field(\"contents\", [def(\"XML\")]);\n\ndef(\"XMLPointTag\")\n    .bases(\"XML\")\n    .field(\"contents\", [def(\"XML\")]);\n\ndef(\"XMLName\")\n    .bases(\"XML\")\n    .field(\"contents\", or(isString, [def(\"XML\")]));\n\ndef(\"XMLAttribute\")\n    .bases(\"XML\")\n    .field(\"value\", isString);\n\ndef(\"XMLCdata\")\n    .bases(\"XML\")\n    .field(\"contents\", isString);\n\ndef(\"XMLComment\")\n    .bases(\"XML\")\n    .field(\"contents\", isString);\n\ndef(\"XMLProcessingInstruction\")\n    .bases(\"XML\")\n    .field(\"target\", isString)\n    .field(\"contents\", or(isString, null));\n\ntypes.finalize();\n\n},{\"../lib/types\":18,\"./core\":9}],11:[function(require,module,exports){\nrequire(\"./core\");\nvar types = require(\"../lib/types\");\nvar def = types.Type.def;\nvar or = types.Type.or;\nvar builtin = types.builtInTypes;\nvar isBoolean = builtin.boolean;\nvar isString = builtin.string;\nvar defaults = require(\"../lib/shared\").defaults;\n\n// TODO The Parser API calls this ArrowExpression, but Esprima uses\n// ArrowFunctionExpression.\ndef(\"ArrowFunctionExpression\")\n    .bases(\"Function\", \"Expression\")\n    .build(\"params\", \"body\", \"expression\")\n    // The forced null value here is compatible with the overridden\n    // definition of the \"id\" field in the Function interface.\n    .field(\"id\", null, defaults[\"null\"])\n    // The current spec forbids arrow generators, so I have taken the\n    // liberty of enforcing that. TODO Report this.\n    .field(\"generator\", false, defaults[\"false\"]);\n\ndef(\"YieldExpression\")\n    .bases(\"Expression\")\n    .build(\"argument\", \"delegate\")\n    .field(\"argument\", or(def(\"Expression\"), null))\n    .field(\"delegate\", isBoolean, false);\n\ndef(\"GeneratorExpression\")\n    .bases(\"Expression\")\n    .build(\"body\", \"blocks\", \"filter\")\n    .field(\"body\", def(\"Expression\"))\n    .field(\"blocks\", [def(\"ComprehensionBlock\")])\n    .field(\"filter\", or(def(\"Expression\"), null));\n\ndef(\"ComprehensionExpression\")\n    .bases(\"Expression\")\n    .build(\"body\", \"blocks\", \"filter\")\n    .field(\"body\", def(\"Expression\"))\n    .field(\"blocks\", [def(\"ComprehensionBlock\")])\n    .field(\"filter\", or(def(\"Expression\"), null));\n\ndef(\"ComprehensionBlock\")\n    .bases(\"Node\")\n    .build(\"left\", \"right\", \"each\")\n    .field(\"left\", def(\"Pattern\"))\n    .field(\"right\", def(\"Expression\"))\n    .field(\"each\", isBoolean);\n\n// This would be the ideal definition for ModuleSpecifier, but alas we\n// can't expect ASTs parsed by Esprima to use this custom subtype:\ndef(\"ModuleSpecifier\")\n    .bases(\"Specifier\", \"Literal\")\n//  .build(\"value\") // Make it abstract/non-buildable for now.\n    .field(\"value\", isString);\n\n// Instead we must settle for a cheap type alias:\nvar ModuleSpecifier = def(\"Literal\");\n\ndef(\"ModuleDeclaration\")\n    .bases(\"Declaration\")\n    .build(\"id\", \"from\", \"body\")\n    .field(\"id\", or(def(\"Literal\"), def(\"Identifier\")))\n    .field(\"source\", or(ModuleSpecifier, null))\n    .field(\"body\", or(def(\"BlockStatement\"), null));\n\ndef(\"MethodDefinition\")\n    .bases(\"Declaration\")\n    .build(\"kind\", \"key\", \"value\")\n    .field(\"kind\", or(\"init\", \"get\", \"set\", \"\"))\n    .field(\"key\", or(def(\"Literal\"), def(\"Identifier\")))\n    .field(\"value\", def(\"Function\"));\n\ndef(\"SpreadElement\")\n    .bases(\"Pattern\")\n    .build(\"argument\")\n    .field(\"argument\", def(\"Pattern\"));\n\nvar ClassBodyElement = or(\n    def(\"MethodDefinition\"),\n    def(\"VariableDeclarator\"),\n    def(\"ClassPropertyDefinition\")\n);\n\ndef(\"ClassPropertyDefinition\") // static property\n    .bases(\"Declaration\")\n    .build(\"definition\")\n    // Yes, Virginia, circular definitions are permitted.\n    .field(\"definition\", ClassBodyElement);\n\ndef(\"ClassBody\")\n    .bases(\"Declaration\")\n    .build(\"body\")\n    .field(\"body\", [ClassBodyElement]);\n\ndef(\"ClassDeclaration\")\n    .bases(\"Declaration\")\n    .build(\"id\", \"body\", \"superClass\")\n    .field(\"id\", def(\"Identifier\"))\n    .field(\"body\", def(\"ClassBody\"))\n    .field(\"superClass\", or(def(\"Expression\"), null), defaults[\"null\"]);\n\ndef(\"ClassExpression\")\n    .bases(\"Expression\")\n    .build(\"id\", \"body\", \"superClass\")\n    .field(\"id\", or(def(\"Identifier\"), null), defaults[\"null\"])\n    .field(\"body\", def(\"ClassBody\"))\n    .field(\"superClass\", or(def(\"Expression\"), null), defaults[\"null\"]);\n\n// Specifier and NamedSpecifier are non-standard types that I introduced\n// for definitional convenience.\ndef(\"Specifier\").bases(\"Node\");\ndef(\"NamedSpecifier\")\n    .bases(\"Specifier\")\n    .field(\"id\", def(\"Identifier\"))\n    .field(\"name\", def(\"Identifier\"), defaults[\"null\"]);\n\ndef(\"ExportSpecifier\")\n    .bases(\"NamedSpecifier\")\n    .build(\"id\", \"name\");\n\ndef(\"ExportBatchSpecifier\")\n    .bases(\"Specifier\")\n    .build();\n\ndef(\"ImportSpecifier\")\n    .bases(\"NamedSpecifier\")\n    .build(\"id\", \"name\");\n\ndef(\"ExportDeclaration\")\n    .bases(\"Declaration\")\n    .build(\"default\", \"declaration\", \"specifiers\", \"source\")\n    .field(\"default\", isBoolean)\n    .field(\"declaration\", or(\n        def(\"Declaration\"),\n        def(\"AssignmentExpression\") // Implies default.\n    ))\n    .field(\"specifiers\", [or(\n        def(\"ExportSpecifier\"),\n        def(\"ExportBatchSpecifier\")\n    )])\n    .field(\"source\", or(ModuleSpecifier, null));\n\ndef(\"ImportDeclaration\")\n    .bases(\"Declaration\")\n    .build(\"specifiers\", \"kind\", \"source\")\n    .field(\"specifiers\", [def(\"ImportSpecifier\")])\n    .field(\"kind\", or(\"named\", \"default\"))\n    .field(\"source\", ModuleSpecifier);\n\ntypes.finalize();\n\n},{\"../lib/shared\":16,\"../lib/types\":18,\"./core\":9}],12:[function(require,module,exports){\nrequire(\"./core\");\nvar types = require(\"../lib/types\");\nvar def = types.Type.def;\nvar or = types.Type.or;\nvar builtin = types.builtInTypes;\nvar isString = builtin.string;\nvar isBoolean = builtin.boolean;\nvar defaults = require(\"../lib/shared\").defaults;\n\ndef(\"XJSAttribute\")\n    .bases(\"Node\")\n    .build(\"name\", \"value\")\n    .field(\"name\", def(\"XJSIdentifier\"))\n    .field(\"value\", or(\n        def(\"Literal\"), // attr=\"value\"\n        def(\"XJSExpressionContainer\"), // attr={value}\n        null // attr= or just attr\n    ), defaults[\"null\"]);\n\ndef(\"XJSIdentifier\")\n    .bases(\"Node\")\n    .build(\"name\", \"namespace\")\n    .field(\"name\", isString)\n    .field(\"namespace\", or(isString, null), defaults[\"null\"]);\n\ndef(\"XJSExpressionContainer\")\n    .bases(\"Expression\")\n    .build(\"expression\")\n    .field(\"expression\", def(\"Expression\"));\n\ndef(\"XJSElement\")\n    .bases(\"Expression\")\n    .build(\"openingElement\", \"closingElement\", \"children\")\n    .field(\"openingElement\", def(\"XJSOpeningElement\"))\n    .field(\"closingElement\", or(def(\"XJSClosingElement\"), null), defaults[\"null\"])\n    .field(\"children\", [or(\n        def(\"XJSElement\"),\n        def(\"XJSExpressionContainer\"),\n        def(\"XJSText\"),\n        def(\"Literal\") // TODO Esprima should return XJSText instead.\n    )], defaults.emptyArray)\n    .field(\"name\", def(\"XJSIdentifier\"), function() {\n        // Little-known fact: the `this` object inside a default function\n        // is none other than the partially-built object itself, and any\n        // fields initialized directly from builder function arguments\n        // (like openingElement, closingElement, and children) are\n        // guaranteed to be available.\n        return this.openingElement.name;\n    })\n    .field(\"selfClosing\", isBoolean, function() {\n        return this.openingElement.selfClosing;\n    })\n    .field(\"attributes\", [def(\"XJSAttribute\")], function() {\n        return this.openingElement.attributes;\n    });\n\ndef(\"XJSOpeningElement\")\n    .bases(\"Node\") // TODO Does this make sense? Can't really be an XJSElement.\n    .build(\"name\", \"attributes\", \"selfClosing\")\n    .field(\"name\", def(\"XJSIdentifier\"))\n    .field(\"attributes\", [def(\"XJSAttribute\")], defaults.emptyArray)\n    .field(\"selfClosing\", isBoolean, defaults[\"false\"]);\n\ndef(\"XJSClosingElement\")\n    .bases(\"Node\") // TODO Same concern.\n    .build(\"name\")\n    .field(\"name\", def(\"XJSIdentifier\"));\n\ndef(\"XJSText\")\n    .bases(\"Literal\")\n    .build(\"value\")\n    .field(\"value\", isString);\n\ndef(\"XJSEmptyExpression\").bases(\"Expression\").build();\n\ndef(\"TypeAnnotatedIdentifier\")\n    .bases(\"Pattern\")\n    .build(\"annotation\", \"identifier\")\n    .field(\"annotation\", def(\"TypeAnnotation\"))\n    .field(\"identifier\", def(\"Identifier\"));\n\ndef(\"TypeAnnotation\")\n    .bases(\"Pattern\")\n    .build(\"annotatedType\", \"templateTypes\", \"paramTypes\", \"returnType\", \n           \"unionType\", \"nullable\")\n    .field(\"annotatedType\", def(\"Identifier\"))\n    .field(\"templateTypes\", or([def(\"TypeAnnotation\")], null))\n    .field(\"paramTypes\", or([def(\"TypeAnnotation\")], null))\n    .field(\"returnType\", or(def(\"TypeAnnotation\"), null))\n    .field(\"unionType\", or(def(\"TypeAnnotation\"), null))\n    .field(\"nullable\", isBoolean);\n\ntypes.finalize();\n\n},{\"../lib/shared\":16,\"../lib/types\":18,\"./core\":9}],13:[function(require,module,exports){\nrequire(\"./core\");\nvar types = require(\"../lib/types\");\nvar def = types.Type.def;\nvar or = types.Type.or;\nvar geq = require(\"../lib/shared\").geq;\n\ndef(\"ForOfStatement\")\n    .bases(\"Statement\")\n    .build(\"left\", \"right\", \"body\")\n    .field(\"left\", or(\n        def(\"VariableDeclaration\"),\n        def(\"Expression\")))\n    .field(\"right\", def(\"Expression\"))\n    .field(\"body\", def(\"Statement\"));\n\ndef(\"LetStatement\")\n    .bases(\"Statement\")\n    .build(\"head\", \"body\")\n    // TODO Deviating from the spec by reusing VariableDeclarator here.\n    .field(\"head\", [def(\"VariableDeclarator\")])\n    .field(\"body\", def(\"Statement\"));\n\ndef(\"LetExpression\")\n    .bases(\"Expression\")\n    .build(\"head\", \"body\")\n    // TODO Deviating from the spec by reusing VariableDeclarator here.\n    .field(\"head\", [def(\"VariableDeclarator\")])\n    .field(\"body\", def(\"Expression\"));\n\ndef(\"GraphExpression\")\n    .bases(\"Expression\")\n    .build(\"index\", \"expression\")\n    .field(\"index\", geq(0))\n    .field(\"expression\", def(\"Literal\"));\n\ndef(\"GraphIndexExpression\")\n    .bases(\"Expression\")\n    .build(\"index\")\n    .field(\"index\", geq(0));\n\ntypes.finalize();\n\n},{\"../lib/shared\":16,\"../lib/types\":18,\"./core\":9}],14:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar types = require(\"./types\");\nvar n = types.namedTypes;\nvar isNumber = types.builtInTypes.number;\nvar isArray = types.builtInTypes.array;\nvar Path = require(\"ast-path\").Path;\nvar Scope = require(\"./scope\");\n\nfunction NodePath(value, parentPath, name) {\n    assert.ok(this instanceof NodePath);\n    Path.call(this, value, parentPath, name);\n}\n\nrequire(\"util\").inherits(NodePath, Path);\nvar NPp = NodePath.prototype;\n\nObject.defineProperties(NPp, {\n    node: {\n        get: function() {\n            Object.defineProperty(this, \"node\", {\n                value: this._computeNode()\n            });\n\n            return this.node;\n        }\n    },\n\n    parent: {\n        get: function() {\n            Object.defineProperty(this, \"parent\", {\n                value: this._computeParent()\n            });\n\n            return this.parent;\n        }\n    },\n\n    scope: {\n        get: function() {\n            Object.defineProperty(this, \"scope\", {\n                value: this._computeScope()\n            });\n\n            return this.scope;\n        }\n    }\n});\n\n// The value of the first ancestor Path whose value is a Node.\nNPp._computeNode = function() {\n    var value = this.value;\n    if (n.Node.check(value)) {\n        return value;\n    }\n\n    var pp = this.parentPath;\n    return pp && pp.node || null;\n};\n\n// The first ancestor Path whose value is a Node distinct from this.node.\nNPp._computeParent = function() {\n    var value = this.value;\n    var pp = this.parentPath;\n\n    if (!n.Node.check(value)) {\n        while (pp && !n.Node.check(pp.value)) {\n            pp = pp.parentPath;\n        }\n\n        if (pp) {\n            pp = pp.parentPath;\n        }\n    }\n\n    while (pp && !n.Node.check(pp.value)) {\n        pp = pp.parentPath;\n    }\n\n    return pp || null;\n};\n\n// The closest enclosing scope that governs this node.\nNPp._computeScope = function() {\n    var value = this.value;\n    var pp = this.parentPath;\n    var scope = pp && pp.scope;\n\n    if (n.Node.check(value) &&\n        Scope.isEstablishedBy(value)) {\n        scope = new Scope(this, scope);\n    }\n\n    return scope || null;\n};\n\nNPp.getValueProperty = function(name) {\n    return types.getFieldValue(this.value, name);\n};\n\nNPp.needsParens = function() {\n    if (!this.parent)\n        return false;\n\n    var node = this.node;\n\n    // If this NodePath object is not the direct owner of this.node, then\n    // we do not need parentheses here, though the direct owner might need\n    // parentheses.\n    if (node !== this.value)\n        return false;\n\n    var parent = this.parent.node;\n\n    assert.notStrictEqual(node, parent);\n\n    if (!n.Expression.check(node))\n        return false;\n\n    if (n.UnaryExpression.check(node))\n        return n.MemberExpression.check(parent)\n            && this.name === \"object\"\n            && parent.object === node;\n\n    if (isBinary(node)) {\n        if (n.CallExpression.check(parent) &&\n            this.name === \"callee\") {\n            assert.strictEqual(parent.callee, node);\n            return true;\n        }\n\n        if (n.UnaryExpression.check(parent))\n            return true;\n\n        if (n.MemberExpression.check(parent) &&\n            this.name === \"object\") {\n            assert.strictEqual(parent.object, node);\n            return true;\n        }\n\n        if (isBinary(parent)) {\n            var po = parent.operator;\n            var pp = PRECEDENCE[po];\n            var no = node.operator;\n            var np = PRECEDENCE[no];\n\n            if (pp > np) {\n                return true;\n            }\n\n            if (pp === np && this.name === \"right\") {\n                assert.strictEqual(parent.right, node);\n                return true;\n            }\n        }\n    }\n\n    if (n.SequenceExpression.check(node))\n        return n.CallExpression.check(parent)\n            || n.UnaryExpression.check(parent)\n            || isBinary(parent)\n            || n.VariableDeclarator.check(parent)\n            || n.MemberExpression.check(parent)\n            || n.ArrayExpression.check(parent)\n            || n.Property.check(parent)\n            || n.ConditionalExpression.check(parent);\n\n    if (n.YieldExpression.check(node))\n        return isBinary(parent)\n            || n.CallExpression.check(parent)\n            || n.MemberExpression.check(parent)\n            || n.NewExpression.check(parent)\n            || n.ConditionalExpression.check(parent)\n            || n.UnaryExpression.check(parent)\n            || n.YieldExpression.check(parent);\n\n    if (n.NewExpression.check(parent) &&\n        this.name === \"callee\") {\n        assert.strictEqual(parent.callee, node);\n        return containsCallExpression(node);\n    }\n\n    if (n.Literal.check(node) &&\n        isNumber.check(node.value) &&\n        n.MemberExpression.check(parent) &&\n        this.name === \"object\") {\n        assert.strictEqual(parent.object, node);\n        return true;\n    }\n\n    if (n.AssignmentExpression.check(node) ||\n        n.ConditionalExpression.check(node)) {\n        if (n.UnaryExpression.check(parent))\n            return true;\n\n        if (isBinary(parent))\n            return true;\n\n        if (n.CallExpression.check(parent) &&\n            this.name === \"callee\") {\n            assert.strictEqual(parent.callee, node);\n            return true;\n        }\n\n        if (n.ConditionalExpression.check(parent) &&\n            this.name === \"test\") {\n            assert.strictEqual(parent.test, node);\n            return true;\n        }\n\n        if (n.MemberExpression.check(parent) &&\n            this.name === \"object\") {\n            assert.strictEqual(parent.object, node);\n            return true;\n        }\n    }\n\n    if (n.FunctionExpression.check(node) &&\n        this.firstInStatement())\n        return true;\n\n    if (n.ObjectExpression.check(node) &&\n        this.firstInStatement())\n        return true;\n\n    return false;\n};\n\nfunction isBinary(node) {\n    return n.BinaryExpression.check(node)\n        || n.LogicalExpression.check(node);\n}\n\nvar PRECEDENCE = {};\n[[\"||\"],\n [\"&&\"],\n [\"|\"],\n [\"^\"],\n [\"&\"],\n [\"==\", \"===\", \"!=\", \"!==\"],\n [\"<\", \">\", \"<=\", \">=\", \"in\", \"instanceof\"],\n [\">>\", \"<<\", \">>>\"],\n [\"+\", \"-\"],\n [\"*\", \"/\", \"%\"]\n].forEach(function(tier, i) {\n    tier.forEach(function(op) {\n        PRECEDENCE[op] = i;\n    });\n});\n\nfunction containsCallExpression(node) {\n    if (n.CallExpression.check(node)) {\n        return true;\n    }\n\n    if (isArray.check(node)) {\n        return node.some(containsCallExpression);\n    }\n\n    if (n.Node.check(node)) {\n        return types.someField(node, function(name, child) {\n            return containsCallExpression(child);\n        });\n    }\n\n    return false;\n}\n\nNPp.firstInStatement = function() {\n    return firstInStatement(this);\n};\n\nfunction firstInStatement(path) {\n    for (var node, parent; path.parent; path = path.parent) {\n        node = path.node;\n        parent = path.parent.node;\n\n        if (n.BlockStatement.check(parent) &&\n            path.parent.name === \"body\" &&\n            path.name === 0) {\n            assert.strictEqual(parent.body[0], node);\n            return true;\n        }\n\n        if (n.ExpressionStatement.check(parent) &&\n            path.name === \"expression\") {\n            assert.strictEqual(parent.expression, node);\n            return true;\n        }\n\n        if (n.SequenceExpression.check(parent) &&\n            path.parent.name === \"expressions\" &&\n            path.name === 0) {\n            assert.strictEqual(parent.expressions[0], node);\n            continue;\n        }\n\n        if (n.CallExpression.check(parent) &&\n            path.name === \"callee\") {\n            assert.strictEqual(parent.callee, node);\n            continue;\n        }\n\n        if (n.MemberExpression.check(parent) &&\n            path.name === \"object\") {\n            assert.strictEqual(parent.object, node);\n            continue;\n        }\n\n        if (n.ConditionalExpression.check(parent) &&\n            path.name === \"test\") {\n            assert.strictEqual(parent.test, node);\n            continue;\n        }\n\n        if (isBinary(parent) &&\n            path.name === \"left\") {\n            assert.strictEqual(parent.left, node);\n            continue;\n        }\n\n        if (n.UnaryExpression.check(parent) &&\n            !parent.prefix &&\n            path.name === \"argument\") {\n            assert.strictEqual(parent.argument, node);\n            continue;\n        }\n\n        return false;\n    }\n\n    return true;\n}\n\nmodule.exports = NodePath;\n\n},{\"./scope\":15,\"./types\":18,\"assert\":65,\"ast-path\":21,\"util\":70}],15:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar types = require(\"./types\");\nvar Type = types.Type;\nvar namedTypes = types.namedTypes;\nvar Node = namedTypes.Node;\nvar isArray = types.builtInTypes.array;\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nfunction Scope(path, parentScope) {\n    assert.ok(this instanceof Scope);\n    assert.ok(path instanceof require(\"./node-path\"));\n    ScopeType.assert(path.value);\n\n    var depth;\n\n    if (parentScope) {\n        assert.ok(parentScope instanceof Scope);\n        depth = parentScope.depth + 1;\n    } else {\n        parentScope = null;\n        depth = 0;\n    }\n\n    Object.defineProperties(this, {\n        path: { value: path },\n        node: { value: path.value },\n        isGlobal: { value: !parentScope, enumerable: true },\n        depth: { value: depth },\n        parent: { value: parentScope },\n        bindings: { value: {} }\n    });\n}\n\nvar scopeTypes = [\n    // Program nodes introduce global scopes.\n    namedTypes.Program,\n\n    // Function is the supertype of FunctionExpression,\n    // FunctionDeclaration, ArrowExpression, etc.\n    namedTypes.Function,\n\n    // In case you didn't know, the caught parameter shadows any variable\n    // of the same name in an outer scope.\n    namedTypes.CatchClause\n];\n\nif (namedTypes.ModuleDeclaration) {\n    // Include ModuleDeclaration only if it exists (ES6).\n    scopeTypes.push(namedTypes.ModuleDeclaration);\n}\n\nvar ScopeType = Type.or.apply(Type, scopeTypes);\n\nScope.isEstablishedBy = function(node) {\n    return ScopeType.check(node);\n};\n\nvar Sp = Scope.prototype;\n\n// Will be overridden after an instance lazily calls scanScope.\nSp.didScan = false;\n\nSp.declares = function(name) {\n    this.scan();\n    return hasOwn.call(this.bindings, name);\n};\n\nSp.scan = function(force) {\n    if (force || !this.didScan) {\n        for (var name in this.bindings) {\n            // Empty out this.bindings, just in cases.\n            delete this.bindings[name];\n        }\n        scanScope(this.path, this.bindings);\n        this.didScan = true;\n    }\n};\n\nSp.getBindings = function () {\n    this.scan();\n    return this.bindings;\n};\n\nfunction scanScope(path, bindings) {\n    var node = path.value;\n    ScopeType.assert(node);\n\n    if (namedTypes.CatchClause.check(node)) {\n        // A catch clause establishes a new scope but the only variable\n        // bound in that scope is the catch parameter. Any other\n        // declarations create bindings in the outer scope.\n        addPattern(path.get(\"param\"), bindings);\n\n    } else {\n        recursiveScanScope(path, bindings);\n    }\n}\n\nfunction recursiveScanScope(path, bindings) {\n    var node = path.value;\n\n    if (isArray.check(node)) {\n        path.each(function(childPath) {\n            recursiveScanChild(childPath, bindings);\n        });\n\n    } else if (namedTypes.Function.check(node)) {\n        path.get(\"params\").each(function(paramPath) {\n            addPattern(paramPath, bindings);\n        });\n\n        recursiveScanChild(path.get(\"body\"), bindings);\n\n    } else if (namedTypes.VariableDeclarator.check(node)) {\n        addPattern(path.get(\"id\"), bindings);\n        recursiveScanChild(path.get(\"init\"), bindings);\n\n    } else if (namedTypes.ImportSpecifier &&\n               namedTypes.ImportSpecifier.check(node)) {\n        addPattern(node.name ? path.get(\"name\") : path.get(\"id\"));\n\n    } else if (Node.check(node)) {\n        types.eachField(node, function(name, child) {\n            var childPath = path.get(name);\n            assert.strictEqual(childPath.value, child);\n            recursiveScanChild(childPath, bindings);\n        });\n    }\n}\n\nfunction recursiveScanChild(path, bindings) {\n    var node = path.value;\n\n    if (namedTypes.FunctionDeclaration.check(node)) {\n        addPattern(path.get(\"id\"), bindings);\n\n    } else if (namedTypes.ClassDeclaration &&\n               namedTypes.ClassDeclaration.check(node)) {\n        addPattern(path.get(\"id\"), bindings);\n\n    } else if (Scope.isEstablishedBy(node)) {\n        if (namedTypes.CatchClause.check(node)) {\n            var catchParamName = node.param.name;\n            var hadBinding = hasOwn.call(bindings, catchParamName);\n\n            // Any declarations that occur inside the catch body that do\n            // not have the same name as the catch parameter should count\n            // as bindings in the outer scope.\n            recursiveScanScope(path.get(\"body\"), bindings);\n\n            // If a new binding matching the catch parameter name was\n            // created while scanning the catch body, ignore it because it\n            // actually refers to the catch parameter and not the outer\n            // scope that we're currently scanning.\n            if (!hadBinding) {\n                delete bindings[catchParamName];\n            }\n        }\n\n    } else {\n        recursiveScanScope(path, bindings);\n    }\n}\n\nfunction addPattern(patternPath, bindings) {\n    var pattern = patternPath.value;\n    namedTypes.Pattern.assert(pattern);\n\n    if (namedTypes.Identifier.check(pattern)) {\n        if (hasOwn.call(bindings, pattern.name)) {\n            bindings[pattern.name].push(patternPath);\n        } else {\n            bindings[pattern.name] = [patternPath];\n        }\n\n    } else if (namedTypes.SpreadElement &&\n               namedTypes.SpreadElement.check(pattern)) {\n        addPattern(patternPath.get(\"argument\"), bindings);\n    }\n}\n\nSp.lookup = function(name) {\n    for (var scope = this; scope; scope = scope.parent)\n        if (scope.declares(name))\n            break;\n    return scope;\n};\n\nSp.getGlobalScope = function() {\n    var scope = this;\n    while (!scope.isGlobal)\n        scope = scope.parent;\n    return scope;\n};\n\nmodule.exports = Scope;\n\n},{\"./node-path\":14,\"./types\":18,\"assert\":65}],16:[function(require,module,exports){\nvar types = require(\"../lib/types\");\nvar Type = types.Type;\nvar builtin = types.builtInTypes;\nvar isNumber = builtin.number;\n\n// An example of constructing a new type with arbitrary constraints from\n// an existing type.\nexports.geq = function(than) {\n    return new Type(function(value) {\n        return isNumber.check(value) && value >= than;\n    }, isNumber + \" >= \" + than);\n};\n\n// Default value-returning functions that may optionally be passed as a\n// third argument to Def.prototype.field.\nexports.defaults = {\n    // Functions were used because (among other reasons) that's the most\n    // elegant way to allow for the emptyArray one always to give a new\n    // array instance.\n    \"null\": function() { return null },\n    \"emptyArray\": function() { return [] },\n    \"false\": function() { return false },\n    \"true\": function() { return true },\n    \"undefined\": function() {}\n};\n\nvar naiveIsPrimitive = Type.or(\n    builtin.string,\n    builtin.number,\n    builtin.boolean,\n    builtin.null,\n    builtin.undefined\n);\n\nexports.isPrimitive = new Type(function(value) {\n    if (value === null)\n        return true;\n    var type = typeof value;\n    return !(type === \"object\" ||\n             type === \"function\");\n}, naiveIsPrimitive.toString());\n\n},{\"../lib/types\":18}],17:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar types = require(\"./types\");\nvar Node = types.namedTypes.Node;\nvar isObject = types.builtInTypes.object;\nvar isArray = types.builtInTypes.array;\nvar NodePath = require(\"./node-path\");\nvar funToStr = Function.prototype.toString;\nvar thisPattern = /\\bthis\\b/;\n\n// Good for traversals that need to modify the syntax tree or to access\n// path/scope information via `this` (a NodePath object). Somewhat slower\n// than traverseWithNoPathInfo because of the NodePath bookkeeping.\nfunction traverseWithFullPathInfo(node, callback) {\n    if (!thisPattern.test(funToStr.call(callback))) {\n        // If the callback function contains no references to `this`, then\n        // it will have no way of using any of the NodePath information\n        // that traverseWithFullPathInfo provides, so we can skip that\n        // bookkeeping altogether.\n        return traverseWithNoPathInfo(node, callback);\n    }\n\n    function traverse(path) {\n        assert.ok(path instanceof NodePath);\n        var value = path.value;\n\n        if (isArray.check(value)) {\n            path.each(traverse);\n            return;\n        }\n\n        if (Node.check(value)) {\n            if (callback.call(path, value, traverse) === false) {\n                return;\n            }\n        } else if (!isObject.check(value)) {\n            return;\n        }\n\n        types.eachField(value, function(name, child) {\n            var childPath = path.get(name);\n            if (childPath.value !== child) {\n                childPath.replace(child);\n            }\n\n            traverse(childPath);\n        });\n    }\n\n    if (node instanceof NodePath) {\n        traverse(node);\n        return node.value;\n    }\n\n    // Just in case we call this.replace at the root, there needs to be an\n    // additional parent Path to update.\n    var rootPath = new NodePath({ root: node });\n    traverse(rootPath.get(\"root\"));\n    return rootPath.value.root;\n}\n\n// Good for read-only traversals that do not require any NodePath\n// information. Faster than traverseWithFullPathInfo because less\n// information is exposed. A context parameter is supported because `this`\n// no longer has to be a NodePath object.\nfunction traverseWithNoPathInfo(node, callback, context) {\n    context = context || null;\n\n    function traverse(node) {\n        if (isArray.check(node)) {\n            node.forEach(traverse);\n            return;\n        }\n\n        if (Node.check(node)) {\n            if (callback.call(context, node, traverse) === false) {\n                return;\n            }\n        } else if (!isObject.check(node)) {\n            return;\n        }\n\n        types.eachField(node, function(name, child) {\n            traverse(child);\n        });\n    }\n\n    traverse(node);\n\n    return node;\n}\n\n// Since we export traverseWithFullPathInfo as module.exports, we need to\n// attach traverseWithNoPathInfo to it as a property. In other words, you\n// should use require(\"ast-types\").traverse.fast(ast, ...) to invoke the\n// quick-and-dirty traverseWithNoPathInfo function.\ntraverseWithFullPathInfo.fast = traverseWithNoPathInfo;\n\nmodule.exports = traverseWithFullPathInfo;\n\n},{\"./node-path\":14,\"./types\":18,\"assert\":65}],18:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar Ap = Array.prototype;\nvar slice = Ap.slice;\nvar map = Ap.map;\nvar each = Ap.forEach;\nvar Op = Object.prototype;\nvar objToStr = Op.toString;\nvar funObjStr = objToStr.call(function(){});\nvar strObjStr = objToStr.call(\"\");\nvar hasOwn = Op.hasOwnProperty;\n\n// A type is an object with a .check method that takes a value and returns\n// true or false according to whether the value matches the type.\n\nfunction Type(check, name) {\n    var self = this;\n    assert.ok(self instanceof Type, self);\n\n    // Unfortunately we can't elegantly reuse isFunction and isString,\n    // here, because this code is executed while defining those types.\n    assert.strictEqual(objToStr.call(check), funObjStr,\n                       check + \" is not a function\");\n\n    // The `name` parameter can be either a function or a string.\n    var nameObjStr = objToStr.call(name);\n    assert.ok(nameObjStr === funObjStr ||\n              nameObjStr === strObjStr,\n              name + \" is neither a function nor a string\");\n\n    Object.defineProperties(self, {\n        name: { value: name },\n        check: {\n            value: function(value, deep) {\n                var result = check.call(self, value, deep);\n                if (!result && deep && objToStr.call(deep) === funObjStr)\n                    deep(self, value);\n                return result;\n            }\n        }\n    });\n}\n\nvar Tp = Type.prototype;\n\n// Throughout this file we use Object.defineProperty to prevent\n// redefinition of exported properties.\nObject.defineProperty(exports, \"Type\", { value: Type });\n\n// Like .check, except that failure triggers an AssertionError.\nTp.assert = function(value, deep) {\n    if (!this.check(value, deep)) {\n        var str = shallowStringify(value);\n        assert.ok(false, str + \" does not match type \" + this);\n        return false;\n    }\n    return true;\n};\n\nfunction shallowStringify(value) {\n    if (isObject.check(value))\n        return \"{\" + Object.keys(value).map(function(key) {\n            return key + \": \" + value[key];\n        }).join(\", \") + \"}\";\n\n    if (isArray.check(value))\n        return \"[\" + value.map(shallowStringify).join(\", \") + \"]\";\n\n    return JSON.stringify(value);\n}\n\nTp.toString = function() {\n    var name = this.name;\n\n    if (isString.check(name))\n        return name;\n\n    if (isFunction.check(name))\n        return name.call(this) + \"\";\n\n    return name + \" type\";\n};\n\nvar builtInTypes = {};\nObject.defineProperty(exports, \"builtInTypes\", {\n    enumerable: true,\n    value: builtInTypes\n});\n\nfunction defBuiltInType(example, name) {\n    var objStr = objToStr.call(example);\n\n    Object.defineProperty(builtInTypes, name, {\n        enumerable: true,\n        value: new Type(function(value) {\n            return objToStr.call(value) === objStr;\n        }, name)\n    });\n\n    return builtInTypes[name];\n}\n\n// These types check the underlying [[Class]] attribute of the given\n// value, rather than using the problematic typeof operator. Note however\n// that no subtyping is considered; so, for instance, isObject.check\n// returns false for [], /./, new Date, and null.\nvar isString = defBuiltInType(\"\", \"string\");\nvar isFunction = defBuiltInType(function(){}, \"function\");\nvar isArray = defBuiltInType([], \"array\");\nvar isObject = defBuiltInType({}, \"object\");\nvar isRegExp = defBuiltInType(/./, \"RegExp\");\nvar isDate = defBuiltInType(new Date, \"Date\");\nvar isNumber = defBuiltInType(3, \"number\");\nvar isBoolean = defBuiltInType(true, \"boolean\");\nvar isNull = defBuiltInType(null, \"null\");\nvar isUndefined = defBuiltInType(void 0, \"undefined\");\n\n// There are a number of idiomatic ways of expressing types, so this\n// function serves to coerce them all to actual Type objects. Note that\n// providing the name argument is not necessary in most cases.\nfunction toType(from, name) {\n    // The toType function should of course be idempotent.\n    if (from instanceof Type)\n        return from;\n\n    // The Def type is used as a helper for constructing compound\n    // interface types for AST nodes.\n    if (from instanceof Def)\n        return from.type;\n\n    // Support [ElemType] syntax.\n    if (isArray.check(from))\n        return Type.fromArray(from);\n\n    // Support { someField: FieldType, ... } syntax.\n    if (isObject.check(from))\n        return Type.fromObject(from);\n\n    // If isFunction.check(from), assume that from is a binary predicate\n    // function we can use to define the type.\n    if (isFunction.check(from))\n        return new Type(from, name);\n\n    // As a last resort, toType returns a type that matches any value that\n    // is === from. This is primarily useful for literal values like\n    // toType(null), but it has the additional advantage of allowing\n    // toType to be a total function.\n    return new Type(function(value) {\n        return value === from;\n    }, isUndefined.check(name) ? function() {\n        return from + \"\";\n    } : name);\n}\n\n// Returns a type that matches the given value iff any of type1, type2,\n// etc. match the value.\nType.or = function(/* type1, type2, ... */) {\n    var types = [];\n    var len = arguments.length;\n    for (var i = 0; i < len; ++i)\n        types.push(toType(arguments[i]));\n\n    return new Type(function(value, deep) {\n        for (var i = 0; i < len; ++i)\n            if (types[i].check(value, deep))\n                return true;\n        return false;\n    }, function() {\n        return types.join(\" | \");\n    });\n};\n\nType.fromArray = function(arr) {\n    assert.ok(isArray.check(arr));\n    assert.strictEqual(\n        arr.length, 1,\n        \"only one element type is permitted for typed arrays\");\n    return toType(arr[0]).arrayOf();\n};\n\nTp.arrayOf = function() {\n    var elemType = this;\n    return new Type(function(value, deep) {\n        return isArray.check(value) && value.every(function(elem) {\n            return elemType.check(elem, deep);\n        });\n    }, function() {\n        return \"[\" + elemType + \"]\";\n    });\n};\n\nType.fromObject = function(obj) {\n    var fields = Object.keys(obj).map(function(name) {\n        return new Field(name, obj[name]);\n    });\n\n    return new Type(function(value, deep) {\n        return isObject.check(value) && fields.every(function(field) {\n            return field.type.check(value[field.name], deep);\n        });\n    }, function() {\n        return \"{ \" + fields.join(\", \") + \" }\";\n    });\n};\n\nfunction Field(name, type, defaultFn, hidden) {\n    var self = this;\n\n    assert.ok(self instanceof Field);\n    isString.assert(name);\n\n    type = toType(type);\n\n    var properties = {\n        name: { value: name },\n        type: { value: type },\n        hidden: { value: !!hidden }\n    };\n\n    if (isFunction.check(defaultFn)) {\n        properties.defaultFn = { value: defaultFn };\n    }\n\n    Object.defineProperties(self, properties);\n}\n\nvar Fp = Field.prototype;\n\nFp.toString = function() {\n    return JSON.stringify(this.name) + \": \" + this.type;\n};\n\nFp.getValue = function(obj) {\n    var value = obj[this.name];\n\n    if (!isUndefined.check(value))\n        return value;\n\n    if (this.defaultFn)\n        value = this.defaultFn.call(obj);\n\n    return value;\n};\n\n// Define a type whose name is registered in a namespace (the defCache) so\n// that future definitions will return the same type given the same name.\n// In particular, this system allows for circular and forward definitions.\n// The Def object d returned from Type.def may be used to configure the\n// type d.type by calling methods such as d.bases, d.build, and d.field.\nType.def = function(typeName) {\n    isString.assert(typeName);\n    return hasOwn.call(defCache, typeName)\n        ? defCache[typeName]\n        : defCache[typeName] = new Def(typeName);\n};\n\n// In order to return the same Def instance every time Type.def is called\n// with a particular name, those instances need to be stored in a cache.\nvar defCache = {};\n\nfunction Def(typeName) {\n    var self = this;\n    assert.ok(self instanceof Def);\n\n    Object.defineProperties(self, {\n        typeName: { value: typeName },\n        baseNames: { value: [] },\n        ownFields: { value: {} },\n\n        // These two are populated during finalization.\n        allSupertypes: { value: {} }, // Includes own typeName.\n        allFields: { value: {} }, // Includes inherited fields.\n\n        type: {\n            value: new Type(function(value, deep) {\n                return self.check(value, deep);\n            }, typeName)\n        }\n    });\n}\n\nDef.fromValue = function(value) {\n    if (isObject.check(value) &&\n        hasOwn.call(value, \"type\") &&\n        hasOwn.call(defCache, value.type))\n    {\n        var vDef = defCache[value.type];\n        assert.strictEqual(vDef.finalized, true);\n        return vDef;\n    }\n};\n\nvar Dp = Def.prototype;\n\nDp.isSupertypeOf = function(that) {\n    if (that instanceof Def) {\n        assert.strictEqual(this.finalized, true);\n        assert.strictEqual(that.finalized, true);\n        return hasOwn.call(that.allSupertypes, this.typeName);\n    } else {\n        assert.ok(false, that + \" is not a Def\");\n    }\n};\n\nDp.checkAllFields = function(value, deep) {\n    var allFields = this.allFields;\n    assert.strictEqual(this.finalized, true);\n\n    function checkFieldByName(name) {\n        var field = allFields[name];\n        var type = field.type;\n        var child = field.getValue(value);\n        return type.check(child, deep);\n    }\n\n    return isObject.check(value)\n        && Object.keys(allFields).every(checkFieldByName);\n};\n\nDp.check = function(value, deep) {\n    assert.strictEqual(\n        this.finalized, true,\n        \"prematurely checking unfinalized type \" + this.typeName);\n\n    // A Def type can only match an object value.\n    if (!isObject.check(value))\n        return false;\n\n    var vDef = Def.fromValue(value);\n    if (!vDef) {\n        // If we couldn't infer the Def associated with the given value,\n        // and we expected it to be a SourceLocation or a Position, it was\n        // probably just missing a \"type\" field (because Esprima does not\n        // assign a type property to such nodes). Be optimistic and let\n        // this.checkAllFields make the final decision.\n        if (this.typeName === \"SourceLocation\" ||\n            this.typeName === \"Position\") {\n            return this.checkAllFields(value, deep);\n        }\n\n        // Calling this.checkAllFields for any other type of node is both\n        // bad for performance and way too forgiving.\n        return false;\n    }\n\n    // If checking deeply and vDef === this, then we only need to call\n    // checkAllFields once. Calling checkAllFields is too strict when deep\n    // is false, because then we only care about this.isSupertypeOf(vDef).\n    if (deep && vDef === this)\n        return this.checkAllFields(value, deep);\n\n    // In most cases we rely exclusively on isSupertypeOf to make O(1)\n    // subtyping determinations. This suffices in most situations outside\n    // of unit tests, since interface conformance is checked whenever new\n    // instances are created using builder functions.\n    if (!this.isSupertypeOf(vDef))\n        return false;\n\n    // The exception is when deep is true; then, we recursively check all\n    // fields.\n    if (!deep)\n        return true;\n\n    // Use the more specific Def (vDef) to perform the deep check, but\n    // shallow-check fields defined by the less specific Def (this).\n    return vDef.checkAllFields(value, deep)\n        && this.checkAllFields(value, false);\n};\n\nDp.bases = function() {\n    var bases = this.baseNames;\n\n    assert.strictEqual(this.finalized, false);\n\n    each.call(arguments, function(baseName) {\n        isString.assert(baseName);\n\n        // This indexOf lookup may be O(n), but the typical number of base\n        // names is very small, and indexOf is a native Array method.\n        if (bases.indexOf(baseName) < 0)\n            bases.push(baseName);\n    });\n\n    return this; // For chaining.\n};\n\n// False by default until .build(...) is called on an instance.\nObject.defineProperty(Dp, \"buildable\", { value: false });\n\nvar builders = {};\nObject.defineProperty(exports, \"builders\", {\n    value: builders\n});\n\n// This object is used as prototype for any node created by a builder.\nvar nodePrototype = {};\n\n// Call this function to define a new method to be shared by all AST\n// nodes. The replaced method (if any) is returned for easy wrapping.\nObject.defineProperty(exports, \"defineMethod\", {\n    value: function(name, func) {\n        var old = nodePrototype[name];\n\n        // Pass undefined as func to delete nodePrototype[name].\n        if (isUndefined.check(func)) {\n            delete nodePrototype[name];\n\n        } else {\n            isFunction.assert(func);\n\n            Object.defineProperty(nodePrototype, name, {\n                enumerable: true, // For discoverability.\n                configurable: true, // For delete proto[name].\n                value: func\n            });\n        }\n\n        return old;\n    }\n});\n\n// Calling the .build method of a Def simultaneously marks the type as\n// buildable (by defining builders[getBuilderName(typeName)]) and\n// specifies the order of arguments that should be passed to the builder\n// function to create an instance of the type.\nDp.build = function(/* param1, param2, ... */) {\n    var self = this;\n    var buildParams = slice.call(arguments);\n    var typeName = self.typeName;\n\n    assert.strictEqual(self.finalized, false);\n    isString.arrayOf().assert(buildParams);\n\n    // Every buildable type will have its \"type\" field filled in\n    // automatically. This includes types that are not subtypes of Node,\n    // like SourceLocation, but that seems harmless (TODO?).\n    self.field(\"type\", typeName, function() { return typeName });\n\n    // Override Dp.buildable for this Def instance.\n    Object.defineProperty(self, \"buildable\", { value: true });\n\n    Object.defineProperty(builders, getBuilderName(typeName), {\n        enumerable: true,\n\n        value: function() {\n            var args = arguments;\n            var argc = args.length;\n            var built = Object.create(nodePrototype);\n\n            assert.ok(\n                self.finalized,\n                \"attempting to instantiate unfinalized type \" + typeName);\n\n            function add(param, i) {\n                if (hasOwn.call(built, param))\n                    return;\n\n                var all = self.allFields;\n                assert.ok(hasOwn.call(all, param), param);\n\n                var field = all[param];\n                var type = field.type;\n                var value;\n\n                if (isNumber.check(i) && i < argc) {\n                    value = args[i];\n                } else if (field.defaultFn) {\n                    // Expose the partially-built object to the default\n                    // function as its `this` object.\n                    value = field.defaultFn.call(built);\n                } else {\n                    var message = \"no value or default function given for field \" +\n                        JSON.stringify(param) + \" of \" + typeName + \"(\" +\n                            buildParams.map(function(name) {\n                                return all[name];\n                            }).join(\", \") + \")\";\n                    assert.ok(false, message);\n                }\n\n                assert.ok(\n                    type.check(value),\n                    shallowStringify(value) +\n                        \" does not match field \" + field +\n                        \" of type \" + typeName);\n\n                // TODO Could attach getters and setters here to enforce\n                // dynamic type safety.\n                built[param] = value;\n            }\n\n            buildParams.forEach(function(param, i) {\n                add(param, i);\n            });\n\n            Object.keys(self.allFields).forEach(function(param) {\n                add(param); // Use the default value.\n            });\n\n            // Make sure that the \"type\" field was filled automatically.\n            assert.strictEqual(built.type, typeName);\n\n            return built;\n        }\n    });\n\n    return self; // For chaining.\n};\n\nfunction getBuilderName(typeName) {\n    return typeName.replace(/^[A-Z]+/, function(upperCasePrefix) {\n        var len = upperCasePrefix.length;\n        switch (len) {\n        case 0: return \"\";\n        // If there's only one initial capital letter, just lower-case it.\n        case 1: return upperCasePrefix.toLowerCase();\n        default:\n            // If there's more than one initial capital letter, lower-case\n            // all but the last one, so that XMLDefaultDeclaration (for\n            // example) becomes xmlDefaultDeclaration.\n            return upperCasePrefix.slice(\n                0, len - 1).toLowerCase() +\n                upperCasePrefix.charAt(len - 1);\n        }\n    });\n}\n\n// The reason fields are specified using .field(...) instead of an object\n// literal syntax is somewhat subtle: the object literal syntax would\n// support only one key and one value, but with .field(...) we can pass\n// any number of arguments to specify the field.\nDp.field = function(name, type, defaultFn, hidden) {\n    assert.strictEqual(this.finalized, false);\n    this.ownFields[name] = new Field(name, type, defaultFn, hidden);\n    return this; // For chaining.\n};\n\nvar namedTypes = {};\nObject.defineProperty(exports, \"namedTypes\", {\n    value: namedTypes\n});\n\n// Get the value of an object property, taking object.type and default\n// functions into account.\nObject.defineProperty(exports, \"getFieldValue\", {\n    value: function(object, fieldName) {\n        var d = Def.fromValue(object);\n        if (d) {\n            var field = d.allFields[fieldName];\n            if (field) {\n                return field.getValue(object);\n            }\n        }\n\n        return object[fieldName];\n    }\n});\n\n// Iterate over all defined fields of an object, including those missing\n// or undefined, passing each field name and effective value (as returned\n// by getFieldValue) to the callback. If the object has no corresponding\n// Def, the callback will never be called.\nObject.defineProperty(exports, \"eachField\", {\n    value: function(object, callback, context) {\n        var d = Def.fromValue(object);\n        if (d) {\n            var all = d.allFields;\n            Object.keys(all).forEach(function(name) {\n                var field = all[name];\n                if (!field.hidden) {\n                    callback.call(this, name, field.getValue(object));\n                }\n            }, context);\n        } else {\n            assert.strictEqual(\n                \"type\" in object, false,\n                \"did not recognize object of type \" + JSON.stringify(object.type)\n            );\n\n            // If we could not infer a Def type for this object, just\n            // iterate over its keys in the normal way.\n            Object.keys(object).forEach(function(name) {\n                callback.call(this, name, object[name]);\n            }, context);\n        }\n    }\n});\n\n// Similar to eachField, except that iteration stops as soon as the\n// callback returns a truthy value. Like Array.prototype.some, the final\n// result is either true or false to indicates whether the callback\n// returned true for any element or not.\nObject.defineProperty(exports, \"someField\", {\n    value: function(object, callback, context) {\n        var d = Def.fromValue(object);\n        if (d) {\n            var all = d.allFields;\n            return Object.keys(all).some(function(name) {\n                var field = all[name];\n                if (!field.hidden) {\n                    var value = field.getValue(object);\n                    return callback.call(this, name, value);\n                }\n            }, context);\n        }\n\n        assert.strictEqual(\n            \"type\" in object, false,\n            \"did not recognize object of type \" + JSON.stringify(object.type)\n        );\n\n        // If we could not infer a Def type for this object, just iterate\n        // over its keys in the normal way.\n        return Object.keys(object).some(function(name) {\n            return callback.call(this, name, object[name]);\n        }, context);\n    }\n});\n\n// This property will be overridden as true by individual Def instances\n// when they are finalized.\nObject.defineProperty(Dp, \"finalized\", { value: false });\n\nDp.finalize = function() {\n    // It's not an error to finalize a type more than once, but only the\n    // first call to .finalize does anything.\n    if (!this.finalized) {\n        var allFields = this.allFields;\n        var allSupertypes = this.allSupertypes;\n\n        this.baseNames.forEach(function(name) {\n            var def = defCache[name];\n            def.finalize();\n            extend(allFields, def.allFields);\n            extend(allSupertypes, def.allSupertypes);\n        });\n\n        // TODO Warn if fields are overridden with incompatible types.\n        extend(allFields, this.ownFields);\n        allSupertypes[this.typeName] = this;\n\n        // Types are exported only once they have been finalized.\n        Object.defineProperty(namedTypes, this.typeName, {\n            enumerable: true,\n            value: this.type\n        });\n\n        Object.defineProperty(this, \"finalized\", { value: true });\n    }\n};\n\nfunction extend(into, from) {\n    Object.keys(from).forEach(function(name) {\n        into[name] = from[name];\n    });\n\n    return into;\n};\n\nObject.defineProperty(exports, \"finalize\", {\n    // This function should be called at the end of any complete file of\n    // type definitions. It declares that everything defined so far is\n    // complete and needs no further modification, and defines all\n    // finalized types as properties of exports.namedTypes.\n    value: function() {\n        Object.keys(defCache).forEach(function(name) {\n            defCache[name].finalize();\n        });\n    }\n});\n\n},{\"assert\":65}],19:[function(require,module,exports){\nvar types = require(\"./lib/types\");\n\n// This core module of AST types captures ES5 as it is parsed today by\n// git://github.com/ariya/esprima.git#master.\nrequire(\"./def/core\");\n\n// Feel free to add to or remove from this list of extension modules to\n// configure the precise type hierarchy that you need.\nrequire(\"./def/es6\");\nrequire(\"./def/mozilla\");\nrequire(\"./def/e4x\");\nrequire(\"./def/fb-harmony\");\n\nexports.Type = types.Type;\nexports.builtInTypes = types.builtInTypes;\nexports.namedTypes = types.namedTypes;\nexports.builders = types.builders;\nexports.defineMethod = types.defineMethod;\nexports.getFieldValue = types.getFieldValue;\nexports.eachField = types.eachField;\nexports.someField = types.someField;\nexports.traverse = require(\"./lib/traverse\");\nexports.finalize = types.finalize;\nexports.NodePath = require(\"./lib/node-path\");\n\n},{\"./def/core\":9,\"./def/e4x\":10,\"./def/es6\":11,\"./def/fb-harmony\":12,\"./def/mozilla\":13,\"./lib/node-path\":14,\"./lib/traverse\":17,\"./lib/types\":18}],20:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar getChildCache = require(\"private\").makeAccessor();\nvar Op = Object.prototype;\nvar hasOwn = Op.hasOwnProperty;\nvar toString = Op.toString;\nvar arrayToString = toString.call([]);\nvar Ap = Array.prototype;\nvar slice = Ap.slice;\nvar map = Ap.map;\n\nfunction Path(value, parentPath, name) {\n  assert.ok(this instanceof Path);\n\n  if (parentPath) {\n    assert.ok(parentPath instanceof Path);\n  } else {\n    parentPath = null;\n    name = null;\n  }\n\n  Object.defineProperties(this, {\n    // The value encapsulated by this Path, generally equal to\n    // parentPath.value[name] if we have a parentPath.\n    value: { value: value },\n\n    // The immediate parent Path of this Path.\n    parentPath: { value: parentPath },\n\n    // The name of the property of parentPath.value through which this\n    // Path's value was reached.\n    name: {\n      value: name,\n      configurable: true\n    }\n  });\n}\n\nvar Pp = Path.prototype;\n\nfunction getChildPath(path, name) {\n  var cache = getChildCache(path);\n  return hasOwn.call(cache, name)\n    ? cache[name]\n    : cache[name] = new path.constructor(\n        path.getValueProperty(name), path, name);\n}\n\n// This method is designed to be overridden by subclasses that need to\n// handle missing properties, etc.\nPp.getValueProperty = function(name) {\n  return this.value[name];\n};\n\nPp.get = function(name) {\n  var path = this;\n  var names = arguments;\n  var count = names.length;\n\n  for (var i = 0; i < count; ++i) {\n    path = getChildPath(path, names[i]);\n  }\n\n  return path;\n};\n\nPp.each = function(callback, context) {\n  var childPaths = [];\n  var len = this.value.length;\n  var i = 0;\n\n  // Collect all the original child paths before invoking the callback.\n  for (var i = 0; i < len; ++i) {\n    if (hasOwn.call(this.value, i)) {\n      childPaths[i] = this.get(i);\n    }\n  }\n\n  // Invoke the callback on just the original child paths, regardless of\n  // any modifications made to the array by the callback. I chose these\n  // semantics over cleverly invoking the callback on new elements because\n  // this way is much easier to reason about.\n  context = context || this;\n  for (i = 0; i < len; ++i) {\n    if (hasOwn.call(childPaths, i)) {\n      callback.call(context, childPaths[i]);\n    }\n  }\n};\n\nPp.map = function(callback, context) {\n  var result = [];\n\n  this.each(function(childPath) {\n    result.push(callback.call(this, childPath));\n  }, context);\n\n  return result;\n};\n\nPp.filter = function(callback, context) {\n  var result = [];\n\n  this.each(function(childPath) {\n    if (callback.call(this, childPath)) {\n      result.push(childPath);\n    }\n  }, context);\n\n  return result;\n};\n\nPp.replace = function(replacement) {\n  var count = arguments.length;\n\n  assert.ok(\n    this.parentPath instanceof Path,\n    \"Instead of replacing the root of the tree, create a new tree.\"\n  );\n\n  var name = this.name;\n  var parentValue = this.parentPath.value;\n  var parentCache = getChildCache(this.parentPath);\n  var results = [];\n\n  if (toString.call(parentValue) === arrayToString) {\n    delete parentCache.length;\n    delete parentCache[name];\n\n    var moved = {};\n\n    for (var i = name + 1; i < parentValue.length; ++i) {\n      var child = parentCache[i];\n      if (child) {\n        var newIndex = i - 1 + count;\n        moved[newIndex] = child;\n        Object.defineProperty(child, \"name\", { value: newIndex });\n        delete parentCache[i];\n      }\n    }\n\n    var args = slice.call(arguments);\n    args.unshift(name, 1);\n    parentValue.splice.apply(parentValue, args);\n\n    for (newIndex in moved) {\n      if (hasOwn.call(moved, newIndex)) {\n        parentCache[newIndex] = moved[newIndex];\n      }\n    }\n\n    for (i = name; i < name + count; ++i) {\n      results.push(this.parentPath.get(i));\n    }\n\n  } else if (count === 1) {\n    delete parentCache[name];\n    parentValue[name] = replacement;\n    results.push(this.parentPath.get(name));\n\n  } else if (count === 0) {\n    delete parentCache[name];\n    delete parentValue[name];\n\n  } else {\n    assert.ok(false, \"Could not replace Path.\");\n  }\n\n  return results;\n};\n\nexports.Path = Path;\n\n},{\"assert\":65,\"private\":22}],21:[function(require,module,exports){\nexports.Path = require(\"./lib/path\").Path;\n\n},{\"./lib/path\":20}],22:[function(require,module,exports){\n\"use strict\";\n\nvar defProp = Object.defineProperty || function(obj, name, desc) {\n    // Normal property assignment is the best we can do if\n    // Object.defineProperty is not available.\n    obj[name] = desc.value;\n};\n\n// For functions that will be invoked using .call or .apply, we need to\n// define those methods on the function objects themselves, rather than\n// inheriting them from Function.prototype, so that a malicious or clumsy\n// third party cannot interfere with the functionality of this module by\n// redefining Function.prototype.call or .apply.\nfunction makeSafeToCall(fun) {\n    defProp(fun, \"call\", { value: fun.call });\n    defProp(fun, \"apply\", { value: fun.apply });\n    return fun;\n}\n\nvar hasOwn = makeSafeToCall(Object.prototype.hasOwnProperty);\nvar numToStr = makeSafeToCall(Number.prototype.toString);\nvar strSlice = makeSafeToCall(String.prototype.slice);\n\nvar cloner = function(){};\nvar create = Object.create || function(prototype, properties) {\n    cloner.prototype = prototype || null;\n    var obj = new cloner;\n\n    // The properties parameter is unused by this module, but I want this\n    // shim to be as complete as possible.\n    if (properties)\n        for (var name in properties)\n            if (hasOwn.call(properties, name))\n                defProp(obj, name, properties[name]);\n\n    return obj;\n};\n\nvar rand = Math.random;\nvar uniqueKeys = create(null);\n\nfunction makeUniqueKey() {\n    // Collisions are highly unlikely, but this module is in the business\n    // of making guarantees rather than safe bets.\n    do var uniqueKey = strSlice.call(numToStr.call(rand(), 36), 2);\n    while (hasOwn.call(uniqueKeys, uniqueKey));\n    return uniqueKeys[uniqueKey] = uniqueKey;\n}\n\n// External users might find this function useful, but it is not necessary\n// for the typical use of this module.\ndefProp(exports, \"makeUniqueKey\", {\n    value: makeUniqueKey\n});\n\nfunction makeAccessor() {\n    var secrets = [];\n    var brand = makeUniqueKey();\n\n    function register(object) {\n        var key = secrets.length;\n        defProp(object, brand, { value: key });\n        secrets[key] = {\n            object: object,\n            value: create(null)\n        };\n    }\n\n    return function(object) {\n        if (!hasOwn.call(object, brand))\n            register(object);\n\n        var secret = secrets[object[brand]];\n        if (secret.object === object)\n            return secret.value;\n    };\n}\n\ndefProp(exports, \"makeAccessor\", {\n    value: makeAccessor\n});\n\n},{}],23:[function(require,module,exports){\n\"use strict\";\n\nvar assert = require(\"assert\");\nvar is = require(\"simple-is\");\nvar fmt = require(\"simple-fmt\");\nvar stringmap = require(\"stringmap\");\nvar stringset = require(\"stringset\");\nvar alter = require(\"alter\");\nvar traverse = require(\"ast-traverse\");\nvar breakable = require(\"breakable\");\nvar Scope = require(\"./scope\");\nvar error = require(\"./error\");\nvar options = require(\"./options\");\nvar Stats = require(\"./stats\");\nvar jshint_vars = require(\"./jshint_globals/vars.js\");\n\n\nfunction getline(node) {\n    return node.loc.start.line;\n}\n\nfunction isConstLet(kind) {\n    return is.someof(kind, [\"const\", \"let\"]);\n}\n\nfunction isVarConstLet(kind) {\n    return is.someof(kind, [\"var\", \"const\", \"let\"]);\n}\n\nfunction isNonFunctionBlock(node) {\n    return node.type === \"BlockStatement\" && is.noneof(node.$parent.type, [\"FunctionDeclaration\", \"FunctionExpression\"]);\n}\n\nfunction isForWithConstLet(node) {\n    return node.type === \"ForStatement\" && node.init && node.init.type === \"VariableDeclaration\" && isConstLet(node.init.kind);\n}\n\nfunction isForInWithConstLet(node) {\n    return node.type === \"ForInStatement\" && node.left.type === \"VariableDeclaration\" && isConstLet(node.left.kind);\n}\n\nfunction isFunction(node) {\n    return is.someof(node.type, [\"FunctionDeclaration\", \"FunctionExpression\"]);\n}\n\nfunction isLoop(node) {\n    return is.someof(node.type, [\"ForStatement\", \"ForInStatement\", \"WhileStatement\", \"DoWhileStatement\"]);\n}\n\nfunction isReference(node) {\n    var parent = node.$parent;\n    return node.$refToScope ||\n        node.type === \"Identifier\" &&\n        !(parent.type === \"VariableDeclarator\" && parent.id === node) && // var|let|const $\n        !(parent.type === \"MemberExpression\" && parent.computed === false && parent.property === node) && // obj.$\n        !(parent.type === \"Property\" && parent.key === node) && // {$: ...}\n        !(parent.type === \"LabeledStatement\" && parent.label === node) && // $: ...\n        !(parent.type === \"CatchClause\" && parent.param === node) && // catch($)\n        !(isFunction(parent) && parent.id === node) && // function $(..\n        !(isFunction(parent) && is.someof(node, parent.params)) && // function f($)..\n        true;\n}\n\nfunction isLvalue(node) {\n    return isReference(node) &&\n        ((node.$parent.type === \"AssignmentExpression\" && node.$parent.left === node) ||\n            (node.$parent.type === \"UpdateExpression\" && node.$parent.argument === node));\n}\n\nfunction createScopes(node, parent) {\n    assert(!node.$scope);\n\n    node.$parent = parent;\n    node.$scope = node.$parent ? node.$parent.$scope : null; // may be overridden\n\n    if (node.type === \"Program\") {\n        // Top-level program is a scope\n        // There's no block-scope under it\n        node.$scope = new Scope({\n            kind: \"hoist\",\n            node: node,\n            parent: null,\n        });\n\n    } else if (isFunction(node)) {\n        // Function is a scope, with params in it\n        // There's no block-scope under it\n\n        node.$scope = new Scope({\n            kind: \"hoist\",\n            node: node,\n            parent: node.$parent.$scope,\n        });\n\n        // function has a name\n        if (node.id) {\n            assert(node.id.type === \"Identifier\");\n\n            if (node.type === \"FunctionDeclaration\") {\n                // Function name goes in parent scope for declared functions\n                node.$parent.$scope.add(node.id.name, \"fun\", node.id, null);\n            } else if (node.type === \"FunctionExpression\") {\n                // Function name goes in function's scope for named function expressions\n                node.$scope.add(node.id.name, \"fun\", node.id, null);\n            } else {\n                assert(false);\n            }\n        }\n\n        node.params.forEach(function(param) {\n            node.$scope.add(param.name, \"param\", param, null);\n        });\n\n    } else if (node.type === \"VariableDeclaration\") {\n        // Variable declarations names goes in current scope\n        assert(isVarConstLet(node.kind));\n        node.declarations.forEach(function(declarator) {\n            assert(declarator.type === \"VariableDeclarator\");\n            var name = declarator.id.name;\n            if (options.disallowVars && node.kind === \"var\") {\n                error(getline(declarator), \"var {0} is not allowed (use let or const)\", name);\n            }\n            node.$scope.add(name, node.kind, declarator.id, declarator.range[1]);\n        });\n\n    } else if (isForWithConstLet(node) || isForInWithConstLet(node)) {\n        // For(In) loop with const|let declaration is a scope, with declaration in it\n        // There may be a block-scope under it\n        node.$scope = new Scope({\n            kind: \"block\",\n            node: node,\n            parent: node.$parent.$scope,\n        });\n\n    } else if (isNonFunctionBlock(node)) {\n        // A block node is a scope unless parent is a function\n        node.$scope = new Scope({\n            kind: \"block\",\n            node: node,\n            parent: node.$parent.$scope,\n        });\n\n    } else if (node.type === \"CatchClause\") {\n        var identifier = node.param;\n\n        node.$scope = new Scope({\n            kind: \"catch-block\",\n            node: node,\n            parent: node.$parent.$scope,\n        });\n        node.$scope.add(identifier.name, \"caught\", identifier, null);\n\n        // All hoist-scope keeps track of which variables that are propagated through,\n        // i.e. an reference inside the scope points to a declaration outside the scope.\n        // This is used to mark \"taint\" the name since adding a new variable in the scope,\n        // with a propagated name, would change the meaning of the existing references.\n        //\n        // catch(e) is special because even though e is a variable in its own scope,\n        // we want to make sure that catch(e){let e} is never transformed to\n        // catch(e){var e} (but rather var e$0). For that reason we taint the use of e\n        // in the closest hoist-scope, i.e. where var e$0 belongs.\n        node.$scope.closestHoistScope().markPropagates(identifier.name);\n    }\n}\n\nfunction createTopScope(programScope, environments, globals) {\n    function inject(obj) {\n        for (var name in obj) {\n            var writeable = obj[name];\n            var kind = (writeable ? \"var\" : \"const\");\n            if (topScope.hasOwn(name)) {\n                topScope.remove(name);\n            }\n            topScope.add(name, kind, {loc: {start: {line: -1}}}, -1);\n        }\n    }\n\n    var topScope = new Scope({\n        kind: \"hoist\",\n        node: {},\n        parent: null,\n    });\n\n    var complementary = {\n        undefined: false,\n        Infinity: false,\n        console: false,\n    };\n\n    inject(complementary);\n    inject(jshint_vars.reservedVars);\n    inject(jshint_vars.ecmaIdentifiers);\n    if (environments) {\n        environments.forEach(function(env) {\n            if (!jshint_vars[env]) {\n                error(-1, 'environment \"{0}\" not found', env);\n            } else {\n                inject(jshint_vars[env]);\n            }\n        });\n    }\n    if (globals) {\n        inject(globals);\n    }\n\n    // link it in\n    programScope.parent = topScope;\n    topScope.children.push(programScope);\n\n    return topScope;\n}\n\nfunction setupReferences(ast, allIdentifiers, opts) {\n    var analyze = (is.own(opts, \"analyze\") ? opts.analyze : true);\n\n    function visit(node) {\n        if (!isReference(node)) {\n            return;\n        }\n        allIdentifiers.add(node.name);\n\n        var scope = node.$scope.lookup(node.name);\n        if (analyze && !scope && options.disallowUnknownReferences) {\n            error(getline(node), \"reference to unknown global variable {0}\", node.name);\n        }\n        // check const and let for referenced-before-declaration\n        if (analyze && scope && is.someof(scope.getKind(node.name), [\"const\", \"let\"])) {\n            var allowedFromPos = scope.getFromPos(node.name);\n            var referencedAtPos = node.range[0];\n            assert(is.finitenumber(allowedFromPos));\n            assert(is.finitenumber(referencedAtPos));\n            if (referencedAtPos < allowedFromPos) {\n                if (!node.$scope.hasFunctionScopeBetween(scope)) {\n                    error(getline(node), \"{0} is referenced before its declaration\", node.name);\n                }\n            }\n        }\n        node.$refToScope = scope;\n    }\n\n    traverse(ast, {pre: visit});\n}\n\n// TODO for loops init and body props are parallel to each other but init scope is outer that of body\n// TODO is this a problem?\n\nfunction varify(ast, stats, allIdentifiers, changes) {\n    function unique(name) {\n        assert(allIdentifiers.has(name));\n        for (var cnt = 0; ; cnt++) {\n            var genName = name + \"$\" + String(cnt);\n            if (!allIdentifiers.has(genName)) {\n                return genName;\n            }\n        }\n    }\n\n    function renameDeclarations(node) {\n        if (node.type === \"VariableDeclaration\" && isConstLet(node.kind)) {\n            var hoistScope = node.$scope.closestHoistScope();\n            var origScope = node.$scope;\n\n            // text change const|let => var\n            changes.push({\n                start: node.range[0],\n                end: node.range[0] + node.kind.length,\n                str: \"var\",\n            });\n\n            node.declarations.forEach(function(declarator) {\n                assert(declarator.type === \"VariableDeclarator\");\n                var name = declarator.id.name;\n\n                stats.declarator(node.kind);\n\n                // rename if\n                // 1) name already exists in hoistScope, or\n                // 2) name is already propagated (passed) through hoistScope or manually tainted\n                var rename = (origScope !== hoistScope &&\n                    (hoistScope.hasOwn(name) || hoistScope.doesPropagate(name)));\n\n                var newName = (rename ? unique(name) : name);\n\n                origScope.remove(name);\n                hoistScope.add(newName, \"var\", declarator.id, declarator.range[1]);\n\n                origScope.moves = origScope.moves || stringmap();\n                origScope.moves.set(name, {\n                    name: newName,\n                    scope: hoistScope,\n                });\n\n                allIdentifiers.add(newName);\n\n                if (newName !== name) {\n                    stats.rename(name, newName, getline(declarator));\n\n                    declarator.id.originalName = name;\n                    declarator.id.name = newName;\n\n                    // textchange var x => var x$1\n                    changes.push({\n                        start: declarator.id.range[0],\n                        end: declarator.id.range[1],\n                        str: newName,\n                    });\n                }\n            });\n\n            // ast change const|let => var\n            node.kind = \"var\";\n        }\n    }\n\n    function renameReferences(node) {\n        if (!node.$refToScope) {\n            return;\n        }\n        var move = node.$refToScope.moves && node.$refToScope.moves.get(node.name);\n        if (!move) {\n            return;\n        }\n        node.$refToScope = move.scope;\n\n        if (node.name !== move.name) {\n            node.originalName = node.name;\n            node.name = move.name;\n\n            if (node.alterop) {\n                // node has no range because it is the result of another alter operation\n                var existingOp = null;\n                for (var i = 0; i < changes.length; i++) {\n                    var op = changes[i];\n                    if (op.node === node) {\n                        existingOp = op;\n                        break;\n                    }\n                }\n                assert(existingOp);\n\n                // modify op\n                existingOp.str = move.name;\n            } else {\n                changes.push({\n                    start: node.range[0],\n                    end: node.range[1],\n                    str: move.name,\n                });\n            }\n        }\n    }\n\n    traverse(ast, {pre: renameDeclarations});\n    traverse(ast, {pre: renameReferences});\n    ast.$scope.traverse({pre: function(scope) {\n        delete scope.moves;\n    }});\n}\n\n\nfunction detectLoopClosures(ast) {\n    traverse(ast, {pre: visit});\n\n    function detectIifyBodyBlockers(body, node) {\n        return breakable(function(brk) {\n            traverse(body, {pre: function(n) {\n                // if we hit an inner function of the loop body, don't traverse further\n                if (isFunction(n)) {\n                    return false;\n                }\n\n                var err = true; // reset to false in else-statement below\n                var msg = \"loop-variable {0} is captured by a loop-closure that can't be transformed due to use of {1} at line {2}\";\n                if (n.type === \"BreakStatement\") {\n                    error(getline(node), msg, node.name, \"break\", getline(n));\n                } else if (n.type === \"ContinueStatement\") {\n                    error(getline(node), msg, node.name, \"continue\", getline(n));\n                } else if (n.type === \"ReturnStatement\") {\n                    error(getline(node), msg, node.name, \"return\", getline(n));\n                } else if (n.type === \"YieldExpression\") {\n                    error(getline(node), msg, node.name, \"yield\", getline(n));\n                } else if (n.type === \"Identifier\" && n.name === \"arguments\") {\n                    error(getline(node), msg, node.name, \"arguments\", getline(n));\n                } else if (n.type === \"VariableDeclaration\" && n.kind === \"var\") {\n                    error(getline(node), msg, node.name, \"var\", getline(n));\n                } else {\n                    err = false;\n                }\n                if (err) {\n                    brk(true); // break traversal\n                }\n            }});\n            return false;\n        });\n    }\n\n    function visit(node) {\n        // forbidden pattern:\n        // <any>* <loop> <non-fn>* <constlet-def> <any>* <fn> <any>* <constlet-ref>\n        var loopNode = null;\n        if (isReference(node) && node.$refToScope && isConstLet(node.$refToScope.getKind(node.name))) {\n            // traverse nodes up towards root from constlet-def\n            // if we hit a function (before a loop) - ok!\n            // if we hit a loop - maybe-ouch\n            // if we reach root - ok!\n            for (var n = node.$refToScope.node; ; ) {\n                if (isFunction(n)) {\n                    // we're ok (function-local)\n                    return;\n                } else if (isLoop(n)) {\n                    loopNode = n;\n                    // maybe not ok (between loop and function)\n                    break;\n                }\n                n = n.$parent;\n                if (!n) {\n                    // ok (reached root)\n                    return;\n                }\n            }\n\n            assert(isLoop(loopNode));\n\n            // traverse scopes from reference-scope up towards definition-scope\n            // if we hit a function, ouch!\n            var defScope = node.$refToScope;\n            var generateIIFE = (options.loopClosures === \"iife\");\n\n            for (var s = node.$scope; s; s = s.parent) {\n                if (s === defScope) {\n                    // we're ok\n                    return;\n                } else if (isFunction(s.node)) {\n                    // not ok (there's a function between the reference and definition)\n                    // may be transformable via IIFE\n\n                    if (!generateIIFE) {\n                        var msg = \"loop-variable {0} is captured by a loop-closure. Tried \\\"loopClosures\\\": \\\"iife\\\" in defs-config.json?\";\n                        return error(getline(node), msg, node.name);\n                    }\n\n                    // here be dragons\n                    // for (let x = ..; .. ; ..) { (function(){x})() } is forbidden because of current\n                    // spec and VM status\n                    if (loopNode.type === \"ForStatement\" && defScope.node === loopNode) {\n                        var declarationNode = defScope.getNode(node.name);\n                        return error(getline(declarationNode), \"Not yet specced ES6 feature. {0} is declared in for-loop header and then captured in loop closure\", declarationNode.name);\n                    }\n\n                    // speak now or forever hold your peace\n                    if (detectIifyBodyBlockers(loopNode.body, node)) {\n                        // error already generated\n                        return;\n                    }\n\n                    // mark loop for IIFE-insertion\n                    loopNode.$iify = true;\n                }\n            }\n        }\n    }\n}\n\nfunction transformLoopClosures(root, ops, options) {\n    function insertOp(pos, str, node) {\n        var op = {\n            start: pos,\n            end: pos,\n            str: str,\n        }\n        if (node) {\n            op.node = node;\n        }\n        ops.push(op);\n    }\n\n    traverse(root, {pre: function(node) {\n        if (!node.$iify) {\n            return;\n        }\n\n        var hasBlock = (node.body.type === \"BlockStatement\");\n\n        var insertHead = (hasBlock ?\n            node.body.range[0] + 1 : // just after body {\n            node.body.range[0]); // just before existing expression\n        var insertFoot = (hasBlock ?\n            node.body.range[1] - 1 : // just before body }\n            node.body.range[1]);  // just after existing expression\n\n        var forInName = (node.type === \"ForInStatement\" && node.left.declarations[0].id.name);;\n        var iifeHead = fmt(\"(function({0}){\", forInName ? forInName : \"\");\n        var iifeTail = fmt(\"}).call(this{0});\", forInName ? \", \" + forInName : \"\");\n\n        // modify AST\n        var iifeFragment = options.parse(iifeHead + iifeTail);\n        var iifeExpressionStatement = iifeFragment.body[0];\n        var iifeBlockStatement = iifeExpressionStatement.expression.callee.object.body;\n\n        if (hasBlock) {\n            var forBlockStatement = node.body;\n            var tmp = forBlockStatement.body;\n            forBlockStatement.body = [iifeExpressionStatement];\n            iifeBlockStatement.body = tmp;\n        } else {\n            var tmp$0 = node.body;\n            node.body = iifeExpressionStatement;\n            iifeBlockStatement.body[0] = tmp$0;\n        }\n\n        // create ops\n        insertOp(insertHead, iifeHead);\n\n        if (forInName) {\n            insertOp(insertFoot, \"}).call(this, \");\n\n            var args = iifeExpressionStatement.expression.arguments;\n            var iifeArgumentIdentifier = args[1];\n            iifeArgumentIdentifier.alterop = true;\n            insertOp(insertFoot, forInName, iifeArgumentIdentifier);\n\n            insertOp(insertFoot, \");\");\n        } else {\n            insertOp(insertFoot, iifeTail);\n        }\n    }});\n}\n\nfunction detectConstAssignment(ast) {\n    traverse(ast, {pre: function(node) {\n        if (isLvalue(node)) {\n            var scope = node.$scope.lookup(node.name);\n            if (scope && scope.getKind(node.name) === \"const\") {\n                error(getline(node), \"can't assign to const variable {0}\", node.name);\n            }\n        }\n    }});\n}\n\nfunction detectConstantLets(ast) {\n    traverse(ast, {pre: function(node) {\n        if (isLvalue(node)) {\n            var scope = node.$scope.lookup(node.name);\n            if (scope) {\n                scope.markWrite(node.name);\n            }\n        }\n    }});\n\n    ast.$scope.detectUnmodifiedLets();\n}\n\nfunction setupScopeAndReferences(root, opts) {\n    // setup scopes\n    traverse(root, {pre: createScopes});\n    var topScope = createTopScope(root.$scope, options.environments, options.globals);\n\n    // allIdentifiers contains all declared and referenced vars\n    // collect all declaration names (including those in topScope)\n    var allIdentifiers = stringset();\n    topScope.traverse({pre: function(scope) {\n        allIdentifiers.addMany(scope.decls.keys());\n    }});\n\n    // setup node.$refToScope, check for errors.\n    // also collects all referenced names to allIdentifiers\n    setupReferences(root, allIdentifiers, opts);\n    return allIdentifiers;\n}\n\nfunction cleanupTree(root) {\n    traverse(root, {pre: function(node) {\n        for (var prop in node) {\n            if (prop[0] === \"$\") {\n                delete node[prop];\n            }\n        }\n    }});\n}\n\nfunction run(src, config) {\n    // alter the options singleton with user configuration\n    for (var key in config) {\n        options[key] = config[key];\n    }\n\n    var parsed;\n\n    if (is.object(src)) {\n        if (!options.ast) {\n            return {\n                errors: [\n                    \"Can't produce string output when input is an AST. \" +\n                    \"Did you forget to set options.ast = true?\"\n                ],\n            };\n        }\n\n        // Received an AST object as src, so no need to parse it.\n        parsed = src;\n\n    } else if (is.string(src)) {\n        try {\n            parsed = options.parse(src, {\n                loc: true,\n                range: true,\n            });\n        } catch (e) {\n            return {\n                errors: [\n                    fmt(\"line {0} column {1}: Error during input file parsing\\n{2}\\n{3}\",\n                        e.lineNumber,\n                        e.column,\n                        src.split(\"\\n\")[e.lineNumber - 1],\n                        fmt.repeat(\" \", e.column - 1) + \"^\")\n                ],\n            };\n        }\n\n    } else {\n        return {\n            errors: [\"Input was neither an AST object nor a string.\"],\n        };\n    }\n\n    var ast = parsed;\n\n    // TODO detect unused variables (never read)\n    error.reset();\n\n    var allIdentifiers = setupScopeAndReferences(ast, {});\n\n    // static analysis passes\n    detectLoopClosures(ast);\n    detectConstAssignment(ast);\n    //detectConstantLets(ast);\n\n    var changes = [];\n    transformLoopClosures(ast, changes, options);\n\n    //ast.$scope.print(); process.exit(-1);\n\n    if (error.errors.length >= 1) {\n        return {\n            errors: error.errors,\n        };\n    }\n\n    if (changes.length > 0) {\n        cleanupTree(ast);\n        allIdentifiers = setupScopeAndReferences(ast, {analyze: false});\n    }\n    assert(error.errors.length === 0);\n\n    // change constlet declarations to var, renamed if needed\n    // varify modifies the scopes and AST accordingly and\n    // returns a list of change fragments (to use with alter)\n    var stats = new Stats();\n    varify(ast, stats, allIdentifiers, changes);\n\n    if (options.ast) {\n        // return the modified AST instead of src code\n        // get rid of all added $ properties first, such as $parent and $scope\n        cleanupTree(ast);\n        return {\n            stats: stats,\n            ast: ast,\n        };\n    } else {\n        // apply changes produced by varify and return the transformed src\n        var transformedSrc = alter(src, changes);\n        return {\n            stats: stats,\n            src: transformedSrc,\n        };\n    }\n}\n\nmodule.exports = run;\n\n},{\"./error\":24,\"./jshint_globals/vars.js\":25,\"./options\":26,\"./scope\":27,\"./stats\":28,\"alter\":29,\"assert\":65,\"ast-traverse\":31,\"breakable\":32,\"simple-fmt\":34,\"simple-is\":35,\"stringmap\":36,\"stringset\":37}],24:[function(require,module,exports){\n\"use strict\";\n\nvar fmt = require(\"simple-fmt\");\nvar assert = require(\"assert\");\n\nfunction error(line, var_args) {\n    assert(arguments.length >= 2);\n\n    var msg = (arguments.length === 2 ?\n        String(var_args) : fmt.apply(fmt, Array.prototype.slice.call(arguments, 1)));\n\n    error.errors.push(line === -1 ? msg : fmt(\"line {0}: {1}\", line, msg));\n}\n\nerror.reset = function() {\n    error.errors = [];\n};\n\nerror.reset();\n\nmodule.exports = error;\n\n},{\"assert\":65,\"simple-fmt\":34}],25:[function(require,module,exports){\n// jshint -W001\n\n\"use strict\";\n\n// Identifiers provided by the ECMAScript standard.\n\nexports.reservedVars = {\n\targuments : false,\n\tNaN       : false\n};\n\nexports.ecmaIdentifiers = {\n\tArray              : false,\n\tBoolean            : false,\n\tDate               : false,\n\tdecodeURI          : false,\n\tdecodeURIComponent : false,\n\tencodeURI          : false,\n\tencodeURIComponent : false,\n\tError              : false,\n\t\"eval\"             : false,\n\tEvalError          : false,\n\tFunction           : false,\n\thasOwnProperty     : false,\n\tisFinite           : false,\n\tisNaN              : false,\n\tJSON               : false,\n\tMath               : false,\n\tMap                : false,\n\tNumber             : false,\n\tObject             : false,\n\tparseInt           : false,\n\tparseFloat         : false,\n\tRangeError         : false,\n\tReferenceError     : false,\n\tRegExp             : false,\n\tSet                : false,\n\tString             : false,\n\tSyntaxError        : false,\n\tTypeError          : false,\n\tURIError           : false,\n\tWeakMap            : false\n};\n\n// Global variables commonly provided by a web browser environment.\n\nexports.browser = {\n\tArrayBuffer          : false,\n\tArrayBufferView      : false,\n\tAudio                : false,\n\tBlob                 : false,\n\taddEventListener     : false,\n\tapplicationCache     : false,\n\tatob                 : false,\n\tblur                 : false,\n\tbtoa                 : false,\n\tclearInterval        : false,\n\tclearTimeout         : false,\n\tclose                : false,\n\tclosed               : false,\n\tDataView             : false,\n\tDOMParser            : false,\n\tdefaultStatus        : false,\n\tdocument             : false,\n\tElement              : false,\n\tevent                : false,\n\tFileReader           : false,\n\tFloat32Array         : false,\n\tFloat64Array         : false,\n\tFormData             : false,\n\tfocus                : false,\n\tframes               : false,\n\tgetComputedStyle     : false,\n\tHTMLElement          : false,\n\tHTMLAnchorElement    : false,\n\tHTMLBaseElement      : false,\n\tHTMLBlockquoteElement: false,\n\tHTMLBodyElement      : false,\n\tHTMLBRElement        : false,\n\tHTMLButtonElement    : false,\n\tHTMLCanvasElement    : false,\n\tHTMLDirectoryElement : false,\n\tHTMLDivElement       : false,\n\tHTMLDListElement     : false,\n\tHTMLFieldSetElement  : false,\n\tHTMLFontElement      : false,\n\tHTMLFormElement      : false,\n\tHTMLFrameElement     : false,\n\tHTMLFrameSetElement  : false,\n\tHTMLHeadElement      : false,\n\tHTMLHeadingElement   : false,\n\tHTMLHRElement        : false,\n\tHTMLHtmlElement      : false,\n\tHTMLIFrameElement    : false,\n\tHTMLImageElement     : false,\n\tHTMLInputElement     : false,\n\tHTMLIsIndexElement   : false,\n\tHTMLLabelElement     : false,\n\tHTMLLayerElement     : false,\n\tHTMLLegendElement    : false,\n\tHTMLLIElement        : false,\n\tHTMLLinkElement      : false,\n\tHTMLMapElement       : false,\n\tHTMLMenuElement      : false,\n\tHTMLMetaElement      : false,\n\tHTMLModElement       : false,\n\tHTMLObjectElement    : false,\n\tHTMLOListElement     : false,\n\tHTMLOptGroupElement  : false,\n\tHTMLOptionElement    : false,\n\tHTMLParagraphElement : false,\n\tHTMLParamElement     : false,\n\tHTMLPreElement       : false,\n\tHTMLQuoteElement     : false,\n\tHTMLScriptElement    : false,\n\tHTMLSelectElement    : false,\n\tHTMLStyleElement     : false,\n\tHTMLTableCaptionElement: false,\n\tHTMLTableCellElement : false,\n\tHTMLTableColElement  : false,\n\tHTMLTableElement     : false,\n\tHTMLTableRowElement  : false,\n\tHTMLTableSectionElement: false,\n\tHTMLTextAreaElement  : false,\n\tHTMLTitleElement     : false,\n\tHTMLUListElement     : false,\n\tHTMLVideoElement     : false,\n\thistory              : false,\n\tInt16Array           : false,\n\tInt32Array           : false,\n\tInt8Array            : false,\n\tImage                : false,\n\tlength               : false,\n\tlocalStorage         : false,\n\tlocation             : false,\n\tMessageChannel       : false,\n\tMessageEvent         : false,\n\tMessagePort          : false,\n\tmoveBy               : false,\n\tmoveTo               : false,\n\tMutationObserver     : false,\n\tname                 : false,\n\tNode                 : false,\n\tNodeFilter           : false,\n\tnavigator            : false,\n\tonbeforeunload       : true,\n\tonblur               : true,\n\tonerror              : true,\n\tonfocus              : true,\n\tonload               : true,\n\tonresize             : true,\n\tonunload             : true,\n\topen                 : false,\n\topenDatabase         : false,\n\topener               : false,\n\tOption               : false,\n\tparent               : false,\n\tprint                : false,\n\tremoveEventListener  : false,\n\tresizeBy             : false,\n\tresizeTo             : false,\n\tscreen               : false,\n\tscroll               : false,\n\tscrollBy             : false,\n\tscrollTo             : false,\n\tsessionStorage       : false,\n\tsetInterval          : false,\n\tsetTimeout           : false,\n\tSharedWorker         : false,\n\tstatus               : false,\n\ttop                  : false,\n\tUint16Array          : false,\n\tUint32Array          : false,\n\tUint8Array           : false,\n\tUint8ClampedArray    : false,\n\tWebSocket            : false,\n\twindow               : false,\n\tWorker               : false,\n\tXMLHttpRequest       : false,\n\tXMLSerializer        : false,\n\tXPathEvaluator       : false,\n\tXPathException       : false,\n\tXPathExpression      : false,\n\tXPathNamespace       : false,\n\tXPathNSResolver      : false,\n\tXPathResult          : false\n};\n\nexports.devel = {\n\talert  : false,\n\tconfirm: false,\n\tconsole: false,\n\tDebug  : false,\n\topera  : false,\n\tprompt : false\n};\n\nexports.worker = {\n\timportScripts: true,\n\tpostMessage  : true,\n\tself         : true\n};\n\n// Widely adopted global names that are not part of ECMAScript standard\nexports.nonstandard = {\n\tescape  : false,\n\tunescape: false\n};\n\n// Globals provided by popular JavaScript environments.\n\nexports.couch = {\n\t\"require\" : false,\n\trespond   : false,\n\tgetRow    : false,\n\temit      : false,\n\tsend      : false,\n\tstart     : false,\n\tsum       : false,\n\tlog       : false,\n\texports   : false,\n\tmodule    : false,\n\tprovides  : false\n};\n\nexports.node = {\n\t__filename   : false,\n\t__dirname    : false,\n\tBuffer       : false,\n\tDataView     : false,\n\tconsole      : false,\n\texports      : true,  // In Node it is ok to exports = module.exports = foo();\n\tGLOBAL       : false,\n\tglobal       : false,\n\tmodule       : false,\n\tprocess      : false,\n\trequire      : false,\n\tsetTimeout   : false,\n\tclearTimeout : false,\n\tsetInterval  : false,\n\tclearInterval: false\n};\n\nexports.phantom = {\n\tphantom      : true,\n\trequire      : true,\n\tWebPage      : true\n};\n\nexports.rhino = {\n\tdefineClass  : false,\n\tdeserialize  : false,\n\tgc           : false,\n\thelp         : false,\n\timportPackage: false,\n\t\"java\"       : false,\n\tload         : false,\n\tloadClass    : false,\n\tprint        : false,\n\tquit         : false,\n\treadFile     : false,\n\treadUrl      : false,\n\trunCommand   : false,\n\tseal         : false,\n\tserialize    : false,\n\tspawn        : false,\n\tsync         : false,\n\ttoint32      : false,\n\tversion      : false\n};\n\nexports.wsh = {\n\tActiveXObject            : true,\n\tEnumerator               : true,\n\tGetObject                : true,\n\tScriptEngine             : true,\n\tScriptEngineBuildVersion : true,\n\tScriptEngineMajorVersion : true,\n\tScriptEngineMinorVersion : true,\n\tVBArray                  : true,\n\tWSH                      : true,\n\tWScript                  : true,\n\tXDomainRequest           : true\n};\n\n// Globals provided by popular JavaScript libraries.\n\nexports.dojo = {\n\tdojo     : false,\n\tdijit    : false,\n\tdojox    : false,\n\tdefine\t : false,\n\t\"require\": false\n};\n\nexports.jquery = {\n\t\"$\"    : false,\n\tjQuery : false\n};\n\nexports.mootools = {\n\t\"$\"           : false,\n\t\"$$\"          : false,\n\tAsset         : false,\n\tBrowser       : false,\n\tChain         : false,\n\tClass         : false,\n\tColor         : false,\n\tCookie        : false,\n\tCore          : false,\n\tDocument      : false,\n\tDomReady      : false,\n\tDOMEvent      : false,\n\tDOMReady      : false,\n\tDrag          : false,\n\tElement       : false,\n\tElements      : false,\n\tEvent         : false,\n\tEvents        : false,\n\tFx            : false,\n\tGroup         : false,\n\tHash          : false,\n\tHtmlTable     : false,\n\tIframe        : false,\n\tIframeShim    : false,\n\tInputValidator: false,\n\tinstanceOf    : false,\n\tKeyboard      : false,\n\tLocale        : false,\n\tMask          : false,\n\tMooTools      : false,\n\tNative        : false,\n\tOptions       : false,\n\tOverText      : false,\n\tRequest       : false,\n\tScroller      : false,\n\tSlick         : false,\n\tSlider        : false,\n\tSortables     : false,\n\tSpinner       : false,\n\tSwiff         : false,\n\tTips          : false,\n\tType          : false,\n\ttypeOf        : false,\n\tURI           : false,\n\tWindow        : false\n};\n\nexports.prototypejs = {\n\t\"$\"               : false,\n\t\"$$\"              : false,\n\t\"$A\"              : false,\n\t\"$F\"              : false,\n\t\"$H\"              : false,\n\t\"$R\"              : false,\n\t\"$break\"          : false,\n\t\"$continue\"       : false,\n\t\"$w\"              : false,\n\tAbstract          : false,\n\tAjax              : false,\n\tClass             : false,\n\tEnumerable        : false,\n\tElement           : false,\n\tEvent             : false,\n\tField             : false,\n\tForm              : false,\n\tHash              : false,\n\tInsertion         : false,\n\tObjectRange       : false,\n\tPeriodicalExecuter: false,\n\tPosition          : false,\n\tPrototype         : false,\n\tSelector          : false,\n\tTemplate          : false,\n\tToggle            : false,\n\tTry               : false,\n\tAutocompleter     : false,\n\tBuilder           : false,\n\tControl           : false,\n\tDraggable         : false,\n\tDraggables        : false,\n\tDroppables        : false,\n\tEffect            : false,\n\tSortable          : false,\n\tSortableObserver  : false,\n\tSound             : false,\n\tScriptaculous     : false\n};\n\nexports.yui = {\n\tYUI       : false,\n\tY         : false,\n\tYUI_config: false\n};\n\n\n},{}],26:[function(require,module,exports){\n// default configuration\n\nmodule.exports = {\n    disallowVars: false,\n    disallowDuplicated: true,\n    disallowUnknownReferences: true,\n    parse: require(\"esprima\").parse,\n};\n\n},{\"esprima\":33}],27:[function(require,module,exports){\n\"use strict\";\n\nvar assert = require(\"assert\");\nvar stringmap = require(\"stringmap\");\nvar stringset = require(\"stringset\");\nvar is = require(\"simple-is\");\nvar fmt = require(\"simple-fmt\");\nvar error = require(\"./error\");\nvar options = require(\"./options\");\n\nfunction Scope(args) {\n    assert(is.someof(args.kind, [\"hoist\", \"block\", \"catch-block\"]));\n    assert(is.object(args.node));\n    assert(args.parent === null || is.object(args.parent));\n\n    // kind === \"hoist\": function scopes, program scope, injected globals\n    // kind === \"block\": ES6 block scopes\n    // kind === \"catch-block\": catch block scopes\n    this.kind = args.kind;\n\n    // the AST node the block corresponds to\n    this.node = args.node;\n\n    // parent scope\n    this.parent = args.parent;\n\n    // children scopes for easier traversal (populated internally)\n    this.children = [];\n\n    // scope declarations. decls[variable_name] = {\n    //     kind: \"fun\" for functions,\n    //           \"param\" for function parameters,\n    //           \"caught\" for catch parameter\n    //           \"var\",\n    //           \"const\",\n    //           \"let\"\n    //     node: the AST node the declaration corresponds to\n    //     from: source code index from which it is visible at earliest\n    //           (only stored for \"const\", \"let\" [and \"var\"] nodes)\n    // }\n    this.decls = stringmap();\n\n    // names of all declarations within this scope that was ever written\n    // TODO move to decls.w?\n    // TODO create corresponding read?\n    this.written = stringset();\n\n    // names of all variables declared outside this hoist scope but\n    // referenced in this scope (immediately or in child).\n    // only stored on hoist scopes for efficiency\n    // (because we currently generate lots of empty block scopes)\n    this.propagates = (this.kind === \"hoist\" ? stringset() : null);\n\n    // scopes register themselves with their parents for easier traversal\n    if (this.parent) {\n        this.parent.children.push(this);\n    }\n}\n\nScope.prototype.print = function(indent) {\n    indent = indent || 0;\n    var scope = this;\n    var names = this.decls.keys().map(function(name) {\n        return fmt(\"{0} [{1}]\", name, scope.decls.get(name).kind);\n    }).join(\", \");\n    var propagates = this.propagates ? this.propagates.items().join(\", \") : \"\";\n    console.log(fmt(\"{0}{1}: {2}. propagates: {3}\", fmt.repeat(\" \", indent), this.node.type, names, propagates));\n    this.children.forEach(function(c) {\n        c.print(indent + 2);\n    });\n};\n\nScope.prototype.add = function(name, kind, node, referableFromPos) {\n    assert(is.someof(kind, [\"fun\", \"param\", \"var\", \"caught\", \"const\", \"let\"]));\n\n    function isConstLet(kind) {\n        return is.someof(kind, [\"const\", \"let\"]);\n    }\n\n    var scope = this;\n\n    // search nearest hoist-scope for fun, param and var's\n    // const, let and caught variables go directly in the scope (which may be hoist, block or catch-block)\n    if (is.someof(kind, [\"fun\", \"param\", \"var\"])) {\n        while (scope.kind !== \"hoist\") {\n            if (scope.decls.has(name) && isConstLet(scope.decls.get(name).kind)) { // could be caught\n                return error(node.loc.start.line, \"{0} is already declared\", name);\n            }\n            scope = scope.parent;\n        }\n    }\n    // name exists in scope and either new or existing kind is const|let => error\n    if (scope.decls.has(name) && (options.disallowDuplicated || isConstLet(scope.decls.get(name).kind) || isConstLet(kind))) {\n        return error(node.loc.start.line, \"{0} is already declared\", name);\n    }\n\n    var declaration = {\n        kind: kind,\n        node: node,\n    };\n    if (referableFromPos) {\n        assert(is.someof(kind, [\"var\", \"const\", \"let\"]));\n        declaration.from = referableFromPos;\n    }\n    scope.decls.set(name, declaration);\n};\n\nScope.prototype.getKind = function(name) {\n    assert(is.string(name));\n    var decl = this.decls.get(name);\n    return decl ? decl.kind : null;\n};\n\nScope.prototype.getNode = function(name) {\n    assert(is.string(name));\n    var decl = this.decls.get(name);\n    return decl ? decl.node : null;\n};\n\nScope.prototype.getFromPos = function(name) {\n    assert(is.string(name));\n    var decl = this.decls.get(name);\n    return decl ? decl.from : null;\n};\n\nScope.prototype.hasOwn = function(name) {\n    return this.decls.has(name);\n};\n\nScope.prototype.remove = function(name) {\n    return this.decls.remove(name);\n};\n\nScope.prototype.doesPropagate = function(name) {\n    return this.propagates.has(name);\n};\n\nScope.prototype.markPropagates = function(name) {\n    this.propagates.add(name);\n};\n\nScope.prototype.closestHoistScope = function() {\n    var scope = this;\n    while (scope.kind !== \"hoist\") {\n        scope = scope.parent;\n    }\n    return scope;\n};\n\nScope.prototype.hasFunctionScopeBetween = function(outer) {\n    function isFunction(node) {\n        return is.someof(node.type, [\"FunctionDeclaration\", \"FunctionExpression\"]);\n    }\n\n    for (var scope = this; scope; scope = scope.parent) {\n        if (scope === outer) {\n            return false;\n        }\n        if (isFunction(scope.node)) {\n            return true;\n        }\n    }\n\n    throw new Error(\"wasn't inner scope of outer\");\n};\n\nScope.prototype.lookup = function(name) {\n    for (var scope = this; scope; scope = scope.parent) {\n        if (scope.decls.has(name)) {\n            return scope;\n        } else if (scope.kind === \"hoist\") {\n            scope.propagates.add(name);\n        }\n    }\n    return null;\n};\n\nScope.prototype.markWrite = function(name) {\n    assert(is.string(name));\n    this.written.add(name);\n};\n\n// detects let variables that are never modified (ignores top-level)\nScope.prototype.detectUnmodifiedLets = function() {\n    var outmost = this;\n\n    function detect(scope) {\n        if (scope !== outmost) {\n            scope.decls.keys().forEach(function(name) {\n                if (scope.getKind(name) === \"let\" && !scope.written.has(name)) {\n                    return error(scope.getNode(name).loc.start.line, \"{0} is declared as let but never modified so could be const\", name);\n                }\n            });\n        }\n\n        scope.children.forEach(function(childScope) {\n            detect(childScope);;\n        });\n    }\n    detect(this);\n};\n\nScope.prototype.traverse = function(options) {\n    options = options || {};\n    var pre = options.pre;\n    var post = options.post;\n\n    function visit(scope) {\n        if (pre) {\n            pre(scope);\n        }\n        scope.children.forEach(function(childScope) {\n            visit(childScope);\n        });\n        if (post) {\n            post(scope);\n        }\n    }\n\n    visit(this);\n};\n\nmodule.exports = Scope;\n\n},{\"./error\":24,\"./options\":26,\"assert\":65,\"simple-fmt\":34,\"simple-is\":35,\"stringmap\":36,\"stringset\":37}],28:[function(require,module,exports){\nvar fmt = require(\"simple-fmt\");\nvar is = require(\"simple-is\");\nvar assert = require(\"assert\");\n\nfunction Stats() {\n    this.lets = 0;\n    this.consts = 0;\n    this.renames = [];\n}\n\nStats.prototype.declarator = function(kind) {\n    assert(is.someof(kind, [\"const\", \"let\"]));\n    if (kind === \"const\") {\n        this.consts++;\n    } else {\n        this.lets++;\n    }\n};\n\nStats.prototype.rename = function(oldName, newName, line) {\n    this.renames.push({\n        oldName: oldName,\n        newName: newName,\n        line: line,\n    });\n};\n\nStats.prototype.toString = function() {\n//    console.log(\"defs.js stats for file {0}:\", filename)\n\n    var renames = this.renames.map(function(r) {\n        return r;\n    }).sort(function(a, b) {\n            return a.line - b.line;\n        }); // sort a copy of renames\n\n    var renameStr = renames.map(function(rename) {\n        return fmt(\"\\nline {0}: {1} => {2}\", rename.line, rename.oldName, rename.newName);\n    }).join(\"\");\n\n    var sum = this.consts + this.lets;\n    var constlets = (sum === 0 ?\n        \"can't calculate const coverage (0 consts, 0 lets)\" :\n        fmt(\"{0}% const coverage ({1} consts, {2} lets)\",\n            Math.floor(100 * this.consts / sum), this.consts, this.lets));\n\n    return constlets + renameStr + \"\\n\";\n};\n\nmodule.exports = Stats;\n\n},{\"assert\":65,\"simple-fmt\":34,\"simple-is\":35}],29:[function(require,module,exports){\n// alter.js\n// MIT licensed, see LICENSE file\n// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\nvar assert = require(\"assert\");\nvar stableSort = require(\"stable\");\n\n// fragments is a list of {start: index, end: index, str: string to replace with}\nfunction alter(str, fragments) {\n    \"use strict\";\n\n    var isArray = Array.isArray || function(v) {\n        return Object.prototype.toString.call(v) === \"[object Array]\";\n    };;\n\n    assert(typeof str === \"string\");\n    assert(isArray(fragments));\n\n    // stableSort isn't in-place so no need to copy array first\n    var sortedFragments = stableSort(fragments, function(a, b) {\n        return a.start - b.start;\n    });\n\n    var outs = [];\n\n    var pos = 0;\n    for (var i = 0; i < sortedFragments.length; i++) {\n        var frag = sortedFragments[i];\n\n        assert(pos <= frag.start);\n        assert(frag.start <= frag.end);\n        outs.push(str.slice(pos, frag.start));\n        outs.push(frag.str);\n        pos = frag.end;\n    }\n    if (pos < str.length) {\n        outs.push(str.slice(pos));\n    }\n\n    return outs.join(\"\");\n}\n\nif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n    module.exports = alter;\n}\n\n},{\"assert\":65,\"stable\":30}],30:[function(require,module,exports){\n//! stable.js 0.1.4, https://github.com/Two-Screen/stable\n//! © 2012 Stéphan Kochen, Angry Bytes. MIT licensed.\n\n(function() {\n\n// A stable array sort, because `Array#sort()` is not guaranteed stable.\n// This is an implementation of merge sort, without recursion.\n\nvar stable = function(arr, comp) {\n    return exec(arr.slice(), comp);\n};\n\nstable.inplace = function(arr, comp) {\n    var result = exec(arr, comp);\n\n    // This simply copies back if the result isn't in the original array,\n    // which happens on an odd number of passes.\n    if (result !== arr) {\n        pass(result, null, arr.length, arr);\n    }\n\n    return arr;\n};\n\n// Execute the sort using the input array and a second buffer as work space.\n// Returns one of those two, containing the final result.\nfunction exec(arr, comp) {\n    if (typeof(comp) !== 'function') {\n        comp = function(a, b) {\n            return String(a).localeCompare(b);\n        };\n    }\n\n    // Short-circuit when there's nothing to sort.\n    var len = arr.length;\n    if (len <= 1) {\n        return arr;\n    }\n\n    // Rather than dividing input, simply iterate chunks of 1, 2, 4, 8, etc.\n    // Chunks are the size of the left or right hand in merge sort.\n    // Stop when the left-hand covers all of the array.\n    var buffer = new Array(len);\n    for (var chk = 1; chk < len; chk *= 2) {\n        pass(arr, comp, chk, buffer);\n\n        var tmp = arr;\n        arr = buffer;\n        buffer = tmp;\n    }\n\n    return arr;\n}\n\n// Run a single pass with the given chunk size.\nvar pass = function(arr, comp, chk, result) {\n    var len = arr.length;\n    var i = 0;\n    // Step size / double chunk size.\n    var dbl = chk * 2;\n    // Bounds of the left and right chunks.\n    var l, r, e;\n    // Iterators over the left and right chunk.\n    var li, ri;\n\n    // Iterate over pairs of chunks.\n    for (l = 0; l < len; l += dbl) {\n        r = l + chk;\n        e = r + chk;\n        if (r > len) r = len;\n        if (e > len) e = len;\n\n        // Iterate both chunks in parallel.\n        li = l;\n        ri = r;\n        while (true) {\n            // Compare the chunks.\n            if (li < r && ri < e) {\n                // This works for a regular `sort()` compatible comparator,\n                // but also for a simple comparator like: `a > b`\n                if (comp(arr[li], arr[ri]) <= 0) {\n                    result[i++] = arr[li++];\n                }\n                else {\n                    result[i++] = arr[ri++];\n                }\n            }\n            // Nothing to compare, just flush what's left.\n            else if (li < r) {\n                result[i++] = arr[li++];\n            }\n            else if (ri < e) {\n                result[i++] = arr[ri++];\n            }\n            // Both iterators are at the chunk ends.\n            else {\n                break;\n            }\n        }\n    }\n};\n\n// Export using CommonJS or to the window.\nif (typeof(module) !== 'undefined') {\n    module.exports = stable;\n}\nelse {\n    window.stable = stable;\n}\n\n})();\n\n},{}],31:[function(require,module,exports){\nfunction traverse(root, options) {\n    \"use strict\";\n\n    options = options || {};\n    var pre = options.pre;\n    var post = options.post;\n    var skipProperty = options.skipProperty;\n\n    function visit(node, parent, prop, idx) {\n        if (!node || typeof node.type !== \"string\") {\n            return;\n        }\n\n        var res = undefined;\n        if (pre) {\n            res = pre(node, parent, prop, idx);\n        }\n\n        if (res !== false) {\n            for (var prop in node) {\n                if (skipProperty ? skipProperty(prop, node) : prop[0] === \"$\") {\n                    continue;\n                }\n\n                var child = node[prop];\n\n                if (Array.isArray(child)) {\n                    for (var i = 0; i < child.length; i++) {\n                        visit(child[i], node, prop, i);\n                    }\n                } else {\n                    visit(child, node, prop);\n                }\n            }\n        }\n\n        if (post) {\n            post(node, parent, prop, idx);\n        }\n    }\n\n    visit(root, null);\n};\n\nif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n    module.exports = traverse;\n}\n\n},{}],32:[function(require,module,exports){\n// breakable.js\n// MIT licensed, see LICENSE file\n// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\nvar breakable = (function() {\n    \"use strict\";\n\n    function Val(val) {\n        this.val = val;\n    }\n\n    function brk(val) {\n        throw new Val(val);\n    }\n\n    function breakable(fn) {\n        try {\n            return fn(brk);\n        } catch (e) {\n            if (e instanceof Val) {\n                return e.val;\n            }\n            throw e;\n        }\n    }\n\n    breakable.fn = function breakablefn(fn) {\n        return breakable.bind(null, fn);\n    };\n\n    return breakable;\n})();\n\nif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n    module.exports = breakable;\n}\n\n},{}],33:[function(require,module,exports){\n/*\n  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>\n  Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>\n  Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>\n  Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n  Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>\n  Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n  Redistribution and use in source and binary forms, with or without\n  modification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright\n      notice, this list of conditions and the following disclaimer in the\n      documentation and/or other materials provided with the distribution.\n\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n/*jslint bitwise:true plusplus:true */\n/*global esprima:true, define:true, exports:true, window: true,\nthrowError: true, createLiteral: true, generateStatement: true,\nparseAssignmentExpression: true, parseBlock: true, parseExpression: true,\nparseFunctionDeclaration: true, parseFunctionExpression: true,\nparseFunctionSourceElements: true, parseVariableIdentifier: true,\nparseLeftHandSideExpression: true,\nparseStatement: true, parseSourceElement: true */\n\n(function (root, factory) {\n    'use strict';\n\n    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n    // Rhino, and plain browser loading.\n    if (typeof define === 'function' && define.amd) {\n        define(['exports'], factory);\n    } else if (typeof exports !== 'undefined') {\n        factory(exports);\n    } else {\n        factory((root.esprima = {}));\n    }\n}(this, function (exports) {\n    'use strict';\n\n    var Token,\n        TokenName,\n        Syntax,\n        PropertyKind,\n        Messages,\n        Regex,\n        source,\n        strict,\n        index,\n        lineNumber,\n        lineStart,\n        length,\n        buffer,\n        state,\n        extra;\n\n    Token = {\n        BooleanLiteral: 1,\n        EOF: 2,\n        Identifier: 3,\n        Keyword: 4,\n        NullLiteral: 5,\n        NumericLiteral: 6,\n        Punctuator: 7,\n        StringLiteral: 8\n    };\n\n    TokenName = {};\n    TokenName[Token.BooleanLiteral] = 'Boolean';\n    TokenName[Token.EOF] = '<end>';\n    TokenName[Token.Identifier] = 'Identifier';\n    TokenName[Token.Keyword] = 'Keyword';\n    TokenName[Token.NullLiteral] = 'Null';\n    TokenName[Token.NumericLiteral] = 'Numeric';\n    TokenName[Token.Punctuator] = 'Punctuator';\n    TokenName[Token.StringLiteral] = 'String';\n\n    Syntax = {\n        AssignmentExpression: 'AssignmentExpression',\n        ArrayExpression: 'ArrayExpression',\n        BlockStatement: 'BlockStatement',\n        BinaryExpression: 'BinaryExpression',\n        BreakStatement: 'BreakStatement',\n        CallExpression: 'CallExpression',\n        CatchClause: 'CatchClause',\n        ConditionalExpression: 'ConditionalExpression',\n        ContinueStatement: 'ContinueStatement',\n        DoWhileStatement: 'DoWhileStatement',\n        DebuggerStatement: 'DebuggerStatement',\n        EmptyStatement: 'EmptyStatement',\n        ExpressionStatement: 'ExpressionStatement',\n        ForStatement: 'ForStatement',\n        ForInStatement: 'ForInStatement',\n        FunctionDeclaration: 'FunctionDeclaration',\n        FunctionExpression: 'FunctionExpression',\n        Identifier: 'Identifier',\n        IfStatement: 'IfStatement',\n        Literal: 'Literal',\n        LabeledStatement: 'LabeledStatement',\n        LogicalExpression: 'LogicalExpression',\n        MemberExpression: 'MemberExpression',\n        NewExpression: 'NewExpression',\n        ObjectExpression: 'ObjectExpression',\n        Program: 'Program',\n        Property: 'Property',\n        ReturnStatement: 'ReturnStatement',\n        SequenceExpression: 'SequenceExpression',\n        SwitchStatement: 'SwitchStatement',\n        SwitchCase: 'SwitchCase',\n        ThisExpression: 'ThisExpression',\n        ThrowStatement: 'ThrowStatement',\n        TryStatement: 'TryStatement',\n        UnaryExpression: 'UnaryExpression',\n        UpdateExpression: 'UpdateExpression',\n        VariableDeclaration: 'VariableDeclaration',\n        VariableDeclarator: 'VariableDeclarator',\n        WhileStatement: 'WhileStatement',\n        WithStatement: 'WithStatement'\n    };\n\n    PropertyKind = {\n        Data: 1,\n        Get: 2,\n        Set: 4\n    };\n\n    // Error messages should be identical to V8.\n    Messages = {\n        UnexpectedToken:  'Unexpected token %0',\n        UnexpectedNumber:  'Unexpected number',\n        UnexpectedString:  'Unexpected string',\n        UnexpectedIdentifier:  'Unexpected identifier',\n        UnexpectedReserved:  'Unexpected reserved word',\n        UnexpectedEOS:  'Unexpected end of input',\n        NewlineAfterThrow:  'Illegal newline after throw',\n        InvalidRegExp: 'Invalid regular expression',\n        UnterminatedRegExp:  'Invalid regular expression: missing /',\n        InvalidLHSInAssignment:  'Invalid left-hand side in assignment',\n        InvalidLHSInForIn:  'Invalid left-hand side in for-in',\n        MultipleDefaultsInSwitch: 'More than one default clause in switch statement',\n        NoCatchOrFinally:  'Missing catch or finally after try',\n        UnknownLabel: 'Undefined label \\'%0\\'',\n        Redeclaration: '%0 \\'%1\\' has already been declared',\n        IllegalContinue: 'Illegal continue statement',\n        IllegalBreak: 'Illegal break statement',\n        IllegalReturn: 'Illegal return statement',\n        StrictModeWith:  'Strict mode code may not include a with statement',\n        StrictCatchVariable:  'Catch variable may not be eval or arguments in strict mode',\n        StrictVarName:  'Variable name may not be eval or arguments in strict mode',\n        StrictParamName:  'Parameter name eval or arguments is not allowed in strict mode',\n        StrictParamDupe: 'Strict mode function may not have duplicate parameter names',\n        StrictFunctionName:  'Function name may not be eval or arguments in strict mode',\n        StrictOctalLiteral:  'Octal literals are not allowed in strict mode.',\n        StrictDelete:  'Delete of an unqualified identifier in strict mode.',\n        StrictDuplicateProperty:  'Duplicate data property in object literal not allowed in strict mode',\n        AccessorDataProperty:  'Object literal may not have data and accessor property with the same name',\n        AccessorGetSet:  'Object literal may not have multiple get/set accessors with the same name',\n        StrictLHSAssignment:  'Assignment to eval or arguments is not allowed in strict mode',\n        StrictLHSPostfix:  'Postfix increment/decrement may not have eval or arguments operand in strict mode',\n        StrictLHSPrefix:  'Prefix increment/decrement may not have eval or arguments operand in strict mode',\n        StrictReservedWord:  'Use of future reserved word in strict mode'\n    };\n\n    // See also tools/generate-unicode-regex.py.\n    Regex = {\n        NonAsciiIdentifierStart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]'),\n        NonAsciiIdentifierPart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0300-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u0483-\\u0487\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0610-\\u061a\\u0620-\\u0669\\u066e-\\u06d3\\u06d5-\\u06dc\\u06df-\\u06e8\\u06ea-\\u06fc\\u06ff\\u0710-\\u074a\\u074d-\\u07b1\\u07c0-\\u07f5\\u07fa\\u0800-\\u082d\\u0840-\\u085b\\u08a0\\u08a2-\\u08ac\\u08e4-\\u08fe\\u0900-\\u0963\\u0966-\\u096f\\u0971-\\u0977\\u0979-\\u097f\\u0981-\\u0983\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bc-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09ce\\u09d7\\u09dc\\u09dd\\u09df-\\u09e3\\u09e6-\\u09f1\\u0a01-\\u0a03\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a59-\\u0a5c\\u0a5e\\u0a66-\\u0a75\\u0a81-\\u0a83\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abc-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ad0\\u0ae0-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3c-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5c\\u0b5d\\u0b5f-\\u0b63\\u0b66-\\u0b6f\\u0b71\\u0b82\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd0\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c58\\u0c59\\u0c60-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbc-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0cde\\u0ce0-\\u0ce3\\u0ce6-\\u0cef\\u0cf1\\u0cf2\\u0d02\\u0d03\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4e\\u0d57\\u0d60-\\u0d63\\u0d66-\\u0d6f\\u0d7a-\\u0d7f\\u0d82\\u0d83\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e01-\\u0e3a\\u0e40-\\u0e4e\\u0e50-\\u0e59\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb9\\u0ebb-\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0edc-\\u0edf\\u0f00\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e-\\u0f47\\u0f49-\\u0f6c\\u0f71-\\u0f84\\u0f86-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1049\\u1050-\\u109d\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u135d-\\u135f\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176c\\u176e-\\u1770\\u1772\\u1773\\u1780-\\u17d3\\u17d7\\u17dc\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a1b\\u1a20-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1aa7\\u1b00-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1bf3\\u1c00-\\u1c37\\u1c40-\\u1c49\\u1c4d-\\u1c7d\\u1cd0-\\u1cd2\\u1cd4-\\u1cf6\\u1d00-\\u1de6\\u1dfc-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u200c\\u200d\\u203f\\u2040\\u2054\\u2071\\u207f\\u2090-\\u209c\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d7f-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2de0-\\u2dff\\u2e2f\\u3005-\\u3007\\u3021-\\u302f\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u3099\\u309a\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua62b\\ua640-\\ua66f\\ua674-\\ua67d\\ua67f-\\ua697\\ua69f-\\ua6f1\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua827\\ua840-\\ua873\\ua880-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f7\\ua8fb\\ua900-\\ua92d\\ua930-\\ua953\\ua960-\\ua97c\\ua980-\\ua9c0\\ua9cf-\\ua9d9\\uaa00-\\uaa36\\uaa40-\\uaa4d\\uaa50-\\uaa59\\uaa60-\\uaa76\\uaa7a\\uaa7b\\uaa80-\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaef\\uaaf2-\\uaaf6\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff10-\\uff19\\uff21-\\uff3a\\uff3f\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]')\n    };\n\n    // Ensure the condition is true, otherwise throw an error.\n    // This is only to have a better contract semantic, i.e. another safety net\n    // to catch a logic error. The condition shall be fulfilled in normal case.\n    // Do NOT use this to enforce a certain condition on any user input.\n\n    function assert(condition, message) {\n        if (!condition) {\n            throw new Error('ASSERT: ' + message);\n        }\n    }\n\n    function sliceSource(from, to) {\n        return source.slice(from, to);\n    }\n\n    if (typeof 'esprima'[0] === 'undefined') {\n        sliceSource = function sliceArraySource(from, to) {\n            return source.slice(from, to).join('');\n        };\n    }\n\n    function isDecimalDigit(ch) {\n        return '0123456789'.indexOf(ch) >= 0;\n    }\n\n    function isHexDigit(ch) {\n        return '0123456789abcdefABCDEF'.indexOf(ch) >= 0;\n    }\n\n    function isOctalDigit(ch) {\n        return '01234567'.indexOf(ch) >= 0;\n    }\n\n\n    // 7.2 White Space\n\n    function isWhiteSpace(ch) {\n        return (ch === ' ') || (ch === '\\u0009') || (ch === '\\u000B') ||\n            (ch === '\\u000C') || (ch === '\\u00A0') ||\n            (ch.charCodeAt(0) >= 0x1680 &&\n             '\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\uFEFF'.indexOf(ch) >= 0);\n    }\n\n    // 7.3 Line Terminators\n\n    function isLineTerminator(ch) {\n        return (ch === '\\n' || ch === '\\r' || ch === '\\u2028' || ch === '\\u2029');\n    }\n\n    // 7.6 Identifier Names and Identifiers\n\n    function isIdentifierStart(ch) {\n        return (ch === '$') || (ch === '_') || (ch === '\\\\') ||\n            (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') ||\n            ((ch.charCodeAt(0) >= 0x80) && Regex.NonAsciiIdentifierStart.test(ch));\n    }\n\n    function isIdentifierPart(ch) {\n        return (ch === '$') || (ch === '_') || (ch === '\\\\') ||\n            (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') ||\n            ((ch >= '0') && (ch <= '9')) ||\n            ((ch.charCodeAt(0) >= 0x80) && Regex.NonAsciiIdentifierPart.test(ch));\n    }\n\n    // 7.6.1.2 Future Reserved Words\n\n    function isFutureReservedWord(id) {\n        switch (id) {\n\n        // Future reserved words.\n        case 'class':\n        case 'enum':\n        case 'export':\n        case 'extends':\n        case 'import':\n        case 'super':\n            return true;\n        }\n\n        return false;\n    }\n\n    function isStrictModeReservedWord(id) {\n        switch (id) {\n\n        // Strict Mode reserved words.\n        case 'implements':\n        case 'interface':\n        case 'package':\n        case 'private':\n        case 'protected':\n        case 'public':\n        case 'static':\n        case 'yield':\n        case 'let':\n            return true;\n        }\n\n        return false;\n    }\n\n    function isRestrictedWord(id) {\n        return id === 'eval' || id === 'arguments';\n    }\n\n    // 7.6.1.1 Keywords\n\n    function isKeyword(id) {\n        var keyword = false;\n        switch (id.length) {\n        case 2:\n            keyword = (id === 'if') || (id === 'in') || (id === 'do');\n            break;\n        case 3:\n            keyword = (id === 'var') || (id === 'for') || (id === 'new') || (id === 'try');\n            break;\n        case 4:\n            keyword = (id === 'this') || (id === 'else') || (id === 'case') || (id === 'void') || (id === 'with');\n            break;\n        case 5:\n            keyword = (id === 'while') || (id === 'break') || (id === 'catch') || (id === 'throw');\n            break;\n        case 6:\n            keyword = (id === 'return') || (id === 'typeof') || (id === 'delete') || (id === 'switch');\n            break;\n        case 7:\n            keyword = (id === 'default') || (id === 'finally');\n            break;\n        case 8:\n            keyword = (id === 'function') || (id === 'continue') || (id === 'debugger');\n            break;\n        case 10:\n            keyword = (id === 'instanceof');\n            break;\n        }\n\n        if (keyword) {\n            return true;\n        }\n\n        switch (id) {\n        // Future reserved words.\n        // 'const' is specialized as Keyword in V8.\n        case 'const':\n            return true;\n\n        // For compatiblity to SpiderMonkey and ES.next\n        case 'yield':\n        case 'let':\n            return true;\n        }\n\n        if (strict && isStrictModeReservedWord(id)) {\n            return true;\n        }\n\n        return isFutureReservedWord(id);\n    }\n\n    // 7.4 Comments\n\n    function skipComment() {\n        var ch, blockComment, lineComment;\n\n        blockComment = false;\n        lineComment = false;\n\n        while (index < length) {\n            ch = source[index];\n\n            if (lineComment) {\n                ch = source[index++];\n                if (isLineTerminator(ch)) {\n                    lineComment = false;\n                    if (ch === '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    lineStart = index;\n                }\n            } else if (blockComment) {\n                if (isLineTerminator(ch)) {\n                    if (ch === '\\r' && source[index + 1] === '\\n') {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    ++index;\n                    lineStart = index;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    ch = source[index++];\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                    if (ch === '*') {\n                        ch = source[index];\n                        if (ch === '/') {\n                            ++index;\n                            blockComment = false;\n                        }\n                    }\n                }\n            } else if (ch === '/') {\n                ch = source[index + 1];\n                if (ch === '/') {\n                    index += 2;\n                    lineComment = true;\n                } else if (ch === '*') {\n                    index += 2;\n                    blockComment = true;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    break;\n                }\n            } else if (isWhiteSpace(ch)) {\n                ++index;\n            } else if (isLineTerminator(ch)) {\n                ++index;\n                if (ch ===  '\\r' && source[index] === '\\n') {\n                    ++index;\n                }\n                ++lineNumber;\n                lineStart = index;\n            } else {\n                break;\n            }\n        }\n    }\n\n    function scanHexEscape(prefix) {\n        var i, len, ch, code = 0;\n\n        len = (prefix === 'u') ? 4 : 2;\n        for (i = 0; i < len; ++i) {\n            if (index < length && isHexDigit(source[index])) {\n                ch = source[index++];\n                code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n            } else {\n                return '';\n            }\n        }\n        return String.fromCharCode(code);\n    }\n\n    function scanIdentifier() {\n        var ch, start, id, restore;\n\n        ch = source[index];\n        if (!isIdentifierStart(ch)) {\n            return;\n        }\n\n        start = index;\n        if (ch === '\\\\') {\n            ++index;\n            if (source[index] !== 'u') {\n                return;\n            }\n            ++index;\n            restore = index;\n            ch = scanHexEscape('u');\n            if (ch) {\n                if (ch === '\\\\' || !isIdentifierStart(ch)) {\n                    return;\n                }\n                id = ch;\n            } else {\n                index = restore;\n                id = 'u';\n            }\n        } else {\n            id = source[index++];\n        }\n\n        while (index < length) {\n            ch = source[index];\n            if (!isIdentifierPart(ch)) {\n                break;\n            }\n            if (ch === '\\\\') {\n                ++index;\n                if (source[index] !== 'u') {\n                    return;\n                }\n                ++index;\n                restore = index;\n                ch = scanHexEscape('u');\n                if (ch) {\n                    if (ch === '\\\\' || !isIdentifierPart(ch)) {\n                        return;\n                    }\n                    id += ch;\n                } else {\n                    index = restore;\n                    id += 'u';\n                }\n            } else {\n                id += source[index++];\n            }\n        }\n\n        // There is no keyword or literal with only one character.\n        // Thus, it must be an identifier.\n        if (id.length === 1) {\n            return {\n                type: Token.Identifier,\n                value: id,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (isKeyword(id)) {\n            return {\n                type: Token.Keyword,\n                value: id,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        // 7.8.1 Null Literals\n\n        if (id === 'null') {\n            return {\n                type: Token.NullLiteral,\n                value: id,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        // 7.8.2 Boolean Literals\n\n        if (id === 'true' || id === 'false') {\n            return {\n                type: Token.BooleanLiteral,\n                value: id,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        return {\n            type: Token.Identifier,\n            value: id,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    // 7.7 Punctuators\n\n    function scanPunctuator() {\n        var start = index,\n            ch1 = source[index],\n            ch2,\n            ch3,\n            ch4;\n\n        // Check for most common single-character punctuators.\n\n        if (ch1 === ';' || ch1 === '{' || ch1 === '}') {\n            ++index;\n            return {\n                type: Token.Punctuator,\n                value: ch1,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === ',' || ch1 === '(' || ch1 === ')') {\n            ++index;\n            return {\n                type: Token.Punctuator,\n                value: ch1,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        // Dot (.) can also start a floating-point number, hence the need\n        // to check the next character.\n\n        ch2 = source[index + 1];\n        if (ch1 === '.' && !isDecimalDigit(ch2)) {\n            return {\n                type: Token.Punctuator,\n                value: source[index++],\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        // Peek more characters.\n\n        ch3 = source[index + 2];\n        ch4 = source[index + 3];\n\n        // 4-character punctuator: >>>=\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n            if (ch4 === '=') {\n                index += 4;\n                return {\n                    type: Token.Punctuator,\n                    value: '>>>=',\n                    lineNumber: lineNumber,\n                    lineStart: lineStart,\n                    range: [start, index]\n                };\n            }\n        }\n\n        // 3-character punctuators: === !== >>> <<= >>=\n\n        if (ch1 === '=' && ch2 === '=' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '===',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '!' && ch2 === '=' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '!==',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '>>>',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '<' && ch2 === '<' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '<<=',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '>>=',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        // 2-character punctuators: <= >= == != ++ -- << >> && ||\n        // += -= *= %= &= |= ^= /=\n\n        if (ch2 === '=') {\n            if ('<>=!+-*%&|^/'.indexOf(ch1) >= 0) {\n                index += 2;\n                return {\n                    type: Token.Punctuator,\n                    value: ch1 + ch2,\n                    lineNumber: lineNumber,\n                    lineStart: lineStart,\n                    range: [start, index]\n                };\n            }\n        }\n\n        if (ch1 === ch2 && ('+-<>&|'.indexOf(ch1) >= 0)) {\n            if ('+-<>&|'.indexOf(ch2) >= 0) {\n                index += 2;\n                return {\n                    type: Token.Punctuator,\n                    value: ch1 + ch2,\n                    lineNumber: lineNumber,\n                    lineStart: lineStart,\n                    range: [start, index]\n                };\n            }\n        }\n\n        // The remaining 1-character punctuators.\n\n        if ('[]<>+-*%&|^!~?:=/'.indexOf(ch1) >= 0) {\n            return {\n                type: Token.Punctuator,\n                value: source[index++],\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n    }\n\n    // 7.8.3 Numeric Literals\n\n    function scanNumericLiteral() {\n        var number, start, ch;\n\n        ch = source[index];\n        assert(isDecimalDigit(ch) || (ch === '.'),\n            'Numeric literal must start with a decimal digit or a decimal point');\n\n        start = index;\n        number = '';\n        if (ch !== '.') {\n            number = source[index++];\n            ch = source[index];\n\n            // Hex number starts with '0x'.\n            // Octal number starts with '0'.\n            if (number === '0') {\n                if (ch === 'x' || ch === 'X') {\n                    number += source[index++];\n                    while (index < length) {\n                        ch = source[index];\n                        if (!isHexDigit(ch)) {\n                            break;\n                        }\n                        number += source[index++];\n                    }\n\n                    if (number.length <= 2) {\n                        // only 0x\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n\n                    if (index < length) {\n                        ch = source[index];\n                        if (isIdentifierStart(ch)) {\n                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                        }\n                    }\n                    return {\n                        type: Token.NumericLiteral,\n                        value: parseInt(number, 16),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n                } else if (isOctalDigit(ch)) {\n                    number += source[index++];\n                    while (index < length) {\n                        ch = source[index];\n                        if (!isOctalDigit(ch)) {\n                            break;\n                        }\n                        number += source[index++];\n                    }\n\n                    if (index < length) {\n                        ch = source[index];\n                        if (isIdentifierStart(ch) || isDecimalDigit(ch)) {\n                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                        }\n                    }\n                    return {\n                        type: Token.NumericLiteral,\n                        value: parseInt(number, 8),\n                        octal: true,\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n                }\n\n                // decimal number starts with '0' such as '09' is illegal.\n                if (isDecimalDigit(ch)) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n            }\n\n            while (index < length) {\n                ch = source[index];\n                if (!isDecimalDigit(ch)) {\n                    break;\n                }\n                number += source[index++];\n            }\n        }\n\n        if (ch === '.') {\n            number += source[index++];\n            while (index < length) {\n                ch = source[index];\n                if (!isDecimalDigit(ch)) {\n                    break;\n                }\n                number += source[index++];\n            }\n        }\n\n        if (ch === 'e' || ch === 'E') {\n            number += source[index++];\n\n            ch = source[index];\n            if (ch === '+' || ch === '-') {\n                number += source[index++];\n            }\n\n            ch = source[index];\n            if (isDecimalDigit(ch)) {\n                number += source[index++];\n                while (index < length) {\n                    ch = source[index];\n                    if (!isDecimalDigit(ch)) {\n                        break;\n                    }\n                    number += source[index++];\n                }\n            } else {\n                ch = 'character ' + ch;\n                if (index >= length) {\n                    ch = '<end>';\n                }\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n        }\n\n        if (index < length) {\n            ch = source[index];\n            if (isIdentifierStart(ch)) {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseFloat(number),\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    // 7.8.4 String Literals\n\n    function scanStringLiteral() {\n        var str = '', quote, start, ch, code, unescaped, restore, octal = false;\n\n        quote = source[index];\n        assert((quote === '\\'' || quote === '\"'),\n            'String literal must starts with a quote');\n\n        start = index;\n        ++index;\n\n        while (index < length) {\n            ch = source[index++];\n\n            if (ch === quote) {\n                quote = '';\n                break;\n            } else if (ch === '\\\\') {\n                ch = source[index++];\n                if (!isLineTerminator(ch)) {\n                    switch (ch) {\n                    case 'n':\n                        str += '\\n';\n                        break;\n                    case 'r':\n                        str += '\\r';\n                        break;\n                    case 't':\n                        str += '\\t';\n                        break;\n                    case 'u':\n                    case 'x':\n                        restore = index;\n                        unescaped = scanHexEscape(ch);\n                        if (unescaped) {\n                            str += unescaped;\n                        } else {\n                            index = restore;\n                            str += ch;\n                        }\n                        break;\n                    case 'b':\n                        str += '\\b';\n                        break;\n                    case 'f':\n                        str += '\\f';\n                        break;\n                    case 'v':\n                        str += '\\x0B';\n                        break;\n\n                    default:\n                        if (isOctalDigit(ch)) {\n                            code = '01234567'.indexOf(ch);\n\n                            // \\0 is not octal escape sequence\n                            if (code !== 0) {\n                                octal = true;\n                            }\n\n                            if (index < length && isOctalDigit(source[index])) {\n                                octal = true;\n                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n                                // 3 digits are only allowed when string starts\n                                // with 0, 1, 2, 3\n                                if ('0123'.indexOf(ch) >= 0 &&\n                                        index < length &&\n                                        isOctalDigit(source[index])) {\n                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n                                }\n                            }\n                            str += String.fromCharCode(code);\n                        } else {\n                            str += ch;\n                        }\n                        break;\n                    }\n                } else {\n                    ++lineNumber;\n                    if (ch ===  '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                }\n            } else if (isLineTerminator(ch)) {\n                break;\n            } else {\n                str += ch;\n            }\n        }\n\n        if (quote !== '') {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.StringLiteral,\n            value: str,\n            octal: octal,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanRegExp() {\n        var str, ch, start, pattern, flags, value, classMarker = false, restore, terminated = false;\n\n        buffer = null;\n        skipComment();\n\n        start = index;\n        ch = source[index];\n        assert(ch === '/', 'Regular expression literal must start with a slash');\n        str = source[index++];\n\n        while (index < length) {\n            ch = source[index++];\n            str += ch;\n            if (ch === '\\\\') {\n                ch = source[index++];\n                // ECMA-262 7.8.5\n                if (isLineTerminator(ch)) {\n                    throwError({}, Messages.UnterminatedRegExp);\n                }\n                str += ch;\n            } else if (classMarker) {\n                if (ch === ']') {\n                    classMarker = false;\n                }\n            } else {\n                if (ch === '/') {\n                    terminated = true;\n                    break;\n                } else if (ch === '[') {\n                    classMarker = true;\n                } else if (isLineTerminator(ch)) {\n                    throwError({}, Messages.UnterminatedRegExp);\n                }\n            }\n        }\n\n        if (!terminated) {\n            throwError({}, Messages.UnterminatedRegExp);\n        }\n\n        // Exclude leading and trailing slash.\n        pattern = str.substr(1, str.length - 2);\n\n        flags = '';\n        while (index < length) {\n            ch = source[index];\n            if (!isIdentifierPart(ch)) {\n                break;\n            }\n\n            ++index;\n            if (ch === '\\\\' && index < length) {\n                ch = source[index];\n                if (ch === 'u') {\n                    ++index;\n                    restore = index;\n                    ch = scanHexEscape('u');\n                    if (ch) {\n                        flags += ch;\n                        str += '\\\\u';\n                        for (; restore < index; ++restore) {\n                            str += source[restore];\n                        }\n                    } else {\n                        index = restore;\n                        flags += 'u';\n                        str += '\\\\u';\n                    }\n                } else {\n                    str += '\\\\';\n                }\n            } else {\n                flags += ch;\n                str += ch;\n            }\n        }\n\n        try {\n            value = new RegExp(pattern, flags);\n        } catch (e) {\n            throwError({}, Messages.InvalidRegExp);\n        }\n\n        return {\n            literal: str,\n            value: value,\n            range: [start, index]\n        };\n    }\n\n    function isIdentifierName(token) {\n        return token.type === Token.Identifier ||\n            token.type === Token.Keyword ||\n            token.type === Token.BooleanLiteral ||\n            token.type === Token.NullLiteral;\n    }\n\n    function advance() {\n        var ch, token;\n\n        skipComment();\n\n        if (index >= length) {\n            return {\n                type: Token.EOF,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [index, index]\n            };\n        }\n\n        token = scanPunctuator();\n        if (typeof token !== 'undefined') {\n            return token;\n        }\n\n        ch = source[index];\n\n        if (ch === '\\'' || ch === '\"') {\n            return scanStringLiteral();\n        }\n\n        if (ch === '.' || isDecimalDigit(ch)) {\n            return scanNumericLiteral();\n        }\n\n        token = scanIdentifier();\n        if (typeof token !== 'undefined') {\n            return token;\n        }\n\n        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n    }\n\n    function lex() {\n        var token;\n\n        if (buffer) {\n            index = buffer.range[1];\n            lineNumber = buffer.lineNumber;\n            lineStart = buffer.lineStart;\n            token = buffer;\n            buffer = null;\n            return token;\n        }\n\n        buffer = null;\n        return advance();\n    }\n\n    function lookahead() {\n        var pos, line, start;\n\n        if (buffer !== null) {\n            return buffer;\n        }\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n        buffer = advance();\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n\n        return buffer;\n    }\n\n    // Return true if there is a line terminator before the next token.\n\n    function peekLineTerminator() {\n        var pos, line, start, found;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n        skipComment();\n        found = lineNumber !== line;\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n\n        return found;\n    }\n\n    // Throw an exception\n\n    function throwError(token, messageFormat) {\n        var error,\n            args = Array.prototype.slice.call(arguments, 2),\n            msg = messageFormat.replace(\n                /%(\\d)/g,\n                function (whole, index) {\n                    return args[index] || '';\n                }\n            );\n\n        if (typeof token.lineNumber === 'number') {\n            error = new Error('Line ' + token.lineNumber + ': ' + msg);\n            error.index = token.range[0];\n            error.lineNumber = token.lineNumber;\n            error.column = token.range[0] - lineStart + 1;\n        } else {\n            error = new Error('Line ' + lineNumber + ': ' + msg);\n            error.index = index;\n            error.lineNumber = lineNumber;\n            error.column = index - lineStart + 1;\n        }\n\n        throw error;\n    }\n\n    function throwErrorTolerant() {\n        try {\n            throwError.apply(null, arguments);\n        } catch (e) {\n            if (extra.errors) {\n                extra.errors.push(e);\n            } else {\n                throw e;\n            }\n        }\n    }\n\n\n    // Throw an exception because of the token.\n\n    function throwUnexpected(token) {\n        if (token.type === Token.EOF) {\n            throwError(token, Messages.UnexpectedEOS);\n        }\n\n        if (token.type === Token.NumericLiteral) {\n            throwError(token, Messages.UnexpectedNumber);\n        }\n\n        if (token.type === Token.StringLiteral) {\n            throwError(token, Messages.UnexpectedString);\n        }\n\n        if (token.type === Token.Identifier) {\n            throwError(token, Messages.UnexpectedIdentifier);\n        }\n\n        if (token.type === Token.Keyword) {\n            if (isFutureReservedWord(token.value)) {\n                throwError(token, Messages.UnexpectedReserved);\n            } else if (strict && isStrictModeReservedWord(token.value)) {\n                throwErrorTolerant(token, Messages.StrictReservedWord);\n                return;\n            }\n            throwError(token, Messages.UnexpectedToken, token.value);\n        }\n\n        // BooleanLiteral, NullLiteral, or Punctuator.\n        throwError(token, Messages.UnexpectedToken, token.value);\n    }\n\n    // Expect the next token to match the specified punctuator.\n    // If not, an exception will be thrown.\n\n    function expect(value) {\n        var token = lex();\n        if (token.type !== Token.Punctuator || token.value !== value) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Expect the next token to match the specified keyword.\n    // If not, an exception will be thrown.\n\n    function expectKeyword(keyword) {\n        var token = lex();\n        if (token.type !== Token.Keyword || token.value !== keyword) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Return true if the next token matches the specified punctuator.\n\n    function match(value) {\n        var token = lookahead();\n        return token.type === Token.Punctuator && token.value === value;\n    }\n\n    // Return true if the next token matches the specified keyword\n\n    function matchKeyword(keyword) {\n        var token = lookahead();\n        return token.type === Token.Keyword && token.value === keyword;\n    }\n\n    // Return true if the next token is an assignment operator\n\n    function matchAssign() {\n        var token = lookahead(),\n            op = token.value;\n\n        if (token.type !== Token.Punctuator) {\n            return false;\n        }\n        return op === '=' ||\n            op === '*=' ||\n            op === '/=' ||\n            op === '%=' ||\n            op === '+=' ||\n            op === '-=' ||\n            op === '<<=' ||\n            op === '>>=' ||\n            op === '>>>=' ||\n            op === '&=' ||\n            op === '^=' ||\n            op === '|=';\n    }\n\n    function consumeSemicolon() {\n        var token, line;\n\n        // Catch the very common case first.\n        if (source[index] === ';') {\n            lex();\n            return;\n        }\n\n        line = lineNumber;\n        skipComment();\n        if (lineNumber !== line) {\n            return;\n        }\n\n        if (match(';')) {\n            lex();\n            return;\n        }\n\n        token = lookahead();\n        if (token.type !== Token.EOF && !match('}')) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Return true if provided expression is LeftHandSideExpression\n\n    function isLeftHandSide(expr) {\n        return expr.type === Syntax.Identifier || expr.type === Syntax.MemberExpression;\n    }\n\n    // 11.1.4 Array Initialiser\n\n    function parseArrayInitialiser() {\n        var elements = [];\n\n        expect('[');\n\n        while (!match(']')) {\n            if (match(',')) {\n                lex();\n                elements.push(null);\n            } else {\n                elements.push(parseAssignmentExpression());\n\n                if (!match(']')) {\n                    expect(',');\n                }\n            }\n        }\n\n        expect(']');\n\n        return {\n            type: Syntax.ArrayExpression,\n            elements: elements\n        };\n    }\n\n    // 11.1.5 Object Initialiser\n\n    function parsePropertyFunction(param, first) {\n        var previousStrict, body;\n\n        previousStrict = strict;\n        body = parseFunctionSourceElements();\n        if (first && strict && isRestrictedWord(param[0].name)) {\n            throwErrorTolerant(first, Messages.StrictParamName);\n        }\n        strict = previousStrict;\n\n        return {\n            type: Syntax.FunctionExpression,\n            id: null,\n            params: param,\n            defaults: [],\n            body: body,\n            rest: null,\n            generator: false,\n            expression: false\n        };\n    }\n\n    function parseObjectPropertyKey() {\n        var token = lex();\n\n        // Note: This function is called only from parseObjectProperty(), where\n        // EOF and Punctuator tokens are already filtered out.\n\n        if (token.type === Token.StringLiteral || token.type === Token.NumericLiteral) {\n            if (strict && token.octal) {\n                throwErrorTolerant(token, Messages.StrictOctalLiteral);\n            }\n            return createLiteral(token);\n        }\n\n        return {\n            type: Syntax.Identifier,\n            name: token.value\n        };\n    }\n\n    function parseObjectProperty() {\n        var token, key, id, param;\n\n        token = lookahead();\n\n        if (token.type === Token.Identifier) {\n\n            id = parseObjectPropertyKey();\n\n            // Property Assignment: Getter and Setter.\n\n            if (token.value === 'get' && !match(':')) {\n                key = parseObjectPropertyKey();\n                expect('(');\n                expect(')');\n                return {\n                    type: Syntax.Property,\n                    key: key,\n                    value: parsePropertyFunction([]),\n                    kind: 'get'\n                };\n            } else if (token.value === 'set' && !match(':')) {\n                key = parseObjectPropertyKey();\n                expect('(');\n                token = lookahead();\n                if (token.type !== Token.Identifier) {\n                    expect(')');\n                    throwErrorTolerant(token, Messages.UnexpectedToken, token.value);\n                    return {\n                        type: Syntax.Property,\n                        key: key,\n                        value: parsePropertyFunction([]),\n                        kind: 'set'\n                    };\n                } else {\n                    param = [ parseVariableIdentifier() ];\n                    expect(')');\n                    return {\n                        type: Syntax.Property,\n                        key: key,\n                        value: parsePropertyFunction(param, token),\n                        kind: 'set'\n                    };\n                }\n            } else {\n                expect(':');\n                return {\n                    type: Syntax.Property,\n                    key: id,\n                    value: parseAssignmentExpression(),\n                    kind: 'init'\n                };\n            }\n        } else if (token.type === Token.EOF || token.type === Token.Punctuator) {\n            throwUnexpected(token);\n        } else {\n            key = parseObjectPropertyKey();\n            expect(':');\n            return {\n                type: Syntax.Property,\n                key: key,\n                value: parseAssignmentExpression(),\n                kind: 'init'\n            };\n        }\n    }\n\n    function parseObjectInitialiser() {\n        var properties = [], property, name, kind, map = {}, toString = String;\n\n        expect('{');\n\n        while (!match('}')) {\n            property = parseObjectProperty();\n\n            if (property.key.type === Syntax.Identifier) {\n                name = property.key.name;\n            } else {\n                name = toString(property.key.value);\n            }\n            kind = (property.kind === 'init') ? PropertyKind.Data : (property.kind === 'get') ? PropertyKind.Get : PropertyKind.Set;\n            if (Object.prototype.hasOwnProperty.call(map, name)) {\n                if (map[name] === PropertyKind.Data) {\n                    if (strict && kind === PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.StrictDuplicateProperty);\n                    } else if (kind !== PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n                    }\n                } else {\n                    if (kind === PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n                    } else if (map[name] & kind) {\n                        throwErrorTolerant({}, Messages.AccessorGetSet);\n                    }\n                }\n                map[name] |= kind;\n            } else {\n                map[name] = kind;\n            }\n\n            properties.push(property);\n\n            if (!match('}')) {\n                expect(',');\n            }\n        }\n\n        expect('}');\n\n        return {\n            type: Syntax.ObjectExpression,\n            properties: properties\n        };\n    }\n\n    // 11.1.6 The Grouping Operator\n\n    function parseGroupExpression() {\n        var expr;\n\n        expect('(');\n\n        expr = parseExpression();\n\n        expect(')');\n\n        return expr;\n    }\n\n\n    // 11.1 Primary Expressions\n\n    function parsePrimaryExpression() {\n        var token = lookahead(),\n            type = token.type;\n\n        if (type === Token.Identifier) {\n            return {\n                type: Syntax.Identifier,\n                name: lex().value\n            };\n        }\n\n        if (type === Token.StringLiteral || type === Token.NumericLiteral) {\n            if (strict && token.octal) {\n                throwErrorTolerant(token, Messages.StrictOctalLiteral);\n            }\n            return createLiteral(lex());\n        }\n\n        if (type === Token.Keyword) {\n            if (matchKeyword('this')) {\n                lex();\n                return {\n                    type: Syntax.ThisExpression\n                };\n            }\n\n            if (matchKeyword('function')) {\n                return parseFunctionExpression();\n            }\n        }\n\n        if (type === Token.BooleanLiteral) {\n            lex();\n            token.value = (token.value === 'true');\n            return createLiteral(token);\n        }\n\n        if (type === Token.NullLiteral) {\n            lex();\n            token.value = null;\n            return createLiteral(token);\n        }\n\n        if (match('[')) {\n            return parseArrayInitialiser();\n        }\n\n        if (match('{')) {\n            return parseObjectInitialiser();\n        }\n\n        if (match('(')) {\n            return parseGroupExpression();\n        }\n\n        if (match('/') || match('/=')) {\n            return createLiteral(scanRegExp());\n        }\n\n        return throwUnexpected(lex());\n    }\n\n    // 11.2 Left-Hand-Side Expressions\n\n    function parseArguments() {\n        var args = [];\n\n        expect('(');\n\n        if (!match(')')) {\n            while (index < length) {\n                args.push(parseAssignmentExpression());\n                if (match(')')) {\n                    break;\n                }\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        return args;\n    }\n\n    function parseNonComputedProperty() {\n        var token = lex();\n\n        if (!isIdentifierName(token)) {\n            throwUnexpected(token);\n        }\n\n        return {\n            type: Syntax.Identifier,\n            name: token.value\n        };\n    }\n\n    function parseNonComputedMember() {\n        expect('.');\n\n        return parseNonComputedProperty();\n    }\n\n    function parseComputedMember() {\n        var expr;\n\n        expect('[');\n\n        expr = parseExpression();\n\n        expect(']');\n\n        return expr;\n    }\n\n    function parseNewExpression() {\n        var expr;\n\n        expectKeyword('new');\n\n        expr = {\n            type: Syntax.NewExpression,\n            callee: parseLeftHandSideExpression(),\n            'arguments': []\n        };\n\n        if (match('(')) {\n            expr['arguments'] = parseArguments();\n        }\n\n        return expr;\n    }\n\n    function parseLeftHandSideExpressionAllowCall() {\n        var expr;\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || match('(')) {\n            if (match('(')) {\n                expr = {\n                    type: Syntax.CallExpression,\n                    callee: expr,\n                    'arguments': parseArguments()\n                };\n            } else if (match('[')) {\n                expr = {\n                    type: Syntax.MemberExpression,\n                    computed: true,\n                    object: expr,\n                    property: parseComputedMember()\n                };\n            } else {\n                expr = {\n                    type: Syntax.MemberExpression,\n                    computed: false,\n                    object: expr,\n                    property: parseNonComputedMember()\n                };\n            }\n        }\n\n        return expr;\n    }\n\n\n    function parseLeftHandSideExpression() {\n        var expr;\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[')) {\n            if (match('[')) {\n                expr = {\n                    type: Syntax.MemberExpression,\n                    computed: true,\n                    object: expr,\n                    property: parseComputedMember()\n                };\n            } else {\n                expr = {\n                    type: Syntax.MemberExpression,\n                    computed: false,\n                    object: expr,\n                    property: parseNonComputedMember()\n                };\n            }\n        }\n\n        return expr;\n    }\n\n    // 11.3 Postfix Expressions\n\n    function parsePostfixExpression() {\n        var expr = parseLeftHandSideExpressionAllowCall(), token;\n\n        token = lookahead();\n        if (token.type !== Token.Punctuator) {\n            return expr;\n        }\n\n        if ((match('++') || match('--')) && !peekLineTerminator()) {\n            // 11.3.1, 11.3.2\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant({}, Messages.StrictLHSPostfix);\n            }\n            if (!isLeftHandSide(expr)) {\n                throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n            }\n\n            expr = {\n                type: Syntax.UpdateExpression,\n                operator: lex().value,\n                argument: expr,\n                prefix: false\n            };\n        }\n\n        return expr;\n    }\n\n    // 11.4 Unary Operators\n\n    function parseUnaryExpression() {\n        var token, expr;\n\n        token = lookahead();\n        if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {\n            return parsePostfixExpression();\n        }\n\n        if (match('++') || match('--')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            // 11.4.4, 11.4.5\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant({}, Messages.StrictLHSPrefix);\n            }\n\n            if (!isLeftHandSide(expr)) {\n                throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n            }\n\n            expr = {\n                type: Syntax.UpdateExpression,\n                operator: token.value,\n                argument: expr,\n                prefix: true\n            };\n            return expr;\n        }\n\n        if (match('+') || match('-') || match('~') || match('!')) {\n            expr = {\n                type: Syntax.UnaryExpression,\n                operator: lex().value,\n                argument: parseUnaryExpression(),\n                prefix: true\n            };\n            return expr;\n        }\n\n        if (matchKeyword('delete') || matchKeyword('void') || matchKeyword('typeof')) {\n            expr = {\n                type: Syntax.UnaryExpression,\n                operator: lex().value,\n                argument: parseUnaryExpression(),\n                prefix: true\n            };\n            if (strict && expr.operator === 'delete' && expr.argument.type === Syntax.Identifier) {\n                throwErrorTolerant({}, Messages.StrictDelete);\n            }\n            return expr;\n        }\n\n        return parsePostfixExpression();\n    }\n\n    // 11.5 Multiplicative Operators\n\n    function parseMultiplicativeExpression() {\n        var expr = parseUnaryExpression();\n\n        while (match('*') || match('/') || match('%')) {\n            expr = {\n                type: Syntax.BinaryExpression,\n                operator: lex().value,\n                left: expr,\n                right: parseUnaryExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    // 11.6 Additive Operators\n\n    function parseAdditiveExpression() {\n        var expr = parseMultiplicativeExpression();\n\n        while (match('+') || match('-')) {\n            expr = {\n                type: Syntax.BinaryExpression,\n                operator: lex().value,\n                left: expr,\n                right: parseMultiplicativeExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    // 11.7 Bitwise Shift Operators\n\n    function parseShiftExpression() {\n        var expr = parseAdditiveExpression();\n\n        while (match('<<') || match('>>') || match('>>>')) {\n            expr = {\n                type: Syntax.BinaryExpression,\n                operator: lex().value,\n                left: expr,\n                right: parseAdditiveExpression()\n            };\n        }\n\n        return expr;\n    }\n    // 11.8 Relational Operators\n\n    function parseRelationalExpression() {\n        var expr, previousAllowIn;\n\n        previousAllowIn = state.allowIn;\n        state.allowIn = true;\n\n        expr = parseShiftExpression();\n\n        while (match('<') || match('>') || match('<=') || match('>=') || (previousAllowIn && matchKeyword('in')) || matchKeyword('instanceof')) {\n            expr = {\n                type: Syntax.BinaryExpression,\n                operator: lex().value,\n                left: expr,\n                right: parseShiftExpression()\n            };\n        }\n\n        state.allowIn = previousAllowIn;\n        return expr;\n    }\n\n    // 11.9 Equality Operators\n\n    function parseEqualityExpression() {\n        var expr = parseRelationalExpression();\n\n        while (match('==') || match('!=') || match('===') || match('!==')) {\n            expr = {\n                type: Syntax.BinaryExpression,\n                operator: lex().value,\n                left: expr,\n                right: parseRelationalExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    // 11.10 Binary Bitwise Operators\n\n    function parseBitwiseANDExpression() {\n        var expr = parseEqualityExpression();\n\n        while (match('&')) {\n            lex();\n            expr = {\n                type: Syntax.BinaryExpression,\n                operator: '&',\n                left: expr,\n                right: parseEqualityExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    function parseBitwiseXORExpression() {\n        var expr = parseBitwiseANDExpression();\n\n        while (match('^')) {\n            lex();\n            expr = {\n                type: Syntax.BinaryExpression,\n                operator: '^',\n                left: expr,\n                right: parseBitwiseANDExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    function parseBitwiseORExpression() {\n        var expr = parseBitwiseXORExpression();\n\n        while (match('|')) {\n            lex();\n            expr = {\n                type: Syntax.BinaryExpression,\n                operator: '|',\n                left: expr,\n                right: parseBitwiseXORExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    // 11.11 Binary Logical Operators\n\n    function parseLogicalANDExpression() {\n        var expr = parseBitwiseORExpression();\n\n        while (match('&&')) {\n            lex();\n            expr = {\n                type: Syntax.LogicalExpression,\n                operator: '&&',\n                left: expr,\n                right: parseBitwiseORExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    function parseLogicalORExpression() {\n        var expr = parseLogicalANDExpression();\n\n        while (match('||')) {\n            lex();\n            expr = {\n                type: Syntax.LogicalExpression,\n                operator: '||',\n                left: expr,\n                right: parseLogicalANDExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    // 11.12 Conditional Operator\n\n    function parseConditionalExpression() {\n        var expr, previousAllowIn, consequent;\n\n        expr = parseLogicalORExpression();\n\n        if (match('?')) {\n            lex();\n            previousAllowIn = state.allowIn;\n            state.allowIn = true;\n            consequent = parseAssignmentExpression();\n            state.allowIn = previousAllowIn;\n            expect(':');\n\n            expr = {\n                type: Syntax.ConditionalExpression,\n                test: expr,\n                consequent: consequent,\n                alternate: parseAssignmentExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    // 11.13 Assignment Operators\n\n    function parseAssignmentExpression() {\n        var token, expr;\n\n        token = lookahead();\n        expr = parseConditionalExpression();\n\n        if (matchAssign()) {\n            // LeftHandSideExpression\n            if (!isLeftHandSide(expr)) {\n                throwErrorTolerant({}, Messages.InvalidLHSInAssignment);\n            }\n\n            // 11.13.1\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant(token, Messages.StrictLHSAssignment);\n            }\n\n            expr = {\n                type: Syntax.AssignmentExpression,\n                operator: lex().value,\n                left: expr,\n                right: parseAssignmentExpression()\n            };\n        }\n\n        return expr;\n    }\n\n    // 11.14 Comma Operator\n\n    function parseExpression() {\n        var expr = parseAssignmentExpression();\n\n        if (match(',')) {\n            expr = {\n                type: Syntax.SequenceExpression,\n                expressions: [ expr ]\n            };\n\n            while (index < length) {\n                if (!match(',')) {\n                    break;\n                }\n                lex();\n                expr.expressions.push(parseAssignmentExpression());\n            }\n\n        }\n        return expr;\n    }\n\n    // 12.1 Block\n\n    function parseStatementList() {\n        var list = [],\n            statement;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            statement = parseSourceElement();\n            if (typeof statement === 'undefined') {\n                break;\n            }\n            list.push(statement);\n        }\n\n        return list;\n    }\n\n    function parseBlock() {\n        var block;\n\n        expect('{');\n\n        block = parseStatementList();\n\n        expect('}');\n\n        return {\n            type: Syntax.BlockStatement,\n            body: block\n        };\n    }\n\n    // 12.2 Variable Statement\n\n    function parseVariableIdentifier() {\n        var token = lex();\n\n        if (token.type !== Token.Identifier) {\n            throwUnexpected(token);\n        }\n\n        return {\n            type: Syntax.Identifier,\n            name: token.value\n        };\n    }\n\n    function parseVariableDeclaration(kind) {\n        var id = parseVariableIdentifier(),\n            init = null;\n\n        // 12.2.1\n        if (strict && isRestrictedWord(id.name)) {\n            throwErrorTolerant({}, Messages.StrictVarName);\n        }\n\n        if (kind === 'const') {\n            expect('=');\n            init = parseAssignmentExpression();\n        } else if (match('=')) {\n            lex();\n            init = parseAssignmentExpression();\n        }\n\n        return {\n            type: Syntax.VariableDeclarator,\n            id: id,\n            init: init\n        };\n    }\n\n    function parseVariableDeclarationList(kind) {\n        var list = [];\n\n        do {\n            list.push(parseVariableDeclaration(kind));\n            if (!match(',')) {\n                break;\n            }\n            lex();\n        } while (index < length);\n\n        return list;\n    }\n\n    function parseVariableStatement() {\n        var declarations;\n\n        expectKeyword('var');\n\n        declarations = parseVariableDeclarationList();\n\n        consumeSemicolon();\n\n        return {\n            type: Syntax.VariableDeclaration,\n            declarations: declarations,\n            kind: 'var'\n        };\n    }\n\n    // kind may be `const` or `let`\n    // Both are experimental and not in the specification yet.\n    // see http://wiki.ecmascript.org/doku.php?id=harmony:const\n    // and http://wiki.ecmascript.org/doku.php?id=harmony:let\n    function parseConstLetDeclaration(kind) {\n        var declarations;\n\n        expectKeyword(kind);\n\n        declarations = parseVariableDeclarationList(kind);\n\n        consumeSemicolon();\n\n        return {\n            type: Syntax.VariableDeclaration,\n            declarations: declarations,\n            kind: kind\n        };\n    }\n\n    // 12.3 Empty Statement\n\n    function parseEmptyStatement() {\n        expect(';');\n\n        return {\n            type: Syntax.EmptyStatement\n        };\n    }\n\n    // 12.4 Expression Statement\n\n    function parseExpressionStatement() {\n        var expr = parseExpression();\n\n        consumeSemicolon();\n\n        return {\n            type: Syntax.ExpressionStatement,\n            expression: expr\n        };\n    }\n\n    // 12.5 If statement\n\n    function parseIfStatement() {\n        var test, consequent, alternate;\n\n        expectKeyword('if');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        consequent = parseStatement();\n\n        if (matchKeyword('else')) {\n            lex();\n            alternate = parseStatement();\n        } else {\n            alternate = null;\n        }\n\n        return {\n            type: Syntax.IfStatement,\n            test: test,\n            consequent: consequent,\n            alternate: alternate\n        };\n    }\n\n    // 12.6 Iteration Statements\n\n    function parseDoWhileStatement() {\n        var body, test, oldInIteration;\n\n        expectKeyword('do');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        expectKeyword('while');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        if (match(';')) {\n            lex();\n        }\n\n        return {\n            type: Syntax.DoWhileStatement,\n            body: body,\n            test: test\n        };\n    }\n\n    function parseWhileStatement() {\n        var test, body, oldInIteration;\n\n        expectKeyword('while');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        return {\n            type: Syntax.WhileStatement,\n            test: test,\n            body: body\n        };\n    }\n\n    function parseForVariableDeclaration() {\n        var token = lex();\n\n        return {\n            type: Syntax.VariableDeclaration,\n            declarations: parseVariableDeclarationList(),\n            kind: token.value\n        };\n    }\n\n    function parseForStatement() {\n        var init, test, update, left, right, body, oldInIteration;\n\n        init = test = update = null;\n\n        expectKeyword('for');\n\n        expect('(');\n\n        if (match(';')) {\n            lex();\n        } else {\n            if (matchKeyword('var') || matchKeyword('let')) {\n                state.allowIn = false;\n                init = parseForVariableDeclaration();\n                state.allowIn = true;\n\n                if (init.declarations.length === 1 && matchKeyword('in')) {\n                    lex();\n                    left = init;\n                    right = parseExpression();\n                    init = null;\n                }\n            } else {\n                state.allowIn = false;\n                init = parseExpression();\n                state.allowIn = true;\n\n                if (matchKeyword('in')) {\n                    // LeftHandSideExpression\n                    if (!isLeftHandSide(init)) {\n                        throwErrorTolerant({}, Messages.InvalidLHSInForIn);\n                    }\n\n                    lex();\n                    left = init;\n                    right = parseExpression();\n                    init = null;\n                }\n            }\n\n            if (typeof left === 'undefined') {\n                expect(';');\n            }\n        }\n\n        if (typeof left === 'undefined') {\n\n            if (!match(';')) {\n                test = parseExpression();\n            }\n            expect(';');\n\n            if (!match(')')) {\n                update = parseExpression();\n            }\n        }\n\n        expect(')');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        if (typeof left === 'undefined') {\n            return {\n                type: Syntax.ForStatement,\n                init: init,\n                test: test,\n                update: update,\n                body: body\n            };\n        }\n\n        return {\n            type: Syntax.ForInStatement,\n            left: left,\n            right: right,\n            body: body,\n            each: false\n        };\n    }\n\n    // 12.7 The continue statement\n\n    function parseContinueStatement() {\n        var token, label = null;\n\n        expectKeyword('continue');\n\n        // Optimize the most common form: 'continue;'.\n        if (source[index] === ';') {\n            lex();\n\n            if (!state.inIteration) {\n                throwError({}, Messages.IllegalContinue);\n            }\n\n            return {\n                type: Syntax.ContinueStatement,\n                label: null\n            };\n        }\n\n        if (peekLineTerminator()) {\n            if (!state.inIteration) {\n                throwError({}, Messages.IllegalContinue);\n            }\n\n            return {\n                type: Syntax.ContinueStatement,\n                label: null\n            };\n        }\n\n        token = lookahead();\n        if (token.type === Token.Identifier) {\n            label = parseVariableIdentifier();\n\n            if (!Object.prototype.hasOwnProperty.call(state.labelSet, label.name)) {\n                throwError({}, Messages.UnknownLabel, label.name);\n            }\n        }\n\n        consumeSemicolon();\n\n        if (label === null && !state.inIteration) {\n            throwError({}, Messages.IllegalContinue);\n        }\n\n        return {\n            type: Syntax.ContinueStatement,\n            label: label\n        };\n    }\n\n    // 12.8 The break statement\n\n    function parseBreakStatement() {\n        var token, label = null;\n\n        expectKeyword('break');\n\n        // Optimize the most common form: 'break;'.\n        if (source[index] === ';') {\n            lex();\n\n            if (!(state.inIteration || state.inSwitch)) {\n                throwError({}, Messages.IllegalBreak);\n            }\n\n            return {\n                type: Syntax.BreakStatement,\n                label: null\n            };\n        }\n\n        if (peekLineTerminator()) {\n            if (!(state.inIteration || state.inSwitch)) {\n                throwError({}, Messages.IllegalBreak);\n            }\n\n            return {\n                type: Syntax.BreakStatement,\n                label: null\n            };\n        }\n\n        token = lookahead();\n        if (token.type === Token.Identifier) {\n            label = parseVariableIdentifier();\n\n            if (!Object.prototype.hasOwnProperty.call(state.labelSet, label.name)) {\n                throwError({}, Messages.UnknownLabel, label.name);\n            }\n        }\n\n        consumeSemicolon();\n\n        if (label === null && !(state.inIteration || state.inSwitch)) {\n            throwError({}, Messages.IllegalBreak);\n        }\n\n        return {\n            type: Syntax.BreakStatement,\n            label: label\n        };\n    }\n\n    // 12.9 The return statement\n\n    function parseReturnStatement() {\n        var token, argument = null;\n\n        expectKeyword('return');\n\n        if (!state.inFunctionBody) {\n            throwErrorTolerant({}, Messages.IllegalReturn);\n        }\n\n        // 'return' followed by a space and an identifier is very common.\n        if (source[index] === ' ') {\n            if (isIdentifierStart(source[index + 1])) {\n                argument = parseExpression();\n                consumeSemicolon();\n                return {\n                    type: Syntax.ReturnStatement,\n                    argument: argument\n                };\n            }\n        }\n\n        if (peekLineTerminator()) {\n            return {\n                type: Syntax.ReturnStatement,\n                argument: null\n            };\n        }\n\n        if (!match(';')) {\n            token = lookahead();\n            if (!match('}') && token.type !== Token.EOF) {\n                argument = parseExpression();\n            }\n        }\n\n        consumeSemicolon();\n\n        return {\n            type: Syntax.ReturnStatement,\n            argument: argument\n        };\n    }\n\n    // 12.10 The with statement\n\n    function parseWithStatement() {\n        var object, body;\n\n        if (strict) {\n            throwErrorTolerant({}, Messages.StrictModeWith);\n        }\n\n        expectKeyword('with');\n\n        expect('(');\n\n        object = parseExpression();\n\n        expect(')');\n\n        body = parseStatement();\n\n        return {\n            type: Syntax.WithStatement,\n            object: object,\n            body: body\n        };\n    }\n\n    // 12.10 The swith statement\n\n    function parseSwitchCase() {\n        var test,\n            consequent = [],\n            statement;\n\n        if (matchKeyword('default')) {\n            lex();\n            test = null;\n        } else {\n            expectKeyword('case');\n            test = parseExpression();\n        }\n        expect(':');\n\n        while (index < length) {\n            if (match('}') || matchKeyword('default') || matchKeyword('case')) {\n                break;\n            }\n            statement = parseStatement();\n            if (typeof statement === 'undefined') {\n                break;\n            }\n            consequent.push(statement);\n        }\n\n        return {\n            type: Syntax.SwitchCase,\n            test: test,\n            consequent: consequent\n        };\n    }\n\n    function parseSwitchStatement() {\n        var discriminant, cases, clause, oldInSwitch, defaultFound;\n\n        expectKeyword('switch');\n\n        expect('(');\n\n        discriminant = parseExpression();\n\n        expect(')');\n\n        expect('{');\n\n        cases = [];\n\n        if (match('}')) {\n            lex();\n            return {\n                type: Syntax.SwitchStatement,\n                discriminant: discriminant,\n                cases: cases\n            };\n        }\n\n        oldInSwitch = state.inSwitch;\n        state.inSwitch = true;\n        defaultFound = false;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            clause = parseSwitchCase();\n            if (clause.test === null) {\n                if (defaultFound) {\n                    throwError({}, Messages.MultipleDefaultsInSwitch);\n                }\n                defaultFound = true;\n            }\n            cases.push(clause);\n        }\n\n        state.inSwitch = oldInSwitch;\n\n        expect('}');\n\n        return {\n            type: Syntax.SwitchStatement,\n            discriminant: discriminant,\n            cases: cases\n        };\n    }\n\n    // 12.13 The throw statement\n\n    function parseThrowStatement() {\n        var argument;\n\n        expectKeyword('throw');\n\n        if (peekLineTerminator()) {\n            throwError({}, Messages.NewlineAfterThrow);\n        }\n\n        argument = parseExpression();\n\n        consumeSemicolon();\n\n        return {\n            type: Syntax.ThrowStatement,\n            argument: argument\n        };\n    }\n\n    // 12.14 The try statement\n\n    function parseCatchClause() {\n        var param;\n\n        expectKeyword('catch');\n\n        expect('(');\n        if (match(')')) {\n            throwUnexpected(lookahead());\n        }\n\n        param = parseVariableIdentifier();\n        // 12.14.1\n        if (strict && isRestrictedWord(param.name)) {\n            throwErrorTolerant({}, Messages.StrictCatchVariable);\n        }\n\n        expect(')');\n\n        return {\n            type: Syntax.CatchClause,\n            param: param,\n            body: parseBlock()\n        };\n    }\n\n    function parseTryStatement() {\n        var block, handlers = [], finalizer = null;\n\n        expectKeyword('try');\n\n        block = parseBlock();\n\n        if (matchKeyword('catch')) {\n            handlers.push(parseCatchClause());\n        }\n\n        if (matchKeyword('finally')) {\n            lex();\n            finalizer = parseBlock();\n        }\n\n        if (handlers.length === 0 && !finalizer) {\n            throwError({}, Messages.NoCatchOrFinally);\n        }\n\n        return {\n            type: Syntax.TryStatement,\n            block: block,\n            guardedHandlers: [],\n            handlers: handlers,\n            finalizer: finalizer\n        };\n    }\n\n    // 12.15 The debugger statement\n\n    function parseDebuggerStatement() {\n        expectKeyword('debugger');\n\n        consumeSemicolon();\n\n        return {\n            type: Syntax.DebuggerStatement\n        };\n    }\n\n    // 12 Statements\n\n    function parseStatement() {\n        var token = lookahead(),\n            expr,\n            labeledBody;\n\n        if (token.type === Token.EOF) {\n            throwUnexpected(token);\n        }\n\n        if (token.type === Token.Punctuator) {\n            switch (token.value) {\n            case ';':\n                return parseEmptyStatement();\n            case '{':\n                return parseBlock();\n            case '(':\n                return parseExpressionStatement();\n            default:\n                break;\n            }\n        }\n\n        if (token.type === Token.Keyword) {\n            switch (token.value) {\n            case 'break':\n                return parseBreakStatement();\n            case 'continue':\n                return parseContinueStatement();\n            case 'debugger':\n                return parseDebuggerStatement();\n            case 'do':\n                return parseDoWhileStatement();\n            case 'for':\n                return parseForStatement();\n            case 'function':\n                return parseFunctionDeclaration();\n            case 'if':\n                return parseIfStatement();\n            case 'return':\n                return parseReturnStatement();\n            case 'switch':\n                return parseSwitchStatement();\n            case 'throw':\n                return parseThrowStatement();\n            case 'try':\n                return parseTryStatement();\n            case 'var':\n                return parseVariableStatement();\n            case 'while':\n                return parseWhileStatement();\n            case 'with':\n                return parseWithStatement();\n            default:\n                break;\n            }\n        }\n\n        expr = parseExpression();\n\n        // 12.12 Labelled Statements\n        if ((expr.type === Syntax.Identifier) && match(':')) {\n            lex();\n\n            if (Object.prototype.hasOwnProperty.call(state.labelSet, expr.name)) {\n                throwError({}, Messages.Redeclaration, 'Label', expr.name);\n            }\n\n            state.labelSet[expr.name] = true;\n            labeledBody = parseStatement();\n            delete state.labelSet[expr.name];\n\n            return {\n                type: Syntax.LabeledStatement,\n                label: expr,\n                body: labeledBody\n            };\n        }\n\n        consumeSemicolon();\n\n        return {\n            type: Syntax.ExpressionStatement,\n            expression: expr\n        };\n    }\n\n    // 13 Function Definition\n\n    function parseFunctionSourceElements() {\n        var sourceElement, sourceElements = [], token, directive, firstRestricted,\n            oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody;\n\n        expect('{');\n\n        while (index < length) {\n            token = lookahead();\n            if (token.type !== Token.StringLiteral) {\n                break;\n            }\n\n            sourceElement = parseSourceElement();\n            sourceElements.push(sourceElement);\n            if (sourceElement.expression.type !== Syntax.Literal) {\n                // this is not directive\n                break;\n            }\n            directive = sliceSource(token.range[0] + 1, token.range[1] - 1);\n            if (directive === 'use strict') {\n                strict = true;\n                if (firstRestricted) {\n                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n                }\n            } else {\n                if (!firstRestricted && token.octal) {\n                    firstRestricted = token;\n                }\n            }\n        }\n\n        oldLabelSet = state.labelSet;\n        oldInIteration = state.inIteration;\n        oldInSwitch = state.inSwitch;\n        oldInFunctionBody = state.inFunctionBody;\n\n        state.labelSet = {};\n        state.inIteration = false;\n        state.inSwitch = false;\n        state.inFunctionBody = true;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            sourceElement = parseSourceElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            sourceElements.push(sourceElement);\n        }\n\n        expect('}');\n\n        state.labelSet = oldLabelSet;\n        state.inIteration = oldInIteration;\n        state.inSwitch = oldInSwitch;\n        state.inFunctionBody = oldInFunctionBody;\n\n        return {\n            type: Syntax.BlockStatement,\n            body: sourceElements\n        };\n    }\n\n    function parseFunctionDeclaration() {\n        var id, param, params = [], body, token, stricted, firstRestricted, message, previousStrict, paramSet;\n\n        expectKeyword('function');\n        token = lookahead();\n        id = parseVariableIdentifier();\n        if (strict) {\n            if (isRestrictedWord(token.value)) {\n                throwErrorTolerant(token, Messages.StrictFunctionName);\n            }\n        } else {\n            if (isRestrictedWord(token.value)) {\n                firstRestricted = token;\n                message = Messages.StrictFunctionName;\n            } else if (isStrictModeReservedWord(token.value)) {\n                firstRestricted = token;\n                message = Messages.StrictReservedWord;\n            }\n        }\n\n        expect('(');\n\n        if (!match(')')) {\n            paramSet = {};\n            while (index < length) {\n                token = lookahead();\n                param = parseVariableIdentifier();\n                if (strict) {\n                    if (isRestrictedWord(token.value)) {\n                        stricted = token;\n                        message = Messages.StrictParamName;\n                    }\n                    if (Object.prototype.hasOwnProperty.call(paramSet, token.value)) {\n                        stricted = token;\n                        message = Messages.StrictParamDupe;\n                    }\n                } else if (!firstRestricted) {\n                    if (isRestrictedWord(token.value)) {\n                        firstRestricted = token;\n                        message = Messages.StrictParamName;\n                    } else if (isStrictModeReservedWord(token.value)) {\n                        firstRestricted = token;\n                        message = Messages.StrictReservedWord;\n                    } else if (Object.prototype.hasOwnProperty.call(paramSet, token.value)) {\n                        firstRestricted = token;\n                        message = Messages.StrictParamDupe;\n                    }\n                }\n                params.push(param);\n                paramSet[param.name] = true;\n                if (match(')')) {\n                    break;\n                }\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        previousStrict = strict;\n        body = parseFunctionSourceElements();\n        if (strict && firstRestricted) {\n            throwError(firstRestricted, message);\n        }\n        if (strict && stricted) {\n            throwErrorTolerant(stricted, message);\n        }\n        strict = previousStrict;\n\n        return {\n            type: Syntax.FunctionDeclaration,\n            id: id,\n            params: params,\n            defaults: [],\n            body: body,\n            rest: null,\n            generator: false,\n            expression: false\n        };\n    }\n\n    function parseFunctionExpression() {\n        var token, id = null, stricted, firstRestricted, message, param, params = [], body, previousStrict, paramSet;\n\n        expectKeyword('function');\n\n        if (!match('(')) {\n            token = lookahead();\n            id = parseVariableIdentifier();\n            if (strict) {\n                if (isRestrictedWord(token.value)) {\n                    throwErrorTolerant(token, Messages.StrictFunctionName);\n                }\n            } else {\n                if (isRestrictedWord(token.value)) {\n                    firstRestricted = token;\n                    message = Messages.StrictFunctionName;\n                } else if (isStrictModeReservedWord(token.value)) {\n                    firstRestricted = token;\n                    message = Messages.StrictReservedWord;\n                }\n            }\n        }\n\n        expect('(');\n\n        if (!match(')')) {\n            paramSet = {};\n            while (index < length) {\n                token = lookahead();\n                param = parseVariableIdentifier();\n                if (strict) {\n                    if (isRestrictedWord(token.value)) {\n                        stricted = token;\n                        message = Messages.StrictParamName;\n                    }\n                    if (Object.prototype.hasOwnProperty.call(paramSet, token.value)) {\n                        stricted = token;\n                        message = Messages.StrictParamDupe;\n                    }\n                } else if (!firstRestricted) {\n                    if (isRestrictedWord(token.value)) {\n                        firstRestricted = token;\n                        message = Messages.StrictParamName;\n                    } else if (isStrictModeReservedWord(token.value)) {\n                        firstRestricted = token;\n                        message = Messages.StrictReservedWord;\n                    } else if (Object.prototype.hasOwnProperty.call(paramSet, token.value)) {\n                        firstRestricted = token;\n                        message = Messages.StrictParamDupe;\n                    }\n                }\n                params.push(param);\n                paramSet[param.name] = true;\n                if (match(')')) {\n                    break;\n                }\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        previousStrict = strict;\n        body = parseFunctionSourceElements();\n        if (strict && firstRestricted) {\n            throwError(firstRestricted, message);\n        }\n        if (strict && stricted) {\n            throwErrorTolerant(stricted, message);\n        }\n        strict = previousStrict;\n\n        return {\n            type: Syntax.FunctionExpression,\n            id: id,\n            params: params,\n            defaults: [],\n            body: body,\n            rest: null,\n            generator: false,\n            expression: false\n        };\n    }\n\n    // 14 Program\n\n    function parseSourceElement() {\n        var token = lookahead();\n\n        if (token.type === Token.Keyword) {\n            switch (token.value) {\n            case 'const':\n            case 'let':\n                return parseConstLetDeclaration(token.value);\n            case 'function':\n                return parseFunctionDeclaration();\n            default:\n                return parseStatement();\n            }\n        }\n\n        if (token.type !== Token.EOF) {\n            return parseStatement();\n        }\n    }\n\n    function parseSourceElements() {\n        var sourceElement, sourceElements = [], token, directive, firstRestricted;\n\n        while (index < length) {\n            token = lookahead();\n            if (token.type !== Token.StringLiteral) {\n                break;\n            }\n\n            sourceElement = parseSourceElement();\n            sourceElements.push(sourceElement);\n            if (sourceElement.expression.type !== Syntax.Literal) {\n                // this is not directive\n                break;\n            }\n            directive = sliceSource(token.range[0] + 1, token.range[1] - 1);\n            if (directive === 'use strict') {\n                strict = true;\n                if (firstRestricted) {\n                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n                }\n            } else {\n                if (!firstRestricted && token.octal) {\n                    firstRestricted = token;\n                }\n            }\n        }\n\n        while (index < length) {\n            sourceElement = parseSourceElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            sourceElements.push(sourceElement);\n        }\n        return sourceElements;\n    }\n\n    function parseProgram() {\n        var program;\n        strict = false;\n        program = {\n            type: Syntax.Program,\n            body: parseSourceElements()\n        };\n        return program;\n    }\n\n    // The following functions are needed only when the option to preserve\n    // the comments is active.\n\n    function addComment(type, value, start, end, loc) {\n        assert(typeof start === 'number', 'Comment must have valid position');\n\n        // Because the way the actual token is scanned, often the comments\n        // (if any) are skipped twice during the lexical analysis.\n        // Thus, we need to skip adding a comment if the comment array already\n        // handled it.\n        if (extra.comments.length > 0) {\n            if (extra.comments[extra.comments.length - 1].range[1] > start) {\n                return;\n            }\n        }\n\n        extra.comments.push({\n            type: type,\n            value: value,\n            range: [start, end],\n            loc: loc\n        });\n    }\n\n    function scanComment() {\n        var comment, ch, loc, start, blockComment, lineComment;\n\n        comment = '';\n        blockComment = false;\n        lineComment = false;\n\n        while (index < length) {\n            ch = source[index];\n\n            if (lineComment) {\n                ch = source[index++];\n                if (isLineTerminator(ch)) {\n                    loc.end = {\n                        line: lineNumber,\n                        column: index - lineStart - 1\n                    };\n                    lineComment = false;\n                    addComment('Line', comment, start, index - 1, loc);\n                    if (ch === '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    lineStart = index;\n                    comment = '';\n                } else if (index >= length) {\n                    lineComment = false;\n                    comment += ch;\n                    loc.end = {\n                        line: lineNumber,\n                        column: length - lineStart\n                    };\n                    addComment('Line', comment, start, length, loc);\n                } else {\n                    comment += ch;\n                }\n            } else if (blockComment) {\n                if (isLineTerminator(ch)) {\n                    if (ch === '\\r' && source[index + 1] === '\\n') {\n                        ++index;\n                        comment += '\\r\\n';\n                    } else {\n                        comment += ch;\n                    }\n                    ++lineNumber;\n                    ++index;\n                    lineStart = index;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    ch = source[index++];\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                    comment += ch;\n                    if (ch === '*') {\n                        ch = source[index];\n                        if (ch === '/') {\n                            comment = comment.substr(0, comment.length - 1);\n                            blockComment = false;\n                            ++index;\n                            loc.end = {\n                                line: lineNumber,\n                                column: index - lineStart\n                            };\n                            addComment('Block', comment, start, index, loc);\n                            comment = '';\n                        }\n                    }\n                }\n            } else if (ch === '/') {\n                ch = source[index + 1];\n                if (ch === '/') {\n                    loc = {\n                        start: {\n                            line: lineNumber,\n                            column: index - lineStart\n                        }\n                    };\n                    start = index;\n                    index += 2;\n                    lineComment = true;\n                    if (index >= length) {\n                        loc.end = {\n                            line: lineNumber,\n                            column: index - lineStart\n                        };\n                        lineComment = false;\n                        addComment('Line', comment, start, index, loc);\n                    }\n                } else if (ch === '*') {\n                    start = index;\n                    index += 2;\n                    blockComment = true;\n                    loc = {\n                        start: {\n                            line: lineNumber,\n                            column: index - lineStart - 2\n                        }\n                    };\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    break;\n                }\n            } else if (isWhiteSpace(ch)) {\n                ++index;\n            } else if (isLineTerminator(ch)) {\n                ++index;\n                if (ch ===  '\\r' && source[index] === '\\n') {\n                    ++index;\n                }\n                ++lineNumber;\n                lineStart = index;\n            } else {\n                break;\n            }\n        }\n    }\n\n    function filterCommentLocation() {\n        var i, entry, comment, comments = [];\n\n        for (i = 0; i < extra.comments.length; ++i) {\n            entry = extra.comments[i];\n            comment = {\n                type: entry.type,\n                value: entry.value\n            };\n            if (extra.range) {\n                comment.range = entry.range;\n            }\n            if (extra.loc) {\n                comment.loc = entry.loc;\n            }\n            comments.push(comment);\n        }\n\n        extra.comments = comments;\n    }\n\n    function collectToken() {\n        var start, loc, token, range, value;\n\n        skipComment();\n        start = index;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        token = extra.advance();\n        loc.end = {\n            line: lineNumber,\n            column: index - lineStart\n        };\n\n        if (token.type !== Token.EOF) {\n            range = [token.range[0], token.range[1]];\n            value = sliceSource(token.range[0], token.range[1]);\n            extra.tokens.push({\n                type: TokenName[token.type],\n                value: value,\n                range: range,\n                loc: loc\n            });\n        }\n\n        return token;\n    }\n\n    function collectRegex() {\n        var pos, loc, regex, token;\n\n        skipComment();\n\n        pos = index;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        regex = extra.scanRegExp();\n        loc.end = {\n            line: lineNumber,\n            column: index - lineStart\n        };\n\n        // Pop the previous token, which is likely '/' or '/='\n        if (extra.tokens.length > 0) {\n            token = extra.tokens[extra.tokens.length - 1];\n            if (token.range[0] === pos && token.type === 'Punctuator') {\n                if (token.value === '/' || token.value === '/=') {\n                    extra.tokens.pop();\n                }\n            }\n        }\n\n        extra.tokens.push({\n            type: 'RegularExpression',\n            value: regex.literal,\n            range: [pos, index],\n            loc: loc\n        });\n\n        return regex;\n    }\n\n    function filterTokenLocation() {\n        var i, entry, token, tokens = [];\n\n        for (i = 0; i < extra.tokens.length; ++i) {\n            entry = extra.tokens[i];\n            token = {\n                type: entry.type,\n                value: entry.value\n            };\n            if (extra.range) {\n                token.range = entry.range;\n            }\n            if (extra.loc) {\n                token.loc = entry.loc;\n            }\n            tokens.push(token);\n        }\n\n        extra.tokens = tokens;\n    }\n\n    function createLiteral(token) {\n        return {\n            type: Syntax.Literal,\n            value: token.value\n        };\n    }\n\n    function createRawLiteral(token) {\n        return {\n            type: Syntax.Literal,\n            value: token.value,\n            raw: sliceSource(token.range[0], token.range[1])\n        };\n    }\n\n    function createLocationMarker() {\n        var marker = {};\n\n        marker.range = [index, index];\n        marker.loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            },\n            end: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        marker.end = function () {\n            this.range[1] = index;\n            this.loc.end.line = lineNumber;\n            this.loc.end.column = index - lineStart;\n        };\n\n        marker.applyGroup = function (node) {\n            if (extra.range) {\n                node.groupRange = [this.range[0], this.range[1]];\n            }\n            if (extra.loc) {\n                node.groupLoc = {\n                    start: {\n                        line: this.loc.start.line,\n                        column: this.loc.start.column\n                    },\n                    end: {\n                        line: this.loc.end.line,\n                        column: this.loc.end.column\n                    }\n                };\n            }\n        };\n\n        marker.apply = function (node) {\n            if (extra.range) {\n                node.range = [this.range[0], this.range[1]];\n            }\n            if (extra.loc) {\n                node.loc = {\n                    start: {\n                        line: this.loc.start.line,\n                        column: this.loc.start.column\n                    },\n                    end: {\n                        line: this.loc.end.line,\n                        column: this.loc.end.column\n                    }\n                };\n            }\n        };\n\n        return marker;\n    }\n\n    function trackGroupExpression() {\n        var marker, expr;\n\n        skipComment();\n        marker = createLocationMarker();\n        expect('(');\n\n        expr = parseExpression();\n\n        expect(')');\n\n        marker.end();\n        marker.applyGroup(expr);\n\n        return expr;\n    }\n\n    function trackLeftHandSideExpression() {\n        var marker, expr;\n\n        skipComment();\n        marker = createLocationMarker();\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[')) {\n            if (match('[')) {\n                expr = {\n                    type: Syntax.MemberExpression,\n                    computed: true,\n                    object: expr,\n                    property: parseComputedMember()\n                };\n                marker.end();\n                marker.apply(expr);\n            } else {\n                expr = {\n                    type: Syntax.MemberExpression,\n                    computed: false,\n                    object: expr,\n                    property: parseNonComputedMember()\n                };\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n    function trackLeftHandSideExpressionAllowCall() {\n        var marker, expr;\n\n        skipComment();\n        marker = createLocationMarker();\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || match('(')) {\n            if (match('(')) {\n                expr = {\n                    type: Syntax.CallExpression,\n                    callee: expr,\n                    'arguments': parseArguments()\n                };\n                marker.end();\n                marker.apply(expr);\n            } else if (match('[')) {\n                expr = {\n                    type: Syntax.MemberExpression,\n                    computed: true,\n                    object: expr,\n                    property: parseComputedMember()\n                };\n                marker.end();\n                marker.apply(expr);\n            } else {\n                expr = {\n                    type: Syntax.MemberExpression,\n                    computed: false,\n                    object: expr,\n                    property: parseNonComputedMember()\n                };\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n    function filterGroup(node) {\n        var n, i, entry;\n\n        n = (Object.prototype.toString.apply(node) === '[object Array]') ? [] : {};\n        for (i in node) {\n            if (node.hasOwnProperty(i) && i !== 'groupRange' && i !== 'groupLoc') {\n                entry = node[i];\n                if (entry === null || typeof entry !== 'object' || entry instanceof RegExp) {\n                    n[i] = entry;\n                } else {\n                    n[i] = filterGroup(entry);\n                }\n            }\n        }\n        return n;\n    }\n\n    function wrapTrackingFunction(range, loc) {\n\n        return function (parseFunction) {\n\n            function isBinary(node) {\n                return node.type === Syntax.LogicalExpression ||\n                    node.type === Syntax.BinaryExpression;\n            }\n\n            function visit(node) {\n                var start, end;\n\n                if (isBinary(node.left)) {\n                    visit(node.left);\n                }\n                if (isBinary(node.right)) {\n                    visit(node.right);\n                }\n\n                if (range) {\n                    if (node.left.groupRange || node.right.groupRange) {\n                        start = node.left.groupRange ? node.left.groupRange[0] : node.left.range[0];\n                        end = node.right.groupRange ? node.right.groupRange[1] : node.right.range[1];\n                        node.range = [start, end];\n                    } else if (typeof node.range === 'undefined') {\n                        start = node.left.range[0];\n                        end = node.right.range[1];\n                        node.range = [start, end];\n                    }\n                }\n                if (loc) {\n                    if (node.left.groupLoc || node.right.groupLoc) {\n                        start = node.left.groupLoc ? node.left.groupLoc.start : node.left.loc.start;\n                        end = node.right.groupLoc ? node.right.groupLoc.end : node.right.loc.end;\n                        node.loc = {\n                            start: start,\n                            end: end\n                        };\n                    } else if (typeof node.loc === 'undefined') {\n                        node.loc = {\n                            start: node.left.loc.start,\n                            end: node.right.loc.end\n                        };\n                    }\n                }\n            }\n\n            return function () {\n                var marker, node;\n\n                skipComment();\n\n                marker = createLocationMarker();\n                node = parseFunction.apply(null, arguments);\n                marker.end();\n\n                if (range && typeof node.range === 'undefined') {\n                    marker.apply(node);\n                }\n\n                if (loc && typeof node.loc === 'undefined') {\n                    marker.apply(node);\n                }\n\n                if (isBinary(node)) {\n                    visit(node);\n                }\n\n                return node;\n            };\n        };\n    }\n\n    function patch() {\n\n        var wrapTracking;\n\n        if (extra.comments) {\n            extra.skipComment = skipComment;\n            skipComment = scanComment;\n        }\n\n        if (extra.raw) {\n            extra.createLiteral = createLiteral;\n            createLiteral = createRawLiteral;\n        }\n\n        if (extra.range || extra.loc) {\n\n            extra.parseGroupExpression = parseGroupExpression;\n            extra.parseLeftHandSideExpression = parseLeftHandSideExpression;\n            extra.parseLeftHandSideExpressionAllowCall = parseLeftHandSideExpressionAllowCall;\n            parseGroupExpression = trackGroupExpression;\n            parseLeftHandSideExpression = trackLeftHandSideExpression;\n            parseLeftHandSideExpressionAllowCall = trackLeftHandSideExpressionAllowCall;\n\n            wrapTracking = wrapTrackingFunction(extra.range, extra.loc);\n\n            extra.parseAdditiveExpression = parseAdditiveExpression;\n            extra.parseAssignmentExpression = parseAssignmentExpression;\n            extra.parseBitwiseANDExpression = parseBitwiseANDExpression;\n            extra.parseBitwiseORExpression = parseBitwiseORExpression;\n            extra.parseBitwiseXORExpression = parseBitwiseXORExpression;\n            extra.parseBlock = parseBlock;\n            extra.parseFunctionSourceElements = parseFunctionSourceElements;\n            extra.parseCatchClause = parseCatchClause;\n            extra.parseComputedMember = parseComputedMember;\n            extra.parseConditionalExpression = parseConditionalExpression;\n            extra.parseConstLetDeclaration = parseConstLetDeclaration;\n            extra.parseEqualityExpression = parseEqualityExpression;\n            extra.parseExpression = parseExpression;\n            extra.parseForVariableDeclaration = parseForVariableDeclaration;\n            extra.parseFunctionDeclaration = parseFunctionDeclaration;\n            extra.parseFunctionExpression = parseFunctionExpression;\n            extra.parseLogicalANDExpression = parseLogicalANDExpression;\n            extra.parseLogicalORExpression = parseLogicalORExpression;\n            extra.parseMultiplicativeExpression = parseMultiplicativeExpression;\n            extra.parseNewExpression = parseNewExpression;\n            extra.parseNonComputedProperty = parseNonComputedProperty;\n            extra.parseObjectProperty = parseObjectProperty;\n            extra.parseObjectPropertyKey = parseObjectPropertyKey;\n            extra.parsePostfixExpression = parsePostfixExpression;\n            extra.parsePrimaryExpression = parsePrimaryExpression;\n            extra.parseProgram = parseProgram;\n            extra.parsePropertyFunction = parsePropertyFunction;\n            extra.parseRelationalExpression = parseRelationalExpression;\n            extra.parseStatement = parseStatement;\n            extra.parseShiftExpression = parseShiftExpression;\n            extra.parseSwitchCase = parseSwitchCase;\n            extra.parseUnaryExpression = parseUnaryExpression;\n            extra.parseVariableDeclaration = parseVariableDeclaration;\n            extra.parseVariableIdentifier = parseVariableIdentifier;\n\n            parseAdditiveExpression = wrapTracking(extra.parseAdditiveExpression);\n            parseAssignmentExpression = wrapTracking(extra.parseAssignmentExpression);\n            parseBitwiseANDExpression = wrapTracking(extra.parseBitwiseANDExpression);\n            parseBitwiseORExpression = wrapTracking(extra.parseBitwiseORExpression);\n            parseBitwiseXORExpression = wrapTracking(extra.parseBitwiseXORExpression);\n            parseBlock = wrapTracking(extra.parseBlock);\n            parseFunctionSourceElements = wrapTracking(extra.parseFunctionSourceElements);\n            parseCatchClause = wrapTracking(extra.parseCatchClause);\n            parseComputedMember = wrapTracking(extra.parseComputedMember);\n            parseConditionalExpression = wrapTracking(extra.parseConditionalExpression);\n            parseConstLetDeclaration = wrapTracking(extra.parseConstLetDeclaration);\n            parseEqualityExpression = wrapTracking(extra.parseEqualityExpression);\n            parseExpression = wrapTracking(extra.parseExpression);\n            parseForVariableDeclaration = wrapTracking(extra.parseForVariableDeclaration);\n            parseFunctionDeclaration = wrapTracking(extra.parseFunctionDeclaration);\n            parseFunctionExpression = wrapTracking(extra.parseFunctionExpression);\n            parseLeftHandSideExpression = wrapTracking(parseLeftHandSideExpression);\n            parseLogicalANDExpression = wrapTracking(extra.parseLogicalANDExpression);\n            parseLogicalORExpression = wrapTracking(extra.parseLogicalORExpression);\n            parseMultiplicativeExpression = wrapTracking(extra.parseMultiplicativeExpression);\n            parseNewExpression = wrapTracking(extra.parseNewExpression);\n            parseNonComputedProperty = wrapTracking(extra.parseNonComputedProperty);\n            parseObjectProperty = wrapTracking(extra.parseObjectProperty);\n            parseObjectPropertyKey = wrapTracking(extra.parseObjectPropertyKey);\n            parsePostfixExpression = wrapTracking(extra.parsePostfixExpression);\n            parsePrimaryExpression = wrapTracking(extra.parsePrimaryExpression);\n            parseProgram = wrapTracking(extra.parseProgram);\n            parsePropertyFunction = wrapTracking(extra.parsePropertyFunction);\n            parseRelationalExpression = wrapTracking(extra.parseRelationalExpression);\n            parseStatement = wrapTracking(extra.parseStatement);\n            parseShiftExpression = wrapTracking(extra.parseShiftExpression);\n            parseSwitchCase = wrapTracking(extra.parseSwitchCase);\n            parseUnaryExpression = wrapTracking(extra.parseUnaryExpression);\n            parseVariableDeclaration = wrapTracking(extra.parseVariableDeclaration);\n            parseVariableIdentifier = wrapTracking(extra.parseVariableIdentifier);\n        }\n\n        if (typeof extra.tokens !== 'undefined') {\n            extra.advance = advance;\n            extra.scanRegExp = scanRegExp;\n\n            advance = collectToken;\n            scanRegExp = collectRegex;\n        }\n    }\n\n    function unpatch() {\n        if (typeof extra.skipComment === 'function') {\n            skipComment = extra.skipComment;\n        }\n\n        if (extra.raw) {\n            createLiteral = extra.createLiteral;\n        }\n\n        if (extra.range || extra.loc) {\n            parseAdditiveExpression = extra.parseAdditiveExpression;\n            parseAssignmentExpression = extra.parseAssignmentExpression;\n            parseBitwiseANDExpression = extra.parseBitwiseANDExpression;\n            parseBitwiseORExpression = extra.parseBitwiseORExpression;\n            parseBitwiseXORExpression = extra.parseBitwiseXORExpression;\n            parseBlock = extra.parseBlock;\n            parseFunctionSourceElements = extra.parseFunctionSourceElements;\n            parseCatchClause = extra.parseCatchClause;\n            parseComputedMember = extra.parseComputedMember;\n            parseConditionalExpression = extra.parseConditionalExpression;\n            parseConstLetDeclaration = extra.parseConstLetDeclaration;\n            parseEqualityExpression = extra.parseEqualityExpression;\n            parseExpression = extra.parseExpression;\n            parseForVariableDeclaration = extra.parseForVariableDeclaration;\n            parseFunctionDeclaration = extra.parseFunctionDeclaration;\n            parseFunctionExpression = extra.parseFunctionExpression;\n            parseGroupExpression = extra.parseGroupExpression;\n            parseLeftHandSideExpression = extra.parseLeftHandSideExpression;\n            parseLeftHandSideExpressionAllowCall = extra.parseLeftHandSideExpressionAllowCall;\n            parseLogicalANDExpression = extra.parseLogicalANDExpression;\n            parseLogicalORExpression = extra.parseLogicalORExpression;\n            parseMultiplicativeExpression = extra.parseMultiplicativeExpression;\n            parseNewExpression = extra.parseNewExpression;\n            parseNonComputedProperty = extra.parseNonComputedProperty;\n            parseObjectProperty = extra.parseObjectProperty;\n            parseObjectPropertyKey = extra.parseObjectPropertyKey;\n            parsePrimaryExpression = extra.parsePrimaryExpression;\n            parsePostfixExpression = extra.parsePostfixExpression;\n            parseProgram = extra.parseProgram;\n            parsePropertyFunction = extra.parsePropertyFunction;\n            parseRelationalExpression = extra.parseRelationalExpression;\n            parseStatement = extra.parseStatement;\n            parseShiftExpression = extra.parseShiftExpression;\n            parseSwitchCase = extra.parseSwitchCase;\n            parseUnaryExpression = extra.parseUnaryExpression;\n            parseVariableDeclaration = extra.parseVariableDeclaration;\n            parseVariableIdentifier = extra.parseVariableIdentifier;\n        }\n\n        if (typeof extra.scanRegExp === 'function') {\n            advance = extra.advance;\n            scanRegExp = extra.scanRegExp;\n        }\n    }\n\n    function stringToArray(str) {\n        var length = str.length,\n            result = [],\n            i;\n        for (i = 0; i < length; ++i) {\n            result[i] = str.charAt(i);\n        }\n        return result;\n    }\n\n    function parse(code, options) {\n        var program, toString;\n\n        toString = String;\n        if (typeof code !== 'string' && !(code instanceof String)) {\n            code = toString(code);\n        }\n\n        source = code;\n        index = 0;\n        lineNumber = (source.length > 0) ? 1 : 0;\n        lineStart = 0;\n        length = source.length;\n        buffer = null;\n        state = {\n            allowIn: true,\n            labelSet: {},\n            inFunctionBody: false,\n            inIteration: false,\n            inSwitch: false\n        };\n\n        extra = {};\n        if (typeof options !== 'undefined') {\n            extra.range = (typeof options.range === 'boolean') && options.range;\n            extra.loc = (typeof options.loc === 'boolean') && options.loc;\n            extra.raw = (typeof options.raw === 'boolean') && options.raw;\n            if (typeof options.tokens === 'boolean' && options.tokens) {\n                extra.tokens = [];\n            }\n            if (typeof options.comment === 'boolean' && options.comment) {\n                extra.comments = [];\n            }\n            if (typeof options.tolerant === 'boolean' && options.tolerant) {\n                extra.errors = [];\n            }\n        }\n\n        if (length > 0) {\n            if (typeof source[0] === 'undefined') {\n                // Try first to convert to a string. This is good as fast path\n                // for old IE which understands string indexing for string\n                // literals only and not for string object.\n                if (code instanceof String) {\n                    source = code.valueOf();\n                }\n\n                // Force accessing the characters via an array.\n                if (typeof source[0] === 'undefined') {\n                    source = stringToArray(code);\n                }\n            }\n        }\n\n        patch();\n        try {\n            program = parseProgram();\n            if (typeof extra.comments !== 'undefined') {\n                filterCommentLocation();\n                program.comments = extra.comments;\n            }\n            if (typeof extra.tokens !== 'undefined') {\n                filterTokenLocation();\n                program.tokens = extra.tokens;\n            }\n            if (typeof extra.errors !== 'undefined') {\n                program.errors = extra.errors;\n            }\n            if (extra.range || extra.loc) {\n                program.body = filterGroup(program.body);\n            }\n        } catch (e) {\n            throw e;\n        } finally {\n            unpatch();\n            extra = {};\n        }\n\n        return program;\n    }\n\n    // Sync with package.json.\n    exports.version = '1.0.4';\n\n    exports.parse = parse;\n\n    // Deep copy.\n    exports.Syntax = (function () {\n        var name, types = {};\n\n        if (typeof Object.create === 'function') {\n            types = Object.create(null);\n        }\n\n        for (name in Syntax) {\n            if (Syntax.hasOwnProperty(name)) {\n                types[name] = Syntax[name];\n            }\n        }\n\n        if (typeof Object.freeze === 'function') {\n            Object.freeze(types);\n        }\n\n        return types;\n    }());\n\n}));\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n},{}],34:[function(require,module,exports){\n// simple-fmt.js\n// MIT licensed, see LICENSE file\n// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\nvar fmt = (function() {\n    \"use strict\";\n\n    function fmt(str, var_args) {\n        var args = Array.prototype.slice.call(arguments, 1);\n        return str.replace(/\\{(\\d+)\\}/g, function(s, match) {\n            return (match in args ? args[match] : s);\n        });\n    }\n\n    function obj(str, obj) {\n        return str.replace(/\\{([_$a-zA-Z0-9][_$a-zA-Z0-9]*)\\}/g, function(s, match) {\n            return (match in obj ? obj[match] : s);\n        });\n    }\n\n    function repeat(str, n) {\n        return (new Array(n + 1)).join(str);\n    }\n\n    fmt.fmt = fmt;\n    fmt.obj = obj;\n    fmt.repeat = repeat;\n    return fmt;\n})();\n\nif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n    module.exports = fmt;\n}\n\n},{}],35:[function(require,module,exports){\n// simple-is.js\n// MIT licensed, see LICENSE file\n// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\nvar is = (function() {\n    \"use strict\";\n\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n    var toString = Object.prototype.toString;\n    var _undefined = void 0;\n\n    return {\n        nan: function(v) {\n            return v !== v;\n        },\n        boolean: function(v) {\n            return typeof v === \"boolean\";\n        },\n        number: function(v) {\n            return typeof v === \"number\";\n        },\n        string: function(v) {\n            return typeof v === \"string\";\n        },\n        fn: function(v) {\n            return typeof v === \"function\";\n        },\n        object: function(v) {\n            return v !== null && typeof v === \"object\";\n        },\n        primitive: function(v) {\n            var t = typeof v;\n            return v === null || v === _undefined ||\n                t === \"boolean\" || t === \"number\" || t === \"string\";\n        },\n        array: Array.isArray || function(v) {\n            return toString.call(v) === \"[object Array]\";\n        },\n        finitenumber: function(v) {\n            return typeof v === \"number\" && isFinite(v);\n        },\n        someof: function(v, values) {\n            return values.indexOf(v) >= 0;\n        },\n        noneof: function(v, values) {\n            return values.indexOf(v) === -1;\n        },\n        own: function(obj, prop) {\n            return hasOwnProperty.call(obj, prop);\n        },\n    };\n})();\n\nif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n    module.exports = is;\n}\n\n},{}],36:[function(require,module,exports){\n// stringmap.js\n// MIT licensed, see LICENSE file\n// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\nvar StringMap = (function() {\n    \"use strict\";\n\n    // to save us a few characters\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n    var create = (function() {\n        function hasOwnEnumerableProps(obj) {\n            for (var prop in obj) {\n                if (hasOwnProperty.call(obj, prop)) {\n                    return true;\n                }\n            }\n            return false;\n        }\n        // FF <= 3.6:\n        // o = {}; o.hasOwnProperty(\"__proto__\" or \"__count__\" or \"__parent__\") => true\n        // o = {\"__proto__\": null}; Object.prototype.hasOwnProperty.call(o, \"__proto__\" or \"__count__\" or \"__parent__\") => false\n        function hasOwnPollutedProps(obj) {\n            return hasOwnProperty.call(obj, \"__count__\") || hasOwnProperty.call(obj, \"__parent__\");\n        }\n\n        var useObjectCreate = false;\n        if (typeof Object.create === \"function\") {\n            if (!hasOwnEnumerableProps(Object.create(null))) {\n                useObjectCreate = true;\n            }\n        }\n        if (useObjectCreate === false) {\n            if (hasOwnEnumerableProps({})) {\n                throw new Error(\"StringMap environment error 0, please file a bug at https://github.com/olov/stringmap/issues\");\n            }\n        }\n        // no throw yet means we can create objects without own enumerable props (safe-guard against VMs and shims)\n\n        var o = (useObjectCreate ? Object.create(null) : {});\n        var useProtoClear = false;\n        if (hasOwnPollutedProps(o)) {\n            o.__proto__ = null;\n            if (hasOwnEnumerableProps(o) || hasOwnPollutedProps(o)) {\n                throw new Error(\"StringMap environment error 1, please file a bug at https://github.com/olov/stringmap/issues\");\n            }\n            useProtoClear = true;\n        }\n        // no throw yet means we can create objects without own polluted props (safe-guard against VMs and shims)\n\n        return function() {\n            var o = (useObjectCreate ? Object.create(null) : {});\n            if (useProtoClear) {\n                o.__proto__ = null;\n            }\n            return o;\n        };\n    })();\n\n    // stringmap ctor\n    function stringmap(optional_object) {\n        // use with or without new\n        if (!(this instanceof stringmap)) {\n            return new stringmap(optional_object);\n        }\n        this.obj = create();\n        this.hasProto = false; // false (no __proto__ key) or true (has __proto__ key)\n        this.proto = undefined; // value for __proto__ key when hasProto is true, undefined otherwise\n\n        if (optional_object) {\n            this.setMany(optional_object);\n        }\n    };\n\n    // primitive methods that deals with data representation\n    stringmap.prototype.has = function(key) {\n        // The type-check of key in has, get, set and delete is important because otherwise an object\n        // {toString: function() { return \"__proto__\"; }} can avoid the key === \"__proto__\" test.\n        // The alternative to type-checking would be to force string conversion, i.e. key = String(key);\n        if (typeof key !== \"string\") {\n            throw new Error(\"StringMap expected string key\");\n        }\n        return (key === \"__proto__\" ?\n            this.hasProto :\n            hasOwnProperty.call(this.obj, key));\n    };\n\n    stringmap.prototype.get = function(key) {\n        if (typeof key !== \"string\") {\n            throw new Error(\"StringMap expected string key\");\n        }\n        return (key === \"__proto__\" ?\n            this.proto :\n            (hasOwnProperty.call(this.obj, key) ? this.obj[key] : undefined));\n    };\n\n    stringmap.prototype.set = function(key, value) {\n        if (typeof key !== \"string\") {\n            throw new Error(\"StringMap expected string key\");\n        }\n        if (key === \"__proto__\") {\n            this.hasProto = true;\n            this.proto = value;\n        } else {\n            this.obj[key] = value;\n        }\n    };\n\n    stringmap.prototype.remove = function(key) {\n        if (typeof key !== \"string\") {\n            throw new Error(\"StringMap expected string key\");\n        }\n        var didExist = this.has(key);\n        if (key === \"__proto__\") {\n            this.hasProto = false;\n            this.proto = undefined;\n        } else {\n            delete this.obj[key];\n        }\n        return didExist;\n    };\n\n    // alias remove to delete but beware:\n    // sm.delete(\"key\"); // OK in ES5 and later\n    // sm['delete'](\"key\"); // OK in all ES versions\n    // sm.remove(\"key\"); // OK in all ES versions\n    stringmap.prototype['delete'] = stringmap.prototype.remove;\n\n    stringmap.prototype.isEmpty = function() {\n        for (var key in this.obj) {\n            if (hasOwnProperty.call(this.obj, key)) {\n                return false;\n            }\n        }\n        return !this.hasProto;\n    };\n\n    stringmap.prototype.size = function() {\n        var len = 0;\n        for (var key in this.obj) {\n            if (hasOwnProperty.call(this.obj, key)) {\n                ++len;\n            }\n        }\n        return (this.hasProto ? len + 1 : len);\n    };\n\n    stringmap.prototype.keys = function() {\n        var keys = [];\n        for (var key in this.obj) {\n            if (hasOwnProperty.call(this.obj, key)) {\n                keys.push(key);\n            }\n        }\n        if (this.hasProto) {\n            keys.push(\"__proto__\");\n        }\n        return keys;\n    };\n\n    stringmap.prototype.values = function() {\n        var values = [];\n        for (var key in this.obj) {\n            if (hasOwnProperty.call(this.obj, key)) {\n                values.push(this.obj[key]);\n            }\n        }\n        if (this.hasProto) {\n            values.push(this.proto);\n        }\n        return values;\n    };\n\n    stringmap.prototype.items = function() {\n        var items = [];\n        for (var key in this.obj) {\n            if (hasOwnProperty.call(this.obj, key)) {\n                items.push([key, this.obj[key]]);\n            }\n        }\n        if (this.hasProto) {\n            items.push([\"__proto__\", this.proto]);\n        }\n        return items;\n    };\n\n\n    // methods that rely on the above primitives\n    stringmap.prototype.setMany = function(object) {\n        if (object === null || (typeof object !== \"object\" && typeof object !== \"function\")) {\n            throw new Error(\"StringMap expected Object\");\n        }\n        for (var key in object) {\n            if (hasOwnProperty.call(object, key)) {\n                this.set(key, object[key]);\n            }\n        }\n        return this;\n    };\n\n    stringmap.prototype.merge = function(other) {\n        var keys = other.keys();\n        for (var i = 0; i < keys.length; i++) {\n            var key = keys[i];\n            this.set(key, other.get(key));\n        }\n        return this;\n    };\n\n    stringmap.prototype.map = function(fn) {\n        var keys = this.keys();\n        for (var i = 0; i < keys.length; i++) {\n            var key = keys[i];\n            keys[i] = fn(this.get(key), key); // re-use keys array for results\n        }\n        return keys;\n    };\n\n    stringmap.prototype.forEach = function(fn) {\n        var keys = this.keys();\n        for (var i = 0; i < keys.length; i++) {\n            var key = keys[i];\n            fn(this.get(key), key);\n        }\n    };\n\n    stringmap.prototype.clone = function() {\n        var other = stringmap();\n        return other.merge(this);\n    };\n\n    stringmap.prototype.toString = function() {\n        var self = this;\n        return \"{\" + this.keys().map(function(key) {\n            return JSON.stringify(key) + \":\" + JSON.stringify(self.get(key));\n        }).join(\",\") + \"}\";\n    };\n\n    return stringmap;\n})();\n\nif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n    module.exports = StringMap;\n}\n\n},{}],37:[function(require,module,exports){\n// stringset.js\n// MIT licensed, see LICENSE file\n// Copyright (c) 2013 Olov Lassus <olov.lassus@gmail.com>\n\nvar StringSet = (function() {\n    \"use strict\";\n\n    // to save us a few characters\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n    var create = (function() {\n        function hasOwnEnumerableProps(obj) {\n            for (var prop in obj) {\n                if (hasOwnProperty.call(obj, prop)) {\n                    return true;\n                }\n            }\n            return false;\n        }\n\n        // FF <= 3.6:\n        // o = {}; o.hasOwnProperty(\"__proto__\" or \"__count__\" or \"__parent__\") => true\n        // o = {\"__proto__\": null}; Object.prototype.hasOwnProperty.call(o, \"__proto__\" or \"__count__\" or \"__parent__\") => false\n        function hasOwnPollutedProps(obj) {\n            return hasOwnProperty.call(obj, \"__count__\") || hasOwnProperty.call(obj, \"__parent__\");\n        }\n\n        var useObjectCreate = false;\n        if (typeof Object.create === \"function\") {\n            if (!hasOwnEnumerableProps(Object.create(null))) {\n                useObjectCreate = true;\n            }\n        }\n        if (useObjectCreate === false) {\n            if (hasOwnEnumerableProps({})) {\n                throw new Error(\"StringSet environment error 0, please file a bug at https://github.com/olov/stringset/issues\");\n            }\n        }\n        // no throw yet means we can create objects without own enumerable props (safe-guard against VMs and shims)\n\n        var o = (useObjectCreate ? Object.create(null) : {});\n        var useProtoClear = false;\n        if (hasOwnPollutedProps(o)) {\n            o.__proto__ = null;\n            if (hasOwnEnumerableProps(o) || hasOwnPollutedProps(o)) {\n                throw new Error(\"StringSet environment error 1, please file a bug at https://github.com/olov/stringset/issues\");\n            }\n            useProtoClear = true;\n        }\n        // no throw yet means we can create objects without own polluted props (safe-guard against VMs and shims)\n\n        return function() {\n            var o = (useObjectCreate ? Object.create(null) : {});\n            if (useProtoClear) {\n                o.__proto__ = null;\n            }\n            return o;\n        };\n    })();\n\n    // stringset ctor\n    function stringset(optional_array) {\n        // use with or without new\n        if (!(this instanceof stringset)) {\n            return new stringset(optional_array);\n        }\n        this.obj = create();\n        this.hasProto = false; // false (no __proto__ item) or true (has __proto__ item)\n\n        if (optional_array) {\n            this.addMany(optional_array);\n        }\n    };\n\n    // primitive methods that deals with data representation\n    stringset.prototype.has = function(item) {\n        // The type-check of item in has, get, set and delete is important because otherwise an object\n        // {toString: function() { return \"__proto__\"; }} can avoid the item === \"__proto__\" test.\n        // The alternative to type-checking would be to force string conversion, i.e. item = String(item);\n        if (typeof item !== \"string\") {\n            throw new Error(\"StringSet expected string item\");\n        }\n        return (item === \"__proto__\" ?\n            this.hasProto :\n            hasOwnProperty.call(this.obj, item));\n    };\n\n    stringset.prototype.add = function(item) {\n        if (typeof item !== \"string\") {\n            throw new Error(\"StringSet expected string item\");\n        }\n        if (item === \"__proto__\") {\n            this.hasProto = true;\n        } else {\n            this.obj[item] = true;\n        }\n    };\n\n    stringset.prototype.remove = function(item) {\n        if (typeof item !== \"string\") {\n            throw new Error(\"StringSet expected string item\");\n        }\n        var didExist = this.has(item);\n        if (item === \"__proto__\") {\n            this.hasProto = false;\n        } else {\n            delete this.obj[item];\n        }\n        return didExist;\n    };\n\n    // alias remove to delete but beware:\n    // ss.delete(\"key\"); // OK in ES5 and later\n    // ss['delete'](\"key\"); // OK in all ES versions\n    // ss.remove(\"key\"); // OK in all ES versions\n    stringset.prototype['delete'] = stringset.prototype.remove;\n\n    stringset.prototype.isEmpty = function() {\n        for (var item in this.obj) {\n            if (hasOwnProperty.call(this.obj, item)) {\n                return false;\n            }\n        }\n        return !this.hasProto;\n    };\n\n    stringset.prototype.size = function() {\n        var len = 0;\n        for (var item in this.obj) {\n            if (hasOwnProperty.call(this.obj, item)) {\n                ++len;\n            }\n        }\n        return (this.hasProto ? len + 1 : len);\n    };\n\n    stringset.prototype.items = function() {\n        var items = [];\n        for (var item in this.obj) {\n            if (hasOwnProperty.call(this.obj, item)) {\n                items.push(item);\n            }\n        }\n        if (this.hasProto) {\n            items.push(\"__proto__\");\n        }\n        return items;\n    };\n\n\n    // methods that rely on the above primitives\n    stringset.prototype.addMany = function(items) {\n        if (!Array.isArray(items)) {\n            throw new Error(\"StringSet expected array\");\n        }\n        for (var i = 0; i < items.length; i++) {\n            this.add(items[i]);\n        }\n        return this;\n    };\n\n    stringset.prototype.merge = function(other) {\n        this.addMany(other.items());\n        return this;\n    };\n\n    stringset.prototype.clone = function() {\n        var other = stringset();\n        return other.merge(this);\n    };\n\n    stringset.prototype.toString = function() {\n        return \"{\" + this.items().map(JSON.stringify).join(\",\") + \"}\";\n    };\n\n    return stringset;\n})();\n\nif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n    module.exports = StringSet;\n}\n\n},{}],38:[function(require,module,exports){\n/*\n  Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com>\n  Copyright (C) 2013 Alex Seville <hi@alexanderseville.com>\n\n  Redistribution and use in source and binary forms, with or without\n  modification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright\n      notice, this list of conditions and the following disclaimer in the\n      documentation and/or other materials provided with the distribution.\n\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n/**\n * Escope (<a href=\"http://github.com/Constellation/escope\">escope</a>) is an <a\n * href=\"http://www.ecma-international.org/publications/standards/Ecma-262.htm\">ECMAScript</a>\n * scope analyzer extracted from the <a\n * href=\"http://github.com/Constellation/esmangle\">esmangle project</a/>.\n * <p>\n * <em>escope</em> finds lexical scopes in a source program, i.e. areas of that\n * program where different occurrences of the same identifier refer to the same\n * variable. With each scope the contained variables are collected, and each\n * identifier reference in code is linked to its corresponding variable (if\n * possible).\n * <p>\n * <em>escope</em> works on a syntax tree of the parsed source code which has\n * to adhere to the <a\n * href=\"https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API\">\n * Mozilla Parser API</a>. E.g. <a href=\"http://esprima.org\">esprima</a> is a parser\n * that produces such syntax trees.\n * <p>\n * The main interface is the {@link analyze} function.\n * @module\n */\n\n/*jslint bitwise:true */\n/*global exports:true, define:true, require:true*/\n(function (factory, global) {\n    'use strict';\n\n    function namespace(str, obj) {\n        var i, iz, names, name;\n        names = str.split('.');\n        for (i = 0, iz = names.length; i < iz; ++i) {\n            name = names[i];\n            if (obj.hasOwnProperty(name)) {\n                obj = obj[name];\n            } else {\n                obj = (obj[name] = {});\n            }\n        }\n        return obj;\n    }\n\n    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n    // and plain browser loading,\n    if (typeof define === 'function' && define.amd) {\n        define('escope', ['exports', 'estraverse'], function (exports, estraverse) {\n            factory(exports, global, estraverse);\n        });\n    } else if (typeof exports !== 'undefined') {\n        factory(exports, global, require('estraverse'));\n    } else {\n        factory(namespace('escope', global), global, global.estraverse);\n    }\n}(function (exports, global, estraverse) {\n    'use strict';\n\n    var Syntax,\n        Map,\n        currentScope,\n        globalScope,\n        scopes,\n        options;\n\n    Syntax = estraverse.Syntax;\n\n    if (typeof global.Map !== 'undefined') {\n        // ES6 Map\n        Map = global.Map;\n    } else {\n        Map = function Map() {\n            this.__data = {};\n        };\n\n        Map.prototype.get = function MapGet(key) {\n            key = '$' + key;\n            if (this.__data.hasOwnProperty(key)) {\n                return this.__data[key];\n            }\n            return undefined;\n        };\n\n        Map.prototype.has = function MapHas(key) {\n            key = '$' + key;\n            return this.__data.hasOwnProperty(key);\n        };\n\n        Map.prototype.set = function MapSet(key, val) {\n            key = '$' + key;\n            this.__data[key] = val;\n        };\n\n        Map.prototype['delete'] = function MapDelete(key) {\n            key = '$' + key;\n            return delete this.__data[key];\n        };\n    }\n\n    function assert(cond, text) {\n        if (!cond) {\n            throw new Error(text);\n        }\n    }\n\n    function defaultOptions() {\n        return {\n            optimistic: false,\n            directive: false\n        };\n    }\n\n    function updateDeeply(target, override) {\n        var key, val;\n\n        function isHashObject(target) {\n            return typeof target === 'object' && target instanceof Object && !(target instanceof RegExp);\n        }\n\n        for (key in override) {\n            if (override.hasOwnProperty(key)) {\n                val = override[key];\n                if (isHashObject(val)) {\n                    if (isHashObject(target[key])) {\n                        updateDeeply(target[key], val);\n                    } else {\n                        target[key] = updateDeeply({}, val);\n                    }\n                } else {\n                    target[key] = val;\n                }\n            }\n        }\n        return target;\n    }\n\n    /**\n     * A Reference represents a single occurrence of an identifier in code.\n     * @class Reference\n     */\n    function Reference(ident, scope, flag, writeExpr, maybeImplicitGlobal) {\n        /** \n         * Identifier syntax node.\n         * @member {esprima#Identifier} Reference#identifier \n         */\n        this.identifier = ident;\n        /** \n         * Reference to the enclosing Scope.\n         * @member {Scope} Reference#from \n         */\n        this.from = scope;\n        /**\n         * Whether the reference comes from a dynamic scope (such as 'eval',\n         * 'with', etc.), and may be trapped by dynamic scopes.\n         * @member {boolean} Reference#tainted\n         */\n        this.tainted = false;\n        /** \n         * The variable this reference is resolved with.\n         * @member {Variable} Reference#resolved \n         */\n        this.resolved = null;\n        /** \n         * The read-write mode of the reference. (Value is one of {@link\n         * Reference.READ}, {@link Reference.RW}, {@link Reference.WRITE}).\n         * @member {number} Reference#flag \n         * @private\n         */\n        this.flag = flag;\n        if (this.isWrite()) {\n            /** \n             * If reference is writeable, this is the tree being written to it.\n             * @member {esprima#Node} Reference#writeExpr \n             */\n            this.writeExpr = writeExpr;\n        }\n        /** \n         * Whether the Reference might refer to a global variable.\n         * @member {boolean} Reference#__maybeImplicitGlobal \n         * @private\n         */\n        this.__maybeImplicitGlobal = maybeImplicitGlobal;\n    }\n\n    /** \n     * @constant Reference.READ \n     * @private\n     */\n    Reference.READ = 0x1;\n    /** \n     * @constant Reference.WRITE \n     * @private\n     */\n    Reference.WRITE = 0x2;\n    /** \n     * @constant Reference.RW \n     * @private\n     */\n    Reference.RW = 0x3;\n\n    /**\n     * Whether the reference is static.\n     * @method Reference#isStatic\n     * @return {boolean}\n     */\n    Reference.prototype.isStatic = function isStatic() {\n        return !this.tainted && this.resolved && this.resolved.scope.isStatic();\n    };\n\n    /**\n     * Whether the reference is writeable.\n     * @method Reference#isWrite\n     * @return {boolean}\n     */\n    Reference.prototype.isWrite = function isWrite() {\n        return this.flag & Reference.WRITE;\n    };\n\n    /**\n     * Whether the reference is readable.\n     * @method Reference#isRead\n     * @return {boolean}\n     */\n    Reference.prototype.isRead = function isRead() {\n        return this.flag & Reference.READ;\n    };\n\n    /**\n     * Whether the reference is read-only.\n     * @method Reference#isReadOnly\n     * @return {boolean}\n     */\n    Reference.prototype.isReadOnly = function isReadOnly() {\n        return this.flag === Reference.READ;\n    };\n\n    /**\n     * Whether the reference is write-only.\n     * @method Reference#isWriteOnly\n     * @return {boolean}\n     */\n    Reference.prototype.isWriteOnly = function isWriteOnly() {\n        return this.flag === Reference.WRITE;\n    };\n\n    /**\n     * Whether the reference is read-write.\n     * @method Reference#isReadWrite\n     * @return {boolean}\n     */\n    Reference.prototype.isReadWrite = function isReadWrite() {\n        return this.flag === Reference.RW;\n    };\n\n    /**\n     * A Variable represents a locally scoped identifier. These include arguments to\n     * functions.\n     * @class Variable\n     */\n    function Variable(name, scope) {\n        /**  \n         * The variable name, as given in the source code.\n         * @member {String} Variable#name \n         */\n        this.name = name;\n        /**\n         * List of defining occurrences of this variable (like in 'var ...'\n         * statements or as parameter), as AST nodes.\n         * @member {esprima.Identifier[]} Variable#identifiers\n         */\n        this.identifiers = [];\n        /**\n         * List of {@link Reference|references} of this variable (excluding parameter entries)\n         * in its defining scope and all nested scopes. For defining\n         * occurrences only see {@link Variable#defs}.\n         * @member {Reference[]} Variable#references\n         */\n        this.references = [];\n\n        /**\n         * List of defining occurrences of this variable (like in 'var ...'\n         * statements or as parameter), as custom objects.\n         * @typedef {Object} DefEntry\n         * @property {String} DefEntry.type - the type of the occurrence (e.g.\n         *      \"Parameter\", \"Variable\", ...)\n         * @property {esprima.Identifier} DefEntry.name - the identifier AST node of the occurrence\n         * @property {esprima.Node} DefEntry.node - the enclosing node of the\n         *      identifier\n         * @property {esprima.Node} [DefEntry.parent] - the enclosing statement\n         *      node of the identifier\n         * @member {DefEntry[]} Variable#defs\n         */\n        this.defs = [];\n\n        this.tainted = false;\n        /**\n         * Whether this is a stack variable.\n         * @member {boolean} Variable#stack\n         */\n        this.stack = true;\n        /** \n         * Reference to the enclosing Scope.\n         * @member {Scope} Variable#scope \n         */\n        this.scope = scope;\n    }\n\n    Variable.CatchClause = 'CatchClause';\n    Variable.Parameter = 'Parameter';\n    Variable.FunctionName = 'FunctionName';\n    Variable.Variable = 'Variable';\n    Variable.ImplicitGlobalVariable = 'ImplicitGlobalVariable';\n\n    function isStrictScope(scope, block) {\n        var body, i, iz, stmt, expr;\n\n        // When upper scope is exists and strict, inner scope is also strict.\n        if (scope.upper && scope.upper.isStrict) {\n            return true;\n        }\n\n        if (scope.type === 'function') {\n            body = block.body;\n        } else if (scope.type === 'global') {\n            body = block;\n        } else {\n            return false;\n        }\n\n        if (options.directive) {\n            for (i = 0, iz = body.body.length; i < iz; ++i) {\n                stmt = body.body[i];\n                if (stmt.type !== 'DirectiveStatement') {\n                    break;\n                }\n                if (stmt.raw === '\"use strict\"' || stmt.raw === '\\'use strict\\'') {\n                    return true;\n                }\n            }\n        } else {\n            for (i = 0, iz = body.body.length; i < iz; ++i) {\n                stmt = body.body[i];\n                if (stmt.type !== Syntax.ExpressionStatement) {\n                    break;\n                }\n                expr = stmt.expression;\n                if (expr.type !== Syntax.Literal || typeof expr.value !== 'string') {\n                    break;\n                }\n                if (expr.raw != null) {\n                    if (expr.raw === '\"use strict\"' || expr.raw === '\\'use strict\\'') {\n                        return true;\n                    }\n                } else {\n                    if (expr.value === 'use strict') {\n                        return true;\n                    }\n                }\n            }\n        }\n        return false;\n    }\n\n    /**\n     * @class Scope\n     */\n    function Scope(block, opt) {\n        var variable, body;\n\n        /**\n         * One of 'catch', 'with', 'function' or 'global'.\n         * @member {String} Scope#type\n         */\n        this.type =\n            (block.type === Syntax.CatchClause) ? 'catch' :\n            (block.type === Syntax.WithStatement) ? 'with' :\n            (block.type === Syntax.Program) ? 'global' : 'function';\n         /**\n         * The scoped {@link Variable}s of this scope, as <code>{ Variable.name\n         * : Variable }</code>.\n         * @member {Map} Scope#set\n         */\n        this.set = new Map();\n        /**\n         * The tainted variables of this scope, as <code>{ Variable.name :\n         * boolean }</code>.\n         * @member {Map} Scope#taints */\n        this.taints = new Map();\n        /**\n         * Generally, through the lexical scoping of JS you can always know\n         * which variable an identifier in the source code refers to. There are\n         * a few exceptions to this rule. With 'global' and 'with' scopes you\n         * can only decide at runtime which variable a reference refers to.\n         * Moreover, if 'eval()' is used in a scope, it might introduce new\n         * bindings in this or its prarent scopes.\n         * All those scopes are considered 'dynamic'.\n         * @member {boolean} Scope#dynamic\n         */\n        this.dynamic = this.type === 'global' || this.type === 'with';\n        /**\n         * A reference to the scope-defining syntax node.\n         * @member {esprima.Node} Scope#block\n         */\n        this.block = block;\n         /**\n         * The {@link Reference|references} that are not resolved with this scope.\n         * @member {Reference[]} Scope#through\n         */\n        this.through = [];\n         /**\n         * The scoped {@link Variable}s of this scope. In the case of a\n         * 'function' scope this includes the automatic argument <em>arguments</em> as\n         * its first element, as well as all further formal arguments.\n         * @member {Variable[]} Scope#variables\n         */\n        this.variables = [];\n         /**\n         * Any variable {@link Reference|reference} found in this scope. This\n         * includes occurrences of local variables as well as variables from\n         * parent scopes (including the global scope). For local variables\n         * this also includes defining occurrences (like in a 'var' statement).\n         * In a 'function' scope this does not include the occurrences of the\n         * formal parameter in the parameter list.\n         * @member {Reference[]} Scope#references\n         */\n        this.references = [];\n         /**\n         * List of {@link Reference}s that are left to be resolved (i.e. which\n         * need to be linked to the variable they refer to). Used internally to\n         * resolve bindings during scope analysis. On a finalized scope\n         * analysis, all sopes have <em>left</em> value <strong>null</strong>.\n         * @member {Reference[]} Scope#left\n         */\n        this.left = [];\n         /**\n         * For 'global' and 'function' scopes, this is a self-reference. For\n         * other scope types this is the <em>variableScope</em> value of the\n         * parent scope.\n         * @member {Scope} Scope#variableScope\n         */\n        this.variableScope =\n            (this.type === 'global' || this.type === 'function') ? this : currentScope.variableScope;\n         /**\n         * Whether this scope is created by a FunctionExpression.\n         * @member {boolean} Scope#functionExpressionScope\n         */\n        this.functionExpressionScope = false;\n         /**\n         * Whether this is a scope that contains an 'eval()' invocation.\n         * @member {boolean} Scope#directCallToEvalScope\n         */\n        this.directCallToEvalScope = false;\n         /**\n         * @member {boolean} Scope#thisFound\n         */\n        this.thisFound = false;\n        body = this.type === 'function' ? block.body : block;\n        if (opt.naming) {\n            this.__define(block.id, {\n                type: Variable.FunctionName,\n                name: block.id,\n                node: block\n            });\n            this.functionExpressionScope = true;\n        } else {\n            if (this.type === 'function') {\n                variable = new Variable('arguments', this);\n                this.taints.set('arguments', true);\n                this.set.set('arguments', variable);\n                this.variables.push(variable);\n            }\n\n            if (block.type === Syntax.FunctionExpression && block.id) {\n                new Scope(block, { naming: true });\n            }\n        }\n\n         /**\n         * Reference to the parent {@link Scope|scope}.\n         * @member {Scope} Scope#upper\n         */\n        this.upper = currentScope;\n         /**\n         * Whether 'use strict' is in effect in this scope.\n         * @member {boolean} Scope#isStrict\n         */\n        this.isStrict = isStrictScope(this, block);\n\n         /**\n         * List of nested {@link Scope}s.\n         * @member {Scope[]} Scope#childScopes\n         */\n        this.childScopes = [];\n        if (currentScope) {\n            currentScope.childScopes.push(this);\n        }\n\n\n        // RAII\n        currentScope = this;\n        if (this.type === 'global') {\n            globalScope = this;\n            globalScope.implicit = {\n                set: new Map(),\n                variables: []\n            };\n        }\n        scopes.push(this);\n    }\n\n    Scope.prototype.__close = function __close() {\n        var i, iz, ref, current, node, implicit;\n\n        // Because if this is global environment, upper is null\n        if (!this.dynamic || options.optimistic) {\n            // static resolve\n            for (i = 0, iz = this.left.length; i < iz; ++i) {\n                ref = this.left[i];\n                if (!this.__resolve(ref)) {\n                    this.__delegateToUpperScope(ref);\n                }\n            }\n        } else {\n            // this is \"global\" / \"with\" / \"function with eval\" environment\n            if (this.type === 'with') {\n                for (i = 0, iz = this.left.length; i < iz; ++i) {\n                    ref = this.left[i];\n                    ref.tainted = true;\n                    this.__delegateToUpperScope(ref);\n                }\n            } else {\n                for (i = 0, iz = this.left.length; i < iz; ++i) {\n                    // notify all names are through to global\n                    ref = this.left[i];\n                    current = this;\n                    do {\n                        current.through.push(ref);\n                        current = current.upper;\n                    } while (current);\n                }\n            }\n        }\n\n        if (this.type === 'global') {\n            implicit = [];\n            for (i = 0, iz = this.left.length; i < iz; ++i) {\n                ref = this.left[i];\n                if (ref.__maybeImplicitGlobal && !this.set.has(ref.identifier.name)) {\n                    implicit.push(ref.__maybeImplicitGlobal);\n                }\n            }\n\n            // create an implicit global variable from assignment expression\n            for (i = 0, iz = implicit.length; i < iz; ++i) {\n                node = implicit[i];\n                this.__defineImplicit(node.left, {\n                    type: Variable.ImplicitGlobalVariable,\n                    name: node.left,\n                    node: node\n                });\n            }\n        }\n\n        this.left = null;\n        currentScope = this.upper;\n    };\n\n    Scope.prototype.__resolve = function __resolve(ref) {\n        var variable, name;\n        name = ref.identifier.name;\n        if (this.set.has(name)) {\n            variable = this.set.get(name);\n            variable.references.push(ref);\n            variable.stack = variable.stack && ref.from.variableScope === this.variableScope;\n            if (ref.tainted) {\n                variable.tainted = true;\n                this.taints.set(variable.name, true);\n            }\n            ref.resolved = variable;\n            return true;\n        }\n        return false;\n    };\n\n    Scope.prototype.__delegateToUpperScope = function __delegateToUpperScope(ref) {\n        if (this.upper) {\n            this.upper.left.push(ref);\n        }\n        this.through.push(ref);\n    };\n\n    Scope.prototype.__defineImplicit = function __defineImplicit(node, info) {\n        var name, variable;\n        if (node && node.type === Syntax.Identifier) {\n            name = node.name;\n            if (!this.implicit.set.has(name)) {\n                variable = new Variable(name, this);\n                variable.identifiers.push(node);\n                variable.defs.push(info);\n                this.implicit.set.set(name, variable);\n                this.implicit.variables.push(variable);\n            } else {\n                variable = this.implicit.set.get(name);\n                variable.identifiers.push(node);\n                variable.defs.push(info);\n            }\n        }\n    };\n\n    Scope.prototype.__define = function __define(node, info) {\n        var name, variable;\n        if (node && node.type === Syntax.Identifier) {\n            name = node.name;\n            if (!this.set.has(name)) {\n                variable = new Variable(name, this);\n                variable.identifiers.push(node);\n                variable.defs.push(info);\n                this.set.set(name, variable);\n                this.variables.push(variable);\n            } else {\n                variable = this.set.get(name);\n                variable.identifiers.push(node);\n                variable.defs.push(info);\n            }\n        }\n    };\n\n    Scope.prototype.__referencing = function __referencing(node, assign, writeExpr, maybeImplicitGlobal) {\n        var ref;\n        // because Array element may be null\n        if (node && node.type === Syntax.Identifier) {\n            ref = new Reference(node, this, assign || Reference.READ, writeExpr, maybeImplicitGlobal);\n            this.references.push(ref);\n            this.left.push(ref);\n        }\n    };\n\n    Scope.prototype.__detectEval = function __detectEval() {\n        var current;\n        current = this;\n        this.directCallToEvalScope = true;\n        do {\n            current.dynamic = true;\n            current = current.upper;\n        } while (current);\n    };\n\n    Scope.prototype.__detectThis = function __detectThis() {\n        this.thisFound = true;\n    };\n\n    Scope.prototype.__isClosed = function isClosed() {\n        return this.left === null;\n    };\n\n    // API Scope#resolve(name)\n    // returns resolved reference\n    Scope.prototype.resolve = function resolve(ident) {\n        var ref, i, iz;\n        assert(this.__isClosed(), 'scope should be closed');\n        assert(ident.type === Syntax.Identifier, 'target should be identifier');\n        for (i = 0, iz = this.references.length; i < iz; ++i) {\n            ref = this.references[i];\n            if (ref.identifier === ident) {\n                return ref;\n            }\n        }\n        return null;\n    };\n\n    // API Scope#isStatic\n    // returns this scope is static\n    Scope.prototype.isStatic = function isStatic() {\n        return !this.dynamic;\n    };\n\n    // API Scope#isArgumentsMaterialized\n    // return this scope has materialized arguments\n    Scope.prototype.isArgumentsMaterialized = function isArgumentsMaterialized() {\n        // TODO(Constellation)\n        // We can more aggressive on this condition like this.\n        //\n        // function t() {\n        //     // arguments of t is always hidden.\n        //     function arguments() {\n        //     }\n        // }\n        var variable;\n\n        // This is not function scope\n        if (this.type !== 'function') {\n            return true;\n        }\n\n        if (!this.isStatic()) {\n            return true;\n        }\n\n        variable = this.set.get('arguments');\n        assert(variable, 'always have arguments variable');\n        return variable.tainted || variable.references.length  !== 0;\n    };\n\n    // API Scope#isThisMaterialized\n    // return this scope has materialized `this` reference\n    Scope.prototype.isThisMaterialized = function isThisMaterialized() {\n        // This is not function scope\n        if (this.type !== 'function') {\n            return true;\n        }\n        if (!this.isStatic()) {\n            return true;\n        }\n        return this.thisFound;\n    };\n\n    Scope.mangledName = '__$escope$__';\n\n    Scope.prototype.attach = function attach() {\n        if (!this.functionExpressionScope) {\n            this.block[Scope.mangledName] = this;\n        }\n    };\n\n    Scope.prototype.detach = function detach() {\n        if (!this.functionExpressionScope) {\n            delete this.block[Scope.mangledName];\n        }\n    };\n\n    Scope.prototype.isUsedName = function (name) {\n        if (this.set.has(name)) {\n            return true;\n        }\n        for (var i = 0, iz = this.through.length; i < iz; ++i) {\n            if (this.through[i].identifier.name === name) {\n                return true;\n            }\n        }\n        return false;\n    };\n\n    /**\n     * @class ScopeManager\n     */\n    function ScopeManager(scopes) {\n        this.scopes = scopes;\n        this.attached = false;\n    }\n\n    // Returns appropliate scope for this node\n    ScopeManager.prototype.__get = function __get(node) {\n        var i, iz, scope;\n        if (this.attached) {\n            return node[Scope.mangledName] || null;\n        }\n        if (Scope.isScopeRequired(node)) {\n            for (i = 0, iz = this.scopes.length; i < iz; ++i) {\n                scope = this.scopes[i];\n                if (!scope.functionExpressionScope) {\n                    if (scope.block === node) {\n                        return scope;\n                    }\n                }\n            }\n        }\n        return null;\n    };\n\n    ScopeManager.prototype.acquire = function acquire(node) {\n        return this.__get(node);\n    };\n\n    ScopeManager.prototype.release = function release(node) {\n        var scope = this.__get(node);\n        if (scope) {\n            scope = scope.upper;\n            while (scope) {\n                if (!scope.functionExpressionScope) {\n                    return scope;\n                }\n                scope = scope.upper;\n            }\n        }\n        return null;\n    };\n\n    ScopeManager.prototype.attach = function attach() {\n        var i, iz;\n        for (i = 0, iz = this.scopes.length; i < iz; ++i) {\n            this.scopes[i].attach();\n        }\n        this.attached = true;\n    };\n\n    ScopeManager.prototype.detach = function detach() {\n        var i, iz;\n        for (i = 0, iz = this.scopes.length; i < iz; ++i) {\n            this.scopes[i].detach();\n        }\n        this.attached = false;\n    };\n\n    Scope.isScopeRequired = function isScopeRequired(node) {\n        return Scope.isVariableScopeRequired(node) || node.type === Syntax.WithStatement || node.type === Syntax.CatchClause;\n    };\n\n    Scope.isVariableScopeRequired = function isVariableScopeRequired(node) {\n        return node.type === Syntax.Program || node.type === Syntax.FunctionExpression || node.type === Syntax.FunctionDeclaration;\n    };\n\n    /**\n     * Main interface function. Takes an Esprima syntax tree and returns the\n     * analyzed scopes.\n     * @function analyze\n     * @param {esprima.Tree} tree\n     * @param {Object} providedOptions - Options that tailor the scope analysis\n     * @param {boolean} [providedOptions.optimistic=false] - the optimistic flag\n     * @param {boolean} [providedOptions.directive=false]- the directive flag\n     * @param {boolean} [providedOptions.ignoreEval=false]- whether to check 'eval()' calls\n     * @return {ScopeManager}\n     */\n    function analyze(tree, providedOptions) {\n        var resultScopes;\n\n        options = updateDeeply(defaultOptions(), providedOptions);\n        resultScopes = scopes = [];\n        currentScope = null;\n        globalScope = null;\n\n        // attach scope and collect / resolve names\n        estraverse.traverse(tree, {\n            enter: function enter(node) {\n                var i, iz, decl;\n                if (Scope.isScopeRequired(node)) {\n                    new Scope(node, {});\n                }\n\n                switch (node.type) {\n                case Syntax.AssignmentExpression:\n                    if (node.operator === '=') {\n                        currentScope.__referencing(node.left, Reference.WRITE, node.right, (!currentScope.isStrict && node.left.name != null) && node);\n                    } else {\n                        currentScope.__referencing(node.left, Reference.RW, node.right);\n                    }\n                    currentScope.__referencing(node.right);\n                    break;\n\n                case Syntax.ArrayExpression:\n                    for (i = 0, iz = node.elements.length; i < iz; ++i) {\n                        currentScope.__referencing(node.elements[i]);\n                    }\n                    break;\n\n                case Syntax.BlockStatement:\n                    break;\n\n                case Syntax.BinaryExpression:\n                    currentScope.__referencing(node.left);\n                    currentScope.__referencing(node.right);\n                    break;\n\n                case Syntax.BreakStatement:\n                    break;\n\n                case Syntax.CallExpression:\n                    currentScope.__referencing(node.callee);\n                    for (i = 0, iz = node['arguments'].length; i < iz; ++i) {\n                        currentScope.__referencing(node['arguments'][i]);\n                    }\n\n                    // check this is direct call to eval\n                    if (!options.ignoreEval && node.callee.type === Syntax.Identifier && node.callee.name === 'eval') {\n                        currentScope.variableScope.__detectEval();\n                    }\n                    break;\n\n                case Syntax.CatchClause:\n                    currentScope.__define(node.param, {\n                        type: Variable.CatchClause,\n                        name: node.param,\n                        node: node\n                    });\n                    break;\n\n                case Syntax.ConditionalExpression:\n                    currentScope.__referencing(node.test);\n                    currentScope.__referencing(node.consequent);\n                    currentScope.__referencing(node.alternate);\n                    break;\n\n                case Syntax.ContinueStatement:\n                    break;\n\n                case Syntax.DirectiveStatement:\n                    break;\n\n                case Syntax.DoWhileStatement:\n                    currentScope.__referencing(node.test);\n                    break;\n\n                case Syntax.DebuggerStatement:\n                    break;\n\n                case Syntax.EmptyStatement:\n                    break;\n\n                case Syntax.ExpressionStatement:\n                    currentScope.__referencing(node.expression);\n                    break;\n\n                case Syntax.ForStatement:\n                    currentScope.__referencing(node.init);\n                    currentScope.__referencing(node.test);\n                    currentScope.__referencing(node.update);\n                    break;\n\n                case Syntax.ForInStatement:\n                    if (node.left.type === Syntax.VariableDeclaration) {\n                        currentScope.__referencing(node.left.declarations[0].id, Reference.WRITE, null, false);\n                    } else {\n                        currentScope.__referencing(node.left, Reference.WRITE, null, (!currentScope.isStrict && node.left.name != null) && node);\n                    }\n                    currentScope.__referencing(node.right);\n                    break;\n\n                case Syntax.FunctionDeclaration:\n                    // FunctionDeclaration name is defined in upper scope\n                    currentScope.upper.__define(node.id, {\n                        type: Variable.FunctionName,\n                        name: node.id,\n                        node: node\n                    });\n                    for (i = 0, iz = node.params.length; i < iz; ++i) {\n                        currentScope.__define(node.params[i], {\n                            type: Variable.Parameter,\n                            name: node.params[i],\n                            node: node,\n                            index: i\n                        });\n                    }\n                    break;\n\n                case Syntax.FunctionExpression:\n                    // id is defined in upper scope\n                    for (i = 0, iz = node.params.length; i < iz; ++i) {\n                        currentScope.__define(node.params[i], {\n                            type: Variable.Parameter,\n                            name: node.params[i],\n                            node: node,\n                            index: i\n                        });\n                    }\n                    break;\n\n                case Syntax.Identifier:\n                    break;\n\n                case Syntax.IfStatement:\n                    currentScope.__referencing(node.test);\n                    break;\n\n                case Syntax.Literal:\n                    break;\n\n                case Syntax.LabeledStatement:\n                    break;\n\n                case Syntax.LogicalExpression:\n                    currentScope.__referencing(node.left);\n                    currentScope.__referencing(node.right);\n                    break;\n\n                case Syntax.MemberExpression:\n                    currentScope.__referencing(node.object);\n                    if (node.computed) {\n                        currentScope.__referencing(node.property);\n                    }\n                    break;\n\n                case Syntax.NewExpression:\n                    currentScope.__referencing(node.callee);\n                    for (i = 0, iz = node['arguments'].length; i < iz; ++i) {\n                        currentScope.__referencing(node['arguments'][i]);\n                    }\n                    break;\n\n                case Syntax.ObjectExpression:\n                    break;\n\n                case Syntax.Program:\n                    break;\n\n                case Syntax.Property:\n                    currentScope.__referencing(node.value);\n                    break;\n\n                case Syntax.ReturnStatement:\n                    currentScope.__referencing(node.argument);\n                    break;\n\n                case Syntax.SequenceExpression:\n                    for (i = 0, iz = node.expressions.length; i < iz; ++i) {\n                        currentScope.__referencing(node.expressions[i]);\n                    }\n                    break;\n\n                case Syntax.SwitchStatement:\n                    currentScope.__referencing(node.discriminant);\n                    break;\n\n                case Syntax.SwitchCase:\n                    currentScope.__referencing(node.test);\n                    break;\n\n                case Syntax.ThisExpression:\n                    currentScope.variableScope.__detectThis();\n                    break;\n\n                case Syntax.ThrowStatement:\n                    currentScope.__referencing(node.argument);\n                    break;\n\n                case Syntax.TryStatement:\n                    break;\n\n                case Syntax.UnaryExpression:\n                    currentScope.__referencing(node.argument);\n                    break;\n\n                case Syntax.UpdateExpression:\n                    currentScope.__referencing(node.argument, Reference.RW, null);\n                    break;\n\n                case Syntax.VariableDeclaration:\n                    for (i = 0, iz = node.declarations.length; i < iz; ++i) {\n                        decl = node.declarations[i];\n                        currentScope.variableScope.__define(decl.id, {\n                            type: Variable.Variable,\n                            name: decl.id,\n                            node: decl,\n                            index: i,\n                            parent: node\n                        });\n                        if (decl.init) {\n                            // initializer is found\n                            currentScope.__referencing(decl.id, Reference.WRITE, decl.init, false);\n                            currentScope.__referencing(decl.init);\n                        }\n                    }\n                    break;\n\n                case Syntax.VariableDeclarator:\n                    break;\n\n                case Syntax.WhileStatement:\n                    currentScope.__referencing(node.test);\n                    break;\n\n                case Syntax.WithStatement:\n                    // WithStatement object is referenced at upper scope\n                    currentScope.upper.__referencing(node.object);\n                    break;\n                }\n            },\n\n            leave: function leave(node) {\n                while (currentScope && node === currentScope.block) {\n                    currentScope.__close();\n                }\n            }\n        });\n\n        assert(currentScope === null);\n        globalScope = null;\n        scopes = null;\n        options = null;\n\n        return new ScopeManager(resultScopes);\n    }\n\n    /** @name module:escope.version */\n    exports.version = '1.0.1';\n    /** @name module:escope.Reference */\n    exports.Reference = Reference;\n    /** @name module:escope.Variable */\n    exports.Variable = Variable;\n    /** @name module:escope.Scope */\n    exports.Scope = Scope;\n    /** @name module:escope.ScopeManager */\n    exports.ScopeManager = ScopeManager;\n    /** @name module:escope.analyze */\n    exports.analyze = analyze;\n}, this));\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n},{\"estraverse\":40}],39:[function(require,module,exports){\n/*\n  Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>\n  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n  Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>\n  Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>\n  Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>\n  Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n  Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>\n  Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n  Redistribution and use in source and binary forms, with or without\n  modification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright\n      notice, this list of conditions and the following disclaimer in the\n      documentation and/or other materials provided with the distribution.\n\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n/*jslint bitwise:true plusplus:true */\n/*global esprima:true, define:true, exports:true, window: true,\nthrowError: true, generateStatement: true, peek: true,\nparseAssignmentExpression: true, parseBlock: true,\nparseClassExpression: true, parseClassDeclaration: true, parseExpression: true,\nparseForStatement: true,\nparseFunctionDeclaration: true, parseFunctionExpression: true,\nparseFunctionSourceElements: true, parseVariableIdentifier: true,\nparseImportSpecifier: true,\nparseLeftHandSideExpression: true, parseParams: true, validateParam: true,\nparseSpreadOrAssignmentExpression: true,\nparseStatement: true, parseSourceElement: true, parseModuleBlock: true, parseConciseBody: true,\nparseYieldExpression: true\n*/\n\n(function (root, factory) {\n    'use strict';\n\n    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n    // Rhino, and plain browser loading.\n    if (typeof define === 'function' && define.amd) {\n        define(['exports'], factory);\n    } else if (typeof exports !== 'undefined') {\n        factory(exports);\n    } else {\n        factory((root.esprima = {}));\n    }\n}(this, function (exports) {\n    'use strict';\n\n    var Token,\n        TokenName,\n        FnExprTokens,\n        Syntax,\n        PropertyKind,\n        Messages,\n        Regex,\n        SyntaxTreeDelegate,\n        ClassPropertyType,\n        source,\n        strict,\n        index,\n        lineNumber,\n        lineStart,\n        length,\n        delegate,\n        lookahead,\n        state,\n        extra;\n\n    Token = {\n        BooleanLiteral: 1,\n        EOF: 2,\n        Identifier: 3,\n        Keyword: 4,\n        NullLiteral: 5,\n        NumericLiteral: 6,\n        Punctuator: 7,\n        StringLiteral: 8,\n        RegularExpression: 9,\n        Template: 10\n    };\n\n    TokenName = {};\n    TokenName[Token.BooleanLiteral] = 'Boolean';\n    TokenName[Token.EOF] = '<end>';\n    TokenName[Token.Identifier] = 'Identifier';\n    TokenName[Token.Keyword] = 'Keyword';\n    TokenName[Token.NullLiteral] = 'Null';\n    TokenName[Token.NumericLiteral] = 'Numeric';\n    TokenName[Token.Punctuator] = 'Punctuator';\n    TokenName[Token.StringLiteral] = 'String';\n    TokenName[Token.RegularExpression] = 'RegularExpression';\n\n    // A function following one of those tokens is an expression.\n    FnExprTokens = ['(', '{', '[', 'in', 'typeof', 'instanceof', 'new',\n                    'return', 'case', 'delete', 'throw', 'void',\n                    // assignment operators\n                    '=', '+=', '-=', '*=', '/=', '%=', '<<=', '>>=', '>>>=',\n                    '&=', '|=', '^=', ',',\n                    // binary/unary operators\n                    '+', '-', '*', '/', '%', '++', '--', '<<', '>>', '>>>', '&',\n                    '|', '^', '!', '~', '&&', '||', '?', ':', '===', '==', '>=',\n                    '<=', '<', '>', '!=', '!=='];\n\n    Syntax = {\n        ArrayExpression: 'ArrayExpression',\n        ArrayPattern: 'ArrayPattern',\n        ArrowFunctionExpression: 'ArrowFunctionExpression',\n        AssignmentExpression: 'AssignmentExpression',\n        BinaryExpression: 'BinaryExpression',\n        BlockStatement: 'BlockStatement',\n        BreakStatement: 'BreakStatement',\n        CallExpression: 'CallExpression',\n        CatchClause: 'CatchClause',\n        ClassBody: 'ClassBody',\n        ClassDeclaration: 'ClassDeclaration',\n        ClassExpression: 'ClassExpression',\n        ClassHeritage: 'ClassHeritage',\n        ComprehensionBlock: 'ComprehensionBlock',\n        ComprehensionExpression: 'ComprehensionExpression',\n        ConditionalExpression: 'ConditionalExpression',\n        ContinueStatement: 'ContinueStatement',\n        DebuggerStatement: 'DebuggerStatement',\n        DoWhileStatement: 'DoWhileStatement',\n        EmptyStatement: 'EmptyStatement',\n        ExportDeclaration: 'ExportDeclaration',\n        ExportBatchSpecifier: 'ExportBatchSpecifier',\n        ExportSpecifier: 'ExportSpecifier',\n        ExpressionStatement: 'ExpressionStatement',\n        ForInStatement: 'ForInStatement',\n        ForOfStatement: 'ForOfStatement',\n        ForStatement: 'ForStatement',\n        FunctionDeclaration: 'FunctionDeclaration',\n        FunctionExpression: 'FunctionExpression',\n        Identifier: 'Identifier',\n        IfStatement: 'IfStatement',\n        ImportDeclaration: 'ImportDeclaration',\n        ImportSpecifier: 'ImportSpecifier',\n        LabeledStatement: 'LabeledStatement',\n        Literal: 'Literal',\n        LogicalExpression: 'LogicalExpression',\n        MemberExpression: 'MemberExpression',\n        MethodDefinition: 'MethodDefinition',\n        ModuleDeclaration: 'ModuleDeclaration',\n        NewExpression: 'NewExpression',\n        ObjectExpression: 'ObjectExpression',\n        ObjectPattern: 'ObjectPattern',\n        Program: 'Program',\n        Property: 'Property',\n        ReturnStatement: 'ReturnStatement',\n        SequenceExpression: 'SequenceExpression',\n        SpreadElement: 'SpreadElement',\n        SwitchCase: 'SwitchCase',\n        SwitchStatement: 'SwitchStatement',\n        TaggedTemplateExpression: 'TaggedTemplateExpression',\n        TemplateElement: 'TemplateElement',\n        TemplateLiteral: 'TemplateLiteral',\n        ThisExpression: 'ThisExpression',\n        ThrowStatement: 'ThrowStatement',\n        TryStatement: 'TryStatement',\n        UnaryExpression: 'UnaryExpression',\n        UpdateExpression: 'UpdateExpression',\n        VariableDeclaration: 'VariableDeclaration',\n        VariableDeclarator: 'VariableDeclarator',\n        WhileStatement: 'WhileStatement',\n        WithStatement: 'WithStatement',\n        YieldExpression: 'YieldExpression'\n    };\n\n    PropertyKind = {\n        Data: 1,\n        Get: 2,\n        Set: 4\n    };\n\n    ClassPropertyType = {\n        'static': 'static',\n        prototype: 'prototype'\n    };\n\n    // Error messages should be identical to V8.\n    Messages = {\n        UnexpectedToken:  'Unexpected token %0',\n        UnexpectedNumber:  'Unexpected number',\n        UnexpectedString:  'Unexpected string',\n        UnexpectedIdentifier:  'Unexpected identifier',\n        UnexpectedReserved:  'Unexpected reserved word',\n        UnexpectedTemplate:  'Unexpected quasi %0',\n        UnexpectedEOS:  'Unexpected end of input',\n        NewlineAfterThrow:  'Illegal newline after throw',\n        InvalidRegExp: 'Invalid regular expression',\n        UnterminatedRegExp:  'Invalid regular expression: missing /',\n        InvalidLHSInAssignment:  'Invalid left-hand side in assignment',\n        InvalidLHSInFormalsList:  'Invalid left-hand side in formals list',\n        InvalidLHSInForIn:  'Invalid left-hand side in for-in',\n        MultipleDefaultsInSwitch: 'More than one default clause in switch statement',\n        NoCatchOrFinally:  'Missing catch or finally after try',\n        UnknownLabel: 'Undefined label \\'%0\\'',\n        Redeclaration: '%0 \\'%1\\' has already been declared',\n        IllegalContinue: 'Illegal continue statement',\n        IllegalBreak: 'Illegal break statement',\n        IllegalDuplicateClassProperty: 'Illegal duplicate property in class definition',\n        IllegalReturn: 'Illegal return statement',\n        IllegalYield: 'Illegal yield expression',\n        IllegalSpread: 'Illegal spread element',\n        StrictModeWith:  'Strict mode code may not include a with statement',\n        StrictCatchVariable:  'Catch variable may not be eval or arguments in strict mode',\n        StrictVarName:  'Variable name may not be eval or arguments in strict mode',\n        StrictParamName:  'Parameter name eval or arguments is not allowed in strict mode',\n        StrictParamDupe: 'Strict mode function may not have duplicate parameter names',\n        ParameterAfterRestParameter: 'Rest parameter must be final parameter of an argument list',\n        DefaultRestParameter: 'Rest parameter can not have a default value',\n        ElementAfterSpreadElement: 'Spread must be the final element of an element list',\n        ObjectPatternAsRestParameter: 'Invalid rest parameter',\n        ObjectPatternAsSpread: 'Invalid spread argument',\n        StrictFunctionName:  'Function name may not be eval or arguments in strict mode',\n        StrictOctalLiteral:  'Octal literals are not allowed in strict mode.',\n        StrictDelete:  'Delete of an unqualified identifier in strict mode.',\n        StrictDuplicateProperty:  'Duplicate data property in object literal not allowed in strict mode',\n        AccessorDataProperty:  'Object literal may not have data and accessor property with the same name',\n        AccessorGetSet:  'Object literal may not have multiple get/set accessors with the same name',\n        StrictLHSAssignment:  'Assignment to eval or arguments is not allowed in strict mode',\n        StrictLHSPostfix:  'Postfix increment/decrement may not have eval or arguments operand in strict mode',\n        StrictLHSPrefix:  'Prefix increment/decrement may not have eval or arguments operand in strict mode',\n        StrictReservedWord:  'Use of future reserved word in strict mode',\n        NewlineAfterModule:  'Illegal newline after module',\n        NoFromAfterImport: 'Missing from after import',\n        InvalidModuleSpecifier: 'Invalid module specifier',\n        NestedModule: 'Module declaration can not be nested',\n        NoYieldInGenerator: 'Missing yield in generator',\n        NoUnintializedConst: 'Const must be initialized',\n        ComprehensionRequiresBlock: 'Comprehension must have at least one block',\n        ComprehensionError:  'Comprehension Error',\n        EachNotAllowed:  'Each is not supported'\n    };\n\n    // See also tools/generate-unicode-regex.py.\n    Regex = {\n        NonAsciiIdentifierStart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]'),\n        NonAsciiIdentifierPart: new RegExp('[\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0300-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u0483-\\u0487\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0610-\\u061a\\u0620-\\u0669\\u066e-\\u06d3\\u06d5-\\u06dc\\u06df-\\u06e8\\u06ea-\\u06fc\\u06ff\\u0710-\\u074a\\u074d-\\u07b1\\u07c0-\\u07f5\\u07fa\\u0800-\\u082d\\u0840-\\u085b\\u08a0\\u08a2-\\u08ac\\u08e4-\\u08fe\\u0900-\\u0963\\u0966-\\u096f\\u0971-\\u0977\\u0979-\\u097f\\u0981-\\u0983\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bc-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09ce\\u09d7\\u09dc\\u09dd\\u09df-\\u09e3\\u09e6-\\u09f1\\u0a01-\\u0a03\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a59-\\u0a5c\\u0a5e\\u0a66-\\u0a75\\u0a81-\\u0a83\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abc-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ad0\\u0ae0-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3c-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5c\\u0b5d\\u0b5f-\\u0b63\\u0b66-\\u0b6f\\u0b71\\u0b82\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd0\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c58\\u0c59\\u0c60-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbc-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0cde\\u0ce0-\\u0ce3\\u0ce6-\\u0cef\\u0cf1\\u0cf2\\u0d02\\u0d03\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4e\\u0d57\\u0d60-\\u0d63\\u0d66-\\u0d6f\\u0d7a-\\u0d7f\\u0d82\\u0d83\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e01-\\u0e3a\\u0e40-\\u0e4e\\u0e50-\\u0e59\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb9\\u0ebb-\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0edc-\\u0edf\\u0f00\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e-\\u0f47\\u0f49-\\u0f6c\\u0f71-\\u0f84\\u0f86-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1049\\u1050-\\u109d\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u135d-\\u135f\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176c\\u176e-\\u1770\\u1772\\u1773\\u1780-\\u17d3\\u17d7\\u17dc\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a1b\\u1a20-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1aa7\\u1b00-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1bf3\\u1c00-\\u1c37\\u1c40-\\u1c49\\u1c4d-\\u1c7d\\u1cd0-\\u1cd2\\u1cd4-\\u1cf6\\u1d00-\\u1de6\\u1dfc-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u200c\\u200d\\u203f\\u2040\\u2054\\u2071\\u207f\\u2090-\\u209c\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d7f-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2de0-\\u2dff\\u2e2f\\u3005-\\u3007\\u3021-\\u302f\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u3099\\u309a\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua62b\\ua640-\\ua66f\\ua674-\\ua67d\\ua67f-\\ua697\\ua69f-\\ua6f1\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua827\\ua840-\\ua873\\ua880-\\ua8c4\\ua8d0-\\ua8d9\\ua8e0-\\ua8f7\\ua8fb\\ua900-\\ua92d\\ua930-\\ua953\\ua960-\\ua97c\\ua980-\\ua9c0\\ua9cf-\\ua9d9\\uaa00-\\uaa36\\uaa40-\\uaa4d\\uaa50-\\uaa59\\uaa60-\\uaa76\\uaa7a\\uaa7b\\uaa80-\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaef\\uaaf2-\\uaaf6\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff10-\\uff19\\uff21-\\uff3a\\uff3f\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]')\n    };\n\n    // Ensure the condition is true, otherwise throw an error.\n    // This is only to have a better contract semantic, i.e. another safety net\n    // to catch a logic error. The condition shall be fulfilled in normal case.\n    // Do NOT use this to enforce a certain condition on any user input.\n\n    function assert(condition, message) {\n        if (!condition) {\n            throw new Error('ASSERT: ' + message);\n        }\n    }\n\n    function isDecimalDigit(ch) {\n        return (ch >= 48 && ch <= 57);   // 0..9\n    }\n\n    function isHexDigit(ch) {\n        return '0123456789abcdefABCDEF'.indexOf(ch) >= 0;\n    }\n\n    function isOctalDigit(ch) {\n        return '01234567'.indexOf(ch) >= 0;\n    }\n\n\n    // 7.2 White Space\n\n    function isWhiteSpace(ch) {\n        return (ch === 32) ||  // space\n            (ch === 9) ||      // tab\n            (ch === 0xB) ||\n            (ch === 0xC) ||\n            (ch === 0xA0) ||\n            (ch >= 0x1680 && '\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\uFEFF'.indexOf(String.fromCharCode(ch)) > 0);\n    }\n\n    // 7.3 Line Terminators\n\n    function isLineTerminator(ch) {\n        return (ch === 10) || (ch === 13) || (ch === 0x2028) || (ch === 0x2029);\n    }\n\n    // 7.6 Identifier Names and Identifiers\n\n    function isIdentifierStart(ch) {\n        return (ch === 36) || (ch === 95) ||  // $ (dollar) and _ (underscore)\n            (ch >= 65 && ch <= 90) ||         // A..Z\n            (ch >= 97 && ch <= 122) ||        // a..z\n            (ch === 92) ||                    // \\ (backslash)\n            ((ch >= 0x80) && Regex.NonAsciiIdentifierStart.test(String.fromCharCode(ch)));\n    }\n\n    function isIdentifierPart(ch) {\n        return (ch === 36) || (ch === 95) ||  // $ (dollar) and _ (underscore)\n            (ch >= 65 && ch <= 90) ||         // A..Z\n            (ch >= 97 && ch <= 122) ||        // a..z\n            (ch >= 48 && ch <= 57) ||         // 0..9\n            (ch === 92) ||                    // \\ (backslash)\n            ((ch >= 0x80) && Regex.NonAsciiIdentifierPart.test(String.fromCharCode(ch)));\n    }\n\n    // 7.6.1.2 Future Reserved Words\n\n    function isFutureReservedWord(id) {\n        switch (id) {\n        case 'class':\n        case 'enum':\n        case 'export':\n        case 'extends':\n        case 'import':\n        case 'super':\n            return true;\n        default:\n            return false;\n        }\n    }\n\n    function isStrictModeReservedWord(id) {\n        switch (id) {\n        case 'implements':\n        case 'interface':\n        case 'package':\n        case 'private':\n        case 'protected':\n        case 'public':\n        case 'static':\n        case 'yield':\n        case 'let':\n            return true;\n        default:\n            return false;\n        }\n    }\n\n    function isRestrictedWord(id) {\n        return id === 'eval' || id === 'arguments';\n    }\n\n    // 7.6.1.1 Keywords\n\n    function isKeyword(id) {\n        if (strict && isStrictModeReservedWord(id)) {\n            return true;\n        }\n\n        // 'const' is specialized as Keyword in V8.\n        // 'yield' and 'let' are for compatiblity with SpiderMonkey and ES.next.\n        // Some others are from future reserved words.\n\n        switch (id.length) {\n        case 2:\n            return (id === 'if') || (id === 'in') || (id === 'do');\n        case 3:\n            return (id === 'var') || (id === 'for') || (id === 'new') ||\n                (id === 'try') || (id === 'let');\n        case 4:\n            return (id === 'this') || (id === 'else') || (id === 'case') ||\n                (id === 'void') || (id === 'with') || (id === 'enum');\n        case 5:\n            return (id === 'while') || (id === 'break') || (id === 'catch') ||\n                (id === 'throw') || (id === 'const') || (id === 'yield') ||\n                (id === 'class') || (id === 'super');\n        case 6:\n            return (id === 'return') || (id === 'typeof') || (id === 'delete') ||\n                (id === 'switch') || (id === 'export') || (id === 'import');\n        case 7:\n            return (id === 'default') || (id === 'finally') || (id === 'extends');\n        case 8:\n            return (id === 'function') || (id === 'continue') || (id === 'debugger');\n        case 10:\n            return (id === 'instanceof');\n        default:\n            return false;\n        }\n    }\n\n    // 7.4 Comments\n\n    function skipComment() {\n        var ch, blockComment, lineComment;\n\n        blockComment = false;\n        lineComment = false;\n\n        while (index < length) {\n            ch = source.charCodeAt(index);\n\n            if (lineComment) {\n                ++index;\n                if (isLineTerminator(ch)) {\n                    lineComment = false;\n                    if (ch === 13 && source.charCodeAt(index) === 10) {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    lineStart = index;\n                }\n            } else if (blockComment) {\n                if (isLineTerminator(ch)) {\n                    if (ch === 13 && source.charCodeAt(index + 1) === 10) {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    ++index;\n                    lineStart = index;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    ch = source.charCodeAt(index++);\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                    // Block comment ends with '*/' (char #42, char #47).\n                    if (ch === 42) {\n                        ch = source.charCodeAt(index);\n                        if (ch === 47) {\n                            ++index;\n                            blockComment = false;\n                        }\n                    }\n                }\n            } else if (ch === 47) {\n                ch = source.charCodeAt(index + 1);\n                // Line comment starts with '//' (char #47, char #47).\n                if (ch === 47) {\n                    index += 2;\n                    lineComment = true;\n                } else if (ch === 42) {\n                    // Block comment starts with '/*' (char #47, char #42).\n                    index += 2;\n                    blockComment = true;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    break;\n                }\n            } else if (isWhiteSpace(ch)) {\n                ++index;\n            } else if (isLineTerminator(ch)) {\n                ++index;\n                if (ch === 13 && source.charCodeAt(index) === 10) {\n                    ++index;\n                }\n                ++lineNumber;\n                lineStart = index;\n            } else {\n                break;\n            }\n        }\n    }\n\n    function scanHexEscape(prefix) {\n        var i, len, ch, code = 0;\n\n        len = (prefix === 'u') ? 4 : 2;\n        for (i = 0; i < len; ++i) {\n            if (index < length && isHexDigit(source[index])) {\n                ch = source[index++];\n                code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n            } else {\n                return '';\n            }\n        }\n        return String.fromCharCode(code);\n    }\n\n    function scanUnicodeCodePointEscape() {\n        var ch, code, cu1, cu2;\n\n        ch = source[index];\n        code = 0;\n\n        // At least, one hex digit is required.\n        if (ch === '}') {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        while (index < length) {\n            ch = source[index++];\n            if (!isHexDigit(ch)) {\n                break;\n            }\n            code = code * 16 + '0123456789abcdef'.indexOf(ch.toLowerCase());\n        }\n\n        if (code > 0x10FFFF || ch !== '}') {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        // UTF-16 Encoding\n        if (code <= 0xFFFF) {\n            return String.fromCharCode(code);\n        }\n        cu1 = ((code - 0x10000) >> 10) + 0xD800;\n        cu2 = ((code - 0x10000) & 1023) + 0xDC00;\n        return String.fromCharCode(cu1, cu2);\n    }\n\n    function getEscapedIdentifier() {\n        var ch, id;\n\n        ch = source.charCodeAt(index++);\n        id = String.fromCharCode(ch);\n\n        // '\\u' (char #92, char #117) denotes an escaped character.\n        if (ch === 92) {\n            if (source.charCodeAt(index) !== 117) {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n            ++index;\n            ch = scanHexEscape('u');\n            if (!ch || ch === '\\\\' || !isIdentifierStart(ch.charCodeAt(0))) {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n            id = ch;\n        }\n\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            if (!isIdentifierPart(ch)) {\n                break;\n            }\n            ++index;\n            id += String.fromCharCode(ch);\n\n            // '\\u' (char #92, char #117) denotes an escaped character.\n            if (ch === 92) {\n                id = id.substr(0, id.length - 1);\n                if (source.charCodeAt(index) !== 117) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n                ++index;\n                ch = scanHexEscape('u');\n                if (!ch || ch === '\\\\' || !isIdentifierPart(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n                id += ch;\n            }\n        }\n\n        return id;\n    }\n\n    function getIdentifier() {\n        var start, ch;\n\n        start = index++;\n        while (index < length) {\n            ch = source.charCodeAt(index);\n            if (ch === 92) {\n                // Blackslash (char #92) marks Unicode escape sequence.\n                index = start;\n                return getEscapedIdentifier();\n            }\n            if (isIdentifierPart(ch)) {\n                ++index;\n            } else {\n                break;\n            }\n        }\n\n        return source.slice(start, index);\n    }\n\n    function scanIdentifier() {\n        var start, id, type;\n\n        start = index;\n\n        // Backslash (char #92) starts an escaped character.\n        id = (source.charCodeAt(index) === 92) ? getEscapedIdentifier() : getIdentifier();\n\n        // There is no keyword or literal with only one character.\n        // Thus, it must be an identifier.\n        if (id.length === 1) {\n            type = Token.Identifier;\n        } else if (isKeyword(id)) {\n            type = Token.Keyword;\n        } else if (id === 'null') {\n            type = Token.NullLiteral;\n        } else if (id === 'true' || id === 'false') {\n            type = Token.BooleanLiteral;\n        } else {\n            type = Token.Identifier;\n        }\n\n        return {\n            type: type,\n            value: id,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n\n    // 7.7 Punctuators\n\n    function scanPunctuator() {\n        var start = index,\n            code = source.charCodeAt(index),\n            code2,\n            ch1 = source[index],\n            ch2,\n            ch3,\n            ch4;\n\n        switch (code) {\n        // Check for most common single-character punctuators.\n        case 40:   // ( open bracket\n        case 41:   // ) close bracket\n        case 59:   // ; semicolon\n        case 44:   // , comma\n        case 123:  // { open curly brace\n        case 125:  // } close curly brace\n        case 91:   // [\n        case 93:   // ]\n        case 58:   // :\n        case 63:   // ?\n        case 126:  // ~\n            ++index;\n            if (extra.tokenize) {\n                if (code === 40) {\n                    extra.openParenToken = extra.tokens.length;\n                } else if (code === 123) {\n                    extra.openCurlyToken = extra.tokens.length;\n                }\n            }\n            return {\n                type: Token.Punctuator,\n                value: String.fromCharCode(code),\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n\n        default:\n            code2 = source.charCodeAt(index + 1);\n\n            // '=' (char #61) marks an assignment or comparison operator.\n            if (code2 === 61) {\n                switch (code) {\n                case 37:  // %\n                case 38:  // &\n                case 42:  // *:\n                case 43:  // +\n                case 45:  // -\n                case 47:  // /\n                case 60:  // <\n                case 62:  // >\n                case 94:  // ^\n                case 124: // |\n                    index += 2;\n                    return {\n                        type: Token.Punctuator,\n                        value: String.fromCharCode(code) + String.fromCharCode(code2),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n\n                case 33: // !\n                case 61: // =\n                    index += 2;\n\n                    // !== and ===\n                    if (source.charCodeAt(index) === 61) {\n                        ++index;\n                    }\n                    return {\n                        type: Token.Punctuator,\n                        value: source.slice(start, index),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n                default:\n                    break;\n                }\n            }\n            break;\n        }\n\n        // Peek more characters.\n\n        ch2 = source[index + 1];\n        ch3 = source[index + 2];\n        ch4 = source[index + 3];\n\n        // 4-character punctuator: >>>=\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n            if (ch4 === '=') {\n                index += 4;\n                return {\n                    type: Token.Punctuator,\n                    value: '>>>=',\n                    lineNumber: lineNumber,\n                    lineStart: lineStart,\n                    range: [start, index]\n                };\n            }\n        }\n\n        // 3-character punctuators: === !== >>> <<= >>=\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '>') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '>>>',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '<' && ch2 === '<' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '<<=',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '>' && ch2 === '>' && ch3 === '=') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '>>=',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '.' && ch2 === '.' && ch3 === '.') {\n            index += 3;\n            return {\n                type: Token.Punctuator,\n                value: '...',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        // Other 2-character punctuators: ++ -- << >> && ||\n\n        if (ch1 === ch2 && ('+-<>&|'.indexOf(ch1) >= 0)) {\n            index += 2;\n            return {\n                type: Token.Punctuator,\n                value: ch1 + ch2,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '=' && ch2 === '>') {\n            index += 2;\n            return {\n                type: Token.Punctuator,\n                value: '=>',\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if ('<>=!+-*%&|^/'.indexOf(ch1) >= 0) {\n            ++index;\n            return {\n                type: Token.Punctuator,\n                value: ch1,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        if (ch1 === '.') {\n            ++index;\n            return {\n                type: Token.Punctuator,\n                value: ch1,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n\n        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n    }\n\n    // 7.8.3 Numeric Literals\n\n    function scanHexLiteral(start) {\n        var number = '';\n\n        while (index < length) {\n            if (!isHexDigit(source[index])) {\n                break;\n            }\n            number += source[index++];\n        }\n\n        if (number.length === 0) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseInt('0x' + number, 16),\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanOctalLiteral(prefix, start) {\n        var number, octal;\n\n        if (isOctalDigit(prefix)) {\n            octal = true;\n            number = '0' + source[index++];\n        } else {\n            octal = false;\n            ++index;\n            number = '';\n        }\n\n        while (index < length) {\n            if (!isOctalDigit(source[index])) {\n                break;\n            }\n            number += source[index++];\n        }\n\n        if (!octal && number.length === 0) {\n            // only 0o or 0O\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index)) || isDecimalDigit(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseInt(number, 8),\n            octal: octal,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanNumericLiteral() {\n        var number, start, ch, octal;\n\n        ch = source[index];\n        assert(isDecimalDigit(ch.charCodeAt(0)) || (ch === '.'),\n            'Numeric literal must start with a decimal digit or a decimal point');\n\n        start = index;\n        number = '';\n        if (ch !== '.') {\n            number = source[index++];\n            ch = source[index];\n\n            // Hex number starts with '0x'.\n            // Octal number starts with '0'.\n            // Octal number in ES6 starts with '0o'.\n            // Binary number in ES6 starts with '0b'.\n            if (number === '0') {\n                if (ch === 'x' || ch === 'X') {\n                    ++index;\n                    return scanHexLiteral(start);\n                }\n                if (ch === 'b' || ch === 'B') {\n                    ++index;\n                    number = '';\n\n                    while (index < length) {\n                        ch = source[index];\n                        if (ch !== '0' && ch !== '1') {\n                            break;\n                        }\n                        number += source[index++];\n                    }\n\n                    if (number.length === 0) {\n                        // only 0b or 0B\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n\n                    if (index < length) {\n                        ch = source.charCodeAt(index);\n                        if (isIdentifierStart(ch) || isDecimalDigit(ch)) {\n                            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                        }\n                    }\n                    return {\n                        type: Token.NumericLiteral,\n                        value: parseInt(number, 2),\n                        lineNumber: lineNumber,\n                        lineStart: lineStart,\n                        range: [start, index]\n                    };\n                }\n                if (ch === 'o' || ch === 'O' || isOctalDigit(ch)) {\n                    return scanOctalLiteral(ch, start);\n                }\n                // decimal number starts with '0' such as '09' is illegal.\n                if (ch && isDecimalDigit(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                }\n            }\n\n            while (isDecimalDigit(source.charCodeAt(index))) {\n                number += source[index++];\n            }\n            ch = source[index];\n        }\n\n        if (ch === '.') {\n            number += source[index++];\n            while (isDecimalDigit(source.charCodeAt(index))) {\n                number += source[index++];\n            }\n            ch = source[index];\n        }\n\n        if (ch === 'e' || ch === 'E') {\n            number += source[index++];\n\n            ch = source[index];\n            if (ch === '+' || ch === '-') {\n                number += source[index++];\n            }\n            if (isDecimalDigit(source.charCodeAt(index))) {\n                while (isDecimalDigit(source.charCodeAt(index))) {\n                    number += source[index++];\n                }\n            } else {\n                throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n            }\n        }\n\n        if (isIdentifierStart(source.charCodeAt(index))) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.NumericLiteral,\n            value: parseFloat(number),\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    // 7.8.4 String Literals\n\n    function scanStringLiteral() {\n        var str = '', quote, start, ch, code, unescaped, restore, octal = false;\n\n        quote = source[index];\n        assert((quote === '\\'' || quote === '\"'),\n            'String literal must starts with a quote');\n\n        start = index;\n        ++index;\n\n        while (index < length) {\n            ch = source[index++];\n\n            if (ch === quote) {\n                quote = '';\n                break;\n            } else if (ch === '\\\\') {\n                ch = source[index++];\n                if (!ch || !isLineTerminator(ch.charCodeAt(0))) {\n                    switch (ch) {\n                    case 'n':\n                        str += '\\n';\n                        break;\n                    case 'r':\n                        str += '\\r';\n                        break;\n                    case 't':\n                        str += '\\t';\n                        break;\n                    case 'u':\n                    case 'x':\n                        if (source[index] === '{') {\n                            ++index;\n                            str += scanUnicodeCodePointEscape();\n                        } else {\n                            restore = index;\n                            unescaped = scanHexEscape(ch);\n                            if (unescaped) {\n                                str += unescaped;\n                            } else {\n                                index = restore;\n                                str += ch;\n                            }\n                        }\n                        break;\n                    case 'b':\n                        str += '\\b';\n                        break;\n                    case 'f':\n                        str += '\\f';\n                        break;\n                    case 'v':\n                        str += '\\x0B';\n                        break;\n\n                    default:\n                        if (isOctalDigit(ch)) {\n                            code = '01234567'.indexOf(ch);\n\n                            // \\0 is not octal escape sequence\n                            if (code !== 0) {\n                                octal = true;\n                            }\n\n                            if (index < length && isOctalDigit(source[index])) {\n                                octal = true;\n                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n                                // 3 digits are only allowed when string starts\n                                // with 0, 1, 2, 3\n                                if ('0123'.indexOf(ch) >= 0 &&\n                                        index < length &&\n                                        isOctalDigit(source[index])) {\n                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n                                }\n                            }\n                            str += String.fromCharCode(code);\n                        } else {\n                            str += ch;\n                        }\n                        break;\n                    }\n                } else {\n                    ++lineNumber;\n                    if (ch ===  '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                }\n            } else if (isLineTerminator(ch.charCodeAt(0))) {\n                break;\n            } else {\n                str += ch;\n            }\n        }\n\n        if (quote !== '') {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.StringLiteral,\n            value: str,\n            octal: octal,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanTemplate() {\n        var cooked = '', ch, start, terminated, tail, restore, unescaped, code, octal;\n\n        terminated = false;\n        tail = false;\n        start = index;\n\n        ++index;\n\n        while (index < length) {\n            ch = source[index++];\n            if (ch === '`') {\n                tail = true;\n                terminated = true;\n                break;\n            } else if (ch === '$') {\n                if (source[index] === '{') {\n                    ++index;\n                    terminated = true;\n                    break;\n                }\n                cooked += ch;\n            } else if (ch === '\\\\') {\n                ch = source[index++];\n                if (!isLineTerminator(ch.charCodeAt(0))) {\n                    switch (ch) {\n                    case 'n':\n                        cooked += '\\n';\n                        break;\n                    case 'r':\n                        cooked += '\\r';\n                        break;\n                    case 't':\n                        cooked += '\\t';\n                        break;\n                    case 'u':\n                    case 'x':\n                        if (source[index] === '{') {\n                            ++index;\n                            cooked += scanUnicodeCodePointEscape();\n                        } else {\n                            restore = index;\n                            unescaped = scanHexEscape(ch);\n                            if (unescaped) {\n                                cooked += unescaped;\n                            } else {\n                                index = restore;\n                                cooked += ch;\n                            }\n                        }\n                        break;\n                    case 'b':\n                        cooked += '\\b';\n                        break;\n                    case 'f':\n                        cooked += '\\f';\n                        break;\n                    case 'v':\n                        cooked += '\\v';\n                        break;\n\n                    default:\n                        if (isOctalDigit(ch)) {\n                            code = '01234567'.indexOf(ch);\n\n                            // \\0 is not octal escape sequence\n                            if (code !== 0) {\n                                octal = true;\n                            }\n\n                            if (index < length && isOctalDigit(source[index])) {\n                                octal = true;\n                                code = code * 8 + '01234567'.indexOf(source[index++]);\n\n                                // 3 digits are only allowed when string starts\n                                // with 0, 1, 2, 3\n                                if ('0123'.indexOf(ch) >= 0 &&\n                                        index < length &&\n                                        isOctalDigit(source[index])) {\n                                    code = code * 8 + '01234567'.indexOf(source[index++]);\n                                }\n                            }\n                            cooked += String.fromCharCode(code);\n                        } else {\n                            cooked += ch;\n                        }\n                        break;\n                    }\n                } else {\n                    ++lineNumber;\n                    if (ch ===  '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                }\n            } else if (isLineTerminator(ch.charCodeAt(0))) {\n                ++lineNumber;\n                if (ch ===  '\\r' && source[index] === '\\n') {\n                    ++index;\n                }\n                cooked += '\\n';\n            } else {\n                cooked += ch;\n            }\n        }\n\n        if (!terminated) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        return {\n            type: Token.Template,\n            value: {\n                cooked: cooked,\n                raw: source.slice(start + 1, index - ((tail) ? 1 : 2))\n            },\n            tail: tail,\n            octal: octal,\n            lineNumber: lineNumber,\n            lineStart: lineStart,\n            range: [start, index]\n        };\n    }\n\n    function scanTemplateElement(option) {\n        var startsWith, template;\n\n        lookahead = null;\n        skipComment();\n\n        startsWith = (option.head) ? '`' : '}';\n\n        if (source[index] !== startsWith) {\n            throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n        }\n\n        template = scanTemplate();\n\n        peek();\n\n        return template;\n    }\n\n    function scanRegExp() {\n        var str, ch, start, pattern, flags, value, classMarker = false, restore, terminated = false;\n\n        lookahead = null;\n        skipComment();\n\n        start = index;\n        ch = source[index];\n        assert(ch === '/', 'Regular expression literal must start with a slash');\n        str = source[index++];\n\n        while (index < length) {\n            ch = source[index++];\n            str += ch;\n            if (classMarker) {\n                if (ch === ']') {\n                    classMarker = false;\n                }\n            } else {\n                if (ch === '\\\\') {\n                    ch = source[index++];\n                    // ECMA-262 7.8.5\n                    if (isLineTerminator(ch.charCodeAt(0))) {\n                        throwError({}, Messages.UnterminatedRegExp);\n                    }\n                    str += ch;\n                } else if (ch === '/') {\n                    terminated = true;\n                    break;\n                } else if (ch === '[') {\n                    classMarker = true;\n                } else if (isLineTerminator(ch.charCodeAt(0))) {\n                    throwError({}, Messages.UnterminatedRegExp);\n                }\n            }\n        }\n\n        if (!terminated) {\n            throwError({}, Messages.UnterminatedRegExp);\n        }\n\n        // Exclude leading and trailing slash.\n        pattern = str.substr(1, str.length - 2);\n\n        flags = '';\n        while (index < length) {\n            ch = source[index];\n            if (!isIdentifierPart(ch.charCodeAt(0))) {\n                break;\n            }\n\n            ++index;\n            if (ch === '\\\\' && index < length) {\n                ch = source[index];\n                if (ch === 'u') {\n                    ++index;\n                    restore = index;\n                    ch = scanHexEscape('u');\n                    if (ch) {\n                        flags += ch;\n                        for (str += '\\\\u'; restore < index; ++restore) {\n                            str += source[restore];\n                        }\n                    } else {\n                        index = restore;\n                        flags += 'u';\n                        str += '\\\\u';\n                    }\n                } else {\n                    str += '\\\\';\n                }\n            } else {\n                flags += ch;\n                str += ch;\n            }\n        }\n\n        try {\n            value = new RegExp(pattern, flags);\n        } catch (e) {\n            throwError({}, Messages.InvalidRegExp);\n        }\n\n        peek();\n\n\n        if (extra.tokenize) {\n            return {\n                type: Token.RegularExpression,\n                value: value,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [start, index]\n            };\n        }\n        return {\n            literal: str,\n            value: value,\n            range: [start, index]\n        };\n    }\n\n    function isIdentifierName(token) {\n        return token.type === Token.Identifier ||\n            token.type === Token.Keyword ||\n            token.type === Token.BooleanLiteral ||\n            token.type === Token.NullLiteral;\n    }\n\n    function advanceSlash() {\n        var prevToken,\n            checkToken;\n        // Using the following algorithm:\n        // https://github.com/mozilla/sweet.js/wiki/design\n        prevToken = extra.tokens[extra.tokens.length - 1];\n        if (!prevToken) {\n            // Nothing before that: it cannot be a division.\n            return scanRegExp();\n        }\n        if (prevToken.type === 'Punctuator') {\n            if (prevToken.value === ')') {\n                checkToken = extra.tokens[extra.openParenToken - 1];\n                if (checkToken &&\n                        checkToken.type === 'Keyword' &&\n                        (checkToken.value === 'if' ||\n                         checkToken.value === 'while' ||\n                         checkToken.value === 'for' ||\n                         checkToken.value === 'with')) {\n                    return scanRegExp();\n                }\n                return scanPunctuator();\n            }\n            if (prevToken.value === '}') {\n                // Dividing a function by anything makes little sense,\n                // but we have to check for that.\n                if (extra.tokens[extra.openCurlyToken - 3] &&\n                        extra.tokens[extra.openCurlyToken - 3].type === 'Keyword') {\n                    // Anonymous function.\n                    checkToken = extra.tokens[extra.openCurlyToken - 4];\n                    if (!checkToken) {\n                        return scanPunctuator();\n                    }\n                } else if (extra.tokens[extra.openCurlyToken - 4] &&\n                        extra.tokens[extra.openCurlyToken - 4].type === 'Keyword') {\n                    // Named function.\n                    checkToken = extra.tokens[extra.openCurlyToken - 5];\n                    if (!checkToken) {\n                        return scanRegExp();\n                    }\n                } else {\n                    return scanPunctuator();\n                }\n                // checkToken determines whether the function is\n                // a declaration or an expression.\n                if (FnExprTokens.indexOf(checkToken.value) >= 0) {\n                    // It is an expression.\n                    return scanPunctuator();\n                }\n                // It is a declaration.\n                return scanRegExp();\n            }\n            return scanRegExp();\n        }\n        if (prevToken.type === 'Keyword') {\n            return scanRegExp();\n        }\n        return scanPunctuator();\n    }\n\n    function advance() {\n        var ch;\n\n        skipComment();\n\n        if (index >= length) {\n            return {\n                type: Token.EOF,\n                lineNumber: lineNumber,\n                lineStart: lineStart,\n                range: [index, index]\n            };\n        }\n\n        ch = source.charCodeAt(index);\n\n        // Very common: ( and ) and ;\n        if (ch === 40 || ch === 41 || ch === 58) {\n            return scanPunctuator();\n        }\n\n        // String literal starts with single quote (#39) or double quote (#34).\n        if (ch === 39 || ch === 34) {\n            return scanStringLiteral();\n        }\n\n        if (ch === 96) {\n            return scanTemplate();\n        }\n        if (isIdentifierStart(ch)) {\n            return scanIdentifier();\n        }\n\n        // Dot (.) char #46 can also start a floating-point number, hence the need\n        // to check the next character.\n        if (ch === 46) {\n            if (isDecimalDigit(source.charCodeAt(index + 1))) {\n                return scanNumericLiteral();\n            }\n            return scanPunctuator();\n        }\n\n        if (isDecimalDigit(ch)) {\n            return scanNumericLiteral();\n        }\n\n        // Slash (/) char #47 can also start a regex.\n        if (extra.tokenize && ch === 47) {\n            return advanceSlash();\n        }\n\n        return scanPunctuator();\n    }\n\n    function lex() {\n        var token;\n\n        token = lookahead;\n        index = token.range[1];\n        lineNumber = token.lineNumber;\n        lineStart = token.lineStart;\n\n        lookahead = advance();\n\n        index = token.range[1];\n        lineNumber = token.lineNumber;\n        lineStart = token.lineStart;\n\n        return token;\n    }\n\n    function peek() {\n        var pos, line, start;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n        lookahead = advance();\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n    }\n\n    function lookahead2() {\n        var adv, pos, line, start, result;\n\n        // If we are collecting the tokens, don't grab the next one yet.\n        adv = (typeof extra.advance === 'function') ? extra.advance : advance;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n\n        // Scan for the next immediate token.\n        if (lookahead === null) {\n            lookahead = adv();\n        }\n        index = lookahead.range[1];\n        lineNumber = lookahead.lineNumber;\n        lineStart = lookahead.lineStart;\n\n        // Grab the token right after.\n        result = adv();\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n\n        return result;\n    }\n\n    SyntaxTreeDelegate = {\n\n        name: 'SyntaxTree',\n\n        postProcess: function (node) {\n            return node;\n        },\n\n        createArrayExpression: function (elements) {\n            return {\n                type: Syntax.ArrayExpression,\n                elements: elements\n            };\n        },\n\n        createAssignmentExpression: function (operator, left, right) {\n            return {\n                type: Syntax.AssignmentExpression,\n                operator: operator,\n                left: left,\n                right: right\n            };\n        },\n\n        createBinaryExpression: function (operator, left, right) {\n            var type = (operator === '||' || operator === '&&') ? Syntax.LogicalExpression :\n                        Syntax.BinaryExpression;\n            return {\n                type: type,\n                operator: operator,\n                left: left,\n                right: right\n            };\n        },\n\n        createBlockStatement: function (body) {\n            return {\n                type: Syntax.BlockStatement,\n                body: body\n            };\n        },\n\n        createBreakStatement: function (label) {\n            return {\n                type: Syntax.BreakStatement,\n                label: label\n            };\n        },\n\n        createCallExpression: function (callee, args) {\n            return {\n                type: Syntax.CallExpression,\n                callee: callee,\n                'arguments': args\n            };\n        },\n\n        createCatchClause: function (param, body) {\n            return {\n                type: Syntax.CatchClause,\n                param: param,\n                body: body\n            };\n        },\n\n        createConditionalExpression: function (test, consequent, alternate) {\n            return {\n                type: Syntax.ConditionalExpression,\n                test: test,\n                consequent: consequent,\n                alternate: alternate\n            };\n        },\n\n        createContinueStatement: function (label) {\n            return {\n                type: Syntax.ContinueStatement,\n                label: label\n            };\n        },\n\n        createDebuggerStatement: function () {\n            return {\n                type: Syntax.DebuggerStatement\n            };\n        },\n\n        createDoWhileStatement: function (body, test) {\n            return {\n                type: Syntax.DoWhileStatement,\n                body: body,\n                test: test\n            };\n        },\n\n        createEmptyStatement: function () {\n            return {\n                type: Syntax.EmptyStatement\n            };\n        },\n\n        createExpressionStatement: function (expression) {\n            return {\n                type: Syntax.ExpressionStatement,\n                expression: expression\n            };\n        },\n\n        createForStatement: function (init, test, update, body) {\n            return {\n                type: Syntax.ForStatement,\n                init: init,\n                test: test,\n                update: update,\n                body: body\n            };\n        },\n\n        createForInStatement: function (left, right, body) {\n            return {\n                type: Syntax.ForInStatement,\n                left: left,\n                right: right,\n                body: body,\n                each: false\n            };\n        },\n\n        createForOfStatement: function (left, right, body) {\n            return {\n                type: Syntax.ForOfStatement,\n                left: left,\n                right: right,\n                body: body\n            };\n        },\n\n        createFunctionDeclaration: function (id, params, defaults, body, rest, generator, expression) {\n            return {\n                type: Syntax.FunctionDeclaration,\n                id: id,\n                params: params,\n                defaults: defaults,\n                body: body,\n                rest: rest,\n                generator: generator,\n                expression: expression\n            };\n        },\n\n        createFunctionExpression: function (id, params, defaults, body, rest, generator, expression) {\n            return {\n                type: Syntax.FunctionExpression,\n                id: id,\n                params: params,\n                defaults: defaults,\n                body: body,\n                rest: rest,\n                generator: generator,\n                expression: expression\n            };\n        },\n\n        createIdentifier: function (name) {\n            return {\n                type: Syntax.Identifier,\n                name: name\n            };\n        },\n\n        createIfStatement: function (test, consequent, alternate) {\n            return {\n                type: Syntax.IfStatement,\n                test: test,\n                consequent: consequent,\n                alternate: alternate\n            };\n        },\n\n        createLabeledStatement: function (label, body) {\n            return {\n                type: Syntax.LabeledStatement,\n                label: label,\n                body: body\n            };\n        },\n\n        createLiteral: function (token) {\n            return {\n                type: Syntax.Literal,\n                value: token.value,\n                raw: source.slice(token.range[0], token.range[1])\n            };\n        },\n\n        createMemberExpression: function (accessor, object, property) {\n            return {\n                type: Syntax.MemberExpression,\n                computed: accessor === '[',\n                object: object,\n                property: property\n            };\n        },\n\n        createNewExpression: function (callee, args) {\n            return {\n                type: Syntax.NewExpression,\n                callee: callee,\n                'arguments': args\n            };\n        },\n\n        createObjectExpression: function (properties) {\n            return {\n                type: Syntax.ObjectExpression,\n                properties: properties\n            };\n        },\n\n        createPostfixExpression: function (operator, argument) {\n            return {\n                type: Syntax.UpdateExpression,\n                operator: operator,\n                argument: argument,\n                prefix: false\n            };\n        },\n\n        createProgram: function (body) {\n            return {\n                type: Syntax.Program,\n                body: body\n            };\n        },\n\n        createProperty: function (kind, key, value, method, shorthand) {\n            return {\n                type: Syntax.Property,\n                key: key,\n                value: value,\n                kind: kind,\n                method: method,\n                shorthand: shorthand\n            };\n        },\n\n        createReturnStatement: function (argument) {\n            return {\n                type: Syntax.ReturnStatement,\n                argument: argument\n            };\n        },\n\n        createSequenceExpression: function (expressions) {\n            return {\n                type: Syntax.SequenceExpression,\n                expressions: expressions\n            };\n        },\n\n        createSwitchCase: function (test, consequent) {\n            return {\n                type: Syntax.SwitchCase,\n                test: test,\n                consequent: consequent\n            };\n        },\n\n        createSwitchStatement: function (discriminant, cases) {\n            return {\n                type: Syntax.SwitchStatement,\n                discriminant: discriminant,\n                cases: cases\n            };\n        },\n\n        createThisExpression: function () {\n            return {\n                type: Syntax.ThisExpression\n            };\n        },\n\n        createThrowStatement: function (argument) {\n            return {\n                type: Syntax.ThrowStatement,\n                argument: argument\n            };\n        },\n\n        createTryStatement: function (block, guardedHandlers, handlers, finalizer) {\n            return {\n                type: Syntax.TryStatement,\n                block: block,\n                guardedHandlers: guardedHandlers,\n                handlers: handlers,\n                finalizer: finalizer\n            };\n        },\n\n        createUnaryExpression: function (operator, argument) {\n            if (operator === '++' || operator === '--') {\n                return {\n                    type: Syntax.UpdateExpression,\n                    operator: operator,\n                    argument: argument,\n                    prefix: true\n                };\n            }\n            return {\n                type: Syntax.UnaryExpression,\n                operator: operator,\n                argument: argument\n            };\n        },\n\n        createVariableDeclaration: function (declarations, kind) {\n            return {\n                type: Syntax.VariableDeclaration,\n                declarations: declarations,\n                kind: kind\n            };\n        },\n\n        createVariableDeclarator: function (id, init) {\n            return {\n                type: Syntax.VariableDeclarator,\n                id: id,\n                init: init\n            };\n        },\n\n        createWhileStatement: function (test, body) {\n            return {\n                type: Syntax.WhileStatement,\n                test: test,\n                body: body\n            };\n        },\n\n        createWithStatement: function (object, body) {\n            return {\n                type: Syntax.WithStatement,\n                object: object,\n                body: body\n            };\n        },\n\n        createTemplateElement: function (value, tail) {\n            return {\n                type: Syntax.TemplateElement,\n                value: value,\n                tail: tail\n            };\n        },\n\n        createTemplateLiteral: function (quasis, expressions) {\n            return {\n                type: Syntax.TemplateLiteral,\n                quasis: quasis,\n                expressions: expressions\n            };\n        },\n\n        createSpreadElement: function (argument) {\n            return {\n                type: Syntax.SpreadElement,\n                argument: argument\n            };\n        },\n\n        createTaggedTemplateExpression: function (tag, quasi) {\n            return {\n                type: Syntax.TaggedTemplateExpression,\n                tag: tag,\n                quasi: quasi\n            };\n        },\n\n        createArrowFunctionExpression: function (params, defaults, body, rest, expression) {\n            return {\n                type: Syntax.ArrowFunctionExpression,\n                id: null,\n                params: params,\n                defaults: defaults,\n                body: body,\n                rest: rest,\n                generator: false,\n                expression: expression\n            };\n        },\n\n        createMethodDefinition: function (propertyType, kind, key, value) {\n            return {\n                type: Syntax.MethodDefinition,\n                key: key,\n                value: value,\n                kind: kind,\n                'static': propertyType === ClassPropertyType.static\n            };\n        },\n\n        createClassBody: function (body) {\n            return {\n                type: Syntax.ClassBody,\n                body: body\n            };\n        },\n\n        createClassExpression: function (id, superClass, body) {\n            return {\n                type: Syntax.ClassExpression,\n                id: id,\n                superClass: superClass,\n                body: body\n            };\n        },\n\n        createClassDeclaration: function (id, superClass, body) {\n            return {\n                type: Syntax.ClassDeclaration,\n                id: id,\n                superClass: superClass,\n                body: body\n            };\n        },\n\n        createExportSpecifier: function (id, name) {\n            return {\n                type: Syntax.ExportSpecifier,\n                id: id,\n                name: name\n            };\n        },\n\n        createExportBatchSpecifier: function () {\n            return {\n                type: Syntax.ExportBatchSpecifier\n            };\n        },\n\n        createExportDeclaration: function (declaration, specifiers, source) {\n            return {\n                type: Syntax.ExportDeclaration,\n                declaration: declaration,\n                specifiers: specifiers,\n                source: source\n            };\n        },\n\n        createImportSpecifier: function (id, name) {\n            return {\n                type: Syntax.ImportSpecifier,\n                id: id,\n                name: name\n            };\n        },\n\n        createImportDeclaration: function (specifiers, kind, source) {\n            return {\n                type: Syntax.ImportDeclaration,\n                specifiers: specifiers,\n                kind: kind,\n                source: source\n            };\n        },\n\n        createYieldExpression: function (argument, delegate) {\n            return {\n                type: Syntax.YieldExpression,\n                argument: argument,\n                delegate: delegate\n            };\n        },\n\n        createModuleDeclaration: function (id, source, body) {\n            return {\n                type: Syntax.ModuleDeclaration,\n                id: id,\n                source: source,\n                body: body\n            };\n        }\n\n\n    };\n\n    // Return true if there is a line terminator before the next token.\n\n    function peekLineTerminator() {\n        var pos, line, start, found;\n\n        pos = index;\n        line = lineNumber;\n        start = lineStart;\n        skipComment();\n        found = lineNumber !== line;\n        index = pos;\n        lineNumber = line;\n        lineStart = start;\n\n        return found;\n    }\n\n    // Throw an exception\n\n    function throwError(token, messageFormat) {\n        var error,\n            args = Array.prototype.slice.call(arguments, 2),\n            msg = messageFormat.replace(\n                /%(\\d)/g,\n                function (whole, index) {\n                    assert(index < args.length, 'Message reference must be in range');\n                    return args[index];\n                }\n            );\n\n        if (typeof token.lineNumber === 'number') {\n            error = new Error('Line ' + token.lineNumber + ': ' + msg);\n            error.index = token.range[0];\n            error.lineNumber = token.lineNumber;\n            error.column = token.range[0] - lineStart + 1;\n        } else {\n            error = new Error('Line ' + lineNumber + ': ' + msg);\n            error.index = index;\n            error.lineNumber = lineNumber;\n            error.column = index - lineStart + 1;\n        }\n\n        error.description = msg;\n        throw error;\n    }\n\n    function throwErrorTolerant() {\n        try {\n            throwError.apply(null, arguments);\n        } catch (e) {\n            if (extra.errors) {\n                extra.errors.push(e);\n            } else {\n                throw e;\n            }\n        }\n    }\n\n\n    // Throw an exception because of the token.\n\n    function throwUnexpected(token) {\n        if (token.type === Token.EOF) {\n            throwError(token, Messages.UnexpectedEOS);\n        }\n\n        if (token.type === Token.NumericLiteral) {\n            throwError(token, Messages.UnexpectedNumber);\n        }\n\n        if (token.type === Token.StringLiteral) {\n            throwError(token, Messages.UnexpectedString);\n        }\n\n        if (token.type === Token.Identifier) {\n            throwError(token, Messages.UnexpectedIdentifier);\n        }\n\n        if (token.type === Token.Keyword) {\n            if (isFutureReservedWord(token.value)) {\n                throwError(token, Messages.UnexpectedReserved);\n            } else if (strict && isStrictModeReservedWord(token.value)) {\n                throwErrorTolerant(token, Messages.StrictReservedWord);\n                return;\n            }\n            throwError(token, Messages.UnexpectedToken, token.value);\n        }\n\n        if (token.type === Token.Template) {\n            throwError(token, Messages.UnexpectedTemplate, token.value.raw);\n        }\n\n        // BooleanLiteral, NullLiteral, or Punctuator.\n        throwError(token, Messages.UnexpectedToken, token.value);\n    }\n\n    // Expect the next token to match the specified punctuator.\n    // If not, an exception will be thrown.\n\n    function expect(value) {\n        var token = lex();\n        if (token.type !== Token.Punctuator || token.value !== value) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Expect the next token to match the specified keyword.\n    // If not, an exception will be thrown.\n\n    function expectKeyword(keyword) {\n        var token = lex();\n        if (token.type !== Token.Keyword || token.value !== keyword) {\n            throwUnexpected(token);\n        }\n    }\n\n    // Return true if the next token matches the specified punctuator.\n\n    function match(value) {\n        return lookahead.type === Token.Punctuator && lookahead.value === value;\n    }\n\n    // Return true if the next token matches the specified keyword\n\n    function matchKeyword(keyword) {\n        return lookahead.type === Token.Keyword && lookahead.value === keyword;\n    }\n\n\n    // Return true if the next token matches the specified contextual keyword\n\n    function matchContextualKeyword(keyword) {\n        return lookahead.type === Token.Identifier && lookahead.value === keyword;\n    }\n\n    // Return true if the next token is an assignment operator\n\n    function matchAssign() {\n        var op;\n\n        if (lookahead.type !== Token.Punctuator) {\n            return false;\n        }\n        op = lookahead.value;\n        return op === '=' ||\n            op === '*=' ||\n            op === '/=' ||\n            op === '%=' ||\n            op === '+=' ||\n            op === '-=' ||\n            op === '<<=' ||\n            op === '>>=' ||\n            op === '>>>=' ||\n            op === '&=' ||\n            op === '^=' ||\n            op === '|=';\n    }\n\n    function consumeSemicolon() {\n        var line;\n\n        // Catch the very common case first: immediately a semicolon (char #59).\n        if (source.charCodeAt(index) === 59) {\n            lex();\n            return;\n        }\n\n        line = lineNumber;\n        skipComment();\n        if (lineNumber !== line) {\n            return;\n        }\n\n        if (match(';')) {\n            lex();\n            return;\n        }\n\n        if (lookahead.type !== Token.EOF && !match('}')) {\n            throwUnexpected(lookahead);\n        }\n    }\n\n    // Return true if provided expression is LeftHandSideExpression\n\n    function isLeftHandSide(expr) {\n        return expr.type === Syntax.Identifier || expr.type === Syntax.MemberExpression;\n    }\n\n    function isAssignableLeftHandSide(expr) {\n        return isLeftHandSide(expr) || expr.type === Syntax.ObjectPattern || expr.type === Syntax.ArrayPattern;\n    }\n\n    // 11.1.4 Array Initialiser\n\n    function parseArrayInitialiser() {\n        var elements = [], blocks = [], filter = null, tmp, possiblecomprehension = true, body;\n\n        expect('[');\n        while (!match(']')) {\n            if (lookahead.value === 'for' &&\n                    lookahead.type === Token.Keyword) {\n                if (!possiblecomprehension) {\n                    throwError({}, Messages.ComprehensionError);\n                }\n                matchKeyword('for');\n                tmp = parseForStatement({ignoreBody: true});\n                tmp.of = tmp.type === Syntax.ForOfStatement;\n                tmp.type = Syntax.ComprehensionBlock;\n                if (tmp.left.kind) { // can't be let or const\n                    throwError({}, Messages.ComprehensionError);\n                }\n                blocks.push(tmp);\n            } else if (lookahead.value === 'if' &&\n                           lookahead.type === Token.Keyword) {\n                if (!possiblecomprehension) {\n                    throwError({}, Messages.ComprehensionError);\n                }\n                expectKeyword('if');\n                expect('(');\n                filter = parseExpression();\n                expect(')');\n            } else if (lookahead.value === ',' &&\n                           lookahead.type === Token.Punctuator) {\n                possiblecomprehension = false; // no longer allowed.\n                lex();\n                elements.push(null);\n            } else {\n                tmp = parseSpreadOrAssignmentExpression();\n                elements.push(tmp);\n                if (tmp && tmp.type === Syntax.SpreadElement) {\n                    if (!match(']')) {\n                        throwError({}, Messages.ElementAfterSpreadElement);\n                    }\n                } else if (!(match(']') || matchKeyword('for') || matchKeyword('if'))) {\n                    expect(','); // this lexes.\n                    possiblecomprehension = false;\n                }\n            }\n        }\n\n        expect(']');\n\n        if (filter && !blocks.length) {\n            throwError({}, Messages.ComprehensionRequiresBlock);\n        }\n\n        if (blocks.length) {\n            if (elements.length !== 1) {\n                throwError({}, Messages.ComprehensionError);\n            }\n            return {\n                type:  Syntax.ComprehensionExpression,\n                filter: filter,\n                blocks: blocks,\n                body: elements[0]\n            };\n        }\n        return delegate.createArrayExpression(elements);\n    }\n\n    // 11.1.5 Object Initialiser\n\n    function parsePropertyFunction(options) {\n        var previousStrict, previousYieldAllowed, params, defaults, body;\n\n        previousStrict = strict;\n        previousYieldAllowed = state.yieldAllowed;\n        state.yieldAllowed = options.generator;\n        params = options.params || [];\n        defaults = options.defaults || [];\n\n        body = parseConciseBody();\n        if (options.name && strict && isRestrictedWord(params[0].name)) {\n            throwErrorTolerant(options.name, Messages.StrictParamName);\n        }\n        if (state.yieldAllowed && !state.yieldFound) {\n            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n        }\n        strict = previousStrict;\n        state.yieldAllowed = previousYieldAllowed;\n\n        return delegate.createFunctionExpression(null, params, defaults, body, options.rest || null, options.generator, body.type !== Syntax.BlockStatement);\n    }\n\n\n    function parsePropertyMethodFunction(options) {\n        var previousStrict, tmp, method;\n\n        previousStrict = strict;\n        strict = true;\n\n        tmp = parseParams();\n\n        if (tmp.stricted) {\n            throwErrorTolerant(tmp.stricted, tmp.message);\n        }\n\n\n        method = parsePropertyFunction({\n            params: tmp.params,\n            defaults: tmp.defaults,\n            rest: tmp.rest,\n            generator: options.generator\n        });\n\n        strict = previousStrict;\n\n        return method;\n    }\n\n\n    function parseObjectPropertyKey() {\n        var token = lex();\n\n        // Note: This function is called only from parseObjectProperty(), where\n        // EOF and Punctuator tokens are already filtered out.\n\n        if (token.type === Token.StringLiteral || token.type === Token.NumericLiteral) {\n            if (strict && token.octal) {\n                throwErrorTolerant(token, Messages.StrictOctalLiteral);\n            }\n            return delegate.createLiteral(token);\n        }\n\n        return delegate.createIdentifier(token.value);\n    }\n\n    function parseObjectProperty() {\n        var token, key, id, value, param;\n\n        token = lookahead;\n\n        if (token.type === Token.Identifier) {\n\n            id = parseObjectPropertyKey();\n\n            // Property Assignment: Getter and Setter.\n\n            if (token.value === 'get' && !(match(':') || match('('))) {\n                key = parseObjectPropertyKey();\n                expect('(');\n                expect(')');\n                return delegate.createProperty('get', key, parsePropertyFunction({ generator: false }), false, false);\n            }\n            if (token.value === 'set' && !(match(':') || match('('))) {\n                key = parseObjectPropertyKey();\n                expect('(');\n                token = lookahead;\n                param = [ parseVariableIdentifier() ];\n                expect(')');\n                return delegate.createProperty('set', key, parsePropertyFunction({ params: param, generator: false, name: token }), false, false);\n            }\n            if (match(':')) {\n                lex();\n                return delegate.createProperty('init', id, parseAssignmentExpression(), false, false);\n            }\n            if (match('(')) {\n                return delegate.createProperty('init', id, parsePropertyMethodFunction({ generator: false }), true, false);\n            }\n            return delegate.createProperty('init', id, id, false, true);\n        }\n        if (token.type === Token.EOF || token.type === Token.Punctuator) {\n            if (!match('*')) {\n                throwUnexpected(token);\n            }\n            lex();\n\n            id = parseObjectPropertyKey();\n\n            if (!match('(')) {\n                throwUnexpected(lex());\n            }\n\n            return delegate.createProperty('init', id, parsePropertyMethodFunction({ generator: true }), true, false);\n        }\n        key = parseObjectPropertyKey();\n        if (match(':')) {\n            lex();\n            return delegate.createProperty('init', key, parseAssignmentExpression(), false, false);\n        }\n        if (match('(')) {\n            return delegate.createProperty('init', key, parsePropertyMethodFunction({ generator: false }), true, false);\n        }\n        throwUnexpected(lex());\n    }\n\n    function parseObjectInitialiser() {\n        var properties = [], property, name, key, kind, map = {}, toString = String;\n\n        expect('{');\n\n        while (!match('}')) {\n            property = parseObjectProperty();\n\n            if (property.key.type === Syntax.Identifier) {\n                name = property.key.name;\n            } else {\n                name = toString(property.key.value);\n            }\n            kind = (property.kind === 'init') ? PropertyKind.Data : (property.kind === 'get') ? PropertyKind.Get : PropertyKind.Set;\n\n            key = '$' + name;\n            if (Object.prototype.hasOwnProperty.call(map, key)) {\n                if (map[key] === PropertyKind.Data) {\n                    if (strict && kind === PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.StrictDuplicateProperty);\n                    } else if (kind !== PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n                    }\n                } else {\n                    if (kind === PropertyKind.Data) {\n                        throwErrorTolerant({}, Messages.AccessorDataProperty);\n                    } else if (map[key] & kind) {\n                        throwErrorTolerant({}, Messages.AccessorGetSet);\n                    }\n                }\n                map[key] |= kind;\n            } else {\n                map[key] = kind;\n            }\n\n            properties.push(property);\n\n            if (!match('}')) {\n                expect(',');\n            }\n        }\n\n        expect('}');\n\n        return delegate.createObjectExpression(properties);\n    }\n\n    function parseTemplateElement(option) {\n        var token = scanTemplateElement(option);\n        if (strict && token.octal) {\n            throwError(token, Messages.StrictOctalLiteral);\n        }\n        return delegate.createTemplateElement({ raw: token.value.raw, cooked: token.value.cooked }, token.tail);\n    }\n\n    function parseTemplateLiteral() {\n        var quasi, quasis, expressions;\n\n        quasi = parseTemplateElement({ head: true });\n        quasis = [ quasi ];\n        expressions = [];\n\n        while (!quasi.tail) {\n            expressions.push(parseExpression());\n            quasi = parseTemplateElement({ head: false });\n            quasis.push(quasi);\n        }\n\n        return delegate.createTemplateLiteral(quasis, expressions);\n    }\n\n    // 11.1.6 The Grouping Operator\n\n    function parseGroupExpression() {\n        var expr;\n\n        expect('(');\n\n        ++state.parenthesizedCount;\n\n        expr = parseExpression();\n\n        expect(')');\n\n        return expr;\n    }\n\n\n    // 11.1 Primary Expressions\n\n    function parsePrimaryExpression() {\n        var type, token;\n\n        token = lookahead;\n        type = lookahead.type;\n\n        if (type === Token.Identifier) {\n            lex();\n            return delegate.createIdentifier(token.value);\n        }\n\n        if (type === Token.StringLiteral || type === Token.NumericLiteral) {\n            if (strict && lookahead.octal) {\n                throwErrorTolerant(lookahead, Messages.StrictOctalLiteral);\n            }\n            return delegate.createLiteral(lex());\n        }\n\n        if (type === Token.Keyword) {\n            if (matchKeyword('this')) {\n                lex();\n                return delegate.createThisExpression();\n            }\n\n            if (matchKeyword('function')) {\n                return parseFunctionExpression();\n            }\n\n            if (matchKeyword('class')) {\n                return parseClassExpression();\n            }\n\n            if (matchKeyword('super')) {\n                lex();\n                return delegate.createIdentifier('super');\n            }\n        }\n\n        if (type === Token.BooleanLiteral) {\n            token = lex();\n            token.value = (token.value === 'true');\n            return delegate.createLiteral(token);\n        }\n\n        if (type === Token.NullLiteral) {\n            token = lex();\n            token.value = null;\n            return delegate.createLiteral(token);\n        }\n\n        if (match('[')) {\n            return parseArrayInitialiser();\n        }\n\n        if (match('{')) {\n            return parseObjectInitialiser();\n        }\n\n        if (match('(')) {\n            return parseGroupExpression();\n        }\n\n        if (match('/') || match('/=')) {\n            return delegate.createLiteral(scanRegExp());\n        }\n\n        if (type === Token.Template) {\n            return parseTemplateLiteral();\n        }\n\n        return throwUnexpected(lex());\n    }\n\n    // 11.2 Left-Hand-Side Expressions\n\n    function parseArguments() {\n        var args = [], arg;\n\n        expect('(');\n\n        if (!match(')')) {\n            while (index < length) {\n                arg = parseSpreadOrAssignmentExpression();\n                args.push(arg);\n\n                if (match(')')) {\n                    break;\n                } else if (arg.type === Syntax.SpreadElement) {\n                    throwError({}, Messages.ElementAfterSpreadElement);\n                }\n\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        return args;\n    }\n\n    function parseSpreadOrAssignmentExpression() {\n        if (match('...')) {\n            lex();\n            return delegate.createSpreadElement(parseAssignmentExpression());\n        }\n        return parseAssignmentExpression();\n    }\n\n    function parseNonComputedProperty() {\n        var token = lex();\n\n        if (!isIdentifierName(token)) {\n            throwUnexpected(token);\n        }\n\n        return delegate.createIdentifier(token.value);\n    }\n\n    function parseNonComputedMember() {\n        expect('.');\n\n        return parseNonComputedProperty();\n    }\n\n    function parseComputedMember() {\n        var expr;\n\n        expect('[');\n\n        expr = parseExpression();\n\n        expect(']');\n\n        return expr;\n    }\n\n    function parseNewExpression() {\n        var callee, args;\n\n        expectKeyword('new');\n        callee = parseLeftHandSideExpression();\n        args = match('(') ? parseArguments() : [];\n\n        return delegate.createNewExpression(callee, args);\n    }\n\n    function parseLeftHandSideExpressionAllowCall() {\n        var expr, args, property;\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || match('(') || lookahead.type === Token.Template) {\n            if (match('(')) {\n                args = parseArguments();\n                expr = delegate.createCallExpression(expr, args);\n            } else if (match('[')) {\n                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n            } else if (match('.')) {\n                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n            } else {\n                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n            }\n        }\n\n        return expr;\n    }\n\n\n    function parseLeftHandSideExpression() {\n        var expr, property;\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || lookahead.type === Token.Template) {\n            if (match('[')) {\n                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n            } else if (match('.')) {\n                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n            } else {\n                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n            }\n        }\n\n        return expr;\n    }\n\n    // 11.3 Postfix Expressions\n\n    function parsePostfixExpression() {\n        var expr = parseLeftHandSideExpressionAllowCall(),\n            token = lookahead;\n\n        if (lookahead.type !== Token.Punctuator) {\n            return expr;\n        }\n\n        if ((match('++') || match('--')) && !peekLineTerminator()) {\n            // 11.3.1, 11.3.2\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant({}, Messages.StrictLHSPostfix);\n            }\n\n            if (!isLeftHandSide(expr)) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n\n            token = lex();\n            expr = delegate.createPostfixExpression(token.value, expr);\n        }\n\n        return expr;\n    }\n\n    // 11.4 Unary Operators\n\n    function parseUnaryExpression() {\n        var token, expr;\n\n        if (lookahead.type !== Token.Punctuator && lookahead.type !== Token.Keyword) {\n            return parsePostfixExpression();\n        }\n\n        if (match('++') || match('--')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            // 11.4.4, 11.4.5\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant({}, Messages.StrictLHSPrefix);\n            }\n\n            if (!isLeftHandSide(expr)) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n\n            return delegate.createUnaryExpression(token.value, expr);\n        }\n\n        if (match('+') || match('-') || match('~') || match('!')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            return delegate.createUnaryExpression(token.value, expr);\n        }\n\n        if (matchKeyword('delete') || matchKeyword('void') || matchKeyword('typeof')) {\n            token = lex();\n            expr = parseUnaryExpression();\n            expr = delegate.createUnaryExpression(token.value, expr);\n            if (strict && expr.operator === 'delete' && expr.argument.type === Syntax.Identifier) {\n                throwErrorTolerant({}, Messages.StrictDelete);\n            }\n            return expr;\n        }\n\n        return parsePostfixExpression();\n    }\n\n    function binaryPrecedence(token, allowIn) {\n        var prec = 0;\n\n        if (token.type !== Token.Punctuator && token.type !== Token.Keyword) {\n            return 0;\n        }\n\n        switch (token.value) {\n        case '||':\n            prec = 1;\n            break;\n\n        case '&&':\n            prec = 2;\n            break;\n\n        case '|':\n            prec = 3;\n            break;\n\n        case '^':\n            prec = 4;\n            break;\n\n        case '&':\n            prec = 5;\n            break;\n\n        case '==':\n        case '!=':\n        case '===':\n        case '!==':\n            prec = 6;\n            break;\n\n        case '<':\n        case '>':\n        case '<=':\n        case '>=':\n        case 'instanceof':\n            prec = 7;\n            break;\n\n        case 'in':\n            prec = allowIn ? 7 : 0;\n            break;\n\n        case '<<':\n        case '>>':\n        case '>>>':\n            prec = 8;\n            break;\n\n        case '+':\n        case '-':\n            prec = 9;\n            break;\n\n        case '*':\n        case '/':\n        case '%':\n            prec = 11;\n            break;\n\n        default:\n            break;\n        }\n\n        return prec;\n    }\n\n    // 11.5 Multiplicative Operators\n    // 11.6 Additive Operators\n    // 11.7 Bitwise Shift Operators\n    // 11.8 Relational Operators\n    // 11.9 Equality Operators\n    // 11.10 Binary Bitwise Operators\n    // 11.11 Binary Logical Operators\n\n    function parseBinaryExpression() {\n        var expr, token, prec, previousAllowIn, stack, right, operator, left, i;\n\n        previousAllowIn = state.allowIn;\n        state.allowIn = true;\n\n        expr = parseUnaryExpression();\n\n        token = lookahead;\n        prec = binaryPrecedence(token, previousAllowIn);\n        if (prec === 0) {\n            return expr;\n        }\n        token.prec = prec;\n        lex();\n\n        stack = [expr, token, parseUnaryExpression()];\n\n        while ((prec = binaryPrecedence(lookahead, previousAllowIn)) > 0) {\n\n            // Reduce: make a binary expression from the three topmost entries.\n            while ((stack.length > 2) && (prec <= stack[stack.length - 2].prec)) {\n                right = stack.pop();\n                operator = stack.pop().value;\n                left = stack.pop();\n                stack.push(delegate.createBinaryExpression(operator, left, right));\n            }\n\n            // Shift.\n            token = lex();\n            token.prec = prec;\n            stack.push(token);\n            stack.push(parseUnaryExpression());\n        }\n\n        state.allowIn = previousAllowIn;\n\n        // Final reduce to clean-up the stack.\n        i = stack.length - 1;\n        expr = stack[i];\n        while (i > 1) {\n            expr = delegate.createBinaryExpression(stack[i - 1].value, stack[i - 2], expr);\n            i -= 2;\n        }\n        return expr;\n    }\n\n\n    // 11.12 Conditional Operator\n\n    function parseConditionalExpression() {\n        var expr, previousAllowIn, consequent, alternate;\n\n        expr = parseBinaryExpression();\n\n        if (match('?')) {\n            lex();\n            previousAllowIn = state.allowIn;\n            state.allowIn = true;\n            consequent = parseAssignmentExpression();\n            state.allowIn = previousAllowIn;\n            expect(':');\n            alternate = parseAssignmentExpression();\n\n            expr = delegate.createConditionalExpression(expr, consequent, alternate);\n        }\n\n        return expr;\n    }\n\n    // 11.13 Assignment Operators\n\n    function reinterpretAsAssignmentBindingPattern(expr) {\n        var i, len, property, element;\n\n        if (expr.type === Syntax.ObjectExpression) {\n            expr.type = Syntax.ObjectPattern;\n            for (i = 0, len = expr.properties.length; i < len; i += 1) {\n                property = expr.properties[i];\n                if (property.kind !== 'init') {\n                    throwError({}, Messages.InvalidLHSInAssignment);\n                }\n                reinterpretAsAssignmentBindingPattern(property.value);\n            }\n        } else if (expr.type === Syntax.ArrayExpression) {\n            expr.type = Syntax.ArrayPattern;\n            for (i = 0, len = expr.elements.length; i < len; i += 1) {\n                element = expr.elements[i];\n                if (element) {\n                    reinterpretAsAssignmentBindingPattern(element);\n                }\n            }\n        } else if (expr.type === Syntax.Identifier) {\n            if (isRestrictedWord(expr.name)) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n        } else if (expr.type === Syntax.SpreadElement) {\n            reinterpretAsAssignmentBindingPattern(expr.argument);\n            if (expr.argument.type === Syntax.ObjectPattern) {\n                throwError({}, Messages.ObjectPatternAsSpread);\n            }\n        } else {\n            if (expr.type !== Syntax.MemberExpression && expr.type !== Syntax.CallExpression && expr.type !== Syntax.NewExpression) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n        }\n    }\n\n\n    function reinterpretAsDestructuredParameter(options, expr) {\n        var i, len, property, element;\n\n        if (expr.type === Syntax.ObjectExpression) {\n            expr.type = Syntax.ObjectPattern;\n            for (i = 0, len = expr.properties.length; i < len; i += 1) {\n                property = expr.properties[i];\n                if (property.kind !== 'init') {\n                    throwError({}, Messages.InvalidLHSInFormalsList);\n                }\n                reinterpretAsDestructuredParameter(options, property.value);\n            }\n        } else if (expr.type === Syntax.ArrayExpression) {\n            expr.type = Syntax.ArrayPattern;\n            for (i = 0, len = expr.elements.length; i < len; i += 1) {\n                element = expr.elements[i];\n                if (element) {\n                    reinterpretAsDestructuredParameter(options, element);\n                }\n            }\n        } else if (expr.type === Syntax.Identifier) {\n            validateParam(options, expr, expr.name);\n        } else {\n            if (expr.type !== Syntax.MemberExpression) {\n                throwError({}, Messages.InvalidLHSInFormalsList);\n            }\n        }\n    }\n\n    function reinterpretAsCoverFormalsList(expressions) {\n        var i, len, param, params, defaults, defaultCount, options, rest;\n\n        params = [];\n        defaults = [];\n        defaultCount = 0;\n        rest = null;\n        options = {\n            paramSet: {}\n        };\n\n        for (i = 0, len = expressions.length; i < len; i += 1) {\n            param = expressions[i];\n            if (param.type === Syntax.Identifier) {\n                params.push(param);\n                defaults.push(null);\n                validateParam(options, param, param.name);\n            } else if (param.type === Syntax.ObjectExpression || param.type === Syntax.ArrayExpression) {\n                reinterpretAsDestructuredParameter(options, param);\n                params.push(param);\n                defaults.push(null);\n            } else if (param.type === Syntax.SpreadElement) {\n                assert(i === len - 1, 'It is guaranteed that SpreadElement is last element by parseExpression');\n                reinterpretAsDestructuredParameter(options, param.argument);\n                rest = param.argument;\n            } else if (param.type === Syntax.AssignmentExpression) {\n                params.push(param.left);\n                defaults.push(param.right);\n                ++defaultCount;\n                validateParam(options, param.left, param.left.name);\n            } else {\n                return null;\n            }\n        }\n\n        if (options.message === Messages.StrictParamDupe) {\n            throwError(\n                strict ? options.stricted : options.firstRestricted,\n                options.message\n            );\n        }\n\n        if (defaultCount === 0) {\n            defaults = [];\n        }\n\n        return {\n            params: params,\n            defaults: defaults,\n            rest: rest,\n            stricted: options.stricted,\n            firstRestricted: options.firstRestricted,\n            message: options.message\n        };\n    }\n\n    function parseArrowFunctionExpression(options) {\n        var previousStrict, previousYieldAllowed, body;\n\n        expect('=>');\n\n        previousStrict = strict;\n        previousYieldAllowed = state.yieldAllowed;\n        state.yieldAllowed = false;\n        body = parseConciseBody();\n\n        if (strict && options.firstRestricted) {\n            throwError(options.firstRestricted, options.message);\n        }\n        if (strict && options.stricted) {\n            throwErrorTolerant(options.stricted, options.message);\n        }\n\n        strict = previousStrict;\n        state.yieldAllowed = previousYieldAllowed;\n\n        return delegate.createArrowFunctionExpression(options.params, options.defaults, body, options.rest, body.type !== Syntax.BlockStatement);\n    }\n\n    function parseAssignmentExpression() {\n        var expr, token, params, oldParenthesizedCount;\n\n        if (matchKeyword('yield')) {\n            return parseYieldExpression();\n        }\n\n        oldParenthesizedCount = state.parenthesizedCount;\n\n        if (match('(')) {\n            token = lookahead2();\n            if ((token.type === Token.Punctuator && token.value === ')') || token.value === '...') {\n                params = parseParams();\n                if (!match('=>')) {\n                    throwUnexpected(lex());\n                }\n                return parseArrowFunctionExpression(params);\n            }\n        }\n\n        token = lookahead;\n        expr = parseConditionalExpression();\n\n        if (match('=>') &&\n                (state.parenthesizedCount === oldParenthesizedCount ||\n                state.parenthesizedCount === (oldParenthesizedCount + 1))) {\n            if (expr.type === Syntax.Identifier) {\n                params = reinterpretAsCoverFormalsList([ expr ]);\n            } else if (expr.type === Syntax.SequenceExpression) {\n                params = reinterpretAsCoverFormalsList(expr.expressions);\n            }\n            if (params) {\n                return parseArrowFunctionExpression(params);\n            }\n        }\n\n        if (matchAssign()) {\n            // 11.13.1\n            if (strict && expr.type === Syntax.Identifier && isRestrictedWord(expr.name)) {\n                throwErrorTolerant(token, Messages.StrictLHSAssignment);\n            }\n\n            // ES.next draf 11.13 Runtime Semantics step 1\n            if (match('=') && (expr.type === Syntax.ObjectExpression || expr.type === Syntax.ArrayExpression)) {\n                reinterpretAsAssignmentBindingPattern(expr);\n            } else if (!isLeftHandSide(expr)) {\n                throwError({}, Messages.InvalidLHSInAssignment);\n            }\n\n            expr = delegate.createAssignmentExpression(lex().value, expr, parseAssignmentExpression());\n        }\n\n        return expr;\n    }\n\n    // 11.14 Comma Operator\n\n    function parseExpression() {\n        var expr, expressions, sequence, coverFormalsList, spreadFound, oldParenthesizedCount;\n\n        oldParenthesizedCount = state.parenthesizedCount;\n\n        expr = parseAssignmentExpression();\n        expressions = [ expr ];\n\n        if (match(',')) {\n            while (index < length) {\n                if (!match(',')) {\n                    break;\n                }\n\n                lex();\n                expr = parseSpreadOrAssignmentExpression();\n                expressions.push(expr);\n\n                if (expr.type === Syntax.SpreadElement) {\n                    spreadFound = true;\n                    if (!match(')')) {\n                        throwError({}, Messages.ElementAfterSpreadElement);\n                    }\n                    break;\n                }\n            }\n\n            sequence = delegate.createSequenceExpression(expressions);\n        }\n\n        if (match('=>')) {\n            // Do not allow nested parentheses on the LHS of the =>.\n            if (state.parenthesizedCount === oldParenthesizedCount || state.parenthesizedCount === (oldParenthesizedCount + 1)) {\n                expr = expr.type === Syntax.SequenceExpression ? expr.expressions : expressions;\n                coverFormalsList = reinterpretAsCoverFormalsList(expr);\n                if (coverFormalsList) {\n                    return parseArrowFunctionExpression(coverFormalsList);\n                }\n            }\n            throwUnexpected(lex());\n        }\n\n        if (spreadFound && lookahead2().value !== '=>') {\n            throwError({}, Messages.IllegalSpread);\n        }\n\n        return sequence || expr;\n    }\n\n    // 12.1 Block\n\n    function parseStatementList() {\n        var list = [],\n            statement;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            statement = parseSourceElement();\n            if (typeof statement === 'undefined') {\n                break;\n            }\n            list.push(statement);\n        }\n\n        return list;\n    }\n\n    function parseBlock() {\n        var block;\n\n        expect('{');\n\n        block = parseStatementList();\n\n        expect('}');\n\n        return delegate.createBlockStatement(block);\n    }\n\n    // 12.2 Variable Statement\n\n    function parseVariableIdentifier() {\n        var token = lex();\n\n        if (token.type !== Token.Identifier) {\n            throwUnexpected(token);\n        }\n\n        return delegate.createIdentifier(token.value);\n    }\n\n    function parseVariableDeclaration(kind) {\n        var id,\n            init = null;\n        if (match('{')) {\n            id = parseObjectInitialiser();\n            reinterpretAsAssignmentBindingPattern(id);\n        } else if (match('[')) {\n            id = parseArrayInitialiser();\n            reinterpretAsAssignmentBindingPattern(id);\n        } else {\n            id = state.allowKeyword ? parseNonComputedProperty() : parseVariableIdentifier();\n            // 12.2.1\n            if (strict && isRestrictedWord(id.name)) {\n                throwErrorTolerant({}, Messages.StrictVarName);\n            }\n        }\n\n        if (kind === 'const') {\n            if (!match('=')) {\n                throwError({}, Messages.NoUnintializedConst);\n            }\n            expect('=');\n            init = parseAssignmentExpression();\n        } else if (match('=')) {\n            lex();\n            init = parseAssignmentExpression();\n        }\n\n        return delegate.createVariableDeclarator(id, init);\n    }\n\n    function parseVariableDeclarationList(kind) {\n        var list = [];\n\n        do {\n            list.push(parseVariableDeclaration(kind));\n            if (!match(',')) {\n                break;\n            }\n            lex();\n        } while (index < length);\n\n        return list;\n    }\n\n    function parseVariableStatement() {\n        var declarations;\n\n        expectKeyword('var');\n\n        declarations = parseVariableDeclarationList();\n\n        consumeSemicolon();\n\n        return delegate.createVariableDeclaration(declarations, 'var');\n    }\n\n    // kind may be `const` or `let`\n    // Both are experimental and not in the specification yet.\n    // see http://wiki.ecmascript.org/doku.php?id=harmony:const\n    // and http://wiki.ecmascript.org/doku.php?id=harmony:let\n    function parseConstLetDeclaration(kind) {\n        var declarations;\n\n        expectKeyword(kind);\n\n        declarations = parseVariableDeclarationList(kind);\n\n        consumeSemicolon();\n\n        return delegate.createVariableDeclaration(declarations, kind);\n    }\n\n    // http://wiki.ecmascript.org/doku.php?id=harmony:modules\n\n    function parseModuleDeclaration() {\n        var id, src, body;\n\n        lex();   // 'module'\n\n        if (peekLineTerminator()) {\n            throwError({}, Messages.NewlineAfterModule);\n        }\n\n        switch (lookahead.type) {\n\n        case Token.StringLiteral:\n            id = parsePrimaryExpression();\n            body = parseModuleBlock();\n            src = null;\n            break;\n\n        case Token.Identifier:\n            id = parseVariableIdentifier();\n            body = null;\n            if (!matchContextualKeyword('from')) {\n                throwUnexpected(lex());\n            }\n            lex();\n            src = parsePrimaryExpression();\n            if (src.type !== Syntax.Literal) {\n                throwError({}, Messages.InvalidModuleSpecifier);\n            }\n            break;\n        }\n\n        consumeSemicolon();\n        return delegate.createModuleDeclaration(id, src, body);\n    }\n\n    function parseExportBatchSpecifier() {\n        expect('*');\n        return delegate.createExportBatchSpecifier();\n    }\n\n    function parseExportSpecifier() {\n        var id, name = null;\n\n        id = parseVariableIdentifier();\n        if (matchContextualKeyword('as')) {\n            lex();\n            name = parseNonComputedProperty();\n        }\n\n        return delegate.createExportSpecifier(id, name);\n    }\n\n    function parseExportDeclaration() {\n        var previousAllowKeyword, decl, def, src, specifiers;\n\n        expectKeyword('export');\n\n        if (lookahead.type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'let':\n            case 'const':\n            case 'var':\n            case 'class':\n            case 'function':\n                return delegate.createExportDeclaration(parseSourceElement(), null, null);\n            }\n        }\n\n        if (isIdentifierName(lookahead)) {\n            previousAllowKeyword = state.allowKeyword;\n            state.allowKeyword = true;\n            decl = parseVariableDeclarationList('let');\n            state.allowKeyword = previousAllowKeyword;\n            return delegate.createExportDeclaration(decl, null, null);\n        }\n\n        specifiers = [];\n        src = null;\n\n        if (match('*')) {\n            specifiers.push(parseExportBatchSpecifier());\n        } else {\n            expect('{');\n            do {\n                specifiers.push(parseExportSpecifier());\n            } while (match(',') && lex());\n            expect('}');\n        }\n\n        if (matchContextualKeyword('from')) {\n            lex();\n            src = parsePrimaryExpression();\n            if (src.type !== Syntax.Literal) {\n                throwError({}, Messages.InvalidModuleSpecifier);\n            }\n        }\n\n        consumeSemicolon();\n\n        return delegate.createExportDeclaration(null, specifiers, src);\n    }\n\n    function parseImportDeclaration() {\n        var specifiers, kind, src;\n\n        expectKeyword('import');\n        specifiers = [];\n\n        if (isIdentifierName(lookahead)) {\n            kind = 'default';\n            specifiers.push(parseImportSpecifier());\n\n            if (!matchContextualKeyword('from')) {\n                throwError({}, Messages.NoFromAfterImport);\n            }\n            lex();\n        } else if (match('{')) {\n            kind = 'named';\n            lex();\n            do {\n                specifiers.push(parseImportSpecifier());\n            } while (match(',') && lex());\n            expect('}');\n\n            if (!matchContextualKeyword('from')) {\n                throwError({}, Messages.NoFromAfterImport);\n            }\n            lex();\n        }\n\n        src = parsePrimaryExpression();\n        if (src.type !== Syntax.Literal) {\n            throwError({}, Messages.InvalidModuleSpecifier);\n        }\n\n        consumeSemicolon();\n\n        return delegate.createImportDeclaration(specifiers, kind, src);\n    }\n\n    function parseImportSpecifier() {\n        var id, name = null;\n\n        id = parseNonComputedProperty();\n        if (matchContextualKeyword('as')) {\n            lex();\n            name = parseVariableIdentifier();\n        }\n\n        return delegate.createImportSpecifier(id, name);\n    }\n\n    // 12.3 Empty Statement\n\n    function parseEmptyStatement() {\n        expect(';');\n        return delegate.createEmptyStatement();\n    }\n\n    // 12.4 Expression Statement\n\n    function parseExpressionStatement() {\n        var expr = parseExpression();\n        consumeSemicolon();\n        return delegate.createExpressionStatement(expr);\n    }\n\n    // 12.5 If statement\n\n    function parseIfStatement() {\n        var test, consequent, alternate;\n\n        expectKeyword('if');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        consequent = parseStatement();\n\n        if (matchKeyword('else')) {\n            lex();\n            alternate = parseStatement();\n        } else {\n            alternate = null;\n        }\n\n        return delegate.createIfStatement(test, consequent, alternate);\n    }\n\n    // 12.6 Iteration Statements\n\n    function parseDoWhileStatement() {\n        var body, test, oldInIteration;\n\n        expectKeyword('do');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        expectKeyword('while');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        if (match(';')) {\n            lex();\n        }\n\n        return delegate.createDoWhileStatement(body, test);\n    }\n\n    function parseWhileStatement() {\n        var test, body, oldInIteration;\n\n        expectKeyword('while');\n\n        expect('(');\n\n        test = parseExpression();\n\n        expect(')');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        body = parseStatement();\n\n        state.inIteration = oldInIteration;\n\n        return delegate.createWhileStatement(test, body);\n    }\n\n    function parseForVariableDeclaration() {\n        var token = lex(),\n            declarations = parseVariableDeclarationList();\n\n        return delegate.createVariableDeclaration(declarations, token.value);\n    }\n\n    function parseForStatement(opts) {\n        var init, test, update, left, right, body, operator, oldInIteration;\n        init = test = update = null;\n        expectKeyword('for');\n\n        // http://wiki.ecmascript.org/doku.php?id=proposals:iterators_and_generators&s=each\n        if (matchContextualKeyword('each')) {\n            throwError({}, Messages.EachNotAllowed);\n        }\n\n        expect('(');\n\n        if (match(';')) {\n            lex();\n        } else {\n            if (matchKeyword('var') || matchKeyword('let') || matchKeyword('const')) {\n                state.allowIn = false;\n                init = parseForVariableDeclaration();\n                state.allowIn = true;\n\n                if (init.declarations.length === 1) {\n                    if (matchKeyword('in') || matchContextualKeyword('of')) {\n                        operator = lookahead;\n                        if (!((operator.value === 'in' || init.kind !== 'var') && init.declarations[0].init)) {\n                            lex();\n                            left = init;\n                            right = parseExpression();\n                            init = null;\n                        }\n                    }\n                }\n            } else {\n                state.allowIn = false;\n                init = parseExpression();\n                state.allowIn = true;\n\n                if (matchContextualKeyword('of')) {\n                    operator = lex();\n                    left = init;\n                    right = parseExpression();\n                    init = null;\n                } else if (matchKeyword('in')) {\n                    // LeftHandSideExpression\n                    if (!isAssignableLeftHandSide(init)) {\n                        throwError({}, Messages.InvalidLHSInForIn);\n                    }\n                    operator = lex();\n                    left = init;\n                    right = parseExpression();\n                    init = null;\n                }\n            }\n\n            if (typeof left === 'undefined') {\n                expect(';');\n            }\n        }\n\n        if (typeof left === 'undefined') {\n\n            if (!match(';')) {\n                test = parseExpression();\n            }\n            expect(';');\n\n            if (!match(')')) {\n                update = parseExpression();\n            }\n        }\n\n        expect(')');\n\n        oldInIteration = state.inIteration;\n        state.inIteration = true;\n\n        if (!(opts !== undefined && opts.ignoreBody)) {\n            body = parseStatement();\n        }\n\n        state.inIteration = oldInIteration;\n\n        if (typeof left === 'undefined') {\n            return delegate.createForStatement(init, test, update, body);\n        }\n\n        if (operator.value === 'in') {\n            return delegate.createForInStatement(left, right, body);\n        }\n        return delegate.createForOfStatement(left, right, body);\n    }\n\n    // 12.7 The continue statement\n\n    function parseContinueStatement() {\n        var label = null, key;\n\n        expectKeyword('continue');\n\n        // Optimize the most common form: 'continue;'.\n        if (source.charCodeAt(index) === 59) {\n            lex();\n\n            if (!state.inIteration) {\n                throwError({}, Messages.IllegalContinue);\n            }\n\n            return delegate.createContinueStatement(null);\n        }\n\n        if (peekLineTerminator()) {\n            if (!state.inIteration) {\n                throwError({}, Messages.IllegalContinue);\n            }\n\n            return delegate.createContinueStatement(null);\n        }\n\n        if (lookahead.type === Token.Identifier) {\n            label = parseVariableIdentifier();\n\n            key = '$' + label.name;\n            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.UnknownLabel, label.name);\n            }\n        }\n\n        consumeSemicolon();\n\n        if (label === null && !state.inIteration) {\n            throwError({}, Messages.IllegalContinue);\n        }\n\n        return delegate.createContinueStatement(label);\n    }\n\n    // 12.8 The break statement\n\n    function parseBreakStatement() {\n        var label = null, key;\n\n        expectKeyword('break');\n\n        // Catch the very common case first: immediately a semicolon (char #59).\n        if (source.charCodeAt(index) === 59) {\n            lex();\n\n            if (!(state.inIteration || state.inSwitch)) {\n                throwError({}, Messages.IllegalBreak);\n            }\n\n            return delegate.createBreakStatement(null);\n        }\n\n        if (peekLineTerminator()) {\n            if (!(state.inIteration || state.inSwitch)) {\n                throwError({}, Messages.IllegalBreak);\n            }\n\n            return delegate.createBreakStatement(null);\n        }\n\n        if (lookahead.type === Token.Identifier) {\n            label = parseVariableIdentifier();\n\n            key = '$' + label.name;\n            if (!Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.UnknownLabel, label.name);\n            }\n        }\n\n        consumeSemicolon();\n\n        if (label === null && !(state.inIteration || state.inSwitch)) {\n            throwError({}, Messages.IllegalBreak);\n        }\n\n        return delegate.createBreakStatement(label);\n    }\n\n    // 12.9 The return statement\n\n    function parseReturnStatement() {\n        var argument = null;\n\n        expectKeyword('return');\n\n        if (!state.inFunctionBody) {\n            throwErrorTolerant({}, Messages.IllegalReturn);\n        }\n\n        // 'return' followed by a space and an identifier is very common.\n        if (source.charCodeAt(index) === 32) {\n            if (isIdentifierStart(source.charCodeAt(index + 1))) {\n                argument = parseExpression();\n                consumeSemicolon();\n                return delegate.createReturnStatement(argument);\n            }\n        }\n\n        if (peekLineTerminator()) {\n            return delegate.createReturnStatement(null);\n        }\n\n        if (!match(';')) {\n            if (!match('}') && lookahead.type !== Token.EOF) {\n                argument = parseExpression();\n            }\n        }\n\n        consumeSemicolon();\n\n        return delegate.createReturnStatement(argument);\n    }\n\n    // 12.10 The with statement\n\n    function parseWithStatement() {\n        var object, body;\n\n        if (strict) {\n            throwErrorTolerant({}, Messages.StrictModeWith);\n        }\n\n        expectKeyword('with');\n\n        expect('(');\n\n        object = parseExpression();\n\n        expect(')');\n\n        body = parseStatement();\n\n        return delegate.createWithStatement(object, body);\n    }\n\n    // 12.10 The swith statement\n\n    function parseSwitchCase() {\n        var test,\n            consequent = [],\n            sourceElement;\n\n        if (matchKeyword('default')) {\n            lex();\n            test = null;\n        } else {\n            expectKeyword('case');\n            test = parseExpression();\n        }\n        expect(':');\n\n        while (index < length) {\n            if (match('}') || matchKeyword('default') || matchKeyword('case')) {\n                break;\n            }\n            sourceElement = parseSourceElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            consequent.push(sourceElement);\n        }\n\n        return delegate.createSwitchCase(test, consequent);\n    }\n\n    function parseSwitchStatement() {\n        var discriminant, cases, clause, oldInSwitch, defaultFound;\n\n        expectKeyword('switch');\n\n        expect('(');\n\n        discriminant = parseExpression();\n\n        expect(')');\n\n        expect('{');\n\n        cases = [];\n\n        if (match('}')) {\n            lex();\n            return delegate.createSwitchStatement(discriminant, cases);\n        }\n\n        oldInSwitch = state.inSwitch;\n        state.inSwitch = true;\n        defaultFound = false;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            clause = parseSwitchCase();\n            if (clause.test === null) {\n                if (defaultFound) {\n                    throwError({}, Messages.MultipleDefaultsInSwitch);\n                }\n                defaultFound = true;\n            }\n            cases.push(clause);\n        }\n\n        state.inSwitch = oldInSwitch;\n\n        expect('}');\n\n        return delegate.createSwitchStatement(discriminant, cases);\n    }\n\n    // 12.13 The throw statement\n\n    function parseThrowStatement() {\n        var argument;\n\n        expectKeyword('throw');\n\n        if (peekLineTerminator()) {\n            throwError({}, Messages.NewlineAfterThrow);\n        }\n\n        argument = parseExpression();\n\n        consumeSemicolon();\n\n        return delegate.createThrowStatement(argument);\n    }\n\n    // 12.14 The try statement\n\n    function parseCatchClause() {\n        var param, body;\n\n        expectKeyword('catch');\n\n        expect('(');\n        if (match(')')) {\n            throwUnexpected(lookahead);\n        }\n\n        param = parseExpression();\n        // 12.14.1\n        if (strict && param.type === Syntax.Identifier && isRestrictedWord(param.name)) {\n            throwErrorTolerant({}, Messages.StrictCatchVariable);\n        }\n\n        expect(')');\n        body = parseBlock();\n        return delegate.createCatchClause(param, body);\n    }\n\n    function parseTryStatement() {\n        var block, handlers = [], finalizer = null;\n\n        expectKeyword('try');\n\n        block = parseBlock();\n\n        if (matchKeyword('catch')) {\n            handlers.push(parseCatchClause());\n        }\n\n        if (matchKeyword('finally')) {\n            lex();\n            finalizer = parseBlock();\n        }\n\n        if (handlers.length === 0 && !finalizer) {\n            throwError({}, Messages.NoCatchOrFinally);\n        }\n\n        return delegate.createTryStatement(block, [], handlers, finalizer);\n    }\n\n    // 12.15 The debugger statement\n\n    function parseDebuggerStatement() {\n        expectKeyword('debugger');\n\n        consumeSemicolon();\n\n        return delegate.createDebuggerStatement();\n    }\n\n    // 12 Statements\n\n    function parseStatement() {\n        var type = lookahead.type,\n            expr,\n            labeledBody,\n            key;\n\n        if (type === Token.EOF) {\n            throwUnexpected(lookahead);\n        }\n\n        if (type === Token.Punctuator) {\n            switch (lookahead.value) {\n            case ';':\n                return parseEmptyStatement();\n            case '{':\n                return parseBlock();\n            case '(':\n                return parseExpressionStatement();\n            default:\n                break;\n            }\n        }\n\n        if (type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'break':\n                return parseBreakStatement();\n            case 'continue':\n                return parseContinueStatement();\n            case 'debugger':\n                return parseDebuggerStatement();\n            case 'do':\n                return parseDoWhileStatement();\n            case 'for':\n                return parseForStatement();\n            case 'function':\n                return parseFunctionDeclaration();\n            case 'class':\n                return parseClassDeclaration();\n            case 'if':\n                return parseIfStatement();\n            case 'return':\n                return parseReturnStatement();\n            case 'switch':\n                return parseSwitchStatement();\n            case 'throw':\n                return parseThrowStatement();\n            case 'try':\n                return parseTryStatement();\n            case 'var':\n                return parseVariableStatement();\n            case 'while':\n                return parseWhileStatement();\n            case 'with':\n                return parseWithStatement();\n            default:\n                break;\n            }\n        }\n\n        expr = parseExpression();\n\n        // 12.12 Labelled Statements\n        if ((expr.type === Syntax.Identifier) && match(':')) {\n            lex();\n\n            key = '$' + expr.name;\n            if (Object.prototype.hasOwnProperty.call(state.labelSet, key)) {\n                throwError({}, Messages.Redeclaration, 'Label', expr.name);\n            }\n\n            state.labelSet[key] = true;\n            labeledBody = parseStatement();\n            delete state.labelSet[key];\n            return delegate.createLabeledStatement(expr, labeledBody);\n        }\n\n        consumeSemicolon();\n\n        return delegate.createExpressionStatement(expr);\n    }\n\n    // 13 Function Definition\n\n    function parseConciseBody() {\n        if (match('{')) {\n            return parseFunctionSourceElements();\n        }\n        return parseAssignmentExpression();\n    }\n\n    function parseFunctionSourceElements() {\n        var sourceElement, sourceElements = [], token, directive, firstRestricted,\n            oldLabelSet, oldInIteration, oldInSwitch, oldInFunctionBody, oldParenthesizedCount;\n\n        expect('{');\n\n        while (index < length) {\n            if (lookahead.type !== Token.StringLiteral) {\n                break;\n            }\n            token = lookahead;\n\n            sourceElement = parseSourceElement();\n            sourceElements.push(sourceElement);\n            if (sourceElement.expression.type !== Syntax.Literal) {\n                // this is not directive\n                break;\n            }\n            directive = source.slice(token.range[0] + 1, token.range[1] - 1);\n            if (directive === 'use strict') {\n                strict = true;\n                if (firstRestricted) {\n                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n                }\n            } else {\n                if (!firstRestricted && token.octal) {\n                    firstRestricted = token;\n                }\n            }\n        }\n\n        oldLabelSet = state.labelSet;\n        oldInIteration = state.inIteration;\n        oldInSwitch = state.inSwitch;\n        oldInFunctionBody = state.inFunctionBody;\n        oldParenthesizedCount = state.parenthesizedCount;\n\n        state.labelSet = {};\n        state.inIteration = false;\n        state.inSwitch = false;\n        state.inFunctionBody = true;\n        state.parenthesizedCount = 0;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            sourceElement = parseSourceElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            sourceElements.push(sourceElement);\n        }\n\n        expect('}');\n\n        state.labelSet = oldLabelSet;\n        state.inIteration = oldInIteration;\n        state.inSwitch = oldInSwitch;\n        state.inFunctionBody = oldInFunctionBody;\n        state.parenthesizedCount = oldParenthesizedCount;\n\n        return delegate.createBlockStatement(sourceElements);\n    }\n\n    function validateParam(options, param, name) {\n        var key = '$' + name;\n        if (strict) {\n            if (isRestrictedWord(name)) {\n                options.stricted = param;\n                options.message = Messages.StrictParamName;\n            }\n            if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {\n                options.stricted = param;\n                options.message = Messages.StrictParamDupe;\n            }\n        } else if (!options.firstRestricted) {\n            if (isRestrictedWord(name)) {\n                options.firstRestricted = param;\n                options.message = Messages.StrictParamName;\n            } else if (isStrictModeReservedWord(name)) {\n                options.firstRestricted = param;\n                options.message = Messages.StrictReservedWord;\n            } else if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) {\n                options.firstRestricted = param;\n                options.message = Messages.StrictParamDupe;\n            }\n        }\n        options.paramSet[key] = true;\n    }\n\n    function parseParam(options) {\n        var token, rest, param, def;\n\n        token = lookahead;\n        if (token.value === '...') {\n            token = lex();\n            rest = true;\n        }\n\n        if (match('[')) {\n            param = parseArrayInitialiser();\n            reinterpretAsDestructuredParameter(options, param);\n        } else if (match('{')) {\n            if (rest) {\n                throwError({}, Messages.ObjectPatternAsRestParameter);\n            }\n            param = parseObjectInitialiser();\n            reinterpretAsDestructuredParameter(options, param);\n        } else {\n            param = parseVariableIdentifier();\n            validateParam(options, token, token.value);\n            if (match('=')) {\n                if (rest) {\n                    throwErrorTolerant(lookahead, Messages.DefaultRestParameter);\n                }\n                lex();\n                def = parseAssignmentExpression();\n                ++options.defaultCount;\n            }\n        }\n\n        if (rest) {\n            if (!match(')')) {\n                throwError({}, Messages.ParameterAfterRestParameter);\n            }\n            options.rest = param;\n            return false;\n        }\n\n        options.params.push(param);\n        options.defaults.push(def);\n        return !match(')');\n    }\n\n    function parseParams(firstRestricted) {\n        var options;\n\n        options = {\n            params: [],\n            defaultCount: 0,\n            defaults: [],\n            rest: null,\n            firstRestricted: firstRestricted\n        };\n\n        expect('(');\n\n        if (!match(')')) {\n            options.paramSet = {};\n            while (index < length) {\n                if (!parseParam(options)) {\n                    break;\n                }\n                expect(',');\n            }\n        }\n\n        expect(')');\n\n        if (options.defaultCount === 0) {\n            options.defaults = [];\n        }\n\n        return options;\n    }\n\n    function parseFunctionDeclaration() {\n        var id, body, token, tmp, firstRestricted, message, previousStrict, previousYieldAllowed, generator;\n\n        expectKeyword('function');\n\n        generator = false;\n        if (match('*')) {\n            lex();\n            generator = true;\n        }\n\n        token = lookahead;\n\n        id = parseVariableIdentifier();\n\n        if (strict) {\n            if (isRestrictedWord(token.value)) {\n                throwErrorTolerant(token, Messages.StrictFunctionName);\n            }\n        } else {\n            if (isRestrictedWord(token.value)) {\n                firstRestricted = token;\n                message = Messages.StrictFunctionName;\n            } else if (isStrictModeReservedWord(token.value)) {\n                firstRestricted = token;\n                message = Messages.StrictReservedWord;\n            }\n        }\n\n        tmp = parseParams(firstRestricted);\n        firstRestricted = tmp.firstRestricted;\n        if (tmp.message) {\n            message = tmp.message;\n        }\n\n        previousStrict = strict;\n        previousYieldAllowed = state.yieldAllowed;\n        state.yieldAllowed = generator;\n\n        body = parseFunctionSourceElements();\n\n        if (strict && firstRestricted) {\n            throwError(firstRestricted, message);\n        }\n        if (strict && tmp.stricted) {\n            throwErrorTolerant(tmp.stricted, message);\n        }\n        if (state.yieldAllowed && !state.yieldFound) {\n            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n        }\n        strict = previousStrict;\n        state.yieldAllowed = previousYieldAllowed;\n\n        return delegate.createFunctionDeclaration(id, tmp.params, tmp.defaults, body, tmp.rest, generator, false);\n    }\n\n    function parseFunctionExpression() {\n        var token, id = null, firstRestricted, message, tmp, body, previousStrict, previousYieldAllowed, generator;\n\n        expectKeyword('function');\n\n        generator = false;\n\n        if (match('*')) {\n            lex();\n            generator = true;\n        }\n\n        if (!match('(')) {\n            token = lookahead;\n            id = parseVariableIdentifier();\n            if (strict) {\n                if (isRestrictedWord(token.value)) {\n                    throwErrorTolerant(token, Messages.StrictFunctionName);\n                }\n            } else {\n                if (isRestrictedWord(token.value)) {\n                    firstRestricted = token;\n                    message = Messages.StrictFunctionName;\n                } else if (isStrictModeReservedWord(token.value)) {\n                    firstRestricted = token;\n                    message = Messages.StrictReservedWord;\n                }\n            }\n        }\n\n        tmp = parseParams(firstRestricted);\n        firstRestricted = tmp.firstRestricted;\n        if (tmp.message) {\n            message = tmp.message;\n        }\n\n        previousStrict = strict;\n        previousYieldAllowed = state.yieldAllowed;\n        state.yieldAllowed = generator;\n\n        body = parseFunctionSourceElements();\n\n        if (strict && firstRestricted) {\n            throwError(firstRestricted, message);\n        }\n        if (strict && tmp.stricted) {\n            throwErrorTolerant(tmp.stricted, message);\n        }\n        if (state.yieldAllowed && !state.yieldFound) {\n            throwErrorTolerant({}, Messages.NoYieldInGenerator);\n        }\n        strict = previousStrict;\n        state.yieldAllowed = previousYieldAllowed;\n\n        return delegate.createFunctionExpression(id, tmp.params, tmp.defaults, body, tmp.rest, generator, false);\n    }\n\n    function parseYieldExpression() {\n        var delegateFlag, expr;\n\n        expectKeyword('yield');\n\n        if (!state.yieldAllowed) {\n            throwErrorTolerant({}, Messages.IllegalYield);\n        }\n\n        delegateFlag = false;\n        if (match('*')) {\n            lex();\n            delegateFlag = true;\n        }\n\n        expr = parseAssignmentExpression();\n        state.yieldFound = true;\n\n        return delegate.createYieldExpression(expr, delegateFlag);\n    }\n\n    // 14 Classes\n\n    function parseMethodDefinition(existingPropNames) {\n        var token, key, param, propType, isValidDuplicateProp = false;\n\n        if (lookahead.value === 'static') {\n            propType = ClassPropertyType.static;\n            lex();\n        } else {\n            propType = ClassPropertyType.prototype;\n        }\n\n        if (match('*')) {\n            lex();\n            return delegate.createMethodDefinition(\n                propType,\n                '',\n                parseObjectPropertyKey(),\n                parsePropertyMethodFunction({ generator: true })\n            );\n        }\n\n        token = lookahead;\n        key = parseObjectPropertyKey();\n\n        if (token.value === 'get' && !match('(')) {\n            key = parseObjectPropertyKey();\n\n            // It is a syntax error if any other properties have a name\n            // duplicating this one unless they are a setter\n            if (existingPropNames[propType].hasOwnProperty(key.name)) {\n                isValidDuplicateProp =\n                    // There isn't already a getter for this prop\n                    existingPropNames[propType][key.name].get === undefined\n                    // There isn't already a data prop by this name\n                    && existingPropNames[propType][key.name].data === undefined\n                    // The only existing prop by this name is a setter\n                    && existingPropNames[propType][key.name].set !== undefined;\n                if (!isValidDuplicateProp) {\n                    throwError(key, Messages.IllegalDuplicateClassProperty);\n                }\n            } else {\n                existingPropNames[propType][key.name] = {};\n            }\n            existingPropNames[propType][key.name].get = true;\n\n            expect('(');\n            expect(')');\n            return delegate.createMethodDefinition(\n                propType,\n                'get',\n                key,\n                parsePropertyFunction({ generator: false })\n            );\n        }\n        if (token.value === 'set' && !match('(')) {\n            key = parseObjectPropertyKey();\n\n            // It is a syntax error if any other properties have a name\n            // duplicating this one unless they are a getter\n            if (existingPropNames[propType].hasOwnProperty(key.name)) {\n                isValidDuplicateProp =\n                    // There isn't already a setter for this prop\n                    existingPropNames[propType][key.name].set === undefined\n                    // There isn't already a data prop by this name\n                    && existingPropNames[propType][key.name].data === undefined\n                    // The only existing prop by this name is a getter\n                    && existingPropNames[propType][key.name].get !== undefined;\n                if (!isValidDuplicateProp) {\n                    throwError(key, Messages.IllegalDuplicateClassProperty);\n                }\n            } else {\n                existingPropNames[propType][key.name] = {};\n            }\n            existingPropNames[propType][key.name].set = true;\n\n            expect('(');\n            token = lookahead;\n            param = [ parseVariableIdentifier() ];\n            expect(')');\n            return delegate.createMethodDefinition(\n                propType,\n                'set',\n                key,\n                parsePropertyFunction({ params: param, generator: false, name: token })\n            );\n        }\n\n        // It is a syntax error if any other properties have the same name as a\n        // non-getter, non-setter method\n        if (existingPropNames[propType].hasOwnProperty(key.name)) {\n            throwError(key, Messages.IllegalDuplicateClassProperty);\n        } else {\n            existingPropNames[propType][key.name] = {};\n        }\n        existingPropNames[propType][key.name].data = true;\n\n        return delegate.createMethodDefinition(\n            propType,\n            '',\n            key,\n            parsePropertyMethodFunction({ generator: false })\n        );\n    }\n\n    function parseClassElement(existingProps) {\n        if (match(';')) {\n            lex();\n            return;\n        }\n        return parseMethodDefinition(existingProps);\n    }\n\n    function parseClassBody() {\n        var classElement, classElements = [], existingProps = {};\n\n        existingProps[ClassPropertyType.static] = {};\n        existingProps[ClassPropertyType.prototype] = {};\n\n        expect('{');\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            classElement = parseClassElement(existingProps);\n\n            if (typeof classElement !== 'undefined') {\n                classElements.push(classElement);\n            }\n        }\n\n        expect('}');\n\n        return delegate.createClassBody(classElements);\n    }\n\n    function parseClassExpression() {\n        var id, previousYieldAllowed, superClass = null;\n\n        expectKeyword('class');\n\n        if (!matchKeyword('extends') && !match('{')) {\n            id = parseVariableIdentifier();\n        }\n\n        if (matchKeyword('extends')) {\n            expectKeyword('extends');\n            previousYieldAllowed = state.yieldAllowed;\n            state.yieldAllowed = false;\n            superClass = parseAssignmentExpression();\n            state.yieldAllowed = previousYieldAllowed;\n        }\n\n        return delegate.createClassExpression(id, superClass, parseClassBody());\n    }\n\n    function parseClassDeclaration() {\n        var id, previousYieldAllowed, superClass = null;\n\n        expectKeyword('class');\n\n        id = parseVariableIdentifier();\n\n        if (matchKeyword('extends')) {\n            expectKeyword('extends');\n            previousYieldAllowed = state.yieldAllowed;\n            state.yieldAllowed = false;\n            superClass = parseAssignmentExpression();\n            state.yieldAllowed = previousYieldAllowed;\n        }\n\n        return delegate.createClassDeclaration(id, superClass, parseClassBody());\n    }\n\n    // 15 Program\n\n    function matchModuleDeclaration() {\n        var id;\n        if (matchContextualKeyword('module')) {\n            id = lookahead2();\n            return id.type === Token.StringLiteral || id.type === Token.Identifier;\n        }\n        return false;\n    }\n\n    function parseSourceElement() {\n        if (lookahead.type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'const':\n            case 'let':\n                return parseConstLetDeclaration(lookahead.value);\n            case 'function':\n                return parseFunctionDeclaration();\n            case 'export':\n                return parseExportDeclaration();\n            case 'import':\n                return parseImportDeclaration();\n            default:\n                return parseStatement();\n            }\n        }\n\n        if (matchModuleDeclaration()) {\n            throwError({}, Messages.NestedModule);\n        }\n\n        if (lookahead.type !== Token.EOF) {\n            return parseStatement();\n        }\n    }\n\n    function parseProgramElement() {\n        if (lookahead.type === Token.Keyword) {\n            switch (lookahead.value) {\n            case 'export':\n                return parseExportDeclaration();\n            case 'import':\n                return parseImportDeclaration();\n            }\n        }\n\n        if (matchModuleDeclaration()) {\n            return parseModuleDeclaration();\n        }\n\n        return parseSourceElement();\n    }\n\n    function parseProgramElements() {\n        var sourceElement, sourceElements = [], token, directive, firstRestricted;\n\n        while (index < length) {\n            token = lookahead;\n            if (token.type !== Token.StringLiteral) {\n                break;\n            }\n\n            sourceElement = parseProgramElement();\n            sourceElements.push(sourceElement);\n            if (sourceElement.expression.type !== Syntax.Literal) {\n                // this is not directive\n                break;\n            }\n            directive = source.slice(token.range[0] + 1, token.range[1] - 1);\n            if (directive === 'use strict') {\n                strict = true;\n                if (firstRestricted) {\n                    throwErrorTolerant(firstRestricted, Messages.StrictOctalLiteral);\n                }\n            } else {\n                if (!firstRestricted && token.octal) {\n                    firstRestricted = token;\n                }\n            }\n        }\n\n        while (index < length) {\n            sourceElement = parseProgramElement();\n            if (typeof sourceElement === 'undefined') {\n                break;\n            }\n            sourceElements.push(sourceElement);\n        }\n        return sourceElements;\n    }\n\n    function parseModuleElement() {\n        return parseSourceElement();\n    }\n\n    function parseModuleElements() {\n        var list = [],\n            statement;\n\n        while (index < length) {\n            if (match('}')) {\n                break;\n            }\n            statement = parseModuleElement();\n            if (typeof statement === 'undefined') {\n                break;\n            }\n            list.push(statement);\n        }\n\n        return list;\n    }\n\n    function parseModuleBlock() {\n        var block;\n\n        expect('{');\n\n        block = parseModuleElements();\n\n        expect('}');\n\n        return delegate.createBlockStatement(block);\n    }\n\n    function parseProgram() {\n        var body;\n        strict = false;\n        peek();\n        body = parseProgramElements();\n        return delegate.createProgram(body);\n    }\n\n    // The following functions are needed only when the option to preserve\n    // the comments is active.\n\n    function addComment(type, value, start, end, loc) {\n        assert(typeof start === 'number', 'Comment must have valid position');\n\n        // Because the way the actual token is scanned, often the comments\n        // (if any) are skipped twice during the lexical analysis.\n        // Thus, we need to skip adding a comment if the comment array already\n        // handled it.\n        if (extra.comments.length > 0) {\n            if (extra.comments[extra.comments.length - 1].range[1] > start) {\n                return;\n            }\n        }\n\n        extra.comments.push({\n            type: type,\n            value: value,\n            range: [start, end],\n            loc: loc\n        });\n    }\n\n    function scanComment() {\n        var comment, ch, loc, start, blockComment, lineComment;\n\n        comment = '';\n        blockComment = false;\n        lineComment = false;\n\n        while (index < length) {\n            ch = source[index];\n\n            if (lineComment) {\n                ch = source[index++];\n                if (isLineTerminator(ch.charCodeAt(0))) {\n                    loc.end = {\n                        line: lineNumber,\n                        column: index - lineStart - 1\n                    };\n                    lineComment = false;\n                    addComment('Line', comment, start, index - 1, loc);\n                    if (ch === '\\r' && source[index] === '\\n') {\n                        ++index;\n                    }\n                    ++lineNumber;\n                    lineStart = index;\n                    comment = '';\n                } else if (index >= length) {\n                    lineComment = false;\n                    comment += ch;\n                    loc.end = {\n                        line: lineNumber,\n                        column: length - lineStart\n                    };\n                    addComment('Line', comment, start, length, loc);\n                } else {\n                    comment += ch;\n                }\n            } else if (blockComment) {\n                if (isLineTerminator(ch.charCodeAt(0))) {\n                    if (ch === '\\r' && source[index + 1] === '\\n') {\n                        ++index;\n                        comment += '\\r\\n';\n                    } else {\n                        comment += ch;\n                    }\n                    ++lineNumber;\n                    ++index;\n                    lineStart = index;\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    ch = source[index++];\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                    comment += ch;\n                    if (ch === '*') {\n                        ch = source[index];\n                        if (ch === '/') {\n                            comment = comment.substr(0, comment.length - 1);\n                            blockComment = false;\n                            ++index;\n                            loc.end = {\n                                line: lineNumber,\n                                column: index - lineStart\n                            };\n                            addComment('Block', comment, start, index, loc);\n                            comment = '';\n                        }\n                    }\n                }\n            } else if (ch === '/') {\n                ch = source[index + 1];\n                if (ch === '/') {\n                    loc = {\n                        start: {\n                            line: lineNumber,\n                            column: index - lineStart\n                        }\n                    };\n                    start = index;\n                    index += 2;\n                    lineComment = true;\n                    if (index >= length) {\n                        loc.end = {\n                            line: lineNumber,\n                            column: index - lineStart\n                        };\n                        lineComment = false;\n                        addComment('Line', comment, start, index, loc);\n                    }\n                } else if (ch === '*') {\n                    start = index;\n                    index += 2;\n                    blockComment = true;\n                    loc = {\n                        start: {\n                            line: lineNumber,\n                            column: index - lineStart - 2\n                        }\n                    };\n                    if (index >= length) {\n                        throwError({}, Messages.UnexpectedToken, 'ILLEGAL');\n                    }\n                } else {\n                    break;\n                }\n            } else if (isWhiteSpace(ch.charCodeAt(0))) {\n                ++index;\n            } else if (isLineTerminator(ch.charCodeAt(0))) {\n                ++index;\n                if (ch ===  '\\r' && source[index] === '\\n') {\n                    ++index;\n                }\n                ++lineNumber;\n                lineStart = index;\n            } else {\n                break;\n            }\n        }\n    }\n\n    function filterCommentLocation() {\n        var i, entry, comment, comments = [];\n\n        for (i = 0; i < extra.comments.length; ++i) {\n            entry = extra.comments[i];\n            comment = {\n                type: entry.type,\n                value: entry.value\n            };\n            if (extra.range) {\n                comment.range = entry.range;\n            }\n            if (extra.loc) {\n                comment.loc = entry.loc;\n            }\n            comments.push(comment);\n        }\n\n        extra.comments = comments;\n    }\n\n    function collectToken() {\n        var start, loc, token, range, value;\n\n        skipComment();\n        start = index;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        token = extra.advance();\n        loc.end = {\n            line: lineNumber,\n            column: index - lineStart\n        };\n\n        if (token.type !== Token.EOF) {\n            range = [token.range[0], token.range[1]];\n            value = source.slice(token.range[0], token.range[1]);\n            extra.tokens.push({\n                type: TokenName[token.type],\n                value: value,\n                range: range,\n                loc: loc\n            });\n        }\n\n        return token;\n    }\n\n    function collectRegex() {\n        var pos, loc, regex, token;\n\n        skipComment();\n\n        pos = index;\n        loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n\n        regex = extra.scanRegExp();\n        loc.end = {\n            line: lineNumber,\n            column: index - lineStart\n        };\n\n        if (!extra.tokenize) {\n            // Pop the previous token, which is likely '/' or '/='\n            if (extra.tokens.length > 0) {\n                token = extra.tokens[extra.tokens.length - 1];\n                if (token.range[0] === pos && token.type === 'Punctuator') {\n                    if (token.value === '/' || token.value === '/=') {\n                        extra.tokens.pop();\n                    }\n                }\n            }\n\n            extra.tokens.push({\n                type: 'RegularExpression',\n                value: regex.literal,\n                range: [pos, index],\n                loc: loc\n            });\n        }\n\n        return regex;\n    }\n\n    function filterTokenLocation() {\n        var i, entry, token, tokens = [];\n\n        for (i = 0; i < extra.tokens.length; ++i) {\n            entry = extra.tokens[i];\n            token = {\n                type: entry.type,\n                value: entry.value\n            };\n            if (extra.range) {\n                token.range = entry.range;\n            }\n            if (extra.loc) {\n                token.loc = entry.loc;\n            }\n            tokens.push(token);\n        }\n\n        extra.tokens = tokens;\n    }\n\n    function LocationMarker() {\n        this.range = [index, index];\n        this.loc = {\n            start: {\n                line: lineNumber,\n                column: index - lineStart\n            },\n            end: {\n                line: lineNumber,\n                column: index - lineStart\n            }\n        };\n    }\n\n    LocationMarker.prototype = {\n        constructor: LocationMarker,\n\n        end: function () {\n            this.range[1] = index;\n            this.loc.end.line = lineNumber;\n            this.loc.end.column = index - lineStart;\n        },\n\n        applyGroup: function (node) {\n            if (extra.range) {\n                node.groupRange = [this.range[0], this.range[1]];\n            }\n            if (extra.loc) {\n                node.groupLoc = {\n                    start: {\n                        line: this.loc.start.line,\n                        column: this.loc.start.column\n                    },\n                    end: {\n                        line: this.loc.end.line,\n                        column: this.loc.end.column\n                    }\n                };\n                node = delegate.postProcess(node);\n            }\n        },\n\n        apply: function (node) {\n            var nodeType = typeof node;\n            assert(nodeType === 'object',\n                'Applying location marker to an unexpected node type: ' +\n                    nodeType);\n\n            if (extra.range) {\n                node.range = [this.range[0], this.range[1]];\n            }\n            if (extra.loc) {\n                node.loc = {\n                    start: {\n                        line: this.loc.start.line,\n                        column: this.loc.start.column\n                    },\n                    end: {\n                        line: this.loc.end.line,\n                        column: this.loc.end.column\n                    }\n                };\n                node = delegate.postProcess(node);\n            }\n        }\n    };\n\n    function createLocationMarker() {\n        return new LocationMarker();\n    }\n\n    function trackGroupExpression() {\n        var marker, expr;\n\n        skipComment();\n        marker = createLocationMarker();\n        expect('(');\n\n        ++state.parenthesizedCount;\n        expr = parseExpression();\n\n        expect(')');\n        marker.end();\n        marker.applyGroup(expr);\n\n        return expr;\n    }\n\n    function trackLeftHandSideExpression() {\n        var marker, expr;\n\n        skipComment();\n        marker = createLocationMarker();\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || lookahead.type === Token.Template) {\n            if (match('[')) {\n                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n                marker.end();\n                marker.apply(expr);\n            } else if (match('.')) {\n                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n                marker.end();\n                marker.apply(expr);\n            } else {\n                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n    function trackLeftHandSideExpressionAllowCall() {\n        var marker, expr, args;\n\n        skipComment();\n        marker = createLocationMarker();\n\n        expr = matchKeyword('new') ? parseNewExpression() : parsePrimaryExpression();\n\n        while (match('.') || match('[') || match('(') || lookahead.type === Token.Template) {\n            if (match('(')) {\n                args = parseArguments();\n                expr = delegate.createCallExpression(expr, args);\n                marker.end();\n                marker.apply(expr);\n            } else if (match('[')) {\n                expr = delegate.createMemberExpression('[', expr, parseComputedMember());\n                marker.end();\n                marker.apply(expr);\n            } else if (match('.')) {\n                expr = delegate.createMemberExpression('.', expr, parseNonComputedMember());\n                marker.end();\n                marker.apply(expr);\n            } else {\n                expr = delegate.createTaggedTemplateExpression(expr, parseTemplateLiteral());\n                marker.end();\n                marker.apply(expr);\n            }\n        }\n\n        return expr;\n    }\n\n    function filterGroup(node) {\n        var n, i, entry;\n\n        n = (Object.prototype.toString.apply(node) === '[object Array]') ? [] : {};\n        for (i in node) {\n            if (node.hasOwnProperty(i) && i !== 'groupRange' && i !== 'groupLoc') {\n                entry = node[i];\n                if (entry === null || typeof entry !== 'object' || entry instanceof RegExp) {\n                    n[i] = entry;\n                } else {\n                    n[i] = filterGroup(entry);\n                }\n            }\n        }\n        return n;\n    }\n\n    function wrapTrackingFunction(range, loc) {\n\n        return function (parseFunction) {\n\n            function isBinary(node) {\n                return node.type === Syntax.LogicalExpression ||\n                    node.type === Syntax.BinaryExpression;\n            }\n\n            function visit(node) {\n                var start, end;\n\n                if (isBinary(node.left)) {\n                    visit(node.left);\n                }\n                if (isBinary(node.right)) {\n                    visit(node.right);\n                }\n\n                if (range) {\n                    if (node.left.groupRange || node.right.groupRange) {\n                        start = node.left.groupRange ? node.left.groupRange[0] : node.left.range[0];\n                        end = node.right.groupRange ? node.right.groupRange[1] : node.right.range[1];\n                        node.range = [start, end];\n                    } else if (typeof node.range === 'undefined') {\n                        start = node.left.range[0];\n                        end = node.right.range[1];\n                        node.range = [start, end];\n                    }\n                }\n                if (loc) {\n                    if (node.left.groupLoc || node.right.groupLoc) {\n                        start = node.left.groupLoc ? node.left.groupLoc.start : node.left.loc.start;\n                        end = node.right.groupLoc ? node.right.groupLoc.end : node.right.loc.end;\n                        node.loc = {\n                            start: start,\n                            end: end\n                        };\n                        node = delegate.postProcess(node);\n                    } else if (typeof node.loc === 'undefined') {\n                        node.loc = {\n                            start: node.left.loc.start,\n                            end: node.right.loc.end\n                        };\n                        node = delegate.postProcess(node);\n                    }\n                }\n            }\n\n            return function () {\n                var marker, node;\n\n                skipComment();\n\n                marker = createLocationMarker();\n                node = parseFunction.apply(null, arguments);\n                marker.end();\n\n                if (range && typeof node.range === 'undefined') {\n                    marker.apply(node);\n                }\n\n                if (loc && typeof node.loc === 'undefined') {\n                    marker.apply(node);\n                }\n\n                if (isBinary(node)) {\n                    visit(node);\n                }\n\n                return node;\n            };\n        };\n    }\n\n    function patch() {\n\n        var wrapTracking;\n\n        if (extra.comments) {\n            extra.skipComment = skipComment;\n            skipComment = scanComment;\n        }\n\n        if (extra.range || extra.loc) {\n\n            extra.parseGroupExpression = parseGroupExpression;\n            extra.parseLeftHandSideExpression = parseLeftHandSideExpression;\n            extra.parseLeftHandSideExpressionAllowCall = parseLeftHandSideExpressionAllowCall;\n            parseGroupExpression = trackGroupExpression;\n            parseLeftHandSideExpression = trackLeftHandSideExpression;\n            parseLeftHandSideExpressionAllowCall = trackLeftHandSideExpressionAllowCall;\n\n            wrapTracking = wrapTrackingFunction(extra.range, extra.loc);\n\n            extra.parseArrayInitialiser = parseArrayInitialiser;\n            extra.parseAssignmentExpression = parseAssignmentExpression;\n            extra.parseBinaryExpression = parseBinaryExpression;\n            extra.parseBlock = parseBlock;\n            extra.parseFunctionSourceElements = parseFunctionSourceElements;\n            extra.parseCatchClause = parseCatchClause;\n            extra.parseComputedMember = parseComputedMember;\n            extra.parseConditionalExpression = parseConditionalExpression;\n            extra.parseConstLetDeclaration = parseConstLetDeclaration;\n            extra.parseExportBatchSpecifier = parseExportBatchSpecifier;\n            extra.parseExportDeclaration = parseExportDeclaration;\n            extra.parseExportSpecifier = parseExportSpecifier;\n            extra.parseExpression = parseExpression;\n            extra.parseForVariableDeclaration = parseForVariableDeclaration;\n            extra.parseFunctionDeclaration = parseFunctionDeclaration;\n            extra.parseFunctionExpression = parseFunctionExpression;\n            extra.parseParams = parseParams;\n            extra.parseImportDeclaration = parseImportDeclaration;\n            extra.parseImportSpecifier = parseImportSpecifier;\n            extra.parseModuleDeclaration = parseModuleDeclaration;\n            extra.parseModuleBlock = parseModuleBlock;\n            extra.parseNewExpression = parseNewExpression;\n            extra.parseNonComputedProperty = parseNonComputedProperty;\n            extra.parseObjectInitialiser = parseObjectInitialiser;\n            extra.parseObjectProperty = parseObjectProperty;\n            extra.parseObjectPropertyKey = parseObjectPropertyKey;\n            extra.parsePostfixExpression = parsePostfixExpression;\n            extra.parsePrimaryExpression = parsePrimaryExpression;\n            extra.parseProgram = parseProgram;\n            extra.parsePropertyFunction = parsePropertyFunction;\n            extra.parseSpreadOrAssignmentExpression = parseSpreadOrAssignmentExpression;\n            extra.parseTemplateElement = parseTemplateElement;\n            extra.parseTemplateLiteral = parseTemplateLiteral;\n            extra.parseStatement = parseStatement;\n            extra.parseSwitchCase = parseSwitchCase;\n            extra.parseUnaryExpression = parseUnaryExpression;\n            extra.parseVariableDeclaration = parseVariableDeclaration;\n            extra.parseVariableIdentifier = parseVariableIdentifier;\n            extra.parseMethodDefinition = parseMethodDefinition;\n            extra.parseClassDeclaration = parseClassDeclaration;\n            extra.parseClassExpression = parseClassExpression;\n            extra.parseClassBody = parseClassBody;\n\n            parseArrayInitialiser = wrapTracking(extra.parseArrayInitialiser);\n            parseAssignmentExpression = wrapTracking(extra.parseAssignmentExpression);\n            parseBinaryExpression = wrapTracking(extra.parseBinaryExpression);\n            parseBlock = wrapTracking(extra.parseBlock);\n            parseFunctionSourceElements = wrapTracking(extra.parseFunctionSourceElements);\n            parseCatchClause = wrapTracking(extra.parseCatchClause);\n            parseComputedMember = wrapTracking(extra.parseComputedMember);\n            parseConditionalExpression = wrapTracking(extra.parseConditionalExpression);\n            parseConstLetDeclaration = wrapTracking(extra.parseConstLetDeclaration);\n            parseExportBatchSpecifier = wrapTracking(parseExportBatchSpecifier);\n            parseExportDeclaration = wrapTracking(parseExportDeclaration);\n            parseExportSpecifier = wrapTracking(parseExportSpecifier);\n            parseExpression = wrapTracking(extra.parseExpression);\n            parseForVariableDeclaration = wrapTracking(extra.parseForVariableDeclaration);\n            parseFunctionDeclaration = wrapTracking(extra.parseFunctionDeclaration);\n            parseFunctionExpression = wrapTracking(extra.parseFunctionExpression);\n            parseParams = wrapTracking(extra.parseParams);\n            parseImportDeclaration = wrapTracking(extra.parseImportDeclaration);\n            parseImportSpecifier = wrapTracking(extra.parseImportSpecifier);\n            parseModuleDeclaration = wrapTracking(extra.parseModuleDeclaration);\n            parseModuleBlock = wrapTracking(extra.parseModuleBlock);\n            parseLeftHandSideExpression = wrapTracking(parseLeftHandSideExpression);\n            parseNewExpression = wrapTracking(extra.parseNewExpression);\n            parseNonComputedProperty = wrapTracking(extra.parseNonComputedProperty);\n            parseObjectInitialiser = wrapTracking(extra.parseObjectInitialiser);\n            parseObjectProperty = wrapTracking(extra.parseObjectProperty);\n            parseObjectPropertyKey = wrapTracking(extra.parseObjectPropertyKey);\n            parsePostfixExpression = wrapTracking(extra.parsePostfixExpression);\n            parsePrimaryExpression = wrapTracking(extra.parsePrimaryExpression);\n            parseProgram = wrapTracking(extra.parseProgram);\n            parsePropertyFunction = wrapTracking(extra.parsePropertyFunction);\n            parseTemplateElement = wrapTracking(extra.parseTemplateElement);\n            parseTemplateLiteral = wrapTracking(extra.parseTemplateLiteral);\n            parseSpreadOrAssignmentExpression = wrapTracking(extra.parseSpreadOrAssignmentExpression);\n            parseStatement = wrapTracking(extra.parseStatement);\n            parseSwitchCase = wrapTracking(extra.parseSwitchCase);\n            parseUnaryExpression = wrapTracking(extra.parseUnaryExpression);\n            parseVariableDeclaration = wrapTracking(extra.parseVariableDeclaration);\n            parseVariableIdentifier = wrapTracking(extra.parseVariableIdentifier);\n            parseMethodDefinition = wrapTracking(extra.parseMethodDefinition);\n            parseClassDeclaration = wrapTracking(extra.parseClassDeclaration);\n            parseClassExpression = wrapTracking(extra.parseClassExpression);\n            parseClassBody = wrapTracking(extra.parseClassBody);\n        }\n\n        if (typeof extra.tokens !== 'undefined') {\n            extra.advance = advance;\n            extra.scanRegExp = scanRegExp;\n\n            advance = collectToken;\n            scanRegExp = collectRegex;\n        }\n    }\n\n    function unpatch() {\n        if (typeof extra.skipComment === 'function') {\n            skipComment = extra.skipComment;\n        }\n\n        if (extra.range || extra.loc) {\n            parseArrayInitialiser = extra.parseArrayInitialiser;\n            parseAssignmentExpression = extra.parseAssignmentExpression;\n            parseBinaryExpression = extra.parseBinaryExpression;\n            parseBlock = extra.parseBlock;\n            parseFunctionSourceElements = extra.parseFunctionSourceElements;\n            parseCatchClause = extra.parseCatchClause;\n            parseComputedMember = extra.parseComputedMember;\n            parseConditionalExpression = extra.parseConditionalExpression;\n            parseConstLetDeclaration = extra.parseConstLetDeclaration;\n            parseExportBatchSpecifier = extra.parseExportBatchSpecifier;\n            parseExportDeclaration = extra.parseExportDeclaration;\n            parseExportSpecifier = extra.parseExportSpecifier;\n            parseExpression = extra.parseExpression;\n            parseForVariableDeclaration = extra.parseForVariableDeclaration;\n            parseFunctionDeclaration = extra.parseFunctionDeclaration;\n            parseFunctionExpression = extra.parseFunctionExpression;\n            parseImportDeclaration = extra.parseImportDeclaration;\n            parseImportSpecifier = extra.parseImportSpecifier;\n            parseGroupExpression = extra.parseGroupExpression;\n            parseLeftHandSideExpression = extra.parseLeftHandSideExpression;\n            parseLeftHandSideExpressionAllowCall = extra.parseLeftHandSideExpressionAllowCall;\n            parseModuleDeclaration = extra.parseModuleDeclaration;\n            parseModuleBlock = extra.parseModuleBlock;\n            parseNewExpression = extra.parseNewExpression;\n            parseNonComputedProperty = extra.parseNonComputedProperty;\n            parseObjectInitialiser = extra.parseObjectInitialiser;\n            parseObjectProperty = extra.parseObjectProperty;\n            parseObjectPropertyKey = extra.parseObjectPropertyKey;\n            parsePostfixExpression = extra.parsePostfixExpression;\n            parsePrimaryExpression = extra.parsePrimaryExpression;\n            parseProgram = extra.parseProgram;\n            parsePropertyFunction = extra.parsePropertyFunction;\n            parseTemplateElement = extra.parseTemplateElement;\n            parseTemplateLiteral = extra.parseTemplateLiteral;\n            parseSpreadOrAssignmentExpression = extra.parseSpreadOrAssignmentExpression;\n            parseStatement = extra.parseStatement;\n            parseSwitchCase = extra.parseSwitchCase;\n            parseUnaryExpression = extra.parseUnaryExpression;\n            parseVariableDeclaration = extra.parseVariableDeclaration;\n            parseVariableIdentifier = extra.parseVariableIdentifier;\n            parseMethodDefinition = extra.parseMethodDefinition;\n            parseClassDeclaration = extra.parseClassDeclaration;\n            parseClassExpression = extra.parseClassExpression;\n            parseClassBody = extra.parseClassBody;\n        }\n\n        if (typeof extra.scanRegExp === 'function') {\n            advance = extra.advance;\n            scanRegExp = extra.scanRegExp;\n        }\n    }\n\n    // This is used to modify the delegate.\n\n    function extend(object, properties) {\n        var entry, result = {};\n\n        for (entry in object) {\n            if (object.hasOwnProperty(entry)) {\n                result[entry] = object[entry];\n            }\n        }\n\n        for (entry in properties) {\n            if (properties.hasOwnProperty(entry)) {\n                result[entry] = properties[entry];\n            }\n        }\n\n        return result;\n    }\n\n    function tokenize(code, options) {\n        var toString,\n            token,\n            tokens;\n\n        toString = String;\n        if (typeof code !== 'string' && !(code instanceof String)) {\n            code = toString(code);\n        }\n\n        delegate = SyntaxTreeDelegate;\n        source = code;\n        index = 0;\n        lineNumber = (source.length > 0) ? 1 : 0;\n        lineStart = 0;\n        length = source.length;\n        lookahead = null;\n        state = {\n            allowKeyword: true,\n            allowIn: true,\n            labelSet: {},\n            inFunctionBody: false,\n            inIteration: false,\n            inSwitch: false\n        };\n\n        extra = {};\n\n        // Options matching.\n        options = options || {};\n\n        // Of course we collect tokens here.\n        options.tokens = true;\n        extra.tokens = [];\n        extra.tokenize = true;\n        // The following two fields are necessary to compute the Regex tokens.\n        extra.openParenToken = -1;\n        extra.openCurlyToken = -1;\n\n        extra.range = (typeof options.range === 'boolean') && options.range;\n        extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\n        if (typeof options.comment === 'boolean' && options.comment) {\n            extra.comments = [];\n        }\n        if (typeof options.tolerant === 'boolean' && options.tolerant) {\n            extra.errors = [];\n        }\n\n        if (length > 0) {\n            if (typeof source[0] === 'undefined') {\n                // Try first to convert to a string. This is good as fast path\n                // for old IE which understands string indexing for string\n                // literals only and not for string object.\n                if (code instanceof String) {\n                    source = code.valueOf();\n                }\n            }\n        }\n\n        patch();\n\n        try {\n            peek();\n            if (lookahead.type === Token.EOF) {\n                return extra.tokens;\n            }\n\n            token = lex();\n            while (lookahead.type !== Token.EOF) {\n                try {\n                    token = lex();\n                } catch (lexError) {\n                    token = lookahead;\n                    if (extra.errors) {\n                        extra.errors.push(lexError);\n                        // We have to break on the first error\n                        // to avoid infinite loops.\n                        break;\n                    } else {\n                        throw lexError;\n                    }\n                }\n            }\n\n            filterTokenLocation();\n            tokens = extra.tokens;\n            if (typeof extra.comments !== 'undefined') {\n                filterCommentLocation();\n                tokens.comments = extra.comments;\n            }\n            if (typeof extra.errors !== 'undefined') {\n                tokens.errors = extra.errors;\n            }\n        } catch (e) {\n            throw e;\n        } finally {\n            unpatch();\n            extra = {};\n        }\n        return tokens;\n    }\n\n    function parse(code, options) {\n        var program, toString;\n\n        toString = String;\n        if (typeof code !== 'string' && !(code instanceof String)) {\n            code = toString(code);\n        }\n\n        delegate = SyntaxTreeDelegate;\n        source = code;\n        index = 0;\n        lineNumber = (source.length > 0) ? 1 : 0;\n        lineStart = 0;\n        length = source.length;\n        lookahead = null;\n        state = {\n            allowKeyword: false,\n            allowIn: true,\n            labelSet: {},\n            parenthesizedCount: 0,\n            inFunctionBody: false,\n            inIteration: false,\n            inSwitch: false,\n            yieldAllowed: false,\n            yieldFound: false\n        };\n\n        extra = {};\n        if (typeof options !== 'undefined') {\n            extra.range = (typeof options.range === 'boolean') && options.range;\n            extra.loc = (typeof options.loc === 'boolean') && options.loc;\n\n            if (extra.loc && options.source !== null && options.source !== undefined) {\n                delegate = extend(delegate, {\n                    'postProcess': function (node) {\n                        node.loc.source = toString(options.source);\n                        return node;\n                    }\n                });\n            }\n\n            if (typeof options.tokens === 'boolean' && options.tokens) {\n                extra.tokens = [];\n            }\n            if (typeof options.comment === 'boolean' && options.comment) {\n                extra.comments = [];\n            }\n            if (typeof options.tolerant === 'boolean' && options.tolerant) {\n                extra.errors = [];\n            }\n        }\n\n        if (length > 0) {\n            if (typeof source[0] === 'undefined') {\n                // Try first to convert to a string. This is good as fast path\n                // for old IE which understands string indexing for string\n                // literals only and not for string object.\n                if (code instanceof String) {\n                    source = code.valueOf();\n                }\n            }\n        }\n\n        patch();\n        try {\n            program = parseProgram();\n            if (typeof extra.comments !== 'undefined') {\n                filterCommentLocation();\n                program.comments = extra.comments;\n            }\n            if (typeof extra.tokens !== 'undefined') {\n                filterTokenLocation();\n                program.tokens = extra.tokens;\n            }\n            if (typeof extra.errors !== 'undefined') {\n                program.errors = extra.errors;\n            }\n            if (extra.range || extra.loc) {\n                program.body = filterGroup(program.body);\n            }\n        } catch (e) {\n            throw e;\n        } finally {\n            unpatch();\n            extra = {};\n        }\n\n        return program;\n    }\n\n    // Sync with *.json manifests.\n    exports.version = '1.1.0-dev-harmony';\n\n    exports.tokenize = tokenize;\n\n    exports.parse = parse;\n\n    // Deep copy.\n    exports.Syntax = (function () {\n        var name, types = {};\n\n        if (typeof Object.create === 'function') {\n            types = Object.create(null);\n        }\n\n        for (name in Syntax) {\n            if (Syntax.hasOwnProperty(name)) {\n                types[name] = Syntax[name];\n            }\n        }\n\n        if (typeof Object.freeze === 'function') {\n            Object.freeze(types);\n        }\n\n        return types;\n    }());\n\n}));\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n},{}],40:[function(require,module,exports){\n/*\n  Copyright (C) 2012-2013 Yusuke Suzuki <utatane.tea@gmail.com>\n  Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>\n\n  Redistribution and use in source and binary forms, with or without\n  modification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright\n      notice, this list of conditions and the following disclaimer in the\n      documentation and/or other materials provided with the distribution.\n\n  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n  ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\n  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n/*jslint vars:false, bitwise:true*/\n/*jshint indent:4*/\n/*global exports:true, define:true*/\n(function (root, factory) {\n    'use strict';\n\n    // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,\n    // and plain browser loading,\n    if (typeof define === 'function' && define.amd) {\n        define(['exports'], factory);\n    } else if (typeof exports !== 'undefined') {\n        factory(exports);\n    } else {\n        factory((root.estraverse = {}));\n    }\n}(this, function (exports) {\n    'use strict';\n\n    var Syntax,\n        isArray,\n        VisitorOption,\n        VisitorKeys,\n        BREAK,\n        SKIP;\n\n    Syntax = {\n        AssignmentExpression: 'AssignmentExpression',\n        ArrayExpression: 'ArrayExpression',\n        ArrayPattern: 'ArrayPattern',\n        ArrowFunctionExpression: 'ArrowFunctionExpression',\n        BlockStatement: 'BlockStatement',\n        BinaryExpression: 'BinaryExpression',\n        BreakStatement: 'BreakStatement',\n        CallExpression: 'CallExpression',\n        CatchClause: 'CatchClause',\n        ClassBody: 'ClassBody',\n        ClassDeclaration: 'ClassDeclaration',\n        ClassExpression: 'ClassExpression',\n        ConditionalExpression: 'ConditionalExpression',\n        ContinueStatement: 'ContinueStatement',\n        DebuggerStatement: 'DebuggerStatement',\n        DirectiveStatement: 'DirectiveStatement',\n        DoWhileStatement: 'DoWhileStatement',\n        EmptyStatement: 'EmptyStatement',\n        ExpressionStatement: 'ExpressionStatement',\n        ForStatement: 'ForStatement',\n        ForInStatement: 'ForInStatement',\n        FunctionDeclaration: 'FunctionDeclaration',\n        FunctionExpression: 'FunctionExpression',\n        Identifier: 'Identifier',\n        IfStatement: 'IfStatement',\n        Literal: 'Literal',\n        LabeledStatement: 'LabeledStatement',\n        LogicalExpression: 'LogicalExpression',\n        MemberExpression: 'MemberExpression',\n        MethodDefinition: 'MethodDefinition',\n        NewExpression: 'NewExpression',\n        ObjectExpression: 'ObjectExpression',\n        ObjectPattern: 'ObjectPattern',\n        Program: 'Program',\n        Property: 'Property',\n        ReturnStatement: 'ReturnStatement',\n        SequenceExpression: 'SequenceExpression',\n        SwitchStatement: 'SwitchStatement',\n        SwitchCase: 'SwitchCase',\n        ThisExpression: 'ThisExpression',\n        ThrowStatement: 'ThrowStatement',\n        TryStatement: 'TryStatement',\n        UnaryExpression: 'UnaryExpression',\n        UpdateExpression: 'UpdateExpression',\n        VariableDeclaration: 'VariableDeclaration',\n        VariableDeclarator: 'VariableDeclarator',\n        WhileStatement: 'WhileStatement',\n        WithStatement: 'WithStatement',\n        YieldExpression: 'YieldExpression'\n    };\n\n    function ignoreJSHintError() { }\n\n    isArray = Array.isArray;\n    if (!isArray) {\n        isArray = function isArray(array) {\n            return Object.prototype.toString.call(array) === '[object Array]';\n        };\n    }\n\n    function deepCopy(obj) {\n        var ret = {}, key, val;\n        for (key in obj) {\n            if (obj.hasOwnProperty(key)) {\n                val = obj[key];\n                if (typeof val === 'object' && val !== null) {\n                    ret[key] = deepCopy(val);\n                } else {\n                    ret[key] = val;\n                }\n            }\n        }\n        return ret;\n    }\n\n    function shallowCopy(obj) {\n        var ret = {}, key;\n        for (key in obj) {\n            if (obj.hasOwnProperty(key)) {\n                ret[key] = obj[key];\n            }\n        }\n        return ret;\n    }\n    ignoreJSHintError(shallowCopy);\n\n    // based on LLVM libc++ upper_bound / lower_bound\n    // MIT License\n\n    function upperBound(array, func) {\n        var diff, len, i, current;\n\n        len = array.length;\n        i = 0;\n\n        while (len) {\n            diff = len >>> 1;\n            current = i + diff;\n            if (func(array[current])) {\n                len = diff;\n            } else {\n                i = current + 1;\n                len -= diff + 1;\n            }\n        }\n        return i;\n    }\n\n    function lowerBound(array, func) {\n        var diff, len, i, current;\n\n        len = array.length;\n        i = 0;\n\n        while (len) {\n            diff = len >>> 1;\n            current = i + diff;\n            if (func(array[current])) {\n                i = current + 1;\n                len -= diff + 1;\n            } else {\n                len = diff;\n            }\n        }\n        return i;\n    }\n    ignoreJSHintError(lowerBound);\n\n    VisitorKeys = {\n        AssignmentExpression: ['left', 'right'],\n        ArrayExpression: ['elements'],\n        ArrayPattern: ['elements'],\n        ArrowFunctionExpression: ['params', 'defaults', 'rest', 'body'],\n        BlockStatement: ['body'],\n        BinaryExpression: ['left', 'right'],\n        BreakStatement: ['label'],\n        CallExpression: ['callee', 'arguments'],\n        CatchClause: ['param', 'body'],\n        ClassBody: ['body'],\n        ClassDeclaration: ['id', 'body', 'superClass'],\n        ClassExpression: ['id', 'body', 'superClass'],\n        ConditionalExpression: ['test', 'consequent', 'alternate'],\n        ContinueStatement: ['label'],\n        DebuggerStatement: [],\n        DirectiveStatement: [],\n        DoWhileStatement: ['body', 'test'],\n        EmptyStatement: [],\n        ExpressionStatement: ['expression'],\n        ForStatement: ['init', 'test', 'update', 'body'],\n        ForInStatement: ['left', 'right', 'body'],\n        FunctionDeclaration: ['id', 'params', 'defaults', 'rest', 'body'],\n        FunctionExpression: ['id', 'params', 'defaults', 'rest', 'body'],\n        Identifier: [],\n        IfStatement: ['test', 'consequent', 'alternate'],\n        Literal: [],\n        LabeledStatement: ['label', 'body'],\n        LogicalExpression: ['left', 'right'],\n        MemberExpression: ['object', 'property'],\n        MethodDefinition: ['key', 'value'],\n        NewExpression: ['callee', 'arguments'],\n        ObjectExpression: ['properties'],\n        ObjectPattern: ['properties'],\n        Program: ['body'],\n        Property: ['key', 'value'],\n        ReturnStatement: ['argument'],\n        SequenceExpression: ['expressions'],\n        SwitchStatement: ['discriminant', 'cases'],\n        SwitchCase: ['test', 'consequent'],\n        ThisExpression: [],\n        ThrowStatement: ['argument'],\n        TryStatement: ['block', 'handlers', 'handler', 'guardedHandlers', 'finalizer'],\n        UnaryExpression: ['argument'],\n        UpdateExpression: ['argument'],\n        VariableDeclaration: ['declarations'],\n        VariableDeclarator: ['id', 'init'],\n        WhileStatement: ['test', 'body'],\n        WithStatement: ['object', 'body'],\n        YieldExpression: ['argument']\n    };\n\n    // unique id\n    BREAK = {};\n    SKIP = {};\n\n    VisitorOption = {\n        Break: BREAK,\n        Skip: SKIP\n    };\n\n    function Reference(parent, key) {\n        this.parent = parent;\n        this.key = key;\n    }\n\n    Reference.prototype.replace = function replace(node) {\n        this.parent[this.key] = node;\n    };\n\n    function Element(node, path, wrap, ref) {\n        this.node = node;\n        this.path = path;\n        this.wrap = wrap;\n        this.ref = ref;\n    }\n\n    function Controller() { }\n\n    // API:\n    // return property path array from root to current node\n    Controller.prototype.path = function path() {\n        var i, iz, j, jz, result, element;\n\n        function addToPath(result, path) {\n            if (isArray(path)) {\n                for (j = 0, jz = path.length; j < jz; ++j) {\n                    result.push(path[j]);\n                }\n            } else {\n                result.push(path);\n            }\n        }\n\n        // root node\n        if (!this.__current.path) {\n            return null;\n        }\n\n        // first node is sentinel, second node is root element\n        result = [];\n        for (i = 2, iz = this.__leavelist.length; i < iz; ++i) {\n            element = this.__leavelist[i];\n            addToPath(result, element.path);\n        }\n        addToPath(result, this.__current.path);\n        return result;\n    };\n\n    // API:\n    // return array of parent elements\n    Controller.prototype.parents = function parents() {\n        var i, iz, result;\n\n        // first node is sentinel\n        result = [];\n        for (i = 1, iz = this.__leavelist.length; i < iz; ++i) {\n            result.push(this.__leavelist[i].node);\n        }\n\n        return result;\n    };\n\n    // API:\n    // return current node\n    Controller.prototype.current = function current() {\n        return this.__current.node;\n    };\n\n    Controller.prototype.__execute = function __execute(callback, element) {\n        var previous, result;\n\n        result = undefined;\n\n        previous  = this.__current;\n        this.__current = element;\n        this.__state = null;\n        if (callback) {\n            result = callback.call(this, element.node, this.__leavelist[this.__leavelist.length - 1].node);\n        }\n        this.__current = previous;\n\n        return result;\n    };\n\n    // API:\n    // notify control skip / break\n    Controller.prototype.notify = function notify(flag) {\n        this.__state = flag;\n    };\n\n    // API:\n    // skip child nodes of current node\n    Controller.prototype.skip = function () {\n        this.notify(SKIP);\n    };\n\n    // API:\n    // break traversals\n    Controller.prototype['break'] = function () {\n        this.notify(BREAK);\n    };\n\n    Controller.prototype.__initialize = function(root, visitor) {\n        this.visitor = visitor;\n        this.root = root;\n        this.__worklist = [];\n        this.__leavelist = [];\n        this.__current = null;\n        this.__state = null;\n    };\n\n    Controller.prototype.traverse = function traverse(root, visitor) {\n        var worklist,\n            leavelist,\n            element,\n            node,\n            nodeType,\n            ret,\n            key,\n            current,\n            current2,\n            candidates,\n            candidate,\n            sentinel;\n\n        this.__initialize(root, visitor);\n\n        sentinel = {};\n\n        // reference\n        worklist = this.__worklist;\n        leavelist = this.__leavelist;\n\n        // initialize\n        worklist.push(new Element(root, null, null, null));\n        leavelist.push(new Element(null, null, null, null));\n\n        while (worklist.length) {\n            element = worklist.pop();\n\n            if (element === sentinel) {\n                element = leavelist.pop();\n\n                ret = this.__execute(visitor.leave, element);\n\n                if (this.__state === BREAK || ret === BREAK) {\n                    return;\n                }\n                continue;\n            }\n\n            if (element.node) {\n\n                ret = this.__execute(visitor.enter, element);\n\n                if (this.__state === BREAK || ret === BREAK) {\n                    return;\n                }\n\n                worklist.push(sentinel);\n                leavelist.push(element);\n\n                if (this.__state === SKIP || ret === SKIP) {\n                    continue;\n                }\n\n                node = element.node;\n                nodeType = element.wrap || node.type;\n                candidates = VisitorKeys[nodeType];\n\n                current = candidates.length;\n                while ((current -= 1) >= 0) {\n                    key = candidates[current];\n                    candidate = node[key];\n                    if (!candidate) {\n                        continue;\n                    }\n\n                    if (!isArray(candidate)) {\n                        worklist.push(new Element(candidate, key, null, null));\n                        continue;\n                    }\n\n                    current2 = candidate.length;\n                    while ((current2 -= 1) >= 0) {\n                        if (!candidate[current2]) {\n                            continue;\n                        }\n                        if ((nodeType === Syntax.ObjectExpression || nodeType === Syntax.ObjectPattern) && 'properties' === candidates[current]) {\n                            element = new Element(candidate[current2], [key, current2], 'Property', null);\n                        } else {\n                            element = new Element(candidate[current2], [key, current2], null, null);\n                        }\n                        worklist.push(element);\n                    }\n                }\n            }\n        }\n    };\n\n    Controller.prototype.replace = function replace(root, visitor) {\n        var worklist,\n            leavelist,\n            node,\n            nodeType,\n            target,\n            element,\n            current,\n            current2,\n            candidates,\n            candidate,\n            sentinel,\n            outer,\n            key;\n\n        this.__initialize(root, visitor);\n\n        sentinel = {};\n\n        // reference\n        worklist = this.__worklist;\n        leavelist = this.__leavelist;\n\n        // initialize\n        outer = {\n            root: root\n        };\n        element = new Element(root, null, null, new Reference(outer, 'root'));\n        worklist.push(element);\n        leavelist.push(element);\n\n        while (worklist.length) {\n            element = worklist.pop();\n\n            if (element === sentinel) {\n                element = leavelist.pop();\n\n                target = this.__execute(visitor.leave, element);\n\n                // node may be replaced with null,\n                // so distinguish between undefined and null in this place\n                if (target !== undefined && target !== BREAK && target !== SKIP) {\n                    // replace\n                    element.ref.replace(target);\n                }\n\n                if (this.__state === BREAK || target === BREAK) {\n                    return outer.root;\n                }\n                continue;\n            }\n\n            target = this.__execute(visitor.enter, element);\n\n            // node may be replaced with null,\n            // so distinguish between undefined and null in this place\n            if (target !== undefined && target !== BREAK && target !== SKIP) {\n                // replace\n                element.ref.replace(target);\n                element.node = target;\n            }\n\n            if (this.__state === BREAK || target === BREAK) {\n                return outer.root;\n            }\n\n            // node may be null\n            node = element.node;\n            if (!node) {\n                continue;\n            }\n\n            worklist.push(sentinel);\n            leavelist.push(element);\n\n            if (this.__state === SKIP || target === SKIP) {\n                continue;\n            }\n\n            nodeType = element.wrap || node.type;\n            candidates = VisitorKeys[nodeType];\n\n            current = candidates.length;\n            while ((current -= 1) >= 0) {\n                key = candidates[current];\n                candidate = node[key];\n                if (!candidate) {\n                    continue;\n                }\n\n                if (!isArray(candidate)) {\n                    worklist.push(new Element(candidate, key, null, new Reference(node, key)));\n                    continue;\n                }\n\n                current2 = candidate.length;\n                while ((current2 -= 1) >= 0) {\n                    if (!candidate[current2]) {\n                        continue;\n                    }\n                    if (nodeType === Syntax.ObjectExpression && 'properties' === candidates[current]) {\n                        element = new Element(candidate[current2], [key, current2], 'Property', new Reference(candidate, current2));\n                    } else {\n                        element = new Element(candidate[current2], [key, current2], null, new Reference(candidate, current2));\n                    }\n                    worklist.push(element);\n                }\n            }\n        }\n\n        return outer.root;\n    };\n\n    function traverse(root, visitor) {\n        var controller = new Controller();\n        return controller.traverse(root, visitor);\n    }\n\n    function replace(root, visitor) {\n        var controller = new Controller();\n        return controller.replace(root, visitor);\n    }\n\n    function extendCommentRange(comment, tokens) {\n        var target;\n\n        target = upperBound(tokens, function search(token) {\n            return token.range[0] > comment.range[0];\n        });\n\n        comment.extendedRange = [comment.range[0], comment.range[1]];\n\n        if (target !== tokens.length) {\n            comment.extendedRange[1] = tokens[target].range[0];\n        }\n\n        target -= 1;\n        if (target >= 0) {\n            comment.extendedRange[0] = tokens[target].range[1];\n        }\n\n        return comment;\n    }\n\n    function attachComments(tree, providedComments, tokens) {\n        // At first, we should calculate extended comment ranges.\n        var comments = [], comment, len, i, cursor;\n\n        if (!tree.range) {\n            throw new Error('attachComments needs range information');\n        }\n\n        // tokens array is empty, we attach comments to tree as 'leadingComments'\n        if (!tokens.length) {\n            if (providedComments.length) {\n                for (i = 0, len = providedComments.length; i < len; i += 1) {\n                    comment = deepCopy(providedComments[i]);\n                    comment.extendedRange = [0, tree.range[0]];\n                    comments.push(comment);\n                }\n                tree.leadingComments = comments;\n            }\n            return tree;\n        }\n\n        for (i = 0, len = providedComments.length; i < len; i += 1) {\n            comments.push(extendCommentRange(deepCopy(providedComments[i]), tokens));\n        }\n\n        // This is based on John Freeman's implementation.\n        cursor = 0;\n        traverse(tree, {\n            enter: function (node) {\n                var comment;\n\n                while (cursor < comments.length) {\n                    comment = comments[cursor];\n                    if (comment.extendedRange[1] > node.range[0]) {\n                        break;\n                    }\n\n                    if (comment.extendedRange[1] === node.range[0]) {\n                        if (!node.leadingComments) {\n                            node.leadingComments = [];\n                        }\n                        node.leadingComments.push(comment);\n                        comments.splice(cursor, 1);\n                    } else {\n                        cursor += 1;\n                    }\n                }\n\n                // already out of owned node\n                if (cursor === comments.length) {\n                    return VisitorOption.Break;\n                }\n\n                if (comments[cursor].extendedRange[0] > node.range[1]) {\n                    return VisitorOption.Skip;\n                }\n            }\n        });\n\n        cursor = 0;\n        traverse(tree, {\n            leave: function (node) {\n                var comment;\n\n                while (cursor < comments.length) {\n                    comment = comments[cursor];\n                    if (node.range[1] < comment.extendedRange[0]) {\n                        break;\n                    }\n\n                    if (node.range[1] === comment.extendedRange[0]) {\n                        if (!node.trailingComments) {\n                            node.trailingComments = [];\n                        }\n                        node.trailingComments.push(comment);\n                        comments.splice(cursor, 1);\n                    } else {\n                        cursor += 1;\n                    }\n                }\n\n                // already out of owned node\n                if (cursor === comments.length) {\n                    return VisitorOption.Break;\n                }\n\n                if (comments[cursor].extendedRange[0] > node.range[1]) {\n                    return VisitorOption.Skip;\n                }\n            }\n        });\n\n        return tree;\n    }\n\n    exports.version = '1.3.3-dev';\n    exports.Syntax = Syntax;\n    exports.traverse = traverse;\n    exports.replace = replace;\n    exports.attachComments = attachComments;\n    exports.VisitorKeys = VisitorKeys;\n    exports.VisitorOption = VisitorOption;\n    exports.Controller = Controller;\n}));\n/* vim: set sw=4 ts=4 et tw=80 : */\n\n},{}],41:[function(require,module,exports){\n\"use strict\";\n\nvar defProp = Object.defineProperty || function(obj, name, desc) {\n    // Normal property assignment is the best we can do if\n    // Object.defineProperty is not available.\n    obj[name] = desc.value;\n};\n\n// For functions that will be invoked using .call or .apply, we need to\n// define those methods on the function objects themselves, rather than\n// inheriting them from Function.prototype, so that a malicious or clumsy\n// third party cannot interfere with the functionality of this module by\n// redefining Function.prototype.call or .apply.\nfunction makeSafeToCall(fun) {\n    defProp(fun, \"call\", { value: fun.call });\n    defProp(fun, \"apply\", { value: fun.apply });\n    return fun;\n}\n\nvar hasOwn = makeSafeToCall(Object.prototype.hasOwnProperty);\nvar numToStr = makeSafeToCall(Number.prototype.toString);\nvar strSlice = makeSafeToCall(String.prototype.slice);\n\nvar cloner = function(){};\nvar create = Object.create || function(prototype, properties) {\n    cloner.prototype = prototype || null;\n    var obj = new cloner;\n\n    // The properties parameter is unused by this module, but I want this\n    // shim to be as complete as possible.\n    if (properties)\n        for (var name in properties)\n            if (hasOwn.call(properties, name))\n                defProp(obj, name, properties[name]);\n\n    return obj;\n};\n\nvar rand = Math.random;\nvar uniqueKeys = create(null);\n\nfunction makeUniqueKey() {\n    // Collisions are highly unlikely, but this module is in the business\n    // of making guarantees rather than safe bets.\n    do var uniqueKey = strSlice.call(numToStr.call(rand(), 36), 2);\n    while (hasOwn.call(uniqueKeys, uniqueKey));\n    return uniqueKeys[uniqueKey] = uniqueKey;\n}\n\n// External users might find this function useful, but it is not necessary\n// for the typical use of this module.\ndefProp(exports, \"makeUniqueKey\", {\n    value: makeUniqueKey\n});\n\nfunction wrap(obj, value) {\n    var old = obj[value.name];\n    defProp(obj, value.name, { value: value });\n    return old;\n}\n\n// Object.getOwnPropertyNames is the only way to enumerate non-enumerable\n// properties, so if we wrap it to ignore our secret keys, there should be\n// no way (except guessing) to access those properties.\nvar realGetOPNs = wrap(Object, function getOwnPropertyNames(object) {\n    for (var names = realGetOPNs(object),\n             src = 0,\n             dst = 0,\n             len = names.length;\n         src < len;\n         ++src) {\n        if (!hasOwn.call(uniqueKeys, names[src])) {\n            if (src > dst) {\n                names[dst] = names[src];\n            }\n            ++dst;\n        }\n    }\n    names.length = dst;\n    return names;\n});\n\nfunction defaultCreatorFn(object) {\n    return create(null);\n}\n\nfunction makeAccessor(secretCreatorFn) {\n    var brand = makeUniqueKey();\n    var passkey = create(null);\n\n    secretCreatorFn = secretCreatorFn || defaultCreatorFn;\n\n    function register(object) {\n        var secret; // Created lazily.\n        defProp(object, brand, {\n            value: function(key, forget) {\n                // Only code that has access to the passkey can retrieve\n                // (or forget) the secret object.\n                if (key === passkey) {\n                    return forget\n                        ? secret = null\n                        : secret || (secret = secretCreatorFn(object));\n                }\n            }\n        });\n    }\n\n    function accessor(object) {\n        if (!hasOwn.call(object, brand))\n            register(object);\n        return object[brand](passkey);\n    }\n\n    accessor.forget = function(object) {\n        if (hasOwn.call(object, brand))\n            object[brand](passkey, true);\n    };\n\n    return accessor;\n}\n\ndefProp(exports, \"makeAccessor\", {\n    value: makeAccessor\n});\n\n},{}],42:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar linesModule = require(\"./lines\");\nvar fromString = linesModule.fromString;\nvar Lines = linesModule.Lines;\nvar concat = linesModule.concat;\nvar Visitor = require(\"./visitor\").Visitor;\nvar comparePos = require(\"./util\").comparePos;\n\nexports.add = function(ast, lines) {\n    var comments = ast.comments;\n    assert.ok(comments instanceof Array);\n    delete ast.comments;\n\n    assert.ok(lines instanceof Lines);\n\n    var pt = new PosTracker,\n        len = comments.length,\n        comment,\n        key,\n        loc, locs = pt.locs,\n        pair,\n        sorted = [];\n\n    pt.visit(ast);\n\n    for (var i = 0; i < len; ++i) {\n        comment = comments[i];\n        Object.defineProperty(comment.loc, \"lines\", { value: lines });\n        pt.getEntry(comment, \"end\").comment = comment;\n    }\n\n    for (key in locs) {\n        loc = locs[key];\n        pair = key.split(\",\");\n\n        sorted.push({\n            line: +pair[0],\n            column: +pair[1],\n            startNode: loc.startNode,\n            endNode: loc.endNode,\n            comment: loc.comment\n        });\n    }\n\n    sorted.sort(comparePos);\n\n    var pendingComments = [];\n    var previousNode;\n\n    function addComment(node, comment) {\n        if (node) {\n            var comments = node.comments || (node.comments = []);\n            comments.push(comment);\n        }\n    }\n\n    function dumpTrailing() {\n        pendingComments.forEach(function(comment) {\n            addComment(previousNode, comment);\n            comment.trailing = true;\n        });\n\n        pendingComments.length = 0;\n    }\n\n    sorted.forEach(function(entry) {\n        if (entry.endNode) {\n            // If we're ending a node with comments still pending, then we\n            // need to attach those comments to the previous node before\n            // updating the previous node.\n            dumpTrailing();\n            previousNode = entry.endNode;\n        }\n\n        if (entry.comment) {\n            pendingComments.push(entry.comment);\n        }\n\n        if (entry.startNode) {\n            var node = entry.startNode;\n            var nodeStartColumn = node.loc.start.column;\n            var didAddLeadingComment = false;\n            var gapEndLoc = node.loc.start;\n\n            // Iterate backwards through pendingComments, examining the\n            // gaps between them. In order to earn the .possiblyLeading\n            // status, a comment must be separated from entry.startNode by\n            // an unbroken series of whitespace-only gaps.\n            for (var i = pendingComments.length - 1; i >= 0; --i) {\n                var comment = pendingComments[i];\n                var gap = lines.slice(comment.loc.end, gapEndLoc);\n                gapEndLoc = comment.loc.start;\n\n                if (gap.isOnlyWhitespace()) {\n                    comment.possiblyLeading = true;\n                } else {\n                    break;\n                }\n            }\n\n            pendingComments.forEach(function(comment) {\n                if (!comment.possiblyLeading) {\n                    // If comment.possiblyLeading was not set to true\n                    // above, the comment must be a trailing comment.\n                    comment.trailing = true;\n                    addComment(previousNode, comment);\n\n                } else if (didAddLeadingComment) {\n                    // If we previously added a leading comment to this\n                    // node, then any subsequent pending comments must\n                    // also be leading comments, even if they are indented\n                    // more deeply than the node itself.\n                    assert.strictEqual(comment.possiblyLeading, true);\n                    comment.trailing = false;\n                    addComment(node, comment);\n\n                } else if (comment.type === \"Line\" &&\n                           comment.loc.start.column > nodeStartColumn) {\n                    // If the comment is a //-style comment and indented\n                    // more deeply than the node itself, and we have not\n                    // encountered any other leading comments, treat this\n                    // comment as a trailing comment and add it to the\n                    // previous node.\n                    comment.trailing = true;\n                    addComment(previousNode, comment);\n\n                } else {\n                    // Here we have the first leading comment for this node.\n                    comment.trailing = false;\n                    addComment(node, comment);\n                    didAddLeadingComment = true;\n                }\n            });\n\n            pendingComments.length = 0;\n\n            // Note: the previous node is the node that started OR ended\n            // most recently.\n            previousNode = entry.startNode;\n        }\n    });\n\n    // Provided we have a previous node to add them to, dump any\n    // still-pending comments into the last node we came across.\n    dumpTrailing();\n};\n\nvar PosTracker = Visitor.extend({\n    init: function() {\n        this.locs = {};\n    },\n\n    getEntry: function(node, which) {\n        var locs = this.locs,\n            key = getKey(node, which);\n        return key && (locs[key] || (locs[key] = {}));\n    },\n\n    onStart: function(node) {\n        var entry = this.getEntry(node, \"start\");\n        if (entry && !entry.startNode)\n            entry.startNode = node;\n    },\n\n    onEnd: function(node) {\n        var entry = this.getEntry(node, \"end\");\n        if (entry)\n            entry.endNode = node;\n    },\n\n    genericVisit: function(node) {\n        this.onStart(node);\n        this._super(node);\n        this.onEnd(node);\n    }\n});\n\nfunction getKey(node, which) {\n    var loc = node && node.loc,\n        pos = loc && loc[which];\n    return pos && (pos.line + \",\" + pos.column);\n}\n\nfunction printLeadingComment(comment) {\n    var orig = comment.original;\n    var loc = orig && orig.loc;\n    var lines = loc && loc.lines;\n    var parts = [];\n\n    if (comment.type === \"Block\") {\n        parts.push(\"/*\", comment.value, \"*/\");\n    } else if (comment.type === \"Line\") {\n        parts.push(\"//\", comment.value);\n    } else assert.fail(comment.type);\n\n    if (comment.trailing) {\n        // When we print trailing comments as leading comments, we don't\n        // want to bring any trailing spaces along.\n        parts.push(\"\\n\");\n\n    } else if (lines instanceof Lines) {\n        var trailingSpace = lines.slice(\n            loc.end,\n            lines.skipSpaces(loc.end)\n        );\n\n        if (trailingSpace.length === 1) {\n            // If the trailing space contains no newlines, then we want to\n            // preserve it exactly as we found it.\n            parts.push(trailingSpace);\n        } else {\n            // If the trailing space contains newlines, then replace it\n            // with just that many newlines, with all other spaces removed.\n            parts.push(new Array(trailingSpace.length).join(\"\\n\"));\n        }\n\n    } else {\n        parts.push(\"\\n\");\n    }\n\n    return concat(parts).stripMargin(loc ? loc.start.column : 0);\n}\n\nfunction printTrailingComment(comment) {\n    var orig = comment.original;\n    var loc = orig && orig.loc;\n    var lines = loc && loc.lines;\n    var parts = [];\n\n    if (lines instanceof Lines) {\n        var fromPos = lines.skipSpaces(loc.start, true) || lines.firstPos();\n        var leadingSpace = lines.slice(fromPos, loc.start);\n\n        if (leadingSpace.length === 1) {\n            // If the leading space contains no newlines, then we want to\n            // preserve it exactly as we found it.\n            parts.push(leadingSpace);\n        } else {\n            // If the leading space contains newlines, then replace it\n            // with just that many newlines, sans all other spaces.\n            parts.push(new Array(leadingSpace.length).join(\"\\n\"));\n        }\n    }\n\n    if (comment.type === \"Block\") {\n        parts.push(\"/*\", comment.value, \"*/\");\n    } else if (comment.type === \"Line\") {\n        parts.push(\"//\", comment.value, \"\\n\");\n    } else assert.fail(comment.type);\n\n    return concat(parts).stripMargin(\n        loc ? loc.start.column : 0,\n        true // Skip the first line, in case there were leading spaces.\n    );\n}\n\nexports.printComments = function(comments, innerLines) {\n    if (innerLines) {\n        assert.ok(innerLines instanceof Lines);\n    } else {\n        innerLines = fromString(\"\");\n    }\n\n    var count = comments ? comments.length : 0;\n    if (count === 0) {\n        return innerLines;\n    }\n\n    var parts = [];\n    var leading = [];\n    var trailing = [];\n\n    comments.forEach(function(comment) {\n        // For now, only /*comments*/ can be trailing comments.\n        if (comment.type === \"Block\" &&\n            comment.trailing) {\n            trailing.push(comment);\n        } else {\n            leading.push(comment);\n        }\n    });\n\n    leading.forEach(function(comment) {\n        parts.push(printLeadingComment(comment));\n    });\n\n    parts.push(innerLines);\n\n    trailing.forEach(function(comment) {\n        parts.push(printTrailingComment(comment));\n    });\n\n    return concat(parts);\n};\n\n},{\"./lines\":43,\"./util\":50,\"./visitor\":51,\"assert\":65}],43:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar sourceMap = require(\"source-map\");\nvar normalizeOptions = require(\"./options\").normalize;\nvar getSecret = require(\"private\").makeAccessor();\nvar types = require(\"./types\");\nvar isString = types.builtInTypes.string;\nvar comparePos = require(\"./util\").comparePos;\nvar Mapping = require(\"./mapping\");\n\n// Goals:\n// 1. Minimize new string creation.\n// 2. Keep (de)identation O(lines) time.\n// 3. Permit negative indentations.\n// 4. Enforce immutability.\n// 5. No newline characters.\n\nfunction Lines(infos, sourceFileName) {\n    var self = this;\n\n    assert.ok(self instanceof Lines);\n    assert.ok(infos.length > 0);\n\n    var secret = getSecret(self);\n    secret.infos = infos;\n    secret.mappings = [];\n    secret.cachedSourceMap = null;\n\n    if (sourceFileName) {\n        isString.assert(sourceFileName);\n    } else {\n        sourceFileName = null;\n    }\n\n    Object.defineProperties(self, {\n        length: { value: infos.length },\n        name: { value: sourceFileName }\n    });\n\n    if (sourceFileName) {\n        secret.mappings.push(new Mapping(this, {\n            start: this.firstPos(),\n            end: this.lastPos()\n        }));\n    }\n}\n\n// Exposed for instanceof checks. The fromString function should be used\n// to create new Lines objects.\nexports.Lines = Lines;\n\nvar Lp = Lines.prototype,\n    leadingSpaceExp = /^\\s*/,\n    secret;\n\nfunction copyLineInfo(info) {\n    return {\n        line: info.line,\n        indent: info.indent,\n        sliceStart: info.sliceStart,\n        sliceEnd: info.sliceEnd\n    };\n}\n\nvar fromStringCache = {};\nvar hasOwn = fromStringCache.hasOwnProperty;\nvar maxCacheKeyLen = 10;\n\nfunction countSpaces(spaces, tabWidth) {\n    var count = 0;\n    var len = spaces.length;\n\n    for (var i = 0; i < len; ++i) {\n        var ch = spaces.charAt(i);\n\n        if (ch === \" \") {\n            count += 1;\n\n        } else if (ch === \"\\t\") {\n            assert.strictEqual(typeof tabWidth, \"number\");\n            assert.ok(tabWidth > 0);\n\n            var next = Math.ceil(count / tabWidth) * tabWidth;\n            if (next === count) {\n                count += tabWidth;\n            } else {\n                count = next;\n            }\n\n        } else if (ch === \"\\r\") {\n            // Ignore carriage return characters.\n\n        } else {\n            assert.fail(\"unexpected whitespace character\", ch);\n        }\n    }\n\n    return count;\n}\nexports.countSpaces = countSpaces;\n\nfunction fromString(string, options) {\n    if (string instanceof Lines)\n        return string;\n\n    string += \"\";\n\n    var tabWidth = options && options.tabWidth;\n    var tabless = string.indexOf(\"\\t\") < 0;\n    var cacheable = !options && tabless && (string.length <= maxCacheKeyLen);\n\n    assert.ok(tabWidth || tabless, \"encountered tabs, but no tab width specified\");\n\n    if (cacheable && hasOwn.call(fromStringCache, string))\n        return fromStringCache[string];\n\n    var lines = new Lines(string.split(\"\\n\").map(function(line) {\n        var spaces = leadingSpaceExp.exec(line)[0];\n        return {\n            line: line,\n            indent: countSpaces(spaces, tabWidth),\n            sliceStart: spaces.length,\n            sliceEnd: line.length\n        };\n    }), normalizeOptions(options).sourceFileName);\n\n    if (cacheable)\n        fromStringCache[string] = lines;\n\n    return lines;\n}\nexports.fromString = fromString;\n\nfunction isOnlyWhitespace(string) {\n    return !/\\S/.test(string);\n}\n\nLp.toString = function(options) {\n    return this.sliceString(this.firstPos(), this.lastPos(), options);\n};\n\nLp.getSourceMap = function(sourceMapName, sourceRoot) {\n    if (!sourceMapName) {\n        // Although we could make up a name or generate an anonymous\n        // source map, instead we assume that any consumer who does not\n        // provide a name does not actually want a source map.\n        return null;\n    }\n\n    var targetLines = this;\n\n    function updateJSON(json) {\n        json = json || {};\n\n        isString.assert(sourceMapName);\n        json.file = sourceMapName;\n\n        if (sourceRoot) {\n            isString.assert(sourceRoot);\n            json.sourceRoot = sourceRoot;\n        }\n\n        return json;\n    }\n\n    var secret = getSecret(targetLines);\n    if (secret.cachedSourceMap) {\n        // Since Lines objects are immutable, we can reuse any source map\n        // that was previously generated. Nevertheless, we return a new\n        // JSON object here to protect the cached source map from outside\n        // modification.\n        return updateJSON(secret.cachedSourceMap.toJSON());\n    }\n\n    assert.ok(\n        secret.mappings.length > 0,\n        \"No source mappings found. Be sure to pass { sourceFileName: \" +\n            '\"source.js\" } to recast.parse to enable source mapping.'\n    );\n\n    var smg = new sourceMap.SourceMapGenerator(updateJSON());\n    var sourcesToContents = {};\n\n    secret.mappings.forEach(function(mapping) {\n        var sourceCursor = mapping.sourceLines.skipSpaces(\n            mapping.sourceLoc.start);\n\n        var targetCursor = targetLines.skipSpaces(\n            mapping.targetLoc.start);\n\n        while (comparePos(sourceCursor, mapping.sourceLoc.end) < 0 &&\n               comparePos(targetCursor, mapping.targetLoc.end) < 0) {\n\n            var sourceChar = mapping.sourceLines.charAt(sourceCursor);\n            var targetChar = targetLines.charAt(targetCursor);\n            assert.strictEqual(sourceChar, targetChar);\n\n            var sourceName = mapping.sourceLines.name;\n\n            // Add mappings one character at a time for maximum resolution.\n            smg.addMapping({\n                source: sourceName,\n                original: { line: sourceCursor.line,\n                            column: sourceCursor.column },\n                generated: { line: targetCursor.line,\n                             column: targetCursor.column }\n            });\n\n            if (!hasOwn.call(sourcesToContents, sourceName)) {\n                var sourceContent = mapping.sourceLines.toString();\n                smg.setSourceContent(sourceName, sourceContent);\n                sourcesToContents[sourceName] = sourceContent;\n            }\n\n            targetLines.nextPos(targetCursor, true);\n            mapping.sourceLines.nextPos(sourceCursor, true);\n        }\n    });\n\n    secret.cachedSourceMap = smg;\n\n    return smg.toJSON();\n};\n\nLp.bootstrapCharAt = function(pos) {\n    assert.strictEqual(typeof pos, \"object\");\n    assert.strictEqual(typeof pos.line, \"number\");\n    assert.strictEqual(typeof pos.column, \"number\");\n\n    var line = pos.line,\n        column = pos.column,\n        strings = this.toString().split(\"\\n\"),\n        string = strings[line - 1];\n\n    if (typeof string === \"undefined\")\n        return \"\";\n\n    if (column === string.length &&\n        line < strings.length)\n        return \"\\n\";\n\n    return string.charAt(column);\n};\n\nLp.charAt = function(pos) {\n    assert.strictEqual(typeof pos, \"object\");\n    assert.strictEqual(typeof pos.line, \"number\");\n    assert.strictEqual(typeof pos.column, \"number\");\n\n    var line = pos.line,\n        column = pos.column,\n        secret = getSecret(this),\n        infos = secret.infos,\n        info = infos[line - 1],\n        c = column;\n\n    if (typeof info === \"undefined\" || c < 0)\n        return \"\";\n\n    var indent = this.getIndentAt(line);\n    if (c < indent)\n        return \" \";\n\n    c += info.sliceStart - indent;\n    if (c === info.sliceEnd &&\n        line < this.length)\n        return \"\\n\";\n\n    return info.line.charAt(c);\n};\n\nLp.stripMargin = function(width, skipFirstLine) {\n    if (width === 0)\n        return this;\n\n    assert.ok(width > 0, \"negative margin: \" + width);\n\n    if (skipFirstLine && this.length === 1)\n        return this;\n\n    var secret = getSecret(this);\n\n    var lines = new Lines(secret.infos.map(function(info, i) {\n        if (info.line && (i > 0 || !skipFirstLine)) {\n            info = copyLineInfo(info);\n            info.indent = Math.max(0, info.indent - width);\n        }\n        return info;\n    }));\n\n    if (secret.mappings.length > 0) {\n        var newMappings = getSecret(lines).mappings;\n        assert.strictEqual(newMappings.length, 0);\n        secret.mappings.forEach(function(mapping) {\n            newMappings.push(mapping.indent(width, skipFirstLine, true));\n        });\n    }\n\n    return lines;\n};\n\nLp.indent = function(by) {\n    if (by === 0)\n        return this;\n\n    var secret = getSecret(this);\n\n    var lines = new Lines(secret.infos.map(function(info) {\n        if (info.line) {\n            info = copyLineInfo(info);\n            info.indent += by;\n        }\n        return info\n    }));\n\n    if (secret.mappings.length > 0) {\n        var newMappings = getSecret(lines).mappings;\n        assert.strictEqual(newMappings.length, 0);\n        secret.mappings.forEach(function(mapping) {\n            newMappings.push(mapping.indent(by));\n        });\n    }\n\n    return lines;\n};\n\nLp.indentTail = function(by) {\n    if (by === 0)\n        return this;\n\n    if (this.length < 2)\n        return this;\n\n    var secret = getSecret(this);\n\n    var lines = new Lines(secret.infos.map(function(info, i) {\n        if (i > 0 && info.line) {\n            info = copyLineInfo(info);\n            info.indent += by;\n        }\n\n        return info;\n    }));\n\n    if (secret.mappings.length > 0) {\n        var newMappings = getSecret(lines).mappings;\n        assert.strictEqual(newMappings.length, 0);\n        secret.mappings.forEach(function(mapping) {\n            newMappings.push(mapping.indent(by, true));\n        });\n    }\n\n    return lines;\n};\n\nLp.getIndentAt = function(line) {\n    assert.ok(line >= 1, \"no line \" + line + \" (line numbers start from 1)\");\n    var secret = getSecret(this),\n        info = secret.infos[line - 1];\n    return Math.max(info.indent, 0);\n};\n\nLp.guessTabWidth = function() {\n    var secret = getSecret(this);\n    if (hasOwn.call(secret, \"cachedTabWidth\")) {\n        return secret.cachedTabWidth;\n    }\n\n    var counts = []; // Sparse array.\n    var lastIndent = 0;\n\n    for (var line = 1, last = this.length; line <= last; ++line) {\n        var info = secret.infos[line - 1];\n        var diff = Math.abs(info.indent - lastIndent);\n        counts[diff] = ~~counts[diff] + 1;\n        lastIndent = info.indent;\n    }\n\n    var maxCount = -1;\n    var result = 2;\n\n    for (var tabWidth = 1;\n         tabWidth < counts.length;\n         tabWidth += 1) {\n        if (hasOwn.call(counts, tabWidth) &&\n            counts[tabWidth] > maxCount) {\n            maxCount = counts[tabWidth];\n            result = tabWidth;\n        }\n    }\n\n    return secret.cachedTabWidth = result;\n};\n\nLp.isOnlyWhitespace = function() {\n    return isOnlyWhitespace(this.toString());\n};\n\nLp.isPrecededOnlyByWhitespace = function(pos) {\n    return this.slice({\n        line: pos.line,\n        column: 0\n    }, pos).isOnlyWhitespace();\n};\n\nLp.getLineLength = function(line) {\n    var secret = getSecret(this),\n        info = secret.infos[line - 1];\n    return this.getIndentAt(line) + info.sliceEnd - info.sliceStart;\n};\n\nLp.nextPos = function(pos, skipSpaces) {\n    var l = Math.max(pos.line, 0),\n        c = Math.max(pos.column, 0);\n\n    if (c < this.getLineLength(l)) {\n        pos.column += 1;\n\n        return skipSpaces\n            ? !!this.skipSpaces(pos, false, true)\n            : true;\n    }\n\n    if (l < this.length) {\n        pos.line += 1;\n        pos.column = 0;\n\n        return skipSpaces\n            ? !!this.skipSpaces(pos, false, true)\n            : true;\n    }\n\n    return false;\n};\n\nLp.prevPos = function(pos, skipSpaces) {\n    var l = pos.line,\n        c = pos.column;\n\n    if (c < 1) {\n        l -= 1;\n\n        if (l < 1)\n            return false;\n\n        c = this.getLineLength(l);\n\n    } else {\n        c = Math.min(c - 1, this.getLineLength(l));\n    }\n\n    pos.line = l;\n    pos.column = c;\n\n    return skipSpaces\n        ? !!this.skipSpaces(pos, true, true)\n        : true;\n};\n\nLp.firstPos = function() {\n    // Trivial, but provided for completeness.\n    return { line: 1, column: 0 };\n};\n\nLp.lastPos = function() {\n    return {\n        line: this.length,\n        column: this.getLineLength(this.length)\n    };\n};\n\nLp.skipSpaces = function(pos, backward, modifyInPlace) {\n    if (pos) {\n        pos = modifyInPlace ? pos : {\n            line: pos.line,\n            column: pos.column\n        };\n    } else if (backward) {\n        pos = this.lastPos();\n    } else {\n        pos = this.firstPos();\n    }\n\n    if (backward) {\n        while (this.prevPos(pos)) {\n            if (!isOnlyWhitespace(this.charAt(pos)) &&\n                this.nextPos(pos)) {\n                return pos;\n            }\n        }\n\n        return null;\n\n    } else {\n        while (isOnlyWhitespace(this.charAt(pos))) {\n            if (!this.nextPos(pos)) {\n                return null;\n            }\n        }\n\n        return pos;\n    }\n};\n\nLp.trimLeft = function() {\n    var pos = this.skipSpaces(this.firstPos(), false, true);\n    return pos ? this.slice(pos) : emptyLines;\n};\n\nLp.trimRight = function() {\n    var pos = this.skipSpaces(this.lastPos(), true, true);\n    return pos ? this.slice(this.firstPos(), pos) : emptyLines;\n};\n\nLp.trim = function() {\n    var start = this.skipSpaces(this.firstPos(), false, true);\n    if (start === null)\n        return emptyLines;\n\n    var end = this.skipSpaces(this.lastPos(), true, true);\n    assert.notStrictEqual(end, null);\n\n    return this.slice(start, end);\n};\n\nLp.eachPos = function(callback, startPos, skipSpaces) {\n    var pos = this.firstPos();\n\n    if (startPos) {\n        pos.line = startPos.line,\n        pos.column = startPos.column\n    }\n\n    if (skipSpaces && !this.skipSpaces(pos, false, true)) {\n        return; // Encountered nothing but spaces.\n    }\n\n    do callback.call(this, pos);\n    while (this.nextPos(pos, skipSpaces));\n};\n\nLp.bootstrapSlice = function(start, end) {\n    var strings = this.toString().split(\"\\n\").slice(\n            start.line - 1, end.line);\n\n    strings.push(strings.pop().slice(0, end.column));\n    strings[0] = strings[0].slice(start.column);\n\n    return fromString(strings.join(\"\\n\"));\n};\n\nLp.slice = function(start, end) {\n    if (!end) {\n        if (!start) {\n            // The client seems to want a copy of this Lines object, but\n            // Lines objects are immutable, so it's perfectly adequate to\n            // return the same object.\n            return this;\n        }\n\n        // Slice to the end if no end position was provided.\n        end = this.lastPos();\n    }\n\n    var secret = getSecret(this);\n    var sliced = secret.infos.slice(start.line - 1, end.line);\n\n    if (start.line === end.line) {\n        sliced[0] = sliceInfo(sliced[0], start.column, end.column);\n    } else {\n        assert.ok(start.line < end.line);\n        sliced[0] = sliceInfo(sliced[0], start.column);\n        sliced.push(sliceInfo(sliced.pop(), 0, end.column));\n    }\n\n    var lines = new Lines(sliced);\n\n    if (secret.mappings.length > 0) {\n        var newMappings = getSecret(lines).mappings;\n        assert.strictEqual(newMappings.length, 0);\n        secret.mappings.forEach(function(mapping) {\n            var sliced = mapping.slice(this, start, end);\n            if (sliced) {\n                newMappings.push(sliced);\n            }\n        }, this);\n    }\n\n    return lines;\n};\n\nfunction sliceInfo(info, startCol, endCol) {\n    var sliceStart = info.sliceStart;\n    var sliceEnd = info.sliceEnd;\n    var indent = Math.max(info.indent, 0);\n    var lineLength = indent + sliceEnd - sliceStart;\n\n    if (typeof endCol === \"undefined\") {\n        endCol = lineLength;\n    }\n\n    startCol = Math.max(startCol, 0);\n    endCol = Math.min(endCol, lineLength);\n    endCol = Math.max(endCol, startCol);\n\n    if (endCol < indent) {\n        indent = endCol;\n        sliceEnd = sliceStart;\n    } else {\n        sliceEnd -= lineLength - endCol;\n    }\n\n    lineLength = endCol;\n    lineLength -= startCol;\n\n    if (startCol < indent) {\n        indent -= startCol;\n    } else {\n        startCol -= indent;\n        indent = 0;\n        sliceStart += startCol;\n    }\n\n    assert.ok(indent >= 0);\n    assert.ok(sliceStart <= sliceEnd);\n    assert.strictEqual(lineLength, indent + sliceEnd - sliceStart);\n\n    if (info.indent === indent &&\n        info.sliceStart === sliceStart &&\n        info.sliceEnd === sliceEnd) {\n        return info;\n    }\n\n    return {\n        line: info.line,\n        indent: indent,\n        sliceStart: sliceStart,\n        sliceEnd: sliceEnd\n    };\n}\n\nLp.bootstrapSliceString = function(start, end, options) {\n    return this.slice(start, end).toString(options);\n};\n\nLp.sliceString = function(start, end, options) {\n    if (!end) {\n        if (!start) {\n            // The client seems to want a copy of this Lines object, but\n            // Lines objects are immutable, so it's perfectly adequate to\n            // return the same object.\n            return this;\n        }\n\n        // Slice to the end if no end position was provided.\n        end = this.lastPos();\n    }\n\n    options = normalizeOptions(options);\n\n    var infos = getSecret(this).infos;\n    var parts = [];\n    var tabWidth = options.tabWidth;\n\n    for (var line = start.line; line <= end.line; ++line) {\n        var info = infos[line - 1];\n\n        if (line === start.line) {\n            if (line === end.line) {\n                info = sliceInfo(info, start.column, end.column);\n            } else {\n                info = sliceInfo(info, start.column);\n            }\n        } else if (line === end.line) {\n            info = sliceInfo(info, 0, end.column);\n        }\n\n        var indent = Math.max(info.indent, 0);\n\n        var before = info.line.slice(0, info.sliceStart);\n        if (options.reuseWhitespace &&\n            isOnlyWhitespace(before) &&\n            countSpaces(before, options.tabWidth) === indent) {\n            // Reuse original spaces if the indentation is correct.\n            parts.push(info.line.slice(0, info.sliceEnd));\n            continue;\n        }\n\n        var tabs = 0;\n        var spaces = indent;\n\n        if (options.useTabs) {\n            tabs = Math.floor(indent / tabWidth);\n            spaces -= tabs * tabWidth;\n        }\n\n        var result = \"\";\n\n        if (tabs > 0) {\n            result += new Array(tabs + 1).join(\"\\t\");\n        }\n\n        if (spaces > 0) {\n            result += new Array(spaces + 1).join(\" \");\n        }\n\n        result += info.line.slice(info.sliceStart, info.sliceEnd);\n\n        parts.push(result);\n    }\n\n    return parts.join(\"\\n\");\n};\n\nLp.isEmpty = function() {\n    return this.length < 2 && this.getLineLength(1) < 1;\n};\n\nLp.join = function(elements) {\n    var separator = this;\n    var separatorSecret = getSecret(separator);\n    var infos = [];\n    var mappings = [];\n    var prevInfo;\n\n    function appendSecret(secret) {\n        if (secret === null)\n            return;\n\n        if (prevInfo) {\n            var info = secret.infos[0];\n            var indent = new Array(info.indent + 1).join(\" \");\n            var prevLine = infos.length;\n            var prevColumn = Math.max(prevInfo.indent, 0) +\n                prevInfo.sliceEnd - prevInfo.sliceStart;\n\n            prevInfo.line = prevInfo.line.slice(\n                0, prevInfo.sliceEnd) + indent + info.line.slice(\n                    info.sliceStart, info.sliceEnd);\n\n            prevInfo.sliceEnd = prevInfo.line.length;\n\n            if (secret.mappings.length > 0) {\n                secret.mappings.forEach(function(mapping) {\n                    mappings.push(mapping.add(prevLine, prevColumn));\n                });\n            }\n\n        } else if (secret.mappings.length > 0) {\n            mappings.push.apply(mappings, secret.mappings);\n        }\n\n        secret.infos.forEach(function(info, i) {\n            if (!prevInfo || i > 0) {\n                prevInfo = copyLineInfo(info);\n                infos.push(prevInfo);\n            }\n        });\n    }\n\n    function appendWithSeparator(secret, i) {\n        if (i > 0)\n            appendSecret(separatorSecret);\n        appendSecret(secret);\n    }\n\n    elements.map(function(elem) {\n        var lines = fromString(elem);\n        if (lines.isEmpty())\n            return null;\n        return getSecret(lines);\n    }).forEach(separator.isEmpty()\n               ? appendSecret\n               : appendWithSeparator);\n\n    if (infos.length < 1)\n        return emptyLines;\n\n    var lines = new Lines(infos);\n\n    if (mappings.length > 0) {\n        var newSecret = getSecret(lines);\n        assert.strictEqual(newSecret.mappings.length, 0);\n        newSecret.mappings = mappings;\n    }\n\n    return lines;\n};\n\nexports.concat = function(elements) {\n    return emptyLines.join(elements);\n};\n\nLp.concat = function(other) {\n    var args = arguments,\n        list = [this];\n    list.push.apply(list, args);\n    assert.strictEqual(list.length, args.length + 1);\n    return emptyLines.join(list);\n};\n\n// The emptyLines object needs to be created all the way down here so that\n// Lines.prototype will be fully populated.\nvar emptyLines = fromString(\"\");\n\n},{\"./mapping\":44,\"./options\":45,\"./types\":49,\"./util\":50,\"assert\":65,\"private\":41,\"source-map\":54}],44:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar types = require(\"./types\");\nvar isString = types.builtInTypes.string;\nvar isNumber = types.builtInTypes.number;\nvar SourceLocation = types.namedTypes.SourceLocation;\nvar Position = types.namedTypes.Position;\nvar linesModule = require(\"./lines\");\nvar comparePos = require(\"./util\").comparePos;\n\nfunction Mapping(sourceLines, sourceLoc, targetLoc) {\n    assert.ok(this instanceof Mapping);\n    assert.ok(sourceLines instanceof linesModule.Lines);\n    SourceLocation.assert(sourceLoc);\n\n    if (targetLoc) {\n        // In certain cases it's possible for targetLoc.{start,end}.column\n        // values to be negative, which technically makes them no longer\n        // valid SourceLocation nodes, so we need to be more forgiving.\n        assert.ok(\n            isNumber.check(targetLoc.start.line) &&\n            isNumber.check(targetLoc.start.column) &&\n            isNumber.check(targetLoc.end.line) &&\n            isNumber.check(targetLoc.end.column)\n        );\n    } else {\n        // Assume identity mapping if no targetLoc specified.\n        targetLoc = sourceLoc;\n    }\n\n    Object.defineProperties(this, {\n        sourceLines: { value: sourceLines },\n        sourceLoc: { value: sourceLoc },\n        targetLoc: { value: targetLoc }\n    });\n}\n\nvar Mp = Mapping.prototype;\nmodule.exports = Mapping;\n\nMp.slice = function(lines, start, end) {\n    assert.ok(lines instanceof linesModule.Lines);\n    Position.assert(start);\n\n    if (end) {\n        Position.assert(end);\n    } else {\n        end = lines.lastPos();\n    }\n\n    var sourceLines = this.sourceLines;\n    var sourceLoc = this.sourceLoc;\n    var targetLoc = this.targetLoc;\n\n    function skip(name) {\n        var sourceFromPos = sourceLoc[name];\n        var targetFromPos = targetLoc[name];\n        var targetToPos = start;\n\n        if (name === \"end\") {\n            targetToPos = end;\n        } else {\n            assert.strictEqual(name, \"start\");\n        }\n\n        return skipChars(\n            sourceLines, sourceFromPos,\n            lines, targetFromPos, targetToPos\n        );\n    }\n\n    if (comparePos(start, targetLoc.start) <= 0) {\n        if (comparePos(targetLoc.end, end) <= 0) {\n            targetLoc = {\n                start: subtractPos(targetLoc.start, start.line, start.column),\n                end: subtractPos(targetLoc.end, start.line, start.column)\n            };\n\n            // The sourceLoc can stay the same because the contents of the\n            // targetLoc have not changed.\n\n        } else if (comparePos(end, targetLoc.start) <= 0) {\n            return null;\n\n        } else {\n            sourceLoc = {\n                start: sourceLoc.start,\n                end: skip(\"end\")\n            };\n\n            targetLoc = {\n                start: subtractPos(targetLoc.start, start.line, start.column),\n                end: subtractPos(end, start.line, start.column)\n            };\n        }\n\n    } else {\n        if (comparePos(targetLoc.end, start) <= 0) {\n            return null;\n        }\n\n        if (comparePos(targetLoc.end, end) <= 0) {\n            sourceLoc = {\n                start: skip(\"start\"),\n                end: sourceLoc.end\n            };\n\n            targetLoc = {\n                // Same as subtractPos(start, start.line, start.column):\n                start: { line: 1, column: 0 },\n                end: subtractPos(targetLoc.end, start.line, start.column)\n            };\n\n        } else {\n            sourceLoc = {\n                start: skip(\"start\"),\n                end: skip(\"end\")\n            };\n\n            targetLoc = {\n                // Same as subtractPos(start, start.line, start.column):\n                start: { line: 1, column: 0 },\n                end: subtractPos(end, start.line, start.column)\n            };\n        }\n    }\n\n    return new Mapping(this.sourceLines, sourceLoc, targetLoc);\n};\n\nMp.add = function(line, column) {\n    return new Mapping(this.sourceLines, this.sourceLoc, {\n        start: addPos(this.targetLoc.start, line, column),\n        end: addPos(this.targetLoc.end, line, column)\n    });\n};\n\nfunction addPos(toPos, line, column) {\n    return {\n        line: toPos.line + line - 1,\n        column: (toPos.line === 1)\n            ? toPos.column + column\n            : toPos.column\n    };\n}\n\nMp.subtract = function(line, column) {\n    return new Mapping(this.sourceLines, this.sourceLoc, {\n        start: subtractPos(this.targetLoc.start, line, column),\n        end: subtractPos(this.targetLoc.end, line, column)\n    });\n};\n\nfunction subtractPos(fromPos, line, column) {\n    return {\n        line: fromPos.line - line + 1,\n        column: (fromPos.line === line)\n            ? fromPos.column - column\n            : fromPos.column\n    };\n}\n\nMp.indent = function(by, skipFirstLine, noNegativeColumns) {\n    if (by === 0) {\n        return this;\n    }\n\n    var targetLoc = this.targetLoc;\n    var startLine = targetLoc.start.line;\n    var endLine = targetLoc.end.line;\n\n    if (skipFirstLine && startLine === 1 && endLine === 1) {\n        return this;\n    }\n\n    targetLoc = {\n        start: targetLoc.start,\n        end: targetLoc.end\n    };\n\n    if (!skipFirstLine || startLine > 1) {\n        var startColumn = targetLoc.start.column + by;\n        targetLoc.start = {\n            line: startLine,\n            column: noNegativeColumns\n                ? Math.max(0, startColumn)\n                : startColumn\n        };\n    }\n\n    if (!skipFirstLine || endLine > 1) {\n        var endColumn = targetLoc.end.column + by;\n        targetLoc.end = {\n            line: endLine,\n            column: noNegativeColumns\n                ? Math.max(0, endColumn)\n                : endColumn\n        };\n    }\n\n    return new Mapping(this.sourceLines, this.sourceLoc, targetLoc);\n};\n\nfunction skipChars(\n    sourceLines, sourceFromPos,\n    targetLines, targetFromPos, targetToPos\n) {\n    assert.ok(sourceLines instanceof linesModule.Lines);\n    assert.ok(targetLines instanceof linesModule.Lines);\n    Position.assert(sourceFromPos);\n    Position.assert(targetFromPos);\n    Position.assert(targetToPos);\n\n    var targetComparison = comparePos(targetFromPos, targetToPos);\n    if (targetComparison === 0) {\n        // Trivial case: no characters to skip.\n        return sourceFromPos;\n    }\n\n    if (targetComparison < 0) {\n        // Skipping forward.\n\n        var sourceCursor = sourceLines.skipSpaces(sourceFromPos);\n        var targetCursor = targetLines.skipSpaces(targetFromPos);\n\n        var lineDiff = targetToPos.line - targetCursor.line;\n        sourceCursor.line += lineDiff;\n        targetCursor.line += lineDiff;\n\n        if (lineDiff > 0) {\n            // If jumping to later lines, reset columns to the beginnings\n            // of those lines.\n            sourceCursor.column = 0;\n            targetCursor.column = 0;\n        } else {\n            assert.strictEqual(lineDiff, 0);\n        }\n\n        while (comparePos(targetCursor, targetToPos) < 0 &&\n               targetLines.nextPos(targetCursor, true)) {\n            assert.ok(sourceLines.nextPos(sourceCursor, true));\n            assert.strictEqual(\n                sourceLines.charAt(sourceCursor),\n                targetLines.charAt(targetCursor)\n            );\n        }\n\n    } else {\n        // Skipping backward.\n\n        var sourceCursor = sourceLines.skipSpaces(sourceFromPos, true);\n        var targetCursor = targetLines.skipSpaces(targetFromPos, true);\n\n        var lineDiff = targetToPos.line - targetCursor.line;\n        sourceCursor.line += lineDiff;\n        targetCursor.line += lineDiff;\n\n        if (lineDiff < 0) {\n            // If jumping to earlier lines, reset columns to the ends of\n            // those lines.\n            sourceCursor.column = sourceLines.getLineLength(sourceCursor.line);\n            targetCursor.column = targetLines.getLineLength(targetCursor.line);\n        } else {\n            assert.strictEqual(lineDiff, 0);\n        }\n\n        while (comparePos(targetToPos, targetCursor) < 0 &&\n               targetLines.prevPos(targetCursor, true)) {\n            assert.ok(sourceLines.prevPos(sourceCursor, true));\n            assert.strictEqual(\n                sourceLines.charAt(sourceCursor),\n                targetLines.charAt(targetCursor)\n            );\n        }\n    }\n\n    return sourceCursor;\n}\n\n},{\"./lines\":43,\"./types\":49,\"./util\":50,\"assert\":65}],45:[function(require,module,exports){\nvar defaults = {\n    tabWidth: 4,\n    useTabs: false,\n    reuseWhitespace: true,\n    wrapColumn: 74, // Aspirational for now.\n    sourceFileName: null,\n    sourceMapName: null,\n    sourceRoot: null,\n    inputSourceMap: null,\n    esprima: require(\"esprima\"),\n    range: false,\n    tolerant: true\n}, hasOwn = defaults.hasOwnProperty;\n\n// Copy options and fill in default values.\nexports.normalize = function(options) {\n    options = options || defaults;\n\n    function get(key) {\n        return hasOwn.call(options, key)\n            ? options[key]\n            : defaults[key];\n    }\n\n    return {\n        tabWidth: +get(\"tabWidth\"),\n        useTabs: !!get(\"useTabs\"),\n        reuseWhitespace: !!get(\"reuseWhitespace\"),\n        wrapColumn: Math.max(get(\"wrapColumn\"), 0),\n        sourceFileName: get(\"sourceFileName\"),\n        sourceMapName: get(\"sourceMapName\"),\n        sourceRoot: get(\"sourceRoot\"),\n        inputSourceMap: get(\"inputSourceMap\"),\n        esprima: get(\"esprima\"),\n        range: get(\"range\"),\n        tolerant: get(\"tolerant\")\n    };\n};\n\n},{\"esprima\":39}],46:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar types = require(\"./types\");\nvar n = types.namedTypes;\nvar b = types.builders;\nvar Patcher = require(\"./patcher\").Patcher;\nvar Visitor = require(\"./visitor\").Visitor;\nvar normalizeOptions = require(\"./options\").normalize;\n\nexports.parse = function(source, options) {\n    options = normalizeOptions(options);\n\n    var lines = require(\"./lines\").fromString(source, options);\n\n    var pure = options.esprima.parse(lines.toString({\n        tabWidth: options.tabWidth,\n        reuseWhitespace: false,\n        useTabs: false\n    }), {\n        loc: true,\n        range: options.range,\n        comment: true,\n        tolerant: options.tolerant\n    });\n\n    new LocationFixer(lines).visit(pure);\n\n    require(\"./comments\").add(pure, lines);\n\n    // In order to ensure we reprint leading and trailing program\n    // comments, wrap the original Program node with a File node.\n    pure = b.file(pure);\n    pure.loc = {\n        lines: lines,\n        start: lines.firstPos(),\n        end: lines.lastPos()\n    };\n\n    // Return a copy of the original AST so that any changes made may be\n    // compared to the original.\n    return copyAst(pure);\n};\n\nvar LocationFixer = Visitor.extend({\n    init: function(lines) {\n        this.lines = lines;\n    },\n\n    genericVisit: function(node) {\n        this._super(node);\n\n        var loc = node && node.loc,\n            start = loc && loc.start,\n            end = loc && loc.end;\n\n        if (loc) {\n            Object.defineProperty(loc, \"lines\", {\n                value: this.lines\n            });\n        }\n\n        if (start) {\n            start.line = Math.max(start.line, 1);\n        }\n\n        if (end) {\n            end.line = Math.max(end.line, 1);\n\n            var lines = loc.lines, pos = {\n                line: end.line,\n                column: end.column\n            };\n\n            // Negative columns might indicate an Esprima bug?\n            // For now, treat them as reverse indices, a la Python.\n            if (pos.column < 0)\n                pos.column += lines.getLineLength(pos.line);\n\n            while (lines.prevPos(pos)) {\n                if (/\\S/.test(lines.charAt(pos))) {\n                    assert.ok(lines.nextPos(pos));\n\n                    end.line = pos.line;\n                    end.column = pos.column;\n\n                    break;\n                }\n            }\n        }\n    }\n});\n\nfunction copyAst(node, parent) {\n    if (typeof node === \"object\" &&\n        node !== null)\n    {\n        if (node instanceof RegExp)\n            return node;\n\n        if (node instanceof Array) {\n            return node.map(function(child) {\n                return copyAst(child, parent);\n            });\n        }\n\n        var copy = {},\n            key,\n            val;\n\n        for (key in node) {\n            if (node.hasOwnProperty(key)) {\n                val = copyAst(node[key], node);\n                if (typeof val !== \"function\")\n                    copy[key] = val;\n            }\n        }\n\n        if (parent && n.Node.check(node)) {\n            // Allow upwards traversal of the original AST.\n            Object.defineProperty(node, \"parentNode\", {\n                value: parent\n            });\n        }\n\n        // Provide a link from the copy to the original.\n        Object.defineProperty(copy, \"original\", {\n            value: node,\n            configurable: false,\n            enumerable: false,\n            writable: true,\n        });\n\n        return copy;\n    }\n\n    return node;\n}\n\n},{\"./comments\":42,\"./lines\":43,\"./options\":45,\"./patcher\":47,\"./types\":49,\"./visitor\":51,\"assert\":65}],47:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar linesModule = require(\"./lines\");\nvar typesModule = require(\"./types\");\nvar getFieldValue = typesModule.getFieldValue;\nvar Node = typesModule.namedTypes.Node;\nvar util = require(\"./util\");\nvar comparePos = util.comparePos;\nvar NodePath = require(\"ast-types\").NodePath;\n\nfunction Patcher(lines) {\n    assert.ok(this instanceof Patcher);\n    assert.ok(lines instanceof linesModule.Lines);\n\n    var self = this,\n        replacements = [];\n\n    self.replace = function(loc, lines) {\n        if (typeof lines === \"string\")\n            lines = linesModule.fromString(lines);\n\n        replacements.push({\n            lines: lines,\n            start: loc.start,\n            end: loc.end\n        });\n    };\n\n    self.get = function(loc) {\n        // If no location is provided, return the complete Lines object.\n        loc = loc || {\n            start: { line: 1, column: 0 },\n            end: { line: lines.length,\n                   column: lines.getLineLength(lines.length) }\n        };\n\n        var sliceFrom = loc.start,\n            toConcat = [];\n\n        function pushSlice(from, to) {\n            assert.ok(comparePos(from, to) <= 0);\n            toConcat.push(lines.slice(from, to));\n        }\n\n        replacements.sort(function(a, b) {\n            return comparePos(a.start, b.start);\n        }).forEach(function(rep) {\n            if (comparePos(sliceFrom, rep.start) > 0) {\n                // Ignore nested replacement ranges.\n            } else {\n                pushSlice(sliceFrom, rep.start);\n                toConcat.push(rep.lines);\n                sliceFrom = rep.end;\n            }\n        });\n\n        pushSlice(sliceFrom, loc.end);\n\n        return linesModule.concat(toConcat);\n    };\n}\nexports.Patcher = Patcher;\n\nexports.getReprinter = function(path) {\n    assert.ok(path instanceof NodePath);\n\n    var orig = path.node.original;\n    var origLoc = orig && orig.loc;\n    var lines = origLoc && origLoc.lines;\n    var reprints = [];\n\n    if (!lines || !findReprints(path, reprints))\n        return;\n\n    return function(print) {\n        var patcher = new Patcher(lines);\n\n        reprints.forEach(function(reprint) {\n            var old = reprint.oldNode;\n            patcher.replace(\n                old.loc,\n                print(reprint.newPath).indentTail(\n                    getIndent(old)));\n        });\n\n        return patcher.get(origLoc).indentTail(-getIndent(orig));\n    };\n};\n\n// Get the indentation of the first ancestor node on a line with nothing\n// before it but whitespace.\nfunction getIndent(orig) {\n    var naiveIndent = orig.loc.lines.getIndentAt(\n        orig.loc.start.line);\n\n    for (var loc, start, lines;\n         orig &&\n         (loc = orig.loc) &&\n         (start = loc.start) &&\n         (lines = loc.lines);\n         orig = orig.parentNode)\n    {\n        if (lines.isPrecededOnlyByWhitespace(start)) {\n            // The indent returned by lines.getIndentAt is the column of\n            // the first non-space character in the line, but start.column\n            // may fall before that character, as when a file begins with\n            // whitespace but its start.column nevertheless must be 0.\n            assert.ok(start.column <= lines.getIndentAt(start.line));\n            return start.column;\n        }\n    }\n\n    return naiveIndent;\n}\n\nfunction findReprints(path, reprints) {\n    var node = path.node;\n    assert.ok(node.original);\n    assert.deepEqual(reprints, []);\n\n    var canReprint = findChildReprints(path, node.original, reprints);\n\n    if (!canReprint) {\n        // Make absolutely sure the calling code does not attempt to reprint\n        // any nodes.\n        reprints.length = 0;\n    }\n\n    return canReprint;\n}\n\nfunction findAnyReprints(path, oldNode, reprints) {\n    var newNode = path.value;\n    if (newNode === oldNode)\n        return true;\n\n    if (newNode instanceof Array)\n        return findArrayReprints(path, oldNode, reprints);\n\n    if (typeof newNode === \"object\")\n        return findObjectReprints(path, oldNode, reprints);\n\n    return false;\n}\n\nfunction findArrayReprints(path, oldNode, reprints) {\n    var newNode = path.value;\n    assert.ok(newNode instanceof Array);\n    var len = newNode.length;\n\n    if (!(oldNode instanceof Array &&\n          oldNode.length === len))\n        return false;\n\n    for (var i = 0; i < len; ++i)\n        if (!findAnyReprints(path.get(i), oldNode[i], reprints))\n            return false;\n\n    return true;\n}\n\nfunction findObjectReprints(path, oldNode, reprints) {\n    var newNode = path.value;\n    assert.strictEqual(typeof newNode, \"object\");\n    if (!newNode || !oldNode || typeof oldNode !== \"object\")\n        return false;\n\n    var childReprints = [];\n    var canReprintChildren = findChildReprints(path, oldNode, childReprints);\n\n    if (Node.check(newNode)) {\n        // TODO Decompose this check: if (!printTheSame(newNode, oldNode))\n        if (newNode.type !== oldNode.type)\n            return false;\n\n        if (!canReprintChildren) {\n            reprints.push({\n                newPath: path,\n                oldNode: oldNode\n            });\n\n            return true;\n        }\n    }\n\n    reprints.push.apply(reprints, childReprints);\n    return canReprintChildren;\n}\n\nfunction hasParens(oldNode) {\n    var loc = oldNode.loc;\n    var lines = loc && loc.lines;\n\n    if (lines) {\n        // This logic can technically be fooled if the node has\n        // parentheses but there are comments intervening between the\n        // parentheses and the node. In such cases the node will be\n        // harmlessly wrapped in an additional layer of parentheses.\n        var pos = lines.skipSpaces(loc.start, true);\n        if (pos && lines.prevPos(pos) && lines.charAt(pos) === \"(\") {\n            pos = lines.skipSpaces(loc.end);\n            if (pos && lines.charAt(pos) === \")\")\n                return true;\n        }\n    }\n\n    return false;\n}\n\nfunction findChildReprints(path, oldNode, reprints) {\n    var newNode = path.value;\n    assert.strictEqual(typeof newNode, \"object\");\n    assert.strictEqual(typeof oldNode, \"object\");\n\n    // If this node needs parentheses and will not be wrapped with\n    // parentheses when reprinted, then return false to skip reprinting\n    // and let it be printed generically.\n    if (path.needsParens() && !hasParens(oldNode))\n        return false;\n\n    for (var k in util.getUnionOfKeys(newNode, oldNode)) {\n        if (k === \"loc\")\n            continue;\n\n        var oldChild = getFieldValue(oldNode, k);\n        var newChild = getFieldValue(newNode, k);\n\n        // Normally we would use path.get(k), but that might not produce a\n        // Path with newChild as its .value (for instance, if a default\n        // value was returned), so we must forge this path by hand.\n        var newChildPath = new NodePath(newChild, path, k);\n\n        if (!findAnyReprints(newChildPath, oldChild, reprints))\n            return false;\n    }\n\n    return true;\n}\n\n},{\"./lines\":43,\"./types\":49,\"./util\":50,\"assert\":65,\"ast-types\":19}],48:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar sourceMap = require(\"source-map\");\nvar printComments = require(\"./comments\").printComments;\nvar linesModule = require(\"./lines\");\nvar fromString = linesModule.fromString;\nvar concat = linesModule.concat;\nvar normalizeOptions = require(\"./options\").normalize;\nvar getReprinter = require(\"./patcher\").getReprinter;\nvar types = require(\"./types\");\nvar namedTypes = types.namedTypes;\nvar isString = types.builtInTypes.string;\nvar isObject = types.builtInTypes.object;\nvar NodePath = types.NodePath;\nvar util = require(\"./util\");\n\nfunction PrintResult(code, sourceMap) {\n    assert.ok(this instanceof PrintResult);\n    isString.assert(code);\n\n    var properties = {\n        code: {\n            value: code,\n            enumerable: true\n        }\n    };\n\n    if (sourceMap) {\n        isObject.assert(sourceMap);\n\n        properties.map = {\n            value: sourceMap,\n            enumerable: true\n        };\n    }\n\n    Object.defineProperties(this, properties);\n}\n\nvar PRp = PrintResult.prototype;\nvar warnedAboutToString = false;\n\nPRp.toString = function() {\n    if (!warnedAboutToString) {\n        console.warn(\n            \"Deprecation warning: recast.print now returns an object with \" +\n            \"a .code property. You appear to be treating the object as a \" +\n            \"string, which might still work but is strongly discouraged.\"\n        );\n\n        warnedAboutToString = true;\n    }\n\n    return this.code;\n};\n\nvar emptyPrintResult = new PrintResult(\"\");\n\nfunction Printer(options) {\n    assert.ok(this instanceof Printer);\n\n    var explicitTabWidth = options && options.tabWidth;\n    options = normalizeOptions(options);\n\n    function printWithComments(path) {\n        assert.ok(path instanceof NodePath);\n        return printComments(path.node.comments, print(path));\n    }\n\n    function print(path, includeComments) {\n        if (includeComments)\n            return printWithComments(path);\n\n        assert.ok(path instanceof NodePath);\n\n        if (!explicitTabWidth) {\n            var oldTabWidth = options.tabWidth;\n            var orig = path.node.original;\n            var origLoc = orig && orig.loc;\n            var origLines = origLoc && origLoc.lines;\n            if (origLines) {\n                options.tabWidth = origLines.guessTabWidth();\n                try {\n                    return maybeReprint(path);\n                } finally {\n                    options.tabWidth = oldTabWidth;\n                }\n            }\n        }\n\n        return maybeReprint(path);\n    }\n\n    function maybeReprint(path) {\n        var reprinter = getReprinter(path);\n        if (reprinter)\n            return maybeAddParens(path, reprinter(printRootGenerically));\n        return printRootGenerically(path);\n    }\n\n    // Print the root node generically, but then resume reprinting its\n    // children non-generically.\n    function printRootGenerically(path) {\n        return genericPrint(path, options, printWithComments);\n    }\n\n    // Print the entire AST generically.\n    function printGenerically(path) {\n        return genericPrint(path, options, printGenerically);\n    }\n\n    this.print = function(ast) {\n        if (!ast) {\n            return emptyPrintResult;\n        }\n\n        var path = ast instanceof NodePath ? ast : new NodePath(ast);\n        var lines = print(path, true);\n\n        return new PrintResult(\n            lines.toString(options),\n            util.composeSourceMaps(\n                options.inputSourceMap,\n                lines.getSourceMap(\n                    options.sourceMapName,\n                    options.sourceRoot\n                )\n            )\n        );\n    };\n\n    this.printGenerically = function(ast) {\n        if (!ast) {\n            return emptyPrintResult;\n        }\n\n        var path = ast instanceof NodePath ? ast : new NodePath(ast);\n        var lines = printGenerically(path);\n\n        return new PrintResult(lines.toString(options));\n    };\n}\n\nexports.Printer = Printer;\n\nfunction maybeAddParens(path, lines) {\n    return path.needsParens() ? concat([\"(\", lines, \")\"]) : lines;\n}\n\nfunction genericPrint(path, options, printPath) {\n    assert.ok(path instanceof NodePath);\n    return maybeAddParens(path, genericPrintNoParens(path, options, printPath));\n}\n\nfunction genericPrintNoParens(path, options, print) {\n    var n = path.value;\n\n    if (!n) {\n        return fromString(\"\");\n    }\n\n    if (typeof n === \"string\") {\n        return fromString(n, options);\n    }\n\n    namedTypes.Node.assert(n);\n\n    switch (n.type) {\n    case \"File\":\n        path = path.get(\"program\");\n        n = path.node;\n        namedTypes.Program.assert(n);\n\n        // intentionally fall through...\n\n    case \"Program\":\n        return maybeAddSemicolon(\n            printStatementSequence(path.get(\"body\"), print)\n        );\n\n    case \"EmptyStatement\":\n        return fromString(\"\");\n\n    case \"ExpressionStatement\":\n        return concat([print(path.get(\"expression\")), \";\"]);\n\n    case \"BinaryExpression\":\n    case \"LogicalExpression\":\n    case \"AssignmentExpression\":\n        return fromString(\" \").join([\n            print(path.get(\"left\")),\n            n.operator,\n            print(path.get(\"right\"))\n        ]);\n\n    case \"MemberExpression\":\n        var parts = [print(path.get(\"object\"))];\n\n        if (n.computed)\n            parts.push(\"[\", print(path.get(\"property\")), \"]\");\n        else\n            parts.push(\".\", print(path.get(\"property\")));\n\n        return concat(parts);\n\n    case \"Path\":\n        return fromString(\".\").join(n.body);\n\n    case \"Identifier\":\n        return fromString(n.name, options);\n\n    case \"SpreadElement\":\n        return concat([\"...\", print(path.get(\"argument\"))]);\n\n    case \"FunctionDeclaration\":\n    case \"FunctionExpression\":\n        var parts = [\"function\"];\n\n        if (n.generator)\n            parts.push(\"*\");\n\n        if (n.id)\n            parts.push(\" \", print(path.get(\"id\")));\n\n        parts.push(\n            \"(\",\n            maybeWrapParams(path.get(\"params\"), options, print),\n            \") \",\n            print(path.get(\"body\")));\n\n        return concat(parts);\n\n    case \"ArrowFunctionExpression\":\n        var parts = [];\n\n        if (n.params.length === 1) {\n            parts.push(print(path.get(\"params\", 0)));\n        } else {\n            parts.push(\n                \"(\",\n                maybeWrapParams(path.get(\"params\"), options, print),\n                \")\"\n            );\n        }\n\n        parts.push(\" => \", print(path.get(\"body\")));\n\n        return concat(parts);\n\n    case \"MethodDefinition\":\n        var parts = [];\n\n        if (!n.kind || n.kind === \"init\") {\n            if (n.value.generator)\n                parts.push(\"*\");\n\n        } else {\n            assert.ok(\n                n.kind === \"get\" ||\n                n.kind === \"set\");\n\n            parts.push(n.kind, \" \");\n        }\n\n        parts.push(\n            print(path.get(\"key\")),\n            \"(\",\n            maybeWrapParams(path.get(\"value\", \"params\"), options, print),\n            \") \",\n            print(path.get(\"value\", \"body\"))\n        );\n\n        return concat(parts);\n\n    case \"YieldExpression\":\n        var parts = [\"yield\"];\n\n        if (n.delegate)\n            parts.push(\"*\");\n\n        if (n.argument)\n            parts.push(\" \", print(path.get(\"argument\")));\n\n        return concat(parts);\n\n    case \"ModuleDeclaration\":\n        var parts = [\"module\", print(path.get(\"id\"))];\n\n        if (n.source) {\n            assert.ok(!n.body);\n            parts.push(\"from\", print(path.get(\"source\")));\n        } else {\n            parts.push(print(path.get(\"body\")));\n        }\n\n        return fromString(\" \").join(parts);\n\n    case \"ImportSpecifier\":\n    case \"ExportSpecifier\":\n        var parts = [print(path.get(\"id\"))];\n\n        if (n.name)\n            parts.push(\" as \", print(path.get(\"name\")));\n\n        return concat(parts);\n\n    case \"ExportBatchSpecifier\":\n        return fromString(\"*\");\n\n    case \"ExportDeclaration\":\n        var parts = [\"export\"];\n\n        if (n[\"default\"]) {\n            parts.push(\" default\");\n\n        } else if (n.specifiers &&\n                   n.specifiers.length > 0) {\n\n            if (n.specifiers.length === 1 &&\n                n.specifiers[0].type === \"ExportBatchSpecifier\") {\n                parts.push(\" *\");\n            } else {\n                parts.push(\n                    \" { \",\n                    fromString(\", \").join(path.get(\"specifiers\").map(print)),\n                    \" }\"\n                );\n            }\n\n            if (n.source)\n                parts.push(\" from \", print(path.get(\"source\")));\n\n            parts.push(\";\");\n\n            return concat(parts);\n        }\n\n        parts.push(\" \", print(path.get(\"declaration\")), \";\");\n\n        return concat(parts);\n\n    case \"ImportDeclaration\":\n        var parts = [\"import\"];\n\n        if (!(n.specifiers &&\n              n.specifiers.length > 0)) {\n            parts.push(\" \", print(path.get(\"source\")));\n\n        } else if (n.kind === \"default\") {\n            parts.push(\n                \" \",\n                print(path.get(\"specifiers\", 0)),\n                \" from \",\n                print(path.get(\"source\"))\n            );\n\n        } else if (n.kind === \"named\") {\n            parts.push(\n                \" { \",\n                fromString(\", \").join(path.get(\"specifiers\").map(print)),\n                \" } from \",\n                print(path.get(\"source\"))\n            );\n        }\n\n        parts.push(\";\");\n\n        return concat(parts);\n\n    case \"BlockStatement\":\n        var naked = printStatementSequence(path.get(\"body\"), print);\n        if (naked.isEmpty())\n            return fromString(\"{}\");\n\n        return concat([\n            \"{\\n\",\n            naked.indent(options.tabWidth),\n            \"\\n}\"\n        ]);\n\n    case \"ReturnStatement\":\n        var parts = [\"return\"];\n\n        if (n.argument)\n            parts.push(\" \", print(path.get(\"argument\")));\n\n        return concat(parts);\n\n    case \"CallExpression\":\n        return concat([\n            print(path.get(\"callee\")),\n            \"(\",\n            fromString(\", \").join(path.get(\"arguments\").map(print)),\n            \")\"\n        ]);\n\n    case \"ObjectExpression\":\n    case \"ObjectPattern\":\n        var allowBreak = false,\n            len = n.properties.length,\n            parts = [len > 0 ? \"{\\n\" : \"{\"];\n\n        path.get(\"properties\").map(function(childPath) {\n            var prop = childPath.value;\n            var i = childPath.name;\n\n            // Esprima uses these non-standard AST node types.\n            if (!/^Property/.test(prop.type)) {\n                if (prop.hasOwnProperty(\"kind\")) {\n                    prop.type = \"Property\";\n                } else {\n                    prop.type = namedTypes.PropertyPattern\n                        ? \"PropertyPattern\"\n                        : \"Property\";\n                }\n            }\n\n            var lines = print(childPath).indent(options.tabWidth);\n\n            var multiLine = lines.length > 1;\n            if (multiLine && allowBreak) {\n                // Similar to the logic for BlockStatement.\n                parts.push(\"\\n\");\n            }\n\n            parts.push(lines);\n\n            if (i < len - 1) {\n                // Add an extra line break if the previous object property\n                // had a multi-line value.\n                parts.push(multiLine ? \",\\n\\n\" : \",\\n\");\n                allowBreak = !multiLine;\n            }\n        });\n\n        parts.push(len > 0 ? \"\\n}\" : \"}\");\n\n        return concat(parts);\n\n    case \"PropertyPattern\":\n        return concat([\n            print(path.get(\"key\")),\n            \": \",\n            print(path.get(\"pattern\"))\n        ]);\n\n    case \"Property\": // Non-standard AST node type.\n        var key = print(path.get(\"key\")),\n            val = print(path.get(\"value\"));\n\n        if (!n.kind || n.kind === \"init\")\n            return fromString(\": \").join([key, val]);\n\n        namedTypes.FunctionExpression.assert(n.value);\n        assert.ok(n.value.id);\n        assert.ok(n.kind === \"get\" ||\n                  n.kind === \"set\");\n\n        return concat([\n            n.kind,\n            \" \",\n            print(path.get(\"value\", \"id\")),\n            \"(\",\n            maybeWrapParams(path.get(\"value\", \"params\"), options, print),\n            \")\",\n            print(path.get(\"value\", \"body\"))\n        ]);\n\n    case \"ArrayExpression\":\n    case \"ArrayPattern\":\n        var elems = n.elements,\n            len = elems.length,\n            parts = [\"[\"];\n\n        path.get(\"elements\").each(function(elemPath) {\n            var elem = elemPath.value;\n            if (!elem) {\n                // If the array expression ends with a hole, that hole\n                // will be ignored by the interpreter, but if it ends with\n                // two (or more) holes, we need to write out two (or more)\n                // commas so that the resulting code is interpreted with\n                // both (all) of the holes.\n                parts.push(\",\");\n            } else {\n                var i = elemPath.name;\n                if (i > 0)\n                    parts.push(\" \");\n                parts.push(print(elemPath));\n                if (i < len - 1)\n                    parts.push(\",\");\n            }\n        });\n\n        parts.push(\"]\");\n\n        return concat(parts);\n\n    case \"SequenceExpression\":\n        return fromString(\", \").join(path.get(\"expressions\").map(print));\n\n    case \"ThisExpression\":\n        return fromString(\"this\");\n\n    case \"Literal\":\n        if (typeof n.value !== \"string\")\n            return fromString(n.value, options);\n\n        // intentionally fall through...\n\n    case \"ModuleSpecifier\":\n        // A ModuleSpecifier is a string-valued Literal.\n        return fromString(nodeStr(n), options);\n\n    case \"UnaryExpression\":\n        var parts = [n.operator];\n        if (/[a-z]$/.test(n.operator))\n            parts.push(\" \");\n        parts.push(print(path.get(\"argument\")));\n        return concat(parts);\n\n    case \"UpdateExpression\":\n        var parts = [\n            print(path.get(\"argument\")),\n            n.operator\n        ];\n\n        if (n.prefix)\n            parts.reverse();\n\n        return concat(parts);\n\n    case \"ConditionalExpression\":\n        return concat([\n            \"(\", print(path.get(\"test\")),\n            \" ? \", print(path.get(\"consequent\")),\n            \" : \", print(path.get(\"alternate\")), \")\"\n        ]);\n\n    case \"NewExpression\":\n        var parts = [\"new \", print(path.get(\"callee\"))];\n        var args = n.arguments;\n\n        if (args) {\n            parts.push(\n                \"(\",\n                fromString(\", \").join(path.get(\"arguments\").map(print)),\n                \")\"\n            );\n        }\n\n        return concat(parts);\n\n    case \"VariableDeclaration\":\n        var parts = [n.kind, \" \"];\n        var maxLen = 0;\n        var printed = path.get(\"declarations\").map(function(childPath) {\n            var lines = print(childPath);\n            maxLen = Math.max(lines.length, maxLen);\n            return lines;\n        });\n\n        if (maxLen === 1) {\n            parts.push(fromString(\", \").join(printed));\n        } else {\n            parts.push(\n                fromString(\",\\n\").join(printed)\n                    .indentTail(\"var \".length)\n            );\n        }\n\n        return concat(parts);\n\n    case \"VariableDeclarator\":\n        return n.init ? fromString(\" = \").join([\n            print(path.get(\"id\")),\n            print(path.get(\"init\"))\n        ]) : print(path.get(\"id\"));\n\n    case \"WithStatement\":\n        return concat([\n            \"with (\",\n            print(path.get(\"object\")),\n            \") \",\n            print(path.get(\"body\"))\n        ]);\n\n    case \"IfStatement\":\n        var con = adjustClause(print(path.get(\"consequent\")), options),\n            parts = [\"if (\", print(path.get(\"test\")), \")\", con];\n\n        if (n.alternate)\n            parts.push(\n                endsWithBrace(con) ? \" else\" : \"\\nelse\",\n                adjustClause(print(path.get(\"alternate\")), options));\n\n        return concat(parts);\n\n    case \"ForStatement\":\n        // TODO Get the for (;;) case right.\n        var init = print(path.get(\"init\")),\n            sep = init.length > 1 ? \";\\n\" : \"; \",\n            forParen = \"for (\",\n            indented = fromString(sep).join([\n                init,\n                print(path.get(\"test\")),\n                print(path.get(\"update\"))\n            ]).indentTail(forParen.length),\n            head = concat([forParen, indented, \")\"]),\n            clause = adjustClause(print(path.get(\"body\")), options),\n            parts = [head];\n\n        if (head.length > 1) {\n            parts.push(\"\\n\");\n            clause = clause.trimLeft();\n        }\n\n        parts.push(clause);\n\n        return concat(parts);\n\n    case \"WhileStatement\":\n        return concat([\n            \"while (\",\n            print(path.get(\"test\")),\n            \")\",\n            adjustClause(print(path.get(\"body\")), options)\n        ]);\n\n    case \"ForInStatement\":\n        // Note: esprima can't actually parse \"for each (\".\n        return concat([\n            n.each ? \"for each (\" : \"for (\",\n            print(path.get(\"left\")),\n            \" in \",\n            print(path.get(\"right\")),\n            \")\",\n            adjustClause(print(path.get(\"body\")), options)\n        ]);\n\n    case \"ForOfStatement\":\n        return concat([\n            \"for (\",\n            print(path.get(\"left\")),\n            \" of \",\n            print(path.get(\"right\")),\n            \")\",\n            adjustClause(print(path.get(\"body\")), options)\n        ]);\n\n    case \"DoWhileStatement\":\n        var doBody = concat([\n            \"do\",\n            adjustClause(print(path.get(\"body\")), options)\n        ]), parts = [doBody];\n\n        if (endsWithBrace(doBody))\n            parts.push(\" while\");\n        else\n            parts.push(\"\\nwhile\");\n\n        parts.push(\" (\", print(path.get(\"test\")), \");\");\n\n        return concat(parts);\n\n    case \"BreakStatement\":\n        var parts = [\"break\"];\n        if (n.label)\n            parts.push(\" \", print(path.get(\"label\")));\n        return concat(parts);\n\n    case \"ContinueStatement\":\n        var parts = [\"continue\"];\n        if (n.label)\n            parts.push(\" \", print(path.get(\"label\")));\n        return concat(parts);\n\n    case \"LabeledStatement\":\n        return concat([\n            print(path.get(\"label\")),\n            \":\\n\",\n            print(path.get(\"body\"))\n        ]);\n\n    case \"TryStatement\":\n        var parts = [\n            \"try \",\n            print(path.get(\"block\"))\n        ];\n\n        parts.push(print(path.get(\"handler\")))\n        // n.handlers.forEach(function(handler) {\n        //     parts.push(\" \", print(handler));\n        // });\n\n        if (n.finalizer)\n            parts.push(\" finally \", print(path.get(\"finalizer\")));\n\n        return concat(parts);\n\n    case \"CatchClause\":\n        var parts = [\"catch (\", print(path.get(\"param\"))];\n\n        if (n.guard)\n            // Note: esprima does not recognize conditional catch clauses.\n            parts.push(\" if \", print(path.get(\"guard\")));\n\n        parts.push(\") \", print(path.get(\"body\")));\n\n        return concat(parts);\n\n    case \"ThrowStatement\":\n        return concat([\n            \"throw \",\n            print(path.get(\"argument\"))\n        ]);\n\n    case \"SwitchStatement\":\n        return concat([\n            \"switch (\",\n            print(path.get(\"discriminant\")),\n            \") {\\n\",\n            fromString(\"\\n\").join(path.get(\"cases\").map(print)),\n            \"\\n}\"\n        ]);\n\n        // Note: ignoring n.lexical because it has no printing consequences.\n\n    case \"SwitchCase\":\n        var parts = [];\n\n        if (n.test)\n            parts.push(\"case \", print(path.get(\"test\")), \":\");\n        else\n            parts.push(\"default:\");\n\n        if (n.consequent.length > 0) {\n            parts.push(\"\\n\", printStatementSequence(\n                path.get(\"consequent\"),\n                print\n            ).indent(options.tabWidth));\n        }\n\n        return concat(parts);\n\n    case \"DebuggerStatement\":\n        return fromString(\"debugger\");\n\n    // XJS extensions below.\n\n    case \"XJSAttribute\":\n        var parts = [print(path.get(\"name\"))];\n        if (n.value)\n            parts.push(\"=\", print(path.get(\"value\")));\n        return concat(parts);\n\n    case \"XJSIdentifier\":\n        var str = n.name;\n        if (typeof n.namespace === \"string\")\n            str = n.namespace + \":\" + str;\n        return fromString(str, options);\n\n    case \"XJSExpressionContainer\":\n        return concat([\"{\", print(path.get(\"expression\")), \"}\"]);\n\n    case \"XJSElement\":\n        var parts = [print(path.get(\"openingElement\"))];\n\n        if (!n.selfClosing) {\n            parts.push(\n                concat(path.get(\"children\").map(function(childPath) {\n                    var child = childPath.value;\n                    if (namedTypes.Literal.check(child))\n                        child.type = \"XJSText\";\n                    return print(childPath);\n                })),\n                print(path.get(\"closingElement\"))\n            );\n        }\n\n        return concat(parts);\n\n    case \"XJSOpeningElement\":\n        var parts = [\"<\", print(path.get(\"name\"))];\n\n        n.attributes.forEach(function(attr) {\n            parts.push(\" \", print(attr));\n        });\n\n        parts.push(n.selfClosing ? \" />\" : \">\");\n\n        return concat(parts);\n\n    case \"XJSClosingElement\":\n        return concat([\"</\", print(path.get(\"name\")), \">\"]);\n\n    case \"XJSText\":\n        return fromString(n.value, options);\n\n    case \"XJSEmptyExpression\":\n        return fromString(\"\");\n\n    case \"TypeAnnotatedIdentifier\":\n        var parts = [\n            print(path.get(\"annotation\")),\n            \" \",\n            print(path.get(\"identifier\"))\n        ];\n\n        return concat(parts);\n\n    case \"ClassBody\":\n        return concat([\n            \"{\\n\",\n            printStatementSequence(path.get(\"body\"), print, true)\n                .indent(options.tabWidth),\n            \"\\n}\"\n        ]);\n\n    case \"ClassPropertyDefinition\":\n        var parts = [\"static \", print(path.get(\"definition\"))];\n        if (!namedTypes.MethodDefinition.check(n.definition))\n            parts.push(\";\");\n        return concat(parts);\n\n    case \"ClassDeclaration\":\n    case \"ClassExpression\":\n        var parts = [\"class\"];\n\n        if (n.id)\n            parts.push(\" \", print(path.get(\"id\")));\n\n        if (n.superClass)\n            parts.push(\" extends \", print(path.get(\"superClass\")));\n\n        parts.push(\" \", print(path.get(\"body\")));\n\n        return concat(parts);\n\n    // Unhandled types below. If encountered, nodes of these types should\n    // be either left alone or desugared into AST types that are fully\n    // supported by the pretty-printer.\n\n    case \"ClassHeritage\": // TODO\n    case \"ComprehensionBlock\": // TODO\n    case \"ComprehensionExpression\": // TODO\n    case \"Glob\": // TODO\n    case \"TaggedTemplateExpression\": // TODO\n    case \"TemplateElement\": // TODO\n    case \"TemplateLiteral\": // TODO\n    case \"GeneratorExpression\": // TODO\n    case \"LetStatement\": // TODO\n    case \"LetExpression\": // TODO\n    case \"GraphExpression\": // TODO\n    case \"GraphIndexExpression\": // TODO\n    case \"TypeAnnotation\": // TODO\n    default:\n        debugger;\n        throw new Error(\"unknown type: \" + JSON.stringify(n.type));\n    }\n\n    return p;\n}\n\nfunction printStatementSequence(path, print, inClassBody) {\n    var filtered = path.filter(function(stmtPath) {\n        var stmt = stmtPath.value;\n\n        // Just in case the AST has been modified to contain falsy\n        // \"statements,\" it's safer simply to skip them.\n        if (!stmt)\n            return false;\n\n        // Skip printing EmptyStatement nodes to avoid leaving stray\n        // semicolons lying around.\n        if (stmt.type === \"EmptyStatement\")\n            return false;\n\n        namedTypes.Statement.assert(stmt);\n\n        return true;\n    });\n\n    var allowBreak = false,\n        len = filtered.length,\n        parts = [];\n\n    filtered.map(function(stmtPath) {\n        var lines = print(stmtPath);\n        var stmt = stmtPath.value;\n\n        if (inClassBody) {\n            if (namedTypes.MethodDefinition.check(stmt))\n                return lines;\n\n            if (namedTypes.ClassPropertyDefinition.check(stmt) &&\n                namedTypes.MethodDefinition.check(stmt.definition))\n                return lines;\n        }\n\n        // Try to add a semicolon to anything that isn't a method in a\n        // class body.\n        return maybeAddSemicolon(lines);\n\n    }).forEach(function(lines, i) {\n        var multiLine = lines.length > 1;\n        if (multiLine && allowBreak) {\n            // Insert an additional line break before multi-line\n            // statements, if we did not insert an extra line break\n            // after the previous statement.\n            parts.push(\"\\n\");\n        }\n\n        if (!inClassBody)\n            lines = maybeAddSemicolon(lines);\n\n        parts.push(lines);\n\n        if (i < len - 1) {\n            // Add an extra line break if the previous statement\n            // spanned multiple lines.\n            parts.push(multiLine ? \"\\n\\n\" : \"\\n\");\n\n            // Avoid adding another line break if we just added an\n            // extra one.\n            allowBreak = !multiLine;\n        }\n    });\n\n    return concat(parts);\n}\n\nfunction maybeWrapParams(path, options, print) {\n    var printed = path.map(print);\n    var joined = fromString(\", \").join(printed);\n    if (joined.length > 1 ||\n        joined.getLineLength(1) > options.wrapColumn) {\n        joined = fromString(\",\\n\").join(printed);\n        return concat([\"\\n\", joined.indent(options.tabWidth)]);\n    }\n    return joined;\n}\n\nfunction adjustClause(clause, options) {\n    if (clause.length > 1)\n        return concat([\" \", clause]);\n\n    return concat([\n        \"\\n\",\n        maybeAddSemicolon(clause).indent(options.tabWidth)\n    ]);\n}\n\nfunction lastNonSpaceCharacter(lines) {\n    var pos = lines.lastPos();\n    do {\n        var ch = lines.charAt(pos);\n        if (/\\S/.test(ch))\n            return ch;\n    } while (lines.prevPos(pos));\n}\n\nfunction endsWithBrace(lines) {\n    return lastNonSpaceCharacter(lines) === \"}\";\n}\n\nfunction nodeStrEscape(str) {\n    return str.replace(/\\\\/g, \"\\\\\\\\\")\n              .replace(/\"/g, \"\\\\\\\"\")\n              // The previous line messes up my syntax highlighting\n              // unless this comment includes a \" character.\n              .replace(/\\n/g, \"\\\\n\")\n              .replace(/\\r/g, \"\\\\r\")\n              .replace(/</g, \"\\\\u003C\")\n              .replace(/>/g, \"\\\\u003E\");\n}\n\nfunction nodeStr(n) {\n    if (/[\\u0000-\\u001F\\u0080-\\uFFFF]/.test(n.value)) {\n        // use the convoluted algorithm to avoid broken low/high characters\n        var str = \"\";\n        for (var i = 0; i < n.value.length; i++) {\n            var c = n.value[i];\n            if (c <= \"\\x1F\" || c >= \"\\x80\") {\n                var cc = c.charCodeAt(0).toString(16);\n                while (cc.length < 4) cc = \"0\" + cc;\n                str += \"\\\\u\" + cc;\n            } else {\n                str += nodeStrEscape(c);\n            }\n        }\n        return '\"' + str + '\"';\n    }\n\n    return '\"' + nodeStrEscape(n.value) + '\"';\n}\n\nfunction maybeAddSemicolon(lines) {\n    var eoc = lastNonSpaceCharacter(lines);\n    if (eoc && \"\\n};\".indexOf(eoc) < 0)\n        return concat([lines, \";\"]);\n    return lines;\n}\n\n},{\"./comments\":42,\"./lines\":43,\"./options\":45,\"./patcher\":47,\"./types\":49,\"./util\":50,\"assert\":65,\"source-map\":54}],49:[function(require,module,exports){\nvar types = require(\"ast-types\");\nvar def = types.Type.def;\n\ndef(\"File\")\n    .bases(\"Node\")\n    .build(\"program\")\n    .field(\"program\", def(\"Program\"));\n\ntypes.finalize();\n\nmodule.exports = types;\n\n},{\"ast-types\":19}],50:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar getFieldValue = require(\"./types\").getFieldValue;\nvar sourceMap = require(\"source-map\");\nvar SourceMapConsumer = sourceMap.SourceMapConsumer;\nvar SourceMapGenerator = sourceMap.SourceMapGenerator;\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nfunction getUnionOfKeys(obj) {\n    for (var i = 0, key,\n             result = {},\n             objs = arguments,\n             argc = objs.length;\n         i < argc;\n         i += 1)\n    {\n        obj = objs[i];\n        for (key in obj)\n            if (hasOwn.call(obj, key))\n                result[key] = true;\n    }\n    return result;\n}\nexports.getUnionOfKeys = getUnionOfKeys;\n\nexports.assertEquivalent = function(a, b) {\n    if (!deepEquivalent(a, b)) {\n        throw new Error(\n            JSON.stringify(a) + \" not equivalent to \" +\n            JSON.stringify(b)\n        );\n    }\n};\n\nfunction deepEquivalent(a, b) {\n    if (a === b)\n        return true;\n\n    if (a instanceof Array)\n        return deepArrEquiv(a, b);\n\n    if (typeof a === \"object\")\n        return deepObjEquiv(a, b);\n\n    return false;\n}\nexports.deepEquivalent = deepEquivalent;\n\nfunction deepArrEquiv(a, b) {\n    assert.ok(a instanceof Array);\n    var len = a.length;\n\n    if (!(b instanceof Array &&\n          b.length === len))\n        return false;\n\n    for (var i = 0; i < len; ++i) {\n        if (i in a !== i in b)\n            return false;\n\n        if (!deepEquivalent(a[i], b[i]))\n            return false;\n    }\n\n    return true;\n}\n\nfunction deepObjEquiv(a, b) {\n    assert.strictEqual(typeof a, \"object\");\n    if (!a || !b || typeof b !== \"object\")\n        return false;\n\n    for (var key in getUnionOfKeys(a, b)) {\n        if (key === \"loc\" ||\n            key === \"range\" ||\n            key === \"comments\" ||\n            key === \"raw\")\n            continue;\n\n        if (!deepEquivalent(getFieldValue(a, key),\n                            getFieldValue(b, key)))\n        {\n            return false;\n        }\n    }\n\n    return true;\n}\n\nfunction comparePos(pos1, pos2) {\n    return (pos1.line - pos2.line) || (pos1.column - pos2.column);\n}\nexports.comparePos = comparePos;\n\nexports.composeSourceMaps = function(formerMap, latterMap) {\n    if (formerMap) {\n        if (!latterMap) {\n            return formerMap;\n        }\n    } else {\n        return latterMap || null;\n    }\n\n    var smcFormer = new SourceMapConsumer(formerMap);\n    var smcLatter = new SourceMapConsumer(latterMap);\n    var smg = new SourceMapGenerator({\n        file: latterMap.file,\n        sourceRoot: latterMap.sourceRoot\n    });\n\n    var sourcesToContents = {};\n\n    smcLatter.eachMapping(function(mapping) {\n        var origPos = smcFormer.originalPositionFor({\n            line: mapping.originalLine,\n            column: mapping.originalColumn\n        });\n\n        var sourceName = origPos.source;\n\n        smg.addMapping({\n            source: sourceName,\n            original: {\n                line: origPos.line,\n                column: origPos.column\n            },\n            generated: {\n                line: mapping.generatedLine,\n                column: mapping.generatedColumn\n            },\n            name: mapping.name\n        });\n\n        var sourceContent = smcFormer.sourceContentFor(sourceName);\n        if (sourceContent && !hasOwn.call(sourcesToContents, sourceName)) {\n            sourcesToContents[sourceName] = sourceContent;\n            smg.setSourceContent(sourceName, sourceContent);\n        }\n    });\n\n    return smg.toJSON();\n};\n\n},{\"./types\":49,\"assert\":65,\"source-map\":54}],51:[function(require,module,exports){\nvar assert = require(\"assert\");\nvar Class = require(\"cls\");\nvar Node = require(\"./types\").namedTypes.Node;\nvar slice = Array.prototype.slice;\nvar removeRequests = [];\n\nvar Visitor = exports.Visitor = Class.extend({\n    visit: function(node) {\n        var self = this;\n\n        if (!node) {\n            // pass\n\n        } else if (node instanceof Array) {\n            node = self.visitArray(node);\n\n        } else if (Node.check(node)) {\n            var methodName = \"visit\" + node.type,\n                method = self[methodName] || self.genericVisit;\n            node = method.call(this, node);\n\n        } else if (typeof node === \"object\") {\n            // Some AST node types contain ad-hoc (non-AST) objects that\n            // may contain nested AST nodes.\n            self.genericVisit(node);\n        }\n\n        return node;\n    },\n\n    visitArray: function(arr, noUpdate) {\n        for (var elem, result, undef,\n                 i = 0, len = arr.length;\n             i < len;\n             i += 1)\n        {\n            if (i in arr)\n                elem = arr[i];\n            else\n                continue;\n\n            var requesters = [];\n            removeRequests.push(requesters);\n\n            // Make sure we don't accidentally reuse a previous result\n            // when this.visit throws an exception.\n            result = undef;\n\n            try {\n                result = this.visit(elem);\n\n            } finally {\n                assert.strictEqual(\n                    removeRequests.pop(),\n                    requesters);\n            }\n\n            if (requesters.length > 0 || result === null) {\n                // This hole will be elided by the compaction loop below.\n                delete arr[i];\n            } else if (result !== undef) {\n                arr[i] = result;\n            }\n        }\n\n        // Compact the array to eliminate holes.\n        for (var dst = 0,\n                 src = dst,\n                 // The length of the array might have changed during the\n                 // iteration performed above.\n                 len = arr.length;\n             src < len;\n             src += 1)\n            if (src in arr)\n                arr[dst++] = arr[src];\n        arr.length = dst;\n\n        return arr;\n    },\n\n    remove: function() {\n        var len = removeRequests.length,\n            requesters = removeRequests[len - 1];\n        if (requesters)\n            requesters.push(this);\n    },\n\n    genericVisit: function(node) {\n        var field,\n            oldValue,\n            newValue;\n\n        for (field in node) {\n            if (!node.hasOwnProperty(field))\n                continue;\n\n            oldValue = node[field];\n\n            if (oldValue instanceof Array) {\n                this.visitArray(oldValue);\n\n            } else if (Node.check(oldValue)) {\n                newValue = this.visit(oldValue);\n\n                if (typeof newValue === \"undefined\") {\n                    // Keep oldValue.\n                } else {\n                    node[field] = newValue;\n                }\n\n            } else if (typeof oldValue === \"object\") {\n                this.genericVisit(oldValue);\n            }\n        }\n\n        return node;\n    }\n});\n\n},{\"./types\":49,\"assert\":65,\"cls\":53}],52:[function(require,module,exports){\nvar process=require(\"__browserify_process\");var types = require(\"./lib/types\");\nvar parse = require(\"./lib/parser\").parse;\nvar Printer = require(\"./lib/printer\").Printer;\n\nfunction print(node, options) {\n    return new Printer(options).print(node);\n}\n\nfunction prettyPrint(node, options) {\n    return new Printer(options).printGenerically(node);\n}\n\nfunction run(transformer, options) {\n    return runFile(process.argv[2], transformer, options);\n}\n\nfunction runFile(path, transformer, options) {\n    require(\"fs\").readFile(path, \"utf-8\", function(err, code) {\n        if (err) {\n            console.error(err);\n            return;\n        }\n\n        runString(code, transformer, options);\n    });\n}\n\nfunction defaultWriteback(output) {\n    process.stdout.write(output);\n}\n\nfunction runString(code, transformer, options) {\n    var writeback = options && options.writeback || defaultWriteback;\n    transformer(parse(code, options), function(node) {\n        writeback(print(node, options).code);\n    });\n}\n\nObject.defineProperties(exports, {\n    /**\n     * Parse a string of code into an augmented syntax tree suitable for\n     * arbitrary modification and reprinting.\n     */\n    parse: {\n        enumerable: true,\n        value: parse\n    },\n\n    /**\n     * Reprint a modified syntax tree using as much of the original source\n     * code as possible.\n     */\n    print: {\n        enumerable: true,\n        value: print\n    },\n\n    /**\n     * Print without attempting to reuse any original source code.\n     */\n    prettyPrint: {\n        enumerable: true,\n        value: prettyPrint\n    },\n\n    /**\n     * Customized version of require(\"ast-types\").\n     */\n    types: {\n        enumerable: true,\n        value: types\n    },\n\n    /**\n     * Convenient command-line interface (see e.g. example/add-braces).\n     */\n    run: {\n        enumerable: true,\n        value: run\n    },\n\n    /**\n     * Useful utilities for implementing transformer functions.\n     */\n    Syntax: {\n        enumerable: false,\n        value: (function() {\n            var def = types.Type.def;\n            var Syntax = {};\n\n            Object.keys(types.namedTypes).forEach(function(name) {\n                if (def(name).buildable)\n                    Syntax[name] = name;\n            });\n\n            // These two types are buildable but do not technically count\n            // as syntax because they are not printable.\n            delete Syntax.SourceLocation;\n            delete Syntax.Position;\n\n            return Syntax;\n        })()\n    },\n\n    Visitor: {\n        enumerable: false,\n        value: require(\"./lib/visitor\").Visitor\n    }\n});\n\n},{\"./lib/parser\":46,\"./lib/printer\":48,\"./lib/types\":49,\"./lib/visitor\":51,\"__browserify_process\":67,\"fs\":64}],53:[function(require,module,exports){\n// Sentinel value passed to base constructors to skip invoking this.init.\nvar populating = {};\n\nfunction makeClass(base, newProps) {\n    var baseProto = base.prototype;\n    var ownProto = Object.create(baseProto);\n    var newStatics = newProps.statics;\n    var populated;\n\n    function constructor() {\n        if (!populated) {\n            if (base.extend === extend) {\n                // Ensure population of baseProto if base created by makeClass.\n                base.call(populating);\n            }\n\n            // Wrap override methods to make this._super available.\n            populate(ownProto, newProps, baseProto);\n\n            // Help the garbage collector reclaim this object, since we\n            // don't need it anymore.\n            newProps = null;\n\n            populated = true;\n        }\n\n        // When we invoke a constructor just for the sake of making sure\n        // its prototype has been populated, the receiver object (this)\n        // will be strictly equal to the populating object, which means we\n        // want to avoid invoking this.init.\n        if (this === populating)\n            return;\n\n        // Evaluate this.init only once to avoid looking up .init in the\n        // prototype chain twice.\n        var init = this.init;\n        if (init)\n            init.apply(this, arguments);\n    }\n\n    // Copy any static properties that have been assigned to the base\n    // class over to the subclass.\n    populate(constructor, base);\n\n    if (newStatics) {\n        // Remove the statics property from newProps so that it does not\n        // get copied to the prototype.\n        delete newProps.statics;\n\n        // We re-use populate for static properties, so static methods\n        // have the same access to this._super that normal methods have.\n        populate(constructor, newStatics, base);\n\n        // Help the GC reclaim this object.\n        newStatics = null;\n    }\n\n    // These property assignments overwrite any properties of the same\n    // name that may have been copied from base, above. Note that ownProto\n    // has not been populated with any methods or properties, yet, because\n    // we postpone that work until the subclass is instantiated for the\n    // first time. Also note that we share a single implementation of\n    // extend between all classes.\n    constructor.prototype = ownProto;\n    constructor.extend = extend;\n    constructor.base = baseProto;\n\n    // Setting constructor.prototype.constructor = constructor is\n    // important so that instanceof works properly in all browsers.\n    ownProto.constructor = constructor;\n\n    // Setting .cls as a shorthand for .constructor is purely a\n    // convenience to make calling static methods easier.\n    ownProto.cls = constructor;\n\n    // If there is a static initializer, call it now. This needs to happen\n    // last so that the constructor is ready to be used if, for example,\n    // constructor.init needs to create an instance of the new class.\n    if (constructor.init)\n        constructor.init(constructor);\n\n    return constructor;\n}\n\nfunction populate(target, source, parent) {\n    for (var name in source)\n        if (source.hasOwnProperty(name))\n            target[name] = parent ? maybeWrap(name, source, parent) : source[name];\n}\n\nvar hasOwnExp = /\\bhasOwnProperty\\b/;\nvar superExp = hasOwnExp.test(populate) ? /\\b_super\\b/ : /.*/;\n\nfunction maybeWrap(name, child, parent) {\n    var cval = child && child[name];\n    var pval = parent && parent[name];\n\n    if (typeof cval === \"function\" &&\n        typeof pval === \"function\" &&\n        cval !== pval && // Avoid infinite recursion.\n        cval.extend !== extend && // Don't wrap classes.\n        superExp.test(cval)) // Only wrap if this._super needed.\n    {\n        return function() {\n            var saved = this._super;\n            this._super = parent[name];\n            try { return cval.apply(this, arguments) }\n            finally { this._super = saved };\n        };\n    }\n\n    return cval;\n}\n\nfunction extend(newProps) {\n    return makeClass(this, newProps || {});\n}\n\nmodule.exports = extend.call(function(){});\n\n},{}],54:[function(require,module,exports){\n/*\n * Copyright 2009-2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE.txt or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nexports.SourceMapGenerator = require('./source-map/source-map-generator').SourceMapGenerator;\nexports.SourceMapConsumer = require('./source-map/source-map-consumer').SourceMapConsumer;\nexports.SourceNode = require('./source-map/source-node').SourceNode;\n\n},{\"./source-map/source-map-consumer\":59,\"./source-map/source-map-generator\":60,\"./source-map/source-node\":61}],55:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module, require);\n}\ndefine(function (require, exports, module) {\n\n  var util = require('./util');\n\n  /**\n   * A data structure which is a combination of an array and a set. Adding a new\n   * member is O(1), testing for membership is O(1), and finding the index of an\n   * element is O(1). Removing elements from the set is not supported. Only\n   * strings are supported for membership.\n   */\n  function ArraySet() {\n    this._array = [];\n    this._set = {};\n  }\n\n  /**\n   * Static method for creating ArraySet instances from an existing array.\n   */\n  ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n    var set = new ArraySet();\n    for (var i = 0, len = aArray.length; i < len; i++) {\n      set.add(aArray[i], aAllowDuplicates);\n    }\n    return set;\n  };\n\n  /**\n   * Add the given string to this set.\n   *\n   * @param String aStr\n   */\n  ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n    var isDuplicate = this.has(aStr);\n    var idx = this._array.length;\n    if (!isDuplicate || aAllowDuplicates) {\n      this._array.push(aStr);\n    }\n    if (!isDuplicate) {\n      this._set[util.toSetString(aStr)] = idx;\n    }\n  };\n\n  /**\n   * Is the given string a member of this set?\n   *\n   * @param String aStr\n   */\n  ArraySet.prototype.has = function ArraySet_has(aStr) {\n    return Object.prototype.hasOwnProperty.call(this._set,\n                                                util.toSetString(aStr));\n  };\n\n  /**\n   * What is the index of the given string in the array?\n   *\n   * @param String aStr\n   */\n  ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n    if (this.has(aStr)) {\n      return this._set[util.toSetString(aStr)];\n    }\n    throw new Error('\"' + aStr + '\" is not in the set.');\n  };\n\n  /**\n   * What is the element at the given index?\n   *\n   * @param Number aIdx\n   */\n  ArraySet.prototype.at = function ArraySet_at(aIdx) {\n    if (aIdx >= 0 && aIdx < this._array.length) {\n      return this._array[aIdx];\n    }\n    throw new Error('No element indexed by ' + aIdx);\n  };\n\n  /**\n   * Returns the array representation of this set (which has the proper indices\n   * indicated by indexOf). Note that this is a copy of the internal array used\n   * for storing the members so that no one can mess with internal state.\n   */\n  ArraySet.prototype.toArray = function ArraySet_toArray() {\n    return this._array.slice();\n  };\n\n  exports.ArraySet = ArraySet;\n\n});\n\n},{\"./util\":62,\"amdefine\":63}],56:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * Based on the Base 64 VLQ implementation in Closure Compiler:\n * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n *\n * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *  * Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n *  * Redistributions in binary form must reproduce the above\n *    copyright notice, this list of conditions and the following\n *    disclaimer in the documentation and/or other materials provided\n *    with the distribution.\n *  * Neither the name of Google Inc. nor the names of its\n *    contributors may be used to endorse or promote products derived\n *    from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module, require);\n}\ndefine(function (require, exports, module) {\n\n  var base64 = require('./base64');\n\n  // A single base 64 digit can contain 6 bits of data. For the base 64 variable\n  // length quantities we use in the source map spec, the first bit is the sign,\n  // the next four bits are the actual value, and the 6th bit is the\n  // continuation bit. The continuation bit tells us whether there are more\n  // digits in this value following this digit.\n  //\n  //   Continuation\n  //   |    Sign\n  //   |    |\n  //   V    V\n  //   101011\n\n  var VLQ_BASE_SHIFT = 5;\n\n  // binary: 100000\n  var VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n  // binary: 011111\n  var VLQ_BASE_MASK = VLQ_BASE - 1;\n\n  // binary: 100000\n  var VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n  /**\n   * Converts from a two-complement value to a value where the sign bit is\n   * is placed in the least significant bit.  For example, as decimals:\n   *   1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n   *   2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n   */\n  function toVLQSigned(aValue) {\n    return aValue < 0\n      ? ((-aValue) << 1) + 1\n      : (aValue << 1) + 0;\n  }\n\n  /**\n   * Converts to a two-complement value from a value where the sign bit is\n   * is placed in the least significant bit.  For example, as decimals:\n   *   2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n   *   4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n   */\n  function fromVLQSigned(aValue) {\n    var isNegative = (aValue & 1) === 1;\n    var shifted = aValue >> 1;\n    return isNegative\n      ? -shifted\n      : shifted;\n  }\n\n  /**\n   * Returns the base 64 VLQ encoded value.\n   */\n  exports.encode = function base64VLQ_encode(aValue) {\n    var encoded = \"\";\n    var digit;\n\n    var vlq = toVLQSigned(aValue);\n\n    do {\n      digit = vlq & VLQ_BASE_MASK;\n      vlq >>>= VLQ_BASE_SHIFT;\n      if (vlq > 0) {\n        // There are still more digits in this value, so we must make sure the\n        // continuation bit is marked.\n        digit |= VLQ_CONTINUATION_BIT;\n      }\n      encoded += base64.encode(digit);\n    } while (vlq > 0);\n\n    return encoded;\n  };\n\n  /**\n   * Decodes the next base 64 VLQ value from the given string and returns the\n   * value and the rest of the string.\n   */\n  exports.decode = function base64VLQ_decode(aStr) {\n    var i = 0;\n    var strLen = aStr.length;\n    var result = 0;\n    var shift = 0;\n    var continuation, digit;\n\n    do {\n      if (i >= strLen) {\n        throw new Error(\"Expected more digits in base 64 VLQ value.\");\n      }\n      digit = base64.decode(aStr.charAt(i++));\n      continuation = !!(digit & VLQ_CONTINUATION_BIT);\n      digit &= VLQ_BASE_MASK;\n      result = result + (digit << shift);\n      shift += VLQ_BASE_SHIFT;\n    } while (continuation);\n\n    return {\n      value: fromVLQSigned(result),\n      rest: aStr.slice(i)\n    };\n  };\n\n});\n\n},{\"./base64\":57,\"amdefine\":63}],57:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module, require);\n}\ndefine(function (require, exports, module) {\n\n  var charToIntMap = {};\n  var intToCharMap = {};\n\n  'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\n    .split('')\n    .forEach(function (ch, index) {\n      charToIntMap[ch] = index;\n      intToCharMap[index] = ch;\n    });\n\n  /**\n   * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n   */\n  exports.encode = function base64_encode(aNumber) {\n    if (aNumber in intToCharMap) {\n      return intToCharMap[aNumber];\n    }\n    throw new TypeError(\"Must be between 0 and 63: \" + aNumber);\n  };\n\n  /**\n   * Decode a single base 64 digit to an integer.\n   */\n  exports.decode = function base64_decode(aChar) {\n    if (aChar in charToIntMap) {\n      return charToIntMap[aChar];\n    }\n    throw new TypeError(\"Not a valid base 64 digit: \" + aChar);\n  };\n\n});\n\n},{\"amdefine\":63}],58:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module, require);\n}\ndefine(function (require, exports, module) {\n\n  /**\n   * Recursive implementation of binary search.\n   *\n   * @param aLow Indices here and lower do not contain the needle.\n   * @param aHigh Indices here and higher do not contain the needle.\n   * @param aNeedle The element being searched for.\n   * @param aHaystack The non-empty array being searched.\n   * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n   */\n  function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare) {\n    // This function terminates when one of the following is true:\n    //\n    //   1. We find the exact element we are looking for.\n    //\n    //   2. We did not find the exact element, but we can return the next\n    //      closest element that is less than that element.\n    //\n    //   3. We did not find the exact element, and there is no next-closest\n    //      element which is less than the one we are searching for, so we\n    //      return null.\n    var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n    var cmp = aCompare(aNeedle, aHaystack[mid], true);\n    if (cmp === 0) {\n      // Found the element we are looking for.\n      return aHaystack[mid];\n    }\n    else if (cmp > 0) {\n      // aHaystack[mid] is greater than our needle.\n      if (aHigh - mid > 1) {\n        // The element is in the upper half.\n        return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare);\n      }\n      // We did not find an exact match, return the next closest one\n      // (termination case 2).\n      return aHaystack[mid];\n    }\n    else {\n      // aHaystack[mid] is less than our needle.\n      if (mid - aLow > 1) {\n        // The element is in the lower half.\n        return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare);\n      }\n      // The exact needle element was not found in this haystack. Determine if\n      // we are in termination case (2) or (3) and return the appropriate thing.\n      return aLow < 0\n        ? null\n        : aHaystack[aLow];\n    }\n  }\n\n  /**\n   * This is an implementation of binary search which will always try and return\n   * the next lowest value checked if there is no exact hit. This is because\n   * mappings between original and generated line/col pairs are single points,\n   * and there is an implicit region between each of them, so a miss just means\n   * that you aren't on the very start of a region.\n   *\n   * @param aNeedle The element you are looking for.\n   * @param aHaystack The array that is being searched.\n   * @param aCompare A function which takes the needle and an element in the\n   *     array and returns -1, 0, or 1 depending on whether the needle is less\n   *     than, equal to, or greater than the element, respectively.\n   */\n  exports.search = function search(aNeedle, aHaystack, aCompare) {\n    return aHaystack.length > 0\n      ? recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, aCompare)\n      : null;\n  };\n\n});\n\n},{\"amdefine\":63}],59:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module, require);\n}\ndefine(function (require, exports, module) {\n\n  var util = require('./util');\n  var binarySearch = require('./binary-search');\n  var ArraySet = require('./array-set').ArraySet;\n  var base64VLQ = require('./base64-vlq');\n\n  /**\n   * A SourceMapConsumer instance represents a parsed source map which we can\n   * query for information about the original file positions by giving it a file\n   * position in the generated source.\n   *\n   * The only parameter is the raw source map (either as a JSON string, or\n   * already parsed to an object). According to the spec, source maps have the\n   * following attributes:\n   *\n   *   - version: Which version of the source map spec this map is following.\n   *   - sources: An array of URLs to the original source files.\n   *   - names: An array of identifiers which can be referrenced by individual mappings.\n   *   - sourceRoot: Optional. The URL root from which all sources are relative.\n   *   - sourcesContent: Optional. An array of contents of the original source files.\n   *   - mappings: A string of base64 VLQs which contain the actual mappings.\n   *   - file: The generated file this source map is associated with.\n   *\n   * Here is an example source map, taken from the source map spec[0]:\n   *\n   *     {\n   *       version : 3,\n   *       file: \"out.js\",\n   *       sourceRoot : \"\",\n   *       sources: [\"foo.js\", \"bar.js\"],\n   *       names: [\"src\", \"maps\", \"are\", \"fun\"],\n   *       mappings: \"AA,AB;;ABCDE;\"\n   *     }\n   *\n   * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n   */\n  function SourceMapConsumer(aSourceMap) {\n    var sourceMap = aSourceMap;\n    if (typeof aSourceMap === 'string') {\n      sourceMap = JSON.parse(aSourceMap.replace(/^\\)\\]\\}'/, ''));\n    }\n\n    var version = util.getArg(sourceMap, 'version');\n    var sources = util.getArg(sourceMap, 'sources');\n    // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n    // requires the array) to play nice here.\n    var names = util.getArg(sourceMap, 'names', []);\n    var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n    var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n    var mappings = util.getArg(sourceMap, 'mappings');\n    var file = util.getArg(sourceMap, 'file', null);\n\n    // Once again, Sass deviates from the spec and supplies the version as a\n    // string rather than a number, so we use loose equality checking here.\n    if (version != this._version) {\n      throw new Error('Unsupported version: ' + version);\n    }\n\n    // Pass `true` below to allow duplicate names and sources. While source maps\n    // are intended to be compressed and deduplicated, the TypeScript compiler\n    // sometimes generates source maps with duplicates in them. See Github issue\n    // #72 and bugzil.la/889492.\n    this._names = ArraySet.fromArray(names, true);\n    this._sources = ArraySet.fromArray(sources, true);\n\n    this.sourceRoot = sourceRoot;\n    this.sourcesContent = sourcesContent;\n    this._mappings = mappings;\n    this.file = file;\n  }\n\n  /**\n   * Create a SourceMapConsumer from a SourceMapGenerator.\n   *\n   * @param SourceMapGenerator aSourceMap\n   *        The source map that will be consumed.\n   * @returns SourceMapConsumer\n   */\n  SourceMapConsumer.fromSourceMap =\n    function SourceMapConsumer_fromSourceMap(aSourceMap) {\n      var smc = Object.create(SourceMapConsumer.prototype);\n\n      smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n      smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n      smc.sourceRoot = aSourceMap._sourceRoot;\n      smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n                                                              smc.sourceRoot);\n      smc.file = aSourceMap._file;\n\n      smc.__generatedMappings = aSourceMap._mappings.slice()\n        .sort(util.compareByGeneratedPositions);\n      smc.__originalMappings = aSourceMap._mappings.slice()\n        .sort(util.compareByOriginalPositions);\n\n      return smc;\n    };\n\n  /**\n   * The version of the source mapping spec that we are consuming.\n   */\n  SourceMapConsumer.prototype._version = 3;\n\n  /**\n   * The list of original sources.\n   */\n  Object.defineProperty(SourceMapConsumer.prototype, 'sources', {\n    get: function () {\n      return this._sources.toArray().map(function (s) {\n        return this.sourceRoot ? util.join(this.sourceRoot, s) : s;\n      }, this);\n    }\n  });\n\n  // `__generatedMappings` and `__originalMappings` are arrays that hold the\n  // parsed mapping coordinates from the source map's \"mappings\" attribute. They\n  // are lazily instantiated, accessed via the `_generatedMappings` and\n  // `_originalMappings` getters respectively, and we only parse the mappings\n  // and create these arrays once queried for a source location. We jump through\n  // these hoops because there can be many thousands of mappings, and parsing\n  // them is expensive, so we only want to do it if we must.\n  //\n  // Each object in the arrays is of the form:\n  //\n  //     {\n  //       generatedLine: The line number in the generated code,\n  //       generatedColumn: The column number in the generated code,\n  //       source: The path to the original source file that generated this\n  //               chunk of code,\n  //       originalLine: The line number in the original source that\n  //                     corresponds to this chunk of generated code,\n  //       originalColumn: The column number in the original source that\n  //                       corresponds to this chunk of generated code,\n  //       name: The name of the original symbol which generated this chunk of\n  //             code.\n  //     }\n  //\n  // All properties except for `generatedLine` and `generatedColumn` can be\n  // `null`.\n  //\n  // `_generatedMappings` is ordered by the generated positions.\n  //\n  // `_originalMappings` is ordered by the original positions.\n\n  SourceMapConsumer.prototype.__generatedMappings = null;\n  Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n    get: function () {\n      if (!this.__generatedMappings) {\n        this.__generatedMappings = [];\n        this.__originalMappings = [];\n        this._parseMappings(this._mappings, this.sourceRoot);\n      }\n\n      return this.__generatedMappings;\n    }\n  });\n\n  SourceMapConsumer.prototype.__originalMappings = null;\n  Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n    get: function () {\n      if (!this.__originalMappings) {\n        this.__generatedMappings = [];\n        this.__originalMappings = [];\n        this._parseMappings(this._mappings, this.sourceRoot);\n      }\n\n      return this.__originalMappings;\n    }\n  });\n\n  /**\n   * Parse the mappings in a string in to a data structure which we can easily\n   * query (the ordered arrays in the `this.__generatedMappings` and\n   * `this.__originalMappings` properties).\n   */\n  SourceMapConsumer.prototype._parseMappings =\n    function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n      var generatedLine = 1;\n      var previousGeneratedColumn = 0;\n      var previousOriginalLine = 0;\n      var previousOriginalColumn = 0;\n      var previousSource = 0;\n      var previousName = 0;\n      var mappingSeparator = /^[,;]/;\n      var str = aStr;\n      var mapping;\n      var temp;\n\n      while (str.length > 0) {\n        if (str.charAt(0) === ';') {\n          generatedLine++;\n          str = str.slice(1);\n          previousGeneratedColumn = 0;\n        }\n        else if (str.charAt(0) === ',') {\n          str = str.slice(1);\n        }\n        else {\n          mapping = {};\n          mapping.generatedLine = generatedLine;\n\n          // Generated column.\n          temp = base64VLQ.decode(str);\n          mapping.generatedColumn = previousGeneratedColumn + temp.value;\n          previousGeneratedColumn = mapping.generatedColumn;\n          str = temp.rest;\n\n          if (str.length > 0 && !mappingSeparator.test(str.charAt(0))) {\n            // Original source.\n            temp = base64VLQ.decode(str);\n            mapping.source = this._sources.at(previousSource + temp.value);\n            previousSource += temp.value;\n            str = temp.rest;\n            if (str.length === 0 || mappingSeparator.test(str.charAt(0))) {\n              throw new Error('Found a source, but no line and column');\n            }\n\n            // Original line.\n            temp = base64VLQ.decode(str);\n            mapping.originalLine = previousOriginalLine + temp.value;\n            previousOriginalLine = mapping.originalLine;\n            // Lines are stored 0-based\n            mapping.originalLine += 1;\n            str = temp.rest;\n            if (str.length === 0 || mappingSeparator.test(str.charAt(0))) {\n              throw new Error('Found a source and line, but no column');\n            }\n\n            // Original column.\n            temp = base64VLQ.decode(str);\n            mapping.originalColumn = previousOriginalColumn + temp.value;\n            previousOriginalColumn = mapping.originalColumn;\n            str = temp.rest;\n\n            if (str.length > 0 && !mappingSeparator.test(str.charAt(0))) {\n              // Original name.\n              temp = base64VLQ.decode(str);\n              mapping.name = this._names.at(previousName + temp.value);\n              previousName += temp.value;\n              str = temp.rest;\n            }\n          }\n\n          this.__generatedMappings.push(mapping);\n          if (typeof mapping.originalLine === 'number') {\n            this.__originalMappings.push(mapping);\n          }\n        }\n      }\n\n      this.__originalMappings.sort(util.compareByOriginalPositions);\n    };\n\n  /**\n   * Find the mapping that best matches the hypothetical \"needle\" mapping that\n   * we are searching for in the given \"haystack\" of mappings.\n   */\n  SourceMapConsumer.prototype._findMapping =\n    function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n                                           aColumnName, aComparator) {\n      // To return the position we are searching for, we must first find the\n      // mapping for the given position and then return the opposite position it\n      // points to. Because the mappings are sorted, we can use binary search to\n      // find the best mapping.\n\n      if (aNeedle[aLineName] <= 0) {\n        throw new TypeError('Line must be greater than or equal to 1, got '\n                            + aNeedle[aLineName]);\n      }\n      if (aNeedle[aColumnName] < 0) {\n        throw new TypeError('Column must be greater than or equal to 0, got '\n                            + aNeedle[aColumnName]);\n      }\n\n      return binarySearch.search(aNeedle, aMappings, aComparator);\n    };\n\n  /**\n   * Returns the original source, line, and column information for the generated\n   * source's line and column positions provided. The only argument is an object\n   * with the following properties:\n   *\n   *   - line: The line number in the generated source.\n   *   - column: The column number in the generated source.\n   *\n   * and an object is returned with the following properties:\n   *\n   *   - source: The original source file, or null.\n   *   - line: The line number in the original source, or null.\n   *   - column: The column number in the original source, or null.\n   *   - name: The original identifier, or null.\n   */\n  SourceMapConsumer.prototype.originalPositionFor =\n    function SourceMapConsumer_originalPositionFor(aArgs) {\n      var needle = {\n        generatedLine: util.getArg(aArgs, 'line'),\n        generatedColumn: util.getArg(aArgs, 'column')\n      };\n\n      var mapping = this._findMapping(needle,\n                                      this._generatedMappings,\n                                      \"generatedLine\",\n                                      \"generatedColumn\",\n                                      util.compareByGeneratedPositions);\n\n      if (mapping) {\n        var source = util.getArg(mapping, 'source', null);\n        if (source && this.sourceRoot) {\n          source = util.join(this.sourceRoot, source);\n        }\n        return {\n          source: source,\n          line: util.getArg(mapping, 'originalLine', null),\n          column: util.getArg(mapping, 'originalColumn', null),\n          name: util.getArg(mapping, 'name', null)\n        };\n      }\n\n      return {\n        source: null,\n        line: null,\n        column: null,\n        name: null\n      };\n    };\n\n  /**\n   * Returns the original source content. The only argument is the url of the\n   * original source file. Returns null if no original source content is\n   * availible.\n   */\n  SourceMapConsumer.prototype.sourceContentFor =\n    function SourceMapConsumer_sourceContentFor(aSource) {\n      if (!this.sourcesContent) {\n        return null;\n      }\n\n      if (this.sourceRoot) {\n        aSource = util.relative(this.sourceRoot, aSource);\n      }\n\n      if (this._sources.has(aSource)) {\n        return this.sourcesContent[this._sources.indexOf(aSource)];\n      }\n\n      var url;\n      if (this.sourceRoot\n          && (url = util.urlParse(this.sourceRoot))) {\n        // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n        // many users. We can help them out when they expect file:// URIs to\n        // behave like it would if they were running a local HTTP server. See\n        // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n        var fileUriAbsPath = aSource.replace(/^file:\\/\\//, \"\");\n        if (url.scheme == \"file\"\n            && this._sources.has(fileUriAbsPath)) {\n          return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n        }\n\n        if ((!url.path || url.path == \"/\")\n            && this._sources.has(\"/\" + aSource)) {\n          return this.sourcesContent[this._sources.indexOf(\"/\" + aSource)];\n        }\n      }\n\n      throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n    };\n\n  /**\n   * Returns the generated line and column information for the original source,\n   * line, and column positions provided. The only argument is an object with\n   * the following properties:\n   *\n   *   - source: The filename of the original source.\n   *   - line: The line number in the original source.\n   *   - column: The column number in the original source.\n   *\n   * and an object is returned with the following properties:\n   *\n   *   - line: The line number in the generated source, or null.\n   *   - column: The column number in the generated source, or null.\n   */\n  SourceMapConsumer.prototype.generatedPositionFor =\n    function SourceMapConsumer_generatedPositionFor(aArgs) {\n      var needle = {\n        source: util.getArg(aArgs, 'source'),\n        originalLine: util.getArg(aArgs, 'line'),\n        originalColumn: util.getArg(aArgs, 'column')\n      };\n\n      if (this.sourceRoot) {\n        needle.source = util.relative(this.sourceRoot, needle.source);\n      }\n\n      var mapping = this._findMapping(needle,\n                                      this._originalMappings,\n                                      \"originalLine\",\n                                      \"originalColumn\",\n                                      util.compareByOriginalPositions);\n\n      if (mapping) {\n        return {\n          line: util.getArg(mapping, 'generatedLine', null),\n          column: util.getArg(mapping, 'generatedColumn', null)\n        };\n      }\n\n      return {\n        line: null,\n        column: null\n      };\n    };\n\n  SourceMapConsumer.GENERATED_ORDER = 1;\n  SourceMapConsumer.ORIGINAL_ORDER = 2;\n\n  /**\n   * Iterate over each mapping between an original source/line/column and a\n   * generated line/column in this source map.\n   *\n   * @param Function aCallback\n   *        The function that is called with each mapping.\n   * @param Object aContext\n   *        Optional. If specified, this object will be the value of `this` every\n   *        time that `aCallback` is called.\n   * @param aOrder\n   *        Either `SourceMapConsumer.GENERATED_ORDER` or\n   *        `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n   *        iterate over the mappings sorted by the generated file's line/column\n   *        order or the original's source/line/column order, respectively. Defaults to\n   *        `SourceMapConsumer.GENERATED_ORDER`.\n   */\n  SourceMapConsumer.prototype.eachMapping =\n    function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n      var context = aContext || null;\n      var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n      var mappings;\n      switch (order) {\n      case SourceMapConsumer.GENERATED_ORDER:\n        mappings = this._generatedMappings;\n        break;\n      case SourceMapConsumer.ORIGINAL_ORDER:\n        mappings = this._originalMappings;\n        break;\n      default:\n        throw new Error(\"Unknown order of iteration.\");\n      }\n\n      var sourceRoot = this.sourceRoot;\n      mappings.map(function (mapping) {\n        var source = mapping.source;\n        if (source && sourceRoot) {\n          source = util.join(sourceRoot, source);\n        }\n        return {\n          source: source,\n          generatedLine: mapping.generatedLine,\n          generatedColumn: mapping.generatedColumn,\n          originalLine: mapping.originalLine,\n          originalColumn: mapping.originalColumn,\n          name: mapping.name\n        };\n      }).forEach(aCallback, context);\n    };\n\n  exports.SourceMapConsumer = SourceMapConsumer;\n\n});\n\n},{\"./array-set\":55,\"./base64-vlq\":56,\"./binary-search\":58,\"./util\":62,\"amdefine\":63}],60:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module, require);\n}\ndefine(function (require, exports, module) {\n\n  var base64VLQ = require('./base64-vlq');\n  var util = require('./util');\n  var ArraySet = require('./array-set').ArraySet;\n\n  /**\n   * An instance of the SourceMapGenerator represents a source map which is\n   * being built incrementally. To create a new one, you must pass an object\n   * with the following properties:\n   *\n   *   - file: The filename of the generated source.\n   *   - sourceRoot: An optional root for all URLs in this source map.\n   */\n  function SourceMapGenerator(aArgs) {\n    this._file = util.getArg(aArgs, 'file');\n    this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);\n    this._sources = new ArraySet();\n    this._names = new ArraySet();\n    this._mappings = [];\n    this._sourcesContents = null;\n  }\n\n  SourceMapGenerator.prototype._version = 3;\n\n  /**\n   * Creates a new SourceMapGenerator based on a SourceMapConsumer\n   *\n   * @param aSourceMapConsumer The SourceMap.\n   */\n  SourceMapGenerator.fromSourceMap =\n    function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {\n      var sourceRoot = aSourceMapConsumer.sourceRoot;\n      var generator = new SourceMapGenerator({\n        file: aSourceMapConsumer.file,\n        sourceRoot: sourceRoot\n      });\n      aSourceMapConsumer.eachMapping(function (mapping) {\n        var newMapping = {\n          generated: {\n            line: mapping.generatedLine,\n            column: mapping.generatedColumn\n          }\n        };\n\n        if (mapping.source) {\n          newMapping.source = mapping.source;\n          if (sourceRoot) {\n            newMapping.source = util.relative(sourceRoot, newMapping.source);\n          }\n\n          newMapping.original = {\n            line: mapping.originalLine,\n            column: mapping.originalColumn\n          };\n\n          if (mapping.name) {\n            newMapping.name = mapping.name;\n          }\n        }\n\n        generator.addMapping(newMapping);\n      });\n      aSourceMapConsumer.sources.forEach(function (sourceFile) {\n        var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n        if (content) {\n          generator.setSourceContent(sourceFile, content);\n        }\n      });\n      return generator;\n    };\n\n  /**\n   * Add a single mapping from original source line and column to the generated\n   * source's line and column for this source map being created. The mapping\n   * object should have the following properties:\n   *\n   *   - generated: An object with the generated line and column positions.\n   *   - original: An object with the original line and column positions.\n   *   - source: The original source file (relative to the sourceRoot).\n   *   - name: An optional original token name for this mapping.\n   */\n  SourceMapGenerator.prototype.addMapping =\n    function SourceMapGenerator_addMapping(aArgs) {\n      var generated = util.getArg(aArgs, 'generated');\n      var original = util.getArg(aArgs, 'original', null);\n      var source = util.getArg(aArgs, 'source', null);\n      var name = util.getArg(aArgs, 'name', null);\n\n      this._validateMapping(generated, original, source, name);\n\n      if (source && !this._sources.has(source)) {\n        this._sources.add(source);\n      }\n\n      if (name && !this._names.has(name)) {\n        this._names.add(name);\n      }\n\n      this._mappings.push({\n        generatedLine: generated.line,\n        generatedColumn: generated.column,\n        originalLine: original != null && original.line,\n        originalColumn: original != null && original.column,\n        source: source,\n        name: name\n      });\n    };\n\n  /**\n   * Set the source content for a source file.\n   */\n  SourceMapGenerator.prototype.setSourceContent =\n    function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {\n      var source = aSourceFile;\n      if (this._sourceRoot) {\n        source = util.relative(this._sourceRoot, source);\n      }\n\n      if (aSourceContent !== null) {\n        // Add the source content to the _sourcesContents map.\n        // Create a new _sourcesContents map if the property is null.\n        if (!this._sourcesContents) {\n          this._sourcesContents = {};\n        }\n        this._sourcesContents[util.toSetString(source)] = aSourceContent;\n      } else {\n        // Remove the source file from the _sourcesContents map.\n        // If the _sourcesContents map is empty, set the property to null.\n        delete this._sourcesContents[util.toSetString(source)];\n        if (Object.keys(this._sourcesContents).length === 0) {\n          this._sourcesContents = null;\n        }\n      }\n    };\n\n  /**\n   * Applies the mappings of a sub-source-map for a specific source file to the\n   * source map being generated. Each mapping to the supplied source file is\n   * rewritten using the supplied source map. Note: The resolution for the\n   * resulting mappings is the minimium of this map and the supplied map.\n   *\n   * @param aSourceMapConsumer The source map to be applied.\n   * @param aSourceFile Optional. The filename of the source file.\n   *        If omitted, SourceMapConsumer's file property will be used.\n   */\n  SourceMapGenerator.prototype.applySourceMap =\n    function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile) {\n      // If aSourceFile is omitted, we will use the file property of the SourceMap\n      if (!aSourceFile) {\n        aSourceFile = aSourceMapConsumer.file;\n      }\n      var sourceRoot = this._sourceRoot;\n      // Make \"aSourceFile\" relative if an absolute Url is passed.\n      if (sourceRoot) {\n        aSourceFile = util.relative(sourceRoot, aSourceFile);\n      }\n      // Applying the SourceMap can add and remove items from the sources and\n      // the names array.\n      var newSources = new ArraySet();\n      var newNames = new ArraySet();\n\n      // Find mappings for the \"aSourceFile\"\n      this._mappings.forEach(function (mapping) {\n        if (mapping.source === aSourceFile && mapping.originalLine) {\n          // Check if it can be mapped by the source map, then update the mapping.\n          var original = aSourceMapConsumer.originalPositionFor({\n            line: mapping.originalLine,\n            column: mapping.originalColumn\n          });\n          if (original.source !== null) {\n            // Copy mapping\n            if (sourceRoot) {\n              mapping.source = util.relative(sourceRoot, original.source);\n            } else {\n              mapping.source = original.source;\n            }\n            mapping.originalLine = original.line;\n            mapping.originalColumn = original.column;\n            if (original.name !== null && mapping.name !== null) {\n              // Only use the identifier name if it's an identifier\n              // in both SourceMaps\n              mapping.name = original.name;\n            }\n          }\n        }\n\n        var source = mapping.source;\n        if (source && !newSources.has(source)) {\n          newSources.add(source);\n        }\n\n        var name = mapping.name;\n        if (name && !newNames.has(name)) {\n          newNames.add(name);\n        }\n\n      }, this);\n      this._sources = newSources;\n      this._names = newNames;\n\n      // Copy sourcesContents of applied map.\n      aSourceMapConsumer.sources.forEach(function (sourceFile) {\n        var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n        if (content) {\n          if (sourceRoot) {\n            sourceFile = util.relative(sourceRoot, sourceFile);\n          }\n          this.setSourceContent(sourceFile, content);\n        }\n      }, this);\n    };\n\n  /**\n   * A mapping can have one of the three levels of data:\n   *\n   *   1. Just the generated position.\n   *   2. The Generated position, original position, and original source.\n   *   3. Generated and original position, original source, as well as a name\n   *      token.\n   *\n   * To maintain consistency, we validate that any new mapping being added falls\n   * in to one of these categories.\n   */\n  SourceMapGenerator.prototype._validateMapping =\n    function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,\n                                                aName) {\n      if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n          && aGenerated.line > 0 && aGenerated.column >= 0\n          && !aOriginal && !aSource && !aName) {\n        // Case 1.\n        return;\n      }\n      else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n               && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n               && aGenerated.line > 0 && aGenerated.column >= 0\n               && aOriginal.line > 0 && aOriginal.column >= 0\n               && aSource) {\n        // Cases 2 and 3.\n        return;\n      }\n      else {\n        throw new Error('Invalid mapping: ' + JSON.stringify({\n          generated: aGenerated,\n          source: aSource,\n          orginal: aOriginal,\n          name: aName\n        }));\n      }\n    };\n\n  /**\n   * Serialize the accumulated mappings in to the stream of base 64 VLQs\n   * specified by the source map format.\n   */\n  SourceMapGenerator.prototype._serializeMappings =\n    function SourceMapGenerator_serializeMappings() {\n      var previousGeneratedColumn = 0;\n      var previousGeneratedLine = 1;\n      var previousOriginalColumn = 0;\n      var previousOriginalLine = 0;\n      var previousName = 0;\n      var previousSource = 0;\n      var result = '';\n      var mapping;\n\n      // The mappings must be guaranteed to be in sorted order before we start\n      // serializing them or else the generated line numbers (which are defined\n      // via the ';' separators) will be all messed up. Note: it might be more\n      // performant to maintain the sorting as we insert them, rather than as we\n      // serialize them, but the big O is the same either way.\n      this._mappings.sort(util.compareByGeneratedPositions);\n\n      for (var i = 0, len = this._mappings.length; i < len; i++) {\n        mapping = this._mappings[i];\n\n        if (mapping.generatedLine !== previousGeneratedLine) {\n          previousGeneratedColumn = 0;\n          while (mapping.generatedLine !== previousGeneratedLine) {\n            result += ';';\n            previousGeneratedLine++;\n          }\n        }\n        else {\n          if (i > 0) {\n            if (!util.compareByGeneratedPositions(mapping, this._mappings[i - 1])) {\n              continue;\n            }\n            result += ',';\n          }\n        }\n\n        result += base64VLQ.encode(mapping.generatedColumn\n                                   - previousGeneratedColumn);\n        previousGeneratedColumn = mapping.generatedColumn;\n\n        if (mapping.source) {\n          result += base64VLQ.encode(this._sources.indexOf(mapping.source)\n                                     - previousSource);\n          previousSource = this._sources.indexOf(mapping.source);\n\n          // lines are stored 0-based in SourceMap spec version 3\n          result += base64VLQ.encode(mapping.originalLine - 1\n                                     - previousOriginalLine);\n          previousOriginalLine = mapping.originalLine - 1;\n\n          result += base64VLQ.encode(mapping.originalColumn\n                                     - previousOriginalColumn);\n          previousOriginalColumn = mapping.originalColumn;\n\n          if (mapping.name) {\n            result += base64VLQ.encode(this._names.indexOf(mapping.name)\n                                       - previousName);\n            previousName = this._names.indexOf(mapping.name);\n          }\n        }\n      }\n\n      return result;\n    };\n\n  SourceMapGenerator.prototype._generateSourcesContent =\n    function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n      return aSources.map(function (source) {\n        if (!this._sourcesContents) {\n          return null;\n        }\n        if (aSourceRoot) {\n          source = util.relative(aSourceRoot, source);\n        }\n        var key = util.toSetString(source);\n        return Object.prototype.hasOwnProperty.call(this._sourcesContents,\n                                                    key)\n          ? this._sourcesContents[key]\n          : null;\n      }, this);\n    };\n\n  /**\n   * Externalize the source map.\n   */\n  SourceMapGenerator.prototype.toJSON =\n    function SourceMapGenerator_toJSON() {\n      var map = {\n        version: this._version,\n        file: this._file,\n        sources: this._sources.toArray(),\n        names: this._names.toArray(),\n        mappings: this._serializeMappings()\n      };\n      if (this._sourceRoot) {\n        map.sourceRoot = this._sourceRoot;\n      }\n      if (this._sourcesContents) {\n        map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n      }\n\n      return map;\n    };\n\n  /**\n   * Render the source map being generated to a string.\n   */\n  SourceMapGenerator.prototype.toString =\n    function SourceMapGenerator_toString() {\n      return JSON.stringify(this);\n    };\n\n  exports.SourceMapGenerator = SourceMapGenerator;\n\n});\n\n},{\"./array-set\":55,\"./base64-vlq\":56,\"./util\":62,\"amdefine\":63}],61:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module, require);\n}\ndefine(function (require, exports, module) {\n\n  var SourceMapGenerator = require('./source-map-generator').SourceMapGenerator;\n  var util = require('./util');\n\n  /**\n   * SourceNodes provide a way to abstract over interpolating/concatenating\n   * snippets of generated JavaScript source code while maintaining the line and\n   * column information associated with the original source code.\n   *\n   * @param aLine The original line number.\n   * @param aColumn The original column number.\n   * @param aSource The original source's filename.\n   * @param aChunks Optional. An array of strings which are snippets of\n   *        generated JS, or other SourceNodes.\n   * @param aName The original identifier.\n   */\n  function SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n    this.children = [];\n    this.sourceContents = {};\n    this.line = aLine === undefined ? null : aLine;\n    this.column = aColumn === undefined ? null : aColumn;\n    this.source = aSource === undefined ? null : aSource;\n    this.name = aName === undefined ? null : aName;\n    if (aChunks != null) this.add(aChunks);\n  }\n\n  /**\n   * Creates a SourceNode from generated code and a SourceMapConsumer.\n   *\n   * @param aGeneratedCode The generated code\n   * @param aSourceMapConsumer The SourceMap for the generated code\n   */\n  SourceNode.fromStringWithSourceMap =\n    function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer) {\n      // The SourceNode we want to fill with the generated code\n      // and the SourceMap\n      var node = new SourceNode();\n\n      // The generated code\n      // Processed fragments are removed from this array.\n      var remainingLines = aGeneratedCode.split('\\n');\n\n      // We need to remember the position of \"remainingLines\"\n      var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\n      // The generate SourceNodes we need a code range.\n      // To extract it current and last mapping is used.\n      // Here we store the last mapping.\n      var lastMapping = null;\n\n      aSourceMapConsumer.eachMapping(function (mapping) {\n        if (lastMapping === null) {\n          // We add the generated code until the first mapping\n          // to the SourceNode without any mapping.\n          // Each line is added as separate string.\n          while (lastGeneratedLine < mapping.generatedLine) {\n            node.add(remainingLines.shift() + \"\\n\");\n            lastGeneratedLine++;\n          }\n          if (lastGeneratedColumn < mapping.generatedColumn) {\n            var nextLine = remainingLines[0];\n            node.add(nextLine.substr(0, mapping.generatedColumn));\n            remainingLines[0] = nextLine.substr(mapping.generatedColumn);\n            lastGeneratedColumn = mapping.generatedColumn;\n          }\n        } else {\n          // We add the code from \"lastMapping\" to \"mapping\":\n          // First check if there is a new line in between.\n          if (lastGeneratedLine < mapping.generatedLine) {\n            var code = \"\";\n            // Associate full lines with \"lastMapping\"\n            do {\n              code += remainingLines.shift() + \"\\n\";\n              lastGeneratedLine++;\n              lastGeneratedColumn = 0;\n            } while (lastGeneratedLine < mapping.generatedLine);\n            // When we reached the correct line, we add code until we\n            // reach the correct column too.\n            if (lastGeneratedColumn < mapping.generatedColumn) {\n              var nextLine = remainingLines[0];\n              code += nextLine.substr(0, mapping.generatedColumn);\n              remainingLines[0] = nextLine.substr(mapping.generatedColumn);\n              lastGeneratedColumn = mapping.generatedColumn;\n            }\n            // Create the SourceNode.\n            addMappingWithCode(lastMapping, code);\n          } else {\n            // There is no new line in between.\n            // Associate the code between \"lastGeneratedColumn\" and\n            // \"mapping.generatedColumn\" with \"lastMapping\"\n            var nextLine = remainingLines[0];\n            var code = nextLine.substr(0, mapping.generatedColumn -\n                                          lastGeneratedColumn);\n            remainingLines[0] = nextLine.substr(mapping.generatedColumn -\n                                                lastGeneratedColumn);\n            lastGeneratedColumn = mapping.generatedColumn;\n            addMappingWithCode(lastMapping, code);\n          }\n        }\n        lastMapping = mapping;\n      }, this);\n      // We have processed all mappings.\n      // Associate the remaining code in the current line with \"lastMapping\"\n      // and add the remaining lines without any mapping\n      addMappingWithCode(lastMapping, remainingLines.join(\"\\n\"));\n\n      // Copy sourcesContent into SourceNode\n      aSourceMapConsumer.sources.forEach(function (sourceFile) {\n        var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n        if (content) {\n          node.setSourceContent(sourceFile, content);\n        }\n      });\n\n      return node;\n\n      function addMappingWithCode(mapping, code) {\n        if (mapping === null || mapping.source === undefined) {\n          node.add(code);\n        } else {\n          node.add(new SourceNode(mapping.originalLine,\n                                  mapping.originalColumn,\n                                  mapping.source,\n                                  code,\n                                  mapping.name));\n        }\n      }\n    };\n\n  /**\n   * Add a chunk of generated JS to this source node.\n   *\n   * @param aChunk A string snippet of generated JS code, another instance of\n   *        SourceNode, or an array where each member is one of those things.\n   */\n  SourceNode.prototype.add = function SourceNode_add(aChunk) {\n    if (Array.isArray(aChunk)) {\n      aChunk.forEach(function (chunk) {\n        this.add(chunk);\n      }, this);\n    }\n    else if (aChunk instanceof SourceNode || typeof aChunk === \"string\") {\n      if (aChunk) {\n        this.children.push(aChunk);\n      }\n    }\n    else {\n      throw new TypeError(\n        \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n      );\n    }\n    return this;\n  };\n\n  /**\n   * Add a chunk of generated JS to the beginning of this source node.\n   *\n   * @param aChunk A string snippet of generated JS code, another instance of\n   *        SourceNode, or an array where each member is one of those things.\n   */\n  SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n    if (Array.isArray(aChunk)) {\n      for (var i = aChunk.length-1; i >= 0; i--) {\n        this.prepend(aChunk[i]);\n      }\n    }\n    else if (aChunk instanceof SourceNode || typeof aChunk === \"string\") {\n      this.children.unshift(aChunk);\n    }\n    else {\n      throw new TypeError(\n        \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n      );\n    }\n    return this;\n  };\n\n  /**\n   * Walk over the tree of JS snippets in this node and its children. The\n   * walking function is called once for each snippet of JS and is passed that\n   * snippet and the its original associated source's line/column location.\n   *\n   * @param aFn The traversal function.\n   */\n  SourceNode.prototype.walk = function SourceNode_walk(aFn) {\n    var chunk;\n    for (var i = 0, len = this.children.length; i < len; i++) {\n      chunk = this.children[i];\n      if (chunk instanceof SourceNode) {\n        chunk.walk(aFn);\n      }\n      else {\n        if (chunk !== '') {\n          aFn(chunk, { source: this.source,\n                       line: this.line,\n                       column: this.column,\n                       name: this.name });\n        }\n      }\n    }\n  };\n\n  /**\n   * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n   * each of `this.children`.\n   *\n   * @param aSep The separator.\n   */\n  SourceNode.prototype.join = function SourceNode_join(aSep) {\n    var newChildren;\n    var i;\n    var len = this.children.length;\n    if (len > 0) {\n      newChildren = [];\n      for (i = 0; i < len-1; i++) {\n        newChildren.push(this.children[i]);\n        newChildren.push(aSep);\n      }\n      newChildren.push(this.children[i]);\n      this.children = newChildren;\n    }\n    return this;\n  };\n\n  /**\n   * Call String.prototype.replace on the very right-most source snippet. Useful\n   * for trimming whitespace from the end of a source node, etc.\n   *\n   * @param aPattern The pattern to replace.\n   * @param aReplacement The thing to replace the pattern with.\n   */\n  SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n    var lastChild = this.children[this.children.length - 1];\n    if (lastChild instanceof SourceNode) {\n      lastChild.replaceRight(aPattern, aReplacement);\n    }\n    else if (typeof lastChild === 'string') {\n      this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n    }\n    else {\n      this.children.push(''.replace(aPattern, aReplacement));\n    }\n    return this;\n  };\n\n  /**\n   * Set the source content for a source file. This will be added to the SourceMapGenerator\n   * in the sourcesContent field.\n   *\n   * @param aSourceFile The filename of the source file\n   * @param aSourceContent The content of the source file\n   */\n  SourceNode.prototype.setSourceContent =\n    function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n      this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n    };\n\n  /**\n   * Walk over the tree of SourceNodes. The walking function is called for each\n   * source file content and is passed the filename and source content.\n   *\n   * @param aFn The traversal function.\n   */\n  SourceNode.prototype.walkSourceContents =\n    function SourceNode_walkSourceContents(aFn) {\n      for (var i = 0, len = this.children.length; i < len; i++) {\n        if (this.children[i] instanceof SourceNode) {\n          this.children[i].walkSourceContents(aFn);\n        }\n      }\n\n      var sources = Object.keys(this.sourceContents);\n      for (var i = 0, len = sources.length; i < len; i++) {\n        aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n      }\n    };\n\n  /**\n   * Return the string representation of this source node. Walks over the tree\n   * and concatenates all the various snippets together to one string.\n   */\n  SourceNode.prototype.toString = function SourceNode_toString() {\n    var str = \"\";\n    this.walk(function (chunk) {\n      str += chunk;\n    });\n    return str;\n  };\n\n  /**\n   * Returns the string representation of this source node along with a source\n   * map.\n   */\n  SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n    var generated = {\n      code: \"\",\n      line: 1,\n      column: 0\n    };\n    var map = new SourceMapGenerator(aArgs);\n    var sourceMappingActive = false;\n    var lastOriginalSource = null;\n    var lastOriginalLine = null;\n    var lastOriginalColumn = null;\n    var lastOriginalName = null;\n    this.walk(function (chunk, original) {\n      generated.code += chunk;\n      if (original.source !== null\n          && original.line !== null\n          && original.column !== null) {\n        if(lastOriginalSource !== original.source\n           || lastOriginalLine !== original.line\n           || lastOriginalColumn !== original.column\n           || lastOriginalName !== original.name) {\n          map.addMapping({\n            source: original.source,\n            original: {\n              line: original.line,\n              column: original.column\n            },\n            generated: {\n              line: generated.line,\n              column: generated.column\n            },\n            name: original.name\n          });\n        }\n        lastOriginalSource = original.source;\n        lastOriginalLine = original.line;\n        lastOriginalColumn = original.column;\n        lastOriginalName = original.name;\n        sourceMappingActive = true;\n      } else if (sourceMappingActive) {\n        map.addMapping({\n          generated: {\n            line: generated.line,\n            column: generated.column\n          }\n        });\n        lastOriginalSource = null;\n        sourceMappingActive = false;\n      }\n      chunk.split('').forEach(function (ch) {\n        if (ch === '\\n') {\n          generated.line++;\n          generated.column = 0;\n        } else {\n          generated.column++;\n        }\n      });\n    });\n    this.walkSourceContents(function (sourceFile, sourceContent) {\n      map.setSourceContent(sourceFile, sourceContent);\n    });\n\n    return { code: generated.code, map: map };\n  };\n\n  exports.SourceNode = SourceNode;\n\n});\n\n},{\"./source-map-generator\":60,\"./util\":62,\"amdefine\":63}],62:[function(require,module,exports){\n/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module, require);\n}\ndefine(function (require, exports, module) {\n\n  /**\n   * This is a helper function for getting values from parameter/options\n   * objects.\n   *\n   * @param args The object we are extracting values from\n   * @param name The name of the property we are getting.\n   * @param defaultValue An optional value to return if the property is missing\n   * from the object. If this is not specified and the property is missing, an\n   * error will be thrown.\n   */\n  function getArg(aArgs, aName, aDefaultValue) {\n    if (aName in aArgs) {\n      return aArgs[aName];\n    } else if (arguments.length === 3) {\n      return aDefaultValue;\n    } else {\n      throw new Error('\"' + aName + '\" is a required argument.');\n    }\n  }\n  exports.getArg = getArg;\n\n  var urlRegexp = /([\\w+\\-.]+):\\/\\/((\\w+:\\w+)@)?([\\w.]+)?(:(\\d+))?(\\S+)?/;\n  var dataUrlRegexp = /^data:.+\\,.+/;\n\n  function urlParse(aUrl) {\n    var match = aUrl.match(urlRegexp);\n    if (!match) {\n      return null;\n    }\n    return {\n      scheme: match[1],\n      auth: match[3],\n      host: match[4],\n      port: match[6],\n      path: match[7]\n    };\n  }\n  exports.urlParse = urlParse;\n\n  function urlGenerate(aParsedUrl) {\n    var url = aParsedUrl.scheme + \"://\";\n    if (aParsedUrl.auth) {\n      url += aParsedUrl.auth + \"@\"\n    }\n    if (aParsedUrl.host) {\n      url += aParsedUrl.host;\n    }\n    if (aParsedUrl.port) {\n      url += \":\" + aParsedUrl.port\n    }\n    if (aParsedUrl.path) {\n      url += aParsedUrl.path;\n    }\n    return url;\n  }\n  exports.urlGenerate = urlGenerate;\n\n  function join(aRoot, aPath) {\n    var url;\n\n    if (aPath.match(urlRegexp) || aPath.match(dataUrlRegexp)) {\n      return aPath;\n    }\n\n    if (aPath.charAt(0) === '/' && (url = urlParse(aRoot))) {\n      url.path = aPath;\n      return urlGenerate(url);\n    }\n\n    return aRoot.replace(/\\/$/, '') + '/' + aPath;\n  }\n  exports.join = join;\n\n  /**\n   * Because behavior goes wacky when you set `__proto__` on objects, we\n   * have to prefix all the strings in our set with an arbitrary character.\n   *\n   * See https://github.com/mozilla/source-map/pull/31 and\n   * https://github.com/mozilla/source-map/issues/30\n   *\n   * @param String aStr\n   */\n  function toSetString(aStr) {\n    return '$' + aStr;\n  }\n  exports.toSetString = toSetString;\n\n  function fromSetString(aStr) {\n    return aStr.substr(1);\n  }\n  exports.fromSetString = fromSetString;\n\n  function relative(aRoot, aPath) {\n    aRoot = aRoot.replace(/\\/$/, '');\n\n    var url = urlParse(aRoot);\n    if (aPath.charAt(0) == \"/\" && url && url.path == \"/\") {\n      return aPath.slice(1);\n    }\n\n    return aPath.indexOf(aRoot + '/') === 0\n      ? aPath.substr(aRoot.length + 1)\n      : aPath;\n  }\n  exports.relative = relative;\n\n  function strcmp(aStr1, aStr2) {\n    var s1 = aStr1 || \"\";\n    var s2 = aStr2 || \"\";\n    return (s1 > s2) - (s1 < s2);\n  }\n\n  /**\n   * Comparator between two mappings where the original positions are compared.\n   *\n   * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n   * mappings with the same original source/line/column, but different generated\n   * line and column the same. Useful when searching for a mapping with a\n   * stubbed out mapping.\n   */\n  function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n    var cmp;\n\n    cmp = strcmp(mappingA.source, mappingB.source);\n    if (cmp) {\n      return cmp;\n    }\n\n    cmp = mappingA.originalLine - mappingB.originalLine;\n    if (cmp) {\n      return cmp;\n    }\n\n    cmp = mappingA.originalColumn - mappingB.originalColumn;\n    if (cmp || onlyCompareOriginal) {\n      return cmp;\n    }\n\n    cmp = strcmp(mappingA.name, mappingB.name);\n    if (cmp) {\n      return cmp;\n    }\n\n    cmp = mappingA.generatedLine - mappingB.generatedLine;\n    if (cmp) {\n      return cmp;\n    }\n\n    return mappingA.generatedColumn - mappingB.generatedColumn;\n  };\n  exports.compareByOriginalPositions = compareByOriginalPositions;\n\n  /**\n   * Comparator between two mappings where the generated positions are\n   * compared.\n   *\n   * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n   * mappings with the same generated line and column, but different\n   * source/name/original line and column the same. Useful when searching for a\n   * mapping with a stubbed out mapping.\n   */\n  function compareByGeneratedPositions(mappingA, mappingB, onlyCompareGenerated) {\n    var cmp;\n\n    cmp = mappingA.generatedLine - mappingB.generatedLine;\n    if (cmp) {\n      return cmp;\n    }\n\n    cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n    if (cmp || onlyCompareGenerated) {\n      return cmp;\n    }\n\n    cmp = strcmp(mappingA.source, mappingB.source);\n    if (cmp) {\n      return cmp;\n    }\n\n    cmp = mappingA.originalLine - mappingB.originalLine;\n    if (cmp) {\n      return cmp;\n    }\n\n    cmp = mappingA.originalColumn - mappingB.originalColumn;\n    if (cmp) {\n      return cmp;\n    }\n\n    return strcmp(mappingA.name, mappingB.name);\n  };\n  exports.compareByGeneratedPositions = compareByGeneratedPositions;\n\n});\n\n},{\"amdefine\":63}],63:[function(require,module,exports){\nvar process=require(\"__browserify_process\"),__filename=\"/node_modules/recast/node_modules/source-map/node_modules/amdefine/amdefine.js\";/** vim: et:ts=4:sw=4:sts=4\n * @license amdefine 0.1.0 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.\n * Available via the MIT or new BSD license.\n * see: http://github.com/jrburke/amdefine for details\n */\n\n/*jslint node: true */\n/*global module, process */\n'use strict';\n\n/**\n * Creates a define for node.\n * @param {Object} module the \"module\" object that is defined by Node for the\n * current module.\n * @param {Function} [requireFn]. Node's require function for the current module.\n * It only needs to be passed in Node versions before 0.5, when module.require\n * did not exist.\n * @returns {Function} a define function that is usable for the current node\n * module.\n */\nfunction amdefine(module, requireFn) {\n    'use strict';\n    var defineCache = {},\n        loaderCache = {},\n        alreadyCalled = false,\n        path = require('path'),\n        makeRequire, stringRequire;\n\n    /**\n     * Trims the . and .. from an array of path segments.\n     * It will keep a leading path segment if a .. will become\n     * the first path segment, to help with module name lookups,\n     * which act like paths, but can be remapped. But the end result,\n     * all paths that use this function should look normalized.\n     * NOTE: this method MODIFIES the input array.\n     * @param {Array} ary the array of path segments.\n     */\n    function trimDots(ary) {\n        var i, part;\n        for (i = 0; ary[i]; i+= 1) {\n            part = ary[i];\n            if (part === '.') {\n                ary.splice(i, 1);\n                i -= 1;\n            } else if (part === '..') {\n                if (i === 1 && (ary[2] === '..' || ary[0] === '..')) {\n                    //End of the line. Keep at least one non-dot\n                    //path segment at the front so it can be mapped\n                    //correctly to disk. Otherwise, there is likely\n                    //no path mapping for a path starting with '..'.\n                    //This can still fail, but catches the most reasonable\n                    //uses of ..\n                    break;\n                } else if (i > 0) {\n                    ary.splice(i - 1, 2);\n                    i -= 2;\n                }\n            }\n        }\n    }\n\n    function normalize(name, baseName) {\n        var baseParts;\n\n        //Adjust any relative paths.\n        if (name && name.charAt(0) === '.') {\n            //If have a base name, try to normalize against it,\n            //otherwise, assume it is a top-level require that will\n            //be relative to baseUrl in the end.\n            if (baseName) {\n                baseParts = baseName.split('/');\n                baseParts = baseParts.slice(0, baseParts.length - 1);\n                baseParts = baseParts.concat(name.split('/'));\n                trimDots(baseParts);\n                name = baseParts.join('/');\n            }\n        }\n\n        return name;\n    }\n\n    /**\n     * Create the normalize() function passed to a loader plugin's\n     * normalize method.\n     */\n    function makeNormalize(relName) {\n        return function (name) {\n            return normalize(name, relName);\n        };\n    }\n\n    function makeLoad(id) {\n        function load(value) {\n            loaderCache[id] = value;\n        }\n\n        load.fromText = function (id, text) {\n            //This one is difficult because the text can/probably uses\n            //define, and any relative paths and requires should be relative\n            //to that id was it would be found on disk. But this would require\n            //bootstrapping a module/require fairly deeply from node core.\n            //Not sure how best to go about that yet.\n            throw new Error('amdefine does not implement load.fromText');\n        };\n\n        return load;\n    }\n\n    makeRequire = function (systemRequire, exports, module, relId) {\n        function amdRequire(deps, callback) {\n            if (typeof deps === 'string') {\n                //Synchronous, single module require('')\n                return stringRequire(systemRequire, exports, module, deps, relId);\n            } else {\n                //Array of dependencies with a callback.\n\n                //Convert the dependencies to modules.\n                deps = deps.map(function (depName) {\n                    return stringRequire(systemRequire, exports, module, depName, relId);\n                });\n\n                //Wait for next tick to call back the require call.\n                process.nextTick(function () {\n                    callback.apply(null, deps);\n                });\n            }\n        }\n\n        amdRequire.toUrl = function (filePath) {\n            if (filePath.indexOf('.') === 0) {\n                return normalize(filePath, path.dirname(module.filename));\n            } else {\n                return filePath;\n            }\n        };\n\n        return amdRequire;\n    };\n\n    //Favor explicit value, passed in if the module wants to support Node 0.4.\n    requireFn = requireFn || function req() {\n        return module.require.apply(module, arguments);\n    };\n\n    function runFactory(id, deps, factory) {\n        var r, e, m, result;\n\n        if (id) {\n            e = loaderCache[id] = {};\n            m = {\n                id: id,\n                uri: __filename,\n                exports: e\n            };\n            r = makeRequire(requireFn, e, m, id);\n        } else {\n            //Only support one define call per file\n            if (alreadyCalled) {\n                throw new Error('amdefine with no module ID cannot be called more than once per file.');\n            }\n            alreadyCalled = true;\n\n            //Use the real variables from node\n            //Use module.exports for exports, since\n            //the exports in here is amdefine exports.\n            e = module.exports;\n            m = module;\n            r = makeRequire(requireFn, e, m, module.id);\n        }\n\n        //If there are dependencies, they are strings, so need\n        //to convert them to dependency values.\n        if (deps) {\n            deps = deps.map(function (depName) {\n                return r(depName);\n            });\n        }\n\n        //Call the factory with the right dependencies.\n        if (typeof factory === 'function') {\n            result = factory.apply(m.exports, deps);\n        } else {\n            result = factory;\n        }\n\n        if (result !== undefined) {\n            m.exports = result;\n            if (id) {\n                loaderCache[id] = m.exports;\n            }\n        }\n    }\n\n    stringRequire = function (systemRequire, exports, module, id, relId) {\n        //Split the ID by a ! so that\n        var index = id.indexOf('!'),\n            originalId = id,\n            prefix, plugin;\n\n        if (index === -1) {\n            id = normalize(id, relId);\n\n            //Straight module lookup. If it is one of the special dependencies,\n            //deal with it, otherwise, delegate to node.\n            if (id === 'require') {\n                return makeRequire(systemRequire, exports, module, relId);\n            } else if (id === 'exports') {\n                return exports;\n            } else if (id === 'module') {\n                return module;\n            } else if (loaderCache.hasOwnProperty(id)) {\n                return loaderCache[id];\n            } else if (defineCache[id]) {\n                runFactory.apply(null, defineCache[id]);\n                return loaderCache[id];\n            } else {\n                if(systemRequire) {\n                    return systemRequire(originalId);\n                } else {\n                    throw new Error('No module with ID: ' + id);\n                }\n            }\n        } else {\n            //There is a plugin in play.\n            prefix = id.substring(0, index);\n            id = id.substring(index + 1, id.length);\n\n            plugin = stringRequire(systemRequire, exports, module, prefix, relId);\n\n            if (plugin.normalize) {\n                id = plugin.normalize(id, makeNormalize(relId));\n            } else {\n                //Normalize the ID normally.\n                id = normalize(id, relId);\n            }\n\n            if (loaderCache[id]) {\n                return loaderCache[id];\n            } else {\n                plugin.load(id, makeRequire(systemRequire, exports, module, relId), makeLoad(id), {});\n\n                return loaderCache[id];\n            }\n        }\n    };\n\n    //Create a define function specific to the module asking for amdefine.\n    function define(id, deps, factory) {\n        if (Array.isArray(id)) {\n            factory = deps;\n            deps = id;\n            id = undefined;\n        } else if (typeof id !== 'string') {\n            factory = id;\n            id = deps = undefined;\n        }\n\n        if (deps && !Array.isArray(deps)) {\n            factory = deps;\n            deps = undefined;\n        }\n\n        if (!deps) {\n            deps = ['require', 'exports', 'module'];\n        }\n\n        //Set up properties for this module. If an ID, then use\n        //internal cache. If no ID, then use the external variables\n        //for this node module.\n        if (id) {\n            //Put the module in deep freeze until there is a\n            //require call for it.\n            defineCache[id] = [id, deps, factory];\n        } else {\n            runFactory(id, deps, factory);\n        }\n    }\n\n    //define.require, which has access to all the values in the\n    //cache. Useful for AMD modules that all have IDs in the file,\n    //but need to finally export a value to node based on one of those\n    //IDs.\n    define.require = function (id) {\n        if (loaderCache[id]) {\n            return loaderCache[id];\n        }\n\n        if (defineCache[id]) {\n            runFactory.apply(null, defineCache[id]);\n            return loaderCache[id];\n        }\n    };\n\n    define.amd = {};\n\n    return define;\n}\n\nmodule.exports = amdefine;\n\n},{\"__browserify_process\":67,\"path\":68}],64:[function(require,module,exports){\n\n},{}],65:[function(require,module,exports){\n// http://wiki.commonjs.org/wiki/Unit_Testing/1.0\n//\n// THIS IS NOT TESTED NOR LIKELY TO WORK OUTSIDE V8!\n//\n// Originally from narwhal.js (http://narwhaljs.org)\n// Copyright (c) 2009 Thomas Robinson <280north.com>\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the 'Software'), to\n// deal in the Software without restriction, including without limitation the\n// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n// sell copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// when used in node, this will actually load the util module we depend on\n// versus loading the builtin util module as happens otherwise\n// this is a bug in node module loading as far as I am concerned\nvar util = require('util/');\n\nvar pSlice = Array.prototype.slice;\nvar hasOwn = Object.prototype.hasOwnProperty;\n\n// 1. The assert module provides functions that throw\n// AssertionError's when particular conditions are not met. The\n// assert module must conform to the following interface.\n\nvar assert = module.exports = ok;\n\n// 2. The AssertionError is defined in assert.\n// new assert.AssertionError({ message: message,\n//                             actual: actual,\n//                             expected: expected })\n\nassert.AssertionError = function AssertionError(options) {\n  this.name = 'AssertionError';\n  this.actual = options.actual;\n  this.expected = options.expected;\n  this.operator = options.operator;\n  if (options.message) {\n    this.message = options.message;\n    this.generatedMessage = false;\n  } else {\n    this.message = getMessage(this);\n    this.generatedMessage = true;\n  }\n  var stackStartFunction = options.stackStartFunction || fail;\n\n  if (Error.captureStackTrace) {\n    Error.captureStackTrace(this, stackStartFunction);\n  }\n  else {\n    // non v8 browsers so we can have a stacktrace\n    var err = new Error();\n    if (err.stack) {\n      var out = err.stack;\n\n      // try to strip useless frames\n      var fn_name = stackStartFunction.name;\n      var idx = out.indexOf('\\n' + fn_name);\n      if (idx >= 0) {\n        // once we have located the function frame\n        // we need to strip out everything before it (and its line)\n        var next_line = out.indexOf('\\n', idx + 1);\n        out = out.substring(next_line + 1);\n      }\n\n      this.stack = out;\n    }\n  }\n};\n\n// assert.AssertionError instanceof Error\nutil.inherits(assert.AssertionError, Error);\n\nfunction replacer(key, value) {\n  if (util.isUndefined(value)) {\n    return '' + value;\n  }\n  if (util.isNumber(value) && (isNaN(value) || !isFinite(value))) {\n    return value.toString();\n  }\n  if (util.isFunction(value) || util.isRegExp(value)) {\n    return value.toString();\n  }\n  return value;\n}\n\nfunction truncate(s, n) {\n  if (util.isString(s)) {\n    return s.length < n ? s : s.slice(0, n);\n  } else {\n    return s;\n  }\n}\n\nfunction getMessage(self) {\n  return truncate(JSON.stringify(self.actual, replacer), 128) + ' ' +\n         self.operator + ' ' +\n         truncate(JSON.stringify(self.expected, replacer), 128);\n}\n\n// At present only the three keys mentioned above are used and\n// understood by the spec. Implementations or sub modules can pass\n// other keys to the AssertionError's constructor - they will be\n// ignored.\n\n// 3. All of the following functions must throw an AssertionError\n// when a corresponding condition is not met, with a message that\n// may be undefined if not provided.  All assertion methods provide\n// both the actual and expected values to the assertion error for\n// display purposes.\n\nfunction fail(actual, expected, message, operator, stackStartFunction) {\n  throw new assert.AssertionError({\n    message: message,\n    actual: actual,\n    expected: expected,\n    operator: operator,\n    stackStartFunction: stackStartFunction\n  });\n}\n\n// EXTENSION! allows for well behaved errors defined elsewhere.\nassert.fail = fail;\n\n// 4. Pure assertion tests whether a value is truthy, as determined\n// by !!guard.\n// assert.ok(guard, message_opt);\n// This statement is equivalent to assert.equal(true, !!guard,\n// message_opt);. To test strictly for the value true, use\n// assert.strictEqual(true, guard, message_opt);.\n\nfunction ok(value, message) {\n  if (!value) fail(value, true, message, '==', assert.ok);\n}\nassert.ok = ok;\n\n// 5. The equality assertion tests shallow, coercive equality with\n// ==.\n// assert.equal(actual, expected, message_opt);\n\nassert.equal = function equal(actual, expected, message) {\n  if (actual != expected) fail(actual, expected, message, '==', assert.equal);\n};\n\n// 6. The non-equality assertion tests for whether two objects are not equal\n// with != assert.notEqual(actual, expected, message_opt);\n\nassert.notEqual = function notEqual(actual, expected, message) {\n  if (actual == expected) {\n    fail(actual, expected, message, '!=', assert.notEqual);\n  }\n};\n\n// 7. The equivalence assertion tests a deep equality relation.\n// assert.deepEqual(actual, expected, message_opt);\n\nassert.deepEqual = function deepEqual(actual, expected, message) {\n  if (!_deepEqual(actual, expected)) {\n    fail(actual, expected, message, 'deepEqual', assert.deepEqual);\n  }\n};\n\nfunction _deepEqual(actual, expected) {\n  // 7.1. All identical values are equivalent, as determined by ===.\n  if (actual === expected) {\n    return true;\n\n  } else if (util.isBuffer(actual) && util.isBuffer(expected)) {\n    if (actual.length != expected.length) return false;\n\n    for (var i = 0; i < actual.length; i++) {\n      if (actual[i] !== expected[i]) return false;\n    }\n\n    return true;\n\n  // 7.2. If the expected value is a Date object, the actual value is\n  // equivalent if it is also a Date object that refers to the same time.\n  } else if (util.isDate(actual) && util.isDate(expected)) {\n    return actual.getTime() === expected.getTime();\n\n  // 7.3 If the expected value is a RegExp object, the actual value is\n  // equivalent if it is also a RegExp object with the same source and\n  // properties (`global`, `multiline`, `lastIndex`, `ignoreCase`).\n  } else if (util.isRegExp(actual) && util.isRegExp(expected)) {\n    return actual.source === expected.source &&\n           actual.global === expected.global &&\n           actual.multiline === expected.multiline &&\n           actual.lastIndex === expected.lastIndex &&\n           actual.ignoreCase === expected.ignoreCase;\n\n  // 7.4. Other pairs that do not both pass typeof value == 'object',\n  // equivalence is determined by ==.\n  } else if (!util.isObject(actual) && !util.isObject(expected)) {\n    return actual == expected;\n\n  // 7.5 For all other Object pairs, including Array objects, equivalence is\n  // determined by having the same number of owned properties (as verified\n  // with Object.prototype.hasOwnProperty.call), the same set of keys\n  // (although not necessarily the same order), equivalent values for every\n  // corresponding key, and an identical 'prototype' property. Note: this\n  // accounts for both named and indexed properties on Arrays.\n  } else {\n    return objEquiv(actual, expected);\n  }\n}\n\nfunction isArguments(object) {\n  return Object.prototype.toString.call(object) == '[object Arguments]';\n}\n\nfunction objEquiv(a, b) {\n  if (util.isNullOrUndefined(a) || util.isNullOrUndefined(b))\n    return false;\n  // an identical 'prototype' property.\n  if (a.prototype !== b.prototype) return false;\n  //~~~I've managed to break Object.keys through screwy arguments passing.\n  //   Converting to array solves the problem.\n  if (isArguments(a)) {\n    if (!isArguments(b)) {\n      return false;\n    }\n    a = pSlice.call(a);\n    b = pSlice.call(b);\n    return _deepEqual(a, b);\n  }\n  try {\n    var ka = objectKeys(a),\n        kb = objectKeys(b),\n        key, i;\n  } catch (e) {//happens when one is a string literal and the other isn't\n    return false;\n  }\n  // having the same number of owned properties (keys incorporates\n  // hasOwnProperty)\n  if (ka.length != kb.length)\n    return false;\n  //the same set of keys (although not necessarily the same order),\n  ka.sort();\n  kb.sort();\n  //~~~cheap key test\n  for (i = ka.length - 1; i >= 0; i--) {\n    if (ka[i] != kb[i])\n      return false;\n  }\n  //equivalent values for every corresponding key, and\n  //~~~possibly expensive deep test\n  for (i = ka.length - 1; i >= 0; i--) {\n    key = ka[i];\n    if (!_deepEqual(a[key], b[key])) return false;\n  }\n  return true;\n}\n\n// 8. The non-equivalence assertion tests for any deep inequality.\n// assert.notDeepEqual(actual, expected, message_opt);\n\nassert.notDeepEqual = function notDeepEqual(actual, expected, message) {\n  if (_deepEqual(actual, expected)) {\n    fail(actual, expected, message, 'notDeepEqual', assert.notDeepEqual);\n  }\n};\n\n// 9. The strict equality assertion tests strict equality, as determined by ===.\n// assert.strictEqual(actual, expected, message_opt);\n\nassert.strictEqual = function strictEqual(actual, expected, message) {\n  if (actual !== expected) {\n    fail(actual, expected, message, '===', assert.strictEqual);\n  }\n};\n\n// 10. The strict non-equality assertion tests for strict inequality, as\n// determined by !==.  assert.notStrictEqual(actual, expected, message_opt);\n\nassert.notStrictEqual = function notStrictEqual(actual, expected, message) {\n  if (actual === expected) {\n    fail(actual, expected, message, '!==', assert.notStrictEqual);\n  }\n};\n\nfunction expectedException(actual, expected) {\n  if (!actual || !expected) {\n    return false;\n  }\n\n  if (Object.prototype.toString.call(expected) == '[object RegExp]') {\n    return expected.test(actual);\n  } else if (actual instanceof expected) {\n    return true;\n  } else if (expected.call({}, actual) === true) {\n    return true;\n  }\n\n  return false;\n}\n\nfunction _throws(shouldThrow, block, expected, message) {\n  var actual;\n\n  if (util.isString(expected)) {\n    message = expected;\n    expected = null;\n  }\n\n  try {\n    block();\n  } catch (e) {\n    actual = e;\n  }\n\n  message = (expected && expected.name ? ' (' + expected.name + ').' : '.') +\n            (message ? ' ' + message : '.');\n\n  if (shouldThrow && !actual) {\n    fail(actual, expected, 'Missing expected exception' + message);\n  }\n\n  if (!shouldThrow && expectedException(actual, expected)) {\n    fail(actual, expected, 'Got unwanted exception' + message);\n  }\n\n  if ((shouldThrow && actual && expected &&\n      !expectedException(actual, expected)) || (!shouldThrow && actual)) {\n    throw actual;\n  }\n}\n\n// 11. Expected to throw an error:\n// assert.throws(block, Error_opt, message_opt);\n\nassert.throws = function(block, /*optional*/error, /*optional*/message) {\n  _throws.apply(this, [true].concat(pSlice.call(arguments)));\n};\n\n// EXTENSION! This is annoying to write outside this module.\nassert.doesNotThrow = function(block, /*optional*/message) {\n  _throws.apply(this, [false].concat(pSlice.call(arguments)));\n};\n\nassert.ifError = function(err) { if (err) {throw err;}};\n\nvar objectKeys = Object.keys || function (obj) {\n  var keys = [];\n  for (var key in obj) {\n    if (hasOwn.call(obj, key)) keys.push(key);\n  }\n  return keys;\n};\n\n},{\"util/\":70}],66:[function(require,module,exports){\nif (typeof Object.create === 'function') {\n  // implementation from standard node.js 'util' module\n  module.exports = function inherits(ctor, superCtor) {\n    ctor.super_ = superCtor\n    ctor.prototype = Object.create(superCtor.prototype, {\n      constructor: {\n        value: ctor,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n  };\n} else {\n  // old school shim for old browsers\n  module.exports = function inherits(ctor, superCtor) {\n    ctor.super_ = superCtor\n    var TempCtor = function () {}\n    TempCtor.prototype = superCtor.prototype\n    ctor.prototype = new TempCtor()\n    ctor.prototype.constructor = ctor\n  }\n}\n\n},{}],67:[function(require,module,exports){\n// shim for using process in browser\n\nvar process = module.exports = {};\n\nprocess.nextTick = (function () {\n    var canSetImmediate = typeof window !== 'undefined'\n    && window.setImmediate;\n    var canPost = typeof window !== 'undefined'\n    && window.postMessage && window.addEventListener\n    ;\n\n    if (canSetImmediate) {\n        return function (f) { return window.setImmediate(f) };\n    }\n\n    if (canPost) {\n        var queue = [];\n        window.addEventListener('message', function (ev) {\n            var source = ev.source;\n            if ((source === window || source === null) && ev.data === 'process-tick') {\n                ev.stopPropagation();\n                if (queue.length > 0) {\n                    var fn = queue.shift();\n                    fn();\n                }\n            }\n        }, true);\n\n        return function nextTick(fn) {\n            queue.push(fn);\n            window.postMessage('process-tick', '*');\n        };\n    }\n\n    return function nextTick(fn) {\n        setTimeout(fn, 0);\n    };\n})();\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\n\nprocess.binding = function (name) {\n    throw new Error('process.binding is not supported');\n}\n\n// TODO(shtylman)\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n    throw new Error('process.chdir is not supported');\n};\n\n},{}],68:[function(require,module,exports){\nvar process=require(\"__browserify_process\");// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n  // if the path tries to go above the root, `up` ends up > 0\n  var up = 0;\n  for (var i = parts.length - 1; i >= 0; i--) {\n    var last = parts[i];\n    if (last === '.') {\n      parts.splice(i, 1);\n    } else if (last === '..') {\n      parts.splice(i, 1);\n      up++;\n    } else if (up) {\n      parts.splice(i, 1);\n      up--;\n    }\n  }\n\n  // if the path is allowed to go above the root, restore leading ..s\n  if (allowAboveRoot) {\n    for (; up--; up) {\n      parts.unshift('..');\n    }\n  }\n\n  return parts;\n}\n\n// Split a filename into [root, dir, basename, ext], unix version\n// 'root' is just a slash, or nothing.\nvar splitPathRe =\n    /^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/;\nvar splitPath = function(filename) {\n  return splitPathRe.exec(filename).slice(1);\n};\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n  var resolvedPath = '',\n      resolvedAbsolute = false;\n\n  for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n    var path = (i >= 0) ? arguments[i] : process.cwd();\n\n    // Skip empty and invalid entries\n    if (typeof path !== 'string') {\n      throw new TypeError('Arguments to path.resolve must be strings');\n    } else if (!path) {\n      continue;\n    }\n\n    resolvedPath = path + '/' + resolvedPath;\n    resolvedAbsolute = path.charAt(0) === '/';\n  }\n\n  // At this point the path should be resolved to a full absolute path, but\n  // handle relative paths to be safe (might happen when process.cwd() fails)\n\n  // Normalize the path\n  resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n    return !!p;\n  }), !resolvedAbsolute).join('/');\n\n  return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n  var isAbsolute = exports.isAbsolute(path),\n      trailingSlash = substr(path, -1) === '/';\n\n  // Normalize the path\n  path = normalizeArray(filter(path.split('/'), function(p) {\n    return !!p;\n  }), !isAbsolute).join('/');\n\n  if (!path && !isAbsolute) {\n    path = '.';\n  }\n  if (path && trailingSlash) {\n    path += '/';\n  }\n\n  return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n  return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n  var paths = Array.prototype.slice.call(arguments, 0);\n  return exports.normalize(filter(paths, function(p, index) {\n    if (typeof p !== 'string') {\n      throw new TypeError('Arguments to path.join must be strings');\n    }\n    return p;\n  }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n  from = exports.resolve(from).substr(1);\n  to = exports.resolve(to).substr(1);\n\n  function trim(arr) {\n    var start = 0;\n    for (; start < arr.length; start++) {\n      if (arr[start] !== '') break;\n    }\n\n    var end = arr.length - 1;\n    for (; end >= 0; end--) {\n      if (arr[end] !== '') break;\n    }\n\n    if (start > end) return [];\n    return arr.slice(start, end - start + 1);\n  }\n\n  var fromParts = trim(from.split('/'));\n  var toParts = trim(to.split('/'));\n\n  var length = Math.min(fromParts.length, toParts.length);\n  var samePartsLength = length;\n  for (var i = 0; i < length; i++) {\n    if (fromParts[i] !== toParts[i]) {\n      samePartsLength = i;\n      break;\n    }\n  }\n\n  var outputParts = [];\n  for (var i = samePartsLength; i < fromParts.length; i++) {\n    outputParts.push('..');\n  }\n\n  outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n  return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function(path) {\n  var result = splitPath(path),\n      root = result[0],\n      dir = result[1];\n\n  if (!root && !dir) {\n    // No dirname whatsoever\n    return '.';\n  }\n\n  if (dir) {\n    // It has a dirname, strip trailing slash\n    dir = dir.substr(0, dir.length - 1);\n  }\n\n  return root + dir;\n};\n\n\nexports.basename = function(path, ext) {\n  var f = splitPath(path)[2];\n  // TODO: make this comparison case-insensitive on windows?\n  if (ext && f.substr(-1 * ext.length) === ext) {\n    f = f.substr(0, f.length - ext.length);\n  }\n  return f;\n};\n\n\nexports.extname = function(path) {\n  return splitPath(path)[3];\n};\n\nfunction filter (xs, f) {\n    if (xs.filter) return xs.filter(f);\n    var res = [];\n    for (var i = 0; i < xs.length; i++) {\n        if (f(xs[i], i, xs)) res.push(xs[i]);\n    }\n    return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n    ? function (str, start, len) { return str.substr(start, len) }\n    : function (str, start, len) {\n        if (start < 0) start = str.length + start;\n        return str.substr(start, len);\n    }\n;\n\n},{\"__browserify_process\":67}],69:[function(require,module,exports){\nmodule.exports = function isBuffer(arg) {\n  return arg && typeof arg === 'object'\n    && typeof arg.copy === 'function'\n    && typeof arg.fill === 'function'\n    && typeof arg.readUInt8 === 'function';\n}\n},{}],70:[function(require,module,exports){\nvar process=require(\"__browserify_process\"),global=typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {};// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar formatRegExp = /%[sdj%]/g;\nexports.format = function(f) {\n  if (!isString(f)) {\n    var objects = [];\n    for (var i = 0; i < arguments.length; i++) {\n      objects.push(inspect(arguments[i]));\n    }\n    return objects.join(' ');\n  }\n\n  var i = 1;\n  var args = arguments;\n  var len = args.length;\n  var str = String(f).replace(formatRegExp, function(x) {\n    if (x === '%%') return '%';\n    if (i >= len) return x;\n    switch (x) {\n      case '%s': return String(args[i++]);\n      case '%d': return Number(args[i++]);\n      case '%j':\n        try {\n          return JSON.stringify(args[i++]);\n        } catch (_) {\n          return '[Circular]';\n        }\n      default:\n        return x;\n    }\n  });\n  for (var x = args[i]; i < len; x = args[++i]) {\n    if (isNull(x) || !isObject(x)) {\n      str += ' ' + x;\n    } else {\n      str += ' ' + inspect(x);\n    }\n  }\n  return str;\n};\n\n\n// Mark that a method should not be used.\n// Returns a modified function which warns once by default.\n// If --no-deprecation is set, then it is a no-op.\nexports.deprecate = function(fn, msg) {\n  // Allow for deprecating things in the process of starting up.\n  if (isUndefined(global.process)) {\n    return function() {\n      return exports.deprecate(fn, msg).apply(this, arguments);\n    };\n  }\n\n  if (process.noDeprecation === true) {\n    return fn;\n  }\n\n  var warned = false;\n  function deprecated() {\n    if (!warned) {\n      if (process.throwDeprecation) {\n        throw new Error(msg);\n      } else if (process.traceDeprecation) {\n        console.trace(msg);\n      } else {\n        console.error(msg);\n      }\n      warned = true;\n    }\n    return fn.apply(this, arguments);\n  }\n\n  return deprecated;\n};\n\n\nvar debugs = {};\nvar debugEnviron;\nexports.debuglog = function(set) {\n  if (isUndefined(debugEnviron))\n    debugEnviron = process.env.NODE_DEBUG || '';\n  set = set.toUpperCase();\n  if (!debugs[set]) {\n    if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n      var pid = process.pid;\n      debugs[set] = function() {\n        var msg = exports.format.apply(exports, arguments);\n        console.error('%s %d: %s', set, pid, msg);\n      };\n    } else {\n      debugs[set] = function() {};\n    }\n  }\n  return debugs[set];\n};\n\n\n/**\n * Echos the value of a value. Trys to print the value out\n * in the best way possible given the different types.\n *\n * @param {Object} obj The object to print out.\n * @param {Object} opts Optional options object that alters the output.\n */\n/* legacy: obj, showHidden, depth, colors*/\nfunction inspect(obj, opts) {\n  // default options\n  var ctx = {\n    seen: [],\n    stylize: stylizeNoColor\n  };\n  // legacy...\n  if (arguments.length >= 3) ctx.depth = arguments[2];\n  if (arguments.length >= 4) ctx.colors = arguments[3];\n  if (isBoolean(opts)) {\n    // legacy...\n    ctx.showHidden = opts;\n  } else if (opts) {\n    // got an \"options\" object\n    exports._extend(ctx, opts);\n  }\n  // set default options\n  if (isUndefined(ctx.showHidden)) ctx.showHidden = false;\n  if (isUndefined(ctx.depth)) ctx.depth = 2;\n  if (isUndefined(ctx.colors)) ctx.colors = false;\n  if (isUndefined(ctx.customInspect)) ctx.customInspect = true;\n  if (ctx.colors) ctx.stylize = stylizeWithColor;\n  return formatValue(ctx, obj, ctx.depth);\n}\nexports.inspect = inspect;\n\n\n// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect.colors = {\n  'bold' : [1, 22],\n  'italic' : [3, 23],\n  'underline' : [4, 24],\n  'inverse' : [7, 27],\n  'white' : [37, 39],\n  'grey' : [90, 39],\n  'black' : [30, 39],\n  'blue' : [34, 39],\n  'cyan' : [36, 39],\n  'green' : [32, 39],\n  'magenta' : [35, 39],\n  'red' : [31, 39],\n  'yellow' : [33, 39]\n};\n\n// Don't use 'blue' not visible on cmd.exe\ninspect.styles = {\n  'special': 'cyan',\n  'number': 'yellow',\n  'boolean': 'yellow',\n  'undefined': 'grey',\n  'null': 'bold',\n  'string': 'green',\n  'date': 'magenta',\n  // \"name\": intentionally not styling\n  'regexp': 'red'\n};\n\n\nfunction stylizeWithColor(str, styleType) {\n  var style = inspect.styles[styleType];\n\n  if (style) {\n    return '\\u001b[' + inspect.colors[style][0] + 'm' + str +\n           '\\u001b[' + inspect.colors[style][1] + 'm';\n  } else {\n    return str;\n  }\n}\n\n\nfunction stylizeNoColor(str, styleType) {\n  return str;\n}\n\n\nfunction arrayToHash(array) {\n  var hash = {};\n\n  array.forEach(function(val, idx) {\n    hash[val] = true;\n  });\n\n  return hash;\n}\n\n\nfunction formatValue(ctx, value, recurseTimes) {\n  // Provide a hook for user-specified inspect functions.\n  // Check that value is an object with an inspect function on it\n  if (ctx.customInspect &&\n      value &&\n      isFunction(value.inspect) &&\n      // Filter out the util module, it's inspect function is special\n      value.inspect !== exports.inspect &&\n      // Also filter out any prototype objects using the circular check.\n      !(value.constructor && value.constructor.prototype === value)) {\n    var ret = value.inspect(recurseTimes, ctx);\n    if (!isString(ret)) {\n      ret = formatValue(ctx, ret, recurseTimes);\n    }\n    return ret;\n  }\n\n  // Primitive types cannot have properties\n  var primitive = formatPrimitive(ctx, value);\n  if (primitive) {\n    return primitive;\n  }\n\n  // Look up the keys of the object.\n  var keys = Object.keys(value);\n  var visibleKeys = arrayToHash(keys);\n\n  if (ctx.showHidden) {\n    keys = Object.getOwnPropertyNames(value);\n  }\n\n  // IE doesn't make error fields non-enumerable\n  // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n  if (isError(value)\n      && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n    return formatError(value);\n  }\n\n  // Some type of object without properties can be shortcutted.\n  if (keys.length === 0) {\n    if (isFunction(value)) {\n      var name = value.name ? ': ' + value.name : '';\n      return ctx.stylize('[Function' + name + ']', 'special');\n    }\n    if (isRegExp(value)) {\n      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n    }\n    if (isDate(value)) {\n      return ctx.stylize(Date.prototype.toString.call(value), 'date');\n    }\n    if (isError(value)) {\n      return formatError(value);\n    }\n  }\n\n  var base = '', array = false, braces = ['{', '}'];\n\n  // Make Array say that they are Array\n  if (isArray(value)) {\n    array = true;\n    braces = ['[', ']'];\n  }\n\n  // Make functions say that they are functions\n  if (isFunction(value)) {\n    var n = value.name ? ': ' + value.name : '';\n    base = ' [Function' + n + ']';\n  }\n\n  // Make RegExps say that they are RegExps\n  if (isRegExp(value)) {\n    base = ' ' + RegExp.prototype.toString.call(value);\n  }\n\n  // Make dates with properties first say the date\n  if (isDate(value)) {\n    base = ' ' + Date.prototype.toUTCString.call(value);\n  }\n\n  // Make error with message first say the error\n  if (isError(value)) {\n    base = ' ' + formatError(value);\n  }\n\n  if (keys.length === 0 && (!array || value.length == 0)) {\n    return braces[0] + base + braces[1];\n  }\n\n  if (recurseTimes < 0) {\n    if (isRegExp(value)) {\n      return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n    } else {\n      return ctx.stylize('[Object]', 'special');\n    }\n  }\n\n  ctx.seen.push(value);\n\n  var output;\n  if (array) {\n    output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n  } else {\n    output = keys.map(function(key) {\n      return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n    });\n  }\n\n  ctx.seen.pop();\n\n  return reduceToSingleString(output, base, braces);\n}\n\n\nfunction formatPrimitive(ctx, value) {\n  if (isUndefined(value))\n    return ctx.stylize('undefined', 'undefined');\n  if (isString(value)) {\n    var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '')\n                                             .replace(/'/g, \"\\\\'\")\n                                             .replace(/\\\\\"/g, '\"') + '\\'';\n    return ctx.stylize(simple, 'string');\n  }\n  if (isNumber(value))\n    return ctx.stylize('' + value, 'number');\n  if (isBoolean(value))\n    return ctx.stylize('' + value, 'boolean');\n  // For some reason typeof null is \"object\", so special case here.\n  if (isNull(value))\n    return ctx.stylize('null', 'null');\n}\n\n\nfunction formatError(value) {\n  return '[' + Error.prototype.toString.call(value) + ']';\n}\n\n\nfunction formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n  var output = [];\n  for (var i = 0, l = value.length; i < l; ++i) {\n    if (hasOwnProperty(value, String(i))) {\n      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n          String(i), true));\n    } else {\n      output.push('');\n    }\n  }\n  keys.forEach(function(key) {\n    if (!key.match(/^\\d+$/)) {\n      output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,\n          key, true));\n    }\n  });\n  return output;\n}\n\n\nfunction formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n  var name, str, desc;\n  desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] };\n  if (desc.get) {\n    if (desc.set) {\n      str = ctx.stylize('[Getter/Setter]', 'special');\n    } else {\n      str = ctx.stylize('[Getter]', 'special');\n    }\n  } else {\n    if (desc.set) {\n      str = ctx.stylize('[Setter]', 'special');\n    }\n  }\n  if (!hasOwnProperty(visibleKeys, key)) {\n    name = '[' + key + ']';\n  }\n  if (!str) {\n    if (ctx.seen.indexOf(desc.value) < 0) {\n      if (isNull(recurseTimes)) {\n        str = formatValue(ctx, desc.value, null);\n      } else {\n        str = formatValue(ctx, desc.value, recurseTimes - 1);\n      }\n      if (str.indexOf('\\n') > -1) {\n        if (array) {\n          str = str.split('\\n').map(function(line) {\n            return '  ' + line;\n          }).join('\\n').substr(2);\n        } else {\n          str = '\\n' + str.split('\\n').map(function(line) {\n            return '   ' + line;\n          }).join('\\n');\n        }\n      }\n    } else {\n      str = ctx.stylize('[Circular]', 'special');\n    }\n  }\n  if (isUndefined(name)) {\n    if (array && key.match(/^\\d+$/)) {\n      return str;\n    }\n    name = JSON.stringify('' + key);\n    if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n      name = name.substr(1, name.length - 2);\n      name = ctx.stylize(name, 'name');\n    } else {\n      name = name.replace(/'/g, \"\\\\'\")\n                 .replace(/\\\\\"/g, '\"')\n                 .replace(/(^\"|\"$)/g, \"'\");\n      name = ctx.stylize(name, 'string');\n    }\n  }\n\n  return name + ': ' + str;\n}\n\n\nfunction reduceToSingleString(output, base, braces) {\n  var numLinesEst = 0;\n  var length = output.reduce(function(prev, cur) {\n    numLinesEst++;\n    if (cur.indexOf('\\n') >= 0) numLinesEst++;\n    return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n  }, 0);\n\n  if (length > 60) {\n    return braces[0] +\n           (base === '' ? '' : base + '\\n ') +\n           ' ' +\n           output.join(',\\n  ') +\n           ' ' +\n           braces[1];\n  }\n\n  return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n}\n\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nfunction isArray(ar) {\n  return Array.isArray(ar);\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n  return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n  return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n  return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n  return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n  return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n  return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n  return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n  return isObject(re) && objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n  return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n  return isObject(d) && objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n  return isObject(e) &&\n      (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n  return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n  return arg === null ||\n         typeof arg === 'boolean' ||\n         typeof arg === 'number' ||\n         typeof arg === 'string' ||\n         typeof arg === 'symbol' ||  // ES6 symbol\n         typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = require('./support/isBuffer');\n\nfunction objectToString(o) {\n  return Object.prototype.toString.call(o);\n}\n\n\nfunction pad(n) {\n  return n < 10 ? '0' + n.toString(10) : n.toString(10);\n}\n\n\nvar months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep',\n              'Oct', 'Nov', 'Dec'];\n\n// 26 Feb 16:19:34\nfunction timestamp() {\n  var d = new Date();\n  var time = [pad(d.getHours()),\n              pad(d.getMinutes()),\n              pad(d.getSeconds())].join(':');\n  return [d.getDate(), months[d.getMonth()], time].join(' ');\n}\n\n\n// log is just a thin wrapper to console.log that prepends a timestamp\nexports.log = function() {\n  console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n};\n\n\n/**\n * Inherit the prototype methods from one constructor into another.\n *\n * The Function.prototype.inherits from lang.js rewritten as a standalone\n * function (not on Function.prototype). NOTE: If this file is to be loaded\n * during bootstrapping this function needs to be rewritten using some native\n * functions as prototype setup using normal JavaScript does not work as\n * expected during bootstrapping (see mirror.js in r114903).\n *\n * @param {function} ctor Constructor function which needs to inherit the\n *     prototype.\n * @param {function} superCtor Constructor function to inherit prototype from.\n */\nexports.inherits = require('inherits');\n\nexports._extend = function(origin, add) {\n  // Don't do anything if add isn't an object\n  if (!add || !isObject(add)) return origin;\n\n  var keys = Object.keys(add);\n  var i = keys.length;\n  while (i--) {\n    origin[keys[i]] = add[keys[i]];\n  }\n  return origin;\n};\n\nfunction hasOwnProperty(obj, prop) {\n  return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\n},{\"./support/isBuffer\":69,\"__browserify_process\":67,\"inherits\":66}]},{},[8])\n(8)\n});"
  },
  {
    "path": "debuggers/browser/static/renderers.js",
    "content": "(function() {\n\n    function GLRenderer(canvas, clothW, clothH) {\n        var glOpts = {\n            antialias: false,\n            depth: false,\n            preserveDrawingBuffer: true\n        };\n\n        this.width = canvas.width;\n        this.height = canvas.height;\n        this.gl = canvas.getContext('webgl', glOpts) || canvas.getContext('experimental-webgl', glOpts);\n        this.persMatrix = mat4.create();\n        this.worldTransform = mat4.create();\n        this.finalMatrix = mat4.create();\n        this.offset = [0, 0];\n\n        if(!this.gl) {\n            this.unsupported = true;\n            return;\n        }\n\n        mat4.ortho(0, this.width, this.height, 0, -1, 1, this.persMatrix);\n        mat4.identity(this.worldTransform);\n\n        mat4.multiply(this.persMatrix,\n                      this.worldTransform,\n                      this.finalMatrix);\n\n        this.init(\n            'attribute vec3 a_position; attribute vec3 a_color; uniform float u_time;' +\n                'uniform mat4 worldTransform; varying vec3 color; varying float time;' +\n                'void main() { ' +\n                ' color = a_color;' +\n                ' time = u_time;' +\n                ' gl_Position = worldTransform * vec4(a_position, 1);' +\n                '}',\n            'varying highp vec3 color;' +\n                'varying highp float time;' +\n                'void main() {' +\n                ' gl_FragColor = vec4(color.y * (1.0 - time) + color.x * time,' +\n                '                     color.x * (1.0 - time) + color.y * time,' +\n                '                     color.z * (1.0 - time) + color.z * time,' +\n                '                     1.0);' +\n                '}',\n            clothW,\n            clothH\n        );\n    }\n\n    GLRenderer.prototype.resize = function(w, h) {\n        var gl = this.gl;\n        this.width = w;\n        this.height = h;\n\n        mat4.ortho(0, this.width, this.height, 0, -1, 1, this.persMatrix);\n        mat4.identity(this.worldTransform);\n\n        gl.viewport(0, 0, w, h);\n    };\n\n    GLRenderer.prototype.init = function(vertexSrc, fragmentSrc, clothW, clothH) {\n        var gl = this.gl;\n\n        var vertexBuffer = gl.createBuffer();\n        this.vertexBuffer = vertexBuffer;\n\n        var colorBuffer = gl.createBuffer();\n        var colors = [];\n        var dimen = clothW * clothH;\n\n        for(var i=0; i<dimen; i++) {\n            for(var j=0; j<6; j++) {\n                colors.push(.18 + i/dimen*.6, .18, .18);\n            }\n        }\n\n        gl.bindBuffer(gl.ARRAY_BUFFER, colorBuffer);\n        gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(colors), gl.STATIC_DRAW);\n        this.colorBuffer = colorBuffer;\n\n        // program\n\n        function compile(shader, src, type) {\n            gl.shaderSource(shader, src);\n            gl.compileShader(shader);\n\n            var status = gl.getShaderParameter(shader, gl.COMPILE_STATUS);\n            if(!status) {\n                var err = gl.getShaderInfoLog(shader);\n                gl.deleteShader(shader);\n                throw new Error(type + ' shader compilation error: ' + err);\n            }\n\n            return shader;\n        }\n\n        var vshader = compile(gl.createShader(gl.VERTEX_SHADER), vertexSrc, 'vertex');\n        var fshader = compile(gl.createShader(gl.FRAGMENT_SHADER), fragmentSrc, 'fragment');\n\n        var program = gl.createProgram();\n        gl.attachShader(program, vshader);\n        gl.attachShader(program, fshader);\n        gl.linkProgram(program);\n        gl.useProgram(program);\n\n        var status = gl.getProgramParameter(program, gl.LINK_STATUS);\n        if(!status) {\n            var err = gl.getProgramInfoLog(program);\n            gl.deleteProgram(program);\n            throw new Error('program linking error: ' + err);\n        }\n\n        this.program = program;\n        this.worldTransformLoc = gl.getUniformLocation(program, 'worldTransform');\n        gl.uniformMatrix4fv(this.worldTransformLoc, false, this.finalMatrix);\n\n        gl.bindBuffer(gl.ARRAY_BUFFER, this.vertexBuffer);\n        var loc = gl.getAttribLocation(this.program, 'a_position');\n        gl.enableVertexAttribArray(loc);\n        gl.vertexAttribPointer(loc, 2, gl.FLOAT, false, 0, 0);\n\n        gl.bindBuffer(gl.ARRAY_BUFFER, this.colorBuffer);\n        loc = gl.getAttribLocation(this.program, 'a_color');\n        gl.enableVertexAttribArray(loc);\n        gl.vertexAttribPointer(loc, 3, gl.FLOAT, false, 0, 0);\n\n        this.timeLoc = gl.getUniformLocation(this.program, 'u_time');\n    };\n\n    GLRenderer.prototype.clear = function() {\n        var gl = this.gl;\n        gl.clearColor(0, 0, 0, 0);\n        gl.clear(gl.COLOR_BUFFER_BIT);\n    };\n\n    GLRenderer.prototype.fadeIn = function() {\n        if(!this.fadeStarted) {\n            this.fadeStarted = Date.now();\n        }\n    };\n\n    GLRenderer.prototype.setOffset = function(x, y, scale) {\n        mat4.translate(this.worldTransform, [x, y, 0]);\n\n        var m = mat4.create();\n        mat4.scale(m, this.worldTransform, [scale, scale, scale]);\n        this.worldTransform = m;\n\n        this.offset = [x, y];\n        this.scale = scale;\n    };\n\n    GLRenderer.prototype.render = function(entities, w, h) {\n        var gl = this.gl;\n        this.clear();\n\n        mat4.multiply(this.persMatrix,\n                      this.worldTransform,\n                      this.finalMatrix);\n\n        gl.uniformMatrix4fv(this.worldTransformLoc, false, this.finalMatrix);\n        gl.uniform1f(this.timeLoc, 0);\n\n        var points = [];\n        for(var i=0, l=entities.length; i<l; i++) {\n            var x = i % w;\n            var y = Math.floor(i / w);\n\n            if(x < w - 1 && y < h - 1) {\n                var ent1 = entities[y * w + x];\n                var ent2 = entities[(y + 1) * w + x];\n                var ent3 = entities[(y + 1) * w + x + 1];\n                var ent4 = entities[y * w + x + 1];\n\n                points.push(ent1.pos[0]);\n                points.push(ent1.pos[1]);\n                points.push(ent2.pos[0]);\n                points.push(ent2.pos[1]);\n                points.push(ent3.pos[0]);\n                points.push(ent3.pos[1]);\n\n                points.push(ent1.pos[0]);\n                points.push(ent1.pos[1]);\n                points.push(ent3.pos[0]);\n                points.push(ent3.pos[1]);\n                points.push(ent4.pos[0]);\n                points.push(ent4.pos[1]);\n            }\n        }\n\n        gl.bindBuffer(gl.ARRAY_BUFFER, this.vertexBuffer);\n        gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(points), gl.STATIC_DRAW);\n        gl.drawArrays(gl.TRIANGLES, 0, points.length / 2);\n    };\n\n    window.ClothDemo = {\n        GLRenderer: GLRenderer\n    };\n})();\n"
  },
  {
    "path": "debuggers/browser/static/src.js",
    "content": "\nvar canvas, ctx, lastTime, rightClick;\ncanvas = document.querySelector('canvas');\ncanvas.width = window.innerWidth;\ncanvas.height = window.innerHeight;\n\nvar clothW = 47;\nvar clothH = 10;\n\nvar renderer = new ClothDemo.GLRenderer(canvas, clothW, clothH);\n\nvar prevMouse = null;\nvar running = false;\nvar startTime;\nvar hasTracked = false;\n\nwindow.onmousemove = function(e) {\n  e.preventDefault();\n\n  var mouse = [e.pageX / renderer.scale,\n               e.pageY / renderer.scale];\n\n  if(prevMouse) {\n    var diff = [mouse[0] - prevMouse[0], mouse[1] - prevMouse[1]];\n    var d = Math.sqrt(diff[0] * diff[0] + diff[1] * diff[1]);\n\n    for(var i=0; i<d; i+=1) {\n      mousemove(prevMouse[0] + diff[0] * (i / d),\n                prevMouse[1] + diff[1] * (i / d));\n    }\n  }\n\n  mousemove(mouse[0], mouse[1]);\n  prevMouse = mouse;\n};\n\nrequestAnimationFrame(function() {\n  init();\n  start();\n});\n\nfunction init() {\n  // responsiveness\n  var scale = Math.min(canvas.width / 1359, 1.0);\n  var v = [Math.max((canvas.width - 1359) / 2, 0),\n           (1 - scale) * 50,\n           Math.min(canvas.width / 1359, 1.0)];\n  console.log(v);\n  renderer.setOffset(v[0], v[1], v[2]);\n\n  initPoints();\n}\n\nfunction start() {\n  lastTime = Date.now();\n  startTime = Date.now();\n  running = true;\n  requestAnimationFrame(heartbeat);\n}\n\nfunction stop() {\n  running = false;\n}\n\nfunction heartbeat() {\n  if(!running) {\n    return;\n  }\n\n  var now = Date.now();\n  var dt = now - lastTime;\n  lastTime = now;\n\n  update(16 / 1000);\n\n  renderer.render(entities, clothW, clothH);\n  //requestAnimationFrame(heartbeat);\n}\n\nfunction update(dt) {\n  for(var z=0; z<3; z++) {\n    for(var i=0; i<entities.length; i++) {\n      entities[i].solveConstraints();\n    }\n  }\n\n  for(var i=0, l=entities.length; i<l; i++) {\n    entities[i].update(dt);\n  }\n}\n\nvar mouseInfluenceSize = 10;\nvar mouseInfluenceScalar = 8;\nvar lastMouse = [0, 0];\nfunction mousemove(x, y) {\n  if(rightClick) {\n    for(var i=0; i<entities.length; i++) {\n      if(entities[i].pinned) {\n        continue;\n      }\n\n      var pos = entities[i].pos;\n      var size = entities[i].size;\n\n      if(x > pos[0] && x < pos[0] + size[0] &&\n         y > pos[1] && y < pos[1] + size[1]) {\n        entities[i].removeLinks();\n        entities.splice(i, 1);\n        break;\n      }\n    }\n  }\n  else {\n    for(var i=0; i<entities.length; i++) {\n      if(entities[i].pinned) {\n        continue;\n      }\n\n      var pos = entities[i].pos;\n      var line = [pos[0] - x, pos[1] - y];\n      var dist = Math.sqrt(line[0]*line[0] + line[1]*line[1]);\n\n      if(dist < mouseInfluenceSize) {\n        renderer.fadeIn();\n\n        entities[i].lastPos[0] =\n          (entities[i].pos[0] -\n           (x - lastMouse[0]) * mouseInfluenceScalar);\n\n        entities[i].lastPos[1] =\n          (entities[i].pos[1] -\n           (y - lastMouse[1]) * mouseInfluenceScalar);\n      }\n    }\n  }\n\n  lastMouse = [x, y];\n}\n\n// objects\n\nfunction Point(pos, size, mass, pinned) {\n  this.pos = pos;\n  this.lastPos = pos;\n  this.size = size;\n  this.mass = 1;\n  this.acc = [0, .05];\n  this.pinned = pinned;\n  this.links = [];\n}\n\nPoint.prototype.update = function(dt) {\n  this.applyForce([0, this.mass * gravity]);\n  var dtSeq = dt * dt;\n\n  var x = this.pos[0];\n  var y = this.pos[1];\n  var lx = this.lastPos[0];\n  var ly = this.lastPos[1];\n  var acc = this.acc;\n\n  var vel = [(x - lx) * .99, (y - ly) * .99];\n  var next = [x + vel[0] + acc[0] * dtSeq,\n              y + vel[1] + acc[1] * dtSeq];\n  this.lastPos = this.pos;\n  this.pos = next;\n\n  this.acc = [0, 0];\n};\n\nPoint.prototype.solveConstraints = function() {\n  var links = this.links;\n\n  for(var i=0; i<links.length; i++) {\n    links[i].solve();\n  }\n\n  if(this.pinned) {\n    this.pos[0] = this.lastPos[0];\n    this.pos[1] = this.lastPos[1];\n  }\n};\n\nPoint.prototype.applyForce = function(force) {\n  this.acc[0] += force[0] / this.mass;\n  this.acc[1] += force[1] / this.mass;\n};\n\nPoint.prototype.attachTo = function(point, distRest, stiffness, tearness) {\n  this.links.push(new Link(this, point, distRest, stiffness, tearness));\n};\n\nPoint.prototype.removeLink = function(link) {\n  this.links.splice(this.links.indexOf(link), 1);\n};\n\nPoint.prototype.removeLinks = function() {\n  this.links = [];\n};\n\nfunction Link(point1, point2, distRest, stiffness, tearness) {\n  this.point1 = point1;\n  this.point2 = point2;\n  this.distRest = distRest;\n  this.stiffness = stiffness;\n  this.tearness = tearness;\n}\n\nLink.prototype.solve = function() {\n  var p1 = this.point1.pos;\n  var p2 = this.point2.pos;\n\n  var diff = [p1[0] - p2[0], p1[1] - p2[1]];\n  var d = Math.sqrt(diff[0] * diff[0] + diff[1] * diff[1]);\n\n  if(d > this.tearness) {\n    this.point1.removeLink(this);\n  }\n  else if(d < this.distRest) {\n    return;\n  }\n\n  var scalar = (this.distRest - d) / d;\n\n  var im1 = 1 / this.point1.mass;\n  var im2 = 1 / this.point2.mass;\n  var scalarP1 = (im1 / (im1 + im2)) * this.stiffness;\n  var scalarP2 = this.stiffness - scalarP1;\n\n  if(!this.point1.pinned) {\n    p1[0] += diff[0] * scalarP1 * scalar;\n    p1[1] += diff[1] * scalarP1 * scalar;\n  }\n\n  if(!this.point2.pinned) {\n    p2[0] -= diff[0] * scalarP2 * scalar;\n    p2[1] -= diff[1] * scalarP2 * scalar;\n  }\n};\n\n// state\n\nvar entities = [];\nvar gravity = 0;\n\nvar startY = 0;\nvar startX = 0;\nvar restingDistances = 30;\nvar stiffness = 1;\nvar curtainTearSensitivity = 70;\n\n// the initial positions were made by creating a flat cloth\n// and then interacting with it and calling\n// `ClothDemo.savePoints` to grab a snapshot of the existing\n// structure\nvar positions = [176.07970014172156, 117.56090037334924, 193.2109537527819, 104.55803242279038, 220.95966268164275, 115.960188040797, 233.19419498760533, 88.56828742666842, 260.8176859692299, 100.27054131109111, 288.87019864150204, 110.90334586918328, 261.8501711077318, 123.93861004253536, 268.3523702495211, 153.22549117249721, 295.4502112722858, 140.35276761046768, 322.097634995333, 126.5718094100822, 325.2039846753154, 96.73306627861619, 318.636774896099, 87.64669297023494, 339.44745321468935, 106.04478501152968, 357.04347735725304, 122.44986360486101, 375.8473530998583, 128.6615503445264, 396.30938601518676, 120.27591602824195, 425.9088066418599, 115.38978273439251, 453.3028279629242, 127.6195658829449, 483.2790101955437, 126.42436767505461, 512.6230298640136, 120.1850961095241, 541.5189346242375, 112.12118340612442, 571.4606865910638, 110.25263071719496, 596.7423974307711, 126.40302071302574, 619.9268509044944, 145.44195758196636, 649.5886252129013, 140.94983727232196, 678.9307270117617, 134.70155254567263, 708.777115896716, 131.66954487298332, 737.4458220700614, 122.83182535117692, 765.2734958940574, 111.62376710974479, 794.94957594673, 116.02038771028533, 817.7651379380488, 135.49986745222003, 847.7650890361182, 135.4457000039548, 875.9043612445726, 145.84672685607092, 905.3324407671976, 140.0167924136719, 932.1220349620082, 153.51929747271188, 959.4291901359143, 165.94182846714415, 989.3414307680109, 168.23483094512366, 1017.9132829890644, 159.08883397333557, 1044.244008377189, 144.71201581210545, 1073.9725091900846, 148.73895502416266, 1095.9412328151586, 169.16871719324152, 1124.8847887852519, 161.27754695691004, 1137.4514311167786, 134.03641077444948, 1152.2287329836872, 108.29808872674023, 1178.5050463941534, 93.82206187179776, 1174.6484997971968, 67.14578091843102, 1203.6857651859043, 74.68482719337673, 165.54240688339547, 145.48567327500655, 190.94146654929517, 134.32428415944165, 218.15853906327735, 136.72826787960412, 237.84692454690907, 114.09273216606167, 245.5977075836767, 85.11126632471364, 272.9526780475274, 93.99482545799354, 283.3843495893561, 122.122751595877, 275.7297478798789, 145.54566471920106, 295.5264229906817, 123.00477621589557, 311.44719123264247, 101.44107974731028, 325.4426505575526, 86.61143269278286, 332.0301960716699, 114.49098974263745, 360.4271519653154, 124.16636549625477, 386.9845294769166, 120.57013012200235, 403.8825954940316, 118.26033118471808, 396.991862808126, 144.92131667831939, 424.35913604841306, 139.89290353530208, 450.2185160647092, 124.6846010287978, 480.09668047656265, 121.98362132269571, 510.06486820581597, 123.36482522524204, 539.9883730587711, 121.22383076138262, 569.703339043778, 117.09820395991511, 599.191477083631, 111.58007792501927, 621.555879120069, 131.5759155306185, 648.7460354921711, 144.25248432743612, 678.7375623894173, 144.96544601733444, 707.2650362564585, 135.68195342223308, 733.5740263363622, 121.26539901514262, 763.0791151019826, 115.83863783281873, 791.9774573629514, 123.89381098805133, 818.5682904211083, 137.78364890172753, 847.1497593325882, 146.84231051281637, 876.897997923431, 150.72075101641886, 906.3105330026602, 156.62860851411708, 935.5546856644398, 163.3203597854974, 965.1892058365752, 158.6518253085017, 993.6732290599662, 149.2358590277956, 1022.2270593122046, 140.03375177328937, 1051.49948401227, 133.4667774261003, 1081.496688404782, 133.05723057891794, 1089.8639292732928, 156.91414672316682, 1103.9596097810513, 143.5267062125413, 1133.4611881856576, 138.08089393291007, 1122.7568191602963, 113.90222072864738, 1149.0633427005334, 99.58099689578343, 1153.6865053403853, 69.94105227267607, 1182.2312226175773, 60.71071557445865, 140.69224895008205, 128.67883982291568, 165.21819483159493, 138.69183471152536, 191.36337821698714, 123.98029550775018, 221.34210304249055, 122.85066820782176, 236.72685715286252, 97.0958756254553, 247.31071783344768, 100.72317260248855, 260.40493537268543, 127.71467991562535, 282.770646861992, 147.70905286346002, 312.71982412762515, 145.96354978432012, 303.2986002706974, 119.91640904031182, 332.99306801616547, 115.64574336482528, 356.5079907613373, 130.09036618999846, 384.9539265519072, 120.55995502387233, 388.63823464235577, 90.78704999438865, 418.4981040965138, 93.19489068803985, 413.09791402575945, 119.63162524288066, 435.54923972311855, 139.52981547259088, 465.2685428092317, 143.62408269343177, 493.0293208904005, 132.2513433432167, 512.543952955006, 109.46584059820788, 540.6704968204687, 119.90088912024218, 570.2430009309383, 114.85495599461261, 599.5891061916525, 121.08427999306898, 629.0400933293929, 126.79736642769319, 658.8243288893439, 123.32765276748145, 688.7013667986482, 121.43320559981902, 718.6474406050922, 120.80650599081733, 748.0831874084868, 126.5096840818075, 778.0666084146793, 127.5069126212786, 806.8706576825037, 119.12080829739213, 836.0617325827011, 113.41195463701716, 854.3498170370419, 137.0554504229569, 875.0243033974443, 158.79402474893698, 904.9812513896061, 157.187392559869, 932.7864721069363, 145.9237474640699, 962.6283202146034, 142.84736947754007, 990.0544785150714, 155.00491202847, 1013.1946575713057, 164.6070818734384, 1042.808057009989, 159.8063971641265, 1070.821151233731, 159.2948813208455, 1070.2670675875509, 134.1993275059705, 1081.7829346160004, 130.84953828057263, 1110.3599555434134, 121.71970396129281, 1100.7695345781765, 93.49243590114669, 1127.896176356891, 94.5603949892741, 1150.0788059083366, 74.36309452185039, 1164.9649053237986, 48.38521648034728, 111.83285593718034, 120.88041969228682, 139.1856298590515, 123.78191985789671, 166.08959248963532, 110.50875916527549, 195.8827484664399, 106.99196276204216, 212.79474342185378, 98.72029360597213, 228.6360592537558, 124.19680013274132, 255.56624047987512, 131.7291691063613, 269.570149097122, 158.26010469934636, 298.7217197059519, 151.1759017774982, 323.9759276867838, 134.98253958026618, 353.91029868566034, 132.99925117435527, 372.97053458188054, 109.8323047295726, 393.4977850770185, 92.24767515987008, 400.80915663097403, 63.36682647329077, 428.45633296563784, 68.9533867290467, 434.2761139098314, 98.38347591950028, 426.15355319143555, 121.28743123169309, 450.4144503104024, 138.9342119852455, 480.05176601297387, 134.2834574288114, 509.83124680054505, 130.65268285328827, 539.8093551369294, 131.79855393824823, 567.4103158188346, 120.04325855974226, 595.7636128372606, 110.24067991042901, 625.7587264278302, 109.69923675716028, 655.7412900172424, 110.72191980022123, 678.5779975407041, 130.176605340465, 706.4329353322961, 119.0364778444915, 734.7082198452547, 109.01109577171653, 764.5124726196758, 105.58961706251426, 794.3057279971227, 109.10557127298442, 824.2748610755285, 107.7450336849385, 850.5939173357045, 122.14320292867275, 878.1307217907586, 134.04800869718264, 906.2709397177198, 144.4464766138048, 931.4680470415749, 160.72854596767334, 960.6405638626104, 156.65973510194894, 990.1268346093353, 159.04526463507264, 1020.0567455912327, 156.99576991312694, 1049.384245101509, 150.67930155878088, 1072.9707623606012, 132.14079558917567, 1050.54167697527, 121.05712567173506, 1068.7331917332876, 144.0595578608873, 1088.5631969501835, 122.72210280462959, 1096.983374570103, 107.25279716631822, 1102.0010466832678, 79.41304343331089, 1124.773152946022, 69.05053746396791, 1135.617426807604, 42.162234500170605, 126.55722774949392, 94.74246118875504, 147.7829292274057, 97.44307257276066, 171.80660442490648, 113.11059629561309, 201.79524446289585, 113.93610745318922, 229.59671238487857, 123.50097353924376, 247.53620326776476, 147.49453728132343, 271.2470316823708, 157.02108343543568, 293.8799468334841, 175.8276017878609, 314.70455940779533, 154.2327989147197, 338.3344273165975, 135.74958105059866, 368.2985650936724, 134.28314070866114, 394.3026835406336, 119.32366799749254, 415.6985653199742, 109.98354225742763, 398.7893538839304, 91.79680971077597, 418.877718575235, 83.30532407694774, 444.8205139330535, 97.59142686584539, 425.0536637431123, 117.98313386860097, 451.8122138234937, 131.5470565164, 480.61858513485026, 123.16893191332665, 508.0001537697374, 110.91129351559742, 537.9415705676813, 109.0373778009666, 567.9070654221016, 110.47582075378804, 597.8234685461354, 108.23778051382885, 627.5111557727464, 112.55532925364182, 657.4929197203586, 111.50946569443335, 687.1861488913381, 107.23019690263544, 717.1835909647375, 107.62194816412443, 747.1463726453458, 108.53626514037255, 777.1021656134025, 106.91587328192304, 794.7765675981908, 110.96080475706835, 818.1696675707701, 122.03395889914367, 846.2020951260196, 130.29316981889062, 867.6319458573214, 136.14592332161135, 885.1746189574121, 133.46177266510753, 913.9134829890486, 142.00559378544142, 942.4637764060366, 132.79334874461068, 972.0955653142105, 135.15949517495855, 1002.094846868399, 135.36711556016618, 1028.2045351093423, 130.01066292611475, 1055.7004786073965, 118.01178418059193, 1032.233684444863, 102.49167851850112, 1058.037049656435, 116.44602512899522, 1072.2207282010452, 142.881290645785, 1067.690312073099, 113.72709167803445, 1075.6751611709078, 93.79872214321206, 1096.635649095079, 79.45634723593948, 1115.8202245390328, 64.70266001363119, 155.5876629048413, 102.30776585483082, 172.34362198718966, 114.56593845310525, 198.96975481441507, 118.76804616934183, 219.4485372241068, 138.1922665614849, 248.14246006144663, 146.94776724410895, 277.24340658610447, 143.3133806235661, 286.4288111240828, 171.87258830630714, 316.0737671856056, 167.27078647345883, 342.8692484655303, 159.5137151010075, 355.78638006518446, 133.84934881562089, 361.4784594362775, 106.88071130779636, 385.2674061124108, 90.71661009586106, 401.02003219884625, 100.99195779993413, 371.0258369704412, 101.58208710761636, 394.1312032570011, 100.14999178201583, 420.2824574085606, 114.85073687513595, 428.7828381957879, 143.6212691341904, 450.6465719078863, 127.35755873075306, 475.05703230540547, 109.91825188730475, 500.0924144538414, 94.83235498516188, 529.118684435559, 87.63729069304684, 557.3986126732274, 90.63124206774872, 587.3014728230961, 92.9716394083248, 617.1314851369611, 96.14886698579255, 641.5912623250795, 113.51631320471178, 671.2687682215349, 117.8932510603155, 700.9214356068558, 122.43517320267809, 729.1646477267946, 132.54996058594972, 758.5581989388984, 126.79255338894633, 782.6506410677922, 138.40095610098928, 795.3217523524155, 131.13960769363027, 825.2443405719487, 128.98584024084315, 845.8901210195984, 138.14556385379498, 868.2036855826267, 158.19811572360385, 896.2678154045522, 166.26730055754246, 915.6708338099277, 146.0060799527939, 943.5908742692848, 139.8563287340231, 972.4799967934406, 131.86662742401, 999.8534395941019, 120.20171889123834, 1028.3275572430755, 126.67664143545336, 1045.7362690727323, 102.30907075982664, 1034.6307134261542, 116.02476432207376, 1048.3846455489404, 125.28686926180552, 1041.7970305049244, 98.67272739092687, 1055.258026169351, 71.86225190613098, 1077.1445521007934, 62.3438033284247, 1088.3357080676185, 76.72769033914172, 181.57856915811206, 117.29018195283233, 199.13200951492666, 114.7857942976115, 218.27856835740852, 137.88144939746454, 218.09544884030421, 167.18837270160486, 246.02053519747633, 156.22527314250988, 275.96758417979385, 158.00691767724368, 305.9240174213962, 156.3907161301038, 331.8485138397383, 141.7530011464271, 354.7052739276535, 131.94727715084738, 376.60628492731206, 112.25000712358168, 382.0365580352077, 85.75125293487865, 391.23372338512166, 61.31587782273433, 403.5496086871963, 71.09879398630237, 386.1461771630761, 83.52022224295229, 386.22187812012265, 113.51102672401518, 414.01670533843105, 124.78115897825386, 435.09377377011106, 137.9836889131231, 458.8599289499585, 120.85101262901111, 487.3585952678224, 111.47945896369947, 516.4513200857571, 110.54565984751633, 546.4081713855722, 112.15409393093337, 574.3485285242459, 113.12676706190308, 602.9066076902427, 112.91785337071353, 632.9012744363378, 113.4835094402792, 662.85147848344, 111.7557138689427, 683.5105734472436, 133.50891582350536, 705.4987601440154, 151.91843480823388, 734.637703953463, 159.05439680849975, 763.23968001272, 150.00304522419177, 776.7728883843766, 123.31375401864568, 798.29900286269, 102.41814693329809, 828.1626448949995, 105.1773706480519, 857.6671833142079, 110.5935630733478, 854.1847809612323, 140.27818909416305, 866.2806286909931, 167.14401773317994, 896.2249529792958, 168.85028531695124, 915.6972398037019, 148.65756057084818, 942.7155641183203, 135.61876648435336, 970.0551832049168, 123.63556945205521, 999.1190518599508, 119.83097030090643, 1023.4285331185458, 122.36249537963441, 1046.1455215467931, 102.76814831854006, 1024.925170308852, 106.61798655004306, 1022.5889393829383, 77.7631266494308, 1034.4435392821638, 50.25768906373383, 1049.2631857248443, 51.26998695838691, 1058.36329260217, 75.44149005822013, 211.0595909140384, 122.84620177153411, 197.59956825720735, 134.70153636760722, 207.42448975447672, 155.98501245168114, 236.51405465500127, 148.66248317965096, 266.4985571875422, 149.62664492714492, 287.6599802936013, 130.37925268150565, 311.95778790464806, 127.00375280018207, 335.0736120884215, 111.926859235592, 365.0626535193053, 111.11606083120863, 374.4554793060706, 82.62439847643074, 377.24327411410434, 56.136654689267665, 400.0520827042807, 36.6492677251694, 423.4950443052666, 48.68942991676545, 409.53524524583884, 64.85613535518776, 409.71550108581005, 94.85515921493285, 436.36127492887414, 108.63915964461022, 455.79925043694925, 116.27463006666434, 484.4726863912027, 125.09699202796826, 514.4519036761254, 123.98051050851961, 543.8726666097593, 118.1137645277841, 570.9815778889206, 129.36303616515522, 596.5043944388976, 113.59643109794958, 621.7646865593005, 129.78030090685965, 651.3038399200798, 135.01847031299266, 681.2694050425252, 133.58149192430758, 708.204649141458, 146.7910575996358, 734.0806546390648, 156.95099393050452, 762.9095094794692, 149.51937183749862, 777.6305314065723, 123.67998696417848, 773.060846195251, 94.03006323629293, 795.1198312908776, 73.69779389546359, 825.0750318888702, 75.33668288915402, 844.8643770377416, 83.46261853676938, 857.8444669494784, 110.50224748911975, 853.3217402333634, 140.08995459573742, 866.618758180194, 166.9821340113312, 894.9713038642376, 157.17738244732885, 913.7546824922728, 133.78540332382158, 940.2901289241217, 119.98101802879819, 969.2593536636757, 116.93296691527213, 996.1663717228151, 109.84153071903124, 1024.5611691884076, 117.51909163615353, 1048.7765319342222, 99.80987914420604, 1043.9058666652143, 70.20790928006934, 1049.2345212595546, 40.6849446556586, 1030.9782914520767, 60.98099494423437, 1029.8644138356299, 66.07058246903145, 220.73766061781555, 151.24223964318952, 203.90690914813084, 164.03100023729667, 226.02518208858257, 179.5225196410343, 234.94694037086563, 150.88439766937623, 250.09508490162656, 124.98973186202961, 272.60661863743644, 105.1596827228962, 284.9312308414012, 113.98203197281744, 309.32913015978784, 96.52519616983233, 339.190304797828, 99.40794646007986, 358.27291489779157, 76.25942616676835, 381.83229578501454, 57.81461874662766, 400.0734193339647, 36.34577141625157, 396.2046622731518, 43.610658049604126, 397.952255890145, 73.55971340281687, 418.13228176223646, 95.75805919257213, 447.7076318799079, 90.72828132308355, 476.72949094719974, 98.32641900795363, 503.3297948778095, 112.1981107144176, 530.900143287964, 124.02502445142585, 558.2530485542479, 136.34649244403894, 586.4683434707615, 126.1534981453566, 616.4664244935036, 126.49281356150527, 646.2743593606248, 129.88206406213587, 674.7694813622629, 139.2643890464438, 702.893001403874, 149.70793348625133, 714.4388294397436, 176.136159337548, 744.3389256511034, 178.58243130740587, 745.4999481013236, 148.60490594473663, 749.0883264282393, 118.8202867431618, 768.2205569687736, 95.83430436678061, 790.7884623049138, 76.06843356036644, 804.1668717757359, 65.35326912265191, 816.7648248221441, 92.5799394853625, 835.3625020923863, 116.11982903801275, 845.6779907190286, 144.29057085276176, 844.6111194401407, 174.271594612371, 874.5683485727589, 175.8729761083624, 889.2015638660122, 149.6838751276242, 912.1397308420993, 130.35189493571687, 942.0386007948154, 129.54370096416582, 967.119100644929, 113.24196097451174, 996.5088355608863, 107.22170503575651, 1026.4642958825525, 108.85583994931811, 1035.1699549338, 80.14675601265434, 1025.2878689772037, 51.8210719583249, 1001.2054036342149, 64.66544210598826, 1000.7802754755517, 73.42672926951784, 197.99104090598922, 159.08882143754798, 187.63030043965128, 187.24295180927749, 213.18470340169412, 202.95831019695947, 233.41775090538295, 180.80828110665092, 242.0612844929094, 153.09948217759077, 254.1981680028168, 125.66417538749255, 261.48089724137145, 96.56156631480557, 285.57768202251526, 78.69134070879241, 309.9307847167953, 96.21065545454442, 339.75421966235115, 99.46069053845899, 364.222168868065, 82.10213467495257, 383.4522678845528, 61.32050513846979, 409.62179761702004, 51.643105565828925, 410.99476801472053, 81.61167163573529, 415.3647783469918, 110.79240237110733, 443.35467395892806, 100.03682973984321, 472.30060025547334, 107.8533047349601, 502.29367374511787, 107.20867876398918, 531.5907598049074, 113.57239174803186, 560.2140041001089, 122.47914258261719, 589.776430871241, 127.47997579095266, 619.6928706535259, 129.71752595826837, 649.6330528858264, 127.82398749925208, 679.4363260430956, 131.25398882756696, 695.1355343280145, 156.818316693298, 705.4703802495869, 184.98196276012192, 735.2316631934068, 181.20492191608676, 727.474875444537, 152.22506263729127, 735.9788833338769, 123.45560227012538, 754.0873291760448, 99.53732078544748, 783.9239865809453, 96.4110010799143, 811.9718246580052, 85.76587171466355, 840.0020671793562, 96.45724693921399, 853.5971899040437, 123.19995880806688, 849.3052233825535, 152.89135526189523, 843.206577451528, 182.26492361522713, 856.7447411794212, 165.514241383384, 877.379978704417, 143.73840678895593, 907.377544948157, 144.1205317055544, 930.5235463268181, 125.03486639943071, 953.5069501021785, 105.75370588200647, 982.1474976628924, 114.68225757990537, 1011.461734318285, 121.05999458539696, 1024.902277369761, 94.23926002272435, 1007.0135193385902, 70.15622997868391, 977.4187981732781, 75.0707471621091, 990.995365544833, 101.7223197270627];\n\nfunction initPoints() {\n  entities = [];\n\n  for(var y=0; y<clothH; y++) {\n    for(var x=0; x<clothW; x++) {\n      var p = new Point(\n        // [startX + x * restingDistances,\n        //  y * restingDistances + startY],\n        [positions[(y * clothW + x) * 2],\n         positions[(y * clothW + x) * 2 + 1]],\n        [3, 3],\n        1,\n        false\n      );\n      p.scale = Math.random() * 10 | 0;\n\n      if(x > 0) {\n        p.attachTo(entities[entities.length - 1],\n                   restingDistances,\n                   1,\n                   curtainTearSensitivity);\n      }\n\n      if(y > 0) {\n        p.attachTo(entities[(y - 1) * clothW + x],\n                   restingDistances,\n                   1,\n                   curtainTearSensitivity);\n      }\n\n      entities.push(p);\n    }\n  }\n}\n\nwindow.ClothDemo.savePoints = function() {\n  var points = [];\n\n  for(var i=0, l=entities.length; i<l; i++) {\n    points.push(entities[i].pos[0]);\n    points.push(entities[i].pos[1]);\n  }\n\n  console.log(points.toSource());\n};\n\n"
  },
  {
    "path": "debuggers/browser/static/src.txt",
    "content": "\nvar canvas, ctx, lastTime, rightClick;\ncanvas = document.querySelector('canvas');\ncanvas.width = window.innerWidth;\ncanvas.height = window.innerHeight;\n\nvar clothW = 47;\nvar clothH = 10;\n\nwindow.renderer = new ClothDemo.GLRenderer(canvas, clothW, clothH);\n\nvar running = false;\nvar startTime;\nvar hasTracked = false;\n\nrequestAnimationFrame(function() {\n  init();\n  start();\n});\n\nfunction init() {\n  // responsiveness\n  var scale = Math.min(canvas.width / 1359, 1.0);\n  renderer.setOffset(Math.max((canvas.width - 1359) / 2, 0),\n                     (1 - scale) * 50,\n                     Math.min(canvas.width / 1359, 1.0));\n\n  initPoints();\n}\n\nfunction start() {\n  lastTime = Date.now();\n  startTime = Date.now();\n  running = true;\n  requestAnimationFrame(heartbeat);\n}\n\nfunction stop() {\n  running = false;\n}\n\nfunction heartbeat() {\n  if(!running) {\n    return;\n  }\n\n  var now = Date.now();\n  var dt = now - lastTime;\n  lastTime = now;\n\n  update(16 / 1000);\n\n  renderer.render(entities, clothW, clothH);\n  requestAnimationFrame(heartbeat);\n}\n\nfunction update(dt) {\n  for(var z=0; z<3; z++) {\n    for(var i=0; i<entities.length; i++) {\n      entities[i].solveConstraints();\n    }\n  }\n\n  for(var i=0, l=entities.length; i<l; i++) {\n    entities[i].update(dt);\n  }\n}\n\n// objects\n\nfunction Point(pos, size, mass, pinned) {\n  this.pos = pos;\n  this.lastPos = pos;\n  this.size = size;\n  this.mass = 1;\n  this.acc = [0, .05];\n  this.pinned = pinned;\n  this.links = [];\n}\n\nPoint.prototype.update = function(dt) {\n  this.applyForce([0, this.mass * gravity]);\n  var dtSeq = dt * dt;\n\n  var x = this.pos[0];\n  var y = this.pos[1];\n  var lx = this.lastPos[0];\n  var ly = this.lastPos[1];\n  var acc = this.acc;\n\n  var vel = [(x - lx) * .99, (y - ly) * .99];\n  var next = [x + vel[0] + acc[0] * dtSeq,\n              y + vel[1] + acc[1] * dtSeq];\n  this.lastPos = this.pos;\n  this.pos = next;\n\n  this.acc = [0, 0];\n};\n\nPoint.prototype.solveConstraints = function() {\n  var links = this.links;\n\n  for(var i=0; i<links.length; i++) {\n    links[i].solve();\n  }\n\n  if(this.pinned) {\n    this.pos[0] = this.lastPos[0];\n    this.pos[1] = this.lastPos[1];\n  }\n};\n\nPoint.prototype.applyForce = function(force) {\n  this.acc[0] += force[0] / this.mass;\n  this.acc[1] += force[1] / this.mass;\n};\n\nPoint.prototype.attachTo = function(point, distRest, stiffness, tearness) {\n  this.links.push(new Link(this, point, distRest, stiffness, tearness));\n};\n\nPoint.prototype.removeLink = function(link) {\n  this.links.splice(this.links.indexOf(link), 1);\n};\n\nPoint.prototype.removeLinks = function() {\n  this.links = [];\n};\n\nfunction Link(point1, point2, distRest, stiffness, tearness) {\n  this.point1 = point1;\n  this.point2 = point2;\n  this.distRest = distRest;\n  this.stiffness = stiffness;\n  this.tearness = tearness;\n}\n\nLink.prototype.solve = function() {\n  var p1 = this.point1.pos;\n  var p2 = this.point2.pos;\n\n  var diff = [p1[0] - p2[0], p1[1] - p2[1]];\n  var d = Math.sqrt(diff[0] * diff[0] + diff[1] * diff[1]);\n\n  if(d > this.tearness) {\n    this.point1.removeLink(this);\n  }\n  else if(d < this.distRest) {\n    return;\n  }\n\n  var scalar = (this.distRest - d) / d;\n\n  var im1 = 1 / this.point1.mass;\n  var im2 = 1 / this.point2.mass;\n  var scalarP1 = (im1 / (im1 + im2)) * this.stiffness;\n  var scalarP2 = this.stiffness - scalarP1;\n\n  if(!this.point1.pinned) {\n    p1[0] += diff[0] * scalarP1 * scalar;\n    p1[1] += diff[1] * scalarP1 * scalar;\n  }\n\n  if(!this.point2.pinned) {\n    p2[0] -= diff[0] * scalarP2 * scalar;\n    p2[1] -= diff[1] * scalarP2 * scalar;\n  }\n};\n\n// state\n\nwindow.entities = [];\nvar gravity = 0;\n\nvar startY = 0;\nvar startX = 0;\nvar restingDistances = 30;\nvar stiffness = 1;\nvar curtainTearSensitivity = 70;\n\n// the initial positions were made by creating a flat cloth\n// and then interacting with it and calling\n// `ClothDemo.savePoints` to grab a snapshot of the existing\n// structure\nvar positions = [176.07970014172156, 117.56090037334924, 193.2109537527819, 104.55803242279038, 220.95966268164275, 115.960188040797, 233.19419498760533, 88.56828742666842, 260.8176859692299, 100.27054131109111, 288.87019864150204, 110.90334586918328, 261.8501711077318, 123.93861004253536, 268.3523702495211, 153.22549117249721, 295.4502112722858, 140.35276761046768, 322.097634995333, 126.5718094100822, 325.2039846753154, 96.73306627861619, 318.636774896099, 87.64669297023494, 339.44745321468935, 106.04478501152968, 357.04347735725304, 122.44986360486101, 375.8473530998583, 128.6615503445264, 396.30938601518676, 120.27591602824195, 425.9088066418599, 115.38978273439251, 453.3028279629242, 127.6195658829449, 483.2790101955437, 126.42436767505461, 512.6230298640136, 120.1850961095241, 541.5189346242375, 112.12118340612442, 571.4606865910638, 110.25263071719496, 596.7423974307711, 126.40302071302574, 619.9268509044944, 145.44195758196636, 649.5886252129013, 140.94983727232196, 678.9307270117617, 134.70155254567263, 708.777115896716, 131.66954487298332, 737.4458220700614, 122.83182535117692, 765.2734958940574, 111.62376710974479, 794.94957594673, 116.02038771028533, 817.7651379380488, 135.49986745222003, 847.7650890361182, 135.4457000039548, 875.9043612445726, 145.84672685607092, 905.3324407671976, 140.0167924136719, 932.1220349620082, 153.51929747271188, 959.4291901359143, 165.94182846714415, 989.3414307680109, 168.23483094512366, 1017.9132829890644, 159.08883397333557, 1044.244008377189, 144.71201581210545, 1073.9725091900846, 148.73895502416266, 1095.9412328151586, 169.16871719324152, 1124.8847887852519, 161.27754695691004, 1137.4514311167786, 134.03641077444948, 1152.2287329836872, 108.29808872674023, 1178.5050463941534, 93.82206187179776, 1174.6484997971968, 67.14578091843102, 1203.6857651859043, 74.68482719337673, 165.54240688339547, 145.48567327500655, 190.94146654929517, 134.32428415944165, 218.15853906327735, 136.72826787960412, 237.84692454690907, 114.09273216606167, 245.5977075836767, 85.11126632471364, 272.9526780475274, 93.99482545799354, 283.3843495893561, 122.122751595877, 275.7297478798789, 145.54566471920106, 295.5264229906817, 123.00477621589557, 311.44719123264247, 101.44107974731028, 325.4426505575526, 86.61143269278286, 332.0301960716699, 114.49098974263745, 360.4271519653154, 124.16636549625477, 386.9845294769166, 120.57013012200235, 403.8825954940316, 118.26033118471808, 396.991862808126, 144.92131667831939, 424.35913604841306, 139.89290353530208, 450.2185160647092, 124.6846010287978, 480.09668047656265, 121.98362132269571, 510.06486820581597, 123.36482522524204, 539.9883730587711, 121.22383076138262, 569.703339043778, 117.09820395991511, 599.191477083631, 111.58007792501927, 621.555879120069, 131.5759155306185, 648.7460354921711, 144.25248432743612, 678.7375623894173, 144.96544601733444, 707.2650362564585, 135.68195342223308, 733.5740263363622, 121.26539901514262, 763.0791151019826, 115.83863783281873, 791.9774573629514, 123.89381098805133, 818.5682904211083, 137.78364890172753, 847.1497593325882, 146.84231051281637, 876.897997923431, 150.72075101641886, 906.3105330026602, 156.62860851411708, 935.5546856644398, 163.3203597854974, 965.1892058365752, 158.6518253085017, 993.6732290599662, 149.2358590277956, 1022.2270593122046, 140.03375177328937, 1051.49948401227, 133.4667774261003, 1081.496688404782, 133.05723057891794, 1089.8639292732928, 156.91414672316682, 1103.9596097810513, 143.5267062125413, 1133.4611881856576, 138.08089393291007, 1122.7568191602963, 113.90222072864738, 1149.0633427005334, 99.58099689578343, 1153.6865053403853, 69.94105227267607, 1182.2312226175773, 60.71071557445865, 140.69224895008205, 128.67883982291568, 165.21819483159493, 138.69183471152536, 191.36337821698714, 123.98029550775018, 221.34210304249055, 122.85066820782176, 236.72685715286252, 97.0958756254553, 247.31071783344768, 100.72317260248855, 260.40493537268543, 127.71467991562535, 282.770646861992, 147.70905286346002, 312.71982412762515, 145.96354978432012, 303.2986002706974, 119.91640904031182, 332.99306801616547, 115.64574336482528, 356.5079907613373, 130.09036618999846, 384.9539265519072, 120.55995502387233, 388.63823464235577, 90.78704999438865, 418.4981040965138, 93.19489068803985, 413.09791402575945, 119.63162524288066, 435.54923972311855, 139.52981547259088, 465.2685428092317, 143.62408269343177, 493.0293208904005, 132.2513433432167, 512.543952955006, 109.46584059820788, 540.6704968204687, 119.90088912024218, 570.2430009309383, 114.85495599461261, 599.5891061916525, 121.08427999306898, 629.0400933293929, 126.79736642769319, 658.8243288893439, 123.32765276748145, 688.7013667986482, 121.43320559981902, 718.6474406050922, 120.80650599081733, 748.0831874084868, 126.5096840818075, 778.0666084146793, 127.5069126212786, 806.8706576825037, 119.12080829739213, 836.0617325827011, 113.41195463701716, 854.3498170370419, 137.0554504229569, 875.0243033974443, 158.79402474893698, 904.9812513896061, 157.187392559869, 932.7864721069363, 145.9237474640699, 962.6283202146034, 142.84736947754007, 990.0544785150714, 155.00491202847, 1013.1946575713057, 164.6070818734384, 1042.808057009989, 159.8063971641265, 1070.821151233731, 159.2948813208455, 1070.2670675875509, 134.1993275059705, 1081.7829346160004, 130.84953828057263, 1110.3599555434134, 121.71970396129281, 1100.7695345781765, 93.49243590114669, 1127.896176356891, 94.5603949892741, 1150.0788059083366, 74.36309452185039, 1164.9649053237986, 48.38521648034728, 111.83285593718034, 120.88041969228682, 139.1856298590515, 123.78191985789671, 166.08959248963532, 110.50875916527549, 195.8827484664399, 106.99196276204216, 212.79474342185378, 98.72029360597213, 228.6360592537558, 124.19680013274132, 255.56624047987512, 131.7291691063613, 269.570149097122, 158.26010469934636, 298.7217197059519, 151.1759017774982, 323.9759276867838, 134.98253958026618, 353.91029868566034, 132.99925117435527, 372.97053458188054, 109.8323047295726, 393.4977850770185, 92.24767515987008, 400.80915663097403, 63.36682647329077, 428.45633296563784, 68.9533867290467, 434.2761139098314, 98.38347591950028, 426.15355319143555, 121.28743123169309, 450.4144503104024, 138.9342119852455, 480.05176601297387, 134.2834574288114, 509.83124680054505, 130.65268285328827, 539.8093551369294, 131.79855393824823, 567.4103158188346, 120.04325855974226, 595.7636128372606, 110.24067991042901, 625.7587264278302, 109.69923675716028, 655.7412900172424, 110.72191980022123, 678.5779975407041, 130.176605340465, 706.4329353322961, 119.0364778444915, 734.7082198452547, 109.01109577171653, 764.5124726196758, 105.58961706251426, 794.3057279971227, 109.10557127298442, 824.2748610755285, 107.7450336849385, 850.5939173357045, 122.14320292867275, 878.1307217907586, 134.04800869718264, 906.2709397177198, 144.4464766138048, 931.4680470415749, 160.72854596767334, 960.6405638626104, 156.65973510194894, 990.1268346093353, 159.04526463507264, 1020.0567455912327, 156.99576991312694, 1049.384245101509, 150.67930155878088, 1072.9707623606012, 132.14079558917567, 1050.54167697527, 121.05712567173506, 1068.7331917332876, 144.0595578608873, 1088.5631969501835, 122.72210280462959, 1096.983374570103, 107.25279716631822, 1102.0010466832678, 79.41304343331089, 1124.773152946022, 69.05053746396791, 1135.617426807604, 42.162234500170605, 126.55722774949392, 94.74246118875504, 147.7829292274057, 97.44307257276066, 171.80660442490648, 113.11059629561309, 201.79524446289585, 113.93610745318922, 229.59671238487857, 123.50097353924376, 247.53620326776476, 147.49453728132343, 271.2470316823708, 157.02108343543568, 293.8799468334841, 175.8276017878609, 314.70455940779533, 154.2327989147197, 338.3344273165975, 135.74958105059866, 368.2985650936724, 134.28314070866114, 394.3026835406336, 119.32366799749254, 415.6985653199742, 109.98354225742763, 398.7893538839304, 91.79680971077597, 418.877718575235, 83.30532407694774, 444.8205139330535, 97.59142686584539, 425.0536637431123, 117.98313386860097, 451.8122138234937, 131.5470565164, 480.61858513485026, 123.16893191332665, 508.0001537697374, 110.91129351559742, 537.9415705676813, 109.0373778009666, 567.9070654221016, 110.47582075378804, 597.8234685461354, 108.23778051382885, 627.5111557727464, 112.55532925364182, 657.4929197203586, 111.50946569443335, 687.1861488913381, 107.23019690263544, 717.1835909647375, 107.62194816412443, 747.1463726453458, 108.53626514037255, 777.1021656134025, 106.91587328192304, 794.7765675981908, 110.96080475706835, 818.1696675707701, 122.03395889914367, 846.2020951260196, 130.29316981889062, 867.6319458573214, 136.14592332161135, 885.1746189574121, 133.46177266510753, 913.9134829890486, 142.00559378544142, 942.4637764060366, 132.79334874461068, 972.0955653142105, 135.15949517495855, 1002.094846868399, 135.36711556016618, 1028.2045351093423, 130.01066292611475, 1055.7004786073965, 118.01178418059193, 1032.233684444863, 102.49167851850112, 1058.037049656435, 116.44602512899522, 1072.2207282010452, 142.881290645785, 1067.690312073099, 113.72709167803445, 1075.6751611709078, 93.79872214321206, 1096.635649095079, 79.45634723593948, 1115.8202245390328, 64.70266001363119, 155.5876629048413, 102.30776585483082, 172.34362198718966, 114.56593845310525, 198.96975481441507, 118.76804616934183, 219.4485372241068, 138.1922665614849, 248.14246006144663, 146.94776724410895, 277.24340658610447, 143.3133806235661, 286.4288111240828, 171.87258830630714, 316.0737671856056, 167.27078647345883, 342.8692484655303, 159.5137151010075, 355.78638006518446, 133.84934881562089, 361.4784594362775, 106.88071130779636, 385.2674061124108, 90.71661009586106, 401.02003219884625, 100.99195779993413, 371.0258369704412, 101.58208710761636, 394.1312032570011, 100.14999178201583, 420.2824574085606, 114.85073687513595, 428.7828381957879, 143.6212691341904, 450.6465719078863, 127.35755873075306, 475.05703230540547, 109.91825188730475, 500.0924144538414, 94.83235498516188, 529.118684435559, 87.63729069304684, 557.3986126732274, 90.63124206774872, 587.3014728230961, 92.9716394083248, 617.1314851369611, 96.14886698579255, 641.5912623250795, 113.51631320471178, 671.2687682215349, 117.8932510603155, 700.9214356068558, 122.43517320267809, 729.1646477267946, 132.54996058594972, 758.5581989388984, 126.79255338894633, 782.6506410677922, 138.40095610098928, 795.3217523524155, 131.13960769363027, 825.2443405719487, 128.98584024084315, 845.8901210195984, 138.14556385379498, 868.2036855826267, 158.19811572360385, 896.2678154045522, 166.26730055754246, 915.6708338099277, 146.0060799527939, 943.5908742692848, 139.8563287340231, 972.4799967934406, 131.86662742401, 999.8534395941019, 120.20171889123834, 1028.3275572430755, 126.67664143545336, 1045.7362690727323, 102.30907075982664, 1034.6307134261542, 116.02476432207376, 1048.3846455489404, 125.28686926180552, 1041.7970305049244, 98.67272739092687, 1055.258026169351, 71.86225190613098, 1077.1445521007934, 62.3438033284247, 1088.3357080676185, 76.72769033914172, 181.57856915811206, 117.29018195283233, 199.13200951492666, 114.7857942976115, 218.27856835740852, 137.88144939746454, 218.09544884030421, 167.18837270160486, 246.02053519747633, 156.22527314250988, 275.96758417979385, 158.00691767724368, 305.9240174213962, 156.3907161301038, 331.8485138397383, 141.7530011464271, 354.7052739276535, 131.94727715084738, 376.60628492731206, 112.25000712358168, 382.0365580352077, 85.75125293487865, 391.23372338512166, 61.31587782273433, 403.5496086871963, 71.09879398630237, 386.1461771630761, 83.52022224295229, 386.22187812012265, 113.51102672401518, 414.01670533843105, 124.78115897825386, 435.09377377011106, 137.9836889131231, 458.8599289499585, 120.85101262901111, 487.3585952678224, 111.47945896369947, 516.4513200857571, 110.54565984751633, 546.4081713855722, 112.15409393093337, 574.3485285242459, 113.12676706190308, 602.9066076902427, 112.91785337071353, 632.9012744363378, 113.4835094402792, 662.85147848344, 111.7557138689427, 683.5105734472436, 133.50891582350536, 705.4987601440154, 151.91843480823388, 734.637703953463, 159.05439680849975, 763.23968001272, 150.00304522419177, 776.7728883843766, 123.31375401864568, 798.29900286269, 102.41814693329809, 828.1626448949995, 105.1773706480519, 857.6671833142079, 110.5935630733478, 854.1847809612323, 140.27818909416305, 866.2806286909931, 167.14401773317994, 896.2249529792958, 168.85028531695124, 915.6972398037019, 148.65756057084818, 942.7155641183203, 135.61876648435336, 970.0551832049168, 123.63556945205521, 999.1190518599508, 119.83097030090643, 1023.4285331185458, 122.36249537963441, 1046.1455215467931, 102.76814831854006, 1024.925170308852, 106.61798655004306, 1022.5889393829383, 77.7631266494308, 1034.4435392821638, 50.25768906373383, 1049.2631857248443, 51.26998695838691, 1058.36329260217, 75.44149005822013, 211.0595909140384, 122.84620177153411, 197.59956825720735, 134.70153636760722, 207.42448975447672, 155.98501245168114, 236.51405465500127, 148.66248317965096, 266.4985571875422, 149.62664492714492, 287.6599802936013, 130.37925268150565, 311.95778790464806, 127.00375280018207, 335.0736120884215, 111.926859235592, 365.0626535193053, 111.11606083120863, 374.4554793060706, 82.62439847643074, 377.24327411410434, 56.136654689267665, 400.0520827042807, 36.6492677251694, 423.4950443052666, 48.68942991676545, 409.53524524583884, 64.85613535518776, 409.71550108581005, 94.85515921493285, 436.36127492887414, 108.63915964461022, 455.79925043694925, 116.27463006666434, 484.4726863912027, 125.09699202796826, 514.4519036761254, 123.98051050851961, 543.8726666097593, 118.1137645277841, 570.9815778889206, 129.36303616515522, 596.5043944388976, 113.59643109794958, 621.7646865593005, 129.78030090685965, 651.3038399200798, 135.01847031299266, 681.2694050425252, 133.58149192430758, 708.204649141458, 146.7910575996358, 734.0806546390648, 156.95099393050452, 762.9095094794692, 149.51937183749862, 777.6305314065723, 123.67998696417848, 773.060846195251, 94.03006323629293, 795.1198312908776, 73.69779389546359, 825.0750318888702, 75.33668288915402, 844.8643770377416, 83.46261853676938, 857.8444669494784, 110.50224748911975, 853.3217402333634, 140.08995459573742, 866.618758180194, 166.9821340113312, 894.9713038642376, 157.17738244732885, 913.7546824922728, 133.78540332382158, 940.2901289241217, 119.98101802879819, 969.2593536636757, 116.93296691527213, 996.1663717228151, 109.84153071903124, 1024.5611691884076, 117.51909163615353, 1048.7765319342222, 99.80987914420604, 1043.9058666652143, 70.20790928006934, 1049.2345212595546, 40.6849446556586, 1030.9782914520767, 60.98099494423437, 1029.8644138356299, 66.07058246903145, 220.73766061781555, 151.24223964318952, 203.90690914813084, 164.03100023729667, 226.02518208858257, 179.5225196410343, 234.94694037086563, 150.88439766937623, 250.09508490162656, 124.98973186202961, 272.60661863743644, 105.1596827228962, 284.9312308414012, 113.98203197281744, 309.32913015978784, 96.52519616983233, 339.190304797828, 99.40794646007986, 358.27291489779157, 76.25942616676835, 381.83229578501454, 57.81461874662766, 400.0734193339647, 36.34577141625157, 396.2046622731518, 43.610658049604126, 397.952255890145, 73.55971340281687, 418.13228176223646, 95.75805919257213, 447.7076318799079, 90.72828132308355, 476.72949094719974, 98.32641900795363, 503.3297948778095, 112.1981107144176, 530.900143287964, 124.02502445142585, 558.2530485542479, 136.34649244403894, 586.4683434707615, 126.1534981453566, 616.4664244935036, 126.49281356150527, 646.2743593606248, 129.88206406213587, 674.7694813622629, 139.2643890464438, 702.893001403874, 149.70793348625133, 714.4388294397436, 176.136159337548, 744.3389256511034, 178.58243130740587, 745.4999481013236, 148.60490594473663, 749.0883264282393, 118.8202867431618, 768.2205569687736, 95.83430436678061, 790.7884623049138, 76.06843356036644, 804.1668717757359, 65.35326912265191, 816.7648248221441, 92.5799394853625, 835.3625020923863, 116.11982903801275, 845.6779907190286, 144.29057085276176, 844.6111194401407, 174.271594612371, 874.5683485727589, 175.8729761083624, 889.2015638660122, 149.6838751276242, 912.1397308420993, 130.35189493571687, 942.0386007948154, 129.54370096416582, 967.119100644929, 113.24196097451174, 996.5088355608863, 107.22170503575651, 1026.4642958825525, 108.85583994931811, 1035.1699549338, 80.14675601265434, 1025.2878689772037, 51.8210719583249, 1001.2054036342149, 64.66544210598826, 1000.7802754755517, 73.42672926951784, 197.99104090598922, 159.08882143754798, 187.63030043965128, 187.24295180927749, 213.18470340169412, 202.95831019695947, 233.41775090538295, 180.80828110665092, 242.0612844929094, 153.09948217759077, 254.1981680028168, 125.66417538749255, 261.48089724137145, 96.56156631480557, 285.57768202251526, 78.69134070879241, 309.9307847167953, 96.21065545454442, 339.75421966235115, 99.46069053845899, 364.222168868065, 82.10213467495257, 383.4522678845528, 61.32050513846979, 409.62179761702004, 51.643105565828925, 410.99476801472053, 81.61167163573529, 415.3647783469918, 110.79240237110733, 443.35467395892806, 100.03682973984321, 472.30060025547334, 107.8533047349601, 502.29367374511787, 107.20867876398918, 531.5907598049074, 113.57239174803186, 560.2140041001089, 122.47914258261719, 589.776430871241, 127.47997579095266, 619.6928706535259, 129.71752595826837, 649.6330528858264, 127.82398749925208, 679.4363260430956, 131.25398882756696, 695.1355343280145, 156.818316693298, 705.4703802495869, 184.98196276012192, 735.2316631934068, 181.20492191608676, 727.474875444537, 152.22506263729127, 735.9788833338769, 123.45560227012538, 754.0873291760448, 99.53732078544748, 783.9239865809453, 96.4110010799143, 811.9718246580052, 85.76587171466355, 840.0020671793562, 96.45724693921399, 853.5971899040437, 123.19995880806688, 849.3052233825535, 152.89135526189523, 843.206577451528, 182.26492361522713, 856.7447411794212, 165.514241383384, 877.379978704417, 143.73840678895593, 907.377544948157, 144.1205317055544, 930.5235463268181, 125.03486639943071, 953.5069501021785, 105.75370588200647, 982.1474976628924, 114.68225757990537, 1011.461734318285, 121.05999458539696, 1024.902277369761, 94.23926002272435, 1007.0135193385902, 70.15622997868391, 977.4187981732781, 75.0707471621091, 990.995365544833, 101.7223197270627];\n\nfunction initPoints() {\n  entities = [];\n\n  for(var y=0; y<clothH; y++) {\n    for(var x=0; x<clothW; x++) {\n      var p = new Point(\n        // [startX + x * restingDistances,\n        //  y * restingDistances + startY],\n        [positions[(y * clothW + x) * 2],\n         positions[(y * clothW + x) * 2 + 1]],\n        [3, 3],\n        1,\n        false\n      );\n      p.scale = Math.random() * 10 | 0;\n\n      if(x > 0) {\n        p.attachTo(entities[entities.length - 1],\n                   restingDistances,\n                   1,\n                   curtainTearSensitivity);\n      }\n\n      if(y > 0) {\n        p.attachTo(entities[(y - 1) * clothW + x],\n                   restingDistances,\n                   1,\n                   curtainTearSensitivity);\n      }\n\n      entities.push(p);\n    }\n  }\n}\n\nwindow.ClothDemo.savePoints = function() {\n  var points = [];\n\n  for(var i=0, l=entities.length; i<l; i++) {\n    points.push(entities[i].pos[0]);\n    points.push(entities[i].pos[1]);\n  }\n\n  console.log(points.toSource());\n};\n\n"
  },
  {
    "path": "debuggers/browser/static/src2.txt",
    "content": "\nfunction quux(i) {\n    var z = 1;\n    var obj = { x: 1, y: 2 };\n    for(var k in obj) {\n        z *= obj[k];\n    }\n    return z;\n}\n\nfunction mumble(i) {\n    var z = 10;\n    for(var j=0; j<i; j++) {\n        z = j;\n    }\n    return quux(z);\n}\n\nfunction baz(i) {\n    var j = 10;\n    do {\n        j = 5;\n        i--;\n    } while(i > 0);\n\n    return mumble(j);\n}\n\nfunction bar(i) {\n    if(i > 0) {\n        return baz(i) + bar(i - 1);\n    }\n    return 0;\n}\n\nfunction foo() {\n    return bar(3);\n}\n\nconsole.log(foo());\n"
  },
  {
    "path": "debuggers/browser/static/src3.txt",
    "content": "\nvar canvas, ctx, lastTime, rightClick;\ncanvas = document.querySelector('canvas');\ncanvas.width = window.innerWidth;\ncanvas.height = window.innerHeight;\n\nvar clothW = 47;\nvar clothH = 10;\n\nvar renderer = new ClothDemo.GLRenderer(canvas, clothW, clothH);\n\nvar prevMouse = null;\nvar running = false;\nvar startTime;\nvar hasTracked = false;\n\nwindow.onmousemove = function(e) {\n  e.preventDefault();\n\n  var mouse = [e.pageX / renderer.scale,\n               e.pageY / renderer.scale];\n\n  if(prevMouse) {\n    var diff = [mouse[0] - prevMouse[0], mouse[1] - prevMouse[1]];\n    var d = Math.sqrt(diff[0] * diff[0] + diff[1] * diff[1]);\n\n    for(var i=0; i<d; i+=1) {\n      mousemove(prevMouse[0] + diff[0] * (i / d),\n                prevMouse[1] + diff[1] * (i / d));\n    }\n  }\n\n  mousemove(mouse[0], mouse[1]);\n  prevMouse = mouse;\n};\n\nrequestAnimationFrame(function() {\n  init();\n  start();\n});\n\nfunction init() {\n  // responsiveness\n  var scale = Math.min(canvas.width / 1359, 1.0);\n  renderer.setOffset(Math.max((canvas.width - 1359) / 2, 0),\n                     (1 - scale) * 50,\n                     Math.min(canvas.width / 1359, 1.0));\n\n  initPoints();\n}\n\nfunction start() {\n  lastTime = Date.now();\n  startTime = Date.now();\n  running = true;\n  requestAnimationFrame(heartbeat);\n}\n\nfunction stop() {\n  running = false;\n}\n\nfunction heartbeat() {\n  if(!running) {\n    return;\n  }\n\n  var now = Date.now();\n  var dt = now - lastTime;\n  lastTime = now;\n\n  update(16 / 1000);\n\n  renderer.render(entities, clothW, clothH);\n  requestAnimationFrame(heartbeat);\n}\n\nfunction update(dt) {\n  for(var z=0; z<3; z++) {\n    for(var i=0; i<entities.length; i++) {\n      entities[i].solveConstraints();\n    }\n  }\n\n  for(var i=0, l=entities.length; i<l; i++) {\n    entities[i].update(dt);\n  }\n}\n\nvar mouseInfluenceSize = 10;\nvar mouseInfluenceScalar = 8;\nvar lastMouse = [0, 0];\nfunction mousemove(x, y) {\n  if(rightClick) {\n    for(var i=0; i<entities.length; i++) {\n      if(entities[i].pinned) {\n        continue;\n      }\n\n      var pos = entities[i].pos;\n      var size = entities[i].size;\n\n      if(x > pos[0] && x < pos[0] + size[0] &&\n         y > pos[1] && y < pos[1] + size[1]) {\n        entities[i].removeLinks();\n        entities.splice(i, 1);\n        break;\n      }\n    }\n  }\n  else {\n    for(var i=0; i<entities.length; i++) {\n      if(entities[i].pinned) {\n        continue;\n      }\n\n      var pos = entities[i].pos;\n      var line = [pos[0] - x, pos[1] - y];\n      var dist = Math.sqrt(line[0]*line[0] + line[1]*line[1]);\n\n      if(dist < mouseInfluenceSize) {\n        renderer.fadeIn();\n\n        entities[i].lastPos[0] =\n          (entities[i].pos[0] -\n           (x - lastMouse[0]) * mouseInfluenceScalar);\n\n        entities[i].lastPos[1] =\n          (entities[i].pos[1] -\n           (y - lastMouse[1]) * mouseInfluenceScalar);\n      }\n    }\n  }\n\n  lastMouse = [x, y];\n}\n\n// objects\n\nfunction Point(pos, size, mass, pinned) {\n  this.pos = pos;\n  this.lastPos = pos;\n  this.size = size;\n  this.mass = 1;\n  this.acc = [0, .05];\n  this.pinned = pinned;\n  this.links = [];\n}\n\nPoint.prototype.update = function(dt) {\n  this.applyForce([0, this.mass * gravity]);\n  var dtSeq = dt * dt;\n\n  var x = this.pos[0];\n  var y = this.pos[1];\n  var lx = this.lastPos[0];\n  var ly = this.lastPos[1];\n  var acc = this.acc;\n\n  var vel = [(x - lx) * .99, (y - ly) * .99];\n  var next = [x + vel[0] + acc[0] * dtSeq,\n              y + vel[1] + acc[1] * dtSeq];\n  this.lastPos = this.pos;\n  this.pos = next;\n\n  this.acc = [0, 0];\n};\n\nPoint.prototype.solveConstraints = function() {\n  var links = this.links;\n\n  for(var i=0; i<links.length; i++) {\n    links[i].solve();\n  }\n\n  if(this.pinned) {\n    this.pos[0] = this.lastPos[0];\n    this.pos[1] = this.lastPos[1];\n  }\n};\n\nPoint.prototype.applyForce = function(force) {\n  this.acc[0] += force[0] / this.mass;\n  this.acc[1] += force[1] / this.mass;\n};\n\nPoint.prototype.attachTo = function(point, distRest, stiffness, tearness) {\n  this.links.push(new Link(this, point, distRest, stiffness, tearness));\n};\n\nPoint.prototype.removeLink = function(link) {\n  this.links.splice(this.links.indexOf(link), 1);\n};\n\nPoint.prototype.removeLinks = function() {\n  this.links = [];\n};\n\nfunction Link(point1, point2, distRest, stiffness, tearness) {\n  this.point1 = point1;\n  this.point2 = point2;\n  this.distRest = distRest;\n  this.stiffness = stiffness;\n  this.tearness = tearness;\n}\n\nLink.prototype.solve = function() {\n  var p1 = this.point1.pos;\n  var p2 = this.point2.pos;\n\n  var diff = [p1[0] - p2[0], p1[1] - p2[1]];\n  var d = Math.sqrt(diff[0] * diff[0] + diff[1] * diff[1]);\n\n  if(d > this.tearness) {\n    this.point1.removeLink(this);\n  }\n  else if(d < this.distRest) {\n    return;\n  }\n\n  var scalar = (this.distRest - d) / d;\n\n  var im1 = 1 / this.point1.mass;\n  var im2 = 1 / this.point2.mass;\n  var scalarP1 = (im1 / (im1 + im2)) * this.stiffness;\n  var scalarP2 = this.stiffness - scalarP1;\n\n  if(!this.point1.pinned) {\n    p1[0] += diff[0] * scalarP1 * scalar;\n    p1[1] += diff[1] * scalarP1 * scalar;\n  }\n\n  if(!this.point2.pinned) {\n    p2[0] -= diff[0] * scalarP2 * scalar;\n    p2[1] -= diff[1] * scalarP2 * scalar;\n  }\n};\n\n// state\n\nvar entities = [];\nvar gravity = 0;\n\nvar startY = 0;\nvar startX = 0;\nvar restingDistances = 30;\nvar stiffness = 1;\nvar curtainTearSensitivity = 70;\n\n// the initial positions were made by creating a flat cloth\n// and then interacting with it and calling\n// `ClothDemo.savePoints` to grab a snapshot of the existing\n// structure\nvar positions = [176.07970014172156, 117.56090037334924, 193.2109537527819, 104.55803242279038, 220.95966268164275, 115.960188040797, 233.19419498760533, 88.56828742666842, 260.8176859692299, 100.27054131109111, 288.87019864150204, 110.90334586918328, 261.8501711077318, 123.93861004253536, 268.3523702495211, 153.22549117249721, 295.4502112722858, 140.35276761046768, 322.097634995333, 126.5718094100822, 325.2039846753154, 96.73306627861619, 318.636774896099, 87.64669297023494, 339.44745321468935, 106.04478501152968, 357.04347735725304, 122.44986360486101, 375.8473530998583, 128.6615503445264, 396.30938601518676, 120.27591602824195, 425.9088066418599, 115.38978273439251, 453.3028279629242, 127.6195658829449, 483.2790101955437, 126.42436767505461, 512.6230298640136, 120.1850961095241, 541.5189346242375, 112.12118340612442, 571.4606865910638, 110.25263071719496, 596.7423974307711, 126.40302071302574, 619.9268509044944, 145.44195758196636, 649.5886252129013, 140.94983727232196, 678.9307270117617, 134.70155254567263, 708.777115896716, 131.66954487298332, 737.4458220700614, 122.83182535117692, 765.2734958940574, 111.62376710974479, 794.94957594673, 116.02038771028533, 817.7651379380488, 135.49986745222003, 847.7650890361182, 135.4457000039548, 875.9043612445726, 145.84672685607092, 905.3324407671976, 140.0167924136719, 932.1220349620082, 153.51929747271188, 959.4291901359143, 165.94182846714415, 989.3414307680109, 168.23483094512366, 1017.9132829890644, 159.08883397333557, 1044.244008377189, 144.71201581210545, 1073.9725091900846, 148.73895502416266, 1095.9412328151586, 169.16871719324152, 1124.8847887852519, 161.27754695691004, 1137.4514311167786, 134.03641077444948, 1152.2287329836872, 108.29808872674023, 1178.5050463941534, 93.82206187179776, 1174.6484997971968, 67.14578091843102, 1203.6857651859043, 74.68482719337673, 165.54240688339547, 145.48567327500655, 190.94146654929517, 134.32428415944165, 218.15853906327735, 136.72826787960412, 237.84692454690907, 114.09273216606167, 245.5977075836767, 85.11126632471364, 272.9526780475274, 93.99482545799354, 283.3843495893561, 122.122751595877, 275.7297478798789, 145.54566471920106, 295.5264229906817, 123.00477621589557, 311.44719123264247, 101.44107974731028, 325.4426505575526, 86.61143269278286, 332.0301960716699, 114.49098974263745, 360.4271519653154, 124.16636549625477, 386.9845294769166, 120.57013012200235, 403.8825954940316, 118.26033118471808, 396.991862808126, 144.92131667831939, 424.35913604841306, 139.89290353530208, 450.2185160647092, 124.6846010287978, 480.09668047656265, 121.98362132269571, 510.06486820581597, 123.36482522524204, 539.9883730587711, 121.22383076138262, 569.703339043778, 117.09820395991511, 599.191477083631, 111.58007792501927, 621.555879120069, 131.5759155306185, 648.7460354921711, 144.25248432743612, 678.7375623894173, 144.96544601733444, 707.2650362564585, 135.68195342223308, 733.5740263363622, 121.26539901514262, 763.0791151019826, 115.83863783281873, 791.9774573629514, 123.89381098805133, 818.5682904211083, 137.78364890172753, 847.1497593325882, 146.84231051281637, 876.897997923431, 150.72075101641886, 906.3105330026602, 156.62860851411708, 935.5546856644398, 163.3203597854974, 965.1892058365752, 158.6518253085017, 993.6732290599662, 149.2358590277956, 1022.2270593122046, 140.03375177328937, 1051.49948401227, 133.4667774261003, 1081.496688404782, 133.05723057891794, 1089.8639292732928, 156.91414672316682, 1103.9596097810513, 143.5267062125413, 1133.4611881856576, 138.08089393291007, 1122.7568191602963, 113.90222072864738, 1149.0633427005334, 99.58099689578343, 1153.6865053403853, 69.94105227267607, 1182.2312226175773, 60.71071557445865, 140.69224895008205, 128.67883982291568, 165.21819483159493, 138.69183471152536, 191.36337821698714, 123.98029550775018, 221.34210304249055, 122.85066820782176, 236.72685715286252, 97.0958756254553, 247.31071783344768, 100.72317260248855, 260.40493537268543, 127.71467991562535, 282.770646861992, 147.70905286346002, 312.71982412762515, 145.96354978432012, 303.2986002706974, 119.91640904031182, 332.99306801616547, 115.64574336482528, 356.5079907613373, 130.09036618999846, 384.9539265519072, 120.55995502387233, 388.63823464235577, 90.78704999438865, 418.4981040965138, 93.19489068803985, 413.09791402575945, 119.63162524288066, 435.54923972311855, 139.52981547259088, 465.2685428092317, 143.62408269343177, 493.0293208904005, 132.2513433432167, 512.543952955006, 109.46584059820788, 540.6704968204687, 119.90088912024218, 570.2430009309383, 114.85495599461261, 599.5891061916525, 121.08427999306898, 629.0400933293929, 126.79736642769319, 658.8243288893439, 123.32765276748145, 688.7013667986482, 121.43320559981902, 718.6474406050922, 120.80650599081733, 748.0831874084868, 126.5096840818075, 778.0666084146793, 127.5069126212786, 806.8706576825037, 119.12080829739213, 836.0617325827011, 113.41195463701716, 854.3498170370419, 137.0554504229569, 875.0243033974443, 158.79402474893698, 904.9812513896061, 157.187392559869, 932.7864721069363, 145.9237474640699, 962.6283202146034, 142.84736947754007, 990.0544785150714, 155.00491202847, 1013.1946575713057, 164.6070818734384, 1042.808057009989, 159.8063971641265, 1070.821151233731, 159.2948813208455, 1070.2670675875509, 134.1993275059705, 1081.7829346160004, 130.84953828057263, 1110.3599555434134, 121.71970396129281, 1100.7695345781765, 93.49243590114669, 1127.896176356891, 94.5603949892741, 1150.0788059083366, 74.36309452185039, 1164.9649053237986, 48.38521648034728, 111.83285593718034, 120.88041969228682, 139.1856298590515, 123.78191985789671, 166.08959248963532, 110.50875916527549, 195.8827484664399, 106.99196276204216, 212.79474342185378, 98.72029360597213, 228.6360592537558, 124.19680013274132, 255.56624047987512, 131.7291691063613, 269.570149097122, 158.26010469934636, 298.7217197059519, 151.1759017774982, 323.9759276867838, 134.98253958026618, 353.91029868566034, 132.99925117435527, 372.97053458188054, 109.8323047295726, 393.4977850770185, 92.24767515987008, 400.80915663097403, 63.36682647329077, 428.45633296563784, 68.9533867290467, 434.2761139098314, 98.38347591950028, 426.15355319143555, 121.28743123169309, 450.4144503104024, 138.9342119852455, 480.05176601297387, 134.2834574288114, 509.83124680054505, 130.65268285328827, 539.8093551369294, 131.79855393824823, 567.4103158188346, 120.04325855974226, 595.7636128372606, 110.24067991042901, 625.7587264278302, 109.69923675716028, 655.7412900172424, 110.72191980022123, 678.5779975407041, 130.176605340465, 706.4329353322961, 119.0364778444915, 734.7082198452547, 109.01109577171653, 764.5124726196758, 105.58961706251426, 794.3057279971227, 109.10557127298442, 824.2748610755285, 107.7450336849385, 850.5939173357045, 122.14320292867275, 878.1307217907586, 134.04800869718264, 906.2709397177198, 144.4464766138048, 931.4680470415749, 160.72854596767334, 960.6405638626104, 156.65973510194894, 990.1268346093353, 159.04526463507264, 1020.0567455912327, 156.99576991312694, 1049.384245101509, 150.67930155878088, 1072.9707623606012, 132.14079558917567, 1050.54167697527, 121.05712567173506, 1068.7331917332876, 144.0595578608873, 1088.5631969501835, 122.72210280462959, 1096.983374570103, 107.25279716631822, 1102.0010466832678, 79.41304343331089, 1124.773152946022, 69.05053746396791, 1135.617426807604, 42.162234500170605, 126.55722774949392, 94.74246118875504, 147.7829292274057, 97.44307257276066, 171.80660442490648, 113.11059629561309, 201.79524446289585, 113.93610745318922, 229.59671238487857, 123.50097353924376, 247.53620326776476, 147.49453728132343, 271.2470316823708, 157.02108343543568, 293.8799468334841, 175.8276017878609, 314.70455940779533, 154.2327989147197, 338.3344273165975, 135.74958105059866, 368.2985650936724, 134.28314070866114, 394.3026835406336, 119.32366799749254, 415.6985653199742, 109.98354225742763, 398.7893538839304, 91.79680971077597, 418.877718575235, 83.30532407694774, 444.8205139330535, 97.59142686584539, 425.0536637431123, 117.98313386860097, 451.8122138234937, 131.5470565164, 480.61858513485026, 123.16893191332665, 508.0001537697374, 110.91129351559742, 537.9415705676813, 109.0373778009666, 567.9070654221016, 110.47582075378804, 597.8234685461354, 108.23778051382885, 627.5111557727464, 112.55532925364182, 657.4929197203586, 111.50946569443335, 687.1861488913381, 107.23019690263544, 717.1835909647375, 107.62194816412443, 747.1463726453458, 108.53626514037255, 777.1021656134025, 106.91587328192304, 794.7765675981908, 110.96080475706835, 818.1696675707701, 122.03395889914367, 846.2020951260196, 130.29316981889062, 867.6319458573214, 136.14592332161135, 885.1746189574121, 133.46177266510753, 913.9134829890486, 142.00559378544142, 942.4637764060366, 132.79334874461068, 972.0955653142105, 135.15949517495855, 1002.094846868399, 135.36711556016618, 1028.2045351093423, 130.01066292611475, 1055.7004786073965, 118.01178418059193, 1032.233684444863, 102.49167851850112, 1058.037049656435, 116.44602512899522, 1072.2207282010452, 142.881290645785, 1067.690312073099, 113.72709167803445, 1075.6751611709078, 93.79872214321206, 1096.635649095079, 79.45634723593948, 1115.8202245390328, 64.70266001363119, 155.5876629048413, 102.30776585483082, 172.34362198718966, 114.56593845310525, 198.96975481441507, 118.76804616934183, 219.4485372241068, 138.1922665614849, 248.14246006144663, 146.94776724410895, 277.24340658610447, 143.3133806235661, 286.4288111240828, 171.87258830630714, 316.0737671856056, 167.27078647345883, 342.8692484655303, 159.5137151010075, 355.78638006518446, 133.84934881562089, 361.4784594362775, 106.88071130779636, 385.2674061124108, 90.71661009586106, 401.02003219884625, 100.99195779993413, 371.0258369704412, 101.58208710761636, 394.1312032570011, 100.14999178201583, 420.2824574085606, 114.85073687513595, 428.7828381957879, 143.6212691341904, 450.6465719078863, 127.35755873075306, 475.05703230540547, 109.91825188730475, 500.0924144538414, 94.83235498516188, 529.118684435559, 87.63729069304684, 557.3986126732274, 90.63124206774872, 587.3014728230961, 92.9716394083248, 617.1314851369611, 96.14886698579255, 641.5912623250795, 113.51631320471178, 671.2687682215349, 117.8932510603155, 700.9214356068558, 122.43517320267809, 729.1646477267946, 132.54996058594972, 758.5581989388984, 126.79255338894633, 782.6506410677922, 138.40095610098928, 795.3217523524155, 131.13960769363027, 825.2443405719487, 128.98584024084315, 845.8901210195984, 138.14556385379498, 868.2036855826267, 158.19811572360385, 896.2678154045522, 166.26730055754246, 915.6708338099277, 146.0060799527939, 943.5908742692848, 139.8563287340231, 972.4799967934406, 131.86662742401, 999.8534395941019, 120.20171889123834, 1028.3275572430755, 126.67664143545336, 1045.7362690727323, 102.30907075982664, 1034.6307134261542, 116.02476432207376, 1048.3846455489404, 125.28686926180552, 1041.7970305049244, 98.67272739092687, 1055.258026169351, 71.86225190613098, 1077.1445521007934, 62.3438033284247, 1088.3357080676185, 76.72769033914172, 181.57856915811206, 117.29018195283233, 199.13200951492666, 114.7857942976115, 218.27856835740852, 137.88144939746454, 218.09544884030421, 167.18837270160486, 246.02053519747633, 156.22527314250988, 275.96758417979385, 158.00691767724368, 305.9240174213962, 156.3907161301038, 331.8485138397383, 141.7530011464271, 354.7052739276535, 131.94727715084738, 376.60628492731206, 112.25000712358168, 382.0365580352077, 85.75125293487865, 391.23372338512166, 61.31587782273433, 403.5496086871963, 71.09879398630237, 386.1461771630761, 83.52022224295229, 386.22187812012265, 113.51102672401518, 414.01670533843105, 124.78115897825386, 435.09377377011106, 137.9836889131231, 458.8599289499585, 120.85101262901111, 487.3585952678224, 111.47945896369947, 516.4513200857571, 110.54565984751633, 546.4081713855722, 112.15409393093337, 574.3485285242459, 113.12676706190308, 602.9066076902427, 112.91785337071353, 632.9012744363378, 113.4835094402792, 662.85147848344, 111.7557138689427, 683.5105734472436, 133.50891582350536, 705.4987601440154, 151.91843480823388, 734.637703953463, 159.05439680849975, 763.23968001272, 150.00304522419177, 776.7728883843766, 123.31375401864568, 798.29900286269, 102.41814693329809, 828.1626448949995, 105.1773706480519, 857.6671833142079, 110.5935630733478, 854.1847809612323, 140.27818909416305, 866.2806286909931, 167.14401773317994, 896.2249529792958, 168.85028531695124, 915.6972398037019, 148.65756057084818, 942.7155641183203, 135.61876648435336, 970.0551832049168, 123.63556945205521, 999.1190518599508, 119.83097030090643, 1023.4285331185458, 122.36249537963441, 1046.1455215467931, 102.76814831854006, 1024.925170308852, 106.61798655004306, 1022.5889393829383, 77.7631266494308, 1034.4435392821638, 50.25768906373383, 1049.2631857248443, 51.26998695838691, 1058.36329260217, 75.44149005822013, 211.0595909140384, 122.84620177153411, 197.59956825720735, 134.70153636760722, 207.42448975447672, 155.98501245168114, 236.51405465500127, 148.66248317965096, 266.4985571875422, 149.62664492714492, 287.6599802936013, 130.37925268150565, 311.95778790464806, 127.00375280018207, 335.0736120884215, 111.926859235592, 365.0626535193053, 111.11606083120863, 374.4554793060706, 82.62439847643074, 377.24327411410434, 56.136654689267665, 400.0520827042807, 36.6492677251694, 423.4950443052666, 48.68942991676545, 409.53524524583884, 64.85613535518776, 409.71550108581005, 94.85515921493285, 436.36127492887414, 108.63915964461022, 455.79925043694925, 116.27463006666434, 484.4726863912027, 125.09699202796826, 514.4519036761254, 123.98051050851961, 543.8726666097593, 118.1137645277841, 570.9815778889206, 129.36303616515522, 596.5043944388976, 113.59643109794958, 621.7646865593005, 129.78030090685965, 651.3038399200798, 135.01847031299266, 681.2694050425252, 133.58149192430758, 708.204649141458, 146.7910575996358, 734.0806546390648, 156.95099393050452, 762.9095094794692, 149.51937183749862, 777.6305314065723, 123.67998696417848, 773.060846195251, 94.03006323629293, 795.1198312908776, 73.69779389546359, 825.0750318888702, 75.33668288915402, 844.8643770377416, 83.46261853676938, 857.8444669494784, 110.50224748911975, 853.3217402333634, 140.08995459573742, 866.618758180194, 166.9821340113312, 894.9713038642376, 157.17738244732885, 913.7546824922728, 133.78540332382158, 940.2901289241217, 119.98101802879819, 969.2593536636757, 116.93296691527213, 996.1663717228151, 109.84153071903124, 1024.5611691884076, 117.51909163615353, 1048.7765319342222, 99.80987914420604, 1043.9058666652143, 70.20790928006934, 1049.2345212595546, 40.6849446556586, 1030.9782914520767, 60.98099494423437, 1029.8644138356299, 66.07058246903145, 220.73766061781555, 151.24223964318952, 203.90690914813084, 164.03100023729667, 226.02518208858257, 179.5225196410343, 234.94694037086563, 150.88439766937623, 250.09508490162656, 124.98973186202961, 272.60661863743644, 105.1596827228962, 284.9312308414012, 113.98203197281744, 309.32913015978784, 96.52519616983233, 339.190304797828, 99.40794646007986, 358.27291489779157, 76.25942616676835, 381.83229578501454, 57.81461874662766, 400.0734193339647, 36.34577141625157, 396.2046622731518, 43.610658049604126, 397.952255890145, 73.55971340281687, 418.13228176223646, 95.75805919257213, 447.7076318799079, 90.72828132308355, 476.72949094719974, 98.32641900795363, 503.3297948778095, 112.1981107144176, 530.900143287964, 124.02502445142585, 558.2530485542479, 136.34649244403894, 586.4683434707615, 126.1534981453566, 616.4664244935036, 126.49281356150527, 646.2743593606248, 129.88206406213587, 674.7694813622629, 139.2643890464438, 702.893001403874, 149.70793348625133, 714.4388294397436, 176.136159337548, 744.3389256511034, 178.58243130740587, 745.4999481013236, 148.60490594473663, 749.0883264282393, 118.8202867431618, 768.2205569687736, 95.83430436678061, 790.7884623049138, 76.06843356036644, 804.1668717757359, 65.35326912265191, 816.7648248221441, 92.5799394853625, 835.3625020923863, 116.11982903801275, 845.6779907190286, 144.29057085276176, 844.6111194401407, 174.271594612371, 874.5683485727589, 175.8729761083624, 889.2015638660122, 149.6838751276242, 912.1397308420993, 130.35189493571687, 942.0386007948154, 129.54370096416582, 967.119100644929, 113.24196097451174, 996.5088355608863, 107.22170503575651, 1026.4642958825525, 108.85583994931811, 1035.1699549338, 80.14675601265434, 1025.2878689772037, 51.8210719583249, 1001.2054036342149, 64.66544210598826, 1000.7802754755517, 73.42672926951784, 197.99104090598922, 159.08882143754798, 187.63030043965128, 187.24295180927749, 213.18470340169412, 202.95831019695947, 233.41775090538295, 180.80828110665092, 242.0612844929094, 153.09948217759077, 254.1981680028168, 125.66417538749255, 261.48089724137145, 96.56156631480557, 285.57768202251526, 78.69134070879241, 309.9307847167953, 96.21065545454442, 339.75421966235115, 99.46069053845899, 364.222168868065, 82.10213467495257, 383.4522678845528, 61.32050513846979, 409.62179761702004, 51.643105565828925, 410.99476801472053, 81.61167163573529, 415.3647783469918, 110.79240237110733, 443.35467395892806, 100.03682973984321, 472.30060025547334, 107.8533047349601, 502.29367374511787, 107.20867876398918, 531.5907598049074, 113.57239174803186, 560.2140041001089, 122.47914258261719, 589.776430871241, 127.47997579095266, 619.6928706535259, 129.71752595826837, 649.6330528858264, 127.82398749925208, 679.4363260430956, 131.25398882756696, 695.1355343280145, 156.818316693298, 705.4703802495869, 184.98196276012192, 735.2316631934068, 181.20492191608676, 727.474875444537, 152.22506263729127, 735.9788833338769, 123.45560227012538, 754.0873291760448, 99.53732078544748, 783.9239865809453, 96.4110010799143, 811.9718246580052, 85.76587171466355, 840.0020671793562, 96.45724693921399, 853.5971899040437, 123.19995880806688, 849.3052233825535, 152.89135526189523, 843.206577451528, 182.26492361522713, 856.7447411794212, 165.514241383384, 877.379978704417, 143.73840678895593, 907.377544948157, 144.1205317055544, 930.5235463268181, 125.03486639943071, 953.5069501021785, 105.75370588200647, 982.1474976628924, 114.68225757990537, 1011.461734318285, 121.05999458539696, 1024.902277369761, 94.23926002272435, 1007.0135193385902, 70.15622997868391, 977.4187981732781, 75.0707471621091, 990.995365544833, 101.7223197270627];\n\nfunction initPoints() {\n  entities = [];\n\n  for(var y=0; y<clothH; y++) {\n    for(var x=0; x<clothW; x++) {\n      var p = new Point(\n        // [startX + x * restingDistances,\n        //  y * restingDistances + startY],\n        [positions[(y * clothW + x) * 2],\n         positions[(y * clothW + x) * 2 + 1]],\n        [3, 3],\n        1,\n        false\n      );\n      p.scale = Math.random() * 10 | 0;\n\n      if(x > 0) {\n        p.attachTo(entities[entities.length - 1],\n                   restingDistances,\n                   1,\n                   curtainTearSensitivity);\n      }\n\n      if(y > 0) {\n        p.attachTo(entities[(y - 1) * clothW + x],\n                   restingDistances,\n                   1,\n                   curtainTearSensitivity);\n      }\n\n      entities.push(p);\n    }\n  }\n}\n\nwindow.ClothDemo.savePoints = function() {\n  var points = [];\n\n  for(var i=0, l=entities.length; i<l; i++) {\n    points.push(entities[i].pos[0]);\n    points.push(entities[i].pos[1]);\n  }\n\n  console.log(points.toSource());\n};\n\n"
  },
  {
    "path": "debuggers/browser/static/src4.txt",
    "content": "\nvar canvas = document.querySelector('canvas');\nvar ctx = canvas.getContext('2d');\ncanvas.width = window.innerWidth;\ncanvas.height = window.innerHeight;\n\nwindow.addEventListener('resize', function() {\n  canvas.width = window.innerWidth;\n  canvas.height = window.innerHeight;\n});\n\nvar x = 0;\nvar start = Date.now();\n\nfunction render() {\n  var now = Date.now() - start;\n  ctx.fillStyle = 'black';\n  ctx.fillRect(0, 0, canvas.width, canvas.height);\n  var h = canvas.height / 2;\n  \n  for(var i=0; i<1000; i++) {\n    ctx.fillStyle = 'green';\n    ctx.fillRect(i, Math.sin(i / 100 + now / 30) * h + h, 3, 3);\n  }\n  \n  x += 1;\n  \n  requestAnimationFrame(render);\n}\n\nrender();\n"
  },
  {
    "path": "debuggers/browser/static/test.out.js",
    "content": ""
  },
  {
    "path": "debuggers/browser/static/vm.js",
    "content": "\n(function(global) {\n  var hasOwn = Object.prototype.hasOwnProperty;\n\n  // since eval is used, need access to the compiler\n\n  // if(typeof module !== 'undefined') {\n  //   var _localpath = __dirname + '/main.js';\n  //   var _main = require('fs').existsSync(_localpath) ? _localpath : '../main.js';\n  //   var compiler = require(_main);\n  // }\n  // else {\n  //   var compiler = main.js;\n  // }\n\n  // vm\n\n  var IDLE = 'idle';\n  var SUSPENDED = 'suspended';\n  var EXECUTING = 'executing';\n\n  function Machine() {\n    this.debugInfo = null;\n    this.stack = null;\n    this.error = undefined;\n    this.doRestore = false;\n    this.evalResult = null;\n    this.state = IDLE;\n    this.running = false;\n    this._events = {};\n    this.stepping = false;\n    this.prevStates = [];\n    this.tryStack = [];\n    this.machineBreaks = [];\n    this.machineWatches = [];\n  }\n\n  // 3 ways to execute code:\n  //\n  // * run: the main entry point. give it a string and it will being the program\n  // * execute: runs a function instance. use this to run individual\n  //   state machines\n  // * evaluate: evalutes a code string in the global scope\n\n  Machine.prototype.execute = function(fn, debugInfo, thisPtr, args) {\n    var prevState = this.state;\n    this.state = EXECUTING;\n    this.running = true;\n\n    if(debugInfo) {\n      if(!debugInfo.data) {\n        debugInfo = new DebugInfo(debugInfo);\n      }\n      this.setDebugInfo(debugInfo);\n    }\n\n    var prevStepping = this.stepping;\n    var prevFrame = this.rootFrame;\n    this.stepping = false;\n    var ret;\n\n    try {\n      if(thisPtr || args) {\n        ret = fn.apply(thisPtr, args || []);\n      }\n      else {\n        ret = fn();\n      }\n    }\n    catch(e) {\n      this.stack = e.fnstack;\n      this.error = e.error;\n    }\n\n    this.stepping = prevStepping;\n\n    // It's a weird case if we run code while we are suspended, but if\n    // so we try to run it and kind of ignore whatever happened (no\n    // breakpoints, etc), but we do fire an error event if it happened\n    if(prevState === 'suspended') {\n      if(this.error) {\n        this.fire('error', this.error);\n      }\n      this.state = prevState;\n    }\n    else {\n      this.checkStatus();\n    }\n\n    return ret;\n  };\n\n  Machine.prototype.run = function(code, debugInfo) {\n    if(typeof code === 'string') {\n      var fn = new Function('VM', '$Frame', code + '\\nreturn $__global;');\n      var rootFn = fn(this, Frame);\n    }\n    else {\n      var rootFn = code;\n    }\n\n    this.execute(rootFn, debugInfo);\n    this.globalFn = rootFn;\n  };\n\n  Machine.prototype.continue = function() {\n    if(this.state === SUSPENDED) {\n      var root = this.getRootFrame();\n      var top = this.getTopFrame();\n\n      if(this.machineBreaks[top.machineId][top.next]) {\n        // We need to get past this instruction that has a breakpoint, so\n        // turn off breakpoints and step past it, then turn them back on\n        // again and execute normally\n        this.running = true;\n        this.stepping = true;\n        this.hasBreakpoints = false;\n        this.restore();\n        // TODO: don't force this back on always\n        this.hasBreakpoints = true;\n\n        if(this.error) {\n          return;\n        }\n      }\n\n      this.stepping = false;\n      this.state = EXECUTING;\n      this.running = true;\n      this.restore();\n    }\n  };\n\n  Machine.prototype.step = function() {\n    if(!this.stack) return;\n\n    this.running = true;\n    this.stepping = true;\n    this.hasBreakpoints = false;\n    this.restore();\n    this.hasBreakpoints = true;\n\n    // rootFrame now points to the new stack\n    var top = this.getTopFrame();\n\n    if(this.state === SUSPENDED &&\n       top.next === this.debugInfo.data[top.machineId].finalLoc) {\n      // if it's waiting to simply return a value, go ahead and run\n      // that step so the user doesn't have to step through each frame\n      // return\n      this.step();\n    }\n\n    this.running = false;\n  };\n\n  Machine.prototype.stepOver = function() {\n    if(!this.rootFrame) return;\n    var top = this.getTopFrame();\n    var curloc = this.getLocation();\n    var finalLoc = curloc;\n    var biggest = 0;\n    var locs = this.debugInfo.data[top.machineId].locs;\n\n    // find the \"biggest\" expression in the function that encloses\n    // this one\n    Object.keys(locs).forEach(function(k) {\n      var loc = locs[k];\n\n      if(loc.start.line <= curloc.start.line &&\n         loc.end.line >= curloc.end.line &&\n         loc.start.column <= curloc.start.column &&\n         loc.end.column >= curloc.end.column) {\n\n        var ldiff = ((curloc.start.line - loc.start.line) +\n                     (loc.end.line - curloc.end.line));\n        var cdiff = ((curloc.start.column - loc.start.column) +\n                     (loc.end.column - curloc.end.column));\n        if(ldiff + cdiff > biggest) {\n          finalLoc = loc;\n          biggest = ldiff + cdiff;\n        }\n      }\n    });\n\n    if(finalLoc !== curloc) {\n      while(this.getLocation() !== finalLoc) {\n        this.step();\n      }\n\n      this.step();\n    }\n    else {\n      this.step();\n    }\n  };\n\n  Machine.prototype.evaluate = function(expr) {\n    if(expr === '$_') {\n      return this.evalResult;\n    }\n\n    // An expression can be one of these forms:\n    //\n    // 1. foo = function() { <stmt/expr> ... }\n    // 2. function foo() { <stmt/expr> ... }\n    // 3. x = <expr>\n    // 4. var x = <expr>\n    // 5. <stmt/expr>\n    //\n    // 1-4 can change any data in the current frame, and introduce new\n    // variables that are only available for the current session (will\n    // disappear after any stepping/resume/etc). Functions in 1 and 2\n    // will be compiled, so they can be paused and debugged.\n    //\n    // 5 can run any arbitrary expression\n\n    if(this.stack) {\n      var top = this.getTopFrame();\n      expr = compiler(expr, {\n        asExpr: true,\n        scope: top.scope\n      }).code;\n\n      this.running = true;\n      this.doRestore = true;\n      this.stepping = false;\n      var res = top.evaluate(this, expr);\n      this.stepping = true;\n      this.doRestore = false;\n      this.running = false;\n    }\n    else if(this.globalFn) {\n      expr = compiler(expr, {\n        asExpr: true\n      }).code;\n\n      this.evalArg = expr;\n      this.stepping = true;\n\n      this.withTopFrame({\n        next: -1, \n        state: {}\n      }, function() {\n        this.doRestore = true;\n        try {\n          (0, this).globalFn();\n        }\n        catch(e) {\n          if(e.error) {\n            throw e.error;\n          }\n        }\n        this.doRestore = false;\n      }.bind(this));\n    }\n    else {\n      throw new Error('invalid evaluation state');\n    }\n\n    return this.evalResult;\n  };\n\n  Machine.prototype.restore = function() {\n    try {\n      this.doRestore = true;\n      this.getRootFrame().restore();\n      this.error = undefined;\n    }\n    catch(e) {\n      this.stack = e.fnstack;\n      this.error = e.error;\n    }\n    this.checkStatus();\n  };\n\n  Machine.prototype.checkStatus = function() {\n    if(this.stack) {\n      if(this.error) {\n        if(this.dispatchException()) {\n          return;\n        }\n\n        this.fire('error', this.error);\n      }\n      else {\n        this.fire('breakpoint');\n      }\n\n      this.state = SUSPENDED;\n    }\n    else {\n      this.fire('finish');\n      this.state = IDLE;\n    }\n\n    this.running = false;\n  };\n\n  Machine.prototype.on = function(event, handler) {\n    var arr = this._events[event] || [];\n    arr.push(handler);\n    this._events[event] = arr;\n  };\n\n  Machine.prototype.off = function(event, handler) {\n    var arr = this._events[event] || [];\n    if(handler) {\n      var i = arr.indexOf(handler);\n      if(i !== -1) {\n        arr.splice(i, 1);\n      }\n    }\n    else {\n      this._events[event] = [];\n    }\n  };\n\n  Machine.prototype.fire = function(event, data) {\n    // Events are always fired asynchronouly\n    setTimeout(function() {\n      var arr = this._events[event] || [];\n      arr.forEach(function(handler) {\n        handler(data);\n      });\n    }.bind(this), 0);\n  };\n\n  Machine.prototype.getTopFrame = function() {\n    return this.stack && this.stack[0];\n  };\n\n  Machine.prototype.getRootFrame = function() {\n    return this.stack && this.stack[this.stack.length - 1];\n  };\n\n  Machine.prototype.getFrameOffset = function(i) {\n    // TODO: this is really annoying, but it works for now. have to do\n    // two passes\n    var top = this.rootFrame;\n    var count = 0;\n    while(top.child) {\n      top = top.child;\n      count++;\n    }\n\n    if(i > count) {\n      return null;\n    }\n\n    var depth = count - i;\n    top = this.rootFrame;\n    count = 0;\n    while(top.child && count < depth) {\n      top = top.child;\n      count++;\n    }\n\n    return top;\n  };\n\n  Machine.prototype.setDebugInfo = function(info) {\n    this.debugInfo = info || new DebugInfo([]);\n    this.machineBreaks = new Array(info.data.length);\n\n    for(var i=0; i<info.data.length; i++) {\n      this.machineBreaks[i] = [];\n    }\n\n    info.breakpoints.forEach(function(bp) {\n      var pos = bp.pos;\n      if(!pos) return;\n\n      var machineId = pos.machineId;\n      var locId = pos.locId;\n\n      if(this.machineBreaks[machineId][locId] === undefined) {\n        this.hasBreakpoints = true;\n        this.machineBreaks[pos.machineId][pos.locId] = bp.type;\n      }\n    }.bind(this));\n  };\n\n  Machine.prototype.isStepping = function() {\n    return this.stepping;\n  };\n\n  Machine.prototype.getState = function() {\n    return this.state;\n  };\n\n  Machine.prototype.getLocation = function() {\n    if(!this.stack || !this.debugInfo) return;\n\n    var top = this.getTopFrame();\n    return this.debugInfo.data[top.machineId].locs[top.next];\n  };\n\n  Machine.prototype.disableBreakpoints = function() {\n    this.hasBreakpoints = false;\n  };\n\n  Machine.prototype.enableBreakpoints = function() {\n    this.hasBreakpoints = true;\n  };\n\n  Machine.prototype.pushState = function() {\n    this.prevStates.push([\n      this.stepping, this.hasBreakpoints\n    ]);\n\n    this.stepping = false;\n    this.hasBreakpoints = false;\n  };\n\n  Machine.prototype.popState = function() {\n    var state = this.prevStates.pop();\n    this.stepping = state[0];\n    this.hasBreakpoints = state[1];\n  };\n\n  Machine.prototype.pushTry = function(stack, catchLoc, finallyLoc, finallyTempVar) {\n    if(finallyLoc) {\n      stack.push({\n        finallyLoc: finallyLoc,\n        finallyTempVar: finallyTempVar\n      });\n    }\n\n    if(catchLoc) {\n      stack.push({\n        catchLoc: catchLoc\n      });\n    }\n  };\n\n  Machine.prototype.popCatch = function(stack, catchLoc) {\n    var entry = stack[stack.length - 1];\n    if(entry && entry.catchLoc === catchLoc) {\n      stack.pop();\n    }\n  };\n\n  Machine.prototype.popFinally = function(stack, finallyLoc) {\n    var entry = stack[stack.length - 1];\n\n    if(!entry || !entry.finallyLoc) {\n      stack.pop();\n      entry = stack[stack.length - 1];\n    }\n\n    if(entry && entry.finallyLoc === finallyLoc) {\n      stack.pop();\n    }\n  };\n\n  Machine.prototype.dispatchException = function() {\n    if(this.error == null) {\n      return false;\n    }\n\n    var exc = this.error;\n    var dispatched = false;\n    var prevStepping = this.stepping;\n    this.stepping = false;\n\n    for(var i=0; i<this.stack.length; i++) {\n      var frame = this.stack[i];\n\n      if(frame.dispatchException(this, exc)) {\n        // shave off the frames were walked over\n        this.stack = this.stack.slice(i);\n        dispatched = true;\n        break;\n      }\n    }\n\n    if(!prevStepping && dispatched) {\n      this.restore();\n    }\n    \n    if(dispatched) {\n      this.error = undefined;\n    }\n\n    return dispatched;\n  };\n\n  Machine.prototype.keys = function(obj) {\n    return Object.keys(obj).reverse();\n  };\n\n  Machine.prototype.popFrame = function() {\n    var r = this.stack.pop();\n    if(!this.stack.length) {\n      this.doRestore = false;\n      this.stack = null;\n    }\n    return r;\n  };\n\n  Machine.prototype.nextFrame = function() {\n    if(this.stack && this.stack.length) {\n      return this.stack[this.stack.length - 1];\n    }\n    return null;\n  };\n\n  Machine.prototype.withTopFrame = function(frame, fn) {\n    var prev = this.stack;\n    this.stack = [frame];\n    try {\n      var newFrame;\n      if((newFrame = fn())) {\n        // replace the top of the real stack with the new frame\n        prev[0] = newFrame;\n      }\n    }\n    finally {\n      this.stack = prev;\n    }\n  };\n\n  // frame\n\n  function Frame(machineId, name, fn, next, state, scope,\n                 thisPtr, tryStack, tmpid) {\n    this.machineId = machineId;\n    this.name = name;\n    this.fn = fn;\n    this.next = next;\n    this.state = state;\n    this.scope = scope;\n    this.thisPtr = thisPtr;\n    this.tryStack = tryStack;\n    this.tmpid = tmpid;\n  }\n\n  Frame.prototype.restore = function() {\n    this.fn.call(this.thisPtr);\n  };\n\n  Frame.prototype.evaluate = function(machine, expr) {\n    machine.evalArg = expr;\n    machine.error = undefined;\n    machine.stepping = true;\n\n    machine.withTopFrame(this, function() {\n      var prevNext = this.next;\n      this.next = -1;\n\n      try {\n        this.fn.call(this.thisPtr);\n      }\n      catch(e) {\n        if(!(e instanceof $ContinuationExc)) {\n          throw e;\n        }\n        else if(e.error) {\n          throw e.error;\n        }\n\n        var newFrame = e.fnstack[0];\n        newFrame.next = prevNext;\n        return newFrame;\n      }\n\n      throw new Error('eval did not get a frame back');\n    }.bind(this));\n\n    return machine.evalResult;\n  };\n\n  Frame.prototype.stackEach = function(func) {\n    if(this.child) {\n      this.child.stackEach(func);\n    }\n    func(this);\n  };\n\n  Frame.prototype.stackMap = function(func) {\n    var res;\n    if(this.child) {\n      res = this.child.stackMap(func);\n    }\n    else {\n      res = [];\n    }\n\n    res.push(func(this));\n    return res;\n  };\n\n  Frame.prototype.stackReduce = function(func, acc) {\n    if(this.child) {\n      acc = this.child.stackReduce(func, acc);\n    }\n\n    return func(acc, this);\n  };\n\n  Frame.prototype.getLocation = function(machine) {\n    return machine.debugInfo.data[this.machineId].locs[this.next];\n  };\n\n  Frame.prototype.dispatchException = function(machine, exc) {\n    if(!this.tryStack) {\n      return false;\n    }\n\n    var next;\n    var hasCaught = false;\n    var hasFinally = false;\n    var finallyEntries = [];\n\n    for(var i=this.tryStack.length - 1; i >= 0; i--) {\n      var entry = this.tryStack[i];\n      if(entry.catchLoc) {\n        next = entry.catchLoc;\n        hasCaught = true;\n        break;\n      }\n      else if(entry.finallyLoc) {\n        finallyEntries.push(entry);\n        hasFinally = true;\n      }\n    }\n\n    // initially, `next` is undefined which will jump to the end of the\n    // function. (the default case)\n    while((entry = finallyEntries.pop())) {\n      this.state['$__t' + entry.finallyTempVar] = next;\n      next = entry.finallyLoc;\n    }\n    \n    this.next = next;\n\n    if(hasFinally && !hasCaught) {\n      machine.withTopFrame(this, function() {\n        machine.doRestore = true;\n        this.restore();\n      }.bind(this));\n    }\n\n    return hasCaught;\n  };\n\n  // debug info\n\n  function DebugInfo(data) {\n    this.data = data;\n    this.breakpoints = [];\n  }\n\n  DebugInfo.fromObject = function(obj) {\n    var info = new DebugInfo();\n    info.data = obj.data;\n    info.breakpoints = obj.breakpoints;\n    return info;\n  };\n\n  DebugInfo.prototype.lineToMachinePos = function(line) {\n    if(!this.data) return null;\n\n    for(var i=0, l=this.data.length; i<l; i++) {\n      var locs = this.data[i].locs;\n      var keys = Object.keys(locs);\n\n      for(var cur=0, len=keys.length; cur<len; cur++) {\n        var loc = locs[keys[cur]];\n        if(loc.start.line === line) {\n          return {\n            machineId: i,\n            locId: keys[cur]\n          };\n        }\n      }\n    }\n\n    return null;\n  };\n\n  DebugInfo.prototype.closestMachinePos = function(start, end) {\n    if(!this.data) return null;\n    \n    for(var i=0, l=this.data.length; i<l; i++) {\n      var locs = this.data[i].locs;\n      var keys = Object.keys(locs);\n      keys = keys.map(function(k) { return parseInt(k); });\n      keys.sort(function(a, b) { return a-b; });\n\n      for(var cur=0, len=keys.length; cur<len; cur++) {\n        var loc = locs[keys[cur]];\n\n        if((loc.start.line < start.line ||\n            (loc.start.line === start.line &&\n             loc.start.column <= start.ch)) &&\n           (loc.end.line > end.line ||\n            (loc.end.line === end.line &&\n             loc.end.column >= end.ch))) {\n          return {\n            machineId: i,\n            locId: keys[cur]\n          };\n        }\n      }\n    }\n\n    return null;    \n  };\n\n  DebugInfo.prototype.toggleBreakpoint = function(line) {\n    var pos = this.lineToMachinePos(line);\n    var cur;\n    this.breakpoints.forEach(function(bp, i) {\n      if(bp.line === line) {\n        cur = i;\n      }\n    });\n\n    if(cur != null) {\n      this.breakpoints.splice(cur, 1);\n    }\n    else {\n      this.breakpoints.push({\n        line: line,\n        pos: pos,\n        type: 'break'\n      });\n    }\n  };\n\n  DebugInfo.prototype.setWatch = function(pos) {\n    this.breakpoints.push({\n      pos: pos,\n      type: 'watch'\n    });\n  };\n\n  function ContinuationExc(error, initialFrame) {\n    this.fnstack = initialFrame ? [initialFrame] : [];\n    this.error = error;\n    this.reuse = !!initialFrame;\n  }\n\n  ContinuationExc.prototype.pushFrame = function(frame) {\n    this.fnstack.push(frame);\n  };\n\n  // exports\n\n  global.$Machine = Machine;\n  global.$Frame = Frame;\n  global.$DebugInfo = DebugInfo;\n  global.$ContinuationExc = ContinuationExc;\n  if(typeof exports !== 'undefined') {\n    exports.$Machine = Machine;\n    exports.$Frame = Frame;\n    exports.$DebugInfo = DebugInfo;\n  }\n\n}).call(this, (function() { return this; })());\n"
  },
  {
    "path": "debuggers/node/run.js",
    "content": "#!/usr/bin/env node\n\nvar Machine = require('../../runtime/vm.js').$Machine;\nvar VM = new Machine();\n\nVM.on(\"error\", function(e) {\n  console.log('Error:', e.stack);\n});\n\nfunction repl() {\n  console.log(\"REPL\");\n  showPrompt();\n  process.stdin.on('data', onInput);\n}\n\nfunction onInput(text) {\n  text = text.trim();\n  if(text === \",c\") {\n    process.stdin.removeListener('data', onInput);\n    process.stdin.unref();\n    VM.continue();\n  }\n  else {\n    console.log(VM.evaluate(text));\n    showPrompt();\n  }\n};\n\nfunction showPrompt() {\n  console.log(VM.getLocation());\n  process.stdout.write(\n    // loc.start.line + ':' +\n    // loc.start.column +\n    '> '\n  );\n}\n\nprocess.stdin.setEncoding('utf8');\n\nVM.on('breakpoint', repl);\nVM.loadScript(process.argv[2]);\n"
  },
  {
    "path": "examples/resumable-exceptions.js",
    "content": "var tryStack = [];\n\nfunction Try(body, handler) {\n  var ret;\n  var exc = callCC(function(cont) {\n    tryStack.push(cont);\n    ret = body();\n  });\n  tryStack.pop();\n\n  if(exc) {\n    return handler(exc);\n  }\n  return ret;\n}\n\nfunction Throw(exc) {\n  if(tryStack.length > 0) {\n    return callCC(function(cont) {\n      exc.__cont = cont;\n      tryStack[tryStack.length - 1](exc);\n    });\n  }\n  throw exc;\n}\n\nfunction Resume(exc, value) {\n  exc.__cont(value);\n}\n\n// Example 1\n\nfunction times2(x) {\n  console.log('x is', x);\n  if(x < 0) {\n    Throw(new Error(\"error!\"));\n  }\n  return x * 2;\n}\n\nfunction main(x) {\n  return times2(x);\n}\n\nTry(\n  function() {\n    console.log(main(1));\n    console.log(main(-1));\n  },\n  function(ex) {\n    Resume(ex);\n  }\n);\n\n// Example 2\n\n// Try(\n//   function() {\n//     Throw(\"from body\");\n//   },\n//   function(ex) {\n//     console.log(\"caught:\", ex);\n//     Throw(\"unhandled\");\n//   }\n// );\n\n// Example 3\n// Try(\n//   function() {\n//     Try(\n//       function() {\n//         Throw(\"from body\");\n//       },\n//       function(exc) {\n//         console.log(\"caught:\", exc);\n//         Throw(\"from inner\");\n//       }\n//     )\n//   },\n//   function(exc) {\n//     console.log(\"outer caught:\", exc);\n//   }\n// );\n\n\n// function bar(x) {\n//   if(x < 0) {\n//     x = Throw({ BAD_NUMBER: x });\n//   }\n//   return x * 2;\n// }\n\n// function foo(x) {\n//   return bar(x);\n// }\n\n// function main() {\n//   Try(\n//     function() {\n//       console.log(foo(-2));\n//     },\n//     function(ex) {\n//       if(ex.BAD_NUMBER === -2) {\n//         Resume(ex, 2);\n//       }\n//       console.log(\"caught\", ex);\n//     }\n//   );\n// }\n\n// main();\n"
  },
  {
    "path": "lib/debug.js",
    "content": "var types = require(\"ast-types\");\nvar recast = require(\"recast\");\nvar b = types.builders;\n\nfunction DebugInfo() {\n  this.baseId = 0;\n  this.baseIndex = 1;\n  this.machines = [];\n  this.stepIds = [];\n  this.stmts = [];\n}\n\nDebugInfo.prototype.makeId = function() {\n  var id = this.baseId++;\n  this.machines[id] = {\n    locs: {},\n    finalLoc: null\n  };\n  return id;\n};\n\nDebugInfo.prototype.addStepIds = function(machineId, ids) {\n  this.stepIds[machineId] = ids;\n}\n\nDebugInfo.prototype.addSourceLocation = function(machineId, loc, index) {\n  this.machines[machineId].locs[index] = loc;\n  return index;\n};\n\nDebugInfo.prototype.getSourceLocation = function(machineId, index) {\n  return this.machines[machineId].locs[index];\n};\n\nDebugInfo.prototype.addFinalLocation = function(machineId, loc) {\n  this.machines[machineId].finalLoc = loc;\n};\n\nDebugInfo.prototype.getDebugAST = function() {\n  const ast = recast.parse('(' + JSON.stringify(\n    { machines: this.machines,\n      stepIds: this.stepIds }\n  ) + ')');\n\n  return b.variableDeclaration(\n    'var',\n    [b.variableDeclarator(\n      b.identifier('__debugInfo'),\n      ast.program.body[0].expression)]\n  );\n};\n\nDebugInfo.prototype.getDebugInfo = function() {\n  return { machines: this.machines,\n           stepIds: this.stepIds };\n};\n\nexports.DebugInfo = DebugInfo;\n"
  },
  {
    "path": "lib/emit.js",
    "content": "/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\"use strict\";\n\nvar assert = require(\"assert\");\nvar types = require(\"ast-types\");\nvar recast = require(\"recast\");\nvar isArray = types.builtInTypes.array;\nvar b = types.builders;\nvar n = types.namedTypes;\nvar leap = require(\"./leap\");\nvar meta = require(\"./meta\");\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar withLoc = require(\"./util\").withLoc;\n\nfunction makeASTGenerator(code) {\n  return function() {\n    // TODO: optimize it so it doesn't always have to parse it\n    var ast = b.blockStatement(recast.parse(code).program.body);\n    var args = arguments;\n    return types.traverse(ast, function(node) {\n      if(n.Identifier.check(node) &&\n         node.name[0] === '$') {\n        var idx = parseInt(node.name.slice(1));\n        return this.replace(args[idx - 1]);\n      }\n    });\n  }\n}\n\nvar makeSetBreakpointAST = makeASTGenerator('VM.hasBreakpoints = true;\\nVM.machineBreaks[$1][$2] = true;');\n\nfunction Emitter(debugId, debugInfo) {\n  assert.ok(this instanceof Emitter);\n\n  this.tmpId = 0;\n  this.maxTmpId = 0;\n\n  Object.defineProperties(this, {\n    // An append-only list of Statements that grows each time this.emit is\n    // called.\n    listing: { value: [] },\n\n    // A sparse array whose keys correspond to locations in this.listing\n    // that have been marked as branch/jump targets.\n    marked: { value: [true] },\n\n    // Every location has a source location mapping\n    sourceLocations: { value: [true] },\n\n    // The last location will be marked when this.getDispatchLoop is\n    // called.\n    finalLoc: { value: loc() },\n\n    debugId: { value: debugId },\n    debugInfo: { value: debugInfo }\n  });\n\n  // The .leapManager property needs to be defined by a separate\n  // defineProperties call so that .finalLoc will be visible to the\n  // leap.LeapManager constructor.\n  Object.defineProperties(this, {\n    // Each time we evaluate the body of a loop, we tell this.leapManager\n    // to enter a nested loop context that determines the meaning of break\n    // and continue statements therein.\n    leapManager: { value: new leap.LeapManager(this) }\n  });\n}\n\nvar Ep = Emitter.prototype;\nexports.Emitter = Emitter;\n\n// Offsets into this.listing that could be used as targets for branches or\n// jumps are represented as numeric Literal nodes. This representation has\n// the amazingly convenient benefit of allowing the exact value of the\n// location to be determined at any time, even after generating code that\n// refers to the location.\nfunction loc() {\n  var lit = b.literal(-1);\n  // A little hacky, but mark is as a location object so we can do\n  // some quick checking later (see resolveEmptyJumps)\n  lit._location = true;\n  return lit;\n}\n\n// Sets the exact value of the given location to the offset of the next\n// Statement emitted.\nEp.mark = function(loc) {\n  n.Literal.assert(loc);\n  var index = this.listing.length;\n  loc.value = index;\n  this.marked[index] = true;\n  return loc;\n};\n\nEp.getLastMark = function() {\n  var index = this.listing.length;\n  while(index > 0 && !this.marked[index]) {\n    index--;\n  }\n  return index;\n};\n\nEp.markAndBreak = function() {\n  var next = loc();\n  this.emitAssign(b.identifier('$__next'), next);\n  this.emit(b.breakStatement(null), true);\n  this.mark(next);\n};\n\nEp.emit = function(node, internal) {\n  if (n.Expression.check(node)) {\n    node = withLoc(b.expressionStatement(node), node.loc);\n  }\n\n  n.Statement.assert(node);\n  this.listing.push(node);\n\n  if(!internal) {\n    if(!node.loc) {\n      throw new Error(\"source location missing: \" + JSON.stringify(node));\n    }\n    else {\n      this.debugInfo.addSourceLocation(this.debugId,\n                                       node.loc,\n                                       this.listing.length - 1);\n    }\n  }\n};\n\n// Shorthand for emitting assignment statements. This will come in handy\n// for assignments to temporary variables.\nEp.emitAssign = function(lhs, rhs, loc) {\n  this.emit(this.assign(lhs, rhs, loc), !loc);\n  return lhs;\n};\n\n// Shorthand for an assignment statement.\nEp.assign = function(lhs, rhs, loc) {\n  var node = b.expressionStatement(\n    b.assignmentExpression(\"=\", lhs, rhs));\n  node.loc = loc;\n  return node;\n};\n\nEp.declareVar = function(name, init, loc) {\n  return withLoc(b.variableDeclaration(\n    'var',\n    [b.variableDeclarator(b.identifier(name), init)]\n  ), loc);\n};\n\nEp.getProperty = function(obj, prop, computed, loc) {\n  return withLoc(b.memberExpression(\n    typeof obj === 'string' ? b.identifier(obj) : obj,\n    typeof prop === 'string' ? b.identifier(prop) : prop,\n    !!computed\n  ), loc);\n};\n\nEp.vmProperty = function(name, loc) {\n  var node = b.memberExpression(\n    b.identifier('VM'),\n    b.identifier(name),\n    false\n  );\n  node.loc = loc;\n  return node;\n};\n\nEp.clearPendingException = function(assignee, loc) {\n  var cp = this.vmProperty(\"error\");\n\n  if(assignee) {\n    this.emitAssign(assignee, cp, loc);\n  }\n\n  this.emitAssign(cp, b.literal(null));\n};\n\n// Emits code for an unconditional jump to the given location, even if the\n// exact value of the location is not yet known.\nEp.jump = function(toLoc) {\n  this.emitAssign(b.identifier('$__next'), toLoc);\n  this.emit(b.breakStatement(), true);\n};\n\n// Conditional jump.\nEp.jumpIf = function(test, toLoc, srcLoc) {\n  n.Expression.assert(test);\n  n.Literal.assert(toLoc);\n\n  this.emit(withLoc(b.ifStatement(\n    test,\n    b.blockStatement([\n      this.assign(b.identifier('$__next'), toLoc),\n      b.breakStatement()\n    ])\n  ), srcLoc));\n};\n\n// Conditional jump, with the condition negated.\nEp.jumpIfNot = function(test, toLoc, srcLoc) {\n  n.Expression.assert(test);\n  n.Literal.assert(toLoc);\n\n  this.emit(withLoc(b.ifStatement(\n    b.unaryExpression(\"!\", test),\n    b.blockStatement([\n      this.assign(b.identifier('$__next'), toLoc),\n      b.breakStatement()\n    ])\n  ), srcLoc));\n};\n\n// Make temporary ids. They should be released when not needed anymore\n// so that we can generate as few of them as possible.\nEp.getTempVar = function() {\n  this.tmpId++;\n  if(this.tmpId > this.maxTmpId) {\n    this.maxTmpId = this.tmpId;\n  }\n  return b.identifier(\"$__t\" + this.tmpId);\n};\n\nEp.currentTempId = function() {\n  return this.tmpId;\n};\n\nEp.releaseTempVar = function() {\n  this.tmpId--;\n};\n\nEp.numTempVars = function() {\n  return this.maxTmpId;\n};\n\nEp.withTempVars = function(cb) {\n  var prevId = this.tmpId;\n  var res = cb();\n  this.tmpId = prevId;\n  return res;\n};\n\nEp.getMachine = function(funcName, varNames) {\n  return this.getDispatchLoop(funcName, varNames);\n};\n\nEp.resolveEmptyJumps = function() {\n  var self = this;\n  var forwards = {};\n\n  // TODO: this is actually broken now since we removed the $ctx\n  // variable\n  self.listing.forEach(function(stmt, i) {\n    if(self.marked.hasOwnProperty(i) &&\n       self.marked.hasOwnProperty(i + 2) &&\n       (n.ReturnStatement.check(self.listing[i + 1]) ||\n        n.BreakStatement.check(self.listing[i + 1])) &&\n       n.ExpressionStatement.check(stmt) &&\n       n.AssignmentExpression.check(stmt.expression) &&\n       n.MemberExpression.check(stmt.expression.left) &&\n       stmt.expression.left.object.name == '$ctx' &&\n       stmt.expression.left.property.name == '$__next') {\n\n      forwards[i] = stmt.expression.right;\n      // TODO: actually remove these cases from the output\n    }\n  });\n\n  types.traverse(self.listing, function(node) {\n    if(n.Literal.check(node) &&\n       node._location &&\n       forwards.hasOwnProperty(node.value)) {\n      this.replace(forwards[node.value]);\n    }\n  });\n};\n\n// Turns this.listing into a loop of the form\n//\n//   while (1) switch (context.next) {\n//   case 0:\n//   ...\n//   case n:\n//     return context.stop();\n//   }\n//\n// Each marked location in this.listing will correspond to one generated\n// case statement.\nEp.getDispatchLoop = function(funcName, varNames) {\n  var self = this;\n\n  // If we encounter a break, continue, or return statement in a switch\n  // case, we can skip the rest of the statements until the next case.\n  var alreadyEnded = false, current, cases = [];\n\n  // If a case statement will just forward to another location, make\n  // the original loc jump straight to it\n  self.resolveEmptyJumps();\n\n  self.listing.forEach(function(stmt, i) {\n    if (self.marked.hasOwnProperty(i)) {\n      cases.push(b.switchCase(\n        b.literal(i),\n        current = []));\n      alreadyEnded = false;\n    }\n\n    if (!alreadyEnded) {\n      current.push(stmt);\n      if (isSwitchCaseEnder(stmt))\n        alreadyEnded = true;\n    }\n  });\n\n  // Now that we know how many statements there will be in this.listing,\n  // we can finally resolve this.finalLoc.value.\n  this.finalLoc.value = this.listing.length;\n  this.debugInfo.addFinalLocation(this.debugId, this.finalLoc.value);\n  this.debugInfo.addStepIds(this.debugId, this.marked.reduce((acc, val, i) => {\n    if(val) {\n      acc.push(i);\n    }\n    return acc;\n  }, []));;\n\n  cases.push.apply(cases, [\n    b.switchCase(null, []),\n    b.switchCase(this.finalLoc, [\n      b.returnStatement(null)\n    ])\n  ]);\n\n  // add an \"eval\" location\n  cases.push(\n    b.switchCase(b.literal(-1), [\n      self.assign(\n        self.vmProperty('evalResult'),\n        b.callExpression(\n          b.identifier('eval'),\n          [self.vmProperty('evalArg')]\n        )\n      ),\n      b.throwStatement(\n        b.newExpression(b.identifier('$ContinuationExc'), [])\n      )\n    ])\n  );\n\n  return [\n    // the state machine\n    b.whileStatement(\n      b.literal(1),\n      b.blockStatement([\n        b.ifStatement(\n          b.logicalExpression(\n            '&&',\n            self.vmProperty('hasBreakpoints'),\n            b.binaryExpression(\n              '!==',\n              self.getProperty(\n                self.getProperty(self.vmProperty('machineBreaks'),\n                                 b.literal(this.debugId),\n                                 true),\n                b.identifier('$__next'),\n                true\n              ),\n              // is identifier right here? it doesn't seem right\n              b.identifier('undefined')\n            )\n          ),\n          b.throwStatement(\n            b.newExpression(b.identifier('$ContinuationExc'), [])\n          )\n        ),\n\n        b.switchStatement(b.identifier('$__next'), cases),\n\n        b.ifStatement(\n          self.vmProperty('stepping'),\n          b.throwStatement(\n            b.newExpression(b.identifier('$ContinuationExc'), [])\n          )\n        )\n      ])\n    )\n  ];\n};\n\n// See comment above re: alreadyEnded.\nfunction isSwitchCaseEnder(stmt) {\n  return n.BreakStatement.check(stmt)\n    || n.ContinueStatement.check(stmt)\n    || n.ReturnStatement.check(stmt)\n    || n.ThrowStatement.check(stmt);\n}\n\n// an \"atomic\" expression is one that should execute within one step\n// of the VM\nfunction isAtomic(expr) {\n  return n.Literal.check(expr) ||\n    n.Identifier.check(expr) ||\n    n.ThisExpression.check(expr) ||\n    (n.MemberExpression.check(expr) &&\n     !expr.computed);\n}\n\n// No destructive modification of AST nodes.\n\nEp.explode = function(path, ignoreResult) {\n  assert.ok(path instanceof types.NodePath);\n\n  var node = path.value;\n  var self = this;\n\n  n.Node.assert(node);\n\n  if (n.Statement.check(node))\n    return self.explodeStatement(path);\n\n  if (n.Expression.check(node))\n    return self.explodeExpression(path, ignoreResult);\n\n  if (n.Declaration.check(node))\n    throw getDeclError(node);\n\n  switch (node.type) {\n  case \"Program\":\n    return path.get(\"body\").map(\n      self.explodeStatement,\n      self\n    );\n\n  case \"VariableDeclarator\":\n    throw getDeclError(node);\n\n    // These node types should be handled by their parent nodes\n    // (ObjectExpression, SwitchStatement, and TryStatement, respectively).\n  case \"Property\":\n  case \"SwitchCase\":\n  case \"CatchClause\":\n    throw new Error(\n      node.type + \" nodes should be handled by their parents\");\n\n  default:\n    throw new Error(\n      \"unknown Node of type \" +\n        JSON.stringify(node.type));\n  }\n};\n\nfunction getDeclError(node) {\n  return new Error(\n    \"all declarations should have been transformed into \" +\n      \"assignments before the Exploder began its work: \" +\n      JSON.stringify(node));\n}\n\nEp.explodeStatement = function(path, labelId) {\n  assert.ok(path instanceof types.NodePath);\n\n  var stmt = path.value;\n  var self = this;\n\n  n.Statement.assert(stmt);\n\n  if (labelId) {\n    n.Identifier.assert(labelId);\n  } else {\n    labelId = null;\n  }\n\n  // Explode BlockStatement nodes even if they do not contain a yield,\n  // because we don't want or need the curly braces.\n  if (n.BlockStatement.check(stmt)) {\n    return path.get(\"body\").each(\n      self.explodeStatement,\n      self\n    );\n  }\n\n  // if (!meta.containsLeap(stmt)) {\n  //   // Technically we should be able to avoid emitting the statement\n  //   // altogether if !meta.hasSideEffects(stmt), but that leads to\n  //   // confusing generated code (for instance, `while (true) {}` just\n  //   // disappears) and is probably a more appropriate job for a dedicated\n  //   // dead code elimination pass.\n  //   self.emit(stmt);\n  //   return;\n  // }\n\n  switch (stmt.type) {\n  case \"ExpressionStatement\":\n    self.explodeExpression(path.get(\"expression\"), true);\n    break;\n\n  case \"LabeledStatement\":\n    self.explodeStatement(path.get(\"body\"), stmt.label);\n    break;\n\n  case \"WhileStatement\":\n    var before = loc();\n    var after = loc();\n\n    self.mark(before);\n    self.jumpIfNot(self.explodeExpression(path.get(\"test\")),\n                   after,\n                   path.get(\"test\").node.loc);\n\n    self.markAndBreak();\n\n    self.leapManager.withEntry(\n      new leap.LoopEntry(after, before, labelId),\n      function() { self.explodeStatement(path.get(\"body\")); }\n    );\n    self.jump(before);\n    self.mark(after);\n\n    break;\n\n  case \"DoWhileStatement\":\n    var first = loc();\n    var test = loc();\n    var after = loc();\n\n    self.mark(first);\n    self.leapManager.withEntry(\n      new leap.LoopEntry(after, test, labelId),\n      function() { self.explode(path.get(\"body\")); }\n    );\n    self.mark(test);\n    self.jumpIf(self.explodeExpression(path.get(\"test\")),\n                first,\n                path.get(\"test\").node.loc);\n    self.emitAssign(b.identifier('$__next'), after);\n    self.emit(b.breakStatement(), true);\n    self.mark(after);\n\n    break;\n\n  case \"ForStatement\":\n    var head = loc();\n    var update = loc();\n    var after = loc();\n\n    if (stmt.init) {\n      // We pass true here to indicate that if stmt.init is an expression\n      // then we do not care about its result.\n      self.explode(path.get(\"init\"), true);\n    }\n\n    self.mark(head);\n\n    if (stmt.test) {\n      self.jumpIfNot(self.explodeExpression(path.get(\"test\")),\n                     after,\n                     path.get(\"test\").node.loc);\n    } else {\n      // No test means continue unconditionally.\n    }\n\n    this.markAndBreak();\n\n    self.leapManager.withEntry(\n      new leap.LoopEntry(after, update, labelId),\n      function() { self.explodeStatement(path.get(\"body\")); }\n    );\n\n    self.mark(update);\n\n    if (stmt.update) {\n      // We pass true here to indicate that if stmt.update is an\n      // expression then we do not care about its result.\n      self.explode(path.get(\"update\"), true);\n    }\n\n    self.jump(head);\n\n    self.mark(after);\n\n    break;\n\n  case \"ForInStatement\":\n    n.Identifier.assert(stmt.left);\n\n    var head = loc();\n    var after = loc();\n\n    var keys = self.emitAssign(\n      self.getTempVar(),\n      b.callExpression(\n        self.vmProperty(\"keys\"),\n        [self.explodeExpression(path.get(\"right\"))]\n      ),\n      path.get(\"right\").node.loc\n    );\n\n    var tmpLoc = loc();\n    self.mark(tmpLoc);\n\n    self.mark(head);\n\n    self.jumpIfNot(\n      b.memberExpression(\n        keys,\n        b.identifier(\"length\"),\n        false\n      ),\n      after,\n      stmt.right.loc\n    );\n\n    self.emitAssign(\n      stmt.left,\n      b.callExpression(\n        b.memberExpression(\n          keys,\n          b.identifier(\"pop\"),\n          false\n        ),\n        []\n      ),\n      stmt.left.loc\n    );\n\n    self.markAndBreak();\n\n    self.leapManager.withEntry(\n      new leap.LoopEntry(after, head, labelId),\n      function() { self.explodeStatement(path.get(\"body\")); }\n    );\n\n    self.jump(head);\n\n    self.mark(after);\n    self.releaseTempVar();\n\n    break;\n\n  case \"BreakStatement\":\n    self.leapManager.emitBreak(stmt.label);\n    break;\n\n  case \"ContinueStatement\":\n    self.leapManager.emitContinue(stmt.label);\n    break;\n\n  case \"SwitchStatement\":\n    // Always save the discriminant into a temporary variable in case the\n    // test expressions overwrite values like context.sent.\n    var disc = self.emitAssign(\n      self.getTempVar(),\n      self.explodeExpression(path.get(\"discriminant\"))\n    );\n\n    var after = loc();\n    var defaultLoc = loc();\n    var condition = defaultLoc;\n    var caseLocs = [];\n\n    // If there are no cases, .cases might be undefined.\n    var cases = stmt.cases || [];\n\n    for (var i = cases.length - 1; i >= 0; --i) {\n      var c = cases[i];\n      n.SwitchCase.assert(c);\n\n      if (c.test) {\n        condition = b.conditionalExpression(\n          b.binaryExpression(\"===\", disc, c.test),\n          caseLocs[i] = loc(),\n          condition\n        );\n      } else {\n        caseLocs[i] = defaultLoc;\n      }\n    }\n\n    self.jump(self.explodeExpression(\n      new types.NodePath(condition, path, \"discriminant\")\n    ));\n\n    self.leapManager.withEntry(\n      new leap.SwitchEntry(after),\n      function() {\n        path.get(\"cases\").each(function(casePath) {\n          var c = casePath.value;\n          var i = casePath.name;\n\n          self.mark(caseLocs[i]);\n\n          casePath.get(\"consequent\").each(\n            self.explodeStatement,\n            self\n          );\n        });\n      }\n    );\n\n    self.releaseTempVar();\n    self.mark(after);\n    if (defaultLoc.value === -1) {\n      self.mark(defaultLoc);\n      assert.strictEqual(after.value, defaultLoc.value);\n    }\n\n    break;\n\n  case \"IfStatement\":\n    var elseLoc = stmt.alternate && loc();\n    var after = loc();\n\n    self.jumpIfNot(\n      self.explodeExpression(path.get(\"test\")),\n      elseLoc || after,\n      path.get(\"test\").node.loc\n    );\n\n    self.markAndBreak();\n\n    self.explodeStatement(path.get(\"consequent\"));\n\n    if (elseLoc) {\n      self.jump(after);\n      self.mark(elseLoc);\n      self.explodeStatement(path.get(\"alternate\"));\n    }\n\n    self.mark(after);\n\n    break;\n\n  case \"ReturnStatement\":\n    var arg = path.get('argument');\n\n    var tmp = self.getTempVar();\n      var after = loc();\n    self.emitAssign(b.identifier('$__next'), after, arg.node.loc);\n    self.emitAssign(\n      tmp,\n      this.explodeExpression(arg)\n    );\n    // TODO: breaking here allowing stepping to stop on return.\n    // Not sure if that's desirable or not.\n    // self.emit(b.breakStatement(), true);\n    self.mark(after);\n    self.releaseTempVar();\n\n    self.emit(withLoc(b.returnStatement(tmp), path.node.loc));\n    break;\n\n  case \"WithStatement\":\n    throw new Error(\n      node.type + \" not supported in generator functions.\");\n\n  case \"TryStatement\":\n    var after = loc();\n\n    var handler = stmt.handler;\n    if (!handler && stmt.handlers) {\n      handler = stmt.handlers[0] || null;\n    }\n\n    var catchLoc = handler && loc();\n    var catchEntry = catchLoc && new leap.CatchEntry(\n      catchLoc,\n      handler.param\n    );\n\n    var finallyLoc = stmt.finalizer && loc();\n    var finallyEntry = finallyLoc && new leap.FinallyEntry(\n      finallyLoc,\n      self.getTempVar()\n    );\n\n    if (finallyEntry) {\n      // Finally blocks examine their .nextLocTempVar property to figure\n      // out where to jump next, so we must set that property to the\n      // fall-through location, by default.\n      self.emitAssign(finallyEntry.nextLocTempVar, after, path.node.loc);\n    }\n\n    var tryEntry = new leap.TryEntry(catchEntry, finallyEntry);\n\n    // Push information about this try statement so that the runtime can\n    // figure out what to do if it gets an uncaught exception.\n    self.pushTry(tryEntry, path.node.loc);\n    self.markAndBreak();\n\n    self.leapManager.withEntry(tryEntry, function() {\n      self.explodeStatement(path.get(\"block\"));\n\n      if (catchLoc) {\n        // If execution leaves the try block normally, the associated\n        // catch block no longer applies.\n        self.popCatch(catchEntry, handler.loc);\n\n        if (finallyLoc) {\n          // If we have both a catch block and a finally block, then\n          // because we emit the catch block first, we need to jump over\n          // it to the finally block.\n          self.jump(finallyLoc);\n        } else {\n          // If there is no finally block, then we need to jump over the\n          // catch block to the fall-through location.\n          self.jump(after);\n        }\n\n        self.mark(catchLoc);\n\n        // On entering a catch block, we must not have exited the\n        // associated try block normally, so we won't have called\n        // context.popCatch yet.  Call it here instead.\n        self.popCatch(catchEntry, handler.loc);\n        // self.markAndBreak();\n\n        var bodyPath = path.get(\"handler\", \"body\");\n        var safeParam = self.getTempVar();\n        self.clearPendingException(safeParam, handler.loc);\n        self.markAndBreak();\n\n        var catchScope = bodyPath.scope;\n        var catchParamName = handler.param.name;\n        n.CatchClause.assert(catchScope.node);\n        assert.strictEqual(catchScope.lookup(catchParamName), catchScope);\n\n        types.traverse(bodyPath, function(node) {\n          if (n.Identifier.check(node) &&\n              node.name === catchParamName &&\n              this.scope.lookup(catchParamName) === catchScope) {\n            this.replace(safeParam);\n            return false;\n          }\n        });\n\n        self.leapManager.withEntry(catchEntry, function() {\n          self.explodeStatement(bodyPath);\n        });\n\n        self.releaseTempVar();\n      }\n\n      if (finallyLoc) {\n        self.mark(finallyLoc);\n\n        self.popFinally(finallyEntry, stmt.finalizer.loc);\n        self.markAndBreak();\n\n        self.leapManager.withEntry(finallyEntry, function() {\n          self.explodeStatement(path.get(\"finalizer\"));\n        });\n\n        self.jump(finallyEntry.nextLocTempVar);\n        self.releaseTempVar();\n      }\n    });\n\n    self.mark(after);\n\n    break;\n\n  case \"ThrowStatement\":\n    self.emit(withLoc(b.throwStatement(\n      self.explodeExpression(path.get(\"argument\"))\n    ), path.node.loc));\n\n    break;\n\n  case \"DebuggerStatement\":\n    var after = loc();\n    self.emit(makeSetBreakpointAST(b.literal(this.debugId), after), true);\n    self.emitAssign(b.identifier('$__next'), after);\n    self.emit(b.breakStatement(), true);\n    self.mark(after);\n\n    after = loc();\n    self.emitAssign(b.identifier('$__next'), after, path.node.loc);\n    self.emit(b.breakStatement(), true);\n    self.mark(after);\n    break;\n\n  default:\n    throw new Error(\n      \"unknown Statement of type \" +\n        JSON.stringify(stmt.type));\n  }\n};\n\n// Emit a runtime call to context.pushTry(catchLoc, finallyLoc) so that\n// the runtime wrapper can dispatch uncaught exceptions appropriately.\nEp.pushTry = function(tryEntry, loc) {\n  assert.ok(tryEntry instanceof leap.TryEntry);\n\n  var nil = b.literal(null);\n  var catchEntry = tryEntry.catchEntry;\n  var finallyEntry = tryEntry.finallyEntry;\n  var method = this.vmProperty(\"pushTry\");\n  var args = [\n    b.identifier('tryStack'),\n    catchEntry && catchEntry.firstLoc || nil,\n    finallyEntry && finallyEntry.firstLoc || nil,\n    finallyEntry && b.literal(\n      parseInt(finallyEntry.nextLocTempVar.name.replace('$__t', ''))\n    ) || nil\n  ];\n\n  this.emit(withLoc(b.callExpression(method, args), loc));\n};\n\n// Emit a runtime call to context.popCatch(catchLoc) so that the runtime\n// wrapper knows when a catch block reported to pushTry no longer applies.\nEp.popCatch = function(catchEntry, loc) {\n  var catchLoc;\n\n  if (catchEntry) {\n    assert.ok(catchEntry instanceof leap.CatchEntry);\n    catchLoc = catchEntry.firstLoc;\n  } else {\n    assert.strictEqual(catchEntry, null);\n    catchLoc = b.literal(null);\n  }\n\n  // TODO Think about not emitting anything when catchEntry === null.  For\n  // now, emitting context.popCatch(null) is good for sanity checking.\n\n  this.emit(withLoc(b.callExpression(\n    this.vmProperty(\"popCatch\"),\n    [b.identifier('tryStack'), catchLoc]\n  ), loc));\n};\n\n// Emit a runtime call to context.popFinally(finallyLoc) so that the\n// runtime wrapper knows when a finally block reported to pushTry no\n// longer applies.\nEp.popFinally = function(finallyEntry, loc) {\n  var finallyLoc;\n\n  if (finallyEntry) {\n    assert.ok(finallyEntry instanceof leap.FinallyEntry);\n    finallyLoc = finallyEntry.firstLoc;\n  } else {\n    assert.strictEqual(finallyEntry, null);\n    finallyLoc = b.literal(null);\n  }\n\n  // TODO Think about not emitting anything when finallyEntry === null.\n  // For now, emitting context.popFinally(null) is good for sanity\n  // checking.\n\n  this.emit(withLoc(b.callExpression(\n    this.vmProperty(\"popFinally\"),\n    [b.identifier('tryStack'), finallyLoc]\n  ), loc));\n};\n\nEp.explodeExpression = function(path, ignoreResult) {\n  assert.ok(path instanceof types.NodePath);\n\n  var expr = path.value;\n  if (expr) {\n    n.Expression.assert(expr);\n  } else {\n    return expr;\n  }\n\n  var self = this;\n  var result; // Used optionally by several cases below.\n\n  function finish(expr) {\n    n.Expression.assert(expr);\n    if (ignoreResult) {\n      var after = loc();\n      self.emit(expr);\n      self.emitAssign(b.identifier('$__next'), after);\n      self.emit(b.breakStatement(), true);\n      self.mark(after);\n    } else {\n      return expr;\n    }\n  }\n\n  // If the expression does not contain a leap, then we either emit the\n  // expression as a standalone statement or return it whole.\n  // if (!meta.containsLeap(expr)) {\n  //   return finish(expr);\n  // }\n\n  // If any child contains a leap (such as a yield or labeled continue or\n  // break statement), then any sibling subexpressions will almost\n  // certainly have to be exploded in order to maintain the order of their\n  // side effects relative to the leaping child(ren).\n  var hasLeapingChildren = meta.containsLeap.onlyChildren(expr);\n\n  // In order to save the rest of explodeExpression from a combinatorial\n  // trainwreck of special cases, explodeViaTempVar is responsible for\n  // deciding when a subexpression needs to be \"exploded,\" which is my\n  // very technical term for emitting the subexpression as an assignment\n  // to a temporary variable and the substituting the temporary variable\n  // for the original subexpression. Think of exploded view diagrams, not\n  // Michael Bay movies. The point of exploding subexpressions is to\n  // control the precise order in which the generated code realizes the\n  // side effects of those subexpressions.\n  function explodeViaTempVar(tempVar, childPath, ignoreChildResult, keepTempVar) {\n    assert.ok(childPath instanceof types.NodePath);\n    assert.ok(\n      !ignoreChildResult || !tempVar,\n      \"Ignoring the result of a child expression but forcing it to \" +\n        \"be assigned to a temporary variable?\"\n    );\n\n    if(isAtomic(childPath.node)) {\n      // we still explode it because only the top-level expression is\n      // atomic, sub-expressions may not be\n      return self.explodeExpression(childPath, ignoreChildResult);\n    }\n    else if (!ignoreChildResult) {\n      var shouldRelease = !tempVar && !keepTempVar;\n      tempVar = tempVar || self.getTempVar();\n      var result = self.explodeExpression(childPath, ignoreChildResult);\n\n      // always mark!\n      result = self.emitAssign(\n        tempVar,\n        result,\n        childPath.node.loc\n      );\n\n      self.markAndBreak();\n\n      if(shouldRelease) {\n        self.releaseTempVar();\n      }\n    }\n    return result;\n  }\n\n  // If ignoreResult is true, then we must take full responsibility for\n  // emitting the expression with all its side effects, and we should not\n  // return a result.\n\n  switch (expr.type) {\n  case \"MemberExpression\":\n    return finish(withLoc(b.memberExpression(\n      self.explodeExpression(path.get(\"object\")),\n      expr.computed\n        ? explodeViaTempVar(null, path.get(\"property\"), false, true)\n        : expr.property,\n      expr.computed\n    ), path.node.loc));\n\n  case \"CallExpression\":\n    var oldCalleePath = path.get(\"callee\");\n    var callArgs = path.get(\"arguments\");\n\n    if(oldCalleePath.node.type === \"Identifier\" &&\n       oldCalleePath.node.name === \"callCC\") {\n      callArgs = [new types.NodePath(\n        withLoc(b.callExpression(\n          b.memberExpression(b.identifier(\"VM\"),\n                             b.identifier(\"callCC\"),\n                             false),\n          []\n        ), oldCalleePath.node.loc)\n      )];\n      oldCalleePath = path.get(\"arguments\").get(0);\n    }\n\n    var newCallee = self.explodeExpression(oldCalleePath);\n\n    var r = self.withTempVars(function() {\n      var after = loc();\n      var args = callArgs.map(function(argPath) {\n        return explodeViaTempVar(null, argPath, false, true);\n      });\n      var tmp = self.getTempVar();\n      var callee = newCallee;\n\n      self.emitAssign(b.identifier('$__next'), after, path.node.loc);\n      self.emitAssign(b.identifier('$__tmpid'), b.literal(self.currentTempId()));\n      self.emitAssign(tmp, b.callExpression(callee, args));\n\n      self.emit(b.breakStatement(), true);\n      self.mark(after);\n\n      return tmp;\n    });\n\n    return r;\n\n  case \"NewExpression\":\n    // TODO: this should be the last major expression type I need to\n    // fix up to be able to trace/step through. can't call native new\n    return self.withTempVars(function() {\n      return finish(b.newExpression(\n        explodeViaTempVar(null, path.get(\"callee\"), false, true),\n        path.get(\"arguments\").map(function(argPath) {\n          return explodeViaTempVar(null, argPath, false, true);\n        })\n      ));\n    });\n\n  case \"ObjectExpression\":\n    return self.withTempVars(function() {\n      return finish(b.objectExpression(\n        path.get(\"properties\").map(function(propPath) {\n          return b.property(\n            propPath.value.kind,\n            propPath.value.key,\n            explodeViaTempVar(null, propPath.get(\"value\"), false, true)\n          );\n        })\n      ));\n    });\n\n  case \"ArrayExpression\":\n    return self.withTempVars(function() {\n      return finish(b.arrayExpression(\n        path.get(\"elements\").map(function(elemPath) {\n          return explodeViaTempVar(null, elemPath, false, true);\n        })\n      ));\n    });\n\n  case \"SequenceExpression\":\n    var lastIndex = expr.expressions.length - 1;\n\n    path.get(\"expressions\").each(function(exprPath) {\n      if (exprPath.name === lastIndex) {\n        result = self.explodeExpression(exprPath, ignoreResult);\n      } else {\n        self.explodeExpression(exprPath, true);\n      }\n    });\n\n    return result;\n\n  case \"LogicalExpression\":\n    var after = loc();\n\n    self.withTempVars(function() {\n      if (!ignoreResult) {\n        result = self.getTempVar();\n      }\n\n      var left = explodeViaTempVar(result, path.get(\"left\"), false, true);\n\n      if (expr.operator === \"&&\") {\n        self.jumpIfNot(left, after, path.get(\"left\").node.loc);\n      } else if (expr.operator === \"||\") {\n        self.jumpIf(left, after, path.get(\"left\").node.loc);\n      }\n\n      explodeViaTempVar(result, path.get(\"right\"), ignoreResult, true);\n\n      self.mark(after);\n    });\n\n    return result;\n\n  case \"ConditionalExpression\":\n    var elseLoc = loc();\n    var after = loc();\n    var test = self.explodeExpression(path.get(\"test\"));\n\n    self.jumpIfNot(test, elseLoc, path.get(\"test\").node.loc);\n\n    if (!ignoreResult) {\n      result = self.getTempVar();\n    }\n\n    explodeViaTempVar(result, path.get(\"consequent\"), ignoreResult);\n    self.jump(after);\n\n    self.mark(elseLoc);\n    explodeViaTempVar(result, path.get(\"alternate\"), ignoreResult);\n\n    self.mark(after);\n\n    if(!ignoreResult) {\n      self.releaseTempVar();\n    }\n\n    return result;\n\n  case \"UnaryExpression\":\n    return finish(withLoc(b.unaryExpression(\n      expr.operator,\n      // Can't (and don't need to) break up the syntax of the argument.\n      // Think about delete a[b].\n      self.explodeExpression(path.get(\"argument\")),\n      !!expr.prefix\n    ), path.node.loc));\n\n  case \"BinaryExpression\":\n    return self.withTempVars(function() {\n      return finish(withLoc(b.binaryExpression(\n        expr.operator,\n        explodeViaTempVar(null, path.get(\"left\"), false, true),\n        explodeViaTempVar(null, path.get(\"right\"), false, true)\n      ), path.node.loc));\n    });\n\n  case \"AssignmentExpression\":\n    return finish(withLoc(b.assignmentExpression(\n      expr.operator,\n      self.explodeExpression(path.get(\"left\")),\n      self.explodeExpression(path.get(\"right\"))\n    ), path.node.loc));\n\n  case \"UpdateExpression\":\n    return finish(withLoc(b.updateExpression(\n      expr.operator,\n      self.explodeExpression(path.get(\"argument\")),\n      expr.prefix\n    ), path.node.loc));\n\n  // case \"YieldExpression\":\n  //   var after = loc();\n  //   var arg = expr.argument && self.explodeExpression(path.get(\"argument\"));\n\n  //   if (arg && expr.delegate) {\n  //     var result = self.getTempVar();\n\n  //     self.emit(b.returnStatement(b.callExpression(\n  //       self.contextProperty(\"delegateYield\"), [\n  //         arg,\n  //         b.literal(result.property.name),\n  //         after\n  //       ]\n  //     )));\n\n  //     self.mark(after);\n\n  //     return result;\n  //   }\n\n    // self.emitAssign(b.identifier('$__next'), after);\n    // self.emit(b.returnStatement(arg || null));\n    // self.mark(after);\n\n    // return self.contextProperty(\"sent\");\n\n  case \"Identifier\":\n  case \"FunctionExpression\":\n  case \"ArrowFunctionExpression\":\n  case \"ThisExpression\":\n  case \"Literal\":\n    return finish(expr);\n    break;\n\n  default:\n    throw new Error(\n      \"unknown Expression of type \" +\n        JSON.stringify(expr.type));\n  }\n};\n"
  },
  {
    "path": "lib/hoist.js",
    "content": "/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar types = require(\"ast-types\");\nvar n = types.namedTypes;\nvar b = types.builders;\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar withLoc = require(\"./util\").withLoc;\n\n// The hoist function takes a FunctionExpression or FunctionDeclaration\n// and replaces any Declaration nodes in its body with assignments, then\n// returns a VariableDeclaration containing just the names of the removed\n// declarations.\nexports.hoist = function(fun) {\n  n.Function.assert(fun);\n  var vars = {};\n  var funDeclsToRaise = [];\n\n  function varDeclToExpr(vdec, includeIdentifiers) {\n    n.VariableDeclaration.assert(vdec);\n    var exprs = [];\n\n    vdec.declarations.forEach(function(dec) {\n      vars[dec.id.name] = dec.id;\n\n      if (dec.init) {\n        var assn = b.assignmentExpression('=', dec.id, dec.init);\n\n        exprs.push(withLoc(assn, dec.loc));\n      } else if (includeIdentifiers) {\n        exprs.push(dec.id);\n      }\n    });\n\n    if (exprs.length === 0)\n      return null;\n\n    if (exprs.length === 1)\n      return exprs[0];\n\n    return b.sequenceExpression(exprs);\n  }\n\n  types.traverse(fun.body, function(node) {\n    if (n.VariableDeclaration.check(node)) {\n      var expr = varDeclToExpr(node, false);\n      if (expr === null) {\n        this.replace();\n      } else {\n        // We don't need to traverse this expression any further because\n        // there can't be any new declarations inside an expression.\n        this.replace(withLoc(b.expressionStatement(expr), node.loc));\n      }\n\n      // Since the original node has been either removed or replaced,\n      // avoid traversing it any further.\n      return false;\n\n    } else if (n.ForStatement.check(node)) {\n      if (n.VariableDeclaration.check(node.init)) {\n        var expr = varDeclToExpr(node.init, false);\n        this.get(\"init\").replace(expr);\n      }\n\n    } else if (n.ForInStatement.check(node)) {\n      if (n.VariableDeclaration.check(node.left)) {\n        var expr = varDeclToExpr(node.left, true);\n        this.get(\"left\").replace(expr);\n      }\n\n    } else if (n.FunctionDeclaration.check(node)) {\n      vars[node.id.name] = node.id;\n\n      var parentNode = this.parent.node;\n      // Prefix the name with '$' as it introduces a new scoping rule\n      // and we want the original id to be referenced within the body\n      var funcExpr = b.functionExpression(\n        b.identifier('$' + node.id.name),\n        node.params,\n        node.body,\n        node.generator,\n        node.expression\n      );\n      funcExpr.loc = node.loc;\n\n      var assignment = withLoc(b.expressionStatement(\n        withLoc(b.assignmentExpression(\n          \"=\",\n          node.id,\n          funcExpr\n        ), node.loc)\n      ), node.loc);\n\n      if (n.BlockStatement.check(this.parent.node)) {\n        // unshift because later it will be added in reverse, so this\n        // will keep the original order\n        funDeclsToRaise.unshift({\n          block: this.parent.node,\n          assignment: assignment\n        });\n\n        // Remove the function declaration for now, but reinsert the assignment\n        // form later, at the top of the enclosing BlockStatement.\n        this.replace();\n\n      } else {\n        this.replace(assignment);\n      }\n\n      // Don't hoist variables out of inner functions.\n      return false;\n\n    } else if (n.FunctionExpression.check(node)) {\n      // Don't descend into nested function expressions.\n      return false;\n    }\n  });\n\n  funDeclsToRaise.forEach(function(entry) {\n    entry.block.body.unshift(entry.assignment);\n  });\n\n  var declarations = [];\n  var paramNames = {};\n\n  fun.params.forEach(function(param) {\n    if (n.Identifier.check(param)) {\n      paramNames[param.name] = param;\n    }\n    else {\n      // Variables declared by destructuring parameter patterns will be\n      // harmlessly re-declared.\n    }\n  });\n\n  Object.keys(vars).forEach(function(name) {\n    if(!hasOwn.call(paramNames, name)) {\n      var id = vars[name];\n      declarations.push(b.variableDeclarator(\n        id, id.boxed ? b.arrayExpression([b.identifier('undefined')]) : null\n      ));\n    }\n  });\n\n  if (declarations.length === 0) {\n    return null; // Be sure to handle this case!\n  }\n\n  return b.variableDeclaration(\"var\", declarations);\n};\n"
  },
  {
    "path": "lib/leap.js",
    "content": "/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar types = require(\"ast-types\");\nvar n = types.namedTypes;\nvar b = types.builders;\nvar inherits = require(\"util\").inherits;\n\nfunction Entry() {\n  assert.ok(this instanceof Entry);\n}\n\nfunction FunctionEntry(returnLoc) {\n  Entry.call(this);\n\n  n.Literal.assert(returnLoc);\n\n  Object.defineProperties(this, {\n    returnLoc: { value: returnLoc }\n  });\n}\n\ninherits(FunctionEntry, Entry);\nexports.FunctionEntry = FunctionEntry;\n\nfunction LoopEntry(breakLoc, continueLoc, label) {\n  Entry.call(this);\n\n  n.Literal.assert(breakLoc);\n  n.Literal.assert(continueLoc);\n\n  if (label) {\n    n.Identifier.assert(label);\n  } else {\n    label = null;\n  }\n\n  Object.defineProperties(this, {\n    breakLoc: { value: breakLoc },\n    continueLoc: { value: continueLoc },\n    label: { value: label }\n  });\n}\n\ninherits(LoopEntry, Entry);\nexports.LoopEntry = LoopEntry;\n\nfunction SwitchEntry(breakLoc) {\n  Entry.call(this);\n\n  n.Literal.assert(breakLoc);\n\n  Object.defineProperties(this, {\n    breakLoc: { value: breakLoc }\n  });\n}\n\ninherits(SwitchEntry, Entry);\nexports.SwitchEntry = SwitchEntry;\n\nfunction TryEntry(catchEntry, finallyEntry) {\n  Entry.call(this);\n\n  if (catchEntry) {\n    assert.ok(catchEntry instanceof CatchEntry);\n  } else {\n    catchEntry = null;\n  }\n\n  if (finallyEntry) {\n    assert.ok(finallyEntry instanceof FinallyEntry);\n  } else {\n    finallyEntry = null;\n  }\n\n  Object.defineProperties(this, {\n    catchEntry: { value: catchEntry },\n    finallyEntry: { value: finallyEntry }\n  });\n}\n\ninherits(TryEntry, Entry);\nexports.TryEntry = TryEntry;\n\nfunction CatchEntry(firstLoc, paramId) {\n  Entry.call(this);\n\n  n.Literal.assert(firstLoc);\n  n.Identifier.assert(paramId);\n\n  Object.defineProperties(this, {\n    firstLoc: { value: firstLoc },\n    paramId: { value: paramId }\n  });\n}\n\ninherits(CatchEntry, Entry);\nexports.CatchEntry = CatchEntry;\n\nfunction FinallyEntry(firstLoc, nextLocTempVar) {\n  Entry.call(this);\n\n  n.Literal.assert(firstLoc);\n  n.Identifier.assert(nextLocTempVar);\n\n  Object.defineProperties(this, {\n    firstLoc: { value: firstLoc },\n    nextLocTempVar: { value: nextLocTempVar }\n  });\n}\n\ninherits(FinallyEntry, Entry);\nexports.FinallyEntry = FinallyEntry;\n\nfunction LeapManager(emitter) {\n  assert.ok(this instanceof LeapManager);\n\n  var Emitter = require(\"./emit\").Emitter;\n  assert.ok(emitter instanceof Emitter);\n\n  Object.defineProperties(this, {\n    emitter: { value: emitter },\n    entryStack: {\n      value: [new FunctionEntry(emitter.finalLoc)]\n    }\n  });\n}\n\nvar LMp = LeapManager.prototype;\nexports.LeapManager = LeapManager;\n\nLMp.withEntry = function(entry, callback) {\n  assert.ok(entry instanceof Entry);\n  this.entryStack.push(entry);\n  try {\n    callback.call(this.emitter);\n  } finally {\n    var popped = this.entryStack.pop();\n    assert.strictEqual(popped, entry);\n  }\n};\n\nLMp._leapToEntry = function(predicate, defaultLoc) {\n  var entry, loc;\n  var finallyEntries = [];\n  var skipNextTryEntry = null;\n\n  for (var i = this.entryStack.length - 1; i >= 0; --i) {\n    entry = this.entryStack[i];\n\n    if (entry instanceof CatchEntry ||\n        entry instanceof FinallyEntry) {\n\n      // If we are inside of a catch or finally block, then we must\n      // have exited the try block already, so we shouldn't consider\n      // the next TryStatement as a handler for this throw.\n      skipNextTryEntry = entry;\n\n    } else if (entry instanceof TryEntry) {\n      if (skipNextTryEntry) {\n        // If an exception was thrown from inside a catch block and this\n        // try statement has a finally block, make sure we execute that\n        // finally block.\n        if (skipNextTryEntry instanceof CatchEntry &&\n            entry.finallyEntry) {\n          finallyEntries.push(entry.finallyEntry);\n        }\n\n        skipNextTryEntry = null;\n\n      } else if ((loc = predicate.call(this, entry))) {\n        break;\n\n      } else if (entry.finallyEntry) {\n        finallyEntries.push(entry.finallyEntry);\n      }\n\n    } else if ((loc = predicate.call(this, entry))) {\n      break;\n    }\n  }\n\n  if (loc) {\n    // fall through\n  } else if (defaultLoc) {\n    loc = defaultLoc;\n  } else {\n    return null;\n  }\n\n  n.Literal.assert(loc);\n\n  var finallyEntry;\n  while ((finallyEntry = finallyEntries.pop())) {\n    this.emitter.emitAssign(finallyEntry.nextLocTempVar, loc);\n    loc = finallyEntry.firstLoc;\n  }\n\n  return loc;\n};\n\nfunction getLeapLocation(entry, property, label) {\n  var loc = entry[property];\n  if (loc) {\n    if (label) {\n      if (entry.label &&\n          entry.label.name === label.name) {\n        return loc;\n      }\n    } else {\n      return loc;\n    }\n  }\n  return null;\n}\n\nLMp.emitBreak = function(label) {\n  var loc = this._leapToEntry(function(entry) {\n    return getLeapLocation(entry, \"breakLoc\", label);\n  });\n\n  if (loc === null) {\n    throw new Error(\"illegal break statement\");\n  }\n\n  this.emitter.clearPendingException();\n  this.emitter.jump(loc);\n};\n\nLMp.emitContinue = function(label) {\n  var loc = this._leapToEntry(function(entry) {\n    return getLeapLocation(entry, \"continueLoc\", label);\n  });\n\n  if (loc === null) {\n    throw new Error(\"illegal continue statement\");\n  }\n\n  this.emitter.clearPendingException();\n  this.emitter.jump(loc);\n};\n"
  },
  {
    "path": "lib/meta.js",
    "content": "/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar m = require(\"private\").makeAccessor();\nvar types = require(\"ast-types\");\nvar isArray = types.builtInTypes.array;\nvar n = types.namedTypes;\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nfunction makePredicate(propertyName, knownTypes) {\n  function onlyChildren(node) {\n    n.Node.assert(node);\n\n    // Assume no side effects until we find out otherwise.\n    var result = false;\n\n    function check(child) {\n      if (result) {\n        // Do nothing.\n      } else if (isArray.check(child)) {\n        child.some(check);\n      } else if (n.Node.check(child)) {\n        assert.strictEqual(result, false);\n        result = predicate(child);\n      }\n      return result;\n    }\n\n    types.eachField(node, function(name, child) {\n      check(child);\n    });\n\n    return result;\n  }\n\n  function predicate(node) {\n    n.Node.assert(node);\n\n    var meta = m(node);\n    if (hasOwn.call(meta, propertyName))\n      return meta[propertyName];\n\n    // Certain types are \"opaque,\" which means they have no side\n    // effects or leaps and we don't care about their subexpressions.\n    if (hasOwn.call(opaqueTypes, node.type))\n      return meta[propertyName] = false;\n\n    if (hasOwn.call(knownTypes, node.type))\n      return meta[propertyName] = true;\n\n    return meta[propertyName] = onlyChildren(node);\n  }\n\n  predicate.onlyChildren = onlyChildren;\n\n  return predicate;\n}\n\nvar opaqueTypes = {\n  FunctionExpression: true\n};\n\n// These types potentially have side effects regardless of what side\n// effects their subexpressions have.\nvar sideEffectTypes = {\n  CallExpression: true, // Anything could happen!\n  ForInStatement: true, // Modifies the key variable.\n  UnaryExpression: true, // Think delete.\n  BinaryExpression: true, // Might invoke .toString() or .valueOf().\n  AssignmentExpression: true, // Side-effecting by definition.\n  UpdateExpression: true, // Updates are essentially assignments.\n  NewExpression: true // Similar to CallExpression.\n};\n\n// These types are the direct cause of all leaps in control flow.\nvar leapTypes = {\n  YieldExpression: true,\n  BreakStatement: true,\n  ContinueStatement: true,\n  ReturnStatement: true,\n  ThrowStatement: true,\n  CallExpression: true,\n  DebuggerStatement: true\n};\n\n// All leap types are also side effect types.\nfor (var type in leapTypes) {\n  if (hasOwn.call(leapTypes, type)) {\n    sideEffectTypes[type] = leapTypes[type];\n  }\n}\n\nexports.hasSideEffects = makePredicate(\"hasSideEffects\", sideEffectTypes);\nexports.containsLeap = makePredicate(\"containsLeap\", leapTypes);\n"
  },
  {
    "path": "lib/util.js",
    "content": "/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nexports.guessTabWidth = function(source) {\n  var counts = []; // Sparse array.\n  var lastIndent = 0;\n\n  source.split(\"\\n\").forEach(function(line) {\n    var indent = /^\\s*/.exec(line)[0].length;\n    var diff = Math.abs(indent - lastIndent);\n    counts[diff] = ~~counts[diff] + 1;\n    lastIndent = indent;\n  });\n\n  var maxCount = -1;\n  var result = 2;\n\n  for (var tabWidth = 1;\n       tabWidth < counts.length;\n       tabWidth += 1) {\n    if (tabWidth in counts &&\n        counts[tabWidth] > maxCount) {\n      maxCount = counts[tabWidth];\n      result = tabWidth;\n    }\n  }\n\n  return result;\n};\n\nexports.defaults = function(obj) {\n  var len = arguments.length;\n  var extension;\n\n  for (var i = 1; i < len; ++i) {\n    if ((extension = arguments[i])) {\n      for (var key in extension) {\n        if (hasOwn.call(extension, key) && !hasOwn.call(obj, key)) {\n          obj[key] = extension[key];\n        }\n      }\n    }\n  }\n\n  return obj;\n};\n\n// tag nodes with source code locations\n\nexports.withLoc = function(node, loc) {\n  node.loc = loc;\n  return node;\n};\n"
  },
  {
    "path": "lib/visit.js",
    "content": "/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar types = require(\"ast-types\");\nvar n = types.namedTypes;\nvar b = types.builders;\nvar hoist = require(\"./hoist\").hoist;\nvar Emitter = require(\"./emit\").Emitter;\nvar DebugInfo = require(\"./debug\").DebugInfo;\nvar escope = require('escope');\nvar withLoc = require(\"./util\").withLoc;\n\nexports.transform = function(ast, opts) {\n  n.Program.assert(ast);\n  var debugInfo = new DebugInfo();\n  var nodes = ast.body;\n  var asExpr = opts.asExpr;\n  var originalExpr = nodes[0];\n  var boxedVars = (opts.scope || []).reduce(function(acc, v) {\n    if(v.boxed) {\n      acc.push(v.name);\n    }\n    return acc;\n  }, []);\n\n  var scopes = escope.analyze(ast).scopes;\n\n  // Scan the scopes bottom-up by simply reversing the array. We need\n  // this because we need to detect if an identifier is boxed before\n  // the scope which it is declared in is scanned.\n\n  scopes.reverse();\n  scopes.forEach(function(scope) {\n    if(scope.type !== 'global' || asExpr) {\n\n      if(asExpr) {\n        // We need to also scan the variables to catch top-level\n        // definitions that aren't referenced but might be boxed\n        // (think function re-definitions)\n        scope.variables.forEach(function(v) {\n          if(boxedVars.indexOf(v.name) !== -1) {\n            v.defs.forEach(function(def) { def.name.boxed = true; });\n          }\n        });\n      }\n\n      scope.references.forEach(function(r) {\n        var defBoxed = r.resolved && r.resolved.defs.reduce(function(acc, def) {\n          return acc || def.name.boxed || boxedVars.indexOf(def.name) !== -1;\n        }, false);\n\n        // Ignore catch scopes\n        var from = r.from;\n        while(from.type == 'catch' && from.upper) {\n          from = from.upper;\n        }\n\n        if(defBoxed ||\n           (!r.resolved &&\n            boxedVars.indexOf(r.identifier.name) !== -1) ||\n           (r.resolved &&\n            r.resolved.scope.type !== 'catch' &&\n            r.resolved.scope !== from &&\n\n            // completely ignore references to a named function\n            // expression, as that binding is immutable (super weird)\n            !(r.resolved.defs[0].type === 'FunctionName' &&\n              r.resolved.defs[0].node.type === 'FunctionExpression'))) {\n\n          r.identifier.boxed = true;\n\n          if(r.resolved) {\n            r.resolved.defs.forEach(function(def) {\n              def.name.boxed = true;\n            });\n          }\n        }\n      });\n    }\n  });\n\n  if(asExpr) {\n    // If evaluating as an expression, return the last value if it's\n    // an expression\n    var last = nodes.length - 1;\n\n    if(n.ExpressionStatement.check(nodes[last])) {\n      nodes[last] = withLoc(\n        b.returnStatement(nodes[last].expression),\n        nodes[last].loc\n      );\n    }\n  }\n\n  nodes = b.functionExpression(\n    b.identifier(asExpr ? '$__eval' : '$__global'),\n    [],\n    b.blockStatement(nodes)\n  );\n\n  var rootFn = types.traverse(\n    nodes,\n    function(node) {\n      return visitNode.call(this, node, [], debugInfo);\n    }\n  );\n\n  if(asExpr) {\n    rootFn = rootFn.body.body;\n\n    if(opts.scope) {\n      var vars = opts.scope.map(function(v) { return v.name; });\n      var decl = rootFn[0];\n      if(n.VariableDeclaration.check(decl)) {\n        decl.declarations = decl.declarations.reduce(function(acc, v) {\n          if(vars.indexOf(v.id.name) === -1) {\n            acc.push(v);\n          }\n          return acc;\n        }, []);\n\n        if(!decl.declarations.length) {\n          rootFn[0] = b.expressionStatement(b.literal(null));\n        }\n      }\n    }\n    else {\n      rootFn[0] = b.expressionStatement(b.literal(null));\n    }\n\n    rootFn.unshift(b.expressionStatement(\n      b.callExpression(\n        b.memberExpression(\n          b.identifier('VM'),\n          b.identifier('pushState'),\n          false\n        ),\n        []\n      )\n    ));\n\n    rootFn.push(b.variableDeclaration(\n      'var',\n      [b.variableDeclarator(\n        b.identifier('$__rval'),\n        b.callExpression(b.identifier('$__eval'), [])\n      )]\n    ));\n\n    rootFn.push(b.expressionStatement(\n      b.callExpression(\n        b.memberExpression(\n          b.identifier('VM'),\n          b.identifier('popState'),\n          false\n        ),\n        []\n      )\n    ));\n\n    rootFn.push(b.expressionStatement(b.identifier('$__rval')));\n  }\n  else {\n    rootFn = rootFn.body.body;\n  }\n\n  ast.body = rootFn;\n\n  return {\n    ast: ast,\n    debugAST: opts.includeDebug ? [debugInfo.getDebugAST()] : [],\n    debugInfo: debugInfo.getDebugInfo()\n  };\n};\n\nvar id = 1;\nfunction newFunctionName() {\n  return b.identifier('$anon' + id++);\n}\n\nfunction visitNode(node, scope, debugInfo) {\n  // Boxed variables need to access the box instead of used directly\n  // (foo => foo[0])\n  if(n.Identifier.check(node) &&\n     (!n.VariableDeclarator.check(this.parent.node) ||\n      this.parent.node.id !== node) &&\n     node.boxed) {\n\n    this.replace(withLoc(b.memberExpression(node, b.literal(0), true),\n                         node.loc));\n    return;\n  }\n\n  if(!n.Function.check(node)) {\n    // Note that because we are not returning false here the traversal\n    // will continue into the subtree rooted at this node, as desired.\n    return;\n  }\n\n  node.generator = false;\n\n  if (node.expression) {\n    // Transform expression lambdas into normal functions.\n    node.expression = false;\n    // This feels very dirty, is it ok to change the type like this?\n    // We need to output a function that we can name so it can be\n    // captured.\n    // TODO: properly compile out arrow functions\n    node.type = 'FunctionExpression';\n    node.body = b.blockStatement([\n      withLoc(b.returnStatement(node.body),\n              node.body.loc)\n    ]);\n  }\n\n  // All functions are converted with assignments (foo = function\n  // foo() {}) but with the function name. Rename the function though\n  // so that if it is referenced inside itself, it will close over the\n  // \"outside\" variable (that should be boxed)\n  node.id = node.id || newFunctionName();\n  var isGlobal = node.id.name === '$__global';\n  var isExpr = node.id.name === '$__eval';\n  var nameId = node.id;\n  var funcName = node.id.name;\n  var vars = hoist(node);\n  var localScope = !vars ? node.params : node.params.concat(\n    vars.declarations.map(function(v) {\n      return v.id;\n    })\n  );\n\n  // It sucks to traverse the whole function again, but we need to see\n  // if we need to manage a try stack\n  var hasTry = false;\n  types.traverse(node.body, function(child) {\n    if(n.Function.check(child)) {\n      return false;\n    }\n\n    if(n.TryStatement.check(child)) {\n      hasTry = true;\n    }\n\n    return;\n  });\n\n  // Traverse and compile child functions first\n  node.body = types.traverse(node.body, function(child) {\n    return visitNode.call(this,\n                          child,\n                          scope.concat(localScope),\n                          debugInfo);\n  });\n\n  // Now compile me\n  var debugId = debugInfo.makeId();\n  var em = new Emitter(debugId, debugInfo);\n  var path = new types.NodePath(node);\n\n  em.explode(path.get(\"body\"));\n\n  var finalBody = em.getMachine(node.id.name, localScope);\n\n  // construct the thing\n  var inner = [];\n\n  if(!isGlobal && !isExpr) {\n    node.params.forEach(function(arg) {\n      if(arg.boxed) {\n        inner.push(b.expressionStatement(\n          b.assignmentExpression(\n            '=',\n            arg,\n            b.arrayExpression([arg])\n          )\n        ));\n      }\n    });\n\n    if(vars) {\n      inner = inner.concat(vars);\n    }\n  }\n\n  if(!isGlobal && !isExpr) {\n    inner.push.apply(inner, [\n      b.ifStatement(\n        b.unaryExpression('!', em.vmProperty('running')),\n        b.returnStatement(\n          b.callExpression(\n            b.memberExpression(b.identifier('VM'),\n                               b.identifier('execute'),\n                               false),\n            [node.id, b.literal(null), b.thisExpression(), b.identifier('arguments')]\n          )\n        )\n      )\n    ]);\n  }\n\n  // internal harnesses to run the function\n  inner.push(em.declareVar('$__next', b.literal(0)));\n  inner.push(em.declareVar('$__tmpid', b.literal(0)));\n  for(var i=1, l=em.numTempVars(); i<=l; i++) {\n    inner.push(em.declareVar('$__t' + i, null));\n  }\n\n  if(hasTry) {\n    inner.push(em.declareVar('tryStack', b.arrayExpression([])));\n  }\n\n  var tmpSave = [];\n  for(var i=1, l=em.numTempVars(); i<=l; i++) {\n    tmpSave.push(b.property(\n      'init',\n      b.identifier('$__t' + i),\n      b.identifier('$__t' + i)\n    ));\n  }\n\n  inner = inner.concat([\n    b.tryStatement(\n      b.blockStatement(getRestoration(em, isGlobal, localScope, hasTry)\n                       .concat(finalBody)),\n      b.catchClause(b.identifier('e'), null, b.blockStatement([\n        b.ifStatement(\n          b.unaryExpression(\n            '!',\n            b.binaryExpression('instanceof',\n                               b.identifier('e'),\n                               b.identifier('$ContinuationExc'))\n          ),\n          b.expressionStatement(\n            b.assignmentExpression(\n              '=',\n              b.identifier('e'),\n              b.newExpression(\n                b.identifier('$ContinuationExc'),\n                [b.identifier('e')]\n              )\n            )\n          )\n        ),\n\n        b.ifStatement(\n          b.unaryExpression('!', em.getProperty('e', 'reuse')),\n          b.expressionStatement(\n            b.callExpression(em.getProperty('e', 'pushFrame'), [\n              b.newExpression(\n                b.identifier('$Frame'),\n                [b.literal(debugId),\n                 b.literal(funcName.slice(1)),\n                 b.identifier(funcName),\n                 b.identifier('$__next'),\n                 b.objectExpression(\n                   localScope.map(function(id) {\n                     return b.property('init', id, id);\n                   }).concat(tmpSave)\n                 ),\n                 // b.literal(null),\n                 b.arrayExpression(localScope.concat(scope).map(function(id) {\n                   return b.objectExpression([\n                     b.property('init', b.literal('name'), b.literal(id.name)),\n                     b.property('init', b.literal('boxed'), b.literal(!!id.boxed))\n                   ]);\n                 })),\n                 b.thisExpression(),\n                 hasTry ? b.identifier('tryStack') : b.literal(null),\n                 b.identifier('$__tmpid')]\n              )\n            ])\n          )\n        ),\n\n        em.assign(em.getProperty('e', 'reuse'), b.literal(false)),\n        b.throwStatement(b.identifier('e'))\n      ]))\n    )\n  ]);\n\n  if(isGlobal || isExpr) {\n    node.body = b.blockStatement([\n      vars ? vars : b.expressionStatement(b.literal(null)),\n      b.functionDeclaration(\n          nameId, [],\n          b.blockStatement(inner)\n      )\n    ]);\n  }\n  else {\n    node.body = b.blockStatement(inner);\n  }\n\n  return false;\n}\n\nfunction getRestoration(self, isGlobal, localScope, hasTry) {\n  // restoring a frame\n  var restoration = [];\n\n  restoration.push(\n    self.declareVar(\n      '$__frame',\n      b.callExpression(self.vmProperty('popFrame'), [])\n    )\n  );\n\n  if(!isGlobal) {\n    restoration = restoration.concat(localScope.map(function(id) {\n      return b.expressionStatement(\n        b.assignmentExpression(\n          '=',\n          b.identifier(id.name),\n          self.getProperty(\n            self.getProperty(b.identifier('$__frame'), 'state'),\n            id\n          )\n        )\n      );\n    }));\n  }\n\n  restoration.push(\n    self.assign(b.identifier('$__next'),\n                self.getProperty(b.identifier('$__frame'), 'next'))\n  );\n  if(hasTry) {\n    restoration.push(\n      self.assign(b.identifier('tryStack'),\n                  self.getProperty(b.identifier('$__frame'), 'tryStack'))\n    );\n  }\n\n  restoration = restoration.concat([\n    self.declareVar(\n      '$__child',\n      b.callExpression(self.vmProperty('nextFrame'), [])\n    ),\n    self.assign(b.identifier('$__tmpid'),\n                self.getProperty(b.identifier('$__frame'), 'tmpid')),\n    b.ifStatement(\n      b.identifier('$__child'),\n      b.blockStatement([\n        self.assign(\n          self.getProperty(\n            self.getProperty(\n              '$__frame',\n              b.identifier('state')\n            ),\n            b.binaryExpression(\n              '+',\n              b.literal('$__t'),\n              self.getProperty('$__frame', 'tmpid')\n            ),\n            true\n          ),\n          b.callExpression(\n            self.getProperty(self.getProperty('$__child', 'fn'), 'call'),\n            [self.getProperty('$__child', 'thisPtr')]\n          )\n        ),\n\n        // if we are stepping, stop executing here so that it\n        // pauses on the \"return\" instruction\n        b.ifStatement(\n          self.vmProperty('stepping'),\n          b.throwStatement(\n            b.newExpression(b.identifier('$ContinuationExc'), \n                            [b.literal(null),\n                             b.identifier('$__frame')])\n          )\n        )\n      ])\n    )\n  ]);\n\n  for(var i=1, l=self.numTempVars(); i<=l; i++) {\n    restoration.push(b.expressionStatement(\n      b.assignmentExpression(\n        '=',\n        b.identifier('$__t' + i),\n        self.getProperty(\n          self.getProperty(b.identifier('$__frame'), 'state'),\n          '$__t' + i\n        )\n      )\n    ));\n  }\n\n  return [\n    b.ifStatement(\n      self.vmProperty('doRestore'),\n      b.blockStatement(restoration),\n      b.ifStatement(\n        // if we are stepping, stop executing so it is stopped at\n        // the first instruction of the new frame\n        self.vmProperty('stepping'),\n        b.throwStatement(\n          b.newExpression(b.identifier('$ContinuationExc'), [])\n        )\n      )\n    )\n  ];\n}\n"
  },
  {
    "path": "main.js",
    "content": "/**\n * Copyright (c) 2013, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\nvar assert = require(\"assert\");\nvar path = require(\"path\");\nvar types = require(\"ast-types\");\nvar b = types.builders;\nvar transform = require(\"./lib/visit\").transform;\nvar utils = require(\"./lib/util\");\nvar recast = require(\"recast\");\nvar esprimaHarmony = require(\"esprima\");\nvar genFunExp = /\\bfunction\\s*\\*/;\nvar blockBindingExp = /\\b(let|const)\\s+/;\n\nassert.ok(\n  /harmony/.test(esprimaHarmony.version),\n  \"Bad esprima version: \" + esprimaHarmony.version\n);\n\nfunction regenerator(source, options) {\n  options = utils.defaults(options || {}, {\n    supportBlockBinding: true\n  });\n\n  var supportBlockBinding = !!options.supportBlockBinding;\n  if (supportBlockBinding) {\n    if (!blockBindingExp.test(source)) {\n      supportBlockBinding = false;\n    }\n  }\n\n  var recastOptions = {\n    tabWidth: utils.guessTabWidth(source),\n    // Use the harmony branch of Esprima that installs with regenerator\n    // instead of the master branch that recast provides.\n    esprima: esprimaHarmony,\n    range: supportBlockBinding,\n      loc: true\n  };\n\n  var recastAst = recast.parse(source, recastOptions);\n  var ast = recastAst.program;\n\n  // Transpile let/const into var declarations.\n  if (supportBlockBinding) {\n    var defsResult = require(\"defs\")(ast, {\n      ast: true,\n      disallowUnknownReferences: false,\n      disallowDuplicated: false,\n      disallowVars: false,\n      loopClosures: \"iife\"\n    });\n\n    if (defsResult.errors) {\n      throw new Error(defsResult.errors.join(\"\\n\"))\n    }\n  }\n\n  var transformed = transform(ast, options);\n  recastAst.program = transformed.ast;\n  var appendix = '';\n\n  if(options.includeDebug) {\n    var body = recastAst.program.body;\n    body.unshift.apply(body, transformed.debugAST);\n  }\n\n  return {\n    code: recast.print(recastAst, recastOptions).code + '\\n' + appendix,\n    debugInfo: transformed.debugInfo\n  };\n}\n\n// To modify an AST directly, call require(\"regenerator\").transform(ast).\nregenerator.transform = transform;\n\nregenerator.runtime = {\n  dev: path.join(__dirname, \"runtime\", \"vm.js\"),\n  min: path.join(__dirname, \"runtime\", \"min.js\")\n};\n\n// To transform a string of ES6 code, call require(\"regenerator\")(source);\nmodule.exports = regenerator;\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"author\": \"Ben Newman <bn@cs.stanford.edu>\",\n  \"name\": \"regenerator\",\n  \"description\": \"Source transformer enabling ECMAScript 6 generator functions (yield) in JavaScript-of-today (ES5)\",\n  \"keywords\": [\n    \"generator\",\n    \"yield\",\n    \"coroutine\",\n    \"rewriting\",\n    \"transformation\",\n    \"syntax\",\n    \"codegen\",\n    \"rewriting\",\n    \"refactoring\",\n    \"transpiler\",\n    \"desugaring\",\n    \"ES6\"\n  ],\n  \"version\": \"0.3.2\",\n  \"homepage\": \"http://github.com/facebook/regenerator\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"git://github.com/facebook/regenerator.git\"\n  },\n  \"main\": \"main.js\",\n  \"bin\": \"bin/regenerator\",\n  \"scripts\": {\n    \"test\": \"node test/run.js\"\n  },\n  \"dependencies\": {\n    \"ast-types\": \"~0.3.16\",\n    \"commander\": \"~2.1.0\",\n    \"css-loader\": \"^0.23.1\",\n    \"defs\": \"~0.6.2\",\n    \"escope\": \"~1.0.1\",\n    \"esprima\": \"git://github.com/ariya/esprima.git#harmony\",\n    \"estraverse\": \"~1.5.0\",\n    \"extract-text-webpack-plugin\": \"^1.0.1\",\n    \"noop\": \"^0.2.2\",\n    \"private\": \"~0.1.2\",\n    \"recast\": \"~0.5.7\",\n    \"style-loader\": \"^0.13.1\",\n    \"sweet.js\": \"^1.0.3\",\n    \"webpack\": \"^1.13.0\"\n  },\n  \"devDependencies\": {\n    \"mocha\": \"~1.13.0\",\n    \"semver\": \"~2.1.0\",\n    \"expect\": \"0.0.2\"\n  },\n  \"license\": \"BSD\",\n  \"engines\": {\n    \"node\": \">= 0.6\"\n  }\n}\n"
  },
  {
    "path": "runtime/vm.js",
    "content": "var fs = require('fs');\nvar compiler = require(__dirname + '/../main');\n\nvar hasOwn = Object.prototype.hasOwnProperty;\n\n// modules\n\n// function require(relativeTo, id) {\n//   var dir = path.dirname(relativeTo);\n//   var absPath;\n//   if(isRelative(id)) {\n//     absPath = path.join(dir, id);\n//   }\n//   else {\n//     absPath = node.resolve(id);\n//   }\n\n//   VM.loadScript(absPath);\n// }\n\n// vm\n\nvar IDLE = 'idle';\nvar SUSPENDED = 'suspended';\nvar EXECUTING = 'executing';\n\nfunction Machine() {\n  this.debugInfo = null;\n  this.stack = null;\n  this.error = undefined;\n  this.doRestore = false;\n  this.evalResult = null;\n  this.state = IDLE;\n  this.running = false;\n  this._events = {};\n  this.stepping = false;\n  this.prevStates = [];\n  this.tryStack = [];\n  this.machineBreaks = [];\n  this.machineWatches = [];\n}\n\nMachine.prototype.loadScript = function(path) {\n  var src = fs.readFileSync(process.argv[2], \"utf-8\");\n  var output = compiler(src, { includeDebug: true });\n  var debugInfo = new DebugInfo(output.debugInfo);\n\n  this.setDebugInfo(debugInfo);\n  this.setCode(path, output.code);\n  this.run();\n};\n\nMachine.prototype.loadModule = function(path) {\n  var src = fs.readFileSync(process.argv[2], \"utf-8\");\n  var output = compiler(src, { includeDebug: true });\n\n  // run...\n};\n\nMachine.prototype.loadString = function(str) {\n  var output = compiler(str, { includeDebug: true });\n  var debugInfo = new DebugInfo(output.debugInfo);\n\n  this.setDebugInfo(debugInfo);\n  this.setCode('/eval', output.code);\n}\n\nMachine.prototype.execute = function(fn, thisPtr, args) {\n  var prevState = this.state;\n  this.state = EXECUTING;\n  this.running = true;\n\n  var prevStepping = this.stepping;\n  var prevFrame = this.rootFrame;\n  this.stepping = false;\n  var ret;\n\n  try {\n    if(thisPtr || args) {\n      ret = fn.apply(thisPtr, args || []);\n    }\n    else {\n      ret = fn();\n    }\n  }\n  catch(e) {\n    this.stack = e.fnstack;\n    this.error = e.error;\n  }\n\n  this.stepping = prevStepping;\n\n  // It's a weird case if we run code while we are suspended, but if\n  // so we try to run it and kind of ignore whatever happened (no\n  // breakpoints, etc), but we do fire an error event if it happened\n  if(prevState === 'suspended') {\n    if(this.error) {\n      this.fire('error', this.error);\n    }\n    this.state = prevState;\n  }\n  else {\n    this.checkStatus();\n  }\n\n  return ret;\n};\n\nMachine.prototype.run = function() {\n  var path = this.path;\n  var code = this.code;\n\n  var module = {\n    exports: {}\n  };\n  var fn = new Function(\n    'VM',\n    //'require',\n    'module',\n    'exports',\n    '$Frame',\n    '$ContinuationExc',\n    'console',\n    code + '\\nreturn $__global;'\n  );\n\n  var rootFn = fn(\n    this,\n    //require.bind(null, path),\n    module,\n    module.exports,\n    Frame,\n    ContinuationExc,\n    { log: function() {\n      var args = Array.prototype.slice.call(arguments);\n      this.output += args.join(' ') + '\\n';\n    }.bind(this)}\n  );\n\n  this.output = '';\n  this.execute(rootFn);\n  this.globalFn = rootFn;\n};\n\nMachine.prototype.abort = function() {\n  this.output = '';\n  this.globalFn = null;\n  this.state = IDLE;\n  this.running = false;\n  this.path = '';\n  this.code = '';\n  this.invokingContinuation = null;\n  this.capturingContinuation = false;\n  this.error = null;\n};\n\nMachine.prototype.getNextStepId = function(machineId, stepId, offset) {\n  var locs = this.debugInfo.data.stepIds[machineId];\n  var idx = locs.indexOf(stepId);\n  if(idx + offset < locs.length) {\n    return this.debugInfo.data.stepIds[machineId][idx + offset];\n  }\n  return null;\n};\n\nMachine.prototype.continue = function() {\n  if(this.state === SUSPENDED) {\n    this.fire('resumed');\n\n    var root = this.getRootFrame();\n    var top = this.getTopFrame();\n    this.running = true;\n    this.state = EXECUTING;\n\n    if(this.machineBreaks[top.machineId][top.next]) {\n      // We need to get past this instruction that has a breakpoint, so\n      // turn off breakpoints and step past it, then turn them back on\n      // again and execute normally\n      this.stepping = true;\n      this.hasBreakpoints = false;\n      this.restore(true);\n      // TODO: don't force this back on always\n      this.hasBreakpoints = true;\n      this.stepping = false;\n    }\n\n    this.running = true;\n    this.state = EXECUTING;\n    this.restore();\n  }\n};\n\nMachine.prototype.step = function() {\n  if(!this.stack) return;\n  this.fire('resumed');\n\n  var _step = function() {\n    this.running = true;\n    this.stepping = true;\n    this.hasBreakpoints = false;\n    this.restore(true);\n    this.hasBreakpoints = true;\n    this.stepping = false;\n  }.bind(this);\n\n  _step();\n\n  var top = this.getTopFrame();\n  while(this.state === SUSPENDED && !this.getLocation()) {\n    // Keep stepping until we hit something we know where we are\n    // located\n    _step();\n  }\n\n  if(this.state === SUSPENDED) {\n    this.running = false;\n    this.fire('paused');\n  }\n};\n\nMachine.prototype.stepOver = function() {\n  if(!this.rootFrame) return;\n  var top = this.getTopFrame();\n  var curloc = this.getLocation();\n  var finalLoc = curloc;\n  var biggest = 0;\n  var locs = this.debugInfo.data[top.machineId].locs;\n\n  // find the \"biggest\" expression in the function that encloses\n  // this one\n  Object.keys(locs).forEach(function(k) {\n    var loc = locs[k];\n\n    if(loc.start.line <= curloc.start.line &&\n       loc.end.line >= curloc.end.line &&\n       loc.start.column <= curloc.start.column &&\n       loc.end.column >= curloc.end.column) {\n\n      var ldiff = ((curloc.start.line - loc.start.line) +\n                   (loc.end.line - curloc.end.line));\n      var cdiff = ((curloc.start.column - loc.start.column) +\n                   (loc.end.column - curloc.end.column));\n      if(ldiff + cdiff > biggest) {\n        finalLoc = loc;\n        biggest = ldiff + cdiff;\n      }\n    }\n  });\n\n  if(finalLoc !== curloc) {\n    while(this.getLocation() !== finalLoc) {\n      this.step();\n    }\n\n    this.step();\n  }\n  else {\n    this.step();\n  }\n};\n\nMachine.prototype.evaluate = function(expr) {\n  if(expr === '$_') {\n    return this.evalResult;\n  }\n\n  // An expression can be one of these forms:\n  //\n  // 1. foo = function() { <stmt/expr> ... }\n  // 2. function foo() { <stmt/expr> ... }\n  // 3. x = <expr>\n  // 4. var x = <expr>\n  // 5. <stmt/expr>\n  //\n  // 1-4 can change any data in the current frame, and introduce new\n  // variables that are only available for the current session (will\n  // disappear after any stepping/resume/etc). Functions in 1 and 2\n  // will be compiled, so they can be paused and debugged.\n  //\n  // 5 can run any arbitrary expression\n\n  if(this.stack) {\n    var top = this.getTopFrame();\n    expr = compiler(expr, {\n      asExpr: true,\n      scope: top.scope\n    }).code;\n\n    this.running = true;\n    this.doRestore = true;\n    this.stepping = false;\n    var res = top.evaluate(this, expr);\n    this.stepping = true;\n    this.doRestore = false;\n    this.running = false;\n  }\n  else if(this.globalFn) {\n    expr = compiler(expr, {\n      asExpr: true\n    }).code;\n\n    this.evalArg = expr;\n    this.stepping = true;\n\n    this.withTopFrame({\n      next: -1,\n      state: {}\n    }, function() {\n      this.doRestore = true;\n      try {\n        (0, this).globalFn();\n      }\n      catch(e) {\n        if(e.error) {\n          throw e.error;\n        }\n      }\n      this.doRestore = false;\n    }.bind(this));\n  }\n  else {\n    throw new Error('invalid evaluation state');\n  }\n\n  return this.evalResult;\n};\n\nMachine.prototype.restore = function(suppressEvents) {\n  try {\n    this.doRestore = true;\n    this.getRootFrame().restore();\n    this.error = undefined;\n  }\n  catch(e) {\n    this.stack = e.fnstack;\n    this.error = e.error;\n  }\n  this.checkStatus(suppressEvents);\n};\n\nMachine.prototype.checkStatus = function(suppressEvents) {\n  if(this.stack) {\n    if(this.capturingContinuation) {\n      this.capturingContinuation = false;\n      this.onCapture();\n      return;\n    }\n\n    if(this.invokingContinuation) {\n      var fnstack = this.invokingContinuation;\n      this.invokingContinuation = null;\n      this.onInvoke(fnstack);\n      return;\n    }\n\n    if(this.error) {\n      if(this.dispatchException()) {\n        return;\n      }\n\n      if(!suppressEvents) {\n        this.fire('error', this.error);\n      }\n    }\n    else if(!suppressEvents) {\n      this.fire('paused');\n    }\n\n    this.state = SUSPENDED;\n  }\n  else {\n    if(!suppressEvents) {\n      this.fire('finish');\n    }\n    this.state = IDLE;\n  }\n\n  this.running = false;\n};\n\nMachine.prototype.toggleBreakpoint = function(line) {\n  var debug = this.debugInfo;\n  var pos = debug.lineToMachinePos(line);\n\n  if(pos) {\n    this.hasBreakpoints = true;\n    if(this.machineBreaks[pos.machineId][pos.locId]) {\n      this.machineBreaks[pos.machineId][pos.locId] = false;\n    }\n    else {\n      this.machineBreaks[pos.machineId][pos.locId] = true;\n    }\n  }\n};\n\nMachine.prototype.callCC = function() {\n  this.capturingContinuation = true;\n  throw new ContinuationExc();\n};\n\nMachine.prototype.onCapture = function() {\n  var fnstack = this.stack.map(function(x) { return x; });\n  var top = fnstack[0];\n  var tmpid = top.tmpid;\n  var next = this.getNextStepId(top.machineId, top.next, 2);\n\n  top.next = this.getNextStepId(top.machineId, top.next, 1);\n\n  top.state['$__t' + (top.tmpid - 1)] = function(arg) {\n    top.next = next;\n    top.state['$__t' + tmpid] = arg;\n    if(this.running) {\n      this.invokeContinuation(fnstack);\n    }\n    else {\n      this.onInvoke(fnstack);\n    }\n  }.bind(this);\n\n  this.restore();\n}\n\nMachine.prototype.invokeContinuation = function(fnstack) {\n  this.invokingContinuation = fnstack;\n  throw new ContinuationExc();\n}\n\nMachine.prototype.onInvoke = function(fnstack) {\n  this.stack = fnstack.map(function(x) { return x; });\n  this.fire('cont-invoked');\n\n  if(!this.stepping) {\n    this.running = true;\n    this.state = EXECUTING;\n    this.restore();\n  }\n}\n\nMachine.prototype.handleWatch = function(machineId, locId, res) {\n  var id = this.machineWatches[machineId][locId].id;\n\n  this.fire('watched', {\n    id: id,\n    value: res\n  });\n};\n\nMachine.prototype.on = function(event, handler) {\n  var arr = this._events[event] || [];\n  arr.push(handler);\n  this._events[event] = arr;\n};\n\nMachine.prototype.off = function(event, handler) {\n  var arr = this._events[event] || [];\n  if(handler) {\n    var i = arr.indexOf(handler);\n    if(i !== -1) {\n      arr.splice(i, 1);\n    }\n  }\n  else {\n    this._events[event] = [];\n  }\n};\n\nMachine.prototype.fire = function(event, data) {\n  setTimeout(function() {\n    var arr = this._events[event] || [];\n    arr.forEach(function(handler) {\n      handler(data);\n    });\n  }.bind(this), 0);\n};\n\nMachine.prototype.getTopFrame = function() {\n  return this.stack && this.stack[0];\n};\n\nMachine.prototype.getRootFrame = function() {\n  return this.stack && this.stack[this.stack.length - 1];\n};\n\nMachine.prototype.getFrameOffset = function(i) {\n  // TODO: this is really annoying, but it works for now. have to do\n  // two passes\n  var top = this.rootFrame;\n  var count = 0;\n  while(top.child) {\n    top = top.child;\n    count++;\n  }\n\n  if(i > count) {\n    return null;\n  }\n\n  var depth = count - i;\n  top = this.rootFrame;\n  count = 0;\n  while(top.child && count < depth) {\n    top = top.child;\n    count++;\n  }\n\n  return top;\n};\n\nMachine.prototype.setDebugInfo = function(info) {\n  this.debugInfo = info || new DebugInfo([]);\n  var machines = info.data.machines;\n  this.machineBreaks = new Array(machines.length);\n  this.machineWatches = new Array(machines.length);\n\n  for(var i=0; i<machines.length; i++) {\n    this.machineBreaks[i] = [];\n  }\n  for(var i=0; i<machines.length; i++) {\n    this.machineWatches[i] = [];\n  }\n};\n\nMachine.prototype.setCode = function(path, code) {\n  this.path = path;\n  this.code = code;\n};\n\nMachine.prototype.isStepping = function() {\n  return this.stepping;\n};\n\nMachine.prototype.getOutput = function() {\n  return this.output;\n};\n\nMachine.prototype.getState = function() {\n  return this.state;\n};\n\nMachine.prototype.getLocation = function() {\n  if(!this.stack || !this.debugInfo) return;\n\n  var top = this.getTopFrame();\n  return this.debugInfo.data.machines[top.machineId].locs[top.next];\n};\n\nMachine.prototype.disableBreakpoints = function() {\n  this.hasBreakpoints = false;\n};\n\nMachine.prototype.enableBreakpoints = function() {\n  this.hasBreakpoints = true;\n};\n\nMachine.prototype.pushState = function() {\n  this.prevStates.push([\n    this.stepping, this.hasBreakpoints\n  ]);\n\n  this.stepping = false;\n  this.hasBreakpoints = false;\n};\n\nMachine.prototype.popState = function() {\n  var state = this.prevStates.pop();\n  this.stepping = state[0];\n  this.hasBreakpoints = state[1];\n};\n\nMachine.prototype.pushTry = function(stack, catchLoc, finallyLoc, finallyTempVar) {\n  if(finallyLoc) {\n    stack.push({\n      finallyLoc: finallyLoc,\n      finallyTempVar: finallyTempVar\n    });\n  }\n\n  if(catchLoc) {\n    stack.push({\n      catchLoc: catchLoc\n    });\n  }\n};\n\nMachine.prototype.popCatch = function(stack, catchLoc) {\n  var entry = stack[stack.length - 1];\n  if(entry && entry.catchLoc === catchLoc) {\n    stack.pop();\n  }\n};\n\nMachine.prototype.popFinally = function(stack, finallyLoc) {\n  var entry = stack[stack.length - 1];\n\n  if(!entry || !entry.finallyLoc) {\n    stack.pop();\n    entry = stack[stack.length - 1];\n  }\n\n  if(entry && entry.finallyLoc === finallyLoc) {\n    stack.pop();\n  }\n};\n\nMachine.prototype.dispatchException = function() {\n  if(this.error == null) {\n    return false;\n  }\n\n  var exc = this.error;\n  var dispatched = false;\n  var prevStepping = this.stepping;\n  this.stepping = false;\n\n  for(var i=0; i<this.stack.length; i++) {\n    var frame = this.stack[i];\n\n    if(frame.dispatchException(this, exc)) {\n      // shave off the frames were walked over\n      this.stack = this.stack.slice(i);\n      dispatched = true;\n      break;\n    }\n  }\n\n  if(!prevStepping && dispatched) {\n    this.restore();\n    this.error = undefined;\n  }\n\n  return dispatched;\n};\n\nMachine.prototype.keys = function(obj) {\n  return Object.keys(obj).reverse();\n};\n\nMachine.prototype.popFrame = function() {\n  var r = this.stack.pop();\n  if(!this.stack.length) {\n    this.doRestore = false;\n    this.stack = null;\n  }\n  return r;\n};\n\nMachine.prototype.nextFrame = function() {\n  if(this.stack && this.stack.length) {\n    return this.stack[this.stack.length - 1];\n  }\n  return null;\n};\n\nMachine.prototype.withTopFrame = function(frame, fn) {\n  var prev = this.stack;\n  this.stack = [frame];\n  try {\n    var newFrame;\n    if((newFrame = fn())) {\n      // replace the top of the real stack with the new frame\n      prev[0] = newFrame;\n    }\n  }\n  finally {\n    this.stack = prev;\n  }\n};\n\n// frame\n\nfunction Frame(machineId, name, fn, next, state, scope,\n               thisPtr, tryStack, tmpid) {\n  this.machineId = machineId;\n  this.name = name;\n  this.fn = fn;\n  this.next = next;\n  this.state = state;\n  this.scope = scope;\n  this.thisPtr = thisPtr;\n  this.tryStack = tryStack;\n  this.tmpid = tmpid;\n}\n\nFrame.prototype.restore = function() {\n  this.fn.call(this.thisPtr);\n};\n\nFrame.prototype.evaluate = function(machine, expr) {\n  machine.evalArg = expr;\n  machine.error = undefined;\n  machine.stepping = true;\n\n  machine.withTopFrame(this, function() {\n    var prevNext = this.next;\n    this.next = -1;\n\n    try {\n      this.fn.call(this.thisPtr);\n    }\n    catch(e) {\n      if(!(e instanceof ContinuationExc)) {\n        throw e;\n      }\n      else if(e.error) {\n        throw e.error;\n      }\n\n      var newFrame = e.fnstack[0];\n      newFrame.next = prevNext;\n      return newFrame;\n    }\n\n    throw new Error('eval did not get a frame back');\n  }.bind(this));\n\n  return machine.evalResult;\n};\n\nFrame.prototype.stackEach = function(func) {\n  if(this.child) {\n    this.child.stackEach(func);\n  }\n  func(this);\n};\n\nFrame.prototype.stackMap = function(func) {\n  var res;\n  if(this.child) {\n    res = this.child.stackMap(func);\n  }\n  else {\n    res = [];\n  }\n\n  res.push(func(this));\n  return res;\n};\n\nFrame.prototype.stackReduce = function(func, acc) {\n  if(this.child) {\n    acc = this.child.stackReduce(func, acc);\n  }\n\n  return func(acc, this);\n};\n\nFrame.prototype.getLocation = function(machine) {\n  return machine.debugInfo.data[this.machineId].locs[this.next];\n};\n\nFrame.prototype.dispatchException = function(machine, exc) {\n  if(!this.tryStack) {\n    return false;\n  }\n\n  var next;\n  var hasCaught = false;\n  var hasFinally = false;\n  var finallyEntries = [];\n\n  for(var i=this.tryStack.length - 1; i >= 0; i--) {\n    var entry = this.tryStack[i];\n    if(entry.catchLoc) {\n      next = entry.catchLoc;\n      hasCaught = true;\n      break;\n    }\n    else if(entry.finallyLoc) {\n      finallyEntries.push(entry);\n      hasFinally = true;\n    }\n  }\n\n  // initially, `next` is undefined which will jump to the end of the\n  // function. (the default case)\n  while((entry = finallyEntries.pop())) {\n    this.state['$__t' + entry.finallyTempVar] = next;\n    next = entry.finallyLoc;\n  }\n\n  this.next = next;\n\n  if(hasFinally && !hasCaught) {\n    machine.withTopFrame(this, function() {\n      machine.doRestore = true;\n      this.restore();\n    }.bind(this));\n  }\n\n  return hasCaught;\n};\n\n// debug info\n\nfunction DebugInfo(data) {\n  this.data = data;\n}\n\nDebugInfo.prototype.lineToMachinePos = function(line) {\n  if(!this.data) return null;\n  var machines = this.data.machines;\n\n  // Iterate over the machines backwards because they are ordered\n  // innermost to top-level, and we want to break on the outermost\n  // function.\n  for(var i=machines.length - 1; i >= 0; i--) {\n    var locs = machines[i].locs;\n    var keys = Object.keys(locs);\n\n    for(var cur=0, len=keys.length; cur<len; cur++) {\n      var loc = locs[keys[cur]];\n      if(loc.start.line === line) {\n        return {\n          machineId: i,\n          locId: parseInt(keys[cur])\n        };\n      }\n    }\n  }\n\n  return null;\n};\n\nDebugInfo.prototype.closestMachinePos = function(start, end) {\n  if(!this.data) return null;\n\n  for(var i=0, l=this.data.length; i<l; i++) {\n    var locs = this.data[i].locs;\n    var keys = Object.keys(locs);\n    keys = keys.map(function(k) { return parseInt(k); });\n    keys.sort(function(a, b) { return a-b; });\n\n    for(var cur=0, len=keys.length; cur<len; cur++) {\n      var loc = locs[keys[cur]];\n\n      if((loc.start.line < start.line ||\n          (loc.start.line === start.line &&\n           loc.start.column <= start.ch)) &&\n         (loc.end.line > end.line ||\n          (loc.end.line === end.line &&\n           loc.end.column >= end.ch))) {\n        return {\n          machineId: i,\n          locId: keys[cur]\n        };\n      }\n    }\n  }\n\n  return null;\n};\n\nDebugInfo.prototype.setWatch = function(pos, src) {\n  // TODO: real uuid\n  var id = Math.random() * 10000 | 0;\n  this.watches.push({\n    pos: pos,\n    src: src,\n    id: id\n  });\n\n  return id;\n};\n\nfunction ContinuationExc(error, initialFrame, savedFrames) {\n  this.fnstack = (\n    savedFrames ? savedFrames :\n      initialFrame ? [initialFrame] :\n      []\n  );\n  this.error = error;\n  this.reuse = !!initialFrame;\n}\n\nContinuationExc.prototype.pushFrame = function(frame) {\n  this.fnstack.push(frame);\n};\n\n// exports\n\nmodule.exports.$Machine = Machine;\nmodule.exports.$Frame = Frame;\nmodule.exports.$DebugInfo = DebugInfo;\nmodule.exports.$ContinuationExc = ContinuationExc;\n"
  },
  {
    "path": "test.js",
    "content": "function foo() {\n  return 4;\n}\n\n\nconsole.log(foo())\n"
  },
  {
    "path": "webpack.config.js",
    "content": "const path = require('path');\nconst ExtractTextPlugin = require('extract-text-webpack-plugin');\n\nmodule.exports = {\n  entry: './browser/main.js',\n  output: {\n    path: path.join(__dirname, 'browser/build'),\n    filename: 'bundle.js'\n  },\n  module: {\n    loaders: [{\n      test: /\\.css$/,\n      loader: ExtractTextPlugin.extract('style-loader', 'css')\n    }]\n  },\n  externals: [{'fs': 'null'}],\n  plugins: [\n    new ExtractTextPlugin('styles.css')\n  ]\n}\n"
  }
]